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 = "8ze5kryb"; var tenantKey = ""; var tag = ""; var activeWidgets = []; var accessToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbnRpdHlJZCI6Ijh6ZTVrcnliIiwiZXhwIjoxNzE0Njc5OTAxLCJpc3MiOiJUcnVzdGlzdCIsImF1ZCI6IldpZGdldHMifQ.u0tLvoUtywV7-MZqGDsxuCPQ8JLZPSVwvDVtjuaSqSI"; var accessTokenExpiry = "1714679901000"; var refreshToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbnRpdHlJZCI6Ijh6ZTVrcnliIiwianRpIjoiZTVlOGZiYmUtNGQ2Mi00YTE5LTk3YWYtNWNjNWI3NzBhNzgwIiwiZXhwIjoxNzE0ODUyMTAxLCJpc3MiOiJUcnVzdGlzdCIsImF1ZCI6IldpZGdldHMifQ.7ST1-hrjW3cn3uZeoK9v9mfKGbepL1Ka8PGxUbMk5wI"; var template = '