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 = "ijzfr7b4"; var locationKey = "jhddermj"; var tenantKey = ""; var tag = ""; var activeWidgets = []; var accessToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbnRpdHlJZCI6ImpoZGRlcm1qIiwiZXhwIjoxNzE0ODI4MDM1LCJpc3MiOiJUcnVzdGlzdCIsImF1ZCI6IldpZGdldHMifQ.h9TA96Y6h4C52LYuG1vxFkkP6OeCFz7gaC2bA2VEQFk"; var accessTokenExpiry = "1714828035000"; var refreshToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbnRpdHlJZCI6ImpoZGRlcm1qIiwianRpIjoiZGJiYjc3OTctZTM4My00Mjk2LWIwYzMtNzE1YTg5NDY3OWNjIiwiZXhwIjoxNzE1MDAwMjM1LCJpc3MiOiJUcnVzdGlzdCIsImF1ZCI6IldpZGdldHMifQ.EsTM9WCvKT9ZUxSC0GN4A4S6XUw0890JJQEeXUUGDZo"; var template = '