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 = "zftvzr96"; var locationKey = "65bq7obx"; var tenantKey = ""; var tag = ""; var activeWidgets = []; var accessToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbnRpdHlJZCI6IjY1YnE3b2J4IiwiZXhwIjoxNzE0OTI5MjExLCJpc3MiOiJUcnVzdGlzdCIsImF1ZCI6IldpZGdldHMifQ.cn1TXqG7tVRNiwwnzTqEpV0U-9HidwxtgMPqKr27f4M"; var accessTokenExpiry = "1714929211000"; var refreshToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbnRpdHlJZCI6IjY1YnE3b2J4IiwianRpIjoiZGFjMzM1MjQtOTZhZS00YTAxLTlkZDQtODNmYmRjYzllNWExIiwiZXhwIjoxNzE1MTAxNDExLCJpc3MiOiJUcnVzdGlzdCIsImF1ZCI6IldpZGdldHMifQ.X-3Icj2imQmIwZ_X9sscICMLd6SpKNenHRvljwLY1xw"; var template = '