;/*FB_PKG_DELIM*/ __d("CurrentLocale",["IntlCurrentLocale"],(function(t,n,r,o,a,i,l){"use strict";var e={get:function(){return r("IntlCurrentLocale").code}},s=e;l.default=s}),98); __d("DoublyLinkedListMap",[],(function(t,n,r,o,a,i){var e=(function(){"use strict";function e(){this.$1=null,this.$2=null,this.$3={},this.$4=0}var t=e.prototype;return t.get=function(t){var e,n=(e=this.$3[t])==null?void 0:e.data;return n!=null?n:null},t.getIndex=function(t){for(var e=this.$1,n=0;e;e=e.next,n++)if(e.key===t)return n;return null},t.$5=function(t,n,r,o){r!=null&&!this.$3[r]&&(r=null);var e;r!=null&&this.$3[r]?e=this.$3[r]:e=o?this.$1:this.$2;var a={data:n,key:t,next:null,prev:null};return e&&(this.remove(t),o?(a.prev=e.prev,e.prev&&(e.prev.next=a),e.prev=a,a.next=e):(a.next=e.next,e.next&&(e.next.prev=a),e.next=a,a.prev=e)),a.prev===null&&(this.$1=a),a.next===null&&(this.$2=a),this.$3[t]=a,this.$4++,this},t.insertBefore=function(t,n,r){return this.$5(t,n,r,!0)},t.insertAfter=function(t,n,r){return this.$5(t,n,r,!1)},t.prepend=function(t,n){return this.insertBefore(t,n,this.$1&&this.$1.key)},t.append=function(t,n){return this.insertAfter(t,n,this.$2&&this.$2.key)},t.remove=function(t){var e=this.$3[t];if(e){var n=e.next,r=e.prev;n&&(n.prev=r),r&&(r.next=n),this.$1===e&&(this.$1=n),this.$2===e&&(this.$2=r),delete this.$3[t],this.$4--}return this},t.find=function(t){for(var e=this.$1;e;e=e.next)if(t(e.data))return e.key;return null},t.reduce=function(t,n){for(var e=this.$1;e;e=e.next)n=t(e.data,n);return n},t.exists=function(t){return!!this.$3[t]},t.isEmpty=function(){return!this.$1},t.reset=function(){this.$1=null,this.$2=null,this.$3={},this.$4=0},t.map=function(t){for(var e=this.$1;e;e=e.next)t(e.data)},t.getCount=function(){return this.$4},t.getHead=function(){var e;return(e=this.$1)==null?void 0:e.data},t.getTail=function(){var e;return(e=this.$2)==null?void 0:e.data},t.getNext=function(t){var e;return(e=this.$3[t])==null||(e=e.next)==null?void 0:e.data},t.getPrev=function(t){var e;return(e=this.$3[t])==null||(e=e.prev)==null?void 0:e.data},t.getHeadKey=function(){var e;return(e=this.$1)==null?void 0:e.key},t.getTailKey=function(){var e;return(e=this.$2)==null?void 0:e.key},e})();a.exports=e}),null); __d("MainPageUrl",["ExecutionEnvironment","FBLogger","SimpleHook","getErrorSafe"],(function(t,n,r,o,a,i,l){"use strict";var e,s,u,c=new URL((function(){var e=(self!==void 0?self:typeof window!="undefined"?window:{location:{href:"http://undefined"}}).location.href;return(u||(u=r("ExecutionEnvironment"))).isInWorker&&e&&e.startsWith("blob:")&&(e=e.substring(5,e.length)),e})()),d=new URL(c.href),m=new(o("SimpleHook")).SimpleHook;function p(){var e;return(u||(u=r("ExecutionEnvironment"))).isInBrowser&&(d==null||(e=d.searchParams)==null?void 0:e.get("workerlog"))==="debug"}function _(t){try{p()&&r("FBLogger")("worker").DEBUG(e||(e=babelHelpers.taggedTemplateLiteralLoose(["received url ",""])),t);var n=new URL(t,d.href||c.href);d.href!==n.href?(d.href=n.href,m.call(d)):p()&&r("FBLogger")("worker").DEBUG(s||(s=babelHelpers.taggedTemplateLiteralLoose(["ignoring url: path didn't change in ",""])),t)}catch(e){r("FBLogger")("worker").catching(r("getErrorSafe")(e)).warn("invalid url")}}typeof window=="object"&&typeof window.location=="object"&&typeof window.location.href=="string"&&_(window.location.href),l.mainPageUrl=d,l.onMainPageUrlChange=m,l.isWorkerLogEnabled=p,l.updateMainPageUrl=_}),98); __d("PerfFalcoEvent",["FalcoLoggerInternal","getFalcoLogPolicy_DO_NOT_USE"],(function(t,n,r,o,a,i,l){"use strict";var e=r("getFalcoLogPolicy_DO_NOT_USE")("1744178"),s=o("FalcoLoggerInternal").create("perf",e),u=s;l.default=u}),98); __d("PerfXSharedFields",["CurrentLocale","Locale","SiteData","getErrorSafe"],(function(t,n,r,o,a,i,l){var e=typeof window!="undefined"?window:self,s={addCommonValues:function(n){var t=e==null?void 0:e.navigator;try{t&&typeof t.hardwareConcurrency=="number"&&(n.num_cores=Math.floor(t.hardwareConcurrency)),t&&t.deviceMemory&&(n.ram_gb=t.deviceMemory),t&&t.connection&&(typeof t.connection.downlink=="number"&&(n.downlink_megabits=t.connection.downlink),typeof t.connection.effectiveType=="string"&&(n.effective_connection_type=t.connection.effectiveType),typeof t.connection.rtt=="number"&&(n.rtt_ms=t.connection.rtt))}catch(e){if(r("getErrorSafe")(e).message!=="can't access dead object")throw r("getErrorSafe")(e)}return n.client_push_phase=r("SiteData").push_phase,n.client_revision=r("SiteData").client_revision,r("SiteData").server_revision!=null&&(n.server_revision=r("SiteData").server_revision),n.locale=r("CurrentLocale").get(),n.isRTL=Number(o("Locale").isRTL()),n},getCommonData:function(){var e={};return s.addCommonValues(e),e}},u=s;l.default=u}),98); __d("QPLCoreHelpers",[],(function(t,n,r,o,a,i){"use strict";function e(e,t,n,r,o,a,i){var l,s,u,c="unreliable";o!=null&&(c+="_"+o);var d={string:(l={},l.join_id=e,l.qpl_join__source_clock=c,l.qpl__source="client_js",l),int:(s={},s.qpl_join__absolute_time_origin_ms=t,s),bool:(u={},u.qpl_join__source_is_primary=n,u)};if(r!=null&&d.int&&(d.int.qpl_join__close_session_after_seconds=r),a!=null){var m;d.string_array=(m={},m.qpl_join__namespaces=a,m)}return i!=null&&d.int&&(d.int.qpl_join__action_priority=i),d}function l(e){switch(e){case 1:return"join_request_";case 0:return"join_request_";case 3:return"join_response_";case 2:return"join_response_";default:return null}}function s(e,t){var n=l(e);return n==null?null:n+t}i.generateJoinAnnotations=e,i.getAlignmentPointNamePrefix=l,i.getAlignmentPointName=s}),66); __d("QPLEvent",[],(function(t,n,r,o,a,i){"use strict";function e(e){return e.i}function l(e){var t;return(t=e.r)!=null?t:0}function s(e){var t;return(t=e.m)!=null?t:1}i.getMarkerId=e,i.getSampleRate=l,i.getSamplingMethod=s}),66); __d("QPLMarkerMap",["DoublyLinkedListMap"],(function(t,n,r,o,a,i,l){"use strict";var e=(function(){function e(e){var t=e===void 0?{}:e,n=t.perMarkerLimit,o=n===void 0?null:n,a=t.totalLimit,i=a===void 0?null:a;this.size=0,this.$1={},this.$4=i,this.$5=o,this.$3=new Map,this.$2=new(r("DoublyLinkedListMap"))}var t=e.prototype;return t.set=function(t,n,r){var e=this.$1[t];if(e===void 0){var o={};e=o,this.$1[t]=e}var a=Object.prototype.hasOwnProperty.call(e,n);a||(this.$6(t),this.$7()),this.$8(t,n),a||this.size++,e[n]=r},t.delete=function(t,n){var e=this.$1[t];e===void 0||!Object.prototype.hasOwnProperty.call(e,n)||(this.$9(t,n),delete e[n],this.size--,Object.keys(e).length===0&&delete this.$1[t])},t.get=function(t,n){var e=this.$1[t];if(e!==void 0)return e[n]},t.has=function(t,n){var e=this.$1[t];return e===void 0?!1:Object.prototype.hasOwnProperty.call(e,n)},t.forEach=function(t){var e=0;for(var n in this.$1){var r=Number(n),o=this.$1[r];for(var a in o){var i=Number(a);t(o[i],r,i,e++)}}},t.toString=function(){try{return JSON.stringify(this.$1)}catch(e){return"{}"}},t.$8=function(t,n){var e={markerId:t,instanceKey:n},r=this.$10(t,n),o=this.$4!=null,a=this.$5!=null;o&&(this.$2.remove(r),this.$2.append(r,e));var i=this.$11(t);a&&(i.remove(r),i.append(r,e))},t.$9=function(t,n){var e=this.$10(t,n),r=this.$4!=null,o=this.$5!=null;if(r&&this.$2.remove(e),o){var a=this.$3.get(t);a&&(a.remove(e),a.isEmpty()&&this.$3.delete(t))}},t.$6=function(t){var e=this.$5;if(e!=null){var n=this.$11(t);n.getCount()>=e&&this.$12(n)}},t.$7=function(){var e=this.$4;e!=null&&this.size>=e&&this.$12(this.$2)},t.$12=function(t){var e=t.getHeadKey();if(e!=null){var n=t.get(e);n&&this.delete(n.markerId,n.instanceKey)}},t.$10=function(t,n){return t+":"+n},t.$11=function(t){var e=this.$3.get(t);return e||(e=new(r("DoublyLinkedListMap")),this.$3.set(t,e)),e},e})();l.default=e}),98); __d("QPLTimestamp",[],(function(t,n,r,o,a,i){"use strict";function e(e){if(e===0)return"0";var t=e.toFixed(6).split(".",2),n=t[0],r=t[1];return n==="0"?r.replace(/^0+/,""):n+r}function l(t,n){var r=n-t;return e(r)}i.timestampToSerializedNanoseconds=e,i.calculateDurationAsNanoseconds=l}),66); __d("crc32",[],(function(t,n,r,o,a,i){function e(e){for(var t=-1,n=0,r=e.length;n>>8^l[(t^e.charCodeAt(n))&255];return~t}var l=[0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918e3,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117];t.Int32Array!==void 0&&(l=new Int32Array(l)),i.default=e}),66); __d("QPLUtils",["crc32"],(function(t,n,r,o,a,i,l){"use strict";function e(e){return r("crc32")(e)>>>0}function s(t){return t!=null?e(t):0}l.unsignedCrc32=e,l.deriveInstanceKey=s}),98); __d("QuickPerformanceLoggerTypes",[],(function(t,n,r,o,a,i){"use strict";var e=1,l=3;i.EVENT_BASED_SAMPLING=e,i.USER_BASED_SAMPLING=l}),66); __d("QPLCore",["QPLCoreHelpers","QPLEvent","QPLMarkerMap","QPLTimestamp","QPLUtils","QuickPerformanceLoggerTypes","uuidv4"],(function(t,n,r,o,a,i,l){"use strict";var e;function s(e){if(e==null)return e;var t={};for(var n in e)t[n]=String(e[n]);return t}function u(e){if(e==null)return e;var t={};for(var n in e)t[n]=e[n].map(String);return t}function c(e,t,n,r){var o,a=t[e];if(!a||Object.entries(a).length===0)return null;var i={};return Object.keys(a).forEach(function(e){var t=a[e];t==null||t.length===0?delete a[e]:r?i[e]=r(t):i[e]=t}),o={},o[e]=babelHelpers.extends({},n&&n[e],i),o}function d(e,t){if(e==null)return t;var n=babelHelpers.extends({},t,c("string",e,t),c("int",e,t,Math.trunc),c("double",e,t),c("bool",e,t),c("string_array",e,t),c("int_array",e,t,function(e){return e.map(Math.trunc)}),c("double_array",e,t),c("bool_array",e,t));return Object.keys(n).forEach(function(e){var t=n[e];(t==null||Object.entries(t).length===0)&&delete n[e]}),Object.entries(n).length!==0?n:null}function m(e,t){var n={};g.isMarkerTracked(t)&&(n.tracked_for_loss=!0),typeof t.absoluteTimeOrigin=="number"&&(n.absolute_time_origin_ns=o("QPLTimestamp").timestampToSerializedNanoseconds(t.absoluteTimeOrigin));var r=babelHelpers.extends({},e,n);return r}function p(e,t){if(!t)return e;var n={};return t.string&&(n.annotations=t.string),t.int&&(n.annotations_int=s(t.int)),t.double&&(n.annotations_double=t.double),t.bool&&(n.annotations_bool=t.bool),t.string_array&&(n.annotations_string_array=t.string_array),t.int_array&&(n.annotations_int_array=u(t.int_array)),t.double_array&&(n.annotations_double_array=t.double_array),t.bool_array&&(n.annotations_bool_array=t.bool_array),babelHelpers.extends({},e,n)}var _=new Map([[o("QuickPerformanceLoggerTypes").EVENT_BASED_SAMPLING,"random_sampling"],[o("QuickPerformanceLoggerTypes").USER_BASED_SAMPLING,"per_user"]]);function f(e,t){return e===0?!1:e<=1?!0:typeof t=="string"?o("QPLUtils").unsignedCrc32(t)%e===0:Math.random()*e<=1}var g=(function(){function t(e){var t;this.$2=1,this.$3=100,this.$4=new Map,this.$5=new Map,this.$6=null,this.$8=new Map,this.activeMarkers=new Map,this.$1=e,this.$7=e.logger,this.$5=(t=e.listenersWithMarker)!=null?t:new Map,this.$9=new(r("QPLMarkerMap"))}var n=t.prototype;return n.$10=function(t,n){try{return n()}catch(e){this.$1.onError&&this.$1.onError(t,e)}},n.getMarker=function(n,r){var t=this;return this.$10("getMarker",function(){var a=t.$11((e||(e=o("QPLEvent"))).getMarkerId(n));if(!a)return null;var i=a.get(r);return i||null})},n.isMarkerOn=function(n,r){var t,a=this;return r===void 0&&(r=0),(t=this.$10("isMarkerOn",function(){var t=a.$11((e||(e=o("QPLEvent"))).getMarkerId(n));if(!t)return!1;var i=t.get(r);return!!i}))!=null?t:!1},t.isMarkerTracked=function(t){return t.trackedForLoss===!0||t.type===2},n.$11=function(t){return this.activeMarkers.get(t)},n.addMarker=function(t,n,r){var e=this.activeMarkers.get(t);e||(e=new Map,this.activeMarkers.set(t,e)),e.set(n,r)},n.deleteMarker=function(t,n){var e;(e=this.activeMarkers.get(t))==null||e.delete(n),this.$12(t,n)},n.markerStart=function(r,a,i,l){var n=this;a===void 0&&(a=0),i===void 0&&(i=this.currentTimestamp());var s=l===void 0?{}:l,u=s.cancelExisting,c=u===void 0?!1:u,d=s.cancelOnUnload,m=d===void 0?!1:d,p=s.trackedForLoss,_=p===void 0?!1:p,f=s.type,g=f===void 0?1:f,h=s.samplingBasis,y=h===void 0?null:h,C=s.qplInternalDoNotUseAbsoluteTimeOrigin,b=s.timeoutMS,v=b===void 0?null:b,S=s.onMarkerTimeout__DoNotUse,R=S===void 0?null:S,L=s.enableE2ETracing,E=L===void 0?!1:L,k=s.crashResilient,I=k===void 0?!1:k;this.$10("markerStart",function(){var l=n.getMarker(r,a);if(l){var s=Math.round(i-l.timestamp);c&&(n.markerAnnotate(r,{string:{cancelType:"DUPLICATE_EVENT"},int:{time_between_markers_ms:s}},{instanceKey:a}),n.markerEnd(r,4,a,i))}var u=n.$13(r,y),d=u[0],p=u[1],f=u[2],h=null;E&&(h=n.$1.e2eTracingIDGenerator?n.$1.e2eTracingIDGenerator(r):null);var b={event:r,passesSampling:d,timestamp:i,sampleRate:p,samplingMethod:f,points:[],cancelOnUnload:m,trackedForLoss:_,type:g,timeoutMS:v,e2eTracingID:h,isCrashResilient:I};if(typeof C=="number"&&(b.absoluteTimeOrigin=C),n.$4.forEach(function(e){e.onMarkerStart&&e.onMarkerStart(r,a,i)}),n.$5.forEach(function(e){e.onMarkerStartWithMarker(r,a,i,b)}),d&&(n.addMarker((e||(e=o("QPLEvent"))).getMarkerId(r),a,b),v!=null&&n.$14(r,a,v,R)),d&&t.isMarkerTracked(b)&&n.$15({marker_id:27787271,action_id:51,sample_rate:1,annotations_int:{tracked_marker_id:String((e||(e=o("QPLEvent"))).getMarkerId(r))},marker_type:1}),h!==null){var S;n.markerAnnotate(r,{string:(S={},S.qpl_e2e__tracing_id=h,S)},{instanceKey:a})}d&&n.$4.forEach(function(e){e.onMarkerStarted&&e.onMarkerStarted(r,a,i,n.$16(b))})})},n.$16=function(t){if(t==null){var e={isCrashResilient:!1};return e}return{isCrashResilient:t.isCrashResilient}},n.$17=function(t,n){this.$9.delete(t,n)},n.$18=function(t,n,r){this.$9.set(t,n,r)},n.$12=function(t,n){var e,r=this.$9.get(t,n);r&&(e=this.$1.runtimeAbstractionLayer)!=null&&e.clearTimeout&&(this.$1.runtimeAbstractionLayer.clearTimeout(r),this.$17(t,n))},n.$14=function(n,r,a,i){var t=this,l=(e||(e=o("QPLEvent"))).getMarkerId(n);try{var s,u;if(this.$12(l,r),!((s=this.$1.runtimeAbstractionLayer)!=null&&s.setTimeout))return;var c=(u=this.$1.runtimeAbstractionLayer)==null?void 0:u.setTimeout(function(){i!=null&&i(n,r),t.$4.forEach(function(e){e.onTimeoutEvent!=null&&e.onTimeoutEvent({event:n,instanceKey:r,passesSampling:!0})}),t.$17(l,r),t.markerEnd(n,113,r)},a);this.$18(l,r,c)}catch(e){}},n.markerAnnotate=function(t,n,r){var e=this,o=r===void 0?{}:r,a=o.instanceKey,i=a===void 0?0:a;this.$10("markerAnnotate",function(){e.$4.forEach(function(e){Object.keys(n).forEach(function(r){var o=n[r];o&&Object.keys(o).forEach(function(n){e.onAnnotation&&e.onAnnotation(t,i,n,o[n],r)})})});var r=e.getMarker(t,i);r&&(r.annotations=d(n,r.annotations))})},n.markerPoint=function(t,n,r){var e=this,o=r===void 0?{}:r,a=o.instanceKey,i=a===void 0?0:a,l=o.data,s=o.timestamp,u=s===void 0?this.currentTimestamp():s;this.$10("markerPoint",function(){e.$4.forEach(function(e){e.onMarkerPoint&&e.onMarkerPoint(t,i,n,l,u)});var r=e.getMarker(t,i);if(r){var o={name:n,timeSinceStart:Math.trunc(u-r.timestamp)},a=d(l);a&&(o.data=a),r.points.push(o)}})},n.markerEnd=function(n,r,a,i){var t=this;a===void 0&&(a=0),i===void 0&&(i=this.currentTimestamp()),this.$10("markerEnd",function(){var l=t.getMarker(n,a);if(!l){t.$4.forEach(function(e){var o={durationMs:0,passesSampling:!1};e.onMarkerEnd&&e.onMarkerEnd(r,n,a,i,babelHelpers.extends({},o,t.$16(l)))});return}var c=r,d=t.$19(l,l.timestamp,i);d&&r===2&&(c=5947);var f=l.points.map(function(e){return e.data?{name:e.name,timeSinceStart:String(e.timeSinceStart),data:(function(t,n,r,o,a,i,l,c){var d={};if(((t=e.data)==null?void 0:t.string)!=null&&(d.string=e.data.string),((n=e.data)==null?void 0:n.string_array)!=null&&(d.string_array=e.data.string_array),((r=e.data)==null?void 0:r.int)!=null){var m;d.int=s((m=e.data)==null?void 0:m.int)}if(((o=e.data)==null?void 0:o.int_array)!=null){var p;d.int_array=u((p=e.data)==null?void 0:p.int_array)}return((a=e.data)==null?void 0:a.double)!=null&&(d.double=e.data.double),((i=e.data)==null?void 0:i.double_array)!=null&&(d.double_array=e.data.double_array),((l=e.data)==null?void 0:l.bool)!=null&&(d.bool=e.data.bool),((c=e.data)==null?void 0:c.bool_array)!=null&&(d.bool_array=e.data.bool_array),d})()}:{name:e.name,timeSinceStart:String(e.timeSinceStart)}}),g={marker_id:(e||(e=o("QPLEvent"))).getMarkerId(n),action_id:c,instance_id:a,sample_rate:l.sampleRate,method:_.get(l.samplingMethod),duration_ns:o("QPLTimestamp").calculateDurationAsNanoseconds(l.timestamp,i),points:f,metadata:{application_analytics:{time_since_qpl_module_init:i-t.$1.moduleLoadTimestamp}},marker_type:l.type,flags:1,unique_marker_id_debug_only:l.uniqueMarkerDebugId},h=p(g,l.annotations),y=m(h,l);t.$4.forEach(function(e){var t={durationMs:l?i-l.timestamp:0,logData:y,passesSampling:l.passesSampling,isCrashResilient:l.isCrashResilient};e.onMarkerEnd&&e.onMarkerEnd(c,n,a,i,t)}),l.passesSampling&&(l.timestampIsApproximate!==!0&&t.$15(y),t.$6===(e||(e=o("QPLEvent"))).getMarkerId(n)&&t.$1.onDebuggingIdEnded&&t.$1.onDebuggingIdEnded()),t.deleteMarker(e.getMarkerId(n),a)})},n.markerDrop=function(n,r){var t=this;r===void 0&&(r=0),this.$10("markerDrop",function(){var a=t.getMarker(n,r);t.deleteMarker((e||(e=o("QPLEvent"))).getMarkerId(n),r);var i=t.currentTimestamp();t.$4.forEach(function(e){if(e.onMarkerDrop){var o;e.onMarkerDrop(n,r,i,babelHelpers.extends({passesSampling:(o=a==null?void 0:a.passesSampling)!=null?o:!1},t.$16(a)))}})})},n.markEvent=function(n,r,a,i){var t=this,l=i===void 0?{}:i,s=l.timestamp,u=s===void 0?this.currentTimestamp():s,c=l.annotations;this.$10("markEvent",function(){var i;if(t.$4.forEach(function(e){e.onMarkEvent&&e.onMarkEvent({event:n,timestamp:u,annotations:c})}),!((i=t.$1.quickLogConfigHelper)!=null&&i.isKillswitchOn())){var l=t.$13(n),s=l[0],m=l[1],f=l[2];if(s){var g=d(typeof c=="function"?c():c),h={marker_id:(e||(e=o("QPLEvent"))).getMarkerId(n),action_id:51,instance_id:0,sample_rate:m,method:_.get(f),da_type:r,da_level:a,metadata:{application_analytics:{time_since_qpl_module_init:u-t.$1.moduleLoadTimestamp}},marker_type:1,flags:1};t.$15(p(h,g))}}})},n.markerStartForJoin=function(t,n,r){var e=this,a=r===void 0?{}:r,i=a.instanceKey,l=i===void 0?0:i,s=a.cancelExisting,u=s===void 0?!1:s,c=a.cancelOnUnload,d=c===void 0?!1:c,m=a.trackedForLoss,p=m===void 0?!1:m,_=a.type,f=_===void 0?1:_,g=a.qplInternalDoNotUseAbsoluteTimeOrigin,h=g===void 0?null:g,y=a.timeoutMS,C=y===void 0?null:y,b=a.monotonicTimestamp,v=b===void 0?this.currentTimestamp():b,S=a.absoluteTimeOriginMs,R=S===void 0?this.currentUnixTimestamp():S,L=a.sourceIsPrimary,E=L===void 0?!1:L,k=a.closeSession,I=a.onMarkerTimeout__DoNotUse,T=a.unreliableSourceClockProcessId,D=a.crashResilient,x=a.joinNamespaces,$=a.actionPriority;this.$10("markerStartForJoin",function(){e.markerStart(t,l,v,{cancelExisting:u,cancelOnUnload:d,trackedForLoss:p,type:f,samplingBasis:n,qplInternalDoNotUseAbsoluteTimeOrigin:h,timeoutMS:C,onMarkerTimeout__DoNotUse:I,crashResilient:D});var r=o("QPLCoreHelpers").generateJoinAnnotations(n,R,E,k,T,x,$);e.markerAnnotate(t,r,{instanceKey:l})})},n.addAlignmentPointForJoin=function(t,n,r){var e=this,a=r===void 0?{}:r,i=a.instanceKey,l=i===void 0?0:i,s=a.requestId,u=s===void 0?"default_id":s,c=a.timestamp,d=c===void 0?this.currentTimestamp():c;this.$10("addAlignmentPointForJoin",function(){var r=o("QPLCoreHelpers").getAlignmentPointName(n,u);r!=null&&e.markerPoint(t,r,{instanceKey:l,timestamp:d})})},n.setAlwaysOnSampleRate=function(t,n){this.$8.set(t,n)},n.setDefaultSampleRate=function(t){this.$3=t},n.currentTimestamp=function(){var e,t=this;return(e=this.$10("currentTimestamp",function(){return t.$1.monotonicNowMs()}))!=null?e:0},n.currentUnixTimestamp=function(){var e,t=this;return(e=this.$10("currentUnixTimestamp",function(){return t.$1.unixNowMs()}))!=null?e:0},n.enableDebug=function(t){this.$6=t},n.disableDebug=function(){this.$6=null},n.addListener=function(t){var e,n=this;return(e=this.$10("addListener",function(){var e=n.$2++;return n.$4.set(e,t),{dispose:function(){n.$4.delete(e)}}}))!=null?e:{dispose:function(){}}},n.$13=function(n,r){var t,a;if(this.$1.unsampleAllEvents&&this.$1.unsampleAllEvents()||this.$6===(e||(e=o("QPLEvent"))).getMarkerId(n))return[!0,1,o("QuickPerformanceLoggerTypes").EVENT_BASED_SAMPLING];var i=(e||(e=o("QPLEvent"))).getSampleRate(n),l=e.getSamplingMethod(n);if(this.$8.get(n)==null&&i!==0&&l===o("QuickPerformanceLoggerTypes").USER_BASED_SAMPLING)return[!0,i!=null?i:1,o("QuickPerformanceLoggerTypes").USER_BASED_SAMPLING];var s=(t=(a=this.$8.get(n))!=null?a:i)!=null?t:this.$3,u=l!=null?l:o("QuickPerformanceLoggerTypes").EVENT_BASED_SAMPLING,c=f(s,r);return[c,s,u]},n.$15=function(t){this.$4.forEach(function(e){e.onUploadEvent&&e.onUploadEvent(t)});var e=this.$1.decorateEventBeforeUpload?this.$1.decorateEventBeforeUpload(t):t;this.$1.sendEvent(t,e)},n.$19=function(t,n,r){if(t.timeoutMS==null)return!1;var e=r-n;return e>=t.timeoutMS},n.getActiveMarkerIds=function(t){var e,n=this,r=t.type;return(e=this.$10("getActiveMarkerIds",function(){var e=new Set;return n.activeMarkers.forEach(function(t,n){t.forEach(function(t){if(t.type===r){e.add(n);return}})}),Array.from(e)}))!=null?e:[]},n.getActiveE2ETraceIds=function(){var e,t=this;return(e=this.$10("getActiveE2ETraceIds",function(){var e=new Map;return t.activeMarkers.forEach(function(t,n){var r=new Map;t.forEach(function(e,t){e.e2eTracingID!=null&&r.set(t,{e2eTraceID:e.e2eTracingID,qplEvent:e.event})}),r.size>0&&e.set(n,r)}),e}))!=null?e:new Map},n.getActiveE2ETraceIdsAsArray=function(){var e,t=this;return(e=this.$10("getActiveE2ETraceIdsAsArray",function(){var e=[];return t.activeMarkers.forEach(function(t,n){t.forEach(function(t,n){t.e2eTracingID!=null&&e.push(t.e2eTracingID)})}),e}))!=null?e:[]},n.forEachMarkerInstance=function(t,n){var e=this;this.$10("forEachMarkerInstance",function(){var r=e.$11(t);if(r)for(var o of r.entries()){var a=o[0],i=o[1];n(a,i.event)}})},n.getMarkerStartTs=function(t,n){var e=this,r=n===void 0?{}:n,o=r.instanceKey,a=o===void 0?0:o;return this.$10("getMarkerStartTs",function(){var n=e.getMarker(t,a);if(n)return n.timestamp})},n.markerLogDebugPoints=function(n,a){var t=this,i=a===void 0?{}:a,l=i.instanceKey,s=l===void 0?0:l;this.$10("markerLogDebugPoints",function(){var a=(e||(e=o("QPLEvent"))).getMarkerId(n),i=t.getMarker(n,s);if(i){var l=r("uuidv4")();i.uniqueMarkerDebugId=l}})},t})();g.normalizeAnnotations=d,l.default=g}),98); __d("QPLInspector",[],(function(t,n,r,o,a,i){var e=(function(){function e(){this.$1=[],this.$2={}}var t=e.prototype;return t.appendLog=function(t){for(var e in this.$2)!Object.prototype.hasOwnProperty.call(this.$2,e)||t.marker_id!==e||this.$2[t.marker_id].forEach(function(e){return e(t)});this.$1.push(t)},t.dumpLogs=function(){return this.$1},t.addListener=function(t,n){Object.prototype.hasOwnProperty.call(this.$2,t)||(this.$2[t]=[]),this.$2[t].push(n),this.$1.forEach(function(e){e.marker_id===t&&n(e)})},t.removeListener=function(t,n){var e=this.$2[t].indexOf(n);e!==-1&&this.$2[t].splice(e,1)},e})(),l=new e;i.default=l}),66); __d("QuickPerformanceLogger",["Arbiter","Env","FBLogger","ODS","PerfFalcoEvent","PerfXSharedFields","Promise","QPLCore","QPLEvent","QPLInspector","Run","WebStorage","clearTimeout","cr:12180","cr:1984081","cr:686","getErrorSafe","gkx","guid","justknobx","performanceAbsoluteNow","performanceNavigationStart","performanceNow","setTimeout"],(function(t,n,r,o,a,i,l){"use strict";var e,s,u,c,d,m,p,_,f=typeof window!="undefined"?window:self;function g(t,n){r("FBLogger")("qpl").catching(r("getErrorSafe")(n)).MUSTFIX(e||(e=babelHelpers.taggedTemplateLiteralLoose(["QPL error in ",""])),t)}function h(e){var t=r("PerfXSharedFields").getCommonData(),n={memory_stats:{total_mem:t.ram_gb!=null?t.ram_gb*1073741824:null},network_stats:{downlink_megabits:t.downlink_megabits,network_subtype:t.effective_connection_type,rtt_ms:t.rtt_ms},sitedata_info:{client_push_phase:t.client_push_phase,client_revision:t.client_revision,server_revision:t.server_revision},locale_info:{locale:t.locale,isRTL:t.isRTL}};if(r("gkx")("20836")&&(n.workplace_info={is_gemini:r("gkx")("21050")}),r("gkx")("21051")&&typeof f.__sapienzMetadataCallback__=="function"){var o=f.__sapienzMetadataCallback__();n.sapienz={request_id:String(o.requestId),config_name:String(o.configName)}}return babelHelpers.extends({},e,{metadata:babelHelpers.extends({},e.metadata,n)})}function y(e,t,n){return{i:e,m:n,r:t}}function C(e,t){return new(_||(_=n("Promise")))(function(){var n,o=t||e;typeof f.__je2e_recordQPLMarker=="function"&&f.__je2e_recordQPLMarker(o),(p||(p=r("Env"))).enable_qplinspector===!0&&r("QPLInspector").appendLog(o),r("gkx")("21053")||r("gkx")("20935")||r("gkx")("5679")?r("PerfFalcoEvent").logImmediately(function(){return o}):r("gkx")("2160")||r("gkx")("21055")||r("gkx")("9550")?r("PerfFalcoEvent").logCritical(function(){return o}):((n=o.annotations)==null?void 0:n.join_id)!=null&&r("justknobx")._("3011")?r("PerfFalcoEvent").logImmediately(function(){return o}):r("PerfFalcoEvent").log(function(){return o})})}function b(e){var t=(s||(s=o("QPLEvent"))).getMarkerId(e),n=t+"_"+r("guid")();return(m||(m=o("ODS"))).bumpEntityKey(2401,"obc.www.all","qpl.e2e_tracing_id_generated."+t),n}function v(e){var t=babelHelpers.extends({},e,{config_type:r("gkx")("21056")?"alpha_beta":"prod"});return h(t)}function S(){return(p||(p=r("Env"))).enable_qplinspector===!0||typeof f.__je2e_recordQPLMarker=="function"||r("gkx")("21057")}function R(){r("Arbiter").inform("qpl_debugger_finished")}var L=(u||(u=r("performanceAbsoluteNow")))();typeof f.__je2e_felabsTracePlugin_setQplInit=="function"&&f.__je2e_felabsTracePlugin_setQplInit((c||(c=r("performanceNow")))());var E={debug:function(t,n,r){},warn:function(t){r("FBLogger")("qpl").blameToPreviousDirectory().warn(t)}},k="qpl",I=(function(e){function t(){var t;t=e.call(this,{decorateEventBeforeUpload:v,unsampleAllEvents:S,onDebuggingIdEnded:R,monotonicNowMs:u||(u=r("performanceAbsoluteNow")),unixNowMs:u||(u=r("performanceAbsoluteNow")),moduleLoadTimestamp:L,logger:E,sendEvent:C,e2eTracingIDGenerator:b,runtimeAbstractionLayer:{setTimeout:r("setTimeout"),clearTimeout:r("clearTimeout")},debugLoggingEnabled:(p||(p=r("Env"))).qpl_debug_logging,onError:g})||this;var n=r("gkx")("21055")?r("gkx")("21058")?function(e){return o("Run").onBeforeUnload(e,!1)}:o("Run").onBeforeUnload:o("Run").onUnload;return n(function(){t.$QuickPerformanceLogger$p_1(),t.$QuickPerformanceLogger$p_2(706,{respectUnloadPolicy:!0,timestamp:t.currentTimestamp()})}),t.$QuickPerformanceLogger$p_3(),t.initQplFlipperPlugin(),t.initQplSapienzPlugin(),t.initQplUserTimingPlugin(),t}babelHelpers.inheritsLoose(t,e);var a=t.prototype;return a.$QuickPerformanceLogger$p_3=function(){var e=this,t=(d||(d=r("WebStorage"))).getSessionStorageForRead();if(!t){this.$QuickPerformanceLogger$p_4("#loadSavedState","sessionStorage is not available");return}var n=t.getItem(k);if(n!=null){t.removeItem(k);var o=JSON.parse(n);if(o==null){this.$QuickPerformanceLogger$p_4("#loadSavedState","Saved state failed to deserialize");return}if(o.markers==null||o.markers.length===0){this.$QuickPerformanceLogger$p_4("#loadSavedState","No saved markers found");return}o.markers.forEach(function(t){var n=t[0],r=t[1],o=t[2];e.addMarker(n,r,o),e.$QuickPerformanceLogger$p_4("#loadSavedState","Marker "+n+" (instanceKey: "+r+") resumed")})}},a.$QuickPerformanceLogger$p_1=function(){var e=this,t=[];if(this.activeMarkers.forEach(function(e,n){e.forEach(function(e,r){e.resumeAfterNavigation===!0&&(delete e.resumeAfterNavigation,t.push([n,r,e]))})}),t.length>0){var n={markers:t},o=(d||(d=r("WebStorage"))).getSessionStorage(),a=d.setItemGuarded(o,k,JSON.stringify(n));a&&(t.forEach(function(t){var n=t[0],r=t[1],o=t[2],a=y(n,o.sampleRate,o.samplingMethod);e.markerEnd(a,96,r)}),this.$QuickPerformanceLogger$p_4("#storeSavedState","Failed to store saved state: "+a.message),r("FBLogger")("qpl").catching(a).warn("Failed to store QPL state: "+JSON.stringify(n,null,2))),t.forEach(function(t){var n=t[0],r=t[1];e.deleteMarker(n,r)})}},a.markerStoreBeforeNavigation=function(t,n){var e=n===void 0?{}:n,r=e.instanceKey,a=r===void 0?0:r,i=(s||(s=o("QPLEvent"))).getMarkerId(t),l=this.getMarker(t,a);if(!l){this.$QuickPerformanceLogger$p_4("markerStoreBeforeNavigation","Failed to set marker to store on page unload. Could not find marker "+i+", instancekey="+a);return}l.resumeAfterNavigation=!0,this.$QuickPerformanceLogger$p_4("markerStoreBeforeNavigation","Set marker "+i+" to store on page unload, instancekey="+a)},a.markerStartFromNavStart=function(t,n,o){n===void 0&&(n=0);var e=o===void 0?{}:o,a=e.cancelExisting,i=a===void 0?!1:a,l=e.cancelOnUnload,s=l===void 0?!1:l,u=e.trackedForLoss,c=u===void 0?!1:u,d=e.type,m=d===void 0?1:d,p=e.qplInternalDoNotUseConvertToTimeOnServer,_=e.onMarkerTimeout__DoNotUse,f=e.timeoutMS,g=f===void 0?null:f,h=e.crashResilient,y=h===void 0?!1:h,C=r("performanceNavigationStart")(),b=typeof p=="function"?p(C):void 0;if(this.markerStart(t,n,C,{cancelExisting:i,cancelOnUnload:s,trackedForLoss:c,type:m,qplInternalDoNotUseAbsoluteTimeOrigin:b,onMarkerTimeout__DoNotUse:_,timeoutMS:g,crashResilient:y}),r("performanceNavigationStart").isPolyfilled===!0){var v=this.getMarker(t,n);v&&(v.timestampIsApproximate=!0)}},a.markerStartForJoinFromNavStart=function(t,n,o){var e=o===void 0?{}:o,a=e.instanceKey,i=a===void 0?0:a,l=e.cancelExisting,s=l===void 0?!1:l,u=e.cancelOnUnload,c=u===void 0?!1:u,d=e.trackedForLoss,m=d===void 0?!1:d,p=e.type,_=p===void 0?1:p,f=e.qplInternalDoNotUseConvertToTimeOnServer,g=e.absoluteTimeOriginMs,h=e.sourceIsPrimary,y=h===void 0?!1:h,C=e.closeSession,b=e.unreliableSourceClockProcessId,v=e.onMarkerTimeout__DoNotUse,S=e.timeoutMS,R=e.crashResilient,L=R===void 0?!1:R,E=r("performanceNavigationStart")(),k=typeof f=="function"?f(E):void 0;if(this.markerStartForJoin(t,n,{instanceKey:i,cancelExisting:s,cancelOnUnload:c,trackedForLoss:m,type:_,qplInternalDoNotUseAbsoluteTimeOrigin:k,monotonicTimestamp:E,absoluteTimeOriginMs:g,sourceIsPrimary:y,closeSession:C,unreliableSourceClockProcessId:b,timeoutMS:S,onMarkerTimeout__DoNotUse:v,crashResilient:L}),r("performanceNavigationStart").isPolyfilled===!0){var I=this.getMarker(t,i);I&&(I.timestampIsApproximate=!0)}},a.$QuickPerformanceLogger$p_2=function(t,n){var e=this,r=n===void 0?{}:n,o=r.respectUnloadPolicy,a=r.timestamp;this.activeMarkers.forEach(function(n,r){n.forEach(function(n,i){if(o!==!0||n.cancelOnUnload===!0){var l=y(r,n.sampleRate,n.samplingMethod);e.markerEnd(l,t,i,a)}})})},a.$QuickPerformanceLogger$p_4=function(t,n,r){E.debug(t,n,r)},a.initQplFlipperPlugin=function(){n("cr:686")!=null&&this.addListener(n("cr:686").qplFlipperPlugin.listener())},a.initQplSapienzPlugin=function(){n("cr:1984081")!=null&&this.addListener(n("cr:1984081").getQplSapienzListener())},a.initQplUserTimingPlugin=function(){n("cr:12180")!=null&&this.addListener(n("cr:12180").getQplUserTimingListener())},t})(r("QPLCore")),T=new I,D=T;l.default=D}),98); __d("SubscriptionsHandler",["invariant"],(function(t,n,r,o,a,i,l,s){"use strict";var e=["remove","reset","unsubscribe","cancel","dispose"];function u(t){for(var n of e)if(typeof t[n]=="function")return t[n]}function c(e){var t;(t=u(e))==null||t.call(e)}var d=(function(){function e(){this.$1=[]}var t=e.prototype;return t.addSubscriptions=function(){for(var e=arguments.length,t=new Array(e),n=0;n