var _____WB$wombat$assign$function_____=function(name){return (globalThis._wb_wombat && globalThis._wb_wombat.local_init && globalThis._wb_wombat.local_init(name))||globalThis[name];};if(!globalThis.__WB_pmw){globalThis.__WB_pmw=function(obj){this.__WB_source=obj;return this;}}{ let window = _____WB$wombat$assign$function_____("window"); let self = _____WB$wombat$assign$function_____("self"); let document = _____WB$wombat$assign$function_____("document"); let location = _____WB$wombat$assign$function_____("location"); let top = _____WB$wombat$assign$function_____("top"); let parent = _____WB$wombat$assign$function_____("parent"); let frames = _____WB$wombat$assign$function_____("frames"); let opener = _____WB$wombat$assign$function_____("opener"); window["commonninja-js-sdk"]=function(e){function t(i){if(n[i])return n[i].exports;var o=n[i]={i:i,l:!1,exports:{}};return e[i].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,i){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:i})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=8)}([function(e,t,n){"use strict";n.d(t,"a",function(){return i}),n.d(t,"b",function(){return a}),n.d(t,"f",function(){return c}),n.d(t,"c",function(){return l}),n.d(t,"d",function(){return s}),n.d(t,"e",function(){return d});var i,o=n(1);!function(e){e.INSTALL="INSTALL",e.REQUEST="REQUEST",e.IMPRESSION="IMPRESSION",e.VIEW="VIEW"}(i||(i={}));var r;!function(e){e.CLICK="click",e.HOVER="hover",e.SCROL="scroll"}(r||(r={}));var a;!function(e){e.CLIENT="client",e.ENGAGEMENT="engagement"}(a||(a={}));var c="CommonNinja",l="cn_uc__",s=Object(o.a)("cnApiBaseUrl",!0),d={COMMONNINJA_PLUGIN_LOADED:"COMMONNINJA_PLUGIN_LOADED",COMMONNINJA_PLUGIN_REQUESTED_DATA:"COMMONNINJA_PLUGIN_REQUESTED_DATA",COMMONNINJA_HANDLE_GLOBAL_WIDGET:"COMMONNINJA_HANDLE_GLOBAL_WIDGET",COMMONNINJA_DIMENSIONS_UPDATE:"COMMONNINJA_DIMENSIONS_UPDATE",COMMONNINJA_STYLES_UPDATE:"COMMONNINJA_STYLES_UPDATE",COMMONNINJA_PARENT_WINDOW_SCROLL:"COMMONNINJA_PARENT_WINDOW_SCROLL",COMMONNINJA_ENGAGEMENT_EVENT:"COMMONNINJA_ENGAGEMENT_EVENT",COMMONNINJA_OPEN_POPUP:"COMMONNINJA_OPEN_POPUP",COMMONNINJA_UPDATE_POPUP_STYLES:"COMMONNINJA_UPDATE_POPUP_STYLES",COMMONNINJA_UPDATE_POPUP_URL:"COMMONNINJA_UPDATE_POPUP_URL",COMMONNINJA_DISPATCH_ACTION_TO_FRAME:"COMMONNINJA_DISPATCH_ACTION_TO_FRAME",COMMONNINJA_CLOSE_POPUP:"COMMONNINJA_CLOSE_POPUP",COMMONNINJA_USER_CONTEXT_UPDATED:"COMMONNINJA_USER_CONTEXT_UPDATED",COMMONNINJA_SCROLL_TO:"COMMONNINJA_SCROLL_TO"}},function(e,t,n){"use strict";function i(){return window.location.href}function o(e,t){if(window[e])return window[e];try{var n=new URL(i()).searchParams,o=t?void 0:n.get(e);if(void 0!==o&&null!==o||(o=null===window||void 0===window?void 0:window.localStorage.getItem(e)),"cnApiBaseUrl"===e){if(!/^(https?):\/\/(localhost|.*\.commoninja\.com)(:\d+)?/.test(o||""))return""}return o||""}catch(e){}return""}t.b=i,t.a=o},function(e,t,n){"use strict";function i(e,t){var n;(null===(n=null===e||void 0===e?void 0:e.contentWindow)||void 0===n?void 0:n.postMessage)?e.contentWindow.postMessage(JSON.stringify(t),"*"):window.postMessage(JSON.stringify(t),"*")}function o(){var e=window.addEventListener?"addEventListener":"attachEvent";(0,window[e])("attachEvent"===e?"onmessage":"message",function(e){if(e.data){var t=e.data;try{"string"==typeof e.data&&(t=JSON.parse(e.data))}catch(e){return}if(Object(g.a)("Received message from widget "+t.compId,null===t||void 0===t?void 0:t.type),!t.compId)return;switch(t.type){case v.e.COMMONNINJA_HANDLE_GLOBAL_WIDGET:f(t.compId,t.iframeSrc,t.preservePosition);break;case v.e.COMMONNINJA_DIMENSIONS_UPDATE:p(t.compId,t.height,t.width);break;case v.e.COMMONNINJA_STYLES_UPDATE:u(t.compId,t.styles,t.elmToUpdate);break;case v.e.COMMONNINJA_SCROLL_TO:w(t.compId,t.scrollType,t.scrollParams);break;case v.e.COMMONNINJA_PLUGIN_LOADED:Object(m.d)(t.compId,v.b.CLIENT,v.a.IMPRESSION),d(t.compId);break;case v.e.COMMONNINJA_ENGAGEMENT_EVENT:Object(m.d)(t.compId,v.b.ENGAGEMENT,t.eventType,{eventVersion:t.version||"",eventSubType:t.eventSubType,entityPath:t.entityPath});break;case v.e.COMMONNINJA_OPEN_POPUP:r(t.popupId,t.url,t.overlayStyles,t.iframeStyles);break;case v.e.COMMONNINJA_UPDATE_POPUP_STYLES:a(t.popupId,t.overlayStyles,t.iframeStyles);break;case v.e.COMMONNINJA_UPDATE_POPUP_URL:c(t.popupId,t.url);break;case v.e.COMMONNINJA_CLOSE_POPUP:l(t.popupId);break;case v.e.COMMONNINJA_DISPATCH_ACTION_TO_FRAME:var n=document.querySelector("#"+t.frameId);n?("IFRAME"!==n.tagName&&(n=n.querySelector("iframe")),i(n,t.actionData)):Object(g.a)('Could not find frame "#'+t.frameId+'"')}}},!1)}function r(e,t,n,i){if(void 0===n&&(n={}),void 0===i&&(i={}),!document.querySelector("#"+(e||""))){var o=document.createElement("iframe");Object.keys(i).forEach(function(e){o.style[e]=i[e]}),o.frameBorder="0",o.src=t,o.id=e+"-iframe";var r=document.createElement("div");Object.keys(n).forEach(function(e){r.style[e]=n[e]}),r.id=e,r.appendChild(o),document.body.appendChild(r)}}function a(e,t,n){void 0===t&&(t={}),void 0===n&&(n={});var i=document.querySelector("#"+e+"-iframe");i&&Object.keys(n).forEach(function(e){i.style[e]=n[e]});var o=document.querySelector("#"+e);o&&Object.keys(t).forEach(function(e){o.style[e]=t[e]})}function c(e,t){var n=document.querySelector("#"+e+"-iframe");n&&(n.src=t)}function l(e){var t=document.querySelector("#"+e);t&&(t.outerHTML="")}function s(e){var t=window.innerHeight||document.documentElement.clientHeight;return 100*(Math.min(e.bottom,t)-Math.max(e.top,0))/e.height>=0}function d(e){var t=window[v.f].installedPlugins[e];if(!t||!t.widgetElm)return Object(g.a)('Could not report view for plugin "'+e+'".'),{bounding:{},inViewport:!1};var n=t.placeholderElm.getBoundingClientRect()||{};return{bounding:n,inViewport:s(n)}}function u(e,t,n){void 0===t&&(t={}),void 0===n&&(n="wrapper");var i=window[v.f].installedPlugins[e];if(i){var o=i.frameElm||i.placeholderElm.querySelector("iframe");o&&Object.keys(t).forEach(function(e){"wrapper"!==n&&"both"!==n||(o.style[e]=t[e]),"iframe"!==n&&"both"!==n||(i.placeholderElm.style[e]=t[e])})}}function f(e,t,n){var i,o,r,a,c,l,s;void 0===n&&(n=!1);var d=t!==window.location.href,u=Object.keys(window[v.f].installedPlugins).find(function(t){return window[v.f].installedPlugins[t].widgetId===e}),f=window[v.f].installedPlugins[u];if(f&&f.widgetId&&(n||f.placeholderElm.className.includes("cn-global")))return void Object(g.a)("Global widget already installed",e);Object(g.a)("Installing global widget",e);var p=document.createElement("div");if(p.className="commonninja_component pid-"+e+" "+(n?"":"cn-global"),!d&&!n){var w=document.querySelector(".pid-"+f.widgetId);w&&w.remove(),f.placeholderElm=p}if(n||document.body.appendChild(p),!t||t.includes("srcdoc"))for(var m=document.getElementsByTagName("iframe"),O=0;O0&&a[a.length-1])&&(6===n[0]||2===n[0])){l=0;continue}if(3===n[0]&&(!a||n[1]>a[0]&&n[1]0&&(n.lastElementClick=y(y([],n.lastElementClick),a.toString().split(" ").map(function(e){return"."+e}))),Object(m.a)("lastElementClick",n.lastElementClick),Object(g.c)(n),window.setTimeout(function(){var e=Object(g.a)();e.lastElementClick=[],Object(m.a)("resetting lastElementClick",e.lastElementClick),Object(g.c)(e);var t=null===window||void 0===window?void 0:window.location.href;e.currentUrl!==t&&(Object(m.a)("Route was changed to",t),window[p.f].init())},1500)}function o(e){var t=Object(g.a)();if(!e.toElement&&!e.relatedTarget){if(t.hasExitIntent)return;t.hasExitIntent=!0,Object(g.c)(t)}}function r(e){var t=Object(g.a)();t.hasExitIntent&&(t.hasExitIntent=!1,Object(g.c)(t))}function a(){var e=this;document.addEventListener("click",i.bind(this)),setTimeout(function(){document.addEventListener("mouseout",o.bind(e)),document.addEventListener("mouseover",r.bind(e))},5e3),document.addEventListener("scroll",E),c()}function c(){var e={childList:!0,subtree:!0},t=function(e){for(var t=0,n=e;t0&&a[a.length-1])&&(6===n[0]||2===n[0])){l=0;continue}if(3===n[0]&&(!a||n[1]>a[0]&&n[1]100&&a.splice(0,a.length-100),c({widgetSession:u(u({},r),(t={},t[e]={views:f(f([],a),[Date.now()])},t))})}t.a=o,t.c=r,t.b=a,t.d=c,t.e=l;var s=n(0),d=n(2),u=this&&this.__assign||function(){return u=Object.assign||function(e){for(var t,n=1,i=arguments.length;n0&&a[a.length-1])&&(6===n[0]||2===n[0])){l=0;continue}if(3===n[0]&&(!a||n[1]>a[0]&&n[1]",e.widgetElm=e.placeholderElm.querySelector("iframe")||e.placeholderElm.querySelector("div:first-child"),Object(f.a)(e,!0,"Free "+((null===v||void 0===v?void 0:v.name)||"Website")+" Widget","https://web.archive.org/web/20260606185705/https://www.commoninja.com/widgets/"+((null===v||void 0===v?void 0:v.slug)||"")),j[e.id].processing=!1,[2])}})})}function O(){return p(this,void 0,void 0,function(){var e,t=this;return w(this,function(n){switch(n.label){case 0:return P?[3,2]:[4,b()];case 1:n.sent(),n.label=2;case 2:return e=Object.keys(j).map(function(e){return p(t,void 0,void 0,function(){var t;return w(this,function(n){switch(n.label){case 0:return t=j[e],[4,g(t)];case 1:return n.sent(),[2]}})})}),[4,Promise.all(e)];case 3:return n.sent(),[2]}})})}function b(){return p(this,void 0,void 0,function(){return w(this,function(e){return[2,new Promise(function(e){var t=o.d||"https://web.archive.org/web/20260606185705/https://cdn.commoninja.com",n=t+"/scripts/sdk/main.js";try{var i=Object(d.a)("cnWidgetRendererUrl",!0);i&&(n+="?cnWidgetRendererUrl="+encodeURIComponent(i))}catch(e){}if(A.includes(n))return e(!0);var r=document.createElement("script");r.src=n,r.id="cn-main-script",r.async=!0,r.onload=function(){e(!0)},document.body?document.body.appendChild(r):window.setTimeout(function(){document.body.appendChild(r)},100),A.push(n)})]})})}function y(e,t){return p(this,void 0,void 0,function(){return w(this,function(n){switch(n.label){case 0:return T?(Object(s.a)("Already handling reload."),[2]):(T=!0,Object(s.a)("Reload started for",e||"all","skip populated: ",t),[4,window[o.f].destroy(e,t)]);case 1:return n.sent(),[4,window[o.f].init()];case 2:return n.sent(),T=!1,[2]}})})}function E(e,t){return p(this,void 0,void 0,function(){return w(this,function(n){return Object(s.a)("Destroying widget placeholders of "+e+"..."),Object.keys(j).forEach(function(n){var i,o,r,a,c;if(n.includes(e)){if(null===(i=null===j||void 0===j?void 0:j[n])||void 0===i?void 0:i.processing)return void Object(s.a)("Skipping destroy for processing widget",n);if(t){Object(s.a)("Checking for populated widget",e,n.split("_")[1]);if(h(e,n.split("_")[1]))return void Object(s.a)("Skipping destroy for populated widget",n)}if(null===(r=null===(o=window.CommonNinjaWidgetRoots)||void 0===o?void 0:o[n])||void 0===r||r.unmount(),null===(a=window.CommonNinjaWidgetRoots)||void 0===a||delete a[n],null===(c=null===j||void 0===j?void 0:j[n])||void 0===c?void 0:c.placeholderElm){j[n].placeholderElm.innerHTML="";var l=j[n].placeholderElm.cloneNode(!1);j[n].placeholderElm.replaceWith(l)}null===j||void 0===j||delete j[n]}}),[2]})})}function N(e,t){return p(this,void 0,void 0,function(){var n;return w(this,function(i){switch(i.label){case 0:return e?[4,E(e,t)]:[3,2];case 1:return i.sent(),[2];case 2:return Object(s.a)("Destroying all..."),n=[],Object.keys(j).forEach(function(e){n.push(E(e,t))}),[4,Promise.all(n)];case 3:return i.sent(),[2]}})})}function _(e){return p(this,void 0,void 0,function(){var t=this;return w(this,function(i){return L?(window[o.f].installIsDone=!1,[2]):(Object(s.a)("Initializing..."),L=!0,window[o.f].installIsDone=!1,setTimeout(function(){return p(t,void 0,void 0,function(){return w(this,function(t){switch(t.label){case 0:return n(),[4,O()];case 1:return t.sent(),C||(C=!0,Object(a.b)(),Object(a.c)(),Object(a.a)(),Object(l.a)()),Object(u.b)(),L=!1,window[o.f].installIsDone=!0,Object(s.a)("Initialized."),null===e||void 0===e||e(),[2]}})})},100),[2])})})}function S(e){Object(s.a)("Setting locale",e),Object(u.c)({language:(e||"").toLowerCase()})}function I(){var e;try{var t=(null===(e=document.currentScript)||void 0===e?void 0:e.src)||"";if(!t)return;var n=new URL(t),i=new URLSearchParams(n.search),o=(i.get("widgetIds")||"").split(",").filter(function(e){return!!e&&"string"==typeof e&&!!e.trim()});Object(s.a)("Rendering script level widgets",o),o.forEach(function(e){var t=document.createElement("div");t.className="commonninja_component pid-"+e,document.querySelector(".pid-"+e)||(Object(s.a)("Creating a placeholder for widget",e),document.body.appendChild(t))})}catch(e){Object(s.a)("Error while trying to render script level widgets",e)}}if(void 0===window[o.f]||!window[o.f].loaded){var M=".commonninja_component",j={},A=[],P=Object(i.a)(),C=!1,T=!1,L=!1;I(),window[o.f]={loaded:!0,init:_,destroy:N,reload:y,installedPlugins:j,setLocale:S},document.addEventListener("DOMContentLoaded",function(){I(),window[o.f].init()},!1),window[o.f].init(),window.setTimeout(function(){window[o.f].init()},2e3)}}()},function(e,t,n){"use strict";function i(){try{var e=[/bot/i,/crawl/i,/spider/i,/slurp/i,/headlesschrome/i],t=navigator.userAgent;return e.some(function(e){return e.test(t)})}catch(e){return!1}}t.a=i},function(e,t,n){"use strict";function i(e,t,n,i){if(!e.placeholderElm.querySelector(".commonninja-ribbon")){var o=n||"Powered by Common Ninja",r=t?"color: #16171B !important;\n direction: ltr !important;\n text-decoration: none;\n display: inline-flex !important;\n align-items: center;\n justify-content: center;\n flex-wrap: wrap;\n background: #fefefe;\n border-radius: 50em;\n box-shadow: 0 1px 5px rgba(0,0,0,0.1);\n padding: 5px 10px;":"",a=t?"height: 17px;\n width: 17px;\n border-radius: 50em;\n margin-right: 5px;":"",c=t?"line-height: 1.4em;\n padding-top: 2px;":"",l='\n Common Ninja\n '+o+"\n ",s=document.createElement("div");s.className="commonninja-ribbon",s.title=o,t&&(s.style.whiteSpace="nowrap",s.style.fontFamily='"Poppins",sans-serif',s.style.margin="10px auto 0",s.style.fontSize="12px",s.style.lineHeight="1.3",s.style.fontWeight="500",s.style.textAlign="center",s.style.maxWidth="100%",s.style.transition="background 0.2s ease"),s.style.setProperty("display","block","important"),s.style.setProperty("opacity","1","important"),s.style.setProperty("visibility","visible","important"),s.innerHTML=l,e.placeholderElm.appendChild(s)}}t.a=i}]).default; } /* FILE ARCHIVED ON 18:57:05 Jun 06, 2026 AND RETRIEVED FROM THE INTERNET ARCHIVE ON 16:22:14 Oct 14, 2026. JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE. ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C. SECTION 108(a)(3)). */ /* playback timings (ms): capture_cache.get: 1.052 load_resource: 233.174 PetaboxLoader3.resolve: 73.471 PetaboxLoader3.datanode: 101.664 */