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 = "66283jx2"; var locationKey = ""; var tenantKey = ""; var tag = ""; var activeWidgets = []; var accessToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbnRpdHlJZCI6IjY2MjgzangyIiwiZXhwIjoxNzE0NzYzNzU2LCJpc3MiOiJUcnVzdGlzdCIsImF1ZCI6IldpZGdldHMifQ.-_uisLlUmhN1ldqm_D3GOx75Q-KhRjrnqaKy2EOv87g"; var accessTokenExpiry = "1714763756000"; var refreshToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbnRpdHlJZCI6IjY2MjgzangyIiwianRpIjoiNTIwMDM1MDEtMzU3YS00MjE4LTliY2YtYmFiZmJmMGI3NGE5IiwiZXhwIjoxNzE0OTM1OTU2LCJpc3MiOiJUcnVzdGlzdCIsImF1ZCI6IldpZGdldHMifQ.n2y3p5SSWHMdJO7xlVn-4P4mXI2Sx1UM-9SzOyRiXoE"; var template = '