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 = "3550"; var tenantKey = ""; var tag = ""; var activeWidgets = []; var accessToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbnRpdHlJZCI6IjM1NTAiLCJleHAiOjE3MTQ5ODk0NDcsImlzcyI6IlRydXN0aXN0IiwiYXVkIjoiV2lkZ2V0cyJ9.2dIXaYMm9JLwf4r_Mm_4EWU8jpZaRxkXeZLGV9pSxyM"; var accessTokenExpiry = "1714989447000"; var refreshToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbnRpdHlJZCI6IjM1NTAiLCJqdGkiOiI4ZGY1NjA3Ny00NzdlLTRmMDYtOTM4Ny03YmEzMzlhYzNjMGUiLCJleHAiOjE3MTUxNjE2NDcsImlzcyI6IlRydXN0aXN0IiwiYXVkIjoiV2lkZ2V0cyJ9.pJpfA64lpgZbXHhOhCey2xi1WMH5xQALu32R1pET6PU"; var template = '