;/*FB_PKG_DELIM*/

__d("LSIssueAttachmentsRangeQuery",["LSGetCursor","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.storedProcedure(b("LSGetCursor"),c.i64.cast([0,1])).then(function(a){return a=a,d[0]=a[0],a})},function(e){return c.db.table(17).fetch([[[a[0],a[1]]]]).next().then(function(e,f){var g=e.done;e=e.value;return g?c.sequence([function(b){return c.db.table(9).fetch([[[a[0]]]]).next().then(function(b,e){var a=b.done;b=b.value;return a?d[2]=c.i64.cast([0,1]):(e=b.item,d[7]=e.syncGroup,c.i64.neq(d[7],void 0)?d[6]=d[7]:d[6]=c.i64.cast([0,1]),d[2]=d[6])})},function(e){return d[4]=new c.Map(),d[4].set("thread_key",a[0]),d[4].set("media_group",a[1]),d[4].set("max_timestamp_ms",c.i64.cast([2328,1316134911])),d[4].set("cursor",d[0]),d[4].set("sync_group",d[2]),d[4].set("last_loaded_message_id",void 0),d[5]=c.toJSON(d[4]),c.storedProcedure(b("LSIssueNewTask"),"arq",c.i64.cast([0,105]),d[5],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]))}]):(f=e.item,f.hasMoreBefore?c.sequence([function(b){return c.db.table(9).fetch([[[a[0]]]]).next().then(function(b,e){var a=b.done;b=b.value;return a?d[2]=c.i64.cast([0,1]):(e=b.item,d[7]=e.syncGroup,c.i64.neq(d[7],void 0)?d[6]=d[7]:d[6]=c.i64.cast([0,1]),d[2]=d[6])})},function(e){return d[4]=new c.Map(),d[4].set("thread_key",a[0]),d[4].set("media_group",a[1]),d[4].set("max_timestamp_ms",f.minTimestampMs),d[4].set("cursor",d[0]),d[4].set("sync_group",d[2]),d[4].set("last_loaded_message_id",void 0),d[5]=c.toJSON(d[4]),c.storedProcedure(b("LSIssueNewTask"),"arq",c.i64.cast([0,105]),d[5],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__="LSMailboxIssueAttachmentsRangeQueryStoredProcedure";e.exports=a}),null);
__d("LSIssueAttachmentsRangeQueryStoredProcedure",["LSIssueAttachmentsRangeQuery","cr:8709"],(function(a,b,c,d,e,f,g){function a(a,b){var d=[];d[0]=b.threadKey;d[1]=b.mediaGroup;return c("LSIssueAttachmentsRangeQuery").apply(void 0,d.concat([a]))}g["default"]=a}),98);
__d("MDSShareSvgIcon.react",["MDSSvgIcon.react","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||d("react");function a(a){return i.jsxs(c("MDSSvgIcon.react"),babelHelpers["extends"]({},a,{children:[i.jsx("path",{d:"M18.766 4.857a1 1 0 00-1.532 0L13.878 8.86a1 1 0 00.766 1.643H16.5a.25.25 0 01.25.25v10.75a1 1 0 001 1h.5a1 1 0 001-1v-10.75a.25.25 0 01.25-.25h1.856a1 1 0 00.766-1.643l-3.356-4.002z"}),i.jsx("path",{d:"M14.75 13.502a1 1 0 00-1-1H12.5a4 4 0 00-4 4v8.5a4 4 0 004 4h11a4 4 0 004-4v-8.5a4 4 0 00-4-4h-1.25a1 1 0 00-1 1v.5a1 1 0 001 1h1.25a1.5 1.5 0 011.5 1.5v8.5a1.5 1.5 0 01-1.5 1.5h-11a1.5 1.5 0 01-1.5-1.5v-8.5a1.5 1.5 0 011.5-1.5h1.25a1 1 0 001-1v-.5z"})]}))}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
__d("MWChatAttachmentMediaState.react",["$InternalEnum","I64","LSIntEnum","MessagingAttachmentType","RavenMessagingState","ReQL","ReQLSuspense","filterNulls","gkx","react","useReStore"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j,k,l=i||(i=d("react"));e=i;var m=e.createContext,n=e.useCallback,o=e.useEffect,p=e.useMemo,q=e.useState,r=b("$InternalEnum")({Image:0,Video:1}),s=m({canMoveBackward:!1,canMoveForward:!1,card:void 0,cards:[],currentIndex:0,moveBackward:function(){},moveForward:function(){},moveTo:function(){},numberOfCards:0});function t(a){var b=a.attachmentType;a=a.ephemeralMediaState;return a!=null&&(j||(j=d("I64"))).equal(b,(k||(k=d("LSIntEnum"))).ofNumber(c("MessagingAttachmentType").EPHEMERAL_IMAGE))&&(j||(j=d("I64"))).equal(a,(k||(k=d("LSIntEnum"))).ofNumber(c("RavenMessagingState").PERMANENT))}function u(a){var b=a.attachmentType;a=a.ephemeralMediaState;return a!=null&&(j||(j=d("I64"))).equal(b,(k||(k=d("LSIntEnum"))).ofNumber(c("MessagingAttachmentType").EPHEMERAL_VIDEO))&&(j||(j=d("I64"))).equal(a,(k||(k=d("LSIntEnum"))).ofNumber(c("RavenMessagingState").PERMANENT))}function v(a,b,c,d){return c?d.hasMedia:b(d,"isPlayableMedia")!=null&&a(d,"isPlayableMedia")!=null}function w(a,b,e,f){var g=f.attachmentType;return!v(a,b,e,f)?!1:t(f)||(j||(j=d("I64"))).equal(g,(k||(k=d("LSIntEnum"))).ofNumber(c("MessagingAttachmentType").IMAGE))}function x(a,b,e,f){var g=f.attachmentType;return!v(a,b,e,f)?!1:u(f)||(j||(j=d("I64"))).equal(g,(k||(k=d("LSIntEnum"))).ofNumber(c("MessagingAttachmentType").VIDEO))}function y(a,b){o(function(){a.forEach(function(a){try{c("gkx")("1445")?a.attachment.hasMedia&&b(a.attachment,"usePreloadThumbnails"):b(a.attachment,"usePreloadThumbnails");return}catch(a){return}})},[a,b])}function z(a){var b=a.attachments,d=a.children,e=a.getIsSecureThread,f=a.getPlayableUrl,g=a.getPreviewUrl;a=a.initialAttachment;a=q(a);var h=a[0],i=a[1],j=p(function(){return c("filterNulls")(b.map(function(a){var b=e(a);if(w(f,g,b,a))return{attachment:a,type:r.Image};return x(f,g,b,a)?{attachment:a,type:r.Video}:null}))},[b,e,f,g]),k=h==null?-1:j.findIndex(function(a){return a.attachment.attachmentFbid===h.attachmentFbid&&a.attachment.messageId===h.messageId});y(j,g);a=p(function(){var a=Math.max(0,j.length-1);return{canMoveBackward:k>0&&k!==-1,canMoveForward:k<a&&k!==-1,card:j[k],cards:j,currentIndex:k,moveBackward:function(){var a=Math.max(k-1,0);i((a=j[a])==null?void 0:a.attachment)},moveForward:function(){var b=Math.min(k+1,a);i((b=j[b])==null?void 0:b.attachment)},moveTo:function(a){i(a.attachment)},numberOfCards:j.length}},[k,j]);return l.jsx(s.Provider,{value:a,children:d})}z.displayName=z.name+" [from "+f.id+"]";function a(a){var b=a.attachmentFbid,e=a.children,g=a.getPlayableUrl,i=a.getPreviewUrl,k=a.isSecureThread,m=a.threadKey,o=(h||(h=c("useReStore")))();a=d("ReQLSuspense").useFirst(function(){return d("ReQL").fromTableAscending(o.tables.attachments).getKeyRange(m).filter(function(a){return a.attachmentFbid===b})},[o,m,b],f.id+":269");var q=d("ReQLSuspense").useArray(function(){return d("ReQL").fromTableAscending(o.tables.attachments).getKeyRange(m).filter(function(a){return w(g,i,k,a)||x(g,i,k,a)})},[m,o],f.id+":277"),r=p(function(){return q.sort(function(a,b){return(j||(j=d("I64"))).compare(b.timestampMs,a.timestampMs)})},[q]),s=n(function(){return k},[k]);return l.jsx(z,{attachments:r,getIsSecureThread:s,getPlayableUrl:g,getPreviewUrl:i,initialAttachment:a,children:e})}a.displayName=a.name+" [from "+f.id+"]";g.AttachmentMediaType=r;g.context=s;g.MWChatAttachmentMediaStateProviderFromAttachments=z;g.MWChatAttachmentMediaStateProvider=a}),98);
__d("MWChatAttachmentMediaNavigationHotkeys.react",["fbt","CometKeys","MWChatAttachmentMediaState.react","react","useLayerKeyCommands"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j=i||(i=d("react"));b=i;var k=b.useContext,l=b.useMemo,m={key:c("CometKeys").LEFT},n={key:c("CometKeys").RIGHT},o=h._("__JHASH__6tFY25IlnV4__JHASH__"),p=h._("__JHASH__HYvhkJNYo2M__JHASH__");function a(a){a=a.children;var b=k(d("MWChatAttachmentMediaState.react").context),e=b.moveBackward,f=b.moveForward;b=l(function(){return[{command:m,description:o,handler:e},{command:n,description:p,handler:f}]},[f,e,m,n,o,p]);c("useLayerKeyCommands")(b);return j.jsx("div",{children:(b=a)!=null?b:null})}a.displayName=a.name+" [from "+f.id+"]";g.keyLeft=m;g.keyRight=n;g.MWChatAttachmentMediaNavigationHotkeys=a}),226);
__d("MWV2MediaViewerContext.react",["react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||(h=d("react")),j=h.useMemo,k=i.createContext({getDownloadUrl:function(){},getPlayableUrl:function(){},getPreviewUrl:function(){},heroLoggingComponent:function(a){return null},loadMore:function(){},media:[]});function a(a){var b=a.children,c=a.getDownloadUrl,d=a.getPlayableUrl,e=a.getPreviewUrl,f=a.heroLoggingComponent,g=a.loadMore,h=a.media;a=j(function(){return{getDownloadUrl:c,getPlayableUrl:d,getPreviewUrl:e,heroLoggingComponent:f,loadMore:g,media:h}},[c,d,e,f,g,h]);return i.jsx(k.Provider,{value:a,children:b})}a.displayName=a.name+" [from "+f.id+"]";g.context=k;g.MWV2MediaViewerContextProvider=a}),98);
__d("MWChatAttachmentMediaThumbnails.react",["CometMediaViewerFilmstrip.react","CometPlaceholder.react","MWChatAttachmentMediaState.react","MWV2MediaViewerContext.react","gkx","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.useDeferredValue;function l(a){var b=a.card,e=a.getPlayableUrl;a=a.getPreviewUrl;var f=b.attachment,g,h="/images/comet/gray.png";if(f.hasMedia===!1)g=h;else{var i;g=(i=a(f,"toFilmstripThumbnail"))!=null?i:h}i=g;b.type===d("MWChatAttachmentMediaState.react").AttachmentMediaType.Video&&!Boolean(g)&&c("gkx")("3368")&&(i=e(f,"toFilmstripThumbnail"));if(b.type===d("MWChatAttachmentMediaState.react").AttachmentMediaType.Image){return{alt:(h=f.accessibilitySummaryText)!=null?h:"",backgroundColor:void 0,height:0,isUseImageResizing:void 0,mediaType:"image",uri:c("gkx")("1445")?g:(e=a(f,"toFilmstripThumbnail"))!=null?e:"",width:0}}return{height:0,mediaType:"video",thumbnailUri:c("gkx")("1445")?g:(b=a(f,"toFilmstripThumbnail"))!=null?b:"",uri:c("gkx")("1445")||!Boolean(g)?i:(h=a(f,"toFilmstripThumbnail"))!=null?h:"",width:0}}function m(a){var b=a.activeCard,e=a.cards,f=a.getPreviewUrl,g=a.onSetImage,h=j(d("MWV2MediaViewerContext.react").context),k=function(a,b){return a==null?"":(a=h.getDownloadUrl(a,b))!=null?a:""};a=e.map(function(a){return l({card:a,getPlayableUrl:k,getPreviewUrl:f})});var m=e.findIndex(function(a){var c;return a.attachment.attachmentFbid===(b==null?void 0:(c=b.attachment)==null?void 0:c.attachmentFbid)&&a.attachment.messageId===(b==null?void 0:(c=b.attachment)==null?void 0:c.messageId)});return i.jsx(c("CometMediaViewerFilmstrip.react"),{activeIndex:m,images:a,onSetImage:function(a){return g(e[a])}})}m.displayName=m.name+" [from "+f.id+"]";function a(a){a=a.getPreviewUrl;var b=j(d("MWChatAttachmentMediaState.react").context),e=b.card,f=b.cards;b=b.moveTo;f=k(f);return i.jsx("div",{className:"xdj266r xkrivgy xat24cr x1gryazu x193iq5w x6ikm8r x10wlt62",children:i.jsx(c("CometPlaceholder.react"),{fallback:null,children:i.jsx(m,{activeCard:e,cards:f,getPreviewUrl:a,onSetImage:b})})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
__d("MWChatForwardCircleButton.react",["fbt","MDSShareSvgIcon.react","ODS","SVGIcon","TetraCircleButton.react","react"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j,k=i||d("react");function a(a){a.attachmentID;var b=a.color,e=a.onOpenForwardDialog,f=a.type;return k.jsx(c("TetraCircleButton.react"),{icon:d("SVGIcon").legacySVGIcon(function(){return k.jsx(c("MDSShareSvgIcon.react"),{color:b,size:24})}),label:h._("__JHASH__GvPr2MwluxY__JHASH__"),onPress:function(){(j||(j=d("ODS"))).bumpEntityKey(3185,"mwchat_media_viewer","forward"),e()},size:36,testid:void 0,type:function(){switch(f){case"deemphasized":return"deemphasized";case"normal":return"normal";case"overlay":return"overlay";case"dark_overlay":return"dark-overlay";case"deemphasized_overlay":case"overlay_raised":return"overlay-raised";case"primary_background_overlay":return"primary-background-overlay"}}()})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),226);
__d("MWMediaViewerRenderQpl",["MWMediaRenderQplUtils"],(function(a,b,c,d,e,f,g){"use strict";function a(a,b){return d("MWMediaRenderQplUtils").useCommonMediaRenderQplForAttachment(a,b,"full_screen_view")}g.useMediaViewerRenderQpl=a}),98);
__d("MWSharedAttachmentsSectionHooks",["I64","LSIntEnum","LSThreadMediaGalleryGroup","MessagingAttachmentType","ReQL","ReQLSuspense","gkx","qex","react","usePrevious","useReStore"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j,k,l=k||d("react"),m=l.useCallback,n=l.useEffect,o=l.useState;function a(a){var b=a.attachmentsRange,d=a.hasMore,e=a.loadMore,f=a.logLoadMediaCancel,g=a.logLoadMediaSuccess,h=a.media,i=a.skipInitialLoad;a=o(!1);var j=a[0],k=a[1],l=h.length,p=(a=c("usePrevious")(l))!=null?a:0,q=c("usePrevious")(d),r=(h=c("usePrevious")(j))!=null?h:!1;n(function(){b==null&&i!==!0&&(e(),c("gkx")("2616")===!0&&k(!0))},[b,e,i]);n(function(){var a=p!==l,f=q===!0&&!d||b==null&&d===!1&&q===!1&&p===l&&c("gkx")("2616")===!0;j&&(f||a)?(k(!1),g==null?void 0:g({fetchedMediaCount:l-p,startMediaCount:p})):p===l&&d&&j&&r===!0&&c("gkx")("2616")===!0&&(g==null?void 0:g({fetchedMediaCount:l-p,isAlreadyPreloaded:!0,startMediaCount:p}),e())},[l,d,j,p,q,b,e,r,g,f]);a=m(function(){if(!j){e();return k(!0)}},[j,e,k]);h=l>0||!j&&!d;return[j,a,h]}function p(a,b,e,g){g=g===void 0?{}:g;g=g.removeUnsentMessages;var i=g===void 0?!1:g,j=(h||(h=c("useReStore")))();g=u(a,b);b=g.attachmentsRange;var k=g.hasMoreBefore,l=g.minTimestampMs,n=g.query,o=m(function(a){if(!e(a))return null;if(!i)return a;var b=d("ReQLSuspense").first(d("ReQL").fromTableAscending(j.tables.messages.index("messageId")).getKeyRange(a.messageId),f.id+":153");return b==null||b.isUnsent?null:a},[j,e,i]);g=d("ReQLSuspense").useArray(function(){return n.map(o).filter(Boolean)},[j,a,o,l],f.id+":166");return[g,b,l,k]}function q(a){var b=a.attachmentType;a=a.defaultCtaType;return(i||(i=d("I64"))).equal(b,(j||(j=d("LSIntEnum"))).ofNumber(c("MessagingAttachmentType").XMA))?a==="xma_web_url":!1}function b(a,b){a=p(a,(j||(j=d("LSIntEnum"))).ofNumber(c("LSThreadMediaGalleryGroup").LINKS),q,b);b=a[0];var e=a[1],f=a[2];a=a[3];return[b,j.ofNumber(c("LSThreadMediaGalleryGroup").LINKS),e,f,a]}function r(a){a=a.attachmentType;return(i||(i=d("I64"))).equal(a,(j||(j=d("LSIntEnum"))).ofNumber(c("MessagingAttachmentType").IMAGE))||(i||(i=d("I64"))).equal(a,(j||(j=d("LSIntEnum"))).ofNumber(c("MessagingAttachmentType").VIDEO))}function e(a,b){a=p(a,(j||(j=d("LSIntEnum"))).ofNumber(c("LSThreadMediaGalleryGroup").PHOTOS_AND_VIDEOS),r,b);b=a[0];var e=a[1],f=a[2];a=a[3];return[b,j.ofNumber(c("LSThreadMediaGalleryGroup").PHOTOS_AND_VIDEOS),e,f,a]}function s(a){a=a.attachmentType;return(i||(i=d("I64"))).equal(a,(j||(j=d("LSIntEnum"))).ofNumber(c("MessagingAttachmentType").FILE))}function t(a,b){a=p(a,(j||(j=d("LSIntEnum"))).ofNumber(c("LSThreadMediaGalleryGroup").FILES_ONLY),s,b);b=a[0];var e=a[1],f=a[2];a=a[3];return[b,j.ofNumber(c("LSThreadMediaGalleryGroup").FILES_ONLY),e,f,a]}function u(a,b){var e,g=(h||(h=c("useReStore")))(),j=d("ReQLSuspense").useFirst(function(){return d("ReQL").fromTableDescending(g.tables.attachments_ranges_v2__generated).getKeyRange(a).filter(function(a){return(i||(i=d("I64"))).equal(a.mediaGroup,b)})},[g,a,b],f.id+":290"),k=j==null?void 0:j.minTimestampMs;e=c("gkx")("2616")===!0?j==null?void 0:j.hasMoreBefore:(e=j==null?void 0:j.hasMoreBefore)!=null?e:!1;var l=d("ReQL").fromTableDescending(g.tables.attachments.index("fk_messages")).getKeyRange(a);l=k!=null&&c("qex")._("1113")===!0?l.bounds({gte:d("ReQL").key(k)}):l;return{attachmentsRange:j,hasMoreBefore:e,minTimestampMs:k,query:l}}g.useLoader=a;g.useQueryLinkAttachments=b;g.filterMediaAttachments=r;g.useQueryMediaAttachments=e;g.useQueryFileAttachments=t;g.useAttachmentsQuery=u}),98);
__d("MWV2MediaViewerControls.react",["fbt","ix","Int64Hooks","LSMessagingThreadTypeUtil","MDSRow.react","MDSRowItem.react","MWChatForwardCircleButton.react","MWV2MediaViewerContext.react","MWXTooltip.react","TetraCircleButton.react","fbicon","react","useMWHasForwardAction","useMWV2MessageForwardAction"],(function(a,b,c,d,e,f,g,h,i){"use strict";var j,k=j||(j=d("react")),l=j.useContext,m=h._("__JHASH__yVgFxyhzJWR__JHASH__");function a(a){var b=a.attachment,e=a.message,f=a.onClose;a=a.thread;var g=l(d("MWV2MediaViewerContext.react").context);g=g.getDownloadUrl(b,"MWV2MediaViewerControls");return k.jsxs(c("MDSRow.react"),{paddingTop:0,spacing:8,children:[g!=null?k.jsx(c("MDSRowItem.react"),{children:k.jsx(c("MWXTooltip.react"),{tooltip:m,children:k.jsx(c("TetraCircleButton.react"),{color:"white",icon:d("fbicon")._(i("1873235"),16),label:m,linkProps:{download:!0,target:"_blank",url:g},size:36,type:"dark-overlay"})})}):null,e!=null?k.jsx(n,{attachment:b,message:e,thread:a}):null,f!=null?k.jsx(c("MDSRowItem.react"),{children:k.jsx(c("TetraCircleButton.react"),{color:"white",icon:d("fbicon")._(i("478232"),16),label:h._("__JHASH__gaxHiFwvIGk__JHASH__"),onPress:f,size:36,type:"dark-overlay"})}):null]})}a.displayName=a.name+" [from "+f.id+"]";function n(a){var b=a.attachment,e=a.message,f=a.thread;a=b==null?void 0:b.attachmentFbid;var g=d("LSMessagingThreadTypeUtil").isArmadilloSecure(f.threadType),i=d("Int64Hooks").useMemoInt64(function(){return f.threadType},[f.threadType]);g=c("useMWV2MessageForwardAction")(g,e,i);i=c("useMWHasForwardAction")(f.threadType,e,b);e=i.shouldShowForwardAction;return a==null||!e?null:k.jsx(c("MDSRowItem.react"),{children:k.jsx(c("MWXTooltip.react"),{tooltip:h._("__JHASH__GvPr2MwluxY__JHASH__"),children:k.jsx(c("MWChatForwardCircleButton.react"),{attachmentID:a,color:"white",onOpenForwardDialog:g,type:"dark_overlay"})})})}n.displayName=n.name+" [from "+f.id+"]";g["default"]=a}),226);
__d("MWV2MediaViewerItemImage.react",["MWV2MediaViewerContext.react","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.useEffect,l=b.useRef;function a(a){var b=a.attachment,c=a.mediaRenderQpl;a=j(d("MWV2MediaViewerContext.react").context);var e=a.getPlayableUrl;a=a.heroLoggingComponent;var f=l(null);k(function(){var a;f.current!=null&&((a=f.current)==null?void 0:a.complete)&&c.endSuccess()},[c]);e=e(b,"MediaViewerImage",c);if(e!=null)return i.jsxs(i.Fragment,{children:[a("MWV2MediaViewerImage"),i.jsx("img",{className:"xr1yuqi xkrivgy x4ii5y1 x1gryazu xmz0i5r x193iq5w",onError:function(){c.endFail("load-image-error")},onLoad:function(){c.endSuccess()},ref:f,src:e})]});else{c.endFail("missing-playable-url");return null}}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
__d("MWV2MediaViewerItemVideo.react",["MWChatVideoPlayer.react","MWV2MediaViewerContext.react","gkx","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||(h=d("react")),j=h.useContext;function a(a){var b=a.attachment;a=a.mediaRenderQpl;var e=j(d("MWV2MediaViewerContext.react").context);e=e.getPlayableUrl;e=e(b,"MediaViewerVideo",a);if(e!=null)return i.jsx("div",{className:"x78zum5 x1iyjqo2 xmz0i5r",children:i.jsx(c("MWChatVideoPlayer.react"),{controls:"mwchat",fbid:b.attachmentFbid,hideExpandButton:!c("gkx")("721"),isMediaViewer:!0,mediaRenderQpl:a,originalHeight:1e3,originalWidth:1e3,sdSrc:e,shouldForcePauseOnClick:!1})});else{a.endFail("missing-playable-url");return null}}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
__d("MWV2MediaViewerNullState.react",["fbt","CometColumn.react","CometColumnItem.react","TetraNullState.react","react"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j=i||d("react");function a(){return j.jsx(c("CometColumn.react"),{expanding:!0,verticalAlign:"center",children:j.jsx(c("CometColumnItem.react"),{children:j.jsx(c("TetraNullState.react"),{headline:h._("__JHASH__f1n8ff4Nrlh__JHASH__")})})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),226);
__d("MWV2MediaViewerItem.react",["I64","LSIntEnum","MWMediaViewerRenderQpl","MWV2MediaViewerItemImage.react","MWV2MediaViewerItemVideo.react","MWV2MediaViewerNullState.react","MessagingAttachmentType","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j,k=h||d("react");function a(a){var b=a.attachment;a=a.threadType;if(b==null)return k.jsx(c("MWV2MediaViewerNullState.react"),{});var e=b.attachmentType;return!((i||(i=d("I64"))).equal(e,(j||(j=d("LSIntEnum"))).ofNumber(c("MessagingAttachmentType").IMAGE))||(i||(i=d("I64"))).equal(e,(j||(j=d("LSIntEnum"))).ofNumber(c("MessagingAttachmentType").ANIMATED_IMAGE))||(i||(i=d("I64"))).equal(e,(j||(j=d("LSIntEnum"))).ofNumber(c("MessagingAttachmentType").VIDEO)))?k.jsx(c("MWV2MediaViewerNullState.react"),{}):k.jsx(l,{attachment:b,threadType:a})}a.displayName=a.name+" [from "+f.id+"]";function l(a){var b=a.attachment;a=a.threadType;a=d("MWMediaViewerRenderQpl").useMediaViewerRenderQpl(b,a);var e=b.attachmentType;return(i||(i=d("I64"))).equal(e,(j||(j=d("LSIntEnum"))).ofNumber(c("MessagingAttachmentType").IMAGE))||(i||(i=d("I64"))).equal(e,(j||(j=d("LSIntEnum"))).ofNumber(c("MessagingAttachmentType").ANIMATED_IMAGE))?k.jsx(c("MWV2MediaViewerItemImage.react"),{attachment:b,mediaRenderQpl:a}):(i||(i=d("I64"))).equal(e,(j||(j=d("LSIntEnum"))).ofNumber(c("MessagingAttachmentType").VIDEO))?k.jsx(c("MWV2MediaViewerItemVideo.react"),{attachment:b,mediaRenderQpl:a}):null}l.displayName=l.name+" [from "+f.id+"]";g["default"]=a}),98);
__d("MWV2MediaViewerContent.react",["fbt","CometBlurredBackgroundImage.react","CometHideLayerOnEscape.react","CometPlaceholder.react","I64","LSIntEnum","MWChatAttachmentMediaNavigationHotkeys.react","MWChatAttachmentMediaState.react","MWChatAttachmentMediaThumbnails.react","MWChatMediaViewerNavigationTapTarget.react","MWV2MediaViewerContainer.react","MWV2MediaViewerContext.react","MWV2MediaViewerControls.react","MWV2MediaViewerControlsFallback.react","MWV2MediaViewerItem.react","MWXColumn.react","MWXColumnItem.react","MWXRow.react","MWXRowItem.react","MessagingAttachmentType","ReQL","ReQLSuspense","react","useReStore"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j,k,l,m=j||(j=d("react"));b=j;var n=b.useContext,o=b.useEffect,p={mediaRow:{minHeight:"x2lwn1j",$$css:!0}};function q(a){a=a.attachment;var b=n(d("MWV2MediaViewerContext.react").context);b=b.getPreviewUrl;b=b(a,"BlurredBackground");if(b!=null&&a!=null&&!(k||(k=d("I64"))).equal(a.attachmentType,(l||(l=d("LSIntEnum"))).ofNumber(c("MessagingAttachmentType").ANIMATED_IMAGE)))return m.jsx("div",{className:"x1ey2m1c xds687c xuzhngd x10l6tqk x17qophe x13vifvy",children:m.jsx(c("CometBlurredBackgroundImage.react"),{src:b})});else return null}q.displayName=q.name+" [from "+f.id+"]";function a(a){var b=a.initialAttachment,e=a.onClose,g=a.shouldShowMessengerLogo;a=a.thread;var j=n(d("MWChatAttachmentMediaState.react").context),k=j.canMoveBackward,l=j.canMoveForward,r=j.card,s=j.currentIndex,t=j.moveBackward,u=j.moveForward,v=j.numberOfCards;j=n(d("MWV2MediaViewerContext.react").context);var w=j.getPreviewUrl,x=j.loadMore,y=(i||(i=c("useReStore")))(),z=b==null?void 0:b.threadKey,A=b==null?void 0:b.messageId;j=d("ReQLSuspense").useFirst(function(){return d("ReQL").fromTableDescending(y.tables.attachments).getKeyRange(z,A)},[y,A,z],f.id+":98")!=null;r=r!=null?r.attachment:j?b:void 0;j=(r==null?void 0:r.messageId)!=null?d("ReQLSuspense").first(d("ReQL").fromTableAscending(y.tables.messages.index("messageId")).getKeyRange(r.messageId),f.id+":115"):null;o(function(){s>v-5&&x()},[s,v,x]);b=m.jsx(c("MWV2MediaViewerItem.react"),{attachment:r,threadType:a.threadType});j=m.jsxs(c("MWV2MediaViewerContainer.react"),{actions:m.jsx(c("CometPlaceholder.react"),{fallback:e!=null?m.jsx(c("MWV2MediaViewerControlsFallback.react"),{onClose:e}):null,children:m.jsx(c("MWV2MediaViewerControls.react"),{attachment:r,message:j,onClose:e,thread:a})}),shouldShowMessengerLogo:g,children:[m.jsx(d("MWChatAttachmentMediaNavigationHotkeys.react").MWChatAttachmentMediaNavigationHotkeys,{}),m.jsx(c("CometPlaceholder.react"),{fallback:null,children:m.jsx(q,{attachment:r})}),m.jsxs(c("MWXColumn.react"),{align:"stretch",expanding:!0,paddingHorizontal:0,verticalAlign:"space-between",children:[m.jsx(c("MWXColumnItem.react"),{expanding:!0,verticalAlign:"center",children:m.jsxs(c("MWXRow.react"),{align:"justify",expanding:!0,paddingHorizontal:0,paddingVertical:0,verticalAlign:"stretch",xstyle:p.mediaRow,children:[m.jsx(c("MWXRowItem.react"),{children:m.jsx(c("MWChatMediaViewerNavigationTapTarget.react"),{direction:"previous",invisible:!k,label:h._("__JHASH__LwpPfoJWBJ-__JHASH__"),onClick:t,testid:void 0})}),m.jsx(c("MWXRowItem.react"),{expanding:!0,verticalAlign:"stretch",children:m.jsx(c("CometPlaceholder.react"),{fallback:null,children:b})}),m.jsx(c("MWXRowItem.react"),{children:m.jsx(c("MWChatMediaViewerNavigationTapTarget.react"),{direction:"next",invisible:!l,label:h._("__JHASH__37s-bUHecpV__JHASH__"),onClick:u,testid:void 0})})]})}),m.jsx(c("MWXColumnItem.react"),{children:m.jsx(c("MWChatAttachmentMediaThumbnails.react"),{getPreviewUrl:w})})]})]});if(e!=null)return m.jsx(c("CometHideLayerOnEscape.react"),{onHide:e,children:j});else return j}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),226);
__d("useLoadMoreThreadSharedAttachments.react",["Int64Hooks","LSFactory","LSIssueAttachmentsRangeQueryStoredProcedure","MAWThreadCutover","MWThreadKey.react","gkx","promiseDone","useAsyncReStore"],(function(a,b,c,d,e,f,g){"use strict";function a(a,b){var e=c("useAsyncReStore")(),g=d("MWThreadKey.react").useMWThreadKeyMemoizedExn(),h=d("MAWThreadCutover").useGetCutoverOpenThreadKey(g);return d("Int64Hooks").useCallbackInt64(function(){b==null?void 0:b(),c("promiseDone")(e,function(b){return b.runInTransaction(function(b){return c("LSIssueAttachmentsRangeQueryStoredProcedure")(c("LSFactory")(b),{mediaGroup:a,threadKey:h&&c("gkx")("2616")===!0?h:g})},"readwrite",void 0,void 0,f.id+":36")})},[b,e,a,h,g])}g["default"]=a}),98);
__d("useMAWLoadMoreThreadSharedAttachments",["I64","Int64Hooks","MAWBridgeSendAndReceive","MAWMiActOnActThreadReady","gkx","promiseDone","useReStore"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=(i||(i=d("I64"))).of_string("9999999999999");function a(a,b,e,f,g){var k=(h||(h=c("useReStore")))(),l=d("Int64Hooks").useCallbackInt64(function(){return b!=null&&b&&e!=null?c("gkx")("2616")===!0?(i||(i=d("I64"))).to_float(e):(i||(i=d("I64"))).to_int32(e):c("gkx")("2616")===!0?Number.MAX_SAFE_INTEGER:(i||(i=d("I64"))).to_int32(j)},[b,e]);return d("Int64Hooks").useCallbackInt64(function(){a!=null&&(g==null?void 0:g(),c("promiseDone")(d("MAWMiActOnActThreadReady").onActThreadReady(k.tables,a,"useMAWLoadMoreThreadSharedAttachments",function(a,b){return d("MAWBridgeSendAndReceive").sendAndReceive("backend","loadMoreMedia",{earliestLoadedMediaMessageId:f,earliestLoadedMediaTs:l(),threadJid:b})})))},[a,g,k.tables,f,l])}g["default"]=a}),98);
__d("useMAWQuerySecureMediaAttachments",["I64","LSIntEnum","LSThreadMediaGalleryGroup","MWSharedAttachmentsSectionHooks","ReQL","ReQLSuspense","qex","react","useReStore"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j,k,l=(k||d("react")).useCallback;function a(a,b){b=b===void 0?{}:b;b=b.removeUnsentMessages;var e=b===void 0?!1:b,g=(h||(h=c("useReStore")))();b=d("MWSharedAttachmentsSectionHooks").useAttachmentsQuery(a,(i||(i=d("LSIntEnum"))).ofNumber(c("LSThreadMediaGalleryGroup").PHOTOS_AND_VIDEOS));var j=b.attachmentsRange,k=b.hasMoreBefore,n=b.minTimestampMs,p=b.query,q=l(function(a){if(!d("MWSharedAttachmentsSectionHooks").filterMediaAttachments(a))return null;var b=d("ReQLSuspense").first(d("ReQL").fromTableAscending(g.tables.messages.index("messageId")).getKeyRange(a.messageId),f.id+":73");if(e&&(b==null||b.isUnsent))return null;return c("qex")._("1113")===!0?b==null?{attachment:a}:{attachment:a,message:b}:{attachment:a}},[g,e]);b=d("ReQLSuspense").useArray(function(){return p.map(q).filter(Boolean)},[g,a,q,n],f.id+":95");a=m(b);c("qex")._("1113")===!0&&a.sort(o);b=a.map(function(a){a=a.attachment;return a});return[b,i.ofNumber(c("LSThreadMediaGalleryGroup").PHOTOS_AND_VIDEOS),j,n,k]}function m(a){var b=n(a);return a.map(function(a){var c,e=a.attachment;a=a.message;var f=a==null?void 0:a.groupId;c=b.get((c=f)!=null?c:"");if(f==null||c==null){return{attachment:e,message:a,sortKey:{sortingMessageGroupIndex:Number.MAX_SAFE_INTEGER,sortingMessageId:e.messageId,sortingMessagePrimarySortTS:(f=a==null?void 0:a.primarySortKey)!=null?f:e.timestampMs,sortingMessageSecondarySortTS:(f=(f=a==null?void 0:a.secondarySortKey)!=null?f:a==null?void 0:a.timestampMs)!=null?f:e.timestampMs}}}return{attachment:e,message:a,sortKey:{sortingMessageGroupIndex:(j||(j=d("I64"))).to_int32((f=a==null?void 0:a.groupIndex)!=null?f:(j||(j=d("I64"))).zero),sortingMessageId:c.messageId,sortingMessagePrimarySortTS:c.primarySortTs,sortingMessageSecondarySortTS:c.secondarySortTs}}})}function n(a){var b=new Map();a.forEach(function(a){var c;a=a.message;if(!a||a.groupId==null||a.groupIndex==null)return;var e=a.groupId,f=(j||(j=d("I64"))).to_int32(a.groupIndex);c=Math.min((c=(c=b.get(e))==null?void 0:c.groupIndex)!=null?c:Number.MAX_SAFE_INTEGER,f);f=f===c?{groupIndex:f,messageId:a.messageId,primarySortTs:a.primarySortKey,secondarySortTs:(c=a.secondarySortKey)!=null?c:a.timestampMs}:b.get(e);f&&b.set(e,f)});return b}function o(a,b){var c=a.sortKey,e=b.sortKey;a=a.message;b=b.message;if(!(j||(j=d("I64"))).equal(c.sortingMessagePrimarySortTS,e.sortingMessagePrimarySortTS))return(j||(j=d("I64"))).compare(e.sortingMessagePrimarySortTS,c.sortingMessagePrimarySortTS);if(!(j||(j=d("I64"))).equal(e.sortingMessageSecondarySortTS,c.sortingMessageSecondarySortTS))return(j||(j=d("I64"))).compare(e.sortingMessageSecondarySortTS,c.sortingMessageSecondarySortTS);if(c.sortingMessageId!==e.sortingMessageId)return e.sortingMessageId.localeCompare(c.sortingMessageId);return(a==null?void 0:a.groupId)!=null&&(b==null?void 0:b.groupId)!=null&&a.groupId===b.groupId?e.sortingMessageGroupIndex-c.sortingMessageGroupIndex:0}g.useMAWQuerySecureMediaAttachments=a}),98);
__d("useMWMediaLoadingQplLogger",["MWMediaRenderQplUtils","QPLUserFlow","QuickPerformanceLogger","Random","gkx","qpl","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i;b=i||d("react");var j=b.useEffect,k=b.useMemo;function a(a){var b=a.entrypoint,d=a.threadType,e=k(function(){return o()},[]);j(function(){return function(){var a=(h||(h=c("QuickPerformanceLogger"))).isMarkerOn(c("qpl")._(25300395,"1954"),e);a&&i()}},[]);var f=function(a){var f;if(!c("gkx")("2616"))return;l({entrypoint:b,instanceKey:e,isCutoverThread:(f=a==null?void 0:a.isCutoverThread)!=null?f:!1,isPreCutoverMedia:(f=a==null?void 0:a.isPreCutoverMedia)!=null?f:!1,threadType:d})},g=function(a){var b=a.fetchedMediaCount,d=a.isAlreadyPreloaded;a=a.startMediaCount;if(!c("gkx")("2616"))return;m({fetchedMediaCount:b,instanceKey:e,isAlreadyPreloaded:d,startMediaCount:a})},i=function(){if(!c("gkx")("2616"))return;n({instanceKey:e})};return k(function(){return{logLoadMediaCancel:i,logLoadMediaStart:f,logLoadMediaSuccess:g}},[])}function l(a){var b=a.entrypoint,e=a.instanceKey,f=a.isCutoverThread;f=f===void 0?!1:f;var g=a.isPreCutoverMedia;g=g===void 0?!1:g;a=a.threadType;c("QPLUserFlow").start(c("qpl")._(25300395,"1954"),{annotations:{bool:{isCutoverThread:f,isPreCutoverMedia:g},string:{entrypoint:b,threadType:d("MWMediaRenderQplUtils").getThreadTypeStringFromEnum(a)}},cancelOnUnload:!0,instanceKey:e,timeoutInMs:60*1e3})}function m(a){var b=a.fetchedMediaCount,d=a.instanceKey,e=a.isAlreadyPreloaded;a=a.startMediaCount;c("QPLUserFlow").endSuccess(c("qpl")._(25300395,"1954"),{annotations:{bool:{isAlreadyPreloaded:(e=e)!=null?e:!1},"int":{fetchedMediaCount:b,startMediaCount:a}},instanceKey:d})}function n(a){a=a.instanceKey;c("QPLUserFlow").endCancel(c("qpl")._(25300395,"1954"),{instanceKey:a})}function o(){return Date.now()+Math.round(d("Random").random()*1e4)}g["default"]=a}),98);
__d("useMAWLoadMoreCutoverThreadSharedAttachments",["MAWDbMsg","MWSharedAttachmentsSectionHooks","react","useLoadMoreThreadSharedAttachments.react","useMAWLoadMoreThreadSharedAttachments","useMAWQuerySecureMediaAttachments","useMWMediaLoadingQplLogger"],(function(a,b,c,d,e,f,g){"use strict";var h,i=(h||d("react")).useCallback;function a(a,b,e){var f,g=d("useMAWQuerySecureMediaAttachments").useMAWQuerySecureMediaAttachments(a),h=g[0],j=g[1],k=g[2],l=g[3];g=g[4];f=(f=g)!=null?f:!0;var m=(k==null?void 0:k.lastLoadedMessageId)!=null?d("MAWDbMsg").toMsgId(k==null?void 0:k.lastLoadedMessageId):void 0,n=c("useMWMediaLoadingQplLogger")({entrypoint:e.entrypoint,threadType:e.threadType});e=i(function(){n.logLoadMediaStart({isCutoverThread:!0,isPreCutoverMedia:!1})},[n]);g=c("useMAWLoadMoreThreadSharedAttachments")(a,g,l,(a=m)!=null?a:void 0,e);l=d("MWSharedAttachmentsSectionHooks").useQueryMediaAttachments(b);m=l[0];a=l[2];e=l[4];l=(b=e)!=null?b:!1;e=i(function(){n.logLoadMediaStart({isCutoverThread:!0,isPreCutoverMedia:!0})},[n]);b=c("useLoadMoreThreadSharedAttachments.react")(j,e);j=d("MWSharedAttachmentsSectionHooks").useLoader({attachmentsRange:k,hasMore:f,loadMore:g,logLoadMediaCancel:n.logLoadMediaCancel,logLoadMediaSuccess:n.logLoadMediaSuccess,media:h});e=j[0];k=j[1];g=j[2];j=d("MWSharedAttachmentsSectionHooks").useLoader({attachmentsRange:a,hasMore:l,loadMore:b,logLoadMediaCancel:n.logLoadMediaCancel,logLoadMediaSuccess:n.logLoadMediaSuccess,media:m,skipInitialLoad:f||e});a=j[0];b=j[1];j=j[2];if(f||e)return{attachments:h,completedFirstLoad:g,hasMore:f,isLoadingMore:e,onLoadMore:k};else if(l||a)return{attachments:h.concat(m),completedFirstLoad:j,hasMore:l,isLoadingMore:a,onLoadMore:b};else return{attachments:h.concat(m),completedFirstLoad:!0,hasMore:!1,isLoadingMore:!1,onLoadMore:function(){}}}g["default"]=a}),98);
__d("useMWV2MediaViewerOpenPlayableUrl",["I64","LSIntEnum","LSMediaUrlAttachment","MessagingAttachmentType","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j,k=(h||d("react")).useCallback;function a(){return k(function(a){return a==null?void 0:(i||(i=d("I64"))).equal(a.attachmentType,(j||(j=d("LSIntEnum"))).ofNumber(c("MessagingAttachmentType").ANIMATED_IMAGE))?d("LSMediaUrlAttachment").previewUrl(a):d("LSMediaUrlAttachment").playableUrl(a)},[])}g["default"]=a}),98);
__d("useMWV2MediaViewerOpenDownloadUrl",["gkx","react","useMWV2MediaViewerOpenPlayableUrl"],(function(a,b,c,d,e,f,g){"use strict";var h,i=(h||d("react")).useCallback;function a(){var a=c("useMWV2MediaViewerOpenPlayableUrl")();return i(function(b,d,e){b=a(b,d,e);if(b==null)return void 0;if(!c("gkx")("3973"))return b;d=new URL(b);d.searchParams.set("dl","1");return d.toString()},[a])}g["default"]=a}),98);
__d("useMWV2MediaViewerOpenPreviewUrl",["LSMediaUrlAttachment","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=(h||d("react")).useCallback;function a(){return i(function(a){return a!=null?d("LSMediaUrlAttachment").previewUrl(a):void 0},[])}g["default"]=a}),98);
__d("useMWV2MediaViewerSecurePlayableUrl",["cr:5970","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=(h||d("react")).useCallback;function a(){return i(function(a,c,d){return(a=b("cr:5970")==null?void 0:b("cr:5970").getAttachmentBlob(a,c,d))!=null?a:""},[])}g["default"]=a}),98);
__d("useMWV2MediaViewerSecurePreviewUrl",["cr:5931","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=(h||d("react")).useCallback;function a(){return i(function(a,c,d){return b("cr:5931")==null?void 0:b("cr:5931")(a,c,d)},[])}g["default"]=a}),98);
__d("MWV2MediaViewerCutoverWrapper.react",["MWChatAttachmentMediaState.react","MWV2MediaViewerContext.react","emptyFunction","react","useMAWLoadMoreCutoverThreadSharedAttachments","useMWV2MediaViewerOpenDownloadUrl","useMWV2MediaViewerOpenPlayableUrl","useMWV2MediaViewerOpenPreviewUrl","useMWV2MediaViewerSecurePlayableUrl","useMWV2MediaViewerSecurePreviewUrl"],(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,e=a.initialAttachment,f=a.openThreadKey,g=a.secureThreadKey;a=a.threadType;g=c("useMAWLoadMoreCutoverThreadSharedAttachments")(g,f,{entrypoint:"media_viewer",threadType:a});f=g.attachments;a=g.onLoadMore;var h=j(function(a){return!((a==null?void 0:a.transportKey)==="FBBroker"||(a==null?void 0:a.transportKey)==="FBLegacyBroker")},[]),k=c("useMWV2MediaViewerOpenPreviewUrl")(),l=c("useMWV2MediaViewerOpenPlayableUrl")(),m=c("useMWV2MediaViewerOpenDownloadUrl")(),n=c("useMWV2MediaViewerSecurePreviewUrl")(),o=c("useMWV2MediaViewerSecurePlayableUrl")();g=j(function(a,b,c){if(!a)return"";return!h(a)?k(a,b,c):n(a,b,c)},[h,k,n]);var p=j(function(a,b,c){if(a==null)return"";return!h(a)?l(a,b,c):o(a,b,c)},[h,l,o]),q=j(function(a,b,c){if(a==null)return"";return!h(a)?m(a,b,c):o(a,b,c)},[h,m,o]);return i.jsx(d("MWV2MediaViewerContext.react").MWV2MediaViewerContextProvider,{getDownloadUrl:q,getPlayableUrl:p,getPreviewUrl:g,heroLoggingComponent:c("emptyFunction"),loadMore:a,media:f,children:i.jsx(d("MWChatAttachmentMediaState.react").MWChatAttachmentMediaStateProviderFromAttachments,{attachments:f,getIsSecureThread:h,getPlayableUrl:p,getPreviewUrl:g,initialAttachment:e,children:b})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
__d("MWV2MediaViewerOpenWrapper.react",["CometHero.react","MWChatAttachmentMediaState.react","MWSharedAttachmentsSectionHooks","MWV2MediaViewerContext.react","react","useLoadMoreThreadSharedAttachments.react","useMWMediaLoadingQplLogger","useMWV2MediaViewerOpenDownloadUrl","useMWV2MediaViewerOpenPlayableUrl","useMWV2MediaViewerOpenPreviewUrl"],(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,e=a.initialAttachment;a=a.thread;var f=d("MWSharedAttachmentsSectionHooks").useQueryMediaAttachments(a.threadKey),g=f[0],h=f[1],k=f[2];f[3];f=f[4];a=c("useMWMediaLoadingQplLogger")({entrypoint:"media_viewer",threadType:a.threadType});h=c("useLoadMoreThreadSharedAttachments.react")(h,a.logLoadMediaStart);f=d("MWSharedAttachmentsSectionHooks").useLoader({attachmentsRange:k,hasMore:(k=f)!=null?k:!0,loadMore:h,logLoadMediaCancel:a.logLoadMediaCancel,logLoadMediaSuccess:a.logLoadMediaSuccess,media:g});k=f[1];h=c("useMWV2MediaViewerOpenPreviewUrl")();a=c("useMWV2MediaViewerOpenPlayableUrl")();f=c("useMWV2MediaViewerOpenDownloadUrl")();var l=j(function(){return!1},[]);return i.jsx(d("MWV2MediaViewerContext.react").MWV2MediaViewerContextProvider,{getDownloadUrl:f,getPlayableUrl:a,getPreviewUrl:h,heroLoggingComponent:function(a){return i.jsx(c("CometHero.react"),{description:a})},loadMore:k,media:g,children:i.jsx(d("MWChatAttachmentMediaState.react").MWChatAttachmentMediaStateProviderFromAttachments,{attachments:g,getIsSecureThread:l,getPlayableUrl:a,getPreviewUrl:h,initialAttachment:e,children:b})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
__d("MWV2MediaViewerSecureWrapper.react",["MAWDbMsg","MWChatAttachmentMediaState.react","MWSharedAttachmentsSectionHooks","MWV2MediaViewerContext.react","MWV2MediaViewerNullState.react","cr:5709","cr:5931","cr:5970","emptyFunction","gkx","react","useMAWQuerySecureMediaAttachments","useMWMediaLoadingQplLogger","useMWV2MediaViewerSecurePlayableUrl","useMWV2MediaViewerSecurePreviewUrl"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||(h=d("react")),j=h.useCallback;function a(a,b,c,d,e){return function(){}}var k=b("cr:5709")==null?a:b("cr:5709");function e(a){var e=a.children,f=a.initialAttachment;a=a.thread;var g=d("useMAWQuerySecureMediaAttachments").useMAWQuerySecureMediaAttachments(a.threadKey),h=g[0];g[1];var l=g[2],m=g[3];g=g[4];var n=(g=g)!=null?g:!0;g=c("useMWMediaLoadingQplLogger")({entrypoint:"media_viewer",threadType:a.threadType});var o=k(a.threadKey,n,m,c("gkx")("2616")===!0?(m=d("MAWDbMsg").toMsgId((a=l==null?void 0:l.lastLoadedMessageId)!=null?a:""))!=null?m:void 0:void 0,g.logLoadMediaStart);a=j(function(){n&&o()},[n,o]);m=d("MWSharedAttachmentsSectionHooks").useLoader({attachmentsRange:l,hasMore:n,loadMore:a,logLoadMediaCancel:g.logLoadMediaCancel,logLoadMediaSuccess:g.logLoadMediaSuccess,media:h});l=m[1];a=c("useMWV2MediaViewerSecurePreviewUrl")();g=c("useMWV2MediaViewerSecurePlayableUrl")();m=j(function(){return!0},[]);return b("cr:5970")==null||b("cr:5931")==null?i.jsx(c("MWV2MediaViewerNullState.react"),{}):i.jsx(d("MWV2MediaViewerContext.react").MWV2MediaViewerContextProvider,{getDownloadUrl:g,getPlayableUrl:g,getPreviewUrl:a,heroLoggingComponent:c("emptyFunction"),loadMore:l,media:h,children:i.jsx(d("MWChatAttachmentMediaState.react").MWChatAttachmentMediaStateProviderFromAttachments,{attachments:h,getIsSecureThread:m,getPlayableUrl:g,getPreviewUrl:a,initialAttachment:f,children:e})})}e.displayName=e.name+" [from "+f.id+"]";g["default"]=e}),98);
__d("MWV2MediaViewer.react",["FBLogger","I64","LSMessagingThreadTypeUtil","MAWThreadCutover","MWLSThread","MWV2MediaViewerContent.react","MWV2MediaViewerCutoverWrapper.react","MWV2MediaViewerNullState.react","MWV2MediaViewerOpenWrapper.react","MWV2MediaViewerSecureWrapper.react","gkx","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=h||d("react");function a(a){var b=a.attachment,e=a.onClose;a=a.shouldShowMessengerLogo;var f=d("MWLSThread").useThread(b.threadKey),g=d("MAWThreadCutover").useGetCutoverOpenThreadKey(b.threadKey),h=d("MAWThreadCutover").useCutoverSecureThreadKeyForOpenThreadKey(g==null?b.threadKey:void 0);if(f==null){c("FBLogger")("messenger_web_media").mustfix("Thread is null in media viewer for attachment with threadKey: %s",(i||(i=d("I64"))).to_string(b.threadKey));return j.jsx(c("MWV2MediaViewerNullState.react"),{})}var k=d("LSMessagingThreadTypeUtil").isArmadilloSecure(f.threadType);if((g!=null||h!=null)&&c("gkx")("2616")===!0)return j.jsx(c("MWV2MediaViewerCutoverWrapper.react"),{initialAttachment:b,openThreadKey:g!=null?g:f.threadKey,secureThreadKey:h!=null?h:f.threadKey,threadType:f.threadType,children:j.jsx(c("MWV2MediaViewerContent.react"),{initialAttachment:b,onClose:e,shouldShowMessengerLogo:a,thread:f})});return k?j.jsx(c("MWV2MediaViewerSecureWrapper.react"),{initialAttachment:b,thread:f,children:j.jsx(c("MWV2MediaViewerContent.react"),{initialAttachment:b,onClose:e,shouldShowMessengerLogo:a,thread:f})}):j.jsx(c("MWV2MediaViewerOpenWrapper.react"),{initialAttachment:b,thread:f,children:j.jsx(c("MWV2MediaViewerContent.react"),{initialAttachment:b,onClose:e,shouldShowMessengerLogo:a,thread:f})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);/*FB_PKG_DELIM*/
__d("CometEntityHeaderCoverDraggable.react",["fbt","ix","BaseAspectRatioContainer.react","BaseFocusRing.react","BaseScrollableArea.react","CometScreenReaderText.react","FDSIcon.react","Locale","TetraText.react","clamp","fbicon","react","stylex","useGlobalEventListener"],(function(a,b,c,d,e,f,g,h,i){"use strict";var j,k,l=k||(k=d("react"));b=k;var m=b.useCallback,n=b.useEffect,o=b.useId,p=b.useLayoutEffect,q=b.useRef,r=b.useState,s=h._("__JHASH__hQ5Qmldyc2V__JHASH__"),t={aspectRatioContainer:function(a,b){return[{width:"x17fnjtu",$$css:!0},{"--width":function(a){return typeof a==="number"?a+"px":a!=null?a:"initial"}(100*a/b+"%")}]},coverDraggable:{bottom:"x1ey2m1c",boxSizing:"x9f619",cursor:"xv5twrn",end:"xds687c",left:null,right:null,position:"x10l6tqk",start:"x17qophe",top:"x13vifvy",touchAction:"x1o5wbz4",$$css:!0},dragInstructions:{alignItems:"x6s0dn4",backgroundColor:"x18l40ae",borderTopStartRadius:"x1lq5wgf",borderTopEndRadius:"xgqcy7u",borderBottomEndRadius:"x30kzoy",borderBottomStartRadius:"x9jhf4c",display:"x78zum5",paddingBottom:"xwib8y2",paddingEnd:"xn6708d",paddingStart:"x1ye3gou",paddingTop:"x1y1aw1k",position:"x10l6tqk",start:"xtzzx4i",top:"xwa60dl",$$css:!0},dragInstructionsLTR:{transform:"x11lhmoz",$$css:!0},dragInstructionsRTL:{transform:"x147yg2k",$$css:!0},focusRingMagnified:{alignItems:"x6s0dn4",borderTopStartRadius:"x1lq5wgf",borderTopEndRadius:"xgqcy7u",borderBottomEndRadius:"x30kzoy",borderBottomStartRadius:"x9jhf4c",height:"x1ktj5wk",pointerEvents:"x67bb7w",position:"x10l6tqk",start:"xit27t2",top:"xndqk7f",width:"x1o2z316",$$css:!0}},u={x:.5,y:.5};function a(a){var b=a.children,e=a.containerAspectRatio,f=a.contentAspectRatio,g=a.focus;g=g===void 0?u:g;var h=a.onDrag;a=a.xstyle;var k=q({x:g.x,y:g.y});g=r(!0);var w=g[0],x=g[1],y=q(null);g=v(y);var z=g[0],A=g[1],B=o(),C=m(function(){var a;a=(a=y.current)==null?void 0:a.getDOMNode();if(a==null)return;var b=a.scrollHeight,d=a.scrollLeft,g=a.scrollTop;a=a.scrollWidth;var i=k.current.x,j=k.current.y;if(f<e){var l=1-f/e;j=g/b/l}else if(f>e){g=1-e/f;i=d/a/g}h(c("clamp")(i,0,1),c("clamp")(j,0,1))},[e,f,h]);p(function(){var a;a=(a=y.current)==null?void 0:a.getDOMNode();if(a==null)return;var b=(a.scrollHeight-a.offsetHeight)*k.current.y;a.scrollTop=b;A.current.top=b;b=(a.scrollWidth-a.offsetWidth)*k.current.x;a.scrollLeft=b;A.current.left=b},[A,C]);n(function(){var a,b=(a=y.current)==null?void 0:a.getDOMNode();if(b==null)return;var c=function a(){x(!1),b.removeEventListener("mousewheel",a,{passive:!0}),b.removeEventListener("touchstart",a,{passive:!0}),b.removeEventListener("mousedown",a,{passive:!0})};b.addEventListener("mousewheel",c,{passive:!0});b.addEventListener("touchstart",c,{passive:!0});b.addEventListener("mousedown",c,{passive:!0});return function(){b.removeEventListener("mousewheel",c,{passive:!0}),b.removeEventListener("touchstart",c,{passive:!0}),b.removeEventListener("mousedown",c,{passive:!0})}},[]);return l.jsx(c("BaseAspectRatioContainer.react"),{aspectRatio:e,xstyle:a,children:l.jsx(c("BaseFocusRing.react"),{children:function(a){return l.jsxs("div",{className:"x1ey2m1c x9f619 xds687c x10l6tqk x17qophe x13vifvy",onMouseDown:z,children:[l.jsx(c("BaseScrollableArea.react"),{"aria-labelledby":B,hideScrollbar:!0,horizontal:!0,onScroll:C,ref:y,tabIndex:0,vertical:!0,xstyle:t.coverDraggable,children:f<e?l.jsx(c("BaseAspectRatioContainer.react"),{aspectRatio:f,children:b}):l.jsx("div",babelHelpers["extends"]({},(j||(j=c("stylex"))).props(t.aspectRatioContainer(f,e)),{children:l.jsx(c("BaseAspectRatioContainer.react"),{aspectRatio:f,children:b})}))}),w?l.jsxs("div",{className:(j||(j=c("stylex")))(t.dragInstructions,c("Locale").isRTL()?t.dragInstructionsRTL:t.dragInstructionsLTR,a),children:[l.jsx("div",{className:"x78zum5 x1emribx",children:l.jsx(c("FDSIcon.react"),{color:"white",icon:d("fbicon")._(i("697185"),20),isDecorative:!0})}),l.jsx(c("TetraText.react"),{color:"primaryOnMedia",id:B,type:"headlineEmphasized4",children:s})]}):l.jsx("div",{className:(j||(j=c("stylex")))(t.focusRingMagnified,a),children:l.jsx(c("CometScreenReaderText.react"),{id:B,text:s})})]})}})})}a.displayName=a.name+" [from "+f.id+"]";function v(a){var b=q({x:0,y:0}),d=q({left:0,top:0}),e=r(!1),f=e[0],g=e[1];e=function(c){var e;if(c.button!==0)return;e=(e=a.current)==null?void 0:e.getDOMNode();if(e==null)return;g(!0);b.current={x:c.clientX,y:c.clientY};d.current.top=e.scrollTop;d.current.left=e.scrollLeft;c.preventDefault()};var h=m(function(c){var e;e=(e=a.current)==null?void 0:e.getDOMNode();if(e==null)return;if(!f)return;var g=c.clientX-b.current.x,h=c.clientY-b.current.y;e.scrollTop=d.current.top-h;e.scrollLeft=d.current.left-g;c.preventDefault()},[f,a]),i=m(function(a){g(!1),a.preventDefault()},[]);c("useGlobalEventListener")("mousemove",f?h:null,{capture:!0});c("useGlobalEventListener")("mouseup",f?i:null,{capture:!0});return[e,d]}g["default"]=a}),226);
__d("CometObjectFitContainerNext.react",["BaseAspectRatioContainer.react","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||d("react"),j={absoluteCenter:{left:"x1nrll8i",start:null,end:null,position:"x10l6tqk",top:"xwa60dl",transform:"x11lhmoz",$$css:!0},coverContainer:function(a,b){return[{left:"x101gtxs",start:null,end:null,position:"x10l6tqk",top:"xrzbxsz",transform:"x1v0jg1i",$$css:!0},{"--left":function(a){return typeof a==="number"?a+"px":a!=null?a:"initial"}(a*100+"%"),"--top":function(a){return typeof a==="number"?a+"px":a!=null?a:"initial"}(b*100+"%"),"--transform":"translate("+a*-100+"%, "+b*-100+"%)"!=null?"translate("+a*-100+"%, "+b*-100+"%)":"initial"}]},hideOverflow:{overflowX:"x6ikm8r",overflowY:"x10wlt62",$$css:!0}};function a(a){var b=a.children,d=a.containerAspectRatio,e=a.containerChildrenAfter;e=e===void 0?null:e;var f=a.containerChildrenBefore;f=f===void 0?null:f;var g=a.contentAspectRatio,h=a.focus;h=h===void 0?{x:.5,y:.5}:h;var k=a.mode;k=k===void 0?"cover":k;a=a.showOverflow;a=a===void 0?!1:a;if(d>g)if(k==="cover")return i.jsxs(c("BaseAspectRatioContainer.react"),{aspectRatio:d,xstyle:!a&&j.hideOverflow,children:[f,i.jsx(c("BaseAspectRatioContainer.react"),{aspectRatio:g,xstyle:[!a&&j.hideOverflow,j.coverContainer(h.x,h.y)],children:b}),e]});else return i.jsxs(c("BaseAspectRatioContainer.react"),{aspectRatio:d,xstyle:!a&&j.hideOverflow,children:[f,i.jsx("div",{className:"x1nrll8i x10l6tqk xwa60dl x11lhmoz",style:{width:100*g/d+"%"},children:i.jsx(c("BaseAspectRatioContainer.react"),{aspectRatio:g,xstyle:!a&&j.hideOverflow,children:b})}),e]});else if(k==="cover")return i.jsxs(c("BaseAspectRatioContainer.react"),{aspectRatio:d,xstyle:!a&&j.hideOverflow,children:[f,i.jsx("div",{style:{left:h.x*100+"%",position:"absolute",top:h.y*100+"%",transform:"translate("+h.x*-100+"%, "+h.y*-100+"%)",width:100*g/d+"%"},children:i.jsx(c("BaseAspectRatioContainer.react"),{aspectRatio:g,xstyle:!a&&j.hideOverflow,children:b})}),e]});else return i.jsxs(c("BaseAspectRatioContainer.react"),{aspectRatio:d,xstyle:!a&&j.hideOverflow,children:[f,i.jsx(c("BaseAspectRatioContainer.react"),{aspectRatio:g,xstyle:[j.absoluteCenter,!a&&j.hideOverflow],children:b}),e]})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
__d("CometEntityHeaderCoverMedia.react",["BaseAspectRatioContainer.react","BaseImage.react","BaseRow.react","BaseRowItem.react","CometEntityHeaderScrollToContext","CometFeedWidthStyles","CometObjectFitContainerNext.react","CometPlaceholder.react","CometPressable.react","CometRouteRenderType","CometRow.react","CometRowItem.react","deferredLoadComponent","emptyFunction","react","requireDeferredForDisplay","stylex"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=i||(i=d("react"));b=i;var k=b.useContext,l=b.useEffect,m=b.useRef,n=c("deferredLoadComponent")(c("requireDeferredForDisplay")("CometEntityHeaderCoverDraggable.react").__setRef("CometEntityHeaderCoverMedia.react")),o={backgroundCover:{bottom:"x1ey2m1c",boxSizing:"x9f619",end:"xds687c",overflowX:"x6ikm8r",overflowY:"x10wlt62",position:"x10l6tqk",start:"x17qophe",top:"x13vifvy",$$css:!0},backgroundMask:{backgroundImage:"xyuz3pd",bottom:"x1ey2m1c",boxSizing:"x9f619",end:"xds687c",position:"x10l6tqk",start:"x17qophe",top:"x13vifvy",$$css:!0},backgroundMaskWash:{backgroundImage:"xm1cfgf",bottom:"x1ey2m1c",boxSizing:"x9f619",end:"xds687c",position:"x10l6tqk",start:"x17qophe",top:"x13vifvy",$$css:!0},coverActionBarContainer:{backgroundColor:"x18l40ae",end:"xds687c",position:"x10l6tqk",start:"x17qophe",top:"x13vifvy",zIndex:"x1vjfegm",$$css:!0},coverActionBarContainerPushView:{top:"x1w1tb2m",$$css:!0},coverButtonRow:{paddingEnd:"xc73u3c",paddingStart:"x5ib6vp",position:"x1n2onr6",$$css:!0},coverButtonShade:{backgroundImage:"x11v4dcs",$$css:!0},coverButtonStacked:{marginBottom:"x1e56ztr",$$css:!0},coverButtonStackedOnly:{marginBottom:"x1dtbblo",$$css:!0},coverFooterExternal:{overflowX:"x6ikm8r",overflowY:"x10wlt62",width:"xh8yej3",$$css:!0},coverMedia:{overflowX:"x6ikm8r",overflowY:"x10wlt62",position:"x1n2onr6",width:"xh8yej3",$$css:!0},coverMediaLarge:{maxWidth:"xric181",$$css:!0},coverMediaPlaceholder:{backgroundColor:"x443n21",$$css:!0},coverMediaRoundCornersBottom:{borderBottomEndRadius:"x30kzoy",borderBottomStartRadius:"x9jhf4c","@media (max-width: 939px)_borderBottomEndRadius":"x1nxjzwp","@media (max-width: 939px)_borderBottomStartRadius":"xd7htx2",$$css:!0},coverMediaRoundCornersTop:{borderTopEndRadius:"xgqcy7u",borderTopStartRadius:"x1lq5wgf","@media (max-width: 939px)_borderTopEndRadius":"x1m27jid","@media (max-width: 939px)_borderTopStartRadius":"xv84f0e",$$css:!0},coverPhoto:{alignItems:"x6s0dn4",display:"x78zum5",flexDirection:"xdt5ytf",justifyContent:"xl56j7k",$$css:!0},image:{bottom:"x1ey2m1c",boxSizing:"x9f619",end:"xds687c",left:null,right:null,height:"x5yr21d",position:"x10l6tqk",start:"x17qophe",top:"x13vifvy",width:"xh8yej3",$$css:!0},imageContainer:function(a){return[{left:"x101gtxs",start:null,end:null,position:"x10l6tqk",top:"x13vifvy",transform:"x1v0jg1i",$$css:!0},{"--left":function(a){return typeof a==="number"?a+"px":a!=null?a:"initial"}(a),"--transform":"translateX(-"+a+")"!=null?"translateX(-"+a+")":"initial"}]},mediaOverlayContainer:{backgroundColor:"x18l40ae",bottom:"x1ey2m1c",boxSizing:"x9f619",end:"xds687c",position:"x10l6tqk",start:"x17qophe",top:"x13vifvy",$$css:!0},mediaOverlayContainerNoShade:{bottom:"x1ey2m1c",boxSizing:"x9f619",end:"xds687c",position:"x10l6tqk",start:"x17qophe",top:"x13vifvy",$$css:!0},navBarPushViewBackground:{backgroundColor:"x2bj2ny",height:"xng8ra",$$css:!0},pressable:{display:"x1lliihq",$$css:!0}},p=d("CometFeedWidthStyles").getEntityHeaderWidthStyles(),q=1.9,r=1.8,s=2.7,t=9.4,u=1.1;function a(a){var b=a.backgroundMask;b=b===void 0?"card":b;var e=a.backgroundMedia,f=a.coverActionBar,g=a.coverButton,i=a.coverFooter,v=a.coverHeader,w=a.coverMedia,x=a.coverMediaContainerRef,y=a.coverOverlay,z=a.coverTopStartButton,A=a.isDraggable;A=A===void 0?!1:A;var B=a.onDrag;B=B===void 0?c("emptyFunction"):B;var C=a.renderCoverFooterBelow;C=C===void 0?!1:C;var D=a.roundCorners,E=a.scrollToBottom,F=E===void 0?!1:E;E=a.showCoverButtonShade;E=E===void 0?!0:E;var G=a.showCoverOverlayShade;G=G===void 0?!0:G;var H=a.size;H=H===void 0?"normal":H;a=a.stackedCoverButton;var I=.5,J=.5,K=0,L=null,M=0,N=null;if(w!=null){var O=w.focusX,P=w.focusY,Q=w.height,R=w.mediaSource,S=w.width;w=babelHelpers.objectWithoutPropertiesLoose(w,["focusX","focusY","height","mediaSource","width"]);I=(O=O)!=null?O:I;J=(O=P)!=null?O:J;K=(P=Q)!=null?P:K;L=(O=R)!=null?O:L;M=(Q=S)!=null?Q:M;N=(P=w)!=null?P:N}R={large:q,mobile:u,normal:s,permalinkHeader:r,"short":t};O=R[H];S=d("CometRouteRenderType").useIsPushView();var T=k(c("CometEntityHeaderScrollToContext")),U=m(null);l(function(){F&&T.scrollToTop(U,316)},[T,F]);w=((Q=e==null?void 0:e.focusX)!=null?Q:.5)*100+"%";P=M>0&&K>0?M/K:O;R=typeof L==="string"?j.jsx(c("BaseImage.react"),{"data-imgperflogname":"profileCoverPhoto",src:L,xstyle:o.image}):L;Q=typeof L==="string"?j.jsx(c("CometObjectFitContainerNext.react"),{containerAspectRatio:O,contentAspectRatio:P,focus:{x:I,y:J},mode:"cover",children:j.jsx(c("BaseImage.react"),{"data-imgperflogname":"profileCoverPhoto",src:L,xstyle:o.image})}):j.jsx(c("BaseAspectRatioContainer.react"),{aspectRatio:O,children:L});M=A?j.jsx(c("BaseAspectRatioContainer.react"),{aspectRatio:O,children:j.jsx(c("CometPlaceholder.react"),{fallback:Q,children:j.jsx(n,{containerAspectRatio:O,contentAspectRatio:P,focus:{x:I,y:J},onDrag:B,xstyle:o.image,children:R})})}):Q;return j.jsxs(j.Fragment,{children:[f!=null&&j.jsxs(j.Fragment,{children:[j.jsx("div",{className:(h||(h=c("stylex")))(S&&o.navBarPushViewBackground)}),j.jsx("div",{className:(h||(h=c("stylex")))(o.coverActionBarContainer,S&&o.coverActionBarContainerPushView),children:f})]}),j.jsxs(c("BaseRow.react"),{align:"center",children:[e!=null&&j.jsxs("div",{className:(h||(h=c("stylex")))(o.backgroundCover,e.xstyle),children:[j.jsx(c("BaseAspectRatioContainer.react"),{aspectRatio:P,xstyle:o.imageContainer(w),children:j.jsx(c("BaseImage.react"),{src:e.uri,xstyle:o.image})}),j.jsx("div",{className:(h||(h=c("stylex")))(b==="card"&&o.backgroundMask,b==="wash"&&o.backgroundMaskWash)})]}),j.jsxs(c("BaseRowItem.react"),{expanding:!0,ref:(K=x)!=null?K:null,useDeprecatedStyles:!0,xstyle:[o.coverPhoto,p.coverMediaContainer],children:[j.jsxs("div",{className:(h||(h=c("stylex")))(o.coverMedia,(H==="large"||H==="permalinkHeader")&&o.coverMediaLarge,!C&&D!=="none"&&o.coverMediaRoundCornersBottom,D==="all"&&o.coverMediaRoundCornersTop,R==null&&o.coverMediaPlaceholder),ref:U,style:{borderRadius:!C&&D!=="none"?"max(0px, min(8px, calc((100vw - 4px - 100%) * 9999))) / 8px":void 0,borderTopLeftRadius:"0px",borderTopRightRadius:"0px"},children:[v!=null&&j.jsx("div",{className:"x78zum5 xl56j7k x1ow4hk9 x1n2onr6",children:v}),((L=N)==null?void 0:L.linkProps)!=null||((A=N)==null?void 0:A.onPress)!=null?j.jsx(c("CometPressable.react"),babelHelpers["extends"]({},N,{display:"inline",overlayFocusRingPosition:"inset",testid:void 0,xstyle:o.pressable,children:M})):M,z!=null&&j.jsx("div",{className:"x10l6tqk x17qophe x13vifvy",children:z}),y!=null&&j.jsx("div",{className:(h||(h=c("stylex")))(G?o.mediaOverlayContainer:o.mediaOverlayContainerNoShade),children:y}),(g!=null||i!=null||a!=null)&&j.jsxs("div",{className:"x1ey2m1c xds687c x10l6tqk x17qophe",children:[(g!=null||a!=null)&&j.jsx("div",{className:(h||(h=c("stylex")))(o.coverButtonRow,E&&o.coverButtonShade),children:j.jsx(c("CometRow.react"),{align:"end",children:j.jsxs(c("CometRowItem.react"),{children:[a!==null?j.jsx("div",{className:(h||(h=c("stylex")))(g!=null&&o.coverButtonStacked,g==null&&o.coverButtonStackedOnly),children:a}):null,g!==null&&j.jsx("div",{className:"x1yztbdb",children:g})]})})}),!C&&i]})]}),C&&j.jsx("div",{className:(h||(h=c("stylex")))(o.coverFooterExternal,D!=="none"&&o.coverMediaRoundCornersBottom),children:i})]})]})]})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
__d("CometEntityHeaderStickyBar.react",["BaseRow.react","BaseRowItem.react","BaseView.react","react","stylex"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=i||(i=d("react"));b=i;var k=b.useEffect,l=b.useImperativeHandle,m=b.useRef,n={container:{transitionDuration:"xhb22t3",transitionProperty:"x11xpdln",transitionTimingFunction:"x1jrttnq",$$css:!0},containerSticky:{transform:"x105ttfm",$$css:!0},fadeInTransition:{transitionDuration:"x1bvr7z4",transitionProperty:"x1jl3cmp",transitionTimingFunction:"xu06nn8",$$css:!0},fadeOutTransition:{transitionDuration:"x2r5gy4",transitionProperty:"x1jl3cmp",transitionTimingFunction:"xu06nn8",$$css:!0},primaryRow:{minHeight:"x879a55",opacity:"x1hc1fzr",visibility:"xnpuxes",$$css:!0},primaryRowSticky:{opacity:"xg01cxk",visibility:"xlshs6z",$$css:!0},root:{overflowX:"x6ikm8r",overflowY:"x10wlt62",position:"x1n2onr6",$$css:!0},stickyRow:{height:"x5yr21d",opacity:"xg01cxk",position:"x10l6tqk",top:"xdsb8wn",visibility:"xlshs6z",width:"xh8yej3",$$css:!0},stickyRowSticky:{opacity:"x1hc1fzr",visibility:"xnpuxes",$$css:!0}};function o(a,b,c){b(!c).split(/\s+/).filter(Boolean).forEach(function(b){return a.classList.remove(b)}),b(c).split(/\s+/).filter(Boolean).forEach(function(b){return a.classList.add(b)})}e=j.forwardRef(a);function a(a,b){var d=a.initialSticky;d=d===void 0?!1:d;var e=a.isStickyExpanding;e=e===void 0?!1:e;var f=a.primaryContent,g=a.stickyContent,i=a.xstyle;a=babelHelpers.objectWithoutPropertiesLoose(a,["initialSticky","isStickyExpanding","primaryContent","stickyContent","xstyle"]);var p=m(d),q=m(),r=m(),s=m(),t=m(),u=function(){q.current!=null&&(window.cancelAnimationFrame(q.current),q.current=null)};l(b,function(){return{setSticky:function(a){p.current=a,u(),q.current=window.requestAnimationFrame(function(){q.current=null;var b=r.current;b!=null&&b instanceof HTMLDivElement&&o(b,function(a){return(h||(h=c("stylex")))(a&&n.containerSticky)},a);b=s.current;b!=null&&b instanceof HTMLDivElement&&o(b,function(a){return(h||(h=c("stylex")))(a&&n.primaryRowSticky,a?n.fadeInTransition:n.fadeOutTransition)},a);b=t.current;b!=null&&b instanceof HTMLDivElement&&o(b,function(a){return(h||(h=c("stylex")))(a&&n.stickyRowSticky,a?n.fadeOutTransition:n.fadeInTransition)},a)})}}});k(function(){return u},[]);return j.jsx(c("BaseView.react"),babelHelpers["extends"]({},a,{xstyle:[n.root,i],children:j.jsxs(c("BaseView.react"),{ref:r,xstyle:[n.container,p.current&&n.containerSticky],children:[j.jsx(c("BaseRow.react"),{ref:s,xstyle:[n.primaryRow,p.current&&n.primaryRowSticky,p.current?n.fadeInTransition:n.fadeOutTransition],children:j.jsx(c("BaseRowItem.react"),{expanding:!0,children:f})}),j.jsx(c("BaseRow.react"),{ref:t,xstyle:[n.stickyRow,p.current&&n.stickyRowSticky,p.current?n.fadeOutTransition:n.fadeInTransition],children:j.jsx(c("BaseRowItem.react"),{expanding:e,verticalAlign:"center",children:g})})]})}))}a.displayName=a.name+" [from "+f.id+"]";d=e;g["default"]=d}),98);
__d("FDSTabs.react",["fbt","CometComponentWithKeyCommands.react","CometDeferredPopoverTrigger.react","CometFocusGroup.react","CometKeys","CometTab.react","CometVisualCompletionAttributes","CurrentLocale","Locale","ReactDOM","SVGIcon","TriangleDownFilled20.svg.react","focusScopeQueries","gkx","mergeRefs","react","requireDeferred","stylex","useResizeObserver"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j,k=j||(j=d("react"));b=j;var l=b.useCallback,m=b.useEffect,n=b.useId,o=b.useMemo,p=b.useRef,q=b.useState,r=c("requireDeferred")("CometTabMenu.react").__setRef("FDSTabs.react"),s={invisible:{opacity:"xg01cxk",$$css:!0},moreTab:{height:"x1itg65n",position:"x10l6tqk",start:"x17qophe",left:null,right:null,top:"x13vifvy",$$css:!0},moreTabHidden:{display:"x1s85apg",$$css:!0},moreTabVisible:function(a){return[{start:"xejnhxz",left:null,right:null,position:"x10l6tqk",top:"x13vifvy",$$css:!0},{"--insetInlineStart":function(a){return typeof a==="number"?a+"px":a!=null?a:"initial"}(a)}]},moreTabVisual:{display:"x3nfvp2",$$css:!0},moreWrapper:{display:"x1rg5ohu",height:"x1itg65n",position:"x1n2onr6",verticalAlign:"x16dsc37",$$css:!0},moreWrapperAdaptive:{height:"x1x4j4od",maxHeight:"xyhpeqk",minHeight:"x2lwn1j",overflowX:"x6ikm8r",overflowY:"x10wlt62",$$css:!0},root:{height:"x1itg65n",overflowX:"x6ikm8r",overflowY:"x10wlt62",position:"x1n2onr6",width:"xh8yej3",zIndex:"x1ja2u2z",$$css:!0},tab:{display:"x3nfvp2","float":"xrbpyxo",height:"x1itg65n",verticalAlign:"x16dsc37",$$css:!0},tabsContainer:{bottom:"x1ey2m1c",boxSizing:"x9f619",end:"xds687c",position:"x10l6tqk",start:"x17qophe",top:"x13vifvy",$$css:!0}},t={"default":{width:"x1k51ox",$$css:!0},englishOrShorter:{width:"x192njpj",$$css:!0}},u=["en_US","en_GB","nl_NL","vi_VN","af_ZA","fy_NL","kk_KZ","cs_CZ","sw_KE","it_IT","pt_BR","pt_PT","bg_BG","hr_HR","nn_NO","es_ES","es_LA","fr_FR","ca_ES","fr_CA","si_LK","sr_RS","nb_NO","sv_SE","zh_HK","zh_TW","he_IL","ne_NP","eo_EO"],v=d("Locale").isRTL();function a(a){var b=a.heightXStyle,e=a.maxHeightXStyle,f=a.tabs,g=a.maxTabs,j=g===void 0?f.length:g,z=a.menuSize,A=a.moreTabRef,B=a.moreTabStyles,C=a.moreTabXStyle,D=a.moreWrapperXStyle,E=a.tabsContainerStyle;g=a.truncateMenu;var F=g===void 0?!1:g,G=a.onMoreTabPress,H=n(),I=n(),J=p(null),K=p([]),L=p(null),M=p(function(){});g=l(function(){M.current()},[]);var N=c("useResizeObserver")(g);a=q(y(f.length,j));var O=a[0],P=a[1];g=q(!1);var Q=g[0],R=g[1];m(function(){P(y(f.length,j))},[f.length,j]);var S=j<f.length?f.slice(0,j):f,T=j>=f.length,U=o(function(){return O.some(function(a){return(a=f[a])==null?void 0:a.selected})},[O,f]);a=q(null);var V=a[0],W=a[1];g=q(!1);var X=g[0],Y=g[1],Z=p(null);m(function(){var a=function(){var a=Z.current,b=a==null?void 0:a.parentElement;if(a!=null&&b!=null){a=a.getBoundingClientRect();b=b.getBoundingClientRect();if(a.height<5){W(null);return}v?W(b.right-a.right):W(a.left-b.left)}};a();var b=null,c=function(){b!=null&&window.clearTimeout(b),d("ReactDOM").flushSync(function(){Y(!0)}),b=window.setTimeout(function(){a(),Y(!1)},300)};M.current=c;return function(){M.current=function(){},b!=null&&window.clearTimeout(b)}},[]);var $=k.jsx("div",babelHelpers["extends"]({"aria-hidden":!0},(i||(i=c("stylex"))).props(s.moreWrapper,t["default"],u.includes(c("CurrentLocale").get())&&t.englishOrShorter,b,T&&s.moreWrapperAdaptive,s.moreTabVisual,V!=null&&!X&&s.invisible),{ref:Z,children:k.createElement(c("CometTab.react"),babelHelpers["extends"]({},B,{"aria-controls":H,"aria-expanded":Q,"aria-haspopup":"menu",icon:d("SVGIcon").svgIcon(c("TriangleDownFilled20.svg.react")),iconSize:16,id:I,key:"more-tab-visual",label:h._("__JHASH__aIpSCYSYAKN__JHASH__"),role:"tab",selected:U,testid:void 0,xstyle:C}))})),aa=l(function(a,f){a=c("mergeRefs")(a,L,A);var g=[{command:{key:c("CometKeys").DOWN},description:h._("__JHASH__XKKEZVjEqk8__JHASH__"),handler:f}];return k.jsx(c("CometComponentWithKeyCommands.react"),{commandConfigs:g,xstyle:[t["default"],u.includes(c("CurrentLocale").get())&&t.englishOrShorter,D,e,V==null?s.moreTabHidden:s.moreTabVisible(V),X&&s.invisible],children:k.jsx(c("CometTab.react"),babelHelpers["extends"]({},B,{"aria-controls":H,"aria-expanded":Q,"aria-haspopup":"menu",icon:d("SVGIcon").svgIcon(c("TriangleDownFilled20.svg.react")),iconSize:16,id:I,label:h._("__JHASH__aIpSCYSYAKN__JHASH__"),onPress:function(){f(),G==null?void 0:G()},pressableXStyle:[s.moreTab,b],ref:a,role:"tab",selected:U,testid:void 0,xstyle:C}))},"more-tab-functional")},[A,D,e,V,X,B,H,Q,I,b,U,C,G]);return k.jsx(c("CometFocusGroup.react"),{hideArrowSignifiers:!0,orientation:"horizontal",preventScrollOnFocus:!0,role:"tablist",tabScopeQuery:d("focusScopeQueries").tabbableScopeQuery,wrap:!0,children:function(a){return k.jsx("div",babelHelpers["extends"]({className:(i||(i=c("stylex")))(s.root,a,b),role:"tablist"},c("CometVisualCompletionAttributes").IGNORE_DYNAMIC,{children:k.jsxs("div",{className:"x14ju556 x1n2onr6",children:[T&&k.jsx("div",{className:"x6ikm8r x10wlt62 xlshs6z",children:S.map(function(a,b){a.linkProps;a.onPress;a=babelHelpers.objectWithoutPropertiesLoose(a,["linkProps","onPress"]);return k.createElement(c("CometTab.react"),babelHelpers["extends"]({},a,{key:b+"tab",ref:function(a){return K.current[b]=a},role:"tab",selected:a.selected,xstyle:[s.tab,a.xstyle]}))})}),k.jsxs("div",{className:i(s.tabsContainer,E),"data-testid":void 0,ref:N,children:[$,S.map(function(a,b){return k.createElement(c("CometTab.react"),babelHelpers["extends"]({},a,{containerRef:J,key:b+"tab",onHidden:function(a){if(c("gkx")("2865"))P(function(c){return a?w(c,b):x(c,b)});else{var d=a?w(O,b):x(O,b);d!==O&&P(d)}},pressableXStyle:s.tab,ref:function(a){return K.current[b]=a},role:"tab",selected:a.selected}))}),V!=null&&k.jsx(c("CometDeferredPopoverTrigger.react"),{onVisibilityChange:R,popoverProps:{ariaLabelledby:I,id:H,menuItems:O.map(function(a){return f[a]}).filter(Boolean),menuSize:z,truncate:F},popoverResource:r,children:aa})]})]})}))}})}a.displayName=a.name+" [from "+f.id+"]";function w(a,b){return a.includes(b)?a:[].concat(a,[b]).sort(function(a,b){return a-b})}function x(a,b){return a.includes(b)?a.filter(function(a){return a!==b}):a}function y(a,b){return Array.from({length:a}).map(function(a,b){return b}).filter(function(a){return a>=b})}g["default"]=a}),226);
__d("CometEntityHeaderTabs.react",["FDSTabs.react","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||d("react"),j={entityHeaderTab:{height:"xng8ra",paddingEnd:"x1pi30zi",paddingLeft:null,paddingRight:null,paddingStart:"x1swvt13",$$css:!0}};function a(a){var b=a.maxTabs,d=a.menuSize,e=a.onMoreTabPress;a=a.tabs;return i.jsx(c("FDSTabs.react"),{maxTabs:b,menuSize:d,moreTabStyles:{overlayOffset:{bottom:-4,left:0,right:0,top:-4},overlayRadius:6,underlineColor:"var(--accent)"},moreTabXStyle:j.entityHeaderTab,onMoreTabPress:e,tabs:a.map(function(a){return babelHelpers["extends"]({},a,{overlayOffset:{bottom:-4,left:0,right:0,top:-4},overlayRadius:6,underlineColor:"var(--accent)",xstyle:j.entityHeaderTab})}),truncateMenu:!0})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
__d("CometEntityHeaderTabBar.react",["CometEntityHeaderTabs.react","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||d("react");function a(a){var b=a.maxTabs,d=a.menuSize,e=a.tabs;a=a.tabsRouteTarget;var f=a===void 0?"self":a,g=e.findIndex(function(a){return a.isActive()});a=e.map(function(a,b){a.isActive;var c=a.linkProps;a=babelHelpers.objectWithoutPropertiesLoose(a,["isActive","linkProps"]);return c?babelHelpers["extends"]({},a,{linkProps:babelHelpers["extends"]({},c,{routeTarget:f}),selected:b===g}):babelHelpers["extends"]({},a,{selected:b===g})});return i.jsx(c("CometEntityHeaderTabs.react"),{maxTabs:b,menuSize:d,tabs:a})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
__d("useBaseEntityHeaderProfile_profile.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[{kind:"RootArgument",name:"scale"}],kind:"Fragment",metadata:null,name:"useBaseEntityHeaderProfile_profile",selections:[{alias:"profile_picture_for_sticky_bar",args:[{kind:"Literal",name:"height",value:40},{kind:"Variable",name:"scale",variableName:"scale"},{kind:"Literal",name:"width",value:40}],concreteType:"Image",kind:"LinkedField",name:"profile_picture",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"uri",storageKey:null}],storageKey:null},{kind:"InlineFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"url",storageKey:null}],type:"Entity",abstractKey:"__isEntity"}],type:"Profile",abstractKey:"__isProfile"};e.exports=a}),null);
__d("useBaseEntityHeaderProfile",["RelayHooks","react","useBaseEntityHeaderProfile_profile.graphql"],(function(a,b,c,d,e,f,g){"use strict";var h,i;i||d("react");function a(a){var c;a=d("RelayHooks").useFragment(h!==void 0?h:h=b("useBaseEntityHeaderProfile_profile.graphql"),a);c=(c=a.profile_picture_for_sticky_bar)==null?void 0:c.uri;var e;switch(a.__typename){case"Page":case"User":case"Hashtag":e="circle";break;default:e="roundedRect"}a=a.url;return{profilePhoto:c,profilePhotoShape:e,url:a}}g["default"]=a}),98);
__d("useCometEntityStickyHeaderHeadline",["CometListCellStrict_DEPRECATED.react","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||(h=d("react"));b=h;var j=b.useMemo,k=b.useState;function a(a){var b=a.headline,d=a.linkProps,e=a.onPress,f=a.onStickyChange,g=a.paddingHorizontal,h=a.profilePhoto,m=a.profilePhotoShape,n=a.url;a=k(!1);var o=a[0],p=a[1];a=function(a){p(a),f&&f(a)};var q=j(function(){return babelHelpers["extends"]({preventLocalNavigation:!0,url:n},d)},[d,n]);h=i.jsx(c("CometListCellStrict_DEPRECATED.react"),{addOnStart:h!=null?{shape:m,size:40,source:{uri:h},type:"profile-photo"}:void 0,headline:b,headlineLineLimit:1,level:3,linkProps:q,onPress:(m=e)!=null?m:l,paddingHorizontal:g});return{headline:h,isSticky:o,onStickyChange:a}}function l(a){a.preventDefault(),scrollTo({behavior:"smooth",left:0,top:0})}g["default"]=a}),98);
__d("useResizeObserverLoopLimitSafeCallbackWrapper",["react"],(function(a,b,c,d,e,f,g){"use strict";var h;b=h||d("react");var i=b.useEffect,j=b.useRef;function a(a){var b=j(null),c=function(c,d,e){b.current!=null&&window.cancelAnimationFrame(b.current),b.current=window.requestAnimationFrame(function(){a(c,d,e)})};i(function(){return function(){b.current!=null&&window.cancelAnimationFrame(b.current)}},[]);return c}g["default"]=a}),98);
__d("useCometEntityStickyHeaderResizeObserver",["react","useResizeObserver","useResizeObserverLoopLimitSafeCallbackWrapper"],(function(a,b,c,d,e,f,g){"use strict";var h;b=h||d("react");var i=b.useRef,j=b.useState;function a(a){a=a.topOffset;a=a===void 0?0:a;var b=i(),d=j(0),e=d[0],f=d[1];d=c("useResizeObserver")(c("useResizeObserverLoopLimitSafeCallbackWrapper")(function(a){e!==a.height&&f(a.height)}));return{resizeObserverRef:d,stickyHeaderRef:b,topOffset:a}}g["default"]=a}),98);
__d("useSearchCometResultsTypeaheadDialogTriggerClickHandler",["react","searchCometScopedTypeaheadDialogFallback","useCometEntryPointDialog"],(function(a,b,c,d,e,f,g){"use strict";var h;b=h||d("react");b.useCallback;var i=b.useRef,j=b.c;function a(a,b,d){var e=j(12),f=i(null),g;e[0]!==b?(g={entityID:b},e[0]=b,e[1]=g):g=e[1];a=c("useCometEntryPointDialog")(a,g,"button",c("searchCometScopedTypeaheadDialogFallback"));var h=a[0];g=a[1];var k=a[2];a=a[3];var l;e[2]!==h||e[3]!==b||e[4]!==d?(l=function(){h({entityID:b},function(){},"comet.search_scoped."+d)},e[2]=h,e[3]=b,e[4]=d,e[5]=l):l=e[5];l=l;var m;e[6]!==l||e[7]!==f||e[8]!==g||e[9]!==k||e[10]!==a?(m=[l,f,g,k,a],e[6]=l,e[7]=f,e[8]=g,e[9]=k,e[10]=a,e[11]=m):m=e[11];return m}g["default"]=a}),98);/*FB_PKG_DELIM*/
__d("CometFeedStoryCallToActionTriggerContext",["react"],(function(a,b,c,d,e,f,g){"use strict";var h;a=h||d("react");b=a.createContext({setTriggeredEvent:function(a){},triggeredBumperRegistry:{},triggeredEvent:null});g["default"]=b}),98);
__d("CometFeedStoryContext",["react"],(function(a,b,c,d,e,f,g){"use strict";var h;b=h||(h=d("react"));var i=h.useContext,j=b.createContext(Object.freeze({}));function a(){return i(j)}g.CometFeedStoryContext=j;g.useCometFeedStoryContext=a}),98);
__d("CometFeedStoryEncryptedTrackingContext",["react"],(function(a,b,c,d,e,f,g){"use strict";var h;a=h||d("react");b=a.createContext("");g["default"]=b}),98);
__d("CometFeedStoryMetaSectionMiddot.react",["BaseMiddot.react","CometFutureOfFeedStoryContext","react","react-strict-dom"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||(h=d("react")),j=h.useContext,k={white:{color:"x14ctfv",$$css:!0}};function a(){var a=j(c("CometFutureOfFeedStoryContext"));a=a.shouldOverlayHeaderOverAttachment;return i.jsx(d("react-strict-dom").html.span,{style:a&&k.white,children:i.jsx(c("BaseMiddot.react"),{})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
__d("CometProductTagFunnelIDContext",["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("CometSharingSessionIDUtil",["uuidv4"],(function(a,b,c,d,e,f,g){"use strict";var h=c("uuidv4")(),i=null,j=!1;a=function(){return h};b=function(){return i};d=function(){return j};e=function(a){j=a};f=function(){i=h,j=!1,h=c("uuidv4")()};f={genNext:f,getIsAnythingSharedInCurrentSession:d,getPreviousSharingSessionID:b,getSharingSessionID:a,setIsAnythingSharedInCurrentSession:e};g["default"]=f}),98);
__d("CometShortenedExternalUrlEntityRenderer_entity.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:{mask:!1},name:"CometShortenedExternalUrlEntityRenderer_entity",selections:[{kind:"InlineFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"external_url",storageKey:null}],type:"ExternalUrl",abstractKey:null}],type:"Entity",abstractKey:"__isEntity"};e.exports=a}),null);
__d("CometShortenedExternalUrlEntityRenderer",["CometShortenedExternalUrlEntityRenderer_entity.graphql","cr:2169","cr:3118","cr:3119","cr:3258","cr:3749","isValidURL","memoizeStringOnly","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=i||d("react"),k=c("memoizeStringOnly")(c("isValidURL")),l=60;h!==void 0?h:h=b("CometShortenedExternalUrlEntityRenderer_entity.graphql");function m(a){var c=a.entity,d=a.node;a=a.originalText;c=c.external_url;if(c==null||a==null)return d;if(b("cr:3749")!=null&&b("cr:3258")!=null){var e=b("cr:3258").extractDataFromGenericLinkUrl(c);if(e!=null)return j.jsx(b("cr:3749"),{data:e.data,type:e.type})}if(b("cr:3118")!==null&&b("cr:3119")!==null&&b("cr:3119").isPixelcloudLink(c)){e=b("cr:3119").pixelcloudInlineLink(a);if(e!==null)return j.jsx(b("cr:3118"),{location:"FEED",pixelcloudID:e,pixelcloudURL:c})}if(!k(a))return d;if(!c.endsWith(a)&&!c.startsWith(a))return d;e=b("cr:2169")(c,l);return e.length<a.length?e:d}m.displayName=m.name+" [from "+f.id+"]";a=function(a,b,c,d){return j.jsx(m,{entity:b,node:a,originalText:d})};g["default"]=a}),98);
__d("CometUFICommentListLayoutContext",["react"],(function(a,b,c,d,e,f,g){"use strict";var h;a=h||d("react");b=a.createContext({narrow:null});g["default"]=b}),98);
__d("CometUFIReactionsMenuContextProvider",["emptyFunction","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||(h=d("react"));e=h;var j=e.useContext;e.useMemo;var k=e.c,l=i.createContext({disableAnimationPlayback:!1,focusOnShow:!1,initialReactionID:null,onClose:c("emptyFunction"),onHoverIn:c("emptyFunction"),onHoverOut:c("emptyFunction"),onReactionSelect:c("emptyFunction"),scrubbingMode:!1,shouldFocusOnShow:function(){return!1},showSelectedIndicator:!1});function a(a){var b=k(13),c=a.children;a=a.contextValues;var d=a.disableAnimationPlayback,e=a.initialReactionID,f=a.onClose,g=a.onHoverIn,h=a.onHoverOut,j=a.onReactionSelect,m=a.scrubbingMode,n=a.shouldFocusOnShow;a=a.showSelectedIndicator;var o;b[0]!==d||b[1]!==e||b[2]!==f||b[3]!==g||b[4]!==h||b[5]!==j||b[6]!==m||b[7]!==n||b[8]!==a?(o={disableAnimationPlayback:d,initialReactionID:e,onClose:f,onHoverIn:g,onHoverOut:h,onReactionSelect:j,scrubbingMode:m,shouldFocusOnShow:n,showSelectedIndicator:a},b[0]=d,b[1]=e,b[2]=f,b[3]=g,b[4]=h,b[5]=j,b[6]=m,b[7]=n,b[8]=a,b[9]=o):o=b[9];d=o;e=d;b[10]!==e||b[11]!==c?(f=i.jsx(l.Provider,{value:e,children:c}),b[10]=e,b[11]=c,b[12]=f):f=b[12];return f}function b(){return j(l)}g.CometUFIReactionsMenuContext=l;g.CometUFIReactionsMenuContextProvider=a;g.useCometUFIReactionsMenuContext=b}),98);
__d("CometUFIShareActionLinkMenuQuery_facebookRelayOperation",[],(function(a,b,c,d,e,f){e.exports="6645300872230027"}),null);
__d("CometUFISharePopoverContext.react",["react"],(function(a,b,c,d,e,f,g){"use strict";var h;a=(h||d("react")).createContext;b=a({ufiSharePopoverRef:{current:null}});g["default"]=b}),98);
__d("CometUFIVideoPlayerContext",["react"],(function(a,b,c,d,e,f,g){"use strict";var h;a=(h||d("react")).createContext;b=a([null,function(){}]);g["default"]=b}),98);
__d("CometUFIVideoPlayerPortableIDContext",["react"],(function(a,b,c,d,e,f,g){"use strict";var h;a=(h||d("react")).createContext;b=a(null);g["default"]=b}),98);
__d("useCometUFIVideoPlayerStateAndController",["CometUFIVideoPlayerContext","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=(h||d("react")).useContext;function a(){var a=i(c("CometUFIVideoPlayerContext"));a=a[0];return a}g["default"]=a}),98);
__d("useVideoPlayerPortalingPassthroughProps",["VideoPlayerPortalingPlaceInfoProvider.react","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=(h||d("react")).useMemo;function a(){var a=d("VideoPlayerPortalingPlaceInfoProvider.react").useVideoPlayerPortalingPlaceInfo(),b=a.currentVideoID,c=a.thisPlaceID;return i(function(){return{portableVideoID:b,portalingPlaceID:c,positionToViewport:null}},[b])}g["default"]=a}),98);
__d("CometUFIVideoPlayerUtils",["CometUFIVideoPlayerContext","CometUFIVideoPlayerPortableIDContext","VideoPlayerHooks","react","useCometUFIVideoPlayerStateAndController","useVideoPlayerPortalingPassthroughProps"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=h||(h=d("react")),k=h,l=k.useCallback,m=k.useContext,n=k.useEffect,o=k.useState;function a(a){a=a.children;var b=o(null),d=b[0];return j.jsx(c("CometUFIVideoPlayerContext").Provider,{value:b,children:j.jsx(c("CometUFIVideoPlayerPortableIDContext").Provider,{value:d==null?void 0:(b=d.data)==null?void 0:b.portableVideoID,children:a})})}a.displayName=a.name+" [from "+f.id+"]";function b(a){var b=a.data,e=(i||(i=d("VideoPlayerHooks"))).useController(),f=c("useVideoPlayerPortalingPassthroughProps")();a=m(c("CometUFIVideoPlayerContext"));a[0];var g=a[1];n(function(){g({controller:e,data:babelHelpers["extends"]({},b,f)});return function(){g(null)}},[e,b,f,g]);return null}b.displayName=b.name+" [from "+f.id+"]";function e(){var a=c("useCometUFIVideoPlayerStateAndController")();return l(function(){return a==null?null:Math.floor(a.controller.getPlayheadPosition())},[a])}function p(){var a=c("useCometUFIVideoPlayerStateAndController")();return l(function(){return a==null?null:a.controller.getCurrentState().latencyLevel},[a])}function q(){var a=c("useCometUFIVideoPlayerStateAndController")();return l(function(){return a==null?null:a.controller.getCurrentState().ullIneligibilityReason},[a])}g.CometUFIVideoPlayerStateAndControllerContextProvider=a;g.CometUFIVideoPlayerStateAndControllerExtractor=b;g.useGetCometUFIVideoPlayerTimestampInteger=e;g.useGetCometGFIVideoPlayerLatencyLevel=p;g.useGetCometGFIVideoPlayerULLIneligibilityReason=q}),98);
__d("CometVideoTimeIndexEntityRenderer_entity.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:{mask:!1},name:"CometVideoTimeIndexEntityRenderer_entity",selections:[{kind:"InlineFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"time_index",storageKey:null}],type:"VideoTimeIndex",abstractKey:null}],type:"Entity",abstractKey:"__isEntity"};e.exports=a}),null);
__d("CometVideoTimeIndexEntityRenderer",["CometLink.react","CometVideoTimeIndexEntityRenderer_entity.graphql","react","useCometUFIVideoPlayerStateAndController"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=i||d("react");h!==void 0?h:h=b("CometVideoTimeIndexEntityRenderer_entity.graphql");function k(a){var b=a.entity;a=a.node;var d=c("useCometUFIVideoPlayerStateAndController")();return b.time_index==null||d==null?a:j.jsx(c("CometLink.react"),{onClick:function(){b.time_index!=null&&d.controller.seek(b.time_index)},ref:function(a){var b=null;a&&(a.onmousedown=function(){b=document.activeElement},a.onmouseup=function(){a.blur(),b&&b.focus()})},children:j.jsx("strong",{children:a})})}k.displayName=k.name+" [from "+f.id+"]";a=function(a,b){return j.jsx(k,{entity:b,node:a})};g["default"]=a}),98);
__d("ContentAccessAndControlEventType",[],(function(a,b,c,d,e,f){a=Object.freeze({CLICK_BEGIN:"content_access_and_control_click_begin",CLICK_CANCEL:"content_access_and_control_click_cancel",CLICK_CONFIRM:"content_access_and_control_click_confirm",IMPRESSION:"content_access_and_control_impression",ENT_STORY_ACTION:"content_access_and_control_ent_story_action",SERVER_MUTATION_BEGIN:"content_access_and_control_mutation_begin",SERVER_MUTATION_FAILURE:"content_access_and_control_mutation_failure",SERVER_MUTATION_SUCCESS:"content_access_and_control_mutation_success"});f["default"]=a}),66);
__d("ContentAccessAndControlFalcoEvent",["FalcoLoggerInternal","getFalcoLogPolicy_DO_NOT_USE"],(function(a,b,c,d,e,f,g){"use strict";a=c("getFalcoLogPolicy_DO_NOT_USE")("1743465");b=d("FalcoLoggerInternal").create("content_access_and_control",a);e=b;g["default"]=e}),98);
__d("DataAttributeUtils",["cr:6669"],(function(a,b,c,d,e,f){var g=[];function h(a,b){a=a;while(a){if(b(a))return a;a=a.parentNode}return null}function i(a,b){a=h(a,function(a){return a instanceof Element&&!!a.getAttribute(b)});return a instanceof Element?a:null}var j={LEGACY_CLICK_TRACKING_ATTRIBUTE:"data-ft",CLICK_TRACKING_DATASTORE_KEY:"data-ft",ENABLE_STORE_CLICK_TRACKING:"data-fte",IMPRESSION_TRACKING_CONFIG_ATTRIBUTE:"data-xt-vimp",IMPRESSION_TRACKING_CONFIG_DATASTORE_KEY:"data-xt-vimp",REMOVE_LEGACY_TRACKING:"data-ftr",getDataAttribute:function(a,b){return k[b]?k[b](a):a.getAttribute(b)},setDataAttribute:function(a,b,c){return l[b]?l[b](a,c):a.setAttribute(b,c)},getDataFt:function(a){if(a.getAttribute(j.ENABLE_STORE_CLICK_TRACKING)){var c=b("cr:6669").get(a,j.CLICK_TRACKING_DATASTORE_KEY);c||(c=j.moveClickTrackingToDataStore(a,a.getAttribute(j.REMOVE_LEGACY_TRACKING)));return c}return a.getAttribute(j.LEGACY_CLICK_TRACKING_ATTRIBUTE)},setDataFt:function(a,c){if(a.getAttribute(j.ENABLE_STORE_CLICK_TRACKING)){b("cr:6669").set(a,j.CLICK_TRACKING_DATASTORE_KEY,c);return}a.setAttribute(j.LEGACY_CLICK_TRACKING_ATTRIBUTE,c)},moveXTVimp:function(a){j.moveAttributeToDataStore(a,j.IMPRESSION_TRACKING_CONFIG_ATTRIBUTE,j.IMPRESSION_TRACKING_CONFIG_DATASTORE_KEY),g.push(a.id)},getXTrackableElements:function(){var a=g.map(function(a){return document.getElementById(a)}).filter(function(a){return!!a}),b=document.querySelectorAll("[data-xt-vimp]");for(var c=0;c<b.length;c++)a.push(b[c]);return a},getDataAttributeGeneric:function(a,c,d){d=b("cr:6669").get(a,d);return d!==void 0?d:a.getAttribute(c)},moveAttributeToDataStore:function(a,c,d){var e=a.getAttribute(c);e&&(b("cr:6669").set(a,d,e),a.removeAttribute(c))},moveClickTrackingToDataStore:function(a,c){var d=a.getAttribute(j.LEGACY_CLICK_TRACKING_ATTRIBUTE);d&&(b("cr:6669").set(a,j.CLICK_TRACKING_DATASTORE_KEY,d),c&&a.removeAttribute(j.LEGACY_CLICK_TRACKING_ATTRIBUTE));return d},getClickTrackingParent:function(a){a=i(a,j.LEGACY_CLICK_TRACKING_ATTRIBUTE)||i(a,j.ENABLE_STORE_CLICK_TRACKING);return a},getClickTrackingElements:function(a){return a.querySelectorAll("["+j.LEGACY_CLICK_TRACKING_ATTRIBUTE+"], ["+j.ENABLE_STORE_CLICK_TRACKING+"]")},getParentByAttributeOrDataStoreKey:function(a,c,d){while(a&&(!a.getAttribute||!a.getAttribute(c))&&b("cr:6669").get(a,d)===void 0)a=a.parentNode;return a}},k={"data-ft":j.getDataFt,"data-xt-vimp":function(a){return j.getDataAttributeGeneric(a,"data-xt-vimp","data-xt-vimp")},"data-ad":function(a){return j.getDataAttributeGeneric(a,"data-ad","data-ad")},"data-xt":function(a){return j.getDataAttributeGeneric(a,"data-xt","data-xt")}},l={"data-ft":j.setDataFt,"data-xt":function(a,c){b("cr:6669").set(a,"data-xt",c)}};e.exports=j}),null);
__d("FeedbackReactionType",[],(function(a,b,c,d,e,f){a=Object.freeze({NONE:0,LIKE:1,LOVE:2,WOW:3,HAHA:4,YAY:5,OUCH:6,SORRY:7,ANGER:8,JACKO:9,CONFUSED:10,DOROTHY:11,TOTO:12,SELFIE:13,FLAME:14,PLANE:15,SUPPORT:16,DYNAMIC:17,FIRE:18,HUNDRED:19,MESSENGER:20});f["default"]=a}),66);
__d("UFI2RealtimeContext",["react","warning"],(function(a,b,c,d,e,f,g){"use strict";var h;a=h||d("react");b=a.createContext(function(){c("warning")(!1,"UFI2RealtimeContext: Using default context. Put an instance of `UFI2RealtimeRoot` in the tree.");return{dispose:function(){}}});e=b;g["default"]=e}),98);
__d("UFI2RealtimeContainer.react",["UFI2RealtimeContext","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.useEffect;function a(a){var b=a.children;a=a.subscribe;var d=j(c("UFI2RealtimeContext"));return i.jsx(l,{factory:d,subscribe:a,children:b})}a.displayName=a.name+" [from "+f.id+"]";function l(a){var b=a.factory,c=a.subscribe;a=a.children;k(function(){var a=b(new m(c));return function(){a.dispose()}},[b,c]);return(a=a)!=null?a:null}l.displayName=l.name+" [from "+f.id+"]";var m=function(){function a(a){this.$1=a}var b=a.prototype;b.subscribe=function(){this.$2||(this.$2=this.$1())};b.unsubscribe=function(){this.$2&&(this.$2.dispose(),this.$2=null)};return a}();g["default"]=a}),98);
__d("UFICommonInteractionEvents",["$InternalEnum"],(function(a,b,c,d,e,f){"use strict";a=b("$InternalEnum")({COMET_UFI_COMMENT_REACTION:"CometUFICommentReaction",COMET_UFI_COMPOSER_KEYPRESS_LATENCY:"CometUFIComposerKeypressLatency",COMET_UFI_OPTIMISTIC_COMMENT:"CometUFIOptimisticComment",COMET_UFI_OPTIMISTIC_COMMENT_EDIT:"CometUFIOptimisticCommentEdit",COMET_UFI_PERSISTED_COMMENT:"CometUFIPersistedComment",COMET_UFI_PERSISTED_COMMENT_EDIT:"CometUFIPersistedCommentEdit",COMET_UFI_REPLY_COMMENTS_PAGINATION:"CometUFIReplyCommentsPagination",COMET_UFI_STORY_REACTION:"CometUFIStoryReaction",COMET_UFI_TOP_LEVEL_COMMENTS_PAGINATION:"CometUFITopLevelCommentsPagination",UFI_COMMENT_REACTION:"UFICommentReaction",UFI_COMPOSER_INPUT_FOCUS:"UFIComposerInputFocus",UFI_COMPOSER_KEYPRESS_LATENCY:"UFIComposerKeypressLatency",UFI_OPTIMISTIC_COMMENT:"UFIOptimisticComment",UFI_PERSISTED_COMMENT:"UFIPersistedComment",UFI_SHARE_DIALOG_OPENS:"UFIShareDialogOpens",UFI_STORY_REACTION:"UFIStoryReaction",UFI_TOP_LEVEL_COMMENTS_PAGINATION:"UFITopLevelCommentsPagination",UFI2_COMMENT_REACTION:"UFI2CommentReaction",UFI2_COMPOSER_KEYPRESS_LATENCY:"UFI2ComposerKeypressLatency",UFI2_OPTIMISTIC_COMMENT:"UFI2OptimisticComment",UFI2_OPTIMISTIC_COMMENT_EDIT:"UFI2OptimisticCommentEdit",UFI2_PERSISTED_COMMENT:"UFI2PersistedComment",UFI2_PERSISTED_COMMENT_EDIT:"UFI2PersistedCommentEdit",UFI2_REPLY_COMMENTS_PAGINATION:"UFI2ReplyCommentsPagination",UFI2_SHARE_DIALOG_OPENS:"UFI2ShareDialogOpens",UFI2_STORY_REACTION:"UFI2StoryReaction",UFI2_TOP_LEVEL_COMMENTS_PAGINATION:"UFI2TopLevelCommentsPagination"});c=a;f["default"]=c}),66);
__d("UFICommonInteractionLogger",["QuickPerformanceLogger","UFICommonInteractionEvents","performanceAbsoluteNow","qpl","requestAnimationFrameAcrossTransitions","uuidv4"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=new Map(),k=0;function l(){return c("uuidv4")()}function a(a,b){var d=(h||(h=c("performanceAbsoluteNow")))();b=(b=b)!=null?b:l();a=n(a);var e;if(a){var f=k++;e={event:a,markerKey:f};(i||(i=c("QuickPerformanceLogger"))).markerStart(a,f,d)}j.set(b,{qplInfo:e,startTimestamp:d});return b}function b(a){c("requestAnimationFrameAcrossTransitions")(function(){m(a)})}function m(a,b){var d=j.get(a);if(d){d=d.qplInfo;j["delete"](a);if(d){a=(h||(h=c("performanceAbsoluteNow")))();(i||(i=c("QuickPerformanceLogger"))).markerEnd(d.event,b===!0?3:2,d.markerKey,a)}}}function n(a){switch(a){case c("UFICommonInteractionEvents").UFI_OPTIMISTIC_COMMENT:return c("qpl")._(3735589,"1811");case c("UFICommonInteractionEvents").UFI_PERSISTED_COMMENT:return c("qpl")._(3735591,"5737");case c("UFICommonInteractionEvents").UFI2_OPTIMISTIC_COMMENT:return c("qpl")._(3735590,"6043");case c("UFICommonInteractionEvents").UFI2_PERSISTED_COMMENT:return c("qpl")._(3735592,"2960");case c("UFICommonInteractionEvents").COMET_UFI_OPTIMISTIC_COMMENT:return c("qpl")._(3735618,"7148");case c("UFICommonInteractionEvents").COMET_UFI_PERSISTED_COMMENT:return c("qpl")._(3735619,"7056");case c("UFICommonInteractionEvents").UFI2_OPTIMISTIC_COMMENT_EDIT:return c("qpl")._(3735593,"7493");case c("UFICommonInteractionEvents").UFI2_PERSISTED_COMMENT_EDIT:return c("qpl")._(3735594,"1099");case c("UFICommonInteractionEvents").COMET_UFI_OPTIMISTIC_COMMENT_EDIT:return c("qpl")._(3735626,"5992");case c("UFICommonInteractionEvents").COMET_UFI_PERSISTED_COMMENT_EDIT:return c("qpl")._(3735627,"6752");case c("UFICommonInteractionEvents").UFI_TOP_LEVEL_COMMENTS_PAGINATION:return c("qpl")._(3735595,"4690");case c("UFICommonInteractionEvents").UFI2_TOP_LEVEL_COMMENTS_PAGINATION:return c("qpl")._(3735596,"3289");case c("UFICommonInteractionEvents").COMET_UFI_TOP_LEVEL_COMMENTS_PAGINATION:return c("qpl")._(3735620,"232");case c("UFICommonInteractionEvents").UFI2_REPLY_COMMENTS_PAGINATION:return c("qpl")._(3735597,"1585");case c("UFICommonInteractionEvents").COMET_UFI_REPLY_COMMENTS_PAGINATION:return c("qpl")._(3735622,"1891");case c("UFICommonInteractionEvents").UFI_SHARE_DIALOG_OPENS:return c("qpl")._(3735598,"7109");case c("UFICommonInteractionEvents").UFI2_SHARE_DIALOG_OPENS:return c("qpl")._(3735599,"1269");case c("UFICommonInteractionEvents").UFI_COMPOSER_INPUT_FOCUS:return c("qpl")._(3735600,"6153");case c("UFICommonInteractionEvents").UFI_STORY_REACTION:return c("qpl")._(3735601,"3455");case c("UFICommonInteractionEvents").UFI_COMMENT_REACTION:return c("qpl")._(3735604,"6177");case c("UFICommonInteractionEvents").UFI2_STORY_REACTION:return c("qpl")._(3735602,"4694");case c("UFICommonInteractionEvents").UFI2_COMMENT_REACTION:return c("qpl")._(3735603,"6895");case c("UFICommonInteractionEvents").COMET_UFI_STORY_REACTION:return c("qpl")._(3735623,"54");case c("UFICommonInteractionEvents").COMET_UFI_COMMENT_REACTION:return c("qpl")._(3735624,"702");case c("UFICommonInteractionEvents").UFI_COMPOSER_KEYPRESS_LATENCY:return c("qpl")._(3735605,"622");case c("UFICommonInteractionEvents").UFI2_COMPOSER_KEYPRESS_LATENCY:return c("qpl")._(3735606,"5054");case c("UFICommonInteractionEvents").COMET_UFI_COMPOSER_KEYPRESS_LATENCY:return c("qpl")._(3735625,"7813")}}g.makeTrackingID=l;g.startInteraction=a;g.endInteractionAtEndOfFrame=b;g.endInteraction=m}),98);
__d("URITruncator",["fbt","URI"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j=3,k=h._("__JHASH__S0UMEGat1Hj__JHASH__").toString(),l=k.length;function a(a,b){if(!a)return a;var d=a.toString();if(b===void 0||b<=l)return d;if(d.length<=b||d.length<=l)return d;d=(i||(i=c("URI"))).tryParseURI(a);if(!d)return a.toString().substring(0,b-l)+k;a=d.getOrigin();if(a.length>b-l)return a.substring(0,b-l)+k;var e=!1;if(d.getFragment()){e=!0;d.setFragment("");if(d.toString().length<=b-l)return d.toString()+k}var f=d.getQueryData();if(f){f=Object.keys(f);if(f.length>0){e=!0;for(var g=f.length-1;g>=0;g--){d.removeQueryData(f[g]);if(d.toString().length<=b-l)return d.toString()+k}}}g=d.getPath()+(e?k:"");f=g.split("/");d=a.length+g.length-b;e=0;while(d>0&&f.length>e+1){g=e+1;var h=f[g];if(d+l+j<=h.length){var m=h.length-1,n=h.length-d-l,o=/[a-zA-Z0-9]/;d+=l;while(d>0){while(m>0&&o.test(h[m]))m--,d--;while(m>0&&!o.test(h[m]))m--,d--}m===0&&(m=n-1);f[g]=h.substring(0,m+1)+k}else e++,d-=h.length,e===1?d+=l:d--}e>0&&(f[f.length-1].length===0&&f.length===e+2&&e++,f.splice(1,e,k));o=a+f.join("/");o.length>b&&(o=o.substring(0,b-l)+k);return o}g["default"]=a}),226);
__d("getContextualParent",["ge"],(function(a,b,c,d,e,f,g){function a(a,b){b===void 0&&(b=!1);var d=!1;a=a;do{if(a instanceof Element){var e=a.getAttribute("data-ownerid");if(e){a=c("ge")(e);d=!0;continue}}a=a.parentNode}while(b&&a&&!d);return a}g["default"]=a}),98);
__d("collectDataAttributes",["DataAttributeUtils","getContextualParent"],(function(a,b,c,d,e,f){var g="normal";function a(a,c,d){var e={},f=[],h=c.length,i;for(i=0;i<h;++i)e[c[i]]={},f.push("data-"+c[i]);if(d){e[g]={};for(i=0;i<(d||[]).length;++i)f.push(d[i])}d={tn:"","tn-debug":","};a=a;while(a){if(a.getAttribute)for(i=0;i<f.length;++i){var j=f[i],k=b("DataAttributeUtils").getDataAttribute(a,j);if(k){if(i>=h){e[g][j]===void 0&&(e[g][j]=k);continue}j=JSON.parse(k);for(k in j)d[k]!==void 0?(e[c[i]][k]===void 0&&(e[c[i]][k]=[]),e[c[i]][k].push(j[k])):e[c[i]][k]===void 0&&(e[c[i]][k]=j[k])}}a=b("getContextualParent")(a)}for(k in e)for(j in d)e[k][j]!==void 0&&(e[k][j]=e[k][j].join(d[j]));return e}e.exports=a}),null);
__d("getReferrerURI",["ErrorGuard","URI","isFacebookURI"],(function(a,b,c,d,e,f,g){"use strict";var h,i;function b(){if(a.PageTransitions&&a.PageTransitions.isInitialized())return a.PageTransitions.getReferrerURI();else{var b=(h||(h=c("ErrorGuard"))).applyWithGuard(function(a){return(i||(i=c("URI"))).tryParseURI(a)},null,[document.referrer]);return b&&c("isFacebookURI")(b)?b:null}}g["default"]=b}),98);
__d("isSSR",["ExecutionEnvironment","XPlatReactEnvironment"],(function(a,b,c,d,e,f,g){"use strict";var h;a=d("XPlatReactEnvironment").isWeb()&&!(h||(h=c("ExecutionEnvironment"))).canUseDOM;b=a;g["default"]=b}),98);
__d("useCometTrackingCodeForMutationProperties",["CometTrackingCodeContext","getReferrerURI","react","useMigrateURLParamsToRouteParams"],(function(a,b,c,d,e,f,g){"use strict";var h;b=h||d("react");var i=b.useContext,j=b.useMemo;function a(){var a=c("useMigrateURLParamsToRouteParams")(),b=c("getReferrerURI")(),d=b?b.getPath():void 0,e=i(c("CometTrackingCodeContext")),f=a.notif_id,g=a.notif_t;return j(function(){var a=null;f!=null&&(a=JSON.stringify({alert_id:f,notif_source:"notif_tab",notif_type:g}));a=a!=null?[a].concat(e.encrypted_tracking):e.encrypted_tracking;return{feedback_referrer:d,is_tracking_encrypted:!0,tracking:a}},[d,f,g,e])}g["default"]=a}),98);
__d("useCometUFICodedErrorDialog",["CometPlaceholder.react","JSResourceForInteraction","SilenceableErrorMessageUtils","lazyLoadComponent","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||(h=d("react"));b=h;b.useCallback;var j=b.useState,k=b.c,l=c("lazyLoadComponent")(c("JSResourceForInteraction")("CometUFICodedErrorDialog.react").__setRef("useCometUFICodedErrorDialog"));function a(){var a=k(7),b=j(null),e=b[0],f=b[1];a[0]===Symbol["for"]("react.memo_cache_sentinel")?(b=function(a){a.code!=null&&f(a)},a[0]=b):b=a[0];b=b;var g;a[1]===Symbol["for"]("react.memo_cache_sentinel")?(g=function(){return f(null)},a[1]=g):g=a[1];g=g;if(e==null){var h;a[2]===Symbol["for"]("react.memo_cache_sentinel")?(h={errorDialog:null,setError:b},a[2]=h):h=a[2];return h}if(a[3]!==e){h=d("SilenceableErrorMessageUtils").getMetadataFromError(e);h=d("SilenceableErrorMessageUtils").shouldHideErrorMessage(h)?null:i.jsx(c("CometPlaceholder.react"),{fallback:i.jsx(i.Fragment,{}),children:i.jsx(l,{error:e,onClose:g})});a[3]=e;a[4]=h}else h=a[4];a[5]!==h?(g={errorDialog:h,setError:b},a[5]=h,a[6]=g):g=a[6];return g}g["default"]=a}),98);
__d("useCometUFIReactionUtils",["DynamicUFIReactionTypes","FeedbackReactionType","getJSEnumSafe","unrecoverableViolation"],(function(a,b,c,d,e,f,g){"use strict";function a(){var a={},b=function(b){if(b!=null&&c("DynamicUFIReactionTypes").reactions[b])return babelHelpers["extends"]({accessibility_name:c("DynamicUFIReactionTypes").reactions[b].display_name},c("DynamicUFIReactionTypes").reactions[b]);b=b==null?null:a[b];if(b!=null){var d=b.accessibility_name,e=b.color,f=b.is_deprecated,g=b.localized_name;b=b.reaction_type;if(e==null||f==null||b==null||g==null||d==null)throw c("unrecoverableViolation")("some of reaction info data is null.","ufi2");return{accessibility_name:d,color:"#"+e.slice(2),display_name:g,is_deprecated:f,is_visible:!0,name:b.toString().toLowerCase(),type:(d=c("getJSEnumSafe")(c("FeedbackReactionType"),b))!=null?d:0}}return null};return[b]}g["default"]=a}),98);
__d("useRadicalUFIClickInteractionLogging",["CometFeedUnitQueryVariablesContext","cr:6699","react"],(function(a,b,c,d,e,f,g){"use strict";var h;e=h||d("react");var i=e.useCallback,j=e.useContext;function a(a,d){var e=d.clickInteractionSource,f=d.feedLocation,g=(d=j(c("CometFeedUnitQueryVariablesContext")))==null?void 0:d.feedLocation;return i(function(c){b("cr:6699")==null?void 0:b("cr:6699").log(function(){var a;return{click_interaction_source:e,event:"click_interaction",fb_feed_location_name:(a=f)!=null?a:g}}),a&&a(c)},[e,f,g,a])}g["default"]=a}),98);
__d("useShareLogger",["CometSharingSessionIDUtil","CometTrackingCodeContext","getVideoShareDownstreamSignalTracking","react","requireDeferred","useMinifiedProductAttribution"],(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.useMemo,l=c("requireDeferred")("FbSharingEventFalcoEvent").__setRef("useShareLogger");function a(){var a=c("useMinifiedProductAttribution")(),b=j(c("CometTrackingCodeContext")),e=k(function(){var a;return(a=d("getVideoShareDownstreamSignalTracking").getVideoShareDownstreamSignalTracking())!=null?a:{}},[]),f=i(function(d){var f=babelHelpers["extends"]({},d);c("CometSharingSessionIDUtil").genNext();l.onReady(function(d){return d.log(function(){var d;return babelHelpers["extends"]({event_type:"tap",feed_tracking:f.feed_tracking!=null?f.feed_tracking:b.encrypted_tracking,navigation_chain:a||"",shareable_entity_audience:"unknown",sharing_component_name:(d=f.sharing_component_name)!=null?d:"ufi_share_button",sharing_session_id:c("CometSharingSessionIDUtil").getSharingSessionID()},f,e)})})},[a,b.encrypted_tracking,e]),g=i(function(d){var f=babelHelpers["extends"]({},d);c("CometSharingSessionIDUtil").genNext();l.onReady(function(d){return d.log(function(){return babelHelpers["extends"]({entry_point:"stories",event_type:"tap",feed_tracking:f.feed_tracking!=null?f.feed_tracking:b.encrypted_tracking,navigation_chain:a||"",shareable_entity_audience:"private",sharing_session_id:c("CometSharingSessionIDUtil").getSharingSessionID()},f,e)})})},[a,b.encrypted_tracking,e]),h=i(function(d){var f=d.is_anything_shared_in_current_session;f=f===void 0?!0:f;var g=babelHelpers.objectWithoutPropertiesLoose(d,["is_anything_shared_in_current_session"]);g.sharing_component_name==="ufi_send_in_messenger_button"&&c("CometSharingSessionIDUtil").genNext();g.sharing_component_name==="send_in_messenger_button"&&c("CometSharingSessionIDUtil").setIsAnythingSharedInCurrentSession(f);l.onReady(function(d){return d.log(function(){return babelHelpers["extends"]({event_type:"tap",feed_tracking:g.feed_tracking!=null?g.feed_tracking:b.encrypted_tracking,navigation_chain:a||"",shareable_entity_audience:"private",sharing_session_id:c("CometSharingSessionIDUtil").getSharingSessionID()},g,e)})})},[a,b.encrypted_tracking,e]);return{onOpenBCFButtonClicked:h,onOpenSharesheetButtonClicked:f,onSharingCopyLinkClicked:g}}g["default"]=a}),98);
__d("useStatesInMap",["react"],(function(a,b,c,d,e,f,g){"use strict";var h;b=h||d("react");var i=b.useEffect,j=b.useRef,k=b.useState;function a(a,b){var c=j(a),d=j({}),e=k(b),f=e[0],g=e[1];i(function(){if(c.current!==a){var e;c.current=a;g((e=d.current[a])!=null?e:b)}},[d,g,c,a,b]);i(function(){d.current[a]=f},[f,a]);return[f,g]}g["default"]=a}),98);
__d("useTrackingCodeFnForComet",["react","useCometTrackingCodeForMutationProperties"],(function(a,b,c,d,e,f,g){"use strict";var h,i=(h||d("react")).useCallback;function a(){var a=c("useCometTrackingCodeForMutationProperties")();return i(function(){return a},[a])}g["default"]=a}),98);
__d("useTriggeredStoryCTAHandler",["CometFeedStoryCallToActionTriggerContext","react"],(function(a,b,c,d,e,f,g){"use strict";var h;b=h||d("react");var i=b.useCallback,j=b.useContext;function a(){var a=j(c("CometFeedStoryCallToActionTriggerContext")),b=i(function(b){var c=Object.prototype.hasOwnProperty.call(a.triggeredBumperRegistry,b);c&&a.setTriggeredEvent(b)},[a]);return[b]}g["default"]=a}),98);/*FB_PKG_DELIM*/
__d("BaseCalloutImpl.react",["BaseContextualLayer.react","BaseContextualLayerAnchorRootContext","LayoutAnimationBoundaryContext","react","useCometDisplayTimingTrackerForInteraction"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||(h=d("react")),j=h.useEffect;function a(a){var b=a.anchorRef,d=a.anchorRootRefContext,e=a.animationContext,f=a.children,g=a.contextualLayerProps,h=a.imperativeRef,k=a.scrollableAreaContext;a=c("useCometDisplayTimingTrackerForInteraction")("FDSCalloutManager");j(function(){var a=k.map(function(a){return a.getDOMNode()}).filter(Boolean),b=function(){var a;return(a=h.current)==null?void 0:a.reposition()};if(a.length>0){a.forEach(function(a){return a.addEventListener("scroll",b,{passive:!0})});return function(){a.forEach(function(a){return a.removeEventListener("scroll",b,{passive:!0})})}}},[h,k]);return g==null||b==null?null:i.jsx(c("LayoutAnimationBoundaryContext").Provider,{value:e,children:i.jsx(c("BaseContextualLayerAnchorRootContext").Provider,{value:d,children:g!=null?i.jsx(c("BaseContextualLayer.react"),{align:g.align,contextRef:b,disableAutoAlign:g.disableAutoAlign,disableAutoFlip:g.disableAutoFlip,imperativeRef:h,position:g.position,ref:a,children:f}):null})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
__d("FDSCalloutEdgeArrow.svg.react",["react","stylex"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=i||d("react");function a(a){var b=a.children,d=a.xstyle;a=babelHelpers.objectWithoutPropertiesLoose(a,["children","xstyle"]);return j.jsxs("svg",babelHelpers["extends"]({"aria-hidden":!0,className:(h||(h=c("stylex")))(d),height:"12px",viewBox:"0 0 21 12",width:"21px"},a,{children:[a.title!=null&&j.jsx("title",{children:a.title}),b!=null&&j.jsx("defs",{children:b}),j.jsx("path",{d:"M20.685.12c-2.229.424-4.278 1.914-6.181 3.403L5.4 10.94c-2.026 2.291-5.434.62-5.4-2.648V.12h20.684z"})]}))}a.displayName=a.name+" [from "+f.id+"]";a._isSVG=!0;g["default"]=a}),98);
__d("FDSCalloutEdge.react",["BaseContextualLayerContextSizeContext","BaseContextualLayerLayerAdjustmentContext","BaseContextualLayerOrientationContext","BaseRow.react","BaseView.react","CometHideLayerOnEscape.react","FDSCalloutEdgeArrow.svg.react","FocusRegionStrictMode.react","Locale","focusScopeQueries","react","useOnOutsideClick"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||(h=d("react")),j=h.useContext,k={arrow:{position:"x10l6tqk",$$css:!0},container:{display:"x78zum5",$$css:!0},content:{backgroundColor:"x1h0vfkc",borderTopStartRadius:"x1lq5wgf",borderTopEndRadius:"xgqcy7u",borderBottomEndRadius:"x30kzoy",borderBottomStartRadius:"x9jhf4c",borderTopWidth:"x178xt8z",borderEndWidth:"xm81vs4",borderBottomWidth:"xso031l",borderStartWidth:"xy80clv",boxShadow:"xofhs1l",paddingStart:"x1ye3gou",paddingLeft:null,paddingRight:null,paddingEnd:"xn6708d",paddingTop:"xyamay9",paddingBottom:"x1l90r2v",$$css:!0}},l={accent:{backgroundColor:"xdk9wry",$$css:!0},"default":{backgroundColor:"x9bbmet",$$css:!0}},m={end:{borderBottomEndRadius:"x5pf9jr",marginBottom:"xieb3on",$$css:!0},middle:{marginBottom:"x12nagc",$$css:!0},start:{borderBottomStartRadius:"xo71vjh",marginBottom:"xieb3on",$$css:!0}},n={end:{borderTopEndRadius:"x13lgxp2",marginTop:"x1sy10c2",$$css:!0},middle:{marginTop:"x1gslohp",$$css:!0},start:{borderTopStartRadius:"x168nmei",marginTop:"x1sy10c2",$$css:!0}},o={end:{bottom:"x7ofzsv",end:"xds687c",left:null,right:null,transform:"xpk2tj9",$$css:!0},middle:{bottom:"x7ofzsv",end:"xds687c",left:null,right:null,$$css:!0},start:{bottom:"x7ofzsv",start:"x17qophe",left:null,right:null,$$css:!0}},p={end:{$$css:!0},middle:{$$css:!0},start:{$$css:!0}},q={end:{bottom:"x7ofzsv",end:"xds687c",left:null,right:null,transform:"xpk2tj9",$$css:!0},middle:{bottom:"x7ofzsv",end:"xds687c",left:null,right:null,$$css:!0},start:{bottom:"x7ofzsv",start:"x17qophe",left:null,right:null,$$css:!0}},r={end:{$$css:!0},middle:{$$css:!0},start:{$$css:!0}},s={end:{end:"xds687c",left:null,right:null,top:"x1nl0pjx",transform:"x19jd1h0",$$css:!0},middle:{end:"xds687c",left:null,right:null,top:"x1nl0pjx",transform:"x1oihik5",$$css:!0},start:{start:"x17qophe",left:null,right:null,top:"x1nl0pjx",transform:"x1oihik5",$$css:!0}},t={end:{transform:"x19jd1h0",$$css:!0},middle:{transform:"x1oihik5",$$css:!0},start:{transform:"x1oihik5",$$css:!0}},u={end:{end:"xds687c",left:null,right:null,top:"x1nl0pjx",transform:"x19jd1h0",$$css:!0},middle:{end:"xds687c",left:null,right:null,top:"x1nl0pjx",transform:"x1oihik5",$$css:!0},start:{start:"x17qophe",left:null,right:null,top:"x1nl0pjx",transform:"x1oihik5",$$css:!0}},v={end:{transform:"x19jd1h0",$$css:!0},middle:{transform:"x1oihik5",$$css:!0},start:{transform:"x1oihik5",$$css:!0}};function w(a){if(a==="start")return"end";return a==="end"?"start":a}function a(a){var b,e=a.children,f=a.disableAutoFocus;f=f===void 0?!1:f;var g=a.id,h=a.onClose,o=a.onOutsideClick,p=a.type;p=p===void 0?"default":p;var q=a.xstyle;a=babelHelpers.objectWithoutPropertiesLoose(a,["children","disableAutoFocus","id","onClose","onOutsideClick","type","xstyle"]);var r=j(c("BaseContextualLayerOrientationContext")),s=r.align;r=r.position;s=s==="stretch"?"start":s;r=r==="start"?"above":r==="end"?"below":r;var t=j(c("BaseContextualLayerContextSizeContext"));b=(b=j(c("BaseContextualLayerLayerAdjustmentContext")))!=null?b:0;s=b!==0?w(s):s;t=z(s,(t=t==null?void 0:t.width)!=null?t:0,b);b=c("useOnOutsideClick")(o);return i.jsx(c("BaseView.react"),babelHelpers["extends"]({},a,{id:(o=g)!=null?o:void 0,role:"dialog",style:t,xstyle:k.container,children:i.jsx(d("FocusRegionStrictMode.react").FocusRegion,{autoFocusQuery:f?void 0:d("focusScopeQueries").tabbableScopeQuery,children:i.jsxs(c("CometHideLayerOnEscape.react"),{onHide:h,children:[i.jsx(c("BaseRow.react"),{ref:b,xstyle:[k.content,l[p],r==="above"&&m[s],r==="below"&&n[s],q],children:e}),i.jsx(y,{align:s,position:r,type:p})]})})}))}a.displayName=a.name+" [from "+f.id+"]";var x=c("Locale").isRTL();function y(a){var b=a.align,d=a.position;a=a.type;return i.jsx(c("FDSCalloutEdgeArrow.svg.react"),{fill:a==="default"?"var(--popover-background)":"var(--callout-background-color-accent, var(--accent))",xstyle:[k.arrow,d==="above"&&a==="default"&&(x?p[b]:o[b]),d==="above"&&a==="accent"&&(x?r[b]:q[b]),d==="below"&&a==="default"&&(x?t[b]:s[b]),d==="below"&&a==="accent"&&(x?v[b]:u[b])]})}y.displayName=y.name+" [from "+f.id+"]";function z(a,b,c){c=c===0?b/2:0;if(c===0)return void 0;if(a==="start")return{transform:"translateX("+(x?-1*c:c)+"px)"};return a==="end"?{transform:"translateX("+(x?c:-1*c)+"px)"}:void 0}g["default"]=a}),98);
__d("FDSCalloutInsetArrow.svg.react",["react","stylex"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=i||d("react");function a(a){var b=a.children,d=a.xstyle;a=babelHelpers.objectWithoutPropertiesLoose(a,["children","xstyle"]);return j.jsxs("svg",babelHelpers["extends"]({"aria-hidden":!0,className:(h||(h=c("stylex")))(d),height:"12px",viewBox:"0 0 21 12",width:"21px"},a,{children:[a.title!=null&&j.jsx("title",{children:a.title}),b!=null&&j.jsx("defs",{children:b}),j.jsx("path",{d:"M20.685.12c-2.229.424-4.278 1.914-6.181 3.403L5.4 10.94c-2.026 2.291-5.434.62-5.4-2.648V.12h20.684z"})]}))}a.displayName=a.name+" [from "+f.id+"]";a._isSVG=!0;g["default"]=a}),98);
__d("FDSCalloutInset.react",["BaseContextualLayerContextSizeContext","BaseContextualLayerLayerAdjustmentContext","BaseContextualLayerOrientationContext","BaseRow.react","BaseView.react","CometHideLayerOnEscape.react","FDSCalloutInsetArrow.svg.react","FocusRegionStrictMode.react","Locale","focusScopeQueries","react","useOnOutsideClick"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||(h=d("react")),j=h.useContext,k={arrow:{position:"x10l6tqk",$$css:!0},container:{display:"x78zum5",$$css:!0},content:{backgroundColor:"x1h0vfkc",borderTopStartRadius:"x1lq5wgf",borderTopEndRadius:"xgqcy7u",borderBottomEndRadius:"x30kzoy",borderBottomStartRadius:"x9jhf4c",borderTopWidth:"x178xt8z",borderEndWidth:"xm81vs4",borderBottomWidth:"xso031l",borderStartWidth:"xy80clv",boxShadow:"xofhs1l",paddingStart:"x1ye3gou",paddingLeft:null,paddingRight:null,paddingEnd:"xn6708d",paddingTop:"xyamay9",paddingBottom:"x1l90r2v",$$css:!0}},l={accent:{backgroundColor:"xdk9wry",$$css:!0},"default":{backgroundColor:"x9bbmet",$$css:!0}},m={above:{marginBottom:"x1yztbdb",$$css:!0},below:{marginTop:"xw7yly9",$$css:!0},end:{marginStart:"x1d52u69",marginLeft:null,marginRight:null,$$css:!0}},n={above:{bottom:"x1wa3icf",$$css:!0},below:{top:"x1jzctok",transform:"x1oihik5",$$css:!0},end:{$$css:!0}},o={above:{bottom:"x1wa3icf",$$css:!0},below:{top:"x1jzctok",transform:"x1oihik5",$$css:!0},end:{$$css:!0}};function a(a){var b,e=a.children,f=a.disableAutoFocus;f=f===void 0?!1:f;var g=a.id,h=a.onClose,n=a.onOutsideClick,o=a.type;o=o===void 0?"default":o;var q=a.xstyle;a=babelHelpers.objectWithoutPropertiesLoose(a,["children","disableAutoFocus","id","onClose","onOutsideClick","type","xstyle"]);var s=j(c("BaseContextualLayerOrientationContext")),t=s.align;s=s.position;t=t==="stretch"?"start":t;s=s==="start"?"above":s==="end"?"below":s;var u=j(c("BaseContextualLayerContextSizeContext"));b=(b=j(c("BaseContextualLayerLayerAdjustmentContext")))!=null?b:0;u=r(t,s,(t=u==null?void 0:u.width)!=null?t:0,b);t=u[0];b=u[1];u=c("useOnOutsideClick")(n);return i.jsx(c("BaseView.react"),babelHelpers["extends"]({},a,{id:(n=g)!=null?n:void 0,role:"dialog",style:t,xstyle:k.container,children:i.jsx(d("FocusRegionStrictMode.react").FocusRegion,{autoFocusQuery:f?void 0:d("focusScopeQueries").tabbableScopeQuery,children:i.jsxs(c("CometHideLayerOnEscape.react"),{onHide:h,children:[i.jsx(c("BaseRow.react"),{ref:u,xstyle:[k.content,l[o],m[s],q],children:e}),i.jsx(p,{arrowStyles:b,position:s,type:o})]})})}))}a.displayName=a.name+" [from "+f.id+"]";function p(a){var b=a.arrowStyles,d=a.position;a=a.type;return i.jsx(c("FDSCalloutInsetArrow.svg.react"),{fill:a==="default"?"var(--popover-background)":"var(--callout-background-color-accent, var(--accent))",style:b,xstyle:[k.arrow,n[d],a==="accent"&&o[d]]})}p.displayName=p.name+" [from "+f.id+"]";var q=c("Locale").isRTL();function r(a,b,c,d){var e=Math.max(c/2-8,16)+Math.abs(d),f=c/2-8<16;c=24-c/2;if(b==="above")if(a==="start"){var g;b=q?"right":"left";return[f?{transform:"translateX("+(q?c:-c)+"px)"}:void 0,(g={},g[b]="min(calc(100% - 32px), "+e+"px)",g)]}else if(a==="end"){b=q?"left":"right";return[f?{transform:"translateX("+(q?-c:c)+"px)"}:void 0,(g={},g[b]="min(calc(100% - 32px), "+e+"px)",g)]}else{var h;b=q?"left":"right";g=(q?-d:d)-8;return[void 0,(h={},h[b]="calc(50% + "+g+"px)",h)]}else if(a==="start"){b=q?"right":"left";return[f?{transform:"translateX("+(q?c:-c)+"px)"}:void 0,(g={},g[b]="min(calc(100% - 32px), "+e+"px)",g)]}else if(a==="end"){h=q?"left":"right";return[f?{transform:"translateX("+(q?-c:c)+"px)"}:void 0,(b={},b[h]="min(calc(100% - 32px), "+e+"px)",b)]}else{g=q?"left":"right";a=(q?-d:d)-8;return[void 0,(f={},f[g]="calc(50% + "+a+"px)",f)]}}g["default"]=a}),98);
__d("FDSCallout.react",["fbt","ix","BaseContextualLayerOrientationContext","BaseRow.react","BaseRowItem.react","BaseView.react","CometColumn.react","CometColumnItem.react","CometErrorBoundary.react","CometHideLayerOnEscape.react","FDSCalloutEdge.react","FDSCalloutInset.react","FDSIcon.react","FDSTextPairing.react","FocusRegionStrictMode.react","fbicon","focusScopeQueries","react","unrecoverableViolation","useOnOutsideClick","useVisibilityObserver"],(function(a,b,c,d,e,f,g,h,i){"use strict";var j,k=j||(j=d("react"));b=j;var l=b.useContext,m=b.useMemo,n={container:{display:"x78zum5",$$css:!0},content:{backgroundColor:"x1h0vfkc",borderTopStartRadius:"x1lq5wgf",borderTopEndRadius:"xgqcy7u",borderBottomEndRadius:"x30kzoy",borderBottomStartRadius:"x9jhf4c",borderTopWidth:"x178xt8z",borderEndWidth:"xm81vs4",borderBottomWidth:"xso031l",borderStartWidth:"xy80clv",boxShadow:"xofhs1l",paddingStart:"x1ye3gou",paddingLeft:null,paddingRight:null,paddingEnd:"xn6708d",paddingTop:"xyamay9",paddingBottom:"x1l90r2v",$$css:!0},crossoutButton:{marginEnd:"xcud41i",marginLeft:null,marginRight:null,marginTop:"x9otpla",$$css:!0},item:{paddingStart:"x16hj40l",paddingLeft:null,paddingRight:null,paddingEnd:"xsyo7zv",paddingTop:"x1yrsyyn",paddingBottom:"x10b6aqq",$$css:!0}},o={accent:{backgroundColor:"xdk9wry",$$css:!0},"default":{backgroundColor:"x9bbmet",$$css:!0}},p={above:{marginBottom:"x12nagc",$$css:!0},below:{marginTop:"x1gslohp",$$css:!0},end:{marginStart:"xsgj6o6",marginLeft:null,marginRight:null,$$css:!0},start:{$$css:!0}};function a(a){var b=a.arrowStyle;b=b===void 0?"none":b;var e=a.calloutID,f=a.content,g=a.contentID,j=a.disableAutoFocus;j=j===void 0?!1:j;var q=a.onClose,r=a.onHide,s=a.onOutsideClick,t=a.onShow,u=a.titleID,v=a.type;v=v===void 0?"default":v;var w=a.xstyle,x=a.addOn,y=a["aria-label"],z=a.hasCloseButton;z=z===void 0?!0:z;var A=a.title;a=l(c("BaseContextualLayerOrientationContext"));a=a.position;var B=c("useOnOutsideClick")(s);r=c("useVisibilityObserver")({onHidden:r,onVisible:t});t=v==="default"?"primary":"white";if(a==="end"&&(b==="inset"||b==="edge"))throw c("unrecoverableViolation")('"end" position with arrow is not supported yet',"comet_ui");var C=m(function(){return A!=null?{"aria-describedby":g,"aria-labelledby":u}:{"aria-describedby":g,"aria-label":y}},[y,g,A,u]);r=k.jsxs(c("CometColumn.react"),{children:[k.jsx(c("CometColumnItem.react"),{children:k.jsxs(c("BaseRow.react"),{children:[k.jsx(c("BaseRowItem.react"),{expanding:!0,ref:r,verticalAlign:"center",xstyle:n.item,children:k.jsx(c("FDSTextPairing.react"),{body:f,bodyColor:t,bodyId:g,headline:A,headlineColor:t,headlineId:u,isSemanticHeading:!0,level:3})}),z&&k.jsx(c("BaseRowItem.react"),{xstyle:[n.crossoutButton,n.item],children:k.jsx(c("FDSIcon.react"),{"aria-label":h._("__JHASH__cCrSTii9yXy__JHASH__"),color:v==="default"?"secondary":"white",focusable:!0,icon:d("fbicon")._(i("478232"),16),onPress:q,size:16})})]})}),x!=null&&k.jsx(c("CometColumnItem.react"),{paddingTop:12,children:k.jsx(c("BaseRow.react"),{children:k.jsx(c("BaseRowItem.react"),{expanding:!0,verticalAlign:"center",xstyle:n.item,children:x})})})]});if(b==="inset")return k.jsx(c("FDSCalloutInset.react"),babelHelpers["extends"]({},C,{disableAutoFocus:j,id:e,onClose:q,onOutsideClick:s,type:v,xstyle:w,children:r}));return b==="edge"?k.jsx(c("FDSCalloutEdge.react"),babelHelpers["extends"]({},C,{disableAutoFocus:j,id:e,onClose:q,onOutsideClick:s,type:v,xstyle:w,children:r})):k.jsx(c("CometErrorBoundary.react"),{fallback:function(){return k.jsx("div",{})},children:k.jsx(c("BaseView.react"),babelHelpers["extends"]({},C,{id:(f=e)!=null?f:void 0,role:"dialog",xstyle:n.container,children:k.jsx(d("FocusRegionStrictMode.react").FocusRegion,{autoFocusQuery:j?void 0:d("focusScopeQueries").tabbableScopeQuery,children:k.jsx(c("CometHideLayerOnEscape.react"),{onHide:q,children:k.jsx(c("BaseRow.react"),{ref:B,xstyle:[n.content,o[v],b==="none"&&p[a],w],children:r})})})}))})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),226);
__d("FDSCalloutImpl.react",["BaseCalloutImpl.react","FDSCallout.react","FDSCalloutContext","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||(h=d("react")),j=h.useContext;function a(a){var b=a.calloutID,d=a.calloutProps,e=a.contentID,f=a.titleID,g=j(c("FDSCalloutContext"));if(g==null||d==null)return null;var h=d.disableOutsideClick,k=d.onClose;d=babelHelpers.objectWithoutPropertiesLoose(d,["disableOutsideClick","onClose"]);return i.jsx(c("BaseCalloutImpl.react"),babelHelpers["extends"]({},a,{children:i.jsx(c("FDSCallout.react"),babelHelpers["extends"]({},d,{calloutID:b,contentID:e,onClose:function(){g.removeCallout(b),k==null?void 0:k()},onOutsideClick:function(){h!==!0&&(g.removeCallout(b),k==null?void 0:k())},titleID:f}))}))}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
__d("GlobalVideoPortsManager",["addToMap","emptyFunction","gkx","removeFromMap"],(function(a,b,c,d,e,f,g){"use strict";function h(a,b){var d=a.get(b);d!=null&&(d.portablePlaceContainer=null);return c("removeFromMap")(a,b)}a=c("emptyFunction");function i(a){return a.unlinkedAtTimestampMs!==null}var j=1e4;b=function(){function a(a){var b=this;this.$1=function(c){var d=function(a){return c(b.$2(a))};a(d)}}var b=a.prototype;b.addOrUpdatePlace=function(a){var b=this,d=a.coreVideoPlayerMetaData,e=a.fullscreenController,f=a.implementations,g=a.injectCoreVideoStatesRef,j=a.isFullscreen,k=a.portablePlaceContainer,l=a.portablePlaceID,m=a.portablePlaceMetaData,n=a.portableVideoID,o=a.renderComponents,p=a.renderPlaceholder,q=a.trackingDataEncrypted,r=a.trackingNodes,s=a.viewportMarginsForViewability;this.$1(function(a){var t,u=b.getPortableVideoState(a,n),v=(t=a.places.get(l))!=null?t:null;t=v!=null&&!i(v)?v.sequenceNumber:a.placesSequenceNumberNext;var w=t===a.placesSequenceNumberNext?a.placesSequenceNumberNext+1:a.placesSequenceNumberNext,x=m||{},y=a.places;if(n!=null){var z=b.getPlacesBorrowingThisVideo(y,n);z.forEach(function(a){i(a)&&a.portablePlaceID!==(v==null?void 0:v.portablePlaceID)&&(y=h(y,a.portablePlaceID))})}y=c("addToMap")(y,l,babelHelpers["extends"]({},v,{coreVideoPlayerMetaData:d,currentVideoID:n,fullscreenController:e,implementations:f,injectCoreVideoStatesRef:g,isFullscreen:j,portablePlaceContainer:k,portablePlaceID:l,portablePlaceMetaData:x,renderComponents:o,renderPlaceholder:(z=p)!=null?z:null,sequenceNumber:t,trackingDataEncrypted:q,trackingNodes:r,unlinkedAtTimestampMs:null,viewportMarginsForViewability:s}));x=v!==null&&n===null?v.currentVideoID:null;z=a.videos;if(x!==null){t=b.getPlacesBorrowingThisVideo(y,x);t=0===t.length;t&&(z=c("removeFromMap")(a.videos,x))}if(n!==null){t=b.updatePreviousPlaceMetaDataInfoForVideo({existingVideoState:u,places:a.places,setPreferredPlaceForVideo:!1,updatedPlaces:y,videoID:n});x=t.nextPreviousPlaceMetaData;z=c("addToMap")(z,n,u?babelHelpers["extends"]({},u,{portableVideoID:n,previousPlaceMetaData:x}):{portableVideoID:n,preferredPlaceID:null,previousPlaceMetaData:x})}return y===a.places&&w===a.placesSequenceNumberNext&&z===a.videos?a:babelHelpers["extends"]({},a,{places:y,placesSequenceNumberNext:w,videos:z})})};b.removePlace=function(a){var b=this,d=a.portablePlaceID,e=Date.now();this.$1(function(a){var f;f=(f=a.places.get(d))!=null?f:null;var g=f!==null?f.currentVideoID:null;if(f===null)return a;var i=a.places,j=g!==null?b.skipUnlinkedPlaces(b.getPlacesBorrowingThisVideo(i,g)).filter(function(a){return a.portablePlaceID!==d}):[];g!==null&&j.length===0?i=c("addToMap")(i,d,babelHelpers["extends"]({},f,{unlinkedAtTimestampMs:e})):i=h(i,d);j=a.videos;if(g!==null){f=b.getPlacesBorrowingThisVideo(i,g);f=0===f.length;if(f)j=c("removeFromMap")(j,g);else{f=b.getPortableVideoState(a,g);var k=b.updatePreviousPlaceMetaDataInfoForVideo({existingVideoState:f,places:a.places,setPreferredPlaceForVideo:!1,updatedPlaces:i,videoID:g}),l=k.nextPreviousPlaceMetaData;k=k.shouldUpdatePreviousPlaceMetaDataForVideo;f!=null&&k&&(j=c("addToMap")(j,g,babelHelpers["extends"]({},f,{portableVideoID:g,previousPlaceMetaData:l})))}}return i===a.places&&j===a.videos?a:babelHelpers["extends"]({},a,{places:i,videos:j})})};b.setPreferredPlaceForVideo=function(a){var b=this,d=a.portablePlaceID,e=a.portableVideoID;this.$1(function(a){var f=b.getPortableVideoState(a,e),g=d!=null?a.places.get(d):null,h=b.updatePreviousPlaceMetaDataInfoForVideo({existingPlaceStateForSetPreferredPlaceForVideo:g,existingVideoState:f,places:a.places,preferredPlaceID:d,setPreferredPlaceForVideo:!0,updatedPlaces:a.places,videoID:e});h=h.nextPreviousPlaceMetaData;f=f!=null?c("addToMap")(a.videos,e,babelHelpers["extends"]({},f,{preferredPlaceID:g!=null&&d!=null?d:null,previousPlaceMetaData:h})):a.videos;return f===a.videos?a:babelHelpers["extends"]({},a,{videos:f})})};b.getPlacesBorrowingThisVideo=function(a,b){var c=[];a.forEach(function(a){a.currentVideoID===b&&c.push(a)});return c};b.skipUnlinkedPlaces=function(a){return a.filter(function(a){return!i(a)})};b.selectCurrentPlaceFromThesePlaces=function(a,b){var c;a=a.slice().sort(function(a,b){return a.sequenceNumber-b.sequenceNumber});c=(c=a.find(function(a){return a.portablePlaceID===b}))!=null?c:null;a=a.length>0?a[a.length-1]:null;return(c=(c=c)!=null?c:a)!=null?c:null};b.getCurrentPlaceStateForVideo=function(a,b){var c=this.getPortableVideoState(a,b);if(c!=null&&b!=null){a=this.selectCurrentPlaceFromThesePlaces(this.skipUnlinkedPlaces(this.getPlacesBorrowingThisVideo(a.places,b)),c.preferredPlaceID);return(b=a)!=null?b:null}else return null};b.getPortableVideoState=function(a,b){if(b!=null){a=a.videos.get(b);return(b=a)!=null?b:null}return null};b.updatePreviousPlaceMetaDataInfoForVideo=function(a){var b=this,c=a.existingPlaceStateForSetPreferredPlaceForVideo,d=a.existingVideoState,e=a.places,f=a.preferredPlaceID,g=a.setPreferredPlaceForVideo,h=a.updatedPlaces,i=a.videoID;a=function(a,c){return b.selectCurrentPlaceFromThesePlaces(b.skipUnlinkedPlaces(b.getPlacesBorrowingThisVideo(a,i)),(a=c)!=null?a:null)};var j=a(e,d==null?void 0:d.preferredPlaceID);g?g=c!=null?a(e,f):null:g=a(h,d==null?void 0:d.preferredPlaceID);e=j!=null&&(j==null?void 0:j.portablePlaceID)!==((c=g)==null?void 0:c.portablePlaceID);return{nextPreviousPlaceMetaData:e&&j!=null?j.portablePlaceMetaData:(f=d==null?void 0:d.previousPlaceMetaData)!=null?f:null,shouldUpdatePreviousPlaceMetaDataForVideo:e}};b.collectGarbage=function(){this.$1(function(a){return a})};b.$2=function(a){var b=Date.now(),d=new Set(),e=a.places;a.places.forEach(function(a){a.unlinkedAtTimestampMs!==null&&b-a.unlinkedAtTimestampMs>=j?e=h(e,a.portablePlaceID):a.currentVideoID!==null&&d.add(a.currentVideoID)});var f=a.videos;a.videos.forEach(function(a){d.has(a.portableVideoID)||(f=c("removeFromMap")(f,a.portableVideoID))});return e===a.places&&f===a.videos?a:babelHelpers["extends"]({},a,{places:e,videos:f})};return a}();g.isUnlinkedGlobalVideoPortsPlace=i;g.UNLINKED_PLACE_TIMEOUT_MS=j;g.GlobalVideoPortsManager=b}),98);
__d("GlobalVideoPortsPortalerErrorBoundary.react",["react"],(function(a,b,c,d,e,f,g){"use strict";var h;a=h||d("react");b=function(a){babelHelpers.inheritsLoose(b,a);function b(){var b,c;for(var d=arguments.length,e=new Array(d),f=0;f<d;f++)e[f]=arguments[f];return(b=c=a.call.apply(a,[this].concat(e))||this,c.state={errorRaw:null},c.suppressReactDefaultErrorLoggingIUnderstandThisWillMakeBugsHarderToFindAndFix=!0,b)||babelHelpers.assertThisInitialized(c)}b.getDerivedStateFromError=function(a){return{errorRaw:a}};var c=b.prototype;c.componentDidCatch=function(a,b){b=this.props.onError;b!=null&&b(a)};c.render=function(){var a=this.props,b=a.children;a=a.fallback;var c=this.state.errorRaw;return c!=null?typeof a==="function"?a(b):a:b};return b}(a.PureComponent);g["default"]=b}),98);
__d("GlobalVideoPortsPortaler.react",["CoreVideoPlayerFitParentContainer.react","GlobalVideoPortsPortalerErrorBoundary.react","GlobalVideoPortsRenderers.react","ReactDOM","equalsSet","react","useUnsafeRef_DEPRECATED"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=i||(i=d("react"));b=i;var k=b.useEffect,l=b.useRef,m=b.useState,n=b.c;function o(a,b,d,e,f){var g=n(6),h=l(null),i;g[0]!==a||g[1]!==b.current||g[2]!==d.current||g[3]!==e||g[4]!==f?(i=function(){var g,i=h.current;g=new Set((g=a.map(function(a){return a.portablePlaceID}))!=null?g:[]);if(i==null||!c("equalsSet")(i,g)){h.current=g;i=b.current;g=d.current;i!=null&&e(i);g!=null&&f(g)}},g[0]=a,g[1]=b.current,g[2]=d.current,g[3]=e,g[4]=f,g[5]=i):i=g[5];k(i)}function a(a){var b=a.globalVideoPortsManager,e=a.globalVideoPortsState,f=a.thisVideoID;a=m(function(){return d("CoreVideoPlayerFitParentContainer.react").createFitParentContainerDiv({debugRole:null})});var g=a[0],i=l(null),k=(h||(h=c("useUnsafeRef_DEPRECATED")))(null),n=(a=e.videos.get(f))!=null?a:null,p=b.getPlacesBorrowingThisVideo(e.places,f);a=p.length<=0;e=a?null:b.selectCurrentPlaceFromThesePlaces(p,n?n.preferredPlaceID:null);var q=a?null:b.selectCurrentPlaceFromThesePlaces(b.skipUnlinkedPlaces(p),n?n.preferredPlaceID:null);b=function(a){k.current=a,p.forEach(function(b){b=b.injectCoreVideoStatesRef.current;b&&b(i.current,a)})};var r=function(){return null},s=function(a){i.current=a,p.forEach(function(a){a=a.injectCoreVideoStatesRef.current;a&&a(i.current,k.current)})};o(p,k,i,b,s);return a?null:j.jsxs(j.Fragment,{children:[d("ReactDOM").createPortal(e?j.jsx(c("GlobalVideoPortsPortalerErrorBoundary.react"),{description:"GlobalVideoPortsPortaler",fallback:r,onError:s,children:j.jsx(d("GlobalVideoPortsRenderers.react").GlobalVideoPortsPlayerRenderer,{coreVideoPlayerMetaData:e.coreVideoPlayerMetaData,currentPlaceID:e.portablePlaceID,currentVideoID:f,fullscreenController:e.fullscreenController,implementations:e.implementations,isFullscreen:e.isFullscreen,onCoreVideoStatesChanged:b,previousPlaceMetaData:(a=n==null?void 0:n.previousPlaceMetaData)!=null?a:null,trackingDataEncrypted:e.trackingDataEncrypted,trackingNodes:e.trackingNodes,viewportMarginsForViewability:e.viewportMarginsForViewability})}):null,g),p.map(function(a){var b;return d("ReactDOM").createPortal(a.portablePlaceID===(q==null?void 0:q.portablePlaceID)?j.jsx(d("CoreVideoPlayerFitParentContainer.react").CoreVideoPlayerFitParentDOMContainer,{debugRole:null,domElement:g}):j.jsx(d("GlobalVideoPortsRenderers.react").GlobalVideoPortsPlaceholderRenderer,{currentPlaceID:(b=q==null?void 0:q.portablePlaceID)!=null?b:null,currentVideoID:f,previousPlaceMetaData:(b=n==null?void 0:n.previousPlaceMetaData)!=null?b:null,renderPlaceholder:a.renderPlaceholder,thisPlaceID:a.portablePlaceID,videoPixelsAspectRatio:(b=a.coreVideoPlayerMetaData.videoPixelsAspectRatio)!=null?b:null}),a.portablePlaceContainer)})]})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
__d("GlobalVideoPortsImpl.react",["CometErrorBoundary.react","GlobalVideoPortsContexts","GlobalVideoPortsManager","GlobalVideoPortsPortaler.react","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||(h=d("react"));b=h;var j=b.useEffect,k=b.c;function a(a){var b=k(3),e=a.setGlobalVideoPortsManager,f;b[0]!==e?(a=function(){var a=function(a){return new(d("GlobalVideoPortsManager").GlobalVideoPortsManager)(a)};e(a)},f=[e],b[0]=e,b[1]=a,b[2]=f):(a=b[1],f=b[2]);j(a,f);var g=[],h=d("GlobalVideoPortsContexts").useGlobalVideoPortsManager(),l=d("GlobalVideoPortsContexts").useGlobalVideoPortsState();h&&l&&l.videos.forEach(function(a,b){g.push(i.jsx(c("CometErrorBoundary.react"),{children:i.jsx(c("GlobalVideoPortsPortaler.react"),{globalVideoPortsManager:h,globalVideoPortsState:l,thisVideoID:b})},b))});return i.jsx(i.Fragment,{children:g})}g["default"]=a}),98);/*FB_PKG_DELIM*/
__d("FBReelsActionsContext",["react"],(function(a,b,c,d,e,f,g){"use strict";var h;a=h||d("react");b={hasNext:!0,index:0,isVerticalSwipe:!1,performNavigation:function(a,b){}};c=a.createContext(b);g["default"]=c}),98);
__d("FBReelsAnimatedMusicIcon.react",["react","stylex"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=(i||(i=d("react"))).c,k=i;b=10;b*.4;b*.8;var l={animationPaused:{animationPlayState:"xorstpt",$$css:!0},soundBar:{animationDuration:"x1sbju2s",animationIterationCount:"xa4qsjk",animationPlayState:"xoj058f",backgroundColor:"x14hiurz",borderTopStartRadius:"xdxvlk3",borderTopEndRadius:"x1fglp",borderBottomEndRadius:"x1rp6h8o",borderBottomStartRadius:"xg6i1s1",width:"xfo62xy",$$css:!0},soundBar100:{animationName:"xc7nbpv",marginStart:"x12mruv9",marginEnd:"xfs2ol5",$$css:!0},soundBar60:{animationName:"x194al5s",$$css:!0}};function a(a){var b=j(17);a=a.isPaused;a=a===void 0?!1:a;var d;b[0]===Symbol["for"]("react.memo_cache_sentinel")?(d="x6s0dn4 x78zum5 x170jfvy xl56j7k x1fsd2vl",b[0]=d):d=b[0];var e=a&&l.animationPaused,f;b[1]!==e?(f=(h||(h=c("stylex")))(l.soundBar,l.soundBar60,e),b[1]=e,b[2]=f):f=b[2];b[3]!==f?(e=k.jsx("div",{className:f}),b[3]=f,b[4]=e):e=b[4];f=a&&l.animationPaused;var g;b[5]!==f?(g=(h||(h=c("stylex")))(l.soundBar,l.soundBar100,f),b[5]=f,b[6]=g):g=b[6];b[7]!==g?(f=k.jsx("div",{className:g}),b[7]=g,b[8]=f):f=b[8];g=a&&l.animationPaused;b[9]!==g?(a=(h||(h=c("stylex")))(l.soundBar,l.soundBar60,g),b[9]=g,b[10]=a):a=b[10];b[11]!==a?(g=k.jsx("div",{className:a}),b[11]=a,b[12]=g):g=b[12];b[13]!==e||b[14]!==f||b[15]!==g?(a=k.jsxs("div",{className:d,children:[e,f,g]}),b[13]=e,b[14]=f,b[15]=g,b[16]=a):a=b[16];return a}g["default"]=a}),98);
__d("FBReelsPauseContext",["gkx","react"],(function(a,b,c,d,e,f,g){"use strict";var h;a=h||d("react");b={hidePauseButton:!1,isPaused:c("gkx")("24209"),setPause:function(a,b){},shouldPauseOnShare:!0};e=a.createContext(b);g["default"]=e}),98);
__d("FBReelsAugmentPill.react",["ix","CometPressable.react","CometRow.react","CometRowItem.react","FBReelsAnimatedMusicIcon.react","FBReelsPauseContext","FDSIcon.react","TetraText.react","fbicon","react","stylex"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j,k=j||(j=d("react"));b=j;var l=b.useContext,m=b.c,n={animationPaused:{animationPlayState:"xorstpt",$$css:!0},textAnimation:{animationDuration:"x18ebdri",animationIterationCount:"xa4qsjk",animationName:"x1vuf3jl",animationPlayState:"xoj058f",animationTimingFunction:"x1esw782",display:"x1rg5ohu",paddingEnd:"xhepvqq",paddingLeft:null,paddingRight:null,$$css:!0}};function a(a){var b=m(28),e=a.enableTextAnimation,f=a.isClickable,g=a.isMusicPill,j=a.isWatchVideoPill,o=a.onHoverIn,p=a.onPress;a=a.text;e=e===void 0?!1:e;f=f===void 0?!1:f;g=g===void 0?!1:g;j=j===void 0?!1:j;var q=l(c("FBReelsPauseContext"));q=q.isPaused;var r=e&&n.textAnimation;q=q&&n.animationPaused;var s;b[0]!==r||b[1]!==q?(s=(i||(i=c("stylex")))(r,q),b[0]=r,b[1]=q,b[2]=s):s=b[2];b[3]!==a?(r=k.jsx(c("TetraText.react"),{color:"white",type:"body3",children:a}),b[3]=a,b[4]=r):r=b[4];b[5]!==s||b[6]!==r?(q=k.jsx("div",{className:s,children:r}),b[5]=s,b[6]=r,b[7]=q):q=b[7];s=q;b[8]===Symbol["for"]("react.memo_cache_sentinel")?(r={WebkitMaskImage:"linear-gradient(to right, transparent, rgba(0, 0, 0, 1.0) 15% 85%, transparent)"},b[8]=r):r=b[8];q=r;r=!f;b[9]===Symbol["for"]("react.memo_cache_sentinel")?(f="xdj266r x11i5rnm xat24cr x1mh8g0r xsag5q8 x1n2onr6 xgqk73l",b[9]=f):f=b[9];var t;b[10]===Symbol["for"]("react.memo_cache_sentinel")?(t="xr9ek0c",b[10]=t):t=b[10];b[11]!==g||b[12]!==j?(t=k.jsx(c("CometRowItem.react"),{children:k.jsx("div",{className:t,children:g?k.jsx(c("FBReelsAnimatedMusicIcon.react"),{isPaused:!0}):k.jsx("div",{className:"x1rdy4ex",children:j?k.jsx(c("FDSIcon.react"),{color:"white",icon:d("fbicon")._(h("607167"),12)}):k.jsx(c("FDSIcon.react"),{color:"primary",icon:d("fbicon")._(h("868367"),12)})})})}),b[11]=g,b[12]=j,b[13]=t):t=b[13];b[14]===Symbol["for"]("react.memo_cache_sentinel")?(g="x6ikm8r x10wlt62 xuxw1ft",b[14]=g):g=b[14];j=e&&s;e=e&&s;b[15]!==a||b[16]!==s||b[17]!==j||b[18]!==e?(g=k.jsx(c("CometRowItem.react"),{expanding:!1,children:k.jsxs("div",{"aria-label":a,className:g,style:q,children:[s,j,e]})}),b[15]=a,b[16]=s,b[17]=j,b[18]=e,b[19]=g):g=b[19];b[20]!==t||b[21]!==g?(q=k.jsx("div",{className:f,children:k.jsxs(c("CometRow.react"),{align:"start",paddingTop:0,children:[t,g]})}),b[20]=t,b[21]=g,b[22]=q):q=b[22];b[23]!==r||b[24]!==o||b[25]!==p||b[26]!==q?(a=k.jsx(c("CometPressable.react"),{cursorDisabled:r,onHoverIn:o,onPress:p,overlayDisabled:!0,children:q}),b[23]=r,b[24]=o,b[25]=p,b[26]=q,b[27]=a):a=b[27];return a}g["default"]=a}),98);
__d("FBReelsAvailableAudioTracksContext",["react"],(function(a,b,c,d,e,f,g){"use strict";var h;a=h||d("react");b=a.createContext({availableAudioTracks:[],setAvailableAudioTracks:function(a){}});g["default"]=b}),98);
__d("FBReelsEntityDialogImplQuery_facebookRelayOperation",[],(function(a,b,c,d,e,f){e.exports="7942460032479274"}),null);
__d("FBReelsEntityDialogImplQuery$Parameters",["FBReelsEntityDialogImplQuery_facebookRelayOperation"],(function(a,b,c,d,e,f){"use strict";a={kind:"PreloadableConcreteRequest",params:{id:b("FBReelsEntityDialogImplQuery_facebookRelayOperation"),metadata:{},name:"FBReelsEntityDialogImplQuery",operationKind:"query",text:null}};e.exports=a}),null);
__d("FBReelsEntityDialog.entrypoint",["FBReelsEntityDialogImplQuery$Parameters","JSResourceForInteraction","WebPixelRatio"],(function(a,b,c,d,e,f,g){"use strict";a={getPreloadProps:function(a){a=babelHelpers["extends"]({},a);var c=d("WebPixelRatio").get();return{queries:{queryReference:{parameters:b("FBReelsEntityDialogImplQuery$Parameters"),variables:babelHelpers["extends"]({feedbackSource:65,feedLocation:"COMET_MEDIA_VIEWER",focusCommentID:null,renderLocation:"fb_shorts_profile",scale:c},a)}}}},root:c("JSResourceForInteraction")("FBReelsEntityDialog.react").__setRef("FBReelsEntityDialog.entrypoint")};g["default"]=a}),98);
__d("SharingConstants",[],(function(a,b,c,d,e,f){"use strict";a={COMMENT_CLIP_DIALOG:"comment_clip_dialog",EVENTS:"events",FEED_UFI:"feed_ufi",LIVE_VIDEO_CLIPPING:"live_video_clipping",NEWS:"news",REELS_FULLSCREEN:" reels_fullscreen",UNKNOWN:"unknown"};b="feedOrganicPostViewAndMessage";f.SHARING_ENTRY_POINTS=a;f.MESSENGER_POPUP_ENTRYPOINT=b}),66);
__d("useSimpleFBGComponentRootSubscription",["react","useFBGComponentRootSubscription"],(function(a,b,c,d,e,f,g){"use strict";var h;h||(h=d("react"));b=h;var i=b.useCallback,j=b.useMemo,k=b.useState;function a(a){var b=k(new Map()),d=b[0],e=b[1];b=i(function(a){var b=a.componentController.getComponentID();e(function(c){return new Map(c.set(b,a))})},[]);var f=i(function(a){var b=a.componentController;e(function(a){a["delete"](b.getComponentID());return new Map(a)})},[]),g=i(function(a,b){var c=b.componentController.getComponentID();e(function(d){var e=Array.from(d.keys()).findIndex(function(b){return b===a.componentController.getComponentID()});if(e<0)return d;d=Array.from(d.entries());d=d.slice(0,e).concat([[c,b]]).concat(d.slice(e+1));return new Map(d)})},[]);c("useFBGComponentRootSubscription")(a,{onAdd:b,onRemove:f,onReplace:g});return j(function(){return Array.from(d.values())},[d])}g["default"]=a}),98);
__d("SimpleFBGComponentRootSubscription.react",["FBGComponentRoot.react","react","useSimpleFBGComponentRootSubscription"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||d("react");function a(a){var b=a.children,d=a.pluginAppID;a=a.source;a=c("useSimpleFBGComponentRootSubscription")(a);d!=null&&(a=a.filter(function(a){a=a.pluginController;return a.getPluginAppID()===d}));a=a.map(function(a){return i.jsx(c("FBGComponentRoot.react"),babelHelpers["extends"]({},a),a.componentController.getComponentID())});var e=a;return(b=b==null?void 0:b(a))!=null?b:e}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
__d("XCometEventCreateControllerRouteBuilder",["jsRouteBuilder"],(function(a,b,c,d,e,f,g){a=c("jsRouteBuilder")("/events/create/",Object.freeze({default_is_online:!1,default_is_paid_online_event:!1,dialog_entry_point:"others",should_skip_format_step:!1}),void 0);b=a;g["default"]=b}),98);
__d("XCometReelsCreationControllerRouteBuilder",["jsRouteBuilder"],(function(a,b,c,d,e,f,g){a=c("jsRouteBuilder")("/reels/create/",Object.freeze({}),void 0);b=a;g["default"]=b}),98);
__d("useFBReelsEntityDialogTrigger",["FBReelsEntityDialog.entrypoint","FBReelsPauseContext","react","useCometEntryPointDialog"],(function(a,b,c,d,e,f,g){"use strict";var h;b=h||d("react");b.useCallback;var i=b.useContext,j=b.c;function a(a){var b=j(11),d=a.entityId,e=a.logClicked;a=i(c("FBReelsPauseContext"));var f=a.isPaused,g=a.setPause;b[0]!==d?(a={entityId:d},b[0]=d,b[1]=a):a=b[1];a=c("useCometEntryPointDialog")(c("FBReelsEntityDialog.entrypoint"),a,"button_aggressive");var h=a[0];a=a[1];var k;b[2]!==d||b[3]!==g||b[4]!==h||b[5]!==f||b[6]!==e?(k=function(){if(d!=="")g(!0,"CLICK_AUGMENT_PILL"),h({entityId:d},function(){g(f,"CLICK_AUGMENT_PILL")}),e&&e();else return},b[2]=d,b[3]=g,b[4]=h,b[5]=f,b[6]=e,b[7]=k):k=b[7];k=k;var l;b[8]!==k||b[9]!==a?(l=[k,a],b[8]=k,b[9]=a,b[10]=l):l=b[10];return l}g["default"]=a}),98);
__d("useFBReelsVideoMediaMuted",["FBReelsActionsContext","VideoPlayerHooks","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i;b=h||d("react");var j=b.useContext,k=b.useEffect,l=b.c;function a(a,b,e){var f=l(9),g=b===void 0?!1:b,h=e===void 0?-1:e,m=(i||(i=d("VideoPlayerHooks"))).useController(),n=i.usePlaying(),o=i.useMuted();b=j(c("FBReelsActionsContext"));var p=b.index;f[0]!==g||f[1]!==p||f[2]!==h||f[3]!==n||f[4]!==o||f[5]!==a||f[6]!==m?(e=function(){if(g&&p!==h)return;n&&o!==a&&m.setMuted(a,"user_initiated")},b=[a,n,m,o,h,p,g],f[0]=g,f[1]=p,f[2]=h,f[3]=n,f[4]=o,f[5]=a,f[6]=m,f[7]=e,f[8]=b):(e=f[7],b=f[8]);k(e,b)}g["default"]=a}),98);
__d("useFBReelsVideoMediaPaused",["FBReelsPauseContext","VideoPlayerHooks","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i;b=h||d("react");var j=b.useContext,k=b.useEffect,l=b.c;function a(a){var b=l(5),e=j(c("FBReelsPauseContext")),f=e.hidePauseButton,g=(i||(i=d("VideoPlayerHooks"))).useController(),h;b[0]!==f||b[1]!==a||b[2]!==g?(e=function(){if(f)return;a?g.pause("user_initiated"):g.play("user_initiated")},h=[g,a,f],b[0]=f,b[1]=a,b[2]=g,b[3]=e,b[4]=h):(e=b[3],h=b[4]);k(e,h)}g["default"]=a}),98);/*FB_PKG_DELIM*/
__d("ManagedError",[],(function(a,b,c,d,e,f){a=function(a){babelHelpers.inheritsLoose(b,a);function b(b,c){var d;d=a.call(this,b!==null&&b!==void 0?b:"")||this;b!==null&&b!==void 0?d.message=b:d.message="";d.innerError=c;return d}return b}(babelHelpers.wrapNativeSuper(Error));f["default"]=a}),66);
__d("VideoPlaybackQuality",[],(function(a,b,c,d,e,f){function a(a){if(typeof a.getVideoPlaybackQuality==="function")return a.getVideoPlaybackQuality().droppedVideoFrames;a=a.webkitDroppedFrameCount;return typeof a==="number"?a:0}function b(a){if(typeof a.getVideoPlaybackQuality==="function")return a.getVideoPlaybackQuality().totalVideoFrames;a=a.webkitDecodedFrameCount;return typeof a==="number"?a:0}f.getDroppedFrames=a;f.getTotalFrames=b}),66);
__d("VideoPlayerContextSensitiveConfigUtils",[],(function(a,b,c,d,e,f){"use strict";var g=function(a,b){return b.every(function(b){return a[b.name]===b.value})};a=function(a,b){return b.find(function(b){return g(a,b.contexts)})};f.getFirstMatchingValueAndContextTargets=a}),66);
__d("VideoPlayerContextSensitiveConfigResolver",["VideoPlayerContextSensitiveConfigPayload","VideoPlayerContextSensitiveConfigUtils","cr:1724253"],(function(a,b,c,d,e,f,g){"use strict";a=function(){function a(a){this.$1={},this.$2={},a==null?(this.$3=c("VideoPlayerContextSensitiveConfigPayload").static_values,this.$4=c("VideoPlayerContextSensitiveConfigPayload").context_sensitive_values):(this.$3=a.staticValues,this.$4=a.contextSensitiveValues)}var e=a.prototype;e.setContexts=function(a){this.$1=a,this.$2=this.$5(a)};e.getValue=function(a){if(this.$2[a]!=null)return this.$2[a];return this.$3[a]!=null?this.$3[a]:null};e.$5=function(a){var b=this;return Object.keys(this.$4).reduce(function(c,e){var f=b.$4[e];if(f!=null){f=d("VideoPlayerContextSensitiveConfigUtils").getFirstMatchingValueAndContextTargets(a,f);f!=null&&(c[e]=f.value)}return c},{})};a.getPayload=function(){return c("VideoPlayerContextSensitiveConfigPayload")};a.getSources=function(){return b("cr:1724253")};return a}();g["default"]=a}),98);
__d("VideoPlayerShakaGlobalConfig",["VideoPlayerContextSensitiveConfigResolver"],(function(a,b,c,d,e,f,g){var h=new(c("VideoPlayerContextSensitiveConfigResolver"))(),i={};a=function(a){i=a};b=function(a,b){if(!!i&&typeof i[a]==="boolean")return i[a];a=h.getValue(a);return a!=null&&typeof a==="boolean"?a:b};d=function(a,b){if(!!i&&typeof i[a]==="number")return i[a];a=h.getValue(a);return a!=null&&typeof a==="number"?a:b};e=function(a,b){if(!!i&&typeof i[a]==="string")return i[a];a=h.getValue(a);return a!=null&&typeof a==="string"?a:b};g.setGlobalOverrideConfig=a;g.getBool=b;g.getNumber=d;g.getString=e}),98);
__d("memoizeByReference",[],(function(a,b,c,d,e,f){"use strict";var g=typeof WeakMap==="function";function a(a){var b=g?new WeakMap():new Map(),c=function(c){if(b.has(c)){var d=b.get(c);if(d!==void 0)return d[0]}d=a(c);b.set(c,[d]);return d};return c}f["default"]=a}),66);
__d("getGraphQLEnumSafe",["flipObject","memoizeByReference"],(function(a,b,c,d,e,f,g){"use strict";function a(a,b){if(b==null)return null;a=h(a);return!Object.prototype.hasOwnProperty.call(a,b)?null:a[b]}var h=c("memoizeByReference")(c("flipObject"));g["default"]=a}),98);
__d("str2rstr",[],(function(a,b,c,d,e,f){function a(a){var b="",c,d;for(var e=0;e<a.length;e++)c=a.charCodeAt(e),d=e+1<a.length?a.charCodeAt(e+1):0,55296<=c&&c<=56319&&56320<=d&&d<=57343&&(c=65536+((c&1023)<<10)+(d&1023),e++),c<=127?b+=String.fromCharCode(c):c<=2047?b+=String.fromCharCode(192|c>>>6&31,128|c&63):c<=65535?b+=String.fromCharCode(224|c>>>12&15,128|c>>>6&63,128|c&63):c<=2097151&&(b+=String.fromCharCode(240|c>>>18&7,128|c>>>12&63,128|c>>>6&63,128|c&63));return b}f["default"]=a}),66);
__d("md5",["str2rstr"],(function(a,b,c,d,e,f,g){function h(a,b){var c=a[0],d=a[1],e=a[2],f=a[3];c=j(c,d,e,f,b[0],7,-680876936);f=j(f,c,d,e,b[1],12,-389564586);e=j(e,f,c,d,b[2],17,606105819);d=j(d,e,f,c,b[3],22,-1044525330);c=j(c,d,e,f,b[4],7,-176418897);f=j(f,c,d,e,b[5],12,1200080426);e=j(e,f,c,d,b[6],17,-1473231341);d=j(d,e,f,c,b[7],22,-45705983);c=j(c,d,e,f,b[8],7,1770035416);f=j(f,c,d,e,b[9],12,-1958414417);e=j(e,f,c,d,b[10],17,-42063);d=j(d,e,f,c,b[11],22,-1990404162);c=j(c,d,e,f,b[12],7,1804603682);f=j(f,c,d,e,b[13],12,-40341101);e=j(e,f,c,d,b[14],17,-1502002290);d=j(d,e,f,c,b[15],22,1236535329);c=k(c,d,e,f,b[1],5,-165796510);f=k(f,c,d,e,b[6],9,-1069501632);e=k(e,f,c,d,b[11],14,643717713);d=k(d,e,f,c,b[0],20,-373897302);c=k(c,d,e,f,b[5],5,-701558691);f=k(f,c,d,e,b[10],9,38016083);e=k(e,f,c,d,b[15],14,-660478335);d=k(d,e,f,c,b[4],20,-405537848);c=k(c,d,e,f,b[9],5,568446438);f=k(f,c,d,e,b[14],9,-1019803690);e=k(e,f,c,d,b[3],14,-187363961);d=k(d,e,f,c,b[8],20,1163531501);c=k(c,d,e,f,b[13],5,-1444681467);f=k(f,c,d,e,b[2],9,-51403784);e=k(e,f,c,d,b[7],14,1735328473);d=k(d,e,f,c,b[12],20,-1926607734);c=l(c,d,e,f,b[5],4,-378558);f=l(f,c,d,e,b[8],11,-2022574463);e=l(e,f,c,d,b[11],16,1839030562);d=l(d,e,f,c,b[14],23,-35309556);c=l(c,d,e,f,b[1],4,-1530992060);f=l(f,c,d,e,b[4],11,1272893353);e=l(e,f,c,d,b[7],16,-155497632);d=l(d,e,f,c,b[10],23,-1094730640);c=l(c,d,e,f,b[13],4,681279174);f=l(f,c,d,e,b[0],11,-358537222);e=l(e,f,c,d,b[3],16,-722521979);d=l(d,e,f,c,b[6],23,76029189);c=l(c,d,e,f,b[9],4,-640364487);f=l(f,c,d,e,b[12],11,-421815835);e=l(e,f,c,d,b[15],16,530742520);d=l(d,e,f,c,b[2],23,-995338651);c=m(c,d,e,f,b[0],6,-198630844);f=m(f,c,d,e,b[7],10,1126891415);e=m(e,f,c,d,b[14],15,-1416354905);d=m(d,e,f,c,b[5],21,-57434055);c=m(c,d,e,f,b[12],6,1700485571);f=m(f,c,d,e,b[3],10,-1894986606);e=m(e,f,c,d,b[10],15,-1051523);d=m(d,e,f,c,b[1],21,-2054922799);c=m(c,d,e,f,b[8],6,1873313359);f=m(f,c,d,e,b[15],10,-30611744);e=m(e,f,c,d,b[6],15,-1560198380);d=m(d,e,f,c,b[13],21,1309151649);c=m(c,d,e,f,b[4],6,-145523070);f=m(f,c,d,e,b[11],10,-1120210379);e=m(e,f,c,d,b[2],15,718787259);d=m(d,e,f,c,b[9],21,-343485551);a[0]=s(c,a[0]);a[1]=s(d,a[1]);a[2]=s(e,a[2]);a[3]=s(f,a[3])}function i(a,b,c,d,e,f){b=s(s(b,a),s(d,f));return s(b<<e|b>>>32-e,c)}function j(a,b,c,d,e,f,g){return i(b&c|~b&d,a,b,e,f,g)}function k(a,b,c,d,e,f,g){return i(b&d|c&~d,a,b,e,f,g)}function l(a,b,c,d,e,f,g){return i(b^c^d,a,b,e,f,g)}function m(a,b,c,d,e,f,g){return i(c^(b|~d),a,b,e,f,g)}function n(a){var b=a.length,c=[1732584193,-271733879,-1732584194,271733878],d;for(d=64;d<=a.length;d+=64)h(c,o(a.substring(d-64,d)));a=a.substring(d-64);var e=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(d=0;d<a.length;d++)e[d>>2]|=a.charCodeAt(d)<<((d&3)<<3);e[d>>2]|=128<<((d&3)<<3);if(d>55){h(c,e);for(d=0;d<16;d++)e[d]=0}e[14]=b*8;h(c,e);return c}function o(a){var b=[],c=0;while(c<64)b[c>>2]=a.charCodeAt(c++)|a.charCodeAt(c++)<<8|a.charCodeAt(c++)<<16|a.charCodeAt(c++)<<24;return b}var p="0123456789abcdef".split("");function q(a){var b="",c=0;for(;c<4;c++)b+=p[a>>(c<<3)+4&15]+p[a>>(c<<3)&15];return b}function r(a){var b=[];for(var c=0;c<a.length;c++)b[c]=q(a[c]);return b.join("")}var s=function(a,b){return a+b&4294967295};function a(a){if(a==null)return null;a=a;for(var b=0;b<a.length;b++)if(a[b]>"\x7f"){a=c("str2rstr")(a);break}return r(n(a))}a("hello")!="5d41402abc4b2a76b9719d911017c592"&&(s=function(a,b){var c=(a&65535)+(b&65535);a=(a>>16)+(b>>16)+(c>>16);return a<<16|c&65535});g["default"]=a}),98);
__d("oz-player/loggings/OzPerfLoggerProviderBase",["oz-player/utils/OzErrorUtils"],(function(a,b,c,d,e,f,g){"use strict";a=function(){function a(){}var b=a.prototype;b.cloneContext=function(){var a=this.createLoggerProvider();this.$11(a);return a};b.setType=function(a){this.$1=a;return this};b.setInitiator=function(a){this.$2=a;return this};b.setResource=function(a){this.$4=a;return this};b.setRepresentationID=function(a){this.$3=a;return this};b.setSegmentStartTime=function(a){this.$5=a;return this};b.setSegmentEndTime=function(a){this.$6=a;return this};b.setStreamSwitchReason=function(a){this.$7=a;return this};b.setIsP2pPlayback=function(a){this.$8=a;return this};b.setIsRingBufferSample=function(a){this.$9=a;return this};b.setPerSessionSampleRate=function(a){this.$10=a;return this};b.getType=function(){return this.$1};b.getInitiator=function(){return this.$2};b.getRepresentationID=function(){return this.$3};b.getStreamSwitchReason=function(){return this.$7};b.getResource=function(){return this.$4};b.getSegmentStartTime=function(){return this.$5};b.getSegmentEndTime=function(){return this.$6};b.getIsP2pPlayback=function(){return this.$8};b.getIsRingBufferSample=function(){return this.$9};b.getOperationLogger=function(a){a=this.createOperationLogger(a);return this.setOperationContext(a)};b.setOperationContext=function(a){this.$11(a);return a};b.createOperationLogger=function(a){throw d("oz-player/utils/OzErrorUtils").createOzError({type:"OZ_NOT_IMPLEMENTED_ERROR",description:"Not implemented: createOperationLogger"})};b.createLoggerProvider=function(){throw d("oz-player/utils/OzErrorUtils").createOzError({type:"OZ_NOT_IMPLEMENTED_ERROR",description:"Not implemented: createLoggerProvider"})};b.$11=function(a){this.getType()&&a.setType(this.getType()),this.getInitiator()&&a.setInitiator(this.getInitiator()),this.getResource()&&a.setResource(this.getResource()),this.getRepresentationID()&&a.setRepresentationID(this.getRepresentationID()),this.getStreamSwitchReason()&&a.setStreamSwitchReason(this.getStreamSwitchReason()),typeof this.getSegmentStartTime()==="number"&&a.setSegmentStartTime(this.getSegmentStartTime()),typeof this.getSegmentEndTime()==="number"&&a.setSegmentEndTime(this.getSegmentEndTime()),typeof this.getIsP2pPlayback()==="boolean"&&a.setIsP2pPlayback(this.getIsP2pPlayback()),typeof this.getIsRingBufferSample()==="boolean"&&a.setIsRingBufferSample(this.getIsRingBufferSample())};return a}();g["default"]=a}),98);/*FB_PKG_DELIM*/
__d("BaseMiddotSeparator.react",["BaseMiddot.react","react","react-strict-dom"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||d("react");function a(a){var b=a.children,e=a["aria-label"],f=a["aria-labelledby"];a=a.asList;var g=a===void 0?!1:a;a=i.Children.toArray(b).filter(Boolean).map(function(a,b){return i.jsxs(j,{asList:g,children:[b!==0?i.jsx(c("BaseMiddot.react"),{}):null,a]},b)});return g?i.jsx(d("react-strict-dom").html.span,{"aria-label":(b=e)!=null?b:void 0,"aria-labelledby":(e=f)!=null?e:void 0,role:"list",children:a}):a}a.displayName=a.name+" [from "+f.id+"]";function j(a){var b=a.asList;a=a.children;return b?i.jsx(d("react-strict-dom").html.span,{role:"listitem",children:a}):a}j.displayName=j.name+" [from "+f.id+"]";g["default"]=a}),98);
__d("ChatRulesEntryPointQuery_facebookRelayOperation",[],(function(a,b,c,d,e,f){e.exports="7556817984336359"}),null);
__d("ChatRulesEntryPointQuery$Parameters",["ChatRulesEntryPointQuery_facebookRelayOperation"],(function(a,b,c,d,e,f){"use strict";a={kind:"PreloadableConcreteRequest",params:{id:b("ChatRulesEntryPointQuery_facebookRelayOperation"),metadata:{},name:"ChatRulesEntryPointQuery",operationKind:"query",text:null}};e.exports=a}),null);
__d("ChatRulesPopover.entrypoint",["ChatRulesEntryPointQuery$Parameters","JSResourceForInteraction"],(function(a,b,c,d,e,f,g){"use strict";a={getPreloadProps:function(a){a=a.videoID;return{queries:{chatRulesEntryPointQueryRef:{parameters:c("ChatRulesEntryPointQuery$Parameters"),variables:{id:a}}}}},root:c("JSResourceForInteraction")("ChatRulesEntryPoint.react").__setRef("ChatRulesPopover.entrypoint")};g["default"]=a}),98);
__d("CometUFIUnpinCommentMutation_facebookRelayOperation",[],(function(a,b,c,d,e,f){e.exports="5697660993582405"}),null);
__d("CometUFIUnpinCommentMutation.graphql",["CometUFIUnpinCommentMutation_facebookRelayOperation"],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{defaultValue:null,kind:"LocalArgument",name:"input"}],c=[{alias:null,args:[{kind:"Variable",name:"data",variableName:"input"}],concreteType:"UnpinnedCommentEventCreateResponsePayload",kind:"LinkedField",name:"unpinned_comment_event_create",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null}],storageKey:null}];return{fragment:{argumentDefinitions:a,kind:"Fragment",metadata:null,name:"CometUFIUnpinCommentMutation",selections:c,type:"Mutation",abstractKey:null},kind:"Request",operation:{argumentDefinitions:a,kind:"Operation",name:"CometUFIUnpinCommentMutation",selections:c},params:{id:b("CometUFIUnpinCommentMutation_facebookRelayOperation"),metadata:{},name:"CometUFIUnpinCommentMutation",operationKind:"mutation",text:null}}}();e.exports=a}),null);
__d("CometUFIUnpinCommentMutation",["CometRelay","CometUFIUnpinCommentMutation.graphql","Promise"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=h!==void 0?h:h=b("CometUFIUnpinCommentMutation.graphql");function k(a,b){a=a.get(b);if(a==null)return;a.setValue(null,"latest_pinned_comment_event")}function a(a,c){return new(i||(i=b("Promise")))(function(b,e){var f;d("CometRelay").commitMutation(a,{mutation:j,onCompleted:function(a,c){if(c!=null){e(c);return}b(a)},onError:e,optimisticUpdater:function(a){return k(a,c.feedbackID)},updater:function(a){return k(a,c.feedbackID)},variables:{input:{video_id:c.videoID,video_time_offset:(f=c==null?void 0:c.video_time_offset)!=null?f:0}}})})}g.commit=a}),98);
__d("GuidelineLinksWithPopoverContent_feedback.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},b=[{alias:null,args:null,kind:"ScalarField",name:"count",storageKey:null}];return{argumentDefinitions:[],kind:"Fragment",metadata:null,name:"GuidelineLinksWithPopoverContent_feedback",selections:[a,{alias:null,args:null,kind:"ScalarField",name:"standards_in_comments_banner_text",storageKey:null},{alias:null,args:null,concreteType:"Video",kind:"LinkedField",name:"associated_video",plural:!1,selections:[a,{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"owner",plural:!1,selections:[{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"CommunityModerationPageSettings",kind:"LinkedField",name:"community_moderation_settings",plural:!1,selections:[{alias:null,args:null,concreteType:"CommunityModerationPageSettingsCustomChatRulesConnection",kind:"LinkedField",name:"custom_chat_rules",plural:!1,selections:b,storageKey:null},{alias:null,args:null,concreteType:"CommunityModerationPageSettingsSharedChatRulesConnection",kind:"LinkedField",name:"shared_chat_rules",plural:!1,selections:b,storageKey:null}],storageKey:null}],type:"HasCommunityModerationSettings",abstractKey:"__isHasCommunityModerationSettings"}],storageKey:null}],storageKey:null}],type:"Feedback",abstractKey:null}}();e.exports=a}),null);
__d("useStandardsInCommentsImpressionLogger",["react","requireDeferred","usePartialViewImpression"],(function(a,b,c,d,e,f,g){"use strict";var h;b=h||d("react");b.useCallback;var i=b.c,j=c("requireDeferred")("StandardsInCommentsImpressionFalcoEvent").__setRef("useStandardsInCommentsImpressionLogger");function a(a){var b=i(4),d;b[0]!==a?(d=function(){j.onReady(function(b){b.log(function(){return a})})},b[0]=a,b[1]=d):d=b[1];d=d;var e;b[2]!==d?(e={onImpressionEnd:d},b[2]=d,b[3]=e):e=b[3];return c("usePartialViewImpression")(e)}g["default"]=a}),98);
__d("GuidelineLinksWithPopoverContent.react",["fbt","BaseMiddotSeparator.react","ChatRulesPopover.entrypoint","CometEntryPointPopoverTrigger.react","CometLazyPopoverTrigger.react","CometPressable.react","CometRelay","CometRow.react","CometRowItem.react","GuidelineLinksWithPopoverContent_feedback.graphql","JSResourceForInteraction","TetraText.react","react","requireDeferred","useStandardsInCommentsImpressionLogger","uuidv4"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j,k=j||(j=d("react")),l=j.useRef,m=c("requireDeferred")("StandardsInCommentsCommunityStandardsLinkTappedFalcoEvent").__setRef("GuidelineLinksWithPopoverContent.react"),n={hideLinks:{display:"x1s85apg",$$css:!0},showLinks:{animationDuration:"xxkxylk",animationName:"x153dp7b",animationTimingFunction:"xa3vuyk",marginEnd:"x11i5rnm",marginLeft:null,marginRight:null,$$css:!0}},o=c("JSResourceForInteraction")("CommunityStandardsPopoverContent.react").__setRef("GuidelineLinksWithPopoverContent.react");function a(a){var e,f,g,j=a.feedback,p=a.shouldShow;a=a.shouldShowAnimation;var q=d("CometRelay").useFragment(i!==void 0?i:i=b("GuidelineLinksWithPopoverContent_feedback.graphql"),j),r=l(c("uuidv4")());j=c("useStandardsInCommentsImpressionLogger")({feedback_id:q==null?void 0:q.id,session_token:r.current,source:"live"});var s=q==null?void 0:q.standards_in_comments_banner_text;e=q==null?void 0:(e=q.associated_video)==null?void 0:(e=e.owner)==null?void 0:e.community_moderation_settings;if(s==null&&e==null)return null;f=e==null?void 0:(f=e.shared_chat_rules)==null?void 0:f.count;e=e==null?void 0:(e=e.custom_chat_rules)==null?void 0:e.count;g=q==null?void 0:(g=q.associated_video)==null?void 0:g.id;f=f!=null&&f>0||e!=null&&e>0;e=null;a?e=p?n.showLinks:n.hideLinks:p&&(e=n.showLinks);return k.jsx(c("CometRow.react"),{paddingTop:8,paddingVertical:4,ref:j,xstyle:e,children:k.jsx(c("CometRowItem.react"),{children:k.jsx(c("TetraText.react"),{color:"secondary",type:"body3",children:k.jsxs(c("BaseMiddotSeparator.react"),{children:[f&&g!=null?k.jsx(c("CometEntryPointPopoverTrigger.react"),{align:"end",entryPointParams:{videoID:g},otherProps:{},popoverEntryPoint:c("ChatRulesPopover.entrypoint"),position:"above",preloadTrigger:"button",children:function(a,b){return k.jsx(c("CometPressable.react"),{onPress:b,onPressOut:function(){var a={feedback_token:q==null?void 0:q.id,link_type:"chat_rules",session_token:r.current};m.onReady(function(b){return b.log(function(){return a})})},overlayOffset:2,overlayRadius:2,ref:a,children:k.jsx(c("TetraText.react"),{color:"blueLink",type:"bodyLink3",children:h._("__JHASH__bfrnKN63lK1__JHASH__")})})}}):null,k.jsx(c("CometLazyPopoverTrigger.react"),{align:"end",popoverProps:{},popoverResource:o,position:"above",preloadTrigger:"button",children:function(a,b){return k.jsx(c("CometPressable.react"),{onPress:b,onPressOut:function(){var a={feedback_token:q==null?void 0:q.id,link_type:"live_sic",session_token:r.current};m.onReady(function(b){return b.log(function(){return a})})},overlayOffset:2,overlayRadius:2,ref:a,children:k.jsx(c("TetraText.react"),{color:"blueLink",type:"bodyLink3",children:s})})}})]})})})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),226);
__d("GuidelineLinksWithPopoverContent_feedback$normalization.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},b=[{alias:null,args:null,kind:"ScalarField",name:"count",storageKey:null}];return{kind:"SplitOperation",metadata:{},name:"GuidelineLinksWithPopoverContent_feedback$normalization",selections:[a,{alias:null,args:null,kind:"ScalarField",name:"standards_in_comments_banner_text",storageKey:null},{alias:null,args:null,concreteType:"Video",kind:"LinkedField",name:"associated_video",plural:!1,selections:[a,{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"owner",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"CommunityModerationPageSettings",kind:"LinkedField",name:"community_moderation_settings",plural:!1,selections:[{alias:null,args:null,concreteType:"CommunityModerationPageSettingsCustomChatRulesConnection",kind:"LinkedField",name:"custom_chat_rules",plural:!1,selections:b,storageKey:null},{alias:null,args:null,concreteType:"CommunityModerationPageSettingsSharedChatRulesConnection",kind:"LinkedField",name:"shared_chat_rules",plural:!1,selections:b,storageKey:null},a],storageKey:null}],type:"HasCommunityModerationSettings",abstractKey:"__isHasCommunityModerationSettings"},a],storageKey:null}],storageKey:null}]}}();e.exports=a}),null);
__d("StandardsInCommentsCommunityStandardsLinkTappedFalcoEvent",["FalcoLoggerInternal","getFalcoLogPolicy_DO_NOT_USE"],(function(a,b,c,d,e,f,g){"use strict";a=c("getFalcoLogPolicy_DO_NOT_USE")("126");b=d("FalcoLoggerInternal").create("standards_in_comments_community_standards_link_tapped",a);e=b;g["default"]=e}),98);
__d("StandardsInCommentsImpressionFalcoEvent",["FalcoLoggerInternal","getFalcoLogPolicy_DO_NOT_USE"],(function(a,b,c,d,e,f,g){"use strict";a=c("getFalcoLogPolicy_DO_NOT_USE")("127");b=d("FalcoLoggerInternal").create("standards_in_comments_impression",a);e=b;g["default"]=e}),98);/*FB_PKG_DELIM*/
__d("StoriesActorContext",["react"],(function(a,b,c,d,e,f,g){"use strict";var h;a=h||d("react");b={actorID:null,actorName:null};c=a.createContext(b);g["default"]=c}),98);
__d("createVideoStateHook",["VideoPlayerHooks","emptyFunction","gkx","react","unrecoverableViolation","useStable"],(function(a,b,c,d,e,f,g){"use strict";var h,i;b=h||d("react");var j=b.useEffect,k=b.useMemo,l=b.useRef,m=b.useState,n=b.useSyncExternalStore,o=new Set();e=function(a){var b=new Map();o.add(b);function e(){var a=(i||(i=d("VideoPlayerHooks"))).useInstanceKey();b.has(a)||b.set(a,{consumers:new Set(),key:a,lastValue:void 0});var e=b.get(a);if(e==null)throw c("unrecoverableViolation")('createVideoStateHook useInstance missing instance by key "'+a+'"',"comet_video_player");return e}function f(a,b){a.consumers.add(b)}function g(a,b){a.consumers["delete"](b)}function h(a,b,c){a.lastValue=b,a.consumers.forEach(function(a){c!==a&&a(b)})}function k(a){var b=e(),c=l(b);c.current=b;a=b.lastValue!=null?b.lastValue:a;var d=l(a);d.current=a;a=m(a);var i=a[0],k=a[1];j(function(){k(d.current);f(b,k);return function(){g(b,k)}},[b]);j(function(){h(c.current,i,k)},[i]);return[i,k]}function a(a){a=k(a);a[0];a=a[1];return a}function n(a){a=k(a);var b=a[0];a[1];return b}return{setterHook:a,stateHook:k,valueHook:n}};f=function(a){var b=new Map();o.add(b);var e=c("emptyFunction");function f(a,c){var d=b.get(a);d||(d={consumers:new Set(),key:a,lastValue:c},b.set(a,d));return d}function g(a,c){return{getSnapshot:function(){var d=b.get(a);return d==null?c:d.lastValue},setValue:function(b){var d=f(a,c),e;typeof b==="function"?e=b(d.lastValue):e=b;d.lastValue=e;d.consumers.forEach(function(a){a(e)})},subscribe:function(b){var d=f(a,c);d.consumers.add(b);return function(){d.consumers["delete"](b)}}}}function a(a){var b=c("useStable")(function(){return a}),e=(i||(i=d("VideoPlayerHooks"))).useInstanceKey(),f=k(function(){return g(e,b)},[b,e]),h=f.getSnapshot,j=f.setValue;f=f.subscribe;f=n(f,h);return[f,j]}function h(a){var b=c("useStable")(function(){return a}),e=(i||(i=d("VideoPlayerHooks"))).useInstanceKey(),f=k(function(){return g(e,b)},[b,e]);f=f.setValue;return f}function j(a){var b=c("useStable")(function(){return a}),e=(i||(i=d("VideoPlayerHooks"))).useInstanceKey(),f=k(function(){return g(e,b)},[b,e]),h=f.getSnapshot;f=f.subscribe;return n(f,h)}return{setterHook:h,stateHook:a,valueHook:j}};function a(a){j(function(){return function(){o.forEach(function(b){b["delete"](a)})}},[a])}b=c("gkx")("24343")?f:e;a=a;g.createVideoStateHookImpl_UnsafeForConcurrentRendering=e;g.createVideoStateHookImpl_SafeForConcurrentRendering=f;g.createVideoStateHook=b;g.useCleanupVideoStateHooks_INTERNAL=a}),98);
__d("useCometSize_DO_NOT_USE",["CometThrottle","ExecutionEnvironment","FBLogger","HiddenSubtreePassiveContext","react","useResizeObserver","useStable","useUnsafeRef_DEPRECATED"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j;b=j||d("react");var k=b.useContext,l=b.useEffect,m=b.useLayoutEffect,n=b.useRef,o=b.useState;function p(a){var b=a.setBoxStateStable,d=null,e=function(a){var c;if(((c=d)==null?void 0:c.height)===a.height&&((c=d)==null?void 0:c.width)===a.width)return;d=a;b(a)};a=function(a){a=a.getBoundingClientRect();var b=a.height;a=a.width;e({height:b,width:a})};var f=c("CometThrottle")(function(a){var b=a.height;a=a.width;if(b===0&&a===0)return;e({height:b,width:a})},200,{leading:!0,trailing:!0});return{measure:a,onResizeThrottled:f}}function a(){if(!(h||(h=c("ExecutionEnvironment"))).canUseDOM)throw c("FBLogger")("comet_ssr").blameToPreviousFile().mustfixThrow("useCometSize is not compatible with Server Rendering. This will break SSR! See https://fburl.com/wiki/xrzohrqb");var a=n(null),b=o(null),d=b[0],e=b[1],f=k(c("HiddenSubtreePassiveContext")),g=c("useStable")(function(){return p({setBoxStateStable:e})}),j=c("useResizeObserver")(g.onResizeThrottled),q=n(j);m(function(){q.current=j},[j]);b=(i||(i=c("useUnsafeRef_DEPRECATED")))(function(b){b!==a.current&&(a.current=b,b!=null&&g.measure(b)),q.current(a.current)});l(function(){if(!f.getCurrentState().hidden)return;var b=f.subscribeToChanges(function(c){!c.hidden&&a.current!=null&&(g.measure(a.current),b.remove())});return function(){return b.remove()}},[f,g]);l(function(){return function(){g.onResizeThrottled.cancel()}},[g]);return[b.current,d]}g["default"]=a}),98);/*FB_PKG_DELIM*/
__d("MWBroadcastChannelLoggingShapes",[],(function(a,b,c,d,e,f){"use strict";a={action:2,event:195,parentSurface:11,source:105,surface:73};b={action:2,event:191,parentSurface:11,source:105,surface:73};c={action:2,event:190,parentSurface:11,source:105,surface:73};d={action:2,event:189,parentSurface:11,source:105,surface:73};e={action:1,event:188,parentSurface:11,source:104,surface:74};var g={action:1,event:187,parentSurface:11,source:104,surface:74},h={action:2,event:186,parentSurface:11,source:103,surface:74},i={action:1,event:184,parentSurface:11,source:102,surface:73},j={action:1,event:185,parentSurface:11,source:101,surface:73},k={action:1,event:183,parentSurface:11,source:101,surface:73},l={action:2,event:182,parentSurface:11,source:100,surface:73},m={action:1,event:185,parentSurface:11,source:102,surface:72},n={action:1,event:184,parentSurface:11,source:102,surface:72},o={action:1,event:183,parentSurface:11,source:101,surface:72},p={action:2,event:182,parentSurface:11,source:100,surface:72},q={action:1,clientExtras:{entry_point:"public_chats:comet_www_inbox"},event:95,parentSurface:7,source:8,surface:4},r={action:2,clientExtras:{entry_point:"public_chats:comet_www_inbox"},event:161,parentSurface:7,source:8,surface:4},s={action:1,clientExtras:{entry_point:"public_chats:profile_channels_tab_item"},event:95,parentSurface:11,source:8,surface:58},t=babelHelpers["extends"]({},s,{clientExtras:{entry_point:"public_chats:profile_channels_tab_null_state"}}),u=babelHelpers["extends"]({},s,{clientExtras:{entry_point:"public_chats:profile_from_mbs"}}),v={action:2,clientExtras:{entry_point:"public_chats:profile_channels_tab_item"},event:162,parentSurface:21,source:90,surface:59},w={action:2,clientExtras:{entry_point:"public_chats:profile_channels_tab_null_state"},event:163,parentSurface:21,source:90,surface:59},x={action:2,clientExtras:{entry_point:"public_chats:profile_channels_tab_item"},event:161,parentSurface:21,source:90,surface:59},y=babelHelpers["extends"]({},x,{clientExtras:{entry_point:"public_chats:profile_channels_tab_null_state"}}),z={action:2,clientExtras:{entry_point:"public_chats:newsfeed_qp"},event:164,parentSurface:11,source:92,surface:65},A={action:2,clientExtras:{entry_point:"public_chats:profile_qp"},event:164,parentSurface:21,source:92,surface:66},B={action:2,clientExtras:{entry_point:"public_chats:newsfeed_qp"},event:161,parentSurface:11,source:92,surface:65},C={action:2,clientExtras:{entry_point:"public_chats:profile_qp"},event:161,parentSurface:21,source:92,surface:66},D={action:1,clientExtras:{entry_point:"public_chats:newsfeed_qp"},event:95,parentSurface:11,source:8,surface:65},E={action:1,clientExtras:{entry_point:"public_chats:profile_qp"},event:95,parentSurface:21,source:8,surface:66},F={action:1,clientExtras:{entry_point:"public_chats:profile_creation_bar"},event:95,parentSurface:11,source:88,surface:64},G={action:1,clientExtras:{entry_point:"public_chats:newsfeed_composer"},event:95,parentSurface:11,source:88,surface:69},H={action:1,clientExtras:{entry_point:"public_chats:channels_gutter"},event:95,parentSurface:11,source:8,surface:91},I={action:2,clientExtras:{entry_point:"public_chats:profile_creation_bar"},event:161,parentSurface:11,source:88,surface:64},J={action:2,clientExtras:{entry_point:"public_chats:newsfeed_composer"},event:161,parentSurface:11,source:88,surface:69},K={action:1,event:147,parentSurface:4,source:81,surface:51},L={action:1,event:165,parentSurface:21,source:93,surface:58},M={action:1,event:148,parentSurface:11,source:89,surface:21},N={action:2,event:7,parentSurface:17,source:82,surface:41},O={action:2,event:146,parentSurface:4,source:81,surface:51},P={action:2,event:261,parentSurface:4,source:81,surface:51},Q={action:1,event:53,parentSurface:4,source:81,surface:51},R={action:1,event:8,parentSurface:17,source:8,surface:41},S={action:1,event:234,parentSurface:8,source:27,surface:16},T={action:1,event:234,parentSurface:7,source:62,surface:7},U={action:1,event:235,parentSurface:7,source:62,surface:7},V={action:1,event:236,parentSurface:7,source:62,surface:7},W={action:2,event:239,parentSurface:11,source:147,surface:87},X={action:1,event:240,parentSurface:11,source:147,surface:87},Y={action:2,event:241,parentSurface:11,source:147,surface:87},Z={action:1,event:242,parentSurface:11,source:147,surface:87},$={action:1,event:243,parentSurface:11,source:147,surface:87};f.CREATOR_WAITLIST_ALREADY_HAS_ACCESS_VIEW_RENDERED=a;f.CREATOR_WAITLIST_LOGGED_OUT_VIEW_RENDERED=b;f.CREATOR_WAITLIST_NOT_ELIGIBLE_VIEW_RENDERED=c;f.CREATOR_WAITLIST_ALREADY_REGISTERED_VIEW_RENDERED=d;f.CREATOR_WAITLIST_INTEREST_REASONS_SUBMIT_SUCCESS=e;f.CREATOR_WAITLIST_INTEREST_REASONS_SUBMIT_ATTEMPT=g;f.CREATOR_WAITLIST_INTEREST_REASONS_RENDERED=h;f.CREATOR_WAITLIST_LANDING_PAGE_LEARN_MORE_TAPPED=i;f.CREATOR_WAITLIST_LANDING_PAGE_REQUEST_ACCESS_SUCCESS=j;f.CREATOR_WAITLIST_LANDING_PAGE_REQUEST_ACCESS_ATTEMPT=k;f.CREATOR_WAITLIST_LANDING_PAGE_RENDERED=l;f.CREATOR_WAITLIST_NEWSFEED_QP_REQUEST_ACCESS_SUCCESS=m;f.CREATOR_WAITLIST_NEWSFEED_QP_LEARN_MORE_TAPPED=n;f.CREATOR_WAITLIST_NEWSFEED_QP_REQUEST_ACCESS_TAPPED=o;f.CREATOR_WAITLIST_NEWSFEED_QP_RENDERED=p;f.CREATE_CHANNEL_TAPPED_FULL_PAGE_SHAPE=q;f.CREATE_CHANNEL_OPTION_RENDERED_FULL_PAGE_SHAPE=r;f.CREATE_CHANNEL_TAPPED_CHANNELS_TAB_SHAPE=s;f.CREATE_CHANNEL_TAPPED_CHANNELS_TAB_NULL_STATE_SHAPE=t;f.CREATE_CHANNEL_TAPPED_CHANNELS_TAB_MBS_SHAPE=u;f.CHANNELS_LIST_RENDERED_SHAPE=v;f.CHANNELS_LIST_NULL_STATE_RENDERED_SHAPE=w;f.CREATE_CHANNEL_OPTION_CHANNELS_TAB_RENDERED_SHAPE=x;f.CREATE_CHANNEL_OPTION_CHANNELS_TAB_NULL_STATE_RENDERED_SHAPE=y;f.CREATE_BROADCAST_CHANNEL_NEWSFEED_QP_RENDERED_SHAPE=z;f.CREATE_BROADCAST_CHANNEL_PROFILE_PAGE_QP_RENDERED_SHAPE=A;f.CREATE_CHANNEL_OPTION_NEWSFEED_QP_RENDERED_SHAPE=B;f.CREATE_CHANNEL_OPTION_PROFILE_PAGE_QP_RENDERED_SHAPE=C;f.CREATE_BROADCAST_CHANNEL_NEWSFEED_QP_TAP_SHAPE=D;f.CREATE_BROADCAST_CHANNEL_PROFILE_PAGE_QP_TAP_SHAPE=E;f.CREATE_BROADCAST_CHANNEL_PROFILE_COMPOSER_TAP_SHAPE=F;f.CREATE_BROADCAST_CHANNEL_NEWSFEED_COMPOSER_TAP_SHAPE=G;f.CREATE_BROADCAST_CHANNEL_FROM_GUTTER_TAP_SHAPE=H;f.CREATE_BROADCAST_CHANNEL_PROFILE_COMPOSER_RENDERED_SHAPE=I;f.CREATE_BROADCAST_CHANNEL_NEWSFEED_COMPOSER_RENDERED_SHAPE=J;f.APPLUS_BROADCAST_CHANNEL_EDUCATION_NUX_BUTTON_TAP_SHAPE=K;f.APPLUS_TAP_BROADCAST_CHANNEL_IN_CHANNELS_TAB_SHAPE=L;f.APPLUS_TAP_PIN_TO_FEATURE_IN_CREATION_FORM=M;f.PUBLIC_BROADCAST_CHAT_CREATION_SHEET_RENDERED_SHAPE=N;f.APPLUS_BROADCAST_CHANNEL_EDUCATION_NUX_RENDERED_SHAPE=O;f.PUBLIC_BROADCAST_CHANNEL_NUX_CAROUSEL_SLIDE_RENDERED=P;f.BROADCAST_CHANNEL_CHANGE_IMAGE_TAP_SHAPE=Q;f.THREAD_CREATE_TAP_SHAPE=R;f.VIEW_PINNED_MESSAGES_FROM_THREAD_DETAIL=S;f.VIEW_PINNED_MESSAGES_FROM_THREAD_VIEW_BANNER=T;f.PIN_MESSAGE=U;f.UNPIN_MESSAGE=V;f.SHARE_TO_CHANNELS_ENTRY_POINT_RENDERED=W;f.SHARE_TO_CHANNELS_ENTRY_POINT_TAPPED=X;f.SHARE_TO_CHANNELS_PAGE_IMPRESSION=Y;f.SHARE_TO_CHANNELS_CHANNEL_TAPPED=Z;f.SHARE_TO_CHANNELS_DEFAULT_TOGGLE_CLICKED=$}),66);/*FB_PKG_DELIM*/
__d("MWGroupMembershipListItem",["I64","MessagingSpecialThreadRole","MessagingSpecialThreadRoleBitOffset"],(function(a,b,c,d,e,f,g){"use strict";var h,i={BroadcastChannelParticipant:"broadcastChannelParticipantType",CommunityMember:"communityMemberType",ParticipantAndContact:"participantAndContactType",ServerSearchResult:"serverSearchResultType"};function a(a){if(a.type===i.ParticipantAndContact)return a.participant.isAdmin;if(a.type===i.CommunityMember)return a.communityMember.isAdmin;return a.type===i.BroadcastChannelParticipant?a.participant.isAdmin:!1}function b(a){if(a.type===i.ParticipantAndContact)return a.participant.isModerator;return a.type===i.CommunityMember?a.communityMember.isModerator:!1}function e(a){return a.type===i.CommunityMember?d("MessagingSpecialThreadRoleBitOffset").has(c("MessagingSpecialThreadRole").CHAT_HOST,a.communityMember):!1}function f(a){if(a.type===i.ParticipantAndContact)return a.contact.id;if(a.type===i.CommunityMember)return a.communityMember.contactId;return a.type===i.BroadcastChannelParticipant?a.participant.contactId:(h||(h=d("I64"))).of_string(a.serverSearchResult.resultId)}g.MWGroupMembershipMemberTypes=i;g.isAdmin=a;g.isModerator=b;g.isHost=e;g.contactId=f}),98);
__d("useMWLSGroupMembershipMenuQuery_facebookRelayOperation",[],(function(a,b,c,d,e,f){e.exports="24535998679380437"}),null);
__d("useMWNavigateToThreadFromGroupMembership",["FBLogger","LSIntEnum","MAWVerifyThreadCutover","MWPBumpEntityKey","Promise","ReQL","cr:874","promiseDone","useMWNavigation","useReStore"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j;function a(){var a=(j||(j=c("useReStore")))(),e=c("useMWNavigation")(),f=b("cr:874")();return function(g,j){d("MWPBumpEntityKey").bumpEntityKeyWithAppId("mw.infobar","chat_members_overflow_message"),c("promiseDone")(d("MAWVerifyThreadCutover").verifyThreadCutover((i||(i=b("Promise"))).resolve(a),g),function(b){b=b||j;if(b)c("promiseDone")(d("ReQL").firstAsync(d("ReQL").fromTableAscending(a.tables.contacts).getKeyRange(g)).then(function(a){if(a!=null&&f!=null)return f([a],[]);else{c("FBLogger")("Unable to fetch contact","maw_threads");return}}));else return e.openInbox({clientThreadKey:void 0,threadKey:g,threadType:(h||(h=d("LSIntEnum"))).ofNumber(1)},"groupMembers")})}}g["default"]=a}),98);/*FB_PKG_DELIM*/
__d("CometHeroFailTrigger.react",["react","useHeroFailTrigger"],(function(a,b,c,d,e,f,g){"use strict";var h,i=(h||d("react")).useEffect;function a(a){var b=a.description,d=a.error,e=a.fail,f=c("useHeroFailTrigger")();i(function(){e&&f({description:b,error:d})},[b,d,e,f])}g["default"]=a}),98);
__d("useCometInternalTypeaheadHeroTracing",["react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=(h||d("react")).useMemo;function a(a,b){var c=a?a.getInteractionUUID():null,d=a?a.getVCTrackerRef():null,e=c!=null&&a!=null&&!a.isResolved();return i(function(){var f=function(c,d){a&&d!=null&&a.setEventStartTime(d.timeStamp),b(c,d)};return{interactionUUID:c,onTracedChange:f,shouldHoldHeroTracing:e,vcTrackerRef:d}},[c,b,e,a,d])}g["default"]=a}),98);