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 = "loxtojoe"; var locationKey = ""; var tenantKey = ""; var tag = ""; var activeWidgets = []; var accessToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbnRpdHlJZCI6ImxveHRvam9lIiwiZXhwIjoxNzI2ODgxMTI5LCJpc3MiOiJUcnVzdGlzdCIsImF1ZCI6IldpZGdldHMifQ.3DP-m2Ol-QHubqn9XCRM_NMTbyqAN0kNGzJKlviBTWc"; var accessTokenExpiry = "1726881129000"; var refreshToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbnRpdHlJZCI6ImxveHRvam9lIiwianRpIjoiZjVlNTUwN2YtMmI2Ni00ZTU2LThlNTAtYjU5NjdjZTJkODEzIiwiZXhwIjoxNzI3MDUzMzI5LCJpc3MiOiJUcnVzdGlzdCIsImF1ZCI6IldpZGdldHMifQ.w78kMAjFXIeaKkXtpGKYH3OT0yAzvBQ68xsiRVvqpFw"; var template = '