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 = "3qurqnwk"; var locationKey = "h23eaazi"; var tenantKey = ""; var tag = ""; var activeWidgets = []; var accessToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbnRpdHlJZCI6ImgyM2VhYXppIiwiZXhwIjoxNzE0MzU3NDY1LCJpc3MiOiJUcnVzdGlzdCIsImF1ZCI6IldpZGdldHMifQ.bxhOLhpqwRzSGGTDfDqEoPiyu1BZYxfWic5Achbf2a0"; var accessTokenExpiry = "1714357465000"; var refreshToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbnRpdHlJZCI6ImgyM2VhYXppIiwianRpIjoiMmM4MjE0N2QtODgzOS00ZGMwLWE4NTYtZGZjOWQ3ZmMwOGU1IiwiZXhwIjoxNzE0NTI5NjY1LCJpc3MiOiJUcnVzdGlzdCIsImF1ZCI6IldpZGdldHMifQ.EyBUxPbOm3u9GtKUYO5hw6d3mbD1QlAzETw08HcuQiE"; var template = '