if (self.CavalryLogger) { CavalryLogger.start_js(["kkIP5"]); } __d("FetchStreamConfig",[],(function(a,b,c,d,e,f){e.exports={delim:"/**/"}}),null); __d("PixelRatioConst",[],(function(a,b,c,d,e,f){e.exports={cookieName:"dpr"}}),null); __d("PlatformDialog",["cx","CSS","DOMEvent","DOMEventListener"],(function(a,b,c,d,e,f,g){var h;a=function(){"use strict";a.getInstance=function(){return h};function a(a,c,d){var e=this;h=this;this.$1=a;this.$2=c;this.$3=!1;b("DOMEventListener").add(this.$1,"submit",function(c){if(e.$3){new(b("DOMEvent"))(c).kill();return}e.$3=!0;d&&b("CSS").addClass(a,"_32qa")})}var c=a.prototype;c.getForm=function(){return this.$1};c.getDisplay=function(){return this.$2};c.hasBeenSubmitted=function(){return this.$3};return a}();a.RESPONSE="platform/dialog/response";e.exports=a}),null); __d("FBJSON",[],(function(a,b,c,d,e,f){e.exports={parse:JSON.parse,stringify:JSON.stringify}}),null); __d("ArbiterFrame",[],(function(a,b,c,d,e,f){a={inform:function(a,b,c){var d=parent.frames,e=d.length,f;b.crossFrame=!0;for(var g=0;g=0;--d){var e=this.tryEntries[d],f=e.completion;if(e.tryLoc==="root")return c("end");if(e.tryLoc<=this.prev){var h=g.call(e,"catchLoc"),i=g.call(e,"finallyLoc");if(h&&i){if(this.prev=0;--c){var d=this.tryEntries[c];if(d.tryLoc<=this.prev&&g.call(d,"finallyLoc")&&this.prev=0;--b){var c=this.tryEntries[b];if(c.finallyLoc===a){this.complete(c.completion,c.afterLoc);y(c);return p}}},"catch":function(a){for(var b=this.tryEntries.length-1;b>=0;--b){var c=this.tryEntries[b];if(c.tryLoc===a){var d=c.completion;if(d.type==="throw"){var e=d.arg;y(c)}return e}}throw new Error("illegal catch attempt")},delegateYield:function(a,b,c){this.delegate={iterator:A(a),resultName:b,nextLoc:c};return p}}}),null); __d("StreamBlockReader",["Promise","regeneratorRuntime"],(function(a,b,c,d,e,f){a=function(){"use strict";function a(a){var c=this;if(!a.getReader)throw new Error("No getReader method found on given object");this.$3=a.getReader();this.$1="";this.$2=null;this.$4=!1;this.$5="utf-8";this.$6="";this.$9=!1;this.$8=function(){return b("Promise").reject("Sorry, you are somehow using this too early.")};this.$7=new(b("Promise"))(function(a,b){c.$8=a})}var c=a.prototype;c.changeEncoding=function(a){if(this.$2)throw new Error("Decoder already in use, encoding cannot be changed");this.$5=a};c.$10=function(){if(!self.TextDecoder)throw new Error("TextDecoder is not supported here");this.$2||(this.$2=new self.TextDecoder(this.$5));return this.$2};c.$11=function(){if(this.$9)throw new Error("Something else is already reading from this reader");this.$9=!0};c.$12=function(){this.$9=!1};c.isDone=function(){return this.$4};c.$13=function(){var a,c,d,e;return b("regeneratorRuntime").async(function(f){while(1)switch(f.prev=f.next){case 0:if(!(this.$6!=="")){f.next=4;break}a=this.$6;this.$6="";return f.abrupt("return",a);case 4:if(!this.isDone()){f.next=6;break}throw new Error("You cannot read from a stream that is done");case 6:f.next=8;return b("regeneratorRuntime").awrap(this.$3.read());case 8:c=f.sent;d=c.done;e=c.value;this.$4=d;d&&this.$8();return f.abrupt("return",e?this.$10().decode(e,{stream:!d}):"");case 14:case"end":return f.stop()}},null,this)};c.readNextBlock=function(){var a;return b("regeneratorRuntime").async(function(b){while(1)switch(b.prev=b.next){case 0:this.$11();a=this.$13();this.$12();return b.abrupt("return",a);case 4:case"end":return b.stop()}},null,this)};c.readUntilStringOrEnd=function(a){return b("regeneratorRuntime").async(function(c){while(1)switch(c.prev=c.next){case 0:c.next=2;return b("regeneratorRuntime").awrap(this.readUntilOneOfStringOrEnd_DO_NOT_USE([a]));case 2:return c.abrupt("return",c.sent);case 3:case"end":return c.stop()}},null,this)};c.readUntilStringOrThrow=function(a){var c,d,e;return b("regeneratorRuntime").async(function(f){while(1)switch(f.prev=f.next){case 0:if(a){f.next=2;break}throw new Error("cannot read empty string");case 2:this.$11(),c="",d=0;case 5:if(this.isDone()){f.next=23;break}f.t0=c;f.next=9;return b("regeneratorRuntime").awrap(this.$13());case 9:c=f.t0+=f.sent;if(!(c.length');return this._iframe=b("DOM").appendContent(document.body,a)[0]};d.send=function(){this._type===j?setTimeout(function(){b("DOM").appendContent(document.body,b("DOM").create("script",{src:this.getRequestURI().toString(),type:"text/javascript"}))}.bind(this),0):(this.getTransportFrame().onload=this._checkForErrors.bind(this),this.getTransportFrame().src=this.getRequestURI().toString()),this._continuation=b("TimeSlice").getGuardedContinuation("JSONPTransport: waiting for first response")};d.createContinuationForFileForm_DO_NOT_USE=function(){this._continuation=b("TimeSlice").getGuardedContinuation("JSONPTransport: waiting for first response")};d.handleResponse=function(a){var c=this;this._continuation(function(){c.inform("response",a),c.hasFinished()?setTimeout(c._cleanup.bind(c),0):c._continuation=b("TimeSlice").getGuardedContinuation("JSONPTransport: waiting for next response")})};d.abort=function(){if(this._aborted)return;this._aborted=!0;this._cleanup();l(this.getID());this.inform("abort");this._continuation&&b("TimeSlice").cancel(this._continuation)};d._checkForErrors=function(){this._hasResponse||this.abort()};d._cleanup=function(){this._iframe&&(b("DOM").remove(this._iframe),this._iframe=null)};c.respond=function(a,b,c){var d=h[a];d&&(d._hasResponse=!0,c||l(a),d._type==k&&(typeof b==="string"?b=JSON.parse(b):b=JSON.parse(JSON.stringify(b))),d.handleResponse(b))};return c}(b("mixin")(b("ArbiterMixin")));a.respond=b("TimeSlice").guard(a.respond,"JSONPTransport.respond",{root:!0});e.exports=a}),null); __d("SessionName",["SessionNameConfig"],(function(a,b,c,d,e,f){e.exports={getName:function(){return b("SessionNameConfig").seed}}}),null); __d("getCrossOriginTransport",["invariant","ExecutionEnvironment","ex"],(function(a,b,c,d,e,f,g){function h(){if(!b("ExecutionEnvironment").canUseDOM)throw new Error(b("ex")("getCrossOriginTransport: %s","Cross origin transport unavailable in the server environment."));try{var a=new XMLHttpRequest();!("withCredentials"in a)&&typeof XDomainRequest!=="undefined"&&(a=new XDomainRequest());return a}catch(a){throw new Error(b("ex")("getCrossOriginTransport: %s",a.message))}}h.withCredentials=function(){var a=h();"withCredentials"in a||g(0,5150);var b=a.open;a.open=function(){b.apply(this,arguments),this.withCredentials=!0};return a};e.exports=h}),null); __d("ZeroRewrites",["URI","ZeroRewriteRules","getCrossOriginTransport","getSameOriginTransport","isFacebookURI"],(function(a,b,c,d,e,f){var g,h={rewriteURI:function(a){if(!b("isFacebookURI")(a)||h._isWhitelisted(a))return a;var c=h._getRewrittenSubdomain(a);c!==null&&c!==void 0&&(a=a.setSubdomain(c));return a},getTransportBuilderForURI:function(a){return h.isRewritten(a)?b("getCrossOriginTransport").withCredentials:b("getSameOriginTransport")},isRewriteSafe:function(a){if(Object.keys(b("ZeroRewriteRules").rewrite_rules).length===0||!b("isFacebookURI")(a))return!1;var c=h._getCurrentURI().getDomain(),d=new(g||(g=b("URI")))(a).qualify().getDomain();return c===d||h.isRewritten(a)},isRewritten:function(a){a=a.getQualifiedURI();if(Object.keys(b("ZeroRewriteRules").rewrite_rules).length===0||!b("isFacebookURI")(a)||h._isWhitelisted(a))return!1;var c=a.getSubdomain(),d=h._getCurrentURI(),e=h._getRewrittenSubdomain(d);return a.getDomain()!==d.getDomain()&&c===e},_isWhitelisted:function(a){a=a.getPath();a.endsWith("/")||(a+="/");return b("ZeroRewriteRules").whitelist&&b("ZeroRewriteRules").whitelist[a]===1},_getRewrittenSubdomain:function(a){a=a.getQualifiedURI().getSubdomain();return b("ZeroRewriteRules").rewrite_rules[a]},_getCurrentURI:function(){return new(g||(g=b("URI")))("/").qualify()}};e.exports=h}),null); __d("bind",[],(function(a,b,c,d,e,f){function a(a,b){var c=Array.prototype.slice.call(arguments,2);if(typeof b!=="string")return Function.prototype.bind.apply(b,[a].concat(c));function d(){var d=c.concat(Array.prototype.slice.call(arguments));if(a[b])return a[b].apply(a,d)}d.toString=function(){return"bound lazily: "+a[b]};return d}e.exports=a}),null); __d("errorCode",[],(function(a,b,c,d,e,f){"use strict";function a(a){throw new Error('errorCode("'+a+'"): This should not happen. Oh noes!')}e.exports=a}),null); __d("executeAfter",[],(function(a,b,c,d,e,f){function a(a,b,c){return function(){a.apply(c||this,arguments),b.apply(c||this,arguments)}}e.exports=a}),null); __d("Banzai",["requireCond","cr:1454227"],(function(a,b,c,d,e,f){e.exports=b("cr:1454227")}),null); __d("getAsyncHeaders",["ZeroCategoryHeader","isFacebookURI"],(function(a,b,c,d,e,f){function a(a){var c={};b("isFacebookURI")(a)&&b("ZeroCategoryHeader").value&&(c[b("ZeroCategoryHeader").header]=b("ZeroCategoryHeader").value);return c}e.exports=a}),null); __d("AsyncRequest",["errorCode","fbt","invariant","Promise","Arbiter","ArtilleryAsyncRequestTracingAnnotator","AsyncDOM","AsyncRequestConfig","AsyncResponse","Bootloader","CSS","Deferred","DTSG","DTSG_ASYNC","Env","ErrorGuard","ErrorXFBDebug","Event","FBLogger","FetchStreamTransport","HasteResponse","HTTPErrors","JSCC","Parent","PHPQuerySerializer","ProfilingCounters","ResourceTimingsStore","ResourceTypes","ServerJS","SessionName","TimeSlice","URI","UserAgent_DEPRECATED","ZeroRewrites","bind","clearTimeout","emptyFunction","evalGlobal","executeAfter","ge","getAsyncHeaders","getAsyncParams","goURI","ifRequired","isEmpty","isFacebookURI","isInternalFBURI","isMessengerDotComURI","isWorkplaceDotComURI","killswitch","promiseDone","replaceTransportMarkers","setTimeout","setTimeoutAcrossTransitions"],(function $module_AsyncRequest(global,require,requireDynamic,requireLazy,module,exports,errorCode,fbt,invariant){"use strict";var c_ErrorGuard,c_URI,c_Env,c_isEmpty,c_PHPQuerySerializer,nineteenSecInMs=19e3,INTERNAL_SERVER_ERROR=500,NO_NETWORK_CONNECTION=1006,NETWORK_ERROR=1004,ABORTED_DUE_TO_PAGE_TRANSITION=1010,WARNING_ERROR_CODES=new Set([INTERNAL_SERVER_ERROR,ABORTED_DUE_TO_PAGE_TRANSITION,NETWORK_ERROR,NO_NETWORK_CONNECTION]);function hasUnloaded(){try{return!window.domready}catch(_unused){return!0}}function supportsProgress(transport){return"onprogress"in transport}function supportsUploadProgress(transport){return"upload"in transport&&"onprogress"in transport.upload}function supportsCrossOrigin(transport){return"withCredentials"in transport}function isNetworkError(transport){return transport.status in{0:1,12029:1,12030:1,12031:1,12152:1}}function validateResponseHandler(handler){var valid=!handler||typeof handler==="function";valid||require("FBLogger")("asyncresponse").mustfix("AsyncRequest response handlers must be functions. Pass a function, or use bind() to build one.");return valid}var last_id=2,id_threshold=last_id,ignore_id_update=!1;require("Arbiter").subscribe("page_transition",function(_,message){!ignore_id_update?id_threshold=message.id:ignore_id_update=!1});var JSON_HIJACKING_SHIELD="for (;;);",JSON_HIJACKING_SHIELD_LEN=JSON_HIJACKING_SHIELD.length,AsyncRequest=function(){function AsyncRequest(uri){var _this=this,emptyFunction;this._allowIrrelevantRequests=!1;this._delayPreDisplayJS=!1;this._shouldReplaceTransportMarkers=!1;this._dispatchErrorResponse=function(asyncResponse,errorHandler){var error=asyncResponse.getError();_this.clearStatusIndicator();if(!_this._isRelevant()||error===ABORTED_DUE_TO_PAGE_TRANSITION){_this.abort();return}if(_this._isServerDialogErrorCode(error)){var is_confirmation=error==1357008||error==1357007;_this.interceptHandler(asyncResponse);error==1357041?_this._solveQuicksandChallenge(asyncResponse):error==1357007?_this._displayServerDialog(asyncResponse,is_confirmation,!0):_this._displayServerDialog(asyncResponse,is_confirmation)}else if(_this.initialHandler(asyncResponse)!==!1){require("clearTimeout")(_this.timer);try{errorHandler(asyncResponse)}catch(e){_this.finallyHandler(asyncResponse);throw e}_this.finallyHandler(asyncResponse)}};this._onStateChange=function(){var transport=_this.transport;if(!transport)return;try{AsyncRequest._inflightCount--;require("ResourceTimingsStore").measureResponseReceived(require("ResourceTypes").XHR,_this.resourceTimingStoreUID);try{transport.getResponseHeader("X-FB-Debug")&&(_this._xFbServer=transport.getResponseHeader("X-FB-Debug"),require("ErrorXFBDebug").add(_this._xFbServer))}catch(_unused2){}if(transport.status>=200&&transport.status<300)AsyncRequest.lastSuccessTime=Date.now(),_this._handleXHRResponse(transport);else if(require("UserAgent_DEPRECATED").webkit()&&typeof transport.status==="undefined")_this._invokeErrorHandler(1002);else if(require("AsyncRequestConfig").retryOnNetworkError&&isNetworkError(transport)&&_this.remainingRetries>0&&!_this._requestTimeout){_this.remainingRetries--;delete _this.transport;_this.send(!0);return}else _this._invokeErrorHandler();_this.getOption("asynchronous_DEPRECATED")!==!1&&delete _this.transport}catch(exception){if(hasUnloaded())return;delete _this.transport;_this.remainingRetries>0?(_this.remainingRetries--,_this.send(!0)):(_this.getOption("suppressErrorAlerts")||require("FBLogger")("AsyncRequest").catching(exception).mustfix("AsyncRequest exception when attempting to handle a state change"),_this._invokeErrorHandler(1007))}};this.continuation=require("TimeSlice").getPlaceholderReusableContinuation();this.transport=null;this.method="POST";this.uri="";this.timeout=null;this.timer=null;this.initialHandler=emptyFunction=require("emptyFunction");this.handler=null;this.uploadProgressHandler=null;this.errorHandler=require("AsyncResponse").defaultErrorHandler;this.transportErrorHandler=null;this.timeoutHandler=null;this.interceptHandler=emptyFunction;this.finallyHandler=emptyFunction;this.abortHandler=emptyFunction;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.allowInteractionServerTracing=!0;this.resourceTimingStoreUID=require("ResourceTimingsStore").getUID(require("ResourceTypes").XHR,uri!=null?uri.toString():"");this.flushedResponseTextParseIndex=0;this.option={asynchronous_DEPRECATED:!0,suppressErrorHandlerWarning:!1,suppressEvaluation:!1,suppressErrorAlerts:!1,retries:0,jsonp:!1,bundle:!1,useIframeTransport:!1,handleErrorAfterUnload:!1,useFetchWithIframeFallback:!1};this.transportErrorHandler=require("bind")(this,"errorHandler");uri!==void 0&&this.setURI(uri);this.setAllowCrossPageTransition(require("AsyncRequestConfig").asyncRequestsSurviveTransitionsDefault||!1)}var _proto=AsyncRequest.prototype;_proto._dispatchResponse=function _dispatchResponse(asyncResponse){this.clearStatusIndicator();if(!this._isRelevant()){this._invokeErrorHandler(ABORTED_DUE_TO_PAGE_TRANSITION);return}if(this.initialHandler(asyncResponse)===!1)return;require("clearTimeout")(this.timer);if(asyncResponse.jscc_map){var jsccMap=require("JSCC").parse(asyncResponse.jscc_map);require("JSCC").init(jsccMap)}var suppress_js,handler=this.getHandler();if(handler)try{suppress_js=this._shouldSuppressJS(handler(asyncResponse))}catch(e){asyncResponse.is_last&&this.finallyHandler(asyncResponse);throw e}suppress_js||this._handleJSResponse(asyncResponse);asyncResponse.is_last&&this.finallyHandler(asyncResponse)};_proto._shouldSuppressJS=function _shouldSuppressJS(handler_return_value){return handler_return_value===AsyncRequest.suppressOnloadToken};_proto._handlePreDisplayServerJS=function _handlePreDisplayServerJS(serverJS,preDisplayJSMods){var _displayStarted=!1,preDisplayPromises=[],registerToBlockDisplayUntilDone_DONOTUSE=function registerToBlockDisplayUntilDone_DONOTUSE(){if(_displayStarted){require("FBLogger")("AsyncResponse").warn("registerToBlockDisplayUntilDone_DONOTUSE called after AsyncResponse display started. This is a no-op.");return function(){}}var timeoutId,deferrable=new(require("Deferred"))();preDisplayPromises.push(deferrable.getPromise());return require("TimeSlice").guard(function(){timeoutId&&require("clearTimeout")(timeoutId),deferrable.resolve()},"AsyncRequestDisplayBlockingEvent",{propagationType:require("TimeSlice").PropagationType.EXECUTION})};serverJS.handle(preDisplayJSMods,{bigPipeContext:{registerToBlockDisplayUntilDone_DONOTUSE:registerToBlockDisplayUntilDone_DONOTUSE}});_displayStarted=!0;return preDisplayPromises};_proto._hasEvalDomOp=function _hasEvalDomOp(domOps){return domOps&&domOps.length?domOps.some(function(op){return op[0]==="eval"}):!1};_proto._handleJSResponse=function _handleJSResponse(asyncResponse){var relativeTo=this.getRelativeTo(),domOps=asyncResponse.domops,dtsgToken=asyncResponse.dtsgToken,dtsgAsyncGetToken=asyncResponse.dtsgAsyncGetToken,jsMods=asyncResponse.jsmods,serverJS,savedServerJSInstance=asyncResponse.savedServerJSInstance;savedServerJSInstance&&savedServerJSInstance instanceof require("ServerJS")?serverJS=savedServerJSInstance:serverJS=new(require("ServerJS"))();serverJS.setRelativeTo(relativeTo);if(jsMods){var preDisplayJSMods={};preDisplayJSMods.define=jsMods.define;preDisplayJSMods.instances=jsMods.instances;preDisplayJSMods.markup=jsMods.markup;delete jsMods.define;delete jsMods.instances;delete jsMods.markup;this._hasEvalDomOp(domOps)&&(preDisplayJSMods.elements=jsMods.elements,delete jsMods.elements);serverJS.handle(preDisplayJSMods)}dtsgToken&&require("DTSG").setToken(dtsgToken);dtsgAsyncGetToken&&require("DTSG_ASYNC").setToken(dtsgAsyncGetToken);domOps&&require("AsyncDOM").invoke(domOps,relativeTo);jsMods&&serverJS.handle(jsMods);this._handleJSRegisters(asyncResponse,"onload");this._handleJSRegisters(asyncResponse,"onafterload")};_proto._handleJSRegisters=function _handleJSRegisters(asyncResponse,phase){var registers=asyncResponse[phase];if(registers)for(var ii=0;ii=_iterator.length)return"break";_ref=_iterator[_i++]}else{_i=_iterator.next();if(_i.done)return"break";_ref=_i.value}var rsrcs=_ref;require("TimeSlice").guard(function(){require("Bootloader").loadPredictedResourceMap(rsrcs)},"Bootloader.loadPredictedResourceMap",{root:!0})()};for(var _iterator=toBootload,_isArray=Array.isArray(_iterator),_i=0,_iterator=_isArray?_iterator:_iterator[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var _ref,_ret=_loop();if(_ret==="break")break}return}if(!this.handler&&!this.errorHandler&&!this.transportErrorHandler&&!this.preBootloadHandler&&this.initialHandler===require("emptyFunction")&&this.finallyHandler===require("emptyFunction"))return;var response=interpreted.asyncResponse;if(typeof response!=="undefined"){this._artilleryHandle!=null&&this._artilleryHandle(response);if(!this._isRelevant()){this._invokeErrorHandler(ABORTED_DUE_TO_PAGE_TRANSITION);return}response.inlinejs&&require("evalGlobal")(response.inlinejs);response.lid&&(this._responseTime=Date.now(),global.CavalryLogger&&(this.cavalry=global.CavalryLogger.getInstance(response.lid)),this.lid=response.lid);require("HasteResponse").handleSRPayload(response);var dispatch,arbiter_event;if(response.getError()&&!response.getErrorIsWarning()){var handler=this.getErrorHandler().bind(this);dispatch=(c_ErrorGuard||(c_ErrorGuard=require("ErrorGuard"))).guard(this._dispatchErrorResponse,{name:"AsyncRequest#_dispatchErrorResponse for "+this.getURI()});dispatch=dispatch.bind(this,response,handler);arbiter_event="error"}else{dispatch=(c_ErrorGuard||(c_ErrorGuard=require("ErrorGuard"))).guard(this._dispatchResponse.bind(this),{name:"AsyncRequest#_dispatchResponse for "+this.getURI()});dispatch=dispatch.bind(this,response);arbiter_event="response";var domOps=response.domops;if(!this._delayPreDisplayJS&&response.jsmods&&response.jsmods.pre_display_requires&&!this._hasEvalDomOp(domOps)&&!require("killswitch")("ASYNC_REQUEST_EARLY_RENDERING_OF_PREDISPLAY_PRIORITY_JS")){var jsMods=response.jsmods,preDisplayJSMods={};preDisplayJSMods.define=jsMods.define;preDisplayJSMods.instances=jsMods.instances;preDisplayJSMods.markup=jsMods.markup;delete jsMods.define;delete jsMods.instances;delete jsMods.markup;preDisplayJSMods.pre_display_requires=jsMods.pre_display_requires;delete jsMods.pre_display_requires;var serverJS=new(require("ServerJS"))();serverJS.setRelativeTo(this.getRelativeTo());response.savedServerJSInstance=serverJS;var preDisplayPromises=this._handlePreDisplayServerJS(serverJS,preDisplayJSMods);if(preDisplayPromises&&preDisplayPromises.length){var realDispatch=dispatch;dispatch=function dispatch(){require("promiseDone")(require("Promise").all(preDisplayPromises).then(realDispatch))}}}}dispatch=require("executeAfter")(dispatch,function(){require("Arbiter").inform("AsyncRequest/"+arbiter_event,{request:this,response:response})}.bind(this));this.preBootloadHandler&&this.preBootloadHandler(response);response.css=response.css||[];response.js=response.js||[];require("Bootloader").loadResources(response.css.concat(response.js),require("AsyncRequestConfig").immediateDispatch?dispatch:function(){require("setTimeout")(dispatch,0)},this.getURI())}else typeof interpreted.transportError!=="undefined"?this._xFbServer?this._invokeErrorHandler(1008):this._invokeErrorHandler(1012):this._invokeErrorHandler(1007)};_proto._invokeErrorHandler=function _invokeErrorHandler(explicitError){var transport=this.transport;if(!transport)return;var error;if(this.responseText==="")error=1002;else if(this._requestAborted)error=1011;else{try{error=explicitError||transport.status||NETWORK_ERROR}catch(_unused3){error=1005}!1===navigator.onLine&&(error=NO_NETWORK_CONNECTION)}var desc,summary,silent=!0;if(error===NO_NETWORK_CONNECTION)summary=fbt._("No Network Connection"),desc=fbt._("Your browser appears to be offline. Please check your internet connection and try again.");else if(error>=300&&error<=399){summary=fbt._("Redirection");desc=fbt._("Your access to Facebook was redirected or blocked by a third party at this time, please contact your ISP or reload.");var location=transport.getResponseHeader("Location");location&&require("goURI")(location,!0);silent=!0}else summary=fbt._("Oops"),desc=fbt._("Something went wrong. We're working on getting this fixed as soon as we can. You may be able to try again.");var async_response=new(require("AsyncResponse"))(this,transport);Object.assign(async_response,{error:error,errorSummary:summary,errorDescription:desc,silentError:silent});require("setTimeout")(function(){require("Arbiter").inform("AsyncRequest/error",{request:this,response:async_response})}.bind(this),0);if(hasUnloaded()&&!this.getOption("handleErrorAfterUnload"))return;if(!this.transportErrorHandler){require("FBLogger")("asyncresponse").mustfix("Async request to %s failed with a %d error, but there was no error handler available to deal with it.",this.getURI(),error);return}var error_handler=this.getTransportErrorHandler().bind(this);!(this.getOption("suppressErrorAlerts")||WARNING_ERROR_CODES.has(error))?require("FBLogger")("asyncresponse").addToCategoryKey(String(error)).mustfix("Async request failed with error %s: %s when requesting %s",error,desc.toString(),this.getURI()):WARNING_ERROR_CODES.has(error)&&require("FBLogger")("asyncresponse").addToCategoryKey(String(error)).warn("Async request failed with error %s: %s when requesting %s",error,desc.toString(),this.getURI());(c_ErrorGuard||(c_ErrorGuard=require("ErrorGuard"))).applyWithGuard(this._dispatchErrorResponse,this,[async_response,error_handler])};_proto._isServerDialogErrorCode=function _isServerDialogErrorCode(error){return error==1357008||error==1357007||error==1357041||error==1442002||error==1357001};_proto._solveQuicksandChallenge=function _solveQuicksandChallenge(async_response){var payload=async_response.getPayload();require("Bootloader").loadModules(["QuickSandSolver"],function(QuickSandSolver){QuickSandSolver.solveAndSendRequestBack(this,payload)}.bind(this),"AsyncRequest")};_proto._displayServerDialog=function _displayServerDialog(async_response,is_confirmation,allow_get){allow_get===void 0&&(allow_get=!1);var payload=async_response.getPayload();if(payload.__dialog!==void 0){this._displayServerLegacyDialog(async_response,is_confirmation);return}var json=payload.__dialogx;new(require("ServerJS"))().handle(json);require("Bootloader").loadModules(["ConfirmationDialog"],function(ConfirmationDialog){ConfirmationDialog.setupConfirmation(async_response,this,allow_get)}.bind(this),"AsyncRequest")};_proto._displayServerLegacyDialog=function _displayServerLegacyDialog(async_response,is_confirmation){var model=async_response.getPayload().__dialog;require("Bootloader").loadModules(["Dialog"],function(Dialog){var dialog=new Dialog(model);is_confirmation&&dialog.setHandler(this._displayConfirmationHandler.bind(this,dialog));dialog.setCancelHandler(function(){var handler=this.getServerDialogCancelHandler();try{handler&&handler(async_response)}catch(e){throw e}finally{this.finallyHandler(async_response)}}.bind(this)).setCausalElement(this.relativeTo).show()}.bind(this),"AsyncRequest")};_proto._displayConfirmationHandler=function _displayConfirmationHandler(dialog){this.data.confirmed=1,Object.assign(this.data,dialog.getFormData()),this.send()};_proto.setJSONPTransport=function setJSONPTransport(transport){transport.subscribe("response",this._handleJSONPResponse.bind(this)),transport.subscribe("abort",this._handleJSONPAbort.bind(this)),this.transport=transport};_proto._handleJSONPResponse=function _handleJSONPResponse(_,data){var transport=this.transport;if(!transport)return;data.bootloadOnly||(this.is_first=this.is_first===void 0);var interpreted=this._interpretResponse(data);interpreted.asyncResponse&&(interpreted.asyncResponse.is_first=this.is_first,interpreted.asyncResponse.is_last=transport.hasFinished());this.invokeResponseHandler(interpreted);transport.hasFinished()&&delete this.transport};_proto._handleJSONPAbort=function _handleJSONPAbort(){this._invokeErrorHandler(),delete this.transport};_proto._handleXHRResponse=function _handleXHRResponse(transport){var interpreted;if(this.getOption("suppressEvaluation"))interpreted={asyncResponse:new(require("AsyncResponse"))(this,transport)};else try{this._handleFlushedResponse();var text=transport.responseText;text=this._filterOutFlushedText(text);var safe_text=this._unshieldResponseText(text),_response;try{_response=JSON.parse(safe_text)}catch(error){_response=eval("("+safe_text+")"),require("FBLogger")("async_request").catching(error).warn("JSON.parse encountered an exception, fallback to eval. Endpoint: "+new(c_URI||(c_URI=require("URI")))(this.uri).getPath())}interpreted=this._interpretResponse(_response)}catch(error){interpreted=error.message,require("FBLogger")("async_request").catching(error).warn("Failed to handle response")}this.invokeResponseHandler(interpreted)};_proto._handleFlushedResponse=function _handleFlushedResponse(){var flushedResponseHandler=this.flushedResponseHandler,transport=this.transport;if(flushedResponseHandler&&transport){var jsonShieldIndex=transport.responseText.indexOf(JSON_HIJACKING_SHIELD),flushedTextEndIndex=jsonShieldIndex===-1?transport.responseText.length:jsonShieldIndex;flushedResponseHandler(transport.responseText.substring(this.flushedResponseTextParseIndex,flushedTextEndIndex));this.flushedResponseTextParseIndex=flushedTextEndIndex}};_proto._unshieldResponseText=function _unshieldResponseText(text){if(text.length<=JSON_HIJACKING_SHIELD_LEN)throw new Error("Response too short on async");var offset=0;while(text.charAt(offset)==" "||text.charAt(offset)=="\n")offset++;offset&&text.substring(offset,offset+JSON_HIJACKING_SHIELD_LEN)==JSON_HIJACKING_SHIELD;return text.substring(offset+JSON_HIJACKING_SHIELD_LEN)};_proto._filterOutFlushedText=function _filterOutFlushedText(text){if(!this.flushedResponseHandler)return text;var index=text.indexOf(JSON_HIJACKING_SHIELD);return index<0?text:text.substr(index)};_proto._interpretResponse=function _interpretResponse(response){if(response.redirect)return{redirect:response.redirect};if(response.bootloadOnly)return{bootloadOnly:response.bootloadOnly};var isServerDialog=response.error&&this._isServerDialogErrorCode(response.error);this._shouldReplaceTransportMarkers&&response.payload&&!isServerDialog&&require("replaceTransportMarkers")({relativeTo:this.getRelativeTo(),bigPipeContext:null},response.payload);var r=new(require("AsyncResponse"))(this);if(response.__ar!=1)require("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()),r.payload=response;else{Object.assign(r,response);var transport=this.transport;transport&&transport.getAllResponseHeaders!==void 0&&(r.responseHeaders=transport.getAllResponseHeaders())}return{asyncResponse:r}};_proto._isMultiplexable=function _isMultiplexable(){if(this.getOption("jsonp")||this.getOption("useIframeTransport")||this.getOption("useFetchWithIframeFallback")){require("FBLogger")("AsyncRequest").mustfix("You cannot bundle AsyncRequest that uses jsonp or iframe transport.");return!1}if(!require("isFacebookURI")(new(c_URI||(c_URI=require("URI")))(this.uri))){require("FBLogger")("AsyncRequest").mustfix("You can not bundle AsyncRequest sent to non-facebook URIs. Uri: %s",this.getURI());return!1}if(!this.getOption("asynchronous_DEPRECATED")){require("FBLogger")("AsyncRequest").mustfix("We cannot bundle synchronous AsyncRequests");return!1}return!0};_proto.handleResponse=function handleResponse(response){var interpreted=this._interpretResponse(response);this.invokeResponseHandler(interpreted)};_proto.setMethod=function setMethod(m){this.method=m.toString().toUpperCase();return this};_proto.getMethod=function getMethod(){return this.method};_proto.setData=function setData(obj){this.data=obj;return this};_proto.setRequestHeader=function setRequestHeader(name,value){this.headers[name]=value;return this};_proto.setRawData=function setRawData(raw_data){this.rawData=raw_data;return this};_proto.getData=function getData(){return this.data};_proto.setContextData=function setContextData(key,value,enabled){enabled=enabled===void 0?!0:enabled;enabled&&(this.context["_log_"+key]=value);return this};_proto._setUserActionID=function _setUserActionID(){this.userActionID=(require("SessionName").getName()||"-")+"/-"};_proto.setURI=function setURI(uri){typeof uri==="string"&&uri.match(/^\/?u_\d+_\d+/)&&require("FBLogger")("asyncrequest").warn("Invalid URI %s",uri);var uri_obj=new(c_URI||(c_URI=require("URI")))(uri);if((this.getOption("useIframeTransport")||this.getOption("useFetchWithIframeFallback"))&&!require("isFacebookURI")(uri_obj))return this;if(!this._allowCrossOrigin&&!this.getOption("jsonp")&&!this.getOption("useIframeTransport")&&!this.getOption("useFetchWithIframeFallback")&&!uri_obj.isSameOrigin())return this;this._setUserActionID();if(!uri||uri_obj.isEmpty()){require("FBLogger")("async_request").mustfix("URI cannot be empty");return this}this.uri=require("ZeroRewrites").rewriteURI(uri_obj);return this};_proto.getURI=function getURI(){return this.uri.toString()};_proto.delayPreDisplayJS=function delayPreDisplayJS(shouldDelayJS){shouldDelayJS===void 0&&(shouldDelayJS=!0);this._delayPreDisplayJS=shouldDelayJS;return this};_proto.setInitialHandler=function setInitialHandler(fn){this.initialHandler=fn;return this};_proto.setPayloadHandler=function setPayloadHandler(fn){this.setHandler(function(response){fn(response.payload)});return this};_proto.setHandler=function setHandler(fn){validateResponseHandler(fn)&&(this.handler=fn);return this};_proto.setFlushedResponseHandler=function setFlushedResponseHandler(fn){validateResponseHandler(fn)&&(this.flushedResponseHandler=fn);return this};_proto.getHandler=function getHandler(){return this.handler||require("emptyFunction")};_proto.setProgressHandler=function setProgressHandler(fn){validateResponseHandler(fn)&&(this.progressHandler=fn);return this};_proto.setUploadProgressHandler=function setUploadProgressHandler(fn){validateResponseHandler(fn)&&(this.uploadProgressHandler=fn);return this};_proto.setErrorHandler=function setErrorHandler(fn){validateResponseHandler(fn)&&(this.errorHandler=fn);return this};_proto.setTransportErrorHandler=function setTransportErrorHandler(fn){this.transportErrorHandler=fn;return this};_proto.getErrorHandler=function getErrorHandler(){return this.errorHandler||require("emptyFunction")};_proto.getTransportErrorHandler=function getTransportErrorHandler(){return this.transportErrorHandler||require("emptyFunction")};_proto.setTimeoutHandler=function setTimeoutHandler(timeout,fn){validateResponseHandler(fn)&&(this.timeout=timeout,this.timeoutHandler=fn);return this};_proto.resetTimeout=function resetTimeout(timeout){if(!(this.timeoutHandler===null))if(timeout===null)this.timeout=null,require("clearTimeout")(this.timer),this.timer=null;else{var clear_on_quickling_event=!this._allowCrossPageTransition;this.timeout=timeout;require("clearTimeout")(this.timer);clear_on_quickling_event?this.timer=require("setTimeout")(this._handleTimeout.bind(this),this.timeout):this.timer=require("setTimeoutAcrossTransitions")(this._handleTimeout.bind(this),this.timeout)}return this};_proto._handleTimeout=function _handleTimeout(){var _this2=this;this.continuation.last(function(){_this2._requestTimeout=!0;var func=_this2.timeoutHandler;_this2.abandon();func&&func(_this2);require("setTimeout")(function(){require("Arbiter").inform("AsyncRequest/timeout",{request:this})}.bind(_this2),0)})};_proto.disableInteractionServerTracing=function disableInteractionServerTracing(){this.allowInteractionServerTracing=!1;return this};_proto.setNewSerial=function setNewSerial(){this.id=++last_id;return this};_proto.setInterceptHandler=function setInterceptHandler(fn){this.interceptHandler=fn;return this};_proto.setFinallyHandler=function setFinallyHandler(fn){this.finallyHandler=fn;return this};_proto.setAbortHandler=function setAbortHandler(fn){this.abortHandler=fn;return this};_proto.getServerDialogCancelHandler=function getServerDialogCancelHandler(){return this.serverDialogCancelHandler};_proto.setServerDialogCancelHandler=function setServerDialogCancelHandler(fn){this.serverDialogCancelHandler=fn;return this};_proto.setPreBootloadHandler=function setPreBootloadHandler(fn){this.preBootloadHandler=fn;return this};_proto.setReadOnly=function setReadOnly(readOnly){typeof readOnly!=="boolean"||(this.readOnly=readOnly);return this};_proto.getReadOnly=function getReadOnly(){return this.readOnly};_proto.setRelativeTo=function setRelativeTo(element){this.relativeTo=element;return this};_proto.getRelativeTo=function getRelativeTo(){return this.relativeTo};_proto.setStatusClass=function setStatusClass(c){this.statusClass=c;return this};_proto.setStatusElement=function setStatusElement(element){this.statusElement=element;return this};_proto.getStatusElement=function getStatusElement(){return require("ge")(this.statusElement)};_proto._isRelevant=function _isRelevant(){if(this._allowCrossPageTransition)return!0;return!this.id?!0:this.id>id_threshold};_proto.clearStatusIndicator=function clearStatusIndicator(){var statusElem=this.getStatusElement();statusElem&&(require("CSS").removeClass(statusElem,"async_saving"),require("CSS").removeClass(statusElem,this.statusClass))};_proto.addStatusIndicator=function addStatusIndicator(){var statusElem=this.getStatusElement();statusElem&&(require("CSS").addClass(statusElem,"async_saving"),require("CSS").addClass(statusElem,this.statusClass))};_proto.specifiesWriteRequiredParams=function specifiesWriteRequiredParams(){return this.writeRequiredParams.every(function(param){this.data[param]=this.data[param]||(c_Env||(c_Env=require("Env")))[param]||(require("ge")(param)||{}).value;return this.data[param]!==void 0?!0:!1},this)};_proto.setOption=function setOption(opt,v){typeof this.option[opt]!=="undefined"&&(this.option[opt]=v);return this};_proto.getOption=function getOption(opt){typeof this.option[opt]==="undefined";return this.option[opt]};_proto.abort=function abort(){var _this3=this;this.continuation.last(function(){var transport=_this3.transport;if(transport){var old_handler=_this3.getTransportErrorHandler();_this3.setOption("suppressErrorAlerts",!0);_this3.setTransportErrorHandler(require("emptyFunction"));_this3._requestAborted=!0;transport.abort();_this3.setTransportErrorHandler(old_handler)}_this3.abortHandler();AsyncMultiplex.unschedule(_this3)})};_proto.abandon=function abandon(){var _this4=this;this.continuation.last(function(){var emptyFunction;require("clearTimeout")(_this4.timer);_this4.setOption("suppressErrorAlerts",!0).setHandler(emptyFunction=require("emptyFunction")).setErrorHandler(emptyFunction).setTransportErrorHandler(emptyFunction).setProgressHandler(emptyFunction).setUploadProgressHandler(emptyFunction);var transport=_this4.transport;transport&&(_this4._requestAborted=!0,supportsProgress(transport)&&delete transport.onprogress,supportsUploadProgress(transport)&&delete transport.upload.onprogress,transport.abort());_this4.abortHandler();AsyncMultiplex.unschedule(_this4)})};_proto.setNectarData=function setNectarData(nctrParams){nctrParams&&(this.data.nctr===void 0&&(this.data.nctr={}),Object.assign(this.data.nctr,nctrParams));return this};_proto.setNectarModuleDataSafe=function setNectarModuleDataSafe(elem){var setNectarModuleData=this.setNectarModuleData;setNectarModuleData&&setNectarModuleData.call(this,elem);return this};_proto.setAllowCrossPageTransition=function setAllowCrossPageTransition(allow){this._allowCrossPageTransition=!!allow;this.timer&&this.resetTimeout(this.timeout);return this};_proto.getAllowIrrelevantRequests=function getAllowIrrelevantRequests(){return this._allowIrrelevantRequests};_proto.setAllowIrrelevantRequests=function setAllowIrrelevantRequests(allowIrrelevantRequests){this._allowIrrelevantRequests=allowIrrelevantRequests;return this};_proto.setAllowCrossOrigin=function setAllowCrossOrigin(allow){this._allowCrossOrigin=allow;return this};_proto.setAllowCredentials=function setAllowCredentials(allow){this._allowCredentials=allow;return this};_proto.setIsBackgroundRequest=function setIsBackgroundRequest(isBackgroundRequest){this._isBackgroundRequest=isBackgroundRequest;return this};_proto.setReplaceTransportMarkers=function setReplaceTransportMarkers(value){value===void 0&&(value=!0);this._shouldReplaceTransportMarkers=value;return this};_proto.sendAndReturnAbortHandler=function sendAndReturnAbortHandler(){var _this5=this;this.send();return function(){return _this5.abort()}};_proto.send=function send(isRetry){var _this6=this;isRetry=isRetry||!1;if(!this.uri)return!1;this.errorHandler||!this.getOption("suppressErrorHandlerWarning");this.getOption("jsonp")&&this.method!="GET"&&this.setMethod("GET");(this.getOption("useIframeTransport")||this.getOption("useFetchWithIframeFallback"))&&this.method!="GET"&&this.setMethod("GET");this.timeoutHandler!==null&&(this.getOption("jsonp")||this.getOption("useIframeTransport")||this.getOption("useFetchWithIframeFallback"));if(!this.getReadOnly()){this.specifiesWriteRequiredParams();if(this.method!="POST")return!1}if(document.location.search.toString().includes(this.uri.toString()))return!1;if(this.uri.toString().includes("/../")||this.uri.toString().includes("\\../")||this.uri.toString().includes("/..\\")||this.uri.toString().includes("\\..\\"))return!1;Object.assign(this.data,require("getAsyncParams")(this.method));this.allowInteractionServerTracing&&(this._artilleryHandle=require("ArtilleryAsyncRequestTracingAnnotator").registerAsyncRequest(this,this.resourceTimingStoreUID));(c_isEmpty||(c_isEmpty=require("isEmpty")))(this.context)||(Object.assign(this.data,this.context),this.data.ajax_log=1);(c_Env||(c_Env=require("Env"))).force_param&&Object.assign(this.data,(c_Env||(c_Env=require("Env"))).force_param);this._setUserActionID();if(this.getOption("bundle")&&this._isMultiplexable()){AsyncMultiplex.schedule(this);return!0}this.setNewSerial();this.getOption("asynchronous_DEPRECATED")||this.uri.addQueryData({__sjax:1});require("Arbiter").inform("AsyncRequest/send",{request:this});var uri_str,query;this.method=="GET"&&this.uri.addQueryData({fb_dtsg_ag:require("DTSG_ASYNC").getToken()});this.method=="GET"||this.rawData?(uri_str=this.uri.addQueryData(this.data).toString(),query=this.rawData||""):(this._allowCrossOrigin&&this.uri.addQueryData({__a:1}),uri_str=this.uri.toString(),query=(c_PHPQuerySerializer||(c_PHPQuerySerializer=require("PHPQuerySerializer"))).serialize(this.data));if(this.transport)return!1;if(this.getOption("useFetchWithIframeFallback"))try{var _transport2=new(require("FetchStreamTransport"))(this.uri);this.setJSONPTransport(_transport2);this._markRequestSent();_transport2.send();this.setOption("useIframeTransport",!1);return!0}catch(_unused4){this.setOption("useFetchWithIframeFallback",!1),this.setOption("useIframeTransport",!0)}if(this.getOption("jsonp")||this.getOption("useIframeTransport")){requireLazy(["JSONPTransport"],function(JSONPTransport){var transport=new JSONPTransport(this.getOption("jsonp")?"jsonp":"iframe",this.uri);this.setJSONPTransport(transport);this._markRequestSent();transport.send();require("ProfilingCounters").incrementCounter("ASYNC_REQUEST_COUNT",1)}.bind(this));return!0}this.flushedResponseHandler&&(this.flushedResponseTextParseIndex=0);var transport=require("ZeroRewrites").getTransportBuilderForURI(this.uri)();if(!transport)return!1;this.schedule("AsyncRequest.send");transport.onreadystatechange=function(){var _transport=_this6.transport;_transport&&_transport.readyState>=2&&_transport.readyState<=3&&_this6._handleFlushedResponse();transport.readyState===4&&_this6.continuation.last(_this6._onStateChange)};this.progressHandler&&supportsProgress(transport)&&(transport.onprogress=function(){for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];_this6.continuation(function(){_this6.progressHandler&&_this6.progressHandler.apply(_this6,args)})});this.uploadProgressHandler&&supportsUploadProgress(transport)&&(transport.upload.onprogress=function(){for(var _len2=arguments.length,args=new Array(_len2),_key2=0;_key2<_len2;_key2++)args[_key2]=arguments[_key2];_this6.continuation(function(){_this6.uploadProgressHandler&&_this6.uploadProgressHandler.apply(_this6,args)})});isRetry||(this.remainingRetries=this.getOption("retries"));this.transport=transport;try{transport.open(this.method,uri_str,this.getOption("asynchronous_DEPRECATED"))}catch(exception){return!1}if(!this.uri.isSameOrigin()&&!this.getOption("jsonp")&&!this.getOption("useIframeTransport")&&!this.getOption("useFetchWithIframeFallback")){if(!supportsCrossOrigin(transport))return!1;this._canSendCredentials()&&(transport.withCredentials=!0)}this.method=="POST"&&!this.rawData&&transport.setRequestHeader("Content-Type","application/x-www-form-urlencoded");this._isBackgroundRequest&&transport.setRequestHeader("X_FB_BACKGROUND_STATE","1");var asyncHeaders=require("getAsyncHeaders")(this.uri);Object.keys(asyncHeaders).forEach(function(name){transport&&transport.setRequestHeader(name,asyncHeaders[name])});require("Arbiter").inform("AsyncRequest/will_send",{request:this});if(transport)for(var headerName in this.headers)Object.prototype.hasOwnProperty.call(this.headers,headerName)&&transport.setRequestHeader(headerName,this.headers[headerName]);this.addStatusIndicator();this._markRequestSent();transport.send(query);this.timeout!==null&&this.resetTimeout(this.timeout);AsyncRequest._inflightCount++;require("ProfilingCounters").incrementCounter("ASYNC_REQUEST_COUNT",1);return!0};_proto.schedule=function schedule(name){this.continuation=require("TimeSlice").getReusableContinuation(name)};_proto._canSendCredentials=function _canSendCredentials(){if(this._allowCredentials===!1)return!1;var uri=new(c_URI||(c_URI=require("URI")))(this.uri);return require("isFacebookURI")(uri)||require("isInternalFBURI")(uri)||require("isMessengerDotComURI")(uri)||require("isWorkplaceDotComURI")(uri)};_proto._markRequestSent=function _markRequestSent(){var _this7=this,fullURI=new(c_URI||(c_URI=require("URI")))(this.getURI()).getQualifiedURI().toString();require("ResourceTimingsStore").updateURI(require("ResourceTypes").XHR,this.resourceTimingStoreUID,fullURI);require("ResourceTimingsStore").annotate(require("ResourceTypes").XHR,this.resourceTimingStoreUID).addStringAnnotation("uri",fullURI);require("ifRequired")("TimeSliceAutoclosedInteraction",function(TimeSliceAutoclosedInteraction){return TimeSliceAutoclosedInteraction.getInteractionsActiveRightNow().forEach(function(interaction){return interaction.forResourceRequest(_this7.resourceTimingStoreUID).addStringAnnotation("requested_in_continuation","true")})});require("ResourceTimingsStore").measureRequestSent(require("ResourceTypes").XHR,this.resourceTimingStoreUID)};_proto.promisePayload=function promisePayload(isRetry){return this.exec().then(function(response){return response.payload},function(response){throw response.toError()})};_proto.exec=function exec(isRetry){var _this8=this;if(this.getHandler()!==require("emptyFunction")||this.getErrorHandler()!==require("AsyncResponse").defaultErrorHandler)throw new Error("exec is an async function and does not allow previously set handlers");return new(require("Promise"))(function(resolve,reject){_this8.setHandler(resolve).setErrorHandler(reject).send(isRetry)})};AsyncRequest.bootstrap=function bootstrap(href,elem,is_post){var method="GET",readonly=!0,data={};(is_post||elem&&elem.rel=="async-post")&&(method="POST",readonly=!1,href&&(href=new(c_URI||(c_URI=require("URI")))(href),data=href.getQueryData(),href.setQueryData({})));var status_elem=require("Parent").byClass(elem,"stat_elem")||elem;if(status_elem&&require("CSS").hasClass(status_elem,"async_saving"))return!1;var async=new AsyncRequest(href).setReadOnly(readonly).setMethod(method).setData(data).setNectarModuleDataSafe(elem).setRelativeTo(elem);elem&&(async.setHandler(function(response){require("Event").fire(elem,"success",{response:response})}),async.setErrorHandler(function(response){require("Event").fire(elem,"error",{response:response})!==!1&&require("AsyncResponse").defaultErrorHandler(response)}));if(status_elem instanceof HTMLElement){async.setStatusElement(status_elem);var status_class=status_elem.getAttribute("data-status-class");status_class&&async.setStatusClass(status_class)}async.send();return!1};AsyncRequest.post=function post(href,data){new AsyncRequest(href).setReadOnly(!1).setMethod("POST").setData(data).send();return!1};AsyncRequest.postStatic=function postStatic(href,data){AsyncRequest.post(href,data)};AsyncRequest.getLastID=function getLastID(){return last_id};AsyncRequest.ignoreUpdate=function ignoreUpdate(){ignore_id_update=!0};AsyncRequest.getInflightCount=function getInflightCount(){return this._inflightCount};return AsyncRequest}();AsyncRequest._inflightCount=0;var _asyncMultiplex,_pendingAsyncMultiplexes=[],AsyncMultiplex=function(){function AsyncMultiplex(){this._requests=[]}var _proto2=AsyncMultiplex.prototype;_proto2.add=function add(request){this._requests.push(request)};_proto2.remove=function remove(request){var requests=this._requests,requestsSent=this._requestsSent;for(var ii=0,jj=requests.length;iithis._lastResizeAckId&&(this._lastResizeAckId=b.id)}.bind(this))},getQueue:function(){this._queue||(this._queue=new(b("Queue"))());return this._queue},setChannelUrl:function(a){var b=this;this.getQueue().start(function(c){return b.send(c,a)})},send:function(a,c){a===void 0&&(a=null);c===void 0&&(c=null);c=c||this._opts.channelUrl;if(!c){this.getQueue().enqueue(a);return}var d={};c=new(g||(g=b("URI")))(c);Object.assign(d,a,(h||(h=b("PHPQuerySerializer"))).deserialize(c.getFragment()));c=new g(d.origin);if(c.getDomain()===""){b("Log").error("No valid domain for XD message target.");return}var e=c.getOrigin();if(typeof d.relation!=="string"){b("Log").error("No relation specified to resolve XD target window.");return}var f=b("resolveWindow")(d.relation.replace(/^parent\./,"")),i=1;c=function c(){try{f.postMessage((h||(h=b("PHPQuerySerializer"))).serialize(d),e)}catch(d){--i?window.setTimeout(c,200):b("sdk.Scribe").log("jssdk_error",{error:"POST_MESSAGE",extra:{message:d.message+", html/js/modules/XD.js:139",ancestor_origins:JSON.stringify(location.ancestorOrigins),referrer:document.referrer,data:a}})}};c()},_computeSize:function(){var a=b("DOMDimensions").getDocumentDimensions(),c=0;if(this._opts.resizeWidth){var d=document.body;if(d!=null){if(d.clientWidthc&&(c=d)}}c=Math.max(c,i._forcedMinWidth)}else c=i._forcedMinWidth}a.width=c;this._opts.allowShrink&&(this._shrinker||(this._shrinker=b("DOM").create("div")),b("DOM").appendContent(document.body,this._shrinker),a.height=Math.max(this._shrinker.offsetTop,0));return a},_startResizeMonitor:function(){var a,c;a=(a=document.documentElement)!=null?a:{};if(this._opts.hideOverflow){a.style.overflow="hidden";((a=document.body)!=null?a:{}).style.overflow="hidden"}a=function(){var a=this._computeSize(),d=Date.now();if(!c||this._opts.allowShrink&&c.width!=a.width||!this._opts.allowShrink&&c.width0&&(d/=g,e/=g);if(!isFinite(d)||!isFinite(e))return;j[0]+=d;arguments.length>=5&&(j[1]||(j[1]=0),j[1]+=e)};return a}();var h=new a();b("Banzai").subscribe(b("Banzai").SEND,function(){return h.flush()});e.exports=h}),null); __d("BanzaiScuba",["Banzai","FBLogger"],(function(a,b,c,d,e,f){var g="scuba_sample";a=function(){"use strict";function a(a,c,d){this.posted=!1,a||b("FBLogger")("BanzaiScuba").warn("Can't post a sample without a dataset"),this.dataset=a,this.$1=c,this.options=d}var c=a.prototype;c.$2=function(a,c,d){if(this.posted){b("FBLogger")("BanzaiScuba").warn("Trying to add to an already posted sample");return a}a=a||{};a[c]=d;return a};c.addNormal=function(a,b){this.normal=this.$2(this.normal,a,b);return this};c.addInteger=function(a,b){this["int"]=this.$2(this["int"],a,b);return this};c.addDenorm=function(a,b){this.denorm=this.$2(this.denorm,a,b);return this};c.addTagSet=function(a,b){this.tags=this.$2(this.tags,a,b);return this};c.addNormVector=function(a,b){this.normvector=this.$2(this.normvector,a,b);return this};c.post=function(a){if(this.posted){b("FBLogger")("BanzaiScuba").warn("Trying to re-post");return}if(!this.dataset)return;var c={};c._ds=this.dataset;c._options=this.options;this.normal&&(c.normal=this.normal);this["int"]&&(c["int"]=this["int"]);this.denorm&&(c.denorm=this.denorm);this.tags&&(c.tags=this.tags);this.normvector&&(c.normvector=this.normvector);this.$1!==null&&this.$1!==""&&this.$1!==void 0&&(c._lid=this.$1);b("Banzai").post(g,c,a);this.posted=!0};return a}();e.exports=a}),null); __d("Base64",[],(function(a,b,c,d,e,f){var g="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";function h(a){a=a.charCodeAt(0)<<16|a.charCodeAt(1)<<8|a.charCodeAt(2);return String.fromCharCode(g.charCodeAt(a>>>18),g.charCodeAt(a>>>12&63),g.charCodeAt(a>>>6&63),g.charCodeAt(a&63))}var i=">___?456789:;<=_______\0\x01\x02\x03\x04\x05\x06\x07\b\t\n\v\f\r\x0e\x0f\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19______\x1a\x1b\x1c\x1d\x1e\x1f !\"#$%&'()*+,-./0123";function j(a){a=i.charCodeAt(a.charCodeAt(0)-43)<<18|i.charCodeAt(a.charCodeAt(1)-43)<<12|i.charCodeAt(a.charCodeAt(2)-43)<<6|i.charCodeAt(a.charCodeAt(3)-43);return String.fromCharCode(a>>>16,a>>>8&255,a&255)}var k={encode:function(a){a=unescape(encodeURI(a));var b=(a.length+2)%3;a=(a+"\0\0".slice(b)).replace(/[\s\S]{3}/g,h);return a.slice(0,a.length+b-2)+"==".slice(b)},decode:function(a){a=a.replace(/[^A-Za-z0-9+\/]/g,"");var b=a.length+3&3;a=(a+"AAA".slice(b)).replace(/..../g,j);a=a.slice(0,a.length+b-3);try{return decodeURIComponent(escape(a))}catch(a){throw new Error("Not valid UTF-8")}},encodeObject:function(a){return k.encode(JSON.stringify(a))},decodeObject:function(a){return JSON.parse(k.decode(a))},encodeNums:function(a){return String.fromCharCode.apply(String,a.map(function(a){return g.charCodeAt((a|-(a>63?1:0))&-(a>0?1:0)&63)}))}};e.exports=k}),null); __d("normalizeBoundingClientRect",[],(function(a,b,c,d,e,f){"use strict";function a(a,b){a=a.ownerDocument.documentElement;var c=a?a.clientLeft:0;a=a?a.clientTop:0;var d=Math.round(b.left)-c;c=Math.round(b.right)-c;var e=Math.round(b.top)-a;b=Math.round(b.bottom)-a;return{left:d,right:c,top:e,bottom:b,width:c-d,height:b-e}}e.exports=a}),null); __d("getElementRect",["containsNode","normalizeBoundingClientRect"],(function(a,b,c,d,e,f){function a(a){var c;c=a==null?void 0:(c=a.ownerDocument)==null?void 0:c.documentElement;return!a||!("getBoundingClientRect"in a)||!b("containsNode")(c,a)?{left:0,right:0,top:0,bottom:0,width:0,height:0}:b("normalizeBoundingClientRect")(a,a.getBoundingClientRect())}e.exports=a}),null); __d("getElementPosition",["getElementRect"],(function(a,b,c,d,e,f){function a(a){a=b("getElementRect")(a);return{x:a.left,y:a.top,width:a.right-a.left,height:a.bottom-a.top}}e.exports=a}),null); __d("getViewportDimensions",["UserAgent"],(function(a,b,c,d,e,f){"use strict";var g=function(){var a=null;return function(){var b=document.body;if(b==null)return null;(a==null||!b.contains(a))&&(a=document.createElement("div"),a.style.left=Number.MAX_SAFE_INTEGER+"px",a.style.width="100%",a.style.height="100%",a.style.position="fixed",b.appendChild(a));return a}}();function h(){var a;document.documentElement&&(a=document.documentElement.clientWidth);a==null&&document.body&&(a=document.body.clientWidth);return a||0}function i(){var a;document.documentElement&&(a=document.documentElement.clientHeight);a==null&&document.body&&(a=document.body.clientHeight);return a||0}function j(){return{width:window.innerWidth||h(),height:window.innerHeight||i()}}j.withoutScrollbars=function(){return b("UserAgent").isPlatform("Android")?j():{width:h(),height:i()}};j.layout=function(){var a,b=g();return{width:(a=b==null?void 0:b.clientWidth)!=null?a:h(),height:(a=b==null?void 0:b.clientHeight)!=null?a:i()}};e.exports=j}),null); __d("getVendorPrefixedName",["invariant","ExecutionEnvironment","UserAgent","camelize"],(function(a,b,c,d,e,f,g){var h={},i=["Webkit","ms","Moz","O"],j=new RegExp("^("+i.join("|")+")"),k=b("ExecutionEnvironment").canUseDOM?document.createElement("div").style:{};function l(a){for(var b=0;b= 315.14.2")?"WebkitLineClamp":null;default:return null}}function a(a){var c=b("camelize")(a);if(h[c]===void 0){var d=c.charAt(0).toUpperCase()+c.slice(1);j.test(d)&&g(0,957,a);b("ExecutionEnvironment").canUseDOM?h[c]=c in k?c:l(d):h[c]=m(c)}return h[c]}e.exports=a}),null); __d("BrowserSupportCore",["getVendorPrefixedName"],(function(a,b,c,d,e,f){a={hasCSSAnimations:function(){return!!b("getVendorPrefixedName")("animationName")},hasCSSTransforms:function(){return!!b("getVendorPrefixedName")("transform")},hasCSS3DTransforms:function(){return!!b("getVendorPrefixedName")("perspective")},hasCSSTransitions:function(){return!!b("getVendorPrefixedName")("transition")}};e.exports=a}),null); __d("BrowserSupport",["BrowserSupportCore","ExecutionEnvironment","UserAgent_DEPRECATED","getVendorPrefixedName","memoize"],(function(a,b,c,d,e,f){var g=null;function h(){if(b("ExecutionEnvironment").canUseDOM){g||(g=document.createElement("div"));return g}return null}c=function(a){return b("memoize")(function(){var b=h();return!b?!1:a(b)})};d={hasCSSAnimations:(d=b("BrowserSupportCore")).hasCSSAnimations,hasCSSTransforms:d.hasCSSTransforms,hasCSS3DTransforms:d.hasCSS3DTransforms,hasCSSTransitions:d.hasCSSTransitions,hasPositionSticky:c(function(a){a.style.cssText="position:-moz-sticky;position:-webkit-sticky;position:-o-sticky;position:-ms-sticky;position:sticky;";return/sticky/.test(a.style.position)}),hasScrollSnapPoints:c(function(a){return"scrollSnapType"in a.style||"webkitScrollSnapType"in a.style||"msScrollSnapType"in a.style}),hasScrollBehavior:c(function(a){return"scrollBehavior"in a.style}),hasPointerEvents:c(function(a){if(!("pointerEvents"in a.style))return!1;a.style.cssText="pointer-events:auto";return a.style.pointerEvents==="auto"}),hasFileAPI:(f=b("memoize"))(function(){return!(b("UserAgent_DEPRECATED").webkit()&&!b("UserAgent_DEPRECATED").chrome()&&b("UserAgent_DEPRECATED").windows())&&"FileList"in window&&"FormData"in window}),hasBlobFactory:f(function(){return!!a.blob}),hasSVGForeignObject:f(function(){return b("ExecutionEnvironment").canUseDOM&&document.createElementNS&&document.createElementNS("http://www.w3.org/2000/svg","foreignObject").toString().includes("SVGForeignObject")}),hasMutationObserver:f(function(){return!!window.MutationObserver}),getTransitionEndEvent:f(function(){var a={transition:"transitionend",WebkitTransition:"webkitTransitionEnd",MozTransition:"mozTransitionEnd",OTransition:"oTransitionEnd"},c=b("getVendorPrefixedName")("transition");return a[c]||null}),hasCanvasRenderingContext2D:function(){return!!window.CanvasRenderingContext2D}};e.exports=d}),null); __d("requestAnimationFrame",["TimerStorage","TimeSlice","requestAnimationFrameAcrossTransitions"],(function(a,b,c,d,e,f){function a(a,c){function d(c){b("TimerStorage").unset(b("TimerStorage").ANIMATION_FRAME,e),a(c)}b("TimeSlice").copyGuardForWrapper(a,d);d.__originalCallback=a;var e=b("requestAnimationFrameAcrossTransitions")(d,c);b("TimerStorage").set(b("TimerStorage").ANIMATION_FRAME,e);return e}e.exports=a}),null); __d("React",["requireCond","cr:1108857","cr:1294158"],(function(a,b,c,d,e,f){e.exports=b("cr:1294158")}),null); __d("csx",[],(function(a,b,c,d,e,f){function a(a){throw new Error("csx: Unexpected class selector transformation.")}e.exports=a}),null);