mirror of
https://github.com/DarkSecDevelopers/HiddenEye-Legacy.git
synced 2024-03-22 21:12:55 +08:00
315 lines
296 KiB
JavaScript
315 lines
296 KiB
JavaScript
|
if (self.CavalryLogger) { CavalryLogger.start_js(["7T+wt"]); }
|
||
|
|
||
|
self.__DEV__=self.__DEV__||0,self.emptyFunction=function(){};
|
||
|
"use strict";
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
(function(){"use strict";var a=Array.prototype.indexOf;Array.prototype.includes||(Array.prototype.includes=function(d){"use strict";if(d!==void 0&&Array.isArray(this)&&!Number.isNaN(d))return a.apply(this,arguments)!==-1;var e=Object(this),f=e.length?b(e.length):0;if(f===0)return!1;var g=arguments.length>1?c(arguments[1]):0,h=g<0?Math.max(f+g,0):g,i=Number.isNaN(d);while(h<f){var j=e[h];if(j===d||i&&Number.isNaN(j))return!0;h++}return!1});function b(a){return Math.min(Math.max(c(a),0),Number.MAX_SAFE_INTEGER)}function c(a){a=Number(a);return Number.isFinite(a)&&a!==0?d(a)*Math.floor(Math.abs(a)):a}function d(a){return a>=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},h=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=h,__bodyWrapper.getCodeUsage=function(){return a},__bodyWrapper.clearCodeUsage=function(){a={}}):"typechecks"in __transform_includes?__bodyWrapper=g:__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);
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
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<d.indexOf("\u2028")&&(d=d.replace(b,"\\u2028")),-1<d.indexOf("\u2029")&&(d=d.replace(c,"\\u2029")));return d}}(JSON.stringify));
|
||
|
|
||
|
|
||
|
(function(){var a=Object.prototype.hasOwnProperty;Object.entries=function(b){if(b==null)throw new TypeError("Object.entries called on non-object");var c=[];for(var d in b)a.call(b,d)&&c.push([d,b[d]]);return c};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)return;var b=(a.Env||{}).gk_require_dic,c=null,d=[],e=b?Object.create(null):{},f=b?Object.create(null):{},g=0,h=0,i=0,j=1,k=2,l=4,m=8,n={},o=Object.prototype.hasOwnProperty,p=Object.prototype.toString;function q(a){a=Array.prototype.slice.call(a);var b={},c,d,f,g;while(a.length){d=a.shift();if(b[d])continue;b[d]=!0;f=e[d];if(!f||Q(f))continue;if(f.dependencies)for(c=0;c<f.dependencies.length;c++)g=f.dependencies[c],Q(g)||a.push(g.id)}for(d in b)o.call(b,d)&&a.push(d);b=[];for(c=0;c<a.length;c++){d=a[c];var h=d;f=e[d];if(!f||!f.dependencies)h+=" is not defined";else if(Q(f))h+=" is ready";else{d=[];for(var i=0;i<f.dependencies.length;i++)g=f.dependencies[i],(!e[g]||!Q(e[g]))&&d.push(g.id);h+=" is waiting for "+d.join(", ")}b.push(h)}return b.join("\n")}function r(a){this.name="ModuleError",this.message=a,this.stack=Error(a).stack,this.framesToPop=2}r.prototype=Object.create(Error.prototype);r.prototype.constructor=r;var s=(a.Env||{}).profile_require_factories,t=a.performance||a.msPerformance||a.webkitPerformance||{},u;if(t.now&&t.timing&&t.timing.navigationStart){var v=t.timing.navigationStart;u=function(){return t.now()+v}}else u=function(){return Date.now()};var w=0,x=0;function y(a){x++;var b=e[a];if(b&&b.exports!=null){b.refcount--===1&&(e[a]=void 0);return b.exports}return A(a)}function z(b){var c=e[b];b=f[b];if(c.factoryLength===-1){var d=s&&a.ProfilingCounters,g;d&&(g=d.startTiming("FACTORY_COMPILE_TIME"));c.factoryLength=c.factory.length;g!=null&&(d=d.stopTiming(g),b.compileTime+=d)}return c.factoryLength}function A(b){if(a.ErrorUtils&&!a.ErrorUtils.inGuard())return a.ErrorUtils.applyWithGuard(A,null,[b]);var d=e[b];if(!d){var g='Requiring unknown module "'+b+'"';throw new r(g)}var h;if(d.hasError)throw new r('Requiring module "'+b+'" which threw an exception: '+d.error.message);if(!Q(d))throw new r('Requiring module "'+b+'" with unresolved dependencies: '+q([b]));g=d.exports={};var i=d.factory;if(p.call(i)==="[object Function]"){var j=d.dependencies,l=j.length;try{try{U(d)}catch(a){B(a,b)}var o=[],t=l;d.special&m&&(o=c.slice(0),o[c.length-2]=d,o[c.length-1]=g,t+=o.length);if(d.special&k){g=z(b);t=Math.min(l+o.length,g)}for(var g=0;g<l;g++){var v=j[g];o.length<t&&o.push(y.call(null,v.id))}++w;v=s&&a.ProfilingCounters;var x;v&&(v.incrementCounter("FACTORY_COUNT",1),x=v.startTiming("FACTORY_EXEC_TIME"));try{t=i.apply(d.context||a,o)}catch(a){B(a,b)}finally{if(s){j=u();l=0;x!=null&&(l=v.stopTiming(x));g=f[d.id];g.factoryTime=l;g.factoryEnd=j;if(i.__SMmeta)for(var C in i.__SMmeta)Object.prototype.hasOwnProperty.call(i.__SMmeta,C)&&(g[C]=i.__SMmeta[C])}}}catch(a){d.hasError=!0;d.error=a;d.exports=null;throw a}t&&(d.exports=t);if(typeof d.exports==="function"){o=d.exports;v=o.__superConstructor__;(!o.displayName||v&&v.displayName===o.displayName)&&(o.displayName=(o.name||"(anonymous)")+" [from "+b+"]")}d.factoryFinished=!0}else d.exports=i;l="__isRequired__"+b;j=e[l];j&&!Q(j)&&H(l,n);d.refcount--===1&&(e[b]=void 0);return d.exports}function B(a,b){a instanceof Error||(a=new Error(a));if(e.ex&&e.erx){var c=y.call(null,"ex"),d=y.call(null,"erx");d=d(a.message);d[0].indexOf(' from module "%s"')<0&&(d[0]+=' from module "%s"',d[d.length]=b);a.message=c.apply(null,d)}throw a}function C(){var a=0;for(var b in f)Object.prototype.hasOwnProperty.call(f,b)&&(a+=f[b].factoryTime);return a}function D(){var a=0;for(var b in f)Object.prototype.hasOwnProperty.call(f,b)&&(a+=f[b].compileTime);return a}function E(){return w}function F(){return x}function G(){var a={};for(var b in f)Object.prototype.hasOwnProperty.call(f,b)&&(a[b]=f[b]);return a}function H(a,b,c,g,h,i,j){b===void 0?(b=[],c=a,a=M()):c===void 0&&(c=b,p.call(a)==="[object Array]"?(b=a,a=M(b.join(","))):b=[]);var k={cancel:K.bind(this,a)},l=e[a];if(!b&&!c&&i){I(a).refcount+=i;return k}f[a]={id:a,dependencies:b,meta:j,category:g,defined:s?u():null,compileTime:null,factoryTime:null,factoryEnd:null};j=b.map(I);l=e[a];if(l){if(l.dependencies&&!l.reload)return k;i&&(l.refcount+=i);l.factory=c;l.dependencies=j;l.context=h;l.special=g}else l=new J(a,i||0,n
|
||
|
|
||
|
(function(a){var b=a.performance;b&&b.setResourceTimingBufferSize&&(b.setResourceTimingBufferSize(1e5),b.onresourcetimingbufferfull=function(){a.__isresourcetimingbufferfull=!0},b.setResourceTimingBufferSize=function(){})})(this);
|
||
|
__d("Env",[],(function(a,b,c,d,e,f){b={ajaxpipe_token:null,compat_iframe_token:null,iframeKey:"",iframeTarget:"",iframeToken:"",isCQuick:!1,start:Date.now(),nocatch:!1};a.Env&&Object.assign(b,a.Env);a.Env=b;e.exports=b}),null);
|
||
|
__d("TAALOpcodes",[],(function(a,b,c,d,e,f){"use strict";a={PREVIOUS_FILE:1,PREVIOUS_FRAME:2,PREVIOUS_DIR:3,FORCED_KEY:4};e.exports=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("eprintf",[],(function(a,b,c,d,e,f){"use strict";__p&&__p();function g(a){for(var b=arguments.length,c=new Array(b>1?b-1:0),d=1;d<b;d++)c[d-1]=arguments[d];var e=c.map(function(a){return String(a)}),f=a.split("%s").length-1;if(f!==e.length)return g("eprintf args number mismatch: %s",JSON.stringify([a].concat(e)));var h=0;return a.replace(/%s/g,function(){return String(e[h++])})}e.exports=g}),null);
|
||
|
__d("ex",["eprintf"],(function(a,b,c,d,e,f){function g(a){for(var b=arguments.length,c=new Array(b>1?b-1:0),d=1;d<b;d++)c[d-1]=arguments[d];var e=c.map(function(a){return String(a)}),f=a.split("%s").length-1;return f!==e.length?g("ex args number mismatch: %s",JSON.stringify([a].concat(e))):g._prefix+JSON.stringify([a].concat(e))+g._suffix}g._prefix="<![EX[";g._suffix="]]>";e.exports=g}),null);
|
||
|
__d("sprintf",[],(function(a,b,c,d,e,f){function a(a){for(var b=arguments.length,c=new Array(b>1?b-1:0),d=1;d<b;d++)c[d-1]=arguments[d];var e=0;return a.replace(/%s/g,function(){return String(c[e++])})}e.exports=a}),null);
|
||
|
__d("invariant",["Env","TAAL","ex","sprintf"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g=b("ex");function a(a,c){__p&&__p();if(!a){var d=c;for(var e=arguments.length,f=new Array(e>2?e-2:0),i=2;i<e;i++)f[i-2]=arguments[i];if(typeof d==="number"){var j=h(d,f),k=j.message,l=j.decoderLink;d=k;f.unshift(l)}else if(d===void 0){d="Invariant: ";for(var m=0;m<f.length;m++)d+="%s,"}d=b("TAAL").blameToPreviousFrame(d);var n=new Error(g.apply(void 0,[d].concat(f)));n.name="Invariant Violation";n.messageWithParams=[d].concat(f);throw n}}function h(a,c){var d="Minified invariant #"+a+"; %s";c.length>0&&(d+=" Params: "+c.map(function(a){return"%s"}).join(", "));a=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://our.intern.facebook.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";__p&&__p();a=function(){__p&&__p();function a(a,b){this.unsubscribe=function(){for(var a=0;a<this.$2.length;a++)this.$2[a].remove();this.$2.length=0},this.$1=a,this.$2=b}var b=a.prototype;b.isForArbiterInstance=function(a){this.$1||g(0,2506);return this.$1===a};return a}();e.exports=a}),null);
|
||
|
__d("ErrorSerializer",[],(function(a,b,c,d,e,f){"use strict";__p&&__p();function a(a){return"<![EX["+JSON.stringify(h(a))+"]]>"}function b(a){try{var b=l(a,/^<\!\[EX\[(\[.*\])\]\]>$/);b=b?JSON.parse(b[0]):[a];var c=b[0];b=b.slice(1);c=k(c);b&&b.length>0&&(c.params=b);return c}catch(b){return{message:"Unable to parse error message %s because %s",params:[a,b.message]}}}function g(a){var b=a.message||"",c=a.params||[],d=0;a=b.replace(/%s/g,function(){return d<c.length?String(c[d++]):"NOPARAM"});d<c.length&&(a+=" PARAMS"+JSON.stringify(c.slice(d)));return a}function c(a){return g(a)+i(a)}function h(a){return[a.message+i(a)].concat(j(a))}function i(a){a=a.taalOpcodes;return a&&a.length>0?" TAAL["+a.join(";")+"]":""}function j(a){return((a=a.params)!=null?a:[]).map(function(a){return String(a)})}function k(a){__p&&__p();var b=l(a,/^(.*) TAAL\[([1234](?:;[1234])*)\]$/);b=(b=b)!=null?b:[a,null];a=b[0];b=b[1];a={message:a};if(b){b=b.split(";").map(function(a){return parseInt(a,10)});b.length>0&&(a.taalOpcodes=b)}return a}function l(a,b){if(typeof a==="string"){a=a.match(b);if(a&&a.length>0)return a.slice(1)}}e.exports={parse:b,stringify:a,toFormattedMessage:c,toFormattedMessageNoTAAL:g,toMessageWithParams:h}}),null);
|
||
|
__d("FBLoggerMetadata",[],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g=[];a=function(){__p&&__p();function a(){this.metadata=[].concat(g)}var b=a.prototype;b.addMetadata=function(a,b,c){this.metadata.push([a,b,c]);return this};b.isEmpty=function(){return this.metadata.length===0};b.formatMetadata=function(){var a=[];this.metadata.forEach(function(b){if(b&&b.length){b=b.map(function(a){return a!=null?String(a).replace(/:/g,"_"):""}).join(":");a.push(b)}});return a};a.addGlobalMetadata=function(a,b,c){g.push([a,b,c])};a.getGlobalMetadata=function(){return g};a.unsetGlobalMetadata=function(a,b){g=g.filter(function(c){return!(Array.isArray(c)&&c[0]===a&&c[1]===b)})};return a}();e.exports=a}),null);
|
||
|
__d("ErrorNormalizeUtils",["ErrorSerializer","FBLoggerMetadata"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g=/^https?:\/\//i,h=/^Type Mismatch for/,i=/^at .*eval eval (at .*\:\d+\:\d+), .*$/,j=/(.*)[@\s][^\s]+$/,k=["Unknown script code","Function code","eval code"];Error.stackTraceLimit!=null&&Error.stackTraceLimit<40&&(Error.stackTraceLimit=40);function l(a){a=a.columnNumber||a.column;return a!=null?String(a):""}function m(a){return a[0]&&a[0].column||""}function n(a){a=a.lineNumber||a.line;return a!=null?String(a):""}function o(a){return a[0]&&a[0].line||""}function p(a){a=a.fileName||a.sourceURL;return a!=null?String(a):""}function q(a){return a[0]&&a[0].script||""}function r(a){for(var b=0;b<k.length;b++){var c=" "+k[b];if(a.endsWith(c))return[a,a.substring(0,a.length-c.length)]}return null}function s(a){__p&&__p();a=a;var b=a.stackTrace||a.stack;if(b==null)return[];a=a.message;var c=b.replace(/^[\w \.\<\>:]+:\s/,"");a=a!=null&&c.startsWith(a)?c.substr(a.length+1):c!==b?c.replace(/^.*?\n/,""):b;return a.split(/\n\n/)[0].replace(/[\(\)]|\[.*?\]/g,"").split("\n").map(function(a){__p&&__p();a=a.trim();var b=a.match(i);b&&(a=b[1]);var c,d;b=a.match(/:(\d+)(?::(\d+))?$/);b&&(c=b[1],d=b[2],a=a.slice(0,-b[0].length));var e;b=r(a)||a.match(j);if(b){a=a.substring(b[1].length+1);b=b[1].match(/(?:at)?\s*(.*)(?:[^\s]+|$)/);e=b?b[1]:""}a.includes("charset=utf-8;base64,")&&(a="<inlined-file>");b={column:d,identifier:e,line:c,script:a};var f=e!=null&&e!==""?" "+e+" (":" ",g=f.length>1?")":"",h=c!=null&&c!==""?":"+c:"",k=d!=null&&d!==""?":"+d:"";f=" at"+f+a+h+k+g;return babelHelpers["extends"]({},b,{text:f})})}function t(a){if(a==null||a==="")return null;a=a.split("\n");a.splice(0,1);return a.map(function(a){return a.trim()})}function a(a,c){__p&&__p();var d;a=a;d=(d=c==null?void 0:c.message)!=null?d:a.message;var e=s(a),f=!1;if(a.framesToPop!=null){var i=a.framesToPop,j;while(i>0&&e.length>0)j=e.shift(),i--,f=!0;h.test(d)&&a.framesToPop===2&&j!=null&&(g.test(j.script)&&(d+=" at "+j.script+(j.line?":"+j.line:"")+(j.column?":"+j.column:"")))}i=t(a.componentStack);var k=a.fbloggerMetadata?a.fbloggerMetadata:[],r=b("FBLoggerMetadata").getGlobalMetadata().map(function(a){return a.join(":")});k=[].concat(k,r);k.length===0&&(k=void 0);r=a.messageWithParams;var u;r!=null&&r.length>0?r={message:r[0],params:r.slice(1).map(function(a){return String(a)})}:(typeof d!=="string"&&(u=d,d=String(d)+" ("+typeof d+")"),r=b("ErrorSerializer").parse(d));k={_originalError:a,column:f?m(e):l(a)||m(e),deferredSource:a.deferredSource,extra:(d=a.extra)!=null?d:{},fbloggerMetadata:k,guard:(d=a.guard)!=null?d:"",guardList:(k=a.guardList)!=null?k:[],line:f?o(e):n(a)||o(e),message:b("ErrorSerializer").toFormattedMessage(r),messageObject:u,messageWithParams:b("ErrorSerializer").toMessageWithParams(r),name:(d=c==null?void 0:c.name)!=null?d:a.name,reactComponentStack:i,script:f?q(e):p(a)||q(e),serverHash:a.serverHash,snapshot:a.snapshot,stack:e.map(function(a){return a.text}).join("\n"),stackFrames:e,type:a.type||""};typeof window!=="undefined"&&window&&window.location&&(k.windowLocationURL=window.location.href);for(var v in k)k[v]==null&&delete k[v];return k}e.exports={normalizeError:a,normalizeReactComponentStack:t}}),null);
|
||
|
__d("ErrorBrowserConsole",[],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g=!1,h=a.console;function b(a){if(a.suppressConsole===!0)return;if((!h[a.type]||a.type==="error")&&!g&&!(window&&window.__iframe_dt)){a=a.message;a=a.length>80?a.slice(0,77)+"...":a;h.error('ErrorUtils caught an error: "'+a+"\". Subsequent errors won't be logged; see https://fburl.com/debugjs.");g=!0}}e.exports={errorListener:b}}),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","ErrorNormalizeUtils","removeFromArray"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g=typeof window==="undefined"?"<self.onerror>":"<window.onerror>",h="<global.react>",i=[],j=[],k=50,l=[],m=!1,n={history:j,guardList:l,addListener:function(a,b){b===void 0&&(b=!1),i.push(a),b||j.forEach(function(b){return a(b,(b=b.loggingType)!=null?b:"DEPRECATED")})},removeListener:function(a){b("removeFromArray")(i,a)},onerror:function(a,c,d,e,f){__p&&__p();f=f||{};f.message=f.message||a;f.script=f.script||c;f.line=f.line||d;f.column=f.column||e;f.guard=g;f.guardList=[g];a=b("ErrorNormalizeUtils").normalizeError(f);a.loggingType="FATAL";n.reportNormalizedError(a)},pushGuard:function(a){l.unshift(a)},popGuard:function(){l.shift()},reportNormalizedError:function(a){__p&&__p();if(m)return!1;a.reactComponentStack&&n.pushGuard(h);l.length>0&&(a.guard=a.guard||l[0],a.guardList=l.slice());a.reactComponentStack&&n.popGuard();j.length>k&&j.splice(k/2,1);j.push(a);m=!0;for(var b=0;b<i.length;b++)try{var c;i[b](a,(c=a.loggingType)!=null?c:"DEPRECATED")}catch(a){}m=!1;return!0}};n.addListener(b("ErrorBrowserConsole").errorListener);a.onerror=n.onerror;e.exports=n}),null);
|
||
|
__d("ErrorGuard",["Env","ErrorNormalizeUtils","ErrorPubSub"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g="<anonymous guard>",h="<generated guard>",i=/\bnocatch\b/.test(location.search),j={applyWithGuard:function(a,c,d,e){__p&&__p();b("ErrorPubSub").pushGuard((e==null?void 0:e.name)||g);b("Env").nocatch&&(i=!0);if(i){var f;try{f=a.apply(c,d)}finally{b("ErrorPubSub").popGuard()}return f}try{return Function.prototype.apply.call(a,c,d)}catch(g){f=g!=null&&typeof g==="object"?g:new Error("applyWithGuard caught non-object");e&&e.deferredSource&&(f.deferredSource=e.deferredSource);c=b("ErrorNormalizeUtils").normalizeError(f);c.loggingType="GUARDED";f=e==null?void 0:e.onError;f!=null&&f(c);c.extra||(c.extra={});if(a)try{c.extra[a.toString().substring(0,100)]="function"}catch(a){}d!=null&&d.length&&(c.extra[Array.from(d).toString().substring(0,100)]="args");c.guard=b("ErrorPubSub").guardList[0];c.guardList=b("ErrorPubSub").guardList.slice();b("ErrorPubSub").reportNormalizedError(c)}finally{b("ErrorPubSub").popGuard()}},guard:function(a,b,c){var d=b||a.name||h;function e(){var b;for(var e=arguments.length,f=new Array(e),g=0;g<e;g++)f[g]=arguments[g];return j.applyWithGuard(a,(b=c)!=null?b:this,f,{name:d})}a.__SMmeta&&(e.__SMmeta=a.__SMmeta);return e},inGuard:function(){return b("ErrorPubSub").guardList.length!==0}};e.exports=j}),null);
|
||
|
__d("ErrorUtils",["ErrorNormalizeUtils","ErrorPubSub","ErrorGuard"],(function(a,b,c,d,e,f){"use strict";__p&&__p();b("ErrorNormalizeUtils");b("ErrorPubSub");b("ErrorGuard");var g={history:b("ErrorPubSub").history,addListener:function(a,c){c===void 0&&(c=!1),b("ErrorPubSub").addListener(a,c)},removeListener:function(a){b("ErrorPubSub").removeListener(a)},applyWithGuard:function(a,c,d,e,f,g){return b("ErrorGuard").applyWithGuard(a,c,(a=d)!=null?a:[],{name:f,onError:e,deferredSource:g==null?void 0:g.deferredSource})},guard:function(a,c,d){return b("ErrorGuard").guard(a,c,d)},inGuard:function(){return b("ErrorGuard").inGuard()},normalizeError:function(a){a==null&&b("ErrorNormalizeUtils").normalizeError(new Error("null error"));return Object.prototype.hasOwnProperty.call(a,"_originalError")?a:b("ErrorNormalizeUtils").normalizeError(a)},reportError:function(a,c,d){c===void 0&&(c=!1);d===void 0&&(d="DEPRECATED");a=g.normalizeError(a);a.suppressConsole=c;a.loggingType=d;return b("ErrorPubSub").reportNormalizedError(a)}};e.exports=a.ErrorUtils=g;typeof __t==="function"&&__t.setHandler&&__t.setHandler(g.reportError)}),3);
|
||
|
__d("CallbackDependencyManager",["ErrorUtils"],(function(a,b,c,d,e,f){__p&&__p();a=function(){"use strict";__p&&__p();function a(){this.$1=new Map(),this.$2=new Map(),this.$3=1,this.$4=new Map()}var c=a.prototype;c.$5=function(a,b){__p&&__p();var c=0,d=new Set();for(var e=0,f=b.length;e<f;e++)d.add(b[e]);for(var b=d.keys(),e=Array.isArray(b),f=0,b=e?b:b[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){if(e){if(f>=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){__p&&__p();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 g=f[0];f=f[1]-1;a.set(g,f);f<=0&&a["delete"](g);f=this.$2.get(g);if(f!==void 0){f.$7--;if(f.$7<=0){f=f.$8;this.$2["delete"](g);b("ErrorUtils").applyWithGuard(f)}}}};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){b("ErrorUtils").applyWithGuard(a);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";__p&&__p();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";__p&&__p();a=function(){__p&&__p();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){__p&&__p();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("requireCond",[],(function(a,b,c,d,e,f){function a(a,b,c){throw new Error("Cannot use raw untransformed requireCond.")}e.exports=a}),null);
|
||
|
__d("FBLogger",["requireCond","cr:794450"],(function(a,b,c,d,e,f){"use strict";e.exports=b("cr:794450")}),null);
|
||
|
__d("unrecoverableViolationBase",["FBLogger","TAAL","TAALOpcodes"],(function(a,b,c,d,e,f){"use strict";function a(a,c,d){c=b("FBLogger")(c);d&&(c=c.catching(d));c.blameToPreviousFrame().blameToPreviousFrame().mustfix(a);return new Error(b("TAAL").applyOpcodes(a,[b("TAALOpcodes").PREVIOUS_FRAME,b("TAALOpcodes").PREVIOUS_FRAME]))}e.exports=a}),null);
|
||
|
__d("unrecoverableViolation",["unrecoverableViolationBase"],(function(a,b,c,d,e,f){"use strict";function a(a,c,d){d=d===void 0?{}:d;d=d.error;return b("unrecoverableViolationBase")(a,c,d)}e.exports=a}),null);
|
||
|
__d("BaseEventEmitter",["EmitterSubscription","ErrorGuard","EventSubscriptionVendor","emptyFunction","unrecoverableViolation"],(function(a,b,c,d,e,f){__p&&__p();a=function(){"use strict";__p&&__p();function a(){this.$2=new(b("EventSubscriptionVendor"))(),this.$1=null}var c=a.prototype;c.addListener=function(a,c,d){return this.$2.addSubscription(a,new(b("EmitterSubscription"))(this.$2,c,d))};c.once=function(a,b,c){var d=this;return this.addListener(a,function(){d.removeCurrentListener(),b.apply(c,arguments)})};c.removeAllListeners=function(a){this.$2.removeAllSubscriptions(a)};c.removeCurrentListener=function(){if(!this.$1)throw b("unrecoverableViolation")("Not in an emitting cycle; there is no current subscription","emitter");this.$2.removeSubscription(this.$1)};c.listeners=function(a){a=this.$2.getSubscriptionsForType(a);return a?a.filter(b("emptyFunction").thatReturnsTrue).map(function(a){return a.listener}):[]};c.emit=function(a){__p&&__p();var b=this.$2.getSubscriptionsForType(a);if(b){var c=Object.keys(b),d;for(var e=0;e<c.length;e++){var f=c[e],g=b[f];if(g){this.$1=g;if(d==null){d=[g,a];for(var h=0,i=arguments.length<=1?0:arguments.length-1;h<i;h++)d[h+2]=h+1<1||arguments.length<=h+1?void 0:arguments[h+1]}else d[0]=g;this.__emitToSubscription.apply(this,d)}}this.$1=null}};c.__emitToSubscription=function(a,c){for(var d=arguments.length,e=new Array(d>2?d-2:0),f=2;f<d;f++)e[f-2]=arguments[f];b("ErrorGuard").applyWithGuard(a.listener,a.context,e,{name:"EventEmitter "+c+" event"})};return a}();e.exports=a}),null);
|
||
|
__d("EventEmitter",["BaseEventEmitter"],(function(a,b,c,d,e,f){a=function(a){"use strict";babelHelpers.inheritsLoose(b,a);function b(){return a.apply(this,arguments)||this}return b}(b("BaseEventEmitter"));e.exports=a}),null);
|
||
|
__d("EventEmitterWithHolding",[],(function(a,b,c,d,e,f){"use strict";__p&&__p();a=function(){__p&&__p();function a(a,b){this.$2=a,this.$3=b,this.$1=null,this.$5=[],this.$4=0}var b=a.prototype;b.addListener=function(a,b,c){return this.$2.addListener(a,b,c)};b.once=function(a,b,c){return this.$2.once(a,b,c)};b.addRetroactiveListener=function(a,b,c){var d=this.$2.addListener(a,b,c),e=this.$5;e.push(!1);this.$4++;this.$3.emitToListener(a,b,c);this.$4--;e[e.length-1]&&d.remove();e.pop();return d};b.removeAllListeners=function(a){this.$2.removeAllListeners(a)};b.removeCurrentListener=function(){if(this.$4){var a=this.$5;a[a.length-1]=!0}else this.$2.removeCurrentListener()};b.listeners=function(a){return this.$2.listeners(a)};b.emit=function(a){var b;for(var c=arguments.length,d=new Array(c>1?c-1:0),e=1;e<c;e++)d[e-1]=arguments[e];(b=this.$2).emit.apply(b,[a].concat(d))};b.emitAndHold=function(a){var b,c;for(var d=arguments.length,e=new Array(d>1?d-1:0),f=1;f<d;f++)e[f-1]=arguments[f];this.$1=(b=this.$3).holdEvent.apply(b,[a].concat(e));(c=this.$2).emit.apply(c,[a].concat(e));this.$1=null};b.releaseCurrentEvent=function(){this.$1!=null?this.$3.releaseEvent(this.$1):this.$4>0&&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";__p&&__p();a=function(){__p&&__p();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;f<d;f++)e[f-1]=arguments[f];b.push(e);return c};b.emitToListener=function(a,b,c){var d=this,e=this.$1[a];if(!e)return;e.forEach(function(e,f){if(!e)return;d.$2.push({eventType:a,index:f});b.apply(c,e);d.$2.pop()})};b.releaseCurrentEvent=function(){this.$2.length||g(0,1764),this.releaseEvent(this.$2[this.$2.length-1])};b.releaseEvent=function(a){delete this.$1[a.eventType][a.index]};b.releaseEventType=function(a){this.$1[a]=[]};return a}();e.exports=a}),null);
|
||
|
__d("Arbiter",["invariant","ArbiterToken","CallbackDependencyManager","ErrorUtils","EventEmitter","EventEmitterWithHolding","EventHolder"],(function(a,b,c,d,e,f,g){"use strict";__p&&__p();function h(a){return Array.isArray(a)?a:[a]}function i(a){return a instanceof j||a===j?a:j}var j=function(){__p&&__p();function a(){var a=new(b("EventEmitter"))();this.$3=new k();this.$2=new(b("EventEmitterWithHolding"))(a,this.$3);this.$1=new(b("CallbackDependencyManager"))();this.$4=[]}var c=a.prototype;c.subscribe=function(a,c,d){__p&&__p();a=h(a);a.forEach(function(a){a&&typeof a==="string"||g(0,1966,a)});typeof c==="function"||g(0,1967,c);d=d||"all";d==="new"||d==="all"||g(0,1968,d);a=a.map(function(a){var b=this.$5.bind(this,c,a);b.__SMmeta=c.__SMmeta;if(d==="new")return this.$2.addListener(a,b);this.$4.push({});a=this.$2.addRetroactiveListener(a,b);this.$4.pop();return a},this);return new(b("ArbiterToken"))(this,a)};c.$5=function(a,c,d){var e=this.$4[this.$4.length-1];if(e[c]===!1)return;a=b("ErrorUtils").applyWithGuard(a,null,[c,d]);a===!1&&this.$2.releaseCurrentEvent();e[c]=a};c.unsubscribeCurrentSubscription=function(){this.$2.removeCurrentListener()};c.releaseCurrentPersistentEvent=function(){this.$2.releaseCurrentEvent()};c.subscribeOnce=function(a,b,c){var d=this;a=this.subscribe(a,function(a,c){d.unsubscribeCurrentSubscription();return b(a,c)},c);return a};c.unsubscribe=function(a){a.isForArbiterInstance(this)||g(0,1969),a.unsubscribe()};c.inform=function(a,b,c){__p&&__p();var d=Array.isArray(a);a=h(a);c=c||"event";var e=c==="state"||c==="persistent";this.$4.push({});for(var f=0;f<a.length;f++){var i=a[f];i||g(0,1970,i);this.$3.setHoldingBehavior(i,c);this.$2.emitAndHold(i,b);this.$6(i,b,e)}i=this.$4.pop();return d?i:i[a[0]]};c.query=function(a){var b=this.$3.getHoldingBehavior(a);!b||b==="state"||g(0,1971,a);b=null;this.$3.emitToListener(a,function(a){b=a});return b};c.registerCallback=function(a,b){if(typeof a==="function")return this.$1.registerCallback(a,b);else return this.$1.addDependenciesToExistingCallback(a,b)};c.$6=function(a,b,c){if(b===null)return;c?this.$1.satisfyPersistentDependency(a):this.$1.satisfyNonPersistentDependency(a)};a.subscribe=function(b,c,d){return a.prototype.subscribe.apply(i(this),arguments)};a.unsubscribeCurrentSubscription=function(){return a.prototype.unsubscribeCurrentSubscription.apply(i(this))};a.releaseCurrentPersistentEvent=function(){return a.prototype.releaseCurrentPersistentEvent.apply(i(this))};a.subscribeOnce=function(b,c,d){return a.prototype.subscribeOnce.apply(i(this),arguments)};a.unsubscribe=function(b){return a.prototype.unsubscribe.apply(i(this),arguments)};a.inform=function(b,c,d){return a.prototype.inform.apply(i(this),arguments)};a.informSingle=function(b,c,d){return a.prototype.inform.apply(i(this),arguments)};a.query=function(b){return a.prototype.query.apply(i(this),arguments)};a.registerCallback=function(b,c){return a.prototype.registerCallback.apply(i(this),arguments)};a.$6=function(b,c,d){return a.prototype.$6.apply(i(this),arguments)};a.$5=function(b,c,d){return a.prototype.$5.apply(i(this),arguments)};return a}(),k=function(b){__p&&__p();babelHelpers.inheritsLoose(a,b);function a(){var a;a=b.call(this)||this;a.$ArbiterEventHolder1={};return a}var c=a.prototype;c.setHoldingBehavior=function(a,b){this.$ArbiterEventHolder1[a]=b};c.getHoldingBehavior=function(a){return this.$ArbiterEventHolder1[a]};c.holdEvent=function(a){var c=this.$ArbiterEventHolder1[a];c!=="persistent"&&this.$ArbiterEventHolder2(a);if(c!=="event"){var d;for(var e=arguments.length,f=new Array(e>1?e-1:0),g=1;g<e;g++)f[g-1]=arguments[g];return(d=b.prototype.holdEvent).call.apply(d,[this,a].concat(f))}return void 0};c.$ArbiterEventHolder2=function(a){this.emitToListener(a,this.releaseCurrentEvent,this)};c.releaseEvent=function(a){a&&b.prototype.releaseEvent.call(this,a)};return a}(b("EventHolder"));j.call(j);e.exports=j}),null);
|
||
|
__d("CircularBuffer",["invariant"],(function(a,b,c,d,e,f,g){__p&&__p();a=function(){"use strict";__p&&__p();function a(a){a>0||g(0,2222),this.$1=a,this.$2=0,this.$3=[],this.$4=[]}var b=a.prototype;b.write=function(a){var b=this;this.$3.length<this.$1?this.$3.push(a):(this.$4.forEach(function(a){return a(b.$3[b.$2])}),this.$3[this.$2]=a,this.$2++,this.$2%=this.$1);return this};b.onEvict=function(a){this.$4.push(a);return this};b.read=function(){return this.$3.slice(this.$2).concat(this.$3.slice(0,this.$2))};b.expand=function(a){if(a>this.$1){var b=this.read();this.$2=0;this.$3=b;this.$1=a}return this};b.dropFirst=function(a){if(a<=this.$1){var b=this.read();this.$2=0;b.splice(0,a);this.$3=b}return this};b.clear=function(){this.$2=0;this.$3=[];return this};b.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"};e.exports=a}),null);
|
||
|
__d("TimingAnnotations",[],(function(a,b,c,d,e,f){__p&&__p();a=function(){"use strict";__p&&__p();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";__p&&__p();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(){__p&&__p();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("BlueCompatBroker",["Env","URI"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g,h=new Map(),i=!1,j=function(a){return new(b("URI"))(a).getRegisteredDomain()==="facebook.com"},k={dispatch:function(a){var b=k.getMessageEventString(a,"compatAction");if(b!=null){b=h.get(b);b&&b(a)}},getMessageEventString:function(a,b){a=a.data;if(typeof a==="object"){a=a==null?void 0:a[b];if(typeof a==="string")return a}return""},init:function(){__p&&__p();if(!i){document.body&&(document.body.style.overflow="auto");var a=document.referrer.indexOf("/",8);a=document.referrer.substring(0,a);if(j(a)){var c=new MessageChannel(),d=b("Env").iframeKey;g=c.port1;g.onmessage=k.dispatch;window.parent.postMessage({compatAction:"CompatSetup",iframeKey:d},a+"/",[c.port2])}i=!0}},register:function(a,b){h.set(a,b)},sendMessage:function(a){g&&g.postMessage(babelHelpers["extends"]({},a))}};e.exports=k}),null);
|
||
|
__d("MessengerEnvironment",["CurrentEnvironment"],(function(a,b,c,d,e,f){"use strict";a=babelHelpers["extends"]({},b("CurrentEnvironment"),{messengerui:!1,setMessengerUI:function(a){this.messengerui=a}});e.exports=a}),null);
|
||
|
__d("isCdnURI",["CdnAkamaiDomainsConfig"],(function(a,b,c,d,e,f){"use strict";function a(a){if(a.getProtocol()!=="http"&&a.getProtocol()!=="https")return!1;var c=a.getPort();if(!!c&&c!==80&&c!==443)return!1;return a.isSubdomainOfDomain("fbcdn.net")?!0:b("CdnAkamaiDomainsConfig")[a.getDomain()]!=void 0}e.exports=a}),null);
|
||
|
__d("BlueCompatRouter",["BlueCompatBroker","Env","MessengerEnvironment","URI","isCdnURI"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g={convertUri:function(a){if(a==null||a==="")return new(b("URI"))();a=new(b("URI"))(a);var c=a.getRegisteredDomain();if(a.getSubdomain()==="apps"&&c!=null&&c!==""){c=a.getDomain().replace(/apps/i,"www");return a.setDomain(c).setPath("/apps"+a.getPath())}else return a},go:function(a){__p&&__p();if(b("Env").isCQuick){var c=new(b("URI"))(a);a=g.convertUri(a);var d=a.getQualifiedURI();if(b("isCdnURI")(a))return!1;a=function(){if(b("MessengerEnvironment").messengerui&&d.getPath().startsWith("/messages"))return[!1,"/messages"];return c.getPath().startsWith("/settings")&&d.getPath().startsWith("/settings")?[!1,"/settings"]:[!0,""]}();var e=a[0];a=a[1];g.sendMessage({compatAction:"route",maintainKey:a,uri:String(d)});return e}return!1},startChat:function(a){return g.sendMessage({compatAction:"startchat",tabId:a})},chatListener:function(a,b){a.addEventListener("click",function(){g.startChat("fbid:"+b)})},sendMessage:function(a){if(b("Env").isCQuick){b("BlueCompatBroker").init();b("BlueCompatBroker").sendMessage(a);return!0}return!1}};e.exports=g}),null);
|
||
|
__d("flattenPHPQueryData",["invariant"],(function(a,b,c,d,e,f,g){__p&&__p();function a(a){return h(a,"",{})}function h(a,b,c){if(a===null||a===void 0)c[b]=void 0;else if(typeof a==="object"){typeof a.appendChild!=="function"||g(0,2616);for(var d in a)d!=="$$typeof"&&Object.prototype.hasOwnProperty.call(a,d)&&a[d]!==void 0&&h(a[d],b?b+"["+d+"]":d,c)}else c[b]=a;return c}e.exports=a}),null);
|
||
|
__d("PHPQuerySerializer",["invariant","flattenPHPQueryData"],(function(a,b,c,d,e,f,g){__p&&__p();function a(a){var c=[];a=b("flattenPHPQueryData")(a);for(var d in a)if(Object.prototype.hasOwnProperty.call(a,d)){var e=h(d);a[d]===void 0?c.push(e):c.push(e+"="+h(String(a[d])))}return c.join("&")}function h(a){return encodeURIComponent(a).replace(/%5D/g,"]").replace(/%5B/g,"[")}var i=/^([-_\w]+)((?:\[[-_\w]*\])+)=?(.*)/;function j(a){return a==="hasOwnProperty"||a==="__proto__"?"\ud83d\udf56":a}function c(a){__p&&__p();if(!a)return{};var b={};a=a.replace(/%5B/gi,"[").replace(/%5D/gi,"]");a=a.split("&");var c=Object.prototype.hasOwnProperty;for(var d=0,e=a.length;d<e;d++){var f=a[d].match(i);if(!f){var g=a[d].split("=");b[k(g[0])]=g[1]===void 0?null:k(g[1])}else{g=f[2].split(/\]\[|\[|\]/).slice(0,-1);var h=f[1];f=k(f[3]||"");g[0]=h;h=b;for(var l=0;l<g.length-1;l++){var m=j(g[l]);if(m){if(!c.call(h,m)){var n=g[l+1]&&!g[l+1].match(/^\d{1,3}$/)?{}:[];h[m]=n;if(h[m]!==n)return b}h=h[m]}else g[l+1]&&!g[l+1].match(/^\d{1,3}$/)?h.push({}):h.push([]),h=h[h.length-1]}h instanceof Array&&g[g.length-1]===""?h.push(f):h[j(g[g.length-1])]=f}}return b}function k(a){try{return decodeURIComponent(a.replace(/\+/g," "))}catch(b){return a}}d={serialize:a,encodeComponent:h,deserialize:c,decodeComponent:k};e.exports=d}),null);
|
||
|
__d("PHPQuerySerializerNoEncoding",["PHPQuerySerializer","flattenPHPQueryData"],(function(a,b,c,d,e,f){__p&&__p();function a(a){var c=[];a=b("flattenPHPQueryData")(a);for(var d in a)if(Object.prototype.hasOwnProperty.call(a,d)){var e=g(d);a[d]===void 0?c.push(e):c.push(e+"="+g(String(a[d])))}return c.join("&")}function g(a){return a}c={serialize:a,encodeComponent:g,deserialize:b("PHPQuerySerializer").deserialize,decodeComponent:b("PHPQuerySerializer").decodeComponent};e.exports=c}),null);
|
||
|
__d("URIRFC3986",[],(function(a,b,c,d,e,f){__p&&__p();var g=new RegExp("^([^:/?#]+:)?(//([^\\\\/?#@]*@)?(\\[[A-Fa-f0-9:.]+\\]|[^\\/?#:]*)(:[0-9]*)?)?([^?#]*)(\\?[^#]*)?(#.*)?");a={parse:function(a){__p&&__p();if(a.trim()==="")return null;a=a.match(g);if(a==null)return null;var b={};b.uri=a[0]?a[0]:null;b.scheme=a[1]?a[1].substr(0,a[1].length-1):null;b.authority=a[2]?a[2].substr(2):null;b.userinfo=a[3]?a[3].substr(0,a[3].length-1):null;b.host=a[2]?a[4]:null;b.port=a[5]?a[5].substr(1)?parseInt(a[5].substr(1),10):null:null;b.path=a[6]?a[6]:null;b.query=a[7]?a[7].substr(1):null;b.fragment=a[8]?a[8].substr(1):null;b.isGenericURI=b.authority===null&&!!b.scheme;return b}};e.exports=a}),null);
|
||
|
__d("createObjectFrom",[],(function(a,b,c,d,e,f){__p&&__p();function g(a,b){if(b===void 0)return g(a,!0);var c={};if(Array.isArray(b))for(var d=a.length-1;d>=0;d--)c[a[d]]=b[d];else for(var d=a.length-1;d>=0;d--)c[a[d]]=b;return c}e.exports=g}),null);
|
||
|
__d("URISchemes",["createObjectFrom"],(function(a,b,c,d,e,f){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","http","https","mailto","wss","ms-app","intent","itms","itms-apps","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","skype","callto","workchat","fb236786383180508","fb1775440806014337","data","fb-mk","munki","kirigami"]);a={isAllowed:function(a){return!a?!0:Object.prototype.hasOwnProperty.call(g,a.toLowerCase())}};e.exports=a}),null);
|
||
|
__d("setHostSubdomain",[],(function(a,b,c,d,e,f){function a(a,b){a=a.split(".");a.length<3?a.unshift(b):a[0]=b;return a.join(".")}e.exports=a}),null);
|
||
|
__d("URIBase",["invariant","URIRFC3986","URISchemes","ex","setHostSubdomain"],(function(a,b,c,d,e,f,g){__p&&__p();var h=new RegExp("[\\x00-\\x2c\\x2f\\x3b-\\x40\\x5c\\x5e\\x60\\x7b-\\x7f\\uFDD0-\\uFDEF\\uFFF0-\\uFFFF\\u2047\\u2048\\uFE56\\uFE5F\\uFF03\\uFF0F\\uFF1F]"),i=new RegExp("^(?:[^/]*:|[\\x00-\\x1f]*/[\\x00-\\x1f]*/)");function j(a,c,d,e){__p&&__p();if(!c)return!0;if(c instanceof l){a.setProtocol(c.getProtocol());a.setDomain(c.getDomain());a.setPort(c.getPort());a.setPath(c.getPath());a.setQueryData(e.deserialize(e.serialize(c.getQueryData())));a.setFragment(c.getFragment());a.setIsGeneric(c.getIsGeneric());a.setForceFragmentSeparator(c.getForceFragmentSeparator());return!0}c=c.toString().trim();var f=b("URIRFC3986").parse(c)||{fragment:null,scheme:null};if(!d&&!b("URISchemes").isAllowed(f.scheme))return!1;a.setProtocol(f.scheme||"");if(!d&&h.test(f.host||""))return!1;a.setDomain(f.host||"");a.setPort(f.port||"");a.setPath(f.path||"");if(d)a.setQueryData(e.deserialize(f.query||"")||{});else try{a.setQueryData(e.deserialize(f.query||"")||{})}catch(a){return!1}a.setFragment(f.fragment||"");f.fragment===""&&a.setForceFragmentSeparator(!0);a.setIsGeneric(f.isGenericURI||!1);if(f.userinfo!==null)if(d)throw new Error(b("ex")("URI.parse: invalid URI (userinfo is not allowed in a URI): %s",a.toString()));else return!1;if(!a.getDomain()&&a.getPath().indexOf("\\")!==-1)if(d)throw new Error(b("ex")("URI.parse: invalid URI (no domain but multiple back-slashes): %s",a.toString()));else return!1;if(!a.getProtocol()&&i.test(c))if(d)throw new Error(b("ex")("URI.parse: invalid URI (unsafe protocol-relative URLs): %s",a.toString()));else return!1;if(a.getDomain()&&a.getPath()&&!a.getPath().startsWith("/"))if(d)throw new Error(b("ex")("URI.parse: invalid URI (domain and path where path lacks leading slash): %s",a.toString()));else return!1;return!0}var k=[],l=function(){"use strict";__p&&__p();a.tryParse=function(b,c){var d=new a(null,c);return j(d,b,!1,c)?d:null};a.isValid=function(b,c){return!!a.tryParse(b,c)};function a(a,b){b||g(0,2966),this.$9=b,this.$7="",this.$1="",this.$6="",this.$5="",this.$3="",this.$4=!1,this.$8={},this.$2=!1,j(this,a,!0,b)}var c=a.prototype;c.setProtocol=function(a){b("URISchemes").isAllowed(a)||g(0,587,a);this.$7=a;return this};c.getProtocol=function(){return(this.$7||"").toLowerCase()};c.setSecure=function(a){return this.setProtocol(a?"https":"http")};c.isSecure=function(){return this.getProtocol()==="https"};c.setDomain=function(a){if(h.test(a))throw new Error(b("ex")("URI.setDomain: unsafe domain specified: %s for url %s",a,this.toString()));this.$1=a;return this};c.getDomain=function(){return this.$1};c.setPort=function(a){this.$6=a;return this};c.getPort=function(){return this.$6};c.setPath=function(a){this.$5=a;return this};c.getPath=function(){return this.$5};c.addQueryData=function(a,b){Object.prototype.toString.call(a)==="[object Object]"?Object.assign(this.$8,a):this.$8[a]=b;return this};c.setQueryData=function(a){this.$8=a;return this};c.getQueryData=function(){return this.$8};c.setQueryString=function(a){return this.setQueryData(this.$9.deserialize(a))};c.getQueryString=function(){return this.$9.serialize(this.getQueryData())};c.removeQueryData=function(a){Array.isArray(a)||(a=[a]);for(var b=0,c=a.length;b<c;++b)delete this.$8[a[b]];return this};c.setFragment=function(a){this.$3=a;this.setForceFragmentSeparator(!1);return this};c.getFragment=function(){return this.$3};c.setForceFragmentSeparator=function(a){this.$2=a;return this};c.getForceFragmentSeparator=function(){return this.$2};c.setIsGeneric=function(a){this.$4=a;return this};c.getIsGeneric=function(){return this.$4};c.isEmpty=function(){return!(this.getPath()||this.getProtocol()||this.getDomain()||this.getPort()||Object.keys(this.getQueryData()).length>0||this.getFragment())};c.toString=function(){var a=this;for(var b=0;b<k.length;b++)a=k[b](a);return a.$10()};c.$10=function(){__p&&__p();var a="",b=this.getProtocol();b&&(a+=b+":"+(this.getIsGeneric()?"":"//"));b=this.getDomain();b&&(a+=b);b=this.getPort();b&&(a+=":"+b);b=this.getPat
|
||
|
__d("areSameOrigin",[],(function(a,b,c,d,e,f){function a(a,b){if(a.isEmpty()||b.isEmpty())return!1;if(a.getProtocol()&&a.getProtocol()!=b.getProtocol())return!1;if(a.getDomain()&&a.getDomain()!=b.getDomain())return!1;return a.getPort()&&a.getPort().toString()!==b.getPort().toString()?!1:!0}e.exports=a}),null);
|
||
|
__d("ifRequired",[],(function(a,b,c,d,e,f){function a(a,b,c){var e;d&&d.call(null,[a],function(a){e=a});if(e&&b)return b(e);else if(!e&&c)return c()}e.exports=a}),null);
|
||
|
__d("isFacebookURI",[],(function(a,b,c,d,e,f){var g=null,h=["http","https"];function a(a){g||(g=new RegExp("(^|\\.)facebook\\.com$","i"));if(a.isEmpty()&&a.toString()!=="#")return!1;return!a.getDomain()&&!a.getProtocol()?!0:h.indexOf(a.getProtocol())!==-1&&g.test(a.getDomain())}a.setRegex=function(a){g=a};e.exports=a}),null);
|
||
|
__d("isUriNeedRawQuerySVURI",["PHPQuerySerializer","URIBase","UriNeedRawQuerySVConfig"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g=["http","https"];function a(a){__p&&__p();if(a==null)return!1;a=a instanceof b("URIBase")?a:b("URIBase").tryParse(a,b("PHPQuerySerializer"));if(a==null)return!1;if(!g.includes(a.getProtocol()))return!1;var c=a.getDomain();return b("UriNeedRawQuerySVConfig").uris.some(function(a){return b("URIBase").isDomainSubdomainOfDomain(c,a,b("PHPQuerySerializer"))})}e.exports=a}),null);
|
||
|
__d("memoize",["invariant"],(function(a,b,c,d,e,f,g){function a(a){var b=a,c;return function(){arguments.length&&g(0,4494);b&&(c=b(),b=null);return c}}e.exports=a}),null);
|
||
|
__d("memoizeStringOnly",[],(function(a,b,c,d,e,f){"use strict";function a(a){var b={};return function(c){Object.prototype.hasOwnProperty.call(b,c)||(b[c]=a.call(this,c));return b[c]}}e.exports=a}),null);
|
||
|
__d("unqualifyURI",[],(function(a,b,c,d,e,f){function a(a){a.setProtocol(null).setDomain(null).setPort(null)}e.exports=a}),null);
|
||
|
__d("URI",["Env","PHPQuerySerializer","PHPQuerySerializerNoEncoding","ReloadPage","URIBase","areSameOrigin","ifRequired","isFacebookURI","isUriNeedRawQuerySVURI","memoize","memoizeStringOnly","unqualifyURI"],(function(a,b,c,d,e,f){__p&&__p();var g=b("memoize")(function(){return new i(window.location.href)});function h(){return b("ifRequired")("PageTransitions",function(a){if(a.isInitialized())return a})}var i=function(d){"use strict";__p&&__p();babelHelpers.inheritsLoose(c,d);function c(a){var c;b("isUriNeedRawQuerySVURI")(a)?c=d.call(this,a,b("PHPQuerySerializerNoEncoding"))||this:c=d.call(this,a||"",b("PHPQuerySerializer"))||this;return babelHelpers.assertThisInitialized(c)}var e=c.prototype;e.setPath=function(a){this.path=a;return d.prototype.setPath.call(this,a)};e.getPath=function(){var a=d.prototype.getPath.call(this);return a?a.replace(/^\/+/,"/"):a};e.setProtocol=function(a){this.protocol=a;return d.prototype.setProtocol.call(this,a)};e.setDomain=function(a){this.domain=a;return d.prototype.setDomain.call(this,a)};e.setPort=function(a){this.port=a;return d.prototype.setPort.call(this,a)};e.setFragment=function(a){this.fragment=a;return d.prototype.setFragment.call(this,a)};e.stripTrailingSlash=function(){this.setPath(this.getPath().replace(/\/$/,""));return this};e.addTrailingSlash=function(){var a=this.getPath();a.length>0&&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(){var a=new c(this);b("unqualifyURI")(a);return a};e.getQualifiedURI=function(){return new c(this).qualify()};e.isSameOrigin=function(a){a=a;!a?a=g():a instanceof c||(a=new c(a.toString()));return b("areSameOrigin")(this,a)};c.go=function(a,b,d){c.goURIOnWindow(a,window,b,d)};c.goURIOnNewWindow=function(a){c.goURIOnWindow(a,window.open("","_blank"),!0)};c.goURIOnWindow=function(d,e,f,g){__p&&__p();d=new c(d);var h=f;if(b("Env").isCQuick&&b("isFacebookURI")(d)){f={};f.cquick=b("Env").iframeKey;f.ctarget=b("Env").iframeTarget;f.cquick_token=b("Env").iframeToken;d.addQueryData(f);h=!1}var i=d.toString();f=e?e:window;b("ifRequired")("PageNavigationStageLogger",function(b){h?b.setNote("force"):a.PageTransitions||b.setNote("no_pagetrans"),b.setCookieForNavigation(i)});!h&&a.PageTransitions?a.PageTransitions.go(i,g):window.location.href===i?b("ReloadPage").now():g?f.location.replace(i):f.location.href=i};e.go=function(a,b){c.go(this,a,b)};c.tryParseURI=function(a){a=b("URIBase").tryParse(a,b("PHPQuerySerializer"));return a?new c(a):null};c.isValidURI=function(a){return b("URIBase").isValid(a,b("PHPQuerySerializer"))};c.getRequestURI=function(a,b){a=a===void 0||a;if(a){a=h();if(a)return a.getCurrentURI(!!b).getQualifiedURI()}return new c(window.location.href)};c.getMostRecentURI=function(){var a=h();return a?a.getMostRecentURI().getQualifiedURI():new c(window.location.href)};c.getNextURI=function(){var a=h();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}(b("URIBase"));i.normalizeString=b("memoizeStringOnly")(function(a){return new i(a).toString()});Object.assign(i,{expression:/(((\w+):\/\/)([^\/:]*)(:(\d+))?)?([^#?]*)(\?([^#]*))?(#(.*))?/,arrayQueryExpression:/^(\w+)((?:\[\w*\])+)=?(.*)/});e.exports=i}),null);
|
||
|
__d("ReloadPage",["BlueCompatRouter","Env"],(function(a,b,c,d,e,f){c={now:function(c){!b("Env").isCQuick?a.window.location.reload(c):b("BlueCompatRouter").sendMessage({compatAction:"reload"})},delay:function(b){a.setTimeout(this.now.bind(this),b)}};e.exports=c}),null);
|
||
|
__d("ExecutionEnvironment",[],(function(a,b,c,d,e,f){"use strict";a=!!(typeof window!=="undefined"&&window.document&&window.document.createElement);b={canUseDOM:a,canUseWorkers:typeof Worker!=="undefined",canUseEventListeners:a&&!!(window.addEventListener||window.attachEvent),canUseViewport:a&&!!window.screen,isInWorker:!a};e.exports=b}),null);
|
||
|
__d("performance",["ExecutionEnvironment"],(function(a,b,c,d,e,f){"use strict";var g;b("ExecutionEnvironment").canUseDOM&&(g=window.performance||window.msPerformance||window.webkitPerformance);e.exports=g||{}}),null);
|
||
|
__d("performanceAbsoluteNow",["performance"],(function(a,b,c,d,e,f){if(b("performance").now&&b("performance").timing&&b("performance").timing.navigationStart){var g=b("performance").timing.navigationStart;a=function(){return b("performance").now()+g}}else a=function(){return Date.now()};e.exports=a}),null);
|
||
|
__d("ResourceTimingsStore",["CircularBuffer","ResourceTypes","TimingAnnotations","URI","performanceAbsoluteNow"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g=1e3,h=new(b("TimingAnnotations").EmptyTimingAnnotations)(),i={},j={};Object.keys(b("ResourceTypes")).forEach(function(a){a=b("ResourceTypes")[a];var c=new(b("CircularBuffer"))(g),d=new Map();c.onEvict(function(a){d["delete"](a)});i[a]={idx:1,entries:c};j[a]=d});function k(a,c,d){__p&&__p();var e;switch(a){case"css":case"js":var f=l.parseMakeHasteURL(c);f=f==null?"unknown_resource":f[0];e=d+"_"+f;break;case"xhr":f=new(b("URI"))(c).getQualifiedURI();c=f.getDomain()+f.getPath();e=d+"_"+c;break;default:a,e="never here"}return e}var l={getUID:function(a,b){var c=i[a],d=k(a,b,c.idx);c.entries.write(d);j[a].set(d,{uri:b,uid:d});c.idx++;return d},updateURI:function(a,b,c){a=j[a].get(b);a!=null&&(a.uri=c)},getMapFor:function(a){return j[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=j[a];a=a.get(c);if(a==null||a.requestSent!=null)return;else a.requestSent=b("performanceAbsoluteNow")()},measureResponseReceived:function(a,c){a=j[a];a=a.get(c);if(a==null||a.requestSent==null||a.responseReceived!=null)return;else a.responseReceived=b("performanceAbsoluteNow")()},annotate:function(a,c){__p&&__p();a=j[a];a=a.get(c);if(!a)return h;else{c=a.annotations;if(c!=null)return c;else{c=new(b("TimingAnnotations"))();a.annotations=c;return c}}},getAnnotationsFor:function(a,b){a=j[a];a=a.get(b);if(!a)return null;else{b=a.annotations;return b!=null?b.prepareToSend():null}}};e.exports=l}),null);
|
||
|
__d("TimeSlice",["requireCond","cr:717822"],(function(a,b,c,d,e,f){e.exports=b("cr:717822")}),3);
|
||
|
__d("TimerStorage",[],(function(a,b,c,d,e,f){__p&&__p();a={ANIMATION_FRAME:"ANIMATION_FRAME",IDLE_CALLBACK:"IDLE_CALLBACK",IMMEDIATE:"IMMEDIATE",INTERVAL:"INTERVAL",TIMEOUT:"TIMEOUT"};var g={};Object.keys(a).forEach(function(a){return g[a]={}});b=babelHelpers["extends"]({},a,{set:function(a,b){g[a][b]=!0},unset:function(a,b){delete g[a][b]},clearAll:function(a,b){Object.keys(g[a]).forEach(b),g[a]={}},getStorages:function(){return{}}});e.exports=b}),null);
|
||
|
__d("clearInterval",["TimerStorage","TimeSlice"],(function(a,b,c,d,e,f){var g=a.__fbNativeClearTimeout||a.clearTimeout;function c(a){if(a!=null){b("TimerStorage").unset(b("TimerStorage").INTERVAL,a);var c=b("TimerStorage").TIMEOUT+String(a);b("TimeSlice").cancelWithToken(c)}g(a)}e.exports=c}),null);
|
||
|
__d("isEmpty",["invariant"],(function(a,b,c,d,e,f,g){"use strict";__p&&__p();function a(a){__p&&__p();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"]}e.exports=a}),null);
|
||
|
__d("setIntervalAcrossTransitions",["TimeSlice"],(function(a,b,c,d,e,f){var g=a.__fbNativeSetInterval||a.setInterval;function c(c,d){var e=b("TimeSlice").guard(c,"setInterval");for(var f=arguments.length,h=new Array(f>2?f-2:0),i=2;i<f;i++)h[i-2]=arguments[i];return Function.prototype.apply.call(g,a,[e,d].concat(h))}e.exports=c}),null);
|
||
|
__d("CSSLoader",["CSSLoaderConfig","ResourceTimingsStore","TimeSlice","clearInterval","ifRequired","isEmpty","setIntervalAcrossTransitions"],(function(a,b,c,d,e,f){__p&&__p();var g=20,h=b("CSSLoaderConfig").timeout,i=b("CSSLoaderConfig").loadEventSupported,j,k=[],l,m={};function n(a){if(j)return;j=!0;var b=document.createElement("link");b.onload=function(){i=!0,b.parentNode&&b.parentNode.removeChild(b)};b.rel="stylesheet";b.href="data:text/css;base64,";a.appendChild(b)}function o(){__p&&__p();var a,c=[],d=[];if(Date.now()>=l){for(a in m)d.push(m[a].signal),c.push(m[a].error);m={}}else for(a in m){var e=m[a].signal,f=window.getComputedStyle?getComputedStyle(e):e.currentStyle;f&&parseInt(f.height,10)>1&&(c.push(m[a].load),d.push(e),delete m[a])}for(var f=0;f<d.length;f++)d[f].parentNode.removeChild(d[f]);if(!b("isEmpty")(c)){for(f=0;f<c.length;f++)c[f]();l=Date.now()+h}return b("isEmpty")(m)}function p(a,c,d,e){var f=document.createElement("meta");f.id="bootloader_"+a.replace(/[^a-z0-9]/gi,"_");c.appendChild(f);c=!b("isEmpty")(m);l=Date.now()+h;m[a]={signal:f,load:d,error:e};if(!c)var i=b("setIntervalAcrossTransitions")(function(){o()&&b("clearInterval")(i)},g)}function q(a,c,d,e,f,g){__p&&__p();var h=b("ResourceTimingsStore").getUID("css",c);b("ifRequired")("TimeSliceAutoclosedInteraction",function(a){return a.getInteractionsActiveRightNow().forEach(function(a){return a.forResourceRequest(h).addStringAnnotation("requested_in_continuation","true")})});b("ResourceTimingsStore").annotate("css",h).addStringAnnotation("name",a).addStringAnnotation("source",c).addStringAnnotation("caller","CSSLoader.loadStyleSheet");b("ifRequired")("TimeSliceInteraction",function(b){b.informGlobally("CSSLoader.loadStyleSheet").addStringAnnotation("source",c).addStringAnnotation("name",a)});b("ResourceTimingsStore").measureRequestSent("css",h);var j=function(){b("ResourceTimingsStore").measureResponseReceived("css",h),e()},k=b("TimeSlice").getGuardedContinuation("CSSLoader link.onresponse");!g?p(a,d,j,f):i!==!0?(p(a,d,j,f),i===void 0&&n(d)):(g.onload=k.bind(void 0,function(){g.onload=g.onerror=null,j()}),g.onerror=k.bind(void 0,function(){g.onload=g.onerror=null,f()}))}a={loadStyleSheet:function(a,b,c,d,e,f){__p&&__p();var g=document;if("createStyleSheet"in g){var h;for(var i=0;i<k.length;i++)if(k[i].imports.length<31){h=i;break}if(h===void 0){try{k.push(g.createStyleSheet())}catch(a){f();return}h=k.length-1}k[h].addImport(b);q(a,b,c,e,f,null);return}i=g.createElement("link");i.rel="stylesheet";i.type="text/css";i.href=b;d&&(i.crossOrigin="anonymous");q(a,b,c,e,f,i);c.appendChild(i)},setupEventListeners:function(a,b,c,d,e,f){q(a,b,c,d,e,f)}};e.exports=a}),null);
|
||
|
/**
|
||
|
* License: https://www.facebook.com/legal/license/ZtTipMAcpq9/
|
||
|
*/
|
||
|
__d("ImmediateImplementation",["ImmediateImplementationExperiments"],(function(a,b,c,d,e,f){__p&&__p();(function(c,d){"use strict";__p&&__p();var e=1,g={},h={},i=h,j=!1,k=c.document,l,m,n,o="setImmediate$"+Math.random()+"$";function p(){var a=c.event;return!a?!1:a.isTrusted&&["change","click","contextmenu","dblclick","mouseup","pointerup","reset","submit","touchend"].includes(a.type)||a.type==="message"&&a.source===c&&typeof a.data==="string"&&a.data.indexOf(o)===0}function q(a){var b=a[0];a=Array.prototype.slice.call(a,1);g[e]=function(){b.apply(void 0,a)};i=i.next={handle:e++};return i.handle}function r(){__p&&__p();var a,b;while(!j&&(a=h.next)){h=a;if(b=g[a.handle]){j=!0;try{b(),j=!1}finally{s(a.handle),j&&(j=!1,h.next&&l(r))}}}}function s(a){delete g[a]}function d(){__p&&__p();if(c.postMessage&&!c.importScripts){var a=!0,b=function b(){a=!1,c.removeEventListener?c.removeEventListener("message",b,!1):c.detachEvent("onmessage",b)};if(c.addEventListener)c.addEventListener("message",b,!1);else if(c.attachEvent)c.attachEvent("onmessage",b);else return!1;c.postMessage("","*");return a}}function t(){var a=function(a){a.source===c&&typeof a.data==="string"&&a.data.indexOf(o)===0&&r()};c.addEventListener?c.addEventListener("message",a,!1):c.attachEvent("onmessage",a);l=function(){var a=q(arguments);c.originalPostMessage?c.originalPostMessage(o+a,"*"):c.postMessage(o+a,"*");return a};m=l}function u(){var a=new MessageChannel(),b=!1;a.port1.onmessage=function(a){b=!1,r()};l=function(){var c=q(arguments);b||(a.port2.postMessage(c),b=!0);return c};n=l}function v(){var a=k.documentElement;l=function(){var b=q(arguments),c=k.createElement("script");c.onreadystatechange=function(){c.onreadystatechange=null,a.removeChild(c),c=null,r()};a.appendChild(c);return b}}function w(){l=function(){setTimeout(r,0);return q(arguments)}}d()?c.MessageChannel&&b("ImmediateImplementationExperiments").prefer_message_channel?(t(),u(),l=function(){if(p())return m.apply(null,arguments);else return n.apply(null,arguments)}):t():c.MessageChannel?u():k&&k.createElement&&"onreadystatechange"in k.createElement("script")?v():w();f.setImmediate=l;f.clearImmediate=s})(Function("return this")())}),null);
|
||
|
__d("setImmediatePolyfill",["invariant","PromiseUsePolyfillSetImmediateGK","ImmediateImplementation"],(function(a,b,c,d,e,f,g){__p&&__p();var h=a.setImmediate;if(b("PromiseUsePolyfillSetImmediateGK").www_always_use_polyfill_setimmediate||!h){d=b("ImmediateImplementation");h=d.setImmediate}function c(a){typeof a==="function"||g(0,5912);for(var b=arguments.length,c=new Array(b>1?b-1:0),d=1;d<b;d++)c[d-1]=arguments[d];return h.apply(void 0,[a].concat(c))}e.exports=c}),null);
|
||
|
__d("setImmediateAcrossTransitions",["TimerStorage","TimeSlice","setImmediatePolyfill"],(function(a,b,c,d,e,f){var g=b("TimerStorage").IMMEDIATE;function a(a){var c=b("TimeSlice").guard(a,"setImmediate",{propagationType:b("TimeSlice").PropagationType.CONTINUATION,registerCallStack:!0});for(var d=arguments.length,e=new Array(d>1?d-1:0),f=1;f<d;f++)e[f-1]=arguments[f];var h=b("setImmediatePolyfill").apply(void 0,[c].concat(e)),i=g+String(h);b("TimeSlice").registerForCancelling(i,c);return h}e.exports=a}),null);
|
||
|
__d("Bootloader",["invariant","Arbiter","BootloaderConfig","BootloaderEndpoint","CallbackDependencyManager","CSSLoader","ErrorUtils","FBLogger","ResourceTimingsStore","TAAL","TimeSlice","ex","ifRequired","performanceAbsoluteNow","requireCond","setImmediateAcrossTransitions","cr:696703"],(function(a,b,c,d,e,f,g){"use strict";__p&&__p();var h=function(){},i=[],j=[],k={},l={},m={},n={},o=null,p={},q={},r={},s={},t={},u=[],v={},w={},x=!1,y={},z=!1,A=new(b("CallbackDependencyManager"))(),B=new(b("Arbiter"))(),C=0,D=null,E=null,F=b("BootloaderConfig").jsRetries||[],G=b("BootloaderConfig").jsRetryAbortNum,H=b("BootloaderConfig").jsRetryAbortTime,I=F.length>0,J=Object.freeze({BOOTLOAD:"bootloader/bootload"});b("ErrorUtils").addListener(function(a){a.loadingUrls=Object.keys(q)},!0);function K(a){return b("BootloaderConfig").retryQueuedBootloads?a.every(function(a){return m[a]}):z}function L(a){if(!m[a])throw new Error(b("TAAL").blameToPreviousFile(b("ex")("Bootloader: %s is not in the component map",a)));return m[a]}function M(){o||(o=document.head||document.getElementsByTagName("head")[0]||document.body);return o}function N(){if(!I)return!1;var a=u.length;if(a<G)return!0;a=u[a-1]-u[a-G];a<H&&(b("FBLogger")("bootloader").warn("JS retry abort"),I=!1);return I}function O(a,b,c,d,e){var f=document.createElement("link");f.href=a;f.rel="preload";b==="async"?T(a,c):(f.as=b==="js"?"script":"style",e&&(f.onload=e),c!=null&&p[c].crossOrigin&&(f.crossOrigin="anonymous"),l[c]=!0,d.appendChild(f))}function P(a,b,c,d){var e=document.createElement("script");e.src=a;e.async=!0;b!=null&&p[b].crossOrigin&&(e.crossOrigin="anonymous");R(e,b,c);d.appendChild(e);return e}function Q(a){__p&&__p();var c="async:"+C++;if(b("BootloaderConfig").shouldCoalesceModuleRequestsMadeInSameTick)if(E==null)E={key:c,modules:[].concat(a)},Y(c,a);else{var d;c=E.key;(d=E.modules).push.apply(d,a);Y(c,E.modules)}else Y(c,a);a.forEach(function(a){n[a]=c});return c}function R(a,c,d){__p&&__p();var e=a.src,f=b("performanceAbsoluteNow")(),g=b("TimeSlice").getGuardedContinuation("Bootloader script.onresponse"),h=b("ResourceTimingsStore").getUID("js",e);b("ifRequired")("TimeSliceAutoclosedInteraction",function(a){return a.getInteractionsActiveRightNow().forEach(function(a){return a.forResourceRequest(h).addStringAnnotation("requested_in_continuation","true")})});b("ResourceTimingsStore").annotate("js",h).addStringAnnotation("name",c!=null?c:"").addStringAnnotation("source",e);b("ifRequired")("TimeSliceInteraction",function(a){a.informGlobally("bootloader._loadJS").addStringAnnotation("source",e).addStringAnnotation("name",c!=null?c:"")});b("ResourceTimingsStore").measureRequestSent("js",h);a.onload=g.bind(void 0,function(){t[e]&&b("FBLogger")("bootloader").info("JS retry success [%s] at %s | time: %s | retries: %s",c,e,b("performanceAbsoluteNow")()-f,t[e]),b("ResourceTimingsStore").measureResponseReceived("js",h),d()});a.onreadystatechange=function(){["loaded","complete"].includes(this.readyState)&&(b("ResourceTimingsStore").measureResponseReceived("js",h),g.bind(void 0,d)())};a.onerror=g.bind(void 0,function(){b("ResourceTimingsStore").measureResponseReceived("js",h),t[e]||(t[e]=0),N()&&t[e]<F.length?(u.push(b("performanceAbsoluteNow")()),setTimeout(function(){if(!N())return;var b=a.parentNode;b.removeChild(a);P(e,c,d,b)},F[t[e]]),t[e]++):(s[e]=!0,b("FBLogger")("bootloader").warn("JS loading error [%s] at %s | time: %s | retries: %s | concurrency: %s",c,e,b("performanceAbsoluteNow")()-f,t[e],Object.keys(q).length),d())})}function S(a,c,d){return function(){b("FBLogger")("bootloader").warn("CSS timeout [%s] at %s | concurrency: %s",a,c,Object.keys(q).length),s[c]=!0,d()}}function T(a,c){__p&&__p();var d;if(c===((d=E)==null?void 0:d.key)){if(D!=null)return;var e=b("TimeSlice").getGuardedContinuation("Schedule async batch request: Bootloader._loadResources");D=b("setImmediateAcrossTransitions")(function(){__p&&__p();return e(function(){__p&&__p();D=null;var a=E;a!=null||g(0,11539);var d=(a=p[c])==null?void 0:a.src;d!=null||g(0,12736,c);E=null;q[d]=b("performanceAbsoluteNow")();
|
||
|
__d("CSRFGuard",[],(function(a,b,c,d,e,f){"use strict";a="for (;;);";var g=/^for ?\(;;\);/;b={length:a.length,regex:g,exists:function(a){return!!a.match(g)},clean:function(a){var b=a.match(g);return b?a.substr(b[0].length):b}};e.exports=b}),null);
|
||
|
__d("$-core",["TAAL","ex"],(function(a,b,c,d,e,f){__p&&__p();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)throw new Error(b("TAAL").blameToPreviousFile(b("ex")('Tried to get element with id of "%s" but it is not present on the page',a)));return c}a.fromIDOrElement=c;e.exports=a}),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){__p&&__p();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}var i={addClass:function(a,b){/\s/.test(b)&&g(0,440,b);b&&(a.classList?a.classList.add(b):i.hasClass(a,b)||(a.className=a.className+" "+b));return a},removeClass:function(a,b){/\s/.test(b)&&g(0,441,b);b&&(a.classList?a.classList.remove(b):i.hasClass(a,b)&&(a.className=a.className.replace(new RegExp("(^|\\s)"+b+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")));return a},conditionClass:function(a,b,c){return(c?i.addClass:i.removeClass)(a,b)},hasClass:function(a,b){/\s/.test(b)&&g(0,442);return a.classList?!!b&&a.classList.contains(b):(" "+a.className+" ").indexOf(" "+b+" ")>-1},matchesSelector:function(a,b){var c=a.matches||a.webkitMatchesSelector||a.mozMatchesSelector||a.msMatchesSelector||function(b){return h(a,b)};return c.call(a,b)}};e.exports=i}),null);
|
||
|
__d("CSS",["CSSCore","$"],(function(a,b,c,d,e,f){__p&&__p();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){__p&&__p();var g={byTag:function(a,b){b=b.toUpperCase();a=g.find(a,function(a){return a.nodeName===b});return a instanceof Element?a:null},byClass:function(a,c){a=g.find(a,function(a){return a instanceof Element&&b("CSS").hasClass(a,c)});return a instanceof Element?a:null},bySelector:function(a,b){__p&&__p();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.bySelector_SLOW(a,b)},bySelector_SLOW:function(a,b){__p&&__p();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},byAttribute:function(a,b){a=g.find(a,function(a){return a instanceof Element&&!!a.getAttribute(b)});return a instanceof Element?a:null},find:function(a,b){a=a;while(a){if(b(a))return a;a=a.parentNode}return null}};e.exports=g}),null);
|
||
|
__d("ContextualComponent",["Parent"],(function(a,b,c,d,e,f){__p&&__p();a=function(){"use strict";__p&&__p();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}();a.$1=new Map();e.exports=a}),null);
|
||
|
__d("BitMap",[],(function(a,b,c,d,e,f){__p&&__p();var g="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ-_";a=function(){"use strict";__p&&__p();function a(){this.$1=[]}var b=a.prototype;b.set=function(a){this.$1[a]=1;return this};b.toString=function(){var a=[];for(var b=0;b<this.$1.length;b++)a.push(this.$1[b]?1:0);return a.length?i(a.join("")):""};b.toCompressedString=function(){if(this.$1.length===0)return"";var a=[],b=1,c=this.$1[0]||0,d=c.toString(2);for(var e=1;e<this.$1.length;e++){var f=this.$1[e]||0;f===c?b++:(a.push(h(b)),c=f,b=1)}b&&a.push(h(b));return i(d+a.join(""))};return a}();function h(a){a=a.toString(2);var b="0".repeat(a.length-1);return b+a}function i(a){a=(a+"00000").match(/[01]{6}/g);var b="";for(var c=0;a!=null&&c<a.length;c++)b+=g[parseInt(a[c],2)];return b}e.exports=a}),null);
|
||
|
__d("BanzaiLazyQueue",[],(function(a,b,c,d,e,f){var g=[];a={queuePost:function(a,b,c){g.push([a,b,c])},flushQueue:function(){var a=g;g=[];return a}};e.exports=a}),null);
|
||
|
__d("ge",[],(function(a,b,c,d,e,f){__p&&__p();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){__p&&__p();var d;if(h(b)==a)return b;else if(b.getElementsByTagName){c=b.getElementsByTagName(c||"*");for(d=0;d<c.length;d++)if(h(c[d])==a)return c[d]}else{c=b.childNodes;for(d=0;d<c.length;d++){b=g(a,c[d]);if(b)return b}}return null}function h(a){return a.getAttribute?a.getAttribute("id"):null}e.exports=a}),null);
|
||
|
__d("replaceTransportMarkers",["BanzaiLazyQueue","ErrorUtils","ge","memoize"],(function(a,b,c,d,e,f){__p&&__p();function g(a,c,e){__p&&__p();var f=e!==void 0?c[e]:c,h;if(Array.isArray(f))for(h=0;h<f.length;h++)g(a,f,h);else if(f&&typeof f==="object")if(f.__m)f.__lazy?c[e]=b("memoize")(b.bind(null,f.__m)):c[e]=b.call(null,f.__m);else if(f.__jsr)c[e]=new(b.call(null,"JSResourceReference"))(f.__jsr);else if(f.__dr)c[e]=new(b.call(null,"RequireDeferredReference"))(f.__dr);else if(f.__rc)f.__rc[0]===null?c[e]=null:c[e]=b.call(null,f.__rc[0]),f.__rc[1]&&b("BanzaiLazyQueue").queuePost("require_cond_exposure_logging",{identifier:f.__rc[1]});else if(f.__deferredElement){var i=[],j;d.call(null,[f.__deferredElement],function(a){j=a,i.length&&(i.forEach(b("ErrorUtils").guard(function(b){b(a)},"JS::deferredElement callback: '"+f.__deferredElement+"'")),i.length=0)});h={then:function(a){j?a(j):i.push(a)}};c[e]=h}else if(f.__e)c[e]=b("ge")(f.__e);else if(f.__rel)c[e]=a.relativeTo;else if(f.__bigPipeContext)c[e]=a.bigPipeContext;else if(f.__bbox)c[e]=f.__bbox;else{for(var k in f)g(a,f,k);if(f.__map)c[e]=new Map(f.__map);else if(f.__set)c[e]=new Set(f.__set);else if(f.__imm){h=f.__imm;a=h.method;h=h.value;c[e]=b.call(null,"immutable")[a](h)}}}e.exports=g}),null);
|
||
|
__d("ServerJSDefine",["BitMap","replaceTransportMarkers"],(function(a,b,c,d,e,f){__p&&__p();var g=2,h=8,i=new(b("BitMap"))(),j={getLoadedModuleHash:function(){return i.toCompressedString()},handleDefine:function(a,c,d,f,j){f>=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)})}};e.exports=j}),null);
|
||
|
__d("__debug",[],(function(a,b,c,d,e,f){e.exports={}}),null);
|
||
|
__d("ServerJS",["ContextualComponent","ErrorGuard","ServerJSDefine","ex","ge","replaceTransportMarkers","__debug"],(function(a,b,c,d,e,f){__p&&__p();var g=1,h=2,i=0;a=function(){"use strict";__p&&__p();function a(){this.$1={},this.$2=null,this.$3={},this.$4=void 0}var c=a.prototype;c.handle=function(a,b){return this.$5(a,b,k)};c.handleWithCustomApplyEach=function(a,b,c){this.$5(b,c,a)};c.$5=function(a,b,c){__p&&__p();this.$4=b;if(a.__guard)throw new Error("ServerJS.handle called on data that has already been handled");a.__guard=!0;c(a.define||[],this.$6,this);c(a.markup||[],this.$7,this);c(a.elements||[],this.$8,this);this.$9(a.contexts||[]);c(a.instances||[],this.$10,this);var d=c(a.pre_display_requires||[],this.$11,this);d=d.concat(c(a.require||[],this.$11,this));return{cancel:function(){for(var a=0;a<d.length;a++)d[a]&&d[a].cancel()}}};c.handlePartial=function(a,b){(a.instances||[]).forEach(m.bind(null,this.$1,3));(a.markup||[]).forEach(m.bind(null,this.$1,2));(a.elements||[]).forEach(m.bind(null,this.$1,2));return this.handle(a,b)};c.setRelativeTo=function(a){this.$2=a;return this};c.setServerFeatures=function(){return this};c.cleanup=function(a){__p&&__p();var c=Object.keys(this.$1);a?d.call(null,c,a.guard(n,"SeverJS Cleanup requireLazy",{propagationType:a.PropagationType.ORPHAN})):d.call(null,c,n);this.$1={};function f(c){var d=this.$3[c],a=d[0],f=d[1];d=d[2];delete this.$3[c];f=f?'JS::call("'+a+'", "'+f+'", ...)':'JS::requireModule("'+a+'")';a=b("__debug").debugUnresolvedDependencies([a,c]);c=b("ex")("%s did not fire because it has missing dependencies.\n%s",f,a);throw j(new Error(c),d)}for(var g in this.$3)b("ErrorGuard").applyWithGuard(f,this,[g],{name:"ServerJS:cleanup id: "+g})};c.$6=function(a,c,d,e){return b("ErrorGuard").applyWithGuard(b("ServerJSDefine").handleDefine,b("ServerJSDefine"),[a,c,d,e,this.$2],{name:"JS::define"})};c.$11=function(a,c,d,e){return b("ErrorGuard").applyWithGuard(this.$12,this,[a,c,d,e],{name:c?"JS::call":"JS::requireModule"})};c.$12=function(a,c,d,f){__p&&__p();a=a.split("@");var k=a[0],l=a[1];typeof c==="object"&&(d=c,c=void 0);a=[k].concat(d||[]);var m;c?m="__call__"+k+"."+c:m="__requireModule__"+k;m+="__"+i++;this.$3[m]=[k,c,l];var n=this.$4&&this.$4.bigPipeContext,o=b("ErrorGuard").guard(function(a){__p&&__p();var a=b.call(null,k);delete this.$3[m];f&&b("replaceTransportMarkers")({relativeTo:this.$2,bigPipeContext:n},f);if(c){if(!a[c])throw j(new TypeError(b("ex")('Module %s has no method "%s"',k,c)),l);a[c].apply(a,f||[]);o.__SMmeta=a[c].__SMmeta||{};o.__SMmeta.module=o.__SMmeta.module||k;o.__SMmeta.name=o.__SMmeta.name||c}}.bind(this),c?"JS::call('"+k+"', '"+c+"', ...)":"JS::requireModule('"+k+"')");return define(m,a,o,g|h,this,1,this.$4)};c.$10=function(a,c,d,e){return b("ErrorGuard").applyWithGuard(this.$13,this,[a,c,d,e],{name:"JS::instance"})};c.$13=function(a,c,d,e){__p&&__p();var f=null;a=a.split("@");var g=a[0];a=a[1];if(c){var i=this.$4&&this.$4.bigPipeContext;f=function(){var a=b.call(null,c[0]);b("replaceTransportMarkers")({relativeTo:this.$2,bigPipeContext:i},d);var e=Object.create(a.prototype);a.apply(e,d);return e}.bind(this)}define(g,c,f,h,null,e)};c.$7=function(a,c,d){return b("ErrorGuard").applyWithGuard(this.$14,this,[a,c,d],{name:"JS::markup"})};c.$14=function(a,b,c){a=a.split("@");var d=a[0];a=a[1];define(d,["HTML"],function(c){try{return c.replaceJSONWrapper(b).getRootNode()}catch(b){throw j(b,a)}},0,null,c)};c.$8=function(a,c,d,e){return b("ErrorGuard").applyWithGuard(this.$15,this,[a,c,d,e],{name:"JS::element"})};c.$15=function(a,c,d,e){__p&&__p();a=a.split("@");var f=a[0],h=a[1];if(c===null&&d){define(f,null,null,0,null,d);return}a=[];var i=0;e&&(a.push(e),i=g,d++);define(f,a,function(a){a=b("ge")(c,a);if(!a){var d="";throw j(new Error(b("ex")('Could not find element "%s"%s',c,d)),h)}return a},i,null,d)};c.$9=function(a){b("ErrorGuard").applyWithGuard(this.$16,this,[a],{name:"ContextualComponents"})};c.$16=function(a){__p&&__p();var c=this,d=this.$4&&this.$4.bigPipeContext;a.map(function(a){b("replaceTransportMarkers")({relativeTo:c.$2,bigPipeContext:d
|
||
|
__d("bx",["invariant"],(function(a,b,c,d,e,f,g){__p&&__p();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||(h[c]=a[c])};a.getURL=function(a){return a.uri};e.exports=a}),null);
|
||
|
__d("getSameOriginTransport",["ExecutionEnvironment","ex"],(function(a,b,c,d,e,f){function c(){if(!b("ExecutionEnvironment").canUseDOM)throw new Error(b("ex")("getSameOriginTransport: %s","Same origin transport unavailable in the server environment."));try{return new a.XMLHttpRequest()}catch(a){throw new Error(b("ex")("getSameOriginTransport: %s",a.message))}}e.exports=c}),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("gkx",["invariant","emptyFunction","requireWeak"],(function(a,b,c,d,e,f,g){"use strict";__p&&__p();var h={},i={};function a(a){var c=h[a];c!=null||g(0,3444,a);i[a]||(i[a]=!0,b("requireWeak")("Banzai",function(b){return b.post("gk2_exposure",{identifier:a,hash:c.hash})}));return c.result}a.add=function(a){for(var b in a)b in h||(h[b]=a[b])};c=b("emptyFunction");a.setPass=c;a.setFail=c;e.exports=a}),null);
|
||
|
__d("ix",["invariant"],(function(a,b,c,d,e,f,g){__p&&__p();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||(h[c]=a[c])};e.exports=a}),null);
|
||
|
__d("qex",["invariant","requireWeak"],(function(a,b,c,d,e,f,g){"use strict";__p&&__p();var h={},i={};a={_:function(a){var c=h[a];c!=null||g(0,3203,a);var d=c.r,e=c.l;e!=null&&!i[a]&&(i[a]=!0,b("requireWeak")("Banzai",function(a){a.post("qex",{l:e},{signal:!0})}));return d},add:function(a){for(var b in a)b in h||(h[b]=a[b])}};e.exports=a}),null);
|
||
|
__d("BootloaderEndpoint",["ix","CSRFGuard","FBLogger","ServerJS","TimeSlice","bx","getAsyncParams","getSameOriginTransport","gkx","qex"],(function(a,b,c,d,e,f,g){"use strict";__p&&__p();function h(a,c,d){__p&&__p();var e=c.ixData,f=c.bxData,h=c.gkxData,i=c.qexData;e&&g.add(e);f&&b("bx").add(f);h&&b("gkx").add(h);i&&b("qex").add(i);var j=c.jsmods;e=c.resource_map;f=c.bootloadable;h=c.allResources;e&&a.setResourceMap(e);f&&a.enableBootload(f);a.loadResources(h||[],function(){new(b("ServerJS"))().handle(j||{}),d()})}a={getURL:function(a,b){a=encodeURIComponent(a.join(","));return""+b+(b.indexOf("?")===-1?"?":"&")+"modules="+a},load:function(a,c,d){__p&&__p();var e=c;c=b("getAsyncParams")("GET");for(var f in c){var g=encodeURIComponent(f),i=encodeURIComponent(String(c[f]));e+="&"+g+"="+i}var j=b("getSameOriginTransport")();j.open("GET",e,!0);var k=b("TimeSlice").getGuardedContinuation("Bootloader _requestHastePayload");j.onreadystatechange=function(){j.readyState===4&&k(function(){var c=j.status===200?JSON.parse(b("CSRFGuard").clean(j.responseText)):{};c==null?b("FBLogger")("bootloader").warn("Invalid response from %s: %s",e,j.responseText.substr(0,256)):b("TimeSlice").guard(function(){return h(a,c,d)},"Bootloader receiveEndpointData",{propagationType:b("TimeSlice").PropagationType.CONTINUATION})()})};j.send()}};e.exports=a}),null);
|
||
|
__d("setTimeoutAcrossTransitions",["TimerStorage","TimeSlice"],(function(a,b,c,d,e,f){var g=a.__fbNativeSetTimeout||a.setTimeout,h=b("TimerStorage").TIMEOUT;function c(c,d){var e=b("TimeSlice").guard(c,"setTimeout",{propagationType:b("TimeSlice").PropagationType.CONTINUATION,registerCallStack:!0});for(var f=arguments.length,i=new Array(f>2?f-2:0),j=2;j<f;j++)i[j-2]=arguments[j];var k=Function.prototype.apply.call(g,a,[e,d].concat(i)),l=h+k;b("TimeSlice").registerForCancelling(l,e);return k}e.exports=c}),null);
|
||
|
__d("Promise",["TimeSlice","setImmediateAcrossTransitions","setTimeoutAcrossTransitions"],(function(a,b,c,d,e,f){"use strict";__p&&__p();function g(){}var h=null,i={};function j(a){try{return a.then}catch(a){h=a;return i}}function k(a,b){try{return a(b)}catch(a){h=a;return i}}function l(a,b,c){try{a(b,c)}catch(a){h=a;return i}}function m(a){__p&&__p();if(typeof this!=="object")throw new TypeError("Promises must be constructed via new");if(typeof a!=="function")throw new TypeError("not a function");this._state=0;this._value=null;this._deferreds=[];if(a===g)return;t(a,this)}m._noop=g;m.prototype.then=function(a,b){if(this.constructor!==m)return n(this,a,b);var c=new m(g);o(this,new s(a,b,c));return c};function n(a,b,c){return new a.constructor(function(d,e){var f=new m(g);f.then(d,e);o(a,new s(b,c,f))})}function o(a,c){__p&&__p();while(a._state===3)a=a._value;if(a._state===0){a._deferreds.push(c);return}b("setImmediateAcrossTransitions")(function(){var b=a._state===1?c.onFulfilled:c.onRejected;if(b===null){c.continuation(function(){});a._state===1?p(c.promise,a._value):q(c.promise,a._value);return}b=k(c.continuation.bind(null,b),a._value);b===i?q(c.promise,h):p(c.promise,b)})}function p(a,b){__p&&__p();if(b===a)return q(a,new TypeError("A promise cannot be resolved with itself."));if(b&&(typeof b==="object"||typeof b==="function")){var c=j(b);if(c===i)return q(a,h);if(c===a.then&&b instanceof m){a._state=3;a._value=b;r(a);return}else if(typeof c==="function"){t(c.bind(b),a);return}}a._state=1;a._value=b;r(a)}function q(a,b){a._state=2,a._value=b,r(a)}function r(a){for(var b=0;b<a._deferreds.length;b++)o(a,a._deferreds[b]);a._deferreds=null}function s(a,c,d){this.onFulfilled=typeof a==="function"?a:null,this.onRejected=typeof c==="function"?c:null,this.continuation=b("TimeSlice").getGuardedContinuation("Promise Handler"),this.promise=d}function t(a,b){__p&&__p();var c=!1;a=l(a,function(a){if(c)return;c=!0;p(b,a)},function(a){if(c)return;c=!0;q(b,a)});!c&&a===i&&(c=!0,q(b,h))}m.prototype.done=function(a,c){var d=new Error("Promise.done"),e=arguments.length?this.then.apply(this,arguments):this;e.then(null,function(a){b("setTimeoutAcrossTransitions")(function(){if(a instanceof Error)throw a;else{d.message=""+a;throw d}},0)})};var u=A(!0),v=A(!1),w=A(null),x=A(void 0),y=A(0),z=A("");function A(a){var b=new m(m._noop);b._state=1;b._value=a;return b}m.resolve=function(a){__p&&__p();if(a instanceof m)return a;if(a===null)return w;if(a===void 0)return x;if(a===!0)return u;if(a===!1)return v;if(a===0)return y;if(a==="")return z;if(typeof a==="object"||typeof a==="function")try{var b=a.then;if(typeof b==="function")return new m(b.bind(a))}catch(a){return new m(function(b,c){c(a)})}return A(a)};m.all=function(a){__p&&__p();Array.isArray(a)||(a=[new m(function(){throw new TypeError("Promise.all must be passed an iterable.")})]);var b=Array.prototype.slice.call(a);return new m(function(a,c){__p&&__p();if(b.length===0)return a([]);var d=b.length;function e(f,g){__p&&__p();if(g&&(typeof g==="object"||typeof g==="function"))if(g instanceof m&&g.then===m.prototype.then){while(g._state===3)g=g._value;if(g._state===1)return e(f,g._value);g._state===2&&c(g._value);g.then(function(a){e(f,a)},c);return}else{var h=g.then;if(typeof h==="function"){h=new m(h.bind(g));h.then(function(a){e(f,a)},c);return}}b[f]=g;--d===0&&a(b)}for(var f=0;f<b.length;f++)e(f,b[f])})};m.reject=function(a){return new m(function(b,c){c(a)})};m.race=function(a){return new m(function(b,c){a.forEach(function(a){m.resolve(a).then(b,c)})})};m.prototype["catch"]=function(a){return this.then(null,a)};m.prototype["finally"]=function(a){return this.then(function(b){return m.resolve(a()).then(function(){return b})},function(b){return m.resolve(a()).then(function(){throw b})})};e.exports=m}),null);
|
||
|
__d("performanceNow",["performance"],(function(a,b,c,d,e,f){b("performance").now?a=function(){return b("performance").now()}:a=function(){return Date.now()};e.exports=a}),null);
|
||
|
__d("promiseDone",["TAAL","setTimeoutAcrossTransitions"],(function(a,b,c,d,e,f){__p&&__p();function a(a,c,d){var e=new Error("promiseDone"),f=arguments.length>1?a.then(c,d):a;f.then(null,function(a){b("setTimeoutAcrossTransitions")(function(){if(a instanceof Error)throw a;else{e.message=b("TAAL").blameToPreviousFile(a);throw e}},0)})}e.exports=a}),null);
|
||
|
__d("RequireDeferredReference",["Promise","Bootloader","ifRequired","performanceNow","promiseDone","requireWeak"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g=function(a){return a};a=function(){__p&&__p();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.preload=function(){};c.getModuleIfRequired=function(){return b("ifRequired").call(null,this.$1,g)};c.load=function(){var a=this,c=b("ifRequired")("CometInteractionTracingMetrics",function(c){return c.currentInteractionLogger().addRequireDeferred(a.getModuleId(),b("performanceNow")())});return new(b("Promise"))(function(d){b("requireWeak").call(null,a.getModuleId(),function(a){if(c){var e=!1;c(b("performanceNow")(),e)}d(a)})})};c.loadImmediately=function(a){return b("Bootloader").loadModules.call(b("Bootloader"),[this.getModuleId()],a,"RequireDeferredReference.loadImmediately()")};c.onReady=function(a){__p&&__p();var c=this,d=!1,e=this.getModuleIfRequired(),f=e!=null?b("Promise").resolve(e):this.load();if(e!=null){var g=b("performanceNow")();e=b("ifRequired")("CometInteractionTracingMetrics",function(a){return a.currentInteractionLogger().addRequireDeferred(c.getModuleId(),g)});if(e){var h=!0;e(g,h)}}b("promiseDone")(f,function(){d||a.apply(void 0,arguments)});return{remove:function(){d=!0}}};return a}();e.exports=a}),null);
|
||
|
__d("requireDeferred",["RequireDeferredReference"],(function(a,b,c,d,e,f){"use strict";function a(a){return new(b("RequireDeferredReference"))(a)}e.exports=a}),null);
|
||
|
__d("CurrentCommunity",["CurrentCommunityInitialData"],(function(a,b,c,d,e,f){a={getID:function(){return b("CurrentCommunityInitialData").COMMUNITY_ID||"0"},getName:function(){return b("CurrentCommunityInitialData").COMMUNITY_NAME||""}};e.exports=a}),null);
|
||
|
__d("DTSG",["invariant","DTSGInitialData"],(function(a,b,c,d,e,f,g){"use strict";var h=b("DTSGInitialData").token||null;a={getToken:function(){return h},setToken:function(a){h=a},refresh:function(){g(0,5809)}};e.exports=a}),null);
|
||
|
__d("isMessengerDotComURI",[],(function(a,b,c,d,e,f){var g=new RegExp("(^|\\.)messenger\\.com$","i"),h=["https"];function a(a){if(a.isEmpty()&&a.toString()!=="#")return!1;return!a.getDomain()&&!a.getProtocol()?!1:h.indexOf(a.getProtocol())!==-1&&g.test(a.getDomain())}e.exports=a}),null);
|
||
|
__d("isOculusDotComURI",["URI"],(function(a,b,c,d,e,f){var g=new RegExp("(^|\\.)oculus\\.com$","i"),h=["https"];function a(a){if(a.isEmpty()&&a.toString()!=="#")return!1;return!a.getDomain()&&!a.getProtocol()?!1:h.indexOf(a.getProtocol())!==-1&&g.test(a.getDomain())}e.exports=a}),null);
|
||
|
__d("isWorkplaceDotComURI",[],(function(a,b,c,d,e,f){var g=new RegExp("(^|\\.)workplace\\.com$","i");function a(a){return a.getProtocol()==="https"&&g.test(a.getDomain())}e.exports=a}),null);
|
||
|
__d("DTSGUtils",["SprinkleConfig","isCdnURI","isFacebookURI","isMessengerDotComURI","isOculusDotComURI","isWorkplaceDotComURI"],(function(a,b,c,d,e,f){"use strict";a={getNumericValue:function(a){var c=0;for(var d=0;d<a.length;d++)c+=a.charCodeAt(d);c=c.toString();return b("SprinkleConfig").should_randomize?c:b("SprinkleConfig").version+c},shouldAppendToken:function(a){return!b("isCdnURI")(a)&&!a.isSubdomainOfDomain("fbsbx.com")&&(b("isFacebookURI")(a)||b("isMessengerDotComURI")(a)||b("isWorkplaceDotComURI")(a)||b("isOculusDotComURI")(a)||a.isSubdomainOfDomain("freebasics.com"))}};e.exports=a}),null);
|
||
|
__d("DTSG_ASYNC",["DTSGInitData"],(function(a,b,c,d,e,f){"use strict";var g=b("DTSGInitData").async_get_token||null;a={getToken:function(){return g},setToken:function(a){g=a}};e.exports=a}),null);
|
||
|
__d("StaticSiteData",[],(function(a,b,c,d,e,f){e.exports={pkg_cohort_key:"__pc",dpr_key:"dpr",be_key:"__be",spin_rev_key:"__spin_r",spin_time_key:"__spin_t",spin_branch_key:"__spin_b",spin_mhenv_key:"__spin_dev_mhenv",weblite_key:"__wblt",weblite_iframe_key:"__wbltif",kite_key:"_ktif"}}),null);
|
||
|
__d("asyncParams",[],(function(a,b,c,d,e,f){var g={};a={add:function(a,b){g[a]=b},get:function(){return g}};e.exports=a}),null);
|
||
|
__d("isSocialPlugin",["CSSCore"],(function(a,b,c,d,e,f){"use strict";function a(){return!!document.body&&b("CSSCore").hasClass(document.body,"plugin")}e.exports=a}),null);
|
||
|
__d("getAsyncParams",["CurrentCommunity","CurrentUserInitialData","DTSG","DTSG_ASYNC","DTSGUtils","Env","ISB","LSD","ServerJSDefine","SiteData","SprinkleConfig","StaticSiteData","WebSession","asyncParams","isSocialPlugin"],(function(a,b,c,d,e,f){__p&&__p();var g=1,h={locale:!0,cxobfus:!0,js_debug:!0,cquick:!0,ctarget:!0,ctoken:!0,wdplevel:!0};function a(a){__p&&__p();var c,d=babelHelpers["extends"]({},b("asyncParams").get(),(c={__user:b("CurrentUserInitialData").USER_ID,__a:1,__dyn:b("ServerJSDefine").getLoadedModuleHash(),__req:(g++).toString(36)},c[b("StaticSiteData").be_key]=b("SiteData").be_mode,c[b("StaticSiteData").pkg_cohort_key]=b("SiteData").pkg_cohort,c[b("StaticSiteData").dpr_key]=b("SiteData").pr,c.__rev=b("SiteData").client_revision,c.__s=b("WebSession").getId(),c));b("SiteData").is_comet&&(d.__comet_req=1);b("Env").force_blue&&(d.force_blue=1);window.location.search.slice(1).split("&").forEach(function(a){a=a.split("=");var b=a[0];a=a[1];(b.substr(0,4)==="tfc_"||b.substr(0,4)==="tfi_"||b.substr(0,3)==="mh_"||h[b]>-1)&&(d[b]=a)});b("Env").isCQuick&&!d.cquick&&(d.cquick=b("Env").iframeKey,d.ctarget=b("Env").iframeTarget,d.cquick_token=b("Env").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);b("SiteData").spin&&(d[b("StaticSiteData").spin_rev_key]=b("SiteData")[b("StaticSiteData").spin_rev_key],d[b("StaticSiteData").spin_branch_key]=b("SiteData")[b("StaticSiteData").spin_branch_key],d[b("StaticSiteData").spin_time_key]=b("SiteData")[b("StaticSiteData").spin_time_key],b("SiteData")[b("StaticSiteData").spin_mhenv_key]&&(d[b("StaticSiteData").spin_mhenv_key]=b("SiteData")[b("StaticSiteData").spin_mhenv_key]));return d}e.exports=a}),null);
|
||
|
/**
|
||
|
* License: https://www.facebook.com/legal/license/09P_rcHKL4D/
|
||
|
*/
|
||
|
__d("Alea",[],(function(a,b,c,d,e,f){__p&&__p();function g(){__p&&__p();var a=4022871197,b=function(b){__p&&__p();b=b.toString();for(var c=0;c<b.length;c++){a+=b.charCodeAt(c);var d=.02519603282416938*a;a=d>>>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(){__p&&__p();var a=0,b=0,c=0,d=1;for(var e=arguments.length,f=new Array(e),h=0;h<e;h++)f[h]=arguments[h];var i=f.length>0?f:[new Date()],j=new g();a=j(" ");b=j(" ");c=j(" ");for(var k=0;k<i.length;k++)a-=j(i[k]),a<0&&(a+=1),b-=j(i[k]),b<0&&(b+=1),c-=j(i[k]),c<0&&(c+=1);j=null;var l=function(){var e=2091639*a+d*23283064365386963e-26;a=b;b=c;c=e-(d=e|0);return c};l.version="Alea 0.9";l.args=i;return l}e.exports=a}),null);
|
||
|
__d("Random",["Alea","ServerNonce"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g=4294967296;c=b("ServerNonce").ServerNonce;var h=b("Alea")(c),i={random:function(){__p&&__p();var b=a;b=b.Uint32Array;var c=a.crypto||a.msCrypto;try{if(b!=null&&(c==null?void 0:c.getRandomValues)!=null){b=new b(1);c.getRandomValues(b);return b[0]/g}}catch(a){}return h()},uint32:function(){return Math.floor(this.random()*g)},coinflip:function(a){if(a===0)return!1;return a<=1?!0:i.random()*a<=1}};e.exports=i}),null);
|
||
|
__d("WebSessionDefaultTimeoutMs",[],(function(a,b,c,d,e,f){"use strict";e.exports=3e4}),null);
|
||
|
__d("WebSession",["FBLogger","Random","WebSessionDefaultTimeoutMs","WebStorage"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g=36,h=6,i=Math.pow(g,h);function j(a){return a==null||Number.isFinite(a)===!1||a<=0?null:a}function k(a){if(a==null)return null;var c=parseInt(a,10);if(""+c!==a){b("FBLogger")("web_session").warn("Expected the web session expiry time to parse as an integer. Found `%s`.",String(a));return null}return j(c)}function l(a){__p&&__p();if(a==null)return null;if(a.length!==h){b("FBLogger")("web_session").warn("Expected the web session id to be a %d character string. It was %d character(s). Received `%s`.",h,a.length,a);return null}if(/^[a-z0-9]+$/.test(a)===!1){b("FBLogger")("web_session").warn("Expected the web session ID to be a base-%d encoded string. Received `%s`.",g,a);return null}return a}function m(a){__p&&__p();if(a==null)return null;if(typeof a!=="string"&&a instanceof String===!1){b("FBLogger")("web_session").warn("A non-string value was passed to `coerceSession`. This should be impossible according to this method's Flow type. The value was `%s`.",a);return null}a=a.split(":");var c=a[0];a=a[1];a=k(a);c=l(c);return a==null||c==null?null:{expiryTime:a,id:c}}function n(){var a=Math.floor(b("Random").random()*i);a=a.toString(g);return"0".repeat(h-a.length)+a}var o=null;function p(){o==null&&(o=n());return o}function q(a){a===void 0&&(a=Date.now());var c=b("WebStorage").getLocalStorageForRead();if(c==null)return null;c=m(c.getItem("Session"));return c&&a<c.expiryTime?c:null}function r(){var a;return(a=q())==null?void 0:a.id}function s(){__p&&__p();var a=b("WebStorage").getSessionStorageForRead();if(a==null)return null;a=l(a.getItem("TabId"));if(a==null){var c=b("WebStorage").getSessionStorage();if(c==null)return null;var d=n();c.setItem("TabId",d);return d}return a}a={extend:function(a){__p&&__p();if(a!==void 0&&j(a)==null){b("FBLogger")("web_session").warn("`WebSession.extend()` was passed an invalid target expiry time `%s`.",a);return}var c=Date.now();a=(a=a)!=null?a:c+b("WebSessionDefaultTimeoutMs");var d=q(c);if(d&&d.expiryTime>=a||a<=c)return;c=b("WebStorage").getLocalStorage();if(c!=null){d=d==null?n():d.id;c.setItem("Session",d+":"+a)}},getId:function(){var a,b,c=p();a=(a=r())!=null?a:"";b=(b=s())!=null?b:"";return a+":"+b+":"+c},getPageId_DO_NOT_USE:function(){return p()}};e.exports=a}),null);
|
||
|
__d("CookieConsent",["InitialCookieConsent"],(function(a,b,c,d,e,f){"use strict";var g=b("InitialCookieConsent").deferCookies;a={setConsented:function(){g=!1},isDeferCookies:function(){return g},isCookiesBlocked:function(){return b("InitialCookieConsent").noCookies}};e.exports=a}),null);
|
||
|
__d("WebStorage",["CookieConsent","FBLogger","ex","gkx","repairLocalStorage"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g={},h={};function i(a,c,d){__p&&__p();if(b("CookieConsent").isCookiesBlocked()||b("CookieConsent").isDeferCookies())return null;if(d==="localStorage"){a=!1;try{a=b("gkx")("946894")}catch(a){}a&&b("repairLocalStorage")()}Object.prototype.hasOwnProperty.call(g,d)||(g[d]=c(d));return g[d]}function j(a){try{return window[a]}catch(a){b("FBLogger")("web_storage").warn("Failed to get storage for read %s",a.message)}return null}function k(a){__p&&__p();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 l(a){var b=[];for(var c=0;c<a.length;c++)b.push(a.key(c)||"");return b}function a(a,c,d){__p&&__p();if(a==null)return new Error("storage cannot be null");var e=null;try{a.setItem(c,d)}catch(g){var f=l(a).map(function(b){var c=(a.getItem(b)||"").length;return b+"("+c+")"});e=new Error(b("ex")("%sStorage quota exceeded while setting %s(%s). Items(length) follows: %s",g.name?g.name+": ":"",c,d.length,f.join()));b("FBLogger")("web_storage").catching(e).mustfix("Error set item")}return e}c={getLocalStorage:function(){return i(g,k,"localStorage")},getSessionStorage:function(){return i(g,k,"sessionStorage")},getLocalStorageForRead:function(){return i(h,j,"localStorage")},getSessionStorageForRead:function(){return i(h,j,"sessionStorage")},setItemGuarded:a};e.exports=c}),null);
|
||
|
__d("repairLocalStorage",["requireDeferred"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g=b("requireDeferred")("BanzaiODS"),h="webstorage.localstorage.repair",i=function(){var a=[],b=function(b){a.push(b)},c=function(a){b(a)};g.onReady(function(d){d.setEntitySample(h,1/1e4),b=function(a){d.bumpEntityKey(h,a)},a.forEach(c),a.length=0});return c}(),j=!1;function a(){__p&&__p();if(j===!0)return;j=!0;var a;try{a=window.localStorage,i("access_instance.success")}catch(a){i("access_instance.fataled");return}if(a==null){i("access_instance.found_null");return}var b=a;["clear","getItem","removeItem","setItem"].forEach(function(a){__p&&__p();var c;try{c=b[a],i("access_stored_value.success."+a)}catch(b){i("access_stored_value.failure."+a);return}if(typeof c==="string")try{delete b[a],i("delete_poisoned_key.success."+a)}catch(b){i("delete_poisoned_key.failed."+a)}else i("evaluate_stored_value.is_not_poisoned."+a)})}e.exports=a}),null);
|
||
|
__d("ReactExperimentalProdProfiling",["requireWeak"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g=null,h=!1,i=0,j={};a={startProfiling:function(){var a=(i++).toString();g!==null?j[a]=g.addUserTimingListener():j[a]=function(){};var b=function(){j[a](),delete j[a]};return{stopProfiling:b}},onReactDomLoad:function(a){__p&&__p();if(g!==null)return;g=a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;if(typeof g.addUserTimingListener!=="function"){b("requireWeak")("warning",function(a){a(h,"ReactExperimentalProdProfiling.onReactDomLoad() cannot find the necessary React internals."),h=!0});g=null;return}Object.keys(j).map(function(a){g&&(j[a]=g.addUserTimingListener())})}};e.exports=a}),null);
|
||
|
__d("ArtilleryUserTimingProfiler",["ArtilleryExperiments","Bootloader","ReactExperimentalProdProfiling"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g=window.PerformanceObserver,h=window.PerformanceObserverEntryList,i=null,j,k=[],l=[];function m(){return j!=null?j.isActive():l.length>0}n()&&b("Bootloader").loadModules(["GeneratedArtilleryUserTimingSink"],function(a){__p&&__p();j=new a();j.setScalar("navStart",window.performance.timing.navigationStart);for(var a=0;a<l.length;a++){var b=l[a];b()}l.length=0;k.forEach(function(a){return o(a,null)});k.length=0},"ArtilleryUserTimingProfiler");function n(){if(navigator&&navigator.userAgent.indexOf("Android")>-1&&navigator.userAgent.indexOf("Chrome")>-1){var a=navigator.userAgent.match(/Chrome\/(\d*)/);if(a){a=Number(a[1]);if(a<60)return!1}}return b("ArtilleryExperiments").user_timing&&window&&window.performance&&window.performance.timing&&window.performance.timing.navigationStart&&g&&h}function o(a,b){j!=null?a.getEntries().forEach(function(a){j.addEntry(a)}):k.push(a)}function p(){return{react:b("ReactExperimentalProdProfiling").startProfiling()}}function q(a){a.react.stopProfiling()}var r={close:function(a){a===void 0;return null}};function a(){__p&&__p();if(!n())return null;i===null&&(i=new g(o),i.observe({entryTypes:["measure"]}));var a=!1,b;j==null?(b=r,l.push(function(){a||(b=j.open())})):b=j.open();var c=p();return{close:function(d){d===void 0&&(d=!1);a=!0;q(c);d=b.close(d);!m()&&i!==null&&(i.disconnect(),i=null);return d}}}c={startRecording:a};e.exports=c}),null);
|
||
|
__d("ExecutionContextObservers",[],(function(a,b,c,d,e,f){a={MUTATION_COUNTING:0,PROFILING_COUNTERS:1,REFERENCE_COUNTING:2,HEARTBEAT:3,CALL_STACK:4,ASYNC_PROFILER:5,TIMESLICE_EXECUTION_LOGGER:6,FLUX_PERF_TOOL:7};b={MUTATION_COUNTING:0,REFERENCE_COUNTING:1,PROFILING_COUNTERS:2,HEARTBEAT:3,CALL_STACK:4,ASYNC_PROFILER:5,TIMESLICE_EXECUTION_LOGGER:6,FLUX_PERF_TOOL:7};c={beforeIDs:a,afterIDs:b};e.exports=c}),null);
|
||
|
__d("LogBuffer",["CircularBuffer"],(function(a,b,c,d,e,f){__p&&__p();var g=a.__fbNativeSetTimeout||a.setTimeout,h=5e3,i={},j={};c={write:function(a,c){var d=i[a]=i[a]||new(b("CircularBuffer"))(h);d.write(c);j[a]&&j[a].forEach(function(a){try{a(c)}catch(a){}})},read:function(a){if(!i[a])return[];else return i[a].read()},tail:function(a,b){__p&&__p();if(typeof b!=="function")return;j[a]=j[a]||[];j[a].push(b);if(i[a]){a=i[a];a.read().forEach(function(a){try{b(a)}catch(a){}})}},expand:function(a,c){var d=i[a];d?d.expand(c):i[a]=new(b("CircularBuffer"))(c)},clear:function(a){i[a]&&g(function(){i[a].clear()},0)}};e.exports=c}),null);
|
||
|
__d("OnDemandExecutionContextObserver",["TimeSlice"],(function(a,b,c,d,e,f){"use strict";__p&&__p();a=function(){__p&&__p();function a(){this.$5=!1,this.$4=!1,this.$1=0,this.$2={},this.$3=0}var c=a.prototype;c.onNewContextCreatedWhileEnabled=function(a,b,c){throw Error("unimplemented abstract method")};c.onNewContextCreatedWhileDisabled=function(a,b,c){};c.onContextCanceled=function(a,b){};c.onBeforeContextStartedWhileEnabled=function(a,b,c){throw Error("unimplemented abstract method")};c.onBeforeContextStartedWhileDisabled=function(a,b,c){};c.onAfterContextStartedWhileEnabled=function(a,b,c,d){throw Error("unimplemented abstract method")};c.onAfterContextStartedWhileDisabled=function(a,b,c,d){};c.onAfterContextEndedWhileEnabled=function(a,b,c,d){throw Error("unimplemented abstract method")};c.onAfterContextEndedWhileDisabled=function(a,b,c,d){};c.onNewContextCreated=function(a,b,c){if(this.isEnabled())return this.onNewContextCreatedWhileEnabled(a,b,c);else{this.onNewContextCreatedWhileDisabled(a,b,c);return null}};c.onBeforeContextStarted=function(a,b,c){if(this.isEnabled())return this.onBeforeContextStartedWhileEnabled(a,b,c);else{this.onBeforeContextStartedWhileDisabled(a,b,c);return null}};c.onAfterContextStarted=function(a,b,c,d){c=c;if(this.isEnabled())return this.onAfterContextStartedWhileEnabled(a,b,c,d);else{this.onAfterContextStartedWhileDisabled(a,b,c,d);return null}};c.onAfterContextEnded=function(a,b,c,d){if(this.isEnabled()){var e=c;this.onAfterContextEndedWhileEnabled(a,b,e,d)}else this.onAfterContextEndedWhileDisabled(a,b,c,d);this.$4&&!this.$5&&a.isRoot&&(this.onDisable(),this.$4=!1)};c.onDisable=function(){};c.onEnable=function(){};c.getBeforeID=function(){throw Error("unimplemented abstract method")};c.getAfterID=function(){throw Error("unimplemented abstract method")};c.isEnabled=function(){return this.$4};c.__getExpiryCallback=function(){var a=this,b=++this.$1;this.$2[b]=!0;this.$3++;return function(){a.$2[b]&&(delete a.$2[b],a.$3--,a.$3===0&&(a.$5=!1))}};c.expressInterest=function(){var a=this.__getExpiryCallback();this.isEnabled()||(this.onEnable(),b("TimeSlice").catchUpOnDemandExecutionContextObservers(this));this.$4=!0;this.$5=!0;return a};return a}();e.exports=a}),null);
|
||
|
__d("Heartbeat",["Env","ExecutionContextObservers","FBLogger","LogBuffer","OnDemandExecutionContextObserver","TimeSlice","performanceAbsoluteNow"],(function(a,b,c,d,e,f){"use strict";__p&&__p();c=function(c){__p&&__p();babelHelpers.inheritsLoose(d,c);function d(){var a,b;for(var d=arguments.length,e=new Array(d),f=0;f<d;f++)e[f]=arguments[f];return(a=b=c.call.apply(c,[this].concat(e))||this,b.$HeartbeatObserver1=null,b.$HeartbeatObserver2=33,b.$HeartbeatObserver3=60,b.$HeartbeatObserver4=null,b.$HeartbeatObserver5=null,b.$HeartbeatObserver6={},b.$HeartbeatObserver7=null,b.$HeartbeatObserver8=[],b.$HeartbeatObserver9=1,b.$HeartbeatObserver10=null,a)||babelHelpers.assertThisInitialized(b)}var e=d.prototype;e.onNewContextCreatedWhileEnabled=function(a,b,c){return null};e.onBeforeContextStartedWhileEnabled=function(a,b,c){return null};e.onAfterContextStartedWhileEnabled=function(a,b,c,d){return null};e.onAfterContextEndedWhileEnabled=function(a,b,c,d){b=a.absBeginTimeMs;c=a.absEndTimeMs;d=a.name;a=a.isRoot;a&&b!=null&&c!=null&&(this.$HeartbeatObserver6[d]?(this.$HeartbeatObserver11({type:"ignored_exec",timeMs:b},!0),this.$HeartbeatObserver11({type:"ignored_exec",timeMs:c},!1)):(this.$HeartbeatObserver11({type:"exec",timeMs:b},!0),this.$HeartbeatObserver11({type:"exec",timeMs:c},!1)))};e.__getExpiryCallback=function(){var a=this,d=c.prototype.__getExpiryCallback.call(this),e=b("performanceAbsoluteNow")();this.$HeartbeatObserver8.push([e,d]);return function(){d(),a.$HeartbeatObserver12()}};e.onEnable=function(){__p&&__p();var c=b("Env").timeslice_heartbeat_config||{};this.$HeartbeatObserver2=c.pollIntervalMs||this.$HeartbeatObserver2;this.$HeartbeatObserver3=c.idleGapThresholdMs||this.$HeartbeatObserver3;this.$HeartbeatObserver6=c.ignoredTimesliceNames||this.$HeartbeatObserver6;c=a.__fbNativeSetInterval||a.setInterval;this.$HeartbeatObserver5=c(this.$HeartbeatObserver13.bind(this),this.$HeartbeatObserver2);c=b("performanceAbsoluteNow")();this.$HeartbeatObserver4={type:"beat",timeMs:c};this.$HeartbeatObserver7=c+this.$HeartbeatObserver2;this.$HeartbeatObserver10=c};e.onDisable=function(){this.$HeartbeatObserver5&&clearInterval(this.$HeartbeatObserver5),this.$HeartbeatObserver5=null};e.getBeforeID=function(){return b("ExecutionContextObservers").beforeIDs.HEARTBEAT};e.getAfterID=function(){return b("ExecutionContextObservers").afterIDs.HEARTBEAT};e.$HeartbeatObserver14=function(a){return a.type=="beat"||a.type=="ignored_exec"};e.$HeartbeatObserver11=function(a,c){__p&&__p();if(this.$HeartbeatObserver4==null){b("FBLogger")("FIXME").mustfix("lastEvent should never be null");this.$HeartbeatObserver4=a;return}var d=this.$HeartbeatObserver4.timeMs,e=a.timeMs;if(c){c=this.$HeartbeatObserver7+this.$HeartbeatObserver3;c=e>c;if(this.$HeartbeatObserver4.type==="exec")a.type==="exec"?this.$HeartbeatObserver15(d,e,c?"likely_btwn_exec":"btwn_exec"):this.$HeartbeatObserver14(a)&&this.$HeartbeatObserver15(d,e,c?"likely_post_exec":"post_exec");else if(this.$HeartbeatObserver14(this.$HeartbeatObserver4))if(a.type==="exec")this.$HeartbeatObserver15(d,e,c?"likely_pre_exec":"pre_exec");else if(this.$HeartbeatObserver14(a)&&c){c=a.type==="beat"?"delayed_beat":"delayed_beat_btwn_ignored";this.$HeartbeatObserver15(d,e,c)}}this.$HeartbeatObserver4=a};e.$HeartbeatObserver15=function(a,c,d){a<c&&b("LogBuffer").write("time_slice_heartbeat",{begin:a,end:c,id:this.$HeartbeatObserver9++,parentID:null,guard:"browser time: "+d,representsExecution:!1})};e.$HeartbeatObserver13=function(){var a=b("performanceAbsoluteNow")();this.$HeartbeatObserver12(a);this.$HeartbeatObserver11({type:"beat",timeMs:a},!0);this.$HeartbeatObserver7=a+this.$HeartbeatObserver2};e.$HeartbeatObserver12=function(a){__p&&__p();a=a||b("performanceAbsoluteNow")();while(this.$HeartbeatObserver8.length>0){var c=this.$HeartbeatObserver8[0],d=c[0];c=c[1];if(a-d>h.MAX_SINGLE_INTEREST_TIME_MS)c(),this.$HeartbeatObserver8.shift();else break}d=this.$HeartbeatObserver10;a-d>h.MAX_ENABLE_TO_DISABLE_TIME_MS&&this.$HeartbeatObserver16()};e.$HeartbeatObserver16=function(){__p&&__p();for(var a=this.$Hea
|
||
|
__d("IntervalTrackingBoundedBuffer",["CircularBuffer","ErrorUtils"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g=5e3;a=function(){__p&&__p();function a(a){__p&&__p();var c=this;this.$6=0;if(a!=null){if(a<=0)throw new Error("Size for a buffer must be greater than zero.")}else a=g;this.$4=a;this.$1=new(b("CircularBuffer"))(a);this.$1.onEvict(function(){c.$6++});this.$2=[];this.$3=1;this.$5=0}var c=a.prototype;c.open=function(){__p&&__p();var a=this,b=this.$3++,c=!1,d,e=this.$5,f={id:b,startIdx:e,hasOverflown:function(){return f.getOverflowSize()>0},getOverflowSize:function(){return d!=null?d:Math.max(a.$6-e,0)},close:function(){if(c)return[];else{c=!0;d=a.$6-e;return a.$7(b)}}};this.$2.push(f);return f};c.pushElement=function(a){this.$2.length>0&&(this.$1.write(a),this.$5++);return this};c.isActive=function(){return this.$2.length>0};c.$8=function(a){return Math.max(a-this.$6,0)};c.$7=function(a){__p&&__p();var c,d,e,f;for(var g=0;g<this.$2.length;g++){var h=this.$2[g],i=h.startIdx;h=h.id;h===a?(e=g,f=i):(d==null||i<d)&&(d=i);(c==null||i<c)&&(c=i)}if(e==null||c==null||f==null){b("ErrorUtils").reportError(new Error("messed up state inside IntervalTrackingBoundedBuffer"));return[]}this.$2.splice(e,1);h=this.$8(f);i=this.$1.read().slice(h);g=this.$8(d==null?this.$5:d)-this.$8(c);g>0&&(this.$1.dropFirst(g),this.$6+=g);return i};return a}();e.exports=a}),null);
|
||
|
__d("ProfilingCountersStore",["IntervalTrackingBoundedBuffer"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g=new(b("IntervalTrackingBoundedBuffer"))(),h={getInstance:function(){return g},toMap:function(a){var b={};a.forEach(function(a){return b[a.getTimeSliceContextID()]=a});return b},getNestedTotals:function(a){return h._accumulateOverNestedActiveCounters(a,function(a,b){h._addOnto(b,a.getActiveCounters().getTotals());return b},{})},_accumulateOverNestedActiveCounters:function(a,b,c){__p&&__p();c=c;a.hasActiveCounters()&&(c=b(a,c));if(a.processedNestedContexts!=null)for(var a=a.processedNestedContexts,d=Array.isArray(a),e=0,a=d?a:a[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var f;if(d){if(e>=a.length)break;f=a[e++]}else{e=a.next();if(e.done)break;f=e.value}f=f;c=h._accumulateOverNestedActiveCounters(f,b,c)}return c},_getMaximumAttribution:function(a,b){__p&&__p();if(a.length===0)return null;for(var c=a,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;if(b.propagatedAttributions&&b.propagatedAttributions[f]!=null)return f}f=null;e=null;for(var d=a,c=Array.isArray(d),a=0,d=c?d:d[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var g;if(c){if(a>=d.length)break;g=d[a++]}else{a=d.next();if(a.done)break;g=a.value}g=g;if(b.newAttributions&&b.newAttributions[g]!=null){var h=b.newAttributions[g].newCounterIdx;(e==null||h<e)&&(f=g,e=h)}}return f},getNestedTotalsByAttributions:function(a,b){__p&&__p();return h._accumulateOverNestedActiveCounters(a,function(a,c){__p&&__p();var d=h._getMaximumAttribution(b,a);if(d){d=h._getAttributedAndUnattributedForThisContext(d,a);var e=d.attributed;d=d.unattributed;e!=null&&h._addOnto(c.attributed,e);d!=null&&h._addOnto(c.unattributed,d)}else h._addOnto(c.unattributed,a.getActiveCounters().getTotals());return c},{attributed:{},unattributed:{}})},_getAttributedAndUnattributedForThisContext:function(a,b){__p&&__p();var c=b.getActiveCounters().getTotals();if(b.propagatedAttributions!=null&&b.propagatedAttributions[a]!=null)return{attributed:c,unattributed:null};else if(b.newAttributions!=null&&b.newAttributions[a]!=null){b=b.newAttributions[a].snapshotAtStart;if(b!=null){a=Object.entries(b);for(var d=0;d<a.length;d++){var e=a[d],f=e[0];e=e[1];e=c[f]-e;e===0?delete c[f]:c[f]=e}return{attributed:c,unattributed:b}}else return{attributed:c,unattributed:null}}else return{attributed:null,unattributed:c}},_addOnto:function(a,b){b=Object.entries(b);for(var c=0;c<b.length;c++){var d=b[c],e=d[0];d=d[1];a[e]=(a[e]||0)+d}}};e.exports=h}),null);
|
||
|
__d("ProfilingCounters",["ErrorUtils","ExecutionContextObservers","OnDemandExecutionContextObserver","ProfilingCountersStore","TimeSlice","TimeSliceInteractionSV","performanceAbsoluteNow"],(function(a,b,c,d,e,f){__p&&__p();b("performanceAbsoluteNow")();var g={ALL:"ALL",ONLY_ON_CONTINUATIONS_AND_FIRST_EXEC:"ONLY_ON_CONTINUATIONS_AND_FIRST_EXEC"},h=100,i=[],j=function(c){"use strict";__p&&__p();babelHelpers.inheritsLoose(a,c);function a(){return c.apply(this,arguments)||this}var d=a.prototype;d.onNewContextCreatedWhileEnabled=function(a,b,c){return k.currentContext().getPropagatedContextForChild(!!(c&&c.isContinuation))};d.onBeforeContextStartedWhileEnabled=function(a,b,c){__p&&__p();var d=c&&c.propagateCounterAttribution,e=null;if(a.executionNumber>0&&b){var f=Object.entries(b);for(var h=0;h<f.length;h++){var i=f[h],j=i[0];i=i[1];var l=i.propagationType;l!=="ONLY_ON_CONTINUATIONS_AND_FIRST_EXEC"&&(e=e||{},e[j]=i)}}else e=b;l=k.currentContext().getExecutionContext(!!(c&&c.isContinuation),e);j=new k(!1,l,a.contextID);d!=null&&j.addAttribution(d,g.ALL);k.nestContext(j);return null};d.onAfterContextStartedWhileEnabled=function(a,b,c,d){return null};d.onAfterContextEndedWhileEnabled=function(a,c,d,e){c=k.unnestContext();a.isRoot&&b("ProfilingCountersStore").getInstance().pushElement(c)};d.getBeforeID=function(){return b("ExecutionContextObservers").beforeIDs.PROFILING_COUNTERS};d.getAfterID=function(){return b("ExecutionContextObservers").afterIDs.PROFILING_COUNTERS};d.onDisable=function(){k.resetState()};return a}(b("OnDemandExecutionContextObserver")),k=function(){"use strict";__p&&__p();a.getObserver=function(){a.$2||(a.$2=new j());return a.$2};a.wrapInSingleContext=function(b){var c=new a(!1,null,0);b.forEach(function(a){return c.$3(a,!1)});return c};a.startTimingInContext=function(b,c){if(!a.getObserver().isEnabled())return null;for(var d=0;d<i.length;d++){var e=i[d];if(e.getTimeSliceContextID()===c)return e.getActiveCounters().startTiming(b)}return null};a.stopTimingInContext=function(b,c){__p&&__p();if(!a.getObserver().isEnabled())return;for(var d=0;d<i.length;d++){var e=i[d];if(e.getTimeSliceContextID()===c){e.getActiveCounters().stopTiming(b);return}}return};a.startTiming=function(b){return a.currentContext().getActiveCounters().startTiming(b)};a.stopTiming=function(b){return a.currentContext().getActiveCounters().stopTiming(b)};a.incrementCounter=function(b,c){a.currentContext().getActiveCounters().incrementCounter(b,c)};a.currentContext=function(){return i[i.length-1]};function a(a,b,c){this.isGlobal=a,this.propagatedAttributions=b,this.newAttributions=null,this.active=null,this.processedNestedContexts=null,this.newAttributionsCount=0,this.$1=c}var b=a.prototype;b.addAttribution=function(a,b){this.$4(a)||(this.newAttributions==null&&(this.newAttributions={}),this.newAttributions[a]={newCounterIdx:this.newAttributionsCount,propagationType:b,snapshotAtStart:this.hasActiveCounters()?this.getActiveCounters().getTotals():null},this.newAttributionsCount++);return this};b.$5=function(a,b){return b!=null&&b[a]!=null};b.$4=function(a){return this.$5(a,this.propagatedAttributions)||this.$5(a,this.newAttributions)};a.$6=function(a,b,c){for(var d=0;d<c.length;d++){var e=c[d],f=e[0];e=e[1];var h=e.propagationType;(h===g.ALL||b)&&(a[f]=e)}};b.getPropagatedContextForChild=function(b){__p&&__p();var c;if(this.newAttributions==null)if(this.propagatedAttributions==null||b)return this.propagatedAttributions;else{c=Object.entries(this.propagatedAttributions);var d=!0;for(var e=0;e<c.length;e++){var f=c[e];f[0];f=f[1];if(f.propagationType===g.ONLY_ON_CONTINUATIONS_AND_FIRST_EXEC){d=!1;break}}if(d)return this.propagatedAttributions}f={};this.propagatedAttributions!=null&&a.$6(f,b,c||Object.entries(this.propagatedAttributions));this.newAttributions!=null&&a.$6(f,b,Object.entries(this.newAttributions));return f};b.getExecutionContext=function(b,c){var d=b?this.getPropagatedContextForChild(b)||{}:{};c&&a.$6(d,b,Object.entries(c));return d};b.getActiveCounters=function(){this.active==null&&(this.active=new l());return this.active};b.$7=func
|
||
|
__d("ArtilleryRequestDataCollector",["ArtilleryUserTimingProfiler","Env","FBLogger","Heartbeat","ProfilingCounters","ProfilingCountersStore","TimeSlice","requireWeak"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g;b("requireWeak")("AsyncProfiler",function(a){g=a});a=function(){__p&&__p();function a(a){a===void 0&&(a=!1),this.$1=null,this.$2=!1,this.$3=null,this.$4=null,this.$5=null,this.$6=null,this.$7=null,this.$2=a}var c=a.prototype;c.start=function(){this.$3=b("ProfilingCountersStore").getInstance().open();this.$7=b("ArtilleryUserTimingProfiler").startRecording();g!=null&&g.isSupported()?this.$5=g.startRecording():this.$5=null;var a=b("Env").timeslice_heartbeat_config||{},c=a.isHeartbeatEnabled;a=a.isArtilleryOn;c&&(!this.$2||a)&&this.enablePageHeartbeat();this.$2?this.$4=b("ProfilingCounters").getHandle():this.$4=b("ProfilingCounters").getObserver().expressInterest();this.$6=b("TimeSlice").getBuffer().open();return this};c.enablePageHeartbeat=function(){this.$1==null&&(this.$1=b("Heartbeat").get().expressInterest())};c.finish=function(){(!this.$3||!this.$4||!this.$6||!this.$1)&&b("FBLogger")("artillery").warn("Missing handles. PCData: %s, PCOnDemand: %s, TS: %s, heartbeat: %s",this.$3==null,this.$4==null,this.$6==null,this.$1==null);return this.$8()};c.disable=function(){var a=this.$5;a!=null&&g!=null&&(g.stopRecording(a),this.$5=null);this.$8()};c.$8=function(){__p&&__p();var a=this.$7?this.$7.close():null;this.$7=null;var b=this.$3?this.$3.close():[];this.$3=null;var c=this.$6?this.$6.close():[];this.$6=null;this.$4&&this.$4();this.$4=null;this.$1&&this.$1();this.$1=null;return{sampleRecorder:this.$5,profilingCountersData:b,userTimingProfilerData:a,timeSliceData:c}};return a}();e.exports=a}),null);
|
||
|
__d("setInterval",["TimerStorage","setIntervalAcrossTransitions"],(function(a,b,c,d,e,f){function a(a,c){for(var d=arguments.length,e=new Array(d>2?d-2:0),f=2;f<d;f++)e[f-2]=arguments[f];var g=b("setIntervalAcrossTransitions").apply(void 0,[a,c].concat(e));b("TimerStorage").set(b("TimerStorage").INTERVAL,g);return g}e.exports=a}),null);
|
||
|
__d("ArtilleryOnUntilOffLogging",["ArtilleryRequestDataCollector","Env","clearInterval","performanceAbsoluteNow","setInterval"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g=null,h=null;function i(){return window.CavalryLogger&&window.CavalryLogger.disableArtilleryOnUntilOffLogging||!!b("Env").disable_profiling}var j=null,k={disable:function(){j==null&&(j=b("performanceAbsoluteNow")()),g&&(b("clearInterval")(g),g=null),h&&(h.disable(),h=null)},finish:function(){g&&(b("clearInterval")(g),g=null);if(h){var a=h.finish();h=null;return a}return{sampleRecorder:null,profilingCountersData:[],userTimingProfilerData:null,timeSliceData:[]}},lastDisableTime:function(){return j},onNewPageLoad:function(a){a===void 0&&(a=!1),a||(k.disable(),j=null),h=new(b("ArtilleryRequestDataCollector"))(a),h.start()},enablePageHeartbeat:function(){h&&h.enablePageHeartbeat()}};!i()?(k.onNewPageLoad(!0),g=b("setInterval")(function(){i()&&k.disable()},250)):j=b("performanceAbsoluteNow")();e.exports=k}),3);
|
||
|
__d("BigPipeInstance",[],(function(a,b,c,d,e,f){"use strict";var g=null;a={Events:{init:"BigPipe/init",tti:"tti_bigpipe",displayed:"all_pagelets_displayed",loaded:"all_pagelets_loaded"},setCurrentInstance_DO_NOT_USE:function(a){g=a},getCurrentInstance:function(){return g}};e.exports=a}),null);
|
||
|
__d("DataStore",["DataStoreConfig","isEmpty"],(function(a,b,c,d,e,f){__p&&__p();var g=b("DataStoreConfig").useExpando,h={},i=1;function j(a){if(typeof a==="string")return"str_"+a;else return"elem_"+(a.__FB_TOKEN||(a.__FB_TOKEN=[i++]))[0]}function k(a){if(g&&typeof a==="object")return a.__FB_STORE||(a.__FB_STORE={});a=j(a);return h[a]||(h[a]={})}var l={set:function(a,b,c){if(!a)throw new TypeError("DataStore.set: namespace is required, got "+typeof a);var d=k(a);d[b]=c;return a},get:function(a,b,c){__p&&__p();if(!a)throw new TypeError("DataStore.get: namespace is required, got "+typeof a);var d=k(a),e=d[b];if(typeof e==="undefined"&&a.getAttribute)if(a.hasAttribute&&!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=k(a),e=d[c];delete d[c];b("isEmpty")(d)&&l.purge(a);return e},purge:function(a){g&&typeof a==="object"?delete a.__FB_STORE:delete h[j(a)]},_storage:h};e.exports=l}),null);
|
||
|
__d("BigPipePlugins",["DataStore"],(function(a,b,c,d,e,f){__p&&__p();a=function(){"use strict";__p&&__p();function a(){}a.runPluginOnPagelet=function(b){a.getPluginList().forEach(function(a){a(b)})};a.getPluginList=function(){return[a.$1]};a.$1=function(b){if(!b)return;b=b.querySelectorAll("div[data-fte]");for(var c=0,d=b.length;c<d;c++)a.$2(b[c],"data-ft","data-ft")};a.$2=function(a,c,d){var e=a.getAttribute(c);e&&(b("DataStore").set(a,d,e),a.removeAttribute(c))};return a}();e.exports=a}),null);
|
||
|
__d("JSCC",[],(function $module_JSCC(global,require,requireDynamic,requireLazy,module,exports){__p&&__p();var factories={};function createFactory(constructor){var instance,constructed=!1;return function(){constructed||(instance=constructor(),constructed=!0);return instance}}var JSCC={get:function get(key){if(!factories[key])throw new Error("JSCC entry is missing");return factories[key]()},init:function init(constructors){for(var key in constructors)factories[key]=createFactory(constructors[key]);return function clearJSCC(){for(var key in constructors)delete factories[key]}},parse:function parse(jsccMapString){return eval(jsccMapString)}};module.exports=JSCC}),null);
|
||
|
__d("PageEvents",[],(function(a,b,c,d,e,f){a=Object.freeze({NATIVE_ONLOAD:"onload/onload",BIGPIPE_ONLOAD:"onload/onload_callback",AJAXPIPE_ONLOAD:"ajaxpipe/onload_callback",NATIVE_DOMREADY:"onload/dom_content_ready",BIGPIPE_DOMREADY:"onload/domcontent_callback",AJAXPIPE_DOMREADY:"ajaxpipe/domcontent_callback",NATIVE_ONBEFOREUNLOAD:"onload/beforeunload",NATIVE_ONUNLOAD:"onload/unload",AJAXPIPE_ONUNLOAD:"onload/exit",AJAXPIPE_SEND:"ajaxpipe/send",AJAXPIPE_FIRST_RESPONSE:"ajaxpipe/first_response",AJAXPIPE_ONBEFORECLEARCANVAS:"ajaxpipe/onbeforeclearcanvas"});e.exports=a}),null);
|
||
|
__d("PageletEventConstsJS",[],(function(a,b,c,d,e,f){e.exports=Object.freeze({ARRIVE_START:"prearrive",ARRIVE_END:"arrive",CSS_START:"css",CSS_END:"css_load",DISPLAY_START:"display_start",DISPLAY_END:"display",JS_START:"jsstart",JS_END:"jsdone",ONLOAD_START:"preonload",ONLOAD_END:"onload",SETUP:"setup"})}),null);
|
||
|
__d("PageletSet",["Arbiter"],(function(a,b,c,d,e,f){__p&&__p();var g={},h={hasPagelet:function(a){return Object.prototype.hasOwnProperty.call(g,a)},getPagelet:function(a){return g[a]},getOrCreatePagelet:function(a){if(!h.hasPagelet(a)){var b=new j(a);g[a]=b}return h.getPagelet(a)},getPageletIDs:function(){return Object.keys(g)},removePagelet:function(a){if(h.hasPagelet(a)){var b=h.getPagelet(a);delete g[a];b.destroy()}}};function i(a,b){return a.contains?a.contains(b):!!(a.compareDocumentPosition(b)&16)}var j=function(){"use strict";__p&&__p();function a(a){this.id=a,this.$1=null,this.$2=[],this.addDestructor(function(){b("Arbiter").inform("pagelet/destroy",{id:this.id,root:this.$1})}.bind(this))}var c=a.prototype;c.getRoot=function(){return this.$1};c.setRoot=function(a){this.$1=a};c.$3=function(){__p&&__p();var a=[],b=this.$1;if(!b)return a;var c=h.getPageletIDs();for(var d=0;d<c.length;d++){var e=c[d];if(e===this.id)continue;e=g[e];var f=e.getRoot();f&&i(b,f)&&a.push(e)}return a};c.addDestructor=function(a){this.$2.push(a)};c.destroy=function(){var a=this.$3();for(var b=0;b<a.length;b++){var c=a[b];h.hasPagelet(c.id)&&h.removePagelet(c.id)}for(var c=0;c<this.$2.length;c++){a=this.$2[c]();a&&a()}};return a}();e.exports=h}),null);
|
||
|
__d("createCancelableFunction",["emptyFunction"],(function(a,b,c,d,e,f){__p&&__p();function a(a){var c=a;a=function(){for(var a=arguments.length,b=new Array(a),d=0;d<a;d++)b[d]=arguments[d];return c.apply(this,b)};a.cancel=function(){c=b("emptyFunction")};return a}e.exports=a}),null);
|
||
|
__d("recoverableViolation",["FBLogger"],(function(a,b,c,d,e,f){"use strict";function a(a,c,d){d=d===void 0?{}:d;d=d.error;c=b("FBLogger")(c);d&&(c=c.catching(d));c.blameToPreviousFrame().mustfix(a);return null}e.exports=a}),null);
|
||
|
__d("RunBlue",["Arbiter","BigPipeInstance","ContextualComponent","ExecutionEnvironment","PageEvents","TimeSlice","createCancelableFunction","emptyFunction","performanceAbsoluteNow","recoverableViolation"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g="onunloadhooks",h="onafterunloadhooks";function i(b,c){var d=a.CavalryLogger&&a.CavalryLogger.getInstance();if(!d)return;c!=null&&c!==0?d.setAbsTimeStamp&&d.setAbsTimeStamp(b,c):d.setTimeStamp(b)}function c(c){var d=a.PageHooks;if(window.domready&&d){d.runHook(c,"domreadyhooks:late");return{remove:b("emptyFunction")}}else return o("domreadyhooks",c)}function d(b){var c=a.PageHooks;if(window.loaded&&c){var d=a.setTimeout(function(){c.runHook(b,"onloadhooks:late")},0);return{remove:function(){return a.clearTimeout(d)}}}else return o("onloadhooks",b)}function f(a,b){b=b===void 0?!window.loading_page_chrome:b;return b?o("onbeforeleavehooks",a):o("onbeforeunloadhooks",a)}function j(a,c){window.onunload||(window.onunload=b("TimeSlice").guard(function(){b("Arbiter").inform(b("PageEvents").NATIVE_ONUNLOAD,!0,"state")},"window.onunload"));return o(a,c)}function k(a){return j(g,a)}function l(a){return j(h,a)}function m(a){return o("onleavehooks",a)}function n(a,c){var d=b("createCancelableFunction")(c);c=function(){d(),d.cancel()};a=b("ContextualComponent").closestToNode(a);a&&a.onCleanup(c);window.onleavehooks=(window.onleavehooks||[]).concat(c);return{remove:function(){d.cancel()}}}function o(a,c){var d;d=(d=c)!=null?d:b("emptyFunction");c||b("recoverableViolation")("Undefined handler is not allowed","web_speed");var e=b("createCancelableFunction")(d);window[a]=(window[a]||[]).concat(e);return{remove:function(){e.cancel()}}}function p(a){window[a]=[]}var q=b("TimeSlice").guard(function(){b("Arbiter").inform(b("PageEvents").NATIVE_DOMREADY,!0,"state")},"DOMContentLoaded");a._domcontentready=q;function r(){__p&&__p();var c=document,d=window;if(c.addEventListener){var e=/AppleWebKit.(\d+)/.exec(navigator.userAgent);if(e&&e[1]<525)var f=a.setInterval(function(){/loaded|complete/.test(c.readyState)&&(q(),a.clearInterval(f))},10);else c.addEventListener("DOMContentLoaded",q,!0)}else{e=d.location.protocol==="https:"?"//:":"javascript:void(0)";c.write('<script onreadystatechange="if (this.readyState==\'complete\') {this.parentNode.removeChild(this);_domcontentready();}" defer="defer" src="'+e+'"></');c.write("script>")}var g=d.onload;d.onload=b("TimeSlice").guard(function(){i("t_layout"),g&&g(),b("Arbiter").inform(b("PageEvents").NATIVE_ONLOAD,!0,"state")},"window.onload");d.onbeforeunload=b("TimeSlice").guard(function(a){var c={};b("Arbiter").inform(b("PageEvents").NATIVE_ONBEFOREUNLOAD,c,"state");c.warn||b("Arbiter").inform(b("PageEvents").AJAXPIPE_ONUNLOAD,{transition_type:"normal"});if(c.warn!==void 0){a.returnValue=c.warn;return c.warn}else return},"window.onbeforeunload")}function s(){var a,c=b("performanceAbsoluteNow")();((a=window.console)==null?void 0:a.timeStamp)&&window.console.timeStamp('perf_trace {"name": "e2e", "parent": "PageEvents.BIGPIPE_ONLOAD"}');i("t_onload",c);b("Arbiter").inform(b("PageEvents").BIGPIPE_ONLOAD,{ts:c},"state")}var t=b("Arbiter").registerCallback(function(){b("BigPipeInstance").getCurrentInstance()?b("Arbiter").subscribeOnce(b("BigPipeInstance").Events.displayed,s):s()},[b("PageEvents").NATIVE_ONLOAD]),u=b("Arbiter").registerCallback(function(){i("t_domcontent");var a={timeTriggered:Date.now()};b("Arbiter").inform(b("PageEvents").BIGPIPE_DOMREADY,a,"state")},[b("PageEvents").NATIVE_DOMREADY]);b("ExecutionEnvironment").canUseDOM&&r();r={onAfterLoad:d,onAfterUnload:l,onBeforeUnload:f,onCleanupOrLeave:n,onLeave:m,onLoad:c,onUnload:k,__domContentCallback:u,__onloadCallback:t,__removeHook:p};e.exports=r}),null);
|
||
|
__d("UserTimingUtils",["performance"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g=typeof b("performance").mark==="function"&&typeof b("performance").clearMarks==="function"&&typeof b("performance").measure==="function"&&typeof b("performance").clearMeasures==="function";function a(a){g&&b("performance").mark(a)}function c(a,c){if(g){try{b("performance").measure(a,c)}catch(a){}b("performance").clearMarks(c);b("performance").clearMeasures(a)}}e.exports={measureStart:a,measureEnd:c}}),null);
|
||
|
__d("__getCompileTime",[],(function(a,b,c,d,e,f){e.exports={}}),null);
|
||
|
__d("__getFactoryTime",[],(function(a,b,c,d,e,f){e.exports={}}),null);
|
||
|
__d("__getTotalFactories",[],(function(a,b,c,d,e,f){e.exports={}}),null);
|
||
|
__d("captureUsageSnapshot",[],(function(a,b,c,d,e,f){"use strict";__p&&__p();a=function(){var a=window.__bodyWrapper;if(!a.getCodeUsage)return{js_calls:{},document_html:"",stylesheets:{}};a=babelHelpers["extends"]({},a.getCodeUsage());var b=String(window.document.body.outerHTML),c={};Array.from(document.styleSheets).forEach(function(a){a.href&&(c[a.href]=!0)});return{js_calls:a,document_html:b,stylesheets:c}};e.exports=a}),null);
|
||
|
__d("clearTimeout",["requireCond","cr:806696"],(function(a,b,c,d,e,f){"use strict";e.exports=b("cr:806696")}),null);
|
||
|
__d("fastDeepCopy",[],(function(a,b,c,d,e,f){"use strict";__p&&__p();function a(a){return typeof a==="object"&&a!==null?g(a):a}function g(a){__p&&__p();var b=typeof a.constructor==="function"?a.constructor():{};if(Array.isArray(a))for(var c=0;c<a.length;++c){var d=a[c];b[c]=typeof d==="object"&&d!==null?g(d):d}else for(var e in a){d=a[e];b[e]=typeof d==="object"&&d!==null?g(d):d}return b}e.exports=a}),null);
|
||
|
__d("nativeRequestAnimationFrame",[],(function(a,b,c,d,e,f){b=a.__fbNativeRequestAnimationFrame||a.requestAnimationFrame||a.webkitRequestAnimationFrame||a.mozRequestAnimationFrame||a.oRequestAnimationFrame||a.msRequestAnimationFrame;e.exports=b}),null);
|
||
|
__d("requestAnimationFramePolyfill",["nativeRequestAnimationFrame"],(function(a,b,c,d,e,f){var g=0;c=b("nativeRequestAnimationFrame")||function(b){var c=Date.now(),d=Math.max(0,16-(c-g));g=c+d;return a.setTimeout(function(){b(Date.now())},d)};e.exports=c}),null);
|
||
|
__d("requestAnimationFrameAcrossTransitions",["Env","ErrorUtils","TimerStorage","TimeSlice","clearTimeout","performanceNow","requestAnimationFramePolyfill","setTimeoutAcrossTransitions"],(function(a,b,c,d,e,f){__p&&__p();var g=b("TimerStorage").ANIMATION_FRAME,h=100,i=null,j=null,k=b("Env").gk_require_dic?Object.create(null):{},l=b("Env").gk_require_dic?Object.create(null):{},m={DEFAULT:0,QUERY_THEN_MUTATE:1,FORCE_CLIENT_REFLOW:2,DISPLAY_DONE_LOGGING:3,SIZE:4};function n(c){__p&&__p();l=k;k=b("Env").gk_require_dic?Object.create(null):{};i=null;j&&(b("clearTimeout")(j),j=null);for(var d=0;d<m.SIZE;d++){var e=function(e){var f=l[e];if(d===m.FORCE_CLIENT_REFLOW){b("Env").gk_raf_force_client_reflow&&window.document.body&&window.document.body.getClientRects();return"break"}if(f.deleted||f.priority!==d)return"continue";b("ErrorUtils").applyWithGuard(function(){f.call(a,c)})};_loop:for(var f in l){var g=e(f);switch(g){case"break":break _loop;case"continue":continue}}}l=null}function o(a,c){__p&&__p();c=c&&c.priority||m.DEFAULT;i||(i=b("requestAnimationFramePolyfill")(function(a){i=null,n(a)}));!j&&c>m.DEFAULT&&(j=b("setTimeoutAcrossTransitions")(b("TimeSlice").guard(function(){j=null,n(b("performanceNow")())},"requestAnimationFrame priorityRAFCallback setTimeout",{propagationType:b("TimeSlice").PropagationType.ORPHAN}),h));a=b("TimeSlice").guard(a,"requestAnimationFrame",{propagationType:b("TimeSlice").PropagationType.CONTINUATION,registerCallStack:!0});a.priority=c;a.deleted&&b("ErrorUtils").applyWithGuard(function(){throw new Error("Scheduling a deleted callback")});c=b("requestAnimationFramePolyfill")(function(){});k[c]=a;return c}function p(a){a=b("TimeSlice").guard(a,"requestAnimationFrame",{propagationType:b("TimeSlice").PropagationType.CONTINUATION});var c=b("requestAnimationFramePolyfill")(a);b("TimeSlice").registerForCancelling(g+c,a);return c}e.exports=function(a,c){if(b("Env").gk_raf_flush)return o(a,c);else return p(a)};e.exports.Priorities=m;e.exports.cancelVirtualRAF=function(a){if(b("Env").gk_raf_flush){b("TimeSlice").cancel(k[a]);delete k[a];if(l){a=l[a];a&&(a.deleted=!0)}}}}),null);
|
||
|
__d("requestAnimationFrame",["TimerStorage","TimeSlice","requestAnimationFrameAcrossTransitions"],(function(a,b,c,d,e,f){__p&&__p();function a(a,c){var d;function e(c){b("TimerStorage").unset(b("TimerStorage").ANIMATION_FRAME,d),a(c)}b("TimeSlice").copyGuardForWrapper(a,e);e.__originalCallback=a;d=b("requestAnimationFrameAcrossTransitions")(e,c);b("TimerStorage").set(b("TimerStorage").ANIMATION_FRAME,d);return d}e.exports=a}),null);
|
||
|
__d("setTimeout",["requireCond","cr:807042"],(function(a,b,c,d,e,f){e.exports=b("cr:807042")}),null);
|
||
|
__d("BigPipe",["ix","requireDeferred","Arbiter","BigPipeExperiments","BigPipeInstance","BigPipePlugins","Bootloader","Env","ErrorUtils","FBLogger","JSCC","PageEvents","PageletEventConstsJS","PageletSet","RunBlue","ServerJS","TimeSlice","UserTimingUtils","$","bx","captureUsageSnapshot","clearTimeout","fastDeepCopy","ge","gkx","performanceAbsoluteNow","qex","requestAnimationFrame","requestAnimationFrameAcrossTransitions","setTimeout","__getTotalFactories","__getCompileTime","__getFactoryTime"],(function(a,b,c,d,e,f,g){__p&&__p();var h=document.documentMode||+(/MSIE.(\d+)/.exec(navigator.userAgent)||[])[1],i=console.timeStamp&&window.location.search.indexOf("pagelet_ts=1")>0;function j(a,c){b("UserTimingUtils").measureStart(a+" "+c)}function k(a,c,d){b("UserTimingUtils").measureEnd("\u26cf "+a+" ["+c+"][phase "+d+"]",a+" "+c)}function l(a,c){if(a)for(var d=0;d<a.length;d++)b("ErrorUtils").applyWithGuard(new Function(a[d]),c)}var m=1;window.__logBigPipePageletRootStatus=(a=window.__logBigPipePageletRootStatus)!=null?a:function(){var a=[];function b(b,c){a.push([b,c])}b.getLogs=function(){return a};return b}();function n(a,b){try{window.__logBigPipePageletRootStatus(a,b)}catch(a){}}c=function(){"use strict";__p&&__p();function a(c){__p&&__p();var d=this;this._onDisplayDone=function(a){d.arbiter.registerCallback(a,["display_done"])};Object.assign(this,{arbiter:b("Arbiter"),rootNodeID:"content",lid:null,isAjax:!1,domContentCallback:b("RunBlue").__domContentCallback,onloadCallback:b("RunBlue").__onloadCallback,domContentEvt:b("PageEvents").BIGPIPE_DOMREADY,onloadEvt:b("PageEvents").BIGPIPE_ONLOAD,forceFinish:!1,config:{},_currentPhase:0,_lastPhaseOfLastResponse:-1,_lastPhaseBeforeLastResponse:-1,_livePagelets:{},_phases:{},_orderedPhases:[],_maxPhase:0,_displayDoneFired:!1,_displayDone:!1,_awaitingLIDEventQueue:[]},c);this.config||(this.config={});this.automatic?this._relevant_instance=b("BigPipeInstance").getCurrentInstance():b("BigPipeInstance").setCurrentInstance_DO_NOT_USE(this);this._serverJS=new(b("ServerJS"))();this._informEventExternal(a.Events.init,{arbiter:this.arbiter},b("Arbiter"));this._displayDoneCallback=this.arbiter.registerCallback(function(){var c=b("captureUsageSnapshot")();d._informEventExternal(a.Events.displayed,{rid:d.rid,ajax:d.isAjax,usageSnapshot:c})},["display_done"]);this.arbiter.registerCallback(this.domContentCallback,["pagelet_displayed_all"]);this._beginPhase(0);this.arbiter.registerCallback(this.onloadCallback,["bigpipe_e2e_reported"]);this._loadedCallback=this.arbiter.registerCallback(function(){d._informEventExternal(a.Events.loaded,{rid:d.rid,ajax:d.isAjax}),d.arbiter.inform("bigpipe_e2e_reported",!0)},["pagelet_displayed_all"]);this.arbiter.registerCallback(function(){return d._serverJS.cleanup(b("TimeSlice"))},[this.onloadEvt,"bigpipe_e2e_reported"])}var c=a.prototype;c._beginPhase=function(a){var b=this._getOrCreatePhase(a);b.begun=!0;this._informEventExternal("phase_begin",{phase:a});this.arbiter.inform("phase_begin_"+a,!0,"state")};c._getOrCreatePhase=function(a){__p&&__p();if(this._phases[a])return this._phases[a];var b={pagelets:[],begun:!1,complete:!1};this._phases[a]=b;var c=0;while(c<this._orderedPhases.length){if(a<this._orderedPhases[c])break;c++}this._orderedPhases.splice(c,0,a);return b};c._tryRenderingNextPhase=function(){__p&&__p();var a=this._phases[this._currentPhase];if(a&&a.begun&&!a.complete)return;for(var a=this._orderedPhases,b=Array.isArray(a),c=0,a=b?a:a[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var d;if(b){if(c>=a.length)break;d=a[c++]}else{c=a.next();if(c.done)break;d=c.value}d=d;var e=this._phases[d];if(e.begun)if(e.complete)continue;else return;else{this._currentPhase=d;this._beginPhase(d);return}}};c._displayPageletHandler=function(a){this.displayCallback?this.displayCallback(this._displayPagelet.bind(this,a)):this._displayPagelet(a)};c._displayPagelet=function(a){__p&&__p();j(a.id,"display");a.displayStarted=!0;this._informPageletEvent(b("PageletEventConstsJS").DISPLAY_START,a);var c=this._getPagelet(a),d=[],e={};for(var f in a.content){var g
|
||
|
__d("MutationObserver",[],(function(a,b,c,d,e,f){__p&&__p();b=function(){"use strict";function a(a){}var b=a.prototype;b.observe=function(a,b){};b.disconnect=function(){};b.takeRecords=function(){return null};return a}();c=a.MutationObserver||a.WebKitMutationObserver||b;e.exports=c}),null);
|
||
|
__d("PageDOMMutationObserver",["ExecutionEnvironment","MutationObserver"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g=new(b("MutationObserver"))(function(){}),h=!1,i={tryStart:function(){__p&&__p();var a=typeof g.takeRecords==="function";if(!b("ExecutionEnvironment").canUseDOM||!a){i.tryStart=function(){};i.consumePendingDOMMutations=function(){return 0};return}if(!window.Env||!document.body||window._splashBody)return;i.tryStart=function(){};if(!window.Env.dom_mutation_flag)return;h=!0;g.observe(document.body,{attributes:!0,childList:!0,characterData:!0,subtree:!0})},consumePendingDOMMutations:function(){var a=g.takeRecords();return a!=null?a.length:0},isSupported:function(){return h}};e.exports=i}),null);
|
||
|
__d("ArtilleryJSPointTypes",[],(function(a,b,c,d,e,f){e.exports=Object.freeze({ASYNC_REQUEST_SENT:1,ASYNC_RESPONSE_RECEIVED:2,TRACE_STARTED:3,TRACE_ENDED:4})}),null);
|
||
|
__d("ArtilleryTraceIDUtils",["Alea","FBLogger","ServerNonce"],(function(a,b,c,d,e,f){__p&&__p();var g="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",h=b("Alea")(b("ServerNonce").ServerNonce),i=function(){var a=0,b=0,c="";for(var d=10;d>=0;d--)a<6&&(b=Math.floor(2147483648*h()),a=32),d===0&&(b&=7),c=g.charAt(b&63)+c,b>>=6,a-=6;return c};a={newTraceId:function(){var a;for(var c=3;c>0;c--){a=i();if(a!=this.getDummyId())return a}b("FBLogger")("FIXME").mustfix("failed to generate valid Fbtrace id");return this.getDummyId()},newObjectId:function(){return this.newTraceId()},getDummyId:function(){return"AAAAAAAAAAA"},traceIdToBucket:function(a){a=a.charAt(a.length-1);return g.indexOf(a)%32}};e.exports=a}),null);
|
||
|
__d("ArtilleryAsyncRequestTracingAnnotator",["FBLogger","IntervalTrackingBoundedBuffer","ResourceTimingsStore","ResourceTypes"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g=[1e3],h=new(b("IntervalTrackingBoundedBuffer"))(),i="FB-ART-INFO",j=new Map();function k(a,b){return b!=null&&b.artillery_join_data!=null?{uid:a,ids_for_timings:b.artillery_join_data}:null}a={startTracingWindow:function(a,b,c){c===void 0&&(c=null);var d=h.open();c=c||g;j.set(a,{trace_id:a,interaction_name:b,tracing_levels:c});return{finishTracingWindow:function(){j["delete"](a);return d.close()}}},registerAsyncRequest:function(a,c){if(j.size===0)return function(){};else{var d=JSON.stringify(Array.from(j.values()));a.setRequestHeader(i,d);return function(a){a=k(c,a);a!=null?h.pushElement(a):(b("FBLogger")("ArtilleryAsyncRequestTracingAnnotator").debug("expected a payload back in the response from the server containing trace information, but nothing arrived."),b("ResourceTimingsStore").annotate(b("ResourceTypes").XHR,c).addStringAnnotation("join_error","join_data_expected_but_not_found"))}}},__active:function(){throw new Error("__active should only be available in __DEV__")}};e.exports=a}),null);
|
||
|
__d("TimeSliceInteractionExtraSaver",[],(function(a,b,c,d,e,f){e.exports=Object.freeze({EXAMPLE_COMPONENT_SAVER:"example_component_saver",ADS_WAIT_TIME_SAVER:"ads_wait_time_saver",ADS_FLUX_PROFILER_SAVER:"ads_flux_profiler_saver",TIMESLICE_EXECUTION_SAVER:"timeslice_execution_saver",INTERACTION_ASYNC_REQUEST_JOIN_DATA:"interaction_async_request_join_data",RESOURCES_SAVER:"resources_saver",USER_TIMING_SAVER:"user_timing_saver"})}),null);
|
||
|
__d("InteractionAsyncRequestJoinDataSource",["ArtilleryAsyncRequestTracingAnnotator","FBLogger","TimeSliceInteractionExtraSaver"],(function(a,b,c,d,e,f){"use strict";__p&&__p();a={registerInteraction:function(a){__p&&__p();a.countDown();var c=a.traceID,d=a.name;if(c==null){b("FBLogger")("InteractionAsyncRequestJoinDataSource").mustfix("got a null trace_id for interaction "+d+". Typically this indicates that only lite tracing was on, which this hook does not support");return}var e=b("ArtilleryAsyncRequestTracingAnnotator").startTracingWindow(c,d);a.registerOnBeforeFinish(function(a){var c=e.finishTracingWindow();a.recordWithExtraSaver(b("TimeSliceInteractionExtraSaver").INTERACTION_ASYNC_REQUEST_JOIN_DATA,"entries",c)});a.registerOnCleanup(function(){e.finishTracingWindow()})}};e.exports=a}),null);
|
||
|
__d("TSIAdsReliabilityHook",[],(function(a,b,c,d,e,f){"use strict";var g={callbacks:[],register:function(a){g.callbacks.push(a)},event:function(a,b,c){g.callbacks.forEach(function(d){return d(a,b,c)})}};e.exports=g}),null);
|
||
|
__d("TimeSliceExecutionLogger",["ExecutionContextObservers","IntervalTrackingBoundedBuffer","OnDemandExecutionContextObserver","TimeSlice","TimingAnnotations","performanceAbsoluteNow"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g=1e4,h={BEGIN:"b",END:"e"},i=new(b("TimingAnnotations"))(),j;a=function(a){__p&&__p();babelHelpers.inheritsLoose(c,a);function c(){var c,d;for(var e=arguments.length,f=new Array(e),h=0;h<e;h++)f[h]=arguments[h];return(c=d=a.call.apply(a,[this].concat(f))||this,d.$TimeSliceExecutionLogger1=new(b("IntervalTrackingBoundedBuffer"))(g),c)||babelHelpers.assertThisInitialized(d)}var d=c.prototype;d.onNewContextCreatedWhileEnabled=function(a,c,d){if(a)return b("performanceAbsoluteNow")();else return null};d.onBeforeContextStartedWhileEnabled=function(a,b,c){c={type:h.BEGIN,ts:a.absBeginTimeMs};b!==null&&(c.creation=b);this.$TimeSliceExecutionLogger1.pushElement(c);a=j;j=null;return a};d.onAfterContextStartedWhileEnabled=function(a,b,c,d){return c};d.onAfterContextEndedWhileEnabled=function(a,b,c,d){b=a.absEndTimeMs;d={type:h.END,ts:b,name:a.name,id:a.contextID};j&&(d.annotations=j.prepareToSend());this.$TimeSliceExecutionLogger1.pushElement(d);j=c};d.annotateCurrentExecution=function(){if(!this.isEnabled())return i;j==null&&(j=new(b("TimingAnnotations"))());return j};d.getBeforeID=function(){return b("ExecutionContextObservers").beforeIDs.TIMESLICE_EXECUTION_LOGGER};d.getAfterID=function(){return b("ExecutionContextObservers").afterIDs.TIMESLICE_EXECUTION_LOGGER};d.getBuffer=function(){return this.$TimeSliceExecutionLogger1};return c}(b("OnDemandExecutionContextObserver"));c=new a();b("TimeSlice").registerExecutionContextObserver(c);e.exports=c}),null);
|
||
|
__d("TimeSliceExecutionDataSource",["TimeSliceExecutionLogger","TimeSliceInteractionExtraSaver","performanceAbsoluteNow"],(function(a,b,c,d,e,f){"use strict";__p&&__p();a={registerInteraction:function(a){a.countDown();var c=b("performanceAbsoluteNow")(),d=b("TimeSliceExecutionLogger").getBuffer().open(),e=b("TimeSliceExecutionLogger").expressInterest();a.registerOnBeforeFinish(function(a){e();var f=d.close(),g=d.hasOverflown();a.recordWithExtraSaver(b("TimeSliceInteractionExtraSaver").TIMESLICE_EXECUTION_SAVER,"entries",{startTime:c,entries:f,hasOverflown:g})});a.registerOnCleanup(function(){e(),d.close()})}};e.exports=a}),null);
|
||
|
__d("TimeSliceInteractionBootloadForPost",["Bootloader"],(function(a,b,c,d,e,f){"use strict";function a(a){b("Bootloader").loadModules(["Banzai","BanzaiStream","BanzaiODS","ResourceTimingBootloaderHelper","TimeSliceHelper","SnappyCompressUtil","PerfXSharedFields"],a,"TimeSliceInteractionBootloadForPost")}e.exports=a}),null);
|
||
|
__d("TimeSliceInteractionReliability",["ifRequired"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g="timeslice_interactions",h=!0,i=new Map();function j(a,b,c){return b+":"+c+":"+a}function a(a,c,d){a=j(a,c,d);var f=b("ifRequired")("BanzaiODS",function(a){return a});if(!f){c=i.get(a)||0;i.set(a,c+1)}else h&&(i.forEach(function(a,b){return f.bumpEntityKey(g,b,a)}),h=!1),f.bumpEntityKey(g,a,1)}e.exports={bumpLifecycleCounter:a}}),null);
|
||
|
__d("Visibility",["BaseEventEmitter","TimeSlice"],(function(a,b,c,d,e,f){__p&&__p();var g,h;document.hidden!==void 0?(g="hidden",h="visibilitychange"):document.mozHidden!==void 0?(g="mozHidden",h="mozvisibilitychange"):document.msHidden!==void 0?(g="msHidden",h="msvisibilitychange"):document.webkitHidden!==void 0&&(g="webkitHidden",h="webkitvisibilitychange");a=function(a){"use strict";__p&&__p();babelHelpers.inheritsLoose(b,a);function b(){var b,c;for(var d=arguments.length,e=new Array(d),f=0;f<d;f++)e[f]=arguments[f];return(b=c=a.call.apply(a,[this].concat(e))||this,c.HIDDEN="hidden",c.VISIBLE="visible",c.hiddenKey=g,c.hiddenEvent=h,b)||babelHelpers.assertThisInitialized(c)}var c=b.prototype;c.isHidden=function(){return g?document[g]:!1};c.isSupported=function(){return document.addEventListener&&h!==void 0};return b}(b("BaseEventEmitter"));var i=new a();i.isSupported()&&document.addEventListener(i.hiddenEvent,b("TimeSlice").guard(function(a){i.emit(i.isHidden()?i.HIDDEN:i.VISIBLE,{changeTime:a.timeStamp})},"visibility change"));e.exports=i}),null);
|
||
|
__d("compactArray",[],(function(a,b,c,d,e,f){"use strict";function a(a){var b=[];for(var c=0;c<a.length;++c){var d=a[c];d!=null&&b.push(d)}return b}e.exports=a}),null);
|
||
|
__d("nullthrows",[],(function(a,b,c,d,e,f){a=function(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};e.exports=a}),null);
|
||
|
__d("performanceNavigationStart",["performance"],(function(a,b,c,d,e,f){__p&&__p();if(b("performance").now)if(b("performance").timing&&b("performance").timing.navigationStart)a=function(){return b("performance").timing.navigationStart};else{if(typeof window._cstart==="number")a=function(){return window._cstart};else{var g=Date.now();a=function(){return g}}a.isPolyfilled=!0}else a=function(){return 0},a.isPolyfilled=!0;e.exports=a}),null);
|
||
|
__d("IdleCallbackImplementation",["performanceNow","requestAnimationFramePolyfill"],(function(a,b,c,d,e,f){__p&&__p();var g=[],h=0,i=0,j=-1,k=!1,l=1e3/60,m=2;function n(a){return a}function o(a){return a}function c(b,c){var d=i++;g[d]=b;q();if(c!=null&&c.timeout>0){var e=n(d);a.setTimeout(function(){return w(e)},c.timeout)}return n(d)}function p(a){a=o(a);g[a]=null}function q(){k||(k=!0,b("requestAnimationFramePolyfill")(function(a){k=!1,s(b("performanceNow")()-a)}))}function r(a){var b=l-m;if(a<b)return b-a;a=a%l;if(a>b||a<m)return 0;else return b-a}function s(a){__p&&__p();var c=b("performanceNow")();if(c>j){a=r(a);if(a>0){c=c+a;v(c);j=c}}t()&&q()}function t(){return h<g.length}function u(){while(t()){var a=g[h];h++;if(a)return a}return null}function v(a){var c;while(b("performanceNow")()<a&&(c=u()))c(new x(a))}function w(a){var b=o(a);b=g[b];b&&(p(a),b(new x(null)))}var x=function(){"use strict";__p&&__p();function a(a){this.didTimeout=a==null,this.$1=a}var c=a.prototype;c.timeRemaining=function(){var a=this.$1;if(a!=null){var c=b("performanceNow")();if(c<a)return a-c}return 0};return a}();e.exports={requestIdleCallback:c,cancelIdleCallback:p}}),null);
|
||
|
__d("requestIdleCallbackAcrossTransitions",["IdleCallbackImplementation","TimerStorage","TimeSlice"],(function(a,b,c,d,e,f){var g=a.requestIdleCallback||b("IdleCallbackImplementation").requestIdleCallback,h=b("TimerStorage").IDLE_CALLBACK;e.exports=function(c,d){c=b("TimeSlice").guard(c,"requestIdleCallback",{propagationType:b("TimeSlice").PropagationType.CONTINUATION,registerCallStack:!0});d=g.call(a,c,d);var e=h+String(d);b("TimeSlice").registerForCancelling(e,c);return d}}),null);
|
||
|
__d("TimeSliceInteraction",["invariant","Arbiter","ArtilleryComponentSaverOptions","ArtilleryJSPointTypes","ArtilleryTraceIDUtils","Bootloader","CircularBuffer","ErrorUtils","FBLogger","Heartbeat","InteractionAsyncRequestJoinDataSource","ProfilingCounters","ProfilingCountersStore","Random","ResourceTimingsStore","ResourceTypes","TimeSlice","TimeSliceExecutionDataSource","TimeSliceInteractionBootloadForPost","TimeSliceInteractionExtraSaver","TimeSliceInteractionReliability","TimeSliceInteractionSV","TimingAnnotations","TSIAdsReliabilityHook","Visibility","compactArray","nullthrows","performance","performanceAbsoluteNow","performanceNavigationStart","requestIdleCallbackAcrossTransitions","requireWeak"],(function(a,b,c,d,e,f,g){__p&&__p();var h;b("requireWeak")("AsyncProfiler",function(a){h=a});var i;b("requireWeak")("ArtilleryUserTimingProfiler",function(a){i=a});var j={pointGroup:null,type:null,isPointOfInterest:null};d=250;var k=new(b("CircularBuffer"))(d);new Map();f=100;var l=new(b("CircularBuffer"))(f),m=new Map(),n=!1,o=null;b("Arbiter").subscribe("perf_nub_interaction_trace",function(a,b){if(o)return;n=!0});var p=new(b("TimingAnnotations").EmptyTimingAnnotations)(),q=new(b("TimingAnnotations").EmptyTraceTimingAnnotations)(),r="artillery_javascript_actions",s="artillery_javascript_lite_actions";function c(a){var b="visibility_state_"+a,c={isPointOfInterest:!0,pointGroup:"visibility_state_changes"};return function(){return z.informGlobally(b,c)}}b("Visibility")&&b("Visibility").addListener&&(b("Visibility").addListener(b("Visibility").HIDDEN,c("hidden")),b("Visibility").addListener(b("Visibility").VISIBLE,c("visible")));function t(a){if(b("Visibility")){var c=b("Visibility").isHidden()?b("Visibility").HIDDEN:b("Visibility").VISIBLE;a.inform("visibility_state_"+c,{pointGroup:"visibility_state_changes"})}}function u(a){return n&&a==="Event"}function v(a){__p&&__p();var c=b("TimeSliceInteractionSV").interaction_to_coinflip,d=b("TimeSliceInteractionSV").interaction_to_lite_coinflip,e;u(a)?e=1:e=Object.prototype.hasOwnProperty.call(c,a)?c[a]:b("TimeSliceInteractionSV").default_rate;c=Object.prototype.hasOwnProperty.call(d,a)?d[a]:b("TimeSliceInteractionSV").lite_default_rate;d=new Set();b("Random").coinflip(c)&&d.add("lite");b("Random").coinflip(e)&&d.add("full");a=0;d.has("full")?a=1/e:e===0?a=0:a=1-1/e;e=0;d.has("lite")&&(e=1/c);return{modes:d,probability:a,liteProbability:e}}function w(){return m.size!==0}function x(a){return babelHelpers["extends"]({},a,{annotations:a.annotations.prepareToSend()})}function y(a,c){__p&&__p();c=b("ProfilingCountersStore").getNestedTotalsByAttributions(c,a);a=c.attributed;c=c.unattributed;var d={};a=Object.entries(a);for(var e=0;e<a.length;e++){var f=a[e],g=f[0];f=f[1];d["internal:"+g]=f}g=Object.entries(c);for(var f=0;f<g.length;f++){a=g[f];e=a[0];c=a[1];d["external:"+e]=c}return d}var z=function(){"use strict";__p&&__p();c.create=function(a,b,d){b===void 0&&(b=[]);d===void 0&&(d=!1);a=new c(a,b,d);a.trace().addStringAnnotation("initiatorType","manually_ended");return a};c.informGlobally=function(a,c){if(!w())return p;var d=b("performanceAbsoluteNow")(),e=new(b("TimingAnnotations"))(),f=babelHelpers["extends"]({ts:d,name:a,annotations:e,rawStackTrace:c&&c.rawStackTrace||null,guardStack:b("TimeSlice").getGuardNameStack()},j,c);e.addStringAnnotation("global_point","1");m.forEach(function(a){return a.push(f)});return e};c.informOnPage=function(a,c){var d=b("performanceAbsoluteNow")(),e=new(b("TimingAnnotations"))();d=babelHelpers["extends"]({ts:d,name:a,annotations:e,rawStackTrace:c&&c.rawStackTrace||null,guardStack:[]},j,c);k.write(d);return e};function c(a,c,d){__p&&__p();var e=this;c===void 0&&(c=[]);d===void 0&&(d=!1);this.$2=null;this.$4=!0;this.$5=null;this.$6=[];this.$7=!1;this.$8=null;this.$12=[];this.$13=[];this.$14=[];this.$15=[];this.$16=new(b("TimingAnnotations").TraceTimingAnnotations)();this.$17=new Map();this.$20=null;this.$21=1;this.$24=1;this.$28=!0;this.$29={};var f=v(a),g=f.modes,j=f.probability;f=f.liteProbability;this.$18=g;this.$1=a;this.$22=j;this.$23=f;this.$19=d?b(
|
||
|
__d("TimeSliceReferenceCounting",["ExecutionContextObservers","OnDemandExecutionContextObserver","ProfilingCounters","TimeSlice","requestIdleCallbackAcrossTransitions"],(function(a,b,c,d,e,f){__p&&__p();var g=[],h=[];a=null;var i=null,j=1,k=[];function l(a){if(a==null||a.length===0)return;a=a.filter(function(a){return--a.openReferenceCount==0});a.length>0&&(k.push.apply(k,a),b("requestIdleCallbackAcrossTransitions")(b("TimeSlice").guard(m,"invoking onAllChildrenFinished callbacks",{propagationType:b("TimeSlice").PropagationType.ORPHAN})))}function m(){while(k.length)k.pop().finish()}var n=function(){"use strict";__p&&__p();function a(b,c){this.$2=a.$1++,this.$3=b,this.$4=[],this.$5=!1,this.$6=c,this.openReferenceCount=1,this.timeslices=[b]}var b=a.prototype;b.isProfiling=function(){return this.$6};b.addCallback=function(a){!this.$5?this.$4.push(a):a();return this};b.finish=function(){this.$5||(this.$5=!0,this.$4.forEach(function(a){return a()}),delete this.$4)};b.getContinuationExecutionCounterID=function(){return this.$2};b.isInsideContinuationExecution=function(){return h.indexOf(this)!==-1};b.getTimeSliceContextsThisCounted=function(){return this.timeslices};b.getRootContextID=function(){return this.$3};return a}();n.$1=1;function o(a,b){a.forEach(function(a){var c=a.getContinuationExecutionCounterID(),d=b.find(function(a){return a.getContinuationExecutionCounterID()===c});d||b.push(a)})}c=function(a){"use strict";__p&&__p();babelHelpers.inheritsLoose(c,a);function c(){return a.apply(this,arguments)||this}var d=c.prototype;d.onNewContextCreatedWhileEnabled=function(a,b,c){var d;c.isContinuation&&(d=h,d.forEach(function(a){return a.openReferenceCount++}));a={hasBeenInvoked:!1,hasExecutionBeenCounted:!1,parentReferenceCounters:d,creationID:j++};return a};d.onContextCanceled=function(a,b){a=b||{};a.hasBeenInvoked||(l(a.parentReferenceCounters),a.hasBeenInvoked=!0)};d.onBeforeContextStartedWhileEnabled=function(a,c,d){__p&&__p();var e={callerProfilingCounterID:i,callerReferenceCounters:g,callerExecutionCounters:h.slice()};c=c||{hasBeenInvoked:!1,creationID:-1};c.hasBeenInvoked=!0;a.executionNumber>0?g=[]:g=c.parentReferenceCounters||[];d.extendsExecution?o(g,h):h=[];h.forEach(function(b){return b.timeslices.push(a.contextID)});g.filter(function(a){return a.isProfiling()}).length>0&&a.executionNumber===0?i=b("ProfilingCounters").startTimingInContext("REF_COUNTED_TIMESLICE_TIME",a.contextID):i=null;return e};d.onDisable=function(){i=null,g=[],h=[]};d.onAfterContextStartedWhileEnabled=function(a,b,c,d){return c};d.onAfterContextEndedWhileEnabled=function(a,c,d,e){c=a.contextID;i!=null&&(b("ProfilingCounters").stopTimingInContext(i,c),i=null);l(g);g=d.callerReferenceCounters;h=d.callerExecutionCounters;i=d.callerProfilingCounterID};d.getBeforeID=function(){return b("ExecutionContextObservers").beforeIDs.REFERENCE_COUNTING};d.getAfterID=function(){return b("ExecutionContextObservers").afterIDs.REFERENCE_COUNTING};return c}(b("OnDemandExecutionContextObserver"));var p={onAllChildrenFinished:function(a,b){b===void 0&&(b=!1);var c=p.getObserver().expressInterest();return p.onAllChildrenFinishedWithoutAutoTurningObserverOn(a,c,b)},onAllChildrenFinishedWithoutAutoTurningObserverOn:function(c,d,e){__p&&__p();var f=b("TimeSlice").getContext();if(f==null){d();return null}f=f.contextID;a=new n(f,e);a.addCallback(d);c&&a.addCallback(c);g=g.slice();g.push(a);h=h.slice();h.push(a);i==null&&a.isProfiling()&&(i=b("ProfilingCounters").startTimingInContext("REF_COUNTED_TIMESLICE_TIME",f));return a},getObserver:function(){return q}},q=new c();b("TimeSlice").registerExecutionContextObserver(q);e.exports=p}),null);
|
||
|
__d("TimeSliceAutoclosedInteraction",["ErrorUtils","ProfilingCounters","TimeSlice","TimeSliceInteraction","TimeSliceInteractionExtraSaver","TimeSliceInteractionSV","TimeSliceReferenceCounting","clearTimeout","setTimeoutAcrossTransitions"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g=70*1e3;a=function(a){__p&&__p();babelHelpers.inheritsLoose(c,a);function c(c,d){__p&&__p();var e;d===void 0&&(d=[]);e=a.call(this,c,d)||this;e.$TimeSliceAutoclosedInteraction1=new Map();e.$TimeSliceAutoclosedInteraction2=0;e.$TimeSliceAutoclosedInteraction3=!0;e.$TimeSliceAutoclosedInteraction4=[];e.$TimeSliceAutoclosedInteraction5=new Set();if(e.isEnabled()){e.trace().addStringAnnotation("initiatorType","autoclosed");var f=b("setTimeoutAcrossTransitions")(b("TimeSlice").guard(function(){e.isDone()||(e.trace().addStringAnnotation("terminated_by_timeout_ms",g.toString()),e.finish())},"timeout for action "+c,{propagationType:b("TimeSlice").PropagationType.EXECUTION}),g);e.registerOnBeforeSend(function(){e.trace().addStringAnnotation("ref_counting_trees",""+e.$TimeSliceAutoclosedInteraction2).addStringAnnotation("ref_counters_pending_count",""+e.$TimeSliceAutoclosedInteraction1.size),b("clearTimeout")(f)});d=b("TimeSliceReferenceCounting").onAllChildrenFinished(null,!0);if(d==null)e.disable(),b("ErrorUtils").reportError(new Error("starting autoclosed interaction outside of a timeslice."));else{e.waitForReferenceCounter(d);e.trace().addStringAnnotation("on_demand_reference_counting",b("TimeSliceInteractionSV").on_demand_reference_counting?"1":"0");c="timeslice_interaction_"+e.getTraceID();e.isEnabledForMode("full")&&(b("ProfilingCounters").currentContext().addAttribution(c,b("ProfilingCounters").AttributionPropagation.ONLY_ON_CONTINUATIONS_AND_FIRST_EXEC),e.addProfilingCounterAttribution(c))}}return e}c.getInteractionsActiveRightNow=function(){return Array.from(b("TimeSliceInteraction").getAllActiveInteractions()).filter(function(a){return a.$TimeSliceAutoclosedInteraction3&&a.hasActiveReferenceCountingHandle()})};var d=c.prototype;d.waitForReferenceCounter=function(a){__p&&__p();var c=this;if(!this.isEnabled())return this;var d=a.getContinuationExecutionCounterID();this.$TimeSliceAutoclosedInteraction1.set(d,a);this.$TimeSliceAutoclosedInteraction2++;a.addCallback(function(){b("TimeSliceInteractionSV").also_record_new_timeslice_format&&c.$TimeSliceAutoclosedInteraction1.has(d)&&a.getTimeSliceContextsThisCounted().forEach(function(a){return c.$TimeSliceAutoclosedInteraction5.add(a)}),c.$TimeSliceAutoclosedInteraction1["delete"](d)&&c.$TimeSliceAutoclosedInteraction1.size===0&&(c.$TimeSliceAutoclosedInteraction4.forEach(function(a){return a()}),c.$TimeSliceAutoclosedInteraction4=[],c.isEnabled()&&!c.isDone()&&(b("TimeSliceInteractionSV").also_record_new_timeslice_format&&c.recordWithExtraSaver(b("TimeSliceInteractionExtraSaver").TIMESLICE_EXECUTION_SAVER,"reference_counted_contexts",Array.from(c.$TimeSliceAutoclosedInteraction5.values())),c.finish()))});return this};d.onReferenceCountedExecutionFinished=function(a){this.$TimeSliceAutoclosedInteraction4.push(a)};d.hasActiveReferenceCountingHandle=function(){__p&&__p();for(var a=this.$TimeSliceAutoclosedInteraction1.values(),b=Array.isArray(a),c=0,a=b?a:a[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var d;if(b){if(c>=a.length)break;d=a[c++]}else{c=a.next();if(c.done)break;d=c.value}d=d;if(d.isInsideContinuationExecution())return!0}return!1};return c}(b("TimeSliceInteraction"));e.exports=a}),null);
|
||
|
__d("Keys",[],(function(a,b,c,d,e,f){"use strict";e.exports=Object.freeze({BACKSPACE:8,TAB:9,RETURN:13,SHIFT:16,CTRL:17,ALT:18,PAUSE_BREAK:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,LEFT_WINDOW_KEY:91,RIGHT_WINDOW_KEY:92,SELECT_KEY:93,NUMPAD_0:96,NUMPAD_1:97,NUMPAD_2:98,NUMPAD_3:99,NUMPAD_4:100,NUMPAD_5:101,NUMPAD_6:102,NUMPAD_7:103,NUMPAD_8:104,NUMPAD_9:105,MULTIPLY:106,ADD:107,SUBTRACT:109,DECIMAL_POINT:110,DIVIDE:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUM_LOCK:144,SCROLL_LOCK:145,SEMI_COLON:186,EQUAL_SIGN:187,COMMA:188,DASH:189,PERIOD:190,FORWARD_SLASH:191,GRAVE_ACCENT:192,OPEN_BRACKET:219,BACK_SLASH:220,CLOSE_BRAKET:221,SINGLE_QUOTE:222})}),null);
|
||
|
__d("clearImmediatePolyfill",["ImmediateImplementation"],(function(a,b,c,d,e,f){e.exports=a.clearImmediate||b("ImmediateImplementation").clearImmediate}),null);
|
||
|
__d("clearImmediate",["TimerStorage","TimeSlice","clearImmediatePolyfill"],(function(a,b,c,d,e,f){var g=b("TimerStorage").IMMEDIATE;function a(a){if(a!=null){b("TimerStorage").unset(b("TimerStorage").IMMEDIATE,a);var c=g+String(a);b("TimeSlice").cancelWithToken(c)}b("clearImmediatePolyfill")(a)}e.exports=a}),null);
|
||
|
__d("TimeSliceInteractionCancelHook",["Keys","clearImmediate","requireWeak","setImmediateAcrossTransitions"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g=[];a={registerInteraction:function(a){var c=b("setImmediateAcrossTransitions")(function(){g.push(a)}),d=!1;return{remove:function(){if(d)return;d=!0;b("clearImmediate")(c);var e=g.indexOf(a);e!==-1&&g.splice(e,1)}}}};b("requireWeak")("Event",function(a){a.listen(document,"click",function(){g.forEach(function(a){a.trace().addStringAnnotation("clicked_during_interaction","1")})}),a.listen(document,"keydown",function(c){a.getKeyCode(c)===b("Keys").ESC&&g.forEach(function(a){a.trace().addStringAnnotation("escaped_during_interaction","1")})})});e.exports=a}),null);
|
||
|
__d("CurrentEventMeta",[],(function(a,b,c,d,e,f){var g=null,h={};a={__setCurrentEventID:function(a){g=a},__informEventDataReady:function(a,b){h[a]&&(h[a].forEach(function(a){return a(b)}),delete h[a])},hasCurrentEvent:function(){return!!g},registerForCurrentEventData:function(a){g&&(h[g]=h[g]||[],h[g].push(a))}};e.exports=a}),null);
|
||
|
__d("TimeSliceInteractionEventHook",["CurrentEventMeta"],(function(a,b,c,d,e,f){"use strict";a={registerInteraction:function(a){b("CurrentEventMeta").hasCurrentEvent()&&(a.countUp(),b("CurrentEventMeta").registerForCurrentEventData(function(b){Object.keys(b).forEach(function(c){var d=""+b[c];a.trace().addStringAnnotation(c,d)}),a.countDown()}));return null}};e.exports=a}),null);
|
||
|
__d("Run",["requireCond","cr:925100"],(function(a,b,c,d,e,f){"use strict";e.exports=b("cr:925100")}),null);
|
||
|
__d("TimeSliceInteractionLeaveHook",["Run"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g=[];a={registerInteraction:function(a){g.push(a);return{remove:function(){var b=g.indexOf(a);b!==-1&&g.splice(b,1)}}}};b("Run").onUnload(function(){g.forEach(function(a){a.trace().addStringAnnotation("ended_early_because_page_is_unloading","1"),a.finish(!0)})});e.exports=a}),null);
|
||
|
__d("EventEmitterWithValidation",["BaseEventEmitter"],(function(a,b,c,d,e,f){"use strict";__p&&__p();a=function(a){__p&&__p();babelHelpers.inheritsLoose(b,a);function b(b){var c;c=a.call(this)||this;c.$EventEmitterWithValidation1=Object.keys(b);return c}var c=b.prototype;c.emit=function(b){g(b,this.$EventEmitterWithValidation1);return a.prototype.emit.apply(this,arguments)};return b}(b("BaseEventEmitter"));function g(a,b){if(b.indexOf(a)===-1)throw new TypeError(h(a,b))}function h(a,b){a='Unknown event type "'+a+'". ';a+="Known event types: "+b.join(", ")+".";return a}e.exports=a}),null);
|
||
|
__d("mixInEventEmitter",["invariant","EventEmitterWithHolding","EventEmitterWithValidation","EventHolder"],(function(a,b,c,d,e,f,g){"use strict";__p&&__p();function a(a,b){b||g(0,3159);var c=a.prototype||a;c.__eventEmitter&&g(0,3160);a=a.constructor;a&&(a===Object||a===Function||g(0,3161));c.__types=babelHelpers["extends"]({},c.__types,b);Object.assign(c,h)}var h={emit:function(a,b,c,d,e,f,g){return this.__getEventEmitter().emit(a,b,c,d,e,f,g)},emitAndHold:function(a,b,c,d,e,f,g){return this.__getEventEmitter().emitAndHold(a,b,c,d,e,f,g)},addListener:function(a,b,c){return this.__getEventEmitter().addListener(a,b,c)},once:function(a,b,c){return this.__getEventEmitter().once(a,b,c)},addRetroactiveListener:function(a,b,c){return this.__getEventEmitter().addRetroactiveListener(a,b,c)},listeners:function(a){return this.__getEventEmitter().listeners(a)},removeAllListeners:function(){this.__getEventEmitter().removeAllListeners()},removeCurrentListener:function(){this.__getEventEmitter().removeCurrentListener()},releaseHeldEventType:function(a){this.__getEventEmitter().releaseHeldEventType(a)},__getEventEmitter:function(){if(!this.__eventEmitter){var a=new(b("EventEmitterWithValidation"))(this.__types),c=new(b("EventHolder"))();this.__eventEmitter=new(b("EventEmitterWithHolding"))(a,c)}return this.__eventEmitter}};e.exports=a}),null);
|
||
|
__d("pageID",["WebSession"],(function(a,b,c,d,e,f){"use strict";e.exports=b("WebSession").getPageId_DO_NOT_USE()}),null);
|
||
|
__d("NavigationMetricsCore",["mixInEventEmitter","pageID"],(function(a,b,c,d,e,f){__p&&__p();var g={NAVIGATION_DONE:"NAVIGATION_DONE",EVENT_OCCURRED:"EVENT_OCCURRED"},h={tti:"tti",e2e:"e2e",all_pagelets_loaded:"all_pagelets_loaded",all_pagelets_displayed:"all_pagelets_displayed"},i=0,j={},k=function(){"use strict";__p&&__p();function a(){this.eventTimings={tti:null,e2e:null,all_pagelets_loaded:null,all_pagelets_displayed:null},this.lid=b("pageID")+":"+i++,this.extras={}}var c=a.prototype;c.getLID=function(){return this.lid};c.setRequestStart=function(a){this.start=a;return this};c.setTTI=function(a){this.eventTimings.tti=a;this.$1(h.tti,a);return this};c.setE2E=function(a){this.eventTimings.e2e=a;this.$1(h.e2e,a);return this};c.setExtra=function(a,b){this.extras[a]=b;return this};c.setDisplayDone=function(a){this.eventTimings.all_pagelets_displayed=a;this.setExtra("all_pagelets_displayed",a);this.$1(h.all_pagelets_displayed,a);return this};c.setAllPageletsLoaded=function(a){this.eventTimings.all_pagelets_loaded=a;this.setExtra("all_pagelets_loaded",a);this.$1(h.all_pagelets_loaded,a);return this};c.setServerLID=function(a){this.serverLID=a;return this};c.$1=function(a,b){var c={};j!=null&&this.serverLID!=null&&j[this.serverLID]!=null&&(c=j[this.serverLID]);c=babelHelpers["extends"]({},c,{event:a,timestamp:b});l.emitAndHold(g.EVENT_OCCURRED,this.serverLID,c);return this};c.doneNavigation=function(){var a=babelHelpers["extends"]({start:this.start,extras:this.extras},this.eventTimings);if(this.serverLID&&j[this.serverLID]){var b=this.serverLID;Object.assign(a,j[b]);delete j[b]}l.emitAndHold(g.NAVIGATION_DONE,this.lid,a)};return a}(),l={Events:g,postPagelet:function(a,b,c){},siteInit:function(a){a(k)},setPage:function(a){if(!a.serverLID)return;j[a.serverLID]={page:a.page,pageType:a.page_type,pageURI:a.page_uri,serverLID:a.serverLID}},getFullPageLoadLid:function(){throw new Error("getFullPageLoadLid is not implemented on this site")}};b("mixInEventEmitter")(l,g);e.exports=l}),null);
|
||
|
__d("NavigationMetrics",["Arbiter","BigPipeInstance","NavigationMetricsCore","PageEvents","performance"],(function(a,b,c,d,e,f){__p&&__p();var g="0";b("NavigationMetricsCore").getFullPageLoadLid=function(){return g};b("NavigationMetricsCore").siteInit(function(a){__p&&__p();var c=new a(),d=!0;b("Arbiter").subscribe(b("BigPipeInstance").Events.init,function(e,f){__p&&__p();var h=d?c:new a();d&&(g=f.lid);d=!1;h.setServerLID(f.lid);e=f.arbiter;e.subscribe(b("BigPipeInstance").Events.tti,function(a,b){a=b.ts;h.setTTI(a)});e.subscribe(b("PageEvents").AJAXPIPE_SEND,function(a,b){a=b.ts;h.setRequestStart(a)});e.subscribe(b("PageEvents").AJAXPIPE_ONLOAD,function(a,b){a=b.ts;h.setE2E(a).doneNavigation()});e.subscribe(b("BigPipeInstance").Events.displayed,function(a,b){a=b.ts;h.setDisplayDone(a)});e.subscribe(b("BigPipeInstance").Events.loaded,function(a,b){a=b.ts;h.setAllPageletsLoaded(a)})});b("Arbiter").subscribe(b("PageEvents").BIGPIPE_ONLOAD,function(a,e){a=e.ts;d=!1;c.setRequestStart(b("performance").timing&&b("performance").timing.navigationStart).setE2E(a).doneNavigation()})});e.exports=b("NavigationMetricsCore")}),null);
|
||
|
__d("TimeSliceInteractionPageStatsHook",["NavigationMetrics"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g,h=[];b("NavigationMetrics").addRetroactiveListener(b("NavigationMetrics").Events.NAVIGATION_DONE,function(a,b){if(b.pageType!=="normal")return;g={start:b.start,dd:b.all_pagelets_displayed,tti:b.tti,e2e:b.e2e};for(var a=0;a<h.length;a++){b=h[a];i(b);b.countDown()}h=[]});function i(a){g?(a.trace().addStringAnnotation("page_start",""+g.start),a.trace().addStringAnnotation("page_tti",""+g.tti),a.trace().addStringAnnotation("page_dd",""+g.dd),a.trace().addStringAnnotation("page_e2e",""+g.e2e)):(a.countUp(),h.push(a))}a={registerInteraction:function(a){i(a);return{remove:function(){var b=h.indexOf(a);b!==-1&&h.splice(b,1)}}}};e.exports=a}),null);
|
||
|
__d("TimeSliceInteractionResourcesDataSource",["SiteData","TimeSliceInteractionExtraSaver"],(function(a,b,c,d,e,f){"use strict";a={registerInteraction:function(a){a.countDown(),a.registerOnBeforeFinish(function(a){a.recordWithExtraSaver(b("TimeSliceInteractionExtraSaver").RESOURCES_SAVER,"info",{client_revision:b("SiteData").client_revision,pkg_cohort:b("SiteData").pkg_cohort})})}};e.exports=a}),null);
|
||
|
__d("BrowserEventBasedInteraction",["Bootloader","FBLogger","PageDOMMutationObserver","TimeSliceAutoclosedInteraction","TimeSliceInteractionCancelHook","TimeSliceInteractionEventHook","TimeSliceInteractionLeaveHook","TimeSliceInteractionPageStatsHook","TimeSliceInteractionResourcesDataSource","performanceAbsoluteNow"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g=[b("TimeSliceInteractionCancelHook"),b("TimeSliceInteractionEventHook"),b("TimeSliceInteractionLeaveHook"),b("TimeSliceInteractionPageStatsHook")];a=function(a){__p&&__p();babelHelpers.inheritsLoose(c,a);function c(c,d,e){__p&&__p();var f;f=a.call(this,"Event",[b("TimeSliceInteractionResourcesDataSource")])||this;f.$BrowserEventBasedInteraction2=[];f.$BrowserEventBasedInteraction4=null;f.$BrowserEventBasedInteraction5=null;f.$BrowserEventBasedInteraction6=null;f.$BrowserEventBasedInteraction7=0;f.$BrowserEventBasedInteraction8=0;f.$BrowserEventBasedInteraction1=d;[].push.apply(f.$BrowserEventBasedInteraction2,c);f.setExtraSampleRate(e);var h=g.map(function(a){a.registerInteraction(babelHelpers.assertThisInitialized(f))});f.registerOnCleanUp(function(){h.forEach(function(a){return a&&a.remove()})});f.registerOnBeforeSend(function(){f.trace().addVectorAnnotation("interaction_ids",f.$BrowserEventBasedInteraction2)});f.trace().addStringAnnotation("is_mutation_observer_supported",b("PageDOMMutationObserver").isSupported()?"1":"0");return f}var d=c.prototype;d.getEventType=function(){return this.$BrowserEventBasedInteraction1};d.tagAsInteractionID=function(a){this.$BrowserEventBasedInteraction2.push(a)};d.hasInteractionIDs=function(a){__p&&__p();for(var a=a,b=Array.isArray(a),c=0,a=b?a:a[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var d;if(b){if(c>=a.length)break;d=a[c++]}else{c=a.next();if(c.done)break;d=c.value}d=d;if(!this.$BrowserEventBasedInteraction2.includes(d))return!1}return!0};d.addEagerExecution=function(a,b,c){this.waitForReferenceCounter(a),this.addProfilingCounterAttribution(b),[].push.apply(this.$BrowserEventBasedInteraction2,c)};d.setManualStartAndEnd=function(a,b,c,d){this.$BrowserEventBasedInteraction7++,this.$BrowserEventBasedInteraction8++,this.$BrowserEventBasedInteraction3=a,this.$BrowserEventBasedInteraction4=b,this.$BrowserEventBasedInteraction5=c,this.$BrowserEventBasedInteraction6=d,this.isEnabled()?this.addManualInstrumentationData():d||this.logManualInstrumentationData()};d.markManualStart=function(a,c){var d=this;this.$BrowserEventBasedInteraction7++;this.$BrowserEventBasedInteraction4||(this.$BrowserEventBasedInteraction4=c||b("performanceAbsoluteNow")(),this.$BrowserEventBasedInteraction3=a,this.isEnabled()&&(this.countUp(),this.registerOnBeforeFinish(function(){d.addManualInstrumentationData()})))};d.markManualEnd=function(a){if(!this.$BrowserEventBasedInteraction4){b("FBLogger")("event_profiler").warn("Attempting to mark end for interaction which never had start marked");return}this.$BrowserEventBasedInteraction8++;this.$BrowserEventBasedInteraction5=a||b("performanceAbsoluteNow")();this.$BrowserEventBasedInteraction6=this.hasActiveReferenceCountingHandle();!this.isEnabled()&&!this.$BrowserEventBasedInteraction6?this.logManualInstrumentationData():this.isEnabled()&&this.$BrowserEventBasedInteraction8===1&&this.countDown()};d.getManualInstrumentationData=function(){var a={};this.$BrowserEventBasedInteraction4&&this.$BrowserEventBasedInteraction3&&(a.manual_instrumentation_start=""+this.$BrowserEventBasedInteraction4,a.manual_instrumentation_marked_start_count=""+this.$BrowserEventBasedInteraction7,a.manual_instrumentation_start_reference_counted="1");this.$BrowserEventBasedInteraction5&&(a.manual_instrumentation_end=""+this.$BrowserEventBasedInteraction5,a.manual_instrumentation_marked_end_count=""+this.$BrowserEventBasedInteraction8,a.manual_instrumentation_end_reference_counted=this.$BrowserEventBasedInteraction6?"1":"0");this.$BrowserEventBasedInteraction4&&this.$BrowserEventBasedInteraction5&&(a.manual_instrumentation_duration=""+(this.$BrowserEventBasedInteraction5-this.$BrowserEventBasedInteraction4));ret
|
||
|
__d("EventProfilerAdsSessionProvider",["AdsInterfacesSessionConfig"],(function(a,b,c,d,e,f){"use strict";e.exports={sessionID:b("AdsInterfacesSessionConfig").sessionID}}),null);
|
||
|
__d("EventProfilerEagerExecution",["EventConfig","FBLogger","ProfilingCounters","TimeSliceReferenceCounting"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g=0,h={},i=0,j={},k=function(){__p&&__p();function a(a,c,d){__p&&__p();var e=this;this.interaction=null;this.$2=[];this.$3=[];this.$4=[];this.$5=[];this.id=i++;this.$6=a;for(var d=0;d<a.length;d++)j[a[d]]&&b("FBLogger")("event_profiler").blameToPreviousDirectory().mustfix("Declaring multiple eager executions for the same interaction not supported: %s",a[d]),j[a[d]]=this;d="eagerly_executed_tree_"+ ++g;b("EventConfig").profile_eager_execution&&(this.handle=b("TimeSliceReferenceCounting").onAllChildrenFinished(function(){e.finish()},c!==0),c&&b("ProfilingCounters").currentContext().addAttribution(d,b("ProfilingCounters").AttributionPropagation.ONLY_ON_CONTINUATIONS));this.sampleWeight=c;this.$1=d;h[this.id]=this}var c=a.prototype;c.hasInteractionIDs=function(a){__p&&__p();for(var a=a,b=Array.isArray(a),c=0,a=b?a:a[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var d;if(b){if(c>=a.length)break;d=a[c++]}else{c=a.next();if(c.done)break;d=c.value}d=d;if(!this.$6.includes(d))return!1}return!0};c.__registerInteractionWePotentiallyEagerlyExecutedFor=function(a){this.$2.push(a)};c.attributeToCurrentlyActiveInteraction=function(){__p&&__p();var a=this,b=this.handle;if(!b)return;var c=function(){__p&&__p();if(e){if(f>=d.length)return"break";g=d[f++]}else{f=d.next();if(f.done)return"break";g=f.value}var c=g;if(c.hasActiveReferenceCountingHandle()){c.addEagerExecution(b,a.$1,a.$3.slice());a.interaction=c;a.$4.forEach(function(a){return a(c)});a.$4=[];return"break"}};for(var d=this.$2,e=Array.isArray(d),f=0,d=e?d:d[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var g,h=c();if(h==="break")break}};c.tagAsInteractionID=function(a){this.$3.push(a)};c.withInteraction=function(a){!this.interaction?this.$4.push(a):a(this.interaction)};c.isActive=function(){return!!(this.handle&&this.handle.isInsideContinuationExecution())};c.onFinish=function(a){this.$5.push(a)};c.finish=function(){delete h[this.id],this.$5.forEach(function(a){return a()}),this.$5=[]};return a}();a={declareEagerExecution:function(a,b,c){a=new k(a,c,b);var d=a.id;return function(){h[d]&&h[d].attributeToCurrentlyActiveInteraction()}},getEagerExecution:function(a,b){var c=a.map(function(a){return j[a]}).filter(function(b){return b&&b.hasInteractionIDs(a)});b=c.filter(function(a,b){return b===c.indexOf(a)});return b.length==1?b[0]:null},getActiveExecutions:function(){return Object.values(h).filter(function(a){return a.handle&&a.handle.isInsideContinuationExecution()})}};e.exports=a}),null);
|
||
|
__d("EventProfilerInteractionTracker",["Bootloader","BrowserEventBasedInteraction","EventProfilerEagerExecution","EventConfig","performanceAbsoluteNow"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g=[],h=b("EventConfig").profile_eager_execution&&b("EventConfig").manual_instrumentation;a={createNewInteraction:function(a,c,d,e){__p&&__p();if(!a.length)return null;var f=e&&e.sampleWeight||0,i;(h||d||f)&&(i=new(b("BrowserEventBasedInteraction"))(a,c,1/(f||d)));if(i&&e){var j=e;j.__registerInteractionWePotentiallyEagerlyExecutedFor(i);i.registerOnBeforeSend(function(){i&&i!==j.interaction&&(d?i.setExtraSampleRate(1/d):i.disable())})}if(i){var k=i;g.push(i);i.onReferenceCountedExecutionFinished(function(){var a=g.indexOf(k);a!==-1&&g.splice(a,1)})}f===0&&d===0&&i&&i.disable();return d===0?null:i},markManualStart:function(a,c,d){__p&&__p();if(!h)return{markManualEnd:function(){}};var e=g.filter(function(b){return b.hasInteractionIDs(a)&&b.getEventType()===c}),f=b("EventProfilerEagerExecution").getActiveExecutions();if(e.length===1)return i(e[0],a,d);else if(f.length===1)return l(f[0],a,d);else{e.forEach(function(a){a.trace().addStringAnnotation("has_manual_instrumentation_conflict","1")});return j(a,e.length+f.length,d)}}};function i(a,b,c){a.markManualStart(b,c);return{markManualEnd:function(b){a.markManualEnd(b)}}}function j(a,c,d){var e=d||b("performanceAbsoluteNow")();return{markManualEnd:function(d){d=d||b("performanceAbsoluteNow")();k(e,d,a,c)}}}function k(a,c,d,e){var f={manual_instrumentation_start:""+a,manual_instrumentation_end:""+c,manual_instrumentation_duration:""+(c-a),manual_instrumentation_start_reference_counted:"0",manual_instrumentation_end_reference_counted:"0",lite_weight:"1"};e&&(f.manual_instrumentation_conflicts=""+e);b("Bootloader").loadModules(["TimeSliceInteractionsLiteTypedLogger","PerfXSharedFields"],function(a,b){new a().setActionName("Event").setTraceAnnotations({stringProps:f,setProps:{},vectorProps:{manual_instrumentation_interaction_ids:d}}).updateData(b.getCommonData()).logVital()},"EventProfilerInteractionTracker")}function l(a,c,d){__p&&__p();var e=d||b("performanceAbsoluteNow")(),f,g,h,i=!1;function j(){f&&g!==void 0&&!i&&h!==void 0&&(i=!0,g?g.setManualStartAndEnd(c,e,f,h):k(e,f,c))}var l;a.withInteraction(function(a){l=a,a.onReferenceCountedExecutionFinished(function(){a.hasInteractionIDs(c)?g=a:g=null,j()})});a.onFinish(function(){l||(g=!1,j())});return{markManualEnd:function(c){if(f)return;h=a.isActive()||l&&l.hasActiveReferenceCountingHandle()||!1;f=c||b("performanceAbsoluteNow")();j()}}}e.exports=a}),null);
|
||
|
__d("EventProfilerSampler",["EventConfig"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g=b("EventConfig").interaction_boost,h=b("EventConfig").event_types,i=b("EventConfig").sampling||{},j=b("EventConfig").page_sampling_boost||1,k=[];Object.keys(b("EventConfig").interaction_regexes).forEach(function(a){k.push({id:a,regex:new RegExp(b("EventConfig").interaction_regexes[a])})});a="click";c="mouseup";var l=[a,c],m=a;d={canSample:function(a){return!!i[a]},getEventSampleWeights:function(a,b){a.__samplingWeights==void 0&&(a.__samplingWeights={interaction:n(this.getInteractionWeight(a,b)),event:n(this.getEventWeight(a))});return a.__samplingWeights},getInteractionWeight:function(a,b){__p&&__p();a=a.type in i?i[a.type]:1;if(!a||!b||!b.length)return 0;var c=1;for(var b=b,d=Array.isArray(b),e=0,b=d?b:b[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var f;if(d){if(e>=b.length)break;f=b[e++]}else{e=b.next();if(e.done)break;f=e.value}f=f;if(g[f]){c=g[f];break}}return a*i.__interactionDefault/c},getEventWeight:function(a){a=a.type in i?i[a.type]:1;a/=j;return a*i.__eventDefault},getEventInteractionIDs:function(a,b){__p&&__p();if(l.indexOf(a)===-1)return[];var c=[];for(var b=b,d=Array.isArray(b),e=0,b=d?b:b[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var f;if(d){if(e>=b.length)break;f=b[e++]}else{e=b.next();if(e.done)break;f=e.value}f=f;for(var g=0;g<k.length;g++){var i=k[g];if(i.regex.test(f)){var j=h[i.id];if(j){if(j.indexOf(a)===-1)continue}else if(a!==m)continue;c.push(i.id)}}}return c}};function n(a){if(a===0)return 0;var b=i.__min||1;a=Math.round(Math.max(b,a));return Math.random()*a<1?a:0}e.exports=d}),null);
|
||
|
__d("SubscriptionList",["invariant"],(function(a,b,c,d,e,f,g){__p&&__p();a=function(){"use strict";__p&&__p();function a(a,b){this.$1=[],this.$2=a,this.$3=b}var b=a.prototype;b.add=function(a){var b=this,c={callback:a};this.$1.push(c);this.$2&&this.$1.length===1&&this.$2();return{remove:function(){var a=b.$1.indexOf(c);a!==-1||g(0,298);b.$1.splice(a,1);b.$3&&b.$1.length===0&&b.$3()}}};b.getCallbacks=function(){return this.$1.map(function(a){return a.callback})};b.fireCallbacks=function(a){this.getCallbacks().forEach(function(b){b(a)})};return a}();e.exports=a}),null);
|
||
|
__d("TimeSpentPageTransitionCause",[],(function(a,b,c,d,e,f){e.exports=Object.freeze({PAGE_LOAD:"load",PAGE_UNLOAD:"unload",TRANSITION:"transition",OPEN_OVERLAY_VIEW:"open_overlay_view",REPLACE_OVERLAY_VIEW:"replace_overlay_view",CLOSE_OVERLAY_VIEW:"close_overlay_view"})}),null);
|
||
|
__d("isInIframe",[],(function(a,b,c,d,e,f){var g=window!=window.top;function a(){return g}e.exports=a}),null);
|
||
|
__d("ScriptPath",["ErrorUtils","SubscriptionList","TimeSlice","TimeSpentPageTransitionCause","WebStorage","isInIframe"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g="sp_pi",h=1e3*30,i=null,j=null,k=new(b("SubscriptionList"))(),l=null,m=[],n=b("TimeSlice").guard(function(a,c){k.getCallbacks().forEach(function(d){b("ErrorUtils").applyWithGuard(function(){d({source:i,dest:j,cause:a,extraData:c})})})},"ScriptPath Notifying callbacks",{propagationType:b("TimeSlice").PropagationType.ORPHAN});function o(){return j?j.scriptPath:void 0}function p(){var a=b("WebStorage").getSessionStorage();if(!a||b("isInIframe")())return;b("WebStorage").setItemGuarded(a,g,JSON.stringify({pageInfo:j,clickPoint:l,time:Date.now()}))}function a(){var a=b("WebStorage").getSessionStorageForRead();if(!a)return;var c=a.getItem(g);if(c){c=JSON.parse(c);c&&(c.time<Date.now()-h&&(a=b("WebStorage").getSessionStorage(),a&&a.removeItem(g)),j=c.pageInfo,l=c.clickPoint,j&&(j.restored=!0))}}a();c={set:function(a,b,c){i=j,j={scriptPath:a,categoryToken:b,extraData:c||{}},m=[],window._script_path=a,n()},openOverlayView:function(a,c,d){if(!a)return;var e=m.length;(e===0||m[e-1]!==a)&&(i=Object.assign({},j),j&&(j.topViewEndpoint=a),d&&d.replaceTopOverlay&&e>0?(m[e-1]=a,n(b("TimeSpentPageTransitionCause").REPLACE_OVERLAY_VIEW,c)):(m.push(a),n(b("TimeSpentPageTransitionCause").OPEN_OVERLAY_VIEW,c)))},closeOverlayView:function(a,c){a=m.lastIndexOf(a);if(a===-1)return;i=Object.assign({},j);j&&(a>0?j.topViewEndpoint=m[a-1]:j.topViewEndpoint=null);m=m.slice(0,a);n(b("TimeSpentPageTransitionCause").CLOSE_OVERLAY_VIEW,c)},setClickPointInfo:function(a){l=a,p()},getClickPointInfo:function(){return l},getScriptPath:o,getCategoryToken:function(){return j?j.categoryToken:void 0},getEarlyFlushPage:function(){var a;return(a=j)==null?void 0:(a=a.extraData)==null?void 0:a.ef_page},getTopViewEndpoint:function(){var a=m.length;return a>0?m[a-1]:o()},getPageInfo:function(){return j},getSourcePageInfo:function(){return i},subscribe:function(a){return k.add(b("TimeSlice").guard(a,"ScriptPath.subscribe"))},shutdown:function(){p()}};e.exports=c}),null);
|
||
|
__d("VersionRange",["invariant"],(function(a,b,c,d,e,f,g){"use strict";__p&&__p();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){__p&&__p();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;c<b;c++)a[c]="0"}function z(a,b){__p&&__p();a=a.slice();b=b.slice();y(a,b.length);for(var c=0;c<b.length;c++){var d=b[c].match(/^[x*]$/i);if(d){b[c]=a[c]="0";if(d[0]==="*"&&c===b.length-1)for(var d=c;d<a.length;d++)a[d]="0"}}y(b,a.length);return[a,b]}function A(a,b){var c=a.match(l),d=b.match(l);c=c&&c[1];d=d&&d[1];c=parseInt(c,10);d=parseInt(d,10);if(w(c)&&w(d)&&c!==d)return B(c,d);else return B(a,b)}function B(a,b){__p&&__p();typeof a===typeof b||g(0,3075);if(typeof a==="string"&&typeof b==="string")if(a>b)return 1;else if(a<b)return-1;else return 0;if(typeof a==="number"&&typeof b==="number")if(a>b)return 1;else if(a<b)return-1;else return 0;typeof a===typeof b||g(0,3075);return 0}function C(a,b){a=z(a,b);b=a[0];a=a[1];for(var c=0;c<a.length;c++){var d=A(b[c],a[c]);if(d)return d}return 0}var D={contains:function(a,b){return m(a.trim(),b.trim())}};e.exports=D}),null);
|
||
|
__d("mapObject",[],(function(a,b,c,d,e,f){"use strict";__p&&__p();function g(a,b,c){if(!a)return null;var d={};Object.keys(a).forEach(function(e){d[e]=b.call(c,a[e],e,a)});return d}function a(a,b,c){return g(a,b,c)}function b(a,b,c){return g(a,b,c)}g.untyped=a;g.shape=b;e.exports=g}),null);
|
||
|
__d("UserAgent",["UserAgentData","VersionRange","mapObject","memoizeStringOnly"],(function(a,b,c,d,e,f){"use strict";__p&&__p();function g(a,c,d,e){__p&&__p();if(a===d)return!0;if(!d.startsWith(a))return!1;d=d.slice(a.length);if(c!=null){d=e?e(d):d;return b("VersionRange").contains(d,c)}return!1}function h(a){return b("UserAgentData").platformName==="Windows"?a.replace(/^\s*NT/,""):a}a={isBrowser:function(a){return g(b("UserAgentData").browserName,b("UserAgentData").browserFullVersion,a)},isBrowserArchitecture:function(a){return g(b("UserAgentData").browserArchitecture,null,a)},isDevice:function(a){return g(b("UserAgentData").deviceName,null,a)},isEngine:function(a){return g(b("UserAgentData").engineName,b("UserAgentData").engineVersion,a)},isPlatform:function(a){return g(b("UserAgentData").platformName,b("UserAgentData").platformFullVersion,a,h)},isPlatformArchitecture:function(a){return g(b("UserAgentData").platformArchitecture,null,a)}};e.exports=b("mapObject")(a,b("memoizeStringOnly"))}),null);
|
||
|
__d("cx",[],(function(a,b,c,d,e,f){function a(a){throw new Error("cx: Unexpected class transformation.")}e.exports=a}),null);
|
||
|
__d("getParentClassesForEventProfiler",["cx"],(function(a,b,c,d,e,f,g){"use strict";__p&&__p();function h(a){__p&&__p();if(!a||!(a instanceof HTMLElement))return"";var b=a.id,c=a.nodeName,d=a.getAttribute("class");c=c?c.replace(/^#/,""):"unknown";b=b?"#"+b:"";d=d?" "+d.replace(/\s+/g," ").trim():"";if(a.getAttribute("rel")==="theater"){a="_342u";d=d.length?d+" "+a:a}return":"+c+b+d}function a(a){var b=[];while(a&&a instanceof HTMLElement)b.push(h(a)),a=a.parentElement;b.reverse();return b}e.exports=a}),null);
|
||
|
__d("uniqueID",[],(function(a,b,c,d,e,f){var g="js_",h=36,i=0;function a(){return g+(i++).toString(h)}e.exports=a}),null);
|
||
|
__d("EventProfilerImpl",["Arbiter","Bootloader","BrowserEventBasedInteraction","CurrentEventMeta","EventConfig","EventProfilerAdsSessionProvider","EventProfilerEagerExecution","EventProfilerInteractionTracker","EventProfilerSampler","Parent","ScriptPath","TimeSlice","TimeSliceAutoclosedInteraction","UserAgent","getParentClassesForEventProfiler","gkx","performanceAbsoluteNow","requestAnimationFrameAcrossTransitions","setTimeoutAcrossTransitions","uniqueID"],(function(a,b,c,d,e,f){__p&&__p();var g={},h={},i={},j=!1,k=0;c=b("gkx")("849406");var l=new Set(["click","keydown","mousewheel","scroll"].concat(c?["mouseup","mousedown","blur"]:[])),m=null,n=null,o=null,p=!1;b("Arbiter").subscribe("perf_nub_interaction_trace",function(a,b){p=!0});var q={__wrapEventListenHandler:function(a){__p&&__p();return b("EventConfig").disable_event_profiler?a:function(c,d){__p&&__p();var e=this;if(!b("EventProfilerSampler").canSample(c))return a.call(this,c,d);var f,q={interaction:0,event:0},v=b("performanceAbsoluteNow")();d.id=d.id||b("uniqueID")();var w=d.id;b("CurrentEventMeta").__setCurrentEventID(w);var x=i[w],y=null;if(h[w]===void 0&&!x){y=b("getParentClassesForEventProfiler")(d.target);var z=b("EventProfilerSampler").getEventInteractionIDs(c,y);f=b("EventProfilerEagerExecution").getEagerExecution(z,c);p&&c==="click"?(z.push("PerfNubTrace"),q={interaction:1,event:1},p=!1):q=u(d,z);o!=null&&o.beforeHandlers(w,c);m=b("EventProfilerInteractionTracker").createNewInteraction(z,c,q.interaction,f);z=a.call(this,c,d);i[w]=b("TimeSlice").getGuardedContinuation("Event Bubble Continuation")}else q=u(d,[]),z=x(function(){i[w]=b("TimeSlice").getGuardedContinuation("Event Bubble Continuation");return a.call(e,c,d)});f=b("performanceAbsoluteNow")();if(h[w]===void 0){y=y;x=s(d);x=x||v;var A=Math.max(v-x,0),B=t(d.target,"data-referrer"),C=null;b("UserAgent").isBrowser("Chrome")&&(C=!!d.cancelable);var D=C&&(!!d.deliberateSync||b("UserAgent").isBrowser("Chrome < 51"));h[w]={event_name:c,event_start_ms:Math.round(x),main_thread_wait_ms:Math.round(A),event_handlers_runtime_ms:0,script_path:b("ScriptPath").getScriptPath()||"<unknown>",request_animation_frame_wait_ms:0,set_timeout_wait_ms:0};g[w]={event_target_raw:y,weight:q.event,cancelable:!!C,deliberate_sync:!!D,ad_account_id:n,event_end_ms:0};A=b("EventProfilerAdsSessionProvider").sessionID;A&&(g[w].ads_session_id=A);var E=!1;l.has(c)&&(!j&&k<x&&(j=!0,E=!0),g[w].is_first_in_frame=E,g[w].is_first_overlapping=E,o&&o.eventListener(c,d.target));if(m){q=m.trace();q.addVectorAnnotation("event_target_stack",y).addVectorAnnotation("pagelets",B)}var F=m;b("requestAnimationFrameAcrossTransitions")(function(){__p&&__p();var a;m=null;var d=b("performanceAbsoluteNow")();h[w].request_animation_frame_wait_ms=Math.round(d-g[w].event_end_ms);delete g[w].event_end_ms;var e=!1;function f(){__p&&__p();if(e)return;e=!0;var a=b("performanceAbsoluteNow")();h[w].set_timeout_wait_ms=Math.round(a-d);r(w,v,a);l.has(c)&&E&&(j=!1,k=a);a=i[w];a&&(b("TimeSlice").cancel(a),delete i[w]);F&&F.inform("TTI",{isPointOfInterest:!0});delete h[w];delete g[w]}((a=o)==null?void 0:a.doubleRAFPaintHeuristic)===!0&&b("requestAnimationFrameAcrossTransitions")(f);b("setTimeoutAcrossTransitions")(f,0)})}h[w].event_handlers_runtime_ms+=f-v;g[w].event_end_ms=f;o!=null&&o.afterEachHandler(w,h[w]);b("CurrentEventMeta").__setCurrentEventID(null);m&&m.informPointWithOverride("tti_ts",{isPointOfInterest:!0});return z}},tagCurrentActiveInteractionsAs:function(a){q.getActiveInteractions().forEach(function(b){b.tagAsInteractionID(a)}),b("EventProfilerEagerExecution").getActiveExecutions().forEach(function(b){return b.tagAsInteractionID(a)})},informManualInteractionTimestamp:function(a,b,c){},markManualStart:function(a,c,d){return b("EventProfilerInteractionTracker").markManualStart(a,c,d)},getActiveInteractions:function(){return b("TimeSliceAutoclosedInteraction").getInteractionsActiveRightNow().filter(function(a){return a instanceof b("BrowserEventBasedInteraction")&&a.isEnabled()})},informPointOnActiveInteractions:function(a,b,c){q.getActiveInteractions().map(
|
||
|
__d("FBLogMessage",["ErrorNormalizeUtils","ErrorPubSub","ErrorSerializer","FBLoggerMetadata","TAALOpcodes"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g={info:"log",mustfix:"error",warn:"warn"};a=function(){__p&&__p();function a(a){this.project=a,this.metadata=new(b("FBLoggerMetadata"))(),this.taalOpcodes=[]}var c=a.prototype;c.$1=function(c,d){__p&&__p();var e;for(var f=arguments.length,h=new Array(f>2?f-2:0),i=2;i<f;i++)h[i-2]=arguments[i];var j=this.error,k=this.project,l=this.metadata,m,n;if(j){j.name.startsWith("<level:")&&new a("fblogger").blameToPreviousFrame().blameToPreviousFrame().warn("Double logging detected");this.taalOpcodes.length>0&&new a("fblogger").blameToPreviousFrame().blameToPreviousFrame().warn("Blame helpers do not work with catching");var o=b("ErrorSerializer").parse(j.message),p=o.taalOpcodes;m={message:d+" from %s: %s",params:[].concat(h,[j.name,b("ErrorSerializer").toFormattedMessageNoTAAL(o)]),taalOpcodes:p};n="FBLogger caught "+j.name}else m={message:d,params:h,taalOpcodes:[b("TAALOpcodes").PREVIOUS_FRAME,b("TAALOpcodes").PREVIOUS_FRAME].concat(this.taalOpcodes)},n="FBLogger";var q=b("ErrorSerializer").stringify(m),r="<level:"+c+"> <name:"+k+"> "+n,s=b("ErrorNormalizeUtils").normalizeError((e=j)!=null?e:new Error(q),{message:q,name:r});s.type=g[c];s.loggingType="FBLOGGER";l.isEmpty()||(s.fbloggerMetadata=l.formatMetadata());b("ErrorPubSub").reportNormalizedError(s)};c.mustfix=function(a){for(var b=arguments.length,c=new Array(b>1?b-1:0),d=1;d<b;d++)c[d-1]=arguments[d];this.$1.apply(this,["mustfix",a].concat(c))};c.warn=function(a){for(var b=arguments.length,c=new Array(b>1?b-1:0),d=1;d<b;d++)c[d-1]=arguments[d];this.$1.apply(this,["warn",a].concat(c))};c.info=function(a){};c.debug=function(a){};c.catching=function(b){!(b instanceof Error)?new a("fblogger").blameToPreviousFrame().warn("Catching non-Error object is not supported"):this.error=b;return this};c.blameToPreviousFile=function(){this.taalOpcodes.push(b("TAALOpcodes").PREVIOUS_FILE);return this};c.blameToPreviousFrame=function(){this.taalOpcodes.push(b("TAALOpcodes").PREVIOUS_FRAME);return this};c.blameToPreviousDirectory=function(){this.taalOpcodes.push(b("TAALOpcodes").PREVIOUS_DIR);return this};c.addMetadata=function(a,b,c){this.metadata.addMetadata(a,b,c);return this};return a}();e.exports=a}),null);
|
||
|
__d("FBLoggerImpl",["FBLoggerMetadata","FBLogMessage"],(function(a,b,c,d,e,f){"use strict";a=function(a){return new(b("FBLogMessage"))(a)};a.addGlobalMetadata=function(a,c,d){b("FBLoggerMetadata").addGlobalMetadata(a,c,d)};e.exports=a}),null);
|
||
|
__d("getActiveElement",[],(function(a,b,c,d,e,f){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}}e.exports=a}),null);
|
||
|
__d("FocusListener",["Arbiter","CSS","Parent","getActiveElement"],(function(a,b,c,d,e,f){__p&&__p();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("getMarkupWrap",["invariant","ExecutionEnvironment"],(function(a,b,c,d,e,f,g){__p&&__p();var h=b("ExecutionEnvironment").canUseDOM?document.createElement("div"):null,i={};c=[1,'<select multiple="true">',"</select>"];d=[1,"<table>","</table>"];f=[3,"<table><tbody><tr>","</tr></tbody></table>"];var j=[1,'<svg xmlns="http://www.w3.org/2000/svg">',"</svg>"],k={"*":[1,"?<div>","</div>"],area:[1,"<map>","</map>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],legend:[1,"<fieldset>","</fieldset>"],param:[1,"<object>","</object>"],tr:[2,"<table><tbody>","</tbody></table>"],optgroup:c,option:c,caption:d,colgroup:d,tbody:d,tfoot:d,thead:d,td:f,th:f};b=["circle","clipPath","defs","ellipse","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","text","tspan"];b.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="<link />":h.innerHTML="<"+a+"></"+a+">",i[a]=!h.firstChild);return i[a]?k[a]:null}e.exports=a}),null);
|
||
|
__d("createNodesFromMarkup",["invariant","ExecutionEnvironment","getMarkupWrap"],(function(a,b,c,d,e,f,g){__p&&__p();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){__p&&__p();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}e.exports=a}),null);
|
||
|
__d("evalGlobal",[],(function(a,b,c,d,e,f){__p&&__p();function a(a){__p&&__p();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)}e.exports=a}),null);
|
||
|
__d("HTML",["invariant","Bootloader","createNodesFromMarkup","emptyFunction","evalGlobal"],(function(a,b,c,d,e,f,g){__p&&__p();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";__p&&__p();function a(c){__p&&__p();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(){__p&&__p();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<a.length;c++)b.appendChild(a[c]);this._rootNode=b}return this._rootNode};c.getAction=function(){var a=this;this._fillCache();var b=function(){a._inlineJS()};return this._defer?function(){setTimeout(b,0)}:b};c._fillCache=function(){__p&&__p();if(this._nodes!==null)return;if(!this._markup){this._nodes=[];return}var a=this._markup.replace(h,function(a,b,c){return i[c.toLowerCase()]?a:b+"></"+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;a<c.length;a++)c[a]()});this._nodes=a};c.setDeferred=function(a){this._defer=!!a;return this};a.isHTML=function(b){return!!b&&(b instanceof a||b.__html!==void 0)};a.replaceJSONWrapper=function(b){return b&&b.__html!==void 0?new a(b.__html):b};return a}();e.exports=a}),null);
|
||
|
__d("HardwareCSS",[],(function(a,b,c,d,e,f){function g(){if(window!=null&&window.document&&document.body){var a=document.body,b=a.getAttribute("class")||"";window.navigator&&window.navigator.hardwareConcurrency&&window.navigator.hardwareConcurrency>=4?a.setAttribute("class",b+" cores-gte4"):a.setAttribute("class",b+" cores-lt4")}}var h={init:function(){g(),h.init=function(){}}};e.exports=h}),null);
|
||
|
__d("InitialJSLoader",["Arbiter","Bootloader","PageEvents","Run","ServerJS","TimeSlice"],(function(a,b,c,d,e,f){__p&&__p();var g={INITIAL_JS_READY:"BOOTLOAD/JSREADY",loadOnDOMContentReady:function(a,c){b("Arbiter").subscribe(b("PageEvents").BIGPIPE_DOMREADY,function(){function d(){b("Bootloader").loadResources(a,function(){b("Arbiter").inform(g.INITIAL_JS_READY,!0,"state")})}c?setTimeout(d,c):d()})},handleServerJS:function(a){var c=new(b("ServerJS"))();c.handle(a);b("Run").onAfterLoad(c.cleanup.bind(c,b("TimeSlice")))}};e.exports=g}),null);
|
||
|
__d("MutationCountingExecutionObserver",["EventConfig","ExecutionContextObservers","PageDOMMutationObserver","ProfilingCounters","TimeSlice","ifRequired"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g=[],h=!1;function i(){__p&&__p();var a=b("PageDOMMutationObserver").consumePendingDOMMutations();if(a){b("ProfilingCounters").incrementCounter("DOM_MUTATION",a);a=b("ifRequired")("TimeSliceAutoclosedInteraction",function(a){return a});if(a){a=a.getInteractionsActiveRightNow();a.length&&a.forEach(function(a){__p&&__p();a.informPointWithOverride("display_done_ts_executed_from_client",{isPointOfInterest:!0});if(!a.__mceoSeenThisRootGuardFrame){a.__mceoSeenThisRootGuardFrame=!0;a.countUp();g.push(a);h||(h=!0,l.executeOnRootGuardEnded(function(){j(),h=!1}));var c=b("ifRequired")("Visibility",function(a){return a});c&&(c.isHidden()?a.trace().addStringAnnotation("hidden_during_dd","1"):a.trace().addStringAnnotation("hidden_during_dd","0"))}})}}}function j(){__p&&__p();if(g.length===0)return;g.forEach(function(a){a.informPointWithOverride("display_done",{isPointOfInterest:!0}).addStringAnnotation("visual_role","global_signpost"),a.__mceoSeenThisRootGuardFrame=!1});if(b("EventConfig").disable_heuristic){g.forEach(function(a){return a.countDown()});g=[];return}var a=g,c=b("ifRequired")("requestAnimationFrameAcrossTransitions",function(a){return a}),d=b("ifRequired")("setTimeoutAcrossTransitions",function(a){return a});if(!c||!d)return;c(function(){a.forEach(function(a){a.informPointWithOverride("display_done_ts_raf",{isPointOfInterest:!0})}),d(function(){a.forEach(function(a){a.informPointWithOverride("display_done_ts_st",{isPointOfInterest:!0}),a.countDown()})})});g=[]}var k=[];a=function(){__p&&__p();function a(){}var c=a.prototype;c.executeOnRootGuardEnded=function(a){k.push(a)};c.onNewContextCreated=function(a,b,c){return null};c.onContextCanceled=function(a,b){};c.onBeforeContextStarted=function(a,c,d){b("PageDOMMutationObserver").tryStart();i();return null};c.onAfterContextStarted=function(a,b,c,d){return null};c.onAfterContextEnded=function(a,b,c,d){i();if(a&&a.isRoot)while(k.length)k.pop()()};c.getBeforeID=function(){return b("ExecutionContextObservers").beforeIDs.MUTATION_COUNTING};c.getAfterID=function(){return b("ExecutionContextObservers").afterIDs.MUTATION_COUNTING};return a}();var l=new a();b("TimeSlice").registerExecutionContextObserver(l);e.exports=l}),3);
|
||
|
__d("DOMEvent",["invariant"],(function(a,b,c,d,e,f,g){__p&&__p();a=function(){"use strict";__p&&__p();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){__p&&__p();var g={};a=function(a,b,c){return function(){var d=b in g?g[b](a,c):a;for(var e=arguments.length,f=new Array(e),h=0;h<e;h++)f[h]=arguments[h];return d.apply(this,f)}};a.setWrapper=function(a,b){g[b]=a};e.exports=a}),null);
|
||
|
__d("DOMEventListener",["invariant","dedupString","emptyFunction","wrapFunction"],(function(a,b,c,d,e,f,g){__p&&__p();var h=!1;try{a=Object.defineProperty({},"passive",{get:function(){h=!0}});window.addEventListener("test",null,a)}catch(a){}var i,j;window.addEventListener?(i=function(a,c,d,e){e===void 0&&(e=!1),d.wrapper=b("wrapFunction")(d,"entry",b("dedupString")("DOMEventListener.add "+c)),a.addEventListener(c,d.wrapper,h?e:!1)},j=function(a,b,c,d){d===void 0&&(d=!1),a.removeEventListener(b,c.wrapper,h?d:!1)}):window.attachEvent?(i=function(a,c,d,e){e===void 0,d.wrapper=b("wrapFunction")(d,"entry","DOMEventListener.add "+c),a.attachEvent||g(0,2798),a.attachEvent("on"+c,d.wrapper)},j=function(a,b,c,d){d===void 0,a.detachEvent||g(0,2799),a.detachEvent("on"+b,c.wrapper)}):j=i=b("emptyFunction");c={add:function(a,b,c,d){d===void 0&&(d=!1);i(a,b,c,d);return{remove:function(){j(a,b,c,d)}}},remove:j};e.exports=c}),null);
|
||
|
__d("isNode",[],(function(a,b,c,d,e,f){function a(a){var b=a?a.ownerDocument||a:document;b=b.defaultView||window;return!!(a&&(typeof b.Node==="function"?a instanceof b.Node:typeof a==="object"&&typeof a.nodeType==="number"&&typeof a.nodeName==="string"))}e.exports=a}),null);
|
||
|
__d("isTextNode",["isNode"],(function(a,b,c,d,e,f){function a(a){return b("isNode")(a)&&a.nodeType==3}e.exports=a}),null);
|
||
|
__d("containsNode",["isTextNode"],(function(a,b,c,d,e,f){__p&&__p();function g(a,c){__p&&__p();if(!a||!c)return!1;else if(a===c)return!0;else if(b("isTextNode")(a))return!1;else if(b("isTextNode")(c))return g(a,c.parentNode);else if("contains"in a)return a.contains(c);else if(a.compareDocumentPosition)return!!(a.compareDocumentPosition(c)&16);else return!1}e.exports=g}),null);
|
||
|
__d("createArrayFromMixed",["invariant"],(function(a,b,c,d,e,f,g){__p&&__p();function h(a){__p&&__p();var b=a.length;!Array.isArray(a)&&(typeof a==="object"||typeof a==="function")||g(0,3914);typeof b==="number"||g(0,3915);b===0||b-1 in a||g(0,3916);typeof a.callee!=="function"||g(0,3917);if(a.hasOwnProperty)try{return Array.prototype.slice.call(a)}catch(a){}var c=Array(b);for(var d=0;d<b;d++)c[d]=a[d];return c}function i(a){return!!a&&(typeof a==="object"||typeof a==="function")&&"length"in a&&!("setInterval"in a)&&typeof a.nodeType!=="number"&&(Array.isArray(a)||"callee"in a||"item"in a)}function a(a){if(!i(a))return[a];else if(Array.isArray(a))return a.slice();else return h(a)}e.exports=a}),null);
|
||
|
__d("isElementNode",["isNode"],(function(a,b,c,d,e,f){function a(a){return b("isNode")(a)&&a.nodeType==1}e.exports=a}),null);
|
||
|
__d("DOMQuery",["CSS","FBLogger","containsNode","createArrayFromMixed","createObjectFrom","ge","ifRequired","isElementNode","isNode"],(function(a,b,c,d,e,f){__p&&__p();var g=/^\.-?[_a-zA-Z]+[\w-]*$/;function h(a,b){return a.hasAttribute?a.hasAttribute(b):a.getAttribute(b)!==null}var i={find:function(a,b){a=i.scry(a,b);return a[0]},findPushSafe:function(a,b,c){b=i.scry(a,b);a=i.scry(a,c);b.length===1&&a.length===1&&b[0]===a[0]?c=b:c=b.concat(a);return c[0]},scry:function(a,c){__p&&__p();if(!a||!a.getElementsByTagName)return[];c=c.split(" ");var d=[a];for(var e=0;e<c.length;e++){if(d.length===0)break;if(c[e]==="")continue;var f=c[e],i=c[e],j=[],k=!1;if(f.charAt(0)=="^")if(e===0)k=!0,f=f.slice(1);else return[];f=f.replace(/\[(?:[^=\]]*=(?:\"[^\"]*\"|\'[^\']*\'))?|[.#]/g," $&");f=f.split(" ");var l=f[0]||"*",m=l=="*",n=f[1]&&f[1].charAt(0)=="#";if(n){n=b("ge")(f[1].slice(1),a,l);if(n&&(m||n.tagName.toLowerCase()==l))for(var o=0;o<d.length;o++)if(k&&b("containsNode")(n,d[o])){j=[n];break}else if(document==d[o]||b("containsNode")(d[o],n)&&d[o]!==n){j=[n];break}}else{n=[];o=d.length;var p,q=!k&&i.indexOf("[")<0&&document.querySelectorAll;for(var r=0;r<o;r++){if(k){p=[];var s=d[r].parentNode;while(b("isElementNode")(s))(m||s.tagName.toLowerCase()==l)&&p.push(s),s=s.parentNode}else q?g.test(i)?p=d[r].getElementsByClassName(i.substring(1)):p=d[r].querySelectorAll(i):p=d[r].getElementsByTagName(l);s=p.length;for(var t=0;t<s;t++)n.push(p[t])}if(!q)for(var p=1;p<f.length;p++){s=f[p];t=s.charAt(0)==".";m=s.substring(1);for(r=0;r<n.length;r++){o=n[r];if(!o||o.nodeType!==1)continue;if(t){b("CSS").hasClass(o,m)||delete n[r];continue}else{i=s.slice(1,s.length-1);l=i.indexOf("=");if(l<0){if(!h(o,i)){delete n[r];continue}}else{q=i.substr(0,l);i=i.substr(l+1);i=i.slice(1,i.length-1);if(o.getAttribute(q)!=i){delete n[r];continue}}}}}for(r=0;r<n.length;r++)if(n[r]){j.push(n[r]);if(k)break}}d=j}return d},getSelection:function(){var a=window.getSelection;if(a)return a()+"";else{a=document.selection;if(a)return a.createRange().text}return null},contains:function(a,c){(typeof a==="string"||typeof c==="string")&&b("FBLogger")("dom_query").info("Support for node IDs is deprecated. Use containsNode(ge(<id1>), ge(<id2>)) 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("EventProfiler",["requireCond","cr:708886"],(function(a,b,c,d,e,f){e.exports=b("cr:708886")}),null);
|
||
|
__d("Scroll",[],(function(a,b,c,d,e,f){__p&&__p();function g(a,b){return!!b&&(a===b.documentElement||a===b.body)}a={getTop:function(a){var b=a.ownerDocument;return g(a,b)?b.body.scrollTop||b.documentElement.scrollTop:a.scrollTop},setTop:function(a,b){var c=a.ownerDocument;g(a,c)?c.body.scrollTop=c.documentElement.scrollTop=b:a.scrollTop=b},getLeft:function(a){var b=a.ownerDocument;return g(a,b)?b.body.scrollLeft||b.documentElement.scrollLeft:a.scrollLeft},setLeft:function(a,b){var c=a.ownerDocument;g(a,c)?c.body.scrollLeft=c.documentElement.scrollLeft=b:a.scrollLeft=b}};e.exports=a}),null);
|
||
|
__d("clickRefAction",["Arbiter"],(function(a,b,c,d,e,f){__p&&__p();function g(b,a,c,d,e){var f=b+"/"+a;this.ue=f;this._ue_ts=b;this._ue_count=a;this._context=c;this._ns=null;this._node=d;this._type=e}g.prototype.set_namespace=function(a){this._ns=a;return this};g.prototype.coalesce_namespace=function(a){this._ns===null&&(this._ns=a);return this};g.prototype.add_event=function(){return this};var h=0,i=[],j=Date.now()+6e4;function c(a,c,d,e,f){__p&&__p();var k=Date.now(),l=d&&d.type;f=f||{};!c&&d&&(c=d.getTarget());var m=50;if(c&&e!="FORCE")for(var n=i.length-1;n>=0&&k-i[n]._ue_ts<m;--n)if(i[n]._node==c&&i[n]._type==l)return i[n];n=new g(k,h,a,c,l);i.push(n);while(i[0]._ue_ts+m<k||i.length>10)i.shift();l=k<j?"persistent":"event";a=="contextmenu"?b("Arbiter").inform("ClickRefAction/contextmenu",{cfa:n,node:c,mode:e,event:d,extra_data:f},l):a=="middleclick"?b("Arbiter").inform("ClickRefAction/middleclick",{cfa:n,node:c,mode:e,event:d,extra_data:f},l):b("Arbiter").inform("ClickRefAction/new",{cfa:n,node:c,mode:e,event:d,extra_data:f},l);h++;return n}e.exports=a.clickRefAction=c}),null);
|
||
|
__d("getDocumentScrollElement",[],(function(a,b,c,d,e,f){"use strict";var g=typeof navigator!=="undefined"&&navigator.userAgent.indexOf("AppleWebKit")>-1;function a(a){a=a||document;return a.scrollingElement?a.scrollingElement:!g&&a.compatMode==="CSS1Compat"?a.documentElement:a.body}e.exports=a}),null);
|
||
|
__d("getObjectValues",[],(function(a,b,c,d,e,f){function a(a){var b=[];for(var c in a)b.push(a[c]);return b}e.exports=a}),null);
|
||
|
__d("Event",["Arbiter","DataStore","DOMEvent","DOMEventListener","DOMQuery","ErrorUtils","EventProfiler","ExecutionEnvironment","FBLogger","Parent","Scroll","TAAL","TimeSlice","UserAgent","$","clickRefAction","dedupString","getDocumentScrollElement","getObjectValues"],(function(a,b,c,d,e,f){__p&&__p();var g=a.Event,h="Event.listeners";g.prototype||(g.prototype={});function i(a){(a.type==="click"||a.type==="mouseover"||a.type==="keydown")&&b("Arbiter").inform("Event/stop",{event:a})}function j(a,b,c){this.target=a,this.type=b,this.data=c}Object.assign(j.prototype,{getData:function(){this.data=this.data||{};return this.data},stop:function(){return g.stop(this)},prevent:function(){return g.prevent(this)},isDefaultPrevented:function(){return g.isDefaultPrevented(this)},kill:function(){return g.kill(this)},getTarget:function(){return new(b("DOMEvent"))(this).target||null}});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 g.prototype)try{a[b]=g.prototype[b]}catch(a){}return a}Object.assign(g.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);Object.assign(g,{listen:function(a,c,d,e,f){__p&&__p();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,k,c,e,l,f);typeof a==="string"&&(a=b("$")(a));typeof e==="undefined"&&(e=g.Priority.NORMAL);if(typeof c==="object"){var i={};for(var j in c)i[j]=g.listen(a,j,c[j],e,f);return i}if(c.match(/^on/i))throw new TypeError("Bad event name `"+c+"': use `click', not `onclick'.");if(!a){i=new Error(b("TAAL").blameToPreviousFrame("Cannot listen to an undefined element."));b("FBLogger")("event").catching(i).mustfix("Tried to listen to element of type %s",c);throw i}if(a.nodeName=="LABEL"&&c=="click"){i=a.getElementsByTagName("input");a=i.length==1?i[0]:a}else if(a===window&&c==="scroll"){i=b("getDocumentScrollElement")();i!==document.documentElement&&i!==document.body&&(a=i)}var k=b("DataStore").get(a,h,{});i=m[c];i&&(c=i.base,i.wrap&&(d=i.wrap(d)));o(a,k,c,f);i=k[c];e in i||(i[e]=[]);var l=i[e].length;d=new s(a,d,k,c,e,l,f);i[e][l]=d;i.numHandlers++;f.passive||(i.numNonPassiveHandlers++,n(a,k[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){__p&&__p();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")(g.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=g.__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=g.__getHandler(a,b);if(a)return a(k(c))},__getHandler:function(a
|
||
|
__d("Base64",[],(function(a,b,c,d,e,f){__p&&__p();var g="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";function h(a){a=a.charCodeAt(0)<<16|a.charCodeAt(1)<<8|a.charCodeAt(2);return String.fromCharCode(g.charCodeAt(a>>>18),g.charCodeAt(a>>>12&63),g.charCodeAt(a>>>6&63),g.charCodeAt(a&63))}var i=">___?456789:;<=_______\0\x01\x02\x03\x04\x05\x06\x07\b\t\n\v\f\r\x0e\x0f\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19______\x1a\x1b\x1c\x1d\x1e\x1f !\"#$%&'()*+,-./0123";function j(a){a=i.charCodeAt(a.charCodeAt(0)-43)<<18|i.charCodeAt(a.charCodeAt(1)-43)<<12|i.charCodeAt(a.charCodeAt(2)-43)<<6|i.charCodeAt(a.charCodeAt(3)-43);return String.fromCharCode(a>>>16,a>>>8&255,a&255)}var k={encode:function(a){a=unescape(encodeURI(a));var b=(a.length+2)%3;a=(a+"\0\0".slice(b)).replace(/[\s\S]{3}/g,h);return a.slice(0,a.length+b-2)+"==".slice(b)},decode:function(a){a=a.replace(/[^A-Za-z0-9+\/]/g,"");var b=a.length+3&3;a=(a+"AAA".slice(b)).replace(/..../g,j);a=a.slice(0,a.length+b-3);try{return decodeURIComponent(escape(a))}catch(a){throw new Error("Not valid UTF-8")}},encodeObject:function(a){return k.encode(JSON.stringify(a))},decodeObject:function(a){return JSON.parse(k.decode(a))},encodeNums:function(a){return String.fromCharCode.apply(String,a.map(function(a){return g.charCodeAt((a|-(a>63?1:0))&-(a>0?1:0)&63)}))}};e.exports=k}),null);
|
||
|
__d("CookieStore",["CookieCoreLoggingConfig","FBLogger","Random","gkx","performanceNow","requireDeferred"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g=b("requireDeferred")("BanzaiScuba");function h(a,b,c,d,e,f,g){return b+"="+encodeURIComponent(c)+"; "+(f!==0&&f!=void 0?"expires="+new Date(a+f).toUTCString()+"; ":"")+"path="+d+"; domain="+e+(g?"; secure":"")}function i(a,b,c){return a+"=; expires=Thu, 01-Jan-1970 00:00:01 GMT; path="+b+"; domain="+c}function j(){if(b("CookieCoreLoggingConfig").sampleRate>0){var a=b("performanceNow")(),c=document.cookie;a=b("performanceNow")()-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 k=function(){__p&&__p();function a(){this.$1=0}var c=a.prototype;c.setCookie=function(a,b,c,d,e,f,g){document.cookie=h(a,b,c,d,e,f,g)};c.clearCookie=function(a,b,c){document.cookie=i(a,b,c)};c.getCookie=function(a){this.$1++;var c=b("performanceNow")();a=j().match("(?:^|;\\s*)"+a+"=(.*?)(?:;|$)");c=b("performanceNow")()-c;var d=1/b("CookieCoreLoggingConfig").sampleRateClassic,e=b("Random").coinflip(d);e&&l(d,"classic",c,this.$1);return a?decodeURIComponent(a[1]):null};return a}();function l(a,b,c,d,e,f){g.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 m=10*1e3,n=function(){__p&&__p();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){document.cookie=h(a,b,c,d,e,f,g),this.$1[b]={value:c,updated:a}};c.clearCookie=function(a,b,c){document.cookie=i(a,b,c),this.$1[a]={value:null,updated:Date.now()}};c.getCookie=function(a){__p&&__p();var c=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=b("performanceNow")()-c;l(e,"fast_stale",f,this.$3,this.$4,a)}return d};c.$5=function(a){__p&&__p();var b=Date.now(),c=this.$1[a];if(!c){if(this.$2+m<b){this.$6();return{cookie:this.$5(a).cookie,hit:!1}}this.$3++;return{cookie:null,hit:!0}}if(c.updated+m<b){this.$6();return{cookie:this.$5(a).cookie,hit:!1}}this.$3++;return{cookie:c.value,hit:!0}};c.$6=function(){__p&&__p();this.$4++;var a=j().split(";");this.$2=Date.now();this.$1={};for(var a=a,b=Array.isArray(a),c=0,a=b?a:a[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var d;if(b){if(c>=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 n():new k()},CookieCacheForTest:n,CookieStoreSlowForTest:k}}),null);
|
||
|
__d("CookieCore",["CookieCoreConfig","CookieStore"],(function(a,b,c,d,e,f){__p&&__p();var g=/^.*(\.(facebook|messenger|oculus|instagram|facebookcorewwwi|workplace)\..*)$/i,h=/_js_(.*)/,i;function j(){i||(i=b("CookieStore").newCookieStore());return i}function k(a){return window.self!=window.top?!1:!0}var l={set:function(a,b){if(!o(a))return;l.setWithoutChecks(a,b,q(a),r(a),p(a))},setWithoutChecks:function(a,b,c,d,e){var f=Date.now();if(c!=null)if(c>f)c-=f;else if(c==1){l.clear(a,d);return}j().setCookie(f,a,b,d,window.location.hostname.replace(g,"$1"),c,e)},setIfFirstPartyContext:function(a,b){if(!k(a))return;l.set(a,b)},setWithoutChecksIfFirstPartyContext:function(a,b,c,d,e){if(!k(a))return;l.setWithoutChecks(a,b,c,d,e)},clear:function(a,b){b===void 0&&(b="/"),b=b||"/",j().clearCookie(a,b,window.location.hostname.replace(g,"$1"))},get:function(a){return!o(a)?null:j().getCookie(a)}};function m(a){return{insecure:a.i||!1,path:a.p||"/",ttlSeconds:a.t||0}}function n(a){if(b("CookieCoreConfig")[a]!==void 0)return m(b("CookieCoreConfig")[a]);a=a.match(h);return a&&a.length>1?n(a[1]):null}function o(a){return n(a)!==null}function p(a){a=n(a);return a==null?!0:!a.insecure}function q(a){a=n(a);return a==null?null:a.ttlSeconds*1e3}function r(a){a=n(a);return a==null?"/":a.path}e.exports=l}),null);
|
||
|
__d("Cookie",["Bootloader","CookieConsent","CookieCore"],(function(a,b,c,d,e,f){__p&&__p();function g(a){if(b("CookieConsent").isDeferCookies()){b("Bootloader").loadModules(["BanzaiODS"],function(b){b.bumpEntityKey("defer_cookies","set."+a)},"Cookie");return!1}return!0}function h(){return!b("CookieConsent").isCookiesBlocked()}function a(a,c){if(!h()||!g(a))return;b("CookieCore").set(a,c)}function c(a,c){if(!h())return;b("CookieCore").set(a,c)}function d(a,c,d,e,f){if(!h()||!g(a))return;b("CookieCore").setWithoutChecks(a,c,d,e,f)}e.exports=babelHelpers["extends"]({},b("CookieCore"),{set:a,setWithoutChecks:d,setWithoutCheckingUserConsent_DANGEROUS:c})}),null);
|
||
|
__d("PageNavigationStageLoggerKeys",[],(function(a,b,c,d,e,f){e.exports=Object.freeze({LOAD_STAGE:"a",REFERER_MODIFIED_CLICK:"b",REFERER_SCRIPT_PATH:"c",TARGET_URL_PATH:"d",NOTES:"e"})}),null);
|
||
|
__d("PageNavigationStageLogger",["Arbiter","Base64","BigPipe","Cookie","PageNavigationStageLoggerKeys","Run","ScriptPath","URI","emptyFunction","setImmediateAcrossTransitions"],(function(a,b,c,d,e,f){__p&&__p();var g=null,h=null,i="first_byte";b("Run").onLoad(function(){i="onload"});b("Run").onAfterLoad(function(){i="onafterload",h&&h.unsubscribe(),h=null});var j=!1,k=null,l={init:function(){l.init=b("emptyFunction"),g=b("Arbiter").subscribe(b("BigPipe").Events.init,function(a,c){g&&g.unsubscribe(),g=null,i=b("BigPipe").Events.init,h=c.arbiter.subscribe(Object.values(b("BigPipe").Events),function(a){i=a})})},updateCookie:function(){if(k==null)return;var a=b("Base64").encode(JSON.stringify(k));b("Cookie").set("pnl_data2",a)},setNote:function(a){if(k==null)return;k[b("PageNavigationStageLoggerKeys").NOTES].push(a)},setCookieForNavigation:function(a,c){__p&&__p();if(!j){var d;try{a=new(b("URI"))(a).getPath()}catch(a){return}k=(d={},d[b("PageNavigationStageLoggerKeys").LOAD_STAGE]=i,d[b("PageNavigationStageLoggerKeys").REFERER_SCRIPT_PATH]=b("ScriptPath").getScriptPath(),d[b("PageNavigationStageLoggerKeys").REFERER_MODIFIED_CLICK]=c?c.getModifiers().any||c.which&&c.which!==1:!1,d[b("PageNavigationStageLoggerKeys").TARGET_URL_PATH]=a,d[b("PageNavigationStageLoggerKeys").NOTES]=[],d);j=!0;b("setImmediateAcrossTransitions")(function(){k=null,j=!1})}l.updateCookie()}};e.exports=l}),null);
|
||
|
__d("getSurfaceAwareContainer",["ge"],(function(a,b,c,d,e,f){"use strict";function a(){var a=b("ge")("workGalahadWebChromeEntity");return a?a:document.body}e.exports=a}),null);
|
||
|
__d("snowliftLoadingSpinner",["cx","CSS"],(function(a,b,c,d,e,f,g){"use strict";function a(a){b("CSS").addClass(a,"_1m42");return function(){b("CSS").removeClass(a,"_1m42")}}e.exports=a}),null);
|
||
|
__d("PhotoSnowliftLoader",["Arbiter","Bootloader","EventProfiler","FBLogger","PageEvents","getSurfaceAwareContainer","ifRequired","snowliftLoadingSpinner"],(function(a,b,c,d,e,f){"use strict";__p&&__p();function g(a,c,d){if(a&&a.offer_bypass_snowlift==="1"){b("EventProfiler").tagCurrentActiveInteractionsAs("SnowliftOffer");m.loadFrame(d);b("Bootloader").loadModules(["AsyncRequest"],function(a){new a().setURI(c).send()},"PhotoSnowliftLoader");return!0}return!1}function h(a,c,d){if(a&&a.offerx_bypass_snowlift==="1"){b("EventProfiler").tagCurrentActiveInteractionsAs("SnowliftOfferX");m.loadFrame(d);b("Bootloader").loadModules(["AsyncRequest","XOfferController"],function(b,c){c=c.getURIBuilder().setFBID("offer_id",a.offerx_id).setEnum("referrer",a.offerx_referrer).setStringVector("__xts__",a.__xts__).setString("__tn__",a.__tn__).getURI();new b().setURI(c).send()},"PhotoSnowliftLoader");return!0}return!1}function i(a,c,d){if(a&&a.sales_promo_bypass_snowlift==="1"){b("EventProfiler").tagCurrentActiveInteractionsAs("SnowliftSalesPromo");m.loadFrame(d);b("Bootloader").loadModules(["AsyncRequest","XSalesPromoWWWDetailsDialogAsyncController"],function(b,c){c=c.getURIBuilder().setFBID("offer_id",a.sales_promo_id).setString("referrer",a.sales_promo_referrer).setStringVector("__xts__",a.__xts__).setString("__tn__",a.__tn__).getURI();new b().setURI(c).send()},"PhotoSnowliftLoader");return!0}return!1}var j=function(){};b("Arbiter").subscribe("PhotoSnowlift.OPEN",function(){j()});b("Arbiter").subscribe("SalesPromoDetails.OPEN",function(){j()});b("Arbiter").subscribe("OfferDetails.OPEN",function(){j()});var k=!1,l="",m={STAGE_NORMAL_MAX:{x:960,y:960},SIDEBAR_SIZE_MAX:360,STAGE_CHROME:{x:82,y:42},load:function(a,c,d){__p&&__p();var e=this;b("Bootloader").loadModules(["URI"],function(f){l="";j();j=b("snowliftLoadingSpinner")(c);var g=String(f.getMostRecentURI().getQueryData().viewas),h=new f(a).getQueryData();h=m.shouldUseSnowlift(h,a,c,g);if(h){c.getAttribute("data-ploi")&&(h=new Image(),h.src=new f(m.getImageURL(c)));e.loadWithSnowLift(a,c,g,d)}},"PhotoSnowliftLoader")},loadWithSnowLift:function(a,c,d,e){m.loadFrame(d),b("Bootloader").loadModules(["Live","PhotoTagApproval","PhotoTagger","PhotoTags","TagTokenizer"],function(){},"PhotoSnowliftLoader"),b("Bootloader").loadModules(["PhotoSnowlift"],function(b){b.bootstrap(a,c)},e)},loadFrame:function(a){if(k)return;k=!0;var c=a?{viewas:a}:{};b("Bootloader").loadModules(["AsyncRequest"],function(a){new a("/ajax/photos/snowlift/init.php").setAllowCrossPageTransition(!0).setMethod("GET").setReadOnly(!0).setData(c).setErrorHandler(function(a){b("FBLogger")("photo_snowlift").catching(a.toError()).warn("failed to initialize snowlift")}).send()},"PhotoSnowliftLoader")},shouldUseSnowlift:function(a,b,c,d){c=g(a,b,d);var e=h(a,b,d);a=i(a,b,d);return!c&&!a&&!e},getImageURL:function(a){l===""&&b("ifRequired")("URI",function(b){var c=a.getAttribute("data-ploi"),d=a.getAttribute("data-plsi");b=new b(a.getAttribute("ajaxify")).getQueryData().size.split(",");d&&!m.shouldShowHiRes({hasSmallImage:!!d,dimensions:{x:b[0],y:b[1]}})?l=d:c?l=c:l=""});return l},shouldShowHiRes:function(a){__p&&__p();b("ifRequired")("Vector",function(b){__p&&__p();if(!a.hasSmallImage)return!1;b=m.getStageSize(a.dimensions);if(b){b=m.adjustStageSizeForPixelRatio(b);b=m.getImageSizeInStage(a.dimensions,b);if(b)return b.x>m.STAGE_NORMAL_MAX.x||b.y>m.STAGE_NORMAL_MAX.y}return!1});return!1},getStageSize:function(a){__p&&__p();b("ifRequired")("Vector",function(b){var c=b.getViewportDimensions(),d=new b(a.x,a.y),e;e=Math.min(d.x,c.x-m.SIDEBAR_SIZE_MAX-m.STAGE_CHROME.x);c=c.y-m.STAGE_CHROME.y;c=Math.min(d.y,c);if(e===0&&c===0)return new b(0,0);var f=e/c;d=d.x/d.y;return f<d?new b(e,Math.round(e/d)):new b(Math.round(c*d),c)})},adjustStageSizeForPixelRatio:function(a){b("ifRequired")("Vector",function(b){window.devicePixelRatio&&window.devicePixelRatio>1&&(a=new b(a.x*window.devicePixelRatio,a.y*window.devicePixelRatio))});return a},getImageSizeInStage:function(a,c){b("ifRequired")("Vector",function(b){var d=a.x,e=a.y;if(d>=c.x||e>=c.y){var
|
||
|
__d("PrimerInlineHandlers",["Bootloader","CSS","Parent","nullthrows","uniqueID"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g={},h=new Map();function i(a,c){var d=b("nullthrows")(a.id);d in g||(g[d]=0);g[d]===0&&b("CSS").addClass(a,"bootloading");g[d]+=c}function j(a){var c=b("nullthrows")(a.id);g[c]--;g[c]===0&&b("CSS").removeClass(a,"bootloading")}function k(a,b,c,d){__p&&__p();var e=d!==void 0?c[d]:c,f;if(Array.isArray(e))for(f=0;f<e.length;f++)k(a,b,e,f);else if(e&&typeof e==="object")if(e.__elem)c[d]=a;else if(e.__event)c[d]=b;else for(var g in e)k(a,b,e,g)}function l(a,c,d){__p&&__p();var f=b("Parent").byClass(a,"stat_elem")||a;f.id||f.setAttribute("id",b("uniqueID")());d=JSON.parse(a.getAttribute(d));i(f,d.length);d.forEach(function(d){__p&&__p();d=Array.isArray(d)?m(d):n(d);var g=d.moduleName,i=d.methodName,l=d.logicalKey,o=d.args;k(a,c,o);var p=b("Bootloader").loadModules.call(b("Bootloader"),[g],function(a){j(f),a[i].apply(a,o)},"Primer: addEventHandler");if(l!=null){d=h.get(l);d!==void 0&&d();h.set(l,function(){p.remove(),j(a)})}})}function m(a){var b=a[0],c=a[1];a=a.slice(2);return{moduleName:b,methodName:c,args:a}}function n(a){var b=a.k,c=a.mod,d=a.meth;a=a.a;return{logicalKey:b,moduleName:c,methodName:d,args:a}}a={run:function(a,c,d){a=b("Parent").byAttribute(a,d);if(!a)return null;do l(a,c,d);while(a=b("Parent").byAttribute(a.parentNode,d));return!1}};e.exports=a}),null);
|
||
|
__d("ReactServerPrimer",["FBLogger","Parent","requireWeak"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g=new Map();function h(a){__p&&__p();while(a&&a instanceof Node){if(a instanceof HTMLElement&&a.getAttribute("data-sr-before"))break;var c=a.previousSibling;c?a=c:a=a.parentNode}if(a instanceof HTMLElement)return a;else{b("FBLogger")("ServerCallables").mustfix("Failed to find wrapping data-sr-before mount");return null}}function i(a,c,d){__p&&__p();var e=h(c);if(!e)return null;var f=!1,i=g.get(e);i||(i=[],g.set(e,i),f=!0);i.push(function(){var b=new a.constructor(a.type,a),e=d===void 0?c:d;e.dispatchEvent(b)});f&&b("requireWeak")("ReactServerRenderer",function(a){a.dequeueHydrate(e)});return!1}function a(a,c,d){a=b("Parent").byAttribute(d,a);return!a?null:i(c,a,d)}function c(a){var b=g.get(a);b!=null&&b.forEach(function(a){a()});g["delete"](a)}e.exports={findSRBeforeMountElem:h,handleEvent:a,queueEvent:i,notifyReactHydrateMount:c}}),null);
|
||
|
__d("firstClickTimestamp",["DataStore"],(function(a,b,c,d,e,f){"use strict";var g="first-click-timestamp";a={setIfFirstClick:function(a,c){var d=b("DataStore").get(a,g);d||b("DataStore").set(a,g,c.toString())},get:function(a){a=b("DataStore").get(a,g);return Number(a)}};e.exports=a}),null);
|
||
|
__d("trackReferrer",["Cookie","Parent"],(function(a,b,c,d,e,f){__p&&__p();var g=/^(?:(?:[^:\/?#]+):)?(?:\/\/(?:[^\/?#]*))?([^?#]*)(?:\?([^#]*))?(?:#(.*))?/;function h(a){return g.exec(a)[1]||""}function a(a,c){a=b("Parent").byAttribute(a,"data-referrer");if(a){c=h(c);if(!c)return;c=c+"|"+a.getAttribute("data-referrer");b("Cookie").set("x-src",c)}}e.exports=a}),null);
|
||
|
__d("Primer",["invariant","Bootloader","CSS","Env","Event","PageNavigationStageLogger","Parent","PhotoSnowliftLoader","PrimerInlineHandlers","ReactServerPrimer","TimeSlice","clickRefAction","firstClickTimestamp","ifRequired","performanceNow","trackReferrer"],(function(a,b,c,d,e,f,g){__p&&__p();var h=null,i=/async(?:-post)?|dialog(?:-post)?|theater|toggle/;a=document.documentElement;a!=null||g(0,2301);function j(a,c,d,e){__p&&__p();b("firstClickTimestamp").setIfFirstClick(c,b("performanceNow")());var f=c.getAttribute("ajaxify"),h=c.href,j=e!=null&&e!==""?e:f||h;j&&b("clickRefAction")("a",c,a).coalesce_namespace("primer");if(f&&h&&!/#$/.test(h)){e=a.which&&a.which===2;f=a.altKey||a.ctrlKey||a.metaKey||a.shiftKey;if(e||f)return}e=b("PrimerInlineHandlers").run(d,a,"data-onclick");b("trackReferrer")(c,j);var k=c.rel&&c.rel.match(i);k=k&&k[0];h&&b("PageNavigationStageLogger").setCookieForNavigation(h,a);f="Primer: "+k;switch(k){case"dialog":case"dialog-post":b("Bootloader").loadModules(["AsyncDialog"],function(a){a.bootstrap(j,c,k)},f);break;case"async":case"async-post":b("Bootloader").loadModules(["AsyncRequest"],function(a){a.bootstrap(j,c)},f);break;case"theater":!b("Env").isCQuick?b("PhotoSnowliftLoader").load(j,c,f):b("ifRequired")("PageTransitions",function(a){a.go(j)});break;case"toggle":d=c.parentNode;d!=null||g(0,2302);b("CSS").toggleClass(d,"openToggler");b("Bootloader").loadModules(["Toggler"],function(a){if(c.parentNode==null)return;a.bootstrap(c)},f);break;default:b("ifRequired")("PageTransitionsRegistrar",function(b){b.__onClick(a)},function(){b("PageNavigationStageLogger").setNote("primer_no_pagetrans"),b("PageNavigationStageLogger").updateCookie()});return e}return!1}b("Event").listen(document,"click",function(a){a=a||window.event;if(a.button>=2)return;h=a.target||a.srcElement;var c=b("Parent").byTag(h,"A");c instanceof HTMLAnchorElement?c=j(a,c,h):c=b("PrimerInlineHandlers").run(h,a,"data-onclick");c==null&&(c=b("ReactServerPrimer").handleEvent("data-sr-onclick",a,h));return c},b("Event").Priority._BUBBLE);b("Event").listen(document,"submit",function(a){__p&&__p();var c=a.getTarget(),d=c&&c.getAttribute("rel");if(c&&c.nodeName=="FORM"&&(d=="async"||d==="dialog")){b("clickRefAction")("f",c,a).coalesce_namespace("primer");var e=h;switch(d){case"async":b("Bootloader").loadModules(["FormSubmit"],function(a){a.send(c,e)},"Primer: async");break;case"dialog":b("Bootloader").loadModules(["FormSubmit","AsyncDialog"],function(a,b){a=a.buildRequest(c,e);a&&b.send(a)},"Primer: form dialog");break}return!1}else return b("ifRequired")("PageTransitionsRegistrar",function(b){return b.__onSubmit(a,h)})},b("Event").Priority._BUBBLE);var k=null;c=function(a,c){c=c||window.event;k=c.target||c.srcElement;var d=b("PrimerInlineHandlers").run(k,c,"data-on"+a);l();a==="mouseover"&&(m(),d==null&&k&&(d=b("ReactServerPrimer").handleEvent("data-sr-onmouseover",c,k)))};d=function(a,b){b=b||window.event,k=b.relatedTarget||b.toElement};var l=function(){var a=k,c=b("Parent").byAttribute(k,"data-hover");if(c){switch(c.getAttribute("data-hover")){case"tooltip":b("Bootloader").loadModules(["Tooltip"],function(b){k===a&&b.process(c,k)},"Primer: tooltip");break}return}},m=function(){var a=k,c=b("Parent").byAttribute(a,"data-hovercard");c&&b("Bootloader").loadModules(["Hovercard"],function(b){k===a&&b.processNode(c)},"Primer: hovercard")};a.onmouseover=b("TimeSlice").guard(c.bind(null,"mouseover"),"Primer mouseover");a.onmouseout=b("TimeSlice").guard(d.bind(null,"mouseout"),"Primer mouseout");f=b("TimeSlice").guard(c.bind(null,"focus"),"Primer focus");a.addEventListener?a.addEventListener("focus",f,!0):a.attachEvent("onfocusin",f);d=b("TimeSlice").guard(c.bind(null,"keypress"),"Primer keypress");a.addEventListener&&a.addEventListener("keypress",d,!0);b("PageNavigationStageLogger").init();b("PhotoSnowliftLoader").preload();e.exports={primerHandleAjaxify:j}}),null);
|
||
|
__d("ChatConfig",["invariant","ChatConfigInitialData"],(function(a,b,c,d,e,f,g){__p&&__p();var h=Object.assign({},b("ChatConfigInitialData")),i={get:function(a,b){return a in h?h[a]:b},getBool:function(a){return!!i.get(a,!1)},getNumber:function(a,b){b===void 0&&(b=0);if(a in h){typeof h[a]==="number"||g(0,3109);return h[a]}return b},set:function(a,b){h[a]=b},getDebugInfo:function(){return h}};e.exports=i}),null);
|
||
|
__d("SidebarPrelude",["Arbiter","Bootloader","ChatConfig","CSS","URI","setTimeout"],(function(a,b,c,d,e,f){__p&&__p();var g=b("ChatConfig").get("sidebar.hide_buddylist_off_homepage"),h="buddylistOff",i="sidebarMode";a={addSidebarMode:function(a){var c=document.documentElement;c&&(g&&!this.isOnHomepage()?b("CSS").addClass(c,h):(b("CSS").removeClass(c,h),g&&b("setTimeout")(function(){b("Bootloader").loadModules(["Dock"],function(a){a.resizeAllFlyouts()},"SidebarPrelude")})),c.clientWidth>a&&(b("CSS").addClass(c,i),b("Arbiter").inform("sidebar/visibility",!0,"state")))},addBuddylistMode:function(){var a=document.documentElement;a&&(g&&!this.isOnHomepage()?b("CSS").addClass(a,h):(b("CSS").removeClass(a,h),g&&b("setTimeout")(function(){b("Bootloader").loadModules(["Dock"],function(a){a.resizeAllFlyouts()},"SidebarPrelude")})))},isOnHomepage:function(){return new(b("URI"))(window.location.href).getPath()==="/"}};e.exports=a}),null);
|
||
|
__d("SubmitOnEnterListener",["Bootloader","CSS"],(function(a,b,c,d,e,f){__p&&__p();document.documentElement.onkeydown=function(a){__p&&__p();a=a||window.event;var c=a.target||a.srcElement;a=a.keyCode==13&&!a.altKey&&!a.ctrlKey&&!a.metaKey&&!a.shiftKey&&b("CSS").hasClass(c,"enter_submit");if(a){b("Bootloader").loadModules(["DOM","Input","trackReferrer","Form"],function(a,b,d,e){if(!b.isEmpty(c)){b=c.form;a=a.scry(b,".enter_submit_target")[0]||a.scry(b,'[type="submit"]')[0];if(a){e=e.getAttribute(b,"ajaxify")||e.getAttribute(b,"action");e&&d(b,e);a.click()}}},"SubmitOnEnterListener");return!1}}}),null);
|
||
|
__d("SyntaxErrorMonitor",["Cookie","ErrorUtils"],(function(a,b,c,d,e,f){__p&&__p();var g="js_ver",h=864e5,i=1262304e6,j=null;function k(a){return a.name=="SyntaxError"||/syntaxerror/i.test(a.message)}function l(a){__p&&__p();if(k(a)){a=b("Cookie").get(g);var c=Math.floor((Date.now()-i)/h);if(!a||c-a>=j.bump_freq_day){b("Cookie").set(g,c);a||(a=c);var d=encodeURIComponent(j.cdn_config);d="/ajax/js_bump/?cdn_config="+d+"&days="+c+"&last_update="+a;c=new Image();c.src=d}}}a={init:function(a){j=a,b("ErrorUtils").addListener(l)}};e.exports=a}),null);
|
||
|
__d("CallStackExecutionObserver",["ExecutionContextObservers","ifRequired","uniqueID"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g=null;function h(a,b){__p&&__p();if(b){var c=b.id,d=b.name;b=b.interactions;var e=Error.stackTraceLimit;Error.stackTraceLimit=1e3;var f=new Error().stack;Error.stackTraceLimit=e;b.forEach(function(b){b.inform(a+":"+d,{rawStackTrace:f}).addStringAnnotation("id",c)})}}a={onNewContextCreated:function(a,c,d){__p&&__p();a=b("ifRequired")("TimeSliceAutoclosedInteraction",function(a){return a});a=a?a.getInteractionsActiveRightNow():[];a=a.filter(function(a){return a.isEnabledForMode("full")});if(d&&d.isContinuation&&a.length){var e=b("uniqueID")();d=Error.stackTraceLimit;Error.stackTraceLimit=1e3;var f=new Error().stack;Error.stackTraceLimit=d;a.forEach(function(a){var b=a.inform("created_continuation:"+c,{rawStackTrace:f}).addStringAnnotation("id",e);g&&b.addStringAnnotation("parentID",g);a.trace().addStringAnnotation("has_stack_trace","1")});return{id:e,parentID:g,name:c,interactions:a}}return null},onContextCanceled:function(a,b){h("cancelling_continuation",b)},onBeforeContextStarted:function(a,b,c){a=g;b&&b.id&&(g=b.id);return{executionParentID:a}},onAfterContextStarted:function(a,b,c,d){h("executing_continuation",b);return c},onAfterContextEnded:function(a,b,c,d){c&&(g=c.executionParentID),h("executing_continuation_end",b)},getBeforeID:function(){return b("ExecutionContextObservers").beforeIDs.CALL_STACK},getAfterID:function(){return b("ExecutionContextObservers").afterIDs.CALL_STACK}};e.exports=a}),null);
|
||
|
__d("WorkerUtils",[],(function(a,b,c,d,e,f){"use strict";function b(){try{return"WorkerGlobalScope"in a&&a instanceof a.WorkerGlobalScope}catch(a){return!1}}e.exports={isWorkerContext:b}}),null);
|
||
|
__d("getReusableTimeSliceContinuation",[],(function(a,b,c,d,e,f){"use strict";__p&&__p();function a(a,b,c){__p&&__p();var d=!1,e=a.getGuardedContinuation(c),f=function(b){e(function(){d||(e=a.getGuardedContinuation(c)),b()})};f.last=function(a){var b=e;g();b(a)};f[b]={cancel:function(){d||(a.cancel(e),g(),d=!0)},tokens:[],invoked:!1};function g(){d=!0,e=function(a){a()}}return f}e.exports=a}),null);
|
||
|
__d("TimeSliceImpl",["invariant","CallStackExecutionObserver","CircularBuffer","Env","ErrorUtils","FBLoggerImpl","IntervalTrackingBoundedBuffer","WorkerUtils","getReusableTimeSliceContinuation","nullthrows","performanceAbsoluteNow","wrapFunction"],(function(a,b,c,d,e,f,g){__p&&__p();var h=[],i=[],j="key"+Math.random(),k=1,l=!1,m=0,n=1,o=2,p={},q=m,r=new(b("CircularBuffer"))(100),s=0,t=0;c=b("Env").timesliceBufferSize;c==null&&(c=5e3);var u=new(b("IntervalTrackingBoundedBuffer"))(c),v="stackTraceLimit"in Error,w=[],x=[],y=[];function z(){return A(w)}function A(a){return a.length>0?a[a.length-1]:null}function B(a,c){var d={};b("ErrorUtils").applyWithGuard(F,null,[a,c,d]);b("ErrorUtils").applyWithGuard(G,null,[a,c,d]);w.push(a);x.push(c);y.push(d)}function C(a,b,c){h.forEach(function(d){var e=d.onNewContextCreated(z(),b,c);a[d.getBeforeID()]=e})}function D(a,b){h.forEach(function(c){c.onContextCanceled(a,b[c.getBeforeID()])})}function E(a,b,c){i.forEach(function(d){d.onAfterContextEnded(a,b[d.getBeforeID()],c[d.getBeforeID()],a.meta)})}function F(a,b,c){h.forEach(function(d){var e=d.onBeforeContextStarted(a,b[d.getBeforeID()],a.meta);c[d.getBeforeID()]=e})}function G(a,b,c){h.forEach(function(d){var e=d.onAfterContextStarted(a,b[d.getBeforeID()],c[d.getBeforeID()],a.meta);c[d.getBeforeID()]=e})}function H(){__p&&__p();var a=z(),c=A(x),d=A(y);if(a==null||c==null||d==null){b("FBLoggerImpl")("TimeSlice").mustfix("popped too many times off the timeslice stack");l=!1;return}b("ErrorUtils").applyWithGuard(E,null,[a,c,d]);l=!a.isRoot;w.pop();x.pop();y.pop()}var I={PropagationType:{CONTINUATION:0,EXECUTION:1,ORPHAN:2},guard:function(a,c,d){__p&&__p();typeof a==="function"||g(0,3725);typeof c==="string"||g(0,3726);var e=J(d);if(a[j])return a;e.root||I.checkCoverage();var f;l&&(f=z());var h={},i=0,m=void 0,n=b("Env").deferred_stack_trace_rate||0;n!==0&&Math.random()*n<=1&&b("Env").timeslice_heartbeat_config&&b("Env").timeslice_heartbeat_config.isArtilleryOn&&d&&d.registerCallStack&&(m=b("ErrorUtils").normalizeError(new Error("deferred execution source")));var o={cancel:function(){o.invoked||b("ErrorUtils").applyWithGuard(D,null,[c,h])},tokens:[],invoked:!1};n=function(){__p&&__p();var d=b("performanceAbsoluteNow")(),g,j=k++,n={contextID:j,name:c,isRoot:!l,executionNumber:i++,meta:e,absBeginTimeMs:d};o.invoked||(o.invoked=!0,o.tokens.length&&(o.tokens.forEach(function(a){delete p[a]}),o.tokens=[]));B(n,h);if(f!=null){var q=!!e.isContinuation;f.isRoot?(n.indirectParentID=f.contextID,n.isEdgeContinuation=q):(n.indirectParentID=f.indirectParentID,n.isEdgeContinuation=!!(q&&f.isEdgeContinuation))}var r=b("WorkerUtils").isWorkerContext();l=!0;try{if(!n.isRoot||r)return a.apply(this,arguments);else{var s="TimeSlice"+(c?": "+c:"");g=b("ErrorUtils").applyWithGuard(a,this,[].concat(Array.prototype.slice.call(arguments)),null,s,{deferredSource:m});return g}}finally{var v=z();if(v==null)b("FBLoggerImpl")("TimeSlice").mustfix("timeslice stack misaligned, not logging the block"),l=!1;else{var w=v.isRoot,x=v.contextID,y=v.indirectParentID,A=v.isEdgeContinuation,C=b("performanceAbsoluteNow")();v.absEndTimeMs=C;if(w&&d!=null){t+=C-d;var D=babelHelpers["extends"]({begin:d,end:C,id:x,indirectParentID:y,representsExecution:!0,isEdgeContinuation:f&&A,guard:c},e,a.__SMmeta);u.pushElement(D)}H()}}};n=n;n[j]=o;b("ErrorUtils").applyWithGuard(C,null,[h,c,e]);return n},copyGuardForWrapper:function(a,b){a&&a[j]&&(b[j]=a[j]);return b},cancel:function(a){a=a?a[j]:null;a&&!a.invoked&&(a.cancel(),a.tokens.forEach(function(a){delete p[a]}),a.invoked=!0)},cancelWithToken:function(a){p[a]&&I.cancel(p[a])},registerForCancelling:function(a,b){a&&(b[j]&&(p[a]||(b[j].invoked||(p[a]=b,b[j].tokens.push(a)))))},inGuard:function(){return l},checkCoverage:function(){var a;if(q!==o&&!l){v&&(a=Error.stackTraceLimit,Error.stackTraceLimit=50);var c=new Error("Missing TimeSlice coverage");v&&(Error.stackTraceLimit=a);q===n&&Math.random()<s?b("FBLoggerImpl")("TimeSlice").catching(c).debug("Missing TimeSlice coverage"):q===m&&b("nullthrows")(r).write(c)}},setLogging:function(a,c){if
|
||
|
__d("URLFragmentPrelude",["URLFragmentPreludeConfig"],(function(a,b,c,d,e,f){__p&&__p();a=/^(?:(?:[^:\/?#]+):)?(?:\/\/(?:[^\/?#]*))?([^?#]*)(?:\?([^#]*))?(?:#(.*))?/;var g=/^[^\/\\#!\.\?\*\&\^=]+$/;window.location.href.replace(a,function(a,c,d,e){__p&&__p();var f;f=a=c+(d?"?"+d:"");if(e){var h=e.replace(/^(!|%21)/,"");h=h.charAt(0);if(h!=="/"&&h!=="\\"&&b("URLFragmentPreludeConfig").hashtagRedirect){h=e.match(g);h&&!d&&c=="/"&&(f="/hashtag/"+e)}}f!=a&&window.location.replace(f)})}),null);
|
||
|
__d("VisibilityListener",["Visibility","performanceNow"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g=Date.now()-b("performanceNow")(),h=[],i=!1,j=1e4;h.push({key:g,value:b("Visibility").isHidden()});function k(a,b){if(i||h.length>j){i=!0;return}h.push({key:a+g,value:b})}b("Visibility").addListener(b("Visibility").VISIBLE,function(a){k(a.changeTime,!1)});b("Visibility").addListener(b("Visibility").HIDDEN,function(a){k(a.changeTime,!0)});var l={getHiddenTimings:function(a,c){__p&&__p();if(i)return null;var d;for(var a=h.length-1;a>=0;a--)if(h[a].key<=c){d=h.slice(0,a+1);break}if(d===void 0)return null;d[d.length-1].value!==b("Visibility").isHidden()&&(d[d.length]={key:c,value:b("Visibility").isHidden()});return d},getHiddenTime:function(a,c){__p&&__p();var d=l.getHiddenTimings(a,c);if(!d)return null;if(d.length<2)return b("Visibility").isHidden()?c-a:0;var e=d.length-1;c=d[e].value?c-d[e].key:0;for(--e;e>0;e--)if(d[e].key>a)d[e].value&&(c+=d[e+1].key-d[e].key);else break;d[e].value&&(c=d[e+1].key-a);return c},supported:function(){return!0}};e.exports=l}),3);
|
||
|
__d("bootstrapWebSession",["WebSession","WebSessionDefaultTimeoutMs","performanceNavigationStart"],(function(a,b,c,d,e,f){"use strict";__p&&__p();function g(a){a=b("performanceNavigationStart")()||a;return Number.isInteger(a)?a:null}var h=!1;function a(a){if(h===!0)return;h=!0;a=g(a);a!=null&&a>0&&b("WebSession").extend(a+b("WebSessionDefaultTimeoutMs"))}e.exports=a}),null);
|
||
|
__d("clearTimeoutBlue",["TimerStorage","TimeSlice"],(function(a,b,c,d,e,f){var g=a.__fbNativeClearTimeout||a.clearTimeout,h=b("TimerStorage").TIMEOUT;function c(a){if(a!=null){b("TimerStorage").unset(h,a);var c=h+String(a);b("TimeSlice").cancelWithToken(c)}g(a)}e.exports=c}),null);
|
||
|
__d("legacy:arbiter",["Arbiter"],(function(a,b,c,d,e,f){a.Arbiter=b("Arbiter")}),3);
|
||
|
__d("legacy:bootloader",["Bootloader"],(function(a,b,c,d,e,f){a.Bootloader=b("Bootloader")}),3);
|
||
|
__d("legacy:constructor-cache",["JSCC"],(function(a,b,c,d,e,f){a.JSCC=b("JSCC")}),3);
|
||
|
__d("legacy:css",["CSS"],(function(a,b,c,d,e,f){a.CSS=b("CSS")}),3);
|
||
|
__d("legacy:dom-core",["$","ge"],(function(a,b,c,d,e,f){a.$=a.$||b("$"),a.ge=b("ge")}),3);
|
||
|
__d("legacy:emptyFunction",["emptyFunction"],(function(a,b,c,d,e,f){a.emptyFunction=b("emptyFunction")}),3);
|
||
|
__d("goURI",["URI"],(function(a,b,c,d,e,f){"use strict";e.exports=b("URI").go}),null);
|
||
|
__d("legacy:goURI",["goURI"],(function(a,b,c,d,e,f){a.goURI=b("goURI")}),3);
|
||
|
__d("legacy:onload",["Run","PageEvents"],(function(a,b,c,d,e,f){a.PageEvents=b("PageEvents"),a.onloadRegister_DEPRECATED=b("Run").onLoad,a.onloadRegister=function(){return b("Run").onLoad.apply(this,arguments)},a.onafterloadRegister_DEPRECATED=b("Run").onAfterLoad,a.onafterloadRegister=function(){return b("Run").onAfterLoad.apply(this,arguments)},a.onleaveRegister=b("Run").onLeave,a.onbeforeunloadRegister=b("Run").onBeforeUnload,a.onunloadRegister=b("Run").onUnload}),3);
|
||
|
__d("legacy:parent",["Parent"],(function(a,b,c,d,e,f){a.Parent=b("Parent")}),3);
|
||
|
__d("lowerFacebookDomain",[],(function(a,b,c,d,e,f){b=window.location.hostname.match(/\.(facebook\.sg|facebookcorewwwi\.onion|workplace\.com)$/);var g=b?b[1]:"facebook.com";a.setDomain=function(a){g=a};a.isValidDocumentDomain=function(){return document.domain==g?!0:!1};function a(){document.domain=g}e.exports=a}),null);
|
||
|
__d("lowerDomain",["lowerFacebookDomain"],(function(a,b,c,d,e,f){((a=document.domain)!=null?a:"").toLowerCase().match(/(^|\.)(facebook|facebookcorewwwi|workplace)\..*/)&&b("lowerFacebookDomain")()}),null);
|
||
|
__d("markJSEnabled",[],(function(a,b,c,d,e,f){a=document.documentElement;a.className=a.className.replace("no_js","")}),null);
|
||
|
__d("setTimeoutBlue",["TimerStorage","TimeSlice","setTimeoutAcrossTransitions"],(function(a,b,c,d,e,f){__p&&__p();function a(a,c){__p&&__p();var d,e=function(){b("TimerStorage").unset(b("TimerStorage").TIMEOUT,d);for(var c=arguments.length,e=new Array(c),f=0;f<c;f++)e[f]=arguments[f];Function.prototype.apply.call(a,this,e)};b("TimeSlice").copyGuardForWrapper(a,e);for(var f=arguments.length,g=new Array(f>2?f-2:0),h=2;h<f;h++)g[h-2]=arguments[h];d=b("setTimeoutAcrossTransitions").apply(void 0,[e,c].concat(g));b("TimerStorage").set(b("TimerStorage").TIMEOUT,d);return d}e.exports=a}),null);
|
||
|
__d("wait_for_load",["Run"],(function(a,b,c,d,e,f){__p&&__p();function c(a,c,d){__p&&__p();d=d.bind(a,c);if(window.domready)return d();switch((c||event).type){case"load":case"focus":b("Run").onAfterLoad(d);return;case"click":var e=a.style,f=document.body.style;e.cursor=f.cursor="progress";b("Run").onAfterLoad(function(){e.cursor=f.cursor="",a.tagName.toLowerCase()=="a"?!1!==d()&&a.href&&(window.location.href=a.href):a.click&&a.click()});break}return!1}a.wait_for_load=c}),3);
|