/*1777246714,,JIT Construction: v1038178437,en_US*/
/**
* Copyright (c) 2017-present, Facebook, Inc. All rights reserved.
*
* You are hereby granted a non-exclusive, worldwide, royalty-free license to use,
* copy, modify, and distribute this software in source code or binary form for use
* in connection with the web services and APIs provided by Facebook.
*
* As with any software that integrates with the Facebook platform, your use of
* this software is subject to the Facebook Platform Policy
* [http://developers.facebook.com/policy/]. This copyright notice shall be
* included in all copies or substantial portions of the software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
try {(window.FB && !window.FB.__buffer) || (function() { var apply = Function.prototype.apply; function bindContext(fn, thisArg) { return function _sdkBound() { return apply.call(fn, thisArg, arguments); }; } var global = { __type: 'JS_SDK_SANDBOX', window: window, document: window.document }; var sandboxSafelist = [ 'setTimeout', 'setInterval', 'clearTimeout', 'clearInterval' ]; for (var i = 0; i < sandboxSafelist.length; i++) { global[sandboxSafelist[i]] = bindContext( window[sandboxSafelist[i]], window ); } (function() { var self = window; var globalThis = this; var __DEV__ = 0; function emptyFunction() {}; var __transform_includes = {}; var __annotator, __bodyWrapper; var __w, __t; var undefined; with (this) { (function(e){var t={},n=function(t,n){if(!t&&!n)return null;var e={};return typeof t!="undefined"&&(e.type=t),typeof n!="undefined"&&(e.signature=n),e},r=function(t,r){return n(t&&/^[A-Z]/.test(t)?t:void 0,r&&(r.params&&r.params.length||r.returns)?"function("+(r.params?r.params.map(function(e){return/\?/.test(e)?"?"+e.replace("?",""):e}).join(","):"")+")"+(r.returns?":"+r.returns:""):void 0)},o=function(t,n,r){return t},a=function(t,n,o){if("typechecks"in __transform_includes){var e=r(n?n.name:void 0,o);e&&__w(t,e)}return t},i=function(t,n,r){return r.apply(t,n)},l=function(n,r,o,a,i){if(i){i.callId||(i.callId=i.module+":"+(i.line||0)+":"+(i.column||0));var e=i.callId;t[e]=(t[e]||0)+1}return o.apply(n,r)};typeof __transform_includes=="undefined"?(e.__annotator=o,e.__bodyWrapper=i):(e.__annotator=a,"codeusage"in __transform_includes?(e.__annotator=o,e.__bodyWrapper=l,e.__bodyWrapper.getCodeUsage=function(){return t},e.__bodyWrapper.clearCodeUsage=function(){t={}}):e.__bodyWrapper=i)})(typeof globalThis!="undefined"?globalThis:typeof global!="undefined"?global:typeof window!="undefined"?window:typeof this!="undefined"?this:typeof self!="undefined"?self:{});
(function(e){e.__t=function(e){return e[0]},e.__w=function(e){return e}})(typeof globalThis!="undefined"?globalThis:typeof global!="undefined"?global:typeof window!="undefined"?window:typeof this!="undefined"?this:typeof self!="undefined"?self:{});
(function(e){var t={},n=["global","require","requireDynamic","requireLazy","module","exports"],r=["global","require","importDefault","importNamespace","requireLazy","module","exports"],o=1,a=32,i=64,l=256,s={},u=Object.prototype.hasOwnProperty;function c(o,l){if(!u.call(t,o)){if(l===!0)return null;var s=new Error("Module "+o+" has not been defined");throw s.stack,s}var c=t[o];if(c.resolved)return c;for(var _=c.special,f=c.factory.length,g=_&a?r.concat(c.deps):n.concat(c.deps),h=[],y,C=0;C1?e-1:0),r=1;r1?Number(arguments[1]):0;isNaN(n)&&(n=0);var r=Math.min(Math.max(n,0),e.length);return e.indexOf(String(t),n)==r},endsWith:function(t){var e=String(this);if(this==null)throw new TypeError("String.prototype.endsWith called on null or undefined");var n=e.length,r=String(t),o=arguments.length>1?Number(arguments[1]):n;isNaN(o)&&(o=0);var a=Math.min(Math.max(o,0),n),i=a-r.length;return i<0?!1:e.lastIndexOf(r,i)==i},includes:function(t){if(this==null)throw new TypeError("String.prototype.contains called on null or undefined");var e=String(this),n=arguments.length>1?Number(arguments[1]):0;return isNaN(n)&&(n=0),e.indexOf(String(t),n)!==-1},repeat:function(t){if(this==null)throw new TypeError("String.prototype.repeat called on null or undefined");var e=String(this),n=t?Number(t):0;if(isNaN(n)&&(n=0),n<0||n===1/0)throw RangeError();if(n===1)return e;if(n===0)return"";for(var r="";n;)n&1&&(r+=e),(n>>=1)&&(e+=e);return r}},l=e;i.default=l}),66);
__d("ES6Array",[],(function(t,n,r,o,a,i){"use strict";function e(e){if(e==null){var t=new TypeError("Object is null or undefined");throw t.stack,t}var n=arguments[1],r=arguments[2],o=this,a=Object(e),i=typeof Symbol=="function"&&navigator.userAgent.indexOf("Trident/7.0")===-1&&typeof Symbol=="function"?Symbol.iterator:"@@iterator",l=typeof n=="function",s=typeof a[i]=="function",u=0,c,d;if(s){c=typeof o=="function"?new o:[];for(var m=a[i](),p;!(p=m.next()).done;)d=p.value,l&&(d=n.call(r,d,u)),c[u]=d,u+=1;return c.length=u,c}var _=a.length;for((isNaN(_)||_<0)&&(_=0),c=typeof o=="function"?new o(_):new Array(_);u<_;)d=a[u],l&&(d=n.call(r,d,u)),c[u]=d,u+=1;return c.length=u,c}var l={from:e},s=l;i.default=s}),66);
__d("ES6ArrayPrototype",[],(function(t,n,r,o,a,i){var e={find:function(n,r){if(this==null)throw new TypeError("Array.prototype.find called on null or undefined");if(typeof n!="function")throw new TypeError("predicate must be a function");var t=e.findIndex.call(this,n,r);return t===-1?void 0:this[t]},findIndex:function(t,n){if(this==null)throw new TypeError("Array.prototype.findIndex called on null or undefined");if(typeof t!="function")throw new TypeError("predicate must be a function");for(var e=Object(this),r=e.length>>>0,o=0;o>>0,a=arguments[1],i=a>>0,l=i<0?Math.max(o+i,0):Math.min(i,o),s=arguments[2],u=s===void 0?o:s>>0,c=u<0?Math.max(o+u,0):Math.min(u,o);l=s&&t<=l&&Math.floor(t)===t},EPSILON:e,MAX_SAFE_INTEGER:l,MIN_SAFE_INTEGER:s},c=u;i.default=c}),66);
__d("ES6Object",[],(function(t,n,r,o,a,i){var e={}.hasOwnProperty,l={assign:function(n){if(n==null){var t=new TypeError("Object.assign target cannot be null or undefined");throw t.stack,t}n=Object(n);for(var r=0;r<(arguments.length<=1?0:arguments.length-1);r++){var o=r+1<1||arguments.length<=r+1?void 0:arguments[r+1];if(o!=null){o=Object(o);for(var a in o)e.call(o,a)&&(n[a]=o[a])}}return n},is:function(t,n){return t===n?t!==0||1/t===1/n:t!==t&&n!==n}},s=l;i.default=s}),66);
__d("ES5Array",[],(function(t,n,r,o,a,i){var e={isArray:function(t){return Array.isArray(t)}},l=e;i.default=l}),66);
__d("ES5ArrayPrototype",[],(function(t,n,r,o,a,i){var e={indexOf:function(t,n){var e=n,r=this.length;for(e|=0,e<0&&(e+=r);e=0?1:-1}function d(t){"use strict";if(t!==void 0&&e(this)&&!(typeof t=="number"&&isNaN(t)))return l.apply(this,arguments)!==-1;var n=Object(this),r=n.length?s(n.length):0;if(r===0)return!1;for(var o=arguments.length>1?u(arguments[1]):0,a=o<0?Math.max(r+o,0):o,i=isNaN(t)&&typeof t=="number";a1)))/4)-I((e-1901+t)/100)+I((e-1601+t)/400)};if((f=p.hasOwnProperty)||(f=function(e){var t={},n;return(t.__proto__=null,t.__proto__={toString:1},t).toString!=_?f=function(e){var t=this.__proto__,n=e in(this.__proto__=null,this);return this.__proto__=t,n}:(n=t.constructor,f=function(e){var t=(this.constructor||n).prototype;return e in this&&!(e in t&&this[e]===t[e])}),t=null,f.call(this,e)}),g=function(e,t){var n=0,o,a,i;(o=function(){this.valueOf=0}).prototype.valueOf=0,a=new o;for(i in a)f.call(a,i)&&n++;return o=a=null,n?n==2?g=function(e,t){var n={},r=_.call(e)==b,o;for(o in e)!(r&&o=="prototype")&&!f.call(n,o)&&(n[o]=1)&&f.call(e,o)&&t(o)}:g=function(e,t){var n=_.call(e)==b,r,o;for(r in e)!(n&&r=="prototype")&&f.call(e,r)&&!(o=r==="constructor")&&t(r);(o||f.call(e,r="constructor"))&&t(r)}:(a=["valueOf","toString","toLocaleString","propertyIsEnumerable","isPrototypeOf","hasOwnProperty","constructor"],g=function(e,t){var n=_.call(e)==b,o,i,l=!n&&typeof e.constructor!="function"&&r[typeof e.hasOwnProperty]&&e.hasOwnProperty||f;for(o in e)!(n&&o=="prototype")&&l.call(e,o)&&t(o);for(i=a.length;o=a[--i];l.call(e,o)&&t(o));}),g(e,t)},!C("json-stringify")){var x={92:"\\\\",34:'\\"',8:"\\b",12:"\\f",10:"\\n",13:"\\r",9:"\\t"},$="000000",P=function(e,t){return($+(t||0)).slice(-e)},N="\\u00",M=function(e){for(var t='"',n=0,r=e.length,o=!k||r>10,a=o&&(k?e.split(""):e);n-1/0&&l<1/0){if(D){for(m=I(l/864e5),u=I(m/365.2425)+1970-1;D(u+1,0)<=m;u++);for(d=I((m-D(u,0))/30.42);D(u,d+1)<=m;d++);m=1+m-D(u,d),p=(l%864e5+864e5)%864e5,y=I(p/36e5)%24,C=I(p/6e4)%60,b=I(p/1e3)%60,k=p%1e3}else u=l.getUTCFullYear(),d=l.getUTCMonth(),m=l.getUTCDate(),y=l.getUTCHours(),C=l.getUTCMinutes(),b=l.getUTCSeconds(),k=l.getUTCMilliseconds();l=(u<=0||u>=1e4?(u<0?"-":"+")+P(6,u<0?-u:u):P(4,u))+"-"+P(2,d+1)+"-"+P(2,m)+"T"+P(2,y)+":"+P(2,C)+":"+P(2,b)+"."+P(3,k)+"Z"}else l=null;else typeof l.toJSON=="function"&&(s!=S&&s!=R&&s!=L||f.call(l,"toJSON"))&&(l=l.toJSON(e));if(n&&(l=n.call(t,e,l)),l===null)return"null";if(s=_.call(l),s==E)return""+l;if(s==S)return l>-1/0&&l<1/0?""+l:"null";if(s==R)return M(""+l);if(typeof l=="object"){for(N=i.length;N--;)if(i[N]===l)throw c();if(i.push(l),T=[],A=a,a+=o,s==L){for($=0,N=l.length;$0)for(o="",n>10&&(n=10);o.length=48&&i<=57||i>=97&&i<=102||i>=65&&i<=70||W();n+=A("0x"+e.slice(r,O));break;default:W()}else{if(i==34)break;for(i=e.charCodeAt(O),r=O;i>=32&&i!=92&&i!=34;)i=e.charCodeAt(++O);n+=e.slice(r,O)}if(e.charCodeAt(O)==34)return O++,n;W();default:if(r=O,i==45&&(a=!0,i=e.charCodeAt(++O)),i>=48&&i<=57){for(i==48&&(i=e.charCodeAt(O+1),i>=48&&i<=57)&&W(),a=!1;O=48&&i<=57);O++);if(e.charCodeAt(O)==46){for(o=++O;o=48&&i<=57);o++);o==O&&W(),O=o}if(i=e.charCodeAt(O),i==101||i==69){for(i=e.charCodeAt(++O),(i==43||i==45)&&O++,o=O;o=48&&i<=57);o++);o==O&&W(),O=o}return+e.slice(r,O)}if(a&&W(),e.slice(O,O+4)=="true")return O+=4,!0;if(e.slice(O,O+5)=="false")return O+=5,!1;if(e.slice(O,O+4)=="null")return O+=4,null;W()}return"$"},U=function(e){var t,n;if(e=="$"&&W(),typeof e=="string"){if((k?e.charAt(0):e[0])=="@")return e.slice(1);if(e=="["){for(t=[];e=q(),e!="]";n||(n=!0))n&&(e==","?(e=q(),e=="]"&&W()):W()),e==","&&W(),t.push(U(e));return t}else if(e=="{"){for(t={};e=q(),e!="}";n||(n=!0))n&&(e==","?(e=q(),e=="}"&&W()):W()),(e==","||typeof e!="string"||(k?e.charAt(0):e[0])!="@"||q()!=":")&&W(),t[e.slice(1)]=U(q());return t}W()}return e},V=function(e,t,n){var r=H(e,t,n);r===h?delete e[t]:e[t]=r},H=function(e,t,n){var r=e[t],o;if(typeof r=="object"&&r)if(_.call(r)==L)for(o=r.length;o--;)V(r,o,n);else g(r,function(e){V(r,e,n)});return n.call(e,t,r)};t.parse=function(e,t){var n,r;return O=0,B=""+e,n=U(q()),q()!="$"&&W(),O=B=null,t&&_.call(t)==b?H((r={},r[""]=n,r),"",t):n}}}return t.runInContext=u,t}if(o&&!n)u(a,o);else{var c=a.JSON,d=a.JSON3,m=!1,p=u(a,a.JSON3={noConflict:function(){return m||(m=!0,a.JSON=c,a.JSON3=d,c=d=null),p}});a.JSON={parse:p.parse,stringify:p.stringify}}}).call(this)}var c=!1;function d(){return c||(c=!0,u()),l.exports}function m(e){switch(e){case void 0:return d()}}a.exports=m}),null);
__d("json3",["json3-3.3.2"],(function(t,n,r,o,a,i){a.exports=n("json3-3.3.2")()}),null);
__d("ES",["ES5FunctionPrototype","ES5StringPrototype","ES6Array","ES6ArrayPrototype","ES6Number","ES6Object","ES7ArrayPrototype","ES7Object","ES7StringPrototype","json3"],(function(t,n,r,o,a,i,l){var e={}.toString,s={"JSON.stringify":r("json3").stringify,"JSON.parse":r("json3").parse},u={"Function.prototype":r("ES5FunctionPrototype"),"String.prototype":r("ES5StringPrototype")},c={Object:r("ES6Object"),"Array.prototype":r("ES6ArrayPrototype"),Number:r("ES6Number"),Array:r("ES6Array")},d={Object:r("ES7Object"),"String.prototype":r("ES7StringPrototype"),"Array.prototype":r("ES7ArrayPrototype")};function m(e){for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t)){var n=e[t],r=t.split(".");if(r.length===2){var o=r[0],a=r[1];if(!o||!a||!window[o]||!window[o][a]){var i=o?window[o]:"-",l=o&&window[o]&&a?window[o][a]:"-";throw new Error("Unexpected state (t11975770): "+(o+", "+a+", "+String(i)+", "+String(l)+", "+t))}}var u=r.length===2?window[r[0]][r[1]]:window[t];for(var c in n)if(Object.prototype.hasOwnProperty.call(n,c)){if(typeof n[c]!="function"){s[t+"."+c]=n[c];continue}var d=u[c];s[t+"."+c]=d&&/\{\s+\[native code\]\s\}/.test(String(d))?d:n[c]}}}m(u),m(c),m(d);function p(t,n,r){var o=r?e.call(t).slice(8,-1)+".prototype":t,a;if(Array.isArray(t))if(typeof o=="string")a=s[o+"."+n];else throw new Error("Can't polyfill "+n+" directly on an Array.");else if(typeof o=="string")a=s[o+"."+n];else{if(typeof t=="string")throw new Error("Can't polyfill "+n+" directly on a string.");a=t[n]}if(typeof a=="function"){for(var i=arguments.length,l=new Array(i>3?i-3:0),u=3;u=0||(n[r]=e[r]);return n},e.objectWithoutProperties=e.objectWithoutPropertiesLoose,e.taggedTemplateLiteralLoose=function(e,t){return t||(t=e.slice(0)),e.raw=t,e},e.bind=r("ES5FunctionPrototype").bind;var u=e;l.default=u}),98);var ES=require('ES');var babelHelpers=require('sdk.babelHelpers');(function(e,t){var n="keys",r="values",o="entries",a=(function(){var e=l(Array),a;return e||(a=(function(){"use strict";function e(e,t){this.$1=e,this.$2=t,this.$3=0}var a=e.prototype;return a.next=function(){if(this.$1==null)return{value:t,done:!0};var e=this.$1,a=this.$1.length,i=this.$3,l=this.$2;if(i>=a)return this.$1=t,{value:t,done:!0};if(this.$3=i+1,l===n)return{value:i,done:!1};if(l===r)return{value:e[i],done:!1};if(l===o)return{value:[i,e[i]],done:!1}},a[typeof Symbol=="function"?Symbol.iterator:"@@iterator"]=function(){return this},e})()),{keys:e?function(e){return e.keys()}:function(e){return new a(e,n)},values:e?function(e){return e.values()}:function(e){return new a(e,r)},entries:e?function(e){return e.entries()}:function(e){return new a(e,o)}}})(),i=(function(){var e=l(String),n;return e||(n=(function(){"use strict";function e(e){this.$1=e,this.$2=0}var n=e.prototype;return n.next=function(){if(this.$1==null)return{value:t,done:!0};var e=this.$2,n=this.$1,r=n.length;if(e>=r)return this.$1=t,{value:t,done:!0};var o,a=n.charCodeAt(e);if(a<55296||a>56319||e+1===r)o=n[e];else{var i=n.charCodeAt(e+1);i<56320||i>57343?o=n[e]:o=n[e]+n[e+1]}return this.$2=e+o.length,{value:o,done:!1}},n[typeof Symbol=="function"?Symbol.iterator:"@@iterator"]=function(){return this},e})()),{keys:function(){throw TypeError("Strings default iterator doesn't implement keys.")},values:e?function(e){return e[typeof Symbol=="function"?Symbol.iterator:"@@iterator"]()}:function(e){return new n(e)},entries:function(){throw TypeError("Strings default iterator doesn't implement entries.")}}})();function l(e){return typeof e.prototype[typeof Symbol=="function"?Symbol.iterator:"@@iterator"]=="function"&&typeof e.prototype.values=="function"&&typeof e.prototype.keys=="function"&&typeof e.prototype.entries=="function"}var s=(function(){"use strict";function e(e,t){this.$1=e,this.$2=t,this.$3=Object.keys(e),this.$4=0}var a=e.prototype;return a.next=function(){var e=this.$3.length,a=this.$4,i=this.$2,l=this.$3[a];if(a>=e)return this.$1=t,{value:t,done:!0};if(this.$4=a+1,i===n)return{value:l,done:!1};if(i===r)return{value:this.$1[l],done:!1};if(i===o)return{value:[l,this.$1[l]],done:!1}},a[typeof Symbol=="function"?Symbol.iterator:"@@iterator"]=function(){return this},e})(),u={keys:function(t){return new s(t,n)},values:function(t){return new s(t,r)},entries:function(t){return new s(t,o)}};function c(e,t){return typeof e=="string"?i[t||r](e):Array.isArray(e)?a[t||r](e):e[typeof Symbol=="function"?Symbol.iterator:"@@iterator"]?e[typeof Symbol=="function"?Symbol.iterator:"@@iterator"]():u[t||o](e)}ES("Object","assign",!1,c,{KIND_KEYS:n,KIND_VALUES:r,KIND_ENTRIES:o,keys:function(t){return c(t,n)},values:function(t){return c(t,r)},entries:function(t){return c(t,o)},generic:u.entries}),e.FB_enumerate=c})(typeof global=="object"?global:typeof this=="object"?this:typeof window=="object"?window:typeof self=="object"?self:{});
(function(e,t){var n=e.window||e;function r(){return"f"+(Math.random()*(1<<30)).toString(16).replace(".","")}function o(e){var t=e?e.ownerDocument||e:document,r=t.defaultView||n;return!!(e&&(typeof r.Node=="function"?e instanceof r.Node:typeof e=="object"&&typeof e.nodeType=="number"&&typeof e.nodeName=="string"))}function a(e){var t=n[e];if(t==null||typeof n.Symbol!="function")return!0;var r=t.prototype;return t==null||typeof t!="function"||typeof r.clear!="function"||new t().size!==0||typeof r.keys!="function"||typeof r.forEach!="function"}var i=e.FB_enumerate,l=(function(){if(!a("Map"))return n.Map;var e="key",l="value",s="key+value",u="$map_",c,d="IE_HASH_",m=(function(){"use strict";function n(e){if(!h(this))throw new TypeError("Wrong map object type.");if(g(this),e!=null)for(var t=i(e),n;!(n=t.next()).done;){if(!h(n.value))throw new TypeError("Expected iterable items to be pair objects.");this.set(n.value[0],n.value[1])}}var r=n.prototype;return r.clear=function(){g(this)},r.has=function(t){var e=_(this,t);return!!(e!=null&&this._mapData[e])},r.set=function(t,n){var e=_(this,t);return e!=null&&this._mapData[e]?this._mapData[e][1]=n:(e=this._mapData.push([t,n])-1,f(this,t,e),this.size+=1),this},r.get=function(n){var e=_(this,n);return e==null?t:this._mapData[e][1]},r.delete=function(n){var e=_(this,n);return e!=null&&this._mapData[e]?(f(this,n,t),this._mapData[e]=t,this.size-=1,!0):!1},r.entries=function(){return new p(this,s)},r.keys=function(){return new p(this,e)},r.values=function(){return new p(this,l)},r.forEach=function(n,r){if(typeof n!="function")throw new TypeError("Callback must be callable.");for(var e=ES(n,"bind",!0,r||t),o=this._mapData,a=0;a1?n-1:0),o=1;ob+h){var r=t-y;for(var o of C){var a=o[0],i=o[1];i.lastAccessed":"",I;function T(e){var t,n=e.error!=null?E(e.error):s(e.message||"");n.fileName==null&&e.filename!=null&&(n.fileName=e.filename),n.line==null&&e.lineno!=null&&(n.line=e.lineno),n.column==null&&e.colno!=null&&(n.column=e.colno),n.guardList=[k],n.loggingSource="ONERROR",(t=I)===null||t===void 0||t.reportError(n)}var D={setup:function(n){typeof t.addEventListener=="function"&&I==null&&(I=n,t.addEventListener("error",T))}},x=[],$={pushGuard:function(t){x.unshift(t)},popGuard:function(){x.shift()},inGuard:function(){return x.length!==0},cloneGuardList:function(){return x.map(function(e){return e.name})},findDeferredSource:function(){for(var e of x)if(e.deferredSource!=null)return e.deferredSource}};function P(e){return e.type!=null?e.type:e.loggingSource=="GUARDED"||e.loggingSource=="ERROR_BOUNDARY"||e.name=="SyntaxError"?"fatal":e.loggingSource=="ONERROR"&&e.message.indexOf("ResizeObserver loop")>=0||e.stack!=null&&e.stack.indexOf("chrome-extension://")>=0?"warn":"error"}var N=[],M=(function(){function e(){this.metadata=[].concat(N)}var t=e.prototype;return t.addEntries=function(){var e;return(e=this.metadata).push.apply(e,arguments),this},t.addEntry=function(t,n,r){return this.metadata.push([t,n,r]),this},t.isEmpty=function(){return this.metadata.length===0},t.clearEntries=function(){this.metadata=[]},t.format=function(){var e=[];return this.metadata.forEach(function(t){if(t&&t.length){var n=t.map(function(e){return e!=null?String(e).replace(/:/g,"_"):""}).join(":");e.push(n)}}),e},t.getAll=function(){return this.metadata},e.addGlobalMetadata=function(t,n,r){N.push([t,n,r])},e.getGlobalMetadata=function(){return N},e.unsetGlobalMetadata=function(t,n){N=N.filter(function(e){return!(Array.isArray(e)&&e[0]===t&&e[1]===n)})},e})(),w={debug:1,info:2,warn:3,error:4,fatal:5};function A(e,t){var n,r;if(!Object.isFrozen(e)){t.type&&(!e.type||w[e.type]>w[t.type])&&(e.type=t.type);var o=t.metadata;if(o!=null){var a,i=(a=e.metadata)!==null&&a!==void 0?a:new M;o!=null&&i.addEntries.apply(i,o.getAll()),e.metadata=i}t.project!=null&&(e.project=t.project),t.errorName!=null&&(e.errorName=t.errorName),t.componentStack!=null&&(e.componentStack=t.componentStack),t.deferredSource!=null&&(e.deferredSource=t.deferredSource),t.blameModule!=null&&(e.blameModule=t.blameModule),t.loggingSource!=null&&(e.loggingSource=t.loggingSource);var l=(n=e.messageFormat)!==null&&n!==void 0?n:e.message,s=(r=e.messageParams)!==null&&r!==void 0?r:[];if(l!==t.messageFormat&&t.messageFormat!=null){var u;l+=" [Caught in: "+t.messageFormat+"]",s.push.apply(s,(u=t.messageParams)!==null&&u!==void 0?u:[])}e.messageFormat=l,e.messageParams=s;var c=t.forcedKey,d=e.forcedKey,m=c!=null&&d!=null?c+"_"+d:c!=null?c:d;e.forcedKey=m}}function F(e){var t;return O((t=e.messageFormat)!==null&&t!==void 0?t:e.message,e.messageParams||[])}function O(e,t){var n=0,r=String(e),o=r.replace(/%s/g,function(){return nq&&U.shift()}function H(e){var t=e.getAllResponseHeaders();if(t!=null&&t.indexOf("X-FB-Debug")>=0){var n=e.getResponseHeader("X-FB-Debug");n&&V(n)}}function G(){return U}var z={add:V,addFromXHR:H,getAll:G},j="abcdefghijklmnopqrstuvwxyz012345";function K(){for(var e=0,t=arguments.length,n=new Array(t),r=0;r>=5;return l}var Q=[/\(([^\s\)\()]+):(\d+):(\d+)\)$/,/@([^\s\)\()]+):(\d+):(\d+)$/,/^([^\s\)\()]+):(\d+):(\d+)$/,/^at ([^\s\)\()]+):(\d+):(\d+)$/],X=/^\w+:\s.*?\n/g;Error.stackTraceLimit!=null&&Error.stackTraceLimit<80&&(Error.stackTraceLimit=80);function Y(e){var t=e.message,n=e.name,r=e.stack;if(r==null)return null;if(n!=null&&t!=null&&t!==""){var o=n+": "+t+"\n";if(ES(r,"startsWith",!0,o))return r.substr(o.length);if(r===n+": "+t)return null}if(n!=null){var a=n+"\n";if(ES(r,"startsWith",!0,a))return r.substr(a.length)}if(t!=null&&t!==""){var i=": "+t+"\n",l=r.indexOf(i),s=r.substring(0,l);if(/^\w+$/.test(s))return r.substring(l+i.length)}return r.replace(X,"")}function J(e){var t=e.trim(),n=t,r,o,a;if(ES(t,"includes",!0,"charset=utf-8;base64,"))n="";else{var i;for(var l of Q)if(i=t.match(l),i!=null)break;i!=null&&i.length===4?(r=i[1],o=parseInt(i[2],10),a=parseInt(i[3],10),n=t.substring(0,t.length-i[0].length)):n=t,n=n.replace(/^at /,"").trim()}var s={identifier:n,script:r,line:o,column:a};return s.text=ne(s),s}function Z(e){return e==null||e===""?[]:e.split(/\n\n/)[0].split("\n").map(J)}function ee(e){var t=Y(e);return Z(t)}function te(e){if(e==null||e==="")return null;var t=e.split("\n");return t.splice(0,1),t.map(function(e){return e.trim()})}function ne(e){var t=e.column,n=e.identifier,r=e.line,o=e.script,a=" at "+(n!=null?n:"");return o!=null&&r!=null&&t!=null&&(a+=" ("+o+":"+r+":"+t+")"),a}function re(r){var o,a,i,s,u,c,d,m,p,_,f=ee(r),g=(o=r.taalOpcodes)!==null&&o!==void 0?o:[],h=r.framesToPop;if(h!=null)for(h=Math.min(h,f.length);h-- >0;)g.unshift(l.PREVIOUS_FRAME);var y=(a=r.messageFormat)!==null&&a!==void 0?a:r.message,C=((i=r.messageParams)!==null&&i!==void 0?i:[]).map(function(e){return String(e)}),b=te(r.componentStack),v=b==null?null:b.map(J),S=r.metadata?r.metadata.format():new M().format();S.length===0&&(S=void 0);var R=f.map(function(e){return e.text}).join("\n"),L=(s=r.errorName)!==null&&s!==void 0?s:r.name,E=P(r),k=r.loggingSource,I=r.project,T=(u=r.lineNumber)!==null&&u!==void 0?u:r.line,D=(c=r.columnNumber)!==null&&c!==void 0?c:r.column,x=(d=r.fileName)!==null&&d!==void 0?d:r.sourceURL,$=f.length>0;$&&T==null&&(T=f[0].line),$&&D==null&&(D=f[0].column),$&&x==null&&(x=f[0].script);var N={blameModule:r.blameModule,cause:r.cause,column:D==null?null:String(D),clientTime:Math.floor(Date.now()/1e3),componentStackFrames:v,deferredSource:r.deferredSource!=null?re(r.deferredSource):null,extra:(m=r.extra)!==null&&m!==void 0?m:{},fbtrace_id:r.fbtrace_id,guardList:(p=r.guardList)!==null&&p!==void 0?p:[],hash:K(L,R,E,I,k),isNormalizedError:!0,line:T==null?null:String(T),loggingSource:k,message:W.toReadableMessage(r),messageFormat:y,messageParams:C,metadata:S,name:L,page_time:Math.floor((e||(e=n("performanceNow")))()),project:I,reactComponentStack:b,script:x,serverHash:r.serverHash,stack:R,stackFrames:f,type:E,xFBDebug:z.getAll(),tags:(_=r.tags)!==null&&_!==void 0?_:[],operation:r.operation};r.forcedKey!=null&&(N.forcedKey=r.forcedKey),g.length>0&&(N.taalOpcodes=g);var w=t.location;w&&(N.windowLocationURL=w.href);for(var A in N)N[A]==null&&delete N[A];return N}function oe(e){return e!=null&&typeof e=="object"&&e.isNormalizedError===!0?e:null}var ae={formatStackFrame:ne,normalizeError:re,ifNormalizedError:oe},ie="",le=[],se=[],ue=50,ce=!1,de={history:se,addListener:function(t,n){n===void 0&&(n=!1),le.push(t),n||se.forEach(function(e){var n;return t(e,(n=e.loggingSource)!==null&&n!==void 0?n:"DEPRECATED")})},unshiftListener:function(t){le.unshift(t)},removeListener:function(t){n("removeFromArray")(le,t)},reportError:function(t){var e=ae.normalizeError(t);de.reportNormalizedError(e)},reportNormalizedError:function(t){if(ce)return!1;var e=$.cloneGuardList();if(t.componentStackFrames&&e.unshift(ie),e.length>0&&(t.guardList=e),t.deferredSource==null){var n=$.findDeferredSource();n!=null&&(t.deferredSource=ae.normalizeError(n))}se.length>ue&&se.splice(ue/2,1),se.push(t),ce=!0;for(var r=0;rfe?t.substring(0,fe-3)+"...":t}function Re(e,t){var n,r,o,a,i={appId:Ce(t.appId),cavalry_lid:t.cavalry_lid,access_token:f.access_token,ancestor_hash:e.hash,bundle_variant:(n=t.bundle_variant)!==null&&n!==void 0?n:null,clientTime:ye(e.clientTime),column:e.column,componentStackFrames:ve(e.componentStackFrames),events:e.events,extra:be(e.extra,t.extra),forcedKey:e.forcedKey,frontend_env:(r=t.frontend_env)!==null&&r!==void 0?r:null,guardList:e.guardList,line:e.line,loggingFramework:t.loggingFramework,messageFormat:Se(e.messageFormat),messageParams:e.messageParams.map(Se),name:e.name,sample_weight:Ce(t.sample_weight),script:e.script,site_category:t.site_category,stackFrames:ve(e.stackFrames),type:e.type,page_time:Ce(e.page_time),project:e.project,push_phase:t.push_phase,report_source:t.report_source,report_source_ref:t.report_source_ref,rollout_hash:(o=t.rollout_hash)!==null&&o!==void 0?o:null,script_path:t.script_path,server_revision:Ce(t.server_revision),spin:Ce(t.spin),svn_rev:String(t.client_revision),additional_client_revisions:ES("Array","from",!1,(a=t.additional_client_revisions)!==null&&a!==void 0?a:[]).map(ye),taalOpcodes:e.taalOpcodes==null?null:e.taalOpcodes.map(function(e){return e}),web_session_id:t.web_session_id,version:"3",xFBDebug:e.xFBDebug,tags:e.tags},l=e.blameModule,s=e.deferredSource;return l!=null&&(i.blameModule=String(l)),s&&s.stackFrames&&(i.deferredSource={stackFrames:ve(s.stackFrames)}),e.metadata&&(i.metadata=e.metadata),e.loadingUrls&&(i.loadingUrls=e.loadingUrls),e.serverHash!=null&&(i.serverHash=e.serverHash),e.windowLocationURL!=null&&(i.windowLocationURL=e.windowLocationURL),e.loggingSource!=null&&(i.loggingSource=e.loggingSource),i}function Le(e,t,n){var r;if(he++,t.sample_weight===0)return!1;var o=R.shouldLog(e);if(o==null||(r=t.projectBlocklist)!==null&&r!==void 0&&ES(r,"includes",!0,e.project))return!1;var a=Re(e,t);return ES("Object","assign",!1,a,{ancestors:ge.slice(),clientWeight:ye(o),page_position:ye(he)}),ge.length<15&&ES(["fatal","error"],"includes",!0,e.type)&&ge.push(e.hash),n(a),!0}var Ee={createErrorPayload:Re,postError:Le},ke=null,Ie=!1;function Te(e){if(ke!=null){var t=ke,n=e.reason,r,o=E(n),a=null;if(n!==o&&typeof n=="object"&&n!==null){if(r=Object.keys(n).sort().slice(0,3),typeof n.message!="string"&&typeof n.messageFormat=="string"&&(n.message=n.messageFormat,o=E(n)),typeof n.message!="string"&&typeof n.errorMsg=="string")if(/^\s*\([^<]+)<\/title>(?:(?:.|\n)*