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 = "jeiompjh"; var locationKey = "pe1zhgy1"; var tenantKey = ""; var tag = ""; var activeWidgets = []; var accessToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbnRpdHlJZCI6InBlMXpoZ3kxIiwiZXhwIjoxNzE0OTYwMDI1LCJpc3MiOiJUcnVzdGlzdCIsImF1ZCI6IldpZGdldHMifQ.RtFvp2i6ycr96X9gfdpYv0wvsvVDODbZeRCERYd8HRo"; var accessTokenExpiry = "1714960025000"; var refreshToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbnRpdHlJZCI6InBlMXpoZ3kxIiwianRpIjoiMDdjMmQyZjMtMzY4Ny00ZWI4LWJhMDEtYmY3NDA3ZGMwOTJiIiwiZXhwIjoxNzE1MTMyMjI1LCJpc3MiOiJUcnVzdGlzdCIsImF1ZCI6IldpZGdldHMifQ.UQg_90W78XbA_pRVPytm5vufY5eGwbGK_nq3RRtni5g"; var template = '