Online PHP and Javascript Decoder decode hidden script to uncover its real functionality




__d("XAdsCMAccountSettingsPageControllerRouteBuilder",["jsRouteBuilder"],(function(t,n,r,o,a,i,l){var e=r("jsRouteBuilder")("/ads/manager/account/settings/",Object.freeze({tab:"information",highlight_tax_id:!1}),new Set(["highlight_tax_id"])),s=e;l.default=s}),98);
__d("XAdsCMControllerRouteBuilder",["jsRouteBuilder"],(function(t,n,r,o,a,i,l){var e=r("jsRouteBuilder")("/ads/manager/{?page}/{?tab}/",Object.freeze({help_tray:!1,no_redirect:!1,pixel_conversion_dialog:!1,show_edit_modal:!1,is_split_test:!1,m2w:!1,ads_manager_read_regions:!1}),void 0),s=e;l.default=s}),98);
__d("XAdsPEControllerRouteBuilder",["jsRouteBuilder"],(function(t,n,r,o,a,i,l){var e=r("jsRouteBuilder")("/adsmanager/",Object.freeze({_fb_noscript:!1,ad_page_id:0,ads_manager_read_regions:!1,ads_manager_write_regions:!1,adset_page_id:0,auto_transform_dialog:!1,breakdown_regrouping:!1,campaign_page_id:0,creative_page_id:0,duplicate_ad:!1,duplicate_campaign:!1,duplicate_campaign_upgrade:!1,external_creation:!1,external_creation_from_url:!1,focus_mode:!1,from_ads_ai:!1,gtao:!0,insights_section:"performance",insights_subsection:"results",is_mfr_model_shown_by_default:!1,is_redirected_default:!1,is_reload_from_account_change:!1,is_split_test:!1,launch_quick_creation:!1,mdsa_eligibility:!1,recommendation_read_only:!1,root_level:"campaign",show_dfca_create_audience_modal:!1,show_dfca_lal_create_audience_modal:!1,show_inbox_re_tos:!1,show_inline_verification:!1,show_mm_onboarding_modal:!1,show_review:!1,show_select_post_modal:!1,show_shops_messaging_opt_out_modal:!1,show_view_history:!1,treenav:!0}),void 0),s=e;l.default=s}),98);
__d("AdsManagerConstURIUtils",["AdsManagerReadRegions","XAdsCMAccountSettingsPageControllerRouteBuilder","XAdsCMControllerRouteBuilder","XAdsPEControllerRouteBuilder","gkx"],(function(t,n,r,o,a,i,l){"use strict";function e(e,t,n){var o=r("XAdsPEControllerRouteBuilder").buildUri(babelHelpers.extends({},n,{nav_entry_point:t!=null?t:void 0,nav_source:e}));return m(o)}function s(e,t,n){var o=r("XAdsCMControllerRouteBuilder").buildUri(babelHelpers.extends({},n,{nav_entry_point:t!=null?t:void 0,nav_source:e}));return m(o)}function u(e,t,n){var o=r("XAdsCMAccountSettingsPageControllerRouteBuilder").buildUri(babelHelpers.extends({},n,{nav_entry_point:t!=null?t:void 0,nav_source:e}));return m(o)}function c(e){return!!(window.location.host.includes("adsmanager")&&!r("AdsManagerReadRegions").excluded_endpoints.some(function(t){return e.includes(t)})&&r("gkx")("1221"))}function d(e,t){return t===void 0&&(t=!0),!!(window.location.host.includes("adsmanager")&&r("gkx")("13382")&&(r("AdsManagerReadRegions").excluded_endpoints.some(function(t){return e.includes(t)})||!t))}function m(e){return c(e.toString())?e.addQueryParam("ads_manager_read_regions","true"):d(e.toString())?e.addQueryParam("ads_manager_write_regions","true"):(e.getQueryParam("ads_manager_read_regions")!==null||e.getQueryParam("ads_manager_write_regions")!==null)&&(e.removeQueryParam("ads_manager_read_regions"),e.removeQueryParam("ads_manager_write_regions")),e}l.getAdsManagerURI=e,l.getXAdsCMControllerURI=s,l.getXAdsCMAccountSettingsPageURI=u,l.shouldRouteToAMReadRegions=c,l.shouldRouteToAMWriteRegions=d}),98);
__d("ArbiterMixin",["Arbiter","guid"],(function(t,n,r,o,a,i,l){var e="arbiter$"+r("guid")(),s=Object.prototype.hasOwnProperty,u={_getArbiterInstance:function(){return s.call(this,e)?this[e]:this[e]=new(r("Arbiter"))},inform:function(t,n,r){return this._getArbiterInstance().inform(t,n,r)},subscribe:function(t,n,r){return this._getArbiterInstance().subscribe(t,n,r)},subscribeOnce:function(t,n,r){return this._getArbiterInstance().subscribeOnce(t,n,r)},unsubscribe:function(t){this._getArbiterInstance().unsubscribe(t)},unsubscribeCurrentSubscription:function(){this._getArbiterInstance().unsubscribeCurrentSubscription()},releaseCurrentPersistentEvent:function(){this._getArbiterInstance().releaseCurrentPersistentEvent()},registerCallback:function(t,n){return this._getArbiterInstance().registerCallback(t,n)},query:function(t){return this._getArbiterInstance().query(t)}},c=u;l.default=c}),98);
__d("FbtResultBase",[],(function(t,n,r,o,a,i){"use strict";var e=(function(){function e(e,t){this.$1=e,this.__errorListener=t,this.$3=!1,this.$2=null}var t=e.prototype;return t.flattenToArray=function(){return e.flattenToArray(this.$1)},t.getContents=function(){return this.$1},t.toString=function(){if(Object.isFrozen(this))return this.$4();if(this.$3)return"<<Reentering fbt.toString() is forbidden>>";this.$3=!0;try{return this.$4()}finally{this.$3=!1}},t.$4=function(){if(this.$2!=null)return this.$2;for(var t="",n=this.flattenToArray(),r=0;r<n.length;++r){var o=n[r];if(typeof o=="string"||o instanceof e)t+=o.toString();else{var a;(a=this.__errorListener)==null||a.onStringSerializationError==null||a.onStringSerializationError(o)}}return Object.isFrozen(this)||(this.$2=t),t},t.toJSON=function(){return this.toString()},e.flattenToArray=function(n){for(var t=[],r=0;r<n.length;++r){var o=n[r];Array.isArray(o)?t.push.apply(t,e.flattenToArray(o)):o instanceof e?t.push.apply(t,o.flattenToArray()):t.push(o)}return t},e})();["anchor","big","blink","bold","charAt","charCodeAt","codePointAt","contains","endsWith","fixed","fontcolor","fontsize","includes","indexOf","italics","lastIndexOf","link","localeCompare","match","normalize","repeat","replace","search","slice","small","split","startsWith","strike","sub","substr","substring","sup","toLocaleLowerCase","toLocaleUpperCase","toLowerCase","toUpperCase","trim","trimLeft","trimRight"].forEach(function(t){e.prototype[t]=function(){var e;(e=this.__errorListener)==null||e.onStringMethodUsed==null||e.onStringMethodUsed(t);for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return String.prototype[t].apply(this,r)}});var l=e;a.exports=l}),null);
__d("UserAgent_DEPRECATED",[],(function(t,n,r,o,a,i){var e=!1,l,s,u,c,d,m,p,_,f,g,h,y,C,b,v,S;function R(){if(!e){e=!0;var t=navigator.userAgent,n=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(t),r=/(Mac OS X)|(Windows)|(Linux)/.exec(t);if(y=/\b(iPhone|iP[ao]d)/.exec(t),C=/\b(iP[ao]d)/.exec(t),g=/Android/i.exec(t),b=/FBAN\/\w+;/i.exec(t),v=/FBAN\/mLite;/i.exec(t),S=/Mobile/i.exec(t),h=!!/Win64/.exec(t),n){l=n[1]?parseFloat(n[1]):n[5]?parseFloat(n[5]):NaN,l&&document&&document.documentMode&&(l=document.documentMode);var o=/(?:Trident\/(\d+.\d+))/.exec(t);m=o?parseFloat(o[1])+4:l,s=n[2]?parseFloat(n[2]):NaN,u=n[3]?parseFloat(n[3]):NaN,c=n[4]?parseFloat(n[4]):NaN,c?(n=/(?:Chrome\/(\d+\.\d+))/.exec(t),d=n&&n[1]?parseFloat(n[1]):NaN):d=NaN}else l=s=u=d=c=NaN;if(r){if(r[1]){var a=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(t);p=a?parseFloat(a[1].replace("_",)):!0}else p=!1;_=!!r[2],f=!!r[3]}else p=_=f=!1}}function L(){return R(),l}function E(){return R(),m>l}function k(){return L()&&h}function I(){return R(),s}function T(){return R(),u}function D(){return R(),c}function x(){return D()}function $(){return R(),d}function P(){return R(),_}function N(){return R(),p}function M(){return R(),f}function w(){return R(),y}function A(){return R(),y||C||g||S}function F(){return R(),v!=null?null:b}function O(){return R(),g}function B(){return R(),C}i.ie=L,i.ieCompatibilityMode=E,i.ie64=k,i.firefox=I,i.opera=T,i.webkit=D,i.safari=x,i.chrome=$,i.windows=P,i.osx=N,i.linux=M,i.iphone=w,i.mobile=A,i.nativeApp=F,i.android=O,i.ipad=B}),66);
__d("isScalar",[],(function(t,n,r,o,a,i){function e(e){return/string|number|boolean/.test(typeof e)}i.default=e}),66);
__d("DOM",["$","DOMQuery","Event","FBLogger","FbtResultBase","HTML","UserAgent_DEPRECATED","createArrayFromMixed","err","fb-error","isNode","isScalar","isTextNode"],(function(t,n,r,o,a,i,l){var e,s=function(t,n,r){var e=document.createElement(t);return n&&u.setAttributes(e,n),r!=null&&u.setContent(e,r),e},u={find:(e=o("DOMQuery")).find,findPushSafe:e.findPushSafe,scry:e.scry,getSelection:e.getSelection,contains:e.contains,getRootElement:e.getRootElement,isNodeOfType:e.isNodeOfType,isInputNode:e.isInputNode,create:s,setAttributes:function(t,n){n.type&&(t.type=n.type);for(var e in n){var o=n[e],a=/^on/i.test(e);a&&typeof o!="function"&&r("FBLogger")("dom").warn("Handlers passed to DOM.setAttributes must be functions. Handler passed for %s was %s",e,typeof o),e!="type"&&(e=="style"?typeof o=="string"?t.style.cssText=o:Object.assign(t.style,o):a?r("Event").listen(t,e.substr(2),o):e in t?t[e]=o:t.setAttribute&&t.setAttribute(e,o))}},prependContent:function(t,n){if(!t)throw r("fb-error").TAAL.blameToPreviousFile(r("err")("reference element is not a node"));return d(n,t,function(e){t.firstChild?t.insertBefore(e,t.firstChild):t.appendChild(e)})},insertAfter:function(t,n){if(!t||!t.parentNode)throw r("fb-error").TAAL.blameToPreviousFile(r("err")("reference element does not have a parent"));var e=t.parentNode;return d(n,e,function(n){t.nextSibling?e.insertBefore(n,t.nextSibling):e.appendChild(n)})},insertBefore:function(t,n){if(!t||!t.parentNode)throw r("fb-error").TAAL.blameToPreviousFile(r("err")("reference element does not have a parent"));var e=t.parentNode;return d(n,e,function(n){e.insertBefore(n,t)})},setContent:function(t,n){if(!t)throw r("fb-error").TAAL.blameToPreviousFile(r("err")("reference element is not a node"));for(;t.firstChild;)c(t.firstChild);return u.appendContent(t,n)},appendContent:function(t,n){if(!t)throw r("fb-error").TAAL.blameToPreviousFile(r("err")("reference element is not a node"));return d(n,t,function(e){t.appendChild(e)})},replace:function(t,n){if(!t||!t.parentNode)throw r("fb-error").TAAL.blameToPreviousFile(r("err")("reference element does not have a parent"));var e=t.parentNode;return d(n,e,function(n){e.replaceChild(n,t)})},remove:function(t){c(typeof t=="string"?r("$")(t):t)},empty:function(t){for(t=typeof t=="string"?r("$")(t):t;t.firstChild;)c(t.firstChild)}};function c(e){e.parentNode&&e.parentNode.removeChild(e)}function d(e,t,n){if(e=r("HTML").replaceJSONWrapper(e),e instanceof r("HTML")&&t.firstChild===null&&e.toString().indexOf("<script")===-1){var a=o("UserAgent_DEPRECATED").ie();if(!a||a>7&&!o("DOMQuery").isNodeOfType(t,["table","tbody","thead","tfoot","tr","select","fieldset"])){var i=a?'<em style="display:none;">&nbsp;</em>'+e.toString():e.toString();return t.innerHTML=i,a&&t.removeChild(t.firstChild),Array.from(t.childNodes)}}else if(r("isTextNode")(t))return t.data=e,[e];var l=document.createDocumentFragment(),s,u=[],c=[],d=!1;e=r("createArrayFromMixed")(e),e.length===1&&e[0]instanceof r("FbtResultBase")&&(e=e[0].getContents());for(var m=0;m<e.length;m++)if(s=r("HTML").replaceJSONWrapper(e[m]),s instanceof r("HTML")){c.push(s.getAction());var p=s.getNodes();!d&&s.hasInlineJs()&&(r("FBLogger")("staticresources").warn("DOM: adding HTML which contains inline JS"),d=!0);for(var _=0;_<p.length;_++)u.push(p[_]),l.appendChild(p[_])}else if(r("isScalar")(s)||s instanceof r("FbtResultBase")){var f=document.createTextNode(s);u.push(f),l.appendChild(f)}else r("isNode")(s)?(u.push(s),l.appendChild(s)):(Array.isArray(s)&&r("FBLogger")("dom").warn("Nest arrays not supported"),s!==null&&r("FBLogger")("dom").warn("No way to set content %s",s));return n(l),c.forEach(function(e){e()}),u}var m=u;l.default=m}),98);
__d("AsyncDOM",["CSS","DOM","FBLogger"],(function(t,n,r,o,a,i){var e={invoke:function(t,r){for(var e=0;e<t.length;++e){var o=t[e],a=o[0],i=o[1],l=o[2],s=o[3],u=l&&r||null;switch(i&&(u=n("DOM").scry(u||document.documentElement,i)[0]),u||n("FBLogger")("async_dom").warn("Could not find relativeTo element for %s AsyncDOM operation based on selector: %s",a,i),a){case"hide":n("CSS").hide(u);break;case"show":n("CSS").show(u);break;case"setContent":n("DOM").setContent(u,s);break;case"appendContent":n("DOM").appendContent(u,s);break;case"prependContent":n("DOM").prependContent(u,s);break;case"insertAfter":n("DOM").insertAfter(u,s);break;case"insertBefore":n("DOM").insertBefore(u,s);break;case"remove":n("DOM").remove(u);break;case"replace":n("DOM").replace(u,s);break;default:n("FBLogger")("async_dom").warn("Received invalid command %s for AsyncDOM operation",a)}}}};a.exports=e}),null);
__d("AsyncResponse",["invariant","Bootloader","FBLogger","HTML","WebDriverConfig","err"],(function(t,n,r,o,a,i,l,s){"use strict";var e=(function(){function e(e,t){this.error=0,this.errorSummary=null,this.errorDescription=null,this.errorMid=null,this.onload=null,this.replay=!1,this.payload=t,this.request=e,this.silentError=!1,this.transientError=!1,this.blockedAction=!1,this.is_last=!0,this.responseHeaders=null}var t=e.prototype;return t.getRequest=function(){return this.request},t.getPayload=function(){return this.payload},t.toError=function(){this.error!==0||s(0,5599);var e=this.errorSummary||"",t=this.getErrorDescriptionString()||"",n=r("err")(e.toString()+": "+t);return Object.assign(n,{code:this.error,description:this.errorDescription||"",descriptionString:t,response:this,summary:e,isSilent:this.silentError,isTransient:this.transientError,mid:this.errorMid}),n},t.getError=function(){return this.error},t.getErrorSummary=function(){return this.errorSummary},t.setErrorSummary=function(t){return t=t===void 0?null:t,this.errorSummary=t,this},t.getErrorDescription=function(){return this.errorDescription},t.getErrorDescriptionString=function(){var e=this.getErrorDescription();if(e==null)return null;if(r("HTML").isHTML(e)){var t=new(r("HTML"))(e);return t.getRootNode().textContent}return e.toString()},t.getErrorIsWarning=function(){return!!this.errorIsWarning},t.isSilent=function(){return!!this.silentError},t.isTransient=function(){return!!this.transientError},t.isBlockedAction=function(){return!!this.blockedAction},t.getResponseHeader=function(t){var e=this.responseHeaders;if(!e)return null;e=e.replace(/^\n/,""),t=t.toLowerCase();for(var n=e.split("\r\n"),r=0;r<n.length;++r){var o=n[r],a=o.indexOf(": ");if(!(a<=0)){var i=o.substring(0,a).toLowerCase();if(i===t)return o.substring(a+2)}}return null},e.defaultErrorHandler=function(n){try{n.silentError?r("FBLogger")("async_response").catching(n.toError()).warn("default error handler called"):e.verboseErrorHandler(n)}catch(e){alert(n)}},e.verboseErrorHandler=function(t,n){r("Bootloader").loadModules(["ExceptionDialog"],function(e){return e.showAsyncError(t,n)},"AsyncResponse")},e})();l.default=e}),98);
__d("Deferred",["Promise"],(function(t,n,r,o,a,i){"use strict";var e;(e||(e=n("Promise"))).resolve();var l=(function(){function t(t){var r=this,o=t||e||(e=n("Promise"));this.$1=!1,this.$2=new o(function(e,t){r.$3=e,r.$4=t})}var r=t.prototype;return r.getPromise=function(){return this.$2},r.resolve=function(t){this.$1=!0,this.$3(t)},r.reject=function(t){this.$1=!0,this.$4(t)},r.isSettled=function(){return this.$1},t})();i.default=l}),66);
__d("FetchStreamConfig",[],(function(t,n,r,o,a,i){var e=Object.freeze({delim:""});i.default=e}),66);
__d("StreamBlockReader",["Promise","asyncToGeneratorRuntime"],(function(t,n,r,o,a,i){var e,l=(function(){function t(t){var r=this;if(!("getReader"in t)){var o=new Error("No getReader method found on given object");throw o.stack,o}this.$3=t.getReader(),this.$1="",this.$2=null,this.$4=!1,this.$5="utf-8",this.$6="",this.$9=!1,this.$8=function(){return(e||(e=n("Promise"))).reject("Sorry, you are somehow using this too early.")},this.$7=new(e||(e=n("Promise")))(function(e,t){r.$8=e})}var r=t.prototype;return r.changeEncoding=function(t){if(this.$2){var e=new Error("Decoder already in use, encoding cannot be changed");throw e.stack,e}this.$5=t},r.$10=function(){if(!self.TextDecoder){var e=new Error("TextDecoder is not supported here");throw e.stack,e}return this.$2||(this.$2=new self.TextDecoder(this.$5)),this.$2},r.$11=function(){if(this.$9){var e=new Error("Something else is already reading from this reader");throw e.stack,e}this.$9=!0},r.$12=function(){this.$9=!1},r.isDone=function(){return this.$4},r.$13=(function(){var e=n("asyncToGeneratorRuntime").asyncToGenerator(function*(){if(this.$6!==""){var e=this.$6;return this.$6="",e}if(this.isDone()){var t=new Error("You cannot read from a stream that is done");throw t.stack,t}var n=yield this.$3.read(),r=n.done,o=n.value;return this.$4=r,r&&this.$8(),o?this.$10().decode(o,{stream:!r}):""});function t(){return e.apply(this,arguments)}return t})(),r.readNextBlock=(function(){var e=n("asyncToGeneratorRuntime").asyncToGenerator(function*(){this.$11();var e=this.$13();return this.$12(),e});function t(){return e.apply(this,arguments)}return t})(),r.readUntilStringOrEnd=(function(){var e=n("asyncToGeneratorRuntime").asyncToGenerator(function*(e){return yield this.readUntilOneOfStringOrEnd_DO_NOT_USE([e])});function t(t){return e.apply(this,arguments)}return t})(),r.readUntilStringOrThrow=(function(){var e=n("asyncToGeneratorRuntime").asyncToGenerator(function*(e){if(!e){var t=new Error("cannot read empty string");throw t.stack,t}this.$11();for(var n="",r=0;!this.isDone();)if(n+=yield this.$13(),!(n.length<e.length)){var o=n.substring(r).indexOf(e);if(o!==-1)return o+=r,this.$6=n.substring(o+e.length),this.$12(),n.substring(0,o);r=n.length-e.length+1}this.$6=n,this.$12();var a=new Error("Breakpoint not found");throw a.stack,a});function t(t){return e.apply(this,arguments)}return t})(),r.readUntilOneOfStringOrEnd_DO_NOT_USE=(function(){var e=n("asyncToGeneratorRuntime").asyncToGenerator(function*(e){this.$11();for(var t="";!this.isDone();){t+=yield this.$13();for(var n=0;n<e.length;n++){var r=e[n],o=t.indexOf(r);if(o!==-1)return this.$6=t.substring(o+r.length),this.$12(),t.substring(0,o)}}return this.$12(),t});function t(t){return e.apply(this,arguments)}return t})(),r.waitUntilDone=(function(){var e=n("asyncToGeneratorRuntime").asyncToGenerator(function*(){return this.$7});function t(){return e.apply(this,arguments)}return t})(),t})();i.default=l}),66);
__d("mixin",[],(function(t,n,r,o,a,i){function e(){for(var e=function(){},t=0,n,r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];for(;o[t];){n=o[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e.prototype[i]=n[i]);t+=1}return e}i.default=e}),66);
__d("FetchStreamTransport",["ArbiterMixin","FetchStreamConfig","StreamBlockReader","TimeSlice","URI","asyncToGeneratorRuntime","mixin","nullthrows"],(function(t,n,r,o,a,i,l){var e,s=0,u=(function(t){function o(e){var n;if(!self.ReadableStream||!self.fetch||!Request||!TextDecoder){var r=new Error("fetch stream transport is not supported here");throw r.stack,r}return n=t.call(this)||this,n.$FetchStreamTransport$p_6=null,n.$FetchStreamTransport$p_1=e,n.$FetchStreamTransport$p_3=!1,n.$FetchStreamTransport$p_4=!1,n.$FetchStreamTransport$p_5=!1,n.$FetchStreamTransport$p_2=++s,n||babelHelpers.assertThisInitialized(n)}babelHelpers.inheritsLoose(o,t);var a=o.prototype;return a.hasFinished=function(){return this.$FetchStreamTransport$p_5},a.getRequestURI=function(){return new(e||(e=r("URI")))(this.$FetchStreamTransport$p_1).addQueryData({__a:1,__adt:this.$FetchStreamTransport$p_2,__req:"fetchstream_"+this.$FetchStreamTransport$p_2,ajaxpipe_fetch_stream:1})},a.send=function(){if(this.$FetchStreamTransport$p_3){var e=new Error("FetchStreamTransport instances cannot be re-used.");throw e.stack,e}this.$FetchStreamTransport$p_3=!0;var t=new Request(this.getRequestURI().toString(),{mode:"same-origin",credentials:"include"});this.$FetchStreamTransport$p_6=r("TimeSlice").getGuardedContinuation("FetchStreamTransport: waiting on first response");var n=self.fetch(t,{redirect:"follow"});this.$FetchStreamTransport$p_7(n)},a.$FetchStreamTransport$p_7=(function(){var e=n("asyncToGeneratorRuntime").asyncToGenerator(function*(e){var t=this,n;try{n=yield e}catch(e){this.abort()}if(!n||!n.body||!n.ok){this.abort();return}for(var o=new(r("StreamBlockReader"))(n.body),a=function*(){var e=yield o.readUntilStringOrEnd(r("FetchStreamConfig").delim);if(t.$FetchStreamTransport$p_4)return 1;r("nullthrows")(t.$FetchStreamTransport$p_6)(function(){var n=JSON.parse(e);o.isDone()||n.finished?t.$FetchStreamTransport$p_5=!0:t.$FetchStreamTransport$p_6=r("TimeSlice").getGuardedContinuation("FetchStreamTransport: waiting on next response"),t.inform("response",n.content)})};!this.$FetchStreamTransport$p_5&&!this.$FetchStreamTransport$p_4&&!(yield*a()););});function t(t){return e.apply(this,arguments)}return t})(),a.abort=function(){var e=this;if(!(this.$FetchStreamTransport$p_4||this.$FetchStreamTransport$p_5))if(this.$FetchStreamTransport$p_4=!0,this.$FetchStreamTransport$p_5=!0,this.$FetchStreamTransport$p_6){var t=this.$FetchStreamTransport$p_6;t(function(){e.inform("abort")})}else this.inform("abort")},o})(r("mixin")(r("ArbiterMixin")));l.default=u}),98);
__d("HTTPErrors",["emptyFunction"],(function(t,n,r,o,a,i,l){function e(e){return{summary:"HTTP Error",description:"Unknown HTTP error #"+e}}var s={get:e,getAll:r("emptyFunction").thatReturns(new Map)},u=s;l.default=u}),98);
__d("SubscriptionList",["FBLogger"],(function(t,n,r,o,a,i,l){var e=(function(){function e(e,t){this.$1=[],this.$2=e,this.$3=t}var t=e.prototype;return t.add=function(t){var e=this,n={callback:t};return this.$1.push(n),this.$2&&this.$1.length===1&&this.$2(),{remove:function(){var t=e.$1.indexOf(n);if(t===-1){r("FBLogger")("SubscriptionList").mustfix("SubscriptionList: Callback already removed.");return}e.$1.splice(t,1),e.$3&&e.$1.length===0&&e.$3()}}},t.getCallbacks=function(){return this.$1.map(function(e){return e.callback})},t.fireCallbacks=function(t){this.getCallbacks().forEach(function(e){e(t)})},e})();l.default=e}),98);
__d("isInIframe",[],(function(t,n,r,o,a,i){var e=typeof window!="undefined"&&window.top!=null&&window!=window.top;function l(){return e}i.default=l}),66);
__d("ScriptPath",["ErrorGuard","SubscriptionList","TimeSlice","WebStorage","isInIframe"],(function(t,n,r,o,a,i){"use strict";var e,l,s="sp_pi",u=3e4,c=null,d=null,m=new(n("SubscriptionList")),p=null,_=[],f=n("TimeSlice").guard(function(t,r){m.getCallbacks().forEach(function(o){(e||(e=n("ErrorGuard"))).applyWithGuard(function(){o({source:c,dest:d,cause:t,extraData:r})},null,[])})},"ScriptPath Notifying callbacks",{propagationType:n("TimeSlice").PropagationType.ORPHAN});function g(){return d?d.scriptPath:void 0}function h(){var e=(l||(l=n("WebStorage"))).getSessionStorage();!e||n("isInIframe")()||l.setItemGuarded(e,s,JSON.stringify({pageInfo:d,clickPoint:p,time:Date.now()}))}function y(){var e=(l||(l=n("WebStorage"))).getSessionStorageForRead();if(e){var t=e.getItem(s);if(t){var r=JSON.parse(t);r&&(r.time<Date.now()-u&&(e=(l||(l=n("WebStorage"))).getSessionStorage(),e&&e.removeItem(s)),d=r.pageInfo,p=r.clickPoint,d&&(d.restored=!0))}}}y();var C={set:function(t,n,r){c=d,d={scriptPath:t,categoryToken:n,extraData:r||{}},_=[],window._script_path=t,f()},openOverlayView:function(t,n,r){if(t){var e=_.length;(e===0||_[e-1]!==t)&&(c=babelHelpers.extends({},d),d&&(d.topViewEndpoint=t),r&&r.replaceTopOverlay&&e>0?(_[e-1]=t,f("replace_overlay_view",n)):(_.push(t),f("open_overlay_view",n)))}},closeOverlayView:function(t,n){var e=_.lastIndexOf(t);e!==-1&&(c=babelHelpers.extends({},d),d&&(e>0?d.topViewEndpoint=_[e-1]:d.topViewEndpoint=null),_=_.slice(0,e),f("close_overlay_view",n))},setClickPointInfo:function(t){p=t,h()},getClickPointInfo:function(){return p},getScriptPath:g,getCategoryToken:function(){return d?d.categoryToken:void 0},getEarlyFlushPage:function(){var e;return(e=d)==null||(e=e.extraData)==null?void 0:e.ef_page},getTopViewEndpoint:function(){var e=_.length;return e>0?_[e-1]:g()},getPageInfo:function(){return d},getSourcePageInfo:function(){return c},subscribe:function(t){return m.add(n("TimeSlice").guard(t,"ScriptPath.subscribe"))},shutdown:function(){h()}};a.exports=C}),null);
__d("SessionName",["SessionNameConfig"],(function(t,n,r,o,a,i){a.exports={getName:function(){return n("SessionNameConfig").seed}}}),null);
__d("getCrossOriginTransport",["invariant","ExecutionEnvironment","err"],(function(t,n,r,o,a,i,l){var e;function s(){if(!(e||(e=n("ExecutionEnvironment"))).isInBrowser)throw n("err")("getCrossOriginTransport: %s","Cross origin transport unavailable in the server environment.");try{var t=new XMLHttpRequest;return!("withCredentials"in t)&&typeof XDomainRequest!="undefined"&&(t=new XDomainRequest),t}catch(e){throw n("err")("getCrossOriginTransport: %s",e.message)}}s.withCredentials=function(){var e=s();"withCredentials"in e||l(0,5150);var t=e.open;return e.open=function(){t.apply(this,arguments),this.withCredentials=!0},e},a.exports=s}),null);
__d("ZeroRewrites",["URI","ZeroRewriteRules","getCrossOriginTransport","getSameOriginTransport","isFacebookURI"],(function(t,n,r,o,a,i){var e,l={rewriteURI:function(t){if(!n("isFacebookURI")(t)||l._isWhitelisted(t))return t;var e=l._getRewrittenSubdomain(t);return e!=null&&(t=t.setSubdomain(e)),t},getTransportBuilderForURI:function(t){return l.isRewritten(t)?n("getCrossOriginTransport").withCredentials:n("getSameOriginTransport")},isRewriteSafe:function(r){if(Object.keys(n("ZeroRewriteRules").rewrite_rules).length===0||!n("isFacebookURI")(r))return!1;var t=l._getCurrentURI().getDomain(),o=new(e||(e=n("URI")))(r).qualify().getDomain();return t===o||l.isRewritten(r)},isRewritten:function(t){if(t=t.getQualifiedURI(),Object.keys(n("ZeroRewriteRules").rewrite_rules).length===0||!n("isFacebookURI")(t)||l._isWhitelisted(t))return!1;var e=t.getSubdomain(),r=l._getCurrentURI(),o=l._getRewrittenSubdomain(r);return t.getDomain()!==r.getDomain()&&e===o},_isWhitelisted:function(t){var e=t.getPath();return e.endsWith("/")||(e+="/"),n("ZeroRewriteRules").whitelist&&n("ZeroRewriteRules").whitelist[e]===1},_getRewrittenSubdomain:function(t){var e=t.getQualifiedURI().getSubdomain();return n("ZeroRewriteRules").rewrite_rules[e]},_getCurrentURI:function(){return new(e||(e=n("URI")))("/").qualify()}};a.exports=l}),null);
__d("bind",[],(function(t,n,r,o,a,i){function e(e,t){var n=Array.prototype.slice.call(arguments,2);if(typeof t!="string")return Function.prototype.bind.apply(t,[e].concat(n));function r(){var r=n.concat(Array.prototype.slice.call(arguments));if(e[t])return e[t].apply(e,r)}return r.toString=function(){return"bound lazily: "+e[t]},r}a.exports=e}),null);
__d("errorCode",[],(function(t,n,r,o,a,i){"use strict";function e(e){var t=new Error('errorCode("'+e+'"): This should not happen. Oh noes!');throw t.stack,t}i.default=e}),66);
__d("executeAfter",[],(function(t,n,r,o,a,i){function e(e,t,n){return function(){e.apply(n||this,arguments),t.apply(n||this,arguments)}}i.default=e}),66);
__d("FbtErrorListenerWWW",["FBLogger","getErrorSafe"],(function(t,n,r,o,a,i,l){var e=(function(){function e(e){this.$1=e.hash,this.$2=e.translation}var t=e.prototype;return t.onStringSerializationError=function(t){var e,n="Context not logged.",o=(t==null||(e=t.constructor)==null?void 0:e.name)||"";r("FBLogger")("fbt").blameToPreviousDirectory().blameToPreviousDirectory().mustfix('Converting to a string will drop content data. Hash="%s" Translation="%s" Content="%s" (type=%s,%s)',this.$1,this.$2,n,typeof t,o)},t.onStringMethodUsed=function(t){r("FBLogger")("fbt").blameToPreviousDirectory().blameToPreviousDirectory().mustfix("Error using fbt string. Used method %s on Fbt string. Fbt string is designed to be immutable and should not be manipulated.",t)},t.onMissingParameterError=function(t,n){r("FBLogger")("fbt").blameToPreviousDirectory().blameToPreviousDirectory().mustfix('Expected fbt parameter names (%s) to also contain `%s`. Hash="%s" Translation="%s"',t.join(", "),n,this.$1,this.$2)},e})();l.default=e}),98);
__d("FbtReactUtil",[],(function(t,n,r,o,a,i){var e=typeof Symbol=="function"&&Symbol.for&&Symbol.for("react.transitional.element")||60103,l=!1;function s(e){var t={validated:!0};l?Object.defineProperty(e,"_store",{configurable:!1,enumerable:!1,writable:!1,value:t}):e._store=t}i.REACT_ELEMENT_TYPE=e,i.injectReactShim=s}),66);
__d("FbtResult",["FbtReactUtil","FbtResultBase"],(function(t,n,r,o,a,i){var e=function(t){return t.content},l=(function(t){"use strict";function r(r,o){var a;return a=t.call(this,r,o)||this,a.$$typeof=n("FbtReactUtil").REACT_ELEMENT_TYPE,a.key=null,a.ref=null,a.type=e,a.props={content:r},a}return babelHelpers.inheritsLoose(r,t),r.get=function(t){return new r(t.contents,t.errorListener)},r})(n("FbtResultBase"));a.exports=l}),null);
__d("FbtPureStringResult",["FbtResult"],(function(t,n,r,o,a,i){var e=(function(e){"use strict";function t(){return e.apply(this,arguments)||this}return babelHelpers.inheritsLoose(t,e),t})(n("FbtResult")),l=e;a.exports=l}),null);
__d("getFbsResult",["FbtPureStringResult"],(function(t,n,r,o,a,i){function e(e){return new(n("FbtPureStringResult"))(e.contents,e.errorListener)}a.exports=e}),null);
__d("getTranslatedInput",["Env","ExecutionEnvironment","FBLogger","MakeHasteTranslationsMap"],(function(t,n,r,o,a,i,l){var e,s,u="JHASH",c=new RegExp("__"+u+"__(.+?)__"+u+"__"),d=!!(e||(e=r("Env"))).use_fbt_virtual_modules;function m(e){var t=e.table;if(d&&(s||(s=r("ExecutionEnvironment"))).isInBrowser){if(typeof t=="string"){var n=t.match(c);if(n!=null)return p(babelHelpers.extends({},e,{table:o("MakeHasteTranslationsMap").get(n[1])}))}r("FBLogger")("binary_transparency","inlined_translations").warn("Found inlined translated contents in client_fetch_translations experiment! Input: %s",JSON.stringify(t))}return p(e)}function p(e){var t=e.table;return typeof t=="string"&&t[0]==="_"&&t[1]==="j"&&(t[2]==="{"||t[2]==="[")?babelHelpers.extends({},e,{table:JSON.parse(t.substring(2))}):e}l.default=m}),98);
__d("translationOverrideListener",["requireDeferred"],(function(t,n,r,o,a,i,l){"use strict";var e=r("requireDeferred")("IntlQtEventFalcoEvent").__setRef("translationOverrideListener");function s(t){e.onReady(function(e){return e.log(function(){return{hash:t}})})}l.default=s}),98);
__d("FbtEnv",["FbtErrorListenerWWW","FbtHooks","IntlViewerContext","cr:7730","getFbsResult","getTranslatedInput","justknobx","promiseDone","requireDeferred","translationOverrideListener"],(function(t,n,r,o,a,i,l){"use strict";var e,s=r("requireDeferred")("FbtLogging").__setRef("FbtEnv"),u="JHASH",c=new RegExp("__"+u+"__(.+?)__"+u+"__"),d=!1;function m(){d||(d=!0,(e||(e=n("FbtHooks"))).register({errorListener:function(t){return new(r("FbtErrorListenerWWW"))(t)},getFbsResult:r("getFbsResult"),getFbtResult:n("cr:7730"),getTranslatedInput:r("getTranslatedInput"),onTranslationOverride:r("translationOverrideListener"),getViewerContext:function(){return r("IntlViewerContext")},logImpression:function(t,n){return r("promiseDone")(s.load().then(function(e){if(e.logImpression==null||e.logImpression(t),!r("justknobx")._("2269")){var o,a=n==null?void 0:n.inputTable,i=(o=n==null?void 0:n.tokens)!=null?o:[];if(typeof a=="string"){var l=a.match(c);l!=null&&(e.logImpressionV2==null||e.logImpressionV2(l[1],i))}}}))}}))}l.setupOnce=m}),98);
__d("FbtHooksImpl",[],(function(t,n,r,o,a,i){var e={},l={getErrorListener:function(n){return e.errorListener==null?void 0:e.errorListener(n)},logImpression:function(n,r){e.logImpression==null||e.logImpression(n,r)},onTranslationOverride:function(n){e.onTranslationOverride==null||e.onTranslationOverride(n)},getFbsResult:function(n){return e.getFbsResult(n)},getFbtResult:function(n){return e.getFbtResult(n)},getTranslatedInput:function(n){var t;return(t=e.getTranslatedInput==null?void 0:e.getTranslatedInput(n))!=null?t:n},getViewerContext:function(){return e.getViewerContext()},register:function(n){Object.assign(e,n)}};a.exports=l}),null);
__d("FbtHooks",["FbtEnv","FbtHooksImpl"],(function(t,n,r,o,a,i){a.exports=n("FbtHooksImpl"),n("FbtEnv").setupOnce()}),null);
__d("FbtTable",["invariant"],(function(t,n,r,o,a,i,l,s){"use strict";var e={ARG:{INDEX:0,SUBSTITUTION:1},access:function(n,r,o,a){if(o>=r.length)return typeof n=="string"||Array.isArray(n)||s(0,21388,JSON.stringify(n)),n;var t=r[o],i=t[e.ARG.INDEX];if(i==null)return e.access(n,r,o+1,a);typeof n!="string"&&!Array.isArray(n)||s(0,20954,typeof n);for(var l=0;l<i.length;++l){var u=n[i[l]];if(u!=null){a.push(i[l]);var c=e.access(u,r,o+1,a);if(c!=null)return c}}return null}},u=e;l.default=u}),98);
__d("FbtTableAccessor",[],(function(t,n,r,o,a,i){"use strict";var e={getEnumResult:function(t){return[[t],null]},getGenderResult:function(t,n,r){return[t,n]},getNumberResult:function(t,n,r){return[t,n]},getSubstitution:function(t){return[null,t]},getPronounResult:function(t){return[[t,"*"],null]}};a.exports=e}),null);
__d("GenderConst",[],(function(t,n,r,o,a,i){a.exports={FEMALE_PLURAL:8,FEMALE_SINGULAR:1,FEMALE_SINGULAR_GUESS:3,MALE_PLURAL:9,MALE_SINGULAR:2,MALE_SINGULAR_GUESS:4,MIXED_UNKNOWN:5,NEUTER_PLURAL:10,NEUTER_SINGULAR:6,NOT_A_PERSON:0,UNKNOWN_PLURAL:11,UNKNOWN_SINGULAR:7}}),null);
__d("FbtNumberType",["IntlNumberTypeProps"],(function(t,n,r,o,a,i,l){l.default=r("IntlNumberTypeProps").module}),98);
__d("IntlNumberType",["FbtNumberType"],(function(t,n,r,o,a,i,l){var e=function(t){return r("FbtNumberType")};l.get=e}),98);
__d("IntlVariations",[],(function(t,n,r,o,a,i){a.exports={BITMASK_GENDER:3,BITMASK_NUMBER:28,GENDER_FEMALE:2,GENDER_MALE:1,GENDER_UNKNOWN:3,NUMBER_FEW:20,NUMBER_MANY:12,NUMBER_ONE:4,NUMBER_OTHER:24,NUMBER_TWO:8,NUMBER_ZERO:16}}),null);
__d("IntlVariationResolverImpl",["invariant","FbtHooks","IntlNumberType","IntlVariations"],(function(t,n,r,o,a,i,l){var e,s="_1",u={EXACTLY_ONE:s,getNumberVariations:function(r){var t=n("IntlNumberType").get((e||(e=n("FbtHooks"))).getViewerContext().locale).getVariation(r);return t&n("IntlVariations").BITMASK_NUMBER||l(0,11647,t,typeof t),r===1?[s,t,"*"]:[t,"*"]},getGenderVariations:function(t){return t&n("IntlVariations").BITMASK_GENDER||l(0,11648,t,typeof t),[t,"*"]}};a.exports=u}),null);
__d("IntlVariationResolver",["IntlVariationHoldout","IntlVariationResolverImpl"],(function(t,n,r,o,a,i,l){var e={getNumberVariations:function(t){return o("IntlVariationResolverImpl").getNumberVariations(t)},getGenderVariations:function(t){return o("IntlVariationHoldout").disable_variation?["*"]:o("IntlVariationResolverImpl").getGenderVariations(t)}},s=e;l.default=s}),98);
__d("NumberFormatConsts",["NumberFormatConfig"],(function(t,n,r,o,a,i,l){var e={get:function(t){return r("NumberFormatConfig")}},s=e;l.default=s}),98);
__d("escapeRegex",[],(function(t,n,r,o,a,i){"use strict";function e(e){return e.replace(/([.?*+\^$\[\]\\(){}|\-])/g,"\\$1")}a.exports=e}),null);
__d("intlNumUtils",["FbtHooks","NumberFormatConsts","escapeRegex"],(function(t,n,r,o,a,i,l){var e,s=3,u=["грн.","ден.","лв.","ман.","դր.","ج.م.","د.إ.","د.ا.","د.ب.","د.ت.","د.ج.","د.ع.","د.ك.","د.ل.","د.م.","ر.س.","ر.ع.","ر.ق.","ر.ي.","ل.س.","ل.ل.","ރ.","B/.","Bs.","Fr.","kr.","L.","p.","S/."],c={};function d(e){return c[e]||(c[e]=new RegExp(e,"i")),c[e]}var m=d(u.reduce(function(e,t,n){return e+(n?"|":"")+"("+r("escapeRegex")(t)+")"},""));function p(e,t,n,o,a,i,l){n===void 0&&(n=""),o===void 0&&(o=),a===void 0&&(a=0),i===void 0&&(i={primaryGroupSize:s,secondaryGroupSize:s});var u=i.primaryGroupSize||s,c=i.secondaryGroupSize||u,m=l&&l.digits,p;t==null?p=e.toString():typeof e=="string"?p=v(e,t):p=C(e,t);var f=p.split(),g=f[0],h=f[1];if(Math.abs(parseInt(g,10)).toString().length>=a){var y="",b="$1"+n+"$2$3",S="(\\d)(\\d{"+(u-0)+"})($|\\D)";if(y=g.replace(d(S),b),y!=g){g=y;for(var R="(\\d)(\\d{"+(c-0)+"})("+r("escapeRegex")(n)+")",L=d(R);(y=g.replace(L,b))!=g;)g=y}}m!=null&&(g=_(g,m),h=h&&_(h,m));var E=g;return h&&(E+=o+h),E}function _(e,t){for(var n="",r=0;r<e.length;++r){var o=t[e.charCodeAt(r)-48];n+=o!==void 0?o:e[r]}return n}function f(t,n){var o=r("NumberFormatConsts").get((e||(e=r("FbtHooks"))).getViewerContext().locale);return o==null?String(t):p(t,n,"",o.decimalSeparator,o.minDigitsForThousandsSeparator,o.standardDecimalPatternInfo,o.numberingSystemData)}function g(t,n){var o=r("NumberFormatConsts").get((e||(e=r("FbtHooks"))).getViewerContext().locale);return o==null?String(t):p(t,n,o.numberDelimiter,o.decimalSeparator,o.minDigitsForThousandsSeparator,o.standardDecimalPatternInfo,o.numberingSystemData)}function h(e){return e&&Math.floor(Math.log10(Math.abs(e)))}function y(e,t,n){var r=h(e),o=e;r<n&&(o=e*Math.pow(10,-r+n));var a=Math.pow(10,h(o)-n+1),i=Math.round(o/a)*a;return r<n&&(i/=Math.pow(10,-r+n),t==null)?g(i,n-r-1):g(i,t)}function C(e,t){var n=t==null?0:t,r=Math.pow(10,n),o=(Math.round(e*r)/r).toString();if(!n||o.indexOf("e-")!==-1)return o;var a=o.indexOf(),i=0;a===-1?(o+=,i=n):i=n-(o.length-a-1);for(var l=0,s=i;l<s;l++)o+="0";return o}var b=function(t,n){for(var e=t,r=0;r<n;r++)e+="0";return e};function v(e,t){var n=e.indexOf(),r=n===-1?e:e.slice(0,n),o=n===-1?"":e.slice(n+1);return t!=null?r++b(o.slice(0,t),t-o.length):r}function S(e,t,n){n===void 0&&(n="");var o=L(),a=e;o&&(a=e.split("").map(function(e){return o[e]||e}).join("").trim()),a=a.replace(/^[^\d]*\-/,""),a=a.replace(m,"");var i=r("escapeRegex")(t),l=r("escapeRegex")(n),s=d("^[^\\d]*\\d.*"+i+".*\\d[^\\d]*$");if(!s.test(a)){var u=d("(^[^\\d]*)"+i+"(\\d*[^\\d]*$)");if(u.test(a))return a=a.replace(u,"$1$2"),R(a);var c=d("^[^\\d]*[\\d "+r("escapeRegex")(l)+"]*[^\\d]*$");return c.test(a)||(a=""),R(a)}var p=d("(^[^\\d]*[\\d "+l+"]*)"+i+"(\\d*[^\\d]*$)");return a=p.test(a)?a.replace(p,"$1$2"):"",R(a)}function R(e){var t=e.replace(/[^0-9]/g,"").replace("",).replace("","-"),n=Number(t);return t===""||isNaN(n)?null:n}function L(){var t=r("NumberFormatConsts").get((e||(e=r("FbtHooks"))).getViewerContext().locale);if(t==null)return null;var n={},o=t.numberingSystemData&&t.numberingSystemData.digits;if(o==null)return null;for(var a=0;a<o.length;a++)n[o.charAt(a)]=a.toString();return n}function E(t){var n=r("NumberFormatConsts").get((e||(e=r("FbtHooks"))).getViewerContext().locale);return n==null?null:S(t,n.decimalSeparator||,n.numberDelimiter)}var k={formatNumber:f,formatNumberRaw:p,formatNumberWithThousandDelimiters:g,formatNumberWithLimitedSigFig:y,parseNumber:E,parseNumberRaw:S,truncateLongNumber:v,getFloatString:function(t,n,r){var e=String(t),o=e.split(),a=k.getIntegerString(o[0],n);return o.length===1?a:a+r+o[1]},getIntegerString:function(t,n){var e=n;e===""&&(e=",");for(var r=String(t),o=/(\d+)(\d{3})/;o.test(r);)r=r.replace(o,"$1"+e+"$2");return r}};i.exports=k}),34);
__d("IntlPhonologicalRewrites",["IntlPhonologicalRules"],(function(t,n,r,o,a,i){"use strict";var e={get:function(t){return n("IntlPhonologicalRules")}};a.exports=e}),null);
__d("IntlRedundantStops",[],(function(t,n,r,o,a,i){var e=Object.freeze({equivalencies:{:["।","။","。"],"…":["ฯ","ຯ","᠁"],"!":["!"],"?":["?"]},redundancies:{"?":["?",,"!","…"],"!":["!","?",],:[,"!"],"…":["…",,"!"]}});i.default=e}),66);
__d("IntlPunctuation",["FbtHooks","IntlPhonologicalRewrites","IntlRedundantStops"],(function(t,n,r,o,a,i,l){var e,s="[.!?。!?।…ຯ᠁ฯ.]",u={};function c(e){var t=e!=null?e:"",n=u[t];return n==null&&(n=u[t]=d(e)),n}function d(e){var t=[],n=r("IntlPhonologicalRewrites").get(e);for(var o in n.patterns){var a=n.patterns[o];for(var i in n.meta){var l=new RegExp(i.slice(1,-1),"g"),s=n.meta[i];o=o.replace(l,s),a=a.replace(l,s)}a==="javascript"&&(a=function(t){return t.slice(1).toLowerCase()}),t.push([new RegExp(o.slice(1,-1),"g"),a])}return t}function m(t){for(var n=c((e||(e=r("FbtHooks"))).getViewerContext().locale),o=t,a=0;a<n.length;a++){var i=n[a],l=i[0],s=i[1];o=o.replace(l,s)}return o.replace(//g,"")}var p=new Map;for(var _ in r("IntlRedundantStops").equivalencies)for(var f of[_].concat(r("IntlRedundantStops").equivalencies[_]))p.set(f,_);var g=new Map;for(var h in r("IntlRedundantStops").redundancies)g.set(h,new Set(r("IntlRedundantStops").redundancies[h]));function y(e,t){var n,r=p.get(e),o=p.get(t);return((n=g.get(r))==null?void 0:n.has(o))===!0}function C(e,t){return y(e[e.length-1],t)?"":t}l.PUNCT_CHAR_CLASS=s,l.applyPhonologicalRules=m,l.dedupeStops=C}),98);
__d("substituteTokens",["invariant","IntlPunctuation"],(function(t,n,r,o,a,i,l,s){var e=Object.prototype.hasOwnProperty,u=new RegExp("\\{([^}]+)\\}("+o("IntlPunctuation").PUNCT_CHAR_CLASS+"*)","g");function c(e){return e}function d(t,n,r){if(n==null)return t;typeof n=="object"||s(0,6041,t);var a=[],i=[],l=t.replace(u,function(t,l,s){e.call(n,l)||r==null||r.onMissingParameterError==null||r.onMissingParameterError(Object.keys(n),l);var u=n[l];return u!=null&&typeof u=="object"?(a.push(u),i.push(l),""+s):u==null?"":String(u)+o("IntlPunctuation").dedupeStops(String(u),s)}).split("").map(o("IntlPunctuation").applyPhonologicalRules);if(l.length===1)return l[0];for(var d=l[0]!==""?[l[0]]:[],m=0;m<a.length;m++)d.push(a[m]),l[m+1]!==""&&d.push(l[m+1]);return d}i.exports=d}),34);
__d("fbt",["invariant","FbtEnv","FbtHooks","FbtQTOverrides","FbtResultBase","FbtTable","FbtTableAccessor","GenderConst","IntlVariationResolver","intlNumUtils","substituteTokens"],(function(t,n,r,o,a,i,l,s){var e;o("FbtEnv").setupOnce();var u=Object.prototype.hasOwnProperty,c=!1,d={number:0,gender:1},m={object:0,possessive:1,reflexive:2,subject:3},p={};function _(t,n,a){if(((a==null?void 0:a.hk)!=null&&(a==null?void 0:a.hk)!==""||(a==null?void 0:a.ehk)!=null)&&c)return{text:t,fbt:!0,hashKey:a.hk};var i=(e||(e=r("FbtHooks"))).getTranslatedInput({table:t,args:n,options:a}),l=i.args,u=i.table,d={};if(u.__vcg!=null){l=l||[];var m=(e||(e=r("FbtHooks"))).getViewerContext(),p=m.GENDER,_=r("IntlVariationResolver").getGenderVariations(p);l.unshift(o("FbtTableAccessor").getGenderResult(_,null,p))}var h=[];l&&(typeof u!="string"&&(u=r("FbtTable").access(u,l,0,h)),d=f(l),u!==null||s(0,479));var y,C;if(Array.isArray(u)){y=u[0],C=u[1];var b="1_"+C;r("FbtQTOverrides").overrides[b]!=null&&r("FbtQTOverrides").overrides[b]!==""&&(y=r("FbtQTOverrides").overrides[b],(e||(e=r("FbtHooks"))).onTranslationOverride(C));var v={inputTable:t,tokens:h};(e||(e=r("FbtHooks"))).logImpression(C,v)}else if(typeof u=="string")y=u;else{var S=new Error("Table access did not result in string: "+(u===void 0?"undefined":JSON.stringify(u))+", Type: "+typeof u);throw S.stack,S}var R=this.cachedResults[y],L=g(d);if(R&&!L)return R;var E=r("substituteTokens")(y,d,(e||(e=r("FbtHooks"))).getErrorListener==null?void 0:(e||(e=r("FbtHooks"))).getErrorListener({translation:y,hash:C})),k=this._wrapContent(E,y,C,a==null?void 0:a.eo);return L||(this.cachedResults[y]=k),k}function f(e){var t={};return e.forEach(function(e){var n=e[r("FbtTable").ARG.SUBSTITUTION];if(n)for(var o in n)u.call(n,o)&&(t[o]==null||s(0,56656,o),t[o]=n[o])}),t}function g(e){for(var t in e)return!0;return!1}function h(e,t){return o("FbtTableAccessor").getEnumResult(e)}function y(e){return o("FbtTableAccessor").getGenderResult(r("IntlVariationResolver").getGenderVariations(e),null,e)}function C(e,t,n){var a,i=(a={},a[e]=t,a);if(n)if(n[0]===d.number){var l=n.length>1?n[1]:t;typeof l=="number"||s(0,484);var u=r("IntlVariationResolver").getNumberVariations(l);return typeof t=="number"&&(i[e]=r("intlNumUtils").formatNumberWithThousandDelimiters(t)),o("FbtTableAccessor").getNumberResult(u,i,l)}else if(n[0]===d.gender){var c=n[1];return c!=null||s(0,485),o("FbtTableAccessor").getGenderResult(r("IntlVariationResolver").getGenderVariations(c),i,c)}else s(0,486);else return o("FbtTableAccessor").getSubstitution(i)}function b(e,t,n){return this._param(e,t,n)}function v(e,t,n){var a=r("IntlVariationResolver").getNumberVariations(e),i={};return t!=null&&t!==""&&(typeof n=="number"?i[t]=r("intlNumUtils").formatNumberWithThousandDelimiters(n):i[t]=n!=null?n:r("intlNumUtils").formatNumberWithThousandDelimiters(e)),o("FbtTableAccessor").getNumberResult(a,i,e)}function S(e,t,n){t!==r("GenderConst").NOT_A_PERSON||!n||!n.human||s(0,11835);var a=R(e,t);return o("FbtTableAccessor").getPronounResult(a)}function R(e,t){switch(t){case r("GenderConst").NOT_A_PERSON:return e===m.object||e===m.reflexive?r("GenderConst").NOT_A_PERSON:r("GenderConst").UNKNOWN_PLURAL;case r("GenderConst").FEMALE_SINGULAR:case r("GenderConst").FEMALE_SINGULAR_GUESS:return r("GenderConst").FEMALE_SINGULAR;case r("GenderConst").MALE_SINGULAR:case r("GenderConst").MALE_SINGULAR_GUESS:return r("GenderConst").MALE_SINGULAR;case r("GenderConst").MIXED_UNKNOWN:case r("GenderConst").FEMALE_PLURAL:case r("GenderConst").MALE_PLURAL:case r("GenderConst").NEUTER_PLURAL:case r("GenderConst").UNKNOWN_PLURAL:return r("GenderConst").UNKNOWN_PLURAL;case r("GenderConst").NEUTER_SINGULAR:case r("GenderConst").UNKNOWN_SINGULAR:return e===m.reflexive?r("GenderConst").NOT_A_PERSON:r("GenderConst").UNKNOWN_PLURAL}return r("GenderConst").NOT_A_PERSON}function L(e,t,n){var a=r("IntlVariationResolver").getGenderVariations(n),i={};return i[e]=t,o("FbtTableAccessor").getGenderResult(a,i,n)}function E(t,n,o,a){var i=typeof t=="string"?[t]:t,l=(e||(e=r("FbtHooks"))).getErrorListener({translation:n,hash:o}),s=e.getFbtResult({contents:i,errorListener:l,extraOptions:a,patternHash:o,patternString:n});return s}function k(){c=!0}function I(){c=!1}function T(e){return e instanceof r("FbtResultBase")}var D=function(){};D._=_,D._enum=h,D._implicitParam=b,D._name=L,D._param=C,D._plural=v,D._pronoun=S,D._subject=y,D._wrapContent=E,D.disableJsonExportMode=I,D.enableJsonExportMode=k,D.isFbtInstance=T,D.cachedResults=p,D._getCachedFbt=void 0;var x=D,$=x;l.default=$}),98);
__d("BDHeaderConfig",[],(function(t,n,r,o,a,i){"use strict";var e="359341";i.ASBD_ID=e}),66);
__d("getAsyncHeaders",["BDHeaderConfig","LSD","ZeroCategoryHeader","isFacebookURI","requireWeak"],(function(t,n,r,o,a,i,l){function e(e){var t={},n=r("isFacebookURI")(e);n&&r("ZeroCategoryHeader").value&&(t[r("ZeroCategoryHeader").header]=r("ZeroCategoryHeader").value);var o=s(e);o&&(t["X-FB-LSD"]=o);var a=u(e);return a&&(t["X-ASBD-ID"]=a),r("requireWeak")("MessengerPWAVersionForUserAgent",function(n){var r=n();r!=null&&!c(e)&&(t["x-fb-pwa"]=""+r)}),t}function s(e){return c(e)?null:r("LSD").token}function u(e){return c(e)?null:o("BDHeaderConfig").ASBD_ID}function c(e){var t,n,r,o=(t=(n=d())==null||(n=n.location)==null?void 0:n.origin)!=null?t:(r=window)==null||(r=r.location)==null?void 0:r.origin;return o==null?!0:!e.toString().startsWith("/")&&e.getOrigin()!==o}function d(){return typeof document!="undefined"?document:null}l.default=e}),98);
__d("isAIDemosDotMetaDotComURI",[],(function(t,n,r,o,a,i){var e=new RegExp("(^|\\.)aidemos\\.meta\\.com$","i"),l=["https"];function s(t){return t.isEmpty()&&t.toString()!=="#"||!t.getDomain()&&!t.getProtocol()?!1:l.indexOf(t.getProtocol())!==-1&&e.test(t.getDomain())}i.default=s}),66);
__d("isArDotMetaDotComURI",[],(function(t,n,r,o,a,i){var e=new RegExp("(^|\\.)ar\\.meta\\.com$","i"),l=["https"];function s(t){return t.isEmpty()&&t.toString()!=="#"||!t.getDomain()&&!t.getProtocol()?!1:l.indexOf(t.getProtocol())!==-1&&e.test(t.getDomain())}i.default=s}),66);
__d("isBugBountyDotMetaDotComURI",[],(function(t,n,r,o,a,i){var e=new RegExp("(^|\\.)bugbounty\\.meta\\.com$","i"),l=["https"];function s(t){return t.isEmpty()&&t.toString()!=="#"||!t.getDomain()&&!t.getProtocol()?!1:l.indexOf(t.getProtocol())!==-1&&e.test(t.getDomain())}i.default=s}),66);
__d("isDevelopersDotMetaDotComURI",[],(function(t,n,r,o,a,i){var e=new RegExp("(^|\\.)developers\\.meta\\.com$","i"),l=["https"];function s(t){return t.isEmpty()&&t.toString()!=="#"||!t.getDomain()&&!t.getProtocol()?!1:l.indexOf(t.getProtocol())!==-1&&e.test(t.getDomain())}i.default=s}),66);
__d("isHorizonDotMetaDotComURI",[],(function(t,n,r,o,a,i){var e=new RegExp("(^|\\.)horizon\\.meta\\.com$","i"),l=["https"];function s(t){return t.isEmpty()&&t.toString()!=="#"||!t.getDomain()&&!t.getProtocol()?!1:l.indexOf(t.getProtocol())!==-1&&e.test(t.getDomain())}i.default=s}),66);
__d("isInternalFBURI",[],(function(t,n,r,o,a,i){var e=new RegExp("(^|\\.)internalfb\\.com$","i");function l(t){return e.test(t.getDomain())}i.default=l}),66);
__d("isSparkDotMetaDotComURI",[],(function(t,n,r,o,a,i){var e=new RegExp("(^|\\.)spark\\.meta\\.com$","i"),l=["https"];function s(t){return t.isEmpty()&&t.toString()!=="#"||!t.getDomain()&&!t.getProtocol()?!1:l.indexOf(t.getProtocol())!==-1&&e.test(t.getDomain())}i.default=s}),66);
__d("isWearablesDotDeveloperDotMetaDotComURI",[],(function(t,n,r,o,a,i){var e=new RegExp("(^|\\.)wearables?(\\.[^.]+)*\\.developer\\.meta\\.com$","i"),l=["https"];function s(t){return t.isEmpty()&&t.toString()!=="#"||!t.getDomain()&&!t.getProtocol()?!1:l.indexOf(t.getProtocol())!==-1&&e.test(t.getDomain())}i.default=s}),66);
__d("isWorkDotMetaDotComURI",[],(function(t,n,r,o,a,i){var e=new RegExp("(^|\\.)work\\.meta\\.com$","i"),l=["https"];function s(t){return t.isEmpty()&&t.toString()!=="#"||!t.getDomain()&&!t.getProtocol()?!1:l.indexOf(t.getProtocol())!==-1&&e.test(t.getDomain())}i.default=s}),66);
__d("isWorkroomsDotComURI",[],(function(t,n,r,o,a,i){var e=new RegExp("(^|\\.)workrooms\\.com$","i"),l=["https"];function s(t){return t.isEmpty()&&t.toString()!=="#"||!t.getDomain()&&!t.getProtocol()?!1:l.indexOf(t.getProtocol())!==-1&&e.test(t.getDomain())}i.default=s}),66);
__d("uriIsRelativePath",[],(function(t,n,r,o,a,i){"use strict";function e(e){return!e.getProtocol()&&!e.getDomain()&&!e.getPort()&&e.toString()!==""}i.default=e}),66);
__d("AsyncRequest",["errorCode","fbt","invariant","AdsManagerConstURIUtils","Arbiter","AsyncDOM","AsyncRequestConfig","AsyncResponse","Bootloader","CSS","DTSG","DTSG_ASYNC","Deferred","Env","ErrorGuard","Event","FBLogger","FetchStreamTransport","HTTPErrors","HasteResponse","PHPQuerySerializer","Parent","Promise","ResourceTimingsStore","ResourceTypes","Run","ScriptPath","ServerJS","SessionName","TimeSlice","URI","UserAgent_DEPRECATED","ZeroRewrites","bind","clearTimeout","emptyFunction","err","executeAfter","fb-error","ge","getAsyncHeaders","getAsyncParams","getErrorSafe","gkx","goURI","isAIDemosDotMetaDotComURI","isArDotMetaDotComURI","isBugBountyDotMetaDotComURI","isDevelopersDotMetaDotComURI","isEmpty","isFacebookURI","isHorizonDotMetaDotComURI","isInternalFBURI","isMessengerDotComURI","isSparkDotMetaDotComURI","isWearablesDotDeveloperDotMetaDotComURI","isWorkDotMetaDotComURI","isWorkplaceDotComURI","isWorkroomsDotComURI","performanceAbsoluteNow","promiseDone","replaceTransportMarkers","setTimeout","setTimeoutAcrossTransitions","uriIsRelativePath"],(function(t,n,r,o,a,i,l,s,u,c){"use strict";var e,d,m,p,_,f,g,h=19e3,y=500,C=1006,b=1004,v=1010,S=new Set([y,v,b,C]),R=!1,L=o("Run").onAfterUnload(function(){R=!0});function E(){return R}function k(e){return"onprogress"in e}function I(e){return"upload"in e&&"onprogress"in e.upload}function T(e){return"withCredentials"in e}function D(e){return e.status in{0:1,12029:1,12030:1,12031:1,12152:1}}function x(e){var t=!e||typeof e=="function";return t||r("FBLogger")("asyncresponse").mustfix("AsyncRequest response handlers must be functions. Pass a function, or use bind() to build one."),t}var $=2,P=$,N=!1;r("Arbiter").subscribe("page_transition",function(e,t){N?N=!1:P=t.id});var M="for (;;);",w=M.length,A=(function(){function t(e){var n=this,a;this._allowIrrelevantRequests=!1,this._delayPreDisplayJS=!1,this._shouldReplaceTransportMarkers=!1,this._dispatchErrorResponse=function(e,t){var o=e.getError();if(n.clearStatusIndicator(),!n._isRelevant()||o===v){n.id,n.abort();return}if(n._isServerDialogErrorCode(o)){var a=o==1357008||o==1357007;n.interceptHandler(e),o==1357007?n._displayServerDialog(e,a,!0):n._displayServerDialog(e,a)}else if(n.initialHandler(e)!==!1){r("clearTimeout")(n.timer);try{t(e)}catch(t){throw n.finallyHandler(e),t}n.finallyHandler(e)}},this._onStateChange=function(){var e=n.transport;if(e)try{t._inflightCount--,o("ResourceTimingsStore").measureResponseReceived(r("ResourceTypes").XHR,n.resourceTimingStoreUID);try{e.getResponseHeader("X-FB-Debug")&&(n._xFbServer=e.getResponseHeader("X-FB-Debug"),r("fb-error").ErrorXFBDebug.add(n._xFbServer))}catch(e){}if(e.status>=200&&e.status<300)t.lastSuccessTime=Date.now(),n._handleXHRResponse(e);else if(o("UserAgent_DEPRECATED").webkit()&&typeof e.status=="undefined")n._invokeErrorHandler(1002);else if(r("AsyncRequestConfig").retryOnNetworkError&&D(e)&&n.remainingRetries>0&&!n._requestTimeout){n.remainingRetries--,delete n.transport,n.send(!0);return}else n._invokeErrorHandler();n.getOption("asynchronous_DEPRECATED")!==!1&&delete n.transport}catch(e){if(E())return;if(delete n.transport,n.remainingRetries>0)n.remainingRetries--,n.send(!0);else{if(!n.getOption("suppressErrorAlerts")){var a=r("getErrorSafe")(e);r("FBLogger")("AsyncRequest").catching(a).mustfix("AsyncRequest exception when attempting to handle a state change")}n._invokeErrorHandler(1007)}}},this._handleTimeout=function(){n.continuation.last(function(){n._requestTimeout=!0;var e=n.timeoutHandler;n.abandon(),e&&e(n),r("setTimeout")(function(){r("Arbiter").inform("AsyncRequest/timeout",{request:n})},0)})},this.continuation=r("TimeSlice").getPlaceholderReusableContinuation(),this.transport=null,this.method="POST",this.uri="",this.timeout=null,this.timer=null,this.initialHandler=a=r("emptyFunction"),this.handler=null,this.uploadProgressHandler=null,this.errorHandler=r("AsyncResponse").defaultErrorHandler,this.transportErrorHandler=null,this.timeoutHandler=null,this.interceptHandler=a,this.finallyHandler=a,this.abortHandler=a,this.serverDialogCancelHandler=null,this.relativeTo=null,this.statusElement=null,this.statusClass="",this.data={},this.headers={},this.file=null,this.context={},this.readOnly=!1,this.writeRequiredParams=[],this.remainingRetries=0,this.userActionID="-",this.resourceTimingStoreUID=o("ResourceTimingsStore").getUID(r("ResourceTypes").XHR,e!=null?e.toString():""),this.flushedResponseTextParseIndex=0,this.option={asynchronous_DEPRECATED:!0,suppressErrorHandlerWarning:!1,suppressEvaluation:!1,suppressErrorAlerts:!1,retries:0,bundle:!1,handleErrorAfterUnload:!1,useFetchTransport:!1},this.transportErrorHandler=r("bind")(this,"errorHandler"),e!==void 0&&this.setURI(e),this.setAllowCrossPageTransition(r("AsyncRequestConfig").asyncRequestsSurviveTransitionsDefault||!1)}var a=t.prototype;return a._dispatchResponse=function(t){if(this.clearStatusIndicator(),!this._isRelevant()){this._invokeErrorHandler(v);return}if(this.initialHandler(t)!==!1){r("clearTimeout")(this.timer);var e,n=this.getHandler();try{e=this._shouldSuppressJS(n(t))}catch(e){throw t.is_last&&this.finallyHandler(t),e}e||this._handleJSResponse(t),t.is_last&&this.finallyHandler(t)}},a._shouldSuppressJS=function(n){return n===t.suppressOnloadToken},a._handlePreDisplayServerJS=function(t,n){var e=!1,o=[],a=function(){if(e)return r("FBLogger")("AsyncResponse").warn("registerToBlockDisplayUntilDone_DONOTUSE called after AsyncResponse display started. This is a no-op."),function(){};var t,n=new(r("Deferred"));return o.push(n.getPromise()),r("TimeSlice").guard(function(){t&&r("clearTimeout")(t),n.resolve()},"AsyncRequestDisplayBlockingEvent",{propagationType:r("TimeSlice").PropagationType.EXECUTION})};return t.handle(n,{bigPipeContext:{registerToBlockDisplayUntilDone_DONOTUSE:a}}),e=!0,o},a._hasEvalDomOp=function(t){return t&&t.length?t.some(function(e){return e[0]==="eval"}):!1},a._handleJSResponse=function(t){var e=this.getRelativeTo(),n=t.domops,a=t.dtsgToken,i=t.dtsgAsyncGetToken,l=t.jsmods,s,u=t.savedServerJSInstance;if(u&&u instanceof r("ServerJS")?s=u:s=new(r("ServerJS")),s.setRelativeTo(e),l){var c={define:l.define,instances:l.instances,markup:l.markup};delete l.define,delete l.instances,delete l.markup,this._hasEvalDomOp(n)&&(c.elements=l.elements,delete l.elements),s.handle(c)}var d=new(m||(m=r("URI")))(this.uri);(!d.getDomain()&&!d.getProtocol()||document.location.origin===d.getOrigin())&&(a&&o("DTSG").setToken(a),i&&o("DTSG_ASYNC").setToken(i)),n&&(g||(g=r("ErrorGuard"))).applyWithGuard(function(){return o("AsyncDOM").invoke(n,e)},null,[],{errorType:"warn"}),l&&s.handle(l),this._handleJSRegisters(t,"onload"),this._handleJSRegisters(t,"onafterload")},a._handleJSRegisters=function(t,n){var e=t[n];if(e)for(var o=0;o<e.length;o++){var a=null,i=e[o],l=i.match(/^\"caller:([^\"]+?)\";(.*)/);l!=null&&(a=l[1],i=l[2]),(g||(g=r("ErrorGuard"))).applyWithGuard(new Function(i),this,[]),r("FBLogger")("comet_infra").info("Detected dynamic new Function(...) call in AsyncRequest._handleJSRegisters(...).",new(m||(m=r("URI")))(this.uri).getPath(),a)}},a.invokeResponseHandler=function(t){var e=this;if(typeof t.redirect!="undefined"){r("setTimeout")(function(){e.setURI(t.redirect,!0).send()},0);return}if(t.bootloadOnly!==void 0){var a=typeof t.bootloadOnly=="string"?JSON.parse(t.bootloadOnly):t.bootloadOnly,i=function(t){r("TimeSlice").guard(function(){r("Bootloader").loadPredictedResourceMap(t)},"Bootloader.loadPredictedResourceMap",{root:!0})()};for(var l of a)i(l);return}if(!(!this.handler&&!this.errorHandler&&!this.transportErrorHandler&&!this.preBootloadHandler&&this.initialHandler===r("emptyFunction")&&this.finallyHandler===r("emptyFunction"))){var s=t.asyncResponse;if(typeof s!="undefined"){var u,c;if(!this._isRelevant()){this._invokeErrorHandler(v);return}s.updateScriptPath&&r("ScriptPath").set(s.updateScriptPath.path,s.updateScriptPath.token,s.updateScriptPath.extra_info),s.lid&&(this._responseTime=Date.now(),this.lid=s.lid),o("HasteResponse").handleSRPayload((u=s.hsrp)!=null?u:{});var m,_;if(s.getError()&&!s.getErrorIsWarning()){var f=this.getErrorHandler().bind(this);m=(g||(g=r("ErrorGuard"))).guard(this._dispatchErrorResponse,{name:"AsyncRequest#_dispatchErrorResponse for "+this.getURI()}),m=m.bind(this,s,f),_="error"}else{m=(g||(g=r("ErrorGuard"))).guard(this._dispatchResponse.bind(this),{name:"AsyncRequest#_dispatchResponse for "+this.getURI()}),m=m.bind(this,s),_="response";var h=s.domops;if(!this._delayPreDisplayJS&&s.jsmods&&s.jsmods.pre_display_requires&&!this._hasEvalDomOp(h)){var y=s.jsmods,C={define:y.define,instances:y.instances,markup:y.markup};delete y.define,delete y.instances,delete y.markup,C.pre_display_requires=y.pre_display_requires,delete y.pre_display_requires;var b=new(r("ServerJS"));b.setRelativeTo(this.getRelativeTo()),s.savedServerJSInstance=b;var S=this._handlePreDisplayServerJS(b,C);if(S&&S.length){var R=m;m=function(){r("promiseDone")((d||(d=n("Promise"))).all(S).then(R))}}}}var L=(p||(p=r("performanceAbsoluteNow")))();m=r("executeAfter")(m,function(){r("Arbiter").inform("AsyncRequest/"+_,{request:e,response:s,ts:L})}),this.preBootloadHandler&&this.preBootloadHandler(s),r("Bootloader").loadResources((c=s.allResources)!=null?c:[],{onAll:r("AsyncRequestConfig").immediateDispatch?m:function(){r("setTimeout")(m,0)}})}else typeof t.transportError!="undefined"?this._xFbServer?this._invokeErrorHandler(1008):this._invokeErrorHandler(1012):this._invokeErrorHandler(1007)}},a._invokeErrorHandler=function(t){var e=this,n=this.transport;if(n){var o;if(this.responseText==="")o=1002;else if(this._requestAborted)o=1011;else{try{o=t||n.status||b}catch(e){o=1005}navigator.onLine===!1&&(o=C)}var a,i,l=!0;if(o===C)i=u._("No Network Connection"),a=u._("Your browser appears to be offline. Please check your internet connection and try again.");else if(o>=300&&o<=399){i=u._("Redirection"),a=u._("Your access to Facebook was redirected or blocked by a third party at this time, please contact your ISP or reload.");var s=n.getResponseHeader("Location");s&&r("goURI")(s,!0),l=!0}else i=u._("Oops"),a=u._("Something went wrong. We're working on getting this fixed as soon as we can. You may be able to try again.");var c=new(r("AsyncResponse"))(this,n),d=n.getResponseHeader("Error-Mid");if(Object.assign(c,{error:o,errorSummary:i,errorDescription:a,silentError:l,errorMid:d}),r("setTimeout")(function(){r("Arbiter").inform("AsyncRequest/error",{request:e,response:c})},0),!(E()&&!this.getOption("handleErrorAfterUnload"))){var m=r("FBLogger")("asyncresponse");if(d!=null&&(m=m.addMetadata("OPES","MID",d)),!this.transportErrorHandler){m.mustfix("Async request to %s failed with a %d error, but there was no error handler available to deal with it.",this.getURI(),o);return}var p=this.getTransportErrorHandler().bind(this);this.getOption("suppressErrorAlerts")||S.has(o)?S.has(o)&&m.addToCategoryKey(String(o)).warn("Async request failed with error %s: %s when requesting %s",o,a.toString(),this.getURI()):m.addToCategoryKey(String(o)).mustfix("Async request failed with error %s: %s when requesting %s",o,a.toString(),this.getURI()),(g||(g=r("ErrorGuard"))).applyWithGuard(this._dispatchErrorResponse,this,[c,p])}}},a._isServerDialogErrorCode=function(t){return t==1357008||t==1357007||t==1357041||t==1442002||t==1357001},a._displayServerDialog=function(t,n,o){var e=this;o===void 0&&(o=!1);var a=t.getPayload();if(a.__dialog!==void 0){this._displayServerLegacyDialog(t,n);return}var i=a.__dialogx;if(new(r("ServerJS"))().handle(i),a.__should_use_mwa_reauth===!0){r("Bootloader").loadModules(["MWADeveloperReauthBarrier"],function(n){n.registerRequest(a.__dialogID,e,t)},"AsyncRequest");return}r("Bootloader").loadModules(["ConfirmationDialog"],function(n){n.setupConfirmation(t,e,o)},"AsyncRequest")},a._displayServerLegacyDialog=function(t,n){var e=this,o=t.getPayload().__dialog;if(r("gkx")("20935")){var a,i;r("FBLogger")("comet_infra").addMetadata("COMET_INFRA","ERROR_CODE",t.getError().toString()).addMetadata("COMET_INFRA","ERROR_URL",(a=(i=t.request)==null?void 0:i.getURI())!=null?a:"unknown").mustfix("AsyncRequest._displayServerLegacyDialog called in Comet")}r("Bootloader").loadModules(["Dialog"],function(r){var a=new r(o);n&&a.setHandler(e._displayConfirmationHandler.bind(e,a)),a.setCancelHandler(function(){var n=e.getServerDialogCancelHandler();try{n&&n(t)}catch(e){throw e}finally{e.finallyHandler(t)}}).setCausalElement(e.relativeTo).show()},"AsyncRequest")},a._displayConfirmationHandler=function(t){this.data.confirmed=1,Object.assign(this.data,t.getFormData()),this.send()},a.$1=function(t){t.subscribe("response",this._handleJSONPResponse.bind(this)),t.subscribe("abort",this._handleJSONPAbort.bind(this)),this.transport=t},a._handleJSONPResponse=function(t,n){var e=this.transport;if(e){n.bootloadOnly||(this.is_first=this.is_first===void 0);var r=this._interpretResponse(n);r.asyncResponse&&(r.asyncResponse.is_first=this.is_first,r.asyncResponse.is_last=e.hasFinished()),this.invokeResponseHandler(r),e.hasFinished()&&delete this.transport}},a._handleJSONPAbort=function(){this._invokeErrorHandler(),delete this.transport},a._handleXHRResponse=function(t){var e;if(this.getOption("suppressEvaluation"))e={asyncResponse:new(r("AsyncResponse"))(this,t)};else try{this._handleFlushedResponse();var n=t.responseText;n=this._filterOutFlushedText(n);var o=this._unshieldResponseText(n),a=JSON.parse(o);e=this._interpretResponse(a)}catch(t){var i=r("getErrorSafe")(t);e=i.message,r("FBLogger")("async_request").catching(i).warn("Failed to handle response")}this.invokeResponseHandler(e)},a._handleFlushedResponse=function(){var e=this.flushedResponseHandler,t=this.transport;if(e&&t){var n=t.responseText.indexOf(M),r=n===-1?t.responseText.length:n;e(t.responseText.substring(this.flushedResponseTextParseIndex,r)),this.flushedResponseTextParseIndex=r}},a._unshieldResponseText=function(t){if(t.length<=w){var e=new Error("Response too short on async");throw e.stack,e}for(var n=0;t.charAt(n)===" "||t.charAt(n)==="\n";)n++;return n&&t.substring(n,n+w)==M&&this.getURI(),t.substring(n+w)},a._filterOutFlushedText=function(t){if(!this.flushedResponseHandler)return t;var e=t.indexOf(M);return e<0?t:t.substr(e)},a._interpretResponse=function(t){if(t.redirect)return{redirect:t.redirect};if(t.bootloadOnly)return{bootloadOnly:t.bootloadOnly};var e=t.error&&this._isServerDialogErrorCode(t.error);this._shouldReplaceTransportMarkers&&t.payload&&!e&&r("replaceTransportMarkers")({relativeTo:this.getRelativeTo(),bigPipeContext:null},t.payload);var n=new(r("AsyncResponse"))(this);if(t.__ar!=1)r("FBLogger")("AsyncRequest").warn("AsyncRequest to endpoint %s returned a JSON response, but it is not properly formatted. The endpoint needs to provide a response using the AsyncResponse class in PHP.",this.getURI()),n.payload=t;else{Object.assign(n,t);var o=this.transport;o&&o.getAllResponseHeaders!==void 0&&(n.responseHeaders=o.getAllResponseHeaders())}return{asyncResponse:n}},a._isMultiplexable=function(){return this.getOption("useFetchTransport")?(r("FBLogger")("AsyncRequest").mustfix("You cannot bundle AsyncRequest that uses iframe transport."),!1):r("isFacebookURI")(new(m||(m=r("URI")))(this.uri))?this.getOption("asynchronous_DEPRECATED")?!0:(r("FBLogger")("AsyncRequest").mustfix("We cannot bundle synchronous AsyncRequests"),!1):(r("FBLogger")("AsyncRequest").mustfix("You can not bundle AsyncRequest sent to non-facebook URIs.  Uri: %s",this.getURI()),!1)},a.handleResponse=function(t){var e=this._interpretResponse(t);this.invokeResponseHandler(e)},a.setMethod=function(t){return this.method=t.toString().toUpperCase(),this},a.getMethod=function(){return this.method},a.setData=function(t){return this.data=t,this},a.setRequestHeader=function(t,n){return this.headers[t]=n,this},a.setRawData=function(t){return this.rawData=t,this},a.getData=function(){return this.data},a.setContextData=function(t,n,r){return r=r===void 0?!0:r,r&&(this.context["_log_"+t]=n),this},a._setUserActionID=function(){this.userActionID=(o("SessionName").getName()||"-")+"/-"},a.setURI=function(t,n){n===void 0&&(n=!1),typeof t=="string"&&t.match(/^\/?u_\d+_\d+/)&&r("FBLogger")("asyncrequest").warn("Invalid URI %s",t);var e=new(m||(m=r("URI")))(t);return this.getOption("useFetchTransport")&&!r("isFacebookURI")(e)?(!n||c(0,45284),this):!this._allowCrossOrigin&&!this.getOption("useFetchTransport")&&!e.isSameOrigin()&&!r("uriIsRelativePath")(e)?(e.toString(),!n||c(0,45285),this):(this._setUserActionID(),!t||e.isEmpty()?(r("FBLogger")("async_request").mustfix("URI cannot be empty"),this):(this.uri=o("ZeroRewrites").rewriteURI(e),this))},a.getURI=function(){return this.uri.toString()},a.delayPreDisplayJS=function(t){return t===void 0&&(t=!0),this._delayPreDisplayJS=t,this},a.setInitialHandler=function(t){return this.initialHandler=t,this},a.setPayloadHandler=function(t){return this.setHandler(function(e){t(e.payload)}),this},a.setHandler=function(t){return x(t)&&(this.handler=t),this},a.setFlushedResponseHandler=function(t){return x(t)&&(this.flushedResponseHandler=t),this},a.getHandler=function(){return this.handler||r("emptyFunction")},a.setProgressHandler=function(t){return x(t)&&(this.progressHandler=t),this},a.setUploadProgressHandler=function(t){return x(t)&&(this.uploadProgressHandler=t),this},a.setErrorHandler=function(t){return x(t)&&(this.errorHandler=t),this},a.setTransportErrorHandler=function(t){return this.transportErrorHandler=t,this},a.getErrorHandler=function(){return this.errorHandler||r("emptyFunction")},a.getTransportErrorHandler=function(){return this.transportErrorHandler||r("emptyFunction")},a.setTimeoutHandler=function(t,n){return x(n)&&(this.timeout=t,this.timeoutHandler=n),this},a.resetTimeout=function(t){if(this.timeoutHandler!==null)if(t===null)this.timeout=null,r("clearTimeout")(this.timer),this.timer=null;else{var e=!this._allowCrossPageTransition;this.timeout=t,r("clearTimeout")(this.timer),e?this.timer=r("setTimeout")(this._handleTimeout.bind(this),this.timeout):this.timer=r("setTimeoutAcrossTransitions")(this._handleTimeout.bind(this),this.timeout)}return this},a.setNewSerial=function(){return this.id=++$,this},a.setInterceptHandler=function(t){return this.interceptHandler=t,this},a.setFinallyHandler=function(t){return this.finallyHandler=t,this},a.setAbortHandler=function(t){return this.abortHandler=t,this},a.getServerDialogCancelHandler=function(){return this.serverDialogCancelHandler},a.setServerDialogCancelHandler=function(t){return this.serverDialogCancelHandler=t,this},a.setPreBootloadHandler=function(t){return this.preBootloadHandler=t,this},a.setReadOnly=function(t){return typeof t!="boolean"||(this.readOnly=t),this},a.getReadOnly=function(){return this.readOnly},a.setRelativeTo=function(t){return this.relativeTo=t,this},a.getRelativeTo=function(){return this.relativeTo},a.setStatusClass=function(t){return this.statusClass=t,this},a.setStatusElement=function(t){return this.statusElement=t,this},a.getStatusElement=function(){return r("ge")(this.statusElement)},a._isRelevant=function(){return this._allowCrossPageTransition||!this.id?!0:this.id>P},a.clearStatusIndicator=function(){var e=this.getStatusElement();e&&(o("CSS").removeClass(e,"async_saving"),o("CSS").removeClass(e,this.statusClass))},a._addStatusIndicator=function(){var e=this.getStatusElement();e&&(o("CSS").addClass(e,"async_saving"),o("CSS").addClass(e,this.statusClass))},a.specifiesWriteRequiredParams=function(){var e=this;return this.writeRequiredParams.every(function(t){return e.data[t]=e.data[t]||(_||(_=r("Env")))[t]||(r("ge")(t)||{}).value,e.data[t]!==void 0})},a.setOption=function(t,n){return typeof this.option[t]!="undefined"&&(this.option[t]=n),this},a.getOption=function(t){return this.option[t],this.option[t]},a.abort=function(){var e=this;this.continuation.last(function(){var t=e.transport;if(t){var n=e.getTransportErrorHandler();e.setOption("suppressErrorAlerts",!0),e.setTransportErrorHandler(r("emptyFunction")),e._requestAborted=!0,t.abort(),e.setTransportErrorHandler(n)}e.abortHandler(),B.unschedule(e)})},a.abandon=function(){var e=this;this.continuation.last(function(){var t;r("clearTimeout")(e.timer),e.setOption("suppressErrorAlerts",!0).setHandler(t=r("emptyFunction")).setErrorHandler(t).setTransportErrorHandler(t).setProgressHandler(t).setUploadProgressHandler(t);var n=e.transport;n&&(e._requestAborted=!0,k(n)&&delete n.onprogress,I(n)&&delete n.upload.onprogress,n.abort()),e.abortHandler(),B.unschedule(e)})},a.setNectarModuleDataSafe=function(t){var e=this.setNectarModuleData;return e!=null&&e.call(this,t),this},a.setAllowCrossPageTransition=function(t){return this._allowCrossPageTransition=!!t,this.timer&&this.resetTimeout(this.timeout),this},a.getAllowIrrelevantRequests=function(){return this._allowIrrelevantRequests},a.setAllowIrrelevantRequests=function(t){return this._allowIrrelevantRequests=t,this},a.setAllowCrossOrigin=function(t){return this._allowCrossOrigin=t,this},a.setAllowCredentials=function(t){return this._allowCredentials=t,this},a.setIsBackgroundRequest=function(t){return this._isBackgroundRequest=t,this},a.setReplaceTransportMarkers=function(t){return t===void 0&&(t=!0),this._shouldReplaceTransportMarkers=t,this},a.sendAndReturnAbortHandler=function(){var e=this;return this.send(),function(){return e.abort()}},a.send=function(a){var n=this;if(a=a||!1,!this.uri||(!this.errorHandler&&this.getOption("suppressErrorHandlerWarning"),this.getOption("useFetchTransport")&&this.method!="GET"&&this.setMethod("GET"),this.timeoutHandler!==null&&this.getOption("useFetchTransport"),!this.getReadOnly()&&(this.specifiesWriteRequiredParams(),this.method!="POST"))||document.location.search.toString().includes(this.uri.toString())||this.uri.toString().includes("/../")||this.uri.toString().includes("\\../")||this.uri.toString().includes("/..\\")||this.uri.toString().includes("\\..\\"))return!1;if(Object.assign(this.data,r("getAsyncParams")(this.method)),(f||(f=r("isEmpty")))(this.context)||(Object.assign(this.data,this.context),this.data.ajax_log=1),(_||(_=r("Env"))).force_param&&Object.assign(this.data,(_||(_=r("Env"))).force_param),this._setUserActionID(),this.getOption("bundle")&&this._isMultiplexable())return B.schedule(this),!0;this.setNewSerial(),this.getOption("asynchronous_DEPRECATED")||this.uri.addQueryData({__sjax:1}),r("Arbiter").inform("AsyncRequest/send",{request:this,ts:(p||(p=r("performanceAbsoluteNow")))()});var i,l;if(this.method=="GET"&&this.uri.addQueryData({fb_dtsg_ag:o("DTSG_ASYNC").getToken()}),o("AdsManagerConstURIUtils").shouldRouteToAMReadRegions(this.uri.toString())&&this.getReadOnly()&&this.method.toLowerCase()==="get"?this.uri.addQueryData({ads_manager_read_regions:!0}):o("AdsManagerConstURIUtils").shouldRouteToAMWriteRegions(this.uri.toString(),this.getReadOnly())&&this.uri.addQueryData({ads_manager_write_regions:!0}),this.method=="GET"||this.rawData?(i=this.uri.addQueryData(this.data).toString(),l=this.rawData||""):(this._allowCrossOrigin&&this.uri.addQueryData({__a:1}),i=this.uri.toString(),l=(e||(e=o("PHPQuerySerializer"))).serialize(this.data)),this.transport)return!1;if(this.getOption("useFetchTransport"))try{var s=new(r("FetchStreamTransport"))(this.uri);return this.$1(s),this._markRequestSent(),s.send(),!0}catch(e){this.setOption("useFetchTransport",!1)}this.flushedResponseHandler&&(this.flushedResponseTextParseIndex=0);var u;try{u=o("ZeroRewrites").getTransportBuilderForURI(this.uri)()}catch(e){var c=r("FBLogger")("comet_infra").blameToPreviousFrame();throw e instanceof Error?c.catching(e).mustfixThrow(e.message):c.mustfixThrow("Error getting transport builder for URI")}if(!u)return!1;this.schedule("AsyncRequest.send"),u.onreadystatechange=function(){var e=n.transport;e&&e.readyState>=2&&e.readyState<=3&&n._handleFlushedResponse(),u.readyState===4&&n.continuation.last(n._onStateChange)},this.progressHandler&&k(u)&&(u.onprogress=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];n.continuation(function(){n.progressHandler&&n.progressHandler.apply(n,t)})}),this.uploadProgressHandler&&I(u)&&(u.upload.onprogress=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];n.continuation(function(){n.uploadProgressHandler&&n.uploadProgressHandler.apply(n,t)})}),a||(this.remainingRetries=this.getOption("retries")),this.transport=u;try{u.open(this.method,i,this.getOption("asynchronous_DEPRECATED"))}catch(e){return!1}if(!this.uri.isSameOrigin()&&!r("uriIsRelativePath")(this.uri)&&!this.getOption("useFetchTransport")){if(!T(u))return this.uri.toString(),!1;this._canSendCredentials()&&(u.withCredentials=!0)}this.method=="POST"&&!this.rawData&&u.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),this._isBackgroundRequest&&u.setRequestHeader("X-FB-BACKGROUND-STATE","1");var d=r("getAsyncHeaders")(this.uri);if(Object.keys(d).forEach(function(e){u&&u.setRequestHeader(e,d[e])}),r("Arbiter").inform("AsyncRequest/will_send",{request:this}),u)for(var m in this.headers)Object.prototype.hasOwnProperty.call(this.headers,m)&&u.setRequestHeader(m,this.headers[m]);return this._addStatusIndicator(),this._markRequestSent(),u.send(l),this.timeout!==null&&this.resetTimeout(this.timeout),t._inflightCount++,!0},a.schedule=function(t){this.continuation=r("TimeSlice").getReusableContinuation(t)},a._canSendCredentials=function(){if(this._allowCredentials===!1)return!1;var e=new(m||(m=r("URI")))(this.uri);return r("isFacebookURI")(e)||r("isInternalFBURI")(e)||r("isMessengerDotComURI")(e)||r("isWorkplaceDotComURI")(e)||r("isWorkroomsDotComURI")(e)||r("isWorkDotMetaDotComURI")(e)||r("isHorizonDotMetaDotComURI")(e)||r("isSparkDotMetaDotComURI")(e)||r("isWearablesDotDeveloperDotMetaDotComURI")(e)||r("isDevelopersDotMetaDotComURI")(e)||r("isArDotMetaDotComURI")(e)||r("isAIDemosDotMetaDotComURI")(e)||r("isBugBountyDotMetaDotComURI")(e)},a._markRequestSent=function(){var e=new(m||(m=r("URI")))(this.getURI()).getQualifiedURI().toString();o("ResourceTimingsStore").updateURI(r("ResourceTypes").XHR,this.resourceTimingStoreUID,e),o("ResourceTimingsStore").annotate(r("ResourceTypes").XHR,this.resourceTimingStoreUID).addStringAnnotation("uri",e),o("ResourceTimingsStore").measureRequestSent(r("ResourceTypes").XHR,this.resourceTimingStoreUID)},a.promisePayload=function(t){return this.exec().then(function(e){return e.payload},function(e){throw e.toError()})},a.exec=function(t){var e=this;if(this.getHandler()!==r("emptyFunction")||this.getErrorHandler()!==r("AsyncResponse").defaultErrorHandler){var o=new Error("exec is an async function and does not allow previously set handlers");throw o.stack,o}return new(d||(d=n("Promise")))(function(n,r){e.setHandler(n).setErrorHandler(r).send(t)})},t.bootstrap=function(n,a,i){var e="GET",l=!0,s={};(i||a&&a.rel=="async-post")&&(e="POST",l=!1,n&&(n=new(m||(m=r("URI")))(n),s=n.getQueryData(),n.setQueryData({})));var u=o("Parent").byClass(a,"stat_elem")||a;if(u&&o("CSS").hasClass(u,"async_saving"))return!1;var c=new t(n).setReadOnly(l).setMethod(e).setData(s).setNectarModuleDataSafe(a).setRelativeTo(a);if(a&&(c.setHandler(function(e){r("Event").fire(a,"success",{response:e})}),c.setErrorHandler(function(e){r("Event").fire(a,"error",{response:e})!==!1&&r("AsyncResponse").defaultErrorHandler(e)})),u instanceof HTMLElement){c.setStatusElement(u);var d=u.getAttribute("data-status-class");d&&c.setStatusClass(d)}return c.send(),!1},t.bootstrap_UNSAFE_LET_ANYONE_IMPERSONATE_THE_USER_FOR_THESE_WRITES=function(n,r,o){t.bootstrap(n,r,o)},t.post=function(n,r){return new t(n).setReadOnly(!1).setMethod("POST").setData(r).send(),!1},t.post_UNSAFE_LET_ANYONE_IMPERSONATE_THE_USER_FOR_THESE_WRITES=function(n,r){t.post(n,r)},t.getLastID=function(){return $},t.ignoreUpdate=function(){N=!0},t.getInflightCount=function(){return this._inflightCount},t})();A._inflightCount=0;var F,O=[],B=(function(){function t(){this._requests=[]}var n=t.prototype;return n.add=function(t){this._requests.push(t)},n.remove=function(t){for(var e=this._requests,n=this._requestsSent,r=0,o=e.length;r<o;r++)e[r]===t&&(n?e[r]=null:e.splice(r,1))},n.send=function(){!this._requestsSent||c(0,4390),this._requestsSent=!0,this._wrapperRequest=null;var t=this._requests;if(t.length){var n;if(t.length===1)n=t[0];else{var r=t.filter(Boolean).map(function(t){return[t.uri.getPath(),(e||(e=o("PHPQuerySerializer"))).serialize(t.data)]});n=this._wrapperRequest=new A("/ajax/proxy.php").setAllowCrossPageTransition(!0).setData({data:r}).setHandler(this._handler.bind(this)).setTransportErrorHandler(this._transportErrorHandler.bind(this))}n&&n.setOption("bundle",!1).send()}},n._handler=function(t){var e=this,n=t.getPayload().responses;if(n.length===this._requests.length){for(var r=function(r){var t=e._requests[r];if(!t)return 0;var o=t.uri.getPath();if(e._wrapperRequest&&(t.id=e._wrapperRequest.id),n[r][0]!==o)return t.continuation.last(function(){t.invokeResponseHandler({transportError:"Wrong response order in bundled request to "+o})}),0;t.continuation.last(function(){t.handleResponse(n[r][1])})},o,a=0;a<this._requests.length;a++)o=r(a);O.splice(O.indexOf(this,1))}},n._transportErrorHandler=function(t){var e=this,n={transportError:t.errorDescription},r=this._requests.filter(Boolean).map(function(t){return e._wrapperRequest&&(t.id=e._wrapperRequest.id),t.invokeResponseHandler(n),t.uri.getPath()});""+r.join(", ")},t.schedule=function(n){return n.schedule("AsyncMultiplex.schedule"),F||(F=new t,O.push(F),r("TimeSlice").guard(function(){r("setTimeoutAcrossTransitions")(function(){F&&(F.send(),F=null)},0)},"AsyncMultiplex.schedule",{propagationType:r("TimeSlice").PropagationType.ORPHAN})()),F.add(n),F},t.unschedule=function(t){O.forEach(function(e){e.remove(t)})},t})();A.suppressOnloadToken={},t.AsyncRequest=A,l.default=A}),226);
__d("Banzai",["cr:7383"],(function(t,n,r,o,a,i,l){l.default=n("cr:7383")}),98);
__d("BasicVector",[],(function(t,n,r,o,a,i){var e=(function(){function e(e,t){this.x=e,this.y=t}var t=e.prototype;return t.derive=function(n,r){return new e(n,r)},t.toString=function(){return"("+this.x+", "+this.y+")"},t.add=function(t,n){n===void 0&&(n=t.y,t=t.x);var e=parseFloat(t),r=parseFloat(n);return this.derive(this.x+e,this.y+r)},t.mul=function(t,n){return n===void 0&&(n=t),this.derive(this.x*t,this.y*n)},t.div=function(t,n){return n===void 0&&(n=t),this.derive(this.x*1/t,this.y*1/n)},t.sub=function(t,n){return arguments.length===1?this.add(t.mul(-1)):this.add(-t,-n)},t.distanceTo=function(t){return this.sub(t).magnitude()},t.magnitude=function(){return Math.sqrt(this.x*this.x+this.y*this.y)},t.rotate=function(t){return this.derive(this.x*Math.cos(t)-this.y*Math.sin(t),this.x*Math.sin(t)+this.y*Math.cos(t))},e})();i.default=e}),66);
__d("CSTXCookieRecordConsentControllerRouteBuilder",["jsRouteBuilder"],(function(t,n,r,o,a,i,l){var e=r("jsRouteBuilder")("/cookie/consent/",Object.freeze({}),void 0),s=e;l.default=s}),98);
__d("CookieConsentType",["$InternalEnum"],(function(t,n,r,o,a,i){var e=n("$InternalEnum")({WWW_COOKIES:1,THIRD_PARTY_CODE:2}),l=e;i.default=l}),66);
__d("normalizeBoundingClientRect",[],(function(t,n,r,o,a,i){"use strict";function e(e,t){var n=e.ownerDocument.documentElement,r=n?n.clientLeft:0,o=n?n.clientTop:0,a=Math.round(t.left)-r,i=Math.round(t.right)-r,l=Math.round(t.top)-o,s=Math.round(t.bottom)-o;return{left:a,right:i,top:l,bottom:s,width:i-a,height:s-l}}i.default=e}),66);
__d("getElementRect",["containsNode","normalizeBoundingClientRect"],(function(t,n,r,o,a,i,l){function e(e){var t,n=e==null||(t=e.ownerDocument)==null?void 0:t.documentElement;return!e||!("getBoundingClientRect"in e)||!r("containsNode")(n,e)?{left:0,right:0,top:0,bottom:0,width:0,height:0}:r("normalizeBoundingClientRect")(e,e.getBoundingClientRect())}l.default=e}),98);
__d("getElementPosition",["getElementRect"],(function(t,n,r,o,a,i,l){function e(e){var t=r("getElementRect")(e);return{x:t.left,y:t.top,width:t.right-t.left,height:t.bottom-t.top}}l.default=e}),98);
__d("getUnboundedScrollPosition",["Scroll"],(function(t,n,r,o,a,i){"use strict";function e(e){if(e===window){var t,r;return{x:(t=window.pageXOffset)!=null?t:n("Scroll").getLeft(document.documentElement),y:(r=window.pageYOffset)!=null?r:n("Scroll").getTop(document.documentElement)}}return{x:n("Scroll").getLeft(e),y:n("Scroll").getTop(e)}}a.exports=e}),null);
__d("getViewportDimensions",["UserAgent"],(function(t,n,r,o,a,i,l){"use strict";var e=(function(){var e=null;return function(){var t=document.body;return t==null?null:((e==null||!t.contains(e))&&(e=document.createElement("div"),e.style.left=Number.MAX_SAFE_INTEGER+"px",e.style.width="100%",e.style.height="100%",e.style.position="fixed",t.appendChild(e)),e)}})();function s(){var e;return document.documentElement&&(e=document.documentElement.clientWidth),e==null&&document.body&&(e=document.body.clientWidth),e||0}function u(){var e;return document.documentElement&&(e=document.documentElement.clientHeight),e==null&&document.body&&(e=document.body.clientHeight),e||0}function c(){return{width:window.innerWidth||s(),height:window.innerHeight||u()}}c.withoutScrollbars=function(){return r("UserAgent").isPlatform("Android")?c():{width:s(),height:u()}},c.layout=function(){var t,n,r=e();return{width:(t=r==null?void 0:r.clientWidth)!=null?t:s(),height:(n=r==null?void 0:r.clientHeight)!=null?n:u()}},l.default=c}),98);
__d("DOMVector",["BasicVector","FBLogger","getDocumentScrollElement","getElementPosition","getUnboundedScrollPosition","getViewportDimensions"],(function(t,n,r,o,a,i,l){var e=(function(e){function t(t,n,r){var o;return o=e.call(this,t,n)||this,o.domain=r||"pure",o}babelHelpers.inheritsLoose(t,e);var n=t.prototype;return n.derive=function(n,r,o){return new t(n,r,o||this.domain)},n.add=function(r,o){return r instanceof t&&r.getDomain()!=="pure"&&(r=r.convertTo(this.domain)),e.prototype.add.call(this,r,o)},n.convertTo=function(n){if(n!="pure"&&n!="viewport"&&n!="document")return r("FBLogger")("DOMVector").mustfix("Domain %s is invalid; valid coordinate domains are pure, viewport, and document.",n),this.derive(0,0);if(n==this.domain)return this.derive(this.x,this.y,this.domain);if(n=="pure")return this.derive(this.x,this.y);if(this.domain=="pure")return r("FBLogger")("DOMVector").mustfix("Unable to covert a pure vector to %s coordinates; a pure vector is abstract and does not exist in any document coordinate system. If you need to hack around this, create the vector explicitly in some document coordinate domain, by passing a third argument to the constructor. But you probably don't, and are just using the class wrong. Stop doing that.",n),this.derive(0,0);var e=t.getScrollPosition("document"),o=this.x,a=this.y;return this.domain=="document"?(o-=e.x,a-=e.y):(o+=e.x,a+=e.y),this.derive(o,a,n)},n.getDomain=function(){return this.domain},t.from=function(n,r,o){return new t(n,r,o)},t.getScrollPosition=function(t){t=t||"document";var e=r("getUnboundedScrollPosition")(window);return this.from(e.x,e.y,"document").convertTo(t)},t.getElementPosition=function(t,n){n=n||"document";var e=r("getElementPosition")(t);return this.from(e.x,e.y,"viewport").convertTo(n)},t.getElementDimensions=function(t){return this.from(t.offsetWidth||0,t.offsetHeight||0)},t.getViewportDimensions=function(){var e=r("getViewportDimensions")();return this.from(e.width,e.height,"viewport")},t.getLayoutViewportDimensions=function(){var e=r("getViewportDimensions").layout();return this.from(e.width,e.height,"viewport")},t.getViewportWithoutScrollbarDimensions=function(){var e=r("getViewportDimensions").withoutScrollbars();return this.from(e.width,e.height,"viewport")},t.getDocumentDimensions=function(t){var e=r("getDocumentScrollElement")(t);return this.from(e.scrollWidth,e.scrollHeight,"document")},t})(r("BasicVector"));l.default=e}),98);
__d("MaybeSymbol",[],(function(t,n,r,o,a,i){"use strict";var e=t.Symbol?t.Symbol:null,l=e;i.default=l}),66);
__d("URLSearchParams",["MaybeSymbol"],(function(t,n,r,o,a,i,l){function e(e){throw new TypeError('"'+e+'" is read-only')}var s=/\+/g,u=/[!\'()*]/g,c=/%20/g,d=r("MaybeSymbol")?r("MaybeSymbol").iterator:null;function m(e){return encodeURIComponent(e).replace(c,"+").replace(u,function(e){return"%"+e.charCodeAt(0).toString(16)})}function p(e){return decodeURIComponent(e!=null?e:"").replace(s," ")}function _(e){var t=e.slice(0),n={next:function(){var e=t.length,n=t.shift();return{done:n===void 0&&e<=0,value:n}}};return d&&(n[d]=function(){return n}),n}var f=(function(){function e(e){e===void 0&&(e="");var t=e;t[0]==="?"&&(t=t.substr(1)),this.$1=t.length?t.split("&").map(function(e){var t=e.split("="),n=t[0],r=t[1];return[p(n),p(r)]}):[]}var t=e.prototype;return t.append=function(t,n){this.$1.push([t,String(n)])},t.delete=function(t){for(var e=0;e<this.$1.length;e++)this.$1[e][0]===t&&(this.$1.splice(e,1),e--)},t.entries=function(){if(d)return this.$1[d]();var e=this.$1.slice(0);return _(e)},t.get=function(t){for(var e=0,n=this.$1.length;e<n;e++)if(this.$1[e][0]===t)return this.$1[e][1];return null},t.getAll=function(t){for(var e=[],n=0,r=this.$1.length;n<r;n++)this.$1[n][0]===t&&e.push(this.$1[n][1]);return e},t.has=function(t){for(var e=0,n=this.$1.length;e<n;e++)if(this.$1[e][0]===t)return!0;return!1},t.keys=function(){var e=this.$1.map(function(e){var t=e[0],n=e[1];return t});return d?e[d]():_(e)},t.set=function(t,n){for(var e=!1,r=0;r<this.$1.length;r++)this.$1[r][0]===t&&(e?(this.$1.splice(r,1),r--):(this.$1[r][1]=String(n),e=!0));e||this.$1.push([t,String(n)])},t.toString=function(){return this.$1.map(function(e){var t=e[0],n=e[1];return m(t)+"="+m(n)}).join("&")},t.values=function(){var e=this.$1.map(function(e){var t=e[0],n=e[1];return n});return d?e[d]():_(e)},t[d]=function(){return this.entries()},e})();l.default=f}),98);
__d("DeferredCookie",["CSTXCookieRecordConsentControllerRouteBuilder","Cookie","CookieConsent","FBLogger","SubscriptionList","URLSearchParams","cr:1083116","cr:3376","flattenPHPQueryData","gkx","nullthrows","promiseDone"],(function(t,n,r,o,a,i,l){"use strict";var e,s=new Map,u=!1,c=new Map,d=new Map,m={addToQueue:function(n,o,a,i,l,u,c,d){if((e||(e=r("CookieConsent"))).hasFirstPartyConsent()){l?r("Cookie").setWithoutChecksIfFirstPartyContext(n,o,a,i,c,d):r("Cookie").setWithoutChecks(n,o,a,i,c,d);return}s.has(n)||s.set(n,{name:n,value:o,nMilliSecs:a,path:i,firstPartyOnly:l,secure:c,domain:d})},getIsDeferredCookieInQueue:function(t){return s.has(t)},flushAllCookiesWithoutRecordingConsentDONOTCALLBEFORECONSENT:function(){s.forEach(function(e,t){e.firstPartyOnly?r("Cookie").setWithoutChecksIfFirstPartyContext(e.name,e.value,e.nMilliSecs,e.path,e.secure,e.domain):r("Cookie").setWithoutChecks(e.name,e.value,e.nMilliSecs,e.path,e.secure,e.domain)}),s.clear(),(e||(e=r("CookieConsent"))).setConsented();for(var t of c)t[1].fireCallbacks();for(var n of d)(e||(e=r("CookieConsent"))).hasIndividualThirdPartyIntegrationConsent(n[0])&&n[1].fireCallbacks()},flushAllCookiesINTERNALONLY:function(t,o,a,i,l,s,c){t===void 0&&(t=!1),a===void 0&&(a=!1),i===void 0&&(i=!1),s===void 0&&(s=!1),m.flushAllCookiesWithoutRecordingConsentDONOTCALLBEFORECONSENT();var e=null,d={accept_only_essential:i,opted_in_controls:l,consent_to_everything:s};o!=null&&(e=Object.fromEntries(o),d={optouts:e,accept_only_essential:i,opted_in_controls:l,consent_to_everything:s});var p=r("flattenPHPQueryData")(d);if(!u){var _=r("CSTXCookieRecordConsentControllerRouteBuilder").buildUri({}),f=new(r("URLSearchParams"))(location.search).get("ig_3p_controls");if(f==="on"){var g=_.addQueryParam("ig_3p_controls","on");_=g!=null?g:_}u=!0;var h=function(){if(c&&c(),t&&location.reload(),a){var e=document.getElementsByTagName("iframe");e.length>0&&location.reload()}};n("cr:3376")!=null?r("promiseDone")(n("cr:3376")(_.toString(),{data:p,method:"POST"}),function(){return h()},function(e){r("gkx")("20935")&&r("FBLogger")("comet_infra").mustfix("Cookie consent has not been set successfully: %s",e.errorMsg)}):n("cr:1083116")!=null&&new(n("cr:1083116"))(_.toString()).setData(p).setHandler(function(){return h()}).send()}},registerCallbackOnFirstPartyCookieFlush:function(n){(e||(e=r("CookieConsent"))).hasFirstPartyConsent()?n():(c.has(1)||c.set(1,new(r("SubscriptionList"))),r("nullthrows")(c.get(1)).add(n))},registerCallbackOnCookieFlushWithIntegrations:function(n,o){var t=(e||(e=r("CookieConsent"))).hasThirdPartyConsent([n]);t.get(n)===!0?o():(d.has(n)||d.set(n,new(r("SubscriptionList"))),r("nullthrows")(d.get(n)).add(o))}},p=m;l.default=p}),98);
__d("EventListener",["cr:5695"],(function(t,n,r,o,a,i,l){"use strict";l.default=n("cr:5695")}),98);
__d("IGXAboutDestinationCMSIDControllerRouteBuilder",["jsRouteBuilder"],(function(t,n,r,o,a,i,l){var e=r("jsRouteBuilder")("/about/async/destinationcmsid/",Object.freeze({}),void 0),s=e;l.default=s}),98);
__d("XControllerURIBuilder",["invariant","URI","gkx","isInternalFBURI"],(function(t,n,r,o,a,i,l,s){var e,u=(function(){function t(e,t){this.$1={},this.$2=e,this.$3=t}var n=t.prototype;return n.setInt=function(t,n){return this.__setParam(t,"Int",n)},n.setFBID=function(t,n){return this.__setParam(t,"FBID",n)},n.setFloat=function(t,n){return this.__setParam(t,"Float",n)},n.setString=function(t,n){return this.__setParam(t,"String",n)},n.setExists=function(t,n){return n===!1&&(n=void 0),this.__setParam(t,"Exists",n)},n.setBool=function(t,n){return this.__setParam(t,"Bool",n)},n.setBoolVector=function(t,n){return this.__setParam(t,"BoolVector",n)},n.setBoolVec=function(t,n){return this.__setParam(t,"BoolVec",n)},n.setEnum=function(t,n){return this.__setParam(t,"Enum",n)},n.setPath=function(t,n){return this.__setParam(t,"Path",n)},n.setIntVector=function(t,n){return this.__setParam(t,"IntVector",n)},n.setIntVec=function(t,n){return this.__setParam(t,"IntVec",n)},n.setIntKeyset=function(t,n){return this.__setParam(t,"IntKeyset",n)},n.setIntSet=function(t,n){return this.__setParam(t,"IntSet",n.join(","))},n.setFloatVector=function(t,n){return this.__setParam(t,"FloatVector",n)},n.setFloatVec=function(t,n){return this.__setParam(t,"FloatVec",n)},n.setFloatSet=function(t,n){return this.__setParam(t,"FloatSet",n.join(","))},n.setFloatKeyset=function(t,n){return this.__setParam(t,"FloatKeyset",n.join(","))},n.setStringVector=function(t,n){return this.__setParam(t,"StringVector",n)},n.setStringVec=function(t,n){return this.__setParam(t,"StringVec",n)},n.setStringKeyset=function(t,n){return this.__setParam(t,"StringKeyset",n)},n.setStringSet=function(t,n){return this.__setParam(t,"StringSet",n)},n.setFBIDVector=function(t,n){return this.__setParam(t,"FBIDVector",n)},n.setFBIDVec=function(t,n){return this.__setParam(t,"FBIDVec",n)},n.setFBIDSet=function(t,n){return this.__setParam(t,"FBIDSet",n)},n.setFBIDKeyset=function(t,n){return this.__setParam(t,"FBIDKeyset",n)},n.setEnumVector=function(t,n){return this.__setParam(t,"EnumVector",n)},n.setEnumVec=function(t,n){return this.__setParam(t,"EnumVec",n)},n.setEnumSet=function(t,n){return this.__setParam(t,"EnumSet",n)},n.setEnumKeyset=function(t,n){return this.__setParam(t,"EnumKeyset",n)},n.setIntToIntMap=function(t,n){return this.__setParam(t,"IntToIntMap",n)},n.setIntToIntDict=function(t,n){return this.__setParam(t,"IntToIntDict",n)},n.setIntToFloatMap=function(t,n){return this.__setParam(t,"IntToFloatMap",n)},n.setIntToFloatDict=function(t,n){return this.__setParam(t,"IntToFloatDict",n)},n.setIntToStringMap=function(t,n){return this.__setParam(t,"IntToStringMap",n)},n.setIntToStringDict=function(t,n){return this.__setParam(t,"IntToStringDict",n)},n.setIntToBoolMap=function(t,n){return this.__setParam(t,"IntToBoolMap",n)},n.setIntToBoolDict=function(t,n){return this.__setParam(t,"IntToBoolDict",n)},n.setStringToIntMap=function(t,n){return this.__setParam(t,"StringToIntMap",n)},n.setStringToFloatMap=function(t,n){return this.__setParam(t,"StringToFloatMap",n)},n.setStringToStringMap=function(t,n){return this.__setParam(t,"StringToStringMap",n)},n.setStringToNullableStringMap=function(t,n){return this.__setParam(t,"StringToNullableStringMap",n)},n.setStringToBoolMap=function(t,n){return this.__setParam(t,"StringToBoolMap",n)},n.setStringToEnumMap=function(t,n){return this.__setParam(t,"StringToEnumMap",n)},n.setEnumToStringVectorMap=function(t,n){return this.__setParam(t,"EnumToStringVectorMap",n)},n.setEnumToStringVecDict=function(t,n){return this.__setParam(t,"EnumToStringVecDict",n)},n.setEnumToStringMap=function(t,n){return this.__setParam(t,"EnumToStringMap",n)},n.setEnumToBoolMap=function(t,n){return this.__setParam(t,"EnumToBoolMap",n)},n.setEnumToBoolDict=function(t,n){return this.__setParam(t,"EnumToBoolDict",n)},n.setEnumToEnumMap=function(t,n){return this.__setParam(t,"EnumToEnumMap",n)},n.setEnumToEnumDict=function(t,n){return this.__setParam(t,"EnumToEnumDict",n)},n.setEnumToIntMap=function(t,n){return this.__setParam(t,"EnumToIntMap",n)},n.setEnumToEnumToStringVecMapMap=function(t,n){return this.__setParam(t,"EnumToEnumToStringVecMapMap",n)},n.setEnumToFBIDVectorMap=function(t,n){return this.__setParam(t,"EnumToFBIDVectorMap",n)},n.setEnumToFBIDVecDict=function(t,n){return this.__setParam(t,"EnumToFBIDVecDict",n)},n.setStringToIntDict=function(t,n){return this.__setParam(t,"StringToIntDict",n)},n.setStringToNullableIntDict=function(t,n){return this.__setParam(t,"StringToNullableIntDict",n)},n.setStringToFloatDict=function(t,n){return this.__setParam(t,"StringToFloatDict",n)},n.setStringToStringKeysetDict=function(t,n){return this.__setParam(t,"StringToStringKeysetDict",n)},n.setStringToNullableFloatDict=function(t,n){return this.__setParam(t,"StringToNullableFloatDict",n)},n.setStringToStringDict=function(t,n){return this.__setParam(t,"StringToStringDict",n)},n.setStringToNullableStringDict=function(t,n){return this.__setParam(t,"StringToNullableStringDict",n)},n.setStringToBoolDict=function(t,n){return this.__setParam(t,"StringToBoolDict",n)},n.setStringToEnumDict=function(t,n){return this.__setParam(t,"StringToEnumDict",n)},n.setEnumToIntDict=function(t,n){return this.__setParam(t,"EnumToIntDict",n)},n.setEnumToStringDict=function(t,n){return this.__setParam(t,"EnumToStringDict",n)},n.setHackType=function(t,n){return this.__setParam(t,"HackType",n)},n.setTypeAssert=function(t,n){return this.__setParam(t,"TypeAssert",n)},n.__validateRequiredParamsExistence=function(){for(var e in this.$3)!this.$3[e].required||Object.prototype.hasOwnProperty.call(this.$1,e)||s(0,903,e)},n.setParams=function(t){for(var e in t){this.__assertParamExists(e);var n=this.$3[e].type;this.__setParam(e,n,t[e])}return this},n.__assertParamExists=function(t){t in this.$3||s(0,37339,t)},n.__setParam=function(t,n,r){this.__assertParamExists(t);var e=this.$3[t].type,o={StringOrPFBID:"String",IntOrPFBID:"Int",FBIDOrPFBID:"FBID",PaymentLegacyAdAccountID:"Int"},a=o[e];return e===n||a===n||s(0,37340,t,n,e),this.__setParamInt(t,r),this},n.__setParamInt=function(t,n){this.$1[t]=n},n.getRequest_LEGACY_UNTYPED=function(t){return t.setReplaceTransportMarkers().setURI(this.getURI())},n.setPreviousActorIsPageVoice=function(t){return this.__setParamInt("paipv",t?1:0),this},n.getURI=function(){this.__validateRequiredParamsExistence();for(var t={},n="",o=/^(.*)?\{(\?)?(\*)?(.+?)\}(.*)?$/,a=this.$2.split("/"),i=!1,l=0;l<a.length;l++){var u=a[l];if(u!==""){var c=o.exec(u);if(!c)n+="/"+u;else{var d=c[2]==="?",m=c[4],p=this.$3[m];if(p||s(0,11837,m,this.$2),d&&i)continue;if(this.$1[m]==null&&d){i=!0;continue}var _=this.$1[m]!=null?this.$1[m]:p.defaultValue;_!=null||s(0,907,m);var f=c[1]?c[1]:"",g=c[5]?c[5]:"";n+="/"+f+_+g,t[m]=!0}}}this.$2.slice(-1)==="/"&&(n+="/"),n===""&&(n="/");var h=new(e||(e=r("URI")))(n);for(var y in this.$1){var C=this.$1[y];if(!t[y]&&C!=null){var b=this.$3[y];h.addQueryData(y,b&&b.type==="Exists"?null:C)}}return h},n.getLookasideURI=function(){var t="lookaside.facebook.com";return r("isInternalFBURI")((e||(e=r("URI"))).getRequestURI())?t="lookaside.internalfb.com":r("gkx")("21116")&&(t="lookaside.internmc.facebook.com"),this.getURI().setDomain(t).setProtocol("https")},t.create=function(n,r){return function(){return new t(n,r)}},t})();u.prototype.getRequest=function(e){return this.getRequest_LEGACY_UNTYPED(e)},l.default=u}),98);
__d("XRequest",["invariant"],(function(t,n,r,o,a,i,l){var e=function(n,r,o){var t;switch(n){case"Bool":t=r&&r!=="false"&&r!=="0"||!1;break;case"Int":t=r.toString(),/-?\d+/.test(t)||l(0,11839,r);break;case"Float":t=parseFloat(r,10),!isNaN(t)||l(0,11840,r);break;case"FBID":t=r.toString();for(var a=0;a<t.length;++a){var i=t.charCodeAt(a);48<=i&&i<=57||l(0,11841,r)}break;case"String":t=r.toString();break;case"Enum":o===0?t=e("Int",r,null):o===1?t=e("String",r,null):o===2?t=r:l(0,5044,o);break;default:var s,u,c,d;if(s=/^Nullable(\w+)$/.exec(n))r===null?t=null:t=e(s[1],r,o);else if(u=/^(\w+)Vector$/.exec(n)){Array.isArray(r)?t=r:(t=r.toString(),t=t===""?[]:t.split(","));var m=u[1];typeof m=="string"||l(0,5045),t=t.map(function(t){return e(m,t,o&&o.member)})}else if(c=/^(\w+)(Set|Keyset)$/.exec(n))Array.isArray(r)?t=r:(t=r.toString(),t=t===""?[]:t.split(",")),t=t.reduce(function(e,t){return e[t]=t,e},{}),m=c[1],typeof m=="string"||l(0,5045),t=Object.keys(t).map(function(n){return e(m,t[n],o&&o.member)});else if(d=/^(\w+)To(\w+)Map$/.exec(n)){t={};var p=d[1],_=d[2];typeof p=="string"&&typeof _=="string"||l(0,5045),Object.keys(r).forEach(function(n){t[e(p,n,o&&o.key)]=e(_,r[n],o&&o.value)})}else l(0,11842,n)}return t},s=(function(){function t(e,t,n){var r=this;this.$1=t,this.$2=babelHelpers.extends({},n.getQueryData());for(var o=e.split("/").filter(function(e){return e}),a=n.getPath().split("/").filter(function(e){return e}),i,s=0;s<o.length;++s){var u=/^\{(\?)?(\*)?(\w+)\}$/.exec(o[s]);if(!u){o[s]===a[s]||l(0,5047,n.getPath());continue}var c=!!u[1],d=!!u[2];!d||s===o.length-1||l(0,11843,i),i=u[3],Object.prototype.hasOwnProperty.call(this.$1,i)||l(0,11844,i),this.$1[i].required?!c||l(0,5050,i):c||this.$1[i].defaultValue!=null||l(0,5057,i),a[s]&&(this.$2[i]=d?a.slice(s).join("/"):a[s])}Object.keys(this.$1).forEach(function(e){!r.$1[e].required||Object.prototype.hasOwnProperty.call(r.$2,e)||l(0,5051)})}var n=t.prototype;return n.getExists=function(t){return this.$2[t]!==void 0},n.getBool=function(t){return this.$3(t,"Bool")},n.getInt=function(t){return this.$3(t,"Int")},n.getFloat=function(t){return this.$3(t,"Float")},n.getFBID=function(t){return this.$3(t,"FBID")},n.getString=function(t){return this.$3(t,"String")},n.getEnum=function(t){return this.$3(t,"Enum")},n.getOptionalInt=function(t){return this.$4(t,"Int")},n.getOptionalFloat=function(t){return this.$4(t,"Float")},n.getOptionalFBID=function(t){return this.$4(t,"FBID")},n.getOptionalString=function(t){return this.$4(t,"String")},n.getOptionalEnum=function(t){return this.$4(t,"Enum")},n.getIntVector=function(t){return this.$3(t,"IntVector")},n.getFloatVector=function(t){return this.$3(t,"FloatVector")},n.getFBIDVector=function(t){return this.$3(t,"FBIDVector")},n.getStringVector=function(t){return this.$3(t,"StringVector")},n.getEnumVector=function(t){return this.$3(t,"EnumVector")},n.getOptionalIntVector=function(t){return this.$4(t,"IntVector")},n.getOptionalFloatVector=function(t){return this.$4(t,"FloatVector")},n.getOptionalFBIDVector=function(t){return this.$4(t,"FBIDVector")},n.getOptionalStringVector=function(t){return this.$4(t,"StringVector")},n.getOptionalEnumVector=function(t){return this.$4(t,"EnumVector")},n.getIntSet=function(t){return this.$3(t,"IntSet")},n.getFBIDSet=function(t){return this.$3(t,"FBIDSet")},n.getFBIDKeyset=function(t){return this.$3(t,"FBIDKeyset")},n.getStringSet=function(t){return this.$3(t,"StringSet")},n.getEnumKeyset=function(t){return this.$3(t,"EnumKeyset")},n.getOptionalIntSet=function(t){return this.$4(t,"IntSet")},n.getOptionalFBIDSet=function(t){return this.$4(t,"FBIDSet")},n.getOptionalFBIDKeyset=function(t){return this.$4(t,"FBIDKeyset")},n.getOptionalStringSet=function(t){return this.$4(t,"StringSet")},n.getEnumToBoolMap=function(t){return this.$3(t,"EnumToBoolMap")},n.getEnumToEnumMap=function(t){return this.$3(t,"EnumToEnumMap")},n.getEnumToFloatMap=function(t){return this.$3(t,"EnumToFloatMap")},n.getEnumToIntMap=function(t){return this.$3(t,"EnumToIntMap")},n.getEnumToStringMap=function(t){return this.$3(t,"EnumToStringMap")},n.getIntToBoolMap=function(t){return this.$3(t,"IntToBoolMap")},n.getIntToEnumMap=function(t){return this.$3(t,"IntToEnumMap")},n.getIntToFloatMap=function(t){return this.$3(t,"IntToFloatMap")},n.getIntToIntMap=function(t){return this.$3(t,"IntToIntMap")},n.getIntToStringMap=function(t){return this.$3(t,"IntToStringMap")},n.getStringToBoolMap=function(t){return this.$3(t,"StringToBoolMap")},n.getStringToEnumMap=function(t){return this.$3(t,"StringToEnumMap")},n.getStringToFloatMap=function(t){return this.$3(t,"StringToFloatMap")},n.getStringToIntMap=function(t){return this.$3(t,"StringToIntMap")},n.getStringToStringMap=function(t){return this.$3(t,"StringToStringMap")},n.getOptionalEnumToBoolMap=function(t){return this.$4(t,"EnumToBoolMap")},n.getOptionalEnumToEnumMap=function(t){return this.$4(t,"EnumToEnumMap")},n.getOptionalEnumToFloatMap=function(t){return this.$4(t,"EnumToFloatMap")},n.getOptionalEnumToIntMap=function(t){return this.$4(t,"EnumToIntMap")},n.getOptionalEnumToStringMap=function(t){return this.$4(t,"EnumToStringMap")},n.getOptionalIntToBoolMap=function(t){return this.$4(t,"IntToBoolMap")},n.getOptionalIntToEnumMap=function(t){return this.$4(t,"IntToEnumMap")},n.getOptionalIntToFloatMap=function(t){return this.$4(t,"IntToFloatMap")},n.getOptionalIntToIntMap=function(t){return this.$4(t,"IntToIntMap")},n.getOptionalIntToStringMap=function(t){return this.$4(t,"IntToStringMap")},n.getOptionalStringToBoolMap=function(t){return this.$4(t,"StringToBoolMap")},n.getOptionalStringToEnumMap=function(t){return this.$4(t,"StringToEnumMap")},n.getOptionalStringToFloatMap=function(t){return this.$4(t,"StringToFloatMap")},n.getOptionalStringToIntMap=function(t){return this.$4(t,"StringToIntMap")},n.getOptionalStringToStringMap=function(t){return this.$4(t,"StringToStringMap")},n.getEnumToNullableEnumMap=function(t){return this.$3(t,"EnumToNullableEnumMap")},n.getEnumToNullableFloatMap=function(t){return this.$3(t,"EnumToNullableFloatMap")},n.getEnumToNullableIntMap=function(t){return this.$3(t,"EnumToNullableIntMap")},n.getEnumToNullableStringMap=function(t){return this.$3(t,"EnumToNullableStringMap")},n.getIntToNullableEnumMap=function(t){return this.$3(t,"IntToNullableEnumMap")},n.getIntToNullableFloatMap=function(t){return this.$3(t,"IntToNullableFloatMap")},n.getIntToNullableIntMap=function(t){return this.$3(t,"IntToNullableIntMap")},n.getIntToNullableStringMap=function(t){return this.$3(t,"IntToNullableStringMap")},n.getStringToNullableEnumMap=function(t){return this.$3(t,"StringToNullableEnumMap")},n.getStringToNullableFloatMap=function(t){return this.$3(t,"StringToNullableFloatMap")},n.getStringToNullableIntMap=function(t){return this.$3(t,"StringToNullableIntMap")},n.getStringToNullableStringMap=function(t){return this.$3(t,"StringToNullableStringMap")},n.getOptionalEnumToNullableEnumMap=function(t){return this.$4(t,"EnumToNullableEnumMap")},n.getOptionalEnumToNullableFloatMap=function(t){return this.$4(t,"EnumToNullableFloatMap")},n.getOptionalEnumToNullableIntMap=function(t){return this.$4(t,"EnumToNullableIntMap")},n.getOptionalEnumToNullableStringMap=function(t){return this.$4(t,"EnumToNullableStringMap")},n.getOptionalIntToNullableEnumMap=function(t){return this.$4(t,"IntToNullableEnumMap")},n.getOptionalIntToNullableFloatMap=function(t){return this.$4(t,"IntToNullableFloatMap")},n.getOptionalIntToNullableIntMap=function(t){return this.$4(t,"IntToNullableIntMap")},n.getOptionalIntToNullableStringMap=function(t){return this.$4(t,"IntToNullableStringMap")},n.getOptionalStringToNullableEnumMap=function(t){return this.$4(t,"StringToNullableEnumMap")},n.getOptionalStringToNullableFloatMap=function(t){return this.$4(t,"StringToNullableFloatMap")},n.getOptionalStringToNullableStringMap=function(t){return this.$4(t,"StringToNullableStringMap")},n.$3=function(n,r){this.$5(n,r);var t=this.$1[n];return!Object.prototype.hasOwnProperty.call(this.$2,n)&&t.defaultValue!=null?(!t.required||l(0,5052),e(r,t.defaultValue,t.enumType)):(t.required||r==="Bool"||t.defaultValue!=null||l(0,11845,r,n,r,n),e(r,this.$2[n],t.enumType))},n.$4=function(n,r){this.$5(n,r);var t=this.$1[n];return!t.required||l(0,11846,r,n,r,n),!t.defaultValue||l(0,5052),Object.prototype.hasOwnProperty.call(this.$2,n)?e(r,this.$2[n],t.enumType):null},n.$5=function(t,n){Object.prototype.hasOwnProperty.call(this.$1,t)||l(0,37317,t),this.$1[t].type===n||l(0,11848,t,n,this.$1[t].type)},t})();i.default=s}),66);
__d("XController",["XControllerURIBuilder","XRequest"],(function(t,n,r,o,a,i,l){var e=(function(){function e(e,t){this.$1=e,this.$2=t}var t=e.prototype;return t.getURIBuilder=function(t){var e=this,n=new(r("XControllerURIBuilder"))(this.$1,this.$2);if(t){var o=this.getRequest(t);Object.keys(this.$2).forEach(function(t){var r=e.$2[t],a="";!r.required&&!Object.prototype.hasOwnProperty.call(r,"defaultValue")&&(a="Optional");var i="get"+a+r.type,l=o[i](t);if(!(l==null||Object.prototype.hasOwnProperty.call(r,"defaultValue")&&l===r.defaultValue)){var s="set"+r.type;n[s](t,l)}})}return n},t.getRequest=function(t){return new(r("XRequest"))(this.$1,this.$2,t)},e.create=function(n,r){return new e(n,r)},e})();l.default=e}),98);
__d("IGXInstagramForBusinessDestinationCMSIdController",["XController"],(function(t,n,r,o,a,i){a.exports=n("XController").create("/v2/business/async/destinationcmsid/",{})}),null);
__d("ImmutableServerCallableWrapper",["immutable"],(function(t,n,r,o,a,i,l){"use strict";l.default=r("immutable")}),98);
__d("Keys",[],(function(t,n,r,o,a,i){"use strict";var e=Object.freeze({BACKSPACE:8,TAB:9,RETURN:13,SHIFT:16,CTRL:17,ALT:18,PAUSE_BREAK:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,LEFT_WINDOW_KEY:91,RIGHT_WINDOW_KEY:92,SELECT_KEY:93,NUMPAD_0:96,NUMPAD_1:97,NUMPAD_2:98,NUMPAD_3:99,NUMPAD_4:100,NUMPAD_5:101,NUMPAD_6:102,NUMPAD_7:103,NUMPAD_8:104,NUMPAD_9:105,MULTIPLY:106,ADD:107,SUBTRACT:109,DECIMAL_POINT:110,DIVIDE:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUM_LOCK:144,SCROLL_LOCK:145,SEMI_COLON:186,EQUAL_SIGN:187,COMMA:188,DASH:189,PERIOD:190,FORWARD_SLASH:191,GRAVE_ACCENT:192,OPEN_BRACKET:219,BACK_SLASH:220,CLOSE_BRAKET:221,SINGLE_QUOTE:222});i.default=e}),66);
__d("PJBRestrictiveLoggingConfig",["$InternalEnum"],(function(t,n,r,o,a,i){var e=n("$InternalEnum")({ENABLE_IS_APP_INSTALLED:"enable_is_app_installed"}),l=e;i.default=l}),66);
__d("SubscriptionsHandler",["invariant"],(function(t,n,r,o,a,i,l,s){"use strict";var e=["remove","reset","unsubscribe","cancel","dispose"];function u(t){for(var n of e)if(typeof t[n]=="function")return t[n]}function c(e){var t;(t=u(e))==null||t.call(e)}var d=(function(){function e(){this.$1=[]}var t=e.prototype;return t.addSubscriptions=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];t.every(u)||s(0,3659),this.$1!=null?this.$1=this.$1.concat(t):t.forEach(c)},t.engage=function(){this.$1==null&&(this.$1=[])},t.release=function(){this.$1!=null&&(this.$1.forEach(c),this.$1=null)},t.releaseOne=function(t){var e=this.$1;if(e!=null){var n=e.indexOf(t);n!==-1&&(c(t),e.splice(n,1),e.length===0&&(this.$1=null))}},e})();l.default=d}),98);
__d("UniversalMicroLoggerFalcoEvent",["FalcoLoggerInternal","getFalcoLogPolicy_DO_NOT_USE"],(function(t,n,r,o,a,i,l){"use strict";var e=r("getFalcoLogPolicy_DO_NOT_USE")("1958484"),s=o("FalcoLoggerInternal").create("universal_micro_logger",e),u=s;l.default=u}),98);
__d("getContextualParent",["ge"],(function(t,n,r,o,a,i,l){function e(e,t){t===void 0&&(t=!1);var n=!1,o=e;do{if(o instanceof Element){var a=o.getAttribute("data-ownerid");if(a){o=r("ge")(a),n=!0;continue}}o=o.parentNode}while(t&&o&&!n);return o}l.default=e}),98);
__d("UniversalMicroSiteAttributeCollector",["getContextualParent","immutable"],(function(t,n,r,o,a,i,l){"use strict";var e=["cmsid","creative","creative_detail","destinationcmsid"],s="data-ms";function u(t){for(var n=[],o=[],a={},i=t,l=null,u=null;i;){if(i instanceof Element){var c=i.getAttribute(s);if(c){var d=JSON.parse(c),m=d.cmsid,p=d.creative,_=d.creative_detail,f=d.destinationcmsid,g=babelHelpers.objectWithoutPropertiesLoose(d,e);p&&n.push(p),m&&o.push(m),f!=null&&f!==""&&(l=f),_!=null&&(u=_),Object.entries(g).forEach(function(e){var t=e[0],n=e[1];return a[t]=n!=null&&typeof n=="string"?n:JSON.stringify(n)})}}i=r("getContextualParent")(i)}var h=new Map(r("immutable").Map(a));return u!=null&&h.set("creative_detail",u),{creativePath:n,cmsidPath:o,destinationCmsid:l,creativeDetail:u,extraData:r("immutable").Map(h)}}l.MS_ATTRIBUTE_NAME=s,l.collectClickDataAttributes=u}),98);
__d("UniversalMicroSiteAudioRegistry",[],(function(t,n,r,o,a,i){"use strict";var e=new Set;function l(t,n){e.add({audio:t,creative_detail:n})}function s(){return Array.from(e)}function u(){e.clear()}i.add=l,i.getList=s,i.cleanUp=u}),66);
__d("UniversalMicroSiteAudioTracking",["Run","SubscriptionList","UniversalMicroSiteAudioRegistry"],(function(t,n,r,o,a,i,l){"use strict";var e=new(r("SubscriptionList"));function s(t,n){e.fireCallbacks({event:t,extra_data:n})}function u(){c()}function c(){var e=o("Run").onAfterLoad(function(){var e=o("Run").onAfterUnload(function(){o("UniversalMicroSiteAudioRegistry").cleanUp()});o("UniversalMicroSiteAudioRegistry").getList().forEach(function(e){d(e)})})}function d(e){var t=new Map;t.set("creative_detail",e.creative_detail),e.audio.addEventListener("play",function(){s("audio_play",t)}),e.audio.addEventListener("pause",function(){s("audio_pause",t)})}function m(t){window.setTimeout(function(){return u(),e.add(t)},1e3)}l.init=m}),98);
__d("isBarcelonaURI",[],(function(t,n,r,o,a,i){function e(e){var t=e.getProtocol(),n=e.getDomain();return(t==="http"||t==="https")&&(n==="threads.net"||n.endsWith(".threads.net")||n==="threads.com"||n.endsWith(".threads.com"))}i.default=e}),66);
__d("isWhatsAppLinkshimURI",[],(function(t,n,r,o,a,i){var e=new RegExp("l\\.wl\\.co$","i");function l(t){return t.isEmpty()&&t.toString()!=="#"||!t.getDomain()&&!t.getProtocol()||t.getProtocol()!=="https"?!1:e.test(t.getDomain())}i.default=l}),66);
__d("isLinkshimURI",["LinkshimHandlerConfig","isBarcelonaURI","isFacebookURI","isMessengerDotComURI","isWhatsAppLinkshimURI"],(function(t,n,r,o,a,i,l){"use strict";var e=r("LinkshimHandlerConfig").linkshim_host.split(),s=e[e.length-1];function u(e){var t=e.getPath();if((t==="/l.php"||t.indexOf("/si/ajax/l/")===0||t.indexOf("/l/")===0||t.indexOf("l/")===0)&&(r("isFacebookURI")(e)||r("isMessengerDotComURI")(e))||t==="/linkshim"&&r("isBarcelonaURI")(e)||t==="/l"&&r("isWhatsAppLinkshimURI")(e))return!0;if(t===r("LinkshimHandlerConfig").linkshim_path&&e.isSubdomainOfDomain(s)){var n=e.getQueryData();if(n[r("LinkshimHandlerConfig").linkshim_enc_param]!=null&&n[r("LinkshimHandlerConfig").linkshim_url_param]!=null)return!0}return!1}l.default=u}),98);
__d("UniversalMicroSiteTrackingUtils",["DOM","Parent","URI","isLinkshimURI"],(function(t,n,r,o,a,i,l){"use strict";var e,s="LinkshimAsyncLink.swap(";function u(t){var n=new(e||(e=r("URI")))(t.getAttribute("href")),o=r("isLinkshimURI")(n),a=t.getAttribute("onmouseover"),i=a&&a.startsWith(s);return o||i}function c(t){if(t instanceof HTMLAnchorElement&&t.href)return t.href;var n=o("Parent").byTag(t,"form");return n instanceof HTMLFormElement?r("DOM").scry(n,"input").reduce(function(e,t){return e.getQueryData()[t.name]?e:e.addQueryData(t.name,t.value)},new(e||(e=r("URI")))(n.getAttribute("ajaxify")||n.action)).toString():null}l.isLinkShimmed=u,l.getDestinationFromElement=c}),98);
__d("UniversalMicroSiteClickTracker",["invariant","Event","EventListener","Keys","Parent","SubscriptionsHandler","URI","UniversalMicroSiteTrackingUtils","isFacebookURI","isInstagramURI"],(function(t,n,r,o,a,i,l,s){"use strict";var e,u=801,c=/async(?:-post)?|dialog(?:-post)?|theater|toggle/,d=!1,m=(function(){function t(e,t){this.$2=new(r("SubscriptionsHandler")),!d||!t||s(0,3518),this.$1=e,t&&!this.$4()?(this.$3=t,this.$5(),this.$6(),d=!0):this.$7()}var n=t.prototype;return n.destroy=function(){this.$2.release()},n.$7=function(){var e=this;document.body!=null&&this.$2.addSubscriptions(r("EventListener").capture(document.body,"click",function(t){var n=e.$8(t)||e.$9(t)||e.$10(t);n&&e.$1(n)})),this.$11()},n.$11=function(){var e=this;if(document.body!=null){var t=document.body.querySelectorAll("video");t.forEach(function(t){t.addEventListener("play",function(){e.$1(t)}),t.addEventListener("pause",function(){e.$1(t)})})}},n.$5=function(){var e=this,t;this.$2.addSubscriptions((t=r("Event")).listen(document,"mousedown",function(t){var n=e.$8(t);if(n)if(e.$12(n)&&(t.isRightClick()||t.ctrlKey)&&e.$3!=null){var o=n.href;n.href=e.$3(n).toString();var a=r("Event").listen(n,"mouseout",function(){a&&a.remove(),a=null,n.href=o},r("Event").Priority.URGENT)}else{var i=r("Event").listen(n,"click",function(){i&&i.remove(),i=null,e.$1(n)},r("Event").Priority.URGENT);window.setTimeout(function(){i&&i.remove(),i=null},500)}},t.Priority.URGENT),t.listen(document,"keydown",function(t){var n=e.$8(t);if(n&&r("Event").getKeyCode(t)===r("Keys").RETURN){var o=r("Event").listen(n,"click",function(){o&&o.remove(),o=null,e.$1(n)},r("Event").Priority.URGENT);window.setTimeout(function(){o&&o.remove(),o=null},500)}},t.Priority.URGENT))},n.$6=function(){var e=this;this.$2.addSubscriptions(r("Event").listen(document,"click",function(t){var n=e.$9(t)||e.$10(t);n&&e.$1(n)},r("Event").Priority.URGENT))},n.$10=function(t){var e=o("Parent").byAttribute(t.getTarget(),"data-ms-clickable"),n=!(e instanceof HTMLButtonElement||e instanceof HTMLAnchorElement);return e instanceof HTMLElement&&n?e:null},n.$9=function(t){var e=o("Parent").byTag(t.getTarget(),"Button");return e instanceof HTMLButtonElement?e:null},n.$8=function(t){var e=o("Parent").byTag(t.getTarget(),"A");return e instanceof HTMLAnchorElement?e:null},n.$12=function(n){if(n.getAttribute("ajaxify")||n.rel&&n.rel.match(c))return!1;var t=n.getAttribute("href");if(t===""||(t==null?void 0:t.charAt(0))==="#")return!1;var a=new(e||(e=r("URI")))(t);return!(!r("isFacebookURI")(a)&&!r("isInstagramURI")(a)||o("UniversalMicroSiteTrackingUtils").isLinkShimmed(n))},n.$4=function(){return window.innerWidth<u},t})();l.default=m}),98);
__d("VideoPlayerRegistry",["EventEmitter","Promise","asyncToGeneratorRuntime"],(function(t,n,r,o,a,i,l){var e,s=new Set,u=new(r("EventEmitter")),c="added",d="removed";function m(e,t){return u.addListener(e,t)}function p(e,t){return u.once(e,t)}function _(e){return s.has(e)}function f(e){return _(e)?!1:(s.add(e),u.emit(c,e),!0)}function g(e){return _(e)?(s.delete(e),u.emit(d,e),!0):!1}function h(){return s.size}function y(){return Array.from(s)}function C(e){return b.apply(this,arguments)}function b(){return b=n("asyncToGeneratorRuntime").asyncToGenerator(function*(t){var r=null;return y().forEach(function(e){e.getRootNode()===t&&(r=e)}),r==null&&(r=yield new(e||(e=n("Promise")))(function(e,n){var r=m(c,function(n){n.getRootNode()===t&&(r.remove(),e(n))})})),r}),b.apply(this,arguments)}l.ADDED=c,l.REMOVED=d,l.addListener=m,l.once=p,l.has=_,l.add=f,l.remove=g,l.count=h,l.getList=y,l.getByRootNode=C}),98);
__d("UniversalMicroSiteVideoTracking",["SubscriptionList","VideoPlayerRegistry"],(function(t,n,r,o,a,i,l){"use strict";var e=new(r("SubscriptionList"));function s(e){o("VideoPlayerRegistry").getList().forEach(function(t){if(t.isState("playing")){var n=d(t,"video_play");e(n)}})}function u(){o("VideoPlayerRegistry").getList().forEach(c),o("VideoPlayerRegistry").addListener(o("VideoPlayerRegistry").ADDED,c)}function c(e){e.getImmediatePlayReason()!=="gbm_not_logged_autploay"&&(e.isState("playing")&&m(e,"video_play"),e.addListener("beginPlayback",function(){return m(e,"video_play")}),e.addListener("pausePlayback",function(){return m(e,"video_pause")}),e.addListener("finishPlayback",function(){return m(e,"video_finish")}),e.addListener("stateChange",function(){e.isState("destroyed")&&e.getOriginalPlayReason()&&m(e,"video_unload")}))}function d(e,t){return{event:t,currentTime:parseFloat(e.getCurrentTimePosition().toFixed(2)),duration:parseFloat(e.getPlaybackDuration().toFixed(2)),videoID:e.getVideoID()}}function m(t,n){e.fireCallbacks(d(t,n))}var p=!1;function _(t){return p?s(t):(u(),p=!0),e.add(t)}l.init=_}),98);
__d("Vector",["DOMEvent","DOMVector","Scroll","getDocumentScrollElement"],(function(t,n,r,o,a,i,l){var e=(function(e){function t(t,n,r){return e.call(this,parseFloat(t),parseFloat(n),r)||this}babelHelpers.inheritsLoose(t,e);var n=t.prototype;return n.derive=function(n,r,o){return new t(n,r,o||this.domain)},n.setElementPosition=function(t){var e=this.convertTo("document");return t.style.left=parseInt(e.x,10)+"px",t.style.top=parseInt(e.y,10)+"px",this},n.setElementDimensions=function(t){return this.setElementWidth(t).setElementHeight(t)},n.setElementWidth=function(t){return t.style.width=parseInt(this.x,10)+"px",this},n.setElementHeight=function(t){return t.style.height=parseInt(this.y,10)+"px",this},n.scrollElementBy=function(t){if(t==document.body)window.scrollBy(this.x,this.y);else{var e;(e=o("Scroll")).setLeft(t,e.getLeft(t)+this.x),e.setTop(t,e.getTop(t)+this.y)}return this},t.from=function(n,r,o){return new t(n,r,o)},t.getEventPosition=function(t,n){n===void 0&&(n="document");var e=new(r("DOMEvent"))(t).event,a=r("getDocumentScrollElement")(),i=e.clientX+o("Scroll").getLeft(a),l=e.clientY+o("Scroll").getTop(a),s=this.from(i,l,"document");return s.convertTo(n)},t.getTouchEventPosition=function(t,n){n===void 0&&(n="document");var e=t.touches[0],r=this.from(e.pageX,e.pageY,"document");return r.convertTo(n)},t.deserialize=function(t){var e=t.split(",");return this.from(e[0],e[1])},t})(r("DOMVector"));l.default=e}),98);
__d("throttle",["TimeSlice","TimeSliceInteractionSV","setTimeout","setTimeoutAcrossTransitions"],(function(t,n,r,o,a,i,l){function e(e,t,n){return s(e,t,n,r("setTimeout"),!1)}Object.assign(e,{acrossTransitions:function(t,n,o){return s(t,n,o,r("setTimeoutAcrossTransitions"),!1)},withBlocking:function(t,n,o){return s(t,n,o,r("setTimeout"),!0)},acrossTransitionsWithBlocking:function(t,n,o){return s(t,n,o,r("setTimeoutAcrossTransitions"),!0)}});function s(e,t,n,o,a){var i=t==null?100:t,l,s=null,u=0,c=null,d=[],m=r("TimeSlice").guard(function(){if(u=Date.now(),s){for(var t=function(t){e.apply(l,t)}.bind(null,s),n=d.length;--n>=0;)t=d[n].bind(null,t);d=[],t(),s=null,c=o(m,i)}else c=null},"throttle_"+i+"_ms",{propagationType:r("TimeSlice").PropagationType.EXECUTION,registerCallStack:!0});return m.__SMmeta=e.__SMmeta,function(){r("TimeSliceInteractionSV").ref_counting_fix&&d.push(r("TimeSlice").getGuardedContinuation("throttleWithContinuation"));for(var e=arguments.length,t=new Array(e),p=0;p<e;p++)t[p]=arguments[p];s=t,l=this,n!==void 0&&(l=n),(c===null||Date.now()-u>i)&&(a===!0?m():c=o(m,0))}}var u=e;l.default=u}),98);
__d("UniversalMicroSiteViewportTracking",["invariant","Event","SubscriptionList","Vector","throttle"],(function(t,n,r,o,a,i,l,s){"use strict";var e,u,c=new(r("SubscriptionList")),d=0,m=0,p=0,_=!1;function f(){var t=r("Vector").getScrollPosition().y,n=r("Vector").getViewportDimensions().y,o=r("Vector").getDocumentDimensions().y,a=Math.floor((t+n)/o*100);d=Math.max(a,d),d>=100&&(e=null)}function g(){var e=r("Vector").getViewportDimensions();p=Math.max(e.x,p),m=Math.max(e.y,m)}function h(){d=0,m=0,p=0,_=!1,f(),g(),e||(e=r("Event").listen(window,"scroll",y(function(){f(),_=!0}))),u||(u=r("Event").listen(window,"resize",y(function(){f(),g()})))}function y(e){return r("throttle")(function(){e(),c.fireCallbacks({hasScrolled:_,maxPercentVerticalViewportShown:d,maxViewportWidthPx:p,maxViewportHeightPX:m})},100)}var C=!1;function b(){C||s(0,4196)}function v(e){return h(),C=!0,e&&c.add(e)}function S(){return b(),_}function R(){return b(),d}function L(){return b(),p}function E(){return b(),m}l.init=v,l.getHasScrolled=S,l.getMaxPercentVerticalViewportShown=R,l.getMaxViewportWidthPx=L,l.getMaxViewportHeightPx=E}),98);
__d("WAXWhatsAppForBusinessDestinationCmsidAsyncController",["XController"],(function(t,n,r,o,a,i){a.exports=n("XController").create("/business/async/destinationcmsid/",{})}),null);
__d("WhatsappUniversalMicroLoggerFalcoEvent",["FalcoLoggerInternal","getFalcoLogPolicy_DO_NOT_USE"],(function(t,n,r,o,a,i,l){"use strict";var e=r("getFalcoLogPolicy_DO_NOT_USE")("1963303"),s=o("FalcoLoggerInternal").create("whatsapp_universal_micro_logger",e),u=s;l.default=u}),98);
__d("WhatsappUniversalMicroSiteTrackingController",["URI","WhatsappUniversalMicroLoggerFalcoEvent"],(function(t,n,r,o,a,i,l){"use strict";var e;function s(e,t){r("WhatsappUniversalMicroLoggerFalcoEvent").log(function(){var n,r,o,a,i,l,s,c,d,m,p,_,f,g,h,y,C,b,v,S;return{site:(n=t.site)!=null?n:e.site,event_type:t.event_type,request_http_referrer:u(e.request_http_referrer),country:e.country,orig_http_referrer:u(e.origHTTPReferrer),orig_request_uri:u(e.origRequestURI),primary_cmsid:e.primaryCmsid,primary_content_locale:e.primaryContentLocale,session_id:e.sessionID,max_percent_page_viewed:String(e.maxPercentPageViewed),click_from_context_menu:t.click_from_context_menu,csat_first_question_hash:t.csat_first_question_hash,dropdown_duration:t.dropdown_duration,click_creative_path:t.click_creative_path,ums_creative_detail:t.ums_creative_detail,stack_trace:t.stack_trace,message:t.message,is_error:t.is_error,file:t.file,line_number:t.line_number,video_duration:t.video_duration,video_time_position:t.video_time_position,video_id:t.video_id,fastedit_content_type:(r=e.fastedit_content_type)!=null?r:t.fastedit_content_type,fastedit_id:(o=e.fastedit_id)!=null?o:t.fastedit_id,fastedit_lang:(a=e.fastedit_lang)!=null?a:t.fastedit_lang,fastedit_last_pushed:(i=e.fastedit_last_pushed)!=null?i:t.fastedit_last_pushed,fastedit_platform:(l=e.fastedit_platform)!=null?l:t.fastedit_platform,fastedit_title:(s=e.fastedit_title)!=null?s:t.fastedit_title,fastedit_visibility:(c=e.fastedit_visibility)!=null?c:t.fastedit_visibility,whatsapp_unique_id:(d=e.whatsapp_unique_id)!=null?d:t.whatsapp_unique_id,hciab_delegate:t.hciab_delegate,http_request_method:t.http_request_method,region:e.region,request_uri:u(t.request_uri),whatsapp_analytic_id:t.whatsapp_analytic_id,device_type:(m=e.device_type)!=null?m:t.device_type,destination:t.destination,is_consumer_app_installed:e.is_app_installed,gatekeepers:e.gatekeepers,lcp:((p=t.page_metrics)==null?void 0:p.lcp)!=null?String(Math.round((_=t.page_metrics)==null?void 0:_.lcp)):null,fcp:((f=t.page_metrics)==null?void 0:f.fcp)!=null?String(Math.round((g=t.page_metrics)==null?void 0:g.fcp)):null,cls:((h=t.page_metrics)==null?void 0:h.cls)!=null?parseFloat((y=t.page_metrics)==null||(y=y.cls)==null?void 0:y.toFixed(2)):null,ttfb:((C=t.page_metrics)==null?void 0:C.ttfb)!=null?String(Math.round((b=t.page_metrics)==null?void 0:b.ttfb)):null,inp:((v=t.page_metrics)==null?void 0:v.inp)!=null?parseFloat((S=t.page_metrics)==null||(S=S.inp)==null?void 0:S.toFixed(2)):null}})}function u(t){if(t==null)return null;var n=new(e||(e=r("URI")))(t).getQualifiedURI(),o=["utm_campaign","utm_source","utm_medium","utm_content","lg","lc","eea"],a=o.map(function(e){var t;return{param:e,value:(t=n.getQueryData()[e])!=null?t:null}});return n=new e(n.toString().split("?")[0]),a.forEach(function(e){if(e.value!=null){var t;n.addQueryData((t={},t[String(e.param)]=e.value,t))}}),n.toString()}function c(e,t){s(e,t)}l.logFalcoEvent=c}),98);
__d("XGBMDestinationCmsidAsyncController",["XController"],(function(t,n,r,o,a,i){a.exports=n("XController").create("/business/async/destinationcmsid/",{})}),null);
__d("XUniversalMicroLoggerShimController",["XController"],(function(t,n,r,o,a,i){a.exports=n("XController").create("/micro_site/url/",{destination:{type:"String",required:!0},site:{type:"Enum",required:!0,enumType:1},event_type:{type:"Enum",required:!0,enumType:1},ums_creative_detail:{type:"String"},click_from_context_menu:{type:"Bool",defaultValue:!1},max_viewport_height_px:{type:"Int"},max_viewport_width_px:{type:"Int"},primary_cmsid:{type:"Int"},cmsid_path:{type:"IntVector"},country:{type:"String"},region:{type:"Enum",enumType:1},primary_content_locale:{type:"String"},last_nav_impression_id:{type:"String"},session_id:{type:"String"},search_session_id:{type:"String"},click_creative_path:{type:"StringVector"},orig_http_referrer:{type:"String"},orig_request_uri:{type:"String"},scrolled:{type:"Bool",defaultValue:!1},redirect:{type:"Bool",defaultValue:!0},max_percent_page_viewed:{type:"Int"},extra_data:{type:"StringToNullableStringMap",defaultValue:{}},destination_cmsid:{type:"String"}})}),null);
__d("UniversalMicroSiteTrackingController",["invariant","AsyncRequest","Banzai","DeferredCookie","ErrorPubSub","ErrorUtils","IGXAboutDestinationCMSIDControllerRouteBuilder","IGXInstagramForBusinessDestinationCMSIdController","SubscriptionList","URI","UniversalMicroLoggerFalcoEvent","UniversalMicroSiteAttributeCollector","UniversalMicroSiteAudioTracking","UniversalMicroSiteClickTracker","UniversalMicroSiteTrackingUtils","UniversalMicroSiteVideoTracking","UniversalMicroSiteViewportTracking","WAXWhatsAppForBusinessDestinationCmsidAsyncController","WhatsappUniversalMicroSiteTrackingController","XGBMDestinationCmsidAsyncController","XUniversalMicroLoggerShimController","asyncToGeneratorRuntime","immutable","web-vitals"],(function(t,n,r,o,a,i,l,s){"use strict";var e=["clickCreativePath","cmsidPath","creativeDetail","destinationCmsid"],u=["clickCreativePath","cmsidPath","creativeDetail","destinationCmsid"],c=["clickCreativePath","cmsidPath","creativeDetail","destinationCmsid"],d=["clickCreativePath","cmsidPath","destinationCmsid"],m=["clickCreativePath","cmsidPath","destinationCmsid"],p=["clickCreativePath","cmsidPath","creativeDetail","destinationCmsid"],_=["clickCreativePath","cmsidPath","creativeDetail","destinationCmsid"],f,g,h,y,C,b,v,S,R,L,E,k,I,T,D,x,$,P,N,M,w,A,F,O,B=!1,W=new(r("SubscriptionList")),q=4;function U(){return x==="whatsapp_www_api"||x==="whatsapp_www_chat"||x==="whatsapp_www"||x==="whatsapp_faq"}function V(e){switch(e){case"desktop":return"desktop";case"mobile":return"mobile";case"tablet":return"tablet";default:return null}}function H(){var e,t,n,a,i,l,s,u,c,d=new(f||(f=r("URI")))(document.location.href).getQualifiedURI(),m=["utm_campaign","utm_source","utm_medium","utm_content","lg","lc","eea"],p=m.map(function(e){var t;return{param:e,value:(t=d.getQueryData()[e])!=null?t:null}});d=new f(d.toString().split("?")[0]),p.forEach(function(e){if(e.value!=null){var t;d.addQueryData((t={},t[String(e.param)]=e.value,t))}});var _=V((e=$)==null?void 0:e.get("device_type"));return{country:C,region:I,lastNavImpressionID:S,maxPercentPageViewed:o("UniversalMicroSiteViewportTracking").getMaxPercentVerticalViewportShown(),maxViewportHeightPx:o("UniversalMicroSiteViewportTracking").getMaxViewportHeightPx(),maxViewportWidthPx:o("UniversalMicroSiteViewportTracking").getMaxViewportWidthPx(),origHTTPReferrer:R,site:x,origRequestURI:L,primaryCmsid:E,primaryContentLocale:k,sessionID:D,request_http_referrer:d.toString(),fastedit_id:(t=$)==null?void 0:t.get("id"),fastedit_lang:(n=$)==null?void 0:n.get("lang"),fastedit_title:(a=$)==null?void 0:a.get("title"),fastedit_content_type:(i=$)==null?void 0:i.get("content_type"),fastedit_platform:(l=$)==null?void 0:l.get("platform"),fastedit_last_pushed:(s=$)==null?void 0:s.get("last_pushed"),fastedit_visibility:(u=$)==null||(u=u.get("visibility"))==null?void 0:u.split(","),whatsapp_unique_id:(c=$)==null?void 0:c.get("whatsapp_unique_id"),device_type:_,is_app_installed:F,gatekeepers:O}}function G(){var e;return{country:C,lastNavImpressionID:S,maxPercentPageViewed:(e=o("UniversalMicroSiteViewportTracking")).getMaxPercentVerticalViewportShown(),maxViewportHeightPx:e.getMaxViewportHeightPx(),maxViewportWidthPx:e.getMaxViewportWidthPx(),origHTTPReferrer:R,site:x,origRequestURI:L,primaryCmsid:E,primaryContentLocale:k,searchSessionID:T,sessionID:D,rtwIp:M,rtwReferrer:w,scrolled:e.getHasScrolled(),instagramID:N,region:I}}function z(e){return j(e.extra_data)}function j(e){var t={};if(e!=null){var n=e;if(n instanceof Map&&n instanceof Object)n.forEach(function(e,n){e!=null&&(t[n]=e)});else{var r=Object.entries(n);r.forEach(function(e){var n=e[0],r=e[1];r!=null&&typeof r=="string"&&(t[n]=r)})}}return t}function K(e){if(!(e instanceof Map&&e instanceof Object)){var t=new Map,n=Object.entries(e);for(var r of n){var o=r[0],a=r[1];t.set(o,String(a))}return t}return e}function Q(e){var t=H();o("WhatsappUniversalMicroSiteTrackingController").logFalcoEvent(t,e)}function X(e){var t,n,o=G(),a=z(e),i=(t=e.page_metrics)==null?void 0:t.cls;i!=null&&(i=parseFloat(i.toFixed(2)));var l=(n=e.page_metrics)==null?void 0:n.inp;l!=null&&(l=parseFloat(l.toFixed(2))),r("UniversalMicroLoggerFalcoEvent").log(function(){var t,n,r,s,u,c,d,m,p,_,f,g,h,y,C,b;return{lcp:((t=e.page_metrics)==null?void 0:t.lcp)!=null?String(Math.round((n=e.page_metrics)==null?void 0:n.lcp)):null,fcp:((r=e.page_metrics)==null?void 0:r.fcp)!=null?String(Math.round((s=e.page_metrics)==null?void 0:s.fcp)):null,cls:i,ttfb:((u=e.page_metrics)==null?void 0:u.ttfb)!=null?String(Math.round((c=e.page_metrics)==null?void 0:c.ttfb)):null,inp:l,click_creative_path:e.click_creative_path,click_from_context_menu:e.click_from_context_menu,component_data:e.component_data,component_source:e.component_source,country:(d=e.country)!=null?d:o.country,destination:e.destination,destination_cmsid:e.destination_cmsid,dropdown_duration:(m=e.dropdown_duration)!=null?m:0,event_type:e.event_type,extra_data:a,file:e.file,instagram_id:o.instagramID!=null?String(o.instagramID):null,is_error:e.is_error,last_nav_impression_id:o.lastNavImpressionID,line_number:e.line_number,max_percent_page_viewed:String(o.maxPercentPageViewed),max_viewport_height_px:String(o.maxViewportHeightPx),max_viewport_width_px:String(o.maxViewportWidthPx),message:e.message,primary_cmsid:(p=e.primary_cmsid)!=null?p:o.primaryCmsid,primary_content_locale:(_=e.primary_content_locale)!=null?_:o.primaryContentLocale,query:e.query,region:(f=e.region)!=null?f:o.region,rtw_ip:(g=e.rtw_ip)!=null?g:o.rtwIp,rtw_referrer:(h=e.rtw_referrer)!=null?h:o.rtwReferrer,scrolled:o.scrolled,session_id:o.sessionID,search_session_id:(y=e.search_session_id)!=null?y:o.searchSessionID,site:(C=e.site)!=null?C:o.site,stack_trace:e.stack_trace,ums_creative_detail:e.ums_creative_detail,unsanitized_orig_http_referrer:o.origHTTPReferrer,unsanitized_orig_request_uri:(b=e.original_request_uri)!=null?b:o.origRequestURI,video_duration:e.video_duration,video_id:e.video_id,video_time_position:e.video_time_position}})}function Y(e){return W.add(e)}function J(e,t){return W.getCallbacks().reduce(function(t,n){return n({data:t,element:e})},t)}function Z(e){var t=o("UniversalMicroSiteAttributeCollector").collectClickDataAttributes(e),n=r("immutable").Map(babelHelpers.extends({},b.toJS(),t.extraData.toJS())),a=J(e,n);return babelHelpers.extends({},a.toJS(),{cmsidPath:t.cmsidPath,clickCreativePath:t.creativePath,destinationCmsid:t.destinationCmsid,creativeDetail:t.creativeDetail})}function ee(t){var n=Z(t),r=n.clickCreativePath,a=n.cmsidPath,i=n.creativeDetail,l=n.destinationCmsid,s=babelHelpers.objectWithoutPropertiesLoose(n,e);X({click_creative_path:r,ums_creative_detail:i,cmsid_path:a,destination_cmsid:l,destination:o("UniversalMicroSiteTrackingUtils").getDestinationFromElement(t),extra_data:s,event_type:"custom"})}function te(e){return e.getAttribute("disablelogging")==="true"||e.getAttribute("data-disablelogging")==="true"}function ne(e,t){var n,r=t,o=parseInt(e.getAttribute("data-index"),0),a=(n=e.getAttribute("aria-expanded"))!=null?n:"false",i=a==="true"?"open":"close";return r.drawer="drawer"+o+"_"+i,r}function re(e){var t=te(e);if(!t){var n=Z(e),a=n.clickCreativePath,i=n.cmsidPath,l=n.creativeDetail,s=n.destinationCmsid,c=babelHelpers.objectWithoutPropertiesLoose(n,u),d=c;if(e.getAttribute("data-ui-type")==="drawer"&&(d=ne(e,c)),U()){var m=e instanceof HTMLVideoElement?e.paused?"video_pause":"video_play":"click",p=e instanceof HTMLVideoElement?e.duration:0,_=e instanceof HTMLVideoElement?e.currentTime:0,f=o("UniversalMicroSiteTrackingUtils").getDestinationFromElement(e);Q({event_type:m,ums_creative_detail:l,click_creative_path:a,click_from_context_menu:!1,video_duration:p,video_time_position:_,extra_data:d,destination:f})}else{var g=o("UniversalMicroSiteTrackingUtils").getDestinationFromElement(e);if(s==null&&g!=null){var h=ge();if(h==null)return;new(r("AsyncRequest"))().setURI(h).setData({destination:g}).setHandler(function(e){var t=e.getPayload(),n=t.destinationcmsid;X({event_type:"click",click_creative_path:a,ums_creative_detail:l,cmsid_path:i,destination:g,destination_cmsid:n,extra_data:d,click_from_context_menu:!1})}).setErrorHandler(function(e){X({event_type:"click",click_creative_path:a,ums_creative_detail:l,cmsid_path:i,destination:g,extra_data:d,click_from_context_menu:!1})}).send()}else e instanceof HTMLVideoElement?X({event_type:e.paused?"video_pause":"video_play",click_creative_path:a,ums_creative_detail:l,cmsid_path:i,extra_data:d,video_id:d.video_id,click_from_context_menu:!1,video_duration:e.duration,video_time_position:e.currentTime}):X({event_type:"click",click_creative_path:a,ums_creative_detail:l,cmsid_path:i,destination_cmsid:s,destination:g,extra_data:d,click_from_context_menu:!1})}}}function oe(e,t){var n=Z(e),r=n.clickCreativePath,a=n.cmsidPath,i=n.creativeDetail,l=n.destinationCmsid,s=babelHelpers.objectWithoutPropertiesLoose(n,c);X({event_type:"search",query:t,click_creative_path:r,ums_creative_detail:i,cmsid_path:a,destination_cmsid:l,destination:o("UniversalMicroSiteTrackingUtils").getDestinationFromElement(e),extra_data:s})}function ae(e,t,n,r){var a=Z(e),i=a.clickCreativePath,l=a.cmsidPath,s=a.destinationCmsid,u=babelHelpers.objectWithoutPropertiesLoose(a,d),c=n!=null?n:r?r+"-close":null,m=u;m=K(m),m.set("creative_detail",c),We()?Q({event_type:"dropdown_close",click_creative_path:i,ums_creative_detail:c,cmsid_path:l,destination_cmsid:s,dropdown_duration:t,destination:o("UniversalMicroSiteTrackingUtils").getDestinationFromElement(e)}):X({event_type:"dropdown_close",click_creative_path:i,ums_creative_detail:c,cmsid_path:l,destination_cmsid:s,dropdown_duration:t,destination:o("UniversalMicroSiteTrackingUtils").getDestinationFromElement(e),extra_data:m})}function ie(e,t,n){var r=Z(e),a=r.clickCreativePath,i=r.cmsidPath,l=r.destinationCmsid,s=babelHelpers.objectWithoutPropertiesLoose(r,m),u=t!=null?t:n?n+"-open":null,c=s;c=K(c),c.set("creative_detail",u),We()?Q({event_type:"dropdown_open",click_creative_path:a,ums_creative_detail:u,cmsid_path:i,destination_cmsid:l,destination:o("UniversalMicroSiteTrackingUtils").getDestinationFromElement(e)}):X({event_type:"dropdown_open",click_creative_path:a,ums_creative_detail:u,cmsid_path:i,destination_cmsid:l,destination:o("UniversalMicroSiteTrackingUtils").getDestinationFromElement(e),extra_data:c})}function le(e,t){var n=Z(e),r=n.cmsidPath,o=new Map([["creative_detail",t+"_carousel_drag"]]);X({event_type:"drag",click_creative_path:["carousel"],ums_creative_detail:t+"_carousel_drag",cmsid_path:r,extra_data:o})}function se(e,t){var n=Z(e),r=n.cmsidPath,o=new Map([["creative_detail",t],["site_section",P]]);X({event_type:"recommendation_impression",ums_creative_detail:t,cmsid_path:r,extra_data:o})}function ue(e,t){var n=Z(e),r=n.cmsidPath,o=new Map([["creative_detail",t]]);X({click_creative_path:["banner"],event_type:"banner_impression",ums_creative_detail:t,cmsid_path:r,extra_data:o})}function ce(e){var t,n=Z(e),a=n.clickCreativePath,i=n.cmsidPath,l=n.creativeDetail,s=n.destinationCmsid,u=babelHelpers.objectWithoutPropertiesLoose(n,p),c=r("XUniversalMicroLoggerShimController").getURIBuilder().setStringVector("click_creative_path",a).setString("ums_creative_detail",l).setBool("click_from_context_menu",!0).setString("country",C).setString("destination",e.getAttribute("href")).setEnum("event_type","click").setString("last_nav_impression_id",S).setInt("max_percent_page_viewed",(t=o("UniversalMicroSiteViewportTracking")).getMaxPercentVerticalViewportShown()).setInt("max_viewport_height_px",t.getMaxViewportHeightPx()).setInt("max_viewport_width_px",t.getMaxViewportWidthPx()).setInt("primary_cmsid",E).setString("primary_content_locale",k).setEnum("region",I).setBool("scrolled",t.getHasScrolled()).setString("search_session_id",T).setBool("redirect",!1).setString("session_id",D).setEnum("site",x).setStringToNullableStringMap("extra_data",u).getURI(),d=new(r("AsyncRequest"))().setMethod("POST").setReadOnly(!0).setURI(c);d.send()}function de(e,t){var n=new Map;t.forEach(function(e,t){n.set(t,e)}),X({event_type:"client_component_loaded",component_source:e,component_data:j(n)})}function me(e,t){if(U())Q({event_type:"click",click_creative_path:e,ums_creative_detail:t});else{var n=new Map([["creative_detail",t]]);X({click_creative_path:e,event_type:"click",ums_creative_detail:t,extra_data:n})}}function pe(e,t,n){if(U())Q({event_type:"search",click_creative_path:e,ums_creative_detail:n});else{var r=new Map([["creative_detail",n!=null?n:""]]);X({click_creative_path:e,event_type:"search",ums_creative_detail:n!=null?n:"",query:t,extra_data:r})}}function _e(e,t){if(U())Q({event_type:"custom",click_creative_path:e,ums_creative_detail:t});else{var n=new Map([["creative_detail",t]]);X({click_creative_path:e,event_type:"custom",ums_creative_detail:t,extra_data:n})}}var fe=["www.meta.com"];function ge(){var e=new(f||(f=r("URI")))(window.location.href).getDomain();return fe.some(function(t){return e.includes(t)})?null:e.search(/about\..*instagram\.com/)>=0?new(f||(f=r("URI")))(r("IGXAboutDestinationCMSIDControllerRouteBuilder").buildUri({}).toString()):e.search("instagram.com")>=0?r("IGXInstagramForBusinessDestinationCMSIdController").getURIBuilder().getURI():e.search(/business\.?[0-9]{0,10}?\.?o?d?\.whatsapp\.com/)>=0?r("WAXWhatsAppForBusinessDestinationCmsidAsyncController").getURIBuilder().getURI():r("XGBMDestinationCmsidAsyncController").getURIBuilder().getURI()}function he(e){var t,n=Z(e),a=n.clickCreativePath,i=n.cmsidPath,l=n.creativeDetail,s=n.destinationCmsid,u=babelHelpers.objectWithoutPropertiesLoose(n,_);return r("XUniversalMicroLoggerShimController").getURIBuilder().setStringVector("click_creative_path",a).setString("ums_creative_detail",l).setBool("click_from_context_menu",!0).setIntVector("cmsid_path",i).setString("country",C).setString("destination",e.href).setEnum("event_type","click").setString("last_nav_impression_id",S).setInt("max_percent_page_viewed",(t=o("UniversalMicroSiteViewportTracking")).getMaxPercentVerticalViewportShown()).setInt("max_viewport_height_px",t.getMaxViewportHeightPx()).setInt("max_viewport_width_px",t.getMaxViewportWidthPx()).setString("orig_http_referrer",R).setString("orig_request_uri",L).setInt("primary_cmsid",E).setString("primary_content_locale",k).setEnum("region",I).setBool("scrolled",t.getHasScrolled()).setString("search_session_id",T).setString("session_id",D).setEnum("site",x).setStringToNullableStringMap("extra_data",u).setString("destination_cmsid",s).getURI()}function ye(e){if(U())Q({event_type:e.event,click_creative_path:["audio"],extra_data:e.extra_data}),Q({event_type:"click",click_creative_path:["audio"]});else{X({click_creative_path:["audio"],event_type:e.event,extra_data:e.extra_data});var t=e.extra_data;t.set("audio_event",e.event),X({click_creative_path:["audio"],event_type:"click",extra_data:e.extra_data})}}function Ce(e){var t,n,r=new Map;r.set("site_section",P),X({video_duration:(t=e.duration)!=null?t:0,video_id:e.videoID,video_time_position:(n=e.currentTime)!=null?n:0,event_type:e.event,extra_data:r})}function be(e){if(U()){var t,n;Q({event_type:e.event,video_duration:(t=e.duration)!=null?t:0,video_id:e.videoID,video_time_position:(n=e.currentTime)!=null?n:0})}else Ce(e)}function ve(){o("web-vitals").onINP(function(e){U()?Q({event_type:"page_inp_metric",page_metrics:{fcp:null,lcp:null,ttfb:null,cls:null,inp:e.value}}):X({event_type:"page_inp_metric",page_metrics:{fcp:null,lcp:null,ttfb:null,cls:null,inp:e.value}})})}function Se(){var e=new PerformanceObserver(function(e){var t=e.getEntries();if(t.length!==0){var n=t[t.length-1];n.startTime!==0&&Le()}});e.observe({type:"largest-contentful-paint",buffered:!0})}function Re(){var e=new Map;e.set("site_section",P),v.count()>0&&v.forEach(function(t,n){e.set(n,t)}),X({event_type:"client_loaded",extra_data:e,rtw_ip:M,rtw_referrer:w})}function Le(){var e,t=new Proxy({cls:0,ttfb:0,lcp:0,fcp:0,checked:0},{get:function(t,n){return Reflect.get(t,n)},set:function(t,n,r){return Reflect.set(t,n,r)}});(e=o("web-vitals")).onCLS(function(e){t.cls=e.value,t.checked+=1,t.checked===q&&Ee(t)}),e.onTTFB(function(e){t.ttfb=e.value,t.checked+=1,t.checked===q&&Ee(t)}),e.onLCP(function(e){t.lcp=e.value,t.checked+=1,t.checked===q&&Ee(t)}),e.onFCP(function(e){t.fcp=e.value,t.checked+=1,t.checked===q&&Ee(t)})}function Ee(e){U()?Q({event_type:"page_client_loaded_metrics",page_metrics:{fcp:e.fcp,lcp:e.lcp,ttfb:e.ttfb,cls:e.cls,inp:null}}):X({event_type:"page_client_loaded_metrics",page_metrics:{fcp:e.fcp,lcp:e.lcp,ttfb:e.ttfb,cls:e.cls,inp:null}})}function ke(){r("DeferredCookie").registerCallbackOnFirstPartyCookieFlush(function(){U()?Q({event_type:"client_loaded"}):Re();try{Se()}catch(e){U()?Q({event_type:"client_error",is_error:!0,file:e.script,line_number:e.line,message:e.message,stack_trace:e.stack}):X({event_type:"client_error",is_error:!0,file:e.script,line_number:e.line,message:e.message,stack_trace:e.stack})}})}function Ie(e,t){if(U()){var n=e.isState("playing")?"video_pause":"video_play";Q({event_type:n,video_duration:parseFloat(e.getPlaybackDuration().toFixed(2)),video_time_position:parseFloat(e.getCurrentTimePosition().toFixed(2)),video_id:e.getVideoID(),ums_creative_detail:t})}else Te(e,t)}function Te(e,t){var n=e.isState("playing")?"video_pause":"video_play";X({event_type:n,ums_creative_detail:t,video_duration:parseFloat(e.getPlaybackDuration().toFixed(2)),video_time_position:parseFloat(e.getCurrentTimePosition().toFixed(2)),video_id:e.getVideoID()})}function De(e){r("DeferredCookie").registerCallbackOnFirstPartyCookieFlush(function(){if(U())Q({event_type:"client_loaded"});else{var t=e;t.set("site_section",P),X({event_type:"client_loaded",rtw_ip:M,rtw_referrer:w,extra_data:t})}})}function xe(){var e=!1;function t(){!document.hidden&&!e&&(e=!0,r("DeferredCookie").registerCallbackOnFirstPartyCookieFlush(function(){U()?Q({event_type:"client_viewed"}):X({event_type:"client_viewed"})}))}document.addEventListener("visibilitychange",t),window.addEventListener("load",t)}function $e(){r("Banzai").subscribe(r("Banzai").SHUTDOWN,function(){U()?Q({event_type:"unload"}):X({event_type:"unload"})})}function Pe(){r("DeferredCookie").registerCallbackOnFirstPartyCookieFlush(function(){(g||(g=r("ErrorPubSub"))).addListener(function(e){var t=(h||(h=r("ErrorUtils"))).normalizeError(e);U()?Q({event_type:"client_error",is_error:!0,file:t.script,line_number:t.line,message:e.message,stack_trace:t.stack}):X({event_type:"client_error",is_error:!0,file:t.script,line_number:t.line,message:e.message,stack_trace:t.stack})})})}function Ne(e){return Me.apply(this,arguments)}function Me(){return Me=n("asyncToGeneratorRuntime").asyncToGenerator(function*(e){var t=null;if(e!==!0)return t;try{if(typeof navigator.getInstalledRelatedApps=="function"){var n,r=yield(n=navigator)==null?void 0:n.getInstalledRelatedApps();r!=null&&(t=r.some(function(e){return e.id==="com.whatsapp"}))}}catch(e){}return t}),Me.apply(this,arguments)}function we(e){Ae(e.captureRightClicks,e.country,e.extraClickData,e.lastNavImpressionID,e.origHTTPReferrer,e.origRequestURI,e.primaryCMSID,e.primaryContentLocale,e.region,e.searchSessionID,e.sessionID,e.site,e.customFields,e.siteSection,e.extraDataOverride,e.instagramUserID,e.rtwReferrer,e.rtwIp)}function Ae(e,t,n,a,i,l,s,u,c,d,m,p,_,g,h,A,F,O){x=p,E=s,C=t,I=c,k=u,S=a,D=m,T=d,R=i?new(f||(f=r("URI")))(i).getQualifiedURI().toString():null,L=l,b=r("immutable").Map(n),v=r("immutable").Map(h),$=_,P=g,N=A,M=O,w=F,o("UniversalMicroSiteViewportTracking").init(),ke(),xe(),ve(),B||(B=!0,y=new(r("UniversalMicroSiteClickTracker"))(re,e?he:null),o("UniversalMicroSiteVideoTracking").init(be),o("UniversalMicroSiteAudioTracking").init(ye),Pe(),$e())}function Fe(e,t,a,i,l,s,u,c,d,m,p,_,g,h,A,W,q,U,V,H){x=_,E=u,C=t,I=d,k=c,S=i,D=p,T=m,R=l?new(f||(f=r("URI")))(l).getQualifiedURI().toString():null,L=s,b=r("immutable").Map(a),v=r("immutable").Map(A),$=g,P=h,N=W,M=U,w=q,O=V,o("UniversalMicroSiteViewportTracking").init();var G=H==null?void 0:H.get("enable_is_app_installed"),z=n("asyncToGeneratorRuntime").asyncToGenerator(function*(){return Ne(G)})().then(function(e){F=e}).catch(function(){F=null}).finally(function(){ke(),xe(),ve()});B||(B=!0,y=new(r("UniversalMicroSiteClickTracker"))(re,e?he:null),o("UniversalMicroSiteVideoTracking").init(be),o("UniversalMicroSiteAudioTracking").init(ye),Pe(),$e())}function Oe(e){B&&X(e)}function Be(e){Q(e)}function We(){return U()}function qe(e){B&&ee(e)}function Ue(e){B||s(0,3658),re(e)}function Ve(e,t){B&&Ie(e,t)}function He(e){B||s(0,3658),De(e)}function Ge(e,t){B||s(0,3658),oe(e,t)}function ze(e,t,n,r){B&&ae(e,t,n,r)}function je(e,t,n){B&&ie(e,t,n)}function Ke(e,t){B&&le(e,t)}function Qe(e,t){window.setTimeout(function(){B&&se(e,t)},5e3)}function Xe(e,t){B&&ue(e,t)}function Ye(e,t){B&&de(e,t)}function Je(e){return Y(e)}function Ze(e){B&&ce(e)}function et(e,t){if(B)return me(e,t)}function tt(e,t,n){if(B)return pe(e,t,n)}function nt(e,t){if(B)return _e(e,t)}l.initFromObject=we,l.init=Ae,l.waInit=Fe,l.logFalcoEvent=Oe,l.logWhatsappFalcoEvent=Be,l.isWhatsAppSurface=We,l.performEscapeKeystrokeCloseLog=qe,l.performAsyncClickLog=Ue,l.performVideoClickLogging=Ve,l.logExtraClientLoaded=He,l.performAsyncSearchLog=Ge,l.performDropdownCloseLog=ze,l.performDropdownOpenLog=je,l.performLogDrag=Ke,l.performRelatedLinkImpression=Qe,l.performLogImpression=Xe,l.performComponentLoadedLog=Ye,l.subscribeDataManipulator=Je,l.forcedAsyncPerformLogClick=Ze,l.performLogCustomClickCreativePath=et,l.performLogCustomClickCreativePathSearch=tt,l.performLogCustom=nt}),98);



© 2023 Quttera Ltd. All rights reserved.