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 = "u0ge8dyo"; var locationKey = "583"; var tenantKey = ""; var tag = ""; var activeWidgets = []; var accessToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbnRpdHlJZCI6IjU4MyIsImV4cCI6MTcxNDMzNjIwNiwiaXNzIjoiVHJ1c3Rpc3QiLCJhdWQiOiJXaWRnZXRzIn0.mdCpgrc2PXwzkbgVBioYM5C2_t3b51oXeuKfT0yKO-c"; var accessTokenExpiry = "1714336206000"; var refreshToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbnRpdHlJZCI6IjU4MyIsImp0aSI6ImI0NTJkNmUwLWExNjctNDkxMy05Y2EwLTY4MTA2NzIwOTA4MiIsImV4cCI6MTcxNDUwODQwNiwiaXNzIjoiVHJ1c3Rpc3QiLCJhdWQiOiJXaWRnZXRzIn0.jYvX3cBAwN1Q2ozMWL9oibQnmaMZbp7lUxq0RDdbob0"; var template = '