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 = "596"; var tenantKey = ""; var tag = ""; var activeWidgets = []; var accessToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbnRpdHlJZCI6IjU5NiIsImV4cCI6MTcxNDM1NzcxMywiaXNzIjoiVHJ1c3Rpc3QiLCJhdWQiOiJXaWRnZXRzIn0.yeRURucD5PoYpUu-Hdy_3O_0xh4AKIXhaCrl-MaCH4Q"; var accessTokenExpiry = "1714357713000"; var refreshToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbnRpdHlJZCI6IjU5NiIsImp0aSI6IjcwZjE5N2ExLWRmYTYtNDA1YS1iNWZmLTgwZmY1NjczYzUyYSIsImV4cCI6MTcxNDUyOTkxMywiaXNzIjoiVHJ1c3Rpc3QiLCJhdWQiOiJXaWRnZXRzIn0.6ANiZmPqnqIHPybuAToOaaF77lDuFNZ25P9lxXOXUMo"; var template = '