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 = "3vkihg22"; var tenantKey = ""; var tag = ""; var activeWidgets = []; var accessToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbnRpdHlJZCI6IjN2a2loZzIyIiwiZXhwIjoxNzE0MzY5MDkyLCJpc3MiOiJUcnVzdGlzdCIsImF1ZCI6IldpZGdldHMifQ.8q092FI3McYxb-zmm6Pt5RV0uhXHopb7CsLlxU9V5pc"; var accessTokenExpiry = "1714369092000"; var refreshToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbnRpdHlJZCI6IjN2a2loZzIyIiwianRpIjoiYzFmOTc1MjctOGQ3OS00YzhmLWFjZWYtNjM3MjViMDdjNjE3IiwiZXhwIjoxNzE0NTQxMjkyLCJpc3MiOiJUcnVzdGlzdCIsImF1ZCI6IldpZGdldHMifQ.rYm8Y1Mw44ZovlHKcEFEyJb5iMimsLrFiXOg8mHHNww"; var template = '