;/*FB_PKG_DELIM*/ __d("SubscriptionList",["FBLogger"],(function(t,n,r,o,a,i,l){var e=(function(){function e(e,t){this.$1=[],this.$2=e,this.$3=t}var t=e.prototype;return t.add=function(t){var e=this,n={callback:t};return this.$1.push(n),this.$2&&this.$1.length===1&&this.$2(),{remove:function(){var t=e.$1.indexOf(n);if(t===-1){r("FBLogger")("SubscriptionList").mustfix("SubscriptionList: Callback already removed.");return}e.$1.splice(t,1),e.$3&&e.$1.length===0&&e.$3()}}},t.getCallbacks=function(){return this.$1.map(function(e){return e.callback})},t.fireCallbacks=function(t){this.getCallbacks().forEach(function(e){e(t)})},e})();l.default=e}),98); __d("ScriptPath",["ErrorGuard","SubscriptionList","TimeSlice","WebStorage","isInIframe"],(function(t,n,r,o,a,i){"use strict";var e,l,s="sp_pi",u=3e4,c=null,d=null,m=new(n("SubscriptionList")),p=null,_=[],f=n("TimeSlice").guard(function(t,r){m.getCallbacks().forEach(function(o){(e||(e=n("ErrorGuard"))).applyWithGuard(function(){o({source:c,dest:d,cause:t,extraData:r})},null,[])})},"ScriptPath Notifying callbacks",{propagationType:n("TimeSlice").PropagationType.ORPHAN});function g(){return d?d.scriptPath:void 0}function h(){var e=(l||(l=n("WebStorage"))).getSessionStorage();!e||n("isInIframe")()||l.setItemGuarded(e,s,JSON.stringify({pageInfo:d,clickPoint:p,time:Date.now()}))}function y(){var e=(l||(l=n("WebStorage"))).getSessionStorageForRead();if(e){var t=e.getItem(s);if(t!=null&&t!==""){var r=JSON.parse(t);r&&(r.time0?(_[e-1]=t,f("replace_overlay_view",n)):(_.push(t),f("open_overlay_view",n)))}},closeOverlayView:function(t,n){var e=_.lastIndexOf(t);e!==-1&&(c=babelHelpers.extends({},d),d&&(e>0?d.topViewEndpoint=_[e-1]:d.topViewEndpoint=null),_=_.slice(0,e),f("close_overlay_view",n))},setClickPointInfo:function(t){p=t,h()},getClickPointInfo:function(){return p},getScriptPath:g,getCategoryToken:function(){return d?d.categoryToken:void 0},getEarlyFlushPage:function(){var e;return(e=d)==null||(e=e.extraData)==null?void 0:e.ef_page},getTopViewEndpoint:function(){var e=_.length;return e>0?_[e-1]:g()},getPageInfo:function(){return d},getSourcePageInfo:function(){return c},subscribe:function(t){return m.add(n("TimeSlice").guard(t,"ScriptPath.subscribe"))},shutdown:function(){h()}};a.exports=C}),null); __d("canSendCredentialsForAsyncRequest",["isFacebookURI","isMetaAIURI"],(function(t,n,r,o,a,i,l){"use strict";var e="(^|\\.)instagram\\.com$",s="(^|\\.)threads\\.(net|com)$",u="(^|\\.)messenger\\.com$",c="(^|\\.)workplace\\.com$",d="(^|\\.)workrooms\\.com$",m="(^|\\.)work\\.meta\\.com$",p="(^|\\.)horizon\\.meta\\.com$",_="(^|\\.)spark\\.meta\\.com$",f="(^|\\.)developers\\.meta\\.com$",g="(^|\\.)ar\\.meta\\.com$",h="(^|\\.)aidemos\\.meta\\.com$",y="(^|\\.)bugbounty\\.meta\\.com$",C="(^|\\.)devicemanager\\.meta\\.com$",b="(^|\\.)www\\.meta\\.com$",v="(^|\\.)wearables?(\\.[^.]+)*\\.developer\\.meta\\.com$",S=[e,s,u,c,d,m,p,_,f,g,h,y,C,b,v].join("|"),R="(^|\\.)internalfb\\.com$",L=null,E=null;function k(e){if(r("isFacebookURI")(e)||r("isMetaAIURI")(e))return!0;var t=e.getDomain(),n=E;if(n==null&&(n=new RegExp(R,"i"),E=n),n.test(t))return!0;if(e.getProtocol()!=="https")return!1;var o=L;return o==null&&(o=new RegExp(S,"i"),L=o),o.test(t)}l.default=k}),98); __d("getContextualParent",["ge"],(function(t,n,r,o,a,i,l){function e(e,t){t===void 0&&(t=!1);var n=!1,o=e;do{var a;if(o instanceof Element){var i=o.getAttribute("data-ownerid");if(i!=null&&i!==""){o=r("ge")(i),n=!0;continue}}o=(a=o)==null?void 0:a.parentNode}while(t&&o&&!n);return o}l.default=e}),98); __d("throttle",["TimeSlice","TimeSliceInteractionSV","setTimeout","setTimeoutAcrossTransitions"],(function(t,n,r,o,a,i,l){function e(e,t,n){return s(e,t,n,r("setTimeout"),!1)}Object.assign(e,{acrossTransitions:function(t,n,o){return s(t,n,o,r("setTimeoutAcrossTransitions"),!1)},withBlocking:function(t,n,o){return s(t,n,o,r("setTimeout"),!0)},acrossTransitionsWithBlocking:function(t,n,o){return s(t,n,o,r("setTimeoutAcrossTransitions"),!0)}});function s(e,t,n,o,a){var i=t==null?100:t,l,s=null,u=0,c=null,d=[],m=r("TimeSlice").guard(function(){if(u=Date.now(),s){for(var t=function(t){e.apply(l,t)}.bind(null,s),n=d.length;--n>=0;)t=d[n].bind(null,t);d=[],t(),s=null,c=o(m,i)}else c=null},"throttle_"+i+"_ms",{propagationType:r("TimeSlice").PropagationType.EXECUTION,registerCallStack:!0});return m.__SMmeta=e.__SMmeta,function(){r("TimeSliceInteractionSV").ref_counting_fix&&d.push(r("TimeSlice").getGuardedContinuation("throttleWithContinuation"));for(var e=arguments.length,t=new Array(e),p=0;pi)&&(a===!0?m():c=o(m,0))}}var u=e;l.default=u}),98);