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 = "207"; var tenantKey = ""; var tag = ""; var activeWidgets = []; var accessToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbnRpdHlJZCI6IjIwNyIsImV4cCI6MTcxNDM4MzU0NiwiaXNzIjoiVHJ1c3Rpc3QiLCJhdWQiOiJXaWRnZXRzIn0.ygUcC4rVOe1fUgFYCmq1P7FKk2MVETOmp_-PXm8jb94"; var accessTokenExpiry = "1714383546000"; var refreshToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbnRpdHlJZCI6IjIwNyIsImp0aSI6IjJlYWU5Nzk2LTEwNTEtNDZmOC05ZDYxLTFmNjM1NDk0NWZiZSIsImV4cCI6MTcxNDU1NTc0NiwiaXNzIjoiVHJ1c3Rpc3QiLCJhdWQiOiJXaWRnZXRzIn0.TlAxXDZNT7dczTPsPD7zBKMDy_iYE95pDLB6LCCY4WE"; var template = '