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 = "2b30b3_c"; var locationKey = "xhdg95fr"; var tenantKey = ""; var tag = ""; var activeWidgets = []; var accessToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbnRpdHlJZCI6InhoZGc5NWZyIiwiZXhwIjoxNzE0NDEyNDUxLCJpc3MiOiJUcnVzdGlzdCIsImF1ZCI6IldpZGdldHMifQ.ARtR4zmaca-MH2eD96Xp7IVd5s6b0schoVf9YTJMg1U"; var accessTokenExpiry = "1714412451000"; var refreshToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbnRpdHlJZCI6InhoZGc5NWZyIiwianRpIjoiZWNhNDQ2YWEtNmY0ZS00NDQ3LWI5M2QtNWE4ZWY2NTJjYjIxIiwiZXhwIjoxNzE0NTg0NjUxLCJpc3MiOiJUcnVzdGlzdCIsImF1ZCI6IldpZGdldHMifQ.R7egMZ1BFpDUZDv14QhCqyJDnA9R_XxyX1DwC7FrVb0"; var template = '