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 = "jeiompjh"; var locationKey = "56n0h8nd"; var tenantKey = ""; var tag = ""; var activeWidgets = []; var accessToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbnRpdHlJZCI6IjU2bjBoOG5kIiwiZXhwIjoxNzE0ODc0MzI2LCJpc3MiOiJUcnVzdGlzdCIsImF1ZCI6IldpZGdldHMifQ.dNcjvNBZ3lOrXO2HwqbL_QeTu-4XuT3qbYvYdvmbR28"; var accessTokenExpiry = "1714874326000"; var refreshToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbnRpdHlJZCI6IjU2bjBoOG5kIiwianRpIjoiNGZiYjNjNTEtZWY5Zi00N2YwLWJjNDktYmY5ZTI2ODg5OTI3IiwiZXhwIjoxNzE1MDQ2NTI2LCJpc3MiOiJUcnVzdGlzdCIsImF1ZCI6IldpZGdldHMifQ.GZnlYzA4Nv3VsI5DM4oIkEtl6DOlmn76Zxpo3FdD02c"; var template = '