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 = "edvdbghn"; var locationKey = "6184"; var tenantKey = ""; var tag = ""; var activeWidgets = []; var accessToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbnRpdHlJZCI6IjYxODQiLCJleHAiOjE3MTQ2MTI5NTcsImlzcyI6IlRydXN0aXN0IiwiYXVkIjoiV2lkZ2V0cyJ9.DIv27jX2TZsQ2uyyjwyFP8UmwHKmlauwp3iIUbaev4w"; var accessTokenExpiry = "1714612957000"; var refreshToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbnRpdHlJZCI6IjYxODQiLCJqdGkiOiIxMjkxZGIzZS0wZGRjLTRiZDYtOTIxNy0wMzBhODZlNzM2MzEiLCJleHAiOjE3MTQ3ODUxNTcsImlzcyI6IlRydXN0aXN0IiwiYXVkIjoiV2lkZ2V0cyJ9.2kTEUcRi1cOaIxv5H4fMbhw8BWeOQ5m5v-OcQ1xF5Wg"; var template = '