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 = "zd5xsmiz"; var locationKey = ""; var tenantKey = ""; var tag = ""; var activeWidgets = []; var accessToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbnRpdHlJZCI6InpkNXhzbWl6IiwiZXhwIjoxNzI1NzYwNTczLCJpc3MiOiJUcnVzdGlzdCIsImF1ZCI6IldpZGdldHMifQ.ISq7m1WlTvOeGRH2F1KsCGWXm_hFJKhJRRv0dBQXGuE"; var accessTokenExpiry = "1725760573000"; var refreshToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbnRpdHlJZCI6InpkNXhzbWl6IiwianRpIjoiMzA4NTZjM2UtYTFiYi00Yjg4LTk5YzgtZmVmN2NlMDgzNGQwIiwiZXhwIjoxNzI1OTMyNzczLCJpc3MiOiJUcnVzdGlzdCIsImF1ZCI6IldpZGdldHMifQ.TOJvXWEQveIAKNUb7rb_iV6m78ho_jdyEc748TKpClc"; var template = '