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 = "sn462i1g"; var locationKey = "3577"; var tenantKey = ""; var tag = ""; var activeWidgets = []; var accessToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbnRpdHlJZCI6IjM1NzciLCJleHAiOjE3MTQyNjE2NzQsImlzcyI6IlRydXN0aXN0IiwiYXVkIjoiV2lkZ2V0cyJ9.SNMWhiVwvzjGZvNRE3V9qJICICHHTlk1iKT-CRpLMv0"; var accessTokenExpiry = "1714261674000"; var refreshToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbnRpdHlJZCI6IjM1NzciLCJqdGkiOiJhZGU3YWI5ZC00N2QxLTQxOWUtOTUwMi0xZWE1MGRiMmQxZDEiLCJleHAiOjE3MTQ0MzM4NzQsImlzcyI6IlRydXN0aXN0IiwiYXVkIjoiV2lkZ2V0cyJ9.czZlEXwReXpgRabawkDu4JmYL21C5Aw_O2j3GCOYcJQ"; var template = '