;/*FB_PKG_DELIM*/ "use strict";(function(){var e=typeof globalThis!="undefined"&&globalThis||typeof self!="undefined"&&self||typeof global!="undefined"&&global;if(typeof e.AbortController=="undefined"){var t=(function(){function e(){this.__listeners=new Map}return e.prototype=Object.create(Object.prototype),e.prototype.addEventListener=function(e,t,n){if(arguments.length<2)throw new TypeError("TypeError: Failed to execute 'addEventListener' on 'CustomEventTarget': 2 arguments required, but only "+arguments.length+" present.");var r=this.__listeners,o=e.toString();r.has(o)||r.set(o,new Map);var a=r.get(o);a.has(t)||a.set(t,n)},e.prototype.removeEventListener=function(e,t,n){if(arguments.length<2)throw new TypeError("TypeError: Failed to execute 'addEventListener' on 'CustomEventTarget': 2 arguments required, but only "+arguments.length+" present.");var r=this.__listeners,o=e.toString();if(r.has(o)){var a=r.get(o);a.has(t)&&a.delete(t)}},e.prototype.dispatchEvent=function(e){var t=this;if(!(e instanceof Event))throw new TypeError("Failed to execute 'dispatchEvent' on 'CustomEventTarget': parameter 1 is not of type 'Event'.");var n=e.type,r=this.__listeners,o=r.get(n);if(o){var a=function(){var n=i[0],r=i[1];try{typeof n=="function"?n.call(t,e):n&&typeof n.handleEvent=="function"&&n.handleEvent(e)}catch(e){setTimeout(function(){throw e})}r&&r.once&&o.delete(n)};for(var i of o.entries())a()}return!0},e})(),n={};e.AbortSignal=(function(){function e(e){if(e!==n)throw new TypeError("Illegal constructor.");t.call(this),this._aborted=!1}return e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Object.defineProperty(e.prototype,"onabort",{get:function(){return this._onabort},set:function(t){var e=this._onabort;e&&this.removeEventListener("abort",e),this._onabort=t,this.addEventListener("abort",t)}}),Object.defineProperty(e.prototype,"aborted",{get:function(){return this._aborted}}),e})(),e.AbortController=(function(){function e(){this._signal=new AbortSignal(n)}return e.prototype=Object.create(Object.prototype),Object.defineProperty(e.prototype,"signal",{get:function(){return this._signal}}),e.prototype.abort=function(){var e=this.signal;e.aborted||(e._aborted=!0,e.dispatchEvent(new Event("abort")))},e})()}})(); Array.from||(Array.from=function(e){if(e==null)throw new TypeError("Object is null or undefined");var t=arguments[1],n=arguments[2],r=this,o=Object(e),a=typeof Symbol=="function"&&typeof Symbol=="function"?Symbol.iterator:"@@iterator",i=typeof t=="function",l=typeof o[a]=="function",s=0,u,c;if(l){u=typeof r=="function"?new r:[];for(var d=o[a](),m;!(m=d.next()).done;)c=m.value,i&&(c=t.call(n,c,s)),u[s]=c,s+=1;return u.length=s,u}var p=o.length;for((isNaN(p)||p<0)&&(p=0),u=typeof r=="function"?new r(p):new Array(p);s0||-1)*Math.floor(Math.abs(e))),e}Array.prototype.map||(Array.prototype.map=function(e,t){if(typeof e!="function")throw new TypeError;var n,r=this.length,o=new Array(r);for(n=0;n>>0;if(!a)return-1;var i=a-1;for(arguments.length>1&&(i=Math.min(i,r(arguments[1]))),i=i>=0?i:a-Math.abs(i);i>=0;i--)if(i in o&&t===o[i])return i;return-1}),Array.prototype.reduce||(Array.prototype.reduce=function(e){if(typeof e!="function")throw new TypeError(e+" is not a function");var t=this.length>>>0,n,r,o=arguments.length===2;for(o&&(n=arguments[1]),r=0;r>>0,n,r,o=arguments.length===2;for(o&&(n=arguments[1]),r=t-1;r>-1;--r)Object.prototype.hasOwnProperty.call(this,r)&&(o===!1?(n=this[r],o=!0):n=e(n,this[r],r,this));if(o===!1)throw new TypeError("Reduce of empty array with no initial value");return n})})(); "use strict";Array.prototype.at==null&&(Array.prototype.at=function(t){var e=parseInt(t,10);return Number.isInteger(e)||(e=0),e>=0&&e>>0,o=0;o>>0,o=arguments[1],a=o>>0,i=a<0?Math.max(r+a,0):Math.min(a,r),l=arguments[2],s=l===e?r:l>>0,u=s<0?Math.max(r+s,0):Math.min(s,r);i=Number.MIN_SAFE_INTEGER&&e<=Number.MAX_SAFE_INTEGER&&Math.floor(e)===e}),typeof Number.parseInt!="function"&&(Number.parseInt=parseInt),typeof Number.parseFloat!="function"&&(Number.parseFloat=parseFloat); (function(){"use strict";var e=Array.prototype.indexOf;Array.prototype.includes||(Array.prototype.includes=function(r){"use strict";if(r!==void 0&&Array.isArray(this)&&!Number.isNaN(r))return e.apply(this,arguments)!==-1;var o=Object(this),a=o.length?t(o.length):0;if(a===0)return!1;for(var i=arguments.length>1?n(arguments[1]):0,l=i<0?Math.max(a+i,0):i,s=Number.isNaN(r);l=0?1:-1}if(!Array.prototype.values){var o=(function(){function e(e){if(this.$1=void 0,this.$2=0,e==null)throw new TypeError("Cannot convert undefined or null to object");this.$1=Object(e)}var t=e.prototype;return t.next=function(){if(this.$1==null||this.$2>=this.$1.length)return this.$1=void 0,{value:void 0,done:!0};var e=this.$1[this.$2];return this.$2++,{value:e,done:!1}},t[typeof Symbol=="function"?Symbol.iterator:"@@iterator"]=function(){return this},e})();Array.prototype.values=function(){return new o(this)}}Array.prototype[typeof Symbol=="function"?Symbol.iterator:"@@iterator"]||(Array.prototype[typeof Symbol=="function"?Symbol.iterator:"@@iterator"]=Array.prototype.values)})(); "use strict";Array.prototype.findLast==null&&(Array.prototype.findLast=function(t,n){for(var e=this,r=e.length-1;r>=0;r--){var o=e[r],a=t.call(n,o,r,e);if(a)return o}}); "use strict";Array.prototype.findLastIndex==null&&(Array.prototype.findLastIndex=function(t,n){for(var e=this,r=e.length-1;r>=0;r--){var o=e[r],a=t.call(n,o,r,e);if(a)return r}return-1}); "use strict";Array.prototype.toReversed==null&&(Array.prototype.toReversed=function(){return this.slice().reverse()}); "use strict";Array.prototype.toSorted==null&&(Array.prototype.toSorted=function(t){return this.slice().sort(t)}); "use strict";Array.prototype.toSpliced==null&&(Array.prototype.toSpliced=function(){var e=this.slice();return e.splice.apply(e,arguments),e}); typeof Math.log2!="function"&&(Math.log2=function(e){return Math.log(e)/Math.LN2}),typeof Math.log10!="function"&&(Math.log10=function(e){return Math.log(e)/Math.LN10}),typeof Math.trunc!="function"&&(Math.trunc=function(e){return e<0?Math.ceil(e):Math.floor(e)}),typeof Math.sign!="function"&&(Math.sign=function(e){return+(e>0)-+(e<0)||+e}); "use strict";if(Array.prototype.with==null){var toIntegerOrInfinity=function(t){return Number.isNaN(t)||t===0?0:t===1/0||t===-1/0?t:Math.trunc(t)};Array.prototype.with=function(e,n){var r=this.length,o=toIntegerOrInfinity(e),a;if(o>=0?a=o:a=r+o,a>=r||a<0)throw new RangeError("Invalid index");var i=this.slice();return i[a]=n,i}} (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=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:{}); self.__DEV__=self.__DEV__||0,self.emptyFunction=function(){}; Object.create||(Object.create=function(e){var t=typeof e;if(t!="object"&&t!="function")throw new TypeError("Object prototype may only be a Object or null");var n=function(){e===null&&(this.__proto__=e,delete this.__proto__)};return n.prototype=e,new n}),Object.keys||(Object.keys=function(t){var e=typeof t;if(e!="object"&&e!="function"||t===null)throw new TypeError("Object.keys called on non-object");var n=Object.prototype.hasOwnProperty,r=[];for(var o in t)n.call(t,o)&&r.push(o);return r}),Object.freeze||(Object.freeze=function(e){return e}),Object.isFrozen||(Object.isFrozen=function(){return!1}),Object.seal||(Object.seal=function(e){return e}),(function(){try{Object.getOwnPropertyDescriptor(HTMLInputElement.prototype,"value")}catch(e){Object.getOwnPropertyDescriptor=(function(e){return function(n,r){try{return e(n,r)}catch(e){return{enumerable:n.propertyIsEnumerable(r),configurable:!0,get:n.__lookupGetter__(r),set:n.__lookupSetter__(r)}}}})(Object.getOwnPropertyDescriptor)}})(); (function(){var e=!{toString:!0}.propertyIsEnumerable("toString");if(e){var t=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","constructor"];Object.keys=function(e){var n=typeof e;if(n!="object"&&n!="function"||e===null)throw new TypeError("Object.keys called on non-object");var r=Object.prototype.hasOwnProperty,o=[];for(var a in e)r.call(e,a)&&o.push(a);for(var i=0;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)}Object.assign(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=n.bind(r||t),o=this._mapData,a=0;a9999?"+":"")+("00000"+Math.abs(t)).slice(0<=t&&t<=9999?-4:-6),t+"-"+e(this.getUTCMonth()+1)+"-"+e(this.getUTCDate())+"T"+e(this.getUTCHours())+":"+e(this.getUTCMinutes())+":"+e(this.getUTCSeconds())+"."+(this.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"}}})(); typeof Element!="undefined"&&(Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector),Element.prototype.closest||(Element.prototype.closest=function(e){var t=this;do{if(t.matches(e))return t;t=t.parentElement||t.parentNode}while(t!==null&&t.nodeType===1);return null})); (function(e){e.forEach(function(e){if(e!=null){var t=e.prototype;Object.prototype.hasOwnProperty.call(t,"remove")||Object.defineProperty(t,"remove",{configurable:!0,enumerable:!0,writable:!0,value:function(){this.parentNode&&this.parentNode.removeChild(this)}})}})})([window.Element,window.CharacterData,window.DocumentType]); "use strict";(function(){if(typeof Element=="undefined"||Element.prototype.scroll)return;function e(e,t){if(t===void 0&&(t=!1),e.length!==0){var n=e[0],r=e[1];if(n=Number(n)||0,r=Number(r)||0,e.length===1){var o=e[0];if(o==null)return;n=o.left,r=o.top,n!==void 0&&(n=Number(n)||0),r!==void 0&&(r=Number(r)||0)}n!==void 0&&(this.scrollLeft=(t?this.scrollLeft:0)+n),r!==void 0&&(this.scrollTop=(t?this.scrollTop:0)+r)}}Element.prototype.scroll=Element.prototype.scrollTo=function(){e.call(this,arguments)},Element.prototype.scrollBy=function(){e.call(this,arguments,!0)}})(); Function.prototype.bind||(Function.prototype.bind=function(e){if(typeof this!="function")throw new TypeError("Bind must be called on a function");var t=this,n=Array.prototype.slice,r=n.call(arguments,1);function o(){var o=t.prototype&&this instanceof t;return t.apply(!o&&e||this,r.concat(n.call(arguments)))}return o.prototype=t.prototype,o.displayName="bound:"+(t.displayName||t.name||"(?)"),o.toString=function(){return"bound: "+t},o}); (function(){if(typeof window!="object")return;if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype){"isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});return}function e(e){try{return e.defaultView&&e.defaultView.frameElement||null}catch(e){return null}}var t=(function(t){for(var n=t,r=e(n);r;)n=r.ownerDocument,r=e(n);return n})(window.document),n=[],r=null,o=null;function a(e){this.time=e.time,this.target=e.target,this.rootBounds=_(e.rootBounds),this.boundingClientRect=_(e.boundingClientRect),this.intersectionRect=_(e.intersectionRect||p()),this.isIntersecting=!!e.intersectionRect;var t=this.boundingClientRect,n=t.width*t.height,r=this.intersectionRect,o=r.width*r.height;n?this.intersectionRatio=Number((o/n).toFixed(4)):this.intersectionRatio=this.isIntersecting?1:0}function i(e,t){var n=t||{};if(typeof e!="function")throw new Error("callback must be a function");if(n.root&&n.root.nodeType!=1&&n.root.nodeType!=9)throw new Error("root must be a Document or Element");this._checkForIntersections=s(this._checkForIntersections.bind(this),this.THROTTLE_TIMEOUT),this._callback=e,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(n.rootMargin),this.thresholds=this._initThresholds(n.threshold),this.root=n.root||null,this.rootMargin=this._rootMarginValues.map(function(e){return e.value+e.unit}).join(" "),this._monitoringDocuments=[],this._monitoringUnsubscribes=[]}i.prototype.THROTTLE_TIMEOUT=100,i.prototype.POLL_INTERVAL=null,i.prototype.USE_MUTATION_OBSERVER=!0,i._setupCrossOriginUpdater=function(){return r||(r=function(t,r){!t||!r?o=p():o=f(t,r),n.forEach(function(e){e._checkForIntersections()})}),r},i._resetCrossOriginUpdater=function(){r=null,o=null},i.prototype.observe=function(e){var t=this._observationTargets.some(function(t){return t.element==e});if(!t){if(!(e&&e.nodeType==1))throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:e,entry:null}),this._monitorIntersections(e.ownerDocument),this._checkForIntersections()}},i.prototype.unobserve=function(e){this._observationTargets=this._observationTargets.filter(function(t){return t.element!=e}),this._unmonitorIntersections(e.ownerDocument),this._observationTargets.length==0&&this._unregisterInstance()},i.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorAllIntersections(),this._unregisterInstance()},i.prototype.takeRecords=function(){var e=this._queuedEntries.slice();return this._queuedEntries=[],e},i.prototype._initThresholds=function(e){var t=e||[0];return Array.isArray(t)||(t=[t]),t.sort().filter(function(e,t,n){if(typeof e!="number"||isNaN(e)||e<0||e>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return e!==n[t-1]})},i.prototype._parseRootMargin=function(e){var t=e||"0px",n=t.split(/\s+/).map(function(e){var t=/^(-?\d*\.?\d+)(px|%)$/.exec(e);if(!t)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(t[1]),unit:t[2]}});return n[1]=n[1]||n[0],n[2]=n[2]||n[0],n[3]=n[3]||n[1],n},i.prototype._monitorIntersections=function(n){var r=n.defaultView;if(r&&this._monitoringDocuments.indexOf(n)==-1){var o=this._checkForIntersections,a=null,i=null;this.POLL_INTERVAL?a=r.setInterval(o,this.POLL_INTERVAL):(u(r,"resize",o,!0),u(n,"scroll",o,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in r&&(i=new r.MutationObserver(o),i.observe(n,{attributes:!0,childList:!0,characterData:!0,subtree:!0}))),this._monitoringDocuments.push(n),this._monitoringUnsubscribes.push(function(){var e=n.defaultView;e&&(a&&e.clearInterval(a),c(e,"resize",o,!0)),c(n,"scroll",o,!0),i&&i.disconnect()});var l=this.root&&(this.root.ownerDocument||this.root)||t;if(n!=l){var s=e(n);s&&this._monitorIntersections(s.ownerDocument)}}},i.prototype._unmonitorIntersections=function(n){var r=this._monitoringDocuments.indexOf(n);if(r!=-1){var o=this.root&&(this.root.ownerDocument||this.root)||t,a=this._observationTargets.some(function(t){var r=t.element.ownerDocument;if(r==n)return!0;for(;r&&r!=o;){var a=e(r);if(r=a&&a.ownerDocument,r==n)return!0}return!1});if(!a){var i=this._monitoringUnsubscribes[r];if(this._monitoringDocuments.splice(r,1),this._monitoringUnsubscribes.splice(r,1),i(),n!=o){var l=e(n);l&&this._unmonitorIntersections(l.ownerDocument)}}}},i.prototype._unmonitorAllIntersections=function(){var e=this._monitoringUnsubscribes.slice(0);this._monitoringDocuments.length=0,this._monitoringUnsubscribes.length=0;for(var t=0;t=0&&l>=0&&{top:n,bottom:r,left:o,right:a,width:i,height:l}||null}function m(e){var t;try{t=e.getBoundingClientRect()}catch(e){}return t?(t.width&&t.height||(t={top:t.top,right:t.right,bottom:t.bottom,left:t.left,width:t.right-t.left,height:t.bottom-t.top}),t):p()}function p(){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}function _(e){return!e||"x"in e?e:{top:e.top,y:e.top,bottom:e.bottom,left:e.left,x:e.left,right:e.right,width:e.width,height:e.height}}function f(e,t){var n=t.top-e.top,r=t.left-e.left;return{top:n,left:r,height:t.height,width:t.width,bottom:n+t.height,right:r+t.width}}function g(e,t){for(var n=t;n;){if(n==e)return!0;n=h(n)}return!1}function h(n){var r=n.parentNode;return n.nodeType==9&&n!=t?e(n):(r&&r.assignedSlot&&(r=r.assignedSlot.parentNode),r&&r.nodeType==11&&r.host?r.host:r)}function y(e){return e&&e.nodeType===9}window.IntersectionObserver=i,window.IntersectionObserverEntry=a})(); "use strict";function getIterableProto(e){return Object.getPrototypeOf(e)}function*generator(){yield 1}function getIterables(){return[generator(),[].values(),[].keys(),[].entries(),new Uint8Array([]).values(),new Uint8Array([]).keys(),new Uint8Array([]).entries(),new Map().values(),new Map().keys(),new Map().entries(),new Set().values(),new Set().keys(),new Set().entries()]}function polyfillIteratorFunctions(){var e=new Set;getIterables().forEach(function(n){e.add(getIterableProto(n))}),e.forEach(function(e){typeof e.drop!="function"&&(e.drop=function(t){for(var e=0;e=t)break;yield n}}),typeof e.toArray!="function"&&(e.toArray=function(){return Array.from(this)})})}polyfillIteratorFunctions(); (function(){function e(){if(typeof JSON!="object"||typeof JSON.stringify!="function")return!1;if(typeof navigator=="undefined"||!navigator.userAgent)return!0;var e=navigator.userAgent,t;return e.indexOf("Firefox/")>-1?(t=e.match(/Firefox\/([0-9]+)/),t==null||!(parseInt(t[1],10)>=62)):e.indexOf("Edg/")>-1?(t=e.match(/Edg\/([0-9]+)/),t==null||!(parseInt(t[1],10)>=79)):e.indexOf("Chrome/")>-1?(t=e.match(/Chrome\/([0-9]+)/),t==null||!(parseInt(t[1],10)>=66)):e.indexOf("CriOS/")>-1?(t=e.match(/CriOS\/([0-9]+)/),t==null||!(parseInt(t[1],10)>=66)):e.indexOf("Safari/")>-1&&e.indexOf("Version/")>-1?(t=e.match(/Version\/([0-9]+)/),t==null||!(parseInt(t[1],10)>=12)):!0}function t(){return JSON.stringify(["\u2028\u2029"])==='["\\u2028\\u2029"]'}e()&&!t()&&(JSON.stringify=(function(e){var t=/\u2028/g,n=/\u2029/g;return function(o,a,i){var r=e.call(this,o,a,i);return r&&(-10},e.prototype.connect_=function(){!t||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),s?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){!t||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=t===void 0?"":t,r=l.some(function(e){return!!~n.indexOf(e)});r&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e})(),c=function(t,n){for(var e=0,r=Object.keys(n);e0},t})(),k=typeof WeakMap!="undefined"?new WeakMap:new e,I=(function(){function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=u.getInstance(),r=new E(t,n,this);k.set(this,r)}return e})();["observe","unobserve","disconnect"].forEach(function(e){I.prototype[e]=function(){var t;return(t=k.get(this))[e].apply(t,arguments)}}),window.ResizeObserver=I})(); "use strict";Set.prototype.difference==null&&(Set.prototype.difference=function(t){var e=new Set(this);for(var n of t)e.has(n)&&e.delete(n);return e}); "use strict";Set.prototype.intersection==null&&(Set.prototype.intersection=function(t){var e=new Set;for(var n of this)t.has(n)&&e.add(n);return e}); "use strict";Set.prototype.isDisjointFrom==null&&(Set.prototype.isDisjointFrom=function(t){if(this.size<=t.size){for(var e of this)if(t.has(e))return!1}else for(var n of t)if(this.has(n))return!1;return!0}); "use strict";Set.prototype.isSubsetOf==null&&(Set.prototype.isSubsetOf=function(t){if(this.size>t.size)return!1;for(var e of this)if(!t.has(e))return!1;return!0}); "use strict";Set.prototype.isSupersetOf==null&&(Set.prototype.isSupersetOf=function(t){if(this.size>10)+55296),String.fromCharCode(n%1024+56320)))}return e.join("")}); "use strict";String.prototype.at==null&&(String.prototype.at=function(t){if(!(t===1/0||t===-1/0)){var e=parseInt(t);return Number.isInteger(e)||(e=0),e<0?this[this.length+e]:this[e]}}); String.prototype.startsWith||(String.prototype.startsWith=function(e){"use strict";if(this==null)throw TypeError();var t=String(this),n=arguments.length>1&&Number(arguments[1])||0,r=Math.min(Math.max(n,0),t.length);return t.indexOf(String(e),n)==r}),String.prototype.endsWith||(String.prototype.endsWith=function(e){"use strict";if(this==null)throw TypeError();var t=String(this),n=t.length,r=String(e),o=arguments.length>1?Number(arguments[1])||0:n,a=Math.min(Math.max(o,0),n),i=a-r.length;return i<0?!1:t.lastIndexOf(r,i)==i}),String.prototype.includes||(String.prototype.includes=function(e){"use strict";if(this==null)throw TypeError();var t=String(this),n=arguments.length>1&&Number(arguments[1])||0;return t.indexOf(String(e),n)!=-1}),String.prototype.repeat||(String.prototype.repeat=function(e){"use strict";if(this==null)throw TypeError();var t=String(this);if(e=Number(e)||0,e<0||e===1/0)throw RangeError();if(e===1)return t;for(var n="";e;)e&1&&(n+=t),(e>>=1)&&(t+=t);return n}),String.prototype.codePointAt||(String.prototype.codePointAt=function(e){"use strict";if(this==null)throw TypeError("Invalid context: "+this);var t=String(this),n=t.length;if(e=Number(e)||0,!(e<0||n<=e)){var r=t.charCodeAt(e);if(55296<=r&&r<=56319&&n>e+1){var o=t.charCodeAt(e+1);if(56320<=o&&o<=57343)return(r-55296)*1024+o-56320+65536}return r}}); String.prototype.contains||(String.prototype.contains=String.prototype.includes); String.prototype.padStart||(String.prototype.padStart=function(e,t){return e=e>>0,t=String(t||" "),this.length>e?String(this):(e=e-this.length,e>t.length&&(t+=t.repeat(e/t.length)),t.slice(0,e)+String(this))}),String.prototype.padEnd||(String.prototype.padEnd=function(e,t){return e=e>>0,t=String(t||" "),this.length>e?String(this):(e=e-this.length,e>t.length&&(t+=t.repeat(e/t.length)),String(this)+t.slice(0,e))}); if(!String.prototype.matchAll){var MAX_CALLS_TO_EXEC=250;String.prototype.matchAll=function(e){if(!e.global)throw new TypeError("String.prototype.matchAll called with a non-global RegExp argument");for(var n=String(this),r=[],o,a=0;(o=e.exec(n))&&a++>>0:o>>>0;(c=s.exec(r))&&(d=c.index+c[0].length,!(d>l&&(a.push(r.slice(l,c.index)),!n&&c.length>1&&c[0].replace(u,function(){for(var t=1;t1&&c.index=o)));)s.lastIndex===c.index&&s.lastIndex++;return l===r.length?(m||!s.test(""))&&a.push(""):a.push(r.slice(l)),a.length>o?a.slice(0,o):a}})(); (function(){var e=_(),t=e.Symbol;if(s()===!0)return;var n=Object.create,r=Object.defineProperty,o=Object.defineProperties,a=Object.prototype,i=n(null),l=Object.create(null);Object.defineProperty(e,"Symbol",{value:y(),configurable:!0,enumerable:!1,writable:!0});function s(){var e=t,n={object:!0,symbol:!0};if(typeof e!="function")return!1;var r=e("test symbol");try{String(r)}catch(e){return!1}return!(!n[typeof(typeof e=="function"?e.iterator:"@@iterator")]||!n[typeof(typeof e=="function"?e.toPrimitive:"@@toPrimitive")]||!n[typeof(typeof e=="function"?e.toStringTag:"@@toStringTag")])}function u(e,t){return e.indexOf(t)>-1}function c(e){return e!=null}function d(e,t){var n,r,o,a,i;return arguments.length<2||typeof e!="string"?(a=t,t=e,e=null):a=arguments[2],c(e)?(n=u.call(e,"c"),r=u.call(e,"e"),o=u.call(e,"w")):(n=o=!0,r=!1),{value:t,configurable:n,enumerable:r,writable:o}}d.gs=function(e,t,n){var r,o,a,i;return typeof e!="string"?(a=n,n=t,t=e,e=null):a=arguments[3],c(t)?isPlainFunction(t)?c(n)?isPlainFunction(n)||(a=n,n=void 0):n=void 0:(a=t,t=n=void 0):t=void 0,c(e)?(r=u.call(e,"c"),o=u.call(e,"e")):(r=!0,o=!1),{get:t,set:n,configurable:r,enumerable:o}};function m(e){if(!p(e))throw new TypeError(e+" is not a symbol");return e}function p(e){var t=typeof e;return t==="symbol"||t==="object"}function _(){return typeof window!="undefined"?window:global}function f(e){for(var t=0,n,o;i[e+(t||"")];)++t;return e+=t||"",i[e]=!0,n="@@"+e,r(a,n,{get:function(t){o||(o=!0,r(this,n,d(t)),o=!1)},configurable:!0,enumerable:!1}),n}function g(e){return Object.defineProperties(e,{asyncIterator:d("",t&&t.asyncIterator||e("asyncIterator")),hasInstance:d("",t&&t.hasInstance||e("hasInstance")),isConcatSpreadable:d("",t&&t.isConcatSpreadable||e("isConcatSpreadable")),iterator:d("",t&&t.iterator||"@@iterator"),match:d("",t&&t.match||e("match")),matchAll:d("",t&&t.matchAll||e("matchAll")),replace:d("",t&&t.replace||e("replace")),search:d("",t&&t.search||e("search")),species:d("",t&&t.species||e("species")),split:d("",t&&t.split||e("split")),toPrimitive:d("",t&&t.toPrimitive||e("toPrimitive")),toStringTag:d("",t&&t.toStringTag||e("toStringTag")),unscopables:d("",t&&t.unscopables||e("unscopables"))})}function h(e){return Object.defineProperties(e,{for:d(function(t){return l[t]?l[t]:l[t]=e(String(t))}),keyFor:d(function(e){var t;m(e);for(t in l)if(l[t]===e)return t})})}function y(){var e,a,i;if(typeof t=="function")try{String(t()),i=!0}catch(e){}else t=null;return a=function(n){if(this instanceof a)throw new TypeError("Symbol is not a constructor");return e(n)},e=function e(r){var l;if(this instanceof e)throw new TypeError("Symbol is not a constructor");return i?t(r):(l=n(a.prototype),r=r===void 0?"":String(r),o(l,{__description__:d("",r),__name__:d("",f(r))}))},g(e),h(e),o(a.prototype,{constructor:d(e),toString:d("",function(){return this.__name__})}),o(e.prototype,{toString:d(function(){return"Symbol ("+m(this).__description__+")"}),valueOf:d(function(){return m(this)})}),r(e.prototype,e.toPrimitive,d("",function(){var e=m(this);return typeof e=="symbol"?e:e.toString()})),r(e.prototype,e.toStringTag,d("c","Symbol")),r(a.prototype,e.toStringTag,d("c",e.prototype[e.toStringTag])),r(a.prototype,e.toPrimitive,d("c",e.prototype[e.toPrimitive])),e}})(); "use strict";(function(e){"use strict";function t(e,t,n){return t<=e&&e<=n}function n(e,t){return e.indexOf(t)!==-1}var r=Math.floor;function o(e){if(e===void 0)return{};if(e===Object(e))return e;throw TypeError("Could not convert argument to dictionary")}function a(e){for(var t="",n=0;n>10)+55296,(r&1023)+56320))}return t}function i(e){return 0<=e&&e<=127}var l=i,s=-1;function u(e){this.tokens=[].slice.call(e),this.tokens.reverse()}u.prototype={endOfStream:function(){return!this.tokens.length},read:function(){return this.tokens.length?this.tokens.pop():s},prepend:function(t){if(Array.isArray(t))for(var e=t;e.length;)this.tokens.push(e.pop());else this.tokens.push(t)},push:function(t){if(Array.isArray(t))for(var e=t;e.length;)this.tokens.unshift(e.shift());else this.tokens.unshift(t)}};var c=-1;function d(e,t){if(e)throw TypeError("Decoder error");return t||65533}function m(e){throw TypeError("The code point "+e+" could not be encoded.")}function p(){}p.prototype={handler:function(t,n){}};function _(){}_.prototype={handler:function(t,n){}};function f(e){return e=String(e).trim().toLowerCase(),Object.prototype.hasOwnProperty.call(h,e)?h[e]:null}var g=[{encodings:[{labels:["unicode-1-1-utf-8","utf-8","utf8"],name:"UTF-8"}],heading:"The Encoding"},{encodings:[{labels:["866","cp866","csibm866","ibm866"],name:"IBM866"},{labels:["csisolatin2","iso-8859-2","iso-ir-101","iso8859-2","iso88592","iso_8859-2","iso_8859-2:1987","l2","latin2"],name:"ISO-8859-2"},{labels:["csisolatin3","iso-8859-3","iso-ir-109","iso8859-3","iso88593","iso_8859-3","iso_8859-3:1988","l3","latin3"],name:"ISO-8859-3"},{labels:["csisolatin4","iso-8859-4","iso-ir-110","iso8859-4","iso88594","iso_8859-4","iso_8859-4:1988","l4","latin4"],name:"ISO-8859-4"},{labels:["csisolatincyrillic","cyrillic","iso-8859-5","iso-ir-144","iso8859-5","iso88595","iso_8859-5","iso_8859-5:1988"],name:"ISO-8859-5"},{labels:["arabic","asmo-708","csiso88596e","csiso88596i","csisolatinarabic","ecma-114","iso-8859-6","iso-8859-6-e","iso-8859-6-i","iso-ir-127","iso8859-6","iso88596","iso_8859-6","iso_8859-6:1987"],name:"ISO-8859-6"},{labels:["csisolatingreek","ecma-118","elot_928","greek","greek8","iso-8859-7","iso-ir-126","iso8859-7","iso88597","iso_8859-7","iso_8859-7:1987","sun_eu_greek"],name:"ISO-8859-7"},{labels:["csiso88598e","csisolatinhebrew","hebrew","iso-8859-8","iso-8859-8-e","iso-ir-138","iso8859-8","iso88598","iso_8859-8","iso_8859-8:1988","visual"],name:"ISO-8859-8"},{labels:["csiso88598i","iso-8859-8-i","logical"],name:"ISO-8859-8-I"},{labels:["csisolatin6","iso-8859-10","iso-ir-157","iso8859-10","iso885910","l6","latin6"],name:"ISO-8859-10"},{labels:["iso-8859-13","iso8859-13","iso885913"],name:"ISO-8859-13"},{labels:["iso-8859-14","iso8859-14","iso885914"],name:"ISO-8859-14"},{labels:["csisolatin9","iso-8859-15","iso8859-15","iso885915","iso_8859-15","l9"],name:"ISO-8859-15"},{labels:["iso-8859-16"],name:"ISO-8859-16"},{labels:["cskoi8r","koi","koi8","koi8-r","koi8_r"],name:"KOI8-R"},{labels:["koi8-ru","koi8-u"],name:"KOI8-U"},{labels:["csmacintosh","mac","macintosh","x-mac-roman"],name:"macintosh"},{labels:["dos-874","iso-8859-11","iso8859-11","iso885911","tis-620","windows-874"],name:"windows-874"},{labels:["cp1250","windows-1250","x-cp1250"],name:"windows-1250"},{labels:["cp1251","windows-1251","x-cp1251"],name:"windows-1251"},{labels:["ansi_x3.4-1968","ascii","cp1252","cp819","csisolatin1","ibm819","iso-8859-1","iso-ir-100","iso8859-1","iso88591","iso_8859-1","iso_8859-1:1987","l1","latin1","us-ascii","windows-1252","x-cp1252"],name:"windows-1252"},{labels:["cp1253","windows-1253","x-cp1253"],name:"windows-1253"},{labels:["cp1254","csisolatin5","iso-8859-9","iso-ir-148","iso8859-9","iso88599","iso_8859-9","iso_8859-9:1989","l5","latin5","windows-1254","x-cp1254"],name:"windows-1254"},{labels:["cp1255","windows-1255","x-cp1255"],name:"windows-1255"},{labels:["cp1256","windows-1256","x-cp1256"],name:"windows-1256"},{labels:["cp1257","windows-1257","x-cp1257"],name:"windows-1257"},{labels:["cp1258","windows-1258","x-cp1258"],name:"windows-1258"},{labels:["x-mac-cyrillic","x-mac-ukrainian"],name:"x-mac-cyrillic"}],heading:"Legacy single-byte encodings"},{encodings:[{labels:["chinese","csgb2312","csiso58gb231280","gb2312","gb_2312","gb_2312-80","gbk","iso-ir-58","x-gbk"],name:"GBK"},{labels:["gb18030"],name:"gb18030"}],heading:"Legacy multi-byte Chinese (simplified) encodings"},{encodings:[{labels:["big5","big5-hkscs","cn-big5","csbig5","x-x-big5"],name:"Big5"}],heading:"Legacy multi-byte Chinese (traditional) encodings"},{encodings:[{labels:["cseucpkdfmtjapanese","euc-jp","x-euc-jp"],name:"EUC-JP"},{labels:["csiso2022jp","iso-2022-jp"],name:"ISO-2022-JP"},{labels:["csshiftjis","ms932","ms_kanji","shift-jis","shift_jis","sjis","windows-31j","x-sjis"],name:"Shift_JIS"}],heading:"Legacy multi-byte Japanese encodings"},{encodings:[{labels:["cseuckr","csksc56011987","euc-kr","iso-ir-149","korean","ks_c_5601-1987","ks_c_5601-1989","ksc5601","ksc_5601","windows-949"],name:"EUC-KR"}],heading:"Legacy multi-byte Korean encodings"},{encodings:[{labels:["csiso2022kr","hz-gb-2312","iso-2022-cn","iso-2022-cn-ext","iso-2022-kr"],name:"replacement"},{labels:["utf-16be"],name:"UTF-16BE"},{labels:["utf-16","utf-16le"],name:"UTF-16LE"},{labels:["x-user-defined"],name:"x-user-defined"}],heading:"Legacy miscellaneous encodings"}],h={};g.forEach(function(e){e.encodings.forEach(function(e){e.labels.forEach(function(t){h[t]=e})})});var y={},C={};function b(e,t){return t&&t[e]||null}function v(e,t){var n=t.indexOf(e);return n===-1?null:n}function S(t){if(!("encoding-indexes"in e))throw Error("Indexes missing. Did you forget to include encoding-indexes.js first?");return e["encoding-indexes"][t]}function R(e){if(e>39419&&e<189e3||e>1237575)return null;if(e===7457)return 59335;var t=0,n=0,r=S("gb18030-ranges"),o;for(o=0;o0&&e[0]===65279?(this._BOMseen=!0,e.shift()):e.length>0&&(this._BOMseen=!0)),a(e)}return p.call(this,l)};function $(e){var n=e.fatal,r=0,o=0,a=0,i=128,l=191;this.handler=function(e,u){if(u===s&&a!==0)return a=0,d(n);if(u===s)return c;if(a===0){if(t(u,0,127))return u;if(t(u,194,223))a=1,r=u&31;else if(t(u,224,239))u===224&&(i=160),u===237&&(l=159),a=2,r=u&15;else if(t(u,240,244))u===240&&(i=144),u===244&&(l=143),a=3,r=u&7;else return d(n);return null}if(!t(u,i,l))return r=a=o=0,i=128,l=191,e.prepend(u),d(n);if(i=128,l=191,r=r<<6|u&63,o+=1,o!==a)return null;var m=r;return r=a=o=0,m}}function P(e){this.handler=function(e,n){if(n===s)return c;if(l(n))return n;var r,o;t(n,128,2047)?(r=1,o=192):t(n,2048,65535)?(r=2,o=224):t(n,65536,1114111)&&(r=3,o=240);for(var a=[(n>>6*r)+o];r>0;){var i=n>>6*(r-1);a.push(128|i&63),r-=1}return a}}y["UTF-8"]=function(e){return new P(e)},C["UTF-8"]=function(e){return new $(e)};function N(e,t){var n=t.fatal;this.handler=function(t,r){if(r===s)return c;if(i(r))return r;var o=e[r-128];return o===null?d(n):o}}function M(e,t){this.handler=function(t,n){if(n===s)return c;if(l(n))return n;var r=v(n,e);return r===null&&m(n),r+128}}(function(){"encoding-indexes"in e&&g.forEach(function(e){e.heading==="Legacy single-byte encodings"&&e.encodings.forEach(function(e){var t=e.name,n=S(t.toLowerCase());C[t]=function(e){return new N(n,e)},y[t]=function(e){return new M(n,e)}})})})(),C.GBK=function(e){return new w(e)},y.GBK=function(e){return new A(e,!0)};function w(e){var n=e.fatal,r=0,o=0,a=0;this.handler=function(e,l){if(l===s&&r===0&&o===0&&a===0)return c;l===s&&(r!==0||o!==0||a!==0)&&(r=0,o=0,a=0,d(n));var u;if(a!==0){u=null,t(l,48,57)&&(u=R((((r-129)*10+o-48)*126+a-129)*10+l-48));var m=[o,a,l];return r=0,o=0,a=0,u===null?(e.prepend(m),d(n)):u}if(o!==0)return t(l,129,254)?(a=l,null):(e.prepend([o,l]),r=0,o=0,d(n));if(r!==0){if(t(l,48,57))return o=l,null;var p=r,_=null;r=0;var f=l<127?64:65;return(t(l,64,126)||t(l,128,254))&&(_=(p-129)*190+(l-f)),u=_===null?null:b(_,S("gb18030")),u===null&&i(l)&&e.prepend(l),u===null?d(n):u}return i(l)?l:l===128?8364:t(l,129,254)?(r=l,null):d(n)}}function A(e,t){this.handler=function(e,n){if(n===s)return c;if(l(n))return n;if(n===58853)return m(n);if(t&&n===8364)return 128;var o=v(n,S("gb18030"));if(o!==null){var a=r(o/190)+129,i=o%190,u=i<63?64:65;return[a,i+u]}if(t)return m(n);o=L(n);var d=r(o/10/126/10);o=o-d*10*126*10;var p=r(o/10/126);o=o-p*10*126;var _=r(o/10),f=o-_*10;return[d+129,p+48,_+129,f+48]}}y.gb18030=function(e){return new A(e)},C.gb18030=function(e){return new w(e)};function F(e){var n=e.fatal,r=0;this.handler=function(e,o){if(o===s&&r!==0)return r=0,d(n);if(o===s&&r===0)return c;if(r!==0){var a=r,l=null;r=0;var u=o<127?64:98;switch((t(o,64,126)||t(o,161,254))&&(l=(a-129)*157+(o-u)),l){case 1133:return[202,772];case 1135:return[202,780];case 1164:return[234,772];case 1166:return[234,780]}var m=l===null?null:b(l,S("big5"));return m===null&&i(o)&&e.prepend(o),m===null?d(n):m}return i(o)?o:t(o,129,254)?(r=o,null):d(n)}}function O(e){this.handler=function(e,t){if(t===s)return c;if(l(t))return t;var n=I(t);if(n===null)return m(t);var o=r(n/157)+129;if(o<161)return m(t);var a=n%157,i=a<63?64:98;return[o,a+i]}}y.Big5=function(e){return new O(e)},C.Big5=function(e){return new F(e)};function B(e){var n=e.fatal,r=!1,o=0;this.handler=function(e,a){if(a===s&&o!==0)return o=0,d(n);if(a===s&&o===0)return c;if(o===142&&t(a,161,223))return o=0,65216+a;if(o===143&&t(a,161,254))return r=!0,o=a,null;if(o!==0){var l=o;o=0;var u=null;return t(l,161,254)&&t(a,161,254)&&(u=b((l-161)*94+(a-161),S(r?"jis0212":"jis0208"))),r=!1,t(a,161,254)||e.prepend(a),u===null?d(n):u}return i(a)?a:a===142||a===143||t(a,161,254)?(o=a,null):d(n)}}function W(e){this.handler=function(e,n){if(n===s)return c;if(l(n))return n;if(n===165)return 92;if(n===8254)return 126;if(t(n,65377,65439))return[142,n-65377+161];n===8722&&(n=65293);var o=v(n,S("jis0208"));if(o===null)return m(n);var a=r(o/94)+161,i=o%94+161;return[a,i]}}y["EUC-JP"]=function(e){return new W(e)},C["EUC-JP"]=function(e){return new B(e)};function q(e){var n=e.fatal,r={ASCII:0,Roman:1,Katakana:2,LeadByte:3,TrailByte:4,EscapeStart:5,Escape:6},o=r.ASCII,a=r.ASCII,i=0,l=!1;this.handler=function(e,u){switch(o){default:case r.ASCII:return u===27?(o=r.EscapeStart,null):t(u,0,127)&&u!==14&&u!==15&&u!==27?(l=!1,u):u===s?c:(l=!1,d(n));case r.Roman:return u===27?(o=r.EscapeStart,null):u===92?(l=!1,165):u===126?(l=!1,8254):t(u,0,127)&&u!==14&&u!==15&&u!==27&&u!==92&&u!==126?(l=!1,u):u===s?c:(l=!1,d(n));case r.Katakana:return u===27?(o=r.EscapeStart,null):t(u,33,95)?(l=!1,65344+u):u===s?c:(l=!1,d(n));case r.LeadByte:return u===27?(o=r.EscapeStart,null):t(u,33,126)?(l=!1,i=u,o=r.TrailByte,null):u===s?c:(l=!1,d(n));case r.TrailByte:if(u===27)return o=r.EscapeStart,d(n);if(t(u,33,126)){o=r.LeadByte;var m=(i-33)*94+u-33,p=b(m,S("jis0208"));return p===null?d(n):p}return u===s?(o=r.LeadByte,e.prepend(u),d(n)):(o=r.LeadByte,d(n));case r.EscapeStart:return u===36||u===40?(i=u,o=r.Escape,null):(e.prepend(u),l=!1,o=a,d(n));case r.Escape:var _=i;i=0;var f=null;if(_===40&&u===66&&(f=r.ASCII),_===40&&u===74&&(f=r.Roman),_===40&&u===73&&(f=r.Katakana),_===36&&(u===64||u===66)&&(f=r.LeadByte),f!==null){o=o=f;var g=l;return l=!0,g?d(n):null}return e.prepend([_,u]),l=!1,o=a,d(n)}}}function U(e){var t={ASCII:0,Roman:1,jis0208:2},n=t.ASCII;this.handler=function(e,o){if(o===s&&n!==t.ASCII)return e.prepend(o),n=t.ASCII,[27,40,66];if(o===s&&n===t.ASCII)return c;if((n===t.ASCII||n===t.Roman)&&(o===14||o===15||o===27))return m(65533);if(n===t.ASCII&&l(o))return o;if(n===t.Roman&&(l(o)&&o!==92&&o!==126||o==165||o==8254)){if(l(o))return o;if(o===165)return 92;if(o===8254)return 126}if(l(o)&&n!==t.ASCII)return e.prepend(o),n=t.ASCII,[27,40,66];if((o===165||o===8254)&&n!==t.Roman)return e.prepend(o),n=t.Roman,[27,40,74];o===8722&&(o=65293);var a=v(o,S("jis0208"));if(a===null)return m(o);if(n!==t.jis0208)return e.prepend(o),n=t.jis0208,[27,36,66];var i=r(a/94)+33,u=a%94+33;return[i,u]}}y["ISO-2022-JP"]=function(e){return new U(e)},C["ISO-2022-JP"]=function(e){return new q(e)};function V(e){var n=e.fatal,r=0;this.handler=function(e,o){if(o===s&&r!==0)return r=0,d(n);if(o===s&&r===0)return c;if(r!==0){var a=r,l=null;r=0;var u=o<127?64:65,m=a<160?129:193;if((t(o,64,126)||t(o,128,252))&&(l=(a-m)*188+o-u),t(l,8836,10715))return 48508+l;var p=l===null?null:b(l,S("jis0208"));return p===null&&i(o)&&e.prepend(o),p===null?d(n):p}return i(o)||o===128?o:t(o,161,223)?65216+o:t(o,129,159)||t(o,224,252)?(r=o,null):d(n)}}function H(e){this.handler=function(e,n){if(n===s)return c;if(l(n)||n===128)return n;if(n===165)return 92;if(n===8254)return 126;if(t(n,65377,65439))return n-65377+161;n===8722&&(n=65293);var o=E(n);if(o===null)return m(n);var a=r(o/188),i=a<31?129:193,u=o%188,d=u<63?64:65;return[a+i,u+d]}}y.Shift_JIS=function(e){return new H(e)},C.Shift_JIS=function(e){return new V(e)};function G(e){var n=e.fatal,r=0;this.handler=function(e,o){if(o===s&&r!==0)return r=0,d(n);if(o===s&&r===0)return c;if(r!==0){var a=r,l=null;r=0,t(o,65,254)&&(l=(a-129)*190+(o-65));var u=l===null?null:b(l,S("euc-kr"));return l===null&&i(o)&&e.prepend(o),u===null?d(n):u}return i(o)?o:t(o,129,254)?(r=o,null):d(n)}}function z(e){this.handler=function(e,t){if(t===s)return c;if(l(t))return t;var n=v(t,S("euc-kr"));if(n===null)return m(t);var o=r(n/190)+129,a=n%190+65;return[o,a]}}y["EUC-KR"]=function(e){return new z(e)},C["EUC-KR"]=function(e){return new G(e)};function j(e,t){var n=e>>8,r=e&255;return t?[n,r]:[r,n]}function K(e,n){var r=n.fatal,o=null,a=null;this.handler=function(n,i){if(i===s&&(o!==null||a!==null))return d(r);if(i===s&&o===null&&a===null)return c;if(o===null)return o=i,null;var l;if(e?l=(o<<8)+i:l=(i<<8)+o,o=null,a!==null){var u=a;return a=null,t(l,56320,57343)?65536+(u-55296)*1024+(l-56320):(n.prepend(j(l,e)),d(r))}return t(l,55296,56319)?(a=l,null):t(l,56320,57343)?d(r):l}}function Q(e,n){this.handler=function(n,r){if(r===s)return c;if(t(r,0,65535))return j(r,e);var o=j((r-65536>>10)+55296,e),a=j((r-65536&1023)+56320,e);return o.concat(a)}}y["UTF-16BE"]=function(e){return new Q(!0,e)},C["UTF-16BE"]=function(e){return new K(!0,e)},y["UTF-16LE"]=function(e){return new Q(!1,e)},C["UTF-16LE"]=function(e){return new K(!1,e)};function X(e){this.handler=function(e,t){return t===s?c:i(t)?t:63360+t-128}}function Y(e){this.handler=function(e,n){return n===s?c:l(n)?n:t(n,63360,63487)?n-63360+128:m(n)}}y["x-user-defined"]=function(e){return new Y(e)},C["x-user-defined"]=function(e){return new X(e)},e.TextDecoder||(e.TextDecoder=x)})(typeof global=="undefined"?typeof self=="undefined"?this:self:global); "use strict";(function(e){"use strict";function t(e,t,n){return t<=e&&e<=n}function n(e,t){return e.indexOf(t)!==-1}var r=Math.floor;function o(e){if(e===void 0)return{};if(e===Object(e))return e;throw TypeError("Could not convert argument to dictionary")}function a(e){for(var t=String(e),n=t.length,r=0,o=[];r57343)o.push(a);else if(56320<=a&&a<=57343)o.push(65533);else if(55296<=a&&a<=56319)if(r===n-1)o.push(65533);else{var i=t.charCodeAt(r+1);if(56320<=i&&i<=57343){var l=a&1023,s=i&1023;o.push(65536+(l<<10)+s),r+=1}else o.push(65533)}r+=1}return o}function i(e){for(var t="",n=0;n>10)+55296,(r&1023)+56320))}return t}function l(e){return 0<=e&&e<=127}var s=l,u=-1;function c(e){this.tokens=[].slice.call(e),this.tokens.reverse()}c.prototype={endOfStream:function(){return!this.tokens.length},read:function(){return this.tokens.length?this.tokens.pop():u},prepend:function(t){if(Array.isArray(t))for(var e=t;e.length;)this.tokens.push(e.pop());else this.tokens.push(t)},push:function(t){if(Array.isArray(t))for(var e=t;e.length;)this.tokens.unshift(e.shift());else this.tokens.unshift(t)}};var d=-1;function m(e,t){if(e)throw TypeError("Decoder error");return t||65533}function p(e){throw TypeError("The code point "+e+" could not be encoded.")}function _(){}_.prototype={handler:function(t,n){}};function f(){}f.prototype={handler:function(t,n){}};function g(e){return e=String(e).trim().toLowerCase(),Object.prototype.hasOwnProperty.call(y,e)?y[e]:null}var h=[{encodings:[{labels:["unicode-1-1-utf-8","utf-8","utf8"],name:"UTF-8"}],heading:"The Encoding"},{encodings:[{labels:["866","cp866","csibm866","ibm866"],name:"IBM866"},{labels:["csisolatin2","iso-8859-2","iso-ir-101","iso8859-2","iso88592","iso_8859-2","iso_8859-2:1987","l2","latin2"],name:"ISO-8859-2"},{labels:["csisolatin3","iso-8859-3","iso-ir-109","iso8859-3","iso88593","iso_8859-3","iso_8859-3:1988","l3","latin3"],name:"ISO-8859-3"},{labels:["csisolatin4","iso-8859-4","iso-ir-110","iso8859-4","iso88594","iso_8859-4","iso_8859-4:1988","l4","latin4"],name:"ISO-8859-4"},{labels:["csisolatincyrillic","cyrillic","iso-8859-5","iso-ir-144","iso8859-5","iso88595","iso_8859-5","iso_8859-5:1988"],name:"ISO-8859-5"},{labels:["arabic","asmo-708","csiso88596e","csiso88596i","csisolatinarabic","ecma-114","iso-8859-6","iso-8859-6-e","iso-8859-6-i","iso-ir-127","iso8859-6","iso88596","iso_8859-6","iso_8859-6:1987"],name:"ISO-8859-6"},{labels:["csisolatingreek","ecma-118","elot_928","greek","greek8","iso-8859-7","iso-ir-126","iso8859-7","iso88597","iso_8859-7","iso_8859-7:1987","sun_eu_greek"],name:"ISO-8859-7"},{labels:["csiso88598e","csisolatinhebrew","hebrew","iso-8859-8","iso-8859-8-e","iso-ir-138","iso8859-8","iso88598","iso_8859-8","iso_8859-8:1988","visual"],name:"ISO-8859-8"},{labels:["csiso88598i","iso-8859-8-i","logical"],name:"ISO-8859-8-I"},{labels:["csisolatin6","iso-8859-10","iso-ir-157","iso8859-10","iso885910","l6","latin6"],name:"ISO-8859-10"},{labels:["iso-8859-13","iso8859-13","iso885913"],name:"ISO-8859-13"},{labels:["iso-8859-14","iso8859-14","iso885914"],name:"ISO-8859-14"},{labels:["csisolatin9","iso-8859-15","iso8859-15","iso885915","iso_8859-15","l9"],name:"ISO-8859-15"},{labels:["iso-8859-16"],name:"ISO-8859-16"},{labels:["cskoi8r","koi","koi8","koi8-r","koi8_r"],name:"KOI8-R"},{labels:["koi8-ru","koi8-u"],name:"KOI8-U"},{labels:["csmacintosh","mac","macintosh","x-mac-roman"],name:"macintosh"},{labels:["dos-874","iso-8859-11","iso8859-11","iso885911","tis-620","windows-874"],name:"windows-874"},{labels:["cp1250","windows-1250","x-cp1250"],name:"windows-1250"},{labels:["cp1251","windows-1251","x-cp1251"],name:"windows-1251"},{labels:["ansi_x3.4-1968","ascii","cp1252","cp819","csisolatin1","ibm819","iso-8859-1","iso-ir-100","iso8859-1","iso88591","iso_8859-1","iso_8859-1:1987","l1","latin1","us-ascii","windows-1252","x-cp1252"],name:"windows-1252"},{labels:["cp1253","windows-1253","x-cp1253"],name:"windows-1253"},{labels:["cp1254","csisolatin5","iso-8859-9","iso-ir-148","iso8859-9","iso88599","iso_8859-9","iso_8859-9:1989","l5","latin5","windows-1254","x-cp1254"],name:"windows-1254"},{labels:["cp1255","windows-1255","x-cp1255"],name:"windows-1255"},{labels:["cp1256","windows-1256","x-cp1256"],name:"windows-1256"},{labels:["cp1257","windows-1257","x-cp1257"],name:"windows-1257"},{labels:["cp1258","windows-1258","x-cp1258"],name:"windows-1258"},{labels:["x-mac-cyrillic","x-mac-ukrainian"],name:"x-mac-cyrillic"}],heading:"Legacy single-byte encodings"},{encodings:[{labels:["chinese","csgb2312","csiso58gb231280","gb2312","gb_2312","gb_2312-80","gbk","iso-ir-58","x-gbk"],name:"GBK"},{labels:["gb18030"],name:"gb18030"}],heading:"Legacy multi-byte Chinese (simplified) encodings"},{encodings:[{labels:["big5","big5-hkscs","cn-big5","csbig5","x-x-big5"],name:"Big5"}],heading:"Legacy multi-byte Chinese (traditional) encodings"},{encodings:[{labels:["cseucpkdfmtjapanese","euc-jp","x-euc-jp"],name:"EUC-JP"},{labels:["csiso2022jp","iso-2022-jp"],name:"ISO-2022-JP"},{labels:["csshiftjis","ms932","ms_kanji","shift-jis","shift_jis","sjis","windows-31j","x-sjis"],name:"Shift_JIS"}],heading:"Legacy multi-byte Japanese encodings"},{encodings:[{labels:["cseuckr","csksc56011987","euc-kr","iso-ir-149","korean","ks_c_5601-1987","ks_c_5601-1989","ksc5601","ksc_5601","windows-949"],name:"EUC-KR"}],heading:"Legacy multi-byte Korean encodings"},{encodings:[{labels:["csiso2022kr","hz-gb-2312","iso-2022-cn","iso-2022-cn-ext","iso-2022-kr"],name:"replacement"},{labels:["utf-16be"],name:"UTF-16BE"},{labels:["utf-16","utf-16le"],name:"UTF-16LE"},{labels:["x-user-defined"],name:"x-user-defined"}],heading:"Legacy miscellaneous encodings"}],y={};h.forEach(function(e){e.encodings.forEach(function(e){e.labels.forEach(function(t){y[t]=e})})});var C={},b={};function v(e,t){return t&&t[e]||null}function S(e,t){var n=t.indexOf(e);return n===-1?null:n}function R(t){if(!("encoding-indexes"in e))throw Error("Indexes missing. Did you forget to include encoding-indexes.js first?");return e["encoding-indexes"][t]}function L(e){if(e>39419&&e<189e3||e>1237575)return null;if(e===7457)return 59335;var t=0,n=0,r=R("gb18030-ranges"),o;for(o=0;o0&&e[0]===65279?(this._BOMseen=!0,e.shift()):e.length>0&&(this._BOMseen=!0)),i(e)}return p.call(this,l)};function P(t,n){if(!(this instanceof P))throw TypeError("Called as a function. Did you forget 'new'?");n=o(n),this._encoding=null,this._encoder=null,this._do_not_flush=!1,this._fatal=n.fatal?"fatal":"replacement";var r=this;if(n.NONSTANDARD_allowLegacyEncoding){t=t!==void 0?String(t):x;var a=g(t);if(a===null||a.name==="replacement")throw RangeError("Unknown encoding: "+t);if(!C[a.name])throw Error("Encoder not present. Did you forget to include encoding-indexes.js first?");r._encoding=a}else r._encoding=g("utf-8"),t!==void 0&&"console"in e;return Object.defineProperty||(this.encoding=r._encoding.name.toLowerCase()),r}Object.defineProperty&&Object.defineProperty(P.prototype,"encoding",{get:function(){return this._encoding.name.toLowerCase()}}),P.prototype.encode=function(t,n){t=t===void 0?"":String(t),n=o(n),this._do_not_flush||(this._encoder=C[this._encoding.name]({fatal:this._fatal==="fatal"})),this._do_not_flush=!!n.stream;for(var e=new c(a(t)),r=[],i;;){var l=e.read();if(l===u||(i=this._encoder.handler(e,l),i===d))break;Array.isArray(i)?r.push.apply(r,i):r.push(i)}if(!this._do_not_flush){for(;i=this._encoder.handler(e,e.read()),i!==d;)Array.isArray(i)?r.push.apply(r,i):r.push(i);this._encoder=null}return new Uint8Array(r)};function N(e){var n=e.fatal,r=0,o=0,a=0,i=128,l=191;this.handler=function(e,s){if(s===u&&a!==0)return a=0,m(n);if(s===u)return d;if(a===0){if(t(s,0,127))return s;if(t(s,194,223))a=1,r=s&31;else if(t(s,224,239))s===224&&(i=160),s===237&&(l=159),a=2,r=s&15;else if(t(s,240,244))s===240&&(i=144),s===244&&(l=143),a=3,r=s&7;else return m(n);return null}if(!t(s,i,l))return r=a=o=0,i=128,l=191,e.prepend(s),m(n);if(i=128,l=191,r=r<<6|s&63,o+=1,o!==a)return null;var c=r;return r=a=o=0,c}}function M(e){this.handler=function(e,n){if(n===u)return d;if(s(n))return n;var r,o;t(n,128,2047)?(r=1,o=192):t(n,2048,65535)?(r=2,o=224):t(n,65536,1114111)&&(r=3,o=240);for(var a=[(n>>6*r)+o];r>0;){var i=n>>6*(r-1);a.push(128|i&63),r-=1}return a}}C["UTF-8"]=function(e){return new M(e)},b["UTF-8"]=function(e){return new N(e)};function w(e,t){var n=t.fatal;this.handler=function(t,r){if(r===u)return d;if(l(r))return r;var o=e[r-128];return o===null?m(n):o}}function A(e,t){this.handler=function(t,n){if(n===u)return d;if(s(n))return n;var r=S(n,e);return r===null&&p(n),r+128}}(function(){"encoding-indexes"in e&&h.forEach(function(e){e.heading==="Legacy single-byte encodings"&&e.encodings.forEach(function(e){var t=e.name,n=R(t.toLowerCase());b[t]=function(e){return new w(n,e)},C[t]=function(e){return new A(n,e)}})})})(),b.GBK=function(e){return new F(e)},C.GBK=function(e){return new O(e,!0)};function F(e){var n=e.fatal,r=0,o=0,a=0;this.handler=function(e,i){if(i===u&&r===0&&o===0&&a===0)return d;i===u&&(r!==0||o!==0||a!==0)&&(r=0,o=0,a=0,m(n));var s;if(a!==0){s=null,t(i,48,57)&&(s=L((((r-129)*10+o-48)*126+a-129)*10+i-48));var c=[o,a,i];return r=0,o=0,a=0,s===null?(e.prepend(c),m(n)):s}if(o!==0)return t(i,129,254)?(a=i,null):(e.prepend([o,i]),r=0,o=0,m(n));if(r!==0){if(t(i,48,57))return o=i,null;var p=r,_=null;r=0;var f=i<127?64:65;return(t(i,64,126)||t(i,128,254))&&(_=(p-129)*190+(i-f)),s=_===null?null:v(_,R("gb18030")),s===null&&l(i)&&e.prepend(i),s===null?m(n):s}return l(i)?i:i===128?8364:t(i,129,254)?(r=i,null):m(n)}}function O(e,t){this.handler=function(e,n){if(n===u)return d;if(s(n))return n;if(n===58853)return p(n);if(t&&n===8364)return 128;var o=S(n,R("gb18030"));if(o!==null){var a=r(o/190)+129,i=o%190,l=i<63?64:65;return[a,i+l]}if(t)return p(n);o=E(n);var c=r(o/10/126/10);o=o-c*10*126*10;var m=r(o/10/126);o=o-m*10*126;var _=r(o/10),f=o-_*10;return[c+129,m+48,_+129,f+48]}}C.gb18030=function(e){return new O(e)},b.gb18030=function(e){return new F(e)};function B(e){var n=e.fatal,r=0;this.handler=function(e,o){if(o===u&&r!==0)return r=0,m(n);if(o===u&&r===0)return d;if(r!==0){var a=r,i=null;r=0;var s=o<127?64:98;switch((t(o,64,126)||t(o,161,254))&&(i=(a-129)*157+(o-s)),i){case 1133:return[202,772];case 1135:return[202,780];case 1164:return[234,772];case 1166:return[234,780]}var c=i===null?null:v(i,R("big5"));return c===null&&l(o)&&e.prepend(o),c===null?m(n):c}return l(o)?o:t(o,129,254)?(r=o,null):m(n)}}function W(e){this.handler=function(e,t){if(t===u)return d;if(s(t))return t;var n=T(t);if(n===null)return p(t);var o=r(n/157)+129;if(o<161)return p(t);var a=n%157,i=a<63?64:98;return[o,a+i]}}C.Big5=function(e){return new W(e)},b.Big5=function(e){return new B(e)};function q(e){var n=e.fatal,r=!1,o=0;this.handler=function(e,a){if(a===u&&o!==0)return o=0,m(n);if(a===u&&o===0)return d;if(o===142&&t(a,161,223))return o=0,65216+a;if(o===143&&t(a,161,254))return r=!0,o=a,null;if(o!==0){var i=o;o=0;var s=null;return t(i,161,254)&&t(a,161,254)&&(s=v((i-161)*94+(a-161),R(r?"jis0212":"jis0208"))),r=!1,t(a,161,254)||e.prepend(a),s===null?m(n):s}return l(a)?a:a===142||a===143||t(a,161,254)?(o=a,null):m(n)}}function U(e){this.handler=function(e,n){if(n===u)return d;if(s(n))return n;if(n===165)return 92;if(n===8254)return 126;if(t(n,65377,65439))return[142,n-65377+161];n===8722&&(n=65293);var o=S(n,R("jis0208"));if(o===null)return p(n);var a=r(o/94)+161,i=o%94+161;return[a,i]}}C["EUC-JP"]=function(e){return new U(e)},b["EUC-JP"]=function(e){return new q(e)};function V(e){var n=e.fatal,r={ASCII:0,Roman:1,Katakana:2,LeadByte:3,TrailByte:4,EscapeStart:5,Escape:6},o=r.ASCII,a=r.ASCII,i=0,l=!1;this.handler=function(e,s){switch(o){default:case r.ASCII:return s===27?(o=r.EscapeStart,null):t(s,0,127)&&s!==14&&s!==15&&s!==27?(l=!1,s):s===u?d:(l=!1,m(n));case r.Roman:return s===27?(o=r.EscapeStart,null):s===92?(l=!1,165):s===126?(l=!1,8254):t(s,0,127)&&s!==14&&s!==15&&s!==27&&s!==92&&s!==126?(l=!1,s):s===u?d:(l=!1,m(n));case r.Katakana:return s===27?(o=r.EscapeStart,null):t(s,33,95)?(l=!1,65344+s):s===u?d:(l=!1,m(n));case r.LeadByte:return s===27?(o=r.EscapeStart,null):t(s,33,126)?(l=!1,i=s,o=r.TrailByte,null):s===u?d:(l=!1,m(n));case r.TrailByte:if(s===27)return o=r.EscapeStart,m(n);if(t(s,33,126)){o=r.LeadByte;var c=(i-33)*94+s-33,p=v(c,R("jis0208"));return p===null?m(n):p}return s===u?(o=r.LeadByte,e.prepend(s),m(n)):(o=r.LeadByte,m(n));case r.EscapeStart:return s===36||s===40?(i=s,o=r.Escape,null):(e.prepend(s),l=!1,o=a,m(n));case r.Escape:var _=i;i=0;var f=null;if(_===40&&s===66&&(f=r.ASCII),_===40&&s===74&&(f=r.Roman),_===40&&s===73&&(f=r.Katakana),_===36&&(s===64||s===66)&&(f=r.LeadByte),f!==null){o=o=f;var g=l;return l=!0,g?m(n):null}return e.prepend([_,s]),l=!1,o=a,m(n)}}}function H(e){var t={ASCII:0,Roman:1,jis0208:2},n=t.ASCII;this.handler=function(e,o){if(o===u&&n!==t.ASCII)return e.prepend(o),n=t.ASCII,[27,40,66];if(o===u&&n===t.ASCII)return d;if((n===t.ASCII||n===t.Roman)&&(o===14||o===15||o===27))return p(65533);if(n===t.ASCII&&s(o))return o;if(n===t.Roman&&(s(o)&&o!==92&&o!==126||o==165||o==8254)){if(s(o))return o;if(o===165)return 92;if(o===8254)return 126}if(s(o)&&n!==t.ASCII)return e.prepend(o),n=t.ASCII,[27,40,66];if((o===165||o===8254)&&n!==t.Roman)return e.prepend(o),n=t.Roman,[27,40,74];o===8722&&(o=65293);var a=S(o,R("jis0208"));if(a===null)return p(o);if(n!==t.jis0208)return e.prepend(o),n=t.jis0208,[27,36,66];var i=r(a/94)+33,l=a%94+33;return[i,l]}}C["ISO-2022-JP"]=function(e){return new H(e)},b["ISO-2022-JP"]=function(e){return new V(e)};function G(e){var n=e.fatal,r=0;this.handler=function(e,o){if(o===u&&r!==0)return r=0,m(n);if(o===u&&r===0)return d;if(r!==0){var a=r,i=null;r=0;var s=o<127?64:65,c=a<160?129:193;if((t(o,64,126)||t(o,128,252))&&(i=(a-c)*188+o-s),t(i,8836,10715))return 48508+i;var p=i===null?null:v(i,R("jis0208"));return p===null&&l(o)&&e.prepend(o),p===null?m(n):p}return l(o)||o===128?o:t(o,161,223)?65216+o:t(o,129,159)||t(o,224,252)?(r=o,null):m(n)}}function z(e){this.handler=function(e,n){if(n===u)return d;if(s(n)||n===128)return n;if(n===165)return 92;if(n===8254)return 126;if(t(n,65377,65439))return n-65377+161;n===8722&&(n=65293);var o=k(n);if(o===null)return p(n);var a=r(o/188),i=a<31?129:193,l=o%188,c=l<63?64:65;return[a+i,l+c]}}C.Shift_JIS=function(e){return new z(e)},b.Shift_JIS=function(e){return new G(e)};function j(e){var n=e.fatal,r=0;this.handler=function(e,o){if(o===u&&r!==0)return r=0,m(n);if(o===u&&r===0)return d;if(r!==0){var a=r,i=null;r=0,t(o,65,254)&&(i=(a-129)*190+(o-65));var s=i===null?null:v(i,R("euc-kr"));return i===null&&l(o)&&e.prepend(o),s===null?m(n):s}return l(o)?o:t(o,129,254)?(r=o,null):m(n)}}function K(e){this.handler=function(e,t){if(t===u)return d;if(s(t))return t;var n=S(t,R("euc-kr"));if(n===null)return p(t);var o=r(n/190)+129,a=n%190+65;return[o,a]}}C["EUC-KR"]=function(e){return new K(e)},b["EUC-KR"]=function(e){return new j(e)};function Q(e,t){var n=e>>8,r=e&255;return t?[n,r]:[r,n]}function X(e,n){var r=n.fatal,o=null,a=null;this.handler=function(n,i){if(i===u&&(o!==null||a!==null))return m(r);if(i===u&&o===null&&a===null)return d;if(o===null)return o=i,null;var l;if(e?l=(o<<8)+i:l=(i<<8)+o,o=null,a!==null){var s=a;return a=null,t(l,56320,57343)?65536+(s-55296)*1024+(l-56320):(n.prepend(Q(l,e)),m(r))}return t(l,55296,56319)?(a=l,null):t(l,56320,57343)?m(r):l}}function Y(e,n){this.handler=function(n,r){if(r===u)return d;if(t(r,0,65535))return Q(r,e);var o=Q((r-65536>>10)+55296,e),a=Q((r-65536&1023)+56320,e);return o.concat(a)}}C["UTF-16BE"]=function(e){return new Y(!0,e)},b["UTF-16BE"]=function(e){return new X(!0,e)},C["UTF-16LE"]=function(e){return new Y(!1,e)},b["UTF-16LE"]=function(e){return new X(!1,e)};function J(e){this.handler=function(e,t){return t===u?d:l(t)?t:63360+t-128}}function Z(e){this.handler=function(e,n){return n===u?d:s(n)?n:t(n,63360,63487)?n-63360+128:p(n)}}C["x-user-defined"]=function(e){return new Z(e)},b["x-user-defined"]=function(e){return new J(e)},e.TextEncoder||(e.TextEncoder=P)})(typeof global=="undefined"?typeof self=="undefined"?this:self:global); "use strict";(function(e){function t(){return!(typeof URL!="function"||typeof URL.createObjectURL!="function"||typeof URL.revokeObjectURL!="function"||typeof File!="function"||typeof Blob!="function")}if(t()){var n={},r=URL.createObjectURL,o=URL.revokeObjectURL;URL.createObjectURL=function(e){var t=null,o=0;e instanceof File?(t="File",o=e.size):e instanceof Blob?(t="Blob",o=e.size):typeof MediaSource=="function"&&e instanceof MediaSource&&(t="MediaSource",o=0);var a=r.call(URL,e);return t!==null&&(n[a]={type:t,size:o}),a},URL.revokeObjectURL=function(e){o.call(URL,e),delete n[e]},URL._fbRegisteredObjectURL=function(){return Object.values(n)}}})(this); (function(e){var t=e.babelHelpers={},n=Object.prototype.hasOwnProperty;typeof Symbol!="undefined"&&!(typeof Symbol!="function"||Symbol.asyncIterator)&&(Symbol.asyncIterator=Symbol("Symbol.asyncIterator"));function r(e){this.wrapped=e}function o(e){var t,n;function o(e,r){return new Promise(function(o,i){var l={key:e,arg:r,resolve:o,reject:i,next:null};n?n=n.next=l:(t=n=l,a(e,r))})}function a(t,n){try{var o=e[t](n),l=o.value,s=l instanceof r;Promise.resolve(s?l.wrapped:l).then(function(e){if(s){a(t==="return"?"return":"next",e);return}i(o.done?"return":"normal",e)},function(e){a("throw",e)})}catch(e){i("throw",e)}}function i(e,r){switch(e){case"return":t.resolve({value:r,done:!0});break;case"throw":t.reject(r);break;default:t.resolve({value:r,done:!1});break}t=t.next,t?a(t.key,t.arg):n=null}this._invoke=o,typeof e.return!="function"&&(this.return=void 0)}typeof Symbol=="function"&&(typeof Symbol!="function"||Symbol.asyncIterator)&&(o.prototype[typeof Symbol=="function"?Symbol.asyncIterator:"@@asyncIterator"]=function(){return this}),o.prototype.next=function(e){return this._invoke("next",e)},o.prototype.throw=function(e){return this._invoke("throw",e)},o.prototype.return=function(e){return this._invoke("return",e)},t.createClass=(function(){function e(e,t){for(var n=0;n=0||(r[o]=e[o]);return r},t.taggedTemplateLiteralLoose=function(e,t){return t||(t=e.slice(0)),e.raw=t,e},t.bind=Function.prototype.bind,t.wrapAsyncGenerator=function(e){return function(){return new o(e.apply(this,arguments))}},t.awaitAsyncGenerator=function(e){return new r(e)},t.asyncIterator=function(e){var t;if(typeof Symbol!="undefined"&&((typeof Symbol!="function"||Symbol.asyncIterator)&&(t=e[typeof Symbol=="function"?Symbol.asyncIterator:"@@asyncIterator"],t!=null)||(typeof Symbol!="function"||Symbol.iterator)&&(t=e[typeof Symbol=="function"?Symbol.iterator:"@@iterator"],t!=null)))return t.call(e);throw new TypeError("Object is not async iterable")},t.asyncGeneratorDelegate=function(e,t){var n={},r=!1;function o(n,o){return r=!0,o=new Promise(function(t){t(e[n](o))}),{done:!1,value:t(o)}}return typeof Symbol=="function"&&(typeof Symbol!="function"||Symbol.iterator)&&(n[typeof Symbol=="function"?Symbol.iterator:"@@iterator"]=function(){return this}),n.next=function(e){return r?(r=!1,e):o("next",e)},typeof e.throw=="function"&&(n.throw=function(e){if(r)throw r=!1,e;return o("throw",e)}),typeof e.return=="function"&&(n.return=function(e){return r?(r=!1,e):o("return",e)}),n},t.arrayLikeToArray=function(t,n){(n==null||n>t.length)&&(n=t.length);for(var e=0,r=new Array(n);e1?n-1:0),o=1;oee;return n&&delete J[t],n});Object.keys(J).length>0&&(Z=setTimeout(Te()(ne,"_checkFbtVirtualModuleTimeout"),ee)),t.length>0&&se.apply(null,[["FBLogger"],function(e){e("binary_transparency","vmod_timeout").warn("The following virtual modules are taking over %sms to be defined: %s...",ee,t.join(",").slice(0,300))}])}function re(e,t,n){if(X&&n!=null&&n&y){var r=e+Y;t.push(r),te(r)}}function oe(e,n,o,i,l,s,d){n===void 0?(n=[],o=e,e=ue()):o===void 0&&(o=n,R.call(e)==="[object Array]"?(n=e,e=ue(n.join(","))):n=[]);var m={cancel:le.bind(this,e)},p=ae(e);if(!n&&!o&&s!=null&&s!==0)return p.refcount+=s,m;if(X&&(e in J&&delete J[e],Array.isArray(n)&&re(e,n,i)),a[e]={id:e,dependencies:n,meta:d,category:i,defined:D?$():null,factoryTime:null,factoryStart:null,factoryEnd:null,factoryRun:!1},p.dependencies&&p.reload!==!0)return e.indexOf(":")!=-1?c++:u++,m;s!=null&&s!==0&&(p.refcount+=s);var _=n.map(ae);if(p.factory=o,p.dependencies=_,p.context=l,p.special=i,(p.nonJSDeps||he(p))&&(p.nonJSDeps=!1,z(p)),Ce(p),r.length>0){var f=r;r=[];var g=!ye(p)&&t.ScheduleJSWork?t.ScheduleJSWork:Ie;g(function(){if(I){for(var e=0;e0;)A.call(null,f.pop().id)})()}return m}function ae(e){var t=o[e];return t||(t=new ie(e,0),o[e]=t,t)}function ie(e,t,n){this.id=e,this.refcount=t,this.exports=n||null,this.defaultExport=n||v,this.factory=void 0,this.factoryLength=-1,this.factoryFinished=!1,this.dependencies=void 0,this.depPosition=0,this.context=void 0,this.special=0,this.hasError=!1,this.error=null,this.ranRecursiveSideEffects=!1,this.sideEffectDependencyException=null,this.nextDepWaitingHead=null,this.nextDepWaitingNext=null,this.tarjanGeneration=-1,this.tarjanLow=0,this.tarjanIndex=0,this.tarjanOnStack=!1,this.nonJSDeps=!1}function le(e){if(o[e]){var t=o[e];if(o[e]=null,t.dependencies)for(var n=0;n=e.dependencies.length}function _e(e){e.depPosition++,Ce(e)}function fe(e){var t=e.nextDepWaitingHead;for(e.nextDepWaitingHead=null;t!=null;){var n=t;n.nonJSDeps&&z(e),t=n.nextDepWaitingNext,n.nextDepWaitingNext=null;var r=!o[n.id];r||_e(n)}}function ge(e){return e.special&d}function he(e){return e.special&f}function ye(e){return e.special&C}function Ce(e){for(;e.dependencies!=null&&e.depPosition1?r-1:0),a=1;a1?t-1:0),r=1;r2?o-2:0),i=2;i0&&(o+=" Params: "+n.map(function(e){return"%s"}).join(", "));var a=(e||(e=r("Env"))).show_invariant_decoder===!0?"visit "+c(t,n)+" to see the full message.":"";return{message:o,decoderLink:a}}function c(e,t){var n="https://www.internalfb.com/intern/invariant/"+e+"/";return t.length>0&&(n+="?"+t.map(function(e,t){return"args["+t+"]="+encodeURIComponent(String(e))}).join("&")),n}l.default=s}),98); __d("ArbiterToken",["invariant"],(function(t,n,r,o,a,i,l,s){"use strict";var e=(function(){function e(e,t){this.unsubscribe=function(){for(var e=0;e1?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.name,n=e.message,r=e.stack;if(r==null)return null;if(t!=null&&n!=null&&n!==""){var o=t+": "+n+"\n";if(r.startsWith(o))return r.substr(o.length);if(r===t+": "+n)return null}if(t!=null){var a=t+"\n";if(r.startsWith(a))return r.substr(a.length)}if(n!=null&&n!==""){var i=": "+n+"\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(t.includes("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.identifier,n=e.script,r=e.line,o=e.column,a=" at "+(t!=null?t:"");return n!=null&&r!=null&&o!=null&&(a+=" ("+n+":"+r+":"+o+")"),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:Array.from((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&&r.includes(e.project))return!1;var a=Re(e,t);return Object.assign(a,{ancestors:ge.slice(),clientWeight:ye(o),page_position:ye(he)}),ge.length<15&&["fatal","error"].includes(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)*

([^<]+)<\/h1>)?/im.exec(n.errorMsg);if(i){var l,u;o=s('HTML document with title="%s" and h1="%s"',(l=i[1])!==null&&l!==void 0?l:"",(u=i[2])!==null&&u!==void 0?u:"")}else o=s("HTML document sanitized")}else/^\s*<\?xml/i.test(n.errorMsg)?o=s("XML document sanitized"):(n.message=n.errorMsg,o=E(n));o!==n&&typeof n.name=="string"&&(a=n.name),typeof n.name!="string"&&typeof n.errorCode=="string"&&(a="UnhandledRejectionWith_errorCode_"+n.errorCode),typeof n.name!="string"&&typeof n.error=="number"&&(a="UnhandledRejectionWith_error_"+String(n.error))}o.loggingSource="ONUNHANDLEDREJECTION";try{a=o===n&&a!=null&&a!==""?a:typeof(n==null?void 0:n.name)=="string"&&n.name!==""?n.name:r!=null&&r.length>0?"UnhandledRejectionWith_"+r.join("_"):"UnhandledRejection_"+(n===null?"null":typeof n),o.name=a}catch(e){}try{var c=n==null?void 0:n.stack;(typeof c!="string"||c==="")&&(c=o.stack),(typeof c!="string"||c==="")&&(c=s("").stack),o.stack=o.name+": "+o.message+"\n"+c.split("\n").slice(1).join("\n")}catch(e){}try{var d=e.promise;o.stack=o.stack+(d!=null&&typeof d.settledStack=="string"?"\n at \n"+d.settledStack:"")+(d!=null&&typeof d.createdStack=="string"?"\n at \n"+d.createdStack:"")}catch(e){}try{var m=e.promise;"__isPromiseWithTracing"in m&&m.__isPromiseWithTracing===!0&&m.deferredError!=null&&(o.deferredSource=E(m.deferredError))}catch(e){}t.reportError(o),e.preventDefault()}}function De(e){ke=e,typeof t.addEventListener=="function"&&!Ie&&(Ie=!0,t.addEventListener("unhandledrejection",Te))}var xe={onunhandledrejection:Te,setup:De},$e={preSetup:function(t){(t==null||t.ignoreOnError!==!0)&&D.setup(de),(t==null||t.ignoreOnUnahndledRejection!==!0)&&xe.setup(de)},setup:function(t,n,r){de.addListener(function(e){var o,a=babelHelpers.extends({},t,(o=r==null?void 0:r())!==null&&o!==void 0?o:{});Ee.postError(e,a,n)})}},Pe=20,Ne=(function(){function e(e,t){var n=this;t===void 0&&(t=[]),this.FATAL=function(e){for(var t=e.join("%s"),r=arguments.length,o=new Array(r>1?r-1:0),a=1;a1?r-1:0),a=1;a1?r-1:0),a=1;a1?r-1:0),a=1;a1?r-1:0),a=1;a2?m-2:0),_=2;_0&&new e("fblogger").blameToPreviousFrame().blameToPreviousFrame().warn("Blame helpers do not work with catching"),W.aggregateError(c,{messageFormat:t,messageParams:W.toStringParams(p),errorName:c.name,forcedKey:u,project:a,type:n,loggingSource:"FBLOGGER"}),d=ae.normalizeError(c);else{if(c=new Error(t),c.stack===void 0)try{throw c}catch(e){}c.messageFormat=t,c.messageParams=W.toStringParams(p),c.blameModule=s,c.forcedKey=u,c.project=a,c.type=n,c.loggingSource="FBLOGGER",c.taalOpcodes=[l.PREVIOUS_FRAME,l.PREVIOUS_FRAME].concat(this.taalOpcodes),d=ae.normalizeError(c),d.name="FBLogger"}if(!i.isEmpty())if(d.metadata==null)d.metadata=i.format();else{var f=d.metadata.concat(i.format()),g=new Set(f);d.metadata=Array.from(g.values())}if(o.length>0){if(d.events!=null){var h;(h=d.events).push.apply(h,o)}else d.events=[].concat(o);if(d.events!=null&&d.events.length>Pe){var y=d.events.length-Pe;d.events.splice(0,y+1,"")}}return d.tags=Array.from(this.loggerTags),de.reportNormalizedError(d),c},t.fatal=function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r1?e-1:0),r=1;r1?e-1:0),r=1;r1?e-1:0),r=1;r1?e-1:0),r=1;r0?"["+Array.from(this.loggerTags).join("|")+"] ":"";return e},e})(),Me=function(t,n){var e=new Ne(t);return n!=null?e.event(t+"."+n):e};Me.addGlobalMetadata=function(e,t,n){M.addGlobalMetadata(e,t,n)};var we="";function Fe(e,t){if(e!=null&&t!=null)try{Object.defineProperty(e,"name",{value:we+" "+t+Ae})}catch(e){}return e}var Oe={blameToPreviousFile:function(t){var e;return t.taalOpcodes=(e=t.taalOpcodes)!==null&&e!==void 0?e:[],t.taalOpcodes.push(l.PREVIOUS_FILE),t},blameToPreviousFrame:function(t){var e;return t.taalOpcodes=(e=t.taalOpcodes)!==null&&e!==void 0?e:[],t.taalOpcodes.push(l.PREVIOUS_FRAME),t},blameToPreviousDirectory:function(t){var e;return t.taalOpcodes=(e=t.taalOpcodes)!==null&&e!==void 0?e:[],t.taalOpcodes.push(l.PREVIOUS_DIR),t}},Be={err:s,ErrorBrowserConsole:c,ErrorConfig:m,ErrorDynamicData:f,ErrorFilter:R,ErrorGlobalEventHandler:D,ErrorGuard:_e,ErrorGuardState:$,ErrorMetadata:M,ErrorNormalizeUtils:ae,ErrorPoster:Ee,ErrorPubSub:de,ErrorSerializer:W,ErrorSetup:$e,ErrorXFBDebug:z,FBLogger:Me,getErrorSafe:E,getSimpleHash:K,TAAL:Oe,TAALOpcode:l,renameFunction:Fe};a.exports=Be}),null); __d("ErrorGuard",["fb-error"],(function(t,n,r,o,a,i,l){"use strict";l.default=r("fb-error").ErrorGuard}),98); __d("CallbackDependencyManager",["ErrorGuard"],(function(t,n,r,o,a,i){var e,l=(function(){"use strict";function t(){this.$1=new Map,this.$2=new Map,this.$3=1,this.$4=new Map}var r=t.prototype;return r.$5=function(t,n){for(var e=0,r=new Set,o=0,a=n.length;o2?t-2:0),i=2;i1?n-1:0),o=1;o1?r-1:0),a=1;a0&&this.$3.releaseCurrentEvent()},t.releaseHeldEventType=function(t){this.$3.releaseEventType(t)},e})();i.default=e}),66); __d("EventHolder",["invariant"],(function(t,n,r,o,a,i,l,s){"use strict";var e=(function(){function e(){this.$1={},this.$2=[]}var t=e.prototype;return t.holdEvent=function(t){this.$1[t]=this.$1[t]||[];for(var e=this.$1[t],n={eventType:t,index:e.length},r=arguments.length,o=new Array(r>1?r-1:0),a=1;a1?o-1:0),i=1;i")}function C(e){var t=new Map;for(var n of r("objectValues")(e))for(var o of n){var a=o[0],i=o[1];t.set(a,i)}return t}function b(){return{blocking:new Map,nonblocking:new Map,default:new Map}}function v(e){f.add(e),_.inform(s,e,"persistent")}function S(t){f.delete(t),_.inform(e,t,"persistent")}function R(e,t){g.add(y(e,t))}function L(e,t,n){_.inform(y(e,t),n,"persistent")}function E(e){_.inform(c,e,"persistent")}function k(e){return _.subscribe(s,function(t,n){return e(n)})}function I(t){return _.subscribe(e,function(e,n){return t(n)})}function T(e){return _.subscribe(c,function(t,n){return e(n)})}function D(){return new Set(f)}function x(e){_.inform(d,e,"persistent")}function $(e){return _.subscribe(d,function(t,n){var r=y(n.source,n.sourceDetail);if(g.has(r)){_.subscribe(r,function(t,r){return e(babelHelpers.extends({},n,{efData:r}))});return}e(n)})}function P(e){return _.subscribe(m,function(t,n){e(n)})}function N(){return h}function M(e,t){h=!0,_.inform(m,{hashes:e,source:t},"persistent")}function w(e){return _.subscribe(u,function(t,n){e(n)})}function A(e){_.inform(u,e,"persistent")}function F(e){return _.subscribe(p,function(t,n){return e(n)})}function O(e){_.inform(p,e,"persistent")}l.flattenResourceMapSet=C,l.newResourceMapSet=b,l.notifyBootloadStart=v,l.notifyBootload=S,l.notifyHasteResponseEFStart=R,l.notifyHasteResponseEF=L,l.notifyDeferTimeout=E,l.onBootloadStarted=k,l.onBootload=I,l.onDeferTimeout=T,l.getActiveBootloads=D,l.notifyHasteResponse=x,l.onHasteResponse=$,l.onResourceInLongTailBTManifest=P,l.getHasDetectedResourceInLongTailBTManifest=N,l.notifyResourceInLongTailBTManifest=M,l.onBootloaderCallbackTimeout=w,l.notifyBootloaderCallbackTimeout=A,l.onBootloadError=F,l.notifyBootloadError=O}),98); __d("SimpleHook",[],(function(t,n,r,o,a,i){"use strict";var e=(function(){function e(){this.__callbacks=[],this.call=this.$2}var t=e.prototype;return t.hasCallback=function(t){var e=this.__callbacks;return e.length>0&&(t==null||e.some(function(e){return e===t||e.$1===t}))},t.add=function(t,n){var e=this,r;if((n==null?void 0:n.once)===!0){var o=function(){e.remove(r),t.apply(null,arguments)};o.$1=t,r=o}else r=t;return this.__callbacks.push(r),r},t.removeLast=function(){return this.__callbacks.pop()},t.remove=function(t){return this.removeIf(function(e){return e===t})},t.removeIf=function(t){var e=this.__callbacks;return this.__callbacks=e.filter(function(e){return!t(e)}),e.length>this.__callbacks.length},t.clear=function(){this.__callbacks=[]},t.$2=function(){for(var e=this.__callbacks,t=0,n=e.length;t500&&(c=e,r("performanceAbsoluteNowOnAdjust").call(e)),e},typeof window=="object"&&typeof window.addEventListener=="function"){var h={capture:!1,passive:!0};window.addEventListener("blur",g,h),window.addEventListener("focus",g,h)}}else f=_=function(){return s()};var y={setFallback:u,fromRelativeTime:(function(){if(d===-1){var t=p?Date.now()-(e||(e=r("performance"))).now():0;return function(e){return e+t}}else return function(e){return e+d}})(),__adjust:g,adjusted:f},C=Object.assign(_,y),b=C;l.default=b}),98); __d("BootloaderEventsManager",["CallbackDependencyManager","performanceAbsoluteNow"],(function(t,n,r,o,a,i){var e,l=(function(){"use strict";function t(){this.$1=new(n("CallbackDependencyManager")),this.$2=new Map}var r=t.prototype;return r.rsrcDone=function(t){return t},r.bootload=function(t){return"bl:"+t.join(",")},r.tierOne=function(t){return"t1:"+t},r.tierTwoStart=function(t){return"t2s:"+t},r.tierTwo=function(t){return"t2:"+t},r.tierThreeStart=function(t){return"t3s:"+t},r.tierThree=function(t){return"t3:"+t},r.tierOneLog=function(t){return"t1l:"+t},r.tierTwoLog=function(t){return"t2l:"+t},r.tierThreeLog=function(t){return"t3l:"+t},r.beDone=function(t){return"beDone:"+t},r.notify=function(r){this.$2.set(r,(e||(e=n("performanceAbsoluteNow")))()),this.$1.satisfyPersistentDependency(r)},r.getEventTime=function(t){return this.$2.get(t)},r.registerCallback=function(t,n){this.$1.registerCallback(t,n)},t})();a.exports=l}),null); __d("nullthrows",[],(function(t,n,r,o,a,i){function e(e,t){if(t===void 0&&(t="Got unexpected null or undefined"),e!=null)return e;var n=new Error(t);throw n.framesToPop=1,n}i.default=e}),66); __d("BootloaderPreloader",["invariant","BootloaderDocumentInserter","ErrorGuard","ExecutionEnvironment","FBLogger","nullthrows"],(function(t,n,r,o,a,i,l,s){"use strict";var e,u,c=new Set,d=new Set;function m(e){var t,n=e.allResources,a=e==null||(t=e.hsrp)==null||(t=t.hblp)==null?void 0:t.rsrcMap;if(a==null){r("FBLogger")("BootloaderPreloader").warn("Missing resource map in worker hrp");return}if(n==null){r("FBLogger")("BootloaderPreloader").warn("Missing allResources list in worker hrp");return}o("BootloaderDocumentInserter").batchDOMInsert(function(e){n.forEach(function(t){var n=a[t];!n||n.type!=="js"||p(n,e,"prefetch")})})}function p(t,n,o,a,i){if(o===void 0&&(o="preload"),!(e||(e=r("ExecutionEnvironment"))).isInWorker){var l=r("nullthrows")(n),m=void 0;switch(t.type){case"async":return;case"css":m="style";break;case"js":m="script";break;default:m=t.type,s(0,3721)}if(!(c.has(t.src)||o==="prefetch"&&d.has(t.src))&&(o==="preload"?c.add(t.src):o==="prefetch"?d.add(t.src):s(0,77517),t.d!==1)){var p=document.createElement("link");i!=null&&(p.onerror=(u||(u=r("ErrorGuard"))).guard(function(){i()})),p.href=t.src,p.rel=o,o==="preload"&&(p.as=m),a!=null&&p.setAttribute("fetchpriority",a),t.nc||(p.crossOrigin="anonymous"),l.appendChild(p)}}}l.preloadWorkerJSFromHRP=m,l.preloadResource=p}),98); __d("BootloaderRetryTracker",["ErrorGuard","performanceAbsoluteNow"],(function(t,n,r,o,a,i,l){"use strict";var e,s,u=(function(){function n(e){this.$2=[],this.$3=new Map,this.$1=e,this.$4=this.$1.retries.length>0}var o=n.prototype;return o.getAllRetryAttempts_FOR_DEBUG_ONLY=function(){return this.$3},o.getNumRetriesForSource=function(t){var e;return(e=this.$3.get(t))!=null?e:0},o.maybeScheduleRetry=function(o,a,i){var n=this,l=this.getNumRetriesForSource(o);if(!this.$5()||l>=this.$1.retries.length){i();return}this.$2.push((e||(e=r("performanceAbsoluteNow")))()),this.$3.set(o,l+1),t.setTimeout(function(){n.$5()?a():i()},this.$1.retries[l])},o.maybeRetryImmediately=function(n,o,a){var t=this.getNumRetriesForSource(n);if(!this.$5()||t>=this.$1.retries.length){a();return}this.$2.push((e||(e=r("performanceAbsoluteNow")))()),this.$3.set(n,t+1),o()},o.$5=function(){if(!this.$4)return!1;var e=this.$2.length;if(e1?t.then(n,a):t;r==null&&i.then(null,u);var l=(e||(e=o("PromiseAnnotate"))).getDisplayName(t);l!=null&&(e||(e=o("PromiseAnnotate"))).setDisplayName(i,l)}l.default=d}),98); __d("requireWeak",[],(function(t,n,r,o,a,i){function e(e,t){var n;(n=o)==null||n.call(null,[e],t)}i.default=e}),66); __d("RequireDeferredReference",["CallbackDependencyManager","Promise","RequireDeferredFactoryEvent","ifRequireable","ifRequired","performanceNow","promiseDone","requireWeak"],(function(t,n,r,o,a,i,l){"use strict";var e,s,u=1,c=2,d=16,m=u|c|d,p=null;function _(){return p==null&&(p=new(r("CallbackDependencyManager"))),p}function f(e,t){return e+":"+t}var g=new Set,h=(function(){function t(e){this.$1=e}var o=t.prototype;return o.setRequireDeferredForDisplay=function(t){this.$2=t},o.isRequireDeferredForDisplay=function(){return this.$2},o.getModuleId=function(){var e=this.$1;return e},o.getModuleIdAsRef=function(){return this.$1},o.preload=function(){},o.getModuleIfRequired=function(){return r("ifRequired").call(null,this.$1,function(e){return e})},o.getModuleIfRequireable=function(){return r("ifRequireable").call(null,this.$1,function(e){return e})},o.isAvailableInSSR_DO_NOT_USE=function(){return!0},o.$3=function(t){var e=this,n=r("ifRequireable")("InteractionTracingMetrics",function(t){return t.currentInteractionLogger().addRequireDeferred(e.getModuleId(),(s||(s=r("performanceNow")))())}),o=!1,a=function(a,i){n==null||n((s||(s=r("performanceNow")))(),i),o||t(a)};return r("ifRequireable").call(null,this.$1,function(e){return a(e,!0)},function(){r("requireWeak").call(null,e.$1,function(e){return a(e,!1)})}),{remove:function(){o=!0}}},o.load=function(){var t=this;return new(e||(e=n("Promise")))(function(e){return t.$3(e)})},o.__setRef=function(t){return this},o.onReadyImmediately=function(t){return this.$3(t)},o.onReady=function(o){var t=!1,a=this.$3(function(a){r("promiseDone")((e||(e=n("Promise"))).resolve().then(function(){t||o(a)}))});return{remove:function(){t=!0,a.remove()}}},o.loadImmediately=function(t){return this.$3(t)},t.getRDModuleName_DO_NOT_USE=function(t){return"rd:"+t},t.unblock=function(o,a){var e=_(),i=function(i){g.has(i)||(g.add(i),e.registerCallback(function(){define(t.getRDModuleName_DO_NOT_USE(i),[i],function(){n.call(null,i)},m)},Array.from(r("RequireDeferredFactoryEvent").members(),function(e){return f(i,e)}))),e.satisfyPersistentDependency(f(i,a))};for(var l of o)i(l)},t})();l.default=h}),98); __d("RDRequireDeferredReference",["RequireDeferredReference"],(function(t,n,r,o,a,i,l){"use strict";var e=(function(e){function t(){return e.apply(this,arguments)||this}babelHelpers.inheritsLoose(t,e),t.disableForSSR_DO_NOT_USE=function(){this.$RDRequireDeferredReference$p_1=!1};var n=t.prototype;return n.isAvailableInSSR_DO_NOT_USE=function(){return this.constructor.$RDRequireDeferredReference$p_1},t})(r("RequireDeferredReference"));e.$RDRequireDeferredReference$p_1=!0,l.default=e}),98); __d("requireDeferred",["RDRequireDeferredReference"],(function(t,n,r,o,a,i,l){"use strict";var e={};function s(t,n){e[t]=n}function u(t){return e[t]}function c(e){var t=u(e);if(t)return t;var n=new(r("RDRequireDeferredReference"))(e);return n.setRequireDeferredForDisplay(!1),s(e,n),n}l.default=c}),98); __d("BootloaderUsageLoggerUtils",["SiteData","requireDeferred"],(function(t,n,r,o,a,i,l){"use strict";var e=r("requireDeferred")("ODS").__setRef("BootloaderUsageLoggerUtils"),s=new Set,u=new Set;function c(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r=n){for(var o of u.values())r("FBLogger")("CSSPoller").warn("Failed to poll CSS: %s with CORS setting %s after %d attempts",o.link.href,o.link.crossOrigin,o.pollAttempts),t.push(o.onError);u.clear()}else for(var a of u){var i=a[0],l=a[1],s=l.link;try{var d=s.sheet;if(d!=null){var m,p=(m=d.cssRules)!=null?m:d.rules;p!=null&&(t.push(l.onLoad),u.delete(i))}}catch(e){l.pollAttempts++,r("FBLogger")("CSSPoller").catching(r("getErrorSafe")(e)).warn("Poll technique was unable to poll CSS: %s with CORS setting %s at attempt %d",s.href,s.crossOrigin,l.pollAttempts)}}if(!(e||(e=r("isEmpty")))(t)){for(var _=0;_this.$1){var e=this.read();this.$2=0,this.$3=e,this.$1=t}return this},t.dropFirst=function(t){if(t<=this.$1){var e=this.read();this.$2=0,e.splice(0,t),this.$3=e}return this},t.clear=function(){return this.$2=0,this.$3=[],this},t.currentSize=function(){return this.$3.length},t.lastElement=function(){return this.$3[this.$2]},e})();l.default=e}),98); __d("ResourceTypes",[],(function(t,n,r,o,a,i){"use strict";var e={JS:"js",CSS:"css",XHR:"xhr"},l=e;i.default=l}),66); __d("TimingAnnotations",[],(function(t,n,r,o,a,i){var e=(function(){function e(){}var t=e.prototype;return t.addStringAnnotation=function(t,n){return this},t.addSetAnnotation=function(t,n){return this},t.addSetElement=function(t,n){return this},t.registerOnBeforeSend=function(t){return this},t.addVectorAnnotation=function(t,n){return this},t.addVectorElement=function(t,n){return this},e})(),l=(function(){function e(){this.$1=null,this.$2=null,this.$3=null,this.$4=[]}var t=e.prototype;return t.addStringAnnotation=function(t,n){return this.$2=this.$2||new Map,this.$2.set(t,n),this},t.addSetAnnotation=function(t,n){var e=this.$1||new Map,r=e.get(t)||new Set;return n.forEach(function(e){return r.add(e)}),e.set(t,r),this.$1=e,this},t.addSetElement=function(t,n){var e=this.$1||new Map,r=e.get(t)||new Set;return r.add(n),e.set(t,r),this.$1=e,this},t.addVectorAnnotation=function(t,n){return this.$3=this.$3||new Map,this.$3.set(t,n),this},t.addVectorElement=function(t,n){var e=this.$3=this.$3||new Map,r=this.$3.get(t)||[];return r.push(n),e.set(t,r),this},t.registerOnBeforeSend=function(t){return this.$4.push(t),this},t.prepareToSend=function(){var e=this;this.$4.forEach(function(t){return t(e)}),this.$4=[];var t={};if(this.$1!=null)for(var n of this.$1){var r=n[0],o=n[1];t[r]=Array.from(o.values())}var a={};if(this.$2!=null)for(var i of this.$2){var l=i[0],s=i[1];a[l]=s}var u={};if(this.$3!=null)for(var c of this.$3){var d=c[0],m=c[1];u[d]=m}return{setProps:t,stringProps:a,vectorProps:u}},e.combine=function(t,n){var e;return t!=null&&n!=null?(t.stringProps=babelHelpers.extends({},n.stringProps,t.stringProps),t.setProps=babelHelpers.extends({},n.setProps,t.setProps),e=t):t!=null?e=t:n!=null&&(e=n),e},e})();l.EmptyTimingAnnotations=e,l.EmptyTraceTimingAnnotations=e,l.TraceTimingAnnotations=l,i.default=l}),66); __d("BaseDeserializePHPQueryData",[],(function(t,n,r,o,a,i){"use strict";var e=/^([-_\w]+)((?:\[[-_\w]*\])+)=?(.*)/;function l(e){return e==="hasOwnProperty"||e==="__proto__"?"\uD83D\uDF56":e}function s(t,n){if(t==null||t==="")return{};for(var r={},o=t.replace(/%5B/gi,"[").replace(/%5D/gi,"]"),a=o.split("&"),i=Object.prototype.hasOwnProperty,s=0,u=a.length;s0||this.getFragment())},r.toString=function(t,n){return t===void 0&&(t=function(){return!1}),n===void 0&&(n=null),this.$15(!1,!1,t,n)},r.toStringRawQuery=function(t,n){return t===void 0&&(t=function(){return!1}),n===void 0&&(n=null),this.$15(!0,!1,t,n)},r.toStringPreserveQuery=function(t,n){return t===void 0&&(t=function(){return!1}),n===void 0&&(n=null),this.$15(!1,!0,t,n)},r.toStringStrictQueryEncoding=function(t){return t===void 0&&(t=function(){return!1}),this.$15(!0,!1,t,n("PHPStrictQuerySerializer"))},r.$15=function(t,n,r,o){t===void 0&&(t=!1),n===void 0&&(n=!1),r===void 0&&(r=function(){return!1}),o===void 0&&(o=null);for(var e=this,a=0;a0&&e[e.length-1]!=="/"&&this.setPath(e+"/"),this},l.valueOf=function(){return this.toString()},l.getRegisteredDomain=function(){if(!this.getDomain())return"";if(!r("isFacebookURI")(this))return null;var e=this.getDomain().split("."),t=e.indexOf("facebook");return t===-1&&(t=e.indexOf("workplace")),e.slice(t).join(".")},l.getUnqualifiedURI=function(){return r("unqualifyURI")(new i(this))},l.getQualifiedURI=function(){return new i(this).qualify()},l.isSameOrigin=function(t){var e=t;return e==null?e=c():e instanceof i||(e=new i(e.toString())),a.prototype.isSameOrigin.call(this,e)},i.goURIOnNewWindow=function(t){i.goURIOnWindow(t,window.open("","_blank"),!0)},i.goURIOnWindow=function(t,n,r,o){r===void 0&&(r=!1),o===void 0&&(o=!1),i.goURIOnWindowWithReference(t,n,r,o)},i.goURIOnWindowWithReference=function(n,a,l,u){l===void 0&&(l=!1),u===void 0&&(u=!1);var e=new i(n),c=l,d=!a||a===window;if((s||(s=r("Env"))).isCQuick&&r("isFacebookURI")(e)&&d){var m={cquick:(s||(s=r("Env"))).iframeKey,ctarget:s.iframeTarget,cquick_token:s.iframeToken};e.addQueryData(m),c=!1}var p=e.toString(),_=a||window,f=window.location.href===p&&_===window;return!c&&t.PageTransitions?t.PageTransitions.go(p,u):f?o("ReloadPage").now():u?_.location.replace(p):_.location.href=p,_},l.go=function(t,r){if(n("cr:1078")){n("cr:1078")(this,t,r);return}n("cr:1080")&&n("cr:1080")("uri.go"),i.go(this,t,r)},i.tryParseURI=function(n){var t=(u||(u=r("URIBase"))).tryParse(n,e||(e=r("PHPQuerySerializer")));return t?new i(t):null},i.isValidURI=function(n){return(u||(u=r("URIBase"))).isValid(n,e||(e=r("PHPQuerySerializer")))},i.getRequestURI=function(t,n){if(t===void 0&&(t=!0),n===void 0&&(n=!1),t){var e=d();if(e)return e.getCurrentURI(!!n).getQualifiedURI()}return new i(window.location.href)},i.getMostRecentURI=function(){var e=d();return e?e.getMostRecentURI().getQualifiedURI():new i(window.location.href)},i.getNextURI=function(){var e=d();return e?e.getNextURI().getQualifiedURI():new i(window.location.href)},i.encodeComponent=function(t){return encodeURIComponent(t).replace(/%5D/g,"]").replace(/%5B/g,"[")},i.decodeComponent=function(t){return decodeURIComponent(t.replace(/\+/g," "))},i.normalize=function(t){return t!=null&&typeof t=="string"?this.normalizeString(t):new i(t).toString()},i})(u||(u=r("URIBase")));m.go=function(e,t,r){n("cr:1080")&&n("cr:1080")("URI.go"),m.goURIOnWindow(e,window,t,r)},m.normalizeString=r("memoizeStringOnly")(function(e){return new m(e).toString()}),m.expression=/(((\w+):\/\/)([^\/:]*)(:(\d+))?)?([^#?]*)(\?([^#]*))?(#(.*))?/,m.arrayQueryExpression=/^(\w+)((?:\[\w*\])+)=?(.*)/,l.default=m}),98); __d("ResourceTimingsStore",["CircularBuffer","ResourceTypes","TimingAnnotations","URI","performanceAbsoluteNow"],(function(t,n,r,o,a,i){"use strict";var e,l,s=1e3,u=new(n("TimingAnnotations")).EmptyTimingAnnotations,c={},d={};Object.keys(n("ResourceTypes")).forEach(function(e){var t=n("ResourceTypes")[e],r=new(n("CircularBuffer"))(s),o=new Map;r.onEvict(function(e){o.delete(e)}),c[t]={idx:1,entries:r},d[t]=o});function m(t,r,o){var a;switch(t){case"css":case"js":var i=p.parseMakeHasteURL(r),l=i==null?"unknown_resource":i[0];a=o+"_"+l;break;case"xhr":var s=new(e||(e=n("URI")))(r).getQualifiedURI(),u=s.getDomain()+s.getPath();a=o+"_"+u;break;default:a="never here"}return a}var p={getUID:function(t,n){var e=c[t],r=m(t,n,e.idx);return e.entries.write(r),d[t].set(r,{uri:n,uid:r}),e.idx++,r},updateURI:function(t,n,r){var e=d[t].get(n);e!=null&&(e.uri=r)},getMapFor:function(t){return d[t]},parseMakeHasteURL:function(t){var e=t.match(/\/rsrc\.php\/.*\/([^\?]+)/);if(!e)return null;var n=e[1],r="",o=n.match(/\.(\w+)$/);return o&&(r=o[1]),[n,r]},measureRequestSent:function(t,r){var e=d[t],o=e.get(r);o==null||o.requestSent!=null||(o.requestSent=(l||(l=n("performanceAbsoluteNow")))())},measureResponseReceived:function(t,r){var e=d[t],o=e.get(r);o==null||o.requestSent==null||o.responseReceived!=null||(o.responseReceived=(l||(l=n("performanceAbsoluteNow")))())},annotate:function(t,r){var e=d[t],o=e.get(r);if(o){var a=o.annotations;if(a!=null)return a;var i=new(n("TimingAnnotations"));return o.annotations=i,i}else return u},getAnnotationsFor:function(t,n){var e=d[t],r=e.get(n);if(r){var o=r.annotations;return o!=null?o.prepareToSend():null}else return null}};a.exports=p}),null); __d("TimeSlice",["cr:1126"],(function(t,n,r,o,a,i,l){l.default=n("cr:1126")}),98); __d("CSSLoader",["CSSLoaderConfig","CSSPoller","ResourceTimingsStore","TimeSlice","ifRequired"],(function(t,n,r,o,a,i,l){var e=r("CSSLoaderConfig").loadEventSupported,s;function u(t){if(!s){s=!0;var n=document.createElement("link");n.onload=function(){e=!0,n.parentNode&&n.parentNode.removeChild(n)},n.rel="stylesheet",n.href="proxy.php?u=data:text/css;base64,",t.appendChild(n)}}function c(e,t,n,o,a){r("CSSPoller").startCSSPoll(e,n,o,a)}function d(t,n,o,a,i,l,s){s===void 0&&(s=!1);var d=r("ResourceTimingsStore").getUID("css",n);r("ResourceTimingsStore").annotate("css",d).addStringAnnotation("name",t).addStringAnnotation("source",n).addStringAnnotation("caller","CSSLoader.loadStyleSheet"),r("ifRequired")("TimeSliceInteraction",function(e){e.informGlobally("CSSLoader.loadStyleSheet").addStringAnnotation("source",n).addStringAnnotation("name",t)}),r("ResourceTimingsStore").measureRequestSent("css",d);var m=function(){r("ResourceTimingsStore").measureResponseReceived("css",d),a()},p=r("TimeSlice").getGuardedContinuation("CSSLoader link.onresponse");s?c(t,o,m,i,l):e!==!0?(c(t,o,m,i,l),e===void 0&&u(o)):(l.onload=p.bind(void 0,function(){l.onload=l.onerror=null,m()}),l.onerror=p.bind(void 0,function(){l.onload=l.onerror=null,i()}))}var m={loadStyleSheet:function(t,n,r,o,a,i,l){var e=document.createElement("link");e.rel="stylesheet",e.type="text/css",e.href=n,o&&(e.crossOrigin="anonymous"),a!=null&&(e.dataset.btmanifest=a),d(t,n,r,i,l,e),r.appendChild(e)},setupEventListenersForPotentiallyLoadedCSS:function(t,n,r,o,a,i){d(t,n,r,o,a,i,!0)}};i.exports=m}),34); __d("ClientConsistencyEventEmitter",["BaseEventEmitter"],(function(t,n,r,o,a,i,l){"use strict";var e=new(r("BaseEventEmitter")),s=e;l.default=s}),98); __d("ClientConsistency",["ClientConsistencyEventEmitter","FBLogger","SiteData","requireWeak"],(function(t,n,r,o,a,i){"use strict";var e=n("SiteData").client_revision,l=!1,s,u={},c=new Set,d=new Set,m=function(t){u={};var e=Object.keys(t).sort().reverse();s==="multiple_revs"&&(s=void 0);var r=function(){var e,r=Number(o),a=(e=t[r])!=null?e:[];if(a.length===0)return p(r),1;a.forEach(function(e){var t;u[e]=Math.max((t=u[e])!=null?t:0,r),!d.has(e)&&(d.add(e),n("requireWeak").call(null,e,function(){u[e]&&p(u[e],e)}))})};for(var o of e)if(r())break},p=function(t,r){t>0&&s==null&&(n("FBLogger")("client_consistency").debug("Consistency action needed: %s:%s",t,String(r)),s="multiple_revs"),t===2&&n("ClientConsistencyEventEmitter").emit("softRefresh","multiple_revs"),t===3&&n("ClientConsistencyEventEmitter").emit("hardRefresh","multiple_revs")},_=function(n){var t=n.actions,r=n.rev;r!==e&&(s==="multiple_revs"&&(s=void 0),t!=null&&m(t))},f={init:function(){l||(n("ClientConsistencyEventEmitter").addListener("newEntry",function(e){_(e)}),n("ClientConsistencyEventEmitter").addListener("softRefresh",function(e){s=e}),n("ClientConsistencyEventEmitter").addListener("hardRefresh",function(e){s=e}),l=!0)},addAdditionalRevision:function(r){r!==e&&(c.add(r),n("ClientConsistencyEventEmitter").emit("newRevision",r))},getAdditionalRevisions:function(){return c},getPendingRefresh:function(){return s}};a.exports=f}),null); __d("BitMap",[],(function(t,n,r,o,a,i){var e="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ-_",l=(function(){function e(){this.$1=[],this.$2=null}var t=e.prototype;return t.set=function(t){return this.$2!=null&&!this.$1[t]&&(this.$2=null),this.$1[t]=1,this},t.toString=function(){for(var e=[],t=0;t=t&&m<=n&&o.push({module:e,ref:i||null,type:c,time:m})}}return o.sort(function(e,t){return e.time-t.time})}function m(e,t){var n=new Map;for(var r of u.keys()){var o=d(r,e,t);o.length&&n.set(r,o)}return n}l.notify=c,l.getEvents=d,l.getAllModuleEvents=m}),98); __d("JSResourceReferenceImpl",["JSResourceEvents","Promise","PromiseAnnotate","ifRequireable","ifRequired"],(function(t,n,r,o,a,i,l){var e,s,u=function(t){return t},c=[],d=null;function m(e){d?e(d):c.push(e)}var p="JSResource: unknown caller",_=(function(){function t(e){this.$1=e}t.setBootloader=function(t){d=t;for(var e of c)e(d);c=[]};var a=t.prototype;return a.getModuleId=function(){var e=this.$1;return e},a.getModuleIdAsRef=function(){return this.$1},a.load=function(){var t=this,r=this.$2;o("JSResourceEvents").notify(this.$1,r,"LOADED");var a=new(s||(s=n("Promise")))(function(e){m(function(n){var a;return n.loadModules([t.getModuleIdAsRef()],function(n){o("JSResourceEvents").notify(t.$1,r,"PROMISE_RESOLVED"),e(n)},(a=t.$2)!=null?a:p)})});return(e||(e=o("PromiseAnnotate"))).setDisplayName(a,"Bootload("+this.getModuleId()+")"),a},a.preload=function(){var e,t=this,n=(e=this.$2)!=null?e:p;m(function(e){return e.loadModules([t.getModuleIdAsRef()],function(){},"preload: "+n)})},a.equals=function(t){return this===t||this.$1==t.$1},a.getModuleIfRequireable=function(){return o("JSResourceEvents").notify(this.$1,this.$2,"ACCESSED"),r("ifRequireable").call(null,this.$1,u)},a.getModuleIfRequired=function(){return o("JSResourceEvents").notify(this.$1,this.$2,"ACCESSED"),r("ifRequired").call(null,this.$1,u)},t.disableForSSR_DO_NOT_USE=function(){this.$3=!1},a.isAvailableInSSR_DO_NOT_USE=function(){return this.constructor.$3},a.__setRef=function(t){return this.$2=t,o("JSResourceEvents").notify(this.$1,this.$2,"CREATED"),this},t.loadAll=function(t,n){var e={},r=!1;for(var a of t){var i=a.$2;i&&(r=!0,e[i]=!0),o("JSResourceEvents").notify(a.$1,i,"LOADED")}m(function(o){return o.loadModules(t.map(function(e){return e.getModuleId()}),n,r?Object.keys(e).join(":"):p)})},t})();_.$3=!0,l.default=_}),98); __d("MakeHasteTranslationsMap",["invariant"],(function(t,n,r,o,a,i,l,s){"use strict";var e={};function u(t){Object.assign(e,t)}function c(t){return t in e||s(0,62571,t),e[t]}l.setBatch=u,l.get=c}),98); __d("GHLDetectionUtilsPreludeSafe",[],(function(t,n,r,o,a,i){"use strict";function e(e){return typeof e.replace=="function"?e.replace(/\n/g," ").replace(/\s+/g," "):null}function l(){return typeof JSON.parse=="function"&&!(JSON.parse.toString===JSON.parse.toString.toString&&e(JSON.parse.toString())==="function parse() { [native code] }"&&e(JSON.parse.toString.toString())==="function toString() { [native code] }")}i.normalize=e,i.isJSONParseShimmedImpl=l}),66); __d("BanzaiLazyQueue",["SimpleHook"],(function(t,n,r,o,a,i,l){var e=[],s=new(o("SimpleHook")).SimpleHook,u={onQueue:s,queuePost:function(n,r,o){e.push([n,r,o]),s.call(n,r,o)},flushQueue:function(){var t=e;return e=[],t}};i.exports=u}),34); __d("gkx",["invariant","BanzaiLazyQueue","ExecutionEnvironment","emptyFunction"],(function(t,n,r,o,a,i,l,s){"use strict";var e,u={},c={};function d(t){var n=u[t];return n!=null||s(0,11797,t),c[t]||(c[t]=!0,n.hash!=null&&((e||(e=r("ExecutionEnvironment"))).canUseDOM||(e||(e=r("ExecutionEnvironment"))).isInWorker)&&o("BanzaiLazyQueue").queuePost("gk2_exposure",{identifier:t,hash:n.hash})),n.result}d.add=function(e,t){for(var n in e)t&&t.entry++,n in u?t&&t.dup_entry++:u[n]=e[n]},d.addLoggedInternal=function(e){d.add(e);for(var t in e)c[t]=!0};var m=r("emptyFunction");d.getGKs=function(){return null},d.getLogged=function(){return Object.keys(c).map(function(e){return{identifier:e,hash:u[e].hash}})},d.setPass=m,d.setFail=m,d.clear=m;var p=d;l.default=p}),98); __d("GHLDetectionUtils",["GHLDetectionUtilsPreludeSafe","gkx"],(function(t,n,r,o,a,i,l){"use strict";function e(){return r("gkx")("5415")?!0:o("GHLDetectionUtilsPreludeSafe").isJSONParseShimmedImpl()}function s(e){return r("gkx")("8869")?!0:typeof e=="function"&&!(e.toString===e.toString.toString&&o("GHLDetectionUtilsPreludeSafe").normalize(e.toString())==="function XMLHttpRequest() { [native code] }"&&o("GHLDetectionUtilsPreludeSafe").normalize(e.toString.toString())==="function toString() { [native code] }")}function u(e){return r("gkx")("9063")?!0:typeof e=="function"&&!(e.prototype.fillText.toString===e.prototype.fillText.toString.toString&&o("GHLDetectionUtilsPreludeSafe").normalize(e.prototype.fillText.toString())==="function fillText() { [native code] }"&&o("GHLDetectionUtilsPreludeSafe").normalize(e.prototype.fillText.toString.toString())==="function toString() { [native code] }")}l.isJSONParseShimmed=e,l.isXHRModified=s,l.isCanvasFillTextModified=u}),98); __d("GHLNetworkLayer",["FBLogger","GHLDetectionUtils","gkx"],(function(t,n,r,o,a,i,l){"use strict";function e(){try{if(r("gkx")("8068")&&o("GHLDetectionUtils").isXHRModified(t.XMLHttpRequest)){var e=Object.getPrototypeOf(t.XMLHttpRequest);if(!o("GHLDetectionUtils").isXHRModified(e))return e}return null}catch(e){return r("FBLogger")("ghl").mustfix("error while getGHLXhr: %s",e.message),null}}l.getGHLXhr=e}),98); __d("getSameOriginTransport",["ExecutionEnvironment","FBLogger","GHLNetworkLayer","err","getErrorSafe","justknobx"],(function(t,n,r,o,a,i,l){var e,s=null;function u(){if(!(e||(e=r("ExecutionEnvironment"))).canUseDOM&&!(e||(e=r("ExecutionEnvironment"))).isInWorker)throw r("FBLogger")("comet_infra").mustfixThrow("getSameOriginTransport: Same origin transport unavailable in the server environment.");try{if(s==null)try{var n=r("justknobx")._("3323")?o("GHLNetworkLayer").getGHLXhr():null;n!=null?s=n:s=t.XMLHttpRequest}catch(e){r("FBLogger")("ghl").warn("error while getGHLXhr in getSameOriginTransport: %s",r("getErrorSafe")(e).message),s=t.XMLHttpRequest}return new s}catch(e){throw r("err")("getSameOriginTransport: %s",r("getErrorSafe")(e).message)}}l.default=u}),98); __d("MakeHasteTranslations",["BootloaderConfig","BootloaderRetryTracker","ExecutionEnvironment","FBLogger","MakeHasteTranslationsMap","Promise","TimeSlice","err","fb-error","getSameOriginTransport","promiseDone"],(function(t,n,r,o,a,i,l){"use strict";var e,s,u,c,d,m={},p=new(r("BootloaderRetryTracker"))({retries:(e=r("BootloaderConfig").translationRetries)!=null?e:r("BootloaderConfig").jsRetries,abortNum:(s=r("BootloaderConfig").translationRetryAbortNum)!=null?s:r("BootloaderConfig").jsRetryAbortNum,abortTime:(u=r("BootloaderConfig").translationRetryAbortTime)!=null?u:r("BootloaderConfig").jsRetryAbortTime,abortCallback:function(){r("FBLogger")("binary_transparency").warn("Translations retry abort")}});function _(e){var t=JSON.parse(e);if(t!=null&&typeof t=="object"&&typeof t.translations=="object"&&Array.isArray(t.virtual_modules))return t;throw r("err")("Invalid response shape")}function f(e){return new(d||(d=n("Promise")))(function(t,n){var o=r("TimeSlice").getGuardedContinuation("MakeHasteTranslationsFetcher genSendRequest"),a=r("getSameOriginTransport")();a.open("GET",e,!0),a.onreadystatechange=function(i){a.readyState===4&&o(function(){r("fb-error").ErrorXFBDebug.addFromXHR(a);try{if(a.status!==200)throw r("err")("Received non-200 response");t(_(a.responseText))}catch(o){p.maybeScheduleRetry(e,function(){return t(f(e))},function(){return n(r("err")("Error processing response. XHR Error: %s, XHR status: %s, Response Text: %s",o.toString(),a.status,a.responseText.length>300?a.responseText.slice(0,300)+"...":a.responseText))})}})},a.send()})}var g="data:application/json;base64";function h(e){if(!e.includes(g))throw r("err")("Invalid data uri mime type");var t=e.split(","),n=t[0],o=t[1];if(o==null)throw r("err")("Data uri contains no contents");return _(atob(o))}function y(e,a){return!(c||(c=r("ExecutionEnvironment"))).isInBrowser||m[e]==="inprogress"||m[e]==="complete"?(d||(d=n("Promise"))).resolve():(m[e]="inprogress",(a.includes(g)?(d||(d=n("Promise"))).resolve(h(a)):f(a)).then(function(n){o("MakeHasteTranslationsMap").setBatch(n.translations),n.virtual_modules.forEach(function(e){return t.define(e,{})}),m[e]="complete"}).catch(function(t){m[e]="failed",r("FBLogger")("binary_transparency","translation_download_error").catching(t).warn("Unable to download and process translation map. Url: %s",a)}))}function C(e){for(var t of Object.entries(e)){var n=t[0],o=t[1];r("promiseDone")(y(n,o))}}l.genFetchAndProcessTranslations=y,l.fetchTranslationsForEarlyFlush=C}),98); __d("clearTimeout",["cr:3725"],(function(t,n,r,o,a,i,l){"use strict";l.default=n("cr:3725")}),98); __d("setTimeout",["cr:4344"],(function(t,n,r,o,a,i,l){"use strict";l.default=n("cr:4344")}),98); __d("NetworkHeartbeat",["clearTimeout","getSameOriginTransport","setTimeout"],(function(t,n,r,o,a,i,l){"use strict";var e="/nw/",s=6400,u=100,c=null,d=0,m=null,p=!1;function _(t,n){m=r("getSameOriginTransport")(),m.open("GET",e,!0),m.onload=function(){m&&m.status===204&&(p=!0),g(t)},m.onerror=function(){h(t,n)},m.ontimeout=function(){h(t,n)},m.send()}function f(){m=null,u=100,d=0,r("clearTimeout")(c)}function g(e){f(),e()}function h(e,t){c=r("setTimeout")(function(){y(e,t,void 0,!0)},u),d++,u-1&&u.splice(t,1)}function L(e,t){t===void 0&&(t=!1);var n=d===e,r=!t&&e===h&&o("NetworkHeartbeat").isHeartbeatPending();n||r||(C=C||e===y,d=e,d||o("NetworkHeartbeat").maybeStartHeartbeat(b,v),S())}function E(){var e=(s||(s=r("performanceNow")))();return _=_.filter(function(t){return k(t.startTime,e)}),f=f.filter(function(t){return k(t.startTime,e)}),f.length/_.lengthn-p};function I(){return d}function T(e){u.push(e);var t=!1;return{remove:function(){t||(t=!0,R(e))}}}function D(){var e=(s||(s=r("performanceNow")))();_.push({startTime:e}),o("NetworkHeartbeat").maybeStartHeartbeat(b,v,E)}function x(){var e=(s||(s=r("performanceNow")))();f.push({startTime:e}),k(g,e)||(f=f.filter(function(t){return k(t.startTime,e)}),g=e)}function $(){return C}c.addEventListener("online",function(){L(h)}),c.addEventListener("offline",function(){L(y)}),l.isOnline=I,l.onChange=T,l.reportError=D,l.reportSuccess=x,l.wasOffline=$}),98); __d("NetworkStatusSham",[],(function(t,n,r,o,a,i){"use strict";function e(){return!0}function l(e){return{remove:function(){}}}function s(){}function u(){}function c(){return!1}i.isOnline=e,i.onChange=l,i.reportError=s,i.reportSuccess=u,i.wasOffline=c}),66); __d("NetworkStatus",["NetworkStatusImpl","NetworkStatusSham","gkx"],(function(t,n,r,o,a,i,l){"use strict";var e=(r("gkx")("7742")||r("gkx")("20935"))&&r("gkx")("20936")?o("NetworkStatusImpl"):o("NetworkStatusSham"),s=e;l.default=s}),98); __d("ResourceHasher",["invariant"],(function(t,n,r,o,a,i,l,s){"use strict";var e="placeholder",u=0;function c(e){return"async:"+e}function d(){return"ejs:"+u++}function m(e){return typeof e=="string"||s(0,19551,e),e}l.PLACEHOLDER=e,l.getAsyncHash=c,l.createExternalJSHash=d,l.getValidResourceHash=m}),98); __d("ServerJsRuntimeEnvironment",["invariant"],(function(t,n,r,o,a,i,l,s){"use strict";var e;function u(t,n){e==null||s(0,71696),e={platform:t,executionContext:n}}function c(){return e!=null}function d(){var t;return(t=e)==null?void 0:t.executionContext}function m(){var t;return(t=e)==null?void 0:t.platform}l.init=u,l.isRunningServerJsRuntime=c,l.getExecutionContext=d,l.getPlatform=m}),98); __d("TrustedTypesPolicyName",["$InternalEnum"],(function(t,n,r,o,a,i){var e=n("$InternalEnum")({DEFAULT:"default",NOOP_DO_NOT_USE:"noop-do-not-use",UNSAFE_FUNCTION_DO_NOT_USE:"unsafe-function-do-not-use",DDS_INLINE_STYLE:"dds-inline-style",GHL_PLUS_HTML:"ghl-plus-html",LINK_TAG_HTML:"link-tag-html",BOOTLOADER_DATA_URI:"bootloader-data-uri",OC_URI_SCRIPT_URL:"oc-uri-script-urls",FB_URI_SCRIPT_URL:"fb-uri-script-urls",META_URI_SCRIPT_URL:"meta-uri-script-urls",RL_TEALIUM_CDN_URI:"rl-tealium-cdn-uri",SAME_ORIGIN_SCRIPT_URL:"same-origin-script-urls",WEB_WORKER_URL:"web-worker-url",YOUTUBE_IFRAME_URL:"youtube-iframe-uri",IORG_WEB_WORKER_POLICY:"iorg-web-worker-policy",BIG_PIPE_MARKUP:"big-pipe-markup",GOOGLE_ANALYTICS_URL:"google-analytics-url",FBQ_SCRIPT_URL:"fbq-script-url",CBQ_SCRIPT_URL:"cbq-script-url",DOM_IE_FIX:"dom-ie-fix",OZ_PLAYER_XML:"oz-player-xml",CHROMECAST_EXTENSION_URI:"chromecast-extension-uri",TRANSLATED_CMS_HTML:"translated-cms-html",XHP_HTML:"xhp-html",GSAP_SPLIT_TEXT:"gsap-split-test",MARKDOWN_HTML:"markdown-html",BT_MANIFEST:"bt-manifest"}),l=e;i.default=l}),66); __d("TrustedTypesUtils",["FBLogger"],(function(t,n,r,o,a,i,l){var e=typeof window!="undefined",s=function(t){return t};function u(t){var n=e&&typeof window.origin!="undefined"?window.origin:"undefined";return r("FBLogger")("saf_web_trusted_types_rollout",n).blameToPreviousFrame().blameToPreviousFrame().warn(t),t}function c(t){r("FBLogger")("saf_web").info("[Trusted-Types][%s]: %s",e&&typeof window.origin!="undefined"?window.origin:"undefined",t)}function d(t){r("FBLogger")("saf_web").warn("[Trusted-Types][%s]: %s",e&&typeof window.origin!="undefined"?window.origin:"undefined",t)}function m(t){r("FBLogger")("saf_web").mustfix("[Trusted-Types][%s]: %s",e&&typeof window.origin!="undefined"?window.origin:"undefined",t)}function p(e,t){d("String '"+e.toString().slice(0,15)+"' is flowing to DOM XSS sink. Default Trusted Type policy was executed and removed dangerous elements. "+("Returned string is: '"+t.toString().slice(0,15)+"' If this is breaking your feature, post in ")+"Security Infra group.")}l.isBrowser=e,l.noop=s,l.noopAndLog=u,l.logInfo=c,l.logWarning=d,l.logError=m,l.logDefaultPolicySanitization=p}),98); __d("TrustedTypes",["Env","TrustedTypesUtils","getErrorSafe"],(function(t,n,r,o,a,i,l){"use strict";var e;function s(){return o("TrustedTypesUtils").isBrowser&&typeof window.trustedTypes!="undefined"}var u=s()?window.trustedTypes:null,c=new Map,d={createHTML:o("TrustedTypesUtils").noop,createScriptURL:o("TrustedTypesUtils").noop,createScript:o("TrustedTypesUtils").noop};function m(t,n){return function(a){for(var i=arguments.length,l=new Array(i>1?i-1:0),s=1;s1?t-1:0),r=1;r1?t-1:0),r=1;r1?t-1:0),r=1;r0&&r("FBLogger")("bootloader").info("JS retry success [%s] at %s | time: %s | retries: %s",e,a,(u||(u=r("performanceAbsoluteNow")))()-o,t),r("ResourceTimingsStore").measureResponseReceived("js",i),n()}).catch(function(l){r("ResourceTimingsStore").measureResponseReceived("js",i);var s=(u||(u=r("performanceAbsoluteNow")))();F.maybeScheduleRetry(a,function(){Z(e,t,n)},function(){E.set(e,s),r("FBLogger")("bootloader").catching(l).warn("JS loading error [%s] at %s | time: %s | retries: %s | concurrency: %s",e,a,s-o,F.getNumRetriesForSource(a),R.size-L.size),r("NetworkStatus").reportError(),n()})})}function ee(e,t,n,o){if((c||(c=r("ExecutionEnvironment"))).isInWorker){Z(e,t,n);return}var a=r("nullthrows")(o),i=document.createElement("script");t.d?(i.src=r("TrustedTypesBootloaderDataURIScriptURLPolicy").createScriptURL(t.src),i.nonce=r("BootloaderConfig").nonce):i.src=r("TrustedTypesMetaURIScriptURLPolicy").createScriptURL(t.src),i.async=!0,r("BootloaderConfig").enableRetryOnStuckResource&&i.setAttribute("fetchPriority","high"),t.nc||(i.crossOrigin="anonymous"),t.m!=null&&(i.dataset.btmanifest=t.m),t.tsrc!=null&&(i.dataset.tsrc=t.tsrc),i.dataset.bootloaderHashClient=e,te(i,e,t,n),S.add(e),a.appendChild(i)}function te(e,t,n,o){var a=e.src,i=(u||(u=r("performanceAbsoluteNow")))(),l=r("TimeSlice").getGuardedContinuation("Bootloader script.onresponse"),s=r("ResourceTimingsStore").getUID("js",a);r("ResourceTimingsStore").annotate("js",s).addStringAnnotation("name",t).addStringAnnotation("source",a),r("ifRequireable")("TimeSliceInteraction",function(e){e.informGlobally("bootloader._loadJS").addStringAnnotation("source",a).addStringAnnotation("name",t)}),r("ResourceTimingsStore").measureRequestSent("js",s);var c=!1;e.onload=l.bind(void 0,function(){c=!0;var e=F.getNumRetriesForSource(a);e>0&&r("FBLogger")("bootloader").info("JS retry success [%s] at %s | time: %s | retries: %s",t,a,(u||(u=r("performanceAbsoluteNow")))()-i,e),r("ResourceTimingsStore").measureResponseReceived("js",s),o()}),e.onerror=l.bind(void 0,function(){c=!0;var l=(u||(u=r("performanceAbsoluteNow")))();E.set(t,l),r("ResourceTimingsStore").measureResponseReceived("js",s),F.maybeScheduleRetry(a,function(){var r=e.parentNode;r&&(E.delete(t),r.removeChild(e),ee(t,n,o,r))},function(){r("FBLogger")("bootloader").warn("JS loading error [%s] at %s | time: %s | retries: %s | concurrency: %s",t,a,l-i,F.getNumRetriesForSource(a),R.size-L.size),r("NetworkStatus").reportError(),o()})}),r("BootloaderConfig").enableRetryOnStuckResource&&r("setTimeoutAcrossTransitions")(l.bind(void 0,function(){c||F.maybeRetryImmediately(a,function(){var r=e.parentNode;r&&(r.removeChild(e),ee(t,n,o,r))},function(){r("FBLogger")("bootloader").warn("JS loading timeout [%s] at %s | retries: %s | concurrency: %s",t,a,F.getNumRetriesForSource(a),R.size-L.size)})}),1e4)}function ne(e,t,n){return function(){r("FBLogger")("bootloader").warn("CSS timeout [%s] at %s | concurrency: %s",e,t.src,R.size-L.size),E.set(e,(u||(u=r("performanceAbsoluteNow")))()),r("NetworkStatus").reportError(),n()}}function re(e,t,n,r){var o,a,i;if(!t.includes("/rsrc.php")||t.includes("/intern/rsrc.php"))return[];var l=((o=t.match(/(.*\/)([^.]+)(\.)/))!=null?o:[])[2];return l==null?[]:(a=(i=l.match(/.{1,11}/g))==null?void 0:i.filter(function(t,o){return!n.has(o)&&e[o]>r}))!=null?a:[]}function oe(e,t){var n=e.replace(/\/y[a-zA-Z0-9_-]\//,"/");return n.includes("/intern/rsrc.php")||n.includes("/intern/rsrc-translations.php")?n.replace(/(!)(.+)(\.(?:css|js)(?:$|\?))/,function(e,n,r,o){return n+r.split(",").filter(function(e,n){return!t.has(n)}).join(",")+o}):n.includes("/rsrc.php")||n.includes("/rsrc-translations.php")?n.replace(/(.*\/)([^.]+)(\.)/,function(e,n,r,o){return n+r.match(/.{1,11}/g).filter(function(e,n){return!t.has(n)}).join("")+o}):e}function ae(e,t,n,a){if(r("gkx")("15745")){if(R.has(e)&&!E.has(e))return}else if(R.has(e))return;E.has(e)&&E.delete(e),R.set(e,(u||(u=r("performanceAbsoluteNow")))());var i=[];if((t.type==="js"||t.type==="css")&&t.p!=null&&t.d!==1&&r("BootloaderConfig").hypStep4){var l=o("HasteResourceIndexUtil").parseResourceIndexes(t.p),d=new Set,m=0;if(l.forEach(function(t,n){t!==o("HasteResourceIndexUtil").UNKNOWN_RESOURCE_INDEX&&T.get(t)!==e?d.add(n):t>m&&(m=t)}),m>r("BootloaderConfig").btCutoffIndex){var p=re(l,t.src,d,r("BootloaderConfig").btCutoffIndex);i.push(p)}if(d.size===l.length)return;d.size>0&&(t.src=oe(t.src,d),t.type==="js"&&t.tsrc!=null&&t.tsrc.trim()!==""&&(t.tsrc=oe(r("nullthrows")(t.tsrc),d)))}switch(t.type==="js"&&t.tsrc!=null&&t.tsrc.trim()!==""&&r("promiseDone")(o("MakeHasteTranslations").genFetchAndProcessTranslations(e,r("nullthrows")(t.tsrc))),o("BootloaderPreloader").preloadResource(t,n,void 0,void 0),t.type){case"js":ee(e,t,function(){Ce.done(e);for(var t of i)o("BootloaderEvents").notifyResourceInLongTailBTManifest(t,a)},n);break;case"css":var _=function(){return Ce.done(e)};if((c||(c=r("ExecutionEnvironment"))).isInWorker){_();break}r("CSSLoader").loadStyleSheet(e,t.src,r("nullthrows")(n),!t.nc,t.m,_,ne(e,t,_));break;case"async":o("BootloaderEndpoint").BootloaderEndpoint.load(t.module,t.blocking,e);break;default:t.type,s(0,3721)}}function ie(e,t,a,i,l){var u=new Map,c=l!=null?l:o("BootloaderEvents").newResourceMapSet(),d=[],m=[],p=[];for(var _ of pe(e)){var f=_[0],g=_[1],h=void 0;switch(g.type){case"css":h=g.nonblocking?"nonblocking":"blocking";break;case"js":h="default";break;case"async":h=g.blocking?"blocking":"nonblocking";break;default:g.type,s(0,3721)}c[h].set(f,g);var y=w.rsrcDone(f);p.push(y),h!=="nonblocking"&&(m.push(y),h==="blocking"&&d.push(y)),r("gkx")("15745")?(!R.has(f)||E.has(f))&&u.set(f,g):R.has(f)||u.set(f,g)}var C,b;n("cr:696703")?(b=n("cr:696703").scheduleLoggingPriCallback,C=n("cr:696703").getUserBlockingRunAtCurrentPriCallbackScheduler_DO_NOT_USE()):C=b=function(t){return t()};var v=t.onBlocking,S=t.onAll,L=t.onLog;v&&w.registerCallback(function(){C(v)},d),S&&w.registerCallback(function(){C(S)},m),L&&w.registerCallback(function(){b(function(){return L(c)})},p);for(var k of u){var I=k[0],T=k[1];ae(I,T,a,i)}}function le(e,t,n){if(I.set(e,t),!(t.type==="async"||t.type==="csr")){var a=t.p;if(a!=null)for(var i of o("HasteResourceIndexUtil").parseResourceIndexes(a))i!==o("HasteResourceIndexUtil").UNKNOWN_RESOURCE_INDEX&&((!T.has(i)||n)&&T.set(i,e),t.c&&r("BootloaderConfig").csrOn&&o("HasteBitMap").add("__csr",i));se(e)}}function se(e){A.has(e)&&(A.delete(e),Ce.loadResources([e]))}function ue(e,t){var n,a=w.bootload(t);if($.has(a))return[a,null];$.add(a);var i=(u||(u=r("performanceAbsoluteNow")))(),l={ref:e,components:t,timesliceContext:r("TimeSlice").getContext(),startTime:(n=b.get(a))!=null?n:i,fetchStartTime:i,callbackStart:0,callbackEnd:0,tierOne:o("BootloaderEvents").newResourceMapSet(),tierTwo:o("BootloaderEvents").newResourceMapSet(),tierThree:o("BootloaderEvents").newResourceMapSet(),beRequests:new Map};return o("BootloaderEvents").notifyBootloadStart(l),[a,l]}function ce(e){return r("ifRequired").call(null,e,function(){return!0},function(){return!1})}function de(e){return r("ifRequireable").call(null,e,function(){return!0},function(){return!1})}function me(e,t,n,i){x.has(e)||x.set(e,{firstBootloadStart:(u||(u=r("performanceAbsoluteNow")))(),logData:new Set}),i&&r("nullthrows")(x.get(e)).logData.add(i);var l=z(e),s=l.r,c=l.rdfds,d=l.rds,m=l.be,p=X(e)?Q(e,m):null;p==null&&w.notify(w.beDone(e)),ie(p!=null?[p].concat(s):s,{onAll:function(){return w.notify(w.tierOne(e))},onLog:function(){return w.notify(w.tierOneLog(e))}},n,e,i==null?void 0:i.tierOne);var _=(c==null?void 0:c.m)||[],f=function(o){ie((c==null?void 0:c.r)||[],{onBlocking:function(){return r("RequireDeferredReference").unblock(_,"css")},onAll:function(){return w.registerCallback(function(){w.notify(w.tierTwoStart(e)),a.call(null,_.map(r("RequireDeferredReference").getRDModuleName_DO_NOT_USE),function(){return w.notify(w.tierTwo(e))})},[w.tierOne(e),t])},onLog:function(){return w.notify(w.tierTwoLog(e))}},o,e,i==null?void 0:i.tierTwo)};r("BootloaderConfig").tieredLoadingFromTier!=null&&r("BootloaderConfig").tieredLoadingFromTier<=2?w.registerCallback(function(){return o("BootloaderDocumentInserter").batchDOMInsert(f)},[w.tierOne(e)]):f(n);var g=(d==null?void 0:d.m)||[],h=function(n){ie((d==null?void 0:d.r)||[],{onBlocking:function(){return r("RequireDeferredReference").unblock(g,"css")},onAll:function(){return w.registerCallback(function(){w.notify(w.tierThreeStart(e)),a.call(null,g.map(r("RequireDeferredReference").getRDModuleName_DO_NOT_USE),function(){return w.notify(w.tierThree(e))})},[w.tierTwo(e)])},onLog:function(){return w.notify(w.tierThreeLog(e))}},n,e,i==null?void 0:i.tierThree)};r("BootloaderConfig").tieredLoadingFromTier!=null&&r("BootloaderConfig").tieredLoadingFromTier<=3?w.registerCallback(function(){return o("BootloaderDocumentInserter").batchDOMInsert(h)},[w.tierTwo(e)]):h(n)}function pe(e){var t=new Map;for(var n of e){var a=I.get(n);if(!a){A.add(n),r("FBLogger")("bootloader").mustfix("Unable to resolve resource %s.",n);continue}var i=void 0;if(a.type==="csr")i=o("HasteResourceIndexUtil").parseResourceIndexes(a.src);else if(a.p!=null)i=o("HasteResourceIndexUtil").parseResourceIndexes(a.p),i.includes(o("HasteResourceIndexUtil").UNKNOWN_RESOURCE_INDEX)&&t.set(n,a),i=i.filter(function(e){return e!==o("HasteResourceIndexUtil").UNKNOWN_RESOURCE_INDEX});else{t.set(n,a);continue}for(var l of i){v.add(l);var u=T.get(l);if(u==null)throw r("FBLogger")("bootloader").mustfix("SoT hash unavailable for hash %s",l),new Error("Got unexpected null or undefined");var c=K(u);c.type!=="csr"||s(0,20056,u),t.set(u,c)}}return t.entries()}function _e(e){return e.type==="csr"?o("HasteResourceIndexUtil").parseResourceIndexes(e.src).filter(function(e){return e!==o("HasteResourceIndexUtil").UNKNOWN_RESOURCE_INDEX}):e.p!=null?o("HasteResourceIndexUtil").parseResourceIndexes(e.p).filter(function(e){return e!==o("HasteResourceIndexUtil").UNKNOWN_RESOURCE_INDEX}):[]}function fe(e){var t,n=e.getAttribute("data-bootloader-hash");if(n!=null){var a=o("ResourceHasher").getValidResourceHash(n);if(e.id){if(N.has(e.id))return;N.add(e.id)}var i=e.tagName==="SCRIPT"?{src:e.src,type:"js"}:{src:e.href,type:"css"};e.crossOrigin==null&&(i.nc=1),i.type==="js"&&e.dataset.tsrc!=null&&e.dataset.tsrc.trim()!==""&&(i.tsrc=e.dataset.tsrc,r("promiseDone")(o("MakeHasteTranslations").genFetchAndProcessTranslations(a,i.tsrc))),i.type==="css"&&e.getAttribute("data-nonblocking")&&(i.nonblocking=1);var l=e.getAttribute("data-c");l=="1"?i.c=1:l=="2"&&(i.c=2);var s=e.getAttribute("data-p");if(s!=null){i.p=s;var c=o("HasteResourceIndexUtil").parseResourceIndexes(s),d=Math.max.apply(Math,c);d>r("BootloaderConfig").btCutoffIndex&&o("BootloaderEvents").notifyResourceInLongTailBTManifest(re(c,i.src,new Set,r("BootloaderConfig").btCutoffIndex),"pickupPageResource")}var m=e.getAttribute("data-btmanifest");m!=null&&(i.m=m),le(a,i,!0),R.set(a,(u||(u=r("performanceAbsoluteNow")))());var p=function(){return Ce.done(a)},_=i.type==="js"?!e.getAttribute("async"):((t=e.parentNode)==null?void 0:t.tagName)==="HEAD";_||window._btldr&&window._btldr[a]?p():i.type==="js"?te(e,a,i,p):(r("FBLogger")("bootloader").info("Encountered body CSS not handled by BootloaderScriptListener: {\n hash: '%s',\n src: '%s',\n cohort: '%s',\n }",a,i.src,r("SiteData").pkg_cohort),r("CSSLoader").setupEventListenersForPotentiallyLoadedCSS(a,i.src,o("BootloaderDocumentInserter").getDOMContainerNode(),p,ne(a,i,p),e))}}function ge(){P||(P=!0,!(!(c||(c=r("ExecutionEnvironment"))).canUseDOM||(c||(c=r("ExecutionEnvironment"))).isInWorker)&&(Array.from(document.getElementsByTagName("link")).forEach(function(e){return fe(e)}),Array.from(document.getElementsByTagName("script")).forEach(function(e){return fe(e)})))}function he(){if(y){var e=h;h=[],e.forEach(function(e){var t=e[0],n=e[1],o=e[2],a=e[3];a(function(){r("FBLogger")("bootloader").info("Support data is ready, executing immediate bootload:",t.join(", ")),Ce.loadModules.apply(Ce,[t,n,o])})})}}function ye(){M=!0;var e=C;C=[],e.forEach(function(e){var t=e[0],n=e[1],r=e[2],o=e[3];o(function(){Ce.loadModules.apply(Ce,[t,n,r])})}),he()}var Ce={loadModules:function(t,n,i){n===void 0&&(n=p),i===void 0&&(i="loadModules: unknown caller");var e=t,l,s=!1,c=function(){r("clearTimeout")(l),!s&&n.apply(void 0,arguments)},d={remove:function(){s=!0}};if(r("BootloaderConfig").fastPathForAlreadyRequired&&e.every(function(e){return de(e)}))return a.call(null,e,function(){for(var t=arguments.length,n=new Array(t),a=0;a0){T.erroredResources.clear();var e=function(t){for(var e of r("objectValues")(t))for(var n of e){var o=n[0],a=n[1],i=Ce.getResourceState(o);i.loadError!=null&&(V(o),a.type==="js"||a.type==="css"?T.erroredResources.add(a.src):a.type==="async"&&T.erroredResources.add(a.module))}};e(R.tierOne),e(R.tierTwo),e(R.tierThree);for(var t of R.beRequests.values())e(t.rsrcs);var n=r("gkx")("20935")?!r("NetworkStatus").isOnline():!window.navigator.onLine;n&&(T.offline=!0),o("BootloaderEvents").notifyBootloadError(T)}},Array.from(k)),r("ifRequireable")("TimeSliceInteraction",function(t){t.informGlobally("Bootloader.loadResources").addSetAnnotation("requested_hashes",Array.from(o("BootloaderEvents").flattenResourceMapSet(R.tierOne).keys())).addSetAnnotation("rdfd_requested_hashes",Array.from(o("BootloaderEvents").flattenResourceMapSet(R.tierTwo).keys())).addSetAnnotation("rd_requested_hashes",Array.from(o("BootloaderEvents").flattenResourceMapSet(R.tierThree).keys())).addStringAnnotation("bootloader_reference",i).addSetAnnotation("requested_components",e)}),l=r("setTimeoutAcrossTransitions")(function(){o("BootloaderEvents").notifyBootloaderCallbackTimeout(R)},r("BootloaderConfig").timeout)}return d},loadResources:function(t,n){ge(),o("BootloaderDocumentInserter").batchDOMInsert(function(e){return ie(t.map(function(e){return o("ResourceHasher").getValidResourceHash(e)}),n!=null?n:Object.freeze({}),e,"loadResources")})},loadTieredResources:function(t,n){var e=r("BootloaderConfig").tieredLoadingFromTier!=null&&r("BootloaderConfig").tieredLoadingFromTier<=2,a=r("BootloaderConfig").tieredLoadingFromTier!=null&&r("BootloaderConfig").tieredLoadingFromTier<=3,i=!1,l=!1,s=function(r){var e;ie(((e=t==null?void 0:t.rds)!=null?e:[]).map(function(e){return o("ResourceHasher").getValidResourceHash(e)}),n!=null?n:Object.freeze({}),r,"loadTieredResources")},u=function(r){var n;ie(((n=t==null?void 0:t.rdfds)!=null?n:[]).map(function(e){return o("ResourceHasher").getValidResourceHash(e)}),{onAll:function(){e?o("BootloaderDocumentInserter").batchDOMInsert(s):a&&(l=!0,i&&o("BootloaderDocumentInserter").batchDOMInsert(s))}},r,"loadTieredResources")},c=function(r){var n;ie(((n=t==null?void 0:t.r)!=null?n:[]).map(function(e){return o("ResourceHasher").getValidResourceHash(e)}),{onAll:function(){e?o("BootloaderDocumentInserter").batchDOMInsert(u):a&&(i=!0,l&&o("BootloaderDocumentInserter").batchDOMInsert(s))}},r,"loadTieredResources")};e?o("BootloaderDocumentInserter").batchDOMInsert(c):o("BootloaderDocumentInserter").batchDOMInsert(function(e){c(e),u(e)})},requestJSResource_UNSAFE_NEEDS_REVIEW_BY_SECURITY_AND_XFN:function(t){var e=o("ResourceHasher").createExternalJSHash();le(e,{type:"js",src:t,nc:1},!1),Ce.loadResources([e])},done:function(t){L.set(t,(u||(u=r("performanceAbsoluteNow")))()),w.notify(w.rsrcDone(t))},beDone:function(t,n,r){for(var e of(o=(a=x.get(t))==null?void 0:a.logData)!=null?o:[]){var o,a;e.beRequests.set(n,r)}w.notify(w.beDone(t))},handlePayload:function(t,n){var e,a,i;for(var l of(s=t.rsrcTags)!=null?s:[]){var s;fe(document.getElementById(l))}var u=(e=(a=t.consistency)==null?void 0:a.rev)!=null?e:null;Ce.setResourceMap((i=t.rsrcMap)!=null?i:{},t.sotUpgrades,u,n),t.indexUpgrades&&r("objectKeys")(t.indexUpgrades).forEach(function(e){var n=o("HasteResourceIndexUtil").parseResourceIndexes(r("nullthrows")(t.indexUpgrades)[e]);n.length&&n.forEach(function(t){return o("HasteBitMap").add(e,t)})}),t.compMap&&Ce.enableBootload(t.compMap,n)},enableBootload:function(t,n){for(var e in t)n&&n.comp++,k.has(e)?n&&n.dup_comp++:(k.set(e,t[e]),_.has(e)&&(_.delete(e),j(e)));ge(),g||ye()},undeferBootloads:function(t){t===void 0&&(t=!1),window.location.search.indexOf("&__deferBootloads=")===-1&&(t&&g&&o("BootloaderEvents").notifyDeferTimeout({componentMapSize:k.size,pending:C.map(function(e){var t=e[0],n=e[1],r=e[2],o=e[3];return{components:t,ref:r}}),time:(d||(d=r("performanceNow")))()}),g=!1,k.size&&ye())},markComponentsAsImmediate:function(t){for(var e of t)k.has(e)?j(e):_.add(e)},markSupportDataReadyForImmediateBootloads:function(){y=!0,he()},setResourceMap:function(t,n,a,i){var e=!1;for(var l in t){i&&i.rsrc++,l=o("ResourceHasher").getValidResourceHash(l),a!=null&&D.set(l,a);var s=t[l],u=I.get(l);u?(i&&i.dup_rsrc++,(u.type==="js"&&s.type==="js"||u.type==="css"&&s.type==="css")&&s.d&&!u.d&&(s.type==="js"&&(e=!0),s.nonce!=null&&u.type==="js"&&(u.nonce=s.nonce),u.src=s.src,u.d=1)):(s.type==="js"&&(e=!0),le(l,s,!1))}if(e&&a!=null&&r("ClientConsistency").addAdditionalRevision(a),n)for(var c of n){var d=I.get(c);d&&le(c,d,!0)}},getURLToHashMap:function(){var e=new Map;for(var t of I){var n=t[0],r=t[1];r.type==="async"||r.type==="csr"||e.set(r.src,n)}return e},loadPredictedResourceMap:function(t,n,r){Ce.setResourceMap(t,null,r),Ce.loadResources(Object.keys(t),n)},getCSSResources:function(t){var e=[];for(var n of pe(t)){var r=n[0],o=n[1];o.type==="css"&&e.push(r)}return e},getBootloadPendingComponents:function(){var e=new Map;for(var t of x){var n=t[0];ce(n)||e.set(n,Ce.getComponentDebugState(n))}return e},getComponentDebugState:function(t){var e,n,a=function(t){return!!w.getEventTime(t)};return{phases:{tierOne:a(w.tierOne(t)),tierOneLog:a(w.tierOneLog(t)),tierTwo:a(w.tierTwo(t)),tierTwoLog:a(w.tierTwoLog(t)),tierThree:a(w.tierThree(t)),tierThreeLog:a(w.tierThreeLog(t)),beDone:a(w.beDone(t)),asyncHash:a(w.rsrcDone(o("ResourceHasher").getAsyncHash(t)))},unresolvedDeps:r("__debug").debugUnresolvedDependencies([t]),nonJSDeps:(e=r("__debug").modulesMap[t])==null?void 0:e.nonJSDeps,hasError:(n=r("__debug").modulesMap[t])==null?void 0:n.hasError}},getBootloadedComponents:function(){var e=new Map;for(var t of x){var n=t[0],r=t[1];e.set(n,r.firstBootloadStart)}return e},notifyManuallyLoadedResourcesInWorker:function(t,n){var e=function(){var e=o("ResourceHasher").getValidResourceHash(a),i=t[e];if(i.type==="js"||i.type==="css"){le(e,i,!0),i.type==="js"&&i.tsrc!=null&&i.tsrc.trim()!==""&&r("promiseDone")(o("MakeHasteTranslations").genFetchAndProcessTranslations(e,r("nullthrows")(i.tsrc))),R.set(e,(u||(u=r("performanceAbsoluteNow")))());var l=function(){return Ce.done(e)},s=n[e];i.type==="js"&&s?r("promiseDone")(s,l,function(){Z(e,i,l)}):l()}};for(var a in t)e()},getResourceState:function(t){return{loadStart:R.get(t),loadEnd:L.get(t),loadError:E.get(t)}},getComponentTiming:function(t){var e,n,r,o;return{tierTwoStart:(e=w.getEventTime(w.tierTwoStart(t)))!=null?e:0,tierTwoEnd:(n=w.getEventTime(w.tierTwo(t)))!=null?n:0,tierThreeStart:(r=w.getEventTime(w.tierThreeStart(t)))!=null?r:0,tierThreeEnd:(o=w.getEventTime(w.tierThree(t)))!=null?o:0}},getLoadedResourceCount:function(){return L.size},getErrorCount:function(){return E.size},forceFlush:function(){o("BootloaderEndpoint").BootloaderEndpoint.forceFlush()},__debug:{componentMap:k,DOMAppendedJSHashes:S,requestedRsrcIndex:v,requested:R,resources:I,riMap:T,retries:F.getAllRetryAttempts_FOR_DEBUG_ONLY(),errors:E,loaded:L,bootloaded:x,notAvailableResources:A,queuedToMarkAsImmediate:_,events:w,offlineFailedResources:O,_resolveCSRs:pe,revMap:D,_getQueuedLoadModules:function(){return C},_dequeueLoadModules:function(t){var e=C.splice(t,1);if(e.length){var n=e[0],r=n[0],o=n[1],a=n[2],i=n[3],l=g,s=M;g=!1,M=!0,i(function(){Ce.loadModules.apply(Ce,[r,o,a])}),g=l,M=s}}}};r("JSResourceReferenceImpl").setBootloader(Ce),g&&!t.__comet_ssr_is_server_env_DO_NOT_USE&&!o("ServerJsRuntimeEnvironment").isRunningServerJsRuntime()&&((d||(d=r("performanceNow")))()>15e3?Ce.undeferBootloads(!0):r("setTimeoutAcrossTransitions")(function(){Ce.undeferBootloads(!0)},15e3-(d||(d=r("performanceNow")))()));var be=Ce;l.default=be}),98); __d("CSRFGuard",[],(function(t,n,r,o,a,i){"use strict";var e="for (;;);",l=/^for ?\(;;\);/,s=e.length;function u(e){return!!e.match(l)}function c(e){var t=e.match(l);return t&&e.substr(t[0].length)}i.regex=l,i.length=s,i.exists=u,i.clean=c}),66); /** * License: https://www.facebook.com/legal/license/Ga6vBwdwgUx/ */ __d("ImmediateImplementation",["ImmediateImplementationExperiments"],(function(t,n,r,o,a,i){(function(e,t){"use strict";var r=1,o={},a={},l=a,s=!1,u=e.document,c,d,m,p="setImmediate$"+Math.random()+"$";function _(){var t=e.event;return t?t.isTrusted&&["change","click","contextmenu","dblclick","mouseup","pointerup","reset","submit","touchend"].includes(t.type)||t.type==="message"&&t.source===e&&typeof t.data=="string"&&t.data.indexOf(p)===0:!1}function f(e){var n=e[0];return e=Array.prototype.slice.call(e,1),o[r]=function(){n.apply(t,e)},l=l.next={handle:r++},l.handle}function g(){for(var e,t;!s&&(e=a.next);)if(a=e,t=o[e.handle]){s=!0;try{t(),s=!1}finally{h(e.handle),s&&(s=!1,a.next&&c(g))}}}function h(e){delete o[e]}function y(){if(e.postMessage&&!e.importScripts){var t=!0,n=function(){t=!1,e.removeEventListener?e.removeEventListener("message",n,!1):e.detachEvent("onmessage",n)};if(e.addEventListener)e.addEventListener("message",n,!1);else if(e.attachEvent)e.attachEvent("onmessage",n);else return!1;return e.postMessage("","*"),t}}function C(){var t=function(n){n.source===e&&typeof n.data=="string"&&n.data.indexOf(p)===0&&g()};e.addEventListener?e.addEventListener("message",t,!1):e.attachEvent("onmessage",t),c=function(){var t=f(arguments);return e.originalPostMessage?e.originalPostMessage(p+t,"*"):e.postMessage(p+t,"*"),t},d=c}function b(){var e=new MessageChannel,t=!1;e.port1.onmessage=function(e){t=!1,g()},c=function(){var n=f(arguments);return t||(e.port2.postMessage(n),t=!0),n},m=c}function v(){var e=u.documentElement;c=function(){var t=f(arguments),n=u.createElement("script");return n.onreadystatechange=function(){n.onreadystatechange=null,e.removeChild(n),n=null,g()},e.appendChild(n),t}}function S(){c=function(){return setTimeout(g,0),f(arguments)}}y()?e.MessageChannel&&n("ImmediateImplementationExperiments").prefer_message_channel?(C(),b(),c=function(){return _()?d.apply(null,arguments):m.apply(null,arguments)}):C():e.MessageChannel?b():u&&u.createElement&&"onreadystatechange"in u.createElement("script")?v():S(),i.setImmediate=c,i.clearImmediate=h})(typeof self=="undefined"?typeof t=="undefined"?this:t:self)}),null); __d("clearImmediatePolyfill",["ImmediateImplementation"],(function(t,n,r,o,a,i){var e=t.clearImmediate||n("ImmediateImplementation").clearImmediate;i.default=e}),66); __d("clearImmediate",["clearImmediatePolyfill"],(function(t,n,r,o,a,i,l){function e(e){r("clearImmediatePolyfill")(e)}l.default=e}),98); __d("currentCometRouterInstance",[],(function(t,n,r,o,a,i){"use strict";var e=null;function l(){return e}function s(t){e=t}i.get_THIS_IS_NOT_WHAT_YOU_WANT=l,i.register=s}),66); __d("getTopMostRouteInfo",[],(function(t,n,r,o,a,i){"use strict";var e=["depth","key"];function l(t){var n=t.hosted,r=t.main,o=t.pushViewStack;if(o&&o.length>0){var a=o[o.length-1],i=a.depth,l=a.key,s=babelHelpers.objectWithoutPropertiesLoose(a,e);return s}return n||r}i.default=l}),66); __d("getTopMostRoute",["getTopMostRouteInfo"],(function(t,n,r,o,a,i,l){"use strict";function e(e){return r("getTopMostRouteInfo")(e).route}l.default=e}),98); __d("CurrentCanonicalRoute",["currentCometRouterInstance","getTopMostRoute"],(function(t,n,r,o,a,i,l){function e(){var e,t=(e=o("currentCometRouterInstance").get_THIS_IS_NOT_WHAT_YOU_WANT())==null?void 0:e.getCurrentRouterState();if(t!=null){var n=r("getTopMostRoute")(t);return n.canonicalRouteName}return null}l.getForGlobalLoggingOnly=e}),98); __d("isMessengerDotComURI",[],(function(t,n,r,o,a,i){var e=new RegExp("(^|\\.)messenger\\.com$","i"),l=["https"];function s(t){return t.isEmpty()&&t.toString()!=="#"||!t.getDomain()&&!t.getProtocol()?!1:l.indexOf(t.getProtocol())!==-1&&e.test(t.getDomain())}i.default=s}),66); __d("isWorkplaceDotComURI",[],(function(t,n,r,o,a,i){var e=new RegExp("(^|\\.)workplace\\.com$","i");function l(t){return t.getProtocol()==="https"&&e.test(t.getDomain())}i.default=l}),66); __d("DTSGUtils",["SprinkleConfig","isCdnURI","isFacebookURI","isInstagramURI","isMessengerDotComURI","isOculusDotComURI","isWorkplaceDotComURI"],(function(t,n,r,o,a,i){"use strict";var e={getNumericValue:function(t){for(var e=0,r=0;r=0&&u.set(i),define(n,o,function(t,o,s,u,c){var e={data:a};if(r("replaceTransportMarkers")({relativeTo:l},e),i===-42){var d=a!=null&&typeof a=="object"&&a.__throw8367__;throw new Error(n+": "+(typeof d=="string"?d:""))}c.exports=e.data},e|s)},handleDefines:function(t,n){t.forEach(function(e){var t;n!=null?t=[].concat(e,[n]):t=[].concat(e,[null]),c.handleDefine.apply(null,t)})}},d=c;l.default=d}),98); __d("StaticSiteData",[],(function(t,n,r,o,a,i){var e=Object.freeze({hs_key:"__hs",connection_class_server_guess_key:"__ccg",dpr_key:"dpr",spin_rev_key:"__spin_r",spin_time_key:"__spin_t",spin_branch_key:"__spin_b",spin_mhenv_key:"__spin_dev_mhenv",lite_iframe_locale_override_key:"__ltif_locale",weblite_key:"__wblt",weblite_iframe_key:"__wbltif",force_touch_key:"__fmt",kite_key:"__ktif",kite_legacy_key:"_ktif",haste_session_id_key:"__hsi",jsmod_key:"__dyn",comet_key:"__comet_req",canonical_route_key:"__crn"});i.default=e}),66); /** * License: https://www.facebook.com/legal/license/a-T0Nj64ye1/ */ __d("Alea",[],(function(t,n,r,o,a,i){function e(){var e=4022871197,t=function(n){for(var t=n.toString(),r=0;r>>0,o-=e,o*=e,e=o>>>0,o-=e,e+=o*4294967296}return(e>>>0)*23283064365386963e-26};return t.version="Mash 0.9",t}function l(){for(var t=0,n=0,r=0,o=1,a=arguments.length,i=new Array(a),l=0;l0?i:[new Date],u=e();t=u(" "),n=u(" "),r=u(" ");for(var c=0;c=o||o<=n)){var i=(e||(e=r("WebStorage"))).getLocalStorage();if(i!=null){var l=a==null?f():a.id;(e||(e=r("WebStorage"))).setItemGuarded(i,"Session",l+":"+o)}}}function v(){var e;return(e=y())==null?void 0:e.id}function S(){var e,t,n=h(),r=(e=v())!=null?e:"",o=(t=C())!=null?t:"";return r+":"+o+":"+n}function R(){return h()}l.getTabId=C,l.extend=b,l.getSessionId=v,l.getId=S,l.getPageId_DO_NOT_USE=R}),98); __d("asyncParams",[],(function(t,n,r,o,a,i){var e={};function l(t,n){e[t]=n}function s(){return e}function u(t){delete e[t]}i.add=l,i.get=s,i.remove=u}),66); __d("getAsyncParamsForProfiling",["SiteData"],(function(t,n,r,o,a,i,l){"use strict";var e="__profiler_opts",s=30,u=300;function c(){var t;if(typeof URLSearchParams!="function")return null;var n=new URLSearchParams(window.location.search),o=n.get(e);if(o==null)return null;var a={recursive:"0",t:s,traceid:r("SiteData").polytrace_id};if(o.split(";").forEach(function(e){var t=e.split(/:|=/,2),n=t[0],r=t[1],o=n.toLowerCase();switch(o){case"t":a.t=Math.min(parseInt(r,10)||s,300);break;case"recursive":a.recursive=r==="1"?"1":"0";break;case"uid":case"filter":case"traceid":r&&(a[o]=r);break}}),a.recursive!=="1"||window.performance.now()>(a.t||0)*1e3||a.traceid==null)return null;var i=Object.entries(a).map(function(e){return e.join(":")}).sort().join(";"),l=(t={},t[e]=i,t);return n.forEach(function(e,t){t.endsWith("_sample")&&(l[t]=e)}),l}l.defaultTimeSpan=s,l.maxTimeSpan=u,l.getAsyncParamsForProfiling=c}),98); __d("getAsyncParamsFromCurrentPageURI",[],(function(t,n,r,o,a,i){"use strict";var e={locale:!0,cxobfus:!0,js_debug:!0,cquick:!0,cquick_token:!0,wdplevel:!0,prod_graphql:!0,sri:!0},l={ctarget:!0,hl:!0,gk_enable:!0,gk_disable:!0,__pwa:!0};function s(){var t={};return window.location.search.slice(1).split("&").forEach(function(n){var r=n.split("="),o=r[0],a=r[1];(o.substr(0,4)==="tfc_"||o.substr(0,4)==="tfi_"||o.substr(0,3)==="mh_"||e[o]>-1||l[o]>-1)&&(l[o]>-1?t[o]=decodeURIComponent(a):t[o]=a)}),t}i.default=s}),66); __d("CSSCore",["invariant"],(function(t,n,r,o,a,i,l,s){function e(e,t){for(var n=e;n.parentNode;)n=n.parentNode;if(n instanceof Element){var r=n.querySelectorAll(t);return Array.prototype.indexOf.call(r,e)!==-1}return!1}function u(e,t){return!/\s/.test(t)||s(0,11794,t),t&&(e.classList?e.classList.add(t):m(e,t)||(e.className=e.className+" "+t)),e}function c(e,t){return!/\s/.test(t)||s(0,11795,t),t&&(e.classList?e.classList.remove(t):m(e,t)&&(e.className=e.className.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,""))),e}function d(e,t,n){return(n?u:c)(e,t)}function m(e,t){return!/\s/.test(t)||s(0,442),e.classList?!!t&&e.classList.contains(t):(" "+e.className+" ").indexOf(" "+t+" ")>-1}function p(t,n){var r,o,a,i,l=(r=(o=(a=(i=t.matches)!=null?i:t.webkitMatchesSelector)!=null?a:t.mozMatchesSelector)!=null?o:t.msMatchesSelector)!=null?r:function(n){return e(t,n)};return l.call(t,n)}l.addClass=u,l.removeClass=c,l.conditionClass=d,l.hasClass=m,l.matchesSelector=p}),98); __d("isSocialPlugin",["CSSCore","ExecutionEnvironment"],(function(t,n,r,o,a,i,l){"use strict";var e;function s(){return(e||(e=r("ExecutionEnvironment"))).canUseDOM?!!document.body&&o("CSSCore").hasClass(document.body,"plugin"):!1}l.default=s}),98); __d("uniqueRequestID",[],(function(t,n,r,o,a,i){var e=36,l=1;function s(){return(l++).toString(e)}i.default=s}),66); __d("getAsyncParams",["CometPersistQueryParams","CurrentCanonicalRoute","CurrentUserInitialData","DTSGUtils","Env","GetAsyncParamsExtraData","HasteBitMap","HasteBitMapName","JSErrorLoggingConfig","LSD","ServerJSDefine","SiteData","SprinkleConfig","StaticSiteData","WebConnectionClassServerGuess","WebSession","asyncParams","cr:8959","cr:8960","getAsyncParamsForProfiling","getAsyncParamsFromCurrentPageURI","isSocialPlugin","objectValues","requireWeak","uniqueRequestID"],(function(t,n,r,o,a,i,l){var e,s;function u(t,a){var i,l,u;a===void 0&&(a=!1);var c=(i=r("GetAsyncParamsExtraData").extra_data)!=null?i:{},d=babelHelpers.extends({},o("asyncParams").get(),c,(l={__user:(e||(e=r("CurrentUserInitialData"))).USER_ID,__a:1,__req:r("uniqueRequestID")()},l[r("StaticSiteData").hs_key]=r("SiteData").haste_session,l[r("StaticSiteData").dpr_key]=r("SiteData").pr,l[r("StaticSiteData").connection_class_server_guess_key]=r("WebConnectionClassServerGuess").connectionClass,l.__rev=r("SiteData").client_revision,l.__s=o("WebSession").getId(),l[r("StaticSiteData").haste_session_id_key]=r("SiteData").hsi,l));if(a||(d[r("StaticSiteData").jsmod_key]=r("ServerJSDefine").getLoadedModuleHash(),r("objectValues")(r("HasteBitMapName")).forEach(function(e){var t=o("HasteBitMap").toCompressedString(e);t!==""&&(d[e]=t)})),!r("SiteData").wbloks_env&&r("SiteData").comet_env!=null&&r("SiteData").comet_env!==0){var m;d[r("StaticSiteData").comet_key]=(m=r("SiteData").comet_env)!=null?m:1}if(Object.entries(r("CometPersistQueryParams").relative).forEach(function(e){var t=e[0],n=e[1];n!=null&&(d[t]=String(n))}),typeof window!="undefined"&&((u=window)==null?void 0:u.location)!=null&&(Object.assign(d,r("getAsyncParamsFromCurrentPageURI")()),Object.assign(d,o("getAsyncParamsForProfiling").getAsyncParamsForProfiling())),(s||(s=r("Env"))).isCQuick&&!d.cquick&&(d.cquick=(s||(s=r("Env"))).iframeKey,d.ctarget=s.iframeTarget,d.cquick_token=s.iframeToken),t=="POST"){var p=n("cr:8959").getCachedToken?n("cr:8959").getCachedToken():n("cr:8959").getToken();p&&(d.fb_dtsg=p,r("SprinkleConfig").param_name&&(d[r("SprinkleConfig").param_name]=r("DTSGUtils").getNumericValue(p))),r("LSD").token&&(d.lsd=r("LSD").token,r("SprinkleConfig").param_name&&!p&&(d[r("SprinkleConfig").param_name]=r("DTSGUtils").getNumericValue(r("LSD").token)))}if(t=="GET"){var _=n("cr:8960").getCachedToken?n("cr:8960").getCachedToken():n("cr:8960").getToken();_&&(d.fb_dtsg_ag=_,r("SprinkleConfig").param_name&&(d[r("SprinkleConfig").param_name]=r("DTSGUtils").getNumericValue(_)))}if(r("isSocialPlugin")()&&(d.__sp=1),r("SiteData").spin){var f;d[(f=r("StaticSiteData")).spin_rev_key]=r("SiteData")[f.spin_rev_key],d[f.spin_branch_key]=r("SiteData")[f.spin_branch_key],d[f.spin_time_key]=r("SiteData")[f.spin_time_key],r("SiteData")[r("StaticSiteData").spin_mhenv_key]&&(d[r("StaticSiteData").spin_mhenv_key]=r("SiteData")[r("StaticSiteData").spin_mhenv_key])}o("JSErrorLoggingConfig").sampleWeight!=null&&o("JSErrorLoggingConfig").sampleWeightKey!=null&&(d[o("JSErrorLoggingConfig").sampleWeightKey]=o("JSErrorLoggingConfig").sampleWeight);var g=o("CurrentCanonicalRoute").getForGlobalLoggingOnly();return g!=null&&(d[r("StaticSiteData").canonical_route_key]=g),r("requireWeak")("QPLUserFlow",function(e){var t=e.getActiveFlowIDs();t.length>0&&(d.qpl_active_flow_ids=t.sort().join(","))}),r("requireWeak")("MessengerPWAVersionForUserAgent",function(e){var t=e();t!=null&&(d.__pwa=t)}),d}l.default=u}),98); __d("setImmediatePolyfill",["invariant","ImmediateImplementation","PromiseUsePolyfillSetImmediateGK"],(function(t,n,r,o,a,i,l){var e=t.setImmediate;if(n("PromiseUsePolyfillSetImmediateGK").www_always_use_polyfill_setimmediate||!e){var s=n("ImmediateImplementation");e=s.setImmediate}function u(t){typeof t=="function"||l(0,5912);for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o1?n-1:0),a=1;a=e}var S={load:function(t,r,o){if((r?m:p).set(t,o),n("BootloaderEndpointConfig").debugNoBatching||v()){b();return}d==null&&(c=n("TimeSlice").getGuardedContinuation("Schedule async batch request: Bootloader._loadResources"),d=n("setImmediateAcrossTransitions")(function(){c&&c(function(){return b()})}))},forceFlush:function(){c&&c(function(){return b()})},_getURL:h,_sendRequest:y};function R(e){return!!(window.location.host.includes("adsmanager")&&!n("AdsManagerReadRegions").excluded_endpoints.some(function(t){return e.includes(t)})&&n("BootloaderEndpointConfig").adsManagerReadRegions)}a.exports={BootloaderEndpoint:S,shouldRouteToAMReadRegions:R}}),null); __d("MetaConfigMap",[],(function(t,n,r,o,a,i){"use strict";var e={},l={add:function(n,r){for(var t in n)r&&r.entry++,t in e?r&&r.dup_entry++:e[t]=n[t]},get:function(n){return e[n]}},s=l;i.default=s}),66); __d("QPLHasteSupportDataStorage",[],(function(t,n,r,o,a,i){"use strict";var e={},l={add:function(n,r){Object.keys(n).forEach(function(t){if(r&&r.entry++,e[t]==null){var o=n[t];e[t]=o}else r&&r.dup_entry++})},get:function(n){return e[n]}};i.default=l}),66); __d("bx",["FBLogger"],(function(t,n,r,o,a,i,l){"use strict";var e={};function s(t){var n=e[t];if(!n)throw r("FBLogger")("staticresources").mustfixThrow("bx"+('(...): Unknown file path "'+t+'"'));return n}s.add=function(t,n){var r=!1;for(var o in t)n&&n.entry++,o in e?n&&n.dup_entry++:(t[o].loggingID=o,e[o]=t[o])},s.getURL=function(e){return e.uri},l.default=s}),98); __d("getFalcoLogPolicy_DO_NOT_USE",["FBLogger"],(function(t,n,r,o,a,i,l){"use strict";var e={r:1},s={};function u(t){var n=s[t];return n==null?(r("FBLogger")("staticresources").mustfix("Failed to find a Haste-supplied log policy for the Falco event ' + 'identified by token `%s`. Failing open (ie. with a sampling rate of 1.0).",t),e):n}u.add=function(e,t){Object.keys(e).forEach(function(n){t&&t.entry++,s[n]==null?s[n]=e[n]:t&&t.dup_entry++})},l.default=u}),98); __d("ix",["invariant"],(function(t,n,r,o,a,i,l,s){var e={},u=new Set;function c(t){var n=e[t];return n||s(0,11798,t),n}c.add=function(t,n){var r=!1;for(var o in t)n&&n.entry++,o in e?n&&n.dup_entry++:(t[o].loggingID=o,e[o]=t[o])},c.getUsedPaths_ONLY_FOR_REACT_FLIGHT=function(){return t.__flight_execution_mode_DO_NOT_USE==="flight"||s(0,34547),Array.from(u)},c.getAllPaths=function(){var t=new Set;return Object.values(e).map(function(e){if((e==null?void 0:e.sprited)===0)return e.uri;if((e==null?void 0:e.sprited)===1)return e._spi;if((e==null?void 0:e.sprited)===2)return e.spi}).forEach(function(e){return e!=null&&t.add(e)}),t},l.default=c}),98); __d("qex",["invariant","BanzaiLazyQueue"],(function(t,n,r,o,a,i,l,s){"use strict";var e={},u={},c={_:function(n){var t=e[n];t!=null||s(0,11799,n);var r=t.r,a=t.l;return a!=null&&!u[n]&&(u[n]=!0,o("BanzaiLazyQueue").queuePost("qex",{l:a})),r},add:function(n,r){for(var t in n)r&&r.entry++,t in e?r&&r.dup_entry++:e[t]=n[t]}},d=c;l.default=d}),98); __d("HasteSupportData",["ix","MetaConfigMap","QPLHasteSupportDataStorage","bx","getFalcoLogPolicy_DO_NOT_USE","gkx","justknobx","qex"],(function(t,n,r,o,a,i,l,s){"use strict";function e(e,t){var n=e.bxData,o=e.clpData,a=e.gkxData,i=e.ixData,l=e.metaconfigData,u=e.qexData,c=e.qplData,d=e.justknobxData;n!=null&&r("bx").add(n,t),o!=null&&r("getFalcoLogPolicy_DO_NOT_USE").add(o,t),a!=null&&r("gkx").add(a,t),i!=null&&s.add(i,t),l!=null&&r("MetaConfigMap").add(l,t),u!=null&&r("qex").add(u,t),c!=null&&r("QPLHasteSupportDataStorage").add(c,t),d!=null&&r("justknobx").add(d,t)}l.handle=e}),98); __d("Parent",["CSSCore"],(function(t,n,r,o,a,i,l){function e(e,t){t=t.toUpperCase();var n=m(e,function(e){return e.nodeName===t});return n instanceof Element?n:null}function s(e,t){var n=m(e,function(e){return e instanceof Element&&o("CSSCore").hasClass(e,t)});return n instanceof Element?n:null}function u(e,t){var n=e;if(typeof n.matches=="function"){for(;n&&n!==document&&!n.matches(t);)n=n.parentNode;return n instanceof Element?n:null}else if(typeof n.msMatchesSelector=="function"){for(;n&&n!==document&&!n.msMatchesSelector(t);)n=n.parentNode;return n instanceof Element?n:null}else return c(n,t)}function c(e,t){for(var n=e,r=n;r.parentNode;)r=r.parentNode;if(!(r instanceof Element)&&!(r instanceof Document))return null;for(var o=r.querySelectorAll(t);n;){if(Array.from(o).some(function(e){return e===n}))return n instanceof Element?n:null;n=n.parentNode}return n instanceof Element?n:null}function d(e,t){var n=m(e,function(e){return e instanceof Element&&!!e.getAttribute(t)});return n instanceof Element?n:null}function m(e,t){for(var n=e;n;){if(t(n))return n;n=n.parentNode}return null}l.byTag=e,l.byClass=s,l.bySelector=u,l.bySelector_SLOW=c,l.byAttribute=d,l.find=m}),98); __d("ContextualComponent",["Parent"],(function(t,n,r,o,a,i,l){var e=(function(){function e(e){var t=e.element,n=e.isRoot,r=e.parent;this.$2=n,this.$3=t,this.$4=r,this.$5=new Set,this.$6=[],this.$7=[],this.$8()}e.forNode=function(n){return e.$1.get(n)||null},e.closestToNode=function(n){var t=o("Parent").find(n,function(t){return!!e.forNode(t)});return t?e.forNode(t):null},e.register=function(n){return new e(n)};var t=e.prototype;return t.onCleanup=function(t){this.$6.push(t)},t.onUnmount=function(t){this.$7.push(t)},t.cleanup=function(){this.$5.forEach(function(e){return e.cleanup()}),this.$6.forEach(function(e){return e()}),this.$6=[]},t.unmount=function(){this.cleanup(),this.$5.forEach(function(e){return e.unmount()}),this.$7.forEach(function(e){return e()}),this.$7=[];var t=this.$4;t&&(e.$1.delete(this.$3),t.$9(this))},t.reinitialize=function(){var t=this.$4;t&&(t.$9(this),this.$4=void 0),e.$1.delete(this.$3),this.$8()},t.$8=function(){if(!this.$2&&!this.$4){var t=e.closestToNode(this.$3);t&&(this.$4=t)}this.$4&&this.$4.$10(this),e.$1.set(this.$3,this)},t.$10=function(t){this.$5.add(t)},t.$9=function(t){this.$5.delete(t)},e})();e.$1=new Map,l.default=e}),98); __d("ServerJS",["ContextualComponent","ErrorGuard","HasteBitMap","HasteResourceIndexUtil","ServerJSDefine","__debug","err","ge","getErrorSafe","replaceTransportMarkers"],(function(t,n,r,o,a,i,l){var e,s=1,u=2,c=16,d=0,m=(function(){function t(){this.$2={},this.$1=null,this.$4={},this.$3=void 0}var i=t.prototype;return i.handle=function(t,n){return this.$5(t,n,_)},i.handleWithCustomApplyEach=function(t,n,r){this.$5(n,r,t)},i.$5=function(t,n,o){if(this.$3=n,t.__guard!=null)throw r("err")("ServerJS.handle called on data that has already been handled");t.__guard=!0,o(t.define||[],this.$6,this),o(t.markup||[],this.$7,this),o(t.elements||[],this.$8,this),this.$9(t.contexts||[]),o(t.instances||[],this.$10,this);var e=o(t.pre_display_requires||[],this.$11,this);return e=e.concat(o(t.require||[],this.$11,this)),t.phd2_indexes!=null&&this.$12(t.phd2_indexes),{cancel:function(){e.forEach(function(e){e&&e.cancel()})}}},i.handlePartial=function(t,n){var e=this;return(t.instances||[]).forEach(function(t){h(e.$2,t)}),(t.markup||[]).forEach(function(t){g(e.$2,t)}),(t.elements||[]).forEach(function(t){g(e.$2,t)}),this.handle(t,n)},i.setRelativeTo=function(t){return this.$1=t,this},i.cleanup=function(o){var t=Object.keys(this.$2);o?a.call(null,t,o.guard(function(){},"SeverJS Cleanup requireLazy",{propagationType:o.PropagationType.ORPHAN})):a.call(null,t,function(){}),this.$2={};function i(e){var t=this.$4[e],o=t[0],a=t[1],i=t[2];delete this.$4[e];var l=a?'JS::call("'+o+'", "'+a+'", ...)':'JS::requireModule("'+o+'")',s=n("__debug").debugUnresolvedDependencies([o,e]);throw p(r("err")("%s did not fire because it has missing dependencies.\n%s",l,s),i)}for(var l in this.$4)(e||(e=r("ErrorGuard"))).applyWithGuard(i,this,[l],{name:"ServerJS:cleanup id: "+l,project:"ServerJSCleanup"})},i.$6=function(n,o,a,i){return(e||(e=r("ErrorGuard"))).applyWithGuard(r("ServerJSDefine").handleDefine,r("ServerJSDefine"),[n,o,a,i,this.$1],{name:"JS::define"})},i.$11=function(n,o,a,i){return(e||(e=r("ErrorGuard"))).applyWithGuard(this.$13,this,[n,o,a,i],{name:o!=null?"JS::call":"JS::requireModule"})},i.$13=function(o,a,i,l){var t=this,m=r("ServerJSDefine").getModuleNameAndHash(o),_=m.name,f=m.hash,g,h;typeof a=="object"?g=a:(g=i,h=a);var y=[_].concat(g||[]),C;h!=null?C="__call__"+_+"."+h:l!=null?C="__call__"+_:C="__requireModule__"+_,C+="__"+d++,this.$4[C]=[_,h,f];var b=this.$3&&this.$3.bigPipeContext,v=(e||(e=r("ErrorGuard"))).guard(function(e){var o=n.call(null,_);if(delete t.$4[C],l&&r("replaceTransportMarkers")({relativeTo:t.$1,bigPipeContext:b},l),h!=null){if(!o[h])throw p(r("err")('Module %s has no method "%s"',_,h),f)}else if(l!=null&&typeof o!="function")throw p(r("err")("Module %s is not a function but was called with args",_),f);var a=h!=null?o[h]:l!=null&&typeof o=="function"?o:null;a!=null&&(a.apply(o,l||[]),v.__SMmeta=a.__SMmeta||{},v.__SMmeta.module=v.__SMmeta.module||_,v.__SMmeta.name=v.__SMmeta.name||h)},{name:h!=null?"JS::call('"+_+"', '"+h+"', ...)":l!=null?"JS::call('"+_+"', ...)":"JS::requireModule('"+_+"')"}),S=define(C,y,v,s|c|u,this,1,this.$3);return S},i.$10=function(n,o,a,i){(e||(e=r("ErrorGuard"))).applyWithGuard(this.$14,this,[n,o,a,i],{name:"JS::instance"})},i.$14=function(t,o,a,i){var e=this,l=null,s=r("ServerJSDefine").getModuleNameAndHash(t),d=s.name,m=s.hash;if(o){var p=this.$3&&this.$3.bigPipeContext;l=function(){var t=n.call(null,o[0]);r("replaceTransportMarkers")({relativeTo:e.$1,bigPipeContext:p},a);var i=Object.create(t.prototype);return t.apply(i,a),i}}define(d,o,l,u|c,null,i)},i.$7=function(n,o,a,i){(e||(e=r("ErrorGuard"))).applyWithGuard(this.$15,this,[n,o,a,i],{name:"JS::markup"})},i.$15=function(t,n,o,a){var e=r("ServerJSDefine").getModuleNameAndHash(t),i=e.name,l=e.hash;define(i,[a],function(t){try{return t.replaceJSONWrapper(n).getRootNode()}catch(e){throw p(r("getErrorSafe")(e),l)}},c,null,o)},i.$8=function(n,o,a,i){(e||(e=r("ErrorGuard"))).applyWithGuard(this.$16,this,[n,o,a,i],{name:"JS::element"})},i.$16=function(t,n,o,a){var e=r("ServerJSDefine").getModuleNameAndHash(t),i=e.name,l=e.hash;if(n===null&&o!=null){define(i,null,null,c,null,o);return}var u=[],d=c,m=o||0;a!=null&&(u.push(a),d|=s,m++),define(i,u,function(t){var e=r("ge")(n,t);if(!e){var o="";throw p(r("err")('Could not find element "%s"%s',n,o),l)}return e},d,null,m)},i.$9=function(n){(e||(e=r("ErrorGuard"))).applyWithGuard(this.$17,this,[n],{name:"ContextualComponents"})},i.$17=function(t){var e=this,n=this.$3&&this.$3.bigPipeContext;t.map(function(t){r("replaceTransportMarkers")({relativeTo:e.$1,bigPipeContext:n},t);var o=t[0];return[t,f(o)]}).sort(function(e,t){return e[1]-t[1]}).forEach(function(e){var t=e[0],n=t[0],o=t[1];r("ContextualComponent").register({element:n,isRoot:o})})},i.$12=function(t){o("HasteResourceIndexUtil").parseResourceIndexes(t).forEach(function(e){return o("HasteBitMap").add("__sjsp",e)})},t})();function p(e,t){return e.serverHash=t,e}function _(e,t,n){return e.map(function(r){return t.apply(n,r)})}function f(e){for(var t=0,n=e;n;)n=n.parentElement,t++;return t}function g(e,t){var n=r("ServerJSDefine").getModuleNameAndHash(t[0]),o=n.name;o in e||(t[2]=(t[2]||0)+1),e[o]=!0}function h(e,t){var n=r("ServerJSDefine").getModuleNameAndHash(t[0]),o=n.name;o in e||(t[3]=(t[3]||0)+1),e[o]=!0}i.exports=m}),34); __d("HasteResponse",["Bootloader","BootloaderConfig","BootloaderEvents","ClientConsistencyEventEmitter","HasteSupportData","ServerJS","TimeSlice","__debug","fb-error","performanceAbsoluteNow"],(function(t,n,r,o,a,i){"use strict";var e,l=n("fb-error").getSimpleHash,s=new Set,u={handleSRPayload:function(t,r){var e=t.hsdp,o=t.hblp;e&&n("HasteSupportData").handle(e,r==null?void 0:r.hsdp),o&&n("Bootloader").handlePayload(o,r==null?void 0:r.hblp),(o==null?void 0:o.consistency)!=null&&n("ClientConsistencyEventEmitter").emit("newEntry",o.consistency)},handle:function(r,o){var t=r.jsmods,a=r.allResources,i=r.hsrp,c=r.tieredResources,d=o.source,m=o.sourceDetail,p=o.onBlocking,_=o.onLog,f=o.onAll,g=(e||(e=n("performanceAbsoluteNow")))(),h;if(m==null)h=!0;else{var y=l(d,m);s.has(y)?h=!1:(h=!0,s.add(y))}var C={hsdp:{entry:0,dup_entry:0},hblp:{rsrc:0,dup_rsrc:0,comp:0,dup_comp:0},sjsp:{define:0,dup_user_define:0,dup_system_define:0,require:0}};i&&u.handleSRPayload(i,C);var b=0,v=0,S=function(){C.sjsp.require+=((t==null?void 0:t.require)||[]).length,C.sjsp.define+=((t==null?void 0:t.define)||[]).length;var r=n("__debug").getDupCount(),o=r[0],a=r[1];C.sjsp.dup_user_define-=o,C.sjsp.dup_system_define-=a,b=(e||(e=n("performanceAbsoluteNow")))(),new(n("ServerJS"))().handle(t||{}),v=e();var i=n("__debug").getDupCount();o=i[0],a=i[1],C.sjsp.dup_user_define+=o,C.sjsp.dup_system_define+=a,p==null||p()},R=function(r){var t={source:d,sourceDetail:m,isFirstIdentical:h,timesliceContext:n("TimeSlice").getContext(),startTime:g,logTime:(e||(e=n("performanceAbsoluteNow")))(),jsmodsStart:b,jsmodsEnd:v,rsrcs:r,payloadStats:C};_==null||_(t),n("BootloaderEvents").notifyHasteResponse(t)};n("BootloaderConfig").tieredLoadingFromTier<=3&&c!=null?n("Bootloader").loadTieredResources(c,{onBlocking:S,onAll:f,onLog:R}):n("Bootloader").loadResources(a!=null?a:[],{onBlocking:S,onAll:f,onLog:R})}};a.exports=u}),null); __d("ErrorGuardState",["fb-error"],(function(t,n,r,o,a,i,l){"use strict";l.default=r("fb-error").ErrorGuardState}),98); __d("ErrorNormalizeUtils",["fb-error"],(function(t,n,r,o,a,i,l){"use strict";l.default=r("fb-error").ErrorNormalizeUtils}),98); __d("ErrorSerializer",["fb-error"],(function(t,n,r,o,a,i,l){"use strict";l.default=r("fb-error").ErrorSerializer}),98); __d("ErrorUtils",["ErrorGuard","ErrorGuardState","ErrorNormalizeUtils","ErrorPubSub","ErrorSerializer","getErrorSafe"],(function(t,n,r,o,a,i,l){"use strict";var e,s,u,c,d;u||(u=n("ErrorGuardState")),n("ErrorNormalizeUtils"),c||(c=n("ErrorPubSub")),n("getErrorSafe"),d||(d=n("ErrorGuard")),n("ErrorSerializer"),t.getErrorSafe=r("getErrorSafe"),t.ErrorGuard=e||(e=r("ErrorGuard")),t.ErrorSerializer=r("ErrorSerializer");var m={history:(s||(s=r("ErrorPubSub"))).history,applyWithGuard:function(n,o,a,i,l,s){return(e||(e=r("ErrorGuard"))).applyWithGuard(n,o,a!=null?a:[],{name:l,onNormalizedError:i,deferredSource:s==null?void 0:s.deferredSource})},guard:function(n,o,a){var t=(e||(e=r("ErrorGuard"))).guard(n,o!=null?{name:o}:null);return a!=null&&(t=t.bind(a)),t},normalizeError:function(t){var e;return(e=r("ErrorNormalizeUtils").ifNormalizedError(t))!=null?e:r("ErrorNormalizeUtils").normalizeError(r("getErrorSafe")(t))}};t.ErrorUtils=m;var p=m;typeof __t=="function"&&__t.setHandler&&__t.setHandler((s||(s=r("ErrorPubSub"))).reportError),l.default=p}),99); __d("PageEvents",[],(function(t,n,r,o,a,i){var e=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"});i.default=e}),66); __d("PageletEventConstsJS",[],(function(t,n,r,o,a,i){var e=Object.freeze({ARRIVE_END:"arrive",ARRIVE_START:"prearrive",CSS_END:"css_load",CSS_START:"css",DISPLAY_END:"display",DISPLAY_START:"display_start",IMAGES_DISPLAYED:"images_displayed",JS_END:"jsdone",JS_START:"jsstart",ONLOAD_END:"onload",ONLOAD_START:"preonload",PAGELET_EVENT:"pagelet_events",PHASE_BEGIN:"phase_begin",SETUP:"setup"});i.default=e}),66); __d("PageletSet",["Arbiter"],(function(t,n,r,o,a,i,l){var e={};function s(t){return Object.prototype.hasOwnProperty.call(e,t)}function u(t){return e[t]}function c(t){if(!s(t)){var n=new _(t);e[t]=n}return u(t)}function d(){return Object.keys(e)}function m(t){if(s(t)){var n=u(t);delete e[t],n.destroy()}}function p(e,t){return"contains"in e?e.contains(t):!!(e.compareDocumentPosition(t)&16)}var _=(function(){function t(e){var t=this;this.id=e,this.$1=null,this.$2=[],this.addDestructor(function(){r("Arbiter").inform("pagelet/destroy",{id:t.id,root:t.$1})})}var n=t.prototype;return n.getRoot=function(){return this.$1},n.setRoot=function(t){this.$1=t},n.$3=function(){var t=[],n=this.$1;if(!n)return t;for(var r=d(),o=0;o1?e-1:0),o=1;o0)return!0}catch(e){""+t}return!1}}function g(t){if(s)try{(e||(e=r("performance"))).clearMarks(t)}catch(e){""+t}}function h(e,t){return y.apply(this,arguments)}function y(){return y=n("asyncToGeneratorRuntime").asyncToGenerator(function*(t,n){var a=(e||(e=r("performance"))).now(),i=yield n(),l=e.now();return o("UserTimingUtils").measureModern(t,{end:l,start:a}),i}),y.apply(this,arguments)}function C(e,t,n){}function b(e,t){}function v(t,n,a){var i=(e||(e=r("performance"))).now();n();var l=e.now();o("UserTimingUtils").measureModern(t,{end:l,start:i},a)}l.isUserTimingV3Supported=m,l.measureStart=p,l.measureEnd=_,l.hasMark=f,l.clearMarks=g,l.asyncMeasure=h,l.measureReactCommit=C,l.measureReactPostCommit=b,l.measureCallback=v}),98); __d("UserTimingUtils",["UserTimingUtils.shared","performance","performanceNow"],(function(t,n,r,o,a,i,l){"use strict";var e,s,u;function c(e,t,n,a){if(o("UserTimingUtils.shared").isUserTimingV3Supported()){var i=t;if(n!=null){var l,u,c,d=(l=t==null||(u=t.detail)==null?void 0:u.devtools)!=null?l:void 0;d=d!=null?d:{dataType:"track-entry",track:n,trackGroup:a},d.track=n;var m=(c=t==null?void 0:t.detail)!=null?c:{devtools:d};i=babelHelpers.extends({},t,{detail:m})}try{(s||(s=r("performance"))).measure(e,i),s.clearMeasures(e)}catch(e){}}}function d(e,t,n,a){if(o("UserTimingUtils.shared").isUserTimingV3Supported()){var i=t;if(n!=null){var l;i={startTime:(l=t==null?void 0:t.startTime)!=null?l:(u||(u=r("performanceNow")))(),detail:babelHelpers.extends({},t,{devtools:{dataType:"track-entry",track:n,trackGroup:a}})}}(s||(s=r("performance"))).mark(e,i),s.clearMarks(e)}}l.measureStart=(e=o("UserTimingUtils.shared")).measureStart,l.measureEnd=e.measureEnd,l.hasMark=e.hasMark,l.clearMarks=e.clearMarks,l.asyncMeasure=e.asyncMeasure,l.measureReactCommit=e.measureReactCommit,l.measureReactPostCommit=e.measureReactPostCommit,l.measureModern=c,l.markModern=d}),98); __d("captureUsageSnapshot",[],(function(t,n,r,o,a,i){"use strict";function e(){var e=window.__bodyWrapper;if(!e.getCodeUsage)return{js_calls:{},document_html:"",stylesheets:{}};var t=babelHelpers.extends({},e.getCodeUsage()),n=String(window.document.body.outerHTML),r={};return Array.from(document.styleSheets).forEach(function(e){e.href&&(r[e.href]=!0)}),{js_calls:t,document_html:n,stylesheets:r}}i.default=e}),66); __d("fastDeepCopy",[],(function(t,n,r,o,a,i){"use strict";function e(e){return typeof e=="object"&&e!==null?l(e):e}function l(e){var t=typeof e.constructor=="function"?e.constructor():{};if(Array.isArray(e))for(var n=0;n0;function d(e,t){o("UserTimingUtils").measureStart(e+" "+t)}function m(e,t,n){o("UserTimingUtils").measureEnd("\u26CF "+e+" ["+t+"][phase "+n+"]",e+" "+t)}function p(e,t){if(e)for(var n=0;n0&&this._informEventExternal("images_displayed",{pagelet:t.id,timeslice:r("TimeSlice").getContext()?r("TimeSlice").getContext().contextID:null,images:h}),this._informPageletEvent(r("PageletEventConstsJS").DISPLAY_END,t),m(t.id,"display",t.phase),this.arbiter.inform(t.id+"_displayed",!0,"state")},a._onPhaseDisplayEnd=function(n){var e=this._getOrCreatePhase(n);if(e.complete=!0,n===this._ttiPhase){var o={},a=r("captureUsageSnapshot")();this._informEventExternal(t.Events.tti,{phase:this._ttiPhase,rid:this.rid,ajax:this.isAjax,metrics:o,usageSnapshot:a}),this.arbiter.inform("tti_pagelet_displayed",!0,"state")}this._isRelevant()&&(n===this._lastPhaseBeforeLastResponse&&this._fireDisplayDone(function(){}),n===this._lastPhaseOfLastResponse&&(this._displayDoneFired||this._fireDisplayDone(function(){}),this.arbiter.inform("pagelet_displayed_all",!0,"state"))),n!==this._lastPhaseOfLastResponse&&this._nextPhase()},a._nextPhase=function(){this.config.flush_pagelets_asap?this._tryRenderingNextPhase():(this._currentPhase++,this._beginPhase(this._currentPhase))},a._fireDisplayDone=function(t){this._displayDoneFired=!0,this.arbiter.inform("display_done",!0),this._displayDone=!0,t(),this.lid!=null&&m("display_done",this.lid,"all")},a._downloadJsForPagelet=function(t){var e=this;this._informPageletEvent(r("PageletEventConstsJS").JS_START,t),r("Bootloader").loadResources(t.allResources||[],{onAll:function(){e._informPageletEvent(r("PageletEventConstsJS").JS_END,t),t.requires=t.requires||[],(!e.isAjax||t.phase>=1)&&t.requires.push("uipage_onload");var n=function(){e._informPageletEvent(r("PageletEventConstsJS").ONLOAD_START,t),e._isRelevantPagelet(t)&&p(t.onload),e._informPageletEvent(r("PageletEventConstsJS").ONLOAD_END,t),e.arbiter.inform("pagelet_onload",!0),t.provides&&e.arbiter.inform(t.provides,!0,"state")},o=function(){e._isRelevantPagelet(t)&&p(t.onafterload)};e.arbiter.registerCallback(n,t.requires),e.arbiter.registerCallback(o,[e.onloadEvt])}})},a._getPagelet=function(t){var e=this._getPageletRootID(t);return o("PageletSet").getPagelet(e)},a._getPageletRootID=function(t){return t.append||Object.keys(t.content)[0]||null},a._isRelevant=function(){var e=o("BigPipeInstance").getCurrentInstance();return this==e||this.automatic!=null&&this._relevant_instance==e||this.jsNonBlock!=null||this.forceFinish||e&&e.allowIrrelevantRequests},a._isRelevantPagelet=function(t){if(!this._isRelevant())return!1;var e=this._getPageletRootID(t);return!!this._livePagelets[e]},a._informEventExternal=function(n,o,a){o=o||{},a=a||this.arbiter,o.ts||(o.ts=(e||(e=r("performanceAbsoluteNow")))()),c&&console.timeStamp&&console.timeStamp(n+" "+(Object.prototype.hasOwnProperty.call(o,"arbiter")?JSON.stringify(babelHelpers.extends({},o,{arbiter:null})):JSON.stringify(o))),this.lid===null?this._awaitingLIDEventQueue.push([a,n,o]):(o.lid=this.lid,a.inform(n,o,"persistent"))},a._informPageletEvent=function(t,n,r){var e={event:t,id:n.id,ts:r};n.phase&&(e.phase=n.phase),n.categories&&(e.categories=n.categories),n.allResources&&(e.allResources=n.allResources),n.displayResources&&(e.displayResources=n.displayResources),this._informEventExternal("pagelet_event",e)},a._informPageletDisplayDetails=function(t,n,o,a){if(this.config.dispatch_pagelet_replayable_actions)try{this._informEventExternal("pagelet_performing_replayable_actions",{id:t,jsmods:r("fastDeepCopy")(n),contentMap:o,staticTemplates:a})}catch(t){var e=r("getErrorSafe")(t);r("FBLogger")("bigpipe_pagelet_replay").catching(e).warn("failed at _informPageletDisplayDetails"),this._informEventExternal("pagelet_performing_replayable_actions_failed",{})}},t.getCurrentInstance=function(){return o("BigPipeInstance").getCurrentInstance()},t})();Object.assign(f.prototype,{beforePageletArrive:function(t,n){var e=this;r("TimeSlice").guard(function(){return e._informPageletEvent(r("PageletEventConstsJS").ARRIVE_START,{id:t},n)},"beforePageletArrive "+t,{root:!0})()},setPageID:function(t){this.lid=t,this._awaitingLIDEventQueue.forEach(function(e){var n=e[0],r=e[1],o=e[2];o.lid=t,n.inform(r,o,"persistent")}),this._awaitingLIDEventQueue=[],this.lid&&d("display_done",this.lid)},onPageletArrive:(s||(s=r("ErrorUtils"))).guard(function(e){var t,n=this;this._informPageletEvent(r("PageletEventConstsJS").ARRIVE_END,e),o("HasteResponse").handleSRPayload((t=e.hsrp)!=null?t:{}),e.content=e.content||{};var a=e.phase;if(e.all_phases)for(var i of e.all_phases)this._getOrCreatePhase(i);var l=this._getOrCreatePhase(a);l.pagelets.push(e.id),this._maxPhase=Math.max(a,this._maxPhase),e.last_in_phase&&this.arbiter.registerCallback(function(){return n._onPhaseDisplayEnd(a)},l.pagelets.map(function(e){return e+"_displayed"}).concat(["phase_begin_"+a]));var s=this._getPageletRootID(e),u=o("PageletSet").getOrCreatePagelet(s);e.last_pagelet&&(this._lastPhaseBeforeLastResponse=this._maxPhase),e.the_end&&(this._lastPhaseOfLastResponse=a),e.tti_phase!==void 0&&(this._ttiPhase=e.tti_phase),this._livePagelets[u.id]=!0,u.addDestructor(function(){delete n._livePagelets[u.id]});var c,d=[];if(e.jsmods){var m=e.jsmods.define,p=e.jsmods.instances,f=e.jsmods.markup,g=e.jsmods.pre_display_requires;delete e.jsmods.define,delete e.jsmods.instances,delete e.jsmods.markup,delete e.jsmods.pre_display_requires;var h=19e3,y=function(){if(e.displayStarted===!0)return r("FBLogger")("BigPipe").warn("registerToBlockDisplayUntilDone_DONOTUSE called after pagelet %s was displayed. This is a no-op.",e.id),function(){};var t,o,a=_+"_preDisplayEvent";return _++,c?n.arbiter.registerCallback(c,[a]):d.push(a),r("TimeSlice").guard(function(){o=!0,r("clearTimeout")(t),n.arbiter.inform(a,!0,"state")},"BigPipeDisplayBlockingEvent "+a,{propagationType:r("TimeSlice").PropagationType.EXECUTION})};this._informPageletDisplayDetails(e.id,{define:m,instances:p,markup:f,pre_display_requires:g},{}),this._serverJS.handlePartial({define:m,instances:p,markup:f,pre_display_requires:g},{pagelet:e.id,bigPipeContext:{onDisplayDone:this._onDisplayDone,registerToBlockDisplayUntilDone_DONOTUSE:y}})}if(this.arbiter.registerCallback(this._loadedCallback,["pagelet_onload"]),this._informPageletEvent(r("PageletEventConstsJS").SETUP,e),e.display_out_of_phase==="asap")d=d.concat(["first_response_displayed",e.id+"_css_end"]);else if(e.display_out_of_phase==="after_tti"){var C=e.id+"_greedy_render";d=d.concat(["first_response_displayed",e.id+"_css_end",C]);var b=!1,v=function(){b||(b=!0,n.arbiter.inform(C,!0,"state"))};this.arbiter.registerCallback(v,["tti_pagelet_displayed"]),this.arbiter.registerCallback(v,["phase_begin_"+a])}else d=d.concat(["phase_begin_"+e.phase,e.id+"_css_end"]);if((e.display_dependency||[]).forEach(function(e){return d.push(e+"_displayed")}),e.display_group)for(var S=document.body.getElementsByClassName("pagelet-group"),R=0;R")return t;throw r("err")("Violating Trusted Type policies. Only works for '' strings.")}},s=r("TrustedTypes").createPolicy("link-tag-html",e),u=s;l.default=u}),98); __d("getMarkupWrap",["invariant","ExecutionEnvironment","TrustedTypesLinkTagHTMLPolicy"],(function(t,n,r,o,a,i,l,s){var e,u=(e||(e=r("ExecutionEnvironment"))).canUseDOM?document.createElement("div"):null,c={},d=[1,'"],m=[1,"","
"],p=[3,"","
"],_=[1,'',""],f={"*":[1,"?
","
"],area:[1,"",""],col:[2,"","
"],legend:[1,"
","
"],param:[1,"",""],tr:[2,"","
"],optgroup:d,option:d,caption:m,colgroup:m,tbody:m,tfoot:m,thead:m,td:p,th:p},g=["circle","clipPath","defs","ellipse","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","text","tspan"];g.forEach(function(e){f[e]=_,c[e]=!0});function h(e){var t=e;return u||s(0,144),Object.prototype.hasOwnProperty.call(f,t)||(t="*"),Object.prototype.hasOwnProperty.call(c,t)||(t==="*"?u.innerHTML=r("TrustedTypesLinkTagHTMLPolicy").createHTML(""):u.innerHTML="<"+t+">",c[t]=!u.firstChild),c[t]?f[t]:null}l.default=h}),98); __d("createNodesFromMarkup",["invariant","ExecutionEnvironment","TrustedTypesNoOpPolicy_DO_NOT_USE","getMarkupWrap"],(function(t,n,r,o,a,i,l,s){var e,u=(e||(e=r("ExecutionEnvironment"))).canUseDOM?document.createElement("div"):null,c=/^\s*<(\w+)/;function d(e){var t=e.match(c);return t&&t[1].toLowerCase()}function m(e,t){var n=u;u||s(0,5001);var o=d(e),a=o&&r("getMarkupWrap")(o);if(a){n.innerHTML=a[1]+e+a[2];for(var i=a[0];i--;)n=n.lastChild}else n.innerHTML=r("TrustedTypesNoOpPolicy_DO_NOT_USE").createHTML(e);var l=n.getElementsByTagName("script");l.length&&(t||s(0,5002),Array.from(l).forEach(t));for(var c=Array.from(n.childNodes);n.lastChild;)n.removeChild(n.lastChild);return c}l.default=m}),98); __d("evalGlobal",[],(function(t,n,r,o,a,i){function e(e){if(typeof e!="string")throw new TypeError("JS sent to evalGlobal is not a string. Only strings are permitted.");if(e){var t=document.createElement("script");try{t.appendChild(document.createTextNode(e))}catch(n){t.text=e}var n=document.getElementsByTagName("head")[0]||document.documentElement;n.appendChild(t),n.removeChild(t)}}i.default=e}),66); __d("HTML",["invariant","Bootloader","FBLogger","createNodesFromMarkup","emptyFunction","evalGlobal"],(function(t,n,r,o,a,i,l){var e=/(<(\w+)[^>]*?)\/>/g,s={abbr:!0,area:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,link:!0,meta:!0,param:!0},u=(function(){"use strict";function t(e){if(e&&typeof e.__html=="string"&&(e=e.__html),!(this instanceof t))return e instanceof t?e:new t(e);if(e){var r=typeof e;r==="string"||l(0,277,r)}this.$1=e||"",this.$2=!1,this.$3=null,this.$4=n("emptyFunction"),this.$5=null,this.$6=!1}var r=t.prototype;return r.toString=function(){return this.$1},r.getContent=function(){return this.$1},r.getNodes=function(){return this.$7(),this.$3},r.getRootNode=function(){!this.$5||l(0,278);var e=this.getNodes();if(e.length===1)this.$5=e[0];else{for(var t=document.createDocumentFragment(),n=0;n"}),r=null,o=n("createNodesFromMarkup")(t,function(e){n("FBLogger")("staticresources").warn("HTML: encountered script node while parsing, hasSrc=%s, type=%s",!!e.src,e.type==null||e.type===""?"":e.type),e.type!=="application/ld+json"&&e.type!=="application/json"&&(r=r||[],r.push(e.src?n("Bootloader").requestJSResource_UNSAFE_NEEDS_REVIEW_BY_SECURITY_AND_XFN.bind(n("Bootloader"),e.src):n("evalGlobal").bind(null,e.innerHTML)),e.parentNode.removeChild(e))});r&&(this.$6=!0,this.$4=function(){for(var e=0;e=4?e.setAttribute("class",t+" cores-gte4"):e.setAttribute("class",t+" cores-lt4")}}var l={init:function(){e(),l.init=function(){}}};a.exports=l}),null); __d("hyperionGlobals",[],(function(t,n,r,o,a,i){var e=typeof globalThis=="object"?globalThis:typeof t=="object"?t:typeof window=="object"?window:typeof self=="object"?self:{},l={getCallStack:function(){return[]},logger:console};function s(e){var t;l.getCallStack=(t=e.getCallStack)!=null?t:l.getCallStack,l.logger=e.logger}function u(){return l.logger}function c(e,t,n){if(!e){var r,o,a=(r=n==null?void 0:n.getCallStack)!=null?r:l.getCallStack,i=(o=n==null?void 0:n.logger)!=null?o:l.logger,s=a(2);s&&s.length>0?i.error(t,s):i.error(t)}}var d={};function m(){return d}function p(e){d=e}i.assert=c,i.getFlags=m,i.getLogger=u,i.globalScope=e,i.setAssertLoggerOptions=s,i.setFlags=p}),66); __d("hyperionHook",[],(function(t,n,r,o,a,i){var e=function(){},l=(function(){function t(){this.call=e}var n=t.prototype;return n.hasCallback=function(n){if(this.$1){var t=this.$1;return t.length>0&&(!n||t.some(function(e){return e===n||e.$2===n}))}else return n?this.call===n:this.call!==e},n.createMultiCallbackCall=function(t){var e=function(){for(var e=t,n=0,r=e.length;nt.length;return r&&(this.$1=t,this.call=this.createMultiCallbackCall(this.$1)),r}else return n(this.call)?(this.call=e,!0):!1},n.clear=function(){this.call===e||!this.$1?this.call=e:this.$1.length=0},t})();i.Hook=l}),66); __d("hyperionCore",["Promise","__debug","hyperionGlobals","hyperionHook"],(function(t,n,r,o,a,i,l){var e,s,u,c,d,m=(function(){function e(e){this.status=0,this.name=e}var t=e.prototype;return t.interceptObjectOwnProperties=function(t){},e})();function p(e,t){for(var n;e&&!n;)n=Object.getOwnPropertyDescriptor(e,t),n&&(n.container=e),e=Object.getPrototypeOf(e);return n}function _(e,t,n){try{Object.defineProperty(e,t,n)}catch(e){}}var f=Object.prototype.hasOwnProperty;function g(e,t){return f.call(e,t)}function h(e,t,n){if(!(!e||!t)){for(var r=Object.getOwnPropertyNames(e),a=0,i=r.length;a-1&&v.splice(t,1)}}function R(e){var t=Object.getOwnPropertyDescriptor(e,C);return t==null?void 0:t.value}function L(e,t){return Object.defineProperty(e,C,{value:t}),t}var E={};function k(e){var t=typeof e;return e&&(t==="object"||t==="function")}function I(e){return g(e,y)}function T(e,t){if(k(e)&&!I(e)){for(var n=t,r=0;!n&&r0?window.setTimeout(o,n):o()})}l.INITIAL_JS_READY=e,l.loadOnDOMContentReady=s}),98); __d("DOMEvent",["invariant"],(function(t,n,r,o,a,i,l,s){var e=(function(){function e(e){this.event=e||window.event,typeof this.event.srcElement!="unknown"||s(0,5798),this.target=this.event.target||this.event.srcElement}var t=e.prototype;return t.preventDefault=function(){var e=this.event;return e.preventDefault?(e.preventDefault(),"defaultPrevented"in e||(e.defaultPrevented=!0)):e.returnValue=!1,this},t.isDefaultPrevented=function(){var e=this.event;return"defaultPrevented"in e?e.defaultPrevented:e.returnValue===!1},t.stopPropagation=function(){var e=this.event;return e.stopPropagation?e.stopPropagation():e.cancelBubble=!0,this},t.kill=function(){return this.stopPropagation().preventDefault(),this},e.killThenCall=function(n){return function(t){return new e(t).kill(),n()}},e})();l.default=e}),98); __d("dedupString",[],(function(t,n,r,o,a,i){"use strict";function e(e){var t;return Object.keys((t={},t[e]=0,t))[0]}i.default=e}),66); __d("passiveEventListenerUtil",[],(function(t,n,r,o,a,i){"use strict";var e=!1;try{var l=Object.defineProperty({},"passive",{get:function(){e=!0}});window.addEventListener("test",null,l)}catch(e){}var s=e;function u(e){return s||typeof e=="boolean"?e:e.capture||!1}i.isPassiveEventListenerSupported=s,i.makeEventOptions=u}),66); __d("wrapFunction",[],(function(t,n,r,o,a,i){var e={};function l(t,n,r){var o=n in e?e[n](t,r):t;return function(){for(var e=arguments.length,t=new Array(e),n=0;n=0;o--)r[t[o]]=n[o];else for(var a=t.length-1;a>=0;a--)r[t[a]]=n;return r}i.default=e}),66); __d("isElementNode",["isNode"],(function(t,n,r,o,a,i){function e(e){return n("isNode")(e)&&e.nodeType==1}a.exports=e}),null); __d("DOMQuery",["CSS","FBLogger","containsNode","createArrayFromMixed","createObjectFrom","ge","ifRequired","isElementNode","isNode"],(function(t,n,r,o,a,i,l){var e=/^\.-?[_a-zA-Z]+[\w-]*$/;function s(e,t){return e.hasAttribute?e.hasAttribute(t):e.getAttribute(t)!==null}function u(e,t){var n=d(e,t);return n[0]}function c(e,t,n){var r=d(e,t),o=d(e,n),a;return r.length===1&&o.length===1&&r[0]===o[0]?a=r:a=r.concat(o),a[0]}function d(t,n){if(!t||!t.getElementsByTagName)return[];for(var a=n.split(" "),i=[t],l=0;l), ge()) instead"),r("containsNode")(r("ge")(e),r("ge")(t))}function _(){var e=r("ifRequired")("Quickling",function(e){return e.isActive()?r("ge")("content"):null});return e||document.body}function f(e,t){var n=r("createArrayFromMixed")(t).join("|").toUpperCase().split("|"),o=r("createObjectFrom")(n);return r("isNode")(e)&&e.nodeName in o}function g(e){return f(e,["input","textarea"])||e.contentEditable==="true"}l.find=u,l.findPushSafe=c,l.scry=d,l.getSelection=m,l.contains=p,l.getRootElement=_,l.isNodeOfType=f,l.isInputNode=g}),98); __d("Scroll",[],(function(t,n,r,o,a,i){function e(e,t){return!!t&&(e===t.documentElement||e===t.body)}function l(t){var n,r;if(t==null)return 0;var o=t.ownerDocument;return e(t,o)?(o==null||(n=o.body)==null?void 0:n.scrollTop)||(o==null||(r=o.documentElement)==null?void 0:r.scrollTop)||0:t.scrollTop||0}function s(t,n){if(t!=null){var r=t.ownerDocument;e(t,r)?(r!=null&&r.body&&(r.body.scrollTop=n||0),r!=null&&r.documentElement&&(r.documentElement.scrollTop=n||0)):t.scrollTop=n||0}}function u(t){var n,r,o=t.ownerDocument;return e(t,o)?(o==null||(n=o.body)==null?void 0:n.scrollLeft)||(o==null||(r=o.documentElement)==null?void 0:r.scrollLeft)||0:t.scrollLeft||0}function c(t,n){var r=t.ownerDocument;e(t,r)?(r!=null&&r.body&&(r.body.scrollLeft=n||0),r!=null&&r.documentElement&&(r.documentElement.scrollLeft=n||0)):t.scrollLeft=n||0}i.getTop=l,i.setTop=s,i.getLeft=u,i.setLeft=c}),66); __d("VersionRange",["invariant"],(function(t,n,r,o,a,i,l,s){"use strict";var e=/\./,u=/\|\|/,c=/\s+\-\s+/,d=/^(<=|<|=|>=|~>|~|>|)?\s*(.+)/,m=/^(\d*)(.*)/;function p(e,t){var n=e.split(u);return n.length>1?n.some(function(e){return x.contains(e,t)}):_(n[0].trim(),t)}function _(e,t){var n=e.split(c);if(n.length>0&&n.length<=2||s(0,11800),n.length===1)return f(n[0],t);var r=n[0],o=n[1];return L(r)&&L(o)||s(0,11801),f(">="+r,t)&&f("<="+o,t)}function f(t,n){var r=t.trim();if(r==="")return!0;var o=n.split(e),a=S(r),i=a.modifier,l=a.rangeComponents;switch(i){case"<":return g(o,l);case"<=":return h(o,l);case">=":return C(o,l);case">":return b(o,l);case"~":case"~>":return v(o,l);default:return y(o,l)}}function g(e,t){return D(e,t)===-1}function h(e,t){var n=D(e,t);return n===-1||n===0}function y(e,t){return D(e,t)===0}function C(e,t){var n=D(e,t);return n===1||n===0}function b(e,t){return D(e,t)===1}function v(e,t){var n=t.slice(),r=t.slice();r.length>1&&r.pop();var o=r.length-1,a=parseInt(r[o],10);return R(a)&&(r[o]=a+1+""),C(e,n)&&g(e,r)}function S(t){var n=t.split(e),r=n[0].match(d);return r||s(0,3074),{modifier:r[1],rangeComponents:[r[2]].concat(n.slice(1))}}function R(e){return!isNaN(e)&&isFinite(e)}function L(e){return!S(e).modifier}function E(e,t){for(var n=e.length;nt?1:e-1;function s(t){var n=t||document;if(n.scrollingElement)return n.scrollingElement;var r=!e&&n.compatMode==="CSS1Compat"?n.documentElement:n.body;return r||o("FlowMigrationUtilsForLegacyFiles").invariantViolation("null result in getDocumentScrollElement"),r}l.default=s}),98); __d("getObjectValues",[],(function(t,n,r,o,a,i){function e(e){var t=[];for(var n in e)t.push(e[n]);return t}i.default=e}),66); __d("Event",["$","Arbiter","DOMEvent","DOMEventListener","DOMQuery","DataStore","ErrorGuard","ExecutionEnvironment","FBLogger","Parent","Scroll","TimeSlice","UserAgent","dedupString","fb-error","getDocumentScrollElement","getObjectValues"],(function(t,n,r,o,a,i){var e,l,s=n("fb-error").TAAL,u="Event.listeners";Event.prototype||(Event.prototype={});function c(e){(e.type==="click"||e.type==="mouseover"||e.type==="keydown")&&n("Arbiter").inform("Event/stop",{event:e})}var d=(function(){"use strict";function e(e,t,n){this.cancelBubble=!1,this.target=e,this.type=t,this.data=n}var t=e.prototype;return t.getData=function(){return this.data=this.data||{},this.data},t.stop=function(){return Event.stop(this)},t.prevent=function(){return Event.prevent(this)},t.isDefaultPrevented=function(){return Event.isDefaultPrevented(this)},t.kill=function(){return Event.kill(this)},t.getTarget=function(){return new(n("DOMEvent"))(this).target||null},e})();function m(e){if(e instanceof d)return e;if(e||(!window.addEventListener&&document.createEventObject?e=window.event?document.createEventObject(window.event):{}:e={}),!e._inherits_from_prototype)for(var t in Event.prototype)try{e[t]=Event.prototype[t]}catch(e){}return e}Object.assign(Event.prototype,{_inherits_from_prototype:!0,getRelatedTarget:function(){var e=this.relatedTarget||(this.fromElement===this.srcElement?this.toElement:this.fromElement);return e&&e.nodeType?e:null},getModifiers:function(){var e={control:!!this.ctrlKey,shift:!!this.shiftKey,alt:!!this.altKey,meta:!!this.metaKey};return e.access=n("UserAgent").isPlatform("Mac OS X")?e.control:e.alt,e.any=e.control||e.shift||e.alt||e.meta,e},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()}},d.prototype);var p={listen:function(r,o,a,i,l){if(typeof a=="function"&&(a=n("TimeSlice").guard(a,n("dedupString")("Event.js "+o+" handler"))),!l||typeof l=="boolean"?l={passive:!1}:l={passive:l.passive||!1},!(e||(e=n("ExecutionEnvironment"))).canUseDOM)return new R(r,a,null,o,i,null,l);if(typeof r=="string"&&(r=n("$")(r)),typeof i=="undefined"&&(i=Event.Priority.NORMAL),typeof o=="object"){var t={};for(var c in o)t[c]=Event.listen(r,c,o[c],i,l);return t}if(o.match(/^on/i))throw new TypeError("Bad event name `"+o+"': use `click', not `onclick'.");if(!r){var d=s.blameToPreviousFrame(new Error("Cannot listen to an undefined element."));throw n("FBLogger")("event").catching(d).mustfix("Tried to listen to element of type %s",o),d}if(r.nodeName=="LABEL"&&o=="click"){var m=r.getElementsByTagName("input");r=m.length==1?m[0]:r}else if(r===window&&o==="scroll"){var p=n("getDocumentScrollElement")();p!==document.documentElement&&p!==document.body&&(r=p)}var _=n("DataStore").get(r,u,{}),f=g[o];f&&(o=f.base,f.wrap&&(a=f.wrap(a))),C(r,_,o,l);var h=_[o];i in h||(h[i]=[]);var b=h[i].length,v=new R(r,a,_,o,i,b,l);return h[i][b]=v,h.numHandlers++,l.passive||(h.numNonPassiveHandlers++,y(r,_[o],o)),v},stop:function(t){var e=new(n("DOMEvent"))(t).stopPropagation();return c(e.event),t},prevent:function(t){return new(n("DOMEvent"))(t).preventDefault(),t},isDefaultPrevented:function(t){return new(n("DOMEvent"))(t).isDefaultPrevented(t)},kill:function(t){var e=new(n("DOMEvent"))(t).kill();return c(e.event),!1},getKeyCode:function(t){if(t=new(n("DOMEvent"))(t).event,!t)return!1;switch(t.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(t.shiftKey)switch(t.keyCode){case 33:case 34:case 37:case 38:case 39:case 40:return null}return t.keyCode},getPriorities:function(){if(!_){var e=n("getObjectValues")(Event.Priority);e.sort(function(e,t){return e-t}),_=e}return _},fire:function(t,n,r){var e=new d(t,n,r),o;do{var a=Event.__getHandler(t,n);a&&(o=a(e)),t=t.parentNode}while(t&&o!==!1&&!e.cancelBubble);return o!==!1},__fire:function(t,n,r){var e=Event.__getHandler(t,n);if(e)return e(m(r))},__getHandler:function(t,r){var e=n("DataStore").get(t,u);return e&&e[r]?e[r].domHandler:t["on"+r]},getPosition:function(t){t=new(n("DOMEvent"))(t).event;var e=n("getDocumentScrollElement")(),r=t.clientX+n("Scroll").getLeft(e),o=t.clientY+n("Scroll").getTop(e);return{x:r,y:o}}};Object.assign(Event,p);var _=null,f=function(t){return function(e){if(!n("DOMQuery").contains(this,e.getRelatedTarget()))return t.call(this,e)}},g;if(window.navigator.msPointerEnabled?g={mousedown:{base:"MSPointerDown"},mousemove:{base:"MSPointerMove"},mouseup:{base:"MSPointerUp"},mouseover:{base:"MSPointerOver"},mouseout:{base:"MSPointerOut"},mouseenter:{base:"MSPointerOver",wrap:f},mouseleave:{base:"MSPointerOut",wrap:f}}:g={mouseenter:{base:"mouseover",wrap:f},mouseleave:{base:"mouseout",wrap:f}},n("UserAgent").isBrowser("Firefox < 52")){var h=function(t,n){n=m(n);for(var e=n.getTarget();e;)Event.__fire(e,t,n),e=e.parentNode};document.documentElement.addEventListener("focus",h.bind(null,"focusin"),!0),document.documentElement.addEventListener("blur",h.bind(null,"focusout"),!0)}var y=function(t,r,o){var e=r.numNonPassiveHandlers==0;e!=r.options.passive&&(r.domHandlerRemover.remove(),r.options.passive=e,r.domHandlerRemover=n("DOMEventListener").add(t,o,r.domHandler,{passive:e}))},C=function(t,r,o,a){if(!(o in r)){var e=n("TimeSlice").guard(S.bind(t,o),n("dedupString")("Event listenHandler "+o));r[o]={numHandlers:0,numNonPassiveHandlers:0,domHandlerRemover:n("DOMEventListener").add(t,o,e,a),domHandler:e,options:a};var i="on"+o;if(t[i]){var l=t===document.documentElement?Event.Priority._BUBBLE:Event.Priority.TRADITIONAL,s=t[i];t[i]=null,Event.listen(t,o,s,l,a)}}};function b(e){return e.href.endsWith("#")?e.href===document.location.href||e.href===document.location.href+"#":!1}function v(e,t){return e.nodeName==="INPUT"&&e.type===t}var S=function(t,r){var e=m(r);if(!n("DataStore").get(this,u))throw new Error("Bad listenHandler context.");var o=n("DataStore").get(this,u)[t];if(!o)throw new Error("No registered handlers for `"+t+"'.");if(t=="click"||t=="contextmenu"||t=="mousedown"&&e.which==2){var a=e.getTarget(),i=n("Parent").byTag(a,"a");i instanceof HTMLAnchorElement&&i.href&&b(i)&&!v(a,"file")&&!v(a,"submit")&&e.prevent()}for(var l=Event.getPriorities(),s=0;sm.x||r.y>m.y}return!1}),!1}function v(e){r("ifRequired")("Vector",function(t){var n=t.getViewportDimensions(),r=new t(e.x,e.y),o,a;o=Math.min(r.x,n.x-p-_.x);var i=n.y-_.y;if(a=Math.min(r.y,i),o===0&&a===0)return new t(0,0);var l=o/a,s=r.x/r.y;return l1&&(e=new t(e.x*window.devicePixelRatio,e.y*window.devicePixelRatio))}),e}function R(e,t){r("ifRequired")("Vector",function(n){var r=e.x,o=e.y;if(r>=t.x||o>=t.y){var a=t.x/t.y,i=r/o;ai?(o=t.y,r=Math.round(o*i)):(r=t.x,o=t.y)}return new n(r,o)})}var L=function(){r("Arbiter").subscribe(r("PageEvents").BIGPIPE_ONLOAD,function(){var e=r("getSurfaceAwareContainer")();(e&&e.classList.contains("home")||e&&e.classList.contains("timelineLayout"))&&r("ifRequired")("requestIdleCallback",function(e){e(function(){h()})},function(){h()})})};l.STAGE_NORMAL_MAX=m,l.SIDEBAR_SIZE_MAX=p,l.STAGE_CHROME=_,l.load=f,l.loadWithSnowLift=g,l.loadFrame=h,l.shouldUseSnowlift=y,l.getImageURL=C,l.shouldShowHiRes=b,l.getStageSize=v,l.adjustStageSizeForPixelRatio=S,l.getImageSizeInStage=R,l.preload=L}),98); __d("uniqueID",[],(function(t,n,r,o,a,i){var e="js_",l=36,s=0;function u(t,n){return t===void 0&&(t=e),n===void 0&&(n=!1),n?t:t+(s++).toString(l)}i.default=u}),66); __d("PrimerInlineHandlers",["Bootloader","Parent","cr:6108","nullthrows","uniqueID"],(function(t,n,r,o,a,i,l){"use strict";var e={},s=new Map;function u(t,o){var a=r("nullthrows")(t.id);a in e||(e[a]=0),e[a]===0&&n("cr:6108").addClass(t,"bootloading"),e[a]+=o}function c(t){var o=r("nullthrows")(t.id);e[o]--,e[o]===0&&n("cr:6108").removeClass(t,"bootloading")}function d(e,t,n,r){var o=r!==void 0?n[r]:n,a;if(Array.isArray(o))for(a=0;a=0&&c-s[p].ue_ts10;)s.shift();var f=c0){var t=(e||(e=r("performanceNow")))(),n=c().get(),o=e()-t,a=o>r("CookieCoreLoggingConfig").maximumIgnorableStallMs&&r("Random").coinflip(1/r("CookieCoreLoggingConfig").sampleRate);return a&&r("FBLogger")("cookie_infra").addMetadata("COOKIE_INFRA","WALL_TIME",String(o)).warn("Cookie read exceeded %s milliseconds.",r("CookieCoreLoggingConfig").maximumIgnorableStallMs),n}else return c().get()}var _=(function(){function e(){this.$1=0}var t=e.prototype;return t.setCookie=function(t,n,r,o,a,i,l,s){c().set(d(t,n,r,o,a,i,l,s))},t.clearCookie=function(t,n,r){c().set(m(t,n,r))},t.getCookie=function(t){var e;this.$1++;var n=(e=p())==null?void 0:e.match("(?:^|;\\s*)"+t+"=(.*?)(?:;|$)");return n?decodeURIComponent(n[1]):null},e})(),f=10*1e3,g=(function(){function e(){this.$1={},this.$2=0,this.$3=0,this.$4=0}var t=e.prototype;return t.setCookie=function(t,n,r,o,a,i,l,s){c().set(d(t,n,r,o,a,i,l,s)),this.$1[n]={value:r,updated:t}},t.clearCookie=function(t,n,r){c().set(m(t,n,r)),this.$1[t]={value:null,updated:Date.now()}},t.getCookie=function(t){var e=this.$5(t),n=e.cookie;return n},t.$5=function(t){var e=Date.now(),n=this.$1[t];return n?n.updated+fh&&(s=g,c=Date.now())}}else b(r("ServerTimeData").serverTime);function y(){return Date.now()-s}function C(){return s}function b(e){var t=Date.now()-e;Math.abs(s-t)>6e4&&(s=t,c=Date.now())}function v(){return c===null?null:Date.now()-c}var S=y,R=C;l.getMillis=y,l.getOffsetMillis=C,l.update=b,l.getMillisSinceLastUpdate=v,l.get=S,l.getSkew=R}),98); __d("FalcoLoggerInternal",["AnalyticsCoreData","FBLogger","FalcoConsentChecker","FalcoLoggerInternalState","FalcoUtils","Promise","Random","ServerTime","WebSession","justknobx","performanceAbsoluteNow"],(function(t,n,r,o,a,i,l){"use strict";var e,s,u,c=o("FalcoUtils").getTaggedBitmap(0),d=o("FalcoUtils").getTaggedBitmap(37),m=500*1024*.6,p={};function _(){try{var e;if(r("justknobx")._("1276")&&window.self!==window.top&&(e=window.top)!=null&&e.require){var t=window.top.require("FalcoLoggerInternalState");if(t!=null)return r("FBLogger")("falco","iframe_handling").warn("Successfully delegated internal state to top frame"),t.getInstance()}}catch(e){}return r("FalcoLoggerInternalState").getInstance()}var f=_();function g(e,t,n){var a=r("Random").coinflip(t.r);if(!a)return o("FalcoUtils").bumpODSMetrics(n,"event.filters.sampling",1),!1;var i=t.c;if(i!=null&&(s||(s=r("AnalyticsCoreData"))).consents!=null){var l=h(i,(s||(s=r("AnalyticsCoreData"))).consents,e);if(!l)return o("FalcoUtils").bumpODSMetrics(n,"event.filters.consent",1),!1}return!0}function h(e,t,n){var o=p[e];return o==null&&(o=p[e]=JSON.parse(e)),r("FalcoConsentChecker")(t,n,o,o[0])}function y(){return(u||(u=r("performanceAbsoluteNow")))()-o("ServerTime").getOffsetMillis()}function C(e,t,n,o,a,i){if((s||(s=r("AnalyticsCoreData"))).enable_observer){var l=babelHelpers.extends({name:e,time:t,sampled:n,getData:a,policy:o},i&&{getPrivacyContext:i});L.emit("event",l)}}function b(e,t,n,a,i,l){var u=JSON.stringify(i);if(u.length>m){o("FalcoUtils").bumpODSMetrics(e,"event.filters.exceeded_size",1),r("FBLogger")("falco","oversized_message:"+e).warn('Dropping event "%s" due to exceeding the max size %s at %s',e,m,u.length);return}var p=o("FalcoUtils").xorBitmap([0,0],c);p=o("FalcoUtils").xorBitmap(p,d);var _={name:e,policy:t,time:n,extra:u,privacyContext:a,tags:p,sessionId:o("WebSession").getId(),deviceId:(s||(s=r("AnalyticsCoreData"))).device_id,appVersion:s.app_version};l.wrapAndEnqueueItem(_),o("FalcoUtils").bumpODSMetrics(e,"event.captured",1)}function v(e,t,n,r,a){try{var i=y();o("FalcoUtils").bumpODSMetrics(e,"event.logged",1);var l=g(i,t,e);if(l){var s=r(),u=n&&n();b(e,t,i,u,s,a)}C(e,i,l,t,r,n)}catch(e){R(e)}}function S(t,r,a,i,l){try{var s=y();o("FalcoUtils").bumpODSMetrics(t,"event.logged",1);var u=g(s,r,t);if(u){var c=i(),d=(e||(e=n("Promise"))).resolve(a&&a());return e.all([c,d]).then(function(e){var n=e[0],o=e[1];b(t,r,s,o,n,l),C(t,s,u,r,function(){return n},o&&function(){return o})})}else return C(t,s,u,r,i,a),(e||(e=n("Promise"))).resolve()}catch(t){return(e||(e=n("Promise"))).reject(t)}}function R(e){var t=r("FBLogger")("falco");e instanceof Error?t.catching(e).warn("Error while attempting to log to Falco"):t.warn("Caught non-error while attempting to log to Falco: %s",JSON.stringify(e))}var L=f.observable;function E(e,t){var n=f.logQueue,r=f.logImmediatelyQueue,o=f.logCriticalQueue;return{log:function(o,a){v(e,t,a,o,n)},logAsync:function(o,a){S(e,t,a,o,n).catch(R)},logImmediately:function(o,a){v(e,t,a,o,r)},logCritical:function(r,a){v(e,t,a,r,o)},logRealtimeEvent:function(r,a){v(e,t,a,r,o)}}}l.observable=L,l.create=E}),98); __d("Run",["cr:310"],(function(t,n,r,o,a,i,l){"use strict";var e;l.__domContentCallback=(e=n("cr:310")).__domContentCallback,l.__onloadCallback=e.__onloadCallback,l.onAfterLoad=e.onAfterLoad,l.onAfterUnload=e.onAfterUnload,l.onBeforeUnload=e.onBeforeUnload,l.maybeOnBeforeUnload=e.maybeOnBeforeUnload,l.onLeave=e.onLeave,l.onLoad=e.onLoad,l.onUnload=e.onUnload}),98); __d("pageID",["WebSession"],(function(t,n,r,o,a,i,l){"use strict";var e=o("WebSession").getPageId_DO_NOT_USE();l.default=e}),98); __d("WebStorageMutex",["WebStorage","clearTimeout","pageID","setTimeout"],(function(t,n,r,o,a,i,l){"use strict";var e,s=null,u=!1,c=r("pageID");function d(){return u||(u=!0,s=(e||(e=r("WebStorage"))).getLocalStorage()),s}var m=(function(){function t(e){this.name=e}t.testSetPageID=function(t){c=t};var n=t.prototype;return n.$2=function(){var e=d();if(!e)return c;var t=e.getItem("mutex_"+this.name);return t=(t!=null?t:"").split(":"),t&&parseInt(t[1],10)>=Date.now()?t[0]:null},n.$3=function(n){var t=d();if(t){var o=n==null?1e3:n,a=Date.now()+o;(e||(e=r("WebStorage"))).setItemGuarded(t,"mutex_"+this.name,c+":"+a)}},n.hasLock=function(){return this.$2()===c},n.lock=function(t,n,o){var e=this;this.$1&&r("clearTimeout")(this.$1),c===(this.$2()||c)&&this.$3(o),this.$1=r("setTimeout")(function(){e.$1=null;var r=e.hasLock()?t:n;r&&r(e)},0)},n.unlock=function(){this.$1&&r("clearTimeout")(this.$1);var e=d();e&&this.hasLock()&&e.removeItem("mutex_"+this.name)},t})();l.default=m}),98); __d("guid",[],(function(t,n,r,o,a,i){function e(){if(typeof crypto=="object"&&typeof crypto.getRandomValues=="function"&&typeof String.prototype.padStart=="function"){var e=crypto.getRandomValues(new Uint32Array(2));return"f"+e[0].toString(16).padStart(8,"0")+e[1].toString(16).padStart(8,"0")}return"f"+(Math.random()*(1<<30)).toString(16).replace(".","")}i.default=e}),66); __d("TimerStorage",[],(function(t,n,r,o,a,i){var e={ANIMATION_FRAME:"ANIMATION_FRAME",IDLE_CALLBACK:"IDLE_CALLBACK",IMMEDIATE:"IMMEDIATE",INTERVAL:"INTERVAL",TIMEOUT:"TIMEOUT"},l={};Object.keys(e).forEach(function(e){return l[e]={}});var s=babelHelpers.extends({},e,{set:function(t,n){l[t][n]=!0},unset:function(t,n){delete l[t][n]},clearAll:function(t,n){Object.keys(l[t]).forEach(n),l[t]={}},getStorages:function(){return{}}}),u=s;i.default=u}),66); __d("nativeRequestAnimationFrame",[],(function(t,n,r,o,a,i){var e=t.__fbNativeRequestAnimationFrame||t.requestAnimationFrame||t.webkitRequestAnimationFrame||t.mozRequestAnimationFrame||t.oRequestAnimationFrame||t.msRequestAnimationFrame,l=e;i.default=l}),66); __d("requestAnimationFramePolyfill",["ExecutionEnvironment","nativeRequestAnimationFrame","performanceNow"],(function(t,n,r,o,a,i,l){var e,s,u=0,c=r("nativeRequestAnimationFrame");if((e||(e=r("ExecutionEnvironment"))).isInWorker&&c!=null)try{c(function(){})}catch(e){c=null}var d=c||function(e){var n=(s||(s=r("performanceNow")))(),o=Math.max(0,16-(n-u));return u=n+o,t.setTimeout(function(){e((s||(s=r("performanceNow")))())},o)},m=d;l.default=m}),98); __d("requestAnimationFrameAcrossTransitions",["TimeSlice","requestAnimationFramePolyfill"],(function(t,n,r,o,a,i,l){function e(e){var t=r("TimeSlice").guard(e,"requestAnimationFrame",{propagationType:r("TimeSlice").PropagationType.CONTINUATION});return r("requestAnimationFramePolyfill")(t)}l.default=e}),98); __d("requestAnimationFrame",["TimeSlice","TimerStorage","requestAnimationFrameAcrossTransitions"],(function(t,n,r,o,a,i,l){function e(e){function t(t){r("TimerStorage").unset(r("TimerStorage").ANIMATION_FRAME,n),e(t)}r("TimeSlice").copyGuardForWrapper(e,t),t.__originalCallback=e;var n=r("requestAnimationFrameAcrossTransitions")(t);return r("TimerStorage").set(r("TimerStorage").ANIMATION_FRAME,n),n}l.default=e}),98); __d("PersistedQueue",["AnalyticsCoreData","BaseEventEmitter","ExecutionEnvironment","Run","WebStorage","WebStorageMutex","cr:8958","err","guid","nullthrows","performanceAbsoluteNow","requestAnimationFrame"],(function(t,n,r,o,a,i,l){"use strict";var e,s,u,c,d=864e5,m=30*1e3,p=new(r("BaseEventEmitter")),_;function f(t){if(t===void 0&&(t=!1),_===void 0){var n;if((n=(e||(e=r("AnalyticsCoreData"))).queue_activation_experiment)!=null&&n&&t)try{return(s||(s=r("WebStorage"))).getLocalStorageForRead()}catch(e){return null}var o="check_quota";try{var a=(s||(s=r("WebStorage"))).getLocalStorage();a?(a.setItem(o,o),a.removeItem(o),_=a):_=null}catch(e){_=null}}return _}function g(e){var t=e.prev,n=e.next;n&&(n.prev=t),t&&(t.next=n),e.next=null,e.prev=null}function h(e){return{item:e,next:null,prev:null}}function y(e,t){var n;return e+"^$"+((n=t==null?void 0:t.queueNameSuffix)!=null?n:"")}var C={},b={},v={},S=!1,R=(function(){function e(e,t){var n,o=this;if(this.$7=0,this.$3=e,this.$5=(n=t==null?void 0:t.queueNameSuffix)!=null?n:"",this.$4=y(e,t),this.$11=this.$4+"^$"+r("guid")(),this.$14=!1,t){var a;this.$8=(a=t.max_age_in_ms)!=null?a:d,this.$12=t.migrate,this.$13=t.onLoad}else this.$8=d;this.$9=[p.addListener("active",function(){(o.$10!=null||!o.$14)&&(o.$14=!0,o.$10=null,o.$15())}),p.addListener("inactive",function(){o.$10==null&&(o.$10=Date.now(),o.$16())})],((u||(u=r("ExecutionEnvironment"))).canUseDOM||(u||(u=r("ExecutionEnvironment"))).isInWorker)&&r("requestAnimationFrame")(function(){return o.$15()})}var t=e.prototype;return t.isActive=function(){var e=this.$10;return e==null?!0:Date.now()-e>m?(this.$10=null,p.emit("active",null),!0):!1},t.$15=function(){this.$17(),this.$18()},t.$16=function(){this.$19()},t.getFullName=function(){return this.$4},t.getQueueNameSuffix=function(){return this.$5},e.isQueueActivateExperiment=function(){return S},e.setOnQueueActivateExperiment=function(){S=!0},e.create=function(n,o){var t=y(n,o);if(t in C)throw r("err")("Duplicate queue created: "+n);var a=new e(n,o);C[t]=a,v[n]?v[n].push(a):v[n]=[a];var i=b[n];return i&&a.setHandler(i),a},e.setHandler=function(t,n){if(v[t]){var e=v[t];for(var r of e)r.setHandler(n)}b[t]=n},t.destroy=function(){this.$9.forEach(function(e){return e.remove()})},e.destroy=function(t,n){var e=y(t,n);C[e].destroy(),delete C[e]},t.setHandler=function(t){return this.$6=t,this.$18(),this},t.$18=function(){this.$7>0&&this.$6&&this.$6(this)},t.length=function(){return this.$7},t.enumeratedLength=function(){return this.$20().length},e.isPersistenceAllowed=function(){var e=f();return!!e},e.getSuffixesForKey=function(t){var e=[];try{var n=f(!0);if(!n)return e;for(var r=t+"^$",o=0;o2){var l=i[1];e.push(l)}else e.push("")}}}catch(e){}return e},t.$17=function(){var e=this,t=f(!0);if(t){var o=this.$4+"^$",a=new(r("WebStorageMutex"))(o),i=this.$12,l=this.$13;a.lock(function(a){var s=Date.now()-e.$8;try{for(var u=0;us)try{for(var p of m.items){var _=i!=null?i(p):p;_=l!=null?l(p):p,e.$21(_)}}catch(e){}}}}}catch(e){}a.unlock(),e.$18()})}},t.$19=function(){var e=f();if(e){var t=this.$20();if(t.length===0){e.getItem(this.$11)!=null&&e.removeItem(this.$11);return}(s||(s=r("WebStorage"))).setItemGuarded(e,this.$11,n("cr:8958").stringify({items:t.map(function(e){return e}),ts:(c||(c=r("performanceAbsoluteNow")))()}))}},t.$20=function(){var e=this.$1,t=[];if(!e)return t;do t.push(e.item);while(e=e.prev);return t.reverse()},t.markItemAsCompleted=function(t){var e=t.prev;g(t),this.$1===t&&(this.$1=e),this.$7--,this.isActive()||this.$19()},t.markItemAsFailed=function(t){g(t);var e=this.$2;if(e){var n=e.prev;n&&(n.next=t,t.prev=n),t.next=e,e.prev=t}this.$2=t,this.isActive()&&this.$18()},t.markItem=function(t,n){n?this.markItemAsCompleted(t):this.markItemAsFailed(t)},t.$21=function(t){var e=h(t),n=this.$1;n&&(n.next=e,e.prev=n),this.$1=e,this.$2||(this.$2=e),this.$7++},t.wrapAndEnqueueItem=function(t){this.$21(t),this.isActive()?this.$18():this.$19()},t.dequeueItem=function(){if(this.$10!=null)return null;var e=this.$2;return e?(this.$2=e.next,e):null},e})();if(R.eventEmitter=p,(u||(u=r("ExecutionEnvironment"))).canUseDOM){var L=o("Run").maybeOnBeforeUnload(function(){p.emit("inactive",null),L==null||L.remove()},!1);if(!L)var E=o("Run").onUnload(function(){p.emit("inactive",null),E.remove()})}l.default=R}),98); __d("FalcoUtils",["AnalyticsCoreData","ODS","PersistedQueue","nullthrows"],(function(t,n,r,o,a,i,l){"use strict";var e,s,u="ods_web_batch",c=p(33);function d(e){var t;return e.tags=_((t=e.tags)!=null?t:[0,0],c),e}function m(e){if(e){var t=e.fbIdentity,n=e.appScopedIdentity,r=e.claim,o="";if(t){var a=t.accountId,i=t.actorId;o=a+"^#"+i+"^#"}else n!==void 0&&(o="^#^#"+n);return o+"^#"+r}return""}function p(e){return e>30?[0,1<0&&(m/=i,_/=i),!(!isFinite(m)||!isFinite(_))){if(d.n+=m,arguments.length>=5){var f=d.d;f==null&&(f=0),d.d=f+_}p()}}}var m;function p(){m==null&&(m=r("setTimeout")(function(){h()},r("gkx")("20935")?13e3/2:5e3))}function _(e,t){u&&(c[e]=o("Random").random()l)s-=l;else if(s===1){h(e,r,i);return}}u().setCookie(l,e,t,r,i!=null?i:c(),s,o,a)}function f(e,t){d(e)&&m(e,t)}function g(e,t,n,r,o,a){d(e)&&_(e,t,n,r,o,null,a)}function h(e,t,n){t===void 0&&(t="/");var r=t||"/";u().clearCookie(e,r,n!=null?n:c())}function y(e){return v(e)?u().getCookie(e):null}function C(e){return{insecure:e.i||!1,path:e.p||"/",ttlSeconds:e.t||0,sameSite:e.s||"None"}}function b(t){if(r("CookieCoreConfig")[t]!==void 0)return C(r("CookieCoreConfig")[t]);var n=t.match(e);return n&&n.length>1?b(n[1]):null}function v(e){return b(e)!==null}function S(e){var t=b(e);return t==null?!0:!t.insecure}function R(e){var t=b(e);return t==null?null:t.ttlSeconds*1e3}function L(e){var t=b(e);return t==null?"/":t.path}function E(e){var t=b(e);return t==null||t.sameSite==null?null:t.sameSite}l.set=m,l.setWithDomain_FOR_MESSENGER_LS_ONLY=p,l.setWithoutChecks=_,l.setIfFirstPartyContext=f,l.setWithoutChecksIfFirstPartyContext=g,l.clear=h,l.get=y}),98); __d("Cookie",["CookieConsent","CookieCore","InitialCookieConsent","ODS"],(function(t,n,r,o,a,i,l){var e,s,u,c;function d(e){return(c||(c=r("CookieConsent"))).hasFirstPartyConsent()?!0:((s||(s=o("ODS"))).bumpEntityKey(798,"defer_cookies","set."+e),!1)}function m(){return!(u||(u=r("InitialCookieConsent"))).noCookies}function p(e,t){!m()||!d(e)||o("CookieCore").set(e,t)}function _(e,t){m()&&o("CookieCore").set(e,t)}function f(e,t,n,r,a,i){!m()||!d(e)||o("CookieCore").setWithoutChecks(e,t,n,r,a,null,i)}var g={clear:(e=o("CookieCore")).clear,get:e.get,set:p,setIfFirstPartyContext:e.setIfFirstPartyContext,setWithoutCheckingUserConsent_DANGEROUS:_,setWithoutChecks:f,setWithoutChecksIfFirstPartyContext:e.setWithoutChecksIfFirstPartyContext};l.default=g}),98); __d("trackReferrer",["Cookie","Parent"],(function(t,n,r,o,a,i){var e=/^(?:(?:[^:\/?#]+):)?(?:\/\/(?:[^\/?#]*))?([^?#]*)(?:\?([^#]*))?(?:#(.*))?/;function l(t){var n;return((n=e.exec(t))==null?void 0:n[1])||""}function s(e,t){var r=n("Parent").byAttribute(e,"data-referrer");if(r){var o,a=l(t);if(!a)return;var i=a+"|"+((o=r.getAttribute("data-referrer"))!=null?o:"");n("Cookie").set("x-src",i)}}a.exports=s}),null); __d("Primer",["invariant","Bootloader","CSS","Env","Event","Parent","PhotoSnowliftLoader","PrimerInlineHandlers","ReactServerPrimer","TimeSlice","clickRefAction","firstClickTimestamp","ifRequired","performanceNow","requireDeferred","trackReferrer"],(function(t,n,r,o,a,i,l,s){var e,u,c=r("requireDeferred")("AsyncRequest").__setRef("Primer"),d=null,m=/async(?:-post)?|dialog(?:-post)?|theater|toggle/,p=document.documentElement;p!=null||s(0,2301);function _(t,n,a,i,l){o("firstClickTimestamp").setIfFirstClick(n,(e||(e=r("performanceNow")))());var d=n.getAttribute("ajaxify"),p=n.href,_=i!=null&&i!==""?i:d||p;if(_&&r("clickRefAction")("a",n,t).coalesce_namespace("primer"),d&&p&&!/#$/.test(p)){var f=t.which&&t.which===2,g=t.altKey||t.ctrlKey||t.metaKey||t.shiftKey;if(f||g)return}var h=o("PrimerInlineHandlers").run(a,t,"data-onclick");r("trackReferrer")(n,_);var y=l||n.rel;y=y&&y.match(m),y=y&&y[0];var C="Primer: "+y;switch(y){case"dialog":case"dialog-post":r("Bootloader").loadModules(["AsyncDialog"],function(e){e.bootstrap(_,n,y)},C);break;case"async":case"async-post":c.loadImmediately(function(e){e.bootstrap(_,n,y==="async-post")});break;case"theater":(u||(u=r("Env"))).isCQuick?r("ifRequired")("PageTransitions",function(e){e.go(_)}):o("PhotoSnowliftLoader").load(_,n,C);break;case"toggle":var b=n.parentNode;b!=null||s(0,2302),o("CSS").toggleClass(b,"openToggler"),r("Bootloader").loadModules(["Toggler"],function(e){n.parentNode!=null&&e.bootstrap(n)},C);break;default:return r("ifRequired")("PageTransitionsRegistrar",function(e){e.__onClick(t)},function(){}),h}return!1}r("Event").listen(document,"click",function(e){var t=null;if(e=e||window.event,!(e.button>=2)){d=e.target||e.srcElement;var n=o("Parent").byTag(d,"A");return n instanceof HTMLAnchorElement?t=_(e,n,d):t=o("PrimerInlineHandlers").run(d,e,"data-onclick"),t==null&&(t=o("ReactServerPrimer").handleEvent("data-sr-onclick",e,d)),t}},r("Event").Priority._BUBBLE),r("Event").listen(document,"submit",function(e){var t=e.getTarget(),n=t&&t.getAttribute("action"),o=t&&t.getAttribute("data-react-action")==="true";if(!(n!=null&&o)){var a=t&&t.getAttribute("rel");if(t&&t.nodeName=="FORM"&&(a=="async"||a==="dialog")){r("clickRefAction")("f",t,e).coalesce_namespace("primer");var i=d;switch(a){case"async":r("Bootloader").loadModules(["FormSubmit"],function(e){e.send(t,i)},"Primer: async");break;case"dialog":r("Bootloader").loadModules(["FormSubmit","AsyncDialog"],function(e,n){var r=e.buildRequest(t,i);r&&n.send(r)},"Primer: form dialog");break}return!1}else return r("ifRequired")("PageTransitionsRegistrar",function(t){return t.__onSubmit(e,d)})}},r("Event").Priority._BUBBLE);var f=null,g=function(t,n){n=n||window.event,f=n.target||n.srcElement;var e=o("PrimerInlineHandlers").run(f,n,"data-on"+t);y(),t==="mouseover"&&(C(),e==null&&f&&(e=o("ReactServerPrimer").handleEvent("data-sr-onmouseover",n,f)))},h=function(t,n){n=n||window.event,f=n.relatedTarget||n.toElement},y=function(){var e=f,t=o("Parent").byAttribute(f,"data-hover");if(t){switch(t.getAttribute("data-hover")){case"tooltip":r("Bootloader").loadModules(["Tooltip"],function(n){f===e&&n.process(t,f)},"Primer: tooltip");break}return}},C=function(){var e=f,t=o("Parent").byAttribute(e,"data-hovercard");t&&r("Bootloader").loadModules(["Hovercard"],function(n){f===e&&n.processNode(t)},"Primer: hovercard")};p.onmouseover=r("TimeSlice").guard(g.bind(null,"mouseover"),"Primer mouseover"),p.onmouseout=r("TimeSlice").guard(h.bind(null,"mouseout"),"Primer mouseout");var b=r("TimeSlice").guard(g.bind(null,"focus"),"Primer focus");p.addEventListener?p.addEventListener("focus",b,!0):p.attachEvent("onfocusin",b);var v=r("TimeSlice").guard(g.bind(null,"keypress"),"Primer keypress");p.addEventListener&&p.addEventListener("keypress",v,!0),l.primerHandleAjaxify=_}),98); __d("PromiseImpl",["ErrorPubSub","TimeSlice","err","setImmediateAcrossTransitions","setTimeoutAcrossTransitions"],(function(t,n,r,o,a,i){"use strict";var e;function l(){}var s=null,u={};function c(e){try{return e.then}catch(e){return s=e,u}}function d(e,t){try{return e(t)}catch(e){return s=e,u}}function m(e,t,n){try{e(t,n)}catch(e){return s=e,u}}function p(e){if(typeof this!="object")throw new TypeError("Promises must be constructed via new");if(typeof e!="function")throw new TypeError("not a function");this._state=0,this._value=null,this._deferreds=[],e!==l&&b(e,this)}p._noop=l,p.prototype.then=function(e,t){if(this.constructor!==p)return _(this,e,t);var n=new p(l);return f(this,new C(e,t,n)),n};function _(e,t,n){return new e.constructor(function(r,o){var a=new p(l);a.then(r,o),f(e,new C(t,n,a))})}function f(e,t){for(;e._state===3;)e=e._value;if(e._state===0){e._deferreds.push(t);return}n("setImmediateAcrossTransitions")(function(){var n=e._state===1?t.onFulfilled:t.onRejected;if(n===null){t.continuation(function(){}),e._state===1?g(t.promise,e._value):h(t.promise,e._value);return}var r=d(t.continuation.bind(null,n),e._value);r===u?h(t.promise,s):g(t.promise,r)})}function g(e,t){if(t===e)return h(e,new TypeError("A promise cannot be resolved with itself."));if(t&&(typeof t=="object"||typeof t=="function")){var n=c(t);if(n===u)return h(e,s);if(n===e.then&&t instanceof p){e._state=3,e._value=t,y(e);return}else if(typeof n=="function"){b(n.bind(t),e);return}}e._state=1,e._value=t,y(e)}function h(e,t){e._state=2,e._value=t,y(e)}function y(e){for(var t=0;t")}var l=n.onload;n.onload=r("TimeSlice").guard(function(){l&&l(),r("Arbiter").inform(r("PageEvents").NATIVE_ONLOAD,!0,"state")},"window.onload"),n.onbeforeunload=r("TimeSlice").guard(function(e){var t={};if(r("Arbiter").inform(r("PageEvents").NATIVE_ONBEFOREUNLOAD,t,"state"),t.warn||r("Arbiter").inform(r("PageEvents").AJAXPIPE_ONUNLOAD,{transition_type:"normal"}),t.warn!==void 0){var n=t.warn.body!=null?t.warn.body:t.warn;return e&&(e.returnValue=n),n}else return},"window.onbeforeunload")}function R(){var t,n=(e||(e=r("performanceAbsoluteNow")))();(t=window.console)!=null&&t.timeStamp&&window.console.timeStamp('perf_trace {"name": "e2e", "parent": "PageEvents.BIGPIPE_ONLOAD"}'),r("Arbiter").inform(r("PageEvents").BIGPIPE_ONLOAD,{ts:n},"state")}var L=r("Arbiter").registerCallback(function(){o("BigPipeInstance").getCurrentInstance()?r("Arbiter").subscribeOnce(o("BigPipeInstance").Events.displayed,R):R()},[r("PageEvents").NATIVE_ONLOAD]),E=r("Arbiter").registerCallback(function(){var e={timeTriggered:Date.now()};r("Arbiter").inform(r("PageEvents").BIGPIPE_DOMREADY,e,"state")},[r("PageEvents").NATIVE_DOMREADY]);(s||(s=r("ExecutionEnvironment"))).canUseDOM&&S();function k(){return{remove:function(){}}}l.onLoad=d,l.onAfterLoad=m,l.onBeforeUnload=p,l.onUnload=f,l.onAfterUnload=g,l.onLeave=h,l.onCleanupOrLeave=y,l.__removeHook=b,l.__onloadCallback=L,l.__domContentCallback=E,l.maybeOnBeforeUnload=k}),98); __d("RunWWW",["cr:925100"],(function(t,n,r,o,a,i,l){"use strict";var e;l.__domContentCallback=(e=n("cr:925100")).__domContentCallback,l.__onloadCallback=e.__onloadCallback,l.__removeHook=e.__removeHook,l.onAfterLoad=e.onAfterLoad,l.onAfterUnload=e.onAfterUnload,l.onBeforeUnload=e.onBeforeUnload,l.maybeOnBeforeUnload=e.maybeOnBeforeUnload,l.onCleanupOrLeave=e.onCleanupOrLeave,l.onLeave=e.onLeave,l.onLoad=e.onLoad,l.onUnload=e.onUnload}),98); __d("SubmitOnEnterListener",["Bootloader","CSS"],(function(t,n,r,o,a,i){document.documentElement.onkeydown=function(e){e=e||window.event;var t=e.target||e.srcElement,r=e.keyCode==13&&!e.altKey&&!e.ctrlKey&&!e.metaKey&&!e.shiftKey&&n("CSS").hasClass(t,"enter_submit");if(r)return n("Bootloader").loadModules(["DOM","Input","trackReferrer","Form"],function(e,n,r,o){if(!n.isEmpty(t)){var a=t.form,i=e.scry(a,".enter_submit_target")[0]||e.scry(a,'[type="submit"]')[0];if(i){var l=o.getAttribute(a,"ajaxify")||o.getAttribute(a,"action");l&&r(a,l),i.click()}}},"SubmitOnEnterListener"),!1}}),null); __d("IntervalTrackingBoundedBuffer",["CircularBuffer","ErrorPubSub"],(function(t,n,r,o,a,i,l){"use strict";var e,s=5e3,u=(function(){function t(e){var t=this;if(this.$6=0,e!=null){if(e<=0)throw new Error("Size for a buffer must be greater than zero.")}else e=s;this.$4=e,this.$1=new(r("CircularBuffer"))(e),this.$1.onEvict(function(){t.$6++}),this.$2=[],this.$3=1,this.$5=0}var n=t.prototype;return n.open=function(){var e=this,t=this.$3++,n=!1,r,o=this.$5,a={id:t,startIdx:o,hasOverflown:function(){return a.getOverflowSize()>0},getOverflowSize:function(){return r!=null?r:Math.max(e.$6-o,0)},close:function(){return n?[]:(n=!0,r=e.$6-o,e.$7(t))}};return this.$2.push(a),a},n.pushElement=function(t){return this.$2.length>0&&(this.$1.write(t),this.$5++),this},n.isActive=function(){return this.$2.length>0},n.$8=function(t){return Math.max(t-this.$6,0)},n.$7=function(n){for(var t,o,a,i,l=0;l0&&(this.$1.dropFirst(p),this.$6+=p),m},t})();l.default=u}),98); __d("WorkerUtils",[],(function(t,n,r,o,a,i){"use strict";function e(){try{return"WorkerGlobalScope"in t&&t instanceof t.WorkerGlobalScope}catch(e){return!1}}function l(){try{return"SharedWorkerGlobalScope"in t&&t instanceof t.SharedWorkerGlobalScope}catch(e){return!1}}i.isWorkerContext=e,i.isSharedWorkerContext=l}),66); __d("getReusableTimeSliceContinuation",[],(function(t,n,r,o,a,i){"use strict";function e(e,t,n){var r=!1,o=e.getGuardedContinuation(n),a=function(a){o(function(){r||(o=e.getGuardedContinuation(n)),a()})};a.last=function(e){var t=o;i(),t(e)},a[t]={};function i(){r=!0,o=function(t){t()}}return a}i.default=e}),66); __d("TimeSliceImpl",["invariant","Env","ErrorGuard","FBLogger","IntervalTrackingBoundedBuffer","WorkerUtils","getReusableTimeSliceContinuation","performanceAbsoluteNow","wrapFunction"],(function(t,n,r,o,a,i,l){var e,s,u,c,d=[],m=[],p="key"+Math.random(),_=1,f=!1,g=(e||(e=n("Env"))).timesliceBufferSize;g==null&&(g=5e3);var h=new(n("IntervalTrackingBoundedBuffer"))(g),y=[],C=[],b=[];function v(){return S(y)}function S(e){return e.length>0?e[e.length-1]:null}function R(e,t){var r={};(s||(s=n("ErrorGuard"))).applyWithGuard(k,null,[e,t,r]),s.applyWithGuard(I,null,[e,t,r]),y.push(e),C.push(t),b.push(r)}function L(e,t,n){d.forEach(function(r){var o=r.onNewContextCreated(v(),t,n);e[r.getBeforeID()]=o})}function E(e,t,n){m.forEach(function(r){r.onAfterContextEnded(e,t[r.getBeforeID()],n[r.getBeforeID()],e.meta)})}function k(e,t,n){d.forEach(function(r){var o=r.onBeforeContextStarted(e,t[r.getBeforeID()],e.meta);n[r.getBeforeID()]=o})}function I(e,t,n){d.forEach(function(r){var o=r.onAfterContextStarted(e,t[r.getBeforeID()],n[r.getBeforeID()],e.meta);n[r.getBeforeID()]=o})}function T(){var e=v(),t=S(C),r=S(b);if(e==null||t==null||r==null){n("FBLogger")("TimeSlice").mustfix("popped too many times off the timeslice stack"),f=!1;return}(s||(s=n("ErrorGuard"))).applyWithGuard(E,null,[e,t,r]),f=!e.isRoot,y.pop(),C.pop(),b.pop()}var D={PropagationType:{CONTINUATION:0,EXECUTION:1,ORPHAN:2},guard:function(t,r,o){typeof t=="function"||l(0,3725),typeof r=="string"||l(0,3726);var e=x(o);if(t[p])return t;var a;f&&(a=v());var i={},d=0,m=function(){var o=(u||(u=n("performanceAbsoluteNow")))(),l=_++,m={contextID:l,name:r,isRoot:!f,executionNumber:d++,meta:e,absBeginTimeMs:o};if(R(m,i),a!=null){var p=!!e.isContinuation;a.isRoot?(m.indirectParentID=a.contextID,m.isEdgeContinuation=p):(m.indirectParentID=a.indirectParentID,m.isEdgeContinuation=!!(p&&a.isEdgeContinuation))}var g=(c||(c=n("WorkerUtils"))).isWorkerContext();f=!0;try{for(var y=arguments.length,C=new Array(y),b=0;b1?t-1:0),r=1;rt.getBeforeID()){d.splice(n,0,t),e=!0;break}e||d.push(t);for(var r=0;rt.getAfterID()){m.splice(r,0,t);return}m.push(t)},catchUpOnDemandExecutionContextObservers:function(t){for(var e=0;e1?t-1:0),r=1;rd){c=!0;return}u.push({key:e+s,value:t})}r("Visibility").addListener(r("Visibility").VISIBLE,function(e){m(e.changeTime,!1)}),r("Visibility").addListener(r("Visibility").HIDDEN,function(e){m(e.changeTime,!0)});function p(e,t){if(c)return null;for(var n,o=u.length-1;o>=0;o--)if(u[o].key<=t){n=u.slice(0,o+1);break}return n===void 0?null:(n[n.length-1].value!==r("Visibility").isHidden()&&(n[n.length]={key:t,value:r("Visibility").isHidden()}),n)}function _(e,t){var n=p(e,t);if(!n)return null;if(n.length<2)return r("Visibility").isHidden()?t-e:0;var o=n.length-1,a=n[o].value?t-n[o].key:0;for(--o;o>0&&n[o].key>e;o--)n[o].value&&(a+=n[o+1].key-n[o].key);return n[o].value&&(a=n[o+1].key-e),a}function f(){return!0}l.getHiddenTimings=p,l.getHiddenTime=_,l.supported=f}),98); __d("performanceNavigationStart",["performance"],(function(t,n,r,o,a,i){var e,l=typeof window!="undefined"?window:self,s;if((e||(e=n("performance"))).now)if((e||(e=n("performance"))).timing&&(e||(e=n("performance"))).timing.navigationStart)s=function(){return(e||(e=n("performance"))).timing.navigationStart};else{if(typeof l._cstart=="number")s=function(){return l._cstart};else{var u=Date.now();s=function(){return u}}s.isPolyfilled=!0}else s=function(){return 0},s.isPolyfilled=!0;a.exports=s}),null); __d("bootstrapWebSession",["WebSession","WebSessionDefaultTimeoutMs","performanceNavigationStart"],(function(t,n,r,o,a,i,l){"use strict";function e(e){var t=r("performanceNavigationStart")()||e;return Number.isInteger(t)?t:null}var s=!1;function u(t){if(s!==!0){s=!0;var n=e(t);n!=null&&n>0&&o("WebSession").extend(n+r("WebSessionDefaultTimeoutMs"))}}l.default=u}),98); __d("clearIntervalBlue",[],(function(t,n,r,o,a,i){var e=t.__fbNativeClearTimeout||t.clearTimeout;function l(t){e(t)}i.default=l}),66); __d("clearIntervalWWW",["cr:1003267"],(function(t,n,r,o,a,i,l){l.default=n("cr:1003267")}),98); __d("clearTimeoutBlue",[],(function(t,n,r,o,a,i){var e=t.__fbNativeClearTimeout||t.clearTimeout;function l(t){e(t)}i.default=l}),66); __d("clearTimeoutWWW",["cr:806696"],(function(t,n,r,o,a,i,l){"use strict";l.default=n("cr:806696")}),98); __d("clearTimeoutWWWOrMobile",["cr:7386"],(function(t,n,r,o,a,i,l){l.default=n("cr:7386")}),98); __d("goURIWWW",["URI"],(function(t,n,r,o,a,i,l){"use strict";var e;l.default=(e||(e=r("URI"))).go}),98); __d("legacy:arbiter",["Arbiter"],(function(t,n,r,o,a,i){t.Arbiter=n("Arbiter")}),3); __d("legacy:bootloader",["Bootloader"],(function(t,n,r,o,a,i){t.Bootloader=n("Bootloader")}),3); __d("mapObject",[],(function(t,n,r,o,a,i){"use strict";function e(e,t,n){if(!e)return null;for(var r={},o=Object.keys(e),a=o.length,i=0;i2?i-2:0),s=2;s2?i-2:0),s=2;s2?a-2:0),l=2;l