PageSourceSearch

https://carnegieendowment.org/_next/static/chunks/0dkakiccnxt7u.js

js carnegieendowment.org collected 2026-09-24 06:42:05 UTC 36,491 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,700602,914889,e=>{"use strict";var t=e.i(573378),r=e.i(216887),n=e.i(514423),o=e.i(565319);let i=(0,e.i(464194).tv)({base:"inline-flex max-w-fit items-center justify-center text-nowrap rounded-[100rem] bg-tagBlue px-[1.6rem] py-[1.2rem] font-mono text-labelSentence leading-none text-blueDark duration-200 ease-in-out hover:bg-tagBlueHover active:bg-tagBlueActive",defaultVariants:{assist:!1,condensed:!1},variants:{condensed:{true:"pb-[0.9rem]"},theme:{dark:"bg-noir/10 text-noir/80 outline outline-1 outline-noir/10 hover:bg-noir/[.05] hover:text-noir hover:outline-blanc active:bg-noir/30",outline:"bg-transparent text-blue/80 outline outline-1 outline-blue/20 hover:text-blue",podcast:"rounded-xs border border-[noir,_0.3] bg-yellowLight px-4 py-2 uppercase text-yellow",teal:"border-1 border-noir bg-teal text-white/80 outline outline-1 outline-blanc hover:border-white hover:bg-teal/50 hover:text-white active:bg-teal/30"}}}),a=(0,r.forwardRef)(({ariaLabel:e,asChild:r,className:a,condensed:s,theme:l,...u},d)=>{let c=r?n.Slot:"div";return(0,t.jsx)(c,{"aria-label":e,className:(0,o.cn)("text-labelSentence",i({className:a,condensed:s,theme:l})),ref:d,...u})});a.displayName="Badge",e.s(["Badge",0,a],914889),e.s([],700602)},741300,e=>{"use strict";let t=(0,e.i(216887).createContext)(void 0);e.s(["AnalyticsContext",0,t])},73125,e=>{"use strict";var t=e.i(856794);function r(e,t){return(...e)=>{try{return t(...e)}catch{throw Error(void 0)}}}let n=r(0,t.useTranslations),o=r(0,t.useFormatter);e.s(["useFormatter",0,o,"useTranslations",0,n])},832356,e=>{"use strict";e.s([],180703),e.i(180703);var t=e.i(725827),r=e.i(906464);e.s(["defaultErrorMap",()=>r.default,"getErrorMap",()=>t.getErrorMap,"setErrorMap",()=>t.setErrorMap],279407),e.i(279407);var n=e.i(696555);e.s([],924326),e.i(924326);var o=e.i(458728),i=e.i(480),a=e.i(559413);e.s(["BRAND",()=>i.BRAND,"DIRTY",()=>n.DIRTY,"EMPTY_PATH",()=>n.EMPTY_PATH,"INVALID",()=>n.INVALID,"NEVER",()=>i.NEVER,"OK",()=>n.OK,"ParseStatus",()=>n.ParseStatus,"Schema",()=>i.Schema,"ZodAny",()=>i.ZodAny,"ZodArray",()=>i.ZodArray,"ZodBigInt",()=>i.ZodBigInt,"ZodBoolean",()=>i.ZodBoolean,"ZodBranded",()=>i.ZodBranded,"ZodCatch",()=>i.ZodCatch,"ZodDate",()=>i.ZodDate,"ZodDefault",()=>i.ZodDefault,"ZodDiscriminatedUnion",()=>i.ZodDiscriminatedUnion,"ZodEffects",()=>i.ZodEffects,"ZodEnum",()=>i.ZodEnum,"ZodError",()=>a.ZodError,"ZodFirstPartyTypeKind",()=>i.ZodFirstPartyTypeKind,"ZodFunction",()=>i.ZodFunction,"ZodIntersection",()=>i.ZodIntersection,"ZodIssueCode",()=>a.ZodIssueCode,"ZodLazy",()=>i.ZodLazy,"ZodLiteral",()=>i.ZodLiteral,"ZodMap",()=>i.ZodMap,"ZodNaN",()=>i.ZodNaN,"ZodNativeEnum",()=>i.ZodNativeEnum,"ZodNever",()=>i.ZodNever,"ZodNull",()=>i.ZodNull,"ZodNullable",()=>i.ZodNullable,"ZodNumber",()=>i.ZodNumber,"ZodObject",()=>i.ZodObject,"ZodOptional",()=>i.ZodOptional,"ZodParsedType",()=>o.ZodParsedType,"ZodPipeline",()=>i.ZodPipeline,"ZodPromise",()=>i.ZodPromise,"ZodReadonly",()=>i.ZodReadonly,"ZodRecord",()=>i.ZodRecord,"ZodSchema",()=>i.ZodSchema,"ZodSet",()=>i.ZodSet,"ZodString",()=>i.ZodString,"ZodSymbol",()=>i.ZodSymbol,"ZodTransformer",()=>i.ZodTransformer,"ZodTuple",()=>i.ZodTuple,"ZodType",()=>i.ZodType,"ZodUndefined",()=>i.ZodUndefined,"ZodUnion",()=>i.ZodUnion,"ZodUnknown",()=>i.ZodUnknown,"ZodVoid",()=>i.ZodVoid,"addIssueToContext",()=>n.addIssueToContext,"any",()=>i.any,"array",()=>i.array,"bigint",()=>i.bigint,"boolean",()=>i.boolean,"coerce",()=>i.coerce,"custom",()=>i.custom,"date",()=>i.date,"datetimeRegex",()=>i.datetimeRegex,"defaultErrorMap",()=>r.default,"discriminatedUnion",()=>i.discriminatedUnion,"effect",()=>i.effect,"enum",()=>i.enum,"function",()=>i.function,"getErrorMap",()=>t.getErrorMap,"getParsedType",()=>o.getParsedType,"instanceof",()=>i.instanceof,"intersection",()=>i.intersection,"isAborted",()=>n.isAborted,"isAsync",()=>n.isAsync,"isDirty",()=>n.isDirty,"isValid",()=>n.isValid,"late",()=>i.late,"lazy",()=>i.lazy,"literal",()=>i.literal,"makeIssue",()=>n.makeIssue,"map",()=>i.map,"nan",()=>i.nan,"nativeEnum",()=>i.nativeEnum,"never",()=>i.never,"null",()=>i.null,"nullable",()=>i.nullable,"number",()=>i.number,"object",()=>i.object,"objectUtil",()=>o.objectUtil,"oboolean",()=>i.oboolean,"onumber",()=>i.onumber,"optional",()=>i.optional,"ostring",()=>i.ostring,"pipeline",()=>i.pipeline,"preprocess",()=>i.preprocess,"promise",()=>i.promise,"quotelessJson",()=>a.quotelessJson,"record",()=>i.record,"set",()=>i.set,"setErrorMap",()=>t.setErrorMap,"strictObject",()=>i.strictObject,"string",()=>
1i.string,"symbol",()=>i.symbol,"transformer",()=>i.transformer,"tuple",()=>i.tuple,"undefined",()=>i.undefined,"union",()=>i.union,"unknown",()=>i.unknown,"util",()=>o.util,"void",()=>i.void],966951);var s=e.i(966951);e.s(["z",0,s],832356)},589291,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={default:function(){return d},getImageProps:function(){return u}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let i=e.r(481258),a=e.r(687212),s=e.r(749905),l=i._(e.r(412068));function u(e){let{props:t}=(0,a.getImgProps)(e,{defaultLoader:l.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],qualities:[75],path:"/_next/image/",loader:"custom",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[e,r]of Object.entries(t))void 0===r&&delete t[e];return{props:t}}let d=s.Image},13418,(e,t,r)=>{t.exports=e.r(589291)},527139,e=>{"use strict";var t=e.i(216887),r=e.i(741300);e.s(["useAnalytics",0,()=>{let e=(0,t.useContext)(r.AnalyticsContext);if(!e)throw Error("useAnalytics must be used within an AnalyticsProvider");return e}])},801837,e=>{"use strict";var t=e.i(216887),r=e.i(263877);e.s(["useSize",0,function(e){let[n,o]=t.useState(void 0);return(0,r.useLayoutEffect)(()=>{if(e){o({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let r,n;if(!Array.isArray(t)||!t.length)return;let i=t[0];if("borderBoxSize"in i){let e=i.borderBoxSize,t=Array.isArray(e)?e[0]:e;r=t.inlineSize,n=t.blockSize}else r=e.offsetWidth,n=e.offsetHeight;o({width:r,height:n})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}o(void 0)},[e]),n}])},858422,466112,e=>{"use strict";var t=e.i(573378),r=e.i(216887),n=e.i(514423),o=e.i(294237),i=e.i(565319);let a=(0,o.cva)(["flex"],{compoundVariants:[{className:["flex-col"],direction:"column",reverse:!1},{className:["flex-col-reverse"],direction:"column",reverse:!0},{className:["flex-row"],direction:"row",reverse:!1},{className:["flex-row-reverse"],direction:"row",reverse:!0}],defaultVariants:{content:void 0,direction:"column",grow:void 0,items:void 0,justify:void 0,reverse:!1,self:void 0,shrink:void 0,wrap:void 0},variants:{content:{around:["content-around"],baseline:["content-baseline"],between:["content-between"],center:["content-center"],end:["content-end"],evenly:["content-evenly"],none:["content-none"],normal:["content-normal"],start:["content-start"],stretch:["content-stretch"]},direction:{column:void 0,row:void 0},grow:{false:["flex-grow-0"],true:["flex-grow"]},items:{baseline:["items-baseline"],center:["items-center"],end:["items-end"],start:["items-start"],stretch:["items-stretch"]},justify:{around:["justify-around"],between:["justify-between"],center:["justify-center"],end:["justify-end"],evenly:["justify-evenly"],normal:["justify-normal"],start:["justify-start"],stretch:["justify-evenly"]},reverse:{false:void 0,true:void 0},self:{auto:["self-auto"],baseline:["self-baseline"],center:["self-center"],end:["self-end"],start:["self-start"],stretch:["self-stretch"]},shrink:{false:["flex-shrink-0"],true:["flex-shrink"]},wrap:{nowrap:["flex-nowrap"],reverse:["flex-wrap-reverse"],wrap:["flex-wrap"]}}}),s=(0,r.forwardRef)(({asChild:e=!1,className:t,content:o,direction:s,grow:l,items:u,justify:d,reverse:c,self:p,shrink:f,wrap:m,...v},g)=>{let h,y=e?n.Slot:"div";return(0,r.createElement)(y,{...v,className:(h={className:t,content:o,direction:s,grow:l,items:u,justify:d,reverse:c,self:p,shrink:f,wrap:m},(0,i.cn)(a(h))),ref:g})});s.displayName="Flex",e.s(["Flex",0,s],466112),(0,r.forwardRef)((e,r)=>(0,t.jsx)(s,{...e,direction:"column",ref:r})).displayName="Column",(0,r.forwardRef)((e,r)=>(0,t.jsx)(s,{...e,direction:"row",ref:r})).displayName="Row",e.s([],858422)},497935,e=>{"use strict";e.i(81755),e.s([])},800681,401392,e=>{"use strict";var t=e.i(278928),r=e.i(216887),n=e.i(372400),o="u">typeof document?r.useLayoutEffect:function(){};function i(e,t){let r,n,o;if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if((r=e.length)!==t.length)return!1;for(n=r;0!=n--;)if(!i(e[n],t[n]))return!1;return!0}if((r=(o=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(n=r;0!=n--;)if(!({}).hasOwnProperty.call(t,o[n]))return!1;for(n=r;0!=n--;){let r=o[n];if(("_owner"!==r||!e.$$typeof)&&!i(e[r],t[r]))return!1}return!0}return e!=e&&t!=t}function a(e){return"u"<typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function s(e,t){let r=a(e);return Math.round(t*r)/r}function l(e){let t=r.useRef(e);return o(()=>{t.current=e}),t}e.s(["arrow",0,(e,r)=>({name:"arrow",options:e,fn(r){let{element:n,padding:o}="function"==typeof e?e(r):e;return n&&({}).hasOwnProperty.call(n,"current")?null!=n.current?(0,t.arrow)({element:n.current,padding:o}).fn(r):{}:n?(0,t.arrow)({element:n,padding:o}).fn(r):{}},options:[e,r]}),"flip",0,(e,r)=>({...(0,t.flip)(e),options:[e,r]}),"hide",0,(e,r)=>({...(0,t.hide)(e),options:[e,r]}),"limitShift",0,(e,r)=>({...(0,t.limitShift)(e),options:[e,r]}),"offset",0,(e,r)=>({...(0,t.offset)(e),options:[e,r]}),"shift",0,(e,r)=>({...(0,t.shift)(e),options:[e,r]}),"size",0,(e,r)=>({...(0,t.size)(e),options:[e,r]}),"useFloating",0,function(e){void 0===e&&(e={});let{placement:u="bottom",strategy:d="absolute",middleware:c=[],platform:p,elements:{reference:f,floating:m}={},transform:v=!0,whileElementsMounted:g,open:h}=e,[y,w]=r.useState({x:0,y:0,strategy:d,placement:u,middlewareData:{},isPositioned:!1}),[x,b]=r.useState(c);i(x,c)||b(c);let[C,R]=r.useState(null),[j,P]=r.useState(null),E=r.useCallback(e=>
1{e!==D.current&&(D.current=e,R(e))},[]),S=r.useCallback(e=>{e!==I.current&&(I.current=e,P(e))},[]),M=f||C,Z=m||j,D=r.useRef(null),I=r.useRef(null),A=r.useRef(y),k=null!=g,N=l(g),_=l(p),T=l(h),O=r.useCallback(()=>{if(!D.current||!I.current)return;let e={placement:u,strategy:d,middleware:x};_.current&&(e.platform=_.current),(0,t.computePosition)(D.current,I.current,e).then(e=>{let t={...e,isPositioned:!1!==T.current};L.current&&!i(A.current,t)&&(A.current=t,n.flushSync(()=>{w(t)}))})},[x,u,d,_,T]);o(()=>{!1===h&&A.current.isPositioned&&(A.current.isPositioned=!1,w(e=>({...e,isPositioned:!1})))},[h]);let L=r.useRef(!1);o(()=>(L.current=!0,()=>{L.current=!1}),[]),o(()=>{if(M&&(D.current=M),Z&&(I.current=Z),M&&Z){if(N.current)return N.current(M,Z,O);O()}},[M,Z,O,N,k]);let F=r.useMemo(()=>({reference:D,floating:I,setReference:E,setFloating:S}),[E,S]),H=r.useMemo(()=>({reference:M,floating:Z}),[M,Z]),K=r.useMemo(()=>{let e={position:d,left:0,top:0};if(!H.floating)return e;let t=s(H.floating,y.x),r=s(H.floating,y.y);return v?{...e,transform:"translate("+t+"px, "+r+"px)",...a(H.floating)>=1.5&&{willChange:"transform"}}:{position:d,left:t,top:r}},[d,v,H.floating,y.x,y.y]);return r.useMemo(()=>({...y,update:O,refs:F,elements:H,floatingStyles:K}),[y,O,F,H,K])}],800681);var u=e.i(606088),d=e.i(573378),c=r.forwardRef((e,t)=>{let{children:r,width:n=10,height:o=5,...i}=e;return(0,d.jsx)(u.Primitive.svg,{...i,ref:t,width:n,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?r:(0,d.jsx)("polygon",{points:"0,0 30,0 15,10"})})});c.displayName="Arrow",e.s(["Root",0,c],401392)},211336,e=>{"use strict";var t=e.i(216887),r=e.i(800681),n=e.i(278928),o=e.i(401392),i=e.i(639249),a=e.i(395672),s=e.i(606088),l=e.i(86289),u=e.i(263877),d=e.i(801837),c=e.i(573378),p="Popper",[f,m]=(0,a.createContextScope)(p),[v,g]=f(p),h=e=>{let{__scopePopper:r,children:n}=e,[o,i]=t.useState(null);return(0,c.jsx)(v,{scope:r,anchor:o,onAnchorChange:i,children:n})};h.displayName=p;var y="PopperAnchor",w=t.forwardRef((e,r)=>{let{__scopePopper:n,virtualRef:o,...a}=e,l=g(y,n),u=t.useRef(null),d=(0,i.useComposedRefs)(r,u),p=t.useRef(null);return t.useEffect(()=>{let e=p.current;p.current=o?.current||u.current,e!==p.current&&l.onAnchorChange(p.current)}),o?null:(0,c.jsx)(s.Primitive.div,{...a,ref:d})});w.displayName=y;var x="PopperContent",[b,C]=f(x),R=t.forwardRef((e,o)=>{let{__scopePopper:a,side:p="bottom",sideOffset:f=0,align:m="center",alignOffset:v=0,arrowPadding:h=0,avoidCollisions:y=!0,collisionBoundary:w=[],collisionPadding:C=0,sticky:R="partial",hideWhenDetached:j=!1,updatePositionStrategy:P="optimized",onPlaced:E,...D}=e,I=g(x,a),[A,k]=t.useState(null),N=(0,i.useComposedRefs)(o,e=>k(e)),[_,T]=t.useState(null),O=(0,d.useSize)(_),L=O?.width??0,F=O?.height??0,H="number"==typeof C?C:{top:0,right:0,bottom:0,left:0,...C},K=Array.isArray(w)?w:[w],B=K.length>0,V={padding:H,boundary:K.filter(S),altBoundary:B},{refs:U,floatingStyles:z,placement:$,isPositioned:G,middlewareData:Y}=(0,r.useFloating)({strategy:"fixed",placement:p+("center"!==m?"-"+m:""),whileElementsMounted:(...e)=>(0,n.autoUpdate)(...e,{animationFrame:"always"===P}),elements:{reference:I.anchor},middleware:[(0,r.offset)({mainAxis:f+F,alignmentAxis:v}),y&&(0,r.shift)({mainAxis:!0,crossAxis:!1,limiter:"partial"===R?(0,r.limitShift)():void 0,...V}),y&&(0,r.flip)({...V}),(0,r.size)({...V,apply:({elements:e,rects:t,availableWidth:r,availableHeight:n})=>{let{width:o,height:i}=t.reference,a=e.floating.style;a.setProperty("--radix-popper-available-width",`${r}px`),a.setProperty("--radix-popper-available-height",`${n}px`),a.setProperty("--radix-popper-anchor-width",`${o}px`),a.setProperty("--radix-popper-anchor-height",`${i}px`)}}),_&&(0,r.arrow)({element:_,padding:h}),M({arrowWidth:L,arrowHeight:F}),j&&(0,r.hide)({strategy:"referenceHidden",...V})]}),[X,W]=Z($),q=(0,l.useCallbackRef)(E);(0,u.useLayoutEffect)(()=>{G&&q?.()},[G,q]);let J=Y.arrow?.x,Q=Y.arrow?.y,ee=Y.arrow?.centerOffset!==0,[et,er]=t.useState();return(0,u.useLayoutEffect)(()=>{A&&er(window.getComputedStyle(A).zIndex)},[A]),(0,c.jsx)("div",{ref:U.setFloating,"data-radix-popper-content-wrapper":"",style:{...z,transform:G?z.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:et,"--radix-popper-transform-origin":[Y.transformOrigin?.x,Y.transformOrigin?.y].join(" "),...Y.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,c.jsx)(b,{scope:a,placedSide:X,onArrowChange:T,arrowX:J,arrowY:Q,shouldHideArrow:ee,children:(0,c.jsx)(s.Primitive.div,{"data-side":X,"data-align":W,...D,ref:N,style:{...D.style,animation:G?void 0:"none"}})})})});R.displayName=x;var j="PopperArrow",P={top:"bottom",right:"left",bottom:"top",left:"r
1ight"},E=t.forwardRef(function(e,t){let{__scopePopper:r,...n}=e,i=C(j,r),a=P[i.placedSide];return(0,c.jsx)("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[a]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0},children:(0,c.jsx)(o.Root,{...n,ref:t,style:{...n.style,display:"block"}})})});function S(e){return null!==e}E.displayName=j;var M=e=>({name:"transformOrigin",options:e,fn(t){let{placement:r,rects:n,middlewareData:o}=t,i=o.arrow?.centerOffset!==0,a=i?0:e.arrowWidth,s=i?0:e.arrowHeight,[l,u]=Z(r),d={start:"0%",center:"50%",end:"100%"}[u],c=(o.arrow?.x??0)+a/2,p=(o.arrow?.y??0)+s/2,f="",m="";return"bottom"===l?(f=i?d:`${c}px`,m=`${-s}px`):"top"===l?(f=i?d:`${c}px`,m=`${n.floating.height+s}px`):"right"===l?(f=`${-s}px`,m=i?d:`${p}px`):"left"===l&&(f=`${n.floating.width+s}px`,m=i?d:`${p}px`),{data:{x:f,y:m}}}});function Z(e){let[t,r="center"]=e.split("-");return[t,r]}e.s(["Anchor",0,w,"Arrow",0,E,"Content",0,R,"Root",0,h,"createPopperScope",0,m])},510901,282875,e=>{"use strict";var t=e.i(366805),r=e.i(480);e.s(["createEnv",0,function(e){let n="object"==typeof e.client?e.client:{},o="object"==typeof e.server?e.server:{},i=e.shared,a=e.runtimeEnv?e.runtimeEnv:{...t.default.env,...e.experimental__runtimeEnv};return function(e){let n=e.runtimeEnvStrict??e.runtimeEnv??t.default.env;if(e.emptyStringAsUndefined)for(let[e,t]of Object.entries(n))""===t&&delete n[e];if(e.skipValidation)return n;let o="object"==typeof e.client?e.client:{},i="object"==typeof e.server?e.server:{},a="object"==typeof e.shared?e.shared:{},s=(0,r.object)(o),l=(0,r.object)(i),u=(0,r.object)(a),d=e.isServer??("u"<typeof window||"Deno"in window),c=s.merge(u),p=l.merge(u).merge(s),f=d?p.safeParse(n):c.safeParse(n),m=e.onValidationError??(e=>{throw console.error("❌ Invalid environment variables:",e.flatten().fieldErrors),Error("Invalid environment variables")}),v=e.onInvalidAccess??(e=>{throw Error("❌ Attempted to access a server-side environment variable on the client")});if(!1===f.success)return m(f.error);let g=(e.extends??[]).reduce((e,t)=>Object.assign(e,t),{});return new Proxy(Object.assign(f.data,g),{get(t,r){if("string"==typeof r&&"__esModule"!==r&&"$$typeof"!==r)return d||e.clientPrefix&&(r.startsWith(e.clientPrefix)||r in u.shape)?Reflect.get(t,r):v(r)}})}({...e,shared:i,client:n,server:o,clientPrefix:"NEXT_PUBLIC_",runtimeEnv:a})}],510901);let n=!!t.default.env.CI||!!t.default.env.SKIP_ENV_VALIDATION||"lint"===t.default.env.npm_lifecycle_event;e.s(["skipValidation",0,n],282875)},36193,e=>{"use strict";var t=e.i(216887),r=e.i(291967),n=e.i(639249),o=e.i(395672),i=e.i(830252),a=e.i(606088),s=e.i(439746),l=e.i(592364),u=e.i(720486),d=e.i(999659),c=e.i(275172),p=e.i(516164),f=e.i(211336),m=e.i(939366),v=e.i(152136),g=e.i(806249),h=e.i(514423),y=e.i(86289),w=e.i(73772),x=e.i(499520),b=e.i(573378),C=["Enter"," "],R=["ArrowUp","PageDown","End"],j=["ArrowDown","PageUp","Home",...R],P={ltr:[...C,"ArrowRight"],rtl:[...C,"ArrowLeft"]},E={ltr:["ArrowLeft"],rtl:["ArrowRight"]},S="Menu",[M,Z,D]=(0,s.createCollection)(S),[I,A]=(0,o.createContextScope)(S,[D,f.createPopperScope,g.createRovingFocusGroupScope]),k=(0,f.createPopperScope)(),N=(0,g.createRovingFocusGroupScope)(),[_,T]=I(S),[O,L]=I(S),F=e=>{let{__scopeMenu:r,open:n=!1,children:o,dir:i,onOpenChange:a,modal:s=!0}=e,u=k(r),[d,c]=t.useState(null),p=t.useRef(!1),m=(0,y.useCallbackRef)(a),v=(0,l.useDirection)(i);return t.useEffect(()=>{let e=()=>{p.current=!0,document.addEventListener("pointerdown",t,{capture:!0,once:!0}),document.addEventListener("pointermove",t,{capture:!0,once:!0})},t=()=>p.current=!1;return document.addEventListener("keydown",e,{capture:!0}),()=>{document.removeEventListener("keydown",e,{capture:!0}),document.removeEventListener("pointerdown",t,{capture:!0}),document.removeEventListener("pointermove",t,{capture:!0})}},[]),(0,b.jsx)(f.Root,{...u,children:(0,b.jsx)(_,{scope:r,open:n,onOpenChange:m,content:d,onContentChange:c,children:(0,b.jsx)(O,{scope:r,onClose:t.useCallback(()=>m(!1),[m]),isUsingKeyboardRef:p,dir:v,modal:s,children:o})})})};F.displayName=S;var H=t.forwardRef((e,t)=>
1{let{__scopeMenu:r,...n}=e,o=k(r);return(0,b.jsx)(f.Anchor,{...o,...n,ref:t})});H.displayName="MenuAnchor";var K="MenuPortal",[B,V]=I(K,{forceMount:void 0}),U=e=>{let{__scopeMenu:t,forceMount:r,children:n,container:o}=e,i=T(K,t);return(0,b.jsx)(B,{scope:t,forceMount:r,children:(0,b.jsx)(v.Presence,{present:r||i.open,children:(0,b.jsx)(m.Portal,{asChild:!0,container:o,children:n})})})};U.displayName=K;var z="MenuContent",[$,G]=I(z),Y=t.forwardRef((e,t)=>{let r=V(z,e.__scopeMenu),{forceMount:n=r.forceMount,...o}=e,i=T(z,e.__scopeMenu),a=L(z,e.__scopeMenu);return(0,b.jsx)(M.Provider,{scope:e.__scopeMenu,children:(0,b.jsx)(v.Presence,{present:n||i.open,children:(0,b.jsx)(M.Slot,{scope:e.__scopeMenu,children:a.modal?(0,b.jsx)(X,{...o,ref:t}):(0,b.jsx)(W,{...o,ref:t})})})})}),X=t.forwardRef((e,o)=>{let i=T(z,e.__scopeMenu),a=t.useRef(null),s=(0,n.useComposedRefs)(o,a);return t.useEffect(()=>{let e=a.current;if(e)return(0,w.hideOthers)(e)},[]),(0,b.jsx)(J,{...e,ref:s,trapFocus:i.open,disableOutsidePointerEvents:i.open,disableOutsideScroll:!0,onFocusOutside:(0,r.composeEventHandlers)(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>i.onOpenChange(!1)})}),W=t.forwardRef((e,t)=>{let r=T(z,e.__scopeMenu);return(0,b.jsx)(J,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>r.onOpenChange(!1)})}),q=(0,h.createSlot)("MenuContent.ScrollLock"),J=t.forwardRef((e,o)=>{let{__scopeMenu:i,loop:a=!1,trapFocus:s,onOpenAutoFocus:l,onCloseAutoFocus:p,disableOutsidePointerEvents:m,onEntryFocus:v,onEscapeKeyDown:h,onPointerDownOutside:y,onFocusOutside:w,onInteractOutside:C,onDismiss:P,disableOutsideScroll:E,...S}=e,M=T(z,i),D=L(z,i),I=k(i),A=N(i),_=Z(i),[O,F]=t.useState(null),H=t.useRef(null),K=(0,n.useComposedRefs)(o,H,M.onContentChange),B=t.useRef(0),V=t.useRef(""),U=t.useRef(0),G=t.useRef(null),Y=t.useRef("right"),X=t.useRef(0),W=E?x.RemoveScroll:t.Fragment;t.useEffect(()=>()=>window.clearTimeout(B.current),[]),(0,d.useFocusGuards)();let J=t.useCallback(e=>{var t,r;return Y.current===G.current?.side&&(t=e,!!(r=G.current?.area)&&function(e,t){let{x:r,y:n}=e,o=!1;for(let e=0,i=t.length-1;e<t.length;i=e++){let a=t[e],s=t[i],l=a.x,u=a.y,d=s.x,c=s.y;u>n!=c>n&&r<(d-l)*(n-u)/(c-u)+l&&(o=!o)}return o}({x:t.clientX,y:t.clientY},r))},[]);return(0,b.jsx)($,{scope:i,searchRef:V,onItemEnter:t.useCallback(e=>{J(e)&&e.preventDefault()},[J]),onItemLeave:t.useCallback(e=>{J(e)||(H.current?.focus(),F(null))},[J]),onTriggerLeave:t.useCallback(e=>{J(e)&&e.preventDefault()},[J]),pointerGraceTimerRef:U,onPointerGraceIntentChange:t.useCallback(e=>{G.current=e},[]),children:(0,b.jsx)(W,{...E?{as:q,allowPinchZoom:!0}:void 0,children:(0,b.jsx)(c.FocusScope,{asChild:!0,trapped:s,onMountAutoFocus:(0,r.composeEventHandlers)(l,e=>{e.preventDefault(),H.current?.focus({preventScroll:!0})}),onUnmountAutoFocus:p,children:(0,b.jsx)(u.DismissableLayer,{asChild:!0,disableOutsidePointerEvents:m,onEscapeKeyDown:h,onPointerDownOutside:y,onFocusOutside:w,onInteractOutside:C,onDismiss:P,children:(0,b.jsx)(g.Root,{asChild:!0,...A,dir:D.dir,orientation:"vertical",loop:a,currentTabStopId:O,onCurrentTabStopIdChange:F,onEntryFocus:(0,r.composeEventHandlers)(v,e=>{D.isUsingKeyboardRef.current||e.preventDefault()}),preventScrollOnEntryFocus:!0,children:(0,b.jsx)(f.Content,{role:"menu","aria-orientation":"vertical","data-state":eE(M.open),"data-radix-menu-content":"",dir:D.dir,...I,...S,ref:K,style:{outline:"none",...S.style},onKeyDown:(0,r.composeEventHandlers)(S.onKeyDown,e=>{let t=e.target.closest("[data-radix-menu-content]")===e.currentTarget,r=e.ctrlKey||e.altKey||e.metaKey,n=1===e.key.length;if(t){var o;let t,i,a,s,l,u;"Tab"===e.key&&e.preventDefault(),!r&&n&&(o=e.key,t=V.current+o,i=_().filter(e=>!e.disabled),a=document.activeElement,s=i.find(e=>e.ref.current===a)?.textValue,l=function(e,t,r){var n;let o=t.length>1&&Array.from(t).every(e=>e===t[0])?t[0]:t,i=r?e.indexOf(r):-1,a=(n=Math.max(i,0),e.map((t,r)=>e[(n+r)%e.length]));1===o.length&&(a=a.filter(e=>e!==r));let s=a.find(e=>e.toLowerCase().startsWith(o.toLowerCase()));return s!==r?s:void 0}(i.map(e=>e.textValue),t,s),u=i.find(e=>e.textValue===l)?.ref.current,function e(t){V.current=t,window.clearTimeout(B.current),""!==t&&(B.current=window.setTimeout(()=>e(""),1e3))}(t),u&&setTimeout(()=>
1u.focus()))}let i=H.current;if(e.target!==i||!j.includes(e.key))return;e.preventDefault();let a=_().filter(e=>!e.disabled).map(e=>e.ref.current);R.includes(e.key)&&a.reverse(),function(e){let t=document.activeElement;for(let r of e)if(r===t||(r.focus(),document.activeElement!==t))return}(a)}),onBlur:(0,r.composeEventHandlers)(e.onBlur,e=>{e.currentTarget.contains(e.target)||(window.clearTimeout(B.current),V.current="")}),onPointerMove:(0,r.composeEventHandlers)(e.onPointerMove,eZ(e=>{let t=e.target,r=X.current!==e.clientX;e.currentTarget.contains(t)&&r&&(Y.current=e.clientX>X.current?"right":"left",X.current=e.clientX)}))})})})})})})});Y.displayName=z;var Q=t.forwardRef((e,t)=>{let{__scopeMenu:r,...n}=e;return(0,b.jsx)(a.Primitive.div,{role:"group",...n,ref:t})});Q.displayName="MenuGroup";var ee=t.forwardRef((e,t)=>{let{__scopeMenu:r,...n}=e;return(0,b.jsx)(a.Primitive.div,{...n,ref:t})});ee.displayName="MenuLabel";var et="MenuItem",er="menu.itemSelect",en=t.forwardRef((e,o)=>{let{disabled:i=!1,onSelect:s,...l}=e,u=t.useRef(null),d=L(et,e.__scopeMenu),c=G(et,e.__scopeMenu),p=(0,n.useComposedRefs)(o,u),f=t.useRef(!1);return(0,b.jsx)(eo,{...l,ref:p,disabled:i,onClick:(0,r.composeEventHandlers)(e.onClick,()=>{let e=u.current;if(!i&&e){let t=new CustomEvent(er,{bubbles:!0,cancelable:!0});e.addEventListener(er,e=>s?.(e),{once:!0}),(0,a.dispatchDiscreteCustomEvent)(e,t),t.defaultPrevented?f.current=!1:d.onClose()}}),onPointerDown:t=>{e.onPointerDown?.(t),f.current=!0},onPointerUp:(0,r.composeEventHandlers)(e.onPointerUp,e=>{f.current||e.currentTarget?.click()}),onKeyDown:(0,r.composeEventHandlers)(e.onKeyDown,e=>{let t=""!==c.searchRef.current;i||t&&" "===e.key||C.includes(e.key)&&(e.currentTarget.click(),e.preventDefault())})})});en.displayName=et;var eo=t.forwardRef((e,o)=>{let{__scopeMenu:i,disabled:s=!1,textValue:l,...u}=e,d=G(et,i),c=N(i),p=t.useRef(null),f=(0,n.useComposedRefs)(o,p),[m,v]=t.useState(!1),[h,y]=t.useState("");return t.useEffect(()=>{let e=p.current;e&&y((e.textContent??"").trim())},[u.children]),(0,b.jsx)(M.ItemSlot,{scope:i,disabled:s,textValue:l??h,children:(0,b.jsx)(g.Item,{asChild:!0,...c,focusable:!s,children:(0,b.jsx)(a.Primitive.div,{role:"menuitem","data-highlighted":m?"":void 0,"aria-disabled":s||void 0,"data-disabled":s?"":void 0,...u,ref:f,onPointerMove:(0,r.composeEventHandlers)(e.onPointerMove,eZ(e=>{s?d.onItemLeave(e):(d.onItemEnter(e),e.defaultPrevented||e.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:(0,r.composeEventHandlers)(e.onPointerLeave,eZ(e=>d.onItemLeave(e))),onFocus:(0,r.composeEventHandlers)(e.onFocus,()=>v(!0)),onBlur:(0,r.composeEventHandlers)(e.onBlur,()=>v(!1))})})})}),ei=t.forwardRef((e,t)=>{let{checked:n=!1,onCheckedChange:o,...i}=e;return(0,b.jsx)(ef,{scope:e.__scopeMenu,checked:n,children:(0,b.jsx)(en,{role:"menuitemcheckbox","aria-checked":eS(n)?"mixed":n,...i,ref:t,"data-state":eM(n),onSelect:(0,r.composeEventHandlers)(i.onSelect,()=>o?.(!!eS(n)||!n),{checkForDefaultPrevented:!1})})})});ei.displayName="MenuCheckboxItem";var ea="MenuRadioGroup",[es,el]=I(ea,{value:void 0,onValueChange:()=>{}}),eu=t.forwardRef((e,t)=>{let{value:r,onValueChange:n,...o}=e,i=(0,y.useCallbackRef)(n);return(0,b.jsx)(es,{scope:e.__scopeMenu,value:r,onValueChange:i,children:(0,b.jsx)(Q,{...o,ref:t})})});eu.displayName=ea;var ed="MenuRadioItem",ec=t.forwardRef((e,t)=>{let{value:n,...o}=e,i=el(ed,e.__scopeMenu),a=n===i.value;return(0,b.jsx)(ef,{scope:e.__scopeMenu,checked:a,children:(0,b.jsx)(en,{role:"menuitemradio","aria-checked":a,...o,ref:t,"data-state":eM(a),onSelect:(0,r.composeEventHandlers)(o.onSelect,()=>i.onValueChange?.(n),{checkForDefaultPrevented:!1})})})});ec.displayName=ed;var ep="MenuItemIndicator",[ef,em]=I(ep,{checked:!1}),ev=t.forwardRef((e,t)=>{let{__scopeMenu:r,forceMount:n,...o}=e,i=em(ep,r);return(0,b.jsx)(v.Presence,{present:n||eS(i.checked)||!0===i.checked,children:(0,b.jsx)(a.Primitive.span,{...o,ref:t,"data-state":eM(i.checked)})})});ev.displayName=ep;var eg=t.forwardRef((e,t)=>{let{__scopeMenu:r,...n}=e;return(0,b.jsx)(a.Primitive.div,{role:"separator","aria-orientation":"horizontal",...n,ref:t})});
1eg.displayName="MenuSeparator";var eh=t.forwardRef((e,t)=>{let{__scopeMenu:r,...n}=e,o=k(r);return(0,b.jsx)(f.Arrow,{...o,...n,ref:t})});eh.displayName="MenuArrow";var ey="MenuSub",[ew,ex]=I(ey),eb=e=>{let{__scopeMenu:r,children:n,open:o=!1,onOpenChange:i}=e,a=T(ey,r),s=k(r),[l,u]=t.useState(null),[d,c]=t.useState(null),m=(0,y.useCallbackRef)(i);return t.useEffect(()=>(!1===a.open&&m(!1),()=>m(!1)),[a.open,m]),(0,b.jsx)(f.Root,{...s,children:(0,b.jsx)(_,{scope:r,open:o,onOpenChange:m,content:d,onContentChange:c,children:(0,b.jsx)(ew,{scope:r,contentId:(0,p.useId)(),triggerId:(0,p.useId)(),trigger:l,onTriggerChange:u,children:n})})})};eb.displayName=ey;var eC="MenuSubTrigger",eR=t.forwardRef((e,o)=>{let i=T(eC,e.__scopeMenu),a=L(eC,e.__scopeMenu),s=ex(eC,e.__scopeMenu),l=G(eC,e.__scopeMenu),u=t.useRef(null),{pointerGraceTimerRef:d,onPointerGraceIntentChange:c}=l,p={__scopeMenu:e.__scopeMenu},f=t.useCallback(()=>{u.current&&window.clearTimeout(u.current),u.current=null},[]);return t.useEffect(()=>f,[f]),t.useEffect(()=>{let e=d.current;return()=>{window.clearTimeout(e),c(null)}},[d,c]),(0,b.jsx)(H,{asChild:!0,...p,children:(0,b.jsx)(eo,{id:s.triggerId,"aria-haspopup":"menu","aria-expanded":i.open,"aria-controls":s.contentId,"data-state":eE(i.open),...e,ref:(0,n.composeRefs)(o,s.onTriggerChange),onClick:t=>{e.onClick?.(t),e.disabled||t.defaultPrevented||(t.currentTarget.focus(),i.open||i.onOpenChange(!0))},onPointerMove:(0,r.composeEventHandlers)(e.onPointerMove,eZ(t=>{l.onItemEnter(t),!t.defaultPrevented&&(e.disabled||i.open||u.current||(l.onPointerGraceIntentChange(null),u.current=window.setTimeout(()=>{i.onOpenChange(!0),f()},100)))})),onPointerLeave:(0,r.composeEventHandlers)(e.onPointerLeave,eZ(e=>{f();let t=i.content?.getBoundingClientRect();if(t){let r=i.content?.dataset.side,n="right"===r,o=t[n?"left":"right"],a=t[n?"right":"left"];l.onPointerGraceIntentChange({area:[{x:e.clientX+(n?-5:5),y:e.clientY},{x:o,y:t.top},{x:a,y:t.top},{x:a,y:t.bottom},{x:o,y:t.bottom}],side:r}),window.clearTimeout(d.current),d.current=window.setTimeout(()=>l.onPointerGraceIntentChange(null),300)}else{if(l.onTriggerLeave(e),e.defaultPrevented)return;l.onPointerGraceIntentChange(null)}})),onKeyDown:(0,r.composeEventHandlers)(e.onKeyDown,t=>{let r=""!==l.searchRef.current;e.disabled||r&&" "===t.key||P[a.dir].includes(t.key)&&(i.onOpenChange(!0),i.content?.focus(),t.preventDefault())})})})});eR.displayName=eC;var ej="MenuSubContent",eP=t.forwardRef((e,o)=>{let i=V(z,e.__scopeMenu),{forceMount:a=i.forceMount,...s}=e,l=T(z,e.__scopeMenu),u=L(z,e.__scopeMenu),d=ex(ej,e.__scopeMenu),c=t.useRef(null),p=(0,n.useComposedRefs)(o,c);return(0,b.jsx)(M.Provider,{scope:e.__scopeMenu,children:(0,b.jsx)(v.Presence,{present:a||l.open,children:(0,b.jsx)(M.Slot,{scope:e.__scopeMenu,children:(0,b.jsx)(J,{id:d.contentId,"aria-labelledby":d.triggerId,...s,ref:p,align:"start",side:"rtl"===u.dir?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:e=>{u.isUsingKeyboardRef.current&&c.current?.focus(),e.preventDefault()},onCloseAutoFocus:e=>e.preventDefault(),onFocusOutside:(0,r.composeEventHandlers)(e.onFocusOutside,e=>{e.target!==d.trigger&&l.onOpenChange(!1)}),onEscapeKeyDown:(0,r.composeEventHandlers)(e.onEscapeKeyDown,e=>{u.onClose(),e.preventDefault()}),onKeyDown:(0,r.composeEventHandlers)(e.onKeyDown,e=>{let t=e.currentTarget.contains(e.target),r=E[u.dir].includes(e.key);t&&r&&(l.onOpenChange(!1),d.trigger?.focus(),e.preventDefault())})})})})})});function eE(e){return e?"open":"closed"}function eS(e){return"indeterminate"===e}function eM(e){return eS(e)?"indeterminate":e?"checked":"unchecked"}function eZ(e){return t=>"mouse"===t.pointerType?e(t):void 0}eP.displayName=ej;var eD="DropdownMenu",[eI,eA]=(0,o.createContextScope)(eD,[A]),ek=A(),[eN,e_]=eI(eD),eT=e=>{let{__scopeDropdownMenu:r,children:n,dir:o,open:a,defaultOpen:s,onOpenChange:l,modal:u=!0}=e,d=ek(r),c=t.useRef(null),[f,m]=(0,i.useControllableState)({prop:a,defaultProp:s??!1,onChange:l,caller:eD});return(0,b.jsx)(eN,{scope:r,triggerId:(0,p.useId)(),triggerRef:c,contentId:(0,p.useId)(),open:f,onOpenChange:m,onOpenToggle:t.useCallback(()=>m(e=>!e),[m]),modal:u,children:(0,b.jsx)(F,{...d,open:f,onOpenChange:m,dir:o,modal:u,children:n})})};eT.displayName=eD;var eO="DropdownMenuTrigger",eL=t.forwardRef((e,t)=>
1{let{__scopeDropdownMenu:o,disabled:i=!1,...s}=e,l=e_(eO,o),u=ek(o);return(0,b.jsx)(H,{asChild:!0,...u,children:(0,b.jsx)(a.Primitive.button,{type:"button",id:l.triggerId,"aria-haspopup":"menu","aria-expanded":l.open,"aria-controls":l.open?l.contentId:void 0,"data-state":l.open?"open":"closed","data-disabled":i?"":void 0,disabled:i,...s,ref:(0,n.composeRefs)(t,l.triggerRef),onPointerDown:(0,r.composeEventHandlers)(e.onPointerDown,e=>{!i&&0===e.button&&!1===e.ctrlKey&&(l.onOpenToggle(),l.open||e.preventDefault())}),onKeyDown:(0,r.composeEventHandlers)(e.onKeyDown,e=>{!i&&(["Enter"," "].includes(e.key)&&l.onOpenToggle(),"ArrowDown"===e.key&&l.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(e.key)&&e.preventDefault())})})})});eL.displayName=eO;var eF=e=>{let{__scopeDropdownMenu:t,...r}=e,n=ek(t);return(0,b.jsx)(U,{...n,...r})};eF.displayName="DropdownMenuPortal";var eH="DropdownMenuContent",eK=t.forwardRef((e,n)=>{let{__scopeDropdownMenu:o,...i}=e,a=e_(eH,o),s=ek(o),l=t.useRef(!1);return(0,b.jsx)(Y,{id:a.contentId,"aria-labelledby":a.triggerId,...s,...i,ref:n,onCloseAutoFocus:(0,r.composeEventHandlers)(e.onCloseAutoFocus,e=>{l.current||a.triggerRef.current?.focus(),l.current=!1,e.preventDefault()}),onInteractOutside:(0,r.composeEventHandlers)(e.onInteractOutside,e=>{let t=e.detail.originalEvent,r=0===t.button&&!0===t.ctrlKey,n=2===t.button||r;(!a.modal||n)&&(l.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});eK.displayName=eH,t.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=ek(r);return(0,b.jsx)(Q,{...o,...n,ref:t})}).displayName="DropdownMenuGroup",t.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=ek(r);return(0,b.jsx)(ee,{...o,...n,ref:t})}).displayName="DropdownMenuLabel";var eB=t.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=ek(r);return(0,b.jsx)(en,{...o,...n,ref:t})});eB.displayName="DropdownMenuItem",t.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=ek(r);return(0,b.jsx)(ei,{...o,...n,ref:t})}).displayName="DropdownMenuCheckboxItem",t.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=ek(r);return(0,b.jsx)(eu,{...o,...n,ref:t})}).displayName="DropdownMenuRadioGroup",t.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=ek(r);return(0,b.jsx)(ec,{...o,...n,ref:t})}).displayName="DropdownMenuRadioItem",t.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=ek(r);return(0,b.jsx)(ev,{...o,...n,ref:t})}).displayName="DropdownMenuItemIndicator",t.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=ek(r);return(0,b.jsx)(eg,{...o,...n,ref:t})}).displayName="DropdownMenuSeparator",t.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=ek(r);return(0,b.jsx)(eh,{...o,...n,ref:t})}).displayName="DropdownMenuArrow";var eV=t.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=ek(r);return(0,b.jsx)(eR,{...o,...n,ref:t})});eV.displayName="DropdownMenuSubTrigger";var eU=t.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=ek(r);return(0,b.jsx)(eP,{...o,...n,ref:t,style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});eU.displayName="DropdownMenuSubContent",e.s(["Content",0,eK,"DropdownMenuContent",0,eK,"DropdownMenuTrigger",0,eL,"Item",0,eB,"Portal",0,eF,"Root",0,eT,"Sub",0,e=>{let{__scopeDropdownMenu:t,children:r,open:n,onOpenChange:o,defaultOpen:a}=e,s=ek(t),[l,u]=(0,i.useControllableState)({prop:n,defaultProp:a??!1,onChange:o,caller:"DropdownMenuSub"});return(0,b.jsx)(eb,{...s,open:l,onOpenChange:u,children:r})},"SubContent",0,eU,"SubTrigger",0,eV,"Trigger",0,eL],36193)}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.