if (window.Element && !Element.prototype.closest) { Element.prototype.closest = function (s) { var matches = (this.document || this.ownerDocument).querySelectorAll(s), i, el = this; do { i = matches.length; while (--i >= 0 && matches.item(i) !== el) { }; } while ((i < 0) && (el = el.parentElement)); return el; }; } (function (w, d) { var widgetUrl = "https://widget.trustist.com"; var assetUrl = "https://wassets.trustist.com/assets"; var businessKey = "bfet166v"; var locationKey = "3az2p84u"; var tenantKey = ""; var tag = ""; var activeWidgets = []; var accessToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbnRpdHlJZCI6IjNhejJwODR1IiwiZXhwIjoxNzE0NTkzOTY4LCJpc3MiOiJUcnVzdGlzdCIsImF1ZCI6IldpZGdldHMifQ.VM3JDrB3H9wok-Uxrf8wFF8lAjp0hVq7EcofGHK2XZU"; var accessTokenExpiry = "1714593968000"; var refreshToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbnRpdHlJZCI6IjNhejJwODR1IiwianRpIjoiN2U3MGIxMmItNmQwYy00OTlmLWIyMDEtZGVmYTJhMTgyMGM4IiwiZXhwIjoxNzE0NzY2MTY4LCJpc3MiOiJUcnVzdGlzdCIsImF1ZCI6IldpZGdldHMifQ.cEDoBM0bYhZ3RQA4p720epfOtpwktbU2lQXbQhSYDrk"; var template = '