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 = "x0prh2b8"; var locationKey = "21b34u0q"; var tenantKey = ""; var tag = ""; var activeWidgets = []; var accessToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbnRpdHlJZCI6IjIxYjM0dTBxIiwiZXhwIjoxNzE0ODMyOTA4LCJpc3MiOiJUcnVzdGlzdCIsImF1ZCI6IldpZGdldHMifQ.71h5bYwD51NI1VXGKR2oFa8YOdiiCGF9lMRSKO2mhbg"; var accessTokenExpiry = "1714832908000"; var refreshToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbnRpdHlJZCI6IjIxYjM0dTBxIiwianRpIjoiYWJkYzk4NDYtNGQ3Mi00MzRmLWI2OTEtMjIwN2VhY2E2MGFkIiwiZXhwIjoxNzE1MDA1MTA4LCJpc3MiOiJUcnVzdGlzdCIsImF1ZCI6IldpZGdldHMifQ.CXRWWP3ai9oW2Mi9D93-GOeDjS5PyX4stA7t2cf4L9A"; var template = '