;/*FB_PKG_DELIM*/

__d("BaseCheckbox.react",["BaseFocusRing.react","BaseInput.react","BaseView.react","react","react-compiler-runtime","useMergeRefs"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||(h=d("react"));b=h;var j=b.useLayoutEffect,k=b.useRef,l={checkbox:{cursor:"x1ypdohk",height:"x5yr21d",start:"x17qophe",left:null,right:null,marginTop:"xdj266r",marginEnd:"x11i5rnm",marginBottom:"xat24cr",marginStart:"x1mh8g0r",opacity:"x1w3u9th",outline:"x1a2a7pz",paddingTop:"xexx8yu",paddingEnd:"x4uap5",paddingBottom:"x18d9i69",paddingStart:"xkhd6sd",position:"x10l6tqk",top:"x13vifvy",width:"xh8yej3",$$css:!0},wrapper:{position:"x1n2onr6",$$css:!0}};e=i.forwardRef(a);function a(a,b){var e=d("react-compiler-runtime").c(20),f,g,h,m,n,o;e[0]!==a?(f=a.children,o=a.xstyle,m=a.indeterminate,h=a.suppressFocusRing,n=a.testid,g=babelHelpers.objectWithoutPropertiesLoose(a,["children","xstyle","indeterminate","suppressFocusRing","testid"]),e[0]=a,e[1]=f,e[2]=g,e[3]=h,e[4]=m,e[5]=n,e[6]=o):(f=e[1],g=e[2],h=e[3],m=e[4],n=e[5],o=e[6]);var p=m===void 0?!1:m,q=k(null);e[7]!==p?(a=function(){q.current!=null&&(q.current.indeterminate=p)},m=[p],e[7]=p,e[8]=a,e[9]=m):(a=e[8],m=e[9]);j(a,m);var r=c("useMergeRefs")(b,q);e[10]!==f||e[11]!==p||e[12]!==r||e[13]!==g||e[14]!==n||e[15]!==o?(a=function(a){return i.jsxs(c("BaseView.react"),{role:"presentation",testid:void 0,xstyle:[l.wrapper,a,o],children:[f,i.jsx(c("BaseInput.react"),babelHelpers["extends"]({},g,{"aria-checked":p?"mixed":(a=g.checked)!=null?a:!1,ref:r,type:"checkbox",xstyle:l.checkbox}))]})},e[10]=f,e[11]=p,e[12]=r,e[13]=g,e[14]=n,e[15]=o,e[16]=a):a=e[16];e[17]!==h||e[18]!==a?(m=i.jsx(c("BaseFocusRing.react"),{suppressFocusRing:h,children:a}),e[17]=h,e[18]=a,e[19]=m):m=e[19];return m}f=i.memo(e);g["default"]=f}),98);
__d("XPlatReactNestedPressableContext",["react"],(function(a,b,c,d,e,f,g){"use strict";var h;a=h||d("react");b=a.createContext(!1);g["default"]=b}),98);
__d("BaseRadio.react",["BaseFocusRing.react","BaseInput.react","BaseView.react","XPlatReactNestedPressableContext","mergeRefs","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.useMemo,m=b.useRef,n={radio:{cursor:"x1ypdohk",height:"x5yr21d",marginTop:"xdj266r",marginEnd:"x11i5rnm",marginBottom:"xat24cr",marginStart:"x1mh8g0r",opacity:"x1w3u9th",outline:"x1a2a7pz",paddingTop:"xexx8yu",paddingEnd:"x4uap5",paddingBottom:"x18d9i69",paddingStart:"xkhd6sd",position:"x10l6tqk",start:"x17qophe",left:null,right:null,top:"x13vifvy",width:"xh8yej3",$$css:!0},wrapper:{position:"x1n2onr6",$$css:!0}};e=i.forwardRef(a);function a(a,b){var d=a.children,e=a.indeterminate,f=e===void 0?!1:e,g=a.onClick,h=a.onValueChange,o=a.suppressFocusRing;e=a.testid;var p=a.xstyle,q=babelHelpers.objectWithoutPropertiesLoose(a,["children","indeterminate","onClick","onValueChange","suppressFocusRing","testid","xstyle"]),r=j(c("XPlatReactNestedPressableContext")),s=m(null);k(function(){s.current!=null&&(s.current.indeterminate=f)},[f]);var t=l(function(){return c("mergeRefs")(b,s)},[b]);return i.jsx(c("BaseFocusRing.react"),{suppressFocusRing:o,children:function(a){return i.jsxs(c("BaseView.react"),{testid:void 0,xstyle:[n.wrapper,a,p],children:[d,i.jsx(c("BaseInput.react"),babelHelpers["extends"]({},q,{"aria-checked":f?"mixed":(a=q.checked)!=null?a:!1,onClick:r?void 0:g,onValueChange:r?void 0:h,ref:t,tabIndex:o===!0?-1:void 0,type:"radio",xstyle:n.radio}))]})}})}a.displayName=a.name+" [from "+f.id+"]";d=i.memo(e);g["default"]=d}),98);
__d("CometLegacyListItemSeparator.react",["gkx","react","react-compiler-runtime","stylex"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=i||d("react");b={root:{borderBottom:"xdppsyt",marginTop:"x14vqqas",marginEnd:"xktsk01",marginBottom:"xod5an3",marginStart:"x1d52u69",$$css:!0}};e={root:{borderBottomWidth:"xso031l",borderBottomStyle:"x1q0q8m5",borderBottomColor:"x80vd3b",marginTop:"x14vqqas",marginEnd:"xktsk01",marginBottom:"xod5an3",marginStart:"x1d52u69",$$css:!0}};var k=c("gkx")("22874")?babelHelpers["extends"]({},b,e):b;function a(){var a=d("react-compiler-runtime").c(1),b;a[0]===Symbol["for"]("react.memo_cache_sentinel")?(b=j.jsx("div",babelHelpers["extends"]({},(h||(h=c("stylex"))).props(k.root),{role:"separator"})),a[0]=b):b=a[0];return b}g["default"]=a}),98);
__d("useCometPressableEventHandlers",["ExecutionEnvironment","XPlatReactNestedPressableContext","emptyObject","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=i||(i=d("react"));b=i;var k=b.useCallback,l=b.useContext,m=b.useEffect,n=b.useLayoutEffect,o=b.useRef,p=b.useState,q=new Set();(h||(h=c("ExecutionEnvironment"))).canUseDOM&&document.addEventListener("mousedown",function(){q.forEach(function(a){return a()})},!0);var r=function(a){q.add(a);return function(){q["delete"](a)}},s=new Set();(h||(h=c("ExecutionEnvironment"))).canUseDOM&&document.addEventListener("keydown",function(a){switch(a.key){case"ArrowUp":case"ArrowRight":case"ArrowDown":case"ArrowLeft":case"Tab":case"Enter":case" ":case"Escape":s.forEach(function(a){return a()})}},!0);var t=function(a){s.add(a);return function(){s["delete"](a)}},u=(h||(h=c("ExecutionEnvironment"))).canUseDOM?null:!0;function v(){u==null&&(u=!window.matchMedia("(pointer: coarse)").matches);return u}var w=0,x=1;function a(a){var b=a.clickOnSpace,d=b===void 0?!1:b;b=a.disabled;b=b===void 0?!1:b;var e=a.onFocusChange,f=a.onFocusIn,g=a.onFocusOut,h=a.onFocusVisibleChange,i=a.onHoverChange,q=a.onHoverIn,s=a.onHoverOut,u=a.onPress,y=a.onPressChange,z=a.onPressIn,A=a.onPressOut;a=a.testOnly_pressed;var B=a===void 0?!1:a;a=l(c("XPlatReactNestedPressableContext"));var C=o(w),D=p(!1),E=D[0],F=D[1];D=p(b);var G=D[0];D=D[1];var H=p(B),I=H[0],J=H[1];H=p(!1);var K=H[0],L=H[1];H=p(!1);var M=H[0],N=H[1];H=p(!1);var O=H[0],P=H[1];m(function(){var a=r(function(){C.current=w}),b=t(function(){C.current=x});return function(){a(),b()}},[]);var Q=k(function(a){J(a),y&&y(a)},[y]),R=k(function(a){L(a),e&&e(a),(C.current===x||!a&&M)&&(N(a),h&&h(a))},[e,h,M]),S=k(function(a){P(a),i&&i(a)},[i]);H=p(B);var T=H[0],U=H[1];n(function(){B!==T&&(Q(B),U(B))},[T,Q,B]);H=o(null);var V=k(function(a){R(!0),f&&f(a)},[f,R]),W=k(function(a){K&&(R(!1),g&&g(a))},[K,g,R]),X=k(function(a){if(!v())return;E&&(Q(!0),!I&&z&&z(a));S(!0);q&&q(a)},[E,q,z,I,S,Q]),Y=k(function(a){I&&(Q(!1),A&&A(a)),O&&(S(!1),s&&s(a))},[O,s,A,I,S,Q]),Z=k(function(a){F(!0),Q(!0),z&&z(a)},[z,Q]),aa=k(function(a){F(!1),I&&(Q(!1),A&&A(a))},[A,I,Q]),$=o(!1),ba=k(function(a){$.current=a.touches.length===1,Q($.current),$.current&&z!=null&&z(a)},[z,Q]),ca=k(function(a){$.current=!1,I&&(Q(!1),A&&A(a))},[A,I,Q]),da=k(function(a){I&&(Q(!1),$.current&&a.touches.length===1&&(A&&A(a)))},[A,I,Q]);m(function(){if(E&&!O){var a=function(){F(!1)};document.addEventListener("mouseup",a,{capture:!0,passive:!0});return function(){document.removeEventListener("mouseup",a,{capture:!0,passive:!0})}}return function(){}},[a,E,Q,O]);var ea=k(function(a){var b=a.target;u!=null&&b instanceof HTMLElement&&b.tagName==="LABEL"&&a.preventDefault();F(!1);u&&u(a)},[u]),fa=k(function(a){a.key==="Enter"&&(u&&u(a)),a.key===" "&&d&&(u&&u(a))},[d,u]);b!==G&&(b&&(Q(!1),R(!1),S(!1)),D(b));G=b?c("emptyObject"):{onBlur:W,onClick:ea,onFocus:V,onKeyDown:fa,onMouseDown:Z,onMouseEnter:X,onMouseLeave:Y,onMouseUp:aa,onTouchEnd:da,onTouchMove:ca,onTouchStart:ba};D=k(function(a){a=a.children;return j.jsx(c("XPlatReactNestedPressableContext").Provider,{value:!0,children:a})},[]);return[H,a,{disabled:b,focused:K,focusVisible:M,hovered:O,pressed:I},G,D]}g["default"]=a}),98);
__d("CometListCellRadioAddOn.react",["ix","BaseRadio.react","CometListCellContext","CometPressableOverlay.react","FDSIcon.react","FDSRadioListContext","fbicon","react","react-compiler-runtime","useCometPressableEventHandlers"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j=i||(i=d("react"));b=i;b.useCallback;var k=b.useContext,l={radio:{display:"x78zum5",$$css:!0}};e=j.forwardRef(a);function a(a,b){var e=d("react-compiler-runtime").c(44),f;e[0]!==a?(f=babelHelpers["extends"]({},a),e[0]=a,e[1]=f):f=e[1];var g,i,m,n,o,p,q,r,s,t,u;if(e[2]!==f){a=f;g=a["aria-label"];i=a["aria-labelledby"];r=a.checked;m=a.checkedIcon;n=a.color;s=a.disabled;o=a.icon;p=a.name;q=a.onValueChange;t=a.testid;u=a.value;a=babelHelpers.objectWithoutPropertiesLoose(a,["aria-label","aria-labelledby","checked","checkedIcon","color","disabled","icon","name","onValueChange","testid","value"]);e[2]=f;e[3]=g;e[4]=i;e[5]=m;e[6]=n;e[7]=o;e[8]=p;e[9]=q;e[10]=a;e[11]=r;e[12]=s;e[13]=t;e[14]=u}else g=e[3],i=e[4],m=e[5],n=e[6],o=e[7],p=e[8],q=e[9],a=e[10],r=e[11],s=e[12],t=e[13],u=e[14];f=r===void 0?!1:r;r=s===void 0?!1:s;if(e[15]!==m){s=(s=m)!=null?s:d("fbicon")._(h("621399"),20);e[15]=m;e[16]=s}else s=e[16];m=s;if(e[17]!==o){s=(s=o)!=null?s:d("fbicon")._(h("545517"),20);e[17]=o;e[18]=s}else s=e[18];o=s;s=k(c("CometListCellContext"));s=s.disabled;var v=k(c("FDSRadioListContext")),w=v.name,x=v.onValueChange;v=v.value;s=(s=s)!=null?s:r;e[19]!==s?(r={disabled:s},e[19]=s,e[20]=r):r=e[20];r=c("useCometPressableEventHandlers")(r);r=r[2];var y=r.focusVisible,z=r.hovered;r=r.pressed;p=(p=p)!=null?p:w;u=(w=u)!=null?w:v;var A=(w=q)!=null?w:x;e[21]!==A?(v=function(a){A&&A(a.target.value)},e[21]=A,e[22]=v):v=e[22];q=v;x=s===!0?"disabled":f===!0?(w=n)!=null?w:"highlight":"secondary";v=f?m:o;e[23]!==s||e[24]!==x||e[25]!==v?(n=j.jsx(c("FDSIcon.react"),{color:x,disabled:s,icon:v}),e[23]=s,e[24]=x,e[25]=v,e[26]=n):n=e[26];e[27]!==y||e[28]!==z||e[29]!==r?(w=j.jsx(c("CometPressableOverlay.react"),{focusVisible:y,hovered:z,offset:8,pressed:r,radius:"50%"}),e[27]=y,e[28]=z,e[29]=r,e[30]=w):w=e[30];e[31]!==g||e[32]!==i||e[33]!==f||e[34]!==s||e[35]!==p||e[36]!==q||e[37]!==a||e[38]!==b||e[39]!==n||e[40]!==w||e[41]!==t||e[42]!==u?(m=j.jsxs(c("BaseRadio.react"),babelHelpers["extends"]({},a,{"aria-label":g,"aria-labelledby":i,checked:f,disabled:s,name:p,onChange:q,ref:b,testid:void 0,value:u,xstyle:l.radio,children:[n,w]})),e[31]=g,e[32]=i,e[33]=f,e[34]=s,e[35]=p,e[36]=q,e[37]=a,e[38]=b,e[39]=n,e[40]=w,e[41]=t,e[42]=u,e[43]=m):m=e[43];return m}f=e;g["default"]=f}),98);
__d("FDSCheckboxListContext",["react"],(function(a,b,c,d,e,f,g){"use strict";var h;a=h||d("react");b=a.createContext({name:void 0,nestedSpacing:void 0,onValueChange:void 0,value:void 0});g["default"]=b}),98);