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 = "dse2n0f2"; var locationKey = ""; var tenantKey = ""; var tag = ""; var activeWidgets = []; var accessToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbnRpdHlJZCI6ImRzZTJuMGYyIiwiZXhwIjoxNzE0NDc4NTYwLCJpc3MiOiJUcnVzdGlzdCIsImF1ZCI6IldpZGdldHMifQ.6IN0vjjpDzIwfUHcjOZnm7ZoAKHBrzpTcip8DqPjqmE"; var accessTokenExpiry = "1714478560000"; var refreshToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbnRpdHlJZCI6ImRzZTJuMGYyIiwianRpIjoiYTg4M2M4M2EtNjZiZC00NmZiLWE1OTMtMmI2ZDg3NzEzZmViIiwiZXhwIjoxNzE0NjUwNzYwLCJpc3MiOiJUcnVzdGlzdCIsImF1ZCI6IldpZGdldHMifQ.wP2CMiWyHT4myXwdMir_a1RRJKtqd42cWBZd_MNUaig"; var template = '