08d5dd841c6928f28b70444875e66e6ad2413a40ccdb39c98d701cef74332e3b

Source Code:

if (self.CavalryLogger) { CavalryLogger.start_js(["CNemjJH"]); }

__d("isAdsExcelAddinURI",[],(function(a,b,c,d,e,f){var g=new RegExp("(^|\\.)fbaddins\\.com$","i"),h=["https"];function a(a){if(a.isEmpty()&&a.toString()!=="#")return!1;return!a.getDomain()&&!a.getProtocol()?!1:h.indexOf(a.getProtocol())!==-1&&g.test(a.getDomain())}f["default"]=a}),66);
__d("isValidAsyncSignalURI",[],(function(a,b,c,d,e,f){var g=new RegExp("((^|\\.)instagram\\.com$)|((^|\\.)wit\\.ai$)|((^|\\.)accountkit\\.com$)","i"),h=["https"];function a(a){if(a.isEmpty()&&a.toString()!=="#")return!1;return!a.getDomain()&&!a.getProtocol()?!1:h.includes(a.getProtocol())&&g.test(a.getDomain())}f["default"]=a}),66);
__d("AsyncSignal",["ErrorGuard","Promise","QueryString","Run","TimeSlice","TrackingConfig","URI","ZeroRewrites","getAsyncParams","isAdsExcelAddinURI","isFacebookURI","isMessengerDotComURI","isValidAsyncSignalURI","isWorkplaceDotComURI","memoize","promiseDone"],(function(a,b,c,d,e,f){var g,h,i;function a(a,c){this.data=c||{},this.uri=a.toString(),b("TrackingConfig").domain&&this.uri.charAt(0)=="/"&&(this.uri=b("TrackingConfig").domain+this.uri)}a.prototype.setHandler=function(a){this.handler=a;return this};a.prototype.setTimeout=function(a){this.timeout=a;return this};a.prototype.send=function(){b("TimeSlice").guard(this._send.bind(this),"AsyncSignal send",{propagationType:b("TimeSlice").PropagationType.ORPHAN})()};a.prototype._send=function(){var a=this.handler,c=this.data;c.asyncSignal=(Math.random()*1e4|0)+1;var d=b("ZeroRewrites").rewriteURI(new(g||(g=b("URI")))(this.uri));d=b("isFacebookURI")(d)||b("isMessengerDotComURI")(d)||b("isAdsExcelAddinURI")(d)||b("isWorkplaceDotComURI")(d)||b("isValidAsyncSignalURI")(d);if(d)Object.assign(c,b("getAsyncParams")("POST"));else throw new Error("'"+this.uri+"' is an external URL, you should not send async signals to offsite links.");var e=b("QueryString").appendToUrl(this.uri,c);i||(i=new(b("Promise"))(function(a){b("Run").onAfterLoad(a)}));d=i.then(function(){return new(b("Promise"))(function(a,b){var c=new Image();c.onload=a;c.onerror=c.onabort=b;c.src=e})});if(a){var f=!1,j=b("memoize")(function(){(h||(h=b("ErrorGuard"))).applyWithGuard(a,null,[f])});b("promiseDone")(d.then(function(){f=!0,j()},j));this.timeout&&setTimeout(j,this.timeout)}return this};e.exports=a}),null);
__d("AsyncTypedRequest",["AsyncRequest"],(function(a,b,c,d,e,f,g){"use strict";a=function(a){babelHelpers.inheritsLoose(b,a);function b(b){b=a.call(this,b)||this;b.setReplaceTransportMarkers();return b}var c=b.prototype;c.promisePayload=function(b){return a.prototype.promisePayload.call(this,b)};c.setPayloadHandler=function(b){a.prototype.setPayloadHandler.call(this,b);return this};return b}(c("AsyncRequest"));g["default"]=a}),98);
__d("CSTXCookieRecordConsentControllerRouteBuilder",["jsRouteBuilder"],(function(a,b,c,d,e,f,g){a=c("jsRouteBuilder")("/cookie/consent/",Object.freeze({}),void 0);b=a;g["default"]=b}),98);
__d("DeferredCookie",["CSTXCookieRecordConsentControllerRouteBuilder","Cookie","CookieConsent","SubscriptionList","URLSearchParams","cr:1069930","cr:1083116","cr:1083117","cr:1697455","flattenPHPQueryData","killswitch","nullthrows","promiseDone"],(function(a,b,c,d,e,f,g){"use strict";var h=new Map(),i=!0,j,k=!1,l=new Map(),m={addToQueue:function(a,b,e,f,g,i,j){if(d("CookieConsent").hasConsent(1)){g?c("Cookie").setWithoutChecksIfFirstPartyContext(a,b,e,f,j):c("Cookie").setWithoutChecks(a,b,e,f,j);return}if(h.has(a))return;h.set(a,{name:a,value:b,nMilliSecs:e,path:f,firstPartyOnly:g,secure:j});i&&m.addDefaultInteractionListener()},flushAllCookiesWithoutRecordingConsentDONOTCALLBEFORECONSENT:function(){h.forEach(function(a,b){a.firstPartyOnly?c("Cookie").setWithoutChecksIfFirstPartyContext(a.name,a.value,a.nMilliSecs,a.path,a.secure):c("Cookie").setWithoutChecks(a.name,a.value,a.nMilliSecs,a.path,a.secure)});if(c("killswitch")("DEFERREDCOOKIE_EMPTY_COOKIES_BEFORE_CALLBACK")){d("CookieConsent").setConsented();for(var a=l,b=Array.isArray(a),e=0,a=b?a:a[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var f;if(b){if(e>=a.length)break;f=a[e++]}else{e=a.next();if(e.done)break;f=e.value}f=f;f[1].fireCallbacks()}h.clear()}else{h.clear();d("CookieConsent").setConsented();for(var f=l,e=Array.isArray(f),b=0,f=e?f:f[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){if(e){if(b>=f.length)break;a=f[b++]}else{b=f.next();if(b.done)break;a=b.value}a=a;a[1].fireCallbacks()}}m.removeDefaultInteractionListener()},flushAllCookies:function(a,d,e,f){a===void 0&&(a=!1);d===void 0&&(d=!1);f===void 0&&(f=!1);m.flushAllCookiesWithoutRecordingConsentDONOTCALLBEFORECONSENT();var g={accept_consent:a};e!=null&&(e=Object.fromEntries(e),g={accept_consent:a,optouts:e});a=c("flattenPHPQueryData")(g);if(!k){e=c("CSTXCookieRecordConsentControllerRouteBuilder").buildUri({});g=new(c("URLSearchParams"))(location.search).get("ig_3p_controls");if(g==="on"){g=e.addQueryParam("ig_3p_controls","on");e=(g=g)!=null?g:e}k=!0;b("cr:1069930")!=null?c("promiseDone")(b("cr:1069930")(e.toString(),{data:a,method:"POST"}),null,function(a){b("cr:1083117")&&b("cr:1083117")("Cookie consent has not been set successfully: "+a.errorMsg,"comet_infra")}):b("cr:1083116")!=null&&new(b("cr:1083116"))(e.toString()).setData(a).setHandler(function(a){d&&location.reload();if(f){a=document.getElementsByTagName("iframe");a.length>0&&location.reload()}}).send()}},removeDefaultInteractionListener:function(){i=!1,j&&(window.removeEventListener?window.removeEventListener("click",j,!0):document.detachEvent&&document.detachEvent("onclick",j),j=null)},addDefaultInteractionListener:function(a){i&&(i=!1,j=a!=null?a:m.baseInteractionHandler.bind(m),m._attachDefaultHandler())},setDefaultInteractionListener:function(a){m.removeDefaultInteractionListener(),j=a,m._attachDefaultHandler()},registerCallbackOnCookieFlush:function(a,b){d("CookieConsent").hasConsent(a)?b():(l.has(a)||l.set(a,new(c("SubscriptionList"))()),c("nullthrows")(l.get(a)).add(b))},baseInteractionHandler:function(a){var c=a.target;if(!(c instanceof HTMLElement))return;if(a instanceof MouseEvent&&!m.isValidClick(a))return;b("cr:1697455")!=null&&!b("cr:1697455").isClickNotConsideredConsent(c)&&m.flushAllCookies(!1)},isValidClick:function(a){return a.which===void 0?!0:a.which==1},canEmbedThirdPartyPixel:function(){return d("CookieConsent").isCookiesBlocked()||!d("CookieConsent").hasConsent(2)?!1:h.size===0},_attachDefaultHandler:function(){window.addEventListener?window.addEventListener("click",c("nullthrows")(j),!0):document.attachEvent&&document.attachEvent("onclick",c("nullthrows")(j))}};a=m;g["default"]=a}),98);
__d("Queue",[],(function(a,b,c,d,e,f){var g={};a=function(){function a(a){this._timeout=null,this._interval=(a==null?void 0:a.interval)||0,this._processor=a==null?void 0:a.processor,this._queue=[],this._stopped=!0}var b=a.prototype;b._dispatch=function(a){var b=this;a===void 0;if(this._stopped||this._queue.length===0)return;a=this._processor;if(a==null){this._stopped=!0;throw new Error("No processor available")}var c=this._interval;if(c!=null)a.call(this,this._queue.shift()),this._timeout=setTimeout(function(){return b._dispatch()},c);else while(this._queue.length)a.call(this,this._queue.shift())};b.enqueue=function(a){this._processor&&!this._stopped?this._processor(a):this._queue.push(a);return this};b.start=function(a){a&&(this._processor=a);this._stopped=!1;this._dispatch();return this};b.isStarted=function(){return!this._stopped};b.dispatch=function(){this._dispatch(!0)};b.stop=function(a){this._stopped=!0;a&&this._timeout!=null&&clearTimeout(this._timeout);return this};b.merge=function(a,b){if(b){(b=this._queue).unshift.apply(b,a._queue)}else{(b=this._queue).push.apply(b,a._queue)}a._queue=[];this._dispatch();return this};b.getLength=function(){return this._queue.length};a.get=function(b,c){var d;b in g?d=g[b]:d=g[b]=new a(c);return d};a.exists=function(a){return a in g};a.remove=function(a){return delete g[a]};return a}();f["default"]=a}),66);
__d("QuicklingRefreshOverheadUtil",["QuicklingConfig","WebStorage","performanceAbsoluteNow"],(function(a,b,c,d,e,f){"use strict";var g,h,i=null,j=1e4;a={onQuicklingStart:function(){i=(g||(g=b("performanceAbsoluteNow")))()},onQuicklingVersionMatch:function(){i=null},onQuicklingRefreshStart:function(){if(!b("QuicklingConfig").logRefreshOverhead||i===null)return;var a=(h||(h=b("WebStorage"))).getSessionStorage();if(!a)return;a.setItem("quickling_refresh_overhead",((g||(g=b("performanceAbsoluteNow")))()-i).toString());a.setItem("quickling_refresh_start",Date.now().toString())},getOverhead:function(a){if(!b("QuicklingConfig").logRefreshOverhead)return null;var c=(h||(h=b("WebStorage"))).getSessionStorageForRead();if(!c)return null;var d=c.getItem("quickling_refresh_start");if(d==null)return null;if(a-parseInt(d,10)>j)return null;a=c.getItem("quickling_refresh_overhead");return a!=null?parseFloat(a):null}};e.exports=a}),null);
__d("ClientServiceWorkerMessage",[],(function(a,b,c,d,e,f){a=function(){function a(a,b,c){this.$1=a,this.$2=b,this.$3=c}var b=a.prototype;b.sendViaController=function(){if(!navigator.serviceWorker||!navigator.serviceWorker.controller)return;var a=new self.MessageChannel();this.$3&&(a.port1.onmessage=this.$3);navigator.serviceWorker.controller.postMessage({command:this.$1,data:this.$2},[a.port2])};return a}();f["default"]=a}),66);