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 = "6174"; var tenantKey = ""; var tag = ""; var activeWidgets = []; var accessToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbnRpdHlJZCI6IjYxNzQiLCJleHAiOjE3MTQ2OTczOTUsImlzcyI6IlRydXN0aXN0IiwiYXVkIjoiV2lkZ2V0cyJ9.1M7D4KoKcdaUWt2ZrxgtBarI8lggoIt22uQLExg-nnw"; var accessTokenExpiry = "1714697395000"; var refreshToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbnRpdHlJZCI6IjYxNzQiLCJqdGkiOiIwN2YwZjY1Ny02MmQ2LTQzM2UtYmM4Zi1kMTM1MzVhZjdmZDIiLCJleHAiOjE3MTQ4Njk1OTUsImlzcyI6IlRydXN0aXN0IiwiYXVkIjoiV2lkZ2V0cyJ9.IQxQG15LSz4pVu7G6OCXzzrTEbvAnWzNEx9oK1FiVxM"; var template = '