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 = "520"; var tenantKey = ""; var tag = ""; var activeWidgets = []; var accessToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbnRpdHlJZCI6IjUyMCIsImV4cCI6MTcxNDg0NzQyOCwiaXNzIjoiVHJ1c3Rpc3QiLCJhdWQiOiJXaWRnZXRzIn0.tTHGF-IHxuNuJywhwM5_xu5_ZwEuVLpYPjOLSpd9Q1Y"; var accessTokenExpiry = "1714847428000"; var refreshToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbnRpdHlJZCI6IjUyMCIsImp0aSI6IjRjMmViM2NmLWExZGItNDcyYi1iZDk5LTFkMjhiZDE2NmEwZiIsImV4cCI6MTcxNTAxOTYyOCwiaXNzIjoiVHJ1c3Rpc3QiLCJhdWQiOiJXaWRnZXRzIn0.Rnur9XBxtS0RDX0BRYwE9AP6bK8Wp_0flqrKog4Vwbc"; var template = '