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 = "p835c3h1"; var locationKey = "6h0ky5r2"; var tenantKey = ""; var tag = ""; var activeWidgets = []; var accessToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbnRpdHlJZCI6IjZoMGt5NXIyIiwiZXhwIjoxNzE0MzYzMDgyLCJpc3MiOiJUcnVzdGlzdCIsImF1ZCI6IldpZGdldHMifQ.QrL2LRrramicscF4SJrc9CKhnwKhXZeZrK7VJeZFlTU"; var accessTokenExpiry = "1714363082000"; var refreshToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbnRpdHlJZCI6IjZoMGt5NXIyIiwianRpIjoiYjZhNzUyOWItNTE5MS00MGQ5LWFhOTYtOGFiNWNmOWYwMTczIiwiZXhwIjoxNzE0NTM1MjgyLCJpc3MiOiJUcnVzdGlzdCIsImF1ZCI6IldpZGdldHMifQ.hOY-FdE-CTpLwlP0umoBz3jkaXRLeT1VfeOT1bj7uPY"; var template = '