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 = "862"; var tenantKey = ""; var tag = ""; var activeWidgets = []; var accessToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbnRpdHlJZCI6Ijg2MiIsImV4cCI6MTcxNDM3NjA2MywiaXNzIjoiVHJ1c3Rpc3QiLCJhdWQiOiJXaWRnZXRzIn0.xSoHRMJyaYWv9ntjSxMHBeNulHG-rLuniArQHpzVK40"; var accessTokenExpiry = "1714376063000"; var refreshToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbnRpdHlJZCI6Ijg2MiIsImp0aSI6ImZlY2FhMmRiLWU1M2UtNDk1Yi1iZjU0LWYzNGI3YmExMGMwNyIsImV4cCI6MTcxNDU0ODI2MywiaXNzIjoiVHJ1c3Rpc3QiLCJhdWQiOiJXaWRnZXRzIn0.eBTfX-Ztz-Y4p5UZehQWR4gi0GEi3F6oTIcjB1nyyaM"; var template = '