;/*FB_PKG_DELIM*/ __d("Locale",["SiteData"],(function(a,b,c,d,e,f){function a(){return b("SiteData").is_rtl}e.exports={isRTL:a}}),null); __d("VersionRange",["invariant"],(function(a,b,c,d,e,f,g,h){"use strict";var i=/\./,j=/\|\|/,k=/\s+\-\s+/,l=/^(<=|<|=|>=|~>|~|>|)?\s*(.+)/,m=/^(\d*)(.*)/;function n(a,b){a=a.split(j);if(a.length>1)return a.some(function(a){return E.contains(a,b)});else return o(a[0].trim(),b)}function o(a,b){a=a.split(k);a.length>0&&a.length<=2||h(0,11800);if(a.length===1)return p(a[0],b);else{var c=a[0];a=a[1];y(c)&&y(a)||h(0,11801);return p(">="+c,b)&&p("<="+a,b)}}function p(a,b){a=a.trim();if(a==="")return!0;b=b.split(i);a=w(a);var c=a.modifier;a=a.rangeComponents;switch(c){case"<":return q(b,a);case"<=":return r(b,a);case">=":return t(b,a);case">":return u(b,a);case"~":case"~>":return v(b,a);default:return s(b,a)}}function q(a,b){return D(a,b)===-1}function r(a,b){a=D(a,b);return a===-1||a===0}function s(a,b){return D(a,b)===0}function t(a,b){a=D(a,b);return a===1||a===0}function u(a,b){return D(a,b)===1}function v(a,b){var c=b.slice();b=b.slice();b.length>1&&b.pop();var d=b.length-1,e=parseInt(b[d],10);x(e)&&(b[d]=e+1+"");return t(a,c)&&q(a,b)}function w(a){a=a.split(i);var b=a[0].match(l);b||h(0,3074);return{modifier:b[1],rangeComponents:[b[2]].concat(a.slice(1))}}function x(a){return!isNaN(a)&&isFinite(a)}function y(a){return!w(a).modifier}function z(a,b){for(var c=a.length;cb)return 1;else if(ab)return 1;else if(a30?[0,1<=Date.now()?b[0]:null};b.$3=function(a){var b=l();if(!b)return;a=a==null?1e3:a;a=Date.now()+a;(h||(h=c("WebStorage"))).setItemGuarded(b,"mutex_"+this.name,k+":"+a)};b.hasLock=function(){return this.$2()===k};b.lock=function(a,b,d){var e=this;this.$1&&c("clearTimeout")(this.$1);k===(this.$2()||k)&&this.$3(d);this.$1=c("setTimeout")(function(){e.$1=null;var c=e.hasLock()?a:b;c&&c(e)},0)};b.unlock=function(){this.$1&&c("clearTimeout")(this.$1);var a=l();a&&this.hasLock()&&a.removeItem("mutex_"+this.name)};return a}();g["default"]=a}),98); __d("guid",[],(function(a,b,c,d,e,f){function a(){return"f"+(Math.random()*(1<<30)).toString(16).replace(".","")}f["default"]=a}),66); __d("PersistedQueue",["AnalyticsCoreData","BaseEventEmitter","ExecutionEnvironment","Run","WebStorage","WebStorageMutex","cr:8958","err","guid","nullthrows","performanceAbsoluteNow","requestAnimationFrame"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j,k,l=24*60*60*1e3,m=30*1e3,n=new(c("BaseEventEmitter"))(),o;function p(a){a===void 0&&(a=!1);if(o===void 0){var b;if(((b=(h||(h=c("AnalyticsCoreData"))).queue_activation_experiment)!=null?b:!1)&&a)try{return(i||(i=c("WebStorage"))).getLocalStorageForRead()}catch(a){return null}b="check_quota";try{a=(i||(i=c("WebStorage"))).getLocalStorage();a?(a.setItem(b,b),a.removeItem(b),o=a):o=null}catch(a){o=null}}return o}function q(a){var b=a.prev,c=a.next;c&&(c.prev=b);b&&(b.next=c);a.next=null;a.prev=null}function r(a){return{item:a,next:null,prev:null}}function s(a,b){return a+"^$"+((a=b==null?void 0:b.queueNameSuffix)!=null?a:"")}var t={},u={},v={},w=!1;a=function(){function a(a,b){var d,e=this;this.$7=0;this.$3=a;this.$5=(d=b==null?void 0:b.queueNameSuffix)!=null?d:"";this.$15=b==null?void 0:b.application;this.$4=s(a,b);this.$11=this.$4+"^$"+c("guid")();this.$14=!1;if(b){this.$8=(d=b.max_age_in_ms)!=null?d:l;this.$12=b.migrate;this.$13=b.onLoad}else this.$8=l;this.$9=[n.addListener("active",function(){(e.$10!=null||!e.$14)&&(e.$14=!0,e.$10=null,e.$16())}),n.addListener("inactive",function(){e.$10==null&&(e.$10=Date.now(),e.$17())})];((j||(j=c("ExecutionEnvironment"))).canUseDOM||(j||(j=c("ExecutionEnvironment"))).isInWorker)&&c("requestAnimationFrame")(function(){return e.$16()})}var d=a.prototype;d.isActive=function(){var a=this.$10;if(a==null)return!0;if(Date.now()-a>m){this.$10=null;n.emit("active",null);return!0}return!1};d.$16=function(){this.$18(),this.$19()};d.$17=function(){this.$20()};d.getFullName=function(){return this.$4};d.getQueueNameSuffix=function(){return this.$5};a.isQueueActivateExperiment=function(){return w};a.setOnQueueActivateExperiment=function(){w=!0};a.create=function(b,d){var e=s(b,d);if(e in t)throw c("err")("Duplicate queue created: "+b);d=new a(b,d);t[e]=d;v[b]?v[b].push(d):v[b]=[d];e=u[b];e&&d.setHandler(e);return d};a.setHandler=function(a,b){if(v[a]){var c=v[a];for(var c=c,d=Array.isArray(c),e=0,c=d?c:c[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var f;if(d){if(e>=c.length)break;f=c[e++]}else{e=c.next();if(e.done)break;f=e.value}f=f;f.setHandler(b)}}u[a]=b};d.destroy=function(){this.$9.forEach(function(a){return a.remove()})};a.destroy=function(a,b){a=s(a,b);t[a].destroy();delete t[a]};d.setHandler=function(a){this.$6=a;this.$19();return this};d.$19=function(){this.$7>0&&this.$6&&this.$6(this)};d.length=function(){return this.$7};d.enumeratedLength=function(){return this.$21().length};a.isPersistenceAllowed=function(){var a=p();return!a?!1:!0};a.getSuffixesForKey=function(a){var b=[];try{var c=p(!0);if(!c)return b;a=a+"^$";for(var d=0;d2){e=e[1];b.push(e)}else b.push("")}}}catch(a){}return b};d.$18=function(){var d,e=this,a=p(!0);if(!a)return;var f=this.$4+"^$";d=new(c("WebStorageMutex"))((d=this.$15)!=null?d:f);var g=this.$12,h=this.$13;d.lock(function(d){var i=Date.now()-e.$8;try{for(var j=0;ji)try{for(var l=k.items,k=Array.isArray(l),m=0,l=k?l:l[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var n;if(k){if(m>=l.length)break;n=l[m++]}else{m=l.next();if(m.done)break;n=m.value}n=n;g!=null?g(n):n;n=h!=null?h(n):n;e.$22(n)}}catch(a){}}}}}catch(a){}d.unlock();e.$19()})};d.$20=function(){var a=p();if(!a)return;var d=this.$21();if(d.length===0){a.getItem(this.$11)!=null&&a.removeItem(this.$11);return}(i||(i=c("WebStorage"))).setItemGuarded(a,this.$11,b("cr:8958").stringify({items:d.map(function(a){return a}),ts:(k||(k=c("performanceAbsoluteNow")))()}))};d.$21=function(){var a=this.$1,b=[];if(!a)return b;do b.push(a.item);while(a=a.prev);return b.reverse()};d.markItemAsCompleted=function(a){var b=a.prev;q(a);this.$1===a&&(this.$1=b);this.$7--;this.isActive()||this.$20()};d.markItemAsFailed=function(a){q(a);var b=this.$2;if(b){var c=b.prev;c&&(c.next=a,a.prev=c);a.next=b;b.prev=a}this.$2=a;this.isActive()&&this.$19()};d.markItem=function(a,b){b?this.markItemAsCompleted(a):this.markItemAsFailed(a)};d.$22=function(a){a=r(a);var b=this.$1;b&&(b.next=a,a.prev=b);this.$1=a;this.$2||(this.$2=a);this.$7++};d.wrapAndEnqueueItem=function(a){this.$22(a),this.isActive()?this.$19():this.$20()};d.dequeueItem=function(){if(this.$10!=null)return null;var a=this.$2;if(!a)return null;this.$2=a.next;return a};return a}();a.eventEmitter=n;if((j||(j=c("ExecutionEnvironment"))).canUseDOM){var x=d("Run").maybeOnBeforeUnload(function(){n.emit("inactive",null),x==null?void 0:x.remove()},!1);if(!x)var y=d("Run").onUnload(function(){n.emit("inactive",null),y.remove()})}g["default"]=a}),98); __d("ServerTime",["ServerTimeData"],(function(a,b,c,d,e,f,g){var h,i=0;f=0;var j=null;h=(h=(typeof window!=="undefined"?window:self).performance)==null?void 0:h.timing;if(h){var k=h.requestStart;h=h.domLoading;if(k&&h){var l=c("ServerTimeData").timeOfResponseStart-c("ServerTimeData").timeOfRequestStart;k=h-k-l;f=k/2;l=h-c("ServerTimeData").timeOfResponseStart-f;h=Math.max(50,k*.8);Math.abs(l)>h&&(i=l,j=Date.now())}}else d(c("ServerTimeData").serverTime);function a(){return Date.now()-i}function b(){return i}function d(a){a=Date.now()-a;Math.abs(i-a)>6e4&&(i=a,j=Date.now())}function e(){return j===null?null:Date.now()-j}f=a;k=b;g.getMillis=a;g.getOffsetMillis=b;g.update=d;g.getMillisSinceLastUpdate=e;g.get=f;g.getSkew=k}),98); __d("FalcoLoggerInternal",["AnalyticsCoreData","BaseEventEmitter","FBLogger","FalcoConsentChecker","FalcoUtils","ODS","PersistedQueue","Promise","Random","ServerTime","nullthrows","performanceAbsoluteNow"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j,k,l=d("FalcoUtils").getTaggedBitmap(33),m=d("FalcoUtils").getTaggedBitmap(0),n=500*1024*.6,o="ods_web_batch",p=new Map(),q=new Set(["cmcd_messenger_web_logging_event","javascript_web_error","comet_redblock"]);function r(a){var b;a.tags=d("FalcoUtils").xorBitmap((b=a.tags)!=null?b:[0,0],l);return a}function a(a,b){var d;d=(d=c("PersistedQueue").getSuffixesForKey(a))!=null?d:[];d.push(b);for(var d=d,e=Array.isArray(d),f=0,d=e?d:d[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var g,h;if(e){if(f>=d.length)break;h=d[f++]}else{f=d.next();if(f.done)break;h=f.value}h=h;var i=a+"^$"+h;if(p.has(i))continue;g=((g=(k||(k=c("AnalyticsCoreData"))).use_falco_as_mutex_key)!=null?g:!1)?c("PersistedQueue").create(a,{onLoad:r,queueNameSuffix:h,application:"falco"}):c("PersistedQueue").create(a,{onLoad:r,queueNameSuffix:h});p.set(i,g)}return c("nullthrows")(p.get(a+"^$"+b))}f=d("FalcoUtils").identityToString((k||(k=c("AnalyticsCoreData"))).identity);var s=a("falco_queue_log",f),t=a("falco_queue_immediately",f),u=a("falco_queue_critical",f),v=new(c("BaseEventEmitter"))(),w=new(c("BaseEventEmitter"))();function x(a,b){(i||(i=d("ODS"))).bumpEntityKey(1344,"falco.fabric.www."+(k||(k=c("AnalyticsCoreData"))).push_phase,a,b)}function y(a,b,e,f){if(a===o)return;(i||(i=d("ODS"))).bumpEntityKey(1344,"falco.event."+a+"."+(k||(k=c("AnalyticsCoreData"))).push_phase,b,e);f&&x(b,e)}var z={};function A(a,b){var d=c("Random").coinflip(b.r);b=b.c;b!=null&&(k||(k=c("AnalyticsCoreData"))).consents!=null&&(d=d&&B(b,(k||(k=c("AnalyticsCoreData"))).consents,a));return d}function B(a,b,d){var e=z[a];e==null&&(e=z[a]=JSON.parse(a));return c("FalcoConsentChecker")(b,d,e,e[0])}function C(){return(j||(j=c("performanceAbsoluteNow")))()-d("ServerTime").getOffsetMillis()}function D(a,b,d,e,f,g){E(a,b,d,e,f,g);if((k||(k=c("AnalyticsCoreData"))).enable_observer){a=babelHelpers["extends"]({name:a,time:b,sampled:d,getData:f,policy:e},g&&{getPrivacyContext:g});v.emit("event",a)}}function E(a,b,d,e,f,g){if((k||(k=c("AnalyticsCoreData"))).enable_cmcd_observer&&!q.has(a)){a=babelHelpers["extends"]({name:a,time:b,sampled:d,getData:f,policy:e},g&&{getPrivacyContext:g});w.emit("cmcd_detection_event",a)}}function F(a,b,e,f,g,h){g=JSON.stringify(g);if(g.length>n){y(a,"js.drop.oversized_message",1,!0);c("FBLogger")("falco","oversized_message:"+a).warn('Dropping event "%s" due to exceeding the max size %s at %s',a,n,g.length);return}h.wrapAndEnqueueItem({name:a,policy:b,time:e,extra:g,privacyContext:f,tags:d("FalcoUtils").xorBitmap([0,0],m)});y(a,"js.event.write_to_queue",1,!0)}function G(a,b,c,d,e){try{var f=C(),g=A(f,b);if(g){var h=d(),i=c&&c();F(a,b,f,i,h,e)}D(a,f,g,b,d,c)}catch(a){I(a)}}function H(a,c,d,e,f){try{var g=C(),i=A(g,c);if(i){var j=e(),k=(h||(h=b("Promise"))).resolve(d&&d());return h.all([j,k]).then(function(b){var d=b[0],e=b[1];F(a,c,g,e,d,f);D(a,g,i,c,function(){return d},e&&function(){return e})})}else{D(a,g,i,c,e,d);return(h||(h=b("Promise"))).resolve()}}catch(a){return(h||(h=b("Promise"))).reject(a)}}function I(a){var b=c("FBLogger")("falco");a instanceof Error?b.catching(a).warn("Error while attempting to log to Falco"):b.warn("Caught non-error while attempting to log to Falco: %s",JSON.stringify(a))}function e(a,b){return{log:function(c,d){G(a,b,d,c,s)},logAsync:function(c,d){H(a,b,d,c,s)["catch"](I)},logImmediately:function(c,d){G(a,b,d,c,t)},logCritical:function(c,d){G(a,b,d,c,u)},logRealtimeEvent:function(c,d){G(a,b,d,c,u)}}}g.observable=v;g.cmcdObservable=w;g.create=e}),98); __d("ODS",["ExecutionEnvironment","OdsWebBatchFalcoEvent","Random","Run","clearTimeout","gkx","setTimeout","unrecoverableViolation"],(function(a,b,c,d,e,f,g){var h,i,j=(h||(h=c("ExecutionEnvironment"))).canUseDOM||(h||c("ExecutionEnvironment")).isInWorker,k={};function l(a,b,c,d,e){var f;d===void 0&&(d=1);e===void 0&&(e=1);var g=(f=k[b])!=null?f:null;if(g!=null&&g<=0)return;i=i||{};var h=i[a]||(i[a]={}),j=h[b]||(h[b]={}),l=j[c]||(j[c]=[0,null]),m=Number(d),o=Number(e);g>0&&(m/=g,o/=g);if(!isFinite(m)||!isFinite(o))return;l[0]+=m;if(arguments.length>=5){var p=l[1];p==null&&(p=0);l[1]=p+o}n()}var m;function n(){if(m!=null)return;m=c("setTimeout")(function(){o()},c("gkx")("708253")?13e3/2:5e3)}function a(a,b){if(!j)return;k[a]=d("Random").random()"}}a=function(a){babelHelpers.inheritsLoose(b,a);function b(b,c,d,e,f){var g;g=a.call(this,b)||this;g.errorMsg=b;g.errorCode=c;g.errorRawResponseHeaders=d;g.errorRawTransport=e;g.errorType=f;return g}var c=b.prototype;c.toString=function(){var a;a=((a=this.errorCode)!=null?a:"")+"."+g(this.errorMsg)+"."+((a=this.errorRawResponseHeaders)!=null?a:"")+"."+((a=this.errorRawTransport)!=null?a:"")+"."+((a=this.errorType)!=null?a:"")+"."+((a=this.errorRawTransportStatus)!=null?a:"");return"CometAyncFetchError: "+a};return b}(babelHelpers.wrapNativeSuper(Error));f["default"]=a}),66); __d("CometAsyncFetchResponse",[],(function(a,b,c,d,e,f){"use strict";a=function(){function a(a,b){this.$1=a,this.$2=this.$3(b)}var b=a.prototype;b.getFullResponsePayload=function(){return this.$1};b.getResponsePayload=function(){var a;return(a=this.$1)==null?void 0:a.payload};b.getResponseHeader=function(a){var b;return(b=this.$2)==null?void 0:b.get(a.toLowerCase())};b.getAllResponseHeadersMap=function(){return new Map(this.$2)};b.$3=function(a){if(a==null||a.length===0)return null;var b=new Map();a=a.split("\r\n");for(var a=a,c=Array.isArray(a),d=0,a=c?a:a[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var e;if(c){if(d>=a.length)break;e=a[d++]}else{d=a.next();if(d.done)break;e=d.value}e=e;var f=e.indexOf(": ");if(f<=0)continue;var g=e.substring(0,f).toLowerCase();e=e.substring(f+2);f=b.get(g);f=f!=null?f+", "+e:e;b.set(g,f)}return b};return a}();f["default"]=a}),66); __d("Log",[],(function(a,b,c,d,e,f){"use strict";var g=-1;b={DEBUG:3,INFO:2,WARNING:1,ERROR:0};c=function(a,b,c){for(var d=arguments.length,e=new Array(d>3?d-3:0),f=3;f=b&&j[a in j?a:"log"](i)};function a(a){g=a}d=c.bind(null,"debug",b.DEBUG);e=c.bind(null,"info",b.INFO);var h=c.bind(null,"warn",b.WARNING),i=c.bind(null,"error",b.ERROR);f.Level=b;f.log=c;f.setLevel=a;f.debug=d;f.info=e;f.warn=h;f.error=i}),66); __d("XHRHttpError",[],(function(a,b,c,d,e,f){"use strict";var g="HTTP_CLIENT_ERROR",h="HTTP_PROXY_ERROR",i="HTTP_SERVER_ERROR",j="HTTP_TRANSPORT_ERROR",k="HTTP_UNKNOWN_ERROR";function a(a,b){if(b===0){a=a.getProtocol();return a==="file"||a==="ftp"?null:j}else if(b>=100&&b<200)return h;else if(b>=200&&b<300)return null;else if(b>=400&&b<500)return g;else if(b>=500&&b<600)return i;else if(b>=12001&&b<12156)return j;else return k}f.HTTP_CLIENT_ERROR=g;f.HTTP_PROXY_ERROR=h;f.HTTP_SERVER_ERROR=i;f.HTTP_TRANSPORT_ERROR=j;f.HTTP_UNKNOWN_ERROR=k;f.getErrorCode=a}),66); __d("getCrossOriginTransport",["invariant","ExecutionEnvironment","err"],(function(a,b,c,d,e,f,g){var h;function i(){if(!(h||(h=b("ExecutionEnvironment"))).canUseDOM)throw b("err")("getCrossOriginTransport: %s","Cross origin transport unavailable in the server environment.");try{var a=new XMLHttpRequest();!("withCredentials"in a)&&typeof XDomainRequest!=="undefined"&&(a=new XDomainRequest());return a}catch(a){throw b("err")("getCrossOriginTransport: %s",a.message)}}i.withCredentials=function(){var a=i();"withCredentials"in a||g(0,5150);var b=a.open;a.open=function(){b.apply(this,arguments),this.withCredentials=!0};return a};e.exports=i}),null); __d("ZeroRewrites",["URI","ZeroRewriteRules","getCrossOriginTransport","getSameOriginTransport","isFacebookURI"],(function(a,b,c,d,e,f){var g,h={rewriteURI:function(a){if(!b("isFacebookURI")(a)||h._isWhitelisted(a))return a;var c=h._getRewrittenSubdomain(a);c!==null&&c!==void 0&&(a=a.setSubdomain(c));return a},getTransportBuilderForURI:function(a){return h.isRewritten(a)?b("getCrossOriginTransport").withCredentials:b("getSameOriginTransport")},isRewriteSafe:function(a){if(Object.keys(b("ZeroRewriteRules").rewrite_rules).length===0||!b("isFacebookURI")(a))return!1;var c=h._getCurrentURI().getDomain(),d=new(g||(g=b("URI")))(a).qualify().getDomain();return c===d||h.isRewritten(a)},isRewritten:function(a){a=a.getQualifiedURI();if(Object.keys(b("ZeroRewriteRules").rewrite_rules).length===0||!b("isFacebookURI")(a)||h._isWhitelisted(a))return!1;var c=a.getSubdomain(),d=h._getCurrentURI(),e=h._getRewrittenSubdomain(d);return a.getDomain()!==d.getDomain()&&c===e},_isWhitelisted:function(a){a=a.getPath();a.endsWith("/")||(a+="/");return b("ZeroRewriteRules").whitelist&&b("ZeroRewriteRules").whitelist[a]===1},_getRewrittenSubdomain:function(a){a=a.getQualifiedURI().getSubdomain();return b("ZeroRewriteRules").rewrite_rules[a]},_getCurrentURI:function(){return new(g||(g=b("URI")))("/").qualify()}};e.exports=h}),null); __d("BDHeaderConfig",[],(function(a,b,c,d,e,f){"use strict";a="129477";f.ASBD_ID=a}),66); __d("getAsyncHeaders",["BDHeaderConfig","LSD","ZeroCategoryHeader","isFacebookURI"],(function(a,b,c,d,e,f,g){function a(a){var b={},d=c("isFacebookURI")(a);d&&c("ZeroCategoryHeader").value&&(b[c("ZeroCategoryHeader").header]=c("ZeroCategoryHeader").value);d=h(a);d&&(b["X-FB-LSD"]=d);d=i(a);d&&(b["X-ASBD-ID"]=d);return b}function h(a){return j(a)?null:c("LSD").token}function i(a){return j(a)?null:d("BDHeaderConfig").ASBD_ID}function j(a){return!a.toString().startsWith("/")&&a.getOrigin()!==document.location.origin}g["default"]=a}),98); __d("xhrSimpleDataSerializer",[],(function(a,b,c,d,e,f){"use strict";function a(a){var b=[];for(var c in a)b.push(encodeURIComponent(c)+"="+encodeURIComponent(a[c]));return b.join("&")}f["default"]=a}),66); __d("XHRRequest",["invariant","DTSGUtils","Env","ErrorGuard","FBLogger","LSD","Log","NetworkStatus","ResourceTimingsStore","ResourceTypes","SprinkleConfig","TimeSlice","URI","XHRHttpError","ZeroRewrites","cr:8959","cr:8960","fb-error","getAsyncHeaders","xhrSimpleDataSerializer"],(function(a,b,c,d,e,f,g){var h,i,j,k=b("fb-error").ErrorXFBDebug,l=!1,m={loadedBytes:0,totalBytes:0};function n(a){return b("ZeroRewrites").rewriteURI(new(h||(h=b("URI")))(a))}a=function(){"use strict";function a(a){this.$3=function(){return null},this.$19=n(a),this.$7="POST",this.$6={},this.setResponseType(null),this.setTransportBuilder(b("ZeroRewrites").getTransportBuilderForURI(this.getURI())),this.setDataSerializer(b("xhrSimpleDataSerializer")),this.$11=b("ResourceTimingsStore").getUID(b("ResourceTypes").XHR,a!=null?a.toString():"")}var c=a.prototype;c.setURI=function(a){this.$19=n(a);return this};c.getURI=function(){return this.$19};c.setResponseType=function(a){this.$13=a;return this};c.setMethod=function(a){this.$7=a;return this};c.getMethod=function(){return this.$7};c.setData=function(a){this.$2=a;return this};c.getData=function(){return this.$2};c.setRawData=function(a){this.$10=a;return this};c.setRequestHeader=function(a,b){this.$6[a]=b;return this};c.setTimeout=function(a){this.$14=a;return this};c.getTimeout=function(){return this.$14};c.setResponseHandler=function(a){this.$12=a;return this};c.getResponseHandler=function(){return this.$12};c.setErrorHandler=function(a){this.$5=a;return this};c.getErrorHandler=function(){return this.$5};c.setNetworkFailureHandler=function(a){this.$8=a;return this};c.getNetworkFailureHandler=function(){return this.$8};c.getResponseHeader=function(a){var b=this.$9;return b?b.getResponseHeader(a):null};c.setAbortHandler=function(a){this.$1=a;return this};c.getAbortHandler=function(){return this.$1};c.setTimeoutHandler=function(a){this.$15=a;return this};c.getTimeoutHandler=function(){return this.$15};c.setUploadProgressHandler=function(a){this.$18=a;return this};c.setDownloadProgressHandler=function(a){this.$4=a;return this};c.setTransportBuilder=function(a){!this.$17||!b("ZeroRewrites").isRewritten(this.$19)?this.$17=a:b("FBLogger")("iorg-FOS").blameToPreviousFile().mustfix("can not set new TransportBuilder for the request %s",String(this.getURI()));return this};c.setDataSerializer=function(a){this.$3=a;return this};c.setWithCredentials=function(a){this.$20=a;return this};c.send=function(){var a=this.$14,c=this.$17;if(!c)return;var d=c();c=this.getURI();if(c.toString().includes("/../")||c.toString().includes("/..\\")||c.toString().includes("\\../")||c.toString().includes("\\..\\")){b("Log").error("XHRRequest.send(): path traversal is not allowed.");return!1}if(l===!0)return;var e=new(h||(h=b("URI")))(c).getQualifiedURI().toString(),f=this.$11;b("ResourceTimingsStore").updateURI(b("ResourceTypes").XHR,f,e);b("ResourceTimingsStore").measureRequestSent(b("ResourceTypes").XHR,f);this.$9=d;this.$7==="POST"||!this.$10||g(0,2346,this.$10,c);e=(i||(i=b("Env"))).force_param;e&&(this.$2=babelHelpers["extends"]({},this.getData()||{},e));if(this.$7==="GET"&&b("DTSGUtils").shouldAppendToken(c)){e=b("cr:8960").getCachedToken?b("cr:8960").getCachedToken():b("cr:8960").getToken();e&&(this.$2?this.$2.fb_dtsg_ag=e:this.$2={fb_dtsg_ag:e},b("SprinkleConfig").param_name&&(this.$2[b("SprinkleConfig").param_name]=b("DTSGUtils").getNumericValue(e)))}if(this.$7==="POST"&&b("DTSGUtils").shouldAppendToken(c)){e=b("cr:8959").getCachedToken?b("cr:8959").getCachedToken():b("cr:8959").getToken();e&&(this.$2?this.$2.fb_dtsg=e:this.$2={fb_dtsg:e},b("SprinkleConfig").param_name&&(this.$2[b("SprinkleConfig").param_name]=b("DTSGUtils").getNumericValue(e)));b("LSD").token&&(this.$2?this.$2.lsd=b("LSD").token:this.$2={lsd:b("LSD").token},b("SprinkleConfig").param_name&&!e&&(this.$2[b("SprinkleConfig").param_name]=b("DTSGUtils").getNumericValue(b("LSD").token)))}this.$7==="GET"||this.$10?(c.addQueryData(this.$2),e=this.$10):e=this.$3(this.$2);function j(a){b("ResourceTimingsStore").measureResponseReceived(b("ResourceTypes").XHR,f);for(var c=arguments.length,d=new Array(c>1?c-1:0),e=1;e1?b-1:0),d=1;d=2){var g=f===4;g&&k.addFromXHR(e);var h=c.getURI();h=b("XHRHttpError").getErrorCode(h,e.status);var i=c.$12;if(h!=null){if(g){var l={errorCode:h,errorMsg:c.$28(e),errorRawTransport:e.constructor.name,errorRawTransportStatus:e.status,errorRawResponseHeaders:i&&i.includeHeaders?e.getAllResponseHeaders():null,errorType:e.status?"HTTP "+e.status:"HTTP"};c.$5?(j||(j=b("ErrorGuard"))).applyWithGuard(a.bind(void 0,c.$5),null,[l],{name:"XHRRequest:_errorHandler"}):a(function(){})}}else if(i){if(g||i.parseStreaming&&f===3){l=g?a:d;f=(i==null?void 0:i.includeHeaders)?e.getAllResponseHeaders():null;(j||(j=b("ErrorGuard"))).applyWithGuard(l.bind(void 0,i),null,[c.$28(e),f,g],{name:"XHRRequest:handler"})}}else g&&a(function(){});g&&(h!="HTTP_TRANSPORT_ERROR"&&b("NetworkStatus").reportSuccess(),c.$27())}}};c.$23=function(a){m.loadedBytes=a.loaded,m.totalBytes=a.total,this.$18&&(j||(j=b("ErrorGuard"))).applyWithGuard(this.$18,null,[m],{name:"XHRRequest:_uploadProgressHandler"})};c.$24=function(a){a={loadedBytes:a.loaded,totalBytes:a.total};this.$4&&(j||(j=b("ErrorGuard"))).applyWithGuard(this.$4,null,[a],{name:"XHRRequest:_downloadProgressHandler"})};c.$27=function(){clearTimeout(this.$16),delete this.$9};a.disable=function(){l=!0};return a}();e.exports=a}),null); __d("Banzai",["cr:7383"],(function(a,b,c,d,e,f,g){g["default"]=b("cr:7383")}),98); __d("JstlMigrationFalcoEvent",["FalcoLoggerInternal","getFalcoLogPolicy_DO_NOT_USE"],(function(a,b,c,d,e,f,g){"use strict";a=c("getFalcoLogPolicy_DO_NOT_USE")("1814852");b=d("FalcoLoggerInternal").create("jstl_migration",a);e=b;g["default"]=e}),98); __d("getDataWithLoggerOptions",[],(function(a,b,c,d,e,f){"use strict";function a(a,b){return babelHelpers["extends"]({},a,{__options:babelHelpers["extends"]({event_time:Date.now()/1e3},b)})}f["default"]=a}),66); __d("generateLiteTypedLogger",["Banzai","JstlMigrationFalcoEvent","getDataWithLoggerOptions"],(function(a,b,c,d,e,f,g){"use strict";function h(a,b,d){var e=a.split(":")[0],f=a.split(":")[1];e=="logger"?c("JstlMigrationFalcoEvent").log(function(){return{logger_config_name:f,payload:b}}):c("Banzai").post(a,b,d)}function a(a){return{log:function(b,d){h(a,c("getDataWithLoggerOptions")(b,d),c("Banzai").BASIC)},logVital:function(b,d){h(a,c("getDataWithLoggerOptions")(b,d),c("Banzai").VITAL)},logImmediately:function(b,d){h(a,c("getDataWithLoggerOptions")(b,d),{signal:!0})}}}g["default"]=a}),98); __d("RDRequireDeferredReference",["RequireDeferredReference"],(function(a,b,c,d,e,f,g){"use strict";a=function(a){babelHelpers.inheritsLoose(b,a);function b(){return a.apply(this,arguments)||this}b.disableForSSR_DO_NOT_USE=function(){this.$RDRequireDeferredReference1=!1};var c=b.prototype;c.isAvailableInSSR_DO_NOT_USE=function(){return this.constructor.$RDRequireDeferredReference1};return b}(c("RequireDeferredReference"));a.$RDRequireDeferredReference1=!0;g["default"]=a}),98); __d("requireDeferred",["RDRequireDeferredReference"],(function(a,b,c,d,e,f,g){"use strict";var h={};function i(a,b){h[a]=b}function j(a){return h[a]}function a(a){var b=j(a);if(b)return b;b=new(c("RDRequireDeferredReference"))(a);i(a,b);return b}g["default"]=a}),98); __d("CookieStore",["CookieCoreLoggingConfig","FBLogger","Random","gkx","performanceNow"],(function(a,b,c,d,e,f,g){"use strict";var h,i=window.I_AM_CORE_COOKIE_INFRASTRUCTURE_AND_NEED_TO_ACCESS_COOKIES!=null?window.I_AM_CORE_COOKIE_INFRASTRUCTURE_AND_NEED_TO_ACCESS_COOKIES():null,j={set:function(a){document.cookie=a},get:function(){return document.cookie}};function k(){return i!=null?i:j}function l(a,b,c,d,e,f,g,h){return b+"="+encodeURIComponent(c)+"; "+(f!==0&&f!==void 0&&f!==null?"expires="+new Date(a+f).toUTCString()+"; ":"")+"path="+d+"; domain="+e+(g?"; secure":"")+(h?"; SameSite="+h:"")}function m(a,b,c){return a+"=; expires=Thu, 01-Jan-1970 00:00:01 GMT; path="+b+"; domain="+c}function n(){if(c("CookieCoreLoggingConfig").sampleRate>0){var a=(h||(h=c("performanceNow")))(),b=k().get();a=h()-a;var d=a>c("CookieCoreLoggingConfig").maximumIgnorableStallMs&&c("Random").coinflip(1/c("CookieCoreLoggingConfig").sampleRate);d&&c("FBLogger")("cookie_infra").addMetadata("COOKIE_INFRA","WALL_TIME",String(a)).warn("Cookie read exceeded %s milliseconds.",c("CookieCoreLoggingConfig").maximumIgnorableStallMs);return b}else return k().get()}var o=function(){function a(){this.$1=0}var b=a.prototype;b.setCookie=function(a,b,c,d,e,f,g,h){k().set(l(a,b,c,d,e,f,g,h))};b.clearCookie=function(a,b,c){k().set(m(a,b,c))};b.getCookie=function(a){var b;this.$1++;b=(b=n())==null?void 0:b.match("(?:^|;\\s*)"+a+"=(.*?)(?:;|$)");return b?decodeURIComponent(b[1]):null};return a}(),p=10*1e3,q=function(){function a(){this.$1={},this.$2=0,this.$3=0,this.$4=0}var b=a.prototype;b.setCookie=function(a,b,c,d,e,f,g,h){k().set(l(a,b,c,d,e,f,g,h)),this.$1[b]={value:c,updated:a}};b.clearCookie=function(a,b,c){k().set(m(a,b,c)),this.$1[a]={value:null,updated:Date.now()}};b.getCookie=function(a){a=this.$5(a);a=a.cookie;return a};b.$5=function(a){var b=Date.now(),c=this.$1[a];if(!c){if(this.$2+p=a.length)break;d=a[c++]}else{c=a.next();if(c.done)break;d=c.value}d=d;d=d.match("\\s*([^=]+)=(.*)");if(!d)continue;this.$1[d[1]]={value:decodeURIComponent(d[2]),updated:this.$2}}};return a}();function a(){return c("gkx")("676837")?new q():new o()}g.newCookieStore=a;g.CookieCacheForTest=q;g.CookieStoreSlowForTest=o}),98); __d("CookieCore",["CookieCoreConfig","CookieDomain","CookieStore"],(function(a,b,c,d,e,f,g){var h=/_js_(.*)/,i;function j(){i||(i=d("CookieStore").newCookieStore());return i}function k(){return"."+c("CookieDomain").domain}function l(a){return window.self!==window.top?!1:!0}function m(a,b){if(!r(a))return;n(a,b,t(a),u(a),s(a),v(a))}function a(a,b,c){if(!r(a))return;n(a,b,t(a),u(a),s(a),v(a),c)}function n(a,b,c,d,e,f,g){var h=Date.now();if(c!=null)if(c>h)c-=h;else if(c===1){o(a,d,g);return}j().setCookie(h,a,b,d,(h=g)!=null?h:k(),c,e,f)}function b(a,b){if(!l(a))return;m(a,b)}function e(a,b,c,d,e,f){if(!l(a))return;n(a,b,c,d,e,null,f)}function o(a,b,c){b===void 0&&(b="/");b=b||"/";j().clearCookie(a,b,(a=c)!=null?a:k())}function f(a){return!r(a)?null:j().getCookie(a)}function p(a){return{insecure:a.i||!1,path:a.p||"/",ttlSeconds:a.t||0,sameSite:a.s||"None"}}function q(a){if(c("CookieCoreConfig")[a]!==void 0)return p(c("CookieCoreConfig")[a]);a=a.match(h);return a&&a.length>1?q(a[1]):null}function r(a){return q(a)!==null}function s(a){a=q(a);return a==null?!0:!a.insecure}function t(a){a=q(a);return a==null?null:a.ttlSeconds*1e3}function u(a){a=q(a);return a==null?"/":a.path}function v(a){a=q(a);return a==null||a.sameSite==null?null:a.sameSite}g.set=m;g.setWithDomain_FOR_MESSENGER_LS_ONLY=a;g.setWithoutChecks=n;g.setIfFirstPartyContext=b;g.setWithoutChecksIfFirstPartyContext=e;g.clear=o;g.get=f}),98); __d("Cookie",["CookieConsent","CookieCore","InitialCookieConsent","ODS"],(function(a,b,c,d,e,f,g){var h,i,j;function k(a){if(!(j||(j=c("CookieConsent"))).hasConsent(1)){(h||(h=d("ODS"))).bumpEntityKey(798,"defer_cookies","set."+a);return!1}return!0}function l(){return!(i||(i=c("InitialCookieConsent"))).noCookies}function a(a,b){if(!l()||!k(a))return;d("CookieCore").set(a,b)}function b(a,b){if(!l())return;d("CookieCore").set(a,b)}function e(a,b,c,e,f,g){if(!l()||!k(a))return;d("CookieCore").setWithoutChecks(a,b,c,e,f,null,g)}a={clear:(f=d("CookieCore")).clear,get:f.get,set:a,setIfFirstPartyContext:f.setIfFirstPartyContext,setWithoutCheckingUserConsent_DANGEROUS:b,setWithoutChecks:e,setWithoutChecksIfFirstPartyContext:f.setWithoutChecksIfFirstPartyContext};g["default"]=a}),98); __d("USIDFlag",["$InternalEnum"],(function(a,b,c,d,e,f){a=b("$InternalEnum")({HTTP_HEADER_SESSION:"HH",LOCAL_STORAGE_FAILURE:"LSF",SERVER_GENERATED_SESSION:"SGS",SERVER_PARSE_FAILURE:"SPF",SESSION_STORAGE_FAILURE:"SSF",UNKNOWN_VERSION_FAILURE:"UVF",UNKOWN_DATA_FAILURE:"UDF"});c=a;f["default"]=c}),66); __d("USIDUtils",["Cookie","Random","WebStorage"],(function(a,b,c,d,e,f,g){"use strict";var h,i=4294967295,j=36,k="usidt",l="usida",m=1,n=6;function a(){var a=[];(h||(h=c("WebStorage"))).isLocalStorageQuotaExceeded()&&a.push("LSF");(h||(h=c("WebStorage"))).isSessionStorageQuotaExceeded()&&a.push("SSF");return a}function o(a){var b=Math.floor(Date.now()/1e3),c=Math.floor(d("Random").random()*i);a=a+Number(b&i).toString(j)+c.toString(j);return a}function p(a,b,c){if(a==null)return{ver:m,id:o(c)};a=a.getItem(b);if(a==null)return{ver:m,id:o(c)};b=JSON.parse(a);return b.ver!==m?{ver:m,id:o(c)}:b}function q(a,b,d){if(a==null)return;(h||(h=c("WebStorage"))).setItemGuarded(a,b,JSON.stringify(d))}function r(a,b){if(c("Cookie")==null)return{ver:m,id:o(b)};a=c("Cookie").get(a);if(a==null||a=="")return{ver:m,id:o(b)};var d;try{d=JSON.parse(a)}catch(b){d=JSON.parse(atob(a))}return d.ver!==m?{ver:m,id:o(b)}:d}function s(a,b){if(c("Cookie")==null)return;c("Cookie").set(a,btoa(JSON.stringify(b)))}function b(){var a=p((h||(h=c("WebStorage"))).getSessionStorageForRead(),k,"T");return a.id}function e(a){q((h||(h=c("WebStorage"))).getSessionStorage(),k,{ver:m,id:a})}function t(){var a,b=r(l,"A");return{id:b.id,time:(a=b.time)!=null?a:0,startTime:(a=b.startTime)!=null?a:0}}function f(a){s(l,{ver:m,id:a.id,time:a.time});var b=t();return b.id===a.id&&b.time===a.time}g.VERSION=n;g.getFlags=a;g.generateId=o;g.getExistingTabId=b;g.writeTabId=e;g.getExistingActivityInfo=t;g.writeActivityInfo=f}),98); __d("USIDCore",["DateConsts","USIDUtils","asyncParams"],(function(a,b,c,d,e,f,g){"use strict";var h=30,i=d("DateConsts").MIN_PER_HOUR*5,j=2,k="__usid";function l(){return Math.floor(Date.now()/d("DateConsts").MS_PER_SEC)}a=function(){function a(a,b,c,e,f,g){this.$1=a;this.$2=b;this.$3=c;this.$8=e;this.$9=f;this.$4=g.activityTrigger;this.$5=((b=g.activityTimeoutInMin)!=null?b:h)*60;this.$6=((c=g.activityMaxTimeInMin)!=null?c:i)*60;this.$7=((e=g.activityCacheTimeoutInMin)!=null?e:j)*60;this.$10=0;d("USIDUtils").writeTabId(a);this.triggerActivity()}var b=a.prototype;b.getFlags=function(){return this.$9};b.getRequestVersion=function(){return this.$8};b.getSessionVersion=function(){return d("USIDUtils").VERSION};b.getTabId=function(){return this.$1};b.getPageId=function(){return this.$2};b.getTransitionId=function(){return this.$3};b.getActivityId=function(){var a=this.$11();return a.id};b.getActivityTimeOut=function(){var a=d("USIDUtils").getExistingActivityInfo(),b=l();return this.$5-(b-a.time)};b.getActivityMaxTime=function(){var a=d("USIDUtils").getExistingActivityInfo(),b=l();return this.$6-(b-a.startTime)};b.getSessionID=function(){return this.getTabId()+":"+this.getPageId()+":"+this.getTransitionId()+"-"+this.getActivityId()};b.serializeForRequest=function(){this.$4==="request"&&this.triggerActivity();return this.$12()};b.$12=function(){var a=this.getSessionVersion(),b=this.getSessionID(),c=this.getRequestVersion(),d=this.getFlags().join(",");return a+"-"+b+"-RV="+c+":F="+d};b.contextData=function(){return{usid_override:""}};b.$11=function(){var a=d("USIDUtils").getExistingActivityInfo(),b=this.$13(a);b&&this.$14(a);return a};b.$14=function(a){a=d("USIDUtils").writeActivityInfo(a);a&&d("asyncParams").add(k,this.$12())};b.$13=function(a){var b=l();if(b-a.time>this.$5){a.id=d("USIDUtils").generateId("A");a.time=b;a.startTime=b;return!0}return!1};b.triggerActivity=function(){var a=l();if(a-this.$10>this.$7){var b=this.$11();b.time=a;this.$14(b);this.$10=a}};b.nextTransition=function(){this.triggerActivity(),this.$3++};return a}();g["default"]=a}),98); __d("USID",["USIDCore","USIDMetadata","USIDUtils"],(function(a,b,c,d,e,f,g){"use strict";var h=null,i=function(a){if(h!=null)return h;var b=d("USIDUtils").getExistingTabId(),e=c("USIDMetadata").page_id,f=c("USIDMetadata").transition_id,g=c("USIDMetadata").version,i=d("USIDUtils").getFlags();h=new(c("USIDCore"))(b,e,f,g,i,a);return h};a=function(){return i({activityTrigger:"request"})};b={init:i,get:a};g["default"]=b}),98); __d("RDFDRequireDeferredReference",["RequireDeferredReference"],(function(a,b,c,d,e,f,g){"use strict";a=function(a){babelHelpers.inheritsLoose(b,a);function b(){return a.apply(this,arguments)||this}return b}(c("RequireDeferredReference"));g["default"]=a}),98); __d("requireDeferredForDisplay",["RDFDRequireDeferredReference"],(function(a,b,c,d,e,f,g){"use strict";function a(a){return new(c("RDFDRequireDeferredReference"))(a)}g["default"]=a}),98); __d("isHorizonDotMetaDotComURI",[],(function(a,b,c,d,e,f){var g=new RegExp("(^|\\.)horizon\\.meta\\.com$","i"),h=["https"];function a(a){if(a.isEmpty()&&a.toString()!=="#")return!1;return!a.getDomain()&&!a.getProtocol()?!1:h.indexOf(a.getProtocol())!==-1&&g.test(a.getDomain())}f["default"]=a}),66); __d("isWorkroomsDotComURI",[],(function(a,b,c,d,e,f){var g=new RegExp("(^|\\.)workrooms\\.com$","i"),h=["https"];function a(a){if(a.isEmpty()&&a.toString()!=="#")return!1;return!a.getDomain()&&!a.getProtocol()?!1:h.indexOf(a.getProtocol())!==-1&&g.test(a.getDomain())}f["default"]=a}),66); __d("getCometAsyncFetchResponse",["CSRFGuard","CometAsyncFetchError","CometAsyncFetchResponse","ConstUriUtils","DTSG","DTSG_ASYNC","NetworkStatus","PHPQuerySerializer","Promise","XHRRequest","cometAsyncRequestHeaders","getAsyncParams","handleCometErrorCodeSideEffects","isFacebookURI","isHorizonDotMetaDotComURI","isInternalFBURI","isMessengerDotComURI","isWorkDotMetaDotComURI","isWorkplaceDotComURI","isWorkroomsDotComURI","recoverableViolation","setTimeout"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=250;function a(a,e){var f=0,g;return new(i||(i=b("Promise")))(function(b,i){var m,n=function(f,g){if(e.ignoreResponse===!0)return b();var h;f=f.trim();try{d("CSRFGuard").exists(f)&&(f=d("CSRFGuard").clean(f)),h=JSON.parse(f)}catch(b){c("recoverableViolation")('Unable to parse uri "'+a.toString()+'" response. Error: '+(b==null?void 0:b.message)+", response: "+f.substring(0,1e3),"comet_infra");i(b);return}if(l(a)){var j;f=(f=h)==null?void 0:f.dtsgToken;j=(j=h)==null?void 0:j.dtsgAsyncGetToken;f&&d("DTSG").setToken(f);j&&d("DTSG_ASYNC").setToken(j)}if(h.error){c("handleCometErrorCodeSideEffects")(h.error,h.errorSummary,h.errorDescription,h.redirectTo,e.shouldShowErrorDialog);i({error:h.error,errorMsg:h.errorDescription,errorType:h.errorSummary,redirectTo:h.redirectTo});return}return b(new(c("CometAsyncFetchResponse"))(h,g))};n.includeHeaders=!0;function o(a){var b=e.retryCount!=null&&e.retryCount>0&&f<=e.retryCount;if(b)c("setTimeout")(q,j);else{b=new(c("CometAsyncFetchError"))(a.errorMsg,a.errorCode,a.errorRawResponseHeaders,a.errorRawTransport,a.errorType);return i(b)}}function p(){var b=new(c("CometAsyncFetchError"))("Request to "+a+" was aborted",null,null,null,"Abort");return i(b)}function q(){var a;if(((a=e.abortSignal)==null?void 0:a.aborted)===!0)return p();r();s()}function r(){m!=null&&(m.abort(),m=null)}function s(){var b,g=(b=e.requestHeaders)!=null?b:{};Object.assign(g,d("cometAsyncRequestHeaders").getHeaders());b=Object.keys(g).reduce(function(a,b){return a.setRequestHeader(b,g[b])},new(c("XHRRequest"))(a)).setMethod(e.method).setData(babelHelpers["extends"]({},e.data,c("getAsyncParams")(e.method,(b=e.skipSRState)!=null?b:!1))).setRawData(e.formData).setResponseHandler(n).setErrorHandler(o).setAbortHandler(p).setUploadProgressHandler(e.onUploadProgress).setDataSerializer((h||(h=c("PHPQuerySerializer"))).serialize);m=b;e.withCredentials===!0&&k(a)&&b.setWithCredentials(!0);b.send();f++}e.abortSignal&&(e.abortSignal.onabort=function(){r()});c("NetworkStatus").isOnline()?q():g=c("NetworkStatus").onChange(function(a){a=a.online;a&&(q(),g.remove())})})}function k(a){a=d("ConstUriUtils").getUri(a);return a==null?!1:c("isFacebookURI")(a)||c("isInternalFBURI")(a)||c("isMessengerDotComURI")(a)||c("isWorkplaceDotComURI")(a)||c("isWorkroomsDotComURI")(a)||c("isWorkDotMetaDotComURI")(a)||c("isHorizonDotMetaDotComURI")(a)}function l(a){a=d("ConstUriUtils").getUri(a);if(a==null)return!1;return!a.getProtocol()&&!a.getDomain()?!0:document.location.origin===a.getOrigin()}g["default"]=a}),98); __d("cometAsyncFetch",["getCometAsyncFetchResponse"],(function(a,b,c,d,e,f,g){"use strict";function a(a,b){b===void 0&&(b={data:{},method:"GET"});return c("getCometAsyncFetchResponse")(a,b).then(function(a){var c;return((c=b)==null?void 0:c.getFullPayload)===!0?a==null?void 0:a.getFullResponsePayload():a==null?void 0:a.getResponsePayload()})}g["default"]=a}),98); __d("CometEventListener",["unrecoverableViolation"],(function(a,b,c,d,e,f,g){"use strict";function h(a,b,d,e){if(a.addEventListener){a.addEventListener(b,d,e);return{remove:function(){a.removeEventListener(b,d,e)}}}else throw c("unrecoverableViolation")('Attempted to listen to eventType "'+b+'" on a target that does not have addEventListener.',"comet_ui")}a={bubbleWithPassiveFlag:function(a,b,c,d){return h(a,b,c,{capture:!1,passive:d})},capture:function(a,b,c){return h(a,b,c,!0)},captureWithPassiveFlag:function(a,b,c,d){return h(a,b,c,{capture:!0,passive:d})},listen:function(a,b,c){return h(a,b,c,!1)},registerDefault:function(a,b){throw c("unrecoverableViolation")("EventListener.registerDefault is not implemented.","comet_ui")},suppress:function(a){a.preventDefault(),a.stopPropagation()}};g["default"]=a}),98); __d("FBJSON",[],(function(a,b,c,d,e,f){a=JSON.parse;b=JSON.stringify;f.parse=a;f.stringify=b}),66); __d("BlobFactory",["emptyFunction"],(function(a,b,c,d,e,f){var g;function h(){try{new a.Blob(),g=!0}catch(a){g=!1}}var i=a.BlobBuilder||a.WebKitBlobBuilder||a.MozBlobBuilder||a.MSBlobBuilder;a.Blob?c={getBlob:function(b,c){b=b||[];c=c||{};g===void 0&&h();if(g)return new a.Blob(b,c);else{var d=new i();for(var e=0;e0){var e=p(d);a.setTimeout(function(){return y(e)},c.timeout)}return p(d)}function r(a){a=q(a);i[a]=null}function s(){m||(m=!0,c("requestAnimationFramePolyfill")(function(a){m=!1,u((h||(h=c("performanceNow")))()-a)}))}function t(a){var b=n-o;if(ab||al){a=t(a);if(a>0){b=b+a;x(b);l=b}}v()&&s()}function v(){return jc)return c;while(be?b=d:c=d;d=(c-b)/2+b}return d};return a}();f["default"]=a}),66); __d("CurrentUser",["Cookie","CurrentUserInitialData"],(function(a,b,c,d,e,f){var g,h={getID:function(){return(g||(g=b("CurrentUserInitialData"))).USER_ID},getAccountID:function(){return(g||(g=b("CurrentUserInitialData"))).ACCOUNT_ID},getPossiblyNonFacebookUserID:function(){var a;return(a=(g||(g=b("CurrentUserInitialData"))).NON_FACEBOOK_USER_ID)!=null?a:this.getID()},getEIMU:function(){var a;return(a=(g||(g=b("CurrentUserInitialData"))).IG_USER_EIMU)!=null?a:"0"},getEmployeeWorkUserID:function(){return(g||(g=b("CurrentUserInitialData"))).WORK_USER_ID},getName:function(){return(g||(g=b("CurrentUserInitialData"))).NAME},getShortName:function(){return(g||(g=b("CurrentUserInitialData"))).SHORT_NAME},getEPOU:function(){var a;return(a=(g||(g=b("CurrentUserInitialData"))).EPOU_ID)!=null?a:"0"},getEOCPU:function(){var a;return(a=(g||(g=b("CurrentUserInitialData"))).EOCPU_ID)!=null?a:"0"},isLoggedIn:function(){return h.getPossiblyNonFacebookUserID()!=="0"},isLoggedInNow:function(){var a;if(!h.isLoggedIn())return!1;if((g||(g=b("CurrentUserInitialData"))).IS_INTERN_SITE)return!0;if((g||(g=b("CurrentUserInitialData"))).IS_WORK_USER||(g||(g=b("CurrentUserInitialData"))).IS_WORKROOMS_USER||(g||(g=b("CurrentUserInitialData"))).IS_WORK_MESSENGER_CALL_GUEST_USER||(g||(g=b("CurrentUserInitialData"))).IS_TOGETHER_APP_USER||(g||(g=b("CurrentUserInitialData"))).IS_ENTERPRISE_USER||(g||(g=b("CurrentUserInitialData"))).IS_INSTAGRAM_USER||(g||(g=b("CurrentUserInitialData"))).IS_META_SPARK_USER||(g||(g=b("CurrentUserInitialData"))).IS_IMAGINE_USER)return!0;if((g||(g=b("CurrentUserInitialData"))).ORIGINAL_USER_ID!=null&&(g||(g=b("CurrentUserInitialData"))).ORIGINAL_USER_ID!="")return(g||(g=b("CurrentUserInitialData"))).ORIGINAL_USER_ID===b("Cookie").get("c_user");return(g||(g=b("CurrentUserInitialData"))).IS_BUSINESS_DOMAIN===!0?(g||(g=b("CurrentUserInitialData"))).USER_ID==b("Cookie").get("c_user"):(g||(g=b("CurrentUserInitialData"))).USER_ID===((a=b("Cookie").get("i_user"))!=null?a:b("Cookie").get("c_user"))},isEmployee:function(){return!!(g||(g=b("CurrentUserInitialData"))).IS_EMPLOYEE},isTestUser:function(){return!!(g||(g=b("CurrentUserInitialData"))).IS_TEST_USER},hasWorkUser:function(){return!!(g||(g=b("CurrentUserInitialData"))).HAS_WORK_USER},isWorkUser:function(){return!!(g||(g=b("CurrentUserInitialData"))).IS_WORK_USER},isWorkroomsUser:function(){return!!(g||(g=b("CurrentUserInitialData"))).IS_WORKROOMS_USER},isGray:function(){return!!(g||(g=b("CurrentUserInitialData"))).IS_GRAY},isUnderage:function(){return!!(g||(g=b("CurrentUserInitialData"))).IS_UNDERAGE},isMessengerOnlyUser:function(){return!!(g||(g=b("CurrentUserInitialData"))).IS_MESSENGER_ONLY_USER},isDeactivatedAllowedOnMessenger:function(){return!!(g||(g=b("CurrentUserInitialData"))).IS_DEACTIVATED_ALLOWED_ON_MESSENGER},isMessengerCallGuestUser:function(){return!!(g||(g=b("CurrentUserInitialData"))).IS_MESSENGER_CALL_GUEST_USER},isBusinessPersonAccount:function(){return(g||(g=b("CurrentUserInitialData"))).IS_BUSINESS_PERSON_ACCOUNT},hasSecondaryBusinessPerson:function(){return(g||(g=b("CurrentUserInitialData"))).HAS_SECONDARY_BUSINESS_PERSON},getAppID:function(){return(g||(g=b("CurrentUserInitialData"))).APP_ID},isFacebookWorkAccount:function(){return(g||(g=b("CurrentUserInitialData"))).IS_FACEBOOK_WORK_ACCOUNT},getPageMessagingMailboxId:function(){var a;return String((a=(g||(g=b("CurrentUserInitialData"))).PAGE_MESSAGING_MAILBOX_ID)!=null?a:"0")}};e.exports=h}),null); __d("MetaConfig",["invariant","BanzaiLazyQueue","ExecutionEnvironment","MetaConfigMap"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j={};a={_:function(a){var b=c("MetaConfigMap").get(a);b!=null||h(0,57910,a);var e=b.value;b=b.log_id;b!=null&&j[a]!==!0&&((i||(i=c("ExecutionEnvironment"))).isInBrowser&&d("BanzaiLazyQueue").queuePost("metaconfig_exposure",{identifier:a,log_id:b}),j[a]=!0);return e}};b=a;g["default"]=b}),98); __d("FbtLogging",["cr:1094907"],(function(a,b,c,d,e,f,g){"use strict";a=b("cr:1094907")==null?void 0:b("cr:1094907").logImpression;g.logImpression=a}),98); __d("CometSuspenseFalcoEvent",["FalcoLoggerInternal","getFalcoLogPolicy_DO_NOT_USE"],(function(a,b,c,d,e,f,g){"use strict";a=c("getFalcoLogPolicy_DO_NOT_USE")("1828945");b=d("FalcoLoggerInternal").create("comet_suspense",a);e=b;g["default"]=e}),98); __d("IntlQtEventFalcoEvent",["FalcoLoggerInternal","getFalcoLogPolicy_DO_NOT_USE"],(function(a,b,c,d,e,f,g){"use strict";a=c("getFalcoLogPolicy_DO_NOT_USE")("1848815");b=d("FalcoLoggerInternal").create("intl_qt_event",a);e=b;g["default"]=e}),98); __d("EventListener",["cr:5695"],(function(a,b,c,d,e,f,g){"use strict";g["default"]=b("cr:5695")}),98); __d("BanzaiLogger",["Banzai"],(function(a,b,c,d,e,f,g){function h(a){return{log:function(b,d){c("Banzai").post("logger:"+b,d,a)},create:h}}a=h();b=a;g["default"]=b}),98); __d("once",[],(function(a,b,c,d,e,f){"use strict";function a(a){var b=g(a);for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&(b[c]=a[c]);return b}function g(a){var b=a,c;a=function(){if(b){for(var a=arguments.length,d=new Array(a),e=0;e>>18),g.charCodeAt(a>>>12&63),g.charCodeAt(a>>>6&63),g.charCodeAt(a&63))}var i=">___?456789:;<=_______\0\x01\x02\x03\x04\x05\x06\x07\b\t\n\v\f\r\x0e\x0f\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19______\x1a\x1b\x1c\x1d\x1e\x1f !\"#$%&'()*+,-./0123";function j(a){a=i.charCodeAt(a.charCodeAt(0)-43)<<18|i.charCodeAt(a.charCodeAt(1)-43)<<12|i.charCodeAt(a.charCodeAt(2)-43)<<6|i.charCodeAt(a.charCodeAt(3)-43);return String.fromCharCode(a>>>16,a>>>8&255,a&255)}var k={encode:function(a){a=unescape(encodeURI(a));var b=(a.length+2)%3;a=(a+"\0\0".slice(b)).replace(/[\s\S]{3}/g,h);return a.slice(0,a.length+b-2)+"==".slice(b)},decode:function(a){a=a.replace(/[^A-Za-z0-9+\/]/g,"");var b=a.length+3&3;a=(a+"AAA".slice(b)).replace(/..../g,j);a=a.slice(0,a.length+b-3);try{return decodeURIComponent(escape(a))}catch(a){throw new Error("Not valid UTF-8")}},encodeObject:function(a){return k.encode(JSON.stringify(a))},decodeObject:function(a){return JSON.parse(k.decode(a))},encodeNums:function(a){return String.fromCharCode.apply(String,a.map(function(a){return g.charCodeAt((a|-(a>63?1:0))&-(a>0?1:0)&63)}))}};a=k;f["default"]=a}),66); __d("LogHistory",[],(function(a,b,c,d,e,f){var g=500,h={},i=[];function j(a,b,c,d){var e=d[0];if(typeof e!=="string"||d.length!==1)return;i.push({date:Date.now(),level:a,category:b,event:c,args:e});i.length>g&&i.shift()}var k=function(){function a(a){this.category=a}var b=a.prototype;b.debug=function(a){for(var b=arguments.length,c=new Array(b>1?b-1:0),d=1;d1?b-1:0),d=1;d1?b-1:0),d=1;d1?b-1:0),d=1;d0||c!==null&&c.length>0||a!==null}function n(a){var b=c("first")(Object.keys(l).filter(function(b){return a.getDomain().endsWith(b)}));b=b!=null?l[b]:null;return b==null?null:c("first")(c("compactArray")(b.map(function(b){var c=b.extractor(a);return c==null?null:{injector:b.injector,uri:c}})))}function o(a){return!c("isFacebookURI")(a)&&!c("isFacebookSVDomainURI")(a)&&!c("isCdnURI")(a)&&!c("isFbDotComURI")(a)&&m(a)&&j(a)&&!p(a)}function p(a){var b=c("isClickIDBlacklistSVDomainURI")(a);if(b)return!0;b=n(a);return b!=null?p(b.uri):!1}function q(a,b){var c=n(a);return c!=null?c.injector(a,c.uri,b):a.addQueryData(k,b)}function a(a,b){return o(a)?q(a,b):a}g.QUERY_PARAM=k;g.appendClickIDQueryParam=a}),98); __d("Href",[],(function(a,b,c,d,e,f){"use strict";function a(a){if(typeof a==="object"&&a!=null&&a.url!=null)return{type:"legacy",value:a};else return{type:"modern",value:a}}f.getTypedHref=a}),66); __d("Link.react",["AbstractLink.react","ClickIDParameterUtils","Href","LinkshimHandlerConfig","Random","URI","isLinkshimURI","isTrustedDestination","killswitch","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=i||d("react");function k(a){return a.getDomain().endsWith(".onion")}var l=/^(#|\/\w)/;function m(a){if(l.test(a.toString()))return!1;var b=a.getProtocol();return b!=="http"&&b!=="https"?!1:!c("isTrustedDestination")(a)}function n(a){var b="#",e=null;if(a!=null){a=d("Href").getTypedHref(a);a.type==="legacy"?(b=a.value.url.toString(),e=a.value.shimhash?a.value.shimhash.toString():e):typeof a.value==="string"?a.value!==""&&a.value!=="#"&&(b=a.value):b=a.value.toString()}return(h||(h=c("URI"))).isValidURI(b)?[new(h||(h=c("URI")))(b),e]:[null,e]}var o=new RegExp("^(l|lm|h)\\..*$","i");function p(a){if(c("killswitch")("LINK_UPGRADE_UNSHIMMED_JS"))return null;if(a.getProtocol()!=="http")return null;if(!c("isTrustedDestination")(a))return null;return o.test(a.getDomain())?null:a.setProtocol("https")}function q(a){return a.getProtocol()===""||a.getDomain()===""&&a.getPort()===""?!1:!0}function r(a){if(!q(a))return!1;var b=c("LinkshimHandlerConfig").current_domain;if(b===""){b="."+b;return a.getDomain().endsWith(b)}return!0}function s(a,b){var d=null,e=!1;a=a!==null&&a instanceof(h||(h=c("URI")))?a:new(h||(h=c("URI")))("#");var f=r(a),g=f===!0;b=b||(f===!0?"_blank":null);var i=c("LinkshimHandlerConfig").use_rel_no_referrer&&b==="_blank";return[a,g,i,b,d,e,f]}function t(a,b,e,f){if(a!==null&&a instanceof(h||(h=c("URI")))){if(!c("killswitch")("LINK_PARSES_SHIMHASH_FROM_LINKSHIM")&&c("isLinkshimURI")(a)){var g=a.getQueryData()[c("LinkshimHandlerConfig").linkshim_url_param],i=a.getQueryData()[c("LinkshimHandlerConfig").linkshim_enc_param];(h||(h=c("URI"))).isValidURI(g)&&(a=new(h||(h=c("URI")))(g),b==null&&(b=i))}g=c("LinkshimHandlerConfig").click_ids;if(!c("killswitch")("LINKSHIM_ADD_CLICK_ID_PARAM")&&g!=null&&g.length>0){i=Math.floor(c("Random").random()*g.length);g=g[i];a=d("ClickIDParameterUtils").appendClickIDQueryParam(a,g)}}else a=new(h||(h=c("URI")))("#");b==null&&m(a)&&(b=c("LinkshimHandlerConfig").link_react_default_hash);i=p(a);i!=null&&(a=i);g=b!=null;i=e||(b!==null?"_blank":null);e=!!f;c("LinkshimHandlerConfig").onion_always_shim&&k(a)&&(e=!1);f=c("LinkshimHandlerConfig").use_rel_no_referrer&&b!==null&&i==="_blank";var j=r(a);return[a,g,f,i,b,e,j]}a=function(a){babelHelpers.inheritsLoose(b,a);function b(){return a.apply(this,arguments)||this}var d=b.prototype;d.render=function(){var a=this.props;a.allowunsafehref;var b=a.s,d=a.href,e=a.linkRef,f=a.target;a=babelHelpers.objectWithoutPropertiesLoose(a,["allowunsafehref","s","href","linkRef","target"]);d=n(d);var g=d[0];d=d[1];d=c("LinkshimHandlerConfig").is_linkshim_supported?t(g,d,f,b):s(g,f);b=d[0];g=d[1];f=d[2];var h=d[3],i=d[4],k=d[5];d=d[6];var l=null;!c("LinkshimHandlerConfig").is_linkshim_supported&&d&&(l=c("LinkshimHandlerConfig").non_linkshim_lnfb_mode);return j.jsx(c("AbstractLink.react"),babelHelpers["extends"]({},a,{href:b,linkRef:e,nofollow:g,noreferrer:f,shimhash:i,target:h,isSafeToSkipShim:k,dataLnfbMode:l,isLinkshimSupported:c("LinkshimHandlerConfig").is_linkshim_supported}))};return b}(j.Component);g["default"]=a}),98); __d("CookieConsentDialogFalcoEvent",["FalcoLoggerInternal","getFalcoLogPolicy_DO_NOT_USE"],(function(a,b,c,d,e,f,g){"use strict";a=c("getFalcoLogPolicy_DO_NOT_USE")("1746397");b=d("FalcoLoggerInternal").create("cookie_consent_dialog",a);e=b;g["default"]=e}),98); __d("CometCookieConsentDialogFalcoEvent",["CookieConsentDialogFalcoEvent"],(function(a,b,c,d,e,f,g){"use strict";a={log:function(a,b){c("CookieConsentDialogFalcoEvent").log(function(){return{cookie_banner_type:"blocking_cookie_banner",event:a,product:"Facebook Comet",version:b}})}};g.CometCookieConsentDialogFalcoEvent=a}),98); __d("CometCookieConsentLanguagesMenu.entrypoint",["CometCookieConsentLanguagesMenuQuery$Parameters","JSResourceForInteraction"],(function(a,b,c,d,e,f,g){"use strict";a={getPreloadProps:function(a){var b=a.limit;a=a.query;return{queries:{languages:{parameters:c("CometCookieConsentLanguagesMenuQuery$Parameters"),variables:{query:a,suggestedLocaleLimit:b}}}}},root:c("JSResourceForInteraction")("CometCookieConsentLanguagesMenu.react").__setRef("CometCookieConsentLanguagesMenu.entrypoint")};g["default"]=a}),98); __d("IntlLoggedOutLocaleSelectionFalcoEvent",["FalcoLoggerInternal","getFalcoLogPolicy_DO_NOT_USE"],(function(a,b,c,d,e,f,g){"use strict";a=c("getFalcoLogPolicy_DO_NOT_USE")("1444");b=d("FalcoLoggerInternal").create("intl_logged_out_locale_selection",a);e=b;g["default"]=e}),98); __d("LocaleSwitchingReferrers",[],(function(a,b,c,d,e,f){a=Object.freeze({ACCOUNT_CREATOR:"account_creator",ADMIN_TOOL:"admin_tool",AT_WORK_ACCOUNT:"at_work_account_creator",AYMT:"aymt",BRAND_PORTAL_LOCALE_TOGGLE:"brand-portal-locale-toggle",CALIBRA_GLOBAL_SITE_FOOTER:"calibra-global-site-footer",CARRY_LOGOUT_LOGIN:"carry_logout_login",CHECKPOINT:"checkpoint",COMMUNITY_SITE_TRANSLATION_TOGGLE:"community_site_translation_toggle",COVID_HUB_LAUNCH_MANAGER:"covid_hub_launch_manager",FB4B_GLOBAL_SITES_DIALOG:"fb4b_global_sites_dialog",FB4B_GLOBAL_SITES_FOOTER:"fb4b_global_sites_footer",FB4C_GLOBAL_SITE_FOOTER:"fb4c_global_site_footer",FBCOLUMN_FOOTER:"fbcolumn_footer",FBLITE_WEB_LOCALE_SELECTOR:"fblite_web_locale_selector",IG_HC_FOOTER:"ig_hc_footer",IGB_GLOBAL_SITES_FOOTER:"igb_global_sites_footer",LOCALE_SWITCH_SCRIPT:"locale_switch_script",M_BASIC_LOCALE_FOOTER:"m_basic_locale_footer",M_BASIC_LOCALE_SELECTOR:"m_basic_locale_selector",M_TOUCH_LOCALE_SELECTOR:"m_touch_locale_selector",MEDIA_PORTAL_V3_DIALOG:"media_portal_v3_dialog",MOBILE_ACCOUNT_SETTINGS:"mobile_account_settings",MOBILE_CHROME_JP_FOOTER:"mobile_chrome_jp_footer",MOBILE_FB4B_GLOBAL_SITES_FOOTER:"mobile_fb4b_global_sites_footer",MOBILE_FB4B_GLOBAL_SITES_LOCALE_SELECTOR:"mobile_fb4b_global_sites_locale_selector",MOBILE_FB4B_GLOBAL_SITES_PAGE_VIEW:"mobile_fb4b_global_sites_page_view",MOBILE_HELP_CENTER_SEARCH:"mobile_help_center_search",MOBILE_LOCALE_CHANGED_NOTICE:"mobile_locale_changed_notice",MOBILE_LOCALE_LINKS:"mobile_locale_links",MOBILE_REGISTRATION:"mobile_registration",MOBILE_SUGGESTED_LOCALE_SELECTOR:"mobile_suggested_locale_selector",MOBILE_SWITCH_LANGUAGE_HEADER:"mobile_switch_language_header",MOBILE_SWITCH_LANGUAGE_NOTICE:"mobile_switch_language_notice",PAGE_TO_ADDITIONAL_PROFILE_TRANSITION:"page_to_additional_profile_transition",PARTNERSHIPS_MARKETING_SELECTOR:"partnerships-marketing-selector",QP_PROMO:"qp_promo",RLX_PROMPTED_SWITCH_FOLLOWUP_NOTICE:"rlx_prompted_switch_followup_notice",RLX_QP_FORCE_SWITCH:"rlx_qp_force_switch",RLX_QP_MULTI_LANGUAGE:"rlx_qp_multi_language",RLX_QP_PROMPT_SWITCH:"rlx_qp_prompt_switch",SAFETY_CENTER_GLOBAL_SITES_FOOTER:"fbsc_global_sites_footer",SITEMAP:"sitemap",SPANISH_LOCALE_MIGRATION_SCRIPT:"spanish_locale_migration_script",UNIT_TEST:"unit_test",UNKNOWN:"unknown",WORK_ACCOUNTS:"work_accounts",WORK_ACCOUNTS_FOOTER:"work_accounts_footer",WORK_GEMINI_ACCOUNT_SETTING:"work_gemini_account_setting",WORKPLACE_GALAHAD_CHANNEL:"workplace_galahad_channel",WORKPLACE_MARKETING_FOOTER:"workplace_marketing_footer",WORKROOMS_GEMINI_ACCOUNT_SETTING:"workrooms_gemini_account_setting",WORKROOMS_LOCALE_SELECTOR:"workrooms_locale_selector",WWW_ACCOUNT_SETTINGS:"www_account_settings",WWW_CARD_SELECTOR:"www_card_selector",WWW_CARD_SELECTOR_MORE:"www_card_selector_more",WWW_COMET_ACCOUNT_SETTINGS:"www_comet_account_settings",WWW_COMET_CMS_LEGAL_FOOTER:"www_comet_cms_legal_footer",WWW_COMET_LOGGED_OUT_FOOTER:"www_comet_logged_out_footer",WWW_COMET_NAVBAR:"www_comet_navbar",WWW_COMET_UNIFIED_SETTINGS:"www_comet_unified_settings",WWW_COOKIE_CONSENT_PROMPT:"www_cookie_consent_prompt",WWW_DEV_SITE:"www_dev_site",WWW_HELP_INLINE_SELECTOR:"www_help_inline_selector",WWW_I18N_NUB:"www_i18n_nub",WWW_LINK_DIALOG_SELECTOR:"www_link_dialog_selector",WWW_LIST_SELECTOR:"www_list_selector",WWW_LIST_SELECTOR_MORE:"www_list_selector_more",WWW_LOGIN_BLUE_BAR:"www_login_blue_bar_nub",WWW_MANDATORY_LOCALE_SELECTION_POST:"www_mandatory_locale_selection_post",WWW_PRIVACY_CONSENT_PROMPT:"www_privacy_consent_prompt",WWW_TRANS_APP_INCONSISTENT:"www_trans_app_inconsistent",WWW_ULS_PROPAGATION:"www_uls_propagation",WWW_ULS_PROPAGATION_OPT_IN_OBSERVER:"www_uls_propagation_opt_in_observer",WWW_ULS_PROPAGATION_OPT_IN_QP:"www_uls_propagation_opt_in_qp",WWW_ULS_PROPAGATION_OPT_OUT_QP:"www_uls_propagation_opt_out_qp"});f["default"]=a}),66); __d("LocaleSwitchingReferrerEnumUtils.facebook",["$InternalEnumUtils","LocaleSwitchingReferrers"],(function(a,b,c,d,e,f,g){a=d("$InternalEnumUtils").createToJSEnum(c("LocaleSwitchingReferrers"));b=d("$InternalEnumUtils").createFromJSEnum(c("LocaleSwitchingReferrers"));g.toJSEnum=a;g.fromJSEnum=b}),98); __d("IntlLocaleCookieLink",["Cookie","CurrentLocale","IntlLoggedOutLocaleSelectionFalcoEvent","LocaleSwitchingReferrerEnumUtils.facebook"],(function(a,b,c,d,e,f,g){"use strict";function a(a){return function(b){c("Cookie").setWithoutCheckingUserConsent_DANGEROUS("locale",b),c("IntlLoggedOutLocaleSelectionFalcoEvent").log(function(){return{new_locale:b,old_locale:c("CurrentLocale").get(),referrer:d("LocaleSwitchingReferrerEnumUtils.facebook").toJSEnum(a)}})}}g["default"]=a}),98); __d("LocaleSwitchingReferrerEnum.facebook",["$InternalEnum"],(function(a,b,c,d,e,f){a=b("$InternalEnum").Mirrored(["ACCOUNT_CREATOR","ADMIN_TOOL","AT_WORK_ACCOUNT","AYMT","BRAND_PORTAL_LOCALE_TOGGLE","CALIBRA_GLOBAL_SITE_FOOTER","CARRY_LOGOUT_LOGIN","CHECKPOINT","COMMUNITY_SITE_TRANSLATION_TOGGLE","COVID_HUB_LAUNCH_MANAGER","FB4B_GLOBAL_SITES_DIALOG","FB4B_GLOBAL_SITES_FOOTER","FB4C_GLOBAL_SITE_FOOTER","FBCOLUMN_FOOTER","FBLITE_WEB_LOCALE_SELECTOR","IGB_GLOBAL_SITES_FOOTER","IG_HC_FOOTER","LOCALE_SWITCH_SCRIPT","MEDIA_PORTAL_V3_DIALOG","MOBILE_ACCOUNT_SETTINGS","MOBILE_CHROME_JP_FOOTER","MOBILE_FB4B_GLOBAL_SITES_FOOTER","MOBILE_FB4B_GLOBAL_SITES_LOCALE_SELECTOR","MOBILE_FB4B_GLOBAL_SITES_PAGE_VIEW","MOBILE_HELP_CENTER_SEARCH","MOBILE_LOCALE_CHANGED_NOTICE","MOBILE_LOCALE_LINKS","MOBILE_REGISTRATION","MOBILE_SUGGESTED_LOCALE_SELECTOR","MOBILE_SWITCH_LANGUAGE_HEADER","MOBILE_SWITCH_LANGUAGE_NOTICE","M_BASIC_LOCALE_FOOTER","M_BASIC_LOCALE_SELECTOR","M_TOUCH_LOCALE_SELECTOR","PAGE_TO_ADDITIONAL_PROFILE_TRANSITION","PARTNERSHIPS_MARKETING_SELECTOR","QP_PROMO","RLX_PROMPTED_SWITCH_FOLLOWUP_NOTICE","RLX_QP_FORCE_SWITCH","RLX_QP_MULTI_LANGUAGE","RLX_QP_PROMPT_SWITCH","SAFETY_CENTER_GLOBAL_SITES_FOOTER","SITEMAP","SPANISH_LOCALE_MIGRATION_SCRIPT","UNIT_TEST","UNKNOWN","WORKPLACE_GALAHAD_CHANNEL","WORKPLACE_MARKETING_FOOTER","WORKROOMS_GEMINI_ACCOUNT_SETTING","WORKROOMS_LOCALE_SELECTOR","WORK_ACCOUNTS","WORK_ACCOUNTS_FOOTER","WORK_GEMINI_ACCOUNT_SETTING","WWW_ACCOUNT_SETTINGS","WWW_CARD_SELECTOR","WWW_CARD_SELECTOR_MORE","WWW_COMET_ACCOUNT_SETTINGS","WWW_COMET_CMS_LEGAL_FOOTER","WWW_COMET_LOGGED_OUT_FOOTER","WWW_COMET_NAVBAR","WWW_COMET_UNIFIED_SETTINGS","WWW_COOKIE_CONSENT_PROMPT","WWW_DEV_SITE","WWW_HELP_INLINE_SELECTOR","WWW_I18N_NUB","WWW_LINK_DIALOG_SELECTOR","WWW_LIST_SELECTOR","WWW_LIST_SELECTOR_MORE","WWW_LOGIN_BLUE_BAR","WWW_MANDATORY_LOCALE_SELECTION_POST","WWW_PRIVACY_CONSENT_PROMPT","WWW_TRANS_APP_INCONSISTENT","WWW_ULS_PROPAGATION","WWW_ULS_PROPAGATION_OPT_IN_OBSERVER","WWW_ULS_PROPAGATION_OPT_IN_QP","WWW_ULS_PROPAGATION_OPT_OUT_QP"]);c=a;f["default"]=c}),66); __d("IntlLocaleSelectorContext",["react"],(function(a,b,c,d,e,f,g){"use strict";var h;a=h||d("react");b=a.createContext({referrer:"UNKNOWN"});g["default"]=b}),98); __d("IntlLocaleChangeStatus",[],(function(a,b,c,d,e,f){"use strict";var g=!1,h=new Set();function a(a){h.add(a);return function(){h["delete"](a)}}function b(a){var b=g;if(b!==a){g=a;for(var b=h.values(),a=Array.isArray(b),c=0,b=a?b:b[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var d;if(a){if(c>=b.length)break;d=b[c++]}else{c=b.next();if(c.done)break;d=c.value}d=d;d(g)}}}function c(){return g}f.subscribe=a;f.setIsLanguageLocaleSaving=b;f.isLanguageLocaleSaving=c}),66); __d("useCometLocaleSelectorLanguageChangeMutation",["CometRelay","FBLogger","IntlLocaleChangeStatus","react","useBoolean","useCometLocaleSelectorLanguageChangeMutation.graphql"],(function(a,b,c,d,e,f,g){"use strict";var h,i;e=i||d("react");var j=e.useCallback,k=e.useEffect;function a(){var a=d("CometRelay").useMutation(h!==void 0?h:h=b("useCometLocaleSelectorLanguageChangeMutation.graphql")),e=a[0];a=a[1];var f=c("useBoolean")(d("IntlLocaleChangeStatus").isLanguageLocaleSaving()),g=f.set;f=f.value;k(function(){return d("IntlLocaleChangeStatus").subscribe(g)},[g]);var i=j(function(a){var b=a.onCompleted,f=a.onError;a=babelHelpers.objectWithoutPropertiesLoose(a,["onCompleted","onError"]);var g=a.variables.locale;if(d("IntlLocaleChangeStatus").isLanguageLocaleSaving())throw c("FBLogger")("i18n.unable_to_change_language_locale").mustfixThrow("Unable to change locale to %s because we're already performing a locale switch",g);d("IntlLocaleChangeStatus").setIsLanguageLocaleSaving(!0);e(babelHelpers["extends"]({},a,{onCompleted:function(a,e){var f;d("IntlLocaleChangeStatus").setIsLanguageLocaleSaving(!1);(a==null?void 0:(f=a.updateLanguageLocale)==null?void 0:f.success)!==!0&&c("FBLogger")("i18n.unable_to_change_language_locale").mustfix("Failed to change locale to %s",g);e!=null&&e.forEach(function(a){c("FBLogger")("i18n.unable_to_change_language_locale").mustfix("Failed to change locale to %s, Payload error: %s",g,a.message)});b&&b(a,e)},onError:function(a){d("IntlLocaleChangeStatus").setIsLanguageLocaleSaving(!1),c("FBLogger")("i18n.unable_to_change_language_locale").catching(a).mustfix("Failed to change locale to %s",g),f&&f(a)}}))},[e]);return[i,f,a]}g.useCometLocaleSelectorLanguageChangeMutation=a}),98); __d("useCometSwitchLocale",["fbt","IntlLocaleCookieLink","IntlLocaleSelectorContext","react","useCometAlertDialog","useCometLocaleSelectorLanguageChangeMutation","useIsLoggedOut"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j=(i||d("react")).useContext;function a(){var a=c("useIsLoggedOut")(),b=d("useCometLocaleSelectorLanguageChangeMutation").useCometLocaleSelectorLanguageChangeMutation(),e=b[0];b=j(c("IntlLocaleSelectorContext"));var f=b.referrer,g=c("IntlLocaleCookieLink")(f),i=c("useCometAlertDialog")(),k=function(){i({body:h._("__JHASH__jtGniKYxaWS__JHASH__"),title:h._("__JHASH__YsIOSuq9mO4__JHASH__")})};return function(b){a?(g(b),document.location.reload()):e({onCompleted:function(){document.location.reload()},onError:k,variables:{locale:b,referrer:f}})}}g["default"]=a}),98); __d("CometCookieConsentLanguagesMenuTrigger.react",["fbt","ix","CometCookieConsentLanguagesMenu.entrypoint","CometEntryPointPopoverTrigger.react","TetraCircleButton.react","emptyFunction","fbicon","react","useCometSwitchLocale"],(function(a,b,c,d,e,f,g,h,i){"use strict";var j,k=j||(j=d("react"));b=j;var l=b.useCallback,m=b.useState;e=k.jsx(a,{});function a(){var a=m(""),b=a[0],e=a[1],f=c("useCometSwitchLocale")();a=l(function(a){f(a),e(a)},[f]);return k.jsx(c("CometEntryPointPopoverTrigger.react"),{entryPointParams:{limit:100,query:""},otherProps:{onClose:c("emptyFunction"),onSelectedLanguageChange:a,selectedLanguage:b},popoverEntryPoint:c("CometCookieConsentLanguagesMenu.entrypoint"),children:function(a,b){return k.jsx(c("TetraCircleButton.react"),{icon:d("fbicon")._(i("484388"),24),label:h._("__JHASH__togU-Aj2W-U__JHASH__"),onPress:b,ref:a,size:32,type:"deemphasized"})}})}a.displayName=a.name+" [from "+f.id+"]";g.DEFAULT_LANGUAGES_MENU_TRIGGER=e;g.CometCookieConsentLanguagesMenuTrigger=a}),98); __d("CometCookieConsent2023Q1Dialog.react",["CometControlledUserBlockingDialog.react","CometCookieConsent2023Q1OtherCompanies.react","CometCookieConsent2023Q1Tiles.react","CometCookieConsentAccountSection.react","CometCookieConsentControlCookiesWithBrowserSection.react","CometCookieConsentDialogDataSettings.react","CometCookieConsentDialogFalcoEvent","CometCookieConsentLanguagesMenuTrigger.react","CometCookieConsentModalStringsUpdated","CometCookieConsentMoreInformationSection.react","CometCookieConsentUtils.react","CometRow.react","CometRowItem.react","CometScrollableArea.react","TetraButtonGroup.react","TetraText.react","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||(h=d("react")),j=h.useId,k={bulletIcons:{paddingTop:"x1cnzs8",$$css:!0},cta:{borderTop:"xzg4506",paddingBottom:"x1l90r2v",paddingEnd:"x1pi30zi",paddingLeft:null,paddingRight:null,paddingStart:"x1swvt13",$$css:!0},favicon:{paddingBottom:"xx6bls6",$$css:!0},pageRoot:{boxSizing:"x9f619",maxWidth:"x7ep2pv",paddingEnd:"xc73u3c",paddingLeft:null,paddingRight:null,paddingStart:"x5ib6vp",paddingTop:"x1cnzs8",width:"xn9wirt",$$css:!0},scrollable:{maxHeight:"x114jws4",$$css:!0},textSection:{borderBottom:"xua58t2",paddingBottom:"xx6bls6",$$css:!0},title:{paddingBottom:"xx6bls6",$$css:!0}};function a(a){var b=a.handleConsented,e=a.policyUrl,f=a.productName;a=a.languagesMenuTrigger;a=a===void 0?d("CometCookieConsentLanguagesMenuTrigger.react").DEFAULT_LANGUAGES_MENU_TRIGGER:a;d("CometCookieConsentDialogFalcoEvent").CometCookieConsentDialogFalcoEvent.log("render_consent_flow","updates_2023_q1");var g=j();return i.jsxs(c("CometControlledUserBlockingDialog.react"),{labelledBy:g,size:"content",withCloseButton:!1,children:[i.jsx(c("CometScrollableArea.react"),{horizontal:!1,xstyle:k.scrollable,children:i.jsxs("div",{className:"x9f619 x7ep2pv xc73u3c x5ib6vp x1cnzs8 xn9wirt","data-testid":void 0,children:[i.jsx("div",{className:"xx6bls6",children:i.jsx(c("CometRow.react"),{direction:"backward",paddingHorizontal:0,paddingTop:0,verticalAlign:"center",children:a&&i.jsx(c("CometRowItem.react"),{children:a})})}),i.jsx("div",{className:"xx6bls6",children:i.jsx(c("TetraText.react"),{id:g,type:"headlineEmphasized1",children:d("CometCookieConsentModalStringsUpdated").getCookieConsentHeader(f)})}),i.jsxs("div",{className:"xua58t2 xx6bls6",children:[i.jsx(c("TetraText.react"),{type:"body3",children:d("CometCookieConsentModalStringsUpdated").getCookieConsentIntroParagraph1(f)}),i.jsx(d("CometCookieConsentUtils.react").CometConsentListBullets,{list:[d("CometCookieConsentModalStringsUpdated").INTRO_ITEM_1,d("CometCookieConsentModalStringsUpdated").INTRO_ITEM_2]}),i.jsx("div",{className:"x1cnzs8",children:i.jsx(c("TetraText.react"),{type:"body3",children:d("CometCookieConsentModalStringsUpdated").getCookieConsentIntroParagraph2(e)})})]}),i.jsx(d("CometCookieConsent2023Q1Tiles.react").CometCookieConsent2023Q1Tiles,{policyUrl:e}),i.jsx(d("CometCookieConsent2023Q1OtherCompanies.react").CometCookieConsent2023Q1OtherCompanies,{}),i.jsx(d("CometCookieConsentDialogDataSettings.react").OtherControlsTitle,{}),i.jsx(c("CometCookieConsentAccountSection.react"),{}),i.jsx(c("CometCookieConsentMoreInformationSection.react"),{}),i.jsx(d("CometCookieConsentControlCookiesWithBrowserSection.react").CometCookieConsentControlCookiesWithBrowserSection,{})]})}),i.jsx("div",{className:"xzg4506 x1l90r2v x1pi30zi x1swvt13",children:i.jsx(c("TetraButtonGroup.react"),{direction:"backward",paddingHorizontal:0,primary:{label:d("CometCookieConsentModalStringsUpdated").ALLOW_ALL_COOKIES_CTA,onPress:function(){b(),d("CometCookieConsentDialogFalcoEvent").CometCookieConsentDialogFalcoEvent.log("accept_manage_data","updates_2023_q4")}},secondary:{label:d("CometCookieConsentModalStringsUpdated").DECLINE_OPTIONAL_COOKIES_CTA,onPress:function(){b(new Map(),!0),d("CometCookieConsentDialogFalcoEvent").CometCookieConsentDialogFalcoEvent.log("accept_essential_manage_data","updates_2023_q4")}},size:"medium",wrap:"backward"})})]})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("CometMultiStepDialogCloseContext",["react","recoverableViolation"],(function(a,b,c,d,e,f,g){"use strict";var h;a=h||d("react");b=a.createContext(function(){c("recoverableViolation")("Trying to consume CometMultiStepDialogCloseContext with no Provider","comet_ui")});g["default"]=b}),98); __d("CometMultiStepDialogHeader.react",["fbt","ix","CometCircleButton.react","CometTrackingNodeProvider.react","Locale","TetraText.react","fbicon","gkx","react","stylex","useIsCometOnMobile"],(function(a,b,c,d,e,f,g,h,i){"use strict";var j,k,l=k||d("react"),m=c("Locale").isRTL();b={backButton:{position:"x10l6tqk",start:"x16q8cke",left:null,right:null,top:"x1tk7jg1",zIndex:"x1vjfegm",$$css:!0},closeButton:{end:"x92rtbv",left:null,right:null,position:"x10l6tqk",top:"x1tk7jg1",zIndex:"x1vjfegm",$$css:!0},header:{alignItems:"x6s0dn4",borderBottom:"xua58t2",display:"x78zum5",height:"xng8ra",justifyContent:"xl56j7k",$$css:!0},headerWithoutBottomBorder:{borderBottomColor:"x16stqrj",$$css:!0},headerWithPadding:{paddingEnd:"x525zg8",paddingLeft:null,paddingRight:null,paddingStart:"xyxze6z",$$css:!0}};e={header:{alignItems:"x6s0dn4",borderBottomWidth:"xso031l",borderBottomStyle:"x1q0q8m5",borderBottomColor:"x1nb4dca",display:"x78zum5",height:"xng8ra",justifyContent:"xl56j7k",$$css:!0}};var n=c("gkx")("4855")?babelHelpers["extends"]({},b,e):b;function a(a){var b=a.buttonType,e=a.closeButtonTestId;e=e===void 0?"close_button":e;e=a.iconCssSelectorId;var f=a.onBack,g=a.onClose,k=a.title,o=a.withCloseButton;o=o===void 0?!1:o;var p=a.withoutBackButton;p=p===void 0?!1:p;a=a.withoutHeaderBottomBorder;a=a===void 0?!1:a;var q=c("useIsCometOnMobile")(),r=b==null?"secondary":void 0;return l.jsxs(l.Fragment,{children:[k!=null?l.jsx("div",{className:(j||(j=c("stylex")))(n.header,(o||!p)&&n.headerWithPadding,a&&n.headerWithoutBottomBorder),children:l.jsx(c("TetraText.react"),{isSemanticHeading:!0,numberOfLines:1,type:q?"headlineEmphasized3":"headlineEmphasized2",children:k})}):null,p?null:l.jsx("div",{className:(j||(j=c("stylex")))(n.backButton),"data-testid":void 0,id:e,children:l.jsx(c("CometCircleButton.react"),{color:r,icon:m?d("fbicon")._(i("514454"),20):d("fbicon")._(i("512647"),20),label:h._("__JHASH__sqTeJmgA5ut__JHASH__"),onPress:f,size:36,type:b})}),o?l.jsx(c("CometTrackingNodeProvider.react"),{trackingNode:141,children:l.jsx("div",{className:(j||(j=c("stylex")))(n.closeButton),"data-testid":void 0,id:e,children:l.jsx(c("CometCircleButton.react"),{color:r,icon:d("fbicon")._(i("478233"),20),label:h._("__JHASH__tnRfHlva-bL__JHASH__"),onPress:g,size:36,type:b})})}):null]})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("CometMultiStepDialogClosingHeader.react",["CometMultiStepDialogCloseContext","CometMultiStepDialogHeader.react","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||(h=d("react")),j=h.useContext;function a(a){var b=j(c("CometMultiStepDialogCloseContext"));return i.jsx(c("CometMultiStepDialogHeader.react"),babelHelpers["extends"]({},a,{onClose:b}))}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("CometMultiStepDialogOnReturnContext.react",["react","unrecoverableViolation"],(function(a,b,c,d,e,f,g){"use strict";var h;b=h||(h=d("react"));var i=h.useContext,j=b.createContext(function(){throw c("unrecoverableViolation")("CometMultiStepDialogContext onReturn called outside of a CometMultiStepDialog!","comet_ui")});function a(){return i(j)}g.CometMultiStepDialogOnReturnContext=j;g.useCometMultiStepDialogOnReturn=a}),98); __d("CometMultiStepDialogPushPageContext.react",["react","unrecoverableViolation"],(function(a,b,c,d,e,f,g){"use strict";var h;b=h||(h=d("react"));var i=h.useContext,j=b.createContext(function(){throw c("unrecoverableViolation")("CometMultiStepDialogContext pushPage called outside of a CometMultiStepDialog!","comet_ui")});function a(){return i(j)}g.CometMultiStepDialogPushPageContext=j;g.useCometMultiStepDialogPushPage=a}),98); __d("CometMultiStepDialogBase.react",["BaseBaseMultiStepContainer.react","BaseDialog.react","BaseHeadingContextWrapper.react","CometCardedDialogLoadingStateGlimmer.react","CometHideLayerOnEscape.react","CometMultiStepDialogCloseContext","CometMultiStepDialogClosingHeader.react","CometMultiStepDialogOnReturnContext.react","CometMultiStepDialogPushPageContext.react","emptyFunction","react","recoverableViolation","useIsCometOnMobile"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||(h=d("react"));b=h;var j=b.useCallback,k=b.useContext,l=b.useState,m={anchor:{paddingStart:"xurb0ha",paddingLeft:null,paddingRight:null,paddingEnd:"x1sxyh0",paddingTop:"x1x97wu9",paddingBottom:"xbr3nou","@media (max-width: 564px)_paddingStart":"x3v4vwv","@media (max-width: 564px)_paddingLeft":null,"@media (max-width: 564px)_paddingRight":null,"@media (max-width: 564px)_paddingEnd":"x1dzdb2q",$$css:!0},anchorInMobileEnvironment:{paddingTop:"xexx8yu",paddingBottom:"x18d9i69",$$css:!0},card:{backgroundColor:"x1jx94hy",borderTopStartRadius:"x1qpq9i9",borderTopEndRadius:"xdney7k",borderBottomEndRadius:"xu5ydu1",borderBottomStartRadius:"xt3gfkd",boxShadow:"x104qc98","@media (max-width: 564px)_borderTopStartRadius":"x1g2kw80","@media (max-width: 564px)_borderTopEndRadius":"x16n5opg","@media (max-width: 564px)_borderBottomEndRadius":"xl7ujzl","@media (max-width: 564px)_borderBottomStartRadius":"xhkep3z",$$css:!0},rootInMobileEnvironment:{justifyContent:"x1nhvcw1",$$css:!0}},n={content:{maxWidth:"x193iq5w",$$css:!0},"content-mobile-safe":{width:"xh8yej3",$$css:!0},medium:{maxWidth:"xrgej4m",width:"xh8yej3",$$css:!0},small:{maxWidth:"x1n7qst7",width:"xh8yej3",$$css:!0}};function a(a,b){var d=a.anchorXStyle,e=a.buttonType,f=a.children,g=a.closeButtonTestId,h=g===void 0?"close_button":g;g=a.disableClosingWithMask;g=g===void 0?!1:g;var j=a.disableClosingWithEscape;j=j===void 0?!1:j;var k=a.iconCssSelectorId,l=a.onClose;l=l===void 0?c("emptyFunction"):l;var p=a.onPageChange,q=a.size;q=q===void 0?"small":q;var r=a.testid,s=a.title;r=a.labelledBy;var t=a.withCloseButton,u=t===void 0?!1:t;t=a.withDeprecatedStyles;t=t===void 0?!0:t;var v=a.withoutHeaderBottomBorder,w=v===void 0?!1:v;v=a.xstyle;var x=a.pageComponents,y=a.pageCursor,z=a.setPushPageState,A=a.setPopPageState;a=a.fallback;var B=c("useIsCometOnMobile")();q=q==="content-mobile-safe"&&!B?"content":q;u===!0&&l==null&&c("recoverableViolation")("CometMultiStepDialog: withCloseButton is set to true without being provided an onClose handler. Please provide an onClose handler, or set withCloseButton to false","comet_ui");return i.jsx(c("BaseDialog.react"),{anchorXStyle:[m.anchor,B&&m.anchorInMobileEnvironment,d],"aria-label":r!=null?void 0:(d=s)!=null?d:void 0,"aria-labelledby":r,disableClosingWithEscape:j,disableClosingWithMask:g,onClose:l,rootXStyle:[B&&m.rootInMobileEnvironment],testid:void 0,withDeprecatedStyles:t,xstyle:[m.card,n[q],v],children:i.jsx(c("CometMultiStepDialogCloseContext").Provider,{value:l,children:i.jsx(c("BaseBaseMultiStepContainer.react"),{fallback:(d=a)!=null?d:i.jsx(c("CometCardedDialogLoadingStateGlimmer.react"),{withHeader:!0}),fitContentWidth:q==="content",onPageChange:p,pageComponents:x,pageCursor:y,ref:b,setPopPageState:A,setPushPageState:z,children:function(a){return i.jsxs(i.Fragment,{children:[i.jsx(c("CometMultiStepDialogClosingHeader.react"),{buttonType:e,closeButtonTestId:h,iconCssSelectorId:k,title:s,withCloseButton:u,withoutBackButton:!0,withoutHeaderBottomBorder:w}),i.jsx(c("BaseHeadingContextWrapper.react"),{children:i.jsx(o,{buttonType:e,closeButtonTestId:h,iconCssSelectorId:k,pushMultiStepContainerPage:a,withCloseButton:u,children:f})})]})}})})})}a.displayName=a.name+" [from "+f.id+"]";function o(a){var b=a.buttonType,e=a.children,f=a.closeButtonTestId,g=a.iconCssSelectorId,h=a.pushMultiStepContainerPage,m=a.withCloseButton,n=j(function(a,e){e=e===void 0?{}:e;var j=e.onBack,o=e.onCloseButtonPress,p=e.title,q=e.withoutBackButton,r=q===void 0?!1:q;q=e.withoutCloseButton;var s=q===void 0?!1:q;q=e.withoutHeaderBottomBorder;var t=q===void 0?!1:q;h(function(e){e=e.onReturn;var h=l(p),q=h[0];h=h[1];var u=k(c("CometMultiStepDialogCloseContext")),v=j?j(e):e;q=i.jsx(c("CometMultiStepDialogClosingHeader.react"),{buttonType:b,closeButtonTestId:f,iconCssSelectorId:g,onBack:v,title:q,withCloseButton:s?!1:m,withoutBackButton:r,withoutHeaderBottomBorder:t});return i.jsxs(c("CometHideLayerOnEscape.react"),{onHide:r?c("emptyFunction"):v,children:[o!=null?i.jsx(c("CometMultiStepDialogCloseContext").Provider,{value:o(u),children:q}):q,i.jsx(c("BaseHeadingContextWrapper.react"),{children:i.jsx(d("CometMultiStepDialogPushPageContext.react").CometMultiStepDialogPushPageContext.Provider,{value:n,children:i.jsx(d("CometMultiStepDialogOnReturnContext.react").CometMultiStepDialogOnReturnContext.Provider,{value:e,children:i.jsx(a,{onReturn:e,setTitle:h})})})})]})})},[b,f,g,h,m]);return i.jsx(d("CometMultiStepDialogPushPageContext.react").CometMultiStepDialogPushPageContext.Provider,{value:n,children:e(n)})}o.displayName=o.name+" [from "+f.id+"]";e=i.forwardRef(a);g["default"]=e}),98); __d("CometMultiStepDialogLegacy.react",["CometMultiStepDialogBase.react","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||(h=d("react"));b=h;var j=b.useCallback,k=b.useState;function a(a,b){var d=k([]),e=d[0],f=d[1];d=k(0);var g=d[0],h=d[1];d=j(function(a){h(function(b){f(function(c){return c.slice(0,b).concat(a)});return b+1})},[]);var l=j(function(a){h(a)},[]);return i.jsx(c("CometMultiStepDialogBase.react"),babelHelpers["extends"]({},a,{pageComponents:e,pageCursor:g,ref:b,setPopPageState:l,setPushPageState:d,children:a.children}))}a.displayName=a.name+" [from "+f.id+"]";e=i.forwardRef(a);g["default"]=e}),98); __d("CDSTextStyleContext.react",["react"],(function(a,b,c,d,e,f,g){"use strict";var h;a=h||d("react");b=a.createContext("body");g["default"]=b}),98); __d("MetaBrandArrowUpDiagonalRightSquareFilled24.svg.react",["react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||d("react");function a(a){return i.jsxs("svg",babelHelpers["extends"]({viewBox:"0 0 24 24",fill:"currentColor",width:"1em",height:"1em"},a,{children:[a.title!=null&&i.jsx("title",{children:a.title}),a.children!=null&&i.jsx("defs",{children:a.children}),i.jsx("path",{d:"M6 19h12a1 1 0 0 0 1-1v-5h2v5a3 3 0 0 1-3 3H6a3 3 0 0 1-3-3V6a3 3 0 0 1 3-3h5v2H6a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1z"}),i.jsx("path",{d:"M11.293 11.293 17.586 5H14a1 1 0 1 1 0-2h6a1 1 0 0 1 1 1v6a1 1 0 1 1-2 0V6.414l-6.293 6.293a1 1 0 0 1-1.414-1.414z"})]}))}a.displayName=a.name+" [from "+f.id+"]";a._isSVG=!0;b=a;g["default"]=b}),98); __d("MetaBrandArrowUpDiagonalRightSquareOutline24.svg.react",["react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||d("react");function a(a){return i.jsxs("svg",babelHelpers["extends"]({viewBox:"0 0 24 24",fill:"currentColor",width:"1em",height:"1em"},a,{children:[a.title!=null&&i.jsx("title",{children:a.title}),a.children!=null&&i.jsx("defs",{children:a.children}),i.jsx("path",{d:"M6 19h12a1 1 0 0 0 1-1v-5h2v5a3 3 0 0 1-3 3H6a3 3 0 0 1-3-3V6a3 3 0 0 1 3-3h5v2H6a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1z"}),i.jsx("path",{d:"M11.293 11.293 17.586 5H14a1 1 0 1 1 0-2h6a1 1 0 0 1 1 1v6a1 1 0 1 1-2 0V6.414l-6.293 6.293a1 1 0 0 1-1.414-1.414z"})]}))}a.displayName=a.name+" [from "+f.id+"]";a._isSVG=!0;b=a;g["default"]=b}),98); __d("CDSInlinePressableText.react",["fbt","BaseInlinePressable.react","CDSTextStyleContext.react","MetaBrandArrowUpDiagonalRightSquareFilled24.svg.react","MetaBrandArrowUpDiagonalRightSquareOutline24.svg.react","react"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j=i||(i=d("react")),k=i.useContext;b=j.forwardRef(a);function a(a,b){var d=a.ariaLabel,e=a.children,f=a.color;f=f===void 0?"emphasized":f;var g=a.disabled,i=a.linkProps,l=a.onFocusIn,m=a.onFocusOut,n=a.onHoverIn,o=a.onHoverOut,p=a.onPress,q=a.testid;q=a.xstyle;a=babelHelpers.objectWithoutPropertiesLoose(a,["ariaLabel","children","color","disabled","linkProps","onFocusIn","onFocusOut","onHoverIn","onHoverOut","onPress","testid","xstyle"]);var r=k(c("CDSTextStyleContext.react"));r=a.isExternal===!0?r==="body"?c("MetaBrandArrowUpDiagonalRightSquareOutline24.svg.react"):c("MetaBrandArrowUpDiagonalRightSquareFilled24.svg.react"):a.icon!=null?a.icon:null;return j.jsxs(c("BaseInlinePressable.react"),{ariaLabel:d,color:f==="primary"?"inherit":"blue",disabled:g,linkProps:i,onFocusIn:l,onFocusOut:m,onHoverIn:n,onHoverOut:o,onPress:p,overlayDisabled:!0,ref:b,testid:void 0,xstyle:q,children:[e,r&&j.jsx(r,{"aria-hidden":a.isExternal!==!0,"aria-label":a.isExternal===!0?h._("__JHASH__Dhqps3_K2SP__JHASH__"):void 0,className:"x1ngqms7 x18sheln x1hyyqv4 x1n2onr6 xrhstn2 xn47u6e"})]})}a.displayName=a.name+" [from "+f.id+"]";e=b;g["default"]=e}),98); __d("CometCookieConsentDialog.react",["fbt","CometControlledUserBlockingMultiStepDialog.react","CometCookieConsentLanguagesMenuTrigger.react","CometCookieConsentStrings","CometCookieControlsStrings","CometImage.react","CometLink.react","CometRow.react","CometRowItem.react","TetraButtonGroup.react","TetraText.react","react","useCurrentDisplayMode"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j=i||d("react");function a(a){var b=a.handleConsented,e=a.essentialCookiesOnly,f=a.faviconLight,g=a.faviconDark,i=a.languagesMenuTrigger,k=i===void 0?d("CometCookieConsentLanguagesMenuTrigger.react").DEFAULT_LANGUAGES_MENU_TRIGGER:i,l=a.policyUrl,m=a.productName;i=a.secondaryAction;var n=i.label,o=i.viewReference,p=babelHelpers.objectWithoutPropertiesLoose(a,["handleConsented","essentialCookiesOnly","faviconLight","faviconDark","languagesMenuTrigger","policyUrl","productName","secondaryAction"]),q=e?h._("__JHASH__dI-lPFXLB33__JHASH__"):h._("__JHASH__Nk-l1n7B8J0__JHASH__"),r=c("useCurrentDisplayMode")(),s=e?d("CometCookieControlsStrings").workCookieConsentDialogTitle(m):d("CometCookieControlsStrings").cookieConsentDialogTitle(m);return j.jsx(c("CometControlledUserBlockingMultiStepDialog.react"),{disableClosingWithMask:!0,size:"content",withCloseButton:!1,children:function(a){return j.jsxs("div",{className:"x9f619 x65f84u x1cnzs8 xc73u3c xx6bls6 x5ib6vp xn9wirt","data-testid":void 0,children:[j.jsx("div",{className:"xx6bls6",children:j.jsxs(c("CometRow.react"),{paddingHorizontal:0,paddingTop:0,verticalAlign:"center",children:[j.jsx(c("CometRowItem.react"),{expanding:!0,children:j.jsx(c("CometImage.react"),{height:32,src:r==="light"?f:g,width:32})}),k&&j.jsx(c("CometRowItem.react"),{children:k})]})}),j.jsx("div",{className:"xx6bls6",children:j.jsx(c("TetraText.react"),{type:"headlineEmphasized2",children:s})}),j.jsx(c("TetraText.react"),{type:"body3",children:e?d("CometCookieConsentStrings").getOriginalNoAdsWhyWeUseCookies(l):h._("__JHASH__Sm865wCULTD__JHASH__",[h._implicitParam("=m1",j.jsx(c("CometLink.react"),{color:"highlight",href:l,weight:"normal",children:h._("__JHASH__bTtsZ_UG5Ng__JHASH__")}))])}),j.jsx("div",{className:"x13zrc24",children:j.jsx(c("TetraButtonGroup.react"),{direction:"backward",paddingHorizontal:0,primary:{label:q,onPress:function(){b()},testid:"cookie-accept-all"},secondary:{label:n,onPress:function(){a(function(a){a=a.onReturn;return j.jsx(o,babelHelpers["extends"]({},p,{essentialCookiesOnly:e,handleConsented:b,languagesMenuTrigger:k,onReturn:a,policyUrl:l,productName:m}))},{withoutBackButton:!0,withoutCloseButton:!0})},testid:"cookie-manage-data-settings"},size:"medium",wrap:"backward"})})]})}})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("FacebookCookieConsentCustomization",["fbt","ix","JSResourceForInteraction","XCookiesPolicyControllerRouteBuilder","isBaseline4EnabledForLoggedOut","isCNILEnabledForLoggedOut","lazyLoadComponent"],(function(a,b,c,d,e,f,g,h,i){"use strict";var j=c("lazyLoadComponent")(c("JSResourceForInteraction")("FacebookCometCookieConsentDialogDataSettings.react").__setRef("FacebookCookieConsentCustomization"));a=function(){var a,b,d,e=null;c("isBaseline4EnabledForLoggedOut")()||c("isCNILEnabledForLoggedOut")()?(b=i("1954651"),d=i("1954649"),e=h._("__JHASH__Io-I4c-Ju7G__JHASH__")):(b=i("856481"),d=i("856481"),e=h._("__JHASH__fkugzXuQkC-__JHASH__"));a=(a=(a=c("XCookiesPolicyControllerRouteBuilder").buildUri({}).getQualifiedUri())==null?void 0:(a=a.setDomain("www.facebook.com"))==null?void 0:a.toString())!=null?a:"";return{essentialCookiesOnly:!1,faviconDark:d,faviconLight:b,policyUrl:a,productName:"FACEBOOK",secondaryAction:{label:e,viewReference:j}}};b=a;g["default"]=b}),98); __d("useCookieConsentHandler",["CookieConsent","DeferredCookie","emptyFunction","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i;b=i||d("react");var j=b.useCallback,k=b.useState;function a(a,b){a===void 0&&(a=c("emptyFunction"));b===void 0&&(b=!1);var d=k(function(){return!(h||(h=c("CookieConsent"))).shouldShowCookieBanner()}),e=d[0],f=d[1];d=j(function(d,e){(h||(h=c("CookieConsent"))).setConsented(),f(!0),c("DeferredCookie").flushAllCookiesINTERNALONLY(b,d,!1,e===!0,a)},[a,b]);return[e,d]}g["default"]=a}),98); __d("useFacebookCookieConsentHandler",["react","requireDeferred","useCookieConsentHandler"],(function(a,b,c,d,e,f,g){"use strict";var h,i=(h||d("react")).useCallback,j=c("requireDeferred")("ODS").__setRef("useFacebookCookieConsentHandler");function a(a){a===void 0&&(a=!1);var b=i(function(){j.onReady(function(a){a.bumpEntityKey(3157,"comet.cookie_dialog","accepted"),a.bumpEntityKey(3157,"comet.cookie_explicit_consent","accepted")})},[]);return c("useCookieConsentHandler")(b,a)}g["default"]=a}),98); __d("FacebookCometCookieConsent.react",["CometCookieConsent2023Q1Dialog.react","CometCookieConsentDialog.react","FacebookCookieConsentCustomization","getRequestConstUri","isFacebookURI","react","useFacebookCookieConsentHandler"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||d("react");function a(a){a=a.refreshAfterConsent;a=a===void 0?!1:a;a=c("useFacebookCookieConsentHandler")(a);var b=a[0];a=a[1];if(b)return null;b=c("getRequestConstUri")();return c("isFacebookURI")(b)?i.jsx(c("CometCookieConsent2023Q1Dialog.react"),babelHelpers["extends"]({},c("FacebookCookieConsentCustomization")(),{handleConsented:a})):i.jsx(c("CometCookieConsentDialog.react"),babelHelpers["extends"]({},c("FacebookCookieConsentCustomization")(),{handleConsented:a}))}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("CometProfileSwitcherEducationFlowContext",["react"],(function(a,b,c,d,e,f,g){"use strict";var h;a=h||d("react");b=a.createContext({showEducationFlow:!1});g["default"]=b}),98); __d("CometBrowserPushRoot.react",["Promise","PushNotificationsEventEmitter","PushNotificationsEventEmitterQueue","Visibility","promiseDone","react","requireDeferred"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=i||(i=d("react"));e=i;var k=e.useEffect,l=e.useState,m=c("requireDeferred")("BrowserPushDirectPromptInstallerComet").__setRef("CometBrowserPushRoot.react"),n=c("requireDeferred")("NotificationPermissionNoticeComet.react").__setRef("CometBrowserPushRoot.react"),o=c("requireDeferred")("NotificationPermissionRequestComet.react").__setRef("CometBrowserPushRoot.react"),p=!1;function a(){var a=l({render:!1}),d=a[0],e=a[1];a=l({render:!1});var f=a[0],g=a[1];k(function(){if(p)return;c("Visibility").addListener(c("Visibility").VISIBLE,function(){navigator&&navigator.clearAppBadge&&navigator.clearAppBadge()});c("PushNotificationsEventEmitter").removeAllListeners();c("PushNotificationsEventEmitter").once("openInstallPush",function(a){var d=a.appID,f=a.browserName,g=a.hideRequestOverlay,i=a.path,j=a.workerIsForPushOnly;c("promiseDone")((h||(h=b("Promise"))).all([m.load(),o.load()]).then(function(a){var b=a[0];a=a[1];g!==!0&&(e({component:a,render:!0}),p=!0);b.genEnableNotifications(i,d,f,j)}))});c("PushNotificationsEventEmitter").once("closeInstallPush",function(){e({render:!1})});c("PushNotificationsEventEmitter").once("openPushBlockedNotice",function(a){n.onReady(function(b){g({browserName:a,component:b,render:!0})})});if(c("PushNotificationsEventEmitterQueue").length>0)while(c("PushNotificationsEventEmitterQueue")[0]!=null){var a=c("PushNotificationsEventEmitterQueue").pop();c("PushNotificationsEventEmitter").emit.apply(c("PushNotificationsEventEmitter"),[a.type].concat(a.args))}return function(){c("PushNotificationsEventEmitter").removeAllListeners()}},[]);if(d.render===!0&&d.component!=null){a=d.component;return j.jsx(a,{onClick:function(){e({render:!1})}})}else if(f.render&&f.component!=null){d=f.component;return j.jsx(d,{browserName:f.browserName,onHide:function(){g({render:!1})},shortText:!1})}return null}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("useCometCalloutNUX",["react","useCometCallout","useCometNUXInlineSurvey","useMergeRefs","useNUX","useRefEffect"],(function(a,b,c,d,e,f,g){"use strict";var h;b=h||d("react");var i=b.useCallback,j=b.useMemo,k={arrowStyle:"inset",hasCloseButton:!0,type:"accent"};function a(a,b,d){d===void 0&&(d=!0);var e=b.onClose,f=b.onHelpful,g=b.onHide,h=b.onNotHelpful,l=b.onShow;a=c("useNUX")(a,d);d=a[0];var m=a[1],n=i(function(){m.onDismiss(),e&&e()},[m,e]),o=i(function(){m.onRemoved(),m.onHidden(),g&&g()},[m,g]),p=i(function(){m.onVisible(),l&&l()},[m,l]),q=i(function(){m.onHelpful(),f&&f()},[m,f]),r=i(function(){m.onNotHelpful(),h&&h()},[m,h]),s=c("useCometNUXInlineSurvey")();a=c("useRefEffect")(function(a){var b=function(){m.onDismiss()};a.addEventListener("click",b,{passive:!0});return function(){return a.removeEventListener("click",b,{passive:!0})}},[m]);d=c("useCometCallout")(j(function(){return babelHelpers["extends"]({},k,b,{inlineSurvey:s,onClose:n,onHelpful:q,onHide:o,onNotHelpful:r,onShow:p})},[b,s,n,q,o,r,p]),d);return c("useMergeRefs")(d,a)}g["default"]=a}),98); __d("ariaGlimmerProps",["fbt","react"],(function(a,b,c,d,e,f,g,h){"use strict";var i;i||d("react");a={"aria-valuetext":h._("__JHASH__ZmV7RuEynfV__JHASH__"),role:"progressbar",tabIndex:0};g["default"]=a}),98); __d("FriendingCometFriendRequestSubscriptionHelper",["requireDeferred"],(function(a,b,c,d,e,f,g){"use strict";var h=c("requireDeferred")("FriendingCometFriendRequestConfirmSubscription").__setRef("FriendingCometFriendRequestSubscriptionHelper"),i=c("requireDeferred")("FriendingCometFriendRequestReceiveSubscription").__setRef("FriendingCometFriendRequestSubscriptionHelper");function a(a,b,c,d){var e,f;function g(f){f=f.subscribe;e=f(a,b,c,d)}function j(e){e=e.subscribe;f=e(a,b,c,d)}var k=h.onReadyImmediately(g),l=i.onReadyImmediately(j);return function(){var a;k.remove();l.remove();(a=f)==null?void 0:a.dispose();(a=e)==null?void 0:a.dispose()}}g.setupFriendingSubscription=a}),98); __d("CometNotificationsListLoadingState.react",["fbt","CometNotificationsInteractionLogger","CometSettingsListDropdownLoadingState.react","clearTimeout","react","setTimeout"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j=i||(i=d("react")),k=i.useEffect,l=1e4;function a(){k(function(){var a=c("setTimeout")(function(){d("CometNotificationsInteractionLogger").timeout()},l);return function(){c("clearTimeout")(a)}},[]);return j.jsx(c("CometSettingsListDropdownLoadingState.react"),{hasActions:!0,title:h._("__JHASH__rvC58Q_Gtho__JHASH__")})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("RTWebPreCallProvider.react",["CometRelay","RTWebPreCallContext","RTWebPreCallContextSingleton","react","useStable"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||(h=d("react")),j=h.useEffect;function a(a){var b=a.children;a=a.enableIncomingActorCalls;var e=a===void 0?!1:a,f=d("CometRelay").useRelayEnvironment(),g=c("useStable")(function(){return d("RTWebPreCallContextSingleton").create({relayEnvironment:f})});j(function(){g&&d("RTWebPreCallContextSingleton").init(f,e)},[g,e,f]);return i.jsx(c("RTWebPreCallContext").Provider,{value:g,children:b})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("XLynxAsyncCallbackControllerRouteBuilder",["jsRouteBuilder"],(function(a,b,c,d,e,f,g){a=c("jsRouteBuilder")("/si/linkclick/ajax_callback/",Object.freeze({}),void 0);b=a;g["default"]=b}),98); __d("FBLynxLogging",["AsyncRequest","ODS","XLynxAsyncCallbackControllerRouteBuilder"],(function(a,b,c,d,e,f,g){"use strict";var h;function a(a){var b=c("XLynxAsyncCallbackControllerRouteBuilder").buildURL({});new(c("AsyncRequest"))(b).setData({lynx_uri:a}).setErrorHandler(function(a){a=a.getError();(h||(h=d("ODS"))).bumpEntityKey(3861,"linkshim","click_log.post.fail."+a)}).setTransportErrorHandler(function(a){a=a.getError();(h||(h=d("ODS"))).bumpEntityKey(3861,"linkshim","click_log.post.transport_fail."+a)}).send()}g.log=a}),98); __d("translateKey",["fbt","invariant"],(function(a,b,c,d,e,f,g,h,i){var j={alt:h._("__JHASH__QstIZ1Zhw8o__JHASH__"),enter:h._("__JHASH__Km7wSc2ETGw__JHASH__"),"delete":h._("__JHASH__Op-vAMG8rI1__JHASH__"),forward_delete:h._("__JHASH__id1nOkXKcjl__JHASH__"),caps_lock:h._("__JHASH__bKqaY04PSVQ__JHASH__"),shift:h._("__JHASH__aYrdVhRm1tI__JHASH__"),opt:h._("__JHASH__LIB23SzcP62__JHASH__"),ctrl:h._("__JHASH__mB0Ic7ZwRl9__JHASH__"),cmd:h._("__JHASH__V-4mfkMtvSJ__JHASH__"),esc:h._("__JHASH__qoKM-XBkLE___JHASH__"),tab:h._("__JHASH__Hrp-AL8_x-a__JHASH__"),up:h._("__JHASH__H9_c_r97ZY___JHASH__"),down:h._("__JHASH__ggwFyvSk6LU__JHASH__"),right:h._("__JHASH__Epi1xPIm62F__JHASH__"),left:h._("__JHASH__SlqoaJtPEUL__JHASH__"),page_up:h._("__JHASH__X_5sOoQH8Gh__JHASH__"),page_down:h._("__JHASH__EiKL7Vp3s9G__JHASH__"),home:h._("__JHASH__hRLord5PHtu__JHASH__"),end:h._("__JHASH__jP0i_jQyEKg__JHASH__")};function a(a){if(Object.prototype.hasOwnProperty.call(j,a))return j[a];a.length===1||i(0,2507);return a}g["default"]=a}),98); __d("XCometNewsCompassControllerRouteBuilder",["jsRouteBuilder"],(function(a,b,c,d,e,f,g){a=c("jsRouteBuilder")("/news/{?category}/{?vanity_uri}/",Object.freeze({}),void 0);b=a;g["default"]=b}),98); __d("XCometProfileVanityAdCenterControllerRouteBuilder",["jsRouteBuilder"],(function(a,b,c,d,e,f,g){a=c("jsRouteBuilder")("/{vanity}/ad_center/",Object.freeze({should_open_composer:!1}),void 0);b=a;g["default"]=b}),98);/*FB_PKG_DELIM*/ __d("ArbiterMixin",["Arbiter","guid"],(function(a,b,c,d,e,f,g){var h="arbiter$"+c("guid")(),i=Object.prototype.hasOwnProperty;a={_getArbiterInstance:function(){return i.call(this,h)?this[h]:this[h]=new(c("Arbiter"))()},inform:function(a,b,c){return this._getArbiterInstance().inform(a,b,c)},subscribe:function(a,b,c){return this._getArbiterInstance().subscribe(a,b,c)},subscribeOnce:function(a,b,c){return this._getArbiterInstance().subscribeOnce(a,b,c)},unsubscribe:function(a){this._getArbiterInstance().unsubscribe(a)},unsubscribeCurrentSubscription:function(){this._getArbiterInstance().unsubscribeCurrentSubscription()},releaseCurrentPersistentEvent:function(){this._getArbiterInstance().releaseCurrentPersistentEvent()},registerCallback:function(a,b){return this._getArbiterInstance().registerCallback(a,b)},query:function(a){return this._getArbiterInstance().query(a)}};b=a;g["default"]=b}),98); __d("TrustedTypesIEFixDOMPolicy",["TrustedTypes"],(function(a,b,c,d,e,f,g){"use strict";a={createHTML:function(a){return a}};b=c("TrustedTypes").createPolicy("dom-ie-fix",a);d=b;g["default"]=d}),98); __d("UserAgent_DEPRECATED",[],(function(a,b,c,d,e,f){var g=!1,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w;function x(){if(g)return;g=!0;var a=navigator.userAgent,b=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(a),c=/(Mac OS X)|(Windows)|(Linux)/.exec(a);s=/\b(iPhone|iP[ao]d)/.exec(a);t=/\b(iP[ao]d)/.exec(a);q=/Android/i.exec(a);u=/FBAN\/\w+;/i.exec(a);v=/FBAN\/mLite;/i.exec(a);w=/Mobile/i.exec(a);r=!!/Win64/.exec(a);if(b){h=b[1]?parseFloat(b[1]):b[5]?parseFloat(b[5]):NaN;h&&document&&document.documentMode&&(h=document.documentMode);var d=/(?:Trident\/(\d+.\d+))/.exec(a);m=d?parseFloat(d[1])+4:h;i=b[2]?parseFloat(b[2]):NaN;j=b[3]?parseFloat(b[3]):NaN;k=b[4]?parseFloat(b[4]):NaN;k?(b=/(?:Chrome\/(\d+\.\d+))/.exec(a),l=b&&b[1]?parseFloat(b[1]):NaN):l=NaN}else h=i=j=l=k=NaN;if(c){if(c[1]){d=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(a);n=d?parseFloat(d[1].replace("_",".")):!0}else n=!1;o=!!c[2];p=!!c[3]}else n=o=p=!1}function y(){return x()||h}function a(){return x()||m>h}function b(){return y()&&r}function c(){return x()||i}function d(){return x()||j}function z(){return x()||k}function e(){return z()}function A(){return x()||l}function B(){return x()||o}function C(){return x()||n}function D(){return x()||p}function E(){return x()||s}function F(){return x()||s||t||q||w}function G(){return x()||v!=null?null:u}function H(){return x()||q}function I(){return x()||t}f.ie=y;f.ieCompatibilityMode=a;f.ie64=b;f.firefox=c;f.opera=d;f.webkit=z;f.safari=e;f.chrome=A;f.windows=B;f.osx=C;f.linux=D;f.iphone=E;f.mobile=F;f.nativeApp=G;f.android=H;f.ipad=I}),66); __d("isScalar",[],(function(a,b,c,d,e,f){function a(a){return/string|number|boolean/.test(typeof a)}f["default"]=a}),66); __d("DOM",["$","DOMQuery","Event","FBLogger","FbtResultBase","HTML","TrustedTypesIEFixDOMPolicy","UserAgent_DEPRECATED","createArrayFromMixed","fb-error","isNode","isScalar","isTextNode"],(function(a,b,c,d,e,f,g){a=function(a,b,c){a=document.createElement(a);b&&h.setAttributes(a,b);c!=null&&h.setContent(a,c);return a};var h={find:(b=d("DOMQuery")).find,findPushSafe:b.findPushSafe,scry:b.scry,getSelection:b.getSelection,contains:b.contains,getRootElement:b.getRootElement,isNodeOfType:b.isNodeOfType,isInputNode:b.isInputNode,create:a,setAttributes:function(a,b){b.type&&(a.type=b.type);for(var d in b){var e=b[d],f=/^on/i.test(d);f&&typeof e!=="function"&&c("FBLogger")("dom").warn("Handlers passed to DOM.setAttributes must be functions. Handler passed for %s was %s",d,typeof e);if(d=="type")continue;else d=="style"?typeof e==="string"?a.style.cssText=e:Object.assign(a.style,e):f?c("Event").listen(a,d.substr(2),e):d in a?a[d]=e:a.setAttribute&&a.setAttribute(d,e)}},prependContent:function(a,b){if(!a)throw c("fb-error").TAAL.blameToPreviousFile(new Error("reference element is not a node"));return j(b,a,function(b){a.firstChild?a.insertBefore(b,a.firstChild):a.appendChild(b)})},insertAfter:function(a,b){if(!a||!a.parentNode)throw c("fb-error").TAAL.blameToPreviousFile(new Error("reference element does not have a parent"));var d=a.parentNode;return j(b,d,function(b){a.nextSibling?d.insertBefore(b,a.nextSibling):d.appendChild(b)})},insertBefore:function(a,b){if(!a||!a.parentNode)throw c("fb-error").TAAL.blameToPreviousFile(new Error("reference element does not have a parent"));var d=a.parentNode;return j(b,d,function(b){d.insertBefore(b,a)})},setContent:function(a,b){if(!a)throw c("fb-error").TAAL.blameToPreviousFile(new Error("reference element is not a node"));while(a.firstChild)i(a.firstChild);return h.appendContent(a,b)},appendContent:function(a,b){if(!a)throw c("fb-error").TAAL.blameToPreviousFile(new Error("reference element is not a node"));return j(b,a,function(b){a.appendChild(b)})},replace:function(a,b){if(!a||!a.parentNode)throw c("fb-error").TAAL.blameToPreviousFile(new Error("reference element does not have a parent"));var d=a.parentNode;return j(b,d,function(b){d.replaceChild(b,a)})},remove:function(a){i(typeof a==="string"?c("$")(a):a)},empty:function(a){a=typeof a==="string"?c("$")(a):a;while(a.firstChild)i(a.firstChild)}};function i(a){a.parentNode&&a.parentNode.removeChild(a)}function j(a,b,e){a=c("HTML").replaceJSONWrapper(a);if(a instanceof c("HTML")&&b.firstChild===null&&-1===a.toString().indexOf("7&&!d("DOMQuery").isNodeOfType(b,["table","tbody","thead","tfoot","tr","select","fieldset"])){var g=f?' ':"";b.innerHTML=c("TrustedTypesIEFixDOMPolicy").createHTML(g+a);f&&b.removeChild(b.firstChild);return Array.from(b.childNodes)}}else if(c("isTextNode")(b)){b.data=a;return[a]}g=document.createDocumentFragment();var h;f=[];b=[];var i=!1;a=c("createArrayFromMixed")(a);a.length===1&&a[0]instanceof c("FbtResultBase")&&(a=a[0].getContents());for(var j=0;j*/"});f["default"]=a}),66); __d("StreamBlockReader",["Promise","regeneratorRuntime"],(function(a,b,c,d,e,f){var g;a=function(){function a(a){var c=this;if(!a.getReader)throw new Error("No getReader method found on given object");this.$3=a.getReader();this.$1="";this.$2=null;this.$4=!1;this.$5="utf-8";this.$6="";this.$9=!1;this.$8=function(){return(g||(g=b("Promise"))).reject("Sorry, you are somehow using this too early.")};this.$7=new(g||(g=b("Promise")))(function(a,b){c.$8=a})}var c=a.prototype;c.changeEncoding=function(a){if(this.$2)throw new Error("Decoder already in use, encoding cannot be changed");this.$5=a};c.$10=function(){if(!self.TextDecoder)throw new Error("TextDecoder is not supported here");this.$2||(this.$2=new self.TextDecoder(this.$5));return this.$2};c.$11=function(){if(this.$9)throw new Error("Something else is already reading from this reader");this.$9=!0};c.$12=function(){this.$9=!1};c.isDone=function(){return this.$4};c.$13=function(){var a,c,d,e;return b("regeneratorRuntime").async(function(f){while(1)switch(f.prev=f.next){case 0:if(!(this.$6!=="")){f.next=4;break}a=this.$6;this.$6="";return f.abrupt("return",a);case 4:if(!this.isDone()){f.next=6;break}throw new Error("You cannot read from a stream that is done");case 6:f.next=8;return b("regeneratorRuntime").awrap(this.$3.read());case 8:c=f.sent;d=c.done;e=c.value;this.$4=d;d&&this.$8();return f.abrupt("return",e?this.$10().decode(e,{stream:!d}):"");case 14:case"end":return f.stop()}},null,this)};c.readNextBlock=function(){var a;return b("regeneratorRuntime").async(function(b){while(1)switch(b.prev=b.next){case 0:this.$11();a=this.$13();this.$12();return b.abrupt("return",a);case 4:case"end":return b.stop()}},null,this)};c.readUntilStringOrEnd=function(a){return b("regeneratorRuntime").async(function(c){while(1)switch(c.prev=c.next){case 0:c.next=2;return b("regeneratorRuntime").awrap(this.readUntilOneOfStringOrEnd_DO_NOT_USE([a]));case 2:return c.abrupt("return",c.sent);case 3:case"end":return c.stop()}},null,this)};c.readUntilStringOrThrow=function(a){var c,d,e;return b("regeneratorRuntime").async(function(f){while(1)switch(f.prev=f.next){case 0:if(a){f.next=2;break}throw new Error("cannot read empty string");case 2:this.$11(),c="",d=0;case 5:if(this.isDone()){f.next=23;break}f.t0=c;f.next=9;return b("regeneratorRuntime").awrap(this.$13());case 9:c=f.t0+=f.sent;if(!(c.length');return this.$JSONPTransport$p_5=c("DOM").appendContent(document.body,a)[0]};d.send=function(){var a=this;this.getTransportFrame().onload=function(){return a.$JSONPTransport$p_8()};this.getTransportFrame().src=this.getRequestURI().toString();this.$JSONPTransport$p_2=c("TimeSlice").getGuardedContinuation("JSONPTransport: waiting for first response")};d.handleResponse=function(a){var b=this;this.$JSONPTransport$p_2==null?void 0:this.$JSONPTransport$p_2(function(){b.inform("response",a),b.hasFinished()?c("setTimeout")(function(){return b.$JSONPTransport$p_9()},0):b.$JSONPTransport$p_2=c("TimeSlice").getGuardedContinuation("JSONPTransport: waiting for next response")})};d.abort=function(){if(this.$JSONPTransport$p_1)return;this.$JSONPTransport$p_1=!0;this.$JSONPTransport$p_9();k(this.getID());this.inform("abort")};d.$JSONPTransport$p_8=function(){this.$JSONPTransport$p_3||this.abort()};d.$JSONPTransport$p_9=function(){this.$JSONPTransport$p_5&&(c("DOM").remove(this.$JSONPTransport$p_5),this.$JSONPTransport$p_5=null)};return b}(c("mixin")(c("ArbiterMixin")));a.respond=function(a,b,c){var d=i[a];if(d){d.$JSONPTransport$p_3=!0;c||k(a);b;if(typeof b==="string")c=JSON.parse(b);else{c=JSON.parse((a=JSON.stringify(b))!=null?a:"null")}d.handleResponse(c)}};a.respond=c("TimeSlice").guard(a.respond,"JSONPTransport.respond",{root:!0});g["default"]=a}),98); __d("SessionName",["SessionNameConfig"],(function(a,b,c,d,e,f){e.exports={getName:function(){return b("SessionNameConfig").seed}}}),null); __d("bind",[],(function(a,b,c,d,e,f){function a(a,b){var c=Array.prototype.slice.call(arguments,2);if(typeof b!=="string")return Function.prototype.bind.apply(b,[a].concat(c));function d(){var d=c.concat(Array.prototype.slice.call(arguments));if(a[b])return a[b].apply(a,d)}d.toString=function(){return"bound lazily: "+a[b]};return d}e.exports=a}),null); __d("executeAfter",[],(function(a,b,c,d,e,f){function a(a,b,c){return function(){a.apply(c||this,arguments),b.apply(c||this,arguments)}}e.exports=a}),null); __d("goURI",["cr:8906"],(function(a,b,c,d,e,f,g){"use strict";g["default"]=b("cr:8906")}),98); __d("isSparkDotMetaDotComURI",[],(function(a,b,c,d,e,f){var g=new RegExp("(^|\\.)spark\\.meta\\.com$","i"),h=["https"];function a(a){if(a.isEmpty()&&a.toString()!=="#")return!1;return!a.getDomain()&&!a.getProtocol()?!1:h.indexOf(a.getProtocol())!==-1&&g.test(a.getDomain())}f["default"]=a}),66); __d("AsyncRequest",["errorCode","fbt","invariant","Arbiter","AsyncDOM","AsyncRequestConfig","AsyncResponse","Bootloader","CSS","DTSG","DTSG_ASYNC","Deferred","Env","ErrorGuard","Event","FBLogger","FetchStreamTransport","HTTPErrors","HasteResponse","PHPQuerySerializer","Parent","Promise","ResourceTimingsStore","ResourceTypes","ScriptPath","ServerJS","SessionName","TimeSlice","URI","UserAgent_DEPRECATED","ZeroRewrites","bind","clearTimeout","emptyFunction","executeAfter","fb-error","ge","getAsyncHeaders","getAsyncParams","gkx","goURI","isBulletinDotComURI","isEmpty","isFacebookURI","isHorizonDotMetaDotComURI","isInternalFBURI","isMessengerDotComURI","isSparkDotMetaDotComURI","isWorkDotMetaDotComURI","isWorkplaceDotComURI","isWorkroomsDotComURI","performanceAbsoluteNow","promiseDone","replaceTransportMarkers","setTimeout","setTimeoutAcrossTransitions","unrecoverableViolation","uriIsRelativePath"],(function(a,b,c,d,e,f,g,h,i,j){"use strict";var k,l,m,n,o,p,q;f=19e3;h=500;var r=1006,s=1004,t=1010,u=new Set([h,t,s,r]);function v(){try{return!window.domready}catch(a){return!0}}function w(a){return"onprogress"in a}function x(a){return"upload"in a&&"onprogress"in a.upload}function y(a){return"withCredentials"in a}function z(a){return a.status in{0:1,12029:1,12030:1,12031:1,12152:1}}function A(a){a=!a||typeof a==="function";a||c("FBLogger")("asyncresponse").mustfix("AsyncRequest response handlers must be functions. Pass a function, or use bind() to build one.");return a}var B=2,C=B,D=!1;c("Arbiter").subscribe("page_transition",function(a,b){!D?C=b.id:D=!1});var E="for (;;);",F=E.length,G=function(){function a(b){var e=this,f;this._allowIrrelevantRequests=!1;this._delayPreDisplayJS=!1;this._shouldReplaceTransportMarkers=!1;this._dispatchErrorResponse=function(a,b){var d=a.getError();e.clearStatusIndicator();if(!e._isRelevant()||d===t){e.abort();return}if(e._isServerDialogErrorCode(d)){var f=d==1357008||d==1357007;e.interceptHandler(a);d==1357041?e._solveQuicksandChallenge(a):d==1357007?e._displayServerDialog(a,f,!0):e._displayServerDialog(a,f)}else if(e.initialHandler(a)!==!1){c("clearTimeout")(e.timer);try{b(a)}catch(b){e.finallyHandler(a);throw b}e.finallyHandler(a)}};this._onStateChange=function(){var b=e.transport;if(!b)return;try{a._inflightCount--;d("ResourceTimingsStore").measureResponseReceived(c("ResourceTypes").XHR,e.resourceTimingStoreUID);try{b.getResponseHeader("X-FB-Debug")&&(e._xFbServer=b.getResponseHeader("X-FB-Debug"),c("fb-error").ErrorXFBDebug.add(e._xFbServer))}catch(a){}if(b.status>=200&&b.status<300)a.lastSuccessTime=Date.now(),e._handleXHRResponse(b);else if(d("UserAgent_DEPRECATED").webkit()&&typeof b.status==="undefined")e._invokeErrorHandler(1002);else if(c("AsyncRequestConfig").retryOnNetworkError&&z(b)&&e.remainingRetries>0&&!e._requestTimeout){e.remainingRetries--;delete e.transport;e.send(!0);return}else e._invokeErrorHandler();e.getOption("asynchronous_DEPRECATED")!==!1&&delete e.transport}catch(a){if(v())return;delete e.transport;e.remainingRetries>0?(e.remainingRetries--,e.send(!0)):(e.getOption("suppressErrorAlerts")||c("FBLogger")("AsyncRequest").catching(a).mustfix("AsyncRequest exception when attempting to handle a state change"),e._invokeErrorHandler(1007))}};this._handleTimeout=function(){e.continuation.last(function(){e._requestTimeout=!0;var a=e.timeoutHandler;e.abandon();a&&a(e);c("setTimeout")(function(){c("Arbiter").inform("AsyncRequest/timeout",{request:e})},0)})};this.continuation=c("TimeSlice").getPlaceholderReusableContinuation();this.transport=null;this.method="POST";this.uri="";this.timeout=null;this.timer=null;this.initialHandler=f=c("emptyFunction");this.handler=null;this.uploadProgressHandler=null;this.errorHandler=c("AsyncResponse").defaultErrorHandler;this.transportErrorHandler=null;this.timeoutHandler=null;this.interceptHandler=f;this.finallyHandler=f;this.abortHandler=f;this.serverDialogCancelHandler=null;this.relativeTo=null;this.statusElement=null;this.statusClass="";this.data={};this.headers={};this.file=null;this.context={};this.readOnly=!1;this.writeRequiredParams=[];this.remainingRetries=0;this.userActionID="-";this.resourceTimingStoreUID=d("ResourceTimingsStore").getUID(c("ResourceTypes").XHR,b!=null?b.toString():"");this.flushedResponseTextParseIndex=0;this.option={asynchronous_DEPRECATED:!0,suppressErrorHandlerWarning:!1,suppressEvaluation:!1,suppressErrorAlerts:!1,retries:0,bundle:!1,useIframeTransport:!1,handleErrorAfterUnload:!1,useFetchWithIframeFallback:!1};this.transportErrorHandler=c("bind")(this,"errorHandler");b!==void 0&&this.setURI(b);this.setAllowCrossPageTransition(c("AsyncRequestConfig").asyncRequestsSurviveTransitionsDefault||!1)}var f=a.prototype;f._dispatchResponse=function(a){this.clearStatusIndicator();if(!this._isRelevant()){this._invokeErrorHandler(t);return}if(this.initialHandler(a)===!1)return;c("clearTimeout")(this.timer);var b,d=this.getHandler();if(d)try{b=this._shouldSuppressJS(d(a))}catch(b){a.is_last&&this.finallyHandler(a);throw b}b||this._handleJSResponse(a);a.is_last&&this.finallyHandler(a)};f._shouldSuppressJS=function(b){return b===a.suppressOnloadToken};f._handlePreDisplayServerJS=function(a,b){var d=!1,e=[],f=function(){if(d){c("FBLogger")("AsyncResponse").warn("registerToBlockDisplayUntilDone_DONOTUSE called after AsyncResponse display started. This is a no-op.");return function(){}}var a,b=new(c("Deferred"))();e.push(b.getPromise());return c("TimeSlice").guard(function(){a&&c("clearTimeout")(a),b.resolve()},"AsyncRequestDisplayBlockingEvent",{propagationType:c("TimeSlice").PropagationType.EXECUTION})};a.handle(b,{bigPipeContext:{registerToBlockDisplayUntilDone_DONOTUSE:f}});d=!0;return e};f._hasEvalDomOp=function(a){return a&&a.length?a.some(function(a){return a[0]==="eval"}):!1};f._handleJSResponse=function(a){var b=this.getRelativeTo(),e=a.domops,f=a.dtsgToken,g=a.dtsgAsyncGetToken,h=a.jsmods,i=a.savedServerJSInstance;i&&i instanceof c("ServerJS")?i=i:i=new(c("ServerJS"))();i.setRelativeTo(b);if(h){var j={define:h.define,instances:h.instances,markup:h.markup};delete h.define;delete h.instances;delete h.markup;this._hasEvalDomOp(e)&&(j.elements=h.elements,delete h.elements);i.handle(j)}j=new(m||(m=c("URI")))(this.uri);(!j.getDomain()&&!j.getProtocol()||document.location.origin===j.getOrigin())&&(f&&d("DTSG").setToken(f),g&&d("DTSG_ASYNC").setToken(g));e&&(q||(q=c("ErrorGuard"))).applyWithGuard(function(){return d("AsyncDOM").invoke(e,b)},null,[],{errorType:"warn"});h&&i.handle(h);this._handleJSRegisters(a,"onload");this._handleJSRegisters(a,"onafterload")};f._handleJSRegisters=function(a,b){a=a[b];if(a)for(b=0;b=300&&e<=399){g=i._("__JHASH__SUtyZBh0Rzk__JHASH__");f=i._("__JHASH__StinKHRkRou__JHASH__");var h=d.getResponseHeader("Location");h&&c("goURI")(h,!0);a=!0}else g=i._("__JHASH__zR4dpqEC6W7__JHASH__"),f=i._("__JHASH__7UBdKMXdKi6__JHASH__");var j=new(c("AsyncResponse"))(this,d);Object.assign(j,{error:e,errorSummary:g,errorDescription:f,silentError:a});c("setTimeout")(function(){c("Arbiter").inform("AsyncRequest/error",{request:b,response:j})},0);if(v()&&!this.getOption("handleErrorAfterUnload"))return;if(!this.transportErrorHandler){c("FBLogger")("asyncresponse").mustfix("Async request to %s failed with a %d error, but there was no error handler available to deal with it.",this.getURI(),e);return}h=this.getTransportErrorHandler().bind(this);!(this.getOption("suppressErrorAlerts")||u.has(e))?c("FBLogger")("asyncresponse").addToCategoryKey(String(e)).mustfix("Async request failed with error %s: %s when requesting %s",e,f.toString(),this.getURI()):u.has(e)&&c("FBLogger")("asyncresponse").addToCategoryKey(String(e)).warn("Async request failed with error %s: %s when requesting %s",e,f.toString(),this.getURI());(q||(q=c("ErrorGuard"))).applyWithGuard(this._dispatchErrorResponse,this,[j,h])};f._isServerDialogErrorCode=function(a){return a==1357008||a==1357007||a==1357041||a==1442002||a==1357001};f._solveQuicksandChallenge=function(a){var b=this,d=a.getPayload();c("Bootloader").loadModules(["QuickSandSolver"],function(a){a.solveAndSendRequestBack(b,d)},"AsyncRequest")};f._displayServerDialog=function(a,b,d){var e=this;d===void 0&&(d=!1);var f=a.getPayload();if(f.__dialog!==void 0){this._displayServerLegacyDialog(a,b);return}b=f.__dialogx;new(c("ServerJS"))().handle(b);if(f.__should_use_mwa_reauth===!0){c("Bootloader").loadModules(["MWADeveloperReauthBarrier"],function(b){b.registerRequest(f.__dialogID,e,a)},"AsyncRequest");return}c("Bootloader").loadModules(["ConfirmationDialog"],function(b){b.setupConfirmation(a,e,d)},"AsyncRequest")};f._displayServerLegacyDialog=function(a,b){var d=this,e=a.getPayload().__dialog;if(c("gkx")("708253")){var f;c("FBLogger")("comet_infra").addMetadata("COMET_INFRA","ERROR_CODE",a.getError().toString()).addMetadata("COMET_INFRA","ERROR_URL",(f=(f=a.request)==null?void 0:f.getURI())!=null?f:"unknown").mustfix("AsyncRequest._displayServerLegacyDialog called in Comet")}c("Bootloader").loadModules(["Dialog"],function(c){c=new c(e);b&&c.setHandler(d._displayConfirmationHandler.bind(d,c));c.setCancelHandler(function(){var b=d.getServerDialogCancelHandler();try{b&&b(a)}catch(a){throw a}finally{d.finallyHandler(a)}}).setCausalElement(d.relativeTo).show()},"AsyncRequest")};f._displayConfirmationHandler=function(a){this.data.confirmed=1,Object.assign(this.data,a.getFormData()),this.send()};f._setJSONPTransport=function(a){a.subscribe("response",this._handleJSONPResponse.bind(this)),a.subscribe("abort",this._handleJSONPAbort.bind(this)),this.transport=a};f._handleJSONPResponse=function(a,b){a=this.transport;if(!a)return;b.bootloadOnly||(this.is_first=this.is_first===void 0);b=this._interpretResponse(b);b.asyncResponse&&(b.asyncResponse.is_first=this.is_first,b.asyncResponse.is_last=a.hasFinished());this.invokeResponseHandler(b);a.hasFinished()&&delete this.transport};f._handleJSONPAbort=function(){this._invokeErrorHandler(),delete this.transport};f._handleXHRResponse=function(a){var b;if(this.getOption("suppressEvaluation"))b={asyncResponse:new(c("AsyncResponse"))(this,a)};else try{this._handleFlushedResponse();a=a.responseText;a=this._filterOutFlushedText(a);a=this._unshieldResponseText(a);a=JSON.parse(a);b=this._interpretResponse(a)}catch(a){b=a.message,c("FBLogger")("async_request").catching(a).warn("Failed to handle response")}this.invokeResponseHandler(b)};f._handleFlushedResponse=function(){var a=this.flushedResponseHandler,b=this.transport;if(a&&b){var c=b.responseText.indexOf(E);c=c===-1?b.responseText.length:c;a(b.responseText.substring(this.flushedResponseTextParseIndex,c));this.flushedResponseTextParseIndex=c}};f._unshieldResponseText=function(a){if(a.length<=F)throw new Error("Response too short on async");var b=0;while(a.charAt(b)==" "||a.charAt(b)=="\n")b++;b&&a.substring(b,b+F)==E;return a.substring(b+F)};f._filterOutFlushedText=function(a){if(!this.flushedResponseHandler)return a;var b=a.indexOf(E);return b<0?a:a.substr(b)};f._interpretResponse=function(a){if(a.redirect)return{redirect:a.redirect};if(a.bootloadOnly)return{bootloadOnly:a.bootloadOnly};var b=a.error&&this._isServerDialogErrorCode(a.error);this._shouldReplaceTransportMarkers&&a.payload&&!b&&c("replaceTransportMarkers")({relativeTo:this.getRelativeTo(),bigPipeContext:null},a.payload);b=new(c("AsyncResponse"))(this);if(a.__ar!=1)c("FBLogger")("AsyncRequest").warn("AsyncRequest to endpoint %s returned a JSON response, but it is not properly formatted. The endpoint needs to provide a response using the AsyncResponse class in PHP.",this.getURI()),b.payload=a;else{Object.assign(b,a);a=this.transport;a&&a.getAllResponseHeaders!==void 0&&(b.responseHeaders=a.getAllResponseHeaders())}return{asyncResponse:b}};f._isMultiplexable=function(){if(this.getOption("useIframeTransport")||this.getOption("useFetchWithIframeFallback")){c("FBLogger")("AsyncRequest").mustfix("You cannot bundle AsyncRequest that uses iframe transport.");return!1}if(!c("isFacebookURI")(new(m||(m=c("URI")))(this.uri))){c("FBLogger")("AsyncRequest").mustfix("You can not bundle AsyncRequest sent to non-facebook URIs. Uri: %s",this.getURI());return!1}if(!this.getOption("asynchronous_DEPRECATED")){c("FBLogger")("AsyncRequest").mustfix("We cannot bundle synchronous AsyncRequests");return!1}return!0};f.handleResponse=function(a){a=this._interpretResponse(a);this.invokeResponseHandler(a)};f.setMethod=function(a){this.method=a.toString().toUpperCase();return this};f.getMethod=function(){return this.method};f.setData=function(a){this.data=a;return this};f.setRequestHeader=function(a,b){this.headers[a]=b;return this};f.setRawData=function(a){this.rawData=a;return this};f.getData=function(){return this.data};f.setContextData=function(a,b,c){c=c===void 0?!0:c;c&&(this.context["_log_"+a]=b);return this};f._setUserActionID=function(){this.userActionID=(d("SessionName").getName()||"-")+"/-"};f.setURI=function(a,b){b===void 0&&(b=!1);typeof a==="string"&&a.match(/^\/?u_\d+_\d+/)&&c("FBLogger")("asyncrequest").warn("Invalid URI %s",a);var e=new(m||(m=c("URI")))(a);if((this.getOption("useIframeTransport")||this.getOption("useFetchWithIframeFallback"))&&!c("isFacebookURI")(e)){b&&j(0,45284);return this}if(!this._allowCrossOrigin&&!this.getOption("useIframeTransport")&&!this.getOption("useFetchWithIframeFallback")&&!e.isSameOrigin()&&!c("uriIsRelativePath")(e)){b&&j(0,45285);return this}this._setUserActionID();if(!a||e.isEmpty()){c("FBLogger")("async_request").mustfix("URI cannot be empty");return this}this.uri=d("ZeroRewrites").rewriteURI(e);return this};f.getURI=function(){return this.uri.toString()};f.delayPreDisplayJS=function(a){a===void 0&&(a=!0);this._delayPreDisplayJS=a;return this};f.setInitialHandler=function(a){this.initialHandler=a;return this};f.setPayloadHandler=function(a){this.setHandler(function(b){a(b.payload)});return this};f.setHandler=function(a){A(a)&&(this.handler=a);return this};f.setFlushedResponseHandler=function(a){A(a)&&(this.flushedResponseHandler=a);return this};f.getHandler=function(){return this.handler||c("emptyFunction")};f.setProgressHandler=function(a){A(a)&&(this.progressHandler=a);return this};f.setUploadProgressHandler=function(a){A(a)&&(this.uploadProgressHandler=a);return this};f.setErrorHandler=function(a){A(a)&&(this.errorHandler=a);return this};f.setTransportErrorHandler=function(a){this.transportErrorHandler=a;return this};f.getErrorHandler=function(){return this.errorHandler||c("emptyFunction")};f.getTransportErrorHandler=function(){return this.transportErrorHandler||c("emptyFunction")};f.setTimeoutHandler=function(a,b){A(b)&&(this.timeout=a,this.timeoutHandler=b);return this};f.resetTimeout=function(a){if(!(this.timeoutHandler===null))if(a===null)this.timeout=null,c("clearTimeout")(this.timer),this.timer=null;else{var b=!this._allowCrossPageTransition;this.timeout=a;c("clearTimeout")(this.timer);b?this.timer=c("setTimeout")(this._handleTimeout.bind(this),this.timeout):this.timer=c("setTimeoutAcrossTransitions")(this._handleTimeout.bind(this),this.timeout)}return this};f.setNewSerial=function(){this.id=++B;return this};f.setInterceptHandler=function(a){this.interceptHandler=a;return this};f.setFinallyHandler=function(a){this.finallyHandler=a;return this};f.setAbortHandler=function(a){this.abortHandler=a;return this};f.getServerDialogCancelHandler=function(){return this.serverDialogCancelHandler};f.setServerDialogCancelHandler=function(a){this.serverDialogCancelHandler=a;return this};f.setPreBootloadHandler=function(a){this.preBootloadHandler=a;return this};f.setReadOnly=function(a){typeof a!=="boolean"||(this.readOnly=a);return this};f.getReadOnly=function(){return this.readOnly};f.setRelativeTo=function(a){this.relativeTo=a;return this};f.getRelativeTo=function(){return this.relativeTo};f.setStatusClass=function(a){this.statusClass=a;return this};f.setStatusElement=function(a){this.statusElement=a;return this};f.getStatusElement=function(){return c("ge")(this.statusElement)};f._isRelevant=function(){if(this._allowCrossPageTransition)return!0;return!this.id?!0:this.id>C};f.clearStatusIndicator=function(){var a=this.getStatusElement();a&&(d("CSS").removeClass(a,"async_saving"),d("CSS").removeClass(a,this.statusClass))};f._addStatusIndicator=function(){var a=this.getStatusElement();a&&(d("CSS").addClass(a,"async_saving"),d("CSS").addClass(a,this.statusClass))};f.specifiesWriteRequiredParams=function(){var a=this;return this.writeRequiredParams.every(function(b){a.data[b]=a.data[b]||(o||(o=c("Env")))[b]||(c("ge")(b)||{}).value;return a.data[b]!==void 0?!0:!1})};f.setOption=function(a,b){typeof this.option[a]!=="undefined"&&(this.option[a]=b);return this};f.getOption=function(a){typeof this.option[a]==="undefined";return this.option[a]};f.abort=function(){var a=this;this.continuation.last(function(){var b=a.transport;if(b){var d=a.getTransportErrorHandler();a.setOption("suppressErrorAlerts",!0);a.setTransportErrorHandler(c("emptyFunction"));a._requestAborted=!0;b.abort();a.setTransportErrorHandler(d)}a.abortHandler();J.unschedule(a)})};f.abandon=function(){var a=this;this.continuation.last(function(){var b;c("clearTimeout")(a.timer);a.setOption("suppressErrorAlerts",!0).setHandler(b=c("emptyFunction")).setErrorHandler(b).setTransportErrorHandler(b).setProgressHandler(b).setUploadProgressHandler(b);b=a.transport;b&&(a._requestAborted=!0,w(b)&&delete b.onprogress,x(b)&&delete b.upload.onprogress,b.abort());a.abortHandler();J.unschedule(a)})};f.setNectarModuleDataSafe=function(a){var b=this.setNectarModuleData;b&&b.call(this,a);return this};f.setAllowCrossPageTransition=function(a){this._allowCrossPageTransition=!!a;this.timer&&this.resetTimeout(this.timeout);return this};f.getAllowIrrelevantRequests=function(){return this._allowIrrelevantRequests};f.setAllowIrrelevantRequests=function(a){this._allowIrrelevantRequests=a;return this};f.setAllowCrossOrigin=function(a){this._allowCrossOrigin=a;return this};f.setAllowCredentials=function(a){this._allowCredentials=a;return this};f.setIsBackgroundRequest=function(a){this._isBackgroundRequest=a;return this};f.setReplaceTransportMarkers=function(a){a===void 0&&(a=!0);this._shouldReplaceTransportMarkers=a;return this};f.sendAndReturnAbortHandler=function(){var a=this;this.send();return function(){return a.abort()}};f.send=function(b){var f=this;b=b||!1;if(!this.uri)return!1;this.errorHandler||!this.getOption("suppressErrorHandlerWarning");(this.getOption("useIframeTransport")||this.getOption("useFetchWithIframeFallback"))&&this.method!="GET"&&this.setMethod("GET");this.timeoutHandler!==null&&(this.getOption("useIframeTransport")||this.getOption("useFetchWithIframeFallback"));if(!this.getReadOnly()){this.specifiesWriteRequiredParams();if(this.method!="POST")return!1}if(document.location.search.toString().includes(this.uri.toString()))return!1;if(this.uri.toString().includes("/../")||this.uri.toString().includes("\\../")||this.uri.toString().includes("/..\\")||this.uri.toString().includes("\\..\\"))return!1;Object.assign(this.data,c("getAsyncParams")(this.method));(p||(p=c("isEmpty")))(this.context)||(Object.assign(this.data,this.context),this.data.ajax_log=1);(o||(o=c("Env"))).force_param&&Object.assign(this.data,(o||(o=c("Env"))).force_param);this._setUserActionID();if(this.getOption("bundle")&&this._isMultiplexable()){J.schedule(this);return!0}this.setNewSerial();this.getOption("asynchronous_DEPRECATED")||this.uri.addQueryData({__sjax:1});c("Arbiter").inform("AsyncRequest/send",{request:this,ts:(n||(n=c("performanceAbsoluteNow")))()});var g,h;this.method=="GET"&&this.uri.addQueryData({fb_dtsg_ag:d("DTSG_ASYNC").getToken()});this.method=="GET"||this.rawData?(g=this.uri.addQueryData(this.data).toString(),h=this.rawData||""):(this._allowCrossOrigin&&this.uri.addQueryData({__a:1}),g=this.uri.toString(),h=(k||(k=d("PHPQuerySerializer"))).serialize(this.data));if(this.transport)return!1;if(this.getOption("useFetchWithIframeFallback"))try{var i=new(c("FetchStreamTransport"))(this.uri);this._setJSONPTransport(i);this._markRequestSent();i.send();this.setOption("useIframeTransport",!1);return!0}catch(a){this.setOption("useFetchWithIframeFallback",!1),this.setOption("useIframeTransport",!0)}if(this.getOption("useIframeTransport")){e(["JSONPTransport"],function(a){a=new a(f.uri);f._setJSONPTransport(a);f._markRequestSent();a.send()});return!0}this.flushedResponseHandler&&(this.flushedResponseTextParseIndex=0);var j;try{j=d("ZeroRewrites").getTransportBuilderForURI(this.uri)()}catch(a){throw c("unrecoverableViolation")(a.message,"comet_infra",{},{blameToPreviousFrame:1})}if(!j)return!1;this.schedule("AsyncRequest.send");j.onreadystatechange=function(){var a=f.transport;a&&a.readyState>=2&&a.readyState<=3&&f._handleFlushedResponse();j.readyState===4&&f.continuation.last(f._onStateChange)};this.progressHandler&&w(j)&&(j.onprogress=function(){for(var a=arguments.length,b=new Array(a),c=0;c0?e:null]});g=l==="";return j.jsx(c("FocusInertRegion.react"),{focusQuery:d("focusScopeQueries").tabbableScopeQuery,children:j.jsx("div",{className:(h||(h=c("stylex")))(p),"data-testid":void 0,children:i?j.jsx(c("CometScrollableArea.react"),{horizontal:!1,xstyle:n,children:b}):b})})},[q,e,i,n,p])}g["default"]=a}),98); __d("CometAddTypeaheadRecentSearchMutation",["CometAddTypeaheadRecentSearchMutation.graphql","cr:1012418"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h!==void 0?h:h=b("CometAddTypeaheadRecentSearchMutation.graphql");function a(a){var c=a.onBeforeCommitMutation,d=a.onError,e=a.onSuccess,f=a.relayEnvironment,g=a.searchScopeEntityID,h=a.selectedID,j=a.selectedText,k=a.selectedType,l=a.source,m=a.stsDirectNavType,n=a.stsDisambiguationType,o=a.stsHighConfidenceSource,p=a.userID;a=a.userInput;c&&c();b("cr:1012418").commitMutation(f,{mutation:i,onCompleted:function(a,b){b&&b.length?d&&d(new Error("Payload errors while executing `addTypeaheadRecentSearchMutation`.")):e&&e(a)},onError:d,variables:{input:{actor_id:p!=null?p:void 0,search_scope_entity_id:g,selected_id:h,selected_text:j,selected_type:k,source:l,sts_direct_nav_type_for_graphql:m,sts_disambiguation_type_for_graphql:n,sts_high_confidence_source_for_graphql:o,user_input:a}}})}g.commit=a}),98); __d("CometDeleteRecentSearchMutation",["CometDeleteRecentSearchMutation.graphql","cr:1012418"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h!==void 0?h:h=b("CometDeleteRecentSearchMutation.graphql");function a(a){var c=a.onBeforeCommitMutation,d=a.onError,e=a.onSuccess,f=a.relayEnvironment,g=a.searchEntityType,h=a.searchText;a=a.userID;c&&c();b("cr:1012418").commitMutation(f,{mutation:i,onCompleted:function(a,b){b&&b.length?d&&d(new Error("Payloads error while executing `deleteSearchMutation`.")):e&&e(a)},onError:d,variables:{input:babelHelpers["extends"]({},a!=null?{actor_id:a}:null,{search_entity_type:g,search_text:h})}})}g.commit=a}),98); __d("useSearchCometEventEmitterContext",["FBLogger","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=(h||d("react")).useContext;function a(a){a=i(a);a==null&&c("FBLogger")("search").mustfix("Missing event emitter context");return a}g["default"]=a}),98); __d("getSearchCometKeywordDataSourceStructuredSuggestionKey",[],(function(a,b,c,d,e,f){"use strict";function a(a){var b;if(((b=a.direct_nav_result)==null?void 0:b.ent_id)!=null){return"dir_nav_sts:"+((b=a.direct_nav_result)==null?void 0:b.ent_id)}if(((b=a.high_confidence_result)==null?void 0:b.hcm_id)!=null){return"hc_sts:"+((b=a.high_confidence_result)==null?void 0:b.hcm_id)}return((b=a.disambiguation_result)==null?void 0:b.title)!=null&&((b=a.disambiguation_result)==null?void 0:(b=b.disambiguation_info_list[0])==null?void 0:b.type)!=null?a.disambiguation_result.disambiguation_info_list[0].type+":"+a.disambiguation_result.title:null}f["default"]=a}),66); __d("getSearchCometKeywordDataSourceStructuredInfoForEntry",["CometRelay","getSearchCometKeywordDataSourceStructuredInfoForEntry_structuredTypeaheadInfo.graphql","getSearchCometKeywordDataSourceStructuredSuggestionKey"],(function(a,b,c,d,e,f,g){"use strict";var h;function a(a){a=a.structuredTypeaheadInfo;if(a==null)return{entryKey:null,extraLoggingInfo:null,label:null,markers:[],structuredInfo:null};a=d("CometRelay").readInlineData(h!==void 0?h:h=b("getSearchCometKeywordDataSourceStructuredInfoForEntry_structuredTypeaheadInfo.graphql"),a);var e=a.badge_info,f=a.direct_nav_result,g=a.disambiguation_result;a=a.high_confidence_result;var i=[],j,k,l;if(f!=null){i=["direct_nav"];var m=f.ent_id,n=f.entity_type,o=f.img_url,p=f.is_online,q=f.link_url,r=f.snippet,s=f.title;f=f.type;l=s;j={direct_nav_result:{ent_id:m,entity_type:n,img_url:o,is_online:p,link_url:q,snippet:r,title:s,type:f}};k={stsDirectNavEntityID:m,stsDirectNavEntityType:n,stsDirectNavType:f}}if(a!=null){i=["high_confidence"];o=a.hcm_id;p=a.picture_url;q=a.snippet;r=a.source_as_enum;s=a.text;l=s;j={high_confidence_result:{hcm_id:o,picture_url:p,snippet:q,source_as_enum:r,text:s}};k={stsHighConfidenceID:o,stsHighConfidenceSource:r}}if(g!=null){i=["disambiguation"];m=g.disambiguation_info_list;n=g.title;l=n;j={disambiguation_result:{disambiguation_info_list:m,title:n}};k={stsDisambiguationType:m[0].type}}return{badgeSnippet:(f=e==null?void 0:e.badge_text)!=null?f:void 0,entryKey:j!=null?c("getSearchCometKeywordDataSourceStructuredSuggestionKey")(j):null,extraLoggingInfo:k,label:l,markers:i,structuredInfo:j}}g["default"]=a}),98); __d("CometSearchBootstrapKeywordsDataSource.query",["CometSearchBootstrapKeywordsDataSourceQuery.graphql","filterNulls","getSearchCometKeywordDataSourceStructuredInfoForEntry","recoverableViolation"],(function(a,b,c,d,e,f,g){"use strict";var h;d=h!==void 0?h:h=b("CometSearchBootstrapKeywordsDataSourceQuery.graphql");function a(a){if(!a)return[];a=a.viewer;a=((a=a==null?void 0:(a=a.bootstrap_keywords)==null?void 0:a.edges)!=null?a:[]).map(function(a){return a.node}).filter(Boolean);return c("filterNulls")(a.map(function(a){var b,d=a.item_logging_id,e=a.item_logging_info,f=a.keyword_text,g=a.sts_info;a=a.suggestion_keys;if(f==null){c("recoverableViolation")("Cannot have TA bootstrap entry without keyword_text","search");return null}g=c("getSearchCometKeywordDataSourceStructuredInfoForEntry")({structuredTypeaheadInfo:g});var h=g.badgeSnippet,i=g.entryKey,j=g.extraLoggingInfo,k=g.label,l=g.markers;g=g.structuredInfo;b=(b=a)!=null?b:{};var m=b.default_key,n=b.keys;b=b.tier;return{key:(i=(i=i)!=null?i:g&&(a==null?void 0:a.default_key))!=null?i:f,label:(a=k)!=null?a:f,metaData:{logging:babelHelpers["extends"]({},j,{loggingID:(i=d)!=null?i:"",loggingInfo:e}),markers:new Set(["bootstrap","keyword"].concat(l))},rawData:{badgeSnippet:h,structuredInfo:g,suggestion_keys:b!=null?{default_key:m,keys:n,tier:b}:null},subtype:"bootstrap",type:"entry"}}))}g.query=d;g.normalize=a}),98); __d("CometSearchBootstrapKeywordsDataSource",["BaseTypeaheadDataCacheProvider","BaseTypeaheadDataProvider","BaseTypeaheadDataProviderQueryVariablesBuilder","BaseTypeaheadInMemoryMapDataCache","BaseTypeaheadPayloadDecoratorAddLimit","CometSearchBootstrapKeywordsDataSource.query","baseTypeaheadStartsWithMatchBuilder","promiseDone"],(function(a,b,c,d,e,f,g){"use strict";a=function(){function a(a){var b=a.limit,e=a.queryVariables;a=a.relayEnvironment;this.$2=new(c("BaseTypeaheadDataCacheProvider"))({cache:new(c("BaseTypeaheadInMemoryMapDataCache"))(),matchBuilder:c("baseTypeaheadStartsWithMatchBuilder")});this.$3=b;b=new(c("BaseTypeaheadDataProviderQueryVariablesBuilder"))(function(){return function(){return e}});this.$1=new(c("BaseTypeaheadDataProvider"))({query:d("CometSearchBootstrapKeywordsDataSource.query").query,queryVariablesBuilder:b,relayEnvironment:a})}var b=a.prototype;b.bootstrap=function(){var a=this;c("promiseDone")(this.$1.fetch({query:""}).then(function(a){a=a.response;return d("CometSearchBootstrapKeywordsDataSource.query").normalize(a)}).then(function(b){a.$2.clear(),a.$2.add(b,null)}))};b.fetchCache=function(a){var b=a.query;b=this.$2.match(b);var d=c("BaseTypeaheadPayloadDecoratorAddLimit")(this.$3);return d({entries:b,params:a})};b.clear=function(){this.$2.clear()};b.removeEntriesByEntID=function(a){var b=this.$2.values();for(var b=b,c=Array.isArray(b),d=0,b=c?b:b[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var e,f;if(c){if(d>=b.length)break;f=b[d++]}else{d=b.next();if(d.done)break;f=d.value}f=f;a===((e=f.rawData.structuredInfo)==null?void 0:(e=e.direct_nav_result)==null?void 0:e.ent_id)&&this.$2.remove(f)}};return a}();g["default"]=a}),98); __d("CometSearchKeywordDataSource.query",["CometSearchKeywordDataSourceQuery.graphql","cometUniqueID","getSearchCometKeywordDataSourceStructuredInfoForEntry"],(function(a,b,c,d,e,f,g){"use strict";var h;d=h!==void 0?h:h=b("CometSearchKeywordDataSourceQuery.graphql");function a(a,b){if(!a)return[];a=a.search_keywords_suggestion;var d=b.query.request_id;a=((a=a==null?void 0:(a=a.suggestions)==null?void 0:a.edges)!=null?a:[]).map(function(a){return a.node}).filter(Boolean);var e;try{b=JSON.parse(b.query.query_text);e=b!=null?b[0]:null}catch(a){}return a.map(function(a){var b,f=a.logging_id,g=a.logging_info,h=a.name,i=a.structured_info;a=a.suggestion_keys;i=c("getSearchCometKeywordDataSourceStructuredInfoForEntry")({structuredTypeaheadInfo:i});var j=i.badgeSnippet,k=i.entryKey,l=i.extraLoggingInfo,m=i.label,n=i.markers;i=i.structuredInfo;b=(b=a)!=null?b:{};var o=b.default_key,p=b.keys;b=b.tier;return{key:(a=(k=(k=k)!=null?k:i&&(a==null?void 0:a.default_key))!=null?k:h)!=null?a:c("cometUniqueID")(),label:(a=(k=m)!=null?k:h)!=null?a:"",metaData:{logging:babelHelpers["extends"]({},l,{loggingID:f,loggingInfo:g,query:e,sequenceID:d}),markers:new Set(["keyword"].concat(n))},rawData:{badgeSnippet:j,structuredInfo:i,suggestion_keys:b!=null?{default_key:o,keys:p,tier:b}:null},subtype:"keyword",type:"entry"}})}g.query=d;g.normalize=a}),98); __d("cometSearchKeywordDataSourceQueryVariablesBuilder",[],(function(a,b,c,d,e,f){"use strict";var g=10,h="blended";function a(a){return function(b){var c,d=b.loggingEventTrace;b=b.query;c=(c=a)!=null?c:{};var e=c.fetch_count,f=c.fetch_mode;c=c.group_id;c=JSON.stringify(c!=null?[{text:"",type:"group",uid:c},b]:[b]);return{query:{fetch_count:(b=e)!=null?b:g,fetch_mode:(e=f)!=null?e:h,query_text:c,request_id:d==null?void 0:d.sequenceID,session_id:(b=d==null?void 0:d.sessionID)!=null?b:""}}}}f["default"]=a}),66); __d("CometSearchKeywordDataSource",["BaseCacheEntryKeyBuilder","BaseTypeaheadDataProvider","BaseTypeaheadDataProviderQueryVariablesBuilder","BaseTypeaheadNetworkCacheDataSource","BaseTypeaheadQueryDataCacheProvider","CometSearchKeywordDataSource.query","baseTypeaheadDedupEntriesBuilder","baseTypeaheadLabelSuffixBuilder","cometSearchKeywordDataSourceQueryVariablesBuilder"],(function(a,b,c,d,e,f,g){"use strict";a=function(){function a(a){var b=a.dedupe,e=a.onError,f=a.queryVariables;a=a.relayEnvironment;f=new(c("BaseTypeaheadDataProviderQueryVariablesBuilder"))(c("cometSearchKeywordDataSourceQueryVariablesBuilder")).setDefaultVariables(f);e=new(c("BaseTypeaheadDataProvider"))({onError:e,query:d("CometSearchKeywordDataSource.query").query,queryVariablesBuilder:f,relayEnvironment:a});this.$1=new(c("BaseTypeaheadQueryDataCacheProvider"))({dedupe:(f=b)!=null?f:c("baseTypeaheadDedupEntriesBuilder")(c("BaseCacheEntryKeyBuilder")),suffixBuilder:function(){return c("baseTypeaheadLabelSuffixBuilder").apply(void 0,arguments)}});this.$2=new(c("BaseTypeaheadNetworkCacheDataSource"))(e,this.$1,{normalizeFunc:d("CometSearchKeywordDataSource.query").normalize})}var b=a.prototype;b.fetchCache=function(a){return this.$2.fetchCache(a)};b.fetchNetwork=function(a){return this.$2.fetchNetwork(a)};b.clearQueryCache=function(){this.$1.clear()};return a}();g["default"]=a}),98); __d("cometSearchTypeaheadPayloadDecoratorAddEcho",["BaseDataEntryKeyBuilder","cometTypeaheadMemoizeEntryKey"],(function(a,b,c,d,e,f,g){"use strict";function a(a){var b=a.keyBuilder,d=b===void 0?c("BaseDataEntryKeyBuilder"):b,e=a.limit;return function(a){var b=a.entries,f=a.params.query;b=(b=b)!=null?b:[];var g=b.find(function(a){return d(a).trim().toLowerCase()===f.trim().toLowerCase()})!=null,h=[];if(!g&&b.length=d.length)break;g=d[f++]}else{f=d.next();if(f.done)break;g=f.value}g=g;var h=b(g);h=h!=null?a.get(h):null;h!=null&&g.type==="section"&&(g.entries=g.entries.slice(0,h))}return c}}f["default"]=a}),66); __d("cometSearchTypeaheadDecorateRecentPayload",["BaseTypeaheadPayloadDecoratorAddLimit","baseTypeaheadFetchPayloadDecorate","cometSearchTypeaheadPayloadDecoratorApplySectionLimits"],(function(a,b,c,d,e,f,g){"use strict";function a(a,b){var d=b.getSectionLimitKey,e=b.limit;b=b.sectionLimits;var f=a.entries.every(function(a){return a.type==="section"});return c("baseTypeaheadFetchPayloadDecorate")(a,[f&&b!=null?c("cometSearchTypeaheadPayloadDecoratorApplySectionLimits")(b,d):c("BaseTypeaheadPayloadDecoratorAddLimit")(e)])}g["default"]=a}),98); __d("getCometSearchTypeaheadStructuredInfoKey",["getSearchCometKeywordDataSourceStructuredSuggestionKey"],(function(a,b,c,d,e,f,g){"use strict";function a(a){a=a.rawData.structuredInfo;return a==null?null:c("getSearchCometKeywordDataSourceStructuredSuggestionKey")(a)}g["default"]=a}),98); __d("CometSearchTypeaheadDefaultEntryComparator",["BaseDataEntryLabelKeyBuilder","getCometSearchTypeaheadStructuredInfoKey","recoverableViolation"],(function(a,b,c,d,e,f,g){"use strict";function h(a,b){var d=c("getCometSearchTypeaheadStructuredInfoKey")(a),e=c("getCometSearchTypeaheadStructuredInfoKey")(b);return d!=null&&e!=null?d===e:c("BaseDataEntryLabelKeyBuilder")(a)===c("BaseDataEntryLabelKeyBuilder")(b)}function a(a,b){if(!h(a,b)){c("recoverableViolation")("The suggestions are not dupes: "+a.key+" compared to "+b.key,"search");return a}var d=c("getCometSearchTypeaheadStructuredInfoKey")(a),e=c("getCometSearchTypeaheadStructuredInfoKey")(b);return d!=null&&e!=null?b:e!=null?b:a}g.areEntriesDupes=h;g.pickEntryToKeep=a}),98); __d("CometSearchTypeaheadServerDrivenEntryComparator",["FBLogger","getCometSearchTypeaheadStructuredInfoKey","gkx"],(function(a,b,c,d,e,f,g){"use strict";function h(a){a=(a=a.rawData)!=null?a:{};a=a.suggestion_keys;if(a==null)throw c("FBLogger")("search").mustfixThrow("Unexpected missing keys");return a}function a(a,b){var d=h(a),e=d.default_key;d=d.keys;var f=h(b),g=f.default_key,i=f.keys;if(d.some(function(a){return i.includes(a)}))return!0;f=c("getCometSearchTypeaheadStructuredInfoKey")(a);var k=c("getCometSearchTypeaheadStructuredInfoKey")(b);f!=null&&f===k&&j("STS dupe: same STS UI key but no keys overlap",a,b);if(d.length>0&&i.length>0)return!1;if(e==null||g==null)return!1;e===g&&a.label.toLowerCase()!==b.label.toLowerCase()&&j("STS dupe: same default key but different label",a,b);return e.toLowerCase()===g.toLowerCase()}function b(a,b){var c=h(a);c=c.tier;var d=h(b);d=d.tier;return c<=d?b:a}function i(a){var b=h(a),c=b.default_key;b=b.keys;return"ui key: "+a.key+", keys: "+(b.join(",")||"empty")+", default key: "+((b=c)!=null?b:"null")+", label: "+a.label}function j(a,b,d){c("FBLogger")("search").warn(a+": ("+i(b)+") vs ("+i(d)+")")}g.areEntriesDupes=a;g.pickEntryToKeep=b}),98); __d("cometSearchTypeaheadDedupeAndLog",["FBLogger","gkx","killswitch","requireDeferred"],(function(a,b,c,d,e,f,g){"use strict";var h=c("requireDeferred")("ODS").__setRef("cometSearchTypeaheadDedupeAndLog");function a(a,b,d){if(c("killswitch")("SEARCH_COMET_DISABLE_STS_DUPE_LOGGING"))return b;var e=new Map(),f=[];for(var b=b,g=Array.isArray(b),h=0,b=g?b:b[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var j;if(g){if(h>=b.length)break;j=b[h++]}else{h=b.next();if(h.done)break;j=h.value}j=j;var k=e.get(j.key);k!=null?i({caller:d,dupeEntry:j,existingEntry:k,strategy:a}):(e.set(j.key,j),f.push(j))}return f}function i(a){var b=a.caller,d=a.dupeEntry,e=a.existingEntry;a=a.strategy;var f=e.metaData.markers,g=d.metaData.markers;c("FBLogger")("search").warn("STS Dupe encountered: "+e.key+" ("+Array.from(f).join("_")+", label: "+e.label+") compared to "+d.key+"\n ("+Array.from(g).join("_")+", label: "+d.label+")");var i="comet_ta_sts_dupe_v4."+a,j=["react_key_"+(Array.from(f).join("_")||"plain_keyword"),b,"existing_kind_"+Array.from(f).join("_"),"dupe_kind_"+Array.from(g).join("_")].join(".");h.onReady(function(a){a.bumpEntityKey(354,i,j,1)})}g["default"]=a}),98); __d("cometSearchTypeaheadSTSDedupeEntries",["CometSearchTypeaheadDefaultEntryComparator","CometSearchTypeaheadServerDrivenEntryComparator","cometSearchTypeaheadDedupeAndLog","filterNulls"],(function(a,b,c,d,e,f,g){"use strict";function a(a,b,c){c===void 0&&(c="bootstrap_and_backend_merge");var e=a.concat(b).every(function(a){return a.rawData.suggestion_keys!=null});return h.apply(void 0,[a,b,c].concat(e?[d("CometSearchTypeaheadServerDrivenEntryComparator").areEntriesDupes,d("CometSearchTypeaheadServerDrivenEntryComparator").pickEntryToKeep]:[d("CometSearchTypeaheadDefaultEntryComparator").areEntriesDupes,d("CometSearchTypeaheadDefaultEntryComparator").pickEntryToKeep]))}function h(a,b,e,f,g){var h=d("CometSearchTypeaheadServerDrivenEntryComparator").areEntriesDupes,i=[],j=new Set(b);for(var a=a,k=Array.isArray(a),l=0,a=k?a:a[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var m;if(k){if(l>=a.length)break;m=a[l++]}else{l=a.next();if(l.done)break;m=l.value}m=m;i.push(m)}for(m=b,l=Array.isArray(m),k=0,m=l?m:m[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){if(l){if(k>=m.length)break;a=m[k++]}else{k=m.next();if(k.done)break;a=k.value}b=a;a=[];for(var n=0;n=m)return t({entries:b,params:e});d=s.fetchCache(a);e=d.entries;a=d.params;d=u(b,e);return t({entries:d,params:a})},[r,t,u,s,m,o,n]),y=j(function(a){var d=a.query;if(d===""&&o!=null)return o.fetchNetwork(a).then(function(a){return c("cometSearchTypeaheadDecorateRecentPayload")({entries:a.entries,params:a.params},{getSectionLimitKey:function(a){return a.type==="section"?a.subtype:null},limit:m,sectionLimits:n})});if(d==="")return(h||(h=b("Promise"))).resolve({entries:[],params:a});return r==null?s.fetchNetwork(a).then(function(a){return t(babelHelpers["extends"]({},a))}):s.fetchNetwork(a).then(function(b){var c=r.fetchCache(a);c=c.entries;var d=b.entries;b=b.params;c=u(c,d);return t({entries:c,params:b})})},[r,t,u,s,m,o,n]),z=j(function(a,b){o!=null&&o.remove(a,b)},[o]);return k(function(){return{addRecentEntry:w,bootstrap:v,clearQueryCache:function(){return s.clearQueryCache()},clearRecentSearches:function(){return o==null?void 0:o.clear()},fetchCache:x,fetchNetwork:y,getBootstrapKeywordsDataSource:function(){return r},refreshRecentSearches:function(){return o==null?void 0:o.refresh()},removeRecentEntry:z}},[r,w,v,x,y,z,s,o])}g["default"]=a}),98); __d("searchCometTypeaheadSubtractSections",[],(function(a,b,c,d,e,f){"use strict";function a(a,b){var c=new Set(a.entries.map(function(a){return a.key}));b.entries=b.entries.filter(function(a){return!c.has(a.key)})}f["default"]=a}),66); __d("searchCometTypeaheadMergeSections",["searchCometTypeaheadSubtractSections"],(function(a,b,c,d,e,f,g){"use strict";function a(a,b){c("searchCometTypeaheadSubtractSections")(a,b),b.entries=a.entries.concat(b.entries)}g["default"]=a}),98); __d("CometSearchRecentDataCacheProvider",["BaseDataEntryLabelKeyBuilder","searchCometTypeaheadMergeSections","searchCometTypeaheadSubtractSections"],(function(a,b,c,d,e,f,g){"use strict";a=function(){function a(a){var b=a.cache,d=a.matchBuilder;a=a.keyBuilder;a=a===void 0?c("BaseDataEntryLabelKeyBuilder"):a;this.$1=b;this.$2=d;this.$3=a}var b=a.prototype;b.add=function(a,b,d){var e=this;if(d==="network"){this.$1.clear();[].concat(a).reverse().forEach(function(a){var b=e.$3(a);e.$1.set(b,a)});return}a.forEach(function(a){var b=e.$3(a),d=e.$1.get(b);if(d)if(d.type==="section"&&a.type==="section"){c("searchCometTypeaheadMergeSections")(a,d);return}else e.$1.remove(b);e.$1.set(b,a)})};b.clear=function(){this.$1.clear()};b.remove=function(a){var b=this.$3(a),d=this.$1.get(b);d&&d.type==="section"&&a.type==="section"&&d.entries.length!==0?c("searchCometTypeaheadSubtractSections")(a,d):this.$1.remove(b)};b.match=function(a){var b=this.$2({query:a});return this.$1.values().map(function(a){return a.type==="section"?babelHelpers["extends"]({},a):babelHelpers["extends"]({},a)}).reverse().filter(function(a){if(a.type==="section"){a.entries=a.entries.filter(b);return!0}else return b(a)})};b.values=function(){return this.$1.values()};return a}();g["default"]=a}),98); __d("cometSearchNullStateMatchBuilder",[],(function(a,b,c,d,e,f){"use strict";function a(){return function(a){a=a.metaData.markers;return a.has("recent")||a.has("nullstate_explore")||a.has("keyword")}}f["default"]=a}),66); __d("CometSearchRecentDataSource",["fbt","BaseDataEntryKeyBuilder","BaseTypeaheadDataProvider","BaseTypeaheadDataProviderQueryVariablesBuilder","BaseTypeaheadInMemoryListDataCache","BaseTypeaheadNetworkDataSource","CometAddTypeaheadRecentSearchMutation","CometDeleteRecentSearchMutation","CometSearchRecentDataCacheProvider","Promise","cometSearchNullStateMatchBuilder","filterNulls","qex"],(function(a,b,c,d,e,f,g,h){"use strict";var i;a=function(){var a=e.prototype;a.$8=function(){var a=c("filterNulls")(this.$2.values().map(function(a){return a.type==="section"&&a.subtype==="recent_searches"?a:null}));return a.length!==0?a[0]:null};function e(a){var b=a.activityLogURL,d=a.gqlQuery,e=a.limit,f=a.normalize,g=a.options,h=a.queryVariablesBuilderFunction;a=a.relayEnvironment;this.$4=a;this.$5=e;this.$6=h({query:""}).filter;this.$7=b;a=function(){return h};e=new(c("BaseTypeaheadDataProviderQueryVariablesBuilder"))(a);b=new(c("BaseTypeaheadDataProvider"))({options:g,query:d,queryVariablesBuilder:e,relayEnvironment:this.$4});this.$2=new(c("CometSearchRecentDataCacheProvider"))({cache:new(c("BaseTypeaheadInMemoryListDataCache"))(),keyBuilder:c("BaseDataEntryKeyBuilder"),matchBuilder:c("cometSearchNullStateMatchBuilder")});this.$1=new(c("BaseTypeaheadNetworkDataSource"))(b,f)}a.add=function(a,b,c){c=c===void 0?{}:c;var e=c.onBeforeCommitMutation,f=c.onError;c=c.onSuccess;var g=a.metaData,h=this.$8();h!=null?this.$2.add([babelHelpers["extends"]({},h,{entries:[a]})],""):this.$2.add([a],"");g=(h=g==null?void 0:g.logging)!=null?h:{};h=g.entityID;var i=g.entityType,j=g.searchScopeEntityID,k=g.stsDirectNavEntityID,l=g.stsDirectNavType,m=g.stsDisambiguationType,n=g.stsHighConfidenceID;g=g.stsHighConfidenceSource;d("CometAddTypeaheadRecentSearchMutation").commit({onBeforeCommitMutation:e,onError:f,onSuccess:c,relayEnvironment:this.$4,searchScopeEntityID:j,selectedID:(f=(e=h)!=null?e:k)!=null?f:n,selectedText:a.label.toLowerCase(),selectedType:(c=i)!=null?c:"keyword",source:b,stsDirectNavType:l,stsDisambiguationType:m,stsHighConfidenceSource:g,userInput:a.label.toLowerCase()})};a.bootstrap=function(){var a;a=(a=c("qex")._("1300"))!=null?a:!1;if(a&&this.$6==="all")return;this.fetchNetwork({query:""})};a.fetchCache=function(a){var b=a.query;b=this.$2.match(b);return{entries:b,params:a}};a.fetchNetwork=function(a){var c=this;return this.$3!=null&&this.$3=b.length)break;h=b[g++]}else{g=b.next();if(g.done)break;h=g.value}h=h;if(h.__typename==="%other")continue;var i=h.key,m=h.result;if(m==null||i==null)continue;m=m.header_text;if(h.__typename==="XFBSearchNullStateSearchHistoryHeaderRenderingStrategy"&&m!=null){var n;d.push({entries:k((n=(n=a.viewer)==null?void 0:(n=n.recent_searches)==null?void 0:n.edges)!=null?n:[]),key:i,label:m,subtype:"recent_searches",type:"section"})}else if(h.__typename==="XFBSearchNullStateGeneralHeaderRenderingStrategy"&&m!=null)e={header_text:m,key:i};else if(h.__typename==="XFBSearchNullStateListRenderingStrategy"&&e!=null){n=e;m=n.header_text;i=n.key;d.push({entries:l(h),key:i,label:m,subtype:"other",type:"section"});e=null}}return d}function k(a){return c("filterNulls")(a.map(function(a){var b=a.node;a=a.search_badge;if(b==null)return null;var d=b.__typename,e=b.id,f=b.item_logging_info,g=b.last_active_messages_status,h=b.name,i=b.profile_picture,j=b.sts_info;b=b.url;var k=c("searchCometIsValidRecentSearchEntityType")(d);j=c("getSearchCometKeywordDataSourceStructuredInfoForEntry")({structuredTypeaheadInfo:j});var l=j.extraLoggingInfo,m=j.label,n=j.markers;j=j.structuredInfo;if(h==null){c("FBLogger")("search").mustfix("Missing name for recent search data with __typename: %s",d);return null}var o=h.toLocaleLowerCase();return{key:o,label:(o=m)!=null?o:h,metaData:{logging:babelHelpers["extends"]({},l,{entityID:k?e:null,entityType:k&&d!=null?d.toLowerCase():null,loggingInfo:f}),markers:new Set(c("filterNulls")(["recent",k?"entity":null].concat(n)))},rawData:{badgeSnippet:(a==null?void 0:a.enabled)===!0?a.snippet:null,isOnline:(h=(m=g==null?void 0:g.is_currently_active)!=null?m:j==null?void 0:(o=j.direct_nav_result)==null?void 0:o.is_online)!=null?h:!1,profile:k&&e!=null&&(i==null?void 0:i.uri)!=null&&b!=null?{id:e,profilePictureURL:i.uri,url:b}:void 0,structuredInfo:j},subtype:"recent",type:"entry"}}))}function l(a){if(a.__typename!=="XFBSearchNullStateListRenderingStrategy")return[];a=(a=a.result)!=null?a:{};a=a.suggestions;return c("filterNulls")(((a=a)!=null?a:[]).map(function(a){if(a.__typename!=="XFBSearchNullStateQuerySuggestion")return null;var b=a.display_text,d=a.key,e=a.sts_info,f=a.suggestion_logging_info;if(b==null){c("FBLogger")("search").mustfix("Missing name for nullstate suggestion search data with __typename: %s",a.__typename);return null}if(d==null){c("FBLogger")("search").mustfix("Missing key for nullstate suggestion search data with __typename: %s",a.__typename);return null}a=c("getSearchCometKeywordDataSourceStructuredInfoForEntry")({structuredTypeaheadInfo:e});e=a.extraLoggingInfo;var g=a.markers;a=a.structuredInfo;f=(f=f)!=null?f:{};var h=f.fetch_source;f=f.logging_info;return{key:d,label:b,metaData:{logging:babelHelpers["extends"]({fetchSource:h,loggingInfo:((d=f)!=null?d:[])[0]},e),markers:new Set(new Set(["keyword","nullstate_explore"].concat(g)))},rawData:{structuredInfo:a},subtype:"keyword",type:"entry"}}))}g.query=d;g.normalize=a}),98); __d("searchCometTypeaheadWithRecentDataSourceContext",["CometSearchRecentDataSourceDispatcherContext","SearchCometTypeaheadEventEmitterContext","react","useCometInternalTypeaheadFetch","useSearchCometEventEmitterContext"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||(h=d("react"));b=h;var j=b.useCallback,k=b.useEffect,l=b.useMemo;function a(a,b){var d=b.dataSource,e=b.shouldSubscribeToRecentSearches;return function(b){var f=b.inputRef,g=b.onPressEntry,h=b.onSelectFreeformQuery;b=babelHelpers.objectWithoutPropertiesLoose(b,["inputRef","onPressEntry","onSelectFreeformQuery"]);var m=c("useCometInternalTypeaheadFetch")(),n=m.refetch;m=(m=c("useSearchCometEventEmitterContext")(c("SearchCometTypeaheadEventEmitterContext")))!=null?m:{};var o=m.subscribeToRecentSearchEntryAdded;k(function(){if(e)return o==null?void 0:o(function(a){d.addRecentEntry(a)})},[o]);m=j(function(a){var b={key:a,label:a,metaData:{markers:new Set(["recent"])},rawData:{},subtype:"recent",type:"entry"};d.addRecentEntry(b);h&&h(a)},[h]);var p=j(function(a){var b,c=a.label,e=a.metaData;b=(b=e==null?void 0:e.markers)!=null?b:new Set();if(b.has("nullstate_explore")){g&&g(a);return}var f=new Set(["recent"]);b.has("entity")&&f.add("entity");b.has("direct_nav")&&f.add("direct_nav");b.has("high_confidence")&&f.add("high_confidence");a.subtype==="recent"||a.subtype==="bootstrap"||a.subtype==="keyword"?b=babelHelpers["extends"]({},a.rawData,{badgeSnippet:null}):b={};e=(e=e==null?void 0:e.logging)!=null?e:{};var h=e.entityID,i=e.entityType,j=e.loggingInfo,k=e.stsDirectNavEntityID,l=e.stsDirectNavType,m=e.stsDisambiguationType,n=e.stsHighConfidenceID;e=e.stsHighConfidenceSource;d.addRecentEntry({key:c.toLocaleLowerCase(),label:c,metaData:{logging:{entityID:h,entityType:i,loggingInfo:j,stsDirectNavEntityID:k,stsDirectNavType:l,stsDisambiguationType:m,stsHighConfidenceID:n,stsHighConfidenceSource:e},markers:f},rawData:b,subtype:"recent",type:"entry"});g&&g(a)},[g]),q=j(function(a){d.removeRecentEntry(a,{onBeforeCommitMutation:function(){n({source:"cache"})}})},[n]),r=l(function(){return{dispatchRemoveRecentEntry:q}},[q]);return i.jsx(c("CometSearchRecentDataSourceDispatcherContext").Provider,{value:r,children:i.jsx(a,babelHelpers["extends"]({},b,{inputRef:f,onPressEntry:p,onSelectFreeformQuery:m}))})}}g["default"]=a}),98); __d("useSearchCometTypeaheadRecentDataSourceContextDecorator",["react","searchCometTypeaheadWithRecentDataSourceContext"],(function(a,b,c,d,e,f,g){"use strict";var h,i=(h||d("react")).useMemo;function a(a,b){b===void 0&&(b=!0);return i(function(){return{decorate:function(){return c("searchCometTypeaheadWithRecentDataSourceContext").apply(void 0,arguments)},params:{dataSource:a,shouldSubscribeToRecentSearches:b}}},[a,b])}g["default"]=a}),98); __d("useSearchCometRecentSearchDataSource",["Actor","CometRelay","CometSearchRecentDataSource","CometSearchRecentDataSource.query","WebPixelRatio","XCometActivityLogControllerRouteBuilder","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=(h||d("react")).useMemo,j=16;function a(a){var b=a.fetchAvailability,e=b===void 0?!1:b;b=a.fetchSearchBadge;var f=b===void 0?!1:b,g=a.filter,h=a.nullStateSurface,k=a.searchScopeEntityID,l=d("CometRelay").useRelayEnvironment();b=d("Actor").useActor();a=b[0];var m=c("XCometActivityLogControllerRouteBuilder").buildURL({category_key:"SEARCH",entry_point:"edit_search_history",log_filter:"search",vanity:a});return i(function(){return new(c("CometSearchRecentDataSource"))({activityLogURL:m,gqlQuery:d("CometSearchRecentDataSource.query").query,limit:j,normalize:d("CometSearchRecentDataSource.query").normalize,queryVariablesBuilderFunction:function(){return{fetch_availability:e,fetch_nullstate:h!=null,fetch_recent_searches:g!=null,fetch_search_badge:f,filter:g,first:j,scale:d("WebPixelRatio").get(),search_null_state_argument:h!=null?{surface:{name:h}}:{surface:{name:"GLOBAL"}},search_scope_entity_id:k}},relayEnvironment:l})},[m,f,g,h,l,k])}g["default"]=a}),98);/*FB_PKG_DELIM*/ __d("useCometTooltipQP_quickPromotion.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"useCometTooltipQP_quickPromotion",selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"promotion_creatives",plural:!0,selections:[{kind:"RequiredField",field:{alias:null,args:null,kind:"ScalarField",name:"title_text",storageKey:null},action:"LOG",path:"promotion_creatives.title_text"}],storageKey:null},{args:null,kind:"FragmentSpread",name:"useQP_quickPromotion"}],type:"QuickPromotion",abstractKey:null};e.exports=a}),null); __d("useQP_quickPromotion.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"useQP_quickPromotion",selections:[{kind:"RequiredField",field:{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},action:"THROW",path:"id"},{kind:"RequiredField",field:{alias:null,args:null,kind:"ScalarField",name:"encrypted_logging_data",storageKey:null},action:"THROW",path:"encrypted_logging_data"},{kind:"RequiredField",field:{alias:"surface_id",args:null,kind:"ScalarField",name:"nux_id",storageKey:null},action:"THROW",path:"surface_id"},{kind:"RequiredField",field:{alias:null,args:null,kind:"ScalarField",name:"trigger",storageKey:null},action:"THROW",path:"trigger"}],type:"QuickPromotion",abstractKey:null};e.exports=a}),null); __d("CometDefaultKeyCommands",["fbt","CometKeys","gkx"],(function(a,b,c,d,e,f,g,h){"use strict";a=Object.freeze(babelHelpers["extends"]({global:{label:h._("__JHASH__vTbx5ula3Ub__JHASH__"),shortcuts:{search:{command:{key:c("CometKeys").SLASH},description:h._("__JHASH__65GAtmpimeL__JHASH__"),singleCharDescription:h._("__JHASH__HqO0KsGMlbJ__JHASH__")},toggleDarkMode:{command:{alt:!0,key:c("CometKeys").M},description:h._("__JHASH__DFgslFbdJR5__JHASH__"),isHiddenCommand:c("gkx")("425")?void 0:!0},toggleNub:{command:{key:c("CometKeys").QUESTION,shift:!0},description:h._("__JHASH__w4u2XmGo_LN__JHASH__")},toggleNubFunctionKey:{command:{key:c("CometKeys").F1},description:h._("__JHASH__w4u2XmGo_LN__JHASH__")}}},groups:{label:h._("__JHASH__5ycXpLiowDK__JHASH__"),shortcuts:{groupSearch:{command:{command:!0,key:c("CometKeys").SLASH},description:h._("__JHASH__UwVHz4hi5qC__JHASH__"),order:6},newGroupEvent:{command:{key:c("CometKeys").E},description:h._("__JHASH__bXPAFcKoHVs__JHASH__"),order:1,singleCharDescription:h._("__JHASH__B9NoOgWqa7a__JHASH__")},viewNextPinnedGroup:{command:{alt:!0,key:c("CometKeys").DOWN},description:h._("__JHASH__ryvFG_XPxff__JHASH__"),order:5},viewNextVideo:{command:{alt:!0,key:c("CometKeys").RIGHT},description:h._("__JHASH__Co4R3_i3LJX__JHASH__"),order:3},viewPreviousPinnedGroup:{command:{alt:!0,key:c("CometKeys").UP},description:h._("__JHASH__ghiGJdiPxiO__JHASH__"),order:4},viewPreviousVideo:{command:{alt:!0,key:c("CometKeys").LEFT},description:h._("__JHASH___UWyiXo4b1A__JHASH__"),order:2}}},newsfeed:{label:h._("__JHASH__3bhd46OOtgQ__JHASH__"),shortcuts:{commentStory:{command:{key:c("CometKeys").C},description:h._("__JHASH__S60IOgnbCS6__JHASH__"),singleCharDescription:h._("__JHASH__8eG9xxpUBK___JHASH__")},likeStory:{command:{key:c("CometKeys").L},description:h._("__JHASH__DX2kjgJe1lw__JHASH__"),singleCharDescription:h._("__JHASH__qzjRCdVl8UB__JHASH__")},newPost:{command:{key:c("CometKeys").P},description:h._("__JHASH__gCb4Qn8jJYV__JHASH__"),singleCharDescription:h._("__JHASH__rWgYV326oik__JHASH__")},openAttachment:{command:{key:c("CometKeys").O},description:h._("__JHASH__PENXVObp6HH__JHASH__"),shouldStopPropagation:!1,singleCharDescription:h._("__JHASH__9ZqYYIUi2ux__JHASH__")},scrollNext:{command:{key:c("CometKeys").J},description:h._("__JHASH__WOloUQmdmos__JHASH__"),singleCharDescription:h._("__JHASH__pjB1urhcDtz__JHASH__")},scrollPrevious:{command:{key:c("CometKeys").K},description:h._("__JHASH__8Xw825Irnyt__JHASH__"),singleCharDescription:h._("__JHASH__X1clBpl2A59__JHASH__")},searchContacts:{command:{key:c("CometKeys").Q},description:h._("__JHASH__tNIUJ6lgcTQ__JHASH__"),singleCharDescription:h._("__JHASH__ZOEvffglsxE__JHASH__")},seeMore:{command:{key:c("CometKeys").ENTER},description:h._("__JHASH__xSvc24O-mfg__JHASH__"),singleCharDescription:h._("__JHASH__2JfkN_FFXsH__JHASH__")},shareStory:{command:{key:c("CometKeys").S},description:h._("__JHASH__B_iW89OoYd8__JHASH__"),singleCharDescription:h._("__JHASH__Z6OsPJdfk0___JHASH__")}}},photoViewer:{label:h._("__JHASH__BXWDUC-L-Ri__JHASH__"),shortcuts:{fullscreen:{command:{key:c("CometKeys").F},description:h._("__JHASH__B9xS9GGbzeo__JHASH__"),singleCharDescription:h._("__JHASH__3gvTTPZFuR6__JHASH__")},like:{command:{key:c("CometKeys").L},description:h._("__JHASH__fPWFoO_4sHL__JHASH__"),singleCharDescription:h._("__JHASH__6boa--Dsc86__JHASH__")},viewNext:{command:{key:c("CometKeys").K},description:h._("__JHASH__Cwg8ChuUCza__JHASH__"),singleCharDescription:h._("__JHASH__D5hbXD4Qvlf__JHASH__")},viewPrevious:{command:{key:c("CometKeys").J},description:h._("__JHASH__5PUjENdCJD1__JHASH__"),singleCharDescription:h._("__JHASH__ap7P4LUMQ-g__JHASH__")}}},search:{label:h._("__JHASH__E00LcbSnfXh__JHASH__"),shortcuts:{scrollNextResult:{command:{key:c("CometKeys").J},description:h._("__JHASH__bmPeLBy-eKQ__JHASH__"),singleCharDescription:h._("__JHASH___N3WTKcqt3k__JHASH__")},scrollPreviousResult:{command:{key:c("CometKeys").K},description:h._("__JHASH__66y7Uf7htWH__JHASH__"),singleCharDescription:h._("__JHASH__G1e3rdFAKxh__JHASH__")}}}},c("gkx")("3598")&&{chats:{label:h._("__JHASH__er63PmpxxU9__JHASH__"),shortcuts:{forwardMessage:{command:{key:c("CometKeys").F},description:h._("__JHASH__BoPi-Cj1ZgB__JHASH__"),order:3,singleCharDescription:h._("__JHASH__sAzlvATWOJK__JHASH__")},jumpToChatList:{command:{alt:!0,key:c("CometKeys").C},description:h._("__JHASH__yEELQaU6ZJv__JHASH__"),order:6,singleCharDescription:h._("__JHASH__ruOmPk73z78__JHASH__"),triggerFromInputs:!0},likeMessage:{command:{key:c("CometKeys").L},description:h._("__JHASH__92Cxpl6anqS__JHASH__"),order:1,singleCharDescription:h._("__JHASH__9GZYcHNSXWM__JHASH__")},removeMessage:{command:{key:c("CometKeys").X},description:h._("__JHASH__r-tRfkmegvn__JHASH__"),order:4,singleCharDescription:h._("__JHASH__rCo38Z3GsLf__JHASH__")},replyToMessage:{command:{key:c("CometKeys").R},description:h._("__JHASH__2livKuCsmS6__JHASH__"),order:2,singleCharDescription:h._("__JHASH__HlXWG9dX1DN__JHASH__")},writeMessageToCurrentChat:{command:{alt:!0,key:c("CometKeys").W},description:h._("__JHASH__260-EYyZSfn__JHASH__"),order:5,singleCharDescription:h._("__JHASH__98yCRWkkRKQ__JHASH__"),triggerFromInputs:!0}}}}));b=a;a;g["default"]=b}),98); __d("cometGetKeyCommandConfig",["fbt","cr:2011405","cr:2011406","gkx","recoverableViolation"],(function(a,b,c,d,e,f,g,h){"use strict";var i={command:null,description:h._("__JHASH__b304p5m3LLr__JHASH__"),handler:function(){return void 0},isHiddenCommand:!0};function j(a,b,d,e,f){if(e==null){c("recoverableViolation")(f,"comet_ax");return i}if(!Object.prototype.hasOwnProperty.call(e,a)||!Object.prototype.hasOwnProperty.call(e[a].shortcuts,b)){c("recoverableViolation")("Missing default key command config for "+a+" and "+b,"comet_ax");return i}f=e[a].shortcuts[b];e=f.command;var g=f.description;return e!=null&&g!=null?{command:e,commandID:b,description:g,groupID:a,handler:d,isHiddenCommand:f.isHiddenCommand,singleCharDescription:f.singleCharDescription,triggerFromInputs:f.triggerFromInputs}:i}function a(a,c,d){return j(a,c,d,b("cr:2011405"),"getCometKeyCommandConfig should only be used in Comet")}function d(a,d,e){var f=c("gkx")("1224637")?b("cr:2011406"):b("cr:2011405");return j(a,d,e,f,"Reached unreachable code")}g.getKeyCommandConfig=j;g.getCometKeyCommandConfig=a;g.getCometAndGeminiKeyCommandConfig=d}),98); __d("SubscriptionsHandler",["invariant"],(function(a,b,c,d,e,f,g,h){"use strict";function i(a){return a.remove||a.reset||a.unsubscribe||a.cancel||a.dispose}function j(a){i(a).call(a)}a=function(){function a(){this.$1=[]}var b=a.prototype;b.addSubscriptions=function(){for(var a=arguments.length,b=new Array(a),c=0;c=b||e.height>=f.height/2||e.height===d.height||a.intersectionRatio>.95}g["default"]=a}),98); __d("vpvdConstants",[],(function(a,b,c,d,e,f){"use strict";a=250;b=200;f.DEFAULT_MIN_VISIBLE_TIME_MS=a;f.DEFAULT_MIN_VISIBLE_PX=b}),66); __d("useVPVDImpression",["CometVPVDUserActivityMonitor","cr:921407","isIntersectionObserverEntryVPVDVisible","react","useVisibilityObserver","vpvdConstants"],(function(a,b,c,d,e,f,g){"use strict";var h,i=(h||d("react")).useCallback;function a(a){var e=a.isLite,f=a.minVisiblePx;f=f===void 0?d("vpvdConstants").DEFAULT_MIN_VISIBLE_PX:f;var g=a.minVisibleTimeMs,h=g===void 0?d("vpvdConstants").DEFAULT_MIN_VISIBLE_TIME_MS:g,j=a.onVPVDEnd;g=a.onVPVDStart;a=b("cr:921407")();var k=a[0];a=a[1];var l=i(function(a){if(a.visibleDuration=c?(l=k,o||(q=k),d>=(p||h)&&(m=!0,n=k),v.emit("user_activity",{event:b,idleness:d,last_inform:l})):d")return a;throw c("err")("Violating Trusted Type policies. Only works for '' strings.")}};b=c("TrustedTypes").createPolicy("link-tag-html",a);d=b;g["default"]=d}),98); __d("getMarkupWrap",["invariant","ExecutionEnvironment","TrustedTypesLinkTagHTMLPolicy"],(function(a,b,c,d,e,f,g,h){var i,j=(i||c("ExecutionEnvironment")).canUseDOM?document.createElement("div"):null,k={};b=[1,'"];d=[1,"","
"];e=[3,"","
"];var l=[1,'',""],m={"*":[1,"?
","
"],area:[1,"",""],col:[2,"","
"],legend:[1,"
","
"],param:[1,"",""],tr:[2,"","
"],optgroup:b,option:b,caption:d,colgroup:d,tbody:d,tfoot:d,thead:d,td:e,th:e};f=["circle","clipPath","defs","ellipse","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","text","tspan"];f.forEach(function(a){m[a]=l,k[a]=!0});function a(a){a=a;!j&&h(0,144);Object.prototype.hasOwnProperty.call(m,a)||(a="*");Object.prototype.hasOwnProperty.call(k,a)||(a==="*"?j.innerHTML=c("TrustedTypesLinkTagHTMLPolicy").createHTML(""):j.innerHTML="<"+a+">",k[a]=!j.firstChild);return k[a]?m[a]:null}g["default"]=a}),98); __d("createNodesFromMarkup",["invariant","ExecutionEnvironment","TrustedTypesNoOpPolicy_DO_NOT_USE","getMarkupWrap"],(function(a,b,c,d,e,f,g,h){var i,j=(i||c("ExecutionEnvironment")).canUseDOM?document.createElement("div"):null,k=/^\s*<(\w+)/;function l(a){a=a.match(k);return a&&a[1].toLowerCase()}function a(a,b){var d=j;!j&&h(0,5001);var e=l(a);e=e&&c("getMarkupWrap")(e);if(e){d.innerHTML=e[1]+a+e[2];e=e[0];while(e--)d=d.lastChild}else d.innerHTML=c("TrustedTypesNoOpPolicy_DO_NOT_USE").createHTML(a);e=d.getElementsByTagName("script");e.length&&(b||h(0,5002),Array.from(e).forEach(b));a=Array.from(d.childNodes);while(d.lastChild)d.removeChild(d.lastChild);return a}g["default"]=a}),98); __d("evalGlobal",[],(function(a,b,c,d,e,f){function a(a){if(typeof a!=="string")throw new TypeError("JS sent to evalGlobal is not a string. Only strings are permitted.");if(!a)return;var b=document.createElement("script");try{b.appendChild(document.createTextNode(a))}catch(c){b.text=a}a=document.getElementsByTagName("head")[0]||document.documentElement;a.appendChild(b);a.removeChild(b)}f["default"]=a}),66); __d("HTML",["invariant","Bootloader","FBLogger","createNodesFromMarkup","emptyFunction","evalGlobal"],(function(a,b,c,d,e,f,g){var h=/(<(\w+)[^>]*?)\/>/g,i={abbr:!0,area:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,link:!0,meta:!0,param:!0};a=function(){"use strict";function a(c){c&&typeof c.__html==="string"&&(c=c.__html);if(!(this instanceof a))return c instanceof a?c:new a(c);if(c){var d=typeof c;d==="string"||g(0,277,d)}this._markup=c||"";this._defer=!1;this._nodes=null;this._inlineJS=b("emptyFunction");this._rootNode=null;this._hasInlineJs=!1}var c=a.prototype;c.toString=function(){return this._markup};c.getContent=function(){return this._markup};c.getNodes=function(){this._fillCache();return this._nodes};c.getRootNode=function(){this._rootNode&&g(0,278);var a=this.getNodes();if(a.length===1)this._rootNode=a[0];else{var b=document.createDocumentFragment();for(var c=0;c"}),c=null;a=b("createNodesFromMarkup")(a,function(a){b("FBLogger")("staticresources").warn("HTML: encountered script node while parsing, hasSrc=%s, type=%s",Boolean(a.src),a.type==null||a.type===""?"":a.type),a.type!=="application/ld+json"&&a.type!=="application/json"&&(c=c||[],c.push(a.src?b("Bootloader").requestJSResource_UNSAFE_NEEDS_REVIEW_BY_SECURITY_AND_XFN.bind(b("Bootloader"),a.src):b("evalGlobal").bind(null,a.innerHTML)),a.parentNode.removeChild(a))});c&&(this._hasInlineJs=!0,this._inlineJS=function(){for(var a=0;a=0;f();if(!j&&m){g!=null&&g();return{dispose:c("emptyFunction")}}j=(f=b.verticalAlign)!=null?f:"closest";try{m="scrollBehavior"in d.style;if(m){a.scrollIntoView({behavior:e,block:j!=null?h[j]:void 0});var n,o=!1;g!=null&&(n=c("debounce")(function(){o=!0,window.removeEventListener("scroll",n,{capture:!0}),g()},200),window.addEventListener("scroll",n,{passive:!0,capture:!0}),window.dispatchEvent(new Event("scroll")));return{dispose:function(){if(o)return;n&&n.reset();window.removeEventListener("scroll",n,{capture:!0});window.scrollTo(window.pageYOffset,window.pageXOffset)}}}}catch(a){}j==="closest"&&(k.top>=l?j="bottom":j="top");var p;switch(j){case"top":p=window.pageYOffset+k.top;break;case"bottom":p=window.pageYOffset+k.bottom-l;break;case"center":p=window.pageYOffset+k.bottom-l+(l-k.height)/2;break}return c("scrollTo")({behavior:e,top:p,onScrollComplete:g})}function i(a){if(a==null||!(a.parentElement instanceof HTMLElement))return document.documentElement;if(a.scrollHeight>a.clientHeight)return a;else return i(a.parentElement)}g["default"]=a}),98); __d("reactStartTransition",["react"],(function(a,b,c,d,e,f,g){"use strict";var h;a=h||d("react");b=a.startTransition;g["default"]=b}),98); __d("useRefEffect",["react"],(function(a,b,c,d,e,f,g){"use strict";var h;b=h||d("react");var i=b.useCallback,j=b.useRef;function a(a,b){var c=j(null);return i(function(b){c.current&&(c.current(),c.current=null),b!=null&&(c.current=a(b))},b)}g["default"]=a}),98); __d("compactArray",[],(function(a,b,c,d,e,f){"use strict";function a(a){var b=[];for(var c=0;c=a.length)break;e=a[d++]}else{d=a.next();if(d.done)break;e=d.value}e=e;(h||(h=c("QuickPerformanceLogger"))).setAlwaysOnSampleRate(e,1)}}g.overwriteSamplingRate=a}),98); __d("LSThreadAttributionStore",["I64"],(function(a,b,c,d,e,f,g){"use strict";var h,i=new Map();function a(a,b){var c;a=(c=(c=i.get(b))!=null?c:a)!=null?c:{type:"MWLSEntrypoint",value:"unknown"};i["delete"](b);return a}function b(a,b){i.set(a,{type:"MWLSEntrypoint",value:b})}function c(a,b){b=(h||(h=d("I64"))).of_string(b);i.set(a,{type:"LSThreadAttribution",value:b})}function e(a){i.set("",{type:"MWLSEntrypoint",value:a})}function f(){var a=i.get("");if(a==null||a.type==="LSThreadAttribution")return"unknown";else return a.value}g.getSource=a;g.setSource=b;g.setLSMessagingThreadAttribution=c;g.setSourceForNewThread=e;g.getSourceForNewThread=f}),98); __d("MWChatStateV2Types",[],(function(a,b,c,d,e,f){"use strict";a="UpsertTab";b="UpdateState";c="UpdateTab";d="UpdateTabByThreadKey";e={UpdateState:b,UpdateTab:c,UpdateTabByThreadKey:d,UpsertTab:a};b="ChatTab";c="ComposeTab";d={ChatTab:b,ComposeTab:c};a=new Map();b={focusedTabId:void 0,mediaViewerOpenWatermark:-1,nextTabId:0,tabs:a};f.MWChatStateActionsType=e;f.MWChatStateTabType=d;f.emptyMWChatState=b}),66); __d("MWChatStateContext",["MWChatStateV2Types","react"],(function(a,b,c,d,e,f,g){"use strict";var h;b=h||d("react");c=b.createContext;var i=b.useContext,j=c(d("MWChatStateV2Types").emptyMWChatState);e=j.Provider;function a(a){var b=i(j);return a(b)}g.stateContext=j;g.ChatStateContextProvider=e;g.useChatState=a}),98); __d("Int64Hooks",["I64","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i;c=h||d("react");var j=c.useCallback,k=c.useEffect,l=c.useMemo;function m(a){var b=[];for(var a=a,c=Array.isArray(a),d=0,a=c?a:a[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var e;if(c){if(d>=a.length)break;e=a[d++]}else{d=a.next();if(d.done)break;e=d.value}e=e;Array.isArray(e)&&e.length===2&&Number.isInteger(e[0])&&Number.isInteger(e[1])?b.push(e[0],e[1]):b.push(e,void 0)}return b}e=function(a,b){return k(a,b==null?null:m(b))};f=function(a,b){return j(a,b==null?null:m(b))};var n=function(a,b){return l(a,b==null?null:m(b))};function a(a,b){return n(function(){return a},[a==null].concat(b.map(function(b){return a==null?void 0:a[b]})))}function o(a,b){if(a===b)return a!==0||b!==0||1/a===1/b;else{var c=(i||(i=d("I64"))).cast(a);if(c!=null){var e=(i||(i=d("I64"))).cast(b);if(e!=null)return(i||(i=d("I64"))).equal(c,e)}return a!==a&&b!==b}}var p=Object.prototype.hasOwnProperty;function b(a,b){if(o(a,b))return!0;if(typeof a!=="object"||a===null||typeof b!=="object"||b===null)return!1;var c=Object.keys(a),d=Object.keys(b);if(c.length!==d.length)return!1;for(d=0;dMath.max(a.closeWatermark,a.minimizeWatermark,a.clientForcedMinimizeWatermark)},f=function(a){return Math.max(a.minimizeWatermark,a.clientForcedMinimizeWatermark)>Math.max(a.openWatermark,a.closeWatermark)},g=a.filter(e);e=a.filter(f);g.length>0?(d("MWCount").Comet.Cookie.Lift.one(),c("MessengerWebEventsFalcoEvent").log(function(){return{event_name:"load_tab_from_cookie",extra_data:{tabNumber:String(g.length)}}})):d("MWCount").Comet.Cookie.Lift.none();e.length>0?d("MWCount").Comet.Cookie.Show.some():d("MWCount").Comet.Cookie.Show.none()},[b])}function o(a){return c("MWCMIsAnyCMThread")(a)||d("MWCMIsDiscoverableChat").isDiscoverableChat(a)}function p(a){return(k||(k=d("I64"))).to_float(a)===2}function q(a,c){return new(h||(h=b("Promise")))(function(b,d){o(c)?b(!0):p(c)?n.load().then(function(c){c(a).then(function(a){a?b(o(a.threadType)):b(!1)})["catch"](d)})["catch"](d):b(!1)})}function e(a){a=a.focusedTabId!=null?a.tabs.get(a.focusedTabId):null;var b,e;a!=null&&a.tabType.type===d("MWChatStateV2Types").MWChatStateTabType.ChatTab&&(b=a.tabType.threadKeyDescriptor.threadKey,e=a.tabType.threadKeyDescriptor.threadType);var f=c("useIsPageVisible")();d("Int64Hooks").useEffectInt64(function(){if(b!=null&&e!=null&&f){var a=d("ServerTime").getMillis();(j||(j=d("JSScheduler"))).scheduleLoggingPriCallback(function(){c("promiseDone")(q(b,e).then(function(e){e&&c("MWCMLogTimeSpent")("active",(k||(k=d("I64"))).to_string(b),"chat_nub",a)}))});return function(){var a=d("ServerTime").getMillis();(j||(j=d("JSScheduler"))).scheduleLoggingPriCallback(function(){c("promiseDone")(q(b,e).then(function(e){e&&c("MWCMLogTimeSpent")("inactive",(k||(k=d("I64"))).to_string(b),"chat_nub",a)}))})}}},[b,e,f])}g.useCookieLiftLogging=a;g.useTimeSpentLogging=e}),98); __d("MWV2CookieReader",["I64","LSIntEnum","MWChatStateV2Types","gkx","killswitch","recoverableViolation"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j={cbj:(h||(h=d("LSIntEnum"))).ofNumber(23),cbu:h.ofNumber(24),cg:h.ofNumber(18),cgu:h.ofNumber(19),cphj:h.ofNumber(21),cphu:h.ofNumber(22),dp:h.ofNumber(150),dp2:h.ofNumber(154),dp2u:h.ofNumber(155),dpb:h.ofNumber(152),dpbu:h.ofNumber(153),dpu:h.ofNumber(151),g:h.ofNumber(2),sc:h.ofNumber(15),sg:h.ofNumber(16)};function k(a){a=a.split(".");if(a.length!==2)return;var b=a[0];a=a[1];if(/^-?[1-9]\d*$/.test(a)===!1||b==null)return;b=(b=j[b])!=null?b:(h||(h=d("LSIntEnum"))).ofNumber(1);return[(i||(i=d("I64"))).of_string(a),b]}function l(a){var b=a.map(function(a){return(i||(i=d("I64"))).to_string(a[0])});b=new Set(b);if(b.size!==a.length){c("recoverableViolation")("Duplicate thread in cookie (t3)","messenger_comet");return a.filter(function(a,b,c){var e=a[0];return!c.slice(b+1|0).some(function(a){return(i||(i=d("I64"))).equal(a[0],e)})})}else return a}function a(a){if(a==null)return d("MWChatStateV2Types").emptyMWChatState;if(c("killswitch")("MESSENGER_WEB_STOP_PERSISTING_CHAT_HEADS")||!c("gkx")("1812641")||!a.startsWith("C"))return d("MWChatStateV2Types").emptyMWChatState;a=a.slice(1);try{a=JSON.parse(a)}catch(b){c("recoverableViolation")("Error parsing JSON string","messenger_comet"),a=null}if(a===null)return d("MWChatStateV2Types").emptyMWChatState;var b=[],e=new Set();a.t3.forEach(function(a){var c=a.i;c=k(c);if(c!=null){b.push(c);a.o===1&&e.add(c);return}});var f=l(b),g=new Map(),h={contents:0};f.forEach(function(a){var b=e.has(a);g.set(h.contents,{clientForcedMinimizeWatermark:0,closeWatermark:0,minimizeWatermark:b?0:1,openFlyoutWatermark:0,openWatermark:b?1:0,tabId:h.contents,tabType:{threadKeyDescriptor:{clientThreadKey:void 0,threadKey:a[0],threadType:a[1]},type:d("MWChatStateV2Types").MWChatStateTabType.ChatTab}});h.contents=h.contents+1|0});a=a.lm3;if(a!=null){a=k(a);if(a!=null){var j=a[0];f.some(function(a){return(i||(i=d("I64"))).equal(a[0],j)})||g.set(h.contents,{clientForcedMinimizeWatermark:0,closeWatermark:0,minimizeWatermark:0,openFlyoutWatermark:0,openWatermark:2,tabId:h.contents,tabType:{threadKeyDescriptor:{clientThreadKey:void 0,threadKey:j,threadType:a[1]},type:d("MWChatStateV2Types").MWChatStateTabType.ChatTab}});h.contents=h.contents+1|0}}return{focusedTabId:void 0,mediaViewerOpenWatermark:-1,nextTabId:h.contents,tabs:g}}g.read=a}),98); __d("MWChatStateV2IsClosed",[],(function(a,b,c,d,e,f){"use strict";function a(a){return a.closeWatermark>Math.max(a.openWatermark,a.minimizeWatermark,a.clientForcedMinimizeWatermark)}f.isClosed=a}),66); __d("MWChatStateV2IsOpen",[],(function(a,b,c,d,e,f){"use strict";function a(a,b){a===void 0&&(a=void 0);return b.openWatermark>Math.max.apply(Math,[b.closeWatermark,b.minimizeWatermark,b.clientForcedMinimizeWatermark].concat(typeof a==="number"?a:[]))}f.isOpen=a}),66); __d("MWChatStateV2IsMinimized",["MWChatStateV2IsClosed","MWChatStateV2IsOpen"],(function(a,b,c,d,e,f,g){"use strict";function a(a,b){if(a!=null)if(d("MWChatStateV2IsOpen").isOpen(a,b))return!1;else return!d("MWChatStateV2IsClosed").isClosed(b);else return Math.max(b.minimizeWatermark,b.clientForcedMinimizeWatermark)>Math.max(b.openWatermark,b.closeWatermark)}g.isMinimized=a}),98); __d("useMWChatStateV2AreAllTabsClosed",["MWChatStateContext","MWChatStateV2IsClosed"],(function(a,b,c,d,e,f,g){"use strict";function a(){var a=d("MWChatStateContext").useChatState(function(a){return a.tabs});return Array.from(a.values()).every(d("MWChatStateV2IsClosed").isClosed)}g["default"]=a}),98); __d("MWPActor.react",["Actor","CurrentMessengerUser","I64","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=h||(h=d("react"));e=h;var k=e.createContext,l=e.useContext,m=e.useMemo,n=k();function a(){var a=l(n),b=d("Actor").useActor(),c=b[0],e=m(function(){return(i||(i=d("I64"))).of_string(c)},[c]),f=d("CurrentMessengerUser").getPageMessagingMailboxId(),g=m(function(){return f!=="0"?(i||(i=d("I64"))).of_string(f):null},[f]);b=m(function(){return a!=null?a:g!=null?g:e},[e,a,g]);return b}function b(){return o()!=null}function o(){var a=d("CurrentMessengerUser").getPageMessagingMailboxId();return a==="0"?null:a}function c(a){var b=a.actorId;a=a.children;return b!=null?j.jsx(n.Provider,{value:b,children:a},(i||(i=d("I64"))).to_string(b)):a}c.displayName=c.name+" [from "+f.id+"]";g.useActor=a;g.isAPPlus=b;g.getAPPlusMailboxId=o;g.MWPActorProvider=c}),98); __d("useMWChatStateV2CrossTabSync",["I64","MWChatStateV2IsMinimized","MWChatStateV2IsOpen","MWChatStateV2Types","MWPActor.react","react","recoverableViolation"],(function(a,b,c,d,e,f,g){"use strict";var h,i;b=h||d("react");var j=b.useEffect,k=b.useMemo;function l(a,b){a==null?void 0:a.postMessage(b)}function m(a,b){if(a==null)return function(){};var c=function(a){return b(a.data)};a.addEventListener("message",c);return function(){a.removeEventListener("message",c)}}function n(){var a=d("MWPActor.react").useActor();return k(function(){return window.BroadcastChannel?new BroadcastChannel("MWChatStateV2_"+(i||(i=d("I64"))).to_string(a)):null},[a])}function o(a){a=Array.from(a.tabs.values());var b=[];a.forEach(function(a){var c=a.tabType;if(c.type===d("MWChatStateV2Types").MWChatStateTabType.ComposeTab)return;c=c.threadKeyDescriptor;var e=c.threadKey;c=c.threadType;b.push({closeWatermark:a.closeWatermark,openWatermark:a.openWatermark,threadKey:(i||(i=d("I64"))).to_string(e),threadType:i.to_string(c)})});return b}function p(a,b,c){return[{inserter:function(a){return{clientForcedMinimizeWatermark:a.clientForcedMinimizeWatermark,closeWatermark:a.closeWatermark,minimizeWatermark:c,openFlyoutWatermark:a.openFlyoutWatermark,openWatermark:a.openWatermark,tabId:a.tabId,tabType:a.tabType}},tabConfig:{shouldFocus:!1},tabType:{threadKeyDescriptor:{clientThreadKey:void 0,threadKey:a,threadType:b},type:d("MWChatStateV2Types").MWChatStateTabType.ChatTab},type:d("MWChatStateV2Types").MWChatStateActionsType.UpsertTab,updater:function(a){return d("MWChatStateV2IsOpen").isOpen(void 0,a)?a:{clientForcedMinimizeWatermark:a.clientForcedMinimizeWatermark,closeWatermark:a.closeWatermark,minimizeWatermark:c,openFlyoutWatermark:a.openFlyoutWatermark,openWatermark:a.openWatermark,tabId:a.tabId,tabType:a.tabType}}}]}function q(a,b){return[{tabConfig:{shouldFocus:!1},threadKey:a,type:d("MWChatStateV2Types").MWChatStateActionsType.UpdateTabByThreadKey,updater:function(a){if(d("MWChatStateV2IsMinimized").isMinimized(void 0,a))return{clientForcedMinimizeWatermark:a.clientForcedMinimizeWatermark,closeWatermark:b,minimizeWatermark:a.minimizeWatermark,openFlyoutWatermark:a.openFlyoutWatermark,openWatermark:a.openWatermark,tabId:a.tabId,tabType:a.tabType};else return a}}]}function a(a,b,e,f){var g=n();j(function(){if(e){f(function(){return!1});var b=o(a);l(g,b)}},[a,g,e,f]);j(function(){return m(g,function(a){try{a=a;a.forEach(function(a){var c=(i||(i=d("I64"))).of_string(a.threadKey),e=i.of_string(a.threadType),f=a.closeWatermark;a=a.openWatermark;if(a>f)return b(p(c,e,a));else return b(q(c,f))});return}catch(a){c("recoverableViolation")("Cross-tab sync error","messenger_comet")}})},[g,b])}g["default"]=a}),98); __d("MWThreadListNewMessageState.react",["react","unrecoverableViolation"],(function(a,b,c,d,e,f,g){"use strict";var h;h||(h=d("react"));d=h;var i=d.createContext,j=d.createElement,k=d.useContext,l=d.useReducer;d={Reset:0,ResetIfEmpty:1};var m={SetIsActive:2},n={SetEntries:3},o=babelHelpers["extends"]({},d,m,n),p={entries:[],isActive:!1},q=i(p),r=i();function s(a,b){switch(b.type){case o.Reset:return p;case o.ResetIfEmpty:return a.entries.length===0?p:a;case o.SetIsActive:return babelHelpers["extends"]({},a,{isActive:b.isActive});case o.SetEntries:return babelHelpers["extends"]({},a,{entries:b.entries});default:return a}}function a(a){var b=a.children;a=a.defaultState;a=a===void 0?p:a;a=l(s,a);var c=a[0];a=a[1];return j(q.Provider,{children:j(r.Provider,{children:b,value:a}),value:c})}a.displayName=a.name+" [from "+f.id+"]";function b(){var a=k(r);if(a==null)throw c("unrecoverableViolation")("Tried to get the dispatch function for MWThreadListNewMessageState but none was found. Missing provider (MWThreadListNewMessageState)","messenger_web_product");return a}function e(){var a=k(r);if(a==null)return;return a}g.MWThreadListNewMessageStateActionType=o;g.context=q;g.MWThreadListNewMessageStateProvider=a;g.useDispatch=b;g.useDispatchIfStateExists=e}),98); __d("MWLSDatabaseNames",[],(function(a,b,c,d,e,f){"use strict";a="LightSpeed";b=a+"V3";f.name=a;f.lightspeedPrefix=b}),66); __d("MWIndexedDBDelete",["ExecutionEnvironment","FBLogger","MAWCurrentUser","MWLSDatabaseNames","ODS","recoverableViolation"],(function(a,b,c,d,e,f,g){"use strict";var h,i;function j(a){try{if(a===1)return""+d("MWLSDatabaseNames").name+d("MAWCurrentUser").getID();else return d("MWLSDatabaseNames").name+"V"+a+d("MAWCurrentUser").getID()}catch(a){return null}}function a(a){var b;if((i||(i=c("ExecutionEnvironment"))).canUseDOM&&((b=window)==null?void 0:b.indexedDB)!=null){var e=j(a);if(e!=null)if(typeof window.indexedDB.databases==="function"){b=window.indexedDB.databases();b.then(function(a){a.forEach(function(a){var b=a.name||"";if(b===e){a=window.indexedDB.deleteDatabase(b);a.onsuccess=function(){c("FBLogger")("messenger_web_product").info("MW PDB deletion success for "+b)};a.onblocked=function(){c("recoverableViolation")("[db clean up patch] Cannot delete db: blocked","messenger_web_product"),(h||(h=d("ODS"))).bumpEntityKey(3185,"mw_pdb_delete","blocked")};a.onerror=function(){(h||(h=d("ODS"))).bumpEntityKey(3185,"mw_pdb_delete","error"),c("recoverableViolation")("[pdb clean up patch] Cannot delete db","messenger_web_product")}}})})["catch"](function(a){c("recoverableViolation")("[pdb clean up patch] LS delete databases error","messenger_web_product",{error:a})})}else{a=window.indexedDB.deleteDatabase(e);a.onsuccess=function(){(h||(h=d("ODS"))).bumpEntityKey(3185,"mw_pdb_delete","success_v2")};a.onblocked=function(){c("recoverableViolation")("[db clean up patch v2] Cannot delete db: blocked","messenger_web_product"),(h||(h=d("ODS"))).bumpEntityKey(3185,"mw_pdb_delete","blocked_v2")};a.onerror=function(){(h||(h=d("ODS"))).bumpEntityKey(3185,"mw_pdb_delete","error_v2"),c("recoverableViolation")("[pdb clean up patch v2] Cannot delete db","messenger_web_product")}}}}g.getUserDbNameForVersion=j;g.deleteAllDBs=a}),98); __d("GetLsDatabaseForComet",["asyncToGeneratorRuntime","requireDeferred"],(function(a,b,c,d,e,f,g){"use strict";var h=c("requireDeferred")("GetLsDatabase").__setRef("GetLsDatabaseForComet");function a(){return i.apply(this,arguments)}function i(){i=b("asyncToGeneratorRuntime").asyncToGenerator(function*(){var a=(yield h.load());return a.get()});return i.apply(this,arguments)}g.get=a}),98); __d("WALoggerDeferred",["requireDeferred"],(function(a,b,c,d,e,f,g){"use strict";var h=c("requireDeferred")("WATagsLogger").__setRef("WALoggerDeferred");function a(a){for(var b=arguments.length,c=new Array(b>1?b-1:0),d=1;d1?b-1:0),d=1;d1?b-1:0),d=1;d1?b-1:0),d=1;d1?b-1:0),d=1;d=((f=j[d])!=null?f:k)&&i[d].shift();i[d].push({args:a,category:d,date:g,event:e,level:b})}g.MAX_LIMIT=j;g.getEntries=a;g.clearEntries=b;g.log=d}),98); __d("MessengerSimpleLogHistoryFactory",["LSLogHistory"],(function(a,b,c,d,e,f,g){"use strict";a={getInstance:function(a){return{debug:function(b,c){d("LSLogHistory").log(b,"debug",a,c)},error:function(b,c){d("LSLogHistory").log(b,"error",a,c)}}}};g.simpleFactory=a}),98); __d("MessengerBroadcastLogHistoryFactory",["FBLogger","MessengerSimpleLogHistoryFactory","pageID"],(function(a,b,c,d,e,f,g){"use strict";var h=function(a,b){var e=this;this.listener=function(a){var b=d("MessengerSimpleLogHistoryFactory").simpleFactory.getInstance(e.$1);a.level==="error"&&b.error(a.message,"from_"+a.page);a.level==="debug"&&b.debug(a.message,"from_"+a.page)};this.debug=function(a){for(var b=arguments.length,f=new Array(b>1?b-1:0),g=1;g1?b-1:0),g=1;g0&&d("MWIndexedDBDelete").deleteAllDBs(g)}catch(a){c("recoverableViolation")("[db clean up patch] Cant delete db","messenger_web_product")}d("LSPlatformLsInitLog").addPoint("db_created");c("CurrentUser").isWorkUser()&&c("QPLUserFlow").addPoint(c("qpl")._(1036588047,"310"),"db_created");if(b("cr:1265")!==null)try{b("cr:1265").registerDb(f)}catch(a){c("FBLogger")("messenger_browser_clients").mustfix("LSPlatformDevtools failed to register db.")}return f});return function(){return a.apply(this,arguments)}}();f=(i||(i=c("ExecutionEnvironment"))).isInBrowser?e():new(h||(h=b("Promise")))(function(){c("FBLogger")("messenger_browser_clients").warn("ExecutionEnvironment.isInBrowser returned false, returning never ending promise")});a=f;g["default"]=a}),98); __d("ReStoreProvider.react",["react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||d("react"),j=i.createContext();function a(a){var b=a.children;a=a.db;return i.jsx(j.Provider,{value:a,children:b})}a.displayName=a.name+" [from "+f.id+"]";g.context=j;g.ReStoreProvider=a}),98); __d("useReStore",["LSDatabaseSingleton","LSSuspense","PromiseAnnotate","ReStoreProvider.react","react","suspendOrThrowIfUsedInSSR"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j,k,l,m,n=(m||d("react")).useContext,o=(h||(h=c("LSSuspense"))).makeCollection();function a(){var a=n((l||(l=d("ReStoreProvider.react"))).context);if(a!=null)return a;(i||(i=c("suspendOrThrowIfUsedInSSR")))("useReStore: LSDB is not available in SSR. Switching to client side render");void (k||(k=d("PromiseAnnotate"))).setDisplayName(j||(j=c("LSDatabaseSingleton")),"LSDatabaseSingleton");return(h||(h=c("LSSuspense"))).getFromCollection(o,j,function(){return j||(j=c("LSDatabaseSingleton"))})}g["default"]=a}),98); __d("UserTimingUtils",["performance","regeneratorRuntime"],(function(a,b,c,d,e,f,g){"use strict";var h,i=typeof (h||(h=c("performance"))).mark==="function"&&typeof (h||(h=c("performance"))).clearMarks==="function"&&typeof (h||(h=c("performance"))).measure==="function"&&typeof (h||(h=c("performance"))).clearMeasures==="function",j=!1;if(i&&(h||(h=c("performance"))).mark!=null){var k="__v3",l={};Object.defineProperty(l,"startTime",{get:function(){j=!0}});try{(h||(h=c("performance"))).mark(k,l)}catch(a){}finally{(h||(h=c("performance"))).clearMarks(k)}}function a(a){i&&(h||(h=c("performance"))).mark(a)}function d(a,b,d){d===void 0&&(d=!0);if(i){try{(h||(h=c("performance"))).measure(a,b)}catch(a){}d&&(h||(h=c("performance"))).clearMarks(b);(h||(h=c("performance"))).clearMeasures(a)}}function e(a){if(i){try{a=(h||(h=c("performance"))).getEntriesByName(a,"mark");if(a!=null&&a.length>0)return!0}catch(a){}return!1}}function f(a){if(i)try{(h||(h=c("performance"))).clearMarks(a)}catch(a){}}function m(a,b){if(j)try{(h||(h=c("performance"))).measure(a,b),h.clearMeasures(a)}catch(a){}}function n(a,b){j&&((h||(h=c("performance"))).mark(a,b),h.clearMarks(a))}function o(a,d){var e,f,g;return b("regeneratorRuntime").async(function(i){while(1)switch(i.prev=i.next){case 0:e=(h||(h=c("performance"))).now();i.next=3;return b("regeneratorRuntime").awrap(d());case 3:f=i.sent;g=(h||(h=c("performance"))).now();m(a,{end:g,start:e});return i.abrupt("return",f);case 7:case"end":return i.stop()}},null,this)}g.measureStart=a;g.measureEnd=d;g.hasMark=e;g.clearMarks=f;g.measureModern=m;g.markModern=n;g.asyncMeasure=o}),98);/*FB_PKG_DELIM*/ __d("CometTextWithEntitiesRelay_entity.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a={alias:null,args:null,concreteType:"WorkForeignEntityInfo",kind:"LinkedField",name:"work_foreign_entity_info",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"type",storageKey:null}],storageKey:null},b={kind:"Variable",name:"scale",variableName:"scale"},c={alias:null,args:null,kind:"ScalarField",name:"height",storageKey:null},d={alias:null,args:null,kind:"ScalarField",name:"uri",storageKey:null},e={alias:null,args:null,kind:"ScalarField",name:"width",storageKey:null},f={alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null};return{argumentDefinitions:[{kind:"RootArgument",name:"scale"}],kind:"Fragment",metadata:{mask:!1},name:"CometTextWithEntitiesRelay_entity",selections:[{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},{alias:null,args:[{kind:"Literal",name:"site",value:"comet"}],kind:"ScalarField",name:"url",storageKey:'url(site:"comet")'},{alias:"mobileUrl",args:[{kind:"Literal",name:"site",value:"mobile"}],kind:"ScalarField",name:"url",storageKey:'url(site:"mobile")'},{kind:"InlineFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null}],type:"Actor",abstractKey:"__isActor"},{kind:"InlineFragment",selections:[{args:null,documentName:"CometTextWithEntitiesRelay_entity",fragmentName:"GroupsCometHashtagsStoryMessageHashtagLink_hashtag",fragmentPropName:"hashtag",kind:"ModuleImport"}],type:"GroupHashtag",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometTextWithEntitiesRelay_entity",fragmentName:"PagesCometPageLink_page",fragmentPropName:"page",kind:"ModuleImport"},{alias:null,args:null,kind:"ScalarField",name:"category_type",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"verification_status",storageKey:null},{args:null,kind:"FragmentSpread",name:"CometPageVerificationBadge_page"}],type:"Page",abstractKey:null},{args:null,kind:"FragmentSpread",name:"ProfileCometProfileLink_actor"},{kind:"InlineFragment",selections:[{args:null,documentName:"CometTextWithEntitiesRelay_entity",fragmentName:"ProfileGeminiWeakReferenceLink_user",fragmentPropName:"user",kind:"ModuleImport"},a,{alias:null,args:null,concreteType:"WorkUserInfo",kind:"LinkedField",name:"work_info",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"is_active_account",storageKey:null}],storageKey:null}],type:"User",abstractKey:null},{kind:"InlineFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"external_url",storageKey:null}],type:"ExternalUrl",abstractKey:null},{kind:"InlineFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"time_index",storageKey:null}],type:"VideoTimeIndex",abstractKey:null},{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"web_link",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"url",storageKey:null},{kind:"InlineFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"fbclid",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"lynx_mode",storageKey:null}],type:"ExternalWebLink",abstractKey:null}],storageKey:null}],type:"WebLinkable",abstractKey:"__isWebLinkable"},{kind:"InlineFragment",selections:[a,{alias:null,args:null,kind:"ScalarField",name:"is_multi_company_group",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"work_official_status",storageKey:null}],type:"Group",abstractKey:null},{kind:"InlineFragment",selections:[{alias:"imageScaledForFeed",args:[b,{kind:"Literal",name:"width",value:680}],concreteType:"Image",kind:"LinkedField",name:"image",plural:!1,selections:[c,d,e],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"accessibility_caption",storageKey:null}],type:"Photo",abstractKey:null},{kind:"InlineFragment",selections:[f,{alias:null,args:[{kind:"Literal",name:"height",value:64},{kind:"Literal",name:"media_type",value:"image/png"},b,{kind:"Literal",name:"width",value:64}],concreteType:"Image",kind:"LinkedField",name:"image",plural:!1,selections:[d],storageKey:null}],type:"XFBWorkCustomEmoji",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,kind:"FragmentSpread",name:"VideoPlayerRelay_video"},{args:null,kind:"FragmentSpread",name:"VideoPlayerCometFeedThumbnail_video"},e,c],type:"Video",abstractKey:null},{args:null,kind:"FragmentSpread",name:"CometTitleSentenceGroupJoinButtonRenderer_entity"},{kind:"InlineFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"deep_link_number",storageKey:null}],type:"PageWhatsAppNumber",abstractKey:null},{kind:"InlineFragment",selections:[f,{alias:null,args:null,kind:"ScalarField",name:"ticker_symbol",storageKey:null}],type:"KGTickerNode",abstractKey:null},{kind:"InlineFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"snapshot_url",storageKey:null},{args:null,kind:"FragmentSpread",name:"truncateComposedTextWithUnidash_entity"}],type:"XFBProdQuartzVizirSnapshot",abstractKey:null}],type:"Entity",abstractKey:"__isEntity"}}();e.exports=a}),null); __d("CometTextWithEntitiesRelay_textWithEntities.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a={alias:null,args:null,kind:"ScalarField",name:"length",storageKey:null},b={alias:null,args:null,kind:"ScalarField",name:"offset",storageKey:null},c={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},d={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},e=[{kind:"Literal",name:"delight_surface",value:"COMMENT"}],f=[c],g={kind:"Variable",name:"scale",variableName:"scale"},h={alias:null,args:null,kind:"ScalarField",name:"height",storageKey:null},i={alias:null,args:null,kind:"ScalarField",name:"uri",storageKey:null},j={alias:null,args:null,kind:"ScalarField",name:"width",storageKey:null},k={alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},l=[c,k],m={alias:null,args:null,concreteType:"WorkForeignEntityInfo",kind:"LinkedField",name:"work_foreign_entity_info",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"type",storageKey:null}],storageKey:null};return{argumentDefinitions:[{kind:"RootArgument",name:"scale"}],kind:"Fragment",metadata:null,name:"CometTextWithEntitiesRelay_textWithEntities",selections:[{alias:null,args:null,concreteType:"DelightAtRange",kind:"LinkedField",name:"delight_ranges",plural:!0,selections:[a,b,{alias:null,args:null,concreteType:"TextDelightCampaign",kind:"LinkedField",name:"campaign",plural:!1,selections:[c,d,{alias:null,args:e,concreteType:"TextDelightStylePair",kind:"LinkedField",name:"delight_styles",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"style",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"value",storageKey:null}],storageKey:'delight_styles(delight_surface:"COMMENT")'},{alias:null,args:e,concreteType:"DelightsAnimation",kind:"LinkedField",name:"delight_asset",plural:!1,selections:f,storageKey:'delight_asset(delight_surface:"COMMENT")'},{alias:null,args:null,kind:"ScalarField",name:"text_enrichment_url",storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"ImageAtRange",kind:"LinkedField",name:"image_ranges",plural:!0,selections:[a,b,{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"entity_with_image",plural:!1,selections:[{alias:null,args:[g],concreteType:"Image",kind:"LinkedField",name:"image",plural:!1,selections:[h,{alias:null,args:null,kind:"ScalarField",name:"scale",storageKey:null},i,j],storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"InlineStyleAtRange",kind:"LinkedField",name:"inline_style_ranges",plural:!0,selections:[a,b,{alias:null,args:null,kind:"ScalarField",name:"inline_style",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"AggregatedEntitiesAtRange",kind:"LinkedField",name:"aggregated_ranges",plural:!0,selections:[a,b,{alias:null,args:null,kind:"ScalarField",name:"count",storageKey:null},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"sample_entities",plural:!0,selections:[d,{kind:"InlineFragment",selections:l,type:"User",abstractKey:null},{kind:"InlineFragment",selections:l,type:"Page",abstractKey:null},{kind:"InlineFragment",selections:[c,{alias:"name",args:null,kind:"ScalarField",name:"username",storageKey:null}],type:"InstagramUserV2",abstractKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"EntityAtRange",kind:"LinkedField",name:"ranges",plural:!0,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"entity",plural:!1,selections:[d,{alias:null,args:[{kind:"Literal",name:"site",value:"comet"}],kind:"ScalarField",name:"url",storageKey:'url(site:"comet")'},{alias:"mobileUrl",args:[{kind:"Literal",name:"site",value:"mobile"}],kind:"ScalarField",name:"url",storageKey:'url(site:"mobile")'},{kind:"InlineFragment",selections:f,type:"Actor",abstractKey:"__isActor"},{kind:"InlineFragment",selections:[{args:null,documentName:"CometTextWithEntitiesRelay_textWithEntities",fragmentName:"GroupsCometHashtagsStoryMessageHashtagLink_hashtag",fragmentPropName:"hashtag",kind:"ModuleImport"}],type:"GroupHashtag",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometTextWithEntitiesRelay_textWithEntities",fragmentName:"PagesCometPageLink_page",fragmentPropName:"page",kind:"ModuleImport"},{alias:null,args:null,kind:"ScalarField",name:"category_type",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"verification_status",storageKey:null},{args:null,kind:"FragmentSpread",name:"CometPageVerificationBadge_page"}],type:"Page",abstractKey:null},{args:null,kind:"FragmentSpread",name:"ProfileCometProfileLink_actor"},{kind:"InlineFragment",selections:[{args:null,documentName:"CometTextWithEntitiesRelay_textWithEntities",fragmentName:"ProfileGeminiWeakReferenceLink_user",fragmentPropName:"user",kind:"ModuleImport"},m,{alias:null,args:null,concreteType:"WorkUserInfo",kind:"LinkedField",name:"work_info",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"is_active_account",storageKey:null}],storageKey:null}],type:"User",abstractKey:null},{kind:"InlineFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"external_url",storageKey:null}],type:"ExternalUrl",abstractKey:null},{kind:"InlineFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"time_index",storageKey:null}],type:"VideoTimeIndex",abstractKey:null},{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"web_link",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"url",storageKey:null},{kind:"InlineFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"fbclid",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"lynx_mode",storageKey:null}],type:"ExternalWebLink",abstractKey:null}],storageKey:null}],type:"WebLinkable",abstractKey:"__isWebLinkable"},{kind:"InlineFragment",selections:[m,{alias:null,args:null,kind:"ScalarField",name:"is_multi_company_group",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"work_official_status",storageKey:null}],type:"Group",abstractKey:null},{kind:"InlineFragment",selections:[{alias:"imageScaledForFeed",args:[g,{kind:"Literal",name:"width",value:680}],concreteType:"Image",kind:"LinkedField",name:"image",plural:!1,selections:[h,i,j],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"accessibility_caption",storageKey:null}],type:"Photo",abstractKey:null},{kind:"InlineFragment",selections:[k,{alias:null,args:[{kind:"Literal",name:"height",value:64},{kind:"Literal",name:"media_type",value:"image/png"},g,{kind:"Literal",name:"width",value:64}],concreteType:"Image",kind:"LinkedField",name:"image",plural:!1,selections:[i],storageKey:null}],type:"XFBWorkCustomEmoji",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,kind:"FragmentSpread",name:"VideoPlayerRelay_video"},{args:null,kind:"FragmentSpread",name:"VideoPlayerCometFeedThumbnail_video"},j,h],type:"Video",abstractKey:null},{args:null,kind:"FragmentSpread",name:"CometTitleSentenceGroupJoinButtonRenderer_entity"},{kind:"InlineFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"deep_link_number",storageKey:null}],type:"PageWhatsAppNumber",abstractKey:null},{kind:"InlineFragment",selections:[k,{alias:null,args:null,kind:"ScalarField",name:"ticker_symbol",storageKey:null}],type:"KGTickerNode",abstractKey:null},{kind:"InlineFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"snapshot_url",storageKey:null},{args:null,kind:"FragmentSpread",name:"truncateComposedTextWithUnidash_entity"}],type:"XFBProdQuartzVizirSnapshot",abstractKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"entity_is_weak_reference",storageKey:null},a,b],storageKey:null},{alias:null,args:null,concreteType:"ColorAtRange",kind:"LinkedField",name:"color_ranges",plural:!0,selections:[a,b,{alias:null,args:null,kind:"ScalarField",name:"hex_rgb_color_with_pound_key",storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"text",storageKey:null}],type:"TextWithEntities",abstractKey:null}}();e.exports=a}),null); __d("GroupsCometAnswerAgentEducationModalQuery_facebookRelayOperation",[],(function(a,b,c,d,e,f){e.exports="7085543404823780"}),null); __d("GroupsCometAnswerAgentEducationModalQuery$Parameters",["GroupsCometAnswerAgentEducationModalQuery_facebookRelayOperation"],(function(a,b,c,d,e,f){"use strict";a={kind:"PreloadableConcreteRequest",params:{id:b("GroupsCometAnswerAgentEducationModalQuery_facebookRelayOperation"),metadata:{},name:"GroupsCometAnswerAgentEducationModalQuery",operationKind:"query",text:null}};e.exports=a}),null); __d("GroupsCometGroupRuleEntityDialogQuery_facebookRelayOperation",[],(function(a,b,c,d,e,f){e.exports="6426690994120851"}),null); __d("GroupsCometGroupRuleEntityDialogQuery$Parameters",["GroupsCometGroupRuleEntityDialogQuery_facebookRelayOperation"],(function(a,b,c,d,e,f){"use strict";a={kind:"PreloadableConcreteRequest",params:{id:b("GroupsCometGroupRuleEntityDialogQuery_facebookRelayOperation"),metadata:{},name:"GroupsCometGroupRuleEntityDialogQuery",operationKind:"query",text:null}};e.exports=a}),null); __d("ProfileCometProfileLink_actor.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"ProfileCometProfileLink_actor",selections:[{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},{kind:"InlineFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"answer_agent_group_id",storageKey:null}],type:"User",abstractKey:null},{kind:"InlineFragment",selections:[{alias:"profile_url",args:null,kind:"ScalarField",name:"url",storageKey:null}],type:"Entity",abstractKey:"__isEntity"}],type:"Actor",abstractKey:"__isActor"};e.exports=a}),null); __d("CometHovercardEntityRenderer_actor.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:{mask:!1},name:"CometHovercardEntityRenderer_actor",selections:[{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null}],type:"Actor",abstractKey:"__isActor"};e.exports=a}),null); __d("CometLinkedEntityRenderer_entity.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:{mask:!1},name:"CometLinkedEntityRenderer_entity",selections:[{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},{alias:null,args:[{kind:"Literal",name:"site",value:"comet"}],kind:"ScalarField",name:"url",storageKey:'url(site:"comet")'},{kind:"InlineFragment",selections:[{args:null,documentName:"CometLinkedEntityRenderer_entity",fragmentName:"GroupsCometHashtagsStoryMessageHashtagLink_hashtag",fragmentPropName:"hashtag",kind:"ModuleImport"}],type:"GroupHashtag",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometLinkedEntityRenderer_entity",fragmentName:"PagesCometPageLink_page",fragmentPropName:"page",kind:"ModuleImport"}],type:"Page",abstractKey:null},{args:null,kind:"FragmentSpread",name:"ProfileCometProfileLink_actor"},{kind:"InlineFragment",selections:[{args:null,documentName:"CometLinkedEntityRenderer_entity",fragmentName:"ProfileGeminiWeakReferenceLink_user",fragmentPropName:"user",kind:"ModuleImport"}],type:"User",abstractKey:null}],type:"Entity",abstractKey:"__isEntity"};e.exports=a}),null); __d("CometScreenReaderHeading.react",["BaseHeading.react","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||d("react"),j={visuallyHidden:{clip:"xzpqnlu",clipPath:"x1hyvwdk",height:"xjm9jq1",overflowX:"x6ikm8r",overflowY:"x10wlt62",position:"x10l6tqk",width:"x1i1rx1s",$$css:!0}};function a(a){return i.jsx(c("BaseHeading.react"),babelHelpers["extends"]({xstyle:j.visuallyHidden},a))}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("canRenderHovercardForGraphQLEntityType",[],(function(a,b,c,d,e,f){"use strict";function a(a){return["Event","Page","Group","GroupAnonAuthorProfile","GeneralGroupContextualProfile","User","Game","Application","Comment","XFBWorkroomsUser"].includes(a)}f["default"]=a}),66); __d("cometNormalizeTextEntityRanges",[],(function(a,b,c,d,e,f){"use strict";function a(a,b){return a==null?[]:a.map(function(a){var c=a.length,d=a.offset;a=babelHelpers.objectWithoutPropertiesLoose(a,["length","offset"]);return{entity:babelHelpers["extends"]({},a,{__typename:b}),length:c,offset:d}})}f["default"]=a}),66); __d("CometTextWithEntitiesRelay.react",["CometRelay","CometTextWithEntities.react","CometTextWithEntitiesRelay_entity.graphql","CometTextWithEntitiesRelay_textWithEntities.graphql","cometNormalizeTextEntityRanges","react","recoverableViolation"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j,k=j||d("react");h!==void 0?h:h=b("CometTextWithEntitiesRelay_entity.graphql");function a(a){var e=a.textWithEntities;a=babelHelpers.objectWithoutPropertiesLoose(a,["textWithEntities"]);e=d("CometRelay").useFragment(i!==void 0?i:i=b("CometTextWithEntitiesRelay_textWithEntities.graphql"),e);if(e==null){c("recoverableViolation")("received null text with entities, this it to be expected by design, it's very possible mutators/updaters eliminate this field, but this shouldn't be the norm, please investigate if you're seeing \"high\" error rates","comet_ui");return null}var f=e.aggregated_ranges,g=e.color_ranges,h=e.delight_ranges,j=e.image_ranges,l=e.inline_style_ranges,m=e.ranges;e=e.text;if(e==null)return null;m=[].concat(m,c("cometNormalizeTextEntityRanges")(f,"Aggregate"),c("cometNormalizeTextEntityRanges")(l,"Inline"),c("cometNormalizeTextEntityRanges")(j,"Image"),c("cometNormalizeTextEntityRanges")(g,"Color"),c("cometNormalizeTextEntityRanges")(h,"TextDelightCampaign"));return k.jsx(c("CometTextWithEntities.react"),babelHelpers["extends"]({},a,{ranges:m,text:e}))}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("CometFeedStoryRenderLocationContext",["react"],(function(a,b,c,d,e,f,g){"use strict";var h;a=h||d("react");b=a.createContext({storyRenderLocation:null});g["default"]=b}),98); __d("GroupsCometAnswerAgentEducationModal.entrypoint",["GroupsCometAnswerAgentEducationModalQuery$Parameters","JSResourceForInteraction","WebPixelRatio"],(function(a,b,c,d,e,f,g){"use strict";a={getPreloadProps:function(a){a=a.groupID;return{queries:{queryRef:{parameters:b("GroupsCometAnswerAgentEducationModalQuery$Parameters"),variables:{groupID:a,scale:d("WebPixelRatio").get()}}}}},root:c("JSResourceForInteraction")("GroupsCometAnswerAgentEducationModal.react").__setRef("GroupsCometAnswerAgentEducationModal.entrypoint")};g["default"]=a}),98); __d("useGroupsCometOpenAnswerAgentEducationModal",["GroupsCometAnswerAgentEducationModal.entrypoint","useCometEntryPointDialog"],(function(a,b,c,d,e,f,g){"use strict";function a(a){a=c("useCometEntryPointDialog")(c("GroupsCometAnswerAgentEducationModal.entrypoint"),{groupID:a});var b=a[0];return function(){b({})}}g["default"]=a}),98); __d("GroupsCometGroupRuleEntityDialog.entrypoint",["GroupsCometGroupRuleEntityDialogQuery$Parameters","JSResourceForInteraction","WebPixelRatio"],(function(a,b,c,d,e,f,g){"use strict";a={getPreloadProps:function(a){a=a.groupRuleID;return{queries:{groupRuleEntityDialogQueryReference:{parameters:c("GroupsCometGroupRuleEntityDialogQuery$Parameters"),variables:{groupRuleID:a,scale:d("WebPixelRatio").get()}}}}},root:c("JSResourceForInteraction")("GroupsCometGroupRuleEntityDialog.react").__setRef("GroupsCometGroupRuleEntityDialog.entrypoint")};b=a;g["default"]=b}),98); __d("GroupsCometGroupRuleLink.react",["CometEntryPointDialogTrigger.react","CometPressable.react","GroupsCometGroupRuleEntityDialog.entrypoint","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||d("react"),j={link:{fontWeight:"x1s688f",":hover_textDecoration":"xt0b8zv",$$css:!0}};function a(a,b){var d=a.children;a=a.groupRuleID;return a==null?null:i.jsx(c("CometEntryPointDialogTrigger.react"),{dialogEntryPoint:c("GroupsCometGroupRuleEntityDialog.entrypoint"),otherProps:{surface:"rules_tag"},preloadParams:{groupRuleID:a},preloadTrigger:"button",children:function(a){return i.jsx(c("CometPressable.react"),{hideFocusOverlay:!0,hideHoverOverlay:!0,onPress:a,ref:b,xstyle:j.link,children:d})}})}a.displayName=a.name+" [from "+f.id+"]";b=i.forwardRef(a);g["default"]=b}),98); __d("ProfileCometProfileLink.react",["CometDangerouslySuppressInteractiveElementsContext","CometHovercardLinkContext","CometLink.react","CometRelay","ProfileCometLinkContext","ProfileCometProfileLink_actor.graphql","cr:1408565","react","recoverableViolation","useGroupsCometOpenAnswerAgentEducationModal","useShowHovercardsOnClick"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=i||(i=d("react")),k=i.useContext;function a(a,e){var f=a.actor,g=a.children,i=a.navigationSource,m=a.traceParams;a=babelHelpers.objectWithoutPropertiesLoose(a,["actor","children","navigationSource","traceParams"]);f=d("CometRelay").useFragment(h!==void 0?h:h=b("ProfileCometProfileLink_actor.graphql"),f);var n=c("useShowHovercardsOnClick")(),o=k(c("CometHovercardLinkContext"));o=o.isRenderedInHovercard;var p=k(c("ProfileCometLinkContext"));p=p.groupID;if(f.id==null)return c("recoverableViolation")("Missing id for actor","comet_ui");p=p!=null&&b("cr:1408565")?b("cr:1408565").buildURL({group_idorvanity:p,member_id:f.id}):f.profile_url;return j.jsx(c("CometDangerouslySuppressInteractiveElementsContext").Provider,{value:o===!1&&n,children:f.answer_agent_group_id==null?j.jsx(c("CometLink.react"),babelHelpers["extends"]({href:p,ref:e,traceParams:babelHelpers["extends"]({},m,{navigation_source:i})},a,{children:g})):j.jsx(l,babelHelpers["extends"]({children:g,groupID:f.answer_agent_group_id,navigationSource:i},a))})}a.displayName=a.name+" [from "+f.id+"]";e=j.forwardRef(a);function l(a){var b=a.children,d=a.groupID,e=a.navigationSource,f=a.traceParams;a=babelHelpers.objectWithoutPropertiesLoose(a,["children","groupID","navigationSource","traceParams"]);d=c("useGroupsCometOpenAnswerAgentEducationModal")(d);return j.jsx(c("CometLink.react"),babelHelpers["extends"]({onClick:d,traceParams:babelHelpers["extends"]({},f,{navigation_source:e})},a,{children:b}))}l.displayName=l.name+" [from "+f.id+"]";g["default"]=e}),98); __d("CometSeeMoreExpandingUtils",[],(function(a,b,c,d,e,f){"use strict";function g(a,b){var c=b;while(c>=0){if(a.charAt(c)===" "||a.charAt(c)==="\n")break;c-=1}a.charAt(b)!=="\n"?c+=1:c=b+1;b=a.substring(c);a=/\s/;b=b.search(a)+c-1;return{truncatedEntityEndIndex:b,truncatedEntityOffset:c}}function h(a,b,c){var d=[];b=g(b,c);c=b.truncatedEntityEndIndex;b=b.truncatedEntityOffset;b=b;var e=!1;for(var a=a,f=Array.isArray(a),h=0,a=f?a:a[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var i;if(f){if(h>=a.length)break;i=a[h++]}else{h=a.next();if(h.done)break;i=h.value}i=i;var j=i.entity,k=i.entity_type,l=i.length;i=i.offset;i!=null&&l!=null&&j!=null&&j.__typename!=null&&(d.push({entity:j,entity_type:k,length:l,offset:i}),!e&&i+l>=c&&b>=i&&(b=i,e=!0))}e||d.push({entity:{__typename:"SeeMoreTruncation"},entity_type:"SEE_MORE_ANCHOR",length:0,offset:b});return{newEntityRanges:d,newTruncatedEntityOffset:b}}function i(a,b){var c=[],d=[];if(b!=null)for(var a=a,e=Array.isArray(a),f=0,a=e?a:a[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var g;if(e){if(f>=a.length)break;g=a[f++]}else{f=a.next();if(f.done)break;g=f.value}g=g;var h=g.entity,i=g.entity_type,j=g.length;g=g.offset;g!=null&&j!=null&&h!=null&&h.__typename!=null&&(gb&&d.push({entity:h,entity_type:i,length:g+j-b,offset:0})):d.push({entity:h,entity_type:i,length:j,offset:g-b}))}return{entitiesBeforeTruncatedOffset:c,entitiesFromTruncatedOffset:d}}function j(a,b,c){a=h(a,b,c);b=a.newEntityRanges;c=a.newTruncatedEntityOffset;a=i(b,c);b=a.entitiesBeforeTruncatedOffset;a=a.entitiesFromTruncatedOffset;return{entitiesBeforeTruncatedOffset:b,entitiesFromTruncatedOffset:a,newTruncatedEntityOffset:c}}function a(a,b,c){var d=[],e=[],f=-1,g=-1,h=-1;if(!a)return{filteredEntitiesBeforeTruncatedPosition:d,filteredEntitiesFromTruncatedPosition:e,hiddenContentOffset:f,truncatedLineIndex:g,truncatedParagraphIndex:h};a=0;var i;for(var k=0;k=0&&a>=m){h=k;g=n;i=j(o,p,m-a+q);o=i.entitiesBeforeTruncatedOffset;p=i.entitiesFromTruncatedOffset;q=i.newTruncatedEntityOffset;d=o;e=p;f=q;break}}}if(h>=0&&g>=0)break}return{filteredEntitiesBeforeTruncatedPosition:d,filteredEntitiesFromTruncatedPosition:e,hiddenContentOffset:f,truncatedLineIndex:g,truncatedParagraphIndex:h}}f.getTruncatedEntityRangesAfterExpandingSeeMore=h;f.splitEntityRangesIntoRegularAndHiddenParts=i;f.getEntityRangesWithTruncatedEntityAndSplitIntoTwoParts=j;f.filterParagraphsGetTruncatedLinesEntityRangesAndIndex=a}),66); __d("CometSplitPointForText",["EmojiRendererData","UnicodeUtils"],(function(a,b,c,d,e,f,g){"use strict";var h,i;function a(a,b,c,e){c===void 0&&(c=8);e===void 0&&(e=0);var f=null,g=a.split("\n"),h=(i||(i=d("UnicodeUtils"))).strlen(a);h>b&&h-b>e&&(f=b);if(g.length>c){e=g.slice(0,c).join("\n").length;f!==null?f=Math.min(e,f):f=e}if(f==null)return f;else{b=f+j(a,f);return b0&&(h||(h=c("EmojiRendererData"))).isZWJ((i||(i=d("UnicodeUtils"))).charAt(a,b-1).codePointAt(0));return k(a,e?b-1:b)}function k(a,b){var e=(i||(i=d("UnicodeUtils"))).charAt(a,b);if(e!==""){e=e.codePointAt(0);if((h||(h=c("EmojiRendererData"))).isEmojiModifier(e)||(h||(h=c("EmojiRendererData"))).isEmojiVariationSelector(e)||(h||(h=c("EmojiRendererData"))).isTextVariationSelector(e))return 1+k(a,b+1);else if((h||(h=c("EmojiRendererData"))).isZWJ(e)){e=(i||(i=d("UnicodeUtils"))).charAt(a,b+1);if((h||(h=c("EmojiRendererData"))).isEmojiModifierBase(e.codePointAt(0)))return 2+k(a,b+2)}}return 0}g.findSplitPointForText=a}),98); __d("CometTextWithEntitiesBase.react",["UnicodeUtils","gkx","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=h||d("react"),k=j.Fragment;function l(a){return Array.from(a).sort(function(a,b){return a.offset-b.offset||b.length-a.length})}function m(a,b){return b!=null?b.reduce(function(a,b){return b(a)},a):a}m.displayName=m.name+" [from "+f.id+"]";function n(a,b,c,d,e,f,g,h,i){var l=a.__typename;h=Object.prototype.hasOwnProperty.call(h,l)?h[l].concat(i):i;return j.jsx(k,{children:h&&h.length>0?h.reduce(function(d,f){return f(d,a,c,e,b)},f):d},g)}n.displayName=n.name+" [from "+f.id+"]";function o(a,b,c,e,f,g,h,l,o,p,q,r){a=(i||(i=d("UnicodeUtils"))).substr(a,b,c-b);c=o.length;a.length>0&&l.push(j.jsx(k,{children:m(a,p)},"c"+b+"_"+c+"_"+r));p=o.pop();o[o.length-1].subElements.push(n(e,f,g,l,a,l,b+"_"+c+"_"+r,h,q));return p}function a(a){var b=a.ranges;b=b===void 0?[]:b;var e=a.renderers,f=a.transforms,g=f===void 0?[]:f,h=a.text;f=a.disableRangeSort;a=f===void 0?!1:f;var p=(f=e)!=null?f:{},q=0,r=(e=Object.prototype.hasOwnProperty.call(p,"*")?p["*"]:[])!=null?e:[];f=a?b:l(b);var s=[{entity:{__typename:""},entity_is_weak_reference:!1,entityType:"",length:h.length,offset:0,subElements:[]}];if(!c("gkx")("1779648"))for(e=0;e=h.length||a>h.length)break;var w=s[s.length-1],x=w.entity,y=w.entity_is_weak_reference,z=w.entityType,A=w.length,B=w.offset;w=w.subElements;var C=B+A;while(C<=a&&s.length>1){o(h,q,C,x,y,z,p,w,s,g,r,e);q=C;var D=s[s.length-1];x=D.entity;y=D.entity_is_weak_reference;z=D.entityType;A=D.length;B=D.offset;w=D.subElements;C=B+A}q=a+v){s.push({entity:b,entity_is_weak_reference:(D=t)!=null?D:null,entityType:(C=u)!=null?C:null,length:v,offset:a,subElements:[]})}else{var E;D=(i||(i=d("UnicodeUtils"))).substr(h,a,v);C=m(D,g);s[s.length-1].subElements.push(n(b,(E=t)!=null?E:null,(E=u)!=null?E:null,D,D,C,q+"_"+s.length,p,r));q=a+v}}else{var F=[];f.forEach(function(a){F.push({index:a.offset,range:a,type:"start"}),F.push({index:a.offset+a.length,range:a,type:"end"})});F.sort(function(a,b){if(a.index!==b.index)return a.index-b.index;return a.type!==b.type?a.range===b.range?b.type==="start"?1:-1:b.type==="end"?1:-1:0});var G=0;while(G=h.length||H.index>h.length)break;if(H.type==="start"){if(H.index>q){E=(i||(i=d("UnicodeUtils"))).substr(h,q,H.index-q);s[s.length-1].subElements.push(j.jsx(k,{children:m(E,g)},"c"+q+"_"+s.length))}D=H.range;b=D.entity;var t=D.entity_is_weak_reference,u=D.entity_type,v=D.length;a=D.offset;s.push({entity:b,entity_is_weak_reference:(C=t)!=null?C:null,entityType:(e=u)!=null?e:null,length:v,offset:a,subElements:[]});G++;q=H.index}else{var I=new Set();f=F[G];E=function(){var d=F[G];G++;var e=null;I.forEach(function(a){a.entity===d.range.entity&&(e=a)});if(e!=null)I["delete"](e);else if(s.length>1){var i=s[s.length-1],a=i.entity,b=i.entity_is_weak_reference,c=i.entityType;i=i.subElements;var j=o(h,q,H.index,a,b,c,p,i,s,g,r,F.length-G);q=H.index;while(s.length>1&&j.entity!==d.range.entity){I.add(j);var k=s[s.length-1];a=k.entity;b=k.entity_is_weak_reference;c=k.entityType;i=k.subElements;j=o(h,q,q,a,b,c,p,i,s,g,r,F.length-G)}}f=F[G]};while(f&&f.index===H.index&&f.type==="end")E();q=H.index;D=Array.from(I);for(b=D.length-1;b>=0;b--){t=D[b];s.push({entity:t.entity,entity_is_weak_reference:t.entity_is_weak_reference,entityType:t.entityType,length:t.offset+t.length-q,offset:q,subElements:[]})}}}}while(s.length>1){C=s[s.length-1];var x=C.entity,y=C.entity_is_weak_reference,z=C.entityType,A=C.length,B=C.offset;w=C.subElements;u=B+A;o(h,q,u,x,y,z,p,w,s,g,r,s.length);q=u}if(q=0&&a.offset0}));g=d("CometSeeMoreExpandingUtils").filterParagraphsGetTruncatedLinesEntityRangesAndIndex(I,K,a);var L=g.filteredEntitiesBeforeTruncatedPosition,M=g.filteredEntitiesFromTruncatedPosition,N=g.hiddenContentOffset,O=g.truncatedLineIndex,P=g.truncatedParagraphIndex;return k.jsx(k.Fragment,{children:K.map(function(a,b){return k.jsx("div",{className:(h||(h=c("stylex")))(q.paragraph,b!==0&&q.paragraphSpaced,D&&q.preserveWhiteSpace),children:Array.isArray(a)?a.map(function(e,f){var g=e.ranges;e=e.text;var h=E==="center"?E:c("getTextDirectionAttribute")(e);return k.jsxs("div",{dir:h,style:r[h],children:[I&&P===b&&O===f?k.jsxs(k.Fragment,{children:[k.jsx(c("CometTextWithEntitiesBase.react"),babelHelpers["extends"]({ranges:L,text:e.substring(0,N)},G)),k.jsx(d("FocusRegion.react").FocusRegion,{autoFocusQuery:d("focusScopeQueries").focusableScopeQuery,children:k.jsx(c("CometTextWithEntitiesBase.react"),babelHelpers["extends"]({ranges:M,text:e.substring(N)},G))})]}):k.jsx(c("CometTextWithEntitiesBase.react"),babelHelpers["extends"]({ranges:g,text:e},G)),b===K.length-1&&f===a.length-1?J:null]},f)}):k.jsxs(k.Fragment,{children:[k.jsx(c("CometTextWithEntitiesBase.react"),babelHelpers["extends"]({ranges:a.ranges,text:a.text},G)),b===K.length-1?J:null]})},b)})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("BaseCometTextWithExpansionEntities.react",["fbt","BaseCometTextWithEntities.react","react","react-strict-dom"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j=i||(i=d("react")),k=i.useCallback;function a(a){var b=a.LinkRenderer,e=a.seeLessLinkProps,f=a.seeMoreLinkProps,g=a.truncationStyle;a=babelHelpers.objectWithoutPropertiesLoose(a,["LinkRenderer","seeLessLinkProps","seeMoreLinkProps","truncationStyle"]);var i=k(function(a,c,i){if(a){if(g==="see-more-and-less")return j.jsxs(j.Fragment,{children:[" ",j.jsx(b,babelHelpers["extends"]({onClick:i,role:"button",testid:void 0},e,{children:h._("__JHASH__HOgvcwAgZf9__JHASH__")}))]},"seeless")}else{if(g==="none")return null;if(c!=null&&c!==-1)switch(g){case"ellipsis-only":return j.jsx(j.Fragment,{children:h._("__JHASH__7lNkK2cLc2S__JHASH__")},"seemore");case"see-more":case"see-more-and-less":case"see-more-with-attachments":return j.jsxs(j.Fragment,{children:[h._("__JHASH__7lNkK2cLc2S__JHASH__")," ",j.jsx(b,babelHelpers["extends"]({onClick:i,role:"button",testid:void 0},f,{children:h._("__JHASH__JO3lyYgE_aY__JHASH__")}))]},"seemore")}else if(g==="see-more-with-attachments")return j.jsx(d("react-strict-dom").html.div,{children:j.jsx(b,babelHelpers["extends"]({onClick:i,role:"button",testid:void 0},f,{children:h._("__JHASH__JO3lyYgE_aY__JHASH__")}))},"seemore")}},[b,e,f,g]);return j.jsx(c("BaseCometTextWithEntities.react"),babelHelpers["extends"]({truncationStyle:g},a,{seeMoreFragment:i}))}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("CometTextWithEntitiesV2.react",["BaseCometTextWithExpansionEntities.react","CometLink.react","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||d("react");function a(a){return i.jsx(c("BaseCometTextWithExpansionEntities.react"),babelHelpers["extends"]({LinkRenderer:c("CometLink.react")},a))}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("CometBoldedEntityRenderer",["react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||d("react");function a(a,b){return i.jsx("strong",{children:a})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("CometHovercardEntityRenderer",["Actor","ActorHovercard.react","CometHovercardEntityRenderer_actor.graphql","canRenderHovercardForGraphQLEntityType","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=i||d("react");h!==void 0?h:h=b("CometHovercardEntityRenderer_actor.graphql");function k(a){var b=a.entity,e=a.node;a=d("Actor").useActor();a=a[0];if(a==null||a==="0")return e;if(c("canRenderHovercardForGraphQLEntityType")(b.__typename)===!1)return e;return b.id==null?e:j.jsx(c("ActorHovercard.react"),{actorID:b.id,display:"inline",children:function(a){return j.jsx("span",{ref:a,children:e})}})}k.displayName=k.name+" [from "+f.id+"]";function a(a,b){return j.jsx(k,{entity:b,node:a})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("XCometVideoHomeHashtagControllerRouteBuilder",["jsRouteBuilder"],(function(a,b,c,d,e,f,g){a=c("jsRouteBuilder")("/watch/hashtag/{?hashtag}/",Object.freeze({}),void 0);b=a;g["default"]=b}),98); __d("useCurrentRouteBuilder",["CometRouteParams","ConstUriUtils","jsRouteBuilder","react","useCurrentRoute"],(function(a,b,c,d,e,f,g){"use strict";var h,i=(h||d("react")).useMemo;function a(a){var b,e=d("CometRouteParams").useRouteParams();b=(b=c("useCurrentRoute")())!=null?b:{};var f=b.routePath;b=b.url;b=b!=null?(b=d("ConstUriUtils").getUri(b))==null?void 0:b.getPath():null;var g=(a==null?void 0:a.useUrlPath)===!0?b:f;return i(function(){return g==null?null:c("jsRouteBuilder")(g,Object.freeze({}),new Set(),e)},[g,e])}g["default"]=a}),98); __d("isValidURL",[],(function(a,b,c,d,e,f){"use strict";function a(a,b){b===void 0&&(b=!1);var c=/^(([\w-]+\.)+(xn--[\w-]+|\w+)|\[([\da-f]{0,4}:)*(?:[\da-f]{1,4}|(?:(?:\d{1,3}\.){3}\d{1,3}))\])(:[0-9]+)?([/\?].*)?$/,d=/^http(s)?:\/\/(([\w-]+\.)+(xn--[\w-]+|\w+)|\[([\da-f]{0,4}:)*(?:[\da-f]{1,4}|(?:(?:\d{1,3}\.){3}\d{1,3}))\])(:[0-9]+)?([/\?].*)?$/;return b?a.match(d)!==null:a.match(c)!==null||a.match(d)!==null}f["default"]=a}),66); __d("useRenderLinkedEntity",["ix","$InternalEnum","CometTextContext","TetraIcon.react","fbicon","isValidURL","react"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j=i||(i=d("react")),k=i.useContext,l=b("$InternalEnum").Mirrored(["PRODUCT_ITEM","WEAK_REFERENCE","NOT_MEMBER_OF_GROUP","STORE_FRONT","HIGHLIGHT_LINK","PRODUCT_LINK"]);function m(a,b){var e=k(c("CometTextContext"));if(a==null)return null;switch(a){case l.NOT_MEMBER_OF_GROUP:return{colorProp:{color:"secondary"},icon:j.jsx("span",{className:"x1c7jfne x3nfvp2 xw3qccf x1n2onr6 xxymvpz",children:j.jsx(c("TetraIcon.react"),{color:"secondary",icon:(e==null?void 0:e.type)==="body1"?d("fbicon")._(h("491223"),20):d("fbicon")._(h("491221"),12)})})};case l.WEAK_REFERENCE:return{colorProp:{color:"secondary"},icon:j.jsx("span",{className:"x1c7jfne x3nfvp2 xw3qccf x1n2onr6 xxymvpz",children:j.jsx(c("TetraIcon.react"),{color:"secondary",icon:(e==null?void 0:e.type)==="body1"?d("fbicon")._(h("648669"),20):d("fbicon")._(h("648667"),12)})})};case l.STORE_FRONT:return{colorProp:{color:"secondary"},target:"_blank"};case l.PRODUCT_LINK:case l.PRODUCT_ITEM:return b!=null&&c("isValidURL")(b)?{colorProp:{color:"highlight"},weight:"normal"}:{colorProp:{color:"highlight"},weight:"normal"};case l.HIGHLIGHT_LINK:return{colorProp:{color:"highlight"},target:"_blank"}}}function a(a){a=a===!0?l.WEAK_REFERENCE:null;return m(a)}g.EntityRenderType=l;g.useRenderLinkedEntity=m;g.useRenderWeakReferenceEntity=a}),98); __d("CometLinkedEntityRenderer",["CometDangerouslySuppressInteractiveElementsContext","CometHovercardLinkContext","CometLink.react","CometLinkedEntityRenderer_entity.graphql","CometRelay","GroupsCometGroupRuleLink.react","ProfileCometProfileLink.react","XCometVideoHomeHashtagControllerRouteBuilder","gkx","react","useCurrentRouteBuilder","useRenderLinkedEntity","useShowHovercardsOnClick"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=i||(i=d("react")),k=i.useContext;h!==void 0?h:h=b("CometLinkedEntityRenderer_entity.graphql");function l(a){var b,e=a.entity,f=a.entityIsWeakReference,g=a.node;a=a.originalText;var h=function(){if(f===!0)return d("useRenderLinkedEntity").EntityRenderType.WEAK_REFERENCE;if(e.__typename==="ProductItem")return d("useRenderLinkedEntity").EntityRenderType.PRODUCT_ITEM;if(e.__typename==="ExternalUrl"&&e.url!=null&&e.url.includes("/shop/?"))return d("useRenderLinkedEntity").EntityRenderType.STORE_FRONT;return e.__typename==="ShareURLObject"?d("useRenderLinkedEntity").EntityRenderType.HIGHLIGHT_LINK:null},i=c("useShowHovercardsOnClick")(),l=k(c("CometHovercardLinkContext"));l=l.isRenderedInHovercard;h=d("useRenderLinkedEntity").useRenderLinkedEntity(h(),a);var m=h==null?void 0:h.colorProp,n=h==null?void 0:h.icon;b=(b=h==null?void 0:h.prefix)!=null?b:null;var o=h==null?void 0:h.target;h=h==null?void 0:h.weight;var p=c("useCurrentRouteBuilder")();p=p==null?void 0:p.buildURL().toString();if(e.url==null)return g;if(e.__typename==="User"&&f===!0&&c("gkx")("7883")){var q;q=j.jsx(c("CometDangerouslySuppressInteractiveElementsContext").Provider,{value:l===!1&&i,children:j.jsxs(c("CometLink.react"),{color:m==null?void 0:m.color,href:e.url,preserveQueryInShim:c("gkx")("4275"),target:o,testid:void 0,weight:h,children:[(q=n)!=null?q:null,g]})});return j.jsx(d("CometRelay").MatchContainer,{fallback:q,match:e,props:{children:g,navigationSource:"linked_entity",originalText:a}})}if(e.__typename==="User"||e.__typename==="XFBWorkroomsUser"){return j.jsxs(c("ProfileCometProfileLink.react"),babelHelpers["extends"]({actor:e,navigationSource:"linked_entity",ref:null},m,{children:[(q=n)!=null?q:null,g]}))}else if(e.__typename==="GroupRule"&&e.id!=null)return j.jsx(c("GroupsCometGroupRuleLink.react"),{groupRuleID:e.id,children:g});a=((p==null?void 0:p.includes("/watch"))||(p==null?void 0:p.includes("/videos/"))||(p==null?void 0:p.includes("/reel")))&&e.__typename==="Hashtag";q=a===!0?(q=e.url)==null?void 0:(p=q.split("/"))==null?void 0:p.pop():null;p=q!=null?c("XCometVideoHomeHashtagControllerRouteBuilder").buildURL({hashtag:q}).toString():null;l=j.jsx(c("CometDangerouslySuppressInteractiveElementsContext").Provider,{value:l===!1&&i,children:j.jsxs(c("CometLink.react"),{color:m==null?void 0:m.color,href:a===!0?p:e.url,preserveQueryInShim:c("gkx")("4275"),target:o,testid:void 0,weight:h,children:[(q=n)!=null?q:null,g]})});switch(e.__typename){case"GroupHashtag":case"Page":return j.jsx(d("CometRelay").MatchContainer,{fallback:l,match:e,props:{children:g}});default:return j.jsxs(j.Fragment,{children:[b,l]})}}l.displayName=l.name+" [from "+f.id+"]";a=function(a,b,c,d,e){return j.jsx(l,{entity:b,entityIsWeakReference:(c=e)!=null?c:null,node:a,originalText:d})};g["default"]=a}),98); __d("CometLineBreakTransform",["baseTextTransformAllStrings","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||d("react");a=function(a,b){var d=0;return c("baseTextTransformAllStrings")(a,function(a,b){return a.split("\n").reduce(function(a,c,e){return e===0?[].concat(a,[c]):[].concat(a,[i.jsx("br",{},b+"-"+d++),c])},[])})};g["default"]=a}),98); __d("GraphQLGender",["GenderConst","IntlVariations"],(function(a,b,c,d,e,f,g){"use strict";a=function(){function a(a,b){this.$1=a,this.$2=b}var b=a.prototype;b.toIntlVariationsEnum=function(){var a=this.$1;if(a==null)return c("IntlVariations").GENDER_UNKNOWN;switch(a){case"MALE":return c("IntlVariations").GENDER_MALE;case"FEMALE":return c("IntlVariations").GENDER_FEMALE;default:return c("IntlVariations").GENDER_UNKNOWN}};b.toGenderConstEnum=function(){var a=this.$1,b=this.$2||{},d=b.isPlural||!1;b=b.isGuess||!1;switch(a){case"MALE":return d?c("GenderConst").MALE_PLURAL:b?c("GenderConst").MALE_SINGULAR_GUESS:c("GenderConst").MALE_SINGULAR;case"FEMALE":return d?c("GenderConst").FEMALE_PLURAL:b?c("GenderConst").FEMALE_SINGULAR_GUESS:c("GenderConst").FEMALE_SINGULAR;case"NEUTER":return d?c("GenderConst").NEUTER_PLURAL:c("GenderConst").NEUTER_SINGULAR;default:return d?c("GenderConst").UNKNOWN_PLURAL:c("GenderConst").UNKNOWN_SINGULAR}};a.fromGenderConstEnum=function(b){switch(b){case c("GenderConst").FEMALE_SINGULAR:return new a("FEMALE");case c("GenderConst").MALE_SINGULAR:return new a("MALE");case c("GenderConst").FEMALE_SINGULAR_GUESS:return new a("FEMALE",{isGuess:!0});case c("GenderConst").MALE_SINGULAR_GUESS:return new a("MALE",{isGuess:!0});case c("GenderConst").NEUTER_SINGULAR:return new a("NEUTER");case c("GenderConst").UNKNOWN_SINGULAR:return new a("UNKNOWN");case c("GenderConst").FEMALE_PLURAL:return new a("FEMALE",{isPlural:!0});case c("GenderConst").MALE_PLURAL:return new a("MALE",{isPlural:!0});case c("GenderConst").NEUTER_PLURAL:return new a("NEUTER",{isPlural:!0});case c("GenderConst").UNKNOWN_PLURAL:return new a("UNKNOWN",{isPlural:!0});default:return new a("UNKNOWN")}};return a}();g["default"]=a}),98);/*FB_PKG_DELIM*/ __d("CometRoundedTextInput.react",["BaseFocusRing.react","BaseTextInput.react","CometScreenReaderText.react","Locale","react","stylex","useBaseInputValidators"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=i||(i=d("react"));b=i;var k=b.useId,l=b.useState,m={backgroundPlaceholder:{backgroundColor:"xmjcpbm",$$css:!0},backgroundSecondary:{backgroundColor:"x1qhmfi1",$$css:!0},disabledInput:{color:"x1dntmbh",cursor:"x1h6gzvc",$$css:!0},endIcon:{paddingEnd:"xsyo7zv",paddingLeft:null,paddingRight:null,$$css:!0},fontPlaceholder:{color:"x12scifz","::placeholder_color":"x2s2ed0",":focus::placeholder_color":"xq33zhf",$$css:!0},fontSecondary:{color:"xi81zsa",$$css:!0},hideIconAnimation:{transitionDuration:"xhb22t3",transitionProperty:"xb5gni",transitionTimingFunction:"xcj1dhv",$$css:!0},hideIconAnimationRTL:{transitionDuration:"xhb22t3",transitionProperty:"x1b1fv3o",transitionTimingFunction:"xcj1dhv",$$css:!0},icon:{alignItems:"x6s0dn4",display:"x78zum5",whiteSpace:"xuxw1ft",$$css:!0},iconFocused:{marginEnd:"x1v89cbv",marginLeft:null,marginRight:null,opacity:"xg01cxk",pointerEvents:"x47corl",transform:"x1o18zem",$$css:!0},iconFocusedRTL:{marginEnd:"x1h5jrl4",marginLeft:null,marginRight:null,transform:"x18r5ilk",$$css:!0},root:{alignItems:"x1qjc9v5",borderTopStartRadius:"xnwf7zb",borderTopEndRadius:"x40j3uw",borderBottomEndRadius:"x1s7lred",borderBottomStartRadius:"x15gyhx8",boxSizing:"x9f619",display:"x78zum5",minWidth:"x1fns5xo",position:"x1n2onr6",width:"xh8yej3",$$css:!0},startIcon:{pointerEvents:"x47corl",$$css:!0},textInput:{appearance:"xjyslct",backgroundColor:"xjbqb8w",borderTopStartRadius:"xnwf7zb",borderTopEndRadius:"x40j3uw",borderBottomEndRadius:"x1s7lred",borderBottomStartRadius:"x15gyhx8",borderTopWidth:"x972fbf",borderEndWidth:"xcfux6l",borderBottomWidth:"x1qhh985",borderStartWidth:"xm0m39n",boxSizing:"x9f619",color:"xzsf02u",flexBasis:"xdl72j9",flexGrow:"x1iyjqo2",flexShrink:"xs83m0k",fontFamily:"xjb2p0i",fontSize:"x6prxxf",minWidth:"xeuugli",outline:"x1a2a7pz",paddingTop:"xm7lytj",paddingEnd:"xn6708d",paddingBottom:"xdvlbce",paddingStart:"x1ye3gou",position:"x1n2onr6","::-ms-clear_display":"x15h3p50",$$css:!0}},n={large:{paddingStart:"x1ye3gou",paddingLeft:null,paddingRight:null,$$css:!0},medium:{paddingStart:"x1sln4lm",paddingLeft:null,paddingRight:null,$$css:!0}},o={center:{textAlign:"x2b8uid",$$css:!0},end:{textAlign:"xp4054r",$$css:!0},inherit:{textAlign:"x16tdsg8",$$css:!0},start:{textAlign:"x1yc453h",$$css:!0}},p={focused:{transform:"x1avfe6s",$$css:!0}},q={large:{paddingTop:"xm7lytj",paddingEnd:"x1sxyh0",paddingBottom:"xdvlbce",paddingStart:"xurb0ha",$$css:!0},medium:{paddingTop:"xm7lytj",paddingEnd:"xsyo7zv",paddingBottom:"xdvlbce",paddingStart:"x16hj40l",$$css:!0}},r={large:{minHeight:"x1ba4aug",$$css:!0},medium:{minHeight:"xu0aao5",$$css:!0}},s={large:{height:"x1vqgdyp",$$css:!0},medium:{height:"xc9qbxq",$$css:!0}},t=d("Locale").isRTL();function a(a,b){var d=a.addOnEnd,e=a["aria-describedby"],f=a.autoFocus_PLEASE_USE_FOCUS_REGION_INSTEAD,g=a.disabled,i=g===void 0?!1:g;g=a.hideIconAnimation;var u=g===void 0?!1:g;g=a.hideIconOnFocus;var v=g===void 0?!1:g,w=a.icon,x=a.label,y=a.onBlur,z=a.onFocus,A=a.onMouseUp;g=a.placeholderFontUse;var B=g===void 0?"placeholder":g;g=a.size;var C=g===void 0?"medium":g;g=a.textAlign;var D=g===void 0?"start":g;g=a.validator;var E=a.value,F=a.xstyle,G=babelHelpers.objectWithoutPropertiesLoose(a,["addOnEnd","aria-describedby","autoFocus_PLEASE_USE_FOCUS_REGION_INSTEAD","disabled","hideIconAnimation","hideIconOnFocus","icon","label","onBlur","onFocus","onMouseUp","placeholderFontUse","size","textAlign","validator","value","xstyle"]),H=k();a=c("useBaseInputValidators")({validator:g,value:String(E)});var I=a.topResultReason,J=a.topResultType;g=l(!1);var K=g[0],L=g[1],M=function(a){L(!0),z&&z(a)},N=function(a){L(!1),y&&y(a)},O=function(a){A&&A(a)},P=I!=null?H+" "+((a=e)!=null?a:""):e;return j.jsx(c("BaseFocusRing.react"),{children:function(a){return j.jsxs("label",{className:(h||(h=c("stylex")))(a,m.root,r[C],B==="placeholder"&&m.backgroundPlaceholder,B==="secondary"&&m.backgroundSecondary),children:[w!=null?j.jsx("span",{className:(h||(h=c("stylex")))(!u&&m.hideIconAnimation,!u&&t&&m.hideIconAnimationRTL,m.icon,m.startIcon,n[C],v&&K&&m.iconFocused,v&&K&&t&&m.iconFocusedRTL),children:w}):null,j.jsx(c("BaseTextInput.react"),babelHelpers["extends"]({},G,{"aria-describedby":P,"aria-invalid":J==="ERROR","aria-label":x||G["aria-label"],autoFocus:f,disabled:i,onBlur:N,onFocus:M,onMouseUp:O,ref:b,suppressFocusRing:!0,value:E,xstyle:[o[D],!t&&m.hideIconAnimation,t&&m.hideIconAnimationRTL,B==="placeholder"&&m.fontPlaceholder,B==="secondary"&&m.fontSecondary,v&&K&&t&&p.focused,m.textInput,w!=null&&q[C],s[C],i&&m.disabledInput,F]})),d!=null&&j.jsx("span",{className:"x6s0dn4 x78zum5 xuxw1ft xsyo7zv",children:d}),I!=null?j.jsx(c("CometScreenReaderText.react"),{id:H,text:I}):null]})}})}a.displayName=a.name+" [from "+f.id+"]";e=j.forwardRef(a);g["default"]=e}),98); __d("BaseTypeaheadLayoutContextualStrategyStateContext",["react"],(function(a,b,c,d,e,f,g){"use strict";var h;a=h||d("react");b=a.createContext(null);g["default"]=b}),98); __d("useBaseTypeaheadLayoutContextualStrategyStateContext",["BaseTypeaheadLayoutContextualStrategyStateContext","FBLogger","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=(h||d("react")).useContext;function a(){var a=i(c("BaseTypeaheadLayoutContextualStrategyStateContext"));if(a==null)throw c("FBLogger")("typeahead_framework").mustfixThrow("Contextual Layout Strategy State is not found");return a}g["default"]=a}),98); __d("CometInternalTypeaheadStateContext",["react"],(function(a,b,c,d,e,f,g){"use strict";var h;a=h||d("react");b=a.createContext({activeEntries:[],highlightedEntry:null,highlightedEntrySource:null});g["default"]=b}),98); __d("useCometInternalTypeaheadState",["CometInternalTypeaheadStateContext","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=(h||d("react")).useContext;function a(){return i(c("CometInternalTypeaheadStateContext"))}g["default"]=a}),98); __d("useCometInternalTypeaheadFetchHandler",["react","useBaseTypeaheadLayoutContextualStrategyStateContext","useCometInternalTypeaheadFetch","useCometInternalTypeaheadState"],(function(a,b,c,d,e,f,g){"use strict";var h;b=h||d("react");var i=b.useCallback,j=b.useEffect;function a(a){var b=a.loggingProvider,d=a.queryString,e=a.traceProvider;a=c("useBaseTypeaheadLayoutContextualStrategyStateContext")();var f=a.isOpened;a=c("useCometInternalTypeaheadState")();var g=a.activeEntries;a=c("useCometInternalTypeaheadFetch")();var h=a.fetch;a=i(function(){function a(a,c){var d=null;b!=null&&(d=b.addEvent({action:"keystroke",entries:g,queryString:a},"useCometInternalTypeaheadFetchHandler"));d=d!=null?{loggingEventTrace:d,perfTraceAPI:c,query:a}:{perfTraceAPI:c,query:a};h(d)}var c=d.trimLeft().replace(/\s+/g," ");if(!f)return;e?e.trace(function(b){return a(c,b)},c):a(c)},[g,h,f,b,d,e]);j(a,[f,d])}g["default"]=a}),98); __d("BaseTypeaheadDataFetchTrigger.react",["useCometInternalTypeaheadFetchHandler"],(function(a,b,c,d,e,f,g){"use strict";function a(a){var b=a.loggingProvider,d=a.queryString;a=a.traceProvider;c("useCometInternalTypeaheadFetchHandler")({loggingProvider:b,queryString:d,traceProvider:a});return null}g["default"]=a}),98); __d("cometTypeaheadMouseUtils",[],(function(a,b,c,d,e,f){"use strict";function a(a){return a!=null&&(a.ctrlKey||a.metaKey||a.shiftKey)}f.hasModifierKeyPressed=a}),66); __d("useCometInternalTypeaheadOnAbandonLoggingHandler",["react","useCometInternalTypeaheadState"],(function(a,b,c,d,e,f,g){"use strict";var h,i=(h||d("react")).useCallback;function a(a){var b=a.callback,d=a.loggingProvider,e=a.queryString;a=c("useCometInternalTypeaheadState")();var f=a.activeEntries;return i(function(){d!=null&&d.isSessionActive()&&(d.addEvent({action:"abandon",entries:f,queryString:e},"useCometInternalTypeaheadOnAbandonLoggingHandler"),d.endSession()),b&&b()},[f,d,b,e])}g["default"]=a}),98); __d("useCometInternalTypeaheadOnEnterLoggingHandler",["react","useCometInternalTypeaheadState"],(function(a,b,c,d,e,f,g){"use strict";var h,i=(h||d("react")).useCallback;function a(a){var b=a.loggingProvider,d=a.onEnter,e=a.queryString;a=c("useCometInternalTypeaheadState")();var f=a.activeEntries,g=a.highlightedEntry;return i(function(){g!=null&&(b&&b.addEvent({action:"click",entries:f,entry:g,queryString:e},"useCometInternalTypeaheadOnEnterLoggingHandler:without_highlightedEntry")),g==null&&(b&&b.addEvent({action:"enter",entries:f,queryString:e},"useCometInternalTypeaheadOnEnterLoggingHandler:with_highlightedEntry")),b&&b.endSession(),d&&d()},[f,g,b,d,e])}g["default"]=a}),98); __d("useCometInternalTypeaheadOnFocusLoggingHandler",["react","useCometInternalTypeaheadState"],(function(a,b,c,d,e,f,g){"use strict";var h,i=(h||d("react")).useCallback;function a(a){var b=a.loggingProvider,d=a.onFocus,e=a.queryString;a=c("useCometInternalTypeaheadState")();var f=a.activeEntries;return i(function(){b!=null&&(b.startSession(),b.addEvent({action:"typeahead_appeared",entries:f,queryString:e},"useCometInternalTypeaheadOnFocusLoggingHandler")),d&&d()},[f,b,d,e])}g["default"]=a}),98); __d("useCometInternalTypeaheadOnPressEntryLoggingHandler",["react","useCometInternalTypeaheadState"],(function(a,b,c,d,e,f,g){"use strict";var h,i=(h||d("react")).useCallback;function a(a){var b=a.loggingProvider,d=a.onPressEntry,e=a.queryString;a=c("useCometInternalTypeaheadState")();var f=a.activeEntries;return i(function(a,c){b!=null&&(b.addEvent({action:"click",entries:f,entry:a,queryString:e},"useCometInternalTypeaheadOnPressEntryLoggingHandler"),b.endSession()),d&&d(a,c)},[f,b,d,e])}g["default"]=a}),98); __d("useCometTypeaheadInputRefs",["mergeRefs","react"],(function(a,b,c,d,e,f,g){"use strict";var h;b=h||d("react");var i=b.useMemo,j=b.useRef;function a(a){var b=j(null),d=i(function(){return c("mergeRefs")(b,a)},[b,a]);return{composedRef:d,inputRef:b}}g["default"]=a}),98); __d("CometInternalTypeahead.react",["BaseTypeaheadDataFetchTrigger.react","cometTypeaheadMouseUtils","emptyFunction","react","useCometInternalTypeaheadOnAbandonLoggingHandler","useCometInternalTypeaheadOnEnterLoggingHandler","useCometInternalTypeaheadOnFocusLoggingHandler","useCometInternalTypeaheadOnPressEntryLoggingHandler","useCometInternalTypeaheadState","useCometTypeaheadInputRefs"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||(h=d("react")),j=h.useCallback;function a(a){var b,e=a.inputRef,f=a.layoutStrategyRenderer,g=a.loggingProvider,h=a.onEnter,k=a.onFocus,l=a.onPressEntry,m=a.onSelectFreeformQuery,n=a.onShiftTab,o=a.onTab,p=a.queryString,q=a.traceProvider;a=babelHelpers.objectWithoutPropertiesLoose(a,["inputRef","layoutStrategyRenderer","loggingProvider","onEnter","onFocus","onPressEntry","onSelectFreeformQuery","onShiftTab","onTab","queryString","traceProvider"]);e=c("useCometTypeaheadInputRefs")(e);var r=e.composedRef,s=e.inputRef;e=c("useCometInternalTypeaheadState")();var t=e.highlightedEntry;e=c("useCometInternalTypeaheadOnEnterLoggingHandler")({loggingProvider:g,onEnter:j(function(){t!=null?l&&l(t):m&&m(p),h&&h()},[t,h,l,m,p]),queryString:p});k=c("useCometInternalTypeaheadOnFocusLoggingHandler")({loggingProvider:g,onFocus:k,queryString:p});var u=c("useCometInternalTypeaheadOnPressEntryLoggingHandler")({loggingProvider:g,onPressEntry:j(function(a,b){if(d("cometTypeaheadMouseUtils").hasModifierKeyPressed(b)){s.current&&s.current.focus();return}l&&l(a)},[s,l]),queryString:p});n=(b=c("useCometInternalTypeaheadOnAbandonLoggingHandler"))({callback:n,loggingProvider:g,queryString:p});o=b({callback:o,loggingProvider:g,queryString:p});var v=b({callback:c("emptyFunction"),loggingProvider:g,queryString:p});b=b({callback:c("emptyFunction"),loggingProvider:g,queryString:p});return i.jsxs(i.Fragment,{children:[i.jsx(c("BaseTypeaheadDataFetchTrigger.react"),{loggingProvider:g,queryString:p,traceProvider:q}),i.jsx(f,babelHelpers["extends"]({},a,{inputRef:r,onAbandonTypeahead_DO_NOT_USE:b,onClick:c("emptyFunction"),onEnter:e,onFocus:k,onHighlightEntry:a.onHighlightEntry,onOutsideClick:v,onPressEntry:u,onShiftTab:n,onTab:o,queryString:p,traceProvider:q,xstyles:a.xstyles}))]})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("CometInternalTypeaheadEmptyFetchContext",["react"],(function(a,b,c,d,e,f,g){"use strict";var h;a=h||d("react");b=a.createContext(!1);g["default"]=b}),98); __d("CometInternalTypeaheadEmptyFetchProvider",["CometInternalTypeaheadEmptyFetchContext","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||(h=d("react"));b=h;var j=b.useLayoutEffect,k=b.useState;function a(a){var b=a.children,d=a.isLoading;a=a.source;var e=k(!0),f=e[0],g=e[1];j(function(){d&&g(!1)},[d]);e=["all","network"].includes(a);a=!(e&&f||d);return i.jsx(c("CometInternalTypeaheadEmptyFetchContext").Provider,{value:a,children:b})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("CometInternalTypeaheadStateDispatcherContext",["react"],(function(a,b,c,d,e,f,g){"use strict";var h;a=h||d("react");b=a.createContext();g["default"]=b}),98); __d("useCometInternalTypeaheadStateDispatcher",["CometInternalTypeaheadStateDispatcherContext","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=(h||d("react")).useContext;function a(){return i(c("CometInternalTypeaheadStateDispatcherContext"))}g["default"]=a}),98); __d("CometInternalTypeaheadFetchProvider",["CometInternalTypeaheadEmptyFetchProvider","CometInternalTypeaheadFetchContext","react","useBaseTypeaheadDataSourceFetch","useCometInternalTypeaheadStateDispatcher"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||(h=d("react"));b=h;var j=b.useCallback,k=b.useMemo;function a(a){var b=a.children,d=a.dataSource,e=a.dataSourceFetchConfigParams;a.loggingContext;var f=a.onFetchEntries_DO_NOT_USE,g=a.traceProvider;a=c("useCometInternalTypeaheadStateDispatcher")();var h=a.dispatchActiveEntries;a=c("useBaseTypeaheadDataSourceFetch")({dataSource:d,dataSourceFetchConfigParams:e,onResolvePayload:j(function(a,b){var c;a=a.entries;var d=b.isTraceComplete;b=b.source;h((c=a)!=null?c:[]);f&&f(a);g&&!g.isResolved()&&(d&&(b==="cache"&&a.length>=g.getEntriesCountForVisualComplete()?g.setEndReason("max_suggestions_reached"):b==="network"?g.setEndReason("all_queries_completed"):b==="network-no-results"&&g.setEndReason("all_queries_completed_no_network_results"),g.resolve()))},[h,f,g])});d=a[0];var l=d.isLoading,m=d.source,n=a[1],o=a[2];e=k(function(){return{fetch:n,isLoading:l,refetch:o,source:m}},[n,l,o,m]);return i.jsx(c("CometInternalTypeaheadFetchContext").Provider,{value:e,children:i.jsx(c("CometInternalTypeaheadEmptyFetchProvider"),{isLoading:l,source:m,children:b})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("BaseTypeaheadLayoutContextualStrategyStateContextProvider.react",["BaseTypeaheadLayoutContextualStrategyStateContext","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||(h=d("react"));b=h;var j=b.useCallback,k=b.useMemo,l=b.useState;function a(a){var b=a.children,d=a.autoOpen,e=a.onClose,f=a.onOpen;a=l(d);var g=a[0],h=a[1],m=j(function(a){if(a===g)return;h(a);a?f():e()},[g,e,f]);d=k(function(){return{dispatchIsOpened:m,isOpened:g}},[m,g]);return i.jsx(c("BaseTypeaheadLayoutContextualStrategyStateContext").Provider,{value:d,children:b})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("CometInternalTypeaheadStateProvider",["BaseTypeaheadLayoutContextualStrategyStateContextProvider.react","CometInternalTypeaheadStateContext","CometInternalTypeaheadStateDispatcherContext","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||(h=d("react"));b=h;var j=b.useCallback,k=b.useEffect,l=b.useMemo,m=b.useRef,n=b.useState,o=[];function a(a){var b=a.autoOpen,d=a.children,e=a.emptyEntries_DO_NOT_USE,f=e===void 0?o:e;e=a.onClose;a=a.onOpen;var g=n(null),h=g[0],p=g[1];g=n(null);var q=g[0],r=g[1];g=n(f);var s=g[0],t=g[1],u=m(f);k(function(){if(u.current===f)return;u.current=f;t(function(a){return a.length?a:f})},[t,u,f]);var v=j(function(a){t(function(b){b=Array.isArray(a)?a:a(b);return b.length>0?b:u.current})},[t,u]),w=j(function(a){var b=a.entry;a=a.source;p(b);r(a)},[]);g=l(function(){return{dispatchActiveEntries:v,dispatchHighlightedEntry:w}},[v,w]);var x=l(function(){return{activeEntries:s,highlightedEntry:h,highlightedEntrySource:q}},[s,h,q]);return i.jsx(c("CometInternalTypeaheadStateDispatcherContext").Provider,{value:g,children:i.jsx(c("CometInternalTypeaheadStateContext").Provider,{value:x,children:i.jsx(c("BaseTypeaheadLayoutContextualStrategyStateContextProvider.react"),{autoOpen:b,onClose:e,onOpen:a,children:d})})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("withCometTypeaheadInputStrategyShouldQueryStringFollowHighlightedEntry",["react","useCometInternalTypeaheadState"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||d("react");function a(a,b){var d=b.shouldQueryStringFollowHighlightedEntry;return i.forwardRef(function(b,e){var f=b.queryString;b=babelHelpers.objectWithoutPropertiesLoose(b,["queryString"]);var g=c("useCometInternalTypeaheadState")(),h=g.highlightedEntry;g=g.highlightedEntrySource;g=d&&g==="keyboard"&&h!=null?h.label:f;return i.jsx(a,babelHelpers["extends"]({},b,{queryString:g,ref:e}))})}g["default"]=a}),98); __d("BaseTypeahead.react",["CometHeroInteractionContextPassthrough.react","CometInternalTypeahead.react","CometInternalTypeaheadFetchProvider","CometInternalTypeaheadStateProvider","emptyFunction","react","withCometTypeaheadInputStrategyShouldQueryStringFollowHighlightedEntry"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||(h=d("react"));b=h;var j=b.useCallback,k=b.useId,l=b.useMemo;function a(a){var b=a.autoOpen;b=b===void 0?!1:b;var d=a.autoFocus;d=d===void 0?!1:d;var e=a.inputStrategyRenderer,f=a.dataSource,g=a.dataSourceFetchConfigParams,h=a.decorators,m=h===void 0?[]:h;h=a.emptyEntries_DO_NOT_USE;var n=a.id,o=a.isDisabled;o=o===void 0?!1:o;var p=a.label;p=p===void 0?"":p;var q=a.loggingContext,r=a.onBackspace;r=r===void 0?c("emptyFunction"):r;var s=a.onBlur;s=s===void 0?c("emptyFunction"):s;var t=a.onChange,u=a.onClose;u=u===void 0?c("emptyFunction"):u;var v=a.onEnter;v=v===void 0?c("emptyFunction"):v;var w=a.onEscape;w=w===void 0?c("emptyFunction"):w;var x=a.onFetchEntries_DO_NOT_USE,y=a.onFocus;y=y===void 0?c("emptyFunction"):y;var z=a.onOpen;z=z===void 0?c("emptyFunction"):z;var A=a.onPressEntry,B=a.placeholder;B=B===void 0?"":B;var C=a.shouldQueryStringFollowHighlightedEntry,D=C===void 0?!0:C;C=a.shouldQueryStringUpdateFromSelectedEntryOnClick;var E=C===void 0?!0:C;C=a.testid;C=C===void 0?"":C;C=a.traceProvider;var F=a.viewRole;F=F===void 0?"listbox":F;var G=a.viewStrategyRenderer,H=a.inputRef;a=babelHelpers.objectWithoutPropertiesLoose(a,["autoOpen","autoFocus","inputStrategyRenderer","dataSource","dataSourceFetchConfigParams","decorators","emptyEntries_DO_NOT_USE","id","isDisabled","label","loggingContext","onBackspace","onBlur","onChange","onClose","onEnter","onEscape","onFetchEntries_DO_NOT_USE","onFocus","onOpen","onPressEntry","placeholder","shouldQueryStringFollowHighlightedEntry","shouldQueryStringUpdateFromSelectedEntryOnClick","testid","traceProvider","viewRole","viewStrategyRenderer","inputRef"]);var I=k(),J=l(function(){var a=c("CometInternalTypeahead.react");m.forEach(function(b){var c=b.decorate;b=b.params;a=c(a,b)});return a},[m]),K=j(function(a){E&&t(a.label),A&&A(a)},[t,A,E]),L=l(function(){return c("withCometTypeaheadInputStrategyShouldQueryStringFollowHighlightedEntry")(e,{shouldQueryStringFollowHighlightedEntry:D})},[e,D]);p=p||B;return i.jsx(c("CometHeroInteractionContextPassthrough.react"),{clear:!0,children:i.jsx(c("CometInternalTypeaheadStateProvider"),{autoOpen:b,emptyEntries_DO_NOT_USE:h,onClose:u,onOpen:z,children:i.jsx(c("CometInternalTypeaheadFetchProvider"),{dataSource:f,dataSourceFetchConfigParams:g,loggingContext:q,onFetchEntries_DO_NOT_USE:x,traceProvider:C,children:i.jsx(J,babelHelpers["extends"]({},a,{autoFocus:d,id:(b=n)!=null?b:I,inputRef:H,inputStrategyRenderer:L,isDisabled:o,label:p,onBackspace:r,onBlur:s,onChange:t,onDownArrow:c("emptyFunction"),onEnter:v,onEscape:w,onFocus:y,onHighlightEntry:c("emptyFunction"),onPressEntry:K,onShiftTab:c("emptyFunction"),onTab:c("emptyFunction"),onUpArrow:c("emptyFunction"),placeholder:B,testid:void 0,traceProvider:C,viewRole:F,viewStrategyRenderer:G}))})})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("CometTypeaheadHelperText.react",["TetraTextPairing.react","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||d("react");function a(a){a=a.text;return i.jsx("div",{className:"x1xmf6yo",children:i.jsx(c("TetraTextPairing.react"),{level:4,meta:a,metaColor:"secondary"})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("useCometTypeaheadInputStrategyOnBlurHandler",["react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=(h||d("react")).useCallback;function a(a){var b=a.onBlur;return i(function(){b&&b()},[b])}g["default"]=a}),98); __d("useCometTypeaheadInputStrategyOnFocusHandler",["react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=(h||d("react")).useCallback;function a(a){var b=a.inputRef,c=a.onFocus;return i(function(){b.current!=null&&b.current.select(),c&&c()},[b,c])}g["default"]=a}),98); __d("useCometTypeaheadInputHandlers",["useCometTypeaheadInputStrategyOnBlurHandler","useCometTypeaheadInputStrategyOnFocusHandler"],(function(a,b,c,d,e,f,g){"use strict";function a(a){var b=a.inputRef,d=a.onBlur,e=a.onFocus;a=babelHelpers.objectWithoutPropertiesLoose(a,["inputRef","onBlur","onFocus"]);b=c("useCometTypeaheadInputStrategyOnFocusHandler")({inputRef:b,onFocus:e});e=c("useCometTypeaheadInputStrategyOnBlurHandler")({onBlur:d});return babelHelpers["extends"]({},a,{onBlur:e,onFocus:b})}g["default"]=a}),98); __d("useCometTypeaheadInputStrategyOnChangeHandler",["react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=(h||d("react")).useCallback;function a(a){var b=a.onChange;return i(function(a){var c=a.target.value;b&&b(c,a)},[b])}g["default"]=a}),98); __d("useCometTypeaheadInputRefsWebOnly",["useCometTypeaheadInputRefs","xplatToDOMRef"],(function(a,b,c,d,e,f,g){"use strict";function a(a){return c("useCometTypeaheadInputRefs")(a!=null?d("xplatToDOMRef").xplatToInputRef(a):null)}g["default"]=a}),98); __d("CometTypeaheadInputStrategyEventListener.react",["fbt","CometComponentWithKeyCommands.react","CometKeys","react","useCometTypeaheadInputHandlers","useCometTypeaheadInputRefsWebOnly"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j=i||(i=d("react")),k=i.useMemo,l={root:{width:"xh8yej3",$$css:!0}};function a(a,b){var d=a.children,e=a.isInline,f=a.onBackspace,g=a.onDownArrow,i=a.onEnter,m=a.onEscape,n=a.onShiftTab,o=a.onTab,p=a.onUpArrow;a=babelHelpers.objectWithoutPropertiesLoose(a,["children","isInline","onBackspace","onDownArrow","onEnter","onEscape","onShiftTab","onTab","onUpArrow"]);var q=k(function(){var a;return[{command:{key:(a=c("CometKeys")).DELETE},description:h._("__JHASH__2XTxAX3qgrF__JHASH__"),handler:function(){return f&&f()},isHiddenCommand:!0,shouldPreventDefault:!1,triggerFromInputs:!0},{command:{key:a.DOWN},description:h._("__JHASH__CqK0EeqSMhz__JHASH__"),handler:function(){return g&&g()},triggerFromInputs:!0},{command:{key:a.UP},description:h._("__JHASH__iUKjo5X2a54__JHASH__"),handler:function(){return p&&p()},triggerFromInputs:!0},{command:{key:a.ESCAPE},description:h._("__JHASH__wwSVh79-oc2__JHASH__"),handler:function(){return m&&m()},triggerFromInputs:!0},{command:{key:a.ENTER},description:h._("__JHASH__mihpnKYilqe__JHASH__"),handler:function(){return i&&i()},triggerFromInputs:!0},{command:{key:a.TAB},description:h._("__JHASH__Z6s23TRj9Pk__JHASH__"),handler:function(){return o&&o()},isHiddenCommand:!0,shouldPreventDefault:!1,shouldStopPropagation:!1,triggerFromInputs:!0},{command:{key:a.TAB,shift:!0},description:h._("__JHASH__Z6s23TRj9Pk__JHASH__"),handler:function(){return n&&n()},isHiddenCommand:!0,shouldPreventDefault:!1,shouldStopPropagation:!1,triggerFromInputs:!0}]},[f,g,i,m,n,o,p]);b=c("useCometTypeaheadInputRefsWebOnly")(b);var r=b.composedRef;b=b.inputRef;b=c("useCometTypeaheadInputHandlers")(babelHelpers["extends"]({inputRef:b},a));return j.jsx(c("CometComponentWithKeyCommands.react"),{commandConfigs:q,elementType:e===!0?"span":"div",xstyle:l.root,children:d(r,b)})}a.displayName=a.name+" [from "+f.id+"]";b=j.forwardRef(a);g["default"]=b}),98); __d("cometTypeaheadInputWebkitStyles",[],(function(a,b,c,d,e,f,g){"use strict";a={"default":{WebkitAppearance:"xo6swyp","::-webkit-search-cancel-button_appearance":"x1ad04t7","::-webkit-search-decoration_appearance":"x1glnyev","::-webkit-search-results-button_appearance":"x1ix68h3","::-webkit-search-results-decoration_appearance":"x19gujb8",$$css:!0}};b=a;g["default"]=b}),98); __d("CometTypeaheadInputRoundedStrategy.react",["CometRoundedTextInput.react","MagnifyingGlassFilled16IconSvg.react","TetraIcon.react","cometTypeaheadInputWebkitStyles","react","useCometTextDirection","useCometTypeaheadInputStrategyOnChangeHandler"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||d("react");function a(a,b){var d=a.ariaProps;a.description;a.errorMessage;a.id;var e=a.inputEndContent,f=a.inputStartContent,g=a.inputExtraProps;g=g===void 0?{}:g;var h=g.hideIconOnFocus;h=h===void 0?!1:h;var j=g.hideIconAnimation;j=j===void 0?!1:j;var k=g.icon;k=k===void 0?i.jsx(c("TetraIcon.react"),{color:"secondary",icon:c("MagnifyingGlassFilled16IconSvg.react"),size:16}):k;var l=g.size;g=g.xstyle;g=g===void 0?{}:g;var m=a.isDisabled,n=a.onChange,o=a.label;o=o===void 0?"":o;var p=a.queryString,q=a.testid;q=a.autoFocus;a=babelHelpers.objectWithoutPropertiesLoose(a,["ariaProps","description","errorMessage","id","inputEndContent","inputStartContent","inputExtraProps","isDisabled","onChange","label","queryString","testid","autoFocus"]);var r=c("useCometTextDirection")(p);n=c("useCometTypeaheadInputStrategyOnChangeHandler")({onChange:n});return i.jsxs("div",{className:"x6s0dn4 x78zum5 xh8yej3",children:[f,i.jsx(c("CometRoundedTextInput.react"),babelHelpers["extends"]({},d,a,{autoComplete:"off",autoFocus_PLEASE_USE_FOCUS_REGION_INSTEAD:q,"data-testid":void 0,dir:r,disabled:m,hideIconAnimation:j,hideIconOnFocus:h,icon:k,label:o,onChange:n,ref:b,size:l,spellCheck:!1,suppressHydrationWarning:!0,type:"search",value:p,xstyle:[g,c("cometTypeaheadInputWebkitStyles")["default"]]})),e]})}a.displayName=a.name+" [from "+f.id+"]";b=i.forwardRef(a);g["default"]=b}),98); __d("findCometScrollableLayoutActiveNode",[],(function(a,b,c,d,e,f){"use strict";function g(a){if(a==null)return null;if(a.tagName==="LI")return a.getAttribute("aria-selected")==="true"?a:null;return a.children==null?null:Array.from(a.children).reduce(function(a,b){return(a=a)!=null?a:g(b)},null)}f["default"]=g}),66); __d("useCometTypeaheadKeyboardForScrollableArea",["findCometScrollableLayoutActiveNode","react"],(function(a,b,c,d,e,f,g){"use strict";var h;b=h||d("react");var i=b.useEffect,j=b.useRef;function a(a){var b=j(null);i(function(){var a;(a=c("findCometScrollableLayoutActiveNode")((a=b.current)==null?void 0:a.getDOMNode()))==null?void 0:a.scrollIntoView({behavior:"smooth",block:"nearest"})},[a]);return b}g["default"]=a}),98); __d("useCometTypeaheadLayoutStrategyOnBlurHandler",["react","useCometInternalTypeaheadStateDispatcher"],(function(a,b,c,d,e,f,g){"use strict";var h,i=(h||d("react")).useCallback;function a(a){var b=a.onBlur;a=c("useCometInternalTypeaheadStateDispatcher")();var d=a.dispatchHighlightedEntry;return i(function(){d({entry:null,source:null}),b&&b()},[d,b])}g["default"]=a}),98); __d("useCometTypeaheadLayoutStrategyOnChangeHandler",["react","useCometInternalTypeaheadState"],(function(a,b,c,d,e,f,g){"use strict";var h,i=(h||d("react")).useCallback;function a(a){var b=a.onChange,d=a.onHighlightEntry;a=c("useCometInternalTypeaheadState")();var e=a.highlightedEntry;return i(function(a,c){e!=null&&d(null,"keyboard"),b&&b(a,c)},[e,b,d])}g["default"]=a}),98); __d("useCometInternalTypeaheadKeyboardNavigation",["baseTypeaheadFlattenEntries","cometTypeaheadKeyboardNavigationUtils","react","useCometInternalTypeaheadState"],(function(a,b,c,d,e,f,g){"use strict";var h,i=(h||d("react")).useCallback;function a(){var a=c("useCometInternalTypeaheadState")(),b=a.activeEntries;a=a.highlightedEntry;var e=c("baseTypeaheadFlattenEntries")(b),f=a!=null?a.key:null;b=i(function(a){return d("cometTypeaheadKeyboardNavigationUtils").moveDown(e,f,function(b){a(b,"keyboard")})},[f,e]);a=i(function(a){return d("cometTypeaheadKeyboardNavigationUtils").moveUp(e,f,function(b){a(b,"keyboard")})},[f,e]);return{onKeyboardDownArrow:b,onKeyboardUpArrow:a}}g["default"]=a}),98); __d("useCometTypeaheadLayoutStrategyOnDownArrowHandler",["react","useCometInternalTypeaheadKeyboardNavigation"],(function(a,b,c,d,e,f,g){"use strict";var h,i=(h||d("react")).useCallback;function a(a){var b=a.onDownArrow,d=a.onHighlightEntry;a=c("useCometInternalTypeaheadKeyboardNavigation")();var e=a.onKeyboardDownArrow;return i(function(){e(d),b&&b()},[b,d,e])}g["default"]=a}),98); __d("useCometTypeaheadLayoutStrategyOnEnterHandler",["react","useCometInternalTypeaheadState"],(function(a,b,c,d,e,f,g){"use strict";var h,i=(h||d("react")).useCallback;function a(a){var b=a.inputRef,d=a.onEnter;a=c("useCometInternalTypeaheadState")();var e=a.highlightedEntry,f=a.highlightedEntrySource,g=b.current;return i(function(){var a;a=(a=g==null?void 0:g.value)!=null?a:"";var b=e!=null&&f==="keyboard";if(a.trim().length===0&&!b)return;d&&d()},[g,e,f,d])}g["default"]=a}),98); __d("useCometTypeaheadLayoutStrategyOnHighlightEntryHandler",["react","useCometInternalTypeaheadStateDispatcher"],(function(a,b,c,d,e,f,g){"use strict";var h,i=(h||d("react")).useCallback;function a(a){var b=a.onHighlightEntry;a=c("useCometInternalTypeaheadStateDispatcher")();var d=a.dispatchHighlightedEntry;return i(function(a,c){d({entry:a,source:c}),b&&b(a,c)},[d,b])}g["default"]=a}),98); __d("useCometTypeaheadLayoutStrategyOnOutsideClickHandler",["react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=(h||d("react")).useCallback;function a(a){var b=a.inputRef,c=a.onOutsideClick;return i(function(){if(b.current===document.activeElement)return;c&&c()},[b,c])}g["default"]=a}),98); __d("useCometTypeaheadLayoutStrategyOnPressEntryHandler",["react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=(h||d("react")).useCallback;function a(a){var b=a.onPressEntry;return i(function(a,c){b(a,c)},[b])}g["default"]=a}),98); __d("useCometTypeaheadLayoutStrategyOnUpArrowHandler",["react","useCometInternalTypeaheadKeyboardNavigation"],(function(a,b,c,d,e,f,g){"use strict";var h,i=(h||d("react")).useCallback;function a(a){var b=a.onHighlightEntry,d=a.onUpArrow;a=c("useCometInternalTypeaheadKeyboardNavigation")();var e=a.onKeyboardUpArrow;return i(function(){e(b),d&&d()},[b,e,d])}g["default"]=a}),98); __d("useCometTypeaheadViewStrategyOutsideClickListener",["react"],(function(a,b,c,d,e,f,g){"use strict";var h;b=h||d("react");var i=b.useCallback,j=b.useEffect;function a(a,b){var c=i(function(c){var d=a.current;c=c.target;d!=null&&c instanceof Node&&!d.contains(c)&&b()},[a,b]);j(function(){document.addEventListener("click",c);return function(){document.removeEventListener("click",c)}},[c])}g["default"]=a}),98); __d("CometTypeaheadViewStrategyEventListener.react",["react","useCometTypeaheadViewStrategyOutsideClickListener"],(function(a,b,c,d,e,f,g){"use strict";var h;h||(h=d("react"));var i=h.useRef;function a(a){var b=a.children;a=a.onOutsideClick;var d=i(null);c("useCometTypeaheadViewStrategyOutsideClickListener")(d,a);return b(d)}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("cometHandleHighlightDropOnMouseLeave",[],(function(a,b,c,d,e,f){"use strict";function a(a){return function(){a(null,"mouse")}}f["default"]=a}),66); __d("CometTypeaheadInternalLayoutContextualStrategy.react",["CometContextualLayer.react","CometTypeaheadInputStrategyEventListener.react","CometTypeaheadViewStrategyEventListener.react","cometHandleHighlightDropOnMouseLeave","react","stylex","useCometInternalTypeaheadState","xplatToDOMRef"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=i||(i=d("react")),k=i.useRef;function a(a){var b=a.contextualProps;b=b===void 0?{}:b;var e=b.align;e=e===void 0?"stretch":e;var f=b.position;f=f===void 0?"below":f;b=babelHelpers.objectWithoutPropertiesLoose(b,["align","position"]);var g=a.description,i=a.errorMessage,l=a.extraLayoutProps,m=l.ariaProps,n=m.ariaDescribedByProps,o=m.ariaInputProps,p=m.ariaViewProps;m=l.helperTextComponent;var q=l.isLoading;l=l.isOpened;var r=a.inputStrategyRenderer,s=a.label,t=a.onBackspace,u=a.onBlur,v=a.onFocus,w=a.onClick,x=a.onDownArrow,y=a.onEnter,z=a.onEscape,A=a.onShiftTab,B=a.onTab,C=a.onUpArrow,D=a.queryString,E=a.inputRef,F=a.viewStrategyRenderer,G=a.xstyles,H=babelHelpers.objectWithoutPropertiesLoose(a,["contextualProps","description","errorMessage","extraLayoutProps","inputStrategyRenderer","label","onBackspace","onBlur","onFocus","onClick","onDownArrow","onEnter","onEscape","onShiftTab","onTab","onUpArrow","queryString","inputRef","viewStrategyRenderer","xstyles"]);a=k(null);var I=k(null),J=I.current,K=c("useCometInternalTypeaheadState")(),L=K.activeEntries,M=K.highlightedEntry,N=c("cometHandleHighlightDropOnMouseLeave")(H.onHighlightEntry);return j.jsxs(j.Fragment,{children:[j.jsx("div",{className:(h||(h=c("stylex")))(G==null?void 0:G.layoutXStyle),ref:I,children:j.jsx("div",{className:h(G==null?void 0:G.inputXStyle),children:j.jsx(c("CometTypeaheadInputStrategyEventListener.react"),{onBackspace:t,onBlur:u,onChange:H.onChange,onClick:w,onDownArrow:x,onEnter:y,onEscape:z,onFocus:v,onShiftTab:A,onTab:B,onUpArrow:C,ref:E,children:function(a,b){return j.jsx(r,babelHelpers["extends"]({},b,{ariaProps:o,autoFocus:H.autoFocus,description:g,errorMessage:i,id:H.id,inputEndContent:H.inputEndContent,inputExtraProps:H.inputExtraProps,inputStartContent:H.inputStartContent,isDisabled:H.isDisabled,label:s,placeholder:H.placeholder,queryString:D,ref:d("xplatToDOMRef").xplatToInputRef(a),testid:void 0}))}})})}),m!=null&&j.jsx("div",babelHelpers["extends"]({className:"x1xmf6yo"},n,{children:m})),J&&l&&j.jsx(c("CometContextualLayer.react"),babelHelpers["extends"]({},b,{align:e,context_DEPRECATED:J,position:f,ref:a,children:j.jsx(c("CometTypeaheadViewStrategyEventListener.react"),{onOutsideClick:H.onOutsideClick,children:function(a){return j.jsx("div",{className:(h||(h=c("stylex")))(G==null?void 0:G.viewXStyle_DO_NOT_USE),onMouseLeave:N,ref:a,children:j.jsx(F,{ariaProps:p,entries:L,highlightedEntry:M,isLoading:q,onAbandonTypeahead_DO_NOT_USE:H.onAbandonTypeahead_DO_NOT_USE,onHighlightEntry:H.onHighlightEntry,onPressEntry:H.onPressEntry,queryString:D})})}})}))]})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("useCometTypeaheadInternalLayoutInlineStrategyHandlers",["react","useCometTypeaheadLayoutStrategyOnBlurHandler","useCometTypeaheadLayoutStrategyOnChangeHandler","useCometTypeaheadLayoutStrategyOnDownArrowHandler","useCometTypeaheadLayoutStrategyOnEnterHandler","useCometTypeaheadLayoutStrategyOnHighlightEntryHandler","useCometTypeaheadLayoutStrategyOnOutsideClickHandler","useCometTypeaheadLayoutStrategyOnPressEntryHandler","useCometTypeaheadLayoutStrategyOnUpArrowHandler"],(function(a,b,c,d,e,f,g){"use strict";var h,i=(h||d("react")).useCallback;function a(a){var b=a.inputRef,d=a.onBlur,e=a.onChange,f=a.onDownArrow,g=a.onEnter,h=a.onEscape,j=a.onHighlightEntry,k=a.onOutsideClick,l=a.onPressEntry;a=a.onUpArrow;j=c("useCometTypeaheadLayoutStrategyOnHighlightEntryHandler")({onHighlightEntry:j});d=c("useCometTypeaheadLayoutStrategyOnBlurHandler")({onBlur:d});var m=c("useCometTypeaheadLayoutStrategyOnChangeHandler")({onChange:e,onHighlightEntry:j});e=c("useCometTypeaheadLayoutStrategyOnEnterHandler")({inputRef:b,onEnter:g});g=i(function(){m(""),h&&h()},[m,h]);f=c("useCometTypeaheadLayoutStrategyOnDownArrowHandler")({onDownArrow:f,onHighlightEntry:j});a=c("useCometTypeaheadLayoutStrategyOnUpArrowHandler")({onHighlightEntry:j,onUpArrow:a});l=c("useCometTypeaheadLayoutStrategyOnPressEntryHandler")({onPressEntry:l});b=c("useCometTypeaheadLayoutStrategyOnOutsideClickHandler")({inputRef:b,onOutsideClick:k});return{onBlur:d,onChange:m,onDownArrow:f,onEnter:e,onEscape:g,onHighlightEntry:j,onOutsideClick:b,onPressEntry:l,onUpArrow:a}}g["default"]=a}),98); __d("useCometTypeaheadInternalLayoutContextualStrategyHandlers",["react","useBaseTypeaheadLayoutContextualStrategyStateContext","useCometTypeaheadInternalLayoutInlineStrategyHandlers"],(function(a,b,c,d,e,f,g){"use strict";var h,i=(h||d("react")).useCallback;function a(a){var b=a.handlers,d=b.onAbandonTypeahead_DO_NOT_USE,e=b.onClick,f=b.onOutsideClick,g=b.onShiftTab,h=b.onTab,j=babelHelpers.objectWithoutPropertiesLoose(b,["onAbandonTypeahead_DO_NOT_USE","onClick","onOutsideClick","onShiftTab","onTab"]);b=a.inputRef;a=a.shouldHandleCloseAfterHandlePressEntry;var k=a===void 0?!1:a;a=c("useBaseTypeaheadLayoutContextualStrategyStateContext")();var l=a.dispatchIsOpened,m=a.isOpened;a=i(function(){l(!1),f&&f()},[l,f]);b=c("useCometTypeaheadInternalLayoutInlineStrategyHandlers")(babelHelpers["extends"]({inputRef:b,onOutsideClick:a},j));a=b.onBlur;var n=b.onChange,o=b.onDownArrow,p=b.onEnter,q=b.onEscape,r=b.onHighlightEntry,s=b.onOutsideClick,t=b.onPressEntry,u=b.onUpArrow;b=i(function(){l(!1),d&&d()},[l,d]);var v=i(function(){l(!0),e&&e()},[l,e]),w=i(function(a,b){l(!0),n&&n(a,b)},[l,n]),x=i(function(){m?o&&o():l(!0)},[l,m,o]),y=i(function(){l(!1),p&&p()},[l,p]),z=i(function(){m?(l(!1),j.onEscape&&j.onEscape()):q&&q()},[l,j,m,q]),A=i(function(a,b){k||l(!1),t&&t(a,b),k&&l(!1)},[l,t,k]),B=i(function(){l(!1),g&&g()},[l,g]),C=i(function(){l(!1),h&&h()},[l,h]),D=i(function(){!m?l(!0):u&&u()},[l,m,u]);return{onAbandonTypeahead_DO_NOT_USE:b,onBlur:a,onChange:w,onClick:v,onDownArrow:x,onEnter:y,onEscape:z,onHighlightEntry:r,onOutsideClick:s,onPressEntry:A,onShiftTab:B,onTab:C,onUpArrow:D}}g["default"]=a}),98); __d("useCometTypeaheadLayoutStrategyStyles",["react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=(h||d("react")).useMemo,j={defaultLayout:{boxSizing:"x9f619",display:"x78zum5",flexDirection:"xdt5ytf",width:"xh8yej3",$$css:!0},stateDisabled:{$$css:!0},stateError:{$$css:!0},stateOpened:{$$css:!0},stateWarning:{$$css:!0}};function a(a){var b=a.isDisabled,c=b===void 0?!1:b;b=a.isError;var d=b===void 0?!1:b;b=a.isOpened;var e=b===void 0?!1:b;b=a.isWarning;var f=b===void 0?!1:b;b=a.xstyles;var g=b.inputXStyle,h=b.layoutOpenedXStyle,k=b.layoutXStyle,l=b.viewXStyle_DO_NOT_USE;return i(function(){return{inputXStyle:g,layoutXStyle:[j.defaultLayout,k,e&&h,c&&j.stateDisabled,e&&j.stateOpened,d&&j.stateError,f&&j.stateWarning],viewXStyle_DO_NOT_USE:[l]}},[g,c,d,e,f,h,k,l])}g["default"]=a}),98); __d("CometTypeaheadLayoutContextualStrategy.react",["CometTypeaheadHelperText.react","CometTypeaheadInternalLayoutContextualStrategy.react","react","useBaseTypeaheadLayoutContextualStrategyStateContext","useCometInternalTypeaheadFetch","useCometInternalTypeaheadState","useCometTypeaheadInputRefs","useCometTypeaheadInternalLayoutContextualStrategyHandlers","useCometTypeaheadLayoutContextualStrategyARIAProps","useCometTypeaheadLayoutStrategyStyles"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||d("react"),j={view:{backgroundColor:"x1jx94hy",borderTopStartRadius:"x1lq5wgf",borderTopEndRadius:"xgqcy7u",borderBottomEndRadius:"x30kzoy",borderBottomStartRadius:"x9jhf4c",boxShadow:"xbsqzb3",boxSizing:"x9f619",display:"x78zum5",flexDirection:"xdt5ytf",flexGrow:"x1iyjqo2",marginTop:"xr9ek0c",width:"xh8yej3",$$css:!0}};function a(a){var b=a.extraLayoutProps;b=b===void 0?{}:b;var d=b.afterViewContent;b=b.beforeViewContent;var e=a.helperText,f=a.label,g=a.onAbandonTypeahead_DO_NOT_USE,h=a.onBlur,k=a.onChange,l=a.onClick,m=a.onDownArrow,n=a.onEnter,o=a.onEscape,p=a.onHighlightEntry,q=a.onOutsideClick,r=a.onPressEntry,s=a.onShiftTab,t=a.onTab,u=a.onUpArrow,v=a.viewRole,w=a.inputRef,x=a.shouldHandleCloseAfterHandlePressEntry;x=x===void 0?!1:x;var y=a.xstyles;y=y===void 0?{}:y;var z=y.viewXStyle_DO_NOT_USE;y=babelHelpers.objectWithoutPropertiesLoose(y,["viewXStyle_DO_NOT_USE"]);a=babelHelpers.objectWithoutPropertiesLoose(a,["extraLayoutProps","helperText","label","onAbandonTypeahead_DO_NOT_USE","onBlur","onChange","onClick","onDownArrow","onEnter","onEscape","onHighlightEntry","onOutsideClick","onPressEntry","onShiftTab","onTab","onUpArrow","viewRole","inputRef","shouldHandleCloseAfterHandlePressEntry","xstyles"]);var A=c("useCometInternalTypeaheadFetch")();A=A.isLoading;var B=c("useBaseTypeaheadLayoutContextualStrategyStateContext")();B=B.isOpened;var C=c("useCometInternalTypeaheadState")(),D=C.activeEntries;C=C.highlightedEntry;w=c("useCometTypeaheadInputRefs")(w);var E=w.composedRef;w=w.inputRef;g=c("useCometTypeaheadInternalLayoutContextualStrategyHandlers")({handlers:{onAbandonTypeahead_DO_NOT_USE:g,onBlur:h,onChange:k,onClick:l,onDownArrow:m,onEnter:n,onEscape:o,onHighlightEntry:p,onOutsideClick:q,onPressEntry:r,onShiftTab:s,onTab:t,onUpArrow:u},inputRef:w,shouldHandleCloseAfterHandlePressEntry:x});h=c("useCometTypeaheadLayoutContextualStrategyARIAProps")({activeEntries:D,helperText:e,highlightedEntry:C,inputLabel:f,isOpened:B,viewRole:v});k=c("useCometTypeaheadLayoutStrategyStyles")({isOpened:B,xstyles:babelHelpers["extends"]({viewXStyle_DO_NOT_USE:[j.view,z]},y)});return i.jsx(c("CometTypeaheadInternalLayoutContextualStrategy.react"),babelHelpers["extends"]({},a,g,{extraLayoutProps:{afterViewContent:d,ariaProps:h,beforeViewContent:b,helperTextComponent:e!=null?i.jsx(c("CometTypeaheadHelperText.react"),{text:e}):null,isLoading:A,isOpened:B},helperText:e,inputRef:E,label:f,viewRole:v,xstyles:k}))}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("CometTypeaheadInternalLayoutInlineStrategy.react",["CometTypeaheadInputStrategyEventListener.react","CometTypeaheadViewStrategyEventListener.react","cometHandleHighlightDropOnMouseLeave","react","stylex","useCometInternalTypeaheadState","useCometTypeaheadLayoutStrategyStyles","xplatToDOMRef"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=i||d("react");function a(a){var b=a.extraLayoutProps,e=b.ariaProps,f=e.ariaDescribedByProps,g=e.ariaInputProps,i=e.ariaViewProps;e=b.helperTextComponent;var k=b.isLoading;b=b.isOpened;var l=a.description,m=a.errorMessage,n=a.extraViewProps,o=a.id,p=a.inputStrategyRenderer,q=a.label,r=a.onBackspace,s=a.onBlur,t=a.onChange,u=a.onClick,v=a.onDownArrow,w=a.onEnter,x=a.onEscape,y=a.onFocus,z=a.onShiftTab,A=a.onTab,B=a.onUpArrow,C=a.queryString,D=a.inputRef,E=a.viewStrategyRenderer,F=a.xstyles;F=F===void 0?{}:F;var G=babelHelpers.objectWithoutPropertiesLoose(a,["extraLayoutProps","description","errorMessage","extraViewProps","id","inputStrategyRenderer","label","onBackspace","onBlur","onChange","onClick","onDownArrow","onEnter","onEscape","onFocus","onShiftTab","onTab","onUpArrow","queryString","inputRef","viewStrategyRenderer","xstyles"]);a=c("useCometInternalTypeaheadState")();var H=a.activeEntries,I=a.highlightedEntry;a=c("useCometTypeaheadLayoutStrategyStyles")({isOpened:b,xstyles:F});F=a.inputXStyle;var J=a.layoutXStyle,K=a.viewXStyle_DO_NOT_USE,L=c("cometHandleHighlightDropOnMouseLeave")(G.onHighlightEntry);return j.jsxs("div",{className:(h||(h=c("stylex")))(J),children:[j.jsx("div",{className:h(F),children:j.jsx(c("CometTypeaheadInputStrategyEventListener.react"),{onBackspace:r,onBlur:s,onChange:t,onClick:u,onDownArrow:v,onEnter:w,onEscape:x,onFocus:y,onShiftTab:z,onTab:A,onUpArrow:B,ref:D,children:function(a,b){return j.jsx(p,babelHelpers["extends"]({},b,{ariaProps:g,autoFocus:G.autoFocus,description:l,errorMessage:m,id:o,inputEndContent:G.inputEndContent,inputExtraProps:G.inputExtraProps,inputStartContent:G.inputStartContent,isDisabled:G.isDisabled,label:q,placeholder:G.placeholder,queryString:C,ref:d("xplatToDOMRef").xplatToInputRef(a),testid:void 0}))}})}),e!=null&&j.jsx("div",babelHelpers["extends"]({className:"x1xmf6yo"},f,{children:e})),b&&j.jsx(c("CometTypeaheadViewStrategyEventListener.react"),{onOutsideClick:G.onOutsideClick,children:function(a){return j.jsx("div",{className:(h||(h=c("stylex")))(K),onMouseLeave:L,ref:a,children:j.jsx(E,{ariaProps:i,entries:H,extraViewProps:n,highlightedEntry:I,isLoading:k,onAbandonTypeahead_DO_NOT_USE:G.onAbandonTypeahead_DO_NOT_USE,onHighlightEntry:G.onHighlightEntry,onPressEntry:G.onPressEntry,queryString:C})})}})]})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("useCometTypeaheadNavigate",["CometProductAttributionContext","goForceFullPageRedirectTo","isCometRouterUrl","react","useCometRouterDispatcher"],(function(a,b,c,d,e,f,g){"use strict";var h;b=h||d("react");var i=b.useCallback,j=b.useContext;function a(a){var b=c("useCometRouterDispatcher")(),d=j(c("CometProductAttributionContext"));return i(function(e,f){if(e==null)return;if(b!=null){var g;g={fromLink:{tap_point:(g=a==null?void 0:a.tapPoint)!=null?g:"tap_scoped_search_bar"},linkContext:d};c("isCometRouterUrl")(e)?b.go(e,{productAttributionUpdateProps:g}):c("goForceFullPageRedirectTo")(e)}else f&&f(e)},[b,d,a==null?void 0:a.tapPoint])}g["default"]=a}),98); __d("useCometTypeaheadEmptyState",["CometInternalTypeaheadEmptyFetchContext","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=(h||d("react")).useContext;function a(){return i(c("CometInternalTypeaheadEmptyFetchContext"))}g["default"]=a}),98); __d("CometTypeaheadViewEmptyState.react",["TetraText.react","react","stylex","useCometTypeaheadEmptyState"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=i||d("react"),k={root:{alignItems:"x6s0dn4",display:"x78zum5",height:"xc9qbxq",justifyContent:"xl56j7k",$$css:!0}};function a(a){var b=a.children;a=a.xstyle;var d=c("useCometTypeaheadEmptyState")();return d?j.jsx("div",{"aria-live":"polite","aria-selected":!1,className:(h||(h=c("stylex")))(k.root,a),"data-testid":void 0,role:"option",children:j.jsx(c("TetraText.react"),{color:"tertiary",numberOfLines:1,type:"body3",children:b})}):null}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("XCometActivityLogControllerRouteBuilder",["jsRouteBuilder"],(function(a,b,c,d,e,f,g){a=c("jsRouteBuilder")("/{vanity}/allactivity/",Object.freeze({manage_mode:!1,should_load_landing_page:!1,activity_history:!1}),void 0);b=a;g["default"]=b}),98);/*FB_PKG_DELIM*/ __d("registerSourceForView",["DTSG","DTSGUtils","SprinkleConfig","XCometPrivacySandboxRegisterSourceControllerRouteBuilder","isAttributionReportingAPIEnabled"],(function(a,b,c,d,e,f,g){"use strict";function a(a,b){if(!c("isAttributionReportingAPIEnabled")())return;var e={eventSourceEligible:!0,triggerEligible:!1},f={},g=c("XCometPrivacySandboxRegisterSourceControllerRouteBuilder").buildUri({});a!=null&&a.length>0?f.eid=a:b!=null&&b.length>0&&(f.xt=b);a=d("DTSG").getToken();a!=null&&a.length>0&&(f.fb_dtsg=a,c("SprinkleConfig").param_name.length>0&&(f[c("SprinkleConfig").param_name]=c("DTSGUtils").getNumericValue(a)));b=Object.keys(f).map(function(a){return[encodeURIComponent(a),encodeURIComponent(f[a])].join("=")}).join("&");window.fetch(g,{attributionReporting:e,body:b,headers:{"Content-Type":"application/x-www-form-urlencoded"},keepalive:!0,method:"POST"})}g["default"]=a}),98); __d("ContentVisibility",["ConstUriUtils","gkx"],(function(a,b,c,d,e,f,g){"use strict";a=c("gkx")("1249968");b=c("gkx")("1806005");e=null;if(a){f=d("ConstUriUtils").getUri(window.location.href);c=f==null?void 0:f.getQueryParam("force_content_visibility");e=c!=null?c==="1":null}f=null;if(b){c=d("ConstUriUtils").getUri(window.location.href);d=c==null?void 0:c.getQueryParam("force_tab_content_visibility");f=d!=null?d==="1":null}d=(c=e)!=null?c:a;c=(e=f)!=null?e:b;g.CONTENT_VISIBILITY_ENABLED=d;g.CONTENT_VISIBILITY_ENABLED_FOR_TABS=c}),98); __d("DebugOwl",["cr:1801726"],(function(a,b,c,d,e,f,g){"use strict";var h=function(){return void 0};c=(a=b("cr:1801726"))!=null?a:{burrow:h,flap:h,fly:h,hoot:h,listen:function(){return h},nest:h,peck:h,perch:h,swoop:h};d=c;g["default"]=d}),98); __d("cometGHLContentDisplayCheck",["cr:1824699"],(function(a,b,c,d,e,f,g){"use strict";var h=!0,i=!1;function a(a){var c=document.body;c=c==null||!c.contains(a);b("cr:1824699")&&b("cr:1824699").flap(a,{notMounted:c});if(c)return h;c=a.offsetHeight===0;b("cr:1824699")&&b("cr:1824699").flap(a,{zeroHeight:c});if(c)return i;c=Array.from(a.getElementsByTagName("img"));var d=c.length===0;b("cr:1824699")&&b("cr:1824699").flap(a,{noImages:d});if(c.length===0)return h;d=c.find(j)!=null;b("cr:1824699")&&b("cr:1824699").flap(a,{hasImageWithSize:d});if(d)return h;c=Array.from(a.getElementsByTagName("svg"));if(c.find(k)!=null)return h;d=Array.from(a.getElementsByTagName("i"));if(d.find(k)!=null)return h;b("cr:1824699")&&b("cr:1824699").flap(a,{noSuccessfulChecks:!0});return i}var j=function(a){return a.offsetHeight+a.offsetWidth>0},k=function(a){a=a.getBoundingClientRect();return a.height*a.width>0};g["default"]=a}),98); __d("CometGHLDisplayMonitor",["DebugOwl","clearTimeout","cometGHLContentDisplayCheck","gkx","recoverableViolation","setTimeoutCometLoggingPri"],(function(a,b,c,d,e,f,g){"use strict";var h=new Map(),i=1e3,j=null;a=function(a,b){h.has(a)||h.set(a,new Set());var d=h.get(a);if(d==null){c("recoverableViolation")("Expected Set to be declared for container","GHL");return{dispose:function(){}}}d.add(b);j===null&&k();return{dispose:function(){d["delete"](b),d.size===0&&(h["delete"](a),h.size===0&&(c("clearTimeout")(j),j=null))}}};var k=function a(){h.forEach(function(a,b){b=b.current;if(b==null||l(b)||!c("cometGHLContentDisplayCheck")(b))return;a.forEach(function(a,b){a=b.onLogBlockCallback;var d=b.startTime;b=b.targetRef;b=b.current;c("DebugOwl").hoot(b);if(b==null)return;var e=l(b)!=null;c("DebugOwl").flap(b,{hiddenByFB:e});if(e)return;e=c("cometGHLContentDisplayCheck")(b);if(!e){b=Date.now()-d;a(b)}})}),j=c("setTimeoutCometLoggingPri")(a,i)},l=function(a){return a.closest==null||a.closest(m)},m=function(){return"."+"x1s85apg".split(" ").pop()+(c("gkx")("3989")?",."+"xdps06".split(" ").pop():"")}();g.m=a}),98); __d("CometGHLTracker",["DebugOwl","GHLBox"],(function(a,b,c,d,e,f,g){"use strict";var h=new Set();function a(a){c("DebugOwl").swoop(a),h.add(a),h.size>d("GHLBox").MinimumHiddenAdsToUpdateLocalStorage&&d("GHLBox").s(Date.now())}function b(a){return h.has(a)}function e(a){return h["delete"](a)}function f(){return h.size>0}function i(){return h.size}g.m=a;g.c=b;g.d=e;g.b=f;g.s=i}),98); __d("GHLSurfaceContainerContext",["react"],(function(a,b,c,d,e,f,g){"use strict";var h;a=h||d("react");b=a.createContext(null);g["default"]=b}),98); __d("useCometGHLDisplayMonitor",["CometGHLDisplayMonitor","GHLSurfaceContainerContext","react"],(function(a,b,c,d,e,f,g){"use strict";var h;b=h||d("react");var i=b.useContext,j=b.useEffect,k=b.useRef;function a(a,b){var e=k(null),f=i(c("GHLSurfaceContainerContext"));j(function(){var c=null,g=Date.now();if(f===null)return;if(!a)return;c=d("CometGHLDisplayMonitor").m(f,{onLogBlockCallback:b,startTime:g,targetRef:e});return function(){c&&c.dispose()}},[f,a,b]);return e}g["default"]=a}),98); __d("CometProfiler.react",["hero-tracing"],(function(a,b,c,d,e,f,g){"use strict";g["default"]=d("hero-tracing").HeroReactProfiler}),98); __d("CometTimeSpentUtils",["forEachObject"],(function(a,b,c,d,e,f,g){"use strict";var h=function(a,b,d){a=(a=a.timeSpentConfig)==null?void 0:a.session_ids;if(d==null||a==null)return b;c("forEachObject")(a,function(a,c){a=a.extradata_key;if(a!=null){b[a]=(a=d[c])!=null?a:void 0}});return b};a=function(a,b,c){if(c==null)return b;c=c||Object.freeze({});var d=c.session_ids;c=babelHelpers.objectWithoutPropertiesLoose(c,["session_ids"]);return h(a,babelHelpers["extends"]({},b,c),d)};g.addSessionIDsInfo=h;g.addTimeSpentMetaData=a}),98); __d("SearchCometGlobalResultPageTracePolicy",[],(function(a,b,c,d,e,f){a=Object.freeze({CHAT_TAB:"comet.search_results.chat_tab",DEFAULT_TAB:"comet.search_results.default_tab",HASHTAG:"comet.search_results.hashtag",PHOTOS_TAB:"comet.search_results.photos_tab",TOP_TAB:"comet.search_results.top_tab"});f["default"]=a}),66); __d("isSearchCometGlobalResultPageTracePolicy",["SearchCometGlobalResultPageTracePolicy"],(function(a,b,c,d,e,f,g){"use strict";function a(a){return Object.values(c("SearchCometGlobalResultPageTracePolicy")).includes(a)}g["default"]=a}),98); __d("CometVisitationManager",["FBLogger","isSearchCometGlobalResultPageTracePolicy","pageID"],(function(a,b,c,d,e,f,g){"use strict";var h={"comet.marketplace.category":"comet.marketplace.home","comet.marketplace.home.hoisted_pdp":"comet.marketplace.home"},i={},j=null,k=null,l=!1;function m(a){return a.tracePolicy+":"+a.instanceId+":"+a.subsessionCount+":"+a.timeStampMs/1e3}function n(a){if(a==null)return;a=h[a]?h[a]:a;if(j===a)return;var b=i[a];b?(b.subsessionCount++,b.timeStampMs=Date.now()):i[a]={instanceId:c("pageID"),subsessionCount:1,timeStampMs:Date.now(),tracePolicy:a};k=j;j=a}function a(){if(!l){c("FBLogger")("CometVisitationManager").mustfix("Attempting to get the current visitation id without initialization.");return null}if(!l||j==null||!i[j])return null;var a=m(i[j]);if(c("isSearchCometGlobalResultPageTracePolicy")(j)&&k!=null&&i[k]){var b=m(i[k]);return a+"|"+b}return a}function b(a){if(l)return;n(a);l=!0}function o(a){if(!l){c("FBLogger")("CometVisitationManager").mustfix("Updating the visitation manager without initialization");return}n(a)}function d(a){o(a.main.route.tracePolicy)}g.getCurrentVisitationId=a;g.init=b;g.update=o;g.updateFromRouterState=d}),98); __d("CometTimeSpentNavigation",["CometProductAttribution","CometTimeSpentUtils","CometVisitationManager","ProfileCometSession"],(function(a,b,c,d,e,f,g){"use strict";var h=null,i=null,j=new Set();function k(){j.forEach(function(a){return a({destPathInfo:i,sourcePathInfo:h})})}a={changePath:function(a,b,c){c===void 0&&(c=null);h=i;var e=a.entityID,f=a.parentContainerId,g=a.tracePolicy,j=a.url;if(c&&c.profile_session_id!=null&&e!=null){var l;c.profile_session_id=(l=d("ProfileCometSession").initOrExtend(e,(l=c)==null?void 0:l.profile_session_id,g))!=null?l:(l=c)==null?void 0:l.profile_session_id}l=babelHelpers["extends"]({},b);delete l.v2;b=d("CometProductAttribution").minifyProductAttributionV2(b);l={pa:JSON.stringify(l),pav2:b,uri:j};l=d("CometTimeSpentUtils").addTimeSpentMetaData(a,l,c);b=d("CometVisitationManager").getCurrentVisitationId();b!=null&&(l.visitation_id=b);l.container_id==null&&(e!=null&&(l.container_id=e));l.parent_container_id==null&&f!=null&&(l.parent_container_id=f);i={extraData:l,name:g};k()},getPathInfo:function(){return i},getSourcePathInfo:function(){return h},listenToPathChange:function(a){j.add(a);return{cancelListen:function(){return j["delete"](a)}}}};b=a;g["default"]=b}),98); __d("CometMetricsChannel2ViewabilityFalcoEvent",["FalcoLoggerInternal","getFalcoLogPolicy_DO_NOT_USE"],(function(a,b,c,d,e,f,g){"use strict";a=c("getFalcoLogPolicy_DO_NOT_USE")("1960868");b=d("FalcoLoggerInternal").create("comet_metrics_channel2_viewability",a);e=b;g["default"]=e}),98); __d("getCentralImpressionScrollSpeed",["cr:5662"],(function(a,b,c,d,e,f){"use strict";var g=0,h=Date.now(),i=null,j=null;function a(a){b("cr:5662").listen(window,"scroll",function(){j&&clearTimeout(j),j=setTimeout(function(){return a()},100)},b("cr:5662").Priority.NORMAL,{passive:!0})}function k(){var a=window.scrollY,b=Date.now();if(i!=null&&b!==h){var c=a-i;g=c/(b-h)*1e3}i=a;h=b}a(function(){g=0,i=null});b("cr:5662").listen(window,"scroll",function(){return k()},b("cr:5662").Priority.NORMAL,{passive:!0});e.exports=function(){return g}}),null); __d("getCentralImpressionTimeAfterRefresh",[],(function(a,b,c,d,e,f){"use strict";var g=null;window.addEventListener("load",function(){g=Date.now()},{passive:!0});function a(){return g!=null?Date.now()-g:0}f["default"]=a}),66); __d("sendImpressionEnterActionValidationData",["CometMetricsChannel2ViewabilityFalcoEvent","CometTimeSpentNavigation","WebSession","getCentralImpressionScrollSpeed","getCentralImpressionTimeAfterRefresh","uuidv4"],(function(a,b,c,d,e,f,g){"use strict";function a(a,b,e,f){var g=b.impressedAt,h=c("CometTimeSpentNavigation").getPathInfo(),i=c("uuidv4")(),j=c("getCentralImpressionScrollSpeed")(),k=d("WebSession").getId(),l={intersect_rect:b.intersectionRect,root:b.rootBounds,target_rect:b.boundingClientRect};c("CometMetricsChannel2ViewabilityFalcoEvent").logImmediately(function(){return{csp:f.csp!=null?String(f.csp):"",cts:g.toString(),eid:f.eid!=null?String(f.eid):"",event_trace_id:i,framework:a,me:h?h.name:null,pre_rs:e?e.invisibleReason:null,rects:l,scroll_speed:j.toString(),sk:k,time_from_load:c("getCentralImpressionTimeAfterRefresh")().toString(),vp:b.visiblePercentage.toString(),xt:f.xt!=null?String(f.xt):""}})}g["default"]=a}),98); __d("sendImpressionExitActionValidationData",["CometMetricsChannel2ViewabilityFalcoEvent","CometTimeSpentNavigation","WebSession","getCentralImpressionScrollSpeed","getCentralImpressionTimeAfterRefresh","uuidv4"],(function(a,b,c,d,e,f,g){"use strict";function a(a,b,e,f){var g=b.impressedAt,h=c("CometTimeSpentNavigation").getPathInfo(),i=c("uuidv4")(),j=g?Date.now()-g:null,k={intersect_rect:b.intersectionRect,root:b.rootBounds,target_rect:b.boundingClientRect};c("CometMetricsChannel2ViewabilityFalcoEvent").logImmediately(function(){return{csp:f.csp!=null?String(f.csp):"",cts:String(g),duration:j!=null?String(j):null,eid:f.eid!=null?String(f.eid):"",event_trace_id:i,exit_rs:b.invisibleReason,framework:a,me:h?h.name:null,pre_rs:Object.prototype.hasOwnProperty.call(f,"pre_rs")?String(f.pre_rs):"",pre_vp:e?String(e.visiblePercentage):null,rects:k,scroll_speed:c("getCentralImpressionScrollSpeed")().toString(),sk:d("WebSession").getId(),time_from_load:c("getCentralImpressionTimeAfterRefresh")().toString(),vp:b.visiblePercentage.toString(),xt:f.xt!=null?String(f.xt):""}})}g["default"]=a}),98); __d("SearchCometTypeaheadEventEmitterContext",["react"],(function(a,b,c,d,e,f,g){"use strict";var h;a=h||c("react");b=a.createContext();g["default"]=b}),98); __d("$",["fb-error-lite"],(function(a,b,c,d,e,f,g){function a(a){return h(a,typeof a==="string"?document.getElementById(a):a)}function b(a){return h(a,typeof a==="string"?document.getElementById(a):a)}function h(a,b){if(!b){a=c("fb-error-lite").err('Tried to get element with id of "%s" but it is not present on the page',String(a));a.taalOpcodes=a.taalOpcodes||[];a.taalOpcodes=[c("fb-error-lite").TAALOpcode.PREVIOUS_FILE];throw a}return b}a.fromIDOrElement=b;g["default"]=a}),98); __d("CSS",["$","CSSCore"],(function(a,b,c,d,e,f,g){var h=typeof window!="undefined"?window.CSS:null,i="hidden_elem";h=h&&h.supports.bind(h);function a(a,b){c("$").fromIDOrElement(a).className=b||"";return a}function j(a,b){return a instanceof Document||a instanceof Text?!1:d("CSSCore").hasClass(c("$").fromIDOrElement(a),b)}function b(a,b){return a instanceof Document||a instanceof Text?!1:d("CSSCore").matchesSelector(c("$").fromIDOrElement(a),b)}function k(a,b){return d("CSSCore").addClass(c("$").fromIDOrElement(a),b)}function l(a,b){return d("CSSCore").removeClass(c("$").fromIDOrElement(a),b)}function m(a,b,e){return d("CSSCore").conditionClass(c("$").fromIDOrElement(a),b,!!e)}function n(a,b){return m(a,b,!j(a,b))}function e(a){return!j(a,i)}function f(a){return k(a,i)}function o(a){return l(a,i)}function p(a){return n(a,i)}function q(a,b){return m(a,i,!b)}g.supports=h;g.setClass=a;g.hasClass=j;g.matchesSelector=b;g.addClass=k;g.removeClass=l;g.conditionClass=m;g.toggleClass=n;g.shown=e;g.hide=f;g.show=o;g.toggle=p;g.conditionShow=q}),98); __d("DOMEvent",["invariant"],(function(a,b,c,d,e,f,g,h){a=function(){function a(a){this.event=a||window.event,typeof this.event.srcElement!=="unknown"||h(0,5798),this.target=this.event.target||this.event.srcElement}var b=a.prototype;b.preventDefault=function(){var a=this.event;a.preventDefault?(a.preventDefault(),"defaultPrevented"in a||(a.defaultPrevented=!0)):a.returnValue=!1;return this};b.isDefaultPrevented=function(){var a=this.event;return"defaultPrevented"in a?a.defaultPrevented:a.returnValue===!1};b.stopPropagation=function(){var a=this.event;a.stopPropagation?a.stopPropagation():a.cancelBubble=!0;return this};b.kill=function(){this.stopPropagation().preventDefault();return this};a.killThenCall=function(b){return function(c){new a(c).kill();return b()}};return a}();g["default"]=a}),98); __d("dedupString",[],(function(a,b,c,d,e,f){"use strict";function a(a){var b;return Object.keys((b={},b[a]=0,b))[0]}f["default"]=a}),66); __d("wrapFunction",[],(function(a,b,c,d,e,f){var g={};function a(a,b,c){var d=b in g?g[b](a,c):a;return function(){for(var a=arguments.length,b=new Array(a),c=0;c=0;d--)c[a[d]]=b[d];else for(d=a.length-1;d>=0;d--)c[a[d]]=b;return c}f["default"]=g}),66); __d("isElementNode",["isNode"],(function(a,b,c,d,e,f){function a(a){return b("isNode")(a)&&a.nodeType==1}e.exports=a}),null); __d("DOMQuery",["CSS","FBLogger","containsNode","createArrayFromMixed","createObjectFrom","ge","ifRequired","isElementNode","isNode"],(function(a,b,c,d,e,f,g){var h=/^\.-?[_a-zA-Z]+[\w-]*$/;function i(a,b){return a.hasAttribute?a.hasAttribute(b):a.getAttribute(b)!==null}function a(a,b){a=j(a,b);return a[0]}function b(a,b,c){b=j(a,b);a=j(a,c);b.length===1&&a.length===1&&b[0]===a[0]?c=b:c=b.concat(a);return c[0]}function j(a,b){if(!a||!a.getElementsByTagName)return[];b=b.split(" ");var e=[a];for(var f=0;f), ge()) instead");return c("containsNode")(c("ge")(a),c("ge")(b))}function k(){var a=c("ifRequired")("Quickling",function(a){return a.isActive()?c("ge")("content"):null});return a||document.body}function l(a,b){b=c("createArrayFromMixed")(b).join("|").toUpperCase().split("|");b=c("createObjectFrom")(b);return c("isNode")(a)&&a.nodeName in b}function m(a){return l(a,["input","textarea"])||a.contentEditable==="true"}g.find=a;g.findPushSafe=b;g.scry=j;g.getSelection=e;g.contains=f;g.getRootElement=k;g.isNodeOfType=l;g.isInputNode=m}),98); __d("EventProfiler",["cr:708886"],(function(a,b,c,d,e,f,g){g["default"]=b("cr:708886")}),98); __d("Scroll",[],(function(a,b,c,d,e,f){function g(a,b){return!!b&&(a===b.documentElement||a===b.body)}function a(a){var b;if(a==null)return 0;var c=a.ownerDocument;return g(a,c)?(c==null?void 0:(b=c.body)==null?void 0:b.scrollTop)||(c==null?void 0:(b=c.documentElement)==null?void 0:b.scrollTop)||0:a.scrollTop||0}function b(a,b){if(a==null)return;var c=a.ownerDocument;g(a,c)?((c==null?void 0:c.body)&&(c.body.scrollTop=b||0),(c==null?void 0:c.documentElement)&&(c.documentElement.scrollTop=b||0)):a.scrollTop=b||0}function c(a){var b,c=a.ownerDocument;return g(a,c)?(c==null?void 0:(b=c.body)==null?void 0:b.scrollLeft)||(c==null?void 0:(b=c.documentElement)==null?void 0:b.scrollLeft)||0:a.scrollLeft||0}function d(a,b){var c=a.ownerDocument;g(a,c)?((c==null?void 0:c.body)&&(c.body.scrollLeft=b||0),(c==null?void 0:c.documentElement)&&(c.documentElement.scrollLeft=b||0)):a.scrollLeft=b||0}f.getTop=a;f.setTop=b;f.getLeft=c;f.setLeft=d}),66); __d("FlowMigrationUtilsForLegacyFiles",["FBLogger"],(function(a,b,c,d,e,f,g){"use strict";var h="flow_typing_for_legacy_code";function a(a){c("FBLogger")(h).blameToPreviousFile().event(h+".bad_call").mustfix(a);return new Error("["+h+"] "+a)}g.invariantViolation=a}),98); __d("getDocumentScrollElement",["FlowMigrationUtilsForLegacyFiles"],(function(a,b,c,d,e,f,g){"use strict";var h=typeof navigator!=="undefined"&&navigator.userAgent.indexOf("AppleWebKit")>-1;function a(a){a=a||document;if(a.scrollingElement)return a.scrollingElement;a=!h&&a.compatMode==="CSS1Compat"?a.documentElement:a.body;a||d("FlowMigrationUtilsForLegacyFiles").invariantViolation("null result in getDocumentScrollElement");return a}g["default"]=a}),98); __d("getObjectValues",[],(function(a,b,c,d,e,f){function a(a){var b=[];for(var c in a)b.push(a[c]);return b}f["default"]=a}),66); __d("Event",["$","Arbiter","DOMEvent","DOMEventListener","DOMQuery","DataStore","ErrorGuard","EventProfiler","ExecutionEnvironment","FBLogger","Parent","Scroll","TimeSlice","UserAgent","dedupString","fb-error","getDocumentScrollElement","getObjectValues"],(function(a,b,c,d,e,f){var g,h,i=b("fb-error").TAAL,j="Event.listeners";Event.prototype||(Event.prototype={});function k(a){(a.type==="click"||a.type==="mouseover"||a.type==="keydown")&&b("Arbiter").inform("Event/stop",{event:a})}var l=function(){"use strict";function a(a,b,c){this.cancelBubble=!1,this.target=a,this.type=b,this.data=c}var c=a.prototype;c.getData=function(){this.data=this.data||{};return this.data};c.stop=function(){return Event.stop(this)};c.prevent=function(){return Event.prevent(this)};c.isDefaultPrevented=function(){return Event.isDefaultPrevented(this)};c.kill=function(){return Event.kill(this)};c.getTarget=function(){return new(b("DOMEvent"))(this).target||null};return a}();function m(a){if(a instanceof l)return a;a||(!window.addEventListener&&document.createEventObject?a=window.event?document.createEventObject(window.event):{}:a={});if(!a._inherits_from_prototype)for(var b in Event.prototype)try{a[b]=Event.prototype[b]}catch(a){}return a}Object.assign(Event.prototype,{_inherits_from_prototype:!0,getRelatedTarget:function(){var a=this.relatedTarget||(this.fromElement===this.srcElement?this.toElement:this.fromElement);return a&&a.nodeType?a:null},getModifiers:function(){var a={control:!!this.ctrlKey,shift:!!this.shiftKey,alt:!!this.altKey,meta:!!this.metaKey};a.access=b("UserAgent").isPlatform("Mac OS X")?a.control:a.alt;a.any=a.control||a.shift||a.alt||a.meta;return a},isRightClick:function(){return this.which?this.which===3:this.button&&this.button===2},isMiddleClick:function(){return this.which?this.which===2:this.button&&this.button===4},isDefaultRequested:function(){return this.getModifiers().any||this.isMiddleClick()||this.isRightClick()}},l.prototype);c={listen:function(a,c,d,e,f){typeof d==="function"&&(d=b("TimeSlice").guard(d,b("dedupString")("Event.js "+c+" handler")));!f||typeof f==="boolean"?f={passive:!1}:f={passive:f.passive||!1};if(!(g||(g=b("ExecutionEnvironment"))).canUseDOM)return new u(a,d,null,c,e,null,f);typeof a==="string"&&(a=b("$")(a));typeof e==="undefined"&&(e=Event.Priority.NORMAL);if(typeof c==="object"){var h={};for(var k in c)h[k]=Event.listen(a,k,c[k],e,f);return h}if(c.match(/^on/i))throw new TypeError("Bad event name `"+c+"': use `click', not `onclick'.");if(!a){k=i.blameToPreviousFrame(new Error("Cannot listen to an undefined element."));b("FBLogger")("event").catching(k).mustfix("Tried to listen to element of type %s",c);throw k}if(a.nodeName=="LABEL"&&c=="click"){h=a.getElementsByTagName("input");a=h.length==1?h[0]:a}else if(a===window&&c==="scroll"){k=b("getDocumentScrollElement")();k!==document.documentElement&&k!==document.body&&(a=k)}h=b("DataStore").get(a,j,{});k=o[c];k&&(c=k.base,k.wrap&&(d=k.wrap(d)));q(a,h,c,f);k=h[c];e in k||(k[e]=[]);var l=k[e].length;d=new u(a,d,h,c,e,l,f);k[e][l]=d;k.numHandlers++;f.passive||(k.numNonPassiveHandlers++,p(a,h[c],c));return d},stop:function(a){var c=new(b("DOMEvent"))(a).stopPropagation();k(c.event);return a},prevent:function(a){new(b("DOMEvent"))(a).preventDefault();return a},isDefaultPrevented:function(a){return new(b("DOMEvent"))(a).isDefaultPrevented(a)},kill:function(a){a=new(b("DOMEvent"))(a).kill();k(a.event);return!1},getKeyCode:function(a){a=new(b("DOMEvent"))(a).event;if(!a)return!1;switch(a.keyCode){case 63232:return 38;case 63233:return 40;case 63234:return 37;case 63235:return 39;case 63272:case 63273:case 63275:return null;case 63276:return 33;case 63277:return 34}if(a.shiftKey)switch(a.keyCode){case 33:case 34:case 37:case 38:case 39:case 40:return null}return a.keyCode},getPriorities:function(){if(!n){var a=b("getObjectValues")(Event.Priority);a.sort(function(a,b){return a-b});n=a}return n},fire:function(a,b,c){c=new l(a,b,c);var d;do{var e=Event.__getHandler(a,b);e&&(d=e(c));a=a.parentNode}while(a&&d!==!1&&!c.cancelBubble);return d!==!1},__fire:function(a,b,c){a=Event.__getHandler(a,b);if(a)return a(m(c))},__getHandler:function(a,c){var d=b("DataStore").get(a,j);return d&&d[c]?d[c].domHandler:a["on"+c]},getPosition:function(a){a=new(b("DOMEvent"))(a).event;var c=b("getDocumentScrollElement")(),d=a.clientX+b("Scroll").getLeft(c);a=a.clientY+b("Scroll").getTop(c);return{x:d,y:a}}};Object.assign(Event,c);var n=null;d=function(a){return function(c){if(!b("DOMQuery").contains(this,c.getRelatedTarget()))return a.call(this,c)}};var o;!window.navigator.msPointerEnabled?o={mouseenter:{base:"mouseover",wrap:d},mouseleave:{base:"mouseout",wrap:d}}:o={mousedown:{base:"MSPointerDown"},mousemove:{base:"MSPointerMove"},mouseup:{base:"MSPointerUp"},mouseover:{base:"MSPointerOver"},mouseout:{base:"MSPointerOut"},mouseenter:{base:"MSPointerOver",wrap:d},mouseleave:{base:"MSPointerOut",wrap:d}};if(b("UserAgent").isBrowser("Firefox < 52")){f=function(a,b){b=m(b);var c=b.getTarget();while(c)Event.__fire(c,a,b),c=c.parentNode};document.documentElement.addEventListener("focus",f.bind(null,"focusin"),!0);document.documentElement.addEventListener("blur",f.bind(null,"focusout"),!0)}var p=function(a,c,d){var e=c.numNonPassiveHandlers==0;e!=c.options.passive&&(c.domHandlerRemover.remove(),c.options.passive=e,c.domHandlerRemover=b("DOMEventListener").add(a,d,c.domHandler,{passive:e}))},q=function(a,c,d,e){if(d in c)return;var f=b("TimeSlice").guard(t.bind(a,d),b("dedupString")("Event listenHandler "+d));c[d]={numHandlers:0,numNonPassiveHandlers:0,domHandlerRemover:b("DOMEventListener").add(a,d,f,e),domHandler:f,options:e};c="on"+d;if(a[c]){f=a===document.documentElement?Event.Priority._BUBBLE:Event.Priority.TRADITIONAL;var g=a[c];a[c]=null;Event.listen(a,d,g,f,e)}};function r(a){return!a.href.endsWith("#")?!1:a.href===document.location.href||a.href===document.location.href+"#"}function s(a,b){return a.nodeName==="INPUT"&&a.type===b}var t=b("EventProfiler").__wrapEventListenHandler(function(a,c){c=m(c);if(!b("DataStore").get(this,j))throw new Error("Bad listenHandler context.");var d=b("DataStore").get(this,j)[a];if(!d)throw new Error("No registered handlers for `"+a+"'.");if(a=="click"||a=="contextmenu"||a=="mousedown"&&c.which==2){a=c.getTarget();var e=b("Parent").byTag(a,"a");e instanceof HTMLAnchorElement&&e.href&&r(e)&&!s(a,"file")&&!s(a,"submit")&&c.prevent()}e=Event.getPriorities();for(a=0;a0}function a(a){var b=c("useToasterStateManager")(),d=k(function(){return m(b)}),e=d[0],f=d[1];j(function(){if(e)return;var a=m(b);if(a){f(!0);return}var c=b.addListener(function(){c.remove(),f(!0)});return c.remove},[b,e]);return e?i.jsx(c("CometPlaceholder.react"),{fallback:null,children:i.jsx(l,babelHelpers["extends"]({loadImmediately:!0},a))}):null}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("TimeSpentArray",["Banzai","TimeSlice","clearTimeout","pageID","setTimeoutAcrossTransitions"],(function(a,b,c,d,e,f,g){var h=2,i=h*32,j,k,l,m,n,o,p,q,r,s,t={},u;function v(){return{timeoutDelayMap:t,nextDelay:u,timeoutInSeconds:m}}function w(){if(j){var a=Date.now();a>o&&(q=Math.min(i,Math.ceil(a/1e3-n)));a=B();a&&j(a,u)}A()}function x(){y(),l=c("setTimeoutAcrossTransitions")(c("TimeSlice").guard(w,"TimeSpentArray Timeout",{propagationType:c("TimeSlice").PropagationType.ORPHAN}),m*1e3)}function y(){l&&(c("clearTimeout")(l),l=null)}function z(a){n=a;o=n*1e3;p=[1];for(a=1;a=o&&a-o<1e3)return;k&&k(a);D(Math.floor(a/1e3))}function D(a){var b=a-n;(b<0||b>=i)&&w();!p?z(a):(p[b>>5]|=1<<(b&31),q=b+1,r+=1,o=a*1e3)}function a(a,b,d,e){r=0,s=-1,j=a,k=e,typeof b==="object"&&b!==null?t=b:t={},z(Math.floor((d===void 0||d===null||d===0?Date.now():d)/1e3)),c("Banzai").subscribe(c("Banzai").SHUTDOWN,w)}function b(a){C(a)}function d(){return B()}function e(){w()}function f(){A()}function E(){return v()}g.init=a;g.update=b;g.get=d;g.ship=e;g.reset=f;g.testState=E}),98); __d("TimeSpentImmediateActiveSecondsLogger",["cr:844180"],(function(a,b,c,d,e,f,g){"use strict";g["default"]=b("cr:844180")}),98); __d("WebTimeSpentBitArrayFalcoEvent",["FalcoLoggerInternal","getFalcoLogPolicy_DO_NOT_USE"],(function(a,b,c,d,e,f,g){"use strict";a=c("getFalcoLogPolicy_DO_NOT_USE")("1829320");b=d("FalcoLoggerInternal").create("web_time_spent_bit_array",a);e=b;g["default"]=e}),98); __d("CometTimeSpentBitArrayLogger",["ODS","Random","TimeSpentArray","TimeSpentImmediateActiveSecondsLogger","TimeSpentWWWCometConfig","WebSession","WebTimeSpentBitArrayFalcoEvent","isInIframe"],(function(a,b,c,d,e,f,g){"use strict";var h,i="";function j(a,b){a.sid_raw=i,c("WebTimeSpentBitArrayFalcoEvent").logImmediately(function(){return{sid_raw:a.sid_raw,start_time:a.start_time,tos_array:a.tos_array,tos_cum:a.tos_cum,tos_id:a.tos_id,tos_len:a.tos_len,tos_seq:a.tos_seq}})}function k(a){a=l();a!==i&&(d("TimeSpentArray").ship(),i=a)}function l(){d("WebSession").extend();return d("WebSession").getId()}function m(a){return a==="XWorkPostPluginCometController"||a==="XWorkGroupFeedPluginCometController"||a==="XWorkMSTeamsAppFeedCometController"||(a==null?void 0:a.startsWith("comet.commerce_partner_hub.commerce_extension"))?!0:!1}function a(a){if(c("isInIframe")()&&!m(a))return;a=Date.now();d("TimeSpentArray").init(j,c("TimeSpentWWWCometConfig").CONFIG,a,k);i=l();c("TimeSpentImmediateActiveSecondsLogger").maybeReportActiveSecond(a);a=772;d("Random").coinflip(a)&&(h||(h=d("ODS"))).bumpEntityKey(2966,"ms.time_spent.qa.www","time_spent.bits.js_initialized",a)}function b(a){d("TimeSpentArray").update(a),c("TimeSpentImmediateActiveSecondsLogger").maybeReportActiveSecond(a)}g.init=a;g.updateTimeSpentArray=b}),98); __d("WebImmediateActiveSecondsFalcoEvent",["FalcoLoggerInternal","getFalcoLogPolicy_DO_NOT_USE"],(function(a,b,c,d,e,f,g){"use strict";a=c("getFalcoLogPolicy_DO_NOT_USE")("1843988");b=d("FalcoLoggerInternal").create("web_immediate_active_seconds",a);e=b;g["default"]=e}),98); __d("TimeSpentImmediateActiveSecondsLoggerComet",["CometTimeSpentNavigation","CurrentUser","WebImmediateActiveSecondsFalcoEvent","crc32"],(function(a,b,c,d,e,f,g){"use strict";b=c("CurrentUser").getID();var h=b!==""||b!=="0"?2003:0,i=(c("crc32")(b)>>>0)%h,j=0;function k(a){if(h<=0)return!1;a=Math.floor(a/1e3)%h;return a===i}function a(a){if(a>=j&&a-j<1e3)return;var b=k(a);if(b){var d=c("CometTimeSpentNavigation").getPathInfo();c("WebImmediateActiveSecondsFalcoEvent").logImmediately(function(){return{activity_time_ms:a,last_activity_time_ms:j,script_path:d?d.name:""}})}j=Math.floor(a/1e3)*1e3}g.maybeReportActiveSecond=a}),98); __d("lowerDomainComet",["BrowserFeatureInstrumentation","ErrorGuard","FBLogger","LowerDomainRegex"],(function(a,b,c,d,e,f,g){"use strict";var h;a=(h||c("ErrorGuard")).guard(function(){var a;if(window.self!==window.top)return;if(((a=document.domain)!=null?a:"").toLowerCase().match(d("LowerDomainRegex").domainRegex)){a=window.location.hostname.match(d("LowerDomainRegex").hostnameRegex);a=a?a[1]:"facebook.com";try{c("BrowserFeatureInstrumentation")("document-domain","lowerDomainComet"),document.domain=a}catch(a){c("FBLogger")("lowerDomainComet").catching(a).warn("Error trying to lower the domain")}}});b=a;g["default"]=b}),98); __d("CometThrottledDebounce",["clearTimeout","setTimeout"],(function(a,b,c,d,e,f,g){"use strict";function a(a,b,d){var e,f=0,g=null,h,i,j=function(){g!=null&&(c("clearTimeout")(g),g=null)},k=function(){var k=Array.from(arguments),l=Date.now();h=this;i=k;e=l;var m=function(){i!=null&&a.apply(h,i),h=i=null,f=Date.now(),g=null};f+dl&&(j(),g=c("setTimeout")(m,b))};k.cancel=function(){i=h=null,j()};return k}g["default"]=a}),98); __d("CometAudioLocalScopeProvider.react",["CometAudioManagerContexts","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||(h=d("react")),j=h.useMemo;function a(a){var b=a.customAudioSettingFunc,c=a.muted,e=a.setMuted,f=a.setVolume,g=a.volume,h=j(function(){return{customAudioSettingFunc:b,muted:c,setMuted:e,setVolume:f,volume:g}},[b,c,e,f,g]);return i.jsx(d("CometAudioManagerContexts").CometAudioLocalScopeContext.Provider,{value:h,children:a.children})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("CometAudioManagerUtils",["recoverableViolation"],(function(a,b,c,d,e,f,g){"use strict";var h=function(a){a.type==="setMuted"&&a.newMuted!==void 0?a.controller.setMuted(a.newMuted,a.reason):a.type==="setVolume"&&a.newVolume!==void 0&&a.controller.setVolume(a.newVolume)},i=function(a,b,c){c=c.get(a);c&&c.forEach(function(a){a=b.get(a);a&&a.controller.setMuted(!0,"audio_manager_initiated")})};a={consumeAndExecuteAudioActions:function(a,b){var c=function(b,c){b=a.get(b.reason)||0;c=a.get(c.reason)||0;return b-c};b.sort(c);c=new Set();for(var d=0;d0?d==="user_initiated"||e==="user_initiated"||d==="costreaming_switch_stream_initiated"||d==="tahoe_transition_phase_initiated"?(c.forEach(function(d){var e=b.get(d);if(e){e=e.controller;e!==a.controller&&e.setMuted(!0,"audio_manager_initiated")}c["delete"](d)}),c.add(h)):a.controller.setMuted(!0,"audio_manager_initiated"):c.add(h):c.has(h)&&(f||g)&&c["delete"](h)},updateCurrentPlayingAudioGroup:function(a,b,c,d,e){var f=a.groupID,g=a.lastMuteReason,h=a.lastPlayReason,j=a.muted;a=a.paused;var k=d.get(f);!j&&!a&&!e.has(f)?e.size>0?g==="user_initiated"||h==="user_initiated"?(e.forEach(function(a){var f=d.get(a);f&&(f.setAllowSound(!1),i(a,b,c));e["delete"](a)}),e.add(f),k==null?void 0:k.setAllowSound(!0)):k&&(k.setAllowSound(!1),i(f,b,c)):(k==null?void 0:k.setAllowSound(!0),e.add(f)):e.has(f)&&(j||a)&&e["delete"](f)},updateCurrentPlayingAudioIgnoreLastReason:function(a,b,c){var d=a.muted,e=a.paused;a=a.symbol;!d&&!e&&!c.has(a)?(c.size>0&&c.forEach(function(a){var d=b.get(a);if(d){d=d.controller;d.setMuted(!0,"audio_manager_initiated")}c["delete"](a)}),c.add(a)):c.has(a)&&(d||e)&&c["delete"](a)},updateRegisteredAudio:function(a,b){var d=a.symbol,e=b.get(d);e?b.set(d,a):c("recoverableViolation")("Received an update for an unregisterd video unit: "+d,"comet_video_player")}};g.CometAudioManagerUtils=a}),98); __d("CometAudioManager.react",["CometAudioLocalScopeProvider.react","CometAudioManagerContexts","CometAudioManagerUtils","gkx","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||(h=d("react"));b=h;var j=b.useCallback,k=b.useMemo,l=b.useRef,m=b.useState,n=new Map([["user_initiated",0],["tahoe_transition_phase_initiated",1],["watch_and_scroll_transition_phase_initiated",2],["audio_manager_initiated",3],["warning_screen_uncover",4],["warning_screen_cover",5],["autoplay_initiated",6],["raid_initiated",7],["loop_initiated",8],["product_initiated",9],["commercial_break",10],["other_user_initiated",11],["costreaming_switch_stream_initiated",12],["huddle_speaker_experience_initiated",13],["fblivewith_joiner_experience_initiated",14]]);function a(a){a=a.children;var b=l(new Map()),e=l(new Map()),f=l(new Map()),g=l(new Set()),h=l(new Set()),o=l([]),p=l([]),q=j(function(a,c){d("CometAudioManagerUtils").CometAudioManagerUtils.register(a,c,b.current,e.current,f.current)},[]),r=j(function(a,c){d("CometAudioManagerUtils").CometAudioManagerUtils.unregister(a,g.current,c,e.current,b.current,f.current,h.current)},[]),s=j(function(a){d("CometAudioManagerUtils").CometAudioManagerUtils.updateRegisteredAudio(a,b.current);c("gkx")("3190")&&d("CometAudioManagerUtils").CometAudioManagerUtils.updateCurrentPlayingAudio(a,b.current,g.current);d("CometAudioManagerUtils").CometAudioManagerUtils.updateAudioContext(a,g.current);var e=a.audioLocalScope.customAudioSettingFunc;e&&c("gkx")("3190")&&e(a,b.current,o.current,p.current);d("CometAudioManagerUtils").CometAudioManagerUtils.consumeAndExecuteAudioActions(n,o.current);d("CometAudioManagerUtils").CometAudioManagerUtils.consumeAndExecuteAudioActions(n,p.current)},[]),t=k(function(){return{register:q,unregister:r,update:s}},[q,r,s]),u=m(!0),v=u[0];u=u[1];var w=m(1),x=w[0];w=w[1];return i.jsx(c("CometAudioLocalScopeProvider.react"),{muted:v,setMuted:u,setVolume:w,volume:x,children:i.jsx(d("CometAudioManagerContexts").AudioApiContext.Provider,{value:t,children:a})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("GlobalVideoPorts.react",["CometErrorBoundary.react","FBLogger","GlobalVideoPortsContexts","Promise","emptyFunction","gkx","react","requireDeferredForDisplay","requireWeak","useInterval"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=i||(i=d("react"));e=i;var k=e.useCallback,l=e.useEffect,m=e.useRef,n=e.useState,o=c("requireDeferredForDisplay")("GlobalVideoPortsImpl.react").__setRef("GlobalVideoPorts.react");e=c("emptyFunction");function p(a){var c=a.debugLoadDelayMs,d=a.onError,e=a.onLoaded,f=null;return function(){if(f!=null)return f;var a=o.getModuleIfRequireable();f=(a?(h||(h=b("Promise"))).resolve(a):o.load()).then(function(a){return a}).then(function(a){e(a)})["catch"](function(a){d(a)});return f}}var q=c("emptyFunction"),r=3e4;function a(a){var b=a.children,e=a.debugLoadDelayMs;a=a.debugLoadImmediately;var f=n(function(){return{places:new Map(),placesSequenceNumberNext:0,videos:new Map()}}),g=f[0],h=f[1];f=n(null);var i=f[0],o=f[1];f=n(null);var s=f[0],t=f[1],u=m(h),v=m(o);l(function(){u.current===null&&(u.current=h);v.current===null&&(v.current=o);return function(){u.current=null,v.current=null}},[]);c("useInterval")(i!=null?function(){i.collectGarbage()}:null,r,[i]);f=n(function(){return p({debugLoadDelayMs:e,onError:function(a){c("FBLogger")("video").catching(a).warn("GlobalVideoPortsImpl failed to load")},onLoaded:function(a){t(function(){return a})}})});f=f[0];q(a,t);a=k(function(a){var b=v.current;if(b){a=a(function(a){var b=u.current;b&&b(a)});b(a)}},[]);return j.jsx(d("GlobalVideoPortsContexts").GlobalVideoPortsLoaderContextProvider,{value:f,children:j.jsx(d("GlobalVideoPortsContexts").GlobalVideoPortsManagerContextProvider,{value:i,children:j.jsxs(d("GlobalVideoPortsContexts").GlobalVideoPortsStateContextProvider,{value:g,children:[s?j.jsx(c("CometErrorBoundary.react"),{children:j.jsx(s,{setGlobalVideoPortsManager:a})}):null,b]})})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("VideoAutoplayManagerUtils",["DOMRectIsEqual"],(function(a,b,c,d,e,f,g){"use strict";function a(a,b,d){var e=a?a.symbol:null;return a!=null&&e!==b&&a.previousAutoplayDecision===a.currentAutoplayDecision&&c("DOMRectIsEqual")((e=a.previousVideoPlayerViewabilityInfo)==null?void 0:e.positionToViewport,a.videoPlayerViewabilityInfo.positionToViewport)&&!(b==null&&d===1&&((e=a.previousVideoPlayerViewabilityInfo)==null?void 0:e.visiblePercentage)!==a.videoPlayerViewabilityInfo.visiblePercentage)}function h(a,b){a=a.videoPlayerViewabilityInfo.positionToViewport;if(a){var c=a.height;a=a.y;a=a+c/2;return Math.abs(a-b)}return Number.POSITIVE_INFINITY}function b(a,b){return function(c,d){var e=Math.floor(h(c,a)),f=Math.floor(h(d,a)),g=c.videoPlayerViewabilityInfo.positionToViewport,i=d.videoPlayerViewabilityInfo.positionToViewport,j=1.05,k=Math.abs(e-f),l=!1;if(g&&i){g=Math.max(g.height,i.height);l=k<=g/2*j}if(!l)if(ef)return 1;i=c.videoPlayerViewabilityInfo.visiblePercentage;k=d.videoPlayerViewabilityInfo.visiblePercentage;g=.01;if(Math.abs(i-k)>g)if(i>k)return-1;else if(i0&&b0?{"aria-controls":l}:null,f=d!=null&&String(d).length>0?{"aria-describedby":n}:null,i={"aria-busy":m,"aria-label":o,id:l,role:k};return{ariaDescribedByProps:{id:n},ariaInputProps:babelHelpers["extends"]({},a,c,f,{"aria-autocomplete":"list","aria-expanded":b.length>0&&h,"aria-label":g,role:"combobox"}),ariaViewProps:i}},[b.length,n,d,e,g,m,h,l,k,o])}g["default"]=a}),98); __d("CometTypeaheadViewItem.react",["CometPressable.react","CometRow.react","CometRowItem.react","emptyFunction","react","stylex"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=i||(i=d("react")),k=i.useCallback,l={root:{borderTopStartRadius:"x1lq5wgf",borderTopEndRadius:"xgqcy7u",borderBottomEndRadius:"x30kzoy",borderBottomStartRadius:"x9jhf4c",marginTop:"xdj266r",marginBottom:"xat24cr",paddingTop:"x1y1aw1k",paddingEnd:"x1sxyh0",paddingBottom:"xwib8y2",paddingStart:"xurb0ha",$$css:!0}},m={contentRoot:{alignItems:"x6s0dn4",cursor:"x1ypdohk",display:"x78zum5",overflowX:"x6ikm8r",overflowY:"x10wlt62",position:"x1n2onr6",$$css:!0},contentRootActive:{backgroundColor:"x1wpzbip","@media (forced-colors:active)_backgroundColor":"xugaqoy",$$css:!0},contentRootDisabled:{bottom:"x1ey2m1c",cursor:"x1h6gzvc",end:"xds687c",left:null,right:null,position:"x10l6tqk",start:"x17qophe",top:"x13vifvy",$$css:!0},contentRootEmphasized:{backgroundColor:"xlhe6ec",$$css:!0},contentRootHover:{":hover_backgroundColor":"x8du52y",$$css:!0},itemIcon:{borderTopStartRadius:"x14yjl9h",borderTopEndRadius:"xudhj91",borderBottomEndRadius:"x18nykt9",borderBottomStartRadius:"xww2gxu",$$css:!0},pressable:{width:"xh8yej3",$$css:!0},pressableWithAdditionalEndContent:{flexGrow:"x1iyjqo2",flexShrink:"xs83m0k",$$css:!0},root:{width:"xh8yej3",$$css:!0}};function a(a){var b=a.additionalEndContentOutsideOfPressable,d=a.children,e=a.cursorDisabled_SEARCH_ONLY;e=e===void 0?!1:e;var f=a.entry,g=a.isActive,i=a.isEmphasized;i=i===void 0?!1:i;var n=a.isDisabled;n=n===void 0?!1:n;var o=a.itemEndContent,p=a.itemStartContent,q=a.linkProps;a.onHighlightEntry;var r=a.onPressEntry,s=a.onPressEntryIn,t=a.overlayDisabled_SEARCH_ONLY;t=t===void 0?!1:t;var u=a.role,v=a.testid;v=a.xstyle;v=v===void 0?l.root:v;a=a.debugElement;var w=k(function(a){r&&r(f,a)},[f,r]),x=k(function(a){s&&s(f,a)},[f,s]),y=u==="row"?"gridcell":"none";return j.jsxs("li",{"aria-selected":g,className:"xh8yej3","data-testid":void 0,id:f.key,role:u,children:[a,j.jsxs("div",{className:(h||(h=c("stylex")))([m.contentRoot,!t&&m.contentRootHover,g&&m.contentRootActive,i&&m.contentRootEmphasized,v]),role:y,children:[j.jsx(c("CometPressable.react"),{cursorDisabled:e,disabled:n,display:"block",expanding:!0,focusable:!1,label:f.label,linkProps:q,onPress:n?c("emptyFunction"):w,onPressIn:n?c("emptyFunction"):x,overlayDisabled:!0,role:"none",xstyle:b==null?m.pressable:m.pressableWithAdditionalEndContent,children:j.jsxs(c("CometRow.react"),{expanding:!0,paddingHorizontal:0,paddingVertical:0,verticalAlign:"center",children:[p!=null?j.jsx(c("CometRowItem.react"),{children:j.jsx("div",{className:"x14yjl9h xudhj91 x18nykt9 xww2gxu",children:p})}):null,j.jsx(c("CometRowItem.react"),{expanding:!0,children:d}),o!=null?j.jsx(c("CometRowItem.react"),{children:o}):null]})}),b,j.jsx("div",{className:h(n&&m.contentRootDisabled)})]})]})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("BaseDataEntryLabelKeyBuilder",[],(function(a,b,c,d,e,f){"use strict";function a(a){return a.label.trimLeft().toLowerCase()}f["default"]=a}),66); __d("BaseTypeaheadDataCacheProvider",["BaseDataEntryLabelKeyBuilder"],(function(a,b,c,d,e,f,g){"use strict";a=function(){function a(a){var b=a.cache,d=a.matchBuilder,e=a.mergeBuilder;a=a.keyBuilder;a=a===void 0?c("BaseDataEntryLabelKeyBuilder"):a;this.$1=b;this.$2=d;this.$3=e;this.$4=a}var b=a.prototype;b.add=function(a){var b=this;a.forEach(function(a){var c=b.$4(a),d=b.$1.get(c);b.$1.set(c,d!=null&&b.$3!=null?b.$3(a,d):a)})};b.clear=function(){this.$1.clear()};b.remove=function(a){a=this.$4(a);this.$1.remove(a)};b.match=function(a){var b=this.$2({query:a});return this.$1.values().map(function(a){return a.type==="section"?babelHelpers["extends"]({},a):babelHelpers["extends"]({},a)}).filter(function(a){if(a.type==="section"){a.entries=a.entries.filter(b);return!0}else return b(a)})};b.values=function(){return this.$1.values()};return a}();g["default"]=a}),98); __d("BaseTypeaheadInMemoryMapDataCache",[],(function(a,b,c,d,e,f){"use strict";a=function(){function a(){this.$1=new Map()}var b=a.prototype;b.clear=function(){this.$1.clear()};b.get=function(a){return this.$1.get(a)};b.has=function(a){return this.$1.has(a)};b.remove=function(a){this.$1["delete"](a)};b.set=function(a,b){this.$1.set(a,b)};b.values=function(){return Array.from(this.$1.values())};return a}();f["default"]=a}),66); __d("baseTypeaheadContainsMatchBuilder",["escapeRegex"],(function(a,b,c,d,e,f,g){"use strict";function a(a){a=a.query;var b=new RegExp(""+c("escapeRegex")(a),"i");return function(a){return b.test((a=a.label)!=null?a:"")}}g["default"]=a}),98); __d("baseTypeaheadStartsWithMatchBuilder",["escapeRegex"],(function(a,b,c,d,e,f,g){"use strict";function a(a){a=a.query;var b=new RegExp("^"+c("escapeRegex")(a),"i");return function(a){return b.test((a=a.label)!=null?a:"")}}g["default"]=a}),98); __d("baseTypeaheadPrefixWithDocumentContainsMatchBuilder",["baseTypeaheadContainsMatchBuilder","baseTypeaheadStartsWithMatchBuilder"],(function(a,b,c,d,e,f,g){"use strict";function a(a){var b=a.query;return function(a){return a.key.includes("diff:")||a.key.includes("task:")||a.key.includes("gdocs:")||a.key.includes("quip:")||a.key.includes("notes:")||a.key.includes("wiki:")?c("baseTypeaheadContainsMatchBuilder")({query:b})(a):c("baseTypeaheadStartsWithMatchBuilder")({query:b})(a)}}g["default"]=a}),98); __d("TokenizeUtil",["nullthrows"],(function(a,b,c,d,e,f,g){var h=/[ ]+/g,i=/[^ ]+/g;f=new RegExp("[^ "+l()+"]+|"+a(),"g");var j=new RegExp(a(),"g"),k=1e3;function l(){return".,+*?$|#{}()'\\^\\-\\[\\]\\\\\\/!@%\"~=<>_:;\u30fb\u3001\u3002\u3008-\u3011\u3014-\u301f\uff1a-\uff1f\uff01-\uff0f\uff3b-\uff40\uff5b-\uff65\u2e2e\u061f\u066a-\u066c\u061b\u060c\u060d\ufd3e\ufd3f\u1801\u0964\u104a\u104b\u2010-\u2027\u2030-\u205e\xa1-\xb1\xb4-\xb8\xba\xbb\xbf"}function a(){return"["+l()+"]"}var m={},n={a:"\u0430 \xe0 \xe1 \xe2 \xe3 \xe4 \xe5 \u0101",b:"\u0431",c:"\u0446 \xe7 \u010d",d:"\u0434 \xf0 \u010f \u0111",e:"\u044d \u0435 \xe8 \xe9 \xea \xeb \u011b \u0113",f:"\u0444",g:"\u0433 \u011f \u0123",h:"\u0445 \u0127",i:"\u0438 \xec \xed \xee \xef \u0131 \u012b",j:"\u0439",k:"\u043a \u0138 \u0137",l:"\u043b \u013e \u013a \u0140 \u0142 \u013c",m:"\u043c",n:"\u043d \xf1 \u0148 \u0149 \u014b \u0146",o:"\u043e \xf8 \xf6 \xf5 \xf4 \xf3 \xf2",p:"\u043f",r:"\u0440 \u0159 \u0155",s:"\u0441 \u015f \u0161 \u017f",t:"\u0442 \u0165 \u0167 \xfe",u:"\u0443 \u044e \xfc \xfb \xfa \xf9 \u016f \u016b",v:"\u0432",y:"\u044b \xff \xfd",z:"\u0437 \u017e",ae:"\xe6",oe:"\u0153",ts:"\u0446",ch:"\u0447",ij:"\u0133",sh:"\u0448",ss:"\xdf",ya:"\u044f"};for(var o in n){var p=n[o].split(" ");for(var q=0;q=k&&(c={},d=0);var g=r(e),h=a(g);c[e]={value:e,flatValue:g,tokens:s(h,b),isPrefixQuery:!!h&&h[h.length-1]!=" "};d++}f!=null&&f!==!1&&c[e].sortedTokens===void 0&&(c[e].sortedTokens=c[e].tokens.slice(),c[e].sortedTokens.sort(function(a,b){return b.length-a.length}));return c[e]}}var t=d(b),u=d(function(a){return a},f);function e(a,b,d){var e=a=="query"||a=="query_punc",f=a=="aligned",g=a=="query_punc"?u:t;b=g(b,a=="prefix");var h=a=="prefix"?c("nullthrows")(b.sortedTokens):b.tokens,i=g(d).tokens,j={},k=b.isPrefixQuery&&(e||f)?h.length-1:null;g=function(b,c){for(var d=0;d=g,source:"cache"});c("cometTypeaheadODSLogFetchCacheEvent")&&c("cometTypeaheadODSLogFetchCacheEvent")("comet.ta.fetch",!0,1)},requestParams:b});f=f;f=f.entries;f=c("baseTypeaheadFlattenEntries")(f).length;if(!h&&f>=g)return}if(typeof d.fetchNetwork==="function"&&["all","network"].includes(a)){f={onResolvePayload:function(a){e(a,{isTraceComplete:!0,source:a.entries.length>0?"network":"network-no-results"}),c("cometTypeaheadODSLogFetchNetworkEvent")&&c("cometTypeaheadODSLogFetchNetworkEvent")("comet.ta.fetch",!0,1)},requestParams:babelHelpers["extends"]({},b,{requestFlow:m.current})};Boolean(l)?q(f):p(f)}}b!=null&&i(b);return function(){a=!0}}i(r,[b]);return[{isLoading:o}]}g["default"]=a}),98); __d("useBaseTypeaheadDataSourceFetch",["react","recoverableViolation","useBaseTypeaheadDataSourceFetchResolver"],(function(a,b,c,d,e,f,g){"use strict";var h;b=h||d("react");var i=b.useCallback,j=b.useState;function a(a){var b=j(null),d=b[0],e=b[1];b=c("useBaseTypeaheadDataSourceFetchResolver")(a,d);a=b[0].isLoading;var f=i(function(a,b){b===void 0&&(b="all"),e({requestParams:a,source:b})},[]);b=i(function(a){a=a||{};var b=a.requestFlow;a=a.source;if(d==null){c("recoverableViolation")("Refetch cannot be called with undefined `fetchParams`","search");return}var e=d.requestParams,g=e.loggingEventTrace;e=babelHelpers.objectWithoutPropertiesLoose(e,["loggingEventTrace"]);g=babelHelpers["extends"]({loggingEventTrace:babelHelpers["extends"]({},g,{sequenceID:String(Date.now())}),requestFlow:b},e);f(g,a)},[f,d]);return[{isLoading:a,source:(a=d==null?void 0:d.source)!=null?a:"all"},f,b]}g["default"]=a}),98); __d("baseTypeaheadFetchPayloadDecorate",[],(function(a,b,c,d,e,f){"use strict";function a(a,b){b===void 0&&(b=[]);var c=a;b.forEach(function(a){c=a(c)});return c}f["default"]=a}),66); __d("BaseTypeaheadDataProvider",["CometRelay","Promise","XPlatReactRelayErrorHandling"],(function(a,b,c,d,e,f,g){"use strict";var h;a=function(){function a(a){var b=a.onError,c=a.options,d=a.query,e=a.queryVariablesBuilder;a=a.relayEnvironment;this.$1=b;this.$2=d;this.$3=e;this.$4=a;this.$5=c}var c=a.prototype;c.fetch=function(a){var c=this,e=this.$3.build(),f=e(a);return new(h||(h=b("Promise")))(function(a,b){var e,g=!1;d("CometRelay").fetchQuery(c.$4,c.$2,f,{fetchPolicy:(e=c.$5)==null?void 0:e.fetchPolicy}).subscribe({error:function(a){d("XPlatReactRelayErrorHandling").markErrorAsHandled(a),c.$1!=null&&c.$1(a),b(a)},next:function(b){g||(g=!0,a({requestQueryVariables:f,response:b}))}})})};return a}();g["default"]=a}),98); __d("BaseTypeaheadDataProviderQueryVariablesBuilder",[],(function(a,b,c,d,e,f){"use strict";a=function(){function a(a){this.$1=null,this.$2=null,this.$3=a}var b=a.prototype;b.build=function(){return this.$3(this.$1,this.$2)};b.setComputedVariables=function(a){this.$2=a;return this};b.setDefaultVariables=function(a){this.$1=a;return this};return a}();f["default"]=a}),66); __d("BaseCacheEntryLabelKeyBuilder",["BaseDataEntryLabelKeyBuilder"],(function(a,b,c,d,e,f,g){"use strict";function a(a){return c("BaseDataEntryLabelKeyBuilder")(a.entry)}g["default"]=a}),98); __d("baseTypeaheadDedupEntriesBuilder",["baseTypeaheadFlattenEntries"],(function(a,b,c,d,e,f,g){"use strict";function a(a){return function(b,d){var e=new Set(c("baseTypeaheadFlattenEntries")(b).map(function(b){return a(b)})),f=new Map();for(var g=b,h=Array.isArray(g),i=0,g=h?g:g[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var j;if(h){if(i>=g.length)break;j=g[i++]}else{i=g.next();if(i.done)break;j=i.value}j=j;if(j.type!=="section")continue;f.set(j.key,j)}j=d.map(function(b){if(b.type==="section"){var c=b.entries.filter(function(b){return!e.has(a(b))});if(c.length===0)return null;var d=f.get(b.key);if(d!=null){d.entries=[].concat(d.entries,c);return null}else{b.entries=c;return b}}else return e.has(a(b))?null:b}).filter(Boolean);return[].concat(b,j)}}g["default"]=a}),98); __d("BaseTypeaheadQueryDataCacheProvider",["BaseCacheEntryLabelKeyBuilder","BaseTypeaheadInMemoryMapDataCache","baseTypeaheadDedupEntriesBuilder","baseTypeaheadLabelSuffixBuilder","recoverableViolation"],(function(a,b,c,d,e,f,g){"use strict";a=function(){function a(a){a=a===void 0?{}:a;var b=a.dedupe;a=a.suffixBuilder;this.$1=new(c("BaseTypeaheadInMemoryMapDataCache"))();this.$2=(b=b)!=null?b:c("baseTypeaheadDedupEntriesBuilder")(c("BaseCacheEntryLabelKeyBuilder"));this.$3=(b=a)!=null?b:c("baseTypeaheadLabelSuffixBuilder")}var b=a.prototype;b.add=function(a,b){b===void 0&&(b="");b=((b=b)!=null?b:"").trimLeft().toLowerCase();a=this.$4(a,b);this.$1.set(b,a)};b.clear=function(){this.$1.clear()};b.match=function(a){a=a.trimLeft().toLowerCase();if(a===""){var b;return((b=this.$1.get(a))!=null?b:[]).map(function(a){a=a.entry;return a})}b=[];for(var c=1;c<=a.length;c++){var d=a.substring(0,c),e=a.substring(c,a.length);d=this.$5(d,e);b=this.$2(b,d)}return b.map(function(a){a=a.entry;return a})};b.remove=function(a){c("recoverableViolation")("'remove' is not implemented for BaseTypeaheadQueryDataCacheProvider","search")};b.$5=function(a,b){a=(a=this.$1.get(a))!=null?a:[];return a.map(function(a){return!a.suffix.startsWith(b)&&a.suffix!==b.trim()?null:a}).filter(Boolean)};b.$4=function(a,b){var c=this;return a.map(function(a){return{entry:a,suffix:c.$3(a,b)}})};b.values=function(){c("recoverableViolation")("'entries' is not implemented for BaseTypeaheadQueryDataCacheProvider","search");return[]};return a}();g["default"]=a}),98); __d("BaseDataEntryKeyBuilder",[],(function(a,b,c,d,e,f){"use strict";function a(a){a=a.key;return a.trimLeft().toLowerCase()}f["default"]=a}),66); __d("BaseCacheEntryKeyBuilder",["BaseDataEntryKeyBuilder"],(function(a,b,c,d,e,f,g){"use strict";function a(a){return c("BaseDataEntryKeyBuilder")(a.entry)}g["default"]=a}),98); __d("searchBaseTypeaheadTakeNEntriesFromSectionedEntries",[],(function(a,b,c,d,e,f){"use strict";function a(a,b){if(b===0)return[];b=g(a,b);var c=b.entryIndex;b=b.entryUnionIndex;if(b===void 0)return a;a=a.slice(0,b+1);if(c!==void 0&&b!==void 0){b=a[b];b.type==="section"&&(b.entries=b.entries.slice(0,c+1))}return a}function g(a,b){b=b;for(var c=0;c=this.$3||this.$4==null)return b;e=this.$4.fetchCache(a);b=e.entries;a=e.params;e=c("baseTypeaheadDedupEntriesBuilder")(c("BaseDataEntryKeyBuilder"))((e=d)!=null?e:[],(d=b)!=null?d:[]);return{entries:e,params:a}};d.fetchNetwork=function(a){var d=a.query;if(this.$5!=null&&d==="")return this.$5.fetchNetwork(a);if(d==="")return(h||(h=b("Promise"))).resolve({entries:[],params:a});d=this.$2;if(d==null&&this.$4==null)return(h||(h=b("Promise"))).resolve({entries:[],params:a});if(d==null)return this.$4!=null?this.$4.fetchNetwork(a):(h||(h=b("Promise"))).resolve({entries:[],params:a});var e=d.fetchCache(a);return this.$4==null?(h||(h=b("Promise"))).resolve(e):this.$4.fetchNetwork(a).then(function(a){var b=e.entries,d=a.entries;a=a.params;d=c("baseTypeaheadDedupEntriesBuilder")(c("BaseDataEntryKeyBuilder"))((b=b)!=null?b:[],(b=d)!=null?b:[]);return{entries:d,params:a}})};return a}();g["default"]=a}),98); __d("cometTypeaheadCreateOrGetCachedCompositeDataSource",["CometLruCache","CometTypeaheadCompositeDataSource"],(function(a,b,c,d,e,f,g){"use strict";var h=d("CometLruCache").create(5);function a(a){var b=a.cacheKey_SEARCH_ONLY;a=babelHelpers.objectWithoutPropertiesLoose(a,["cacheKey_SEARCH_ONLY"]);b=i(b);var d=h.get(b);if(d!=null)return d;d=new(c("CometTypeaheadCompositeDataSource"))(a);h.set(b,d);return d}function i(a){switch(a.type){case"group_rules_mentions_intentful_datasource_cache_key":case"groups_mentions_intentful_datasource_cache_key":case"groups_mentions_non_intentful_datasource_cache_key":return a.type+"-"+a.groupID;case"feed_mentions_intentful_datasource_cache_key":return a.enableTypeSelection.toString()+"-"+a.type+"-"+a.mentionTypes.join(",");case"workplace_chat_composer_mentions_datasource_cache_key":return a.participants.toString()+"-"+a.type+"-"+a.threadID+"}";case"groups_post_mentions_intentful_datasource_cache_key":return a.type+"-"+a.groupID+"-"+a.postID;default:return String(a.type)}}g["default"]=a}),98); __d("useCometTypeaheadCompositeDataSource",["BaseTypeaheadPayloadDecoratorAddLimit","CometTypeaheadCompositeDataSource","baseTypeaheadFetchPayloadDecorate","cometTypeaheadCreateOrGetCachedCompositeDataSource","react"],(function(a,b,c,d,e,f,g){"use strict";var h;b=h||d("react");var i=b.useCallback,j=b.useMemo;function a(a){var b=a.bootstrapDataSource,d=a.cacheKey_SEARCH_ONLY,e=a.limit,f=a.networkDataSource,g=a.nullstateDataSource,h=a.payloadDecorators,k=i(function(a){return c("baseTypeaheadFetchPayloadDecorate")(a,[].concat((a=h)!=null?a:[],[c("BaseTypeaheadPayloadDecoratorAddLimit")(e)]))},[e,h]),l=j(function(){return{bootstrapDataSource:b,limit:e,networkDataSource:f,nullstateDataSource:g}},[b,e,f,g]),m=j(function(){return d!=null?c("cometTypeaheadCreateOrGetCachedCompositeDataSource")(babelHelpers["extends"]({},l,{cacheKey_SEARCH_ONLY:d})):new(c("CometTypeaheadCompositeDataSource"))(l)},[d,l]);return j(function(){return{bootstrap:function(){return m.bootstrap()},fetchCache:function(a){return k(m.fetchCache(a))},fetchNetwork:function(a){return m.fetchNetwork(a).then(function(a){return k(a)})}}},[m,k])}g["default"]=a}),98); __d("CometTypeaheadGraphQLDataSource",["BaseCacheEntryKeyBuilder","BaseTypeaheadDataProvider","BaseTypeaheadDataProviderQueryVariablesBuilder","BaseTypeaheadNetworkCacheDataSource","BaseTypeaheadQueryDataCacheProvider","baseTypeaheadDedupEntriesBuilder","baseTypeaheadLabelSuffixBuilder"],(function(a,b,c,d,e,f,g){"use strict";a=function(){function a(a){var b=a.gqlQuery,d=a.normalize,e=a.options,f=a.queryVariablesBuilderFunction;a=a.relayEnvironment;var g=function(){return f};g=new(c("BaseTypeaheadDataProviderQueryVariablesBuilder"))(g);e=new(c("BaseTypeaheadDataProvider"))({options:e,query:b,queryVariablesBuilder:g,relayEnvironment:a});b=new(c("BaseTypeaheadQueryDataCacheProvider"))({dedupe:c("baseTypeaheadDedupEntriesBuilder")(c("BaseCacheEntryKeyBuilder")),suffixBuilder:c("baseTypeaheadLabelSuffixBuilder")});this.$1=new(c("BaseTypeaheadNetworkCacheDataSource"))(e,b,{normalizeFunc:d})}var b=a.prototype;b.fetchCache=function(a){return this.$1.fetchCache(a)};b.fetchNetwork=function(a){return this.$1.fetchNetwork(a)};return a}();g["default"]=a}),98); __d("useCometTypeaheadGraphQLDataSource",["BaseTypeaheadPayloadDecoratorAddLimit","CometRelay","CometTypeaheadGraphQLDataSource","react","useDeepEqualMemo"],(function(a,b,c,d,e,f,g){"use strict";var h,i=(h||d("react")).useMemo;function a(a){var b=a.gqlQuery,e=a.limit,f=a.normalize,g=a.options,h=a.queryVariablesBuilderFunction,j=i(function(){return c("BaseTypeaheadPayloadDecoratorAddLimit")(e)},[e]),k=d("CometRelay").useRelayEnvironment();a=c("useDeepEqualMemo")(h({query:""}));var l=i(function(){return new(c("CometTypeaheadGraphQLDataSource"))({gqlQuery:b,normalize:f,options:g,queryVariablesBuilderFunction:h,relayEnvironment:k})},[a,k]);return i(function(){return{fetchCache:function(a){return j(l.fetchCache(a))},fetchNetwork:function(a){return l.fetchNetwork(a).then(function(a){return j(a)})}}},[l,j])}g["default"]=a}),98);/*FB_PKG_DELIM*/ __d("LSFlushSyncTrace",[],(function(a,b,c,d,e,f){function a(){var a=arguments,b=a[a.length-1],c=[];return b.sequence([function(c){return b.forEach(b.filter(b.db.table(153).fetch(),function(c){return b.i64.eq(c.traceType,b.i64.cast([0,2]))&&c.contextOne===a[1]&&c.contextThree===a[0]}),function(a){var b=a.update;a.item;return b({shouldFlush:!0})})},function(a){return b.resolve(c)}])}e.exports=a}),null); __d("LSExecuteFinallyBlockForSyncTransaction",["LSFlushSyncTrace"],(function(a,b,c,d,e,f){function a(){var a=arguments,b=a[a.length-1],c=[];return b.sequence([function(c){return b.sequence([function(c){return b.forEach(b.filter(b.db.table(3).fetch([[["",a[1]]]]),function(c){return c.taskQueueName===""&&b.i64.eq(c.syncDatabaseId,a[1])&&b.i64.eq(c.epochId,a[2])}),function(c){var d=c.update;c=c.item;return d({epochId:!a[0]&&b.i64.eq(c.failureCount,b.i64.cast([-1,4294967295]))?c.epochId:void 0,failureCount:b.i64.eq(c.failureCount,b.i64.cast([-1,4294967295]))?b.i64.cast([0,0]):b.i64.add(c.failureCount,b.i64.cast([0,1]))})})},function(a){return b.resolve()}])},function(a){return b.resolve(c)}])}e.exports=a}),null); __d("LSAppendDataTraceAddonImpl",[],(function(a,b,c,d,e,f){function a(){var a=arguments,b=a[a.length-1],c=[],d=[];return b.sequence([function(d){return c[0]=b.i64.of_float(Date.now()),b.db.table(154).add({addonId:void 0,traceId:a[0],timestampMs:c[0],checkPointId:a[1],syncChannel:a[2],errorMessage:a[3],tags:a[4]})},function(a){return b.resolve(d)}])}e.exports=a}),null); __d("LSAppendDataTraceAddon",["LSAppendDataTraceAddonImpl"],(function(a,b,c,d,e,f,g){g["default"]=c("LSAppendDataTraceAddonImpl")}),98); __d("bs_caml",[],(function(a,b,c,d,e,f){"use strict";function a(a,b){if(ab||a===a)return 1;else if(b===b)return-1;else return 0}function d(a,b){if(a===b)return 0;else if(ab)return a;else return b}function m(a,b){if(a>b)return a;else return b}function n(a,b){if(a>b)return a;else return b}function o(a,b){if(a>b)return a;else return b}function p(a,b){if(a[1]===b[1])return a[0]===b[0];else return!1}function q(a,b){var c=b[0],d=a[0];if(d>c)return!0;else if(d=b[1]}function r(a,b){return!p(a,b)}function s(a,b){return!q(a,b)}function t(a,b){if(a[0]>b[0])return!0;else if(a[0]b[1]}function u(a,b){return!t(a,b)}function v(a,b){if(q(a,b))return b;else return a}function w(a,b){if(t(a,b))return a;else return b}f.caml_int_compare=a;f.caml_bool_compare=b;f.caml_float_compare=c;f.caml_string_compare=d;f.caml_bool_min=e;f.caml_int_min=g;f.caml_float_min=h;f.caml_string_min=i;f.caml_int32_min=j;f.caml_bool_max=k;f.caml_int_max=l;f.caml_float_max=m;f.caml_string_max=n;f.caml_int32_max=o;f.i64_eq=p;f.i64_neq=r;f.i64_lt=s;f.i64_gt=t;f.i64_le=u;f.i64_ge=q;f.i64_min=v;f.i64_max=w}),null); __d("bs_caml_int64",["bs_caml"],(function(a,b,c,d,e,f){"use strict";var g;function a(a,b){return[b,a>>>0]}var h=[-2147483648,0],i=[2147483647,4294967295],j=[0,1],k=[0,0],l=[-1,4294967295];function m(a){return(a&-2147483648)!==0}function n(a){return(a&-2147483648)===0}function c(a){var b=a[1];a=a[0];b=b+1|0;return[a+(b===0?1:0)|0,b>>>0]}function o(a){var b=(a[1]^-1)+1|0;return[(a[0]^-1)+(b===0?1:0)|0,b>>>0]}function p(a,b,c){var d=a[1],e=d+b|0;d=m(d)&&(m(b)||n(e))||m(b)&&n(e)?1:0;return[a[0]+c+d|0,e>>>0]}function q(a,b){return p(a,b[1],b[0])}function d(a,c){if(c!==null)return(g||(g=b("bs_caml"))).i64_eq(a,c);else return!1}function e(a,c){if(c!==void 0)return(g||(g=b("bs_caml"))).i64_eq(a,c);else return!1}function r(a,c){if(c==null)return!1;else return(g||(g=b("bs_caml"))).i64_eq(a,c)}function s(a,b,c){b=(b^-1)+1>>>0;c=(c^-1)+(b===0?1:0)|0;return p(a,b,c)}function t(a,b){return s(a,b[1],b[0])}function u(a,b){if(b===0)return a;var c=a[1];if(b>=32)return[c<<(b-32|0),0];else return[c>>>(32-b|0)|a[0]<>>0]}function v(a,b){if(b===0)return a;var c=a[0],d=b-32|0;if(d===0)return[0,c>>>0];else if(d>0)return[0,c>>>d];else return[c>>>b,(c<<(-d|0)|a[1]>>>b)>>>0]}function w(a,b){if(b===0)return a;var c=a[0];if(b<32)return[c>>b,(c<<(32-b|0)|a[1]>>>b)>>>0];else return[c>=0?0:-1,c>>(b-32|0)>>>0]}function x(a){if(a[0]!==0)return!1;else return a[1]===0}function y(a,b){while(!0){var c=b,d=a,e,f=d[0],g=0,i=0,j;if(f!==0)j=4;else{if(d[1]===0)return k;j=4}if(j===4)if(c[0]!==0)i=3;else{if(c[1]===0)return k;i=3}i===3&&(f!==-2147483648||d[1]!==0?g=2:e=c[1]);if(g===2){j=c[0];i=d[1];g=0;j!==-2147483648||c[1]!==0?g=3:e=i;if(g===3){g=c[1];if(f<0){if(j>=0)return o(y(o(d),c));b=o(c);a=o(d);continue}if(j<0)return o(y(d,o(c)));d=f>>>16;c=f&65535;f=i>>>16;i=i&65535;var l=j>>>16;j=j&65535;var m=g>>>16;g=g&65535;var n,p,q,r=i*g;q=(r>>>16)+f*g;p=q>>>16;q=(q&65535)+i*m;p=p+(q>>>16)+c*g;n=p>>>16;p=(p&65535)+f*m;n=n+(p>>>16);p=(p&65535)+i*j;n=n+(p>>>16);p=p&65535;n=n+(d*g+c*m+f*j+i*l)&65535;return[p|n<<16,(r&65535|(q&65535)<<16)>>>0]}}if((e&1)===0)return k;else return h}}function z(a,b){return[a[0]^b[0],(a[1]^b[1])>>>0]}function A(a,b){return[a[0]|b[0],(a[1]|b[1])>>>0]}function B(a,b){return[a[0]&b[0],(a[1]&b[1])>>>0]}function C(a){return a[0]*4294967296+a[1]}function D(a){if(isNaN(a)||!isFinite(a))return k;if(a<=-9223372036854776e3)return h;if(a+1>=9223372036854776e3)return i;if(a<0)return o(D(-a));var b=a/4294967296|0;a=a%4294967296|0;return[b,a>>>0]}function E(a){var b=a[0],c=b>>21;if(c===0)return!0;else if(c===-1)return!(a[1]===0&&b===-2097152);else return!1}function F(a){if(E(a))return String(C(a));if(a[0]<0)if((g||(g=b("bs_caml"))).i64_eq(a,h))return"-9223372036854775808";else return"-"+F(o(a));var c=D(Math.floor(C(a)/10)),d=c[1],e=c[0];a=s(s(a,d<<3,d>>>29|e<<3),d<<1,d>>>31|e<<1);d=a[1];e=a[0];if(d===0&&e===0)return F(c)+"0";if(e<0){a=(d^-1)+1>>>0;e=Math.ceil(a/10);a=10*e-a;return F(s(c,e|0,0))+String(a|0)}e=Math.floor(d/10);a=d-10*e;return F(p(c,e|0,0))+String(a|0)}function G(a,c){while(!0){var d=c,e=a,f=e[0],i=0,m;if(d[0]!==0||d[1]!==0)m=2;else throw{RE_EXN_ID:"Division_by_zero",Error:new Error()};if(m===2)if(f!==-2147483648)if(f!==0)i=1;else{if(e[1]===0)return k;i=1}else if(e[1]!==0)i=1;else{if((g||(g=b("bs_caml"))).i64_eq(d,j)||(g||(g=b("bs_caml"))).i64_eq(d,l))return e;if((g||(g=b("bs_caml"))).i64_eq(d,h))return j;m=w(e,1);m=u(G(m,d),1);var n;if(m[0]!==0)n=3;else{if(m[1]===0)if(d[0]<0)return j;else return o(j);n=3}if(n===3){n=t(e,y(d,m));return q(m,G(n,d))}}if(i===1){m=d[0];if(m!==-2147483648)n=2;else{if(d[1]===0)return k;n=2}if(n===2){if(f<0){if(m>=0)return o(G(o(e),d));c=o(d);a=o(e);continue}if(m<0)return o(G(e,o(d)));i=k;n=e;while((g||(g=b("bs_caml"))).i64_ge(n,d)){f=Math.floor(C(n)/C(d));m=1>f?1:f;e=Math.ceil(Math.log(m)/Math.LN2);f=e<=48?1:Math.pow(2,e-48);e=D(m);var p=y(e,d);while(p[0]<0||(g||(g=b("bs_caml"))).i64_gt(p,n))m=m-f,e=D(m),p=y(e,d);x(e)&&(e=j);i=q(i,e);n=t(n,p)}return i}}}}function H(a,b){return t(a,y(G(a,b),b))}function I(a,b){var c=G(a,b);return[c,t(a,y(c,b))]}function J(a,b){var c=b[0],d=a[0];d=d>>0]}function L(a){return a[1]|0}function M(a){var b=a[1];a=a[0];var c=function(a){return(a>>>0).toString(16)};if(a===0&&b===0)return"0";if(b===0)return c(a)+"00000000";if(a===0)return c(b);b=c(b);var d=8-b.length|0;if(d<=0)return c(a)+b;else return c(a)+("0".repeat(d)+b)}function N(a){return[2147483647&a[0],a[1]]}function O(a){return function(a,b){return new Float64Array(new Int32Array([a,b]).buffer)[0]}(a[1],a[0])}function P(a){a=function(a){return new Int32Array(new Float64Array([a]).buffer)}(a);return[a[1],a[0]>>>0]}f.mk=a;f.succ=c;f.min_int=h;f.max_int=i;f.one=j;f.zero=k;f.neg_one=l;f.of_int32=K;f.to_int32=L;f.add=q;f.neg=o;f.sub=t;f.lsl_=u;f.lsr_=v;f.asr_=w;f.is_zero=x;f.mul=y;f.xor=z;f.or_=A;f.and_=B;f.equal_null=d;f.equal_undefined=e;f.equal_nullable=r;f.to_float=C;f.of_float=D;f.div=G;f.mod_=H;f.compare=J;f.float_of_bits=O;f.bits_of_float=P;f.div_mod=I;f.to_hex=M;f.discard_sign=N;f.to_string=F}),null); __d("bs_caml_format",["bs_caml","bs_caml_int64"],(function(a,b,c,d,e,f){"use strict";var g,h;function i(a){if(a>=65)if(a>=97)if(a>=123)return-1;else return a-87|0;else if(a>=91)return-1;else return a-55|0;else if(a>57||a<48)return-1;else return a-48|0}function j(a){switch(a){case 0:return 8;case 1:return 16;case 2:return 10;case 3:return 2}}function k(a){var b=1,c=2,d=0,e=a.charCodeAt(d);switch(e){case 43:d=d+1|0;break;case 44:break;case 45:b=-1;d=d+1|0;break;default:}if(a[d]==="0"){e=a.charCodeAt(d+1|0);if(e>=89)if(e>=111){if(e<121)switch(e){case 111:c=0;d=d+2|0;break;case 117:d=d+2|0;break;case 112:case 113:case 114:case 115:case 116:case 118:case 119:break;case 120:c=1;d=d+2|0;break}}else e===98&&(c=3,d=d+2|0);else if(e!==66){if(e>=79)switch(e){case 79:c=0;d=d+2|0;break;case 85:d=d+2|0;break;case 80:case 81:case 82:case 83:case 84:case 86:case 87:break;case 88:c=1;d=d+2|0;break}}else c=3,d=d+2|0}return[d,b,c]}function a(a){var b=k(a),c=b[0],d=j(b[2]),e=4294967295,f=a.length,g=c=d)throw{RE_EXN_ID:"Failure",_1:"int_of_string",Error:new Error()};var h=function(b,c){while(!0){var g=c,h=b;if(g===f)return h;var j=a.charCodeAt(g);if(j===95){c=g+1|0;continue}j=i(j);if(j<0||j>=d)throw{RE_EXN_ID:"Failure",_1:"int_of_string",Error:new Error()};h=d*h+j;if(h>e)throw{RE_EXN_ID:"Failure",_1:"int_of_string",Error:new Error()};c=g+1|0;b=h;continue}};b=b[1]*h(g,c+1|0);h=b|0;if(d===10&&b!==h)throw{RE_EXN_ID:"Failure",_1:"int_of_string",Error:new Error()};return h}function c(a){var c=k(a),d=c[2],e=c[0],f=(g||(g=b("bs_caml_int64"))).of_int32(j(d));c=g.of_int32(c[1]);var l;switch(d){case 0:l=[536870911,4294967295];break;case 1:l=[268435455,4294967295];break;case 2:l=[429496729,2576980377];break;case 3:l=(g||(g=b("bs_caml_int64"))).max_int;break}var m=a.length;d=e=65&&a<=90||a>=192&&a<=214||a>=216&&a<=222)return a+32|0;else return a}function n(a){var b=a.length;if(b>31)throw{RE_EXN_ID:"Invalid_argument",_1:"format_int: format too long",Error:new Error()};var c={justify:"+",signstyle:"-",filter:" ",alternate:!1,base:2,signedconv:!1,width:0,uppercase:!1,sign:1,prec:-1,conv:"f"},d=0;while(!0){var e=d;if(e>=b)return c;var f=a.charCodeAt(e),g=0;if(f>=69)if(f>=88)if(f>=121)g=1;else switch(f){case 88:c.base=1;c.uppercase=!0;d=e+1|0;continue;case 101:case 102:case 103:g=5;break;case 100:case 105:g=4;break;case 111:c.base=0;d=e+1|0;continue;case 117:c.base=2;d=e+1|0;continue;case 89:case 90:case 91:case 92:case 93:case 94:case 95:case 96:case 97:case 98:case 99:case 104:case 106:case 107:case 108:case 109:case 110:case 112:case 113:case 114:case 115:case 116:case 118:case 119:g=1;break;case 120:c.base=1;d=e+1|0;continue}else if(f>=72)g=1;else{c.signedconv=!0;c.uppercase=!0;c.conv=String.fromCharCode(m(f));d=e+1|0;continue}else switch(f){case 35:c.alternate=!0;d=e+1|0;continue;case 32:case 43:g=2;break;case 45:c.justify="-";d=e+1|0;continue;case 46:c.prec=0;var h=e+1|0;while(function(b){return function(){var c=a.charCodeAt(b)-48|0;return c>=0&&c<=9}}(h)())c.prec=(Math.imul(c.prec,10)+a.charCodeAt(h)|0)-48|0,h=h+1|0;d=h;continue;case 33:case 34:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 44:case 47:g=1;break;case 48:c.filter="0";d=e+1|0;continue;case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:g=3;break;default:g=1}switch(g){case 1:d=e+1|0;continue;case 2:c.signstyle=String.fromCharCode(f);d=e+1|0;continue;case 3:c.width=0;h=e;while(function(b){return function(){var c=a.charCodeAt(b)-48|0;return c>=0&&c<=9}}(h)())c.width=(Math.imul(c.width,10)+a.charCodeAt(h)|0)-48|0,h=h+1|0;d=h;continue;case 4:c.signedconv=!0;c.base=2;d=e+1|0;continue;case 5:c.signedconv=!0;c.conv=String.fromCharCode(f);d=e+1|0;continue}}}function o(a,b){var c=a.justify,d=a.signstyle,e=a.filter,f=a.alternate,g=a.base,h=a.signedconv,i=a.width,j=a.uppercase;a=a.sign;var k=b.length;h&&(a<0||d!=="-")&&(k=k+1|0);f&&(g===0?k=k+1|0:g===1&&(k=k+2|0));var l="";if(c==="+"&&e===" ")for(var m=k;m>>0):b>>>0:b;b=b.toString(l(a.base));if(a.prec>=0){a.filter=" ";var c=a.prec-b.length|0;c>0&&(b="0".repeat(c)+b)}return o(a,b)}function p(a){if(!(h||(h=b("bs_caml"))).i64_lt(a,(g||(g=b("bs_caml_int64"))).zero))return(g||(g=b("bs_caml_int64"))).to_string(a);var c=[0,10];a=(g||(g=b("bs_caml_int64"))).discard_sign(a);a=g.div_mod(a,c);c=g.div_mod(g.add([0,8],a[1]),c);a=g.add(g.add([214748364,3435973836],a[0]),c[0]);return g.to_string(a)+"0123456789"[g.to_int32(c[1])]}function q(a){var c="",d=[0,8],e="01234567";if((h||(h=b("bs_caml"))).i64_lt(a,(g||(g=b("bs_caml_int64"))).zero)){var f=(g||(g=b("bs_caml_int64"))).discard_sign(a);f=g.div_mod(f,d);var i=g.add([268435456,0],f[0]);f=f[1];c=e[g.to_int32(f)]+c;while((h||(h=b("bs_caml"))).i64_neq(i,(g||(g=b("bs_caml_int64"))).zero)){var j=(g||(g=b("bs_caml_int64"))).div_mod(i,d);i=j[0];f=j[1];c=e[g.to_int32(f)]+c}}else{j=(g||(g=b("bs_caml_int64"))).div_mod(a,d);f=j[0];i=j[1];c=e[g.to_int32(i)]+c;while((h||(h=b("bs_caml"))).i64_neq(f,(g||(g=b("bs_caml_int64"))).zero)){a=(g||(g=b("bs_caml_int64"))).div_mod(f,d);f=a[0];i=a[1];c=e[g.to_int32(i)]+c}}return c}function e(a,c){if(a==="%d")return(g||(g=b("bs_caml_int64"))).to_string(c);a=n(a);c=a.signedconv&&(h||(h=b("bs_caml"))).i64_lt(c,(g||(g=b("bs_caml_int64"))).zero)?(a.sign=-1,(g||(g=b("bs_caml_int64"))).neg(c)):c;var d=a.base,e;switch(d){case 0:e=q(c);break;case 1:e=(g||(g=b("bs_caml_int64"))).to_hex(c);break;case 2:e=p(c);break}if(a.prec>=0){a.filter=" ";d=a.prec-e.length|0;c=d>0?"0".repeat(d)+e:e}else c=e;return o(a,c)}function r(a,b){a=n(a);var c=a.prec<0?6:a.prec,d=b<0?(a.sign=-1,-b):b;b="";if(isNaN(d))b="nan",a.filter=" ";else if(isFinite(d)){var e=a.conv;switch(e){case"e":b=d.toExponential(c);e=b.length;b[e-3|0]==="e"&&(b=b.slice(0,e-1|0)+("0"+b.slice(e-1|0)));break;case"f":b=d.toFixed(c);break;case"g":var f=c!==0?c:1;b=d.toExponential(f-1|0);e=b.indexOf("e");c=Number(b.slice(e+1|0))|0;if(c<-4||d>=1e21||d.toFixed().length>f){var g=e-1|0;while(b[g]==="0")g=g-1|0;b[g]==="."&&(g=g-1|0);b=b.slice(0,g+1|0)+b.slice(e);g=b.length;b[g-3|0]==="e"&&(b=b.slice(0,g-1|0)+("0"+b.slice(g-1|0)))}else{var h=f;if(c<0)h=h-(c+1|0)|0,b=d.toFixed(h);else while(function(){b=d.toFixed(h);return b.length>(f+1|0)}())h=h-1|0;if(h!==0){e=b.length-1|0;while(b[e]==="0")e=e-1|0;b[e]==="."&&(e=e-1|0);b=b.slice(0,e+1|0)}}break;default:}}else b="inf",a.filter=" ";return o(a,b)}var s=function(a,b,c){if(!isFinite(a))return isNaN(a)?"nan":a>0?"infinity":"-infinity";var d=a==0&&1/a==-Infinity?1:a>=0?0:1;d&&(a=-a);var e=0;if(!(a==0))if(a<1)while(a<1&&e>-1022)a*=2,e--;else while(a>=2)a/=2,e++;var f=e<0?"":"+",g="";if(d)g="-";else switch(c){case 43:g="+";break;case 32:g=" ";break;default:break}if(b>=0&&b<13){d=Math.pow(2,b*4);a=Math.round(a*d)/d}c=a.toString(16);if(b>=0){d=c.indexOf(".");if(d<0)c+="."+"0".repeat(b);else{a=d+1+b;c.length0&&c===c)return c;a=a.replace(/_/g,"");c=+a;if(a.length>0&&c===c||/^[+-]?nan$/i.test(a))return c;var d=/^ *([+-]?)0x([0-9a-f]+)\.?([0-9a-f]*)p([+-]?[0-9]+)/i.exec(a);if(d){var e=d[3].replace(/0+$/,""),f=parseInt(d[1]+d[2]+e,16);d=(d[4]|0)-4*e.length;c=f*Math.pow(2,d);return c}if(/^\+?inf(inity)?$/i.test(a))return Infinity;if(/^-inf(inity)?$/i.test(a))return-Infinity;throw b};function u(a){return t(a,{RE_EXN_ID:"Failure",_1:"float_of_string"})}var v=d,w=d,x=a,y=a;f.caml_format_float=r;f.caml_hexstring_of_float=s;f.caml_format_int=d;f.caml_nativeint_format=v;f.caml_int32_format=w;f.caml_float_of_string=u;f.caml_int64_format=e;f.caml_int_of_string=a;f.caml_int32_of_string=x;f.caml_int64_of_string=c;f.caml_nativeint_of_string=y}),null); __d("bs_caml_exceptions",[],(function(a,b,c,d,e,f){"use strict";var g={contents:0};function a(a){g.contents=g.contents+1|0;return a+("/"+g.contents)}function b(a){if(a==null)return!1;else return typeof a.RE_EXN_ID==="string"}function c(a){return a.RE_EXN_ID}f.id=g;f.create=a;f.caml_is_extension=b;f.caml_exn_slot_name=c}),null); __d("bs_caml_option",[],(function(a,b,c,d,e,f){"use strict";function a(a){return a.BS_PRIVATE_NESTED_SOME_NONE!==void 0}function g(a){if(a===void 0)return{BS_PRIVATE_NESTED_SOME_NONE:0};else if(a!==null&&a.BS_PRIVATE_NESTED_SOME_NONE!==void 0)return{BS_PRIVATE_NESTED_SOME_NONE:a.BS_PRIVATE_NESTED_SOME_NONE+1|0};else return a}function b(a){if(a==null)return;else return g(a)}function c(a){if(a===void 0)return;else return g(a)}function d(a){if(a===null)return;else return g(a)}function h(a){if(!(a!==null&&a.BS_PRIVATE_NESTED_SOME_NONE!==void 0))return a;a=a.BS_PRIVATE_NESTED_SOME_NONE;if(a===0)return;else return{BS_PRIVATE_NESTED_SOME_NONE:a-1|0}}function e(a){if(a===void 0)return;else return h(a)}function i(a){if(a!==void 0)return a.VAL;else return a}f.nullable_to_opt=b;f.undefined_to_opt=c;f.null_to_opt=d;f.valFromOption=h;f.some=g;f.isNested=a;f.option_get=e;f.option_unwrap=i}),null); __d("bs_caml_js_exceptions",["bs_caml_exceptions","bs_caml_option"],(function(a,b,c,d,e,f){"use strict";var g=b("bs_caml_exceptions").create("Caml_js_exceptions.Error");function a(a){if(b("bs_caml_exceptions").caml_is_extension(a))return a;else return{RE_EXN_ID:g,_1:a}}function c(a){if(a.RE_EXN_ID===g)return b("bs_caml_option").some(a._1)}f.$$Error=g;f.internalToOCamlException=a;f.caml_as_js_exn=c}),null); __d("bs_int64",["bs_caml","bs_caml_format","bs_caml_int64","bs_caml_js_exceptions"],(function(a,b,c,d,e,f){"use strict";var g,h;function a(a){return(g||(g=b("bs_caml_int64"))).sub(a,g.one)}function c(a){if((h||(h=b("bs_caml"))).i64_ge(a,(g||(g=b("bs_caml_int64"))).zero))return a;else return(g||(g=b("bs_caml_int64"))).neg(a)}function d(a){return(g||(g=b("bs_caml_int64"))).xor(a,g.neg_one)}function e(a){try{return b("bs_caml_format").caml_int64_of_string(a)}catch(c){a=b("bs_caml_js_exceptions").internalToOCamlException(c);if(a.RE_EXN_ID==="Failure")return;throw a}}var i=(g||(g=b("bs_caml_int64"))).compare;function j(a,c){return(g||(g=b("bs_caml_int64"))).compare(a,c)===0}var k=g.zero,l=g.one,m=g.neg_one,n=g.succ,o=g.max_int,p=g.min_int,q=g.to_string;f.zero=k;f.one=l;f.minus_one=m;f.succ=n;f.pred=a;f.abs=c;f.max_int=o;f.min_int=p;f.lognot=d;f.of_string_opt=e;f.to_string=q;f.compare=i;f.equal=j}),null); __d("I64",["bs_caml","bs_caml_format","bs_caml_int64","bs_int64"],(function(a,b,c,d,e,f,g){"use strict";var h,i;function a(a){return function(){var b=a.apply(void 0,arguments);b._tag="i64";return b}}function b(a){return function(){var b=a.apply(void 0,arguments);b!=null&&(b._tag="i64");return b}}f=a((h||(h=c("bs_caml_int64"))).mk);var j=a(h.succ),k=a(function(){return(h||(h=c("bs_caml_int64"))).min_int})(),l=a(function(){return(h||(h=c("bs_caml_int64"))).max_int})(),m=a(function(){return(h||(h=c("bs_caml_int64"))).one})(),n=a(function(){return(h||(h=c("bs_caml_int64"))).zero})(),o=a(function(){return(h||(h=c("bs_caml_int64"))).neg_one})(),p=a(h.of_int32),q=a(h.add),r=a(h.neg),s=a(h.sub),t=a(h.lsl_),u=a(h.lsr_),v=a(h.asr_),w=a(h.mul),x=a(h.xor),y=a(h.or_),z=a(h.and_),A=a(h.of_float),B=a(h.div),C=a(h.mod_),D=a(function(){return c("bs_int64").minus_one})(),E=a(c("bs_int64").abs),F=a(c("bs_int64").lognot);b=b(c("bs_int64").of_string_opt);var G,H;if(typeof BigInt==="function"){var I=BigInt(32),J=BigInt(4294967295);G=function(a){return BigInt.asIntN(64,(BigInt(a[0])<>I),Number(a&J)];a._tag="i64";return a}}else G=(h||(h=c("bs_caml_int64"))).to_string,H=a(c("bs_caml_format").caml_int64_of_string);G=G;H=H;var K=a((i||(i=c("bs_caml"))).i64_max);a=a(i.i64_min);function d(a){if(Array.isArray(a)&&a.length===2){var b=a[0];a=a[1];if(typeof b==="number"&&Number.isInteger(b)&&typeof a==="number"&&Number.isInteger(a)){b=[b,a];b._tag="i64";return b}}return void 0}function e(a){return(a==null?void 0:a._tag)==="i64"}g.mk=f;g.succ=j;g.min_int=k;g.max_int=l;g.one=m;g.zero=n;g.neg_one=o;g.of_int32=p;g.to_int32=h.to_int32;g.add=q;g.neg=r;g.sub=s;g.lsl_=t;g.lsr_=u;g.asr_=v;g.is_zero=h.is_zero;g.mul=w;g.xor=x;g.or_=y;g.and_=z;g.to_float=h.to_float;g.of_float=A;g.div=B;g.mod_=C;g.compare=h.compare;g.minus_one=D;g.abs=E;g.lognot=F;g.of_string_opt=b;g.equal=c("bs_int64").equal;g.to_string=G;g.of_string=H;g.gt=i.i64_gt;g.ge=i.i64_ge;g.lt=i.i64_lt;g.le=i.i64_le;g.max=K;g.min=a;g.cast=d;g.isI64=e}),98); __d("LSArrayGetObjectAt",["I64","Promise"],(function(a,b,c,d,e,f,g){"use strict";var h,i;function a(a,c,e,f){return(i||(i=b("Promise"))).resolve([e[(h||(h=d("I64"))).to_int32(f)],e])}g.call=a}),98); __d("LSLogEventAnnotate.nop",["Promise"],(function(a,b,c,d,e,f){"use strict";var g;function a(){return(g||(g=b("Promise"))).resolve()}e.exports=a}),null); __d("LSExecuteFirstBlockForSyncTransaction",["LSAppendDataTraceAddon","LSArrayGetObjectAt","LSLogEventAnnotate.nop"],(function(a,b,c,d,e,f){function a(){var a=arguments,c=a[a.length-1],d=[],e=[];return c.sequence([function(f){return c.sequence([function(a){return c.resolve()},function(e){return c.filter(c.db.table(3).fetch([[["",a[0]]]]),function(b){return b.taskQueueName===""&&c.i64.eq(b.syncDatabaseId,a[0])&&c.i64.eq(b.epochId,a[1])}).next().then(function(e,f){f=e.done;e=e.value;return f?c.sequence([function(e){return function(a){c.logger(a).mustfix(a)}(["epoch mismatch",",",c.i64.to_string(a[0])].join("")),d[2]=new c.Map(),d[2].set("database_id",a[0]),d[2].set("epoch_id",a[1]),d[2].set("sync_status",a[4]),d[2].set("next_cursor",a[3]),d[2].set("error_msg","epoch mismatch"),a[9]?d[3]=!1:d[3]=!0,d[3]?c.resolve():(d[5]=a[9].keys(),d[6]=c.i64.of_int32(d[5].length),c.i64.gt(d[6],c.i64.cast([0,0]))?c.loopAsync(d[6],function(e){return d[7]=e,c.sequence([function(a){return c.nativeTypeOperation("Array",b("LSArrayGetObjectAt"),d[5],d[7]).then(function(a){return a=a,d[8]=a[0],d[9]=a[1],a})},function(b){return d[10]=a[9].get(d[8]),a[9],d[2].set(d[8],d[10])}])}):c.resolve())},function(a){return c.nativeOperation(b("LSLogEventAnnotate.nop"),c.i64.cast([0,16]),c.i64.cast([0,35]),c.i64.cast([0,0]),d[2])},function(a){return d[4]=!1,d[0]=d[4]}]):(e.item,c.sequence([function(e){return c.filter(c.db.table(1).fetch([[[a[0]]]]),function(b){return c.i64.eq(b.groupId,a[0])&&b.currentCursor===a[2]}).next().then(function(e,f){f=e.done;e=e.value;return f?c.sequence([function(e){return function(a){c.logger(a).mustfix(a)}(["cursor mismatch",",",c.i64.to_string(a[0])].join("")),d[4]=new c.Map(),d[4].set("database_id",a[0]),d[4].set("epoch_id",a[1]),d[4].set("sync_status",a[4]),d[4].set("next_cursor",a[3]),d[4].set("error_msg","cursor mismatch"),a[9]?d[5]=!1:d[5]=!0,d[5]?c.resolve():(d[7]=a[9].keys(),d[8]=c.i64.of_int32(d[7].length),c.i64.gt(d[8],c.i64.cast([0,0]))?c.loopAsync(d[8],function(e){return d[9]=e,c.sequence([function(a){return c.nativeTypeOperation("Array",b("LSArrayGetObjectAt"),d[7],d[9]).then(function(a){return a=a,d[10]=a[0],d[11]=a[1],a})},function(b){return d[12]=a[9].get(d[10]),a[9],d[4].set(d[10],d[12])}])}):c.resolve())},function(a){return c.nativeOperation(b("LSLogEventAnnotate.nop"),c.i64.cast([0,16]),c.i64.cast([0,35]),c.i64.cast([0,0]),d[4])},function(a){return d[6]=!1,d[2]=d[6]}]):(e.item,c.sequence([function(b){return d[4]=c.i64.of_float(Date.now()),d[5]=c.i64.of_float(Date.now()),c.forEach(c.db.table(1).fetch([[[a[0]]]]),function(b){var e=b.update;b.item;return e({currentCursor:a[3],syncStatus:a[4],sendSyncParams:a[5],minTimeToSyncTimestampMs:c.i64.eq(a[6],c.i64.cast([0,0]))?c.i64.cast([0,0]):c.i64.add(d[4],a[6]),canIgnoreTimestamp:a[7],syncChannel:a[8],lastSyncCompletedTimestampMs:d[5]})})},function(b){return c.forEach(c.db.table(3).fetch([[["",a[0]]]]),function(a){var b=a.update;a.item;return b({failureCount:c.i64.cast([-1,4294967295])})})},function(e){return d[6]=new c.Map(),d[6].set("database_id",a[0]),d[6].set("epoch_id",a[1]),d[6].set("sync_status",a[4]),d[6].set("next_cursor",a[3]),a[9]?d[7]=!1:d[7]=!0,d[7]?c.resolve():(d[9]=a[9].keys(),d[10]=c.i64.of_int32(d[9].length),c.i64.gt(d[10],c.i64.cast([0,0]))?c.loopAsync(d[10],function(e){return d[11]=e,c.sequence([function(a){return c.nativeTypeOperation("Array",b("LSArrayGetObjectAt"),d[9],d[11]).then(function(a){return a=a,d[12]=a[0],d[13]=a[1],a})},function(b){return d[14]=a[9].get(d[12]),a[9],d[6].set(d[12],d[14])}])}):c.resolve())},function(a){return c.nativeOperation(b("LSLogEventAnnotate.nop"),c.i64.cast([0,16]),c.i64.cast([0,35]),c.i64.cast([0,0]),d[6])},function(a){return d[8]=!0,d[2]=d[8]}]))})},function(a){return d[0]=d[2]}]))})},function(a){return e[0]=d[0]}])},function(a){return c.resolve(e)}])}e.exports=a}),null);/*FB_PKG_DELIM*/ __d("LSMessageThreadUnsendabilityStatus",[],(function(a,b,c,d,e,f){a=Object.freeze({CAN_UNSEND:0,DENY_FOR_SPECIFIC_IDS:1,DENY_IF_THREAD_CONTAINS_PAU:2,DENY_IF_THREAD_CONTAINS_WORK_USER:3,DENY_IF_PAGE_THREAD:4,DENY_IF_MARKETPLACE_THREAD:5,DENY_IF_CANNOT_LOAD_THREAD:6,DENY_IF_THREAD_CONTAINS_WORK_USER_FAILING_KILLSWITCH:7,DENY_IF_CANONICAL_THREAD_CONTAINS_BLOCKED_USERS:8,DENY_IF_CANNOT_REPLY_TO_VIEWER_THREAD:9,DENY_IF_UNCONNECTED_THREAD:10});f["default"]=a}),66); __d("isUnjoinedCMThread",["I64","LSIntEnum"],(function(a,b,c,d,e,f,g){"use strict";var h,i;function a(a){return(h||(h=d("I64"))).equal(a,(i||(i=d("LSIntEnum"))).ofNumber(19))||(h||(h=d("I64"))).equal(a,(i||(i=d("LSIntEnum"))).ofNumber(24))||(h||(h=d("I64"))).equal(a,(i||(i=d("LSIntEnum"))).ofNumber(22))}g.isUnjoinedCMThread=a}),98); __d("LSThreadBitOffset",["FBLogger","I64","LSBitFlag","isUnjoinedCMThread"],(function(a,b,c,d,e,f,g){"use strict";var h;f=["capabilities","capabilities2","capabilities3","capabilities4"];var i=4,j=i*64;function a(a,b){if(d("isUnjoinedCMThread").isUnjoinedCMThread(b.threadType))return!1;if(a>=j){c("FBLogger")("LSThreadBitOffset","out_of_bounds_bit_offset").mustfix("Invalid bitOffset; expected a value between 0 and %d but found %s instead",j-1,a);return!1}if(a>=192)return d("LSBitFlag").has((h||(h=d("I64"))).lsl_(h.one,a-192),b.capabilities4);if(a>=128)return d("LSBitFlag").has((h||(h=d("I64"))).lsl_(h.one,a-128),b.capabilities3);return a>=64?d("LSBitFlag").has((h||(h=d("I64"))).lsl_(h.one,a-64),b.capabilities2):d("LSBitFlag").has((h||(h=d("I64"))).lsl_(h.one,a),b.capabilities)}function b(a,b,c,e,f){return a.reduce(function(a,b){var c=a[0],e=a[1],f=a[2];a=a[3];if(b>=192)return[c,e,f,d("LSBitFlag").set((h||(h=d("I64"))).lsl_(h.one,b-192),a)];if(b>=128)return[c,e,d("LSBitFlag").set((h||(h=d("I64"))).lsl_(h.one,b-128),f),a];return b>=64?[c,d("LSBitFlag").set((h||(h=d("I64"))).lsl_(h.one,b-64),e),f,a]:[d("LSBitFlag").set((h||(h=d("I64"))).lsl_(h.one,b),c),e,f,a]},[b,c,e,f])}function e(a,b,c,e,f){return a.reduce(function(a,b){var c=a[0],e=a[1],f=a[2];a=a[3];if(b>=192)return[c,e,f,d("LSBitFlag").clear((h||(h=d("I64"))).lsl_(h.one,b-192),a)];if(b>=128)return[c,e,d("LSBitFlag").clear((h||(h=d("I64"))).lsl_(h.one,b-128),f),a];return b>=64?[c,d("LSBitFlag").clear((h||(h=d("I64"))).lsl_(h.one,b-64),e),f,a]:[d("LSBitFlag").clear((h||(h=d("I64"))).lsl_(h.one,b),c),e,f,a]},[b,c,e,f])}g.threadCapabilityFields=f;g.MAX_SUPPORTED_THREAD_CAPABILITY=i;g.has=a;g.set=b;g.clear=e;g.empty=(h||(h=d("I64"))).zero}),98); __d("MessagingThreadSubtype",[],(function(a,b,c,d,e,f){a=Object.freeze({ADMIN_MODEL_V2_THREAD:1,FB_GROUP_CHAT:2,MARKETPLACE_THREAD:3,SCHOOL_CHAT:4,DEPRECATED__WORK_SYNCED_CHAT:5,ADMIN_NOT_SUPPORTED_THREAD:6,BELL_SYNCED_CHAT:7,GAMES_APP_THREAD:8,VAULT_CHAT:9,VERSE_CHAT:10,GENERIC_COMMERCE_THREAD:11,USER_JOB_THREAD:12,COWORKER_GROUP_THREAD:13,APPROVAL_ENFORCED_CHATROOM_THREAD:14,PARENT_APPROVED_SHEPHERD_MANAGED_THREAD:15,CAMPUS_GROUP_THREAD:16,LOCAL_COMMUNITIES_THREAD:17,CHAT_FOR_ROOM_THREAD:18,GAMING_PLAY_SQUAD:19,CHAT_FOR_GROUP_ADMIN_TO_MEMBER_THREAD:20,EITM_BACKED_IG_1TO1_THREAD:21,LEARNING_SPACE:23,E2EE_GROUP_THREAD_METADATA:24,IGD_BC_PARTNERSHIP:25,E2EE_1TO1_THREAD_METADATA:26,JOBS_CAREER_GROUP_THREAD:27,IG_CREATOR_SUBSCRIBER_GROUP_THREAD:28,IG_CREATOR_SUBSCRIBER_BROADCAST_CHAT:29,BUSINESS_SUPPORT_THREAD:30,TAGGED_PII_DATA:31,IG_DISCOVERABLE_CHAT_THREAD:32,SUPPORT_MESSAGING_THREAD:33,DISCOVERABLE_PUBLIC_CHAT:34,DISCOVERABLE_PUBLIC_BROADCAST_CHAT:35,DISCOVERABLE_PUBLIC_CHAT_V2:36,IG_DISCOVERABLE_CHAT_THREAD_V2:37,OCULUS_MEDIA_MESSAGING:38,WORK_CHAT_THREAD_CENTRIC:39,COMMUNITY_MESSAGING_PUBLIC_THREAD:40,COMMUNITY_MESSAGING_PRIVATE_THREAD:41,COMMUNITY_MESSAGING_ADMOD_THREAD:42,COMMUNITY_MESSAGING_BROADCAST_THREAD:43,IG_E2EE_GROUP_THREAD_METADATA:44,IG_NFT_BROADCAST_CHAT:45,STANDALONE_COMMUNITY_STANDARD_THREAD:46,IGD_GROUP:47,WORKCHAT_GROUP_THREAD:48,WORKROOM_GROUP_THREAD:49,OCULUS_GROUP_THREAD:50,INTEROP_GROUP:51,IG_BTV_E2EE_1TO1_THREAD_METADATA:52,COMMUNITY_MESSAGING_HELPER_BOT_THREAD:53,COMMUNITY_MESSAGING_SUB_THREAD:54,IG_GROUP_PROFILES:55,IG_PRIVATE_EVENT:56,WA_GENAI_BOT_MAILBOX_THREAD:57,MESSENGER_GENAI_BOT_MAILBOX_THREAD:58,IG_GENAI_BOT_MAILBOX_THREAD:59,E2EE_COMMUNITY_CHAT_METADATA:60,IG_SUBSCRIBER_SOCIAL_CHANNEL:61,IG_SOCIAL_CHANNEL:62,GENERIC_GENAI_BOT_MAILBOX_THREAD:63,ONE_TO_ONE:1001,PARENT_APPROVED_ONE_TO_ONE:1002,IG_ONLY_ONE_TO_ONE:1003,INTEROP_ONE_TO_ONE:1004,WHATSAPP_ONE_TO_ONE:1005,WORKCHAT_ONE_TO_ONE:1006,OC_PROXY_ONE_TO_ONE:1007,MARKETPLACE_ASSISTANT_ONE_TO_ONE:1008,PAGE_TO_USER:1009,PAGE_TO_PAGE:1010,MESSENGER_AI_BOT_ONE_TO_ONE:1011,IG_AI_BOT_ONE_TO_ONE:1012,IG_CREATOR_AGENT_SANDBOX:1013,OCULUS:2001});f["default"]=a}),66); __d("LSMessagingThreadTypeUtil",["I64","LSIntEnum","LSMessageThreadUnsendabilityStatus","LSThreadBitOffset","MWCMIsAnyCMThread","MessagingThreadSubtype","MetaConfig"],(function(a,b,c,d,e,f,g){"use strict";var h,i;function a(a){return(h||(h=d("I64"))).equal(a,(i||(i=d("LSIntEnum"))).ofNumber(2))||(h||(h=d("I64"))).equal(a,(i||(i=d("LSIntEnum"))).ofNumber(8))||(h||(h=d("I64"))).equal(a,(i||(i=d("LSIntEnum"))).ofNumber(16))||(h||(h=d("I64"))).equal(a,(i||(i=d("LSIntEnum"))).ofNumber(5))||c("MWCMIsAnyCMThread")(a)||(h||(h=d("I64"))).equal(a,(i||(i=d("LSIntEnum"))).ofNumber(3))||(h||(h=d("I64"))).equal(a,(i||(i=d("LSIntEnum"))).ofNumber(150))||(h||(h=d("I64"))).equal(a,(i||(i=d("LSIntEnum"))).ofNumber(151))||(h||(h=d("I64"))).equal(a,(i||(i=d("LSIntEnum"))).ofNumber(154))||(h||(h=d("I64"))).equal(a,(i||(i=d("LSIntEnum"))).ofNumber(155))||(h||(h=d("I64"))).equal(a,(i||(i=d("LSIntEnum"))).ofNumber(152))||(h||(h=d("I64"))).equal(a,(i||(i=d("LSIntEnum"))).ofNumber(153))||(h||(h=d("I64"))).equal(a,(i||(i=d("LSIntEnum"))).ofNumber(26))}function j(a){return(h||(h=d("I64"))).equal(a,(i||(i=d("LSIntEnum"))).ofNumber(1))||(h||(h=d("I64"))).equal(a,(i||(i=d("LSIntEnum"))).ofNumber(7))||(h||(h=d("I64"))).equal(a,(i||(i=d("LSIntEnum"))).ofNumber(10))||(h||(h=d("I64"))).equal(a,(i||(i=d("LSIntEnum"))).ofNumber(13))||(h||(h=d("I64"))).equal(a,(i||(i=d("LSIntEnum"))).ofNumber(201))}function b(a){return j(a)||(h||(h=d("I64"))).equal(a,(i||(i=d("LSIntEnum"))).ofNumber(15))}function k(a){return(h||(h=d("I64"))).equal(a,(i||(i=d("LSIntEnum"))).ofNumber(15))||(h||(h=d("I64"))).equal(a,(i||(i=d("LSIntEnum"))).ofNumber(16))}function e(a){return(h||(h=d("I64"))).equal(a,(i||(i=d("LSIntEnum"))).ofNumber(15))||(h||(h=d("I64"))).equal(a,(i||(i=d("LSIntEnum"))).ofNumber(16))||(h||(h=d("I64"))).equal(a,(i||(i=d("LSIntEnum"))).ofNumber(1))||(h||(h=d("I64"))).equal(a,(i||(i=d("LSIntEnum"))).ofNumber(201))||(h||(h=d("I64"))).equal(a,(i||(i=d("LSIntEnum"))).ofNumber(2))}function f(a){return a==="e2ee_cutover"||a==="inbox"}function l(a,b){b===void 0&&(b=!0);return!b&&(h||(h=d("I64"))).equal(a.parentThreadKey,(i||(i=d("LSIntEnum"))).ofNumber(0))?!1:d("LSThreadBitOffset").has(21,a)}function m(a){return l(a,!1)}function n(a){return(h||(h=d("I64"))).equal(a.parentThreadKey,(i||(i=d("LSIntEnum"))).ofNumber(-3))}function o(a){return a==null?!1:(h||(h=d("I64"))).equal(a,(i||(i=d("LSIntEnum"))).ofNumber(c("MessagingThreadSubtype").BUSINESS_SUPPORT_THREAD))||(h||(h=d("I64"))).equal(a,(i||(i=d("LSIntEnum"))).ofNumber(c("MessagingThreadSubtype").SUPPORT_MESSAGING_THREAD))}function p(a){var b=(h||(h=d("I64"))).equal(a.threadType,(i||(i=d("LSIntEnum"))).ofNumber(2)),c=(h||(h=d("I64"))).equal(a.threadType,(i||(i=d("LSIntEnum"))).ofNumber(1))&&!J(a);return!o(a.threadSubtype)&&(b||c)}function q(a){return a==null?!1:(h||(h=d("I64"))).equal(a,(i||(i=d("LSIntEnum"))).ofNumber(c("MessagingThreadSubtype").PAGE_TO_USER))}function r(a){return(h||(h=d("I64"))).equal(a,(i||(i=d("LSIntEnum"))).ofNumber(150))||(h||(h=d("I64"))).equal(a,(i||(i=d("LSIntEnum"))).ofNumber(154))&&c("MetaConfig")._("36")}function s(a){return(u(a)||v(a))&&c("MetaConfig")._("32")}function t(a){return(u(a)||v(a))&&!c("MetaConfig")._("32")}function u(a){return(h||(h=d("I64"))).equal(a,(i||(i=d("LSIntEnum"))).ofNumber(152))}function v(a){return(h||(h=d("I64"))).equal(a,(i||(i=d("LSIntEnum"))).ofNumber(153))}function w(a){return((h||(h=d("I64"))).equal(a,(i||(i=d("LSIntEnum"))).ofNumber(155))||(h||(h=d("I64"))).equal(a,(i||(i=d("LSIntEnum"))).ofNumber(154)))&&c("MetaConfig")._("36")}function x(a){return(h||(h=d("I64"))).equal(a,(i||(i=d("LSIntEnum"))).ofNumber(154))&&c("MetaConfig")._("36")}function y(a){return a==null?!1:(h||(h=d("I64"))).equal(a,(i||(i=d("LSIntEnum"))).ofNumber(150))||(h||(h=d("I64"))).equal(a,(i||(i=d("LSIntEnum"))).ofNumber(154))}function z(a){return y(a)||s(a)}function A(a){return(h||(h=d("I64"))).equal(a,(i||(i=d("LSIntEnum"))).ofNumber(26))}function B(a){return(h||(h=d("I64"))).equal(a,(i||(i=d("LSIntEnum"))).ofNumber(17))}function C(a){return(h||(h=d("I64"))).equal(a,(i||(i=d("LSIntEnum"))).ofNumber(19))}function D(a){return a==null?!1:(h||(h=d("I64"))).equal(a,(i||(i=d("LSIntEnum"))).ofNumber(151))||(h||(h=d("I64"))).equal(a,(i||(i=d("LSIntEnum"))).ofNumber(155))}function E(a){return a==null?!1:D(a)||v(a)}function F(a){return(h||(h=d("I64"))).equal(a,(i||(i=d("LSIntEnum"))).ofNumber(201))}function G(a){return d("LSThreadBitOffset").has(183,a)}function H(a){return k(a)||(h||(h=d("I64"))).equal(a,(i||(i=d("LSIntEnum"))).ofNumber(1))||(h||(h=d("I64"))).equal(a,(i||(i=d("LSIntEnum"))).ofNumber(2))||(h||(h=d("I64"))).equal(a,(i||(i=d("LSIntEnum"))).ofNumber(3))||(h||(h=d("I64"))).equal(a,(i||(i=d("LSIntEnum"))).ofNumber(4))||(h||(h=d("I64"))).equal(a,(i||(i=d("LSIntEnum"))).ofNumber(5))||(h||(h=d("I64"))).equal(a,(i||(i=d("LSIntEnum"))).ofNumber(6))||(h||(h=d("I64"))).equal(a,(i||(i=d("LSIntEnum"))).ofNumber(10))||(h||(h=d("I64"))).equal(a,(i||(i=d("LSIntEnum"))).ofNumber(11))}function I(a){return z(a)||D(a)||v(a)||c("MWCMIsAnyCMThread")(a)||(h||(h=d("I64"))).equal(a,(i||(i=d("LSIntEnum"))).ofNumber(17))||A(a)}function J(a){return(h||(h=d("I64"))).equal(a.threadType,(i||(i=d("LSIntEnum"))).ofNumber(1))&&a.cannotUnsendReason!=null&&(h||(h=d("I64"))).equal(a.cannotUnsendReason,(i||(i=d("LSIntEnum"))).ofNumber(c("LSMessageThreadUnsendabilityStatus").DENY_IF_PAGE_THREAD))}function K(a){return a!=null&&((h||(h=d("I64"))).equal(a,(i||(i=d("LSIntEnum"))).ofNumber(c("MessagingThreadSubtype").WORKCHAT_GROUP_THREAD))||(h||(h=d("I64"))).equal(a,(i||(i=d("LSIntEnum"))).ofNumber(c("MessagingThreadSubtype").WORKROOM_GROUP_THREAD))||(h||(h=d("I64"))).equal(a,(i||(i=d("LSIntEnum"))).ofNumber(c("MessagingThreadSubtype").WORKCHAT_ONE_TO_ONE)))}g.isGroup=a;g.isOpenOneToOne=j;g.isOneToOne=b;g.isSecure=k;g.isRecentsSectionAllowedTypes=e;g.isMessengerOrE2EEInbox=f;g.isMessageRequest=l;g.isIGDMessageRequest=m;g.isHiddenRequest=n;g.isBusinessSupportThread=o;g.isOpenFnFThread=p;g.isPageToUserThread=q;g.isJoinedSocialChannel=r;g.isDiscoverablePublicBroadcastChannel=s;g.isDiscoverablePublicBroadcastChannelWithNoAccessibility=t;g.isJoinedDiscoverablePublicBroadcastChannel=u;g.isUnjoinedDiscoverablePublicBroadcastChannel=v;g.isSocialChannelV2=w;g.isJoinedSocialChannelV2=x;g.isSocialChannel=y;g.isDiscoverableChannel=z;g.isCMSubthread=A;g.isCMFolder=B;g.isCMGroupUnjoined=C;g.isSocialChannelUnjoined=D;g.isChannelPreview=E;g.isAiBot=F;g.isAiBotSummoning=G;g.isPrivateThread=H;g.isPublicCMThread=I;g.isThreadForPage=J;g.isWorkThread=K}),98); __d("MAWThreadId",["I64","LSMessagingThreadTypeUtil","ODS","ReQL","WALogger","asyncToGeneratorRuntime","recoverableViolation","unrecoverableViolation"],(function(a,b,c,d,e,f,g){"use strict";var h,i;function a(a,b){return j.apply(this,arguments)}function j(){j=b("asyncToGeneratorRuntime").asyncToGenerator(function*(a,b){a=(yield d("ReQL").firstAsync(d("ReQL").fromTableAscending(a.table("mi_act_mapping_table").index("chat_id")).getKeyRange((h||(h=d("I64"))).of_int32(b))));if(a!=null)return a.serverThreadKey;throw c("unrecoverableViolation")("Tried to convert a rowId to thread key but couldn't find a\n corresponding row in the mapping table. This can mean that\n there is a race condition between the time a thread was created\n on the WA backend, and the time it was inserted into the mapping table.\n i.e. this function is called before the fn that inserts the mapping\n into the mapping table","messenger_web_product")});return j.apply(this,arguments)}var k=new Set();function e(a,b){return l.apply(this,arguments)}function l(){l=b("asyncToGeneratorRuntime").asyncToGenerator(function*(a,b){a=(yield d("ReQL").firstAsync(d("ReQL").fromTableAscending(a.table("mi_act_mapping_table").index("chat_id")).getKeyRange((h||(h=d("I64"))).of_int32(b))));if(a!=null){k["delete"](b);return a.serverThreadKey}k.has(b)||(d("WALogger").LOG(["[Occamadillo] Thread id: "+b.toString()+" is not yet in miActMapping table."]),(i||(i=d("ODS"))).bumpEntityKey(5765,"thread_not_in_miActMapping","[Occamadillo] Thread id: "+b.toString()+" is not yet in miActMapping table."),k.add(b));return});return l.apply(this,arguments)}function f(a){c("recoverableViolation")("Checking if a threadKey is a secure thread key in Occamadillo. We should be\n checking the thread's thread type instead","messenger_web_product");return!1}function m(a,b){return n.apply(this,arguments)}function n(){n=b("asyncToGeneratorRuntime").asyncToGenerator(function*(a,b){a=(yield d("ReQL").firstAsync(d("ReQL").fromTableAscending(a.table("threads")).getKeyRange(b)));if(a==null)return;return a.threadType});return n.apply(this,arguments)}function o(a,b){return p.apply(this,arguments)}function p(){p=b("asyncToGeneratorRuntime").asyncToGenerator(function*(a,b){a=(yield m(a,b));return a==null?!1:d("LSMessagingThreadTypeUtil").isSecure(a)});return p.apply(this,arguments)}function q(a,b){return d("ReQL").firstAsync(d("ReQL").fromTableAscending(a.table("threads")).getKeyRange(b))}g.toThreadKey_DEPRECATED=a;g.toThreadKeyMaybe_DEPRECATED=e;g.isThreadId=f;g.isSecureThreadId=o;g.getThreadFromJid=q}),98); __d("MWChatLogOpenChatTab",["MessengerWebEntryPointsUtil","MessengerWebEventsFalcoEvent","ODS"],(function(a,b,c,d,e,f,g){"use strict";var h,i={};function a(a,b,e){a===void 0&&(a=!1);(h||(h=d("ODS"))).bumpEntityKey(3185,"mwchat_tab","open_user");var f=d("MessengerWebEntryPointsUtil").cast(e);i[b]=f;return c("MessengerWebEventsFalcoEvent").log(function(){return{entry_point:f,event_name:"open_chat_tab",is_secured:a,other_user_fbid:a?null:b}})}function b(a,b,e){a===void 0&&(a=!1);(h||(h=d("ODS"))).bumpEntityKey(3185,"mwchat_tab","open_group");var f=d("MessengerWebEntryPointsUtil").cast(e);i[b]=f;return c("MessengerWebEventsFalcoEvent").log(function(){return{entry_point:f,event_name:"open_chat_tab",is_secured:a,thread_fbid:a?null:b}})}function e(a,b,e){a===void 0&&(a=!1);(h||(h=d("ODS"))).bumpEntityKey(3185,"mwchat_tab","open_page");var f=d("MessengerWebEntryPointsUtil").cast(e);i[b]=f;return c("MessengerWebEventsFalcoEvent").log(function(){return{entry_point:f,event_name:"open_chat_tab",is_secured:a,other_user_fbid:a?null:b}})}g.logOpenUserTab=a;g.logOpenGroupTab=b;g.logOpenPageTab=e}),98); __d("MWCMGetGroupId",["I64","LSDatabaseSingleton","MWCMIsCMSubthread","ReQL","asyncToGeneratorRuntime"],(function(a,b,c,d,e,f,g){"use strict";var h,i;function a(a){return j.apply(this,arguments)}function j(){j=b("asyncToGeneratorRuntime").asyncToGenerator(function*(a){var b=(yield i||(i=c("LSDatabaseSingleton")));a=(yield d("ReQL").firstAsync(d("ReQL").fromTableAscending(b.table("threads")).getKeyRange((h||(h=d("I64"))).of_string(a))));if(a!=null){b=(yield d("ReQL").firstAsync(d("ReQL").fromTableAscending(b.table("community_folders")).getKeyRange(c("MWCMIsCMSubthread")(a.threadType)&&a.secondaryParentThreadKey!=null?a.secondaryParentThreadKey:a.parentThreadKey)));if(b)return(h||(h=d("I64"))).to_string(b.fbGroupId)}});return j.apply(this,arguments)}g["default"]=a}),98); __d("MWGetThreadAsync",["LSDatabaseSingleton","ReQL","asyncToGeneratorRuntime"],(function(a,b,c,d,e,f,g){"use strict";var h;function a(a){return(h||(h=c("LSDatabaseSingleton"))).then(function(){var c=b("asyncToGeneratorRuntime").asyncToGenerator(function*(b){b=(yield d("ReQL").firstAsync(d("ReQL").fromTableAscending(b.table("threads")).getKeyRange(a)));return b});return function(a){return c.apply(this,arguments)}}())}g["default"]=a}),98); __d("MWEncryptedBackupsLocalStorageEntryEnum",["$InternalEnum"],(function(a,b,c,d,e,f){"use strict";a=b("$InternalEnum")({INTERSTITIAL_DIALOG_VERIFY_DEVICE_NUX_DISMISSED:"maw_eb_interstitial_dialog_verify_device_nux_dismissed",VERIFY_DEVICE_NUX_DISMISSED:"maw_eb_verify_device_in_thread_nux_dismissed",ENCRYPTED_BACKUPS_OPT_OUT:"maw_encrypted_backups_opt_out",MW_ENCRYPTED_BACKUPS_USER_CLICKED_ON_SETTINGS:"mw_encrypted_backups_user_clicked_on_settings",MW_ENCRYPTED_BACKUPS_HIGH_FRICTION_RESTORE_DISMISSED:"mw_encrypted_backups_high_friction_restore__dismissed",ENCRYPTED_BACKUPS_TURN_OFF_SECURE_STORAGE:"mw_encrypted_backups_turn_off_secure_storage",ENCRYPTED_BACKUPS_REMEMBER_BROWSER_CONSENT:"mw_encrypted_backups_remember_browser_consent",ENCRYPTED_BACKUPS_RESTORED_SUCCESSFULLY:"maw_eb_restored_successfully",ENCRYPTED_BACKUPS_ONBOARDED_SUCCESSFULLY:"maw_eb_onboarded_successfully",EB_ONBOARDING_DEFER_UPSELL_UNTIL_TIME:"mw_eb_onboarding_defer_upsell_until_time",EB_ONBOARDING_QP_DISMISSED:"mw_eb_onboarding_qp_dismissed"});c=a;f["default"]=c}),66); __d("getMWEncryptedBackupsIsLocalStorageSupported",["FBLogger","WebStorage"],(function(a,b,c,d,e,f,g){"use strict";var h;function a(){if((h||(h=c("WebStorage"))).getLocalStorage()==null){c("FBLogger")("labyrinth_web").warn("Local storage not supported");return!1}if((h||(h=c("WebStorage"))).isLocalStorageQuotaExceeded()){c("FBLogger")("labyrinth_web").warn("Local storage quota exceeded");return!1}return!0}g.getMWEncryptedBackupsIsLocalStorageSupported=a}),98); __d("MWEncryptedBackupsSharedState",["WebStorage","getMWEncryptedBackupsIsLocalStorageSupported","promiseDone"],(function(a,b,c,d,e,f,g){"use strict";var h;function i(a){var b=a.db,c=a.stateKey;a=a.stateValue;var d=a===void 0?"true":a;return b.runInTransaction(function(a){return a.table("experiences_shared_state").upsert([c],{stateKey:c,stateValue:d})},"readwrite","background")}function j(a){var b,e=a.db;a=a.stateKey;if(!d("getMWEncryptedBackupsIsLocalStorageSupported").getMWEncryptedBackupsIsLocalStorageSupported())return;b=(b=(h||(h=c("WebStorage"))).getLocalStorageForRead())==null?void 0:b.getItem(a);if(b!=null){var f;(f=(h||(h=c("WebStorage"))).getLocalStorage())==null?void 0:f.removeItem(a);c("promiseDone")(i({db:e,stateKey:a,stateValue:b}))}return b}function a(a){var b=a.db,c=a.sharedStateTable,d=a.stateKey;a=c.filter(function(a){return a.stateKey===d});if(a.length===0){c=j({db:b,stateKey:d});return c!=null}return!0}function b(a){var b=a.db,c=a.sharedStateTable,d=a.stateKey;a=c.filter(function(a){return a.stateKey===d});c=a[0];return(c==null?void 0:c.stateValue)!=null?c.stateValue:j({db:b,stateKey:d})}function e(a){var b=a.db,c=a.sharedStateRow;a=a.stateKey;return c==null?j({db:b,stateKey:a}):c.stateValue}function f(a){var b=a.db,c=a.stateKey;return b.runInTransaction(function(a){return a.table("experiences_shared_state")["delete"](c)},"readwrite","background")}g.upsertEBSharedStateEntry=i;g.getEntryPresentInLocalStorage=j;g.getIsEntryPresentInSharedState=a;g.getEntryValueFromSharedState=b;g.getEntryValue=e;g.deleteEntry=f}),98); __d("MessengerWebTimeSpentFalcoEvent",["FalcoLoggerInternal","getFalcoLogPolicy_DO_NOT_USE"],(function(a,b,c,d,e,f,g){"use strict";a=c("getFalcoLogPolicy_DO_NOT_USE")("3849");b=d("FalcoLoggerInternal").create("messenger_web_time_spent",a);e=b;g["default"]=e}),98); __d("ServerJsRuntimeEnvironment",["invariant"],(function(a,b,c,d,e,f,g,h){"use strict";var i;function a(a,b){i==null||h(0,71696),i={platform:a,executionContext:b}}function b(){return i!=null}function c(){var a;return(a=i)==null?void 0:a.executionContext}function d(){var a;return(a=i)==null?void 0:a.platform}g.init=a;g.isRunningServerJsRuntime=b;g.getExecutionContext=c;g.getPlatform=d}),98); __d("MWLSThreadDisplayContext",["react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||(h=d("react")),j=h.useContext,k=i.createContext();function a(a){var b=a.children;a=a.value;return i.jsx(k.Provider,{value:a,children:b})}a.displayName=a.name+" [from "+f.id+"]";function b(){return j(k)}g.MWLSThreadDisplayContextProvider=a;g.useMWLSThreadDisplayContext=b}),98); __d("MWPreloadableQueries",["I64","ReQL","promiseDone"],(function(a,b,c,d,e,f,g){"use strict";var h;b=function(a,b){return d("ReQL").fromTableAscending(a.table("thread_nullstate")).getKeyRange(b)};e=function(a,b){return d("ReQL").fromTableAscending(a.table("thread_nullstate_ctas").index("threadKeyCtaId")).getKeyRange(b)};f=function(a,b){return d("ReQL").fromTableAscending(a.table("cutover_threads")).getKeyRange(b)};var i=function(a,b){return d("ReQL").fromTableDescending(a.table("messages")).getKeyRange(b).take(6)},j=function(a,b,e){return e.forEach(function(e){var f;c("promiseDone")((f=d("ReQL")).toArrayAsync(f.fromTableDescending(a.table("reactions")).getKeyRange(b,e.messageId)));c("promiseDone")(f.toArrayAsync(f.fromTableDescending(a.table("reactions_v2")).getKeyRange(b,e.messageId)));c("promiseDone")(f.toArrayAsync(f.fromTableDescending(a.table("attachments")).getKeyRange(b,e.messageId)))})},k=function(a,b){return d("ReQL").fromTableAscending(a.table("community_folders")).getKeyRange(b)},l=function(a,b){return d("ReQL").firstAsync(d("ReQL").fromTableDescending(a.table("threads")).getKeyRange(b)).then(function(b){(b==null?void 0:b.parentThreadKey)!=null&&k(a,b.parentThreadKey)})},m=function(a,b){return d("ReQL").fromTableAscending(a.table("thread_proactive_warning_settings")).getKeyRange(b)},n=function(a,b){return d("ReQL").fromTableAscending(a.table("in_thread_banner")).getKeyRange(b)};function a(a,b){return d("ReQL").fromTableAscending(a.table("media_staging")).filter(function(a){return!a.isSent&&(h||(h=d("I64"))).equal(a.threadKey,b)})}g.threadNullStateQuery=b;g.threadNullStateCtaQuery=e;g.getCutoverThreadByThreadKey=f;g.getMostRecentMessagesInThread=i;g.getReactionsForMessages=j;g.getCommunityFolderQuery=k;g.getCommunityFolderForThreadParentQuery=l;g.getProactiveWarningsForThreadQuery=m;g.getThreadBannerQuery=n;g.getMediaStagingQuery=a}),98); __d("SortedAsyncIterable",["PromiseAnnotate","PromiseOrValue","ReQLGlobalQueryContext","isPromise"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j,k;function l(a){var b;if((i||(i=d("ReQLGlobalQueryContext"))).globalQueryContext.contents==null){var c=new WeakMap();(i||(i=d("ReQLGlobalQueryContext"))).globalQueryContext.contents=c;return c}c=(i||(i=d("ReQLGlobalQueryContext"))).globalQueryContext.contents;(b=(i||(i=d("ReQLGlobalQueryContext"))).getDependencies(c))==null?void 0:b.push(a);return c}function a(a){var b=[],e=a.iterator(l(a)),f=(k||(k=d("PromiseOrValue"))).loop(function(){return(k||(k=d("PromiseOrValue"))).map(e.next(),function(a){if(a.done)return{action:"break",value:b};b.push(a.value);return{action:"continue",value:void 0}})});return(h||(h=c("isPromise")))(f)?(j||(j=d("PromiseAnnotate"))).setDisplayName(f,"ReQL"+(a.uniqueId!=null?"_"+a.uniqueId:"")):f}g.getOrCreateContext=l;g.toArray=a}),98); __d("shallowEqualI64",["I64"],(function(a,b,c,d,e,f,g){"use strict";var h;function i(a){return Array.isArray(a)&&a.length===2&&Number.isInteger(a[0])&&Number.isInteger(a[1])}function j(a,b){if(a===b)return!0;return i(a)&&i(b)?(h||(h=d("I64"))).equal(a,b):!1}function a(a,b){return k(a,b,j)}function k(a,b,c){c===void 0&&(c=function(a,b){return a===b});if(c(a,b))return!0;if(typeof a!=="object"||a===null||typeof b!=="object"||b===null)return!1;var d=Object.keys(a),e=Object.keys(b);if(d.length!==e.length)return!1;for(e=0;e=a.length)break;e=a[d++]}else{d=a.next();if(d.done)break;e=d.value}e=e;Array.isArray(e)&&e.length===2&&Number.isInteger(e[0])&&Number.isInteger(e[1])?b.push(e[0],e[1]):b.push(e,void 0)}return b}function x(a){var b=arguments[1];return v(d("SortedAsyncIterable").toArray(a),b).map(function(a){a[0];a=a[1];return a})}function y(a){var b=arguments[1];return x(d("ReQL").prototype.take.call(a,1),b)[0]}function a(a){var b=arguments[1],d=y(a,b);if(d==null)throw c("FBLogger")("messenger_web").mustfixThrow("expected result");return d}function z(a,b){var c=!1;for(var e=0;ea.muteStartTimeInSec?{muteEndTimeInSec:a.muteEndTimeInSec,muteStartTimeInSec:a.muteStartTimeInSec}:null}).filter(Boolean);return{audioAvailability:b,mutedSegments:a}}function b(a,b){var d=a.audioAvailability;a=a.mutedSegments;var e=b.playheadPosition,f;b=!1;var g=!1;switch(d){case"AVAILABLE_BUT_MUTED":a.length>0?(b=e!=null&&a.some(function(a){return a.muteStartTimeInSec<=e&&e<=a.muteEndTimeInSec}),b?(f="VOLUME_COPYRIGHT_PARTIAL_SILENCED",g=!0):f="VOLUME_COPYRIGHT_PARTIAL_NOT_SILENCED"):(f="VOLUME_COPYRIGHT_FULL",g=!0);break;case"AVAILABLE_BUT_SILENT":case"UNAVAILABLE":f="VOLUME_SILENT";g=!0;break;case"AVAILABLE":case"UNKNOWN":case"AVAILABLE_BUT_MISSING_LOUDNESS_DATA":case null:case void 0:f="VOLUME_DEFAULT";break;default:c("recoverableViolation")("Unhandled audio availability: "+d,"comet_video_player");f="VOLUME_DEFAULT";break}return{isPlayheadWithinMutedSegment:b,isSilentAtPlayhead:g,volumeControlState:f}}d=a({audioAvailability:null,mutedSegmentsUnsanitized:[]});g.makeVideoPlayerAudioAvailabilityInfo=a;g.makeVideoPlayerAudioAvailabilityAtPlayheadInfo=b;g.VideoPlayerAudioAvailabilityInfoDefault=d}),98); __d("VideoPlayerContexts",["VideoPlayerAudioAvailabilityInfo","react"],(function(a,b,c,d,e,f,g){"use strict";var h;a=(h||d("react")).createContext;b=a(null);c=a(!1);e=a("");f=a(null);var i=a(0),j=a(0),k=a(!1),l=a(!1),m=a(!0),n=a(!1),o=a(!1),p=a(null),q=a(!1),r=a(!1),s=a(null),t=a(null),u=a(null),v=a(null),w=a([]),x=a("notselected"),y=a([]),z=a(null),A=a(null),B=a(""),C=a(null),D=a(!1),E=a(!1),F=a(null),G=a(1),H=a(!1),I=a(0),J=a(0),K=a(null),L=a(null),M=a(null),N=a(null),O=a(!1),P=a(!1),Q=a(null),R=a("deny"),S=a(null),T=a("unknown"),U=a(!1),V=a(!1),W=a({release:function(a){},reserve:function(a){return a}}),X=a([]),Y=a(!1),Z=a(0),$=a(0),aa=a(null),ba=a(!1);d=a(d("VideoPlayerAudioAvailabilityInfo").VideoPlayerAudioAvailabilityInfoDefault);var ca=a(1),da=a(!1),ea=a(!1),fa=a(null),ga=a("normal");a=a([]);g.VideoFBIDContext=b;g.IsAbrEnabledContext=c;g.TargetVideoQualityContext=e;g.AdClientTokenContext=f;g.LoopCountContext=i;g.LoopCurrentContext=j;g.PlayingContext=k;g.StallingContext=l;g.PausedContext=m;g.EndedContext=n;g.InPlayStallingContext=o;g.ErrorContext=p;g.IsLiveContext=q;g.SeekingContext=r;g.ControllerContext=s;g.LastMuteReasonContext=t;g.LastPlayReasonContext=u;g.LastPauseReasonContext=v;g.AvailableVideoQualitiesContext=w;g.SelectedVideoQualityContext=x;g.AvailableAudioTracksContext=y;g.SelectedAudioTrackIDContext=z;g.CurrentAudioTrackIDContext=A;g.CurrentVideoQualityContext=B;g.ActiveCaptionsContext=C;g.CaptionsVisibleContext=D;g.CaptionsLoadedContext=E;g.CaptionDisplayStyleContext=F;g.VolumeContext=G;g.MutedContext=H;g.DurationContext=I;g.BufferEndContext=J;g.InstanceKeyContext=K;g.VideoPixelsAspectRatioContext=L;g.DimensionsContext=M;g.PlayerVersionContext=N;g.VideoPlayerMouseHoverContext=O;g.VideoPlayerMouseIdleContext=P;g.BroadcastStatusContext=Q;g.CanAutoplayContext=R;g.VolumeSettingContext=S;g.AutoplayGatingResultContext=T;g.InbandCaptionsAutogeneratedContext=U;g.IsExternalMediaContext=V;g.VideoPlayerCaptionsReservationActionsContext=W;g.VideoPlayerCaptionsReservationsContext=X;g.StreamInterruptedContext=Y;g.WatchTimeContext=Z;g.LastPlayedTimeContext=$;g.SeekableRangesContext=aa;g.IsLiveRewindActiveContext=ba;g.AudioAvailabilityInfoContext=d;g.PlaybackRateContext=ca;g.IsNCSRContext=da;g.IsPremiumMusicVideoContext=ea;g.InitialTracePolicyContext=fa;g.LatencyLevelContext=ga;g.ActiveEmsgBoxesContext=a}),98); __d("VideoPlayerVideoPixelsFitContext",["react"],(function(a,b,c,d,e,f,g){"use strict";var h;a=(h||d("react")).createContext;b=a(null);c=b;g["default"]=c}),98); __d("VideoPlayerViewabilityContexts",["react"],(function(a,b,c,d,e,f,g){"use strict";var h;a=(h||d("react")).createContext;b=a(null);c=a(!1);e=a(!1);f=a(null);g.VideoPlayerPassiveViewabilityInfoContext=b;g.VideoPlayerDesktopPictureInPictureContext=c;g.VideoPlayerFullscreenContext=e;g.VideoPlayerExtendedPassiveViewabilityInfoContext=f}),98); __d("VideoPlayerHooks",["DOMRectIsEqual","VideoPlayerContexts","VideoPlayerVideoPixelsFitContext","VideoPlayerViewabilityContexts","clearTimeout","react","removeFromArray","setTimeout","unrecoverableViolation","useStable"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=h||d("react"),k=j.useContext,l=j.useEffect,m=j.useRef,n=j.useState;function a(a){var b=m(a);l(function(){b.current=a},[a]);return b}function o(){var a=k((i||(i=d("VideoPlayerContexts"))).ControllerContext);if(a==null)throw c("unrecoverableViolation")("Empty ControllerContext. Are you rendering useController outside of VideoPlayerRelay/VideoPlayerX?","comet_video_player");return a}function b(){var a=k((i||(i=d("VideoPlayerContexts"))).InstanceKeyContext);if(a==null)throw c("unrecoverableViolation")("Empty InstanceKeyContext. Are you rendering useInstanceKey outside of VideoPlayerRelay/VideoPlayerX?","comet_video_player");return a}function p(){var a=T();return a==="LIVE"}function e(){var a=T();return a==="LIVE"||a==="VOD_READY"}function f(){return k((i||(i=d("VideoPlayerContexts"))).BufferEndContext)}function q(){return k((i||(i=d("VideoPlayerContexts"))).DurationContext)}function r(){return k((i||(i=d("VideoPlayerContexts"))).SeekingContext)}function s(){return k((i||(i=d("VideoPlayerContexts"))).EndedContext)}function t(){return k((i||(i=d("VideoPlayerContexts"))).ErrorContext)}function u(){return k((i||(i=d("VideoPlayerContexts"))).PlayingContext)}function v(){var a=n(0),b=a[0],c=a[1],d=o();l(function(){var a=d.subscribe(function(){c(d.getPlayheadPosition())});c(d.getPlayheadPosition());return function(){return a.remove()}},[d]);return b}function w(a,b){var d=n(0),e=d[0],f=d[1],g=o(),h=m(null),i=m(e);l(function(){var d=g.subscribe(function(){i.current=b?b(g):g.getPlayheadPosition();if(h.current!=null)return;h.current=c("setTimeout")(function(){f(i.current),h.current=null},a)});f(g.getPlayheadPosition());return d.remove},[g,a]);l(function(){return function(){h.current!==null&&(c("clearTimeout")(h.current),h.current=null)}},[]);return e}function x(a){a===void 0&&(a=200);var b=n(0),d=b[0],e=b[1],f=o(),g=p(),h=m(null),i=m(d);l(function(){if(!g)return;var b=f.subscribe(function(){if(h.current!=null)return;h.current=c("setTimeout")(function(){f.getCurrentState().paused||(i.current+=a/1e3,e(i.current)),h.current=null},a)});e(0);return function(){return b.remove()}},[f,a,g]);l(function(){return function(){h.current!==null&&(c("clearTimeout")(h.current),h.current=null)}},[]);return!g?null:d}function y(){var a=o(),b=m([]),d=m(a.isFrozen()),e=c("useStable")(function(){return{getCurrentState:function(){return a.isFrozen()},subscribeToChanges:function(a){var d=b.current;d.push(a);return{remove:function(){return c("removeFromArray")(d,a)}}}}});l(function(){var c=a.subscribe(function(){var c=d.current,e=a.isFrozen();d.current=e;if(e!==c){c=b.current;c.forEach(function(a){return a(e)})}});return function(){c.remove()}},[a]);return e}function z(){return k((i||(i=d("VideoPlayerContexts"))).WatchTimeContext)}function A(){return k((i||(i=d("VideoPlayerContexts"))).LastPlayedTimeContext)}function B(){return k((i||(i=d("VideoPlayerContexts"))).PausedContext)}function C(){return k((i||(i=d("VideoPlayerContexts"))).StallingContext)}function D(){return k((i||(i=d("VideoPlayerContexts"))).InPlayStallingContext)}function E(){return k((i||(i=d("VideoPlayerContexts"))).LastMuteReasonContext)}function F(){return k((i||(i=d("VideoPlayerContexts"))).LastPauseReasonContext)}function G(){return k((i||(i=d("VideoPlayerContexts"))).LastPlayReasonContext)}function H(){return k((i||(i=d("VideoPlayerContexts"))).AvailableVideoQualitiesContext)}function I(){return k((i||(i=d("VideoPlayerContexts"))).AvailableAudioTracksContext)}function J(){return k((i||(i=d("VideoPlayerContexts"))).CaptionsVisibleContext)}function K(){return k((i||(i=d("VideoPlayerContexts"))).CaptionDisplayStyleContext)}function L(){return k((i||(i=d("VideoPlayerContexts"))).ActiveCaptionsContext)}function M(){return k((i||(i=d("VideoPlayerContexts"))).CurrentAudioTrackIDContext)}function N(){return k((i||(i=d("VideoPlayerContexts"))).CurrentVideoQualityContext)}function O(){return k((i||(i=d("VideoPlayerContexts"))).SelectedVideoQualityContext)}function P(){return k((i||(i=d("VideoPlayerContexts"))).SelectedAudioTrackIDContext)}function Q(){return k((i||(i=d("VideoPlayerContexts"))).MutedContext)}function R(){return k((i||(i=d("VideoPlayerContexts"))).VolumeContext)}function aa(){return k(d("VideoPlayerViewabilityContexts").VideoPlayerDesktopPictureInPictureContext)}function ba(){return k(d("VideoPlayerViewabilityContexts").VideoPlayerFullscreenContext)}function ca(){return k((i||(i=d("VideoPlayerContexts"))).DimensionsContext)}function da(){return k((i||(i=d("VideoPlayerContexts"))).VideoPixelsAspectRatioContext)}function ea(){return k((i||(i=d("VideoPlayerContexts"))).PlayerVersionContext)}function fa(){return k((i||(i=d("VideoPlayerContexts"))).CaptionsLoadedContext)}function ga(){return k((i||(i=d("VideoPlayerContexts"))).IsAbrEnabledContext)}function ha(){return k((i||(i=d("VideoPlayerContexts"))).TargetVideoQualityContext)}function ia(){return k((i||(i=d("VideoPlayerContexts"))).VideoPlayerMouseHoverContext)}function ja(){return k((i||(i=d("VideoPlayerContexts"))).VideoPlayerMouseIdleContext)}function S(){return k(d("VideoPlayerViewabilityContexts").VideoPlayerPassiveViewabilityInfoContext)}function ka(){return k(d("VideoPlayerViewabilityContexts").VideoPlayerExtendedPassiveViewabilityInfoContext)}function la(){var a=S(),b=n(null),d=b[0],e=b[1],f=m(d);l(function(){f.current=d},[d]);l(function(){if(a){var b=function(){var b=a.getCurrent();if(b){var d=b.positionToViewport;b=b.visiblePercentage;var g=f.current;(g==null||b!==g.visiblePercentage||!c("DOMRectIsEqual")(d,g.positionToViewport))&&e({positionToViewport:d,visiblePercentage:b})}},d=a.subscribe(function(){b()});return function(){return d.remove()}}},[e,a]);return d}function T(){return k((i||(i=d("VideoPlayerContexts"))).BroadcastStatusContext)}function ma(){return k((i||(i=d("VideoPlayerContexts"))).CanAutoplayContext)}function na(){return k((i||(i=d("VideoPlayerContexts"))).VolumeSettingContext)}function oa(){return k((i||(i=d("VideoPlayerContexts"))).AutoplayGatingResultContext)}function pa(){return k((i||(i=d("VideoPlayerContexts"))).VideoFBIDContext)}function U(){return k((i||(i=d("VideoPlayerContexts"))).AdClientTokenContext)}function V(){return k((i||(i=d("VideoPlayerContexts"))).LoopCurrentContext)}function W(){return k((i||(i=d("VideoPlayerContexts"))).LoopCountContext)}function qa(){return k((i||(i=d("VideoPlayerContexts"))).InbandCaptionsAutogeneratedContext)}function ra(){return k((i||(i=d("VideoPlayerContexts"))).IsExternalMediaContext)}function sa(){return k((i||(i=d("VideoPlayerContexts"))).VideoPlayerCaptionsReservationsContext)}function ta(){return k((i||(i=d("VideoPlayerContexts"))).VideoPlayerCaptionsReservationActionsContext)}function ua(){return k((i||(i=d("VideoPlayerContexts"))).StreamInterruptedContext)}function va(){return k((i||(i=d("VideoPlayerContexts"))).SeekableRangesContext)}function X(){return k((i||(i=d("VideoPlayerContexts"))).IsLiveRewindActiveContext)}function Y(){var a=s(),b=V(),c=W();a=a&&(c===-1||c>0&&b",k="",l="",m="",n=!0;function a(a){n=a}function b(){return n}var o=new Map(),p=new Set();e=function(a){p=new Set(a)};f=function(a){return p.has(a)};d=function(a){return"ssrb_"+a+"_content"};var q=function(a){return"ssrb_"+a+"_start"},r=function(a){return"ssrb_"+a+"_end"},s=function(a){return''},t=function(a){return''},u=function(a,b){a=s(a);var c=a.length;a=b.indexOf(a);if(a!==-1){if(b.startsWith(j,a+c))return[a,c+j.length,"hydrate"];if(b.startsWith(l,a+c))return[a,c+l.length,"fallback"];if(b.startsWith(k,a+c))return[a,c+k.length,"fallback"]}return null},v=function(a,b){a=m+t(a);b=b.indexOf(a);return b!==-1?[b,a.length]:null},w=function(a,b){return s(a)+(""+k+b+m)+t(a)},x=function(a){return i.jsx("span",{id:q(a),style:{display:"none"}})},y=function(a){return i.jsx("span",{id:r(a),style:{display:"none"}})};function c(a){a.forEach(function(a){var b=o.get(a)||null;b&&b.resolveFunc&&typeof b.resolveFunc==="function"&&(b.resolveFunc(a),o["delete"](a))})}var z=function(a){a=o.get(a);return a?a.promise:null},A=function(a,b){o.set(a,b)};g.setEnabled=a;g.isEnabled=b;g.setEnabledBoundaries=e;g.isEnabledBoundary=f;g.getBoundarySSRContentID=d;g.getBoundaryStartID=q;g.getBoundaryEndID=r;g.getBoundaryStartOffset=u;g.getBoundaryEndOffset=v;g.getBoundaryString=w;g.getBoundaryStartComponent=x;g.getBoundaryEndComponent=y;g.tryResolveDisabledBoundaries=c;g.tryGetBoundaryPromise=z;g.updateDisabledBoundariesMap=A}),98); __d("CometSSRMultipassBoundary.react",["CometBackupPlaceholder.react","CometPlaceholder.react","CometSSRMultipassBoundaryUtils","ExecutionEnvironment","FBLogger","Promise","react","unrecoverableViolation"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j,k=j||(j=d("react")),l=j.useContext;function m(a){var e=this,f=a.children;a=a.id;if((i||(i=c("ExecutionEnvironment"))).canUseDOM||!d("CometSSRMultipassBoundaryUtils").isEnabled())return f;if(!d("CometSSRMultipassBoundaryUtils").isEnabledBoundary(a)){var g=d("CometSSRMultipassBoundaryUtils").tryGetBoundaryPromise(a);if(g)throw g;g=function(){};var j=new(h||(h=b("Promise")))(function(a){g=a.bind(e)});d("CometSSRMultipassBoundaryUtils").updateDisabledBoundariesMap(a,{promise:j,resolveFunc:g});throw j}return f}m.displayName=m.name+" [from "+f.id+"]";function n(a){var b=a.children;a=a.id;d("CometSSRMultipassBoundaryUtils").isEnabledBoundary(a)&&c("FBLogger")("comet_ssr").mustfix("SSR boundary suspended unexpectedly: "+a);return b}var o=k.createContext();function p(a){var b=a.boundaryId;a=a.children;var e=l(o);if((i||(i=c("ExecutionEnvironment"))).canUseDOM||!d("CometSSRMultipassBoundaryUtils").isEnabled())return a;if(e&&e!=="root")throw c("unrecoverableViolation")("Nested SSR boundaries are unsupported. "+("Found boundary '"+b+"' nested underneath ")+("boundary '"+e+"'."),"comet_ssr");return k.jsx(o.Provider,{value:b,children:a})}p.displayName=p.name+" [from "+f.id+"]";function a(a){var b=a.children,d=a.fallback;d=d===void 0?null:d;var e=a.id;a=a.useCometPlaceholder;a=a===!0?c("CometPlaceholder.react"):c("CometBackupPlaceholder.react");return k.jsx(p,{boundaryId:e,children:k.jsx(a,{fallback:k.jsx(n,{id:e,children:d}),children:k.jsx(m,{id:e,children:k.jsx(k.Fragment,{children:b})})})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("cometAsyncFetchShared",["cr:1396"],(function(a,b,c,d,e,f,g){"use strict";g["default"]=b("cr:1396")}),98); __d("CSTXCookieRecordConsentControllerRouteBuilder",["jsRouteBuilder"],(function(a,b,c,d,e,f,g){a=c("jsRouteBuilder")("/cookie/consent/",Object.freeze({}),void 0);b=a;g["default"]=b}),98); __d("MaybeSymbol",[],(function(a,b,c,d,e,f){"use strict";b=a.Symbol?a.Symbol:null;c=b;f["default"]=c}),66); __d("URLSearchParams",["MaybeSymbol"],(function(a,b,c,d,e,f,g){var h=/\+/g,i=/[!\'()*]/g,j=/%20/g,k=c("MaybeSymbol")?c("MaybeSymbol").iterator:null;function l(a){return encodeURIComponent(a).replace(j,"+").replace(i,function(a){return"%"+a.charCodeAt(0).toString(16)})}function m(a){return decodeURIComponent((a=a)!=null?a:"").replace(h," ")}function n(a){var b=a.slice(0),c={next:function(){var a=b.length,c=b.shift();return{done:c===void 0&&a<=0,value:c}}};k&&(c[k]=function(){return c});return c}a=function(){function a(a){a===void 0&&(a="");a=a;a[0]==="?"&&(a=a.substr(1));this.$1=a.length?a.split("&").map(function(a){a=a.split("=");var b=a[0];a=a[1];return[m(b),m(a)]}):[]}var b=a.prototype;b.append=function(a,b){this.$1.push([a,String(b)])};b["delete"]=function(a){for(var b=0;b=a.length)break;e=a[d++]}else{d=a.next();if(d.done)break;e=d.value}e=e;e[1].fireCallbacks()}},flushAllCookiesINTERNALONLY:function(a,d,e,f,g){a===void 0&&(a=!1);e===void 0&&(e=!1);f===void 0&&(f=!1);l.flushAllCookiesWithoutRecordingConsentDONOTCALLBEFORECONSENT();var h={accept_only_essential:f};d!=null&&(d=Object.fromEntries(d),h={optouts:d,accept_only_essential:f});d=c("flattenPHPQueryData")(h);if(!j){f=c("CSTXCookieRecordConsentControllerRouteBuilder").buildUri({});h=new(c("URLSearchParams"))(location.search).get("ig_3p_controls");if(h==="on"){h=f.addQueryParam("ig_3p_controls","on");f=(h=h)!=null?h:f}j=!0;var i=function(){g&&g();a&&location.reload();if(e){var b=document.getElementsByTagName("iframe");b.length>0&&location.reload()}};b("cr:3376")!=null?c("promiseDone")(b("cr:3376")(f.toString(),{data:d,method:"POST"}),function(){return i()},function(a){b("cr:1083117")&&b("cr:1083117")("Cookie consent has not been set successfully: "+a.errorMsg,"comet_infra")}):b("cr:1083116")!=null&&new(b("cr:1083116"))(f.toString()).setData(d).setHandler(function(){return i()}).send()}},registerCallbackOnCookieFlush:function(a,b){(h||(h=c("CookieConsent"))).hasConsent(a)?b():(k.has(a)||k.set(a,new(c("SubscriptionList"))()),c("nullthrows")(k.get(a)).add(b))}};a=l;g["default"]=a}),98); __d("JavascriptWebErrorFalcoEvent",["FalcoLoggerInternal","getFalcoLogPolicy_DO_NOT_USE"],(function(a,b,c,d,e,f,g){"use strict";a=c("getFalcoLogPolicy_DO_NOT_USE")("1828905");b=d("FalcoLoggerInternal").create("javascript_web_error",a);e=b;g["default"]=e}),98); __d("ErrorTransport",["JavascriptWebErrorFalcoEvent"],(function(a,b,c,d,e,f,g){"use strict";function a(a){c("JavascriptWebErrorFalcoEvent").log(function(){return a})}g.log=a}),98); __d("XCometInstantGamesHubControllerRouteBuilder",["jsRouteBuilder"],(function(a,b,c,d,e,f,g){a=c("jsRouteBuilder")("/gaming/play/",Object.freeze({sort_type:"recommended",category:400,dismissed_check:!1}),void 0);b=a;g["default"]=b}),98); __d("XCometPageBrowserControllerRouteBuilder",["jsRouteBuilder"],(function(a,b,c,d,e,f,g){a=c("jsRouteBuilder")("/pages/",Object.freeze({}),void 0);b=a;g["default"]=b}),98); __d("XCometProfessionalDashboardOverviewV2ControllerRouteBuilder",["jsRouteBuilder"],(function(a,b,c,d,e,f,g){a=c("jsRouteBuilder")("/professional_dashboard/",Object.freeze({}),void 0);b=a;g["default"]=b}),98); __d("checkForIndexedDbSupported",[],(function(a,b,c,d,e,f){"use strict";function a(){return!window.indexedDB?!1:!0}f["default"]=a}),66); __d("asyncTimeout",["Promise"],(function(a,b,c,d,e,f){"use strict";var g;function a(a){return new(g||(g=b("Promise")))(function(b){return setTimeout(b,a)})}f["default"]=a}),66); __d("EnumType",["$InternalEnum"],(function(a,b,c,d,e,f){a=b("$InternalEnum")({TYPE_INT:0,TYPE_STRING:1,TYPE_MIXED:2});c=a;f["default"]=c}),66); __d("coerceRouteParam",["EnumType","FBLogger"],(function(a,b,c,d,e,f,g){"use strict";function a(a,b,d){if(a==null&&b!=="EXISTS")return{valid:!0,value:null};switch(b){case"BOOL":return{valid:!0,value:h(a)};case"STRING":return{valid:!0,value:l(a)};case"FBID":b=m(a);return b!==null?{valid:!0,value:b}:{valid:!1};case"FLOAT":b=j(a);if(b!==null)return{valid:!0,value:b};else return{valid:!1};case"INT":b=k(a);if(b!==null)return{valid:!0,value:b};else return{valid:!1};case"INT_VECTOR":return n(k,a,!0);case"STRING_VECTOR":return n(l,a);case"FLOAT_VECTOR":return n(j,a,!0);case"STRING_SET":return o(l,a);case"EXISTS":return{valid:!0,value:i(a)};case"STRING_TO_INT_MAP":return p(l,k,a);case"STRING_TO_FLOAT_MAP":return p(l,j,a);case"STRING_TO_BOOL_MAP":return p(l,h,a);case"STRING_TO_STRING_MAP":return p(l,l,a);case"INT_TO_FLOAT_MAP":return p(k,j,a);case"INT_TO_INT_MAP":return p(k,k,a);case"INT_TO_BOOL_MAP":return p(k,h,a);case"INT_TO_STRING_MAP":return p(k,l,a);case"ENUM":b=c("EnumType").cast(d);if(b!=null)switch(b){case 0:d=q(k,a);return d!==null?{valid:!0,value:d}:{valid:!1};case 1:b=q(l,a);return b!==null?{valid:!0,value:b}:{valid:!1};default:c("FBLogger")("url_param_validators_codegen").warn("Enum Type is not handled for coercing");return{valid:!0,value:a}}}return{valid:!0,value:a}}function h(a){if(typeof a==="boolean")return a;var b=String(a).toLowerCase();return b==="0"||b==="false"?!1:Boolean(a)}function i(a){if(typeof a==="boolean")return a;return a===void 0?!1:!0}function j(a){if(a==="")return null;a=Number(a);return isNaN(a)?null:a}function k(a){if(a==="")return null;a=Number(a);return Number.isInteger(a)?a:null}function l(a){return String(a)}function m(a){var b=k(a);return b!==null?l(a):null}function n(a,b,c){c===void 0&&(c=!1);if(Array.isArray(b)){var d=b.map(function(b){return a(b)});return!d.includes(null)?{valid:!0,value:d}:{valid:!1}}else if(c===!0){d=String(b);c=d.split(",");return n(a,c)}return{valid:!1}}function o(a,b,c){c===void 0&&(c=!1);if(Array.isArray(b)){var d=new Set();b.forEach(function(b){d.add(a(b))});var e=Array.from(d);return!e.includes(null)?{valid:!0,value:e}:{valid:!1}}else if(c){e=String(b);c=e.split(",");return o(a,c)}return{valid:!1}}function p(a,b,c){if(typeof c==="object"||Array.isArray(c)){var d={};c=Object.entries((c=c)!=null?c:{});for(var e=0;e=c.rootBounds.top&&c.boundingClientRect.left>=c.rootBounds.left));if(d.current.bottomRight&&d.current.topLeft){d.current.hasBeenFullyViewed=!0;return b({currentTime:Date.now()})}}},[b]);var e=i(function(a){a.hiddenTime,a.visibleDuration,a.visibleTime,d.current={bottomRight:!1,hasBeenFullyViewed:!1,topLeft:!1}},[]);return c("useVisibilityObserver")({onHidden:e,onIntersection:a,options:{thresholdOverride:"EXPENSIVE"}})}g["default"]=a}),98); __d("useViewabilityImpression",["useVisibilityObserver"],(function(a,b,c,d,e,f,g){"use strict";function a(a){a=a.onIntersection;return c("useVisibilityObserver")({onIntersection:a,options:{thresholdOverride:"MODERATE"}})}g["default"]=a}),98); __d("CometHideableComponentUsingContainInstrinsic.react",["react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||d("react");function a(a){a=a.children;return i.jsx("div",{className:"x78zum5 xdt5ytf x9x18qb xb5mbof x7ywyr2 x1nn3v0j xg83lxy x1120s5i x1h0ha7o",children:a})}a.displayName=a.name+" [from "+f.id+"]";b=a;g["default"]=b}),98); __d("CometHideableComponentUsingIntersection.react",["BaseView.react","HiddenSubtreeContextProvider.react","HiddenSubtreePassiveContext","gkx","intersectionObserverEntryIsIntersecting","nullIntersectionObserverEntryLogger","react","unrecoverableViolation","useIntersectionObserver","useMergeRefs","usePrevious"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||(h=d("react"));b=h;var j=b.useContext,k=b.useEffect,l=b.useRef,m=b.useState,n=function(){var a=null;return function(){if(a===null){var b;b=(b=document)==null?void 0:b.documentElement;if(b==null)throw c("unrecoverableViolation")("Scroll anchoring feature detection called in an environment without a documentElement","comet_infra");a=b.style.overflowAnchor!=null}return a}}();function o(){var a=m(null),b=a[0],c=a[1];k(function(){b===null&&c(function(){return n()})},[b]);return(a=b)!=null?a:!1}var p={invisible:{display:"x1s85apg",$$css:!0},resetBlockFormattingContext:{display:"x78zum5",flexDirection:"xdt5ytf",$$css:!0}},q={bottom:4e3,top:4e3};function a(a){var b=arguments,d=a.children,e=a.pinChildrenOnInteraction,f=a.unmountHiddenChildren,g=l(null),h=l(null),n=j(c("HiddenSubtreePassiveContext")),r=m(!1),s=r[0],t=r[1],u=m(!0),v=u[0],w=u[1],x=m(null),y=x[0],z=x[1],A=c("usePrevious")(v);k(function(){var a=function(){return y==null&&!v}();h.current!=null&&a&&z(h.current.getBoundingClientRect().height)},[v,y,A]);var B=function(a){c("nullIntersectionObserverEntryLogger")(a,"IntersectionObserverEntry is null. num_arguments="+b.length);var d=n.getCurrentState().hiddenOrBackgrounded_FIXME;c("intersectionObserverEntryIsIntersecting")(a)?(z(null),w(!0)):d||w(!1)},C=c("useIntersectionObserver")(B,{root:null,rootMargin:q,threshold:0}),D=c("useMergeRefs")(C,g),E=function(){if(!v&&y!==null)return{height:y}}(),F=!v&&y!==null,G=o(),H=G?D:void 0;if(c("gkx")("3048"))return i.jsx("div",{className:"x78zum5 xdt5ytf",children:i.jsx(c("BaseView.react"),{children:d})});var I=function(){e===!0&&t(!0)};return i.jsx("div",{className:"x78zum5 xdt5ytf",onClickCapture:I,onFocusCapture:I,onKeyPressCapture:I,ref:H,style:E,children:i.jsx(c("BaseView.react"),{hidden:F,ref:h,xstyle:F&&p.invisible,children:f===!0&&F&&!s?null:i.jsx(c("HiddenSubtreeContextProvider.react"),{isHidden:F,children:d})})})}a.displayName=a.name+" [from "+f.id+"]";e=a;g["default"]=e}),98); __d("CometHideableComponent.react",["CometHideableComponentUsingContainInstrinsic.react","CometHideableComponentUsingIntersection.react","ContentVisibility","react"],(function(a,b,c,d,e,f,g){"use strict";var h;h||d("react");a=d("ContentVisibility").CONTENT_VISIBILITY_ENABLED?c("CometHideableComponentUsingContainInstrinsic.react"):c("CometHideableComponentUsingIntersection.react");b=a;g["default"]=b}),98); __d("CometHideableComponentExperiment.react",["CometHideableComponent.react","cr:8956","qex","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||d("react"),j=c("qex")._("692");function a(a){var d=a.callingSurface;a=a.children;d=d===j;if(b("cr:8956")&&d)return i.jsx(b("cr:8956"),{pinChildrenOnInteraction:d,unmountHiddenChildren:d,children:a});else return i.jsx(c("CometHideableComponent.react"),{children:a})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("MinGapType",["$InternalEnum"],(function(a,b,c,d,e,f){a=b("$InternalEnum")({UNKNOWN:0,ORGANIC:1,ENGAGEMENT:2,FIXED_POSITION:3,PROMOTION:4,SPONSORED:5,END_OF_FEED_CONTENT:6,FB_STORIES:7,HIGH_VALUE_PROMOTION:8,FB_STORIES_ENGAGEMENT:9,PYMK:10,SHOWCASE:11,FB_SHORTS:12,TRENDING:13,IFR:14,ENGAGEMENT_QP:15,GROUPS_TAB_UNCONNECTED:16});c=a;f["default"]=c}),66); __d("AdsExtremeGapUtils",["gkx"],(function(a,b,c,d,e,f,g){"use strict";var h=3,i=6;function a(a,b){if(b!==5)return!1;b=c("gkx")("9322");if(!b)return!1;b=j(a,0);return b>i}function j(a,b){if(a.length===0||b>i)return b;var c=a.length,d=k(a);if(d===-1)return b;return c-d<=h?j(a.slice(0,d),b+1):b}function k(a){for(var b=a.length-1;b>=0;b--)if(a[b].minGapType===5)return b;return-1}g.EXTREME_GAP_DISTANCE=h;g.shouldApplyExtremeGapProtection=a;g.getLastSponsoredStoryPosition=k}),98); __d("CometAdsProductLoggingFalcoEvent",["FalcoLoggerInternal","getFalcoLogPolicy_DO_NOT_USE"],(function(a,b,c,d,e,f,g){"use strict";a=c("getFalcoLogPolicy_DO_NOT_USE")("5479");b=d("FalcoLoggerInternal").create("comet_ads_product_logging",a);e=b;g["default"]=e}),98); __d("CometFeedUnitStatusTrackingUtils",[],(function(a,b,c,d,e,f){"use strict";function a(a,b){return a.map(function(a,c){return b(a)?babelHelpers["extends"]({},a,{position:c}):null}).filter(Boolean)}function b(a){return a.filter(h)}function c(a){return a.filter(i)}function d(a){return a.filter(j)}function e(a){return a.filter(function(a){return a.status==="received"||a.status==="positioned"})}function g(a){var b=a.reduce(function(a,b,c){return j(b)?c:a},-1);return a.map(function(a,c){return c<=b&&!j(a)?babelHelpers["extends"]({},a,{status:"rendered"}):a})}function h(a){return a.status==="rendered"}function i(a){return a.status!=="error"}function j(a){return a.status==="rendered"||a.status==="error"||a.status==="positioned"}f.getFeedUnitsWithOriginalPosition=a;f.getCurrentlyVisibleFeedUnits=b;f.getPossiblyVisibleFeedUnits=c;f.getAllPositionedFeedUnits=d;f.getUncommittedFeedUnits=e;f.getFeedUnitsWithRenderingOutOfOrderFixed=g;f.isCurrentlyVisible=h;f.isPossiblyVisible=i;f.isAnyPositionedType=j}),66); __d("CometAdsProductLogger",["AdsExtremeGapUtils","CometAdsProductLoggingFalcoEvent","CometFeedUnitStatusTrackingUtils","WebSession"],(function(a,b,c,d,e,f,g){"use strict";var h="SPONSORED",i="comet.home";function a(a){var b=a.adId,d=a.csp,e=a.cts,f=a.endPoint,g=a.getFeedUnitStatusList,i=a.hba,k=a.isv,l=a.minGapRule,m=a.minGapType,n=a.sessionKey,o=a.tracking,p=a.vp;if(m!==h||l==null||b==null)return;c("CometAdsProductLoggingFalcoEvent").logImmediately(function(){return{ad_id:b,csp:d,endpoint:f,event:"impression",hba:i,isv:k,min_gap_shape:{min_gap_rule:l.toString(),min_gap_type:m},session_key:n,timestamp:e,tracking:o,vp:p}});j({adId:b,csp:d,cts:e,endPoint:f,getFeedUnitStatusList:g,hba:i,isv:k,minGapRule:l,minGapType:m,sessionKey:n,tracking:o,vp:p})}function j(a){var b=a.adId,e=a.csp,f=a.cts,g=a.endPoint,h=a.getFeedUnitStatusList,i=a.hba,j=a.isv,k=a.minGapRule,l=a.minGapType,m=a.sessionKey,n=a.tracking,o=a.vp;if(h==null||e==null)return;a=h();h=d("CometFeedUnitStatusTrackingUtils").getFeedUnitsWithOriginalPosition(a,d("CometFeedUnitStatusTrackingUtils").isCurrentlyVisible);a=parseInt(e,10);h=h.slice(0,a-1);var p=d("AdsExtremeGapUtils").shouldApplyExtremeGapProtection(h,5);if(!p)return;var q=a-d("AdsExtremeGapUtils").getLastSponsoredStoryPosition(h);c("CometAdsProductLoggingFalcoEvent").logImmediately(function(){return{ad_id:b,csp:e,endpoint:g,event:"extreme_experience",hba:i,isv:j,min_gap_shape:{min_gap_rule:k!=null?k.toString():null,min_gap_type:l},product_features:q<=d("AdsExtremeGapUtils").EXTREME_GAP_DISTANCE?"not protected":"protected",session_key:m,timestamp:f,tracking:n,vp:o}})}function b(a){var b=a.adId,e=a.endPoint,f=e===void 0?i:e,g=a.minGapRule,h=a.minGapType;e=Date.now();var j=Math.floor(e/1e3);c("CometAdsProductLoggingFalcoEvent").logImmediately(function(){return{ad_id:b,csp:null,endpoint:f,event:"cta_click",hba:!1,isv:null,min_gap_shape:{min_gap_rule:g!=null?g.toString():null,min_gap_type:h},product_features:"primary_blue_cta_button",session_key:d("WebSession").getId(),timestamp:j.toString(),tracking:null,vp:null}})}function e(a){var b=a.endPoint,e=b===void 0?i:b,f=a.minGapRule,g=a.minGapType;b=Date.now();var h=Math.floor(b/1e3);c("CometAdsProductLoggingFalcoEvent").logImmediately(function(){return{ad_id:null,csp:"0",endpoint:e,event:"impression",hba:!1,isv:null,min_gap_shape:{min_gap_rule:f!=null?f.toString():null,min_gap_type:g},product_features:"highest_position_ad_from_multifeed",session_key:d("WebSession").getId(),timestamp:h.toString(),tracking:null,vp:null}})}g.logCometAdsProductGapRule=a;g.logCometAdsProductGapRuleExtremeExperience=j;g.logCometAdsProductPrimaryBlueCTAButtonClick=b;g.logCometFeedHighestPositionAd=e}),98); __d("CometFeedBrandSafetyContext",["react"],(function(a,b,c,d,e,f,g){"use strict";var h;a=h||d("react");b=a.createContext(null);g["default"]=b}),98); __d("CometFeedBrandSafetyLoggingUtil",["CometFeedUnitStatusTrackingUtils","FBLogger","NetworkStatus"],(function(a,b,c,d,e,f,g){"use strict";function a(a,b,c){if(a==null||b==null)return null;a=a();a=d("CometFeedUnitStatusTrackingUtils").getFeedUnitsWithOriginalPosition(a,d("CometFeedUnitStatusTrackingUtils").isPossiblyVisible);var e=a.findIndex(function(a){return a.position===c});if(!h(a,e))return null;b=b();var f=i(a,b,e-1),g=i(a,b,e+1);e=j(a,b,e);return{brs_filter_setting:e,feed_size:a.length.toString(),feed_state:l(b),unit_after:g,unit_before:f}}function h(a,b){return((a=a[b])==null?void 0:a.category)==="SPONSORED"}function i(a,b,c){a=k(a,b,c);return a&&{brs_content_label:(b=a.brsContentLabel)==null?void 0:b.toString(),organic_tracking:a.tracking,unit_type:a.unitType}}function j(a,b,c){a=k(a,b,c);return a==null?void 0:(b=a.brsFilterSetting)==null?void 0:b.toString()}function k(a,b,d){var e=a[d];if(e==null)return null;var f=e.key;f=b.feedUnitRegistry[f];f==null&&e.status==="rendered"?c("FBLogger")("comet_feed_unit_brand_safety_null_brs_info").warn("Unable to find a CometFeedUnitBrandSafetyInfo for position %s and deduplicationKey %s. feedUnitStatusList: %s. brsRegistry: %s",d,e.key,JSON.stringify(a),JSON.stringify(Object.keys(b.feedUnitRegistry))):e.status==="error"&&c("FBLogger")("comet_feed_unit_brand_safety_error_status").mustfix("CometFeedUnitStatus is error for position %s and deduplicationKey %s. feedUnitStatusList: %s. brsRegistry: %s",d,e.key,JSON.stringify(a),JSON.stringify(Object.keys(b.feedUnitRegistry)));return f}function l(a){a=a.feedStateInfoRef.current;if(a==null){c("FBLogger")("comet_feed_unit_brand_safety_feed_state").mustfix("feedStateInfo was not initialized correctly");return"feed_uninitialized_state_info"}var b=a.hasMore,d=a.isEOFError,e=a.isLoading;a=a.showEOFMessageAfterFeedStoppedLoading;var f=c("NetworkStatus").isOnline();if(d)if(f)return"feed_eof_error_while_online";else return"feed_eof_error_while_offline";else if(a)if(f)return"feed_eof_no_more_stories_while_online";else return"feed_eof_no_more_stories_while_offline";else if(b&&e)return"feed_has_more_and_is_loading";else if(b)return"feed_has_more";else if(e)return"feed_is_loading";else return"feed_unknown"}g.getBrandSafetyFieldForAdImpression=a;g.isSponsored=h;g.getBrsInfo=k;g.getFeedState=l}),98); __d("CometFeed5sImpressionDelayContext",["react"],(function(a,b,c,d,e,f,g){"use strict";var h;a=h||d("react");b=a.createContext({firstAdStoryPosition:null,firstLoggedAdImpressionStoryPosition:null,hasAnyAdImpressionAlreadyBeenLogged:!1,hasUserSeenAnyAd:!1});g["default"]=b}),98); __d("CometMetricsFullViewFalcoEvent",["FalcoLoggerInternal","getFalcoLogPolicy_DO_NOT_USE"],(function(a,b,c,d,e,f,g){"use strict";a=c("getFalcoLogPolicy_DO_NOT_USE")("1936086");b=d("FalcoLoggerInternal").create("comet_metrics_full_view",a);e=b;g["default"]=e}),98); __d("useStoryFullViewLogger",["CometMetricsFullViewFalcoEvent","react","requireDeferred","useFullViewImpression","uuidv4"],(function(a,b,c,d,e,f,g){"use strict";var h;b=h||d("react");var i=b.useCallback,j=b.useRef,k=c("requireDeferred")("Banzai").__setRef("useStoryFullViewLogger");function a(a,b,d){var e=j(!1);d=i(function(d){d.currentTime;if(!e.current&&a!=null){e.current=!0;var f=a,g=b,h=c("uuidv4")(),i={csp:g,event_trace_id:h,xt:f};c("CometMetricsFullViewFalcoEvent").log(function(){return{csp:g.toString(),event_trace_id:h,xt:f}});k.onReady(function(a){a.post("comet_metrics:full_view",i)})}},[b,a]);return c("useFullViewImpression")({onFullViewStart:d})}g["default"]=a}),98); __d("CometMetricsViewabilityFalcoEvent",["FalcoLoggerInternal","getFalcoLogPolicy_DO_NOT_USE"],(function(a,b,c,d,e,f,g){"use strict";a=c("getFalcoLogPolicy_DO_NOT_USE")("1948176");b=d("FalcoLoggerInternal").create("comet_metrics_viewability",a);e=b;g["default"]=e}),98); __d("PercentVisible",[],(function(a,b,c,d,e,f){a=-1;b=0;c=50;d=100;f.NO_VISIBLE=a;f.VISIBLE_0_PCT=b;f.VISIBLE_50_PCT=c;f.VISIBLE_100_PCT=d}),66); __d("useStoryViewabilityDurationLogger",["Banzai","CometMetricsViewabilityFalcoEvent","PercentVisible","react","useViewabilityImpression","uuidv4"],(function(a,b,c,d,e,f,g){"use strict";var h;b=h||d("react");var i=b.useCallback,j=b.useRef;function k(a,b,d){c("CometMetricsViewabilityFalcoEvent").logImmediately(function(){return{cumulative:a.cumulative.toString(),duration:a.duration.toString(),event_trace_id:b,interval:a.interval.toString(),segment_id:a.segmentid.toString(),start_ts:a.startTs.toString(),view_event_type:a.eventType.toString(),xt:d}})}function a(a,b,e){var f=j(null),g=j(null),h=j(null);b=i(function(b){var e=b.entry;b=b.isElementVisible;var i=function(a,b){return{cumulative:a-b.startTs,duration:a-b.startTs,eventType:b.eventType,interval:a-b.cumulative-b.startTs,segmentid:b.segmentid+1,startTs:b.startTs}},j=function(b){var d=c("uuidv4")(),e={cumulative:b.cumulative,duration:b.duration,event_trace_id:d,eventType:b.eventType,interval:b.interval,segmentid:b.segmentid,startTs:b.startTs,xt:a};k(b,d,a);b=babelHelpers["extends"]({},c("Banzai").VITAL,{signal:!1});c("Banzai").post("comet_metrics:viewability",e,b)},l=function(a,b,c){if(c==null)return null;b=i(a,c);j(b);return null},m=function(a,b,c){c==null?b={cumulative:0,duration:0,eventType:b,interval:0,segmentid:0,startTs:a}:b=i(a,c);b.segmentid<=2&&j(b);return b};!b?(f.current=l(e.time,d("PercentVisible").VISIBLE_0_PCT,f.current),g.current=l(e.time,d("PercentVisible").VISIBLE_50_PCT,g.current),h.current=l(e.time,d("PercentVisible").VISIBLE_100_PCT,h.current)):e.intersectionRatio<.5?(f.current=m(e.time,d("PercentVisible").VISIBLE_0_PCT,f.current),g.current=l(e.time,d("PercentVisible").VISIBLE_50_PCT,g.current),h.current=l(e.time,d("PercentVisible").VISIBLE_100_PCT,h.current)):e.intersectionRatio>=.5&&e.intersectionRatio<1?(f.current=m(e.time,d("PercentVisible").VISIBLE_0_PCT,f.current),g.current=m(e.time,d("PercentVisible").VISIBLE_50_PCT,g.current),h.current=l(e.time,d("PercentVisible").VISIBLE_100_PCT,h.current)):(f.current=m(e.time,d("PercentVisible").VISIBLE_0_PCT,f.current),g.current=m(e.time,d("PercentVisible").VISIBLE_50_PCT,g.current),h.current=m(e.time,d("PercentVisible").VISIBLE_100_PCT,h.current))},[a]);return c("useViewabilityImpression")({onIntersection:b})}g["default"]=a}),98); __d("GhlSwankFalcoEvent",["FalcoLoggerInternal","getFalcoLogPolicy_DO_NOT_USE"],(function(a,b,c,d,e,f,g){"use strict";a=c("getFalcoLogPolicy_DO_NOT_USE")("1955947");b=d("FalcoLoggerInternal").create("ghl_swank",a);e=b;g["default"]=e}),98); __d("useCometGHLFeedSurvey",["CometGHLTracker","DebugOwl","GhlSwankFalcoEvent","cr:1088657","react","useCometGHLDisplayMonitor","useMergeRefs","useUnsafeRef_DEPRECATED"],(function(a,b,c,d,e,f,g){"use strict";var h,i;e=i||d("react");var j=e.useCallback,k=e.useEffect;function a(a){var e=a.encryptedToken,f=a.position,g=(h||(h=c("useUnsafeRef_DEPRECATED")))(!1);a=j(function(a){if(g.current||e==null)return;g.current=!0;c("GhlSwankFalcoEvent").log(function(){return{hd:String(a),sli:String(f),xt:e}});var h=i.current;if(h!==null){d("CometGHLTracker").m(h);b("cr:1088657")&&b("cr:1088657").b({e:h,hd:a,token:(h=e)!=null?h:""})}},[e,f]);var i=c("useCometGHLDisplayMonitor")(!g.current,a);k(function(){var a=i.current;return function(){a&&d("CometGHLTracker").d(a)}},[i]);a=j(function(a){c("DebugOwl").nest(a,{location:"FEED",position:f})},[f]);return c("useMergeRefs")(i,a)}f=a;g["default"]=f}),98); __d("CometMetricsViewableImpressionDelayFalcoEvent",["FalcoLoggerInternal","getFalcoLogPolicy_DO_NOT_USE"],(function(a,b,c,d,e,f,g){"use strict";a=c("getFalcoLogPolicy_DO_NOT_USE")("5255");b=d("FalcoLoggerInternal").create("comet_metrics_viewable_impression_delay",a);e=b;g["default"]=e}),98); __d("FacebookBrandSafetyImpressionFalcoEvent",["FalcoLoggerInternal","getFalcoLogPolicy_DO_NOT_USE"],(function(a,b,c,d,e,f,g){"use strict";a=c("getFalcoLogPolicy_DO_NOT_USE")("4323");b=d("FalcoLoggerInternal").create("facebook_brand_safety_impression",a);e=b;g["default"]=e}),98); __d("useStoryObserverImpressionLogger",["CometAdsProductLogger","CometFeed5sImpressionDelayContext","CometFeedAdsProductContext","CometFeedBrandSafetyContext","CometFeedBrandSafetyLoggingUtil","CometFeedUnitStatusListPassiveContext","CometGHLTracker","CometMetricsViewableImpressionDelayFalcoEvent","CometMetricsViewableImpressionFalcoEvent","CometTimeSpentNavigation","DebugOwl","FBLogger","FacebookBrandSafetyImpressionFalcoEvent","WebSession","cr:1813330","cr:5881","ghlTestUBT","gkx","justknobx","qex","randomInt","react","registerSourceForView","sendImpressionEnterActionValidationData","sendImpressionExitActionValidationData","setTimeout","useMinifiedProductAttribution","usePartialViewImpression","uuidv4"],(function(a,b,c,d,e,f,g){"use strict";var h;e=h||d("react");var i=e.useCallback,j=e.useContext,k=e.useEffect,l=e.useRef,m={can_delay_log_impression:!1,subsequent_gap_in_ms:6e4},n=5e3;function a(a,e,f,g,h,p){g===void 0&&(g=!1);h===void 0&&(h=null);var q=babelHelpers["extends"]({},m,f),r=l(null),s=l(null),t=l(null),u=l(!1),v=l(!1),w=c("useMinifiedProductAttribution")();k(function(){c("ghlTestUBT")(function(a){u.current=a})},[]);k(function(){return function(){r.current=null,v.current=!1,t.current=null}},[h]);var x=j(c("CometFeedUnitStatusListPassiveContext")),y=j(c("CometFeedBrandSafetyContext")),z=j(c("CometFeed5sImpressionDelayContext"));f=j(c("CometFeedAdsProductContext"));var A=f.adId,B=f.minGapRule,C=f.minGapType;h=i(function(f){var h=f.entry,i=f.visibleTime;c("DebugOwl").perch(h.target);b("cr:1813330")==null?void 0:b("cr:1813330").setNewsFeedStoryPosition(e);var j=function(b,g){g=Date.now();var h=c("CometTimeSpentNavigation").getPathInfo(),j=d("CometGHLTracker").c(b.target);c("DebugOwl").fly(b.target);var f=e,k=Math.floor(g/1e3),l=g+"_"+(c("randomInt")(0,4294967295)+1),m=j,n=h?h.name:null,q=d("WebSession").getId(),r=b.visiblePercentage,s=a,t=c("uuidv4")(),u=d("CometFeedBrandSafetyLoggingUtil").getBrandSafetyFieldForAdImpression(x,y,e),D=null,F;if(c("justknobx")._("616")){f==null&&c("FBLogger")("comet_impression").mustfix("storyPosition param %s is invalid. event_trace_id: %s, aidv2: %s",f,t,w);F=(g=f==null?void 0:f.toString())!=null?g:"0"}else F=f.toString();c("CometMetricsViewableImpressionFalcoEvent").logImmediately(function(){return{aidv2:w,brs:u,csp:F,cts:k.toString(),etid:l,event_trace_id:t,hba:m,isv:"1",me:n,sk:q,vp:r.toString(),xt:s}});if(x){j=x();((h=j[f])==null?void 0:h.category)==="SPONSORED"&&(z.hasAnyAdImpressionAlreadyBeenLogged===!1&&(z.hasAnyAdImpressionAlreadyBeenLogged=!0,z.firstLoggedAdImpressionStoryPosition=e))}D&&c("FacebookBrandSafetyImpressionFalcoEvent").logImmediately(function(){return D});o(u,p,i,e);d("CometAdsProductLogger").logCometAdsProductGapRule({adId:A,csp:F,cts:k.toString(),endPoint:n,getFeedUnitStatusList:x,hba:m,isv:"1",minGapRule:B,minGapType:C,sessionKey:q,tracking:s,vp:r.toString()});c("registerSourceForView")(null,s);v.current=!0},k={boundingClientRect:h.boundingClientRect,impressedAt:i,intersectionRect:h.intersectionRect,invisibleReason:null,rootBounds:h.rootBounds,status:"ENTER",target:h.target,visible:!0,visiblePercentage:h.intersectionRatio};g&&c("sendImpressionEnterActionValidationData")("impression_api_comet_enter",k,null,{csp:e,pre_rs:r.current,xt:a});if(t.current||s.current)return;if(q.can_delay_log_impression===!0&&(u.current||d("CometGHLTracker").b()||c("gkx")("986925"))){var l=!1,m=z.hasAnyAdImpressionAlreadyBeenLogged;z.hasUserSeenAnyAd===!1&&(l=!0,z.hasUserSeenAnyAd=!0,z.firstAdStoryPosition=e);f=!d("CometGHLTracker").b()&&c("qex")._("781");h=f===!0?0:n;var D=c("uuidv4")(),E=(f=e==null?void 0:e.toString())!=null?f:"0",F=c("gkx")("9113"),G=c("gkx")("9114");f=F;var H=d("CometGHLTracker").b(),I=!z.hasAnyAdImpressionAlreadyBeenLogged,J=H,K=d("CometGHLTracker").s(),L=n,M=0,N=f?n:0,O=f||H?n:0,P=f||H||I?n:0;c("setTimeout")(function(){G&&c("CometMetricsViewableImpressionDelayFalcoEvent").logImmediately(function(){return{csp:E,custom_event_name:"comet_impression_proposal_B",delay:M.toString(),has_blocked_elements:J,hba:d("CometGHLTracker").c(k.target),is_adblocker_user:F,is_any_impression_already_logged:m,is_first_ad:l,num_blocked_elements:K.toString(),uid:D,xt:a}})},M);c("setTimeout")(function(){G&&c("CometMetricsViewableImpressionDelayFalcoEvent").logImmediately(function(){return{csp:E,custom_event_name:"comet_impression_proposal_C",delay:N.toString(),has_blocked_elements:J,hba:d("CometGHLTracker").c(k.target),is_adblocker_user:F,is_any_impression_already_logged:m,is_first_ad:l,num_blocked_elements:K.toString(),uid:D,xt:a}})},N);c("setTimeout")(function(){G&&c("CometMetricsViewableImpressionDelayFalcoEvent").logImmediately(function(){return{csp:E,custom_event_name:"comet_impression_proposal_D",delay:O.toString(),has_blocked_elements:J,hba:d("CometGHLTracker").c(k.target),is_adblocker_user:F,is_any_impression_already_logged:m,is_first_ad:l,num_blocked_elements:K.toString(),uid:D,xt:a}})},O);c("setTimeout")(function(){G&&c("CometMetricsViewableImpressionDelayFalcoEvent").logImmediately(function(){return{csp:E,custom_event_name:"comet_impression_proposal_E",delay:P.toString(),has_blocked_elements:J,hba:d("CometGHLTracker").c(k.target),is_adblocker_user:F,is_any_impression_already_logged:m,is_first_ad:l,num_blocked_elements:K.toString(),uid:D,xt:a}})},P);c("setTimeout")(function(){G&&c("CometMetricsViewableImpressionDelayFalcoEvent").logImmediately(function(){return{csp:E,custom_event_name:"comet_impression_proposal_A",delay:L.toString(),has_blocked_elements:d("CometGHLTracker").b(),hba:d("CometGHLTracker").c(k.target),is_adblocker_user:F,is_any_impression_already_logged:m,is_first_ad:l,num_blocked_elements:d("CometGHLTracker").s().toString(),uid:D,xt:a}})},L);s.current=c("setTimeout")(function(){j&&j(k,"AD_BLOCKER"),s.current=null},h)}else j&&j(k,v.current?"DEDUP":"ORIGINAL")},[g,q.can_delay_log_impression,e,a,w]);f=i(function(b){var d=b.hiddenReason,f=b.visibleDuration;b=b.visibleTime;g&&c("sendImpressionExitActionValidationData")("impression_api_comet_exit",{impressedAt:b,invisibleReason:d,visiblePercentage:0},null,{csp:e,duration:f,pre_rs:r.current,xt:a});r.current=d;if(t.current)return;(v.current||s.current)&&(t.current=c("setTimeout")(function(){v.current=!1,t.current=null},q.subsequent_gap_in_ms))},[q.subsequent_gap_in_ms,e,a,g]);return c("usePartialViewImpression")({onImpressionEnd:f,onImpressionStart:h})}function o(a,c,d,e){var f=a==null?void 0:a.brs_filter_setting;if(b("cr:5881")!=null&&parseInt(f,10)>0){var g=a==null?void 0:a.unit_after,h=a==null?void 0:a.unit_before;b("cr:5881").log(function(){var a;return{ad_insertion_status:"INSERTED",ad_insertion_sub_status:"VALID_COMPATIBLE",ad_inventory_filter:String(f),adjacent_edges_info:{unit_after:g!=null?{brs_content_label:(a=g.brs_content_label)!=null?a:"",organic_tracking:(a=g.organic_tracking)!=null?a:""}:null,unit_before:h!=null?{brs_content_label:(a=h.brs_content_label)!=null?a:"",organic_tracking:(a=h.organic_tracking)!=null?a:""}:null},client_token:(a=c)!=null?a:"",feed_session_id:"",impression_original_timestamp_ms:String(d),slot_position:String(e)}})}}g["default"]=a}),98); __d("useStoryViewabilityLogger",["mergeRefs","react","useCometGHLFeedSurvey","useStoryFullViewLogger","useStoryObserverImpressionLogger","useStoryVPVDLogger","useStoryViewabilityDurationLogger"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||(h=d("react")),j=h.useMemo,k=function(a,b,c){return function(){return null}};function a(a){var b=a.clientToken,d=a.clientViewConfig;d=d===void 0?null:d;var e=a.contentIdentifier;e=e===void 0?null:e;var f=a.disabledViewabilityEventTypes,g=a.encryptedTracking,h=a.position,l=a.viewabilityConfig;a=a.vpvdOptionalData;var m=[];function n(a,b){return l&&l.includes(a)&&(!f||!f.includes(a))?b:null}var o=!!l&&l.some(function(a){return a===7}),p=n(8,c("useStoryObserverImpressionLogger")(g,h,d,o,e,b)),q=n(7,k(g,h,d)),r=n(2,c("useStoryFullViewLogger")(g,h,d)),s=n(3,c("useStoryViewabilityDurationLogger")(g,h,d));o=c("useStoryVPVDLogger")(babelHelpers["extends"]({},a,{position:h,trackable:g}));e=o[0];b=o[1];m.push(b);var t=n(5,e),u=c("useCometGHLFeedSurvey")({clientViewConfig:d,encryptedToken:g,position:h});a=j(function(){return c("mergeRefs")(p,q,r,s,t,u,null)},[p,q,r,s,t,u]);return{debuggingInfoLoggers:m.map(function(a,b){return i.jsx("div",{children:a},b)}),ref:a}}g["default"]=a}),98); __d("BrandSafetyOpportunityLossRateFalcoEvent",["FalcoLoggerInternal","getFalcoLogPolicy_DO_NOT_USE"],(function(a,b,c,d,e,f,g){"use strict";a=c("getFalcoLogPolicy_DO_NOT_USE")("1305");b=d("FalcoLoggerInternal").create("brand_safety_opportunity_loss_rate",a);e=b;g["default"]=e}),98);/*FB_PKG_DELIM*/ /** * License: https://www.facebook.com/legal/license/t3hOLs8wlXy/ */ __d("immer-5.3.6",[],(function(a,b,c,d,e,f){"use strict";var g={},h={exports:g};function i(){Object.defineProperty(g,"__esModule",{value:!0});var a,b=typeof Symbol!=="undefined",c=typeof Map!=="undefined",d=typeof Set!=="undefined",e=b?Symbol("immer-nothing"):(a={},a["immer-nothing"]=!0,a),f=b?Symbol("immer-draftable"):"__$immer_draftable",h=b?Symbol("immer-state"):"__$immer_state",i=b?Symbol.iterator:"@@iterator",j=function(a,b){j=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,b){a.__proto__=b}||function(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c])};return j(a,b)};function k(a,b){j(a,b);function c(){this.constructor=a}a.prototype=(c.prototype=b.prototype,new c())}var l;(function(a){a[a.Object=0]="Object",a[a.Array=1]="Array",a[a.Map=2]="Map",a[a.Set=3]="Set"})(l||(l={}));var m;(function(a){a[a.ProxyObject=0]="ProxyObject",a[a.ProxyArray=1]="ProxyArray",a[a.ES5Object=2]="ES5Object",a[a.ES5Array=3]="ES5Array",a[a.Map=4]="Map",a[a.Set=5]="Set"})(m||(m={}));function n(a){return!!a&&!!a[h]}function o(a){return!a?!1:aa(a)||Array.isArray(a)||!!a[f]||!!a.constructor[f]||v(a)||w(a)}function aa(a){if(!a||typeof a!=="object")return!1;a=Object.getPrototypeOf(a);return!a||a===Object.prototype}function ba(a){if(a&&a[h])return a[h].base}var p=typeof Reflect!=="undefined"&&Reflect.ownKeys?Reflect.ownKeys:typeof Object.getOwnPropertySymbols!=="undefined"?function(a){return Object.getOwnPropertyNames(a).concat(Object.getOwnPropertySymbols(a))}:Object.getOwnPropertyNames;function q(a,b){r(a)===l.Object?p(a).forEach(function(c){return b(c,a[c],a)}):a.forEach(function(c,d){return b(d,c,a)})}function ca(a,b){a=Object.getOwnPropertyDescriptor(a,b);return a&&a.enumerable?!0:!1}function r(a){a||B();if(a[h])switch(a[h].type){case m.ES5Object:case m.ProxyObject:return l.Object;case m.ES5Array:case m.ProxyArray:return l.Array;case m.Map:return l.Map;case m.Set:return l.Set}return Array.isArray(a)?l.Array:v(a)?l.Map:w(a)?l.Set:l.Object}function s(a,b){return r(a)===l.Map?a.has(b):Object.prototype.hasOwnProperty.call(a,b)}function t(a,b){return r(a)===l.Map?a.get(b):a[b]}function da(a,b,c){switch(r(a)){case l.Map:a.set(b,c);break;case l.Set:a["delete"](b);a.add(c);break;default:a[b]=c}}function u(a,b){if(a===b)return a!==0||1/a===1/b;else return a!==a&&b!==b}function v(a){return c&&a instanceof Map}function w(a){return d&&a instanceof Set}function x(a){return a.copy||a.base}function y(a,b){b===void 0&&(b=!1);if(Array.isArray(a))return a.slice();var c=Object.create(Object.getPrototypeOf(a));p(a).forEach(function(d){if(d===h)return;var e=Object.getOwnPropertyDescriptor(a,d),f=e.value;if(e.get){if(!b)throw new Error("Immer drafts cannot have computed properties");f=e.get.call(a)}e.enumerable?c[d]=f:Object.defineProperty(c,d,{value:f,writable:!0,configurable:!0})});return c}function z(a,b){if(!o(a)||n(a)||Object.isFrozen(a))return;var c=r(a);c===l.Set?a.add=a.clear=a["delete"]=A:c===l.Map&&(a.set=a.clear=a["delete"]=A);Object.freeze(a);b&&q(a,function(a,b){return z(b,!0)})}function A(){throw new Error("This object has been frozen and should not be mutated")}function ea(a,b,c){Object.defineProperty(a,b,{value:c,enumerable:!1,writable:!0})}function B(){throw new Error("Illegal state, please file a bug")}var C=function(){function a(a,b){this.drafts=[],this.parent=a,this.immer=b,this.canAutoFreeze=!0}a.prototype.usePatches=function(a){a&&(this.patches=[],this.inversePatches=[],this.patchListener=a)};a.prototype.revoke=function(){this.leave(),this.drafts.forEach(fa),this.drafts=null};a.prototype.leave=function(){this===a.current&&(a.current=this.parent)};a.enter=function(b){b=new a(a.current,b);a.current=b;return b};return a}();function fa(a){a=a[h];a.type===m.ProxyObject||a.type===m.ProxyArray?a.revoke():a.revoked=!0}function D(a,b,c){var d=c.drafts[0],f=b!==void 0&&b!==d;a.willFinalize(c,b,f);if(f){if(d[h].modified){c.revoke();throw new Error("An immer producer returned a new value *and* modified its draft. Either return a new value *or* modify the draft.")}o(b)&&(b=E(a,b,c),c.parent||H(a,b));c.patches&&(c.patches.push({op:"replace",path:[],value:b}),c.inversePatches.push({op:"replace",path:[],value:d[h].base}))}else b=E(a,d,c,[]);c.revoke();c.patches&&c.patchListener(c.patches,c.inversePatches);return b!==e?b:void 0}function E(a,b,c,d){var e=b[h];if(!e)return Object.isFrozen(b)?b:F(a,b,c);if(e.scope!==c)return b;if(!e.modified){H(a,e.base,!0);return e.base}if(!e.finalized){e.finalized=!0;F(a,e.draft,c,d);if(a.onDelete&&e.type!==m.Set)if(a.useProxies){b=e.assigned;q(b,function(b,c){c||a.onDelete(e,b)})}else{b=e.base;var f=e.copy;q(b,function(b){s(f,b)||a.onDelete(e,b)})}a.onCopy&&a.onCopy(e);a.autoFreeze&&c.canAutoFreeze&&z(e.copy,!1);d&&c.patches&&ra(e,d,c.patches,c.inversePatches)}return e.copy}function F(a,b,c,d){var e=b[h];e&&((e.type===m.ES5Object||e.type===m.ES5Array)&&(e.copy=y(e.draft,!0)),b=e.copy);q(b,function(f,g){return G(a,c,b,e,b,f,g,d)});return b}function G(a,b,c,d,e,f,g,h){if(g===e)throw Error("Immer forbids circular references");var i=!!d&&e===c,j=w(e);if(n(g)){var k=h&&i&&!j&&!s(d.assigned,f)?h.concat(f):void 0;g=E(a,g,b,k);da(e,f,g);n(g)&&(b.canAutoFreeze=!1)}else if(i&&u(g,t(d.base,f)))return;else o(g)&&(q(g,function(e,f){return G(a,b,c,d,g,e,f,h)}),b.parent||H(a,g));i&&a.onAssign&&!j&&a.onAssign(d,f,g)}function H(a,b,c){c===void 0&&(c=!1),a.autoFreeze&&!n(b)&&z(b,c)}function ga(a,b){var c=Array.isArray(a);b={type:c?m.ProxyArray:m.ProxyObject,scope:b?b.scope:C.current,modified:!1,finalized:!1,assigned:{},parent:b,base:a,draft:null,drafts:{},copy:null,revoke:null,isManual:!1};a=b;var d=I;c&&(a=[b],d=J);c=Proxy.revocable(a,d);a=c.revoke;d=c.proxy;b.draft=d;b.revoke=a;return d}var I={get:function(a,b){if(b===h)return a;var c=a.drafts;if(!a.modified&&s(c,b))return c[b];var d=x(a)[b];if(a.finalized||!o(d))return d;if(a.modified){if(d!==K(a.base,b))return d;c=a.copy}return c[b]=a.scope.immer.createProxy(d,a)},has:function(a,b){return b in x(a)},ownKeys:function(a){return Reflect.ownKeys(x(a))},set:function(a,b,c){if(!a.modified){var d=K(a.base,b);d=c?u(d,c)||c===a.drafts[b]:u(d,c)&&b in a.base;if(d)return!0;M(a);L(a)}a.assigned[b]=!0;a.copy[b]=c;return!0},deleteProperty:function(a,b){K(a.base,b)!==void 0||b in a.base?(a.assigned[b]=!1,M(a),L(a)):a.assigned[b]&&delete a.assigned[b];a.copy&&delete a.copy[b];return!0},getOwnPropertyDescriptor:function(a,b){var c=x(a);c=Reflect.getOwnPropertyDescriptor(c,b);c&&(c.writable=!0,c.configurable=a.type!==m.ProxyArray||b!=="length");return c},defineProperty:function(){throw new Error("Object.defineProperty() cannot be used on an Immer draft")},getPrototypeOf:function(a){return Object.getPrototypeOf(a.base)},setPrototypeOf:function(){throw new Error("Object.setPrototypeOf() cannot be used on an Immer draft")}},J={};q(I,function(a,b){J[a]=function(){arguments[0]=arguments[0][0];return b.apply(this,arguments)}});J.deleteProperty=function(a,b){if(isNaN(parseInt(b)))throw new Error("Immer only supports deleting array indices");return I.deleteProperty.call(this,a[0],b)};J.set=function(a,b,c){if(b!=="length"&&isNaN(parseInt(b)))throw new Error("Immer only supports setting array indices and the 'length' property");return I.set.call(this,a[0],b,c,a[0])};function K(a,b){var c=a[h];c=Reflect.getOwnPropertyDescriptor(c?x(c):a,b);return c&&c.value}function L(a){if(!a.modified){a.modified=!0;if(a.type===m.ProxyObject||a.type===m.ProxyArray){var b=a.copy=y(a.base);q(a.drafts,function(a,c){b[a]=c});a.drafts=void 0}a.parent&&L(a.parent)}}function M(a){a.copy||(a.copy=y(a.base))}function ha(a,b,c){a.drafts.forEach(function(a){a[h].finalizing=!0}),!c?(a.patches&&U(a.drafts[0]),T(a.drafts)):n(b)&&b[h].scope===a&&T(a.drafts)}function ia(a,b){var c=Array.isArray(a),d=Q(a);q(d,function(b){la(d,b,c||ca(a,b))});b={type:c?m.ES5Array:m.ES5Object,scope:b?b.scope:C.current,modified:!1,finalizing:!1,finalized:!1,assigned:{},parent:b,base:a,draft:d,copy:null,revoked:!1,isManual:!1};ea(d,h,b);return d}function N(a,b){var c=a[h];if(c&&!c.finalizing){c.finalizing=!0;var d=a[b];c.finalizing=!1;return d}return a[b]}function ja(a,b){S(a);var c=N(x(a),b);if(a.finalizing)return c;if(c===N(a.base,b)&&o(c)){P(a);return a.copy[b]=a.scope.immer.createProxy(c,a)}return c}function ka(a,b,c){S(a);a.assigned[b]=!0;if(!a.modified){if(u(c,N(x(a),b)))return;O(a);P(a)}a.copy[b]=c}function O(a){a.modified||(a.modified=!0,a.parent&&O(a.parent))}function P(a){a.copy||(a.copy=Q(a.base))}function Q(a){var b=a&&a[h];if(b){b.finalizing=!0;var c=y(b.draft,!0);b.finalizing=!1;return c}return y(a)}var R={};function la(a,b,c){var d=R[b];d?d.enumerable=c:R[b]=d={configurable:!0,enumerable:c,get:function(){return ja(this[h],b)},set:function(a){ka(this[h],b,a)}};Object.defineProperty(a,b,d)}function S(a){if(a.revoked===!0)throw new Error("Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? "+JSON.stringify(x(a)))}function T(a){for(var b=a.length-1;b>=0;b--){var c=a[b][h];if(!c.modified)switch(c.type){case m.ES5Array:V(c)&&O(c);break;case m.ES5Object:ma(c)&&O(c);break}}}function U(a){if(!a||typeof a!=="object")return;var b=a[h];if(!b)return;var c=b.base,d=b.draft,e=b.assigned;a=b.type;if(a===m.ES5Object)q(d,function(a){if(a===h)return;c[a]===void 0&&!s(c,a)?(e[a]=!0,O(b)):e[a]||U(d[a])}),q(c,function(a){d[a]===void 0&&!s(d,a)&&(e[a]=!1,O(b))});else if(a===m.ES5Array){V(b)&&(O(b),e.length=!0);if(d.length=0;d--){var e=c[d],f=b[e];if(f===void 0&&!s(b,e))return!0;else{e=a[e];var g=e&&e[h];if(g?g.base!==f:!u(e,f))return!0}}return c.length!==Object.keys(b).length}function V(a){var b=a.draft;if(b.length!==a.base.length)return!0;a=Object.getOwnPropertyDescriptor(b,b.length-1);return a&&!a.get?!0:!1}var na=function(b){if(!b)throw new Error("Map is not polyfilled");k(a,b);function a(a,b){this[h]={type:m.Map,parent:b,scope:b?b.scope:C.current,modified:!1,finalized:!1,copy:void 0,assigned:void 0,base:a,draft:this,isManual:!1,revoked:!1};return this}b=a.prototype;Object.defineProperty(b,"size",{get:function(){return x(this[h]).size},enumerable:!0,configurable:!0});b.has=function(a){return x(this[h]).has(a)};b.set=function(a,b){var c=this[h];S(c);x(c).get(a)!==b&&(W(c),c.scope.immer.markChanged(c),c.assigned.set(a,!0),c.copy.set(a,b),c.assigned.set(a,!0));return this};b["delete"]=function(a){if(!this.has(a))return!1;var b=this[h];S(b);W(b);b.scope.immer.markChanged(b);b.assigned.set(a,!1);b.copy["delete"](a);return!0};b.clear=function(){var a=this[h];S(a);W(a);a.scope.immer.markChanged(a);a.assigned=new Map();return a.copy.clear()};b.forEach=function(a,b){var c=this,d=this[h];x(d).forEach(function(d,e,f){a.call(b,c.get(e),e,c)})};b.get=function(a){var b=this[h];S(b);var c=x(b).get(a);if(b.finalized||!o(c))return c;if(c!==b.base.get(a))return c;c=b.scope.immer.createProxy(c,b);W(b);b.copy.set(a,c);return c};b.keys=function(){return x(this[h]).keys()};b.values=function(){var a,b=this,c=this.keys();return a={},a[i]=function(){return b.values()},a.next=function(){var a=c.next();if(a.done)return a;a=b.get(a.value);return{done:!1,value:a}},a};b.entries=function(){var a,b=this,c=this.keys();return a={},a[i]=function(){return b.entries()},a.next=function(){var a=c.next();if(a.done)return a;var d=b.get(a.value);return{done:!1,value:[a.value,d]}},a};b[i]=function(){return this.entries()};return a}(Map);function oa(a,b){return new na(a,b)}function W(a){a.copy||(a.assigned=new Map(),a.copy=new Map(a.base))}var pa=function(b){if(!b)throw new Error("Set is not polyfilled");k(a,b);function a(a,b){this[h]={type:m.Set,parent:b,scope:b?b.scope:C.current,modified:!1,finalized:!1,copy:void 0,base:a,draft:this,drafts:new Map(),revoked:!1,isManual:!1};return this}b=a.prototype;Object.defineProperty(b,"size",{get:function(){return x(this[h]).size},enumerable:!0,configurable:!0});b.has=function(a){var b=this[h];S(b);if(!b.copy)return b.base.has(a);if(b.copy.has(a))return!0;return b.drafts.has(a)&&b.copy.has(b.drafts.get(a))?!0:!1};b.add=function(a){var b=this[h];S(b);b.copy?b.copy.add(a):b.base.has(a)||(X(b),b.scope.immer.markChanged(b),b.copy.add(a));return this};b["delete"]=function(a){if(!this.has(a))return!1;var b=this[h];S(b);X(b);b.scope.immer.markChanged(b);return b.copy["delete"](a)||(b.drafts.has(a)?b.copy["delete"](b.drafts.get(a)):!1)};b.clear=function(){var a=this[h];S(a);X(a);a.scope.immer.markChanged(a);return a.copy.clear()};b.values=function(){var a=this[h];S(a);X(a);return a.copy.values()};b.entries=function(){var a=this[h];S(a);X(a);return a.copy.entries()};b.keys=function(){return this.values()};b[i]=function(){return this.values()};b.forEach=function(a,b){var c=this.values(),d=c.next();while(!d.done)a.call(b,d.value,d.value,this),d=c.next()};return a}(Set);function qa(a,b){return new pa(a,b)}function X(a){a.copy||(a.copy=new Set(),a.base.forEach(function(b){if(o(b)){var c=a.scope.immer.createProxy(b,a);a.drafts.set(b,c);a.copy.add(c)}else a.copy.add(b)}))}function ra(a,b,c,d){switch(a.type){case m.ProxyObject:case m.ES5Object:case m.Map:return ta(a,b,c,d);case m.ES5Array:case m.ProxyArray:return sa(a,b,c,d);case m.Set:return ua(a,b,c,d)}}function sa(b,c,d,e){var a,f=b.base,g=b.assigned;b=b.copy;b||B();b.lengthh&&f[i-1]===b[i+a-1])--i;for(h=h;h=i;--h){var j=c.concat([h]);d[g+h-i]={op:"add",path:j,value:b[h]};e.push({op:"remove",path:j})}}function ta(a,b,c,d){var e=a.base,f=a.copy;q(a.assigned,function(a,g){var h=t(e,a),i=t(f,a);g=g?s(e,a)?"replace":"add":"remove";if(h===i&&g==="replace")return;a=b.concat(a);c.push(g==="remove"?{op:g,path:a}:{op:g,path:a,value:i});d.push(g==="add"?{op:"remove",path:a}:g==="remove"?{op:"add",path:a,value:h}:{op:"replace",path:a,value:h})})}function ua(a,b,c,d){var e=a.base,f=a.copy,g=0;e.forEach(function(a){if(!f.has(a)){var e=b.concat([g]);c.push({op:"remove",path:e,value:a});d.unshift({op:"add",path:e,value:a})}g++});g=0;f.forEach(function(a){if(!e.has(a)){var f=b.concat([g]);c.push({op:"add",path:f,value:a});d.unshift({op:"remove",path:f,value:a})}g++})}function Y(a,b){b.forEach(function(b){var c=b.path,d=b.op;c.length||B();var e=a;for(var f=0;f=0;c--){var d=b[c];if(d.path.length===0&&d.op==="replace"){a=d.value;break}}return n(a)?Y(a,b):this.produce(a,function(a){return Y(a,b.slice(c+1))})};a.prototype.createProxy=function(a,b){a=v(a)?oa(a,b):w(a)?qa(a,b):this.useProxies?ga(a,b):ia(a,b);b=b?b.scope:C.current;b.drafts.push(a);return a};a.prototype.willFinalize=function(a,b,c){this.useProxies||ha(a,b,c)};a.prototype.markChanged=function(a){this.useProxies?L(a):O(a)};return a}();b=new a();$=b.produce;var xa=b.produceWithPatches.bind(b),ya=b.setAutoFreeze.bind(b),za=b.setUseProxies.bind(b),Aa=b.applyPatches.bind(b),Ba=b.createDraft.bind(b);b=b.finishDraft.bind(b);function Ca(a){return a}function Da(a){return a}g.Immer=a;g.applyPatches=Aa;g.castDraft=Ca;g.castImmutable=Da;g.createDraft=Ba;g["default"]=$;g.finishDraft=b;g.immerable=f;g.isDraft=n;g.isDraftable=o;g.nothing=e;g.original=ba;g.produce=$;g.produceWithPatches=xa;g.setAutoFreeze=ya;g.setUseProxies=za}var j=!1;function k(){j||(j=!0,i());return h.exports}function a(a){switch(a){case void 0:return k()}}e.exports=a}),null); /** * License: https://www.facebook.com/legal/license/t3hOLs8wlXy/ */ __d("react-is-16.8.6",[],(function(a,b,c,d,e,f){"use strict";var g={},h={exports:g};function i(){Object.defineProperty(g,"__esModule",{value:!0});var a="function"===typeof Symbol&&Symbol["for"],b=a?Symbol["for"]("react.element"):60103,c=a?Symbol["for"]("react.portal"):60106,d=a?Symbol["for"]("react.fragment"):60107,e=a?Symbol["for"]("react.strict_mode"):60108,f=a?Symbol["for"]("react.profiler"):60114,h=a?Symbol["for"]("react.provider"):60109,i=a?Symbol["for"]("react.context"):60110,j=a?Symbol["for"]("react.async_mode"):60111,k=a?Symbol["for"]("react.concurrent_mode"):60111,l=a?Symbol["for"]("react.forward_ref"):60112,m=a?Symbol["for"]("react.suspense"):60113,n=a?Symbol["for"]("react.memo"):60115,o=a?Symbol["for"]("react.lazy"):60116;function p(a){if("object"===typeof a&&null!==a){var g=a.$$typeof;switch(g){case b:switch(a=a.type,a){case j:case k:case d:case f:case e:case m:return a;default:switch(a=a&&a.$$typeof,a){case i:case l:case h:return a;default:return g}}case o:case n:case c:return g}}}function q(a){return p(a)===k}g.typeOf=p;g.AsyncMode=j;g.ConcurrentMode=k;g.ContextConsumer=i;g.ContextProvider=h;g.Element=b;g.ForwardRef=l;g.Fragment=d;g.Lazy=o;g.Memo=n;g.Portal=c;g.Profiler=f;g.StrictMode=e;g.Suspense=m;g.isValidElementType=function(a){return"string"===typeof a||"function"===typeof a||a===d||a===k||a===f||a===e||a===m||"object"===typeof a&&null!==a&&(a.$$typeof===o||a.$$typeof===n||a.$$typeof===h||a.$$typeof===i||a.$$typeof===l)};g.isAsyncMode=function(a){return q(a)||p(a)===j};g.isConcurrentMode=q;g.isContextConsumer=function(a){return p(a)===i};g.isContextProvider=function(a){return p(a)===h};g.isElement=function(a){return"object"===typeof a&&null!==a&&a.$$typeof===b};g.isForwardRef=function(a){return p(a)===l};g.isFragment=function(a){return p(a)===d};g.isLazy=function(a){return p(a)===o};g.isMemo=function(a){return p(a)===n};g.isPortal=function(a){return p(a)===c};g.isProfiler=function(a){return p(a)===f};g.isStrictMode=function(a){return p(a)===e};g.isSuspense=function(a){return p(a)===m}}var j=!1;function k(){j||(j=!0,i());return h.exports}b={};var l={exports:b};function m(){l.exports=k()}var n=!1;function o(){n||(n=!0,m());return l.exports}function a(a){switch(a){case void 0:return o()}}e.exports=a}),null); /** * License: https://www.facebook.com/legal/license/t3hOLs8wlXy/ */ __d("prop-types-15.7.2",["react-is-16.8.6","object-assign-4.1.1"],(function(a,b,c,d,e,f){"use strict";b("react-is-16.8.6");b("object-assign-4.1.1");c={};var g={exports:c};function h(){var a="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";g.exports=a}var i=!1;function j(){i||(i=!0,h());return g.exports}d={};var k={exports:d};function l(){function a(a,b,c,d,e){}a.resetWarningCache=function(){};k.exports=a}var m=!1;function n(){m||(m=!0,l());return k.exports}f={};var o={exports:f};function p(){var a=j();function b(){}function c(){}c.resetWarningCache=b;o.exports=function(){function d(b,c,d,e,f,g){if(g===a)return;b=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");b.name="Invariant Violation";throw b}d.isRequired=d;function e(){return d}e={array:d,bool:d,func:d,number:d,object:d,string:d,symbol:d,any:d,arrayOf:e,element:d,elementType:d,instanceOf:e,node:d,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:c,resetWarningCache:b};e.PropTypes=e;return e}}var q=!1;function r(){q||(q=!0,p());return o.exports}b={};var s={exports:b};function t(){s.exports=r()()}var u=!1;function v(){u||(u=!0,t());return s.exports}function a(a){switch(a){case void 0:return v();case"/checkPropTypes":return n()}}e.exports=a}),null);/*FB_PKG_DELIM*/ __d("CometLeftRailHeader.react",["fbt","ix","BaseHeading.react","BaseRow.react","BaseRowItem.react","CometBase.react","TetraIcon.react","TetraText.react","TetraTextPairing.react","fbicon","react"],(function(a,b,c,d,e,f,g,h,i){"use strict";var j,k=j||d("react"),l={auxiliary:{alignItems:"xuk3077",display:"x78zum5",flexBasis:"x1upgvki",flexGrow:"x1c4vz4f",flexShrink:"x2lah0s",justifyContent:"xl56j7k",maxHeight:"x1b12d3d",$$css:!0},auxiliaryFlexBasisAuto:{flexBasis:"xdl72j9",$$css:!0},auxiliaryInner:{display:"x78zum5",flexShrink:"x2lah0s",$$css:!0},backButton:{marginEnd:"x1h5jrl4",marginLeft:null,marginRight:null,$$css:!0},headingRows:{marginTop:"x1sy10c2",marginEnd:"xktsk01",marginBottom:"xod5an3",marginStart:"x1d52u69",$$css:!0},meta:{marginBottom:"xu06os2",$$css:!0},titleBlock:{flexBasis:"x1f0eagk",flexGrow:"x1iyjqo2",$$css:!0},titleBlockFlexBasisAuto:{flexBasis:"xdl72j9",$$css:!0}};function a(a){var b=a.auxiliary,e=a.backActionAddOn,f=a.disableProportional;f=f===void 0?!1:f;var g=a.isPrimaryHeading;g=g===void 0?!0:g;var j=a.meta,m=a.subTitle,n=a.subTitleType,o=a.title;a=a.xstyle;return k.jsxs(c("BaseRow.react"),{verticalAlign:"center",xstyle:[l.headingRows,a],children:[e!=null&&k.jsx(c("BaseRowItem.react"),{xstyle:l.backButton,children:k.jsx(c("TetraIcon.react"),babelHelpers["extends"]({},e,{"aria-label":h._("__JHASH__NdA_cK5EiDA__JHASH__"),color:"secondary",icon:d("fbicon")._(i("512647"),20)}))}),k.jsx(c("BaseRowItem.react"),{expanding:!0,children:k.jsxs(c("BaseRow.react"),{verticalAlign:"center",children:[k.jsxs(c("BaseRowItem.react"),{expanding:!0,useDeprecatedStyles:!0,xstyle:[l.titleBlock,f&&l.titleBlockFlexBasisAuto],children:[j!=null&&k.jsx(c("CometBase.react"),{xstyle:l.meta,children:j}),k.jsx(c("TetraTextPairing.react"),{headline:k.jsx(c("BaseHeading.react"),{isPrimaryHeading:g,children:o}),level:1,meta:m!=null?k.jsx(c("TetraText.react"),{color:"secondary",type:n!=null?n:"body3",children:m}):void 0})]}),b!=null&&k.jsx(c("BaseRowItem.react"),{xstyle:[l.auxiliary,f&&l.auxiliaryFlexBasisAuto],children:k.jsx("div",{className:"x78zum5 x2lah0s",children:b})})]})})]})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("CometLeftRailPrimaryContext",["react"],(function(a,b,c,d,e,f,g){"use strict";var h;a=h||d("react");b=a.createContext(!1);g["default"]=b}),98); __d("BaseViewportMarginsAddonContextProvider.react",["BaseViewportMarginsContext","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||(h=d("react"));b=h;var j=b.useContext,k=b.useMemo,l={bottom:0,left:0,right:0,top:0},m=function(a,b){a===void 0&&(a=l);b===void 0&&(b=l);return{bottom:a.bottom+b.bottom,left:a.left+b.left,right:a.right+b.right,top:a.top+b.top}};function a(a){var b=a.addon;a=a.children;var d=j(c("BaseViewportMarginsContext")),e=k(function(){return typeof b==="number"?babelHelpers["extends"]({},l,{top:b}):b},[b]),f=k(function(){return m(d,e)},[e,d]);return i.jsx(c("BaseViewportMarginsContext").Provider,{value:f,children:a})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("CometInlinePressableText.react",["CometPressable.react","CometTextContext","CometTextTypography","isCometRouterUrl","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||(h=d("react")),j=h.useContext,k={disabled:{color:"x1dntmbh",":hover_textDecoration":"x1lku1pv",$$css:!0},hoverUnderlineDisabled:{":hover_textDecoration":"x1lku1pv",$$css:!0},root:{color:"x1heor9g",":hover_textDecoration":"xt0b8zv",$$css:!0}},l={blueLink:{color:"x1fey0fg",$$css:!0},disabled:{color:"x1dntmbh",$$css:!0},highlight:{color:"x1qq9wsj",$$css:!0},negative:{color:"x1a1m0xk",$$css:!0},positive:{color:"x6u5lvz",$$css:!0},primary:{color:"xzsf02u",$$css:!0},secondary:{color:"xi81zsa",$$css:!0},tertiary:{color:"x12scifz",$$css:!0},white:{color:"x14ctfv",$$css:!0}},m={bold:{fontWeight:"x1xlr1w8",$$css:!0},medium:{fontWeight:"xk50ysn",$$css:!0},normal:{fontWeight:"xo1l8bm",$$css:!0},semibold:{fontWeight:"x1s688f",$$css:!0}};function a(a,b){var d=a.children,e=a.color,f=a.disabled;f=f===void 0?!1:f;var g=a.hoverUnderlineDisabled;g=g===void 0?!1:g;var h=a.linkProps,p=a.onHoverIn,q=a.onHoverOut,r=a.onPress,s=a.testid;s=a.weight;a=j(c("CometTextContext"));var t=!1;if(h!=null){var u=h.target,v=h.url;t=u==="_blank"||u==null&&v!=null&&v!=="#"&&!c("isCometRouterUrl")(v)}v=(u=e)!=null?u:a!=null?n(a.type,t):"inherit";u=(e=s)!=null?e:a!=null?o(a.type,t):"inherit";return i.jsx(c("CometPressable.react"),{disabled:f,display:"inline",linkProps:h,onHoverIn:p,onHoverOut:q,onPress:r,overlayDisabled:!0,ref:b,testid:void 0,xstyle:[k.root,v!=="inherit"&&l[v],u!=="inherit"&&m[u],g&&k.hoverUnderlineDisabled,f&&k.disabled],children:d})}a.displayName=a.name+" [from "+f.id+"]";function n(a,b){switch(a){case"headline3":case"headline4":case"body1":case"body2":case"body3":case"body4":return b?"blueLink":"primary";case"meta1":case"meta2":case"meta3":case"meta4":return b?"blueLink":"inherit";default:return"inherit"}}function o(a,b){if(!b){b=p(a);return c("CometTextTypography")[b].fontWeight}return"inherit"}function p(a){switch(a){case"headline3":return"headlineEmphasized3";case"headline4":return"headlineEmphasized4";case"body1":return"bodyLink1";case"body2":return"bodyLink2";case"body3":return"bodyLink3";case"body4":return"bodyLink4";default:return a}}b=i.forwardRef(a);g["default"]=b}),98); __d("NullState404FailedLoading",["cr:2306"],(function(a,b,c,d,e,f,g){"use strict";g["default"]=b("cr:2306")}),98); __d("NullStatePermissions",["cr:3587"],(function(a,b,c,d,e,f,g){"use strict";g["default"]=b("cr:3587")}),98); __d("NullState404FailedLoadingFB",["IconSource","bx"],(function(a,b,c,d,e,f,g){"use strict";b={dark:new(c("IconSource"))("nullStateGlyphs",(a=c("bx")).getURL(a("1160057")),112),"default":new(c("IconSource"))("nullStateGlyphs",a.getURL(a("1160058")),112)};g["default"]=b}),98); __d("NullStatePermissionsFB",["IconSource"],(function(a,b,c,d,e,f,g){"use strict";a={dark:new(c("IconSource"))("nullStateGlyphs","/images/comet/empty_states_icons/permissions/permissions_dark_mode.svg",112),"default":new(c("IconSource"))("nullStateGlyphs","/images/comet/empty_states_icons/permissions/permissions_gray_wash.svg",112)};g["default"]=a}),98); __d("useCometPassiveWindowSize",["ExecutionEnvironment","react","removeFromArray"],(function(a,b,c,d,e,f,g){"use strict";var h,i;b=i||d("react");var j=b.useEffect,k=b.useRef,l=b.useState;function m(){if((h||(h=c("ExecutionEnvironment"))).canUseDOM)try{return{innerHeight:window.innerHeight,innerWidth:window.innerWidth,outerHeight:window.outerHeight,outerWidth:window.outerWidth}}catch(a){return{innerHeight:0,innerWidth:0,outerHeight:0,outerWidth:0}}return{innerHeight:0,innerWidth:0,outerHeight:0,outerWidth:0}}function a(){var a=k([]),b=l(function(){return{getCurrent:function(){return m()},subscribe:function(b){a.current.push(b);return{remove:function(){c("removeFromArray")(a.current,b)}}}}}),d=b[0];b[1];j(function(){var b=function(){var b=Array.from(a.current);b.forEach(function(a){return a()})};window.addEventListener("resize",b);return function(){window.removeEventListener("resize",b)}},[]);return d}g["default"]=a}),98); __d("useCometWindowSize",["CometThrottle","react","useCometPassiveWindowSize"],(function(a,b,c,d,e,f,g){"use strict";var h;b=h||d("react");var i=b.useEffect,j=b.useState;function a(a){a===void 0&&(a=500);var b=c("useCometPassiveWindowSize")(),d=b.getCurrent();d=j(d);var e=d[0],f=d[1];i(function(){var d=c("CometThrottle")(function(){f(b.getCurrent())},a),e=b.subscribe(d);return function(){d.cancel(),e.remove()}},[b,a]);return e}g["default"]=a}),98); __d("CometAppNavigationTabBarContainer.react",["CometBase.react","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||d("react"),j={content:{display:"x78zum5",flexDirection:"xdt5ytf",justifyContent:"x13a6bvl",$$css:!0},root:{backgroundColor:"x1ve1bff",display:"x78zum5",flexDirection:"xdt5ytf",height:"x1s65kcs",$$css:!0},shadow:{backgroundImage:"xnzfen",backgroundRepeat:"x1w3jsh0",backgroundSize:"x1wbvgsv",bottom:"xsugpx9",end:"xds687c",left:null,right:null,height:"x1hagigm",pointerEvents:"x47corl",position:"x10l6tqk",start:"x17qophe",$$css:!0}};function a(a){var b=a.isShadowExcluded;b=b===void 0?!1:b;var d=a.children,e=a.xstyle;a=babelHelpers.objectWithoutPropertiesLoose(a,["isShadowExcluded","children","xstyle"]);return i.jsxs(c("CometBase.react"),babelHelpers["extends"]({},a,{testid:void 0,xstyle:[j.root,e],children:[i.jsx(c("CometBase.react"),{xstyle:j.content,children:d}),!b&&i.jsx(c("CometBase.react"),{xstyle:j.shadow})]}))}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("useCometDisplayTimingTracker",["InteractionTracingMetrics","performanceNow","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i;b=i||d("react");var j=b.useCallback,k=b.useRef;function a(a,b){var d=k(null);return j(function(e){if(d.current!==e){d.current=e;if(e){var f=(h||(h=c("performanceNow")))();b!=null?c("InteractionTracingMetrics").addMountPoint(b,f,a):c("InteractionTracingMetrics").currentInteractionLogger().forEach(function(b){return c("InteractionTracingMetrics").addMountPoint(b.traceId,f,a)})}}},[b,a])}g["default"]=a}),98); __d("CometNotificationsTimestamp.react",["CometRelativeTimestamp.react","TetraText.react","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||d("react");function a(a){var b=a.date,d=a.format;a=a.seenAndRead;return a?i.jsx(c("TetraText.react"),{color:"secondary",testid:void 0,type:"body4",children:i.jsx(c("CometRelativeTimestamp.react"),{date:b,format:(a=d)!=null?a:"normal"})}):i.jsx(c("TetraText.react"),{color:"highlight",testid:void 0,type:"bodyLink4",children:i.jsx(c("CometRelativeTimestamp.react"),{date:b,format:(a=d)!=null?a:"normal"})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("CometMediaViewerFullscreenContext",["react"],(function(a,b,c,d,e,f,g){"use strict";var h;a=h||d("react");b=a.createContext(!1);g["default"]=b}),98); __d("CometSetMediaViewerFullscreenContext",["react","recoverableViolation"],(function(a,b,c,d,e,f,g){"use strict";var h;a=h||d("react");b=a.createContext(function(){c("recoverableViolation")("No provider of CometSetMediaViewerFullscreenContext exists","comet_ui")});g["default"]=b}),98); __d("PlusFilled20.svg.react",["react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||d("react");function a(a){return i.jsxs("svg",babelHelpers["extends"]({viewBox:"0 0 20 20",width:"1em",height:"1em",fill:"currentColor"},a,{children:[a.title!=null&&i.jsx("title",{children:a.title}),a.children!=null&&i.jsx("defs",{children:a.children}),i.jsx("g",{fillRule:"evenodd",transform:"translate(-446 -350)",children:i.jsxs("g",{fillRule:"nonzero",children:[i.jsx("path",{d:"M95 201.5h13a1 1 0 1 0 0-2H95a1 1 0 1 0 0 2z",transform:"translate(354.5 159.5)"}),i.jsx("path",{d:"M102.5 207v-13a1 1 0 1 0-2 0v13a1 1 0 1 0 2 0z",transform:"translate(354.5 159.5)"})]})})]}))}a.displayName=a.name+" [from "+f.id+"]";a._isSVG=!0;b=a;g["default"]=b}),98); __d("FocusAppWrapper.react",["ActiveFocusRegionUtilsContext","FocusRegion.react","react","useUnsafeRef_DEPRECATED"],(function(a,b,c,d,e,f,g){var h,i,j=i||(i=d("react"));b=i;var k=b.useCallback,l=b.useRef;function a(a){a=a.children;var b=l(null),e=k(function(){return b.current},[b]),f=k(function(a){b.current=a},[b]);e=(h||(h=c("useUnsafeRef_DEPRECATED")))({getActiveFocusRegion:e,setActiveFocusRegion:f});return j.jsx(c("ActiveFocusRegionUtilsContext").Provider,{value:e.current,children:j.jsx(d("FocusRegion.react").FocusRegion,{children:a})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("XCometFriendingControllerRouteBuilder",["jsRouteBuilder"],(function(a,b,c,d,e,f,g){a=c("jsRouteBuilder")("/friends/",Object.freeze({}),void 0);b=a;g["default"]=b}),98); __d("XCometNotificationsControllerRouteBuilder",["jsRouteBuilder"],(function(a,b,c,d,e,f,g){a=c("jsRouteBuilder")("/notifications/",Object.freeze({}),void 0);b=a;g["default"]=b}),98); __d("XCometProfileReactivationControllerRouteBuilder",["jsRouteBuilder"],(function(a,b,c,d,e,f,g){a=c("jsRouteBuilder")("/settings/reactivation/",Object.freeze({}),void 0);b=a;g["default"]=b}),98); __d("useRefetchablePreloadedQuery",["CometRelay","react","react-relay/relay-hooks/preloadQuery_DEPRECATED","recoverableViolation"],(function(a,b,c,d,e,f,g){"use strict";var h;b=h||d("react");var i=b.useCallback,j=b.useState;function a(a,b,e){e===void 0&&(e="network-only");var f=d("CometRelay").useRelayEnvironment(),g=j({cacheBreaker:0,currentQueryReference:b,originalQueryReference:b}),h=g[0],k=g[1];h.originalQueryReference!==b&&k({cacheBreaker:0,currentQueryReference:b,originalQueryReference:b});var l=h.cacheBreaker;g=i(function(b){if(e==="store-only"){c("recoverableViolation")("useRefetchablePreloadedQuery: `refetch()` does not support `store-only` fetchPolicy","comet_feed");return}var d=l+1,g=c("react-relay/relay-hooks/preloadQuery_DEPRECATED")(f,a,b,{fetchKey:d,fetchPolicy:e});k(function(a){return{cacheBreaker:d,currentQueryReference:g,originalQueryReference:a.originalQueryReference}})},[l,f,a,e]);return[g,h.currentQueryReference,l]}g["default"]=a}),98); __d("CometRouterFocusManager.react",["CometRouterStateContext","FocusAppWrapper.react","FocusManager","focusScopeQueries","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||(h=d("react"));e=h;var j=e.useCallback,k=e.useContext,l=e.useEffect,m=e.useMemo,n=e.useRef,o=i.createContext({requestFocus:function(a,b,c){}});function a(){return k(o)}function b(a){a=a.children;var b=n(null),e=n([]),f=k(c("CometRouterStateContext")),g=f==null?void 0:f.routeKey,h=f==null?void 0:f.focusReturnRef,p=n((f=g)!=null?f:null),q=n((f=g)!=null?f:null),r=j(function(a){if(p.current===a)return;if(b.current)if(b.current.focusKey===a)return;else window.cancelAnimationFrame(b.current.callback),b.current=null;b.current={callback:window.requestAnimationFrame(function(){if(p.current===a)return;b.current=null;var c=e.current;e.current=[];c.sort(function(a,b){return a.focusLevel-b.focusLevel});var f=document.activeElement;for(var g=0;g")+": "+(b==null?void 0:b.errorType)+", "+(b==null?void 0:b.errorMsg),"comet_infra")});return function(){d=!0}}},[b,f,a,e]);return(g==null?void 0:g.type)==="valid_route"?g:null}g["default"]=a}),98);/*FB_PKG_DELIM*/ __d("IntlDateStringsTypedLoggerLite",["generateLiteTypedLogger"],(function(a,b,c,d,e,f){"use strict";e.exports=b("generateLiteTypedLogger")("logger:IntlDateStringsLoggerConfig")}),null); __d("IntlDateFormatsCLDRWidthEnum",[],(function(a,b,c,d,e,f){a=Object.freeze({FULL:"full",LONG:"long",MEDIUM:"medium",SHORT:"short"});f["default"]=a}),66); __d("RegionDatetimePatterns",[],(function(a,b,c,d,e,f){a=Object.freeze({DATE_SHORT:"date_short",DATETIME_SHORT_SHORT:"dateTime_short_short",TIME_SHORT:"time_short",TIME_MEDIUM:"time_medium",J:"j"});f["default"]=a}),66); __d("getCLDRLocalizedFormat",["CLDRDateFormatConfig","FBLogger","IntlDateFormatsCLDRWidthEnum","RegionDatetimePatterns","flipObject","unrecoverableViolation"],(function(a,b,c,d,e,f){"use strict";var g=b("CLDRDateFormatConfig").CLDRConfigeratorFormats,h=b("CLDRDateFormatConfig").CLDRRegionalConfigeratorFormats,i=b("flipObject")(b("RegionDatetimePatterns"));function a(a){if(a==null)throw b("unrecoverableViolation")('Format: "'+a+'", not supported by configurator.',"internationalization");var c,d,e=a.split("_"),f=e[0];e=e.slice(1);var l=f+"Formats";a in i?d=h:d=g;switch(l){case"dateFormats":case"timeFormats":var m=j(e[0]);if(m==null)throw b("unrecoverableViolation")('Format: "'+a+'", category: "'+l+'", with unsupported width: "undefined"',"internationalization");c=d[l][m];if(c==null)throw b("unrecoverableViolation")('Format: "'+a+'", category: "'+l+'", '+('width: "'+m+'", with unsupported localization'),"internationalization");break;case"dateTimeFormats":m=j(e[0]);e=j(e[1]);if(m==null||e==null)throw b("unrecoverableViolation")('Format: "'+a+'", category: "'+l+'", with unsupported width: dateFormatKey="undefined" timeFormatKey="undefined"',"internationalization");c=d[l][m];var n=d.dateFormats[m],o=d.timeFormats[e];if(c==null)throw b("unrecoverableViolation")('Format: "'+a+'", category: "'+l+'", '+('date width: "'+m+'", and time width: ')+('"'+e+'", with unsupported localization'),"internationalization");c=c.replace("{0}",o).replace("{1}",n);break;default:l="availableFormats";m=f;m.includes("j")&&(m=k(m,d.timeFormats));c=d[l][m];if(c==null)throw b("unrecoverableViolation")('Format: "'+a+'", with key: "'+m+'", not supported by CLDR',"internationalization")}return c}function j(a){if(a==null)throw b("unrecoverableViolation")("Expected CLDR width key to not be null","internationalization");return b("IntlDateFormatsCLDRWidthEnum")[a.toUpperCase()]}function k(a,c){var d;c=c["short"];c==null?(b("FBLogger")("formatDate").blameToPreviousFile().warn('CLDR `timeFormat`, width `short` required for 24 hour localization not found for availableKey: "%s"',a),d="h"):d=c.includes("H")?"H":"h";return a.replace("j",d)}e.exports=a}),null); __d("intlGetDateNumerics",[],(function(a,b,c,d,e,f){"use strict";function a(a,b){b=b.utc===!0;b?b={dateDay:a.getUTCDate(),dateDayOfWeek:a.getUTCDay(),dateMonth:a.getUTCMonth(),dateYear:a.getUTCFullYear(),dateHours:a.getUTCHours(),dateMinutes:a.getUTCMinutes(),dateSeconds:a.getUTCSeconds(),dateMilliseconds:a.getUTCMilliseconds()}:b={dateDay:a.getDate(),dateDayOfWeek:a.getDay(),dateMonth:a.getMonth(),dateYear:a.getFullYear(),dateHours:a.getHours(),dateMinutes:a.getMinutes(),dateSeconds:a.getSeconds(),dateMilliseconds:a.getMilliseconds()};return b}f["default"]=a}),66); __d("DateStrings",["fbt"],(function(a,b,c,d,e,f,g,h){var i,j,k,l,m,n,o,p,q;function a(a){n||(n=[h._("__JHASH__kRDmnexoZ4c__JHASH__"),h._("__JHASH__Bn6mK_CYpOQ__JHASH__"),h._("__JHASH__0CKO3e6zlkG__JHASH__"),h._("__JHASH__knM-pwAZFhd__JHASH__"),h._("__JHASH__9awSVez1lYX__JHASH__"),h._("__JHASH__e-RtDb71wOv__JHASH__"),h._("__JHASH__hC9TTGKI1In__JHASH__")]);return n[a]}function b(a){p||(p=[h._("__JHASH__YUdS_z7d_6d__JHASH__"),h._("__JHASH__Ovx6Ymroe_A__JHASH__"),h._("__JHASH__eFqKUz2_kl3__JHASH__"),h._("__JHASH__E_RiUxD0fWh__JHASH__"),h._("__JHASH__C3_a7H_J7rx__JHASH__"),h._("__JHASH__5CNevM2J02m__JHASH__"),h._("__JHASH__4EW2wfH5WZD__JHASH__")]);return p[a]}function c(a){o||(o=[h._("__JHASH__2PszcrK7vzP__JHASH__"),h._("__JHASH__TlMpxfMswL-__JHASH__"),h._("__JHASH__HgsLhEx6Rq0__JHASH__"),h._("__JHASH__av9KuRGnSoy__JHASH__"),h._("__JHASH__Y5eYWyns-vW__JHASH__"),h._("__JHASH__Pcyy4Au35vm__JHASH__"),h._("__JHASH__RuPRqeVJ1f___JHASH__")]);return o[a]}function d(a){q||(q=[h._("__JHASH__I8rDd8HrSIY__JHASH__"),h._("__JHASH__mJbm9skBmiP__JHASH__"),h._("__JHASH__ZG1m85BJ2mG__JHASH__"),h._("__JHASH__3alVL8FSzF2__JHASH__"),h._("__JHASH__grH3eggt_PS__JHASH__"),h._("__JHASH__o7IIktT8uZl__JHASH__"),h._("__JHASH__OO7gVuw6-67__JHASH__")]);return q[a]}function r(){i=[h._("__JHASH__U3IUNjyAWys__JHASH__"),h._("__JHASH__8KKnx7Y4OWL__JHASH__"),h._("__JHASH__Au0OETL-blc__JHASH__"),h._("__JHASH__Z7N5jsVLWYq__JHASH__"),h._("__JHASH__YbgiKmRzTZL__JHASH__"),h._("__JHASH__WkH27C2YOr9__JHASH__"),h._("__JHASH__c4u4vrQldeW__JHASH__"),h._("__JHASH__tT8qwNVc_bY__JHASH__"),h._("__JHASH__38VZPXukBcq__JHASH__"),h._("__JHASH__oxEkc0tozky__JHASH__"),h._("__JHASH__TydaAthEBOx__JHASH__"),h._("__JHASH__r3FuzNa_oUv__JHASH__")]}function e(a){i||r();return i[a-1]}function f(){i||r();return i.slice()}function s(a){l||(l=[h._("__JHASH__j3lAMkdtm8D__JHASH__"),h._("__JHASH__W3ogesAukPo__JHASH__"),h._("__JHASH__VbTrxXWL9LO__JHASH__"),h._("__JHASH__tXlQvgnA6QB__JHASH__"),h._("__JHASH__Qe2L3rtt4jY__JHASH__"),h._("__JHASH__tzOs87oUqbm__JHASH__"),h._("__JHASH__n0EAUTpeC58__JHASH__"),h._("__JHASH___4QPpdl9jy3__JHASH__"),h._("__JHASH__kTuP_o9kcON__JHASH__"),h._("__JHASH__PfWuUW912mj__JHASH__"),h._("__JHASH__z4eG5BJcKe2__JHASH__"),h._("__JHASH__5oFCWzoMCPo__JHASH__")]);return l[a-1]}function t(a){j||(j=[h._("__JHASH__DsKYj1oLo19__JHASH__"),h._("__JHASH__TCuDpRnz2mT__JHASH__"),h._("__JHASH__khl_0IT7mYX__JHASH__"),h._("__JHASH__3Y3hi7sR1cI__JHASH__"),h._("__JHASH__IHrjywEAvHt__JHASH__"),h._("__JHASH__8kF4Ak1BW3a__JHASH__"),h._("__JHASH__KKfFBFLyAgh__JHASH__"),h._("__JHASH__XOJ0ufAxR5d__JHASH__"),h._("__JHASH__ZnuGT3uobCp__JHASH__"),h._("__JHASH__9OpDbaaGtTr__JHASH__"),h._("__JHASH__-J5NrwJB53G__JHASH__"),h._("__JHASH__HtgyaBTmaos__JHASH__")]);return j[a-1]}function u(a){k||(k=[h._("__JHASH__VoVPp7VE97p__JHASH__"),h._("__JHASH__TiP-2xvGcWh__JHASH__"),h._("__JHASH__ju79mFQ_J1L__JHASH__"),h._("__JHASH__leLBmZcPlvt__JHASH__"),h._("__JHASH__sAWIM7lXq_F__JHASH__"),h._("__JHASH__cbeCOd2W11J__JHASH__"),h._("__JHASH__3U-gTYEZ8gT__JHASH__"),h._("__JHASH___9B2djcyQhj__JHASH__"),h._("__JHASH__fcwpPGGy3C5__JHASH__"),h._("__JHASH__TsO3woeUmUo__JHASH__"),h._("__JHASH__TS8b5DqPYc0__JHASH__"),h._("__JHASH__FyOcyxpoDK6__JHASH__")]);return k[a-1]}function v(a){m||(m=["",h._("__JHASH__kgS-kTTebvA__JHASH__"),h._("__JHASH__PoFxBBtz8zw__JHASH__"),h._("__JHASH__YBu_d81rLYN__JHASH__"),h._("__JHASH___dd9pSVEWhQ__JHASH__"),h._("__JHASH__utwmpovoP9t__JHASH__"),h._("__JHASH__Qg6aLKsTxP6__JHASH__"),h._("__JHASH__3NvZ16eqNhs__JHASH__"),h._("__JHASH__OCFkSiFBu4g__JHASH__"),h._("__JHASH__ntqZQ2awzy6__JHASH__"),h._("__JHASH__lZeKEl9HM0Y__JHASH__"),h._("__JHASH__JXCL249ubYt__JHASH__"),h._("__JHASH__s8NeUaTiQSK__JHASH__"),h._("__JHASH__M9rR63ZDVJg__JHASH__"),h._("__JHASH__Mack7POOKmJ__JHASH__"),h._("__JHASH__lVy7FkMjYVB__JHASH__"),h._("__JHASH__ghJcI27I4P1__JHASH__"),h._("__JHASH__6szdczmyHdq__JHASH__"),h._("__JHASH__LDAc2xxYdM4__JHASH__"),h._("__JHASH__wsIr3m2BjUW__JHASH__"),h._("__JHASH___9rIVmXL7rL__JHASH__"),h._("__JHASH__MnQZ282iK_0__JHASH__"),h._("__JHASH__L33d1oEPeCr__JHASH__"),h._("__JHASH__hjxQNJl9gEN__JHASH__"),h._("__JHASH__BcmYmPTnObY__JHASH__"),h._("__JHASH__ODyQeBDQBIs__JHASH__"),h._("__JHASH__RskCzcAM8LN__JHASH__"),h._("__JHASH__5WsyHDqOUBa__JHASH__"),h._("__JHASH__VCG-VjG5RBC__JHASH__"),h._("__JHASH__DsafOmqGRqB__JHASH__"),h._("__JHASH__rh5lCQfsKaN__JHASH__"),h._("__JHASH__Yxv-oP9L52u__JHASH__")]);return m[a]}function w(a){switch(a){case 1:return h._("__JHASH__vgDiYSO4D18__JHASH__");case 2:return h._("__JHASH__yIho--MGzhd__JHASH__");case 3:return h._("__JHASH__Mr-vl7ybhSv__JHASH__");case 4:return h._("__JHASH__BZIPNdku1Iy__JHASH__");case 5:return h._("__JHASH__m-6hvKNWaTG__JHASH__");case 6:return h._("__JHASH__wWqjYlrkNBH__JHASH__");case 7:return h._("__JHASH__guZWXE222BT__JHASH__");case 8:return h._("__JHASH__kWv6eHETdUi__JHASH__");case 9:return h._("__JHASH__z7G_mkSQ-Vp__JHASH__");case 10:return h._("__JHASH__7rXPmxBp1HA__JHASH__");case 11:return h._("__JHASH__8g5Bsbx1ntS__JHASH__");case 12:return h._("__JHASH__nFdyXihWX4G__JHASH__");case 13:return h._("__JHASH__O9-p7jWhZMi__JHASH__");case 14:return h._("__JHASH__juGaZXguzbw__JHASH__");case 15:return h._("__JHASH__t-6cIQHx7zC__JHASH__");case 16:return h._("__JHASH__wqchbLBpuzR__JHASH__");case 17:return h._("__JHASH__Z-bLignwyiH__JHASH__");case 18:return h._("__JHASH__ZPrynDoTudj__JHASH__");case 19:return h._("__JHASH__9nPymx7YDyb__JHASH__");case 20:return h._("__JHASH___ZrW3bFPgTr__JHASH__");case 21:return h._("__JHASH__XPYxgF4SXkG__JHASH__");case 22:return h._("__JHASH__siaQD07Sf09__JHASH__");case 23:return h._("__JHASH__uymTAdRpc45__JHASH__");case 24:return h._("__JHASH__5uz8UT0C04G__JHASH__");case 25:return h._("__JHASH__g4Zn_nnZ0uM__JHASH__");case 26:return h._("__JHASH__JfIlYLuuxft__JHASH__");case 27:return h._("__JHASH__6c7RsCoaOQ6__JHASH__");case 28:return h._("__JHASH__lPaPgjA3eSI__JHASH__");case 29:return h._("__JHASH__1wsyMnSESSk__JHASH__");case 30:return h._("__JHASH__Y53KSGgC1Fh__JHASH__");case 31:return h._("__JHASH__w0e0M9zDCki__JHASH__");default:throw new Error("Invalid day of month.")}}function x(){return h._("__JHASH__P452d9KfMZB__JHASH__")}function y(){return h._("__JHASH__14B8uRJNqzB__JHASH__")}function z(){return h._("__JHASH__ZbRG7ZxcL_s__JHASH__")}function A(){return h._("__JHASH__Yvba8YT7D76__JHASH__")}function B(){return h._("__JHASH__mY3ExKoiSbu__JHASH__")}function C(){return h._("__JHASH__6X7o_ijb67M__JHASH__")}function D(){return h._("__JHASH__bhyhew9ts33__JHASH__")}function E(){return h._("__JHASH__fTaCK1AHc1___JHASH__")}function F(){return h._("__JHASH__DRLxNWH7L4s__JHASH__")}function G(){return h._("__JHASH__orXzp-0tokx__JHASH__")}function H(a){return a<12?h._("__JHASH__ufsASNxZ34K__JHASH__"):h._("__JHASH__Tnd5tvqN3Qj__JHASH__")}function I(a){return a<12?h._("__JHASH__wca5cRZ0pth__JHASH__"):h._("__JHASH__-AlZvLqfvQd__JHASH__")}g.getWeekdayName=a;g.getUppercaseWeekdayName=b;g.getWeekdayNameShort=c;g.getUppercaseWeekdayNameShort=d;g._initializeMonthNames=r;g.getMonthName=e;g.getMonthNames=f;g.getUppercaseMonthName=s;g.getMonthNameShort=t;g.getUppercaseMonthNameShort=u;g.getOrdinalSuffix=v;g.getDayOfMonth=w;g.getDayLabel=x;g.getMonthLabel=y;g.getYearLabel=z;g.getHourLabel=A;g.getMinuteLabel=B;g.getDayPlaceholder=C;g.getMonthPlaceholder=D;g.getYearPlaceholder=E;g.getHourPlaceholder=F;g.getMinutePlaceholder=G;g.get12HourClockSuffix=H;g.getUppercase12HourClockSuffix=I}),98); __d("intlRenderJSDateSymbol",["DateStrings","padNumber","unrecoverableViolation"],(function(a,b,c,d,e,f,g){"use strict";function a(a,b,e,f,g){g===void 0&&(g=0);e=e.skipSuffixLocalization===!0;g=g;var h="";switch(b){case"\\":g++;if(f==null)throw c("unrecoverableViolation")("Only deprecated calls to `intlRenderJSDateSymbol()` use `localizedJSFormat`.","internationalization");h=f.charAt(g);break;case"d":h=c("padNumber")(a.dateDay,2);break;case"j":h=a.dateDay;break;case"S":h=d("DateStrings").getOrdinalSuffix(a.dateDay);break;case"D":h=d("DateStrings").getWeekdayNameShort(a.dateDayOfWeek);break;case"l":h=d("DateStrings").getWeekdayName(a.dateDayOfWeek);break;case"F":case"f":h=d("DateStrings").getMonthName(a.dateMonth+1);break;case"M":h=d("DateStrings").getMonthNameShort(a.dateMonth+1);break;case"m":h=c("padNumber")(a.dateMonth+1,2);break;case"n":h=a.dateMonth+1;break;case"Y":h=a.dateYear;break;case"y":h=(""+a.dateYear).slice(2);break;case"a":e?h=a.dateHours<12?"am":"pm":h=d("DateStrings").get12HourClockSuffix(a.dateHours);break;case"A":e?h=a.dateHours<12?"AM":"PM":h=d("DateStrings").getUppercase12HourClockSuffix(a.dateHours);break;case"g":a.dateHours===0||a.dateHours===12?h="12":h=a.dateHours%12;break;case"G":h=a.dateHours;break;case"h":a.dateHours===0||a.dateHours===12?h="12":h=c("padNumber")(a.dateHours%12,2);break;case"H":h=c("padNumber")(a.dateHours,2);break;case"i":h=c("padNumber")(a.dateMinutes,2);break;case"s":h=c("padNumber")(a.dateSeconds,2);break;case"X":h=c("padNumber")(a.dateMilliseconds,3);break;default:h=b}return{idx:g,rendered:String(h)}}g["default"]=a}),98); __d("intlRenderCLDRDate",["CLDRDateFormatConfig","intlRenderJSDateSymbol","unrecoverableViolation"],(function(a,b,c,d,e,f){"use strict";var g=/\w+/;function a(a,c,d){var e=b("CLDRDateFormatConfig").intlDateSpecialChars,f="",g="",i=!1,j=[],k;a=a.split(e.cldrDelimiter+e.singleQuote).join(e.singleQuoteHolder);for(var l=0,m=a.length;l=1e15&&c("FBLogger")("i18n-formatDate").event("date_too_far_in_future").blameToPreviousFile().info("The date passed to formatDate is too far in the future. Did you mix up milliseconds/seconds?");b=k(a,b);a=c("intlGetDateNumerics")(a,d);return i(b,a,d)}h.DEFAULT_FORMAT="M j, Y g:i A";h.periodNames=Object.freeze(Object.keys(a));function i(a,b,d){var e=a,f=!!d.skipPatternLocalization,g=d.formatInternal===!0;if(!f&&(g||!c("IsInternSite").is_intern_site))if(a in c("CLDRDateFormatConfig").supportedPHPFormatsKeys)try{f=c("CLDRDateFormatConfig").supportedPHPFormatsKeys[a];g=c("getCLDRLocalizedFormat")(f);m(a,f,g);return c("intlRenderCLDRDate")(g,d,b)}catch(a){c("FBLogger")("i18n-formatDate").event("CLDR_date_format_render_error").blameToPreviousFile().catching(a).mustfix("CLDR date format render error");if(d.throwCLDRError===!0)throw a}else if(c("DateFormatConfig").formats[a])e=c("DateFormatConfig").formats[a],m(a);else if(!c("IsInternSite").is_intern_site)if(a.length!==1)throw c("unrecoverableViolation")("Trying to localize an unsupported date format: `"+a+"`","internationalization");return j(e,d,b)}function j(a,b,d){var e=[];for(var f=0;f=f.length)break;j=f[i++]}else{i=f.next();if(i.done)break;j=i.value}j=j;var k=b[j.name];if(k!=null&&j.start<=e&&e0?d[d.length-1]:e;return c("ShouldShowMessagingEntrypoint")(d==null?void 0:d.route,a,b)}g["default"]=a}),98); __d("CometDialogCloseCallbackContext.react",["react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||(h=d("react"));b=h;c=b.createContext;var j=b.useCallback,k=b.useContext,l=c(null),m=function(){return k(l)};function a(a){var b=a.children,c=a.onClose,d=m();a=j(function(){c!=null&&c(),d!=null&&d()},[c,d]);return i.jsx(l.Provider,{value:a,children:b})}a.displayName=a.name+" [from "+f.id+"]";g.CometDialogCloseCallbackContext=l;g.useCometDialogCloseCallbackContext=m;g.CometDialogCloseCallbackContextProvider=a}),98); __d("CometFeedClickToMessengerPrivateMessagingDialog.entrypoint",["CometFeedClickToMessengerPrivateMessagingDialogQuery$Parameters","JSResourceForInteraction"],(function(a,b,c,d,e,f,g){"use strict";a={getPreloadProps:function(a){a=a.profilePlusID;return{queries:{CometFeedClickToMessengerPrivateMessagingDialogQueryReference:{parameters:b("CometFeedClickToMessengerPrivateMessagingDialogQuery$Parameters"),variables:{profilePlusID:a}}}}},root:c("JSResourceForInteraction")("CometFeedClickToMessengerPrivateMessagingDialog.react").__setRef("CometFeedClickToMessengerPrivateMessagingDialog.entrypoint")};g["default"]=a}),98); __d("useOnAfterLoad",["RunComet","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=(h||d("react")).useEffect;function a(a){i(function(){var b=d("RunComet").onAfterLoad(a);return b.remove},[a])}g["default"]=a}),98); __d("MAWBridgeInitOfflineQueueSyncCompleteHandler",["requireDeferred"],(function(a,b,c,d,e,f,g){"use strict";var h=c("requireDeferred")("MessengerLogHistory").__setRef("MAWBridgeInitOfflineQueueSyncCompleteHandler");function a(){h.onReady(function(a){a=a.getInstance("maw_setup");a.debug("Init Offline Queue Sync Complete")})}g.call=a}),98); __d("MAWBridgeInitOfflineQueueSyncStartHandler",["requireDeferred"],(function(a,b,c,d,e,f,g){"use strict";var h=c("requireDeferred")("MessengerLogHistory").__setRef("MAWBridgeInitOfflineQueueSyncStartHandler");function a(){h.onReady(function(a){a=a.getInstance("maw_setup");a.debug("Init Offline Queue Sync Start")})}g.call=a}),98); __d("MAWSharedProtocolQueueConst",["$InternalEnum"],(function(a,b,c,d,e,f){"use strict";a=b("$InternalEnum")({Initializing:"initializing",Failed:"failed",Processing:"processing",Complete:"complete"});f.OfflineConsumerStatus=a}),66); __d("MAWStateContext.react",["MAWSharedProtocolQueueConst","err","gkx","qex","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||d("react"),j=i.createContext,k=i.useCallback,l=i.useContext,m=i.useEffect,n=i.useRef,o=i.useState;i={eBInitialThreadsRestoreStatus:{},ephemeralSettings:{},messageLatencies:{},offlineQueueCount:0,offlineQueueProgressDownloaded:0,offlineQueueProgressProcessed:0,offlineQueueSyncState:d("MAWSharedProtocolQueueConst").OfflineConsumerStatus.Initializing,offlineQueueThreadStatus:{},unArchivedSelfDeviceChangeAlerts:0};function a(){var a=l(q)(),b=a.dispatch;return k(function(a,c){c===void 0&&(c=Date.now()),b({optimisticMsgId:a,tag:"OptimisticSendMessage",timestamp:c})},[b])}function b(){var a=l(q)(),b=a.dispatch;return k(function(a,d){c("gkx")("9025")||c("qex")._("93")===!0||b({tag:"EphemeralSettingsUpdatedForUI",value:{chatJid:a,ephemeralSettingArgs:d}})},[b])}function e(){var a=l(r),b=a.dispatch;return k(function(){b({tag:"ClearEphemeralSettings"})},[b])}function f(){var a=l(r),b=a.dispatch;return k(function(a){b({tag:"eBInitialThreadsRestoreStatus",value:a})},[b])}var p={dispatch:function(a){throw c("err")("MAW Dispatch not implemented")},state:i,subscriptions:new Set()},q=j(function(){return p}),r=j(p);function s(a){var b=l(q)(),c=b.state,d=b.subscriptions;b=o(function(){return a(c)});var e=b[0],f=b[1],g=n(e);m(function(){var b=function(b){b=a(b);b!==g.current&&(g.current=b,f(b))};d.add(b);return function(){d["delete"](b)}},[d,a]);return e}g.initialState=i;g.useDispatchOptimisticSendMessage=a;g.useDispatchEphemeralSettingsUpdatedForUI=b;g.useDispatchClearEphemeralSettings=e;g.useDispatchEBInitialThreadsRestoreStatus=f;g.MAWNonRerenderingStateContext=q;g.MAWStateContext=r;g.useMAWSelector=s}),98); __d("MAWEBRestoreStatus",["$InternalEnum"],(function(a,b,c,d,e,f){"use strict";a=b("$InternalEnum").Mirrored(["IN_PROGRESS","RESTORE_COMPLETED"]);f.EBInitialThreadsRestoreStatus=a}),66); __d("MAWStateContextProvider.react",["MAWBridgeInitOfflineQueueSyncCompleteHandler","MAWBridgeInitOfflineQueueSyncStartHandler","MAWEBRestoreStatus","MAWSharedProtocolQueueConst","MAWStateContext.react","react","useUnsafeRef_DEPRECATED"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=i||(i=d("react"));b=i;var k=b.useCallback,l=b.useEffect,m=b.useMemo,n=b.useReducer,o=function(a,b){return Object.entries(a).filter(function(a){var c,d=a[0];a=a[1];return((c=b[d])==null?void 0:c.chatStatus)!==a.chatStatus||((c=b[d])==null?void 0:c.snippetStatus)!==a.snippetStatus})},p=function(a,b){return a.reduce(function(a,b){var c=b[0];b=b[1];a[c]={chatStatus:b.chatStatus,snippetStatus:b.snippetStatus};return a},b)},q=function(a,b){switch(b.tag){case"OptimisticSendMessage":var c;return babelHelpers["extends"]({},a,{messageLatencies:babelHelpers["extends"]({},a.messageLatencies,(c={},c[b.optimisticMsgId]={sent:b.timestamp},c))});case"NewMsg":case"MsgUpdated":var e,f;c=b.value.ack;var g=b.value.msgId;e=(e=b.value.offlineMsg)==null?void 0:e.msgId;e!=null&&a.messageLatencies[e]!=null&&(a.messageLatencies[g]=a.messageLatencies[e],delete a.messageLatencies[e]);e=a.messageLatencies[g];if((e==null?void 0:e.sent)!=null&&(e==null?void 0:e.acked)!=null)return a;e=(e==null?void 0:e.sent)||Date.now();c=c!==0?Date.now():void 0;return babelHelpers["extends"]({},a,{messageLatencies:babelHelpers["extends"]({},a.messageLatencies,(f={},f[g]={acked:c,sent:e},f))});case"InitOfflineQueueSyncProgress":g=b.value;return babelHelpers["extends"]({},a,{offlineQueueProgressDownloaded:g});case"InitOfflineQueueConsumerSyncProgress":c=b.value;e=c.chatJidStatus;f=c.processed;g=a.offlineQueueThreadStatus||{};c=o(e,g);return babelHelpers["extends"]({},a,{offlineQueueProgressProcessed:f,offlineQueueThreadStatus:c.length===0?g:p(c,babelHelpers["extends"]({},g))});case"InitOfflineQueueSyncStart":d("MAWBridgeInitOfflineQueueSyncStartHandler").call();e=b.value;return babelHelpers["extends"]({},a,{offlineQueueCount:e});case"InitOfflineQueueSyncComplete":d("MAWBridgeInitOfflineQueueSyncCompleteHandler").call();f=b.value;c=a.offlineQueueThreadStatus||{};g=f!=null?o(f,c):null;return babelHelpers["extends"]({},a,{offlineQueueSyncState:d("MAWSharedProtocolQueueConst").OfflineConsumerStatus.Complete,offlineQueueThreadStatus:g==null||g.length===0?c:p(g,babelHelpers["extends"]({},c))});case"UnArchivedSelfDeviceChangeAlerts":e=b.value;return babelHelpers["extends"]({},a,{unArchivedSelfDeviceChangeAlerts:e});case"EphemeralSettingsUpdatedForUI":f=b.value;g=f.chatJid;c=f.ephemeralSettingArgs;e=c.ephemeralExpirationInSec;f=c.ephemeralLastUpdatedOrSetTimestamp;c=g;return babelHelpers["extends"]({},a,{ephemeralSettings:babelHelpers["extends"]({},a.ephemeralSettings,(g={},g[c]={ephemeralExpirationInSec:e,ephemeralLastUpdatedOrSetTimestamp:f},g))});case"ClearEphemeralSettings":return babelHelpers["extends"]({},a,{ephemeralSettings:{}});case"eBInitialThreadsRestoreStatus":c=b.value;e=a.eBInitialThreadsRestoreStatus;var h=c.reduce(function(a,b){b=b.threadId;return babelHelpers["extends"]({},a,(a={},a[b]=d("MAWEBRestoreStatus").EBInitialThreadsRestoreStatus.IN_PROGRESS,a))},{});Object.keys(e).forEach(function(a){if(!h[a]){var b;h=babelHelpers["extends"]({},h,(b={},b[a]=d("MAWEBRestoreStatus").EBInitialThreadsRestoreStatus.RESTORE_COMPLETED,b))}});return babelHelpers["extends"]({},a,{eBInitialThreadsRestoreStatus:h})}return a};function a(a){a=a.children;var b=n(q,d("MAWStateContext.react").initialState),c=b[0],e=b[1],f=m(function(){return new Set()},[]);b=m(function(){return{dispatch:e,state:c,subscriptions:f}},[c,e,f]);var g=r(b),h=k(function(){return g.current},[g]);l(function(){f==null?void 0:f.forEach(function(a){return a(c)})},[c,f]);return j.jsx(d("MAWStateContext.react").MAWStateContext.Provider,{value:b,children:j.jsx(d("MAWStateContext.react").MAWNonRerenderingStateContext.Provider,{value:h,children:a})})}a.displayName=a.name+" [from "+f.id+"]";function r(a){var b=(h||(h=c("useUnsafeRef_DEPRECATED")))(a);b.current=a;return b}g["default"]=a}),98); __d("MWChatMessagesOnChatTabLoadTracker",["I64"],(function(a,b,c,d,e,f,g){"use strict";var h,i={},j={};function a(a){return function(b){var c=(h||(h=d("I64"))).to_string(b);c in a||(a[(h||(h=d("I64"))).to_string(b)]=0);a[h.to_string(b)]++}}f=a(i);a=a(j);function b(a){return i[a]||0}function c(a){return j[a]||0}function e(a){delete i[a],delete j[a]}g.trackSendFor=f;g.trackReceivedFor=a;g.getMessageSendsCountFor=b;g.getMessageReceivesCountFor=c;g.clearMessageCountsFor=e}),98); __d("MWChatTabSharedQPLAnnotations",["I64","MAWCurrentUser","MAWEBSwitch","MWChatMessagesOnChatTabLoadTracker","MultipleTabsLogger","promiseDone","requireDeferred"],(function(a,b,c,d,e,f,g){"use strict";var h,i=c("requireDeferred")("MAWThreadCutover").__setRef("MWChatTabSharedQPLAnnotations");function j(a){return a===15||a===16}function a(a,b,e){var f=(h||(h=d("I64"))).to_string(e),g=b!=null?j(b):!1;a.addAnnotation("thread_id",f);a.addAnnotation("thread_type",b?b.toString():"");a.addAnnotation("isSecure",g?"true":"false");a.addAnnotationInt("is_secure",g?1:0);a.addAnnotation("isEBEnabled",c("MAWEBSwitch").isEnabled().toString());d("MultipleTabsLogger").addAnnotationWithInteractionUuid(a.getTraceId());a.addAnnotationInt("is_tlc_public_user",d("MAWCurrentUser").isTlcPublicUser()?1:0);i.onReady(function(b){c("promiseDone")(b.isCutoverThreadKey(e).then(function(b){a.addAnnotationInt("is_cutover",b?1:0)}))});a.onComplete(function(){var b=d("MWChatMessagesOnChatTabLoadTracker").getMessageSendsCountFor(f),c=d("MWChatMessagesOnChatTabLoadTracker").getMessageReceivesCountFor(f);a.addAnnotationInt("messagesSent",b);a.addAnnotationInt("messagesReceived",c);a.addAnnotationInt("totalMessages",c+b);d("MWChatMessagesOnChatTabLoadTracker").clearMessageCountsFor(f)})}g.addSharedAnnotations=a}),98); __d("useMWChatOpenTabTraceProvider",["CometCurrentInitialLoadVC","CometHeroLogging","I64","MAWEBSwitch","MAWMICSafe","MWChatTabSharedQPLAnnotations","gkx","qpl","react","useCometInteractionTracing"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=(h||d("react")).useCallback,k=!1;function a(){var a=c("useCometInteractionTracing")(c("qpl")._(30605380,"18"),"responsive","INTERACTION");return j(function(b,e,f,g,h){a(function(a){var i=c("CometHeroLogging").genHeroInteractionUUIDAndMarkStart(a.getTraceId());a.addAnnotationInt("pdb",c("gkx")("3319")?1:0);var j=d("MAWMICSafe").duringMIC();j&&a.addAnnotationInt("startedDuringMIC",1);a.addMetadata("entrypoint",f);a.addAnnotation("isEBEnabled",c("MAWEBSwitch").isEnabled().toString());a.addMetadata("hasBadge",h!=null?h.toString():"");d("MWChatTabSharedQPLAnnotations").addSharedAnnotations(a,e,g);a.onComplete(function(b){k?a.addMetadata("revisit",1):(a.addMetadata("revisit",0),k=!0);var c=d("CometCurrentInitialLoadVC").getInitialLoadVC();c!=null&&a.addAnnotationInt("sinceInitialLoadVC",Math.round(b.start-c))});b(i,a)},void 0,void 0,void 0,(i||(i=d("I64"))).to_string(g))},[a])}g["default"]=a}),98); __d("useMWBaseChatOpenTabForUser",["I64","LSDatabaseSingleton","LSIntEnum","LSThreadAttributionStore","MWChatInteraction","MWChatStateActions","MWChatStateV2.react","MWChatStateV2Types","WALoggerDeferred","promiseDone","react","requireDeferred","useCometFeedNoRoutingNavigationEventLogger","useMWChatOpenTabTraceProvider"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j,k;b=i||d("react");var l=b.useCallback,m=b.useMemo,n=c("requireDeferred")("MAWVerifyThreadCutover").__setRef("useMWBaseChatOpenTabForUser"),o=c("requireDeferred")("MWChatLogOpenChatTab").__setRef("useMWBaseChatOpenTabForUser"),p=c("requireDeferred")("MWChatOpenSecureTabForUserCallback").__setRef("useMWBaseChatOpenTabForUser"),q=c("requireDeferred")("MWLSPreloadThreadForContact").__setRef("useMWBaseChatOpenTabForUser");function a(a,b){var e=a!=null?a:!1,f=c("useMWChatOpenTabTraceProvider")(),g=c("useCometFeedNoRoutingNavigationEventLogger")();a=l(function(a){q.onReady(function(b){return b.verifyThreadExists(a)})},[]);var i=d("MWChatStateV2.react").useDispatch(),r=l(function(a){return i(d("MWChatStateActions").openTab(Date.now(),{shouldFocus:!e},{threadKeyDescriptor:{clientThreadKey:void 0,threadKey:a,threadType:(j||(j=d("LSIntEnum"))).ofNumber(1)},type:d("MWChatStateV2Types").MWChatStateTabType.ChatTab}))},[i,e]),s=l(function(a){p.onReady(function(b){return b.openChatTab(a,e,i)})},[i,e]),t=l(function(a,c){g(Date.now(),"","messenger"),d("LSThreadAttributionStore").setSource(a,b),o.onReady(function(d){return d.logOpenUserTab(c,a,b)})},[b,g]),u=m(function(){return function(a,e){var g=(k||(k=d("I64"))).of_string(a),i=e?15:1;f(function(b,f){if(e===!0){t(a,e);d("MWChatInteraction").set(a,b);return s(a)}else n.onReady(function(e){c("promiseDone")(e.verifyThreadCutover(h||(h=c("LSDatabaseSingleton")),g).then(function(i){f.addAnnotationInt("is_cutover",i?1:0);if(i===!0)return e.getCutoverThread(h||(h=c("LSDatabaseSingleton")),g).then(function(e){e||c("promiseDone")(d("WALoggerDeferred").logWithTags(["MWChatOpenTabForUser","OpenTab"],["No existing MI mapping found for cutover thread"],"WARN"));var g=e?e.serverThreadKey:(k||(k=d("I64"))).of_string(a);g=(k||(k=d("I64"))).to_string(g);t(g,e!=null);d("MWChatInteraction").set(g,b);f.addAnnotation("isSecure",e?"true":"false");f.addAnnotation("thread_id",g);return s(a)});else{d("MWChatInteraction").set(a,b);t(a,!1);return r((k||(k=d("I64"))).of_string(a))}}))})},i,b,g)}},[f,b,t,s,r]),v=m(function(){return function(a,g){var l=g?15:1;f(function(b,f){if(g===!0){t(a,g);d("MWChatInteraction").set(a,b);var l=(k||(k=d("I64"))).of_string(a);return i(d("MWChatStateActions").openTab(Date.now(),{shouldFocus:!e},{threadKeyDescriptor:{clientThreadKey:void 0,threadKey:l,threadType:(j||(j=d("LSIntEnum"))).ofNumber(15)},type:d("MWChatStateV2Types").MWChatStateTabType.ChatTab}))}else n.onReady(function(e){c("promiseDone")(e.verifyThreadCutover(h||(h=c("LSDatabaseSingleton")),(k||(k=d("I64"))).of_string(a)).then(function(c){t(a,c);d("MWChatInteraction").set(a,b);if(c===!0){f.addAnnotation("isSecure",c?"true":"false");f.addAnnotation("thread_id",a);return s(a)}else return r((k||(k=d("I64"))).of_string(a))}))})},l,b,(k||(k=d("I64"))).of_string(a))}},[t,f,b,i,e,s,r]);return[u,a,v]}g["default"]=a}),98); __d("useMWChatOpenTabForPage",["I64","LSIntEnum","LSThreadAttributionStore","MWChatInteraction","MWChatStateActions","MWChatStateV2.react","MWChatStateV2Types","react","recoverableViolation","requireDeferred","useCometFeedNoRoutingNavigationEventLogger","useMWChatOpenTabTraceProvider"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j,k=(h||d("react")).useMemo,l=c("requireDeferred")("MWChatLogOpenChatTab").__setRef("useMWChatOpenTabForPage");function a(a,b){var e=(b=b==null?void 0:b.preventAutofocus_DO_NOT_USE)!=null?b:!1,f=c("useMWChatOpenTabTraceProvider")(),g=c("useCometFeedNoRoutingNavigationEventLogger")(),h=d("MWChatStateV2.react").useDispatch();return k(function(){return function(b,k){var m=(k=k)!=null?k:!1;g(Date.now(),"","messenger");d("LSThreadAttributionStore").setSource(b,a);l.onReady(function(c){return c.logOpenPageTab(void 0,b,a)});return f(function(a){d("MWChatInteraction").set(b,a);if(m){c("recoverableViolation")("Opening secure converstions with pages not supported","messenger_web_product");return}else return h(d("MWChatStateActions").openTab(Date.now(),{shouldFocus:!e},{threadKeyDescriptor:{clientThreadKey:void 0,threadKey:(i||(i=d("I64"))).of_string(b),threadType:(j||(j=d("LSIntEnum"))).ofNumber(1)},type:d("MWChatStateV2Types").MWChatStateTabType.ChatTab}))},14,a,(i||(i=d("I64"))).of_string(b))}},[g,a,f,h,e])}g["default"]=a}),98); __d("MWChatEncryptedBackupsUpsellChatTabVisibilityContext",["emptyFunction","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||(h=d("react"));b=h;e=b.createContext;var j=b.useContext,k=b.useMemo,l=b.useState,m=e({enabledState:[!1,c("emptyFunction")],openState:[!1,c("emptyFunction")]});function a(a){a=a.children;var b=l(!1),c=b[0],d=b[1];b=l(!1);var e=b[0],f=b[1];return i.jsx(m.Provider,{value:k(function(){return{enabledState:[e,f],openState:[c,d]}},[c,d,e,f]),children:a})}a.displayName=a.name+" [from "+f.id+"]";d=function(){var a=j(m);a=a.enabledState;return a};b=function(){var a=j(m);a=a.openState;return a};g.MWChatEncryptedBackupsUpsellChatTabVisibilityContextProvider=a;g.useMWChatEncryptedBackupsUpsellChatTabEnabled=d;g.useMWChatEncryptedBackupsUpsellChatTabOpen=b}),98); __d("MWChatLoadingDelayImpl.react",["CometErrorBoundary.react","FBLogger","InteractionTracingMetrics","MAWMICSafe","MWChatInteraction","Promise","UserTimingUtils","performanceNow","promiseDone","react","setTimeout"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j,k=j||(j=d("react")),l=j,m=l.useEffect,n=l.useState,o={contents:void 0,reason:null,wasInvoked:!1},p=new(i||(i=b("Promise")))(function(a){o.contents=a});function q(a){a!=null?c("FBLogger")("messenger_browser_clients").catching(a).warn("Error loading MWChatLoadingDelay"):c("FBLogger")("messenger_browser_clients").warn("Error loading MWChatLoadingDelay")}function a(a){if(o.contents!=null){o.wasInvoked=!0;o.reason=a;return o.contents()}}function r(a){var e=a.children;a=a.shouldDelay;a=n(a);var f=a[0],g=a[1];m(function(){var a=(h||(h=c("performanceNow")))();f&&d("MAWMICSafe").markEvent("chat_loading_delay_start");c("promiseDone")((i||(i=b("Promise"))).race([new i(function(a){c("setTimeout")(a,5e3)}),p]),function(){if(f){if(o.wasInvoked){var b;d("MAWMICSafe").addBoolAnnotation("chatLoadingDelayInterrupted",!0);d("MAWMICSafe").addStringAnnotation("chatLoadingDelayInterruptionReason",(b=o.reason)!=null?b:"no_reason")}d("MAWMICSafe").markEvent("chat_loading_delay_end");b=d("MWChatInteraction").get(d("MWChatInteraction").MW_AUTO_CHAT_TAB_OPEN);b!=null&&c("InteractionTracingMetrics").addSubspan(b,"ChatLoadingDelay","AppTiming",a,(h||(h=c("performanceNow")))(),{});d("UserTimingUtils").measureModern("Chat Loading Delayed.",{end:(h||(h=c("performanceNow")))(),start:a});g(!1)}})},[f]);if(f)return null;else return e}function e(a){var b=a.children;a=a.shouldDelay;return k.jsx(c("CometErrorBoundary.react"),{onError:q,children:k.jsx(r,{shouldDelay:a,children:b})})}e.displayName=e.name+" [from "+f.id+"]";g.interrupt=a;g.MWChatLoadingDelayImpl=e}),98); __d("MessengerIntent",["WebStorage","justknobx"],(function(a,b,c,d,e,f,g){"use strict";var h,i="mw_sent_message",j="mw_worker_ready";function k(){return c("justknobx")._("1630")}function a(){(h||(h=c("WebStorage"))).setItemGuarded(h.getLocalStorage(),j,String(Date.now()))}function b(){var a=(h||(h=c("WebStorage"))).getLocalStorage();return Date.now()-Number(a==null?void 0:a.getItem(j))0&&b!=null&&b.cancel_label!=null&&b.confirm_label!=null&&b.title!=null?d({body:b.description,cancel:b.cancel_label,confirm:b.confirm_label,title:b.title},c):c()}}function l(){return"CATEGORY"}function m(){return"PERSON"}function n(){return"DATE"}function o(){return"MEDIA_CONTENT"}function p(){return"AUDIENCE"}function q(){return h.ARCHIVE}function r(){return h.TRASH}function s(){return h.LOG}function t(){return h.MANAGE}function u(){return"ARCHIVED"}function v(){return"ARCHIVEDSTORIES"}function w(){return"MANAGEYOURPOSTS"}function x(){return"MANAGEINTERACTIONS"}function y(){return"MANAGEYOURTAGS"}function z(){return"MANAGETAGSBYOTHERSCLUSTER"}function A(){return"TRASH"}function B(){return"ALL"}function C(){return"review"}function D(){return"tagreview"}function E(){return"facealerts"}function F(){return"HIDDENSTORIES"}function G(){return"TAGSBYOTHERSCLUSTER"}function H(){return"FRIENDS"}function I(){return"FOLLOWCLUSTER"}function J(){return"SEARCH"}function K(){return"timeline"}function L(){return"homepage_stream"}function M(){return"HIDE_FROM_TIMELINE"}function N(){return[u(),A(),w(),y(),x()]}function O(a,b,d){a!=null&&(a===K()||a===L())&&c("ContentAccessAndControlFalcoEvent").log(function(){return{control:d,event:b,is_access:!1,is_bulk:!1,is_control:!0,surface:P(a)}})}function P(a){return a===K()?"post_chevron_menu_timeline":"post_chevron_menu_news_feed"}function Q(a){return a===u()}function R(a){return a===A()}function S(a){switch(a){case"DELETE":return"delete";case"EDIT_PRIVACY":return"edit_privacy";case"MOVE_TO_ARCHIVE":return"archive";case"MOVE_TO_TRASH":return"move_to_trash";case"UNTAG":return"remove_tag";case"RESTORE_FROM_ARCHIVE":return"restore_from_archive";case"RESTORE_FROM_TRASH":return"restore_from_trash";case"REMOVE_INTERACTION":return"delete";default:return null}}function T(a){return"category_"+a.toLowerCase()}function U(a){return"landing_page_category_"+a.toLowerCase()}function V(a){return"unimplemented_"+a}function W(a){switch(a){case"UNTAG":return"bulk_manage_tags";case"REMOVE_INTERACTION":return"bulk_manage_interactions";default:return null}}function X(a,b){if(a==null)return null;b=((b=b)!=null?b:1)-1;return new Date(a,b,1)}function Y(a,b){if(a==null)return null;b=(b=b)!=null?b:12;return new Date(a,b,0)}function Z(a){a=a?a.getTime()/1e3:null;return a!=null?a.toString():null}function aa(a,b){return(b=b.asyncBulkActionInProgressMap.get(a))!=null?b:!1}function ba(){var a=c("gkx")("9420");return a||$()!=="control"}function $(){return c("gkx")("9420")?"cr_posts_ayti":"control"}g.ActivityLogStoreKey=h;g.isCometActivityLogLoading=a;g.isCategoryEligibleForBulkEditPrivacy=d;g.isCategoryKeyArchiveOrTrash=e;g.isOnManageMode=f;g.shouldShowManageActivityFilter=i;g.getStoreKeyForCategory=j;g.showNumItemsConfirmationDialog=k;g.getFilterKeyForCategory=l;g.getFilterKeyForPerson=m;g.getFilterKeyForDate=n;g.getFilterKeyForMediaContent=o;g.getFilterKeyForAudience=p;g.getStoreKeyForArchive=q;g.getStoreKeyForTrash=r;g.getStoreKeyForLog=s;g.getStoreKeyForManage=t;g.getCategoryKeyForArchive=u;g.getCategoryKeyForStoryArchive=v;g.getCategoryKeyForManage=w;g.getCategoryKeyForManageInteractions=x;g.getCategoryKeyForManageTags=y;g.getCategoryKeyForManageTagsByOthersCluster=z;g.getCategoryKeyForTrash=A;g.getCategoryKeyForAll=B;g.getCategoryKeyForTimelineReview=C;g.getCategoryKeyForTagReview=D;g.getCategoryKeyForPhotoReview=E;g.getCategoryKeyForHiddenFromProfile=F;g.getCategoryKeyForTagsByOthersCluster=G;g.getCategoryKeyForFriends=H;g.getCategoryKeyForFollowCluster=I;g.getCategoryKeyForSearch=J;g.getStoryRenderLocationKeyForTimeline=K;g.getStoryRenderLocationKeyForHomepage=L;g.getActionTypeForHideFromTimeline=M;g.getManageableCategories=N;g.maybeLogControl=O;g.getPrivacyLoggingSourceFromStoryRenderLocation=P;g.onArchivePage=Q;g.onTrashPage=R;g.getSingleMenuOptionFromBulkAction=S;g.getSubCategoryNameForLogging=T;g.getLandingPageCategoryNameForLogging=U;g.getSourceNameForUnimplementedMenuOption=V;g.getSourceNameForBulkActionKey=W;g.getStartDate=X;g.getEndDate=Y;g.getTimeFromDate=Z;g.getAsyncBulkActionInProgressForCatgeory=aa;g.hasActivityLogAyiTaxonomy=ba;g.getAyiTaxonomyPostsCategoriesOrder=$}),98); __d("CometFeedStoryMenu.entrypoint",["CometFeedStoryMenuQuery$Parameters","JSResourceForInteraction","WebPixelRatio"],(function(a,b,c,d,e,f,g){"use strict";a={getPreloadProps:function(a){var c=a.feedLocation,e=a.id,f=a.renderLocation,g=a.serializedFRTPIdentifiers;a=a.storyDebugInfo;return{extraProps:{originalStoryID:e},queries:{menuQueryReference:{parameters:b("CometFeedStoryMenuQuery$Parameters"),variables:{feed_location:c,id:e,renderLocation:f,scale:d("WebPixelRatio").get(),serialized_frtp_identifiers:g,story_debug_info:a}}}}},root:c("JSResourceForInteraction")("CometFeedStoryMenu.react").__setRef("CometFeedStoryMenu.entrypoint")};g["default"]=a}),98); __d("CometFeedStoryInfoIconSection.react",["CometFeedMatchRenderer.react","CometFeedStoryInfoIconSection_story.graphql","CometRelay","CometTrackingNodeProvider.react","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=i||d("react"),k=h!==void 0?h:h=b("CometFeedStoryInfoIconSection_story.graphql");function a(a){var b;a.onMatch_UNSTABLE_DO_NOT_USE;a=a.story;a=d("CometRelay").useFragment(k,a);return(a==null?void 0:(b=a.comet_sections)==null?void 0:b.info_icon)==null?null:j.jsx(c("CometTrackingNodeProvider.react"),{trackingNode:303,children:j.jsx(c("CometFeedMatchRenderer.react"),{match:a==null?void 0:(b=a.comet_sections)==null?void 0:b.info_icon,section:"info_icon",trackingData:a==null?void 0:a.encrypted_tracking})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("CometFeedStoryMenuSectionBase.react",["CometActivityLogUtils","CometEntryPointPopoverTrigger.react","CometFeedStoryMenu.entrypoint","CometStoryRenderLocationContext.react","CometTrackingNodeProvider.react","ProfileCometContext","react","requireDeferred"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||(h=d("react")),j=h.useContext,k=c("requireDeferred")("ContentAccessAndControlEventType").__setRef("CometFeedStoryMenuSectionBase.react"),l=c("requireDeferred")("ContentAccessAndControlFalcoEvent").__setRef("CometFeedStoryMenuSectionBase.react");function a(a){var b=a.onEdit,e=a.outerWrapperRenderer,f=a.triggerChildRenderer,g=a.feedLocation,h=a.id,m=a.onPopoverVisibilityChange,n=a.popoverPosition,o=a.renderLocation,p=a.serializedFRTPIdentifiers,q=a.storyDebugInfo;a=a.variables;var r=j(c("ProfileCometContext"));r=r.isInViewAs;var s=j(c("CometStoryRenderLocationContext.react"));if(h==null)return null;if(g==="GROUP_ADMIN_TO_MEMBER_FEEDBACK")return null;if(g==="ACTOR_GATEWAY")return null;if(r)return null;p=i.jsx(c("CometTrackingNodeProvider.react"),{trackingNode:55,children:i.jsx(c("CometEntryPointPopoverTrigger.react"),{align:"end",entryPointParams:{feedLocation:g,id:h,renderLocation:o,serializedFRTPIdentifiers:p,storyDebugInfo:q},onVisibilityChange:m,otherProps:{feedLocation:g,onEdit:b,renderLocation:o,variables:a},popoverEntryPoint:c("CometFeedStoryMenu.entrypoint"),popoverType:"menu",position:(r=n)!=null?r:"below",preloadTrigger:"button",tracePolicy:"comet.feed.story.menu",children:function(a,b,c,e,g,i){return f({contextRef:a,id:h,onHoverInPrerenderer:e,onHoverOutPrerenderer:g,onPress:function(){(s===d("CometActivityLogUtils").getStoryRenderLocationKeyForTimeline()||s===d("CometActivityLogUtils").getStoryRenderLocationKeyForHomepage())&&l.onReady(function(a){var b=k.getModuleIfRequireable();if(b==null)return;a.log(function(){return{event:b.IMPRESSION,is_access:!0,is_bulk:!1,is_control:!1,surface:d("CometActivityLogUtils").getPrivacyLoggingSourceFromStoryRenderLocation(s)}})}),b()},onPressInPrerenderer:i})}})});return e!=null?e({contents:p}):p}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("CometFeedStoryMenuSection.react",["fbt","CometFeedStoryMenuSectionBase.react","CometFeedStoryMenuSection_promotion.graphql","CometRelay","Dots3HorizontalFilled20IconSvg.react","TetraIcon.react","mergeRefs","react","stylex","useCometTooltipQP"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j,k,l=k||(k=d("react")),m=k.useCallback,n={calloutWidth:{maxWidth:"xw5ewwj",$$css:!0},root:{alignSelf:"xqcrz7y",display:"x78zum5",height:"x1qx5ct2",paddingTop:"x1y1aw1k",paddingEnd:"x1sxyh0",paddingBottom:"xwib8y2",paddingStart:"xurb0ha",width:"xw4jnvo",$$css:!0}},o=l.forwardRef(function(a,b){var d=a.additionalOnPressHandler,e=a.onPress;a=babelHelpers.objectWithoutPropertiesLoose(a,["additionalOnPressHandler","onPress"]);var f=m(function(a){d&&d(),e&&e(a)},[d,e]);return l.jsx(c("TetraIcon.react"),babelHelpers["extends"]({},a,{onPress:f,ref:b}))});function a(a){var e=a.additionalIconWrapperRef,f=a.additionalOnPressHandler,g=a.color;a.isPostHarassed;var k=a.onEdit,p=a.promotion,q=a.xstyle;a=babelHelpers.objectWithoutPropertiesLoose(a,["additionalIconWrapperRef","additionalOnPressHandler","color","isPostHarassed","onEdit","promotion","xstyle"]);p=d("CometRelay").useFragment(i!==void 0?i:i=b("CometFeedStoryMenuSection_promotion.graphql"),p);var r=m(function(a){var b,d=a.contextRef,i=a.id;i=a.onHoverInPrerenderer;var j=a.onHoverOutPrerenderer,k=a.onPress;a=a.onPressInPrerenderer;return l.jsx(o,{additionalOnPressHandler:f,"aria-label":h._("__JHASH__R_3f5qwoN-l__JHASH__"),color:(b=g)!=null?b:"secondary",icon:c("Dots3HorizontalFilled20IconSvg.react"),onHoverIn:i,onHoverOut:j,onPress:k,onPressIn:a,ref:c("mergeRefs")(d,e),size:20,testid:void 0})},[f,g,e]),s=c("useCometTooltipQP")(p==null?void 0:p.local_alerts_story_menu_promotion,{align:"middle",xstyle:n.calloutWidth});p=m(function(a){a=a.contents;return l.jsx("div",{className:(j||(j=c("stylex")))(n.root,q),children:l.jsx("div",{ref:s,children:a})})},[q,s]);return l.jsx(c("CometFeedStoryMenuSectionBase.react"),babelHelpers["extends"]({onEdit:k,outerWrapperRenderer:p,triggerChildRenderer:r},a))}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("CometAggregatedEntitiesTooltipRenderer",["fbt","CometAggregatedEntitiesTooltipRenderer_entities.graphql","CometTooltip.react","react"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j,k=j||d("react");i!==void 0?i:i=b("CometAggregatedEntitiesTooltipRenderer_entities.graphql");function a(a,b){var d;d=(d=b.count)!=null?d:0;b=(b=b.sample_entities)!=null?b:[];b=b.filter(function(a){return a.__typename==="User"||a.__typename==="Page"||a.__typename==="InstagramUserV2"});d=d-b.length;var e=d>0;return b.length!==0?k.jsx(c("CometTooltip.react"),{forceInlineDisplay:!0,tooltip:k.jsxs(k.Fragment,{children:[b.map(function(a){if(a.__typename!=="User"&&a.__typename!=="Page"&&a.__typename!=="InstagramUserV2")return null;var b=a.id;a=a.name;return b!=null&&a!=null?k.jsx("div",{children:a},b):null}),e?k.jsx("div",{children:h._("__JHASH__ba-d3dXGaKh__JHASH__",[h._param("count",d)])}):null]}),children:k.jsx("span",{className:"xzsf02u x1ypdohk x1s688f",children:a})}):null}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("CometImageEntityRenderer",["CometImage.react","CometImageEntityRenderer_entity.graphql","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=i||d("react"),k={image:{display:"x1rg5ohu",marginEnd:"xw3qccf",marginLeft:null,marginRight:null,verticalAlign:"x1dg2w4v",$$css:!0}};h!==void 0?h:h=b("CometImageEntityRenderer_entity.graphql");function a(a){a===void 0&&(a={imageXStyle:null});return function(b,d){d=(d=(d=d.entity_with_image)==null?void 0:d.image)!=null?d:{};var e=d.height,f=d.scale,g=d.uri;d=d.width;return e==null||g==null||d==null||f==null?b:j.jsx(c("CometImage.react"),{height:e/f,src:g,width:d/f,xstyle:[k.image,a.imageXStyle]})}}g["default"]=a}),98);/*FB_PKG_DELIM*/ __d("CometDOMOnlyBoundary.react",["CometPlaceholder.react","CometSuspendWhileWaitingOnDOM.react","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||d("react");function a(a){var b=a.children;a=a.fallback;return i.jsx(c("CometPlaceholder.react"),{fallback:a,children:i.jsx(c("CometSuspendWhileWaitingOnDOM.react"),{children:b})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("useCometSize_DO_NOT_USE",["CometThrottle","ExecutionEnvironment","FBLogger","HiddenSubtreePassiveContext","react","useResizeObserver","useStable","useUnsafeRef_DEPRECATED"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j;b=j||d("react");var k=b.useContext,l=b.useEffect,m=b.useLayoutEffect,n=b.useRef,o=b.useState;function p(a){var b=a.setBoxStateStable,d=null,e=function(a){var c;if(((c=d)==null?void 0:c.height)===a.height&&((c=d)==null?void 0:c.width)===a.width)return;d=a;b(a)};a=function(a){a=a.getBoundingClientRect();var b=a.height;a=a.width;e({height:b,width:a})};var f=c("CometThrottle")(function(a){var b=a.height;a=a.width;if(b===0&&a===0)return;e({height:b,width:a})},200,{leading:!0,trailing:!0});return{measure:a,onResizeThrottled:f}}function a(){if(!(h||(h=c("ExecutionEnvironment"))).canUseDOM)throw c("FBLogger")("comet_ssr").blameToPreviousFile().mustfixThrow("useCometSize is not compatible with Server Rendering. This will break SSR! See https://fburl.com/wiki/xrzohrqb");var a=n(null),b=o(null),d=b[0],e=b[1],f=k(c("HiddenSubtreePassiveContext")),g=c("useStable")(function(){return p({setBoxStateStable:e})}),j=c("useResizeObserver")(g.onResizeThrottled),q=n(j);m(function(){q.current=j},[j]);b=(i||(i=c("useUnsafeRef_DEPRECATED")))(function(b){b!==a.current&&(a.current=b,b!=null&&g.measure(b)),q.current(a.current)});l(function(){if(!f.getCurrentState().hidden)return;var b=f.subscribeToChanges(function(c){!c.hidden&&a.current!=null&&(g.measure(a.current),b.remove())});return function(){return b.remove()}},[f,g]);l(function(){return function(){g.onResizeThrottled.cancel()}},[g]);return[b.current,d]}g["default"]=a}),98); __d("CappedListItemContext",["react"],(function(a,b,c,d,e,f,g){"use strict";var h;a=h||d("react");b=a.createContext();g["default"]=b}),98); __d("useRelayClientStateWithLocalStorage",["CometRelay","FBLogger","WebStorage","react","useStable"],(function(a,b,c,d,e,f,g){"use strict";var h,i;b=i||d("react");var j=b.useCallback,k=b.useEffect,l=new Set();function a(a,b,e,f){var g=l.has(b),i=d("CometRelay").useRelayEnvironment(),m=c("useStable")((h||(h=c("WebStorage"))).getLocalStorage),n=c("useStable")(function(){if(g||m==null)return f;var a=m.getItem(b);try{return a==null||a===""?f:JSON.parse(a)}catch(a){return f}}),o=j(function(c){d("CometRelay").commitLocalUpdate(i,function(d){d=d.get(a);if(d==null)return;if(d.getValue(e)===c)return;d.setValue(c,e);l.add(b)})},[i,e,a,b]);k(function(){if(m==null)return;if(!g)return;var a=JSON.stringify(f);if(a==null)return;try{m.setItem(b,a)}catch(b){b!=null&&typeof b==="object"&&b.code===22&&m.clear();a=c("FBLogger")("use_local_storage");b instanceof Error&&(a=a.catching(b));a.mustfix("Cannot save to local storage.")}},[b,g,m,f]);return[g?f:n,o]}g.useRelayClientStateWithLocalStorage=a}),98); __d("useFeedClickEventHandler",["react","useStoryClickEventLogger"],(function(a,b,c,d,e,f,g){"use strict";var h,i=(h||d("react")).useCallback;function a(a,b){var d=c("useStoryClickEventLogger")();return i(function(c){a&&a(c);var e=c.type;if(e==="click"||e==="contextmenu"||e==="mousedown"&&typeof c.button==="number"&&(c.button===1||c.button===2)||e==="keydown"&&(c.key==="Enter"||c.key===" ")){e=typeof c.button==="number"?c.button:0;d(c.timeStamp,e,b)}},[a,d,b])}g["default"]=a}),98); __d("CometAudioManagerContexts",["cometUniqueID","react"],(function(a,b,c,d,e,f,g){"use strict";var h;b=(h||d("react")).createContext;function a(){return c("cometUniqueID")()}e=b({muted:!0,setMuted:function(){},setVolume:function(){},volume:1});f=b(null);d=b(null);g.makeAudioGroupID=a;g.CometAudioLocalScopeContext=e;g.CometAudioGroupContext=f;g.AudioApiContext=d}),98); __d("CoreVideoPlayerAutoplayClientUtils",["gkx"],(function(a,b,c,d,e,f,g){"use strict";function a(a){}function b(a,b,c,d){return a==="PAUSE"&&b==="PAUSE"&&!c&&d}g.log=a;g.componentShouldPause=b}),98); __d("VideoPlayerViewabilityConstants",[],(function(a,b,c,d,e,f){"use strict";a={DEFAULT_VIEWABILITY_PERCENTAGE_FOR_PAUSE:.5};b=a;f["default"]=b}),66); __d("createEvaluateVideoAutoplayIgnoreOnLowBandwidthRule",[],(function(a,b,c,d,e,f){"use strict";function a(a){function b(b){return b.bandwidthEstimate=a;return b?"SKIP":"PAUSE"}b.displayName="evaluateVideoAutoplayPauseOnInvisibleRule:"+a+"%";return b}f["default"]=a}),66); __d("createEvaluateVideoAutoplayPauseOnMutedInvisibleRule",["createEvaluateVideoAutoplayPauseOnInvisibleRule"],(function(a,b,c,d,e,f,g){"use strict";function a(a){var b=c("createEvaluateVideoAutoplayPauseOnInvisibleRule")(a);function d(a){return a.muted?b(a):"SKIP"}d.displayName="evaluateVideoAutoplayPauseOnMutedInvisibleRule:"+a+"%";return d}g["default"]=a}),98); __d("evaluateVideoAutoplayDefaultIgnoreRule",[],(function(a,b,c,d,e,f){"use strict";function a(){return"IGNORE"}a.displayName="evaluateVideoAutoplayDefaultIgnoreRule";f["default"]=a}),66); __d("evaluateVideoAutoplayIgnoreExternalMediaRule",[],(function(a,b,c,d,e,f){"use strict";function a(a){return a.isExternalMedia?"IGNORE":"SKIP"}a.displayName="evaluateVideoAutoplayIgnoreExternalMediaRule";f["default"]=a}),66); __d("evaluateVideoAutoplayIgnoreOnBroadcastEndedRule",[],(function(a,b,c,d,e,f){"use strict";function a(a){var b=a.ended;a=a.broadcastStatus!=null;return a&&b?"IGNORE":"SKIP"}a.displayName="evaluateVideoAutoplayIgnoreOnBroadcastEndedRule";f["default"]=a}),66); __d("evaluateVideoAutoplayIgnoreOnEndedRule",[],(function(a,b,c,d,e,f){"use strict";function a(a){a=a.ended;return a?"IGNORE":"SKIP"}a.displayName="evaluateVideoAutoplayIgnoreOnEndedRule";f["default"]=a}),66); __d("evaluateVideoAutoplayIgnoreOnFrozenRule",[],(function(a,b,c,d,e,f){"use strict";function a(a){a=a.isFrozenPassive;a=a.getCurrentState();return a?"IGNORE":"SKIP"}a.displayName="evaluateVideoAutoplayIgnoreOnFrozenRule";f["default"]=a}),66); __d("evaluateVideoAutoplayIgnoreOnUnmuteRule",[],(function(a,b,c,d,e,f){"use strict";function a(a){var b=a.muted;a=a.paused;return!b&&!a?"IGNORE":"SKIP"}a.displayName="evaluateVideoAutoplayIgnoreOnUnmuteRule";f["default"]=a}),66); __d("evaluateVideoAutoplayIgnoreOnUserPausedRule",[],(function(a,b,c,d,e,f){"use strict";function a(a){var b=a.paused;a=a.lastPauseReason;return b&&(a==="user_initiated"||a==="other_user_initiated")?"IGNORE":"SKIP"}a.displayName="evaluateVideoAutoplayIgnoreOnUserPausedRule";f["default"]=a}),66); __d("evaluateVideoAutoplayIgnoreOnUserPlayRule",[],(function(a,b,c,d,e,f){"use strict";function a(a){var b=a.paused,c=a.muted;a=a.lastPlayReason;return!c&&!b&&(a==="user_initiated"||a==="other_user_initiated")?"IGNORE":"SKIP"}a.displayName="evaluateVideoAutoplayIgnoreOnUserPlayRule";f["default"]=a}),66); __d("evaluateVideoAutoplayPauseOnAdInvisibleRule",["VideoPlayerViewabilityConstants"],(function(a,b,c,d,e,f,g){"use strict";function a(a){var b=a.adClientToken;a=a.videoPlayerPassiveViewabilityInfo;a=a&&a.getCurrent();a=a?a.visiblePercentage:null;a=a===null||a>=c("VideoPlayerViewabilityConstants").DEFAULT_VIEWABILITY_PERCENTAGE_FOR_PAUSE;return b!=null&&!a?"PAUSE":"SKIP"}a.displayName="evaluateVideoAutoplayPauseOnAdInvisibleRule";g["default"]=a}),98); __d("evaluateVideoAutoplayPauseOnAdMutedBackgroundedRule",[],(function(a,b,c,d,e,f){"use strict";b=!1;function a(a){var b=a.adClientToken,c=a.hiddenSubtreePassive,d=a.muted;a=a.isDocumentHiddenOrBlurred||c.getCurrentState().backgrounded;c=b!=null;return!a||!d?"SKIP":a&&d&&c?"PAUSE":"SKIP"}a.displayName="evaluateVideoAutoplayPauseOnAdMutedBackgroundedRule";f["default"]=a}),66); __d("evaluateVideoAutoplayPauseOnBackgroundedRule",[],(function(a,b,c,d,e,f){"use strict";function a(a){var b=a.hiddenSubtreePassive;a=a.isDocumentHiddenOrBlurred||b.getCurrentState().backgrounded;return a?"PAUSE":"SKIP"}a.displayName="evaluateVideoAutoplayPauseOnBackgroundedRule";f["default"]=a}),66); __d("evaluateVideoAutoplayPauseOnBackgroundedSubtreeRule",[],(function(a,b,c,d,e,f){"use strict";function a(a){a=a.hiddenSubtreePassive;return a.getCurrentState().backgrounded?"PAUSE":"SKIP"}a.displayName="evaluateVideoAutoplayPauseOnBackgroundedSubtreeRule";f["default"]=a}),66); __d("evaluateVideoAutoplayPauseOnHiddenSubtreeRule",[],(function(a,b,c,d,e,f){"use strict";function a(a){a=a.hiddenSubtreePassive;return a.getCurrentState().hidden?"PAUSE":"SKIP"}a.displayName="evaluateVideoAutoplayPauseOnHiddenSubtreeRule";f["default"]=a}),66); __d("evaluateVideoAutoplayPauseOnMutedBackgroundedRule",[],(function(a,b,c,d,e,f){"use strict";b=!1;function a(a){var b=a.hiddenSubtreePassive,c=a.muted;a=a.isDocumentHiddenOrBlurred||b.getCurrentState().backgrounded;return a?a&&c?"PAUSE":"SKIP":"SKIP"}a.displayName="evaluateVideoAutoplayPauseOnMutedBackgroundedRule";f["default"]=a}),66); __d("VideoPlayerAutoplayRulesProvider",["VideoPlayerViewabilityConstants","createEvaluateVideoAutoplayIgnoreOnLowBandwidthRule","createEvaluateVideoAutoplayPauseOnInvisibleRule","createEvaluateVideoAutoplayPauseOnMutedInvisibleRule","evaluateVideoAutoplayDefaultIgnoreRule","evaluateVideoAutoplayIgnoreExternalMediaRule","evaluateVideoAutoplayIgnoreOnBroadcastEndedRule","evaluateVideoAutoplayIgnoreOnEndedRule","evaluateVideoAutoplayIgnoreOnFrozenRule","evaluateVideoAutoplayIgnoreOnUnmuteRule","evaluateVideoAutoplayIgnoreOnUserPausedRule","evaluateVideoAutoplayIgnoreOnUserPlayRule","evaluateVideoAutoplayPauseOnAdInvisibleRule","evaluateVideoAutoplayPauseOnAdMutedBackgroundedRule","evaluateVideoAutoplayPauseOnBackgroundedRule","evaluateVideoAutoplayPauseOnBackgroundedSubtreeRule","evaluateVideoAutoplayPauseOnHiddenSubtreeRule","evaluateVideoAutoplayPauseOnMutedBackgroundedRule","gkx","unrecoverableViolation"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j,k;b=25e4;var l=[d=c("evaluateVideoAutoplayIgnoreOnFrozenRule"),c("evaluateVideoAutoplayPauseOnAdInvisibleRule"),(e=c("createEvaluateVideoAutoplayPauseOnInvisibleRule"))((f=c("VideoPlayerViewabilityConstants")).DEFAULT_VIEWABILITY_PERCENTAGE_FOR_PAUSE),c("evaluateVideoAutoplayPauseOnAdMutedBackgroundedRule"),h=c("evaluateVideoAutoplayPauseOnHiddenSubtreeRule"),c("evaluateVideoAutoplayIgnoreOnUnmuteRule"),i=c("evaluateVideoAutoplayIgnoreOnUserPausedRule"),j=c("evaluateVideoAutoplayIgnoreOnUserPlayRule"),k=c("evaluateVideoAutoplayIgnoreOnEndedRule")],m=[d,c("evaluateVideoAutoplayPauseOnAdInvisibleRule"),e(f.DEFAULT_VIEWABILITY_PERCENTAGE_FOR_PAUSE),c("createEvaluateVideoAutoplayIgnoreOnLowBandwidthRule")(b),c("evaluateVideoAutoplayPauseOnMutedBackgroundedRule"),h,c("evaluateVideoAutoplayIgnoreOnUnmuteRule"),i,j,k],n=[d,c("createEvaluateVideoAutoplayIgnoreOnLowBandwidthRule")(b),c("evaluateVideoAutoplayPauseOnMutedBackgroundedRule"),c("evaluateVideoAutoplayIgnoreOnUnmuteRule"),i,j,k];j=[d,e(f.DEFAULT_VIEWABILITY_PERCENTAGE_FOR_PAUSE),h,i,j,k];k=[d,c("evaluateVideoAutoplayPauseOnAdInvisibleRule"),c("evaluateVideoAutoplayPauseOnAdMutedBackgroundedRule"),h,c("createEvaluateVideoAutoplayIgnoreOnLowBandwidthRule")(b),i];k.push(e(f.DEFAULT_VIEWABILITY_PERCENTAGE_FOR_PAUSE));c("gkx")("1564135")?k.push(c("evaluateVideoAutoplayIgnoreOnBroadcastEndedRule")):k.push(c("evaluateVideoAutoplayIgnoreOnEndedRule"));d=k.slice();h=[c("evaluateVideoAutoplayIgnoreOnFrozenRule"),c("evaluateVideoAutoplayPauseOnAdInvisibleRule"),c("createEvaluateVideoAutoplayPauseOnMutedInvisibleRule")(.01),c("evaluateVideoAutoplayPauseOnAdMutedBackgroundedRule"),c("evaluateVideoAutoplayPauseOnHiddenSubtreeRule"),c("evaluateVideoAutoplayIgnoreOnUnmuteRule"),c("evaluateVideoAutoplayIgnoreOnUserPausedRule"),c("evaluateVideoAutoplayIgnoreOnUserPlayRule"),c("evaluateVideoAutoplayIgnoreOnEndedRule")].filter(Boolean);b=[c("evaluateVideoAutoplayIgnoreOnFrozenRule"),c("createEvaluateVideoAutoplayPauseOnInvisibleRule")(c("VideoPlayerViewabilityConstants").DEFAULT_VIEWABILITY_PERCENTAGE_FOR_PAUSE),c("evaluateVideoAutoplayPauseOnHiddenSubtreeRule"),c("evaluateVideoAutoplayIgnoreOnUnmuteRule"),c("evaluateVideoAutoplayIgnoreOnUserPausedRule"),c("evaluateVideoAutoplayIgnoreOnUserPlayRule"),c("evaluateVideoAutoplayIgnoreOnEndedRule")];i=[c("evaluateVideoAutoplayIgnoreOnFrozenRule"),c("createEvaluateVideoAutoplayPauseOnInvisibleRule")(c("VideoPlayerViewabilityConstants").DEFAULT_VIEWABILITY_PERCENTAGE_FOR_PAUSE),c("evaluateVideoAutoplayPauseOnHiddenSubtreeRule"),c("evaluateVideoAutoplayIgnoreOnUnmuteRule"),c("evaluateVideoAutoplayIgnoreOnUserPausedRule"),c("evaluateVideoAutoplayIgnoreOnUserPlayRule"),c("evaluateVideoAutoplayIgnoreOnEndedRule")];e=[c("evaluateVideoAutoplayIgnoreOnFrozenRule"),c("evaluateVideoAutoplayPauseOnAdInvisibleRule"),c("evaluateVideoAutoplayPauseOnAdMutedBackgroundedRule"),c("evaluateVideoAutoplayPauseOnHiddenSubtreeRule"),c("evaluateVideoAutoplayIgnoreOnUnmuteRule"),c("evaluateVideoAutoplayIgnoreOnUserPausedRule"),c("evaluateVideoAutoplayIgnoreOnUserPlayRule"),c("evaluateVideoAutoplayIgnoreOnEndedRule")];f=[c("evaluateVideoAutoplayIgnoreOnFrozenRule"),c("evaluateVideoAutoplayPauseOnAdInvisibleRule"),c("evaluateVideoAutoplayPauseOnHiddenSubtreeRule"),c("evaluateVideoAutoplayIgnoreOnUserPausedRule"),c("evaluateVideoAutoplayIgnoreOnUserPlayRule"),c("evaluateVideoAutoplayIgnoreOnEndedRule")];k=[c("evaluateVideoAutoplayIgnoreOnFrozenRule"),c("evaluateVideoAutoplayPauseOnHiddenSubtreeRule"),c("evaluateVideoAutoplayIgnoreOnUnmuteRule"),c("evaluateVideoAutoplayIgnoreOnUserPausedRule"),c("evaluateVideoAutoplayIgnoreOnUserPlayRule"),c("evaluateVideoAutoplayIgnoreOnEndedRule")];var o=[c("evaluateVideoAutoplayIgnoreOnFrozenRule"),c("evaluateVideoAutoplayPauseOnHiddenSubtreeRule"),c("evaluateVideoAutoplayIgnoreOnUnmuteRule"),c("evaluateVideoAutoplayIgnoreOnUserPausedRule"),c("evaluateVideoAutoplayIgnoreOnUserPlayRule"),c("evaluateVideoAutoplayIgnoreOnEndedRule")],p=[c("evaluateVideoAutoplayIgnoreOnFrozenRule"),c("evaluateVideoAutoplayPauseOnAdInvisibleRule"),c("createEvaluateVideoAutoplayPauseOnInvisibleRule")(c("VideoPlayerViewabilityConstants").DEFAULT_VIEWABILITY_PERCENTAGE_FOR_PAUSE),c("evaluateVideoAutoplayPauseOnAdMutedBackgroundedRule"),c("evaluateVideoAutoplayIgnoreOnUnmuteRule"),c("evaluateVideoAutoplayIgnoreOnUserPausedRule"),c("evaluateVideoAutoplayIgnoreOnUserPlayRule"),c("evaluateVideoAutoplayIgnoreOnEndedRule")],q=[c("evaluateVideoAutoplayDefaultIgnoreRule")],r=[c("createEvaluateVideoAutoplayPauseOnInvisibleRule")(0)],s=[c("createEvaluateVideoAutoplayPauseOnInvisibleRule")(0)],t=[c("evaluateVideoAutoplayIgnoreOnFrozenRule"),c("createEvaluateVideoAutoplayPauseOnInvisibleRule")(.25),c("evaluateVideoAutoplayPauseOnBackgroundedRule"),c("evaluateVideoAutoplayPauseOnHiddenSubtreeRule"),c("evaluateVideoAutoplayIgnoreOnUserPausedRule"),c("evaluateVideoAutoplayPauseOnBackgroundedSubtreeRule")],u=[c("createEvaluateVideoAutoplayPauseOnInvisibleRule")(.25)],v=[c("evaluateVideoAutoplayIgnoreOnFrozenRule"),c("evaluateVideoAutoplayPauseOnMutedBackgroundedRule"),c("evaluateVideoAutoplayPauseOnHiddenSubtreeRule"),c("evaluateVideoAutoplayIgnoreOnUnmuteRule"),c("evaluateVideoAutoplayIgnoreOnUserPausedRule"),c("evaluateVideoAutoplayIgnoreOnUserPlayRule"),c("evaluateVideoAutoplayIgnoreOnEndedRule"),c("createEvaluateVideoAutoplayPauseOnInvisibleRule")(0)],w=[c("evaluateVideoAutoplayPauseOnMutedBackgroundedRule"),c("evaluateVideoAutoplayPauseOnHiddenSubtreeRule"),c("evaluateVideoAutoplayIgnoreOnUnmuteRule")],x=[c("evaluateVideoAutoplayIgnoreOnFrozenRule"),c("createEvaluateVideoAutoplayPauseOnInvisibleRule")(c("VideoPlayerViewabilityConstants").DEFAULT_VIEWABILITY_PERCENTAGE_FOR_PAUSE),c("evaluateVideoAutoplayPauseOnMutedBackgroundedRule"),c("evaluateVideoAutoplayPauseOnBackgroundedSubtreeRule"),c("evaluateVideoAutoplayPauseOnHiddenSubtreeRule"),c("evaluateVideoAutoplayIgnoreOnUnmuteRule"),c("evaluateVideoAutoplayIgnoreOnUserPausedRule"),c("evaluateVideoAutoplayIgnoreOnUserPlayRule"),c("evaluateVideoAutoplayIgnoreOnEndedRule")],y={always_disable:q,barcelona_carousel:w,barcelona_feed:x,basic:l,bulletin:r,creator_studio:p,creator_studio_sliding_tray_rules:s,default_feed:m,dolly:v,focused_story_view:n,gif:j,live_producer:b,live_studio:i,polaris_feed:t,polaris_grid:u,stages:o,tournament_hero:e,watch_feed:d,watch_live_tab:h,wns:f,work_knowledge:k};for(q in y)y[q].push(c("evaluateVideoAutoplayIgnoreExternalMediaRule"));w=function(a){a=y[a];if(!a)throw c("unrecoverableViolation")("Unknown VideoPlayerAutoplayRulesType passed to VideoPlayerAutoplayRulesProvider","comet_video_player");return a};function a(a){return a}g.provideAutoplayRules=w;g.makeVideoPlayerAutoplayRules=a}),98); __d("VideoPlayerAutoplayContexts",["VideoPlayerAutoplayRulesProvider","cometUniqueID","react"],(function(a,b,c,d,e,f,g){"use strict";var h;b=(h||d("react")).createContext;e=b({autoplayLocalRules:d("VideoPlayerAutoplayRulesProvider").provideAutoplayRules("basic"),autoplayScopeID:"null"});f=b(null);function a(){return"id-vpas-"+c("cometUniqueID")()}g.VideoAutoplayLocalScopeContext=e;g.AutoplayApiContext=f;g.makeAutoplayScopeID=a}),98); __d("VideoAutoplayLocalScopeProvider.react",["VideoPlayerAutoplayContexts","react","useUnsafeRef_DEPRECATED"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=i||(i=d("react")),k=i.useMemo;function a(a){var b=a.autoplayLocalRules,e=a.customAutoplaySelectionFunc,f=a.disableScrollBeforePlayWhenOffscreen,g=a.noPauseOnBlurOrFocus,i=d("VideoPlayerAutoplayContexts").makeAutoplayScopeID(),l=(h||(h=c("useUnsafeRef_DEPRECATED")))(i);i=k(function(){return{autoplayLocalRules:b,autoplayScopeID:l.current,customAutoplaySelectionFunc:e,disableScrollBeforePlayWhenOffscreen:f,noPauseOnBlurOrFocus:g}},[l,e,b,f,g]);return j.jsx(d("VideoPlayerAutoplayContexts").VideoAutoplayLocalScopeContext.Provider,{value:i,children:a.children})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("CastingStateHooks",["CastingContext","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=(h||d("react")).useContext;function a(){var a=i(d("CastingContext").CastingStateContext);return(a==null?void 0:a.receiverIsConnected)||!1}function j(){var a=t();return a==null?null:a.currentVideoID}function b(){var a=j();return a!=null}function c(){var a=t();return a==null?0:a.currentPosition||0}function e(){var a=t();return a==null?0:a.currentDuration||0}function f(){var a=t();if(a==null)return!1;a=a.currentPlaybackState;return a==="play"||a==="seeking"}function k(){var a=t();if(a==null)return!1;a=a.currentPlaybackState;return a==="paused"}function l(){var a=t();if(a==null)return!1;a=a.currentPlaybackState;return a==="ended"}function m(){var a=i(d("CastingContext").CastingStateContext);return a==null||!a.receiverIsConnected?!1:a.receiverIsMuted===!0}function n(){var a=i(d("CastingContext").CastingStateContext);return a==null||!a.receiverIsConnected?0:a.receiverVolume||0}function o(){var a=i(d("CastingContext").CastingStateContext);return a==null||!a.receiverIsConnected?null:a.receiverFriendlyName}function p(){var a=u();return a==null?!1:!0}function q(){var a=v();return a==null?!1:a.currentPlaybackState==="paused"}function r(){var a=v();return a==null?!1:a.currentPlaybackState==="play"}function s(){var a=v();return a==null?null:a.currentAssetID}function t(){var a=i(d("CastingContext").CastingStateContext),b=i(d("CastingContext").CastingExperienceStateContext);if(a==null||!a.receiverIsConnected)return null;return(b==null?void 0:b.type)!=="video_channel"?null:b}function u(){var a=i(d("CastingContext").CastingStateContext),b=i(d("CastingContext").CastingExperienceStateContext);if(a==null||!a.receiverIsConnected)return null;return(b==null?void 0:b.type)!=="photo"?null:b}function v(){var a=i(d("CastingContext").CastingStateContext),b=i(d("CastingContext").CastingExperienceStateContext);if(a==null||!a.receiverIsConnected)return null;return(b==null?void 0:b.type)!=="photo_album"?null:b}g.useIsCastingConnected=a;g.useCastingVideoID=j;g.useIsCastingAnyVideo=b;g.useCastingCurrentTime=c;g.useCastingDuration=e;g.useCastingIsPlaying=f;g.useCastingIsPaused=k;g.useCastingIsEnded=l;g.useCastingIsMuted=m;g.useCastingVolume=n;g.useCastingReceiverFriendlyName=o;g.useIsCastingPhotoExperience=p;g.useCastingIsAlbumPaused=q;g.useCastingIsAlbumPlaying=r;g.useCastingAlbumAssetID=s}),98); __d("VideoPlayerControlsBottomRowAddOnContext",["react","useStable"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||(h=d("react"));d=h;var j=d.useContext,k=d.useEffect,l=d.useState,m=i.createContext(null);function a(a){a=a.children;var b=c("useStable")(function(){var a=null,b=null,c=null;return{getBottomRowAddOn:function(){return b},initialize:function(d){c=function(a){b=a,d(a)};if(a==null)return;c(a);a=null},setBottomRowAddOn:function(b){if(c==null){a=b;return}c(b)}}});return i.jsx(m.Provider,{value:b,children:a})}a.displayName=a.name+" [from "+f.id+"]";function b(a){var b=j(m);a=l(a);var c=a[0],d=a[1];k(function(){if(b==null)return;b.initialize(d)},[b]);return c}b.displayName=b.name+" [from "+f.id+"]";function e(a){var b=j(m);k(function(){if(b==null)return;b.setBottomRowAddOn(a)},[a,b])}g.VideoPlayerControlsBottomRowAddOnContext=m;g.VideoPlayerControlsBottomRowAddOnContextProvider=a;g.useVideoPlayerControlsBottomRowAddOn=b;g.useSetVideoPlayerControlsBottomRowAddOn=e}),98); __d("useSelectedLatencySetting",["useRelayClientStateWithLocalStorage"],(function(a,b,c,d,e,f,g){"use strict";var h="_video_LiveVideoLatencyMenuContextProvider_selected_latency_setting";function i(a){if(a==null)return null;switch(a){case"low":case"normal":return a;default:return null}}function a(a,b){b=d("useRelayClientStateWithLocalStorage").useRelayClientStateWithLocalStorage(a,h,"selected_latency_setting",(a=i(b))!=null?a:"normal");a=b[0];b=b[1];return[a,b]}g["default"]=a}),98); __d("CometPictureInPictureExpContext",["react"],(function(a,b,c,d,e,f,g){"use strict";var h;a=h||d("react");b=a.createContext({pictureInPictureExpConfig:{isInPictureInPictureExp:!1,isInPictureInPictureExpControlGroup:!1,isSkipAndChainingDisabled:!1},setPictureInPictureExpConfig:function(){}});g["default"]=b}),98); __d("CometVideoPictureInPictureManagerContext",["react"],(function(a,b,c,d,e,f,g){"use strict";var h;c=(h||d("react")).createContext;e=c({openPipPlayer:function(){},setController:function(){},setPipPortableVideoID:function(){}});f=c({hasNextChainedVideo:!1,isPipEnabled:!1,setHasNextChainedVideo:function(){},setSkippedFromPipPlayer:function(){},skippedFromPipPlayer:!1});function a(){return!1}function b(){return!1}g.CometVideoPictureInPictureManagerAPIContext=e;g.CometVideoPictureInPictureManagerContext=f;g.isInPictureInPictureExp=a;g.isInPictureInPictureExpControlGroup=b}),98); __d("GlobalVideoPortsContexts",["react"],(function(a,b,c,d,e,f,g){"use strict";var h;e=h||d("react");f=e.createContext;var i=e.useContext,j=f(null),k=f(null),l=f(null);function a(){return i(j)}function b(){return i(k)}function c(){return i(l)}d=j.Provider;e=k.Provider;f=l.Provider;g.useGlobalVideoPortsLoader=a;g.useGlobalVideoPortsManager=b;g.useGlobalVideoPortsState=c;g.GlobalVideoPortsLoaderContextProvider=d;g.GlobalVideoPortsManagerContextProvider=e;g.GlobalVideoPortsStateContextProvider=f}),98); __d("usePlayerOriginRouteTracePolicy",["CometNotificationsRootContext","CometRouteRenderType","react","useCometRouteTracePolicy","useCometRouterState","useParentRoute","useRoutePassthroughProps"],(function(a,b,c,d,e,f,g){"use strict";var h,i=(h||d("react")).useContext;function a(){var a=i(c("CometNotificationsRootContext"));a=a.isNotificationsRoute;var b=c("useCometRouteTracePolicy")(),e=d("CometRouteRenderType").useIsPushView(),f=c("useParentRoute")(),g=c("useCometRouterState")(),h=c("useRoutePassthroughProps")();if((h==null?void 0:h.isARLTW)===!0)return"comet.watch.arltw";h=b==="comet.videos.tahoe";var j=b==="comet.stories.viewer",k=b==="comet.reels.home";if(e){if(h)return"unknown";if(j)return b;if(k&&(f==null?void 0:f.tracePolicy)==null&&g!=null){e=g.main;j=g.pushViewStack;k=j&&j.length>1?j[j.length-2]:e;g=k.route;return(j=g.tracePolicy)!=null?j:b}}return a&&!h?b:(e=f==null?void 0:f.tracePolicy)!=null?e:b}g["default"]=a}),98); __d("generateChainingSessionID",["Random"],(function(a,b,c,d,e,f,g){"use strict";function a(){return"f"+(d("Random").random()*(1<<30)).toString(16).replace(".","")}g["default"]=a}),98); __d("useCometTahoeChainingDepth",["generateChainingSessionID","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||(h=d("react"));b=h;e=b.createContext;var j=b.useContext,k=b.useMemo,l=b.useReducer,m=b.useState,n=e({chainingDepthDispatch:null,chainingDepthState:0,chainingSessionID:null});d=function(){var a=0,b=function(a,b){switch(b.type){case"INCREMENT":return a+1;default:return a}};b=l(b,a);var d=b[0],e=b[1];a=m(function(){return c("generateChainingSessionID")()});var f=a[0];a[1];return k(function(){return{chainingDepthDispatch:e,chainingDepthState:d,chainingSessionID:f}},[e,d,f])};b=function(){return j(n)};function a(a){var b=a.children;a=a.value;return i.jsx(n.Provider,{value:a,children:b})}a.displayName=a.name+" [from "+f.id+"]";g.useChainingDepth=d;g.useChainingDepthContext=b;g.CometTahoeChainingDepthContextProvider=a}),98); __d("VideoPlayerLoggingSuboriginContext",["react"],(function(a,b,c,d,e,f,g){"use strict";var h;a=h||d("react");b=a.createContext(null);g["default"]=b}),98); __d("CometSetWatchAndScrollVideoContext",["react","recoverableViolation"],(function(a,b,c,d,e,f,g){"use strict";var h;a=h||d("react");b=a.createContext(function(){c("recoverableViolation")("No provider of CometSetWatchAndScrollVideoContext exists","comet_video_player")});g["default"]=b}),98); __d("CometWatchAndScrollVideoContext",["react"],(function(a,b,c,d,e,f,g){"use strict";var h;a=h||d("react");b=a.createContext(null);g["default"]=b}),98); __d("CometWatchAndScrollSoundContext",["react"],(function(a,b,c,d,e,f,g){"use strict";var h;a=h||d("react");b=a.createContext({muted:null,setMuted:function(){},setVolume:function(){},volume:null});g["default"]=b}),98); __d("PlaybackSpeedExperiments",["gkx"],(function(a,b,c,d,e,f,g){"use strict";function h(){return c("gkx")("1755152")}function i(){return!1}function a(){return h()||i()?!0:!1}function j(){return i()?!1:!1}function b(){return c("gkx")("9714")}function d(){if(h())return!1;if(i())return!0;return j()?!1:!1}function e(){return!0}g.enableWwwPlaybackSpeedControl=a;g.isInCometHeadroomTest=j;g.enableCometPlaybackSpeedControl=b;g.enableCometPlaybackSpeedControlNUX=d;g.enablePlaybackSpeedLogging=e}),98); __d("first",[],(function(a,b,c,d,e,f){"use strict";function a(a){for(var a=a,b=Array.isArray(a),c=0,a=b?a:a[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var d;if(b){if(c>=a.length)break;d=a[c++]}else{c=a.next();if(c.done)break;d=c.value}d=d;return d}return null}f["default"]=a}),66); __d("addToMap",[],(function(a,b,c,d,e,f){"use strict";function a(a,b,c){if(a.get(b)===c)return a;a=new Map(a);a.set(b,c);return a}f["default"]=a}),66); __d("WwwCometVideoAutoplayFalcoEvent",["FalcoLoggerInternal","getFalcoLogPolicy_DO_NOT_USE"],(function(a,b,c,d,e,f,g){"use strict";a=c("getFalcoLogPolicy_DO_NOT_USE")("1744552");b=d("FalcoLoggerInternal").create("www_comet_video_autoplay",a);e=b;g["default"]=e}),98); __d("XCometWatchControllerRouteBuilder",["jsRouteBuilder"],(function(a,b,c,d,e,f,g){a=c("jsRouteBuilder")("/watch/",Object.freeze({}),void 0);b=a;g["default"]=b}),98); __d("CometRouterUIComponentsDefaultErrorRoot.react",["cr:12338","react"],(function(a,b,c,d,e,f,g){"use strict";var h;h||d("react");g["default"]=b("cr:12338")}),98);/*FB_PKG_DELIM*/ __d("ShouldShowMessagingEntrypoint",["ProfilePlusMessaging","gkx"],(function(a,b,c,d,e,f,g){"use strict";function a(a,b,d){var e;if(!d||a==null)return!1;if(!c("gkx")("1673554")||!c("gkx")("1812744"))return!1;if(b!=="JEWEL"&&c("ProfilePlusMessaging").shouldRedirectMessagesForAP)return!1;d=a.entityKeyConfig;d=b==="JEWEL"&&(d==null?void 0:(e=d.entity_type)==null?void 0:e.value)==="group"&&((e=d.section)==null?void 0:e.value)==="CHATS";if(d)return!0;if(b==="JEWEL"&&a.routeType==="media_viewer")return!0;return b==="CHAT_TABS_ROOT"&&a.tracePolicy==="comet.sharedmediaviewer.media"?!0:!Boolean(a.hideChat)}g["default"]=a}),98); __d("CometSuspenseList.react",["react"],(function(a,b,c,d,e,f,g){"use strict";var h;a=h||d("react");b=a.unstable_SuspenseList;g["default"]=b}),98); __d("CometAppNavigationConstants",["Env","gkx"],(function(a,b,c,d,e,f,g){"use strict";var h;a=null;b=56;d=44;switch(!0){case(h||(h=c("Env"))).isCometOnMobile:a=c("gkx")("976093")?b:d;break;case(h||c("Env")).isMessengerDotComOnComet:a=0;break;default:a=b}e=a;f=1099;d="global_serp";g.HEADER_HEIGHT=e;g.MAX_VIEWPORT_WIDTH_GLOBAL_PANEL_EXPANDED=f;g.GLOBAL_SERP_PAGE=d}),98); __d("CometRouterRouteTopNavTypeContext",["react"],(function(a,b,c,d,e,f,g){"use strict";var h;a=h||d("react");b=a.createContext("default");g["default"]=b}),98); __d("useShouldRenderFullTopNav",["CometRouterRouteTopNavTypeContext","gkx","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=(h||d("react")).useContext,j=c("gkx")("1266082");function a(){var a=i(c("CometRouterRouteTopNavTypeContext"));return(a==="default"||a==="hidden_for_comet_on_mobile")&&j}g["default"]=a}),98); __d("useShouldShowMessagingEntrypointOnCurrentRoute",["ShouldShowMessagingEntrypoint","useCurrentRoute","useShouldRenderFullTopNav"],(function(a,b,c,d,e,f,g){"use strict";function a(a){var b=c("useShouldRenderFullTopNav")(),d=c("useCurrentRoute")();return c("ShouldShowMessagingEntrypoint")(d,a,b)}g["default"]=a}),98); __d("CometLeftRailLayoutContext",["react"],(function(a,b,c,d,e,f,g){"use strict";var h;a=h||d("react");b=a.createContext(!1);g["default"]=b}),98); __d("CometSection.react",["react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||d("react");function a(a,b){var c=a.children,d=a.className,e=a.name,f=a.role;a=a.testid;return i.jsx("div",{"aria-label":e,className:d,"data-testid":void 0,ref:b,role:f,children:c})}a.displayName=a.name+" [from "+f.id+"]";b=i.forwardRef(a);g["default"]=b}),98); __d("CometContentArea.react",["CometSection.react","react","stylex"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=i||d("react"),k={content:{alignItems:"x6s0dn4",display:"x78zum5",flexDirection:"xdt5ytf",maxWidth:"x193iq5w",minHeight:"x1t2pt76",width:"xh8yej3",$$css:!0},contentArea:{alignItems:"x1qjc9v5",display:"x78zum5",justifyContent:"xl56j7k",maxWidth:"x193iq5w",minHeight:"x1t2pt76",$$css:!0},contentCentered:{justifyContent:"xl56j7k",$$css:!0},fullHeight:{height:"x5yr21d",$$css:!0}};function a(a){var b=a.applyFullHeight;b=b===void 0?!1:b;var d=a.children,e=a.hasNoRole;e=e===void 0?!1:e;var f=a.testid;f=a.verticalAlign;a=f===void 0?"top":f;return j.jsx("div",{className:(h||(h=c("stylex")))(k.contentArea,b&&k.fullHeight),"data-testid":void 0,children:j.jsx(c("CometSection.react"),{className:h(k.content,a==="middle"&&k.contentCentered),role:e?void 0:"main",children:d})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("CometNumberedBadge.react",["getCometBadgeColorStyle","react","stylex"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=i||d("react"),k={badgeCount:{alignItems:"x6s0dn4",color:"xtk6v10",display:"x3nfvp2",height:"x5yr21d",justifyContent:"xl56j7k",paddingTop:"xexx8yu",paddingEnd:"x1mpkggp",paddingBottom:"x18d9i69",paddingStart:"x1t2a60a",width:"xh8yej3",$$css:!0},badgeCountLightBlue:{color:"x1qq9wsj",$$css:!0},rectangle:{borderTopStartRadius:"xdxvlk3",borderTopEndRadius:"x1fglp",borderBottomEndRadius:"x1rp6h8o",borderBottomStartRadius:"xg6i1s1",$$css:!0},root:{borderTopStartRadius:"x14yjl9h",borderTopEndRadius:"xudhj91",borderBottomEndRadius:"x18nykt9",borderBottomStartRadius:"xww2gxu",display:"x3nfvp2",fontSize:"x1nxh6w3",fontWeight:"xk50ysn",height:"xhvdbge",lineHeight:"xo5v014",minWidth:"xnyloks",$$css:!0}};function a(a,b){var d=a.color;d=d===void 0?"red":d;var e=a.overflow;e=e===void 0?20:e;var f=a.testid;f=a.value;return j.jsx("span",{className:(h||(h=c("stylex")))(k.root,c("getCometBadgeColorStyle")(d),f>=10&&k.rectangle),"data-testid":void 0,ref:b,children:j.jsx("span",{className:h(k.badgeCount,d==="lightBlue"&&k.badgeCountLightBlue),children:f>e?e+"+":f})})}a.displayName=a.name+" [from "+f.id+"]";b=j.forwardRef(a);g["default"]=b}),98); __d("CometNullState.react",["CometIcon.react","FlightSerializableIcon","IconSource","TetraTextPairing.react","react","useCurrentDisplayMode"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||d("react");function a(a,b){var e=a.action,f=a.body;f=f===void 0?null:f;var g=a.bodyColor;g=g===void 0?"secondary":g;var h=a.headline,j=a.headlineColor;j=j===void 0?"secondary":j;var k=a.icon,l=a.iconColor,m=a.small;m=m===void 0?!1:m;a=babelHelpers.objectWithoutPropertiesLoose(a,["action","body","bodyColor","headline","headlineColor","icon","iconColor","small"]);var n=c("useCurrentDisplayMode")();n=n==="dark";m=m?4:2;k=d("FlightSerializableIcon").parseFlightIcon(k);l=k!=null?k instanceof c("IconSource")?i.jsx(c("CometIcon.react"),{color:l,icon:k}):i.jsx(c("CometIcon.react"),{icon:n&&k.dark!=null?k.dark:k["default"]}):null;return i.jsxs("div",babelHelpers["extends"]({className:"x6s0dn4 x78zum5 xdt5ytf xl56j7k x1p5oq8j xxbr6pl xwxc41k xbbxn1n"},a,{ref:b,children:[i.jsx("div",{className:"xieb3on",children:l}),i.jsx(c("TetraTextPairing.react"),{body:f,bodyColor:g,headline:h,headlineColor:j,level:m,textAlign:"center"}),e!=null?i.jsx("div",{className:"xqui205",children:e}):null]}))}a.displayName=a.name+" [from "+f.id+"]";b=i.forwardRef(a);g["default"]=b}),98); __d("TetraNullState.react",["CometNullState.react","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||d("react");function a(a){return i.jsx(c("CometNullState.react"),babelHelpers["extends"]({},a))}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("NullStateGeneral",["cr:3211"],(function(a,b,c,d,e,f,g){"use strict";g["default"]=b("cr:3211")}),98); __d("NullStateMedia",["cr:3580"],(function(a,b,c,d,e,f,g){"use strict";g["default"]=b("cr:3580")}),98); __d("NullStatePeople",["cr:3586"],(function(a,b,c,d,e,f,g){"use strict";g["default"]=b("cr:3586")}),98); __d("NullStateGeneralFB",["IconSource","bx"],(function(a,b,c,d,e,f,g){"use strict";b={dark:new(c("IconSource"))("nullStateGlyphs",(a=c("bx")).getURL(a("1160060")),112),"default":new(c("IconSource"))("nullStateGlyphs",a.getURL(a("1160061")),112)};g["default"]=b}),98); __d("NullStateMediaFB",["IconSource"],(function(a,b,c,d,e,f,g){"use strict";a={dark:new(c("IconSource"))("nullStateGlyphs","/images/comet/empty_states_icons/media/null_states_media_dark_mode.svg",112),"default":new(c("IconSource"))("nullStateGlyphs","/images/comet/empty_states_icons/media/null_states_media_gray_wash.svg",112)};g["default"]=a}),98); __d("NullStatePeopleFB",["IconSource"],(function(a,b,c,d,e,f,g){"use strict";a={dark:new(c("IconSource"))("nullStateGlyphs","/images/comet/empty_states_icons/people/null_states_people_dark_mode.svg",112),"default":new(c("IconSource"))("nullStateGlyphs","/images/comet/empty_states_icons/people/null_states_people_gray_wash.svg",112)};g["default"]=a}),98); __d("CometBackgroundImage.react",["CometImage.react","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||d("react"),j={root:{height:"x5yr21d",objectFit:"xl1xv1r",width:"xh8yej3",$$css:!0}};function a(a){var b=a.alt,d=a.draggable,e=a.loading,f=a.onError,g=a.onLoad;a=a.src;return i.jsx(c("CometImage.react"),{alt:b,draggable:d,loading:e||void 0,objectFit:"cover",onError:f,onLoad:g,src:a,xstyle:j.root})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("CometBlurredBackgroundImage.react",["CometBackgroundImage.react","gkx","react","stylex"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=i||d("react"),k={blur:{filter:"xtea3wc",$$css:!0},fallback:{backgroundColor:"x2bj2ny",height:"x5yr21d",width:"xh8yej3",$$css:!0},imageContainer:{height:"xu1mrb",transform:"x1yyh9jt",width:"x1jx8tsq",$$css:!0},root:{alignItems:"x6s0dn4",display:"x78zum5",height:"x5yr21d",justifyContent:"xl56j7k",overflowX:"x6ikm8r",overflowY:"x10wlt62",width:"xh8yej3",$$css:!0}},l=!c("gkx")("1299319");function a(a){var b=a.xstyle;a=babelHelpers.objectWithoutPropertiesLoose(a,["xstyle"]);a=l?j.jsx("div",{className:"xu1mrb x1yyh9jt x1jx8tsq",children:j.jsx("span",{className:"xtea3wc",children:j.jsx(c("CometBackgroundImage.react"),babelHelpers["extends"]({},a))})}):j.jsx("div",{className:"x2bj2ny x5yr21d xh8yej3"});return j.jsx("div",{className:(h||(h=c("stylex")))(k.root,b),children:a})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("useAfterPaint",["cancelAnimationFrame","react","requestAnimationFrame"],(function(a,b,c,d,e,f,g){"use strict";var h,i=(h||d("react")).useEffect;function a(a){i(function(){var b=null,d=c("requestAnimationFrame")(function(){d=c("requestAnimationFrame")(function(){b=a()})});return function(){c("cancelAnimationFrame")(d),b&&b()}},[a])}g["default"]=a}),98); __d("CometInfiniteScrollTrigger.react",["mergeRefs","react","stylex","useAfterPaint","useVisibilityObserver"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=i||(i=d("react"));b=i;var k=b.startTransition,l=b.useCallback,m=b.useMemo,n=b.useRef;function a(a){var b=a.children,d=a.hasMore,e=a.isLoading,f=a.onLoadMore,g=a.rootMargin;a=a.xstyle;var i=n(!1),o=n(null),p=l(function(){k(function(){f(o)})},[f,k,o]),q=l(function(){d&&!e&&i.current&&p()},[p,e,d]);c("useAfterPaint")(q);q=l(function(){var a=i.current;i.current=!0;!a&&d&&!e&&p()},[d,e,p]);var r=l(function(){i.current=!1},[]),s=c("useVisibilityObserver")({onHidden:r,onVisible:q,options:{rootMargin:(r=g)!=null?r:0}});q=m(function(){return c("mergeRefs")(s,o)},[s,o]);return d||e?j.jsx("div",{className:(h||(h=c("stylex")))(a),ref:q,children:b}):null}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("TriangleDownFilled20.svg.react",["react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||d("react");function a(a){return i.jsxs("svg",babelHelpers["extends"]({viewBox:"0 0 20 20",width:"1em",height:"1em",fill:"currentColor"},a,{children:[a.title!=null&&i.jsx("title",{children:a.title}),a.children!=null&&i.jsx("defs",{children:a.children}),i.jsx("path",{d:"M10 14a1 1 0 0 1-.755-.349L5.329 9.182a1.367 1.367 0 0 1-.205-1.46A1.184 1.184 0 0 1 6.2 7h7.6a1.18 1.18 0 0 1 1.074.721 1.357 1.357 0 0 1-.2 1.457l-3.918 4.473A1 1 0 0 1 10 14z"})]}))}a.displayName=a.name+" [from "+f.id+"]";a._isSVG=!0;b=a;g["default"]=b}),98); __d("CometSuspendWhileWaitingOnDOM.react",["react","suspendOrThrowIfUsedInSSR"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=i||d("react");function a(a){a=a.children;(h||(h=c("suspendOrThrowIfUsedInSSR")))("CometSuspendWhileWaitingOnDOM: This component is marked to be client rendered");return j.jsx(j.Fragment,{children:a})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("CometProductAttributionContextProvider.react",["CometProductAttributionContext","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||(h=d("react"));b=h;var j=b.useContext,k=b.useMemo;function a(a){var b=a.children,d=a.value,e=j(c("CometProductAttributionContext"));a=k(function(){return e!=null&&e.length>0?[].concat(e,[d]):[d]},[d,e]);return i.jsx(c("CometProductAttributionContext").Provider,{value:a,children:b})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("CometHeroInteractionIDContext",["hero-tracing-placeholder"],(function(a,b,c,d,e,f,g){"use strict";g["default"]=d("hero-tracing-placeholder").HeroInteractionIDContext}),98); __d("useCometIgnoreLateMutation",["InteractionTracing","InteractionTracingMetrics","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=(h||d("react")).useCallback;function a(a){return i(function(b){b&&a&&c("InteractionTracing").getPendingInteractions().forEach(function(a){a=c("InteractionTracingMetrics").get(a.getTraceId());a!=null&&a.lateMutationIgnoreElements.add(b)})},[a])}g["default"]=a}),98); __d("useProfileCometIsViewAs",["Actor","ProfileCometViewAsConstants.entrypoint"],(function(a,b,c,d,e,f,g){"use strict";function a(){var a=d("Actor").useActor();a=a[0];return a===d("ProfileCometViewAsConstants.entrypoint").VIEW_AS_EVERYONE_USER}g["default"]=a}),98); __d("MWChatVisibileRoutes",[],(function(a,b,c,d,e,f){"use strict";a=["comet.group.lightweightgroups"];b=new Set(["comet.stories.viewer.archive","comet.stories.viewer","comet.videos.tahoe","comet.marketplace.item","comet.basic.marketplace.item","comet.mediaviewer.video","comet.mediaviewer.photo"].concat(a));f.ROUTES=b}),66); __d("MWChatVisibilityOverrideContext",["react","useMWChatStateV2AreAllTabsClosed"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||(h=d("react"));b=h;e=b.createContext;var j=b.useContext,k=e(!1);function a(a){a=a.children;var b=!c("useMWChatStateV2AreAllTabsClosed")();return i.jsx(k.Provider,{value:b,children:a})}a.displayName=a.name+" [from "+f.id+"]";d=function(a){var b=j(k);return a?b:!0};g.MWChatVisibilityOverrideContextProvider=a;g.useMWChatVisibilityOverride=d}),98); __d("useMWShouldCurrentRouteOverrideChatVisibility",["MWChatVisibileRoutes","useCurrentRoute"],(function(a,b,c,d,e,f,g){"use strict";function a(){var a=c("useCurrentRoute")();a=a==null?void 0:a.tracePolicy;return a==null?!1:d("MWChatVisibileRoutes").ROUTES.has(a)}g["default"]=a}),98); __d("XCometHomeControllerRouteBuilder",["jsRouteBuilder"],(function(a,b,c,d,e,f,g){a=c("jsRouteBuilder")("/",Object.freeze({}),void 0);b=a;g["default"]=b}),98); __d("useSimpleImpression",["HiddenSubtreePassiveContext","react","useAfterPaint","useDynamicCallbackDANGEROUS"],(function(a,b,c,d,e,f,g){"use strict";var h;b=h||d("react");var i=b.useCallback,j=b.useContext,k=b.useRef;function a(a){var b=j(c("HiddenSubtreePassiveContext")),d=k(!0),e=c("useDynamicCallbackDANGEROUS")(a);a=i(function(){var a=function(a){a=a.hiddenOrBackgrounded_FIXME;a===!1&&d.current===!0&&e();a=b.getCurrentState();d.current=a.hiddenOrBackgrounded_FIXME};a(b.getCurrentState());var c=b.subscribeToChanges(a);return function(){return c.remove()}},[b,e]);c("useAfterPaint")(a)}g["default"]=a}),98); __d("CometPagelet.react",["CometBackupPlaceholder.react","CometPlaceholder.react","CometSuspenseList.react","LegacyHidden","cr:1191379","gkx","react","useCometIgnoreLateMutation","useMergeRefs"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||d("react");d=i.forwardRef(function(a,b){a=a.children;return i.jsxs(i.Fragment,{children:[" ",a(b,function(){return null})," "]})});var j=(b=b("cr:1191379"))!=null?b:d;function a(a,b){var d=a.children,e=a.className,f=a.fallback,g=a.hidden,h=a.ignoreLateMutation,k=a.name,l=a.pageletAriaProps,m=a.pageletLogNamePoisitionLimit,n=a.position;a=babelHelpers.objectWithoutPropertiesLoose(a,["children","className","fallback","hidden","ignoreLateMutation","name","pageletAriaProps","pageletLogNamePoisitionLimit","position"]);var o=k;m=(m=m)!=null?m:2;n!=null&&n0}g["default"]=a}),98);/*FB_PKG_DELIM*/ __d("CometTopNavListDropdownCard.react",["react","stylex"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=i||d("react"),k={card:{display:"x78zum5",flexDirection:"xdt5ytf",maxWidth:"xvv7f4i",minHeight:"x1t2pt76",$$css:!0},cardFullHeight:{minHeight:"xs7fzxq",$$css:!0},cardMaxHeight:{maxHeight:"x11c7tjg",$$css:!0},cardWidth:{width:"x1cvmir6",$$css:!0}},l={"base-wash":{backgroundColor:"x1vtvx1t",$$css:!0},"card-flat":{backgroundColor:"xlhe6ec",$$css:!0},"dark-wash":{backgroundColor:"xatbrnm",$$css:!0},error:{backgroundColor:"x1ciooss",$$css:!0},highlight:{backgroundColor:"xwnonoy",$$css:!0},"light-wash":{backgroundColor:"x443n21",$$css:!0},transparent:{backgroundColor:"xjbqb8w",$$css:!0},white:{backgroundColor:"x2bj2ny",$$css:!0}};function a(a){var b=a.background;b=b===void 0?"white":b;var d=a.children,e=a.testid;e=a.useFullHeight;e=e===void 0?!1:e;var f=a.useFullWidth;f=f===void 0?!1:f;a=a.useMaxHeight;return j.jsx("div",{className:(h||(h=c("stylex")))(k.card,f===!1&&k.cardWidth,a===!0&&k.cardMaxHeight,e===!0&&k.cardFullHeight,a===!0&&k.cardMaxHeight,l[b]),"data-testid":void 0,children:d})}a.displayName=a.name+" [from "+f.id+"]";a.styles={cardWidth:k.cardWidth};g["default"]=a}),98); __d("CometTopNavListDropdownTitle.react",["fbt","ix","BaseHeading.react","CometRow.react","CometRowItem.react","Locale","TetraCircleButton.react","TetraText.react","fbicon","react"],(function(a,b,c,d,e,f,g,h,i){"use strict";var j,k=j||d("react"),l=[];function a(a){var b=a.actions;b=b===void 0?l:b;var e=a.onReturn,f=a.testid;f=a.title;return k.jsxs("header",{className:"x6s0dn4 x78zum5 x2lah0s x1qughib x21xpn4 xz9dl7a x1pi30zi xjkvuk6 x1swvt13","data-testid":void 0,children:[k.jsxs(c("CometRow.react"),{paddingHorizontal:0,paddingTop:0,spacingHorizontal:8,children:[e!=null?k.jsx(c("CometRowItem.react"),{children:k.jsx(c("TetraCircleButton.react"),{icon:d("Locale").isRTL()?d("fbicon")._(i("514454"),20):d("fbicon")._(i("512647"),20),label:h._("__JHASH__v6nfNn2Wv-y__JHASH__"),onPress:e,size:32,type:"deemphasized"})}):null,k.jsx(c("CometRowItem.react"),{verticalAlign:"center",children:k.jsx(c("BaseHeading.react"),{isPrimaryHeading:!0,children:k.jsx(c("TetraText.react"),{type:"headlineEmphasized1",children:f})})})]}),k.jsx(c("CometRow.react"),{paddingHorizontal:0,paddingTop:0,spacingHorizontal:8,children:b.map(function(a,b){return k.jsx(c("CometRowItem.react"),{children:a},b)})})]})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("CometTopNavListDropdown.react",["CometPopover.react","CometTopNavListDropdownCard.react","CometTopNavListDropdownTitle.react","qex","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||d("react"),j=c("qex")._("999");function a(a){var b=a.children,d=a.label;a=a.name;if(j===!0)return i.jsx(i.Fragment,{children:b});else return i.jsx("div",{className:"x1emribx x1ok221b",children:i.jsx(c("CometPopover.react"),{label:d,popoverName:a,children:b})})}a.displayName=a.name+" [from "+f.id+"]";a.Card=c("CometTopNavListDropdownCard.react");a.Title=c("CometTopNavListDropdownTitle.react");a.styles=c("CometTopNavListDropdownCard.react").styles;g["default"]=a}),98); __d("PushNotificationsEventEmitterQueue",[],(function(a,b,c,d,e,f){"use strict";a=[];f["default"]=a}),66); __d("PushNotificationsEventEmitter",["BaseEventEmitter","PushNotificationsEventEmitterQueue"],(function(a,b,c,d,e,f,g){"use strict";a=new(c("BaseEventEmitter"))();b=a;a.once("openInstallPush",function(){for(var a=arguments.length,b=new Array(a),d=0;d= 77")||c("UserAgent").isBrowser("Edge (Chromium Based) >= 79")||c("UserAgent").isBrowser("Opera >= 67")||c("UserAgent").isBrowser("Firefox >= 70")||c("UserAgent").isBrowser("Safari >= 16")&&c("gkx")("10726")||c("UserAgent").isBrowser("Safari >= 15.4")&&c("gkx")("1451")||c("UserAgent").isBrowser("Oculus Browser >= 6")&&c("gkx")("1188589")||d("OCCastingZenonUtils").isBrowserSupportedForMobileWebCasting()}function b(){return c("gkx")("5709")&&d("ZenonRTWebBrowserFeatureSupport").isInsertableStreamsSupported()}g.isSupportedClient=a;g.isE2EESupportedClient=b}),98); __d("ZenonCallInviteModelLoader",["BaseEventEmitter","Promise","asyncToGeneratorRuntime","emptyFunction","requireDeferred"],(function(a,b,c,d,e,f,g){"use strict";var h,i=c("requireDeferred")("ZenonCallInviteModel").__setRef("ZenonCallInviteModelLoader"),j=c("requireDeferred")("delegateZenonCallInviteModel").__setRef("ZenonCallInviteModelLoader");a=function(a){babelHelpers.inheritsLoose(d,a);function d(b){var d;d=a.call(this)||this;d.$ZenonCallInviteModelLoader$p_1=null;d.getCurrentInvite=function(){return null};d.startListening=function(a){this.$ZenonCallInviteModelLoader$p_1=a};d.stopListening=function(){this.$ZenonCallInviteModelLoader$p_1=null};d.dismiss=c("emptyFunction");d.accept=c("emptyFunction");d.decline=c("emptyFunction");d.$ZenonCallInviteModelLoader$p_2=b;return d}var e=d.prototype;e.init=function(){var a=b("asyncToGeneratorRuntime").asyncToGenerator(function*(){var a=(yield (h||(h=b("Promise"))).all([i.load(),j.load()])),c=a[0];a=a[1];c=new c(this.$ZenonCallInviteModelLoader$p_2);a(this,c);this.$ZenonCallInviteModelLoader$p_1!==null&&c.startListening(this.$ZenonCallInviteModelLoader$p_1)});function c(){return a.apply(this,arguments)}return c}();return d}(c("BaseEventEmitter"));g["default"]=a}),98); __d("CometTypeaheadBackButton.react",["fbt","ArrowLeftFilled20IconSvg.react","ArrowRightFilled20IconSvg.react","CometVisualCompletionAttributes","Locale","TetraIcon.react","emptyFunction","react"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j=i||d("react");function a(a){var b=a.onPress;b=b===void 0?c("emptyFunction"):b;a=a.testid;a=d("Locale").isRTL()?c("ArrowRightFilled20IconSvg.react"):c("ArrowLeftFilled20IconSvg.react");return j.jsx("div",babelHelpers["extends"]({className:"x14qfxbe"},c("CometVisualCompletionAttributes").IGNORE,{children:j.jsx("div",{className:"xgd8bvy",children:j.jsx(c("TetraIcon.react"),{"aria-hidden":!0,"aria-label":h._("__JHASH__NKkDGC_RZTZ__JHASH__"),color:"secondary",focusable:!1,icon:a,onPress:b,size:20,testid:void 0})})}))}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("ZenonIncomingRingSDK",["BaseEventEmitter","requireDeferred"],(function(a,b,c,d,e,f,g){"use strict";var h=c("requireDeferred")("ZenonParentCallsManager").__setRef("ZenonIncomingRingSDK"),i=[1,2,15,16];a=function(a){babelHelpers.inheritsLoose(b,a);function b(){var b,c;for(var d=arguments.length,e=new Array(d),f=0;f0){var d=b.$ZenonIncomingRingSDK$p_2.shift();c.startOutgoingCallIntent(d.nonce,d.callParams)}})};c.initListeners=function(a){var b=this.callsManager;if(b!=null)b.initListeners(a);else{(b=this.$ZenonIncomingRingSDK$p_1).push.apply(b,a)}};c.removeListeners=function(a){var b=this;if(this.callsManager!=null)this.callsManager.removeListeners(a);else{var c=function(){if(e){if(f>=d.length)return"break";g=d[f++]}else{f=d.next();if(f.done)return"break";g=f.value}var a=g;b.$ZenonIncomingRingSDK$p_1=b.$ZenonIncomingRingSDK$p_1.filter(function(b){return b!==a})};for(var d=a,e=Array.isArray(d),f=0,d=e?d:d[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var g;a=c();if(a==="break")break}}};c.isCallSupported=function(a){switch(a.type){case"thread":if(this.$ZenonIncomingRingSDK$p_3&&i.includes(a.threadType)){return(a=(a=this.$ZenonIncomingRingSDK$p_3)==null?void 0:a.isSupportedClient())!=null?a:!1}break;default:return!1}return!1};c.startCallIntent=function(a,b){this.callsManager?this.callsManager.startOutgoingCallIntent(a,b):this.$ZenonIncomingRingSDK$p_2.push({callParams:b,nonce:a})};return b}(c("BaseEventEmitter"));g["default"]=a}),98); __d("LazyLoadInstance",["asyncToGeneratorRuntime","promiseDone"],(function(a,b,c,d,e,f,g){"use strict";var h={LOADING:1,NOT_READY:0,READY:2};a=function(){function a(a,b){this.$1={instantiate:b,moduleReference:a,stage:h.NOT_READY}}var d=a.prototype;d.get=function(a){switch(this.$1.stage){case h.NOT_READY:c("promiseDone")(this.$2(this.$1),a);break;case h.LOADING:c("promiseDone")(this.$1.instancePromise,a);break;case h.READY:a(this.$1.instance);break}};d.getNow=function(){return this.$1.stage===h.READY?this.$1.instance:null};d.preload=function(){var a=b("asyncToGeneratorRuntime").asyncToGenerator(function*(){this.$1.stage===h.NOT_READY&&(yield this.$2(this.$1))});function c(){return a.apply(this,arguments)}return c}();d.$2=function(a){var b=this,c=a.instantiate;a=a.moduleReference;a=a.load().then(function(a){a=c(a);b.$1={instance:a,stage:h.READY};return a});this.$1={instancePromise:a,stage:h.LOADING};return a};return a}();g["default"]=a}),98); __d("RTWebPreCallContextSingleton",["FBLogger","JSResource","LazyLoadInstance","RTWebCallWindowControllerLoader","RTWebIncomingRingConfiguration","ZenonCallInviteModelLoader","ZenonIncomingRingSDK","gkx","promiseDone"],(function(a,b,c,d,e,f,g){"use strict";var h=!1,i;function a(a){if(!c("gkx")("1811099"))return null;if(i!=null)return i;try{var b=new(c("ZenonIncomingRingSDK"))();i={callInviteModel:new(c("ZenonCallInviteModelLoader"))(b),callWindowController:new(c("RTWebCallWindowControllerLoader"))(a,c("JSResource")("RTWebMercuryCallWindowInitializer").__setRef("RTWebPreCallContextSingleton")),incomingRingSDK:b};return i}catch(a){c("FBLogger")("rtc_www").catching(a).mustfix("Pre-call context initialization failed! This breaks all calling!");return null}}function b(a,b){b===void 0&&(b=!1);if(!c("gkx")("1811099"))return null;if(h)return i;h=!0;c("promiseDone")(i.callInviteModel.init());c("promiseDone")(i.callWindowController.init());i.incomingRingSDK.init({isSupportedClient:d("RTWebIncomingRingConfiguration").isSupportedClient,enableIncomingActorCalls:b,relayEnvironment:a});b=new(c("LazyLoadInstance"))(c("JSResource")("RTWebSignalingListener").__setRef("RTWebPreCallContextSingleton"),function(a){return new a()});b.get(function(a){i.incomingRingSDK.initListeners([a])});return i}function e(){return i}g.create=a;g.init=b;g.get=e}),98);/*FB_PKG_DELIM*/ __d("UpdateUserLastActiveMutation_facebookRelayOperation",[],(function(a,b,c,d,e,f){e.exports="4844391925651372"}),null); __d("UpdateUserLastActiveMutation.graphql",["UpdateUserLastActiveMutation_facebookRelayOperation"],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{defaultValue:null,kind:"LocalArgument",name:"input"}],c=[{alias:null,args:[{kind:"Variable",name:"data",variableName:"input"}],concreteType:"UpdateUserLastActiveResponsePayload",kind:"LinkedField",name:"update_user_last_active",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"timestamp",storageKey:null}],storageKey:null}];return{fragment:{argumentDefinitions:a,kind:"Fragment",metadata:null,name:"UpdateUserLastActiveMutation",selections:c,type:"Mutation",abstractKey:null},kind:"Request",operation:{argumentDefinitions:a,kind:"Operation",name:"UpdateUserLastActiveMutation",selections:c},params:{id:b("UpdateUserLastActiveMutation_facebookRelayOperation"),metadata:{},name:"UpdateUserLastActiveMutation",operationKind:"mutation",text:null}}}();e.exports=a}),null); __d("UserActivitySubscription_facebookRelayOperation",[],(function(a,b,c,d,e,f){e.exports="7124686527603816"}),null); __d("UserActivitySubscription.graphql",["UserActivitySubscription_facebookRelayOperation"],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{defaultValue:null,kind:"LocalArgument",name:"input"}],c=[{alias:null,args:[{kind:"Variable",name:"data",variableName:"input"}],concreteType:"UserActivityUpdateSubscribeResponsePayload",kind:"LinkedField",name:"user_activity_update_subscribe",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"timestamp",storageKey:null}],storageKey:null}];return{fragment:{argumentDefinitions:a,kind:"Fragment",metadata:null,name:"UserActivitySubscription",selections:c,type:"Subscription",abstractKey:null},kind:"Request",operation:{argumentDefinitions:a,kind:"Operation",name:"UserActivitySubscription",selections:c},params:{id:b("UserActivitySubscription_facebookRelayOperation"),metadata:{subscriptionName:"user_activity_update_subscribe"},name:"UserActivitySubscription",operationKind:"subscription",text:null}}}();e.exports=a}),null); __d("CometBlinkingTitleMessageContext",["react"],(function(a,b,c,d,e,f,g){"use strict";var h;a=h||d("react");b=a.createContext(null);g["default"]=b}),98); __d("CometSetBlinkingTitleMessageContext",["react","recoverableViolation"],(function(a,b,c,d,e,f,g){"use strict";var h;a=h||d("react");b=a.createContext(function(){c("recoverableViolation")("No provider of CometSetBlinkingTitleMessageContext exists","comet_ui")});g["default"]=b}),98); __d("UpdateUserLastActiveMutation",["CometRelay","UpdateUserLastActiveMutation.graphql"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h!==void 0?h:h=b("UpdateUserLastActiveMutation.graphql");function a(a,b,c,e){return d("CometRelay").commitMutation(a,{mutation:i,onCompleted:c,onError:e,variables:{input:b}})}g.commit=a}),98); __d("UserActivitySubscription",["CometRelay","UserActivitySubscription.graphql"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h!==void 0?h:h=b("UserActivitySubscription.graphql");function a(a,b){return d("CometRelay").requestSubscription(a,{onNext:b.onNext,subscription:i,variables:{input:{}}})}g.subscribe=a}),98); __d("CometBlinkingTitleMessageProvider.react",["CometBlinkingTitleMessageContext","CometRelay","CometSetBlinkingTitleMessageContext","UpdateUserLastActiveMutation","UserActivity","UserActivitySubscription","react","recoverableViolation"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||(h=d("react"));b=h;var j=b.useCallback,k=b.useEffect,l=b.useRef,m=b.useState;function a(a){a=a.children;var b=d("CometRelay").useRelayEnvironment(),e=m(null),f=e[0],g=e[1],h=l(f!=null),n=l(0),o=j(function(a,b){if(b!=null){if(b=f.length)break;i=f[h++]}else{h=f.next();if(h.done)break;i=h.value}i=i;if(i.entries!=null)for(var i=i.entries,j=Array.isArray(i),l=0,i=j?i:i[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var m;if(j){if(l>=i.length)break;m=i[l++]}else{l=i.next();if(l.done)break;m=l.value}m=m;e.add(m)}}m=this.$2!=null?this.$2[this.$2.length-1]:null;a({reason:m!=null?m.action==="abandon"?"abandon":"success":void 0,sessionID:d,shownEntries:Array.from(e)})}this.$6=!1;this.$2=null;this.$5=null};d.startSession=function(){this.$6=!0;this.$2=[];var a=i();this.$4=a;var d=Date.now();this.$5=d;if(c("gkx")("1288454")){a={events:[],sessionID:a,startTimeMs:d};b("cr:1846269")&&b("cr:1846269")(a)}};d.getContext=function(){return this.$1};return a}();function k(a){if(a.length<2){c("recoverableViolation")("Logging session can't have less than 2 events","search");return[]}var b=a[0],d=a[1],e=a.slice(2),f=[];if(b.action==="typeahead_appeared"&&d.action==="keystroke"){b=babelHelpers["extends"]({},b,{entries:(b=b.entries)!=null?b:d.entries});(d=f).push.apply(d,[b].concat(e))}else f=[].concat(a);d=[];while(f.length>0){b=f.shift();e=f;a=e[0];d.push(babelHelpers["extends"]({},b,{entries:(e=a==null?void 0:a.entries)!=null?e:b.entries}))}return d}g["default"]=a}),98); __d("CometTypeaheadTraceProvider",["CometHeroLogging","performanceNow"],(function(a,b,c,d,e,f,g){"use strict";var h;a=function(){function a(a){var b=a.loggingProvider,c=a.trace;a=a.vcTrackerRef;this.$5=!1;this.$7=null;this.$1=c;this.$2=b;this.$6=a;this.$3="unknown"}var b=a.prototype;b.getInteractionUUID=function(){return this.$4};b.getVCTrackerRef=function(){return this.$6};b.isResolved=function(){return this.$5};b.resolve=function(){this.$5=!0,this.$7=null};b.setEventStartTime=function(a){this.$7=a};b.setEndReason=function(a){this.$3=a};b.getEndReason=function(){return this.$3};b.getEntriesCountForVisualComplete=function(){return 8};b.trace=function(a,b){var d=this;this.setEndReason("continued_typing");this.$5=!1;var e=void 0,f=void 0;this.$7!=null&&(f=this.$7,e=(h||(h=c("performanceNow")))()-f);return this.$1(function(e){var f=c("CometHeroLogging").genHeroInteractionUUIDAndMarkStart(e.getTraceId());d.$4=f;e.addMetadata("entry_point_surface",d.$2.getContext());e.addMetadata("current_text_length",b.length);f=d.$2.getSessionID();f!=null&&e.addMetadata("typeahead_sid",f);e.onComplete(function(){e.addMetadata("end_reason",d.getEndReason())});a(e)},f,e)};return a}();g["default"]=a}),98); __d("searchCometTypeaheadODSLogFocusEvent",["requireDeferred"],(function(a,b,c,d,e,f,g){"use strict";var h=c("requireDeferred")("ODS").__setRef("searchCometTypeaheadODSLogFocusEvent");function a(a,b){b===void 0&&(b=1),h.onReady(function(c){c.bumpEntityKey(354,a,"focused",b)})}g["default"]=a}),98); __d("useCometSearchTypeaheadTraceProvider",["CometTypeaheadTraceProvider","qpl","react","useCometDisplayTimingTrackerForInteraction","useCometInteractionTracing"],(function(a,b,c,d,e,f,g){"use strict";var h,i=(h||d("react")).useMemo;function a(a){var b=c("useCometInteractionTracing")(c("qpl")._(30605354,"2310"),"contingent","INTERACTION"),d=c("useCometDisplayTimingTrackerForInteraction")("SearchTypeaheadLayout");return i(function(){return new(c("CometTypeaheadTraceProvider"))({loggingProvider:a,trace:b,vcTrackerRef:d})},[a,b,d])}g["default"]=a}),98); __d("SearchCometTypeaheadLoggingContextProvider",["QPLUserFlow","QPLUtils","Random","qpl","react","searchCometTypeaheadODSLogFocusEvent","useCometSearchTypeaheadTraceProvider"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||(h=d("react"));b=h;var j=b.useCallback,k=b.useState;e=i.createContext({logger:null,onSessionStart:function(){},setSessionEndCallback:function(){},traceProvider:null});var l=e.Provider;function a(a){var b=a.children,e=a.logger;a=k(!1);var f=a[0],g=a[1];a=j(function(a){e.setSessionEndCallback(function(b){a(b),g(!1)})},[e,g]);var h=j(function(){if(e&&!f){e.isSessionActive()||e.startSession();var a=2;c("Random").coinflip(a)&&c("searchCometTypeaheadODSLogFocusEvent")("comet.ta_global_event_focus",a);c("QPLUserFlow").start(c("qpl")._(195636649,"5429"),{instanceKey:d("QPLUtils").deriveInstanceKey(e.getSessionID())});g(!0)}},[e,g,f]),m=c("useCometSearchTypeaheadTraceProvider")(e);return i.jsx(l,{value:{logger:e,onSessionStart:h,setSessionEndCallback:a,traceProvider:m},children:b})}a.displayName=a.name+" [from "+f.id+"]";g.CometLoggingProviderContext=e;g.SearchCometTypeaheadLoggingContextProvider=a}),98); __d("SearchTypeaheadLoggingSessionFalcoEvent",["FalcoLoggerInternal","getFalcoLogPolicy_DO_NOT_USE"],(function(a,b,c,d,e,f,g){"use strict";a=c("getFalcoLogPolicy_DO_NOT_USE")("1744357");b=d("FalcoLoggerInternal").create("search_typeahead_logging_session",a);e=b;g["default"]=e}),98); __d("useSearchCometTypeaheadLoggingProvider",["CometTypeaheadLoggingProvider","SearchCometTypeaheadLoggingConfig","SearchTypeaheadLoggingSessionFalcoEvent","baseTypeaheadFlattenEntries","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=(h||d("react")).useMemo;function a(a){var b=a.context,d=a.onSessionEnd,e=a.scopedEntityID;return i(function(){return new(c("CometTypeaheadLoggingProvider"))({context:b,log:j(b,e),onSessionEnd:d})},[b,d,e])}function j(a,b){return function(d){var e=k(a,b,d);c("SearchTypeaheadLoggingSessionFalcoEvent").logImmediately(function(){return{session:e}})}}function k(a,b,d){var e=d.endTimeMs,f=d.events,g=d.sessionID;d=d.startTimeMs;var h=f.filter(function(a,b){return b=f.length-Math.ceil(c("SearchCometTypeaheadLoggingConfig").max_events_to_log/2)});return{context:a,end_time_ms:String(e),events:h.map(l),scoped_entity_id:b,session_id:g,start_time_ms:String(d)}}function l(a){var b,d=a.action,e=a.entries,f=a.entry,g=a.queryString;a=a.sequenceID;b=c("baseTypeaheadFlattenEntries")((b=e)!=null?b:[]);return{action_type:d,entries:e!=null?b.map(m):[],entry:f!=null&&b!=null?m(f,b.indexOf(f)):null,query:(d=g)!=null?d:"",sequence_id:a}}function m(a,b){var c,d=a.key,e=a.label,f=a.metaData;return{entity_id:f==null?void 0:(c=f.logging)==null?void 0:c.entityID,entity_type:f==null?void 0:(c=f.logging)==null?void 0:c.entityType,fetch_source:f==null?void 0:(c=f.logging)==null?void 0:c.fetchSource,id:d,index_in_group:String(b),label:e,logging_id:f==null?void 0:(c=f.logging)==null?void 0:c.loggingID,logging_info:f==null?void 0:(d=f.logging)==null?void 0:d.loggingInfo,selected_type:a.subtype,sequence_id:f==null?void 0:(b=f.logging)==null?void 0:b.sequenceID,source:n(a)}}function n(a){a=a.metaData;if(a==null)return"backend";a=a.markers;if(a.has("see_all"))return"escape";if(a.has("echo"))return"echo";if(a.has("recent"))return"recent_searches";return a.has("bootstrap")?"bootstrap":"backend"}g["default"]=a}),98); __d("SearchCometScopedTypeaheadPlaceholder.react",["CometGlimmer.react","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||d("react"),j={glimmer:{borderTopStartRadius:"xnwf7zb",borderTopEndRadius:"x40j3uw",borderBottomEndRadius:"x1s7lred",borderBottomStartRadius:"x15gyhx8",height:"xc9qbxq",marginTop:"xdj266r",marginEnd:"xktsk01",marginBottom:"xat24cr",marginStart:"x1d52u69",$$css:!0}};function a(){return i.jsx(c("CometGlimmer.react"),{index:0,xstyle:j.glimmer})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("useSearchCometGlobalTypeaheadStyles",["react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=(h||d("react")).useMemo,j={inputXStyle:{alignItems:"x6s0dn4",boxSizing:"x9f619",display:"x78zum5",height:"x1s65kcs",marginBottom:"x1wsgfga",paddingEnd:"x1pi30zi",paddingLeft:null,paddingRight:null,paddingStart:"x1swvt13",$$css:!0}},k={typeaheadLayout:{display:"x1lliihq",position:"x1n2onr6","::before_bottom":"xhq5o37","::before_boxShadow":"x1qxoq08","::before_content":"x1cpjm7i","::before_end":"x1ryaae9","::before_left":null,"::before_right":null,"::before_opacity":"x124lp2h","::before_position":"x1hmns74","::before_start":"x1mhyesy","::before_top":"x1y3wzot",$$css:!0},typeaheadLayoutOpened:{borderBottom:"xaqea5y",borderBottomEndRadius:"x30kzoy",borderBottomStartRadius:"x9jhf4c",borderEnd:"x1b1mbwd",borderStart:"xav7gou",borderTop:"x6umtig","::before_borderBottomEndRadius":"x9lpf2z","::before_borderBottomStartRadius":"x1eqyvvh","::before_opacity":"xfbg1o9","::before_transitionDuration":"x1kphnah","::before_transitionProperty":"x1de4urk","::before_transitionTimingFunction":"xyt8op7",$$css:!0}};function a(){return i(function(){return{inputXStyle:j.inputXStyle,layoutOpenedXStyle:k.typeaheadLayoutOpened,layoutXStyle:k.typeaheadLayout}},[])}g["default"]=a}),98); __d("useHostedRouteEntityKey",["getCometEntityKey","react","useHostedRoute"],(function(a,b,c,d,e,f,g){"use strict";var h,i=(h||d("react")).useMemo;function a(){var a=c("useHostedRoute")(),b=i(function(){return a?c("getCometEntityKey")(a):null},[a]);return b}g["default"]=a}),98);/*FB_PKG_DELIM*/ __d("ReactImplementation",["unrecoverableViolation"],(function(a,b,c,d,e,f,g){var h=null,i=!1;function a(){i=!0;return h}function b(a){if(i)throw c("unrecoverableViolation")("React implementation cannot be injected after it was requested.","react_flight");if(h!=null)throw c("unrecoverableViolation")("React implementation has already been injected.","react_flight");h=a}g.get=a;g.inject=b}),98); __d("react-forget-runtime",["fb-error","gkx"],(function(a,b,c,d,e,f,g){c=null;d=null;e=[];f={};function a(a){}function b(a){c=a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher}g.$dispatcherGuard=a;g.initReactForgetRuntime=b}),98); __d("React",["FBLogger","ReactImplementation","cr:1108857","cr:1294158","react-forget-runtime"],(function(a,b,c,d,e,f){a=b("cr:1294158");c=b("ReactImplementation").get();if(c!=null)a=c;else{var g=a.createFactory;a.createFactory=function(){b("FBLogger")("react","createfactory").mustfix("React.createFactory is not supported anymore");return g.apply(void 0,arguments)}}e.exports=a}),null); __d("uuidv4",[],(function(a,b,c,d,e,f){"use strict";function a(){var a;a=(a=self)==null?void 0:(a=a.crypto)==null?void 0:a.randomUUID;return typeof a==="function"?self.crypto.randomUUID():"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(a){var b=Math.random()*16|0;a=a==="x"?b:b&3|8;return a.toString(16)})}f["default"]=a}),66); __d("setTimeoutCometLoggingPri",["JSScheduler","setTimeoutCometInternals"],(function(a,b,c,d,e,f,g){"use strict";var h;function a(a,b){for(var c=arguments.length,e=new Array(c>2?c-2:0),f=2;f=a.start&&(a.markerPoints[b]={timestamp:e,type:d},f&&(a.markerPoints[b].data=f))},addFirstMarkerPoint:function(a,b,c,d,e){e===void 0&&(e={});a=i.get(a);if(!a)return;var f=a.markerPoints[b];d>=a.start&&(!f||f.timestamp>d)&&(a.markerPoints[b]={timestamp:d,type:c},e&&(a.markerPoints[b].data=e))},addMetadata:function(a,b,d){a=i.get(a);if(!a)return;if(typeof d==="number"){var e;c("addAnnotations")(a.annotations,{"int":(e={},e[b]=d,e)})}else if(typeof d==="string"){c("addAnnotations")(a.annotations,{string:(e={},e[b]=d,e)})}else if(typeof d==="boolean"){c("addAnnotations")(a.annotations,{bool:(e={},e[b]=d,e)})}},addAnnotation:function(a,b,d){a=i.get(a);if(a){c("addAnnotations")(a.annotations,{string:(a={},a[b]=d,a)})}},addAnnotationInt:function(a,b,d){a=i.get(a);if(a){c("addAnnotations")(a.annotations,{"int":(a={},a[b]=d,a)})}},addAnnotationDouble:function(a,b,d){a=i.get(a);if(a){c("addAnnotations")(a.annotations,{"double":(a={},a[b]=d,a)})}},addAnnotationBoolean:function(a,b,d){a=i.get(a);if(a){c("addAnnotations")(a.annotations,{bool:(a={},a[b]=d,a)})}},addAnnotationStringArray:function(a,b,d){a=i.get(a);if(a){c("addAnnotations")(a.annotations,{string_array:(a={},a[b]=d,a)})}},addAnnotationIntArray:function(a,b,d){a=i.get(a);if(a){c("addAnnotations")(a.annotations,{int_array:(a={},a[b]=d,a)})}},addAnnotationDoubleArray:function(a,b,d){a=i.get(a);if(a){c("addAnnotations")(a.annotations,{double_array:(a={},a[b]=d,a)})}},addAnnotationBooleanArray:function(a,b,d){a=i.get(a);if(a){c("addAnnotations")(a.annotations,{bool_array:(a={},a[b]=d,a)})}},addOfflineTiming:function(a,b){a=i.get(a);if(!a)return;a.offlineTimings=b},addPayloadResource:function(a,b,c){a=i.get(a);if(!a)return;a.payloadResources[b]=c},addPayloadTiming:function(a,b,c){a=i.get(a);if(!a)return;a.payloadTimings[b]=c},addReactRender:function(a,b,c,d,e,f,g){a=i.get(a);if(!a)return;e={actualDuration:e,baseDuration:f,duration:d-c,end:d,phase:g,start:c};a.reactRender[b]?a.reactRender[b].push(e):a.reactRender[b]=[e];a.commitSet.add(d)},addSubspan:function(a,b,c,d,e,f){a=i.get(a);if(!a)return;f={data:f,end:e,start:d,type:c};a.subSpans[b]?a.subSpans[b].push(f):a.subSpans[b]=[f]},addMountPoint:function(a,b,c){c="Mount_"+c;m.addFirstMarkerPoint(a,c,"VisualCompletion",b)},addMountPointMetadata:function(a,b,c){a=m.get(a);b="Mount_"+b;a=a==null?void 0:a.markerPoints[b];if(a){var d=a.data||{};a.data=d;Object.keys(c).forEach(function(a){d[a]=c[a]})}},addTag:function(a,b,c){a=i.get(a);if(!a)return;a.tagSet[b]||(a.tagSet[b]=new Set());a.tagSet[b].add(c)},addTracedInteraction:function(a,b,c){b={annotations:{string:{},"int":{},"double":{},bool:{},string_array:{},int_array:{},double_array:{},bool_array:{}},commitSet:new Set(),factoryTimings:[],hasVcReport:!1,heroBootloads:[],heroRelay:[],hiddenTimings:[],imagePreloaderTimings:{},lateMutationIgnoreElements:new Set(),markerPoints:{},navigationTiming:{},offlineTimings:[],payloadResources:{},payloadTimings:{},pendingPlaceholders:[],reactRender:{},requireDeferreds:{},start:b,subSpans:{},tagSet:{},traceId:a,vcStateLog:null,wasCanceled:!1,wasOffline:!1};for(var d in k)for(var e in k[d])b.annotations[d][e]=k[d][e];i.set(a,b);j.set(a,b);h.set(a,c);l.interactionCount++;return b},complete:function(a){var b=i.get(a);if(b&&b.completed==null){c("addAnnotations")(b.annotations,{"int":{endedByHeroComplete:1}});b.completed=c("performanceNowSinceAppStart")();var d=h.get(a);d&&d(b);h["delete"](a);j["delete"](a)}},currentInteractionLogger:a,dump:function(){var a={},b=Array.from(i.values());b.sort(function(a,b){return a.start-b.start}).forEach(function(b){var c=b.traceId,e=d("hero-tracing-placeholder").HeroPendingPlaceholderTracker.dump(b.traceId);a[c]=babelHelpers["extends"]({},b,{pendingPlaceholders:e,e2e:b.completed!=null?((b.completed-b.start)/1e3).toFixed(2):"?"})});return a},get:function(a){return i.get(a)},removeMarkerPoint:function(a,b){a=i.get(a);a&&delete a.markerPoints[b]},setInteractionClass:function(a,b){a=i.get(a);a&&(a.interactionClass=b)},setInteractionType:function(a,b,c,d){a=i.get(a);a&&(a.interactionClass=b,a.type=c,a.qplEvent=d)},"delete":function(a){i["delete"](a)},getInteractionStat:function(){return l}};b=m;g["default"]=b}),98); __d("interaction-tracing-metrics",["InteractionTracingMetricsCore"],(function(a,b,c,d,e,f,g){"use strict";g.InteractionTracingMetricsCore=c("InteractionTracingMetricsCore")}),98); __d("asyncToGeneratorRuntime",["Promise"],(function(a,b,c,d,e,f){"use strict";var g;function h(a,c,d,e,f,h,i){try{var j=a[h](i),k=j.value}catch(a){d(a);return}j.done?c(k):(g||(g=b("Promise"))).resolve(k).then(e,f)}function a(a){return function(){var c=this,d=arguments;return new(g||(g=b("Promise")))(function(b,e){var f=a.apply(c,d);function g(a){h(f,b,e,g,i,"next",a)}function i(a){h(f,b,e,g,i,"throw",a)}g(void 0)})}}f.asyncToGenerator=a}),66); __d("regeneratorRuntime",["Promise"],(function(a,b,c,d,e,f){"use strict";var g,h=Object.prototype.hasOwnProperty,i=typeof Symbol==="function"&&(typeof Symbol==="function"?Symbol.iterator:"@@iterator")||"@@iterator",j=e.exports;function k(a,b,c,d){b=Object.create((b||r).prototype);d=new A(d||[]);b._invoke=x(a,c,d);return b}j.wrap=k;function l(a,b,c){try{return{type:"normal",arg:a.call(b,c)}}catch(a){return{type:"throw",arg:a}}}var m="suspendedStart",n="suspendedYield",o="executing",p="completed",q={};function r(){}function s(){}function t(){}var u=t.prototype=r.prototype;s.prototype=u.constructor=t;t.constructor=s;s.displayName="GeneratorFunction";function a(a){["next","throw","return"].forEach(function(b){a[b]=function(a){return this._invoke(b,a)}})}j.isGeneratorFunction=function(a){a=typeof a==="function"&&a.constructor;return a?a===s||(a.displayName||a.name)==="GeneratorFunction":!1};j.mark=function(a){Object.setPrototypeOf?Object.setPrototypeOf(a,t):Object.assign(a,t);a.prototype=Object.create(u);return a};j.awrap=function(a){return new v(a)};function v(a){this.arg=a}function w(a){function c(c,f){var h=a[c](f);c=h.value;return c instanceof v?(g||(g=b("Promise"))).resolve(c.arg).then(d,e):(g||(g=b("Promise"))).resolve(c).then(function(a){h.value=a;return h})}typeof process==="object"&&process.domain&&(c=process.domain.bind(c));var d=c.bind(a,"next"),e=c.bind(a,"throw");c.bind(a,"return");var f;function h(a,d){var e=f?f.then(function(){return c(a,d)}):new(g||(g=b("Promise")))(function(b){b(c(a,d))});f=e["catch"](function(a){});return e}this._invoke=h}a(w.prototype);j.async=function(a,b,c,d){var e=new w(k(a,b,c,d));return j.isGeneratorFunction(b)?e:e.next().then(function(a){return a.done?a.value:e.next()})};function x(a,b,c){var d=m;return function(e,f){if(d===o)throw new Error("Generator is already running");if(d===p){if(e==="throw")throw f;return C()}while(!0){var g=c.delegate;if(g){if(e==="return"||e==="throw"&&g.iterator[e]===void 0){c.delegate=null;var h=g.iterator["return"];if(h){h=l(h,g.iterator,f);if(h.type==="throw"){e="throw";f=h.arg;continue}}if(e==="return")continue}h=l(g.iterator[e],g.iterator,f);if(h.type==="throw"){c.delegate=null;e="throw";f=h.arg;continue}e="next";f=void 0;var i=h.arg;if(i.done)c[g.resultName]=i.value,c.next=g.nextLoc;else{d=n;return i}c.delegate=null}if(e==="next")d===n?c.sent=f:c.sent=void 0;else if(e==="throw"){if(d===m){d=p;throw f}c.dispatchException(f)&&(e="next",f=void 0)}else e==="return"&&c.abrupt("return",f);d=o;h=l(a,b,c);if(h.type==="normal"){d=c.done?p:n;var i={value:h.arg,done:c.done};if(h.arg===q)c.delegate&&e==="next"&&(f=void 0);else return i}else h.type==="throw"&&(d=p,e="throw",f=h.arg)}}}a(u);u[i]=function(){return this};u.toString=function(){return"[object Generator]"};function y(a){var b={tryLoc:a[0]};1 in a&&(b.catchLoc=a[1]);2 in a&&(b.finallyLoc=a[2],b.afterLoc=a[3]);this.tryEntries.push(b)}function z(a){var b=a.completion||{};b.type="normal";delete b.arg;a.completion=b}function A(a){this.tryEntries=[{tryLoc:"root"}],a.forEach(y,this),this.reset(!0)}j.keys=function(a){var b=[];for(var c in a)b.push(c);b.reverse();return function c(){while(b.length){var d=b.pop();if(d in a){c.value=d;c.done=!1;return c}}c.done=!0;return c}};function B(a){if(a){var b=a[i];if(b)return b.call(a);if(typeof a.next==="function")return a;if(!isNaN(a.length)){var c=-1;b=function b(){while(++c=0;--d){var e=this.tryEntries[d],f=e.completion;if(e.tryLoc==="root")return c("end");if(e.tryLoc<=this.prev){var g=h.call(e,"catchLoc"),i=h.call(e,"finallyLoc");if(g&&i){if(this.prev=0;--c){var d=this.tryEntries[c];if(d.tryLoc<=this.prev&&h.call(d,"finallyLoc")&&this.prev=0;--b){var c=this.tryEntries[b];if(c.finallyLoc===a){this.complete(c.completion,c.afterLoc);z(c);return q}}},"catch":function(a){for(var b=this.tryEntries.length-1;b>=0;--b){var c=this.tryEntries[b];if(c.tryLoc===a){var d=c.completion;if(d.type==="throw"){var e=d.arg;z(c)}return e}}throw new Error("illegal catch attempt")},delegateYield:function(a,b,c){this.delegate={iterator:B(a),resultName:b,nextLoc:c};return q}}}),null); __d("randomInt",["invariant"],(function(a,b,c,d,e,f,g,h){function a(a,b){a=b===void 0?[0,a]:[a,b];b=a[0];a=a[1];a>b||h(0,1180,a,b);return Math.floor(b+Math.random()*(a-b))}g["default"]=a}),98); __d("isPromise",["Promise"],(function(a,b,c,d,e,f){"use strict";var g;function a(a){return a instanceof(g||(g=b("Promise")))||typeof (a==null?void 0:a.then)==="function"}f["default"]=a}),66);/*FB_PKG_DELIM*/ __d("FeedComposerCometRootQuery_facebookRelayOperation",[],(function(a,b,c,d,e,f){e.exports="7302646529785330"}),null); __d("FeedComposerCometRootQuery$Parameters",["FeedComposerCometRootQuery_facebookRelayOperation"],(function(a,b,c,d,e,f){"use strict";a={kind:"PreloadableConcreteRequest",params:{id:b("FeedComposerCometRootQuery_facebookRelayOperation"),metadata:{},name:"FeedComposerCometRootQuery",operationKind:"query",text:null}};e.exports=a}),null); __d("AddOnEndOverride.react",["react","stylex"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=i||d("react");function a(a,b){var d=a.children,e=a.xstyle;a=babelHelpers.objectWithoutPropertiesLoose(a,["children","xstyle"]);return j.jsx("div",babelHelpers["extends"]({},a,{className:(h||(h=c("stylex")))(e),ref:b,children:d}))}a.displayName=a.name+" [from "+f.id+"]";b=j.forwardRef(a);g["default"]=b}),98); __d("CometOnMobileContext.react",["react"],(function(a,b,c,d,e,f,g){"use strict";var h;a=h||d("react");b={isCometOnMobile:!1};c=a.createContext(b);g["default"]=c}),98); __d("useIsCometOnMobile",["CometOnMobileContext.react","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=(h||d("react")).useContext;function a(){return i(c("CometOnMobileContext.react")).isCometOnMobile}g["default"]=a}),98); __d("CometCardedDialogLegacy.react",["fbt","ix","BaseDialog.react","BaseHeadingContextWrapper.react","CometCircleButton.react","CometTrackingNodeProvider.react","Locale","TetraText.react","TetraTextPairing.react","fbicon","gkx","react","stylex","useIsCometOnMobile"],(function(a,b,c,d,e,f,g,h,i){"use strict";var j,k,l=k||(k=d("react")),m=k.useId,n=d("fbicon")._(i("512647"),20),o=d("fbicon")._(i("514454"),20);b={anchor:{paddingStart:"xurb0ha",paddingLeft:null,paddingRight:null,paddingEnd:"x1sxyh0",paddingTop:"x1x97wu9",paddingBottom:"xbr3nou","@media (max-width: 564px)_paddingStart":"x3v4vwv","@media (max-width: 564px)_paddingLeft":null,"@media (max-width: 564px)_paddingRight":null,"@media (max-width: 564px)_paddingEnd":"x1dzdb2q",$$css:!0},anchorInMobileEnvironment:{paddingTop:"xexx8yu",paddingBottom:"x18d9i69",$$css:!0},backButton:{position:"x10l6tqk",start:"x16q8cke",left:null,right:null,top:"x1tk7jg1",zIndex:"x1vjfegm",$$css:!0},card:{backgroundColor:"x1jx94hy",borderTopStartRadius:"x1qpq9i9",borderTopEndRadius:"xdney7k",borderBottomEndRadius:"xu5ydu1",borderBottomStartRadius:"xt3gfkd",boxShadow:"x104qc98","@media (max-width: 564px)_borderTopStartRadius":"x1g2kw80","@media (max-width: 564px)_borderTopEndRadius":"x16n5opg","@media (max-width: 564px)_borderBottomEndRadius":"xl7ujzl","@media (max-width: 564px)_borderBottomStartRadius":"xhkep3z",$$css:!0},closeButton:{end:"x92rtbv",left:null,right:null,position:"x10l6tqk",top:"x1tk7jg1",zIndex:"x1vjfegm",$$css:!0},header:{boxSizing:"x9f619",height:"xng8ra",$$css:!0},headerBottomBorder:{borderBottomColor:"x1nb4dca",borderBottomStyle:"x1q0q8m5",borderBottomWidth:"xso031l",$$css:!0},headerWithBackButton:{paddingStart:"xyxze6z",paddingLeft:null,paddingRight:null,$$css:!0},headerWithCloseButton:{paddingEnd:"x525zg8",paddingLeft:null,paddingRight:null,$$css:!0},headerWithPadding:{paddingEnd:"x525zg8",paddingLeft:null,paddingRight:null,paddingStart:"xyxze6z",$$css:!0},rootInMobileEnvironment:{justifyContent:"x1nhvcw1",$$css:!0},titleWrapper:{alignItems:"x6s0dn4",boxSizing:"x9f619",display:"x78zum5",height:"x5yr21d",paddingEnd:"x1pi30zi",paddingLeft:null,paddingRight:null,paddingStart:"x1swvt13",$$css:!0}};e={headerBottomBorder:{borderBottomWidth:"xso031l",borderBottomStyle:"x1q0q8m5",borderBottomColor:"x1nb4dca",$$css:!0}};var p=c("gkx")("4855")?babelHelpers["extends"]({},b,e):b,q={content:{maxWidth:"x193iq5w",$$css:!0},"content-mobile-safe":{width:"xh8yej3",$$css:!0},medium:{maxWidth:"xrgej4m",width:"xh8yej3",$$css:!0},small:{maxWidth:"x1n7qst7",width:"xh8yej3",$$css:!0}},r={center:{justifyContent:"xl56j7k",$$css:!0},start:{justifyContent:"x1nhvcw1",$$css:!0}};function a(a,b){var e,f,g,k=a.anchorXStyle,s=a.ariaLabel,t=a.rootXStyle,u=a.backButtonType,v=a.children,w=a.disableHeaderDivider;w=w===void 0?!1:w;var x=a.closeButtonType,y=a.closeButtonTestId;y=y===void 0?"close_button":y;y=a.header;var z=a.onBack;z=z===void 0?function(){}:z;var A=a.onClose;A=A===void 0?function(){}:A;var B=a.disableClosingWithMask;B=B===void 0?!1:B;var C=a.labelledBy,D=a.size;D=D===void 0?"small":D;var E=a.testid;E=a.title;var F=a.titleWithEntities,G=a.subtitle,H=a.titleHorizontalAlignment;H=H===void 0?"center":H;var I=a.withBackButton;I=I===void 0?!1:I;var J=a.withCloseButton;J=J===void 0?!1:J;a=a.withDeprecatedStyles;a=a===void 0?!0:a;var K=c("useIsCometOnMobile")();D=D==="content-mobile-safe"&&!K?"content":D;e=(e=E)!=null?e:F;var L=m();f=E==null&&((f=y)!=null?f:F)!=null?L:void 0;F=d("Locale").isRTL();return l.jsxs(c("BaseDialog.react"),{anchorXStyle:[p.anchor,K&&p.anchorInMobileEnvironment,k],"aria-label":C!=null?void 0:(k=(L=s)!=null?L:E)!=null?k:void 0,"aria-labelledby":(s=C)!=null?s:f,disableClosingWithMask:B,onClose:A,ref:b,rootXStyle:[K&&p.rootInMobileEnvironment,t],testid:void 0,withDeprecatedStyles:a,xstyle:[p.card,q[D]],children:[y!=null&&l.jsx("div",{className:(j||(j=c("stylex")))(p.header,!w&&p.headerBottomBorder,J&&p.headerWithCloseButton,I&&p.headerWithBackButton,(J||I)&&H==="center"&&p.headerWithPadding),id:f,children:y}),e!=null&&y==null&&l.jsx("div",{className:(j||(j=c("stylex")))(p.header,!w&&p.headerBottomBorder,J&&p.headerWithCloseButton,I&&p.headerWithBackButton,(J||I)&&H==="center"&&p.headerWithPadding),id:f,children:l.jsx("div",{className:(j||(j=c("stylex")))(p.titleWrapper,r[H]),children:G!=null?l.jsx(c("TetraTextPairing.react"),{body:G,bodyLineLimit:2,headline:e,headlineLineLimit:1,isSemanticHeading:!0,level:K?3:2,textAlign:"center"}):l.jsx(c("TetraText.react"),{isSemanticHeading:!0,numberOfLines:1,type:K?"headlineEmphasized3":"headlineEmphasized2",children:e})})}),J?l.jsx(c("CometTrackingNodeProvider.react"),{trackingNode:141,children:l.jsx("div",{className:(j||(j=c("stylex")))(p.closeButton),"data-testid":void 0,children:l.jsx(c("CometCircleButton.react"),{color:"secondary",icon:d("fbicon")._(i("478233"),20),label:h._("__JHASH__tnRfHlva-bL__JHASH__"),onPress:A,size:36,type:x})})}):null,I?l.jsx("div",{className:(j||(j=c("stylex")))(p.backButton),"data-testid":void 0,children:l.jsx(c("CometCircleButton.react"),{color:"secondary",icon:F?o:n,label:h._("__JHASH__sqTeJmgA5ut__JHASH__"),onPress:z,size:36,type:u})}):null,l.jsx(c("BaseHeadingContextWrapper.react"),{children:v})]})}a.displayName=a.name+" [from "+f.id+"]";e=l.forwardRef(a);g["default"]=e}),98); __d("CometCardedDialogLoadingStateGlimmer.react",["BaseLoadingStateElement.react","CometGlimmer.react","gkx","react","stylex"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=i||d("react");b={bodyGlimmer:{borderTopStartRadius:"x1rcc7c0",borderTopEndRadius:"xbtbmw4",borderBottomEndRadius:"x1lie4ck",borderBottomStartRadius:"x16hxpj1",height:"x1v9usgg",marginBottom:"x1u7kmwd",$$css:!0},bodyGlimmerContainer:{paddingTop:"x1cnzs8",paddingEnd:"xc73u3c",paddingBottom:"x1gwgq1z",paddingStart:"x5ib6vp",$$css:!0},bodyGlimmerFirst:{width:"xktia5q",$$css:!0},bodyGlimmerSecond:{width:"xz84dc7",$$css:!0},header:{alignItems:"x6s0dn4",borderBottom:"xua58t2",display:"x78zum5",height:"xng8ra",justifyContent:"xl56j7k",textAlign:"x2b8uid",$$css:!0},headerGlimmer:{borderTopStartRadius:"x1rcc7c0",borderTopEndRadius:"xbtbmw4",borderBottomEndRadius:"x1lie4ck",borderBottomStartRadius:"x16hxpj1",height:"x1v9usgg",width:"x1exxlbk",$$css:!0}};e={header:{alignItems:"x6s0dn4",borderBottomWidth:"xso031l",borderBottomStyle:"x1q0q8m5",borderBottomColor:"x1nb4dca",display:"x78zum5",height:"xng8ra",justifyContent:"xl56j7k",textAlign:"x2b8uid",$$css:!0}};var k=c("gkx")("4855")?babelHelpers["extends"]({},b,e):b;function a(a){var b=a.bodyGlimmerContainerXStyle;b=b===void 0?null:b;a=a.withHeader;a=a===void 0?!1:a;return j.jsxs(c("BaseLoadingStateElement.react"),{children:[a&&j.jsx("div",{className:(h||(h=c("stylex")))(k.header),children:j.jsx(c("CometGlimmer.react"),{index:0,xstyle:k.headerGlimmer})}),j.jsxs("div",{className:(h||(h=c("stylex")))(k.bodyGlimmerContainer,b),children:[j.jsx(c("CometGlimmer.react"),{index:1,xstyle:[k.bodyGlimmer,k.bodyGlimmerFirst]}),j.jsx(c("CometGlimmer.react"),{index:2,xstyle:[k.bodyGlimmer,k.bodyGlimmerSecond]})]})]})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("CometCardedDialogLoadingStateLegacy.react",["CometCardedDialogLegacy.react","CometCardedDialogLoadingStateGlimmer.react","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||d("react");function a(a){return i.jsx("div",{"aria-busy":!0,className:"x4b6v7d xmqsq3q x1ojsi0c",children:i.jsx(c("CometCardedDialogLegacy.react"),babelHelpers["extends"]({},a,{children:i.jsx(c("CometCardedDialogLoadingStateGlimmer.react"),{withHeader:a.title==null})}))})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("CometComposerMinutiaeBarLoading.react",["CometGlimmer.react","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||d("react"),j={halfWidth:{width:"x3hqpx7",$$css:!0},imageGlimmer:{borderTopStartRadius:"x14yjl9h",borderTopEndRadius:"xudhj91",borderBottomEndRadius:"x18nykt9",borderBottomStartRadius:"xww2gxu",height:"x1vqgdyp",width:"x100vrsf",$$css:!0},minutiaeBar:{alignItems:"x6s0dn4",boxSizing:"x9f619",display:"x78zum5",paddingTop:"xyamay9",width:"xh8yej3",$$css:!0},minutiaeGlimmer:{height:"x17rw0jw",marginTop:"x14vqqas",marginEnd:"xq8finb",marginBottom:"xod5an3",marginStart:"x16n37ib",$$css:!0},roundedGlimmer:{borderTopStartRadius:"x1lq5wgf",borderTopEndRadius:"xgqcy7u",borderBottomEndRadius:"x30kzoy",borderBottomStartRadius:"x9jhf4c",$$css:!0}};function a(){return i.jsxs("div",{className:"x6s0dn4 x9f619 x78zum5 xyamay9 xh8yej3",children:[i.jsx(c("CometGlimmer.react"),{index:1,xstyle:j.imageGlimmer}),i.jsx("div",{className:"x3hqpx7",children:i.jsx(c("CometGlimmer.react"),{index:1,xstyle:[j.minutiaeGlimmer,j.roundedGlimmer]})})]})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("FeedComposerCometGlimmer.react",["CometComposerMinutiaeBarLoading.react","CometComposerStylingConstants","CometGlimmer.react","gkx","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||d("react"),j={ctaGlimmer:{height:"x1s1d1n7",marginTop:"x1gslohp",marginEnd:"x11i5rnm",marginBottom:"x1yztbdb",marginStart:"x1mh8g0r",$$css:!0},fullWidth:{width:"xh8yej3",$$css:!0},root:{boxSizing:"x9f619",display:"x78zum5",flexDirection:"xdt5ytf",height:"xboal0k",justifyContent:"x1qughib",paddingTop:"xexx8yu",paddingEnd:"x1pi30zi",paddingBottom:"x18d9i69",paddingStart:"x1swvt13",$$css:!0},roundedGlimmer:{borderTopStartRadius:"x1lq5wgf",borderTopEndRadius:"xgqcy7u",borderBottomEndRadius:"x30kzoy",borderBottomStartRadius:"x9jhf4c",$$css:!0}};function a(a){a=a.responsive;a=a===void 0?!1:a;var b=c("gkx")("1224637")?d("CometComposerStylingConstants").GEMINI_COMPOSER_WIDTH:d("CometComposerStylingConstants").COMPOSER_ORIGINAL_WIDTH;return i.jsxs("div",{className:"x9f619 x78zum5 xdt5ytf xboal0k x1qughib xexx8yu x1pi30zi x18d9i69 x1swvt13",style:{width:a===!1&&b},children:[i.jsx(c("CometComposerMinutiaeBarLoading.react"),{}),i.jsx("div",{className:"xh8yej3",children:i.jsx(c("CometGlimmer.react"),{index:2,xstyle:[j.ctaGlimmer,j.roundedGlimmer]})})]})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("composerCometCardedDialogProps",[],(function(a,b,c,d,e,f,g){"use strict";a={anchor:{minHeight:"x1xoerdy",$$css:!0}};b={anchorXStyle:a.anchor,size:"content"};g["default"]=b}),98); __d("useCometComposerEntryPointDialog",["fbt","CometCardedDialogLegacy.react","FeedComposerCometGlimmer.react","cometComposerLogger","composerCometCardedDialogProps","react","useCometEntryPointDialog","uuidv4"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j=i||(i=d("react"));b=i;var k=b.useCallback,l=b.useRef,m={withCloseButton:!0};function n(a){return j.jsx("div",{children:j.jsx(c("CometCardedDialogLegacy.react"),babelHelpers["extends"]({title:a.title},c("composerCometCardedDialogProps"),a,{children:j.jsx(c("FeedComposerCometGlimmer.react"),{})}))})}n.displayName=n.name+" [from "+f.id+"]";function a(a){var b=a||{},d=b.composerEntryPointName,e=b.composerSourceSurface,f=b.composerDialogEntryPoint,g=b.composerType,i=b.disableClosingWithMask,o=b.onBeforeClose,p=b.onClose,q=b.onCloseWithoutSave,r=b.onSaveError,s=b.onSubmit,t=b.reactionType,u=b.storyID,v=b.profileID,w=b.title,x=w===void 0?h._("__JHASH__7wa2Ol4OIqR__JHASH__"):w,y=b.tracePolicy,z=b.localBackupTargetID,A=b.renderLocation;w=l(null);b=c("useCometEntryPointDialog")(f,{composerType:g,profileID:v,reactionType:t,storyID:u},"button",function(a){return j.jsx(n,babelHelpers["extends"]({onClose:a,title:x},m))},{queryIsCheap_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:!0});var B=b[0];t=b[1];u=b[2];b=b[3];var C=k(function(b){a!=null&&a.onSave!=null&&(a.onSave&&a.onSave(b))},[a]),D=(f=f==null?void 0:(f=f.root)==null?void 0:f.getModuleId())!=null?f:null;f=k(function(a){var b,f;a=a||{};var h=a.beginningViewState;a=a.pushedPageOnLoad;b=(b=h==null?void 0:h.creationSessionID)!=null?b:c("uuidv4")();f={composerEntryPointName:d,composerSourceSurface:e,composerType:(f=g)!=null?f:D};f={fields:f,type:"COMPOSER_ENTRY"};c("cometComposerLogger")(f,b);B(babelHelpers["extends"]({beginningViewState:babelHelpers["extends"]({},h,{creationSessionID:b}),composerEntryPointName:d,composerSourceSurface:e,composerType:g,disableClosingWithMask:i,localBackupTargetID:z,onBeforeClose:o,onCloseWithoutSave:q,onSave:C,onSaveError:r,onSubmit:s,profileID:v,pushedPageOnLoad:a,renderLocation:A,title:x},m),p,y)},[D,d,e,g,i,z,o,p,q,C,r,s,v,A,B,x,y]);return[f,w,t,u,b]}g["default"]=a}),98); __d("getIsFooterModularizationEnabled.entrypointutils",["qex"],(function(a,b,c,d,e,f,g){"use strict";function a(){var a;return(a=c("qex")._("1344"))!=null?a:!1}g.getIsFooterModularizationEnabled=a}),98); __d("useResumableComposerViewState",["Actor","createEmptyCometComposerViewState","emptyObject","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=(h||d("react")).useRef;function a(a){a=a||c("emptyObject");var b=a.actorID_OVERRIDE_I_KNOW_WHAT_IM_DOING,e=a.defaultViewState;a=d("Actor").useActor();a=a[0];var f=(b=b)!=null?b:a,g=i(f),h=i(null);b=function(a){g.current=f,h.current=a!=null?j(a):null};a=function(){g.current=f,h.current=null};var k=function(a,b){var d;d=(d=e)!=null?d:c("createEmptyCometComposerViewState")(null,b);b=h.current;b!=null&&g.current===f?b=b:b=d;if(a!=null){return babelHelpers["extends"]({},b,{attachmentArea:{activeAttachmentType:"MEDIA"},mediaAttachments:(((d=b)==null?void 0:d.mediaAttachments)||[]).concat(a)})}return b};return{clearResumableViewState:a,getResumableViewState:k,saveResumableViewState:b}}function j(a){var b=a.mediaAttachments!=null?a.mediaAttachments.map(function(a){if(a.state==="UPLOADING"||a.state==="QUEUED")switch(a.fileType){case"PHOTO":return{data:a.data,file:a.file,fileObjectURL:a.fileObjectURL,fileType:"PHOTO",state:"NEW"};case"VIDEO":return{data:a.data,file:a.file,fileObjectURL:a.fileObjectURL,fileType:"VIDEO",state:"NEW"};default:return{data:a.data,file:a.file,fileObjectURL:a.fileObjectURL,fileType:"FILE",state:"NEW"}}return a}):void 0;return babelHelpers["extends"]({},a,{mediaAttachments:b})}g["default"]=a}),98); __d("FeedComposerCometDialog.entrypoint",["FeedComposerCometRootQuery$Parameters","JSResourceForInteraction","WebPixelRatio","getIsFooterModularizationEnabled.entrypointutils"],(function(a,b,c,d,e,f,g){"use strict";a={getPreloadProps:function(a){var c=a.profileID;a=a.storyID;return{queries:{composerQueryReference:{options:{fetchPolicy:"store-or-network"},parameters:b("FeedComposerCometRootQuery$Parameters"),variables:{hasStory:a!=null&&a!=="",isFooterButtonModularizationEnabled:d("getIsFooterModularizationEnabled.entrypointutils").getIsFooterModularizationEnabled(),privacySelectorRenderLocation:"COMET_COMPOSER",profileID:c,scale:d("WebPixelRatio").get(),storyID:(c=a)!=null?c:""}}}}},root:c("JSResourceForInteraction")("FeedComposerCometDialog.react").__setRef("FeedComposerCometDialog.entrypoint")};g["default"]=a}),98); __d("useFeedComposerCometDialogImplementation",["FeedComposerCometDialog.entrypoint","useCometComposerEntryPointDialog"],(function(a,b,c,d,e,f,g){"use strict";function a(a){return c("useCometComposerEntryPointDialog")(babelHelpers["extends"]({},a,{composerDialogEntryPoint:c("FeedComposerCometDialog.entrypoint")}))}g["default"]=a}),98); __d("searchCometScopedTypeaheadDialogFallback",["CometCardedDialogLoadingStateLegacy.react","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||d("react"),j={anchor:{minHeight:"x1n6yrxt",$$css:!0}};a=function(a){return i.jsx(c("CometCardedDialogLoadingStateLegacy.react"),{anchorXStyle:j.anchor,onClose:a})};g["default"]=a}),98); __d("ProfileCometComposerRootQuery_facebookRelayOperation",[],(function(a,b,c,d,e,f){e.exports="7243144459087794"}),null); __d("useCurrentRouteEntityKey",["getCometEntityKey","react","useCurrentRoute"],(function(a,b,c,d,e,f,g){"use strict";var h,i=(h||d("react")).useMemo;function a(){var a=c("useCurrentRoute")(),b=i(function(){return a?c("getCometEntityKey")(a):null},[a]);return b}g["default"]=a}),98);/*FB_PKG_DELIM*/ __d("CometPrivacyIcon_scope.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[{kind:"RootArgument",name:"scale"}],kind:"Fragment",metadata:null,name:"CometPrivacyIcon_scope",selections:[{alias:null,args:null,kind:"ScalarField",name:"label",storageKey:null},{alias:null,args:[{kind:"Variable",name:"scale",variableName:"scale"}],concreteType:"Image",kind:"LinkedField",name:"icon_image",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},{args:null,kind:"FragmentSpread",name:"useCometPrivacyIcon_image"}],storageKey:null}],type:"PrivacyScope",abstractKey:null};e.exports=a}),null); __d("useCometPrivacyIcon_image.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"useCometPrivacyIcon_image",selections:[{alias:null,args:null,kind:"ScalarField",name:"height",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"scale",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"uri",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"width",storageKey:null}],type:"Image",abstractKey:null};e.exports=a}),null); __d("CometPrivacySelectorEntryPointIcon_renderer$normalization.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[{defaultValue:null,kind:"LocalArgument",name:"CometPrivacySelectorEntryPointIcon_renderer$localPrivacyRow"},{defaultValue:null,kind:"LocalArgument",name:"CometPrivacySelectorEntryPointIcon_renderer$renderLocation"},{defaultValue:null,kind:"LocalArgument",name:"CometPrivacySelectorEntryPointIcon_renderer$tags"}],kind:"SplitOperation",metadata:{},name:"CometPrivacySelectorEntryPointIcon_renderer$normalization",selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"source",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},{alias:"scope",args:[{kind:"Variable",name:"render_location",variableName:"CometPrivacySelectorEntryPointIcon_renderer$renderLocation"},{kind:"Variable",name:"selected_override",variableName:"CometPrivacySelectorEntryPointIcon_renderer$localPrivacyRow"},{kind:"Variable",name:"tags",variableName:"CometPrivacySelectorEntryPointIcon_renderer$tags"}],concreteType:"PrivacyScope",kind:"LinkedField",name:"privacy_scope_for_location",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"label",storageKey:null},{alias:null,args:[{kind:"Variable",name:"scale",variableName:"scale"}],concreteType:"Image",kind:"LinkedField",name:"icon_image",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"height",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"scale",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"uri",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"width",storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"can_viewer_edit",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"description",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"extended_description",storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null}],storageKey:null}]};e.exports=a}),null); __d("CometPrivacySelectorEntryPointIcon_renderer.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[{defaultValue:null,kind:"LocalArgument",name:"localPrivacyRow"},{defaultValue:null,kind:"LocalArgument",name:"renderLocation"},{defaultValue:null,kind:"LocalArgument",name:"tags"}],kind:"Fragment",metadata:null,name:"CometPrivacySelectorEntryPointIcon_renderer",selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"source",plural:!1,selections:[{alias:"scope",args:[{kind:"Variable",name:"render_location",variableName:"renderLocation"},{kind:"Variable",name:"selected_override",variableName:"localPrivacyRow"},{kind:"Variable",name:"tags",variableName:"tags"}],concreteType:"PrivacyScope",kind:"LinkedField",name:"privacy_scope_for_location",plural:!1,selections:[{args:null,kind:"FragmentSpread",name:"CometPrivacyIcon_scope"},{args:null,kind:"FragmentSpread",name:"CometPrivacySelectorTooltip_scope"},{alias:null,args:null,kind:"ScalarField",name:"description",storageKey:null}],storageKey:null}],storageKey:null}],type:"PrivacyScopeCometIconEntryPointRenderer",abstractKey:null};e.exports=a}),null); __d("CometPrivacySelectorEntryPointMatchContainer_renderer.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{kind:"Variable",name:"localPrivacyRow",variableName:"localPrivacyRow"},{kind:"Variable",name:"renderLocation",variableName:"renderLocation"},{kind:"Variable",name:"tags",variableName:"tags"}];return{argumentDefinitions:[{defaultValue:null,kind:"LocalArgument",name:"localPrivacyRow"},{defaultValue:null,kind:"LocalArgument",name:"renderLocation"},{defaultValue:null,kind:"LocalArgument",name:"tags"}],kind:"Fragment",metadata:null,name:"CometPrivacySelectorEntryPointMatchContainer_renderer",selections:[{alias:null,args:[{kind:"Variable",name:"render_location",variableName:"renderLocation"},{kind:"Literal",name:"supported",value:"2NC68H"}],concreteType:null,kind:"LinkedField",name:"entry_point_renderer",plural:!1,selections:[{kind:"InlineFragment",selections:[{args:a,documentName:"CometPrivacySelectorEntryPointMatchContainer_renderer",fragmentName:"CometPrivacySelectorEntryPointButton_renderer",fragmentPropName:"renderer",kind:"ModuleImport"}],type:"PrivacyScopeCometButtonEntryPointRenderer",abstractKey:null},{kind:"InlineFragment",selections:[{args:a,documentName:"CometPrivacySelectorEntryPointMatchContainer_renderer",fragmentName:"CometComposerPrivacySelectorEntryPointButton_renderer",fragmentPropName:"renderer",kind:"ModuleImport"}],type:"PrivacyScopeCometComposerButtonEntryPointRenderer",abstractKey:null},{kind:"InlineFragment",selections:[{args:a,documentName:"CometPrivacySelectorEntryPointMatchContainer_renderer",fragmentName:"CometPrivacySelectorEntryPointIcon_renderer",fragmentPropName:"renderer",kind:"ModuleImport"}],type:"PrivacyScopeCometIconEntryPointRenderer",abstractKey:null},{kind:"InlineFragment",selections:[{args:a,documentName:"CometPrivacySelectorEntryPointMatchContainer_renderer",fragmentName:"CometPrivacySelectorEntryPointLabel_renderer",fragmentPropName:"renderer",kind:"ModuleImport"}],type:"PrivacyScopeCometLabelEntryPointRenderer",abstractKey:null},{kind:"InlineFragment",selections:[{args:a,documentName:"CometPrivacySelectorEntryPointMatchContainer_renderer",fragmentName:"CometPrivacySelectorEntryPointToggle_renderer",fragmentPropName:"renderer",kind:"ModuleImport"}],type:"PrivacyScopeCometToggleEntryPointRenderer",abstractKey:null},{kind:"InlineFragment",selections:[{args:a,documentName:"CometPrivacySelectorEntryPointMatchContainer_renderer",fragmentName:"CometPrivacySelectorEntryPointLeftRailButton_renderer",fragmentPropName:"renderer",kind:"ModuleImport"}],type:"PrivacyScopeCometLeftRailButtonEntryPointRenderer",abstractKey:null}],storageKey:null}],type:"PrivacySelectorRenderer",abstractKey:"__isPrivacySelectorRenderer"}}();e.exports=a}),null); __d("useCometPrivacySelectorNotifyPrivacyOnInitEffect_renderer.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"useCometPrivacySelectorNotifyPrivacyOnInitEffect_renderer",selections:[{alias:null,args:null,concreteType:"PrivacyRowInput",kind:"LinkedField",name:"privacy_row_input",plural:!1,selections:[{args:null,kind:"FragmentSpread",name:"PrivacyRowInput_fragment"}],storageKey:null}],type:"PrivacySelectorRenderer",abstractKey:"__isPrivacySelectorRenderer"};e.exports=a}),null); __d("PrivacyRowInput_fragment.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"PrivacyRowInput_fragment",selections:[{kind:"InlineDataFragmentSpread",name:"PrivacyRowInput_inline",selections:[{alias:null,args:null,kind:"ScalarField",name:"allow",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"base_state",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"deny",storageKey:null},{alias:null,args:null,concreteType:"PrivacyRowInputTargetingFields",kind:"LinkedField",name:"privacy_targeting",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"targeted_publishing_id",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"targeted_publishing_fields",storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"tag_expansion_state",storageKey:null}],args:null,argumentDefinitions:[]}],type:"PrivacyRowInput",abstractKey:null};e.exports=a}),null); __d("PrivacyRowInput_inline.graphql",[],(function(a,b,c,d,e,f){"use strict";a={kind:"InlineDataFragment",name:"PrivacyRowInput_inline"};e.exports=a}),null); __d("CometPrivacySelectorTooltip_scope.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"CometPrivacySelectorTooltip_scope",selections:[{alias:null,args:null,kind:"ScalarField",name:"can_viewer_edit",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"description",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"extended_description",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"label",storageKey:null}],type:"PrivacyScope",abstractKey:null};e.exports=a}),null); __d("CometPrivacySelectorUneditable_renderer$normalization.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[{defaultValue:null,kind:"LocalArgument",name:"CometPrivacySelectorUneditable_renderer$renderLocation"},{defaultValue:null,kind:"LocalArgument",name:"CometPrivacySelectorUneditable_renderer$tags"}],kind:"SplitOperation",metadata:{},name:"CometPrivacySelectorUneditable_renderer$normalization",selections:[{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"PrivacyRowInput",kind:"LinkedField",name:"privacy_row_input",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"allow",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"base_state",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"deny",storageKey:null},{alias:null,args:null,concreteType:"PrivacyRowInputTargetingFields",kind:"LinkedField",name:"privacy_targeting",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"targeted_publishing_id",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"targeted_publishing_fields",storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"tag_expansion_state",storageKey:null}],storageKey:null},{alias:null,args:[{kind:"Variable",name:"render_location",variableName:"CometPrivacySelectorUneditable_renderer$renderLocation"},{kind:"Literal",name:"supported",value:"2NC68H"}],concreteType:null,kind:"LinkedField",name:"entry_point_renderer",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},{kind:"InlineFragment",selections:[{args:[{kind:"Variable",name:"CometPrivacySelectorEntryPointButton_renderer$renderLocation",variableName:"CometPrivacySelectorUneditable_renderer$renderLocation"},{kind:"Variable",name:"CometPrivacySelectorEntryPointButton_renderer$tags",variableName:"CometPrivacySelectorUneditable_renderer$tags"}],documentName:"CometPrivacySelectorEntryPointMatchContainer_renderer",fragmentName:"CometPrivacySelectorEntryPointButton_renderer",fragmentPropName:"renderer",kind:"ModuleImport"}],type:"PrivacyScopeCometButtonEntryPointRenderer",abstractKey:null},{kind:"InlineFragment",selections:[{args:[{kind:"Variable",name:"CometComposerPrivacySelectorEntryPointButton_renderer$renderLocation",variableName:"CometPrivacySelectorUneditable_renderer$renderLocation"},{kind:"Variable",name:"CometComposerPrivacySelectorEntryPointButton_renderer$tags",variableName:"CometPrivacySelectorUneditable_renderer$tags"}],documentName:"CometPrivacySelectorEntryPointMatchContainer_renderer",fragmentName:"CometComposerPrivacySelectorEntryPointButton_renderer",fragmentPropName:"renderer",kind:"ModuleImport"}],type:"PrivacyScopeCometComposerButtonEntryPointRenderer",abstractKey:null},{kind:"InlineFragment",selections:[{args:[{kind:"Variable",name:"CometPrivacySelectorEntryPointIcon_renderer$renderLocation",variableName:"CometPrivacySelectorUneditable_renderer$renderLocation"},{kind:"Variable",name:"CometPrivacySelectorEntryPointIcon_renderer$tags",variableName:"CometPrivacySelectorUneditable_renderer$tags"}],documentName:"CometPrivacySelectorEntryPointMatchContainer_renderer",fragmentName:"CometPrivacySelectorEntryPointIcon_renderer",fragmentPropName:"renderer",kind:"ModuleImport"}],type:"PrivacyScopeCometIconEntryPointRenderer",abstractKey:null},{kind:"InlineFragment",selections:[{args:[{kind:"Variable",name:"CometPrivacySelectorEntryPointLabel_renderer$renderLocation",variableName:"CometPrivacySelectorUneditable_renderer$renderLocation"},{kind:"Variable",name:"CometPrivacySelectorEntryPointLabel_renderer$tags",variableName:"CometPrivacySelectorUneditable_renderer$tags"}],documentName:"CometPrivacySelectorEntryPointMatchContainer_renderer",fragmentName:"CometPrivacySelectorEntryPointLabel_renderer",fragmentPropName:"renderer",kind:"ModuleImport"}],type:"PrivacyScopeCometLabelEntryPointRenderer",abstractKey:null},{kind:"InlineFragment",selections:[{args:[{kind:"Variable",name:"CometPrivacySelectorEntryPointToggle_renderer$renderLocation",variableName:"CometPrivacySelectorUneditable_renderer$renderLocation"},{kind:"Variable",name:"CometPrivacySelectorEntryPointToggle_renderer$tags",variableName:"CometPrivacySelectorUneditable_renderer$tags"}],documentName:"CometPrivacySelectorEntryPointMatchContainer_renderer",fragmentName:"CometPrivacySelectorEntryPointToggle_renderer",fragmentPropName:"renderer",kind:"ModuleImport"}],type:"PrivacyScopeCometToggleEntryPointRenderer",abstractKey:null},{kind:"InlineFragment",selections:[{args:[{kind:"Variable",name:"CometPrivacySelectorEntryPointLeftRailButton_renderer$renderLocation",variableName:"CometPrivacySelectorUneditable_renderer$renderLocation"},{kind:"Variable",name:"CometPrivacySelectorEntryPointLeftRailButton_renderer$tags",variableName:"CometPrivacySelectorUneditable_renderer$tags"}],documentName:"CometPrivacySelectorEntryPointMatchContainer_renderer",fragmentName:"CometPrivacySelectorEntryPointLeftRailButton_renderer",fragmentPropName:"renderer",kind:"ModuleImport"}],type:"PrivacyScopeCometLeftRailButtonEntryPointRenderer",abstractKey:null}],storageKey:null}],type:"PrivacySelectorRenderer",abstractKey:"__isPrivacySelectorRenderer"}]};e.exports=a}),null); __d("CometPrivacySelectorUneditable_renderer.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[{defaultValue:null,kind:"LocalArgument",name:"renderLocation"},{defaultValue:null,kind:"LocalArgument",name:"tags"}],kind:"Fragment",metadata:null,name:"CometPrivacySelectorUneditable_renderer",selections:[{args:null,kind:"FragmentSpread",name:"useCometPrivacySelectorNotifyPrivacyOnInitEffect_renderer"},{args:[{kind:"Variable",name:"renderLocation",variableName:"renderLocation"},{kind:"Variable",name:"tags",variableName:"tags"}],kind:"FragmentSpread",name:"CometPrivacySelectorEntryPointMatchContainer_renderer"}],type:"PrivacyScopeUneditableRenderer",abstractKey:null};e.exports=a}),null); __d("CometMediaViewerLinkToContainerStory_link$normalization.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},b=[a];return{kind:"SplitOperation",metadata:{},name:"CometMediaViewerLinkToContainerStory_link$normalization",selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"media",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},{kind:"InlineFragment",selections:b,type:"Node",abstractKey:"__isNode"},{kind:"InlineFragment",selections:b,type:"DynamicFeedAdAttachmentMedia",abstractKey:null},{kind:"InlineFragment",selections:b,type:"GenericAttachmentMedia",abstractKey:null},{kind:"InlineFragment",selections:b,type:"MontageImage",abstractKey:null},{kind:"InlineFragment",selections:b,type:"MontageVideo",abstractKey:null}],storageKey:null},{alias:null,args:null,concreteType:"Story",kind:"LinkedField",name:"container_story",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"url",storageKey:null},a],storageKey:null}]}}();e.exports=a}),null); __d("CometMediaViewerLinkToContainerStory_link.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"CometMediaViewerLinkToContainerStory_link",selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"media",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null}],storageKey:null},{kind:"RequiredField",field:{alias:null,args:null,concreteType:"Story",kind:"LinkedField",name:"container_story",plural:!1,selections:[{kind:"RequiredField",field:{alias:null,args:null,kind:"ScalarField",name:"url",storageKey:null},action:"THROW",path:"container_story.url"}],storageKey:null},action:"THROW",path:"container_story"}],type:"XFBLinkToContainerStory",abstractKey:null};e.exports=a}),null); __d("useCometPrivacyIcon",["CometRelay","TintableIconSource","coerceRelayImage","react","useCometPrivacyIcon_image.graphql"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=(i||d("react")).useMemo,k=[8,10,12,16,18,20,24,28,32,48],l=[20,24],m=[20];function n(a,e){var f=d("CometRelay").useFragment(h!==void 0?h:h=b("useCometPrivacyIcon_image.graphql"),a);return j(function(){if(f==null)return null;var a=f.height,b=f.scale,d=f.width;if(a==null||b==null||d==null)return null;var g=Math.max(d,a)/b;d=e.find(function(a){return a>=g});return d==null?null:new(c("TintableIconSource"))("FB",c("coerceRelayImage")(f),d)},[f,e])}function a(a){return n(a,k)}function e(a){return n(a,l)}function f(a){return n(a,m)}g.useCometPrivacyIcon=a;g.useCometPrivacyIconForSkittleIcon=e;g.useCometPrivacyIconForMenuItem=f}),98); __d("CometPrivacyIcon.react",["CometPrivacyIcon_scope.graphql","CometRelay","TetraIcon.react","react","stylex","useCometPrivacyIcon"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j,k=j||d("react"),l={marginEnd4:{marginEnd:"xw3qccf",marginLeft:null,marginRight:null,$$css:!0},root:{alignItems:"x6s0dn4",display:"x3nfvp2",justifyContent:"xl56j7k",$$css:!0}};function a(a){var e=a["aria-hidden"];e=e===void 0?!1:e;var f=a.color;f=f===void 0?"secondary":f;var g=a.disabled;g=g===void 0?!1:g;var j=a.marginEnd;a=a.scope;a=d("CometRelay").useFragment(h!==void 0?h:h=b("CometPrivacyIcon_scope.graphql"),a);var m=a.icon_image;a=a.label;var n=d("useCometPrivacyIcon").useCometPrivacyIcon(m);if(n==null)return null;m=m==null?void 0:m.name;return k.jsx("div",{"aria-hidden":e,className:(i||(i=c("stylex")))(l.root,j===4&&l.marginEnd4),children:k.jsx(c("TetraIcon.react"),{alt:(m=a)!=null?m:"",color:g?"disabled":f,disabled:g,icon:n,testid:void 0})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("CometPrivacySelectorButtonSavingOverlay.react",["CometProgressIndicator.react","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||d("react");function a(a){a=a.isSaving;return!a?null:i.jsx("div",{className:"x1ey2m1c xds687c x6ikm8r x10wlt62 x10l6tqk x17qophe x13vifvy x6s0dn4 x78zum5 xl56j7k",children:i.jsx(c("CometProgressIndicator.react"),{})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("CometPrivacySelectorTooltip.react",["fbt","CometPrivacySelectorTooltip_scope.graphql","CometRelay","CometTooltip.react","gkx","killswitch","react"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j,k=j||d("react");function l(){return h._("__JHASH__aqia400_2ly__JHASH__")}l.displayName=l.name+" [from "+f.id+"]";function a(a){var e=a.children,f=a.entryPointHasLabel,g=a.isLoading;a=a.scope;a=d("CometRelay").useFragment(i!==void 0?i:i=b("CometPrivacySelectorTooltip_scope.graphql"),a);var h=a.can_viewer_edit,j=a.description,m=a.extended_description;a=a.label;if(g)return k.jsx(c("CometTooltip.react"),{tooltip:k.jsx(l,{}),children:e});g=c("killswitch")("COMET_PRIVACY_SELECTOR_EDITABLE_DISABLED");var n=c("gkx")("1341692");return g&&h||f&&j===a&&(!n||m==null)?e:k.jsx(c("CometTooltip.react"),{tooltip:n&&m!=null?m:j,children:e})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("CometPrivacySelectorEntryPointIcon.react",["fbt","CometFutureOfFeedStoryContext","CometPressable.react","CometPrivacyIcon.react","CometPrivacySelectorButtonSavingOverlay.react","CometPrivacySelectorEntryPointIcon_renderer.graphql","CometPrivacySelectorTooltip.react","CometRelay","CometTrackingNodeProvider.react","react","stylex","unrecoverableViolation"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j,k,l=k||(k=d("react")),m=k.useContext,n={centerContent:{alignItems:"x6s0dn4",display:"x78zum5",justifyContent:"xl56j7k",$$css:!0},hiddenLabel:{clip:"xzpqnlu",clipPath:"x179tack",position:"x10l6tqk",$$css:!0},invisible:{visibility:"xlshs6z",$$css:!0},marginFixer:{marginStart:"x139jcc6",marginLeft:null,marginRight:null,$$css:!0},pressableOverlayPressed:{backgroundColor:"x1lxk4cn",$$css:!0},pressablePosition:{position:"x1uhb9sk",$$css:!0},savingOverlayContainer:{position:"x1n2onr6",$$css:!0}};function a(a){var e=a.isEnabled,f=a.isSaving,g=a.onPress,k=a.renderer;a=a.triggerRef;k=d("CometRelay").useFragment(i!==void 0?i:i=b("CometPrivacySelectorEntryPointIcon_renderer.graphql"),k);var o=m(c("CometFutureOfFeedStoryContext"));o=o.shouldOverlayHeaderOverAttachment;k=(k=k.source)==null?void 0:k.scope;if(k==null)throw c("unrecoverableViolation")("Failed to render privacy selector icon entry point. Either source or source.scope were not available.","comet_privacy_selector");var p=h._("__JHASH__QSweaIvtpVn__JHASH__");e=f||!e;o=l.jsxs("div",{className:(j||(j=c("stylex")))(n.centerContent,f&&n.invisible),children:[l.jsx(c("CometPrivacyIcon.react"),{color:o?"white":void 0,disabled:e,marginEnd:4,scope:k}),l.jsx("div",{className:"x139jcc6"})]});var q=k.description;q=q!=null?l.jsx("span",{className:"xzpqnlu x179tack x10l6tqk",children:h._("__JHASH__tXZ5JCHXK7E__JHASH__",[h._param("audience",q)])}):null;p=l.jsxs(c("CometPressable.react"),{"aria-label":p,disabled:e,display:"inline",onPress:g,overlayOffset:4,overlayPressedStyle:n.pressableOverlayPressed,overlayRadius:"50%",ref:a,xstyle:n.pressablePosition,children:[l.jsx(c("CometPrivacySelectorButtonSavingOverlay.react"),{isSaving:f}),o]});return l.jsx(c("CometPrivacySelectorTooltip.react"),{entryPointHasLabel:!1,isLoading:f,scope:k,children:l.jsx(c("CometTrackingNodeProvider.react"),{trackingNode:29,children:l.jsxs("span",{className:"x1n2onr6",children:[q,p]})})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("CometPrivacySelectorEntryPointMatchContainer.react",["CometPrivacySelectorEntryPointMatchContainer_renderer.graphql","CometRelay","react","unrecoverableViolation"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=i||d("react");function a(a){var e=a.props;a=a.renderer;a=d("CometRelay").useFragment(h!==void 0?h:h=b("CometPrivacySelectorEntryPointMatchContainer_renderer.graphql"),a);a=a.entry_point_renderer;if(a==null)throw c("unrecoverableViolation")("Trying to render an editable Privacy Selector without an entry point","comet_privacy_selector");return j.jsx(d("CometRelay").MatchContainer,{match:a,props:e})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("PrivacyRowInput",["CometRelay","PrivacyRowInput_fragment.graphql","PrivacyRowInput_inline.graphql","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j,k=(j||d("react")).useMemo,l={},m=["allow","deny"];function a(a,b){if(a==null&&b==null)return!0;else if(a==null||b==null)return!1;if(a.base_state!==b.base_state||a.tag_expansion_state!==b.tag_expansion_state)return!1;for(var c=m,d=Array.isArray(c),e=0,c=d?c:c[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var f;if(d){if(e>=c.length)break;f=c[e++]}else{e=c.next();if(e.done)break;f=e.value}var g=f;if(a[g].length!==b[g].length)return!1;if(a[g].length>0){f=function(){var c=new Set(b[g]);if(!a[g].every(function(a){return c.has(a)}))return{v:!1}}();if(typeof f==="object")return f.v}}return!0}function n(a){var c;a=d("CometRelay").readInlineData(h!==void 0?h:h=b("PrivacyRowInput_inline.graphql"),a);c=(c=a)!=null?c:l;var e=c.allow,f=c.base_state,g=c.deny;c=c.tag_expansion_state;a=(a=a==null?void 0:a.privacy_targeting)!=null?a:l;var i=a.targeted_publishing_fields;a=a.targeted_publishing_id;if(f==null)return null;if(a!=null){return{allow:e,base_state:f,deny:g,privacy_targeting:{targeted_publishing_fields:(i=i)!=null?i:void 0,targeted_publishing_id:a},tag_expansion_state:(i=c)!=null?i:"UNSPECIFIED"}}return{allow:e,base_state:f,deny:g,tag_expansion_state:(a=c)!=null?a:"UNSPECIFIED"}}function c(a){var c=d("CometRelay").useFragment(i!==void 0?i:i=b("PrivacyRowInput_fragment.graphql"),a);return k(function(){return n(c)},[c])}function o(a){var b=[];a==null?void 0:a.forEach(function(a){a!=null&&b.push(a)});return b}function e(a){return a==null?null:{allow:o(a==null?void 0:a.allow),base_state:a==null?void 0:a.base_state,deny:o(a==null?void 0:a.deny),privacy_targeting:a.privacy_targeting,tag_expansion_state:(a=a.tag_expansion_state)!=null?a:"UNSPECIFIED"}}g.arePrivacyRowInputsEqual=a;g.getPrivacyRowInput=n;g.usePrivacyRowInput=c;g.coerceFromPrivacyData=e}),98); __d("useCometPrivacySelectorNotifyPrivacyOnInitEffect",["CometRelay","PrivacyRowInput","react","useCometPrivacySelectorNotifyPrivacyOnInitEffect_renderer.graphql"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=(i||d("react")).useEffect;function a(a,c){a=d("CometRelay").useFragment(h!==void 0?h:h=b("useCometPrivacySelectorNotifyPrivacyOnInitEffect_renderer.graphql"),a);var e=d("PrivacyRowInput").usePrivacyRowInput(a.privacy_row_input);j(function(){c&&c({privacyRowInput:e,type:"init"})},[c,e])}g["default"]=a}),98); __d("CometPrivacySelectorUneditable.react",["CometPrivacySelectorEntryPointMatchContainer.react","CometPrivacySelectorUneditable_renderer.graphql","CometRelay","emptyFunction","react","useCometPrivacySelectorNotifyPrivacyOnInitEffect"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=i||d("react");function a(a){var e=a.onPrivacyChange,f=a.renderer;a=a.renderLocation;f=d("CometRelay").useFragment(h!==void 0?h:h=b("CometPrivacySelectorUneditable_renderer.graphql"),f);c("useCometPrivacySelectorNotifyPrivacyOnInitEffect")(f,e);return j.jsx(c("CometPrivacySelectorEntryPointMatchContainer.react"),{props:{isEnabled:!1,isSaving:!1,onPress:c("emptyFunction"),renderLocation:a},renderer:f})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("CometMediaViewerLinkStoryTypes$FbtEnum",[],(function(a,b,c,d,e,f){"use strict";a={_other:"media",photo:"photo",video:"video"};b=a;f["default"]=b}),66); __d("CometMediaViewerLinkToContainerStory.react",["fbt","ix","CometDivider.react","CometLink.react","CometMediaViewerLinkStoryTypes$FbtEnum","CometMediaViewerLinkToContainerStory_link.graphql","CometRelay","CometRow.react","CometRowItem.react","TetraIcon.react","TetraText.react","fbicon","react"],(function(a,b,c,d,e,f,g,h,i){"use strict";var j,k,l=k||d("react"),m={divider:{marginStart:"x1d52u69",marginLeft:null,marginRight:null,marginEnd:"xktsk01",$$css:!0}};function a(a){var e;a=a.link;a=d("CometRelay").useFragment(j!==void 0?j:j=b("CometMediaViewerLinkToContainerStory_link.graphql"),a);e=(e=a.media)==null?void 0:e.__typename;e=e==="Photo"?"photo":e==="Video"?"video":"_other";return l.jsxs(l.Fragment,{children:[l.jsxs(c("CometRow.react"),{paddingHorizontal:16,paddingVertical:12,spacing:8,verticalAlign:"center",children:[l.jsx(c("CometRowItem.react"),{children:l.jsx(c("TetraIcon.react"),{color:"secondary",icon:d("fbicon")._(i("729678"),16)})}),l.jsx(c("CometRowItem.react"),{expanding:!0,children:l.jsx(c("TetraText.react"),{color:"secondary",type:"body4",children:h._("__JHASH__SYSkoIYZBvk__JHASH__",[h._enum(e,c("CometMediaViewerLinkStoryTypes$FbtEnum"))])})}),l.jsx(c("CometRowItem.react"),{children:l.jsx(c("TetraText.react"),{color:"secondary",type:"body4",children:l.jsx(c("CometLink.react"),{href:a.container_story.url,children:h._("__JHASH__2nKNqWPpN5Y__JHASH__")})})})]}),l.jsx(c("CometDivider.react"),{xstyle:m.divider})]})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);