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 = "10oh0a44"; var locationKey = ""; var tenantKey = ""; var tag = ""; var activeWidgets = []; var accessToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbnRpdHlJZCI6IjEwb2gwYTQ0IiwiZXhwIjoxNzE0NzQ1MTc4LCJpc3MiOiJUcnVzdGlzdCIsImF1ZCI6IldpZGdldHMifQ.u4eFvrOvdBH3_ZSJDJYRJkK80Vf4wiJ5-NTXkFveHLY"; var accessTokenExpiry = "1714745178000"; var refreshToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbnRpdHlJZCI6IjEwb2gwYTQ0IiwianRpIjoiOWViZmE1MDUtNDE1ZS00YzExLWJhNWItODRmYzhlMjEwZTkyIiwiZXhwIjoxNzE0OTE3Mzc4LCJpc3MiOiJUcnVzdGlzdCIsImF1ZCI6IldpZGdldHMifQ.HcK1BV19muUskRHRBx3Q-Z74yxr0btkbQyoY-PWDHyk"; var template = '