if (self.CavalryLogger) { CavalryLogger.start_js(["Z3urS"]); } self.__DEV__=self.__DEV__||0,self.emptyFunction=function(){}; "use strict"; "use strict";(function(){if(!Array.prototype.flat){var a=function b(a){return a<1?Array.prototype.slice.call(this):Array.prototype.reduce.call(this,function(c,d){Array.isArray(d)?c.push.apply(c,b.call(d,a-1)):c.push(d);return c},[])};Array.prototype.flat=function(){return a.call(this,isNaN(arguments[0])?1:Number(arguments[0]))}}if(!Array.prototype.flatMap){var b=function(a,b){var c=[];if(typeof b!=="function")throw new TypeError("Callback function must be callable.");for(var d=0;d1?c(arguments[1]):0,h=g<0?Math.max(f+g,0):g,i=Number.isNaN(d);while(h=0?1:-1}})(); var __p; (function(){var a={},b=function(a,b){if(!a&&!b)return null;var c={};typeof a!=="undefined"&&(c.type=a);typeof b!=="undefined"&&(c.signature=b);return c},c=function(a,c){return b(a&&/^[A-Z]/.test(a)?a:void 0,c&&(c.params&&c.params.length||c.returns)?"function("+(c.params?c.params.map(function(a){return/\?/.test(a)?"?"+a.replace("?",""):a}).join(","):"")+")"+(c.returns?":"+c.returns:""):void 0)},d=function(a,b,c){return a},e=function(a,b,d){"sourcemeta"in __transform_includes&&(a.__SMmeta=b);if("typechecks"in __transform_includes){b=c(b?b.name:void 0,d);b&&__w(a,b)}return a},f=function(a,b,c){return c.apply(a,b)},g=function(a,b,c,d){d&&d.params&&__t.apply(a,d.params);c=c.apply(a,b);d&&d.returns&&__t([c,d.returns]);return c};g=function(b,c,d,e,f){if(f){f.callId||(f.callId=f.module+":"+(f.line||0)+":"+(f.column||0));e=f.callId;a[e]=(a[e]||0)+1}return d.apply(b,c)};typeof __transform_includes==="undefined"?(__annotator=d,__bodyWrapper=f):(__annotator=e,"codeusage"in __transform_includes?(__annotator=d,__bodyWrapper=g,__bodyWrapper.getCodeUsage=function(){return a},__bodyWrapper.clearCodeUsage=function(){a={}}):"typechecks"in __transform_includes?__bodyWrapper=f:__bodyWrapper=f)})(); __t=function(a){return a[0]},__w=function(a){return a}; (function(a,b){var c="keys",d="values",e="entries",f=function(){var a=h(Array),b;a||(b=function(){"use strict";function a(a,b){this.$1=a,this.$2=b,this.$3=0}var b=a.prototype;b.next=function(){if(this.$1==null)return{value:void 0,done:!0};var a=this.$1,b=this.$1.length,f=this.$3,g=this.$2;if(f>=b){this.$1=void 0;return{value:void 0,done:!0}}this.$3=f+1;if(g===c)return{value:f,done:!1};else if(g===d)return{value:a[f],done:!1};else if(g===e)return{value:[f,a[f]],done:!1}};b[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]=function(){return this};return a}());return{keys:a?function(a){return a.keys()}:function(a){return new b(a,c)},values:a?function(a){return a.values()}:function(a){return new b(a,d)},entries:a?function(a){return a.entries()}:function(a){return new b(a,e)}}}(),g=function(){var a=h(String),b;a||(b=function(){"use strict";function a(a){this.$1=a,this.$2=0}var b=a.prototype;b.next=function(){if(this.$1==null)return{value:void 0,done:!0};var a=this.$2,b=this.$1,c=b.length;if(a>=c){this.$1=void 0;return{value:void 0,done:!0}}var d=b.charCodeAt(a);if(d<55296||d>56319||a+1===c)d=b[a];else{c=b.charCodeAt(a+1);c<56320||c>57343?d=b[a]:d=b[a]+b[a+1]}this.$2=a+d.length;return{value:d,done:!1}};b[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]=function(){return this};return a}());return{keys:function(){throw TypeError("Strings default iterator doesn't implement keys.")},values:a?function(a){return a[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]()}:function(a){return new b(a)},entries:function(){throw TypeError("Strings default iterator doesn't implement entries.")}}}();function h(a){return typeof a.prototype[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]==="function"&&typeof a.prototype.values==="function"&&typeof a.prototype.keys==="function"&&typeof a.prototype.entries==="function"}var i=function(){"use strict";function a(a,b){this.$1=a,this.$2=b,this.$3=Object.keys(a),this.$4=0}var b=a.prototype;b.next=function(){var a=this.$3.length,b=this.$4,f=this.$2,g=this.$3[b];if(b>=a){this.$1=void 0;return{value:void 0,done:!0}}this.$4=b+1;if(f===c)return{value:g,done:!1};else if(f===d)return{value:this.$1[g],done:!1};else if(f===e)return{value:[g,this.$1[g]],done:!1}};b[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]=function(){return this};return a}(),j={keys:function(a){return new i(a,c)},values:function(a){return new i(a,d)},entries:function(a){return new i(a,e)}};function k(a,b){if(typeof a==="string")return g[b||d](a);else if(Array.isArray(a))return f[b||d](a);else if(a[typeof Symbol==="function"?Symbol.iterator:"@@iterator"])return a[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();else return j[b||e](a)}Object.assign(k,{KIND_KEYS:c,KIND_VALUES:d,KIND_ENTRIES:e,keys:function(a){return k(a,c)},values:function(a){return k(a,d)},entries:function(a){return k(a,e)},generic:j.entries});a.FB_enumerate=k})(typeof global==="undefined"?this:global); "use strict";(function(){if(typeof Element==="undefined"||Element.prototype.scroll)return;function a(a,b){b===void 0&&(b=!1);if(a.length===0)return;var c=a[0],d=a[1];c=Number(c)||0;d=Number(d)||0;if(a.length===1){a=a[0];if(a==null)return;c=a.left;d=a.top;c!==void 0&&(c=Number(c)||0);d!==void 0&&(d=Number(d)||0)}c!==void 0&&(this.scrollLeft=(b?this.scrollLeft:0)+c);d!==void 0&&(this.scrollTop=(b?this.scrollTop:0)+d)}Element.prototype.scroll=Element.prototype.scrollTo=function(){a.call(this,arguments)};Element.prototype.scrollBy=function(){a.call(this,arguments,!0)}})(); typeof window!=="undefined"&&window.JSON&&JSON.stringify(["\u2028\u2029"])==='["\u2028\u2029"]'&&(JSON.stringify=function(a){var b=/\u2028/g,c=/\u2029/g;return function(d,e,f){d=a.call(this,d,e,f);d&&(-1=a.length)break;e=a[d++]}else{d=a.next();if(d.done)break;e=d.value}e=e;var f=e[0];e=e[1];b[f]=e}return b});Object.values=function(b){if(b==null)throw new TypeError("Object.values called on non-object");var c=[];for(var d in b)a.call(b,d)&&c.push(b[d]);return c}})(); (function(a){a.__m=function(a,b){a.__SMmeta=b;return a}})(this); String.prototype.contains||(String.prototype.contains=String.prototype.includes); String.prototype.padStart||(String.prototype.padStart=function(a,b){a=a>>0;b=String(b||" ");if(this.length>a)return String(this);else{a=a-this.length;a>b.length&&(b+=b.repeat(a/b.length));return b.slice(0,a)+String(this)}}),String.prototype.padEnd||(String.prototype.padEnd=function(a,b){a=a>>0;b=String(b||" ");if(this.length>a)return String(this);else{a=a-this.length;a>b.length&&(b+=b.repeat(a/b.length));return String(this)+b.slice(0,a)}}); String.prototype.trimLeft||(String.prototype.trimLeft=function(){return this.replace(/^\s+/,"")}),String.prototype.trimRight||(String.prototype.trimRight=function(){return this.replace(/\s+$/,"")}); (function(a){var b=a.babelHelpers={},c=Object.prototype.hasOwnProperty;b.inheritsLoose=function(a,b){Object.assign(a,b);a.prototype=Object.create(b&&b.prototype);a.prototype.constructor=a;a.__superConstructor__=b;return b};b.wrapNativeSuper=function(a){var c=typeof Map==="function"?new Map():void 0;b.wrapNativeSuper=function(a){if(a===null)return null;if(typeof a!=="function")throw new TypeError("Super expression must either be null or a function");if(c!==void 0){if(c.has(a))return c.get(a);c.set(a,d)}b.inheritsLoose(d,a);function d(){a.apply(this,arguments)}return d};return b.wrapNativeSuper(a)};b.assertThisInitialized=function(a){if(a===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return a};b._extends=Object.assign;b["extends"]=b._extends;b.construct=function(a,b){var c=[null];c.push.apply(c,b);return new(Function.prototype.bind.apply(a,c))()};b.objectWithoutPropertiesLoose=function(a,b){var d={};for(var e in a){if(!c.call(a,e)||b.indexOf(e)>=0)continue;d[e]=a[e]}return d};b.taggedTemplateLiteralLoose=function(a,b){b||(b=a.slice(0));a.raw=b;return a};b.bind=Function.prototype.bind})(typeof global==="undefined"?self:global); (function(a){if(a.require!=null)return;var b=null,c=[],d={},e={},f=0,g=0,h=0,i=1,j=2,k=4,l=8,m=16,n={},o=Object.prototype.hasOwnProperty,p=Object.prototype.toString;function q(a){a=Array.prototype.slice.call(a);var b={},c,e,f,g;while(a.length){e=a.shift();if(b[e])continue;b[e]=!0;f=d[e];if(!f||Q(f))continue;if(f.dependencies)for(c=0;c1?c-1:0),e=1;e0){var m=c;c=[];j=a.ScheduleJSWork?a.ScheduleJSWork:Y;j(function(){while(m.length>0)z.call(null,m.pop().id)})()}return k}function K(a){var b=d[a];if(b)return b;b=new L(a,0);d[a]=b;return b}function L(a,b,c,d,e,f,g){this.id=a,this.refcount=b,this.exports=c||null,this.factory=d,this.factoryLength=-1,this.factoryFinished=!1,this.dependencies=e,this.depPosition=0,this.context=f,this.special=g||0,this.hasError=!1,this.error=null,this.ranRecursiveSideEffects=!1,this.sideEffectDependencyException=null,this.nextDepWaitingHead=null,this.nextDepWaitingNext=null,this.tarjanGeneration=-1,this.tarjanLow=0,this.tarjanIndex=0,this.tarjanOnStack=!1,this.nonJSDeps=!1}function M(a){if(!d[a])return;var b=d[a];d[a]=null;if(b.dependencies)for(var a=0;a0?a.join(",")+"__":"")+f++,a,Z()(b,"requireLazy",{propagationType:0}),i|m,c,1)}function O(a){return"__mod__"+(a!=null?a+"__":"")+f++}function P(a,b,c){c.tarjanGeneration!=g&&(c.tarjanGeneration=g,c.tarjanLow=c.tarjanIndex=h++,c.tarjanOnStack=!0,b.push(c));if(c.dependencies!=null)for(var d=c.depPosition;d=a.dependencies.length}function ea(a){a.depPosition++,R(a)}function fa(a){var b=a.nextDepWaitingHead;a.nextDepWaitingHead=null;while(b!=null){var c=b;c.nonJSDeps&&I(a);b=c.nextDepWaitingNext;c.nextDepWaitingNext=null;var e=!d[c.id];e||ea(c)}}function ga(a){return a.special&i}function ha(a){return a.special&m}function R(a){while(a.dependencies!=null&&a.depPosition1?b-1:0),d=1;d2?e-2:0),g=2;g0&&(d+=" Params: "+c.map(function(a){return"%s"}).join(", "));a=(g||(g=b("Env"))).show_invariant_decoder===!0?"visit "+i(a,c)+" to see the full message.":"";return{message:d,decoderLink:a}}function i(a,b){a="https://www.internalfb.com/intern/invariant/"+a+"/";b.length>0&&(a+="?"+b.map(function(a,b){return"args["+b+"]="+encodeURIComponent(String(a))}).join("&"));return a}e.exports=a}),null); __d("ArbiterToken",["invariant"],(function(a,b,c,d,e,f,g){"use strict";a=function(){function a(a,b){this.unsubscribe=function(){for(var a=0;a([\s\S]*)$/);if(!b)return n(a);var c=b[0],d=b[1];b=b[2];d=JSON.parse(d);var e=d[0];d=d.slice(1);e=n(e);e.message=c+e.message+b;d&&d.length>0&&(e.params=d.map(function(a){return String(a)}));return e}catch(b){return{message:"Unable to parse error message %s because %s",params:[a,b.message]}}}function c(a){return""}function i(a){if(a.messageFormat==null)return h(a.message);var b={message:String(a.messageFormat)};a.messageParams&&(b.params=[].concat(a.messageParams));b.forcedKey=a.forcedKey;a.taalOpcodes&&(b.taalOpcodes=a.taalOpcodes);return b}function d(a,c){var d=i(a);if(Object.isFrozen(a))return;c.type&&((!a.type||g[a.type]>g[c.type])&&(a.type=c.type));var e=c.metadata;if(e!=null){var f;f=(f=a.metadata)!=null?f:new(b("ErrorMetadata"))();f.addEntries.apply(f,e.getAll());a.metadata=f}c.project!=null&&(a.project=c.project);c.errorName!=null&&(a.errorName=c.errorName);c.componentStack!=null&&(a.componentStack=c.componentStack);c.deferredSource!=null&&(a.deferredSource=c.deferredSource);e=d.message;f=m(d.params);if(e!==c.messageFormat&&c.messageFormat!=null){var h;e+=" [Caught in: "+c.messageFormat+"]";f.push.apply(f,(h=c.messageParams)!=null?h:[])}a.messageFormat=e;a.messageParams=f;h=c.forcedKey;e=d.forcedKey;c=h!=null&&e!=null?h+"_"+e:(f=h)!=null?f:e;a.forcedKey=c;d.taalOpcodes!=null&&(a.taalOpcodes=d.taalOpcodes)}function j(a,b){var c=0;a=a.replace(/%s/g,function(){return c0?" TAAL["+c.join(";")+"]":""}function m(a){return((a=a)!=null?a:[]).map(function(a){return String(a)})}function n(a){var b=o(a,/^([\s\S]*) TAAL\[(.*)\]$/);b=(b=b)!=null?b:[a,null];var c=b[0];b=b[1];c={message:c};if(b){var d=[];for(var b=b.split(";"),e=Array.isArray(b),f=0,b=e?b:b[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var g;if(e){if(f>=b.length)break;g=b[f++]}else{f=b.next();if(f.done)break;g=f.value}g=g;if(g==="1"||g==="2"||g==="3")d.push(parseInt(g,10));else if(g[0]==="4"&&g.length>1)c.forcedKey=g.substring(1);else return{message:a}}d.length>0&&(c.taalOpcodes=d)}return c}function o(a,b){if(typeof a==="string"){a=a.match(b);if(a&&a.length>0)return a.slice(1)}}e.exports=a.ErrorSerializer={aggregateError:d,parseFromError:i,stringify:c,toFormattedMessage:f,toReadableMessage:j,toMessageWithParams:k,toStringParams:m}}),3); __d("ErrorXFBDebug",[],(function(a,b,c,d,e,f){"use strict";var g=5,h=[],i={addFromXHR:function(a){var b=a.getAllResponseHeaders();if(b!=null&&b.indexOf("X-FB-Debug")>=0){b=a.getResponseHeader("X-FB-Debug");b&&i.add(b)}},add:function(a){h.push(a),h.length>g&&h.shift()},getAll:function(){return h}};e.exports=i}),null); __d("getSimpleHash",[],(function(a,b,c,d,e,f){"use strict";var g="abcdefghijklmnopqrstuvwxyz012345";function a(){var a=0;for(var b=arguments.length,c=new Array(b),d=0;d>=5;return j}e.exports=a}),null); __d("performance",[],(function(a,b,c,d,e,f){"use strict";b=a.performance||a.msPerformance||a.webkitPerformance||{};e.exports=b}),null); __d("performanceNow",["performance"],(function(a,b,c,d,e,f){var g;if((g||(g=b("performance"))).now)c=function(){return(g||(g=b("performance"))).now()};else{d=a._cstart;f=Date.now();var h=typeof d==="number"&&d";else{var f;for(var g=0;g");c!=null&&d!=null&&a!=null&&(b+=" ("+c+":"+d+":"+a+")");return b}function l(a){return a==null||a===""?[]:a.split(/\n\n/)[0].split("\n").map(j)}function m(a){a=i(a);return l(a)}function n(a){if(a==null||a==="")return null;a=a.split("\n");a.splice(0,1);return a.map(function(a){return a.trim()})}function o(c){var d,e,f,h=m(c),i=b("ErrorSerializer").parseFromError(c),k=c.framesToPop;if(k!=null){var l;k=Math.min(k,h.length);i.taalOpcodes=(l=i.taalOpcodes)!=null?l:[];while(k-->0)i.taalOpcodes.unshift(b("TAALOpcodes").PREVIOUS_FRAME)}l=i.message;k=((k=i.params)!=null?k:[]).map(function(a){return String(a)});var p=n(c.componentStack),q=p==null?null:p.map(j),r=c.metadata?c.metadata.format():new(b("ErrorMetadata"))().format();r.length===0&&(r=void 0);var s=h.map(function(a){return a.text}).join("\n");d=(d=c.errorName)!=null?d:c.name;var t=c.type||"error",u=c.loggingSource,v=c.project;e=(e=c.lineNumber)!=null?e:c.line;f=(f=c.columnNumber)!=null?f:c.column;q={column:f==null?null:String(f),clientTime:Math.floor(Date.now()/1e3),componentStackFrames:q,deferredSource:c.deferredSource!=null?o(c.deferredSource):null,extra:(f=c.extra)!=null?f:{},fbtrace_id:c.fbtrace_id,guardList:(q=c.guardList)!=null?q:[],hash:b("getSimpleHash")(d,s,t,v,u),isNormalizedError:!0,line:e==null?null:String(e),loggingSource:u,message:b("ErrorSerializer").toReadableMessage(l,k),messageFormat:l,messageParams:k,metadata:r,name:d,page_time:Math.floor((g||(g=b("performanceNow")))()),project:v,reactComponentStack:p,script:(f=c.fileName)!=null?f:c.sourceURL,serverHash:c.serverHash,stack:s,stackFrames:h,type:t,xFBDebug:b("ErrorXFBDebug").getAll()};i.forcedKey!=null&&(q.forcedKey=i.forcedKey);i.taalOpcodes&&(q.taalOpcodes=i.taalOpcodes);e=a.location;e&&(q.windowLocationURL=e.href);for(var w in q)q[w]==null&&delete q[w];return q}function c(a){return a!=null&&typeof a==="object"&&a.isNormalizedError===!0?a:null}e.exports={ifNormalizedError:c,normalizeError:o,formatStackFrame:k}}),null); __d("ErrorBrowserConsole",[],(function(a,b,c,d,e,f){"use strict";var g=!1,h=a.console;function b(a){var b=h[a.type]?a.type:"error";if(b==="error"&&!g){b=a.message;h.error("ErrorUtils caught an error:\n\n"+b+"\n\nSubsequent errors won't be logged; see https://fburl.com/debugjs.");g=!0}}e.exports={errorListener:b}}),null); __d("err",["TAALOpcodes"],(function(a,b,c,d,e,f){"use strict";function a(a){var c=new Error(a);if(c.stack===void 0)try{throw c}catch(a){}c.messageFormat=a;for(var d=arguments.length,e=new Array(d>1?d-1:0),f=1;f":"",h;function i(a){var c=a.error!=null?b("getErrorSafe")(a.error):b("err")(a.message||"");c.fileName==null&&a.filename!=null&&(c.fileName=a.filename);c.line==null&&a.lineno!=null&&(c.line=a.lineno);c.column==null&&a.colno!=null&&(c.column=a.colno);c.guardList=[g];c.loggingSource="ONERROR";c.message.indexOf("ResizeObserver")>=0&&(c.type="warn");(a=h)==null?void 0:a.reportError(c)}function c(b){if(typeof a.addEventListener!=="function")return;if(h!=null)return;h=b;a.addEventListener("error",i)}e.exports={setup:c}}),null); __d("ErrorUnhandledRejectionHandler",["ErrorNormalizeUtils","err","getErrorSafe"],(function(a,b,c,d,e,f){"use strict";var g=null,h=!1,i={onunhandledrejection:function(a){if(!g)return;var c=a.reason;if(c!=null&&typeof c==="object"&&(c.name==null||c.name===""||c.message==null||c.message===""))try{var d=b("err")("UnhandledRejection: %s",JSON.stringify(c));d=b("ErrorNormalizeUtils").normalizeError(d)}catch(a){var e=b("err")("UnhandledRejection: (circular) %s",Object.keys(c).join(","));d=b("ErrorNormalizeUtils").normalizeError(e)}else d=b("ErrorNormalizeUtils").normalizeError(b("getErrorSafe")(c));d.loggingSource||(d.loggingSource="ONUNHANDLEDREJECTION");g.reportNormalizedError(d);a.preventDefault()},setup:function(b){g=b,typeof a.addEventListener==="function"&&!h&&(h=!0,a.addEventListener("unhandledrejection",i.onunhandledrejection))}};e.exports=i}),null); __d("removeFromArray",[],(function(a,b,c,d,e,f){function a(a,b){b=a.indexOf(b);b!==-1&&a.splice(b,1)}e.exports=a}),null); __d("ErrorPubSub",["ErrorBrowserConsole","ErrorGlobalEventHandler","ErrorGuardState","ErrorNormalizeUtils","ErrorUnhandledRejectionHandler","removeFromArray"],(function(a,b,c,d,e,f){"use strict";var g,h="",i=[],j=[],k=50,l=!1,m={history:j,addListener:function(a,b){b===void 0&&(b=!1),i.push(a),b||j.forEach(function(b){return a(b,(b=b.loggingSource)!=null?b:"DEPRECATED")})},unshiftListener:function(a){i.unshift(a)},removeListener:function(a){b("removeFromArray")(i,a)},reportError:function(a){a=b("ErrorNormalizeUtils").normalizeError(a);m.reportNormalizedError(a)},reportNormalizedError:function(a){if(l)return!1;var c=(g||(g=b("ErrorGuardState"))).cloneGuardList();a.componentStackFrames&&c.unshift(h);c.length>0&&(a.guardList=c);if(a.deferredSource==null){c=(g||(g=b("ErrorGuardState"))).findDeferredSource();c!=null&&(a.deferredSource=b("ErrorNormalizeUtils").normalizeError(c))}j.length>k&&j.splice(k/2,1);j.push(a);l=!0;for(var c=0;c=b.length)break;d=b[f++]}else{f=b.next();if(f.done)break;d=f.value}d=d;if(this.$4.get(d))continue;c++;var g=this.$1.get(d);g===void 0&&(g=new Map(),this.$1.set(d,g));g.set(a,(g.get(a)||0)+1)}return c};c.$6=function(a){a=this.$1.get(a);if(!a)return;for(var c=a.entries(),d=Array.isArray(c),e=0,c=d?c:c[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var f;if(d){if(e>=c.length)break;f=c[e++]}else{e=c.next();if(e.done)break;f=e.value}f=f;var h=f[0];f=f[1]-1;a.set(h,f);f<=0&&a["delete"](h);f=this.$2.get(h);if(f!==void 0){f.$7--;if(f.$7<=0){f=f.$8;this.$2["delete"](h);(g||(g=b("ErrorGuard"))).applyWithGuard(f,null,[])}}}};c.addDependenciesToExistingCallback=function(a,b){var c=this.$2.get(a);if(!c)return null;b=this.$5(a,b);c.$7+=b;return a};c.isPersistentDependencySatisfied=function(a){return!!this.$4.get(a)};c.satisfyPersistentDependency=function(a){this.$4.set(a,1),this.$6(a)};c.satisfyNonPersistentDependency=function(a){var b=this.$4.get(a)===1;b||this.$4.set(a,1);this.$6(a);b||this.$4["delete"](a)};c.registerCallback=function(a,c){var d=this.$3;this.$3++;c=this.$5(d,c);if(c===0){(g||(g=b("ErrorGuard"))).applyWithGuard(a,null,[]);return null}this.$2.set(d,{$8:a,$7:c});return d};return a}();e.exports=a}),null); __d("EventSubscription",[],(function(a,b,c,d,e,f){"use strict";a=function(a){var b=this;this.remove=function(){b.subscriber&&(b.subscriber.removeSubscription(b),b.subscriber=null)};this.subscriber=a};e.exports=a}),null); __d("EmitterSubscription",["EventSubscription"],(function(a,b,c,d,e,f){"use strict";a=function(a){babelHelpers.inheritsLoose(b,a);function b(b,c,d){b=a.call(this,b)||this;b.listener=c;b.context=d;return b}return b}(b("EventSubscription"));e.exports=a}),null); __d("EventSubscriptionVendor",["invariant"],(function(a,b,c,d,e,f,g){"use strict";a=function(){function a(){this.$1={}}var b=a.prototype;b.addSubscription=function(a,b){b.subscriber===this||g(0,2828);this.$1[a]||(this.$1[a]=[]);var c=this.$1[a].length;this.$1[a].push(b);b.eventType=a;b.key=c;return b};b.removeAllSubscriptions=function(a){a===void 0?this.$1={}:delete this.$1[a]};b.removeSubscription=function(a){var b=a.eventType;a=a.key;b=this.$1[b];b&&delete b[a]};b.getSubscriptionsForType=function(a){return this.$1[a]};return a}();e.exports=a}),null); __d("emptyFunction",[],(function(a,b,c,d,e,f){function a(a){return function(){return a}}b=function(){};b.thatReturns=a;b.thatReturnsFalse=a(!1);b.thatReturnsTrue=a(!0);b.thatReturnsNull=a(null);b.thatReturnsThis=function(){return this};b.thatReturnsArgument=function(a){return a};e.exports=b}),null); __d("FBLogMessage",["ErrorMetadata","ErrorNormalizeUtils","ErrorPubSub","ErrorSerializer","TAALOpcodes"],(function(a,b,c,d,e,f){"use strict";var g;a=function(){function a(a){this.project=a,this.events=[],this.metadata=new(b("ErrorMetadata"))(),this.taalOpcodes=[]}var c=a.prototype;c.$1=function(c,d){var e=String(d),f=this.error,h=this.events,i=this.project,j=this.metadata,k=this.forcedKey,l;for(var m=arguments.length,n=new Array(m>2?m-2:0),o=2;o0&&new a("fblogger").blameToPreviousFrame().blameToPreviousFrame().warn("Blame helpers do not work with catching"),b("ErrorSerializer").aggregateError(f,{messageFormat:e,messageParams:b("ErrorSerializer").toStringParams(n),errorName:f.name,forcedKey:k,project:i,type:c}),l=b("ErrorNormalizeUtils").normalizeError(f);else{var q=new Error(e);if(q.stack===void 0)try{throw q}catch(a){}q.messageFormat=e;q.messageParams=b("ErrorSerializer").toStringParams(n);q.forcedKey=k;q.project=i;q.name="FBLogger";q.type=c;q.taalOpcodes=[b("TAALOpcodes").PREVIOUS_FRAME,b("TAALOpcodes").PREVIOUS_FRAME].concat(this.taalOpcodes);l=b("ErrorNormalizeUtils").normalizeError(q)}l.loggingSource="FBLOGGER";j.isEmpty()||(l.metadata=j.format());if(h.length>0)if(l.events!=null){var r;(r=l.events).push.apply(r,h)}else l.events=h;(g||(g=b("ErrorPubSub"))).reportNormalizedError(l)};c.fatal=function(a){for(var b=arguments.length,c=new Array(b>1?b-1:0),d=1;d1?b-1:0),d=1;d1?b-1:0),d=1;d1?b-1:0),d=1;d2?d-2:0),f=2;f1?c-1:0),e=1;e1?d-1:0),f=1;f0&&this.$3.releaseCurrentEvent()};b.releaseHeldEventType=function(a){this.$3.releaseEventType(a)};return a}();e.exports=a}),null); __d("EventHolder",["invariant"],(function(a,b,c,d,e,f,g){"use strict";a=function(){function a(){this.$1={},this.$2=[]}var b=a.prototype;b.holdEvent=function(a){this.$1[a]=this.$1[a]||[];var b=this.$1[a],c={eventType:a,index:b.length};for(var d=arguments.length,e=new Array(d>1?d-1:0),f=1;f1?e-1:0),g=1;g=e.length)break;j=e[h++]}else{h=e.next();if(h.done)break;j=h.value}j=j;var k=!1;for(var l=0;l=0;d--)c[a[d]]=b[d];else for(var d=a.length-1;d>=0;d--)c[a[d]]=b;return c}}),null); __d("URISchemes",["createObjectFrom"],(function(a,b,c,d,e,f){f.isAllowed=a;var g=b("createObjectFrom")(["blob","cmms","fb","fba","fbatwork","fb-ama","fb-workchat","fb-workchat-secure","fb-messenger","fb-messenger-public","fb-messenger-group-thread","fb-page-messages","fb-pma","fbcf","fbconnect","fbinternal","fbmobilehome","fbrpc","file","ftp","gtalk","http","https","mailto","wss","ms-app","intent","itms","itms-apps","lasso","market","svn+ssh","fbstaging","tel","sms","pebblejs","sftp","whatsapp","moments","flash","fblite","chrome-extension","webcal","fb124024574287414","fb124024574287414rc","fb124024574287414master","fb1576585912599779","fb929757330408142","designpack","fbpixelcloud","fbapi20130214","fb1196383223757595","oculus","oculus.store","oculus.feed","skype","callto","workchat","fb236786383180508","fb1775440806014337","data","fb-mk","munki","kirigami","origami-file","fb-nimble-vrsrecorder","fb-nimble-monohandtrackingvis","together","whatsapp-consumer","whatsapp-smb"]);function a(a){return a==null||a===""?!0:Object.prototype.hasOwnProperty.call(g,a.toLowerCase())}}),null); __d("ex",["ErrorSerializer"],(function(a,b,c,d,e,f){function a(a){for(var c=arguments.length,d=new Array(c>1?c-1:0),e=1;e0||this.getFragment())};c.toString=function(){return this.$13(!1,!1)};c.toStringRawQuery=function(){return this.$13(!0,!1)};c.toStringPreserveQuery=function(){return this.$13(!1,!0)};c.$13=function(a,b){a===void 0&&(a=!1);b===void 0&&(b=!1);var c=this;for(var d=0;d0&&a[a.length-1]!=="/"&&this.setPath(a+"/");return this};e.valueOf=function(){return this.toString()};e.getRegisteredDomain=function(){if(!this.getDomain())return"";if(!b("isFacebookURI")(this))return null;var a=this.getDomain().split("."),c=a.indexOf("facebook");c===-1&&(c=a.indexOf("workplace"));return a.slice(c).join(".")};e.getUnqualifiedURI=function(){return b("unqualifyURI")(new c(this))};e.getQualifiedURI=function(){return new c(this).qualify()};e.isSameOrigin=function(a){a=a;a==null?a=j():a instanceof c||(a=new c(a.toString()));return b("areSameOrigin")(this,a)};c.go=function(a,d,e){b("unexpectedUseInComet")("URI.go"),c.goURIOnWindow(a,window,d,e)};c.goURIOnNewWindow=function(a){c.goURIOnWindow(a,window.open("","_blank"),!0)};c.goURIOnWindow=function(d,e,f,g){f===void 0&&(f=!1);g===void 0&&(g=!1);d=new c(d);f=f;var i=!e||e===window;if((h||(h=b("Env"))).isCQuick&&b("isFacebookURI")(d)&&i){i={};i.cquick=(h||(h=b("Env"))).iframeKey;i.ctarget=h.iframeTarget;i.cquick_token=h.iframeToken;d.addQueryData(i);f=!1}i=d.toString();d=e?e:window;!f&&a.PageTransitions?a.PageTransitions.go(i,g):window.location.href===i?b("ReloadPage").now():g?d.location.replace(i):d.location.href=i};e.go=function(a,d){b("unexpectedUseInComet")("uri.go"),c.go(this,a,d)};c.tryParseURI=function(a){a=(i||(i=b("URIBase"))).tryParse(a,g||(g=b("PHPQuerySerializer")));return a?new c(a):null};c.isValidURI=function(a){return(i||(i=b("URIBase"))).isValid(a,g||(g=b("PHPQuerySerializer")))};c.getRequestURI=function(a,b){a===void 0&&(a=!0);b===void 0&&(b=!1);if(a){a=k();if(a)return a.getCurrentURI(!!b).getQualifiedURI()}return new c(window.location.href)};c.getMostRecentURI=function(){var a=k();return a?a.getMostRecentURI().getQualifiedURI():new c(window.location.href)};c.getNextURI=function(){var a=k();return a?a.getNextURI().getQualifiedURI():new c(window.location.href)};c.encodeComponent=function(a){return encodeURIComponent(a).replace(/%5D/g,"]").replace(/%5B/g,"[")};c.decodeComponent=function(a){return decodeURIComponent(a.replace(/\+/g," "))};c.normalize=function(a){return a!=null&&typeof a==="string"?this.normalizeString(a):new c(a).toString()};return c}(i||(i=b("URIBase")));l.normalizeString=b("memoizeStringOnly")(function(a){return new l(a).toString()});l.expression=/(((\w+):\/\/)([^\/:]*)(:(\d+))?)?([^#?]*)(\?([^#]*))?(#(.*))?/;l.arrayQueryExpression=/^(\w+)((?:\[\w*\])+)=?(.*)/;e.exports=l}),null); __d("isCometAltpayJsSdkIframeAllowedDomain",["CometAltpayJsSdkIframeAllowedDomains","URI"],(function(a,b,c,d,e,f){"use strict";var g;a=Object.freeze(b("CometAltpayJsSdkIframeAllowedDomains"));var h=Object.freeze(a.allowed_domains);c=function(){var a=new(g||(g=b("URI")))(window.location.href);if(h==null||h.length<=0)return!1;var c=h.some(function(c){c=new(g||(g=b("URI")))(c);return c==null?!1:a.isSameOrigin(c)});return c?!0:!1};e.exports=c}),null); __d("ReloadPage",["BlueCompatRouter","Env"],(function(a,b,c,d,e,f){f.now=c;f.delay=d;var g;function c(c){!(g||(g=b("Env"))).isCQuick?a.window.location.reload(c):b("BlueCompatRouter").sendMessage({compatAction:"reload"})}function d(b){a.setTimeout(this.now.bind(this),b)}}),null); __d("XControllerURIBuilder",["invariant","URI","gkx","isInternalFBURI"],(function(a,b,c,d,e,f,g){var h;a=function(){function a(a,b){this.$1={},this.$2=a,this.$3=b}var c=a.prototype;c.setInt=function(a,b){return this.__setParam(a,"Int",b)};c.setFBID=function(a,b){return this.__setParam(a,"FBID",b)};c.setFloat=function(a,b){return this.__setParam(a,"Float",b)};c.setString=function(a,b){return this.__setParam(a,"String",b)};c.setExists=function(a,b){b===!1&&(b=void 0);return this.__setParam(a,"Exists",b)};c.setBool=function(a,b){return this.__setParam(a,"Bool",b)};c.setEnum=function(a,b){return this.__setParam(a,"Enum",b)};c.setPath=function(a,b){return this.__setParam(a,"Path",b)};c.setIntVector=function(a,b){return this.__setParam(a,"IntVector",b)};c.setIntKeyset=function(a,b){return this.__setParam(a,"IntKeyset",b)};c.setIntSet=function(a,b){return this.__setParam(a,"IntSet",b.join(","))};c.setFloatVector=function(a,b){return this.__setParam(a,"FloatVector",b)};c.setFloatSet=function(a,b){return this.__setParam(a,"FloatSet",b.join(","))};c.setStringVector=function(a,b){return this.__setParam(a,"StringVector",b)};c.setStringKeyset=function(a,b){return this.__setParam(a,"StringKeyset",b)};c.setStringSet=function(a,b){return this.__setParam(a,"StringSet",b)};c.setFBIDVector=function(a,b){return this.__setParam(a,"FBIDVector",b)};c.setFBIDSet=function(a,b){return this.__setParam(a,"FBIDSet",b)};c.setFBIDKeyset=function(a,b){return this.__setParam(a,"FBIDKeyset",b)};c.setEnumVector=function(a,b){return this.__setParam(a,"EnumVector",b)};c.setEnumSet=function(a,b){return this.__setParam(a,"EnumSet",b)};c.setEnumKeyset=function(a,b){return this.__setParam(a,"EnumKeyset",b)};c.setIntToIntMap=function(a,b){return this.__setParam(a,"IntToIntMap",b)};c.setIntToFloatMap=function(a,b){return this.__setParam(a,"IntToFloatMap",b)};c.setIntToStringMap=function(a,b){return this.__setParam(a,"IntToStringMap",b)};c.setIntToBoolMap=function(a,b){return this.__setParam(a,"IntToBoolMap",b)};c.setStringToIntMap=function(a,b){return this.__setParam(a,"StringToIntMap",b)};c.setStringToFloatMap=function(a,b){return this.__setParam(a,"StringToFloatMap",b)};c.setStringToStringMap=function(a,b){return this.__setParam(a,"StringToStringMap",b)};c.setStringToNullableStringMap=function(a,b){return this.__setParam(a,"StringToNullableStringMap",b)};c.setStringToBoolMap=function(a,b){return this.__setParam(a,"StringToBoolMap",b)};c.setStringToEnumMap=function(a,b){return this.__setParam(a,"StringToEnumMap",b)};c.setEnumToStringVectorMap=function(a,b){return this.__setParam(a,"EnumToStringVectorMap",b)};c.setEnumToBoolMap=function(a,b){return this.__setParam(a,"EnumToBoolMap",b)};c.setEnumToEnumMap=function(a,b){return this.__setParam(a,"EnumToEnumMap",b)};c.setEnumToIntMap=function(a,b){return this.__setParam(a,"EnumToIntMap",b)};c.setEnumToFBIDVectorMap=function(a,b){return this.__setParam(a,"EnumToFBIDVectorMap",b)};c.setStringToIntDict=function(a,b){return this.__setParam(a,"StringToIntDict",b)};c.setStringToNullableIntDict=function(a,b){return this.__setParam(a,"StringToNullableIntDict",b)};c.setStringToFloatDict=function(a,b){return this.__setParam(a,"StringToFloatDict",b)};c.setStringToNullableFloatDict=function(a,b){return this.__setParam(a,"StringToNullableFloatDict",b)};c.setStringToStringDict=function(a,b){return this.__setParam(a,"StringToStringDict",b)};c.setStringToNullableStringDict=function(a,b){return this.__setParam(a,"StringToNullableStringDict",b)};c.setStringToBoolDict=function(a,b){return this.__setParam(a,"StringToBoolDict",b)};c.setStringToEnumDict=function(a,b){return this.__setParam(a,"StringToEnumDict",b)};c.setEnumToIntDict=function(a,b){return this.__setParam(a,"EnumToIntDict",b)};c.setHackType=function(a,b){return this.__setParam(a,"HackType",b)};c.setTypeAssert=function(a,b){return this.__setParam(a,"TypeAssert",b)};c.__validateRequiredParamsExistence=function(){for(var a in this.$3)!this.$3[a].required||Object.prototype.hasOwnProperty.call(this.$1,a)||g(0,903,a)};c.setParams=function(a){for(var b in a){this.__assertParamExists(b);var c=this.$3[b].type;this.__setParam(b,c,a[b])}return this};c.__assertParamExists=function(a){a in this.$3||g(0,904,a)};c.__setParam=function(a,b,c){this.__assertParamExists(a);var d=this.$3[a].type;d===b||g(0,905,a,b,d);this.__setParamInt(a,c);return this};c.__setParamInt=function(a,b){this.$1[a]=b};c.getRequest_LEGACY_UNTYPED=function(a){return a.setReplaceTransportMarkers().setURI(this.getURI())};c.getURI=function(){this.__validateRequiredParamsExistence();var a={},c="",d=/^(.*)?\{(\?)?(\*)?(.+?)\}(.*)?$/,e=this.$2.split("/"),f=!1;for(var i=0;i-1&&h.splice(a,1)}function u(a){i!==a&&!b("NetworkHeartbeat").isHeartbeatPending()&&(i=a,b("FBLogger")("NetworkStatus").warn("Network switched to "+(a?"online":"offline")),i||b("NetworkHeartbeat").maybeStartHeartbeat(q,r),s())}function v(){var a=(g||(g=b("performanceNow")))();l=l.filter(function(b){return w(b.startTime,a)});m=m.filter(function(b){return w(b.startTime,a)});return m.length/l.lengthb-k};function a(){return i}function c(a){h.push(a);var b=!1;return{remove:function(){b||(b=!0,t(a))}}}function d(){var a=(g||(g=b("performanceNow")))();l.push({startTime:a});b("NetworkHeartbeat").maybeStartHeartbeat(q,r,v)}function e(){var a=(g||(g=b("performanceNow")))();m.push({startTime:a});w(n,a)||(m=m.filter(function(b){return w(b.startTime,a)}),n=a)}window.addEventListener("online",function(){u(o)});window.addEventListener("offline",function(){u(p)})}),null); __d("NetworkStatusSham",[],(function(a,b,c,d,e,f){"use strict";f.isOnline=a;f.onChange=b;f.reportError=c;f.reportSuccess=d;function a(){return!0}function b(a){return{remove:function(){}}}function c(){return}function d(){return}}),null); __d("NetworkStatus",["NetworkStatusImpl","NetworkStatusSham","gkx"],(function(a,b,c,d,e,f){"use strict";a=b("gkx")("708253")&&b("gkx")("1263340")?b("NetworkStatusImpl"):b("NetworkStatusSham");c=a;e.exports=c}),null); __d("CircularBuffer",["unrecoverableViolation"],(function(a,b,c,d,e,f){a=function(){function a(a){if(a<=0)throw b("unrecoverableViolation")("Buffer size should be a positive integer","comet_infra");this.$1=a;this.$2=0;this.$3=[];this.$4=[]}var c=a.prototype;c.write=function(a){var b=this;this.$3.lengththis.$1){var b=this.read();this.$2=0;this.$3=b;this.$1=a}return this};c.dropFirst=function(a){if(a<=this.$1){var b=this.read();this.$2=0;b.splice(0,a);this.$3=b}return this};c.clear=function(){this.$2=0;this.$3=[];return this};c.currentSize=function(){return this.$3.length};return a}();e.exports=a}),null); __d("ResourceTypes",[],(function(a,b,c,d,e,f){"use strict";a={JS:"js",CSS:"css",XHR:"xhr"};b=a;e.exports=b}),null); __d("TimingAnnotations",[],(function(a,b,c,d,e,f){a=function(){"use strict";function a(){}var b=a.prototype;b.addStringAnnotation=function(a,b){return this};b.addSetAnnotation=function(a,b){return this};b.addSetElement=function(a,b){return this};b.registerOnBeforeSend=function(a){return this};b.addVectorAnnotation=function(a,b){return this};b.addVectorElement=function(a,b){return this};return a}();b=function(){"use strict";function a(){this.$1=null,this.$2=null,this.$3=null,this.$4=[]}var b=a.prototype;b.addStringAnnotation=function(a,b){this.$2=this.$2||new Map();this.$2.set(a,b);return this};b.addSetAnnotation=function(a,b){var c=this.$1||new Map(),d=c.get(a)||new Set();b.forEach(function(a){return d.add(a)});c.set(a,d);this.$1=c;return this};b.addSetElement=function(a,b){var c=this.$1||new Map(),d=c.get(a)||new Set();d.add(b);c.set(a,d);this.$1=c;return this};b.addVectorAnnotation=function(a,b){this.$3=this.$3||new Map();this.$3.set(a,b);return this};b.addVectorElement=function(a,b){var c=this.$3=this.$3||new Map(),d=this.$3.get(a)||[];d.push(b);c.set(a,d);return this};b.registerOnBeforeSend=function(a){this.$4.push(a);return this};b.prepareToSend=function(){var a=this;this.$4.forEach(function(b){return b(a)});this.$4=[];var b={};if(this.$1!=null)for(var c=this.$1,d=Array.isArray(c),e=0,c=d?c:c[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var f;if(d){if(e>=c.length)break;f=c[e++]}else{e=c.next();if(e.done)break;f=e.value}f=f;var g=f[0];f=f[1];b[g]=Array.from(f.values())}g={};if(this.$2!=null)for(var f=this.$2,e=Array.isArray(f),d=0,f=e?f:f[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){if(e){if(d>=f.length)break;c=f[d++]}else{d=f.next();if(d.done)break;c=d.value}c=c;var h=c[0];c=c[1];g[h]=c}h={};if(this.$3!=null)for(var c=this.$3,d=Array.isArray(c),e=0,c=d?c:c[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){if(d){if(e>=c.length)break;f=c[e++]}else{e=c.next();if(e.done)break;f=e.value}f=f;var i=f[0];f=f[1];h[i]=f}return{setProps:b,stringProps:g,vectorProps:h}};a.combine=function(a,b){var c;a!=null&&b!=null?(a.stringProps=babelHelpers["extends"]({},b.stringProps,a.stringProps),a.setProps=babelHelpers["extends"]({},b.setProps,a.setProps),c=a):a!=null?c=a:b!=null&&(c=b);return c};return a}();b.EmptyTimingAnnotations=a;b.EmptyTraceTimingAnnotations=a;b.TraceTimingAnnotations=b;e.exports=b}),null); __d("ResourceTimingsStore",["CircularBuffer","ResourceTypes","TimingAnnotations","URI","performanceAbsoluteNow"],(function(a,b,c,d,e,f){"use strict";var g,h,i=1e3,j=new(b("TimingAnnotations").EmptyTimingAnnotations)(),k={},l={};Object.keys(b("ResourceTypes")).forEach(function(a){a=b("ResourceTypes")[a];var c=new(b("CircularBuffer"))(i),d=new Map();c.onEvict(function(a){d["delete"](a)});k[a]={idx:1,entries:c};l[a]=d});function m(a,c,d){var e;switch(a){case"css":case"js":var f=n.parseMakeHasteURL(c);f=f==null?"unknown_resource":f[0];e=d+"_"+f;break;case"xhr":f=new(g||(g=b("URI")))(c).getQualifiedURI();c=f.getDomain()+f.getPath();e=d+"_"+c;break;default:a,e="never here"}return e}var n={getUID:function(a,b){var c=k[a],d=m(a,b,c.idx);c.entries.write(d);l[a].set(d,{uri:b,uid:d});c.idx++;return d},updateURI:function(a,b,c){a=l[a].get(b);a!=null&&(a.uri=c)},getMapFor:function(a){return l[a]},parseMakeHasteURL:function(a){a=a.match(/\/rsrc\.php\/.*\/([^\?]+)/);if(!a)return null;a=a[1];var b="",c=a.match(/\.(\w+)$/);c&&(b=c[1]);return[a,b]},measureRequestSent:function(a,c){a=l[a];a=a.get(c);if(a==null||a.requestSent!=null)return;else a.requestSent=(h||(h=b("performanceAbsoluteNow")))()},measureResponseReceived:function(a,c){a=l[a];a=a.get(c);if(a==null||a.requestSent==null||a.responseReceived!=null)return;else a.responseReceived=(h||(h=b("performanceAbsoluteNow")))()},annotate:function(a,c){a=l[a];a=a.get(c);if(!a)return j;else{c=a.annotations;if(c!=null)return c;else{c=new(b("TimingAnnotations"))();a.annotations=c;return c}}},getAnnotationsFor:function(a,b){a=l[a];a=a.get(b);if(!a)return null;else{b=a.annotations;return b!=null?b.prepareToSend():null}}};e.exports=n}),null); __d("TimeSlice",["requireCond","cr:717822"],(function(a,b,c,d,e,f){a=b("cr:717822");e.exports=a}),null); __d("clearInterval",["requireCond","cr:1003267"],(function(a,b,c,d,e,f){e.exports=b("cr:1003267")}),null); __d("isEmpty",["invariant"],(function(a,b,c,d,e,f,g){"use strict";e.exports=a;function a(a){if(Array.isArray(a))return a.length===0;else if(typeof a==="object"){if(a){!h(a)||a.size===void 0||g(0,1445);for(var b in a)return!1}return!0}else return!a}function h(a){return typeof Symbol==="undefined"?!1:a[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]!=null}}),null); __d("nullthrows",[],(function(a,b,c,d,e,f){e.exports=a;function a(a,b){b===void 0&&(b="Got unexpected null or undefined");if(a!=null)return a;a=new Error(b);a.framesToPop=1;throw a}}),null); __d("setIntervalAcrossTransitions",["requireCond","cr:896462"],(function(a,b,c,d,e,f){e.exports=b("cr:896462")}),null); __d("CSSLoader",["CSSLoaderConfig","NetworkStatus","ResourceTimingsStore","TimeSlice","clearInterval","ifRequired","isEmpty","nullthrows","setIntervalAcrossTransitions"],(function(a,b,c,d,e,f){var g,h=20,i=b("CSSLoaderConfig").timeout,j=b("CSSLoaderConfig").loadEventSupported,k,l=[],m,n=new Map();function o(a){if(k)return;k=!0;var b=document.createElement("link");b.onload=function(){j=!0,b.parentNode&&b.parentNode.removeChild(b)};b.rel="stylesheet";b.href="data:text/css;base64,";a.appendChild(b)}function p(){var a=[],c=[];if(Date.now()>=m){for(var d=n.values(),e=Array.isArray(d),f=0,d=e?d:d[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var h;if(e){if(f>=d.length)break;h=d[f++]}else{f=d.next();if(f.done)break;h=f.value}h=h;c.push(h.signal);a.push(h.error)}n.clear()}else for(var h=n,f=Array.isArray(h),e=0,h=f?h:h[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){if(f){if(e>=h.length)break;d=h[e++]}else{e=h.next();if(e.done)break;d=e.value}d=d;var j=d[0];d=d[1];var k=d.signal,l=window.getComputedStyle?getComputedStyle(k):k.currentStyle;l&&parseInt(l.height,10)>1&&(a.push(d.load),c.push(k),n["delete"](j))}for(var l=0;l1?b-1:0),d=1;d1?d-1:0),f=1;f=e.length)break;h=e[g++]}else{g=e.next();if(g.done)break;h=g.value}h=h;h=h.$2;h&&(d=!0,c[h]=!0)}j(function(e){return e.loadModules(a.map(function(a){return a.getModuleId()}),b,d?Object.keys(c).join(":"):"JSResource: unknown caller")})};return a}();e.exports=a}),null); __d("ResourceHasher",["invariant"],(function(a,b,c,d,e,f,g){"use strict";f.getAsyncHash=a;f.createExternalJSHash=b;f.getValidResourceHash=c;var h=0;function a(a){return"async:"+a}function b(){return"ejs:"+h++}function c(a){typeof a==="string"||g(0,19551,a);return a}}),null); __d("TAAL",["TAALOpcodes"],(function(a,b,c,d,e,f){"use strict";a={blameToPreviousFile:function(a){return this.applyOpcodes(a,[b("TAALOpcodes").PREVIOUS_FILE])},blameToPreviousFrame:function(a){return this.applyOpcodes(a,[b("TAALOpcodes").PREVIOUS_FRAME])},blameToPreviousDirectory:function(a){return this.applyOpcodes(a,[b("TAALOpcodes").PREVIOUS_DIR])},applyOpcodes:function(a,b){return b&&b.length?a+" TAAL["+b.join(";")+"]":a}};e.exports=a}),null); __d("TrustedTypes",["TrustedTypesConfig"],(function(a,b,c,d,e,f){"use strict";if(typeof trustedTypes!=="undefined"&&b("TrustedTypesConfig").useTrustedTypes){var g=function(a,c){return function(d){if(a(d))return d;try{return c(""+d)}catch(a){if(b("TrustedTypesConfig").reportOnly)return""+d;throw a}}},h=trustedTypes;a=babelHelpers["extends"]({},h,{createPolicy:function(a,b){a=h.createPolicy(a,b);return{createHTML:g(h.isHTML.bind(h),a.createHTML.bind(a)),createScript:g(h.isScript.bind(h),a.createScript.bind(a)),createScriptURL:g(h.isScriptURL.bind(h),a.createScriptURL.bind(a))}}});c=a}else{var i=function(a){return a};d={isHTML:function(){return!1},isScriptURL:function(){return!1},isScript:function(){return!1},createPolicy:function(a,b){return{createHTML:i,createScriptURL:i,createScript:i}}};c=d}e.exports=c}),null); __d("createTrustedScriptURLFromFacebookURI",["TrustedTypes","URI","isCdnURI","isFacebookURI"],(function(a,b,c,d,e,f){"use strict";var g,h="fburi-scripturls",i,j={createScriptURL:function(a){var c=(g||(g=b("URI"))).tryParseURI(a);if(c!=null&&(b("isFacebookURI")(c)||b("isCdnURI")(c)))return a;throw new TypeError()}};function k(){if(i)return;i=b("TrustedTypes").createPolicy(h,j)}function l(){i||k();return i}function a(a){return l().createScriptURL(a)}e.exports=a}),null); __d("Bootloader",["invariant","requireCond","AdditionalClientRevisions","BootloaderConfig","BootloaderEndpoint","BootloaderEvents","BootloaderEventsManager","CSRBitMap","CSRIndexUtil","CSSLoader","ErrorPubSub","FBLogger","JSResourceReference","cr:696703","NetworkStatus","ResourceHasher","ResourceTimingsStore","TAAL","TimeSlice","createTrustedScriptURLFromFacebookURI","ex","ifRequireable","nullthrows","performanceAbsoluteNow","performanceNow","setTimeoutAcrossTransitions"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j,k=function(){},l=!!b("BootloaderConfig").deferBootloads;l&&!a.__comet_ssr_is_server_env_DO_NOT_USE&&b("setTimeoutAcrossTransitions")(function(){$.undeferBootloads(!0)},15e3);var m=b("BootloaderConfig").retryQueuedBootloads,n=[],o=[],p=new Map(),q=new Map(),r=new Map(),s=new Set(),t=new Map(),u=null,v=new Map(),w=new Map(),x=new Map(),y=[],z=new Map(),A=new Set(),B=!1,C=new Set(),D=!1,E=new(b("BootloaderEventsManager"))(),F=b("BootloaderConfig").jsRetries||[],G=b("BootloaderConfig").jsRetryAbortNum,aa=b("BootloaderConfig").jsRetryAbortTime,H=F.length>0;(h||(h=b("ErrorPubSub"))).unshiftListener(function(a){var b=[];for(var c=p,d=Array.isArray(c),e=0,c=d?c:c[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var f;if(d){if(e>=c.length)break;f=c[e++]}else{e=c.next();if(e.done)break;f=e.value}f=f;var g=f[0];f[1];if(q.has(g))continue;f=K(g);if(f.type==="csr"||f.type==="async")continue;b.push(f.src)}a.loadingUrls=b});function I(a){if(l||!D)return!1;if(!m)return!0;for(var b=0;b=e.length)break;h=e[g++]}else{g=e.next();if(g.done)break;h=g.value}h=h;if(!v.has(h))return!1}}}return!0}function J(a){var c=t.get(a);if(!c)throw new Error(b("TAAL").blameToPreviousFile(b("ex")("Bootloader: %s is not in the component map",a)));return c}function K(a){var c=v.get(a);if(!c)throw new Error(b("TAAL").blameToPreviousFile(b("ex")("No resource entry for hash: %s",a)));return c}function L(a,c){var d=b("ResourceHasher").getAsyncHash(a);if(!v.has(d))v.set(d,{type:"async",module:a,blocking:!!c});else{a=K(d);a.type==="async"||g(0,21557);a.blocking&&!c&&(a.blocking=!1)}return d}function M(){u||(u=document.head||document.getElementsByTagName("head")[0]||document.body);return u}function N(a){var b=document.createDocumentFragment();a(b);M().appendChild(b)}function O(){if(!H)return!1;var a=y.length;if(a=a.length)break;l=a[k++]}else{k=a.next();if(k.done)break;l=k.value}l=l;var m=l[0];l=l[1];switch(l.type){case"css":l.nonblocking||i.push(E.rsrcDone(m));break;case"js":i.push(E.rsrcDone(m));break;case"async":l.blocking&&i.push(E.rsrcDone(m));break;default:l.type,g(0,3721)}p.has(m)||h.set(m,l);e==null?void 0:e.set(m,l)}if(c){var n=b("cr:696703")?b("cr:696703").getCallbackScheduler():function(a){return a()};E.registerCallback(function(){n(c)},i)}for(var m=h,l=Array.isArray(m),k=0,m=l?m:m[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){if(l){if(k>=m.length)break;j=m[k++]}else{k=m.next();if(k.done)break;j=k.value}a=j;e=a[0];i=a[1];P(e,i,d);T(e,i,d,f)}}function V(a,c,d){v.set(a,c);if(c.type==="async"||c.type==="csr")return;c=c.p;if(c)for(var c=b("CSRIndexUtil").parseCSRIndexes(c),e=Array.isArray(c),f=0,c=e?c:c[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var g;if(e){if(f>=c.length)break;g=c[f++]}else{f=c.next();if(f.done)break;g=f.value}g=g;(!w.has(g)||d)&&(w.set(g,a),b("CSRBitMap").add(g))}}function ba(a,c){var d=E.bootload(c);if(A.has(d))return[d,null];A.add(d);a={ref:a,components:c,timesliceContext:b("TimeSlice").getContext(),startTime:(i||(i=b("performanceAbsoluteNow")))(),callbackStart:0,callbackEnd:0,tierOne:new Map(),tierTwo:new Map(),tierThree:new Map(),beRequests:new Map()};b("BootloaderEvents").notifyBootloadStart(a);return[d,a]}function W(a){return b("ifRequireable").call(null,a,function(){return!0},function(){return!1})}function ca(a,c,e,f){z.has(a)||z.set(a,{firstBootloadStart:(i||(i=b("performanceAbsoluteNow")))(),logData:new Set()});f&&b("nullthrows")(z.get(a)).logData.add(f);var g=J(a),h=g.r,j=g.rdfds,k=g.rds;g=g.be;g=W(a)?null:L(a,g);g==null&&E.notify(E.beDone(a));U(g!=null?[g].concat(h):h,function(){return E.notify(E.tierOne(a))},e,f==null?void 0:f.tierOne);U((j==null?void 0:j.r)||[],function(){return E.registerCallback(function(){E.notify(E.tierTwoStart(a)),d.call(null,(j==null?void 0:j.m)||[],function(){return E.notify(E.tierTwo(a))})},[E.tierOne(a),c])},e,f==null?void 0:f.tierTwo);U((k==null?void 0:k.r)||[],function(){return E.registerCallback(function(){E.notify(E.tierThreeStart(a)),d.call(null,(k==null?void 0:k.m)||[],function(){return E.notify(E.tierThree(a))})},[E.tierTwo(a)])},e,f==null?void 0:f.tierThree)}function X(a){var c=new Map();for(var d=0;d=e.length)break;i=e[h++]}else{h=e.next();if(h.done)break;i=h.value}i=i;i=b("nullthrows")(w.get(i),"No hash for rsrcIndex:"+i);var j=K(i);j.type!=="csr"||g(0,20056,i);c.set(i,j)}}return c.entries()}function Y(a){var c,d=a.getAttribute("data-bootloader-hash");if(d==null)return;var e=b("ResourceHasher").getValidResourceHash(d);if(a.id){if(C.has(a.id))return;C.add(a.id)}d=a.tagName=="SCRIPT"?{src:a.src,type:"js"}:{src:a.href,type:"css"};a.crossOrigin==null&&(d.nc=1);d.type==="css"&&a.getAttribute("data-nonblocking")&&(d.nonblocking=1);d.p=a.getAttribute("data-p");v.has(e)&&!b("BootloaderConfig").silentDups&&b("FBLogger")("bootloader").warn("Duplicate resource [%s]: %s",e,d.src);V(e,d,!0);p.set(e,(i||(i=b("performanceAbsoluteNow")))());var f=function(){return $.done(e)};c=d.type==="js"?!a.getAttribute("async"):((c=a.parentNode)==null?void 0:c.tagName)==="HEAD";c||window._btldr&&window._btldr[e]?f():d.type==="js"?R(a,e,d,f):b("CSSLoader").setupEventListeners(e,d.src,M(),f,S(e,d,f),a)}function Z(){if(B)return;B=!0;Array.from(document.getElementsByTagName("link")).forEach(function(a){return Y(a)});Array.from(document.getElementsByTagName("script")).forEach(function(a){return Y(a)})}function da(){D=!0;var a=o;o=[];a.forEach(function(a){var b=a[0],c=a[1],d=a[2];a=a[3];a(function(){$.loadModules.apply($,[b,c,d])})});a=n;n=[];a.forEach(function(a){var b=a[0];a=a[1];a(function(){$.preloadModules.apply($,[b])})})}var $={preloadModules:function(a){if(!I(a)){var c=b("TimeSlice").getGuardedContinuation("Deferred: Bootloader.preloadModules");n.push([a,c]);return}var d=[];for(var c=0;c=b.length)break;f=b[e++]}else{e=b.next();if(e.done)break;f=e.value}f=f;var g=f[0];f=f[1];P(g,f,a)}})},loadModules:function(a,c,e){c===void 0&&(c=k);e===void 0&&(e="loadModules: unknown caller");var f=!1,g=function(){f||c.apply(void 0,arguments)},h={remove:function(){f=!0}};if(!I(a)){var j="Deferred: Bootloader.loadModules";j=b("TimeSlice").getGuardedContinuation(j);o.push([a,g,e,j]);return h}j=ba(e,a);var l=j[0],m=j[1];E.registerCallback(d.bind(null,a,function(){m&&(m.callbackStart=(i||(i=b("performanceAbsoluteNow")))()),g.apply(void 0,arguments),m&&(m.callbackEnd=(i||(i=b("performanceAbsoluteNow")))()),E.notify(l)}),a.map(function(a){return E.tierOne(a)}));N(function(c){for(var d=0;d=q.length)break;t=q[s++]}else{s=q.next();if(s.done)break;t=s.value}t=t;j.add(E.rsrcDone(t))}}E.registerCallback(function(){return b("BootloaderEvents").notifyBootload(m)},Array.from(j));b("ifRequireable")("TimeSliceInteraction",function(b){b.informGlobally("Bootloader.loadResources").addSetAnnotation("requested_hashes",Array.from(m.tierOne.keys())).addSetAnnotation("rdfd_requested_hashes",Array.from(m.tierTwo.keys())).addSetAnnotation("rd_requested_hashes",Array.from(m.tierThree.keys())).addStringAnnotation("bootloader_reference",e).addSetAnnotation("requested_components",a)})}return h},loadResources:function(a,c,d,e){Z(),N(function(f){return U(a.map(function(a){return b("ResourceHasher").getValidResourceHash(a)}),c,f,e,d)})},requestJSResource_UNSAFE_NEEDS_REVIEW_BY_SECURITY_AND_XFN:function(a){var c=b("ResourceHasher").createExternalJSHash();V(c,{type:"js",src:a,nc:1},!1);$.loadResources([c])},done:function(a){q.set(a,(i||(i=b("performanceAbsoluteNow")))()),window.CavalryLogger&&window.CavalryLogger.done_js([a]),E.notify(E.rsrcDone(a))},beDone:function(a,b,c){var d=new Set();for(var e=(e=(e=z.get(a))==null?void 0:e.logData)!=null?e:[],f=Array.isArray(e),g=0,e=f?e:e[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var e,h;if(f){if(g>=e.length)break;h=e[g++]}else{g=e.next();if(g.done)break;h=g.value}h=h;h.beRequests.set(b,c);for(var h=c.all.keys(),i=Array.isArray(h),j=0,h=i?h:h[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var k;if(i){if(j>=h.length)break;k=h[j++]}else{j=h.next();if(j.done)break;k=j.value}k=k;d.add(E.rsrcDone(k))}}E.registerCallback(function(){return E.notify(E.beDone(a))},Array.from(d))},pickupResourcesByIDs:function(a){for(var b=0;b=g.length)break;e=g[a++]}else{a=g.next();if(a.done)break;e=a.value}d=e;c=v.get(d);c&&V(d,c,!0)}},getURLToHashMap:function(){var a=new Map();for(var b=v,c=Array.isArray(b),d=0,b=c?b:b[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var e;if(c){if(d>=b.length)break;e=b[d++]}else{d=b.next();if(d.done)break;e=d.value}e=e;var f=e[0];e=e[1];if(e.type==="async"||e.type==="csr")continue;a.set(e.src,f)}return a},loadPredictedResourceMap:function(a,b,c){$.setResourceMap(a,null,c),$.loadResources(Object.keys(a),b)},getCSSResources:function(a){var b=[];for(var a=X(a),c=Array.isArray(a),d=0,a=c?a:a[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var e;if(c){if(d>=a.length)break;e=a[d++]}else{d=a.next();if(d.done)break;e=d.value}e=e;var f=e[0];e=e[1];e.type==="css"&&b.push(f)}return b},getBootloadedComponents:function(){var a=new Map();for(var b=z,c=Array.isArray(b),d=0,b=c?b:b[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var e;if(c){if(d>=b.length)break;e=b[d++]}else{d=b.next();if(d.done)break;e=d.value}e=e;var f=e[0];e=e[1];a.set(f,e.firstBootloadStart)}return a},getResourceState:function(a){return{loadStart:p.get(a),loadEnd:q.get(a),loadError:r.get(a)}},getComponentTiming:function(a){var b;return{tierTwoStart:(b=E.getEventTime(E.tierTwoStart(a)))!=null?b:0,tierTwoEnd:(b=E.getEventTime(E.tierTwo(a)))!=null?b:0,tierThreeStart:(b=E.getEventTime(E.tierThreeStart(a)))!=null?b:0,tierThreeEnd:(b=E.getEventTime(E.tierThree(a)))!=null?b:0}},getLoadedResourceCount:function(){return q.size},getErrorCount:function(){return r.size},__debug:{componentMap:t,requested:p,resources:v,riMap:w,retries:x,errors:r,loaded:q,bootloaded:z,_resolveCSRs:X,_queuedLoadModules:o,_dequeueLoadModules:function(a){a=o.splice(a,1);if(!a.length)return;a=a[0];var b=a[0],c=a[1],d=a[2];a=a[3];var e=l,f=D,g=m;l=!1;D=!0;m=!1;a(function(){$.loadModules.apply($,[b,c,d])});l=e;D=f;m=g}}};b("JSResourceReference").setBootloader($);e.exports=$}),null); __d("CSRFGuard",[],(function(a,b,c,d,e,f){"use strict";f.exists=a;f.clean=b;c="for (;;);";var g=/^for ?\(;;\);/;f.regex=g;d=c.length;f.length=d;function a(a){return!!a.match(g)}function b(a){var b=a.match(g);return b?a.substr(b[0].length):b}}),null); __d("BootloaderEndpoint",["Bootloader","BootloaderEndpointConfig","CSRFGuard","ErrorXFBDebug","FBLogger","HasteResponse","TimeSlice","getAsyncParams","getSameOriginTransport","performanceAbsoluteNow","setImmediateAcrossTransitions"],(function(a,b,c,d,e,f){"use strict";var g,h=b("BootloaderEndpointConfig").endpointURI,i=0,j=null,k=new Map(),l=new Map();function m(a,c){var d={};a.size&&(d.modules=Array.from(a.keys()).join(","));c.size&&(d.nb_modules=Array.from(c.keys()).join(","));a=Object.entries(babelHelpers["extends"]({},d,b("getAsyncParams")("GET"))).map(function(a){var b=a[0];a=a[1];return encodeURIComponent(b)+"="+encodeURIComponent(String(a))}).join("&");return h+(h.includes("?")?"&":"?")+a}function n(a,c){var d=m(a,c),e=b("getSameOriginTransport")(),f=i++,h=(g||(g=b("performanceAbsoluteNow")))();e.open("GET",d,!0);var j=b("TimeSlice").getGuardedContinuation("Bootloader _requestHastePayload");e.onreadystatechange=function(){if(e.readyState!==4)return;j(function(){b("ErrorXFBDebug").addFromXHR(e);var g=e.status===200?JSON.parse(b("CSRFGuard").clean(e.responseText)):null;g==null?b("FBLogger")("bootloader").warn("Invalid response from %s: %s",d,e.responseText.substr(0,256)):b("TimeSlice").guard(function(){return o(d,g,a,c,f,h)},"Bootloader receiveEndpointData",{propagationType:b("TimeSlice").PropagationType.CONTINUATION})()})};e.send()}function o(a,c,d,e,f,h){if(c.__error){b("FBLogger")("bootloader").warn("Fatal error from bootloader endpoint: %s",a);return}var i=(g||(g=b("performanceAbsoluteNow")))(),j=c.serverGenTime;b("HasteResponse").handle(c,function(){var a=[d,e];for(var c=0;c=f.length)break;i=f[h++]}else{h=f.next();if(h.done)break;i=h.value}i=i;b("Bootloader").done(i)}}},function(a){var c=[d,e];for(var g=0;g=k.length)break;n=k[m++]}else{m=k.next();if(m.done)break;n=m.value}n=n;b("Bootloader").beDone(n,f,babelHelpers["extends"]({requestStart:h,responseStart:i,serverGenTime:j},a))}}})}function p(){var a=k,b=l;j=null;k=new Map();l=new Map();n(a,b)}a={load:function(a,c,d){(c?k:l).set(a,d);if(b("BootloaderEndpointConfig").debugNoBatching){p();return}if(j!=null)return;var f=b("TimeSlice").getGuardedContinuation("Schedule async batch request: Bootloader._loadResources");j=b("setImmediateAcrossTransitions")(function(){return f(function(){return p()})})}};e.exports=a}),null); __d("bx",["invariant"],(function(a,b,c,d,e,f,g){e.exports=a;var h={};function a(a){var b=h[a];!b&&g(0,3199,a);return b}a.add=function(a){var b=!1;for(var c in a)c in h||(a[c].loggingID=c,h[c]=a[c])};a.getURL=function(a){return a.uri}}),null); __d("ix",["invariant","ExecutionEnvironment","gkx"],(function(a,b,c,d,e,f,g){e.exports=a;var h={};function a(a){var b=h[a];!b&&g(0,582,a);return b}a.add=function(a){var b=!1;for(var c in a)c in h||(a[c].loggingID=c,h[c]=a[c])}}),null); __d("qex",["invariant","BanzaiLazyQueue"],(function(a,b,c,d,e,f,g){"use strict";var h={},i={};a={_:function(a){var c=h[a];c!=null||g(0,3203,a);var d=c.r;c=c.l;c!=null&&!i[a]&&(i[a]=!0,b("BanzaiLazyQueue").queuePost("qex",{l:c}));return d},add:function(a){for(var b in a)b in h||(h[b]=a[b])}};c=a;e.exports=c}),null); __d("HasteSupportData",["ix","bx","gkx","qex"],(function(a,b,c,d,e,f,g){"use strict";f.handle=a;function a(a){var c=a.bxData,d=a.gkxData,e=a.ixData;a=a.qexData;c!=null&&b("bx").add(c);d!=null&&b("gkx").add(d);e!=null&&g.add(e);a!=null&&b("qex").add(a)}}),null); __d("$-core",["TAALOpcodes","err"],(function(a,b,c,d,e,f){e.exports=a;function a(a){return g(a,typeof a==="string"?document.getElementById(a):a)}function c(a){return g(a,typeof a==="string"?document.getElementById(a):a)}function g(a,c){if(!c){a=b("err")('Tried to get element with id of "%s" but it is not present on the page',String(a));a.taalOpcodes=a.taalOpcodes||[];a.taalOpcodes=[b("TAALOpcodes").PREVIOUS_FILE];throw a}return c}a.fromIDOrElement=c}),null); __d("$",["$-core"],(function(a,b,c,d,e,f){e.exports=b("$-core")}),null); __d("CSSCore",["invariant"],(function(a,b,c,d,e,f,g){f.addClass=i;f.removeClass=j;f.conditionClass=a;f.hasClass=k;f.matchesSelector=b;function h(a,b){var c=a;while(c.parentNode)c=c.parentNode;if(c instanceof Element){c=c.querySelectorAll(b);return Array.prototype.indexOf.call(c,a)!==-1}return!1}function i(a,b){/\s/.test(b)&&g(0,440,b);b&&(a.classList?a.classList.add(b):k(a,b)||(a.className=a.className+" "+b));return a}function j(a,b){/\s/.test(b)&&g(0,441,b);b&&(a.classList?a.classList.remove(b):k(a,b)&&(a.className=a.className.replace(new RegExp("(^|\\s)"+b+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")));return a}function a(a,b,c){return(c?i:j)(a,b)}function k(a,b){/\s/.test(b)&&g(0,442);return a.classList?!!b&&a.classList.contains(b):(" "+a.className+" ").indexOf(" "+b+" ")>-1}function b(a,b){var c=a.matches||a.webkitMatchesSelector||a.mozMatchesSelector||a.msMatchesSelector||function(b){return h(a,b)};return c.call(a,b)}}),null); __d("CSS",["CSSCore","$"],(function(a,b,c,d,e,f){a=typeof window!="undefined"?window.CSS:null;var g="hidden_elem",h={supports:a&&a.supports.bind(a),setClass:function(a,c){b("$").fromIDOrElement(a).className=c||"";return a},hasClass:function(a,c){return a instanceof Document||a instanceof Text?!1:b("CSSCore").hasClass(b("$").fromIDOrElement(a),c)},matchesSelector:function(a,c){return a instanceof Document||a instanceof Text?!1:b("CSSCore").matchesSelector(b("$").fromIDOrElement(a),c)},addClass:function(a,c){return b("CSSCore").addClass(b("$").fromIDOrElement(a),c)},removeClass:function(a,c){return b("CSSCore").removeClass(b("$").fromIDOrElement(a),c)},conditionClass:function(a,c,d){return b("CSSCore").conditionClass(b("$").fromIDOrElement(a),c,!!d)},toggleClass:function(a,b){return h.conditionClass(a,b,!h.hasClass(a,b))},shown:function(a){return!h.hasClass(a,g)},hide:function(a){return h.addClass(a,g)},show:function(a){return h.removeClass(a,g)},toggle:function(a){return h.toggleClass(a,g)},conditionShow:function(a,b){return h.conditionClass(a,g,!b)}};e.exports=h}),null); __d("Parent",["CSS"],(function(a,b,c,d,e,f){f.byTag=a;f.byClass=c;f.bySelector=d;f.bySelector_SLOW=g;f.byAttribute=e;f.find=h;function a(a,b){b=b.toUpperCase();a=h(a,function(a){return a.nodeName===b});return a instanceof Element?a:null}function c(a,c){a=h(a,function(a){return a instanceof Element&&b("CSS").hasClass(a,c)});return a instanceof Element?a:null}function d(a,b){a=a;if(typeof a.matches==="function"){while(a&&a!==document&&!a.matches(b))a=a.parentNode;return a instanceof Element?a:null}else if(typeof a.msMatchesSelector==="function"){while(a&&a!==document&&!a.msMatchesSelector(b))a=a.parentNode;return a instanceof Element?a:null}else return g(a,b)}function g(a,b){a=a;var c=a;while(c.parentNode)c=c.parentNode;if(!(c instanceof Element)&&!(c instanceof Document))return null;c=c.querySelectorAll(b);while(a){if(Array.prototype.indexOf.call(c,a)!==-1)return a instanceof Element?a:null;a=a.parentNode}return a instanceof Element?a:null}function e(a,b){a=h(a,function(a){return a instanceof Element&&!!a.getAttribute(b)});return a instanceof Element?a:null}function h(a,b){a=a;while(a){if(b(a))return a;a=a.parentNode}return null}}),null); __d("ContextualComponent",["Parent"],(function(a,b,c,d,e,f){a=function(){a.forNode=function(b){return a.$1.get(b)||null};a.closestToNode=function(c){c=b("Parent").find(c,function(b){return!!a.forNode(b)});return c?a.forNode(c):null};a.register=function(b){return new a(b)};function a(a){var b=a.element,c=a.isRoot;a=a.parent;this.$2=c;this.$3=b;this.$4=a;this.$5=new Set();this.$6=[];this.$7=[];this.$8()}var c=a.prototype;c.onCleanup=function(a){this.$6.push(a)};c.onUnmount=function(a){this.$7.push(a)};c.cleanup=function(){this.$5.forEach(function(a){return a.cleanup()}),this.$6.forEach(function(a){return a()}),this.$6=[]};c.unmount=function(){this.cleanup();this.$5.forEach(function(a){return a.unmount()});this.$7.forEach(function(a){return a()});this.$7=[];var b=this.$4;b&&(a.$1["delete"](this.$3),b.$9(this))};c.reinitialize=function(){var b=this.$4;b&&(b.$9(this),this.$4=void 0);a.$1["delete"](this.$3);this.$8()};c.$8=function(){if(!this.$2&&!this.$4){var b=a.closestToNode(this.$3);b&&(this.$4=b)}this.$4&&this.$4.$10(this);a.$1.set(this.$3,this)};c.$10=function(a){this.$5.add(a)};c.$9=function(a){this.$5["delete"](a)};return a}();e.exports=a;a.$1=new Map()}),null); __d("ge",[],(function(a,b,c,d,e,f){e.exports=a;function a(a,b,c){if(typeof a!=="string")return a;else if(!b)return document.getElementById(a);else return g(a,b,c)}function g(a,b,c){var d;if(h(b)==a)return b;else if(b.getElementsByTagName){c=b.getElementsByTagName(c||"*");for(d=0;d=0&&i.set(f),define(a,c,function(g,h,i,k,c){g={data:d};b("replaceTransportMarkers")({relativeTo:j},g);if(f===-42){h=d!=null&&typeof d==="object"&&d.__throw8367__;throw new Error(a+": "+(typeof h==="string"?h:""))}c.exports=g.data},g|h)},handleDefines:function(a,b){a.forEach(function(a){var c;b!=null?c=[].concat(a,[b]):c=[].concat(a,[null]);j.handleDefine.apply(null,c)})}};a=j;e.exports=a}),null); __d("__debug",[],(function(a,b,c,d,e,f){a={};e.exports=a}),null); __d("ServerJS",["ContextualComponent","ErrorGuard","ServerJSDefine","err","ge","replaceTransportMarkers","__debug"],(function(a,b,c,d,e,f){var g,h=1,i=2,j=16,k=0;a=function(){"use strict";function a(){this.$2={},this.$1=null,this.$4={},this.$3=void 0}var c=a.prototype;c.handle=function(a,b){return this.$5(a,b,m)};c.handleWithCustomApplyEach=function(a,b,c){this.$5(b,c,a)};c.$5=function(a,c,d){this.$3=c;if(a.__guard!=null)throw b("err")("ServerJS.handle called on data that has already been handled");a.__guard=!0;d(a.define||[],this.$6,this);d(a.markup||[],this.$7,this);d(a.elements||[],this.$8,this);this.$9(a.contexts||[]);d(a.instances||[],this.$10,this);var e=d(a.pre_display_requires||[],this.$11,this);e=e.concat(d(a.require||[],this.$11,this));return{cancel:function(){e.forEach(function(a){a&&a.cancel()})}}};c.handlePartial=function(a,b){var c=this;(a.instances||[]).forEach(function(a){p(c.$2,a)});(a.markup||[]).forEach(function(a){o(c.$2,a)});(a.elements||[]).forEach(function(a){o(c.$2,a)});return this.handle(a,b)};c.setRelativeTo=function(a){this.$1=a;return this};c.cleanup=function(a){var c=Object.keys(this.$2);a?d.call(null,c,a.guard(function(){},"SeverJS Cleanup requireLazy",{propagationType:a.PropagationType.ORPHAN})):d.call(null,c,function(){});this.$2={};function f(c){var d=this.$4[c],a=d[0],f=d[1];d=d[2];delete this.$4[c];f=f?'JS::call("'+a+'", "'+f+'", ...)':'JS::requireModule("'+a+'")';a=b("__debug").debugUnresolvedDependencies([a,c]);throw l(b("err")("%s did not fire because it has missing dependencies.\n%s",f,a),d)}for(var h in this.$4)(g||(g=b("ErrorGuard"))).applyWithGuard(f,this,[h],{name:"ServerJS:cleanup id: "+h,project:"ServerJSCleanup"})};c.$6=function(a,c,d,e){return(g||(g=b("ErrorGuard"))).applyWithGuard(b("ServerJSDefine").handleDefine,b("ServerJSDefine"),[a,c,d,e,this.$1],{name:"JS::define"})};c.$11=function(a,c,d,e){return(g||(g=b("ErrorGuard"))).applyWithGuard(this.$12,this,[a,c,d,e],{name:c!=null?"JS::call":"JS::requireModule"})};c.$12=function(a,c,d,e){a=b("ServerJSDefine").getModuleNameAndHash(a);var f=a.name,m=a.hash,n;typeof c==="object"?a=c:(a=d,n=c);d=[f].concat(a||[]);var o;n!=null?o="__call__"+f+"."+n:o="__requireModule__"+f;o+="__"+k++;this.$4[o]=[f,n,m];var p=this.$3&&this.$3.bigPipeContext,q=(g||(g=b("ErrorGuard"))).guard(function(a){a=b.call(null,f);delete this.$4[o];e&&b("replaceTransportMarkers")({relativeTo:this.$1,bigPipeContext:p},e);if(n!=null){if(!a[n])throw l(b("err")('Module %s has no method "%s"',f,n),m);a[n].apply(a,e||[]);q.__SMmeta=a[n].__SMmeta||{};q.__SMmeta.module=q.__SMmeta.module||f;q.__SMmeta.name=q.__SMmeta.name||n}}.bind(this),{name:n!=null?"JS::call('"+f+"', '"+n+"', ...)":"JS::requireModule('"+f+"')"});c=define(o,d,q,h|j|i,this,1,this.$3);return c};c.$10=function(a,c,d,e){(g||(g=b("ErrorGuard"))).applyWithGuard(this.$13,this,[a,c,d,e],{name:"JS::instance"})};c.$13=function(a,c,d,e){var f=null;a=b("ServerJSDefine").getModuleNameAndHash(a);var g=a.name;a=a.hash;if(c){var h=this.$3&&this.$3.bigPipeContext;f=function(){var a=b.call(null,c[0]);b("replaceTransportMarkers")({relativeTo:this.$1,bigPipeContext:h},d);var e=Object.create(a.prototype);a.apply(e,d);return e}.bind(this)}define(g,c,f,i|j,null,e)};c.$7=function(a,c,d){(g||(g=b("ErrorGuard"))).applyWithGuard(this.$14,this,[a,c,d],{name:"JS::markup"})};c.$14=function(a,c,d){a=b("ServerJSDefine").getModuleNameAndHash(a);var e=a.name;a=a.hash;define(e,["HTML"],function(b){try{return b.replaceJSONWrapper(c).getRootNode()}catch(b){throw l(b,a)}},j,null,d)};c.$8=function(a,c,d,e){(g||(g=b("ErrorGuard"))).applyWithGuard(this.$15,this,[a,c,d,e],{name:"JS::element"})};c.$15=function(a,c,d,e){a=b("ServerJSDefine").getModuleNameAndHash(a);var f=a.name,g=a.hash;if(c===null&&d!=null){define(f,null,null,j,null,d);return}a=[];var i=j;d=d||0;e!=null&&(a.push(e),i|=h,d++);define(f,a,function(a){a=b("ge")(c,a);if(!a){var d="";throw l(b("err")('Could not find element "%s"%s',c,d),g)}return a},i,null,d)};c.$9=function(a){(g||(g=b("ErrorGuard"))).applyWithGuard(this.$16,this,[a],{name:"ContextualComponents"})};c.$16=function(a){var c=this,d=this.$3&&this.$3.bigPipeContext;a.map(function(a){b("replaceTransportMarkers")({relativeTo:c.$1,bigPipeContext:d},a);var e=a[0];return[a,n(e)]}).sort(function(a,b){return a[1]-b[1]}).forEach(function(a){a=a[0];var c=a[0];a=a[1];b("ContextualComponent").register({element:c,isRoot:a})})};return a}();function l(a,b){a.serverHash=b;return a}function m(a,b,c){return a.map(function(a){return b.apply(c,a)})}function n(a){var b=0;a=a;while(a)a=a.parentElement,b++;return b}function o(c,a){var d=b("ServerJSDefine").getModuleNameAndHash(a[0]);d=d.name;d in c||(a[2]=(a[2]||0)+1);c[d]=!0}function p(c,a){var d=b("ServerJSDefine").getModuleNameAndHash(a[0]);d=d.name;d in c||(a[3]=(a[3]||0)+1);c[d]=!0}e.exports=a}),null); __d("HasteResponse",["Bootloader","HasteSupportData","ServerJS","performanceAbsoluteNow"],(function(a,b,c,d,e,f){"use strict";var g,h={handleSRPayload:function(a){b("HasteSupportData").handle(a);var c=a.resource_map,d=a.sot_upgrades,e=a.bootloadable;a=a.sr_revision;c!=null&&b("Bootloader").setResourceMap(c,d,a);e!=null&&b("Bootloader").enableBootload(e)},handle:function(a,c,d){h.handleSRPayload(a);var e=a.jsmods;a=a.allResources;var f=new Map(),i=new Map(),j=0,k=0;b("Bootloader").loadResources(b("Bootloader").getCSSResources(a||[]),function(){j=(g||(g=b("performanceAbsoluteNow")))(),new(b("ServerJS"))().handle(e||{}),k=g(),c&&c()},null,f);b("Bootloader").loadResources(a||[],function(){d&&d({jsmodsStart:j,jsmodsEnd:k,blocking:f,all:i})},null,i)}};e.exports=h}),null); __d("promiseDone",["ErrorPubSub","TAALOpcodes","getErrorSafe"],(function(a,b,c,d,e,f){var g;function a(a,c,d){var e=new Error("").stack,f=arguments.length>1?a.then(c,d):a;f.then(null,function(a){var c=b("getErrorSafe")(a);c!==a&&(c.stack=e,c.taalOpcodes=[b("TAALOpcodes").PREVIOUS_FILE]);c.loggingSource="PROMISE_DONE";(g||(g=b("ErrorPubSub"))).reportError(c)})}e.exports=a}),null); __d("requireWeak",[],(function(a,b,c,d,e,f){function a(a,b){d&&d.call(null,[a],b)}e.exports=a}),null); __d("RequireDeferredReference",["Promise","Bootloader","emptyFunction","ifRequireable","ifRequired","performanceNow","promiseDone","requireCond","requireWeak","cr:696703"],(function(a,b,c,d,e,f){"use strict";var g,h=function(a){return a};a=function(){function a(a){this.$1=a}var c=a.prototype;c.getModuleId=function(){var a=this.$1;return a};c.getModuleIdAsRef=function(){return this.$1};c.__setRef=function(a){this.$2=a;return this};c.preload=function(){};c.getModuleIfRequired=function(){return b("ifRequired").call(null,this.$1,h)};c.getModuleIfRequireable=function(){return b("ifRequireable").call(null,this.$1,h)};c.load=function(){var a=this,c=b("ifRequireable")("CometInteractionTracingMetrics",function(c){return c.currentInteractionLogger().addRequireDeferred(a.getModuleId(),(g||(g=b("performanceNow")))())});return new(b("Promise"))(function(d){b("requireWeak").call(null,a.getModuleId(),function(a){if(c){var e=!1;c((g||(g=b("performanceNow")))(),e)}d(a)})})};c.loadImmediately=function(a){var c,d=!1,e=!1;function f(b){if(d||e)return;d=!0;a(b)}var g=b("Bootloader").loadModules.call(b("Bootloader"),[this.getModuleId()],f,(c=this.$2)!=null?c:"RequireDeferredReference.loadImmediately()");b("requireWeak").call(null,this.getModuleId(),function(a){f(a)});return{remove:function(){e||(e=!0,g.remove())}}};c.onReadyImmediately=function(a){var c=this,d=!1,e=(g||(g=b("performanceNow")))(),f=b("ifRequireable")("CometInteractionTracingMetrics",function(a){return a.currentInteractionLogger().addRequireDeferred(c.getModuleId(),e)}),h=this.getModuleIfRequireable();if(h!=null){if(f){var i=!0;f(e,i)}a(h)}else{var j=!1;if(b("cr:696703")){var k=b("cr:696703").getCurrentPriorityLevel();this.loadImmediately(function(){for(var c=arguments.length,e=new Array(c),h=0;h-1)&&(d[b]=a)});(h||(h=b("Env"))).isCQuick&&!d.cquick&&(d.cquick=(h||(h=b("Env"))).iframeKey,d.ctarget=h.iframeTarget,d.cquick_token=h.iframeToken);if(a=="POST"){c=b("DTSG").getCachedToken?b("DTSG").getCachedToken():b("DTSG").getToken();c&&(d.fb_dtsg=c,b("SprinkleConfig").param_name&&(d[b("SprinkleConfig").param_name]=b("DTSGUtils").getNumericValue(c)));b("LSD").token&&(d.lsd=b("LSD").token,b("SprinkleConfig").param_name&&!c&&(d[b("SprinkleConfig").param_name]=b("DTSGUtils").getNumericValue(b("LSD").token)))}if(a=="GET"){c=b("DTSG_ASYNC").getCachedToken?b("DTSG_ASYNC").getCachedToken():b("DTSG_ASYNC").getToken();c&&(d.fb_dtsg_ag=c,b("SprinkleConfig").param_name&&(d[b("SprinkleConfig").param_name]=b("DTSGUtils").getNumericValue(c)))}b("ISB").token&&(d.fb_isb=b("ISB").token);b("CurrentCommunity").getID()!=="0"&&(d.__cid=b("CurrentCommunity").getID());b("isSocialPlugin")()&&(d.__sp=1);if(b("SiteData").spin){d[(a=b("StaticSiteData")).spin_rev_key]=b("SiteData")[a.spin_rev_key];d[a.spin_branch_key]=b("SiteData")[a.spin_branch_key];d[a.spin_time_key]=b("SiteData")[a.spin_time_key];b("SiteData")[b("StaticSiteData").spin_mhenv_key]&&(d[b("StaticSiteData").spin_mhenv_key]=b("SiteData")[b("StaticSiteData").spin_mhenv_key])}i!=null&&j!=null&&(d[j]=i);return d}e.exports=a}),null); /** * License: https://www.facebook.com/legal/license/09P_rcHKL4D/ */ __d("Alea",[],(function(a,b,c,d,e,f){e.exports=a;function g(){var a=4022871197,b=function(b){b=b.toString();for(var c=0;c>>0;d-=a;d*=a;a=d>>>0;d-=a;a+=d*4294967296}return(a>>>0)*23283064365386963e-26};b.version="Mash 0.9";return b}function a(){var a=0,b=0,c=0,d=1;for(var e=arguments.length,f=new Array(e),h=0;h0?f:[new Date()],j=new g();a=j(" ");b=j(" ");c=j(" ");for(var k=0;k=a||a<=c)return;c=(g||(g=b("WebStorage"))).getLocalStorage();if(c!=null){d=d==null?o():d.id;c.setItem("Session",d+":"+a)}}function c(){var a,b,c=q();a=(a=s())!=null?a:"";b=(b=t())!=null?b:"";return a+":"+b+":"+c}function d(){return q()}}),null); __d("CookieConsent",["InitialCookieConsent"],(function(a,b,c,d,e,f){"use strict";var g,h=(g||(g=b("InitialCookieConsent"))).deferCookies,i=g.shouldShowCookieBanner;a={setConsented:function(){h=!1,i=!1},isDeferCookies:function(){return h},isCookiesBlocked:function(){return(g||(g=b("InitialCookieConsent"))).noCookies},shouldShowCookieBanner:function(){return i}};e.exports=a}),null); __d("WebStorage",["CookieConsent","FBLogger","ex","gkx","repairLocalStorage"],(function(a,b,c,d,e,f){"use strict";var g,h={},i={};function j(a,c,d){if((g||(g=b("CookieConsent"))).isCookiesBlocked()||(g||(g=b("CookieConsent"))).isDeferCookies())return null;if(d==="localStorage"){a=!1;try{a=b("gkx")("946894")}catch(a){}a&&b("repairLocalStorage")()}Object.prototype.hasOwnProperty.call(h,d)||(h[d]=c(d));return h[d]}function k(a){try{return window[a]}catch(a){b("FBLogger")("web_storage").warn("Failed to get storage for read %s",a.message)}return null}function l(a){try{a=window[a];if(a){var c="__test__"+Date.now();a.setItem(c,"");a.removeItem(c)}return a}catch(a){c="";b("FBLogger")("web_storage").warn("Failed to get storage %s"+c,a.message)}return null}function m(a){var b=[];for(var c=0;c0){var a=(g||(g=b("performanceNow")))(),c=document.cookie;a=g()-a;var d=a>b("CookieCoreLoggingConfig").maximumIgnorableStallMs&&b("Random").coinflip(1/b("CookieCoreLoggingConfig").sampleRate);d&&b("FBLogger")("cookie_infra").addMetadata("COOKIE_INFRA","WALL_TIME",String(a)).warn("Cookie read exceeded %s milliseconds.",b("CookieCoreLoggingConfig").maximumIgnorableStallMs);return c}else return document.cookie}var l=function(){function a(){this.$1=0}var c=a.prototype;c.setCookie=function(a,b,c,d,e,f,g,h){document.cookie=i(a,b,c,d,e,f,g,h)};c.clearCookie=function(a,b,c){document.cookie=j(a,b,c)};c.getCookie=function(a){this.$1++;var c=(g||(g=b("performanceNow")))();a=k().match("(?:^|;\\s*)"+a+"=(.*?)(?:;|$)");c=g()-c;var d=1/b("CookieCoreLoggingConfig").sampleRateClassic,e=b("Random").coinflip(d);e&&m(d,"classic",c,this.$1);return a?decodeURIComponent(a[1]):null};return a}();function m(a,b,c,d,e,f){h.onReady(function(g){g=new g("cookie_perf",null,{addBrowserFields:!0});g.addInteger("sample_rate",Math.floor(a));g.addNormal("type",b);g.addInteger("duration_usec",c*1e3);g.addInteger("reads",d);typeof e==="number"&&g.addInteger("misses",e);typeof f==="boolean"&&g.addNormal("hit",f);g.post()})}var n=10*1e3,o=function(){function a(){this.$1={},this.$2=0,this.$3=0,this.$4=0}var c=a.prototype;c.setCookie=function(a,b,c,d,e,f,g,h){document.cookie=i(a,b,c,d,e,f,g,h),this.$1[b]={value:c,updated:a}};c.clearCookie=function(a,b,c){document.cookie=j(a,b,c),this.$1[a]={value:null,updated:Date.now()}};c.getCookie=function(a){var c=(g||(g=b("performanceNow")))();a=this.$5(a);var d=a.cookie;a=a.hit;var e=1/b("CookieCoreLoggingConfig").sampleRateFastStale,f=b("Random").coinflip(e);if(f){f=(g||(g=b("performanceNow")))()-c;m(e,"fast_stale",f,this.$3,this.$4,a)}return d};c.$5=function(a){var b=Date.now(),c=this.$1[a];if(!c){if(this.$2+n=a.length)break;d=a[c++]}else{c=a.next();if(c.done)break;d=c.value}d=d;d=d.match("\\s*([^=]+)=(.*)");if(!d)continue;this.$1[d[1]]={value:decodeURIComponent(d[2]),updated:this.$2}}};return a}();e.exports={newCookieStore:function(){return b("gkx")("676837")?new o():new l()},CookieCacheForTest:o,CookieStoreSlowForTest:l}}),null); __d("CookieCore",["CookieCoreConfig","CookieStore"],(function(a,b,c,d,e,f){f.set=l;f.setWithoutChecks=m;f.setIfFirstPartyContext=a;f.setWithoutChecksIfFirstPartyContext=c;f.clear=n;f.get=d;var g=/^.*(\.(facebook|messenger|oculus|instagram|facebookcorewwwi|workplace|fbaddins)\..*)$/i,h=/_js_(.*)/,i;function j(){i||(i=b("CookieStore").newCookieStore());return i}function k(a){return window.self!=window.top?!1:!0}function l(a,b){if(!q(a))return;m(a,b,s(a),t(a),r(a),u(a))}function m(a,b,c,d,e,f){var h=Date.now();if(c!=null)if(c>h)c-=h;else if(c==1){n(a,d);return}j().setCookie(h,a,b,d,window.location.hostname.replace(g,"$1"),c,e,f)}function a(a,b){if(!k(a))return;l(a,b)}function c(a,b,c,d,e){if(!k(a))return;m(a,b,c,d,e)}function n(a,b){b===void 0&&(b="/"),b=b||"/",j().clearCookie(a,b,window.location.hostname.replace(g,"$1"))}function d(a){return!q(a)?null:j().getCookie(a)}function o(a){return{insecure:a.i||!1,path:a.p||"/",ttlSeconds:a.t||0,sameSite:a.s||"None"}}function p(a){if(b("CookieCoreConfig")[a]!==void 0)return o(b("CookieCoreConfig")[a]);a=a.match(h);return a&&a.length>1?p(a[1]):null}function q(a){return p(a)!==null}function r(a){a=p(a);return a==null?!0:!a.insecure}function s(a){a=p(a);return a==null?null:a.ttlSeconds*1e3}function t(a){a=p(a);return a==null?"/":a.path}function u(a){a=p(a);return a==null||a.sameSite==null?null:a.sameSite}}),null); __d("Cookie",["Bootloader","CookieConsent","CookieCore"],(function(a,b,c,d,e,f){var g;function h(a){if((g||(g=b("CookieConsent"))).isDeferCookies()){b("Bootloader").loadModules(["BanzaiODS"],function(b){b.bumpEntityKey(2966,"defer_cookies","set."+a)},"Cookie");return!1}return!0}function i(){return!(g||(g=b("CookieConsent"))).isCookiesBlocked()}function a(a,c){if(!i()||!h(a))return;b("CookieCore").set(a,c)}function c(a,c){if(!i())return;b("CookieCore").set(a,c)}function d(a,c,d,e,f){if(!i()||!h(a))return;b("CookieCore").setWithoutChecks(a,c,d,e,f)}f=babelHelpers["extends"]({},b("CookieCore"),{set:a,setWithoutChecks:d,setWithoutCheckingUserConsent_DANGEROUS:c});e.exports=f}),null); __d("DOMEvent",["invariant"],(function(a,b,c,d,e,f,g){a=function(){"use strict";function a(a){this.event=a||window.event,typeof this.event.srcElement!=="unknown"||g(0,5798),this.target=this.event.target||this.event.srcElement}var b=a.prototype;b.preventDefault=function(){var a=this.event;a.preventDefault?(a.preventDefault(),"defaultPrevented"in a||(a.defaultPrevented=!0)):a.returnValue=!1;return this};b.isDefaultPrevented=function(){var a=this.event;return"defaultPrevented"in a?a.defaultPrevented:a.returnValue===!1};b.stopPropagation=function(){var a=this.event;a.stopPropagation?a.stopPropagation():a.cancelBubble=!0;return this};b.kill=function(){this.stopPropagation().preventDefault();return this};a.killThenCall=function(b){return function(c){new a(c).kill();return b()}};return a}();e.exports=a}),null); __d("dedupString",[],(function(a,b,c,d,e,f){"use strict";function a(a){var b;return Object.keys((b={},b[a]=0,b))[0]}e.exports=a}),null); __d("wrapFunction",[],(function(a,b,c,d,e,f){var g={};a=function(a,b,c){var d=b in g?g[b](a,c):a;return function(){for(var a=arguments.length,b=new Array(a),c=0;c), ge()) instead");return b("containsNode")(b("ge")(a),b("ge")(c))},getRootElement:function(){var a=b("ifRequired")("Quickling",function(a){return a.isActive()?b("ge")("content"):null});return a||document.body},isNodeOfType:function(a,c){c=b("createArrayFromMixed")(c).join("|").toUpperCase().split("|");c=b("createObjectFrom")(c);return b("isNode")(a)&&a.nodeName in c},isInputNode:function(a){return i.isNodeOfType(a,["input","textarea"])||a.contentEditable==="true"}};e.exports=i}),null); __d("DataStore",["DataStoreConfig","gkx","isEmpty"],(function(a,b,c,d,e,f){"use strict";var g,h=b("DataStoreConfig").expandoKey,i=b("DataStoreConfig").useExpando,j=b("gkx")("1073500")&&window.WeakMap?new window.WeakMap():null,k={},l=1;function m(a){if(typeof a==="string")return"str_"+a;else{var b;return"elem_"+((b=a.__FB_TOKEN)!=null?b:a.__FB_TOKEN=[l++])[0]}}function n(a){if(j!=null&&typeof a==="object"){j.get(a)===void 0&&j.set(a,{});return j.get(a)}else if(i&&typeof a==="object")return a[h]||(a[h]={});a=m(a);return k[a]||(k[a]={})}var o={set:function(a,b,c){if(!a)throw new TypeError("DataStore.set: namespace is required, got "+typeof a);var d=n(a);d[b]=c;return a},get:function(a,b,c){if(!a)throw new TypeError("DataStore.get: namespace is required, got "+typeof a);var d=n(a),e=d[b];if(e===void 0&&a.getAttribute!=null)if(a.hasAttribute!=null&&!a.hasAttribute("data-"+b))e=void 0;else{a=a.getAttribute("data-"+b);e=null===a?void 0:a}c!==void 0&&e===void 0&&(e=d[b]=c);return e},remove:function(a,c){if(!a)throw new TypeError("DataStore.remove: namespace is required, got "+typeof a);var d=n(a),e=d[c];delete d[c];(g||(g=b("isEmpty")))(d)&&o.purge(a);return e},purge:function(a){if(j!=null&&typeof a==="object")return j["delete"](a);else i&&typeof a==="object"?delete a[h]:delete k[m(a)]},_storage:k};e.exports=o}),null); __d("EventProfiler",["requireCond","cr:708886"],(function(a,b,c,d,e,f){a=b("cr:708886");e.exports=a}),null); __d("Scroll",[],(function(a,b,c,d,e,f){f.getTop=a;f.setTop=b;f.getLeft=c;f.setLeft=d;function g(a,b){return!!b&&(a===b.documentElement||a===b.body)}function a(a){var b;if(a==null)return 0;var c=a.ownerDocument;return g(a,c)?(c==null?void 0:(b=c.body)==null?void 0:b.scrollTop)||(c==null?void 0:(b=c.documentElement)==null?void 0:b.scrollTop)||0:a.scrollTop||0}function b(a,b){if(a==null)return;var c=a.ownerDocument;g(a,c)?((c==null?void 0:c.body)&&(c.body.scrollTop=b||0),(c==null?void 0:c.documentElement)&&(c.documentElement.scrollTop=b||0)):a.scrollTop=b||0}function c(a){var b,c=a.ownerDocument;return g(a,c)?(c==null?void 0:(b=c.body)==null?void 0:b.scrollLeft)||(c==null?void 0:(b=c.documentElement)==null?void 0:b.scrollLeft)||0:a.scrollLeft||0}function d(a,b){var c=a.ownerDocument;g(a,c)?((c==null?void 0:c.body)&&(c.body.scrollLeft=b||0),(c==null?void 0:c.documentElement)&&(c.documentElement.scrollLeft=b||0)):a.scrollLeft=b||0}}),null); __d("VersionRange",["invariant"],(function(a,b,c,d,e,f,g){"use strict";var h=/\./,i=/\|\|/,j=/\s+\-\s+/,k=/^(<=|<|=|>=|~>|~|>|)?\s*(.+)/,l=/^(\d*)(.*)/;function m(a,b){a=a.split(i);if(a.length>1)return a.some(function(a){return D.contains(a,b)});else return n(a[0].trim(),b)}function n(a,b){a=a.split(j);a.length>0&&a.length<=2||g(0,3072);if(a.length===1)return o(a[0],b);else{var c=a[0];a=a[1];x(c)&&x(a)||g(0,3073);return o(">="+c,b)&&o("<="+a,b)}}function o(a,b){a=a.trim();if(a==="")return!0;b=b.split(h);a=v(a);var c=a.modifier;a=a.rangeComponents;switch(c){case"<":return p(b,a);case"<=":return q(b,a);case">=":return s(b,a);case">":return t(b,a);case"~":case"~>":return u(b,a);default:return r(b,a)}}function p(a,b){return C(a,b)===-1}function q(a,b){a=C(a,b);return a===-1||a===0}function r(a,b){return C(a,b)===0}function s(a,b){a=C(a,b);return a===1||a===0}function t(a,b){return C(a,b)===1}function u(a,b){var c=b.slice();b=b.slice();b.length>1&&b.pop();var d=b.length-1,e=parseInt(b[d],10);w(e)&&(b[d]=e+1+"");return s(a,c)&&p(a,b)}function v(a){a=a.split(h);var b=a[0].match(k);b||g(0,3074);return{modifier:b[1],rangeComponents:[b[2]].concat(a.slice(1))}}function w(a){return!isNaN(a)&&isFinite(a)}function x(a){return!v(a).modifier}function y(a,b){for(var c=a.length;cb)return 1;else if(ab)return 1;else if(a=0&&k-i[n].ue_ts10)i.shift();l=k-1;function a(a){a=a||document;if(a.scrollingElement)return a.scrollingElement;a=!g&&a.compatMode==="CSS1Compat"?a.documentElement:a.body;a||b("FlowMigrationUtilsForLegacyFiles").invariantViolation("null result in getDocumentScrollElement");return a}}),null); __d("getObjectValues",[],(function(a,b,c,d,e,f){e.exports=a;function a(a){var b=[];for(var c in a)b.push(a[c]);return b}}),null); __d("Event",["Arbiter","DataStore","DOMEvent","DOMEventListener","DOMQuery","ErrorGuard","EventProfiler","ExecutionEnvironment","FBLogger","Parent","Scroll","TAAL","TimeSlice","UserAgent","$","clickRefAction","dedupString","getDocumentScrollElement","getObjectValues"],(function(a,b,c,d,e,f){var g,h="Event.listeners";Event.prototype||(Event.prototype={});function i(a){(a.type==="click"||a.type==="mouseover"||a.type==="keydown")&&b("Arbiter").inform("Event/stop",{event:a})}var j=function(){"use strict";function a(a,b,c){this.cancelBubble=!1,this.target=a,this.type=b,this.data=c}var c=a.prototype;c.getData=function(){this.data=this.data||{};return this.data};c.stop=function(){return Event.stop(this)};c.prevent=function(){return Event.prevent(this)};c.isDefaultPrevented=function(){return Event.isDefaultPrevented(this)};c.kill=function(){return Event.kill(this)};c.getTarget=function(){return new(b("DOMEvent"))(this).target||null};return a}();function k(a){if(a instanceof j)return a;a||(!window.addEventListener&&document.createEventObject?a=window.event?document.createEventObject(window.event):{}:a={});if(!a._inherits_from_prototype)for(var b in Event.prototype)try{a[b]=Event.prototype[b]}catch(a){}return a}Object.assign(Event.prototype,{_inherits_from_prototype:!0,getRelatedTarget:function(){var a=this.relatedTarget||(this.fromElement===this.srcElement?this.toElement:this.fromElement);return a&&a.nodeType?a:null},getModifiers:function(){var a={control:!!this.ctrlKey,shift:!!this.shiftKey,alt:!!this.altKey,meta:!!this.metaKey};a.access=b("UserAgent").isPlatform("Mac OS X")?a.control:a.alt;a.any=a.control||a.shift||a.alt||a.meta;return a},isRightClick:function(){return this.which?this.which===3:this.button&&this.button===2},isMiddleClick:function(){return this.which?this.which===2:this.button&&this.button===4},isDefaultRequested:function(){return this.getModifiers().any||this.isMiddleClick()||this.isRightClick()}},j.prototype);c={listen:function(a,c,d,e,f){typeof d==="function"&&(d=b("TimeSlice").guard(d,b("dedupString")("Event.js "+c+" handler")));!f||typeof f==="boolean"?f={passive:!1}:f={passive:f.passive||!1};if(!b("ExecutionEnvironment").canUseDOM)return new s(a,d,null,c,e,null,f);typeof a==="string"&&(a=b("$")(a));typeof e==="undefined"&&(e=Event.Priority.NORMAL);if(typeof c==="object"){var g={};for(var i in c)g[i]=Event.listen(a,i,c[i],e,f);return g}if(c.match(/^on/i))throw new TypeError("Bad event name `"+c+"': use `click', not `onclick'.");if(!a){g=new Error(b("TAAL").blameToPreviousFrame("Cannot listen to an undefined element."));b("FBLogger")("event").catching(g).mustfix("Tried to listen to element of type %s",c);throw g}if(a.nodeName=="LABEL"&&c=="click"){g=a.getElementsByTagName("input");a=g.length==1?g[0]:a}else if(a===window&&c==="scroll"){g=b("getDocumentScrollElement")();g!==document.documentElement&&g!==document.body&&(a=g)}g=b("DataStore").get(a,h,{});var j=m[c];j&&(c=j.base,j.wrap&&(d=j.wrap(d)));o(a,g,c,f);j=g[c];e in j||(j[e]=[]);var k=j[e].length;d=new s(a,d,g,c,e,k,f);j[e][k]=d;j.numHandlers++;f.passive||(j.numNonPassiveHandlers++,n(a,g[c],c));return d},stop:function(a){var c=new(b("DOMEvent"))(a).stopPropagation();i(c.event);return a},prevent:function(a){new(b("DOMEvent"))(a).preventDefault();return a},isDefaultPrevented:function(a){return new(b("DOMEvent"))(a).isDefaultPrevented(a)},kill:function(a){a=new(b("DOMEvent"))(a).kill();i(a.event);return!1},getKeyCode:function(a){a=new(b("DOMEvent"))(a).event;if(!a)return!1;switch(a.keyCode){case 63232:return 38;case 63233:return 40;case 63234:return 37;case 63235:return 39;case 63272:case 63273:case 63275:return null;case 63276:return 33;case 63277:return 34}if(a.shiftKey)switch(a.keyCode){case 33:case 34:case 37:case 38:case 39:case 40:return null}return a.keyCode},getPriorities:function(){if(!l){var a=b("getObjectValues")(Event.Priority);a.sort(function(a,b){return a-b});l=a}return l},fire:function(a,b,c){c=new j(a,b,c);var d;do{var e=Event.__getHandler(a,b);e&&(d=e(c));a=a.parentNode}while(a&&d!==!1&&!c.cancelBubble);return d!==!1},__fire:function(a,b,c){a=Event.__getHandler(a,b);if(a)return a(k(c))},__getHandler:function(a,c){var d=b("DataStore").get(a,h);return d&&d[c]?d[c].domHandler:a["on"+c]},getPosition:function(a){a=new(b("DOMEvent"))(a).event;var c=b("getDocumentScrollElement")(),d=a.clientX+b("Scroll").getLeft(c);a=a.clientY+b("Scroll").getTop(c);return{x:d,y:a}}};Object.assign(Event,c);var l=null;d=function(a){return function(c){if(!b("DOMQuery").contains(this,c.getRelatedTarget()))return a.call(this,c)}};var m;!window.navigator.msPointerEnabled?m={mouseenter:{base:"mouseover",wrap:d},mouseleave:{base:"mouseout",wrap:d}}:m={mousedown:{base:"MSPointerDown"},mousemove:{base:"MSPointerMove"},mouseup:{base:"MSPointerUp"},mouseover:{base:"MSPointerOver"},mouseout:{base:"MSPointerOut"},mouseenter:{base:"MSPointerOver",wrap:d},mouseleave:{base:"MSPointerOut",wrap:d}};if(b("UserAgent").isBrowser("Firefox < 52")){f=function(a,b){b=k(b);var c=b.getTarget();while(c)Event.__fire(c,a,b),c=c.parentNode};document.documentElement.addEventListener("focus",f.bind(null,"focusin"),!0);document.documentElement.addEventListener("blur",f.bind(null,"focusout"),!0)}var n=function(a,c,d){var e=c.numNonPassiveHandlers==0;e!=c.options.passive&&(c.domHandlerRemover.remove(),c.options.passive=e,c.domHandlerRemover=b("DOMEventListener").add(a,d,c.domHandler,{passive:e}))},o=function(a,c,d,e){if(d in c)return;var f=b("TimeSlice").guard(r.bind(a,d),b("dedupString")("Event listenHandler "+d));c[d]={numHandlers:0,numNonPassiveHandlers:0,domHandlerRemover:b("DOMEventListener").add(a,d,f,e),domHandler:f,options:e};c="on"+d;if(a[c]){f=a===document.documentElement?Event.Priority._BUBBLE:Event.Priority.TRADITIONAL;var g=a[c];a[c]=null;Event.listen(a,d,g,f,e)}};function p(a){return!a.href.endsWith("#")?!1:a.href===document.location.href||a.href===document.location.href+"#"}function q(a,b){return a.nodeName==="INPUT"&&a.type===b}var r=b("EventProfiler").__wrapEventListenHandler(function(a,c){c=k(c);if(!b("DataStore").get(this,h))throw new Error("Bad listenHandler context.");var d=b("DataStore").get(this,h)[a];if(!d)throw new Error("No registered handlers for `"+a+"'.");if(a=="click"||a=="contextmenu"||a=="mousedown"&&c.which==2){var e=c.getTarget(),f=b("Parent").byTag(e,"a");f instanceof HTMLAnchorElement&&f.href&&p(f)&&!q(e,"file")&&!q(e,"submit")&&c.prevent();a=="click"&&b("clickRefAction")("click",f,c);a=="contextmenu"&&b("clickRefAction")("contextmenu",f,c);a=="mousedown"&&c.which==2&&b("clickRefAction")("middleclick",f,c)}e=Event.getPriorities();for(var a=0;a',""];d=[1,"","
"];f=[3,"","
"];var j=[1,'',""],k={"*":[1,"?
","
"],area:[1,"",""],col:[2,"","
"],legend:[1,"
","
"],param:[1,"",""],tr:[2,"","
"],optgroup:c,option:c,caption:d,colgroup:d,tbody:d,tfoot:d,thead:d,td:f,th:f};e=["circle","clipPath","defs","ellipse","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","text","tspan"];e.forEach(function(a){k[a]=j,i[a]=!0});function a(a){a=a;!h&&g(0,144);Object.prototype.hasOwnProperty.call(k,a)||(a="*");Object.prototype.hasOwnProperty.call(i,a)||(a==="*"?h.innerHTML="":h.innerHTML="<"+a+">",i[a]=!h.firstChild);return i[a]?k[a]:null}}),null); __d("createNodesFromMarkup",["invariant","ExecutionEnvironment","getMarkupWrap"],(function(a,b,c,d,e,f,g){e.exports=a;var h=b("ExecutionEnvironment").canUseDOM?document.createElement("div"):null,i=/^\s*<(\w+)/;function j(a){a=a.match(i);return a&&a[1].toLowerCase()}function a(a,c){var d=h;!h&&g(0,5001);var e=j(a);e=e&&b("getMarkupWrap")(e);if(e){d.innerHTML=e[1]+a+e[2];e=e[0];while(e--)d=d.lastChild}else d.innerHTML=a;e=d.getElementsByTagName("script");e.length&&(c||g(0,5002),Array.from(e).forEach(c));a=Array.from(d.childNodes);while(d.lastChild)d.removeChild(d.lastChild);return a}}),null); __d("evalGlobal",[],(function(a,b,c,d,e,f){e.exports=a;function a(a){if(typeof a!=="string")throw new TypeError("JS sent to evalGlobal is not a string. Only strings are permitted.");if(!a)return;var b=document.createElement("script");try{b.appendChild(document.createTextNode(a))}catch(c){b.text=a}a=document.getElementsByTagName("head")[0]||document.documentElement;a.appendChild(b);a.removeChild(b)}}),null); __d("HTML",["invariant","Bootloader","createNodesFromMarkup","emptyFunction","evalGlobal"],(function(a,b,c,d,e,f,g){var h=/(<(\w+)[^>]*?)\/>/g,i={abbr:!0,area:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,link:!0,meta:!0,param:!0};a=function(){"use strict";function a(c){c&&typeof c.__html==="string"&&(c=c.__html);if(!(this instanceof a))return c instanceof a?c:new a(c);if(c){var d=typeof c;d==="string"||g(0,277,d)}this._markup=c||"";this._defer=!1;this._nodes=null;this._inlineJS=b("emptyFunction");this._rootNode=null}var c=a.prototype;c.toString=function(){return this._markup};c.getContent=function(){return this._markup};c.getNodes=function(){this._fillCache();return this._nodes};c.getRootNode=function(){this._rootNode&&g(0,278);var a=this.getNodes();if(a.length===1)this._rootNode=a[0];else{var b=document.createDocumentFragment();for(var c=0;c"}),c=null;a=b("createNodesFromMarkup")(a,function(a){c=c||[],c.push(a.src?b("Bootloader").requestJSResource_UNSAFE_NEEDS_REVIEW_BY_SECURITY_AND_XFN.bind(b("Bootloader"),a.src):b("evalGlobal").bind(null,a.innerHTML)),a.parentNode.removeChild(a)});c&&(this._inlineJS=function(){for(var a=0;ah}function b(){return y()&&r}function c(){return x()||i}function d(){return x()||j}function z(){return x()||k}function e(){return z()}function A(){return x()||l}function B(){return x()||o}function C(){return x()||n}function D(){return x()||p}function E(){return x()||s}function F(){return x()||s||t||q||w}function G(){return x()||v!=null?null:u}function H(){return x()||q}function I(){return x()||t}}),null); __d("isScalar",[],(function(a,b,c,d,e,f){e.exports=a;function a(a){return/string|number|boolean/.test(typeof a)}}),null); __d("DOM",["DOMQuery","Event","FBLogger","FbtResultBase","HTML","TAAL","UserAgent_DEPRECATED","$","createArrayFromMixed","isNode","isScalar","isTextNode"],(function(a,b,c,d,e,f){var g=babelHelpers["extends"]({},b("DOMQuery"),{create:function(a,b,c){a=document.createElement(a);b&&g.setAttributes(a,b);c!=null&&g.setContent(a,c);return a},setAttributes:function(a,c){c.type&&(a.type=c.type);for(var d in c){var e=c[d],f=/^on/i.test(d);f&&typeof e!=="function"&&b("FBLogger")("dom").warn("Handlers passed to DOM.setAttributes must be functions. Handler passed for %s was %s",d,typeof e);if(d=="type")continue;else d=="style"?typeof e==="string"?a.style.cssText=e:Object.assign(a.style,e):f?b("Event").listen(a,d.substr(2),e):d in a?a[d]=e:a.setAttribute&&a.setAttribute(d,e)}},prependContent:function(a,c){if(!a)throw new Error(b("TAAL").blameToPreviousFile("reference element is not a node"));return i(c,a,function(b){a.firstChild?a.insertBefore(b,a.firstChild):a.appendChild(b)})},insertAfter:function(a,c){if(!a||!a.parentNode)throw new Error(b("TAAL").blameToPreviousFile("reference element does not have a parent"));var d=a.parentNode;return i(c,d,function(b){a.nextSibling?d.insertBefore(b,a.nextSibling):d.appendChild(b)})},insertBefore:function(a,c){if(!a||!a.parentNode)throw new Error(b("TAAL").blameToPreviousFile("reference element does not have a parent"));var d=a.parentNode;return i(c,d,function(b){d.insertBefore(b,a)})},setContent:function(a,c){if(!a)throw new Error(b("TAAL").blameToPreviousFile("reference element is not a node"));while(a.firstChild)h(a.firstChild);return g.appendContent(a,c)},appendContent:function(a,c){if(!a)throw new Error(b("TAAL").blameToPreviousFile("reference element is not a node"));return i(c,a,function(b){a.appendChild(b)})},replace:function(a,c){if(!a||!a.parentNode)throw new Error(b("TAAL").blameToPreviousFile("reference element does not have a parent"));var d=a.parentNode;return i(c,d,function(b){d.replaceChild(b,a)})},remove:function(a){h(typeof a==="string"?b("$")(a):a)},empty:function(a){a=typeof a==="string"?b("$")(a):a;while(a.firstChild)h(a.firstChild)}});Object.assign(g,b("DOMQuery"));function h(a){a.parentNode&&a.parentNode.removeChild(a)}function i(a,c,d){a=b("HTML").replaceJSONWrapper(a);if(a instanceof b("HTML")&&c.firstChild===null&&-1===a.toString().indexOf("7&&!b("DOMQuery").isNodeOfType(c,["table","tbody","thead","tfoot","tr","select","fieldset"])){var f=e?' ':"";c.innerHTML=f+a;e&&c.removeChild(c.firstChild);return Array.from(c.childNodes)}}else if(b("isTextNode")(c)){c.data=a;return[a]}f=document.createDocumentFragment();var g;e=[];c=[];a=b("createArrayFromMixed")(a);a.length===1&&a[0]instanceof b("FbtResultBase")&&(a=a[0].getContents());for(var h=0;h0?a.setAttribute("maxlength",b.toString()):a.removeAttribute("maxlength")}};e.exports=g}),null); __d("camelize",[],(function(a,b,c,d,e,f){e.exports=a;var g=/-(.)/g;function a(a){return a.replace(g,function(a,b){return b.toUpperCase()})}}),null); __d("getOpacityStyleName",[],(function(a,b,c,d,e,f){e.exports=a;var g=!1,h=null;function a(){if(!g){if(document.body&&"opacity"in document.body.style)h="opacity";else{var a=document.createElement("div");a.style.filter="alpha(opacity=100)";a.style.filter&&(h="filter")}g=!0}return h}}),null); __d("hyphenate",[],(function(a,b,c,d,e,f){e.exports=a;var g=/([A-Z])/g;function a(a){return a.replace(g,"-$1").toLowerCase()}}),null); __d("getStyleProperty",["camelize","hyphenate"],(function(a,b,c,d,e,f){e.exports=a;function g(a){return a==null?"":String(a)}function a(a,c){var d;if(window.getComputedStyle){d=window.getComputedStyle(a,null);if(d)return g(d.getPropertyValue(b("hyphenate")(c)))}if(document.defaultView&&document.defaultView.getComputedStyle){d=document.defaultView.getComputedStyle(a,null);if(d)return g(d.getPropertyValue(b("hyphenate")(c)));if(c==="display")return"none"}return a.currentStyle?c==="float"?g(a.currentStyle.cssFloat||a.currentStyle.styleFloat):g(a.currentStyle[b("camelize")(c)]):g(a.style&&a.style[b("camelize")(c)])}}),null); __d("StyleCore",["invariant","camelize","containsNode","ex","getOpacityStyleName","getStyleProperty","hyphenate"],(function(a,b,c,d,e,f,g){function h(a,b){a=n.get(a,b);return a==="auto"||a==="scroll"}var i=new RegExp("\\s*([^\\s:]+)\\s*:\\s*([^;('\"]*(?:(?:\\([^)]*\\)|\"[^\"]*\"|'[^']*')[^;(?:'\"]*)*)(?:;|$)","g");function j(a){var b={};a.replace(i,function(a,c,d){b[c]=d;return d});return b}function k(a){var b="";for(var c in a)a[c]&&(b+=c+":"+a[c]+";");return b}function l(a){return a!==""?"alpha(opacity="+a*100+")":""}function m(a,c,d){switch(b("hyphenate")(c)){case"font-weight":case"line-height":case"opacity":case"z-index":case"animation-iteration-count":case"-webkit-animation-iteration-count":break;case"width":case"height":var e=parseInt(d,10)<0;e&&g(0,826,a,c,d);default:isNaN(d)||!d||d==="0"||g(0,827,a,c,d,d+"px");break}}var n={set:function(a,c,d){m("Style.set",c,d);if(a==null)return;a=a.style;switch(c){case"opacity":b("getOpacityStyleName")()==="filter"?a.filter=l(d):a.opacity=d;break;case"float":a.cssFloat=a.styleFloat=d||"";break;default:try{a[b("camelize")(c)]=d}catch(a){throw new Error(b("ex")('Style.set: "%s" argument is invalid: %s',c,d))}}},apply:function(a,c){var d;for(d in c)m("Style.apply",d,c[d]);"opacity"in c&&b("getOpacityStyleName")()==="filter"&&(c.filter=l(c.opacity),delete c.opacity);var e=j(a.style.cssText);for(d in c){var f=c[d];delete c[d];var g=b("hyphenate")(d);for(var h in e)(h===g||h.indexOf(g+"-")===0)&&delete e[h];c[g]=f}Object.assign(e,c);a.style.cssText=k(e)},get:b("getStyleProperty"),getFloat:function(a,b){return parseFloat(n.get(a,b),10)},getOpacity:function(a){if(b("getOpacityStyleName")()==="filter"){var c=n.get(a,"filter");if(c){c=/(\d+(?:\.\d+)?)/.exec(c);if(c)return parseFloat(c.pop())/100}}return n.getFloat(a,"opacity")||1},isFixed:function(a){while(b("containsNode")(document.body,a)){if(n.get(a,"position")==="fixed")return!0;a=a.parentNode}return!1},getScrollParent:function(a){if(!a)return null;while(a&&a!==document.body){if(h(a,"overflow")||h(a,"overflowY")||h(a,"overflowX"))return a;a=a.parentNode}return window}};a=n;e.exports=a}),null); __d("Style",["StyleCore","$"],(function(a,b,c,d,e,f){a=babelHelpers["extends"]({},b("StyleCore"),{get:function(a,c){typeof a==="string"&&(a=b("$")(a));return b("StyleCore").get(a,c)},getFloat:function(a,c){typeof a==="string"&&(a=b("$")(a));return b("StyleCore").getFloat(a,c)}});e.exports=a}),null); __d("FlipDirection",["DOM","Input","Style"],(function(a,b,c,d,e,f){a={setDirection:function(a,c,d){c===void 0&&(c=5);d===void 0&&(d=!1);var e=b("DOM").isNodeOfType(a,"input")&&a.type=="text",f=b("DOM").isNodeOfType(a,"textarea");if(!(e||f)||a.getAttribute("data-prevent-auto-flip"))return;e=b("Input").getValue(a);f=a.style&&a.style.direction;if(!f||d){f=0;d=!0;for(var g=0;g=48){d&&(d=!1,f++);if(h>=1470&&h<=1920){b("Style").set(a,"direction","rtl");a.setAttribute("dir","rtl");return}if(f==c){b("Style").set(a,"direction","ltr");a.setAttribute("dir","ltr");return}}else d=!0}}else e.length===0&&(b("Style").set(a,"direction",""),a.removeAttribute("dir"))}};e.exports=a}),null); __d("FlipDirectionOnKeypress",["Event","FlipDirection"],(function(a,b,c,d,e,f){a=function(a){a=a.getTarget();b("FlipDirection").setDirection(a)};b("Event").listen(document.documentElement,{keyup:a,input:a})}),null); __d("getActiveElement",[],(function(a,b,c,d,e,f){e.exports=a;function a(a){a===void 0&&(a=document);if(typeof a==="undefined")return null;try{return a.activeElement||a.body}catch(b){return a.body}}}),null); __d("FocusListener",["Arbiter","CSS","Parent","getActiveElement"],(function(a,b,c,d,e,f){var g={expandInput:function(a){b("CSS").addClass(a,"child_is_active"),b("CSS").addClass(a,"child_is_focused"),b("CSS").addClass(a,"child_was_focused"),b("Arbiter").inform("reflow")}};function h(a,c){if(c.getAttribute("data-silentfocuslistener"))return;var d=b("Parent").byClass(c,"focus_target");d&&("focus"==a||"focusin"==a?g.expandInput(d):(c.value===""&&b("CSS").removeClass(d,"child_is_active"),b("CSS").removeClass(d,"child_is_focused")))}c=b("getActiveElement")();c&&h("focus",c);function a(a){a=a||window.event,h(a.type,a.target||a.srcElement)}d=document.documentElement;d.addEventListener?(d.addEventListener("focus",a,!0),d.addEventListener("blur",a,!0)):(d.attachEvent("onfocusin",a),d.attachEvent("onfocusout",a));e.exports=g}),null); __d("guid",[],(function(a,b,c,d,e,f){e.exports=a;function a(){return"f"+(Math.random()*(1<<30)).toString(16).replace(".","")}}),null); __d("ArbiterMixin",["Arbiter","guid"],(function(a,b,c,d,e,f){var g="arbiter$"+b("guid")(),h=Object.prototype.hasOwnProperty;a={_getArbiterInstance:function(){return h.call(this,g)?this[g]:this[g]=new(b("Arbiter"))()},inform:function(a,b,c){return this._getArbiterInstance().inform(a,b,c)},subscribe:function(a,b,c){return this._getArbiterInstance().subscribe(a,b,c)},subscribeOnce:function(a,b,c){return this._getArbiterInstance().subscribeOnce(a,b,c)},unsubscribe:function(a){this._getArbiterInstance().unsubscribe(a)},unsubscribeCurrentSubscription:function(){this._getArbiterInstance().unsubscribeCurrentSubscription()},releaseCurrentPersistentEvent:function(){this._getArbiterInstance().releaseCurrentPersistentEvent()},registerCallback:function(a,b){return this._getArbiterInstance().registerCallback(a,b)},query:function(a){return this._getArbiterInstance().query(a)}};e.exports=a}),null); __d("mixin",[],(function(a,b,c,d,e,f){e.exports=a;function a(){var a=function(){},b=0,c;while(b<0||arguments.length<=b?void 0:arguments[b]){c=b<0||arguments.length<=b?void 0:arguments[b];for(var d in c)Object.prototype.hasOwnProperty.call(c,d)&&(a.prototype[d]=c[d]);b+=1}return a}}),null); __d("JSONPTransport",["ArbiterMixin","DOM","HTML","TimeSlice","URI","mixin"],(function(a,b,c,d,e,f){var g,h={},i=2,j="jsonp",k="iframe";function l(a){delete h[a]}a=function(a){"use strict";babelHelpers.inheritsLoose(c,a);function c(b,c){var d;d=a.call(this)||this;d._type=b;d._uri=c;d._hasResponse=!1;h[d.getID()]=babelHelpers.assertThisInitialized(d);return d}var d=c.prototype;d.getID=function(){return this._id||(this._id=i++)};d.hasFinished=function(){return!(this.getID()in h)};d.getRequestURI=function(){return new(g||(g=b("URI")))(this._uri).addQueryData({__a:1,__adt:this.getID(),__req:"jsonp_"+this.getID()})};d.getTransportFrame=function(){if(this._iframe)return this._iframe;var a="transport_frame_"+this.getID();a=b("HTML")('