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 = "u0ge8dyo"; var locationKey = "522"; var tenantKey = ""; var tag = ""; var activeWidgets = []; var accessToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbnRpdHlJZCI6IjUyMiIsImV4cCI6MTcxNDgzOTY5OCwiaXNzIjoiVHJ1c3Rpc3QiLCJhdWQiOiJXaWRnZXRzIn0.ikKqMjkyte8CfTe2ArB9Tsd8myDLJI_ik14hslDfHzo"; var accessTokenExpiry = "1714839698000"; var refreshToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbnRpdHlJZCI6IjUyMiIsImp0aSI6ImE1ZmRkMDI3LTQyZTktNGFlYy1iZTM0LWY2YjhkOWVhM2RkYyIsImV4cCI6MTcxNTAxMTg5OCwiaXNzIjoiVHJ1c3Rpc3QiLCJhdWQiOiJXaWRnZXRzIn0.iWuDZwNPc927ONmZ0tu3b1nSHKo_ah5EnFlIkXzndZM"; var template = '