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 = "v645u248"; var locationKey = ""; var tenantKey = ""; var tag = ""; var activeWidgets = []; var accessToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbnRpdHlJZCI6InY2NDV1MjQ4IiwiZXhwIjoxNzE0NjcxNTUwLCJpc3MiOiJUcnVzdGlzdCIsImF1ZCI6IldpZGdldHMifQ.sopApZePG5sj0oLBJZPAh6RTTystGjL0DvjP3tZ-H2I"; var accessTokenExpiry = "1714671550000"; var refreshToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbnRpdHlJZCI6InY2NDV1MjQ4IiwianRpIjoiYzUxZTM3MWEtZWRlZS00MTk2LTk3MjUtYTc1MzNjYzY2YmRlIiwiZXhwIjoxNzE0ODQzNzUwLCJpc3MiOiJUcnVzdGlzdCIsImF1ZCI6IldpZGdldHMifQ.0SIPORaYyQZoFOnbNGWWOIIEvwhfUXv6E31z-zyXJag"; var template = '