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 = "155"; var tenantKey = ""; var tag = ""; var activeWidgets = []; var accessToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbnRpdHlJZCI6IjE1NSIsImV4cCI6MTcxNDI5NDYyNiwiaXNzIjoiVHJ1c3Rpc3QiLCJhdWQiOiJXaWRnZXRzIn0.R8Wm0QUV6x53hAxJaOan5-PUTHPYRIym8RtAbbu6IkQ"; var accessTokenExpiry = "1714294626000"; var refreshToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbnRpdHlJZCI6IjE1NSIsImp0aSI6ImE0NTc3NWI0LTZkZmEtNGVkNS1hMWI2LWY0YzU4OGJiZWEwZiIsImV4cCI6MTcxNDQ2NjgyNiwiaXNzIjoiVHJ1c3Rpc3QiLCJhdWQiOiJXaWRnZXRzIn0.Y189Y0tQUf0GGdyqKRM4W4DKPZ6NkQmYAK1GoKzpGpU"; var template = '