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 = "60da2qaq"; var locationKey = ""; var tenantKey = ""; var tag = ""; var activeWidgets = []; var accessToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbnRpdHlJZCI6IjYwZGEycWFxIiwiZXhwIjoxNzE0NzY1ODg1LCJpc3MiOiJUcnVzdGlzdCIsImF1ZCI6IldpZGdldHMifQ.AX0udZ3yokR6KB9iUlL2K-dKFOkqZUV-V1AJrvtEO6s"; var accessTokenExpiry = "1714765885000"; var refreshToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbnRpdHlJZCI6IjYwZGEycWFxIiwianRpIjoiMDdiMzdiOTYtMWI0NC00YTg2LWIzOWMtMjg5Y2E1OTIxZWEyIiwiZXhwIjoxNzE0OTM4MDg1LCJpc3MiOiJUcnVzdGlzdCIsImF1ZCI6IldpZGdldHMifQ.Ap4A4xebKjmmh1je67M0i4TEpDVuzfyO65RFvBH_ma4"; var template = '