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 = "mm1c6w21"; var locationKey = ""; var tenantKey = ""; var tag = ""; var activeWidgets = []; var accessToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbnRpdHlJZCI6Im1tMWM2dzIxIiwiZXhwIjoxNzE0NjIxMzQ3LCJpc3MiOiJUcnVzdGlzdCIsImF1ZCI6IldpZGdldHMifQ.3Cqkz88et3QiRUVQKJBu3Z2VmhIVNxUsO8v83KtOSds"; var accessTokenExpiry = "1714621347000"; var refreshToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbnRpdHlJZCI6Im1tMWM2dzIxIiwianRpIjoiZjFiY2ZiYTQtZDNiZC00MWJlLWI1ZWEtMGU3NDkyNjUyMWQ2IiwiZXhwIjoxNzE0NzkzNTQ3LCJpc3MiOiJUcnVzdGlzdCIsImF1ZCI6IldpZGdldHMifQ.GcU_8KRi0947lnwRmaYUrvSrWNGn-OPJtHbyKsiwEz8"; var template = '