;/*FB_PKG_DELIM*/

__d("EncryptedBackupsSymmetricEncryptionUtils",[],(function(a,b,c,d,e,f){"use strict";a=16;b=28;c=16;d=128;f.hChaCha20SubKeyNonceLengthInBytes=a;f.totalNonceLengthInBytes=b;f.aesGcmTagLengthInBytes=c;f.aesGcmTagLength=d}),66);
__d("HChaCha20",["err"],(function(a,b,c,d,e,f,g){"use strict";a=function(){function a(){}a.fromHexString=function(a){var b=a.match(/[A-Fa-f0-9]{1,2}/g);if(a.length===0||a.length%2!==0||b==null)throw c("err")('The string "'+a+'" is not valid hex.');return new Uint8Array(b.map(function(a){return parseInt(a,16)}))};a.bufferToUint32Array=function(a){var b=new DataView(a),c=[];a=a.byteLength/4;for(var d=0;d<a;d++)c.push(new DataView(b.buffer.slice(d*4,d*4+4)).getInt32(0));return Uint32Array.from(c)};a.rotate=function(a,b){a=a&4294967295;b=b&31;return(a<<b|a>>>32-b)>>>0};a.quarterRound=function(b,c,d,e){b=b;c=c;d=d;e=e;b=b+c&4294967295;e=a.rotate(e^b,16);d=d+e&4294967295;c=a.rotate(c^d,12);b=b+c&4294967295;e=a.rotate(e^b,8);d=d+e&4294967295;c=a.rotate(c^d,7);return[b>>>0,c>>>0,d>>>0,e>>>0]};var b=a.prototype;b.createHCtx=function(b,d){var e=new Uint32Array(16),f=a.fromHexString("657870616e642033322d62797465206b");if(f.byteLength!==16)throw c("err")("Could not create context. Invalid constant buffer length of "+f.byteLength+". Expected a length of 16");else if(b.byteLength!==32)throw c("err")("Could not create context. Invalid key buffer length of "+b.byteLength+". Expected a length of 32");else if(d.byteLength!==16)throw c("err")("Could not create context. Invalid nonce buffer length of "+d.byteLength+". Expected a length of 16");f=a.bufferToUint32Array(f.buffer);b=a.bufferToUint32Array(b);d=a.bufferToUint32Array(d);e.set(f);e.set(b,f.length);e.set(d,f.length+b.length);return e.buffer};b.hChaCha20Bytes=function(b,c){c=new DataView(this.createHCtx(c,b));b=c.getInt32(0);var d=c.getInt32(1<<2),e=c.getInt32(2<<2),f=c.getInt32(3<<2),g=c.getInt32(4<<2),h=c.getInt32(5<<2),i=c.getInt32(6<<2),j=c.getInt32(7<<2),k=c.getInt32(8<<2),l=c.getInt32(9<<2),m=c.getInt32(10<<2),n=c.getInt32(11<<2),o=c.getInt32(12<<2),p=c.getInt32(13<<2),q=c.getInt32(14<<2);c=c.getInt32(15<<2);for(var r=0;r<10;r++){var s=a.quarterRound(b,g,k,o);b=s[0];g=s[1];k=s[2];o=s[3];s=a.quarterRound(d,h,l,p);d=s[0];h=s[1];l=s[2];p=s[3];s=a.quarterRound(e,i,m,q);e=s[0];i=s[1];m=s[2];q=s[3];s=a.quarterRound(f,j,n,c);f=s[0];j=s[1];n=s[2];c=s[3];s=a.quarterRound(b,h,m,c);b=s[0];h=s[1];m=s[2];c=s[3];s=a.quarterRound(d,i,n,o);d=s[0];i=s[1];n=s[2];o=s[3];s=a.quarterRound(e,j,k,p);e=s[0];j=s[1];k=s[2];p=s[3];s=a.quarterRound(f,g,l,q);f=s[0];g=s[1];l=s[2];q=s[3]}return Uint32Array.from([b,d,e,f,o,p,q,c]).buffer};return a}();g.HChaCha20=a}),98);
__d("LSBase64Decode.nop",["Base64Utils","CryptoLogger","LSResult","Promise"],(function(a,b,c,d,e,f,g){"use strict";var h;function i(a){a=a.replace(/-/g,"+").replace(/_/g,"/").replace(/\./g,"=").replace("/,/","=");var b=4-a.length%4;if(b<4)for(var c=0;c<b;c++)a+="=";return a}function j(a){var b=d("CryptoLogger").CryptoLogger("base64decode");try{return a!=null?d("Base64Utils").toArrayBuffer(i(a)):void 0}catch(c){if((c==null?void 0:c.message)==null)return;if(c instanceof Error)b.catching(c).mustfix(c.message);else{b.mustfix("Base64decode : empty error message for exception: %s, input string: %s",c.message,(b=a)!=null?b:"undefined")}}}a=function(a,d,e){return(h||(h=b("Promise"))).resolve(c("LSResult")(j(e)))};g["default"]=a}),98);
__d("LSBinaryToHex.nop",["LSResult","Promise"],(function(a,b,c,d,e,f,g){"use strict";var h;a=function(a,d,e){a=Array.from(new Uint8Array(e));d=a.map(function(a){return a.toString(16).padStart(2,"0")});e=d.join("").toUpperCase();return(h||(h=b("Promise"))).resolve(c("LSResult")(e))};g["default"]=a}),98);
__d("LSMaxInt32",["I64"],(function(a,b,c,d,e,f,g){"use strict";var h;a=(h||d("I64")).of_int32(2147483647);g["default"]=a}),98);
__d("RetUtil",["LSResult"],(function(a,b,c,d,e,f,g){"use strict";function a(a){return c("LSResult")(a)}g.getNullableRetResult=a}),98);
__d("LSCreateDerivedKeys.nop",["CryptoLogger","I64","LSMaxInt32","LSVec","Promise","RetUtil","XPlatReactCrypto"],(function(a,b,c,d,e,f,g){"use strict";var h,i;a=function(a,e,f,g,j,k){var l=d("CryptoLogger").CryptoLogger("create_derived_keys");a=c("LSVec").toArray(k);if(a.length<1||a.some(function(a){return(i||(i=d("I64"))).gt(a,c("LSMaxInt32"))})){l.mustfix("Invalid key lengths for derive keys");return(h||(h=b("Promise"))).resolve(d("RetUtil").getNullableRetResult(void 0))}var m=a.map((i||(i=d("I64"))).to_int32),n=a.map(i.to_int32).reduce(function(a,b){return a+b},0)*8;return d("XPlatReactCrypto").subtleImportKey("raw",j,"HKDF",!1,["deriveBits"]).then(function(a){var b;return d("XPlatReactCrypto").subtleDeriveBits({hash:"SHA-256",info:f,name:"HKDF",salt:(b=g)!=null?b:new Uint8Array(10).buffer},a,n)}).then(function(a){a=new Uint8Array(a);var b=[],e=0;for(var f=0,g=m.length;f<g;++f){var h=e+m[f];b.push(a.slice(e,h).buffer);e=h}return d("RetUtil").getNullableRetResult(c("LSVec").ofArray(b))})["catch"](function(a){l.catching(a).mustfix("Failed to create derived keys");return d("RetUtil").getNullableRetResult()})};g["default"]=a}),98);
__d("LSCryptoUtils",["FBLogger","XPlatReactTextDecoder","XPlatReactTextEncoder"],(function(a,b,c,d,e,f,g){"use strict";function a(a){return new Uint8Array(a)}function h(a){var b=new(d("XPlatReactTextEncoder").TextEncoder)();return b.encode(a)}function i(a){var b=new(d("XPlatReactTextDecoder").TextDecoder)();return b.decode(a)}function b(a){return i(new Uint8Array(a))}function e(a){return h(a).buffer}function f(a,b){var d=a.byteLength,e=b.byteLength;if(d!==e)throw c("FBLogger")("ls_web_init").mustfixThrow("Mismatched lengths for modAdd, %d != %d",d,e);var f=new Uint8Array(d);new Uint8Array(d).reduceRight(function(c,d,e){d=a[e];var g=b[e];d=d+g+c;g=d>255?[d-256,1]:[d,0];f[e]=g[0];return g[1]},0);return f}g.bufToUint8=a;g.strToUint8=h;g.uint8ToStr=i;g.bufToStr=b;g.strToBuf=e;g.modAddBytes=f}),98);
__d("LSDeleteBackupOnClient",["LSAppendDataTraceAddon","LSFlushDataTrace.nop","LSIsMobileClient","LSLogMebClientEvent.nop"],(function(a,b,c,d,e,f){function a(){var a=arguments,c=a[a.length-1],d=[],e=[];return c.sequence([function(e){return c.sequence([function(a){return d[0]=c.i64.of_float(Date.now()),function(a){c.logger(a).info(a)}("[EncryptedBackups][LSEncryptedBackupsDeleteBackupOnClientStoredProcedure] Beginning execution."),d[1]="Beginning deleteBackupOnClient stored procedure",function(a){c.logger(a).info(a)}(["[EncryptedBackups][deleteBackupOnClient] ","",d[1]].join("")),d[2]=c.createArray(),void 0!==void 0?d[9]=(d[2].push(void 0),d[2]):0,c.nativeOperation(b("LSLogMebClientEvent.nop"),"deleteBackupOnClient",[d[1]].join(""),d[2],c.i64.cast([0,4]))},function(e){return c.sequence([function(d){return a[3]!==void 0?c.storedProcedure(b("LSAppendDataTraceAddon"),a[3],c.i64.cast([0,1423]),c.i64.cast([0,2]),void 0,void 0):c.resolve()},function(a){return c.storedProcedure(b("LSIsMobileClient")).then(function(a){return a=a,d[9]=a[0],a})},function(a){return d[9]?d[10]=!0:d[10]=!1,d[10]&&!0?(function(a){c.logger(a).mustfix(a)}("[EncryptedBackups][MEBTraceUtils] LSDataTraceMciTraceLog native op not supported"),d[11]=c.createArray(),void 0!==void 0?d[12]=(d[11].push(void 0),d[11]):0,c.nativeOperation(b("LSLogMebClientEvent.nop"),"MEBTraceUtils","LSDataTraceMciTraceLog native op not supported",d[11],c.i64.cast([0,3]))):c.resolve()}])},function(b){return c.i64.neq(a[0],void 0)?c.forEach(c.db.table(168).fetch([[[a[0]]]]),function(a){return a["delete"]()}):c.forEach(c.db.table(168).fetch(),function(a){return a["delete"]()})},function(b){return c.i64.neq(a[0],void 0)?c.forEach(c.db.table(169).fetch([[[a[0]]],"fk_secure_encrypted_backups_client_state"]),function(a){return a["delete"]()}):c.forEach(c.db.table(169).fetch(),function(a){return a["delete"]()})},function(a){return c.forEach(c.db.table(190).fetch(),function(a){return a["delete"]()})},function(a){return c.forEach(c.db.table(174).fetch(),function(a){return a["delete"]()})},function(b){return a[1]==="fetch_virtual_device"?c.db.table(178).put({pk:c.i64.cast([0,1]),recoveryCodeStatus:c.i64.cast([0,4])}):c.resolve()},function(e){return a[2]?c.sequence([function(a){return d[9]="Clearing backups tables",function(a){c.logger(a).info(a)}(["[EncryptedBackups][deleteBackupOnClient] ","",d[9]].join("")),d[10]=c.createArray(),void 0!==void 0?d[11]=(d[10].push(void 0),d[10]):0,c.nativeOperation(b("LSLogMebClientEvent.nop"),"deleteBackupOnClient",[d[9]].join(""),d[10],c.i64.cast([0,4]))},function(e){return c.sequence([function(d){return a[3]!==void 0?c.storedProcedure(b("LSAppendDataTraceAddon"),a[3],c.i64.cast([0,1891]),c.i64.cast([0,2]),void 0,void 0):c.resolve()},function(a){return c.storedProcedure(b("LSIsMobileClient")).then(function(a){return a=a,d[11]=a[0],a})},function(a){return d[11]?d[12]=!0:d[12]=!1,d[12]&&!0?(function(a){c.logger(a).mustfix(a)}("[EncryptedBackups][MEBTraceUtils] LSDataTraceMciTraceLog native op not supported"),d[13]=c.createArray(),void 0!==void 0?d[14]=(d[13].push(void 0),d[13]):0,c.nativeOperation(b("LSLogMebClientEvent.nop"),"MEBTraceUtils","LSDataTraceMciTraceLog native op not supported",d[13],c.i64.cast([0,3]))):c.resolve()}])},function(a){return c.forEach(c.db.table(172).fetch([[[c.i64.cast([0,1])]]]),function(a){var b=a.update;a.item;return b({backupId:void 0})})},function(e){return c.sequence([function(d){return a[3]!==void 0?c.storedProcedure(b("LSAppendDataTraceAddon"),a[3],c.i64.cast([0,1892]),c.i64.cast([0,2]),void 0,void 0):c.resolve()},function(a){return c.storedProcedure(b("LSIsMobileClient")).then(function(a){return a=a,d[11]=a[0],a})},function(a){return d[11]?d[12]=!0:d[12]=!1,d[12]&&!0?(function(a){c.logger(a).mustfix(a)}("[EncryptedBackups][MEBTraceUtils] LSDataTraceMciTraceLog native op not supported"),d[13]=c.createArray(),void 0!==void 0?d[14]=(d[13].push(void 0),d[13]):0,c.nativeOperation(b("LSLogMebClientEvent.nop"),"MEBTraceUtils","LSDataTraceMciTraceLog native op not supported",d[13],c.i64.cast([0,3]))):c.resolve()}])},function(b){return c.i64.neq(a[0],void 0)?c.forEach(c.filter(c.db.table(184).fetch(),function(b){return c.i64.eq(b.backupId,a[0])}),function(a){return a["delete"]()}):c.forEach(c.db.table(184).fetch(),function(a){return a["delete"]()})},function(e){return c.sequence([function(d){return a[3]!==void 0?c.storedProcedure(b("LSAppendDataTraceAddon"),a[3],c.i64.cast([0,1893]),c.i64.cast([0,2]),void 0,void 0):c.resolve()},function(a){return c.storedProcedure(b("LSIsMobileClient")).then(function(a){return a=a,d[11]=a[0],a})},function(a){return d[11]?d[12]=!0:d[12]=!1,d[12]&&!0?(function(a){c.logger(a).mustfix(a)}("[EncryptedBackups][MEBTraceUtils] LSDataTraceMciTraceLog native op not supported"),d[13]=c.createArray(),void 0!==void 0?d[14]=(d[13].push(void 0),d[13]):0,c.nativeOperation(b("LSLogMebClientEvent.nop"),"MEBTraceUtils","LSDataTraceMciTraceLog native op not supported",d[13],c.i64.cast([0,3]))):c.resolve()}])},function(b){return c.i64.neq(a[0],void 0)?c.forEach(c.db.table(196).fetch([[[a[0]]]]),function(a){return a["delete"]()}):c.forEach(c.db.table(196).fetch(),function(a){return a["delete"]()})}]):c.resolve()},function(e){return a[5]?c.sequence([function(e){return a[5]?c.sequence([function(d){return a[3]!==void 0?c.storedProcedure(b("LSAppendDataTraceAddon"),a[3],c.i64.cast([0,84]),c.i64.cast([0,2]),void 0,void 0):c.resolve()},function(a){return c.storedProcedure(b("LSIsMobileClient")).then(function(a){return a=a,d[11]=a[0],a})},function(a){return d[11]?d[12]=!0:d[12]=!1,d[12]&&!0?(function(a){c.logger(a).mustfix(a)}("[EncryptedBackups][MEBTraceUtils] LSDataTraceMciTraceLog native op not supported"),d[13]=c.createArray(),void 0!==void 0?d[14]=(d[13].push(void 0),d[13]):0,c.nativeOperation(b("LSLogMebClientEvent.nop"),"MEBTraceUtils","LSDataTraceMciTraceLog native op not supported",d[13],c.i64.cast([0,3]))):c.resolve()}]):a[3]!==void 0?c.sequence([function(d){return a[3]!==void 0?c.storedProcedure(b("LSAppendDataTraceAddon"),a[3],c.i64.cast([0,85]),c.i64.cast([0,2]),"The flow did not succeed",void 0):c.resolve()},function(a){return c.storedProcedure(b("LSIsMobileClient")).then(function(a){return a=a,d[11]=a[0],a})},function(a){return d[11]?d[12]=!0:d[12]=!1,d[12]&&!0?(function(a){c.logger(a).mustfix(a)}("[EncryptedBackups][MEBTraceUtils] LSDataTraceMciTraceLog native op not supported"),d[13]=c.createArray(),void 0!==void 0?d[14]=(d[13].push(void 0),d[13]):0,c.nativeOperation(b("LSLogMebClientEvent.nop"),"MEBTraceUtils","LSDataTraceMciTraceLog native op not supported",d[13],c.i64.cast([0,3]))):c.resolve()}]):c.resolve()},function(d){return a[3]!==void 0?c.nativeOperation(b("LSFlushDataTrace.nop"),a[3]):c.resolve()},function(a){return c.storedProcedure(b("LSIsMobileClient")).then(function(a){return a=a,d[9]=a[0],a})},function(a){return d[9]?d[10]=!0:d[10]=!1,d[10]&&!0?(function(a){c.logger(a).mustfix(a)}("[EncryptedBackups][MEBTraceUtils] LSDataTraceMciTraceLog native op not supported"),d[11]=c.createArray(),void 0!==void 0?d[12]=(d[11].push(void 0),d[11]):0,c.nativeOperation(b("LSLogMebClientEvent.nop"),"MEBTraceUtils","LSDataTraceMciTraceLog native op not supported",d[11],c.i64.cast([0,3]))):c.resolve()}]):a[4]!==void 0?c.sequence([function(e){return d[10]=["[EncryptedBackups][LSEncryptedBackupsDeleteBackupOnClientStoredProcedure] ","",a[4]].join(""),function(a){c.logger(a).mustfix(a)}(d[10]),d[9]=c.createArray(),a[3]!==void 0?d[11]=(d[9].push(a[3]),d[9]):0,c.nativeOperation(b("LSLogMebClientEvent.nop"),"LSEncryptedBackupsDeleteBackupOnClientStoredProcedure",a[4],d[9],c.i64.cast([0,3]))},function(e){return c.sequence([function(e){return a[3]!==void 0?c.sequence([function(e){return a[3]!==void 0?c.storedProcedure(b("LSAppendDataTraceAddon"),a[3],c.i64.cast([0,85]),c.i64.cast([0,2]),d[10],void 0):c.resolve()},function(a){return c.storedProcedure(b("LSIsMobileClient")).then(function(a){return a=a,d[13]=a[0],a})},function(a){return d[13]?d[14]=!0:d[14]=!1,d[14]&&!0?(function(a){c.logger(a).mustfix(a)}("[EncryptedBackups][MEBTraceUtils] LSDataTraceMciTraceLog native op not supported"),d[15]=c.createArray(),void 0!==void 0?d[16]=(d[15].push(void 0),d[15]):0,c.nativeOperation(b("LSLogMebClientEvent.nop"),"MEBTraceUtils","LSDataTraceMciTraceLog native op not supported",d[15],c.i64.cast([0,3]))):c.resolve()}]):c.resolve()},function(d){return a[3]!==void 0?c.nativeOperation(b("LSFlushDataTrace.nop"),a[3]):c.resolve()},function(a){return c.storedProcedure(b("LSIsMobileClient")).then(function(a){return a=a,d[11]=a[0],a})},function(a){return d[11]?d[12]=!0:d[12]=!1,d[12]&&!0?(function(a){c.logger(a).mustfix(a)}("[EncryptedBackups][MEBTraceUtils] LSDataTraceMciTraceLog native op not supported"),d[13]=c.createArray(),void 0!==void 0?d[14]=(d[13].push(void 0),d[13]):0,c.nativeOperation(b("LSLogMebClientEvent.nop"),"MEBTraceUtils","LSDataTraceMciTraceLog native op not supported",d[13],c.i64.cast([0,3]))):c.resolve()}])}]):c.sequence([function(e){return a[3]!==void 0?c.sequence([function(d){return a[3]!==void 0?c.storedProcedure(b("LSAppendDataTraceAddon"),a[3],c.i64.cast([0,85]),c.i64.cast([0,2]),["[EncryptedBackups][LSEncryptedBackupsDeleteBackupOnClientStoredProcedure] ","",""].join(""),void 0):c.resolve()},function(a){return c.storedProcedure(b("LSIsMobileClient")).then(function(a){return a=a,d[11]=a[0],a})},function(a){return d[11]?d[12]=!0:d[12]=!1,d[12]&&!0?(function(a){c.logger(a).mustfix(a)}("[EncryptedBackups][MEBTraceUtils] LSDataTraceMciTraceLog native op not supported"),d[13]=c.createArray(),void 0!==void 0?d[14]=(d[13].push(void 0),d[13]):0,c.nativeOperation(b("LSLogMebClientEvent.nop"),"MEBTraceUtils","LSDataTraceMciTraceLog native op not supported",d[13],c.i64.cast([0,3]))):c.resolve()}]):c.resolve()},function(d){return a[3]!==void 0?c.nativeOperation(b("LSFlushDataTrace.nop"),a[3]):c.resolve()},function(a){return c.storedProcedure(b("LSIsMobileClient")).then(function(a){return a=a,d[9]=a[0],a})},function(a){return d[9]?d[10]=!0:d[10]=!1,d[10]&&!0?(function(a){c.logger(a).mustfix(a)}("[EncryptedBackups][MEBTraceUtils] LSDataTraceMciTraceLog native op not supported"),d[11]=c.createArray(),void 0!==void 0?d[12]=(d[11].push(void 0),d[11]):0,c.nativeOperation(b("LSLogMebClientEvent.nop"),"MEBTraceUtils","LSDataTraceMciTraceLog native op not supported",d[11],c.i64.cast([0,3]))):c.resolve()}])},function(a){return d[3]=c.i64.of_float(Date.now()),d[4]=c.i64.random(),d[6]="Finishing execution. Execution time: ",d[7]=c.i64.to_string(c.i64.sub(d[3],d[0])),d[8]=" ms",d[5]="",function(a){c.logger(a).info(a)}(["[EncryptedBackups][LSEncryptedBackupsDeleteBackupOnClientStoredProcedure] ",d[5],d[6],d[5],d[7],d[5],d[8]].join("")),c.i64.eq(c.i64.mod_(d[4],c.i64.cast([0,1e3])),c.i64.cast([0,0]))?(d[9]=",",d[10]=c.createArray(),void 0!==void 0?d[11]=(d[10].push(void 0),d[10]):0,c.nativeOperation(b("LSLogMebClientEvent.nop"),"LSEncryptedBackupsDeleteBackupOnClientStoredProcedure",[d[6],d[9],d[7],d[9],d[8]].join(""),d[10],c.i64.cast([0,4]))):c.resolve()}])},function(a){return c.resolve(e)}])}a.__sproc_name__="LSEncryptedBackupsDeleteBackupOnClientStoredProcedure";e.exports=a}),null);
__d("LSPlatformArmadilloUtils",["MAWMICSafe","Promise","cr:6998","cr:7349","promiseDone"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=(h=b("cr:6998"))!=null?h:b("cr:7349"),k=[];function a(a){k.push(a)}function e(){j==null?void 0:j.completeSync();if(k.length===0){j==null?void 0:j.maybeEndOccamadilloThreadMapping();return}c("promiseDone")((i||(i=b("Promise"))).allSettled(k.map(function(a){return a()})),function(){return j==null?void 0:j.maybeEndOccamadilloThreadMapping()})}function f(){d("MAWMICSafe").markEvent("ls_init_end")}function l(a){d("MAWMICSafe").fail("init_sync_failure",a)}g.executeOnThreadMappingEnd=a;g.occamadilloInitEnd=e;g.reportInitEnd=f;g.reportInitSyncFailure=l}),98);
__d("SymmetricEncryptionPaddingUtils",["XPlatReactTextEncoder"],(function(a,b,c,d,e,f,g){"use strict";function h(a){if(a<10)return 10-a;var b=Math.floor(Math.log2(a)),c=Math.floor(Math.log2(b))+1;b=b-c;c=(1<<b)-1;b=a+c&(c^-1);return b-a}function i(a){var b=Uint32Array.BYTES_PER_ELEMENT,c=a.byteLength,d=h(c);d=b+c+d;d=new DataView(new ArrayBuffer(d));d.setUint32(0,c);c=new Uint8Array(d.buffer);c.set(new Uint8Array(a),b);return c.buffer}function a(a){var b=new(d("XPlatReactTextEncoder").TextEncoder)();b=b.encode(a).buffer;return i(b)}function b(a){var b=Uint32Array.BYTES_PER_ELEMENT,c=new DataView(a);if(c.byteLength<b)return;var d=a.byteLength;c=c.getUint32(0);d=d-b;if(c>=0&&c<=d)return a.slice(b,b+c)}g.getPaddingLength=h;g.padData=i;g.pad=a;g.stripPadding=b}),98);
__d("LSSymmetricEncryptionCreateDecryptedData.nop",["CryptoLogger","EncryptedBackupsSymmetricEncryptionUtils","HChaCha20","Promise","RetUtil","SymmetricEncryptionPaddingUtils","XPlatReactCrypto"],(function(a,b,c,d,e,f,g){"use strict";var h,i=d("CryptoLogger").CryptoLogger("symmetric_encryption_create_decrypted_data");a=function(a,c,e,f,g){if(g.byteLength<d("EncryptedBackupsSymmetricEncryptionUtils").hChaCha20SubKeyNonceLengthInBytes+d("EncryptedBackupsSymmetricEncryptionUtils").aesGcmTagLengthInBytes){i.mustfix("cipher text is invalid");return(h||(h=b("Promise"))).resolve(d("RetUtil").getNullableRetResult())}a=new Uint8Array(g);var j=a.slice(0,d("EncryptedBackupsSymmetricEncryptionUtils").totalNonceLengthInBytes);c=new(d("HChaCha20").HChaCha20)();var k=a.slice(d("EncryptedBackupsSymmetricEncryptionUtils").totalNonceLengthInBytes).buffer;g=c.hChaCha20Bytes(j.slice(0,d("EncryptedBackupsSymmetricEncryptionUtils").hChaCha20SubKeyNonceLengthInBytes).buffer,e);return d("XPlatReactCrypto").subtleImportKey("raw",g,"AES-GCM",!1,["decrypt"]).then(function(a){return d("XPlatReactCrypto").subtleDecrypt({additionalData:f,iv:new Uint8Array(j.slice(d("EncryptedBackupsSymmetricEncryptionUtils").hChaCha20SubKeyNonceLengthInBytes).buffer),name:"AES-GCM",tagLength:d("EncryptedBackupsSymmetricEncryptionUtils").aesGcmTagLength},a,k)}).then(function(a){a=d("SymmetricEncryptionPaddingUtils").stripPadding(a);a==null&&i.mustfix("Failed to strip padding for symmetric decryption");return d("RetUtil").getNullableRetResult(a)})["catch"](function(a){d("CryptoLogger").captureError(i,a).mustfix("symmetric data decryption failed");return(h||(h=b("Promise"))).resolve(d("RetUtil").getNullableRetResult())})};g["default"]=a}),98);
__d("LSSymmetricEncryptionCreateDecryptedString.nop",["Base64Utils","CryptoLogger","LSResult","LSSymmetricEncryptionCreateDecryptedData.nop","XPlatReactTextDecoder"],(function(a,b,c,d,e,f,g){"use strict";function h(a){return c("LSResult")(a)}a=function(a,b,e,f,g){var i=d("CryptoLogger").CryptoLogger("symmetric_encryption_create_decrypted_string");g=d("Base64Utils").toArrayBuffer(g);return c("LSSymmetricEncryptionCreateDecryptedData.nop")(a,b,e,f,g).then(function(a){a=a[0];return a}).then(function(a){return a==null?h():h(new(d("XPlatReactTextDecoder").TextDecoder)().decode(a))})["catch"](function(a){d("CryptoLogger").captureError(i,a).mustfix("symmetric string decryption failed");return h()})};g["default"]=a}),98);
__d("UInt8Array",["XPlatReactCrypto"],(function(a,b,c,d,e,f,g){"use strict";function a(a){var b=a.length;if(!(b>0&&b%2===0&&/^[\da-f]+$/gi.test(a)))return;var c=[];for(var d=0,b=b/2|0;d<b;++d){var e=parseInt(a.substring(d<<1,(d<<1)+2|0),16);c.push(e)}return new Uint8Array(c)}function b(a){return d("XPlatReactCrypto").getRandomValues(new Uint8Array(a)).buffer}function c(a){a=a.filter(function(a){return a.byteLength!==0});var b=a.reduce(function(a,b){return a+b.byteLength|0},0),c=new Uint8Array(b);a.reduce(function(a,b){c.set(b,a);return a+b.byteLength|0},0);return c}g.fromHexString=a;g.getBufferWithRandomValuesFromLength=b;g.concatBytes=c}),98);/*FB_PKG_DELIM*/
__d("FDSMenuItemWithSubmenu.react",["fbt","ix","BaseContextualLayerAvailableHeightContext","BaseMultiPageViewContext","CometComponentWithKeyCommands.react","CometKeys","FDSIcon.react","FDSMenuBase.react","FDSMenuItemBase.react","FDSMenuItemIcon.react","fbicon","react"],(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.useContext,n=b.useMemo,o=b.useState,p=k.createContext([]);e=k.forwardRef(a);function a(a,b){var e=a.disabled,f=a.icon,g=a.iconColor,j=a.iconNode,r=a.iconSize,s=a.iconStyle,t=a.onClick,u=a.primaryText,v=a.secondaryText,w=a.submenu;a=babelHelpers.objectWithoutPropertiesLoose(a,["disabled","icon","iconColor","iconNode","iconSize","iconStyle","onClick","primaryText","secondaryText","submenu"]);var x=m(p),y=n(function(){return[].concat(x,[u])},[x,u]),z=o(!1),A=z[0],B=z[1];z=k.jsx(c("FDSIcon.react"),{color:"secondary",icon:d("fbicon")._(i("492572"),20)});var C=m(c("BaseMultiPageViewContext")),D=l(function(){if(C==null)return;var a=w.header,b=babelHelpers.objectWithoutPropertiesLoose(w,["header"]),d=function(){B(!1),a==null?void 0:a.onPressBack==null?void 0:a.onPressBack(),C==null?void 0:C.popPage==null?void 0:C.popPage()},e={meta:a!=null?a.meta:v,onPressBack:d,title:a!=null?a.title:u};B(!0);C.pushPage(function(){var a=[{command:{key:c("CometKeys").LEFT},description:h._("__JHASH__L-rxpu3ax8O__JHASH__"),handler:d},{command:{key:c("CometKeys").ESCAPE},description:h._("__JHASH__L-rxpu3ax8O__JHASH__"),handler:d}];a=k.jsx(p.Provider,{value:y,children:k.jsx(c("CometComponentWithKeyCommands.react"),{commandConfigs:a,children:k.jsx(q,babelHelpers["extends"]({},b,{header:e}))})});for(var f=y.length-1;f>=0;f--)a=k.jsx("div",{"aria-label":y[f],role:"menu",children:a});return a})},[C,w,v,u,y]),E=function(a){t&&t(a),D()},F=n(function(){return[{command:{key:c("CometKeys").RIGHT},description:h._("__JHASH__hxu2eUUYT_R__JHASH__"),handler:D}]},[D]);return k.jsx(c("CometComponentWithKeyCommands.react"),{commandConfigs:F,children:k.jsx(c("FDSMenuItemBase.react"),babelHelpers["extends"]({},a,{"aria-expanded":A,"aria-haspopup":"menu",aux:f?k.jsx("div",{className:"xz62fqu x16ldp7u",children:z}):z,disabled:e,iconNode:j!=null?j:f?k.jsx(c("FDSMenuItemIcon.react"),{disabled:e,icon:f,iconColor:g,iconSize:r,use:s}):null,onClick:E,preventClosingMenuOnSelect:!0,primaryText:u,ref:b,role:"menuitem",secondaryText:v}))})}a.displayName=a.name+" [from "+f.id+"]";b=e;function q(a){var b=a.items,d=a.truncate;d=d===void 0?!0:d;a=babelHelpers.objectWithoutPropertiesLoose(a,["items","truncate"]);var e=m(c("BaseContextualLayerAvailableHeightContext"));return k.jsx(c("FDSMenuBase.react"),babelHelpers["extends"]({},a,{maxHeight:d?(a=e)!=null?a:0:void 0,children:b}))}q.displayName=q.name+" [from "+f.id+"]";g["default"]=b}),226);
__d("MWXIconMenuItemHouseKeyhole",["MWXSvgIcon","SVGIcon","cr:9512","gkx"],(function(a,b,c,d,e,f,g){"use strict";a=d("MWXSvgIcon").mwxSvgMenuItemIcon(d("SVGIcon").svgIcon(b("cr:9512")),c("gkx")("23219"));g["default"]=a}),98);
__d("MAWSecurityAlertsBadgeMenuItem.react",["fbt","ARIA_LABEL_PLACEHOLDER_FIXME","FDSNumberedBadge.react","JSResourceForInteraction","MWJewelPopoverDialogContext.react","MWPBumpEntityKey","MWXIconMenuItemHouseKeyhole","MWXMenuItem.react","gkx","react","useMWXLazyDialog"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j=i||(i=d("react")),k=i.useContext,l=c("JSResourceForInteraction")("MAWSecurityAlertsDialog.react").__setRef("MAWSecurityAlertsBadgeMenuItem.react");function a(a){a=a.count;var b=c("useMWXLazyDialog")(l),e=b[0];b=k(c("MWJewelPopoverDialogContext.react"));var f=b.setIsOpenForDialog;b=c("gkx")("23219");var g=h._("__JHASH__UwQqfUGZ3gt__JHASH__");return j.jsx(c("MWXMenuItem.react"),{auxItem:{badge:j.jsx(c("FDSNumberedBadge.react"),{accessibilityText:c("ARIA_LABEL_PLACEHOLDER_FIXME"),color:b?"red":"lightBlue",value:a}),type:"numberedBadge"},icon:c("MWXIconMenuItemHouseKeyhole"),id:"security_alerts_badge_menu_item",onClick:function(){d("MWPBumpEntityKey").bumpEntityKeyWithAppId("mw.sidebar","security_alerts"),f(!0),e({})},primaryText:g})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),226);
__d("MAWSecurityAlertsBadgeMenuItemWrapper.react",["MAWSecurityAlertsBadgeMenuItem.react","react","useMAWSecurityAlertsPreferences"],(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.value;a=c("useMAWSecurityAlertsPreferences")();var d=a.securityAlertsPreferences;return j(function(){return(d==null?void 0:d.allowSecurityAlertForSelf)?i.jsx(c("MAWSecurityAlertsBadgeMenuItem.react"),{count:b}):null},[d==null?void 0:d.allowSecurityAlertForSelf,b])}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
__d("MAWSecurityAlertsMenuItem.react",["fbt","JSResourceForInteraction","MWJewelPopoverDialogContext.react","MWPBumpEntityKey","MWXMenuItem.react","react","useMWXLazyDialog"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j=i||(i=d("react")),k=i.useContext,l=c("JSResourceForInteraction")("MAWSecurityAlertsDialog.react").__setRef("MAWSecurityAlertsMenuItem.react");function a(){var a=c("useMWXLazyDialog")(l),b=a[0];a=k(c("MWJewelPopoverDialogContext.react"));var e=a.setIsOpenForDialog;return j.jsx(c("MWXMenuItem.react"),{onClick:function(){d("MWPBumpEntityKey").bumpEntityKeyWithAppId("mw.sidebar","security_alerts"),e(!0),b({})},primaryText:h._("__JHASH__J377dyVYOvt__JHASH__"),secondaryText:h._("__JHASH__UTcDai7d8DF__JHASH__"),testid:void 0})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),226);
__d("MWChatEncryptedBackupsSettingsDialogQuery$Parameters",["MWChatEncryptedBackupsSettingsDialogQuery_facebookRelayOperation"],(function(a,b,c,d,e,f){"use strict";a={kind:"PreloadableConcreteRequest",params:{id:b("MWChatEncryptedBackupsSettingsDialogQuery_facebookRelayOperation"),metadata:{},name:"MWChatEncryptedBackupsSettingsDialogQuery",operationKind:"query",text:null}};e.exports=a}),null);
__d("MWChatEncryptedBackupsSettingsDialog.entrypoint",["JSResourceForInteraction","MWChatEncryptedBackupsSettingsDialogQuery$Parameters","gkx"],(function(a,b,c,d,e,f,g){"use strict";var h=c("gkx")("1850");a={getPreloadProps:function(){return{queries:{queryReference:{parameters:c("MWChatEncryptedBackupsSettingsDialogQuery$Parameters"),variables:{soapEncryptedBackupEnabled:h}}}}},root:c("JSResourceForInteraction")("MWChatEncryptedBackupsSettingsDialog.react").__setRef("MWChatEncryptedBackupsSettingsDialog.entrypoint")};g["default"]=a}),98);
__d("MWChatSidebarEncryptedBackupsMenuItem.react",["fbt","MAWEncryptedBackupsStateManager","MWChatEncryptedBackupsSettingsDialog.entrypoint","MWEBEntrypointsKillswitch.enum","MWJewelPopoverDialogContext.react","MWXMenuItem.react","promiseDone","react","requireDeferred","useMWEBBackupState","useMWXEntryPointDialog","useReStore"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j,k=j||(j=d("react")),l=j.useContext,m=c("requireDeferred")("MWEncryptedBackupsFetchBackupMetadata").__setRef("MWChatSidebarEncryptedBackupsMenuItem.react"),n=h._("__JHASH__Lde2nkz74OF__JHASH__"),o=h._("__JHASH__XgMTfStFEIw__JHASH__");function a(){var a=c("useMWXEntryPointDialog")(c("MWChatEncryptedBackupsSettingsDialog.entrypoint"),{}),b=a[0];a=l(c("MWJewelPopoverDialogContext.react"));var e=a.setIsOpenForDialog,f=(i||(i=c("useReStore")))(),g=c("useMWEBBackupState")({entrypoint:c("MWEBEntrypointsKillswitch.enum").EB_SETTINGS});a=function(){d("MAWEncryptedBackupsStateManager").eligibleForEBUX(g)&&m.onReady(function(a){a=a.fetchBackupMetadata;c("promiseDone")(a(f))}),e(!0),b({})};var j=g===-1||g===1;return k.jsx(c("MWXMenuItem.react"),{auxItem:j?void 0:{auxText:g===3?h._("__JHASH__zuHjNmdQ8AD__JHASH__"):h._("__JHASH__YsrKpzbN1OC__JHASH__"),type:"text"},onClick:a,primaryText:n,role:"menuitemcheckbox",secondaryText:o,testid:void 0})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),226);
__d("MWXMenuItemWithSubmenu.react",["MWXSvgIcon","cr:6643","cr:8476","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||d("react");c=i.forwardRef(a);function a(a,c){var e=a.icon;a=babelHelpers.objectWithoutPropertiesLoose(a,["icon"]);if(b("cr:8476")!=null)return i.jsx(b("cr:8476"),babelHelpers["extends"]({icon:e},a,{ref:c}));return b("cr:6643")!=null?i.jsx(b("cr:6643"),babelHelpers["extends"]({icon:e instanceof d("MWXSvgIcon").MWXSvgIcon?e.component:e},a,{ref:c})):null}a.displayName=a.name+" [from "+f.id+"]";e=c;g["default"]=e}),98);
__d("MWChatSidebarSettingsE2EEChatsMenu.react",["fbt","MAWSecurityAlertsMenuItem.react","MWXDivider.react","MWXMenuItemWithSubmenu.react","cr:3079","cr:529","cr:6692","cr:6733","cr:7165","cr:7398","cr:8596","cr:8597","react"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j=i||d("react"),k=b("cr:7165")||b("cr:529"),l={divider:{marginStart:"x1d52u69",marginLeft:null,marginRight:null,marginEnd:"xktsk01",marginTop:"x1gslohp",marginBottom:"x12nagc",$$css:!0}},m=h._("__JHASH__r6kzKoNm-ho__JHASH__"),n=h._("__JHASH__dUg668z9Ul0__JHASH__"),o=(d=(e=b("cr:8596"))!=null?e:b("cr:8597"))!=null?d:b("cr:6733");function a(){return j.jsx(c("MWXMenuItemWithSubmenu.react"),{primaryText:m,secondaryText:n,submenu:{header:{title:m},items:[o!=null?j.jsx(o,{},"encrypted-backups-comet"):null,j.jsx(c("MAWSecurityAlertsMenuItem.react"),{},"security-alerts-after-redesign"),k!=null?j.jsxs(j.Fragment,{children:[j.jsx(c("MWXDivider.react"),{xstyle:l.divider}),j.jsx(k,{})]},"settings-xma-previews"):null,b("cr:3079")!=null?j.jsx(b("cr:3079"),{},"encrypted-backups-dev-options"):null,b("cr:6692")&&j.jsx(b("cr:6692"),{},"persisted-eb-state-menu"),b("cr:7398")!=null?j.jsx(b("cr:7398"),{},"reset-menu"):null]},testid:void 0})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),226);
__d("MWChatSidebarSettingsPrivacyMenu.react",["fbt","MWPBumpEntityKey","MWXIconMenuItemHouseKeyhole","MWXMenuItemWithSubmenu.react","cr:7253","cr:8630","react"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j=i||d("react");function a(){var a=[];b("cr:7253")!=null&&a.push(j.jsx(b("cr:7253"),{},"settings-e2ee-chats"));b("cr:8630")!=null&&a.push(j.jsx(b("cr:8630"),{},"settings-support-inbox"));return j.jsx(c("MWXMenuItemWithSubmenu.react"),{icon:c("MWXIconMenuItemHouseKeyhole"),onClick:function(){return d("MWPBumpEntityKey").bumpEntityKeyWithAppId("mw.sidebar","privacy_submenu")},primaryText:h._("__JHASH__pWg6bFBFRzx__JHASH__"),submenu:{items:a},testid:void 0})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),226);
__d("useMWDropEBDbMenuDialog",["fbt","MAWEncryptedBackupsPersistedDB","asyncToGeneratorRuntime","promiseDone","setTimeout","useMWXConfirmationDialog"],(function(a,b,c,d,e,f,g,h){"use strict";function a(){var a=c("useMWXConfirmationDialog")();function e(){return f.apply(this,arguments)}function f(){f=b("asyncToGeneratorRuntime").asyncToGenerator(function*(){yield d("MAWEncryptedBackupsPersistedDB").deleteEBIDB()});return f.apply(this,arguments)}return function(){return a({body:h._("__JHASH__DcM8TCyeV5W__JHASH__"),cancel:h._("__JHASH__m8lIvy2pF-q__JHASH__"),confirm:h._("__JHASH__pOCM-0rZl3___JHASH__"),title:h._("__JHASH__icqZlIIHBX0__JHASH__")},function(){c("promiseDone")(e().then(function(){c("setTimeout")(function(){window.location.reload()},500)}))})}}g["default"]=a}),226);
__d("MWDropEBDbMenu.react",["cr:5086","react","useMWDropEBDbMenuDialog"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||d("react");function a(){var a=c("useMWDropEBDbMenuDialog")();return b("cr:5086")!=null?i.jsx(b("cr:5086"),{onClick:a,primaryText:"[Fb-only] Clear persisted EB DB"}):null}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
__d("MWInboxSettingsPresenceMainPushPageQuery_facebookRelayOperation",[],(function(a,b,c,d,e,f){e.exports="4872251902870773"}),null);
__d("ShieldKeyholeOutline20.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 -398)",children:i.jsxs("g",{children:[i.jsx("path",{d:"M103 201.5a2 2 0 1 1-4 0 2 2 0 0 1 4 0",transform:"translate(355 204)"}),i.jsx("path",{d:"m101 201.5 1.843 4.423a.416.416 0 0 1-.385.577h-2.916a.416.416 0 0 1-.385-.577L101 201.5z",transform:"translate(355 204)"}),i.jsx("path",{fillRule:"nonzero",d:"M107.312 208.579a6.456 6.456 0 0 0 1.688-4.347v-7.118a1.57 1.57 0 0 0-1.196-1.523l-.588-.142c-2.347-.558-4.602-.949-6.216-.949-1.749 0-4.252.46-6.804 1.091A1.57 1.57 0 0 0 93 197.114v7.118c0 1.606.601 3.153 1.688 4.347 1.759 1.933 3.637 3.602 5.521 4.706a1.568 1.568 0 0 0 1.49.05l.092-.05c1.884-1.104 3.764-2.774 5.521-4.706zm-6.28 3.412a.069.069 0 0 1-.064 0c-1.73-1.014-3.505-2.59-5.17-4.422a4.956 4.956 0 0 1-1.298-3.337v-7.118c0-.03.022-.058.057-.067C96.991 196.445 99.413 196 101 196c1.587 0 4.007.444 6.443 1.047.035.009.057.037.057.067v7.118a4.957 4.957 0 0 1-1.298 3.337c-1.588 1.747-3.279 3.264-4.933 4.28l-.237.142z",transform:"translate(355 204)"})]})})]}))}a.displayName=a.name+" [from "+f.id+"]";a._isSVG=!0;b=a;g["default"]=b}),98);
__d("useMWSettingsButtonSecurityAlertsBadge",["MAWStateContext.react","react","useMAWSecurityAlertsPreferences"],(function(a,b,c,d,e,f,g){"use strict";var h,i=(h||d("react")).useMemo,j=function(a){return a.unArchivedSelfDeviceChangeAlerts};function a(){var a=c("useMAWSecurityAlertsPreferences")(),b=a.securityAlertsPreferences,e=d("MAWStateContext.react").useMAWSelector(j);return i(function(){return(b==null?void 0:b.allowSecurityAlertForSelf)&&e>0?e:null},[b==null?void 0:b.allowSecurityAlertForSelf,e])}g["default"]=a}),98);/*FB_PKG_DELIM*/
__d("LsDataTraceFalcoEvent",["FalcoLoggerInternal","getFalcoLogPolicy_DO_NOT_USE"],(function(a,b,c,d,e,f,g){"use strict";a=c("getFalcoLogPolicy_DO_NOT_USE")("1743851");b=d("FalcoLoggerInternal").create("ls_data_trace",a);e=b;g["default"]=e}),98);
__d("LSDataTraceFlush",["ArmadilloDataTraceType","I64","LSDataTraceType","LSIntEnum","LsDataTraceFalcoEvent","ODS","Promise","ReQL","asyncToGeneratorRuntime","clearTimeout","gkx","promiseDone","setTimeout"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j,k,l=(i||(i=d("I64"))).of_string("120000"),m=i.of_string("600000"),n=new Set(["encrypted_backups_upload","encrypted_backups_media_backup"]);function o(a,b,c){var e=a.length;if(e===0)return[(i||(i=d("I64"))).neg_one,i.neg_one,void 0,void 0,void 0];e=a.find(function(a){return a.errorMessage!=null});e=e==null?void 0:e.errorMessage;a=a[a.length-1|0];var f=(i||(i=d("I64"))).of_float(Date.now()),g=a.timestampMs,h=i.compare(i.sub(f,c),l)>=0;return!b&&h?[(i||(i=d("I64"))).sub(f,c),a.checkPointId,g,e,"trace expired"]:[i.sub(g,c),a.checkPointId,g,e,e]}function p(a){return a.reduce(function(a,b,c){var e,f=(i||(i=d("I64"))).to_string(b.checkPointId),g=b.timestampMs;e=i.to_string((e=b.syncChannel)!=null?e:(i||(i=d("I64"))).neg_one);b=b.tags;b=b!=null?","+b:"";if(c===0)a.pointsList="".concat("(",f,",",e,b,")");else{c=String((i||(i=d("I64"))).to_int32(i.sub(g,a.lastCheckPointTimestamp)));a.pointsList=a.pointsList.concat("-",c,"-(",f,",",e,b,")")}a.lastCheckPointTimestamp=g;return a},{lastCheckPointTimestamp:(i||(i=d("I64"))).zero,pointsList:""}).pointsList}var q=i.of_string("2");function r(a){var b=a.traceType;b=(i||(i=d("I64"))).equal(b,(k||(k=d("LSIntEnum"))).ofNumber(c("LSDataTraceType").TASK))?"send":(i||(i=d("I64"))).equal(b,d("ArmadilloDataTraceType").armadilloMessageSend)?"armadillo send":(i||(i=d("I64"))).equal(b,(k||(k=d("LSIntEnum"))).ofNumber(c("LSDataTraceType").ENCRYPTED_BACKUPS_INIT))?"encrypted_backups_init":(i||(i=d("I64"))).equal(b,(k||(k=d("LSIntEnum"))).ofNumber(c("LSDataTraceType").ENCRYPTED_BACKUPS_ADD_DEVICE))?"encrypted_backups_add_device":(i||(i=d("I64"))).equal(b,(k||(k=d("LSIntEnum"))).ofNumber(c("LSDataTraceType").ENCRYPTED_BACKUPS_UPLOAD))?"encrypted_backups_upload":(i||(i=d("I64"))).equal(b,(k||(k=d("LSIntEnum"))).ofNumber(c("LSDataTraceType").ENCRYPTED_BACKUPS_RESTORE))?"encrypted_backups_restore":(i||(i=d("I64"))).equal(b,(k||(k=d("LSIntEnum"))).ofNumber(c("LSDataTraceType").ENCRYPTED_BACKUPS_MEDIA_BACKUP))?"encrypted_backups_media_backup":(i||(i=d("I64"))).equal(b,(k||(k=d("LSIntEnum"))).ofNumber(c("LSDataTraceType").ENCRYPTED_BACKUPS_SYNC_EPOCHS))?"encrypted_backups_sync_epochs":(i||(i=d("I64"))).equal(b,(k||(k=d("LSIntEnum"))).ofNumber(c("LSDataTraceType").SAP_VESTA_LOGIN))?"sap_vesta_login":(i||(i=d("I64"))).equal(b,(k||(k=d("LSIntEnum"))).ofNumber(c("LSDataTraceType").SAP_VESTA_REGISTRATION))?"sap_vesta_registration":(i||(i=d("I64"))).equal(b,(k||(k=d("LSIntEnum"))).ofNumber(c("LSDataTraceType").ENCRYPTED_BACKUPS_OPT_OUT_OF_BACKUP))?"encrypted_backups_opt_out_of_backup":(i||(i=d("I64"))).equal(b,(k||(k=d("LSIntEnum"))).ofNumber(c("LSDataTraceType").ENCRYPTED_BACKUPS_FETCH_BACKUPS_METADATA))?"encrypted_backups_fetch_backups_metadata":(i||(i=d("I64"))).equal(b,(k||(k=d("LSIntEnum"))).ofNumber(c("LSDataTraceType").ENCRYPTED_BACKUPS_CREATE_EXTRA_VIRTUAL_DEVICE))?"encrypted_backups_create_extra_virtual_device":(i||(i=d("I64"))).equal(b,(k||(k=d("LSIntEnum"))).ofNumber(c("LSDataTraceType").ENCRYPTED_BACKUPS_FETCH_BACKUP_STATUS))?"encrypted_backups_fetch_backup_status":(i||(i=d("I64"))).equal(b,(k||(k=d("LSIntEnum"))).ofNumber(c("LSDataTraceType").ENCRYPTED_BACKUPS_THIRD_PARTY_ID_GENERATION))?"encrypted_backups_third_party_id_generation":(i||(i=d("I64"))).equal(b,(k||(k=d("LSIntEnum"))).ofNumber(c("LSDataTraceType").ENCRYPTED_BACKUPS_MEDIA_RESTORE))?"encrypted_backups_media_restore":(i||(i=d("I64"))).equal(b,(k||(k=d("LSIntEnum"))).ofNumber(c("LSDataTraceType").ENCRYPTED_BACKUPS_DELETE_BACKUP))?"encrypted_backups_delete_backup":(i||(i=d("I64"))).equal(b,(k||(k=d("LSIntEnum"))).ofNumber(c("LSDataTraceType").ENCRYPTED_BACKUPS_SHADOW_INIT))?"shadow_encrypted_backups_init":(i||(i=d("I64"))).equal(b,(k||(k=d("LSIntEnum"))).ofNumber(c("LSDataTraceType").ENCRYPTED_BACKUPS_SHADOW_ADD_DEVICE))?"shadow_encrypted_backups_add_device":(i||(i=d("I64"))).equal(b,(k||(k=d("LSIntEnum"))).ofNumber(c("LSDataTraceType").ENCRYPTED_BACKUPS_SHADOW_UPLOAD))?"shadow_encrypted_backups_upload":(i||(i=d("I64"))).equal(b,(k||(k=d("LSIntEnum"))).ofNumber(c("LSDataTraceType").ENCRYPTED_BACKUPS_SHADOW_RESTORE))?"shadow_encrypted_backups_restore":(i||(i=d("I64"))).equal(b,(k||(k=d("LSIntEnum"))).ofNumber(c("LSDataTraceType").ENCRYPTED_BACKUPS_SHADOW_DELETE_BACKUP))?"shadow_encrypted_backups_delete_backup":a.contextTwo;return b}function s(a,b){var e=b.traceId,f=b.shouldFlush,g=r(b),h=b.traceType,j=(i||(i=d("I64"))).equal(h,d("ArmadilloDataTraceType").armadilloMessageSend)?"tam_message_send":b.contextOne,k=(i||(i=d("I64"))).equal(b.traceType,q)?void 0:b.predefinedId,l=b.initTimestampMs;return d("ReQL").toArrayAsync(d("ReQL").fromTableAscending(a.data_trace_addon.index("traceIdAddonId")).getKeyRange(e)).then(function(a){var b=o(a,f,l),h=b[0],m=b[1],n=b[3],q=b[4],r=a.length,s=p(a);c("LsDataTraceFalcoEvent").log(function(){var a;return{check_point_count:(i||(i=d("I64"))).to_string(i.of_int32(r)),check_point_list:s,client_event_ts:i.to_string(i.of_float(Date.now())),cold_start_time:void 0,data_trace_id:e,database_id:j,delivered_messages:void 0,error_message:q,first_error_message:n,has_backgrounded:!1,last_check_point:i.to_string(m),latency:i.to_string(h),media_type:void 0,num_of_attachments:void 0,persisted_metadata:void 0,predefined_id:k,sent_rich_media_messages:void 0,sent_text_messages:void 0,start_time:i.to_string(l),trace_flow:(a=g)!=null?a:""}})}).then(function(){return a.data_trace_meta["delete"](e)})}function a(a,c){return d("ReQL").firstAsync(d("ReQL").fromTableAscending(a.data_trace_meta).getKeyRange(c)).then(function(c){if(c!=null)return s(a,c);else return(h||(h=b("Promise"))).resolve()})}var t={contents:void 0};function u(a){return d("ReQL").toArrayAsync(d("ReQL").fromTableAscending(a.data_trace_meta.index("shouldFlushInitTimestampMsTraceId")).getKeyRange(!1).bounds({lt:d("ReQL").key((i||(i=d("I64"))).sub(i.of_float(Date.now()),l))})).then(function(a){if(c("gkx")("23914")){var b=(i||(i=d("I64"))).of_float(Date.now());return a.filter(function(a){var c=r(a);if(c!=null&&n.has(c)){c=(i||(i=d("I64"))).compare(i.sub(b,a.initTimestampMs),m)>=0;return c}return!0})}return a})}function v(a){return w.apply(this,arguments)}function w(){w=b("asyncToGeneratorRuntime").asyncToGenerator(function*(a){var c=(yield u(a.tables));if(c.length===0)return;return a.runInTransaction(function(a){return u(a).then(function(c){return(h||(h=b("Promise"))).all(c.map(function(b){return s(a,b)}))})},"readwrite",void 0,void 0,f.id+":373")});return w.apply(this,arguments)}function x(){var a=t.contents;if(a!=null){c("clearTimeout")(a);return}}function y(a){c("promiseDone")(v(a),function(){x();var b=c("setTimeout")(function(){y(a)},6e4);t.contents=b},function(){x(),(j||(j=d("ODS"))).bumpEntityKey(3185,"mw_trace","error")});return x}e=a;a=y;e={flush:e,flushExpiredDataTraces:a};g["default"]=e}),98);
__d("LSOptimisticUpdateThreadDisappearingSetting",["LSIssueNewError","LSIssueNewTask"],(function(a,b,c,d,e,f){function a(){var a=arguments,c=a[a.length-1],d=[],e=[];return c.sequence([function(e){return c.sequence([function(a){return c.sortBy(c.db.table(115).fetch(),[["timestampMs","DESC"]]).next().then(function(a,b){var c=a.done;a=a.value;return c?d[0]=!1:(b=a.item,d[0]=b.errorShouldBeShown)})},function(a){return d[0]===!0?c.sequence([function(a){return c.localizeV2Async(c.i64.cast([0,2285622730]),void 0).then(function(a){return d[4]=a})},function(a){return c.localizeV2Async(c.i64.cast([0,1919524925]),void 0).then(function(a){return d[5]=a})},function(a){return c.storedProcedure(b("LSIssueNewError"),void 0,c.i64.cast([0,1545093]),d[4],d[5],void 0,void 0)}]):c.resolve()},function(e){return d[2]=new c.Map(),d[2].set("wa_jid",void 0),d[2].set("thread_key",a[0]),d[2].set("disappearing_ttl",a[1]),d[2].set("updated_timestamp",a[2]),d[2].set("updated_by",a[3]),d[2].set("sync_group",c.i64.cast([0,95])),d[3]=c.toJSON(d[2]),c.storedProcedure(b("LSIssueNewTask"),"disappearing_setting",c.i64.cast([0,714]),d[3],void 0,void 0,c.i64.cast([0,0]),c.i64.cast([0,0]),void 0,void 0,c.i64.cast([0,0]),c.i64.cast([0,0]))}])},function(a){return c.resolve(e)}])}a.__sproc_name__="LSMailboxOptimisticUpdateThreadDisappearingSettingStoredProcedure";e.exports=a}),null);
__d("LSOptimisticUpdateThreadDisappearingSettingStoredProcedure",["LSOptimisticUpdateThreadDisappearingSetting","cr:8709"],(function(a,b,c,d,e,f,g){function a(a,b){b===void 0&&(b={});var d=[];d[0]=b.threadKey;d[1]=b.disappearingTtl;d[2]=b.updatedTimestamp;d[3]=b.updatedBy;return c("LSOptimisticUpdateThreadDisappearingSetting").apply(void 0,d.concat([a]))}g["default"]=a}),98);
__d("LsMessageClickFalcoEvent",["FalcoLoggerInternal","getFalcoLogPolicy_DO_NOT_USE"],(function(a,b,c,d,e,f,g){"use strict";a=c("getFalcoLogPolicy_DO_NOT_USE")("1743853");b=d("FalcoLoggerInternal").create("ls_message_click",a);e=b;g["default"]=e}),98);
__d("MAWBridgeTraceRecordCheckpointHandler",["I64","LSAppendDataTraceAddonStoredProcedure","LSFactory","LSFlushDataTrace.nop"],(function(a,b,c,d,e,f,g){"use strict";var h;function a(a,b){var e=b.checkPointId,f=b.dataTraceId,g=b.errorMessage,i=b.tags;return c("LSAppendDataTraceAddonStoredProcedure")(c("LSFactory")(a),{checkPointId:e,dataTraceId:f,errorMessage:g,syncChannel:(h||(h=d("I64"))).neg_one,tags:i}).then(function(){if(b.shouldFlush)return c("LSFlushDataTrace.nop")(a,0,f)})}g.call=a}),98);
__d("MAWEphemeralMsgAutoResetSystemId",[],(function(a,b,c,d,e,f){"use strict";a="-111111";b=a;f["default"]=b}),66);
__d("MAWEphemeralSettingsUpdate",["FBLogger","I64","LSOptimisticUpdateThreadDisappearingSettingStoredProcedure","MAWChatJid","MAWCurrentUser","MAWEphemeralMsgAutoResetSystemId","Promise","asyncToGeneratorRuntime","requireDeferred"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=c("requireDeferred")("LSDatabaseSingletonLazyWrapper").__setRef("MAWEphemeralSettingsUpdate"),k=c("requireDeferred")("LSFactory").__setRef("MAWEphemeralSettingsUpdate"),l=c("requireDeferred")("WATimeUtils").__setRef("MAWEphemeralSettingsUpdate");function m(a,b,c,d){return n.apply(this,arguments)}function n(){n=b("asyncToGeneratorRuntime").asyncToGenerator(function*(a,b,c,e){a=(yield a.threads.get(e));if(a!=null){e=a.disappearingSettingUpdatedTs;a=a.disappearingSettingTtl;if(e==null||a==null)return!0;if((i||(i=d("I64"))).lt(e,(i||(i=d("I64"))).of_float(c))&&!(i||(i=d("I64"))).equal(a,(i||(i=d("I64"))).of_int32(b)))return!0}return!1});return n.apply(this,arguments)}function o(a,b,c,d,e,f,g){return p.apply(this,arguments)}function p(){p=b("asyncToGeneratorRuntime").asyncToGenerator(function*(a,e,f,g,j,l,n){var o=(yield m(a,e,f,j));if(!o)return(h||(h=b("Promise"))).resolve();l&&c("FBLogger")("labyrinth_web").addMetadata("LABYRINTH_WEB","APP_VERSION","OCCAM_EPHEMERAL_SETTINGS_UPDATE").info("[Occam][Web] Ephemeral Settings Updated.");o=(yield k.load());return c("LSOptimisticUpdateThreadDisappearingSettingStoredProcedure")(o(a),{disappearingTtl:(i||(i=d("I64"))).of_int32(e),threadKey:j,updatedBy:i.of_string(g?c("MAWEphemeralMsgAutoResetSystemId"):(l=n)!=null?l:d("MAWCurrentUser").getID()),updatedTimestamp:i.of_float(f)})});return p.apply(this,arguments)}function a(a,b,c,d){return q.apply(this,arguments)}function q(){q=b("asyncToGeneratorRuntime").asyncToGenerator(function*(a,b,c,d){var e=(yield j.load());e=(yield e());return e.runInTransaction(function(e){return o(e,a,b,c,d,!1)},"readwrite")});return q.apply(this,arguments)}function e(a,b,c,d,e){return r.apply(this,arguments)}function r(){r=b("asyncToGeneratorRuntime").asyncToGenerator(function*(a,c,e,f,g){var i=(yield j.load());i=(yield i());return i.runInTransaction(function(){var i=b("asyncToGeneratorRuntime").asyncToGenerator(function*(i){var j=(yield d("MAWChatJid").toThreadKeyMaybe(i,f));return j!=null?o(i,a,(yield l.load()).castUnixTimeToMillisTime(c),e,j,g):(h||(h=b("Promise"))).resolve()});return function(a){return i.apply(this,arguments)}}(),"readwrite")});return r.apply(this,arguments)}g.updateEphemeralSettingsWithTxn=o;g.updateEphemeralSettings=a;g.updateEphemeralSettingsByChatJid=e}),98);
__d("MessengerMQTTPresence",["FBMqttChannel","ODS"],(function(a,b,c,d,e,f,g){"use strict";var h,i="/orca_presence",j="mqtt_web.presence",k="/send_additional_contacts",l=!1;function a(a){if(l)return;l=!0;c("FBMqttChannel").subscribe(i,function(b){b=JSON.parse(b);b&&b.list&&(b.list_type&&b.list_type==="full"&&a.reset(),a.setMultiFromMQTT(b.list),(h||(h=d("ODS"))).bumpEntityKey(3303,j,"buddylist.event"),h.bumpEntityKey(3303,j,"buddylist.active_buddies",b.list.length))})}function b(){l=!1,c("FBMqttChannel").unsubscribeAll(i)}var m=new Map(),n=1e3*60*3;function e(a){if(m.has(a)){var b=m.get(a);if(b!=null&&b>Date.now())return;m["delete"](a)}m.set(a,Date.now()+n);c("FBMqttChannel").publish(k,JSON.stringify({additional_contacts:[a]}))}f={sendAdditionalBuddyRequest:e,subscribe:a,unsubscribe:b};g["default"]=f}),98);/*FB_PKG_DELIM*/
__d("CameraFilled12.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 12 13",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(-450 -1073)",children:i.jsxs("g",{children:[i.jsx("path",{d:"M104.5 922a2 2 0 1 0 0 4 2 2 0 0 0 0-4",transform:"translate(351.5 156)"}),i.jsx("path",{d:"M108.5 922.25a.75.75 0 1 1 0-1.501.75.75 0 0 1 0 1.501m-4 4.75a3 3 0 1 1 0-6 3 3 0 0 1 0 6m3.966-7.5h-.384c-.506 0-.634-.2-.868-.54-.279-.405-.661-.96-1.69-.96h-2.047c-1.03 0-1.412.555-1.691.96-.234.34-.362.54-.868.54h-.384a2.029 2.029 0 0 0-2.034 2.029v5.43a2.04 2.04 0 0 0 2.034 2.041h7.931a2.04 2.04 0 0 0 2.035-2.042v-5.646c0-1.075-.837-1.812-2.034-1.812",transform:"translate(351.5 156)"})]})})]}))}a.displayName=a.name+" [from "+f.id+"]";a._isSVG=!0;b=a;g["default"]=b}),98);
__d("LSMarkBumpedThreadsSeen",["LSIssueNewFireAndForgetTask"],(function(a,b,c,d,e,f){function a(){var a=arguments,c=a[a.length-1],d=[],e=[];return c.sequence([function(e){return c.islc(c.filter(c.db.table(9).fetchDesc([[[a[0]]],"secondaryParentThreadKeyLastActivityTimestampMs"]),function(b){return c.i64.eq(b.secondaryParentThreadKey,a[0])&&[c.i64.cast([0,18]),c.i64.cast([0,23]),c.i64.cast([0,21])].some(function(a){return c.i64.eq(b.threadType,a)})}),0,c.i64.to_float(c.i64.cast([0,1]))).next().then(function(e,f){var g=e.done;e=e.value;return g?0:(f=e.item,d[0]=f.lastActivityTimestampMs,c.i64.gt(d[0],c.i64.cast([0,0]))?c.db.table(35).fetch([[[a[0]]]]).next().then(function(f,h){var e=f.done;f=f.value;return e?c.sequence([function(b){return c.db.table(35).add({parentThreadKey:a[0],lastSeenRequestTimestampMs:d[0]})},function(e){return d[2]=new c.Map(),d[2].set("parent_thread_key",a[0]),d[2].set("last_seen_time_ms",d[0]),d[3]=c.toJSON(d[2]),c.storedProcedure(b("LSIssueNewFireAndForgetTask"),"fire_forget",c.i64.cast([0,6]),d[3])}]):(h=f.item,c.i64.lt(h.lastSeenRequestTimestampMs,d[0])?c.sequence([function(b){return c.db.table(35).add({parentThreadKey:a[0],lastSeenRequestTimestampMs:d[0]})},function(e){return d[2]=new c.Map(),d[2].set("parent_thread_key",a[0]),d[2].set("last_seen_time_ms",d[0]),d[3]=c.toJSON(d[2]),c.storedProcedure(b("LSIssueNewFireAndForgetTask"),"fire_forget",c.i64.cast([0,6]),d[3])}]):c.resolve())}):c.resolve())})},function(a){return c.resolve(e)}])}a.__sproc_name__="LSMailboxMarkBumpedThreadsSeenStoredProcedure";e.exports=a}),null);
__d("LSMarkBumpedThreadsSeenStoredProcedure",["LSMarkBumpedThreadsSeen","cr:8709"],(function(a,b,c,d,e,f,g){function a(a,b){var d=[];d[0]=b.secondaryParentThreadKey;return c("LSMarkBumpedThreadsSeen").apply(void 0,d.concat([a]))}g["default"]=a}),98);
__d("LSMarkFolderSeen",["LSIssueNewFireAndForgetTask"],(function(a,b,c,d,e,f){function a(){var a=arguments,c=a[a.length-1],d=[],e=[];return c.sequence([function(e){return c.sequence([function(b){return c.db.table(9).fetch([[[a[0]]]]).next().then(function(a,b){var c=a.done;a=a.value;return c?d[0]=void 0:(b=a.item,d[0]=b.threadType)})},function(e){return c.i64.eq(d[0],c.i64.cast([0,17]))?c.sequence([function(b){return d[2]=c.i64.of_float(Date.now()),c.forEach(c.db.table(9).fetch([[[a[0]]]]),function(a){var b=a.update;a.item;return b({lastReadWatermarkTimestampMs:d[2]})})},function(e){return d[3]=c.i64.of_float(Date.now()),c.i64.gt(d[3],c.i64.cast([0,0]))?c.db.table(35).fetch([[[a[0]]]]).next().then(function(e,f){var g=e.done;e=e.value;return g?c.sequence([function(b){return c.db.table(35).add({parentThreadKey:a[0],lastSeenRequestTimestampMs:d[3]})},function(e){return d[5]=new c.Map(),d[5].set("parent_thread_key",a[0]),d[5].set("last_seen_time_ms",d[3]),d[6]=c.toJSON(d[5]),c.storedProcedure(b("LSIssueNewFireAndForgetTask"),"fire_forget",c.i64.cast([0,6]),d[6])}]):(f=e.item,c.i64.lt(f.lastSeenRequestTimestampMs,d[3])?c.sequence([function(b){return c.forEach(c.db.table(35).fetch([[[a[0]]]]),function(a){var b=a.update;a.item;return b({lastSeenRequestTimestampMs:d[3]})})},function(e){return d[5]=new c.Map(),d[5].set("parent_thread_key",a[0]),d[5].set("last_seen_time_ms",d[3]),d[6]=c.toJSON(d[5]),c.storedProcedure(b("LSIssueNewFireAndForgetTask"),"fire_forget",c.i64.cast([0,6]),d[6])}]):c.resolve())}):c.resolve()}]):c.sequence([function(b){return c.islc(c.sortBy(c.filter(c.db.table(276).fetch(),function(b){return c.i64.eq(b.folderType,a[0])}),[["lastActivityAuthoritativeTsMs","DESC"]]),0,c.i64.to_float(c.i64.cast([0,1]))).next().then(function(a,b){var e=a.done;a=a.value;return e?d[2]=c.i64.cast([0,0]):(b=a.item,d[8]=b.lastActivityAuthoritativeTsMs,c.i64.neq(d[8],void 0)?d[7]=d[8]:d[7]=c.i64.cast([0,0]),d[2]=d[7])})},function(b){return c.islc(c.db.table(9).fetchDesc([[[a[0]]],"parentThreadKeyLastActivityTimestampMs"]),0,c.i64.to_float(c.i64.cast([0,1]))).next().then(function(a,b){var e=a.done;a=a.value;return e?d[4]=c.i64.cast([0,0]):(b=a.item,d[8]=b.lastActivityTimestampMs,c.i64.neq(d[8],void 0)?d[7]=d[8]:d[7]=c.i64.cast([0,0]),d[4]=d[7])})},function(e){return d[6]=c.i64.gt(d[2],d[4])?d[2]:d[4],c.i64.gt(d[6],c.i64.cast([0,0]))?c.db.table(35).fetch([[[a[0]]]]).next().then(function(e,f){var g=e.done;e=e.value;return g?c.sequence([function(b){return c.db.table(35).add({parentThreadKey:a[0],lastSeenRequestTimestampMs:d[6]})},function(e){return d[8]=new c.Map(),d[8].set("parent_thread_key",a[0]),d[8].set("last_seen_time_ms",d[6]),d[9]=c.toJSON(d[8]),c.storedProcedure(b("LSIssueNewFireAndForgetTask"),"fire_forget",c.i64.cast([0,6]),d[9])}]):(f=e.item,c.i64.lt(f.lastSeenRequestTimestampMs,d[6])?c.sequence([function(b){return c.forEach(c.db.table(35).fetch([[[a[0]]]]),function(a){var b=a.update;a.item;return b({lastSeenRequestTimestampMs:d[6]})})},function(e){return d[8]=new c.Map(),d[8].set("parent_thread_key",a[0]),d[8].set("last_seen_time_ms",d[6]),d[9]=c.toJSON(d[8]),c.storedProcedure(b("LSIssueNewFireAndForgetTask"),"fire_forget",c.i64.cast([0,6]),d[9])}]):c.resolve())}):c.resolve()}])}])},function(a){return c.resolve(e)}])}a.__sproc_name__="LSMailboxMarkFolderSeenStoredProcedure";e.exports=a}),null);
__d("LSMarkFolderSeenStoredProcedure",["LSMarkFolderSeen","cr:8709"],(function(a,b,c,d,e,f,g){function a(a,b){var d=[];d[0]=b.parentThreadKey;return c("LSMarkFolderSeen").apply(void 0,d.concat([a]))}g["default"]=a}),98);
__d("MWCMMarkBumpedThreadsSeen",["LSFactory","LSMarkBumpedThreadsSeenStoredProcedure","asyncToGeneratorRuntime"],(function(a,b,c,d,e,f,g){"use strict";function a(a,b){return h.apply(this,arguments)}function h(){h=b("asyncToGeneratorRuntime").asyncToGenerator(function*(a,b){a!=null&&(yield c("LSMarkBumpedThreadsSeenStoredProcedure")(c("LSFactory")(b),{secondaryParentThreadKey:a}))});return h.apply(this,arguments)}g.MWCMMarkBumpedThreadsSeen=a}),98);
__d("MWPGetThreadCTA",["$InternalEnum"],(function(a,b,c,d,e,f){"use strict";var g=b("$InternalEnum").Mirrored(["VideoCall","VoiceCall"]);function a(a){var b=a==="xma_rtc_missed_video"||a==="xma_rtc_missed_group_video";a=a==="xma_rtc_missed_audio"||a==="xma_rtc_missed_group_audio";return b?g.VideoCall:a?g.VoiceCall:null}c=a;f.ThreadCTA=g;f.getThreadCTA=c}),66);
__d("MWPMarkSeenDeferred",["LSFactory","LSMarkFolderSeenStoredProcedure","asyncToGeneratorRuntime"],(function(a,b,c,d,e,f,g){"use strict";function a(a,b){return h.apply(this,arguments)}function h(){h=b("asyncToGeneratorRuntime").asyncToGenerator(function*(a,b){a!=null&&(yield c("LSMarkFolderSeenStoredProcedure")(c("LSFactory")(b),{parentThreadKey:a}))});return h.apply(this,arguments)}g.markSeen=a}),98);
__d("MWXIconCamera",["MWXSvgIcon","SVGIcon","cr:9074","gkx"],(function(a,b,c,d,e,f,g){"use strict";a=d("MWXSvgIcon").mwxSvgIcon(d("SVGIcon").svgIcon(b("cr:9074")),c("gkx")("23219"));g["default"]=a}),98);
__d("MWXListCellHoverActions.react",["XPlatReactEnvironment","react","react-strict-dom"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||d("react"),j={action:{marginStart:"x1i64zmx",$$css:!0},menuButtonContainer:{alignItems:"x6s0dn4",bottom:"x1hgdm3",display:"x78zum5",flexDirection:"x1q0g3np",end:"x84fkku",left:null,right:null,pointerEvents:"x67bb7w",position:"x10l6tqk",top:"x1jl3hli",$$css:!0},visuallyHidden:{height:"xjm9jq1",overflowX:"x6ikm8r",overflowY:"x10wlt62",width:"x1i1rx1s",$$css:!0},visuallyHiddenWeb:{clip:"x1qvwoe0",clipPath:"x1vzd84k",$$css:!0}};function a(a){var b=a.children;a=a.hidden;var c=d("XPlatReactEnvironment").isWeb();return i.jsx(d("react-strict-dom").html.div,{role:"gridcell",style:[j.menuButtonContainer,a&&j.visuallyHidden,c&&a&&j.visuallyHiddenWeb],children:Array.isArray(b)?b.filter(function(a){return a!=null}).map(function(a,b){return i.jsx(d("react-strict-dom").html.div,{style:j.action,children:a},b)}):b})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
__d("MWXListCellHoverButton.react",["fbt","FocusWithinHandler.react","MWXCircleButton.react","MWXEntryPointPopoverTrigger.react","MWXIconDots3Horizontal","MWXLazyPopoverTrigger.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,l={buttonShadow:{backgroundColor:"x9bbmet",borderTopStartRadius:"xzolkzo",borderTopEndRadius:"x12go9s9",borderBottomEndRadius:"x1rnf11y",borderBottomStartRadius:"xprq8jg",boxShadow:"x10xjkym",$$css:!0},buttonShadowNonStandard:{shadowOpacity:"xpvwwk",$$css:!0}};function a(a){var b=a.label,e=a.onFocusChange,f=a.onHoverChange,g=a.onMenuStateChange,i=a.onPress,m=a.size,n=a.testid,o=k(function(a){g!=null&&g(a)},[g]),p=k(function(a,g,k,n,o){return j.jsx(d("react-strict-dom").html.div,{ref:a,children:j.jsx(c("FocusWithinHandler.react"),{onFocusChange:e,children:function(a){return j.jsx(d("react-strict-dom").html.div,{style:[!a&&l.buttonShadow,!a&&l.buttonShadowNonStandard],children:j.jsx(c("MWXCircleButton.react"),{color:"secondary",icon:c("MWXIconDots3Horizontal"),label:b!=null?b:h._("__JHASH__LtCYmN0GXLi__JHASH__"),onHoverIn:function(a){k&&k(a),f&&f(!0)},onHoverOut:function(a){n&&n(),f&&f(!1)},onPress:function(){i&&i(),g()},onPressIn:o,size:(a=m)!=null?a:36,testid:void 0,type:"overlay"})})}})})},[e,b,f,i,n,m]);n={align:"middle",fallback:a.popoverFallback,onVisibilityChange:o,popoverProps:a.popoverProps,position:"below"};if(a.popoverTriggerType==="lazy")return j.jsx(c("MWXLazyPopoverTrigger.react"),babelHelpers["extends"]({},n,{popoverResource:a.popoverResource,children:function(a,b){return p(a,b)}}));else{o=n.popoverProps;n=babelHelpers.objectWithoutPropertiesLoose(n,["popoverProps"]);return j.jsx(c("MWXEntryPointPopoverTrigger.react"),babelHelpers["extends"]({},n,{entryPointParams:a.entryPointParams,otherProps:o,popoverEntryPoint:a.popoverEntryPoint,preloadTrigger:"button_aggressive",children:function(a,b,c,d,e,f){return p(a,b,d,e,f)}}))}}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),226);
__d("MWThreadListItemMoreActions.react",["fbt","I64","JSResourceForInteraction","MWPGetThreadCTA","MWPIsThreadUnread","MWThreadListFocusableTable.react","MWXCircleButton.react","MWXIconCamera","MWXIconPhone","MWXListCellHoverActions.react","MWXListCellHoverButton.react","MWXPopoverLoadingState.react","MessageRequestsBulkActionsContext.react","MessengerWebUXLogger","WebUXLoggingSurfaceContextProvider","cr:2580","gkx","react"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j,k=i||(i=d("react"));e=i;var l=e.useContext,m=e.useMemo,n=c("JSResourceForInteraction")("MWThreadListHoverButtonDropdownMenu.react").__setRef("MWThreadListItemMoreActions.react"),o=c("gkx")("26363");function a(a){a.fbGroupId;var e=a.lastMessageCtaType,f=a.menuButtonVisibilityState,g=a.messagingEntrypoint,i=a.onClose,p=a.selected,q=a.threadKey,r=a.threadType;a=m(function(){return(j||(j=d("I64"))).to_string(q)},[q]);var s=d("MWPIsThreadUnread").useIsThreadUnread(q),t=f[0];f=f[1];var u=f.setMenuBtnFocused,v=f.setMenuBtnHovered,w=f.setMenuOpened,x=c("MessengerWebUXLogger").useInteractionLogger();f=l(c("MessageRequestsBulkActionsContext.react"));f=f.isBulkActionsEditMode;e=d("MWPGetThreadCTA").getThreadCTA(e);return k.jsx(d("MWThreadListFocusableTable.react").MWThreadListFocusableTableCell,{children:k.jsx(d("WebUXLoggingSurfaceContextProvider").WebUXLoggingSurfaceContextProvider,{value:"thread_list_options",children:f?null:k.jsxs(c("MWXListCellHoverActions.react"),{hidden:!t,children:[o&&e!=null?k.jsx(c("MWXCircleButton.react"),{color:"secondary",icon:e===d("MWPGetThreadCTA").ThreadCTA.VideoCall?c("MWXIconCamera"):c("MWXIconPhone"),label:h._("__JHASH__TF6qbw6BiBY__JHASH__"),size:32,type:"overlay"}):null,k.jsx(c("MWXListCellHoverButton.react"),{onFocusChange:u,onHoverChange:v,onMenuStateChange:function(a){a&&(b("cr:2580")&&b("cr:2580")({threadKey:q,threadType:r},"open_thread_settings_menu",g),x==null?void 0:x({eventName:"open_thread_overflow_menu",threadKey:q,threadType:r}));return w(a)},popoverFallback:k.jsx(c("MWXPopoverLoadingState.react"),{withArrow:!0}),popoverProps:{fbid:a,isUnread:s,messagingEntrypoint:g,onCloseJewel:i,selected:p,threadKey:q},popoverResource:n,popoverTriggerType:"lazy",size:c("gkx")("23219")?32:void 0,testid:void 0})]})})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),226);/*FB_PKG_DELIM*/
__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("MAWSecretConversationsLogout",["FBLogger","Promise","QPLUserFlow","SharedWorkerBundleResource","asyncTimeout","asyncToGeneratorRuntime","cr:6600","ifRequired","qpl"],(function(a,b,c,d,e,f,g){"use strict";var h;function i(a){c("QPLUserFlow").start(c("qpl")._(25309731,"17"),{annotations:{bool:{userInitiated:a}},cancelOnUnload:!0,timeoutInMs:3e3})}function j(){c("QPLUserFlow").endSuccess(c("qpl")._(25309731,"17"))}function a(a){i(a);a=function(){var a=b("asyncToGeneratorRuntime").asyncToGenerator(function*(){try{yield c("ifRequired")("MAWSetupWorker",function(a){return a.terminateWorker("logout")},function(){return d("SharedWorkerBundleResource").terminateSharedWorker(b("cr:6600"))})}catch(a){c("FBLogger")("messenger_web_account").catching(a).mustfix("Error in removeCurrentDevice of the Armadillo logout flow")}finally{j()}});return function(){return a.apply(this,arguments)}}();return(h||(h=b("Promise"))).race([a()["catch"](function(a){c("FBLogger")("messenger_web_account").catching(a).mustfix("Error in the Armadillo logout flow");return(h||(h=b("Promise"))).resolve()}),c("asyncTimeout")(3e3)])}g["default"]=a}),98);
__d("MWCleanupOnLogout",["Promise","cr:519","cr:9037"],(function(a,b,c,d,e,f,g){"use strict";var h,i=b("cr:9037")?b("cr:9037")==null?void 0:b("cr:9037").logout:function(){return(h||(h=b("Promise"))).resolve()};function a(){return b("cr:519")!=null?b("cr:519")(!0):i()}g["default"]=a}),98);
__d("ProfileSwitcherSplashScreenUtils",["ConstUriUtils","goForceFullPageRedirectTo"],(function(a,b,c,d,e,f,g){"use strict";var h="_ps",i="dest_url";function a(a){a=typeof a==="string"?d("ConstUriUtils").getUri(a):a;return a==null?void 0:a.addQueryParam(h,1)}function b(a){a=typeof a==="string"?d("ConstUriUtils").getUri(a):a;return a==null?void 0:a.addQueryParam(h,i)}function e(){c("goForceFullPageRedirectTo")("/?"+h+"=1")}g.profileSwitcherReloadHomePageAfterSwitch=e;g.addSwitchingProfileParamIfNeeded=a;g.addSwitchingProfileParamIfNeededBypassContextPres=b}),98);
__d("XBizSuiteControllerRouteBuilder",["jsRouteBuilder"],(function(a,b,c,d,e,f,g){a=c("jsRouteBuilder")("/latest/{?*rest}",Object.freeze({boosted_auto_open:!1,auto_open_saved_replies:!1,auto_open_order_tip:!1,auto_open_promote:!1,launch_notifications:!1,launch_onboarding:!1,partnership_messages:!1,preloaded_with_autodraft:!1,unified_composer_mode:"REEL",should_open_edit_fb_profile:!1}),void 0);b=a;g["default"]=b}),98);
__d("XCometMeControllerRouteBuilder",["jsRouteBuilder"],(function(a,b,c,d,e,f,g){a=c("jsRouteBuilder")("/me/",Object.freeze({}),void 0);b=a;g["default"]=b}),98);
__d("isRecentProfileSwitchSessionStorage",["WebStorage"],(function(a,b,c,d,e,f,g){"use strict";var h;a={getAndRemove:function(){var a,b;a=(a=(h||(h=c("WebStorage"))).getSessionStorage())==null?void 0:a.getItem("comet_is_recent_profile_switch");if(a==null)return null;(b=(h||(h=c("WebStorage"))).getSessionStorage())==null?void 0:b.removeItem("comet_is_recent_profile_switch");try{b=JSON.parse(a);return{didSwitchToMainProfile:(b==null?void 0:b.didSwitchToMainProfile)===!0}}catch(a){return null}},set:function(a){(h||(h=c("WebStorage"))).setItemGuarded(h.getSessionStorage(),"comet_is_recent_profile_switch",JSON.stringify(a))}};b=a;g["default"]=b}),98);
__d("profileSwitchOriginSessionStorage",["WebStorage"],(function(a,b,c,d,e,f,g){"use strict";var h;a={getAndRemove:function(){var a,b;a=(a=(h||(h=c("WebStorage"))).getSessionStorage())==null?void 0:a.getItem("comet_profile_switch_origin");if(a==null)return null;(b=(h||(h=c("WebStorage"))).getSessionStorage())==null?void 0:b.removeItem("comet_profile_switch_origin");try{b=JSON.parse(a);return{origin:b==null?void 0:b.origin}}catch(a){return null}},set:function(a){(h||(h=c("WebStorage"))).setItemGuarded(h.getSessionStorage(),"comet_profile_switch_origin",JSON.stringify(a))}};b=a;g["default"]=b}),98);
__d("profileCometSwitcherCleanup",["Banzai","Promise","UserMismatchExpected","WebStorage","cr:3564","isRecentProfileSwitchSessionStorage","justknobx","previousProfileIdForToastSessionStorage","profileSwitchOriginSessionStorage","requireDeferred"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=c("requireDeferred")("Cookie").__setRef("profileCometSwitcherCleanup"),k=c("requireDeferred")("ServiceWorkerLoginAndLogout").__setRef("profileCometSwitcherCleanup"),l=c("requireDeferred")("WebStorageMonster").__setRef("profileCometSwitcherCleanup");function a(a,e,f){var g=f.fromCDSSwitcher,m=g===void 0?!1:g,n=f.isSwitchingToMainProfile,o=f.origin,p=f.withPostSwitchLogging,q=function(){return new(i||(i=b("Promise")))(function(b){l.onReady(function(d){d.cleanOnLogout(e,"profileCometSwitcherCleanup");c("previousProfileIdForToastSessionStorage").set(a);m&&(h||(h=c("WebStorage"))).setItemGuarded(h.getSessionStorage(),"did_profile_switch_come_from_switcher","1");if(p){c("isRecentProfileSwitchSessionStorage").set({didSwitchToMainProfile:n});c("profileSwitchOriginSessionStorage").set({origin:(d=o)!=null?d:"fallback"})}b()})})};g=c("justknobx")._("48")&&b("cr:3564")!=null?b("cr:3564")().then(function(){return q()}):q();f=new(i||(i=b("Promise")))(function(a){j.onReady(function(b){b.clear("presence","/"),a()})});var r=new i(function(a){k.onReady(function(b){b.logout(),a()})}),s=new i(function(a){return c("Banzai").flush(a)});d("UserMismatchExpected").setIsUserMismatchExpected(!0);window.setTimeout(function(){return d("UserMismatchExpected").setIsUserMismatchExpected(!1)},6e4);return i.all([g,f,r,s])}g["default"]=a}),98);
__d("profileSwitcherReloadCurrentPageAfterSwitch",["ConstUriUtils","ProfileSwitcherSplashScreenUtils","goForceFullPageRedirectTo"],(function(a,b,c,d,e,f,g){"use strict";function a(){var a=window.location.href;a=d("ConstUriUtils").getUri(a);if(a!=null){a=a.removeQueryParam("show_switched_toast");a=d("ProfileSwitcherSplashScreenUtils").addSwitchingProfileParamIfNeeded(a);if(a)return c("goForceFullPageRedirectTo")(a)}d("ProfileSwitcherSplashScreenUtils").profileSwitcherReloadHomePageAfterSwitch()}g["default"]=a}),98);
__d("useEBStateDBLogout",["MWEncryptedBackupsLocalStorageEntryEnum","Promise","WebStorage","cr:6694","getMWEncryptedBackupsIsLocalStorageSupported","gkx"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=c("gkx")("3952");function a(){var a,e=d("getMWEncryptedBackupsIsLocalStorageSupported").getMWEncryptedBackupsIsLocalStorageSupported();a=(a=(i||(i=c("WebStorage"))).getLocalStorageForRead())==null?void 0:a.getItem(c("MWEncryptedBackupsLocalStorageEntryEnum").ENCRYPTED_BACKUPS_REMEMBER_BROWSER_CONSENT);e=e?a!=null:!1;if(b("cr:6694")==null)return(h||(h=b("Promise"))).resolve();return j?(h||(h=b("Promise"))).resolve(b("cr:6694").clearEBIDBNonPersistedRows({hasUserGivenAutoRestoreConsent:e})):(h||(h=b("Promise"))).resolve(b("cr:6694").clearEBIDBNonPersistedRows({hasUserGivenAutoRestoreConsent:!1}))}g.logoutEBStateDB=a}),98);
__d("secretConversationsCleanupOnLogout",["FBLogger","Promise","cr:3570","cr:9037","useEBStateDBLogout"],(function(a,b,c,d,e,f,g){"use strict";var h,i=b("cr:9037")?b("cr:9037")==null?void 0:b("cr:9037").logout:function(){return(h||(h=b("Promise"))).resolve()},j=(e=b("cr:3570"))!=null?e:function(a){return(h||(h=b("Promise"))).resolve()};function a(a){return(h||(h=b("Promise"))).allSettled([i(),j(a),d("useEBStateDBLogout").logoutEBStateDB()]).then(function(a){a.forEach(function(a){a.status==="rejected"&&(a.reason!=null&&a.reason instanceof Error&&c("FBLogger")("messenger_web_account").catching(a.reason).mustfix("Caught error during logout, reason: %s",a.reason.message),c("FBLogger")("messenger_web_account").mustfix("Caught non-Error during logout, reason: %s",a.reason))})})}g["default"]=a}),98);
__d("traceProfileSwitchAndReload",["QPLUserFlow","QuickPerformanceLogger","qpl"],(function(a,b,c,d,e,f,g){"use strict";var h;function a(){(h||(h=c("QuickPerformanceLogger"))).markerStart(c("qpl")._(30606395,"1860")),c("QPLUserFlow").storeBeforeNavigation(c("qpl")._(30606395,"1860"))}g["default"]=a}),98);
__d("useCometProfileSwitchMutation_query.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"useCometProfileSwitchMutation_query",selections:[{args:null,kind:"FragmentSpread",name:"useProfileCometSwitcherCleanUpOnSwap_query"}],type:"Query",abstractKey:null};e.exports=a}),null);
__d("useProfileCometSwitcherCleanUpOnSwap_query.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"useProfileCometSwitcherCleanUpOnSwap_query",selections:[{alias:null,args:null,kind:"ScalarField",name:"logout_whitelist",storageKey:null}],type:"Query",abstractKey:null};e.exports=a}),null);
__d("useProfileCometSwitcherCleanUpOnSwap",["Actor","CometRelay","CurrentUser","profileCometSwitcherCleanup","react","useProfileCometSwitcherCleanUpOnSwap_query.graphql"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=(i||d("react")).useCallback;function a(a){var e=a.data,f=a.fromCDSSwitcher,g=f===void 0?!1:f;f=a.withPostSwitchLogging;var i=f===void 0?!0:f;a=d("CometRelay").useFragment(h!==void 0?h:h=b("useProfileCometSwitcherCleanUpOnSwap_query.graphql"),e);f=d("Actor").useActor();var k=f[0],l=a.logout_whitelist;return j(function(a,b){return c("profileCometSwitcherCleanup")(k,l,i?{fromCDSSwitcher:g,isSwitchingToMainProfile:a===c("CurrentUser").getAccountID(),origin:(a=b)!=null?a:"fallback",withPostSwitchLogging:!0}:{fromCDSSwitcher:g,isSwitchingToMainProfile:!1,origin:null,withPostSwitchLogging:!1})},[k,l,i,g])}g["default"]=a}),98);
__d("waitForCleanupWithTimeout",["FBLogger","Promise","asyncTimeout","promiseDone"],(function(a,b,c,d,e,f,g){"use strict";var h;function a(a,d){var e;e=(e=d.timeoutMs)!=null?e:3e3;c("promiseDone")((h||(h=b("Promise"))).race([a().then(function(){return!1}),c("asyncTimeout")(e).then(function(){return!0})]),function(a){a&&c("FBLogger")("ProfileSwitcher").warn("Timeout in the logout flow"),d.onDone()},function(a){c("FBLogger")("ProfileSwitcher").catching(a).mustfix("Error in the logout flow")})}g["default"]=a}),98);
__d("useCometProfileSwitchMutation",["fbt","CometRelay","CurrentUser","JSResourceForInteraction","ProfileSwitcherSplashScreenUtils","getTopMostRoute","goForceFullPageRedirectTo","profileSwitcherReloadCurrentPageAfterSwitch","promiseDone","useCometProfileSwitchMutation_query.graphql","useCometRouterState","useIsMountedRef","useProfileCometErrorDialog_DEPRECATED","useProfileCometSwitcherCleanUpOnSwap","waitForCleanupWithTimeout"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j=c("JSResourceForInteraction")("CometProfileSwitchMutation").__setRef("useCometProfileSwitchMutation");function a(a){var e=a.data,f=a.fromCDSSwitcher;f=f===void 0?!1:f;var g=a.onCompleted,k=a.onError;a=a.waitForCleanup;var l=a===void 0?!1:a;a=d("CometRelay").useFragment(i!==void 0?i:i=b("useCometProfileSwitchMutation_query.graphql"),e);var m=c("useProfileCometSwitcherCleanUpOnSwap")({data:a,fromCDSSwitcher:f});e=c("useCometRouterState")();var n=e?c("getTopMostRoute")(e).tracePolicy:"",o=c("useIsMountedRef")(),p=d("CometRelay").useRelayEnvironment();a=c("useProfileCometErrorDialog_DEPRECATED")(h._("__JHASH__81pQkvn9tiQ__JHASH__"));var q=a[0];return function(a,b,e,f){e==null?b.addMetadata("landing_trace_policy",String(n)):b.addMetadata("landing_url",e);b.addMetadata("target_profile_id",a);b.addAnnotationInt("is_switching_to_main_profile",a===c("CurrentUser").getAccountID()?2:1);var h=function(){if(e==null)c("profileSwitcherReloadCurrentPageAfterSwitch")();else{var a=d("ProfileSwitcherSplashScreenUtils").addSwitchingProfileParamIfNeededBypassContextPres(e);c("goForceFullPageRedirectTo")((a=a)!=null?a:e)}};c("promiseDone")(j.load().then(function(d){d=d.switchProfile;d(p,{profileId:a},{onCompleted:function(){o.current&&(g==null?void 0:g()),b.forceCompleteTrace(),l?c("promiseDone")(m(a,f).then(function(a){h()})):c("waitForCleanupWithTimeout")(function(){return m(a,f)},{onDone:function(){h()}})},onError:function(a){b.addMetadata("profile_switch_mutation_error",a.toString()),b.failTrace(a.toString(),!0),o.current&&(k==null?void 0:k()),q(a)}})}))}}g["default"]=a}),226);
__d("useCometProfileSwitchTracer",["Actor","getTopMostRoute","qpl","react","traceProfileSwitchAndReload","useCometInteractionTracing","useCometRouterState"],(function(a,b,c,d,e,f,g){"use strict";var h,i=(h||d("react")).useCallback;function a(a){var b=a.origin,e=b===void 0?"fallback":b,f=a.originatingSurface;b=d("Actor").useActor();var g=b[0];a=c("useCometRouterState")();var h=a?c("getTopMostRoute")(a).tracePolicy:"",j=c("useCometInteractionTracing")(c("qpl")._(30618615,"1201"),"responsive","INTERACTION");return i(function(a){c("traceProfileSwitchAndReload")(),j(function(b){var c;b.addMetadata("origin_trace_policy",String(h));b.addMetadata("originating_user_id",g);b.addMetadata("origin",e);b.addMetadata("originating_surface",(c=f)!=null?c:e);a(b)})},[g,e,f,h,j])}g["default"]=a}),98);/*FB_PKG_DELIM*/
__d("CometFeedSessionIDContext",["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("CometFeedStalenessConstants",["qex"],(function(a,b,c,d,e,f,g){"use strict";b=(a=c("qex")._("59"))!=null?a:600;d=b*1e3;e=10*60*1e3;g.FEED_STALE_TIMEOUT=d;g.BADGE_STALE_TIMEOUT=e}),98);
__d("CometFeedUnitStatusListPassiveContext",["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("CometNewsFeedVPVDStore_newsFeedEdge.graphql",[],(function(a,b,c,d,e,f){"use strict";a={kind:"InlineDataFragment",name:"CometNewsFeedVPVDStore_newsFeedEdge"};e.exports=a}),null);
__d("CometNewsFeedVPVDStore",["CircularBuffer","CometNewsFeedVPVDStore_newsFeedEdge.graphql","CometRelay","emptyFunction","react","uuidv4"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=i||(i=d("react")),k=i,l=k.useContext,m=k.useMemo,n=new Map();function a(a){a===void 0&&(a=0);var b=Array.from(n.entries()),c=0,d,e=!1;b.forEach(function(a,b){(!e&&a[1].start>=c||a[1].end==null)&&(c=a[1].start,d=b,e=e||a[1].end==null)});if(d==null)return[];if(a>0)a=Math.max(0,d-(a-1));else{a=d;for(var f=d-1;f>=0;f--){if(b[f][1].end!=null)break;a=f}}return b.slice(a,d+1).map(function(a){return a[0]})}function e(){n.clear()}k=function(){var a=new(c("CircularBuffer"))(50);return{readRecentVPVDs:function(){var b=a.read();a.clear();return b},writeRecentVPVD:function(b,e,f){var g=r(e);e=a.read().find(function(a){var b;a=a.vsid;return(g==null?void 0:(b=g.feed_backend_data)==null?void 0:b.vsid)===a});if(e)return;a.write({client_vpv_token:c("uuidv4")(),evt:"vpv",feed_backend_data_serialized_payloads:g==null?void 0:(e=g.feed_backend_data)==null?void 0:e.serialized_payloads,fetch_tracking:g==null?void 0:(e=g.feed_backend_data)==null?void 0:e.should_recent_vpv_fetch_tracking_data,original_qid:g==null?void 0:(e=g.feed_backend_data)==null?void 0:e.original_qid,qid:g==null?void 0:(e=g.feed_backend_data)==null?void 0:e.qid,timestamp:f,vsid:g==null?void 0:(e=g.feed_backend_data)==null?void 0:e.vsid,vspos:g==null?void 0:(f=g.feed_backend_data)==null?void 0:f.vspos});d("CometRelay").commitLocalUpdate(b,function(a){a=a.get((a=(a=g.node)==null?void 0:a.id)!=null?a:"");if(a==null)return;a.setValue(!0,"__has_been_seen")})}}};var o=j.createContext(),p=j.createContext([c("emptyFunction"),c("emptyFunction")]);function q(a){var b=a.children,c=a.environment,d=a.newsFeedEdge,e=l(o);a=m(function(){return[function(a){e&&e.writeRecentVPVD(c,d,a);a=(a=r(d).feed_backend_data)==null?void 0:a.vsid;a!=null&&n.set(a,{end:null,start:Date.now()})},function(a){a=(a=r(d).feed_backend_data)==null?void 0:a.vsid;a!=null&&n.set(a,{end:Date.now(),start:(a=(a=n.get(a))==null?void 0:a.start)!=null?a:Date.now()})}]},[c,d,e]);return j.jsx(p.Provider,{value:a,children:b})}q.displayName=q.name+" [from "+f.id+"]";function r(a){return d("CometRelay").readInlineData(h!==void 0?h:h=b("CometNewsFeedVPVDStore_newsFeedEdge.graphql"),a)}g.readVisibleViewstateIDs=a;g.resetVisibleViewstateIDs=e;g.createStore=k;g.StoreContext=o;g.LoggerContext=p;g.LoggerProvider=q}),98);
__d("MerlinUnifiedProtocolEventFalcoEvent",["FalcoLoggerInternal","getFalcoLogPolicy_DO_NOT_USE"],(function(a,b,c,d,e,f,g){"use strict";a=c("getFalcoLogPolicy_DO_NOT_USE")("1886750");b=d("FalcoLoggerInternal").create("merlin_unified_protocol_event",a);e=b;g["default"]=e}),98);
__d("FBMerlinImpressionManager",["$InternalEnum","MerlinUnifiedProtocolEventFalcoEvent","gkx"],(function(a,b,c,d,e,f,g){"use strict";var h="fb_unknown",i=new Set([78]),j=new Map([[78,"fb_search"],[0,"fb_newsfeed"]]),k=b("$InternalEnum").Mirrored(["Enter","Exit","Update"]),l={};function a(a){return a===0&&c("gkx")("22824")||m(a)?!0:!1}function d(a){return a===0&&c("gkx")("22825")}function m(a){return a==null?!1:i.has(a)}function e(a,b,c,d,e){a={itemId:c,status:k.Enter,time:a};n(a,d,e);a={itemId:c,status:k.Exit,time:b};n(a,d,e)}function n(a,b,c){var d=a.itemId,e=l[d];e==null&&(e={entries:[],itemId:d});l[d]=q(e,a);o(d)&&(p(d,b,c),delete l[d])}function o(a){if(l[a]==null)return!1;a=l[a].entries;if(a.length===0)return!1;a=a[a.length-1];return a.exit!==0}function p(a,b,d){if(l[a]==null)return;var e=l[a].entries.map(function(a){return{enter_ts:a.enter.toString(),exit_ts:a.exit.toString()}}),f=j.get(b);c("MerlinUnifiedProtocolEventFalcoEvent").log(function(){var b;return{element_visibility_absolute_ts:{min_visible_px:e},entity_id:a,origin:(b=f)!=null?b:h,payload:{placeholder_payload:(b=JSON.stringify(d))!=null?b:"{}"}}})}function q(a,b){var c={entries:[],itemId:b.itemId};switch(b.status){case k.Enter:c=r(a,b);break;case k.Exit:c=s(a,b);break;case k.Update:break}return c}function r(a,b){b={enter:b.time,exit:0};return babelHelpers["extends"]({},a,{entries:a.entries.concat(b)})}function s(a,b){var c=[].concat(a.entries),d=c[c.length-1];if(d==null)return a;if(d.enter!==0&&d.exit===0){d={enter:d.enter,exit:b.time};c[c.length-1]=d}return babelHelpers["extends"]({},a,{entries:c})}f={FBMerlinImpressionStatus:k,FBMerlinMergeVPVData:q,isMerlinVPVOnlySources:m,logWithEnterAndExitTimestamps:e,merlinShouldDoubleLog:d,merlinShouldLog:a};g["default"]=f}),98);
__d("WebVpvDurationFalcoEvent",["FalcoLoggerInternal","getFalcoLogPolicy_DO_NOT_USE"],(function(a,b,c,d,e,f,g){"use strict";a=c("getFalcoLogPolicy_DO_NOT_USE")("1837580");b=d("FalcoLoggerInternal").create("web_vpv_duration",a);e=b;g["default"]=e}),98);
__d("WebVpvEngagedViewDurationFalcoEvent",["FalcoLoggerInternal","getFalcoLogPolicy_DO_NOT_USE"],(function(a,b,c,d,e,f,g){"use strict";a=c("getFalcoLogPolicy_DO_NOT_USE")("6454");b=d("FalcoLoggerInternal").create("web_vpv_engaged_view_duration",a);e=b;g["default"]=e}),98);
__d("useCometFeedUnitGapInfo",["CometFeedUnitStatusListPassiveContext","react","recoverableViolation"],(function(a,b,c,d,e,f,g){"use strict";var h;b=h||d("react");b.useCallback;var i=b.useContext,j=b.useRef,k=b.c,l=function(a){return a==="SPONSORED"||a==="ENGAGEMENT"||a==="FIXED_POSITION"||a==="PROMOTION"};function a(){var a=k(4),b=j(null),d=i(c("CometFeedUnitStatusListPassiveContext")),e;a[0]!==d?(e=function(a){if(d==null)return null;if(a<0){c("recoverableViolation")("computeGapInfoForPosition called with invalid feed position "+a,"comet_feed");return null}var b=d(),e=b[a];if(e==null){b.length>0&&c("recoverableViolation")("feed position "+a+" does not exist in getFeedUnitStatusListPassive (length:"+b.length+")","comet_feed");return null}var f=e.category;if(!l(f))return null;e=e.minGapType;var g=-1,h=-1,i=-1,j=-1;for(var k=a-1;k>=0;k--){var m,n=a-k;m=(m=b[k])==null?void 0:m.category;bb25:switch(m){case"ENGAGEMENT":g=g===-1?n:g;break bb25;case"FIXED_POSITION":h=h===-1?n:h;break bb25;case"PROMOTION":i=i===-1?n:i;break bb25;case"SPONSORED":j=j===-1?n:j}if(g!==-1&&h!==-1&&i!==-1&&j!==-1)break}return{dist_to_engagement:g,dist_to_fixed:h,dist_to_promo:i,dist_to_sponsored:j,dist_to_top:a+1,min_gap_type:e,story_category:f}},a[0]=d,a[1]=e):e=a[1];var f=e;a[2]!==f?(e=function(a){var c=b.current;(a<0||c==null||c.dist_to_top!==a+1)&&(b.current=f(a));return b.current},a[2]=f,a[3]=e):e=a[3];return e}g["default"]=a}),98);
__d("useStoryVPVDLogger",["CometFeedSessionIDContext","CometInteractionSourceContext","CometNewsFeedVPVDStore","FBMerlinImpressionManager","Random","WebSession","WebVpvDurationFalcoEvent","WebVpvEngagedViewDurationFalcoEvent","gkx","react","requireDeferred","useCometFeedUnitGapInfo","useCurrentRoute","useMinifiedProductAttribution","useVPVDImpression"],(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,l=c("requireDeferred")("ODS").__setRef("useStoryVPVDLogger"),m=function(a,b,c){return babelHelpers["extends"]({csp:a.position,feed_session_id:c,is_agg:a.isAggregated,is_self:a.isSelfPost,logged_before:a.loggedBefore,nav_attribution_id_v2:a.aidv2,sid_raw:d("WebSession").getId(),source:a.source,source_override:a.source_override,story_height:a.story_height,story_width:a.story_width,vpvd_start_timestamp_ms:a.visibleTime,vpvd_time_delta_ms:a.hiddenTime-((c=a.visibleTime)!=null?c:0),xt:a.encrypted_tracking},b)},n=1e3;function a(a){var b=a.interactionSourceOverride,e=a.isAggregated,f=e===void 0?null:e;e=a.isSelfPost;var g=e===void 0?null:e;e=a.navChainOverride;e=e===void 0?null:e;var h=a.position,o=a.trackable,p=j(c("CometInteractionSourceContext")),q=j(c("CometFeedSessionIDContext")),r=c("useCometFeedUnitGapInfo")();a=c("useCurrentRoute")()||{};var s=a.tracePolicy,t=c("useMinifiedProductAttribution")()||"";e!=null&&(t=e);a=j(d("CometNewsFeedVPVDStore").LoggerContext);var u=a[0],v=a[1],w=k(null),x=k(null),y=k(!1);e=i(function(a){var b=a.entry;a=a.visibleTime;u(a);w.current=(a=b==null?void 0:(a=b.boundingClientRect)==null?void 0:a.height)!=null?a:null;x.current=(b=b==null?void 0:(a=b.boundingClientRect)==null?void 0:a.width)!=null?b:null},[u]);a=i(function(a){var e,i,j=a.hiddenTime;a=a.visibleTime;v(a);var k=(e=b)!=null?e:p;if(!c("FBMerlinImpressionManager").isMerlinVPVOnlySources(k)&&k===10){d("Random").coinflip(n)&&l.onReady(function(a){a.bumpEntityKey(3372,"comet.unknown_vpvd_tracepolicy",((a=s)!=null?a:"empty")+"_"+k,n)});return}e=w.current!=null?Math.round(w.current):null;var u=x.current!=null?Math.round(x.current):null,z=r(h),A=m({aidv2:t,encrypted_tracking:(i=o)!=null?i:"",hiddenTime:j,isAggregated:f,isSelfPost:g,loggedBefore:y.current,position:h,source:p,source_override:b,story_height:e,story_width:u,visibleTime:a},z,q.toString());y.current=!0;i=c("FBMerlinImpressionManager").merlinShouldLog(k);e=c("FBMerlinImpressionManager").isMerlinVPVOnlySources(k);u=!i&&!e;if(i){c("FBMerlinImpressionManager").logWithEnterAndExitTimestamps(a,j,(z=o)!=null?z:"",k,A)}c("gkx")("3924")&&A.vpvd_time_delta_ms>=2e3&&c("WebVpvEngagedViewDurationFalcoEvent").log(function(){return{client_viewstate_position:JSON.stringify(A.csp),json_data:JSON.stringify(A)}});u&&c("WebVpvDurationFalcoEvent").log(function(){return{client_viewstate_position:JSON.stringify(A.csp),json_data:JSON.stringify(A)}})},[v,b,p,r,h,t,o,f,g,q,s]);return c("useVPVDImpression")({onVPVDEnd:a,onVPVDStart:e})}g["default"]=a}),98);/*FB_PKG_DELIM*/
__d("BTManifestName",["$InternalEnum"],(function(a,b,c,d,e,f){a=b("$InternalEnum")({MAIN:"main",LONGTAIL:"longtail"});c=a;f["default"]=c}),66);
__d("BaseAccessibleElement_DEPRECATED.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.id;return i.jsx("span",{className:"xzpqnlu x1hyvwdk xjm9jq1 x6ikm8r x10wlt62 x10l6tqk x1i1rx1s","data-html2canvas-ignore":"true",id:a,children:b})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
__d("BtLongtailHashFalcoEvent",["FalcoLoggerInternal","getFalcoLogPolicy_DO_NOT_USE"],(function(a,b,c,d,e,f,g){"use strict";a=c("getFalcoLogPolicy_DO_NOT_USE")("5779");b=d("FalcoLoggerInternal").create("bt_longtail_hash",a);e=b;g["default"]=e}),98);
__d("CometBTManifestLoader",["BootloaderEvents","BtLongtailHashFalcoEvent","ClientConsistencyEventEmitter","FBLogger","ODS","Promise","SiteData","XHRRequest","asyncToGeneratorRuntime","err","promiseDone"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=new Set();function k(a,b,c,d){return l.apply(this,arguments)}function l(){l=b("asyncToGeneratorRuntime").asyncToGenerator(function*(a,d,e,f){var g=(yield new(i||(i=b("Promise")))(function(b,g){new(c("XHRRequest"))(a+"/btmanifest/"+e+"/"+d+"/"+f).setMethod("GET").setResponseHandler(function(a){return b(a.toString())}).setErrorHandler(function(a){return g(a)}).send()}));if(typeof g!=="string")throw c("FBLogger")("binary_transparency","bt_invalid_manifest_response").mustfixThrow("Invalid response from BT manifest endpoint");return g});return l.apply(this,arguments)}function m(a,b){(h||(h=d("ODS"))).bumpEntityKey(454,"obc.www.all","bt.comet_manifest_loader."+Number(d("SiteData").compose_bootloads)+"."+d("SiteData").pkg_cohort+"."+a+"."+b)}function n(a,b,d){var e;if(d instanceof Error)e=d;else if(typeof d==="object"){var f=JSON.stringify(d);e=c("err")("(XHRRequest): %s",f.slice(0,300)+(f.length>300?"...":""))}else e=c("err")(d);c("FBLogger")("binary_transparency","bt_download_manifest_error").catching(e).mustfix('Unable to download and inject BT manifest "%s" for version: %s',b,a)}function o(a,b){return p.apply(this,arguments)}function p(){p=b("asyncToGeneratorRuntime").asyncToGenerator(function*(a,b){if(!d("SiteData").manifest_origin||d("SiteData").manifest_version_prefix==null||d("SiteData").manifest_base_uri==null)return;var c=a+"_"+b;a=""+d("SiteData").manifest_version_prefix+a;if(j.has(c))return;m(b,"start");j.add(c);try{var e,f=document.createElement("script");f.innerText=(yield k(d("SiteData").manifest_base_uri,d("SiteData").manifest_origin,a,b));f.type="application/json";f.setAttribute("name","binary-transparency-manifest");f.dataset.manifestRev=a;f.dataset.manifestType=b;(e=document.head)==null?void 0:e.appendChild(f);m(b,"complete")}catch(d){m(b,"failed"),n(a,b,d),j["delete"](c)}});return p.apply(this,arguments)}function a(){c("promiseDone")(o(d("SiteData").client_revision,"main")),d("BootloaderEvents").onResourceInLongTailBTManifest(function(a){c("promiseDone")(o(d("SiteData").client_revision,"longtail")),a.hashes.forEach(function(b){c("BtLongtailHashFalcoEvent").log(function(){return{client_revision:String(d("SiteData").client_revision),compose_bootloads:d("SiteData").compose_bootloads,ef_page:d("SiteData").ef_page||"",hash:b,pkg_cohort:d("SiteData").pkg_cohort,reference:a.source,rls_id:d("SiteData").hsi}})})}),c("ClientConsistencyEventEmitter").addListener("newRevision",function(a){c("promiseDone")(o(a,"main")),c("promiseDone")(o(a,"longtail"))})}g.init=a}),98);
__d("CometEntityHeaderFacepileProfileIcon.react",["BaseImage.react","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||d("react"),j={image:{borderTopColor:"xsdn2ir",borderEndColor:"x16rfsbj",borderBottomColor:"x13awxeq",borderStartColor:"x16sykr7",borderTopStartRadius:"x14yjl9h",borderTopEndRadius:"xudhj91",borderBottomEndRadius:"x18nykt9",borderBottomStartRadius:"xww2gxu",borderTopStyle:"x13fuv20",borderEndStyle:"xu3j5b3",borderBottomStyle:"x1q0q8m5",borderStartStyle:"x26u7qi",borderTopWidth:"xamhcws",borderEndWidth:"xol2nv",borderBottomWidth:"xlxy82",borderStartWidth:"x19p7ews",display:"x1lliihq",$$css:!0}};function a(a){var b=a.alt,d=a.size;d=d===void 0?32:d;a=a.src;return i.jsx("div",{className:"x1rg5ohu",children:i.jsx(c("BaseImage.react"),{alt:b,height:d,src:a,width:d,xstyle:j.image})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
__d("CometEntityHeaderFacepile.react",["fbt","CometEntityHeaderFacepileProfileIcon.react","CometLink.react","FDSTooltip.react","react","stylex"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j,k=j||d("react"),l=8,m={facepile:{display:"x1rg5ohu",$$css:!0},left:{marginStart:"xbmpl8g",$$css:!0}};function a(a){a=a.profiles;var b=a;a.length>l&&(b=a.slice(0,l));a=b.map(function(a,b){var d=a.name,e=a.pictureURI,f=a.profileURL;a=a.size;return k.jsx("div",{className:(i||(i=c("stylex")))(m.facepile,b>0&&m.left),style:{zIndex:b},children:k.jsx(c("FDSTooltip.react"),{align:"middle",position:"below",tooltip:h._("__JHASH__cIw3E4_ka0G__JHASH__",[h._param("user's name",d)]),children:k.jsx(c("CometLink.react"),{href:f,children:k.jsx(c("CometEntityHeaderFacepileProfileIcon.react"),{alt:d,size:a,src:e})},b)})},b)});return k.jsx("div",{children:a})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),226);
__d("CometRecordProductUsageMutationMutation_facebookRelayOperation",[],(function(a,b,c,d,e,f){e.exports="6318727871580191"}),null);
__d("CometRecordProductUsageMutationMutation.graphql",["CometRecordProductUsageMutationMutation_facebookRelayOperation"],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{defaultValue:null,kind:"LocalArgument",name:"productID"},{defaultValue:null,kind:"LocalArgument",name:"productIdentifier"}],c=[{kind:"Literal",name:"app_id",value:2220391788200892},{kind:"Variable",name:"product_id",variableName:"productID"},{kind:"Variable",name:"product_identifier",variableName:"productIdentifier"}],d={alias:null,args:null,kind:"ScalarField",name:"product_identifier",storageKey:null},e={alias:null,args:null,kind:"ScalarField",name:"last_used_time",storageKey:null};return{fragment:{argumentDefinitions:a,kind:"Fragment",metadata:null,name:"CometRecordProductUsageMutationMutation",selections:[{alias:null,args:c,concreteType:"ProductUsageRecord",kind:"LinkedField",name:"update_last_used_time_for_product",plural:!1,selections:[d,e],storageKey:null}],type:"Mutation",abstractKey:null},kind:"Request",operation:{argumentDefinitions:a,kind:"Operation",name:"CometRecordProductUsageMutationMutation",selections:[{alias:null,args:c,concreteType:"ProductUsageRecord",kind:"LinkedField",name:"update_last_used_time_for_product",plural:!1,selections:[d,e,{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null}],storageKey:null}]},params:{id:b("CometRecordProductUsageMutationMutation_facebookRelayOperation"),metadata:{},name:"CometRecordProductUsageMutationMutation",operationKind:"mutation",text:null}}}();e.exports=a}),null);
__d("CometRecordProductUsageMutation",["CometRecordProductUsageMutationMutation.graphql","CometRelay","CometRelayErrorHandling","JSScheduler"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=h!==void 0?h:h=b("CometRecordProductUsageMutationMutation.graphql");function a(a,b,e){(i||(i=c("JSScheduler"))).scheduleLoggingPriCallback(function(){d("CometRelay").commitMutation(a,{mutation:j,onError:function(a){d("CometRelayErrorHandling").markErrorAsHandled(a)},variables:{productID:e,productIdentifier:b}})})}e={updateProductUsage:a};f=e;g["default"]=f}),98);
__d("CometToastCard.react",["fbt","ix","CometAccessibilityAnnouncement.react","CometCard.react","CometPressable.react","FDSIcon.react","FDSTextPairing.react","fbicon","react"],(function(a,b,c,d,e,f,g,h,i){"use strict";var j,k=j||(j=d("react")),l=j.useId;function a(a){var b=a.accessibilityAnnouncement,e=a.content,f=a.headline,g=a.onCloseClick;a=a.onMouseEnter;var j=l();return k.jsx(c("CometCard.react"),{background:"white",dropShadow:2,children:k.jsxs("div",{"aria-labelledby":j,className:"x1lq5wgf xgqcy7u x30kzoy x9jhf4c xh5kl08 x9f619 x78zum5 xdt5ytf x6prxxf xi55695",onMouseEnter:a,role:"complementary",children:[k.jsx("div",{className:"x14vqqas",children:k.jsxs("div",{className:"x6s0dn4 x78zum5 x1qughib xexx8yu x1pi30zi x18d9i69 x1swvt13",children:[k.jsx("div",{id:j,children:k.jsx(c("FDSTextPairing.react"),{headline:f,isSemanticHeading:!0,level:4})}),k.jsx(c("CometPressable.react"),{display:"inline",label:h._("__JHASH__tnRfHlva-bL__JHASH__"),onPress:g,overlayDisabled:!0,children:k.jsx("span",{className:"x6s0dn4 x1qhmfi1 xnwf7zb x40j3uw x1s7lred x15gyhx8 x78zum5 xxk0z11 xl56j7k xvy4d1p",children:k.jsx(c("FDSIcon.react"),{color:"primary",icon:d("fbicon")._(i("478231"),12),size:12})})})]})}),k.jsx("div",{className:"x1sqdly8 xwib8y2 x1iorvi4",children:e}),b!=null&&k.jsx(c("CometAccessibilityAnnouncement.react"),{children:b.text},b.id)]})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),226);
__d("ServiceWorkerCacheManagement",["regeneratorRuntime"],(function(a,b,c,d,e,f){function a(){return b("regeneratorRuntime").async(function(a){while(1)switch(a.prev=a.next){case 0:if(!("caches"in self)){a.next=3;break}a.next=3;return b("regeneratorRuntime").awrap(caches["delete"]("sr-cache-1"));case 3:case"end":return a.stop()}},null,this)}f.manageCache=a}),66);
__d("logCometWatchTabSelectedEvent",["VideoHomeTypedLiteLogger"],(function(a,b,c,d,e,f,g){"use strict";function a(a,b,d){c("VideoHomeTypedLiteLogger").log({click_point:a,entry_point_type:d,event:"video_tab_selected",event_target:"watch_home_www",tab_selection_type:"user_initiated_click",was_badged:b})}g["default"]=a}),98);/*FB_PKG_DELIM*/
__d("BizKitScopingContext",["emptyFunction","react"],(function(a,b,c,d,e,f,g){"use strict";var h;a=h||d("react");b=a.createContext({assets:[],globalScope:null,setAssets:c("emptyFunction"),setGlobalScope:c("emptyFunction")});g["default"]=b}),98);
__d("BusinessAssetTypeEnum.facebook",["$InternalEnum"],(function(a,b,c,d,e,f){a=b("$InternalEnum").Mirrored(["ADS_EVENT_SOURCE","ADVANCED_ANALYTICS_INSTANCE","AD_ACCOUNT","AD_ACCOUNT_CREATION_REQUEST","AD_DRAFT_WORKSPACE","AD_IMAGE","AD_STUDY","APP","BANK","BLOCK_LIST","BRAND","BUSINESS_CREATIVE_ASSET","BUSINESS_CREATIVE_FOLDER","BUSINESS_FRANCHISE_CONFIG","BUSINESS_IMAGE","BUSINESS_LOCATIONS_WRAPPER","BUSINESS_LOYALTY_PROGRAM","BUSINESS_PAYOUT_ACCOUNT","BUSINESS_PERSON","BUSINESS_REQUEST","BUSINESS_RESOURCE_GROUP","BUSINESS_UNIT","BUSINESS_VIDEO","CAIPT_ASSET","CLOUD_PLAYABLE_ASSET","CONTENT_BLOCK_LIST","CREATOR_MARKETPLACE_BRAND_PROFILE","CREATOR_SELLER_PROFILE","CREDENTIAL_SHARE_REQUEST","CREDIT_CARD","CREDIT_PARTITION","CREDIT_PARTITION_CONFIG","CUSTOM_AUDIENCE","CUSTOM_CONVERSION","DYNAMIC_CONTENT_SET","EVENTS_DATASET","EVENTS_DATASET_NEW","EVENT_SOURCE_GROUP","EXAMPLE_CAT","FINANCE","FUNDING_SOURCE","GRP_PLAN","HOTEL_PRICE_FETCHER_PULL_CONFIG","INSTAGRAM_ACCOUNT","INSTAGRAM_ACCOUNT_V2","INSTAGRAM_BUSINESS_ASSET","IP","LEADS_ACCESS","LEGACY_LOGIN","LEGAL_ENTITY","MESSAGING_DATASET","MONETIZATION_PROPERTY","MV4B_BILLABLE_ACCOUNT","NEWS_PAGE","NME_BUSINESS_SUBSCRIPTION_ASSET","OFFLINE_CONVERSION_DATA_SET","OFFSITE_EMAIL_ACCOUNT","OWNED_DOMAIN","PAGE","PAGE_FOR_LOCATIONS","PAYOUT_ACCOUNT","PHOTO","PIXEL","PLACE_PAGE_SET","PLATFORM_CUSTOM_AUDIENCE","PRODUCT_CATALOG","PROFILE_PLUS","PROJECT","PUBLISHER_WHITE_LIST","RECEIPT","REGISTERED_TRADEMARK","RESELLER_VETTING_OE_REQUEST","SAVED_AUDIENCE","SELLER_PROFILE","SIGNALS_EVENT_NAME","SIGNAL_SEGMENT","SLICED_EVENT_SOURCE_GROUP","SPACO_DS_DATA_COLLECTION","SYSTEM_USER","UNKNOWN","USER","VIDEO_ASSET","WHATSAPP_BUSINESS_ACCOUNT"]);c=a;f["default"]=c}),66);
__d("LSDatabaseProviderType",[],(function(a,b,c,d,e,f){"use strict";function a(a){return g(a.persistenceTypes)}function g(a){return a.includes("indexeddb")}f.isProviderPersisted=a;f.hasPersistentType=g}),66);
__d("LSGetBlobFromInt64BE.nop",["I64","LSResult","Promise"],(function(a,b,c,d,e,f,g){"use strict";var h,i;a=function(a,e,f){var g=new Uint8Array(8);g.reduceRight(function(a,b,c){b=(i||(i=d("I64"))).to_int32(i.mod_(a,i.of_string("256")));g[c]=b;return i.div(a,i.of_string("256"))},f);return(h||(h=b("Promise"))).resolve(c("LSResult")(g.buffer))};g["default"]=a}),98);
__d("OrderPreservingEncryption",["FBLogger","LSCryptoUtils","Promise","UInt8Array","XPlatReactCrypto"],(function(a,b,c,d,e,f,g){"use strict";var h;function a(){return d("XPlatReactCrypto").getRandomValues(new Uint8Array(32)).buffer}function i(a){var b=a.length;return b%2!==0?"0"+a:a}function j(a){a=BigInt(a);var b=i(a.toString(16));a=b.length;a=a/2;var c=[];for(var d=0;d<a;++d)c.push(d*2);return new Uint8Array(c.map(function(a){var c=a+2;return b.slice(a,c)}).map(function(a){return parseInt(a,16)}))}function k(a){a=a.map(function(a){return a._0});return{_0:d("UInt8Array").concatBytes(a)}}function l(a){return"OPE key has length "+String(a)+", expected  "+String(32)}function m(a,b,c){return d("XPlatReactCrypto").subtleImportKey("raw",a.buffer,"HKDF",!1,["deriveKey","deriveBits"]).then(function(a){var e=new ArrayBuffer(0);return d("XPlatReactCrypto").subtleDeriveBits({hash:"SHA-256",info:b.buffer,name:"HKDF",salt:e},a,c*8)}).then(function(a){return{_0:d("LSCryptoUtils").bufToUint8(a)}})}function n(a,b){return{_0:d("LSCryptoUtils").modAddBytes(a._0,b)}}function o(a,e,f,g){var i=f.byteLength;if(i!==32)throw c("FBLogger")("labyrinth_web").mustfixThrow(l(i));var j=g.byteLength,o=function(a,b){var c=new Uint8Array(1+j),d=new Uint8Array(j-b).fill(0);c.set([b]);c.set(a.subarray(0,b),1);c.set(d,b+1);return c};if(j>=255)throw c("FBLogger")("labyrinth_web").mustfixThrow("Input is too large");return(h||(h=b("Promise"))).all(Array.from(g).map(function(b,c){c=o(g,c);var e=new Uint8Array(a);e[a-1]=b;b=d("LSCryptoUtils").bufToUint8(f);return m(b,c,a).then(function(a){return n(a,e)})})).then(function(a){return d("UInt8Array").concatBytes([new Uint8Array([e]),k(a)._0])})}function e(a,b,c,d){d=j(d);return o(a,b,c,d)}g.keyGen=a;g.intStringToBEBytes=j;g.buildKeyLengthErrorMsg=l;g.encryptBigEndianBytes=o;g.encryptIntString=e}),98);
__d("LSOpeEncrypt.nop",["CryptoLogger","I64","LSResult","OrderPreservingEncryption","Promise"],(function(a,b,c,d,e,f,g){"use strict";var h,i;a=function(a,e,f,g,j){var k=d("CryptoLogger").CryptoLogger("ope_encrypt");return d("OrderPreservingEncryption").encryptBigEndianBytes((i||(i=d("I64"))).to_int32(j),1,f,new Uint8Array(g)).then(function(a){return(h||(h=b("Promise"))).resolve(c("LSResult")(a.buffer))})["catch"](function(a){d("CryptoLogger").captureError(k,a).mustfix("OpeEncrypt_impl failed");throw a})};g["default"]=a}),98);
__d("LSTruncateSortKey.nop",["CryptoLogger","LSResult","Promise"],(function(a,b,c,d,e,f,g){"use strict";var h,i=d("CryptoLogger").CryptoLogger("truncate_sort_key");a=function(a,d,e){if(e.byteLength!==8)throw i.mustfixThrow("Bad length on sort key for truncation");a=new Uint8Array(e);d=a.subarray(0,2);if(d.some(function(a){return a!==0}))throw i.mustfixThrow("Bad prefix on sort key for truncation");return(h||(h=b("Promise"))).resolve(c("LSResult")(e.slice(2)))};g["default"]=a}),98);
__d("RTWebCometIncomingUnsupportedDialogNameQuery_facebookRelayOperation",[],(function(a,b,c,d,e,f){e.exports="7125909224150321"}),null);
__d("RTWebCometIncomingUnsupportedDialogNameQuery$Parameters",["RTWebCometIncomingUnsupportedDialogNameQuery_facebookRelayOperation"],(function(a,b,c,d,e,f){"use strict";a={kind:"PreloadableConcreteRequest",params:{id:b("RTWebCometIncomingUnsupportedDialogNameQuery_facebookRelayOperation"),metadata:{},name:"RTWebCometIncomingUnsupportedDialogNameQuery",operationKind:"query",text:null}};e.exports=a}),null);
__d("RTWebCometIncomingUnsupportedDialog.entrypoint",["JSResourceForInteraction","RTWebCometIncomingUnsupportedDialogNameQuery$Parameters"],(function(a,b,c,d,e,f,g){"use strict";a={getPreloadProps:function(a){a=a.id;return{queries:{queryReference:{parameters:b("RTWebCometIncomingUnsupportedDialogNameQuery$Parameters"),variables:{id:a}}}}},root:c("JSResourceForInteraction")("RTWebCometIncomingUnsupportedDialog.react").__setRef("RTWebCometIncomingUnsupportedDialog.entrypoint")};g["default"]=a}),98);
__d("RTWebDropInUtils",["FBLogger"],(function(a,b,c,d,e,f,g){"use strict";var h="drop_in_metadata";a=function(a){var b;return b={},b[h]=JSON.stringify({is_drop_in:a?"1":"0"}),b};b=function(a){a=i(a);a=a.isDropIn;return a};var i=function(a){a=a==null?void 0:a[h];if(a!=null)try{a=JSON.parse(a);return{isDropIn:a.is_drop_in==="1"}}catch(a){c("FBLogger")("rtc_www").catching(a).warn("Failed to parse drop_in_metadata app message");return{isDropIn:!1}}return{isDropIn:!1}};g.getDropInAppMessages=a;g.isDropInFromAppMessages=b}),98);
__d("RTWebUnsupportedUpsellDialogWrapper.react",["CometPlaceholder.react","RTWebCometIncomingUnsupportedDialog.entrypoint","RelayHooks","react","useCometRelayEntrypointContextualEnvironmentProvider"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||d("react");function a(a){var b=a.inviterID,e=a.onClose;a=a.threadType;var f=c("useCometRelayEntrypointContextualEnvironmentProvider")();f=d("RelayHooks").loadEntryPoint(f,c("RTWebCometIncomingUnsupportedDialog.entrypoint"),{id:b});return i.jsx(c("CometPlaceholder.react"),{fallback:null,children:i.jsx(d("RelayHooks").EntryPointContainer,{entryPointReference:f,props:{onClose:e,threadType:a}})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
__d("XCometGamingVanityControllerRouteBuilder",["jsRouteBuilder"],(function(a,b,c,d,e,f,g){a=c("jsRouteBuilder")("/gaming/{vanity}/",Object.freeze({}),void 0);b=a;g["default"]=b}),98);
__d("chunkArray",[],(function(a,b,c,d,e,f){"use strict";function a(a,b){var c=[],d=0;while(a.length>d)c.push(a.slice(d,d+b)),d+=b;return c}f["default"]=a}),66);
__d("getAssetsByType",[],(function(a,b,c,d,e,f){"use strict";function a(a){return{adAccount:a.filter(function(a){return a.type==="AD_ACCOUNT"}),appAccount:a.filter(function(a){return a.type==="APP"}),igAccount:a.filter(function(a){return a.type==="INSTAGRAM_ACCOUNT_V2"}),pageAccount:a.filter(function(a){return a.type==="PAGE"}),wabAccount:a.filter(function(a){return a.type==="WHATSAPP_BUSINESS_ACCOUNT"})}}f["default"]=a}),66);
__d("getFirstAssetOfType",[],(function(a,b,c,d,e,f){"use strict";function a(a,b){return a.find(function(a){return a.type===b})}f["default"]=a}),66);
__d("personalGlobalScope",["CurrentUser"],(function(a,b,c,d,e,f,g){"use strict";a={id:c("CurrentUser").getAccountID(),type:"PERSONAL"};g.personalGlobalScope=a}),98);
__d("useBizKitSelectedAssets",["BizKitScopingContext","getAssetsByType","getFirstAssetOfType","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=(h||d("react")).useContext;function a(){var a=i(c("BizKitScopingContext")),b=a.assets,d=a.setAssets;a=(a=(a=c("getFirstAssetOfType")(b,"PAGE"))!=null?a:b[0])!=null?a:null;return{assetID:a==null?void 0:a.id,assets:b,assetsByType:c("getAssetsByType")(b),assetType:a==null?void 0:a.type,setAssets:d,setSelectedLinkedAsset:function(a){d(a.assets)}}}g["default"]=a}),98);
__d("useGlobalScope",["BizKitScopingContext","personalGlobalScope","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=(h||d("react")).useContext;function a(){var a=i(c("BizKitScopingContext"));a=a.globalScope;return(a=a)!=null?a:d("personalGlobalScope").personalGlobalScope}g["default"]=a}),98);
__d("useMWChatOpenTabCount",["MWChatStateContext","MWChatStateV2TabGroups","useMWChatStateV2MaxTabCount","useMWIsTopLevelRouteMediaViewerExperiment"],(function(a,b,c,d,e,f,g){"use strict";function a(){var a=d("MWChatStateContext").useChatState(function(a){return[a.tabs,a.focusedTabId,a.mediaViewerOpenWatermark]}),b=a[0],e=a[1];a=a[2];var f=c("useMWIsTopLevelRouteMediaViewerExperiment")(),g=c("useMWChatStateV2MaxTabCount")(f);f=f?a:void 0;a=d("MWChatStateV2TabGroups").getTabGroups(f,b,e,g);f=a.openTabs;return f.length}g["default"]=a}),98);/*FB_PKG_DELIM*/
__d("ClientServiceWorkerMessage",[],(function(a,b,c,d,e,f){a=function(){function a(a,b,c){this.$1=a,this.$2=b,this.$3=c}var b=a.prototype;b.sendViaController=function(){if(!navigator.serviceWorker||!navigator.serviceWorker.controller)return;var a=new self.MessageChannel();this.$3&&(a.port1.onmessage=this.$3);navigator.serviceWorker.controller.postMessage({command:this.$1,data:this.$2},[a.port2])};return a}();f["default"]=a}),66);
__d("CometLoggedInAccountSwitcherRemoveAccountMutation_facebookRelayOperation",[],(function(a,b,c,d,e,f){e.exports="5005921456113509"}),null);
__d("CometLoggedInAccountSwitcherRemoveAccountMutation.graphql",["CometLoggedInAccountSwitcherRemoveAccountMutation_facebookRelayOperation"],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{defaultValue:null,kind:"LocalArgument",name:"id"},{defaultValue:null,kind:"LocalArgument",name:"nonce"}],c=[{alias:null,args:[{kind:"Variable",name:"account_id",variableName:"id"},{kind:"Variable",name:"nonce",variableName:"nonce"}],concreteType:"RemoveAccountFromLoggedInAccountSwitcherResponsePayload",kind:"LinkedField",name:"remove_account_from_logged_in_account_switcher",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null}],storageKey:null}];return{fragment:{argumentDefinitions:a,kind:"Fragment",metadata:null,name:"CometLoggedInAccountSwitcherRemoveAccountMutation",selections:c,type:"Mutation",abstractKey:null},kind:"Request",operation:{argumentDefinitions:a,kind:"Operation",name:"CometLoggedInAccountSwitcherRemoveAccountMutation",selections:c},params:{id:b("CometLoggedInAccountSwitcherRemoveAccountMutation_facebookRelayOperation"),metadata:{},name:"CometLoggedInAccountSwitcherRemoveAccountMutation",operationKind:"mutation",text:null}}}();e.exports=a}),null);
__d("CometLoggedInAccountSwitcherRemoveAccountMutation",["CometLoggedInAccountSwitcherRemoveAccountMutation.graphql","CometRelay"],(function(a,b,c,d,e,f,g){"use strict";var h;function a(a,c){var e=c.id;c=c.nonce;function f(a){a=a.getRoot().getLinkedRecord("viewer");if(a==null)return;var b=a.getLinkedRecords("device_switchable_accounts");if(b==null)return;b=b.filter(function(a){if(a==null)return a;var b=a.getLinkedRecord("user");return b==null?a:b.getValue("id")!==e});a.setLinkedRecords(b,"device_switchable_accounts");b=b.find(function(a){if(a==null)return!1;a=a.getValue("unread_notification_count");return typeof a!=="number"?!1:a>0});a.setValue(Boolean(b),"device_switchable_account_has_notification")}return d("CometRelay").commitMutation(a,{mutation:h!==void 0?h:h=b("CometLoggedInAccountSwitcherRemoveAccountMutation.graphql"),optimisticUpdater:f,updater:f,variables:{id:e,nonce:c}})}g.commit=a}),98);
__d("CometLogoutHandlerQuery.graphql",["relay-runtime"],(function(a,b,c,d,e,f){"use strict";a=function(){var a={alias:null,args:null,kind:"ScalarField",name:"logout_whitelist",storageKey:null},b={alias:null,args:null,kind:"ScalarField",name:"logout_hash",storageKey:null},c={alias:null,args:null,kind:"ScalarField",name:"has_confirmed_contactpoints",storageKey:null},d={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},e=[d],f={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null};return{fragment:{argumentDefinitions:[],kind:"Fragment",metadata:null,name:"CometLogoutHandlerQuery",selections:[a,{alias:null,args:null,concreteType:"Viewer",kind:"LinkedField",name:"viewer",plural:!1,selections:[b,{alias:null,args:null,concreteType:"User",kind:"LinkedField",name:"account_user",plural:!1,selections:[c,{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"pending_contactpoints",plural:!0,selections:[{kind:"InlineFragment",selections:e,type:"PendingEmail",abstractKey:null},{kind:"InlineFragment",selections:e,type:"Phone",abstractKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:[],kind:"Operation",name:"CometLogoutHandlerQuery",selections:[a,{alias:null,args:null,concreteType:"Viewer",kind:"LinkedField",name:"viewer",plural:!1,selections:[b,{alias:null,args:null,concreteType:"User",kind:"LinkedField",name:"account_user",plural:!1,selections:[c,{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"pending_contactpoints",plural:!0,selections:[d,{kind:"InlineFragment",selections:[f],type:"Node",abstractKey:"__isNode"}],storageKey:null},f],storageKey:null}],storageKey:null}]},params:{id:"6357112071041262",metadata:{},name:"CometLogoutHandlerQuery",operationKind:"query",text:null}}}();b("relay-runtime").PreloadableQueryRegistry.set(a.params.id,a);e.exports=a}),null);
__d("ServiceWorkerLoginAndLogout",["ClientServiceWorkerMessage"],(function(a,b,c,d,e,f){function g(a){new(b("ClientServiceWorkerMessage"))(a,null).sendViaController()}a={login:function(){g("login")},logout:function(){g("logout")}};c=a;f["default"]=c}),66);
__d("StringTransformations",[],(function(a,b,c,d,e,f){"use strict";a={unicodeEscape:function(a){return a.replace(/[^A-Za-z0-9\-\.\:\_\$\/\+\=]/g,function(a){a=a.charCodeAt(0).toString(16);return"\\u"+("0000"+a.toUpperCase()).slice(-4)})},unicodeUnescape:function(a){return a.replace(/(\\u[0-9A-Fa-f]{4})/g,function(a){return String.fromCharCode(parseInt(a.slice(2),16))})}};f["default"]=a}),66);
__d("WebStorageMonster",["AsyncRequest","CacheStorage","Event","ExecutionEnvironment","NetworkStatus","StringTransformations","UserActivity","WebStorage","WebStorageCleanupReason","WebStorageMonsterLoggingURI","ifRequired","isEmpty","killswitch","setTimeoutAcrossTransitions"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j,k=1e4,l=5,m=!1;function n(a){var b={};for(var d in a){var e=a.getItem(d),f=c("StringTransformations").unicodeEscape(d);typeof e==="string"&&(b[f]=e.length)}return b}function o(a){var b=(h||(h=c("WebStorage"))).getLocalStorage();if(!b||a==null||!a.keys)return;r._getLocalStorageKeys().forEach(function(c){a.keys.includes(c)&&b.removeItem(c)})}function p(a){var b=(h||(h=c("WebStorage"))).getLocalStorage();b&&r._getLocalStorageKeys().forEach(function(c){a.some(function(a){return new RegExp(a).test(c)})||b.removeItem(c)})}function q(a,b){a===void 0&&(a=!1);b===void 0&&(b=k);if(c("UserActivity").isActive(b)){var d=Math.max(k,Math.floor(b/l));c("setTimeoutAcrossTransitions")(function(){q(a,d)},d)}else{r.cleanNow(a);var e=!c("killswitch")("WEB_STORAGE_MONSTER_DONT_RESCHEDULE_ON_RUN");if(e){var f=b*l;c("setTimeoutAcrossTransitions")(function(){q(a,f)},f)}}}var r={_getLocalStorageKeys:function(){var a=(h||(h=c("WebStorage"))).getLocalStorage();return a?Object.keys(a):[]},cleanNow:function(a){a===void 0&&(a=!1);var b=Date.now(),d={},e=(h||(h=c("WebStorage"))).getLocalStorage();e&&(d.local_storage=n(e));e=h.getSessionStorage();e&&(d.session_storage=n(e));e=!(i||(i=c("isEmpty")))(d);var f=Date.now();d.logtime=f-b;if(e){var g,j=c("WebStorageMonsterLoggingURI").uri;if(j===null)return null;var k=function(){new(c("AsyncRequest"))(j).setData(d).setHandler(function(b){b=b.getPayload();b&&b.keys&&(b.keys=b.keys.map(c("StringTransformations").unicodeUnescape));a||o(b);c("NetworkStatus").reportSuccess()}).setErrorHandler(function(){c("NetworkStatus").reportError()}).setOption("retries",2).send()};if(c("NetworkStatus").isOnline())k();else{f=function(a){a=a.online;a&&(k(),g.remove())};g=c("NetworkStatus").onChange(f)}}},cleanOnLogout:function(a,b){d("WebStorageCleanupReason").setLastCleanupReason(b);c("CacheStorage").disablePersistentWrites();c("ifRequired")("WebAsyncStorage",function(a){a.disablePersistentWrites()});a?p(a):p([]);b=(h||(h=c("WebStorage"))).getSessionStorage();b&&b.clear();c("ifRequired")("WebAsyncStorage",function(a){a.clear(function(){})})},registerLogoutForm:function(a,b){c("Event").listen(a,"submit",function(a){r.cleanOnLogout(b,"WebStorageMonster.registerLogoutForm")})},schedule:function(a){a===void 0&&(a=!1);if(m||!(j||(j=c("ExecutionEnvironment"))).isInBrowser)return;m=!0;q(a)}};a=r;g["default"]=a}),98);
__d("XLogoutControllerRouteBuilder",["jsRouteBuilder"],(function(a,b,c,d,e,f,g){a=c("jsRouteBuilder")("/logout.php",Object.freeze({}),void 0);b=a;g["default"]=b}),98);
__d("useCometLogoutWithPendingContactpointConfirmationDialog.react",["fbt","react","useCometConfirmationDialog"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j=(i||d("react")).useCallback;function a(a,b){var d=c("useCometConfirmationDialog")(),e=j(function(){var c=h._("__JHASH__lPjCLZdezcS__JHASH__"),e=a==="PhoneNumber"?h._("__JHASH__ujdNv1mlfSu__JHASH__"):h._("__JHASH__endzVwze90P__JHASH__"),f=h._("__JHASH__X_pdL0YEHSk__JHASH__"),g=h._("__JHASH__TkZ1VoGTY9e__JHASH__");d({body:e,cancel:f,confirm:g,title:c},b)},[a,b,d]);return a==="PendingEmail"||a==="PhoneNumber"?e:null}g["default"]=a}),226);
__d("CometLogoutHandler.react",["Banzai","CometLogoutHandlerQuery.graphql","CometRelay","CometVisualCompletionAttributes","ServiceWorkerLoginAndLogout","WebStorageMonster","XLogoutControllerRouteBuilder","react","recoverableViolation","useCometLogoutWithPendingContactpointConfirmationDialog.react"],(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.useImperativeHandle,n=e.useRef;e=j.forwardRef(a);function a(a,e){var f,g,i=a.shouldInitiateLogout,o=n(!1);a=d("CometRelay").useLazyLoadQuery(h!==void 0?h:h=b("CometLogoutHandlerQuery.graphql"),{});var p=a.logout_whitelist;a=a.viewer;var q=n(),r=k(function(){if(o.current)return;o.current=!0;var a=q.current;if(a==null){c("recoverableViolation")("Unable to get logout form ref to submit","comet_ui");return}c("WebStorageMonster").cleanOnLogout(p,"CometLogoutHandler");c("ServiceWorkerLoginAndLogout").logout();c("Banzai").flush();a.submit()},[q,p]);f=a==null?void 0:(f=a.account_user)==null?void 0:f.has_confirmed_contactpoints;g=a==null?void 0:(g=a.account_user)==null?void 0:(g=g.pending_contactpoints)==null?void 0:(g=g[0])==null?void 0:g.__typename;var s=c("useCometLogoutWithPendingContactpointConfirmationDialog.react")(f!==!0?g:null,r),t=k(function(){s?s():r()},[r,s]);m(e,function(){return{logout:t}});l(function(){q.current==null?c("recoverableViolation")("Expected logout form ref to be valid","comet_ui"):i===!0&&t()},[t,i]);f=c("XLogoutControllerRouteBuilder").buildURL({button_location:"settings",button_name:"logout"});return j.jsxs("form",babelHelpers["extends"]({action:f,method:"POST",ref:q},c("CometVisualCompletionAttributes").IGNORE,{children:[j.jsx("input",{name:"h",type:"hidden",value:a==null?void 0:a.logout_hash}),j.jsx("input",{name:"ref",type:"hidden",value:"mb"})]}))}a.displayName=a.name+" [from "+f.id+"]";a=e;g["default"]=a}),98);
__d("CometTopnavItemClickFalcoEvent",["FalcoLoggerInternal","getFalcoLogPolicy_DO_NOT_USE"],(function(a,b,c,d,e,f,g){"use strict";a=c("getFalcoLogPolicy_DO_NOT_USE")("1743396");b=d("FalcoLoggerInternal").create("comet_topnav_item_click",a);e=b;g["default"]=e}),98);
__d("CometTopnavItemImpressionFalcoEvent",["FalcoLoggerInternal","getFalcoLogPolicy_DO_NOT_USE"],(function(a,b,c,d,e,f,g){"use strict";a=c("getFalcoLogPolicy_DO_NOT_USE")("1743397");b=d("FalcoLoggerInternal").create("comet_topnav_item_impression",a);e=b;g["default"]=e}),98);
__d("LogoutHandler.react",["cr:11880"],(function(a,b,c,d,e,f,g){"use strict";g["default"]=b("cr:11880")}),98);/*FB_PKG_DELIM*/
__d("CometHomeProductBadgedNavigationLogger",["QPLUtils","QuickPerformanceLogger","qpl"],(function(a,b,c,d,e,f,g){"use strict";var h,i=c("qpl")._(30632331,"5336"),j=new Map();function a(a){l(a);m({string:{product_app_id:a}},a);return}function k(a){if(a==null)return!1;if(j.has(a)){var b;b=(b=j.get(a))!=null?b:0;b=b+1;j.set(a,b);m({"int":{attempt_count:b}},a);return!0}else{j.set(a,1);m({"int":{attempt_count:1}},a);return!1}}function l(a){var b=k(a);if(b)return;b=d("QPLUtils").deriveInstanceKey(a);return(h||(h=c("QuickPerformanceLogger"))).markerStart(i,b,h.currentTimestamp(),{cancelOnUnload:!0})}function b(a,b){a!=null&&j["delete"](a);a=d("QPLUtils").deriveInstanceKey(a);return(h||(h=c("QuickPerformanceLogger"))).markerEnd(i,b,a)}function m(a,b){b=d("QPLUtils").deriveInstanceKey(b);return(h||(h=c("QuickPerformanceLogger"))).markerAnnotate(i,a,{instanceKey:b})}g.markerStartAndAnnotateWithProductID=a;g.markerStart=l;g.markerEnd=b;g.markerAnnotate=m}),98);
__d("CometHomepageBadgeCountClearingMutationHelperShortcuts_viewer.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{kind:"Literal",name:"bookmark_render_location",value:"COMET_LEFT_NAV"}];return{argumentDefinitions:[{kind:"RootArgument",name:"bookmarkID"}],kind:"Fragment",metadata:null,name:"CometHomepageBadgeCountClearingMutationHelperShortcuts_viewer",selections:[{alias:null,args:[{items:[{kind:"Variable",name:"bookmark_ids.0",variableName:"bookmarkID"}],kind:"ListValue",name:"bookmark_ids"},{kind:"Literal",name:"environment",value:"COMET"},{kind:"Literal",name:"folder_id",value:"FAVORITES"},{kind:"Literal",name:"sections",value:["FACEBOOK_APP"]}],concreteType:"BookmarksConnection",kind:"LinkedField",name:"bookmarks",plural:!1,selections:[{alias:null,args:null,concreteType:"BookmarksEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:"Bookmark",kind:"LinkedField",name:"node",plural:!1,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"bookmarked_node",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null}],storageKey:null},{alias:"bookmark_unread_count",args:a,kind:"ScalarField",name:"unread_count",storageKey:'unread_count(bookmark_render_location:"COMET_LEFT_NAV")'},{alias:"bookmark_unread_count_string",args:a,kind:"ScalarField",name:"unread_count_string",storageKey:'unread_count_string(bookmark_render_location:"COMET_LEFT_NAV")'}],storageKey:null}],storageKey:null}],storageKey:null}],type:"Viewer",abstractKey:null}}();e.exports=a}),null);
__d("CometHomepageBadgeCountClearingMutationHelper_viewer.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{kind:"Literal",name:"bookmark_render_location",value:"COMET_LEFT_NAV"}];return{argumentDefinitions:[{kind:"RootArgument",name:"bookmarkIDs"},{kind:"RootArgument",name:"hasBookmark"},{kind:"RootArgument",name:"hasTopTab"}],kind:"Fragment",metadata:null,name:"CometHomepageBadgeCountClearingMutationHelper_viewer",selections:[{alias:null,args:[{kind:"Variable",name:"bookmark_ids",variableName:"bookmarkIDs"},{kind:"Literal",name:"environment",value:"COMET"},{kind:"Literal",name:"folder_id",value:"PRODUCT"},{kind:"Literal",name:"sections",value:["FACEBOOK_APP"]}],concreteType:"BookmarksConnection",kind:"LinkedField",name:"bookmarks",plural:!1,selections:[{alias:null,args:null,concreteType:"BookmarksEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:"Bookmark",kind:"LinkedField",name:"node",plural:!1,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"bookmarked_node",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null}],storageKey:null},{condition:"hasBookmark",kind:"Condition",passingValue:!0,selections:[{alias:"bookmark_unread_count",args:a,kind:"ScalarField",name:"unread_count",storageKey:'unread_count(bookmark_render_location:"COMET_LEFT_NAV")'}]},{alias:"bookmark_unread_count_string",args:a,kind:"ScalarField",name:"unread_count_string",storageKey:'unread_count_string(bookmark_render_location:"COMET_LEFT_NAV")'},{condition:"hasTopTab",kind:"Condition",passingValue:!0,selections:[{alias:"tab_unread_count",args:[{kind:"Literal",name:"bookmark_render_location",value:"COMET_TOP_TAB"}],kind:"ScalarField",name:"unread_count",storageKey:'unread_count(bookmark_render_location:"COMET_TOP_TAB")'}]}],storageKey:null}],storageKey:null}],storageKey:null}],type:"Viewer",abstractKey:null}}();e.exports=a}),null);
__d("CometHomepageBadgeCountClearingMutationHelper",["CometHomeProductBadgedNavigationLogger","CometHomepageBadgeCountClearingMutationHelperShortcuts_viewer.graphql","CometHomepageBadgeCountClearingMutationHelper_viewer.graphql","RelayFBConnectionHandler_UNSTABLE","gkx"],(function(a,b,c,d,e,f,g){"use strict";var h,i;h!==void 0?h:h=b("CometHomepageBadgeCountClearingMutationHelper_viewer.graphql");i!==void 0?i:i=b("CometHomepageBadgeCountClearingMutationHelperShortcuts_viewer.graphql");function a(a){var b=a.bookmarkIDs,e=a.hasBookmark,f=a.hasTopTab;a=a.store;if(f===!1&&e===!1)return;var g=a.getRoot();if(!g)return;g=g.getLinkedRecord("viewer");if(!g)return;var h=g.getLinkedRecord("bookmarks",{bookmark_ids:b,environment:"COMET",folder_id:"PRODUCT",sections:["FACEBOOK_APP"]});if(!h&&e){e=g.getLinkedRecord("bookmark_folder",{folder:"PRODUCT"});if(e!=null){a=d("RelayFBConnectionHandler_UNSTABLE").unstable_getAllConnectionsWithKey(a,e,"CometHomeLeftRailWithBlueRankingRefetchSection_bookmarks");a&&a.length>0&&(h=a[0])}}!h&&f&&c("gkx")("22810")&&(h=g.getLinkedRecord("tab_bookmarks",{environment:"COMET",folder_id:"PRODUCT"}));if(!h)return;e=h.getLinkedRecords("edges");if(!e)return;a=null;e.forEach(function(c){var d;c=c==null?void 0:c.getLinkedRecord("node");d=c==null?void 0:(d=c.getLinkedRecord("bookmarked_node"))==null?void 0:d.getValue("id");b.includes(d)&&(a=c)});(f=a)==null?void 0:f.setValue(0,"unread_count",{bookmark_render_location:"COMET_LEFT_NAV"});(g=a)==null?void 0:g.setValue(null,"unread_count_string",{bookmark_render_location:"COMET_LEFT_NAV"});(h=a)==null?void 0:h.setValue(0,"unread_count",{bookmark_render_location:"COMET_TOP_TAB"})}function e(a,b){var c=b==null?void 0:(b=b.bookmarks)==null?void 0:b.edges;c!=null&&c.length>0&&(a==null?void 0:a.forEach(function(a){var b=c.find(function(b){return(b==null?void 0:(b=b.node)==null?void 0:(b=b.bookmarked_node)==null?void 0:b.id)===a});b=b==null?void 0:b.node;var e=b==null?void 0:b.bookmark_unread_count,f=b==null?void 0:b.bookmark_unread_count_string;b=b==null?void 0:b.tab_unread_count;e===0&&(b==null||b===0)&&f==null?d("CometHomeProductBadgedNavigationLogger").markerEnd(a,2):(e==null?d("CometHomeProductBadgedNavigationLogger").markerAnnotate({string:{bookmark_unread_count:"null"}},a):e>0&&d("CometHomeProductBadgedNavigationLogger").markerAnnotate({"int":{bookmark_unread_count:e}},a),b==null?d("CometHomeProductBadgedNavigationLogger").markerAnnotate({string:{tab_unread_count:"null"}},a):b>0&&d("CometHomeProductBadgedNavigationLogger").markerAnnotate({"int":{tab_unread_count:b}},a),f!=null&&d("CometHomeProductBadgedNavigationLogger").markerAnnotate({string:{bookmark_unread_count_string:f}},a),d("CometHomeProductBadgedNavigationLogger").markerEnd(a,3))}))}g.clearBadgeCount=a;g.onCompleted=e}),98);
__d("CometPillBase.react",["fbt","CometProfilePhoto.react","CometScreenReaderText.react","FDSBadge.react","FDSIcon.react","TetraText.react","react","react-strict-dom"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j=i||d("react"),k={badge:{borderTopStartRadius:"x14yjl9h",borderTopEndRadius:"xudhj91",borderBottomEndRadius:"x18nykt9",borderBottomStartRadius:"xww2gxu",display:"x78zum5",end:"x1qhkwwh",left:null,right:null,overflowX:"x6ikm8r",overflowY:"x10wlt62",position:"x10l6tqk",top:"x13vifvy",$$css:!0},icon:{display:"x78zum5",height:"xlup9mm",$$css:!0},iconAfterLabel:{marginStart:"x1mnrxsn",$$css:!0},iconBeforeLabel:{marginEnd:"x1w0mnb",$$css:!0},profile:{display:"x78zum5",marginEnd:"x1w0mnb",marginStart:"xp7jhwk",$$css:!0},profileDisabled:{opacity:"xuzhngd",$$css:!0}};function a(a){var b=a.color,e=a.disabled;e=e===void 0?!1:e;var f=a.hasNewContentBadge;f=f===void 0?!1:f;var g=a.image,i=a.imagePlacement;i=i===void 0?"left":i;var l=a.label,m=a.labelIsHidden;m=m===void 0?!1:m;var n=a.newContentBadgeSize;n=n===void 0?6:n;a=a.selected;a=a===void 0?!1:a;var o=null;if(f){f=h._("__JHASH__ZEV9psumY7i__JHASH__");o=j.jsx(d("react-strict-dom").html.div,{style:k.badge,children:j.jsx(c("FDSBadge.react"),{accessibilityText:f,border:"white",color:e?"gray":"blue",isProfileBadge:!0,size:n})})}f=b?b:e?"disabled":a===!0?"highlight":"primary";n=null;g!=null&&(g.type==="icon"?n=j.jsx(d("react-strict-dom").html.div,{style:[k.icon,!m&&i==="left"&&k.iconBeforeLabel,!m&&i==="right"&&k.iconAfterLabel],children:j.jsx(c("FDSIcon.react"),{color:f,icon:g.icon,size:16})}):g.type==="profile-photo"&&g.source!=null&&(n=j.jsx(d("react-strict-dom").html.div,{style:[k.profile,e&&k.profileDisabled],children:j.jsx(c("CometProfilePhoto.react"),{shape:"circle",size:28,source:g.source})})));b=i==="left"?n:null;a=i==="right"?n:null;m?e=j.jsx(c("CometScreenReaderText.react"),{text:l}):e=j.jsx(c("TetraText.react"),{color:f,numberOfLines:1,type:"button2",children:l});return j.jsxs(j.Fragment,{children:[b,e,a,o]})}a.displayName=a.name+" [from "+f.id+"]";g.CometPillBase=a}),226);
__d("CometPillBaseStyles",[],(function(a,b,c,d,e,f,g){"use strict";a=36;b={pressed:{transform:"x1n5d1j9",$$css:!0},root:{alignItems:"x6s0dn4",backgroundColor:"x1qhmfi1",borderTopStartRadius:"x1tlxs6b",borderTopEndRadius:"x1g8br2z",borderBottomEndRadius:"x1gn5b1j",borderBottomStartRadius:"x230xth",display:"x78zum5",flexDirection:"x1q0g3np",height:"xc9qbxq",justifyContent:"xl56j7k",paddingEnd:"xn6708d",paddingStart:"x1ye3gou",position:"x1n2onr6",width:"xh8yej3",$$css:!0},selected:{backgroundColor:"x1hr4nm9",$$css:!0}};g.PIVOT_HEIGHT=a;g.pillStyles=b}),98);
__d("CometPivotLink.react",["CometPillBase.react","CometPillBaseStyles","CometPressable.react","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||d("react"),j={deemphasized:{backgroundColor:"xjbqb8w",$$css:!0},normal:{backgroundColor:"x1qhmfi1",$$css:!0}},k={selectedOnWashBackground:{backgroundColor:"x1av1boa",$$css:!0}};b=i.forwardRef(a);function a(a,b){var e,f,g=a["aria-current"];g=g===void 0?"page":g;var h=a["aria-describedby"],l=a.focusable;a.hitSlop;var m=a.linkProps,n=a.onHoverIn,o=a.onPress,p=a.onWashBackground;p=p===void 0?!1:p;var q=a.role,r=a.testid;r=a.testOnly_pressed;var s=a.type;s=s===void 0?"normal":s;a=babelHelpers.objectWithoutPropertiesLoose(a,["aria-current","aria-describedby","focusable","hitSlop","linkProps","onHoverIn","onPress","onWashBackground","role","testid","testOnly_pressed","type"]);e=(e=a.selected)!=null?e:!1;f=(f=a.disabled)!=null?f:!1;g=m?{"aria-current":e?g:void 0}:q==="button"||q==null?{"aria-pressed":e}:{"aria-selected":e};return i.jsx(c("CometPressable.react"),babelHelpers["extends"]({},g,{"aria-describedby":h,disabled:f,focusable:l,linkProps:m,onHoverIn:n,onPress:f?void 0:o,overlayFocusRingPosition:"inset",overlayRadius:d("CometPillBaseStyles").PIVOT_HEIGHT/2,pressedStyleValue:{scale:.96},ref:b,role:q,testOnly_pressed:r,testid:void 0,xstyle:[d("CometPillBaseStyles").pillStyles.root,j[s],e===!0&&(p?k.selectedOnWashBackground:d("CometPillBaseStyles").pillStyles.selected)],children:i.jsx(d("CometPillBase.react").CometPillBase,babelHelpers["extends"]({},a))}))}a.displayName=a.name+" [from "+f.id+"]";e=b;g["default"]=e}),98);
__d("FDSPivotLinkPile.react",["CometRow.react","CometRowItem.react","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||d("react"),j={defaultWidth:{maxWidth:"xthy2uy",$$css:!0},fullWidth:{maxWidth:"x193iq5w",$$css:!0}};function a(a){var b=a.align;b=b===void 0?"center":b;var d=a.children,e=a.isFullWidth,f=e===void 0?!1:e;e=babelHelpers.objectWithoutPropertiesLoose(a,["align","children","isFullWidth"]);return i.jsx(c("CometRow.react"),babelHelpers["extends"]({},e,e.paddingVertical==null?{paddingTop:8}:null,{align:b,role:"list",spacing:8,wrap:"forward",children:i.Children.map(d,function(a){return i.jsx(c("CometRowItem.react"),{role:"listitem",xstyle:f?j.fullWidth:j.defaultWidth,children:a})})}))}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);/*FB_PKG_DELIM*/
__d("AdValidateImageFalcoEvent",["FalcoLoggerInternal","getFalcoLogPolicy_DO_NOT_USE"],(function(a,b,c,d,e,f,g){"use strict";a=c("getFalcoLogPolicy_DO_NOT_USE")("1792745");b=d("FalcoLoggerInternal").create("ad_validate_image",a);e=b;g["default"]=e}),98);
__d("CometFeedUnitOnFeedUnitErrorContext",["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("CometFeedUnitShouldPropagateErrorContext",["react"],(function(a,b,c,d,e,f,g){"use strict";var h;a=h||d("react");b=a.createContext(!0);g["default"]=b}),98);
__d("useOnInitialMount",["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(!1);i(function(){b.current||(b.current=!0,a())})}g["default"]=a}),98);
__d("CometOnInitialMount.react",["useOnInitialMount"],(function(a,b,c,d,e,f,g){"use strict";function a(a){a=a.onInitialMount;c("useOnInitialMount")(a);return null}g["default"]=a}),98);
__d("useCommitCountRef",["react"],(function(a,b,c,d,e,f,g){"use strict";var h;b=h||d("react");var i=b.useLayoutEffect,j=b.useRef;function a(){var a=j(0);i(function(){a.current+=1});return a}g["default"]=a}),98);
__d("CometFeedMatchRenderer.react",["CometErrorBoundary.react","CometFeedUnitLoggingContext","CometFeedUnitOnFeedUnitErrorContext","CometFeedUnitShouldPropagateErrorContext","CometOnInitialMount.react","CometRelay","FBLogger","ODS","XPlatReactEnvironment","react","recoverableViolation","requireDeferred","useCommitCountRef"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=h||(h=d("react"));b=h;var k=b.useCallback,l=b.useContext,m=b.useEffect,n=b.useRef,o=c("requireDeferred")("CometFeedStoriesStrategyErrorsTypedLoggerLite").__setRef("CometFeedMatchRenderer.react");function a(a){var b=a.match,e=a.matchRequired,f=e===void 0?!1:e,g=a.onUnsupported;e=a.preventErrorsFromFailingTheFeedUnit_USE_WITH_CAUTION;var h=a.props,p=a.section,q=a.trackingData;a=b!=null&&b.__module_component!=null?b:null;var r=c("useCommitCountRef")(),s=l(c("CometFeedUnitOnFeedUnitErrorContext"));b=l(c("CometFeedUnitShouldPropagateErrorContext"));var t=l(c("CometFeedUnitLoggingContext")),u=t.position,v=t.renderLocation,w=a!=null?d("CometRelay").ModuleResource.getModuleId(a):null,x=n(!1);m(function(){!x.current&&w!=null&&d("XPlatReactEnvironment").isWeb()&&((i||(i=d("ODS"))).bumpFraction(3478,"comet_feed_strategy_errors",w,0,1),x.current=!0)},[w]);t=function(){g!=null&&g(),f&&c("recoverableViolation")("match required for Comet Feed section "+p+" and none was found","comet_feed")};var y=e!=null?!e:b;e=k(function(a){w!=null&&d("XPlatReactEnvironment").isWeb()&&(i||(i=d("ODS"))).bumpFraction(3478,"comet_feed_strategy_errors",w,1,0);o.onReady(function(b){b.log({error_name:a.message,error_propagated_to_feed_unit:s!=null&&y,is_within_feed_unit:s!=null,num_commits_before_error:r.current,position:u,render_location:v!=="%future added value"?v:null,section:p,strategy:w,tracking_data:q})});if(s==null){var b;c("FBLogger")("CometFeedSectionErrorOutsideFeedUnit").info("%s threw a js error outside of CometFeedUnit.",(b=w)!=null?b:"Unknown Strategy/Attachment Renderer");throw a}else y&&s(a)},[s,y,r,w,u,v,p,q]);return a==null?j.jsx(c("CometOnInitialMount.react"),{onInitialMount:t}):j.jsx(c("CometErrorBoundary.react"),{context:{project:"CometFeedSectionErrorBoundary"},onError:e,children:j.jsx(c("CometFeedUnitShouldPropagateErrorContext").Provider,{value:y,children:j.jsx(d("CometRelay").MatchContainer,{fallback:j.jsx(c("CometOnInitialMount.react"),{onInitialMount:t}),match:a,props:h})})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
__d("CometFeedMessageQuote.react",["TetraText.react","react","stylex"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=(i||(i=d("react"))).c,k=i,l={blockquote:{borderStartColor:"xckqwgs",borderStartStyle:"x26u7qi",borderStartWidth:"x7g060r",marginTop:"x1gslohp",marginEnd:"x11i5rnm",marginBottom:"xieb3on",marginStart:"x1mh8g0r",paddingEnd:"x1pi30zi",paddingStart:"x1swvt13",$$css:!0},withLeadingSpace:{marginStart:"x1d52u69",marginLeft:null,marginRight:null,$$css:!0}};function a(a){var b=j(8),d=a.children,e=a.leadingSpace;a=a.xstyle;e=e===void 0?!0:e;e=e&&l.withLeadingSpace;var f;b[0]!==e||b[1]!==a?(f=(h||(h=c("stylex")))(l.blockquote,e,a),b[0]=e,b[1]=a,b[2]=f):f=b[2];b[3]!==d?(e=k.jsx(c("TetraText.react"),{type:"body3",children:d}),b[3]=d,b[4]=e):e=b[4];b[5]!==f||b[6]!==e?(a=k.jsx("blockquote",{className:f,children:e}),b[5]=f,b[6]=e,b[7]=a):a=b[7];return a}g["default"]=a}),98);
__d("CometFeedStoryAttachmentCommandWidget",["createKeyCommandWidget"],(function(a,b,c,d,e,f,g){"use strict";b=c("createKeyCommandWidget")();d=b;var h=b.useKeyCommands;function a(a){return h(a,!0)}b.useKeyCommands=a;g["default"]=d}),98);
__d("CometFeedUnitIsFocusedStoryViewContext",["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("CometFeedUnitPostRenderingLoggersContext",["react"],(function(a,b,c,d,e,f,g){"use strict";var h;a=h||d("react");b=a.createContext({ad_id:null,client_token:null,post_rendering_logger_from_context:void 0});g["default"]=b}),98);
__d("CometFocusedStoryViewUFIQuery_facebookRelayOperation",[],(function(a,b,c,d,e,f){e.exports="7411648862272565"}),null);
__d("CometGHLFakeElement.react",["fbt","CometFeedMessageQuote.react","CometLink.react","GHLMitigationsGating","TetraText.react","react","stylex"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j,k=j||d("react");function a(){var a={};for(var b=0;b<20;b++)a["data-"+b]=b;return k.jsxs("div",babelHelpers["extends"]({className:(i||(i=c("stylex")))(d("GHLMitigationsGating").getIsGHLFakeElementHiddenByPositionEnabled()?l.hiddenByPosition:l.hidden)},a,{children:[k.jsx(c("CometFeedMessageQuote.react"),{leadingSpace:!1,children:k.jsx(c("TetraText.react"),{color:"secondary",type:"body3",children:h._("__JHASH__TlJCmSOrUbl__JHASH__")})}),k.jsx(c("CometLink.react"),{href:"#"})]}))}a.displayName=a.name+" [from "+f.id+"]";var l={hidden:{display:"x1s85apg",$$css:!0},hiddenByPosition:{position:"x10l6tqk",start:"xd665xh",left:null,right:null,top:"x1dquyif",$$css:!0}};g["default"]=a}),226);
__d("CometGHLFakeElementsWrapper.react",["CometGHLFakeElement.react","GHLGating","react","useStable"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||d("react");function a(a){a=a.children;var b=d("GHLGating").getFakeElementBeforeElementCount(),e=d("GHLGating").getFakeElementAfterElementCount(),f=function(a){return Array.from(Array(a).keys()).map(function(a){return i.jsx(c("CometGHLFakeElement.react"),{},a)})},g=c("useStable")(function(){return f(b)}),h=c("useStable")(function(){return f(e)});return i.jsxs(i.Fragment,{children:[g,a,h]})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
__d("CometGroupFeedOptimizeStructureContext",["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("CometTrackingCodeProvider.react",["CometTrackingCodeContext","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 l(a,b){return a&&a!==""?b.concat(a):b}function a(a){var b=a.children;a=a.trackingCode;var d=a.click_tracking_linkshim_cb,e=a.encrypted_click_tracking,f=a.encrypted_tracking,g=j(c("CometTrackingCodeContext"));a=k(function(){return{click_tracking_linkshim_cb:l(d,g.click_tracking_linkshim_cb),encrypted_click_tracking:l(e,g.encrypted_click_tracking),encrypted_tracking:l(f,g.encrypted_tracking)}},[g,d,e,f]);return i.jsx(c("CometTrackingCodeContext").Provider,{value:a,children:b})}a.displayName=a.name+" [from "+f.id+"]";e=i.memo(a);g["default"]=e}),98);
__d("GHLAriaLabel.react",["BasePortal.react","CometPlaceholder.react","ExecutionEnvironment","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=i||d("react"),k=null,l=function(){(h||(h=c("ExecutionEnvironment"))).canUseDOM&&k===null&&(k=document.createElement("div"),k.setAttribute("hidden","true"),k.style.display="none",document.body&&document.body.appendChild(k));return k};function a(a){var b=a.children;a.delayedPlacement;a=a.targetProps;return j.jsx(c("CometPlaceholder.react"),{fallback:null,children:j.jsx(c("BasePortal.react"),{target:l(),children:j.jsx("span",babelHelpers["extends"]({},a,{children:b}))})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
__d("GHLRandomElementWrapper",["Random","react","stylex"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=i||d("react"),k={noop:{boxSizing:"x9f619",display:"xt0psk2",fontFamily:"xjb2p0i",fontSize:"x1qlqyl8",lineHeight:"x15bjb6t",$$css:!0}},l=[[1,0],[1,1],[0,1],[0,2],[1,2],[2,2],[2,1],[1,1]],m=Math.floor(Date.now()/(1e3*60*60*24));b=function(a){var b;return(b={},b[a]=function(a){babelHelpers.inheritsLoose(b,a);function b(){return a.apply(this,arguments)||this}return b}(babelHelpers.wrapNativeSuper(HTMLSpanElement)),b)[a]};e=function(){return String.fromCharCode(97+c("Random").random()*25)};d=m%10+5;var n=Array(d).fill().map(e).join("");d=Array(d).fill().map(e).join("");var o=n+"-"+d;window.customElements&&window.customElements.define(o,b(n),{"extends":"span"});function a(a){var b=a.children,d=a.elementTag,e=a.useClassStyles;e=e===void 0?!1:e;a=a.useInlineStyles;a=a===void 0?!1:a;b=b;var f=l[m%l.length],g=a?{display:"inline"}:null,i=(h||(h=c("stylex")))(e?k.noop:null);d==="div"&&!e&&!a&&(i="x9f619 xt0psk2 xjb2p0i x1qlqyl8 x15bjb6t");d==="randomSpan"?window.customElements?e=o:e="span":e=d;a=f[1];for(d=0;d<a;d++)b=j.jsx(e,{className:i,style:g,children:b});b=j.jsx(e,{children:b});d=f[0];for(a=0;a<d;a++)b=j.jsx(e,{className:i,style:g,children:b});return b}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
__d("RadicalUfiFalcoEvent",["FalcoLoggerInternal","getFalcoLogPolicy_DO_NOT_USE"],(function(a,b,c,d,e,f,g){"use strict";a=c("getFalcoLogPolicy_DO_NOT_USE")("2149");b=d("FalcoLoggerInternal").create("radical_ufi",a);e=b;g["default"]=e}),98);
__d("usePostRenderingLogger",["AdValidateImageFalcoEvent","CometFeedUnitPostRenderingLoggersContext","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,d){var e=i(c("CometFeedUnitPostRenderingLoggersContext"));e=e.post_rendering_logger_from_context;var f=(b==null?void 0:b.includes("post_rendering_logger"))||(e==null?void 0:e.includes("post_rendering_logger")),g=k(!1);j(function(){d!==!1&&!g.current&&f===!0&&(c("AdValidateImageFalcoEvent").log(a),g.current=!0)},[a,g,f,d])}g["default"]=a}),98);/*FB_PKG_DELIM*/
__d("AppMessengerOutline20.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 -398)",children:i.jsxs("g",{children:[i.jsx("path",{fillRule:"nonzero",d:"M97.237 212.031c.033 1.076 1.087 1.77 2.059 1.34l1.831-.807c1.04.285 1.955.436 2.873.436 5.645 0 10-4.227 10-9.778 0-5.54-4.345-9.722-10-9.722s-10 4.181-10 9.722c0 2.767 1.086 5.266 3.002 7.056l.153.14c.023.02.043.04.06.057l.023.024v1.532zm1.5-1.645c-.012-.429-.199-.724-.504-1.014l-.078-.072c-1.693-1.514-2.655-3.665-2.655-6.078 0-4.7 3.66-8.222 8.5-8.222s8.5 3.523 8.5 8.222c0 4.712-3.673 8.278-8.5 8.278-.767 0-1.556-.13-2.479-.384a1.489 1.489 0 0 0-.996.074l-1.788.789v-1.593z",transform:"translate(352 204.5)"}),i.jsx("path",{d:"m109.924 200.978-2.898 4.634a1.474 1.474 0 0 1-2.14.398l-2.305-1.743a.588.588 0 0 0-.712.002l-3.113 2.381c-.416.318-.958-.183-.68-.628l2.898-4.633a1.473 1.473 0 0 1 2.14-.398l2.304 1.742c.212.16.503.16.713-.002l3.113-2.38c.416-.319.958.183.68.627",transform:"translate(352 204.5)"})]})})]}))}a.displayName=a.name+" [from "+f.id+"]";a._isSVG=!0;b=a;g["default"]=b}),98);
__d("CrossFilled24.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",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:"M18.707 5.293a1 1 0 0 0-1.414 0L12 10.586 6.707 5.293a1 1 0 0 0-1.414 1.414L10.586 12l-5.293 5.293a1 1 0 1 0 1.414 1.414L12 13.414l5.293 5.293a1 1 0 0 0 1.414-1.414L13.414 12l5.293-5.293a1 1 0 0 0 0-1.414z"})]}))}a.displayName=a.name+" [from "+f.id+"]";a._isSVG=!0;b=a;g["default"]=b}),98);
__d("DmaMessengerOptOutOutline20.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",{stroke:"none",strokeWidth:1,fillRule:"evenodd",children:i.jsx("path",{d:"m110.234 197.334-6.592 11.427c-.465.808-1.282 1.006-1.885.929-.607-.08-1.34-.488-1.578-1.389l-1.387-5.226c-.01-.037-.025-.071-.036-.107l4.619-2.667a.75.75 0 1 0-.75-1.299l-4.61 2.661c-.038-.04-.07-.084-.11-.123l-3.831-3.81c-.662-.657-.648-1.495-.415-2.06.233-.566.815-1.17 1.747-1.17h13.191a1.87 1.87 0 0 1 1.636.945c.342.591.343 1.298.001 1.889m1.298-2.64a3.355 3.355 0 0 0-2.935-1.694h-13.19c-1.4 0-2.6.804-3.135 2.097a3.338 3.338 0 0 0 .744 3.697l3.832 3.81c.237.236.408.532.494.855l1.386 5.226a3.339 3.339 0 0 0 2.831 2.492c.158.021.315.031.47.031a3.328 3.328 0 0 0 2.912-1.697l6.593-11.427a3.357 3.357 0 0 0-.002-3.39",transform:"translate(-446 -398) translate(354 158.5) translate(0 48)"})})]}))}a.displayName=a.name+" [from "+f.id+"]";a._isSVG=!0;b=a;g["default"]=b}),98);
__d("MWXIconMenuItemAppMessenger.custom",["DmaMessengerOptOutOutline20.svg.react","MWXSvgIcon","MessengerMSplitFlag","SVGIcon"],(function(a,b,c,d,e,f,g){"use strict";function a(a){return c("MessengerMSplitFlag").is_dma_consent_declined?d("MWXSvgIcon").mwxSvgMenuItemIcon(d("SVGIcon").svgIcon(c("DmaMessengerOptOutOutline20.svg.react")),!1):a}g["default"]=a}),98);
__d("MWXIconMenuItemAppMessenger",["MWXIconMenuItemAppMessenger.custom","MWXSvgIcon","SVGIcon","cr:9355","gkx"],(function(a,b,c,d,e,f,g){"use strict";a=d("MWXSvgIcon").mwxSvgMenuItemIcon(d("SVGIcon").svgIcon(b("cr:9355")),c("gkx")("23219"));e=c("MWXIconMenuItemAppMessenger.custom")(a);f=e;g["default"]=f}),98);
__d("FriendingCometFriendshipInteractionButtonsConfig",["fbt","ix","MWXIconAppMessenger","MWXIconMenuItemAppMessenger","fbicon"],(function(a,b,c,d,e,f,g,h,i){"use strict";function a(a,b,e){e===void 0&&(e="filled");if(b==null)return null;switch(a){case"ARE_FRIENDS":return{icon:e==="outline"?c("MWXIconMenuItemAppMessenger").component:c("MWXIconAppMessenger").component,label:h._("__JHASH__SIyDyCmgI2P__JHASH__"),onPress:b,testid:"friends_button"};case"CAN_REQUEST":return{icon:e==="outline"?d("fbicon")._(i("497889"),16):d("fbicon")._(i("497883"),16),label:h._("__JHASH__AeIzsCAtQLf__JHASH__"),onPress:b,testid:"add_button"};case"INCOMING_REQUEST":return{icon:e==="outline"?d("fbicon")._(i("497889"),16):d("fbicon")._(i("497883"),16),label:h._("__JHASH__9IzvGdGPziU__JHASH__"),onPress:b,testid:"confirm_button"};case"OUTGOING_REQUEST":return{icon:e==="outline"?d("fbicon")._(i("664706"),16):d("fbicon")._(i("664704"),16),label:h._("__JHASH__s4QOxbUulOM__JHASH__"),onPress:b,testid:"cancel_request_button"};case"CANNOT_REQUEST":default:return null}}g.getButtonProps=a}),226);
__d("NullStateLists",["cr:3212"],(function(a,b,c,d,e,f,g){"use strict";g["default"]=b("cr:3212")}),98);
__d("NullStateListsFB",["IconSource"],(function(a,b,c,d,e,f,g){"use strict";a={dark:new(c("IconSource"))("nullStateGlyphs","/images/comet/empty_states_icons/lists/null_states_list_dark_mode.svg",112),"default":new(c("IconSource"))("nullStateGlyphs","/images/comet/empty_states_icons/lists/null_states_list_gray_wash.svg",112)};g["default"]=a}),98);
__d("useFriendingCometFriendshipStatus_user.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"useFriendingCometFriendshipStatus_user",selections:[{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"friendship_status",storageKey:null}],type:"User",abstractKey:null};e.exports=a}),null);
__d("useFriendingCometFriendshipStatus",["CometRelay","FDSDialogCloseCallbackContext.react","FriendingCometFriendRequestCancelMutation","FriendingCometFriendRequestConfirmMutation","FriendingCometFriendRequestSendMutation","emptyFunction","react","recoverableViolation","unrecoverableViolation","useFriendingCometFriendshipStatus_user.graphql","useMWChatOpenTabForUser","useMinifiedProductAttribution","useShouldShowMessagingEntrypointOnCurrentRoute"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=(i||d("react")).useCallback;function a(a,e){var f=d("CometRelay").useRelayEnvironment(),g=d("FDSDialogCloseCallbackContext.react").useFDSDialogCloseCallbackContext(),i=c("useShouldShowMessagingEntrypointOnCurrentRoute")("CHAT"),k=c("useMWChatOpenTabForUser")(e.messengerWebEntryPoint),l=k[0];k[1];k=d("CometRelay").useFragment(h!==void 0?h:h=b("useFriendingCometFriendshipStatus_user.graphql"),a);var m=k==null?void 0:k.id;a=k==null?void 0:k.friendship_status;if(m==null)throw c("unrecoverableViolation")("Unknown user","growth_friending");var n=c("useMinifiedProductAttribution")(),o=j(function(){var a;a=(a=e.extraAttributionData)!=null?a:{profile_friend_list_tab:""};a.profile_friend_list_tab=e.messengerWebEntryPoint;d("FriendingCometFriendRequestSendMutation").commit({environment:f,extraAttributionData:a,friendingChannel:e.friendingChannel,navigationChain:n,onError:c("emptyFunction"),receiverID:m})},[f,m,e.friendingChannel,n,e.extraAttributionData,e.messengerWebEntryPoint]),p=j(function(){d("FriendingCometFriendRequestCancelMutation").commit({environment:f,friendingChannel:e.friendingChannel,navigationChain:n,onError:c("emptyFunction"),receiverID:m})},[e.friendingChannel,f,n,m]),q=j(function(){d("FriendingCometFriendRequestConfirmMutation").commit({environment:f,friendingChannel:e.friendingChannel,navigationChain:n,onError:c("emptyFunction"),senderID:m})},[f,n,m,e.friendingChannel]),r=j(function(){m!=null&&(l(m),g&&g())},[m,g,l]);if((k==null?void 0:k.__typename)!=="User")return[null,null];if(a==null)return[c("recoverableViolation")("Unknown friendship status","growth_friending"),null];switch(a){case"ARE_FRIENDS":return[a,i?r:null];case"CAN_REQUEST":return[a,o];case"INCOMING_REQUEST":return[a,q];case"OUTGOING_REQUEST":return[a,p];case"CANNOT_REQUEST":default:return["CANNOT_REQUEST",null]}}g["default"]=a}),98);
__d("useOnRoutableDialogClose",["CometRouteRenderType","react","useCometRouterDispatcher"],(function(a,b,c,d,e,f,g){"use strict";var h,i=(h||d("react")).useCallback;function a(a){a===void 0&&(a="/");var b=d("CometRouteRenderType").useIsPushView(),e=c("useCometRouterDispatcher")(),f=d("CometRouteRenderType").useIsHosted();return i(function(){if(e)if(e.popPushView&&b)return e.popPushView();else if(e.goBack&&f)return e.goBack();else return e.go(a,{target:"self"})},[a,e,f,b])}g["default"]=a}),98);/*FB_PKG_DELIM*/
__d("IsLWIConsistenceExperimentEnabled.relayprovider",["qex"],(function(a,b,c,d,e,f,g){"use strict";a={get:function(a){a===void 0&&(a=!1);return a?c("qex")._("1446")===!0:c("qex")._("627")===!0}};g["default"]=a}),98);
__d("IsFBAdsExperience.relayprovider",["IsLWIConsistenceExperimentEnabled.relayprovider","gkx","qex"],(function(a,b,c,d,e,f,g){"use strict";a={get:function(a){a===void 0&&(a=!1);return c("IsLWIConsistenceExperimentEnabled.relayprovider").get(a)?a?c("qex")._("349")===!0:c("qex")._("1433")===!0:!c("gkx")("21034")}};g["default"]=a}),98);
__d("IsFBIGFeaturesIncludedInIGInfra.relayprovider",["qex"],(function(a,b,c,d,e,f,g){"use strict";a={get:function(){return c("qex")._("1396")===!0}};g["default"]=a}),98);
__d("IsIGInfraUnificationEnabled.relayprovider",["gkx","qex"],(function(a,b,c,d,e,f,g){"use strict";a={get:function(){var a=c("gkx")("21034");return a===!0?!0:c("qex")._("115")===!0}};g["default"]=a}),98);
__d("IsMBSAdsExperience.relayprovider",["IsLWIConsistenceExperimentEnabled.relayprovider","gkx","qex"],(function(a,b,c,d,e,f,g){"use strict";a={get:function(a){a===void 0&&(a=!1);return c("IsLWIConsistenceExperimentEnabled.relayprovider").get(a)?a?c("qex")._("635")===!0:c("qex")._("1434")===!0:c("gkx")("21034")}};g["default"]=a}),98);
__d("BizKitAdsGating.entrypointutils",["IsFBAdsExperience.relayprovider","IsFBIGFeaturesIncludedInIGInfra.relayprovider","IsIGInfraUnificationEnabled.relayprovider","IsLWIConsistenceExperimentEnabled.relayprovider","IsMBSAdsExperience.relayprovider","gkx","qex"],(function(a,b,c,d,e,f,g){"use strict";function h(a){a===void 0&&(a=!0);return c("IsMBSAdsExperience.relayprovider").get(a)}function i(a){a===void 0&&(a=!0);return c("IsFBAdsExperience.relayprovider").get(a)}function j(){return c("gkx")("21034")}function a(){if(j())return!0;return c("IsLWIConsistenceExperimentEnabled.relayprovider").get()!==!0?!1:c("qex")._("56")===!0}function b(){return i()&&h()}function d(){return c("IsIGInfraUnificationEnabled.relayprovider").get()}function e(){return c("IsFBIGFeaturesIncludedInIGInfra.relayprovider").get()}function f(){return c("gkx")("21034")||c("IsMBSAdsExperience.relayprovider").get()}function k(){return c("gkx")("21034")||l()}function l(){return c("IsLWIConsistenceExperimentEnabled.relayprovider").get()!==!0?!1:c("qex")._("108")===!0}g.getIsBizWebAdsExperience=h;g.getIsFBAdsExperience=i;g.getIsBCPEnabledForBizWeb=j;g.getIsBCPRedirectionEnabled=a;g.getIsFBAndBizWebAdsExperience=b;g.getIsIGInfraUnificationEnabled=d;g.getIsFBIGFeaturesIncludedInIGInfra=e;g.getIsBizWebAdsExperienceOrBizWeb=f;g.getShouldEnableScheduleAd=k;g.getIsScheduleAdEnabledOnFB=l}),98);
__d("CometImageIcon_DEPRECATED.react",["BaseImage_DEPRECATED.react","react","stylex"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=i||d("react"),k={circle:{borderTopStartRadius:"x14yjl9h",borderTopEndRadius:"xudhj91",borderBottomEndRadius:"x18nykt9",borderBottomStartRadius:"xww2gxu",$$css:!0},image:{display:"x1lliihq",$$css:!0},inset:{boxShadow:"xlg9a9y",position:"x10l6tqk",start:"x17qophe",top:"x13vifvy",$$css:!0},roundedRect:{borderTopStartRadius:"x1lq5wgf",borderTopEndRadius:"xgqcy7u",borderBottomEndRadius:"x30kzoy",borderBottomStartRadius:"x9jhf4c",$$css:!0}};function a(a){var b=a.auxiliary,d=a.size;d=d===void 0?24:d;var e=a.src,f=a.style;f=f===void 0?"circle":f;a=a.testid;return j.jsxs("div",{className:"x1n2onr6",children:[j.jsx(c("BaseImage_DEPRECATED.react"),{className:(h||(h=c("stylex")))(f==="circle"&&k.circle,k.image,f==="roundedRect"&&k.roundedRect),height:d,src:e,testid:void 0,width:d}),f!=="square"?j.jsx("div",{className:(h||(h=c("stylex")))(f==="circle"&&k.circle,k.inset,f==="roundedRect"&&k.roundedRect),style:{height:d,width:d}}):null,b!=null?j.jsx("div",{className:"x1ey2m1c xds687c x10l6tqk",children:b}):null]})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
__d("CometPhotoTaggingConstants",[],(function(a,b,c,d,e,f){"use strict";a=3;b=1;c=94;f.BOX_BORDER_SIZE=a;f.INITIAL_PHOTO_RENDER_SCALE=b;f.TAGGING_BOX_SIZE=c}),66);
__d("LWIBoostedComponentFalcoEvenUtils",["requireDeferred"],(function(a,b,c,d,e,f,g){"use strict";var h=c("requireDeferred")("logBoostedComponentCometFalcoEvent").__setRef("LWIBoostedComponentFalcoEvenUtils");function a(a){return a==null?null:String(a)}function i(a){var b=parseInt(a);return isNaN(b)?null:String(a)}function b(a,b,c){return{action:c.action,ad_account_id:i(c.ad_account_id),ad_status:c.ad_status,ads_lwi_goal:c.ads_lwi_goal,audience_id:i(c.audience_id),audience_size:i(c.audience_size),bid_amount:c.bid_amount,billing_event:c.billing_event,bison_estimate:i(c.bison_estimate),budget_in_local:i(c.budget_in_local),budget_type:c.budget_type,call_to_action_options:null,call_to_action_options2:c.call_to_action_options2,call_to_action_type:c.call_to_action_type,call_to_action_value:c.call_to_action_value,campaign_group_id:i(c.campaign_group_id),codebase:c.codebase,connection_quality_class:c.connection_quality_class,context:c.context,coupon_offer_id:i(c.coupon_offer_id),creation_platform_id:c.creation_platform_id,creative_spec:c.creative_spec,currency:c.currency,default_audience_id:i(c.default_audience_id),default_budget_in_local:i(c.default_budget_in_local),default_call_to_action:c.default_call_to_action,default_duration_in_days:i(c.default_duration_in_days),default_targeting_spec:c.default_targeting_spec,draft_id:i(c.draft_id),duration_in_days:i(c.duration_in_days),eligibility_rule:c.eligibility_rule,ending_value:c.ending_value,entry_point:c.entry_point,entry_point_details_override:c.entry_point_details_override,error:c.error,error_domain:c.error_domain,estimate_type:c.estimate_type,event:a,event_category:c.event_category,execution_time:i(c.execution_time),extra_data:j(c.extra_data),feedback_message:c.feedback_message,final_step:c.final_step,flow:c.flow,flow_component:c.flow_component,flow_id:c.flow_id,flow_option:c.flow_option,group_id:i(c.group_id),group_privacy:i(c.group_privacy),group_size:i(c.group_size),has_auto_open:c.has_auto_open,has_dayparting:c.has_dayparting,has_nax:c.has_nax,image_type:c.image_type,is_async:c.is_async,link:c.link,lower_estimate:i(c.lower_estimate),menu_option_name:c.menu_option_name,monthly_budget_in_local:i(c.monthly_budget_in_local),multiple_adgroup_specs:c.multiple_adgroup_specs,number_of_bulk_boost_products:i(c.number_of_bulk_boost_products),objective_override:c.objective_override,override_error_message:c.override_error_message,override_error_trace:c.override_error_trace,page_id:i(c.page_id),pixel_id:i(c.pixel_id),post_id:i(c.post_id),product:b,product_flow_type:c.product_flow_type,regulated_categories:null,rejection_reason:c.rejection_reason,rendered_message_type:c.rendered_message_type,saved_audience_id:i(c.saved_audience_id),selected_adgroup_index:i(c.selected_adgroup_index),side:c.side,star_rating:i(c.star_rating),start_time:i(c.start_time),starting_value:c.starting_value,step_breadcrumbs:c.step_breadcrumbs,step_counter:i(c.step_counter),step_name:c.step_name,step_order_number:i(c.step_order_number),stop_time:i(c.stop_time),success:c.success,targeting_ca_id:i(c.targeting_ca_id),targeting_lal_id:i(c.targeting_lal_id),targeting_spec:c.targeting_spec,upper_estimate:i(c.upper_estimate)}}function j(a){var b={};for(var c in a)b[c]=String(a[c]);return b}function d(a){var b=a.entryPoint,c=a.newAd,d=a.pageID,e=a.productType,f=a.targetID;return function(a,g){var i=c!=null?c?"create":"edit":null;h.onReady(function(c){c.logBoostedComponentCometFalcoEvent({action:"enter",context:"flow",eligibility_rule:a,entry_point:b,event:"enter_flow_click",extra_data:j(g),flow:i,page_id:d,post_id:f,product:e,side:"user_action"})})}}function e(a){var b=a.entryPoint,c=a.newAd,d=a.pageID,e=a.productType,f=a.targetID;return function(a,g){var i=c!=null?c?"create":"edit":null;h.onReady(function(c){c.logBoostedComponentCometFalcoEvent({action:"hover",context:"button",eligibility_rule:a,entry_point:b,event:"enter_flow_hover",extra_data:j(g),flow:i,page_id:d,post_id:f,product:e,side:"user_action"})})}}g.safeStringConversionLWIFalco=a;g.safeNumConversionLWIFalco=i;g.getFalcoDataFromLiteLoggerData=b;g.getFalcoExtraData=j;g.getLogEnterFlowClick=d;g.getLogEnterFlowHover=e}),98);
__d("LWICometProductPickerRootQuery_facebookRelayOperation",[],(function(a,b,c,d,e,f){e.exports="7208240802609633"}),null);
__d("LWIOmniButton.react",["cr:12080","react","vulture"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||d("react");e=i.forwardRef(a);function a(a,d){a=babelHelpers["extends"]({},a);c("vulture")("83Cj60NJJLb");return i.jsx(b("cr:12080"),babelHelpers["extends"]({},a,{ref:d}))}a.displayName=a.name+" [from "+f.id+"]";d=e;g["default"]=d}),98);
__d("LWITetraButtonBase.react",["TetraButton.react","TetraIcon.react","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||d("react");a=i.forwardRef(function(a,b){var d=a.addOnSecondary;a.shouldNotFill;a.variantOverride;a=babelHelpers.objectWithoutPropertiesLoose(a,["addOnSecondary","shouldNotFill","variantOverride"]);return i.jsx(c("TetraButton.react"),babelHelpers["extends"]({},a,{addOnSecondary:d!=null?i.jsx(c("TetraIcon.react"),{color:d.color,icon:d.icon}):void 0,ref:b}))});g["default"]=a}),98);
__d("XCometPageShopsControllerRouteBuilder",["jsRouteBuilder"],(function(a,b,c,d,e,f,g){a=c("jsRouteBuilder")("/{vanity}/shop/",Object.freeze({ref:"",preview:!1}),void 0);b=a;g["default"]=b}),98);
__d("idToLWIAssetID.entrypointutils",[],(function(a,b,c,d,e,f){"use strict";a=function(a){return a==null?null:{id:a}};b=a;f["default"]=b}),66);/*FB_PKG_DELIM*/
__d("MWChatEncryptedBackupsLogging",["MWEBODSCategory","MWEBODSEntityKey.enum","ODS","QPLUserFlow"],(function(a,b,c,d,e,f,g){"use strict";var h;function i(a){var b=a.cancelEndPoint,d=a.event;a=a.source;a!=null&&c("QPLUserFlow").addAnnotations(d,{string:{source:a}});c("QPLUserFlow").addPoint(d,"cancel");c("QPLUserFlow").addAnnotations(d,{string:{cancel_end_point:b}});c("QPLUserFlow").endCancel(d)}function a(a){var b=a.event,d=a.onClose;a=a.source;a!=null&&c("QPLUserFlow").addAnnotations(b,{string:{source:a}});i({cancelEndPoint:"dialog_x_button",event:b});d()}function b(a){var b=a.annotations,e=a.event;a=a.odsEntityName;c("QPLUserFlow").addPoint(e,"success");c("QPLUserFlow").endSuccess(e,{annotations:b});a&&(h||(h=d("ODS"))).bumpEntityKey(c("MWEBODSCategory"),a,c("MWEBODSEntityKey.enum").SUCCESS)}function e(a){var b=a.annotations,e=a.errorName,f=a.event,g=a.odsEntityKey;a=a.odsEntityName;c("QPLUserFlow").addPoint(f,"failure");c("QPLUserFlow").endFailure(f,e,{annotations:b});a&&(h||(h=d("ODS"))).bumpEntityKey(c("MWEBODSCategory"),a,(f=g)!=null?f:c("MWEBODSEntityKey.enum").FAIL)}g.cancelFlow=i;g.closeDialogCancelFlow=a;g.endSuccess=b;g.endFailure=e}),98);
/**
 * License: https://www.facebook.com/legal/license/ZMc_bSwzLKC/
 */
__d("ristretto255-0.1.1",["tweetnacl-1.0.3"],(function(a,b,c,d,e,f,g){var h=c("tweetnacl-1.0.3")();Uint8Array.prototype.slice||Object.defineProperty(Uint8Array.prototype,"slice",{value:function(a,b){return new Uint8Array(Array.prototype.slice.call(this,a,b))}});c={};var i=h.lowlevel,j=i.gf([1]);function k(){return[i.gf(),i.gf(),i.gf(),i.gf()]}var l=new Uint8Array([226,242,174,10,106,188,78,113,168,132,169,97,197,0,81,95,88,227,11,106,165,130,221,141,182,166,89,69,224,141,45,118]),m=new Float64Array([235,211,245,92,26,99,18,88,214,156,247,162,222,249,222,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16]);function n(a,b,c){var d=new Float64Array(64);for(var e=0;e<32;e++)for(var f=0;f<32;f++)d[e+f]+=b[e]*c[f];i.modL(a,d)}function o(a,b){n(a,b,b)}function p(a,b){for(var c=0;c<32;c++)a[c]=b[c];for(c=251;c>=0;c--)o(a,a),(m[c>>3]>>(c&7)&1)!==0&&n(a,a,b)}var q=i.gf([41136,18958,6951,50414,58488,44335,6150,12099,55207,15867,153,11085,57099,20417,9344,11139]),r=i.gf([11803,18811,63136,32407,21693,7032,36364,44957,53757,12789,64713,3900,18604,11139,12735,14185]),s=i.gf([16618,32861,64938,39368,29374,23105,5655,40239,55360,65025,31633,5826,64674,53167,35077,30828]),t=i.gf([49526,37983,2497,57980,13583,52574,41272,11393,57316,48752,43997,39316,57559,45747,29352,656]),u=i.gf([19744,17645,23210,12717,6553,45086,18988,53918,20203,21147,54063,19676,8769,63084,45946,22888]);function v(a){var b=new Uint8Array(32);i.pack25519(b,a);a=1;for(var c=0;c<32;c++)a&=b[c]===0;return a}function w(a,b,c){var d;c=-c;for(var e=0;e<16;e++)d=a[e]^b[e],d&=c,a[e]^=d}function x(a){var b=new Uint8Array(32);i.pack25519(b,a);return b[0]&1}function y(a,b){i.Z(a,i.gf(),b)}function z(a,b,c){var d=i.gf();y(d,b);i.set25519(a,b);w(a,d,c)}function A(a,b){z(a,b,x(b))}function B(a,b,c){var d=i.gf(),e=i.gf(),f=i.gf(),g=i.gf(),h=i.gf(),j=i.gf();i.S(d,c);i.M(d,d,c);i.S(a,d);i.M(a,a,c);i.M(a,a,b);i.pow2523(a,a);i.M(a,a,d);i.M(a,a,b);i.S(e,a);i.M(e,e,c);i.Z(f,e,b);i.A(g,e,b);i.M(h,b,q);i.A(h,e,h);d=v(f);c=v(g);b=v(h);i.M(j,a,q);w(a,j,c|b);A(a,a);return d|c}function C(a){var b=i.gf(),c=i.gf(),d=i.gf(),e=i.gf(),f=i.gf(),g=i.gf(),h=i.gf(),k=i.gf(),l=i.gf(),m=i.gf(),n=i.gf(),o=i.gf(),p=i.gf(),r=i.gf(),t=i.gf(),u=i.gf(),v=i.gf(),y=0,C=new Uint8Array(32);i.A(m,a[2],a[1]);i.Z(v,a[2],a[1]);i.M(m,m,v);i.M(n,a[0],a[1]);i.S(o,n);i.M(o,m,o);B(f,j,o);i.M(b,f,m);i.M(c,f,n);i.M(u,b,c);i.M(u,u,a[3]);i.M(g,a[0],q);i.M(h,a[1],q);i.M(e,b,s);i.M(l,a[3],u);y=x(l);p=i.gf(a[0]);r=i.gf(a[1]);d=i.gf(c);w(p,h,y);w(r,g,y);w(d,e,y);i.M(t,p,u);z(r,r,x(t));i.Z(k,a[2],r);i.M(k,d,k);A(k,k);i.pack25519(C,k);return C}function D(a){var b=a[31]&127^127;for(var c=30;c>0;c--)b|=a[c]^255;b=(b|0>>>0)-1>>8;c=237-1-(a[0]|0>>>0)>>8;return 1-((b&c|a[0])&1|(a[31]&255)>>7)}function E(a,b){var c=i.gf(),d=i.gf(),e=i.gf(),f=i.gf(),g=i.gf(),h=i.gf(),k=i.gf(),l=i.gf(),m=i.gf(),n=i.gf();if(D(b)===0)return-1;i.unpack25519(e,b);i.S(f,e);i.set25519(g,j);i.Z(g,g,f);i.S(k,g);i.set25519(h,j);i.A(h,h,f);i.S(l,h);i.M(m,i.D,k);y(m,m);i.Z(m,m,l);i.M(n,m,l);i.set25519(d,j);b=B(c,d,n);i.M(a[0],c,h);i.M(a[1],c,a[0]);i.M(a[1],a[1],m);i.M(a[0],a[0],e);i.A(a[0],a[0],a[0]);A(a[0],a[0]);i.M(a[1],g,a[1]);i.set25519(a[2],j);i.M(a[3],a[0],a[1]);return-(1-b|x(a[3])|v(a[1]))}function F(a,b){var c=i.gf(),d=i.gf(),e=i.gf(),f=i.gf(),g=i.gf(),h=i.gf(),k=i.gf(),l=i.gf(),m=i.gf(),n=i.gf(),o=i.gf(),p=i.gf(),s=i.gf(),v=i.gf();i.set25519(e,j);i.S(f,b);i.M(f,q,f);i.A(m,f,e);i.M(m,m,t);i.set25519(c,j);y(c,c);i.A(g,f,i.D);i.M(n,f,i.D);i.Z(n,c,n);i.M(n,n,g);g=1-B(h,m,n);i.M(k,h,b);A(k,k);y(k,k);w(h,k,g);w(c,f,g);i.Z(d,f,e);i.M(d,d,c);i.M(d,d,u);i.Z(d,d,n);i.A(o,h,h);i.M(o,o,n);i.M(p,d,r);i.S(l,h);i.Z(s,e,l);i.A(v,e,l);i.M(a[0],o,v);i.M(a[1],s,p);i.M(a[2],p,v);i.M(a[3],o,s)}function G(a){var b=i.gf(),c=i.gf(),d=k(),e=k();i.unpack25519(b,a.slice(0,32));i.unpack25519(c,a.slice(32,64));F(d,b);F(e,c);i.add(d,e);return d}function a(a){var b=k();i.scalarbase(b,a);return C(b)}function b(a,b){var c=k(),d=k();if(E(c,b)!==0)throw new Error("Invalid argument");i.scalarmult(d,c,a);return C(d)}function d(a){var b=k();return E(b,a)===-1?!1:!0}function H(a,b){var c=k(),d=k();if(E(c,a)===-1)throw new Error("Invalid argument");if(E(d,b)===-1)throw new Error("Invalid argument");return[c,d]}function e(a,b){a=H(a,b);b=a[0];a=a[1];i.add(b,a);return C(b)}function I(a,b){var c=i.gf();y(c,b[3]);var d=i.gf();y(d,b[0]);d=[d,b[1],b[2],c];i.add(a,d)}function g(a,b){a=H(a,b);b=a[0];a=a[1];I(b,a);return C(b)}function J(){var a=h.randomBytes(64);return G(a)}function K(a){return C(G(a))}function L(){return C(J())}function M(){var a;new Uint8Array(32);var b=0;do{a=h.randomBytes(32);a[31]&=31;var c=32,d=1;do c--,b|=a[c]-i.L[c]>>8&d,d&=(a[c]^i.L[c])-1>>8;while(c!==0)}while(b===0);return a}function N(a){var b=new Uint8Array(32);p(b,a);return b}function O(a){var b=new Float64Array(64);for(var c=0;c<32;c++)b[c]=-a[c];c=new Uint8Array(32);i.modL(c,b);return c}function P(a,b){var c=new Float64Array(64);for(var d=0;d<32;d++)c[d]=a[d]+b[d];d=new Uint8Array(32);i.modL(d,c);return d}function Q(a,b){return P(a,O(b))}function R(a,b){var c=new Uint8Array(32);n(c,a,b);return c}c.scalarMultBase=a;c.scalarMult=b;c.isValid=d;c.add=e;c.sub=g;c.fromHash=K;c.getRandom=L;c.basePoint=l;c.scalar={};c.scalar.getRandom=M;c.scalar.invert=N;c.scalar.negate=O;c.scalar.add=P;c.scalar.sub=Q;c.scalar.mul=R;c.unsafe={};c.unsafe.point={};c.unsafe.point.toBytes=C;c.unsafe.point.fromBytes=E;c.unsafe.point.fromHash=G;c.unsafe.point.sub=I;c.unsafe.point.add=i.add;c.unsafe.point.scalarMultBase=i.scalarbase;c.unsafe.point.scalarMult=i.scalarmult;c.unsafe.point.getRandom=J;c.unsafe.point.alloc=k;c.unsafe.constants={};c.unsafe.constants.LSub2=m;c.unsafe.constants.sqrtm1=q;c.unsafe.constants.sqrtadm1=r;c.unsafe.constants.invsqrtamd=s;c.unsafe.constants.onemsqd=t;c.unsafe.constants.sqdmone=u;f.exports=c}),34);
__d("ristretto255",["ristretto255-0.1.1"],(function(a,b,c,d,e,f){e.exports=b("ristretto255-0.1.1")}),null);/*FB_PKG_DELIM*/
__d("CometDirectionalDockingView.react",["cr:1619204"],(function(a,b,c,d,e,f,g){"use strict";g["default"]=b("cr:1619204")}),98);
__d("CometDirectionalDockingView.sticky.react",["$InternalEnum","BaseScrollableAreaContext","BaseViewportMarginsContext","ReactDOM","react","stylex","useMergeRefs","useResizeObserver"],(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.useContext,m=e.useEffect,n=e.useRef,o=e.useState,p={main:{position:"x7wzq59",$$css:!0}},q=b("$InternalEnum")({Down:0,Up:1}),r=Object.freeze({});function a(a){var b=a.bottom;b=b===void 0?s:b;var e=a.bottomStickyAdjustment_DO_NOT_USE,f=e===void 0?0:e;e=a.children;a.mode;var g=a.tagName;g=g===void 0?"div":g;var i=a.top,s=i===void 0?16:i;i=a.xstyle;var t=l(c("BaseScrollableAreaContext"));a=l(c("BaseViewportMarginsContext"));var u=s+a.top,v=b+a.bottom;b=o(0);a=b[0];var w=b[1];b=o(r);var x=b[0],y=b[1],z=k(function(){return t.length>0?t[t.length-1].getDOMNode():window},[t]),A=k(function(){var a=z();if(a==null)return null;if(window.HTMLElement!=null){return a instanceof HTMLElement?a.getBoundingClientRect().height:(a=a.innerHeight)!=null?a:null}return null},[z]),B=n(null),C=n(A());b=k(function(a){a=a.height;B.current=a},[]);b=c("useResizeObserver")(b);var D=n(0),E=n(null),F=n(null),G=n(null);b=c("useMergeRefs")(b,F);var H=k(function(a){a=a.top;var b=D.current,c=E.current;b=a>b?q.Down:q.Up;var e=F.current,g=G.current;if(e==null||g==null)return;D.current=a;E.current=b;if(b===c)return;c=(a=C.current)!=null?a:A();if(c==null)return;a=e.getBoundingClientRect();e=g.getBoundingClientRect();g=a.height;var h=a.top-e.top,i;if(g<c-u-v)h=0,i={top:u};else switch(b){case q.Down:a=Math.round(Math.min(u,c-v-g));i={top:a};break;case q.Up:e=Math.round(Math.min(v,c-u-g));i={bottom:e+f}}d("ReactDOM").flushSync(function(){y(function(a){if(i.top!=null&&a.top!=null&&i.top===a.top)return a;return i.bottom!=null&&a.bottom!=null&&i.bottom===a.bottom?a:(a=i)!=null?a:r}),w(h)})},[v,u,A]),I=k(function(){var a=z();return a==null?{left:0,top:0}:a instanceof HTMLElement?{left:a.scrollLeft,top:a.scrollTop}:{left:a.scrollY,top:a.scrollY}},[z]);m(function(){var a=z();if(a!=null){var b=function(){H(I())};a.addEventListener("scroll",b);return function(){a.removeEventListener("scroll",b)}}},[z,I,H]);m(function(){var a=function(){C.current=A();var a=E.current;E.current=null;var b=I();H({left:b.left,top:b.top+(a===q.Up?-1:1)})};window.addEventListener("resize",a);return function(){window.removeEventListener("resize",a)}},[I,H,A]);return j.jsxs(j.Fragment,{children:[j.jsx("div",{ref:G,style:{height:a}}),j.jsx(g,{className:(h||(h=c("stylex")))(i,p.main),ref:b,style:x,children:e})]})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
__d("CometHeaderContentArea.react",["CometEntityHeaderScrollToContext","CometRouteRenderType","CometRouterFocusRegion.react","CometSection.react","CometVisualCompletion","react","stylex"],(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.useMemo,m=e.useRef,n={content:{display:"x78zum5",flexDirection:"xdt5ytf",flexGrow:"x1iyjqo2",$$css:!0},content_DEPRECATED:{alignItems:"x6s0dn4",display:"x78zum5",flexDirection:"xdt5ytf",maxWidth:"x193iq5w",$$css:!0}};function b(b){var e=b.children,f=b.header,g=b.scrollKey;b=b.useDeprecatedStyles;b=b===void 0?!1:b;var i=d("CometRouteRenderType").useIsPushView(),o=m(null),p=m(null),q=k(function(b,d){var e=p.current;p.current=g;if(g!=null&&g===e)return;if(o.current==null)return;if(o.current.offsetWidth<940)return;if(b.current!=null&&((e=o.current)==null?void 0:e.contains(b.current))){e=i?-60:0;b=b.current;while(b!=null&&o.current.contains(b))e+=b.offsetTop,b=b.offsetParent;e+=(b=d)!=null?b:0;try{a.scrollTo({behavior:"auto",left:a.pageXOffset,top:e})}catch(b){a.scrollTo(a.pageXOffset,e)}c("CometVisualCompletion").setInitialScrollY(e)}},[i,g]),r=l(function(){return{scrollToTop:q}},[q]);return j.jsxs(c("CometSection.react"),{className:"x78zum5 xdt5ytf x1t2pt76 x1n2onr6",ref:o,role:"main",testid:void 0,children:[j.jsx(c("CometEntityHeaderScrollToContext").Provider,{value:r,children:f}),j.jsx("div",{className:(h||(h=c("stylex")))(b?n.content_DEPRECATED:n.content),"data-testid":void 0,children:j.jsx(c("CometRouterFocusRegion.react"),{children:e})})]})}b.displayName=b.name+" [from "+f.id+"]";g["default"]=b}),98);
__d("CometResponsiveColumns.react",["BaseRow.react","BaseRowItem.react","CometFeedWidthStyles","react","stylex"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=i||d("react"),k={container:{boxSizing:"x9f619",maxWidth:"x193iq5w",width:"xh8yej3",$$css:!0},containerPadding:{paddingStart:"x1swvt13",paddingLeft:null,paddingRight:null,paddingEnd:"x1pi30zi",$$css:!0},content:{alignItems:"x1qjc9v5",display:"x78zum5",flexDirection:"x1q0g3np",flexWrap:"x1a02dak",justifyContent:"xl56j7k",$$css:!0},negativeMargin:{marginTop:"x9otpla",marginEnd:"x1n0m28w",marginBottom:"x1wsgfga",marginStart:"xp7jhwk",$$css:!0},reverse:{flexWrap:"x8hhl5t",$$css:!0}},l=d("CometFeedWidthStyles").getResponsiveColumnWidthStyles();function a(a){var b=a.children,d=a.containerWidth,e=a.reverseColumns;e=e===void 0?!1:e;var f=a.testid;f=a.xstyle;a=babelHelpers.objectWithoutPropertiesLoose(a,["children","containerWidth","reverseColumns","testid","xstyle"]);return j.jsx("div",babelHelpers["extends"]({},a,{className:(h||(h=c("stylex")))(k.container,d==="DEFAULT"&&l.container,d==="DEFAULT"&&k.containerPadding,f),"data-testid":void 0,children:j.jsx(c("BaseRow.react"),{xstyle:[k.content,e&&k.reverse,k.negativeMargin],children:b})}))}a.displayName=a.name+" [from "+f.id+"]";var m={base:{marginTop:"x1xmf6yo",marginEnd:"x1emribx",marginBottom:"x1e56ztr",marginStart:"x1i64zmx",":empty_display":"xjl7jj",$$css:!0}};function b(a){var b=a.children,d=a.columnType,e=a.xstyle;a=babelHelpers.objectWithoutPropertiesLoose(a,["children","columnType","xstyle"]);return j.jsx(c("BaseRowItem.react"),babelHelpers["extends"]({},a,{expanding:!0,useDeprecatedStyles:!0,xstyle:[m.base,d==="FEED"&&l.FEED,d==="FULL"&&l.FULL,d==="SECONDARY"&&l.SECONDARY,e],children:b}))}b.displayName=b.name+" [from "+f.id+"]";g.Container=a;g.Column=b}),98);
__d("CometStickyHeaderContentArea.react",["BaseStickyHeader.react","BaseViewportMarginsAddonContextProvider.react","CometAppNavigationConstants","CometAppNavigationTabBarContainer.react","CometHeaderContentArea.react","CometRouteRenderType","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||d("react"),j={tabBar:{zIndex:"xhtitgo",$$css:!0}};function a(a){var b=a.headerHeight;b=b===void 0?60:b;var e=a.showTabContainerOnPushView;e=e===void 0?!1:e;a=babelHelpers.objectWithoutPropertiesLoose(a,["headerHeight","showTabContainerOnPushView"]);var f=d("CometRouteRenderType").useIsPushView();b=i.jsx(c("CometHeaderContentArea.react"),babelHelpers["extends"]({},a,{children:i.jsx(c("BaseViewportMarginsAddonContextProvider.react"),{addon:b,children:a.children})}));return e&&f?i.jsxs(i.Fragment,{children:[i.jsx(c("BaseStickyHeader.react"),{xstyle:j.tabBar,children:i.jsx(c("CometAppNavigationTabBarContainer.react"),{})}),i.jsx(c("BaseViewportMarginsAddonContextProvider.react"),{addon:d("CometAppNavigationConstants").HEADER_HEIGHT,children:b})]}):b}a.displayName=a.name+" [from "+f.id+"]";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);/*FB_PKG_DELIM*/
__d("NullStateMessages",["cr:3581"],(function(a,b,c,d,e,f,g){"use strict";g["default"]=b("cr:3581")}),98);
__d("CometMarketplaceYouActionContentNullState.react",["CometColumn.react","CometColumnItem.react","FDSNullState.react","NullStateMessages","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=(h||(h=d("react"))).c,j=h;function a(a){var b=i(12),d,e;b[0]!==a?(d=a.icon,e=babelHelpers.objectWithoutPropertiesLoose(a,["icon"]),b[0]=a,b[1]=d,b[2]=e):(d=b[1],e=b[2]);a=d===void 0?c("NullStateMessages"):d;b[3]!==e.body||b[4]!==e.message||b[5]!==a?(d=j.jsx(c("CometColumnItem.react"),{children:j.jsx(c("FDSNullState.react"),{body:e.body,headline:e.message,icon:a})}),b[3]=e.body,b[4]=e.message,b[5]=a,b[6]=d):d=b[6];b[7]!==e.cta?(a=e.cta!=null?j.jsx(c("CometColumnItem.react"),{children:e.cta}):null,b[7]=e.cta,b[8]=a):a=b[8];b[9]!==d||b[10]!==a?(e=j.jsxs(c("CometColumn.react"),{children:[d,a]}),b[9]=d,b[10]=a,b[11]=e):e=b[11];return e}g["default"]=a}),98);
__d("LSFetchBackupsMetadata",["LSAppendDataTraceAddon","LSCreateDataTrace","LSCreateDataTraceID.nop","LSFlushDataTrace.nop","LSIsMobileClient","LSIssueNewEbTaskAndGetTaskIDV2","LSLogMebClientEvent.nop","gkx","justknobx"],(function(a,b,c,d,e,f,g){function a(){var a=arguments,d=a[a.length-1],e=[],f=[];return d.sequence([function(f){return d.sequence([function(f){return e[0]=d.i64.of_float(Date.now()),function(a){d.logger(a).info(a)}("[EncryptedBackups][LSEncryptedBackupsFetchBackupsMetadataStoredProcedure] Beginning execution."),(c("gkx")("23657")||c("gkx")("26375"))&&c("justknobx")._("1101")?d.sequence([function(c){return a[0]!==void 0?d.resolve(e[7]=a[0]):d.sequence([function(a){return d.islc(d.filter(d.db.table(168).fetch(),function(a){return d.i64.eq(a.authorityLevel,d.i64.cast([0,80]))&&d.i64.eq(a.backupTenancy,d.i64.cast([0,2]))}),0,d.i64.to_float(d.i64.cast([0,1]))).next().then(function(a,b){b=a.done;a=a.value;return b?e[10]=!1:(a.item,e[10]=!0)})},function(a){return e[10]?e[12]=d.i64.or_(d.i64.cast([0,86]),d.i64.cast([0,128])):e[12]=d.i64.cast([0,86]),d.sequence([function(a){return d.nativeOperation(b("LSCreateDataTraceID.nop")).then(function(a){return a=a,e[14]=a[0],a})},function(a){return d.sequence([function(a){return e[18]="EncryptedBackups MCD Trace ID",e[19]=d.i64.to_string(e[12]),e[17]="",function(a){d.logger(a).info(a)}(["[EncryptedBackups][MEBTraceUtils] ",e[17],e[18],e[17],e[19]].join("")),d.resolve()},function(a){return d.storedProcedure(b("LSCreateDataTrace"),e[14],void 0,void 0,"backup_metadata",e[12])}])},function(a){return d.storedProcedure(b("LSIsMobileClient")).then(function(a){return a=a,e[15]=a[0],a})},function(a){return e[15]?e[16]=!0:e[16]=!1,e[16]&&!0?(function(a){d.logger(a).mustfix(a)}("[EncryptedBackups][MEBTraceUtils] LSDataTraceMciTraceLog native op not supported"),e[17]=d.createArray(),void 0!==void 0?e[18]=(e[17].push(void 0),e[17]):0,d.nativeOperation(b("LSLogMebClientEvent.nop"),"MEBTraceUtils","LSDataTraceMciTraceLog native op not supported",e[17],d.i64.cast([0,3]))):d.resolve()},function(a){return e[13]=e[14]}])},function(a){return e[7]=e[13]}])},function(a){return d.sequence([function(a){return e[7]!==void 0?d.storedProcedure(b("LSAppendDataTraceAddon"),e[7],d.i64.cast([0,1478]),d.i64.cast([0,2]),void 0,void 0):d.resolve()},function(a){return d.storedProcedure(b("LSIsMobileClient")).then(function(a){return a=a,e[10]=a[0],a})},function(a){return e[10]?e[11]=!0:e[11]=!1,e[11]&&!0?(function(a){d.logger(a).mustfix(a)}("[EncryptedBackups][MEBTraceUtils] LSDataTraceMciTraceLog native op not supported"),e[12]=d.createArray(),void 0!==void 0?e[13]=(e[12].push(void 0),e[12]):0,d.nativeOperation(b("LSLogMebClientEvent.nop"),"MEBTraceUtils","LSDataTraceMciTraceLog native op not supported",e[12],d.i64.cast([0,3]))):d.resolve()}])},function(a){return d.forEach(d.db.table(196).fetch(),function(a){return a["delete"]()})},function(a){return d.db.table(172).fetch([[[d.i64.cast([0,1])]]]).next().then(function(a,b){var c=a.done;a=a.value;return c?e[8]=void 0:(b=a.item,e[8]=b.backupId)})},function(a){return d.i64.neq(e[8],void 0)?d.sequence([function(a){return d.forEach(d.filter(d.db.table(196).fetch([[[e[8]]]]),function(a){return d.i64.eq(a.backupId,e[8])&&d.i64.lt(a.authorityLevel,d.i64.cast([0,20]))}),function(a){return a["delete"]()})},function(a){return d.db.table(196).add({backupId:e[8],authorityLevel:d.i64.cast([0,20]),backupSize:d.i64.cast([0,0]),creationTime:d.i64.cast([0,0]),lastSyncTime:d.i64.cast([0,0])})},function(a){return e[10]=new d.Map(),e[10].set("trace_id",e[7]),e[11]=d.toJSON(e[10]),d.storedProcedure(b("LSIssueNewEbTaskAndGetTaskIDV2"),"encrypted_backups_setup",d.i64.cast([0,50022]),e[11],d.i64.cast([0,0]),d.i64.cast([0,93]),d.i64.cast([0,0]),e[7],d.i64.cast([0,0])).then(function(a){return a=a,e[12]=a[0],a})}]):d.sequence([function(a){return e[10]="Backup is not initialized",e[10]!==void 0?d.sequence([function(a){return e[12]=["[EncryptedBackups][LSEncryptedBackupsFetchBackupsMetadataStoredProcedure] ","",e[10]].join(""),function(a){d.logger(a).mustfix(a)}(e[12]),e[11]=d.createArray(),e[7]!==void 0?e[13]=(e[11].push(e[7]),e[11]):0,d.nativeOperation(b("LSLogMebClientEvent.nop"),"LSEncryptedBackupsFetchBackupsMetadataStoredProcedure",e[10],e[11],d.i64.cast([0,3]))},function(a){return d.sequence([function(a){return e[7]!==void 0?d.sequence([function(a){return e[7]!==void 0?d.storedProcedure(b("LSAppendDataTraceAddon"),e[7],d.i64.cast([0,85]),d.i64.cast([0,2]),e[12],void 0):d.resolve()},function(a){return d.storedProcedure(b("LSIsMobileClient")).then(function(a){return a=a,e[15]=a[0],a})},function(a){return e[15]?e[16]=!0:e[16]=!1,e[16]&&!0?(function(a){d.logger(a).mustfix(a)}("[EncryptedBackups][MEBTraceUtils] LSDataTraceMciTraceLog native op not supported"),e[17]=d.createArray(),void 0!==void 0?e[18]=(e[17].push(void 0),e[17]):0,d.nativeOperation(b("LSLogMebClientEvent.nop"),"MEBTraceUtils","LSDataTraceMciTraceLog native op not supported",e[17],d.i64.cast([0,3]))):d.resolve()}]):d.resolve()},function(a){return e[7]!==void 0?d.nativeOperation(b("LSFlushDataTrace.nop"),e[7]):d.resolve()},function(a){return d.storedProcedure(b("LSIsMobileClient")).then(function(a){return a=a,e[13]=a[0],a})},function(a){return e[13]?e[14]=!0:e[14]=!1,e[14]&&!0?(function(a){d.logger(a).mustfix(a)}("[EncryptedBackups][MEBTraceUtils] LSDataTraceMciTraceLog native op not supported"),e[15]=d.createArray(),void 0!==void 0?e[16]=(e[15].push(void 0),e[15]):0,d.nativeOperation(b("LSLogMebClientEvent.nop"),"MEBTraceUtils","LSDataTraceMciTraceLog native op not supported",e[15],d.i64.cast([0,3]))):d.resolve()}])}]):d.sequence([function(a){return e[7]!==void 0?d.sequence([function(a){return e[7]!==void 0?d.storedProcedure(b("LSAppendDataTraceAddon"),e[7],d.i64.cast([0,85]),d.i64.cast([0,2]),["[EncryptedBackups][LSEncryptedBackupsFetchBackupsMetadataStoredProcedure] ","",""].join(""),void 0):d.resolve()},function(a){return d.storedProcedure(b("LSIsMobileClient")).then(function(a){return a=a,e[13]=a[0],a})},function(a){return e[13]?e[14]=!0:e[14]=!1,e[14]&&!0?(function(a){d.logger(a).mustfix(a)}("[EncryptedBackups][MEBTraceUtils] LSDataTraceMciTraceLog native op not supported"),e[15]=d.createArray(),void 0!==void 0?e[16]=(e[15].push(void 0),e[15]):0,d.nativeOperation(b("LSLogMebClientEvent.nop"),"MEBTraceUtils","LSDataTraceMciTraceLog native op not supported",e[15],d.i64.cast([0,3]))):d.resolve()}]):d.resolve()},function(a){return e[7]!==void 0?d.nativeOperation(b("LSFlushDataTrace.nop"),e[7]):d.resolve()},function(a){return d.storedProcedure(b("LSIsMobileClient")).then(function(a){return a=a,e[11]=a[0],a})},function(a){return e[11]?e[12]=!0:e[12]=!1,e[12]&&!0?(function(a){d.logger(a).mustfix(a)}("[EncryptedBackups][MEBTraceUtils] LSDataTraceMciTraceLog native op not supported"),e[13]=d.createArray(),void 0!==void 0?e[14]=(e[13].push(void 0),e[13]):0,d.nativeOperation(b("LSLogMebClientEvent.nop"),"MEBTraceUtils","LSDataTraceMciTraceLog native op not supported",e[13],d.i64.cast([0,3]))):d.resolve()}])},function(a){return d.forEach(d.db.table(196).fetch(),function(a){return a["delete"]()})},function(a){return d.forEach(d.filter(d.db.table(196).fetch([[[d.i64.cast([-1,4294967295])]]]),function(a){return d.i64.eq(a.backupId,d.i64.cast([-1,4294967295]))&&d.i64.lt(a.authorityLevel,d.i64.cast([0,80]))}),function(a){return a["delete"]()})},function(a){return d.db.table(196).add({backupId:d.i64.cast([-1,4294967295]),authorityLevel:d.i64.cast([0,80]),backupSize:d.i64.cast([-1,4294967295]),creationTime:d.i64.cast([-1,4294967295]),lastSyncTime:d.i64.cast([-1,4294967295])})}])}]):d.resolve(function(a){d.logger(a).info(a)}("[EncryptedBackups][LSEncryptedBackupsFetchBackupsMetadataStoredProcedure] is_backup_metadata_enabled is disabled"))},function(a){return e[1]=d.i64.of_float(Date.now()),e[2]=d.i64.random(),e[4]="Finishing execution. Execution time: ",e[5]=d.i64.to_string(d.i64.sub(e[1],e[0])),e[6]=" ms",e[3]="",function(a){d.logger(a).info(a)}(["[EncryptedBackups][LSEncryptedBackupsFetchBackupsMetadataStoredProcedure] ",e[3],e[4],e[3],e[5],e[3],e[6]].join("")),d.i64.eq(d.i64.mod_(e[2],d.i64.cast([0,1e3])),d.i64.cast([0,0]))?(e[7]=",",e[8]=d.createArray(),void 0!==void 0?e[9]=(e[8].push(void 0),e[8]):0,d.nativeOperation(b("LSLogMebClientEvent.nop"),"LSEncryptedBackupsFetchBackupsMetadataStoredProcedure",[e[4],e[7],e[5],e[7],e[6]].join(""),e[8],d.i64.cast([0,4]))):d.resolve()}])},function(a){return d.resolve(f)}])}a.__sproc_name__="LSEncryptedBackupsFetchBackupsMetadataStoredProcedure";d=a;g["default"]=d}),98);
__d("LSFetchBackupsMetadataStoredProcedure",["LSFetchBackupsMetadata","cr:8709"],(function(a,b,c,d,e,f,g){function a(a,b){b===void 0&&(b={});var d=[];d[0]=b.traceId;return c("LSFetchBackupsMetadata").apply(void 0,d.concat([a]))}g["default"]=a}),98);
__d("LSPlatformLogout",["LSCookie","LSDatabaseSingleton","Promise","QPLUserFlow","asyncToGeneratorRuntime","cr:7155","gkx","qpl","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j,k=(j||d("react")).useCallback;function l(){return m.apply(this,arguments)}function m(){m=b("asyncToGeneratorRuntime").asyncToGenerator(function*(){if(!b("cr:7155")||c("gkx")("5547"))return;c("QPLUserFlow").start(c("qpl")._(25311266,"236"),{cancelOnUnload:!0,timeoutInMs:3e3});try{yield (h||(h=b("Promise"))).all([b("asyncToGeneratorRuntime").asyncToGenerator(function*(){var a=(yield (i||(i=d("LSDatabaseSingleton"))).LSDatabaseSingleton);yield b("cr:7155").deleteDB("logout",a)})(),d("LSCookie").clear()])}catch(a){c("QPLUserFlow").endFailure(c("qpl")._(25311266,"236"),"fail");return}c("QPLUserFlow").endSuccess(c("qpl")._(25311266,"236"))});return m.apply(this,arguments)}function a(){return k(l,[])}g.logout=l;g.useLogout=a}),98);
__d("MWEncryptedBackupsFetchBackupMetadata",["LSFactory","LSFetchBackupsMetadataStoredProcedure"],(function(a,b,c,d,e,f,g){"use strict";function a(a){return a.runInTransaction(function(a){return c("LSFetchBackupsMetadataStoredProcedure")(c("LSFactory")(a))},"readwrite",void 0,void 0,f.id+":17")}g.fetchBackupMetadata=a}),98);
__d("NullStateMessagesFB",["IconSource"],(function(a,b,c,d,e,f,g){"use strict";a={dark:new(c("IconSource"))("nullStateGlyphs","/images/comet/empty_states_icons/messages/null_states_messages_dark_mode.svg",112),"default":new(c("IconSource"))("nullStateGlyphs","/images/comet/empty_states_icons/messages/null_states_messages_gray_wash.svg",112)};g["default"]=a}),98);/*FB_PKG_DELIM*/
__d("CometFeedClickEventsLoggerProvider.react",["CometFeedClickEventsLoggerContext","react"],(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=a.children,d=a.onPress;a=j(function(a,b,c,e,f,g,h){d(a,b,c,e,f,g,h)},[d]);return i.jsx(c("CometFeedClickEventsLoggerContext").Provider,{value:a,children:b})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
__d("useCometFeedLoggingExtraFields",["CometFeedLoggingExtraFieldsContext","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=(h||d("react")).useContext;function a(){return i(c("CometFeedLoggingExtraFieldsContext"))}g["default"]=a}),98);
__d("CometFeedLoggingExtraFieldsProvider.react",["CometFeedLoggingExtraFieldsContext","react","shallowEqual","useCometFeedLoggingExtraFields","useUnsafeRef_DEPRECATED"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=i||d("react");function a(a){var b=a.children;a=a.extraFields;var d=(h||(h=c("useUnsafeRef_DEPRECATED")))({}),e=c("useCometFeedLoggingExtraFields")();e=babelHelpers["extends"]({},e,a);c("shallowEqual")(d.current,e)||(d.current=e);return j.jsx(c("CometFeedLoggingExtraFieldsContext").Provider,{value:d.current,children:b})}a.displayName=a.name+" [from "+f.id+"]";b=j.memo(a);g["default"]=b}),98);
__d("CometMetricsClickFalcoEvent",["FalcoLoggerInternal","getFalcoLogPolicy_DO_NOT_USE"],(function(a,b,c,d,e,f,g){"use strict";a=c("getFalcoLogPolicy_DO_NOT_USE")("1950603");b=d("FalcoLoggerInternal").create("comet_metrics_click",a);e=b;g["default"]=e}),98);
__d("CometFeedStoryClickLoggerImpl.react",["CometFeedClickEventsLoggerProvider.react","CometFeedLoggingExtraFieldsProvider.react","CometMetricsClickFalcoEvent","react","useMigrateURLParamsToRouteParams","uuidv4"],(function(a,b,c,d,e,f,g){"use strict";var h,i=(h||(h=d("react"))).c,j=h;function k(a,b,d,e,f,g,h){if(d==null||d==="")return;var i=c("uuidv4")(),j=e===1?"middle_click":e===2?"right_click":e===-1?"dummy_click":"",k=(e=h)!=null?e:i;c("CometMetricsClickFalcoEvent").logImmediately(function(){return{click_type:j,event_trace_id:k,extra_fields:g,href:f,tn:b.join(""),ts:a.toString(),xt:d}})}function a(a){var b=i(6);a=a.children;var d=c("useMigrateURLParamsToRouteParams")(),e=d.notif_t!=null?String(d.notif_t):null;d=d.notif_id!=null?+d.notif_id:null;var f;b[0]!==d||b[1]!==e?(f={notif_id:d,notif_type:e},b[0]=d,b[1]=e,b[2]=f):f=b[2];b[3]!==f||b[4]!==a?(d=j.jsx(c("CometFeedClickEventsLoggerProvider.react"),{onPress:k,children:j.jsx(c("CometFeedLoggingExtraFieldsProvider.react"),{extraFields:f,children:a})}),b[3]=f,b[4]=a,b[5]=d):d=b[5];return d}g["default"]=a}),98);
__d("GHLBox",["FBLogger","GhlTennisKnobsConfig","Promise","WebStorage","gkx","requireDeferred"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=c("requireDeferred")("json-bigint").__setRef("GHLBox"),k=atob("YXJlc19sYXN0X3NpZ25hbF9mbHVzaA=="),l=atob("YmR6X3BsYXliYWNrX3N0YXRl"),m=36,n=c("gkx")("20995"),o=c("GhlTennisKnobsConfig").ghlbox_log_validity_in_mins*60*1e3,p=c("GhlTennisKnobsConfig").ghlbox_initialize_in_mins*60*1e3;a=3;d=function(){return new(i||(i=b("Promise")))(function(a){j.onReady(function(b){var c=q(b,!0);b=q(b);if(c===0&&b===0)return a(!1);if(c!==b){r(Date.now());return a(!0)}return Date.now()-b<=o?a(!0):a(!1)})})};var q=function(a,b){b===void 0&&(b=!1);var d=(h||(h=c("WebStorage"))).getLocalStorageForRead();if(!d||!n)return 0;var e;if(!b){b=(b=d.getItem(k))!=null?b:"";e=Number.parseInt(b,10)}else{b=(d=(a=a.parse(d.getItem(l)))==null?void 0:a.session_key)!=null?d:"";e=Number.parseInt(b,m)}return!Number.isFinite(e)?0:e};e=function(){var a=(h||(h=c("WebStorage"))).getLocalStorage();if(!a||!n)return;if(a.getItem(k)!==null)return;if(a.getItem(l)!==null)return;r(Date.now()-p)};var r=function(a){j.onReady(function(b){var d=(h||(h=c("WebStorage"))).getLocalStorage();if(d&&n){var e=a.toString();try{d.setItem(k,e)}catch(a){c("FBLogger")("GHLBox").warn("Exception while writing to local storage exception: %s, tss: %s, tss.length: (%d)",a,e,e.length)}e={session_key:a.toString(m),buffer_length:60};d.setItem(l,b.stringify(e))}})};f=r;d=d;e=e;g.MinimumHiddenAdsToUpdateLocalStorage=a;g.s=f;g.r=d;g.i=e}),98);
__d("ghlInternalBumpODSKey",["ODS"],(function(a,b,c,d,e,f,g){"use strict";var h;function a(a,b){return(h||(h=d("ODS"))).bumpEntityKey(2966,"feed_ads",a+"."+b)}g["default"]=a}),98);
__d("ghlTestUBTFacebook",["ConstUriUtils","GHLBox","Promise","cr:1088657","ghlInternalBumpODSKey","promiseDone","unrecoverableViolation"],(function(a,b,c,d,e,f,g){"use strict";var h,i=function(a){a=d("ConstUriUtils").getUri(a);if(a==null)throw c("unrecoverableViolation")("URI cannot be null in ghlTestUBTFacebook.","ad_blocker_defense_ghost_owl");return a},j=function(a){return new(h||(h=b("Promise")))(function(b){var c=window.atob,d=document.body;if(c==null||d==null){b(!1);return}var e=document.createElement("div");e.className=a.map(c).join(" ");d.appendChild(e);c=m(e);if(c&&c.MozBinding&&c.MozBinding.startsWith("url")){setTimeout(function(){return b(e.clientWidth===0)},5e3);return}b((c==null?void 0:c.display)==="none")})},k=function(){return new(h||(h=b("Promise")))(function(a){var b=document.body;if(b==null){a(!1);return}var c=document.createElement("img");c.setAttribute("alt","");b.appendChild(c);c.onload=function(){var b=m(c);a((b==null?void 0:b.display)==="none");c.parentNode&&c.parentNode.removeChild(c)};c.onerror=function(){a(!0),c.parentNode&&c.parentNode.removeChild(c)};c.src=i("https://scontent.xx.fbcdn.net/hads-ak-prn2/1487645_6012475414660_1439393861_n.png").toString()})},l=null;a=function(a){l==null&&(q("init"),l=new(h||(h=b("Promise")))(function(a){return c("promiseDone")((h||(h=b("Promise"))).all([j(n),k(),j([o(p)]),d("GHLBox").r()]),function(b){var c=b[0],e=b[1],f=b[2];b=b[3];q("done",c,e,f);c=c||e||f;c?d("GHLBox").s(Date.now()):d("GHLBox").i();a([c,b])})})),c("promiseDone")(l,function(b){return a(b[0],b[1])}),b("cr:1088657")&&b("cr:1088657").i()};var m=function(a){return window.getComputedStyle(a)},n=["QWRCb3g=","QWQ=","YWR2ZXJ0","cG9zdC1hZHM="],o=function(a){return a[Math.floor(Math.random()*a.length)]},p=["UmVjdGFuZ2xlQWQ=","YWR2ZXJ0aXNpbmdfd2lkZ2V0","ZG93bmxvYWRfbGlua19zcG9uc29yZWQ=","c3BvbnNvclBvc3Q=","d2lkZ2V0U3BvbnNvcnM=","b2ItaG92ZXI=","ZGZwX3VuaXQ="],q=function(){for(var a=arguments.length,b=new Array(a),d=0;d<a;d++)b[d]=arguments[d];return c("ghlInternalBumpODSKey")("ghlTestUBT",String(b.join(".")))};e=a;g["default"]=e}),98);/*FB_PKG_DELIM*/
__d("CometNotificationsMutationLogger",["QuickPerformanceLogger","qpl"],(function(a,b,c,d,e,f,g){"use strict";var h,i=c("qpl")._(3473469,"7351"),j="client_action",k="status",l="seen_state",m=0;function n(a,b){var d;b===void 0&&(b=null);var e=m++;(h||(h=c("QuickPerformanceLogger"))).markerStart(i,e);h.markerAnnotate(i,{string:(d={},d[j]=a,d)},{instanceKey:e});h.markerAnnotate(i,{string:(a={},a[k]="started",a)},{instanceKey:e});h.markerAnnotate(i,{string:{environment:"MAIN_SURFACE"}},{instanceKey:e});if(b){(h||(h=c("QuickPerformanceLogger"))).markerAnnotate(i,{string:(d={},d[l]=b,d)},{instanceKey:e})}return q(e)}function o(a){var b;(h||(h=c("QuickPerformanceLogger"))).markerAnnotate(i,{string:(b={},b[k]="success",b)},{instanceKey:a});h.markerEnd(i,2,a)}function p(a,b){(h||(h=c("QuickPerformanceLogger"))).markerAnnotate(i,{string:{status:"error"}},{instanceKey:a}),h.markerAnnotate(i,{string:{error_localized_description:b==null?void 0:b.message}},{instanceKey:a}),h.markerAnnotate(i,{string:{error_domain:b==null?void 0:b.name}},{instanceKey:a}),h.markerEnd(i,87,a)}function q(a){return{logOnError:function(b){return p(a,b)},logOnSuccess:function(){return o(a)}}}function a(){return n("HIDE")}function b(){return n("MARK_ALL_AS_READ")}function d(){return n("MARK_ALL_AS_SEEN")}function e(a){return n("MARK_AS_READ",a)}function f(){return n("MARK_AS_SEEN")}function r(a){return n("MARK_AS_UNREAD",a)}function s(){return n("UNHIDE")}g.notificationHideStart=a;g.notificationMarkAllAsReadStart=b;g.notificationMarkAllAsSeenStart=d;g.notificationMarkAsReadStart=e;g.notificationMarkAsSeenStart=f;g.notificationMarkAsUnreadStart=r;g.notificationUnhideStart=s}),98);
__d("CometNotificationsRootQuery_facebookRelayOperation",[],(function(a,b,c,d,e,f){e.exports="7871352842914211"}),null);
__d("CometNotificationsRootQuery$Parameters",["CometNotificationsRootQuery_facebookRelayOperation"],(function(a,b,c,d,e,f){"use strict";a={kind:"PreloadableConcreteRequest",params:{id:b("CometNotificationsRootQuery_facebookRelayOperation"),metadata:{},name:"CometNotificationsRootQuery",operationKind:"query",text:null}};e.exports=a}),null);
__d("NotificationsStoriesEnvironmentConstants",[],(function(a,b,c,d,e,f){a=Object.freeze({MAIN_SURFACE:"MAIN_SURFACE",COMET_DESKTOP:"COMET_DESKTOP",MOBILE:"MOBILE",MOBILE_WIDGET:"MOBILE_WIDGET",LOCKSCREEN_WIDGET:"LOCKSCREEN_WIDGET",PUSH:"PUSH",EMAIL:"EMAIL",BEEPER:"BEEPER",NOTIF_HEAD:"NOTIF_HEAD",CONVERSATION_HUB:"CONVERSATION_HUB",SERVER:"SERVER",TEST:"TEST",INTERN_NOTIFS:"INTERN_NOTIFS",UNKNOWN:"UNKNOWN",ADS_UNIFIED_NAV:"ADS_UNIFIED_NAV",ADS_MANAGER_APP:"ADS_MANAGER_APP",PAGES:"PAGES",IPHONE_IMMERSIVE:"IPHONE_IMMERSIVE",GROUPS:"GROUPS",GROUPS_SOCIAL:"GROUPS_SOCIAL",GROUPS_TAB:"GROUPS_TAB",GROUP_ADDS:"GROUP_ADDS",FACEBOOK_ANALYTICS:"FACEBOOK_ANALYTICS",FACEBOOK_MENTIONS:"FACEBOOK_MENTIONS",EVENTS:"EVENTS",MARKETPLACE:"MARKETPLACE",GAMES_DESKTOP:"GAMES_DESKTOP",VIDEO_HOME:"VIDEO_HOME",VIDEO_APP:"VIDEO_APP",WATCH_QUEUE:"WATCH_QUEUE",MESSENGER_ACTIVITY_TAB:"MESSENGER_ACTIVITY_TAB",MESSENGER_PEOPLE_TAB:"MESSENGER_PEOPLE_TAB",PAGE_ADMIN_FILTER:"PAGE_ADMIN_FILTER",PAGE_ADMIN_RICH_UPDATES:"PAGE_ADMIN_RICH_UPDATES",MENTION_FILTER:"MENTION_FILTER",WATCH:"WATCH",GAMING_APP:"GAMING_APP",GAMES_APP_TOP_UNIT:"GAMES_APP_TOP_UNIT",GAMES_TAB:"GAMES_TAB",KOTOTORO_APP:"KOTOTORO_APP",CARDIEM_SURFACE:"CARDIEM_SURFACE",JOBS:"JOBS",INTL_LOCPLAT:"INTL_LOCPLAT",DEVSITE:"devsite",CREATOR_STUDIO:"CREATOR_STUDIO",CREATOR_STUDIO_MOBILE:"CREATOR_STUDIO_MOBILE",CPX_INSIGHTS_RECOMMENDATIONS:"CPX_INSIGHTS_RECOMMENDATIONS",BUSINESS_HOME:"BUSINESS_HOME",BIZAPP_ALERT:"BIZAPP_ALERT",BIZAPP:"BIZAPP",BIZ_NOTIFICATION:"BIZ_NOTIFICATION",DATING_INACTIVE_USER_WATERFALL:"DATING_INACTIVE_USER_WATERFALL",NEWS_TAB:"NEWS_TAB",NEWS_TAB_NOTIF_SHEET:"NEWS_TAB_NOTIF_SHEET",DATING_TAB:"DATING_TAB",TODAY_IN:"TODAY_IN",MEMORIES:"MEMORIES",MSGR:"MSGR",FRIENDS_TAB:"FRIENDS_TAB",IG_TOURNAMENT_MENU:"IG_TOURNAMENT_MENU",CORONAVIRUS_HUB_TAB:"CORONAVIRUS_HUB_TAB",PAGE_TAB_BADGING:"PAGE_TAB_BADGING",NEIGHBORHOODS_TAB:"NEIGHBORHOODS_TAB",CAMPUS_TAB:"CAMPUS_TAB",SHOP_TAB:"SHOP_TAB",DIRECT_SUPPORT_ADMIN_PANEL:"DIRECT_SUPPORT_ADMIN_PANEL",PRODASH_TAB:"PRODASH_TAB",BUSINESS_CONSOLE:"BUSINESS_CONSOLE",WORKSTREAM:"WORKSTREAM",PREVIEW:"PREVIEW",MOBILE_CENTER_TAB:"MOBILE_CENTER_TAB",FB_SHORTS_TAB:"FB_SHORTS_TAB",FEEDS:"FEEDS",WEARABLE_APP:"WEARABLE_APP",HORIZON:"HORIZON",COURIER:"COURIER",FEEDBACK_TILES:"FEEDBACK_TILES",WEB_DESKTOP:"WEB_DESKTOP",MESSENGER_FAMILY_CENTER:"MESSENGER_FAMILY_CENTER",FB_FAMILY_CENTER:"FB_FAMILY_CENTER",FB_EXPLORE:"FB_EXPLORE"});f["default"]=a}),66);
__d("CometNotificationsRoot.entrypoint",["CometNotificationsRootQuery$Parameters","JSResourceForInteraction","WebPixelRatio"],(function(a,b,c,d,e,f,g){"use strict";var h=15;a={getPreloadProps:function(a){a={count:h,environment:"MAIN_SURFACE",filter_tokens:(a=a==null?void 0:(a=a.passthroughProps)==null?void 0:a.filterTokens)!=null?a:[],scale:d("WebPixelRatio").get()};return{queries:{notificationsRootQueryReference:{parameters:b("CometNotificationsRootQuery$Parameters"),variables:a}}}},root:c("JSResourceForInteraction")("CometNotificationsRoot.react").__setRef("CometNotificationsRoot.entrypoint")};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||(h=d("react"))).c,j=h;function a(a){var b=i(4),d=a.date,e=a.format;a=a.seenAndRead;if(b[0]!==a||b[1]!==e||b[2]!==d){var f;f=a?j.jsx(c("TetraText.react"),{color:"secondary",testid:void 0,type:"body4",children:j.jsx(c("CometRelativeTimestamp.react"),{date:d,format:(f=e)!=null?f:"normal"})}):j.jsx(c("TetraText.react"),{color:"highlight",testid:void 0,type:"bodyLink4",children:j.jsx(c("CometRelativeTimestamp.react"),{date:d,format:(f=e)!=null?f:"normal"})});b[0]=a;b[1]=e;b[2]=d;b[3]=f}else f=b[3];return f}g["default"]=a}),98);
__d("isBusinessURI",["isFacebookURI"],(function(a,b,c,d,e,f,g){"use strict";function a(a){return c("isFacebookURI")(a)&&a.getSubdomain()==="business"}g["default"]=a}),98);
__d("useNotificationsEnvironmentFromContext",["CometNotificationsRootContext","react"],(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.source;a=(a=a)!=null?a:"MAIN_SURFACE";return a}g["default"]=a}),98);/*FB_PKG_DELIM*/
__d("LSGetLatestEpochKeys",["LSLogMebClientEvent.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(b){return d[0]=c.i64.of_float(Date.now()),function(a){c.logger(a).info(a)}("[EncryptedBackups][getLatestEpochKeys] Beginning execution."),d[1]=c.i64.of_float(Date.now()),d[2]="",d[3]=void 0,d[4]=void 0,a[0]?c.resolve(0):(d[14]=void 0,c.i64.neq(d[14],void 0)?c.db.table(169).fetch([[[d[14]]]]).next().then(function(a,b){var e=a.done;a=a.value;return e?0:(b=a.item,d[2]=c.blobs.to_string(b.epochAnonIdBlob),d[3]=b.epochId,d[4]=b.epochRootKeyBlob)}):c.resolve())},function(b){return c.i64.neq(d[3],void 0)?c.resolve(0):c.forEach(c.filter(c.db.table(169).fetch(),function(b){return a[0]||c.i64.eq(b.authorityLevel,c.i64.cast([0,80]))}),function(a){a=a.item;return d[15]=c.blobs.to_string(a.epochAnonIdBlob),c.i64.eq([0,d[15].length],[0,d[2].length])?d[14]=d[15]>d[2]:d[14]=c.i64.gt([0,d[15].length],[0,d[2].length]),d[14]?(d[2]=d[15],d[3]=a.epochId,d[4]=a.epochRootKeyBlob,d[16]=c.i64.of_float(Date.now()),0):0})},function(a){return d[10]=c.blobs.of_string(d[2]),c.i64.neq(d[3],void 0)?(c.blobs.neq(d[10],void 0)?(c.blobs.neq(d[4],void 0)?(d[18]=new c.Map(),d[18].set("epoch_id",d[3]),d[18].set("epoch_root_key",d[4]),d[18].set("epoch_anon_id",d[10]),d[19]=new c.Map(),d[19].set("epoch_keys",d[18]),a=[d[19],void 0],d[16]=a[0],d[17]=a[1],a):(d[18]=new c.Map(),d[18].set("error_code",c.i64.cast([0,402])),d[18].set("error_message","failed to query latest epoch"),d[18].set("stored_procedure","LSEncryptedBackupsGetLatestEpochKeysStoredProcedure"),a=[void 0,d[18]],d[16]=a[0],d[17]=a[1],a),a=[d[16],d[17]],d[14]=a[0],d[15]=a[1],a):(d[16]=new c.Map(),d[16].set("error_code",c.i64.cast([0,403])),d[16].set("error_message","failed to query latest epoch"),d[16].set("stored_procedure","LSEncryptedBackupsGetLatestEpochKeysStoredProcedure"),a=[void 0,d[16]],d[14]=a[0],d[15]=a[1],a),a=[d[14],d[15]],d[5]=a[0],d[6]=a[1],a):(d[14]=new c.Map(),d[14].set("error_code",c.i64.cast([0,400])),d[14].set("error_message","failed to query latest epoch"),d[14].set("stored_procedure","LSEncryptedBackupsGetLatestEpochKeysStoredProcedure"),a=[void 0,d[14]],d[5]=a[0],d[6]=a[1],a),d[7]=c.i64.of_float(Date.now()),d[8]=c.i64.random(),d[11]="Finishing execution. Execution time: ",d[12]=c.i64.to_string(c.i64.sub(d[7],d[0])),d[13]=" ms",d[9]="",function(a){c.logger(a).info(a)}(["[EncryptedBackups][getLatestEpochKeys] ",d[9],d[11],d[9],d[12],d[9],d[13]].join("")),c.i64.eq(c.i64.mod_(d[8],c.i64.cast([0,1e3])),c.i64.cast([0,0]))?(d[14]=",",d[15]=c.createArray(),void 0!==void 0?d[16]=(d[15].push(void 0),d[15]):0,c.nativeOperation(b("LSLogMebClientEvent.nop"),"getLatestEpochKeys",[d[11],d[14],d[12],d[14],d[13]].join(""),d[15],c.i64.cast([0,4]))):c.resolve()},function(a){return a=[d[5],d[6]],e[0]=a[0],e[1]=a[1],a}])},function(a){return c.resolve(e)}])}a.__sproc_name__="LSEncryptedBackupsGetLatestEpochKeysStoredProcedure";e.exports=a}),null);
__d("LSSymmetricEncryptionCreateEncryptedData.nop",["CryptoLogger","EncryptedBackupsSymmetricEncryptionUtils","HChaCha20","Promise","RetUtil","SymmetricEncryptionPaddingUtils","XPlatReactCrypto"],(function(a,b,c,d,e,f,g){"use strict";var h;a=function(a,c,e,f,g){var i=d("CryptoLogger").CryptoLogger("symmetric_encryption_create_encrypted_data"),j=d("SymmetricEncryptionPaddingUtils").padData(g),k=d("XPlatReactCrypto").getRandomValues(new Uint8Array(d("EncryptedBackupsSymmetricEncryptionUtils").totalNonceLengthInBytes));a=new(d("HChaCha20").HChaCha20)();c=a.hChaCha20Bytes(k.slice(0,d("EncryptedBackupsSymmetricEncryptionUtils").hChaCha20SubKeyNonceLengthInBytes).buffer,e);return d("XPlatReactCrypto").subtleImportKey("raw",c,"AES-GCM",!1,["encrypt"]).then(function(a){return d("XPlatReactCrypto").subtleEncrypt({additionalData:f,iv:new Uint8Array(k.slice(d("EncryptedBackupsSymmetricEncryptionUtils").hChaCha20SubKeyNonceLengthInBytes).buffer),name:"AES-GCM",tagLength:d("EncryptedBackupsSymmetricEncryptionUtils").aesGcmTagLength},a,j)}).then(function(a){var c=k.byteLength+a.byteLength;c=new Uint8Array(c);c.set(k);c.set(new Uint8Array(a),d("EncryptedBackupsSymmetricEncryptionUtils").totalNonceLengthInBytes);return(h||(h=b("Promise"))).resolve(d("RetUtil").getNullableRetResult(c.buffer))})["catch"](function(a){d("CryptoLogger").captureError(i,a).mustfix("symmetric data encryption failed");return(h||(h=b("Promise"))).resolve(d("RetUtil").getNullableRetResult())})};g["default"]=a}),98);
__d("LSSymmetricEncryptionCreateEncryptedString.nop",["Base64Utils","CryptoLogger","LSCryptoUtils","LSSymmetricEncryptionCreateEncryptedData.nop","Promise","RetUtil"],(function(a,b,c,d,e,f,g){"use strict";var h;a=function(a,e,f,g,i){var j=d("CryptoLogger").CryptoLogger("symmetric_encryption_create_encrypted_string");return c("LSSymmetricEncryptionCreateEncryptedData.nop")(a,e,f,g,d("LSCryptoUtils").strToBuf(i)).then(function(a){return a[0]}).then(function(a){return(h||(h=b("Promise"))).resolve(d("RetUtil").getNullableRetResult(a?d("Base64Utils").fromArrayBuffer(a):void 0))})["catch"](function(a){d("CryptoLogger").captureError(j,a).mustfix("symmetric string encryption failed");return(h||(h=b("Promise"))).resolve(d("RetUtil").getNullableRetResult())})};g["default"]=a}),98);/*FB_PKG_DELIM*/
__d("LSShimThreadPinMessage.nop",["FBLogger","I64","Promise","ReQL","asyncToGeneratorRuntime"],(function(a,b,c,d,e,f,g){"use strict";var h,i;a=function(){var a=b("asyncToGeneratorRuntime").asyncToGenerator(function*(a,e,f,g,j){if(j==null){c("FBLogger")("messenger_web_pinned_messages").warn("threadKey is null in LSShimThreadPinMessage");return}e=(yield d("ReQL").toArrayAsync(d("ReQL").fromTableDescending(a.client_web_pinned_messages).getKeyRange(j,f)));yield (i||(i=b("Promise"))).all(e.map(function(b){return a.client_web_pinned_messages["delete"](b.threadKey,b.offlineThreadingId,b.pinnedTimestampMs)}));yield a.client_web_pinned_messages.put({offlineThreadingId:f,pinnedTimestampMs:g||(h||(h=d("I64"))).of_float(Date.now()),threadKey:j})});function e(b,c,d,e,f){return a.apply(this,arguments)}return e}();g["default"]=a}),98);
__d("LSShimThreadUnpinMessage.nop",["FBLogger","Promise","ReQL","asyncToGeneratorRuntime"],(function(a,b,c,d,e,f,g){"use strict";var h;a=function(){var a=b("asyncToGeneratorRuntime").asyncToGenerator(function*(a,e,f,g){if(g==null){c("FBLogger")("messenger_web_pinned_messages").warn("threadKey is null in LSShimThreadUnpinMessage");return}e=(yield d("ReQL").toArrayAsync(d("ReQL").fromTableDescending(a.client_web_pinned_messages).getKeyRange(g,f)));yield (h||(h=b("Promise"))).all(e.map(function(b){return a.client_web_pinned_messages["delete"](b.threadKey,b.offlineThreadingId,b.pinnedTimestampMs)}))});function e(b,c,d,e){return a.apply(this,arguments)}return e}();g["default"]=a}),98);
__d("LSOptimisticSetOrUnsetPinnedMessage",["LSIssueNewTask","LSShimThreadPinMessage.nop","LSShimThreadUnpinMessage.nop"],(function(a,b,c,d,e,f){function a(){var a=arguments,c=a[a.length-1],d=[],e=[];return c.sequence([function(e){return c.i64.neq(a[1],void 0)?c.i64.eq(a[3],c.i64.cast([0,1]))||c.i64.eq(a[3],c.i64.cast([0,2]))?c.sequence([function(d){return c.nativeOperation(b("LSShimThreadPinMessage.nop"),a[0],a[2],a[1])},function(b){return c.db.table(9).fetch([[[a[1]]]]).next().then(function(a,b){var e=a.done;a=a.value;return e?d[0]=c.i64.cast([0,1]):(b=a.item,d[6]=b.syncGroup,c.i64.neq(d[6],void 0)?d[5]=d[6]:d[5]=c.i64.cast([0,1]),d[0]=d[5])})},function(e){return d[2]=new c.Map(),d[2].set("armadillo_thread_key",a[1]),d[2].set("offline_threading_id",a[0]),d[2].set("timestamp_ms",a[2]),d[2].set("sync_group",d[0]),d[3]=d[2].get("timestamp_ms"),d[2],d[4]=c.toJSON(d[2]),c.storedProcedure(b("LSIssueNewTask"),["e2ee_pin_msg","_",c.i64.to_string(d[3])].join(""),c.i64.cast([0,1010]),d[4],void 0,void 0,c.i64.cast([0,0]),c.i64.cast([0,0]),void 0,void 0,c.i64.cast([0,0]),c.i64.cast([0,0]))}]):c.sequence([function(d){return c.nativeOperation(b("LSShimThreadUnpinMessage.nop"),a[0],a[1])},function(b){return c.db.table(9).fetch([[[a[1]]]]).next().then(function(a,b){var e=a.done;a=a.value;return e?d[0]=c.i64.cast([0,1]):(b=a.item,d[6]=b.syncGroup,c.i64.neq(d[6],void 0)?d[5]=d[6]:d[5]=c.i64.cast([0,1]),d[0]=d[5])})},function(e){return d[2]=new c.Map(),d[2].set("armadillo_thread_key",a[1]),d[2].set("offline_threading_id",a[0]),d[2].set("timestamp_ms",a[2]),d[2].set("sync_group",d[0]),d[3]=d[2].get("timestamp_ms"),d[2],d[4]=c.toJSON(d[2]),c.storedProcedure(b("LSIssueNewTask"),["e2ee_unpin_msg","_",c.i64.to_string(d[3])].join(""),c.i64.cast([0,1011]),d[4],void 0,void 0,c.i64.cast([0,0]),c.i64.cast([0,0]),void 0,void 0,c.i64.cast([0,0]),c.i64.cast([0,0]))}]):c.resolve()},function(a){return c.resolve(e)}])}a.__sproc_name__="LSE2EEMessagingMetadataMailboxOptimisticSetOrUnsetPinnedMessageStoredProcedure";e.exports=a}),null);
__d("LSOptimisticSetOrUnsetPinnedMessageStoredProcedure",["LSOptimisticSetOrUnsetPinnedMessage","cr:8709"],(function(a,b,c,d,e,f,g){function a(a,b){var d=[];d[0]=b.offlineThreadingId;d[1]=b.threadKey;d[2]=b.timestampMs;d[3]=b.state;return c("LSOptimisticSetOrUnsetPinnedMessage").apply(void 0,d.concat([a]))}g["default"]=a}),98);
__d("LSSetOrUnsetPinnedMessage",["LSShimThreadPinMessage.nop","LSShimThreadUnpinMessage.nop"],(function(a,b,c,d,e,f){function a(){var a=arguments,c=a[a.length-1],d=[];return c.sequence([function(d){return c.i64.eq(a[2],c.i64.cast([0,1]))||c.i64.eq(a[2],c.i64.cast([0,2]))?c.nativeOperation(b("LSShimThreadPinMessage.nop"),a[0],a[1],a[3]):c.nativeOperation(b("LSShimThreadUnpinMessage.nop"),a[0],a[3])},function(a){return c.resolve(d)}])}a.__sproc_name__="LSE2EEMessagingMetadataMailboxSetOrUnsetPinnedMessageStoredProcedure";e.exports=a}),null);
__d("useMAWToggleSecurePinMessage",["I64","LSFactory","LSOptimisticSetOrUnsetPinnedMessageStoredProcedure","LSPinnedMessageState","MWPBumpEntityKey","MessengerWebUXLogger","ReQL","ServerTime","asyncToGeneratorRuntime","react","useAsyncReStore","useMWPIsMessagePinned"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=(h||d("react")).useCallback;function a(a,e){var g=c("useAsyncReStore")(),h=c("useMWPIsMessagePinned")(a),k=a.offlineThreadingId,l=a.threadKey,m=d("ServerTime").getMillis(),n=c("MessengerWebUXLogger").useInteractionLogger();a=function(){var a=b("asyncToGeneratorRuntime").asyncToGenerator(function*(){var a=(yield g),b=(yield d("ReQL").firstAsync(d("ReQL").fromTableAscending(a.tables.threads,["threadType"]).getKeyRange(l)));yield a.runInTransaction(function(a){var f=h?c("LSPinnedMessageState").NOT_PINNED:c("LSPinnedMessageState").PINNED,g=h?"unpin_message":"pin_message",j=h?"unpin":"pin";e==="message_dot_menu"?n==null?void 0:n({eventName:g,threadKey:l,threadType:b==null?void 0:b.threadType}):j==="unpin"&&e==="pinned_message_list_dot_menu"&&d("MWPBumpEntityKey").bumpEntityKeyWithAppId("mw_pinned_messages","unpin");return c("LSOptimisticSetOrUnsetPinnedMessageStoredProcedure")(c("LSFactory")(a),{offlineThreadingId:k,state:(i||(i=d("I64"))).of_int32(f),threadKey:l,timestampMs:i.of_int32(m)})},"readwrite",void 0,void 0,f.id+":51")});return function(){return a.apply(this,arguments)}}();return j(a,[g,h,l,m,k,e,n])}g["default"]=a}),98);/*FB_PKG_DELIM*/
__d("CometMenuItemSelectable_DEPRECATED.react",["ix","FDSIcon.react","FDSMenuItemBase.react","FDSMenuItemIcon.react","fbicon","react"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j=i||d("react");function k(a){return!a?null:j.jsx(c("FDSIcon.react"),{color:"highlight",icon:d("fbicon")._(h("477820"),20)})}k.displayName=k.name+" [from "+f.id+"]";b=j.forwardRef(a);function a(a,b){a=babelHelpers["extends"]({},a);a.aux;var d=a.disabled,e=a.icon,f=a.iconColor,g=a.iconStyle,h=a.isSelected,i=babelHelpers.objectWithoutPropertiesLoose(a,["aux","disabled","icon","iconColor","iconStyle","isSelected"]);if(e)return j.jsx(c("FDSMenuItemBase.react"),babelHelpers["extends"]({},i,{"aria-checked":h,aux:a.aux!=null?a.aux(h,d):k(h),disabled:d,iconNode:j.jsx(c("FDSMenuItemIcon.react"),{icon:e,iconColor:f,use:g}),ref:b}));else{e=a.aux!=null?a.aux(h,d):k(h);return j.jsx(c("FDSMenuItemBase.react"),babelHelpers["extends"]({},i,{"aria-checked":h,aux:e?j.jsx("div",{className:"xz62fqu x16ldp7u",children:e}):void 0,disabled:d,ref:b}))}}a.displayName=a.name+" [from "+f.id+"]";e=b;g["default"]=e}),98);
__d("CometTabMenu.react",["CometMenuItemSelectable_DEPRECATED.react","FDSMenu.react","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||d("react");function a(a){var b=a.ariaLabelledby,d=a.id,e=a.menuItems,f=a.menuSize;a.onClose;a=a.truncate;return i.jsx(c("FDSMenu.react"),{"aria-labelledby":b,id:d,size:f,truncate:a,children:e.map(function(a,b){var d=a["aria-label"],e=a["aria-labelledby"],f=a.badge,g=a.disabled,h=a.icon,j=a.label,k=a.linkProps,l=a.onHoverIn,m=a.onHoverOut,n=a.onPress,o=a.onPressIn,p=a.selected;a=a.tabRef;return i.jsx(c("CometMenuItemSelectable_DEPRECATED.react"),{"aria-label":d,"aria-labelledby":e,badge:f,disabled:g,href:(d=k==null?void 0:k.url)!=null?d:void 0,icon:h,isSelected:(e=p)!=null?e:!1,onClick:n,onHoverIn:l,onHoverOut:m,onPressIn:o,primaryText:j,ref:a,role:"menuitemradio",routeTarget:k==null?void 0:k.routeTarget,target:k==null?void 0:k.target,testid:void 0},b)})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
__d("CometTabMenuForPivotLinks.react",["ARIA_LABEL_PLACEHOLDER_FIXME","CometMenuItemSelectable_DEPRECATED.react","FDSMenu.react","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||d("react");function a(a){var b=a.menuItems;a.onClose;return i.jsx(c("FDSMenu.react"),{"aria-label":c("ARIA_LABEL_PLACEHOLDER_FIXME"),size:"full",children:b.map(function(a,b){var d=a.disabled,e=a.image,f=a.label,g=a.linkProps,h=a.onHoverIn,j=a.onHoverOut,k=a.onPress,l=a.onPressIn;a=a.selected;e=(e==null?void 0:e.type)==="icon"?e.icon:null;return i.jsx(c("CometMenuItemSelectable_DEPRECATED.react"),{disabled:d,href:(d=g==null?void 0:g.url)!=null?d:void 0,icon:e,isSelected:(d=a)!=null?d:!1,onClick:k,onHoverIn:h,onHoverOut:j,onPressIn:l,primaryText:f!=null?f:"",role:"menuitemradio",routeTarget:g==null?void 0:g.routeTarget,target:g==null?void 0:g.target,testid:void 0},b)})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
__d("CometVideoHomeSurfaceHighlightsLoggingUtils",["VideoHomeTypedLiteLogger"],(function(a,b,c,d,e,f,g){"use strict";function a(a,b,d){c("VideoHomeTypedLiteLogger").log({attribution_id_v2:d,badge_type:a,click_target:"notif_hub_update",event:"click",event_target:"notif_hub",player_origin:"video_home",player_suborigin:"notif_hub",section_video_channel_type:b,tab_type:"www_updates_surface"})}function b(a,b,d){c("VideoHomeTypedLiteLogger").log({attribution_id_v2:d,badge_type:a,event:"vpv_duration",event_target:"notif_hub",player_origin:"video_home",player_suborigin:"notif_hub",section_video_channel_type:b,tab_type:"www_updates_surface"})}g.logBadgeCardClick=a;g.logBadgeCardImpression=b}),98);
__d("firstKeyWithValue",[],(function(a,b,c,d,e,f){"use strict";function a(a,b){for(var c in a){var d=c;if(Object.prototype.hasOwnProperty.call(a,d)&&a[d]===b)return d}return null}f["default"]=a}),66);
__d("randomShuffle",["randomInt"],(function(a,b,c,d,e,f,g){function a(a,b,d){b===void 0&&(b=0);d===void 0&&(d=0);if(b>a.length-1-d)return a;for(d=a.length-1-d;d>b;d--){var e=c("randomInt")(d+1);if(e!==d){var f=a[e];a[e]=a[d];a[d]=f}}return a}g["default"]=a}),98);/*FB_PKG_DELIM*/
__d("CometGroupReshareComposerQuery_facebookRelayOperation",[],(function(a,b,c,d,e,f){e.exports="8517195781642905"}),null);
__d("useCometTypeaheadLayoutInlineStrategyARIAProps",["react","useCometInternalTypeaheadFetch","useCometInternalTypeaheadState","useCometTypeaheadViewLabel"],(function(a,b,c,d,e,f,g){"use strict";var h;b=h||d("react");var i=b.useId,j=b.useMemo;function a(a){var b=a.helperText,d=a.inputLabel,e=d===void 0?"":d,f=a.viewRole,g=i();d=c("useCometInternalTypeaheadFetch")();var h=d.isLoading;a=c("useCometInternalTypeaheadState")();d=a.activeEntries;var k=c("useCometTypeaheadViewLabel")({activeEntries:d}),l=j(function(){var a={"aria-label":e,role:"textbox"};b!=null&&String(b).length>0&&(a=babelHelpers["extends"]({},a,{"aria-describedby":g}));return a},[g,b,e]),m=j(function(){return{"aria-busy":h,"aria-label":k,role:f}},[h,k,f]);return j(function(){return{ariaDescribedByProps:{id:g},ariaInputProps:l,ariaViewProps:m}},[g,l,m])}g["default"]=a}),98);
__d("CometTypeaheadLayoutInlineStrategy.react",["CometTypeaheadHelperText.react","CometTypeaheadInternalLayoutInlineStrategy.react","react","useBaseTypeaheadLayoutContextualStrategyStateContext","useCometInternalTypeaheadFetch","useCometTypeaheadInputRefs","useCometTypeaheadInternalLayoutInlineStrategyHandlers","useCometTypeaheadLayoutInlineStrategyARIAProps"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||(h=d("react")),j=h.useEffect,k={view:{backgroundColor:"x1jx94hy",boxSizing:"x9f619",display:"x78zum5",flexDirection:"xdt5ytf",flexGrow:"x1iyjqo2",$$css:!0}};function a(a){var b=a.extraLayoutProps,d=a.helperText,e=a.inputRef,f=a.label,g=a.onBlur,h=a.onChange,l=a.onDownArrow,m=a.onEnter,n=a.onEscape,o=a.onHighlightEntry,p=a.onOutsideClick,q=a.onPressEntry,r=a.onUpArrow,s=a.viewRole,t=a.xstyles;a=babelHelpers.objectWithoutPropertiesLoose(a,["extraLayoutProps","helperText","inputRef","label","onBlur","onChange","onDownArrow","onEnter","onEscape","onHighlightEntry","onOutsideClick","onPressEntry","onUpArrow","viewRole","xstyles"]);var u=c("useCometInternalTypeaheadFetch")();u=u.isLoading;var v=c("useBaseTypeaheadLayoutContextualStrategyStateContext")(),w=v.dispatchIsOpened;j(function(){w(!0)},[w]);v=c("useCometTypeaheadInputRefs")(e);e=v.composedRef;v=v.inputRef;v=c("useCometTypeaheadInternalLayoutInlineStrategyHandlers")({inputRef:v,onBlur:g,onChange:h,onDownArrow:l,onEnter:m,onEscape:n,onHighlightEntry:o,onOutsideClick:p,onPressEntry:q,onUpArrow:r});g=c("useCometTypeaheadLayoutInlineStrategyARIAProps")({helperText:d,inputLabel:f,viewRole:s});return i.jsx(c("CometTypeaheadInternalLayoutInlineStrategy.react"),babelHelpers["extends"]({},a,v,{extraLayoutProps:{afterViewContent:(h=b==null?void 0:b.afterViewContent)!=null?h:null,ariaProps:g,beforeViewContent:(l=b==null?void 0:b.beforeViewContent)!=null?l:null,helperTextComponent:d!=null?i.jsx(c("CometTypeaheadHelperText.react"),{text:d}):null,isAlwaysOpened:!0,isLoading:u},inputRef:e,label:f,viewRole:s,xstyles:babelHelpers["extends"]({},t,{viewXStyle_DO_NOT_USE:[k.view,t==null?void 0:t.viewXStyle_DO_NOT_USE]})}))}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
__d("FDSMenuSeparator.react",["react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||d("react");b=i.forwardRef(a);function a(a,b){babelHelpers["extends"]({},a);return i.jsx("hr",{className:"x14nfmen x1e56ztr xktsk01 x1d52u69 x1xmf6yo",ref:b})}a.displayName=a.name+" [from "+f.id+"]";c=b;g["default"]=c}),98);/*FB_PKG_DELIM*/
__d("GroupsCometChatsEngagementLoggerWithDefaultExport",["GroupsCometChatsEngagementLogger"],(function(a,b,c,d,e,f,g){"use strict";a={log:d("GroupsCometChatsEngagementLogger").log};g["default"]=a}),98);
__d("LSDeleteMessage",[],(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(12).fetch([[[a[1]]],"messageId"]),function(c){return c.messageId===a[1]&&b.i64.eq(c.threadKey,a[0])}),function(a){return a["delete"]()})},function(a){return b.resolve(c)}])}a.__sproc_name__="LSMailboxDeleteMessageStoredProcedure";e.exports=a}),null);
__d("LSSetPinnedMessage",["LSIssueNewTask"],(function(a,b,c,d,e,f){function a(){var a=arguments,c=a[a.length-1],d=[],e=[];return c.sequence([function(e){return c.sequence([function(e){return d[0]=new c.Map(),d[0].set("thread_key",a[0]),d[0].set("message_id",a[1]),d[0].set("pinned_message_state",a[3]),d[1]=c.toJSON(d[0]),c.storedProcedure(b("LSIssueNewTask"),"set_pinned_message_search",c.i64.cast([0,751]),d[1],void 0,void 0,c.i64.cast([0,0]),c.i64.cast([0,0]),void 0,void 0,c.i64.cast([0,0]),c.i64.cast([0,0]))},function(b){return c.i64.eq(a[3],c.i64.cast([0,1]))?c.sequence([function(b){return c.forEach(c.db.table(205).fetch([[[a[0],a[1]]]]),function(a){return a["delete"]()})},function(b){return c.forEach(c.filter(c.db.table(205).fetch([[[a[0],a[1],a[2]]]]),function(b){return c.i64.eq(b.threadKey,a[0])&&b.messageId===a[1]&&c.i64.eq(b.pinnedTimestampMs,a[2])&&c.i64.lt(b.authorityLevel,c.i64.cast([0,80]))}),function(a){return a["delete"]()})},function(b){return c.db.table(205).add({threadKey:a[0],messageId:a[1],pinnedTimestampMs:a[2],authorityLevel:c.i64.cast([0,80])})}]):c.forEach(c.db.table(205).fetch([[[a[0],a[1]]]]),function(a){return a["delete"]()})}])},function(a){return c.resolve(e)}])}a.__sproc_name__="LSMailboxSetPinnedMessageStoredProcedure";e.exports=a}),null);
__d("MWChatMessageBothOrientationFocusGroup.react",["fbt","CometComponentWithKeyCommands.react","CometKeys","FocusGroup.react","emptyFunction","focusScopeQueries","react"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j=i||d("react");b=d("FocusGroup.react").createFocusGroup(d("focusScopeQueries").tabbableScopeQuery);e=b[0];d=b[1];b={key:c("CometKeys").UP};var k={key:c("CometKeys").DOWN},l={key:c("CometKeys").LEFT},m={key:c("CometKeys").RIGHT},n=[{command:b,description:h._("__JHASH__HYvhkJNYo2M__JHASH__"),handler:c("emptyFunction")},{command:k,description:h._("__JHASH__6tFY25IlnV4__JHASH__"),handler:c("emptyFunction")},{command:l,description:h._("__JHASH__6tFY25IlnV4__JHASH__"),handler:c("emptyFunction")},{command:m,description:h._("__JHASH__HYvhkJNYo2M__JHASH__"),handler:c("emptyFunction")}];function a(a){a=a.children;return j.jsx(c("CometComponentWithKeyCommands.react"),{commandConfigs:n,xstyle:!1,children:a})}a.displayName=a.name+" [from "+f.id+"]";b=a;g.FocusGroup=e;g.FocusGroupItem=d;g.keyCommands=b}),226);
__d("MessageRequestsBulkActionConfirmedFalcoEvent",["FalcoLoggerInternal","getFalcoLogPolicy_DO_NOT_USE"],(function(a,b,c,d,e,f,g){"use strict";a=c("getFalcoLogPolicy_DO_NOT_USE")("256");b=d("FalcoLoggerInternal").create("message_requests_bulk_action_confirmed",a);e=b;g["default"]=e}),98);
__d("MessageRequestsBulkActionEditFalcoEvent",["FalcoLoggerInternal","getFalcoLogPolicy_DO_NOT_USE"],(function(a,b,c,d,e,f,g){"use strict";a=c("getFalcoLogPolicy_DO_NOT_USE")("2614");b=d("FalcoLoggerInternal").create("message_requests_bulk_action_edit",a);e=b;g["default"]=e}),98);
__d("MessageRequestsBulkActionTappedFalcoEvent",["FalcoLoggerInternal","getFalcoLogPolicy_DO_NOT_USE"],(function(a,b,c,d,e,f,g){"use strict";a=c("getFalcoLogPolicy_DO_NOT_USE")("257");b=d("FalcoLoggerInternal").create("message_requests_bulk_action_tapped",a);e=b;g["default"]=e}),98);
__d("MessageRequestsInfoBannerShownFalcoEvent",["FalcoLoggerInternal","getFalcoLogPolicy_DO_NOT_USE"],(function(a,b,c,d,e,f,g){"use strict";a=c("getFalcoLogPolicy_DO_NOT_USE")("258");b=d("FalcoLoggerInternal").create("message_requests_info_banner_shown",a);e=b;g["default"]=e}),98);
__d("MessageRequestsThreadActionConfirmedFalcoEvent",["FalcoLoggerInternal","getFalcoLogPolicy_DO_NOT_USE"],(function(a,b,c,d,e,f,g){"use strict";a=c("getFalcoLogPolicy_DO_NOT_USE")("259");b=d("FalcoLoggerInternal").create("message_requests_thread_action_confirmed",a);e=b;g["default"]=e}),98);
__d("MessageRequestsThreadActionTappedFalcoEvent",["FalcoLoggerInternal","getFalcoLogPolicy_DO_NOT_USE"],(function(a,b,c,d,e,f,g){"use strict";a=c("getFalcoLogPolicy_DO_NOT_USE")("260");b=d("FalcoLoggerInternal").create("message_requests_thread_action_tapped",a);e=b;g["default"]=e}),98);
__d("MessageRequestsThreadDenialOptionsTappedFalcoEvent",["FalcoLoggerInternal","getFalcoLogPolicy_DO_NOT_USE"],(function(a,b,c,d,e,f,g){"use strict";a=c("getFalcoLogPolicy_DO_NOT_USE")("261");b=d("FalcoLoggerInternal").create("message_requests_thread_denial_options_tapped",a);e=b;g["default"]=e}),98);
__d("MessageRequestsViewThreadlistFalcoEvent",["FalcoLoggerInternal","getFalcoLogPolicy_DO_NOT_USE"],(function(a,b,c,d,e,f,g){"use strict";a=c("getFalcoLogPolicy_DO_NOT_USE")("263");b=d("FalcoLoggerInternal").create("message_requests_view_threadlist",a);e=b;g["default"]=e}),98);
__d("MessengerDiscoverableBroadcastChatsClientEventsFalcoEvent",["FalcoLoggerInternal","getFalcoLogPolicy_DO_NOT_USE"],(function(a,b,c,d,e,f,g){"use strict";a=c("getFalcoLogPolicy_DO_NOT_USE")("4148");b=d("FalcoLoggerInternal").create("messenger_discoverable_broadcast_chats_client_events",a);e=b;g["default"]=e}),98);/*FB_PKG_DELIM*/
__d("MWPExecuteTaskBridge",["FBLogger","QuickPerformanceLogger","cr:6551"],(function(a,b,c,d,e,f,g){"use strict";var h;function a(a,d,e){var f=d.event,g=d.taskID;(h||(h=c("QuickPerformanceLogger"))).markerPoint(f,"execute_task_through_bridge",{instanceKey:g});if(b("cr:6551")==null||b("cr:6551")[e]==null){(h||(h=c("QuickPerformanceLogger"))).markerPoint(f,"handler_not_found",{instanceKey:g});throw c("FBLogger")("ls_web_init").mustfixThrow("No bridge task handler found for %s",e)}h.markerPoint(f,"bridge_api_call",{instanceKey:g});return b("cr:6551")[e](a,d)}g.executeTask=a}),98);
__d("MWPHandleNativeTask",["FBLogger","I64","LSHandleTaskSendFailureForQueue2","LSHandleTaskSendSuccessForQueue2","LSJson","MWPExecuteTaskBridge","QuickPerformanceLogger","ReQL","asyncToGeneratorRuntime","isNativeTask","qpl"],(function(a,b,c,d,e,f,g){"use strict";var h,i;function a(a,b,c){return j.apply(this,arguments)}function j(){j=b("asyncToGeneratorRuntime").asyncToGenerator(function*(a,e,g){var j=e.queue_name;e=c("qpl")._(164763515,"1216");var l=(yield d("ReQL").firstAsync(d("ReQL").fromTableAscending(a.tables.pending_tasks.index("queueNameTaskId")).getKeyRange(j).filter(c("isNativeTask"))));if(l==null){(i||(i=c("QuickPerformanceLogger"))).markerPoint(e,"fetch_pending_task_failed");c("FBLogger")("ls_web_init").warn("MWPHandleNativeTask: Error cannot find a pending task for queue: %s",j);return}if(!c("isNativeTask")(l)){(i||(i=c("QuickPerformanceLogger"))).markerPoint(e,"non_native_task_found");c("FBLogger")("ls_web_init").warn("MWPHandleNativeTask: Non-Native tasks should not be handled by MWPHandleNativeTask.",j);return}var m=(h||(h=d("I64"))).to_float(l==null?void 0:l.taskId);(i||(i=c("QuickPerformanceLogger"))).markerStart(e,m);i.markerAnnotate(e,{string:{source:"MWPHandleNativeTask_handleTask"}},{instanceKey:m});i.markerPoint(e,"fetch_pending_task",{instanceKey:m});var n;try{(i||(i=c("QuickPerformanceLogger"))).markerPoint(e,"parse_task",{instanceKey:m}),n=k(l)}catch(a){(i||(i=c("QuickPerformanceLogger"))).markerPoint(e,"parse_task_failed",{instanceKey:m});c("FBLogger")("ls_web_init").catching(a).warn("Error parsing native task payload with pluginType %s and transportKey %s for queue: %s",(h||(h=d("I64"))).to_string(l.pluginType),l.transportKey,j);return}var o=l.context;try{(i||(i=c("QuickPerformanceLogger"))).markerPoint(e,"task_execute",{instanceKey:m}),i.markerAnnotate(e,{string:{source:"MWPHandleNativeTask_handleTask",task:JSON.stringify(l),taskName:o}},{instanceKey:m}),yield d("MWPExecuteTaskBridge").executeTask(n,{actorID:g,event:e,source:"MWPHandleNativeTask_handleTask",taskID:(h||(h=d("I64"))).to_float(l.taskId)},o),i.markerPoint(e,"task_execute_success",{instanceKey:m}),yield a.runInTransaction(function(){var a=b("asyncToGeneratorRuntime").asyncToGenerator(function*(a){yield c("LSHandleTaskSendSuccessForQueue2")(a,j);return a.pending_tasks["delete"](l.taskId)});return function(b){return a.apply(this,arguments)}}(),"readwrite","background",void 0,f.id+":125"),i.markerEnd(e,2,m)}catch(b){(i||(i=c("QuickPerformanceLogger"))).markerPoint(e,"task_execute_failed",{instanceKey:m});i.markerEnd(e,3,m);c("FBLogger")("ls_web_init").catching(b).mustfix("Error handling native task for %s.",l==null?void 0:l.context);try{yield a.runInTransaction(function(a){return c("LSHandleTaskSendFailureForQueue2")(a,j)},"readwrite",void 0,void 0,f.id+":151")}catch(a){c("FBLogger")("ls_web_init").catching(a).mustfix("Error bumping failure cound for task")}}});return j.apply(this,arguments)}function k(a){if(a.taskValue==null)throw c("FBLogger")("ls_web_init").warn("MWPHandleNativeTask: task value is null, nothing to parse");try{var b=a.taskValue!==""?d("LSJson").parse(a.taskValue):"";return b}catch(b){throw c("FBLogger")("ls_web_init").catching(b).mustfix(" Error parsing native task payload for queue: %s, falling back to null payload",a.queueName)}}e={handleLSWork:a};g["default"]=e}),98);/*FB_PKG_DELIM*/
__d("CometTahoeEndScreenProgressCircle.react",["ix","TetraIcon.react","fbicon","react","useInterval"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j=i||(i=d("react"));b=i;var k=b.useEffect,l=b.useRef,m=b.useState,n=b.c;function a(a){var b=n(38),d=a.circleDiameter,e=a.circleStrokeColor,f=a.circleStrokeWidth,g=a.iconSize,h=a.isMakingProgress,i=a.onProgressDone;a=a.timeoutSec;d=d===void 0?52:d;e=e===void 0?"var(--always-white)":e;f=f===void 0?4:f;g=g===void 0?32:g;var p=d/2,q=p*2*Math.PI,r=q/100,s=m(q),t=s[0],u=s[1];s=m(!1);var v=s[0],w=s[1];b[0]!==h||b[1]!==v||b[2]!==t||b[3]!==r?(s=!h||v?null:function(){if(t<=2){u(0);w(!0);return}u(t-r)},b[0]=h,b[1]=v,b[2]=t,b[3]=r,b[4]=s):s=b[4];var x;b[5]!==h||b[6]!==v?(x=[h,v],b[5]=h,b[6]=v,b[7]=x):x=b[7];c("useInterval")(s,a*10,x);var y=l(i);b[8]!==i?(h=function(){y.current=i},s=[i],b[8]=i,b[9]=h,b[10]=s):(h=b[9],s=b[10]);k(h,s);b[11]!==v?(a=function(){if(v){var a=y.current;a()}},x=[v],b[11]=v,b[12]=a,b[13]=x):(a=b[12],x=b[13]);k(a,x);b[14]===Symbol["for"]("react.memo_cache_sentinel")?(h="x6s0dn4 x78zum5 xl56j7k",s="x1plvlek xryxfnj x9tu13d",b[14]=h,b[15]=s):(h=b[14],s=b[15]);b[16]!==d?(a={height:d,width:d},b[16]=d,b[17]=a):a=b[17];b[18]!==p?(x=j.jsx("circle",{cx:p,cy:p,fill:"var(--fds-black-alpha-40)",r:p}),b[18]=p,b[19]=x):x=b[19];b[20]!==p||b[21]!==e||b[22]!==q||b[23]!==t||b[24]!==f?(d=j.jsx("circle",{cx:p,cy:p,fill:"transparent",r:p,stroke:e,strokeDasharray:q,strokeDashoffset:t,strokeWidth:f}),b[20]=p,b[21]=e,b[22]=q,b[23]=t,b[24]=f,b[25]=d):d=b[25];b[26]!==a||b[27]!==x||b[28]!==d?(p=j.jsxs("svg",{className:s,style:a,children:[x,d]}),b[26]=a,b[27]=x,b[28]=d,b[29]=p):p=b[29];b[30]===Symbol["for"]("react.memo_cache_sentinel")?(e="x1lliihq xr1yuqi xkrivgy x4ii5y1 x1gryazu x10l6tqk",b[30]=e):e=b[30];b[31]!==g?(q=o(g),b[31]=g,b[32]=q):q=b[32];b[33]!==q?(f=j.jsx("div",{className:e,children:j.jsx(c("TetraIcon.react"),{color:"white",icon:q})}),b[33]=q,b[34]=f):f=b[34];b[35]!==p||b[36]!==f?(s=j.jsxs("div",{className:h,children:[p,f]}),b[35]=p,b[36]=f,b[37]=s):s=b[37];return s}function o(a){switch(a){case 20:return d("fbicon")._(h("484863"),20);case 32:return d("fbicon")._(h("582360"),32)}}g["default"]=a}),98);
__d("LSLogWebQpl.nop",["requireDeferred"],(function(a,b,c,d,e,f,g){"use strict";var h=c("requireDeferred")("LogWebQplNOP").__setRef("LSLogWebQpl.nop");a=function(a,b,c,d,e,f,g){return h.load().then(function(a){return a.call(c,d,e,f,g)})};g["default"]=a}),98);/*FB_PKG_DELIM*/
__d("NuxWizardFalcoEvent",["FalcoLoggerInternal","getFalcoLogPolicy_DO_NOT_USE"],(function(a,b,c,d,e,f,g){"use strict";a=c("getFalcoLogPolicy_DO_NOT_USE")("1039");b=d("FalcoLoggerInternal").create("nux_wizard",a);e=b;g["default"]=e}),98);
__d("ServiceWorkerRegistration",["ClientServiceWorkerMessage","EventListener","Promise","Run","promiseDone"],(function(a,b,c,d,e,f){var g,h=!!navigator.serviceWorker,i={};function j(){var a=navigator.serviceWorker;if(!h||!a)throw new Error("serviceWorker is not supported in this browser");return a}var k={isSupported:function(){return h},registerWorkerIfUnregisteredAfterDD:function(a){b("Run").onAfterLoad(function(){k.registerWorkerIfUnregistered(a)})},registerWorkerIfUnregistered:function(a){if(i[a])return i[a];var c=j(),d=i[a]=new(g||(g=b("Promise")))(function(d,e){b("promiseDone")(k.getWorkerRegistration(a),function(f){if(!f){var h=b("EventListener").listen(window,"message",function(a){(a==null?void 0:(a=a.data)==null?void 0:a.command)==="ServiceWorkerInstallError"&&e()});b("promiseDone")((g||(g=b("Promise"))).resolve(c.register(a,{updateViaCache:"all"})),function(){h.remove(),b("promiseDone")((g||(g=b("Promise"))).resolve(c.ready),d)})}else d(f)})});return d},unregisterControllingWorker:function(){return new(g||(g=b("Promise")))(function(a,c){c=new(b("ClientServiceWorkerMessage"))("unregister",{},function(){a(!0)});c.sendViaController()})},getWorkerRegistration:function(a){var b=j();return b.getRegistration(a)},isAWorkerActivated:function(){return!navigator.serviceWorker||!navigator.serviceWorker.getRegistration?(g||(g=b("Promise"))).resolve(!1):navigator.serviceWorker.getRegistration().then(function(a){return!!(a&&a.active)})}};e.exports=k}),null);/*FB_PKG_DELIM*/
__d("MAWEBUploadMessageUtils",["I64","MAWDbMsg","MAWExtractMsFromExternalId","WALogger"],(function(a,b,c,d,e,f,g){"use strict";var h;function i(){var a=babelHelpers.taggedTemplateLiteralLoose(["[sortOrder] externalId is not a valid int64"]);i=function(){return a};return a}function j(){var a=babelHelpers.taggedTemplateLiteralLoose(["[sortOrder] Timestamp bits in externalId not valid"]);j=function(){return a};return a}function k(){var a=babelHelpers.taggedTemplateLiteralLoose(["[sortOrder] ExternalId is not present"]);k=function(){return a};return a}function l(){var a=babelHelpers.taggedTemplateLiteralLoose(["echoOverrideMessageSortOrder called without ID"]);l=function(){return a};return a}function a(a){var b=a.revokedExternalId!=null?a.revokedExternalId:a.externalId;b==null&&d("WALogger").ERROR(l());b=(h||(h=d("I64"))).of_string_opt(b);if(a.serverTs==null){if(a.sortOrderMs!=null)return a.sortOrderMs;b==null&&d("WALogger").WARN(k());var c=b==null?null:d("MAWExtractMsFromExternalId").extractMsFromExternalId(b);return d("MAWDbMsg").getCanonicalTsFromMsg(a)*1e3+((c=c)!=null?c:0)}if(b!=null){c=d("MAWExtractMsFromExternalId").extractMsFromExternalId(b);if(c!=null){b=a.originalTs!=null?a.originalTs:a.serverTs;return Number(b)*1e3+c}else d("WALogger").WARN(j())}else d("WALogger").WARN(i());return d("MAWDbMsg").getSortOrderWithFallback(a)}g.echoOverrideMessageSortOrder=a}),98);
__d("WAGroupInviteUtils",[],(function(a,b,c,d,e,f){"use strict";function a(a){return a}f.toInviteCode=a}),66);
__d("WorkerUtils",[],(function(a,b,c,d,e,f){"use strict";function b(){try{return"WorkerGlobalScope"in a&&a instanceof a.WorkerGlobalScope}catch(a){return!1}}function c(){try{return"SharedWorkerGlobalScope"in a&&a instanceof a.SharedWorkerGlobalScope}catch(a){return!1}}f.isWorkerContext=b;f.isSharedWorkerContext=c}),66);/*FB_PKG_DELIM*/
__d("MessengerCross.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 36 36",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:"m12.631 25.138 5.196-5.189a.25.25 0 0 1 .353 0l5.197 5.189a1.241 1.241 0 0 0 1.76 0 1.241 1.241 0 0 0 0-1.761L19.95 18.18a.25.25 0 0 1 0-.354l5.189-5.196a1.241 1.241 0 0 0 0-1.76 1.241 1.241 0 0 0-1.761 0l-5.197 5.188a.25.25 0 0 1-.353 0l-5.196-5.189a1.241 1.241 0 0 0-1.76 0 1.241 1.241 0 0 0 0 1.761l5.188 5.196a.25.25 0 0 1 0 .354l-5.189 5.196a1.241 1.241 0 0 0 0 1.76 1.241 1.241 0 0 0 1.761 0z"})]}))}a.displayName=a.name+" [from "+f.id+"]";a._isSVG=!0;b=a;g["default"]=b}),98);
__d("RelayFBDefaultEnvironment",["RelayFBEnvironmentFactory"],(function(a,b,c,d,e,f,g){"use strict";a=c("RelayFBEnvironmentFactory").getForActorID(null);g["default"]=a}),98);
__d("UFACDesignSystem",[],(function(a,b,c,d,e,f){a=Object.freeze({FDS:"FDS",GEODESIC:"Geodesic"});f["default"]=a}),66);
__d("UFACDesignSystemContext",["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("UFACEnrollmentContext",["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);/*FB_PKG_DELIM*/
__d("LogWebMemoryUsageFalcoEvent",["FalcoLoggerInternal","getFalcoLogPolicy_DO_NOT_USE"],(function(a,b,c,d,e,f,g){"use strict";a=c("getFalcoLogPolicy_DO_NOT_USE")("1765264");b=d("FalcoLoggerInternal").create("log_web_memory_usage",a);e=b;g["default"]=e}),98);
__d("PaymentsCometTransactionHubPaymentHistoryRootQuery_facebookRelayOperation",[],(function(a,b,c,d,e,f){e.exports="7184882781560131"}),null);/*FB_PKG_DELIM*/
__d("MessengerWellbeingRestrictFailedFalcoEvent",["FalcoLoggerInternal","getFalcoLogPolicy_DO_NOT_USE"],(function(a,b,c,d,e,f,g){"use strict";a=c("getFalcoLogPolicy_DO_NOT_USE")("474");b=d("FalcoLoggerInternal").create("messenger_wellbeing_restrict_failed",a);e=b;g["default"]=e}),98);
__d("MessengerWellbeingRestrictSucceededFalcoEvent",["FalcoLoggerInternal","getFalcoLogPolicy_DO_NOT_USE"],(function(a,b,c,d,e,f,g){"use strict";a=c("getFalcoLogPolicy_DO_NOT_USE")("480");b=d("FalcoLoggerInternal").create("messenger_wellbeing_restrict_succeeded",a);e=b;g["default"]=e}),98);
__d("MessengerWellbeingRestrictTappedFalcoEvent",["FalcoLoggerInternal","getFalcoLogPolicy_DO_NOT_USE"],(function(a,b,c,d,e,f,g){"use strict";a=c("getFalcoLogPolicy_DO_NOT_USE")("481");b=d("FalcoLoggerInternal").create("messenger_wellbeing_restrict_tapped",a);e=b;g["default"]=e}),98);
__d("MessengerWellbeingUnrestrictFailedFalcoEvent",["FalcoLoggerInternal","getFalcoLogPolicy_DO_NOT_USE"],(function(a,b,c,d,e,f,g){"use strict";a=c("getFalcoLogPolicy_DO_NOT_USE")("482");b=d("FalcoLoggerInternal").create("messenger_wellbeing_unrestrict_failed",a);e=b;g["default"]=e}),98);
__d("MessengerWellbeingUnrestrictSucceededFalcoEvent",["FalcoLoggerInternal","getFalcoLogPolicy_DO_NOT_USE"],(function(a,b,c,d,e,f,g){"use strict";a=c("getFalcoLogPolicy_DO_NOT_USE")("483");b=d("FalcoLoggerInternal").create("messenger_wellbeing_unrestrict_succeeded",a);e=b;g["default"]=e}),98);
__d("MessengerWellbeingUnrestrictTappedFalcoEvent",["FalcoLoggerInternal","getFalcoLogPolicy_DO_NOT_USE"],(function(a,b,c,d,e,f,g){"use strict";a=c("getFalcoLogPolicy_DO_NOT_USE")("484");b=d("FalcoLoggerInternal").create("messenger_wellbeing_unrestrict_tapped",a);e=b;g["default"]=e}),98);