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 = "45ecwysd"; var locationKey = "0ov59t3e"; var tenantKey = ""; var tag = ""; var activeWidgets = []; var accessToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbnRpdHlJZCI6IjBvdjU5dDNlIiwiZXhwIjoxNzE0NDYzNDA0LCJpc3MiOiJUcnVzdGlzdCIsImF1ZCI6IldpZGdldHMifQ.WUS8gNN6phiQSGup_-u2RVvD2oKLPz0coIT0h_Pnx_Y"; var accessTokenExpiry = "1714463404000"; var refreshToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbnRpdHlJZCI6IjBvdjU5dDNlIiwianRpIjoiMDk1ZjVkODgtMjVhOS00N2IzLThlY2ItNGFiZWRjM2U5Y2M1IiwiZXhwIjoxNzE0NjM1NjA0LCJpc3MiOiJUcnVzdGlzdCIsImF1ZCI6IldpZGdldHMifQ.PfI2CMD14UoCWmNEhGoz4dwgdE7JvRLAyQkJ41CG_bs"; var template = '