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 = "00u11hgk"; var locationKey = "bxntb6qp"; var tenantKey = ""; var tag = ""; var activeWidgets = []; var accessToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbnRpdHlJZCI6ImJ4bnRiNnFwIiwiZXhwIjoxNzE0NDAyMzgwLCJpc3MiOiJUcnVzdGlzdCIsImF1ZCI6IldpZGdldHMifQ.pX6WJE7y-SCg897vbnI7QrnTdQB_IBgmHuULBj8oIbc"; var accessTokenExpiry = "1714402380000"; var refreshToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbnRpdHlJZCI6ImJ4bnRiNnFwIiwianRpIjoiYTk3MDNkYWMtYWE4MC00YzJhLTk5MjItYjhiODA1OWY3N2ZmIiwiZXhwIjoxNzE0NTc0NTgwLCJpc3MiOiJUcnVzdGlzdCIsImF1ZCI6IldpZGdldHMifQ.m3H9WdB1-uibSehXVcpN1-Ql_b-HNXvlcFzkpkBym84"; var template = '