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 = "5xadc87u"; var locationKey = ""; var tenantKey = ""; var tag = ""; var activeWidgets = []; var accessToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbnRpdHlJZCI6IjV4YWRjODd1IiwiZXhwIjoxNzE0Njc1NzM0LCJpc3MiOiJUcnVzdGlzdCIsImF1ZCI6IldpZGdldHMifQ.zMHRtJggk1kOO9UEw1CZefrcel16RaleRz8h4vUIdHY"; var accessTokenExpiry = "1714675734000"; var refreshToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbnRpdHlJZCI6IjV4YWRjODd1IiwianRpIjoiNDRjZTBhNGItZWI5ZC00MmVkLTgyZDktY2NlMjI5MWI3YjcxIiwiZXhwIjoxNzE0ODQ3OTM0LCJpc3MiOiJUcnVzdGlzdCIsImF1ZCI6IldpZGdldHMifQ.2uZoZwS0Gh7O8SJihuH7iUNcC0du5Zv5uYu9I_DaCS0"; var template = '