@shumai-one/shumai 0.4.2 → 0.4.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/chunk-071x515q.js +4 -0
- package/bin/{chunk-adekdctx.css → chunk-0ccg9ddn.css} +1 -1
- package/bin/chunk-0cmx7k4c.js +1 -0
- package/bin/chunk-0qaq0sp8.js +5 -0
- package/bin/chunk-0qjfahk9.js +2 -0
- package/bin/chunk-0zv3bks2.js +2 -0
- package/bin/chunk-16xax8kk.js +1 -0
- package/bin/chunk-1gvscz88.js +5 -0
- package/bin/chunk-1j27fzy1.js +2 -0
- package/bin/chunk-1t167cvj.js +11 -0
- package/bin/chunk-1xh34aew.js +2 -0
- package/bin/chunk-1zwajpwf.js +8 -0
- package/bin/chunk-2w5xqhjm.js +1 -0
- package/bin/chunk-3tedzb2j.js +54 -0
- package/bin/chunk-3ttrhqy3.js +2 -0
- package/bin/chunk-3zkasqb8.js +1 -0
- package/bin/chunk-453ykvaw.js +2 -0
- package/bin/chunk-4991gz3y.js +13 -0
- package/bin/chunk-4hkkdm2q.js +2 -0
- package/bin/chunk-4mjywsj8.js +3 -0
- package/bin/chunk-4v41a1r9.js +6 -0
- package/bin/chunk-4wy87hwd.js +3 -0
- package/bin/chunk-579e4wv4.js +3 -0
- package/bin/chunk-5adsx8x4.js +2 -0
- package/bin/chunk-5hg6kcfz.js +45 -0
- package/bin/chunk-5nm2jvg5.js +32 -0
- package/bin/chunk-5tcdwep5.js +11 -0
- package/bin/chunk-5vzrpz50.js +2 -0
- package/bin/chunk-6ghcj4a9.js +3 -0
- package/bin/chunk-77fmkpdz.js +10 -0
- package/bin/chunk-7bcxj1jd.js +2 -0
- package/bin/chunk-7gmdnsdg.js +2 -0
- package/bin/chunk-7jtmwt5a.js +3 -0
- package/bin/chunk-7kjgvxqa.js +2 -0
- package/bin/chunk-7pw1550a.js +2 -0
- package/bin/chunk-7rhz2gze.js +211 -0
- package/bin/chunk-837fky18.js +3 -0
- package/bin/chunk-84as6x83.js +1 -0
- package/bin/chunk-8e28hcny.js +2 -0
- package/bin/chunk-914bp49r.js +4 -0
- package/bin/chunk-97f2af6d.js +12 -0
- package/bin/chunk-98715kc3.js +2 -0
- package/bin/chunk-9ccw540k.js +2 -0
- package/bin/chunk-9t8n2des.js +2 -0
- package/bin/chunk-9ybt6vbm.js +1 -0
- package/bin/chunk-a6gx7f5q.js +1 -0
- package/bin/chunk-avwgktxb.js +2 -0
- package/bin/chunk-bkr5zm4h.js +2 -0
- package/bin/chunk-cbgq517y.js +2 -0
- package/bin/chunk-d27mm390.js +1 -0
- package/bin/chunk-dj92fss9.js +2 -0
- package/bin/chunk-dqxeztfa.js +2 -0
- package/bin/chunk-drepsbb4.js +2 -0
- package/bin/chunk-f6svp4dp.js +2 -0
- package/bin/chunk-fahk9h62.js +8 -0
- package/bin/chunk-fb40xxz3.js +3 -0
- package/bin/chunk-fnmwksnb.js +3 -0
- package/bin/chunk-fpc4p0j8.js +3 -0
- package/bin/chunk-fsyzs0tf.js +1 -0
- package/bin/chunk-fxecgp5k.js +1 -0
- package/bin/chunk-g3fpmyyn.js +3 -0
- package/bin/chunk-gc5sbfa5.js +2 -0
- package/bin/chunk-gdm6yfqq.js +2 -0
- package/bin/chunk-gk2q9a3f.js +2 -0
- package/bin/chunk-gt4csat6.js +3 -0
- package/bin/chunk-gye8gabk.js +2 -0
- package/bin/chunk-hk5rc6cd.js +24 -0
- package/bin/chunk-hm0dkzed.js +3 -0
- package/bin/chunk-hmpwg5za.js +16 -0
- package/bin/chunk-j1tkmcae.js +3 -0
- package/bin/chunk-j2bvj2yn.js +2 -0
- package/bin/chunk-jffktpqg.js +1 -0
- package/bin/chunk-jgs8an3h.js +18 -0
- package/bin/chunk-jmpb5633.js +2 -0
- package/bin/chunk-jrjnqx78.js +2 -0
- package/bin/chunk-k2k9vjq6.js +1 -0
- package/bin/chunk-kpgfqkp0.js +3 -0
- package/bin/chunk-ks8xzc95.js +3 -0
- package/bin/chunk-kswvyqq1.js +2 -0
- package/bin/chunk-m9pr03kn.js +2 -0
- package/bin/chunk-mfn9qjm4.js +2 -0
- package/bin/chunk-msfw3jmc.js +3 -0
- package/bin/chunk-mz0yjra0.js +5 -0
- package/bin/chunk-nbdw8fen.js +1 -0
- package/bin/chunk-nkdk229f.js +2 -0
- package/bin/chunk-nr20tvnw.js +3 -0
- package/bin/chunk-pazjhrnf.js +12 -0
- package/bin/chunk-q806pqeh.js +1 -0
- package/bin/chunk-qka4mkmj.js +2 -0
- package/bin/chunk-qsr1a0rp.js +2 -0
- package/bin/chunk-rchsme43.js +3 -0
- package/bin/chunk-reyxk4bw.js +2 -0
- package/bin/chunk-rhvv1vvk.js +3 -0
- package/bin/chunk-rq0n0vcc.js +2 -0
- package/bin/chunk-rqf7999q.js +42 -0
- package/bin/chunk-rssgmj7x.js +2 -0
- package/bin/chunk-ryzz5fht.js +2 -0
- package/bin/chunk-s2fnfyn9.js +2 -0
- package/bin/chunk-s2k4qntr.js +3 -0
- package/bin/chunk-snhsjs4x.js +299 -0
- package/bin/chunk-t2hy6tj9.js +2 -0
- package/bin/chunk-t7nsgg5k.js +4 -0
- package/bin/chunk-tm7f32c7.js +14 -0
- package/bin/chunk-trveq4wg.js +3 -0
- package/bin/chunk-vap4k11j.js +20 -0
- package/bin/chunk-vm5fx7td.js +3 -0
- package/bin/chunk-vy8gntez.js +1 -0
- package/bin/chunk-vyzptrea.js +2 -0
- package/bin/chunk-w4ghe71n.js +2 -0
- package/bin/chunk-wdsf44hs.js +2 -0
- package/bin/chunk-wjyaezs7.js +2 -0
- package/bin/chunk-wndm3px3.js +1 -0
- package/bin/chunk-x5jwwvs0.js +1 -0
- package/bin/chunk-x92cq59c.js +1 -0
- package/bin/chunk-xa18z1py.js +3 -0
- package/bin/chunk-xarsrs08.js +2 -0
- package/bin/chunk-xtf3c29c.css +1 -0
- package/bin/chunk-xx337zcw.js +2 -0
- package/bin/chunk-xz6713tj.js +2 -0
- package/bin/chunk-yfnem6se.js +2 -0
- package/bin/chunk-ytdwk2fq.js +2 -0
- package/bin/chunk-ze20rm02.js +7 -0
- package/bin/chunk-zw86wnwe.js +7 -0
- package/bin/chunk-zxk7q0zk.js +2 -0
- package/bin/{pdf.worker.min-szxdj13d.mjs → pdf.worker.min-vf48er29.mjs} +14423 -13889
- package/bin/shumai-app.html +1 -1
- package/bin/shumai-app.js +841 -678
- package/package.json +18 -18
- package/prisma/migrations/20260904022457_add_agent_id_to_assets_and_audit_logs/migration.sql +17 -0
- package/prisma/migrations/20260906081230_default_denied_tools_delete_asset/migration.sql +15 -0
- package/prisma/migrations/20260907021754_add_asset_upload_id/migration.sql +2 -0
- package/prisma/schema.prisma +10 -0
- package/bin/chunk-07h4b77v.js +0 -2
- package/bin/chunk-0t4n4d5w.js +0 -4
- package/bin/chunk-1611z9jg.js +0 -2
- package/bin/chunk-1phqxp6z.js +0 -3
- package/bin/chunk-23hckrrz.js +0 -2
- package/bin/chunk-30z44j1g.js +0 -2
- package/bin/chunk-3j463k1g.js +0 -1
- package/bin/chunk-4181tdds.js +0 -14
- package/bin/chunk-480jtqng.js +0 -4
- package/bin/chunk-4c3g146q.js +0 -2
- package/bin/chunk-4ca0zt5e.js +0 -1
- package/bin/chunk-4d9bgmf2.js +0 -2
- package/bin/chunk-4ev56fss.js +0 -9
- package/bin/chunk-4gk52tjq.js +0 -45
- package/bin/chunk-4mdqkj4d.js +0 -1
- package/bin/chunk-4r91fggc.js +0 -2
- package/bin/chunk-50fb1x3w.js +0 -1
- package/bin/chunk-59gj1njz.js +0 -1
- package/bin/chunk-5pr0t7fb.js +0 -2
- package/bin/chunk-5vewxmz7.js +0 -3
- package/bin/chunk-62zx96pe.js +0 -2
- package/bin/chunk-63y0eb07.js +0 -2
- package/bin/chunk-6d5xrgfx.js +0 -2
- package/bin/chunk-6gbtz5bf.js +0 -67
- package/bin/chunk-6gjg5egq.js +0 -3
- package/bin/chunk-6m4jz9s1.js +0 -44
- package/bin/chunk-6s4x525w.js +0 -2
- package/bin/chunk-6w2wmvqs.js +0 -3
- package/bin/chunk-77d23vcn.js +0 -2
- package/bin/chunk-77m5p188.js +0 -2
- package/bin/chunk-7bvx087f.js +0 -1
- package/bin/chunk-7pfjfrjg.js +0 -5
- package/bin/chunk-7q10s127.js +0 -4
- package/bin/chunk-7thx8ctx.js +0 -3
- package/bin/chunk-8t4s91gh.js +0 -2
- package/bin/chunk-98ey5p2e.js +0 -3
- package/bin/chunk-9amndcyh.js +0 -6
- package/bin/chunk-9bk23g9x.js +0 -1
- package/bin/chunk-9mkcfy43.js +0 -1
- package/bin/chunk-9t3nsq5n.js +0 -2
- package/bin/chunk-9tjq99ds.js +0 -2
- package/bin/chunk-9wm9rwh1.js +0 -2
- package/bin/chunk-ab16fyg4.js +0 -4
- package/bin/chunk-arv0g2av.js +0 -1
- package/bin/chunk-aytj4zxg.js +0 -3
- package/bin/chunk-b1ypjqgp.js +0 -2
- package/bin/chunk-bdjv0ykq.js +0 -2
- package/bin/chunk-c1k86mfa.js +0 -10
- package/bin/chunk-caa96dgd.js +0 -2
- package/bin/chunk-ce4v2yjy.js +0 -1
- package/bin/chunk-cqh60y54.js +0 -3
- package/bin/chunk-cvq7zgw7.js +0 -1
- package/bin/chunk-d9mjbtp2.js +0 -2
- package/bin/chunk-dn7sbjws.js +0 -3
- package/bin/chunk-dxyq9h8n.js +0 -3
- package/bin/chunk-e3cabksx.js +0 -3
- package/bin/chunk-egcrbj94.js +0 -2
- package/bin/chunk-ev17v1mv.js +0 -2
- package/bin/chunk-evtpwg71.js +0 -2
- package/bin/chunk-f3e0nsv2.js +0 -2
- package/bin/chunk-f40gjqpq.js +0 -2
- package/bin/chunk-fe7822ak.js +0 -299
- package/bin/chunk-g8tkhw9j.js +0 -2
- package/bin/chunk-g9r0p4t8.js +0 -2
- package/bin/chunk-gbjyh9ms.js +0 -1
- package/bin/chunk-gtbsb39v.js +0 -3
- package/bin/chunk-gytz1q13.js +0 -13
- package/bin/chunk-h0fxysxs.js +0 -7
- package/bin/chunk-h8bdvsqt.js +0 -2
- package/bin/chunk-hag024w8.js +0 -2
- package/bin/chunk-hc6w5nw4.js +0 -7
- package/bin/chunk-j69dqc48.js +0 -2
- package/bin/chunk-jbtw1zym.js +0 -8
- package/bin/chunk-jc1vb7rj.js +0 -5
- package/bin/chunk-jdv78w9r.js +0 -2
- package/bin/chunk-jjs70y9v.js +0 -3
- package/bin/chunk-jmdar2gz.js +0 -2
- package/bin/chunk-jvwz10n4.js +0 -2
- package/bin/chunk-k47md1g4.js +0 -2
- package/bin/chunk-k4v0brcb.js +0 -2
- package/bin/chunk-k6n7c07e.js +0 -1
- package/bin/chunk-kk2cstsg.js +0 -2
- package/bin/chunk-knz4h56q.js +0 -12
- package/bin/chunk-kqqtt6bd.js +0 -3
- package/bin/chunk-kvyp1t4j.js +0 -7
- package/bin/chunk-kxskpgsq.js +0 -5
- package/bin/chunk-m6srbjcs.js +0 -2
- package/bin/chunk-mcc1scxs.js +0 -12
- package/bin/chunk-mq83a0kk.js +0 -2
- package/bin/chunk-mxm8g4q0.js +0 -1
- package/bin/chunk-nhpgdqq5.js +0 -2
- package/bin/chunk-nne496aa.js +0 -2
- package/bin/chunk-nqpb0r9h.js +0 -11
- package/bin/chunk-ns0zww9g.js +0 -2
- package/bin/chunk-ps4xfp23.js +0 -2
- package/bin/chunk-pz2ec6xt.js +0 -2
- package/bin/chunk-q163k309.js +0 -2
- package/bin/chunk-q1da61ps.js +0 -1
- package/bin/chunk-qrf0ady6.js +0 -68
- package/bin/chunk-qy28f25e.js +0 -2
- package/bin/chunk-r7s4ypw1.js +0 -2
- package/bin/chunk-ran23vm9.js +0 -1
- package/bin/chunk-rfvdc4n0.js +0 -2
- package/bin/chunk-rgthkvgx.js +0 -3
- package/bin/chunk-s39n3yw3.js +0 -2
- package/bin/chunk-s7wdd0g7.js +0 -8
- package/bin/chunk-s88ha5kx.js +0 -3
- package/bin/chunk-sf91bt9m.js +0 -2
- package/bin/chunk-sjwbjf9j.js +0 -2
- package/bin/chunk-t62076pv.js +0 -1
- package/bin/chunk-tbbwss3v.js +0 -3
- package/bin/chunk-tjcc7a6y.js +0 -24
- package/bin/chunk-tp6ab26e.js +0 -2
- package/bin/chunk-v2wxk9p5.js +0 -4
- package/bin/chunk-vbk6y4hk.js +0 -2
- package/bin/chunk-vfgfg5fk.js +0 -2
- package/bin/chunk-vm6c3xx9.js +0 -2
- package/bin/chunk-vsx96mt6.js +0 -3
- package/bin/chunk-wbyw1shz.js +0 -6
- package/bin/chunk-whh2vh50.css +0 -1
- package/bin/chunk-wjkcq65s.js +0 -2
- package/bin/chunk-wkefwkfp.js +0 -41
- package/bin/chunk-x7bsnk1e.js +0 -2
- package/bin/chunk-xbhw6bpz.js +0 -3
- package/bin/chunk-xg5yrcj5.js +0 -2
- package/bin/chunk-xg9xscqz.js +0 -1
- package/bin/chunk-xw2gpcsh.js +0 -3
- package/bin/chunk-ycq8ank7.js +0 -2
- package/bin/chunk-yp9hvkc5.js +0 -73
- package/bin/chunk-ytypyfkc.js +0 -65
- package/bin/chunk-z1kjmf60.js +0 -2
- package/bin/chunk-z36bx86r.js +0 -2
- package/bin/chunk-z7hdnecp.js +0 -3
- package/bin/chunk-zeby1cq7.js +0 -2
- package/bin/chunk-zs5e8z1w.js +0 -1
- package/bin/chunk-zxnyefg5.js +0 -2
- /package/bin/{chunk-24ke0th1.css → chunk-kegybs91.css} +0 -0
|
@@ -0,0 +1,211 @@
|
|
|
1
|
+
import{z,v,Oe,lm,um}from"./chunk-fnmwksnb.js";var Q={};um(Q,{Activity:()=>XW,Children:()=>tc,Component:()=>Cs,Fragment:()=>yn,Profiler:()=>QW,PureComponent:()=>JW,StrictMode:()=>IF,Suspense:()=>ra,__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE:()=>Fa,__COMPILER_RUNTIME:()=>$W,cache:()=>eG,cacheSignal:()=>tG,cloneElement:()=>Vd,createContext:()=>xt,createElement:()=>q,createRef:()=>rG,forwardRef:()=>D,isValidElement:()=>fs,lazy:()=>oG,memo:()=>rc,startTransition:()=>YL,unstable_useCacheRefresh:()=>aG,use:()=>wc,useActionState:()=>nG,useCallback:()=>N,useContext:()=>St,useDebugValue:()=>Q8,useDeferredValue:()=>iG,useEffect:()=>h,useEffectEvent:()=>fG,useId:()=>Nu,useImperativeHandle:()=>ln,useInsertionEffect:()=>pD,useLayoutEffect:()=>Ge,useMemo:()=>O,useOptimistic:()=>sG,useReducer:()=>Ao,useRef:()=>w,useState:()=>u,useSyncExternalStore:()=>Vn,useTransition:()=>lG,version:()=>Es},{Activity:(pkt)=>XW=pkt,Children:(pkt)=>tc=pkt,Component:(pkt)=>Cs=pkt,Fragment:(pkt)=>yn=pkt,Profiler:(pkt)=>QW=pkt,PureComponent:(pkt)=>JW=pkt,StrictMode:(pkt)=>IF=pkt,Suspense:(pkt)=>ra=pkt,__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE:(pkt)=>Fa=pkt,__COMPILER_RUNTIME:(pkt)=>$W=pkt,cache:(pkt)=>eG=pkt,cacheSignal:(pkt)=>tG=pkt,cloneElement:(pkt)=>Vd=pkt,createContext:(pkt)=>xt=pkt,createElement:(pkt)=>q=pkt,createRef:(pkt)=>rG=pkt,forwardRef:(pkt)=>D=pkt,isValidElement:(pkt)=>fs=pkt,lazy:(pkt)=>oG=pkt,memo:(pkt)=>rc=pkt,startTransition:(pkt)=>YL=pkt,unstable_useCacheRefresh:(pkt)=>aG=pkt,use:(pkt)=>wc=pkt,useActionState:(pkt)=>nG=pkt,useCallback:(pkt)=>N=pkt,useContext:(pkt)=>St=pkt,useDebugValue:(pkt)=>Q8=pkt,useDeferredValue:(pkt)=>iG=pkt,useEffect:(pkt)=>h=pkt,useEffectEvent:(pkt)=>fG=pkt,useId:(pkt)=>Nu=pkt,useImperativeHandle:(pkt)=>ln=pkt,useInsertionEffect:(pkt)=>pD=pkt,useLayoutEffect:(pkt)=>Ge=pkt,useMemo:(pkt)=>O=pkt,useOptimistic:(pkt)=>sG=pkt,useReducer:(pkt)=>Ao=pkt,useRef:(pkt)=>w=pkt,useState:(pkt)=>u=pkt,useSyncExternalStore:(pkt)=>Vn=pkt,useTransition:(pkt)=>lG=pkt,version:(pkt)=>Es=pkt});function yxe(e){if(e===null||typeof e!=="object")return null;return e=FW&&e[FW]||e["@@iterator"],typeof e==="function"?e:null}function BL(e,r,a){this.props=e,this.context=r,this.refs=WW,this.updater=a||VW}function GW(){}function zF(e,r,a){this.props=e,this.context=r,this.refs=WW,this.updater=a||VW}function _F(){}function LF(e,r,a){var i=a.ref;return{$$typeof:wF,type:e,key:r,ref:i!==void 0?i:null,props:a}}function bxe(e,r){return LF(e.type,r,e.props)}function kF(e){return typeof e==="object"&&e!==null&&e.$$typeof===wF}function _xe(e){var r={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(a){return r[a]})}function bF(e,r){return typeof e==="object"&&e!==null&&e.key!=null?_xe(""+e.key):r.toString(36)}function wxe(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch(typeof e.status==="string"?e.then(_F,_F):(e.status="pending",e.then(function(r){e.status==="pending"&&(e.status="fulfilled",e.value=r)},function(r){e.status==="pending"&&(e.status="rejected",e.reason=r)})),e.status){case"fulfilled":return e.value;case"rejected":throw e.reason}}throw e}function FL(e,r,a,i,f){var s=typeof e;if(s==="undefined"||s==="boolean")e=null;var l=!1;if(e===null)l=!0;else switch(s){case"bigint":case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case wF:case uxe:l=!0;break;case qW:return l=e._init,FL(l(e._payload),r,a,i,f)}}if(l)return f=f(e),l=i===""?"."+bF(e,0):i,BW(f)?(a="",l!=null&&(a=l.replace(YW,"$&/")+"/"),FL(f,r,a,"",function(g){return g})):f!=null&&(kF(f)&&(f=bxe(f,a+(f.key==null||e&&e.key===f.key?"":(""+f.key).replace(YW,"$&/")+"/")+l)),r.push(f)),1;l=0;var c=i===""?".":i+":";if(BW(e))for(var m=0;m<e.length;m++)i=e[m],s=c+bF(i,m),l+=FL(i,r,a,s,f);else if(m=yxe(e),typeof m==="function")for(e=m.call(e),m=0;!(i=e.next()).done;)i=i.value,s=c+bF(i,m++),l+=FL(i,r,a,s,f);else if(s==="object"){if(typeof e.then==="function")return FL(wxe(e),r,a,i,f);throw r=String(e),Error("Objects are not valid as a React child (found: "+(r==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":r)+"). If you meant to render a collection of children, use an array instead.")}return l}function ZD(e,r,a){if(e==null)return e;var i=[],f=0;return FL(e,i,"","",function(s){return r.call(a,s,f++)}),i}function zxe(e){if(e._status===-1){var r=e._result;r=r(),r.then(function(a){if(e._status===0||e._status===-1)e._status=1,e._result=a},function(a){if(e._status===0||e._status===-1)e._status=2,e._result=a}),e._status===-1&&(e._status=0,e._result=r)}if(e._status===1)return e._result.default;throw e._result}var wF,uxe,dxe,Zxe,pxe,mxe,hxe,gxe,Mxe,vxe,qW,xxe,FW,VW,HW,WW,SF,BW,Da,KW,YW,UW,Sxe,XW,tc,Cs,yn,QW,JW,IF,ra,Fa,$W,eG=function(e){return function(){return e.apply(null,arguments)}},tG=function(){return null},Vd=function(e,r,a){if(e===null||e===void 0)throw Error("The argument must be a React element, but you passed "+e+".");var i=HW({},e.props),f=e.key;if(r!=null)for(s in r.key!==void 0&&(f=""+r.key),r)!KW.call(r,s)||s==="key"||s==="__self"||s==="__source"||s==="ref"&&r.ref===void 0||(i[s]=r[s]);var s=arguments.length-2;if(s===1)i.children=a;else if(1<s){for(var l=Array(s),c=0;c<s;c++)l[c]=arguments[c+2];i.children=l}return LF(e.type,f,i)},xt=function(e){return e={$$typeof:hxe,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider=e,e.Consumer={$$typeof:mxe,_context:e},e},q=function(e,r,a){var i,f={},s=null;if(r!=null)for(i in r.key!==void 0&&(s=""+r.key),r)KW.call(r,i)&&i!=="key"&&i!=="__self"&&i!=="__source"&&(f[i]=r[i]);var l=arguments.length-2;if(l===1)f.children=a;else if(1<l){for(var c=Array(l),m=0;m<l;m++)c[m]=arguments[m+2];f.children=c}if(e&&e.defaultProps)for(i in l=e.defaultProps,l)f[i]===void 0&&(f[i]=l[i]);return LF(e,s,f)},rG=function(){return{current:null}},D=function(e){return{$$typeof:gxe,render:e}},fs,oG=function(e){return{$$typeof:qW,_payload:{_status:-1,_result:e},_init:zxe}},rc=function(e,r){return{$$typeof:vxe,type:e,compare:r===void 0?null:r}},YL=function(e){var r=Da.T,a={};Da.T=a;try{var i=e(),f=Da.S;f!==null&&f(a,i),typeof i==="object"&&i!==null&&typeof i.then==="function"&&i.then(_F,UW)}catch(s){UW(s)}finally{r!==null&&a.types!==null&&(r.types=a.types),Da.T=r}},aG=function(){return Da.H.useCacheRefresh()},wc=function(e){return Da.H.use(e)},nG=function(e,r,a){return Da.H.useActionState(e,r,a)},N=function(e,r){return Da.H.useCallback(e,r)},St=function(e){return Da.H.useContext(e)},Q8=function(){},iG=function(e,r){return Da.H.useDeferredValue(e,r)},h=function(e,r){return Da.H.useEffect(e,r)},fG=function(e){return Da.H.useEffectEvent(e)},Nu=function(){return Da.H.useId()},ln=function(e,r,a){return Da.H.useImperativeHandle(e,r,a)},pD=function(e,r){return Da.H.useInsertionEffect(e,r)},Ge=function(e,r){return Da.H.useLayoutEffect(e,r)},O=function(e,r){return Da.H.useMemo(e,r)},sG=function(e,r){return Da.H.useOptimistic(e,r)},Ao=function(e,r,a){return Da.H.useReducer(e,r,a)},w=function(e){return Da.H.useRef(e)},u=function(e){return Da.H.useState(e)},Vn=function(e,r,a){return Da.H.useSyncExternalStore(e,r,a)},lG=function(){return Da.H.useTransition()},Es="19.2.8";var C=lm(()=>{wF=Symbol.for("react.transitional.element"),uxe=Symbol.for("react.portal"),dxe=Symbol.for("react.fragment"),Zxe=Symbol.for("react.strict_mode"),pxe=Symbol.for("react.profiler"),mxe=Symbol.for("react.consumer"),hxe=Symbol.for("react.context"),gxe=Symbol.for("react.forward_ref"),Mxe=Symbol.for("react.suspense"),vxe=Symbol.for("react.memo"),qW=Symbol.for("react.lazy"),xxe=Symbol.for("react.activity"),FW=Symbol.iterator;VW={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},HW=Object.assign,WW={};BL.prototype.isReactComponent={};BL.prototype.setState=function(e,r){if(typeof e!=="object"&&typeof e!=="function"&&e!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,r,"setState")};BL.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};GW.prototype=BL.prototype;SF=zF.prototype=new GW;SF.constructor=zF;HW(SF,BL.prototype);SF.isPureReactComponent=!0;BW=Array.isArray;Da={H:null,A:null,T:null,S:null},KW=Object.prototype.hasOwnProperty;YW=/\/+/g;UW=typeof reportError==="function"?reportError:function(e){if(typeof window==="object"&&typeof window.ErrorEvent==="function"){var r=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e==="object"&&e!==null&&typeof e.message==="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(r))return}else if(typeof process==="object"&&typeof process.emit==="function"){process.emit("uncaughtException",e);return}console.error(e)},Sxe={map:ZD,forEach:function(e,r,a){ZD(e,function(){r.apply(this,arguments)},a)},count:function(e){var r=0;return ZD(e,function(){r++}),r},toArray:function(e){return ZD(e,function(r){return r})||[]},only:function(e){if(!kF(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};XW=xxe,tc=Sxe,Cs=BL,yn=dxe,QW=pxe,JW=zF,IF=Zxe,ra=Mxe,Fa=Da,$W={__proto__:null,c:function(e){return Da.H.useMemoCache(e)}},fs=kF});var kK=v(function(Sye){C();function gye(e,r){return e===r&&(e!==0||1/e===1/r)||e!==e&&r!==r}var Mye=typeof Object.is==="function"?Object.is:gye,vye=u,xye=h,yye=Ge,bye=Q8;function _ye(e,r){var a=r(),i=vye({inst:{value:a,getSnapshot:r}}),f=i[0].inst,s=i[1];return yye(function(){f.value=a,f.getSnapshot=r,m3(f)&&s({inst:f})},[e,a,r]),xye(function(){return m3(f)&&s({inst:f}),e(function(){m3(f)&&s({inst:f})})},[e]),bye(a),a}function m3(e){var r=e.getSnapshot;e=e.value;try{var a=r();return!Mye(e,a)}catch(i){return!0}}function wye(e,r){return r()}var zye=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?wye:_ye;Sye.useSyncExternalStore=Vn!==void 0?Vn:zye});var nz={};um(nz,{unstable_now:()=>Kn,unstable_IdlePriority:()=>qa,unstable_ImmediatePriority:()=>ol,unstable_LowPriority:()=>JD,unstable_NormalPriority:()=>Is,unstable_Profiling:()=>sX,unstable_UserBlockingPriority:()=>sl,unstable_cancelCallback:()=>al,unstable_forceFrameRate:()=>lX,unstable_getCurrentPriorityLevel:()=>$D,unstable_next:()=>cX,unstable_requestPaint:()=>il,unstable_runWithPriority:()=>zu,unstable_scheduleCallback:()=>Ts,unstable_shouldYield:()=>ll,unstable_wrapCallback:()=>uX},{unstable_now:(LDt)=>Kn=LDt,unstable_IdlePriority:(LDt)=>qa=LDt,unstable_ImmediatePriority:(LDt)=>ol=LDt,unstable_LowPriority:(LDt)=>JD=LDt,unstable_NormalPriority:(LDt)=>Is=LDt,unstable_Profiling:(LDt)=>sX=LDt,unstable_UserBlockingPriority:(LDt)=>sl=LDt,unstable_cancelCallback:(LDt)=>al=LDt,unstable_forceFrameRate:(LDt)=>lX=LDt,unstable_getCurrentPriorityLevel:(LDt)=>$D=LDt,unstable_next:(LDt)=>cX=LDt,unstable_requestPaint:(LDt)=>il=LDt,unstable_runWithPriority:(LDt)=>zu=LDt,unstable_scheduleCallback:(LDt)=>Ts=LDt,unstable_shouldYield:(LDt)=>ll=LDt,unstable_wrapCallback:(LDt)=>uX=LDt});function z3(e,r){var a=e.length;e.push(r);e:for(;0<a;){var i=a-1>>>1,f=e[i];if(0<WD(f,r))e[i]=r,e[a]=f,a=i;else break e}}function Jd(e){return e.length===0?null:e[0]}function QD(e){if(e.length===0)return null;var r=e[0],a=e.pop();if(a!==r){e[0]=a;e:for(var i=0,f=e.length,s=f>>>1;i<s;){var l=2*(i+1)-1,c=e[l],m=l+1,g=e[m];if(0>WD(c,a))m<f&&0>WD(g,c)?(e[i]=g,e[m]=a,i=m):(e[i]=c,e[l]=a,i=l);else if(m<f&&0>WD(g,a))e[i]=g,e[m]=a,i=m;else break e}}return r}function WD(e,r){var a=e.sortIndex-r.sortIndex;return a!==0?a:e.id-r.id}function KD(e){for(var r=Jd(PM);r!==null;){if(r.callback===null)QD(PM);else if(r.startTime<=e)QD(PM),r.sortIndex=r.expirationTime,z3(IZ,r);else break;r=Jd(PM)}}function R3(e){if(TR=!1,KD(e),!PR)if(Jd(IZ)!==null)PR=!0,ik||(ik=!0,nk());else{var r=Jd(PM);r!==null&&P3(R3,r.startTime-e)}}function fX(){return C3?!0:nz.unstable_now()-iX<nX?!1:!0}function w3(){if(C3=!1,ik){var e=nz.unstable_now();iX=e;var r=!0;try{e:{PR=!1,TR&&(TR=!1,aX(AR),AR=-1),k3=!0;var a=lf;try{t:{KD(e);for(ac=Jd(IZ);ac!==null&&!(ac.expirationTime>e&&fX());){var i=ac.callback;if(typeof i==="function"){ac.callback=null,lf=ac.priorityLevel;var f=i(ac.expirationTime<=e);if(e=nz.unstable_now(),typeof f==="function"){ac.callback=f,KD(e),r=!0;break t}ac===Jd(IZ)&&QD(IZ),KD(e)}else QD(IZ);ac=Jd(IZ)}if(ac!==null)r=!0;else{var s=Jd(PM);s!==null&&P3(R3,s.startTime-e),r=!1}}break e}finally{ac=null,lf=a,k3=!1}r=void 0}}finally{r?nk():ik=!1}}}function P3(e,r){AR=oX(function(){e(nz.unstable_now())},r)}var Kn=void 0,S3,GD,L3,IZ,PM,Wye=1,ac=null,lf=3,k3=!1,PR=!1,TR=!1,C3=!1,oX,aX,rX,ik=!1,AR=-1,nX=5,iX=-1,nk,XD,I3,qa=5,ol=1,JD=4,Is=3,sX=null,sl=2,al=function(e){e.callback=null},lX=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):nX=0<e?Math.floor(1000/e):5},$D=function(){return lf},cX=function(e){switch(lf){case 1:case 2:case 3:var r=3;break;default:r=lf}var a=lf;lf=r;try{return e()}finally{lf=a}},il=function(){C3=!0},zu=function(e,r){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var a=lf;lf=e;try{return r()}finally{lf=a}},Ts=function(e,r,a){var i=nz.unstable_now();switch(typeof a==="object"&&a!==null?(a=a.delay,a=typeof a==="number"&&0<a?i+a:i):a=i,e){case 1:var f=-1;break;case 2:f=250;break;case 5:f=1073741823;break;case 4:f=1e4;break;default:f=5000}return f=a+f,e={id:Wye++,callback:r,priorityLevel:e,startTime:a,expirationTime:f,sortIndex:-1},a>i?(e.sortIndex=a,z3(PM,e),Jd(IZ)===null&&e===Jd(PM)&&(TR?(aX(AR),AR=-1):TR=!0,P3(R3,a-i))):(e.sortIndex=f,z3(IZ,e),PR||k3||(PR=!0,ik||(ik=!0,nk()))),e},ll,uX=function(e){var r=lf;return function(){var a=lf;lf=r;try{return e.apply(this,arguments)}finally{lf=a}}};var ju=lm(()=>{if(typeof performance==="object"&&typeof performance.now==="function")S3=performance,Kn=function(){return S3.now()};else GD=Date,L3=GD.now(),Kn=function(){return GD.now()-L3};IZ=[],PM=[],oX=typeof setTimeout==="function"?setTimeout:null,aX=typeof clearTimeout==="function"?clearTimeout:null,rX=typeof setImmediate<"u"?setImmediate:null;if(typeof rX==="function")nk=function(){rX(w3)};else if(typeof MessageChannel<"u")XD=new MessageChannel,I3=XD.port2,XD.port1.onmessage=w3,nk=function(){I3.postMessage(null)};else nk=function(){oX(w3,0)};ll=fX});var Vge=v(function(eCn,qge){var Fge=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,X_t=/\n/g,Q_t=/^\s*/,J_t=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,$_t=/^:\s*/,ewt=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,twt=/^[;\s]*/,rwt=/^\s+|\s+$/g,owt=`
|
|
2
|
+
`,Bge="/",Yge="*",RL="",awt="comment",nwt="declaration";function iwt(e,r){if(typeof e!=="string")throw TypeError("First argument must be a string");if(!e)return[];r=r||{};var a=1,i=1;function f(_){var k=_.match(X_t);if(k)a+=k.length;var F=_.lastIndexOf(owt);i=~F?_.length-F:i+_.length}function s(){var _={line:a,column:i};return function(k){return k.position=new l(_),g(),k}}function l(_){this.start=_,this.end={line:a,column:i},this.source=r.source}l.prototype.content=e;function c(_){var k=Error(r.source+":"+a+":"+i+": "+_);if(k.reason=_,k.filename=r.source,k.line=a,k.column=i,k.source=e,r.silent);else throw k}function m(_){var k=_.exec(e);if(!k)return;var F=k[0];return f(F),e=e.slice(F.length),k}function g(){m(Q_t)}function M(_){var k;_=_||[];while(k=x())if(k!==!1)_.push(k);return _}function x(){var _=s();if(Bge!=e.charAt(0)||Yge!=e.charAt(1))return;var k=2;while(RL!=e.charAt(k)&&(Yge!=e.charAt(k)||Bge!=e.charAt(k+1)))++k;if(k+=2,RL===e.charAt(k-1))return c("End of comment missing");var F=e.slice(2,k-2);return i+=2,f(F),e=e.slice(k),i+=2,_({type:awt,comment:F})}function b(){var _=s(),k=m(J_t);if(!k)return;if(x(),!m($_t))return c("property missing ':'");var F=m(ewt),I=_({type:nwt,property:Uge(k[0].replace(Fge,RL)),value:F?Uge(F[0].replace(Fge,RL)):RL});return m(twt),I}function y(){var _=[];M(_);var k;while(k=b())if(k!==!1)_.push(k),M(_);return _}return g(),y()}function Uge(e){return e?e.replace(rwt,RL):RL}qge.exports=iwt});var Hge=v(function(U2){var fwt=U2&&U2.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(U2,"__esModule",{value:!0});U2.default=lwt;var swt=fwt(Vge());function lwt(e,r){let a=null;if(!e||typeof e!=="string")return a;let i=(0,swt.default)(e),f=typeof r==="function";return i.forEach((s)=>{if(s.type!=="declaration")return;let{property:l,value:c}=s;if(f)r(l,c,s);else if(c)a=a||{},a[l]=c}),a}});var Xge=v(function(Gge){Object.defineProperty(Gge,"__esModule",{value:!0});Gge.camelCase=void 0;var cwt=/^--[a-zA-Z0-9_-]+$/,uwt=/-([a-z])/g,dwt=/^[^-]+$/,Zwt=/^-(webkit|moz|ms|o|khtml)-/,pwt=/^-(ms)-/,mwt=function(e){return!e||dwt.test(e)||cwt.test(e)},hwt=function(e,r){return r.toUpperCase()},Wge=function(e,r){return"".concat(r,"-")},gwt=function(e,r){if(r===void 0)r={};if(mwt(e))return e;if(e=e.toLowerCase(),r.reactCompat)e=e.replace(pwt,Wge);else e=e.replace(Zwt,Wge);return e.replace(uwt,hwt)};Gge.camelCase=gwt});var Jge=v(function(wH,Qge){var Mwt=wH&&wH.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},vwt=Mwt(Hge()),xwt=Xge();function _H(e,r){var a={};if(!e||typeof e!=="string")return a;return(0,vwt.default)(e,function(i,f){if(i&&f)a[(0,xwt.camelCase)(i,r)]=f}),a}_H.default=_H;Qge.exports=_H});var _ve=v(function(q2n,bve){var H4=Object.prototype.hasOwnProperty,yve=Object.prototype.toString,{defineProperty:mve,getOwnPropertyDescriptor:hve}=Object,gve=function(r){if(typeof Array.isArray==="function")return Array.isArray(r);return yve.call(r)==="[object Array]"},Mve=function(r){if(!r||yve.call(r)!=="[object Object]")return!1;var a=H4.call(r,"constructor"),i=r.constructor&&r.constructor.prototype&&H4.call(r.constructor.prototype,"isPrototypeOf");if(r.constructor&&!a&&!i)return!1;var f;for(f in r);return typeof f>"u"||H4.call(r,f)},vve=function(r,a){if(mve&&a.name==="__proto__")mve(r,a.name,{enumerable:!0,configurable:!0,value:a.newValue,writable:!0});else r[a.name]=a.newValue},xve=function(r,a){if(a==="__proto__"){if(!H4.call(r,a))return;else if(hve)return hve(r,a).value}return r[a]};bve.exports=function e(){var r,a,i,f,s,l,c=arguments[0],m=1,g=arguments.length,M=!1;if(typeof c==="boolean")M=c,c=arguments[1]||{},m=2;if(c==null||typeof c!=="object"&&typeof c!=="function")c={};for(;m<g;++m)if(r=arguments[m],r!=null){for(a in r)if(i=xve(c,a),f=xve(r,a),c!==f){if(M&&f&&(Mve(f)||(s=gve(f)))){if(s)s=!1,l=i&&gve(i)?i:[];else l=i&&Mve(i)?i:{};vve(c,{name:a,newValue:e(M,l,f)})}else if(typeof f<"u")vve(c,{name:a,newValue:f})}}return c}});C();var Lxe=Symbol.for("react.transitional.element"),kxe=Symbol.for("react.fragment");function cG(e,r,a){var i=null;if(a!==void 0&&(i=""+a),r.key!==void 0&&(i=""+r.key),"key"in r){a={};for(var f in r)f!=="key"&&(a[f]=r[f])}else a=r;return r=a.ref,{$$typeof:Lxe,type:e,key:i,ref:r!==void 0?r:null,props:a}}var B=kxe,t=cG,o=cG;var CF=xt(void 0),K=(e)=>{let r=St(CF);if(e)return e;if(!r)throw Error("No QueryClient set, use QueryClientProvider to set one");return r},RF=({client:e,children:r})=>(h(()=>(e.mount(),()=>{e.unmount()}),[e]),t(CF.Provider,{value:e,children:r}));C();var uG=xt(!1),Ou=()=>St(uG),Mkt=uG.Provider;C();function Ixe(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var Cxe=xt(Ixe()),Du=()=>St(Cxe);C();var Rxe={setTimeout:(e,r)=>setTimeout(e,r),clearTimeout:(e)=>clearTimeout(e),setInterval:(e,r)=>setInterval(e,r),clearInterval:(e)=>clearInterval(e)},Pxe=class{#e=Rxe;#t=!1;setTimeoutProvider(e){this.#e=e}setTimeout(e,r){return this.#e.setTimeout(e,r)}clearTimeout(e){this.#e.clearTimeout(e)}setInterval(e,r){return this.#e.setInterval(e,r)}clearInterval(e){this.#e.clearInterval(e)}},Wd=new Pxe;function dG(e){setTimeout(e,0)}var TF=typeof window>"u"||"Deno"in globalThis;function mr(){}function mG(e,r){return typeof e==="function"?e(r):e}function mD(e){return typeof e==="number"&&e>=0&&e!==1/0}function hD(e,r){return Math.max(e+(r||0)-Date.now(),0)}function Ea(e,r){return typeof e==="function"?e(r):e}function gD(e,r){let{type:a="all",exact:i,fetchStatus:f,predicate:s,queryKey:l,stale:c}=e;if(l){if(i){if(r.queryHash!==MR(l,r.options))return!1}else if(!gM(r.queryKey,l))return!1}if(a!=="all"){let m=r.isActive();if(a==="active"&&!m)return!1;if(a==="inactive"&&m)return!1}if(typeof c==="boolean"&&r.isStale()!==c)return!1;if(f&&f!==r.state.fetchStatus)return!1;if(s&&!s(r))return!1;return!0}function MD(e,r){let{exact:a,status:i,predicate:f,mutationKey:s}=e;if(s){if(!r.options.mutationKey)return!1;if(a){if(Kd(r.options.mutationKey)!==Kd(s))return!1}else if(!gM(r.options.mutationKey,s))return!1}if(i&&r.state.status!==i)return!1;if(f&&!f(r))return!1;return!0}function MR(e,r){return(r?.queryKeyHashFn||Kd)(e)}function Kd(e){return JSON.stringify(e,(r,a)=>PF(a)?Object.keys(a).sort().reduce((i,f)=>(i[f]=a[f],i),{}):a)}function gM(e,r){if(e===r)return!0;if(typeof e!==typeof r)return!1;if(e&&r&&typeof e==="object"&&typeof r==="object"){if(Array.isArray(e)&&Array.isArray(r)){for(let i=0;i<r.length;i++)if(!gM(e[i],r[i]))return!1;return!0}let a=Object.keys(r);for(let i of a)if(!gM(e[i],r[i]))return!1;return!0}return!1}var Txe=Object.prototype.hasOwnProperty;function vc(e,r,a=0){if(e===r)return e;if(a>500)return r;let i=ZG(e)&&ZG(r);if(!i&&!(PF(e)&&PF(r)))return r;let f=(i?e:Object.keys(e)).length,s=i?r:Object.keys(r),l=s.length,c=i?Array(l):{},m=0;for(let g=0;g<l;g++){let M=i?g:s[g],x=e[M],b=r[M];if(x===b){if(c[M]=x,i?g<f:Txe.call(e,M))m++;continue}if(x===null||b===null||typeof x!=="object"||typeof b!=="object"){c[M]=b;continue}let y=vc(x,b,a+1);if(c[M]=y,y===x)m++}return f===l&&m===f?e:c}function za(e,r){if(!r||Object.keys(e).length!==Object.keys(r).length)return!1;for(let a in e)if(e[a]!==r[a])return!1;return!0}function ZG(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function PF(e){if(!pG(e))return!1;let r=e.constructor;if(r===void 0)return!0;let a=r.prototype;if(!pG(a))return!1;if(!a.hasOwnProperty("isPrototypeOf"))return!1;if(Object.getPrototypeOf(e)!==Object.prototype)return!1;return!0}function pG(e){return Object.prototype.toString.call(e)==="[object Object]"}function hG(e){return new Promise((r)=>{Wd.setTimeout(r,e)})}function vR(e,r,a){if(typeof a.structuralSharing==="function")return a.structuralSharing(e,r);else if(a.structuralSharing!==!1)return vc(e,r);return r}function wi(e){return e}function gG(e,r,a=0){let i=[...e,r];return a&&i.length>a?i.slice(1):i}function MG(e,r,a=0){let i=[r,...e];return a&&i.length>a?i.slice(0,-1):i}var UL=Symbol();function vD(e,r){if(!e.queryFn&&r?.initialPromise)return()=>r.initialPromise;if(!e.queryFn||e.queryFn===UL)return()=>Promise.reject(Error(`Missing queryFn: '${e.queryHash}'`));return e.queryFn}function qL(e,r){if(typeof e==="function")return e(...r);return!!e}function vG(e,r,a){let i=!1,f;return Object.defineProperty(e,"signal",{enumerable:!0,get:()=>{if(f??=r(),i)return f;if(i=!0,f.aborted)a();else f.addEventListener("abort",a,{once:!0});return f}}),e}var Axe=()=>TF,VL=()=>Axe();var yo=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}};var Dxe=class extends yo{#e;#t;#r;constructor(){super();this.#r=(e)=>{if(typeof window<"u"&&window.addEventListener){let r=()=>e();return window.addEventListener("visibilitychange",r,!1),()=>{window.removeEventListener("visibilitychange",r)}}}}onSubscribe(){if(!this.#t)this.setEventListener(this.#r)}onUnsubscribe(){if(!this.hasListeners())this.#t?.(),this.#t=void 0}setEventListener(e){this.#r=e,this.#t?.(),this.#t=e((r)=>{if(typeof r==="boolean")this.setFocused(r);else this.onFocus()})}setFocused(e){if(this.#e!==e)this.#e=e,this.onFocus()}onFocus(){let e=this.isFocused();this.listeners.forEach((r)=>{r(e)})}isFocused(){if(typeof this.#e==="boolean")return this.#e;return globalThis.document?.visibilityState!=="hidden"}},HL=new Dxe;var xG=dG;function Exe(){let e=[],r=0,a=(c)=>{c()},i=(c)=>{c()},f=xG,s=(c)=>{if(r)e.push(c);else f(()=>{a(c)})},l=()=>{let c=e;if(e=[],c.length)f(()=>{i(()=>{c.forEach((m)=>{a(m)})})})};return{batch:(c)=>{let m;r++;try{m=c()}finally{if(r--,!r)l()}return m},batchCalls:(c)=>(...m)=>{s(()=>{c(...m)})},schedule:s,setNotifyFunction:(c)=>{a=c},setBatchNotifyFunction:(c)=>{i=c},setScheduler:(c)=>{f=c}}}var qt=Exe();var Oxe=class extends yo{#e=!0;#t;#r;constructor(){super();this.#r=(e)=>{if(typeof window<"u"&&window.addEventListener){let r=()=>e(!0),a=()=>e(!1);return window.addEventListener("online",r,!1),window.addEventListener("offline",a,!1),()=>{window.removeEventListener("online",r),window.removeEventListener("offline",a)}}}}onSubscribe(){if(!this.#t)this.setEventListener(this.#r)}onUnsubscribe(){if(!this.hasListeners())this.#t?.(),this.#t=void 0}setEventListener(e){this.#r=e,this.#t?.(),this.#t=e(this.setOnline.bind(this))}setOnline(e){if(this.#e!==e)this.#e=e,this.listeners.forEach((r)=>{r(e)})}isOnline(){return this.#e}},WL=new Oxe;function jxe(e){return Math.min(1000*2**e,30000)}function AF(e){return(e??"online")==="online"?WL.isOnline():!0}var xD=class extends Error{constructor(e){super("CancelledError");this.revert=e?.revert,this.silent=e?.silent}};function yD(e){let r=!1,a=0,i,f="pending",s,l,c=new Promise((j,G)=>{s=j,l=G});c.catch(mr);let m=()=>f!=="pending",g=(j)=>{if(!m()){let G=new xD(j);k(G),e.onCancel?.(G)}},M=()=>{r=!0},x=()=>{r=!1},b=()=>HL.isFocused()&&(e.networkMode==="always"||WL.isOnline())&&e.canRun(),y=()=>AF(e.networkMode)&&e.canRun(),_=(j)=>{if(!m())i?.(),f="resolved",s(j)},k=(j)=>{if(!m())i?.(),f="rejected",l(j)},F=()=>new Promise((j)=>{i=(G)=>{if(m()||b())j(G)},e.onPause?.()}).then(()=>{if(i=void 0,!m())e.onContinue?.()}),I=()=>{if(m())return;let j,G=a===0?e.initialPromise:void 0;try{j=G??e.fn()}catch(X){j=Promise.reject(X)}Promise.resolve(j).then(_).catch((X)=>{if(m())return;let J=e.retry??(VL()?0:3),ee=e.retryDelay??jxe,te=typeof ee==="function"?ee(a,X):ee,oe=J===!0||typeof J==="number"&&a<J||typeof J==="function"&&J(a,X);if(r||!oe){k(X);return}a++,e.onFail?.(a,X),hG(te).then(()=>b()?void 0:F()).then(()=>{if(r)k(X);else I()})})};return{promise:c,status:()=>f,cancel:g,continue:()=>(i?.(),c),cancelRetry:M,continueRetry:x,canStart:y,start:()=>{if(y())I();else F().then(I);return c}}}var bD=class{#e;destroy(){this.clearGcTimeout()}scheduleGc(){if(this.clearGcTimeout(),mD(this.gcTime))this.#e=Wd.setTimeout(()=>{this.optionalRemove()},this.gcTime)}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(VL()?1/0:300000))}clearGcTimeout(){if(this.#e!==void 0)Wd.clearTimeout(this.#e),this.#e=void 0}};function yG(e){return{onFetch:(r,a)=>{let i=r.options,f=r.fetchOptions?.meta?.fetchMore?.direction,s=r.state.data?.pages||[],l=r.state.data?.pageParams||[],c={pages:[],pageParams:[]},m=0,g=async()=>{let M=!1,x=(_)=>{vG(_,()=>r.signal,()=>M=!0)},b=vD(r.options,r.fetchOptions),y=async(_,k,F)=>{if(M)return Promise.reject(r.signal.reason);if(k==null&&_.pages.length)return Promise.resolve(_);let j=(()=>{let ee={client:r.client,queryKey:r.queryKey,pageParam:k,direction:F?"backward":"forward",meta:r.options.meta};return x(ee),ee})(),G=await b(j),{maxPages:X}=r.options,J=F?MG:gG;return{pages:J(_.pages,G,X),pageParams:J(_.pageParams,k,X)}};if(f&&s.length){let _=f==="backward",k=_?bG:DF,F={pages:s,pageParams:l};c=await y(F,k(i,F),_)}else{let _=e??s.length;do{let k=m===0?l[0]??i.initialPageParam:DF(i,c);if(m>0&&k==null)break;c=await y(c,k),m++}while(m<_)}return c};if(r.options.persister)r.fetchFn=()=>r.options.persister?.(g,{client:r.client,queryKey:r.queryKey,meta:r.options.meta,signal:r.signal},a);else r.fetchFn=g}}}function DF(e,{pages:r,pageParams:a}){let i=r.length-1;return r.length>0?e.getNextPageParam(r[i],r,a[i],a):void 0}function bG(e,{pages:r,pageParams:a}){return r.length>0?e.getPreviousPageParam?.(r[0],r,a[0],a):void 0}function _G(e,r){if(!r)return!1;return DF(e,r)!=null}function wG(e,r){if(!r||!e.getPreviousPageParam)return!1;return bG(e,r)!=null}var LG=class extends bD{#e;#t;#r;#o;#n;#a;#i;#s;constructor(e){super();this.#s=!1,this.#i=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#n=e.client,this.#o=this.#n.getQueryCache(),this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#t=SG(this.options),this.state=e.state??this.#t,this.scheduleGc()}get meta(){return this.options.meta}get queryType(){return this.#e}get promise(){return this.#a?.promise}setOptions(e){if(this.options={...this.#i,...e},e?._type)this.#e=e._type;if(this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){let r=SG(this.options);if(r.data!==void 0)this.setState(zG(r.data,r.dataUpdatedAt)),this.#t=r}}optionalRemove(){if(!this.observers.length&&this.state.fetchStatus==="idle")this.#o.remove(this)}setData(e,r){let a=vR(this.state.data,e,this.options);return this.#f({data:a,type:"success",dataUpdatedAt:r?.updatedAt,manual:r?.manual}),a}setState(e){this.#f({type:"setState",state:e})}cancel(e){let r=this.#a?.promise;return this.#a?.cancel(e),r?r.then(mr).catch(mr):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return this.#t}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some((e)=>Ea(e.options.enabled,this)!==!1)}isDisabled(){if(this.getObserversCount()>0)return!this.isActive();return this.options.queryFn===UL||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdateCount>0}isStatic(){if(this.getObserversCount()>0)return this.observers.some((e)=>Ea(e.options.staleTime,this)==="static");return!1}isStale(){if(this.getObserversCount()>0)return this.observers.some((e)=>e.getCurrentResult().isStale);return this.state.data===void 0||this.state.isInvalidated}isStaleByTime(e=0){if(this.state.data===void 0)return!0;if(e==="static")return!1;if(this.state.isInvalidated)return!0;return!hD(this.state.dataUpdatedAt,e)}onFocus(){this.observers.find((e)=>e.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),this.#a?.continue()}onOnline(){this.observers.find((e)=>e.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),this.#a?.continue()}addObserver(e){if(!this.observers.includes(e))this.observers.push(e),this.clearGcTimeout(),this.#o.notify({type:"observerAdded",query:this,observer:e})}removeObserver(e){let r=this.observers.indexOf(e);if(r!==-1){if(this.observers.splice(r,1),!this.observers.length){if(this.#a)if(this.#s||this.state.fetchStatus==="paused"&&this.state.status==="pending")this.#a.cancel({revert:!0});else this.#a.cancelRetry();this.scheduleGc()}this.#o.notify({type:"observerRemoved",query:this,observer:e})}}getObserversCount(){return this.observers.length}invalidate(){if(!this.state.isInvalidated)this.#f({type:"invalidate"})}async fetch(e,r){if(this.state.fetchStatus!=="idle"&&this.#a?.status()!=="rejected"){if(this.state.data!==void 0&&r?.cancelRefetch)this.cancel({silent:!0});else if(this.#a)return this.#a.continueRetry(),this.#a.promise}if(e)this.setOptions(e);if(!this.options.queryFn){let m=this.observers.find((g)=>g.options.queryFn);if(m)this.setOptions(m.options)}let a=new AbortController,i=(m)=>{Object.defineProperty(m,"signal",{enumerable:!0,get:()=>(this.#s=!0,a.signal)})},f=()=>{let m=vD(this.options,r),M=(()=>{let x={client:this.#n,queryKey:this.queryKey,meta:this.meta};return i(x),x})();if(this.#s=!1,this.options.persister)return this.options.persister(m,M,this);return m(M)},l=(()=>{let m={fetchOptions:r,options:this.options,queryKey:this.queryKey,client:this.#n,state:this.state,fetchFn:f};return i(m),m})();if((this.#e==="infinite"?yG(this.options.pages):this.options.behavior)?.onFetch(l,this),this.#r=this.state,this.state.fetchStatus==="idle"||this.state.fetchMeta!==l.fetchOptions?.meta)this.#f({type:"fetch",meta:l.fetchOptions?.meta});let c=this.#a=yD({initialPromise:r?.initialPromise,fn:l.fetchFn,onCancel:(m)=>{if(m instanceof xD&&m.revert)this.setState({...this.#r,fetchStatus:"idle"});a.abort()},onFail:(m,g)=>{this.#f({type:"failed",failureCount:m,error:g})},onPause:()=>{this.#f({type:"pause"})},onContinue:()=>{this.#f({type:"continue"})},retry:l.options.retry,retryDelay:l.options.retryDelay,networkMode:l.options.networkMode,canRun:()=>!0});try{let m=await c.start();if(m===void 0)throw Error(`${this.queryHash} data is undefined`);return this.setData(m),this.#o.config.onSuccess?.(m,this),this.#o.config.onSettled?.(m,this.state.error,this),m}catch(m){if(m instanceof xD){if(m.silent)return this.#a.promise;else if(m.revert){if(this.state.data===void 0)throw m;return this.state.data}}throw this.#f({type:"error",error:m}),this.#o.config.onError?.(m,this),this.#o.config.onSettled?.(this.state.data,m,this),m}finally{if(this.#a===c)this.#a=void 0;this.scheduleGc()}}#f(e){let r=(a)=>{switch(e.type){case"failed":return{...a,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...a,fetchStatus:"paused"};case"continue":return{...a,fetchStatus:"fetching"};case"fetch":return{...a,...EF(a.data,this.options),fetchMeta:e.meta??null};case"success":let i={...a,...zG(e.data,e.dataUpdatedAt),dataUpdateCount:a.dataUpdateCount+1,...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#r=e.manual?i:void 0,i;case"error":let f=e.error;return{...a,error:f,errorUpdateCount:a.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:a.fetchFailureCount+1,fetchFailureReason:f,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...a,isInvalidated:!0};case"setState":return{...a,...e.state}}};this.state=r(this.state),qt.batch(()=>{this.observers.slice().forEach((a)=>{a.onQueryUpdate()}),this.#o.notify({query:this,type:"updated",action:e})})}};function EF(e,r){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:AF(r.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function zG(e,r){return{data:e,dataUpdatedAt:r??Date.now(),error:null,isInvalidated:!1,status:"success"}}function SG(e){let r=typeof e.initialData==="function"?e.initialData():e.initialData,a=r!==void 0,i=a?typeof e.initialDataUpdatedAt==="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:r,dataUpdateCount:0,dataUpdatedAt:a?i??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:a?"success":"pending",fetchStatus:"idle"}}var Vo=class extends yo{#e;#t=void 0;#r=void 0;#o=void 0;#n;#a;#i;#s;#f;#Z;#c;#u;#l;#p=new Set;constructor(e,r){super();this.options=r,this.#e=e,this.#i=null,this.bindMethods(),this.setOptions(r)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){if(this.listeners.size===1){if(this.#t.addObserver(this),kG(this.#t,this.options))this.#d();else this.updateResult();this.#v()}}onUnsubscribe(){if(!this.hasListeners())this.destroy()}shouldFetchOnReconnect(){return OF(this.#t,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return OF(this.#t,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#x(),this.#y(),this.#t.removeObserver(this)}setOptions(e){let r=this.options,a=this.#t;if(this.options=this.#e.defaultQueryOptions(e),this.options.enabled!==void 0&&typeof this.options.enabled!=="boolean"&&typeof this.options.enabled!=="function"&&typeof Ea(this.options.enabled,this.#t)!=="boolean")throw Error("Expected enabled to be a boolean or a callback that returns a boolean");if(this.#b(),this.#t.setOptions(this.options),r._defaulted&&!za(this.options,r))this.#e.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#t,observer:this});let i=this.hasListeners();if(i&&IG(this.#t,a,this.options,r))this.#d();if(this.updateResult(),i&&(this.#t!==a||Ea(this.options.enabled,this.#t)!==Ea(r.enabled,this.#t)||Ea(this.options.staleTime,this.#t)!==Ea(r.staleTime,this.#t)))this.#h();let f=this.#g();if(i&&(this.#t!==a||Ea(this.options.enabled,this.#t)!==Ea(r.enabled,this.#t)||f!==this.#l))this.#M(f)}getOptimisticResult(e){let r=this.#e.getQueryCache().build(this.#e,e),a=this.createResult(r,e);if(!za(this.getCurrentResult(),a))this.#o=a,this.#a=this.options,this.#n=this.#t.state;return a}getCurrentResult(){return this.#o}trackResult(e,r){return new Proxy(e,{get:(a,i)=>(this.trackProp(i),r?.(i),Reflect.get(a,i))})}trackProp(e){this.#p.add(e)}getCurrentQuery(){return this.#t}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){let r=this.#e.defaultQueryOptions(e),a=this.#e.getQueryCache().build(this.#e,r),i=()=>{},f,s=new Promise((l)=>{f=l,i=this.#e.getQueryCache().subscribe((c)=>{if(c.type==="updated"&&c.query.queryHash===a.queryHash&&a.state.data!==void 0)i(),l(this.createResult(a,r))})});return Promise.race([a.fetch().then(()=>{let l=this.createResult(a,r);return f?.(l),l}).finally(()=>{i()}),s])}fetch(e){return this.#d({...e,cancelRefetch:e.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#o))}#d(e){this.#b();let r=this.#t.fetch(this.options,e);if(!e?.throwOnError)r=r.catch(mr);return r}#m(e){return!VL()&&Ea(this.options.enabled,this.#t)!==!1&&mD(e)}#h(){this.#x();let e=Ea(this.options.staleTime,this.#t);if(this.#o.isStale||!this.#m(e))return;let r=hD(this.#o.dataUpdatedAt,e)+1;this.#c=Wd.setTimeout(()=>{if(!this.#o.isStale)this.updateResult()},r)}#g(){return(typeof this.options.refetchInterval==="function"?this.options.refetchInterval(this.#t):this.options.refetchInterval)??!1}#M(e){if(this.#y(),this.#l=e,this.#l===0||!this.#m(this.#l))return;this.#u=Wd.setInterval(()=>{if(this.options.refetchIntervalInBackground||HL.isFocused())this.#d()},this.#l)}#v(){this.#h(),this.#M(this.#g())}#x(){if(this.#c!==void 0)Wd.clearTimeout(this.#c),this.#c=void 0}#y(){if(this.#u!==void 0)Wd.clearInterval(this.#u),this.#u=void 0}createResult(e,r){let a=this.#t,i=this.options,f=this.#o,s=this.#n,l=this.#a,c=e!==a?e.state:this.#r,{state:m}=e,g={...m},M=!1,x;if(r._optimisticResults){let J=this.hasListeners(),ee=!J&&kG(e,r),te=J&&IG(e,a,r,i);if(ee||te)g={...g,...EF(m.data,e.options)};if(r._optimisticResults==="isRestoring")g.fetchStatus="idle"}let{error:b,errorUpdatedAt:y,status:_}=g;x=g.data;let k=!1;if(r.placeholderData!==void 0&&x===void 0&&_==="pending"){let J;if(f?.isPlaceholderData&&r.placeholderData===l?.placeholderData)J=f.data,k=!0;else J=typeof r.placeholderData==="function"?r.placeholderData(this.#Z?.state.data,this.#Z):r.placeholderData;if(J!==void 0)_="success",x=vR(f?.data,J,r),M=!0}if(r.select&&x!==void 0&&!k)if(f&&x===s?.data&&r.select===this.#s)x=this.#f;else try{this.#s=r.select,x=r.select(x),x=vR(f?.data,x,r),this.#f=x,this.#i=null}catch(J){this.#i=J}else if(x===void 0)this.#i=null;if(this.#i)b=this.#i,x=this.#f,y=Date.now(),_="error",M=!1;let F=g.fetchStatus==="fetching",I=_==="pending",j=_==="error",G=I&&F,X=x!==void 0;return{status:_,fetchStatus:g.fetchStatus,isPending:I,isSuccess:_==="success",isError:j,isInitialLoading:G,isLoading:G,data:x,dataUpdatedAt:g.dataUpdatedAt,error:b,errorUpdatedAt:y,failureCount:g.fetchFailureCount,failureReason:g.fetchFailureReason,errorUpdateCount:g.errorUpdateCount,isFetched:e.isFetched(),isFetchedAfterMount:g.dataUpdateCount>c.dataUpdateCount||g.errorUpdateCount>c.errorUpdateCount,isFetching:F,isRefetching:F&&!I,isLoadingError:j&&!X,isPaused:g.fetchStatus==="paused",isPlaceholderData:M,isRefetchError:j&&X,isStale:jF(e,r),refetch:this.refetch,isEnabled:Ea(r.enabled,e)!==!1}}updateResult(){let e=this.#o,r=this.createResult(this.#t,this.options);if(this.#n=this.#t.state,this.#a=this.options,this.#n.data!==void 0)this.#Z=this.#t;if(za(r,e))return;this.#o=r;let i=(()=>{if(!e)return!0;let{notifyOnChangeProps:f}=this.options,s=typeof f==="function"?f():f;if(s==="all"||!s&&!this.#p.size)return!0;let l=new Set(s??this.#p);if(this.options.throwOnError)l.add("error");return Object.keys(this.#o).some((c)=>{let m=c;return this.#o[m]!==e[m]&&l.has(m)})})();qt.batch(()=>{if(i)this.listeners.forEach((f)=>{f(this.#o)});this.#e.getQueryCache().notify({query:this.#t,type:"observerResultsUpdated"})})}#b(){let e=this.#e.getQueryCache().build(this.#e,this.options);if(e===this.#t)return;let r=this.#t;if(this.#t=e,this.#r=e.state,this.hasListeners())r?.removeObserver(this),e.addObserver(this)}onQueryUpdate(){if(this.updateResult(),this.hasListeners())this.#v()}};function Nxe(e,r){return Ea(r.enabled,e)!==!1&&e.state.data===void 0&&!(e.state.status==="error"&&Ea(r.retryOnMount,e)===!1)}function kG(e,r){return Nxe(e,r)||e.state.data!==void 0&&OF(e,r,r.refetchOnMount)}function OF(e,r,a){if(Ea(r.enabled,e)!==!1&&Ea(r.staleTime,e)!=="static"){let i=typeof a==="function"?a(e):a;return i==="always"||i!==!1&&jF(e,r)}return!1}function IG(e,r,a,i){return(e!==r||Ea(i.enabled,e)===!1)&&(!a.suspense||e.state.status!=="error")&&jF(e,a)}function jF(e,r){return Ea(r.enabled,e)!==!1&&e.isStaleByTime(Ea(r.staleTime,e))}var NF=class extends Vo{constructor(e,r){super(e,r)}bindMethods(){super.bindMethods(),this.fetchNextPage=this.fetchNextPage.bind(this),this.fetchPreviousPage=this.fetchPreviousPage.bind(this)}setOptions(e){e._type="infinite",super.setOptions(e)}getOptimisticResult(e){return e._type="infinite",super.getOptimisticResult(e)}fetchNextPage(e){return this.fetch({...e,meta:{fetchMore:{direction:"forward"}}})}fetchPreviousPage(e){return this.fetch({...e,meta:{fetchMore:{direction:"backward"}}})}createResult(e,r){let{state:a}=e,i=super.createResult(e,r),{isFetching:f,isRefetching:s,isError:l,isRefetchError:c}=i,m=a.fetchMeta?.fetchMore?.direction,g=l&&m==="forward",M=f&&m==="forward",x=l&&m==="backward",b=f&&m==="backward";return{...i,fetchNextPage:this.fetchNextPage,fetchPreviousPage:this.fetchPreviousPage,hasNextPage:_G(r,a.data),hasPreviousPage:wG(r,a.data),isFetchNextPageError:g,isFetchingNextPage:M,isFetchPreviousPageError:x,isFetchingPreviousPage:b,isRefetchError:c&&!g&&!x,isRefetching:s&&!M&&!b}}};var CG=class extends bD{#e;#t;#r;#o;constructor(e){super();this.#e=e.client,this.mutationId=e.mutationId,this.#r=e.mutationCache,this.#t=[],this.state=e.state||FF(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){if(!this.#t.includes(e))this.#t.push(e),this.clearGcTimeout(),this.#r.notify({type:"observerAdded",mutation:this,observer:e})}removeObserver(e){this.#t=this.#t.filter((r)=>r!==e),this.scheduleGc(),this.#r.notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){if(!this.#t.length)if(this.state.status==="pending")this.scheduleGc();else this.#r.remove(this)}continue(){return this.#o?.continue()??(this.state.status==="pending"?this.execute(this.state.variables):Promise.resolve())}async execute(e){let r=()=>{this.#n({type:"continue"})},a={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey},i=this.#o=yD({fn:()=>{if(!this.options.mutationFn)return Promise.reject(Error("No mutationFn found"));return this.options.mutationFn(e,a)},onFail:(l,c)=>{this.#n({type:"failed",failureCount:l,error:c})},onPause:()=>{this.#n({type:"pause"})},onContinue:r,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#r.canRun(this)}),f=this.state.status==="pending",s=!i.canStart();try{if(f)r();else{if(this.#n({type:"pending",variables:e,isPaused:s}),this.#r.config.onMutate)await this.#r.config.onMutate(e,this,a);let c=await this.options.onMutate?.(e,a);if(c!==this.state.context)this.#n({type:"pending",context:c,variables:e,isPaused:s})}let l=await i.start();return await this.#r.config.onSuccess?.(l,e,this.state.context,this,a),await this.options.onSuccess?.(l,e,this.state.context,a),await this.#r.config.onSettled?.(l,null,this.state.variables,this.state.context,this,a),await this.options.onSettled?.(l,null,e,this.state.context,a),this.#n({type:"success",data:l}),l}catch(l){try{await this.#r.config.onError?.(l,e,this.state.context,this,a)}catch(c){Promise.reject(c)}try{await this.options.onError?.(l,e,this.state.context,a)}catch(c){Promise.reject(c)}try{await this.#r.config.onSettled?.(void 0,l,this.state.variables,this.state.context,this,a)}catch(c){Promise.reject(c)}try{await this.options.onSettled?.(void 0,l,e,this.state.context,a)}catch(c){Promise.reject(c)}throw this.#n({type:"error",error:l}),l}finally{if(this.#o===i)this.#o=void 0;this.#r.runNext(this)}}#n(e){let r=(a)=>{switch(e.type){case"failed":return{...a,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...a,isPaused:!0};case"continue":return{...a,isPaused:!1};case"pending":return{...a,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:"pending",variables:e.variables,submittedAt:Date.now()};case"success":return{...a,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...a,data:void 0,error:e.error,failureCount:a.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"}}};this.state=r(this.state),qt.batch(()=>{this.#t.forEach((a)=>{a.onMutationUpdate(e)}),this.#r.notify({mutation:this,type:"updated",action:e})})}};function FF(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var RG=class extends yo{#e;#t;#r;constructor(e={}){super();this.config=e,this.#e=new Set,this.#t=new Map,this.#r=0}build(e,r,a){let i=new CG({client:e,mutationCache:this,mutationId:++this.#r,options:e.defaultMutationOptions(r),state:a});return this.add(i),i}add(e){this.#e.add(e);let r=_D(e);if(typeof r==="string"){let a=this.#t.get(r);if(a)a.push(e);else this.#t.set(r,[e])}this.notify({type:"added",mutation:e})}remove(e){if(this.#e.delete(e)){let r=_D(e);if(typeof r==="string"){let a=this.#t.get(r);if(a){if(a.length>1){let i=a.indexOf(e);if(i!==-1)a.splice(i,1)}else if(a[0]===e)this.#t.delete(r)}}}this.notify({type:"removed",mutation:e})}canRun(e){let r=_D(e);if(typeof r==="string"){let a=this.#t.get(r)?.find((i)=>i.state.status==="pending");return!a||a===e}else return!0}runNext(e){let r=_D(e);if(typeof r==="string")return this.#t.get(r)?.find((a)=>a!==e&&a.state.isPaused)?.continue()??Promise.resolve();else return Promise.resolve()}clear(){qt.batch(()=>{this.#e.forEach((e)=>{this.notify({type:"removed",mutation:e})}),this.#e.clear(),this.#t.clear()})}getAll(){return Array.from(this.#e)}find(e){let r={exact:!0,...e};return this.getAll().find((a)=>MD(r,a))}findAll(e={}){return this.getAll().filter((r)=>MD(e,r))}notify(e){qt.batch(()=>{this.listeners.forEach((r)=>{r(e)})})}resumePausedMutations(){let e=this.getAll().filter((r)=>r.state.isPaused);return qt.batch(()=>Promise.all(e.map((r)=>r.continue().catch(mr))))}};function _D(e){return e.options.scope?.id}var BF=class extends yo{#e;#t=void 0;#r;#o;constructor(e,r){super();this.#e=e,this.setOptions(r),this.bindMethods(),this.#n()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(e){let r=this.options;if(this.options=this.#e.defaultMutationOptions(e),!za(this.options,r))this.#e.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.#r,observer:this});if(r?.mutationKey&&this.options.mutationKey&&Kd(r.mutationKey)!==Kd(this.options.mutationKey))this.reset();else if(this.#r?.state.status==="pending")this.#r.setOptions(this.options)}onSubscribe(){if(this.listeners.size===1&&this.#r)this.#r.addObserver(this),this.#n()}onUnsubscribe(){if(!this.hasListeners())this.#r?.removeObserver(this)}onMutationUpdate(e){this.#n(),this.#a(e)}getCurrentResult(){return this.#t}reset(){this.#r?.removeObserver(this),this.#r=void 0,this.#n(),this.#a()}mutate(e,r){return this.#o=r,this.#r?.removeObserver(this),this.#r=this.#e.getMutationCache().build(this.#e,this.options),this.#r.addObserver(this),this.#r.execute(e)}#n(){let e=this.#r?.state??FF();this.#t={...e,isPending:e.status==="pending",isSuccess:e.status==="success",isError:e.status==="error",isIdle:e.status==="idle",mutate:this.mutate,reset:this.reset}}#a(e){qt.batch(()=>{if(this.#o&&this.hasListeners()){let r=this.#t.variables,a=this.#t.context,i={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey};if(e?.type==="success"){try{this.#o.onSuccess?.(e.data,r,a,i)}catch(f){Promise.reject(f)}try{this.#o.onSettled?.(e.data,null,r,a,i)}catch(f){Promise.reject(f)}}else if(e?.type==="error"){try{this.#o.onError?.(e.error,r,a,i)}catch(f){Promise.reject(f)}try{this.#o.onSettled?.(void 0,e.error,r,a,i)}catch(f){Promise.reject(f)}}}this.listeners.forEach((r)=>{r(this.#t)})})}};var PG=class extends yo{#e;constructor(e={}){super();this.config=e,this.#e=new Map}build(e,r,a){let i=r.queryKey,f=r.queryHash??MR(i,r),s=this.get(f);if(!s)s=new LG({client:e,queryKey:i,queryHash:f,options:e.defaultQueryOptions(r),state:a,defaultOptions:e.getQueryDefaults(i)}),this.add(s);return s}add(e){if(!this.#e.has(e.queryHash))this.#e.set(e.queryHash,e),this.notify({type:"added",query:e})}remove(e){let r=this.#e.get(e.queryHash);if(r){if(e.destroy(),r===e)this.#e.delete(e.queryHash);this.notify({type:"removed",query:e})}}clear(){qt.batch(()=>{this.getAll().forEach((e)=>{this.remove(e)})})}get(e){return this.#e.get(e)}getAll(){return[...this.#e.values()]}find(e){let r={exact:!0,...e};return this.getAll().find((a)=>gD(r,a))}findAll(e={}){let r=this.getAll();return Object.keys(e).length>0?r.filter((a)=>gD(e,a)):r}notify(e){qt.batch(()=>{this.listeners.forEach((r)=>{r(e)})})}onFocus(){qt.batch(()=>{this.getAll().forEach((e)=>{e.onFocus()})})}onOnline(){qt.batch(()=>{this.getAll().forEach((e)=>{e.onOnline()})})}};var YF=class{#e;#t;#r;#o;#n;#a;#i;#s;constructor(e={}){this.#e=e.queryCache||new PG,this.#t=e.mutationCache||new RG,this.#r=e.defaultOptions||{},this.#o=new Map,this.#n=new Map,this.#a=0}mount(){if(this.#a++,this.#a!==1)return;this.#i=HL.subscribe(async(e)=>{if(e)await this.resumePausedMutations(),this.#e.onFocus()}),this.#s=WL.subscribe(async(e)=>{if(e)await this.resumePausedMutations(),this.#e.onOnline()})}unmount(){if(this.#a--,this.#a!==0)return;this.#i?.(),this.#i=void 0,this.#s?.(),this.#s=void 0}isFetching(e){return this.#e.findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return this.#t.findAll({...e,status:"pending"}).length}getQueryData(e){let r=this.defaultQueryOptions({queryKey:e});return this.#e.get(r.queryHash)?.state.data}ensureQueryData(e){let r=this.defaultQueryOptions(e),a=this.#e.build(this,r),i=a.state.data;if(i===void 0)return this.fetchQuery(e);if(e.revalidateIfStale&&a.isStaleByTime(Ea(r.staleTime,a)))this.prefetchQuery(r);return Promise.resolve(i)}getQueriesData(e){return this.#e.findAll(e).map(({queryKey:r,state:a})=>[r,a.data])}setQueryData(e,r,a){let i=this.defaultQueryOptions({queryKey:e}),f=this.#e.get(i.queryHash)?.state.data,s=mG(r,f);if(s===void 0)return;return this.#e.build(this,i).setData(s,{...a,manual:!0})}setQueriesData(e,r,a){return qt.batch(()=>this.#e.findAll(e).map(({queryKey:i})=>[i,this.setQueryData(i,r,a)]))}getQueryState(e){let r=this.defaultQueryOptions({queryKey:e});return this.#e.get(r.queryHash)?.state}removeQueries(e){let r=this.#e;qt.batch(()=>{r.findAll(e).forEach((a)=>{r.remove(a)})})}resetQueries(e,r){let a=this.#e;return qt.batch(()=>{let i=a.findAll(e),f=new Set(i);return i.forEach((s)=>{s.reset()}),this.refetchQueries({type:"active",predicate:(s)=>f.has(s)},r)})}cancelQueries(e,r={}){let a={revert:!0,...r},i=qt.batch(()=>this.#e.findAll(e).map((f)=>f.cancel(a)));return Promise.all(i).then(mr).catch(mr)}invalidateQueries(e,r={}){return qt.batch(()=>{if(this.#e.findAll(e).forEach((a)=>{a.invalidate()}),e?.refetchType==="none")return Promise.resolve();return this.refetchQueries({...e,type:e?.refetchType??e?.type??"active"},r)})}refetchQueries(e,r={}){let a={...r,cancelRefetch:r.cancelRefetch??!0},i=qt.batch(()=>this.#e.findAll(e).filter((f)=>!f.isDisabled()&&!f.isStatic()).map((f)=>{let s=f.fetch(void 0,a);if(!a.throwOnError)s=s.catch(mr);return f.state.fetchStatus==="paused"?Promise.resolve():s}));return Promise.all(i).then(mr)}async query(e){let r=this.defaultQueryOptions(e);if(r.retry===void 0)r.retry=!1;let a=this.#e.build(this,r),i=a.isStaleByTime(Ea(r.staleTime,a))?await a.fetch(r):a.state.data,f=r.select;if(f)return f(i);return i}fetchQuery(e){let r=this.defaultQueryOptions(e);if(r.retry===void 0)r.retry=!1;let a=this.#e.build(this,r);return a.isStaleByTime(Ea(r.staleTime,a))?a.fetch(r):Promise.resolve(a.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(mr).catch(mr)}infiniteQuery(e){return e._type="infinite",this.query(e)}fetchInfiniteQuery(e){return e._type="infinite",this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(mr).catch(mr)}ensureInfiniteQueryData(e){return e._type="infinite",this.ensureQueryData(e)}resumePausedMutations(){if(WL.isOnline())return this.#t.resumePausedMutations();return Promise.resolve()}getQueryCache(){return this.#e}getMutationCache(){return this.#t}getDefaultOptions(){return this.#r}setDefaultOptions(e){this.#r=e}setQueryDefaults(e,r){this.#o.set(Kd(e),{queryKey:e,defaultOptions:r})}getQueryDefaults(e){let r=[...this.#o.values()],a={};return r.forEach((i)=>{if(gM(e,i.queryKey))Object.assign(a,i.defaultOptions)}),a}setMutationDefaults(e,r){this.#n.set(Kd(e),{mutationKey:e,defaultOptions:r})}getMutationDefaults(e){let r=[...this.#n.values()],a={};return r.forEach((i)=>{if(gM(e,i.mutationKey))Object.assign(a,i.defaultOptions)}),a}defaultQueryOptions(e){if(e._defaulted)return e;let r={...this.#r.queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};if(!r.queryHash)r.queryHash=MR(r.queryKey,r);if(r.refetchOnReconnect===void 0)r.refetchOnReconnect=r.networkMode!=="always";if(r.throwOnError===void 0)r.throwOnError=!!r.suspense;if(!r.networkMode&&r.persister)r.networkMode="offlineFirst";if(r.queryFn===UL)r.enabled=!1;return r}defaultMutationOptions(e){if(e?._defaulted)return e;return{...this.#r.mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){this.#e.clear(),this.#t.clear()}};var Lu=(e,r,a)=>{let i=a?.state.error&&typeof e.throwOnError==="function"?qL(e.throwOnError,[a.state.error,a]):e.throwOnError;if(e.suspense||i){if(!r.isReset())e.retryOnMount=!1}},Zu=(e)=>{h(()=>{e.clearReset()},[e])},Bu=({result:e,errorResetBoundary:r,throwOnError:a,query:i,suspense:f})=>e.isError&&!r.isReset()&&!e.isFetching&&i&&(f&&e.data===void 0||qL(a,[e.error,i]));var dm=(e,r)=>r.state.data===void 0,Uu=(e)=>{if(e.suspense){let a=(f)=>f==="static"?f:Math.max(f??1000,1000),i=e.staleTime;if(e.staleTime=typeof i==="function"?(...f)=>a(i(...f)):a(i),typeof e.gcTime==="number")e.gcTime=Math.max(e.gcTime,1000)}},xc=(e,r)=>e?.suspense&&r.isPending,Fu=(e,r,a)=>r.fetchOptimistic(e).catch(()=>{a.clearReset()});C();function nl(e,r,a){let i=Ou(),f=Du(),s=K(a),l=s.defaultQueryOptions(e),c=s.getQueryCache().get(l.queryHash),m=e.subscribed!==!1;l._optimisticResults=i?"isRestoring":m?"optimistic":void 0,Uu(l),Lu(l,f,c),Zu(f);let[g]=u(()=>new r(s,l)),M=g.getOptimisticResult(l),x=!i&&m;if(Vn(N((b)=>{let y=x?g.subscribe(qt.batchCalls(b)):mr;return g.updateResult(),y},[g,x]),()=>g.getCurrentResult(),()=>g.getCurrentResult()),h(()=>{g.setOptions(l)},[l,g]),xc(l,M))throw Fu(l,g,f);if(Bu({result:M,errorResetBoundary:f,throwOnError:l.throwOnError,query:c,suspense:l.suspense}))throw M.error;return!l.notifyOnChangeProps?g.trackResult(M):M}function Z(e,r){return nl(e,Vo,r)}C();function U(e,r){let a=K(r),[i]=u(()=>new BF(a,e));h(()=>{i.setOptions(e)},[i,e]);let f=Vn(N((l)=>i.subscribe(qt.batchCalls(l)),[i]),()=>i.getCurrentResult(),()=>i.getCurrentResult()),s=N((...l)=>{i.mutate(l[0],l[1]).catch(mr)},[i]);if(f.error&&qL(i.options.throwOnError,[f.error]))throw f.error;return{...f,mutate:s,mutateAsync:f.mutate}}function ut(e,r){return nl(e,NF,r)}C();var J8=xt(void 0),TG=xt(void 0);C();var wD=xt(null);C();function Ra(e){return St(wD)}var qr=!1;function MM(e){return e[e.length-1]}function Fxe(e){return typeof e==="function"}function ss(e,r){if(Fxe(e))return e(r);return e}var jG=Object.prototype.hasOwnProperty,AG=Object.prototype.propertyIsEnumerable;function vM(e){for(let r in e)if(jG.call(e,r))return!0;return!1}var Bxe=()=>Object.create(null),xM=(e,r)=>Fs(e,r,Bxe);function Fs(e,r,a=()=>({}),i=0){if(qr)return r;if(e===r)return e;if(i>500)return r;let f=r,s=zD(e)&&zD(f);if(!s&&!(GL(e)&&GL(f)))return f;let l=s?e:DG(e);if(!l)return f;let c=s?f:DG(f);if(!c)return f;let m=l.length,g=c.length,M=s?Array(g):a(),x=0;for(let b=0;b<g;b++){let y=s?b:c[b],_=e[y],k=f[y];if(_===k){if(M[y]=_,s?b<m:jG.call(e,y))x++;continue}if(_===null||k===null||typeof _!=="object"||typeof k!=="object"){M[y]=k;continue}let F=Fs(_,k,a,i+1);if(M[y]=F,F===_)x++}return m===g&&x===m?e:M}function DG(e){let r=Object.getOwnPropertyNames(e);for(let f of r)if(!AG.call(e,f))return!1;let a=Object.getOwnPropertySymbols(e);if(a.length===0)return r;let i=r;for(let f of a){if(!AG.call(e,f))return!1;i.push(f)}return i}function GL(e){if(!EG(e))return!1;let r=e.constructor;if(typeof r>"u")return!0;let a=r.prototype;if(!EG(a))return!1;if(!a.hasOwnProperty("isPrototypeOf"))return!1;return!0}function EG(e){return Object.prototype.toString.call(e)==="[object Object]"}function zD(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function oc(e,r,a){if(e===r)return!0;if(typeof e!==typeof r)return!1;if(Array.isArray(e)&&Array.isArray(r)){if(e.length!==r.length)return!1;for(let i=0,f=e.length;i<f;i++)if(!oc(e[i],r[i],a))return!1;return!0}if(GL(e)&&GL(r)){let i=a?.ignoreUndefined??!0;if(a?.partial){for(let l in r)if(!i||r[l]!==void 0){if(!oc(e[l],r[l],a))return!1}return!0}let f=0;if(!i)f=Object.keys(e).length;else for(let l in e)if(e[l]!==void 0)f++;let s=0;for(let l in r)if(!i||r[l]!==void 0){if(s++,s>f||!oc(e[l],r[l],a))return!1}return f===s}return!1}function au(e){let r,a,i=new Promise((f,s)=>{r=f,a=s});return i.status="pending",i.resolve=(f)=>{i.status="resolved",i.value=f,r(f),e?.(f)},i.reject=(f)=>{i.status="rejected",a(f)},i}function yM(e){return Boolean(e&&typeof e==="object"&&typeof e.then==="function")}function Yxe(e){return e.replace(/[\x00-\x1f\x7f]/g,"")}function OG(e){let r;try{r=decodeURI(e)}catch{r=e.replaceAll(/%[0-9A-F]{2}/gi,(a)=>{try{return decodeURI(a)}catch{return a}})}return Yxe(r)}var SD=["http:","https:","mailto:","tel:"];function Xd(e,r){if(!e)return!1;try{let a=new URL(e);return!r.has(a.protocol)}catch{return!1}}function KL(e){if(!e)return{path:e,handledProtocolRelativeURL:!1};if(!/[%\\\x00-\x1f\x7f]/.test(e)&&!e.startsWith("//"))return{path:e,handledProtocolRelativeURL:!1};let r=/%25|%5C/gi,a=0,i="",f;while((f=r.exec(e))!==null)i+=OG(e.slice(a,f.index))+f[0],a=r.lastIndex;i=i+OG(a?e.slice(a):e);let s=!1;if(i.startsWith("//"))s=!0,i="/"+i.replace(/^\/+/,"");return{path:i,handledProtocolRelativeURL:s}}function NG(e){if(!/\s|[^\u0000-\u007F]/.test(e))return e;return e.replace(/\s|[^\u0000-\u007F]/gu,encodeURIComponent)}function FG(e,r){if(e===r)return!0;if(e.length!==r.length)return!1;for(let a=0;a<e.length;a++)if(e[a]!==r[a])return!1;return!0}function ni(){throw Error("Invariant failed")}function bM(e){let r=new Map,a,i,f=(s)=>{if(!s.next)return;if(!s.prev){if(s.next.prev=void 0,a=s.next,s.next=void 0,i)s.prev=i,i.next=s}else if(s.prev.next=s.next,s.next.prev=s.prev,s.next=void 0,i)i.next=s,s.prev=i;i=s};return{get(s){let l=r.get(s);if(!l)return;return f(l),l.value},set(s,l){if(r.size>=e&&a){let m=a;if(r.delete(m.key),m.next)a=m.next,m.next.prev=void 0;if(m===i)i=void 0}let c=r.get(s);if(c)c.value=l,f(c);else{let m={key:s,value:l,prev:i};if(i)i.next=m;if(i=m,!a)a=m;r.set(s,m)}},clear(){r.clear(),a=void 0,i=void 0}}}var wM=4,YG=5;function Uxe(e){let r=e.indexOf("{");if(r===-1)return null;let a=e.indexOf("}",r);if(a===-1)return null;if(r+1>=e.length)return null;return[r,a]}function VF(e,r,a=new Uint16Array(6)){let i=e.indexOf("/",r),f=i===-1?e.length:i,s=e.substring(r,f);if(!s||!s.includes("$"))return a[0]=0,a[1]=r,a[2]=r,a[3]=f,a[4]=f,a[5]=f,a;if(s==="$"){let c=e.length;return a[0]=2,a[1]=r,a[2]=r,a[3]=c,a[4]=c,a[5]=c,a}if(s.charCodeAt(0)===36)return a[0]=1,a[1]=r,a[2]=r+1,a[3]=f,a[4]=f,a[5]=f,a;let l=Uxe(s);if(l){let[c,m]=l,g=s.charCodeAt(c+1);if(g===45){if(c+2<s.length&&s.charCodeAt(c+2)===36){let M=c+3,x=m;if(M<x)return a[0]=3,a[1]=r+c,a[2]=r+M,a[3]=r+x,a[4]=r+m+1,a[5]=f,a}}else if(g===36){let M=c+1,x=c+2;if(x===m)return a[0]=2,a[1]=r+c,a[2]=r+M,a[3]=r+x,a[4]=r+m+1,a[5]=e.length,a;return a[0]=1,a[1]=r+c,a[2]=r+x,a[3]=r+m,a[4]=r+m+1,a[5]=f,a}}return a[0]=0,a[1]=r,a[2]=r,a[3]=f,a[4]=f,a[5]=f,a}function ID(e,r,a,i,f,s,l){l?.(a);let c=i;{let m=a.fullPath??a.from,g=m.length,M=a.options?.caseSensitive??e,x=a.options?.params?.parse??a.options?.parseParams;while(c<g){let y=VF(m,c,r),_,k=c,F=y[5];switch(c=F+1,s++,y[0]){case 0:{let I=m.substring(y[2],y[3]);if(M){let j=f.static?.get(I);if(j)_=j;else{f.static??=new Map;let G=$8(a.fullPath??a.from);G.parent=f,G.depth=s,_=G,f.static.set(I,G)}}else{let j=I.toLowerCase(),G=f.staticInsensitive?.get(j);if(G)_=G;else{f.staticInsensitive??=new Map;let X=$8(a.fullPath??a.from);X.parent=f,X.depth=s,_=X,f.staticInsensitive.set(j,X)}}break}case 1:{let I=m.substring(k,y[1]),j=m.substring(y[4],F),G=M&&!!(I||j),X=!I?void 0:G?I:I.toLowerCase(),J=!j?void 0:G?j:j.toLowerCase(),ee=!x&&f.dynamic?.find((te)=>!te.parse&&te.caseSensitive===G&&te.prefix===X&&te.suffix===J);if(ee)_=ee;else{let te=qF(1,a.fullPath??a.from,G,X,J);_=te,te.depth=s,te.parent=f,f.dynamic??=[],f.dynamic.push(te)}break}case 3:{let I=m.substring(k,y[1]),j=m.substring(y[4],F),G=M&&!!(I||j),X=!I?void 0:G?I:I.toLowerCase(),J=!j?void 0:G?j:j.toLowerCase(),ee=!x&&f.optional?.find((te)=>!te.parse&&te.caseSensitive===G&&te.prefix===X&&te.suffix===J);if(ee)_=ee;else{let te=qF(3,a.fullPath??a.from,G,X,J);_=te,te.parent=f,te.depth=s,f.optional??=[],f.optional.push(te)}break}case 2:{let I=m.substring(k,y[1]),j=m.substring(y[4],F),G=M&&!!(I||j),X=!I?void 0:G?I:I.toLowerCase(),J=!j?void 0:G?j:j.toLowerCase(),ee=qF(2,a.fullPath??a.from,G,X,J);_=ee,ee.parent=f,ee.depth=s,f.wildcard??=[],f.wildcard.push(ee)}}f=_}if(x&&a.children&&!a.isRoot&&a.id&&a.id.charCodeAt(a.id.lastIndexOf("/")+1)===95){let y=$8(a.fullPath??a.from);y.kind=YG,y.parent=f,s++,y.depth=s,f.pathless??=[],f.pathless.push(y),f=y}let b=(a.path||!a.children)&&!a.isRoot;if(b&&m.endsWith("/")){let y=$8(a.fullPath??a.from);y.kind=wM,y.parent=f,s++,y.depth=s,f.index=y,f=y}if(f.parse=x??null,f.priority=a.options?.params?.priority??0,b&&!f.route)f.route=a,f.fullPath=a.fullPath??a.from}if(a.children)for(let m of a.children)ID(e,r,m,c,f,s,l)}function UF(e,r){if(e.parse&&!r.parse)return-1;if(!e.parse&&r.parse)return 1;if(e.parse&&r.parse&&(e.priority||r.priority))return r.priority-e.priority;if(e.prefix&&r.prefix&&e.prefix!==r.prefix){if(e.prefix.startsWith(r.prefix))return-1;if(r.prefix.startsWith(e.prefix))return 1}if(e.suffix&&r.suffix&&e.suffix!==r.suffix){if(e.suffix.endsWith(r.suffix))return-1;if(r.suffix.endsWith(e.suffix))return 1}if(e.prefix&&!r.prefix)return-1;if(!e.prefix&&r.prefix)return 1;if(e.suffix&&!r.suffix)return-1;if(!e.suffix&&r.suffix)return 1;if(e.caseSensitive&&!r.caseSensitive)return-1;if(!e.caseSensitive&&r.caseSensitive)return 1;return 0}function _M(e){if(e.pathless)for(let r of e.pathless)_M(r);if(e.static)for(let r of e.static.values())_M(r);if(e.staticInsensitive)for(let r of e.staticInsensitive.values())_M(r);if(e.dynamic?.length){e.dynamic.sort(UF);for(let r of e.dynamic)_M(r)}if(e.optional?.length){e.optional.sort(UF);for(let r of e.optional)_M(r)}if(e.wildcard?.length){e.wildcard.sort(UF);for(let r of e.wildcard)_M(r)}}function $8(e){return{kind:0,depth:0,pathless:null,index:null,static:null,staticInsensitive:null,dynamic:null,optional:null,wildcard:null,route:null,fullPath:e,parent:null,parse:null,priority:0}}function qF(e,r,a,i,f){return{kind:e,depth:0,pathless:null,index:null,static:null,staticInsensitive:null,dynamic:null,optional:null,wildcard:null,route:null,fullPath:r,parent:null,parse:null,priority:0,caseSensitive:a,prefix:i,suffix:f}}function UG(e,r){let a=$8("/"),i=new Uint16Array(6);for(let f of e)ID(!1,i,f,1,a,0);_M(a),r.masksTree=a,r.flatCache=bM(1000)}function qG(e,r){e||="/";let a=r.flatCache.get(e);if(a)return a;let i=HF(e,r.masksTree);return r.flatCache.set(e,i),i}function VG(e,r,a,i,f){e||="/",i||="/";let s=r?`case\x00${e}`:e,l=f.singleCache.get(s);if(!l)l=$8("/"),ID(r,new Uint16Array(6),{from:e},1,l,0),f.singleCache.set(s,l);return HF(i,l,a)}function HG(e,r,a=!1){let i=a?e:`nofuzz\x00${e}`,f=r.matchCache.get(i);if(f!==void 0)return f;e||="/";let s;try{s=HF(e,r.segmentTree,a)}catch(l){if(l instanceof URIError)s=null;else throw l}if(s)s.branch=WF(s.route);return r.matchCache.set(i,s),s}function qxe(e){return e==="/"?e:e.replace(/\/{1,}$/,"")}function WG(e,r=!1,a){let i=$8(e.fullPath),f=new Uint16Array(6),s={},l={},c=0;return ID(r,f,e,1,i,0,(m)=>{if(a?.(m,c),m.id in s)ni();if(s[m.id]=m,c!==0&&m.path){let g=qxe(m.fullPath);if(!l[g]||m.fullPath.endsWith("/"))l[g]=m}c++}),_M(i),{processedTree:{segmentTree:i,singleCache:bM(1000),matchCache:bM(1000),flatCache:null,masksTree:null},routesById:s,routesByPath:l}}function HF(e,r,a=!1){let i=e.split("/"),f=Hxe(e,i,r,a);if(!f)return null;let[s]=GG(e,i,f);return{route:f.node.route,rawParams:s}}function GG(e,r,a){let i=Vxe(a.node),f=null,s=Object.create(null),l=a.extract?.part??0,c=a.extract?.node??0,m=a.extract?.path??0,g=a.extract?.segment??0;for(;c<i.length;l++,c++,m++,g++){let M=i[c];if(M.kind===wM)break;if(M.kind===YG){g--,l--,m--;continue}let x=r[l],b=m;if(x)m+=x.length;if(M.kind===1){f??=a.node.fullPath.split("/");let y=f[g],_=M.prefix?.length??0;if(y.charCodeAt(_)===123){let k=M.suffix?.length??0,F=y.substring(_+2,y.length-k-1),I=x.substring(_,x.length-k);s[F]=decodeURIComponent(I)}else{let k=y.substring(1);s[k]=decodeURIComponent(x)}}else if(M.kind===3){if(a.skipped&1<<c){l--,m=b-1;continue}f??=a.node.fullPath.split("/");let y=f[g],_=M.prefix?.length??0,k=M.suffix?.length??0,F=y.substring(_+3,y.length-k-1),I=M.suffix||M.prefix?x.substring(_,x.length-k):x;if(I)s[F]=decodeURIComponent(I)}else if(M.kind===2){let y=M,_=e.substring(b+(y.prefix?.length??0),e.length-(y.suffix?.length??0)),k=decodeURIComponent(_);s["*"]=k,s._splat=k;break}}if(a.rawParams)Object.assign(s,a.rawParams);return[s,{part:l,node:c,path:m,segment:g}]}function WF(e){let r=[e];while(e.parentRoute)e=e.parentRoute,r.push(e);return r.reverse(),r}function Vxe(e){let r=Array(e.depth+1);do r[e.depth]=e,e=e.parent;while(e);return r}function Hxe(e,r,a,i){if(e==="/"&&a.index)return{node:a.index,skipped:0};let f=!MM(r),s=f&&e!=="/",l=r.length-(f?1:0),c=[{node:a,index:1,skipped:0,depth:1,statics:0,dynamics:0,optionals:0}],m=null,g=null;while(c.length){let M=c.pop(),{node:x,index:b,skipped:y,depth:_,statics:k,dynamics:F,optionals:I}=M,{extract:j,rawParams:G}=M;if(x.kind===2&&x.route&&!kD(g,M))continue;if(x.parse){if(!BG(e,r,M))continue;G=M.rawParams,j=M.extract}if(i&&x.route&&x.kind!==wM&&kD(m,M))m=M;let X=b===l;if(X){if(x.route&&(!s||x.kind===wM||x.kind===2)&&kD(g,M))g=M;if(!x.optional&&!x.wildcard&&!x.index&&!x.pathless)continue}let J=X?void 0:r[b],ee;if(X&&x.index){let te={node:x.index,index:b,skipped:y,depth:_+1,statics:k,dynamics:F,optionals:I,extract:j,rawParams:G},oe=!0;if(x.index.parse){if(!BG(e,r,te))oe=!1}if(oe){if(!F&&!I&&!y&&Wxe(k,l))return te;if(kD(g,te))g=te}}if(x.wildcard)for(let te=x.wildcard.length-1;te>=0;te--){let oe=x.wildcard[te],{prefix:ae,suffix:_e}=oe;if(ae){if(X)continue;if(!(oe.caseSensitive?J:ee??=J.toLowerCase()).startsWith(ae))continue}if(_e){if(X)continue;let Ve=r.slice(b).join("/").slice(-_e.length);if((oe.caseSensitive?Ve:Ve.toLowerCase())!==_e)continue}c.push({node:oe,index:l,skipped:y,depth:_+1,statics:k,dynamics:F,optionals:I,extract:j,rawParams:G})}if(x.optional){let te=y|1<<_,oe=_+1;for(let ae=x.optional.length-1;ae>=0;ae--){let _e=x.optional[ae];c.push({node:_e,index:b,skipped:te,depth:oe,statics:k,dynamics:F,optionals:I,extract:j,rawParams:G})}if(!X)for(let ae=x.optional.length-1;ae>=0;ae--){let _e=x.optional[ae],{prefix:Ve,suffix:Ne}=_e;if(Ve||Ne){let ze=_e.caseSensitive?J:ee??=J.toLowerCase();if(Ve&&!ze.startsWith(Ve))continue;if(Ne&&!ze.endsWith(Ne))continue}c.push({node:_e,index:b+1,skipped:y,depth:oe,statics:k,dynamics:F,optionals:I+LD(l,b),extract:j,rawParams:G})}}if(!X&&x.dynamic&&J)for(let te=x.dynamic.length-1;te>=0;te--){let oe=x.dynamic[te],{prefix:ae,suffix:_e}=oe;if(ae||_e){let Ve=oe.caseSensitive?J:ee??=J.toLowerCase();if(ae&&!Ve.startsWith(ae))continue;if(_e&&!Ve.endsWith(_e))continue}c.push({node:oe,index:b+1,skipped:y,depth:_+1,statics:k,dynamics:F+LD(l,b),optionals:I,extract:j,rawParams:G})}if(!X&&x.staticInsensitive){let te=x.staticInsensitive.get(ee??=J.toLowerCase());if(te)c.push({node:te,index:b+1,skipped:y,depth:_+1,statics:k+LD(l,b),dynamics:F,optionals:I,extract:j,rawParams:G})}if(!X&&x.static){let te=x.static.get(J);if(te)c.push({node:te,index:b+1,skipped:y,depth:_+1,statics:k+LD(l,b),dynamics:F,optionals:I,extract:j,rawParams:G})}if(x.pathless){let te=_+1;for(let oe=x.pathless.length-1;oe>=0;oe--){let ae=x.pathless[oe];c.push({node:ae,index:b,skipped:y,depth:te,statics:k,dynamics:F,optionals:I,extract:j,rawParams:G})}}}if(g)return g;if(i&&m){let M=m.index;for(let b=0;b<m.index;b++)M+=r[b].length;let x=M===e.length?"/":e.slice(M);return m.rawParams??=Object.create(null),m.rawParams["**"]=decodeURIComponent(x),m}return null}function LD(e,r){return 2**(e-r-1)}function Wxe(e,r){return e===2**(r-1)-1}function BG(e,r,a){let i,f;try{[i,f]=GG(e,r,a)}catch{return null}if(a.rawParams=i,a.extract=f,!a.node.parse)return!0;try{if(a.node.parse(i)===!1)return null}catch{}return!0}function kD(e,r){if(!e)return!0;return r.statics>e.statics||r.statics===e.statics&&(r.dynamics>e.dynamics||r.dynamics===e.dynamics&&(r.optionals>e.optionals||r.optionals===e.optionals&&((r.node.kind===wM)>(e.node.kind===wM)||r.node.kind===wM===(e.node.kind===wM)&&r.depth>e.depth)))}function SM(e){return XL(e.filter((r)=>r!==void 0).join("/"))}function XL(e){return e.replace(/\/{2,}/g,"/")}function yR(e){return e==="/"?e:e.replace(/^\/{1,}/,"")}function Bs(e){let r=e.length;return r>1&&e[r-1]==="/"?e.replace(/\/{1,}$/,""):e}function QL(e){return Bs(yR(e))}function zM(e,r){if(e?.endsWith("/")&&e!=="/"&&e!==`${r}/`)return e.slice(0,-1);return e}function CD(e,r,a){return zM(e,a)===zM(r,a)}function RD({base:e,to:r,trailingSlash:a="never",cache:i}){let f=r.startsWith("/"),s=!f&&r===".",l;if(i){l=f?r:s?e:e+"\x00"+r;let g=i.get(l);if(g)return g}let c;if(s)c=e.split("/");else if(f)c=r.split("/");else{c=e.split("/");while(c.length>1&&MM(c)==="")c.pop();let g=r.split("/");for(let M=0,x=g.length;M<x;M++){let b=g[M];if(b===""){if(!M)c=[b];else if(M===x-1)c.push(b)}else if(b==="..")c.pop();else if(b===".");else c.push(b)}}if(c.length>1){if(MM(c)===""){if(a==="never")c.pop()}else if(a==="always")c.push("")}let m=XL(c.join("/"))||"/";if(l&&i)i.set(l,m);return m}function XG(e){let r=new Map(e.map((f)=>[encodeURIComponent(f),f])),a=Array.from(r.keys()).map((f)=>f.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")).join("|"),i=new RegExp(a,"g");return(f)=>f.replace(i,(s)=>r.get(s)??s)}function xR(e,r,a){let i=r[e];if(typeof i!=="string")return i;if(e==="_splat"){if(/^[a-zA-Z0-9\-._~!/]*$/.test(i))return i;return i.split("/").map((f)=>KG(f,a)).join("/")}else return KG(i,a)}function bR({path:e,params:r,decoder:a,...i}){let f=!1,s=Object.create(null);if(!e||e==="/")return{interpolatedPath:"/",usedParams:s,isMissingParams:f};if(!e.includes("$"))return{interpolatedPath:e,usedParams:s,isMissingParams:f};if(qr??i.server){if(e.indexOf("{")===-1){let M=e.length,x=0,b="";while(x<M){while(x<M&&e.charCodeAt(x)===47)x++;if(x>=M)break;let y=x,_=e.indexOf("/",x);if(_===-1)_=M;x=_;let k=e.substring(y,_);if(!k)continue;if(k.charCodeAt(0)===36)if(k.length===1){let F=r._splat;if(s._splat=F,s["*"]=F,!F){f=!0;continue}let I=xR("_splat",r,a);b+="/"+I}else{let F=k.substring(1);if(!f&&!(F in r))f=!0;s[F]=r[F];let I=xR(F,r,a)??"undefined";b+="/"+I}else b+="/"+k}if(e.endsWith("/"))b+="/";return{usedParams:s,interpolatedPath:b||"/",isMissingParams:f}}}let l=e.length,c=0,m,g="";while(c<l){let M=c;m=VF(e,M,m);let x=m[5];if(c=x+1,M===x)continue;let b=m[0];if(b===0){g+="/"+e.substring(M,x);continue}if(b===2){let y=r._splat;s._splat=y,s["*"]=y;let _=e.substring(M,m[1]),k=e.substring(m[4],x);if(!y){if(f=!0,_||k)g+="/"+_+k;continue}let F=xR("_splat",r,a);g+="/"+_+F+k;continue}if(b===1){let y=e.substring(m[2],m[3]);if(!f&&!(y in r))f=!0;s[y]=r[y];let _=e.substring(M,m[1]),k=e.substring(m[4],x),F=xR(y,r,a)??"undefined";g+="/"+_+F+k;continue}if(b===3){let y=e.substring(m[2],m[3]),_=r[y];if(_==null)continue;s[y]=_;let k=e.substring(M,m[1]),F=e.substring(m[4],x),I=xR(y,r,a)??"";g+="/"+k+I+F;continue}}if(e.endsWith("/"))g+="/";return{usedParams:s,interpolatedPath:g||"/",isMissingParams:f}}function KG(e,r){let a=encodeURIComponent(e);return r?.(a)??a}function Oa(e){return e?.isNotFound===!0}function QG(e,r=String){let a=new URLSearchParams;for(let i in e){let f=e[i];if(f!==void 0)a.set(i,r(f))}return a.toString()}function GF(e){if(!e)return"";if(e==="false")return!1;if(e==="true")return!0;return+e*0===0&&+e+""===e?+e:e}function JG(e){let r=new URLSearchParams(e),a=Object.create(null);for(let[i,f]of r.entries()){let s=a[i];if(s==null)a[i]=GF(f);else if(Array.isArray(s))s.push(GF(f));else a[i]=[s,GF(f)]}return a}var KF=$G(JSON.parse),XF=eK(JSON.stringify,JSON.parse);function $G(e){return(r)=>{if(r[0]==="?")r=r.substring(1);let a=JG(r);for(let i in a){let f=a[i];if(typeof f==="string")try{a[i]=e(f)}catch(s){}}return a}}function eK(e,r){let a=typeof r==="function";function i(f){if(typeof f==="object"&&f!==null)try{return e(f)}catch(s){}else if(a&&typeof f==="string")try{return r(f),e(f)}catch(s){}return f}return(f)=>{let s=QG(f,i);return s?`?${s}`:""}}var Zs="__root__";function kl(e){if(e.statusCode=e.statusCode||e.code||307,!e._builtLocation&&!e.reloadDocument&&typeof e.href==="string")try{new URL(e.href),e.reloadDocument=!0}catch{}let r=new Headers(e.headers);if(e.href&&r.get("Location")===null)r.set("Location",e.href);let a=new Response(null,{status:e.statusCode,headers:r});if(a.options=e,e.throw)throw a;return a}function ii(e){return e instanceof Response&&!!e.options}function QF(e){return{input:({url:r})=>{for(let a of e)r=PD(a,r);return r},output:({url:r})=>{for(let a=e.length-1;a>=0;a--)r=JF(e[a],r);return r}}}function tK(e){let r=QL(e.basepath),a=`/${r}`,i=e.caseSensitive?a:a.toLowerCase(),f=`${i}/`;return{input:({url:s})=>{let l=e.caseSensitive?s.pathname:s.pathname.toLowerCase();if(l===i)s.pathname="/";else if(l.startsWith(f))s.pathname=s.pathname.slice(a.length);return s},output:({url:s})=>(s.pathname=SM(["/",r,s.pathname]),s)}}function PD(e,r){let a=e?.input?.({url:r});if(a){if(typeof a==="string")return new URL(a);else if(a instanceof URL)return a}return r}function JF(e,r){let a=e?.output?.({url:r});if(a){if(typeof a==="string")return new URL(a);else if(a instanceof URL)return a}return r}function t3(e){let r=e;return{get(){return r},set(a){r=ss(a,r)}}}function r3(e){return{get(){return e()}}}function rK(e,r){let{createMutableStore:a,createReadonlyStore:i,batch:f,init:s}=r,l=new Map,c=new Map,m=new Map,g=a(e.status),M=a(e.loadedAt),x=a(e.isLoading),b=a(e.isTransitioning),y=a(e.location),_=a(e.resolvedLocation),k=a(e.statusCode),F=a(e.redirect),I=a([]),j=a([]),G=a([]),X=i(()=>$F(l,I.get())),J=i(()=>$F(c,j.get())),ee=i(()=>$F(m,G.get())),te=i(()=>I.get()[0]),oe=i(()=>I.get().some((Zt)=>l.get(Zt)?.get().status==="pending")),ae=i(()=>({locationHref:y.get().href,resolvedLocationHref:_.get()?.href,status:g.get()})),_e=i(()=>({status:g.get(),loadedAt:M.get(),isLoading:x.get(),isTransitioning:b.get(),matches:X.get(),location:y.get(),resolvedLocation:_.get(),statusCode:k.get(),redirect:F.get()})),Ve=bM(64);function Ne(Zt){let Et=Ve.get(Zt);if(!Et)Et=i(()=>{let Yt=I.get();for(let ce of Yt){let mt=l.get(ce);if(mt&&mt.routeId===Zt)return mt.get()}}),Ve.set(Zt,Et);return Et}let ze={status:g,loadedAt:M,isLoading:x,isTransitioning:b,location:y,resolvedLocation:_,statusCode:k,redirect:F,matchesId:I,pendingIds:j,cachedIds:G,matches:X,pendingMatches:J,cachedMatches:ee,firstId:te,hasPending:oe,matchRouteDeps:ae,matchStores:l,pendingMatchStores:c,cachedMatchStores:m,__store:_e,getRouteMatchStore:Ne,setMatches:Ye,setPending:ft,setCached:Ke};Ye(e.matches),s?.(ze);function Ye(Zt){e3(Zt,l,I,a,f)}function ft(Zt){e3(Zt,c,j,a,f)}function Ke(Zt){e3(Zt,m,G,a,f)}return ze}function $F(e,r){let a=[];for(let i of r){let f=e.get(i);if(f)a.push(f.get())}return a}function e3(e,r,a,i,f){let s=e.map((c)=>c.id),l=new Set(s);f(()=>{for(let c of r.keys())if(!l.has(c))r.delete(c);for(let c of e){let m=r.get(c.id);if(!m){let g=i(c);g.routeId=c.routeId,r.set(c.id,g);continue}if(m.routeId=c.routeId,m.get()!==c)m.set(c)}if(!FG(a.get(),s))a.set(s)})}function Gxe(){try{return sessionStorage}catch{return}}var Kxe="tsr-scroll-restoration-v1_3",nK=Gxe();function Xxe(){try{return JSON.parse(nK?.getItem("tsr-scroll-restoration-v1_3")||"{}")}catch{return{}}}function Qxe(){try{nK?.setItem(Kxe,JSON.stringify(JL))}catch{}}var JL=Xxe(),oK="data-scroll-restoration-id",Jxe=(e)=>e.state.__TSR_key||e.href;function $xe(e){let r=e.getAttribute(oK);if(r)return`[${oK}="${r}"]`;let a="",i=e,f;while(f=i.parentNode){let s=1,l=i;while(l=l.previousElementSibling)s++;let c=`${i.localName}:nth-child(${s})`;a=a?`${c} > ${a}`:c,i=f}return a}var TD=!1,$L="window";function o3(e){try{return typeof e==="function"?e():document.querySelector(e)}catch{}}function aK(e){let r=[];for(let a of e){if(a===$L)continue;let i=o3(a);if(i)r.push(i)}return r}function iK(e,r){if(r??e.options.scrollRestoration)e.isScrollRestoring=!0;if((qr??e.isServer)||e.isScrollRestorationSetup)return;e.isScrollRestorationSetup=!0,TD=!1;let a=e.options.getScrollRestorationKey||Jxe,i=new Map,f=(c,m,g)=>{let M=i.get(c)||{};M.scrollX=m,M.scrollY=g,i.set(c,M)};history.scrollRestoration="manual";let s=(c)=>{if(TD||!e.isScrollRestoring)return;if(c.target===document)f($L,scrollX,scrollY);else{let m=c.target;f(m,m.scrollLeft,m.scrollTop)}},l=(c)=>{if(!e.isScrollRestoring)return;let m=JL[c]||={};for(let[g,M]of i)if(g===$L)m[$L]=M;else if(g.isConnected)m[$xe(g)]=M};document.addEventListener("scroll",s,!0),e.subscribe("onBeforeLoad",(c)=>{if(c.fromLocation)l(a(c.fromLocation));i.clear()}),addEventListener("pagehide",()=>{l(a(e.stores.resolvedLocation.get()??e.stores.location.get())),Qxe()}),e.subscribe("onRendered",(c)=>{let m=e.options.scrollRestorationBehavior,g=e.options.scrollToTopSelectors,M=e.resetNextScroll,x;if(i.clear(),!M)e.resetNextScroll=!0;if(typeof e.options.scrollRestoration==="function"&&!e.options.scrollRestoration({location:e.latestLocation}))return;let b=a(c.toLocation),y=c.fromLocation&&a(c.fromLocation);if(e.isScrollRestoring&&y&&y!==b){let _=JL[y];if(_){let k=JL[b];for(let F in _){if(F===$L){if(M)continue}else{let I=o3(F);if(!I)continue;if(M&&g){if(x??=aK(g),x.includes(I))continue}}if(!k)k=JL[b]={};k[F]??=_[F]}}}TD=!0;try{let _=c.toLocation.hash,k=c.toLocation.state.__hashScrollIntoViewOptions??!0,F=!1;if(M){let I=AD.get(c.toLocation),j=_&&k&&(I==="PUSH"||I==="REPLACE"),G=e.isScrollRestoring?JL[b]:void 0;if(G)for(let X in G){let{scrollX:J,scrollY:ee}=G[X];if(X===$L){if(j)continue;scrollTo({top:ee,left:J,behavior:m}),F=!0}else{let te=o3(X);if(te)te.scrollLeft=J,te.scrollTop=ee}}if(!F&&!_){let X={top:0,left:0,behavior:m};if(scrollTo(X),g){x??=aK(g);for(let J of x)J.scrollTo(X)}}}if(!F&&_&&k)document.getElementById(_)?.scrollIntoView(k)}finally{TD=!1}})}var a3=(e)=>{if(!e.rendered)return e.rendered=!0,e.onReady?.()},eye=(e)=>e.stores.matchesId.get().some((r)=>e.stores.matchStores.get(r)?.get()._forcePending),OD=(e,r)=>!!(e.preload&&!e.router.stores.matchStores.has(r)),ez=(e,r,a=!0)=>{let i={...e.router.options.context??{}},f=a?r:r-1;for(let s=0;s<=f;s++){let l=e.matches[s];if(!l)continue;let c=e.router.getMatch(l.id);if(!c)continue;Object.assign(i,c.__routeContext,c.__beforeLoadContext)}return i},fK=(e,r)=>{if(!e.matches.length)return;let a=r.routeId,i=e.matches.findIndex((l)=>l.routeId===e.router.routeTree.id),f=i>=0?i:0,s=a?e.matches.findIndex((l)=>l.routeId===a):e.firstBadMatchIndex??e.matches.length-1;if(s<0)s=f;for(let l=s;l>=0;l--){let c=e.matches[l];if(e.router.looseRoutesById[c.routeId].options.notFoundComponent)return l}return a?s:f},LM=(e,r,a)=>{if(!ii(a)&&!Oa(a))return;if(ii(a)&&a.redirectHandled&&!a.options.reloadDocument)throw a;if(r){if(r._nonReactive.beforeLoadPromise?.resolve(),r._nonReactive.loaderPromise?.resolve(),r._nonReactive.beforeLoadPromise=void 0,r._nonReactive.loaderPromise=void 0,r._nonReactive.error=a,e.updateMatch(r.id,(i)=>({...i,status:ii(a)?"redirected":Oa(a)?"notFound":i.status==="pending"?"success":i.status,context:ez(e,r.index),isFetching:!1,error:a})),Oa(a)&&!a.routeId)a.routeId=r.routeId;r._nonReactive.loadPromise?.resolve()}if(ii(a))e.rendered=!0,a.options._fromLocation=e.location,a.redirectHandled=!0,a=e.router.resolveRedirect(a);throw a},uK=(e,r)=>{let a=e.router.getMatch(r);if(!a)return!0;if(!(qr??e.router.isServer)&&a._nonReactive.dehydrated)return!0;if((qr??e.router.isServer)&&a.ssr===!1)return!0;return!1},sK=(e,r,a)=>{let i=ez(e,a);e.updateMatch(r,(f)=>({...f,context:i}))},_R=(e,r,a)=>{let{id:i,routeId:f}=e.matches[r],s=e.router.looseRoutesById[f];if(a instanceof Promise)throw a;e.firstBadMatchIndex??=r,LM(e,e.router.getMatch(i),a);try{s.options.onError?.(a)}catch(l){a=l,LM(e,e.router.getMatch(i),a)}if(e.updateMatch(i,(l)=>(l._nonReactive.beforeLoadPromise?.resolve(),l._nonReactive.beforeLoadPromise=void 0,l._nonReactive.loadPromise?.resolve(),{...l,error:a,status:"error",isFetching:!1,updatedAt:Date.now(),abortController:new AbortController})),!e.preload&&!ii(a)&&!Oa(a))e.serialError??=a},tye=(e,r,a,i)=>{let f=e.router.getMatch(r),s=e.matches[a-1]?.id,l=s?e.router.getMatch(s):void 0;if(e.router.isShell()){f.ssr=i.id===Zs;return}if(l?.ssr===!1){f.ssr=!1;return}let c=(y)=>{if(y===!0&&l?.ssr==="data-only")return"data-only";return y},m=e.router.options.defaultSsr??!0;if(i.options.ssr===void 0){f.ssr=c(m);return}if(typeof i.options.ssr!=="function"){f.ssr=c(i.options.ssr);return}let{search:g,params:M}=f,x={search:DD(g,f.searchError),params:DD(M,f.paramsError),location:e.location,matches:e.matches.map((y)=>({index:y.index,pathname:y.pathname,fullPath:y.fullPath,staticData:y.staticData,id:y.id,routeId:y.routeId,search:DD(y.search,y.searchError),params:DD(y.params,y.paramsError),ssr:y.ssr}))},b=i.options.ssr(x);if(yM(b))return b.then((y)=>{f.ssr=c(y??m)});f.ssr=c(b??m)},dK=(e,r,a,i)=>{if(i._nonReactive.pendingTimeout!==void 0)return;let f=a.options.pendingMs??e.router.options.defaultPendingMs;if(e.onReady&&!(qr??e.router.isServer)&&!OD(e,r)&&(a.options.loader||a.options.beforeLoad||i3(a))&&typeof f==="number"&&f!==1/0&&(a.options.pendingComponent??e.router.options?.defaultPendingComponent)){let s=setTimeout(()=>{a3(e)},f);i._nonReactive.pendingTimeout=s}},rye=(e,r,a)=>{let i=e.router.getMatch(r);if(!i._nonReactive.beforeLoadPromise&&!i._nonReactive.loaderPromise)return;dK(e,r,a,i);let f=()=>{let s=e.router.getMatch(r);if(s.preload&&(s.status==="redirected"||s.status==="notFound"))LM(e,s,s.error)};return i._nonReactive.beforeLoadPromise?i._nonReactive.beforeLoadPromise.then(f):f()},oye=(e,r,a,i)=>{let f=e.router.getMatch(r),s=f._nonReactive.loadPromise;f._nonReactive.loadPromise=au(()=>{s?.resolve(),s=void 0});let{paramsError:l,searchError:c}=f;if(l)_R(e,a,l);if(c)_R(e,a,c);dK(e,r,i,f);let m=new AbortController,g=!1,M=()=>{if(g)return;g=!0,e.updateMatch(r,(X)=>({...X,isFetching:"beforeLoad",fetchCount:X.fetchCount+1,abortController:m}))},x=()=>{f._nonReactive.beforeLoadPromise?.resolve(),f._nonReactive.beforeLoadPromise=void 0,e.updateMatch(r,(X)=>({...X,isFetching:!1}))};if(!i.options.beforeLoad){e.router.batch(()=>{M(),x()});return}f._nonReactive.beforeLoadPromise=au();let b={...ez(e,a,!1),...f.__routeContext},{search:y,params:_,cause:k}=f,F=OD(e,r),I={search:y,abortController:m,params:_,preload:F,context:b,location:e.location,navigate:(X)=>e.router.navigate({...X,_fromLocation:e.location}),buildLocation:e.router.buildLocation,cause:F?"preload":k,matches:e.matches,routeId:i.id,...e.router.options.additionalContext},j=(X)=>{if(X===void 0){e.router.batch(()=>{M(),x()});return}if(ii(X)||Oa(X))M(),_R(e,a,X);e.router.batch(()=>{M(),e.updateMatch(r,(J)=>({...J,__beforeLoadContext:X})),x()})},G;try{if(G=i.options.beforeLoad(I),yM(G))return M(),G.catch((X)=>{_R(e,a,X)}).then(j)}catch(X){M(),_R(e,a,X)}j(G)},aye=(e,r)=>{let{id:a,routeId:i}=e.matches[r],f=e.router.looseRoutesById[i],s=()=>{if(qr??e.router.isServer){let m=tye(e,a,r,f);if(yM(m))return m.then(c)}return c()},l=()=>oye(e,a,r,f),c=()=>{if(uK(e,a))return;let m=rye(e,a,f);return yM(m)?m.then(l):l()};return s()},nye=(e,r,a)=>{let i=e.router.getMatch(r);if(!i)return;if(!a.options.head&&!a.options.scripts&&!a.options.headers)return;let f={ssr:e.router.options.ssr,matches:e.matches,match:i,params:i.params,loaderData:i.loaderData};return Promise.all([a.options.head?.(f),a.options.scripts?.(f),a.options.headers?.(f)]).then(([s,l,c])=>({meta:s?.meta,links:s?.links,headScripts:s?.scripts,headers:c,scripts:l,styles:s?.styles}))},ZK=(e,r,a,i,f)=>{let s=r[i-1],{params:l,loaderDeps:c,abortController:m,cause:g}=e.router.getMatch(a),M=ez(e,i),x=OD(e,a);return{params:l,deps:c,preload:!!x,parentMatchPromise:s,abortController:m,context:M,location:e.location,navigate:(b)=>e.router.navigate({...b,_fromLocation:e.location}),cause:x?"preload":g,route:f,...e.router.options.additionalContext}},lK=async(e,r,a,i,f)=>{try{let s=e.router.getMatch(a);try{if(!(qr??e.router.isServer)||s.ssr===!0)ek(f);let l=f.options.loader,c=typeof l==="function"?l:l?.handler,m=c?.(ZK(e,r,a,i,f)),g=!!c&&yM(m);if(g||f._lazyPromise||f._componentsPromise||f.options.head||f.options.scripts||f.options.headers||s._nonReactive.minPendingPromise)e.updateMatch(a,(x)=>({...x,isFetching:"loader"}));if(c){let x=g?await m:m;if(LM(e,e.router.getMatch(a),x),x!==void 0)e.updateMatch(a,(b)=>({...b,loaderData:x}))}if(f._lazyPromise)await f._lazyPromise;let M=s._nonReactive.minPendingPromise;if(M)await M;if(f._componentsPromise)await f._componentsPromise;e.updateMatch(a,(x)=>({...x,error:void 0,context:ez(e,i),status:"success",isFetching:!1,updatedAt:Date.now()}))}catch(l){let c=l;if(c?.name==="AbortError"){if(s.abortController.signal.aborted){s._nonReactive.loaderPromise?.resolve(),s._nonReactive.loaderPromise=void 0;return}e.updateMatch(a,(g)=>({...g,status:g.status==="pending"?"success":g.status,isFetching:!1,context:ez(e,i)}));return}let m=s._nonReactive.minPendingPromise;if(m)await m;if(Oa(l))await f.options.notFoundComponent?.preload?.();LM(e,e.router.getMatch(a),l);try{f.options.onError?.(l)}catch(g){c=g,LM(e,e.router.getMatch(a),g)}if(!ii(c)&&!Oa(c))await ek(f,["errorComponent"]);e.updateMatch(a,(g)=>({...g,error:c,context:ez(e,i),status:"error",isFetching:!1}))}}catch(s){let l=e.router.getMatch(a);if(l)l._nonReactive.loaderPromise=void 0;LM(e,l,s)}},iye=async(e,r,a)=>{async function i(y,_,k,F,I){let j=Date.now()-_.updatedAt,G=y?I.options.preloadStaleTime??e.router.options.defaultPreloadStaleTime??30000:I.options.staleTime??e.router.options.defaultStaleTime??0,X=I.options.shouldReload,J=typeof X==="function"?X(ZK(e,r,f,a,I)):X,{status:ee,invalid:te}=F,oe=j>=G&&(!!e.forceStaleReload||F.cause==="enter"||k!==void 0&&k!==F.id);if(l=ee==="success"&&(te||(J??oe)),y&&I.options.preload===!1);else if(l&&!e.sync&&M)c=!0,(async()=>{try{await lK(e,r,f,a,I);let ae=e.router.getMatch(f);ae._nonReactive.loaderPromise?.resolve(),ae._nonReactive.loadPromise?.resolve(),ae._nonReactive.loaderPromise=void 0,ae._nonReactive.loadPromise=void 0}catch(ae){if(ii(ae))await e.router.navigate(ae.options)}})();else if(ee!=="success"||l)await lK(e,r,f,a,I);else sK(e,f,a)}let{id:f,routeId:s}=e.matches[a],l=!1,c=!1,m=e.router.looseRoutesById[s],g=m.options.loader,M=((typeof g==="function"?void 0:g?.staleReloadMode)??e.router.options.defaultStaleReloadMode)!=="blocking";if(uK(e,f)){if(!e.router.getMatch(f))return e.matches[a];if(sK(e,f,a),qr??e.router.isServer)return e.router.getMatch(f)}else{let y=e.router.getMatch(f),_=e.router.stores.matchesId.get()[a],k=(_&&e.router.stores.matchStores.get(_)||null)?.routeId===s?_:e.router.stores.matches.get().find((I)=>I.routeId===s)?.id,F=OD(e,f);if(y._nonReactive.loaderPromise){if(y.status==="success"&&!e.sync&&!y.preload&&M)return y;await y._nonReactive.loaderPromise;let I=e.router.getMatch(f),j=I._nonReactive.error||I.error;if(j)LM(e,I,j);if(I.status==="pending")await i(F,y,k,I,m)}else{let I=F&&!e.router.stores.matchStores.has(f),j=e.router.getMatch(f);if(j._nonReactive.loaderPromise=au(),I!==j.preload)e.updateMatch(f,(G)=>({...G,preload:I}));await i(F,y,k,j,m)}}let x=e.router.getMatch(f);if(!c)x._nonReactive.loaderPromise?.resolve(),x._nonReactive.loadPromise?.resolve(),x._nonReactive.loadPromise=void 0;if(clearTimeout(x._nonReactive.pendingTimeout),x._nonReactive.pendingTimeout=void 0,!c)x._nonReactive.loaderPromise=void 0;x._nonReactive.dehydrated=void 0;let b=c?x.isFetching:!1;if(b!==x.isFetching||x.invalid!==!1)return e.updateMatch(f,(y)=>({...y,isFetching:b,invalid:!1})),e.router.getMatch(f);else return x};async function n3(e){let r=e,a=[];if(!(qr??r.router.isServer)&&eye(r.router))a3(r);let i;for(let b=0;b<r.matches.length;b++){try{let y=aye(r,b);if(yM(y))await y}catch(y){if(ii(y))throw y;if(Oa(y))i=y;else if(!r.preload)throw y;break}if(r.serialError||r.firstBadMatchIndex!=null)break}let f=r.firstBadMatchIndex??r.matches.length,s=i&&!r.preload?fK(r,i):void 0,l=i&&r.preload?0:s!==void 0?Math.min(s+1,f):f,c,m;for(let b=0;b<l;b++)a.push(iye(r,a,b));try{await Promise.all(a)}catch{let b=await Promise.allSettled(a);for(let y of b){if(y.status!=="rejected")continue;let _=y.reason;if(ii(_))throw _;if(Oa(_))c??=_;else m??=_}if(m!==void 0)throw m}let g=c??(i&&!r.preload?i:void 0),M=r.firstBadMatchIndex!==void 0?r.firstBadMatchIndex:r.matches.length-1;if(!g&&i&&r.preload)return r.matches;if(g){let b=fK(r,g);if(b===void 0)ni();let y=r.matches[b],_=r.router.looseRoutesById[y.routeId],k=r.router.options?.defaultNotFoundComponent;if(!_.options.notFoundComponent&&k)_.options.notFoundComponent=k;g.routeId=y.routeId;let F=y.routeId===r.router.routeTree.id;r.updateMatch(y.id,(I)=>({...I,...F?{status:"success",globalNotFound:!0,error:void 0}:{status:"notFound",error:g},isFetching:!1})),M=b,await ek(_,["notFoundComponent"])}else if(!r.preload){let b=r.matches[0];if(!b.globalNotFound){if(r.router.getMatch(b.id)?.globalNotFound)r.updateMatch(b.id,(y)=>({...y,globalNotFound:!1,error:void 0}))}}if(r.serialError&&r.firstBadMatchIndex!==void 0){let b=r.router.looseRoutesById[r.matches[r.firstBadMatchIndex].routeId];await ek(b,["errorComponent"])}for(let b=0;b<=M;b++){let{id:y,routeId:_}=r.matches[b],k=r.router.looseRoutesById[_];try{let F=nye(r,y,k);if(F){let I=await F;r.updateMatch(y,(j)=>({...j,...I}))}}catch(F){console.error(`Error executing head for route ${_}:`,F)}}let x=a3(r);if(yM(x))await x;if(g)throw g;if(r.serialError&&!r.preload&&!r.onReady)throw r.serialError;return r.matches}function cK(e,r){let a=r.map((i)=>e.options[i]?.preload?.()).filter(Boolean);if(a.length===0)return;return Promise.all(a)}function ek(e,r=ED){if(!e._lazyLoaded&&e._lazyPromise===void 0)if(e.lazyFn)e._lazyPromise=e.lazyFn().then((i)=>{let{id:f,...s}=i.options;Object.assign(e.options,s),e._lazyLoaded=!0,e._lazyPromise=void 0});else e._lazyLoaded=!0;let a=()=>e._componentsLoaded?void 0:r===ED?(()=>{if(e._componentsPromise===void 0){let i=cK(e,ED);if(i)e._componentsPromise=i.then(()=>{e._componentsLoaded=!0,e._componentsPromise=void 0});else e._componentsLoaded=!0}return e._componentsPromise})():cK(e,r);return e._lazyPromise?e._lazyPromise.then(a):a()}function DD(e,r){if(r)return{status:"error",error:r};return{status:"success",value:e}}function i3(e){for(let r of ED)if(e.options[r]?.preload)return!0;return!1}var ED=["component","errorComponent","pendingComponent","notFoundComponent"];var kM="__TSR_index",pK="popstate",mK="beforeunload";function fye(e){let r=e.getLocation(),a=new Set,i=(l)=>{r=e.getLocation(),a.forEach((c)=>c({location:r,action:l}))},f=(l)=>{if(e.notifyOnIndexChange??!0)i(l);else r=e.getLocation()},s=async({task:l,navigateOpts:c,...m})=>{if(c?.ignoreBlocker??!1){l();return}let g=e.getBlockers?.()??[],M=m.type==="PUSH"||m.type==="REPLACE";if(typeof document<"u"&&g.length&&M)for(let x of g){let b=wR(m.path,m.state);if(await x.blockerFn({currentLocation:r,nextLocation:b,action:m.type})){e.onBlocked?.();return}}l()};return{get location(){return r},get length(){return e.getLength()},subscribers:a,subscribe:(l)=>(a.add(l),()=>{a.delete(l)}),push:(l,c,m)=>{let g=r.state[kM];c=hK(g+1,c),s({task:()=>{e.pushState(l,c),i({type:"PUSH"})},navigateOpts:m,type:"PUSH",path:l,state:c})},replace:(l,c,m)=>{let g=r.state[kM];c=hK(g,c),s({task:()=>{e.replaceState(l,c),i({type:"REPLACE"})},navigateOpts:m,type:"REPLACE",path:l,state:c})},go:(l,c)=>{s({task:()=>{e.go(l),f({type:"GO",index:l})},navigateOpts:c,type:"GO"})},back:(l)=>{s({task:()=>{e.back(l?.ignoreBlocker??!1),f({type:"BACK"})},navigateOpts:l,type:"BACK"})},forward:(l)=>{s({task:()=>{e.forward(l?.ignoreBlocker??!1),f({type:"FORWARD"})},navigateOpts:l,type:"FORWARD"})},canGoBack:()=>r.state[kM]!==0,createHref:(l)=>e.createHref(l),block:(l)=>{if(!e.setBlockers)return()=>{};let c=e.getBlockers?.()??[];return e.setBlockers([...c,l]),()=>{let m=e.getBlockers?.()??[];e.setBlockers?.(m.filter((g)=>g!==l))}},flush:()=>e.flush?.(),destroy:()=>e.destroy?.(),notify:i}}function hK(e,r){if(!r)r={};let a=f3();return{...r,key:a,__TSR_key:a,[kM]:e}}function gK(e){let r=e?.window??(typeof document<"u"?window:void 0),a=r.history.pushState,i=r.history.replaceState,f=[],s=()=>f,l=(oe)=>f=oe,c=e?.createHref??((oe)=>oe),m=e?.parseLocation??(()=>wR(`${r.location.pathname}${r.location.search}${r.location.hash}`,r.history.state));if(!r.history.state?.__TSR_key&&!r.history.state?.key){let oe=f3();r.history.replaceState({[kM]:0,key:oe,__TSR_key:oe},"")}let g=m(),M,x=!1,b=!1,y=!1,_=!1,k=()=>g,F,I,j=()=>{if(!F)return;te._ignoreSubscribers=!0,(F.isPush?r.history.pushState:r.history.replaceState)(F.state,"",F.href),te._ignoreSubscribers=!1,F=void 0,I=void 0,M=void 0},G=(oe,ae,_e)=>{let Ve=c(ae);if(!I)M=g;if(g=wR(ae,_e),F={href:Ve,state:_e,isPush:F?.isPush||oe==="push"},!I)I=Promise.resolve().then(()=>j())},X=(oe)=>{g=m(),te.notify({type:oe})},J=async()=>{if(b){b=!1;return}let oe=m(),ae=oe.state[kM]-g.state[kM],_e=ae===1,Ve=ae===-1,Ne=!_e&&!Ve||x;x=!1;let ze=Ne?"GO":Ve?"BACK":"FORWARD",Ye=Ne?{type:"GO",index:ae}:{type:Ve?"BACK":"FORWARD"};if(y)y=!1;else{let ft=s();if(typeof document<"u"&&ft.length){for(let Ke of ft)if(await Ke.blockerFn({currentLocation:g,nextLocation:oe,action:ze})){b=!0,r.history.go(1),te.notify(Ye);return}}}g=m(),te.notify(Ye)},ee=(oe)=>{if(_){_=!1;return}let ae=!1,_e=s();if(typeof document<"u"&&_e.length)for(let Ve of _e){let Ne=Ve.enableBeforeUnload??!0;if(Ne===!0){ae=!0;break}if(typeof Ne==="function"&&Ne()===!0){ae=!0;break}}if(ae)return oe.preventDefault(),oe.returnValue=""},te=fye({getLocation:k,getLength:()=>r.history.length,pushState:(oe,ae)=>G("push",oe,ae),replaceState:(oe,ae)=>G("replace",oe,ae),back:(oe)=>{if(oe)y=!0;return _=!0,r.history.back()},forward:(oe)=>{if(oe)y=!0;_=!0,r.history.forward()},go:(oe)=>{x=!0,r.history.go(oe)},createHref:(oe)=>c(oe),flush:j,destroy:()=>{r.history.pushState=a,r.history.replaceState=i,r.removeEventListener(mK,ee,{capture:!0}),r.removeEventListener(pK,J)},onBlocked:()=>{if(M&&g!==M)g=M},getBlockers:s,setBlockers:l,notifyOnIndexChange:!1});return r.addEventListener(mK,ee,{capture:!0}),r.addEventListener(pK,J),r.history.pushState=function(...oe){let ae=a.apply(r.history,oe);if(!te._ignoreSubscribers)X("PUSH");return ae},r.history.replaceState=function(...oe){let ae=i.apply(r.history,oe);if(!te._ignoreSubscribers)X("REPLACE");return ae},te}function sye(e){let r=e.replace(/[\x00-\x1f\x7f]/g,"");if(r.startsWith("//"))r="/"+r.replace(/^\/+/,"");return r}function wR(e,r){let a=sye(e),i=a.indexOf("#"),f=a.indexOf("?"),s=f3();return{href:a,pathname:a.substring(0,i>0?f>0?Math.min(i,f):i:f>0?f:a.length),hash:i>-1?a.substring(i):"",search:f>-1?a.slice(f,i===-1?void 0:i):"",state:r||{[kM]:0,key:s,__TSR_key:s}}}function f3(){return(Math.random()+1).toString(36).substring(7)}function kZ(e,r){let a=r,i=e;return{fromLocation:a,toLocation:i,pathChanged:a?.pathname!==i.pathname,hrefChanged:a?.href!==i.href,hashChanged:a?.hash!==i.hash}}var AD=new WeakMap,s3=class{constructor(e,r){if(this.tempLocationKey=`${Math.round(Math.random()*1e7)}`,this.resetNextScroll=!0,this.shouldViewTransition=void 0,this.isViewTransitionTypesSupported=void 0,this.subscribers=new Set,this.isScrollRestoring=!1,this.isScrollRestorationSetup=!1,this.routeBranchCache=new WeakMap,this.startTransition=(a)=>a(),this.update=(a)=>{let i=this.options,f=this.basepath??i?.basepath??"/",s=this.basepath===void 0,l=i?.rewrite;if(this.options={...i,...a},this.isServer=this.options.isServer??typeof document>"u",this.protocolAllowlist=new Set(this.options.protocolAllowlist),this.options.pathParamsAllowedCharacters)this.pathParamsDecoder=XG(this.options.pathParamsAllowedCharacters);if(!this.history||this.options.history&&this.options.history!==this.history)if(!this.options.history){if(!(qr??this.isServer))this.history=gK()}else this.history=this.options.history;if(this.origin=this.options.origin,!this.origin)if(!(qr??this.isServer)&&window?.origin&&window.origin!=="null")this.origin=window.origin;else this.origin="http://localhost";if(this.history)this.updateLatestLocation();if(this.options.routeTree!==this.routeTree){this.routeTree=this.options.routeTree;let M;if((qr??this.isServer)&&!0&&globalThis.__TSR_CACHE__&&globalThis.__TSR_CACHE__.routeTree===this.routeTree){let x=globalThis.__TSR_CACHE__;this.resolvePathCache=x.resolvePathCache,M=x.processRouteTreeResult}else if(this.resolvePathCache=bM(1000),M=this.buildRouteTree(),(qr??this.isServer)&&!0&&globalThis.__TSR_CACHE__===void 0)globalThis.__TSR_CACHE__={routeTree:this.routeTree,processRouteTreeResult:M,resolvePathCache:this.resolvePathCache};this.setRoutes(M)}if(!this.stores&&this.latestLocation){let M=this.getStoreConfig(this);if(this.batch=M.batch,this.stores=rK(xK(this.latestLocation),M),!(qr??this.isServer))iK(this)}let c=!1,m=this.options.basepath??"/",g=this.options.rewrite;if(s||f!==m||l!==g){this.basepath=m;let M=[],x=QL(m);if(x&&x!=="/")M.push(tK({basepath:m}));if(g)M.push(g);if(this.rewrite=M.length===0?void 0:M.length===1?M[0]:QF(M),this.history)this.updateLatestLocation();c=!0}if(c&&this.stores)this.stores.location.set(this.latestLocation);if(typeof window<"u"&&"CSS"in window&&typeof window.CSS?.supports==="function")this.isViewTransitionTypesSupported=window.CSS.supports("selector(:active-view-transition-type(a))")},this.updateLatestLocation=()=>{this.latestLocation=this.parseLocation(this.history.location,this.latestLocation)},this.buildRouteTree=()=>{let a=WG(this.routeTree,this.options.caseSensitive,(i,f)=>{i.init({originalIndex:f})});if(this.options.routeMasks)UG(this.options.routeMasks,a.processedTree);return a},this.subscribe=(a,i)=>{let f={eventType:a,fn:i};return this.subscribers.add(f),()=>{this.subscribers.delete(f)}},this.emit=(a)=>{this.subscribers.forEach((i)=>{if(i.eventType===a.type)i.fn(a)})},this.parseLocation=(a,i)=>{let f=({pathname:m,search:g,hash:M,href:x,state:b})=>{if(!this.rewrite&&!/[ \x00-\x1f\x7f\u0080-\uffff]/.test(m)){let I=this.options.parseSearch(g),j=this.options.stringifySearch(I);return{href:m+j+M,publicHref:m+j+M,pathname:KL(m).path,external:!1,searchStr:j,search:xM(i?.search,I),hash:KL(M.slice(1)).path,state:Fs(i?.state,b)}}let y=new URL(x,this.origin),_=PD(this.rewrite,y),k=this.options.parseSearch(_.search),F=this.options.stringifySearch(k);return _.search=F,{href:_.href.replace(_.origin,""),publicHref:x,pathname:KL(_.pathname).path,external:!!this.rewrite&&_.origin!==this.origin,searchStr:F,search:xM(i?.search,k),hash:KL(_.hash.slice(1)).path,state:Fs(i?.state,b)}},s=f(a),{__tempLocation:l,__tempKey:c}=s.state;if(l&&(!c||c===this.tempLocationKey)){let m=f(l);return m.state.key=s.state.key,m.state.__TSR_key=s.state.__TSR_key,delete m.state.__tempLocation,{...m,maskedLocation:s}}return s},this.resolvePathWithBase=(a,i)=>RD({base:a,to:i.includes("//")?XL(i):i,trailingSlash:this.options.trailingSlash,cache:this.resolvePathCache}),this.matchRoutes=(a,i,f)=>{if(typeof a==="string")return this.matchRoutesInternal({pathname:a,search:i},f);return this.matchRoutesInternal(a,i)},this.getMatchedRoutes=(a)=>yK({pathname:a,routesById:this.routesById,processedTree:this.processedTree}),this.cancelMatch=(a)=>{let i=this.getMatch(a);if(!i)return;i.abortController.abort(),clearTimeout(i._nonReactive.pendingTimeout),i._nonReactive.pendingTimeout=void 0},this.cancelMatches=()=>{this.stores.pendingIds.get().forEach((a)=>{this.cancelMatch(a)}),this.stores.matchesId.get().forEach((a)=>{if(this.stores.pendingMatchStores.has(a))return;let i=this.stores.matchStores.get(a)?.get();if(!i)return;if(i.status==="pending"||i.isFetching==="loader")this.cancelMatch(a)})},this.buildLocation=(a)=>{let i=(s={})=>{let l=s._fromLocation||this.pendingBuiltLocation||this.latestLocation,c=this.matchRoutesLightweight(l);s.from;let m=s.unsafeRelative==="path"?l.pathname:s.from??c.fullPath,g=s.to?`${s.to}`:void 0,M=c.search,x=Object.assign(Object.create(null),c.params),b=g?.charCodeAt(0)===47?"/":this.resolvePathWithBase(m,"."),y=g?this.resolvePathWithBase(b,g):b,_=s.params===!1||s.params===null?Object.create(null):(s.params??!0)===!0?x:Object.assign(x,ss(s.params,x)),k=this.routesByPath[Bs(y)],F;if(k)F=this.getRouteBranch(k);else if(y.includes("$"))F=[];else{let Ve=this.getMatchedRoutes(y);if(F=Ve.matchedRoutes,this.options.notFoundRoute&&(!Ve.foundRoute||Ve.foundRoute.path!=="/"&&Ve.routeParams["**"]))F=[...F,this.options.notFoundRoute]}if(F.length&&vM(_))for(let Ve of F){let Ne=Ve.options.params?.stringify??Ve.options.stringifyParams;if(Ne)try{Object.assign(_,Ne(_))}catch{}}let I=a.leaveParams?y:KL(bR({path:y,params:_,decoder:this.pathParamsDecoder,server:this.isServer}).interpolatedPath).path,j=M;if(a._includeValidateSearch&&this.options.search?.strict){let Ve={};F.forEach((Ne)=>{if(Ne.options.validateSearch)try{Object.assign(Ve,jD(Ne.options.validateSearch,{...Ve,...j}))}catch{}}),j=Ve}j=lye({search:j,dest:s,destRoutes:F,_includeValidateSearch:a._includeValidateSearch}),j=xM(M,j);let G=this.options.stringifySearch(j),X=s.hash===!0?l.hash:s.hash?ss(s.hash,l.hash):void 0,J=X?`#${X}`:"",ee=s.state===!0?l.state:s.state?ss(s.state,l.state):{};ee=Fs(l.state,ee);let te=`${I}${G}${J}`,oe,ae,_e=!1;if(this.rewrite){let Ve=new URL(te,this.origin),Ne=JF(this.rewrite,Ve);if(oe=Ve.href.replace(Ve.origin,""),Ne.origin!==this.origin)ae=Ne.href,_e=!0;else ae=Ne.pathname+Ne.search+Ne.hash}else oe=NG(te),ae=oe;return{publicHref:ae,href:oe,pathname:I,search:j,searchStr:G,state:ee,hash:X??"",external:_e,unmaskOnReload:s.unmaskOnReload}},f=(s={},l)=>{let c=i(s),m=l?i(l):void 0;if(!m){let g=Object.create(null);if(this.options.routeMasks){let M=qG(c.pathname,this.processedTree);if(M){Object.assign(g,M.rawParams);let{from:x,params:b,...y}=M.route,_=b===!1||b===null?Object.create(null):(b??!0)===!0?g:Object.assign(g,ss(b,g));l={from:a.from,...y,params:_},m=i(l)}}}if(m)c.maskedLocation=m;return c};if(a.mask)return f(a,{from:a.from,...a.mask});return f(a)},this.commitLocation=async({viewTransition:a,ignoreBlocker:i,...f})=>{let s,l=()=>{let g=["key","__TSR_key","__TSR_index","__hashScrollIntoViewOptions"];g.forEach((x)=>{f.state[x]=this.latestLocation.state[x]});let M=oc(f.state,this.latestLocation.state);return g.forEach((x)=>{delete f.state[x]}),M},c=Bs(this.latestLocation.href)===Bs(f.href),m=this.commitLocationPromise;if(this.commitLocationPromise=au(()=>{m?.resolve(),m=void 0}),c&&l())this.load();else{let{maskedLocation:g,hashScrollIntoView:M,...x}=f;if(g){if(x={...g,state:{...g.state,__tempKey:void 0,__tempLocation:{...x,search:x.searchStr,state:{...x.state,__tempKey:void 0,__tempLocation:void 0,__TSR_key:void 0,key:void 0}}}},x.unmaskOnReload??this.options.unmaskOnReload??!1)x.state.__tempKey=this.tempLocationKey}x.state.__hashScrollIntoViewOptions=M??this.options.defaultHashScrollIntoView??!0,this.shouldViewTransition=a,s=f.replace?"REPLACE":"PUSH",this.history[s==="REPLACE"?"replace":"push"](x.publicHref,x.state,{ignoreBlocker:i})}if(this.resetNextScroll=f.resetScroll??!0,!this.history.subscribers.size)this.load(s?{action:{type:s}}:void 0);return this.commitLocationPromise},this.buildAndCommitLocation=({replace:a,resetScroll:i,hashScrollIntoView:f,viewTransition:s,ignoreBlocker:l,href:c,...m}={})=>{if(c){let x=this.history.location.state.__TSR_index,b=wR(c,{__TSR_index:a?x:x+1}),y=new URL(b.pathname,this.origin);m.to=PD(this.rewrite,y).pathname,m.search=this.options.parseSearch(b.search),m.hash=b.hash.slice(1)}let g=this.buildLocation({...m,_includeValidateSearch:!0});this.pendingBuiltLocation=g;let M=this.commitLocation({...g,viewTransition:s,replace:a,resetScroll:i,hashScrollIntoView:f,ignoreBlocker:l});return Promise.resolve().then(()=>{if(this.pendingBuiltLocation===g)this.pendingBuiltLocation=void 0}),M},this.navigate=async({to:a,reloadDocument:i,href:f,publicHref:s,...l})=>{let c=!1;if(f)try{new URL(`${f}`),c=!0}catch{}if(c&&!i)i=!0;if(i){if(a!==void 0||!f){let g=this.buildLocation({to:a,...l});f=f??g.publicHref,s=s??g.publicHref}let m=!c&&s?s:f;if(Xd(m,this.protocolAllowlist))return Promise.resolve();if(!l.ignoreBlocker){let g=this.history.getBlockers?.()??[];for(let M of g)if(M?.blockerFn){if(await M.blockerFn({currentLocation:this.latestLocation,nextLocation:this.latestLocation,action:"PUSH"}))return Promise.resolve()}}if(l.replace)window.location.replace(m);else window.location.href=m;return Promise.resolve()}return this.buildAndCommitLocation({...l,href:f,to:a,_isNavigate:!0})},this.beforeLoad=()=>{if(this.cancelMatches(),this.updateLatestLocation(),qr??this.isServer){let f=this.buildLocation({to:this.latestLocation.pathname,search:!0,params:!0,hash:!0,state:!0,_includeValidateSearch:!0});if(this.latestLocation.publicHref!==f.publicHref){let s=this.getParsedLocationHref(f);if(f.external)throw kl({href:s});else throw kl({href:s,_builtLocation:f})}}let a=this.matchRoutes(this.latestLocation),i=this.stores.cachedMatches.get().filter((f)=>!a.some((s)=>s.id===f.id));this.batch(()=>{this.stores.status.set("pending"),this.stores.statusCode.set(200),this.stores.isLoading.set(!0),this.stores.location.set(this.latestLocation),this.stores.setPending(a),this.stores.setCached(i)})},this.load=async(a)=>{let i=a?.action?.type,f,s,l,c=this.stores.resolvedLocation.get()??this.stores.location.get();l=new Promise((g)=>{this.startTransition(async()=>{try{if(this.beforeLoad(),i)AD.set(this.latestLocation,i);else AD.delete(this.latestLocation);let M=this.latestLocation,x=kZ(M,this.stores.resolvedLocation.get());if(!this.stores.redirect.get())this.emit({type:"onBeforeNavigate",...x});this.emit({type:"onBeforeLoad",...x}),await n3({router:this,sync:a?.sync,forceStaleReload:c.href===M.href,matches:this.stores.pendingMatches.get(),location:M,updateMatch:this.updateMatch,onReady:async()=>{this.startTransition(()=>{this.startViewTransition(async()=>{let b=null,y=null,_=null,k=null;this.batch(()=>{let F=this.stores.pendingMatches.get(),I=F.length,j=this.stores.matches.get();b=I?j.filter((J)=>!this.stores.pendingMatchStores.has(J.id)):null;let G=new Set;for(let J of this.stores.pendingMatchStores.values())if(J.routeId)G.add(J.routeId);let X=new Set;for(let J of this.stores.matchStores.values())if(J.routeId)X.add(J.routeId);if(y=I?j.filter((J)=>!G.has(J.routeId)):null,_=I?F.filter((J)=>!X.has(J.routeId)):null,k=I?F.filter((J)=>X.has(J.routeId)):j,this.stores.isLoading.set(!1),this.stores.loadedAt.set(Date.now()),I)this.stores.setMatches(F),this.stores.setPending([]),this.stores.setCached([...this.stores.cachedMatches.get(),...b.filter((J)=>J.status!=="error"&&J.status!=="notFound"&&J.status!=="redirected")]),this.clearExpiredCache()});for(let[F,I]of[[y,"onLeave"],[_,"onEnter"],[k,"onStay"]]){if(!F)continue;for(let j of F)this.looseRoutesById[j.routeId].options[I]?.(j)}})})}})}catch(M){if(ii(M)){if(f=M,!(qr??this.isServer))this.navigate({...f.options,replace:!0,ignoreBlocker:!0})}else if(Oa(M))s=M;let x=f?f.status:s?404:this.stores.matches.get().some((b)=>b.status==="error")?500:200;this.batch(()=>{this.stores.statusCode.set(x),this.stores.redirect.set(f)})}if(this.latestLoadPromise===l)this.commitLocationPromise?.resolve(),this.latestLoadPromise=void 0,this.commitLocationPromise=void 0;g()})}),this.latestLoadPromise=l,await l;while(this.latestLoadPromise&&l!==this.latestLoadPromise)await this.latestLoadPromise;let m=void 0;if(this.hasNotFoundMatch())m=404;else if(this.stores.matches.get().some((g)=>g.status==="error"))m=500;if(m!==void 0)this.stores.statusCode.set(m)},this.startViewTransition=(a)=>{let i=this.shouldViewTransition??this.options.defaultViewTransition;if(this.shouldViewTransition=void 0,i&&typeof document<"u"&&"startViewTransition"in document&&typeof document.startViewTransition==="function"){let f;if(typeof i==="object"&&this.isViewTransitionTypesSupported){let s=this.latestLocation,l=this.stores.resolvedLocation.get(),c=typeof i.types==="function"?i.types(kZ(s,l)):i.types;if(c===!1){a();return}f={update:a,types:c}}else f=a;document.startViewTransition(f)}else a()},this.updateMatch=(a,i)=>{this.startTransition(()=>{let f=this.stores.pendingMatchStores.get(a);if(f){f.set(i);return}let s=this.stores.matchStores.get(a);if(s){s.set(i);return}let l=this.stores.cachedMatchStores.get(a);if(l){let c=i(l.get());if(c.status==="redirected"){if(this.stores.cachedMatchStores.delete(a))this.stores.cachedIds.set((m)=>m.filter((g)=>g!==a))}else l.set(c)}})},this.getMatch=(a)=>this.stores.cachedMatchStores.get(a)?.get()??this.stores.pendingMatchStores.get(a)?.get()??this.stores.matchStores.get(a)?.get(),this.invalidate=(a)=>{let i=(f)=>{if(a?.filter?.(f)??!0)return{...f,invalid:!0,...a?.forcePending||f.status==="error"||f.status==="notFound"?{status:"pending",error:void 0}:void 0};return f};return this.batch(()=>{this.stores.setMatches(this.stores.matches.get().map(i)),this.stores.setCached(this.stores.cachedMatches.get().map(i)),this.stores.setPending(this.stores.pendingMatches.get().map(i))}),this.shouldViewTransition=!1,this.load({sync:a?.sync})},this.getParsedLocationHref=(a)=>a.publicHref||"/",this.resolveRedirect=(a)=>{let i=a.headers.get("Location");if(!a.options.href||a.options._builtLocation){let f=a.options._builtLocation??this.buildLocation(a.options),s=this.getParsedLocationHref(f);a.options.href=s,a.headers.set("Location",s)}else if(i)try{let f=new URL(i);if(this.origin&&f.origin===this.origin){let s=f.pathname+f.search+f.hash;a.options.href=s,a.headers.set("Location",s)}}catch{}if(a.options.href&&!a.options._builtLocation&&Xd(a.options.href,this.protocolAllowlist))throw Error("Redirect blocked: unsafe protocol");if(!a.headers.get("Location"))a.headers.set("Location",a.options.href);return a},this.clearCache=(a)=>{let i=a?.filter;if(i!==void 0)this.stores.setCached(this.stores.cachedMatches.get().filter((f)=>!i(f)));else this.stores.setCached([])},this.clearExpiredCache=()=>{let a=Date.now(),i=(f)=>{let s=this.looseRoutesById[f.routeId];if(!s.options.loader)return!0;let l=(f.preload?s.options.preloadGcTime??this.options.defaultPreloadGcTime:s.options.gcTime??this.options.defaultGcTime)??300000;if(f.status==="error")return!0;return a-f.updatedAt>=l};this.clearCache({filter:i})},this.loadRouteChunk=ek,this.preloadRoute=async(a)=>{let i=a._builtLocation??this.buildLocation(a),f=this.matchRoutes(i,{throwOnError:!0,preload:!0,dest:a}),s=new Set([...this.stores.matchesId.get(),...this.stores.pendingIds.get()]),l=new Set([...s,...this.stores.cachedIds.get()]),c=f.filter((m)=>!l.has(m.id));if(c.length){let m=this.stores.cachedMatches.get();this.stores.setCached([...m,...c])}try{return f=await n3({router:this,matches:f,location:i,preload:!0,updateMatch:(m,g)=>{if(s.has(m))f=f.map((M)=>M.id===m?g(M):M);else this.updateMatch(m,g)}}),f}catch(m){if(ii(m)){if(m.options.reloadDocument)return;return await this.preloadRoute({...m.options,_fromLocation:i})}if(!Oa(m))console.error(m);return}},this.matchRoute=(a,i)=>{let f={...a,to:a.to?this.resolvePathWithBase(a.from||"",a.to):void 0,params:a.params||{},leaveParams:!0},s=this.buildLocation(f);if(i?.pending&&this.stores.status.get()!=="pending")return!1;let l=(i?.pending===void 0?!this.stores.isLoading.get():i.pending)?this.latestLocation:this.stores.resolvedLocation.get()||this.stores.location.get(),c=VG(s.pathname,i?.caseSensitive??!1,i?.fuzzy??!1,l.pathname,this.processedTree);if(!c)return!1;if(a.params){if(!oc(c.rawParams,a.params,{partial:!0}))return!1}if(i?.includeSearch??!0)return oc(l.search,s.search,{partial:!0})?c.rawParams:!1;return c.rawParams},this.hasNotFoundMatch=()=>this.stores.matches.get().some((a)=>a.status==="notFound"||a.globalNotFound),this.getStoreConfig=r,this.update({defaultPreloadDelay:50,defaultPendingMs:1000,defaultPendingMinMs:500,context:void 0,...e,caseSensitive:e.caseSensitive??!1,notFoundMode:e.notFoundMode??"fuzzy",stringifySearch:e.stringifySearch??XF,parseSearch:e.parseSearch??KF,protocolAllowlist:e.protocolAllowlist??SD}),typeof document<"u")self.__TSR_ROUTER__=this}isShell(){return!!this.options.isShell}isPrerendering(){return!!this.options.isPrerendering}get state(){return this.stores.__store.get()}setRoutes({routesById:e,routesByPath:r,processedTree:a}){this.routesById=e,this.routesByPath=r,this.processedTree=a;let i=this.options.notFoundRoute;if(i)i.init({originalIndex:99999999999}),this.routesById[i.id]=i}getRouteBranch(e){let r=this.routeBranchCache.get(e);if(!r)r=WF(e),this.routeBranchCache.set(e,r);return r}get looseRoutesById(){return this.routesById}getParentContext(e){return!e?.id?this.options.context??void 0:e.context??this.options.context??void 0}matchRoutesInternal(e,r){let a=this.getMatchedRoutes(e.pathname),{foundRoute:i,routeParams:f}=a,{matchedRoutes:s}=a,l=!1;if(i?i.path!=="/"&&f["**"]:Bs(e.pathname))if(this.options.notFoundRoute)s=[...s,this.options.notFoundRoute];else l=!0;let c=l?uye(this.options.notFoundMode,s):void 0,m=Array(s.length),g=new Map;for(let M of this.stores.matchStores.values())if(M.routeId)g.set(M.routeId,M.get());for(let M=0;M<s.length;M++){let x=s[M],b=m[M-1],y,_,k;{let Ne=b?.search??e.search,ze=b?._strictSearch??void 0;try{let Ye=jD(x.options.validateSearch,{...Ne})??void 0;y={...Ne,...Ye},_={...ze,...Ye},k=void 0}catch(Ye){let ft=Ye;if(!(Ye instanceof tk))ft=new tk(Ye.message,{cause:Ye});if(r?.throwOnError)throw ft;y=Ne,_={},k=ft}}let F=x.options.loaderDeps?.({search:y})??"",I=F?JSON.stringify(F):"",{interpolatedPath:j,usedParams:G}=bR({path:x.fullPath,params:f,decoder:this.pathParamsDecoder,server:this.isServer}),X=x.id+j+I,J=this.getMatch(X),ee=g.get(x.id),te=J?._strictParams??G,oe=void 0;if(!J)try{MK(x,te)}catch(Ne){if(Oa(Ne)||ii(Ne))oe=Ne;else oe=new vK(Ne.message,{cause:Ne});if(r?.throwOnError)throw oe}Object.assign(f,te);let ae=ee?"stay":"enter",_e;if(J)_e={...J,cause:ae,params:ee?.params??f,_strictParams:te,search:ee?xM(ee.search,y):xM(J.search,y),_strictSearch:_};else{let Ne=x.options.loader||x.options.beforeLoad||x.lazyFn||i3(x)?"pending":"success";_e={id:X,ssr:qr??this.isServer?void 0:x.options.ssr,index:M,routeId:x.id,params:ee?.params??f,_strictParams:te,pathname:j,updatedAt:Date.now(),search:ee?xM(ee.search,y):y,_strictSearch:_,searchError:void 0,status:Ne,isFetching:!1,error:void 0,paramsError:oe,__routeContext:void 0,_nonReactive:{loadPromise:au()},__beforeLoadContext:void 0,context:{},abortController:new AbortController,fetchCount:0,cause:ae,loaderDeps:ee?Fs(ee.loaderDeps,F):F,invalid:!1,preload:!1,links:void 0,scripts:void 0,headScripts:void 0,meta:void 0,staticData:x.options.staticData||{},fullPath:x.fullPath}}if(!r?.preload)_e.globalNotFound=c===x.id;_e.searchError=k;let Ve=this.getParentContext(b);_e.context={...Ve,..._e.__routeContext,..._e.__beforeLoadContext},m[M]=_e}for(let M=0;M<m.length;M++){let x=m[M],b=this.looseRoutesById[x.routeId],y=this.getMatch(x.id),_=g.get(x.routeId);if(x.params=_?xM(_.params,f):f,!y){let k=m[M-1],F=this.getParentContext(k);if(b.options.context){let I={deps:x.loaderDeps,params:x.params,context:F??{},location:e,navigate:(j)=>this.navigate({...j,_fromLocation:e}),buildLocation:this.buildLocation,cause:x.cause,abortController:x.abortController,preload:!!x.preload,matches:m,routeId:b.id};x.__routeContext=b.options.context(I)??void 0}x.context={...F,...x.__routeContext,...x.__beforeLoadContext}}}return m}matchRoutesLightweight(e){let{matchedRoutes:r,routeParams:a}=this.getMatchedRoutes(e.pathname),i=MM(r),f={...e.search};for(let g of r)try{Object.assign(f,jD(g.options.validateSearch,f))}catch{}let s=MM(this.stores.matchesId.get()),l=s&&this.stores.matchStores.get(s)?.get(),c=l&&l.routeId===i.id&&l.pathname===e.pathname,m;if(c)m=l.params;else{let g=Object.assign(Object.create(null),a);for(let M of r)try{MK(M,g)}catch{}m=g}return{matchedRoutes:r,fullPath:i.fullPath,search:f,params:m}}},tk=class extends Error{},vK=class extends Error{};function xK(e){return{loadedAt:0,isLoading:!1,isTransitioning:!1,status:"idle",resolvedLocation:void 0,location:e,matches:[],statusCode:200}}function jD(e,r){if(e==null)return{};if("~standard"in e){let a=e["~standard"].validate(r);if(a instanceof Promise)throw new tk("Async validation not supported");if(a.issues)throw new tk(JSON.stringify(a.issues,void 0,2),{cause:a});return a.value}if("parse"in e)return e.parse(r);if(typeof e==="function")return e(r);return{}}function yK({pathname:e,routesById:r,processedTree:a}){let i=Object.create(null),f=Bs(e),s=void 0,l=HG(f,a,!0);if(l)s=l.route,Object.assign(i,l.rawParams);return{matchedRoutes:l?.branch||[r.__root__],routeParams:i,foundRoute:s}}function lye({search:e,dest:r,destRoutes:a,_includeValidateSearch:i}){return cye(a)(e,r,i??!1)}function cye(e){let r={dest:null,_includeValidateSearch:!1,middlewares:[]};for(let f of e){if("search"in f.options){if(f.options.search?.middlewares)r.middlewares.push(...f.options.search.middlewares)}else if(f.options.preSearchFilters||f.options.postSearchFilters){let s=({search:l,next:c})=>{let m=l;if("preSearchFilters"in f.options&&f.options.preSearchFilters)m=f.options.preSearchFilters.reduce((M,x)=>x(M),l);let g=c(m);if("postSearchFilters"in f.options&&f.options.postSearchFilters)return f.options.postSearchFilters.reduce((M,x)=>x(M),g);return g};r.middlewares.push(s)}if(f.options.validateSearch){let s=({search:l,next:c})=>{let m=c(l);if(!r._includeValidateSearch)return m;try{return{...m,...jD(f.options.validateSearch,m)??void 0}}catch{return m}};r.middlewares.push(s)}}let a=({search:f})=>{let s=r.dest;if(!s.search)return{};if(s.search===!0)return f;return ss(s.search,f)};r.middlewares.push(a);let i=(f,s,l)=>{if(f>=l.length)return s;let c=l[f];return c({search:s,next:(g)=>i(f+1,g,l)})};return function(s,l,c){return r.dest=l,r._includeValidateSearch=c,i(0,s,r.middlewares)}}function uye(e,r){if(e!=="root")for(let a=r.length-1;a>=0;a--){let i=r[a];if(i.children)return i.id}return Zs}function MK(e,r){let a=e.options.params?.parse??e.options.parseParams;if(a){let i=a(r);if(i===!1)throw Error("Route params.parse returned false for a matched route");Object.assign(r,i)}}var l3="Error preloading route! ☝️";var ND=class{get to(){return this._to}get id(){return this._id}get path(){return this._path}get fullPath(){return this._fullPath}constructor(e){if(this.init=(r)=>{this.originalIndex=r.originalIndex;let a=this.options,i=!a?.path&&!a?.id;if(this.parentRoute=this.options.getParentRoute?.(),i)this._path=Zs;else if(!this.parentRoute)ni();let f=i?Zs:a?.path;if(f&&f!=="/")f=yR(f);let s=a?.id||f,l=i?Zs:SM([this.parentRoute.id==="__root__"?"":this.parentRoute.id,s]);if(f==="__root__")f="/";if(l!=="__root__")l=SM(["/",l]);let c=l==="__root__"?"/":SM([this.parentRoute.fullPath,f]);this._path=f,this._id=l,this._fullPath=c,this._to=Bs(c)},this.addChildren=(r)=>this._addFileChildren(r),this._addFileChildren=(r)=>{if(Array.isArray(r))this.children=r;if(typeof r==="object"&&r!==null)this.children=Object.values(r);return this},this._addFileTypes=()=>this,this.updateLoader=(r)=>(Object.assign(this.options,r),this),this.update=(r)=>(Object.assign(this.options,r),this),this.lazy=(r)=>(this.lazyFn=r,this),this.redirect=(r)=>kl({from:this.fullPath,...r}),this.options=e||{},this.isRoot=!e?.getParentRoute,e?.id&&e?.path)throw Error("Route cannot have both an 'id' and a 'path' option.")}};var c3=class extends ND{constructor(e){super(e)}};C();var Na=((e)=>(e[e.None=0]="None",e[e.Mutable=1]="Mutable",e[e.Watching=2]="Watching",e[e.RecursedCheck=4]="RecursedCheck",e[e.Recursed=8]="Recursed",e[e.Dirty=16]="Dirty",e[e.Pending=32]="Pending",e))(Na||{});function _K({update:e,notify:r,unwatched:a}){return{link:i,unlink:f,propagate:s,checkDirty:l,shallowPropagate:c};function i(g,M,x){let b=M.depsTail;if(b!==void 0&&b.dep===g)return;let y=b!==void 0?b.nextDep:M.deps;if(y!==void 0&&y.dep===g){y.version=x,M.depsTail=y;return}let _=g.subsTail;if(_!==void 0&&_.version===x&&_.sub===M)return;let k=M.depsTail=g.subsTail={version:x,dep:g,sub:M,prevDep:b,nextDep:y,prevSub:_,nextSub:void 0};if(y!==void 0)y.prevDep=k;if(b!==void 0)b.nextDep=k;else M.deps=k;if(_!==void 0)_.nextSub=k;else g.subs=k}function f(g,M=g.sub){let{dep:x,prevDep:b,nextDep:y,nextSub:_,prevSub:k}=g;if(y!==void 0)y.prevDep=b;else M.depsTail=b;if(b!==void 0)b.nextDep=y;else M.deps=y;if(_!==void 0)_.prevSub=k;else x.subsTail=k;if(k!==void 0)k.nextSub=_;else if((x.subs=_)===void 0)a(x);return y}function s(g){let M=g.nextSub,x;e:do{let b=g.sub,y=b.flags;if(!(y&60))b.flags=y|32;else if(!(y&12))y=0;else if(!(y&4))b.flags=y&-9|32;else if(!(y&48)&&m(g,b))b.flags=y|40,y&=1;else y=0;if(y&2)r(b);if(y&1){let _=b.subs;if(_!==void 0){let k=(g=_).nextSub;if(k!==void 0)x={value:M,prev:x},M=k;continue}}if((g=M)!==void 0){M=g.nextSub;continue}while(x!==void 0)if(g=x.value,x=x.prev,g!==void 0){M=g.nextSub;continue e}break}while(!0)}function l(g,M){let x,b=0,y=!1;e:do{let _=g.dep,k=_.flags;if(M.flags&16)y=!0;else if((k&17)===17){if(e(_)){let F=_.subs;if(F.nextSub!==void 0)c(F);y=!0}}else if((k&33)===33){if(g.nextSub!==void 0||g.prevSub!==void 0)x={value:g,prev:x};g=_.deps,M=_,++b;continue}if(!y){let F=g.nextDep;if(F!==void 0){g=F;continue}}while(b--){let F=M.subs,I=F.nextSub!==void 0;if(I)g=x.value,x=x.prev;else g=F;if(y){if(e(M)){if(I)c(F);M=g.sub;continue}y=!1}else M.flags&=-33;M=g.sub;let j=g.nextDep;if(j!==void 0){g=j;continue e}}return y}while(!0)}function c(g){do{let M=g.sub,x=M.flags;if((x&48)===32){if(M.flags=x|16,(x&6)===2)r(M)}}while((g=g.nextSub)!==void 0)}function m(g,M){let x=M.depsTail;while(x!==void 0){if(x===g)return!0;x=x.prevDep}return!1}}function SK(e,r,a){let i=typeof e==="object",f=i?e:void 0;return{next:(i?e.next:e)?.bind(f),error:(i?e.error:r)?.bind(f),complete:(i?e.complete:a)?.bind(f)}}var u3=[],BD=0,{link:wK,unlink:pye,propagate:mye,checkDirty:LK,shallowPropagate:zK}=_K({update(e){return e._update()},notify(e){u3[d3++]=e,e.flags&=~Na.Watching},unwatched(e){if(e.depsTail!==void 0)e.depsTail=void 0,e.flags=Na.Mutable|Na.Dirty,YD(e)}}),FD=0,d3=0,Qd,Z3=0;function zR(e){try{++Z3,e()}finally{if(!--Z3)p3()}}function YD(e){let r=e.depsTail,a=r!==void 0?r.nextDep:e.deps;while(a!==void 0)a=pye(a,e)}function p3(){if(Z3>0)return;while(FD<d3){let e=u3[FD];u3[FD++]=void 0,e.notify()}FD=0,d3=0}function UD(e,r){let a=typeof e==="function",i=e,f={_snapshot:a?void 0:e,subs:void 0,subsTail:void 0,deps:void 0,depsTail:void 0,flags:a?Na.None:Na.Mutable,get(){if(Qd!==void 0)wK(f,Qd,BD);return f._snapshot},subscribe(s){let l=SK(s),c={current:!1},m=hye(()=>{if(f.get(),!c.current)c.current=!0;else l.next?.(f._snapshot)});return{unsubscribe:()=>{m.stop()}}},_update(s){let l=Qd,c=r?.compare??Object.is;if(a)Qd=f,++BD,f.depsTail=void 0;else if(s===void 0)return!1;if(a)f.flags=Na.Mutable|Na.RecursedCheck;try{let m=f._snapshot,g=typeof s==="function"?s(m):s===void 0&&a?i(m):s;if(m===void 0||!c(m,g))return f._snapshot=g,!0;return!1}finally{if(Qd=l,a)f.flags&=~Na.RecursedCheck;YD(f)}}};if(a)f.flags=Na.Mutable|Na.Dirty,f.get=function(){let s=f.flags;if(s&Na.Dirty||s&Na.Pending&&LK(f.deps,f)){if(f._update()){let l=f.subs;if(l!==void 0)zK(l)}}else if(s&Na.Pending)f.flags=s&~Na.Pending;if(Qd!==void 0)wK(f,Qd,BD);return f._snapshot};else f.set=function(s){if(f._update(s)){let l=f.subs;if(l!==void 0)mye(l),zK(l),p3()}};return f}function hye(e){let r=()=>{let i=Qd;Qd=a,++BD,a.depsTail=void 0,a.flags=Na.Watching|Na.RecursedCheck;try{return e()}finally{Qd=i,a.flags&=~Na.RecursedCheck,YD(a)}},a={deps:void 0,depsTail:void 0,subs:void 0,subsTail:void 0,flags:Na.Watching|Na.RecursedCheck,notify(){let i=this.flags;if(i&Na.Dirty||i&Na.Pending&&LK(this.deps,this))r();else this.flags=Na.Watching},stop(){this.flags=Na.None,this.depsTail=void 0,YD(this)}};return r(),a}C();C();var kye=kK();function Iye(e,r){return e===r&&(e!==0||1/e===1/r)||e!==e&&r!==r}var Cye=typeof Object.is==="function"?Object.is:Iye,Rye=kye.useSyncExternalStore,Pye=w,Tye=h,Aye=O,Dye=Q8;var Sc=function(e,r,a,i,f){var s=Pye(null);if(s.current===null){var l={hasValue:!1,value:null};s.current=l}else l=s.current;s=Aye(function(){function m(y){if(!g){if(g=!0,M=y,y=i(y),f!==void 0&&l.hasValue){var _=l.value;if(f(_,y))return x=_}return x=y}if(_=x,Cye(M,y))return _;var k=i(y);if(f!==void 0&&f(_,k))return M=y,_;return M=y,x=k}var g=!1,M,x,b=a===void 0?null:a;return[function(){return m(r())},b===null?void 0:function(){return m(b())}]},[r,a,i,f]);var c=Rye(e,s[0],s[1]);return Tye(function(){l.hasValue=!0,l.value=c},[c]),Dye(c),c};function Eye(e,r){return e===r}function hn(e,r,a=Eye){let i=N((l)=>{if(!e)return()=>{};let{unsubscribe:c}=e.subscribe(l);return c},[e]),f=N(()=>e?.get(),[e]);return Sc(i,f,f,r,a)}var Oye={get:()=>{return},subscribe:()=>({unsubscribe:()=>{}})};function Zi(e){let r=Ra(),a=St(e.from?TG:J8),i=e.from??a,f=i?e.from?r.stores.getRouteMatchStore(i):r.stores.matchStores.get(i):void 0;if(qr??r.isServer){let l=f?.get();if((e.shouldThrow??!0)&&!l)ni();if(l===void 0)return;return e.select?e.select(l):l}let s=w(void 0);return hn(f??Oye,(l)=>{if((e.shouldThrow??!0)&&!l)ni();if(l===void 0)return;let c=e.select?e.select(l):l;if(e.structuralSharing??r.options.defaultStructuralSharing){let m=Fs(s.current,c);return s.current=m,m}return c})}function Pl(e){return Zi({from:e.from,shouldThrow:e.shouldThrow,structuralSharing:e.structuralSharing,strict:e.strict,select:(r)=>{let a=e.strict===!1?r.params:r._strictParams;return e.select?e.select(a):a}})}C();var tz=typeof window<"u"?Ge:h;function qD(e){let r=w({value:e,prev:null}),a=r.current.value;if(e!==a)r.current={value:e,prev:a};return r.current.prev}function IK(e,r,a={},i={}){h(()=>{if(!e.current||i.disabled||typeof IntersectionObserver!=="function")return;let f=new IntersectionObserver(([s])=>{r(s)},a);return f.observe(e.current),()=>{f.disconnect()}},[r,a,i.disabled,e])}function CK(e){let r=w(null);return ln(e,()=>r.current,[]),r}C();function Re(e){let r=Ra();return N((a)=>r.navigate({...a,from:a.from??e?.from}),[e?.from,r])}C();function RK({children:e,fallback:r=null}){return h3()?t(yn,{children:e}):t(yn,{children:r})}function h3(){return Vn(jye,()=>!0,()=>!1)}function jye(){return()=>{}}C();function TK(){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!=="function")return;try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(TK)}catch(e){console.error(e)}}C();function PK(e){var r="https://react.dev/errors/"+e;if(1<arguments.length){r+="?args[]="+encodeURIComponent(arguments[1]);for(var a=2;a<arguments.length;a++)r+="&args[]="+encodeURIComponent(arguments[a])}return"Minified React error #"+e+"; visit "+r+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function IM(){}var SR={d:{f:IM,r:function(){throw Error(PK(522))},D:IM,C:IM,L:IM,m:IM,X:IM,S:IM,M:IM},p:0,findDOMNode:null},Nye=Symbol.for("react.portal");function Fye(e,r,a){var i=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Nye,key:i==null?null:""+i,children:e,containerInfo:r,implementation:a}}var g3=Fa;var M3=SR,ja=function(e,r){var a=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!r||r.nodeType!==1&&r.nodeType!==9&&r.nodeType!==11)throw Error(PK(299));return Fye(e,r,null,a)},Ln=function(e){var r=g3.T,a=SR.p;try{if(g3.T=null,SR.p=2,e)return e()}finally{g3.T=r,SR.p=a,SR.d.f()}};TK();function NK(e,r){let a=Ra(),i=CK(r),f=qr??a.isServer,{activeProps:s,inactiveProps:l,activeOptions:c,to:m,preload:g,preloadDelay:M,preloadIntentProximity:x,hashScrollIntoView:b,replace:y,startTransition:_,resetScroll:k,viewTransition:F,children:I,target:j,disabled:G,style:X,className:J,onClick:ee,onBlur:te,onFocus:oe,onMouseEnter:ae,onMouseLeave:_e,onTouchStart:Ve,ignoreBlocker:Ne,params:ze,search:Ye,hash:ft,state:Ke,mask:Zt,reloadDocument:Et,unsafeRelative:Yt,from:ce,_fromLocation:mt,...Vt}=e;if(f){let He=jK(m);if(typeof m==="string"&&!He&&m.indexOf(":")>-1)try{if(new URL(m),Xd(m,a.protocolAllowlist))return{...Vt,ref:i,href:void 0,...I&&{children:I},...j&&{target:j},...G&&{disabled:G},...X&&{style:X},...J&&{className:J}};return{...Vt,ref:i,href:m,...I&&{children:I},...j&&{target:j},...G&&{disabled:G},...X&&{style:X},...J&&{className:J}}}catch{}let kt=a.buildLocation({...e,from:e.from}),pr=OK(kt.maskedLocation?kt.maskedLocation.publicHref:kt.publicHref,kt.maskedLocation?kt.maskedLocation.external:kt.external,a.history,G),jr=(()=>{if(pr?.external){if(Xd(pr.href,a.protocolAllowlist))return;return pr.href}if(He)return;if(typeof m==="string"&&m.indexOf(":")>-1)try{if(new URL(m),Xd(m,a.protocolAllowlist))return;return m}catch{}})(),ao=(()=>{if(jr)return!1;let je=a.stores.location.get(),ct=c?.exact??!1;if(ct){if(!CD(je.pathname,kt.pathname,a.basepath))return!1}else{let bt=zM(je.pathname,a.basepath),jt=zM(kt.pathname,a.basepath);if(!(bt.startsWith(jt)&&(bt.length===jt.length||bt[jt.length]==="/")))return!1}if(c?.includeSearch??!0){if(je.search!==kt.search){let bt=!je.search||typeof je.search==="object"&&!vM(je.search),jt=!kt.search||typeof kt.search==="object"&&!vM(kt.search);if(!(bt&&jt)){if(!oc(je.search,kt.search,{partial:!ct,ignoreUndefined:!c?.explicitUndefined}))return!1}}}if(c?.includeHash)return!1;return!0})();if(jr)return{...Vt,ref:i,href:jr,...I&&{children:I},...j&&{target:j},...G&&{disabled:G},...X&&{style:X},...J&&{className:J}};let Ho=ao?ss(s,{})??AK:ok,Ca=ao?ok:ss(l,{})??ok,Se=(()=>{let je=X,ct=Ho.style,bt=Ca.style;if(!je&&!ct&&!bt)return;if(je&&!ct&&!bt)return je;if(!je&&ct&&!bt)return ct;if(!je&&!ct&&bt)return bt;return{...je,...ct,...bt}})(),Ce=(()=>{let je=J,ct=Ho.className,bt=Ca.className;if(!je&&!ct&&!bt)return"";let jt="";if(je)jt=je;if(ct)jt=jt?`${jt} ${ct}`:ct;if(bt)jt=jt?`${jt} ${bt}`:bt;return jt})();return{...Vt,...Ho,...Ca,href:pr?.href,ref:i,disabled:!!G,target:j,...Se&&{style:Se},...Ce&&{className:Ce},...G&&DK,...ao&&EK}}let Pe=h3(),ir=O(()=>e,[a,e.from,e._fromLocation,e.hash,e.to,e.search,e.params,e.state,e.mask,e.unsafeRelative]),nr=hn(a.stores.location,(He)=>He,(He,kt)=>He.href===kt.href),$t=O(()=>{let He={_fromLocation:nr,...ir};return a.buildLocation(He)},[a,nr,ir]),Er=$t.maskedLocation?$t.maskedLocation.publicHref:$t.publicHref,Wt=$t.maskedLocation?$t.maskedLocation.external:$t.external,Kt=O(()=>OK(Er,Wt,a.history,G),[G,Wt,Er,a.history]),ur=O(()=>{if(Kt?.external){if(Xd(Kt.href,a.protocolAllowlist))return;return Kt.href}if(jK(m))return;if(typeof m!=="string"||m.indexOf(":")===-1)return;try{if(new URL(m),Xd(m,a.protocolAllowlist))return;return m}catch{}},[m,Kt,a.protocolAllowlist]),Ir=O(()=>{if(ur)return!1;if(c?.exact){if(!CD(nr.pathname,$t.pathname,a.basepath))return!1}else{let He=zM(nr.pathname,a.basepath),kt=zM($t.pathname,a.basepath);if(!(He.startsWith(kt)&&(He.length===kt.length||He[kt.length]==="/")))return!1}if(c?.includeSearch??!0){if(!oc(nr.search,$t.search,{partial:!c?.exact,ignoreUndefined:!c?.explicitUndefined}))return!1}if(c?.includeHash)return Pe&&nr.hash===$t.hash;return!0},[c?.exact,c?.explicitUndefined,c?.includeHash,c?.includeSearch,nr,ur,Pe,$t.hash,$t.pathname,$t.search,a.basepath]),Rr=Ir?ss(s,{})??AK:ok,dr=Ir?ok:ss(l,{})??ok,Zo=[J,Rr.className,dr.className].filter(Boolean).join(" "),tr=(X||Rr.style||dr.style)&&{...X,...Rr.style,...dr.style},[Fr,lo]=u(!1),jo=w(!1),po=e.reloadDocument||ur?!1:g??a.options.defaultPreload,oi=M??a.options.defaultPreloadDelay??0,mn=N(()=>{a.preloadRoute({...ir,_builtLocation:$t}).catch((He)=>{console.warn(He),console.warn(l3)})},[a,ir,$t]);IK(i,N((He)=>{if(He?.isIntersecting)mn()},[mn]),Yye,{disabled:!!G||po!=="viewport"}),h(()=>{if(jo.current)return;if(!G&&po==="render")mn(),jo.current=!0},[G,mn,po]);let qo=(He)=>{let kt=He.currentTarget.getAttribute("target"),pr=j!==void 0?j:kt;if(!G&&!Uye(He)&&!He.defaultPrevented&&(!pr||pr==="_self")&&He.button===0){He.preventDefault(),Ln(()=>{lo(!0)});let jr=a.subscribe("onResolved",()=>{jr(),lo(!1)});a.navigate({...ir,replace:y,resetScroll:k,hashScrollIntoView:b,startTransition:_,viewTransition:F,ignoreBlocker:Ne})}};if(ur)return{...Vt,ref:i,href:ur,...I&&{children:I},...j&&{target:j},...G&&{disabled:G},...X&&{style:X},...J&&{className:J},...ee&&{onClick:ee},...te&&{onBlur:te},...oe&&{onFocus:oe},...ae&&{onMouseEnter:ae},..._e&&{onMouseLeave:_e},...Ve&&{onTouchStart:Ve}};let Dn=(He)=>{if(G||po!=="intent")return;if(!oi){mn();return}let kt=He.currentTarget;if(LR.has(kt))return;let pr=setTimeout(()=>{LR.delete(kt),mn()},oi);LR.set(kt,pr)},an=(He)=>{if(G||po!=="intent")return;mn()},Vi=(He)=>{if(G||!po||!oi)return;let kt=He.currentTarget,pr=LR.get(kt);if(pr)clearTimeout(pr),LR.delete(kt)};return{...Vt,...Rr,...dr,href:Kt?.href,ref:i,onClick:ak([ee,qo]),onBlur:ak([te,Vi]),onFocus:ak([oe,Dn]),onMouseEnter:ak([ae,Dn]),onMouseLeave:ak([_e,Vi]),onTouchStart:ak([Ve,an]),disabled:!!G,target:j,...tr&&{style:tr},...Zo&&{className:Zo},...G&&DK,...Ir&&EK,...Pe&&Fr&&Bye}}var ok={},AK={className:"active"},DK={role:"link","aria-disabled":!0},EK={"data-status":"active","aria-current":"page"},Bye={"data-transitioning":"transitioning"},LR=new WeakMap,Yye={rootMargin:"100px"},ak=(e)=>(r)=>{for(let a of e){if(!a)continue;if(r.defaultPrevented)return;a(r)}};function OK(e,r,a,i){if(i)return;if(r)return{href:e,external:!0};return{href:a.createHref(e)||"/",external:!1}}function jK(e){if(typeof e!=="string")return!1;let r=e.charCodeAt(0);if(r===47)return e.charCodeAt(1)!==47;return r===46}var Zn=D((e,r)=>{let{_asChild:a,...i}=e,{type:f,...s}=NK(i,r),l=typeof i.children==="function"?i.children({isActive:s["data-status"]==="active"}):i.children;if(!a){let{disabled:c,...m}=s;return q("a",m,l)}return q(a,s,l)});function Uye(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function kR(e){return Zi({from:e.from,strict:e.strict,structuralSharing:e.structuralSharing,select:(r)=>e.select?e.select(r.loaderData):r.loaderData})}function IR(e){let{select:r,...a}=e;return Zi({...a,select:(i)=>r?r(i.loaderDeps):i.loaderDeps})}function CR(e){return Zi({from:e.from,strict:e.strict,shouldThrow:e.shouldThrow,structuralSharing:e.structuralSharing,select:(r)=>e.select?e.select(r.search):r.search})}function RR(e){return Zi({...e,select:(r)=>e.select?e.select(r.context):r.context})}C();var FK=class extends ND{constructor(e){super(e);this.useMatch=(r)=>Zi({select:r?.select,from:this.id,structuralSharing:r?.structuralSharing}),this.useRouteContext=(r)=>RR({...r,from:this.id}),this.useSearch=(r)=>CR({select:r?.select,structuralSharing:r?.structuralSharing,from:this.id}),this.useParams=(r)=>Pl({select:r?.select,structuralSharing:r?.structuralSharing,from:this.id}),this.useLoaderDeps=(r)=>IR({...r,from:this.id}),this.useLoaderData=(r)=>kR({...r,from:this.id}),this.useNavigate=()=>Re({from:this.fullPath}),this.Link=D((r,a)=>t(Zn,{ref:a,from:this.fullPath,...r}))}};function v3(e){return new FK(e)}function x3(){return(e)=>YK(e)}var BK=class extends c3{constructor(e){super(e);this.useMatch=(r)=>Zi({select:r?.select,from:this.id,structuralSharing:r?.structuralSharing}),this.useRouteContext=(r)=>RR({...r,from:this.id}),this.useSearch=(r)=>CR({select:r?.select,structuralSharing:r?.structuralSharing,from:this.id}),this.useParams=(r)=>Pl({select:r?.select,structuralSharing:r?.structuralSharing,from:this.id}),this.useLoaderDeps=(r)=>IR({...r,from:this.id}),this.useLoaderData=(r)=>kR({...r,from:this.id}),this.useNavigate=()=>Re({from:this.fullPath}),this.Link=D((r,a)=>t(Zn,{ref:a,from:this.fullPath,...r}))}};function YK(e){return new BK(e)}function Wr(e){return new UK(e,{silent:!0}).createRoute}var UK=class{constructor(e,r){this.path=e,this.createRoute=(a)=>{let i=v3(a);return i.isRoot=!1,i},this.silent=r?.silent}};var y3=class{constructor(e){this.useMatch=(r)=>Zi({select:r?.select,from:this.options.id,structuralSharing:r?.structuralSharing}),this.useRouteContext=(r)=>RR({...r,from:this.options.id}),this.useSearch=(r)=>CR({select:r?.select,structuralSharing:r?.structuralSharing,from:this.options.id}),this.useParams=(r)=>Pl({select:r?.select,structuralSharing:r?.structuralSharing,from:this.options.id}),this.useLoaderDeps=(r)=>IR({...r,from:this.options.id}),this.useLoaderData=(r)=>kR({...r,from:this.options.id}),this.useNavigate=()=>Re({from:Ra().routesById[this.options.id].fullPath}),this.options=e}};function Fe(e){if(typeof e==="object")return new y3(e);return(r)=>new y3({id:e,...r})}C();function rz(e){let r=e.errorComponent??oz;return t(qye,{getResetKey:e.getResetKey,onCatch:e.onCatch,children:({error:a,reset:i})=>{if(a)return q(r,{error:a,reset:i});return e.children}})}var qye=class extends Cs{constructor(...e){super(...e);this.state={error:null}}static getDerivedStateFromProps(e,r){let a=e.getResetKey();if(r.error&&r.resetKey!==a)return{resetKey:a,error:null};return{resetKey:a}}static getDerivedStateFromError(e){return{error:e}}reset(){this.setState({error:null})}componentDidCatch(e,r){if(this.props.onCatch)this.props.onCatch(e,r)}render(){return this.props.children({error:this.state.error,reset:()=>{this.reset()}})}};function oz({error:e}){let[r,a]=u(!1);return o("div",{style:{padding:".5rem",maxWidth:"100%"},children:[o("div",{style:{display:"flex",alignItems:"center",gap:".5rem"},children:[t("strong",{style:{fontSize:"1rem"},children:"Something went wrong!"}),t("button",{style:{appearance:"none",fontSize:".6em",border:"1px solid currentColor",padding:".1rem .2rem",fontWeight:"bold",borderRadius:".25rem"},onClick:()=>a((i)=>!i),children:r?"Hide Error":"Show Error"})]}),t("div",{style:{height:".25rem"}}),r?t("div",{children:t("pre",{style:{fontSize:".7em",border:"1px solid red",borderRadius:".25rem",padding:".3rem",color:"red",overflow:"auto"},children:e.message?t("code",{children:e.message}):null})}):null]})}C();function qK(e){let r=Ra();if(qr??r.isServer){let i=`not-found-${r.stores.location.get().pathname}-${r.stores.status.get()}`;return t(rz,{getResetKey:()=>i,onCatch:(f,s)=>{if(Oa(f))e.onCatch?.(f,s);else throw f},errorComponent:({error:f})=>{if(Oa(f))return e.fallback?.(f);else throw f},children:e.children})}let a=`not-found-${hn(r.stores.location,(i)=>i.pathname)}-${hn(r.stores.status,(i)=>i)}`;return t(rz,{getResetKey:()=>a,onCatch:(i,f)=>{if(Oa(i))e.onCatch?.(i,f);else throw i},errorComponent:({error:i})=>{if(Oa(i))return e.fallback?.(i);else throw i},children:e.children})}function VK(){return t("p",{children:"Not Found"})}C();function CM(e){return t(B,{children:e.children})}C();function VD(e,r,a){if(!r.options.notFoundComponent){if(e.options.defaultNotFoundComponent)return t(e.options.defaultNotFoundComponent,{...a});return t(VK,{})}return t(r.options.notFoundComponent,{...a})}function HK({children:e}){let r=Ra();if(!(qr??r.isServer))return null;return t("script",{nonce:r.options.ssr?.nonce,dangerouslySetInnerHTML:{__html:e+";document.currentScript.remove()"}})}function WK(e){return null}function GK(){let e=WK(Ra());if(!e)return null;return t(HK,{children:e})}C();var HD=rc(function({matchId:r}){let a=Ra();if(qr??a.isServer){let l=a.stores.matchStores.get(r)?.get();if(!l)ni();let c=l.routeId,m=a.routesById[c].parentRoute?.id;return t(KK,{router:a,matchId:r,resetKey:a.stores.loadedAt.get(),matchState:{routeId:c,ssr:l.ssr,_displayPending:l._displayPending,parentRouteId:m}})}let i=a.stores.matchStores.get(r);if(!i)ni();let f=hn(a.stores.loadedAt,(l)=>l),s=hn(i,(l)=>l);return t(KK,{router:a,matchId:r,resetKey:f,matchState:O(()=>{let l=s.routeId,c=a.routesById[l].parentRoute?.id;return{routeId:l,ssr:s.ssr,_displayPending:s._displayPending,parentRouteId:c}},[s._displayPending,s.routeId,s.ssr,a.routesById])})});function KK({router:e,matchId:r,resetKey:a,matchState:i}){let f=e.routesById[i.routeId],s=f.options.pendingComponent??e.options.defaultPendingComponent,l=s?t(s,{}):null,c=f.options.errorComponent??e.options.defaultErrorComponent,m=f.options.onCatch??e.options.defaultOnCatch,g=f.isRoot?f.options.notFoundComponent??e.options.notFoundRoute?.options.component:f.options.notFoundComponent,M=i.ssr===!1||i.ssr==="data-only",x=(!f.isRoot||f.options.wrapInSuspense||M)&&(f.options.wrapInSuspense??s??(f.options.errorComponent?.preload||M))?ra:CM,b=c?rz:CM,y=g?qK:CM;return o(f.isRoot?f.options.shellComponent??CM:CM,{children:[t(J8.Provider,{value:r,children:t(x,{fallback:l,children:t(b,{getResetKey:()=>a,errorComponent:c||oz,onCatch:(_,k)=>{if(Oa(_))throw _.routeId??=i.routeId,_;m?.(_,k)},children:t(y,{fallback:(_)=>{if(_.routeId??=i.routeId,!g||_.routeId&&_.routeId!==i.routeId||!_.routeId&&!f.isRoot)throw _;return q(g,_)},children:M||i._displayPending?t(RK,{fallback:l,children:t(XK,{matchId:r})}):t(XK,{matchId:r})})})})}),i.parentRouteId===Zs?o(B,{children:[t(Vye,{resetKey:a}),e.options.scrollRestoration&&(qr??e.isServer)?t(GK,{}):null]}):null]})}function Vye({resetKey:e}){let r=Ra();if(qr??r.isServer)return null;let a=w(void 0);return tz(()=>{let i=r.latestLocation.href;if(a.current===void 0||a.current!==i)r.emit({type:"onRendered",...kZ(r.stores.location.get(),r.stores.resolvedLocation.get())}),a.current=i},[r.latestLocation.state.__TSR_key,e,r]),null}var XK=rc(function({matchId:r}){let a=Ra(),i=(M,x)=>a.getMatch(M.id)?._nonReactive[x]??M._nonReactive[x];if(qr??a.isServer){let M=a.stores.matchStores.get(r)?.get();if(!M)ni();let x=M.routeId,b=a.routesById[x],y=(a.routesById[x].options.remountDeps??a.options.defaultRemountDeps)?.({routeId:x,loaderDeps:M.loaderDeps,params:M._strictParams,search:M._strictSearch}),_=y?JSON.stringify(y):void 0,k=b.options.component??a.options.defaultComponent,F=k?t(k,{},_):t(RM,{});if(M._displayPending)throw i(M,"displayPendingPromise");if(M._forcePending)throw i(M,"minPendingPromise");if(M.status==="pending")throw i(M,"loadPromise");if(M.status==="notFound"){if(!Oa(M.error))ni();return VD(a,b,M.error)}if(M.status==="redirected"){if(!ii(M.error))ni();throw i(M,"loadPromise")}if(M.status==="error")return t((b.options.errorComponent??a.options.defaultErrorComponent)||oz,{error:M.error,reset:void 0,info:{componentStack:""}});return F}let f=a.stores.matchStores.get(r);if(!f)ni();let s=hn(f,(M)=>M),l=s.routeId,c=a.routesById[l],m=O(()=>{let M=(a.routesById[l].options.remountDeps??a.options.defaultRemountDeps)?.({routeId:l,loaderDeps:s.loaderDeps,params:s._strictParams,search:s._strictSearch});return M?JSON.stringify(M):void 0},[l,s.loaderDeps,s._strictParams,s._strictSearch,a.options.defaultRemountDeps,a.routesById]),g=O(()=>{let M=c.options.component??a.options.defaultComponent;if(M)return t(M,{},m);return t(RM,{})},[m,c.options.component,a.options.defaultComponent]);if(s._displayPending)throw i(s,"displayPendingPromise");if(s._forcePending)throw i(s,"minPendingPromise");if(s.status==="pending"){let M=c.options.pendingMinMs??a.options.defaultPendingMinMs;if(M){let x=a.getMatch(s.id);if(x&&!x._nonReactive.minPendingPromise){if(!(qr??a.isServer)){let b=au();x._nonReactive.minPendingPromise=b,setTimeout(()=>{b.resolve(),x._nonReactive.minPendingPromise=void 0},M)}}}throw i(s,"loadPromise")}if(s.status==="notFound"){if(!Oa(s.error))ni();return VD(a,c,s.error)}if(s.status==="redirected"){if(!ii(s.error))ni();throw i(s,"loadPromise")}if(s.status==="error"){if(qr??a.isServer)return t((c.options.errorComponent??a.options.defaultErrorComponent)||oz,{error:s.error,reset:void 0,info:{componentStack:""}});throw s.error}return g}),RM=rc(function(){let r=Ra(),a=St(J8),i,f=!1,s;if(qr??r.isServer){let g=r.stores.matches.get(),M=a?g.findIndex((b)=>b.id===a):-1,x=M>=0?g[M]:void 0;i=x?.routeId,f=x?.globalNotFound??!1,s=M>=0?g[M+1]?.id:void 0}else{let g=a?r.stores.matchStores.get(a):void 0;[i,f]=hn(g,(M)=>[M?.routeId,M?.globalNotFound??!1]),s=hn(r.stores.matchesId,(M)=>M[M.findIndex((x)=>x===a)+1])}let l=i?r.routesById[i]:void 0,c=r.options.defaultPendingComponent?t(r.options.defaultPendingComponent,{}):null;if(f){if(!l)ni();return VD(r,l,void 0)}if(!s)return null;let m=t(HD,{matchId:s});if(i===Zs)return t(ra,{fallback:c,children:m});return m});var QK=(e)=>{if(qr??e.isServer)return{createMutableStore:t3,createReadonlyStore:r3,batch:(r)=>r()};return{createMutableStore:UD,createReadonlyStore:UD,batch:zR}};var b3=(e)=>new JK(e),JK=class extends s3{constructor(e){super(e,QK)}};C();function $K(){let e=Ra(),r=w({router:e,mounted:!1}),[a,i]=u(!1),f=hn(e.stores.isLoading,(x)=>x),s=hn(e.stores.hasPending,(x)=>x),l=qD(f),c=f||a||s,m=qD(c),g=f||s,M=qD(g);return e.startTransition=(x)=>{i(!0),YL(()=>{x(),i(!1)})},h(()=>{let x=e.history.subscribe(e.load),b=e.buildLocation({to:e.latestLocation.pathname,search:!0,params:!0,hash:!0,state:!0,_includeValidateSearch:!0});if(Bs(e.latestLocation.publicHref)!==Bs(b.publicHref))e.commitLocation({...b,replace:!0});return()=>{x()}},[e,e.history]),tz(()=>{if(typeof window<"u"&&e.ssr||r.current.router===e&&r.current.mounted)return;r.current={router:e,mounted:!0},(async()=>{try{await e.load()}catch(b){console.error(b)}})()},[e]),tz(()=>{if(l&&!f)e.emit({type:"onLoad",...kZ(e.stores.location.get(),e.stores.resolvedLocation.get())})},[l,e,f]),tz(()=>{if(M&&!g)e.emit({type:"onBeforeRouteMount",...kZ(e.stores.location.get(),e.stores.resolvedLocation.get())})},[g,M,e]),tz(()=>{if(m&&!c){let x=kZ(e.stores.location.get(),e.stores.resolvedLocation.get());e.emit({type:"onResolved",...x}),zR(()=>{e.stores.status.set("idle"),e.stores.resolvedLocation.set(e.stores.location.get())})}},[c,m,e]),null}C();function eX(){let e=Ra(),r=e.routesById[Zs].options.pendingComponent??e.options.defaultPendingComponent,a=r?t(r,{}):null,i=o((qr??e.isServer)||typeof document<"u"&&e.ssr?CM:ra,{fallback:a,children:[!(qr??e.isServer)&&t($K,{}),t(Hye,{})]});return e.options.InnerWrap?t(e.options.InnerWrap,{children:i}):i}function Hye(){let e=Ra(),r=qr??e.isServer,a=r?e.stores.firstId.get():hn(e.stores.firstId,(s)=>s),i=r?e.stores.loadedAt.get():hn(e.stores.loadedAt,(s)=>s),f=a?t(HD,{matchId:a}):null;return t(J8.Provider,{value:a,children:e.options.disableGlobalCatchBoundary?f:t(rz,{getResetKey:()=>i,errorComponent:oz,onCatch:void 0,children:f})})}C();function tX({router:e,children:r,...a}){if(vM(a))e.update({...e.options,...a,context:{...e.options.context,...a.context}});let i=t(wD.Provider,{value:e,children:r});if(e.options.Wrap)return t(e.options.Wrap,{children:i});return i}function _3({router:e,...r}){return t(tX,{router:e,...r,children:t(eX,{})})}C();function az(e){let r=Ra({warn:e?.router===void 0}),a=e?.router||r;if(qr??a.isServer){let f=a.stores.__store.get();return e?.select?e.select(f):f}let i=w(void 0);return hn(a.stores.__store,(f)=>{if(e?.select){if(e.structuralSharing??a.options.defaultStructuralSharing){let s=Fs(i.current,e.select(f));return i.current=s,s}return e.select(f)}return f})}C();function hee(){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!=="function")return;try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(hee)}catch(e){console.error(e)}}ju();C();function Ft(e){var r="https://react.dev/errors/"+e;if(1<arguments.length){r+="?args[]="+encodeURIComponent(arguments[1]);for(var a=2;a<arguments.length;a++)r+="&args[]="+encodeURIComponent(arguments[a])}return"Minified React error #"+e+"; visit "+r+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function Gye(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function _P(e){var r=e,a=e;if(e.alternate)for(;r.return;)r=r.return;else{e=r;do r=e,(r.flags&4098)!==0&&(a=r.return),e=r.return;while(e)}return r.tag===3?a:null}function DQ(e){if(e.tag===13){var r=e.memoizedState;if(r===null&&(e=e.alternate,e!==null&&(r=e.memoizedState)),r!==null)return r.dehydrated}return null}function EQ(e){if(e.tag===31){var r=e.memoizedState;if(r===null&&(e=e.alternate,e!==null&&(r=e.memoizedState)),r!==null)return r.dehydrated}return null}function dX(e){if(_P(e)!==e)throw Error(Ft(188))}function Kye(e){var r=e.alternate;if(!r){if(r=_P(e),r===null)throw Error(Ft(188));return r!==e?null:e}for(var a=e,i=r;;){var f=a.return;if(f===null)break;var s=f.alternate;if(s===null){if(i=f.return,i!==null){a=i;continue}break}if(f.child===s.child){for(s=f.child;s;){if(s===a)return dX(f),e;if(s===i)return dX(f),r;s=s.sibling}throw Error(Ft(188))}if(a.return!==i.return)a=f,i=s;else{for(var l=!1,c=f.child;c;){if(c===a){l=!0,a=f,i=s;break}if(c===i){l=!0,i=f,a=s;break}c=c.sibling}if(!l){for(c=s.child;c;){if(c===a){l=!0,a=s,i=f;break}if(c===i){l=!0,i=s,a=f;break}c=c.sibling}if(!l)throw Error(Ft(189))}}if(a.alternate!==i)throw Error(Ft(190))}if(a.tag!==3)throw Error(Ft(188));return a.stateNode.current===a?e:r}function OQ(e){var r=e.tag;if(r===5||r===26||r===27||r===6)return e;for(e=e.child;e!==null;){if(r=OQ(e),r!==null)return r;e=e.sibling}return null}var tn=Object.assign,Xye=Symbol.for("react.element"),eO=Symbol.for("react.transitional.element"),BR=Symbol.for("react.portal"),dk=Symbol.for("react.fragment"),jQ=Symbol.for("react.strict_mode"),uB=Symbol.for("react.profiler"),NQ=Symbol.for("react.consumer"),OZ=Symbol.for("react.context"),s6=Symbol.for("react.forward_ref"),dB=Symbol.for("react.suspense"),ZB=Symbol.for("react.suspense_list"),l6=Symbol.for("react.memo"),TM=Symbol.for("react.lazy"),pB=Symbol.for("react.activity"),Qye=Symbol.for("react.memo_cache_sentinel"),ZX=Symbol.iterator;function DR(e){if(e===null||typeof e!=="object")return null;return e=ZX&&e[ZX]||e["@@iterator"],typeof e==="function"?e:null}var Jye=Symbol.for("react.client.reference");function mB(e){if(e==null)return null;if(typeof e==="function")return e.$$typeof===Jye?null:e.displayName||e.name||null;if(typeof e==="string")return e;switch(e){case dk:return"Fragment";case uB:return"Profiler";case jQ:return"StrictMode";case dB:return"Suspense";case ZB:return"SuspenseList";case pB:return"Activity"}if(typeof e==="object")switch(e.$$typeof){case BR:return"Portal";case OZ:return e.displayName||"Context";case NQ:return(e._context.displayName||"Context")+".Consumer";case s6:var r=e.render;return e=e.displayName,e||(e=r.displayName||r.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case l6:return r=e.displayName||null,r!==null?r:mB(e.type)||"Memo";case TM:r=e._payload,e=e._init;try{return mB(e(r))}catch(a){}}return null}var YR=Array.isArray,Yr=Fa,Bo=M3,dz={pending:!1,data:null,method:null,action:null},hB=[],Zk=-1;function aZ(e){return{current:e}}function Li(e){0>Zk||(e.current=hB[Zk],hB[Zk]=null,Zk--)}function Pa(e,r){Zk++,hB[Zk]=e.current,e.current=r}var oZ=aZ(null),lP=aZ(null),qM=aZ(null),CO=aZ(null);function RO(e,r){switch(Pa(qM,r),Pa(lP,e),Pa(oZ,null),r.nodeType){case 9:case 11:e=(e=r.documentElement)?(e=e.namespaceURI)?MQ(e):0:0;break;default:if(e=r.tagName,r=r.namespaceURI)r=MQ(r),e=aee(r,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}Li(oZ),Pa(oZ,e)}function Rk(){Li(oZ),Li(lP),Li(qM)}function gB(e){e.memoizedState!==null&&Pa(CO,e);var r=oZ.current,a=aee(r,e.type);r!==a&&(Pa(lP,e),Pa(oZ,a))}function PO(e){lP.current===e&&(Li(oZ),Li(lP)),CO.current===e&&(Li(CO),xP._currentValue=dz)}var T3,pX;function fz(e){if(T3===void 0)try{throw Error()}catch(a){var r=a.stack.trim().match(/\n( *(at )?)/);T3=r&&r[1]||"",pX=-1<a.stack.indexOf(`
|
|
3
|
+
at`)?" (<anonymous>)":-1<a.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
4
|
+
`+T3+e+pX}var A3=!1;function D3(e,r){if(!e||A3)return"";A3=!0;var a=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var i={DetermineComponentFrameRoot:function(){try{if(r){var x=function(){throw Error()};if(Object.defineProperty(x.prototype,"props",{set:function(){throw Error()}}),typeof Reflect==="object"&&Reflect.construct){try{Reflect.construct(x,[])}catch(y){var b=y}Reflect.construct(e,[],x)}else{try{x.call()}catch(y){b=y}e.call(x.prototype)}}else{try{throw Error()}catch(y){b=y}(x=e())&&typeof x.catch==="function"&&x.catch(function(){})}}catch(y){if(y&&b&&typeof y.stack==="string")return[y.stack,b.stack]}return[null,null]}};i.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var f=Object.getOwnPropertyDescriptor(i.DetermineComponentFrameRoot,"name");f&&f.configurable&&Object.defineProperty(i.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var s=i.DetermineComponentFrameRoot(),l=s[0],c=s[1];if(l&&c){var m=l.split(`
|
|
5
|
+
`),g=c.split(`
|
|
6
|
+
`);for(f=i=0;i<m.length&&!m[i].includes("DetermineComponentFrameRoot");)i++;for(;f<g.length&&!g[f].includes("DetermineComponentFrameRoot");)f++;if(i===m.length||f===g.length)for(i=m.length-1,f=g.length-1;1<=i&&0<=f&&m[i]!==g[f];)f--;for(;1<=i&&0<=f;i--,f--)if(m[i]!==g[f]){if(i!==1||f!==1)do if(i--,f--,0>f||m[i]!==g[f]){var M=`
|
|
7
|
+
`+m[i].replace(" at new "," at ");return e.displayName&&M.includes("<anonymous>")&&(M=M.replace("<anonymous>",e.displayName)),M}while(1<=i&&0<=f);break}}}finally{A3=!1,Error.prepareStackTrace=a}return(a=e?e.displayName||e.name:"")?fz(a):""}function $ye(e,r){switch(e.tag){case 26:case 27:case 5:return fz(e.type);case 16:return fz("Lazy");case 13:return e.child!==r&&r!==null?fz("Suspense Fallback"):fz("Suspense");case 19:return fz("SuspenseList");case 0:case 15:return D3(e.type,!1);case 11:return D3(e.type.render,!1);case 1:return D3(e.type,!0);case 31:return fz("Activity");default:return""}}function mX(e){try{var r="",a=null;do r+=$ye(e,a),a=e,e=e.return;while(e);return r}catch(i){return`
|
|
8
|
+
Error generating stack: `+i.message+`
|
|
9
|
+
`+i.stack}}var MB=Object.prototype.hasOwnProperty,c6=Ts,E3=al,ebe=ll,tbe=il,Fl=Kn,rbe=$D,FQ=ol,BQ=sl,TO=Is,obe=JD,YQ=qa,abe=void 0,nbe=void 0,wP=null,Bl=null;function NM(e){if(typeof abe==="function"&&nbe(e),Bl&&typeof Bl.setStrictMode==="function")try{Bl.setStrictMode(wP,e)}catch(r){}}var Yl=Math.clz32?Math.clz32:sbe,{log:ibe,LN2:fbe}=Math;function sbe(e){return e>>>=0,e===0?32:31-(ibe(e)/fbe|0)|0}var tO=256,rO=262144,oO=4194304;function sz(e){var r=e&42;if(r!==0)return r;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function nj(e,r,a){var i=e.pendingLanes;if(i===0)return 0;var f=0,s=e.suspendedLanes,l=e.pingedLanes;e=e.warmLanes;var c=i&134217727;return c!==0?(i=c&~s,i!==0?f=sz(i):(l&=c,l!==0?f=sz(l):a||(a=c&~e,a!==0&&(f=sz(a))))):(c=i&~s,c!==0?f=sz(c):l!==0?f=sz(l):a||(a=i&~e,a!==0&&(f=sz(a)))),f===0?0:r!==0&&r!==f&&(r&s)===0&&(s=f&-f,a=r&-r,s>=a||s===32&&(a&4194048)!==0)?r:f}function zP(e,r){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&r)===0}function lbe(e,r){switch(e){case 1:case 2:case 4:case 8:case 64:return r+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return r+5000;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function UQ(){var e=oO;return oO<<=1,(oO&62914560)===0&&(oO=4194304),e}function O3(e){for(var r=[],a=0;31>a;a++)r.push(e);return r}function ij(e,r){e.pendingLanes|=r,r!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function cbe(e,r,a,i,f,s){var l=e.pendingLanes;e.pendingLanes=a,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=a,e.entangledLanes&=a,e.errorRecoveryDisabledLanes&=a,e.shellSuspendCounter=0;var{entanglements:c,expirationTimes:m,hiddenUpdates:g}=e;for(a=l&~a;0<a;){var M=31-Yl(a),x=1<<M;c[M]=0,m[M]=-1;var b=g[M];if(b!==null)for(g[M]=null,M=0;M<b.length;M++){var y=b[M];y!==null&&(y.lane&=-536870913)}a&=~x}i!==0&&qQ(e,i,0),s!==0&&f===0&&e.tag!==0&&(e.suspendedLanes|=s&~(l&~r))}function qQ(e,r,a){e.pendingLanes|=r,e.suspendedLanes&=~r;var i=31-Yl(r);e.entangledLanes|=r,e.entanglements[i]=e.entanglements[i]|1073741824|a&261930}function VQ(e,r){var a=e.entangledLanes|=r;for(e=e.entanglements;a;){var i=31-Yl(a),f=1<<i;f&r|e[i]&r&&(e[i]|=r),a&=~f}}function HQ(e,r){var a=r&-r;return a=(a&42)!==0?1:WQ(a),(a&(e.suspendedLanes|r))!==0?0:a}function WQ(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function u6(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function GQ(){var e=Bo.p;if(e!==0)return e;return e=window.event,e===void 0?32:Zee(e.type)}function hX(e,r){var a=Bo.p;try{return Bo.p=e,r()}finally{Bo.p=a}}var t8=Math.random().toString(36).slice(2),Wi="__reactFiber$"+t8,Ws="__reactProps$"+t8,SP="__reactContainer$"+t8,vB="__reactEvents$"+t8,ube="__reactListeners$"+t8,dbe="__reactHandles$"+t8,gX="__reactResources$"+t8,LP="__reactMarker$"+t8;function d6(e){delete e[Wi],delete e[Ws],delete e[vB],delete e[ube],delete e[dbe]}function pk(e){var r=e[Wi];if(r)return r;for(var a=e.parentNode;a;){if(r=a[SP]||a[Wi]){if(a=r.alternate,r.child!==null||a!==null&&a.child!==null)for(e=_Q(e);e!==null;){if(a=e[Wi])return a;e=_Q(e)}return r}e=a,a=e.parentNode}return null}function Yk(e){if(e=e[Wi]||e[SP]){var r=e.tag;if(r===5||r===6||r===13||r===31||r===26||r===27||r===3)return e}return null}function UR(e){var r=e.tag;if(r===5||r===26||r===27||r===6)return e.stateNode;throw Error(Ft(33))}function wk(e){var r=e[gX];return r||(r=e[gX]={hoistableStyles:new Map,hoistableScripts:new Map}),r}function zi(e){e[LP]=!0}var KQ=new Set,XQ={};function wz(e,r){Pk(e,r),Pk(e+"Capture",r)}function Pk(e,r){XQ[e]=r;for(e=0;e<r.length;e++)KQ.add(r[e])}var Zbe=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),MX={},vX={};function pbe(e){if(MB.call(vX,e))return!0;if(MB.call(MX,e))return!1;if(Zbe.test(e))return vX[e]=!0;return MX[e]=!0,!1}function pO(e,r,a){if(pbe(r))if(a===null)e.removeAttribute(r);else{switch(typeof a){case"undefined":case"function":case"symbol":e.removeAttribute(r);return;case"boolean":var i=r.toLowerCase().slice(0,5);if(i!=="data-"&&i!=="aria-"){e.removeAttribute(r);return}}e.setAttribute(r,""+a)}}function aO(e,r,a){if(a===null)e.removeAttribute(r);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(r);return}e.setAttribute(r,""+a)}}function CZ(e,r,a,i){if(i===null)e.removeAttribute(a);else{switch(typeof i){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(a);return}e.setAttributeNS(r,a,""+i)}}function ic(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function QQ(e){var r=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(r==="checkbox"||r==="radio")}function mbe(e,r,a){var i=Object.getOwnPropertyDescriptor(e.constructor.prototype,r);if(!e.hasOwnProperty(r)&&typeof i<"u"&&typeof i.get==="function"&&typeof i.set==="function"){var{get:f,set:s}=i;return Object.defineProperty(e,r,{configurable:!0,get:function(){return f.call(this)},set:function(l){a=""+l,s.call(this,l)}}),Object.defineProperty(e,r,{enumerable:i.enumerable}),{getValue:function(){return a},setValue:function(l){a=""+l},stopTracking:function(){e._valueTracker=null,delete e[r]}}}}function xB(e){if(!e._valueTracker){var r=QQ(e)?"checked":"value";e._valueTracker=mbe(e,r,""+e[r])}}function JQ(e){if(!e)return!1;var r=e._valueTracker;if(!r)return!0;var a=r.getValue(),i="";return e&&(i=QQ(e)?e.checked?"true":"false":e.value),e=i,e!==a?(r.setValue(e),!0):!1}function AO(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch(r){return e.body}}var hbe=/[\n"\\]/g;function lc(e){return e.replace(hbe,function(r){return"\\"+r.charCodeAt(0).toString(16)+" "})}function yB(e,r,a,i,f,s,l,c){if(e.name="",l!=null&&typeof l!=="function"&&typeof l!=="symbol"&&typeof l!=="boolean"?e.type=l:e.removeAttribute("type"),r!=null)if(l==="number"){if(r===0&&e.value===""||e.value!=r)e.value=""+ic(r)}else e.value!==""+ic(r)&&(e.value=""+ic(r));else l!=="submit"&&l!=="reset"||e.removeAttribute("value");r!=null?bB(e,l,ic(r)):a!=null?bB(e,l,ic(a)):i!=null&&e.removeAttribute("value"),f==null&&s!=null&&(e.defaultChecked=!!s),f!=null&&(e.checked=f&&typeof f!=="function"&&typeof f!=="symbol"),c!=null&&typeof c!=="function"&&typeof c!=="symbol"&&typeof c!=="boolean"?e.name=""+ic(c):e.removeAttribute("name")}function $Q(e,r,a,i,f,s,l,c){if(s!=null&&typeof s!=="function"&&typeof s!=="symbol"&&typeof s!=="boolean"&&(e.type=s),r!=null||a!=null){if(!(s!=="submit"&&s!=="reset"||r!==void 0&&r!==null)){xB(e);return}a=a!=null?""+ic(a):"",r=r!=null?""+ic(r):a,c||r===e.value||(e.value=r),e.defaultValue=r}i=i!=null?i:f,i=typeof i!=="function"&&typeof i!=="symbol"&&!!i,e.checked=c?e.checked:!!i,e.defaultChecked=!!i,l!=null&&typeof l!=="function"&&typeof l!=="symbol"&&typeof l!=="boolean"&&(e.name=l),xB(e)}function bB(e,r,a){r==="number"&&AO(e.ownerDocument)===e||e.defaultValue===""+a||(e.defaultValue=""+a)}function zk(e,r,a,i){if(e=e.options,r){r={};for(var f=0;f<a.length;f++)r["$"+a[f]]=!0;for(a=0;a<e.length;a++)f=r.hasOwnProperty("$"+e[a].value),e[a].selected!==f&&(e[a].selected=f),f&&i&&(e[a].defaultSelected=!0)}else{a=""+ic(a),r=null;for(f=0;f<e.length;f++){if(e[f].value===a){e[f].selected=!0,i&&(e[f].defaultSelected=!0);return}r!==null||e[f].disabled||(r=e[f])}r!==null&&(r.selected=!0)}}function eJ(e,r,a){if(r!=null&&(r=""+ic(r),r!==e.value&&(e.value=r),a==null)){e.defaultValue!==r&&(e.defaultValue=r);return}e.defaultValue=a!=null?""+ic(a):""}function tJ(e,r,a,i){if(r==null){if(i!=null){if(a!=null)throw Error(Ft(92));if(YR(i)){if(1<i.length)throw Error(Ft(93));i=i[0]}a=i}a==null&&(a=""),r=a}a=ic(r),e.defaultValue=a,i=e.textContent,i===a&&i!==""&&i!==null&&(e.value=i),xB(e)}function Tk(e,r){if(r){var a=e.firstChild;if(a&&a===e.lastChild&&a.nodeType===3){a.nodeValue=r;return}}e.textContent=r}var gbe=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function xX(e,r,a){var i=r.indexOf("--")===0;a==null||typeof a==="boolean"||a===""?i?e.setProperty(r,""):r==="float"?e.cssFloat="":e[r]="":i?e.setProperty(r,a):typeof a!=="number"||a===0||gbe.has(r)?r==="float"?e.cssFloat=a:e[r]=(""+a).trim():e[r]=a+"px"}function rJ(e,r,a){if(r!=null&&typeof r!=="object")throw Error(Ft(62));if(e=e.style,a!=null){for(var i in a)!a.hasOwnProperty(i)||r!=null&&r.hasOwnProperty(i)||(i.indexOf("--")===0?e.setProperty(i,""):i==="float"?e.cssFloat="":e[i]="");for(var f in r)i=r[f],r.hasOwnProperty(f)&&a[f]!==i&&xX(e,f,i)}else for(var s in r)r.hasOwnProperty(s)&&xX(e,s,r[s])}function Z6(e){if(e.indexOf("-")===-1)return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Mbe=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),vbe=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function mO(e){return vbe.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function jZ(){}var _B=null;function p6(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var mk=null,Sk=null;function yX(e){var r=Yk(e);if(r&&(e=r.stateNode)){var a=e[Ws]||null;e:switch(e=r.stateNode,r.type){case"input":if(yB(e,a.value,a.defaultValue,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name),r=a.name,a.type==="radio"&&r!=null){for(a=e;a.parentNode;)a=a.parentNode;a=a.querySelectorAll('input[name="'+lc(""+r)+'"][type="radio"]');for(r=0;r<a.length;r++){var i=a[r];if(i!==e&&i.form===e.form){var f=i[Ws]||null;if(!f)throw Error(Ft(90));yB(i,f.value,f.defaultValue,f.defaultValue,f.checked,f.defaultChecked,f.type,f.name)}}for(r=0;r<a.length;r++)i=a[r],i.form===e.form&&JQ(i)}break e;case"textarea":eJ(e,a.value,a.defaultValue);break e;case"select":r=a.value,r!=null&&zk(e,!!a.multiple,r,!1)}}}var j3=!1;function oJ(e,r,a){if(j3)return e(r,a);j3=!0;try{var i=e(r);return i}finally{if(j3=!1,mk!==null||Sk!==null){if(Mj(),mk&&(r=mk,e=Sk,Sk=mk=null,yX(r),e))for(r=0;r<e.length;r++)yX(e[r])}}}function cP(e,r){var a=e.stateNode;if(a===null)return null;var i=a[Ws]||null;if(i===null)return null;a=i[r];e:switch(r){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(i=!i.disabled)||(e=e.type,i=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!i;break e;default:e=!1}if(e)return null;if(a&&typeof a!=="function")throw Error(Ft(231,r,typeof a));return a}var UZ=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),wB=!1;if(UZ)try{lz={},Object.defineProperty(lz,"passive",{get:function(){wB=!0}}),window.addEventListener("test",lz,lz),window.removeEventListener("test",lz,lz)}catch(e){wB=!1}var lz,FM=null,m6=null,hO=null;function aJ(){if(hO)return hO;var e,r=m6,a=r.length,i,f="value"in FM?FM.value:FM.textContent,s=f.length;for(e=0;e<a&&r[e]===f[e];e++);var l=a-e;for(i=1;i<=l&&r[a-i]===f[s-i];i++);return hO=f.slice(e,1<i?1-i:void 0)}function gO(e){var r=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&r===13&&(e=13)):e=r,e===10&&(e=13),32<=e||e===13?e:0}function nO(){return!0}function bX(){return!1}function Gs(e){function r(a,i,f,s,l){this._reactName=a,this._targetInst=f,this.type=i,this.nativeEvent=s,this.target=l,this.currentTarget=null;for(var c in e)e.hasOwnProperty(c)&&(a=e[c],this[c]=a?a(s):s[c]);return this.isDefaultPrevented=(s.defaultPrevented!=null?s.defaultPrevented:s.returnValue===!1)?nO:bX,this.isPropagationStopped=bX,this}return tn(r.prototype,{preventDefault:function(){this.defaultPrevented=!0;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():typeof a.returnValue!=="unknown"&&(a.returnValue=!1),this.isDefaultPrevented=nO)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():typeof a.cancelBubble!=="unknown"&&(a.cancelBubble=!0),this.isPropagationStopped=nO)},persist:function(){},isPersistent:nO}),r}var zz={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},fj=Gs(zz),kP=tn({},zz,{view:0,detail:0}),xbe=Gs(kP),N3,F3,ER,sj=tn({},kP,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:h6,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){if("movementX"in e)return e.movementX;return e!==ER&&(ER&&e.type==="mousemove"?(N3=e.screenX-ER.screenX,F3=e.screenY-ER.screenY):F3=N3=0,ER=e),N3},movementY:function(e){return"movementY"in e?e.movementY:F3}}),_X=Gs(sj),ybe=tn({},sj,{dataTransfer:0}),bbe=Gs(ybe),_be=tn({},kP,{relatedTarget:0}),B3=Gs(_be),wbe=tn({},zz,{animationName:0,elapsedTime:0,pseudoElement:0}),zbe=Gs(wbe),Sbe=tn({},zz,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Lbe=Gs(Sbe),kbe=tn({},zz,{data:0}),wX=Gs(kbe),Ibe={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Cbe={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Rbe={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Pbe(e){var r=this.nativeEvent;return r.getModifierState?r.getModifierState(e):(e=Rbe[e])?!!r[e]:!1}function h6(){return Pbe}var Tbe=tn({},kP,{key:function(e){if(e.key){var r=Ibe[e.key]||e.key;if(r!=="Unidentified")return r}return e.type==="keypress"?(e=gO(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Cbe[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:h6,charCode:function(e){return e.type==="keypress"?gO(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?gO(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Abe=Gs(Tbe),Dbe=tn({},sj,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),zX=Gs(Dbe),Ebe=tn({},kP,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:h6}),Obe=Gs(Ebe),jbe=tn({},zz,{propertyName:0,elapsedTime:0,pseudoElement:0}),Nbe=Gs(jbe),Fbe=tn({},sj,{deltaX:function(e){return"deltaX"in e?e.deltaX:("wheelDeltaX"in e)?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:("wheelDeltaY"in e)?-e.wheelDeltaY:("wheelDelta"in e)?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Bbe=Gs(Fbe),Ybe=tn({},zz,{newState:0,oldState:0}),Ube=Gs(Ybe),qbe=[9,13,27,32],g6=UZ&&"CompositionEvent"in window,XR=null;UZ&&"documentMode"in document&&(XR=document.documentMode);var Vbe=UZ&&"TextEvent"in window&&!XR,nJ=UZ&&(!g6||XR&&8<XR&&11>=XR),SX=String.fromCharCode(32),LX=!1;function iJ(e,r){switch(e){case"keyup":return qbe.indexOf(r.keyCode)!==-1;case"keydown":return r.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function fJ(e){return e=e.detail,typeof e==="object"&&"data"in e?e.data:null}var hk=!1;function Hbe(e,r){switch(e){case"compositionend":return fJ(r);case"keypress":if(r.which!==32)return null;return LX=!0,SX;case"textInput":return e=r.data,e===SX&&LX?null:e;default:return null}}function Wbe(e,r){if(hk)return e==="compositionend"||!g6&&iJ(e,r)?(e=aJ(),hO=m6=FM=null,hk=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(r.ctrlKey||r.altKey||r.metaKey)||r.ctrlKey&&r.altKey){if(r.char&&1<r.char.length)return r.char;if(r.which)return String.fromCharCode(r.which)}return null;case"compositionend":return nJ&&r.locale!=="ko"?null:r.data;default:return null}}var Gbe={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function kX(e){var r=e&&e.nodeName&&e.nodeName.toLowerCase();return r==="input"?!!Gbe[e.type]:r==="textarea"?!0:!1}function sJ(e,r,a,i){mk?Sk?Sk.push(i):Sk=[i]:mk=i,r=JO(r,"onChange"),0<r.length&&(a=new fj("onChange","change",null,a,i),e.push({event:a,listeners:r}))}var QR=null,uP=null;function Kbe(e){eee(e,0)}function lj(e){var r=UR(e);if(JQ(r))return e}function IX(e,r){if(e==="change")return r}var lJ=!1;if(UZ){if(UZ){if(VR="oninput"in document,!VR)MO=document.createElement("div"),MO.setAttribute("oninput","return;"),VR=typeof MO.oninput==="function";qR=VR}else qR=!1;lJ=qR&&(!document.documentMode||9<document.documentMode)}var qR,VR,MO;function CX(){QR&&(QR.detachEvent("onpropertychange",cJ),uP=QR=null)}function cJ(e){if(e.propertyName==="value"&&lj(uP)){var r=[];sJ(r,uP,e,p6(e)),oJ(Kbe,r)}}function Xbe(e,r,a){e==="focusin"?(CX(),QR=r,uP=a,QR.attachEvent("onpropertychange",cJ)):e==="focusout"&&CX()}function Qbe(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return lj(uP)}function Jbe(e,r){if(e==="click")return lj(r)}function $be(e,r){if(e==="input"||e==="change")return lj(r)}function e_e(e,r){return e===r&&(e!==0||1/e===1/r)||e!==e&&r!==r}var Ul=typeof Object.is==="function"?Object.is:e_e;function dP(e,r){if(Ul(e,r))return!0;if(typeof e!=="object"||e===null||typeof r!=="object"||r===null)return!1;var a=Object.keys(e),i=Object.keys(r);if(a.length!==i.length)return!1;for(i=0;i<a.length;i++){var f=a[i];if(!MB.call(r,f)||!Ul(e[f],r[f]))return!1}return!0}function RX(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function PX(e,r){var a=RX(e);e=0;for(var i;a;){if(a.nodeType===3){if(i=e+a.textContent.length,e<=r&&i>=r)return{node:a,offset:r-e};e=i}e:{for(;a;){if(a.nextSibling){a=a.nextSibling;break e}a=a.parentNode}a=void 0}a=RX(a)}}function uJ(e,r){return e&&r?e===r?!0:e&&e.nodeType===3?!1:r&&r.nodeType===3?uJ(e,r.parentNode):("contains"in e)?e.contains(r):e.compareDocumentPosition?!!(e.compareDocumentPosition(r)&16):!1:!1}function dJ(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var r=AO(e.document);r instanceof e.HTMLIFrameElement;){try{var a=typeof r.contentWindow.location.href==="string"}catch(i){a=!1}if(a)e=r.contentWindow;else break;r=AO(e.document)}return r}function M6(e){var r=e&&e.nodeName&&e.nodeName.toLowerCase();return r&&(r==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||r==="textarea"||e.contentEditable==="true")}var t_e=UZ&&"documentMode"in document&&11>=document.documentMode,gk=null,zB=null,JR=null,SB=!1;function TX(e,r,a){var i=a.window===a?a.document:a.nodeType===9?a:a.ownerDocument;SB||gk==null||gk!==AO(i)||(i=gk,("selectionStart"in i)&&M6(i)?i={start:i.selectionStart,end:i.selectionEnd}:(i=(i.ownerDocument&&i.ownerDocument.defaultView||window).getSelection(),i={anchorNode:i.anchorNode,anchorOffset:i.anchorOffset,focusNode:i.focusNode,focusOffset:i.focusOffset}),JR&&dP(JR,i)||(JR=i,i=JO(zB,"onSelect"),0<i.length&&(r=new fj("onSelect","select",null,r,a),e.push({event:r,listeners:i}),r.target=gk)))}function iz(e,r){var a={};return a[e.toLowerCase()]=r.toLowerCase(),a["Webkit"+e]="webkit"+r,a["Moz"+e]="moz"+r,a}var Mk={animationend:iz("Animation","AnimationEnd"),animationiteration:iz("Animation","AnimationIteration"),animationstart:iz("Animation","AnimationStart"),transitionrun:iz("Transition","TransitionRun"),transitionstart:iz("Transition","TransitionStart"),transitioncancel:iz("Transition","TransitionCancel"),transitionend:iz("Transition","TransitionEnd")},Y3={},ZJ={};UZ&&(ZJ=document.createElement("div").style,("AnimationEvent"in window)||(delete Mk.animationend.animation,delete Mk.animationiteration.animation,delete Mk.animationstart.animation),("TransitionEvent"in window)||delete Mk.transitionend.transition);function Sz(e){if(Y3[e])return Y3[e];if(!Mk[e])return e;var r=Mk[e],a;for(a in r)if(r.hasOwnProperty(a)&&a in ZJ)return Y3[e]=r[a];return e}var pJ=Sz("animationend"),mJ=Sz("animationiteration"),hJ=Sz("animationstart"),r_e=Sz("transitionrun"),o_e=Sz("transitionstart"),a_e=Sz("transitioncancel"),gJ=Sz("transitionend"),MJ=new Map,LB="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");LB.push("scrollEnd");function fu(e,r){MJ.set(e,r),wz(r,[e])}var DO=typeof reportError==="function"?reportError:function(e){if(typeof window==="object"&&typeof window.ErrorEvent==="function"){var r=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e==="object"&&e!==null&&typeof e.message==="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(r))return}else if(typeof process==="object"&&typeof process.emit==="function"){process.emit("uncaughtException",e);return}console.error(e)},nc=[],vk=0,v6=0;function cj(){for(var e=vk,r=v6=vk=0;r<e;){var a=nc[r];nc[r++]=null;var i=nc[r];nc[r++]=null;var f=nc[r];nc[r++]=null;var s=nc[r];if(nc[r++]=null,i!==null&&f!==null){var l=i.pending;l===null?f.next=f:(f.next=l.next,l.next=f),i.pending=f}s!==0&&vJ(a,f,s)}}function uj(e,r,a,i){nc[vk++]=e,nc[vk++]=r,nc[vk++]=a,nc[vk++]=i,v6|=i,e.lanes|=i,e=e.alternate,e!==null&&(e.lanes|=i)}function x6(e,r,a,i){return uj(e,r,a,i),EO(e)}function Lz(e,r){return uj(e,null,null,r),EO(e)}function vJ(e,r,a){e.lanes|=a;var i=e.alternate;i!==null&&(i.lanes|=a);for(var f=!1,s=e.return;s!==null;)s.childLanes|=a,i=s.alternate,i!==null&&(i.childLanes|=a),s.tag===22&&(e=s.stateNode,e===null||e._visibility&1||(f=!0)),e=s,s=s.return;return e.tag===3?(s=e.stateNode,f&&r!==null&&(f=31-Yl(a),e=s.hiddenUpdates,i=e[f],i===null?e[f]=[r]:i.push(r),r.lane=a|536870912),s):null}function EO(e){if(50<fP)throw fP=0,GB=null,Error(Ft(185));for(var r=e.return;r!==null;)e=r,r=e.return;return e.tag===3?e.stateNode:null}var xk={};function n_e(e,r,a,i){this.tag=e,this.key=a,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=r,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=i,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function jl(e,r,a,i){return new n_e(e,r,a,i)}function y6(e){return e=e.prototype,!(!e||!e.isReactComponent)}function FZ(e,r){var a=e.alternate;return a===null?(a=jl(e.tag,r,e.key,e.mode),a.elementType=e.elementType,a.type=e.type,a.stateNode=e.stateNode,a.alternate=e,e.alternate=a):(a.pendingProps=r,a.type=e.type,a.flags=0,a.subtreeFlags=0,a.deletions=null),a.flags=e.flags&65011712,a.childLanes=e.childLanes,a.lanes=e.lanes,a.child=e.child,a.memoizedProps=e.memoizedProps,a.memoizedState=e.memoizedState,a.updateQueue=e.updateQueue,r=e.dependencies,a.dependencies=r===null?null:{lanes:r.lanes,firstContext:r.firstContext},a.sibling=e.sibling,a.index=e.index,a.ref=e.ref,a.refCleanup=e.refCleanup,a}function xJ(e,r){e.flags&=65011714;var a=e.alternate;return a===null?(e.childLanes=0,e.lanes=r,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=a.childLanes,e.lanes=a.lanes,e.child=a.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=a.memoizedProps,e.memoizedState=a.memoizedState,e.updateQueue=a.updateQueue,e.type=a.type,r=a.dependencies,e.dependencies=r===null?null:{lanes:r.lanes,firstContext:r.firstContext}),e}function vO(e,r,a,i,f,s){var l=0;if(i=e,typeof e==="function")y6(e)&&(l=1);else if(typeof e==="string")l=uwe(e,a,oZ.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case pB:return e=jl(31,a,r,f),e.elementType=pB,e.lanes=s,e;case dk:return Zz(a.children,f,s,r);case jQ:l=8,f|=24;break;case uB:return e=jl(12,a,r,f|2),e.elementType=uB,e.lanes=s,e;case dB:return e=jl(13,a,r,f),e.elementType=dB,e.lanes=s,e;case ZB:return e=jl(19,a,r,f),e.elementType=ZB,e.lanes=s,e;default:if(typeof e==="object"&&e!==null)switch(e.$$typeof){case OZ:l=10;break e;case NQ:l=9;break e;case s6:l=11;break e;case l6:l=14;break e;case TM:l=16,i=null;break e}l=29,a=Error(Ft(130,e===null?"null":typeof e,"")),i=null}return r=jl(l,a,r,f),r.elementType=e,r.type=i,r.lanes=s,r}function Zz(e,r,a,i){return e=jl(7,e,i,r),e.lanes=a,e}function U3(e,r,a){return e=jl(6,e,null,r),e.lanes=a,e}function yJ(e){var r=jl(18,null,null,0);return r.stateNode=e,r}function q3(e,r,a){return r=jl(4,e.children!==null?e.children:[],e.key,r),r.lanes=a,r.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},r}var AX=new WeakMap;function cc(e,r){if(typeof e==="object"&&e!==null){var a=AX.get(e);if(a!==void 0)return a;return r={value:e,source:r,stack:mX(r)},AX.set(e,r),r}return{value:e,source:r,stack:mX(r)}}var yk=[],bk=0,OO=null,ZP=0,fc=[],sc=0,QM=null,eZ=1,tZ="";function DZ(e,r){yk[bk++]=ZP,yk[bk++]=OO,OO=e,ZP=r}function bJ(e,r,a){fc[sc++]=eZ,fc[sc++]=tZ,fc[sc++]=QM,QM=e;var i=eZ;e=tZ;var f=32-Yl(i)-1;i&=~(1<<f),a+=1;var s=32-Yl(r)+f;if(30<s){var l=f-f%5;s=(i&(1<<l)-1).toString(32),i>>=l,f-=l,eZ=1<<32-Yl(r)+f|a<<f|i,tZ=s+e}else eZ=1<<s|a<<f|i,tZ=e}function b6(e){e.return!==null&&(DZ(e,1),bJ(e,1,0))}function _6(e){for(;e===OO;)OO=yk[--bk],yk[bk]=null,ZP=yk[--bk],yk[bk]=null;for(;e===QM;)QM=fc[--sc],fc[sc]=null,tZ=fc[--sc],fc[sc]=null,eZ=fc[--sc],fc[sc]=null}function _J(e,r){fc[sc++]=eZ,fc[sc++]=tZ,fc[sc++]=QM,eZ=r.id,tZ=r.overflow,QM=e}var Gi=null,Ua=null,zo=!1,VM=null,uc=!1,kB=Error(Ft(519));function JM(e){var r=Error(Ft(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw pP(cc(r,e)),kB}function DX(e){var{stateNode:r,type:a,memoizedProps:i}=e;switch(r[Wi]=e,r[Ws]=i,a){case"dialog":mo("cancel",r),mo("close",r);break;case"iframe":case"object":case"embed":mo("load",r);break;case"video":case"audio":for(a=0;a<MP.length;a++)mo(MP[a],r);break;case"source":mo("error",r);break;case"img":case"image":case"link":mo("error",r),mo("load",r);break;case"details":mo("toggle",r);break;case"input":mo("invalid",r),$Q(r,i.value,i.defaultValue,i.checked,i.defaultChecked,i.type,i.name,!0);break;case"select":mo("invalid",r);break;case"textarea":mo("invalid",r),tJ(r,i.value,i.defaultValue,i.children)}a=i.children,typeof a!=="string"&&typeof a!=="number"&&typeof a!=="bigint"||r.textContent===""+a||i.suppressHydrationWarning===!0||oee(r.textContent,a)?(i.popover!=null&&(mo("beforetoggle",r),mo("toggle",r)),i.onScroll!=null&&mo("scroll",r),i.onScrollEnd!=null&&mo("scrollend",r),i.onClick!=null&&(r.onclick=jZ),r=!0):r=!1,r||JM(e,!0)}function EX(e){for(Gi=e.return;Gi;)switch(Gi.tag){case 5:case 31:case 13:uc=!1;return;case 27:case 3:uc=!0;return;default:Gi=Gi.return}}function fk(e){if(e!==Gi)return!1;if(!zo)return EX(e),zo=!0,!1;var r=e.tag,a;if(a=r!==3&&r!==27){if(a=r===5)a=e.type,a=!(a!=="form"&&a!=="button")||t6(e.type,e.memoizedProps);a=!a}if(a&&Ua&&JM(e),EX(e),r===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(Ft(317));Ua=bQ(e)}else if(r===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(Ft(317));Ua=bQ(e)}else r===27?(r=Ua,r8(e.type)?(e=n6,n6=null,Ua=e):Ua=r):Ua=Gi?mc(e.stateNode.nextSibling):null;return!0}function vz(){Ua=Gi=null,zo=!1}function V3(){var e=VM;return e!==null&&(Vs===null?Vs=e:Vs.push.apply(Vs,e),VM=null),e}function pP(e){VM===null?VM=[e]:VM.push(e)}var IB=aZ(null),kz=null,NZ=null;function DM(e,r,a){Pa(IB,r._currentValue),r._currentValue=a}function BZ(e){e._currentValue=IB.current,Li(IB)}function CB(e,r,a){for(;e!==null;){var i=e.alternate;if((e.childLanes&r)!==r?(e.childLanes|=r,i!==null&&(i.childLanes|=r)):i!==null&&(i.childLanes&r)!==r&&(i.childLanes|=r),e===a)break;e=e.return}}function RB(e,r,a,i){var f=e.child;f!==null&&(f.return=e);for(;f!==null;){var s=f.dependencies;if(s!==null){var l=f.child;s=s.firstContext;e:for(;s!==null;){var c=s;s=f;for(var m=0;m<r.length;m++)if(c.context===r[m]){s.lanes|=a,c=s.alternate,c!==null&&(c.lanes|=a),CB(s.return,a,e),i||(l=null);break e}s=c.next}}else if(f.tag===18){if(l=f.return,l===null)throw Error(Ft(341));l.lanes|=a,s=l.alternate,s!==null&&(s.lanes|=a),CB(l,a,e),l=null}else l=f.child;if(l!==null)l.return=f;else for(l=f;l!==null;){if(l===e){l=null;break}if(f=l.sibling,f!==null){f.return=l.return,l=f;break}l=l.return}f=l}}function Uk(e,r,a,i){e=null;for(var f=r,s=!1;f!==null;){if(!s){if((f.flags&524288)!==0)s=!0;else if((f.flags&262144)!==0)break}if(f.tag===10){var l=f.alternate;if(l===null)throw Error(Ft(387));if(l=l.memoizedProps,l!==null){var c=f.type;Ul(f.pendingProps.value,l.value)||(e!==null?e.push(c):e=[c])}}else if(f===CO.current){if(l=f.alternate,l===null)throw Error(Ft(387));l.memoizedState.memoizedState!==f.memoizedState.memoizedState&&(e!==null?e.push(xP):e=[xP])}f=f.return}e!==null&&RB(r,e,a,i),r.flags|=262144}function jO(e){for(e=e.firstContext;e!==null;){if(!Ul(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function xz(e){kz=e,NZ=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function Ki(e){return wJ(kz,e)}function iO(e,r){return kz===null&&xz(e),wJ(e,r)}function wJ(e,r){var a=r._currentValue;if(r={context:r,memoizedValue:a,next:null},NZ===null){if(e===null)throw Error(Ft(308));NZ=r,e.dependencies={lanes:0,firstContext:r},e.flags|=524288}else NZ=NZ.next=r;return a}var i_e=typeof AbortController<"u"?AbortController:function(){var e=[],r=this.signal={aborted:!1,addEventListener:function(a,i){e.push(i)}};this.abort=function(){r.aborted=!0,e.forEach(function(a){return a()})}},f_e=Ts,s_e=Is,li={$$typeof:OZ,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function w6(){return{controller:new i_e,data:new Map,refCount:0}}function IP(e){e.refCount--,e.refCount===0&&f_e(s_e,function(){e.controller.abort()})}var $R=null,PB=0,Ak=0,Lk=null;function l_e(e,r){if($R===null){var a=$R=[];PB=0,Ak=K6(),Lk={status:"pending",value:void 0,then:function(i){a.push(i)}}}return PB++,r.then(OX,OX),r}function OX(){if(--PB===0&&$R!==null){Lk!==null&&(Lk.status="fulfilled");var e=$R;$R=null,Ak=0,Lk=null;for(var r=0;r<e.length;r++)(0,e[r])()}}function c_e(e,r){var a=[],i={status:"pending",value:null,reason:null,then:function(f){a.push(f)}};return e.then(function(){i.status="fulfilled",i.value=r;for(var f=0;f<a.length;f++)(0,a[f])(r)},function(f){i.status="rejected",i.reason=f;for(f=0;f<a.length;f++)(0,a[f])(void 0)}),i}var jX=Yr.S;Yr.S=function(e,r){D$=Fl(),typeof r==="object"&&r!==null&&typeof r.then==="function"&&l_e(e,r),jX!==null&&jX(e,r)};var pz=aZ(null);function z6(){var e=pz.current;return e!==null?e:ka.pooledCache}function xO(e,r){r===null?Pa(pz,pz.current):Pa(pz,r.pool)}function zJ(){var e=z6();return e===null?null:{parent:li._currentValue,pool:e}}var qk=Error(Ft(460)),S6=Error(Ft(474)),dj=Error(Ft(542)),NO={then:function(){}};function NX(e){return e=e.status,e==="fulfilled"||e==="rejected"}function SJ(e,r,a){switch(a=e[a],a===void 0?e.push(r):a!==r&&(r.then(jZ,jZ),r=a),r.status){case"fulfilled":return r.value;case"rejected":throw e=r.reason,BX(e),e;default:if(typeof r.status==="string")r.then(jZ,jZ);else{if(e=ka,e!==null&&100<e.shellSuspendCounter)throw Error(Ft(482));e=r,e.status="pending",e.then(function(i){if(r.status==="pending"){var f=r;f.status="fulfilled",f.value=i}},function(i){if(r.status==="pending"){var f=r;f.status="rejected",f.reason=i}})}switch(r.status){case"fulfilled":return r.value;case"rejected":throw e=r.reason,BX(e),e}throw mz=r,qk}}function cz(e){try{var r=e._init;return r(e._payload)}catch(a){if(a!==null&&typeof a==="object"&&typeof a.then==="function")throw mz=a,qk;throw a}}var mz=null;function FX(){if(mz===null)throw Error(Ft(459));var e=mz;return mz=null,e}function BX(e){if(e===qk||e===dj)throw Error(Ft(483))}var kk=null,mP=0;function fO(e){var r=mP;return mP+=1,kk===null&&(kk=[]),SJ(kk,e,r)}function OR(e,r){r=r.props.ref,e.ref=r!==void 0?r:null}function sO(e,r){if(r.$$typeof===Xye)throw Error(Ft(525));throw e=Object.prototype.toString.call(r),Error(Ft(31,e==="[object Object]"?"object with keys {"+Object.keys(r).join(", ")+"}":e))}function LJ(e){function r(I,j){if(e){var G=I.deletions;G===null?(I.deletions=[j],I.flags|=16):G.push(j)}}function a(I,j){if(!e)return null;for(;j!==null;)r(I,j),j=j.sibling;return null}function i(I){for(var j=new Map;I!==null;)I.key!==null?j.set(I.key,I):j.set(I.index,I),I=I.sibling;return j}function f(I,j){return I=FZ(I,j),I.index=0,I.sibling=null,I}function s(I,j,G){if(I.index=G,!e)return I.flags|=1048576,j;if(G=I.alternate,G!==null)return G=G.index,G<j?(I.flags|=67108866,j):G;return I.flags|=67108866,j}function l(I){return e&&I.alternate===null&&(I.flags|=67108866),I}function c(I,j,G,X){if(j===null||j.tag!==6)return j=U3(G,I.mode,X),j.return=I,j;return j=f(j,G),j.return=I,j}function m(I,j,G,X){var J=G.type;if(J===dk)return M(I,j,G.props.children,X,G.key);if(j!==null&&(j.elementType===J||typeof J==="object"&&J!==null&&J.$$typeof===TM&&cz(J)===j.type))return j=f(j,G.props),OR(j,G),j.return=I,j;return j=vO(G.type,G.key,G.props,null,I.mode,X),OR(j,G),j.return=I,j}function g(I,j,G,X){if(j===null||j.tag!==4||j.stateNode.containerInfo!==G.containerInfo||j.stateNode.implementation!==G.implementation)return j=q3(G,I.mode,X),j.return=I,j;return j=f(j,G.children||[]),j.return=I,j}function M(I,j,G,X,J){if(j===null||j.tag!==7)return j=Zz(G,I.mode,X,J),j.return=I,j;return j=f(j,G),j.return=I,j}function x(I,j,G){if(typeof j==="string"&&j!==""||typeof j==="number"||typeof j==="bigint")return j=U3(""+j,I.mode,G),j.return=I,j;if(typeof j==="object"&&j!==null){switch(j.$$typeof){case eO:return G=vO(j.type,j.key,j.props,null,I.mode,G),OR(G,j),G.return=I,G;case BR:return j=q3(j,I.mode,G),j.return=I,j;case TM:return j=cz(j),x(I,j,G)}if(YR(j)||DR(j))return j=Zz(j,I.mode,G,null),j.return=I,j;if(typeof j.then==="function")return x(I,fO(j),G);if(j.$$typeof===OZ)return x(I,iO(I,j),G);sO(I,j)}return null}function b(I,j,G,X){var J=j!==null?j.key:null;if(typeof G==="string"&&G!==""||typeof G==="number"||typeof G==="bigint")return J!==null?null:c(I,j,""+G,X);if(typeof G==="object"&&G!==null){switch(G.$$typeof){case eO:return G.key===J?m(I,j,G,X):null;case BR:return G.key===J?g(I,j,G,X):null;case TM:return G=cz(G),b(I,j,G,X)}if(YR(G)||DR(G))return J!==null?null:M(I,j,G,X,null);if(typeof G.then==="function")return b(I,j,fO(G),X);if(G.$$typeof===OZ)return b(I,j,iO(I,G),X);sO(I,G)}return null}function y(I,j,G,X,J){if(typeof X==="string"&&X!==""||typeof X==="number"||typeof X==="bigint")return I=I.get(G)||null,c(j,I,""+X,J);if(typeof X==="object"&&X!==null){switch(X.$$typeof){case eO:return I=I.get(X.key===null?G:X.key)||null,m(j,I,X,J);case BR:return I=I.get(X.key===null?G:X.key)||null,g(j,I,X,J);case TM:return X=cz(X),y(I,j,G,X,J)}if(YR(X)||DR(X))return I=I.get(G)||null,M(j,I,X,J,null);if(typeof X.then==="function")return y(I,j,G,fO(X),J);if(X.$$typeof===OZ)return y(I,j,G,iO(j,X),J);sO(j,X)}return null}function _(I,j,G,X){for(var J=null,ee=null,te=j,oe=j=0,ae=null;te!==null&&oe<G.length;oe++){te.index>oe?(ae=te,te=null):ae=te.sibling;var _e=b(I,te,G[oe],X);if(_e===null){te===null&&(te=ae);break}e&&te&&_e.alternate===null&&r(I,te),j=s(_e,j,oe),ee===null?J=_e:ee.sibling=_e,ee=_e,te=ae}if(oe===G.length)return a(I,te),zo&&DZ(I,oe),J;if(te===null){for(;oe<G.length;oe++)te=x(I,G[oe],X),te!==null&&(j=s(te,j,oe),ee===null?J=te:ee.sibling=te,ee=te);return zo&&DZ(I,oe),J}for(te=i(te);oe<G.length;oe++)ae=y(te,I,oe,G[oe],X),ae!==null&&(e&&ae.alternate!==null&&te.delete(ae.key===null?oe:ae.key),j=s(ae,j,oe),ee===null?J=ae:ee.sibling=ae,ee=ae);return e&&te.forEach(function(Ve){return r(I,Ve)}),zo&&DZ(I,oe),J}function k(I,j,G,X){if(G==null)throw Error(Ft(151));for(var J=null,ee=null,te=j,oe=j=0,ae=null,_e=G.next();te!==null&&!_e.done;oe++,_e=G.next()){te.index>oe?(ae=te,te=null):ae=te.sibling;var Ve=b(I,te,_e.value,X);if(Ve===null){te===null&&(te=ae);break}e&&te&&Ve.alternate===null&&r(I,te),j=s(Ve,j,oe),ee===null?J=Ve:ee.sibling=Ve,ee=Ve,te=ae}if(_e.done)return a(I,te),zo&&DZ(I,oe),J;if(te===null){for(;!_e.done;oe++,_e=G.next())_e=x(I,_e.value,X),_e!==null&&(j=s(_e,j,oe),ee===null?J=_e:ee.sibling=_e,ee=_e);return zo&&DZ(I,oe),J}for(te=i(te);!_e.done;oe++,_e=G.next())_e=y(te,I,oe,_e.value,X),_e!==null&&(e&&_e.alternate!==null&&te.delete(_e.key===null?oe:_e.key),j=s(_e,j,oe),ee===null?J=_e:ee.sibling=_e,ee=_e);return e&&te.forEach(function(Ne){return r(I,Ne)}),zo&&DZ(I,oe),J}function F(I,j,G,X){if(typeof G==="object"&&G!==null&&G.type===dk&&G.key===null&&(G=G.props.children),typeof G==="object"&&G!==null){switch(G.$$typeof){case eO:e:{for(var J=G.key;j!==null;){if(j.key===J){if(J=G.type,J===dk){if(j.tag===7){a(I,j.sibling),X=f(j,G.props.children),X.return=I,I=X;break e}}else if(j.elementType===J||typeof J==="object"&&J!==null&&J.$$typeof===TM&&cz(J)===j.type){a(I,j.sibling),X=f(j,G.props),OR(X,G),X.return=I,I=X;break e}a(I,j);break}else r(I,j);j=j.sibling}G.type===dk?(X=Zz(G.props.children,I.mode,X,G.key),X.return=I,I=X):(X=vO(G.type,G.key,G.props,null,I.mode,X),OR(X,G),X.return=I,I=X)}return l(I);case BR:e:{for(J=G.key;j!==null;){if(j.key===J)if(j.tag===4&&j.stateNode.containerInfo===G.containerInfo&&j.stateNode.implementation===G.implementation){a(I,j.sibling),X=f(j,G.children||[]),X.return=I,I=X;break e}else{a(I,j);break}else r(I,j);j=j.sibling}X=q3(G,I.mode,X),X.return=I,I=X}return l(I);case TM:return G=cz(G),F(I,j,G,X)}if(YR(G))return _(I,j,G,X);if(DR(G)){if(J=DR(G),typeof J!=="function")throw Error(Ft(150));return G=J.call(G),k(I,j,G,X)}if(typeof G.then==="function")return F(I,j,fO(G),X);if(G.$$typeof===OZ)return F(I,j,iO(I,G),X);sO(I,G)}return typeof G==="string"&&G!==""||typeof G==="number"||typeof G==="bigint"?(G=""+G,j!==null&&j.tag===6?(a(I,j.sibling),X=f(j,G),X.return=I,I=X):(a(I,j),X=U3(G,I.mode,X),X.return=I,I=X),l(I)):a(I,j)}return function(I,j,G,X){try{mP=0;var J=F(I,j,G,X);return kk=null,J}catch(te){if(te===qk||te===dj)throw te;var ee=jl(29,te,null,I.mode);return ee.lanes=X,ee.return=I,ee}finally{}}}var yz=LJ(!0),kJ=LJ(!1),AM=!1;function L6(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function TB(e,r){e=e.updateQueue,r.updateQueue===e&&(r.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function hz(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function gz(e,r,a){var i=e.updateQueue;if(i===null)return null;if(i=i.shared,(Fo&2)!==0){var f=i.pending;return f===null?r.next=r:(r.next=f.next,f.next=r),i.pending=r,r=EO(e),vJ(e,null,a),r}return uj(e,i,r,a),EO(e)}function eP(e,r,a){if(r=r.updateQueue,r!==null&&(r=r.shared,(a&4194048)!==0)){var i=r.lanes;i&=e.pendingLanes,a|=i,r.lanes=a,VQ(e,a)}}function H3(e,r){var a=e.updateQueue,i=e.alternate;if(i!==null&&(i=i.updateQueue,a===i)){var f=null,s=null;if(a=a.firstBaseUpdate,a!==null){do{var l={lane:a.lane,tag:a.tag,payload:a.payload,callback:null,next:null};s===null?f=s=l:s=s.next=l,a=a.next}while(a!==null);s===null?f=s=r:s=s.next=r}else f=s=r;a={baseState:i.baseState,firstBaseUpdate:f,lastBaseUpdate:s,shared:i.shared,callbacks:i.callbacks},e.updateQueue=a;return}e=a.lastBaseUpdate,e===null?a.firstBaseUpdate=r:e.next=r,a.lastBaseUpdate=r}var AB=!1;function tP(){if(AB){var e=Lk;if(e!==null)throw e}}function rP(e,r,a,i){AB=!1;var f=e.updateQueue;AM=!1;var{firstBaseUpdate:s,lastBaseUpdate:l}=f,c=f.shared.pending;if(c!==null){f.shared.pending=null;var m=c,g=m.next;m.next=null,l===null?s=g:l.next=g,l=m;var M=e.alternate;M!==null&&(M=M.updateQueue,c=M.lastBaseUpdate,c!==l&&(c===null?M.firstBaseUpdate=g:c.next=g,M.lastBaseUpdate=m))}if(s!==null){var x=f.baseState;l=0,M=g=m=null,c=s;do{var b=c.lane&-536870913,y=b!==c.lane;if(y?(Mo&b)===b:(i&b)===b){b!==0&&b===Ak&&(AB=!0),M!==null&&(M=M.next={lane:0,tag:c.tag,payload:c.payload,callback:null,next:null});e:{var _=e,k=c;b=r;var F=a;switch(k.tag){case 1:if(_=k.payload,typeof _==="function"){x=_.call(F,x,b);break e}x=_;break e;case 3:_.flags=_.flags&-65537|128;case 0:if(_=k.payload,b=typeof _==="function"?_.call(F,x,b):_,b===null||b===void 0)break e;x=tn({},x,b);break e;case 2:AM=!0}}b=c.callback,b!==null&&(e.flags|=64,y&&(e.flags|=8192),y=f.callbacks,y===null?f.callbacks=[b]:y.push(b))}else y={lane:b,tag:c.tag,payload:c.payload,callback:c.callback,next:null},M===null?(g=M=y,m=x):M=M.next=y,l|=b;if(c=c.next,c===null)if(c=f.shared.pending,c===null)break;else y=c,c=y.next,y.next=null,f.lastBaseUpdate=y,f.shared.pending=null}while(1);M===null&&(m=x),f.baseState=m,f.firstBaseUpdate=g,f.lastBaseUpdate=M,s===null&&(f.shared.lanes=0),e8|=l,e.lanes=l,e.memoizedState=x}}function IJ(e,r){if(typeof e!=="function")throw Error(Ft(191,e));e.call(r)}function CJ(e,r){var a=e.callbacks;if(a!==null)for(e.callbacks=null,e=0;e<a.length;e++)IJ(a[e],r)}var Dk=aZ(null),FO=aZ(0);function YX(e,r){e=WZ,Pa(FO,e),Pa(Dk,r),WZ=e|r.baseLanes}function DB(){Pa(FO,WZ),Pa(Dk,Dk.current)}function k6(){WZ=FO.current,Li(Dk),Li(FO)}var ql=aZ(null),dc=null;function EM(e){var r=e.alternate;Pa(On,On.current&1),Pa(ql,e),dc===null&&(r===null||Dk.current!==null?dc=e:r.memoizedState!==null&&(dc=e))}function EB(e){Pa(On,On.current),Pa(ql,e),dc===null&&(dc=e)}function RJ(e){e.tag===22?(Pa(On,On.current),Pa(ql,e),dc===null&&(dc=e)):OM(e)}function OM(){Pa(On,On.current),Pa(ql,ql.current)}function Ol(e){Li(ql),dc===e&&(dc=null),Li(On)}var On=aZ(0);function BO(e){for(var r=e;r!==null;){if(r.tag===13){var a=r.memoizedState;if(a!==null&&(a=a.dehydrated,a===null||o6(a)||a6(a)))return r}else if(r.tag===19&&(r.memoizedProps.revealOrder==="forwards"||r.memoizedProps.revealOrder==="backwards"||r.memoizedProps.revealOrder==="unstable_legacy-backwards"||r.memoizedProps.revealOrder==="together")){if((r.flags&128)!==0)return r}else if(r.child!==null){r.child.return=r,r=r.child;continue}if(r===e)break;for(;r.sibling===null;){if(r.return===null||r.return===e)return null;r=r.return}r.sibling.return=r.return,r=r.sibling}return null}var qZ=0,io=null,xa=null,fi=null,YO=!1,Ik=!1,bz=!1,UO=0,hP=0,Ck=null,u_e=0;function gn(){throw Error(Ft(321))}function I6(e,r){if(r===null)return!1;for(var a=0;a<r.length&&a<e.length;a++)if(!Ul(e[a],r[a]))return!1;return!0}function C6(e,r,a,i,f,s){return qZ=s,io=r,r.memoizedState=null,r.updateQueue=null,r.lanes=0,Yr.H=e===null||e.memoizedState===null?s$:B6,bz=!1,s=a(i,f),bz=!1,Ik&&(s=TJ(r,a,i,f)),PJ(e),s}function PJ(e){Yr.H=gP;var r=xa!==null&&xa.next!==null;if(qZ=0,fi=xa=io=null,YO=!1,hP=0,Ck=null,r)throw Error(Ft(300));e===null||ci||(e=e.dependencies,e!==null&&jO(e)&&(ci=!0))}function TJ(e,r,a,i){io=e;var f=0;do{if(Ik&&(Ck=null),hP=0,Ik=!1,25<=f)throw Error(Ft(301));if(f+=1,fi=xa=null,e.updateQueue!=null){var s=e.updateQueue;s.lastEffect=null,s.events=null,s.stores=null,s.memoCache!=null&&(s.memoCache.index=0)}Yr.H=l$,s=r(a,i)}while(Ik);return s}function d_e(){var e=Yr.H,r=e.useState()[0];return r=typeof r.then==="function"?CP(r):r,e=e.useState()[0],(xa!==null?xa.memoizedState:null)!==e&&(io.flags|=1024),r}function R6(){var e=UO!==0;return UO=0,e}function P6(e,r,a){r.updateQueue=e.updateQueue,r.flags&=-2053,e.lanes&=~a}function T6(e){if(YO){for(e=e.memoizedState;e!==null;){var r=e.queue;r!==null&&(r.pending=null),e=e.next}YO=!1}qZ=0,fi=xa=io=null,Ik=!1,hP=UO=0,Ck=null}function ps(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return fi===null?io.memoizedState=fi=e:fi=fi.next=e,fi}function Nn(){if(xa===null){var e=io.alternate;e=e!==null?e.memoizedState:null}else e=xa.next;var r=fi===null?io.memoizedState:fi.next;if(r!==null)fi=r,xa=e;else{if(e===null){if(io.alternate===null)throw Error(Ft(467));throw Error(Ft(310))}xa=e,e={memoizedState:xa.memoizedState,baseState:xa.baseState,baseQueue:xa.baseQueue,queue:xa.queue,next:null},fi===null?io.memoizedState=fi=e:fi=fi.next=e}return fi}function Zj(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function CP(e){var r=hP;return hP+=1,Ck===null&&(Ck=[]),e=SJ(Ck,e,r),r=io,(fi===null?r.memoizedState:fi.next)===null&&(r=r.alternate,Yr.H=r===null||r.memoizedState===null?s$:B6),e}function pj(e){if(e!==null&&typeof e==="object"){if(typeof e.then==="function")return CP(e);if(e.$$typeof===OZ)return Ki(e)}throw Error(Ft(438,String(e)))}function A6(e){var r=null,a=io.updateQueue;if(a!==null&&(r=a.memoCache),r==null){var i=io.alternate;i!==null&&(i=i.updateQueue,i!==null&&(i=i.memoCache,i!=null&&(r={data:i.data.map(function(f){return f.slice()}),index:0})))}if(r==null&&(r={data:[],index:0}),a===null&&(a=Zj(),io.updateQueue=a),a.memoCache=r,a=r.data[r.index],a===void 0)for(a=r.data[r.index]=Array(e),i=0;i<e;i++)a[i]=Qye;return r.index++,a}function VZ(e,r){return typeof r==="function"?r(e):r}function yO(e){var r=Nn();return D6(r,xa,e)}function D6(e,r,a){var i=e.queue;if(i===null)throw Error(Ft(311));i.lastRenderedReducer=a;var f=e.baseQueue,s=i.pending;if(s!==null){if(f!==null){var l=f.next;f.next=s.next,s.next=l}r.baseQueue=f=s,i.pending=null}if(s=e.baseState,f===null)e.memoizedState=s;else{r=f.next;var c=l=null,m=null,g=r,M=!1;do{var x=g.lane&-536870913;if(x!==g.lane?(Mo&x)===x:(qZ&x)===x){var b=g.revertLane;if(b===0)m!==null&&(m=m.next={lane:0,revertLane:0,gesture:null,action:g.action,hasEagerState:g.hasEagerState,eagerState:g.eagerState,next:null}),x===Ak&&(M=!0);else if((qZ&b)===b){g=g.next,b===Ak&&(M=!0);continue}else x={lane:0,revertLane:g.revertLane,gesture:null,action:g.action,hasEagerState:g.hasEagerState,eagerState:g.eagerState,next:null},m===null?(c=m=x,l=s):m=m.next=x,io.lanes|=b,e8|=b;x=g.action,bz&&a(s,x),s=g.hasEagerState?g.eagerState:a(s,x)}else b={lane:x,revertLane:g.revertLane,gesture:g.gesture,action:g.action,hasEagerState:g.hasEagerState,eagerState:g.eagerState,next:null},m===null?(c=m=b,l=s):m=m.next=b,io.lanes|=x,e8|=x;g=g.next}while(g!==null&&g!==r);if(m===null?l=s:m.next=c,!Ul(s,e.memoizedState)&&(ci=!0,M&&(a=Lk,a!==null)))throw a;e.memoizedState=s,e.baseState=l,e.baseQueue=m,i.lastRenderedState=s}return f===null&&(i.lanes=0),[e.memoizedState,i.dispatch]}function W3(e){var r=Nn(),a=r.queue;if(a===null)throw Error(Ft(311));a.lastRenderedReducer=e;var{dispatch:i,pending:f}=a,s=r.memoizedState;if(f!==null){a.pending=null;var l=f=f.next;do s=e(s,l.action),l=l.next;while(l!==f);Ul(s,r.memoizedState)||(ci=!0),r.memoizedState=s,r.baseQueue===null&&(r.baseState=s),a.lastRenderedState=s}return[s,i]}function AJ(e,r,a){var i=io,f=Nn(),s=zo;if(s){if(a===void 0)throw Error(Ft(407));a=a()}else a=r();var l=!Ul((xa||f).memoizedState,a);if(l&&(f.memoizedState=a,ci=!0),f=f.queue,E6(OJ.bind(null,i,f,e),[e]),f.getSnapshot!==r||l||fi!==null&&fi.memoizedState.tag&1){if(i.flags|=2048,Ek(9,{destroy:void 0},EJ.bind(null,i,f,a,r),null),ka===null)throw Error(Ft(349));s||(qZ&127)!==0||DJ(i,r,a)}return a}function DJ(e,r,a){e.flags|=16384,e={getSnapshot:r,value:a},r=io.updateQueue,r===null?(r=Zj(),io.updateQueue=r,r.stores=[e]):(a=r.stores,a===null?r.stores=[e]:a.push(e))}function EJ(e,r,a,i){r.value=a,r.getSnapshot=i,jJ(r)&&NJ(e)}function OJ(e,r,a){return a(function(){jJ(r)&&NJ(e)})}function jJ(e){var r=e.getSnapshot;e=e.value;try{var a=r();return!Ul(e,a)}catch(i){return!0}}function NJ(e){var r=Lz(e,2);r!==null&&Hs(r,e,2)}function OB(e){var r=ps();if(typeof e==="function"){var a=e;if(e=a(),bz){NM(!0);try{a()}finally{NM(!1)}}}return r.memoizedState=r.baseState=e,r.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:VZ,lastRenderedState:e},r}function FJ(e,r,a,i){return e.baseState=a,D6(e,xa,typeof i==="function"?i:VZ)}function Z_e(e,r,a,i,f){if(hj(e))throw Error(Ft(485));if(e=r.action,e!==null){var s={payload:f,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(l){s.listeners.push(l)}};Yr.T!==null?a(!0):s.isTransition=!1,i(s),a=r.pending,a===null?(s.next=r.pending=s,BJ(r,s)):(s.next=a.next,r.pending=a.next=s)}}function BJ(e,r){var{action:a,payload:i}=r,f=e.state;if(r.isTransition){var s=Yr.T,l={};Yr.T=l;try{var c=a(f,i),m=Yr.S;m!==null&&m(l,c),UX(e,r,c)}catch(g){jB(e,r,g)}finally{s!==null&&l.types!==null&&(s.types=l.types),Yr.T=s}}else try{s=a(f,i),UX(e,r,s)}catch(g){jB(e,r,g)}}function UX(e,r,a){a!==null&&typeof a==="object"&&typeof a.then==="function"?a.then(function(i){qX(e,r,i)},function(i){return jB(e,r,i)}):qX(e,r,a)}function qX(e,r,a){r.status="fulfilled",r.value=a,YJ(r),e.state=a,r=e.pending,r!==null&&(a=r.next,a===r?e.pending=null:(a=a.next,r.next=a,BJ(e,a)))}function jB(e,r,a){var i=e.pending;if(e.pending=null,i!==null){i=i.next;do r.status="rejected",r.reason=a,YJ(r),r=r.next;while(r!==i)}e.action=null}function YJ(e){e=e.listeners;for(var r=0;r<e.length;r++)(0,e[r])()}function UJ(e,r){return r}function VX(e,r){if(zo){var a=ka.formState;if(a!==null){e:{var i=io;if(zo){if(Ua){t:{var f=Ua;for(var s=uc;f.nodeType!==8;){if(!s){f=null;break t}if(f=mc(f.nextSibling),f===null){f=null;break t}}s=f.data,f=s==="F!"||s==="F"?f:null}if(f){Ua=mc(f.nextSibling),i=f.data==="F!";break e}}JM(i)}i=!1}i&&(r=a[0])}}return a=ps(),a.memoizedState=a.baseState=r,i={pending:null,lanes:0,dispatch:null,lastRenderedReducer:UJ,lastRenderedState:r},a.queue=i,a=n$.bind(null,io,i),i.dispatch=a,i=OB(!1),s=F6.bind(null,io,!1,i.queue),i=ps(),f={state:r,dispatch:null,action:e,pending:null},i.queue=f,a=Z_e.bind(null,io,f,s,a),f.dispatch=a,i.memoizedState=e,[r,a,!1]}function HX(e){var r=Nn();return qJ(r,xa,e)}function qJ(e,r,a){if(r=D6(e,r,UJ)[0],e=yO(VZ)[0],typeof r==="object"&&r!==null&&typeof r.then==="function")try{var i=CP(r)}catch(l){if(l===qk)throw dj;throw l}else i=r;r=Nn();var f=r.queue,s=f.dispatch;return a!==r.memoizedState&&(io.flags|=2048,Ek(9,{destroy:void 0},p_e.bind(null,f,a),null)),[i,s,e]}function p_e(e,r){e.action=r}function WX(e){var r=Nn(),a=xa;if(a!==null)return qJ(r,a,e);Nn(),r=r.memoizedState,a=Nn();var i=a.queue.dispatch;return a.memoizedState=e,[r,i,!1]}function Ek(e,r,a,i){return e={tag:e,create:a,deps:i,inst:r,next:null},r=io.updateQueue,r===null&&(r=Zj(),io.updateQueue=r),a=r.lastEffect,a===null?r.lastEffect=e.next=e:(i=a.next,a.next=e,e.next=i,r.lastEffect=e),e}function VJ(){return Nn().memoizedState}function bO(e,r,a,i){var f=ps();io.flags|=e,f.memoizedState=Ek(1|r,{destroy:void 0},a,i===void 0?null:i)}function mj(e,r,a,i){var f=Nn();i=i===void 0?null:i;var s=f.memoizedState.inst;xa!==null&&i!==null&&I6(i,xa.memoizedState.deps)?f.memoizedState=Ek(r,s,a,i):(io.flags|=e,f.memoizedState=Ek(1|r,s,a,i))}function GX(e,r){bO(8390656,8,e,r)}function E6(e,r){mj(2048,8,e,r)}function m_e(e){io.flags|=4;var r=io.updateQueue;if(r===null)r=Zj(),io.updateQueue=r,r.events=[e];else{var a=r.events;a===null?r.events=[e]:a.push(e)}}function HJ(e){var r=Nn().memoizedState;return m_e({ref:r,nextImpl:e}),function(){if((Fo&2)!==0)throw Error(Ft(440));return r.impl.apply(void 0,arguments)}}function WJ(e,r){return mj(4,2,e,r)}function GJ(e,r){return mj(4,4,e,r)}function KJ(e,r){if(typeof r==="function"){e=e();var a=r(e);return function(){typeof a==="function"?a():r(null)}}if(r!==null&&r!==void 0)return e=e(),r.current=e,function(){r.current=null}}function XJ(e,r,a){a=a!==null&&a!==void 0?a.concat([e]):null,mj(4,4,KJ.bind(null,r,e),a)}function O6(){}function QJ(e,r){var a=Nn();r=r===void 0?null:r;var i=a.memoizedState;if(r!==null&&I6(r,i[1]))return i[0];return a.memoizedState=[e,r],e}function JJ(e,r){var a=Nn();r=r===void 0?null:r;var i=a.memoizedState;if(r!==null&&I6(r,i[1]))return i[0];if(i=e(),bz){NM(!0);try{e()}finally{NM(!1)}}return a.memoizedState=[i,r],i}function j6(e,r,a){if(a===void 0||(qZ&1073741824)!==0&&(Mo&261930)===0)return e.memoizedState=r;return e.memoizedState=a,e=O$(),io.lanes|=e,e8|=e,a}function $J(e,r,a,i){if(Ul(a,r))return a;if(Dk.current!==null)return e=j6(e,a,i),Ul(e,r)||(ci=!0),e;if((qZ&42)===0||(qZ&1073741824)!==0&&(Mo&261930)===0)return ci=!0,e.memoizedState=a;return e=O$(),io.lanes|=e,e8|=e,r}function e$(e,r,a,i,f){var s=Bo.p;Bo.p=s!==0&&8>s?s:8;var l=Yr.T,c={};Yr.T=c,F6(e,!1,r,a);try{var m=f(),g=Yr.S;if(g!==null&&g(c,m),m!==null&&typeof m==="object"&&typeof m.then==="function"){var M=c_e(m,i);oP(e,r,M,pc(e))}else oP(e,r,i,pc(e))}catch(x){oP(e,r,{then:function(){},status:"rejected",reason:x},pc())}finally{Bo.p=s,l!==null&&c.types!==null&&(l.types=c.types),Yr.T=l}}function h_e(){}function NB(e,r,a,i){if(e.tag!==5)throw Error(Ft(476));var f=t$(e).queue;e$(e,f,r,dz,a===null?h_e:function(){return r$(e),a(i)})}function t$(e){var r=e.memoizedState;if(r!==null)return r;r={memoizedState:dz,baseState:dz,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:VZ,lastRenderedState:dz},next:null};var a={};return r.next={memoizedState:a,baseState:a,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:VZ,lastRenderedState:a},next:null},e.memoizedState=r,e=e.alternate,e!==null&&(e.memoizedState=r),r}function r$(e){var r=t$(e);r.next===null&&(r=e.alternate.memoizedState),oP(e,r.next.queue,{},pc())}function N6(){return Ki(xP)}function o$(){return Nn().memoizedState}function a$(){return Nn().memoizedState}function g_e(e){for(var r=e.return;r!==null;){switch(r.tag){case 24:case 3:var a=pc();e=hz(a);var i=gz(r,e,a);i!==null&&(Hs(i,r,a),eP(i,r,a)),r={cache:w6()},e.payload=r;return}r=r.return}}function M_e(e,r,a){var i=pc();a={lane:i,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},hj(e)?i$(r,a):(a=x6(e,r,a,i),a!==null&&(Hs(a,e,i),f$(a,r,i)))}function n$(e,r,a){var i=pc();oP(e,r,a,i)}function oP(e,r,a,i){var f={lane:i,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null};if(hj(e))i$(r,f);else{var s=e.alternate;if(e.lanes===0&&(s===null||s.lanes===0)&&(s=r.lastRenderedReducer,s!==null))try{var l=r.lastRenderedState,c=s(l,a);if(f.hasEagerState=!0,f.eagerState=c,Ul(c,l))return uj(e,r,f,0),ka===null&&cj(),!1}catch(m){}finally{}if(a=x6(e,r,f,i),a!==null)return Hs(a,e,i),f$(a,r,i),!0}return!1}function F6(e,r,a,i){if(i={lane:2,revertLane:K6(),gesture:null,action:i,hasEagerState:!1,eagerState:null,next:null},hj(e)){if(r)throw Error(Ft(479))}else r=x6(e,a,i,2),r!==null&&Hs(r,e,2)}function hj(e){var r=e.alternate;return e===io||r!==null&&r===io}function i$(e,r){Ik=YO=!0;var a=e.pending;a===null?r.next=r:(r.next=a.next,a.next=r),e.pending=r}function f$(e,r,a){if((a&4194048)!==0){var i=r.lanes;i&=e.pendingLanes,a|=i,r.lanes=a,VQ(e,a)}}var gP={readContext:Ki,use:pj,useCallback:gn,useContext:gn,useEffect:gn,useImperativeHandle:gn,useLayoutEffect:gn,useInsertionEffect:gn,useMemo:gn,useReducer:gn,useRef:gn,useState:gn,useDebugValue:gn,useDeferredValue:gn,useTransition:gn,useSyncExternalStore:gn,useId:gn,useHostTransitionStatus:gn,useFormState:gn,useActionState:gn,useOptimistic:gn,useMemoCache:gn,useCacheRefresh:gn};gP.useEffectEvent=gn;var s$={readContext:Ki,use:pj,useCallback:function(e,r){return ps().memoizedState=[e,r===void 0?null:r],e},useContext:Ki,useEffect:GX,useImperativeHandle:function(e,r,a){a=a!==null&&a!==void 0?a.concat([e]):null,bO(4194308,4,KJ.bind(null,r,e),a)},useLayoutEffect:function(e,r){return bO(4194308,4,e,r)},useInsertionEffect:function(e,r){bO(4,2,e,r)},useMemo:function(e,r){var a=ps();r=r===void 0?null:r;var i=e();if(bz){NM(!0);try{e()}finally{NM(!1)}}return a.memoizedState=[i,r],i},useReducer:function(e,r,a){var i=ps();if(a!==void 0){var f=a(r);if(bz){NM(!0);try{a(r)}finally{NM(!1)}}}else f=r;return i.memoizedState=i.baseState=f,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:f},i.queue=e,e=e.dispatch=M_e.bind(null,io,e),[i.memoizedState,e]},useRef:function(e){var r=ps();return e={current:e},r.memoizedState=e},useState:function(e){e=OB(e);var r=e.queue,a=n$.bind(null,io,r);return r.dispatch=a,[e.memoizedState,a]},useDebugValue:O6,useDeferredValue:function(e,r){var a=ps();return j6(a,e,r)},useTransition:function(){var e=OB(!1);return e=e$.bind(null,io,e.queue,!0,!1),ps().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,r,a){var i=io,f=ps();if(zo){if(a===void 0)throw Error(Ft(407));a=a()}else{if(a=r(),ka===null)throw Error(Ft(349));(Mo&127)!==0||DJ(i,r,a)}f.memoizedState=a;var s={value:a,getSnapshot:r};return f.queue=s,GX(OJ.bind(null,i,s,e),[e]),i.flags|=2048,Ek(9,{destroy:void 0},EJ.bind(null,i,s,a,r),null),a},useId:function(){var e=ps(),r=ka.identifierPrefix;if(zo){var a=tZ,i=eZ;a=(i&~(1<<32-Yl(i)-1)).toString(32)+a,r="_"+r+"R_"+a,a=UO++,0<a&&(r+="H"+a.toString(32)),r+="_"}else a=u_e++,r="_"+r+"r_"+a.toString(32)+"_";return e.memoizedState=r},useHostTransitionStatus:N6,useFormState:VX,useActionState:VX,useOptimistic:function(e){var r=ps();r.memoizedState=r.baseState=e;var a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return r.queue=a,r=F6.bind(null,io,!0,a),a.dispatch=r,[e,r]},useMemoCache:A6,useCacheRefresh:function(){return ps().memoizedState=g_e.bind(null,io)},useEffectEvent:function(e){var r=ps(),a={impl:e};return r.memoizedState=a,function(){if((Fo&2)!==0)throw Error(Ft(440));return a.impl.apply(void 0,arguments)}}},B6={readContext:Ki,use:pj,useCallback:QJ,useContext:Ki,useEffect:E6,useImperativeHandle:XJ,useInsertionEffect:WJ,useLayoutEffect:GJ,useMemo:JJ,useReducer:yO,useRef:VJ,useState:function(){return yO(VZ)},useDebugValue:O6,useDeferredValue:function(e,r){var a=Nn();return $J(a,xa.memoizedState,e,r)},useTransition:function(){var e=yO(VZ)[0],r=Nn().memoizedState;return[typeof e==="boolean"?e:CP(e),r]},useSyncExternalStore:AJ,useId:o$,useHostTransitionStatus:N6,useFormState:HX,useActionState:HX,useOptimistic:function(e,r){var a=Nn();return FJ(a,xa,e,r)},useMemoCache:A6,useCacheRefresh:a$};B6.useEffectEvent=HJ;var l$={readContext:Ki,use:pj,useCallback:QJ,useContext:Ki,useEffect:E6,useImperativeHandle:XJ,useInsertionEffect:WJ,useLayoutEffect:GJ,useMemo:JJ,useReducer:W3,useRef:VJ,useState:function(){return W3(VZ)},useDebugValue:O6,useDeferredValue:function(e,r){var a=Nn();return xa===null?j6(a,e,r):$J(a,xa.memoizedState,e,r)},useTransition:function(){var e=W3(VZ)[0],r=Nn().memoizedState;return[typeof e==="boolean"?e:CP(e),r]},useSyncExternalStore:AJ,useId:o$,useHostTransitionStatus:N6,useFormState:WX,useActionState:WX,useOptimistic:function(e,r){var a=Nn();if(xa!==null)return FJ(a,xa,e,r);return a.baseState=e,[e,a.queue.dispatch]},useMemoCache:A6,useCacheRefresh:a$};l$.useEffectEvent=HJ;function G3(e,r,a,i){r=e.memoizedState,a=a(i,r),a=a===null||a===void 0?r:tn({},r,a),e.memoizedState=a,e.lanes===0&&(e.updateQueue.baseState=a)}var FB={enqueueSetState:function(e,r,a){e=e._reactInternals;var i=pc(),f=hz(i);f.payload=r,a!==void 0&&a!==null&&(f.callback=a),r=gz(e,f,i),r!==null&&(Hs(r,e,i),eP(r,e,i))},enqueueReplaceState:function(e,r,a){e=e._reactInternals;var i=pc(),f=hz(i);f.tag=1,f.payload=r,a!==void 0&&a!==null&&(f.callback=a),r=gz(e,f,i),r!==null&&(Hs(r,e,i),eP(r,e,i))},enqueueForceUpdate:function(e,r){e=e._reactInternals;var a=pc(),i=hz(a);i.tag=2,r!==void 0&&r!==null&&(i.callback=r),r=gz(e,i,a),r!==null&&(Hs(r,e,a),eP(r,e,a))}};function KX(e,r,a,i,f,s,l){return e=e.stateNode,typeof e.shouldComponentUpdate==="function"?e.shouldComponentUpdate(i,s,l):r.prototype&&r.prototype.isPureReactComponent?!dP(a,i)||!dP(f,s):!0}function XX(e,r,a,i){e=r.state,typeof r.componentWillReceiveProps==="function"&&r.componentWillReceiveProps(a,i),typeof r.UNSAFE_componentWillReceiveProps==="function"&&r.UNSAFE_componentWillReceiveProps(a,i),r.state!==e&&FB.enqueueReplaceState(r,r.state,null)}function _z(e,r){var a=r;if("ref"in r){a={};for(var i in r)i!=="ref"&&(a[i]=r[i])}if(e=e.defaultProps){a===r&&(a=tn({},a));for(var f in e)a[f]===void 0&&(a[f]=e[f])}return a}function v_e(e){DO(e)}function x_e(e){console.error(e)}function y_e(e){DO(e)}function qO(e,r){try{var a=e.onUncaughtError;a(r.value,{componentStack:r.stack})}catch(i){setTimeout(function(){throw i})}}function QX(e,r,a){try{var i=e.onCaughtError;i(a.value,{componentStack:a.stack,errorBoundary:r.tag===1?r.stateNode:null})}catch(f){setTimeout(function(){throw f})}}function BB(e,r,a){return a=hz(a),a.tag=3,a.payload={element:null},a.callback=function(){qO(e,r)},a}function c$(e){return e=hz(e),e.tag=3,e}function u$(e,r,a,i){var f=a.type.getDerivedStateFromError;if(typeof f==="function"){var s=i.value;e.payload=function(){return f(s)},e.callback=function(){QX(r,a,i)}}var l=a.stateNode;l!==null&&typeof l.componentDidCatch==="function"&&(e.callback=function(){QX(r,a,i),typeof f!=="function"&&(HM===null?HM=new Set([this]):HM.add(this));var c=i.stack;this.componentDidCatch(i.value,{componentStack:c!==null?c:""})})}function b_e(e,r,a,i,f){if(a.flags|=32768,i!==null&&typeof i==="object"&&typeof i.then==="function"){if(r=a.alternate,r!==null&&Uk(r,a,f,!0),a=ql.current,a!==null){switch(a.tag){case 31:case 13:return dc===null?KO():a.alternate===null&&Mn===0&&(Mn=3),a.flags&=-257,a.flags|=65536,a.lanes=f,i===NO?a.flags|=16384:(r=a.updateQueue,r===null?a.updateQueue=new Set([i]):r.add(i),nB(e,i,f)),!1;case 22:return a.flags|=65536,i===NO?a.flags|=16384:(r=a.updateQueue,r===null?(r={transitions:null,markerInstances:null,retryQueue:new Set([i])},a.updateQueue=r):(a=r.retryQueue,a===null?r.retryQueue=new Set([i]):a.add(i)),nB(e,i,f)),!1}throw Error(Ft(435,a.tag))}return nB(e,i,f),KO(),!1}if(zo)return r=ql.current,r!==null?((r.flags&65536)===0&&(r.flags|=256),r.flags|=65536,r.lanes=f,i!==kB&&(e=Error(Ft(422),{cause:i}),pP(cc(e,a)))):(i!==kB&&(r=Error(Ft(423),{cause:i}),pP(cc(r,a))),e=e.current.alternate,e.flags|=65536,f&=-f,e.lanes|=f,i=cc(i,a),f=BB(e.stateNode,i,f),H3(e,f),Mn!==4&&(Mn=2)),!1;var s=Error(Ft(520),{cause:i});if(s=cc(s,a),iP===null?iP=[s]:iP.push(s),Mn!==4&&(Mn=2),r===null)return!0;i=cc(i,a),a=r;do{switch(a.tag){case 3:return a.flags|=65536,e=f&-f,a.lanes|=e,e=BB(a.stateNode,i,e),H3(a,e),!1;case 1:if(r=a.type,s=a.stateNode,(a.flags&128)===0&&(typeof r.getDerivedStateFromError==="function"||s!==null&&typeof s.componentDidCatch==="function"&&(HM===null||!HM.has(s))))return a.flags|=65536,f&=-f,a.lanes|=f,f=c$(f),u$(f,e,a,i),H3(a,f),!1}a=a.return}while(a!==null);return!1}var Y6=Error(Ft(461)),ci=!1;function Hi(e,r,a,i){r.child=e===null?kJ(r,null,a,i):yz(r,e.child,a,i)}function JX(e,r,a,i,f){a=a.render;var s=r.ref;if("ref"in i){var l={};for(var c in i)c!=="ref"&&(l[c]=i[c])}else l=i;if(xz(r),i=C6(e,r,a,l,s,f),c=R6(),e!==null&&!ci)return P6(e,r,f),HZ(e,r,f);return zo&&c&&b6(r),r.flags|=1,Hi(e,r,i,f),r.child}function $X(e,r,a,i,f){if(e===null){var s=a.type;if(typeof s==="function"&&!y6(s)&&s.defaultProps===void 0&&a.compare===null)return r.tag=15,r.type=s,d$(e,r,s,i,f);return e=vO(a.type,null,i,r,r.mode,f),e.ref=r.ref,e.return=r,r.child=e}if(s=e.child,!U6(e,f)){var l=s.memoizedProps;if(a=a.compare,a=a!==null?a:dP,a(l,i)&&e.ref===r.ref)return HZ(e,r,f)}return r.flags|=1,e=FZ(s,i),e.ref=r.ref,e.return=r,r.child=e}function d$(e,r,a,i,f){if(e!==null){var s=e.memoizedProps;if(dP(s,i)&&e.ref===r.ref)if(ci=!1,r.pendingProps=i=s,U6(e,f))(e.flags&131072)!==0&&(ci=!0);else return r.lanes=e.lanes,HZ(e,r,f)}return YB(e,r,a,i,f)}function Z$(e,r,a,i){var f=i.children,s=e!==null?e.memoizedState:null;if(e===null&&r.stateNode===null&&(r.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),i.mode==="hidden"){if((r.flags&128)!==0){if(s=s!==null?s.baseLanes|a:a,e!==null){i=r.child=e.child;for(f=0;i!==null;)f=f|i.lanes|i.childLanes,i=i.sibling;i=f&~s}else i=0,r.child=null;return eQ(e,r,s,a,i)}if((a&536870912)!==0)r.memoizedState={baseLanes:0,cachePool:null},e!==null&&xO(r,s!==null?s.cachePool:null),s!==null?YX(r,s):DB(),RJ(r);else return i=r.lanes=536870912,eQ(e,r,s!==null?s.baseLanes|a:a,a,i)}else s!==null?(xO(r,s.cachePool),YX(r,s),OM(r),r.memoizedState=null):(e!==null&&xO(r,null),DB(),OM(r));return Hi(e,r,f,a),r.child}function HR(e,r){return e!==null&&e.tag===22||r.stateNode!==null||(r.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),r.sibling}function eQ(e,r,a,i,f){var s=z6();return s=s===null?null:{parent:li._currentValue,pool:s},r.memoizedState={baseLanes:a,cachePool:s},e!==null&&xO(r,null),DB(),RJ(r),e!==null&&Uk(e,r,i,!0),r.childLanes=f,null}function _O(e,r){return r=VO({mode:r.mode,children:r.children},e.mode),r.ref=e.ref,e.child=r,r.return=e,r}function tQ(e,r,a){return yz(r,e.child,null,a),e=_O(r,r.pendingProps),e.flags|=2,Ol(r),r.memoizedState=null,e}function __e(e,r,a){var i=r.pendingProps,f=(r.flags&128)!==0;if(r.flags&=-129,e===null){if(zo){if(i.mode==="hidden")return e=_O(r,i),r.lanes=536870912,HR(null,e);if(EB(r),(e=Ua)?(e=iee(e,uc),e=e!==null&&e.data==="&"?e:null,e!==null&&(r.memoizedState={dehydrated:e,treeContext:QM!==null?{id:eZ,overflow:tZ}:null,retryLane:536870912,hydrationErrors:null},a=yJ(e),a.return=r,r.child=a,Gi=r,Ua=null)):e=null,e===null)throw JM(r);return r.lanes=536870912,null}return _O(r,i)}var s=e.memoizedState;if(s!==null){var l=s.dehydrated;if(EB(r),f)if(r.flags&256)r.flags&=-257,r=tQ(e,r,a);else if(r.memoizedState!==null)r.child=e.child,r.flags|=128,r=null;else throw Error(Ft(558));else if(ci||Uk(e,r,a,!1),f=(a&e.childLanes)!==0,ci||f){if(i=ka,i!==null&&(l=HQ(i,a),l!==0&&l!==s.retryLane))throw s.retryLane=l,Lz(e,l),Hs(i,e,l),Y6;KO(),r=tQ(e,r,a)}else e=s.treeContext,Ua=mc(l.nextSibling),Gi=r,zo=!0,VM=null,uc=!1,e!==null&&_J(r,e),r=_O(r,i),r.flags|=4096;return r}return e=FZ(e.child,{mode:i.mode,children:i.children}),e.ref=r.ref,r.child=e,e.return=r,e}function wO(e,r){var a=r.ref;if(a===null)e!==null&&e.ref!==null&&(r.flags|=4194816);else{if(typeof a!=="function"&&typeof a!=="object")throw Error(Ft(284));if(e===null||e.ref!==a)r.flags|=4194816}}function YB(e,r,a,i,f){if(xz(r),a=C6(e,r,a,i,void 0,f),i=R6(),e!==null&&!ci)return P6(e,r,f),HZ(e,r,f);return zo&&i&&b6(r),r.flags|=1,Hi(e,r,a,f),r.child}function rQ(e,r,a,i,f,s){if(xz(r),r.updateQueue=null,a=TJ(r,i,a,f),PJ(e),i=R6(),e!==null&&!ci)return P6(e,r,s),HZ(e,r,s);return zo&&i&&b6(r),r.flags|=1,Hi(e,r,a,s),r.child}function oQ(e,r,a,i,f){if(xz(r),r.stateNode===null){var s=xk,l=a.contextType;typeof l==="object"&&l!==null&&(s=Ki(l)),s=new a(i,s),r.memoizedState=s.state!==null&&s.state!==void 0?s.state:null,s.updater=FB,r.stateNode=s,s._reactInternals=r,s=r.stateNode,s.props=i,s.state=r.memoizedState,s.refs={},L6(r),l=a.contextType,s.context=typeof l==="object"&&l!==null?Ki(l):xk,s.state=r.memoizedState,l=a.getDerivedStateFromProps,typeof l==="function"&&(G3(r,a,l,i),s.state=r.memoizedState),typeof a.getDerivedStateFromProps==="function"||typeof s.getSnapshotBeforeUpdate==="function"||typeof s.UNSAFE_componentWillMount!=="function"&&typeof s.componentWillMount!=="function"||(l=s.state,typeof s.componentWillMount==="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount==="function"&&s.UNSAFE_componentWillMount(),l!==s.state&&FB.enqueueReplaceState(s,s.state,null),rP(r,i,s,f),tP(),s.state=r.memoizedState),typeof s.componentDidMount==="function"&&(r.flags|=4194308),i=!0}else if(e===null){s=r.stateNode;var c=r.memoizedProps,m=_z(a,c);s.props=m;var g=s.context,M=a.contextType;l=xk,typeof M==="object"&&M!==null&&(l=Ki(M));var x=a.getDerivedStateFromProps;M=typeof x==="function"||typeof s.getSnapshotBeforeUpdate==="function",c=r.pendingProps!==c,M||typeof s.UNSAFE_componentWillReceiveProps!=="function"&&typeof s.componentWillReceiveProps!=="function"||(c||g!==l)&&XX(r,s,i,l),AM=!1;var b=r.memoizedState;s.state=b,rP(r,i,s,f),tP(),g=r.memoizedState,c||b!==g||AM?(typeof x==="function"&&(G3(r,a,x,i),g=r.memoizedState),(m=AM||KX(r,a,m,i,b,g,l))?(M||typeof s.UNSAFE_componentWillMount!=="function"&&typeof s.componentWillMount!=="function"||(typeof s.componentWillMount==="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount==="function"&&s.UNSAFE_componentWillMount()),typeof s.componentDidMount==="function"&&(r.flags|=4194308)):(typeof s.componentDidMount==="function"&&(r.flags|=4194308),r.memoizedProps=i,r.memoizedState=g),s.props=i,s.state=g,s.context=l,i=m):(typeof s.componentDidMount==="function"&&(r.flags|=4194308),i=!1)}else{s=r.stateNode,TB(e,r),l=r.memoizedProps,M=_z(a,l),s.props=M,x=r.pendingProps,b=s.context,g=a.contextType,m=xk,typeof g==="object"&&g!==null&&(m=Ki(g)),c=a.getDerivedStateFromProps,(g=typeof c==="function"||typeof s.getSnapshotBeforeUpdate==="function")||typeof s.UNSAFE_componentWillReceiveProps!=="function"&&typeof s.componentWillReceiveProps!=="function"||(l!==x||b!==m)&&XX(r,s,i,m),AM=!1,b=r.memoizedState,s.state=b,rP(r,i,s,f),tP();var y=r.memoizedState;l!==x||b!==y||AM||e!==null&&e.dependencies!==null&&jO(e.dependencies)?(typeof c==="function"&&(G3(r,a,c,i),y=r.memoizedState),(M=AM||KX(r,a,M,i,b,y,m)||e!==null&&e.dependencies!==null&&jO(e.dependencies))?(g||typeof s.UNSAFE_componentWillUpdate!=="function"&&typeof s.componentWillUpdate!=="function"||(typeof s.componentWillUpdate==="function"&&s.componentWillUpdate(i,y,m),typeof s.UNSAFE_componentWillUpdate==="function"&&s.UNSAFE_componentWillUpdate(i,y,m)),typeof s.componentDidUpdate==="function"&&(r.flags|=4),typeof s.getSnapshotBeforeUpdate==="function"&&(r.flags|=1024)):(typeof s.componentDidUpdate!=="function"||l===e.memoizedProps&&b===e.memoizedState||(r.flags|=4),typeof s.getSnapshotBeforeUpdate!=="function"||l===e.memoizedProps&&b===e.memoizedState||(r.flags|=1024),r.memoizedProps=i,r.memoizedState=y),s.props=i,s.state=y,s.context=m,i=M):(typeof s.componentDidUpdate!=="function"||l===e.memoizedProps&&b===e.memoizedState||(r.flags|=4),typeof s.getSnapshotBeforeUpdate!=="function"||l===e.memoizedProps&&b===e.memoizedState||(r.flags|=1024),i=!1)}return s=i,wO(e,r),i=(r.flags&128)!==0,s||i?(s=r.stateNode,a=i&&typeof a.getDerivedStateFromError!=="function"?null:s.render(),r.flags|=1,e!==null&&i?(r.child=yz(r,e.child,null,f),r.child=yz(r,null,a,f)):Hi(e,r,a,f),r.memoizedState=s.state,e=r.child):e=HZ(e,r,f),e}function aQ(e,r,a,i){return vz(),r.flags|=256,Hi(e,r,a,i),r.child}var K3={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function X3(e){return{baseLanes:e,cachePool:zJ()}}function Q3(e,r,a){return e=e!==null?e.childLanes&~a:0,r&&(e|=Nl),e}function p$(e,r,a){var i=r.pendingProps,f=!1,s=(r.flags&128)!==0,l;if((l=s)||(l=e!==null&&e.memoizedState===null?!1:(On.current&2)!==0),l&&(f=!0,r.flags&=-129),l=(r.flags&32)!==0,r.flags&=-33,e===null){if(zo){if(f?EM(r):OM(r),(e=Ua)?(e=iee(e,uc),e=e!==null&&e.data!=="&"?e:null,e!==null&&(r.memoizedState={dehydrated:e,treeContext:QM!==null?{id:eZ,overflow:tZ}:null,retryLane:536870912,hydrationErrors:null},a=yJ(e),a.return=r,r.child=a,Gi=r,Ua=null)):e=null,e===null)throw JM(r);return a6(e)?r.lanes=32:r.lanes=536870912,null}var c=i.children;if(i=i.fallback,f)return OM(r),f=r.mode,c=VO({mode:"hidden",children:c},f),i=Zz(i,f,a,null),c.return=r,i.return=r,c.sibling=i,r.child=c,i=r.child,i.memoizedState=X3(a),i.childLanes=Q3(e,l,a),r.memoizedState=K3,HR(null,i);return EM(r),UB(r,c)}var m=e.memoizedState;if(m!==null&&(c=m.dehydrated,c!==null)){if(s)r.flags&256?(EM(r),r.flags&=-257,r=J3(e,r,a)):r.memoizedState!==null?(OM(r),r.child=e.child,r.flags|=128,r=null):(OM(r),c=i.fallback,f=r.mode,i=VO({mode:"visible",children:i.children},f),c=Zz(c,f,a,null),c.flags|=2,i.return=r,c.return=r,i.sibling=c,r.child=i,yz(r,e.child,null,a),i=r.child,i.memoizedState=X3(a),i.childLanes=Q3(e,l,a),r.memoizedState=K3,r=HR(null,i));else if(EM(r),a6(c)){if(l=c.nextSibling&&c.nextSibling.dataset,l)var g=l.dgst;l=g,i=Error(Ft(419)),i.stack="",i.digest=l,pP({value:i,source:null,stack:null}),r=J3(e,r,a)}else if(ci||Uk(e,r,a,!1),l=(a&e.childLanes)!==0,ci||l){if(l=ka,l!==null&&(i=HQ(l,a),i!==0&&i!==m.retryLane))throw m.retryLane=i,Lz(e,i),Hs(l,e,i),Y6;o6(c)||KO(),r=J3(e,r,a)}else o6(c)?(r.flags|=192,r.child=e.child,r=null):(e=m.treeContext,Ua=mc(c.nextSibling),Gi=r,zo=!0,VM=null,uc=!1,e!==null&&_J(r,e),r=UB(r,i.children),r.flags|=4096);return r}if(f)return OM(r),c=i.fallback,f=r.mode,m=e.child,g=m.sibling,i=FZ(m,{mode:"hidden",children:i.children}),i.subtreeFlags=m.subtreeFlags&65011712,g!==null?c=FZ(g,c):(c=Zz(c,f,a,null),c.flags|=2),c.return=r,i.return=r,i.sibling=c,r.child=i,HR(null,i),i=r.child,c=e.child.memoizedState,c===null?c=X3(a):(f=c.cachePool,f!==null?(m=li._currentValue,f=f.parent!==m?{parent:m,pool:m}:f):f=zJ(),c={baseLanes:c.baseLanes|a,cachePool:f}),i.memoizedState=c,i.childLanes=Q3(e,l,a),r.memoizedState=K3,HR(e.child,i);return EM(r),a=e.child,e=a.sibling,a=FZ(a,{mode:"visible",children:i.children}),a.return=r,a.sibling=null,e!==null&&(l=r.deletions,l===null?(r.deletions=[e],r.flags|=16):l.push(e)),r.child=a,r.memoizedState=null,a}function UB(e,r){return r=VO({mode:"visible",children:r},e.mode),r.return=e,e.child=r}function VO(e,r){return e=jl(22,e,null,r),e.lanes=0,e}function J3(e,r,a){return yz(r,e.child,null,a),e=UB(r,r.pendingProps.children),e.flags|=2,r.memoizedState=null,e}function nQ(e,r,a){e.lanes|=r;var i=e.alternate;i!==null&&(i.lanes|=r),CB(e.return,r,a)}function $3(e,r,a,i,f,s){var l=e.memoizedState;l===null?e.memoizedState={isBackwards:r,rendering:null,renderingStartTime:0,last:i,tail:a,tailMode:f,treeForkCount:s}:(l.isBackwards=r,l.rendering=null,l.renderingStartTime=0,l.last=i,l.tail=a,l.tailMode=f,l.treeForkCount=s)}function m$(e,r,a){var i=r.pendingProps,f=i.revealOrder,s=i.tail;i=i.children;var l=On.current,c=(l&2)!==0;if(c?(l=l&1|2,r.flags|=128):l&=1,Pa(On,l),Hi(e,r,i,a),i=zo?ZP:0,!c&&e!==null&&(e.flags&128)!==0)e:for(e=r.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&nQ(e,a,r);else if(e.tag===19)nQ(e,a,r);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===r)break e;for(;e.sibling===null;){if(e.return===null||e.return===r)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(f){case"forwards":a=r.child;for(f=null;a!==null;)e=a.alternate,e!==null&&BO(e)===null&&(f=a),a=a.sibling;a=f,a===null?(f=r.child,r.child=null):(f=a.sibling,a.sibling=null),$3(r,!1,f,a,s,i);break;case"backwards":case"unstable_legacy-backwards":a=null,f=r.child;for(r.child=null;f!==null;){if(e=f.alternate,e!==null&&BO(e)===null){r.child=f;break}e=f.sibling,f.sibling=a,a=f,f=e}$3(r,!0,a,null,s,i);break;case"together":$3(r,!1,null,null,void 0,i);break;default:r.memoizedState=null}return r.child}function HZ(e,r,a){if(e!==null&&(r.dependencies=e.dependencies),e8|=r.lanes,(a&r.childLanes)===0)if(e!==null){if(Uk(e,r,a,!1),(a&r.childLanes)===0)return null}else return null;if(e!==null&&r.child!==e.child)throw Error(Ft(153));if(r.child!==null){e=r.child,a=FZ(e,e.pendingProps),r.child=a;for(a.return=r;e.sibling!==null;)e=e.sibling,a=a.sibling=FZ(e,e.pendingProps),a.return=r;a.sibling=null}return r.child}function U6(e,r){if((e.lanes&r)!==0)return!0;return e=e.dependencies,e!==null&&jO(e)?!0:!1}function w_e(e,r,a){switch(r.tag){case 3:RO(r,r.stateNode.containerInfo),DM(r,li,e.memoizedState.cache),vz();break;case 27:case 5:gB(r);break;case 4:RO(r,r.stateNode.containerInfo);break;case 10:DM(r,r.type,r.memoizedProps.value);break;case 31:if(r.memoizedState!==null)return r.flags|=128,EB(r),null;break;case 13:var i=r.memoizedState;if(i!==null){if(i.dehydrated!==null)return EM(r),r.flags|=128,null;if((a&r.child.childLanes)!==0)return p$(e,r,a);return EM(r),e=HZ(e,r,a),e!==null?e.sibling:null}EM(r);break;case 19:var f=(e.flags&128)!==0;if(i=(a&r.childLanes)!==0,i||(Uk(e,r,a,!1),i=(a&r.childLanes)!==0),f){if(i)return m$(e,r,a);r.flags|=128}if(f=r.memoizedState,f!==null&&(f.rendering=null,f.tail=null,f.lastEffect=null),Pa(On,On.current),i)break;else return null;case 22:return r.lanes=0,Z$(e,r,a,r.pendingProps);case 24:DM(r,li,e.memoizedState.cache)}return HZ(e,r,a)}function h$(e,r,a){if(e!==null)if(e.memoizedProps!==r.pendingProps)ci=!0;else{if(!U6(e,a)&&(r.flags&128)===0)return ci=!1,w_e(e,r,a);ci=(e.flags&131072)!==0?!0:!1}else ci=!1,zo&&(r.flags&1048576)!==0&&bJ(r,ZP,r.index);switch(r.lanes=0,r.tag){case 16:e:{var i=r.pendingProps;if(e=cz(r.elementType),r.type=e,typeof e==="function")y6(e)?(i=_z(e,i),r.tag=1,r=oQ(null,r,e,i,a)):(r.tag=0,r=YB(null,r,e,i,a));else{if(e!==void 0&&e!==null){var f=e.$$typeof;if(f===s6){r.tag=11,r=JX(null,r,e,i,a);break e}else if(f===l6){r.tag=14,r=$X(null,r,e,i,a);break e}}throw r=mB(e)||e,Error(Ft(306,r,""))}}return r;case 0:return YB(e,r,r.type,r.pendingProps,a);case 1:return i=r.type,f=_z(i,r.pendingProps),oQ(e,r,i,f,a);case 3:e:{if(RO(r,r.stateNode.containerInfo),e===null)throw Error(Ft(387));i=r.pendingProps;var s=r.memoizedState;f=s.element,TB(e,r),rP(r,i,null,a);var l=r.memoizedState;if(i=l.cache,DM(r,li,i),i!==s.cache&&RB(r,[li],a,!0),tP(),i=l.element,s.isDehydrated)if(s={element:i,isDehydrated:!1,cache:l.cache},r.updateQueue.baseState=s,r.memoizedState=s,r.flags&256){r=aQ(e,r,i,a);break e}else if(i!==f){f=cc(Error(Ft(424)),r),pP(f),r=aQ(e,r,i,a);break e}else{switch(e=r.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName==="HTML"?e.ownerDocument.body:e}Ua=mc(e.firstChild),Gi=r,zo=!0,VM=null,uc=!0,a=kJ(r,null,i,a);for(r.child=a;a;)a.flags=a.flags&-3|4096,a=a.sibling}else{if(vz(),i===f){r=HZ(e,r,a);break e}Hi(e,r,i,a)}r=r.child}return r;case 26:return wO(e,r),e===null?(a=zQ(r.type,null,r.pendingProps,null))?r.memoizedState=a:zo||(a=r.type,e=r.pendingProps,i=$O(qM.current).createElement(a),i[Wi]=r,i[Ws]=e,Xi(i,a,e),zi(i),r.stateNode=i):r.memoizedState=zQ(r.type,e.memoizedProps,r.pendingProps,e.memoizedState),null;case 27:return gB(r),e===null&&zo&&(i=r.stateNode=fee(r.type,r.pendingProps,qM.current),Gi=r,uc=!0,f=Ua,r8(r.type)?(n6=f,Ua=mc(i.firstChild)):Ua=f),Hi(e,r,r.pendingProps.children,a),wO(e,r),e===null&&(r.flags|=4194304),r.child;case 5:if(e===null&&zo){if(f=i=Ua)i=J_e(i,r.type,r.pendingProps,uc),i!==null?(r.stateNode=i,Gi=r,Ua=mc(i.firstChild),uc=!1,f=!0):f=!1;f||JM(r)}return gB(r),f=r.type,s=r.pendingProps,l=e!==null?e.memoizedProps:null,i=s.children,t6(f,s)?i=null:l!==null&&t6(f,l)&&(r.flags|=32),r.memoizedState!==null&&(f=C6(e,r,d_e,null,null,a),xP._currentValue=f),wO(e,r),Hi(e,r,i,a),r.child;case 6:if(e===null&&zo){if(e=a=Ua)a=$_e(a,r.pendingProps,uc),a!==null?(r.stateNode=a,Gi=r,Ua=null,e=!0):e=!1;e||JM(r)}return null;case 13:return p$(e,r,a);case 4:return RO(r,r.stateNode.containerInfo),i=r.pendingProps,e===null?r.child=yz(r,null,i,a):Hi(e,r,i,a),r.child;case 11:return JX(e,r,r.type,r.pendingProps,a);case 7:return Hi(e,r,r.pendingProps,a),r.child;case 8:return Hi(e,r,r.pendingProps.children,a),r.child;case 12:return Hi(e,r,r.pendingProps.children,a),r.child;case 10:return i=r.pendingProps,DM(r,r.type,i.value),Hi(e,r,i.children,a),r.child;case 9:return f=r.type._context,i=r.pendingProps.children,xz(r),f=Ki(f),i=i(f),r.flags|=1,Hi(e,r,i,a),r.child;case 14:return $X(e,r,r.type,r.pendingProps,a);case 15:return d$(e,r,r.type,r.pendingProps,a);case 19:return m$(e,r,a);case 31:return __e(e,r,a);case 22:return Z$(e,r,a,r.pendingProps);case 24:return xz(r),i=Ki(li),e===null?(f=z6(),f===null&&(f=ka,s=w6(),f.pooledCache=s,s.refCount++,s!==null&&(f.pooledCacheLanes|=a),f=s),r.memoizedState={parent:i,cache:f},L6(r),DM(r,li,f)):((e.lanes&a)!==0&&(TB(e,r),rP(r,null,null,a),tP()),f=e.memoizedState,s=r.memoizedState,f.parent!==i?(f={parent:i,cache:i},r.memoizedState=f,r.lanes===0&&(r.memoizedState=r.updateQueue.baseState=f),DM(r,li,i)):(i=s.cache,DM(r,li,i),i!==f.cache&&RB(r,[li],a,!0))),Hi(e,r,r.pendingProps.children,a),r.child;case 29:throw r.pendingProps}throw Error(Ft(156,r.tag))}function RZ(e){e.flags|=4}function eB(e,r,a,i,f){if(r=(e.mode&32)!==0)r=!1;if(r){if(e.flags|=16777216,(f&335544128)===f)if(e.stateNode.complete)e.flags|=8192;else if(F$())e.flags|=8192;else throw mz=NO,S6}else e.flags&=-16777217}function iQ(e,r){if(r.type!=="stylesheet"||(r.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!cee(r))if(F$())e.flags|=8192;else throw mz=NO,S6}function lO(e,r){r!==null&&(e.flags|=4),e.flags&16384&&(r=e.tag!==22?UQ():536870912,e.lanes|=r,Ok|=r)}function jR(e,r){if(!zo)switch(e.tailMode){case"hidden":r=e.tail;for(var a=null;r!==null;)r.alternate!==null&&(a=r),r=r.sibling;a===null?e.tail=null:a.sibling=null;break;case"collapsed":a=e.tail;for(var i=null;a!==null;)a.alternate!==null&&(i=a),a=a.sibling;i===null?r||e.tail===null?e.tail=null:e.tail.sibling=null:i.sibling=null}}function Ba(e){var r=e.alternate!==null&&e.alternate.child===e.child,a=0,i=0;if(r)for(var f=e.child;f!==null;)a|=f.lanes|f.childLanes,i|=f.subtreeFlags&65011712,i|=f.flags&65011712,f.return=e,f=f.sibling;else for(f=e.child;f!==null;)a|=f.lanes|f.childLanes,i|=f.subtreeFlags,i|=f.flags,f.return=e,f=f.sibling;return e.subtreeFlags|=i,e.childLanes=a,r}function z_e(e,r,a){var i=r.pendingProps;switch(_6(r),r.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ba(r),null;case 1:return Ba(r),null;case 3:if(a=r.stateNode,i=null,e!==null&&(i=e.memoizedState.cache),r.memoizedState.cache!==i&&(r.flags|=2048),BZ(li),Rk(),a.pendingContext&&(a.context=a.pendingContext,a.pendingContext=null),e===null||e.child===null)fk(r)?RZ(r):e===null||e.memoizedState.isDehydrated&&(r.flags&256)===0||(r.flags|=1024,V3());return Ba(r),null;case 26:var{type:f,memoizedState:s}=r;return e===null?(RZ(r),s!==null?(Ba(r),iQ(r,s)):(Ba(r),eB(r,f,null,i,a))):s?s!==e.memoizedState?(RZ(r),Ba(r),iQ(r,s)):(Ba(r),r.flags&=-16777217):(e=e.memoizedProps,e!==i&&RZ(r),Ba(r),eB(r,f,e,i,a)),null;case 27:if(PO(r),a=qM.current,f=r.type,e!==null&&r.stateNode!=null)e.memoizedProps!==i&&RZ(r);else{if(!i){if(r.stateNode===null)throw Error(Ft(166));return Ba(r),null}e=oZ.current,fk(r)?DX(r,e):(e=fee(f,i,a),r.stateNode=e,RZ(r))}return Ba(r),null;case 5:if(PO(r),f=r.type,e!==null&&r.stateNode!=null)e.memoizedProps!==i&&RZ(r);else{if(!i){if(r.stateNode===null)throw Error(Ft(166));return Ba(r),null}if(s=oZ.current,fk(r))DX(r,s);else{var l=$O(qM.current);switch(s){case 1:s=l.createElementNS("http://www.w3.org/2000/svg",f);break;case 2:s=l.createElementNS("http://www.w3.org/1998/Math/MathML",f);break;default:switch(f){case"svg":s=l.createElementNS("http://www.w3.org/2000/svg",f);break;case"math":s=l.createElementNS("http://www.w3.org/1998/Math/MathML",f);break;case"script":s=l.createElement("div"),s.innerHTML="<script></script>",s=s.removeChild(s.firstChild);break;case"select":s=typeof i.is==="string"?l.createElement("select",{is:i.is}):l.createElement("select"),i.multiple?s.multiple=!0:i.size&&(s.size=i.size);break;default:s=typeof i.is==="string"?l.createElement(f,{is:i.is}):l.createElement(f)}}s[Wi]=r,s[Ws]=i;e:for(l=r.child;l!==null;){if(l.tag===5||l.tag===6)s.appendChild(l.stateNode);else if(l.tag!==4&&l.tag!==27&&l.child!==null){l.child.return=l,l=l.child;continue}if(l===r)break e;for(;l.sibling===null;){if(l.return===null||l.return===r)break e;l=l.return}l.sibling.return=l.return,l=l.sibling}r.stateNode=s;e:switch(Xi(s,f,i),f){case"button":case"input":case"select":case"textarea":i=!!i.autoFocus;break e;case"img":i=!0;break e;default:i=!1}i&&RZ(r)}}return Ba(r),eB(r,r.type,e===null?null:e.memoizedProps,r.pendingProps,a),null;case 6:if(e&&r.stateNode!=null)e.memoizedProps!==i&&RZ(r);else{if(typeof i!=="string"&&r.stateNode===null)throw Error(Ft(166));if(e=qM.current,fk(r)){if(e=r.stateNode,a=r.memoizedProps,i=null,f=Gi,f!==null)switch(f.tag){case 27:case 5:i=f.memoizedProps}e[Wi]=r,e=e.nodeValue===a||i!==null&&i.suppressHydrationWarning===!0||oee(e.nodeValue,a)?!0:!1,e||JM(r,!0)}else e=$O(e).createTextNode(i),e[Wi]=r,r.stateNode=e}return Ba(r),null;case 31:if(a=r.memoizedState,e===null||e.memoizedState!==null){if(i=fk(r),a!==null){if(e===null){if(!i)throw Error(Ft(318));if(e=r.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(Ft(557));e[Wi]=r}else vz(),(r.flags&128)===0&&(r.memoizedState=null),r.flags|=4;Ba(r),e=!1}else a=V3(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=a),e=!0;if(!e){if(r.flags&256)return Ol(r),r;return Ol(r),null}if((r.flags&128)!==0)throw Error(Ft(558))}return Ba(r),null;case 13:if(i=r.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(f=fk(r),i!==null&&i.dehydrated!==null){if(e===null){if(!f)throw Error(Ft(318));if(f=r.memoizedState,f=f!==null?f.dehydrated:null,!f)throw Error(Ft(317));f[Wi]=r}else vz(),(r.flags&128)===0&&(r.memoizedState=null),r.flags|=4;Ba(r),f=!1}else f=V3(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=f),f=!0;if(!f){if(r.flags&256)return Ol(r),r;return Ol(r),null}}if(Ol(r),(r.flags&128)!==0)return r.lanes=a,r;return a=i!==null,e=e!==null&&e.memoizedState!==null,a&&(i=r.child,f=null,i.alternate!==null&&i.alternate.memoizedState!==null&&i.alternate.memoizedState.cachePool!==null&&(f=i.alternate.memoizedState.cachePool.pool),s=null,i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(s=i.memoizedState.cachePool.pool),s!==f&&(i.flags|=2048)),a!==e&&a&&(r.child.flags|=8192),lO(r,r.updateQueue),Ba(r),null;case 4:return Rk(),e===null&&tee(r.stateNode.containerInfo),Ba(r),null;case 10:return BZ(r.type),Ba(r),null;case 19:if(Li(On),i=r.memoizedState,i===null)return Ba(r),null;if(f=(r.flags&128)!==0,s=i.rendering,s===null)if(f)jR(i,!1);else{if(Mn!==0||e!==null&&(e.flags&128)!==0)for(e=r.child;e!==null;){if(s=BO(e),s!==null){r.flags|=128,jR(i,!1),e=s.updateQueue,r.updateQueue=e,lO(r,e),r.subtreeFlags=0,e=a;for(a=r.child;a!==null;)xJ(a,e),a=a.sibling;return Pa(On,On.current&1|2),zo&&DZ(r,i.treeForkCount),r.child}e=e.sibling}i.tail!==null&&Fl()>WO&&(r.flags|=128,f=!0,jR(i,!1),r.lanes=4194304)}else{if(!f)if(e=BO(s),e!==null){if(r.flags|=128,f=!0,e=e.updateQueue,r.updateQueue=e,lO(r,e),jR(i,!0),i.tail===null&&i.tailMode==="hidden"&&!s.alternate&&!zo)return Ba(r),null}else 2*Fl()-i.renderingStartTime>WO&&a!==536870912&&(r.flags|=128,f=!0,jR(i,!1),r.lanes=4194304);i.isBackwards?(s.sibling=r.child,r.child=s):(e=i.last,e!==null?e.sibling=s:r.child=s,i.last=s)}if(i.tail!==null)return e=i.tail,i.rendering=e,i.tail=e.sibling,i.renderingStartTime=Fl(),e.sibling=null,a=On.current,Pa(On,f?a&1|2:a&1),zo&&DZ(r,i.treeForkCount),e;return Ba(r),null;case 22:case 23:return Ol(r),k6(),i=r.memoizedState!==null,e!==null?e.memoizedState!==null!==i&&(r.flags|=8192):i&&(r.flags|=8192),i?(a&536870912)!==0&&(r.flags&128)===0&&(Ba(r),r.subtreeFlags&6&&(r.flags|=8192)):Ba(r),a=r.updateQueue,a!==null&&lO(r,a.retryQueue),a=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(a=e.memoizedState.cachePool.pool),i=null,r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(i=r.memoizedState.cachePool.pool),i!==a&&(r.flags|=2048),e!==null&&Li(pz),null;case 24:return a=null,e!==null&&(a=e.memoizedState.cache),r.memoizedState.cache!==a&&(r.flags|=2048),BZ(li),Ba(r),null;case 25:return null;case 30:return null}throw Error(Ft(156,r.tag))}function S_e(e,r){switch(_6(r),r.tag){case 1:return e=r.flags,e&65536?(r.flags=e&-65537|128,r):null;case 3:return BZ(li),Rk(),e=r.flags,(e&65536)!==0&&(e&128)===0?(r.flags=e&-65537|128,r):null;case 26:case 27:case 5:return PO(r),null;case 31:if(r.memoizedState!==null){if(Ol(r),r.alternate===null)throw Error(Ft(340));vz()}return e=r.flags,e&65536?(r.flags=e&-65537|128,r):null;case 13:if(Ol(r),e=r.memoizedState,e!==null&&e.dehydrated!==null){if(r.alternate===null)throw Error(Ft(340));vz()}return e=r.flags,e&65536?(r.flags=e&-65537|128,r):null;case 19:return Li(On),null;case 4:return Rk(),null;case 10:return BZ(r.type),null;case 22:case 23:return Ol(r),k6(),e!==null&&Li(pz),e=r.flags,e&65536?(r.flags=e&-65537|128,r):null;case 24:return BZ(li),null;case 25:return null;default:return null}}function g$(e,r){switch(_6(r),r.tag){case 3:BZ(li),Rk();break;case 26:case 27:case 5:PO(r);break;case 4:Rk();break;case 31:r.memoizedState!==null&&Ol(r);break;case 13:Ol(r);break;case 19:Li(On);break;case 10:BZ(r.type);break;case 22:case 23:Ol(r),k6(),e!==null&&Li(pz);break;case 24:BZ(li)}}function RP(e,r){try{var a=r.updateQueue,i=a!==null?a.lastEffect:null;if(i!==null){var f=i.next;a=f;do{if((a.tag&e)===e){i=void 0;var s=a.create,l=a.inst;i=s(),l.destroy=i}a=a.next}while(a!==f)}}catch(c){ta(r,r.return,c)}}function $M(e,r,a){try{var i=r.updateQueue,f=i!==null?i.lastEffect:null;if(f!==null){var s=f.next;i=s;do{if((i.tag&e)===e){var l=i.inst,c=l.destroy;if(c!==void 0){l.destroy=void 0,f=r;var m=a,g=c;try{g()}catch(M){ta(f,m,M)}}}i=i.next}while(i!==s)}}catch(M){ta(r,r.return,M)}}function M$(e){var r=e.updateQueue;if(r!==null){var a=e.stateNode;try{CJ(r,a)}catch(i){ta(e,e.return,i)}}}function v$(e,r,a){a.props=_z(e.type,e.memoizedProps),a.state=e.memoizedState;try{a.componentWillUnmount()}catch(i){ta(e,r,i)}}function aP(e,r){try{var a=e.ref;if(a!==null){switch(e.tag){case 26:case 27:case 5:var i=e.stateNode;break;case 30:i=e.stateNode;break;default:i=e.stateNode}typeof a==="function"?e.refCleanup=a(i):a.current=i}}catch(f){ta(e,r,f)}}function rZ(e,r){var a=e.ref,i=e.refCleanup;if(a!==null)if(typeof i==="function")try{i()}catch(f){ta(e,r,f)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof a==="function")try{a(null)}catch(f){ta(e,r,f)}else a.current=null}function x$(e){var{type:r,memoizedProps:a,stateNode:i}=e;try{e:switch(r){case"button":case"input":case"select":case"textarea":a.autoFocus&&i.focus();break e;case"img":a.src?i.src=a.src:a.srcSet&&(i.srcset=a.srcSet)}}catch(f){ta(e,e.return,f)}}function tB(e,r,a){try{var i=e.stateNode;H_e(i,e.type,a,r),i[Ws]=r}catch(f){ta(e,e.return,f)}}function y$(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&r8(e.type)||e.tag===4}function rB(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||y$(e.return))return null;e=e.return}e.sibling.return=e.return;for(e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&r8(e.type))continue e;if(e.flags&2)continue e;if(e.child===null||e.tag===4)continue e;else e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function qB(e,r,a){var i=e.tag;if(i===5||i===6)e=e.stateNode,r?(a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a).insertBefore(e,r):(r=a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a,r.appendChild(e),a=a._reactRootContainer,a!==null&&a!==void 0||r.onclick!==null||(r.onclick=jZ));else if(i!==4&&(i===27&&r8(e.type)&&(a=e.stateNode,r=null),e=e.child,e!==null))for(qB(e,r,a),e=e.sibling;e!==null;)qB(e,r,a),e=e.sibling}function HO(e,r,a){var i=e.tag;if(i===5||i===6)e=e.stateNode,r?a.insertBefore(e,r):a.appendChild(e);else if(i!==4&&(i===27&&r8(e.type)&&(a=e.stateNode),e=e.child,e!==null))for(HO(e,r,a),e=e.sibling;e!==null;)HO(e,r,a),e=e.sibling}function b$(e){var{stateNode:r,memoizedProps:a}=e;try{for(var i=e.type,f=r.attributes;f.length;)r.removeAttributeNode(f[0]);Xi(r,i,a),r[Wi]=e,r[Ws]=a}catch(s){ta(e,e.return,s)}}var EZ=!1,si=!1,oB=!1,fQ=typeof WeakSet==="function"?WeakSet:Set,_i=null;function L_e(e,r){if(e=e.containerInfo,$B=oj,e=dJ(e),M6(e)){if("selectionStart"in e)var a={start:e.selectionStart,end:e.selectionEnd};else e:{a=(a=e.ownerDocument)&&a.defaultView||window;var i=a.getSelection&&a.getSelection();if(i&&i.rangeCount!==0){a=i.anchorNode;var f=i.anchorOffset,s=i.focusNode;i=i.focusOffset;try{a.nodeType,s.nodeType}catch(k){a=null;break e}var l=0,c=-1,m=-1,g=0,M=0,x=e,b=null;t:for(;;){for(var y;;){if(x!==a||f!==0&&x.nodeType!==3||(c=l+f),x!==s||i!==0&&x.nodeType!==3||(m=l+i),x.nodeType===3&&(l+=x.nodeValue.length),(y=x.firstChild)===null)break;b=x,x=y}for(;;){if(x===e)break t;if(b===a&&++g===f&&(c=l),b===s&&++M===i&&(m=l),(y=x.nextSibling)!==null)break;x=b,b=x.parentNode}x=y}a=c===-1||m===-1?null:{start:c,end:m}}else a=null}a=a||{start:0,end:0}}else a=null;e6={focusedElem:e,selectionRange:a},oj=!1;for(_i=r;_i!==null;)if(r=_i,e=r.child,(r.subtreeFlags&1028)!==0&&e!==null)e.return=r,_i=e;else for(;_i!==null;){switch(r=_i,s=r.alternate,e=r.flags,r.tag){case 0:if((e&4)!==0&&(e=r.updateQueue,e=e!==null?e.events:null,e!==null))for(a=0;a<e.length;a++)f=e[a],f.ref.impl=f.nextImpl;break;case 11:case 15:break;case 1:if((e&1024)!==0&&s!==null){e=void 0,a=r,f=s.memoizedProps,s=s.memoizedState,i=a.stateNode;try{var _=_z(a.type,f);e=i.getSnapshotBeforeUpdate(_,s),i.__reactInternalSnapshotBeforeUpdate=e}catch(k){ta(a,a.return,k)}}break;case 3:if((e&1024)!==0){if(e=r.stateNode.containerInfo,a=e.nodeType,a===9)r6(e);else if(a===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":r6(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((e&1024)!==0)throw Error(Ft(163))}if(e=r.sibling,e!==null){e.return=r.return,_i=e;break}_i=r.return}}function _$(e,r,a){var i=a.flags;switch(a.tag){case 0:case 11:case 15:TZ(e,a),i&4&&RP(5,a);break;case 1:if(TZ(e,a),i&4)if(e=a.stateNode,r===null)try{e.componentDidMount()}catch(l){ta(a,a.return,l)}else{var f=_z(a.type,r.memoizedProps);r=r.memoizedState;try{e.componentDidUpdate(f,r,e.__reactInternalSnapshotBeforeUpdate)}catch(l){ta(a,a.return,l)}}i&64&&M$(a),i&512&&aP(a,a.return);break;case 3:if(TZ(e,a),i&64&&(e=a.updateQueue,e!==null)){if(r=null,a.child!==null)switch(a.child.tag){case 27:case 5:r=a.child.stateNode;break;case 1:r=a.child.stateNode}try{CJ(e,r)}catch(l){ta(a,a.return,l)}}break;case 27:r===null&&i&4&&b$(a);case 26:case 5:TZ(e,a),r===null&&i&4&&x$(a),i&512&&aP(a,a.return);break;case 12:TZ(e,a);break;case 31:TZ(e,a),i&4&&S$(e,a);break;case 13:TZ(e,a),i&4&&L$(e,a),i&64&&(e=a.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(a=E_e.bind(null,a),ewe(e,a))));break;case 22:if(i=a.memoizedState!==null||EZ,!i){r=r!==null&&r.memoizedState!==null||si,f=EZ;var s=si;EZ=i,(si=r)&&!s?AZ(e,a,(a.subtreeFlags&8772)!==0):TZ(e,a),EZ=f,si=s}break;case 30:break;default:TZ(e,a)}}function w$(e){var r=e.alternate;r!==null&&(e.alternate=null,w$(r)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(r=e.stateNode,r!==null&&d6(r)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var nn=null,qs=!1;function PZ(e,r,a){for(a=a.child;a!==null;)z$(e,r,a),a=a.sibling}function z$(e,r,a){if(Bl&&typeof Bl.onCommitFiberUnmount==="function")try{Bl.onCommitFiberUnmount(wP,a)}catch(s){}switch(a.tag){case 26:si||rZ(a,r),PZ(e,r,a),a.memoizedState?a.memoizedState.count--:a.stateNode&&(a=a.stateNode,a.parentNode.removeChild(a));break;case 27:si||rZ(a,r);var i=nn,f=qs;r8(a.type)&&(nn=a.stateNode,qs=!1),PZ(e,r,a),sP(a.stateNode),nn=i,qs=f;break;case 5:si||rZ(a,r);case 6:if(i=nn,f=qs,nn=null,PZ(e,r,a),nn=i,qs=f,nn!==null)if(qs)try{(nn.nodeType===9?nn.body:nn.nodeName==="HTML"?nn.ownerDocument.body:nn).removeChild(a.stateNode)}catch(s){ta(a,r,s)}else try{nn.removeChild(a.stateNode)}catch(s){ta(a,r,s)}break;case 18:nn!==null&&(qs?(e=nn,xQ(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,a.stateNode),Bk(e)):xQ(nn,a.stateNode));break;case 4:i=nn,f=qs,nn=a.stateNode.containerInfo,qs=!0,PZ(e,r,a),nn=i,qs=f;break;case 0:case 11:case 14:case 15:$M(2,a,r),si||$M(4,a,r),PZ(e,r,a);break;case 1:si||(rZ(a,r),i=a.stateNode,typeof i.componentWillUnmount==="function"&&v$(a,r,i)),PZ(e,r,a);break;case 21:PZ(e,r,a);break;case 22:si=(i=si)||a.memoizedState!==null,PZ(e,r,a),si=i;break;default:PZ(e,r,a)}}function S$(e,r){if(r.memoizedState===null&&(e=r.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{Bk(e)}catch(a){ta(r,r.return,a)}}}function L$(e,r){if(r.memoizedState===null&&(e=r.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{Bk(e)}catch(a){ta(r,r.return,a)}}function k_e(e){switch(e.tag){case 31:case 13:case 19:var r=e.stateNode;return r===null&&(r=e.stateNode=new fQ),r;case 22:return e=e.stateNode,r=e._retryCache,r===null&&(r=e._retryCache=new fQ),r;default:throw Error(Ft(435,e.tag))}}function cO(e,r){var a=k_e(e);r.forEach(function(i){if(!a.has(i)){a.add(i);var f=O_e.bind(null,e,i);i.then(f,f)}})}function Ys(e,r){var a=r.deletions;if(a!==null)for(var i=0;i<a.length;i++){var f=a[i],s=e,l=r,c=l;e:for(;c!==null;){switch(c.tag){case 27:if(r8(c.type)){nn=c.stateNode,qs=!1;break e}break;case 5:nn=c.stateNode,qs=!1;break e;case 3:case 4:nn=c.stateNode.containerInfo,qs=!0;break e}c=c.return}if(nn===null)throw Error(Ft(160));z$(s,l,f),nn=null,qs=!1,s=f.alternate,s!==null&&(s.return=null),f.return=null}if(r.subtreeFlags&13886)for(r=r.child;r!==null;)k$(r,e),r=r.sibling}var iu=null;function k$(e,r){var a=e.alternate,i=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:Ys(r,e),Us(e),i&4&&($M(3,e,e.return),RP(3,e),$M(5,e,e.return));break;case 1:Ys(r,e),Us(e),i&512&&(si||a===null||rZ(a,a.return)),i&64&&EZ&&(e=e.updateQueue,e!==null&&(i=e.callbacks,i!==null&&(a=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=a===null?i:a.concat(i))));break;case 26:var f=iu;if(Ys(r,e),Us(e),i&512&&(si||a===null||rZ(a,a.return)),i&4){var s=a!==null?a.memoizedState:null;if(i=e.memoizedState,a===null)if(i===null)if(e.stateNode===null){e:{i=e.type,a=e.memoizedProps,f=f.ownerDocument||f;t:switch(i){case"title":if(s=f.getElementsByTagName("title")[0],!s||s[LP]||s[Wi]||s.namespaceURI==="http://www.w3.org/2000/svg"||s.hasAttribute("itemprop"))s=f.createElement(i),f.head.insertBefore(s,f.querySelector("head > title"));Xi(s,i,a),s[Wi]=e,zi(s),i=s;break e;case"link":var l=LQ("link","href",f).get(i+(a.href||""));if(l){for(var c=0;c<l.length;c++)if(s=l[c],s.getAttribute("href")===(a.href==null||a.href===""?null:a.href)&&s.getAttribute("rel")===(a.rel==null?null:a.rel)&&s.getAttribute("title")===(a.title==null?null:a.title)&&s.getAttribute("crossorigin")===(a.crossOrigin==null?null:a.crossOrigin)){l.splice(c,1);break t}}s=f.createElement(i),Xi(s,i,a),f.head.appendChild(s);break;case"meta":if(l=LQ("meta","content",f).get(i+(a.content||""))){for(c=0;c<l.length;c++)if(s=l[c],s.getAttribute("content")===(a.content==null?null:""+a.content)&&s.getAttribute("name")===(a.name==null?null:a.name)&&s.getAttribute("property")===(a.property==null?null:a.property)&&s.getAttribute("http-equiv")===(a.httpEquiv==null?null:a.httpEquiv)&&s.getAttribute("charset")===(a.charSet==null?null:a.charSet)){l.splice(c,1);break t}}s=f.createElement(i),Xi(s,i,a),f.head.appendChild(s);break;default:throw Error(Ft(468,i))}s[Wi]=e,zi(s),i=s}e.stateNode=i}else kQ(f,e.type,e.stateNode);else e.stateNode=SQ(f,i,e.memoizedProps);else s!==i?(s===null?a.stateNode!==null&&(a=a.stateNode,a.parentNode.removeChild(a)):s.count--,i===null?kQ(f,e.type,e.stateNode):SQ(f,i,e.memoizedProps)):i===null&&e.stateNode!==null&&tB(e,e.memoizedProps,a.memoizedProps)}break;case 27:Ys(r,e),Us(e),i&512&&(si||a===null||rZ(a,a.return)),a!==null&&i&4&&tB(e,e.memoizedProps,a.memoizedProps);break;case 5:if(Ys(r,e),Us(e),i&512&&(si||a===null||rZ(a,a.return)),e.flags&32){f=e.stateNode;try{Tk(f,"")}catch(_){ta(e,e.return,_)}}i&4&&e.stateNode!=null&&(f=e.memoizedProps,tB(e,f,a!==null?a.memoizedProps:f)),i&1024&&(oB=!0);break;case 6:if(Ys(r,e),Us(e),i&4){if(e.stateNode===null)throw Error(Ft(162));i=e.memoizedProps,a=e.stateNode;try{a.nodeValue=i}catch(_){ta(e,e.return,_)}}break;case 3:if(LO=null,f=iu,iu=ej(r.containerInfo),Ys(r,e),iu=f,Us(e),i&4&&a!==null&&a.memoizedState.isDehydrated)try{Bk(r.containerInfo)}catch(_){ta(e,e.return,_)}oB&&(oB=!1,I$(e));break;case 4:i=iu,iu=ej(e.stateNode.containerInfo),Ys(r,e),Us(e),iu=i;break;case 12:Ys(r,e),Us(e);break;case 31:Ys(r,e),Us(e),i&4&&(i=e.updateQueue,i!==null&&(e.updateQueue=null,cO(e,i)));break;case 13:Ys(r,e),Us(e),e.child.flags&8192&&e.memoizedState!==null!==(a!==null&&a.memoizedState!==null)&&(gj=Fl()),i&4&&(i=e.updateQueue,i!==null&&(e.updateQueue=null,cO(e,i)));break;case 22:f=e.memoizedState!==null;var m=a!==null&&a.memoizedState!==null,g=EZ,M=si;if(EZ=g||f,si=M||m,Ys(r,e),si=M,EZ=g,Us(e),i&8192)e:for(r=e.stateNode,r._visibility=f?r._visibility&-2:r._visibility|1,f&&(a===null||m||EZ||si||uz(e)),a=null,r=e;;){if(r.tag===5||r.tag===26){if(a===null){m=a=r;try{if(s=m.stateNode,f)l=s.style,typeof l.setProperty==="function"?l.setProperty("display","none","important"):l.display="none";else{c=m.stateNode;var x=m.memoizedProps.style,b=x!==void 0&&x!==null&&x.hasOwnProperty("display")?x.display:null;c.style.display=b==null||typeof b==="boolean"?"":(""+b).trim()}}catch(_){ta(m,m.return,_)}}}else if(r.tag===6){if(a===null){m=r;try{m.stateNode.nodeValue=f?"":m.memoizedProps}catch(_){ta(m,m.return,_)}}}else if(r.tag===18){if(a===null){m=r;try{var y=m.stateNode;f?yQ(y,!0):yQ(m.stateNode,!1)}catch(_){ta(m,m.return,_)}}}else if((r.tag!==22&&r.tag!==23||r.memoizedState===null||r===e)&&r.child!==null){r.child.return=r,r=r.child;continue}if(r===e)break e;for(;r.sibling===null;){if(r.return===null||r.return===e)break e;a===r&&(a=null),r=r.return}a===r&&(a=null),r.sibling.return=r.return,r=r.sibling}i&4&&(i=e.updateQueue,i!==null&&(a=i.retryQueue,a!==null&&(i.retryQueue=null,cO(e,a))));break;case 19:Ys(r,e),Us(e),i&4&&(i=e.updateQueue,i!==null&&(e.updateQueue=null,cO(e,i)));break;case 30:break;case 21:break;default:Ys(r,e),Us(e)}}function Us(e){var r=e.flags;if(r&2){try{for(var a,i=e.return;i!==null;){if(y$(i)){a=i;break}i=i.return}if(a==null)throw Error(Ft(160));switch(a.tag){case 27:var f=a.stateNode,s=rB(e);HO(e,s,f);break;case 5:var l=a.stateNode;a.flags&32&&(Tk(l,""),a.flags&=-33);var c=rB(e);HO(e,c,l);break;case 3:case 4:var m=a.stateNode.containerInfo,g=rB(e);qB(e,g,m);break;default:throw Error(Ft(161))}}catch(M){ta(e,e.return,M)}e.flags&=-3}r&4096&&(e.flags&=-4097)}function I$(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var r=e;I$(r),r.tag===5&&r.flags&1024&&r.stateNode.reset(),e=e.sibling}}function TZ(e,r){if(r.subtreeFlags&8772)for(r=r.child;r!==null;)_$(e,r.alternate,r),r=r.sibling}function uz(e){for(e=e.child;e!==null;){var r=e;switch(r.tag){case 0:case 11:case 14:case 15:$M(4,r,r.return),uz(r);break;case 1:rZ(r,r.return);var a=r.stateNode;typeof a.componentWillUnmount==="function"&&v$(r,r.return,a),uz(r);break;case 27:sP(r.stateNode);case 26:case 5:rZ(r,r.return),uz(r);break;case 22:r.memoizedState===null&&uz(r);break;case 30:uz(r);break;default:uz(r)}e=e.sibling}}function AZ(e,r,a){a=a&&(r.subtreeFlags&8772)!==0;for(r=r.child;r!==null;){var i=r.alternate,f=e,s=r,l=s.flags;switch(s.tag){case 0:case 11:case 15:AZ(f,s,a),RP(4,s);break;case 1:if(AZ(f,s,a),i=s,f=i.stateNode,typeof f.componentDidMount==="function")try{f.componentDidMount()}catch(g){ta(i,i.return,g)}if(i=s,f=i.updateQueue,f!==null){var c=i.stateNode;try{var m=f.shared.hiddenCallbacks;if(m!==null)for(f.shared.hiddenCallbacks=null,f=0;f<m.length;f++)IJ(m[f],c)}catch(g){ta(i,i.return,g)}}a&&l&64&&M$(s),aP(s,s.return);break;case 27:b$(s);case 26:case 5:AZ(f,s,a),a&&i===null&&l&4&&x$(s),aP(s,s.return);break;case 12:AZ(f,s,a);break;case 31:AZ(f,s,a),a&&l&4&&S$(f,s);break;case 13:AZ(f,s,a),a&&l&4&&L$(f,s);break;case 22:s.memoizedState===null&&AZ(f,s,a),aP(s,s.return);break;case 30:break;default:AZ(f,s,a)}r=r.sibling}}function q6(e,r){var a=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(a=e.memoizedState.cachePool.pool),e=null,r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(e=r.memoizedState.cachePool.pool),e!==a&&(e!=null&&e.refCount++,a!=null&&IP(a))}function V6(e,r){e=null,r.alternate!==null&&(e=r.alternate.memoizedState.cache),r=r.memoizedState.cache,r!==e&&(r.refCount++,e!=null&&IP(e))}function nu(e,r,a,i){if(r.subtreeFlags&10256)for(r=r.child;r!==null;)C$(e,r,a,i),r=r.sibling}function C$(e,r,a,i){var f=r.flags;switch(r.tag){case 0:case 11:case 15:nu(e,r,a,i),f&2048&&RP(9,r);break;case 1:nu(e,r,a,i);break;case 3:nu(e,r,a,i),f&2048&&(e=null,r.alternate!==null&&(e=r.alternate.memoizedState.cache),r=r.memoizedState.cache,r!==e&&(r.refCount++,e!=null&&IP(e)));break;case 12:if(f&2048){nu(e,r,a,i),e=r.stateNode;try{var s=r.memoizedProps,l=s.id,c=s.onPostCommit;typeof c==="function"&&c(l,r.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(m){ta(r,r.return,m)}}else nu(e,r,a,i);break;case 31:nu(e,r,a,i);break;case 13:nu(e,r,a,i);break;case 23:break;case 22:s=r.stateNode,l=r.alternate,r.memoizedState!==null?s._visibility&2?nu(e,r,a,i):nP(e,r):s._visibility&2?nu(e,r,a,i):(s._visibility|=2,lk(e,r,a,i,(r.subtreeFlags&10256)!==0||!1)),f&2048&&q6(l,r);break;case 24:nu(e,r,a,i),f&2048&&V6(r.alternate,r);break;default:nu(e,r,a,i)}}function lk(e,r,a,i,f){f=f&&((r.subtreeFlags&10256)!==0||!1);for(r=r.child;r!==null;){var s=e,l=r,c=a,m=i,g=l.flags;switch(l.tag){case 0:case 11:case 15:lk(s,l,c,m,f),RP(8,l);break;case 23:break;case 22:var M=l.stateNode;l.memoizedState!==null?M._visibility&2?lk(s,l,c,m,f):nP(s,l):(M._visibility|=2,lk(s,l,c,m,f)),f&&g&2048&&q6(l.alternate,l);break;case 24:lk(s,l,c,m,f),f&&g&2048&&V6(l.alternate,l);break;default:lk(s,l,c,m,f)}r=r.sibling}}function nP(e,r){if(r.subtreeFlags&10256)for(r=r.child;r!==null;){var a=e,i=r,f=i.flags;switch(i.tag){case 22:nP(a,i),f&2048&&q6(i.alternate,i);break;case 24:nP(a,i),f&2048&&V6(i.alternate,i);break;default:nP(a,i)}r=r.sibling}}var WR=8192;function sk(e,r,a){if(e.subtreeFlags&WR)for(e=e.child;e!==null;)R$(e,r,a),e=e.sibling}function R$(e,r,a){switch(e.tag){case 26:sk(e,r,a),e.flags&WR&&e.memoizedState!==null&&dwe(a,iu,e.memoizedState,e.memoizedProps);break;case 5:sk(e,r,a);break;case 3:case 4:var i=iu;iu=ej(e.stateNode.containerInfo),sk(e,r,a),iu=i;break;case 22:e.memoizedState===null&&(i=e.alternate,i!==null&&i.memoizedState!==null?(i=WR,WR=16777216,sk(e,r,a),WR=i):sk(e,r,a));break;default:sk(e,r,a)}}function P$(e){var r=e.alternate;if(r!==null&&(e=r.child,e!==null)){r.child=null;do r=e.sibling,e.sibling=null,e=r;while(e!==null)}}function NR(e){var r=e.deletions;if((e.flags&16)!==0){if(r!==null)for(var a=0;a<r.length;a++){var i=r[a];_i=i,A$(i,e)}P$(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)T$(e),e=e.sibling}function T$(e){switch(e.tag){case 0:case 11:case 15:NR(e),e.flags&2048&&$M(9,e,e.return);break;case 3:NR(e);break;case 12:NR(e);break;case 22:var r=e.stateNode;e.memoizedState!==null&&r._visibility&2&&(e.return===null||e.return.tag!==13)?(r._visibility&=-3,zO(e)):NR(e);break;default:NR(e)}}function zO(e){var r=e.deletions;if((e.flags&16)!==0){if(r!==null)for(var a=0;a<r.length;a++){var i=r[a];_i=i,A$(i,e)}P$(e)}for(e=e.child;e!==null;){switch(r=e,r.tag){case 0:case 11:case 15:$M(8,r,r.return),zO(r);break;case 22:a=r.stateNode,a._visibility&2&&(a._visibility&=-3,zO(r));break;default:zO(r)}e=e.sibling}}function A$(e,r){for(;_i!==null;){var a=_i;switch(a.tag){case 0:case 11:case 15:$M(8,a,r);break;case 23:case 22:if(a.memoizedState!==null&&a.memoizedState.cachePool!==null){var i=a.memoizedState.cachePool.pool;i!=null&&i.refCount++}break;case 24:IP(a.memoizedState.cache)}if(i=a.child,i!==null)i.return=a,_i=i;else e:for(a=e;_i!==null;){i=_i;var f=i.sibling,s=i.return;if(w$(i),i===a){_i=null;break e}if(f!==null){f.return=s,_i=f;break e}_i=s}}}var I_e={getCacheForType:function(e){var r=Ki(li),a=r.data.get(e);return a===void 0&&(a=e(),r.data.set(e,a)),a},cacheSignal:function(){return Ki(li).controller.signal}},C_e=typeof WeakMap==="function"?WeakMap:Map,Fo=0,ka=null,ho=null,Mo=0,ea=0,Dl=null,BM=!1,Vk=!1,H6=!1,WZ=0,Mn=0,e8=0,Mz=0,W6=0,Nl=0,Ok=0,iP=null,Vs=null,VB=!1,gj=0,D$=0,WO=1/0,GO=null,HM=null,pi=0,WM=null,jk=null,YZ=0,HB=0,WB=null,E$=null,fP=0,GB=null;function pc(){return(Fo&2)!==0&&Mo!==0?Mo&-Mo:Yr.T!==null?K6():GQ()}function O$(){if(Nl===0)if((Mo&536870912)===0||zo){var e=rO;rO<<=1,(rO&3932160)===0&&(rO=262144),Nl=e}else Nl=536870912;return e=ql.current,e!==null&&(e.flags|=32),Nl}function Hs(e,r,a){if(e===ka&&(ea===2||ea===9)||e.cancelPendingCommit!==null)Nk(e,0),YM(e,Mo,Nl,!1);if(ij(e,a),(Fo&2)===0||e!==ka)e===ka&&((Fo&2)===0&&(Mz|=a),Mn===4&&YM(e,Mo,Nl,!1)),GZ(e)}function j$(e,r,a){if((Fo&6)!==0)throw Error(Ft(327));var i=!a&&(r&127)===0&&(r&e.expiredLanes)===0||zP(e,r),f=i?T_e(e,r):aB(e,r,!0),s=i;do{if(f===0){Vk&&!i&&YM(e,r,0,!1);break}else{if(a=e.current.alternate,s&&!R_e(a)){f=aB(e,r,!1),s=!1;continue}if(f===2){if(s=r,e.errorRecoveryDisabledLanes&s)var l=0;else l=e.pendingLanes&-536870913,l=l!==0?l:l&536870912?536870912:0;if(l!==0){r=l;e:{var c=e;f=iP;var m=c.current.memoizedState.isDehydrated;if(m&&(Nk(c,l).flags|=256),l=aB(c,l,!1),l!==2){if(H6&&!m){c.errorRecoveryDisabledLanes|=s,Mz|=s,f=4;break e}s=Vs,Vs=f,s!==null&&(Vs===null?Vs=s:Vs.push.apply(Vs,s))}f=l}if(s=!1,f!==2)continue}}if(f===1){Nk(e,0),YM(e,r,0,!0);break}e:{switch(i=e,s=f,s){case 0:case 1:throw Error(Ft(345));case 4:if((r&4194048)!==r)break;case 6:YM(i,r,Nl,!BM);break e;case 2:Vs=null;break;case 3:case 5:break;default:throw Error(Ft(329))}if((r&62914560)===r&&(f=gj+300-Fl(),10<f)){if(YM(i,r,Nl,!BM),nj(i,0,!0)!==0)break e;YZ=r,i.timeoutHandle=nee(sQ.bind(null,i,a,Vs,GO,VB,r,Nl,Mz,Ok,BM,s,"Throttled",-0,0),f);break e}sQ(i,a,Vs,GO,VB,r,Nl,Mz,Ok,BM,s,null,-0,0)}}break}while(1);GZ(e)}function sQ(e,r,a,i,f,s,l,c,m,g,M,x,b,y){if(e.timeoutHandle=-1,x=r.subtreeFlags,x&8192||(x&16785408)===16785408){x={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:jZ},R$(r,s,x);var _=(s&62914560)===s?gj-Fl():(s&4194048)===s?D$-Fl():0;if(_=Zwe(x,_),_!==null){YZ=s,e.cancelPendingCommit=_(cQ.bind(null,e,r,s,a,i,f,l,c,m,M,x,null,b,y)),YM(e,s,l,!g);return}}cQ(e,r,s,a,i,f,l,c,m)}function R_e(e){for(var r=e;;){var a=r.tag;if((a===0||a===11||a===15)&&r.flags&16384&&(a=r.updateQueue,a!==null&&(a=a.stores,a!==null)))for(var i=0;i<a.length;i++){var f=a[i],s=f.getSnapshot;f=f.value;try{if(!Ul(s(),f))return!1}catch(l){return!1}}if(a=r.child,r.subtreeFlags&16384&&a!==null)a.return=r,r=a;else{if(r===e)break;for(;r.sibling===null;){if(r.return===null||r.return===e)return!0;r=r.return}r.sibling.return=r.return,r=r.sibling}}return!0}function YM(e,r,a,i){r&=~W6,r&=~Mz,e.suspendedLanes|=r,e.pingedLanes&=~r,i&&(e.warmLanes|=r),i=e.expirationTimes;for(var f=r;0<f;){var s=31-Yl(f),l=1<<s;i[s]=-1,f&=~l}a!==0&&qQ(e,a,r)}function Mj(){return(Fo&6)===0?(PP(0,!1),!1):!0}function G6(){if(ho!==null){if(ea===0)var e=ho.return;else e=ho,NZ=kz=null,T6(e),kk=null,mP=0,e=ho;for(;e!==null;)g$(e.alternate,e),e=e.return;ho=null}}function Nk(e,r){var a=e.timeoutHandle;a!==-1&&(e.timeoutHandle=-1,K_e(a)),a=e.cancelPendingCommit,a!==null&&(e.cancelPendingCommit=null,a()),YZ=0,G6(),ka=e,ho=a=FZ(e.current,null),Mo=r,ea=0,Dl=null,BM=!1,Vk=zP(e,r),H6=!1,Ok=Nl=W6=Mz=e8=Mn=0,Vs=iP=null,VB=!1,(r&8)!==0&&(r|=r&32);var i=e.entangledLanes;if(i!==0)for(e=e.entanglements,i&=r;0<i;){var f=31-Yl(i),s=1<<f;r|=e[f],i&=~s}return WZ=r,cj(),a}function N$(e,r){io=null,Yr.H=gP,r===qk||r===dj?(r=FX(),ea=3):r===S6?(r=FX(),ea=4):ea=r===Y6?8:r!==null&&typeof r==="object"&&typeof r.then==="function"?6:1,Dl=r,ho===null&&(Mn=1,qO(e,cc(r,e.current)))}function F$(){var e=ql.current;return e===null?!0:(Mo&4194048)===Mo?dc===null?!0:!1:(Mo&62914560)===Mo||(Mo&536870912)!==0?e===dc:!1}function B$(){var e=Yr.H;return Yr.H=gP,e===null?gP:e}function Y$(){var e=Yr.A;return Yr.A=I_e,e}function KO(){Mn=4,BM||(Mo&4194048)!==Mo&&ql.current!==null||(Vk=!0),(e8&134217727)===0&&(Mz&134217727)===0||ka===null||YM(ka,Mo,Nl,!1)}function aB(e,r,a){var i=Fo;Fo|=2;var f=B$(),s=Y$();if(ka!==e||Mo!==r)GO=null,Nk(e,r);r=!1;var l=Mn;e:do try{if(ea!==0&&ho!==null){var c=ho,m=Dl;switch(ea){case 8:G6(),l=6;break e;case 3:case 2:case 9:case 6:ql.current===null&&(r=!0);var g=ea;if(ea=0,Dl=null,_k(e,c,m,g),a&&Vk){l=0;break e}break;default:g=ea,ea=0,Dl=null,_k(e,c,m,g)}}P_e(),l=Mn;break}catch(M){N$(e,M)}while(1);return r&&e.shellSuspendCounter++,NZ=kz=null,Fo=i,Yr.H=f,Yr.A=s,ho===null&&(ka=null,Mo=0,cj()),l}function P_e(){for(;ho!==null;)U$(ho)}function T_e(e,r){var a=Fo;Fo|=2;var i=B$(),f=Y$();ka!==e||Mo!==r?(GO=null,WO=Fl()+500,Nk(e,r)):Vk=zP(e,r);e:do try{if(ea!==0&&ho!==null){r=ho;var s=Dl;t:switch(ea){case 1:ea=0,Dl=null,_k(e,r,s,1);break;case 2:case 9:if(NX(s)){ea=0,Dl=null,lQ(r);break}r=function(){ea!==2&&ea!==9||ka!==e||(ea=7),GZ(e)},s.then(r,r);break e;case 3:ea=7;break e;case 4:ea=5;break e;case 7:NX(s)?(ea=0,Dl=null,lQ(r)):(ea=0,Dl=null,_k(e,r,s,7));break;case 5:var l=null;switch(ho.tag){case 26:l=ho.memoizedState;case 5:case 27:var c=ho;if(l?cee(l):c.stateNode.complete){ea=0,Dl=null;var m=c.sibling;if(m!==null)ho=m;else{var g=c.return;g!==null?(ho=g,vj(g)):ho=null}break t}}ea=0,Dl=null,_k(e,r,s,5);break;case 6:ea=0,Dl=null,_k(e,r,s,6);break;case 8:G6(),Mn=6;break e;default:throw Error(Ft(462))}}A_e();break}catch(M){N$(e,M)}while(1);if(NZ=kz=null,Yr.H=i,Yr.A=f,Fo=a,ho!==null)return 0;return ka=null,Mo=0,cj(),Mn}function A_e(){for(;ho!==null&&!ebe();)U$(ho)}function U$(e){var r=h$(e.alternate,e,WZ);e.memoizedProps=e.pendingProps,r===null?vj(e):ho=r}function lQ(e){var r=e,a=r.alternate;switch(r.tag){case 15:case 0:r=rQ(a,r,r.pendingProps,r.type,void 0,Mo);break;case 11:r=rQ(a,r,r.pendingProps,r.type.render,r.ref,Mo);break;case 5:T6(r);default:g$(a,r),r=ho=xJ(r,WZ),r=h$(a,r,WZ)}e.memoizedProps=e.pendingProps,r===null?vj(e):ho=r}function _k(e,r,a,i){NZ=kz=null,T6(r),kk=null,mP=0;var f=r.return;try{if(b_e(e,f,r,a,Mo)){Mn=1,qO(e,cc(a,e.current)),ho=null;return}}catch(s){if(f!==null)throw ho=f,s;Mn=1,qO(e,cc(a,e.current)),ho=null;return}if(r.flags&32768){if(zo||i===1)e=!0;else if(Vk||(Mo&536870912)!==0)e=!1;else if(BM=e=!0,i===2||i===9||i===3||i===6)i=ql.current,i!==null&&i.tag===13&&(i.flags|=16384);q$(r,e)}else vj(r)}function vj(e){var r=e;do{if((r.flags&32768)!==0){q$(r,BM);return}e=r.return;var a=z_e(r.alternate,r,WZ);if(a!==null){ho=a;return}if(r=r.sibling,r!==null){ho=r;return}ho=r=e}while(r!==null);Mn===0&&(Mn=5)}function q$(e,r){do{var a=S_e(e.alternate,e);if(a!==null){a.flags&=32767,ho=a;return}if(a=e.return,a!==null&&(a.flags|=32768,a.subtreeFlags=0,a.deletions=null),!r&&(e=e.sibling,e!==null)){ho=e;return}ho=e=a}while(e!==null);Mn=6,ho=null}function cQ(e,r,a,i,f,s,l,c,m){e.cancelPendingCommit=null;do xj();while(pi!==0);if((Fo&6)!==0)throw Error(Ft(327));if(r!==null){if(r===e.current)throw Error(Ft(177));if(s=r.lanes|r.childLanes,s|=v6,cbe(e,a,s,l,c,m),e===ka&&(ho=ka=null,Mo=0),jk=r,WM=e,YZ=a,HB=s,WB=f,E$=i,(r.subtreeFlags&10256)!==0||(r.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,j_e(TO,function(){return K$(),null})):(e.callbackNode=null,e.callbackPriority=0),i=(r.flags&13878)!==0,(r.subtreeFlags&13878)!==0||i){i=Yr.T,Yr.T=null,f=Bo.p,Bo.p=2,l=Fo,Fo|=4;try{L_e(e,r,a)}finally{Fo=l,Bo.p=f,Yr.T=i}}pi=1,V$(),H$(),W$()}}function V$(){if(pi===1){pi=0;var e=WM,r=jk,a=(r.flags&13878)!==0;if((r.subtreeFlags&13878)!==0||a){a=Yr.T,Yr.T=null;var i=Bo.p;Bo.p=2;var f=Fo;Fo|=4;try{k$(r,e);var s=e6,l=dJ(e.containerInfo),{focusedElem:c,selectionRange:m}=s;if(l!==c&&c&&c.ownerDocument&&uJ(c.ownerDocument.documentElement,c)){if(m!==null&&M6(c)){var{start:g,end:M}=m;if(M===void 0&&(M=g),"selectionStart"in c)c.selectionStart=g,c.selectionEnd=Math.min(M,c.value.length);else{var x=c.ownerDocument||document,b=x&&x.defaultView||window;if(b.getSelection){var y=b.getSelection(),_=c.textContent.length,k=Math.min(m.start,_),F=m.end===void 0?k:Math.min(m.end,_);!y.extend&&k>F&&(l=F,F=k,k=l);var I=PX(c,k),j=PX(c,F);if(I&&j&&(y.rangeCount!==1||y.anchorNode!==I.node||y.anchorOffset!==I.offset||y.focusNode!==j.node||y.focusOffset!==j.offset)){var G=x.createRange();G.setStart(I.node,I.offset),y.removeAllRanges(),k>F?(y.addRange(G),y.extend(j.node,j.offset)):(G.setEnd(j.node,j.offset),y.addRange(G))}}}}x=[];for(y=c;y=y.parentNode;)y.nodeType===1&&x.push({element:y,left:y.scrollLeft,top:y.scrollTop});typeof c.focus==="function"&&c.focus();for(c=0;c<x.length;c++){var X=x[c];X.element.scrollLeft=X.left,X.element.scrollTop=X.top}}oj=!!$B,e6=$B=null}finally{Fo=f,Bo.p=i,Yr.T=a}}e.current=r,pi=2}}function H$(){if(pi===2){pi=0;var e=WM,r=jk,a=(r.flags&8772)!==0;if((r.subtreeFlags&8772)!==0||a){a=Yr.T,Yr.T=null;var i=Bo.p;Bo.p=2;var f=Fo;Fo|=4;try{_$(e,r.alternate,r)}finally{Fo=f,Bo.p=i,Yr.T=a}}pi=3}}function W$(){if(pi===4||pi===3){pi=0,tbe();var e=WM,r=jk,a=YZ,i=E$;(r.subtreeFlags&10256)!==0||(r.flags&10256)!==0?pi=5:(pi=0,jk=WM=null,G$(e,e.pendingLanes));var f=e.pendingLanes;if(f===0&&(HM=null),u6(a),r=r.stateNode,Bl&&typeof Bl.onCommitFiberRoot==="function")try{Bl.onCommitFiberRoot(wP,r,void 0,(r.current.flags&128)===128)}catch(m){}if(i!==null){r=Yr.T,f=Bo.p,Bo.p=2,Yr.T=null;try{for(var s=e.onRecoverableError,l=0;l<i.length;l++){var c=i[l];s(c.value,{componentStack:c.stack})}}finally{Yr.T=r,Bo.p=f}}(YZ&3)!==0&&xj(),GZ(e),f=e.pendingLanes,(a&261930)!==0&&(f&42)!==0?e===GB?fP++:(fP=0,GB=e):fP=0,PP(0,!1)}}function G$(e,r){(e.pooledCacheLanes&=r)===0&&(r=e.pooledCache,r!=null&&(e.pooledCache=null,IP(r)))}function xj(){return V$(),H$(),W$(),K$()}function K$(){if(pi!==5)return!1;var e=WM,r=HB;HB=0;var a=u6(YZ),i=Yr.T,f=Bo.p;try{Bo.p=32>a?32:a,Yr.T=null,a=WB,WB=null;var s=WM,l=YZ;if(pi=0,jk=WM=null,YZ=0,(Fo&6)!==0)throw Error(Ft(331));var c=Fo;if(Fo|=4,T$(s.current),C$(s,s.current,l,a),Fo=c,PP(0,!1),Bl&&typeof Bl.onPostCommitFiberRoot==="function")try{Bl.onPostCommitFiberRoot(wP,s)}catch(m){}return!0}finally{Bo.p=f,Yr.T=i,G$(e,r)}}function uQ(e,r,a){r=cc(a,r),r=BB(e.stateNode,r,2),e=gz(e,r,2),e!==null&&(ij(e,2),GZ(e))}function ta(e,r,a){if(e.tag===3)uQ(e,e,a);else for(;r!==null;){if(r.tag===3){uQ(r,e,a);break}else if(r.tag===1){var i=r.stateNode;if(typeof r.type.getDerivedStateFromError==="function"||typeof i.componentDidCatch==="function"&&(HM===null||!HM.has(i))){e=cc(a,e),a=c$(2),i=gz(r,a,2),i!==null&&(u$(a,i,r,e),ij(i,2),GZ(i));break}}r=r.return}}function nB(e,r,a){var i=e.pingCache;if(i===null){i=e.pingCache=new C_e;var f=new Set;i.set(r,f)}else f=i.get(r),f===void 0&&(f=new Set,i.set(r,f));f.has(a)||(H6=!0,f.add(a),e=D_e.bind(null,e,r,a),r.then(e,e))}function D_e(e,r,a){var i=e.pingCache;i!==null&&i.delete(r),e.pingedLanes|=e.suspendedLanes&a,e.warmLanes&=~a,ka===e&&(Mo&a)===a&&(Mn===4||Mn===3&&(Mo&62914560)===Mo&&300>Fl()-gj?(Fo&2)===0&&Nk(e,0):W6|=a,Ok===Mo&&(Ok=0)),GZ(e)}function X$(e,r){r===0&&(r=UQ()),e=Lz(e,r),e!==null&&(ij(e,r),GZ(e))}function E_e(e){var r=e.memoizedState,a=0;r!==null&&(a=r.retryLane),X$(e,a)}function O_e(e,r){var a=0;switch(e.tag){case 31:case 13:var{stateNode:i,memoizedState:f}=e;f!==null&&(a=f.retryLane);break;case 19:i=e.stateNode;break;case 22:i=e.stateNode._retryCache;break;default:throw Error(Ft(314))}i!==null&&i.delete(r),X$(e,a)}function j_e(e,r){return c6(e,r)}var XO=null,ck=null,KB=!1,QO=!1,iB=!1,UM=0;function GZ(e){e!==ck&&e.next===null&&(ck===null?XO=ck=e:ck=ck.next=e),QO=!0,KB||(KB=!0,F_e())}function PP(e,r){if(!iB&&QO){iB=!0;do{var a=!1;for(var i=XO;i!==null;){if(!r)if(e!==0){var f=i.pendingLanes;if(f===0)var s=0;else{var l=i.suspendedLanes,c=i.pingedLanes;s=(1<<31-Yl(42|e)+1)-1,s&=f&~(l&~c),s=s&201326741?s&201326741|1:s?s|2:0}s!==0&&(a=!0,dQ(i,s))}else s=Mo,s=nj(i,i===ka?s:0,i.cancelPendingCommit!==null||i.timeoutHandle!==-1),(s&3)===0||zP(i,s)||(a=!0,dQ(i,s));i=i.next}}while(a);iB=!1}}function N_e(){Q$()}function Q$(){QO=KB=!1;var e=0;UM!==0&&G_e()&&(e=UM);for(var r=Fl(),a=null,i=XO;i!==null;){var f=i.next,s=J$(i,r);if(s===0)i.next=null,a===null?XO=f:a.next=f,f===null&&(ck=a);else if(a=i,e!==0||(s&3)!==0)QO=!0;i=f}pi!==0&&pi!==5||PP(e,!1),UM!==0&&(UM=0)}function J$(e,r){for(var{suspendedLanes:a,pingedLanes:i,expirationTimes:f}=e,s=e.pendingLanes&-62914561;0<s;){var l=31-Yl(s),c=1<<l,m=f[l];if(m===-1){if((c&a)===0||(c&i)!==0)f[l]=lbe(c,r)}else m<=r&&(e.expiredLanes|=c);s&=~c}if(r=ka,a=Mo,a=nj(e,e===r?a:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),i=e.callbackNode,a===0||e===r&&(ea===2||ea===9)||e.cancelPendingCommit!==null)return i!==null&&i!==null&&E3(i),e.callbackNode=null,e.callbackPriority=0;if((a&3)===0||zP(e,a)){if(r=a&-a,r===e.callbackPriority)return r;switch(i!==null&&E3(i),u6(a)){case 2:case 8:a=BQ;break;case 32:a=TO;break;case 268435456:a=YQ;break;default:a=TO}return i=$$.bind(null,e),a=c6(a,i),e.callbackPriority=r,e.callbackNode=a,r}return i!==null&&i!==null&&E3(i),e.callbackPriority=2,e.callbackNode=null,2}function $$(e,r){if(pi!==0&&pi!==5)return e.callbackNode=null,e.callbackPriority=0,null;var a=e.callbackNode;if(xj()&&e.callbackNode!==a)return null;var i=Mo;if(i=nj(e,e===ka?i:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),i===0)return null;return j$(e,i,r),J$(e,Fl()),e.callbackNode!=null&&e.callbackNode===a?$$.bind(null,e):null}function dQ(e,r){if(xj())return null;j$(e,r,!0)}function F_e(){X_e(function(){(Fo&6)!==0?c6(FQ,N_e):Q$()})}function K6(){if(UM===0){var e=Ak;e===0&&(e=tO,tO<<=1,(tO&261888)===0&&(tO=256)),UM=e}return UM}function ZQ(e){return e==null||typeof e==="symbol"||typeof e==="boolean"?null:typeof e==="function"?e:mO(""+e)}function pQ(e,r){var a=r.ownerDocument.createElement("input");return a.name=r.name,a.value=r.value,e.id&&a.setAttribute("form",e.id),r.parentNode.insertBefore(a,r),e=new FormData(e),a.parentNode.removeChild(a),e}function B_e(e,r,a,i,f){if(r==="submit"&&a&&a.stateNode===f){var s=ZQ((f[Ws]||null).action),l=i.submitter;l&&(r=(r=l[Ws]||null)?ZQ(r.formAction):l.getAttribute("formAction"),r!==null&&(s=r,l=null));var c=new fj("action","action",null,i,f);e.push({event:c,listeners:[{instance:null,listener:function(){if(i.defaultPrevented){if(UM!==0){var m=l?pQ(f,l):new FormData(f);NB(a,{pending:!0,data:m,method:f.method,action:s},null,m)}}else typeof s==="function"&&(c.preventDefault(),m=l?pQ(f,l):new FormData(f),NB(a,{pending:!0,data:m,method:f.method,action:s},s,m))},currentTarget:f}]})}}for(GR=0;GR<LB.length;GR++)KR=LB[GR],XB=KR.toLowerCase(),QB=KR[0].toUpperCase()+KR.slice(1),fu(XB,"on"+QB);var KR,XB,QB,GR;fu(pJ,"onAnimationEnd");fu(mJ,"onAnimationIteration");fu(hJ,"onAnimationStart");fu("dblclick","onDoubleClick");fu("focusin","onFocus");fu("focusout","onBlur");fu(r_e,"onTransitionRun");fu(o_e,"onTransitionStart");fu(a_e,"onTransitionCancel");fu(gJ,"onTransitionEnd");Pk("onMouseEnter",["mouseout","mouseover"]);Pk("onMouseLeave",["mouseout","mouseover"]);Pk("onPointerEnter",["pointerout","pointerover"]);Pk("onPointerLeave",["pointerout","pointerover"]);wz("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));wz("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));wz("onBeforeInput",["compositionend","keypress","textInput","paste"]);wz("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));wz("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));wz("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var MP="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Y_e=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(MP));function eee(e,r){r=(r&4)!==0;for(var a=0;a<e.length;a++){var i=e[a],f=i.event;i=i.listeners;e:{var s=void 0;if(r)for(var l=i.length-1;0<=l;l--){var c=i[l],m=c.instance,g=c.currentTarget;if(c=c.listener,m!==s&&f.isPropagationStopped())break e;s=c,f.currentTarget=g;try{s(f)}catch(M){DO(M)}f.currentTarget=null,s=m}else for(l=0;l<i.length;l++){if(c=i[l],m=c.instance,g=c.currentTarget,c=c.listener,m!==s&&f.isPropagationStopped())break e;s=c,f.currentTarget=g;try{s(f)}catch(M){DO(M)}f.currentTarget=null,s=m}}}}function mo(e,r){var a=r[vB];a===void 0&&(a=r[vB]=new Set);var i=e+"__bubble";a.has(i)||(ree(r,e,2,!1),a.add(i))}function fB(e,r,a){var i=0;r&&(i|=4),ree(a,e,i,r)}var uO="_reactListening"+Math.random().toString(36).slice(2);function tee(e){if(!e[uO]){e[uO]=!0,KQ.forEach(function(a){a!=="selectionchange"&&(Y_e.has(a)||fB(a,!1,e),fB(a,!0,e))});var r=e.nodeType===9?e:e.ownerDocument;r===null||r[uO]||(r[uO]=!0,fB("selectionchange",!1,r))}}function ree(e,r,a,i){switch(Zee(r)){case 2:var f=Mwe;break;case 8:f=vwe;break;default:f=$6}a=f.bind(null,r,a,e),f=void 0,!wB||r!=="touchstart"&&r!=="touchmove"&&r!=="wheel"||(f=!0),i?f!==void 0?e.addEventListener(r,a,{capture:!0,passive:f}):e.addEventListener(r,a,!0):f!==void 0?e.addEventListener(r,a,{passive:f}):e.addEventListener(r,a,!1)}function sB(e,r,a,i,f){var s=i;if((r&1)===0&&(r&2)===0&&i!==null)e:for(;;){if(i===null)return;var l=i.tag;if(l===3||l===4){var c=i.stateNode.containerInfo;if(c===f)break;if(l===4)for(l=i.return;l!==null;){var m=l.tag;if((m===3||m===4)&&l.stateNode.containerInfo===f)return;l=l.return}for(;c!==null;){if(l=pk(c),l===null)return;if(m=l.tag,m===5||m===6||m===26||m===27){i=s=l;continue e}c=c.parentNode}}i=i.return}oJ(function(){var g=s,M=p6(a),x=[];e:{var b=MJ.get(e);if(b!==void 0){var y=fj,_=e;switch(e){case"keypress":if(gO(a)===0)break e;case"keydown":case"keyup":y=Abe;break;case"focusin":_="focus",y=B3;break;case"focusout":_="blur",y=B3;break;case"beforeblur":case"afterblur":y=B3;break;case"click":if(a.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":y=_X;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":y=bbe;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":y=Obe;break;case pJ:case mJ:case hJ:y=zbe;break;case gJ:y=Nbe;break;case"scroll":case"scrollend":y=xbe;break;case"wheel":y=Bbe;break;case"copy":case"cut":case"paste":y=Lbe;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":y=zX;break;case"toggle":case"beforetoggle":y=Ube}var k=(r&4)!==0,F=!k&&(e==="scroll"||e==="scrollend"),I=k?b!==null?b+"Capture":null:b;k=[];for(var j=g,G;j!==null;){var X=j;if(G=X.stateNode,X=X.tag,X!==5&&X!==26&&X!==27||G===null||I===null||(X=cP(j,I),X!=null&&k.push(vP(j,X,G))),F)break;j=j.return}0<k.length&&(b=new y(b,_,null,a,M),x.push({event:b,listeners:k}))}}if((r&7)===0){e:{if(b=e==="mouseover"||e==="pointerover",y=e==="mouseout"||e==="pointerout",b&&a!==_B&&(_=a.relatedTarget||a.fromElement)&&(pk(_)||_[SP]))break e;if(y||b){if(b=M.window===M?M:(b=M.ownerDocument)?b.defaultView||b.parentWindow:window,y){if(_=a.relatedTarget||a.toElement,y=g,_=_?pk(_):null,_!==null&&(F=_P(_),k=_.tag,_!==F||k!==5&&k!==27&&k!==6))_=null}else y=null,_=g;if(y!==_){if(k=_X,X="onMouseLeave",I="onMouseEnter",j="mouse",e==="pointerout"||e==="pointerover")k=zX,X="onPointerLeave",I="onPointerEnter",j="pointer";if(F=y==null?b:UR(y),G=_==null?b:UR(_),b=new k(X,j+"leave",y,a,M),b.target=F,b.relatedTarget=G,X=null,pk(M)===g&&(k=new k(I,j+"enter",_,a,M),k.target=G,k.relatedTarget=F,X=k),F=X,y&&_)t:{k=U_e,I=y,j=_,G=0;for(X=I;X;X=k(X))G++;X=0;for(var J=j;J;J=k(J))X++;for(;0<G-X;)I=k(I),G--;for(;0<X-G;)j=k(j),X--;for(;G--;){if(I===j||j!==null&&I===j.alternate){k=I;break t}I=k(I),j=k(j)}k=null}else k=null;y!==null&&mQ(x,b,y,k,!1),_!==null&&F!==null&&mQ(x,F,_,k,!0)}}}e:{if(b=g?UR(g):window,y=b.nodeName&&b.nodeName.toLowerCase(),y==="select"||y==="input"&&b.type==="file")var ee=IX;else if(kX(b))if(lJ)ee=$be;else{ee=Qbe;var te=Xbe}else y=b.nodeName,!y||y.toLowerCase()!=="input"||b.type!=="checkbox"&&b.type!=="radio"?g&&Z6(g.elementType)&&(ee=IX):ee=Jbe;if(ee&&(ee=ee(e,g))){sJ(x,ee,a,M);break e}te&&te(e,b,g),e==="focusout"&&g&&b.type==="number"&&g.memoizedProps.value!=null&&bB(b,"number",b.value)}switch(te=g?UR(g):window,e){case"focusin":if(kX(te)||te.contentEditable==="true")gk=te,zB=g,JR=null;break;case"focusout":JR=zB=gk=null;break;case"mousedown":SB=!0;break;case"contextmenu":case"mouseup":case"dragend":SB=!1,TX(x,a,M);break;case"selectionchange":if(t_e)break;case"keydown":case"keyup":TX(x,a,M)}var oe;if(g6)e:{switch(e){case"compositionstart":var ae="onCompositionStart";break e;case"compositionend":ae="onCompositionEnd";break e;case"compositionupdate":ae="onCompositionUpdate";break e}ae=void 0}else hk?iJ(e,a)&&(ae="onCompositionEnd"):e==="keydown"&&a.keyCode===229&&(ae="onCompositionStart");if(ae&&(nJ&&a.locale!=="ko"&&(hk||ae!=="onCompositionStart"?ae==="onCompositionEnd"&&hk&&(oe=aJ()):(FM=M,m6=("value"in FM)?FM.value:FM.textContent,hk=!0)),te=JO(g,ae),0<te.length&&(ae=new wX(ae,e,null,a,M),x.push({event:ae,listeners:te}),oe?ae.data=oe:(oe=fJ(a),oe!==null&&(ae.data=oe)))),oe=Vbe?Hbe(e,a):Wbe(e,a))ae=JO(g,"onBeforeInput"),0<ae.length&&(te=new wX("onBeforeInput","beforeinput",null,a,M),x.push({event:te,listeners:ae}),te.data=oe);B_e(x,e,g,a,M)}eee(x,r)})}function vP(e,r,a){return{instance:e,listener:r,currentTarget:a}}function JO(e,r){for(var a=r+"Capture",i=[];e!==null;){var f=e,s=f.stateNode;if(f=f.tag,f!==5&&f!==26&&f!==27||s===null||(f=cP(e,a),f!=null&&i.unshift(vP(e,f,s)),f=cP(e,r),f!=null&&i.push(vP(e,f,s))),e.tag===3)return i;e=e.return}return[]}function U_e(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e?e:null}function mQ(e,r,a,i,f){for(var s=r._reactName,l=[];a!==null&&a!==i;){var c=a,m=c.alternate,g=c.stateNode;if(c=c.tag,m!==null&&m===i)break;c!==5&&c!==26&&c!==27||g===null||(m=g,f?(g=cP(a,s),g!=null&&l.unshift(vP(a,g,m))):f||(g=cP(a,s),g!=null&&l.push(vP(a,g,m)))),a=a.return}l.length!==0&&e.push({event:r,listeners:l})}var q_e=/\r\n?/g,V_e=/\u0000|\uFFFD/g;function hQ(e){return(typeof e==="string"?e:""+e).replace(q_e,`
|
|
10
|
+
`).replace(V_e,"")}function oee(e,r){return r=hQ(r),hQ(e)===r?!0:!1}function va(e,r,a,i,f,s){switch(a){case"children":typeof i==="string"?r==="body"||r==="textarea"&&i===""||Tk(e,i):(typeof i==="number"||typeof i==="bigint")&&r!=="body"&&Tk(e,""+i);break;case"className":aO(e,"class",i);break;case"tabIndex":aO(e,"tabindex",i);break;case"dir":case"role":case"viewBox":case"width":case"height":aO(e,a,i);break;case"style":rJ(e,i,s);break;case"data":if(r!=="object"){aO(e,"data",i);break}case"src":case"href":if(i===""&&(r!=="a"||a!=="href")){e.removeAttribute(a);break}if(i==null||typeof i==="function"||typeof i==="symbol"||typeof i==="boolean"){e.removeAttribute(a);break}i=mO(""+i),e.setAttribute(a,i);break;case"action":case"formAction":if(typeof i==="function"){e.setAttribute(a,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof s==="function"&&(a==="formAction"?(r!=="input"&&va(e,r,"name",f.name,f,null),va(e,r,"formEncType",f.formEncType,f,null),va(e,r,"formMethod",f.formMethod,f,null),va(e,r,"formTarget",f.formTarget,f,null)):(va(e,r,"encType",f.encType,f,null),va(e,r,"method",f.method,f,null),va(e,r,"target",f.target,f,null)));if(i==null||typeof i==="symbol"||typeof i==="boolean"){e.removeAttribute(a);break}i=mO(""+i),e.setAttribute(a,i);break;case"onClick":i!=null&&(e.onclick=jZ);break;case"onScroll":i!=null&&mo("scroll",e);break;case"onScrollEnd":i!=null&&mo("scrollend",e);break;case"dangerouslySetInnerHTML":if(i!=null){if(typeof i!=="object"||!("__html"in i))throw Error(Ft(61));if(a=i.__html,a!=null){if(f.children!=null)throw Error(Ft(60));e.innerHTML=a}}break;case"multiple":e.multiple=i&&typeof i!=="function"&&typeof i!=="symbol";break;case"muted":e.muted=i&&typeof i!=="function"&&typeof i!=="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(i==null||typeof i==="function"||typeof i==="boolean"||typeof i==="symbol"){e.removeAttribute("xlink:href");break}a=mO(""+i),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",a);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":i!=null&&typeof i!=="function"&&typeof i!=="symbol"?e.setAttribute(a,""+i):e.removeAttribute(a);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":i&&typeof i!=="function"&&typeof i!=="symbol"?e.setAttribute(a,""):e.removeAttribute(a);break;case"capture":case"download":i===!0?e.setAttribute(a,""):i!==!1&&i!=null&&typeof i!=="function"&&typeof i!=="symbol"?e.setAttribute(a,i):e.removeAttribute(a);break;case"cols":case"rows":case"size":case"span":i!=null&&typeof i!=="function"&&typeof i!=="symbol"&&!isNaN(i)&&1<=i?e.setAttribute(a,i):e.removeAttribute(a);break;case"rowSpan":case"start":i==null||typeof i==="function"||typeof i==="symbol"||isNaN(i)?e.removeAttribute(a):e.setAttribute(a,i);break;case"popover":mo("beforetoggle",e),mo("toggle",e),pO(e,"popover",i);break;case"xlinkActuate":CZ(e,"http://www.w3.org/1999/xlink","xlink:actuate",i);break;case"xlinkArcrole":CZ(e,"http://www.w3.org/1999/xlink","xlink:arcrole",i);break;case"xlinkRole":CZ(e,"http://www.w3.org/1999/xlink","xlink:role",i);break;case"xlinkShow":CZ(e,"http://www.w3.org/1999/xlink","xlink:show",i);break;case"xlinkTitle":CZ(e,"http://www.w3.org/1999/xlink","xlink:title",i);break;case"xlinkType":CZ(e,"http://www.w3.org/1999/xlink","xlink:type",i);break;case"xmlBase":CZ(e,"http://www.w3.org/XML/1998/namespace","xml:base",i);break;case"xmlLang":CZ(e,"http://www.w3.org/XML/1998/namespace","xml:lang",i);break;case"xmlSpace":CZ(e,"http://www.w3.org/XML/1998/namespace","xml:space",i);break;case"is":pO(e,"is",i);break;case"innerText":case"textContent":break;default:if(!(2<a.length)||a[0]!=="o"&&a[0]!=="O"||a[1]!=="n"&&a[1]!=="N")a=Mbe.get(a)||a,pO(e,a,i)}}function JB(e,r,a,i,f,s){switch(a){case"style":rJ(e,i,s);break;case"dangerouslySetInnerHTML":if(i!=null){if(typeof i!=="object"||!("__html"in i))throw Error(Ft(61));if(a=i.__html,a!=null){if(f.children!=null)throw Error(Ft(60));e.innerHTML=a}}break;case"children":typeof i==="string"?Tk(e,i):(typeof i==="number"||typeof i==="bigint")&&Tk(e,""+i);break;case"onScroll":i!=null&&mo("scroll",e);break;case"onScrollEnd":i!=null&&mo("scrollend",e);break;case"onClick":i!=null&&(e.onclick=jZ);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!XQ.hasOwnProperty(a))e:{if(a[0]==="o"&&a[1]==="n"&&(f=a.endsWith("Capture"),r=a.slice(2,f?a.length-7:void 0),s=e[Ws]||null,s=s!=null?s[a]:null,typeof s==="function"&&e.removeEventListener(r,s,f),typeof i==="function")){typeof s!=="function"&&s!==null&&(a in e?e[a]=null:e.hasAttribute(a)&&e.removeAttribute(a)),e.addEventListener(r,i,f);break e}a in e?e[a]=i:i===!0?e.setAttribute(a,""):pO(e,a,i)}}}function Xi(e,r,a){switch(r){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":mo("error",e),mo("load",e);var i=!1,f=!1,s;for(s in a)if(a.hasOwnProperty(s)){var l=a[s];if(l!=null)switch(s){case"src":i=!0;break;case"srcSet":f=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(Ft(137,r));default:va(e,r,s,l,a,null)}}f&&va(e,r,"srcSet",a.srcSet,a,null),i&&va(e,r,"src",a.src,a,null);return;case"input":mo("invalid",e);var c=s=l=f=null,m=null,g=null;for(i in a)if(a.hasOwnProperty(i)){var M=a[i];if(M!=null)switch(i){case"name":f=M;break;case"type":l=M;break;case"checked":m=M;break;case"defaultChecked":g=M;break;case"value":s=M;break;case"defaultValue":c=M;break;case"children":case"dangerouslySetInnerHTML":if(M!=null)throw Error(Ft(137,r));break;default:va(e,r,i,M,a,null)}}$Q(e,s,c,m,g,l,f,!1);return;case"select":mo("invalid",e),i=l=s=null;for(f in a)if(a.hasOwnProperty(f)&&(c=a[f],c!=null))switch(f){case"value":s=c;break;case"defaultValue":l=c;break;case"multiple":i=c;default:va(e,r,f,c,a,null)}r=s,a=l,e.multiple=!!i,r!=null?zk(e,!!i,r,!1):a!=null&&zk(e,!!i,a,!0);return;case"textarea":mo("invalid",e),s=f=i=null;for(l in a)if(a.hasOwnProperty(l)&&(c=a[l],c!=null))switch(l){case"value":i=c;break;case"defaultValue":f=c;break;case"children":s=c;break;case"dangerouslySetInnerHTML":if(c!=null)throw Error(Ft(91));break;default:va(e,r,l,c,a,null)}tJ(e,i,f,s);return;case"option":for(m in a)if(a.hasOwnProperty(m)&&(i=a[m],i!=null))switch(m){case"selected":e.selected=i&&typeof i!=="function"&&typeof i!=="symbol";break;default:va(e,r,m,i,a,null)}return;case"dialog":mo("beforetoggle",e),mo("toggle",e),mo("cancel",e),mo("close",e);break;case"iframe":case"object":mo("load",e);break;case"video":case"audio":for(i=0;i<MP.length;i++)mo(MP[i],e);break;case"image":mo("error",e),mo("load",e);break;case"details":mo("toggle",e);break;case"embed":case"source":case"link":mo("error",e),mo("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(g in a)if(a.hasOwnProperty(g)&&(i=a[g],i!=null))switch(g){case"children":case"dangerouslySetInnerHTML":throw Error(Ft(137,r));default:va(e,r,g,i,a,null)}return;default:if(Z6(r)){for(M in a)a.hasOwnProperty(M)&&(i=a[M],i!==void 0&&JB(e,r,M,i,a,void 0));return}}for(c in a)a.hasOwnProperty(c)&&(i=a[c],i!=null&&va(e,r,c,i,a,null))}function H_e(e,r,a,i){switch(r){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var f=null,s=null,l=null,c=null,m=null,g=null,M=null;for(y in a){var x=a[y];if(a.hasOwnProperty(y)&&x!=null)switch(y){case"checked":break;case"value":break;case"defaultValue":m=x;default:i.hasOwnProperty(y)||va(e,r,y,null,i,x)}}for(var b in i){var y=i[b];if(x=a[b],i.hasOwnProperty(b)&&(y!=null||x!=null))switch(b){case"type":s=y;break;case"name":f=y;break;case"checked":g=y;break;case"defaultChecked":M=y;break;case"value":l=y;break;case"defaultValue":c=y;break;case"children":case"dangerouslySetInnerHTML":if(y!=null)throw Error(Ft(137,r));break;default:y!==x&&va(e,r,b,y,i,x)}}yB(e,l,c,m,g,M,s,f);return;case"select":y=l=c=b=null;for(s in a)if(m=a[s],a.hasOwnProperty(s)&&m!=null)switch(s){case"value":break;case"multiple":y=m;default:i.hasOwnProperty(s)||va(e,r,s,null,i,m)}for(f in i)if(s=i[f],m=a[f],i.hasOwnProperty(f)&&(s!=null||m!=null))switch(f){case"value":b=s;break;case"defaultValue":c=s;break;case"multiple":l=s;default:s!==m&&va(e,r,f,s,i,m)}r=c,a=l,i=y,b!=null?zk(e,!!a,b,!1):!!i!==!!a&&(r!=null?zk(e,!!a,r,!0):zk(e,!!a,a?[]:"",!1));return;case"textarea":y=b=null;for(c in a)if(f=a[c],a.hasOwnProperty(c)&&f!=null&&!i.hasOwnProperty(c))switch(c){case"value":break;case"children":break;default:va(e,r,c,null,i,f)}for(l in i)if(f=i[l],s=a[l],i.hasOwnProperty(l)&&(f!=null||s!=null))switch(l){case"value":b=f;break;case"defaultValue":y=f;break;case"children":break;case"dangerouslySetInnerHTML":if(f!=null)throw Error(Ft(91));break;default:f!==s&&va(e,r,l,f,i,s)}eJ(e,b,y);return;case"option":for(var _ in a)if(b=a[_],a.hasOwnProperty(_)&&b!=null&&!i.hasOwnProperty(_))switch(_){case"selected":e.selected=!1;break;default:va(e,r,_,null,i,b)}for(m in i)if(b=i[m],y=a[m],i.hasOwnProperty(m)&&b!==y&&(b!=null||y!=null))switch(m){case"selected":e.selected=b&&typeof b!=="function"&&typeof b!=="symbol";break;default:va(e,r,m,b,i,y)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var k in a)b=a[k],a.hasOwnProperty(k)&&b!=null&&!i.hasOwnProperty(k)&&va(e,r,k,null,i,b);for(g in i)if(b=i[g],y=a[g],i.hasOwnProperty(g)&&b!==y&&(b!=null||y!=null))switch(g){case"children":case"dangerouslySetInnerHTML":if(b!=null)throw Error(Ft(137,r));break;default:va(e,r,g,b,i,y)}return;default:if(Z6(r)){for(var F in a)b=a[F],a.hasOwnProperty(F)&&b!==void 0&&!i.hasOwnProperty(F)&&JB(e,r,F,void 0,i,b);for(M in i)b=i[M],y=a[M],!i.hasOwnProperty(M)||b===y||b===void 0&&y===void 0||JB(e,r,M,b,i,y);return}}for(var I in a)b=a[I],a.hasOwnProperty(I)&&b!=null&&!i.hasOwnProperty(I)&&va(e,r,I,null,i,b);for(x in i)b=i[x],y=a[x],!i.hasOwnProperty(x)||b===y||b==null&&y==null||va(e,r,x,b,i,y)}function gQ(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function W_e(){if(typeof performance.getEntriesByType==="function"){for(var e=0,r=0,a=performance.getEntriesByType("resource"),i=0;i<a.length;i++){var f=a[i],{transferSize:s,initiatorType:l,duration:c}=f;if(s&&c&&gQ(l)){l=0,c=f.responseEnd;for(i+=1;i<a.length;i++){var m=a[i],g=m.startTime;if(g>c)break;var M=m.transferSize,x=m.initiatorType;M&&gQ(x)&&(m=m.responseEnd,l+=M*(m<c?1:(c-g)/(m-g)))}if(--i,r+=8*(s+l)/(f.duration/1000),e++,10<e)break}}if(0<e)return r/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e==="number")?e:5}var $B=null,e6=null;function $O(e){return e.nodeType===9?e:e.ownerDocument}function MQ(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function aee(e,r){if(e===0)switch(r){case"svg":return 1;case"math":return 2;default:return 0}return e===1&&r==="foreignObject"?0:e}function t6(e,r){return e==="textarea"||e==="noscript"||typeof r.children==="string"||typeof r.children==="number"||typeof r.children==="bigint"||typeof r.dangerouslySetInnerHTML==="object"&&r.dangerouslySetInnerHTML!==null&&r.dangerouslySetInnerHTML.__html!=null}var lB=null;function G_e(){var e=window.event;if(e&&e.type==="popstate"){if(e===lB)return!1;return lB=e,!0}return lB=null,!1}var nee=typeof setTimeout==="function"?setTimeout:void 0,K_e=typeof clearTimeout==="function"?clearTimeout:void 0,vQ=typeof Promise==="function"?Promise:void 0,X_e=typeof queueMicrotask==="function"?queueMicrotask:typeof vQ<"u"?function(e){return vQ.resolve(null).then(e).catch(Q_e)}:nee;function Q_e(e){setTimeout(function(){throw e})}function r8(e){return e==="head"}function xQ(e,r){var a=r,i=0;do{var f=a.nextSibling;if(e.removeChild(a),f&&f.nodeType===8)if(a=f.data,a==="/$"||a==="/&"){if(i===0){e.removeChild(f),Bk(r);return}i--}else if(a==="$"||a==="$?"||a==="$~"||a==="$!"||a==="&")i++;else if(a==="html")sP(e.ownerDocument.documentElement);else if(a==="head"){a=e.ownerDocument.head,sP(a);for(var s=a.firstChild;s;){var l=s.nextSibling,c=s.nodeName;s[LP]||c==="SCRIPT"||c==="STYLE"||c==="LINK"&&s.rel.toLowerCase()==="stylesheet"||a.removeChild(s),s=l}}else a==="body"&&sP(e.ownerDocument.body);a=f}while(a);Bk(r)}function yQ(e,r){var a=e;e=0;do{var i=a.nextSibling;if(a.nodeType===1?r?(a._stashedDisplay=a.style.display,a.style.display="none"):(a.style.display=a._stashedDisplay||"",a.getAttribute("style")===""&&a.removeAttribute("style")):a.nodeType===3&&(r?(a._stashedText=a.nodeValue,a.nodeValue=""):a.nodeValue=a._stashedText||""),i&&i.nodeType===8)if(a=i.data,a==="/$")if(e===0)break;else e--;else a!=="$"&&a!=="$?"&&a!=="$~"&&a!=="$!"||e++;a=i}while(a)}function r6(e){var r=e.firstChild;r&&r.nodeType===10&&(r=r.nextSibling);for(;r;){var a=r;switch(r=r.nextSibling,a.nodeName){case"HTML":case"HEAD":case"BODY":r6(a),d6(a);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(a.rel.toLowerCase()==="stylesheet")continue}e.removeChild(a)}}function J_e(e,r,a,i){for(;e.nodeType===1;){var f=a;if(e.nodeName.toLowerCase()!==r.toLowerCase()){if(!i&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(!i)if(r==="input"&&e.type==="hidden"){var s=f.name==null?null:""+f.name;if(f.type==="hidden"&&e.getAttribute("name")===s)return e}else return e;else if(!e[LP])switch(r){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(s=e.getAttribute("rel"),s==="stylesheet"&&e.hasAttribute("data-precedence"))break;else if(s!==f.rel||e.getAttribute("href")!==(f.href==null||f.href===""?null:f.href)||e.getAttribute("crossorigin")!==(f.crossOrigin==null?null:f.crossOrigin)||e.getAttribute("title")!==(f.title==null?null:f.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(s=e.getAttribute("src"),(s!==(f.src==null?null:f.src)||e.getAttribute("type")!==(f.type==null?null:f.type)||e.getAttribute("crossorigin")!==(f.crossOrigin==null?null:f.crossOrigin))&&s&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}if(e=mc(e.nextSibling),e===null)break}return null}function $_e(e,r,a){if(r==="")return null;for(;e.nodeType!==3;){if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!a)return null;if(e=mc(e.nextSibling),e===null)return null}return e}function iee(e,r){for(;e.nodeType!==8;){if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!r)return null;if(e=mc(e.nextSibling),e===null)return null}return e}function o6(e){return e.data==="$?"||e.data==="$~"}function a6(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function ewe(e,r){var a=e.ownerDocument;if(e.data==="$~")e._reactRetry=r;else if(e.data!=="$?"||a.readyState!=="loading")r();else{var i=function(){r(),a.removeEventListener("DOMContentLoaded",i)};a.addEventListener("DOMContentLoaded",i),e._reactRetry=i}}function mc(e){for(;e!=null;e=e.nextSibling){var r=e.nodeType;if(r===1||r===3)break;if(r===8){if(r=e.data,r==="$"||r==="$!"||r==="$?"||r==="$~"||r==="&"||r==="F!"||r==="F")break;if(r==="/$"||r==="/&")return null}}return e}var n6=null;function bQ(e){e=e.nextSibling;for(var r=0;e;){if(e.nodeType===8){var a=e.data;if(a==="/$"||a==="/&"){if(r===0)return mc(e.nextSibling);r--}else a!=="$"&&a!=="$!"&&a!=="$?"&&a!=="$~"&&a!=="&"||r++}e=e.nextSibling}return null}function _Q(e){e=e.previousSibling;for(var r=0;e;){if(e.nodeType===8){var a=e.data;if(a==="$"||a==="$!"||a==="$?"||a==="$~"||a==="&"){if(r===0)return e;r--}else a!=="/$"&&a!=="/&"||r++}e=e.previousSibling}return null}function fee(e,r,a){switch(r=$O(a),e){case"html":if(e=r.documentElement,!e)throw Error(Ft(452));return e;case"head":if(e=r.head,!e)throw Error(Ft(453));return e;case"body":if(e=r.body,!e)throw Error(Ft(454));return e;default:throw Error(Ft(451))}}function sP(e){for(var r=e.attributes;r.length;)e.removeAttributeNode(r[0]);d6(e)}var hc=new Map,wQ=new Set;function ej(e){return typeof e.getRootNode==="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var KZ=Bo.d;Bo.d={f:twe,r:rwe,D:owe,C:awe,L:nwe,m:iwe,X:swe,S:fwe,M:lwe};function twe(){var e=KZ.f(),r=Mj();return e||r}function rwe(e){var r=Yk(e);r!==null&&r.tag===5&&r.type==="form"?r$(r):KZ.r(e)}var Hk=typeof document>"u"?null:document;function see(e,r,a){var i=Hk;if(i&&typeof r==="string"&&r){var f=lc(r);f='link[rel="'+e+'"][href="'+f+'"]',typeof a==="string"&&(f+='[crossorigin="'+a+'"]'),wQ.has(f)||(wQ.add(f),e={rel:e,crossOrigin:a,href:r},i.querySelector(f)===null&&(r=i.createElement("link"),Xi(r,"link",e),zi(r),i.head.appendChild(r)))}}function owe(e){KZ.D(e),see("dns-prefetch",e,null)}function awe(e,r){KZ.C(e,r),see("preconnect",e,r)}function nwe(e,r,a){KZ.L(e,r,a);var i=Hk;if(i&&e&&r){var f='link[rel="preload"][as="'+lc(r)+'"]';r==="image"?a&&a.imageSrcSet?(f+='[imagesrcset="'+lc(a.imageSrcSet)+'"]',typeof a.imageSizes==="string"&&(f+='[imagesizes="'+lc(a.imageSizes)+'"]')):f+='[href="'+lc(e)+'"]':f+='[href="'+lc(e)+'"]';var s=f;switch(r){case"style":s=Fk(e);break;case"script":s=Wk(e)}hc.has(s)||(e=tn({rel:"preload",href:r==="image"&&a&&a.imageSrcSet?void 0:e,as:r},a),hc.set(s,e),i.querySelector(f)!==null||r==="style"&&i.querySelector(TP(s))||r==="script"&&i.querySelector(AP(s))||(r=i.createElement("link"),Xi(r,"link",e),zi(r),i.head.appendChild(r)))}}function iwe(e,r){KZ.m(e,r);var a=Hk;if(a&&e){var i=r&&typeof r.as==="string"?r.as:"script",f='link[rel="modulepreload"][as="'+lc(i)+'"][href="'+lc(e)+'"]',s=f;switch(i){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":s=Wk(e)}if(!hc.has(s)&&(e=tn({rel:"modulepreload",href:e},r),hc.set(s,e),a.querySelector(f)===null)){switch(i){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(a.querySelector(AP(s)))return}i=a.createElement("link"),Xi(i,"link",e),zi(i),a.head.appendChild(i)}}}function fwe(e,r,a){KZ.S(e,r,a);var i=Hk;if(i&&e){var f=wk(i).hoistableStyles,s=Fk(e);r=r||"default";var l=f.get(s);if(!l){var c={loading:0,preload:null};if(l=i.querySelector(TP(s)))c.loading=5;else{e=tn({rel:"stylesheet",href:e,"data-precedence":r},a),(a=hc.get(s))&&X6(e,a);var m=l=i.createElement("link");zi(m),Xi(m,"link",e),m._p=new Promise(function(g,M){m.onload=g,m.onerror=M}),m.addEventListener("load",function(){c.loading|=1}),m.addEventListener("error",function(){c.loading|=2}),c.loading|=4,SO(l,r,i)}l={type:"stylesheet",instance:l,count:1,state:c},f.set(s,l)}}}function swe(e,r){KZ.X(e,r);var a=Hk;if(a&&e){var i=wk(a).hoistableScripts,f=Wk(e),s=i.get(f);s||(s=a.querySelector(AP(f)),s||(e=tn({src:e,async:!0},r),(r=hc.get(f))&&Q6(e,r),s=a.createElement("script"),zi(s),Xi(s,"link",e),a.head.appendChild(s)),s={type:"script",instance:s,count:1,state:null},i.set(f,s))}}function lwe(e,r){KZ.M(e,r);var a=Hk;if(a&&e){var i=wk(a).hoistableScripts,f=Wk(e),s=i.get(f);s||(s=a.querySelector(AP(f)),s||(e=tn({src:e,async:!0,type:"module"},r),(r=hc.get(f))&&Q6(e,r),s=a.createElement("script"),zi(s),Xi(s,"link",e),a.head.appendChild(s)),s={type:"script",instance:s,count:1,state:null},i.set(f,s))}}function zQ(e,r,a,i){var f=(f=qM.current)?ej(f):null;if(!f)throw Error(Ft(446));switch(e){case"meta":case"title":return null;case"style":return typeof a.precedence==="string"&&typeof a.href==="string"?(r=Fk(a.href),a=wk(f).hoistableStyles,i=a.get(r),i||(i={type:"style",instance:null,count:0,state:null},a.set(r,i)),i):{type:"void",instance:null,count:0,state:null};case"link":if(a.rel==="stylesheet"&&typeof a.href==="string"&&typeof a.precedence==="string"){e=Fk(a.href);var s=wk(f).hoistableStyles,l=s.get(e);if(l||(f=f.ownerDocument||f,l={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},s.set(e,l),(s=f.querySelector(TP(e)))&&!s._p&&(l.instance=s,l.state.loading=5),hc.has(e)||(a={rel:"preload",as:"style",href:a.href,crossOrigin:a.crossOrigin,integrity:a.integrity,media:a.media,hrefLang:a.hrefLang,referrerPolicy:a.referrerPolicy},hc.set(e,a),s||cwe(f,e,a,l.state))),r&&i===null)throw Error(Ft(528,""));return l}if(r&&i!==null)throw Error(Ft(529,""));return null;case"script":return r=a.async,a=a.src,typeof a==="string"&&r&&typeof r!=="function"&&typeof r!=="symbol"?(r=Wk(a),a=wk(f).hoistableScripts,i=a.get(r),i||(i={type:"script",instance:null,count:0,state:null},a.set(r,i)),i):{type:"void",instance:null,count:0,state:null};default:throw Error(Ft(444,e))}}function Fk(e){return'href="'+lc(e)+'"'}function TP(e){return'link[rel="stylesheet"]['+e+"]"}function lee(e){return tn({},e,{"data-precedence":e.precedence,precedence:null})}function cwe(e,r,a,i){e.querySelector('link[rel="preload"][as="style"]['+r+"]")?i.loading=1:(r=e.createElement("link"),i.preload=r,r.addEventListener("load",function(){return i.loading|=1}),r.addEventListener("error",function(){return i.loading|=2}),Xi(r,"link",a),zi(r),e.head.appendChild(r))}function Wk(e){return'[src="'+lc(e)+'"]'}function AP(e){return"script[async]"+e}function SQ(e,r,a){if(r.count++,r.instance===null)switch(r.type){case"style":var i=e.querySelector('style[data-href~="'+lc(a.href)+'"]');if(i)return r.instance=i,zi(i),i;var f=tn({},a,{"data-href":a.href,"data-precedence":a.precedence,href:null,precedence:null});return i=(e.ownerDocument||e).createElement("style"),zi(i),Xi(i,"style",f),SO(i,a.precedence,e),r.instance=i;case"stylesheet":f=Fk(a.href);var s=e.querySelector(TP(f));if(s)return r.state.loading|=4,r.instance=s,zi(s),s;i=lee(a),(f=hc.get(f))&&X6(i,f),s=(e.ownerDocument||e).createElement("link"),zi(s);var l=s;return l._p=new Promise(function(c,m){l.onload=c,l.onerror=m}),Xi(s,"link",i),r.state.loading|=4,SO(s,a.precedence,e),r.instance=s;case"script":if(s=Wk(a.src),f=e.querySelector(AP(s)))return r.instance=f,zi(f),f;if(i=a,f=hc.get(s))i=tn({},a),Q6(i,f);return e=e.ownerDocument||e,f=e.createElement("script"),zi(f),Xi(f,"link",i),e.head.appendChild(f),r.instance=f;case"void":return null;default:throw Error(Ft(443,r.type))}else r.type==="stylesheet"&&(r.state.loading&4)===0&&(i=r.instance,r.state.loading|=4,SO(i,a.precedence,e));return r.instance}function SO(e,r,a){for(var i=a.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),f=i.length?i[i.length-1]:null,s=f,l=0;l<i.length;l++){var c=i[l];if(c.dataset.precedence===r)s=c;else if(s!==f)break}s?s.parentNode.insertBefore(e,s.nextSibling):(r=a.nodeType===9?a.head:a,r.insertBefore(e,r.firstChild))}function X6(e,r){e.crossOrigin==null&&(e.crossOrigin=r.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=r.referrerPolicy),e.title==null&&(e.title=r.title)}function Q6(e,r){e.crossOrigin==null&&(e.crossOrigin=r.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=r.referrerPolicy),e.integrity==null&&(e.integrity=r.integrity)}var LO=null;function LQ(e,r,a){if(LO===null){var i=new Map,f=LO=new Map;f.set(a,i)}else f=LO,i=f.get(a),i||(i=new Map,f.set(a,i));if(i.has(e))return i;i.set(e,null),a=a.getElementsByTagName(e);for(f=0;f<a.length;f++){var s=a[f];if(!(s[LP]||s[Wi]||e==="link"&&s.getAttribute("rel")==="stylesheet")&&s.namespaceURI!=="http://www.w3.org/2000/svg"){var l=s.getAttribute(r)||"";l=e+l;var c=i.get(l);c?c.push(s):i.set(l,[s])}}return i}function kQ(e,r,a){e=e.ownerDocument||e,e.head.insertBefore(a,r==="title"?e.querySelector("head > title"):null)}function uwe(e,r,a){if(a===1||r.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof r.precedence!=="string"||typeof r.href!=="string"||r.href==="")break;return!0;case"link":if(typeof r.rel!=="string"||typeof r.href!=="string"||r.href===""||r.onLoad||r.onError)break;switch(r.rel){case"stylesheet":return e=r.disabled,typeof r.precedence==="string"&&e==null;default:return!0}case"script":if(r.async&&typeof r.async!=="function"&&typeof r.async!=="symbol"&&!r.onLoad&&!r.onError&&r.src&&typeof r.src==="string")return!0}return!1}function cee(e){return e.type==="stylesheet"&&(e.state.loading&3)===0?!1:!0}function dwe(e,r,a,i){if(a.type==="stylesheet"&&(typeof i.media!=="string"||matchMedia(i.media).matches!==!1)&&(a.state.loading&4)===0){if(a.instance===null){var f=Fk(i.href),s=r.querySelector(TP(f));if(s){r=s._p,r!==null&&typeof r==="object"&&typeof r.then==="function"&&(e.count++,e=tj.bind(e),r.then(e,e)),a.state.loading|=4,a.instance=s,zi(s);return}s=r.ownerDocument||r,i=lee(i),(f=hc.get(f))&&X6(i,f),s=s.createElement("link"),zi(s);var l=s;l._p=new Promise(function(c,m){l.onload=c,l.onerror=m}),Xi(s,"link",i),a.instance=s}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(a,r),(r=a.state.preload)&&(a.state.loading&3)===0&&(e.count++,a=tj.bind(e),r.addEventListener("load",a),r.addEventListener("error",a))}}var cB=0;function Zwe(e,r){return e.stylesheets&&e.count===0&&kO(e,e.stylesheets),0<e.count||0<e.imgCount?function(a){var i=setTimeout(function(){if(e.stylesheets&&kO(e,e.stylesheets),e.unsuspend){var s=e.unsuspend;e.unsuspend=null,s()}},60000+r);0<e.imgBytes&&cB===0&&(cB=62500*W_e());var f=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&kO(e,e.stylesheets),e.unsuspend)){var s=e.unsuspend;e.unsuspend=null,s()}},(e.imgBytes>cB?50:800)+r);return e.unsuspend=a,function(){e.unsuspend=null,clearTimeout(i),clearTimeout(f)}}:null}function tj(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)kO(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var rj=null;function kO(e,r){e.stylesheets=null,e.unsuspend!==null&&(e.count++,rj=new Map,r.forEach(pwe,e),rj=null,tj.call(e))}function pwe(e,r){if(!(r.state.loading&4)){var a=rj.get(e);if(a)var i=a.get(null);else{a=new Map,rj.set(e,a);for(var f=e.querySelectorAll("link[data-precedence],style[data-precedence]"),s=0;s<f.length;s++){var l=f[s];if(l.nodeName==="LINK"||l.getAttribute("media")!=="not all")a.set(l.dataset.precedence,l),i=l}i&&a.set(null,i)}f=r.instance,l=f.getAttribute("data-precedence"),s=a.get(l)||i,s===i&&a.set(null,f),a.set(l,f),this.count++,i=tj.bind(this),f.addEventListener("load",i),f.addEventListener("error",i),s?s.parentNode.insertBefore(f,s.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(f,e.firstChild)),r.state.loading|=4}}var xP={$$typeof:OZ,Provider:null,Consumer:null,_currentValue:dz,_currentValue2:dz,_threadCount:0};function mwe(e,r,a,i,f,s,l,c,m){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=O3(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=O3(0),this.hiddenUpdates=O3(null),this.identifierPrefix=i,this.onUncaughtError=f,this.onCaughtError=s,this.onRecoverableError=l,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=m,this.incompleteTransitions=new Map}function hwe(e,r,a,i,f,s,l,c,m,g,M,x){return e=new mwe(e,r,a,l,m,g,M,x,c),r=1,s===!0&&(r|=24),s=jl(3,null,null,r),e.current=s,s.stateNode=e,r=w6(),r.refCount++,e.pooledCache=r,r.refCount++,s.memoizedState={element:i,isDehydrated:a,cache:r},L6(s),e}function gwe(e){if(!e)return xk;return e=xk,e}function uee(e,r,a,i,f,s){f=gwe(f),i.context===null?i.context=f:i.pendingContext=f,i=hz(r),i.payload={element:a},s=s===void 0?null:s,s!==null&&(i.callback=s),a=gz(e,i,r),a!==null&&(Hs(a,e,r),eP(a,e,r))}function IQ(e,r){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var a=e.retryLane;e.retryLane=a!==0&&a<r?a:r}}function J6(e,r){IQ(e,r),(e=e.alternate)&&IQ(e,r)}function dee(e){if(e.tag===13||e.tag===31){var r=Lz(e,67108864);r!==null&&Hs(r,e,67108864),J6(e,67108864)}}function CQ(e){if(e.tag===13||e.tag===31){var r=pc();r=WQ(r);var a=Lz(e,r);a!==null&&Hs(a,e,r),J6(e,r)}}var oj=!0;function Mwe(e,r,a,i){var f=Yr.T;Yr.T=null;var s=Bo.p;try{Bo.p=2,$6(e,r,a,i)}finally{Bo.p=s,Yr.T=f}}function vwe(e,r,a,i){var f=Yr.T;Yr.T=null;var s=Bo.p;try{Bo.p=8,$6(e,r,a,i)}finally{Bo.p=s,Yr.T=f}}function $6(e,r,a,i){if(oj){var f=i6(i);if(f===null)sB(e,r,i,aj,a),RQ(e,i);else if(ywe(f,e,r,a,i))i.stopPropagation();else if(RQ(e,i),r&4&&-1<xwe.indexOf(e)){for(;f!==null;){var s=Yk(f);if(s!==null)switch(s.tag){case 3:if(s=s.stateNode,s.current.memoizedState.isDehydrated){var l=sz(s.pendingLanes);if(l!==0){var c=s;c.pendingLanes|=2;for(c.entangledLanes|=2;l;){var m=1<<31-Yl(l);c.entanglements[1]|=m,l&=~m}GZ(s),(Fo&6)===0&&(WO=Fl()+500,PP(0,!1))}}break;case 31:case 13:c=Lz(s,2),c!==null&&Hs(c,s,2),Mj(),J6(s,2)}if(s=i6(i),s===null&&sB(e,r,i,aj,a),s===f)break;f=s}f!==null&&i.stopPropagation()}else sB(e,r,i,null,a)}}function i6(e){return e=p6(e),eY(e)}var aj=null;function eY(e){if(aj=null,e=pk(e),e!==null){var r=_P(e);if(r===null)e=null;else{var a=r.tag;if(a===13){if(e=DQ(r),e!==null)return e;e=null}else if(a===31){if(e=EQ(r),e!==null)return e;e=null}else if(a===3){if(r.stateNode.current.memoizedState.isDehydrated)return r.tag===3?r.stateNode.containerInfo:null;e=null}else r!==e&&(e=null)}}return aj=e,null}function Zee(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(rbe()){case FQ:return 2;case BQ:return 8;case TO:case obe:return 32;case YQ:return 268435456;default:return 32}default:return 32}}var f6=!1,GM=null,KM=null,XM=null,yP=new Map,bP=new Map,jM=[],xwe="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function RQ(e,r){switch(e){case"focusin":case"focusout":GM=null;break;case"dragenter":case"dragleave":KM=null;break;case"mouseover":case"mouseout":XM=null;break;case"pointerover":case"pointerout":yP.delete(r.pointerId);break;case"gotpointercapture":case"lostpointercapture":bP.delete(r.pointerId)}}function FR(e,r,a,i,f,s){if(e===null||e.nativeEvent!==s)return e={blockedOn:r,domEventName:a,eventSystemFlags:i,nativeEvent:s,targetContainers:[f]},r!==null&&(r=Yk(r),r!==null&&dee(r)),e;return e.eventSystemFlags|=i,r=e.targetContainers,f!==null&&r.indexOf(f)===-1&&r.push(f),e}function ywe(e,r,a,i,f){switch(r){case"focusin":return GM=FR(GM,e,r,a,i,f),!0;case"dragenter":return KM=FR(KM,e,r,a,i,f),!0;case"mouseover":return XM=FR(XM,e,r,a,i,f),!0;case"pointerover":var s=f.pointerId;return yP.set(s,FR(yP.get(s)||null,e,r,a,i,f)),!0;case"gotpointercapture":return s=f.pointerId,bP.set(s,FR(bP.get(s)||null,e,r,a,i,f)),!0}return!1}function pee(e){var r=pk(e.target);if(r!==null){var a=_P(r);if(a!==null){if(r=a.tag,r===13){if(r=DQ(a),r!==null){e.blockedOn=r,hX(e.priority,function(){CQ(a)});return}}else if(r===31){if(r=EQ(a),r!==null){e.blockedOn=r,hX(e.priority,function(){CQ(a)});return}}else if(r===3&&a.stateNode.current.memoizedState.isDehydrated){e.blockedOn=a.tag===3?a.stateNode.containerInfo:null;return}}}e.blockedOn=null}function IO(e){if(e.blockedOn!==null)return!1;for(var r=e.targetContainers;0<r.length;){var a=i6(e.nativeEvent);if(a===null){a=e.nativeEvent;var i=new a.constructor(a.type,a);_B=i,a.target.dispatchEvent(i),_B=null}else return r=Yk(a),r!==null&&dee(r),e.blockedOn=a,!1;r.shift()}return!0}function PQ(e,r,a){IO(e)&&a.delete(r)}function bwe(){f6=!1,GM!==null&&IO(GM)&&(GM=null),KM!==null&&IO(KM)&&(KM=null),XM!==null&&IO(XM)&&(XM=null),yP.forEach(PQ),bP.forEach(PQ)}function dO(e,r){e.blockedOn===r&&(e.blockedOn=null,f6||(f6=!0,Ts(Is,bwe)))}var ZO=null;function TQ(e){ZO!==e&&(ZO=e,Ts(Is,function(){ZO===e&&(ZO=null);for(var r=0;r<e.length;r+=3){var a=e[r],i=e[r+1],f=e[r+2];if(typeof i!=="function")if(eY(i||a)===null)continue;else break;var s=Yk(a);s!==null&&(e.splice(r,3),r-=3,NB(s,{pending:!0,data:f,method:a.method,action:i},i,f))}}))}function Bk(e){function r(m){return dO(m,e)}GM!==null&&dO(GM,e),KM!==null&&dO(KM,e),XM!==null&&dO(XM,e),yP.forEach(r),bP.forEach(r);for(var a=0;a<jM.length;a++){var i=jM[a];i.blockedOn===e&&(i.blockedOn=null)}for(;0<jM.length&&(a=jM[0],a.blockedOn===null);)pee(a),a.blockedOn===null&&jM.shift();if(a=(e.ownerDocument||e).$$reactFormReplay,a!=null)for(i=0;i<a.length;i+=3){var f=a[i],s=a[i+1],l=f[Ws]||null;if(typeof s==="function")l||TQ(a);else if(l){var c=null;if(s&&s.hasAttribute("formAction")){if(f=s,l=s[Ws]||null)c=l.formAction;else if(eY(f)!==null)continue}else c=l.action;typeof c==="function"?a[i+1]=c:(a.splice(i,3),i-=3),TQ(a)}}}function _we(){function e(s){s.canIntercept&&s.info==="react-transition"&&s.intercept({handler:function(){return new Promise(function(l){return f=l})},focusReset:"manual",scroll:"manual"})}function r(){f!==null&&(f(),f=null),i||setTimeout(a,20)}function a(){if(!i&&!navigation.transition){var s=navigation.currentEntry;s&&s.url!=null&&navigation.navigate(s.url,{state:s.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation==="object"){var i=!1,f=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",r),navigation.addEventListener("navigateerror",r),setTimeout(a,100),function(){i=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",r),navigation.removeEventListener("navigateerror",r),f!==null&&(f(),f=null)}}}function tY(e){this._internalRoot=e}rY.prototype.render=tY.prototype.render=function(e){var r=this._internalRoot;if(r===null)throw Error(Ft(409));var a=r.current,i=pc();uee(a,i,e,r,null,null)};rY.prototype.unmount=tY.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var r=e.containerInfo;uee(e.current,2,null,e,null,null),Mj(),r[SP]=null}};function rY(e){this._internalRoot=e}rY.prototype.unstable_scheduleHydration=function(e){if(e){var r=GQ();e={blockedOn:null,target:e,priority:r};for(var a=0;a<jM.length&&r!==0&&r<jM[a].priority;a++);jM.splice(a,0,e),a===0&&pee(e)}};var AQ=Es;if(AQ!=="19.2.8")throw Error(Ft(527,AQ,"19.2.8"));Bo.findDOMNode=function(e){var r=e._reactInternals;if(r===void 0){if(typeof e.render==="function")throw Error(Ft(188));throw e=Object.keys(e).join(","),Error(Ft(268,e))}return e=Kye(r),e=e!==null?OQ(e):null,e=e===null?null:e.stateNode,e};var wwe={bundleType:0,version:"19.2.8",rendererPackageName:"react-dom",currentDispatcherRef:Yr,reconcilerVersion:"19.2.8"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){if(uk=__REACT_DEVTOOLS_GLOBAL_HOOK__,!uk.isDisabled&&uk.supportsFiber)try{wP=uk.inject(wwe),Bl=uk}catch(e){}}var uk;var mee=function(e,r){if(!Gye(e))throw Error(Ft(299));var a=!1,i="",f=v_e,s=x_e,l=y_e;return r!==null&&r!==void 0&&(r.unstable_strictMode===!0&&(a=!0),r.identifierPrefix!==void 0&&(i=r.identifierPrefix),r.onUncaughtError!==void 0&&(f=r.onUncaughtError),r.onCaughtError!==void 0&&(s=r.onCaughtError),r.onRecoverableError!==void 0&&(l=r.onRecoverableError)),r=hwe(e,1,!1,null,null,a,i,null,f,s,l,_we),e[SP]=r.current,tee(e),new tY(r)};hee();C();var kwe={theme:"system",setTheme:()=>null},gee=xt(kwe);function Mee({children:e,defaultTheme:r="system",storageKey:a="vite-ui-theme",...i}){let[f,s]=u(()=>localStorage.getItem(a)||r);h(()=>{let c=window.document.documentElement;if(c.classList.remove("light","dark"),f==="system"){let m=window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light";c.classList.add(m);return}c.classList.add(f)},[f]);let l={theme:f,setTheme:(c)=>{localStorage.setItem(a,c),s(c)}};return t(gee.Provider,{...i,value:l,children:e})}var vee=()=>{let e=St(gee);if(e===void 0)throw Error("useTheme must be used within a ThemeProvider");return e};var Iwe=/^[\w!#$%&'*.^`|~+-]+$/;var Cwe=(e,r,a={})=>{if(!Iwe.test(e))throw Error("Invalid cookie name");let i=`${e}=${r}`;if(e.startsWith("__Secure-")&&!a.secure)throw Error("__Secure- Cookie must have Secure attributes");if(e.startsWith("__Host-")){if(!a.secure)throw Error("__Host- Cookie must have Secure attributes");if(a.path!=="/")throw Error('__Host- Cookie must have Path attributes with "/"');if(a.domain)throw Error("__Host- Cookie must not have Domain attributes")}for(let f of["domain","path","sameSite","priority"])if(a[f]&&/[;\r\n]/.test(a[f]))throw Error(`${f} must not contain ";", "\\r", or "\\n"`);if(a&&typeof a.maxAge==="number"&&a.maxAge>=0){if(a.maxAge>34560000)throw Error("Cookies Max-Age SHOULD NOT be greater than 400 days (34560000 seconds) in duration.");i+=`; Max-Age=${a.maxAge|0}`}if(a.domain&&a.prefix!=="host")i+=`; Domain=${a.domain}`;if(a.path)i+=`; Path=${a.path}`;if(a.expires){if(a.expires.getTime()-Date.now()>34560000000)throw Error("Cookies Expires SHOULD NOT be greater than 400 days (34560000 seconds) in the future.");i+=`; Expires=${a.expires.toUTCString()}`}if(a.httpOnly)i+="; HttpOnly";if(a.secure)i+="; Secure";if(a.sameSite)i+=`; SameSite=${a.sameSite.charAt(0).toUpperCase()+a.sameSite.slice(1)}`;if(a.priority)i+=`; Priority=${a.priority.charAt(0).toUpperCase()+a.priority.slice(1)}`;if(a.partitioned){if(!a.secure)throw Error("Partitioned Cookie must have Secure attributes");i+="; Partitioned"}return i},xee=(e,r,a)=>(r=encodeURIComponent(r),Cwe(e,r,a));var yee=(e,r)=>(e=e.replace(/\/+$/,""),e=e+"/",r=r.replace(/^\/+/,""),e+r),bj=(e,r)=>{for(let[a,i]of Object.entries(r)){let f=new RegExp("/:"+a+"(?:{[^/]+})?\\??(?=/|$)");e=e.replace(f,()=>i?`/${i}`:"")}return e},bee=(e)=>{let r=new URLSearchParams;for(let[a,i]of Object.entries(e)){if(i===void 0)continue;if(Array.isArray(i))for(let f of i){if(f===void 0)continue;r.append(a,f)}else r.set(a,i)}return r},_ee=(e,r)=>{switch(r){case"ws":return e.replace(/^http/,"ws");case"http":return e.replace(/^ws/,"http")}},oY=(e)=>{if(/^https?:\/\/[^\/]+?\/index(?=\?|$)/.test(e))return e.replace(/\/index(?=\?|$)/,"/");return e.replace(/\/index(?=\?|$)/,"")};function yj(e){return typeof e==="object"&&e!==null&&!Array.isArray(e)}function aY(e,r){if(!yj(e)&&!yj(r))return r;let a={...e};for(let i in r){let f=r[i];if(yj(a[i])&&yj(f))a[i]=aY(a[i],f);else a[i]=f}return a}var wee=(e,r)=>new Proxy(()=>{},{get(i,f){if(typeof f!=="string"||f==="then")return;return wee(e,[...r,f])},apply(i,f,s){return e({path:r,args:s})}}),zee=(e,r)=>{let a=r.toString();return a?`${e}?${a}`:e},Pwe=class{url;method;buildSearchParams;queryParams=void 0;pathParams={};rBody;cType=void 0;constructor(e,r,a){this.url=e,this.method=r,this.buildSearchParams=a.buildSearchParams}fetch=async(e,r)=>{if(e){if(e.query)this.queryParams=this.buildSearchParams(e.query);if(e.form){let c=new FormData;for(let[m,g]of Object.entries(e.form)){if(g===void 0)continue;if(Array.isArray(g))for(let M of g){if(M===void 0)continue;c.append(m,M)}else c.append(m,g)}this.rBody=c}if(e.json!==void 0)this.rBody=JSON.stringify(e.json),this.cType="application/json";if(e.param)this.pathParams=e.param}let a=this.method.toUpperCase(),i={...e?.header,...typeof r?.headers==="function"?await r.headers():r?.headers};if(e?.cookie){let c=[];for(let[m,g]of Object.entries(e.cookie)){if(g===void 0)continue;c.push(xee(m,g))}if(c.length>0)i.Cookie=c.join("; ")}if(this.cType)i["Content-Type"]=this.cType;let f=new Headers;for(let[c,m]of Object.entries(i))if(m!==void 0)f.set(c,m);let s=this.url;if(s=oY(s),s=bj(s,this.pathParams),this.queryParams)s=zee(s,this.queryParams);a=this.method.toUpperCase();let l=!(a==="GET"||a==="HEAD");return(r?.fetch||fetch)(s,{body:l?this.rBody:void 0,method:a,headers:f,...r?.init})}},nY=(e,r)=>wee(function a(i){let f=r?.buildSearchParams??bee,s=[...i.path],l=s.slice(-3).reverse();if(l[0]==="toString"){if(l[1]==="name")return l[2]||"";return a.toString()}if(l[0]==="valueOf"){if(l[1]==="name")return l[2]||"";return a}let c="";if(/^\$/.test(l[0])){let x=s.pop();if(x)c=x.replace(/^\$/,"")}let m=s.join("/"),g=yee(e,m);if(c==="url"||c==="path"){let x=g;if(i.args[0]){if(i.args[0].param)x=bj(g,i.args[0].param);if(i.args[0].query)x=zee(x,f(i.args[0].query))}if(x=oY(x),c==="url")return new URL(x);return x.slice(e.replace(/\/+$/,"").length).replace(/^\/?/,"/")}if(c==="ws"){let x=_ee(i.args[0]?.param?bj(g,i.args[0].param):g,"ws"),b=new URL(x),y=i.args[0]?.query;if(y)f(y).forEach((F,I)=>{b.searchParams.append(I,F)});return((...k)=>{if(r?.webSocket!==void 0&&typeof r.webSocket==="function")return r.webSocket(...k);return new WebSocket(...k)})(b.toString())}let M=new Pwe(g,c,{buildSearchParams:f});if(c){r??={};let x={...i.args[1]},b=r.headers,y=x.headers;if(b&&y)x.headers=async()=>({...typeof b==="function"?await b():b,...typeof y==="function"?await y():y});let _=aY(r,x);return M.fetch(i.args[0],_)}return M},[]);var See=(e)=>{let r,a=new Set,i=(g,M)=>{let x=typeof g==="function"?g(r):g;if(!Object.is(x,r)){let b=r;r=(M!=null?M:typeof x!=="object"||x===null)?x:Object.assign({},r,x),a.forEach((y)=>y(r,b))}},f=()=>r,c={setState:i,getState:f,getInitialState:()=>m,subscribe:(g)=>(a.add(g),()=>a.delete(g))},m=r=e(i,f,c);return c},Lee=(e)=>e?See(e):See;C();var Twe=(e)=>e;function Awe(e,r=Twe){let a=Vn(e.subscribe,N(()=>r(e.getState()),[e,r]),N(()=>r(e.getInitialState()),[e,r]));return Q8(a),a}var kee=(e)=>{let r=Lee(e),a=(i)=>Awe(r,i);return Object.assign(a,r),a},Tr=(e)=>e?kee(e):kee;var Iee=(e)=>!!e.dispatchFromDevtools&&typeof e.dispatch==="function",DP=new Map,_j=(e)=>{let r=DP.get(e);if(!r)return{};return Object.fromEntries(Object.entries(r.stores).map(([a,i])=>[a,i.getState()]))},Dwe=(e,r,a)=>{if(e===void 0)return{type:"untracked",connection:r.connect(a)};let i=DP.get(a.name);if(i)return{type:"tracked",store:e,...i};let f={connection:r.connect(a),stores:{}};return DP.set(a.name,f),{type:"tracked",store:e,...f}},Ewe=(e,r)=>{if(r===void 0)return;let a=DP.get(e);if(!a)return;if(delete a.stores[r],Object.keys(a.stores).length===0)DP.delete(e)},Owe=/^at (?:new |async )?(.+?) \(/,jwe=/^([^@]+)@/;function Nwe(e){var r,a,i;if(!e)return;let f=e.split(`
|
|
11
|
+
`),s=f.findIndex((c)=>c.includes("api.setState"));if(s<0)return;let l=((r=f[s+1])==null?void 0:r.trim())||"";return((a=Owe.exec(l))==null?void 0:a[1])||((i=jwe.exec(l))==null?void 0:i[1])}var Fwe=(e,r={})=>(a,i,f)=>{let{enabled:s,anonymousActionType:l,store:c,...m}=r,g;try{g=(s!=null?s:(import.meta.env?import.meta.env.MODE:void 0)!=="production")&&window.__REDUX_DEVTOOLS_EXTENSION__}catch(k){}if(!g)return e(a,i,f);let{connection:M,...x}=Dwe(c,g,m),b=!0;f.setState=(k,F,I)=>{let j=a(k,F);if(!b)return j;let G=I===void 0?{type:l||Nwe(Error().stack)||"anonymous"}:typeof I==="string"?{type:I}:I;if(c===void 0)return M==null||M.send(G,i()),j;return M==null||M.send({...G,type:`${c}/${G.type}`},{..._j(m.name),[c]:f.getState()}),j},f.devtools={cleanup:()=>{if(M&&typeof M.unsubscribe==="function")M.unsubscribe();Ewe(m.name,c)}};let y=(...k)=>{let F=b;b=!1,a(...k),b=F},_=e(f.setState,i,f);if(x.type==="untracked")M==null||M.init(_);else x.stores[x.store]=f,M==null||M.init(Object.fromEntries(Object.entries(x.stores).map(([k,F])=>[k,k===x.store?_:F.getState()])));if(Iee(f)){let k=!1,F=f.dispatch;f.dispatch=(...I)=>{if((import.meta.env?import.meta.env.MODE:void 0)!=="production"&&I[0].type==="__setState"&&!k)console.warn('[zustand devtools middleware] "__setState" action type is reserved to set state from the devtools. Avoid using it.'),k=!0;F(...I)}}return M.subscribe((k)=>{var F;switch(k.type){case"ACTION":if(typeof k.payload!=="string"){console.error("[zustand devtools middleware] Unsupported action format");return}return iY(k.payload,(I)=>{if(I.type==="__setState"){if(c===void 0){y(I.state);return}if(Object.keys(I.state).length!==1)console.error(`
|
|
12
|
+
[zustand devtools middleware] Unsupported __setState action format.
|
|
13
|
+
When using 'store' option in devtools(), the 'state' should have only one key, which is a value of 'store' that was passed in devtools(),
|
|
14
|
+
and value of this only key should be a state object. Example: { "type": "__setState", "state": { "abc123Store": { "foo": "bar" } } }
|
|
15
|
+
`);let j=I.state[c];if(j===void 0||j===null)return;if(JSON.stringify(f.getState())!==JSON.stringify(j))y(j);return}if(Iee(f))f.dispatch(I)});case"DISPATCH":switch(k.payload.type){case"RESET":if(y(_),c===void 0)return M==null?void 0:M.init(f.getState());return M==null?void 0:M.init(_j(m.name));case"COMMIT":if(c===void 0){M==null||M.init(f.getState());return}return M==null?void 0:M.init(_j(m.name));case"ROLLBACK":return iY(k.state,(I)=>{if(c===void 0){y(I),M==null||M.init(f.getState());return}y(I[c]),M==null||M.init(_j(m.name))});case"JUMP_TO_STATE":case"JUMP_TO_ACTION":return iY(k.state,(I)=>{if(c===void 0){y(I);return}if(JSON.stringify(f.getState())!==JSON.stringify(I[c]))y(I[c])});case"IMPORT_STATE":{let{nextLiftedState:I}=k.payload,j=(F=I.computedStates.slice(-1)[0])==null?void 0:F.state;if(!j)return;if(c===void 0)y(j);else y(j[c]);M==null||M.send(null,I);return}case"PAUSE_RECORDING":return b=!b}return}}),_},Cee=Fwe,iY=(e,r)=>{let a;try{a=JSON.parse(e)}catch(i){console.error("[zustand devtools middleware] Could not parse the received json",i)}if(a!==void 0)r(a)};function Iz(e,r){let a;try{a=e()}catch(f){return}return{getItem:(f)=>{var s;let l=(m)=>{if(m===null)return null;return JSON.parse(m,r==null?void 0:r.reviver)},c=(s=a.getItem(f))!=null?s:null;if(c instanceof Promise)return c.then(l);return l(c)},setItem:(f,s)=>a.setItem(f,JSON.stringify(s,r==null?void 0:r.replacer)),removeItem:(f)=>a.removeItem(f)}}var fY=(e)=>(r)=>{try{let a=e(r);if(a instanceof Promise)return a;return{then(i){return fY(i)(a)},catch(i){return this}}}catch(a){return{then(i){return this},catch(i){return fY(i)(a)}}}},Bwe=(e,r)=>(a,i,f)=>{let s={storage:Iz(()=>window.localStorage),partialize:(F)=>F,version:0,merge:(F,I)=>({...I,...F}),...r},l=!1,c=0,m=new Set,g=new Set,M=s.storage;if(!M)return e((...F)=>{console.warn(`[zustand persist middleware] Unable to update item '${s.name}', the given storage is currently unavailable.`),a(...F)},i,f);let x=()=>{let F=s.partialize({...i()});return M.setItem(s.name,{state:F,version:s.version})},b=f.setState;f.setState=(F,I)=>(b(F,I),x());let y=e((...F)=>(a(...F),x()),i,f);f.getInitialState=()=>y;let _,k=()=>{var F,I;if(!M)return;let j=++c;l=!1,m.forEach((X)=>{var J;return X((J=i())!=null?J:y)});let G=((I=s.onRehydrateStorage)==null?void 0:I.call(s,(F=i())!=null?F:y))||void 0;return fY(M.getItem.bind(M))(s.name).then((X)=>{if(X)if(typeof X.version==="number"&&X.version!==s.version){if(s.migrate){let J=s.migrate(X.state,X.version);if(J instanceof Promise)return J.then((ee)=>[!0,ee]);return[!0,J]}console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}else return[!1,X.state];return[!1,void 0]}).then((X)=>{var J;if(j!==c)return;let[ee,te]=X;if(_=s.merge(te,(J=i())!=null?J:y),a(_,!0),ee)return x()}).then(()=>{if(j!==c)return;G==null||G(i(),void 0),_=i(),l=!0,g.forEach((X)=>X(_))}).catch((X)=>{if(j!==c)return;G==null||G(void 0,X)})};if(f.persist={setOptions:(F)=>{if(s={...s,...F},F.storage)M=F.storage},clearStorage:()=>{++c,M==null||M.removeItem(s.name)},getOptions:()=>s,rehydrate:()=>k(),hasHydrated:()=>l,onHydrate:(F)=>(m.add(F),()=>{m.delete(F)}),onFinishHydration:(F)=>(g.add(F),()=>{g.delete(F)})},!s.skipHydration)k();return _||y},Gk=Bwe;var cf=Tr()(Gk((e)=>({user:null,setUser:(r)=>e({user:r}),clearAuth:()=>e({user:null})}),{name:"auth-storage",storage:Iz(()=>localStorage)}));var Ywe=async(e,r)=>{let a=await fetch(e,r);if(a.status===401){let i=e.toString();if(!window.location.pathname.includes("/login")&&!window.location.pathname.includes("/signup")&&!window.location.pathname.startsWith("/share/")&&!i.includes("/api/authn"))cf.getState().clearAuth(),window.location.href="/login"}return a},A=nY("/",{fetch:Ywe,init:{credentials:"include"}});C();var wj=(...e)=>e.filter((r,a,i)=>Boolean(r)&&r.trim()!==""&&i.indexOf(r)===a).join(" ").trim();var Ree=(e)=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();var Pee=(e)=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(r,a,i)=>i?i.toUpperCase():a.toLowerCase());var sY=(e)=>{let r=Pee(e);return r.charAt(0).toUpperCase()+r.slice(1)};C();var zj={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};var Tee=(e)=>{for(let r in e)if(r.startsWith("aria-")||r==="role"||r==="title")return!0;return!1};C();var Uwe=xt({});var Aee=()=>St(Uwe);var Dee=D(({color:e,size:r,strokeWidth:a,absoluteStrokeWidth:i,className:f="",children:s,iconNode:l,...c},m)=>{let{size:g=24,strokeWidth:M=2,absoluteStrokeWidth:x=!1,color:b="currentColor",className:y=""}=Aee()??{},_=i??x?Number(a??M)*24/Number(r??g):a??M;return q("svg",{ref:m,...zj,width:r??g??zj.width,height:r??g??zj.height,stroke:e??b,strokeWidth:_,className:wj("lucide",y,f),...!s&&!Tee(c)&&{"aria-hidden":"true"},...c},[...l.map(([k,F])=>q(k,F)),...Array.isArray(s)?s:[s]])});var T=(e,r)=>{let a=D(({className:i,...f},s)=>q(Dee,{ref:s,iconNode:r,className:wj(`lucide-${Ree(sY(e))}`,`lucide-${e}`,i),...f}));return a.displayName=sY(e),a};var qwe=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m16 9-5.5 5.5L8 12",key:"xofnsj"}]],br=T("circle-check",qwe);var Vwe=[["path",{d:"M12 13v8",key:"1l5pq0"}],["path",{d:"M4 14.899A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.242",key:"1pljnt"}],["path",{d:"m8 17 4-4 4 4",key:"1quai1"}]],Bn=T("cloud-upload",Vwe);var Hwe=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M12 3v18",key:"108xh3"}]],o8=T("columns-2",Hwe);var Wwe=[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"12",cy:"5",r:"1",key:"gxeob9"}],["circle",{cx:"12",cy:"19",r:"1",key:"lyex9k"}]],wr=T("ellipsis-vertical",Wwe);var Gwe=[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"19",cy:"12",r:"1",key:"1wjl8i"}],["circle",{cx:"5",cy:"12",r:"1",key:"1pcz8c"}]],cr=T("ellipsis",Gwe);var Kwe=[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],L=T("loader-circle",Kwe);var Xwe=[["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"M2.586 16.726A2 2 0 0 1 2 15.312V8.688a2 2 0 0 1 .586-1.414l4.688-4.688A2 2 0 0 1 8.688 2h6.624a2 2 0 0 1 1.414.586l4.688 4.688A2 2 0 0 1 22 8.688v6.624a2 2 0 0 1-.586 1.414l-4.688 4.688a2 2 0 0 1-1.414.586H8.688a2 2 0 0 1-1.414-.586z",key:"2d38gg"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]],a8=T("octagon-x",Xwe);var Qwe=[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}],["path",{d:"M12 7v5l4 2",key:"1fdv2h"}]],_n=T("rotate-ccw-clock",Qwe);var Jwe=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M8 7v7",key:"1x2jlm"}],["path",{d:"M12 7v4",key:"xawao1"}],["path",{d:"M16 7v9",key:"1hp2iy"}]],ko=T("square-kanban",Jwe);var $we=[["path",{d:"M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7",key:"1m0v6g"}],["path",{d:"M18.375 2.625a1 1 0 0 1 3 3l-9.013 9.014a2 2 0 0 1-.853.505l-2.873.84a.5.5 0 0 1-.62-.62l.84-2.873a2 2 0 0 1 .506-.852z",key:"ohrbg2"}]],Hr=T("square-pen",$we);var e0e=[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]],$r=T("triangle-alert",e0e);var t0e=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],Wn=T("arrow-right",t0e);var r0e=[["path",{d:"m5 12 7-7 7 7",key:"hav0vg"}],["path",{d:"M12 19V5",key:"x0mq9r"}]],Ha=T("arrow-up",r0e);var o0e=[["path",{d:"M17 3a2 2 0 0 1 2 2v15a1 1 0 0 1-1.496.868l-4.512-2.578a2 2 0 0 0-1.984 0l-4.512 2.578A1 1 0 0 1 5 20V5a2 2 0 0 1 2-2z",key:"oz39mx"}]],$a=T("bookmark",o0e);var a0e=[["path",{d:"M12 8V4H8",key:"hb8ula"}],["rect",{width:"16",height:"12",x:"4",y:"8",rx:"2",key:"enze0r"}],["path",{d:"M2 14h2",key:"vft8re"}],["path",{d:"M20 14h2",key:"4cs60a"}],["path",{d:"M15 13v2",key:"1xurst"}],["path",{d:"M9 13v2",key:"rq6x2g"}]],wt=T("bot",a0e);var n0e=[["path",{d:"M8 2v3",key:"1ioesn"}],["path",{d:"M16 2v3",key:"otl347"}],["rect",{x:"3",y:"3",width:"18",height:"18",rx:"2",key:"h1oib"}],["path",{d:"M3 9h18",key:"1pudct"}]],Un=T("calendar",n0e);var i0e=[["path",{d:"M18 6 7 17l-5-5",key:"116fxf"}],["path",{d:"m22 10-7.5 7.5L13 16",key:"ke71qq"}]],EP=T("check-check",i0e);var f0e=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],Me=T("check",f0e);var s0e=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],be=T("chevron-down",s0e);var l0e=[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]],Gr=T("chevron-left",l0e);var c0e=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],pt=T("chevron-right",c0e);var u0e=[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]],vi=T("chevron-up",u0e);var d0e=[["path",{d:"m7 20 5-5 5 5",key:"13a0gw"}],["path",{d:"m7 4 5 5 5-5",key:"1kwcof"}]],Cz=T("chevrons-down-up",d0e);var Z0e=[["path",{d:"m7 15 5 5 5-5",key:"1hf1tw"}],["path",{d:"m7 9 5-5 5 5",key:"sgt6xg"}]],Rz=T("chevrons-up-down",Z0e);var p0e=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],OP=T("circle",p0e);var m0e=[["path",{d:"m12.296 3.464 3.02 3.956",key:"qash78"}],["path",{d:"M20.2 6 3 11l-.9-2.4c-.3-1.1.3-2.2 1.3-2.5l13.5-4c1.1-.3 2.2.3 2.5 1.3z",key:"1h7j8b"}],["path",{d:"M3 11h18v8a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"4lm6w1"}],["path",{d:"m6.18 5.276 3.1 3.899",key:"zjj9t3"}]],jP=T("clapperboard",m0e);var h0e=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 6v6l4 2",key:"mmk7yg"}]],hr=T("clock",h0e);var g0e=[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]],vt=T("download",g0e);var M0e=[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]],Fn=T("file-text",M0e);var v0e=[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}]],Xt=T("file",v0e);var x0e=[["path",{d:"M15 2h-4a2 2 0 0 0-2 2v11a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V8",key:"14sh0y"}],["path",{d:"M16.706 2.706A2.4 2.4 0 0 0 15 2v5a1 1 0 0 0 1 1h5a2.4 2.4 0 0 0-.706-1.706z",key:"1970lx"}],["path",{d:"M5 7a2 2 0 0 0-2 2v11a2 2 0 0 0 2 2h8a2 2 0 0 0 1.732-1",key:"l4dndm"}]],xi=T("files",x0e);var y0e=[["path",{d:"M16 14v2.2l1.6 1",key:"fo4ql5"}],["path",{d:"M7 20H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2",key:"1urifu"}],["circle",{cx:"16",cy:"16",r:"6",key:"qoo3c4"}]],Ms=T("folder-clock",y0e);var b0e=[["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}]],or=T("folder",b0e);var _0e=[["circle",{cx:"9",cy:"12",r:"1",key:"1vctgf"}],["circle",{cx:"9",cy:"5",r:"1",key:"hp0tcf"}],["circle",{cx:"9",cy:"19",r:"1",key:"fkjjf6"}],["circle",{cx:"15",cy:"12",r:"1",key:"1tmaij"}],["circle",{cx:"15",cy:"5",r:"1",key:"19l28e"}],["circle",{cx:"15",cy:"19",r:"1",key:"f4zoj3"}]],Rs=T("grip-vertical",_0e);var w0e=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}]],Yn=T("image",w0e);var z0e=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]],Ko=T("info",z0e);var S0e=[["rect",{width:"7",height:"7",x:"3",y:"3",rx:"1",key:"1g98yp"}],["rect",{width:"7",height:"7",x:"14",y:"3",rx:"1",key:"6d4xhi"}],["rect",{width:"7",height:"7",x:"14",y:"14",rx:"1",key:"nxv5o0"}],["rect",{width:"7",height:"7",x:"3",y:"14",rx:"1",key:"1bb6yr"}]],Jn=T("layout-grid",S0e);var L0e=[["path",{d:"M9 17H7A5 5 0 0 1 7 7h2",key:"8i5ue5"}],["path",{d:"M15 7h2a5 5 0 1 1 0 10h-2",key:"1b9ql8"}],["line",{x1:"8",x2:"16",y1:"12",y2:"12",key:"1jonct"}]],ks=T("link-2",L0e);var k0e=[["path",{d:"M3 5h.01",key:"18ugdj"}],["path",{d:"M3 12h.01",key:"nlz23k"}],["path",{d:"M3 19h.01",key:"noohij"}],["path",{d:"M8 5h13",key:"1pao27"}],["path",{d:"M8 12h13",key:"1za7za"}],["path",{d:"M8 19h13",key:"m83p4d"}]],Po=T("list",k0e);var I0e=[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]],Xr=T("lock",I0e);var C0e=[["path",{d:"m10 17 5-5-5-5",key:"1bsop3"}],["path",{d:"M15 12H3",key:"6jk70r"}],["path",{d:"M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4",key:"u53s6r"}]],NP=T("log-in",C0e);var R0e=[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]],Pz=T("mail",R0e);var P0e=[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]],XZ=T("menu",P0e);var T0e=[["path",{d:"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",key:"18887p"}]],_o=T("message-square",T0e);var A0e=[["path",{d:"m16 6-8.414 8.586a2 2 0 0 0 2.829 2.829l8.414-8.586a4 4 0 1 0-5.657-5.657l-8.379 8.551a6 6 0 1 0 8.485 8.485l8.379-8.551",key:"1miecu"}]],Si=T("paperclip",A0e);var D0e=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]],fe=T("plus",D0e);var E0e=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],Ut=T("search",E0e);var O0e=[["circle",{cx:"18",cy:"5",r:"3",key:"gq8acd"}],["circle",{cx:"6",cy:"12",r:"3",key:"w7nqdw"}],["circle",{cx:"18",cy:"19",r:"3",key:"1xt0gg"}],["line",{x1:"8.59",x2:"15.42",y1:"13.51",y2:"17.49",key:"47mynk"}],["line",{x1:"15.41",x2:"8.59",y1:"6.51",y2:"10.49",key:"1n3mei"}]],Ci=T("share-2",O0e);var j0e=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"6",key:"1vlfrh"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]],bo=T("target",j0e);var N0e=[["path",{d:"M10 11v6",key:"nco0om"}],["path",{d:"M14 11v6",key:"outv1u"}],["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]],ve=T("trash-2",N0e);var F0e=[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["line",{x1:"19",x2:"19",y1:"8",y2:"14",key:"1bvyxn"}],["line",{x1:"22",x2:"16",y1:"11",y2:"11",key:"1shjgl"}]],FP=T("user-plus",F0e);var B0e=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],De=T("x",B0e);C();var Kk=Tr((e)=>({isMobileMenuOpen:!1,activeItem:null,activeItemId:null,openMobileMenu:(r=null)=>e({isMobileMenuOpen:!0,activeItemId:typeof r==="string"?r:null,activeItem:typeof r==="number"?r:null}),closeMobileMenu:()=>e({isMobileMenuOpen:!1,activeItem:null,activeItemId:null}),toggleMobileMenu:()=>e((r)=>({isMobileMenuOpen:!r.isMobileMenuOpen,activeItem:r.isMobileMenuOpen?null:r.activeItem,activeItemId:r.isMobileMenuOpen?null:r.activeItemId})),setActiveItem:(r)=>e({activeItem:r,activeItemId:null}),setActiveItemId:(r)=>e({activeItemId:r})}));function nre(e){var r,a,i="";if(typeof e=="string"||typeof e=="number")i+=e;else if(typeof e=="object")if(Array.isArray(e)){var f=e.length;for(r=0;r<f;r++)e[r]&&(a=nre(e[r]))&&(i&&(i+=" "),i+=a)}else for(a in e)e[a]&&(i&&(i+=" "),i+=a);return i}function Sj(){for(var e,r,a=0,i="",f=arguments.length;a<f;a++)(e=arguments[a])&&(r=nre(e))&&(i&&(i+=" "),i+=r);return i}var Y0e=(e,r)=>{let a=Array(e.length+r.length);for(let i=0;i<e.length;i++)a[i]=e[i];for(let i=0;i<r.length;i++)a[e.length+i]=r[i];return a},U0e=(e,r)=>({classGroupId:e,validator:r}),ure=(e=new Map,r=null,a)=>({nextPart:e,validators:r,classGroupId:a});var ire=[];var q0e=(e)=>{let r=H0e(e),{conflictingClassGroups:a,conflictingClassGroupModifiers:i}=e;return{getClassGroupId:(l)=>{if(l.startsWith("[")&&l.endsWith("]"))return V0e(l);let c=l.split("-"),m=c[0]===""&&c.length>1?1:0;return dre(c,m,r)},getConflictingClassGroupIds:(l,c)=>{if(c){let m=i[l],g=a[l];if(m){if(g)return Y0e(g,m);return m}return g||ire}return a[l]||ire}}},dre=(e,r,a)=>{if(e.length-r===0)return a.classGroupId;let f=e[r],s=a.nextPart.get(f);if(s){let g=dre(e,r+1,s);if(g)return g}let l=a.validators;if(l===null)return;let c=r===0?e.join("-"):e.slice(r).join("-"),m=l.length;for(let g=0;g<m;g++){let M=l[g];if(M.validator(c))return M.classGroupId}return},V0e=(e)=>e.slice(1,-1).indexOf(":")===-1?void 0:(()=>{let r=e.slice(1,-1),a=r.indexOf(":"),i=r.slice(0,a);return i?"arbitrary.."+i:void 0})(),H0e=(e)=>{let{theme:r,classGroups:a}=e;return W0e(a,r)},W0e=(e,r)=>{let a=ure();for(let i in e){let f=e[i];cY(f,a,i,r)}return a},cY=(e,r,a,i)=>{let f=e.length;for(let s=0;s<f;s++){let l=e[s];G0e(l,r,a,i)}},G0e=(e,r,a,i)=>{if(typeof e==="string"){K0e(e,r,a);return}if(typeof e==="function"){X0e(e,r,a,i);return}Q0e(e,r,a,i)},K0e=(e,r,a)=>{let i=e===""?r:Zre(r,e);i.classGroupId=a},X0e=(e,r,a,i)=>{if(J0e(e)){cY(e(i),r,a,i);return}if(r.validators===null)r.validators=[];r.validators.push(U0e(a,e))},Q0e=(e,r,a,i)=>{let f=Object.entries(e),s=f.length;for(let l=0;l<s;l++){let[c,m]=f[l];cY(m,Zre(r,c),a,i)}},Zre=(e,r)=>{let a=e,i=r.split("-"),f=i.length;for(let s=0;s<f;s++){let l=i[s],c=a.nextPart.get(l);if(!c)c=ure(),a.nextPart.set(l,c);a=c}return a},J0e=(e)=>("isThemeGetter"in e)&&e.isThemeGetter===!0,$0e=(e)=>{if(e<1)return{get:()=>{return},set:()=>{}};let r=0,a=Object.create(null),i=Object.create(null),f=(s,l)=>{if(a[s]=l,r++,r>e)r=0,i=a,a=Object.create(null)};return{get(s){let l=a[s];if(l!==void 0)return l;if((l=i[s])!==void 0)return f(s,l),l},set(s,l){if(s in a)a[s]=l;else f(s,l)}}};var eze=[],fre=(e,r,a,i,f)=>({modifiers:e,hasImportantModifier:r,baseClassName:a,maybePostfixModifierPosition:i,isExternal:f}),tze=(e)=>{let{prefix:r,experimentalParseClassName:a}=e,i=(f)=>{let s=[],l=0,c=0,m=0,g,M=f.length;for(let k=0;k<M;k++){let F=f[k];if(l===0&&c===0){if(F===":"){s.push(f.slice(m,k)),m=k+1;continue}if(F==="/"){g=k;continue}}if(F==="[")l++;else if(F==="]")l--;else if(F==="(")c++;else if(F===")")c--}let x=s.length===0?f:f.slice(m),b=x,y=!1;if(x.endsWith("!"))b=x.slice(0,-1),y=!0;else if(x.startsWith("!"))b=x.slice(1),y=!0;let _=g&&g>m?g-m:void 0;return fre(s,y,b,_)};if(r){let f=r+":",s=i;i=(l)=>l.startsWith(f)?s(l.slice(f.length)):fre(eze,!1,l,void 0,!0)}if(a){let f=i;i=(s)=>a({className:s,parseClassName:f})}return i},rze=(e)=>{let r=new Map;return e.orderSensitiveModifiers.forEach((a,i)=>{r.set(a,1e6+i)}),(a)=>{let i=[],f=[];for(let s=0;s<a.length;s++){let l=a[s],c=l[0]==="[",m=r.has(l);if(c||m){if(f.length>0)f.sort(),i.push(...f),f=[];i.push(l)}else f.push(l)}if(f.length>0)f.sort(),i.push(...f);return i}},oze=(e)=>({cache:$0e(e.cacheSize),parseClassName:tze(e),sortModifiers:rze(e),postfixLookupClassGroupIds:aze(e),...q0e(e)}),aze=(e)=>{let r=Object.create(null),a=e.postfixLookupClassGroups;if(a)for(let i=0;i<a.length;i++)r[a[i]]=!0;return r},nze=/\s+/,ize=(e,r)=>{let{parseClassName:a,getClassGroupId:i,getConflictingClassGroupIds:f,sortModifiers:s,postfixLookupClassGroupIds:l}=r,c=[],m=e.trim().split(nze),g="";for(let M=m.length-1;M>=0;M-=1){let x=m[M],{isExternal:b,modifiers:y,hasImportantModifier:_,baseClassName:k,maybePostfixModifierPosition:F}=a(x);if(b){g=x+(g.length>0?" "+g:g);continue}let I=!!F,j;if(I){let te=k.substring(0,F);j=i(te);let oe=j&&l[j]?i(k):void 0;if(oe&&oe!==j)j=oe,I=!1}else j=i(k);if(!j){if(!I){g=x+(g.length>0?" "+g:g);continue}if(j=i(k),!j){g=x+(g.length>0?" "+g:g);continue}I=!1}let G=y.length===0?"":y.length===1?y[0]:s(y).join(":"),X=_?G+"!":G,J=X+j;if(c.indexOf(J)>-1)continue;c.push(J);let ee=f(j,I);for(let te=0;te<ee.length;++te){let oe=ee[te];c.push(X+oe)}g=x+(g.length>0?" "+g:g)}return g},fze=(...e)=>{let r=0,a,i,f="";while(r<e.length)if(a=e[r++]){if(i=pre(a))f&&(f+=" "),f+=i}return f},pre=(e)=>{if(typeof e==="string")return e;let r,a="";for(let i=0;i<e.length;i++)if(e[i]){if(r=pre(e[i]))a&&(a+=" "),a+=r}return a},sze=(e,...r)=>{let a,i,f,s,l=(m)=>{let g=r.reduce((M,x)=>x(M),e());return a=oze(g),i=a.cache.get,f=a.cache.set,s=c,c(m)},c=(m)=>{let g=i(m);if(g)return g;let M=ize(m,a);return f(m,M),M};return s=l,(...m)=>s(fze(...m))},lze=[],mi=(e)=>{let r=(a)=>a[e]||lze;return r.isThemeGetter=!0,r},mre=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,hre=/^\((?:(\w[\w-]*):)?(.+)\)$/i,cze=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,uze=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,dze=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Zze=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,pze=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,mze=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,f8=(e)=>cze.test(e),co=(e)=>!!e&&!Number.isNaN(Number(e)),nZ=(e)=>!!e&&Number.isInteger(Number(e)),lY=(e)=>e.endsWith("%")&&co(e.slice(0,-1)),QZ=(e)=>uze.test(e),gre=()=>!0,hze=(e)=>dze.test(e)&&!Zze.test(e),uY=()=>!1,gze=(e)=>pze.test(e),Mze=(e)=>mze.test(e),vze=(e)=>!_r(e)&&!Sr(e),xze=(e)=>e.startsWith("@container")&&(e[10]==="/"&&e[11]!==void 0||e[11]==="s"&&e[16]!==void 0&&e.startsWith("-size/",10)||e[11]==="n"&&e[18]!==void 0&&e.startsWith("-normal/",10)),yze=(e)=>s8(e,xre,uY),_r=(e)=>mre.test(e),Tz=(e)=>s8(e,yre,hze),sre=(e)=>s8(e,Ize,co),bze=(e)=>s8(e,_re,gre),_ze=(e)=>s8(e,bre,uY),lre=(e)=>s8(e,Mre,uY),wze=(e)=>s8(e,vre,Mze),Lj=(e)=>s8(e,wre,gze),Sr=(e)=>hre.test(e),XP=(e)=>Az(e,yre),zze=(e)=>Az(e,bre),cre=(e)=>Az(e,Mre),Sze=(e)=>Az(e,xre),Lze=(e)=>Az(e,vre),kj=(e)=>Az(e,wre,!0),kze=(e)=>Az(e,_re,!0),s8=(e,r,a)=>{let i=mre.exec(e);if(i){if(i[1])return r(i[1]);return a(i[2])}return!1},Az=(e,r,a=!1)=>{let i=hre.exec(e);if(i){if(i[1])return r(i[1]);return a}return!1},Mre=(e)=>e==="position"||e==="percentage",vre=(e)=>e==="image"||e==="url",xre=(e)=>e==="length"||e==="size"||e==="bg-size",yre=(e)=>e==="length",Ize=(e)=>e==="number",bre=(e)=>e==="family-name",_re=(e)=>e==="number"||e==="weight",wre=(e)=>e==="shadow";var Cze=()=>{let e=mi("color"),r=mi("font"),a=mi("text"),i=mi("font-weight"),f=mi("tracking"),s=mi("leading"),l=mi("breakpoint"),c=mi("container"),m=mi("spacing"),g=mi("radius"),M=mi("shadow"),x=mi("inset-shadow"),b=mi("text-shadow"),y=mi("drop-shadow"),_=mi("blur"),k=mi("perspective"),F=mi("aspect"),I=mi("ease"),j=mi("animate"),G=()=>["auto","avoid","all","avoid-page","page","left","right","column"],X=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],J=()=>[...X(),Sr,_r],ee=()=>["auto","hidden","clip","visible","scroll"],te=()=>["auto","contain","none"],oe=()=>[Sr,_r,m],ae=()=>[f8,"full","auto",...oe()],_e=()=>[nZ,"none","subgrid",Sr,_r],Ve=()=>["auto",{span:["full",nZ,Sr,_r]},nZ,Sr,_r],Ne=()=>[nZ,"auto",Sr,_r],ze=()=>["auto","min","max","fr",Sr,_r],Ye=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],ft=()=>["start","end","center","stretch","center-safe","end-safe"],Ke=()=>["auto",...oe()],Zt=()=>[f8,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...oe()],Et=()=>[f8,"screen","full","dvw","lvw","svw","min","max","fit",...oe()],Yt=()=>[f8,"screen","full","lh","dvh","lvh","svh","min","max","fit",...oe()],ce=()=>[e,Sr,_r],mt=()=>[...X(),cre,lre,{position:[Sr,_r]}],Vt=()=>["no-repeat",{repeat:["","x","y","space","round"]}],Pe=()=>["auto","cover","contain",Sze,yze,{size:[Sr,_r]}],ir=()=>[lY,XP,Tz],nr=()=>["","none","full",g,Sr,_r],$t=()=>["",co,XP,Tz],Er=()=>["solid","dashed","dotted","double"],Wt=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Kt=()=>[co,lY,cre,lre],ur=()=>["","none",_,Sr,_r],Ir=()=>["none",co,Sr,_r],Rr=()=>["none",co,Sr,_r],dr=()=>[co,Sr,_r],Zo=()=>[f8,"full",...oe()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[QZ],breakpoint:[QZ],color:[gre],container:[QZ],"drop-shadow":[QZ],ease:["in","out","in-out"],font:[vze],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[QZ],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[QZ],shadow:[QZ],spacing:["px",co],text:[QZ],"text-shadow":[QZ],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",f8,_r,Sr,F]}],container:["container"],"container-type":[{"@container":["","normal","size",Sr,_r]}],"container-named":[xze],columns:[{columns:[co,_r,Sr,c]}],"break-after":[{"break-after":G()}],"break-before":[{"break-before":G()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:J()}],overflow:[{overflow:ee()}],"overflow-x":[{"overflow-x":ee()}],"overflow-y":[{"overflow-y":ee()}],overscroll:[{overscroll:te()}],"overscroll-x":[{"overscroll-x":te()}],"overscroll-y":[{"overscroll-y":te()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:ae()}],"inset-x":[{"inset-x":ae()}],"inset-y":[{"inset-y":ae()}],start:[{"inset-s":ae(),start:ae()}],end:[{"inset-e":ae(),end:ae()}],"inset-bs":[{"inset-bs":ae()}],"inset-be":[{"inset-be":ae()}],top:[{top:ae()}],right:[{right:ae()}],bottom:[{bottom:ae()}],left:[{left:ae()}],visibility:["visible","invisible","collapse"],z:[{z:[nZ,"auto",Sr,_r]}],basis:[{basis:[f8,"full","auto",c,...oe()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[co,f8,"auto","initial","none",_r]}],grow:[{grow:["",co,Sr,_r]}],shrink:[{shrink:["",co,Sr,_r]}],order:[{order:[nZ,"first","last","none",Sr,_r]}],"grid-cols":[{"grid-cols":_e()}],"col-start-end":[{col:Ve()}],"col-start":[{"col-start":Ne()}],"col-end":[{"col-end":Ne()}],"grid-rows":[{"grid-rows":_e()}],"row-start-end":[{row:Ve()}],"row-start":[{"row-start":Ne()}],"row-end":[{"row-end":Ne()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":ze()}],"auto-rows":[{"auto-rows":ze()}],gap:[{gap:oe()}],"gap-x":[{"gap-x":oe()}],"gap-y":[{"gap-y":oe()}],"justify-content":[{justify:[...Ye(),"normal"]}],"justify-items":[{"justify-items":[...ft(),"normal"]}],"justify-self":[{"justify-self":["auto",...ft()]}],"align-content":[{content:["normal",...Ye()]}],"align-items":[{items:[...ft(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...ft(),{baseline:["","last"]}]}],"place-content":[{"place-content":Ye()}],"place-items":[{"place-items":[...ft(),"baseline"]}],"place-self":[{"place-self":["auto",...ft()]}],p:[{p:oe()}],px:[{px:oe()}],py:[{py:oe()}],ps:[{ps:oe()}],pe:[{pe:oe()}],pbs:[{pbs:oe()}],pbe:[{pbe:oe()}],pt:[{pt:oe()}],pr:[{pr:oe()}],pb:[{pb:oe()}],pl:[{pl:oe()}],m:[{m:Ke()}],mx:[{mx:Ke()}],my:[{my:Ke()}],ms:[{ms:Ke()}],me:[{me:Ke()}],mbs:[{mbs:Ke()}],mbe:[{mbe:Ke()}],mt:[{mt:Ke()}],mr:[{mr:Ke()}],mb:[{mb:Ke()}],ml:[{ml:Ke()}],"space-x":[{"space-x":oe()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":oe()}],"space-y-reverse":["space-y-reverse"],size:[{size:Zt()}],"inline-size":[{inline:["auto",...Et()]}],"min-inline-size":[{"min-inline":["auto",...Et()]}],"max-inline-size":[{"max-inline":["none",...Et()]}],"block-size":[{block:["auto",...Yt()]}],"min-block-size":[{"min-block":["auto",...Yt()]}],"max-block-size":[{"max-block":["none",...Yt()]}],w:[{w:[c,"screen",...Zt()]}],"min-w":[{"min-w":[c,"screen","none",...Zt()]}],"max-w":[{"max-w":[c,"screen","none","prose",{screen:[l]},...Zt()]}],h:[{h:["screen","lh",...Zt()]}],"min-h":[{"min-h":["screen","lh","none",...Zt()]}],"max-h":[{"max-h":["screen","lh",...Zt()]}],"font-size":[{text:["base",a,XP,Tz]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[i,kze,bze]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",lY,_r]}],"font-family":[{font:[zze,_ze,r]}],"font-features":[{"font-features":[_r]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[f,Sr,_r]}],"line-clamp":[{"line-clamp":[co,"none",Sr,sre]}],leading:[{leading:[s,...oe()]}],"list-image":[{"list-image":["none",Sr,_r]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",Sr,_r]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:ce()}],"text-color":[{text:ce()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Er(),"wavy"]}],"text-decoration-thickness":[{decoration:[co,"from-font","auto",Sr,Tz]}],"text-decoration-color":[{decoration:ce()}],"underline-offset":[{"underline-offset":[co,"auto",Sr,_r]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:oe()}],"tab-size":[{tab:[nZ,Sr,_r]}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Sr,_r]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",Sr,_r]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:mt()}],"bg-repeat":[{bg:Vt()}],"bg-size":[{bg:Pe()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},nZ,Sr,_r],radial:["",Sr,_r],conic:[nZ,Sr,_r]},Lze,wze]}],"bg-color":[{bg:ce()}],"gradient-from-pos":[{from:ir()}],"gradient-via-pos":[{via:ir()}],"gradient-to-pos":[{to:ir()}],"gradient-from":[{from:ce()}],"gradient-via":[{via:ce()}],"gradient-to":[{to:ce()}],rounded:[{rounded:nr()}],"rounded-s":[{"rounded-s":nr()}],"rounded-e":[{"rounded-e":nr()}],"rounded-t":[{"rounded-t":nr()}],"rounded-r":[{"rounded-r":nr()}],"rounded-b":[{"rounded-b":nr()}],"rounded-l":[{"rounded-l":nr()}],"rounded-ss":[{"rounded-ss":nr()}],"rounded-se":[{"rounded-se":nr()}],"rounded-ee":[{"rounded-ee":nr()}],"rounded-es":[{"rounded-es":nr()}],"rounded-tl":[{"rounded-tl":nr()}],"rounded-tr":[{"rounded-tr":nr()}],"rounded-br":[{"rounded-br":nr()}],"rounded-bl":[{"rounded-bl":nr()}],"border-w":[{border:$t()}],"border-w-x":[{"border-x":$t()}],"border-w-y":[{"border-y":$t()}],"border-w-s":[{"border-s":$t()}],"border-w-e":[{"border-e":$t()}],"border-w-bs":[{"border-bs":$t()}],"border-w-be":[{"border-be":$t()}],"border-w-t":[{"border-t":$t()}],"border-w-r":[{"border-r":$t()}],"border-w-b":[{"border-b":$t()}],"border-w-l":[{"border-l":$t()}],"divide-x":[{"divide-x":$t()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":$t()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...Er(),"hidden","none"]}],"divide-style":[{divide:[...Er(),"hidden","none"]}],"border-color":[{border:ce()}],"border-color-x":[{"border-x":ce()}],"border-color-y":[{"border-y":ce()}],"border-color-s":[{"border-s":ce()}],"border-color-e":[{"border-e":ce()}],"border-color-bs":[{"border-bs":ce()}],"border-color-be":[{"border-be":ce()}],"border-color-t":[{"border-t":ce()}],"border-color-r":[{"border-r":ce()}],"border-color-b":[{"border-b":ce()}],"border-color-l":[{"border-l":ce()}],"divide-color":[{divide:ce()}],"outline-style":[{outline:[...Er(),"none","hidden"]}],"outline-offset":[{"outline-offset":[co,Sr,_r]}],"outline-w":[{outline:["",co,XP,Tz]}],"outline-color":[{outline:ce()}],shadow:[{shadow:["","none",M,kj,Lj]}],"shadow-color":[{shadow:ce()}],"inset-shadow":[{"inset-shadow":["none",x,kj,Lj]}],"inset-shadow-color":[{"inset-shadow":ce()}],"ring-w":[{ring:$t()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:ce()}],"ring-offset-w":[{"ring-offset":[co,Tz]}],"ring-offset-color":[{"ring-offset":ce()}],"inset-ring-w":[{"inset-ring":$t()}],"inset-ring-color":[{"inset-ring":ce()}],"text-shadow":[{"text-shadow":["none",b,kj,Lj]}],"text-shadow-color":[{"text-shadow":ce()}],opacity:[{opacity:[co,Sr,_r]}],"mix-blend":[{"mix-blend":[...Wt(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":Wt()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[co]}],"mask-image-linear-from-pos":[{"mask-linear-from":Kt()}],"mask-image-linear-to-pos":[{"mask-linear-to":Kt()}],"mask-image-linear-from-color":[{"mask-linear-from":ce()}],"mask-image-linear-to-color":[{"mask-linear-to":ce()}],"mask-image-t-from-pos":[{"mask-t-from":Kt()}],"mask-image-t-to-pos":[{"mask-t-to":Kt()}],"mask-image-t-from-color":[{"mask-t-from":ce()}],"mask-image-t-to-color":[{"mask-t-to":ce()}],"mask-image-r-from-pos":[{"mask-r-from":Kt()}],"mask-image-r-to-pos":[{"mask-r-to":Kt()}],"mask-image-r-from-color":[{"mask-r-from":ce()}],"mask-image-r-to-color":[{"mask-r-to":ce()}],"mask-image-b-from-pos":[{"mask-b-from":Kt()}],"mask-image-b-to-pos":[{"mask-b-to":Kt()}],"mask-image-b-from-color":[{"mask-b-from":ce()}],"mask-image-b-to-color":[{"mask-b-to":ce()}],"mask-image-l-from-pos":[{"mask-l-from":Kt()}],"mask-image-l-to-pos":[{"mask-l-to":Kt()}],"mask-image-l-from-color":[{"mask-l-from":ce()}],"mask-image-l-to-color":[{"mask-l-to":ce()}],"mask-image-x-from-pos":[{"mask-x-from":Kt()}],"mask-image-x-to-pos":[{"mask-x-to":Kt()}],"mask-image-x-from-color":[{"mask-x-from":ce()}],"mask-image-x-to-color":[{"mask-x-to":ce()}],"mask-image-y-from-pos":[{"mask-y-from":Kt()}],"mask-image-y-to-pos":[{"mask-y-to":Kt()}],"mask-image-y-from-color":[{"mask-y-from":ce()}],"mask-image-y-to-color":[{"mask-y-to":ce()}],"mask-image-radial":[{"mask-radial":[Sr,_r]}],"mask-image-radial-from-pos":[{"mask-radial-from":Kt()}],"mask-image-radial-to-pos":[{"mask-radial-to":Kt()}],"mask-image-radial-from-color":[{"mask-radial-from":ce()}],"mask-image-radial-to-color":[{"mask-radial-to":ce()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":X()}],"mask-image-conic-pos":[{"mask-conic":[co]}],"mask-image-conic-from-pos":[{"mask-conic-from":Kt()}],"mask-image-conic-to-pos":[{"mask-conic-to":Kt()}],"mask-image-conic-from-color":[{"mask-conic-from":ce()}],"mask-image-conic-to-color":[{"mask-conic-to":ce()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:mt()}],"mask-repeat":[{mask:Vt()}],"mask-size":[{mask:Pe()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",Sr,_r]}],filter:[{filter:["","none",Sr,_r]}],blur:[{blur:ur()}],brightness:[{brightness:[co,Sr,_r]}],contrast:[{contrast:[co,Sr,_r]}],"drop-shadow":[{"drop-shadow":["","none",y,kj,Lj]}],"drop-shadow-color":[{"drop-shadow":ce()}],grayscale:[{grayscale:["",co,Sr,_r]}],"hue-rotate":[{"hue-rotate":[co,Sr,_r]}],invert:[{invert:["",co,Sr,_r]}],saturate:[{saturate:[co,Sr,_r]}],sepia:[{sepia:["",co,Sr,_r]}],"backdrop-filter":[{"backdrop-filter":["","none",Sr,_r]}],"backdrop-blur":[{"backdrop-blur":ur()}],"backdrop-brightness":[{"backdrop-brightness":[co,Sr,_r]}],"backdrop-contrast":[{"backdrop-contrast":[co,Sr,_r]}],"backdrop-grayscale":[{"backdrop-grayscale":["",co,Sr,_r]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[co,Sr,_r]}],"backdrop-invert":[{"backdrop-invert":["",co,Sr,_r]}],"backdrop-opacity":[{"backdrop-opacity":[co,Sr,_r]}],"backdrop-saturate":[{"backdrop-saturate":[co,Sr,_r]}],"backdrop-sepia":[{"backdrop-sepia":["",co,Sr,_r]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":oe()}],"border-spacing-x":[{"border-spacing-x":oe()}],"border-spacing-y":[{"border-spacing-y":oe()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",Sr,_r]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[co,"initial",Sr,_r]}],ease:[{ease:["linear","initial",I,Sr,_r]}],delay:[{delay:[co,Sr,_r]}],animate:[{animate:["none",j,Sr,_r]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[k,Sr,_r]}],"perspective-origin":[{"perspective-origin":J()}],rotate:[{rotate:Ir()}],"rotate-x":[{"rotate-x":Ir()}],"rotate-y":[{"rotate-y":Ir()}],"rotate-z":[{"rotate-z":Ir()}],scale:[{scale:Rr()}],"scale-x":[{"scale-x":Rr()}],"scale-y":[{"scale-y":Rr()}],"scale-z":[{"scale-z":Rr()}],"scale-3d":["scale-3d"],skew:[{skew:dr()}],"skew-x":[{"skew-x":dr()}],"skew-y":[{"skew-y":dr()}],transform:[{transform:[Sr,_r,"","none","gpu","cpu"]}],"transform-origin":[{origin:J()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:Zo()}],"translate-x":[{"translate-x":Zo()}],"translate-y":[{"translate-y":Zo()}],"translate-z":[{"translate-z":Zo()}],"translate-none":["translate-none"],zoom:[{zoom:[nZ,Sr,_r]}],accent:[{accent:ce()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:ce()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",Sr,_r]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scrollbar-thumb-color":[{"scrollbar-thumb":ce()}],"scrollbar-track-color":[{"scrollbar-track":ce()}],"scrollbar-gutter":[{"scrollbar-gutter":["auto","stable","both"]}],"scrollbar-w":[{scrollbar:["auto","thin","none"]}],"scroll-m":[{"scroll-m":oe()}],"scroll-mx":[{"scroll-mx":oe()}],"scroll-my":[{"scroll-my":oe()}],"scroll-ms":[{"scroll-ms":oe()}],"scroll-me":[{"scroll-me":oe()}],"scroll-mbs":[{"scroll-mbs":oe()}],"scroll-mbe":[{"scroll-mbe":oe()}],"scroll-mt":[{"scroll-mt":oe()}],"scroll-mr":[{"scroll-mr":oe()}],"scroll-mb":[{"scroll-mb":oe()}],"scroll-ml":[{"scroll-ml":oe()}],"scroll-p":[{"scroll-p":oe()}],"scroll-px":[{"scroll-px":oe()}],"scroll-py":[{"scroll-py":oe()}],"scroll-ps":[{"scroll-ps":oe()}],"scroll-pe":[{"scroll-pe":oe()}],"scroll-pbs":[{"scroll-pbs":oe()}],"scroll-pbe":[{"scroll-pbe":oe()}],"scroll-pt":[{"scroll-pt":oe()}],"scroll-pr":[{"scroll-pr":oe()}],"scroll-pb":[{"scroll-pb":oe()}],"scroll-pl":[{"scroll-pl":oe()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",Sr,_r]}],fill:[{fill:["none",...ce()]}],"stroke-w":[{stroke:[co,XP,Tz,sre]}],stroke:[{stroke:["none",...ce()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{"container-named":["container-type"],overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},postfixLookupClassGroups:["container-type"],orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}};var zre=sze(Cze);function E(...e){return zre(Sj(e))}var Sre=(e)=>typeof e==="boolean"?`${e}`:e===0?"0":e,Lre=Sj,as=(e,r)=>(a)=>{var i;if((r===null||r===void 0?void 0:r.variants)==null)return Lre(e,a===null||a===void 0?void 0:a.class,a===null||a===void 0?void 0:a.className);let{variants:f,defaultVariants:s}=r,l=Object.keys(f).map((g)=>{let M=a===null||a===void 0?void 0:a[g],x=s===null||s===void 0?void 0:s[g];if(M===null)return null;let b=Sre(M)||Sre(x);return f[g][b]}),c=a&&Object.entries(a).reduce((g,M)=>{let[x,b]=M;if(b===void 0)return g;return g[x]=b,g},{}),m=r===null||r===void 0?void 0:(i=r.compoundVariants)===null||i===void 0?void 0:i.reduce((g,M)=>{let{class:x,className:b,...y}=M;return Object.entries(y).every((_)=>{let[k,F]=_;return Array.isArray(F)?F.includes({...s,...c}[k]):{...s,...c}[k]===F})?[...g,x,b]:g},[]);return Lre(e,l,m,a===null||a===void 0?void 0:a.class,a===null||a===void 0?void 0:a.className)};C();C();var Rze=Object.defineProperty,gc=(e,r)=>Rze(e,"name",{value:r,configurable:!0});function Pze(e,r){let a=xt(r);a.displayName=e+"Context";let i=gc((s)=>{let{children:l,...c}=s,m=O(()=>c,Object.values(c));return t(a.Provider,{value:m,children:l})},"Provider");i.displayName=e+"Provider";function f(s,l={}){let{optional:c=!1}=l,m=St(a);if(m)return m;if(r!==void 0)return r;if(c)return;throw Error(`\`${s}\` must be used within \`${e}\``)}return gc(f,"useContext"),[i,f]}gc(Pze,"createContext");function dt(e,r=[]){let a=[];function i(s,l){let c=xt(l);c.displayName=s+"Context";let m=a.length;a=[...a,l];let g=gc((x)=>{let{scope:b,children:y,..._}=x,k=b?.[e]?.[m]||c,F=O(()=>_,Object.values(_));return t(k.Provider,{value:F,children:y})},"Provider");g.displayName=s+"Provider";function M(x,b,y={}){let{optional:_=!1}=y,k=b?.[e]?.[m]||c,F=St(k);if(F)return F;if(l!==void 0)return l;if(_)return;throw Error(`\`${x}\` must be used within \`${s}\``)}return gc(M,"useContext"),[g,M]}gc(i,"createContext");let f=gc(()=>{let s=a.map((l)=>xt(l));return gc(function(c){let m=c?.[e]||s;return O(()=>({[`__scope${e}`]:{...c,[e]:m}}),[c,m])},"useScope")},"createScope");return f.scopeName=e,[i,kre(f,...r)]}gc(dt,"createContextScope");function kre(...e){let r=e[0];if(e.length===1)return r;let a=gc(()=>{let i=e.map((f)=>({useScope:f(),scopeName:f.scopeName}));return gc(function(s){let l=i.reduce((c,{useScope:m,scopeName:g})=>{let x=m(s)[`__scope${g}`];return{...c,...x}},{});return O(()=>({[`__scope${r.scopeName}`]:l}),[l])},"useComposedScopes")},"createScope");return a.scopeName=r.scopeName,a}gc(kre,"composeContextScopes");C();var Tze=Object.defineProperty,ZY=(e,r)=>Tze(e,"name",{value:r,configurable:!0});function dY(e,r){if(typeof e==="function")return e(r);else if(e!==null&&e!==void 0)e.current=r}ZY(dY,"setRef");function Ire(...e){return(r)=>{let a=!1,i=e.map((f)=>{let s=dY(f,r);if(!a&&typeof s=="function")a=!0;return s});if(a)return()=>{for(let f=0;f<i.length;f++){let s=i[f];if(typeof s=="function")s();else dY(e[f],null)}}}}ZY(Ire,"composeRefs");function he(...e){return N(Ire(...e),e)}ZY(he,"useComposedRefs");C();var Aze=Object.defineProperty,Xk=(e,r)=>Aze(e,"name",{value:r,configurable:!0}),Cre=!!(typeof window<"u"&&window.document&&window.document.createElement);function Y(e,r,{checkForDefaultPrevented:a=!0}={}){return Xk(function(f){if(e?.(f),a===!1||!f||!f.defaultPrevented)return r?.(f)},"handleEvent")}Xk(Y,"composeEventHandlers");function Dze(e){if(!Cre)throw Error("Cannot access window outside of the DOM");return e?.ownerDocument?.defaultView??window}Xk(Dze,"getOwnerWindow");function pY(e){if(!Cre)throw Error("Cannot access document outside of the DOM");return e?.ownerDocument??document}Xk(pY,"getOwnerDocument");function Rre(e,r=!1){let{activeElement:a}=pY(e);if(!a?.nodeName)return null;if(Pre(a)&&a.contentDocument)return Rre(a.contentDocument.body,r);if(r){let i=a.getAttribute("aria-activedescendant");if(i){let f=pY(a).getElementById(i);if(f)return f}}return a}Xk(Rre,"getActiveElement");function Pre(e){return e.tagName==="IFRAME"}Xk(Pre,"isFrame");C();C();var It=globalThis?.document?Ge:()=>{};var Eze=Object.defineProperty,Oze=(e,r)=>Eze(e,"name",{value:r,configurable:!0}),jze=Q[" useId ".trim().toString()]||(()=>{return}),Nze=0;function vr(e){let[r,a]=u(jze());return It(()=>{if(!e)a((i)=>i??String(Nze++))},[e]),e||(r?`radix-${r}`:"")}Oze(vr,"useId");C();var na=!1;C();C();var Fze=Object.defineProperty,Bze=(e,r)=>Fze(e,"name",{value:r,configurable:!0}),Tre=Q[" useEffectEvent ".trim().toString()],Are=Q[" useInsertionEffect ".trim().toString()];function mY(e){if(typeof Tre==="function")return Tre(e);let r=w(()=>{throw Error("Cannot call an event handler while rendering.")});if(typeof Are==="function")Are(()=>{r.current=e});else It(()=>{r.current=e});return O(()=>(...a)=>r.current?.(...a),[])}Bze(mY,"useEffectEvent");var Yze=Object.defineProperty,QP=(e,r)=>Yze(e,"name",{value:r,configurable:!0}),Uze=Q[" useInsertionEffect ".trim().toString()]||It;function Lt({prop:e,defaultProp:r,onChange:a=QP(()=>{},"onChange"),caller:i}){let[f,s,l]=Ere({defaultProp:r,onChange:a}),c=e!==void 0,m=c?e:f;if(na){let M=w(e!==void 0);h(()=>{let x=M.current;if(x!==c)console.warn(`${i} is changing from ${x?"controlled":"uncontrolled"} to ${c?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`);M.current=c},[c,i])}let g=N((M)=>{if(c){let x=Ore(M)?M(e):M;if(x!==e)l.current?.(x)}else s(M)},[c,e,s,l]);return[m,g]}QP(Lt,"useControllableState");function Ere({defaultProp:e,onChange:r}){let[a,i]=u(e),f=w(a),s=w(r);return Uze(()=>{s.current=r},[r]),h(()=>{if(f.current!==a)s.current?.(a),f.current=a},[a,f]),[a,i,s]}QP(Ere,"useUncontrolledState");function Ore(e){return typeof e==="function"}QP(Ore,"isFunction");var Dre=Symbol("RADIX:SYNC_STATE");function qze(e,r,a,i){let{prop:f,defaultProp:s,onChange:l,caller:c}=r,m=f!==void 0,g=mY(l);if(na){let F=w(f!==void 0);h(()=>{let I=F.current;if(I!==m)console.warn(`${c} is changing from ${I?"controlled":"uncontrolled"} to ${m?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`);F.current=m},[m,c])}let M=[{...a,state:s}];if(i)M.push(i);let[x,b]=Ao((F,I)=>{if(I.type===Dre)return{...F,state:I.state};let j=e(F,I);if(m&&!Object.is(j.state,F.state))g(j.state);return j},...M),y=x.state,_=w(y);h(()=>{if(_.current!==y){if(_.current=y,!m)g(y)}},[y,_,m]);let k=O(()=>{if(f!==void 0)return{...x,state:f};return x},[x,f]);return h(()=>{if(m&&!Object.is(f,x.state))b({type:Dre,state:f})},[f,x.state,m]),[k,b]}QP(qze,"useControllableStateReducer");C();C();C();var Vze=Object.defineProperty,su=(e,r)=>Vze(e,"name",{value:r,configurable:!0});function Ai(e){let r=D((a,i)=>{let{children:f,...s}=a,l=null,c=!1,m=[];if(hY(f)&&typeof Ij==="function")f=Ij(f._payload);if(tc.forEach(f,(b)=>{if(Yre(b)){c=!0;let y=b,_="child"in y.props?y.props.child:y.props.children;if(hY(_)&&typeof Ij==="function")_=Ij(_._payload);l=Hze(y,_),m.push(l?.props?.children)}else m.push(b)}),l)l=Vd(l,void 0,m);else if(!c&&tc.count(f)===1&&fs(f))l=f;let g=l?Bre(l):void 0,M=he(i,g);if(!l){if(f||f===0)throw Error(c?Kze(e):Gze(e));return f}let x=Fre(s,l.props??{});if(l.type!==yn)x.ref=i?M:g;return Vd(l,x)});return r.displayName=`${e}.Slot`,r}su(Ai,"createSlot");var jre=Ai("Slot"),Nre=Symbol.for("radix.slottable");function gY(e){let r=su((a)=>("child"in a)?a.children(a.child):a.children,"Slottable");return r.displayName=`${e}.Slottable`,r.__radixId=Nre,r}su(gY,"createSlottable");var Hze=su((e,r)=>{if("child"in e.props){let a=e.props.child;if(!fs(a))return null;return Vd(a,void 0,e.props.children(a.props.children))}return fs(r)?r:null},"getSlottableElementFromSlottable");function Fre(e,r){let a={...r};for(let i in r){let f=e[i],s=r[i];if(/^on[A-Z]/.test(i)){if(f&&s)a[i]=(...c)=>{let m=s(...c);return f(...c),m};else if(f)a[i]=f}else if(i==="style")a[i]={...f,...s};else if(i==="className")a[i]=[f,s].filter(Boolean).join(" ")}return{...e,...a}}su(Fre,"mergeProps");function Bre(e){let r=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,a=r&&"isReactWarning"in r&&r.isReactWarning;if(a)return e.ref;if(r=Object.getOwnPropertyDescriptor(e,"ref")?.get,a=r&&"isReactWarning"in r&&r.isReactWarning,a)return e.props.ref;return e.props.ref||e.ref}su(Bre,"getElementRef");function Yre(e){return fs(e)&&typeof e.type==="function"&&"__radixId"in e.type&&e.type.__radixId===Nre}su(Yre,"isSlottable");var Wze=Symbol.for("react.lazy");function hY(e){return e!=null&&typeof e==="object"&&"$$typeof"in e&&e.$$typeof===Wze&&"_payload"in e&&Ure(e._payload)}su(hY,"isLazyComponent");function Ure(e){return typeof e==="object"&&e!==null&&"then"in e}su(Ure,"isPromiseLike");var Gze=su((e)=>`${e} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`,"createSlotError"),Kze=su((e)=>`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,"createSlottableError"),Ij=Q[" use ".trim().toString()];var Xze=Object.defineProperty,Qze=(e,r)=>Xze(e,"name",{value:r,configurable:!0}),Jze=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],se=Jze.reduce((e,r)=>{let a=Ai(`Primitive.${r}`),i=D((f,s)=>{let{asChild:l,...c}=f,m=l?a:r;if(typeof window<"u")window[Symbol.for("radix-ui")]=!0;return t(m,{...c,ref:s})});return i.displayName=`Primitive.${r}`,{...e,[r]:i}},{});function JP(e,r){if(e)Ln(()=>e.dispatchEvent(r))}Qze(JP,"dispatchDiscreteCustomEvent");C();var $ze=Object.defineProperty,eSe=(e,r)=>$ze(e,"name",{value:r,configurable:!0});function Xo(e){let r=w(e);return h(()=>{r.current=e}),O(()=>(...a)=>r.current?.(...a),[])}eSe(Xo,"useCallbackRef");var tSe=Object.defineProperty,Di=(e,r)=>tSe(e,"name",{value:r,configurable:!0}),vY="dismissableLayer.update",rSe="dismissableLayer.pointerDownOutside",oSe="dismissableLayer.focusOutside",qre,Vre=xt({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set,dismissableSurfaces:new Set}),iZ=D(Di(function(r,a){let{disableOutsidePointerEvents:i=!1,deferPointerDownOutside:f=!1,onEscapeKeyDown:s,onPointerDownOutside:l,onFocusOutside:c,onInteractOutside:m,onDismiss:g,...M}=r,x=St(Vre),[b,y]=u(null),_=b?.ownerDocument??globalThis?.document,[,k]=u({}),F=he(a,y),I=Array.from(x.layers),[j]=[...x.layersWithOutsidePointerEventsDisabled].slice(-1),G=j?I.indexOf(j):-1,X=b?I.indexOf(b):-1,J=x.layersWithOutsidePointerEventsDisabled.size>0,ee=X>=G,te=w(!1),oe=Hre((Ne)=>{if(l?.(Ne),m?.(Ne),!Ne.defaultPrevented)g?.()},{ownerDocument:_,deferPointerDownOutside:f,isDeferredPointerDownOutsideRef:te,dismissableSurfaces:x.dismissableSurfaces,shouldHandlePointerDownOutside:N((Ne)=>{if(!(Ne instanceof Node))return!1;let ze=[...x.branches].some((Ye)=>Ye.contains(Ne));return ee&&!ze},[x.branches,ee])}),ae=Wre((Ne)=>{if(f&&te.current)return;let ze=Ne.target;if([...x.branches].some((ft)=>ft.contains(ze)))return;if(c?.(Ne),m?.(Ne),!Ne.defaultPrevented)g?.()},_),_e=b?X===I.length-1:!1,Ve=Xo((Ne)=>{if(Ne.key!=="Escape")return;if(s?.(Ne),!Ne.defaultPrevented&&g)Ne.preventDefault(),g()});return h(()=>{if(!_e)return;return _.addEventListener("keydown",Ve,{capture:!0}),()=>_.removeEventListener("keydown",Ve,{capture:!0})},[_,_e,Ve]),h(()=>{if(!b)return;if(i){if(x.layersWithOutsidePointerEventsDisabled.size===0)qre=_.body.style.pointerEvents,_.body.style.pointerEvents="none";x.layersWithOutsidePointerEventsDisabled.add(b)}return x.layers.add(b),xY(),()=>{if(i){if(x.layersWithOutsidePointerEventsDisabled.delete(b),x.layersWithOutsidePointerEventsDisabled.size===0)_.body.style.pointerEvents=qre}}},[b,_,i,x]),h(()=>()=>{if(!b)return;x.layers.delete(b),x.layersWithOutsidePointerEventsDisabled.delete(b),xY()},[b,x]),h(()=>{let Ne=Di(()=>k({}),"handleUpdate");return document.addEventListener(vY,Ne),()=>document.removeEventListener(vY,Ne)},[]),t(se.div,{...M,ref:F,style:{pointerEvents:J?ee?"auto":"none":void 0,...r.style},onFocusCapture:Y(r.onFocusCapture,ae.onFocusCapture),onBlurCapture:Y(r.onBlurCapture,ae.onBlurCapture),onPointerDownCapture:Y(r.onPointerDownCapture,oe.onPointerDownCapture)})},"DismissableLayer"));function yY(){let e=St(Vre),[r,a]=u(null);return h(()=>{if(!r)return;return e.dismissableSurfaces.add(r),()=>{e.dismissableSurfaces.delete(r)}},[r,e.dismissableSurfaces]),a}Di(yY,"useDismissableLayerSurface");var aSe=Di(()=>!0,"IS_TRUE");function Hre(e,r){let{ownerDocument:a=globalThis?.document,deferPointerDownOutside:i=!1,isDeferredPointerDownOutsideRef:f,dismissableSurfaces:s,shouldHandlePointerDownOutside:l=aSe}=r,c=Xo(e),m=w(!1),g=w(!1),M=w(new Map),x=w(()=>{});return h(()=>{function b(){g.current=!1,f.current=!1,M.current.clear()}Di(b,"resetOutsideInteraction");function y(){return Array.from(M.current.values()).some(Boolean)}Di(y,"isOutsideInteractionIntercepted");function _(G){if(!g.current)return;let X=G.target;if(!(X instanceof Node&&[...s].some((ee)=>ee.contains(X))))M.current.set(G.type,!0);if(G.type==="click")window.setTimeout(()=>{if(g.current)x.current()},0)}Di(_,"handleInteractionCapture");function k(G){if(g.current)M.current.set(G.type,!1)}Di(k,"handleInteractionBubble");let F=Di((G)=>{if(G.target&&!m.current){let J=function(){a.removeEventListener("click",x.current);let te=y();if(b(),!te)bY(rSe,c,ee,{discrete:!0})};var X=J;if(Di(J,"handleAndDispatchPointerDownOutsideEvent"),!l(G.target)){a.removeEventListener("click",x.current),b(),m.current=!1;return}let ee={originalEvent:G};if(g.current=!0,f.current=i&&G.button===0,M.current.clear(),!i||G.button!==0)J();else a.removeEventListener("click",x.current),x.current=J,a.addEventListener("click",x.current,{once:!0})}else a.removeEventListener("click",x.current),b();m.current=!1},"handlePointerDown"),I=["pointerup","mousedown","mouseup","touchstart","touchend","click"];for(let G of I)a.addEventListener(G,_,!0),a.addEventListener(G,k);let j=window.setTimeout(()=>{a.addEventListener("pointerdown",F)},0);return()=>{window.clearTimeout(j),a.removeEventListener("pointerdown",F),a.removeEventListener("click",x.current);for(let G of I)a.removeEventListener(G,_,!0),a.removeEventListener(G,k)}},[a,c,i,f,s,l]),{onPointerDownCapture:Di(()=>m.current=!0,"onPointerDownCapture")}}Di(Hre,"usePointerDownOutside");function Wre(e,r=globalThis?.document){let a=Xo(e),i=w(!1);return h(()=>{let f=Di((s)=>{if(s.target&&!i.current)bY(oSe,a,{originalEvent:s},{discrete:!1})},"handleFocus");return r.addEventListener("focusin",f),()=>r.removeEventListener("focusin",f)},[r,a]),{onFocusCapture:Di(()=>i.current=!0,"onFocusCapture"),onBlurCapture:Di(()=>i.current=!1,"onBlurCapture")}}Di(Wre,"useFocusOutside");function xY(){let e=new CustomEvent(vY);document.dispatchEvent(e)}Di(xY,"dispatchUpdate");function bY(e,r,a,{discrete:i}){let f=a.originalEvent.target,s=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:a});if(r)f.addEventListener(e,r,{once:!0});if(i)JP(f,s);else f.dispatchEvent(s)}Di(bY,"handleAndDispatchCustomEvent");C();var nSe=Object.defineProperty,ms=(e,r)=>nSe(e,"name",{value:r,configurable:!0}),_Y="focusScope.autoFocusOnMount",wY="focusScope.autoFocusOnUnmount",Gre={bubbles:!1,cancelable:!0},l8=D(ms(function(r,a){let{loop:i=!1,trapped:f=!1,onMountAutoFocus:s,onUnmountAutoFocus:l,...c}=r,[m,g]=u(null),M=Xo(s),x=Xo(l),b=w(null),y=he(a,g),_=w({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;h(()=>{if(f){let G=function(te){if(_.paused||!m)return;let oe=te.target;if(m.contains(oe))b.current=oe;else JZ(b.current,{select:!0})},X=function(te){if(_.paused||!m)return;let oe=te.relatedTarget;if(oe===null)return;if(!m.contains(oe))JZ(b.current,{select:!0})},J=function(te){if(document.activeElement!==document.body)return;for(let ae of te)if(ae.removedNodes.length>0)JZ(m)};var F=G,I=X,j=J;ms(G,"handleFocusIn"),ms(X,"handleFocusOut"),ms(J,"handleMutations"),document.addEventListener("focusin",G),document.addEventListener("focusout",X);let ee=new MutationObserver(J);if(m)ee.observe(m,{childList:!0,subtree:!0});return()=>{document.removeEventListener("focusin",G),document.removeEventListener("focusout",X),ee.disconnect()}}},[f,m,_.paused]),h(()=>{if(m){Kre.add(_);let F=document.activeElement;if(!m.contains(F)){let j=new CustomEvent(_Y,Gre);if(m.addEventListener(_Y,M),m.dispatchEvent(j),!j.defaultPrevented){if(Xre(toe(LY(m)),{select:!0}),document.activeElement===F)JZ(m)}}return()=>{m.removeEventListener(_Y,M),setTimeout(()=>{let j=new CustomEvent(wY,Gre);if(m.addEventListener(wY,x),m.dispatchEvent(j),!j.defaultPrevented)JZ(F??document.body,{select:!0});m.removeEventListener(wY,x),Kre.remove(_)},0)}}},[m,M,x,_]);let k=N((F)=>{if(!i&&!f)return;if(_.paused)return;let I=F.key==="Tab"&&!F.altKey&&!F.ctrlKey&&!F.metaKey,j=document.activeElement;if(I&&j){let G=F.currentTarget,[X,J]=Qre(G);if(!(X&&J)){if(j===G)F.preventDefault()}else if(!F.shiftKey&&j===J){if(F.preventDefault(),i)JZ(X,{select:!0})}else if(F.shiftKey&&j===X){if(F.preventDefault(),i)JZ(J,{select:!0})}}},[i,f,_.paused]);return t(se.div,{tabIndex:-1,...c,ref:y,onKeyDown:k})},"FocusScope"));function Xre(e,{select:r=!1}={}){let a=document.activeElement;for(let i of e)if(JZ(i,{select:r}),document.activeElement!==a)return}ms(Xre,"focusFirst");function Qre(e){let r=LY(e),a=zY(r,e),i=zY(r.reverse(),e);return[a,i]}ms(Qre,"getTabbableEdges");function LY(e){let r=[],a=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:ms((i)=>{let f=i.tagName==="INPUT"&&i.type==="hidden";if(i.disabled||i.hidden||f)return NodeFilter.FILTER_SKIP;return i.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP},"acceptNode")});while(a.nextNode())r.push(a.currentNode);return r}ms(LY,"getTabbableCandidates");function zY(e,r){let a=typeof r.checkVisibility==="function"&&r.checkVisibility({checkVisibilityCSS:!0});for(let i of e)if(!(a?!i.checkVisibility({checkVisibilityCSS:!0}):Jre(i,{upTo:r})))return i}ms(zY,"findVisible");function Jre(e,{upTo:r}){if(getComputedStyle(e).visibility==="hidden")return!0;while(e){if(r!==void 0&&e===r)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}ms(Jre,"isHidden");function $re(e){return e instanceof HTMLInputElement&&"select"in e}ms($re,"isSelectableInput");function JZ(e,{select:r=!1}={}){if(e&&e.focus){let a=document.activeElement;if(e.focus({preventScroll:!0}),e!==a&&$re(e)&&r)e.select()}}ms(JZ,"focus");var Kre=eoe();function eoe(){let e=[];return{add(r){let a=e[0];if(r!==a)a?.pause();e=SY(e,r),e.unshift(r)},remove(r){e=SY(e,r),e[0]?.resume()}}}ms(eoe,"createFocusScopesStack");function SY(e,r){let a=[...e],i=a.indexOf(r);if(i!==-1)a.splice(i,1);return a}ms(SY,"arrayRemove");function toe(e){return e.filter((r)=>r.tagName!=="A")}ms(toe,"removeLinks");C();var iSe=Object.defineProperty,fSe=(e,r)=>iSe(e,"name",{value:r,configurable:!0}),fZ=D(fSe(function(r,a){let{container:i,...f}=r,[s,l]=u(!1);It(()=>l(!0),[]);let c=i||s&&globalThis?.document?.body;return c?ja(t(se.div,{...f,ref:a}),c):null},"Portal"));C();C();var sSe=Object.defineProperty,$Z=(e,r)=>sSe(e,"name",{value:r,configurable:!0});function roe(e,r){return Ao((a,i)=>r[a][i]??a,e)}$Z(roe,"useStateMachine");var sr=$Z((e)=>{let{present:r,children:a}=e,i=ooe(r),f=typeof a==="function"?a({present:i.isPresent}):tc.only(a),s=aoe(i.ref,noe(f));return typeof a==="function"||i.isPresent?Vd(f,{ref:s}):null},"Presence");function ooe(e){let[r,a]=u(),i=w(null),f=w(e),s=w("none"),l=w(void 0),c=e?"mounted":"unmounted",[m,g]=roe(c,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return h(()=>{if(m==="mounted")s.current=l.current??Qk(i.current),l.current=void 0;else s.current="none"},[m]),It(()=>{let M=i.current,x=f.current;if(x!==e){let y=s.current,_=Qk(M);if(e)l.current=_,g("MOUNT");else if(_==="none"||M?.display==="none")g("UNMOUNT");else if(x&&y!==_)g("ANIMATION_OUT");else g("UNMOUNT");f.current=e}},[e,g]),It(()=>{if(r){let M,x=r.ownerDocument.defaultView??window,b=$Z((_)=>{let F=Qk(i.current).includes(CSS.escape(_.animationName));if(_.target===r&&F){if(g("ANIMATION_END"),!f.current){let I=r.style.animationFillMode;r.style.animationFillMode="forwards",M=x.setTimeout(()=>{if(r.style.animationFillMode==="forwards")r.style.animationFillMode=I})}}},"handleAnimationEnd"),y=$Z((_)=>{if(_.target===r)s.current=Qk(i.current)},"handleAnimationStart");return r.addEventListener("animationstart",y),r.addEventListener("animationcancel",b),r.addEventListener("animationend",b),()=>{x.clearTimeout(M),r.removeEventListener("animationstart",y),r.removeEventListener("animationcancel",b),r.removeEventListener("animationend",b)}}else g("ANIMATION_END")},[r,g]),{isPresent:["mounted","unmountSuspended"].includes(m),ref:N((M)=>{if(M){let x=getComputedStyle(M);i.current=x,l.current=Qk(x)}else i.current=null;a(M)},[])}}$Z(ooe,"usePresence");function kY(e,r){if(typeof e==="function")return e(r);else if(e!==null&&e!==void 0)e.current=r}$Z(kY,"setRef");function aoe(...e){let r=w(e);return r.current=e,N((a)=>{let i=r.current,f=!1,s=i.map((l)=>{let c=kY(l,a);if(!f&&typeof c==="function")f=!0;return c});if(f)return()=>{for(let l=0;l<s.length;l++){let c=s[l];if(typeof c==="function")c();else kY(i[l],null)}}},[])}$Z(aoe,"useStableComposedRefs");function Qk(e){return e?.animationName||"none"}$Z(Qk,"getAnimationName");function noe(e){let r=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,a=r&&"isReactWarning"in r&&r.isReactWarning;if(a)return e.ref;if(r=Object.getOwnPropertyDescriptor(e,"ref")?.get,a=r&&"isReactWarning"in r&&r.isReactWarning,a)return e.props.ref;return e.props.ref||e.ref}$Z(noe,"getElementRef");C();var lSe=Object.defineProperty,CY=(e,r)=>lSe(e,"name",{value:r,configurable:!0}),Cj=0,Jk=null;function cSe(e){return sZ(),e.children}CY(cSe,"FocusGuards");function sZ(){h(()=>{if(!Jk)Jk={start:IY(),end:IY()};let{start:e,end:r}=Jk;if(document.body.firstElementChild!==e)document.body.insertAdjacentElement("afterbegin",e);if(document.body.lastElementChild!==r)document.body.insertAdjacentElement("beforeend",r);return Cj++,()=>{if(Cj===1)Jk?.start.remove(),Jk?.end.remove(),Jk=null;Cj=Math.max(0,Cj-1)}},[])}CY(sZ,"useFocusGuards");function IY(){let e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}CY(IY,"createFocusGuard");var Ks=function(){return Ks=Object.assign||function(r){for(var a,i=1,f=arguments.length;i<f;i++){a=arguments[i];for(var s in a)if(Object.prototype.hasOwnProperty.call(a,s))r[s]=a[s]}return r},Ks.apply(this,arguments)};function Rj(e,r){var a={};for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)&&r.indexOf(i)<0)a[i]=e[i];if(e!=null&&typeof Object.getOwnPropertySymbols==="function"){for(var f=0,i=Object.getOwnPropertySymbols(e);f<i.length;f++)if(r.indexOf(i[f])<0&&Object.prototype.propertyIsEnumerable.call(e,i[f]))a[i[f]]=e[i[f]]}return a}function ioe(e,r,a){if(a||arguments.length===2){for(var i=0,f=r.length,s;i<f;i++)if(s||!(i in r)){if(!s)s=Array.prototype.slice.call(r,0,i);s[i]=r[i]}}return e.concat(s||Array.prototype.slice.call(r))}C();C();var Dz="right-scroll-bar-position",Ez="width-before-scroll-bar",RY="with-scroll-bars-hidden",PY="--removed-body-scroll-bar-size";C();function Pj(e,r){if(typeof e==="function")e(r);else if(e)e.current=r;return e}C();function foe(e,r){var a=u(function(){return{value:e,callback:r,facade:{get current(){return a.value},set current(i){var f=a.value;if(f!==i)a.value=i,a.callback(i,f)}}}})[0];return a.callback=r,a.facade}var uSe=typeof window<"u"?Ge:h,soe=new WeakMap;function TY(e,r){var a=foe(r||null,function(i){return e.forEach(function(f){return Pj(f,i)})});return uSe(function(){var i=soe.get(a);if(i){var f=new Set(i),s=new Set(e),l=a.current;f.forEach(function(c){if(!s.has(c))Pj(c,null)}),s.forEach(function(c){if(!f.has(c))Pj(c,l)})}soe.set(a,e)},[e]),a}function dSe(e){return e}function ZSe(e,r){if(r===void 0)r=dSe;var a=[],i=!1,f={read:function(){if(i)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");if(a.length)return a[a.length-1];return e},useMedium:function(s){var l=r(s,i);return a.push(l),function(){a=a.filter(function(c){return c!==l})}},assignSyncMedium:function(s){i=!0;while(a.length){var l=a;a=[],l.forEach(s)}a={push:function(c){return s(c)},filter:function(){return a}}},assignMedium:function(s){i=!0;var l=[];if(a.length){var c=a;a=[],c.forEach(s),l=a}var m=function(){var M=l;l=[],M.forEach(s)},g=function(){return Promise.resolve().then(m)};g(),a={push:function(M){l.push(M),g()},filter:function(M){return l=l.filter(M),a}}}};return f}function AY(e){if(e===void 0)e={};var r=ZSe(null);return r.options=Ks({async:!0,ssr:!1},e),r}C();var loe=function(e){var r=e.sideCar,a=Rj(e,["sideCar"]);if(!r)throw Error("Sidecar: please provide `sideCar` property to import the right car");var i=r.read();if(!i)throw Error("Sidecar medium not found");return q(i,Ks({},a))};loe.isSideCarExport=!0;function DY(e,r){return e.useMedium(r),loe}var Tj=AY();var EY=function(){return},$P=D(function(e,r){var a=w(null),i=u({onScrollCapture:EY,onWheelCapture:EY,onTouchMoveCapture:EY}),f=i[0],s=i[1],{forwardProps:l,children:c,className:m,removeScrollBar:g,enabled:M,shards:x,sideCar:b,noRelative:y,noIsolation:_,inert:k,allowPinchZoom:F,as:I}=e,j=I===void 0?"div":I,G=e.gapMode,X=Rj(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),J=b,ee=TY([a,r]),te=Ks(Ks({},X),f);return q(yn,null,M&&q(J,{sideCar:Tj,removeScrollBar:g,shards:x,noRelative:y,noIsolation:_,inert:k,setCallbacks:s,allowPinchZoom:!!F,lockRef:a,gapMode:G}),l?Vd(tc.only(c),Ks(Ks({},te),{ref:ee})):q(j,Ks({},te,{className:m,ref:ee}),c))});$P.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};$P.classNames={fullWidth:Ez,zeroRight:Dz};C();C();C();var coe;var uoe=function(){if(coe)return coe;if(typeof __webpack_nonce__<"u")return __webpack_nonce__;return};function pSe(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var r=uoe();if(r)e.setAttribute("nonce",r);return e}function mSe(e,r){if(e.styleSheet)e.styleSheet.cssText=r;else e.appendChild(document.createTextNode(r))}function hSe(e){var r=document.head||document.getElementsByTagName("head")[0];r.appendChild(e)}var OY=function(){var e=0,r=null;return{add:function(a){if(e==0){if(r=pSe())mSe(r,a),hSe(r)}e++},remove:function(){if(e--,!e&&r)r.parentNode&&r.parentNode.removeChild(r),r=null}}};var jY=function(){var e=OY();return function(r,a){h(function(){return e.add(r),function(){e.remove()}},[r&&a])}};var aT=function(){var e=jY(),r=function(a){var{styles:i,dynamic:f}=a;return e(i,f),null};return r};var gSe={left:0,top:0,right:0,gap:0},NY=function(e){return parseInt(e||"",10)||0},MSe=function(e){var r=window.getComputedStyle(document.body),a=r[e==="padding"?"paddingLeft":"marginLeft"],i=r[e==="padding"?"paddingTop":"marginTop"],f=r[e==="padding"?"paddingRight":"marginRight"];return[NY(a),NY(i),NY(f)]},FY=function(e){if(e===void 0)e="margin";if(typeof window>"u")return gSe;var r=MSe(e),a=document.documentElement.clientWidth,i=window.innerWidth;return{left:r[0],top:r[1],right:r[2],gap:Math.max(0,i-a+r[2]-r[0])}};var vSe=aT(),$k="data-scroll-locked",xSe=function(e,r,a,i){var{left:f,top:s,right:l,gap:c}=e;if(a===void 0)a="margin";return`
|
|
16
|
+
.`.concat(RY,` {
|
|
17
|
+
overflow: hidden `).concat(i,`;
|
|
18
|
+
padding-right: `).concat(c,"px ").concat(i,`;
|
|
19
|
+
}
|
|
20
|
+
body[`).concat($k,`] {
|
|
21
|
+
overflow: hidden `).concat(i,`;
|
|
22
|
+
overscroll-behavior: contain;
|
|
23
|
+
`).concat([r&&"position: relative ".concat(i,";"),a==="margin"&&`
|
|
24
|
+
padding-left: `.concat(f,`px;
|
|
25
|
+
padding-top: `).concat(s,`px;
|
|
26
|
+
padding-right: `).concat(l,`px;
|
|
27
|
+
margin-left:0;
|
|
28
|
+
margin-top:0;
|
|
29
|
+
margin-right: `).concat(c,"px ").concat(i,`;
|
|
30
|
+
`),a==="padding"&&"padding-right: ".concat(c,"px ").concat(i,";")].filter(Boolean).join(""),`
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.`).concat(Dz,` {
|
|
34
|
+
right: `).concat(c,"px ").concat(i,`;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.`).concat(Ez,` {
|
|
38
|
+
margin-right: `).concat(c,"px ").concat(i,`;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.`).concat(Dz," .").concat(Dz,` {
|
|
42
|
+
right: 0 `).concat(i,`;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.`).concat(Ez," .").concat(Ez,` {
|
|
46
|
+
margin-right: 0 `).concat(i,`;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
body[`).concat($k,`] {
|
|
50
|
+
`).concat(PY,": ").concat(c,`px;
|
|
51
|
+
}
|
|
52
|
+
`)},doe=function(){var e=parseInt(document.body.getAttribute($k)||"0",10);return isFinite(e)?e:0},ySe=function(){h(function(){return document.body.setAttribute($k,(doe()+1).toString()),function(){var e=doe()-1;if(e<=0)document.body.removeAttribute($k);else document.body.setAttribute($k,e.toString())}},[])},BY=function(e){var{noRelative:r,noImportant:a,gapMode:i}=e,f=i===void 0?"margin":i;ySe();var s=O(function(){return FY(f)},[f]);return q(vSe,{styles:xSe(s,!r,f,!a?"!important":"")})};var YY=!1;if(typeof window<"u")try{e1=Object.defineProperty({},"passive",{get:function(){return YY=!0,!0}}),window.addEventListener("test",e1,e1),window.removeEventListener("test",e1,e1)}catch(e){YY=!1}var e1,Oz=YY?{passive:!1}:!1;var bSe=function(e){return e.tagName==="TEXTAREA"},Zoe=function(e,r){if(!(e instanceof Element))return!1;var a=window.getComputedStyle(e);return a[r]!=="hidden"&&!(a.overflowY===a.overflowX&&!bSe(e)&&a[r]==="visible")},_Se=function(e){return Zoe(e,"overflowY")},wSe=function(e){return Zoe(e,"overflowX")},UY=function(e,r){var a=r.ownerDocument,i=r;do{if(typeof ShadowRoot<"u"&&i instanceof ShadowRoot)i=i.host;var f=poe(e,i);if(f){var s=moe(e,i),l=s[1],c=s[2];if(l>c)return!0}i=i.parentNode}while(i&&i!==a.body);return!1},zSe=function(e){var{scrollTop:r,scrollHeight:a,clientHeight:i}=e;return[r,a,i]},SSe=function(e){var{scrollLeft:r,scrollWidth:a,clientWidth:i}=e;return[r,a,i]},poe=function(e,r){return e==="v"?_Se(r):wSe(r)},moe=function(e,r){return e==="v"?zSe(r):SSe(r)},LSe=function(e,r){return e==="h"&&r==="rtl"?-1:1},hoe=function(e,r,a,i,f){var s=LSe(e,window.getComputedStyle(r).direction),l=s*i,c=a.target,m=r.contains(c),g=!1,M=l>0,x=0,b=0;do{if(!c)break;var y=moe(e,c),_=y[0],k=y[1],F=y[2],I=k-F-s*_;if(_||I){if(poe(e,c))x+=I,b+=_}var j=c.parentNode;c=j&&j.nodeType===Node.DOCUMENT_FRAGMENT_NODE?j.host:j}while(!m&&c!==document.body||m&&(r.contains(c)||r===c));if(M&&(f&&Math.abs(x)<1||!f&&l>x))g=!0;else if(!M&&(f&&Math.abs(b)<1||!f&&-l>b))g=!0;return g};var Aj=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},goe=function(e){return[e.deltaX,e.deltaY]},Moe=function(e){return e&&"current"in e?e.current:e},kSe=function(e,r){return e[0]===r[0]&&e[1]===r[1]},ISe=function(e){return`
|
|
53
|
+
.block-interactivity-`.concat(e,` {pointer-events: none;}
|
|
54
|
+
.allow-interactivity-`).concat(e,` {pointer-events: all;}
|
|
55
|
+
`)},CSe=0,t1=[];function voe(e){var r=w([]),a=w([0,0]),i=w(),f=u(CSe++)[0],s=u(aT)[0],l=w(e);h(function(){l.current=e},[e]),h(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(f));var k=ioe([e.lockRef.current],(e.shards||[]).map(Moe),!0).filter(Boolean);return k.forEach(function(F){return F.classList.add("allow-interactivity-".concat(f))}),function(){document.body.classList.remove("block-interactivity-".concat(f)),k.forEach(function(F){return F.classList.remove("allow-interactivity-".concat(f))})}}return},[e.inert,e.lockRef.current,e.shards]);var c=N(function(k,F){if("touches"in k&&k.touches.length===2||k.type==="wheel"&&k.ctrlKey)return!l.current.allowPinchZoom;var I=Aj(k),j=a.current,G="deltaX"in k?k.deltaX:j[0]-I[0],X="deltaY"in k?k.deltaY:j[1]-I[1],J,ee=k.target,te=Math.abs(G)>Math.abs(X)?"h":"v";if("touches"in k&&te==="h"&&ee.type==="range")return!1;var oe=window.getSelection(),ae=oe&&oe.anchorNode,_e=ae?ae===ee||ae.contains(ee):!1;if(_e)return!1;var Ve=UY(te,ee);if(!Ve)return!0;if(Ve)J=te;else J=te==="v"?"h":"v",Ve=UY(te,ee);if(!Ve)return!1;if(!i.current&&"changedTouches"in k&&(G||X))i.current=J;if(!J)return!0;var Ne=i.current||J;return hoe(Ne,F,k,Ne==="h"?G:X,!0)},[]),m=N(function(k){var F=k;if(!t1.length||t1[t1.length-1]!==s)return;var I="deltaY"in F?goe(F):Aj(F),j=r.current.filter(function(J){return J.name===F.type&&(J.target===F.target||F.target===J.shadowParent)&&kSe(J.delta,I)})[0];if(j&&j.should){if(F.cancelable)F.preventDefault();return}if(!j){var G=(l.current.shards||[]).map(Moe).filter(Boolean).filter(function(J){return J.contains(F.target)}),X=G.length>0?c(F,G[0]):!l.current.noIsolation;if(X){if(F.cancelable)F.preventDefault()}}},[]),g=N(function(k,F,I,j){var G={name:k,delta:F,target:I,should:j,shadowParent:RSe(I)};r.current.push(G),setTimeout(function(){r.current=r.current.filter(function(X){return X!==G})},1)},[]),M=N(function(k){a.current=Aj(k),i.current=void 0},[]),x=N(function(k){g(k.type,goe(k),k.target,c(k,e.lockRef.current))},[]),b=N(function(k){g(k.type,Aj(k),k.target,c(k,e.lockRef.current))},[]);h(function(){return t1.push(s),e.setCallbacks({onScrollCapture:x,onWheelCapture:x,onTouchMoveCapture:b}),document.addEventListener("wheel",m,Oz),document.addEventListener("touchmove",m,Oz),document.addEventListener("touchstart",M,Oz),function(){t1=t1.filter(function(k){return k!==s}),document.removeEventListener("wheel",m,Oz),document.removeEventListener("touchmove",m,Oz),document.removeEventListener("touchstart",M,Oz)}},[]);var{removeScrollBar:y,inert:_}=e;return q(yn,null,_?q(s,{styles:ISe(f)}):null,y?q(BY,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function RSe(e){var r=null;while(e!==null){if(e instanceof ShadowRoot)r=e.host,e=e.host;e=e.parentNode}return r}var xoe=DY(Tj,voe);var yoe=D(function(e,r){return q($P,Ks({},e,{ref:r,sideCar:xoe}))});yoe.classNames=$P.classNames;var Yp=yoe;var PSe=function(e){if(typeof document>"u")return null;var r=Array.isArray(e)?e[0]:e;return r.ownerDocument.body},r1=new WeakMap,Dj=new WeakMap,Ej={},qY=0,boe=function(e){return e&&(e.host||boe(e.parentNode))},TSe=function(e,r){return r.map(function(a){if(e.contains(a))return a;var i=boe(a);if(i&&e.contains(i))return i;return console.error("aria-hidden",a,"in not contained inside",e,". Doing nothing"),null}).filter(function(a){return Boolean(a)})},ASe=function(e,r,a,i){var f=TSe(r,Array.isArray(e)?e:[e]);if(!Ej[a])Ej[a]=new WeakMap;var s=Ej[a],l=[],c=new Set,m=new Set(f),g=function(x){if(!x||c.has(x))return;c.add(x),g(x.parentNode)};f.forEach(g);var M=function(x){if(!x||m.has(x))return;Array.prototype.forEach.call(x.children,function(b){if(c.has(b))M(b);else try{var y=b.getAttribute(i),_=y!==null&&y!=="false",k=(r1.get(b)||0)+1,F=(s.get(b)||0)+1;if(r1.set(b,k),s.set(b,F),l.push(b),k===1&&_)Dj.set(b,!0);if(F===1)b.setAttribute(a,"true");if(!_)b.setAttribute(i,"true")}catch(I){console.error("aria-hidden: cannot operate on ",b,I)}})};return M(r),c.clear(),qY++,function(){if(l.forEach(function(x){var b=r1.get(x)-1,y=s.get(x)-1;if(r1.set(x,b),s.set(x,y),!b){if(!Dj.has(x))x.removeAttribute(i);Dj.delete(x)}if(!y)x.removeAttribute(a)}),qY--,!qY)r1=new WeakMap,r1=new WeakMap,Dj=new WeakMap,Ej={}}},c8=function(e,r,a){if(a===void 0)a="data-aria-hidden";var i=Array.from(Array.isArray(e)?e:[e]),f=r||PSe(e);if(!f)return function(){return null};return i.push.apply(i,Array.from(f.querySelectorAll("[aria-live], script"))),ASe(i,f,a,"aria-hidden")};var DSe=Object.defineProperty,Vl=(e,r)=>DSe(e,"name",{value:r,configurable:!0}),HY="Dialog",[_oe,WY]=dt(HY),[ESe,lu]=_oe(HY),GY=Vl((e)=>{let{__scopeDialog:r,children:a,open:i,defaultOpen:f,onOpenChange:s,modal:l=!0}=e,c=w(null),m=w(null),[g,M]=Lt({prop:i,defaultProp:f??!1,onChange:s,caller:HY}),[x,b]=u(0),[y,_]=u(0);return t(ESe,{scope:r,triggerRef:c,contentRef:m,contentId:vr(),titleId:vr(),descriptionId:vr(),titlePresent:x>0,descriptionPresent:y>0,setTitleCount:b,setDescriptionCount:_,open:g,onOpenChange:M,onOpenToggle:N(()=>M((k)=>!k),[M]),modal:l,children:a})},"Dialog"),OSe="DialogTrigger",KY=D(Vl(function(r,a){let{__scopeDialog:i,...f}=r,s=lu(OSe,i),l=he(a,s.triggerRef);return t(se.button,{type:"button","aria-haspopup":"dialog","aria-expanded":s.open,"aria-controls":s.open?s.contentId:void 0,"data-state":Oj(s.open),...f,ref:l,onClick:Y(r.onClick,s.onOpenToggle)})},"DialogTrigger")),woe="DialogPortal",[jSe,zoe]=_oe(woe,{forceMount:void 0}),XY=Vl((e)=>{let{__scopeDialog:r,forceMount:a,children:i,container:f}=e,s=lu(woe,r);return t(jSe,{scope:r,forceMount:a,children:tc.map(i,(l)=>t(sr,{present:a||s.open,children:t(fZ,{asChild:!0,container:f,children:l})}))})},"DialogPortal"),VY="DialogOverlay",QY=D(Vl(function(r,a){let i=zoe(VY,r.__scopeDialog),{forceMount:f=i.forceMount,...s}=r,l=lu(VY,r.__scopeDialog);return l.modal?t(sr,{present:f||l.open,children:t(FSe,{...s,ref:a})}):null},"DialogOverlay")),NSe=Ai("DialogOverlay.RemoveScroll"),FSe=D(Vl(function(r,a){let{__scopeDialog:i,...f}=r,s=lu(VY,i),l=yY(),c=he(a,l);return t(Yp,{as:NSe,allowPinchZoom:!0,shards:[s.contentRef],children:t(se.div,{"data-state":Oj(s.open),...f,ref:c,style:{pointerEvents:"auto",...f.style}})})},"DialogOverlayImpl")),iT="DialogContent",JY=D(Vl(function(r,a){let i=zoe(iT,r.__scopeDialog),{forceMount:f=i.forceMount,...s}=r,l=lu(iT,r.__scopeDialog);return t(sr,{present:f||l.open,children:l.modal?t(BSe,{...s,ref:a}):t(YSe,{...s,ref:a})})},"DialogContent")),BSe=D(Vl(function(r,a){let i=lu(iT,r.__scopeDialog),f=w(null),s=he(a,i.contentRef,f);return h(()=>{let l=f.current;if(l)return c8(l)},[]),t(Soe,{...r,ref:s,trapFocus:i.open,disableOutsidePointerEvents:i.open,onCloseAutoFocus:Y(r.onCloseAutoFocus,(l)=>{l.preventDefault(),i.triggerRef.current?.focus()}),onPointerDownOutside:Y(r.onPointerDownOutside,(l)=>{let c=l.detail.originalEvent,m=c.button===0&&c.ctrlKey===!0;if(c.button===2||m)l.preventDefault()}),onFocusOutside:Y(r.onFocusOutside,(l)=>l.preventDefault())})},"DialogContentModal")),YSe=D(Vl(function(r,a){let i=lu(iT,r.__scopeDialog),f=w(!1),s=w(!1);return t(Soe,{...r,ref:a,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:(l)=>{if(r.onCloseAutoFocus?.(l),!l.defaultPrevented){if(!f.current)i.triggerRef.current?.focus();l.preventDefault()}f.current=!1,s.current=!1},onInteractOutside:(l)=>{if(r.onInteractOutside?.(l),!l.defaultPrevented){if(f.current=!0,l.detail.originalEvent.type==="pointerdown")s.current=!0}let c=l.target;if(i.triggerRef.current?.contains(c))l.preventDefault();if(l.detail.originalEvent.type==="focusin"&&s.current)l.preventDefault()}})},"DialogContentNonModal")),Soe=D(Vl(function(r,a){let{__scopeDialog:i,trapFocus:f,onOpenAutoFocus:s,onCloseAutoFocus:l,...c}=r,m=lu(iT,i);return sZ(),t(B,{children:t(l8,{asChild:!0,loop:!0,trapped:f,onMountAutoFocus:s,onUnmountAutoFocus:l,children:t(iZ,{role:"dialog",id:m.contentId,"aria-describedby":m.descriptionPresent?m.descriptionId:void 0,"aria-labelledby":m.titlePresent?m.titleId:void 0,"data-state":Oj(m.open),...c,ref:a,deferPointerDownOutside:!0,onDismiss:()=>m.onOpenChange(!1)})})})},"DialogContentImpl")),USe="DialogTitle",$Y=D(Vl(function(r,a){let{__scopeDialog:i,...f}=r,s=lu(USe,i),{setTitleCount:l}=s;return It(()=>(l((c)=>c+1),()=>l((c)=>c-1)),[l]),t(se.h2,{id:s.titleId,...f,ref:a})},"DialogTitle")),qSe="DialogDescription",e7=D(Vl(function(r,a){let{__scopeDialog:i,...f}=r,s=lu(qSe,i),{setDescriptionCount:l}=s;return It(()=>(l((c)=>c+1),()=>l((c)=>c-1)),[l]),t(se.p,{id:s.descriptionId,...f,ref:a})},"DialogDescription")),VSe="DialogClose",fT=D(Vl(function(r,a){let{__scopeDialog:i,...f}=r,s=lu(VSe,i);return t(se.button,{type:"button",...f,ref:a,onClick:Y(r.onClick,()=>s.onOpenChange(!1))})},"DialogClose"));function Oj(e){return e?"open":"closed"}Vl(Oj,"getState");var HSe=Object.defineProperty,Wp=(e,r)=>HSe(e,"name",{value:r,configurable:!0}),WSe="AlertDialog",[GSe,V9o]=dt(WSe,[WY]),Kp=WY(),KSe=Wp((e)=>{let{__scopeAlertDialog:r,...a}=e,i=Kp(r);return t(GY,{...i,...a,modal:!0})},"AlertDialog"),H9o=D(Wp(function(r,a){let{__scopeAlertDialog:i,...f}=r,s=Kp(i);return t(KY,{...s,...f,ref:a})},"AlertDialogTrigger")),XSe=Wp((e)=>{let{__scopeAlertDialog:r,...a}=e,i=Kp(r);return t(XY,{...i,...a})},"AlertDialogPortal"),QSe=D(Wp(function(r,a){let{__scopeAlertDialog:i,...f}=r,s=Kp(i);return t(QY,{...s,...f,ref:a})},"AlertDialogOverlay")),JSe="AlertDialogContent",[$Se,eLe]=GSe(JSe),tLe=D(Wp(function(r,a){let{__scopeAlertDialog:i,children:f,...s}=r,l=Kp(i),c=w(null),m=he(a,c),g=w(null);return t($Se,{scope:i,cancelRef:g,children:t(JY,{role:"alertdialog",...l,...s,ref:m,onOpenAutoFocus:Y(s.onOpenAutoFocus,(M)=>{M.preventDefault(),g.current?.focus({preventScroll:!0})}),onPointerDownOutside:(M)=>M.preventDefault(),onInteractOutside:(M)=>M.preventDefault(),children:f})})},"AlertDialogContent")),rLe=D(Wp(function(r,a){let{__scopeAlertDialog:i,...f}=r,s=Kp(i);return t($Y,{...s,...f,ref:a})},"AlertDialogTitle")),oLe=D(Wp(function(r,a){let{__scopeAlertDialog:i,...f}=r,s=Kp(i);return t(e7,{...s,...f,ref:a})},"AlertDialogDescription")),aLe=D(Wp(function(r,a){let{__scopeAlertDialog:i,...f}=r,s=Kp(i);return t(fT,{...s,...f,ref:a})},"AlertDialogAction")),nLe="AlertDialogCancel",iLe=D(Wp(function(r,a){let{__scopeAlertDialog:i,...f}=r,{cancelRef:s}=eLe(nLe,i),l=Kp(i),c=he(a,s);return t(fT,{...l,...f,ref:c})},"AlertDialogCancel")),fLe=KSe;var sLe=XSe,lLe=QSe,cLe=tLe,uLe=aLe,dLe=iLe,ZLe=rLe,pLe=oLe;C();var mLe=Object.defineProperty,Xp=(e,r)=>mLe(e,"name",{value:r,configurable:!0}),koe="Avatar",[hLe,$9o]=dt(koe),gLe=[0,()=>{return}],[MLe,Ioe]=hLe(koe),vLe=D(Xp(function(r,a){let{__scopeAvatar:i,...f}=r,[s,l]=u("idle"),[c,m]=Roe();return t(MLe,{scope:i,imageLoadingStatus:s,setImageLoadingStatus:l,imageCount:c,setImageCount:m,children:t(se.span,{...f,ref:a})})},"Avatar")),xLe="AvatarImage",yLe=D(Xp(function(r,a){let{__scopeAvatar:i,src:f,onLoadingStatusChange:s,...l}=r,c=Ioe(xLe,i);Poe(c.setImageCount);let m=Coe(f,{referrerPolicy:l.referrerPolicy,crossOrigin:l.crossOrigin,loadingStatus:c.imageLoadingStatus,setLoadingStatus:c.setImageLoadingStatus}),g=Xo((x)=>{s?.(x)}),M=w(m);return It(()=>{let x=M.current;if(M.current=m,m!==x)g(m)},[m,g]),m==="loaded"?t(se.img,{...l,ref:a,src:f}):null},"AvatarImage")),bLe="AvatarFallback",_Le=D(Xp(function(r,a){let{__scopeAvatar:i,delayMs:f,...s}=r,l=Ioe(bLe,i),[c,m]=u(f===void 0);return h(()=>{if(f!==void 0){let g=window.setTimeout(()=>m(!0),f);return()=>window.clearTimeout(g)}},[f]),c&&l.imageLoadingStatus!=="loaded"?t(se.span,{...s,ref:a}):null},"AvatarFallback"));function Coe(e,{loadingStatus:r,setLoadingStatus:a,referrerPolicy:i,crossOrigin:f}){return It(()=>{if(!e){a("error");return}let s=new window.Image,l=Xp((m)=>{let g=m.currentTarget;a(r7(g))},"handleLoad"),c=Xp(()=>a("error"),"handleError");if(s.addEventListener("load",l),s.addEventListener("error",c),i)s.referrerPolicy=i;return s.crossOrigin=f??null,s.src=e,a(r7(s)),()=>{s.removeEventListener("load",l),s.removeEventListener("error",c),a("idle")}},[e,f,i,a]),r}Xp(Coe,"useImageLoadingStatus");function r7(e){return e.complete?e.naturalWidth>0?"loaded":"error":"loading"}Xp(r7,"getImageLoadingStatus");function Roe(){let e=gLe;if(na){e=u(0);let[r]=e,a=w(!1);h(()=>{if(r>1&&!a.current)a.current=!0,console.warn("Avatar: Only one `Avatar.Image` component should be rendered per `Avatar.Root`, but multiple were detected. This will lead to unexpected behavior.")},[r])}return e}Xp(Roe,"useImageCount");function Poe(e){if(na)h(()=>(e((r)=>r+1),()=>{e((r)=>r-1)}),[e])}Xp(Poe,"useUpdateImageCount");C();C();var wLe=Object.defineProperty,zLe=(e,r)=>wLe(e,"name",{value:r,configurable:!0});function oa(e){let[r,a]=u(void 0);return It(()=>{if(e){a({width:e.offsetWidth,height:e.offsetHeight});let i=new ResizeObserver((f)=>{if(!Array.isArray(f))return;if(!f.length)return;let s=f[0],l,c;if("borderBoxSize"in s){let m=s.borderBoxSize,g=Array.isArray(m)?m[0]:m;l=g.inlineSize,c=g.blockSize}else l=e.offsetWidth,c=e.offsetHeight;a({width:l,height:c})});return i.observe(e,{box:"border-box"}),()=>i.unobserve(e)}else a(void 0)},[e]),r}zLe(oa,"useSize");var SLe=Object.defineProperty,em=(e,r)=>SLe(e,"name",{value:r,configurable:!0}),o7="Checkbox",[LLe,cVo]=dt(o7),[kLe,a7]=LLe(o7);function Aoe(e){let{__scopeCheckbox:r,checked:a,children:i,defaultChecked:f,disabled:s,form:l,name:c,onCheckedChange:m,required:g,value:M="on",internal_do_not_use_render:x}=e,[b,y]=Lt({prop:a,defaultProp:f??!1,onChange:m,caller:o7}),[_,k]=u(null),[F,I]=u(null),j=w(!1),[G,X]=Ao((te)=>te+1,0),J=_?!!l||!!_.closest("form"):!0,ee={checked:b,disabled:s,setChecked:y,control:_,setControl:k,name:c,form:l,value:M,hasConsumerStoppedPropagationRef:j,userInteractionCount:G,onUserInteraction:X,required:g,defaultChecked:Jp(f)?!1:f,isFormControl:J,bubbleInput:F,setBubbleInput:I};return t(kLe,{scope:r,...ee,children:Doe(x)?x(ee):i})}em(Aoe,"CheckboxProvider");var ILe="CheckboxTrigger",CLe=D(em(function({__scopeCheckbox:r,onKeyDown:a,onClick:i,...f},s){let{control:l,value:c,disabled:m,checked:g,required:M,setControl:x,setChecked:b,hasConsumerStoppedPropagationRef:y,onUserInteraction:_,isFormControl:k,bubbleInput:F}=a7(ILe,r),I=he(s,x),j=w(g);return h(()=>{let G=l?.form;if(G){let X=em(()=>b(j.current),"reset");return G.addEventListener("reset",X),()=>G.removeEventListener("reset",X)}},[l,b]),t(se.button,{type:"button",role:"checkbox","aria-checked":Jp(g)?"mixed":g,"aria-required":M,"data-state":n7(g),"data-disabled":m?"":void 0,disabled:m,value:c,...f,ref:I,onKeyDown:Y(a,(G)=>{if(G.key==="Enter")G.preventDefault()}),onClick:Y(i,(G)=>{if(_(),b((X)=>Jp(X)?!0:!X),F&&k){if(y.current=G.isPropagationStopped(),!y.current)G.stopPropagation()}})})},"CheckboxTrigger")),RLe=D(em(function(r,a){let{__scopeCheckbox:i,name:f,checked:s,defaultChecked:l,required:c,disabled:m,value:g,onCheckedChange:M,form:x,...b}=r;return t(Aoe,{__scopeCheckbox:i,checked:s,defaultChecked:l,disabled:m,required:c,onCheckedChange:M,name:f,form:x,value:g,internal_do_not_use_render:({isFormControl:y})=>o(B,{children:[t(CLe,{...b,ref:a,__scopeCheckbox:i}),y&&t(DLe,{__scopeCheckbox:i})]})})},"Checkbox")),PLe="CheckboxIndicator",TLe=D(em(function(r,a){let{__scopeCheckbox:i,forceMount:f,...s}=r,l=a7(PLe,i);return t(sr,{present:f||Jp(l.checked)||l.checked===!0,children:t(se.span,{"data-state":n7(l.checked),"data-disabled":l.disabled?"":void 0,...s,ref:a,style:{pointerEvents:"none",...r.style}})})},"CheckboxIndicator")),ALe="CheckboxBubbleInput",DLe=D(em(function({__scopeCheckbox:r,onClick:a,...i},f){let{control:s,hasConsumerStoppedPropagationRef:l,userInteractionCount:c,checked:m,defaultChecked:g,required:M,disabled:x,name:b,value:y,form:_,bubbleInput:k,setBubbleInput:F}=a7(ALe,r),I=he(f,F),j=oa(s),G=w(!1),X=w(m),J=w(c);h(()=>{let te=k;if(!te)return;let oe=window.HTMLInputElement.prototype,_e=Object.getOwnPropertyDescriptor(oe,"checked").set,Ve=c!==J.current;J.current=c;let Ne=X.current!==m;X.current=m;let ze=!(Ve&&l.current);if(Ne&&_e){G.current=!Ve;let Ye=new Event("click",{bubbles:ze});te.indeterminate=Jp(m),_e.call(te,Jp(m)?!1:m),te.dispatchEvent(Ye),G.current=!1}},[k,m,l,c]);let ee=w(Jp(m)?!1:m);return t(se.input,{type:"checkbox","aria-hidden":!0,defaultChecked:g??ee.current,required:M,disabled:x,name:b,value:y,form:_,...i,tabIndex:-1,ref:I,onClick:Y(a,(te)=>{if(G.current)te.stopPropagation()}),style:{...i.style,...j,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})},"CheckboxBubbleInput"));function Doe(e){return typeof e==="function"}em(Doe,"isFunction");function Jp(e){return e==="indeterminate"}em(Jp,"isIndeterminate");function n7(e){return Jp(e)?"indeterminate":e?"checked":"unchecked"}em(n7,"getState");C();C();C();var ELe=Object.defineProperty,ji=(e,r)=>ELe(e,"name",{value:r,configurable:!0});function sa(e){let r=e+"CollectionProvider",[a,i]=dt(r),[f,s]=a(r,{collectionRef:{current:null},itemMap:new Map}),l=ji((k)=>{let{scope:F,children:I}=k,j=w(null),G=w(new Map).current;return t(f,{scope:F,itemMap:G,collectionRef:j,children:I})},"CollectionProvider");l.displayName=r;let c=e+"CollectionSlot",m=Ai(c),g=D((k,F)=>{let{scope:I,children:j}=k,G=s(c,I),X=he(F,G.collectionRef);return t(m,{ref:X,children:j})});g.displayName=c;let M=e+"CollectionItemSlot",x="data-radix-collection-item",b=Ai(M),y=D((k,F)=>{let{scope:I,children:j,...G}=k,X=w(null),J=he(F,X),ee=s(M,I);return h(()=>(ee.itemMap.set(X,{ref:X,...G}),()=>void ee.itemMap.delete(X))),t(b,{...{[x]:""},ref:J,children:j})});y.displayName=M;function _(k){let F=s(e+"CollectionConsumer",k);return N(()=>{let j=F.collectionRef.current;if(!j)return[];let G=Array.from(j.querySelectorAll(`[${x}]`));return Array.from(F.itemMap.values()).sort((ee,te)=>G.indexOf(ee.ref.current)-G.indexOf(te.ref.current))},[F.collectionRef,F.itemMap])}return ji(_,"useCollection"),[{Provider:l,Slot:g,ItemSlot:y},_,i]}ji(sa,"createCollection");var Ooe=new WeakMap,i7=class e extends Map{static{ji(this,"OrderedDict")}#e;constructor(r){super(r);this.#e=[...super.keys()],Ooe.set(this,!0)}set(r,a){if(Ooe.get(this))if(this.has(r))this.#e[this.#e.indexOf(r)]=r;else this.#e.push(r);return super.set(r,a),this}insert(r,a,i){let f=this.has(a),s=this.#e.length,l=s7(r),c=l>=0?l:s+l,m=c<0||c>=s?-1:c;if(m===this.size||f&&m===this.size-1||m===-1)return this.set(a,i),this;let g=this.size+(f?0:1);if(l<0)c++;let M=[...this.#e],x,b=!1;for(let y=c;y<g;y++)if(c===y){let _=M[y];if(M[y]===a)_=M[y+1];if(f)this.delete(a);x=this.get(_),this.set(a,i)}else{if(!b&&M[y-1]===a)b=!0;let _=M[b?y:y-1],k=x;x=this.get(_),this.delete(_),this.set(_,k)}return this}with(r,a,i){let f=new e(this);return f.insert(r,a,i),f}before(r){let a=this.#e.indexOf(r)-1;if(a<0)return;return this.entryAt(a)}setBefore(r,a,i){let f=this.#e.indexOf(r);if(f===-1)return this;return this.insert(f,a,i)}after(r){let a=this.#e.indexOf(r);if(a=a===-1||a===this.size-1?-1:a+1,a===-1)return;return this.entryAt(a)}setAfter(r,a,i){let f=this.#e.indexOf(r);if(f===-1)return this;return this.insert(f+1,a,i)}first(){return this.entryAt(0)}last(){return this.entryAt(-1)}clear(){return this.#e=[],super.clear()}delete(r){let a=super.delete(r);if(a)this.#e.splice(this.#e.indexOf(r),1);return a}deleteAt(r){let a=this.keyAt(r);if(a!==void 0)return this.delete(a);return!1}at(r){let a=jj(this.#e,r);if(a!==void 0)return this.get(a)}entryAt(r){let a=jj(this.#e,r);if(a!==void 0)return[a,this.get(a)]}indexOf(r){return this.#e.indexOf(r)}keyAt(r){return jj(this.#e,r)}from(r,a){let i=this.indexOf(r);if(i===-1)return;let f=i+a;if(f<0)f=0;if(f>=this.size)f=this.size-1;return this.at(f)}keyFrom(r,a){let i=this.indexOf(r);if(i===-1)return;let f=i+a;if(f<0)f=0;if(f>=this.size)f=this.size-1;return this.keyAt(f)}find(r,a){let i=0;for(let f of this){if(Reflect.apply(r,a,[f,i,this]))return f;i++}return}findIndex(r,a){let i=0;for(let f of this){if(Reflect.apply(r,a,[f,i,this]))return i;i++}return-1}filter(r,a){let i=[],f=0;for(let s of this){if(Reflect.apply(r,a,[s,f,this]))i.push(s);f++}return new e(i)}map(r,a){let i=[],f=0;for(let s of this)i.push([s[0],Reflect.apply(r,a,[s,f,this])]),f++;return new e(i)}reduce(...r){let[a,i]=r,f=0,s=i??this.at(0);for(let l of this){if(f===0&&r.length===1)s=l;else s=Reflect.apply(a,this,[s,l,f,this]);f++}return s}reduceRight(...r){let[a,i]=r,f=i??this.at(-1);for(let s=this.size-1;s>=0;s--){let l=this.at(s);if(s===this.size-1&&r.length===1)f=l;else f=Reflect.apply(a,this,[f,l,s,this])}return f}toSorted(r){let a=[...this.entries()].sort(r);return new e(a)}toReversed(){let r=new e;for(let a=this.size-1;a>=0;a--){let i=this.keyAt(a),f=this.get(i);r.set(i,f)}return r}toSpliced(...r){let a=[...this.entries()];return a.splice(...r),new e(a)}slice(r,a){let i=new e,f=this.size-1;if(r===void 0)return i;if(r<0)r=r+this.size;if(a!==void 0&&a>0)f=a-1;for(let s=r;s<=f;s++){let l=this.keyAt(s),c=this.get(l);i.set(l,c)}return i}every(r,a){let i=0;for(let f of this){if(!Reflect.apply(r,a,[f,i,this]))return!1;i++}return!0}some(r,a){let i=0;for(let f of this){if(Reflect.apply(r,a,[f,i,this]))return!0;i++}return!1}};function jj(e,r){if("at"in Array.prototype)return Array.prototype.at.call(e,r);let a=joe(e,r);return a===-1?void 0:e[a]}ji(jj,"at");function joe(e,r){let a=e.length,i=s7(r),f=i>=0?i:a+i;return f<0||f>=a?-1:f}ji(joe,"toSafeIndex");function s7(e){return e!==e||e===0?0:Math.trunc(e)}ji(s7,"toSafeInteger");function OLe(e){let r=e+"CollectionProvider",[a,i]=dt(r),[f,s]=a(r,{collectionElement:null,collectionRef:{current:null},collectionRefObject:{current:null},itemMap:new i7,setItemMap:ji(()=>{return},"setItemMap")}),l=ji(({state:G,...X})=>G?t(m,{...X,state:G}):t(c,{...X}),"CollectionProvider");l.displayName=r;let c=ji((G)=>{let X=F();return t(m,{...G,state:X})},"CollectionInit");c.displayName=r+"Init";let m=ji((G)=>{let{scope:X,children:J,state:ee}=G,te=w(null),[oe,ae]=u(null),_e=he(te,ae),[Ve,Ne]=ee;return h(()=>{if(!oe)return;let ze=Boe(()=>{});return ze.observe(oe,{childList:!0,subtree:!0}),()=>{ze.disconnect()}},[oe]),t(f,{scope:X,itemMap:Ve,setItemMap:Ne,collectionRef:_e,collectionRefObject:te,collectionElement:oe,children:J})},"CollectionProviderImpl");m.displayName=r+"Impl";let g=e+"CollectionSlot",M=Ai(g),x=D((G,X)=>{let{scope:J,children:ee}=G,te=s(g,J),oe=he(X,te.collectionRef);return t(M,{ref:oe,children:ee})});x.displayName=g;let b=e+"CollectionItemSlot",y="data-radix-collection-item",_=Ai(b),k=D((G,X)=>{let{scope:J,children:ee,...te}=G,oe=w(null),[ae,_e]=u(null),Ve=he(X,oe,_e),Ne=s(b,J),{setItemMap:ze}=Ne,Ye=w(te);if(!Noe(Ye.current,te))Ye.current=te;let ft=Ye.current;return h(()=>{let Ke=ft;return ze((Zt)=>{if(!ae)return Zt;if(!Zt.has(ae))return Zt.set(ae,{...Ke,element:ae}),Zt.toSorted(f7);return Zt.set(ae,{...Ke,element:ae}).toSorted(f7)}),()=>{ze((Zt)=>{if(!ae||!Zt.has(ae))return Zt;return Zt.delete(ae),new i7(Zt)})}},[ae,ft,ze]),t(_,{...{[y]:""},ref:Ve,children:ee})});k.displayName=b;function F(){return u(new i7)}ji(F,"useInitCollection");function I(G){let{itemMap:X}=s(e+"CollectionConsumer",G);return X}return ji(I,"useCollection"),[{Provider:l,Slot:x,ItemSlot:k},{createCollectionScope:i,useCollection:I,useInitCollection:F}]}ji(OLe,"createCollection");function Noe(e,r){if(e===r)return!0;if(typeof e!=="object"||typeof r!=="object")return!1;if(e==null||r==null)return!1;let a=Object.keys(e),i=Object.keys(r);if(a.length!==i.length)return!1;for(let f of a){if(!Object.prototype.hasOwnProperty.call(r,f))return!1;if(e[f]!==r[f])return!1}return!0}ji(Noe,"shallowEqual");function Foe(e,r){return!!(r.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_PRECEDING)}ji(Foe,"isElementPreceding");function f7(e,r){return!e[1].element||!r[1].element?0:Foe(e[1].element,r[1].element)?-1:1}ji(f7,"sortByDocumentPosition");function Boe(e){return new MutationObserver((a)=>{for(let i of a)if(i.type==="childList"){e();return}})}ji(Boe,"getChildListObserver");C();var jLe=Object.defineProperty,NLe=(e,r)=>jLe(e,"name",{value:r,configurable:!0}),FLe=xt(void 0);function zn(e){let r=St(FLe);return e||r||"ltr"}NLe(zn,"useDirection");C();var qoe=["top","right","bottom","left"];var{min:lZ,max:cu,round:lT,floor:cT}=Math,cZ=(e)=>({x:e,y:e}),BLe={left:"right",right:"left",bottom:"top",top:"bottom"};function l7(e,r,a){return cu(e,lZ(r,a))}function uZ(e,r){return typeof e==="function"?e(r):e}function tm(e){return e.split("-")[0]}function jz(e){return e.split("-")[1]}function Fj(e){return e==="x"?"y":"x"}function Bj(e){return e==="y"?"height":"width"}function uu(e){let r=e[0];return r==="t"||r==="b"?"y":"x"}function Yj(e){return Fj(uu(e))}function Voe(e,r,a){if(a===void 0)a=!1;let i=jz(e),f=Yj(e),s=Bj(f),l=f==="x"?i===(a?"end":"start")?"right":"left":i==="start"?"bottom":"top";if(r.reference[s]>r.floating[s])l=sT(l);return[l,sT(l)]}function Hoe(e){let r=sT(e);return[Nj(e),r,Nj(r)]}function Nj(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}var Yoe=["left","right"],Uoe=["right","left"],YLe=["top","bottom"],ULe=["bottom","top"];function qLe(e,r,a){switch(e){case"top":case"bottom":if(a)return r?Uoe:Yoe;return r?Yoe:Uoe;case"left":case"right":return r?YLe:ULe;default:return[]}}function Woe(e,r,a,i){let f=jz(e),s=qLe(tm(e),a==="start",i);if(f){if(s=s.map((l)=>l+"-"+f),r)s=s.concat(s.map(Nj))}return s}function sT(e){let r=tm(e);return BLe[r]+e.slice(r.length)}function VLe(e){var r,a,i,f;return{top:(r=e.top)!=null?r:0,right:(a=e.right)!=null?a:0,bottom:(i=e.bottom)!=null?i:0,left:(f=e.left)!=null?f:0}}function c7(e){return typeof e!=="number"?VLe(e):{top:e,right:e,bottom:e,left:e}}function Nz(e){let{x:r,y:a,width:i,height:f}=e;return{width:i,height:f,top:a,left:r,right:r+i,bottom:a+f,x:r,y:a}}function Goe(e,r,a){let{reference:i,floating:f}=e,s=uu(r),l=Yj(r),c=Bj(l),m=tm(r),g=s==="y",M=i.x+i.width/2-f.width/2,x=i.y+i.height/2-f.height/2,b=i[c]/2-f[c]/2,y;switch(m){case"top":y={x:M,y:i.y-f.height};break;case"bottom":y={x:M,y:i.y+i.height};break;case"right":y={x:i.x+i.width,y:x};break;case"left":y={x:i.x-f.width,y:x};break;default:y={x:i.x,y:i.y}}let _=jz(r);if(_)y[l]+=b*(_==="end"?1:-1)*(a&&g?-1:1);return y}async function Qoe(e,r){var a;if(r===void 0)r={};let{x:i,y:f,platform:s,rects:l,elements:c,strategy:m}=e,{boundary:g="clippingAncestors",rootBoundary:M="viewport",elementContext:x="floating",altBoundary:b=!1,padding:y=0}=uZ(r,e),_=c7(y),F=c[b?x==="floating"?"reference":"floating":x],I=Nz(await s.getClippingRect({element:((a=await(s.isElement==null?void 0:s.isElement(F)))!=null?a:!0)?F:F.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(c.floating)),boundary:g,rootBoundary:M,strategy:m})),j=x==="floating"?{x:i,y:f,width:l.floating.width,height:l.floating.height}:l.reference,G=await(s.getOffsetParent==null?void 0:s.getOffsetParent(c.floating)),X=await(s.isElement==null?void 0:s.isElement(G))&&await(s.getScale==null?void 0:s.getScale(G))||{x:1,y:1},J=Nz(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:j,offsetParent:G,strategy:m}):j);return{top:(I.top-J.top+_.top)/X.y,bottom:(J.bottom-I.bottom+_.bottom)/X.y,left:(I.left-J.left+_.left)/X.x,right:(J.right-I.right+_.right)/X.x}}var HLe=50,Joe=async(e,r,a)=>{let{placement:i="bottom",strategy:f="absolute",middleware:s=[],platform:l}=a,c=l.detectOverflow?l:{...l,detectOverflow:Qoe},m=await(l.isRTL==null?void 0:l.isRTL(r)),g=await l.getElementRects({reference:e,floating:r,strategy:f}),{x:M,y:x}=Goe(g,i,m),b=i,y=0,_={};for(let k=0;k<s.length;k++){let F=s[k];if(!F)continue;let{name:I,fn:j}=F,{x:G,y:X,data:J,reset:ee}=await j({x:M,y:x,initialPlacement:i,placement:b,strategy:f,middlewareData:_,rects:g,platform:c,elements:{reference:e,floating:r}});if(M=G!=null?G:M,x=X!=null?X:x,_[I]={..._[I],...J},ee&&y<HLe){if(y++,typeof ee==="object"){if(ee.placement)b=ee.placement;if(ee.rects)g=ee.rects===!0?await l.getElementRects({reference:e,floating:r,strategy:f}):ee.rects;({x:M,y:x}=Goe(g,b,m))}k=-1}}return{x:M,y:x,placement:b,strategy:f,middlewareData:_}},$oe=(e)=>({name:"arrow",options:e,async fn(r){let{x:a,y:i,placement:f,rects:s,platform:l,elements:c,middlewareData:m}=r,{element:g,padding:M=0}=uZ(e,r)||{};if(g==null)return{};let x=c7(M),b={x:a,y:i},y=Yj(f),_=Bj(y),k=await l.getDimensions(g),F=y==="y",I=F?"top":"left",j=F?"bottom":"right",G=F?"clientHeight":"clientWidth",X=s.reference[_]+s.reference[y]-b[y]-s.floating[_],J=b[y]-s.reference[y],ee=await(l.getOffsetParent==null?void 0:l.getOffsetParent(g)),te=ee?ee[G]:0;if(!te||!await(l.isElement==null?void 0:l.isElement(ee)))te=c.floating[G]||s.floating[_];let oe=X/2-J/2,ae=te/2-k[_]/2-1,_e=lZ(x[I],ae),Ve=lZ(x[j],ae),Ne=te-k[_]-Ve,ze=te/2-k[_]/2+oe,Ye=l7(_e,ze,Ne),ft=!m.arrow&&jz(f)!=null&&ze!==Ye&&s.reference[_]/2-(ze<_e?_e:Ve)-k[_]/2<0,Ke=ft?ze<_e?ze-_e:ze-Ne:0;return{[y]:b[y]+Ke,data:{[y]:Ye,centerOffset:ze-Ye-Ke,...ft&&{alignmentOffset:Ke}},reset:ft}}});var eae=function(e){if(e===void 0)e={};return{name:"flip",options:e,async fn(r){var a,i;let{placement:f,middlewareData:s,rects:l,initialPlacement:c,platform:m,elements:g}=r,{mainAxis:M=!0,crossAxis:x=!0,fallbackPlacements:b,fallbackStrategy:y="bestFit",fallbackAxisSideDirection:_="none",flipAlignment:k=!0,...F}=uZ(e,r);if((a=s.arrow)!=null&&a.alignmentOffset)return{};let I=tm(f),j=uu(c),G=tm(c)===c,X=await(m.isRTL==null?void 0:m.isRTL(g.floating)),J=b||(G||!k?[sT(c)]:Hoe(c)),ee=_!=="none";if(!b&&ee)J.push(...Woe(c,k,_,X));let te=[c,...J],oe=await m.detectOverflow(r,F),ae=[],_e=((i=s.flip)==null?void 0:i.overflows)||[];if(M)ae.push(oe[I]);if(x){let Ye=Voe(f,l,X);ae.push(oe[Ye[0]],oe[Ye[1]])}if(_e=[..._e,{placement:f,overflows:ae}],!ae.every((Ye)=>Ye<=0)){var Ve,Ne;let Ye=(((Ve=s.flip)==null?void 0:Ve.index)||0)+1,ft=te[Ye];if(ft){if(!(x==="alignment"?j!==uu(ft):!1)||_e.every((Et)=>uu(Et.placement)===j?Et.overflows[0]>0:!0))return{data:{index:Ye,overflows:_e},reset:{placement:ft}}}let Ke=(Ne=_e.filter((Zt)=>Zt.overflows[0]<=0).sort((Zt,Et)=>Zt.overflows[1]-Et.overflows[1])[0])==null?void 0:Ne.placement;if(!Ke)switch(y){case"bestFit":{var ze;let Zt=(ze=_e.filter((Et)=>{if(ee){let Yt=uu(Et.placement);return Yt===j||Yt==="y"}return!0}).map((Et)=>[Et.placement,Et.overflows.filter((Yt)=>Yt>0).reduce((Yt,ce)=>Yt+ce,0)]).sort((Et,Yt)=>Et[1]-Yt[1])[0])==null?void 0:ze[0];if(Zt)Ke=Zt;break}case"initialPlacement":Ke=c;break}if(f!==Ke)return{reset:{placement:Ke}}}return{}}}};function Koe(e,r){return{top:e.top-r.height,right:e.right-r.width,bottom:e.bottom-r.height,left:e.left-r.width}}function Xoe(e){return qoe.some((r)=>e[r]>=0)}var tae=function(e){if(e===void 0)e={};return{name:"hide",options:e,async fn(r){let{rects:a,platform:i}=r,{strategy:f="referenceHidden",...s}=uZ(e,r);switch(f){case"referenceHidden":{let l=await i.detectOverflow(r,{...s,elementContext:"reference"}),c=Koe(l,a.reference);return{data:{referenceHiddenOffsets:c,referenceHidden:Xoe(c)}}}case"escaped":{let l=await i.detectOverflow(r,{...s,altBoundary:!0}),c=Koe(l,a.floating);return{data:{escapedOffsets:c,escaped:Xoe(c)}}}default:return{}}}}};var rae=new Set(["left","top"]);async function WLe(e,r){let{placement:a,platform:i,elements:f}=e,s=await(i.isRTL==null?void 0:i.isRTL(f.floating)),l=tm(a),c=jz(a),m=uu(a)==="y",g=rae.has(l)?-1:1,M=s&&m?-1:1,x=uZ(r,e),{mainAxis:b,crossAxis:y,alignmentAxis:_}=typeof x==="number"?{mainAxis:x,crossAxis:0,alignmentAxis:null}:{mainAxis:x.mainAxis||0,crossAxis:x.crossAxis||0,alignmentAxis:x.alignmentAxis};if(c&&typeof _==="number")y=c==="end"?_*-1:_;return m?{x:y*M,y:b*g}:{x:b*g,y:y*M}}var oae=function(e){if(e===void 0)e=0;return{name:"offset",options:e,async fn(r){var a,i;let{x:f,y:s,placement:l,middlewareData:c}=r,m=await WLe(r,e);if(l===((a=c.offset)==null?void 0:a.placement)&&(i=c.arrow)!=null&&i.alignmentOffset)return{};return{x:f+m.x,y:s+m.y,data:{...m,placement:l}}}}},aae=function(e){if(e===void 0)e={};return{name:"shift",options:e,async fn(r){let{x:a,y:i,placement:f,platform:s}=r,{mainAxis:l=!0,crossAxis:c=!1,limiter:m={fn:(j)=>{let{x:G,y:X}=j;return{x:G,y:X}}},...g}=uZ(e,r),M={x:a,y:i},x=await s.detectOverflow(r,g),b=uu(f),y=Fj(b),_=M[y],k=M[b],F=(j,G)=>l7(G+x[j==="y"?"top":"left"],G,G-x[j==="y"?"bottom":"right"]);if(l)_=F(y,_);if(c)k=F(b,k);let I=m.fn({...r,[y]:_,[b]:k});return{...I,data:{x:I.x-a,y:I.y-i,enabled:{[y]:l,[b]:c}}}}}},nae=function(e){if(e===void 0)e={};return{options:e,fn(r){var a,i;let{x:f,y:s,placement:l,rects:c,middlewareData:m}=r,{offset:g=0,mainAxis:M=!0,crossAxis:x=!0}=uZ(e,r),b={x:f,y:s},y=uu(l),_=Fj(y),k=b[_],F=b[y],I=uZ(g,r),j=typeof I==="number"?{mainAxis:I,crossAxis:0}:{mainAxis:(a=I.mainAxis)!=null?a:0,crossAxis:(i=I.crossAxis)!=null?i:0};if(M){let J=_==="y"?"height":"width",ee=c.reference[_]-c.floating[J]+j.mainAxis,te=c.reference[_]+c.reference[J]-j.mainAxis;if(k<ee)k=ee;else if(k>te)k=te}if(x){var G,X;let J=_==="y"?"width":"height",ee=rae.has(tm(l)),te=c.reference[y]-c.floating[J]+(ee?((G=m.offset)==null?void 0:G[y])||0:0)+(ee?0:j.crossAxis),oe=c.reference[y]+c.reference[J]+(ee?0:((X=m.offset)==null?void 0:X[y])||0)-(ee?j.crossAxis:0);if(F<te)F=te;else if(F>oe)F=oe}return{[_]:k,[y]:F}}}},iae=function(e){if(e===void 0)e={};return{name:"size",options:e,async fn(r){let{placement:a,rects:i,platform:f,elements:s}=r,{apply:l=()=>{},...c}=uZ(e,r),m=await f.detectOverflow(r,c),g=tm(a),M=jz(a),x=uu(a)==="y",{width:b,height:y}=i.floating,_,k;if(g==="top"||g==="bottom")_=g,k=M===(await(f.isRTL==null?void 0:f.isRTL(s.floating))?"start":"end")?"left":"right";else k=g,_=M==="end"?"top":"bottom";let F=y-m.top-m.bottom,I=b-m.left-m.right,j=lZ(y-m[_],F),G=lZ(b-m[k],I),X=r.middlewareData.shift,J=!X,ee=j,te=G;if(X!=null&&X.enabled.x)te=I;if(X!=null&&X.enabled.y)ee=F;if(J&&!M)if(x)te=b-2*cu(m.left,m.right);else ee=y-2*cu(m.top,m.bottom);await l({...r,availableWidth:te,availableHeight:ee});let oe=await f.getDimensions(s.floating);if(b!==oe.width||y!==oe.height)return{reset:{rects:!0}};return{}}}};function Uj(){return typeof window<"u"}function Yz(e){if(sae(e))return(e.nodeName||"").toLowerCase();return"#document"}function hs(e){var r;return(e==null||(r=e.ownerDocument)==null?void 0:r.defaultView)||window}function dZ(e){var r;return(r=(sae(e)?e.ownerDocument:e.document)||window.document)==null?void 0:r.documentElement}function sae(e){if(!Uj())return!1;return e instanceof Node||e instanceof hs(e).Node}function du(e){if(!Uj())return!1;return e instanceof Element||e instanceof hs(e).Element}function rm(e){if(!Uj())return!1;return e instanceof HTMLElement||e instanceof hs(e).HTMLElement}function fae(e){if(!Uj()||typeof ShadowRoot>"u")return!1;return e instanceof ShadowRoot||e instanceof hs(e).ShadowRoot}function uT(e){let{overflow:r,overflowX:a,overflowY:i,display:f}=pu(e);return/auto|scroll|overlay|hidden|clip/.test(r+i+a)&&f!=="inline"&&f!=="contents"}function lae(e){return/^(table|td|th)$/.test(Yz(e))}function dT(e){try{if(e.matches(":popover-open"))return!0}catch(r){}try{return e.matches(":modal")}catch(r){return!1}}var GLe=/transform|translate|scale|rotate|perspective|filter/,KLe=/paint|layout|strict|content/,Fz=(e)=>!!e&&e!=="none",u7;function qj(e){let r=du(e)?pu(e):e;return Fz(r.transform)||Fz(r.translate)||Fz(r.scale)||Fz(r.rotate)||Fz(r.perspective)||!Vj()&&(Fz(r.backdropFilter)||Fz(r.filter))||GLe.test(r.willChange||"")||KLe.test(r.contain||"")}function cae(e){let r=u8(e);while(rm(r)&&!o1(r)){if(qj(r))return r;else if(dT(r))return null;r=u8(r)}return null}function Vj(){if(u7==null)u7=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none");return u7}function o1(e){return/^(html|body|#document)$/.test(Yz(e))}function pu(e){return hs(e).getComputedStyle(e)}function ZT(e){if(du(e))return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop};return{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function u8(e){if(Yz(e)==="html")return e;let r=e.assignedSlot||e.parentNode||fae(e)&&e.host||dZ(e);return fae(r)?r.host:r}function uae(e){let r=u8(e);if(o1(r))return(e.ownerDocument||e).body;if(rm(r)&&uT(r))return r;return uae(r)}function Bz(e,r,a){var i;if(r===void 0)r=[];if(a===void 0)a=!0;let f=uae(e),s=f===((i=e.ownerDocument)==null?void 0:i.body),l=hs(f);if(s){let c=Hj(l);return r.concat(l,l.visualViewport||[],uT(f)?f:[],c&&a?Bz(c):[])}else return r.concat(f,Bz(f,[],a))}function Hj(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function pae(e){let r=pu(e),a=parseFloat(r.width)||0,i=parseFloat(r.height)||0,f=rm(e),s=f?e.offsetWidth:a,l=f?e.offsetHeight:i,c=lT(a)!==s||lT(i)!==l;if(c)a=s,i=l;return{width:a,height:i,$:c}}function Z7(e){return!du(e)?e.contextElement:e}function a1(e){let r=Z7(e);if(!rm(r))return cZ(1);let a=r.getBoundingClientRect(),{width:i,height:f,$:s}=pae(r),l=(s?lT(a.width):a.width)/i,c=(s?lT(a.height):a.height)/f;if(!l||!Number.isFinite(l))l=1;if(!c||!Number.isFinite(c))c=1;return{x:l,y:c}}var XLe=cZ(0);function mae(e){let r=hs(e);if(!Vj()||!r.visualViewport)return XLe;return{x:r.visualViewport.offsetLeft,y:r.visualViewport.offsetTop}}function QLe(e,r,a){if(r===void 0)r=!1;return!!a&&r&&a===hs(e)}function Uz(e,r,a,i){if(r===void 0)r=!1;if(a===void 0)a=!1;let f=e.getBoundingClientRect(),s=Z7(e),l=cZ(1);if(r)if(i){if(du(i))l=a1(i)}else l=a1(e);let c=QLe(s,a,i)?mae(s):cZ(0),m=(f.left+c.x)/l.x,g=(f.top+c.y)/l.y,M=f.width/l.x,x=f.height/l.y;if(s&&i){let b=hs(s),y=du(i)?hs(i):i,_=b,k=Hj(_);while(k&&y!==_){let F=a1(k),I=k.getBoundingClientRect(),j=pu(k),G=I.left+(k.clientLeft+parseFloat(j.paddingLeft))*F.x,X=I.top+(k.clientTop+parseFloat(j.paddingTop))*F.y;m*=F.x,g*=F.y,M*=F.x,x*=F.y,m+=G,g+=X,_=hs(k),k=Hj(_)}}return Nz({width:M,height:x,x:m,y:g})}function Wj(e,r){let a=ZT(e).scrollLeft;if(!r)return Uz(dZ(e)).left+a;return r.left+a}function hae(e,r){let a=e.getBoundingClientRect(),i=a.left+r.scrollLeft-Wj(e,a),f=a.top+r.scrollTop;return{x:i,y:f}}function JLe(e){let{elements:r,rect:a,offsetParent:i,strategy:f}=e,s=f==="fixed",l=dZ(i),c=r?dT(r.floating):!1;if(i===l||c&&s)return a;let m={scrollLeft:0,scrollTop:0},g=cZ(1),M=cZ(0),x=rm(i);if(x||!s){if(Yz(i)!=="body"||uT(l))m=ZT(i);if(x){let y=Uz(i);g=a1(i),M.x=y.x+i.clientLeft,M.y=y.y+i.clientTop}}let b=l&&!x&&!s?hae(l,m):cZ(0);return{width:a.width*g.x,height:a.height*g.y,x:a.x*g.x-m.scrollLeft*g.x+M.x+b.x,y:a.y*g.y-m.scrollTop*g.y+M.y+b.y}}function $Le(e){return e.getClientRects?Array.from(e.getClientRects()):[]}function eke(e){let r=ZT(e),a=e.ownerDocument.body,i=cu(e.scrollWidth,e.clientWidth,a.scrollWidth,a.clientWidth),f=cu(e.scrollHeight,e.clientHeight,a.scrollHeight,a.clientHeight),s=-r.scrollLeft+Wj(e),l=-r.scrollTop;if(pu(a).direction==="rtl")s+=cu(e.clientWidth,a.clientWidth)-i;return{width:i,height:f,x:s,y:l}}var tke=25;function rke(e,r,a){if(a===void 0)a="viewport";let i=a==="layoutViewport",f=hs(e),s=dZ(e),l=f.visualViewport,{clientWidth:c,clientHeight:m}=s,g=0,M=0;if(l){let b=!Vj()||r==="fixed";if(i){if(!b)g=-l.offsetLeft,M=-l.offsetTop}else if(c=l.width,m=l.height,b)g=l.offsetLeft,M=l.offsetTop}if(Wj(s)<=0){let b=s.ownerDocument,y=b.body,_=getComputedStyle(y),k=b.compatMode==="CSS1Compat"?parseFloat(_.marginLeft)+parseFloat(_.marginRight)||0:0,F=Math.abs(s.clientWidth-y.clientWidth-k),I=getComputedStyle(s).scrollbarGutter==="stable both-edges"?F/2:F;if(I<=tke)c-=I}return{width:c,height:m,x:g,y:M}}function oke(e,r){let a=Uz(e,!0,r==="fixed"),i=a.top+e.clientTop,f=a.left+e.clientLeft,s=a1(e),l=e.clientWidth*s.x,c=e.clientHeight*s.y,m=f*s.x,g=i*s.y;return{width:l,height:c,x:m,y:g}}function dae(e,r,a){let i;if(r==="viewport"||r==="layoutViewport")i=rke(e,a,r);else if(r==="document")i=eke(dZ(e));else if(du(r))i=oke(r,a);else{let f=mae(e);i={x:r.x-f.x,y:r.y-f.y,width:r.width,height:r.height}}return Nz(i)}function ake(e,r){let a=r.get(e);if(a)return a;let i=Bz(e,[],!1).filter((c)=>du(c)&&Yz(c)!=="body"),f=null,s=pu(e).position==="fixed",l=s?u8(e):e;while(du(l)&&!o1(l)){let c=pu(l),m=qj(l),g=f?f.position:s?"fixed":"";if(!m&&(g==="fixed"||g==="absolute"&&c.position==="static"))i=i.filter((x)=>x!==l);else f=c;l=u8(l)}return r.set(e,i),i}function nke(e){let{element:r,boundary:a,rootBoundary:i,strategy:f}=e,l=[...a==="clippingAncestors"?dT(r)?[]:ake(r,this._c):[].concat(a),i],c=dae(r,l[0],f),{top:m,right:g,bottom:M,left:x}=c;for(let b=1;b<l.length;b++){let y=dae(r,l[b],f);m=cu(y.top,m),g=lZ(y.right,g),M=lZ(y.bottom,M),x=cu(y.left,x)}return{width:g-x,height:M-m,x,y:m}}function ike(e){let{width:r,height:a}=pae(e);return{width:r,height:a}}function fke(e,r,a){let i=rm(r),f=dZ(r),s=a==="fixed",l=Uz(e,!0,s,r),c={scrollLeft:0,scrollTop:0},m=cZ(0);if(i||!s){if(Yz(r)!=="body"||uT(f))c=ZT(r);if(i){let b=Uz(r,!0,s,r);m.x=b.x+r.clientLeft,m.y=b.y+r.clientTop}}if(!i&&f)m.x=Wj(f);let g=f&&!i&&!s?hae(f,c):cZ(0),M=l.left+c.scrollLeft-m.x-g.x,x=l.top+c.scrollTop-m.y-g.y;return{x:M,y:x,width:l.width,height:l.height}}function d7(e){return pu(e).position==="static"}function Zae(e,r){if(!rm(e)||pu(e).position==="fixed")return null;if(r)return r(e);let a=e.offsetParent;if(dZ(e)===a)a=a.ownerDocument.body;return a}function gae(e,r){let a=hs(e);if(dT(e))return a;if(!rm(e)){let f=u8(e);while(f&&!o1(f)){if(du(f)&&!d7(f))return f;f=u8(f)}return a}let i=Zae(e,r);while(i&&lae(i)&&d7(i))i=Zae(i,r);if(i&&o1(i)&&d7(i)&&!qj(i))return a;return i||cae(e)||a}var ske=async function(e){let r=this.getOffsetParent||gae,a=this.getDimensions,i=await a(e.floating);return{reference:fke(e.reference,await r(e.floating),e.strategy),floating:{x:0,y:0,width:i.width,height:i.height}}};function lke(e){return pu(e).direction==="rtl"}var Mae={convertOffsetParentRelativeRectToViewportRelativeRect:JLe,getDocumentElement:dZ,getClippingRect:nke,getOffsetParent:gae,getElementRects:ske,getClientRects:$Le,getDimensions:ike,getScale:a1,isElement:du,isRTL:lke};function vae(e,r){return e.x===r.x&&e.y===r.y&&e.width===r.width&&e.height===r.height}function cke(e,r,a){let i=null,f,s=dZ(e);function l(){var M;clearTimeout(f),(M=i)==null||M.disconnect(),i=null}function c(M,x){if(M===void 0)M=!1;if(x===void 0)x=1;l();let b=e.getBoundingClientRect(),{left:y,top:_,width:k,height:F}=b;if(!M)r();if(!k||!F)return;let I=cT(_),j=cT(s.clientWidth-(y+k)),G=cT(s.clientHeight-(_+F)),X=cT(y),ee={rootMargin:-I+"px "+-j+"px "+-G+"px "+-X+"px",threshold:cu(0,lZ(1,x))||1},te=!0;function oe(ae){let _e=ae[0].intersectionRatio;if(!vae(b,e.getBoundingClientRect()))return c();if(_e!==x){if(!te)return c();if(!_e)f=setTimeout(()=>{c(!1,0.0000001)},1000);else c(!1,_e)}te=!1}try{i=new IntersectionObserver(oe,{...ee,root:s.ownerDocument})}catch(ae){i=new IntersectionObserver(oe,ee)}i.observe(e)}let m=hs(e),g=()=>c(a);return m.addEventListener("resize",g),c(!0),()=>{m.removeEventListener("resize",g),l()}}function p7(e,r,a,i){if(i===void 0)i={};let{ancestorScroll:f=!0,ancestorResize:s=!0,elementResize:l=typeof ResizeObserver==="function",layoutShift:c=typeof IntersectionObserver==="function",animationFrame:m=!1}=i,g=Z7(e),M=f||s?[...g?Bz(g):[],...r?Bz(r):[]]:[];M.forEach((I)=>{f&&I.addEventListener("scroll",a),s&&I.addEventListener("resize",a)});let x=g&&c?cke(g,a,s):null,b=-1,y=null;if(l){if(y=new ResizeObserver((I)=>{let[j]=I;if(j&&j.target===g&&y&&r)y.unobserve(r),cancelAnimationFrame(b),b=requestAnimationFrame(()=>{var G;(G=y)==null||G.observe(r)});a()}),g&&!m)y.observe(g);if(r)y.observe(r)}let _,k=m?Uz(e):null;if(m)F();function F(){let I=Uz(e);if(k&&!vae(k,I))a();k=I,_=requestAnimationFrame(F)}return a(),()=>{var I;if(M.forEach((j)=>{f&&j.removeEventListener("scroll",a),s&&j.removeEventListener("resize",a)}),x==null||x(),(I=y)==null||I.disconnect(),y=null,m)cancelAnimationFrame(_)}}var xae=oae;var yae=aae,bae=eae,_ae=iae,wae=tae,m7=$oe;var zae=nae,h7=(e,r,a)=>{let i=new Map,f=a!=null?a:{},s={...Mae,...f.platform,_c:i};return Joe(e,r,{...f,platform:s})};C();C();var uke=typeof document<"u",dke=function(){},Gj=uke?Ge:dke;function Kj(e,r){if(e===r)return!0;if(typeof e!==typeof r)return!1;if(typeof e==="function"&&e.toString()===r.toString())return!0;let a,i,f;if(e&&r&&typeof e==="object"){if(Array.isArray(e)){if(a=e.length,a!==r.length)return!1;for(i=a;i--!==0;)if(!Kj(e[i],r[i]))return!1;return!0}if(f=Object.keys(e),a=f.length,a!==Object.keys(r).length)return!1;for(i=a;i--!==0;)if(!{}.hasOwnProperty.call(r,f[i]))return!1;for(i=a;i--!==0;){let s=f[i];if(s==="_owner"&&e.$$typeof)continue;if(!Kj(e[s],r[s]))return!1}return!0}return e!==e&&r!==r}function Lae(e){if(typeof window>"u")return 1;return(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Sae(e,r){let a=Lae(e);return Math.round(r*a)/a}function g7(e){let r=w(e);return Gj(()=>{r.current=e}),r}function kae(e){if(e===void 0)e={};let{placement:r="bottom",strategy:a="absolute",middleware:i=[],platform:f,elements:{reference:s,floating:l}={},transform:c=!0,whileElementsMounted:m,open:g}=e,[M,x]=u({x:0,y:0,strategy:a,placement:r,middlewareData:{},isPositioned:!1}),[b,y]=u(i);if(!Kj(b,i))y(i);let[_,k]=u(null),[F,I]=u(null),j=N((Et)=>{if(Et!==ee.current)ee.current=Et,k(Et)},[]),G=N((Et)=>{if(Et!==te.current)te.current=Et,I(Et)},[]),X=s||_,J=l||F,ee=w(null),te=w(null),oe=w(M),ae=m!=null,_e=g7(m),Ve=g7(f),Ne=g7(g),ze=N(()=>{if(!ee.current||!te.current)return;let Et={placement:r,strategy:a,middleware:b};if(Ve.current)Et.platform=Ve.current;h7(ee.current,te.current,Et).then((Yt)=>{let ce={...Yt,isPositioned:Ne.current!==!1};if(Ye.current&&!Kj(oe.current,ce))oe.current=ce,Ln(()=>{x(ce)})})},[b,r,a,Ve,Ne]);Gj(()=>{if(g===!1&&oe.current.isPositioned)oe.current.isPositioned=!1,x((Et)=>({...Et,isPositioned:!1}))},[g]);let Ye=w(!1);Gj(()=>(Ye.current=!0,()=>{Ye.current=!1}),[]),Gj(()=>{if(X)ee.current=X;if(J)te.current=J;if(X&&J){if(_e.current)return _e.current(X,J,ze);ze()}},[X,J,ze,_e,ae]);let ft=O(()=>({reference:ee,floating:te,setReference:j,setFloating:G}),[j,G]),Ke=O(()=>({reference:X,floating:J}),[X,J]),Zt=O(()=>{let Et={position:a,left:0,top:0};if(!Ke.floating)return Et;let Yt=Sae(Ke.floating,M.x),ce=Sae(Ke.floating,M.y);if(c)return{...Et,transform:"translate("+Yt+"px, "+ce+"px)",...Lae(Ke.floating)>=1.5&&{willChange:"transform"}};return{position:a,left:Yt,top:ce}},[a,c,Ke.floating,M.x,M.y]);return O(()=>({...M,update:ze,refs:ft,elements:Ke,floatingStyles:Zt}),[M,ze,ft,Ke,Zt])}var Zke=(e)=>{function r(a){return{}.hasOwnProperty.call(a,"current")}return{name:"arrow",options:e,fn(a){let{element:i,padding:f}=typeof e==="function"?e(a):e;if(i&&r(i)){if(i.current!=null)return m7({element:i.current,padding:f}).fn(a);return{}}if(i)return m7({element:i,padding:f}).fn(a);return{}}}},Iae=(e,r)=>{let a=xae(e);return{name:a.name,fn:a.fn,options:[e,r]}},Cae=(e,r)=>{let a=yae(e);return{name:a.name,fn:a.fn,options:[e,r]}},Rae=(e,r)=>({fn:zae(e).fn,options:[e,r]}),Pae=(e,r)=>{let a=bae(e);return{name:a.name,fn:a.fn,options:[e,r]}},Tae=(e,r)=>{let a=_ae(e);return{name:a.name,fn:a.fn,options:[e,r]}};var Aae=(e,r)=>{let a=wae(e);return{name:a.name,fn:a.fn,options:[e,r]}};var Dae=(e,r)=>{let a=Zke(e);return{name:a.name,fn:a.fn,options:[e,r]}};C();var pke=Object.defineProperty,mke=(e,r)=>pke(e,"name",{value:r,configurable:!0}),hke=D(mke(function(r,a){let{children:i,width:f=10,height:s=5,...l}=r;return t(se.svg,{...l,ref:a,width:f,height:s,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:r.asChild?i:t("polygon",{points:"0,0 30,0 15,10"})})},"Arrow")),Eae=hke;var Mke=Object.defineProperty,om=(e,r)=>Mke(e,"name",{value:r,configurable:!0});var Oae="Popper",[jae,yc]=dt(Oae),[vke,Nae]=jae(Oae),xke=om((e)=>{let{__scopePopper:r,children:a}=e,[i,f]=u(null),[s,l]=u(void 0);return t(vke,{scope:r,anchor:i,onAnchorChange:f,placementState:s,setPlacementState:l,children:a})},"Popper"),yke="PopperAnchor",bke=D(om(function(r,a){let{__scopePopper:i,virtualRef:f,...s}=r,l=Nae(yke,i),c=w(null),m=l.onAnchorChange,g=N((k)=>{if(c.current=k,k)m(k)},[m]),M=he(a,g),x=w(null);h(()=>{if(!f)return;let k=x.current;if(x.current=f.current,k!==x.current)m(x.current)});let b=l.placementState&&Xj(l.placementState),y=b?.[0],_=b?.[1];return f?null:t(se.div,{"data-radix-popper-side":y,"data-radix-popper-align":_,...s,ref:M})},"PopperAnchor")),Fae="PopperContent",[_ke,wke]=jae(Fae),zke=D(om(function(r,a){let{__scopePopper:i,side:f="bottom",sideOffset:s=0,align:l="center",alignOffset:c=0,arrowPadding:m=0,avoidCollisions:g=!0,collisionBoundary:M=[],collisionPadding:x=0,sticky:b="partial",hideWhenDetached:y=!1,updatePositionStrategy:_="optimized",onPlaced:k,...F}=r,I=Nae(Fae,i),[j,G]=u(null),X=he(a,G),[J,ee]=u(null),te=oa(J),oe=te?.width??0,ae=te?.height??0,_e=f+(l!=="center"?"-"+l:""),Ve=typeof x==="number"?x:{top:0,right:0,bottom:0,left:0,...x},Ne=Array.isArray(M)?M:[M],ze=Ne.length>0,Ye={padding:Ve,boundary:Ne.filter(Bae),altBoundary:ze},{refs:ft,floatingStyles:Ke,placement:Zt,isPositioned:Et,middlewareData:Yt}=kae({strategy:"fixed",placement:_e,whileElementsMounted:om((...Kt)=>p7(...Kt,{animationFrame:_==="always"}),"whileElementsMounted"),elements:{reference:I.anchor},middleware:[Iae({mainAxis:s+ae,alignmentAxis:c}),g&&Cae({mainAxis:!0,crossAxis:!1,limiter:b==="partial"?Rae():void 0,...Ye}),g&&Pae({...Ye}),Tae({...Ye,apply:om(({elements:Kt,rects:ur,availableWidth:Ir,availableHeight:Rr})=>{let{width:dr,height:Zo}=ur.reference,tr=Kt.floating.style;tr.setProperty("--radix-popper-available-width",`${Ir}px`),tr.setProperty("--radix-popper-available-height",`${Rr}px`),tr.setProperty("--radix-popper-anchor-width",`${dr}px`),tr.setProperty("--radix-popper-anchor-height",`${Zo}px`)},"apply")}),J&&Dae({element:J,padding:m}),Ike({arrowWidth:oe,arrowHeight:ae}),y&&Aae({strategy:"referenceHidden",...Ye,boundary:ze?Ye.boundary:void 0})]}),ce=I.setPlacementState;It(()=>(ce(Zt),()=>{ce(void 0)}),[Zt,ce]);let[mt,Vt]=Xj(Zt),Pe=Xo(k);It(()=>{if(Et)Pe?.()},[Et,Pe]);let ir=Yt.arrow?.x,nr=Yt.arrow?.y,$t=Yt.arrow?.centerOffset!==0,[Er,Wt]=u();return It(()=>{if(j)Wt(window.getComputedStyle(j).zIndex)},[j]),t("div",{ref:ft.setFloating,"data-radix-popper-content-wrapper":"",style:{...Ke,transform:Et?Ke.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:Er,"--radix-popper-transform-origin":[Yt.transformOrigin?.x,Yt.transformOrigin?.y].join(" "),...Yt.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:r.dir,children:t(_ke,{scope:i,placedSide:mt,placedAlign:Vt,onArrowChange:ee,arrowX:ir,arrowY:nr,shouldHideArrow:$t,children:t(se.div,{"data-side":mt,"data-align":Vt,...F,ref:X,style:{...F.style,animation:!Et?"none":F.style?.animation}})})})},"PopperContent")),Ske="PopperArrow",Lke={top:"bottom",right:"left",bottom:"top",left:"right"},kke=D(om(function(r,a){let{__scopePopper:i,...f}=r,s=wke(Ske,i),l=Lke[s.placedSide];return t("span",{ref:s.onArrowChange,style:{position:"absolute",left:s.arrowX,top:s.arrowY,[l]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[s.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[s.placedSide],visibility:s.shouldHideArrow?"hidden":void 0},children:t(Eae,{...f,ref:a,style:{...f.style,display:"block"}})})},"PopperArrow"));function Bae(e){return e!==null}om(Bae,"isNotNull");var Ike=om((e)=>({name:"transformOrigin",options:e,fn(r){let{placement:a,rects:i,middlewareData:f}=r,l=f.arrow?.centerOffset!==0,c=l?0:e.arrowWidth,m=l?0:e.arrowHeight,[g,M]=Xj(a),x={start:"0%",center:"50%",end:"100%"}[M],b=(f.arrow?.x??0)+c/2,y=(f.arrow?.y??0)+m/2,_="",k="";if(g==="bottom")_=l?x:`${b}px`,k=`${-m}px`;else if(g==="top")_=l?x:`${b}px`,k=`${i.floating.height+m}px`;else if(g==="right")_=`${-m}px`,k=l?x:`${y}px`;else if(g==="left")_=`${i.floating.width+m}px`,k=l?x:`${y}px`;return{data:{x:_,y:k}}}}),"transformOrigin");function Xj(e){let[r,a="center"]=e.split("-");return[r,a]}om(Xj,"getSideAndAlignFromPlacement");var am=xke,d8=bke,Z8=zke,pT=kke;C();C();C();var Cke=Object.defineProperty,v7=(e,r)=>Cke(e,"name",{value:r,configurable:!0}),M7=!1;function Yae(){let[e,r]=u(M7);return h(()=>{if(!M7)M7=!0,r(!0)},[]),e}v7(Yae,"useIsHydrated");var Uae=Q[" useSyncExternalStore ".trim().toString()];function qae(){return()=>{}}v7(qae,"subscribe");function Vae(){return Uae(qae,()=>!0,()=>!1)}v7(Vae,"useIsHydratedModern");var Hae=typeof Uae==="function"?Vae:Yae;var Rke=Object.defineProperty,qz=(e,r)=>Rke(e,"name",{value:r,configurable:!0}),x7="rovingFocusGroup.onEntryFocus",Pke={bubbles:!1,cancelable:!0},Jj="RovingFocusGroup",[y7,Wae,Tke]=sa(Jj),[Ake,aa]=dt(Jj,[Tke]),[Dke,Eke]=Ake(Jj),Oke=D(qz(function(r,a){return t(y7.Provider,{scope:r.__scopeRovingFocusGroup,children:t(y7.Slot,{scope:r.__scopeRovingFocusGroup,children:t(jke,{...r,ref:a})})})},"RovingFocusGroup")),jke=D(qz(function(r,a){let{__scopeRovingFocusGroup:i,orientation:f,loop:s=!1,dir:l,currentTabStopId:c,defaultCurrentTabStopId:m,onCurrentTabStopIdChange:g,onEntryFocus:M,preventScrollOnEntryFocus:x=!1,...b}=r,y=w(null),_=he(a,y),k=zn(l),[F,I]=Lt({prop:c,defaultProp:m??null,onChange:g,caller:Jj}),[j,G]=u(!1),X=Xo(M),J=Wae(i),ee=w(!1),[te,oe]=u(0);return h(()=>{let ae=y.current;if(ae)return ae.addEventListener(x7,X),()=>ae.removeEventListener(x7,X)},[X]),t(Dke,{scope:i,orientation:f,dir:k,loop:s,currentTabStopId:F,onItemFocus:N((ae)=>I(ae),[I]),onItemShiftTab:N(()=>G(!0),[]),onFocusableItemAdd:N(()=>oe((ae)=>ae+1),[]),onFocusableItemRemove:N(()=>oe((ae)=>ae-1),[]),children:t(se.div,{tabIndex:j||te===0?-1:0,"data-orientation":f,...b,ref:_,style:{outline:"none",...r.style},onMouseDown:Y(r.onMouseDown,()=>{ee.current=!0}),onFocus:Y(r.onFocus,(ae)=>{let _e=!ee.current;if(ae.target===ae.currentTarget&&_e&&!j){let Ve=new CustomEvent(x7,Pke);if(ae.currentTarget.dispatchEvent(Ve),!Ve.defaultPrevented){let Ne=J().filter((Zt)=>Zt.focusable),ze=Ne.find((Zt)=>Zt.active),Ye=Ne.find((Zt)=>Zt.id===F),Ke=[ze,Ye,...Ne].filter(Boolean).map((Zt)=>Zt.ref.current);b7(Ke,x)}}ee.current=!1}),onBlur:Y(r.onBlur,()=>G(!1))})})},"RovingFocusGroupImpl")),Nke="RovingFocusGroupItem",Fke=D(qz(function(r,a){let{__scopeRovingFocusGroup:i,focusable:f=!0,active:s=!1,tabStopId:l,children:c,...m}=r,g=vr(),M=l||g,x=Eke(Nke,i),b=x.currentTabStopId===M,y=Wae(i),{onFocusableItemAdd:_,onFocusableItemRemove:k,currentTabStopId:F}=x,I=Hae();return It(()=>{if(!I||!f)return;return _(),()=>k()},[I,f,_,k]),h(()=>{if(I||!f)return;return _(),()=>k()},[I,f,_,k]),t(y7.ItemSlot,{scope:i,id:M,focusable:f,active:s,children:t(se.span,{tabIndex:b?0:-1,"data-orientation":x.orientation,...m,ref:a,onMouseDown:Y(r.onMouseDown,(j)=>{if(!f)j.preventDefault();else x.onItemFocus(M)}),onFocus:Y(r.onFocus,()=>x.onItemFocus(M)),onKeyDown:Y(r.onKeyDown,(j)=>{if(j.key==="Tab"&&j.shiftKey){x.onItemShiftTab();return}if(j.target!==j.currentTarget)return;let G=Kae(j,x.orientation,x.dir);if(G!==void 0){if(j.metaKey||j.ctrlKey||j.altKey||j.shiftKey)return;j.preventDefault();let J=y().filter((ee)=>ee.focusable).map((ee)=>ee.ref.current);if(G==="last")J.reverse();else if(G==="prev"||G==="next"){if(G==="prev")J.reverse();let ee=J.indexOf(j.currentTarget);J=x.loop?Xae(J,ee+1):J.slice(ee+1)}setTimeout(()=>b7(J))}}),children:typeof c==="function"?c({isCurrentTabStop:b,hasTabStop:F!=null}):c})})},"RovingFocusGroupItem")),Bke={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function Gae(e,r){if(r!=="rtl")return e;return e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}qz(Gae,"getDirectionAwareKey");function Kae(e,r,a){let i=Gae(e.key,a);if(r==="vertical"&&["ArrowLeft","ArrowRight"].includes(i))return;if(r==="horizontal"&&["ArrowUp","ArrowDown"].includes(i))return;return Bke[i]}qz(Kae,"getFocusIntent");function b7(e,r=!1){let a=document.activeElement;for(let i of e){if(i===a)return;if(i.focus({preventScroll:r}),document.activeElement!==a)return}}qz(b7,"focusFirst");function Xae(e,r){return e.map((a,i)=>e[(r+i)%e.length])}qz(Xae,"wrapArray");var cl=Oke,ul=Fke;var Yke=Object.defineProperty,Co=(e,r)=>Yke(e,"name",{value:r,configurable:!0}),_7=["Enter"," "],Uke=["ArrowDown","PageUp","Home"],$ae=["ArrowUp","PageDown","End"],qke=[...Uke,...$ae],Vke={ltr:[..._7,"ArrowRight"],rtl:[..._7,"ArrowLeft"]},Hke={ltr:["ArrowLeft"],rtl:["ArrowRight"]},eN="Menu",[mT,Wke,Gke]=sa(eN),[Vz,dl]=dt(eN,[Gke,yc,aa]),tN=yc(),ene=aa(),[tne,p8]=Vz(eN),[Kke,hT]=Vz(eN),Xke=Co((e)=>{let{__scopeMenu:r,open:a=!1,children:i,dir:f,onOpenChange:s,modal:l=!0}=e,c=tN(r),[m,g]=u(null),M=w(!1),x=Xo(s),b=zn(f);return h(()=>{let y=Co(()=>{M.current=!0,document.addEventListener("pointerdown",_,{capture:!0,once:!0}),document.addEventListener("pointermove",_,{capture:!0,once:!0})},"handleKeyDown"),_=Co(()=>M.current=!1,"handlePointer");return document.addEventListener("keydown",y,{capture:!0}),()=>{document.removeEventListener("keydown",y,{capture:!0}),document.removeEventListener("pointerdown",_,{capture:!0}),document.removeEventListener("pointermove",_,{capture:!0})}},[]),h(()=>{if(!a)return;let y=Co(()=>x(!1),"handleBlur");return window.addEventListener("blur",y),()=>window.removeEventListener("blur",y)},[a,x]),t(am,{...c,children:t(tne,{scope:r,open:a,onOpenChange:x,content:m,onContentChange:g,children:t(Kke,{scope:r,onClose:N(()=>x(!1),[x]),isUsingKeyboardRef:M,dir:b,modal:l,children:i})})})},"Menu"),rne=D(Co(function(r,a){let{__scopeMenu:i,...f}=r,s=tN(i);return t(d8,{...s,...f,ref:a})},"MenuAnchor")),one="MenuPortal",[Qke,ane]=Vz(one,{forceMount:void 0}),Jke=Co((e)=>{let{__scopeMenu:r,forceMount:a,children:i,container:f}=e,s=p8(one,r);return t(Qke,{scope:r,forceMount:a,children:t(sr,{present:a||s.open,children:t(fZ,{asChild:!0,container:f,children:i})})})},"MenuPortal"),mu="MenuContent",[$ke,z7]=Vz(mu),e1e=D(Co(function(r,a){let i=ane(mu,r.__scopeMenu),{forceMount:f=i.forceMount,...s}=r,l=p8(mu,r.__scopeMenu),c=hT(mu,r.__scopeMenu);return t(mT.Provider,{scope:r.__scopeMenu,children:t(sr,{present:f||l.open,children:t(mT.Slot,{scope:r.__scopeMenu,children:c.modal?t(t1e,{...s,ref:a}):t(r1e,{...s,ref:a})})})})},"MenuContent")),t1e=D(Co(function(r,a){let i=p8(mu,r.__scopeMenu),f=w(null),s=he(a,f);return h(()=>{let l=f.current;if(l)return c8(l)},[]),t(S7,{...r,ref:s,trapFocus:i.open,disableOutsidePointerEvents:i.open,disableOutsideScroll:!0,onFocusOutside:Y(r.onFocusOutside,(l)=>l.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>i.onOpenChange(!1)})},"MenuRootContentModal")),r1e=D(Co(function(r,a){let i=p8(mu,r.__scopeMenu);return t(S7,{...r,ref:a,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>i.onOpenChange(!1)})},"MenuRootContentNonModal")),o1e=Ai("MenuContent.ScrollLock"),S7=D(Co(function(r,a){let{__scopeMenu:i,loop:f=!1,trapFocus:s,onOpenAutoFocus:l,onCloseAutoFocus:c,disableOutsidePointerEvents:m,onEntryFocus:g,onEscapeKeyDown:M,onPointerDownOutside:x,onFocusOutside:b,onInteractOutside:y,onDismiss:_,disableOutsideScroll:k,...F}=r,I=p8(mu,i),j=hT(mu,i),G=tN(i),X=ene(i),J=Wke(i),[ee,te]=u(null),oe=w(null),ae=he(a,oe,I.onContentChange),_e=w(0),Ve=w(""),Ne=w(0),ze=w(null),Ye=w("right"),ft=w(0),Ke=k?Yp:yn,Zt=k?{as:o1e,allowPinchZoom:!0}:void 0,Et=Co((ce)=>{let mt=Ve.current+ce,Vt=J().filter((Wt)=>!Wt.disabled),Pe=document.activeElement,ir=Vt.find((Wt)=>Wt.ref.current===Pe)?.textValue,nr=Vt.map((Wt)=>Wt.textValue),$t=dne(nr,mt,ir),Er=Vt.find((Wt)=>Wt.textValue===$t)?.ref.current;if(Co(function Wt(Kt){if(Ve.current=Kt,window.clearTimeout(_e.current),Kt!=="")_e.current=window.setTimeout(()=>Wt(""),1000)},"updateSearch")(mt),Er)setTimeout(()=>Er.focus())},"handleTypeaheadSearch");h(()=>()=>window.clearTimeout(_e.current),[]),sZ();let Yt=N((ce)=>Ye.current===ze.current?.side&&pne(ce,ze.current?.area),[]);return t($ke,{scope:i,searchRef:Ve,onItemEnter:N((ce)=>{if(Yt(ce))ce.preventDefault()},[Yt]),onItemLeave:N((ce)=>{if(Yt(ce))return;oe.current?.focus(),te(null)},[Yt]),onTriggerLeave:N((ce)=>{if(Yt(ce))ce.preventDefault()},[Yt]),pointerGraceTimerRef:Ne,onPointerGraceIntentChange:N((ce)=>{ze.current=ce},[]),children:t(Ke,{...Zt,children:t(l8,{asChild:!0,trapped:s,onMountAutoFocus:Y(l,(ce)=>{ce.preventDefault(),oe.current?.focus({preventScroll:!0})}),onUnmountAutoFocus:c,children:t(iZ,{asChild:!0,disableOutsidePointerEvents:m,onEscapeKeyDown:M,onPointerDownOutside:x,onFocusOutside:b,onInteractOutside:y,onDismiss:_,children:t(cl,{asChild:!0,...X,dir:j.dir,orientation:"vertical",loop:f,currentTabStopId:ee,onCurrentTabStopIdChange:te,onEntryFocus:Y(g,(ce)=>{if(!j.isUsingKeyboardRef.current)ce.preventDefault()}),preventScrollOnEntryFocus:!0,children:t(Z8,{role:"menu","aria-orientation":"vertical","data-state":L7(I.open),"data-radix-menu-content":"",dir:j.dir,...G,...F,ref:ae,style:{outline:"none",...F.style},onKeyDown:Y(F.onKeyDown,(ce)=>{let Vt=ce.target.closest("[data-radix-menu-content]")===ce.currentTarget,Pe=ce.ctrlKey||ce.altKey||ce.metaKey,ir=ce.key.length===1;if(Vt){if(ce.key==="Tab")ce.preventDefault();if(!Pe&&ir)Et(ce.key)}let nr=oe.current;if(ce.target!==nr)return;if(!qke.includes(ce.key))return;ce.preventDefault();let Er=J().filter((Wt)=>!Wt.disabled).map((Wt)=>Wt.ref.current);if($ae.includes(ce.key))Er.reverse();cne(Er)}),onBlur:Y(r.onBlur,(ce)=>{if(!ce.currentTarget.contains(ce.target))window.clearTimeout(_e.current),Ve.current=""}),onPointerMove:Y(r.onPointerMove,n1((ce)=>{let mt=ce.target,Vt=ft.current!==ce.clientX;if(ce.currentTarget.contains(mt)&&Vt){let Pe=ce.clientX>ft.current?"right":"left";Ye.current=Pe,ft.current=ce.clientX}}))})})})})})})},"MenuContentImpl")),a1e=D(Co(function(r,a){let{__scopeMenu:i,...f}=r;return t(se.div,{role:"group",...f,ref:a})},"MenuGroup")),n1e=D(Co(function(r,a){let{__scopeMenu:i,...f}=r;return t(se.div,{...f,ref:a})},"MenuLabel")),w7="MenuItem",Jae="menu.itemSelect",nne=D(Co(function(r,a){let{disabled:i=!1,onSelect:f,...s}=r,l=w(null),c=hT(w7,r.__scopeMenu),m=z7(w7,r.__scopeMenu),g=he(a,l),M=w(!1),x=Co(()=>{let b=l.current;if(!i&&b){let y=new CustomEvent(Jae,{bubbles:!0,cancelable:!0});if(b.addEventListener(Jae,(_)=>f?.(_),{once:!0}),JP(b,y),y.defaultPrevented)M.current=!1;else c.onClose()}},"handleSelect");return t(ine,{...s,ref:g,disabled:i,onClick:Y(r.onClick,x),onPointerDown:(b)=>{r.onPointerDown?.(b),M.current=!0},onPointerUp:Y(r.onPointerUp,(b)=>{if(!M.current)b.currentTarget?.click()}),onKeyDown:Y(r.onKeyDown,(b)=>{if(i||b.target!==b.currentTarget)return;if(m.searchRef.current!==""&&b.key===" ")return;if(_7.includes(b.key))b.currentTarget.click(),b.preventDefault()})})},"MenuItem")),ine=D(Co(function(r,a){let{__scopeMenu:i,disabled:f=!1,textValue:s,...l}=r,c=z7(w7,i),m=ene(i),g=w(null),M=he(a,g),[x,b]=u(!1),[y,_]=u("");return h(()=>{let k=g.current;if(k)_((k.textContent??"").trim())},[l.children]),t(mT.ItemSlot,{scope:i,disabled:f,textValue:s??y,children:t(ul,{asChild:!0,...m,focusable:!f,children:t(se.div,{role:"menuitem","data-highlighted":x?"":void 0,"aria-disabled":f||void 0,"data-disabled":f?"":void 0,...l,ref:M,onPointerMove:Y(r.onPointerMove,n1((k)=>{if(f)c.onItemLeave(k);else if(c.onItemEnter(k),!k.defaultPrevented)k.currentTarget.focus({preventScroll:!0})})),onPointerLeave:Y(r.onPointerLeave,n1((k)=>c.onItemLeave(k))),onFocus:Y(r.onFocus,()=>b(!0)),onBlur:Y(r.onBlur,()=>b(!1))})})})},"MenuItemImpl"));var i1e="MenuRadioGroup",[f1e,s1e]=Vz(i1e,{value:void 0,onValueChange:Co(()=>{},"onValueChange")}),l1e=D(Co(function(r,a){let{value:i,onValueChange:f,...s}=r,l=Xo(f);return t(f1e,{scope:r.__scopeMenu,value:i,onValueChange:l,children:t(a1e,{...s,ref:a})})},"MenuRadioGroup")),c1e="MenuRadioItem",u1e=D(Co(function(r,a){let{value:i,...f}=r,s=s1e(c1e,r.__scopeMenu),l=i===s.value;return t(d1e,{scope:r.__scopeMenu,checked:l,children:t(nne,{role:"menuitemradio","aria-checked":l,...f,ref:a,"data-state":I7(l),onSelect:Y(f.onSelect,()=>s.onValueChange?.(i),{checkForDefaultPrevented:!1})})})},"MenuRadioItem")),fne="MenuItemIndicator",[d1e,Z1e]=Vz(fne,{checked:!1}),p1e=D(Co(function(r,a){let{__scopeMenu:i,forceMount:f,...s}=r,l=Z1e(fne,i);return t(sr,{present:f||k7(l.checked)||l.checked===!0,children:t(se.span,{...s,ref:a,"data-state":I7(l.checked)})})},"MenuItemIndicator")),m1e=D(Co(function(r,a){let{__scopeMenu:i,...f}=r;return t(se.div,{role:"separator","aria-orientation":"horizontal",...f,ref:a})},"MenuSeparator"));var sne="MenuSub",[h1e,lne]=Vz(sne),g1e=Co((e)=>{let{__scopeMenu:r,children:a,open:i=!1,onOpenChange:f}=e,s=p8(sne,r),l=tN(r),[c,m]=u(null),[g,M]=u(null),x=Xo(f);return h(()=>{if(s.open===!1)x(!1);return()=>x(!1)},[s.open,x]),t(am,{...l,children:t(tne,{scope:r,open:i,onOpenChange:x,content:g,onContentChange:M,children:t(h1e,{scope:r,contentId:vr(),triggerId:vr(),trigger:c,onTriggerChange:m,children:a})})})},"MenuSub"),$j="MenuSubTrigger",M1e=D(Co(function(r,a){let i=p8($j,r.__scopeMenu),f=hT($j,r.__scopeMenu),s=lne($j,r.__scopeMenu),l=z7($j,r.__scopeMenu),c=w(null),{pointerGraceTimerRef:m,onPointerGraceIntentChange:g}=l,M={__scopeMenu:r.__scopeMenu},x=N(()=>{if(c.current)window.clearTimeout(c.current);c.current=null},[]);h(()=>x,[x]),h(()=>{let y=m.current;return()=>{window.clearTimeout(y),g(null)}},[m,g]);let b=he(a,s.onTriggerChange);return t(rne,{asChild:!0,...M,children:t(ine,{id:s.triggerId,"aria-haspopup":"menu","aria-expanded":i.open,"aria-controls":i.open?s.contentId:void 0,"data-state":L7(i.open),...r,ref:b,onClick:(y)=>{if(r.onClick?.(y),r.disabled||y.defaultPrevented)return;if(y.currentTarget.focus(),!i.open)i.onOpenChange(!0)},onPointerMove:Y(r.onPointerMove,n1((y)=>{if(l.onItemEnter(y),y.defaultPrevented)return;if(!r.disabled&&!i.open&&!c.current)l.onPointerGraceIntentChange(null),c.current=window.setTimeout(()=>{i.onOpenChange(!0),x()},100)})),onPointerLeave:Y(r.onPointerLeave,n1((y)=>{x();let _=i.content?.getBoundingClientRect();if(_){let k=i.content?.dataset.side,F=k==="right",I=F?-5:5,j=_[F?"left":"right"],G=_[F?"right":"left"];l.onPointerGraceIntentChange({area:[{x:y.clientX+I,y:y.clientY},{x:j,y:_.top},{x:G,y:_.top},{x:G,y:_.bottom},{x:j,y:_.bottom}],side:k}),window.clearTimeout(m.current),m.current=window.setTimeout(()=>l.onPointerGraceIntentChange(null),300)}else{if(l.onTriggerLeave(y),y.defaultPrevented)return;l.onPointerGraceIntentChange(null)}})),onKeyDown:Y(r.onKeyDown,(y)=>{if(r.disabled||y.target!==y.currentTarget)return;if(l.searchRef.current!==""&&y.key===" ")return;if(Vke[f.dir].includes(y.key))i.onOpenChange(!0),i.content?.focus(),y.preventDefault()})})})},"MenuSubTrigger")),v1e="MenuSubContent",x1e=D(Co(function(r,a){let i=ane(mu,r.__scopeMenu),{forceMount:f=i.forceMount,align:s="start",...l}=r,c=p8(mu,r.__scopeMenu),m=hT(mu,r.__scopeMenu),g=lne(v1e,r.__scopeMenu),M=w(null),x=he(a,M);return t(mT.Provider,{scope:r.__scopeMenu,children:t(sr,{present:f||c.open,children:t(mT.Slot,{scope:r.__scopeMenu,children:t(S7,{id:g.contentId,"aria-labelledby":g.triggerId,...l,ref:x,align:s,side:m.dir==="rtl"?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:(b)=>{if(m.isUsingKeyboardRef.current)M.current?.focus();b.preventDefault()},onCloseAutoFocus:(b)=>b.preventDefault(),onFocusOutside:Y(r.onFocusOutside,(b)=>{if(b.target!==g.trigger)c.onOpenChange(!1)}),onEscapeKeyDown:Y(r.onEscapeKeyDown,(b)=>{m.onClose(),b.preventDefault()}),onKeyDown:Y(r.onKeyDown,(b)=>{let y=b.currentTarget.contains(b.target),_=Hke[m.dir].includes(b.key);if(y&&_)c.onOpenChange(!1),g.trigger?.focus(),b.preventDefault()})})})})})},"MenuSubContent"));function L7(e){return e?"open":"closed"}Co(L7,"getOpenState");function k7(e){return e==="indeterminate"}Co(k7,"isIndeterminate");function I7(e){return k7(e)?"indeterminate":e?"checked":"unchecked"}Co(I7,"getCheckedState");function cne(e){let r=document.activeElement;for(let a of e){if(a===r)return;if(a.focus(),document.activeElement!==r)return}}Co(cne,"focusFirst");function une(e,r){return e.map((a,i)=>e[(r+i)%e.length])}Co(une,"wrapArray");function dne(e,r,a){let f=r.length>1&&Array.from(r).every((g)=>g===r[0])?r[0]:r,s=a?e.indexOf(a):-1,l=une(e,Math.max(s,0));if(f.length===1)l=l.filter((g)=>g!==a);let m=l.find((g)=>g.toLowerCase().startsWith(f.toLowerCase()));return m!==a?m:void 0}Co(dne,"getNextMatch");function Zne(e,r){let{x:a,y:i}=e,f=!1;for(let s=0,l=r.length-1;s<r.length;l=s++){let c=r[s],m=r[l],{x:g,y:M}=c,{x,y:b}=m;if(M>i!==b>i&&a<(x-g)*(i-M)/(b-M)+g)f=!f}return f}Co(Zne,"isPointInPolygon");function pne(e,r){if(!r)return!1;let a={x:e.clientX,y:e.clientY};return Zne(a,r)}Co(pne,"isPointerInGraceArea");function n1(e){return(r)=>r.pointerType==="mouse"?e(r):void 0}Co(n1,"whenMouse");var qu=Xke,Hu=rne,$u=Jke,Gu=e1e;var mne=n1e,Qu=nne;var hne=l1e,gne=u1e,Mne=p1e,Vu=m1e;var Ku=g1e,Wu=M1e,Yu=x1e;C();var b1e=Object.defineProperty,Hl=(e,r)=>b1e(e,"name",{value:r,configurable:!0}),C7="DropdownMenu",[_1e,FHo]=dt(C7,[dl]),Wl=dl(),[w1e,vne]=_1e(C7),z1e=Hl((e)=>{let{__scopeDropdownMenu:r,children:a,dir:i,open:f,defaultOpen:s,onOpenChange:l,modal:c=!0}=e,m=Wl(r),g=w(null),[M,x]=Lt({prop:f,defaultProp:s??!1,onChange:l,caller:C7});return t(w1e,{scope:r,triggerId:vr(),triggerRef:g,contentId:vr(),open:M,onOpenChange:x,onOpenToggle:N(()=>x((b)=>!b),[x]),modal:c,children:t(qu,{...m,open:M,onOpenChange:x,dir:i,modal:c,children:a})})},"DropdownMenu"),S1e="DropdownMenuTrigger",L1e=D(Hl(function(r,a){let{__scopeDropdownMenu:i,disabled:f=!1,...s}=r,l=vne(S1e,i),c=Wl(i),m=he(a,l.triggerRef);return t(Hu,{asChild:!0,...c,children:t(se.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":f?"":void 0,disabled:f,...s,ref:m,onPointerDown:Y(r.onPointerDown,(g)=>{if(!f&&g.button===0&&g.ctrlKey===!1){if(l.onOpenToggle(),!l.open)g.preventDefault()}}),onKeyDown:Y(r.onKeyDown,(g)=>{if(f)return;if(["Enter"," "].includes(g.key))l.onOpenToggle();if(g.key==="ArrowDown")l.onOpenChange(!0);if(["Enter"," ","ArrowDown"].includes(g.key))g.preventDefault()})})})},"DropdownMenuTrigger")),k1e=Hl((e)=>{let{__scopeDropdownMenu:r,...a}=e,i=Wl(r);return t($u,{...i,...a})},"DropdownMenuPortal"),I1e="DropdownMenuContent",C1e=D(Hl(function(r,a){let{__scopeDropdownMenu:i,...f}=r,s=vne(I1e,i),l=Wl(i),c=w(!1);return t(Gu,{id:s.contentId,"aria-labelledby":s.triggerId,...l,...f,ref:a,onCloseAutoFocus:Y(r.onCloseAutoFocus,(m)=>{if(!c.current)s.triggerRef.current?.focus();c.current=!1,m.preventDefault()}),onInteractOutside:Y(r.onInteractOutside,(m)=>{let g=m.detail.originalEvent,M=g.button===0&&g.ctrlKey===!0,x=g.button===2||M;if(!s.modal||x)c.current=!0}),style:{...r.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)"}}})},"DropdownMenuContent"));var R1e=D(Hl(function(r,a){let{__scopeDropdownMenu:i,...f}=r,s=Wl(i);return t(mne,{...s,...f,ref:a})},"DropdownMenuLabel")),P1e=D(Hl(function(r,a){let{__scopeDropdownMenu:i,...f}=r,s=Wl(i);return t(Qu,{...s,...f,ref:a})},"DropdownMenuItem"));var T1e=D(Hl(function(r,a){let{__scopeDropdownMenu:i,...f}=r,s=Wl(i);return t(hne,{...s,...f,ref:a})},"DropdownMenuRadioGroup")),A1e=D(Hl(function(r,a){let{__scopeDropdownMenu:i,...f}=r,s=Wl(i);return t(gne,{...s,...f,ref:a})},"DropdownMenuRadioItem")),D1e=D(Hl(function(r,a){let{__scopeDropdownMenu:i,...f}=r,s=Wl(i);return t(Mne,{...s,...f,ref:a})},"DropdownMenuItemIndicator")),E1e=D(Hl(function(r,a){let{__scopeDropdownMenu:i,...f}=r,s=Wl(i);return t(Vu,{...s,...f,ref:a})},"DropdownMenuSeparator"));var O1e=Hl((e)=>{let{__scopeDropdownMenu:r,children:a,open:i,onOpenChange:f,defaultOpen:s}=e,l=Wl(r),[c,m]=Lt({prop:i,defaultProp:s??!1,onChange:f,caller:"DropdownMenuSub"});return t(Ku,{...l,open:c,onOpenChange:m,children:a})},"DropdownMenuSub"),j1e=D(Hl(function(r,a){let{__scopeDropdownMenu:i,...f}=r,s=Wl(i);return t(Wu,{...s,...f,ref:a})},"DropdownMenuSubTrigger")),N1e=D(Hl(function(r,a){let{__scopeDropdownMenu:i,...f}=r,s=Wl(i);return t(Yu,{...s,...f,ref:a,style:{...r.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)"}}})},"DropdownMenuSubContent")),F1e=z1e,B1e=L1e,xne=k1e,Y1e=C1e;var U1e=R1e,q1e=P1e;var V1e=T1e,H1e=A1e,W1e=D1e,G1e=E1e;var K1e=O1e,X1e=j1e,Q1e=N1e;C();var J1e=Object.defineProperty,$1e=(e,r)=>J1e(e,"name",{value:r,configurable:!0}),eIe=D($1e(function(r,a){return t(se.label,{...r,ref:a,onMouseDown:(i)=>{if(i.target.closest("button, input, select, textarea"))return;if(r.onMouseDown?.(i),!i.defaultPrevented&&i.detail>1)i.preventDefault()}})},"Label")),tIe=eIe;C();var rIe=Object.defineProperty,m8=(e,r)=>rIe(e,"name",{value:r,configurable:!0}),R7="Popover",[_ne,nWo]=dt(R7,[yc]),P7=yc(),[oIe,i1]=_ne(R7),aIe=m8((e)=>{let{__scopePopover:r,children:a,open:i,defaultOpen:f,onOpenChange:s,modal:l=!1}=e,c=P7(r),m=w(null),[g,M]=u(!1),[x,b]=Lt({prop:i,defaultProp:f??!1,onChange:s,caller:R7});return t(am,{...c,children:t(oIe,{scope:r,contentId:vr(),triggerRef:m,open:x,onOpenChange:b,onOpenToggle:N(()=>b((y)=>!y),[b]),hasCustomAnchor:g,onCustomAnchorAdd:N(()=>M(!0),[]),onCustomAnchorRemove:N(()=>M(!1),[]),modal:l,children:a})})},"Popover");var nIe="PopoverTrigger",iIe=D(m8(function(r,a){let{__scopePopover:i,...f}=r,s=i1(nIe,i),l=P7(i),c=he(a,s.triggerRef),m=t(se.button,{type:"button","aria-haspopup":"dialog","aria-expanded":s.open,"aria-controls":s.open?s.contentId:void 0,"data-state":T7(s.open),...f,ref:c,onClick:Y(r.onClick,s.onOpenToggle)});return s.hasCustomAnchor?m:t(d8,{asChild:!0,...l,children:m})},"PopoverTrigger")),wne="PopoverPortal",[fIe,sIe]=_ne(wne,{forceMount:void 0}),lIe=m8((e)=>{let{__scopePopover:r,forceMount:a,children:i,container:f}=e,s=i1(wne,r);return t(fIe,{scope:r,forceMount:a,children:t(sr,{present:a||s.open,children:t(fZ,{asChild:!0,container:f,children:i})})})},"PopoverPortal"),gT="PopoverContent",cIe=D(m8(function(r,a){let i=sIe(gT,r.__scopePopover),{forceMount:f=i.forceMount,...s}=r,l=i1(gT,r.__scopePopover);return t(sr,{present:f||l.open,children:l.modal?t(dIe,{...s,ref:a}):t(ZIe,{...s,ref:a})})},"PopoverContent")),uIe=Ai("PopoverContent.RemoveScroll"),dIe=D(m8(function(r,a){let i=i1(gT,r.__scopePopover),f=w(null),s=he(a,f),l=w(!1);return h(()=>{let c=f.current;if(c)return c8(c)},[]),t(Yp,{as:uIe,allowPinchZoom:!0,children:t(zne,{...r,ref:s,trapFocus:i.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Y(r.onCloseAutoFocus,(c)=>{if(c.preventDefault(),!l.current)i.triggerRef.current?.focus()}),onPointerDownOutside:Y(r.onPointerDownOutside,(c)=>{let m=c.detail.originalEvent,g=m.button===0&&m.ctrlKey===!0,M=m.button===2||g;l.current=M},{checkForDefaultPrevented:!1}),onFocusOutside:Y(r.onFocusOutside,(c)=>c.preventDefault(),{checkForDefaultPrevented:!1})})})},"PopoverContentModal")),ZIe=D(m8(function(r,a){let i=i1(gT,r.__scopePopover),f=w(!1),s=w(!1);return t(zne,{...r,ref:a,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:(l)=>{if(r.onCloseAutoFocus?.(l),!l.defaultPrevented){if(!f.current)i.triggerRef.current?.focus();l.preventDefault()}f.current=!1,s.current=!1},onInteractOutside:(l)=>{if(r.onInteractOutside?.(l),!l.defaultPrevented){if(f.current=!0,l.detail.originalEvent.type==="pointerdown")s.current=!0}let c=l.target;if(i.triggerRef.current?.contains(c))l.preventDefault();if(l.detail.originalEvent.type==="focusin"&&s.current)l.preventDefault()}})},"PopoverContentNonModal")),zne=D(m8(function(r,a){let{__scopePopover:i,trapFocus:f,onOpenAutoFocus:s,onCloseAutoFocus:l,disableOutsidePointerEvents:c,onEscapeKeyDown:m,onPointerDownOutside:g,onFocusOutside:M,onInteractOutside:x,...b}=r,y=i1(gT,i),_=P7(i);return sZ(),t(l8,{asChild:!0,loop:!0,trapped:f,onMountAutoFocus:s,onUnmountAutoFocus:l,children:t(iZ,{asChild:!0,disableOutsidePointerEvents:c,onInteractOutside:x,onEscapeKeyDown:m,onPointerDownOutside:g,onFocusOutside:M,onDismiss:()=>y.onOpenChange(!1),deferPointerDownOutside:!0,children:t(Z8,{"data-state":T7(y.open),role:"dialog",id:y.contentId,..._,...b,ref:a,style:{...b.style,...{"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}}})})})},"PopoverContentImpl"));function T7(e){return e?"open":"closed"}m8(T7,"getState");var pIe=aIe;var mIe=iIe,hIe=lIe,gIe=cIe;C();var MIe=Object.defineProperty,nm=(e,r)=>MIe(e,"name",{value:r,configurable:!0}),Lne="Progress",E7=100,[vIe,lWo]=dt(Lne),[xIe,yIe]=vIe(Lne),bIe=D(nm(function(r,a){let{__scopeProgress:i,value:f=null,max:s,getValueLabel:l=kne,...c}=r;if((s||s===0)&&!A7(s))console.error(Ine(`${s}`,"Progress"));let m=A7(s)?s:E7;if(f!==null&&!D7(f,m))console.error(Cne(`${f}`,"Progress"));let g=D7(f,m)?f:null,M=MT(g)?l(g,m):void 0;return t(xIe,{scope:i,value:g,max:m,children:t(se.div,{"aria-valuemax":m,"aria-valuemin":0,"aria-valuenow":MT(g)?g:void 0,"aria-valuetext":M,role:"progressbar","data-state":O7(g,m),"data-value":g??void 0,"data-max":m,...c,ref:a})})},"Progress")),_Ie="ProgressIndicator",wIe=D(nm(function(r,a){let{__scopeProgress:i,...f}=r,s=yIe(_Ie,i);return t(se.div,{"data-state":O7(s.value,s.max),"data-value":s.value??void 0,"data-max":s.max,...f,ref:a})},"ProgressIndicator"));function kne(e,r){return`${Math.round(e/r*100)}%`}nm(kne,"defaultGetValueLabel");function O7(e,r){return e==null?"indeterminate":e===r?"complete":"loading"}nm(O7,"getProgressState");function MT(e){return typeof e==="number"}nm(MT,"isNumber");function A7(e){return MT(e)&&!isNaN(e)&&e>0}nm(A7,"isValidMaxNumber");function D7(e,r){return MT(e)&&!isNaN(e)&&e<=r&&e>=0}nm(D7,"isValidValueNumber");function Ine(e,r){return`Invalid prop \`max\` of value \`${e}\` supplied to \`${r}\`. Only numbers greater than 0 are valid max values. Defaulting to \`${E7}\`.`}nm(Ine,"getInvalidMaxError");function Cne(e,r){return`Invalid prop \`value\` of value \`${e}\` supplied to \`${r}\`. The \`value\` prop must be:
|
|
56
|
+
- a positive number
|
|
57
|
+
- less than the value passed to \`max\` (or ${E7} if no \`max\` prop is set)
|
|
58
|
+
- \`null\` or \`undefined\` if the progress is indeterminate.
|
|
59
|
+
|
|
60
|
+
Defaulting to \`null\`.`}nm(Cne,"getInvalidValueError");var zIe=bIe,SIe=wIe;C();var LIe=Object.defineProperty,kIe=(e,r)=>LIe(e,"name",{value:r,configurable:!0});function ia(e,[r,a]){return Math.min(a,Math.max(r,e))}kIe(ia,"clamp");C();var IIe=Object.defineProperty,go=(e,r)=>IIe(e,"name",{value:r,configurable:!0});function Pne(e,r){return Ao((a,i)=>r[a][i]??a,e)}go(Pne,"useStateMachine");var Tne="ScrollArea",[Ane,yWo]=dt(Tne),[CIe,bc]=Ane(Tne),RIe=D(go(function(r,a){let{__scopeScrollArea:i,type:f="hover",dir:s,scrollHideDelay:l=600,...c}=r,[m,g]=u(null),[M,x]=u(null),[b,y]=u(null),[_,k]=u(null),[F,I]=u(null),[j,G]=u(0),[X,J]=u(0),[ee,te]=u(!1),[oe,ae]=u(!1),_e=he(a,g),Ve=zn(s);return t(CIe,{scope:i,type:f,dir:Ve,scrollHideDelay:l,scrollArea:m,viewport:M,onViewportChange:x,content:b,onContentChange:y,scrollbarX:_,onScrollbarXChange:k,scrollbarXEnabled:ee,onScrollbarXEnabledChange:te,scrollbarY:F,onScrollbarYChange:I,scrollbarYEnabled:oe,onScrollbarYEnabledChange:ae,onCornerWidthChange:G,onCornerHeightChange:J,children:t(se.div,{dir:Ve,...c,ref:_e,style:{position:"relative","--radix-scroll-area-corner-width":j+"px","--radix-scroll-area-corner-height":X+"px",...r.style}})})},"ScrollArea")),PIe="ScrollAreaViewport",TIe=D(go(function(r,a){let{__scopeScrollArea:i,children:f,nonce:s,...l}=r,c=bc(PIe,i),m=w(null),g=he(a,m,c.onViewportChange);return o(B,{children:[t(AIe,{nonce:s}),t(se.div,{"data-radix-scroll-area-viewport":"",...l,ref:g,style:{overflowX:c.scrollbarXEnabled?"scroll":"hidden",overflowY:c.scrollbarYEnabled?"scroll":"hidden",...r.style},children:t("div",{ref:c.onContentChange,style:{minWidth:"100%",display:"table"},children:f})})]})},"ScrollAreaViewport")),AIe=rc(go(function({nonce:r}){return t("style",{dangerouslySetInnerHTML:{__html:"[data-radix-scroll-area-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-scroll-area-viewport]::-webkit-scrollbar{display:none}"},nonce:r})},"ScrollAreaViewportStyle"),(e,r)=>e.nonce===r.nonce),im="ScrollAreaScrollbar",DIe=D(go(function(r,a){let{forceMount:i,...f}=r,s=bc(im,r.__scopeScrollArea),{onScrollbarXEnabledChange:l,onScrollbarYEnabledChange:c}=s,m=r.orientation==="horizontal";return h(()=>(m?l(!0):c(!0),()=>{m?l(!1):c(!1)}),[m,l,c]),s.type==="hover"?t(EIe,{...f,ref:a,forceMount:i}):s.type==="scroll"?t(OIe,{...f,ref:a,forceMount:i}):s.type==="auto"?t(Dne,{...f,ref:a,forceMount:i}):s.type==="always"?t(F7,{...f,ref:a,"data-state":"visible"}):null},"ScrollAreaScrollbar")),EIe=D(go(function(r,a){let{forceMount:i,...f}=r,s=bc(im,r.__scopeScrollArea),[l,c]=u(!1);return h(()=>{let m=s.scrollArea,g=0;if(m){let M=go(()=>{window.clearTimeout(g),c(!0)},"handlePointerEnter"),x=go(()=>{g=window.setTimeout(()=>c(!1),s.scrollHideDelay)},"handlePointerLeave");return m.addEventListener("pointerenter",M),m.addEventListener("pointerleave",x),()=>{window.clearTimeout(g),m.removeEventListener("pointerenter",M),m.removeEventListener("pointerleave",x)}}},[s.scrollArea,s.scrollHideDelay]),t(sr,{present:i||l,children:t(Dne,{"data-state":l?"visible":"hidden",...f,ref:a})})},"ScrollAreaScrollbarHover")),OIe=D(go(function(r,a){let{forceMount:i,...f}=r,s=bc(im,r.__scopeScrollArea),l=r.orientation==="horizontal",c=yT(()=>g("SCROLL_END"),100),[m,g]=Pne("hidden",{hidden:{SCROLL:"scrolling"},scrolling:{SCROLL_END:"idle",POINTER_ENTER:"interacting"},interacting:{SCROLL:"interacting",POINTER_LEAVE:"idle"},idle:{HIDE:"hidden",SCROLL:"scrolling",POINTER_ENTER:"interacting"}});return h(()=>{if(m==="idle"){let M=window.setTimeout(()=>g("HIDE"),s.scrollHideDelay);return()=>window.clearTimeout(M)}},[m,s.scrollHideDelay,g]),h(()=>{let M=s.viewport,x=l?"scrollLeft":"scrollTop";if(M){let b=M[x],y=go(()=>{let _=M[x];if(b!==_)g("SCROLL"),c();b=_},"handleScroll");return M.addEventListener("scroll",y),()=>M.removeEventListener("scroll",y)}},[s.viewport,l,g,c]),t(sr,{present:i||m!=="hidden",children:t(F7,{"data-state":m==="hidden"?"hidden":"visible",...f,ref:a,onPointerEnter:Y(r.onPointerEnter,()=>g("POINTER_ENTER")),onPointerLeave:Y(r.onPointerLeave,()=>g("POINTER_LEAVE"))})})},"ScrollAreaScrollbarScroll")),Dne=D(go(function(r,a){let i=bc(im,r.__scopeScrollArea),{forceMount:f,...s}=r,[l,c]=u(!1),m=r.orientation==="horizontal",g=yT(()=>{if(i.viewport){let M=i.viewport.offsetWidth<i.viewport.scrollWidth,x=i.viewport.offsetHeight<i.viewport.scrollHeight;c(m?M:x)}},10);return Hz(i.viewport,g),Hz(i.content,g),t(sr,{present:f||l,children:t(F7,{"data-state":l?"visible":"hidden",...s,ref:a})})},"ScrollAreaScrollbarAuto")),F7=D(go(function(r,a){let{orientation:i="vertical",...f}=r,s=bc(im,r.__scopeScrollArea),l=w(null),c=w(0),[m,g]=u({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}),M=B7(m.viewport,m.content),x={...f,sizes:m,onSizesChange:g,hasThumb:Boolean(M>0&&M<1),onThumbChange:go((y)=>l.current=y,"onThumbChange"),onThumbPointerUp:go(()=>c.current=0,"onThumbPointerUp"),onThumbPointerDown:go((y)=>c.current=y,"onThumbPointerDown")};function b(y,_){return Nne(y,c.current,m,_)}if(go(b,"getScrollPosition"),i==="horizontal")return t(jIe,{...x,ref:a,onThumbPositionChange:()=>{if(s.viewport&&l.current){let y=s.viewport.scrollLeft,_=N7(y,m,s.dir);l.current.style.transform=`translate3d(${_}px, 0, 0)`}},onWheelScroll:(y)=>{if(s.viewport)s.viewport.scrollLeft=y},onDragScroll:(y)=>{if(s.viewport)s.viewport.scrollLeft=b(y,s.dir)}});if(i==="vertical")return t(NIe,{...x,ref:a,onThumbPositionChange:()=>{if(s.viewport&&l.current){let y=s.viewport.scrollTop,_=N7(y,m);l.current.style.transform=`translate3d(0, ${_}px, 0)`}},onWheelScroll:(y)=>{if(s.viewport)s.viewport.scrollTop=y},onDragScroll:(y)=>{if(s.viewport)s.viewport.scrollTop=b(y)}});return null},"ScrollAreaScrollbarVisible")),jIe=D(go(function(r,a){let{sizes:i,onSizesChange:f,...s}=r,l=bc(im,r.__scopeScrollArea),[c,m]=u(),g=w(null),M=he(a,g,l.onScrollbarXChange);return h(()=>{if(g.current)m(getComputedStyle(g.current))},[g]),t(One,{"data-orientation":"horizontal",...s,ref:M,sizes:i,style:{bottom:0,left:l.dir==="rtl"?"var(--radix-scroll-area-corner-width)":0,right:l.dir==="ltr"?"var(--radix-scroll-area-corner-width)":0,"--radix-scroll-area-thumb-width":xT(i)+"px",...r.style},onThumbPointerDown:(x)=>r.onThumbPointerDown(x.x),onDragScroll:(x)=>r.onDragScroll(x.x),onWheelScroll:(x,b)=>{if(l.viewport){let y=l.viewport.scrollLeft+x.deltaX;if(r.onWheelScroll(y),U7(y,b))x.preventDefault()}},onResize:()=>{if(g.current&&l.viewport&&c)f({content:l.viewport.scrollWidth,viewport:l.viewport.offsetWidth,scrollbar:{size:g.current.clientWidth,paddingStart:vT(c.paddingLeft),paddingEnd:vT(c.paddingRight)}})}})},"ScrollAreaScrollbarX")),NIe=D(go(function(r,a){let{sizes:i,onSizesChange:f,...s}=r,l=bc(im,r.__scopeScrollArea),[c,m]=u(),g=w(null),M=he(a,g,l.onScrollbarYChange);return h(()=>{if(g.current)m(getComputedStyle(g.current))},[g]),t(One,{"data-orientation":"vertical",...s,ref:M,sizes:i,style:{top:0,right:l.dir==="ltr"?0:void 0,left:l.dir==="rtl"?0:void 0,bottom:"var(--radix-scroll-area-corner-height)","--radix-scroll-area-thumb-height":xT(i)+"px",...r.style},onThumbPointerDown:(x)=>r.onThumbPointerDown(x.y),onDragScroll:(x)=>r.onDragScroll(x.y),onWheelScroll:(x,b)=>{if(l.viewport){let y=l.viewport.scrollTop+x.deltaY;if(r.onWheelScroll(y),U7(y,b))x.preventDefault()}},onResize:()=>{if(g.current&&l.viewport&&c)f({content:l.viewport.scrollHeight,viewport:l.viewport.offsetHeight,scrollbar:{size:g.current.clientHeight,paddingStart:vT(c.paddingTop),paddingEnd:vT(c.paddingBottom)}})}})},"ScrollAreaScrollbarY")),[FIe,Ene]=Ane(im),One=D(go(function(r,a){let{__scopeScrollArea:i,sizes:f,hasThumb:s,onThumbChange:l,onThumbPointerUp:c,onThumbPointerDown:m,onThumbPositionChange:g,onDragScroll:M,onWheelScroll:x,onResize:b,...y}=r,_=bc(im,i),[k,F]=u(null),I=he(a,F),j=w(null),G=w(""),X=_.viewport,J=f.content-f.viewport,ee=Xo(x),te=Xo(g),oe=yT(b,10);function ae(_e){if(j.current){let Ve=_e.clientX-j.current.left,Ne=_e.clientY-j.current.top;M({x:Ve,y:Ne})}}return go(ae,"handleDragScroll"),h(()=>{let _e=go((Ve)=>{let Ne=Ve.target;if(k?.contains(Ne))ee(Ve,J)},"handleWheel");return document.addEventListener("wheel",_e,{passive:!1}),()=>document.removeEventListener("wheel",_e,{passive:!1})},[X,k,J,ee]),h(te,[f,te]),Hz(k,oe),Hz(_.content,oe),t(FIe,{scope:i,scrollbar:k,hasThumb:s,onThumbChange:Xo(l),onThumbPointerUp:Xo(c),onThumbPositionChange:te,onThumbPointerDown:Xo(m),children:t(se.div,{...y,ref:I,style:{position:"absolute",...y.style},onPointerDown:Y(r.onPointerDown,(_e)=>{if(_e.button===0){if(_e.target.setPointerCapture(_e.pointerId),j.current=k.getBoundingClientRect(),G.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect="none",_.viewport)_.viewport.style.scrollBehavior="auto";ae(_e)}}),onPointerMove:Y(r.onPointerMove,ae),onPointerUp:Y(r.onPointerUp,(_e)=>{let Ve=_e.target;if(Ve.hasPointerCapture(_e.pointerId))Ve.releasePointerCapture(_e.pointerId);if(document.body.style.webkitUserSelect=G.current,_.viewport)_.viewport.style.scrollBehavior="";j.current=null})})})},"ScrollAreaScrollbarImpl")),j7="ScrollAreaThumb",BIe=D(go(function(r,a){let{forceMount:i,...f}=r,s=Ene(j7,r.__scopeScrollArea);return t(sr,{present:i||s.hasThumb,children:t(YIe,{ref:a,...f})})},"ScrollAreaThumb")),YIe=D(go(function(r,a){let{__scopeScrollArea:i,style:f,...s}=r,l=bc(j7,i),c=Ene(j7,i),{onThumbPositionChange:m}=c,g=he(a,c.onThumbChange),M=w(void 0),x=yT(()=>{if(M.current)M.current(),M.current=void 0},100);return h(()=>{let b=l.viewport;if(b){let y=go(()=>{if(x(),!M.current){let _=VIe(b,m);M.current=_,m()}},"handleScroll");return m(),b.addEventListener("scroll",y),()=>b.removeEventListener("scroll",y)}},[l.viewport,x,m]),t(se.div,{"data-state":c.hasThumb?"visible":"hidden",...s,ref:g,style:{width:"var(--radix-scroll-area-thumb-width)",height:"var(--radix-scroll-area-thumb-height)",...f},onPointerDownCapture:Y(r.onPointerDownCapture,(b)=>{let _=b.target.getBoundingClientRect(),k=b.clientX-_.left,F=b.clientY-_.top;c.onThumbPointerDown({x:k,y:F})}),onPointerUp:Y(r.onPointerUp,c.onThumbPointerUp)})},"ScrollAreaThumbImpl")),jne="ScrollAreaCorner",UIe=D(go(function(r,a){let i=bc(jne,r.__scopeScrollArea),f=Boolean(i.scrollbarX&&i.scrollbarY);return i.type!=="scroll"&&f?t(qIe,{...r,ref:a}):null},"ScrollAreaCorner")),qIe=D(go(function(r,a){let{__scopeScrollArea:i,...f}=r,s=bc(jne,i),[l,c]=u(0),[m,g]=u(0),M=Boolean(l&&m),{onCornerWidthChange:x,onCornerHeightChange:b}=s;return Hz(s.scrollbarX,()=>{let y=s.scrollbarX?.offsetHeight||0;s.onCornerHeightChange(y),g(y)}),Hz(s.scrollbarY,()=>{let y=s.scrollbarY?.offsetWidth||0;s.onCornerWidthChange(y),c(y)}),h(()=>()=>{x(0),b(0)},[x,b]),M?t(se.div,{...f,ref:a,style:{width:l,height:m,position:"absolute",right:s.dir==="ltr"?0:void 0,left:s.dir==="rtl"?0:void 0,bottom:0,...r.style}}):null},"ScrollAreaCornerImpl"));function vT(e){return e?parseInt(e,10):0}go(vT,"toInt");function B7(e,r){let a=e/r;return isNaN(a)?0:a}go(B7,"getThumbRatio");function xT(e){let r=B7(e.viewport,e.content),a=e.scrollbar.paddingStart+e.scrollbar.paddingEnd,i=(e.scrollbar.size-a)*r;return Math.max(i,18)}go(xT,"getThumbSize");function Nne(e,r,a,i="ltr"){let f=xT(a),s=f/2,l=r||s,c=f-l,m=a.scrollbar.paddingStart+l,g=a.scrollbar.size-a.scrollbar.paddingEnd-c,M=a.content-a.viewport,x=i==="ltr"?[0,M]:[M*-1,0];return Y7([m,g],x)(e)}go(Nne,"getScrollPositionFromPointer");function N7(e,r,a="ltr"){let i=xT(r),f=r.scrollbar.paddingStart+r.scrollbar.paddingEnd,s=r.scrollbar.size-f,l=r.content-r.viewport,c=s-i,m=a==="ltr"?[0,l]:[l*-1,0],g=ia(e,m);return Y7([0,l],[0,c])(g)}go(N7,"getThumbOffsetFromScroll");function Y7(e,r){return(a)=>{if(e[0]===e[1]||r[0]===r[1])return r[0];let i=(r[1]-r[0])/(e[1]-e[0]);return r[0]+i*(a-e[0])}}go(Y7,"linearScale");function U7(e,r){return e>0&&e<r}go(U7,"isScrollingWithinScrollbarBounds");var VIe=go((e,r=()=>{})=>{let a={left:e.scrollLeft,top:e.scrollTop},i=0;return go(function f(){let s={left:e.scrollLeft,top:e.scrollTop},l=a.left!==s.left,c=a.top!==s.top;if(l||c)r();a=s,i=window.requestAnimationFrame(f)},"loop")(),()=>window.cancelAnimationFrame(i)},"addUnlinkedScrollListener");function yT(e,r){let a=Xo(e),i=w(0);return h(()=>()=>window.clearTimeout(i.current),[]),N(()=>{window.clearTimeout(i.current),i.current=window.setTimeout(a,r)},[a,r])}go(yT,"useDebounceCallback");function Hz(e,r){let a=Xo(r);It(()=>{let i=0;if(e){let f=new ResizeObserver(()=>{cancelAnimationFrame(i),i=window.requestAnimationFrame(a)});return f.observe(e),()=>{window.cancelAnimationFrame(i),f.unobserve(e)}}},[e,a])}go(Hz,"useResizeObserver");var HIe=RIe,WIe=TIe;var GIe=UIe;C();C();var KIe=Object.defineProperty,XIe=(e,r)=>KIe(e,"name",{value:r,configurable:!0});function Cc(e){let r=w({value:e,previous:e});return O(()=>{if(r.current.value!==e)r.current.previous=r.current.value,r.current.value=e;return r.current.previous},[e])}XIe(Cc,"usePrevious");C();var QIe=Object.defineProperty,JIe=(e,r)=>QIe(e,"name",{value:r,configurable:!0}),q7=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),$Ie=D(JIe(function(r,a){return t(se.span,{...r,ref:a,style:{...q7,...r.style}})},"VisuallyHidden")),Bne=$Ie;var tCe=Object.defineProperty,To=(e,r)=>tCe(e,"name",{value:r,configurable:!0}),rCe=[" ","Enter","ArrowUp","ArrowDown"],oCe=[" ","Enter"],f1="Select",[oN,aN,aCe]=sa(f1),[Gz,GWo]=dt(f1,[aCe,yc]),H7=yc(),[nCe,h8]=Gz(f1),[iCe,fCe]=Gz(f1);function Hne(e){let{__scopeSelect:r,children:a,open:i,defaultOpen:f,onOpenChange:s,value:l,defaultValue:c,onValueChange:m,dir:g,name:M,autoComplete:x,disabled:b,required:y,form:_,internal_do_not_use_render:k}=e,F=H7(r),[I,j]=u(null),[G,X]=u(null),[J,ee]=u(!1),te=zn(g),[oe,ae]=Lt({prop:i,defaultProp:f??!1,onChange:s,caller:f1}),[_e,Ve]=Lt({prop:l,defaultProp:c,onChange:m,caller:f1}),Ne=w(null),ze=w(_e);h(()=>{let Vt=_?I?.ownerDocument.getElementById(_):I?.form;if(Vt instanceof HTMLFormElement){let Pe=To(()=>Ve(ze.current),"reset");return Vt.addEventListener("reset",Pe),()=>Vt.removeEventListener("reset",Pe)}},[_,I,Ve]);let Ye=I?!!_||!!I.closest("form"):!0,[ft,Ke]=u(new Set),Zt=vr(),Et=Array.from(ft).map((Vt)=>Vt.props.value).join(";"),Yt=N((Vt)=>{Ke((Pe)=>new Set(Pe).add(Vt))},[]),ce=N((Vt)=>{Ke((Pe)=>{let ir=new Set(Pe);return ir.delete(Vt),ir})},[]),mt={required:y,trigger:I,onTriggerChange:j,valueNode:G,onValueNodeChange:X,valueNodeHasChildren:J,onValueNodeHasChildrenChange:ee,contentId:Zt,value:_e,onValueChange:Ve,open:oe,onOpenChange:ae,dir:te,triggerPointerDownPosRef:Ne,disabled:b,name:M,autoComplete:x,form:_,nativeOptions:ft,nativeSelectKey:Et,isFormControl:Ye};return t(am,{...F,children:t(nCe,{scope:r,...mt,children:t(oN.Provider,{scope:r,children:t(iCe,{scope:r,onNativeOptionAdd:Yt,onNativeOptionRemove:ce,children:Xne(k)?k(mt):a})})})})}To(Hne,"SelectProvider");var sCe=To((e)=>{let{__scopeSelect:r,children:a,...i}=e;return t(Hne,{__scopeSelect:r,...i,internal_do_not_use_render:({isFormControl:f})=>o(B,{children:[a,f?t(ACe,{__scopeSelect:r}):null]})})},"Select"),lCe="SelectTrigger",cCe=D(To(function(r,a){let{__scopeSelect:i,disabled:f=!1,...s}=r,l=H7(i),c=h8(lCe,i),m=c.disabled||f,g=he(a,c.onTriggerChange),M=aN(i),x=w("touch"),[b,y,_]=G7((F)=>{let I=M().filter((X)=>!X.disabled),j=I.find((X)=>X.value===c.value),G=K7(I,F,j);if(G!==void 0)c.onValueChange(G.value)}),k=To((F)=>{if(!m)c.onOpenChange(!0),_();if(F)c.triggerPointerDownPosRef.current={x:Math.round(F.pageX),y:Math.round(F.pageY)}},"handleOpen");return t(d8,{asChild:!0,...l,children:t(se.button,{type:"button",role:"combobox","aria-controls":c.open?c.contentId:void 0,"aria-expanded":c.open,"aria-required":c.required,"aria-autocomplete":"none",dir:c.dir,"data-state":c.open?"open":"closed",disabled:m,"data-disabled":m?"":void 0,"data-placeholder":bT(c.value)?"":void 0,...s,ref:g,onClick:Y(s.onClick,(F)=>{if(F.currentTarget.focus(),x.current!=="mouse")k(F)}),onPointerDown:Y(s.onPointerDown,(F)=>{x.current=F.pointerType;let I=F.target;if(I.hasPointerCapture(F.pointerId))I.releasePointerCapture(F.pointerId);if(F.button===0&&F.ctrlKey===!1&&F.pointerType==="mouse")k(F),F.preventDefault()}),onKeyDown:Y(s.onKeyDown,(F)=>{let I=b.current!=="";if(!(F.ctrlKey||F.altKey||F.metaKey)&&F.key.length===1)y(F.key);if(I&&F.key===" ")return;if(rCe.includes(F.key))k(),F.preventDefault()})})})},"SelectTrigger")),uCe="SelectValue",dCe=D(To(function(r,a){let{__scopeSelect:i,className:f,style:s,children:l,placeholder:c="",...m}=r,g=h8(uCe,i),{onValueNodeHasChildrenChange:M}=g,x=l!==void 0,b=he(a,g.onValueNodeChange);It(()=>{M(x)},[M,x]);let y=bT(g.value);return t(se.span,{...m,asChild:y?!1:m.asChild,ref:b,style:{pointerEvents:"none"},children:t(yn,{children:y?c:l},y?"placeholder":"value")})},"SelectValue")),ZCe=D(To(function(r,a){let{__scopeSelect:i,children:f,...s}=r;return t(se.span,{"aria-hidden":!0,...s,ref:a,children:f||"▼"})},"SelectIcon")),pCe="SelectPortal",[mCe,hCe]=Gz(pCe,{forceMount:void 0}),gCe=To((e)=>{let{__scopeSelect:r,forceMount:a,...i}=e;return t(mCe,{scope:e.__scopeSelect,forceMount:a,children:t(fZ,{asChild:!0,...i})})},"SelectPortal"),Wz="SelectContent",MCe=D(To(function(r,a){let i=hCe(Wz,r.__scopeSelect),{forceMount:f=i.forceMount,...s}=r,l=h8(Wz,r.__scopeSelect),[c,m]=u();return It(()=>{m(new DocumentFragment)},[]),t(sr,{present:f||l.open,children:({present:g})=>g?t(yCe,{...s,ref:a}):t(vCe,{...s,fragment:c})})},"SelectContent")),vCe=D(To(function(r,a){let{__scopeSelect:i,children:f,fragment:s}=r;if(!s)return null;return ja(t(Wne,{scope:i,children:t(oN.Slot,{scope:i,children:t("div",{ref:a,children:f})})}),s)},"SelectContentFragment")),hu=10,[Wne,Kz]=Gz(Wz),xCe=Ai("SelectContent.RemoveScroll"),yCe=D(To(function(r,a){let{__scopeSelect:i}=r,{position:f="item-aligned",onCloseAutoFocus:s,onEscapeKeyDown:l,onPointerDownOutside:c,side:m,sideOffset:g,align:M,alignOffset:x,arrowPadding:b,collisionBoundary:y,collisionPadding:_,sticky:k,hideWhenDetached:F,avoidCollisions:I,...j}=r,G=h8(Wz,i),[X,J]=u(null),[ee,te]=u(null),oe=he(a,J),[ae,_e]=u(null),[Ve,Ne]=u(null),ze=aN(i),[Ye,ft]=u(!1),Ke=w(!1);h(()=>{if(X)return c8(X)},[X]),sZ();let Zt=N((Wt)=>{let[Kt,...ur]=ze().map((dr)=>dr.ref.current),[Ir]=ur.slice(-1),Rr=document.activeElement;for(let dr of Wt){if(dr===Rr)return;if(dr?.scrollIntoView({block:"nearest"}),dr===Kt&&ee)ee.scrollTop=0;if(dr===Ir&&ee)ee.scrollTop=ee.scrollHeight;if(dr?.focus(),document.activeElement!==Rr)return}},[ze,ee]),Et=N(()=>Zt([ae,X]),[Zt,ae,X]);h(()=>{if(Ye)Et()},[Ye,Et]);let{onOpenChange:Yt,triggerPointerDownPosRef:ce}=G;h(()=>{if(X){let Wt={x:0,y:0},Kt=To((Ir)=>{Wt={x:Math.abs(Math.round(Ir.pageX)-(ce.current?.x??0)),y:Math.abs(Math.round(Ir.pageY)-(ce.current?.y??0))}},"handlePointerMove"),ur=To((Ir)=>{if(Wt.x<=10&&Wt.y<=10)Ir.preventDefault();else if(!Ir.composedPath().includes(X))Yt(!1);document.removeEventListener("pointermove",Kt),ce.current=null},"handlePointerUp");if(ce.current!==null)document.addEventListener("pointermove",Kt),document.addEventListener("pointerup",ur,{capture:!0,once:!0});return()=>{document.removeEventListener("pointermove",Kt),document.removeEventListener("pointerup",ur,{capture:!0})}}},[X,Yt,ce]),h(()=>{let Wt=To(()=>Yt(!1),"close");return window.addEventListener("blur",Wt),window.addEventListener("resize",Wt),()=>{window.removeEventListener("blur",Wt),window.removeEventListener("resize",Wt)}},[Yt]);let[mt,Vt]=G7((Wt)=>{let Kt=ze().filter((Rr)=>!Rr.disabled),ur=Kt.find((Rr)=>Rr.ref.current===document.activeElement),Ir=K7(Kt,Wt,ur);if(Ir)setTimeout(()=>Ir.ref.current?.focus())}),Pe=N((Wt,Kt,ur)=>{let Ir=!Ke.current&&!ur;if(G.value!==void 0&&G.value===Kt||Ir){if(_e(Wt),Ir)Ke.current=!0}},[G.value]),ir=N(()=>X?.focus(),[X]),nr=N((Wt,Kt,ur)=>{let Ir=!Ke.current&&!ur;if(G.value!==void 0&&G.value===Kt||Ir)Ne(Wt)},[G.value]),$t=f==="popper"?Yne:bCe,Er=$t===Yne?{side:m,sideOffset:g,align:M,alignOffset:x,arrowPadding:b,collisionBoundary:y,collisionPadding:_,sticky:k,hideWhenDetached:F,avoidCollisions:I}:{};return t(Wne,{scope:i,content:X,viewport:ee,onViewportChange:te,itemRefCallback:Pe,selectedItem:ae,onItemLeave:ir,itemTextRefCallback:nr,focusSelectedItem:Et,selectedItemText:Ve,position:f,isPositioned:Ye,searchRef:mt,children:t(Yp,{as:xCe,allowPinchZoom:!0,children:t(l8,{asChild:!0,trapped:G.open,onMountAutoFocus:(Wt)=>{Wt.preventDefault()},onUnmountAutoFocus:Y(s,(Wt)=>{G.trigger?.focus({preventScroll:!0}),Wt.preventDefault()}),children:t(iZ,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:l,onPointerDownOutside:c,onFocusOutside:(Wt)=>Wt.preventDefault(),onDismiss:()=>G.onOpenChange(!1),children:t($t,{role:"listbox",id:G.contentId,"data-state":G.open?"open":"closed",dir:G.dir,onContextMenu:(Wt)=>Wt.preventDefault(),...j,...Er,onPlaced:()=>ft(!0),ref:oe,style:{display:"flex",flexDirection:"column",outline:"none",...j.style},onKeyDown:Y(j.onKeyDown,(Wt)=>{let Kt=Wt.ctrlKey||Wt.altKey||Wt.metaKey;if(Wt.key==="Tab")Wt.preventDefault();if(!Kt&&Wt.key.length===1)Vt(Wt.key);if(["ArrowUp","ArrowDown","Home","End"].includes(Wt.key)){let Ir=ze().filter((Rr)=>!Rr.disabled).map((Rr)=>Rr.ref.current);if(["ArrowUp","End"].includes(Wt.key))Ir=Ir.slice().reverse();if(["ArrowUp","ArrowDown"].includes(Wt.key)){let Rr=Wt.target,dr=Ir.indexOf(Rr);Ir=Ir.slice(dr+1)}setTimeout(()=>Zt(Ir)),Wt.preventDefault()}})})})})})})},"SelectContentImpl")),bCe=D(To(function(r,a){let{__scopeSelect:i,onPlaced:f,...s}=r,l=h8(Wz,i),c=Kz(Wz,i),[m,g]=u(null),[M,x]=u(null),b=he(a,x),y=aN(i),_=w(!1),k=w(!0),{viewport:F,selectedItem:I,selectedItemText:j,focusSelectedItem:G}=c,X=N(()=>{if(l.trigger&&l.valueNode&&m&&M&&F&&I&&j){let oe=l.trigger.getBoundingClientRect(),ae=M.getBoundingClientRect(),_e=l.valueNode.getBoundingClientRect(),Ve=j.getBoundingClientRect();if(l.dir!=="rtl"){let Rr=Ve.left-ae.left,dr=_e.left-Rr,Zo=oe.left-dr,tr=oe.width+Zo,Fr=Math.max(tr,ae.width),lo=window.innerWidth-hu,jo=ia(dr,[hu,Math.max(hu,lo-Fr)]);m.style.minWidth=tr+"px",m.style.left=jo+"px"}else{let Rr=ae.right-Ve.right,dr=window.innerWidth-_e.right-Rr,Zo=window.innerWidth-oe.right-dr,tr=oe.width+Zo,Fr=Math.max(tr,ae.width),lo=window.innerWidth-hu,jo=ia(dr,[hu,Math.max(hu,lo-Fr)]);m.style.minWidth=tr+"px",m.style.right=jo+"px"}let Ne=y(),ze=window.innerHeight-hu*2,Ye=F.scrollHeight,ft=window.getComputedStyle(M),Ke=parseInt(ft.borderTopWidth,10),Zt=parseInt(ft.paddingTop,10),Et=parseInt(ft.borderBottomWidth,10),Yt=parseInt(ft.paddingBottom,10),ce=Ke+Zt+Ye+Yt+Et,mt=Math.min(I.offsetHeight*5,ce),Vt=window.getComputedStyle(F),Pe=parseInt(Vt.paddingTop,10),ir=parseInt(Vt.paddingBottom,10),nr=oe.top+oe.height/2-hu,$t=ze-nr,Er=I.offsetHeight/2,Wt=I.offsetTop+Er,Kt=Ke+Zt+Wt,ur=ce-Kt;if(Kt<=nr){let Rr=Ne.length>0&&I===Ne[Ne.length-1].ref.current;m.style.bottom="0px";let dr=M.clientHeight-F.offsetTop-F.offsetHeight,Zo=Math.max($t,Er+(Rr?ir:0)+dr+Et),tr=Kt+Zo;m.style.height=tr+"px"}else{let Rr=Ne.length>0&&I===Ne[0].ref.current;m.style.top="0px";let Zo=Math.max(nr,Ke+F.offsetTop+(Rr?Pe:0)+Er)+ur;m.style.height=Zo+"px",F.scrollTop=Kt-nr+F.offsetTop}m.style.margin=`${hu}px 0`,m.style.minHeight=mt+"px",m.style.maxHeight=ze+"px",f?.(),requestAnimationFrame(()=>_.current=!0)}},[y,l.trigger,l.valueNode,m,M,F,I,j,l.dir,f]);It(()=>X(),[X]);let[J,ee]=u();It(()=>{if(M)ee(window.getComputedStyle(M).zIndex)},[M]);let te=N((oe)=>{if(oe&&k.current===!0)X(),G?.(),k.current=!1},[X,G]);return t(_Ce,{scope:i,contentWrapper:m,shouldExpandOnScrollRef:_,onScrollButtonChange:te,children:t("div",{ref:g,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:J},children:t(se.div,{...s,ref:b,style:{boxSizing:"border-box",maxHeight:"100%",...s.style}})})})},"SelectItemAlignedPosition")),Yne=D(To(function(r,a){let{__scopeSelect:i,align:f="start",collisionPadding:s=hu,...l}=r,c=H7(i);return t(Z8,{...c,...l,ref:a,align:f,collisionPadding:s,style:{boxSizing:"border-box",...l.style,...{"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}}})},"SelectPopperPosition")),[_Ce,W7]=Gz(Wz,{}),Une="SelectViewport",wCe=D(To(function(r,a){let{__scopeSelect:i,nonce:f,...s}=r,l=Kz(Une,i),c=W7(Une,i),m=he(a,l.onViewportChange),g=w(0);return o(B,{children:[t("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"},nonce:f}),t(oN.Slot,{scope:i,children:t(se.div,{"data-radix-select-viewport":"",role:"presentation",...s,ref:m,style:{position:"relative",flex:1,overflow:"hidden auto",...s.style},onScroll:Y(s.onScroll,(M)=>{let x=M.currentTarget,{contentWrapper:b,shouldExpandOnScrollRef:y}=c;if(y?.current&&b){let _=Math.abs(g.current-x.scrollTop);if(_>0){let k=window.innerHeight-hu*2,F=parseFloat(b.style.minHeight),I=parseFloat(b.style.height),j=Math.max(F,I);if(j<k){let G=j+_,X=Math.min(k,G),J=G-X;if(b.style.height=X+"px",b.style.bottom==="0px")x.scrollTop=J>0?J:0,b.style.justifyContent="flex-end"}}}g.current=x.scrollTop})})})]})},"SelectViewport")),zCe="SelectGroup",[KWo,XWo]=Gz(zCe);var V7="SelectItem",[SCe,Gne]=Gz(V7),LCe=D(To(function(r,a){let{__scopeSelect:i,value:f,disabled:s=!1,textValue:l,...c}=r,m=h8(V7,i),g=Kz(V7,i),M=m.value===f,[x,b]=u(l??""),[y,_]=u(!1),k=Xo((X)=>g.itemRefCallback?.(X,f,s)),F=he(a,k),I=vr(),j=w("touch"),G=To(()=>{if(!s)m.onValueChange(f),m.onOpenChange(!1)},"handleSelect");return t(SCe,{scope:i,value:f,disabled:s,textId:I,isSelected:M,onItemTextChange:N((X)=>{b((J)=>J||(X?.textContent??"").trim())},[]),children:t(oN.ItemSlot,{scope:i,value:f,disabled:s,textValue:x,children:t(se.div,{role:"option","aria-labelledby":I,"data-highlighted":y?"":void 0,"aria-selected":M&&y,"data-state":M?"checked":"unchecked","aria-disabled":s||void 0,"data-disabled":s?"":void 0,tabIndex:s?void 0:-1,...c,ref:F,onFocus:Y(c.onFocus,()=>_(!0)),onBlur:Y(c.onBlur,()=>_(!1)),onClick:Y(c.onClick,()=>{if(j.current!=="mouse")G()}),onPointerUp:Y(c.onPointerUp,()=>{if(j.current==="mouse")G()}),onPointerDown:Y(c.onPointerDown,(X)=>{j.current=X.pointerType}),onPointerMove:Y(c.onPointerMove,(X)=>{if(j.current=X.pointerType,s)g.onItemLeave?.();else if(j.current==="mouse")X.currentTarget.focus({preventScroll:!0})}),onPointerLeave:Y(c.onPointerLeave,(X)=>{if(X.currentTarget===document.activeElement)g.onItemLeave?.()}),onKeyDown:Y(c.onKeyDown,(X)=>{if(s||X.target!==X.currentTarget)return;if(g.searchRef?.current!==""&&X.key===" ")return;if(oCe.includes(X.key))G();if(X.key===" ")X.preventDefault()})})})})},"SelectItem")),rN="SelectItemText",kCe=D(To(function(r,a){let{__scopeSelect:i,className:f,style:s,...l}=r,c=h8(rN,i),m=Kz(rN,i),g=Gne(rN,i),M=fCe(rN,i),[x,b]=u(null),y=Xo((G)=>m.itemTextRefCallback?.(G,g.value,g.disabled)),_=he(a,b,g.onItemTextChange,y),k=x?.textContent,F=O(()=>t("option",{value:g.value,disabled:g.disabled,children:k},g.value),[g.disabled,g.value,k]),{onNativeOptionAdd:I,onNativeOptionRemove:j}=M;return It(()=>(I(F),()=>j(F)),[I,j,F]),o(B,{children:[t(se.span,{id:g.textId,...l,ref:_}),g.isSelected&&c.valueNode&&!c.valueNodeHasChildren&&!bT(c.value)?ja(l.children,c.valueNode):null]})},"SelectItemText")),ICe="SelectItemIndicator",CCe=D(To(function(r,a){let{__scopeSelect:i,...f}=r;return Gne(ICe,i).isSelected?t(se.span,{"aria-hidden":!0,...f,ref:a}):null},"SelectItemIndicator")),qne="SelectScrollUpButton",RCe=D(To(function(r,a){let i=Kz(qne,r.__scopeSelect),f=W7(qne,r.__scopeSelect),[s,l]=u(!1),c=he(a,f.onScrollButtonChange);return It(()=>{if(i.viewport&&i.isPositioned){let g=function(){let x=M.scrollTop>0;l(x)};var m=g;To(g,"handleScroll");let M=i.viewport;return g(),M.addEventListener("scroll",g),()=>M.removeEventListener("scroll",g)}},[i.viewport,i.isPositioned]),s?t(Kne,{...r,ref:c,onAutoScroll:()=>{let{viewport:m,selectedItem:g}=i;if(m&&g)m.scrollTop=m.scrollTop-g.offsetHeight}}):null},"SelectScrollUpButton")),Vne="SelectScrollDownButton",PCe=D(To(function(r,a){let i=Kz(Vne,r.__scopeSelect),f=W7(Vne,r.__scopeSelect),[s,l]=u(!1),c=he(a,f.onScrollButtonChange);return It(()=>{if(i.viewport&&i.isPositioned){let g=function(){let x=M.scrollHeight-M.clientHeight,b=Math.ceil(M.scrollTop)<x;l(b)};var m=g;To(g,"handleScroll");let M=i.viewport;return g(),M.addEventListener("scroll",g),()=>M.removeEventListener("scroll",g)}},[i.viewport,i.isPositioned]),s?t(Kne,{...r,ref:c,onAutoScroll:()=>{let{viewport:m,selectedItem:g}=i;if(m&&g)m.scrollTop=m.scrollTop+g.offsetHeight}}):null},"SelectScrollDownButton")),Kne=D(To(function(r,a){let{__scopeSelect:i,onAutoScroll:f,...s}=r,l=Kz("SelectScrollButton",i),c=w(null),m=aN(i),g=N(()=>{if(c.current!==null)window.clearInterval(c.current),c.current=null},[]);return h(()=>()=>g(),[g]),It(()=>{m().find((x)=>x.ref.current===document.activeElement)?.ref.current?.scrollIntoView({block:"nearest"})},[m]),t(se.div,{"aria-hidden":!0,...s,ref:a,style:{flexShrink:0,...s.style},onPointerDown:Y(s.onPointerDown,()=>{if(c.current===null)c.current=window.setInterval(f,50)}),onPointerMove:Y(s.onPointerMove,()=>{if(l.onItemLeave?.(),c.current===null)c.current=window.setInterval(f,50)}),onPointerLeave:Y(s.onPointerLeave,()=>{g()})})},"SelectScrollButtonImpl"));var TCe="SelectBubbleInput",ACe=D(To(function({__scopeSelect:r,...a},i){let f=h8(TCe,r),{value:s,onValueChange:l,required:c,disabled:m,name:g,autoComplete:M,form:x}=f,{nativeOptions:b,nativeSelectKey:y}=f,_=w(null),k=he(i,_),F=s??"",I=Cc(F),j=Array.from(b).some((G)=>(G.props.value??"")==="");return h(()=>{let G=_.current;if(!G)return;let X=window.HTMLSelectElement.prototype,ee=Object.getOwnPropertyDescriptor(X,"value").set;if(I!==F&&ee){let te=new Event("change",{bubbles:!0});ee.call(G,F),G.dispatchEvent(te)}},[I,F]),o(se.select,{"aria-hidden":!0,required:c,tabIndex:-1,name:g,autoComplete:M,disabled:m,form:x,onChange:(G)=>l(G.target.value),...a,style:{...q7,...a.style},ref:k,defaultValue:F,children:[bT(s)&&!j?t("option",{value:""}):null,Array.from(b)]},y)},"SelectBubbleInput"));function Xne(e){return typeof e==="function"}To(Xne,"isFunction");function bT(e){return e===""||e===void 0}To(bT,"shouldShowPlaceholder");function G7(e){let r=Xo(e),a=w(""),i=w(0),f=N((l)=>{let c=a.current+l;r(c),To(function m(g){if(a.current=g,window.clearTimeout(i.current),g!=="")i.current=window.setTimeout(()=>m(""),1000)},"updateSearch")(c)},[r]),s=N(()=>{a.current="",window.clearTimeout(i.current)},[]);return h(()=>()=>window.clearTimeout(i.current),[]),[a,f,s]}To(G7,"useTypeaheadSearch");function K7(e,r,a){let f=r.length>1&&Array.from(r).every((g)=>g===r[0])?r[0]:r,s=a?e.indexOf(a):-1,l=Qne(e,Math.max(s,0));if(f.length===1)l=l.filter((g)=>g!==a);let m=l.find((g)=>g.textValue.toLowerCase().startsWith(f.toLowerCase()));return m!==a?m:void 0}To(K7,"findNextItem");function Qne(e,r){return e.map((a,i)=>e[(r+i)%e.length])}To(Qne,"wrapArray");C();var DCe=Object.defineProperty,eie=(e,r)=>DCe(e,"name",{value:r,configurable:!0}),$ne="horizontal",ECe=["horizontal","vertical"],OCe=D(eie(function(r,a){let{decorative:i,orientation:f=$ne,...s}=r,l=tie(f)?f:$ne,m=i?{role:"none"}:{"aria-orientation":l==="vertical"?l:void 0,role:"separator"};return t(se.div,{"data-orientation":l,...m,...s,ref:a})},"Separator"));function tie(e){return ECe.includes(e)}eie(tie,"isValidOrientation");var jCe=OCe;C();var NCe=Object.defineProperty,g8=(e,r)=>NCe(e,"name",{value:r,configurable:!0}),X7="Switch",[FCe,iGo]=dt(X7),[BCe,Q7]=FCe(X7);function oie(e){let{__scopeSwitch:r,checked:a,children:i,defaultChecked:f,disabled:s,form:l,name:c,onCheckedChange:m,required:g,value:M="on",internal_do_not_use_render:x}=e,[b,y]=Lt({prop:a,defaultProp:f??!1,onChange:m,caller:X7}),[_,k]=u(null),[F,I]=u(null),j=w(!1),[G,X]=Ao((te)=>te+1,0),J=_?!!l||!!_.closest("form"):!0,ee={checked:b,setChecked:y,disabled:s,control:_,setControl:k,name:c,form:l,value:M,hasConsumerStoppedPropagationRef:j,userInteractionCount:G,onUserInteraction:X,required:g,defaultChecked:f,isFormControl:J,bubbleInput:F,setBubbleInput:I};return t(BCe,{scope:r,...ee,children:aie(x)?x(ee):i})}g8(oie,"SwitchProvider");var YCe="SwitchTrigger",UCe=D(g8(function({__scopeSwitch:r,onClick:a,...i},f){let{control:s,form:l,value:c,disabled:m,checked:g,required:M,setControl:x,setChecked:b,hasConsumerStoppedPropagationRef:y,onUserInteraction:_,isFormControl:k,bubbleInput:F}=Q7(YCe,r),I=he(f,x),j=w(g);return h(()=>{let G=l?s?.ownerDocument.getElementById(l):s?.form;if(G instanceof HTMLFormElement){let X=g8(()=>b(j.current),"reset");return G.addEventListener("reset",X),()=>G.removeEventListener("reset",X)}},[s,l,b]),t(se.button,{type:"button",role:"switch","aria-checked":g,"aria-required":M,"data-state":J7(g),"data-disabled":m?"":void 0,disabled:m,value:c,...i,ref:I,onClick:Y(a,(G)=>{if(_(),b((X)=>!X),F&&k){if(y.current=G.isPropagationStopped(),!y.current)G.stopPropagation()}})})},"SwitchTrigger")),qCe=D(g8(function(r,a){let{__scopeSwitch:i,name:f,checked:s,defaultChecked:l,required:c,disabled:m,value:g,onCheckedChange:M,form:x,...b}=r;return t(oie,{__scopeSwitch:i,checked:s,defaultChecked:l,disabled:m,required:c,onCheckedChange:M,name:f,form:x,value:g,internal_do_not_use_render:({isFormControl:y})=>o(B,{children:[t(UCe,{...b,ref:a,__scopeSwitch:i}),y&&t(GCe,{__scopeSwitch:i})]})})},"Switch")),VCe="SwitchThumb",HCe=D(g8(function(r,a){let{__scopeSwitch:i,...f}=r,s=Q7(VCe,i);return t(se.span,{"data-state":J7(s.checked),"data-disabled":s.disabled?"":void 0,...f,ref:a})},"SwitchThumb")),WCe="SwitchBubbleInput",GCe=D(g8(function({__scopeSwitch:r,onClick:a,...i},f){let{control:s,hasConsumerStoppedPropagationRef:l,userInteractionCount:c,checked:m,defaultChecked:g,required:M,disabled:x,name:b,value:y,form:_,bubbleInput:k,setBubbleInput:F}=Q7(WCe,r),I=he(f,F),j=oa(s),G=w(!1),X=w(m),J=w(c);h(()=>{let te=k;if(!te)return;let oe=window.HTMLInputElement.prototype,_e=Object.getOwnPropertyDescriptor(oe,"checked").set,Ve=c!==J.current;J.current=c;let Ne=X.current!==m;X.current=m;let ze=!(Ve&&l.current);if(Ne&&_e){G.current=!Ve;let Ye=new Event("click",{bubbles:ze});_e.call(te,m),te.dispatchEvent(Ye),G.current=!1}},[k,m,l,c]);let ee=w(m);return t(se.input,{type:"checkbox","aria-hidden":!0,defaultChecked:g??ee.current,required:M,disabled:x,name:b,value:y,form:_,...i,tabIndex:-1,ref:I,onClick:Y(a,(te)=>{if(G.current)te.stopPropagation()}),style:{...i.style,...j,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})},"SwitchBubbleInput"));function aie(e){return typeof e==="function"}g8(aie,"isFunction");function J7(e){return e?"checked":"unchecked"}g8(J7,"getState");C();var KCe=Object.defineProperty,s1=(e,r)=>KCe(e,"name",{value:r,configurable:!0}),$7="Tabs",[XCe,hGo]=dt($7,[aa]),iie=aa(),[QCe,eU]=XCe($7),JCe=D(s1(function(r,a){let{__scopeTabs:i,value:f,onValueChange:s,defaultValue:l,orientation:c="horizontal",dir:m,activationMode:g="automatic",...M}=r,x=zn(m),[b,y]=Lt({prop:f,onChange:s,defaultProp:l??"",caller:$7});return t(QCe,{scope:i,baseId:vr(),value:b,onValueChange:y,orientation:c,dir:x,activationMode:g,children:t(se.div,{dir:x,"data-orientation":c,...M,ref:a})})},"Tabs")),$Ce="TabsList",eRe=D(s1(function(r,a){let{__scopeTabs:i,loop:f=!0,...s}=r,l=eU($Ce,i),c=iie(i);return t(cl,{asChild:!0,...c,orientation:l.orientation,dir:l.dir,loop:f,children:t(se.div,{role:"tablist","aria-orientation":l.orientation,...s,ref:a})})},"TabsList")),tRe="TabsTrigger",rRe=D(s1(function(r,a){let{__scopeTabs:i,value:f,disabled:s=!1,...l}=r,c=eU(tRe,i),m=iie(i),g=tU(c.baseId,f),M=rU(c.baseId,f),x=f===c.value;return t(ul,{asChild:!0,...m,focusable:!s,active:x,children:t(se.button,{type:"button",role:"tab","aria-selected":x,"aria-controls":M,"data-state":x?"active":"inactive","data-disabled":s?"":void 0,disabled:s,id:g,...l,ref:a,onMouseDown:Y(r.onMouseDown,(b)=>{if(!s&&b.button===0&&b.ctrlKey===!1)c.onValueChange(f);else b.preventDefault()}),onKeyDown:Y(r.onKeyDown,(b)=>{if(s||b.target!==b.currentTarget)return;if([" ","Enter"].includes(b.key))c.onValueChange(f)}),onFocus:Y(r.onFocus,()=>{let b=c.activationMode!=="manual";if(!x&&!s&&b)c.onValueChange(f)})})})},"TabsTrigger")),oRe="TabsContent",aRe=D(s1(function(r,a){let{__scopeTabs:i,value:f,forceMount:s,children:l,...c}=r,m=eU(oRe,i),g=tU(m.baseId,f),M=rU(m.baseId,f),x=f===m.value,b=w(x);return h(()=>{let y=requestAnimationFrame(()=>b.current=!1);return()=>cancelAnimationFrame(y)},[]),t(sr,{present:s||x,children:({present:y})=>t(se.div,{"data-state":x?"active":"inactive","data-orientation":m.orientation,role:"tabpanel","aria-labelledby":g,hidden:!y,id:M,tabIndex:0,...c,ref:a,style:{...r.style,animationDuration:b.current?"0s":void 0},children:y&&l})})},"TabsContent"));function tU(e,r){return`${e}-trigger-${r}`}s1(tU,"makeTriggerId");function rU(e,r){return`${e}-content-${r}`}s1(rU,"makeContentId");var nRe=JCe,iRe=eRe,fRe=rRe,sRe=aRe;C();var lRe=Object.defineProperty,hi=(e,r)=>lRe(e,"name",{value:r,configurable:!0}),[nU,CGo]=dt("Tooltip",[yc]),nN=yc(),cRe="TooltipProvider",uRe=700,oU="tooltip.open",[dRe,iU]=nU(cRe),ZRe=hi((e)=>{let{__scopeTooltip:r,delayDuration:a=uRe,skipDelayDuration:i=300,disableHoverableContent:f=!1,children:s}=e,l=w(!0),c=w(!1),m=w(0);return h(()=>{let g=m.current;return()=>window.clearTimeout(g)},[]),t(dRe,{scope:r,isOpenDelayedRef:l,delayDuration:a,onOpen:N(()=>{if(i<=0)return;window.clearTimeout(m.current),l.current=!1},[i]),onClose:N(()=>{if(i<=0)return;window.clearTimeout(m.current),m.current=window.setTimeout(()=>l.current=!0,i)},[i]),isPointerInTransitRef:c,onPointerInTransitChange:N((g)=>{c.current=g},[]),disableHoverableContent:f,children:s})},"TooltipProvider"),aU="Tooltip",[pRe,wT]=nU(aU),mRe=hi((e)=>{let{__scopeTooltip:r,children:a,open:i,defaultOpen:f,onOpenChange:s,disableHoverableContent:l,delayDuration:c}=e,m=iU(aU,e.__scopeTooltip),g=nN(r),[M,x]=u(null),[b,y]=u(void 0),_=vr(),k=w(0),F=l??m.disableHoverableContent,I=c??m.delayDuration,j=w(!1),[G,X]=Lt({prop:i,defaultProp:f??!1,onChange:hi((_e)=>{if(_e)m.onOpen(),document.dispatchEvent(new CustomEvent(oU));else m.onClose();s?.(_e)},"onChange"),caller:aU}),J=O(()=>G?j.current?"delayed-open":"instant-open":"closed",[G]),ee=N(()=>{window.clearTimeout(k.current),k.current=0,j.current=!1,X(!0)},[X]),te=N(()=>{window.clearTimeout(k.current),k.current=0,X(!1)},[X]),oe=N(()=>{window.clearTimeout(k.current),k.current=window.setTimeout(()=>{j.current=!0,X(!0),k.current=0},I)},[I,X]);return h(()=>()=>{if(k.current)window.clearTimeout(k.current),k.current=0},[]),t(am,{...g,children:t(pRe,{scope:r,contentId:b??_,setContentId:y,open:G,stateAttribute:J,trigger:M,onTriggerChange:x,onTriggerEnter:N(()=>{if(m.isOpenDelayedRef.current)oe();else ee()},[m.isOpenDelayedRef,oe,ee]),onTriggerLeave:N(()=>{if(F)te();else window.clearTimeout(k.current),k.current=0},[te,F]),onOpen:ee,onClose:te,disableHoverableContent:F,children:a})})},"Tooltip"),sie="TooltipTrigger",hRe=D(hi(function(r,a){let{__scopeTooltip:i,...f}=r,s=wT(sie,i),l=iU(sie,i),c=nN(i),m=w(null),g=he(a,m,s.onTriggerChange),M=w(!1),x=w(!1),b=N(()=>M.current=!1,[]);return h(()=>()=>document.removeEventListener("pointerup",b),[b]),t(d8,{asChild:!0,...c,children:t(se.button,{"aria-describedby":s.open?s.contentId:void 0,"data-state":s.stateAttribute,...f,ref:g,onPointerMove:Y(r.onPointerMove,(y)=>{if(y.pointerType==="touch")return;if(!x.current&&!l.isPointerInTransitRef.current)s.onTriggerEnter(),x.current=!0}),onPointerLeave:Y(r.onPointerLeave,()=>{s.onTriggerLeave(),x.current=!1}),onPointerDown:Y(r.onPointerDown,()=>{if(s.open)s.onClose();M.current=!0,document.addEventListener("pointerup",b,{once:!0})}),onFocus:Y(r.onFocus,()=>{if(!M.current)s.onOpen()}),onBlur:Y(r.onBlur,s.onClose),onClick:Y(r.onClick,s.onClose)})})},"TooltipTrigger")),lie="TooltipPortal",[gRe,MRe]=nU(lie,{forceMount:void 0}),vRe=hi((e)=>{let{__scopeTooltip:r,forceMount:a,children:i,container:f}=e,s=wT(lie,r);return t(gRe,{scope:r,forceMount:a,children:t(sr,{present:a||s.open,children:t(fZ,{asChild:!0,container:f,children:i})})})},"TooltipPortal"),_T="TooltipContent",xRe=D(hi(function(r,a){let i=MRe(_T,r.__scopeTooltip),{forceMount:f=i.forceMount,side:s="top",...l}=r,c=wT(_T,r.__scopeTooltip);return t(sr,{present:f||c.open,children:c.disableHoverableContent?t(cie,{side:s,...l,ref:a}):t(yRe,{side:s,...l,ref:a})})},"TooltipContent")),yRe=D(hi(function(r,a){let i=wT(_T,r.__scopeTooltip),f=iU(_T,r.__scopeTooltip),s=w(null),l=he(a,s),[c,m]=u(null),{trigger:g,onClose:M}=i,x=s.current,{onPointerInTransitChange:b}=f,y=N(()=>{m(null),b(!1)},[b]),_=N((k,F)=>{let I=k.currentTarget,j={x:k.clientX,y:k.clientY},G=uie(j,I.getBoundingClientRect()),X=die(j,G),J=Zie(F.getBoundingClientRect()),ee=mie([...X,...J]);m(ee),b(!0)},[b]);return h(()=>()=>y(),[y]),h(()=>{if(g&&x){let k=hi((I)=>_(I,x),"handleTriggerLeave"),F=hi((I)=>_(I,g),"handleContentLeave");return g.addEventListener("pointerleave",k),x.addEventListener("pointerleave",F),()=>{g.removeEventListener("pointerleave",k),x.removeEventListener("pointerleave",F)}}},[g,x,_,y]),h(()=>{if(c){let k=hi((F)=>{let I=F.target,j={x:F.clientX,y:F.clientY},G=g?.contains(I)||x?.contains(I),X=!pie(j,c);if(G)y();else if(X)y(),M()},"handleTrackPointerGrace");return document.addEventListener("pointermove",k),()=>document.removeEventListener("pointermove",k)}},[g,x,c,M,y]),t(cie,{...r,ref:l})},"TooltipContentHoverable")),bRe=gY("TooltipContent"),cie=D(hi(function(r,a){let{__scopeTooltip:i,children:f,"aria-label":s,id:l,onEscapeKeyDown:c,onPointerDownOutside:m,...g}=r,M=wT(_T,i),x=nN(i),{onClose:b}=M;h(()=>(document.addEventListener(oU,b),()=>document.removeEventListener(oU,b)),[b]),h(()=>{if(M.trigger){let _=hi((k)=>{if(k.target instanceof Node&&k.target.contains(M.trigger))b()},"handleScroll");return window.addEventListener("scroll",_,{capture:!0}),()=>window.removeEventListener("scroll",_,{capture:!0})}},[M.trigger,b]);let{setContentId:y}=M;return It(()=>(y(l),()=>{y(void 0)}),[l,y]),t(iZ,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:c,onPointerDownOutside:m,onFocusOutside:(_)=>_.preventDefault(),onDismiss:b,children:o(Z8,{"data-state":M.stateAttribute,role:s?void 0:"tooltip",id:s?void 0:M.contentId,...x,...g,ref:a,style:{...g.style,...{"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"}},children:[t(bRe,{children:f}),s?t(Bne,{id:M.contentId,role:"tooltip",children:s}):null]})})},"TooltipContentImpl")),_Re=D(hi(function(r,a){let{__scopeTooltip:i,...f}=r,s=nN(i);return t(pT,{...s,...f,ref:a})},"TooltipArrow"));function uie(e,r){let a=Math.abs(r.top-e.y),i=Math.abs(r.bottom-e.y),f=Math.abs(r.right-e.x),s=Math.abs(r.left-e.x);switch(Math.min(a,i,f,s)){case s:return"left";case f:return"right";case a:return"top";case i:return"bottom";default:throw Error("unreachable")}}hi(uie,"getExitSideFromRect");function die(e,r,a=5){let i=[];switch(r){case"top":i.push({x:e.x-a,y:e.y+a},{x:e.x+a,y:e.y+a});break;case"bottom":i.push({x:e.x-a,y:e.y-a},{x:e.x+a,y:e.y-a});break;case"left":i.push({x:e.x+a,y:e.y-a},{x:e.x+a,y:e.y+a});break;case"right":i.push({x:e.x-a,y:e.y-a},{x:e.x-a,y:e.y+a});break}return i}hi(die,"getPaddedExitPoints");function Zie(e){let{top:r,right:a,bottom:i,left:f}=e;return[{x:f,y:r},{x:a,y:r},{x:a,y:i},{x:f,y:i}]}hi(Zie,"getPointsFromRect");function pie(e,r){let{x:a,y:i}=e,f=!1;for(let s=0,l=r.length-1;s<r.length;l=s++){let c=r[s],m=r[l],{x:g,y:M}=c,{x,y:b}=m;if(M>i!==b>i&&a<(x-g)*(i-M)/(b-M)+g)f=!f}return f}hi(pie,"isPointInPolygon");function mie(e){let r=e.slice();return r.sort((a,i)=>{if(a.x<i.x)return-1;else if(a.x>i.x)return 1;else if(a.y<i.y)return-1;else if(a.y>i.y)return 1;else return 0}),hie(r)}hi(mie,"getHull");function hie(e){if(e.length<=1)return e.slice();let r=[];for(let i=0;i<e.length;i++){let f=e[i];while(r.length>=2){let s=r[r.length-1],l=r[r.length-2];if((s.x-l.x)*(f.y-l.y)>=(s.y-l.y)*(f.x-l.x))r.pop();else break}r.push(f)}r.pop();let a=[];for(let i=e.length-1;i>=0;i--){let f=e[i];while(a.length>=2){let s=a[a.length-1],l=a[a.length-2];if((s.x-l.x)*(f.y-l.y)>=(s.y-l.y)*(f.x-l.x))a.pop();else break}a.push(f)}if(a.pop(),r.length===1&&a.length===1&&r[0].x===a[0].x&&r[0].y===a[0].y)return r;else return r.concat(a)}hi(hie,"getHullPresorted");var wRe=ZRe,zRe=mRe,SRe=hRe,LRe=vRe,kRe=xRe,IRe=_Re;var iN=as("inline-flex shrink-0 items-center justify-center gap-2 rounded-md text-sm font-medium whitespace-nowrap cursor-pointer transition-colors outline-none focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-white hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:bg-destructive/60 dark:focus-visible:ring-destructive/40",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:border-input dark:bg-input/30 dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",xs:"h-6 gap-1 rounded-md px-2 text-xs has-[>svg]:px-1.5 [&_svg:not([class*='size-'])]:size-3",sm:"h-8 gap-1.5 rounded-md px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9","icon-xs":"size-6 rounded-md [&_svg:not([class*='size-'])]:size-3","icon-sm":"size-8","icon-lg":"size-10"}},defaultVariants:{variant:"default",size:"default"}});function S({className:e,variant:r="default",size:a="default",asChild:i=!1,...f}){let s=i?jre:"button";return t(s,{"data-slot":"button","data-variant":r,"data-size":a,className:E(iN({variant:r,size:a,className:e})),...f})}function bn({delayDuration:e=0,...r}){return t(wRe,{"data-slot":"tooltip-provider",delayDuration:e,...r})}function wn({...e}){return t(zRe,{"data-slot":"tooltip",...e})}function vn({...e}){return t(SRe,{"data-slot":"tooltip-trigger",...e})}function xn({className:e,sideOffset:r=0,children:a,...i}){return t(LRe,{children:o(kRe,{"data-slot":"tooltip-content",sideOffset:r,className:E("z-50 w-fit origin-(--radix-tooltip-content-transform-origin) animate-in rounded-md bg-foreground px-3 py-1.5 text-xs text-balance text-background fade-in-0 zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95",e),...i,children:[a,t(IRe,{className:"z-50 size-2.5 translate-y-[calc(-50%_-_2px)] rotate-45 rounded-[2px] bg-foreground fill-foreground"})]})})}function Ee({className:e,size:r="default",...a}){return t(vLe,{"data-slot":"avatar","data-size":r,className:E("group/avatar relative flex size-8 shrink-0 overflow-hidden rounded-full select-none data-[size=lg]:size-10 data-[size=sm]:size-6",e),...a})}function Ie({className:e,...r}){return t(yLe,{"data-slot":"avatar-image",className:E("aspect-square size-full",e),...r})}function Te({className:e,...r}){return t(_Le,{"data-slot":"avatar-fallback",className:E("flex size-full items-center justify-center rounded-full bg-muted text-sm text-muted-foreground group-data-[size=sm]/avatar:text-xs",e),...r})}function ge({...e}){return t(F1e,{"data-slot":"dropdown-menu",...e})}function Ga({...e}){return t(xne,{"data-slot":"dropdown-menu-portal",...e})}function Ae({...e}){return t(B1e,{"data-slot":"dropdown-menu-trigger",...e})}function ye({className:e,sideOffset:r=4,...a}){return t(xne,{children:t(Y1e,{"data-slot":"dropdown-menu-content",sideOffset:r,className:E("z-50 max-h-(--radix-dropdown-menu-content-available-height) min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",e),...a})})}function W({className:e,inset:r,variant:a="default",...i}){return t(q1e,{"data-slot":"dropdown-menu-item","data-inset":r,"data-variant":a,className:E("relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 data-[variant=destructive]:focus:text-destructive dark:data-[variant=destructive]:focus:bg-destructive/20 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 [&_svg:not([class*='text-'])]:text-muted-foreground data-[variant=destructive]:*:[svg]:text-destructive!",e),...i})}function Ec({...e}){return t(V1e,{"data-slot":"dropdown-menu-radio-group",...e})}function la({className:e,children:r,...a}){return o(H1e,{"data-slot":"dropdown-menu-radio-item",className:E("relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",e),...a,children:[t("span",{className:"pointer-events-none absolute left-2 flex size-3.5 items-center justify-center",children:t(W1e,{children:t(OP,{className:"size-2 fill-current"})})}),r]})}function Qr({className:e,inset:r,...a}){return t(U1e,{"data-slot":"dropdown-menu-label","data-inset":r,className:E("px-2 py-1.5 text-sm font-medium data-[inset]:pl-8",e),...a})}function Gt({className:e,...r}){return t(G1e,{"data-slot":"dropdown-menu-separator",className:E("-mx-1 my-1 h-px bg-border",e),...r})}function Qa({...e}){return t(K1e,{"data-slot":"dropdown-menu-sub",...e})}function Va({className:e,inset:r,children:a,...i}){return o(X1e,{"data-slot":"dropdown-menu-sub-trigger","data-inset":r,className:E("flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground data-[inset]:pl-8 data-[state=open]:bg-accent data-[state=open]:text-accent-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 [&_svg:not([class*='text-'])]:text-muted-foreground",e),...i,children:[a,t(pt,{className:"ml-auto size-4"})]})}function Ka({className:e,...r}){return t(Q1e,{"data-slot":"dropdown-menu-sub-content",className:E("z-50 min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",e),...r})}C();function CRe(e){let r=e.match(/teams\/([^/]+)/);if(r)return{teamId:r[1]};let a=e.match(/projects\/([^/]+)/);if(a)return{projectId:a[1]};return{}}function is(){let[e,r]=u(),a=az({select:(l)=>l.location.pathname}),{teamId:i,projectId:f}=CRe(a),{data:s}=Z({queryKey:["projects",f,"team"],queryFn:async()=>{let l=await A.api.projects[":projectId"].team.$get({param:{projectId:f}});if(!l.ok)throw Error("failed to fetch project team");return await l.json()},enabled:!!f});return h(()=>{if(i)r(i);else if(s?.teamId)r(s.teamId)},[i,s]),e}var fN=Object.create(null),zT=(e)=>globalThis.process?.env||globalThis.Deno?.env.toObject()||globalThis.__env__||(e?fN:globalThis),sm=new Proxy(fN,{get(e,r){return zT()[r]??fN[r]},has(e,r){return r in zT()||r in fN},set(e,r,a){let i=zT(!0);return i[r]=a,!0},deleteProperty(e,r){if(!r)return!1;let a=zT(!0);return delete a[r],!0},ownKeys(){let e=zT(!0);return Object.keys(e)}});var RRe=typeof process<"u"&&process.env&&"production"||"";function M8(e,r){if(typeof process<"u"&&process.env)return process.env[e]??r;if(typeof Deno<"u")return Deno.env.get(e)??r;if(typeof Bun<"u")return Bun.env[e]??r;return r}var PRe=Object.freeze({get BETTER_AUTH_SECRET(){return M8("BETTER_AUTH_SECRET")},get AUTH_SECRET(){return M8("AUTH_SECRET")},get BETTER_AUTH_TELEMETRY(){return M8("BETTER_AUTH_TELEMETRY")},get BETTER_AUTH_TELEMETRY_ID(){return M8("BETTER_AUTH_TELEMETRY_ID")},get NODE_ENV(){return M8("NODE_ENV","development")},get PACKAGE_VERSION(){return M8("PACKAGE_VERSION","0.0.0")},get BETTER_AUTH_TELEMETRY_ENDPOINT(){return M8("BETTER_AUTH_TELEMETRY_ENDPOINT","")}});function TRe(){let e=Object.getOwnPropertyDescriptor(Error,"stackTraceLimit");if(e===void 0)return Object.isExtensible(Error);return Object.prototype.hasOwnProperty.call(e,"writable")?e.writable:e.set!==void 0}function ARe(e){let r=e.split(`
|
|
61
|
+
at `);if(r.length<=1)return e;return r.splice(1,1),r.join(`
|
|
62
|
+
at `)}function DRe(e,r){class a extends e{#e;constructor(...i){if(TRe()){let s=Error.stackTraceLimit;Error.stackTraceLimit=0;super(...i);Error.stackTraceLimit=s}else super(...i);let f=Error().stack;if(f)this.#e=ARe(f.replace(/^Error/,this.name))}get errorStack(){return this.#e}}return Object.defineProperty(a.prototype,"constructor",{get(){return r},enumerable:!1,configurable:!0}),a}var ERe={OK:200,CREATED:201,ACCEPTED:202,NO_CONTENT:204,MULTIPLE_CHOICES:300,MOVED_PERMANENTLY:301,FOUND:302,SEE_OTHER:303,NOT_MODIFIED:304,TEMPORARY_REDIRECT:307,BAD_REQUEST:400,UNAUTHORIZED:401,PAYMENT_REQUIRED:402,FORBIDDEN:403,NOT_FOUND:404,METHOD_NOT_ALLOWED:405,NOT_ACCEPTABLE:406,PROXY_AUTHENTICATION_REQUIRED:407,REQUEST_TIMEOUT:408,CONFLICT:409,GONE:410,LENGTH_REQUIRED:411,PRECONDITION_FAILED:412,PAYLOAD_TOO_LARGE:413,URI_TOO_LONG:414,UNSUPPORTED_MEDIA_TYPE:415,RANGE_NOT_SATISFIABLE:416,EXPECTATION_FAILED:417,"I'M_A_TEAPOT":418,MISDIRECTED_REQUEST:421,UNPROCESSABLE_ENTITY:422,LOCKED:423,FAILED_DEPENDENCY:424,TOO_EARLY:425,UPGRADE_REQUIRED:426,PRECONDITION_REQUIRED:428,TOO_MANY_REQUESTS:429,REQUEST_HEADER_FIELDS_TOO_LARGE:431,UNAVAILABLE_FOR_LEGAL_REASONS:451,INTERNAL_SERVER_ERROR:500,NOT_IMPLEMENTED:501,BAD_GATEWAY:502,SERVICE_UNAVAILABLE:503,GATEWAY_TIMEOUT:504,HTTP_VERSION_NOT_SUPPORTED:505,VARIANT_ALSO_NEGOTIATES:506,INSUFFICIENT_STORAGE:507,LOOP_DETECTED:508,NOT_EXTENDED:510,NETWORK_AUTHENTICATION_REQUIRED:511},ORe=class extends Error{constructor(e="INTERNAL_SERVER_ERROR",r=void 0,a={},i=typeof e==="number"?e:ERe[e]){super(r?.message,r?.cause?{cause:r.cause}:void 0);this.status=e,this.body=r,this.headers=a,this.statusCode=i,this.name="APIError",this.status=e,this.headers=a,this.statusCode=i,this.body=r}};var jRe=DRe(ORe,Error);var l1=class extends Error{constructor(e,r){super(e,r);this.name="BetterAuthError",this.message=e,this.stack=""}};function NRe(e){try{return(new URL(e).pathname.replace(/\/+$/,"")||"/")!=="/"}catch{throw new l1(`Invalid base URL: ${e}. Please provide a valid base URL.`)}}function FRe(e){try{let r=new URL(e);if(r.protocol!=="http:"&&r.protocol!=="https:")throw new l1(`Invalid base URL: ${e}. URL must include 'http://' or 'https://'`)}catch(r){if(r instanceof l1)throw r;throw new l1(`Invalid base URL: ${e}. Please provide a valid base URL.`,{cause:r})}}function ST(e,r="/api/auth"){if(FRe(e),NRe(e))return e;let a=e.replace(/\/+$/,"");if(!r||r==="/")return a;return r=r.startsWith("/")?r:`/${r}`,`${a}${r}`}function Mie(e,r){if(!e||e.trim()==="")return!1;if(r==="proto")return e==="http"||e==="https";if(r==="host"){if([/\.\./,/\0/,/[\s]/,/^[.]/,/[<>'"]/,/javascript:/i,/file:/i,/data:/i].some((a)=>a.test(e)))return!1;return/^[a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(\.[a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*(:[0-9]{1,5})?$/.test(e)||/^(\d{1,3}\.){3}\d{1,3}(:[0-9]{1,5})?$/.test(e)||/^\[[0-9a-fA-F:]+\](:[0-9]{1,5})?$/.test(e)||/^localhost(:[0-9]{1,5})?$/i.test(e)}return!1}function vie(e,r,a,i,f){if(e)return ST(e,r);if(i!==!1){let c=sm.BETTER_AUTH_URL||sm.NEXT_PUBLIC_BETTER_AUTH_URL||sm.PUBLIC_BETTER_AUTH_URL||sm.NUXT_PUBLIC_BETTER_AUTH_URL||sm.NUXT_PUBLIC_AUTH_URL||(sm.BASE_URL!=="/"?sm.BASE_URL:void 0);if(c)return ST(c,r)}let s=a?.headers.get("x-forwarded-host"),l=a?.headers.get("x-forwarded-proto");if(s&&l&&f){if(Mie(l,"proto")&&Mie(s,"host"))try{return ST(`${l}://${s}`,r)}catch(c){}}if(a){let c=BRe(a.url);if(!c)throw new l1("Could not get origin from request. Please provide a valid base URL.");return ST(c,r)}if(typeof window<"u"&&window.location)return ST(window.location.origin,r)}function BRe(e){try{let r=new URL(e);return r.origin==="null"?null:r.origin}catch{return null}}var YRe={proto:/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,constructor:/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,protoShort:/"__proto__"\s*:/,constructorShort:/"constructor"\s*:/},URe=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/,xie={true:!0,false:!1,null:null,undefined:void 0,nan:NaN,infinity:Number.POSITIVE_INFINITY,"-infinity":Number.NEGATIVE_INFINITY},qRe=/^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2})(?:\.(\d{1,7}))?(?:Z|([+-])(\d{2}):(\d{2}))$/;function VRe(e){return e instanceof Date&&!isNaN(e.getTime())}function HRe(e){let r=qRe.exec(e);if(!r)return null;let[,a,i,f,s,l,c,m,g,M,x]=r,b=new Date(Date.UTC(parseInt(a,10),parseInt(i,10)-1,parseInt(f,10),parseInt(s,10),parseInt(l,10),parseInt(c,10),m?parseInt(m.padEnd(3,"0"),10):0));if(g){let y=(parseInt(M,10)*60+parseInt(x,10))*(g==="+"?-1:1);b.setUTCMinutes(b.getUTCMinutes()+y)}return VRe(b)?b:null}function WRe(e,r={}){let{strict:a=!1,warnings:i=!1,reviver:f,parseDates:s=!0}=r;if(typeof e!=="string")return e;let l=e.trim();if(l.length>0&&l[0]==='"'&&l.endsWith('"')&&!l.slice(1,-1).includes('"'))return l.slice(1,-1);let c=l.toLowerCase();if(c.length<=9&&c in xie)return xie[c];if(!URe.test(l)){if(a)throw SyntaxError("[better-json] Invalid JSON");return e}if(Object.entries(YRe).some(([m,g])=>{let M=g.test(l);if(M&&i)console.warn(`[better-json] Detected potential prototype pollution attempt using ${m} pattern`);return M})&&a)throw Error("[better-json] Potential prototype pollution attempt detected");try{return JSON.parse(l,(g,M)=>{if(g==="__proto__"||g==="constructor"&&M&&typeof M==="object"&&"prototype"in M){if(i)console.warn(`[better-json] Dropping "${g}" key to prevent prototype pollution`);return}if(s&&typeof M==="string"){let x=HRe(M);if(x)return x}return f?f(g,M):M})}catch(m){if(a)throw m;return e}}function yie(e,r={strict:!0}){return WRe(e,r)}var bie={id:"redirect",name:"Redirect",hooks:{onSuccess(e){if(e.data?.url&&e.data?.redirect){if(typeof window<"u"&&window.location){if(window.location)try{window.location.href=e.data.url}catch{}}}}}};var gu=[],v8=0,sN=null,lN=4,GRe=globalThis.nanostoresGlobal||={epoch:0},KRe=()=>{let e;for(v8=0;v8<gu.length;v8+=lN)try{gu[v8](gu[v8+1].value,gu[v8+2],gu[v8+3])}catch(r){e=r}if(gu.length=0,e)throw e};var LT=(e)=>{let r=[],a={eq:Object.is,get(){if(!a.lc)a.listen(()=>{})();return a.value},init:e,lc:0,listen(i){return a.lc=r.push(i),()=>{for(let s=v8+lN;s<gu.length;)if(gu[s]===i)gu.splice(s,lN);else s+=lN;let f=r.indexOf(i);if(~f){if(r.splice(f,1),!--a.lc)a.off()}}},notify(i,f){GRe.epoch++;let s=!gu.length&&!sN;for(let l of r){if(sN?.has(l))continue;sN?.add(l),gu.push(l,a,i,sN?void 0:f)}if(s)KRe()},off(){},set(i){let f=a.value;if(!a.eq(f,i))a.value=i,a.notify(f)},subscribe(i){let f=a.listen(i);return i(a.value),f},value:e};return a};var XRe=5,cN=6,uN=10,QRe=(e,r,a,i)=>{if(e.events=e.events||{},!e.events[a+uN])e.events[a+uN]=i((f)=>{e.events[a].reduceRight((s,l)=>(l(s),s),{shared:{},...f})});return e.events[a]=e.events[a]||[],e.events[a].push(r),()=>{let f=e.events[a],s=f.indexOf(r);if(f.splice(s,1),!f.length)delete e.events[a],e.events[a+uN](),delete e.events[a+uN]}};var _ie=1000,kT=(e,r)=>QRe(e,(i)=>{let f=r(i);if(f)e.events[cN].push(f)},XRe,(i)=>{let f=e.listen;e.listen=(...l)=>{if(!e.lc&&!e.active)e.active=!0,i();return f(...l)};let s=e.off;return e.events[cN]=[],e.off=()=>{s(),setTimeout(()=>{if(e.active&&!e.lc){e.active=!1;for(let l of e.events[cN])l();e.events[cN]=[]}},_ie)},()=>{e.listen=f,e.off=s}});function fU(e,r){let a=JRe(r),i=e;for(let f of a){if(i==null)return;i=i[f]}return i}var wie=/(.*)\[(\d+)\]/;function JRe(e){return e.split(".").flatMap((r)=>zie(r))}function zie(e){if(wie.test(e)){let[,r,a]=e.match(wie);return[...zie(r),a]}return[e]}function sU(e,r,a){let i=new Set(r);return e.listen((f,s,l)=>{if(l===void 0?r.some((c)=>s===void 0||f[c]!==s[c]||fU(f,c)!==fU(s,c)):i.has(l)||i.has(l.split(/\.|\[/)[0]))a(f,s,l)})}var $Re=()=>typeof window>"u",Sie=(e,r,a,i)=>{let f=LT({data:null,error:null,isPending:!0,isRefetching:!1,refetch:(c)=>s(c)}),s=async(c)=>new Promise((m)=>{let g=typeof i==="function"?i({data:f.get().data,error:f.get().error,isPending:f.get().isPending}):i;a(r,{...g,query:{...g?.query,...c?.query},async onSuccess(M){f.set({data:M.data,error:null,isPending:!1,isRefetching:!1,refetch:f.value.refetch}),await g?.onSuccess?.(M)},async onError(M){let{request:x}=M,b=typeof x.retry==="number"?x.retry:x.retry?.attempts,y=x.retryAttempt||0;if(b&&y<b)return;let _=M.error.status===401;f.set({error:M.error,data:_?null:f.get().data,isPending:!1,isRefetching:!1,refetch:f.value.refetch}),await g?.onError?.(M)},async onRequest(M){let x=f.get();f.set({isPending:x.data===null,data:x.data,error:null,isRefetching:!0,refetch:f.value.refetch}),await g?.onRequest?.(M)}}).catch((M)=>{f.set({error:M,data:f.get().data,isPending:!1,isRefetching:!1,refetch:f.value.refetch})}).finally(()=>{m(void 0)})});e=Array.isArray(e)?e:[e];let l=!1;for(let c of e)c.subscribe(async()=>{if($Re())return;if(l)await s();else kT(f,()=>{let m=setTimeout(async()=>{if(!l)l=!0,await s()},0);return()=>{f.off(),c.off(),clearTimeout(m)}})});return f};var lU=Symbol.for("better-auth:broadcast-channel"),ePe=()=>Math.floor(Date.now()/1000),tPe=class{listeners=new Set;name;constructor(e="better-auth.message"){this.name=e}subscribe(e){return this.listeners.add(e),()=>{this.listeners.delete(e)}}post(e){if(typeof window>"u")return;try{localStorage.setItem(this.name,JSON.stringify({...e,timestamp:ePe()}))}catch{}}setup(){if(typeof window>"u"||typeof window.addEventListener>"u")return()=>{};let e=(r)=>{if(r.key!==this.name)return;let a=JSON.parse(r.newValue??"{}");if(a?.event!=="session"||!a?.data)return;this.listeners.forEach((i)=>i(a))};return window.addEventListener("storage",e),()=>{window.removeEventListener("storage",e)}}};function dN(e="better-auth.message"){if(!globalThis[lU])globalThis[lU]=new tPe(e);return globalThis[lU]}var cU=Symbol.for("better-auth:focus-manager"),rPe=class{listeners=new Set;subscribe(e){return this.listeners.add(e),()=>{this.listeners.delete(e)}}setFocused(e){this.listeners.forEach((r)=>r(e))}setup(){if(typeof window>"u"||typeof document>"u"||typeof window.addEventListener>"u")return()=>{};let e=()=>{if(document.visibilityState==="visible")this.setFocused(!0)};return document.addEventListener("visibilitychange",e,!1),()=>{document.removeEventListener("visibilitychange",e,!1)}}};function uU(){if(!globalThis[cU])globalThis[cU]=new rPe;return globalThis[cU]}var dU=Symbol.for("better-auth:online-manager"),oPe=class{listeners=new Set;isOnline=typeof navigator<"u"?navigator.onLine:!0;subscribe(e){return this.listeners.add(e),()=>{this.listeners.delete(e)}}setOnline(e){this.isOnline=e,this.listeners.forEach((r)=>r(e))}setup(){if(typeof window>"u"||typeof window.addEventListener>"u")return()=>{};let e=()=>this.setOnline(!0),r=()=>this.setOnline(!1);return window.addEventListener("online",e,!1),window.addEventListener("offline",r,!1),()=>{window.removeEventListener("online",e,!1),window.removeEventListener("offline",r,!1)}}};function ZN(){if(!globalThis[dU])globalThis[dU]=new oPe;return globalThis[dU]}var c1=()=>Math.floor(Date.now()/1000);function Lie(e){if(typeof e==="object"&&e!==null&&"data"in e&&"error"in e)return e;return{data:e,error:null}}var aPe=5;function kie(e){let{sessionAtom:r,sessionSignal:a,$fetch:i,options:f={}}=e,s=f.sessionOptions?.refetchInterval??0,l=f.sessionOptions?.refetchOnWindowFocus??!0,c=f.sessionOptions?.refetchWhenOffline??!1,m={lastSync:0,lastSessionRequest:0,cachedSession:void 0},g=()=>c||ZN().isOnline,M=(j)=>{if(!g())return;if(j?.event==="storage"){m.lastSync=c1(),a.set(!a.get());return}let G=r.get(),X=()=>{m.lastSessionRequest=c1(),i("/get-session").then(async(J)=>{let{data:ee,error:te}=Lie(J);if(ee?.needsRefresh)try{let ae=await i("/get-session",{method:"POST"});({data:ee,error:te}=Lie(ae))}catch{}let oe=ee?.session&&ee?.user?ee:null;r.set({...G,data:oe,error:te}),m.lastSync=c1(),a.set(!a.get())}).catch(()=>{})};if(j?.event==="poll"){X();return}if(j?.event==="visibilitychange"){if(c1()-m.lastSessionRequest<aPe)return;m.lastSessionRequest=c1()}if(j?.event==="visibilitychange"){X();return}if(G?.data===null||G?.data===void 0)m.lastSync=c1(),a.set(!a.get())},x=(j)=>{dN().post({event:"session",data:{trigger:j},clientId:Math.random().toString(36).substring(7)})},b=()=>{if(s&&s>0)m.pollInterval=setInterval(()=>{if(r.get()?.data)M({event:"poll"})},s*1000)},y=()=>{m.unsubscribeBroadcast=dN().subscribe(()=>{M({event:"storage"})})},_=()=>{if(!l)return;m.unsubscribeFocus=uU().subscribe(()=>{M({event:"visibilitychange"})})},k=()=>{m.unsubscribeOnline=ZN().subscribe((j)=>{if(j)M({event:"visibilitychange"})})};return{init:()=>{b(),y(),_(),k(),dN().setup(),uU().setup(),ZN().setup()},cleanup:()=>{if(m.pollInterval)clearInterval(m.pollInterval),m.pollInterval=void 0;if(m.unsubscribeBroadcast)m.unsubscribeBroadcast(),m.unsubscribeBroadcast=void 0;if(m.unsubscribeFocus)m.unsubscribeFocus(),m.unsubscribeFocus=void 0;if(m.unsubscribeOnline)m.unsubscribeOnline(),m.unsubscribeOnline=void 0;m.lastSync=0,m.lastSessionRequest=0,m.cachedSession=void 0},triggerRefetch:M,broadcastSessionUpdate:x}}function Iie(e,r){let a=LT(!1),i=Sie(a,"/get-session",e,{method:"GET"}),f=()=>{};return kT(i,()=>{let s=kie({sessionAtom:i,sessionSignal:a,$fetch:e,options:r});return s.init(),f=s.broadcastSessionUpdate,()=>{s.cleanup()}}),{session:i,$sessionSignal:a,broadcastSessionUpdate:(s)=>f(s)}}function ZU(e){if(e===null||typeof e!=="object")return!1;let r=Object.getPrototypeOf(e);if(r!==null&&r!==Object.prototype&&Object.getPrototypeOf(r)!==null)return!1;if(Symbol.iterator in e)return!1;if(Symbol.toStringTag in e)return Object.prototype.toString.call(e)==="[object Module]";return!0}function pU(e,r,a=".",i){if(!ZU(r))return pU(e,{},a,i);let f={...r};for(let s of Object.keys(e)){if(s==="__proto__"||s==="constructor")continue;let l=e[s];if(l===null||l===void 0)continue;if(i&&i(f,s,l,a))continue;if(Array.isArray(l)&&Array.isArray(f[s]))f[s]=[...l,...f[s]];else if(ZU(l)&&ZU(f[s]))f[s]=pU(l,f[s],(a?`${a}.`:"")+s.toString(),i);else f[s]=l}return f}function mU(e){return(...r)=>r.reduce((a,i)=>pU(a,i,"",e),{})}var Cie=mU(),GXo=mU((e,r,a)=>{if(e[r]!==void 0&&typeof a==="function")return e[r]=a(e[r]),!0}),KXo=mU((e,r,a)=>{if(Array.isArray(e[r])&&typeof a==="function")return e[r]=a(e[r]),!0});var{defineProperty:nPe,defineProperties:iPe,getOwnPropertyDescriptors:fPe,getOwnPropertySymbols:Rie}=Object,sPe=Object.prototype.hasOwnProperty,lPe=Object.prototype.propertyIsEnumerable,Pie=(e,r,a)=>(r in e)?nPe(e,r,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[r]=a,Mu=(e,r)=>{for(var a in r||(r={}))if(sPe.call(r,a))Pie(e,a,r[a]);if(Rie){for(var a of Rie(r))if(lPe.call(r,a))Pie(e,a,r[a])}return e},ZZ=(e,r)=>iPe(e,fPe(r)),cPe=class extends Error{constructor(e,r,a){super(r||e.toString(),{cause:a});this.status=e,this.statusText=r,this.error=a,Error.captureStackTrace(this,this.constructor)}},uPe=async(e,r)=>{var a,i,f,s,l,c;let m=r||{},g={onRequest:[r==null?void 0:r.onRequest],onResponse:[r==null?void 0:r.onResponse],onSuccess:[r==null?void 0:r.onSuccess],onError:[r==null?void 0:r.onError],onRetry:[r==null?void 0:r.onRetry]};if(!r||!(r==null?void 0:r.plugins))return{url:e,options:m,hooks:g};for(let M of(r==null?void 0:r.plugins)||[]){if(M.init){let x=await((a=M.init)==null?void 0:a.call(M,e.toString(),r));m=x.options||m,e=x.url}g.onRequest.push((i=M.hooks)==null?void 0:i.onRequest),g.onResponse.push((f=M.hooks)==null?void 0:f.onResponse),g.onSuccess.push((s=M.hooks)==null?void 0:s.onSuccess),g.onError.push((l=M.hooks)==null?void 0:l.onError),g.onRetry.push((c=M.hooks)==null?void 0:c.onRetry)}return{url:e,options:m,hooks:g}},Tie=class{constructor(e){this.options=e}shouldAttemptRetry(e,r){if(this.options.shouldRetry)return Promise.resolve(e<this.options.attempts&&this.options.shouldRetry(r));return Promise.resolve(e<this.options.attempts)}getDelay(){return this.options.delay}},dPe=class{constructor(e){this.options=e}shouldAttemptRetry(e,r){if(this.options.shouldRetry)return Promise.resolve(e<this.options.attempts&&this.options.shouldRetry(r));return Promise.resolve(e<this.options.attempts)}getDelay(e){return Math.min(this.options.maxDelay,this.options.baseDelay*2**e)}};function ZPe(e){if(typeof e==="number")return new Tie({type:"linear",attempts:e,delay:1000});switch(e.type){case"linear":return new Tie(e);case"exponential":return new dPe(e);default:throw Error("Invalid retry strategy")}}var pPe=async(e)=>{let r={},a=async(i)=>typeof i==="function"?await i():i;if(e==null?void 0:e.auth){if(e.auth.type==="Bearer"){let i=await a(e.auth.token);if(!i)return r;r.authorization=`Bearer ${i}`}else if(e.auth.type==="Basic"){let[i,f]=await Promise.all([a(e.auth.username),a(e.auth.password)]);if(!i||!f)return r;r.authorization=`Basic ${btoa(`${i}:${f}`)}`}else if(e.auth.type==="Custom"){let[i,f]=await Promise.all([a(e.auth.prefix),a(e.auth.value)]);if(!f)return r;r.authorization=`${i!=null?i:""} ${f}`}}return r},mPe=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function hPe(e){let r=e.headers.get("content-type"),a=new Set(["image/svg","application/xml","application/xhtml","application/html"]);if(!r)return"json";let i=r.split(";").shift()||"";if(mPe.test(i))return"json";if(a.has(i)||i.startsWith("text/"))return"text";return"blob"}function gPe(e){try{return JSON.parse(e),!0}catch(r){return!1}}function hU(e){if(e===void 0)return!1;let r=typeof e;if(r==="string"||r==="number"||r==="boolean"||r===null)return!0;if(r!=="object")return!1;if(Array.isArray(e))return!0;if(e.buffer)return!1;return e.constructor&&e.constructor.name==="Object"||typeof e.toJSON==="function"}function Aie(e){try{return JSON.parse(e)}catch(r){return e}}function Die(e){return typeof e==="function"}function MPe(e){if(e==null?void 0:e.customFetchImpl)return e.customFetchImpl;if(typeof globalThis<"u"&&Die(globalThis.fetch))return globalThis.fetch;if(typeof window<"u"&&Die(window.fetch))return window.fetch;throw Error("No fetch implementation found")}async function vPe(e){let r=new Headers(e==null?void 0:e.headers),a=await pPe(e);for(let[i,f]of Object.entries(a||{}))r.set(i,f);if(!r.has("content-type")){let i=xPe(e==null?void 0:e.body);if(i)r.set("content-type",i)}return r}function xPe(e){if(hU(e))return"application/json";return null}function yPe(e){if(!(e==null?void 0:e.body))return null;let r=new Headers(e==null?void 0:e.headers);if(hU(e.body)&&!r.has("content-type")){for(let[a,i]of Object.entries(e==null?void 0:e.body))if(i instanceof Date)e.body[a]=i.toISOString();return JSON.stringify(e.body)}if(r.has("content-type")&&r.get("content-type")==="application/x-www-form-urlencoded"){if(hU(e.body))return new URLSearchParams(e.body).toString();return e.body}return e.body}function bPe(e,r){var a;if(r==null?void 0:r.method)return r.method.toUpperCase();if(e.startsWith("@")){let i=(a=e.split("@")[1])==null?void 0:a.split("/")[0];if(!Eie.includes(i))return(r==null?void 0:r.body)?"POST":"GET";return i.toUpperCase()}return(r==null?void 0:r.body)?"POST":"GET"}function _Pe(e,r){let a;if(!(e==null?void 0:e.signal)&&(e==null?void 0:e.timeout))a=setTimeout(()=>r==null?void 0:r.abort(),e==null?void 0:e.timeout);return{abortTimeout:a,clearTimeout:()=>{if(a)clearTimeout(a)}}}var wPe=class e extends Error{constructor(r,a){super(a||JSON.stringify(r,null,2));this.issues=r,Object.setPrototypeOf(this,e.prototype)}};async function pN(e,r){let a=await e["~standard"].validate(r);if(a.issues)throw new wPe(a.issues);return a.value}var Eie=["get","post","put","patch","delete"];var zPe=(e)=>({id:"apply-schema",name:"Apply Schema",version:"1.0.0",async init(r,a){var i,f,s,l;let c=((f=(i=e.plugins)==null?void 0:i.find((m)=>{var g;return((g=m.schema)==null?void 0:g.config)?r.startsWith(m.schema.config.baseURL||"")||r.startsWith(m.schema.config.prefix||""):!1}))==null?void 0:f.schema)||e.schema;if(c){let m=r;if((s=c.config)==null?void 0:s.prefix){if(m.startsWith(c.config.prefix)){if(m=m.replace(c.config.prefix,""),c.config.baseURL)r=r.replace(c.config.prefix,c.config.baseURL)}}if((l=c.config)==null?void 0:l.baseURL){if(m.startsWith(c.config.baseURL))m=m.replace(c.config.baseURL,"")}let g=c.schema[m];if(g){let M=ZZ(Mu({},a),{method:g.method,output:g.output});if(!(a==null?void 0:a.disableValidation))M=ZZ(Mu({},M),{body:g.input?await pN(g.input,a==null?void 0:a.body):a==null?void 0:a.body,params:g.params?await pN(g.params,a==null?void 0:a.params):a==null?void 0:a.params,query:g.query?await pN(g.query,a==null?void 0:a.query):a==null?void 0:a.query});return{url:r,options:M}}}return{url:r,options:a}}}),Oie=(e)=>{async function r(a,i){let f=ZZ(Mu(Mu({},e),i),{plugins:[...(e==null?void 0:e.plugins)||[],zPe(e||{}),...(i==null?void 0:i.plugins)||[]]});if(e==null?void 0:e.catchAllError)try{return await gU(a,f)}catch(s){return{data:null,error:{status:500,statusText:"Fetch Error",message:"Fetch related error. Captured by catchAllError option. See error property for more details.",error:s}}}return await gU(a,f)}return r};function SPe(e,r){let{baseURL:a,params:i,query:f}=r||{query:{},params:{},baseURL:""},s=e.startsWith("http")?e.split("/").slice(0,3).join("/"):a||"";if(e.startsWith("@")){let x=e.toString().split("@")[1].split("/")[0];if(Eie.includes(x))e=e.replace(`@${x}/`,"/")}if(!s.endsWith("/"))s+="/";let[l,c]=e.replace(s,"").split("?"),m=new URLSearchParams(c);for(let[x,b]of Object.entries(f||{})){if(b==null)continue;let y;if(typeof b==="string")y=b;else if(Array.isArray(b)){for(let _ of b)m.append(x,_);continue}else y=JSON.stringify(b);m.set(x,y)}if(i)if(Array.isArray(i)){let x=l.split("/").filter((b)=>b.startsWith(":"));for(let[b,y]of x.entries()){let _=i[b];l=l.replace(y,_)}}else for(let[x,b]of Object.entries(i))l=l.replace(`:${x}`,String(b));if(l=l.split("/").map(encodeURIComponent).join("/"),l.startsWith("/"))l=l.slice(1);let g=m.toString();if(g=g.length>0?`?${g}`.replace(/\+/g,"%20"):"",!s.startsWith("http"))return`${s}${l}${g}`;return new URL(`${l}${g}`,s)}var gU=async(e,r)=>{var a,i,f,s,l,c,m,g;let{hooks:M,url:x,options:b}=await uPe(e,r),y=MPe(b),_=new AbortController,k=(a=b.signal)!=null?a:_.signal,F=SPe(x,b),I=yPe(b),j=await vPe(b),G=bPe(x,b),X=ZZ(Mu({},b),{url:F,headers:j,body:I,method:G,signal:k});for(let ze of M.onRequest)if(ze){let Ye=await ze(X);if(typeof Ye==="object"&&Ye!==null)X=Ye}if("pipeTo"in X&&typeof X.pipeTo==="function"||typeof((i=r==null?void 0:r.body)==null?void 0:i.pipe)==="function"){if(!("duplex"in X))X.duplex="half"}let{clearTimeout:J}=_Pe(b,_),ee=await y(X.url,X);J();let te={response:ee,request:X};for(let ze of M.onResponse)if(ze){let Ye=await ze(ZZ(Mu({},te),{response:((f=r==null?void 0:r.hookOptions)==null?void 0:f.cloneResponse)?ee.clone():ee}));if(Ye instanceof Response)ee=Ye;else if(typeof Ye==="object"&&Ye!==null)ee=Ye.response}if(ee.ok){if(X.method==="HEAD")return{data:"",error:null};let Ye=hPe(ee),ft={data:null,response:ee,request:X};if(Ye==="json"||Ye==="text"){let Ke=await ee.text(),Zt=(s=X.jsonParser)!=null?s:Aie;ft.data=await Zt(Ke)}else ft.data=await ee[Ye]();if(X==null?void 0:X.output){if(X.output&&!X.disableValidation)ft.data=await pN(X.output,ft.data)}for(let Ke of M.onSuccess)if(Ke)await Ke(ZZ(Mu({},ft),{response:((l=r==null?void 0:r.hookOptions)==null?void 0:l.cloneResponse)?ee.clone():ee}));if(r==null?void 0:r.throw)return ft.data;return{data:ft.data,error:null}}let oe=(c=r==null?void 0:r.jsonParser)!=null?c:Aie,ae=await ee.text(),_e=gPe(ae),Ve=_e?await oe(ae):null,Ne={response:ee,responseText:ae,request:X,error:ZZ(Mu({},Ve),{status:ee.status,statusText:ee.statusText})};for(let ze of M.onError)if(ze)await ze(ZZ(Mu({},Ne),{response:((m=r==null?void 0:r.hookOptions)==null?void 0:m.cloneResponse)?ee.clone():ee}));if(r==null?void 0:r.retry){let ze=ZPe(r.retry),Ye=(g=r.retryAttempt)!=null?g:0;if(await ze.shouldAttemptRetry(Ye,ee)){for(let Ke of M.onRetry)if(Ke)await Ke(te);let ft=ze.getDelay(Ye);return await new Promise((Ke)=>setTimeout(Ke,ft)),await gU(e,ZZ(Mu({},r),{retryAttempt:Ye+1}))}}if(r==null?void 0:r.throw)throw new cPe(ee.status,ee.statusText,_e?Ve:ae);return{data:null,error:ZZ(Mu({},Ve),{status:ee.status,statusText:ee.statusText})}};var LPe=(e)=>{if(typeof process>"u")return;let r=e??"/api/auth";if(process.env.NEXT_PUBLIC_AUTH_URL)return process.env.NEXT_PUBLIC_AUTH_URL;if(typeof window>"u"){if(process.env.NEXTAUTH_URL)try{return process.env.NEXTAUTH_URL}catch{}if(process.env.VERCEL_URL)try{let a=process.env.VERCEL_URL.startsWith("http")?"":"https://";return`${new URL(`${a}${process.env.VERCEL_URL}`).origin}${r}`}catch{}}},jie=(e,r)=>{let a="credentials"in Request.prototype,i=vie(e?.baseURL,e?.basePath,void 0,r)??LPe(e?.basePath)??"/api/auth",f=e?.plugins?.flatMap((J)=>J.fetchPlugins).filter((J)=>J!==void 0)||[],s={id:"lifecycle-hooks",name:"lifecycle-hooks",hooks:{onSuccess:e?.fetchOptions?.onSuccess,onError:e?.fetchOptions?.onError,onRequest:e?.fetchOptions?.onRequest,onResponse:e?.fetchOptions?.onResponse}},{onSuccess:l,onError:c,onRequest:m,onResponse:g,...M}=e?.fetchOptions||{},x=Oie({baseURL:i,...a?{credentials:"include"}:{},method:"GET",jsonParser(J){if(!J)return null;return yie(J,{strict:!1})},customFetchImpl:fetch,...M,plugins:[s,...M.plugins||[],...e?.disableDefaultFetchPlugins?[]:[bie],...f]}),{$sessionSignal:b,session:y,broadcastSessionUpdate:_}=Iie(x,e),k=e?.plugins||[],F={},I={$sessionSignal:b,session:y},j={"/sign-out":"POST","/revoke-sessions":"POST","/revoke-other-sessions":"POST","/delete-user":"POST"},G=[{signal:"$sessionSignal",matcher(J){return J==="/sign-out"||J==="/update-user"||J==="/update-session"||J==="/sign-up/email"||J==="/sign-in/email"||J==="/delete-user"||J==="/verify-email"||J==="/revoke-sessions"||J==="/revoke-session"||J==="/revoke-other-sessions"||J==="/change-email"||J==="/change-password"},callback(J){if(J==="/sign-out")_("signout");else if(J==="/update-user"||J==="/update-session")_("updateUser")}}];for(let J of k){if(J.getAtoms)Object.assign(I,J.getAtoms?.(x));if(J.pathMethods)Object.assign(j,J.pathMethods);if(J.atomListeners)G.push(...J.atomListeners)}let X={notify:(J)=>{I[J].set(!I[J].get())},listen:(J,ee)=>{I[J].subscribe(ee)},atoms:I};for(let J of k)if(J.getActions)F=Cie(J.getActions?.(x,X,e)??{},F);return{get baseURL(){return i},pluginsActions:F,pluginsAtoms:I,pluginPathMethods:j,atomListeners:G,$fetch:x,$store:X}};function Nie(e){return typeof e==="object"&&e!==null&&"get"in e&&typeof e.get==="function"&&"lc"in e&&typeof e.lc==="number"}function kPe(e,r,a){let i=r[e],{fetchOptions:f,query:s,...l}=a||{};if(i)return i;if(f?.method)return f.method;if(l&&Object.keys(l).length>0)return"POST";return"GET"}function Fie(e,r,a,i,f){function s(l=[]){return new Proxy(function(){},{get(c,m){if(typeof m!=="string")return;if(m==="then"||m==="catch"||m==="finally")return;let g=[...l,m],M=e;for(let x of g)if(M&&typeof M==="object"&&x in M)M=M[x];else{M=void 0;break}if(typeof M==="function")return M;if(Nie(M))return M;return s(g)},apply:async(c,m,g)=>{let M="/"+l.map((j)=>j.replace(/[A-Z]/g,(G)=>`-${G.toLowerCase()}`)).join("/"),x=g[0]||{},b=g[1]||{},{query:y,fetchOptions:_,...k}=x,F={...b,..._},I=kPe(M,a,x);return await r(M,{...F,body:I==="GET"?void 0:{...k,...F?.body||{}},query:y||F?.query,method:I,async onSuccess(j){if(await F?.onSuccess?.(j),!f||F.disableSignal)return;let G=f.filter((J)=>J.matcher(M));if(!G.length)return;let X=new Set;for(let J of G){let ee=i[J.signal];if(!ee)return;if(X.has(J.signal))continue;X.add(J.signal);let te=ee.get();setTimeout(()=>{ee.set(!te)},10),J.callback?.(M)}}})}})}return s()}C();function Bie(e,r={}){let a=w(e.get()),{keys:i,deps:f=[e,i]}=r,s=N((c)=>{let m=(g)=>{if(a.current===g)return;a.current=g,c()};if(m(e.value),i?.length)return sU(e,i,m);return e.listen(m)},f),l=()=>a.current;return Vn(s,l,l)}function Yie(e){return e.charAt(0).toUpperCase()+e.slice(1)}function IPe(e){return`use${Yie(e)}`}function Uie(e){let{pluginPathMethods:r,pluginsActions:a,pluginsAtoms:i,$fetch:f,$store:s,atomListeners:l}=jie(e),c={};for(let[m,g]of Object.entries(i))c[IPe(m)]=()=>Bie(g);return Fie({...a,...c,$fetch:f,$store:s},f,r,i,l)}var CPe=Uie({baseURL:window.location.origin}),{signIn:qie,signUp:Vie,useSession:yQo,signOut:Hie,resetPassword:fm}=CPe;var Wie="0.4.4";var hN={};var rfe=["en","zh"];var yU=["cookie","globalVariable","baseLocale"],Gie=[],bU=[{pattern:":protocol://:domain(.*)::port?/:path(.*)?",localized:[["zh",":protocol://:domain(.*)::port?/zh/:path(.*)?"],["en",":protocol://:domain(.*)::port?/:path(.*)?"]]}];var gN=void 0;var Qz=typeof window>"u",d=void 0;var ofe=!0,afe=!1,nfe=!0,RPe=!1,_U=!0,ife=!1;globalThis.__paraglide=globalThis.__paraglide??{};globalThis.__paraglide.ssr=globalThis.__paraglide.ssr??{};var MN,Kie=!1,n=()=>{if(d!==void 0)return d;if(gN){let a=gN?.getStore()?.locale;if(a)return a}let e=yU;if(!Qz&&typeof window<"u"&&window.location?.href)e=dfe(window.location.href);let r=PPe(e,typeof window<"u"?window.location?.href:void 0);if(r){if(!Kie)MN=r,Kie=!0,Ei(r,{reload:!1});return r}throw Error("No locale found. Read the docs https://paraglidejs.com/errors#no-locale-found")};function PPe(e,r){let a;for(let i of e){if(ofe&&i==="cookie")a=OPe();else if(i==="baseLocale")a="en";else if(afe&&i==="url"&&!Qz&&typeof r==="string")a=lfe(r);else if(nfe&&i==="globalVariable"&&MN!==void 0)a=MN;else if(RPe&&i==="preferredLanguage"&&!Qz)a=jPe();else if(ife&&i==="localStorage"&&!Qz)a=localStorage.getItem("PARAGLIDE_LOCALE")??void 0;else if(Zfe(i)&&zN.has(i)){let s=zN.get(i);if(s){let l=s.getLocale();if(l instanceof Promise)continue;if(l!==void 0)return sfe(l)}}let f=x8(a);if(f)return f}return}var TPe=(e)=>{if(e)window.location.href=e;else window.location.reload()},Ei=(e,r)=>{let a={reload:!0,...r};if(d!==void 0&&e!==d&&a.reload===!1)console.warn(`Paraglide: setLocale(${JSON.stringify(e)}, { reload: false }) cannot switch away from the statically built locale ${JSON.stringify(d)}. A document navigation is required; reload has been forced to true.`),a.reload=!0;let i;try{i=n()}catch{}let f=[],s=void 0,l=yU;if(!Qz&&typeof window<"u"&&window.location?.href)l=dfe(window.location.href);for(let m of l)if(nfe&&m==="globalVariable")MN=e;else if(ofe&&m==="cookie"){if(Qz||typeof document>"u"||typeof window>"u")continue;let g=`PARAGLIDE_LOCALE=${e}; path=/; max-age=34560000`;document.cookie=g,xU()}else if(m==="baseLocale")continue;else if(afe&&m==="url"&&typeof window<"u")s=FPe(window.location.href,{locale:e}).href;else if(ife&&m==="localStorage"&&typeof window<"u")localStorage.setItem("PARAGLIDE_LOCALE",e);else if(Zfe(m)&&zN.has(m)){let g=zN.get(m);if(g){let M=g.setLocale(e);if(M instanceof Promise)M=M.catch((x)=>{throw Error(`Custom strategy "${m}" setLocale failed.`,{cause:x})}),f.push(M)}}let c=()=>{if(!Qz&&a.reload&&window.location&&e!==i)TPe(s)};if(f.length)return Promise.all(f).then(()=>{c()});c();return};var ffe=()=>{if(gN)return gN.getStore()?.origin??"http://fallback.com";else if(typeof window<"u")return window.location.origin;return"http://fallback.com"};function x8(e){if(typeof e!=="string")return;let r=e.toLowerCase();for(let a of rfe)if(a.toLowerCase()===r)return a;return}function sfe(e){let r=x8(e);if(r)return r;throw Error(`Invalid locale: ${e}. Expected one of: ${rfe.join(", ")}`)}function _c(e){return e}function u1(e,r){return e.exec(r.href)}var APe="PARAGLIDE_LOCALE".replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),DPe=new RegExp(`(?:^|;\\s*)${APe}=([^;]*)`),wU=Symbol(),IT=wU;function xU(){IT=wU}function EPe(){if(typeof queueMicrotask==="function")queueMicrotask(xU);else Promise.resolve().then(xU)}function OPe(){if(typeof document>"u")return;if(IT!==wU)return IT;let r=document.cookie.match(DPe)?.[1];return IT=x8(r),EPe(),IT}function jPe(){if(!navigator?.languages?.length)return;let e=navigator.languages.map((r)=>({fullTag:r,baseTag:r.split("-")[0]}));for(let r of e){let a=x8(r.fullTag);if(a)return a;let i=x8(r.baseTag);if(i)return i}return}var Xie,Qie;function lfe(e){let r=typeof e==="string"?e:e.href;if(Xie===r)return Qie;let a;if(_U){let i=typeof e==="string"?new URL(e,"http://example.com"):new URL(e);a=NPe(_c(i))}else{let i=_c(typeof e==="string"?new URL(e):new URL(e));for(let f of bU){for(let[s,l]of f.localized)if(u1(new hN(l,i.href),i)){a=s;break}if(a)break}}return Xie=r,Qie=a,a}function NPe(e){let a=new URL(e,"http://example.com").pathname.split("/").filter(Boolean);return x8(a[0])||"en"}function FPe(e,r){let a=r?.locale?sfe(r?.locale):n();if(_U)return BPe(e,a);let i=typeof e==="string"?new URL(e):e,f=i;for(let s of bU){let l=HPe(f,a,s);if(l!==void 0)return l;for(let[,m]of s.localized){let g=u1(bN(m,f),f);if(!g)continue;let M=s.localized.find(([b])=>b===a)?.[1];if(!M)continue;let x=xN(M,yN(g),f.origin);return _c(vN(x,g))}let c=u1(bN(s.pattern,f),f);if(c){let m=s.localized.find(([g])=>g===a)?.[1];if(m){let g=xN(m,yN(c),f.origin);return _c(vN(g,c))}}}return i}function BPe(e,r){let a=_c(typeof e==="string"?new URL(e,ffe()):new URL(e));if(lfe(a)===r)return _c(a);let f=a.pathname.split("/").filter(Boolean);if(f.length>0&&x8(f[0]))f.shift();if(r==="en")a.pathname="/"+f.join("/");else a.pathname="/"+r+"/"+f.join("/");return _c(a)}function YPe(e){if(_U)return UPe(e);let r=typeof e==="string"?new URL(e):e,a=r;for(let i of bU){let f=WPe(a,i);if(f!==void 0)return f;for(let[,l]of i.localized){let c=u1(bN(l,a),a);if(c){let m=yN(c),g=xN(i.pattern,m,a.origin);return _c(vN(g,c))}}let s=u1(bN(i.pattern,a),a);if(s){let l=xN(i.pattern,yN(s),a.origin);return _c(vN(l,s))}}return r}function UPe(e){let r=_c(typeof e==="string"?new URL(e,ffe()):new URL(e)),a=r.pathname.split("/").filter(Boolean);if(a.length>0&&x8(a[0]))r.pathname="/"+a.slice(1).join("/");return _c(r)}function vN(e,r){if(r.protocol.groups["0"])e.protocol=r.protocol.groups["0"]??"";if(r.hostname.groups["0"])e.hostname=r.hostname.groups["0"]??"";if(r.username.groups["0"])e.username=r.username.groups["0"]??"";if(r.password.groups["0"])e.password=r.password.groups["0"]??"";if(r.port.groups["0"])e.port=r.port.groups["0"]??"";if(r.pathname.groups["0"])e.pathname=r.pathname.groups["0"]??"";if(r.search.groups["0"])e.search=r.search.groups["0"]??"";if(r.hash.groups["0"])e.hash=r.hash.groups["0"]??"";return e}function xN(e,r,a){let s=e.replace(/(https?:\/\/[^:/]+):(\d+)(\/|$)/g,(l,c,m,g)=>`${c}#PORT-${m}#${g}`).replace(/\{([^{}]*)\}([?+*]?)/g,(l,c,m)=>{if(m==="?")return c;return c}).replace(/(\/?):([a-zA-Z0-9_]+)(\([^)]*\))?([?+*]?)/g,(l,c,m,g,M)=>{let x=r[m];if(x===null)return"";if(M==="?")return x!==void 0?`${c}${x}`:"";if(M==="+"||M==="*"){if(x===void 0&&M==="+")throw Error(`Missing value for "${m}" (one or more required)`);return x?`${c}${x}`:""}if(x===void 0)throw Error(`Missing value for "${m}"`);return`${c}${x}`});return s=s.replace(/#PORT-(\d+)#/g,":$1"),new URL(s,a)}function yN(e){return{...e.hash.groups,...e.hostname.groups,...e.password.groups,...e.pathname.groups,...e.port.groups,...e.protocol.groups,...e.search.groups,...e.username.groups}}var Xz=new Map,qPe=128,VPe=/^(?:[A-Za-z][A-Za-z\d+.-]*|:[A-Za-z][A-Za-z\d_-]*):\/\//;function bN(e,r){let a=VPe.test(e),i=e.startsWith("/");if(!a&&!i)return new hN(e,r.href);let f=a?e:JSON.stringify([r.origin,e]),s=Xz.get(f);if(s!==void 0)return Xz.delete(f),Xz.set(f,s),s;let l=new hN(e,r.href);if(Xz.size>=qPe){let c=Xz.keys().next().value;if(c!==void 0)Xz.delete(c)}return Xz.set(f,l),l}var mN=new WeakMap;function HPe(e,r,a){let i=cfe(a);if(i===null)return;for(let s of i.localized){let l=_N(s.pattern,e);if(l===void 0)continue;let c=i.localized.find((m)=>m.locale===r)?.pattern;if(c===void 0)continue;return wN(c,l,e)}let f=_N(i.base,e);if(f!==void 0){let s=i.localized.find((l)=>l.locale===r)?.pattern;if(s!==void 0)return wN(s,f,e)}return}function WPe(e,r){let a=cfe(r);if(a===null)return;for(let f of a.localized){let s=_N(f.pattern,e);if(s!==void 0)return wN(a.base,s,e)}let i=_N(a.base,e);if(i!==void 0)return wN(a.base,i,e);return}function cfe(e){let r=mN.get(e);if(r!==void 0)return r;let a=Jie(e.pattern);if(a===void 0)return mN.set(e,null),null;let i=[];for(let[s,l]of e.localized){let c=Jie(l);if(c===void 0||c.pathMode!==a.pathMode)return mN.set(e,null),null;i.push({locale:s,pattern:c})}let f={base:a,localized:i};return mN.set(e,f),f}function Jie(e){let r=e.match(/\/:path(?:\(\.\*\)(?:\?)?|\*)$/);if(r===null||r.index===void 0)return;let a=e.slice(0,r.index),i=GPe(a);if(i===void 0)return;let f=r[0].endsWith("*")?"segments":r[0].endsWith("?")?"catch-all-optional":"catch-all-required";return{...i,pathMode:f}}function GPe(e){if(e===""||e.startsWith("/")){if(MU(e))return;return{protocol:void 0,hostname:void 0,port:void 0,pathnamePrefix:vU(e),pathMode:"catch-all-optional"}}let r=e.match(/^:protocol:\/\/([^/]+)(\/.*)?$/),a=e.match(/^([A-Za-z][A-Za-z\d+.-]*):\/\/([^/]+)(\/.*)?$/);if(r!==null){let c=(r[1]??"").match(/^([^:(){}?*+]+)(?::(\d+))?$/);if(c===null||r[2]!==void 0&&MU(r[2]))return;return{protocol:void 0,hostname:(c[1]??"").toLowerCase(),port:c[2],pathnamePrefix:vU(r[2]??""),pathMode:"catch-all-optional"}}if(a===null)return;let i=a[2]??"",f=a[3],s=i.match(/^([^:(){}?*+]+)(?::(\d+))?$/);if(s===null||f!==void 0&&MU(f))return;return{protocol:`${a[1]}:`,hostname:(s[1]??"").toLowerCase(),port:KPe(s[2],`${a[1]}:`),pathnamePrefix:vU(f??""),pathMode:"catch-all-optional"}}function KPe(e,r){if(e==="80"&&r==="http:")return"";if(e==="443"&&r==="https:")return"";return e}function MU(e){return/[:(){}?*+]/.test(e)}function vU(e){if(e===""||e==="/")return"/";return e.endsWith("/")?e.slice(0,-1):e}function _N(e,r){if(e.protocol!==void 0&&e.protocol!==r.protocol)return;if(e.hostname!==void 0&&e.hostname!==r.hostname.toLowerCase())return;if(e.hostname!==void 0){if((e.port??ufe(e.protocol??r.protocol))!==r.port)return}let a=e.pathnamePrefix;if(a==="/"){if(r.pathname.startsWith("//"))return;if(e.pathMode==="segments")return $ie(r.pathname)?r.pathname:void 0;return r.pathname}if(r.pathname===a)return e.pathMode==="catch-all-required"?void 0:"";if(r.pathname.startsWith(`${a}/`)){let i=r.pathname.slice(a.length);if(i.startsWith("//"))return;if(e.pathMode==="segments"&&!$ie(i))return;return i}return}function $ie(e){return e.length>1&&!e.endsWith("/")&&!e.includes("//")}function ufe(e){if(e==="http:")return"";if(e==="https:")return"";return""}function wN(e,r,a){let i=new URL(a.href);if(e.protocol!==void 0)i.protocol=e.protocol;if(e.hostname!==void 0)i.hostname=e.hostname,i.port=e.port??ufe(i.protocol);return i.pathname=XPe(e.pathnamePrefix,r),i}function XPe(e,r){if(e==="/")return r===""?"/":r;if(r==="")return e;return`${e}${r.startsWith("/")?r:`/${r}`}`}var efe,tfe;function QPe(e){if(Gie.length===0)return;let r=typeof e==="string"?e:e.href;if(efe===r)return tfe;let a=_c(new URL(r,"http://example.com")),i=YPe(a),f=i.href===a.href?[a]:[a,i],s;for(let l of f){for(let c of Gie){let m=new hN(c.match,l.href);if(u1(m,l)){s=c;break}}if(s)break}return efe=r,tfe=s,s}function dfe(e){let r=QPe(e);if(r&&r.exclude!==!0&&Array.isArray(r.strategy))return r.strategy;return yU}var zN=new Map;function Zfe(e){return typeof e==="string"&&/^custom-[A-Za-z0-9_-]+$/.test(e)}var JPe=()=>"Access Denied",$Pe=()=>"访问被拒绝",sA=(e={},r={})=>{if((d??r.locale??n())==="zh")return $Pe(e);return JPe(e)};var eTe=()=>"Action",tTe=()=>"操作",aA=(e={},r={})=>{if((d??r.locale??n())==="zh")return tTe(e);return eTe(e)};var rTe=()=>"Actions",oTe=()=>"操作",iA=(e={},r={})=>{if((d??r.locale??n())==="zh")return oTe(e);return rTe(e)};var aTe=()=>"Active",nTe=()=>"启用",lA=(e={},r={})=>{if((d??r.locale??n())==="zh")return nTe(e);return aTe(e)};var iTe=()=>"active",fTe=()=>"个激活",cA=(e={},r={})=>{if((d??r.locale??n())==="zh")return fTe(e);return iTe(e)};var sTe=()=>"Activity",lTe=()=>"活动",cTe=(e={},r={})=>{if((d??r.locale??n())==="zh")return lTe(e);return sTe(e)};var uTe=()=>"Activity Notifications",dTe=()=>"活动通知",uA=(e={},r={})=>{if((d??r.locale??n())==="zh")return dTe(e);return uTe(e)};var ZTe=()=>"Receive in-app updates for comments, uploads, and automated background analysis tasks inside this project.",pTe=()=>"接收此项目中评论、上传及自动后台分析任务的应用内通知。",dA=(e={},r={})=>{if((d??r.locale??n())==="zh")return pTe(e);return ZTe(e)};var mTe=()=>"Add",hTe=()=>"添加",df=(e={},r={})=>{if((d??r.locale??n())==="zh")return hTe(e);return mTe(e)};var gTe=()=>"Add Assets",MTe=()=>"添加资产",pfe=(e={},r={})=>{if((d??r.locale??n())==="zh")return MTe(e);return gTe(e)};var vTe=()=>"+ Add condition",xTe=()=>"+ 添加条件",fA=(e={},r={})=>{if((d??r.locale??n())==="zh")return xTe(e);return vTe(e)};var yTe=()=>"Add Domain",bTe=()=>"添加域名",pA=(e={},r={})=>{if((d??r.locale??n())==="zh")return bTe(e);return yTe(e)};var _Te=()=>"Add your first AI provider to get started.",wTe=()=>"添加您的第一个 AI 提供商以开始使用。",mA=(e={},r={})=>{if((d??r.locale??n())==="zh")return wTe(e);return _Te(e)};var zTe=()=>"Add Image Block",STe=()=>"添加图片块",pm=(e={},r={})=>{if((d??r.locale??n())==="zh")return STe(e);return zTe(e)};var LTe=()=>"Add MCP Server",kTe=()=>"添加 MCP 服务",ff=(e={},r={})=>{if((d??r.locale??n())==="zh")return kTe(e);return LTe(e)};var ITe=()=>"Add an MCP server to extend your AI agent tools.",CTe=()=>"添加 MCP 服务以扩展 AI Agent 的工具能力。",hA=(e={},r={})=>{if((d??r.locale??n())==="zh")return CTe(e);return ITe(e)};var RTe=()=>"Add Members from Other Projects",PTe=()=>"从其他项目添加成员",gA=(e={},r={})=>{if((d??r.locale??n())==="zh")return PTe(e);return RTe(e)};var TTe=()=>"Project-scoped members who currently do not have access to this project.",ATe=()=>"当前无权访问此项目的项目成员。",AA=(e={},r={})=>{if((d??r.locale??n())==="zh")return ATe(e);return TTe(e)};var DTe=()=>"Add Model",ETe=()=>"添加模型",Ju=(e={},r={})=>{if((d??r.locale??n())==="zh")return ETe(e);return DTe(e)};var OTe=()=>"Add New Provider",jTe=()=>"添加新提供商",yA=(e={},r={})=>{if((d??r.locale??n())==="zh")return jTe(e);return OTe(e)};var NTe=()=>"Add New Skill",FTe=()=>"添加新技能",_A=(e={},r={})=>{if((d??r.locale??n())==="zh")return FTe(e);return NTe(e)};var BTe=()=>"Add option",YTe=()=>"添加选项",Xu=(e={},r={})=>{if((d??r.locale??n())==="zh")return YTe(e);return BTe(e)};var UTe=(e)=>`Add options: ${e?.name}`,qTe=(e)=>`添加选项:${e?.name}`,mm=(e,r={})=>{if((d??r.locale??n())==="zh")return qTe(e);return UTe(e)};var VTe=()=>"Add Provider",HTe=()=>"添加提供商",hm=(e={},r={})=>{if((d??r.locale??n())==="zh")return HTe(e);return VTe(e)};var WTe=()=>"Add Quota",GTe=()=>"添加配额",gm=(e={},r={})=>{if((d??r.locale??n())==="zh")return GTe(e);return WTe(e)};var KTe=()=>"Add Skill",XTe=()=>"添加技能",bA=(e={},r={})=>{if((d??r.locale??n())==="zh")return XTe(e);return KTe(e)};var QTe=()=>"Add a skill via GitHub URL or upload a ZIP file to get started.",JTe=()=>"通过 GitHub URL 添加技能或上传 ZIP 文件以开始使用。",wA=(e={},r={})=>{if((d??r.locale??n())==="zh")return JTe(e);return QTe(e)};var $Te=()=>"Customize Team Member Role",eAe=()=>"自定义团队成员在项目的角色",vA=(e={},r={})=>{if((d??r.locale??n())==="zh")return eAe(e);return $Te(e)};var tAe=()=>"Team members already have access to all projects with their default team role. Set a custom role for this specific project here.",rAe=()=>"团队成员默认使用其团队角色访问所有项目。您可以在此为其设置独立的项目角色。",xA=(e={},r={})=>{if((d??r.locale??n())==="zh")return rAe(e);return tAe(e)};var oAe=()=>"Add Text Block",aAe=()=>"添加文本块",pf=(e={},r={})=>{if((d??r.locale??n())==="zh")return aAe(e);return oAe(e)};var nAe=()=>"Add to Project",iAe=()=>"添加到项目",SA=(e={},r={})=>{if((d??r.locale??n())==="zh")return iAe(e);return nAe(e)};var fAe=()=>"Add to Share Links",sAe=()=>"添加到分享链接",Am=(e={},r={})=>{if((d??r.locale??n())==="zh")return sAe(e);return fAe(e)};var lAe=()=>"Add Variable",cAe=()=>"添加变量",CA=(e={},r={})=>{if((d??r.locale??n())==="zh")return cAe(e);return lAe(e)};var uAe=(e)=>`Added ${e?.name} successfully`,dAe=(e)=>`已成功添加 ${e?.name}`,ym=(e,r={})=>{if((d??r.locale??n())==="zh")return dAe(e);return uAe(e)};var ZAe=()=>"Agent Avatar",pAe=()=>"智能体头像",EA=(e={},r={})=>{if((d??r.locale??n())==="zh")return pAe(e);return ZAe(e)};var mAe=()=>"Agent created successfully",hAe=()=>"智能体创建成功",IA=(e={},r={})=>{if((d??r.locale??n())==="zh")return hAe(e);return mAe(e)};var gAe=()=>"Agent deleted successfully",MAe=()=>"智能体删除成功",TA=(e={},r={})=>{if((d??r.locale??n())==="zh")return MAe(e);return gAe(e)};var vAe=()=>"Step-by-step execution trace of the agent's background tasks and tool calls.",xAe=()=>"智能体后台任务和工具调用的逐步执行跟踪。",MA=(e={},r={})=>{if((d??r.locale??n())==="zh")return xAe(e);return vAe(e)};var yAe=()=>"Agent Name",bAe=()=>"智能体名称",RA=(e={},r={})=>{if((d??r.locale??n())==="zh")return bAe(e);return yAe(e)};var _Ae=()=>"e.g., Support Assistant",wAe=()=>"例如:支持助手",kA=(e={},r={})=>{if((d??r.locale??n())==="zh")return wAe(e);return _Ae(e)};var zAe=()=>"Agent Sandbox",SAe=()=>"智能体沙箱",PA=(e={},r={})=>{if((d??r.locale??n())==="zh")return SAe(e);return zAe(e)};var LAe=()=>"Agent Sandbox Settings",kAe=()=>"智能体沙箱设置",NA=(e={},r={})=>{if((d??r.locale??n())==="zh")return kAe(e);return LAe(e)};var IAe=()=>"Agent Session Logs",CAe=()=>"智能体会话日志",OA=(e={},r={})=>{if((d??r.locale??n())==="zh")return CAe(e);return IAe(e)};var RAe=()=>"Agent Soul (Personality)",PAe=()=>"智能体灵魂(个性)",DA=(e={},r={})=>{if((d??r.locale??n())==="zh")return PAe(e);return RAe(e)};var TAe=()=>"Describe the agent's personality, tone, and behavior...",AAe=()=>"描述智能体的个性、语调和行为...",LA=(e={},r={})=>{if((d??r.locale??n())==="zh")return AAe(e);return TAe(e)};var DAe=()=>"Allows the agent to run terminal/shell commands in a highly isolated environment.",EAe=()=>"允许智能体在高度隔离的环境中运行终端/命令行命令。",ZA=(e={},r={})=>{if((d??r.locale??n())==="zh")return EAe(e);return DAe(e)};var OAe=()=>"Sandboxed Terminal",jAe=()=>"沙箱终端",BA=(e={},r={})=>{if((d??r.locale??n())==="zh")return jAe(e);return OAe(e)};var NAe=()=>"Allows the agent to create files in Shumai, either by uploading a local file or by providing the file name and content directly.",FAe=()=>"允许智能体在 Shumai 中创建文件,既可以通过上传本地文件,也可以直接提供文件名和内容。",UA=(e={},r={})=>{if((d??r.locale??n())==="zh")return FAe(e);return NAe(e)};var BAe=()=>"Create File",YAe=()=>"创建文件",_m=(e={},r={})=>{if((d??r.locale??n())==="zh")return YAe(e);return BAe(e)};var UAe=()=>"Allows the agent to create new folders in Shumai.",qAe=()=>"允许智能体在 Shumai 中创建新文件夹。",FA=(e={},r={})=>{if((d??r.locale??n())==="zh")return qAe(e);return UAe(e)};var VAe=()=>"Create Folder",HAe=()=>"创建文件夹",bm=(e={},r={})=>{if((d??r.locale??n())==="zh")return HAe(e);return VAe(e)};var WAe=()=>"Allows the agent to upload and stack a new version of an existing file in Shumai.",GAe=()=>"允许智能体在 Shumai 中为已有文件上传并叠加新版本。",zA=(e={},r={})=>{if((d??r.locale??n())==="zh")return GAe(e);return WAe(e)};var KAe=()=>"Create Version",XAe=()=>"创建版本",wm=(e={},r={})=>{if((d??r.locale??n())==="zh")return XAe(e);return KAe(e)};var QAe=()=>"Allows the agent to delete a single file or folder in Shumai.",JAe=()=>"允许智能体在 Shumai 中删除单个文件或文件夹。",jA=(e={},r={})=>{if((d??r.locale??n())==="zh")return JAe(e);return QAe(e)};var $Ae=()=>"Delete Asset",e2e=()=>"删除资产",vm=(e={},r={})=>{if((d??r.locale??n())==="zh")return e2e(e);return $Ae(e)};var t2e=()=>"Allows the agent to generate images from prompts and reference images using configured AI image models.",r2e=()=>"允许智能体使用已配置的 AI 图片模型根据提示词和参考图片生成图片。",qA=(e={},r={})=>{if((d??r.locale??n())==="zh")return r2e(e);return t2e(e)};var o2e=()=>"Generate Image",a2e=()=>"生成图片",xm=(e={},r={})=>{if((d??r.locale??n())==="zh")return a2e(e);return o2e(e)};var n2e=()=>"Allows the agent to generate videos from text, images, or frame sequences using configured AI video models.",i2e=()=>"允许智能体使用已配置的 AI 视频模型根据提示词、图片或首尾帧生成视频。",HA=(e={},r={})=>{if((d??r.locale??n())==="zh")return i2e(e);return n2e(e)};var f2e=()=>"Generate Video",s2e=()=>"生成视频",Sm=(e={},r={})=>{if((d??r.locale??n())==="zh")return s2e(e);return f2e(e)};var l2e=()=>"Allows the agent to list folders and browse files in Shumai.",c2e=()=>"允许智能体列出文件夹并浏览 Shumai 中的文件。",$A=(e={},r={})=>{if((d??r.locale??n())==="zh")return c2e(e);return l2e(e)};var u2e=()=>"Browse Shumai",d2e=()=>"浏览 Shumai",Cm=(e={},r={})=>{if((d??r.locale??n())==="zh")return d2e(e);return u2e(e)};var Z2e=()=>"Allows the agent to move one or more assets to another folder in Shumai.",p2e=()=>"允许智能体将一个或多个资产移动到 Shumai 中的其他文件夹。",GA=(e={},r={})=>{if((d??r.locale??n())==="zh")return p2e(e);return Z2e(e)};var m2e=()=>"Move Assets",h2e=()=>"移动资产",Em=(e={},r={})=>{if((d??r.locale??n())==="zh")return h2e(e);return m2e(e)};var g2e=()=>"Allows the agent to view and inspect images, video frames, and document pages.",M2e=()=>"允许智能体查看和分析图片、视频画面和文档页面。",QA=(e={},r={})=>{if((d??r.locale??n())==="zh")return M2e(e);return g2e(e)};var v2e=()=>"Read Asset",x2e=()=>"读取资源",Im=(e={},r={})=>{if((d??r.locale??n())==="zh")return x2e(e);return v2e(e)};var y2e=()=>"Allows the agent to load and read skill definitions to perform specialized actions.",b2e=()=>"允许智能体加载和读取技能定义以执行特定操作。",VA=(e={},r={})=>{if((d??r.locale??n())==="zh")return b2e(e);return y2e(e)};var _2e=()=>"Read Skills",w2e=()=>"读取技能",KA=(e={},r={})=>{if((d??r.locale??n())==="zh")return w2e(e);return _2e(e)};var z2e=()=>"Allows the agent to rename an existing file or folder in Shumai.",S2e=()=>"允许智能体在 Shumai 中重命名现有的文件或文件夹。",WA=(e={},r={})=>{if((d??r.locale??n())==="zh")return S2e(e);return z2e(e)};var L2e=()=>"Rename Asset",k2e=()=>"重命名资产",Tm=(e={},r={})=>{if((d??r.locale??n())==="zh")return k2e(e);return L2e(e)};var I2e=()=>"Tools",C2e=()=>"工具",YA=(e={},r={})=>{if((d??r.locale??n())==="zh")return C2e(e);return I2e(e)};var R2e=()=>"Configure which tools the agent is permitted to use.",P2e=()=>"配置允许智能体使用的工具。",JA=(e={},r={})=>{if((d??r.locale??n())==="zh")return P2e(e);return R2e(e)};var T2e=()=>"Agent Type",A2e=()=>"智能体类型",XA=(e={},r={})=>{if((d??r.locale??n())==="zh")return A2e(e);return T2e(e)};var D2e=()=>"Autofill",E2e=()=>"自动填充",Mm=(e={},r={})=>{if((d??r.locale??n())==="zh")return E2e(e);return D2e(e)};var O2e=()=>"Chat",j2e=()=>"对话",Rm=(e={},r={})=>{if((d??r.locale??n())==="zh")return j2e(e);return O2e(e)};var N2e=()=>"Embedding",F2e=()=>"嵌入",km=(e={},r={})=>{if((d??r.locale??n())==="zh")return F2e(e);return N2e(e)};var B2e=()=>"Agent updated successfully",Y2e=()=>"智能体更新成功",Pm=(e={},r={})=>{if((d??r.locale??n())==="zh")return Y2e(e);return B2e(e)};var U2e=()=>"Agents",q2e=()=>"智能体",ey=(e={},r={})=>{if((d??r.locale??n())==="zh")return q2e(e);return U2e(e)};var V2e=()=>"Manage AI agents and their personalities.",H2e=()=>"管理 AI 智能体及其个性。",ty=(e={},r={})=>{if((d??r.locale??n())==="zh")return H2e(e);return V2e(e)};var W2e=()=>"AGENTS.md",G2e=()=>"AGENTS.md",ry=(e={},r={})=>{if((d??r.locale??n())==="zh")return G2e(e);return W2e(e)};var K2e=()=>"Loading AGENTS.md...",X2e=()=>"正在加载 AGENTS.md...",ny=(e={},r={})=>{if((d??r.locale??n())==="zh")return X2e(e);return K2e(e)};var Q2e=()=>`Give AI agents instructions and context for this project or folder.
|
|
63
|
+
|
|
64
|
+
Shumai automatically loads this file, along with AGENTS.md files from parent folders up to the project level, whenever an agent works here.
|
|
65
|
+
|
|
66
|
+
Use it to define things like:
|
|
67
|
+
- What this project or folder contains
|
|
68
|
+
- Rules the agent should follow
|
|
69
|
+
- Terminology, style, or workflow
|
|
70
|
+
- How metadata and autofill should be generated`,J2e=()=>`为在此项目或文件夹中工作的 AI Agent 提供指引和上下文。
|
|
71
|
+
|
|
72
|
+
当 Agent 在此处工作时,Shumai 会自动加载此文件以及向上追溯至项目根目录各级父文件夹中的 AGENTS.md 文件。
|
|
73
|
+
|
|
74
|
+
您可以用它来定义:
|
|
75
|
+
- 此项目或文件夹包含的内容
|
|
76
|
+
- Agent 应当遵守的规则
|
|
77
|
+
- 术语、风格或工作流规范
|
|
78
|
+
- 元数据和自动填充的生成方式`,oy=(e={},r={})=>{if((d??r.locale??n())==="zh")return J2e(e);return Q2e(e)};var $2e=()=>"Only team owners can edit this file.",eDe=()=>"只有团队所有者可以修改此文件。",Nm=(e={},r={})=>{if((d??r.locale??n())==="zh")return eDe(e);return $2e(e)};var tDe=()=>"Failed to save",rDe=()=>"保存失败",sy=(e={},r={})=>{if((d??r.locale??n())==="zh")return rDe(e);return tDe(e)};var oDe=()=>"AI",aDe=()=>"AI",ay=(e={},r={})=>{if((d??r.locale??n())==="zh")return aDe(e);return oDe(e)};var nDe=()=>"AI Agents",iDe=()=>"AI 智能体",iy=(e={},r={})=>{if((d??r.locale??n())==="zh")return iDe(e);return nDe(e)};var fDe=()=>"AI Providers",sDe=()=>"AI 提供商",ly=(e={},r={})=>{if((d??r.locale??n())==="zh")return sDe(e);return fDe(e)};var lDe=()=>"AI Settings",cDe=()=>"AI 设置",cy=(e={},r={})=>{if((d??r.locale??n())==="zh")return cDe(e);return lDe(e)};var uDe=()=>"AI Token Usage",dDe=()=>"AI Token 用量",uy=(e={},r={})=>{if((d??r.locale??n())==="zh")return dDe(e);return uDe(e)};var ZDe=()=>"Monitor AI token consumption and estimated costs for your team and members.",pDe=()=>"查看并监控团队及成员的 AI Token 消耗与预估费用。",dy=(e={},r={})=>{if((d??r.locale??n())==="zh")return pDe(e);return ZDe(e)};var mDe=()=>"All",hDe=()=>"全部",gDe=(e={},r={})=>{if((d??r.locale??n())==="zh")return hDe(e);return mDe(e)};var MDe=()=>"All Collections",vDe=()=>"所有媒体合集",fy=(e={},r={})=>{if((d??r.locale??n())==="zh")return vDe(e);return MDe(e)};var xDe=(e)=>`All Collections (${e?.count})`,yDe=(e)=>`所有媒体合集 (${e?.count})`,bDe=(e,r={})=>{if((d??r.locale??n())==="zh")return yDe(e);return xDe(e)};var _De=()=>"All comments",wDe=()=>"所有评论",py=(e={},r={})=>{if((d??r.locale??n())==="zh")return wDe(e);return _De(e)};var zDe=()=>"All",SDe=()=>"全部",my=(e={},r={})=>{if((d??r.locale??n())==="zh")return SDe(e);return zDe(e)};var LDe=()=>"All Projects",kDe=()=>"所有项目",IDe=(e={},r={})=>{if((d??r.locale??n())==="zh")return kDe(e);return LDe(e)};var CDe=()=>"All resolutions",RDe=()=>"所有分辨率",hy=(e={},r={})=>{if((d??r.locale??n())==="zh")return RDe(e);return CDe(e)};var PDe=()=>"Generates all supported resolutions up to the source quality.",TDe=()=>"生成不超过源质量的所有支持分辨率。",gy=(e={},r={})=>{if((d??r.locale??n())==="zh")return TDe(e);return PDe(e)};var ADe=()=>"All Share Links",DDe=()=>"所有分享链接",Ay=(e={},r={})=>{if((d??r.locale??n())==="zh")return DDe(e);return ADe(e)};var EDe=(e)=>`All Share Links (${e?.count})`,ODe=(e)=>`所有分享链接 (${e?.count})`,jDe=(e,r={})=>{if((d??r.locale??n())==="zh")return ODe(e);return EDe(e)};var NDe=()=>"All Tasks",FDe=()=>"所有任务",Om=(e={},r={})=>{if((d??r.locale??n())==="zh")return FDe(e);return NDe(e)};var BDe=()=>"Allow download",YDe=()=>"允许下载",yy=(e={},r={})=>{if((d??r.locale??n())==="zh")return YDe(e);return BDe(e)};var UDe=()=>"Visitors can download files from this share link",qDe=()=>"访客可以从该分享链接下载文件",_y=(e={},r={})=>{if((d??r.locale??n())==="zh")return qDe(e);return UDe(e)};var VDe=()=>"Allowed Domains",HDe=()=>"允许的域名",by=(e={},r={})=>{if((d??r.locale??n())==="zh")return HDe(e);return VDe(e)};var WDe=()=>"Already have an account? ",GDe=()=>"已有账户?",mfe=(e={},r={})=>{if((d??r.locale??n())==="zh")return GDe(e);return WDe(e)};var KDe=()=>"An unknown error occurred",XDe=()=>"发生了未知错误",ed=(e={},r={})=>{if((d??r.locale??n())==="zh")return XDe(e);return KDe(e)};var QDe=()=>"API Key",JDe=()=>"API 密钥",td=(e={},r={})=>{if((d??r.locale??n())==="zh")return JDe(e);return QDe(e)};var $De=()=>"You can provide a literal value (e.g. sk-...) or an Environment variable name (e.g. MY_API_KEY).",eEe=()=>"您可以提供一个字面值(例如 sk-...)或环境变量名称(例如 MY_API_KEY)。",Dm=(e={},r={})=>{if((d??r.locale??n())==="zh")return eEe(e);return $De(e)};var tEe=(e)=>`Enter an API key or an environment variable name (e.g. ${e?.envKey}). Leave empty to restore default environment variable.`,rEe=(e)=>`输入 API 密钥或环境变量名(例如 ${e?.envKey})。留空将恢复默认环境变量。`,wy=(e,r={})=>{if((d??r.locale??n())==="zh")return rEe(e);return tEe(e)};var oEe=(e)=>`Leave empty to use default env var (${e?.envKey})`,aEe=(e)=>`留空以使用默认环境变量 (${e?.envKey})`,vy=(e,r={})=>{if((d??r.locale??n())==="zh")return aEe(e);return oEe(e)};var nEe=()=>"Enter API Key or Environment Variable",iEe=()=>"输入 API 密钥或环境变量",Lm=(e={},r={})=>{if((d??r.locale??n())==="zh")return iEe(e);return nEe(e)};var fEe=()=>"API token generated successfully",sEe=()=>"API 令牌生成成功",xy=(e={},r={})=>{if((d??r.locale??n())==="zh")return sEe(e);return fEe(e)};var lEe=()=>"API token revoked successfully",cEe=()=>"API 令牌已成功撤销",Sy=(e={},r={})=>{if((d??r.locale??n())==="zh")return cEe(e);return lEe(e)};var uEe=()=>"API Tokens",dEe=()=>"API 令牌",Zm=(e={},r={})=>{if((d??r.locale??n())==="zh")return dEe(e);return uEe(e)};var ZEe=()=>"Generate and manage API tokens. These tokens allow you or your agents to run terminal commands via shumai-cli.",pEe=()=>"生成和管理 API 令牌。这些令牌允许您或您的智能体通过 shumai-cli 运行终端命令。",Cy=(e={},r={})=>{if((d??r.locale??n())==="zh")return pEe(e);return ZEe(e)};var mEe=()=>"Appearance",hEe=()=>"外观",Ey=(e={},r={})=>{if((d??r.locale??n())==="zh")return hEe(e);return mEe(e)};var gEe=()=>"Apply and Close",MEe=()=>"应用并关闭",Iy=(e={},r={})=>{if((d??r.locale??n())==="zh")return MEe(e);return gEe(e)};var vEe=()=>"Approve",xEe=()=>"批准",Ty=(e={},r={})=>{if((d??r.locale??n())==="zh")return xEe(e);return vEe(e)};var yEe=()=>"Are you absolutely sure?",bEe=()=>"你确定要这样做吗?",rd=(e={},r={})=>{if((d??r.locale??n())==="zh")return bEe(e);return yEe(e)};var _Ee=()=>"Are you absolutely sure?",wEe=()=>"确定要执行此操作吗?",My=(e={},r={})=>{if((d??r.locale??n())==="zh")return wEe(e);return _Ee(e)};var zEe=()=>"Ascending",SEe=()=>"升序",mf=(e={},r={})=>{if((d??r.locale??n())==="zh")return SEe(e);return zEe(e)};var LEe=()=>"Asset linked to task",kEe=()=>"资产已关联到任务",hfe=(e={},r={})=>{if((d??r.locale??n())==="zh")return kEe(e);return LEe(e)};var IEe=()=>"Asset unlinked from task",CEe=()=>"资产已取消关联",gfe=(e={},r={})=>{if((d??r.locale??n())==="zh")return CEe(e);return IEe(e)};var REe=()=>"Assets",PEe=()=>"资源",Ry=(e={},r={})=>{if((d??r.locale??n())==="zh")return PEe(e);return REe(e)};var TEe=()=>"Assets added to context:",AEe=()=>"已添加至上下文的资源:",ky=(e={},r={})=>{if((d??r.locale??n())==="zh")return AEe(e);return TEe(e)};var DEe=()=>"Assets & Statuses",EEe=()=>"素材与状态",Py=(e={},r={})=>{if((d??r.locale??n())==="zh")return EEe(e);return DEe(e)};var OEe=()=>"Manage notifications related to file uploads and metadata field status updates.",jEe=()=>"管理与文件上传和元数据字段状态更新相关的通知。",Ny=(e={},r={})=>{if((d??r.locale??n())==="zh")return jEe(e);return OEe(e)};var NEe=()=>"Assignee",FEe=()=>"负责人",Bm=(e={},r={})=>{if((d??r.locale??n())==="zh")return FEe(e);return NEe(e)};var BEe=()=>"@Mentions",YEe=()=>"@提及",Oy=(e={},r={})=>{if((d??r.locale??n())==="zh")return YEe(e);return BEe(e)};var UEe=()=>"Attach files",qEe=()=>"附加文件",Dy=(e={},r={})=>{if((d??r.locale??n())==="zh")return qEe(e);return UEe(e)};var VEe=()=>"Attachments",HEe=()=>"附件",Ly=(e={},r={})=>{if((d??r.locale??n())==="zh")return HEe(e);return VEe(e)};var WEe=()=>"Audit Logs",GEe=()=>"审计日志",hf=(e={},r={})=>{if((d??r.locale??n())==="zh")return GEe(e);return WEe(e)};var KEe=()=>"View and monitor all audit logs of team actions.",XEe=()=>"查看并监控团队操作的所有审计日志。",Zy=(e={},r={})=>{if((d??r.locale??n())==="zh")return XEe(e);return KEe(e)};var QEe=()=>"Join our community of developers and designers.",JEe=()=>"加入我们的开发者和设计师社区。",$Ee=(e={},r={})=>{if((d??r.locale??n())==="zh")return JEe(e);return QEe(e)};var eOe=()=>"Upload and index your files, enrich them with custom metadata schemas, draw annotations directly on media, and gather instant feedback — all in one modern workspace built for creators.",tOe=()=>"上传您的创意资产,添加各种类型的自定义元数据,直接在图片或视频上绘制标注和添加评论,——这一切都在Shumai,一个为创作者打造的一站式平台上完成。",rOe=(e={},r={})=>{if((d??r.locale??n())==="zh")return tOe(e);return eOe(e)};var oOe=()=>"Custom metadata schemas & drawing canvas reviews",aOe=()=>"自定义元数据模式 & 画布标注审阅",nOe=(e={},r={})=>{if((d??r.locale??n())==="zh")return aOe(e);return oOe(e)};var iOe=()=>"Frictionless team workspaces & secure sharing",fOe=()=>"无缝团队工作区 & 安全分享",sOe=(e={},r={})=>{if((d??r.locale??n())==="zh")return fOe(e);return iOe(e)};var lOe=()=>"Instant asset uploads & high-fidelity media players",cOe=()=>"即时资产上传 & 高保真媒体播放器",uOe=(e={},r={})=>{if((d??r.locale??n())==="zh")return cOe(e);return lOe(e)};var dOe=()=>"One workspace for all your creative assets.",ZOe=()=>"一站式创意资产管理协作平台。",pOe=(e={},r={})=>{if((d??r.locale??n())==="zh")return ZOe(e);return dOe(e)};var mOe=()=>"Autofill Agent",hOe=()=>"自动填充智能体",By=(e={},r={})=>{if((d??r.locale??n())==="zh")return hOe(e);return mOe(e)};var gOe=()=>"Autofill Source",MOe=()=>"自动填充来源",nd=(e={},r={})=>{if((d??r.locale??n())==="zh")return MOe(e);return gOe(e)};var vOe=()=>"Content",xOe=()=>"文件内容",Ic=(e={},r={})=>{if((d??r.locale??n())==="zh")return xOe(e);return vOe(e)};var yOe=()=>"Fields marked as 'Content' are automatically analyzed and extracted from the asset's visual or textual content after upload. Note: A team owner must first create and enable an Autofill Agent in team settings for content extraction to run.",bOe=()=>"设置为“文件内容”的字段将在文件上传后,由 AI 自动分析并从文件的视觉或文本内容中提取填写。注意:需要团队 Owner 先在设置中创建并启用“Autofill Agent”(自动填充 Agent),上传后才会触发内容提取。",Uy=(e={},r={})=>{if((d??r.locale??n())==="zh")return bOe(e);return yOe(e)};var _Oe=()=>"Example: Image subject category, visual color palette, document summary, auto-detected language.",wOe=()=>"示例:图片类别、主色调、文档摘要、自动识别语言。",Fy=(e={},r={})=>{if((d??r.locale??n())==="zh")return wOe(e);return _Oe(e)};var zOe=()=>"Creation Context",SOe=()=>"创建上下文",Tc=(e={},r={})=>{if((d??r.locale??n())==="zh")return SOe(e);return zOe(e)};var LOe=()=>"Fields marked as 'Creation Context' capture details available at creation time (such as generation prompt, model, or provider). If an asset is created by a Shumai AI Agent, the agent will automatically populate these fields upon creation (without needing an Autofill Agent enabled). If uploaded manually by a human user, the user must enter these values manually.",kOe=()=>"设置为“创建上下文”的字段用于记录生成资产时的上下文信息(如 Prompt、模型或供应商)。若文件由 Shumai AI Agent 生成/创建,Agent 会在创建时刻自动填入这些字段(无需启用 Autofill Agent);若由真实用户手动上传,则需用户手动填写,不会自动提取。",zy=(e={},r={})=>{if((d??r.locale??n())==="zh")return kOe(e);return LOe(e)};var IOe=()=>"Example: Generation prompt, AI model name, LLM provider, sampler seed parameters.",COe=()=>"示例:生成 Prompt、AI 模型名称、LLM 供应商、采样种子参数。",jy=(e={},r={})=>{if((d??r.locale??n())==="zh")return COe(e);return IOe(e)};var ROe=()=>"Understand how each autofill source option works and when to use it.",POe=()=>"了解每种自动填充来源的工作方式及适用场景。",qy=(e={},r={})=>{if((d??r.locale??n())==="zh")return POe(e);return ROe(e)};var TOe=()=>"Autofill Source Guide",AOe=()=>"自动填充来源说明",gf=(e={},r={})=>{if((d??r.locale??n())==="zh")return AOe(e);return TOe(e)};var DOe=()=>"None",EOe=()=>"无",Mc=(e={},r={})=>{if((d??r.locale??n())==="zh")return EOe(e);return DOe(e)};var OOe=()=>"Metadata fields marked as 'None' will not be automatically populated by AI. They are meant for manual user entry.",jOe=()=>"设置为“无”的字段不会由 AI 自动填充,需由用户手动填写。",Hy=(e={},r={})=>{if((d??r.locale??n())==="zh")return jOe(e);return OOe(e)};var NOe=()=>"Example: Internal tags, manual notes, status tracking flags.",FOe=()=>"示例:内部标签、手动备注、状态标记。",$y=(e={},r={})=>{if((d??r.locale??n())==="zh")return FOe(e);return NOe(e)};var BOe=()=>"Avatar",YOe=()=>"头像",Gy=(e={},r={})=>{if((d??r.locale??n())==="zh")return YOe(e);return BOe(e)};var UOe=()=>"Avatar removed successfully",qOe=()=>"头像已移除",Qy=(e={},r={})=>{if((d??r.locale??n())==="zh")return qOe(e);return UOe(e)};var VOe=()=>"Avatar Source",HOe=()=>"头像来源",Vy=(e={},r={})=>{if((d??r.locale??n())==="zh")return HOe(e);return VOe(e)};var WOe=()=>"Avatar updated successfully",GOe=()=>"头像更新成功",Ky=(e={},r={})=>{if((d??r.locale??n())==="zh")return GOe(e);return WOe(e)};var KOe=()=>"Back to Chat",XOe=()=>"返回聊天",Wy=(e={},r={})=>{if((d??r.locale??n())==="zh")return XOe(e);return KOe(e)};var QOe=()=>"Base URL (Optional)",JOe=()=>"基础 URL(可选)",Um=(e={},r={})=>{if((d??r.locale??n())==="zh")return JOe(e);return QOe(e)};var $Oe=()=>"Bash Match Wildcard",eje=()=>"Bash 命令通配符",Yy=(e={},r={})=>{if((d??r.locale??n())==="zh")return eje(e);return $Oe(e)};var tje=()=>"e.g. * or npm*",rje=()=>"例如 * 或 npm*",Jy=(e={},r={})=>{if((d??r.locale??n())==="zh")return rje(e);return tje(e)};var oje=()=>"Best match",aje=()=>"最佳匹配",Xy=(e={},r={})=>{if((d??r.locale??n())==="zh")return aje(e);return oje(e)};var nje=()=>"Generates a single optimal resolution matching the source quality.",ije=()=>"生成与源质量匹配的单一最优分辨率。",e0=(e={},r={})=>{if((d??r.locale??n())==="zh")return ije(e);return nje(e)};var fje=()=>"Cache Read Cost (1M)",sje=()=>"缓存读取成本(每百万)",t0=(e={},r={})=>{if((d??r.locale??n())==="zh")return sje(e);return fje(e)};var lje=()=>"Cache Read Tokens",cje=()=>"缓存读取 Token",Fm=(e={},r={})=>{if((d??r.locale??n())==="zh")return cje(e);return lje(e)};var uje=()=>"Cache Write Cost (1M)",dje=()=>"缓存写入成本(每百万)",r0=(e={},r={})=>{if((d??r.locale??n())==="zh")return dje(e);return uje(e)};var Zje=()=>"Calling Tool:",pje=()=>"调用工具:",Af=(e={},r={})=>{if((d??r.locale??n())==="zh")return pje(e);return Zje(e)};var mje=()=>"Cancel",hje=()=>"取消",ke=(e={},r={})=>{if((d??r.locale??n())==="zh")return hje(e);return mje(e)};var gje=()=>"Only team owners, task reporters, or assignees can change task status",Mje=()=>"只有负责人、报告人或被指派人可以更改任务状态",n0=(e={},r={})=>{if((d??r.locale??n())==="zh")return Mje(e);return gje(e)};var vje=()=>"Change",xje=()=>"更改",o0=(e={},r={})=>{if((d??r.locale??n())==="zh")return xje(e);return vje(e)};var yje=()=>"Change time format",bje=()=>"更改时间格式",s0=(e={},r={})=>{if((d??r.locale??n())==="zh")return bje(e);return yje(e)};var _je=()=>"Chat Agents",wje=()=>"对话智能体",a0=(e={},r={})=>{if((d??r.locale??n())==="zh")return wje(e);return _je(e)};var zje=()=>"Drag and drop files or folders here to add them to chatbot context",Sje=()=>"拖拽文件或文件夹到此处以添加到聊天机器人上下文",zm=(e={},r={})=>{if((d??r.locale??n())==="zh")return Sje(e);return zje(e)};var Lje=()=>"简体中文 (Chinese)",kje=()=>"简体中文 (Chinese)",i0=(e={},r={})=>{if((d??r.locale??n())==="zh")return kje(e);return Lje(e)};var Ije=()=>"Clear Custom Key",Cje=()=>"清除自定义密钥",l0=(e={},r={})=>{if((d??r.locale??n())==="zh")return Cje(e);return Ije(e)};var Rje=()=>"Clear",Pje=()=>"清除",c0=(e={},r={})=>{if((d??r.locale??n())==="zh")return Pje(e);return Rje(e)};var Tje=()=>"Clear search",Aje=()=>"清除搜索",u0=(e={},r={})=>{if((d??r.locale??n())==="zh")return Aje(e);return Tje(e)};var Dje=()=>"Click to copy link",Eje=()=>"点击复制链接",d0=(e={},r={})=>{if((d??r.locale??n())==="zh")return Eje(e);return Dje(e)};var Oje=()=>"Close",jje=()=>"关闭",Rc=(e={},r={})=>{if((d??r.locale??n())==="zh")return jje(e);return Oje(e)};var Nje=()=>"collection",Fje=()=>"媒体合集",Bje=(e={},r={})=>{if((d??r.locale??n())==="zh")return Fje(e);return Nje(e)};var Yje=()=>"Collection created",Uje=()=>"媒体合集已创建",qje=(e={},r={})=>{if((d??r.locale??n())==="zh")return Uje(e);return Yje(e)};var Vje=()=>"Collection deleted",Hje=()=>"媒体合集已删除",Wje=(e={},r={})=>{if((d??r.locale??n())==="zh")return Hje(e);return Vje(e)};var Gje=()=>"Collection Name",Kje=()=>"媒体合集名称",f0=(e={},r={})=>{if((d??r.locale??n())==="zh")return Kje(e);return Gje(e)};var Xje=()=>"Collection renamed",Qje=()=>"媒体合集已重命名",Jje=(e={},r={})=>{if((d??r.locale??n())==="zh")return Qje(e);return Xje(e)};var $je=()=>"Collection saved",eNe=()=>"媒体合集已保存",p0=(e={},r={})=>{if((d??r.locale??n())==="zh")return eNe(e);return $je(e)};var tNe=()=>"Collections",rNe=()=>"媒体合集",oNe=(e={},r={})=>{if((d??r.locale??n())==="zh")return rNe(e);return tNe(e)};var aNe=()=>"Color",nNe=()=>"颜色",m0=(e={},r={})=>{if((d??r.locale??n())==="zh")return nNe(e);return aNe(e)};var iNe=()=>"Write a comment...",fNe=()=>"写下评论...",sNe=(e={},r={})=>{if((d??r.locale??n())==="zh")return fNe(e);return iNe(e)};var lNe=()=>"Comment Replies",cNe=()=>"评论回复",h0=(e={},r={})=>{if((d??r.locale??n())==="zh")return cNe(e);return lNe(e)};var uNe=()=>"Comments",dNe=()=>"评论",od=(e={},r={})=>{if((d??r.locale??n())==="zh")return dNe(e);return uNe(e)};var ZNe=()=>"Comments & Replies",pNe=()=>"评论与回复",g0=(e={},r={})=>{if((d??r.locale??n())==="zh")return pNe(e);return ZNe(e)};var mNe=()=>"Control notification preferences when other users comment on assets you collaborate on or mention you.",hNe=()=>"控制其他用户对您协作的素材评论或提及您时的通知偏好。",A0=(e={},r={})=>{if((d??r.locale??n())==="zh")return hNe(e);return mNe(e)};var gNe=()=>"Compare Versions",MNe=()=>"对比版本",vNe=(e={},r={})=>{if((d??r.locale??n())==="zh")return MNe(e);return gNe(e)};var xNe=()=>"Configure your AI agent's personality and capabilities.",yNe=()=>"配置 AI 智能体的个性和功能。",y0=(e={},r={})=>{if((d??r.locale??n())==="zh")return yNe(e);return xNe(e)};var bNe=()=>"Configure your new project workspace and appearance.",_Ne=()=>"配置您的新项目工作区和外观。",_0=(e={},r={})=>{if((d??r.locale??n())==="zh")return _Ne(e);return bNe(e)};var wNe=()=>"Configure authentication and model details for your AI provider.",zNe=()=>"配置 AI 提供商的身份验证和模型详情。",jm=(e={},r={})=>{if((d??r.locale??n())==="zh")return zNe(e);return wNe(e)};var SNe=(e)=>`Configure Skill: ${e?.name}`,LNe=(e)=>`配置技能:${e?.name}`,b0=(e,r={})=>{if((d??r.locale??n())==="zh")return LNe(e);return SNe(e)};var kNe=()=>"Configured AI Providers",INe=()=>"已配置的 AI 提供商",w0=(e={},r={})=>{if((d??r.locale??n())==="zh")return INe(e);return kNe(e)};var CNe=()=>"Confirm",RNe=()=>"确认",Wa=(e={},r={})=>{if((d??r.locale??n())==="zh")return RNe(e);return CNe(e)};var PNe=()=>"Are you sure you want to delete this field?",TNe=()=>"确定要删除此字段吗?",v0=(e={},r={})=>{if((d??r.locale??n())==="zh")return TNe(e);return PNe(e)};var ANe=()=>"Confirm Download",DNe=()=>"确认下载",qm=(e={},r={})=>{if((d??r.locale??n())==="zh")return DNe(e);return ANe(e)};var ENe=()=>"Confirm Password",ONe=()=>"确认密码",x0=(e={},r={})=>{if((d??r.locale??n())==="zh")return ONe(e);return ENe(e)};var jNe=()=>"Confirm new password",NNe=()=>"确认新密码",S0=(e={},r={})=>{if((d??r.locale??n())==="zh")return NNe(e);return jNe(e)};var FNe=()=>"Contains drawing annotations",BNe=()=>"包含标注绘图",C0=(e={},r={})=>{if((d??r.locale??n())==="zh")return BNe(e);return FNe(e)};var YNe=()=>"Context Window (tokens)",UNe=()=>"上下文窗口(令牌数)",E0=(e={},r={})=>{if((d??r.locale??n())==="zh")return UNe(e);return YNe(e)};var qNe=()=>"Copied!",VNe=()=>"已复制!",I0=(e={},r={})=>{if((d??r.locale??n())==="zh")return VNe(e);return qNe(e)};var HNe=()=>"Copied API token to clipboard",WNe=()=>"已将 API 令牌复制到剪贴板",T0=(e={},r={})=>{if((d??r.locale??n())==="zh")return WNe(e);return HNe(e)};var GNe=()=>"Copied name and download link to clipboard",KNe=()=>"已复制名称和下载链接到剪贴板",M0=(e={},r={})=>{if((d??r.locale??n())==="zh")return KNe(e);return GNe(e)};var XNe=()=>"Copied to clipboard",QNe=()=>"已复制到剪贴板",R0=(e={},r={})=>{if((d??r.locale??n())==="zh")return QNe(e);return XNe(e)};var JNe=()=>"Copy",$Ne=()=>"复制",k0=(e={},r={})=>{if((d??r.locale??n())==="zh")return $Ne(e);return JNe(e)};var e5e=()=>"Copy optimized image to clipboard",t5e=()=>"复制优化图片到剪贴板",P0=(e={},r={})=>{if((d??r.locale??n())==="zh")return t5e(e);return e5e(e)};var r5e=()=>"Copy Link",o5e=()=>"复制链接",N0=(e={},r={})=>{if((d??r.locale??n())==="zh")return o5e(e);return r5e(e)};var a5e=()=>"Copy name and download link",n5e=()=>"复制名称和下载链接",yf=(e={},r={})=>{if((d??r.locale??n())==="zh")return n5e(e);return a5e(e)};var i5e=()=>"Copy to",f5e=()=>"复制到",Hm=(e={},r={})=>{if((d??r.locale??n())==="zh")return f5e(e);return i5e(e)};var s5e=()=>"Cost",l5e=()=>"费用",$m=(e={},r={})=>{if((d??r.locale??n())==="zh")return l5e(e);return s5e(e)};var c5e=(e)=>`$${e?.input}/1M in · $${e?.output}/1M out`,u5e=(e)=>`$${e?.input}/1M 输入 · $${e?.output}/1M 输出`,Gm=(e,r={})=>{if((d??r.locale??n())==="zh")return u5e(e);return c5e(e)};var d5e=()=>"10000+ Assets",Z5e=()=>"10000+ 资源",O0=(e={},r={})=>{if((d??r.locale??n())==="zh")return Z5e(e);return d5e(e)};var p5e=()=>"10000+ Folders",m5e=()=>"10000+ 文件夹",D0=(e={},r={})=>{if((d??r.locale??n())==="zh")return m5e(e);return p5e(e)};var h5e=()=>"Cover Preview",g5e=()=>"封面预览",L0=(e={},r={})=>{if((d??r.locale??n())==="zh")return g5e(e);return h5e(e)};var M5e=()=>"Create",v5e=()=>"创建",kc=(e={},r={})=>{if((d??r.locale??n())==="zh")return v5e(e);return M5e(e)};var x5e=()=>"Create Account",y5e=()=>"创建账户",b5e=(e={},r={})=>{if((d??r.locale??n())==="zh")return y5e(e);return x5e(e)};var _5e=()=>"Create Agent",w5e=()=>"创建智能体",Z0=(e={},r={})=>{if((d??r.locale??n())==="zh")return w5e(e);return _5e(e)};var z5e=()=>"Create your first goal to organize related tasks.",S5e=()=>"创建第一个目标来组织相关任务。",B0=(e={},r={})=>{if((d??r.locale??n())==="zh")return S5e(e);return z5e(e)};var L5e=()=>"Create Goal",k5e=()=>"创建目标",U0=(e={},r={})=>{if((d??r.locale??n())==="zh")return k5e(e);return L5e(e)};var I5e=()=>"Create New Project",C5e=()=>"创建新项目",F0=(e={},r={})=>{if((d??r.locale??n())==="zh")return C5e(e);return I5e(e)};var R5e=()=>"Create New Template",P5e=()=>"创建新模板",Qm=(e={},r={})=>{if((d??r.locale??n())==="zh")return P5e(e);return R5e(e)};var T5e=()=>"Create new version",A5e=()=>"创建新版本",z0=(e={},r={})=>{if((d??r.locale??n())==="zh")return A5e(e);return T5e(e)};var D5e=()=>"Create one now",E5e=()=>"立即创建",j0=(e={},r={})=>{if((d??r.locale??n())==="zh")return E5e(e);return D5e(e)};var O5e=()=>"Create Project",j5e=()=>"创建项目",_f=(e={},r={})=>{if((d??r.locale??n())==="zh")return j5e(e);return O5e(e)};var N5e=()=>"Create Quota Rule",F5e=()=>"创建配额规则",q0=(e={},r={})=>{if((d??r.locale??n())==="zh")return F5e(e);return N5e(e)};var B5e=()=>"Set up a new resource quota to prevent unexpected usage.",Y5e=()=>"设置新的资源配额以防止意外的超量使用。",H0=(e={},r={})=>{if((d??r.locale??n())==="zh")return Y5e(e);return B5e(e)};var U5e=()=>"Create Share Link",q5e=()=>"创建分享链接",Vm=(e={},r={})=>{if((d??r.locale??n())==="zh")return q5e(e);return U5e(e)};var V5e=()=>"Create Task",H5e=()=>"创建任务",bf=(e={},r={})=>{if((d??r.locale??n())==="zh")return H5e(e);return V5e(e)};var W5e=()=>"Create Time",G5e=()=>"创建时间",$0=(e={},r={})=>{if((d??r.locale??n())==="zh")return G5e(e);return W5e(e)};var K5e=(e)=>`Create ${e?.type} Agent`,X5e=(e)=>`创建${e?.type}智能体`,G0=(e,r={})=>{if((d??r.locale??n())==="zh")return X5e(e);return K5e(e)};var Q5e=()=>"Created At",J5e=()=>"创建时间",Q0=(e={},r={})=>{if((d??r.locale??n())==="zh")return J5e(e);return Q5e(e)};var $5e=()=>"Created by Agent",e4e=()=>"由智能体创建",V0=(e={},r={})=>{if((d??r.locale??n())==="zh")return e4e(e);return $5e(e)};var t4e=(e)=>`${e?.time} by ${e?.author}`,r4e=(e)=>`${e?.time} 由 ${e?.author} 创建`,K0=(e,r={})=>{if((d??r.locale??n())==="zh")return r4e(e);return t4e(e)};var o4e=()=>"Created Date",a4e=()=>"创建日期",wf=(e={},r={})=>{if((d??r.locale??n())==="zh")return a4e(e);return o4e(e)};var n4e=()=>"Creating account...",i4e=()=>"创建账户中...",f4e=(e={},r={})=>{if((d??r.locale??n())==="zh")return i4e(e);return n4e(e)};var s4e=()=>"Creator",l4e=()=>"创建者",Pc=(e={},r={})=>{if((d??r.locale??n())==="zh")return l4e(e);return s4e(e)};var c4e=()=>"Current Custom Avatar",u4e=()=>"当前自定义头像",W0=(e={},r={})=>{if((d??r.locale??n())==="zh")return u4e(e);return c4e(e)};var d4e=()=>"Current Project",Z4e=()=>"当前项目",p4e=(e={},r={})=>{if((d??r.locale??n())==="zh")return Z4e(e);return d4e(e)};var m4e=()=>"Custom Fields",h4e=()=>"自定义字段",Y0=(e={},r={})=>{if((d??r.locale??n())==="zh")return h4e(e);return m4e(e)};var g4e=()=>"Custom Model...",M4e=()=>"自定义模型...",J0=(e={},r={})=>{if((d??r.locale??n())==="zh")return M4e(e);return g4e(e)};var v4e=()=>"Dark",x4e=()=>"深色",y4e=(e={},r={})=>{if((d??r.locale??n())==="zh")return x4e(e);return v4e(e)};var b4e=()=>"Dashboard",_4e=()=>"仪表板",Km=(e={},r={})=>{if((d??r.locale??n())==="zh")return _4e(e);return b4e(e)};var w4e=()=>"MMMM d, yyyy",z4e=()=>"yyyy年M月d日",S4e=(e={},r={})=>{if((d??r.locale??n())==="zh")return z4e(e);return w4e(e)};var L4e=()=>"One month ago",k4e=()=>"一个月前",X0=(e={},r={})=>{if((d??r.locale??n())==="zh")return k4e(e);return L4e(e)};var I4e=()=>"One month from now",C4e=()=>"一个月后",e_=(e={},r={})=>{if((d??r.locale??n())==="zh")return C4e(e);return I4e(e)};var R4e=()=>"One week ago",P4e=()=>"一周前",t_=(e={},r={})=>{if((d??r.locale??n())==="zh")return P4e(e);return R4e(e)};var T4e=()=>"One week from now",A4e=()=>"一周后",r_=(e={},r={})=>{if((d??r.locale??n())==="zh")return A4e(e);return T4e(e)};var D4e=()=>"Today",E4e=()=>"今天",n_=(e={},r={})=>{if((d??r.locale??n())==="zh")return E4e(e);return D4e(e)};var O4e=()=>"Tomorrow",j4e=()=>"明天",o_=(e={},r={})=>{if((d??r.locale??n())==="zh")return j4e(e);return O4e(e)};var N4e=()=>"Date type",F4e=()=>"日期类型",s_=(e={},r={})=>{if((d??r.locale??n())==="zh")return F4e(e);return N4e(e)};var B4e=()=>"Yesterday",Y4e=()=>"昨天",a_=(e={},r={})=>{if((d??r.locale??n())==="zh")return Y4e(e);return B4e(e)};var U4e=(e)=>`Default: ${e?.envKey}`,q4e=(e)=>`默认:${e?.envKey}`,i_=(e,r={})=>{if((d??r.locale??n())==="zh")return q4e(e);return U4e(e)};var V4e=()=>"Default Value",H4e=()=>"默认值",l_=(e={},r={})=>{if((d??r.locale??n())==="zh")return H4e(e);return V4e(e)};var W4e=()=>"Delete",G4e=()=>"删除",at=(e={},r={})=>{if((d??r.locale??n())==="zh")return G4e(e);return W4e(e)};var K4e=()=>"Delete Agent",X4e=()=>"删除智能体",c_=(e={},r={})=>{if((d??r.locale??n())==="zh")return X4e(e);return K4e(e)};var Q4e=(e)=>`This action cannot be undone. This will permanently delete the agent "${e?.name}" and remove all its data from our servers.`,J4e=(e)=>`此操作无法撤销。这将永久删除智能体 "${e?.name}" 并从服务器上删除其所有数据。`,u_=(e,r={})=>{if((d??r.locale??n())==="zh")return J4e(e);return Q4e(e)};var $4e=()=>"Deleted items can be recovered for 30 days before being permanently deleted.",eFe=()=>"已删除的项目可在 30 天内恢复,之后将被永久删除。",Nc=(e={},r={})=>{if((d??r.locale??n())==="zh")return eFe(e);return $4e(e)};var tFe=()=>"Delete Asset?",rFe=()=>"删除资源?",Oc=(e={},r={})=>{if((d??r.locale??n())==="zh")return rFe(e);return tFe(e)};var oFe=()=>"Delete Collection?",aFe=()=>"删除媒体合集?",nFe=(e={},r={})=>{if((d??r.locale??n())==="zh")return aFe(e);return oFe(e)};var iFe=()=>"Delete Comment?",fFe=()=>"删除评论?",Wm=(e={},r={})=>{if((d??r.locale??n())==="zh")return fFe(e);return iFe(e)};var sFe=()=>"Are you sure you want to delete this comment? This action cannot be undone.",lFe=()=>"您确定要删除这条评论吗?此操作将无法撤回。",Ym=(e={},r={})=>{if((d??r.locale??n())==="zh")return lFe(e);return sFe(e)};var cFe=(e)=>`Are you sure you want to delete this ${e?.type}? This action cannot be undone.`,uFe=(e)=>`确定要删除此${e?.type}吗?此操作无法撤销。`,dFe=(e,r={})=>{if((d??r.locale??n())==="zh")return uFe(e);return cFe(e)};var ZFe=()=>"Delete field",pFe=()=>"删除字段",d_=(e={},r={})=>{if((d??r.locale??n())==="zh")return pFe(e);return ZFe(e)};var mFe=()=>"Delete Folder?",hFe=()=>"删除文件夹?",gFe=(e={},r={})=>{if((d??r.locale??n())==="zh")return hFe(e);return mFe(e)};var MFe=()=>"Delete Goal",vFe=()=>"删除目标",f_=(e={},r={})=>{if((d??r.locale??n())==="zh")return vFe(e);return MFe(e)};var xFe=(e)=>`Are you sure you want to delete goal "${e?.title}"? Associated tasks will remain but will no longer be linked to this goal.`,yFe=(e)=>`确定要删除目标"${e?.title}"吗?关联的任务仍将保留,但不再关联此目标。`,p_=(e,r={})=>{if((d??r.locale??n())==="zh")return yFe(e);return xFe(e)};var bFe=()=>"Delete MCP Server",_Fe=()=>"删除 MCP 服务",m_=(e={},r={})=>{if((d??r.locale??n())==="zh")return _Fe(e);return bFe(e)};var wFe=(e)=>`This action cannot be undone. This will permanently delete the MCP server "${e?.name}".`,zFe=(e)=>`此操作无法撤销。这将永久删除 MCP 服务 "${e?.name}"。`,h_=(e,r={})=>{if((d??r.locale??n())==="zh")return zFe(e);return wFe(e)};var SFe=(e)=>`This action cannot be undone. This will permanently delete the model "${e?.name}".`,LFe=(e)=>`此操作无法撤销。这将永久删除模型 "${e?.name}"。`,g_=(e,r={})=>{if((d??r.locale??n())==="zh")return LFe(e);return SFe(e)};var kFe=()=>"delete",IFe=()=>"delete",A_=(e={},r={})=>{if((d??r.locale??n())==="zh")return IFe(e);return kFe(e)};var CFe=(e)=>`This action cannot be undone. This will permanently delete the project "${e?.name}" and all its assets.`,RFe=(e)=>`此操作无法撤销。这将永久删除项目 "${e?.name}" 及其所有资产。`,y_=(e,r={})=>{if((d??r.locale??n())==="zh")return RFe(e);return CFe(e)};var PFe=(e)=>`This action cannot be undone. This will permanently delete the provider "${e?.name}" and all associated model configurations.`,TFe=(e)=>`此操作无法撤销。这将永久删除提供商 "${e?.name}" 及所有关联的模型配置。`,__=(e,r={})=>{if((d??r.locale??n())==="zh")return TFe(e);return PFe(e)};var AFe=()=>"Delete Quota",DFe=()=>"删除配额",vf=(e={},r={})=>{if((d??r.locale??n())==="zh")return DFe(e);return AFe(e)};var EFe=()=>"Are you sure you want to delete this quota rule? This action cannot be undone.",OFe=()=>"确定要删除此配额规则吗?此操作无法撤销。",Jm=(e={},r={})=>{if((d??r.locale??n())==="zh")return OFe(e);return EFe(e)};var jFe=()=>"Delete Session",NFe=()=>"删除会话",b_=(e={},r={})=>{if((d??r.locale??n())==="zh")return NFe(e);return jFe(e)};var FFe=()=>"Are you sure you want to delete this chat session?",BFe=()=>"您确定要删除此会话记录吗?",w_=(e={},r={})=>{if((d??r.locale??n())==="zh")return BFe(e);return FFe(e)};var YFe=()=>"Delete Share Link?",UFe=()=>"删除分享链接?",qFe=(e={},r={})=>{if((d??r.locale??n())==="zh")return UFe(e);return YFe(e)};var VFe=(e)=>`This action cannot be undone. This will permanently delete the skill "${e?.name}" and all its configurations.`,HFe=(e)=>`此操作无法撤销。这将永久删除技能 "${e?.name}" 及其所有配置。`,v_=(e,r={})=>{if((d??r.locale??n())==="zh")return HFe(e);return VFe(e)};var WFe=()=>"Delete Task",GFe=()=>"删除任务",x_=(e={},r={})=>{if((d??r.locale??n())==="zh")return GFe(e);return WFe(e)};var KFe=(e)=>`Are you sure you want to delete task "${e?.title}"? This action cannot be undone.`,XFe=(e)=>`确定要删除任务"${e?.title}"吗?此操作无法撤销。`,S_=(e,r={})=>{if((d??r.locale??n())==="zh")return XFe(e);return KFe(e)};var QFe=()=>"Deleted",JFe=()=>"已删除",C_=(e={},r={})=>{if((d??r.locale??n())==="zh")return JFe(e);return QFe(e)};var $Fe=()=>"Deleting...",e3e=()=>"删除中...",E_=(e={},r={})=>{if((d??r.locale??n())==="zh")return e3e(e);return $Fe(e)};var t3e=()=>"Demo Access:",r3e=()=>"演示访问:",o3e=(e={},r={})=>{if((d??r.locale??n())==="zh")return r3e(e);return t3e(e)};var a3e=()=>'Use "foo@bar.com" as the email and "foo" as the password to login (this demo account is read-only).',n3e=()=>'使用 "foo@bar.com" 作为邮箱,"foo" 作为密码登录(该演示账户为只读)。',i3e=(e={},r={})=>{if((d??r.locale??n())==="zh")return n3e(e);return a3e(e)};var f3e=()=>"Descending",s3e=()=>"降序",xf=(e={},r={})=>{if((d??r.locale??n())==="zh")return s3e(e);return f3e(e)};var l3e=()=>"Description",c3e=()=>"描述",fl=(e={},r={})=>{if((d??r.locale??n())==="zh")return c3e(e);return l3e(e)};var u3e=()=>"Optional, used for AI autofill",d3e=()=>"可选,用于 AI 自动填充",sd=(e={},r={})=>{if((d??r.locale??n())==="zh")return d3e(e);return u3e(e)};var Z3e=()=>"Generate and manage API keys for developers and automated workflows.",p3e=()=>"为开发者和自动化工作流生成和管理 API 密钥。",I_=(e={},r={})=>{if((d??r.locale??n())==="zh")return p3e(e);return Z3e(e)};var m3e=()=>"Developer Settings",h3e=()=>"开发者设置",T_=(e={},r={})=>{if((d??r.locale??n())==="zh")return h3e(e);return m3e(e)};var g3e=()=>"Disable Timestamp",M3e=()=>"禁用时间戳",M_=(e={},r={})=>{if((d??r.locale??n())==="zh")return M3e(e);return g3e(e)};var v3e=()=>"Disabled",x3e=()=>"已禁用",Sf=(e={},r={})=>{if((d??r.locale??n())==="zh")return x3e(e);return v3e(e)};var y3e=()=>"Display Name (Optional)",b3e=()=>"显示名称(可选)",R_=(e={},r={})=>{if((d??r.locale??n())==="zh")return b3e(e);return y3e(e)};var _3e=()=>"Domain already exists",w3e=()=>"域名已存在",k_=(e={},r={})=>{if((d??r.locale??n())==="zh")return w3e(e);return _3e(e)};var z3e=()=>"Done",S3e=()=>"完成",L3e=(e={},r={})=>{if((d??r.locale??n())==="zh")return S3e(e);return z3e(e)};var k3e=()=>"Download",I3e=()=>"下载",gr=(e={},r={})=>{if((d??r.locale??n())==="zh")return I3e(e);return k3e(e)};var C3e=(e)=>`This download will include ${e?.count} file(s).`,R3e=(e)=>`此下载将包含 ${e?.count} 个文件。`,Xm=(e,r={})=>{if((d??r.locale??n())==="zh")return R3e(e);return C3e(e)};var P3e=()=>"Download original file",T3e=()=>"下载原始文件",P_=(e={},r={})=>{if((d??r.locale??n())==="zh")return T3e(e);return P3e(e)};var A3e=()=>"Download original image",D3e=()=>"下载原始图片",N_=(e={},r={})=>{if((d??r.locale??n())==="zh")return D3e(e);return A3e(e)};var E3e=()=>"Due Date",O3e=()=>"截止日期",ad=(e={},r={})=>{if((d??r.locale??n())==="zh")return O3e(e);return E3e(e)};var j3e=()=>"Edit",N3e=()=>"编辑",O_=(e={},r={})=>{if((d??r.locale??n())==="zh")return N3e(e);return j3e(e)};var F3e=()=>"Edit Goal",B3e=()=>"编辑目标",eh=(e={},r={})=>{if((d??r.locale??n())==="zh")return B3e(e);return F3e(e)};var Y3e=(e)=>`Edit ${e?.name}`,U3e=(e)=>`编辑 ${e?.name}`,th=(e,r={})=>{if((d??r.locale??n())==="zh")return U3e(e);return Y3e(e)};var q3e=()=>"Edit MCP Server",V3e=()=>"编辑 MCP 服务",D_=(e={},r={})=>{if((d??r.locale??n())==="zh")return V3e(e);return q3e(e)};var H3e=()=>"Edit Model",W3e=()=>"编辑模型",rh=(e={},r={})=>{if((d??r.locale??n())==="zh")return W3e(e);return H3e(e)};var G3e=()=>"Edit Quota Rule",K3e=()=>"编辑配额规则",L_=(e={},r={})=>{if((d??r.locale??n())==="zh")return K3e(e);return G3e(e)};var X3e=()=>"Configure resource limits, target scopes, and evaluation periods.",Q3e=()=>"配置资源上限、目标范围以及评估周期。",Z_=(e={},r={})=>{if((d??r.locale??n())==="zh")return Q3e(e);return X3e(e)};var J3e=()=>"Edit Task",$3e=()=>"编辑任务",eBe=(e={},r={})=>{if((d??r.locale??n())==="zh")return $3e(e);return J3e(e)};var tBe=()=>"Edit Watermark",rBe=()=>"编辑水印",B_=(e={},r={})=>{if((d??r.locale??n())==="zh")return rBe(e);return tBe(e)};var oBe=()=>"Editor",aBe=()=>"创作者",Ps=(e={},r={})=>{if((d??r.locale??n())==="zh")return aBe(e);return oBe(e)};var nBe=()=>"Email",iBe=()=>"邮箱",Cf=(e={},r={})=>{if((d??r.locale??n())==="zh")return iBe(e);return nBe(e)};var fBe=()=>"Email Address",sBe=()=>"邮箱地址",Mfe=(e={},r={})=>{if((d??r.locale??n())==="zh")return sBe(e);return fBe(e)};var lBe=()=>"john@example.com",cBe=()=>"zhangsan@example.com",U_=(e={},r={})=>{if((d??r.locale??n())==="zh")return cBe(e);return lBe(e)};var uBe=()=>"Email address is managed by authentication provider.",dBe=()=>"邮箱地址由认证提供商管理。",F_=(e={},r={})=>{if((d??r.locale??n())==="zh")return dBe(e);return uBe(e)};var ZBe=()=>"Embedding Agent",pBe=()=>"嵌入智能体",z_=(e={},r={})=>{if((d??r.locale??n())==="zh")return pBe(e);return ZBe(e)};var mBe=()=>"All items in the recently deleted folder will be permanently removed both from the database and from storage. This action cannot be undone.",hBe=()=>"回收站中的所有项目将从数据库和存储中永久删除。此操作无法撤销。",j_=(e={},r={})=>{if((d??r.locale??n())==="zh")return hBe(e);return mBe(e)};var gBe=()=>"Empty Trash?",MBe=()=>"清空回收站?",q_=(e={},r={})=>{if((d??r.locale??n())==="zh")return MBe(e);return gBe(e)};var vBe=()=>"Please create and enable an embedding agent in the team settings to use semantic search.",xBe=()=>"请在团队设置中创建并启用嵌入智能体以使用语义搜索。",H_=(e={},r={})=>{if((d??r.locale??n())==="zh")return xBe(e);return vBe(e)};var yBe=()=>"Enable Network Sandbox",bBe=()=>"启用网络沙箱",$_=(e={},r={})=>{if((d??r.locale??n())==="zh")return bBe(e);return yBe(e)};var _Be=()=>"Enable Timestamp",wBe=()=>"启用时间戳",G_=(e={},r={})=>{if((d??r.locale??n())==="zh")return wBe(e);return _Be(e)};var zBe=()=>"Enabled",SBe=()=>"已启用",Ef=(e={},r={})=>{if((d??r.locale??n())==="zh")return SBe(e);return zBe(e)};var LBe=()=>"English",kBe=()=>"English",Q_=(e={},r={})=>{if((d??r.locale??n())==="zh")return kBe(e);return LBe(e)};var IBe=()=>"Enter a value",CBe=()=>"输入一个值",V_=(e={},r={})=>{if((d??r.locale??n())==="zh")return CBe(e);return IBe(e)};var RBe=()=>"Enter custom model ID",PBe=()=>"输入自定义模型 ID",K_=(e={},r={})=>{if((d??r.locale??n())==="zh")return PBe(e);return RBe(e)};var TBe=()=>"Enter MCP Server ID",ABe=()=>"输入 MCP 服务 ID",nh=(e={},r={})=>{if((d??r.locale??n())==="zh")return ABe(e);return TBe(e)};var DBe=()=>"Enter new name",EBe=()=>"输入新名称",id=(e={},r={})=>{if((d??r.locale??n())==="zh")return EBe(e);return DBe(e)};var OBe=()=>"Enter password",jBe=()=>"请输入密码",W_=(e={},r={})=>{if((d??r.locale??n())==="zh")return jBe(e);return OBe(e)};var NBe=()=>"Enter template name...",FBe=()=>"请输入模板名称...",oh=(e={},r={})=>{if((d??r.locale??n())==="zh")return FBe(e);return NBe(e)};var BBe=()=>"Enter your details",YBe=()=>"输入您的信息",Y_=(e={},r={})=>{if((d??r.locale??n())==="zh")return YBe(e);return BBe(e)};var UBe=()=>"Enter your name",qBe=()=>"请输入您的名称",J_=(e={},r={})=>{if((d??r.locale??n())==="zh")return qBe(e);return UBe(e)};var VBe=()=>"Entry ID",HBe=()=>"条目 ID",ld=(e={},r={})=>{if((d??r.locale??n())==="zh")return HBe(e);return VBe(e)};var WBe=()=>"If left empty, the value will be read from the host machine's environment.",GBe=()=>"如果留空,将从主机的环境中读取值。",X_=(e={},r={})=>{if((d??r.locale??n())==="zh")return GBe(e);return WBe(e)};var KBe=()=>"Error",XBe=()=>"错误",Sn=(e={},r={})=>{if((d??r.locale??n())==="zh")return XBe(e);return KBe(e)};var QBe=(e)=>`Error: ${e?.message}`,JBe=(e)=>`错误:${e?.message}`,Ns=(e,r={})=>{if((d??r.locale??n())==="zh")return JBe(e);return QBe(e)};var $Be=()=>"Essentials",e6e=()=>"基本信息",eb=(e={},r={})=>{if((d??r.locale??n())==="zh")return e6e(e);return $Be(e)};var t6e=()=>"Exact date...",r6e=()=>"精确日期...",tb=(e={},r={})=>{if((d??r.locale??n())==="zh")return r6e(e);return t6e(e)};var o6e=()=>"Exit compare",a6e=()=>"退出对比",rb=(e={},r={})=>{if((d??r.locale??n())==="zh")return a6e(e);return o6e(e)};var n6e=()=>"Expiration Date",i6e=()=>"过期日期",nb=(e={},r={})=>{if((d??r.locale??n())==="zh")return i6e(e);return n6e(e)};var f6e=()=>"Failed to create collection",s6e=()=>"创建媒体合集失败",l6e=(e={},r={})=>{if((d??r.locale??n())==="zh")return s6e(e);return f6e(e)};var c6e=()=>"Failed to create field",u6e=()=>"创建字段失败",If=(e={},r={})=>{if((d??r.locale??n())==="zh")return u6e(e);return c6e(e)};var d6e=()=>"Failed to create project",Z6e=()=>"创建项目失败",ob=(e={},r={})=>{if((d??r.locale??n())==="zh")return Z6e(e);return d6e(e)};var p6e=()=>"Failed to create share link",m6e=()=>"创建分享链接失败",h6e=(e={},r={})=>{if((d??r.locale??n())==="zh")return m6e(e);return p6e(e)};var g6e=()=>"Failed to delete collection",M6e=()=>"删除媒体合集失败",v6e=(e={},r={})=>{if((d??r.locale??n())==="zh")return M6e(e);return g6e(e)};var x6e=()=>"Failed to delete field",y6e=()=>"删除字段失败",sb=(e={},r={})=>{if((d??r.locale??n())==="zh")return y6e(e);return x6e(e)};var b6e=()=>"Failed to delete folder",_6e=()=>"删除文件夹失败",w6e=(e={},r={})=>{if((d??r.locale??n())==="zh")return _6e(e);return b6e(e)};var z6e=()=>"Failed to delete share link",S6e=()=>"删除分享链接失败",L6e=(e={},r={})=>{if((d??r.locale??n())==="zh")return S6e(e);return z6e(e)};var k6e=()=>"Failed to fetch collections",I6e=()=>"获取媒体合集失败",C6e=(e={},r={})=>{if((d??r.locale??n())==="zh")return I6e(e);return k6e(e)};var R6e=()=>"Failed to fetch fields",P6e=()=>"获取字段列表失败",ab=(e={},r={})=>{if((d??r.locale??n())==="zh")return P6e(e);return R6e(e)};var T6e=()=>"Failed to fetch files",A6e=()=>"获取文件失败",ib=(e={},r={})=>{if((d??r.locale??n())==="zh")return A6e(e);return T6e(e)};var D6e=()=>"Failed to fetch folders",E6e=()=>"获取文件夹失败",lb=(e={},r={})=>{if((d??r.locale??n())==="zh")return E6e(e);return D6e(e)};var O6e=()=>"Failed to fetch share link",j6e=()=>"获取分享链接失败",cb=(e={},r={})=>{if((d??r.locale??n())==="zh")return j6e(e);return O6e(e)};var N6e=()=>"Failed to fetch share links",F6e=()=>"获取分享链接失败",B6e=(e={},r={})=>{if((d??r.locale??n())==="zh")return F6e(e);return N6e(e)};var Y6e=()=>"Failed to load settings.",U6e=()=>"加载设置失败。",ls=(e={},r={})=>{if((d??r.locale??n())==="zh")return U6e(e);return Y6e(e)};var q6e=()=>"Failed to remove",V6e=()=>"移除失败",ub=(e={},r={})=>{if((d??r.locale??n())==="zh")return V6e(e);return q6e(e)};var H6e=()=>"Failed to remove avatar",W6e=()=>"移除头像失败",db=(e={},r={})=>{if((d??r.locale??n())==="zh")return W6e(e);return H6e(e)};var G6e=()=>"Failed to rename collection",K6e=()=>"重命名媒体合集失败",X6e=(e={},r={})=>{if((d??r.locale??n())==="zh")return K6e(e);return G6e(e)};var Q6e=()=>"Failed to rename folder",J6e=()=>"重命名文件夹失败",$6e=(e={},r={})=>{if((d??r.locale??n())==="zh")return J6e(e);return Q6e(e)};var eYe=()=>"Failed to rename share link",tYe=()=>"重命名分享链接失败",rYe=(e={},r={})=>{if((d??r.locale??n())==="zh")return tYe(e);return eYe(e)};var oYe=()=>"Failed to save collection",aYe=()=>"保存媒体合集失败",fb=(e={},r={})=>{if((d??r.locale??n())==="zh")return aYe(e);return oYe(e)};var nYe=(e)=>`Failed to add ${e?.name}`,iYe=(e)=>`添加 ${e?.name} 失败`,sh=(e,r={})=>{if((d??r.locale??n())==="zh")return iYe(e);return nYe(e)};var fYe=()=>"Failed to add model",sYe=()=>"添加模型失败",pb=(e={},r={})=>{if((d??r.locale??n())==="zh")return sYe(e);return fYe(e)};var lYe=()=>"Failed to create quota rule",cYe=()=>"创建配额规则失败",ah=(e={},r={})=>{if((d??r.locale??n())==="zh")return cYe(e);return lYe(e)};var uYe=()=>"Failed to delete",dYe=()=>"删除失败",Ii=(e={},r={})=>{if((d??r.locale??n())==="zh")return dYe(e);return uYe(e)};var ZYe=()=>"Failed to delete quota rule",pYe=()=>"删除配额规则失败",cd=(e={},r={})=>{if((d??r.locale??n())==="zh")return pYe(e);return ZYe(e)};var mYe=()=>"Failed to fetch folder children",hYe=()=>"获取子文件夹失败",gYe=(e={},r={})=>{if((d??r.locale??n())==="zh")return hYe(e);return mYe(e)};var MYe=()=>"Failed to generate invite link",vYe=()=>"生成邀请链接失败",mb=(e={},r={})=>{if((d??r.locale??n())==="zh")return vYe(e);return MYe(e)};var xYe=()=>"Failed to generate token",yYe=()=>"生成令牌失败",hb=(e={},r={})=>{if((d??r.locale??n())==="zh")return yYe(e);return xYe(e)};var bYe=()=>"Failed to install skill",_Ye=()=>"安装技能失败",gb=(e={},r={})=>{if((d??r.locale??n())==="zh")return _Ye(e);return bYe(e)};var wYe=()=>"Failed to load quota usage",zYe=()=>"加载配额使用量失败",ih=(e={},r={})=>{if((d??r.locale??n())==="zh")return zYe(e);return wYe(e)};var SYe=()=>"Failed to post comment",LYe=()=>"发送评论失败",Ab=(e={},r={})=>{if((d??r.locale??n())==="zh")return LYe(e);return SYe(e)};var kYe=()=>"Failed to prepare download links",IYe=()=>"准备下载链接失败",vfe=(e={},r={})=>{if((d??r.locale??n())==="zh")return IYe(e);return kYe(e)};var CYe=()=>"Failed to remove member",RYe=()=>"移除成员失败",yb=(e={},r={})=>{if((d??r.locale??n())==="zh")return RYe(e);return CYe(e)};var PYe=()=>"Failed to remove version",TYe=()=>"移除版本失败",AYe=(e={},r={})=>{if((d??r.locale??n())==="zh")return TYe(e);return PYe(e)};var DYe=()=>"Failed to rename",EYe=()=>"重命名失败",_b=(e={},r={})=>{if((d??r.locale??n())==="zh")return EYe(e);return DYe(e)};var OYe=()=>"Failed to reorder versions",jYe=()=>"版本重新排序失败",NYe=(e={},r={})=>{if((d??r.locale??n())==="zh")return jYe(e);return OYe(e)};var FYe=()=>"Failed to reset quota usage",BYe=()=>"重置配额使用量失败",lh=(e={},r={})=>{if((d??r.locale??n())==="zh")return BYe(e);return FYe(e)};var YYe=()=>"Failed to revoke token",UYe=()=>"撤销令牌失败",bb=(e={},r={})=>{if((d??r.locale??n())==="zh")return UYe(e);return YYe(e)};var qYe=()=>"Failed to update member role",VYe=()=>"更新成员角色失败",wb=(e={},r={})=>{if((d??r.locale??n())==="zh")return VYe(e);return qYe(e)};var HYe=()=>"Failed to update notification settings",WYe=()=>"更新通知设置失败",ch=(e={},r={})=>{if((d??r.locale??n())==="zh")return WYe(e);return HYe(e)};var GYe=()=>"Failed to update permission",KYe=()=>"更新权限失败",pl=(e={},r={})=>{if((d??r.locale??n())==="zh")return KYe(e);return GYe(e)};var XYe=()=>"Failed to update provider",QYe=()=>"更新提供商失败",vb=(e={},r={})=>{if((d??r.locale??n())==="zh")return QYe(e);return XYe(e)};var JYe=()=>"Failed to update quota rule",$Ye=()=>"更新配额规则失败",ud=(e={},r={})=>{if((d??r.locale??n())==="zh")return $Ye(e);return JYe(e)};var e7e=()=>"Failed to update sandbox settings",t7e=()=>"更新沙箱设置失败",uh=(e={},r={})=>{if((d??r.locale??n())==="zh")return t7e(e);return e7e(e)};var r7e=()=>"Failed to update",o7e=()=>"更新失败",ca=(e={},r={})=>{if((d??r.locale??n())==="zh")return o7e(e);return r7e(e)};var a7e=()=>"Failed to update avatar",n7e=()=>"头像更新失败",xb=(e={},r={})=>{if((d??r.locale??n())==="zh")return n7e(e);return a7e(e)};var i7e=()=>"Failed to update field",f7e=()=>"更新字段失败",ml=(e={},r={})=>{if((d??r.locale??n())==="zh")return f7e(e);return i7e(e)};var s7e=()=>"Failed to update fields order",l7e=()=>"更新字段排序失败",Tf=(e={},r={})=>{if((d??r.locale??n())==="zh")return l7e(e);return s7e(e)};var c7e=()=>"Failed to update language",u7e=()=>"语言更新失败",Sb=(e={},r={})=>{if((d??r.locale??n())==="zh")return u7e(e);return c7e(e)};var d7e=()=>"Failed to update profile",Z7e=()=>"更新个人资料失败",Cb=(e={},r={})=>{if((d??r.locale??n())==="zh")return Z7e(e);return d7e(e)};var p7e=()=>"Failed to update project",m7e=()=>"更新项目失败",Eb=(e={},r={})=>{if((d??r.locale??n())==="zh")return m7e(e);return p7e(e)};var h7e=()=>"Failed to update project notification settings",g7e=()=>"更新项目通知设置失败",Ib=(e={},r={})=>{if((d??r.locale??n())==="zh")return g7e(e);return h7e(e)};var M7e=()=>"Failed to upload file",v7e=()=>"上传文件失败",Dc=(e={},r={})=>{if((d??r.locale??n())==="zh")return v7e(e);return M7e(e)};var x7e=()=>"Field",y7e=()=>"字段",Mf=(e={},r={})=>{if((d??r.locale??n())==="zh")return y7e(e);return x7e(e)};var b7e=()=>"Created At",_7e=()=>"创建时间",Tb=(e={},r={})=>{if((d??r.locale??n())==="zh")return _7e(e);return b7e(e)};var w7e=()=>"Field created successfully",z7e=()=>"字段创建成功",Mb=(e={},r={})=>{if((d??r.locale??n())==="zh")return z7e(e);return w7e(e)};var S7e=()=>"Field deleted successfully",L7e=()=>"字段删除成功",Rb=(e={},r={})=>{if((d??r.locale??n())==="zh")return L7e(e);return S7e(e)};var k7e=()=>"Field Name",I7e=()=>"字段名称",Rf=(e={},r={})=>{if((d??r.locale??n())==="zh")return I7e(e);return k7e(e)};var C7e=()=>"e.g. Status",R7e=()=>"例如:状态",kb=(e={},r={})=>{if((d??r.locale??n())==="zh")return R7e(e);return C7e(e)};var P7e=()=>"Size",T7e=()=>"大小",Pb=(e={},r={})=>{if((d??r.locale??n())==="zh")return T7e(e);return P7e(e)};var A7e=()=>"Field Type",D7e=()=>"字段类型",kf=(e={},r={})=>{if((d??r.locale??n())==="zh")return D7e(e);return A7e(e)};var E7e=()=>"Updated At",O7e=()=>"更新时间",Nb=(e={},r={})=>{if((d??r.locale??n())==="zh")return O7e(e);return E7e(e)};var j7e=()=>"Field updated successfully",N7e=()=>"字段更新成功",Ob=(e={},r={})=>{if((d??r.locale??n())==="zh")return N7e(e);return j7e(e)};var F7e=()=>"Fields",B7e=()=>"字段",Ti=(e={},r={})=>{if((d??r.locale??n())==="zh")return B7e(e);return F7e(e)};var Y7e=()=>"File size exceeds the 1MB limit",U7e=()=>"文件大小不能超过 1MB",Db=(e={},r={})=>{if((d??r.locale??n())==="zh")return U7e(e);return Y7e(e)};var q7e=()=>"File not found.",V7e=()=>"文件未找到。",dh=(e={},r={})=>{if((d??r.locale??n())==="zh")return V7e(e);return q7e(e)};var H7e=(e)=>`${e?.uploaded} / ${e?.total} files`,W7e=(e)=>`${e?.uploaded} / ${e?.total} 个文件`,xfe=(e,r={})=>{if((d??r.locale??n())==="zh")return W7e(e);return H7e(e)};var G7e=()=>"Filesystem Restriction",K7e=()=>"文件系统限制",Lb=(e={},r={})=>{if((d??r.locale??n())==="zh")return K7e(e);return G7e(e)};var X7e=()=>"Sandboxed shell commands can read workspace files except sensitive environment, certificate, and key files. They can write to the project's .pi folder and the system temporary directory, plus a few runtime-managed system paths. These filesystem rules are currently hardcoded for security.",Q7e=()=>"沙箱 Shell 命令可以读取工作区文件,但环境变量、证书和密钥等敏感文件除外;可以写入项目的 .pi 文件夹和系统临时目录,以及少量由运行时管理的系统路径。这些文件系统规则目前出于安全考虑已硬编码。",Zb=(e={},r={})=>{if((d??r.locale??n())==="zh")return Q7e(e);return X7e(e)};var J7e=()=>"and",$7e=()=>"且",Bb=(e={},r={})=>{if((d??r.locale??n())==="zh")return $7e(e);return J7e(e)};var eUe=()=>"Filter by Action",tUe=()=>"按操作筛选",Ub=(e={},r={})=>{if((d??r.locale??n())==="zh")return tUe(e);return eUe(e)};var rUe=()=>"Filter by User",oUe=()=>"按用户筛选",Fb=(e={},r={})=>{if((d??r.locale??n())==="zh")return oUe(e);return rUe(e)};var aUe=()=>"Search tasks in this status...",nUe=()=>"搜索此状态下的任务...",iUe=(e={},r={})=>{if((d??r.locale??n())==="zh")return nUe(e);return aUe(e)};var fUe=()=>"Where",sUe=()=>"条件",zb=(e={},r={})=>{if((d??r.locale??n())==="zh")return sUe(e);return fUe(e)};var lUe=()=>"Filters",cUe=()=>"筛选条件",jb=(e={},r={})=>{if((d??r.locale??n())==="zh")return cUe(e);return lUe(e)};var uUe=()=>"You will be the owner of the default workspace as the first user!",dUe=()=>"作为第一位用户,您将成为默认工作空间的拥有者!",ZUe=(e={},r={})=>{if((d??r.locale??n())==="zh")return dUe(e);return uUe(e)};var pUe=()=>"Fit",mUe=()=>"适应窗口",Pf=(e={},r={})=>{if((d??r.locale??n())==="zh")return mUe(e);return pUe(e)};var hUe=()=>"Folder",gUe=()=>"文件夹",fh=(e={},r={})=>{if((d??r.locale??n())==="zh")return gUe(e);return hUe(e)};var MUe=()=>"Folder deleted",vUe=()=>"文件夹已删除",xUe=(e={},r={})=>{if((d??r.locale??n())==="zh")return vUe(e);return MUe(e)};var yUe=()=>"Selected folder files will be prepared for download.",bUe=()=>"所选文件夹中的文件将被准备下载。",ph=(e={},r={})=>{if((d??r.locale??n())==="zh")return bUe(e);return yUe(e)};var _Ue=()=>"Folder name",wUe=()=>"文件夹名称",mh=(e={},r={})=>{if((d??r.locale??n())==="zh")return wUe(e);return _Ue(e)};var zUe=()=>"Folder renamed",SUe=()=>"文件夹已重命名",LUe=(e={},r={})=>{if((d??r.locale??n())==="zh")return SUe(e);return zUe(e)};var kUe=()=>"Folder hierarchy will be flattened. All nested files will be downloaded directly into your default download folder.",IUe=()=>"文件夹层级将被扁平化。所有嵌套文件将直接下载到您的默认下载文件夹中。",hh=(e={},r={})=>{if((d??r.locale??n())==="zh")return IUe(e);return kUe(e)};var CUe=()=>"Assets",RUe=()=>"资产",yfe=(e={},r={})=>{if((d??r.locale??n())==="zh")return RUe(e);return CUe(e)};var PUe=()=>"Font Size",TUe=()=>"字体大小",qb=(e={},r={})=>{if((d??r.locale??n())==="zh")return TUe(e);return PUe(e)};var AUe=()=>"Format",DUe=()=>"格式",Hb=(e={},r={})=>{if((d??r.locale??n())==="zh")return DUe(e);return AUe(e)};var EUe=()=>"Frames",OUe=()=>"帧数",$b=(e={},r={})=>{if((d??r.locale??n())==="zh")return OUe(e);return EUe(e)};var jUe=()=>"Fullscreen",NUe=()=>"全屏",dd=(e={},r={})=>{if((d??r.locale??n())==="zh")return NUe(e);return jUe(e)};var FUe=()=>"General",BUe=()=>"通用",Gb=(e={},r={})=>{if((d??r.locale??n())==="zh")return BUe(e);return FUe(e)};var YUe=()=>"General Comments",UUe=()=>"普通评论",Qb=(e={},r={})=>{if((d??r.locale??n())==="zh")return UUe(e);return YUe(e)};var qUe=()=>"General Settings",VUe=()=>"通用设置",gh=(e={},r={})=>{if((d??r.locale??n())==="zh")return VUe(e);return qUe(e)};var HUe=()=>"View your personal information and team role.",WUe=()=>"查看您的个人信息和团队角色。",Vb=(e={},r={})=>{if((d??r.locale??n())==="zh")return WUe(e);return HUe(e)};var GUe=()=>"Generate",KUe=()=>"生成",Kb=(e={},r={})=>{if((d??r.locale??n())==="zh")return KUe(e);return GUe(e)};var XUe=()=>"Generate Link",QUe=()=>"生成链接",Wb=(e={},r={})=>{if((d??r.locale??n())==="zh")return QUe(e);return XUe(e)};var JUe=()=>"GitHub Repository URL",$Ue=()=>"GitHub 仓库 URL",Yb=(e={},r={})=>{if((d??r.locale??n())==="zh")return $Ue(e);return JUe(e)};var eqe=()=>"Example: https://github.com/google/gemini-cli",tqe=()=>"示例:https://github.com/google/gemini-cli",Jb=(e={},r={})=>{if((d??r.locale??n())==="zh")return tqe(e);return eqe(e)};var rqe=()=>"Global API Protocol",oqe=()=>"全局 API 协议",Ah=(e={},r={})=>{if((d??r.locale??n())==="zh")return oqe(e);return rqe(e)};var aqe=()=>"Go to Login",nqe=()=>"前往登录",Nf=(e={},r={})=>{if((d??r.locale??n())==="zh")return nqe(e);return aqe(e)};var iqe=()=>"Goal created",fqe=()=>"目标已创建",Xb=(e={},r={})=>{if((d??r.locale??n())==="zh")return fqe(e);return iqe(e)};var sqe=()=>"Goal deleted",lqe=()=>"目标已删除",ew=(e={},r={})=>{if((d??r.locale??n())==="zh")return lqe(e);return sqe(e)};var cqe=()=>"Goal Description",uqe=()=>"目标描述",tw=(e={},r={})=>{if((d??r.locale??n())==="zh")return uqe(e);return cqe(e)};var dqe=()=>"Describe the desired outcome and success criteria...",Zqe=()=>"描述预期成果和衡量标准...",rw=(e={},r={})=>{if((d??r.locale??n())==="zh")return Zqe(e);return dqe(e)};var pqe=()=>"Goal Title",mqe=()=>"目标标题",nw=(e={},r={})=>{if((d??r.locale??n())==="zh")return mqe(e);return pqe(e)};var hqe=()=>"e.g. Q3 Launch Deliverables",gqe=()=>"例如:Q3 发布交付物",ow=(e={},r={})=>{if((d??r.locale??n())==="zh")return gqe(e);return hqe(e)};var Mqe=()=>"Goal updated",vqe=()=>"目标已更新",sw=(e={},r={})=>{if((d??r.locale??n())==="zh")return vqe(e);return Mqe(e)};var xqe=()=>"Goals",yqe=()=>"目标",fd=(e={},r={})=>{if((d??r.locale??n())==="zh")return yqe(e);return xqe(e)};var bqe=()=>"Grid",_qe=()=>"网格",aw=(e={},r={})=>{if((d??r.locale??n())==="zh")return _qe(e);return bqe(e)};var wqe=()=>"Groups",zqe=()=>"分组",iw=(e={},r={})=>{if((d??r.locale??n())==="zh")return zqe(e);return wqe(e)};var Sqe=()=>"Hardware Acceleration",Lqe=()=>"硬件加速",lw=(e={},r={})=>{if((d??r.locale??n())==="zh")return Lqe(e);return Sqe(e)};var kqe=()=>"Auto Detect",Iqe=()=>"自动检测",cw=(e={},r={})=>{if((d??r.locale??n())==="zh")return Iqe(e);return kqe(e)};var Cqe=()=>"Automatically probes and uses GPU/Hardware acceleration (NVENC, QSV, AMF, VideoToolbox). If hardware acceleration is unsupported on the host, video transcoding may fail.",Rqe=()=>"自动检测并使用 GPU/硬件加速(NVENC、QSV、AMF、VideoToolbox)。若宿主硬件不支持加速,视频转码可能会失败。",uw=(e={},r={})=>{if((d??r.locale??n())==="zh")return Rqe(e);return Cqe(e)};var Pqe=()=>"Disabled (Software)",Tqe=()=>"已禁用 (软件编码)",dw=(e={},r={})=>{if((d??r.locale??n())==="zh")return Tqe(e);return Pqe(e)};var Aqe=()=>"Uses software libx264 encoder with constant rate factor (CRF).",Dqe=()=>"使用 CPU 的 libx264 软件编码器及 CRF 恒定画质模式。",fw=(e={},r={})=>{if((d??r.locale??n())==="zh")return Dqe(e);return Aqe(e)};var Eqe=()=>"Hide Chatbot",Oqe=()=>"隐藏聊天机器人",jqe=(e={},r={})=>{if((d??r.locale??n())==="zh")return Oqe(e);return Eqe(e)};var Nqe=()=>"History",Fqe=()=>"历史记录",yh=(e={},r={})=>{if((d??r.locale??n())==="zh")return Fqe(e);return Nqe(e)};var Bqe=()=>"Home",Yqe=()=>"主页",Uqe=(e={},r={})=>{if((d??r.locale??n())==="zh")return Yqe(e);return Bqe(e)};var qqe=()=>"Image Asset",Vqe=()=>"图片资源",pw=(e={},r={})=>{if((d??r.locale??n())==="zh")return Vqe(e);return qqe(e)};var Hqe=(e)=>`${e?.count} enabled`,Wqe=(e)=>`${e?.count} 个已启用`,mw=(e,r={})=>{if((d??r.locale??n())==="zh")return Wqe(e);return Hqe(e)};var Gqe=()=>"[Image Object]",Kqe=()=>"[图片对象]",Of=(e={},r={})=>{if((d??r.locale??n())==="zh")return Kqe(e);return Gqe(e)};var Xqe=()=>"Image Size",Qqe=()=>"图片大小",hw=(e={},r={})=>{if((d??r.locale??n())==="zh")return Qqe(e);return Xqe(e)};var Jqe=()=>"Image / Video Generation",$qe=()=>"图像与视频生成",_h=(e={},r={})=>{if((d??r.locale??n())==="zh")return $qe(e);return Jqe(e)};var e9e=()=>"Import a skill from a local ZIP archive or a GitHub repository.",t9e=()=>"从本地 ZIP 压缩包或 GitHub 仓库导入技能。",gw=(e={},r={})=>{if((d??r.locale??n())==="zh")return t9e(e);return e9e(e)};var r9e=()=>"Input Cost (1M)",o9e=()=>"输入成本(每百万)",Aw=(e={},r={})=>{if((d??r.locale??n())==="zh")return o9e(e);return r9e(e)};var a9e=()=>"Input Tokens",n9e=()=>"输入 Token",bh=(e={},r={})=>{if((d??r.locale??n())==="zh")return n9e(e);return a9e(e)};var i9e=()=>"Install",f9e=()=>"安装",yw=(e={},r={})=>{if((d??r.locale??n())==="zh")return f9e(e);return i9e(e)};var s9e=()=>"Invalid credentials",l9e=()=>"凭证无效",c9e=(e={},r={})=>{if((d??r.locale??n())==="zh")return l9e(e);return s9e(e)};var u9e=()=>"Invalid email address",d9e=()=>"无效的邮箱地址",bfe=(e={},r={})=>{if((d??r.locale??n())==="zh")return d9e(e);return u9e(e)};var Z9e=()=>"Invalid or missing reset token.",p9e=()=>"无效或缺失的重置令牌。",Df=(e={},r={})=>{if((d??r.locale??n())==="zh")return p9e(e);return Z9e(e)};var m9e=()=>"Please contact your administrator to generate a new password reset link.",h9e=()=>"请联系管理员生成新的密码重置链接。",_w=(e={},r={})=>{if((d??r.locale??n())==="zh")return h9e(e);return m9e(e)};var g9e=(e)=>`${e?.inviterName} invited you to join ${e?.targetName} as ${e?.role}.`,M9e=(e)=>`${e?.inviterName} 邀请您加入 ${e?.targetName},角色为 ${e?.role}。`,v9e=(e,r={})=>{if((d??r.locale??n())==="zh")return M9e(e);return g9e(e)};var x9e=()=>"Invite link copied to clipboard",y9e=()=>"邀请链接已复制到剪贴板",bw=(e={},r={})=>{if((d??r.locale??n())==="zh")return y9e(e);return x9e(e)};var b9e=()=>"Invite New Member",_9e=()=>"邀请新成员",ww=(e={},r={})=>{if((d??r.locale??n())==="zh")return _9e(e);return b9e(e)};var w9e=()=>"Item ID",z9e=()=>"条目 ID",vw=(e={},r={})=>{if((d??r.locale??n())==="zh")return z9e(e);return w9e(e)};var S9e=()=>"Kanban",L9e=()=>"看板",k9e=(e={},r={})=>{if((d??r.locale??n())==="zh")return L9e(e);return S9e(e)};var I9e=()=>"Kanban Comments",C9e=()=>"看板评论",xw=(e={},r={})=>{if((d??r.locale??n())==="zh")return C9e(e);return I9e(e)};var R9e=()=>"Manage notifications for Kanban board tasks and comments.",P9e=()=>"管理看板任务和评论相关的通知偏好。",Sw=(e={},r={})=>{if((d??r.locale??n())==="zh")return P9e(e);return R9e(e)};var T9e=()=>"Kanban Notifications",A9e=()=>"看板通知",Cw=(e={},r={})=>{if((d??r.locale??n())==="zh")return A9e(e);return T9e(e)};var D9e=()=>"Kanban Tasks",E9e=()=>"看板任务",Ew=(e={},r={})=>{if((d??r.locale??n())==="zh")return E9e(e);return D9e(e)};var O9e=()=>"Language Settings",j9e=()=>"语言设置",Iw=(e={},r={})=>{if((d??r.locale??n())==="zh")return j9e(e);return O9e(e)};var N9e=()=>"Language updated successfully",F9e=()=>"语言更新成功",Tw=(e={},r={})=>{if((d??r.locale??n())==="zh")return F9e(e);return N9e(e)};var B9e=()=>"Light",Y9e=()=>"浅色",U9e=(e={},r={})=>{if((d??r.locale??n())==="zh")return Y9e(e);return B9e(e)};var q9e=()=>"Link copied to clipboard",V9e=()=>"链接已复制到剪贴板",Mw=(e={},r={})=>{if((d??r.locale??n())==="zh")return V9e(e);return q9e(e)};var H9e=()=>"Link to Task",W9e=()=>"关联到任务",G9e=(e={},r={})=>{if((d??r.locale??n())==="zh")return W9e(e);return H9e(e)};var K9e=()=>"Link Visibility",X9e=()=>"链接可见性",Rw=(e={},r={})=>{if((d??r.locale??n())==="zh")return X9e(e);return K9e(e)};var Q9e=(e)=>`${e?.count} assets`,J9e=(e)=>`${e?.count} 个资产`,kw=(e,r={})=>{if((d??r.locale??n())==="zh")return J9e(e);return Q9e(e)};var $9e=()=>"Linked Tasks",eVe=()=>"关联任务",Lf=(e={},r={})=>{if((d??r.locale??n())==="zh")return eVe(e);return $9e(e)};var tVe=()=>"List",rVe=()=>"列表",Pw=(e={},r={})=>{if((d??r.locale??n())==="zh")return rVe(e);return tVe(e)};var oVe=()=>"Load Template",aVe=()=>"加载模板",Nw=(e={},r={})=>{if((d??r.locale??n())==="zh")return aVe(e);return oVe(e)};var nVe=()=>"Loading...",iVe=()=>"加载中...",pd=(e={},r={})=>{if((d??r.locale??n())==="zh")return iVe(e);return nVe(e)};var fVe=()=>"Loading collection...",sVe=()=>"正在加载媒体合集...",wh=(e={},r={})=>{if((d??r.locale??n())==="zh")return sVe(e);return fVe(e)};var lVe=()=>"Loading models...",cVe=()=>"正在加载模型...",Ow=(e={},r={})=>{if((d??r.locale??n())==="zh")return cVe(e);return lVe(e)};var uVe=()=>"Loading more...",dVe=()=>"加载更多...",Dw=(e={},r={})=>{if((d??r.locale??n())==="zh")return dVe(e);return uVe(e)};var ZVe=()=>"Log out",pVe=()=>"退出登录",mVe=(e={},r={})=>{if((d??r.locale??n())==="zh")return pVe(e);return ZVe(e)};var hVe=()=>"Logging in...",gVe=()=>"登录中...",MVe=(e={},r={})=>{if((d??r.locale??n())==="zh")return gVe(e);return hVe(e)};var vVe=()=>"Login",xVe=()=>"登录",_fe=(e={},r={})=>{if((d??r.locale??n())==="zh")return xVe(e);return vVe(e)};var yVe=()=>"Login here",bVe=()=>"在此登录",_Ve=(e={},r={})=>{if((d??r.locale??n())==="zh")return bVe(e);return yVe(e)};var wVe=()=>"Enter your credentials to access your account.",zVe=()=>"输入您的凭证以访问您的账户。",SVe=(e={},r={})=>{if((d??r.locale??n())==="zh")return zVe(e);return wVe(e)};var LVe=()=>"Loop",kVe=()=>"循环",Lw=(e={},r={})=>{if((d??r.locale??n())==="zh")return kVe(e);return LVe(e)};var IVe=()=>"Manage environment variables for this skill instance.",CVe=()=>"管理此技能实例的环境变量。",Zw=(e={},r={})=>{if((d??r.locale??n())==="zh")return CVe(e);return IVe(e)};var RVe=()=>"Manage Fields",PVe=()=>"管理字段",Zf=(e={},r={})=>{if((d??r.locale??n())==="zh")return PVe(e);return RVe(e)};var TVe=()=>"Manage and update your project workspace configurations.",AVe=()=>"管理和更新您的项目工作区配置。",Bw=(e={},r={})=>{if((d??r.locale??n())==="zh")return AVe(e);return TVe(e)};var DVe=()=>"Manage versions",EVe=()=>"管理版本",Bf=(e={},r={})=>{if((d??r.locale??n())==="zh")return EVe(e);return DVe(e)};var OVe=()=>"Manage versions",jVe=()=>"管理版本",NVe=(e={},r={})=>{if((d??r.locale??n())==="zh")return jVe(e);return OVe(e)};var FVe=()=>"Mark all as read",BVe=()=>"全部标记为已读",YVe=(e={},r={})=>{if((d??r.locale??n())==="zh")return BVe(e);return FVe(e)};var UVe=()=>"Mark as complete",qVe=()=>"标记为已完成",Uw=(e={},r={})=>{if((d??r.locale??n())==="zh")return qVe(e);return UVe(e)};var VVe=()=>"Mark as incomplete",HVe=()=>"标记为未完成",Fw=(e={},r={})=>{if((d??r.locale??n())==="zh")return HVe(e);return VVe(e)};var WVe=()=>"Markup is not supported for this file type",GVe=()=>"此文件类型不支持标注",Uf=(e={},r={})=>{if((d??r.locale??n())==="zh")return GVe(e);return WVe(e)};var KVe=()=>"Match found at",XVe=()=>"在以下位置找到匹配",zw=(e={},r={})=>{if((d??r.locale??n())==="zh")return XVe(e);return KVe(e)};var QVe=(e)=>`Matched ${e?.count} items`,JVe=(e)=>`匹配了 ${e?.count} 项`,jw=(e,r={})=>{if((d??r.locale??n())==="zh")return JVe(e);return QVe(e)};var $Ve=()=>"Max Output Tokens",eHe=()=>"最大输出令牌数",qw=(e={},r={})=>{if((d??r.locale??n())==="zh")return eHe(e);return $Ve(e)};var tHe=(e)=>`max ${e?.count}`,rHe=(e)=>`最大 ${e?.count}`,Hw=(e,r={})=>{if((d??r.locale??n())==="zh")return rHe(e);return tHe(e)};var oHe=()=>"Auto-Detect (Default)",aHe=()=>"自动检测 (默认)",$w=(e={},r={})=>{if((d??r.locale??n())==="zh")return aHe(e);return oHe(e)};var nHe=()=>"Bearer Token",iHe=()=>"Bearer 令牌",Gw=(e={},r={})=>{if((d??r.locale??n())==="zh")return iHe(e);return nHe(e)};var fHe=()=>"Failed to authenticate MCP server",sHe=()=>"MCP 服务身份验证失败",Ff=(e={},r={})=>{if((d??r.locale??n())==="zh")return sHe(e);return fHe(e)};var lHe=()=>"None",cHe=()=>"无",Qw=(e={},r={})=>{if((d??r.locale??n())==="zh")return cHe(e);return lHe(e)};var uHe=()=>"OAuth 2.0",dHe=()=>"OAuth 2.0",Vw=(e={},r={})=>{if((d??r.locale??n())==="zh")return dHe(e);return uHe(e)};var ZHe=()=>"MCP server authenticated successfully",pHe=()=>"MCP 服务身份验证成功",vh=(e={},r={})=>{if((d??r.locale??n())==="zh")return pHe(e);return ZHe(e)};var mHe=()=>"Authentication Type",hHe=()=>"身份验证类型",Kw=(e={},r={})=>{if((d??r.locale??n())==="zh")return hHe(e);return mHe(e)};var gHe=()=>"Bearer Token",MHe=()=>"Bearer 令牌",Ww=(e={},r={})=>{if((d??r.locale??n())==="zh")return MHe(e);return gHe(e)};var vHe=()=>"All Direct",xHe=()=>"全部直连",Yw=(e={},r={})=>{if((d??r.locale??n())==="zh")return xHe(e);return vHe(e)};var yHe=()=>"All Off",bHe=()=>"全部关闭",Jw=(e={},r={})=>{if((d??r.locale??n())==="zh")return bHe(e);return yHe(e)};var _He=()=>"All Proxy",wHe=()=>"全部代理",Xw=(e={},r={})=>{if((d??r.locale??n())==="zh")return wHe(e);return _He(e)};var zHe=()=>"Connect Account",SHe=()=>"连接账号",xh=(e={},r={})=>{if((d??r.locale??n())==="zh")return SHe(e);return zHe(e)};var LHe=()=>"Disconnect Auth",kHe=()=>"断开身份验证",Sh=(e={},r={})=>{if((d??r.locale??n())==="zh")return kHe(e);return LHe(e)};var IHe=()=>"Client ID",CHe=()=>"Client ID",ev=(e={},r={})=>{if((d??r.locale??n())==="zh")return CHe(e);return IHe(e)};var RHe=()=>"Client Secret",PHe=()=>"Client Secret",tv=(e={},r={})=>{if((d??r.locale??n())==="zh")return PHe(e);return RHe(e)};var THe=()=>"Grant Type",AHe=()=>"授权模式 (Grant Type)",rv=(e={},r={})=>{if((d??r.locale??n())==="zh")return AHe(e);return THe(e)};var DHe=()=>"Scope",EHe=()=>"作用域 (Scope)",nv=(e={},r={})=>{if((d??r.locale??n())==="zh")return EHe(e);return DHe(e)};var OHe=()=>"Refresh Server",jHe=()=>"刷新服务器",Ch=(e={},r={})=>{if((d??r.locale??n())==="zh")return jHe(e);return OHe(e)};var NHe=()=>"Server refreshed",FHe=()=>"服务器已刷新",ov=(e={},r={})=>{if((d??r.locale??n())==="zh")return FHe(e);return NHe(e)};var BHe=()=>"Name and description are auto-detected from the server after connecting.",YHe=()=>"连接后将自动从服务端获取名称和描述。",Eh=(e={},r={})=>{if((d??r.locale??n())==="zh")return YHe(e);return BHe(e)};var UHe=()=>"Server Instructions",qHe=()=>"服务器说明",sv=(e={},r={})=>{if((d??r.locale??n())==="zh")return qHe(e);return UHe(e)};var VHe=()=>"Server Name",HHe=()=>"服务名称",av=(e={},r={})=>{if((d??r.locale??n())==="zh")return HHe(e);return VHe(e)};var WHe=()=>"Endpoint URL",GHe=()=>"Endpoint URL",Ih=(e={},r={})=>{if((d??r.locale??n())==="zh")return GHe(e);return WHe(e)};var KHe=()=>"MCP Servers",XHe=()=>"MCP 服务",Lc=(e={},r={})=>{if((d??r.locale??n())==="zh")return XHe(e);return KHe(e)};var QHe=()=>"Configure Model Context Protocol (MCP) servers and tools for your team.",JHe=()=>"为团队配置 Model Context Protocol (MCP) 服务与工具。",md=(e={},r={})=>{if((d??r.locale??n())==="zh")return JHe(e);return QHe(e)};var $He=()=>"Connected",eWe=()=>"已连接",iv=(e={},r={})=>{if((d??r.locale??n())==="zh")return eWe(e);return $He(e)};var tWe=()=>"Failed",rWe=()=>"连接失败",lv=(e={},r={})=>{if((d??r.locale??n())==="zh")return rWe(e);return tWe(e)};var oWe=()=>"Needs Authentication",aWe=()=>"需要身份验证",Th=(e={},r={})=>{if((d??r.locale??n())==="zh")return aWe(e);return oWe(e)};var nWe=()=>"Not Connected",iWe=()=>"未连接",cv=(e={},r={})=>{if((d??r.locale??n())==="zh")return iWe(e);return nWe(e)};var fWe=()=>"Direct",sWe=()=>"直连",uv=(e={},r={})=>{if((d??r.locale??n())==="zh")return sWe(e);return fWe(e)};var lWe=()=>"Off",cWe=()=>"关闭",dv=(e={},r={})=>{if((d??r.locale??n())==="zh")return cWe(e);return lWe(e)};var uWe=()=>"Proxy",dWe=()=>"代理",fv=(e={},r={})=>{if((d??r.locale??n())==="zh")return dWe(e);return uWe(e)};var ZWe=()=>"MCP Tools",pWe=()=>"MCP 工具",pv=(e={},r={})=>{if((d??r.locale??n())==="zh")return pWe(e);return ZWe(e)};var mWe=(e)=>`${e?.count} Tools`,hWe=(e)=>`${e?.count} 个工具`,mv=(e,r={})=>{if((d??r.locale??n())==="zh")return hWe(e);return mWe(e)};var gWe=()=>"Configure how MCP tools are exposed to the agent. Proxy mode keeps context usage low by hiding tools behind an MCP proxy, while Direct mode exposes selected tools as native agent tools for better discovery and faster access. Use Direct mode for frequently used or critical tools, and keep large MCP servers behind the proxy to avoid unnecessary context overhead.",MWe=()=>"配置 MCP 工具向 Agent 的暴露方式。代理模式通过 MCP 代理隐匿工具,以保持较低的上下文占用;直连模式将选定工具直接作为 Agent 原生工具暴露,便于更好地发现与更快地调用。建议对高频或关键工具使用直连模式,对于大型 MCP 服务保持代理模式以避免不必要的上下文开销。",hv=(e={},r={})=>{if((d??r.locale??n())==="zh")return MWe(e);return gWe(e)};var vWe=()=>"Transport Protocol",xWe=()=>"传输协议",gv=(e={},r={})=>{if((d??r.locale??n())==="zh")return xWe(e);return vWe(e)};var yWe=()=>"Configure providers and enabled models for built-in image and video generation tools.",bWe=()=>"配置内置图像和视频生成工具的提供商与已启用模型。",Av=(e={},r={})=>{if((d??r.locale??n())==="zh")return bWe(e);return yWe(e)};var _We=()=>"Media Processing",wWe=()=>"媒体处理",Mh=(e={},r={})=>{if((d??r.locale??n())==="zh")return wWe(e);return _We(e)};var zWe=()=>"Media Providers",SWe=()=>"媒体提供商",yv=(e={},r={})=>{if((d??r.locale??n())==="zh")return SWe(e);return zWe(e)};var LWe=()=>"Configure API keys for built-in media generation providers. Providers can use environment variables or custom keys.",kWe=()=>"为内置媒体生成提供商配置 API 密钥。提供商可以使用环境变量或自定义密钥。",_v=(e={},r={})=>{if((d??r.locale??n())==="zh")return kWe(e);return LWe(e)};var IWe=()=>"Image",CWe=()=>"图像",zf=(e={},r={})=>{if((d??r.locale??n())==="zh")return CWe(e);return IWe(e)};var RWe=()=>"Video",PWe=()=>"视频",jf=(e={},r={})=>{if((d??r.locale??n())==="zh")return PWe(e);return RWe(e)};var TWe=()=>"Member removed",AWe=()=>"成员已移除",bv=(e={},r={})=>{if((d??r.locale??n())==="zh")return AWe(e);return TWe(e)};var DWe=()=>"Member role updated",EWe=()=>"成员角色已更新",wv=(e={},r={})=>{if((d??r.locale??n())==="zh")return EWe(e);return DWe(e)};var OWe=()=>"Members",jWe=()=>"成员",vv=(e={},r={})=>{if((d??r.locale??n())==="zh")return jWe(e);return OWe(e)};var NWe=()=>"Members",FWe=()=>"成员",xv=(e={},r={})=>{if((d??r.locale??n())==="zh")return FWe(e);return NWe(e)};var BWe=()=>"Message...",YWe=()=>"发送消息...",Sv=(e={},r={})=>{if((d??r.locale??n())==="zh")return YWe(e);return BWe(e)};var UWe=()=>"Model",qWe=()=>"模型",Cv=(e={},r={})=>{if((d??r.locale??n())==="zh")return qWe(e);return UWe(e)};var VWe=()=>"Model created successfully",HWe=()=>"模型创建成功",Ev=(e={},r={})=>{if((d??r.locale??n())==="zh")return HWe(e);return VWe(e)};var WWe=()=>"Model deleted successfully",GWe=()=>"模型删除成功",Iv=(e={},r={})=>{if((d??r.locale??n())==="zh")return GWe(e);return WWe(e)};var KWe=()=>"Model ID",XWe=()=>"模型 ID",Rh=(e={},r={})=>{if((d??r.locale??n())==="zh")return XWe(e);return KWe(e)};var QWe=()=>"Model ID already exists for this provider",JWe=()=>"此提供商已存在该模型 ID",Tv=(e={},r={})=>{if((d??r.locale??n())==="zh")return JWe(e);return QWe(e)};var $We=()=>"e.g., gpt-4o, claude-3-5-sonnet-20241022",eGe=()=>"例如:gpt-4o, claude-3-5-sonnet-20241022",Mv=(e={},r={})=>{if((d??r.locale??n())==="zh")return eGe(e);return $We(e)};var tGe=()=>"Model is required",rGe=()=>"模型为必填项",Rv=(e={},r={})=>{if((d??r.locale??n())==="zh")return rGe(e);return tGe(e)};var oGe=()=>"e.g., GPT-4o",aGe=()=>"例如:GPT-4o",kv=(e={},r={})=>{if((d??r.locale??n())==="zh")return aGe(e);return oGe(e)};var nGe=()=>"Model updated successfully",iGe=()=>"模型更新成功",Pv=(e={},r={})=>{if((d??r.locale??n())==="zh")return iGe(e);return nGe(e)};var fGe=()=>"Models",sGe=()=>"模型列表",hd=(e={},r={})=>{if((d??r.locale??n())==="zh")return sGe(e);return fGe(e)};var lGe=()=>"Models Configuration",cGe=()=>"模型配置",Nv=(e={},r={})=>{if((d??r.locale??n())==="zh")return cGe(e);return lGe(e)};var uGe=()=>"More options",dGe=()=>"更多选项",Ov=(e={},r={})=>{if((d??r.locale??n())==="zh")return dGe(e);return uGe(e)};var ZGe=()=>"Move to",pGe=()=>"移动到",kh=(e={},r={})=>{if((d??r.locale??n())==="zh")return pGe(e);return ZGe(e)};var mGe=(e)=>`Moving ${e?.count} item(s)`,hGe=(e)=>`正在移动 ${e?.count} 个项目`,Dv=(e,r={})=>{if((d??r.locale??n())==="zh")return hGe(e);return mGe(e)};var gGe=()=>"My Tasks",MGe=()=>"我的任务",Lv=(e={},r={})=>{if((d??r.locale??n())==="zh")return MGe(e);return gGe(e)};var vGe=(e)=>`${e?.count} Assets`,xGe=(e)=>`${e?.count} 个资源`,qf=(e,r={})=>{if((d??r.locale??n())==="zh")return xGe(e);return vGe(e)};var yGe=(e)=>`${e?.count} assets selected`,bGe=(e)=>`已选择 ${e?.count} 个资产`,_Ge=(e,r={})=>{if((d??r.locale??n())==="zh")return bGe(e);return yGe(e)};var wGe=(e)=>`${e?.count} Asset`,zGe=(e)=>`${e?.count} 个资源`,Hf=(e,r={})=>{if((d??r.locale??n())==="zh")return zGe(e);return wGe(e)};var SGe=(e)=>`${e?.count} days ago`,LGe=(e)=>`${e?.count} 天前`,wfe=(e,r={})=>{if((d??r.locale??n())==="zh")return LGe(e);return SGe(e)};var kGe=(e)=>`${e?.count} day ago`,IGe=(e)=>`${e?.count} 天前`,zfe=(e,r={})=>{if((d??r.locale??n())==="zh")return IGe(e);return kGe(e)};var CGe=(e)=>`${e?.count} Folders`,RGe=(e)=>`${e?.count} 个文件夹`,$f=(e,r={})=>{if((d??r.locale??n())==="zh")return RGe(e);return CGe(e)};var PGe=(e)=>`${e?.count} Folder`,TGe=(e)=>`${e?.count} 个文件夹`,Gf=(e,r={})=>{if((d??r.locale??n())==="zh")return TGe(e);return PGe(e)};var AGe=(e)=>`${e?.count} Items`,DGe=(e)=>`${e?.count} 个项目`,Zv=(e,r={})=>{if((d??r.locale??n())==="zh")return DGe(e);return AGe(e)};var EGe=(e)=>`${e?.count} Item`,OGe=(e)=>`${e?.count} 个项目`,Bv=(e,r={})=>{if((d??r.locale??n())==="zh")return OGe(e);return EGe(e)};var jGe=(e)=>`${e?.count} Models`,NGe=(e)=>`${e?.count} 个模型`,Uv=(e,r={})=>{if((d??r.locale??n())==="zh")return NGe(e);return jGe(e)};var FGe=(e)=>`${e?.count} tasks`,BGe=(e)=>`${e?.count} 个任务`,YGe=(e,r={})=>{if((d??r.locale??n())==="zh")return BGe(e);return FGe(e)};var UGe=(e)=>`${e?.count} task`,qGe=(e)=>`${e?.count} 个任务`,VGe=(e,r={})=>{if((d??r.locale??n())==="zh")return qGe(e);return UGe(e)};var HGe=()=>"Name",WGe=()=>"名称",hl=(e={},r={})=>{if((d??r.locale??n())==="zh")return WGe(e);return HGe(e)};var GGe=()=>"Name is required",KGe=()=>"名称为必填项",Fv=(e={},r={})=>{if((d??r.locale??n())==="zh")return KGe(e);return GGe(e)};var XGe=()=>"John Doe",QGe=()=>"张三",zv=(e={},r={})=>{if((d??r.locale??n())==="zh")return QGe(e);return XGe(e)};var JGe=()=>"You need at least one project in your team to upload skills.",$Ge=()=>"您的团队中至少需要一个项目才能上传技能。",jv=(e={},r={})=>{if((d??r.locale??n())==="zh")return $Ge(e);return JGe(e)};var eKe=()=>"Network Sandbox",tKe=()=>"网络沙箱",qv=(e={},r={})=>{if((d??r.locale??n())==="zh")return tKe(e);return eKe(e)};var rKe=()=>"Configure domain access controls for the sandboxed agent.",oKe=()=>"配置沙箱智能体的域名访问控制。",Hv=(e={},r={})=>{if((d??r.locale??n())==="zh")return oKe(e);return rKe(e)};var aKe=()=>"Network Sandbox is currently OFF. All outbound network requests from agent scripts are permitted without restrictions.",nKe=()=>"网络沙箱目前处于关闭状态。智能体脚本的所有出站网络请求均不受限制。",$v=(e={},r={})=>{if((d??r.locale??n())==="zh")return nKe(e);return aKe(e)};var iKe=()=>"When enabled, network requests from the agent are restricted to allowed domains. When disabled, all network requests are permitted.",fKe=()=>"启用后,智能体的网络请求将受限于允许的域名列表。禁用时,允许所有网络请求。",Gv=(e={},r={})=>{if((d??r.locale??n())==="zh")return fKe(e);return iKe(e)};var sKe=()=>"New Chat",lKe=()=>"开启新会话",Ph=(e={},r={})=>{if((d??r.locale??n())==="zh")return lKe(e);return sKe(e)};var cKe=()=>"New Field",uKe=()=>"新建字段",Qv=(e={},r={})=>{if((d??r.locale??n())==="zh")return uKe(e);return cKe(e)};var dKe=()=>"New Field",ZKe=()=>"新字段",Vv=(e={},r={})=>{if((d??r.locale??n())==="zh")return ZKe(e);return dKe(e)};var pKe=()=>"New Folder",mKe=()=>"新建文件夹",gl=(e={},r={})=>{if((d??r.locale??n())==="zh")return mKe(e);return pKe(e)};var hKe=()=>"New Goal",gKe=()=>"新建目标",Nh=(e={},r={})=>{if((d??r.locale??n())==="zh")return gKe(e);return hKe(e)};var MKe=()=>"New",vKe=()=>"新建",Kv=(e={},r={})=>{if((d??r.locale??n())==="zh")return vKe(e);return MKe(e)};var xKe=()=>"New Option",yKe=()=>"新选项",gd=(e={},r={})=>{if((d??r.locale??n())==="zh")return yKe(e);return xKe(e)};var bKe=()=>"New Password",_Ke=()=>"新密码",Wv=(e={},r={})=>{if((d??r.locale??n())==="zh")return _Ke(e);return bKe(e)};var wKe=()=>"Enter new password",zKe=()=>"输入新密码",Yv=(e={},r={})=>{if((d??r.locale??n())==="zh")return zKe(e);return wKe(e)};var SKe=()=>"Next file",LKe=()=>"下一个文件",Oh=(e={},r={})=>{if((d??r.locale??n())==="zh")return LKe(e);return SKe(e)};var kKe=()=>"Next Page",IKe=()=>"下一页",Jv=(e={},r={})=>{if((d??r.locale??n())==="zh")return IKe(e);return kKe(e)};var CKe=()=>"Don't have an account? ",RKe=()=>"还没有账户?",PKe=(e={},r={})=>{if((d??r.locale??n())==="zh")return RKe(e);return CKe(e)};var TKe=()=>"No activity recorded yet",AKe=()=>"暂无活动记录",DKe=(e={},r={})=>{if((d??r.locale??n())==="zh")return AKe(e);return TKe(e)};var EKe=(e)=>`No ${e?.type} agents found`,OKe=(e)=>`未找到${e?.type}智能体`,Xv=(e,r={})=>{if((d??r.locale??n())==="zh")return OKe(e);return EKe(e)};var jKe=()=>"No API tokens found. Generate one above to get started.",NKe=()=>"未找到 API 令牌。请在上方生成一个以开始使用。",ex=(e={},r={})=>{if((d??r.locale??n())==="zh")return NKe(e);return jKe(e)};var FKe=()=>"No assets in this folder",BKe=()=>"此文件夹中没有资产",YKe=(e={},r={})=>{if((d??r.locale??n())==="zh")return BKe(e);return FKe(e)};var UKe=()=>"No audit logs found",qKe=()=>"未找到审计日志",tx=(e={},r={})=>{if((d??r.locale??n())==="zh")return qKe(e);return UKe(e)};var VKe=()=>"No chat agents found. Please create a Chat Agent below first.",HKe=()=>"未找到聊天智能体。请先在下方创建聊天智能体。",rx=(e={},r={})=>{if((d??r.locale??n())==="zh")return HKe(e);return VKe(e)};var WKe=()=>"No collections created yet.",GKe=()=>"暂无媒体合集。",nx=(e={},r={})=>{if((d??r.locale??n())==="zh")return GKe(e);return WKe(e)};var KKe=()=>"No comments yet",XKe=()=>"暂无评论",Dh=(e={},r={})=>{if((d??r.locale??n())==="zh")return XKe(e);return KKe(e)};var QKe=()=>"No custom domains allowed",JKe=()=>"没有自定义允许域名",ox=(e={},r={})=>{if((d??r.locale??n())==="zh")return JKe(e);return QKe(e)};var $Ke=()=>"No description provided.",eXe=()=>"暂无描述。",Lh=(e={},r={})=>{if((d??r.locale??n())==="zh")return eXe(e);return $Ke(e)};var tXe=()=>'No environment variables found. Click "Add Variable" to create one.',rXe=()=>'未找到环境变量。点击"添加变量"创建一个。',sx=(e={},r={})=>{if((d??r.locale??n())==="zh")return rXe(e);return tXe(e)};var oXe=()=>"No fields found",aXe=()=>"未找到字段",ax=(e={},r={})=>{if((d??r.locale??n())==="zh")return aXe(e);return oXe(e)};var nXe=()=>"No folder selected",iXe=()=>"未选择文件夹",fXe=(e={},r={})=>{if((d??r.locale??n())==="zh")return iXe(e);return nXe(e)};var sXe=()=>"No Folder Structure",lXe=()=>"无文件夹结构",Zh=(e={},r={})=>{if((d??r.locale??n())==="zh")return lXe(e);return sXe(e)};var cXe=()=>"No goals yet",uXe=()=>"暂无目标",ix=(e={},r={})=>{if((d??r.locale??n())==="zh")return uXe(e);return cXe(e)};var dXe=()=>"No chat history found.",ZXe=()=>"暂无历史会话记录",lx=(e={},r={})=>{if((d??r.locale??n())==="zh")return ZXe(e);return dXe(e)};var pXe=()=>"No item selected",mXe=()=>"未选择项目",cx=(e={},r={})=>{if((d??r.locale??n())==="zh")return mXe(e);return pXe(e)};var hXe=()=>"No tasks linked to this asset",gXe=()=>"该资产暂无关联任务",MXe=(e={},r={})=>{if((d??r.locale??n())==="zh")return gXe(e);return hXe(e)};var vXe=()=>"No logs found for this session.",xXe=()=>"未找到此会话的日志。",ux=(e={},r={})=>{if((d??r.locale??n())==="zh")return xXe(e);return vXe(e)};var yXe=()=>"No matches found",bXe=()=>"未找到匹配结果",Bh=(e={},r={})=>{if((d??r.locale??n())==="zh")return bXe(e);return yXe(e)};var _Xe=()=>"No matching tasks found",wXe=()=>"未找到匹配的任务",Sfe=(e={},r={})=>{if((d??r.locale??n())==="zh")return wXe(e);return _Xe(e)};var zXe=()=>"No MCP servers configured",SXe=()=>"暂未配置 MCP 服务",Uh=(e={},r={})=>{if((d??r.locale??n())==="zh")return SXe(e);return zXe(e)};var LXe=()=>"No models found",kXe=()=>"未找到模型",Ad=(e={},r={})=>{if((d??r.locale??n())==="zh")return kXe(e);return LXe(e)};var IXe=()=>"No notifications",CXe=()=>"暂无通知",RXe=(e={},r={})=>{if((d??r.locale??n())==="zh")return CXe(e);return IXe(e)};var PXe=()=>"No options found",TXe=()=>"未找到选项",Fh=(e={},r={})=>{if((d??r.locale??n())==="zh")return TXe(e);return PXe(e)};var AXe=()=>"No pending domains requiring approval",DXe=()=>"没有待审核的域名",dx=(e={},r={})=>{if((d??r.locale??n())==="zh")return DXe(e);return AXe(e)};var EXe=()=>"No project selected",OXe=()=>"未选择项目",Lfe=(e={},r={})=>{if((d??r.locale??n())==="zh")return OXe(e);return EXe(e)};var jXe=()=>"No Providers Configured",NXe=()=>"暂无已配置的提供商",fx=(e={},r={})=>{if((d??r.locale??n())==="zh")return NXe(e);return jXe(e)};var FXe=()=>"No providers found",BXe=()=>"未找到提供商",px=(e={},r={})=>{if((d??r.locale??n())==="zh")return BXe(e);return FXe(e)};var YXe=()=>"Set limits on AI tokens, costs, skill executions, and agent tool calls to manage team usage.",UXe=()=>"为 AI Token、费用、MCP 服务和智能体工具调用设置限制,以便管理团队的使用情况。",Qf=(e={},r={})=>{if((d??r.locale??n())==="zh")return UXe(e);return YXe(e)};var qXe=()=>"No resource quotas configured",VXe=()=>"暂未配置资源配额",Vf=(e={},r={})=>{if((d??r.locale??n())==="zh")return VXe(e);return qXe(e)};var HXe=()=>"No recently viewed files",WXe=()=>"暂无最近浏览文件",Kf=(e={},r={})=>{if((d??r.locale??n())==="zh")return WXe(e);return HXe(e)};var GXe=()=>"Files you view in this project will appear here.",KXe=()=>"您在此项目中查看的文件将显示在此处。",Wf=(e={},r={})=>{if((d??r.locale??n())==="zh")return KXe(e);return GXe(e)};var XXe=()=>"No records matched your criteria",QXe=()=>"没有记录匹配您的条件",mx=(e={},r={})=>{if((d??r.locale??n())==="zh")return QXe(e);return XXe(e)};var JXe=()=>"No related assets linked",$Xe=()=>"暂无关联资产",eQe=(e={},r={})=>{if((d??r.locale??n())==="zh")return $Xe(e);return JXe(e)};var tQe=()=>"No sessions found",rQe=()=>"未找到会话",hx=(e={},r={})=>{if((d??r.locale??n())==="zh")return rQe(e);return tQe(e)};var oQe=()=>"No share links created yet.",aQe=()=>"暂无分享链接。",gx=(e={},r={})=>{if((d??r.locale??n())==="zh")return aQe(e);return oQe(e)};var nQe=()=>"No skills available.",iQe=()=>"暂无可用技能。",Ax=(e={},r={})=>{if((d??r.locale??n())==="zh")return iQe(e);return nQe(e)};var fQe=()=>"No skills installed",sQe=()=>"暂无已安装的技能",yx=(e={},r={})=>{if((d??r.locale??n())==="zh")return sQe(e);return fQe(e)};var lQe=()=>"No tasks in this column",cQe=()=>"该列暂无任务",_x=(e={},r={})=>{if((d??r.locale??n())==="zh")return cQe(e);return lQe(e)};var uQe=()=>"No saved templates",dQe=()=>"没有保存的模板",bx=(e={},r={})=>{if((d??r.locale??n())==="zh")return dQe(e);return uQe(e)};var ZQe=()=>"No tools found matching your search.",pQe=()=>"未找到符合搜索条件的工具。",wx=(e={},r={})=>{if((d??r.locale??n())==="zh")return pQe(e);return ZQe(e)};var mQe=()=>"Upload files in the project view to track progress here.",hQe=()=>"在项目视图中上传文件以在此处跟踪进度。",gQe=(e={},r={})=>{if((d??r.locale??n())==="zh")return hQe(e);return mQe(e)};var MQe=()=>"No uploads yet",vQe=()=>"暂无上传",xQe=(e={},r={})=>{if((d??r.locale??n())==="zh")return vQe(e);return MQe(e)};var yQe=()=>"No versions found",bQe=()=>"暂无版本",_Qe=(e={},r={})=>{if((d??r.locale??n())==="zh")return bQe(e);return yQe(e)};var wQe=()=>"No watermark blocks added yet",zQe=()=>"尚未添加水印块",vx=(e={},r={})=>{if((d??r.locale??n())==="zh")return zQe(e);return wQe(e)};var SQe=()=>"Notification",LQe=()=>"通知",xx=(e={},r={})=>{if((d??r.locale??n())==="zh")return LQe(e);return SQe(e)};var kQe=(e)=>`${e?.creator} commented on ${e?.asset}`,IQe=(e)=>`${e?.creator} 评论了 ${e?.asset}`,CQe=(e,r={})=>{if((d??r.locale??n())==="zh")return IQe(e);return kQe(e)};var RQe=(e)=>`New notification from ${e?.creator}`,PQe=(e)=>`来自 ${e?.creator} 的新通知`,TQe=(e,r={})=>{if((d??r.locale??n())==="zh")return PQe(e);return RQe(e)};var AQe=(e)=>`${e?.user} joined ${e?.project}`,DQe=(e)=>`${e?.user} 加入了 ${e?.project}`,EQe=(e,r={})=>{if((d??r.locale??n())==="zh")return DQe(e);return AQe(e)};var OQe=(e)=>`${e?.user} joined ${e?.team}`,jQe=(e)=>`${e?.user} 加入了 ${e?.team}`,NQe=(e,r={})=>{if((d??r.locale??n())==="zh")return jQe(e);return OQe(e)};var FQe=(e)=>`${e?.creator} assigned you to task ${e?.task}`,BQe=(e)=>`${e?.creator} 将任务 ${e?.task} 分配给了你`,YQe=(e,r={})=>{if((d??r.locale??n())==="zh")return BQe(e);return FQe(e)};var UQe=(e)=>`${e?.creator} commented on task ${e?.task}`,qQe=(e)=>`${e?.creator} 评论了任务 ${e?.task}`,VQe=(e,r={})=>{if((d??r.locale??n())==="zh")return qQe(e);return UQe(e)};var HQe=(e)=>`${e?.creator} created task ${e?.task}`,WQe=(e)=>`${e?.creator} 创建了任务 ${e?.task}`,GQe=(e,r={})=>{if((d??r.locale??n())==="zh")return WQe(e);return HQe(e)};var KQe=(e)=>`${e?.creator} deleted task ${e?.task}`,XQe=(e)=>`${e?.creator} 删除了任务 ${e?.task}`,QQe=(e,r={})=>{if((d??r.locale??n())==="zh")return XQe(e);return KQe(e)};var JQe=(e)=>`${e?.creator} updated status of task ${e?.task}`,$Qe=(e)=>`${e?.creator} 更新了任务 ${e?.task} 的状态`,eJe=(e,r={})=>{if((d??r.locale??n())==="zh")return $Qe(e);return JQe(e)};var tJe=(e)=>`${e?.creator} updated task ${e?.task}`,rJe=(e)=>`${e?.creator} 更新了任务 ${e?.task}`,oJe=(e,r={})=>{if((d??r.locale??n())==="zh")return rJe(e);return tJe(e)};var aJe=(e)=>`${e?.creator} mentioned you in ${e?.asset}`,nJe=(e)=>`${e?.creator} 在 ${e?.asset} 中提及了你`,iJe=(e,r={})=>{if((d??r.locale??n())==="zh")return nJe(e);return aJe(e)};var fJe=(e)=>`${e?.creator} mentioned you in task ${e?.task}`,sJe=(e)=>`${e?.creator} 在任务 ${e?.task} 中提及了你`,lJe=(e,r={})=>{if((d??r.locale??n())==="zh")return sJe(e);return fJe(e)};var cJe=(e)=>`${e?.creator} replied to a comment on ${e?.asset}`,uJe=(e)=>`${e?.creator} 回复了 ${e?.asset} 上的评论`,dJe=(e,r={})=>{if((d??r.locale??n())==="zh")return uJe(e);return cJe(e)};var ZJe=()=>"Notification Settings",pJe=()=>"通知设置",Sx=(e={},r={})=>{if((d??r.locale??n())==="zh")return pJe(e);return ZJe(e)};var mJe=()=>"Notification settings updated",hJe=()=>"通知设置已更新",Cx=(e={},r={})=>{if((d??r.locale??n())==="zh")return hJe(e);return mJe(e)};var gJe=(e)=>`${e?.creator} updated status of ${e?.asset}`,MJe=(e)=>`${e?.creator} 更新了 ${e?.asset} 的状态`,vJe=(e,r={})=>{if((d??r.locale??n())==="zh")return MJe(e);return gJe(e)};var xJe=(e)=>`${e?.creator} uploaded ${e?.asset} to ${e?.project}`,yJe=(e)=>`${e?.creator} 将 ${e?.asset} 上传到 ${e?.project}`,bJe=(e,r={})=>{if((d??r.locale??n())==="zh")return yJe(e);return xJe(e)};var _Je=()=>"Notifications",wJe=()=>"通知",zh=(e={},r={})=>{if((d??r.locale??n())==="zh")return wJe(e);return _Je(e)};var zJe=()=>"Configure your personal notification preferences for this team.",SJe=()=>"配置您在此团队的个人通知偏好。",Ex=(e={},r={})=>{if((d??r.locale??n())==="zh")return SJe(e);return zJe(e)};var LJe=()=>"Only team owners can access the dashboard.",kJe=()=>"只有团队所有者才能访问仪表盘。",Ix=(e={},r={})=>{if((d??r.locale??n())==="zh")return kJe(e);return LJe(e)};var IJe=()=>"Only .zip files are supported.",CJe=()=>"仅支持 .zip 文件。",Tx=(e={},r={})=>{if((d??r.locale??n())==="zh")return CJe(e);return IJe(e)};var RJe=()=>"Opacity",PJe=()=>"透明度",Mx=(e={},r={})=>{if((d??r.locale??n())==="zh")return PJe(e);return RJe(e)};var TJe=()=>"Open a supported file to add markup",AJe=()=>"打开支持的文件以添加标注",Rx=(e={},r={})=>{if((d??r.locale??n())==="zh")return AJe(e);return TJe(e)};var DJe=()=>"Open Share Link",EJe=()=>"打开分享链接",kx=(e={},r={})=>{if((d??r.locale??n())==="zh")return EJe(e);return DJe(e)};var OJe=()=>"Operator",jJe=()=>"运算符",Px=(e={},r={})=>{if((d??r.locale??n())==="zh")return jJe(e);return OJe(e)};var NJe=()=>"contains",FJe=()=>"包含",Nx=(e={},r={})=>{if((d??r.locale??n())==="zh")return FJe(e);return NJe(e)};var BJe=()=>"does not contain",YJe=()=>"不包含",Ox=(e={},r={})=>{if((d??r.locale??n())==="zh")return YJe(e);return BJe(e)};var UJe=()=>"has all of",qJe=()=>"含有全部",Dx=(e={},r={})=>{if((d??r.locale??n())==="zh")return qJe(e);return UJe(e)};var VJe=()=>"has any of",HJe=()=>"含有其中之一",Lx=(e={},r={})=>{if((d??r.locale??n())==="zh")return HJe(e);return VJe(e)};var WJe=()=>"has none of",GJe=()=>"不含有其中任何",Zx=(e={},r={})=>{if((d??r.locale??n())==="zh")return GJe(e);return WJe(e)};var KJe=()=>"is",XJe=()=>"是",Al=(e={},r={})=>{if((d??r.locale??n())==="zh")return XJe(e);return KJe(e)};var QJe=()=>"is after",JJe=()=>"在之后",Bx=(e={},r={})=>{if((d??r.locale??n())==="zh")return JJe(e);return QJe(e)};var $Je=()=>"is any of",e$e=()=>"是其中之一",Ux=(e={},r={})=>{if((d??r.locale??n())==="zh")return e$e(e);return $Je(e)};var t$e=()=>"is before",r$e=()=>"在之前",Fx=(e={},r={})=>{if((d??r.locale??n())==="zh")return r$e(e);return t$e(e)};var o$e=()=>"is empty",a$e=()=>"为空",yl=(e={},r={})=>{if((d??r.locale??n())==="zh")return a$e(e);return o$e(e)};var n$e=()=>"is exactly",i$e=()=>"完全匹配",zx=(e={},r={})=>{if((d??r.locale??n())==="zh")return i$e(e);return n$e(e)};var f$e=()=>"is none of",s$e=()=>"不在其中",jx=(e={},r={})=>{if((d??r.locale??n())==="zh")return s$e(e);return f$e(e)};var l$e=()=>"is not",c$e=()=>"不是",yd=(e={},r={})=>{if((d??r.locale??n())==="zh")return c$e(e);return l$e(e)};var u$e=()=>"is not empty",d$e=()=>"不为空",_l=(e={},r={})=>{if((d??r.locale??n())==="zh")return d$e(e);return u$e(e)};var Z$e=()=>"is on or after",p$e=()=>"在当天或之后",qx=(e={},r={})=>{if((d??r.locale??n())==="zh")return p$e(e);return Z$e(e)};var m$e=()=>"is on or before",h$e=()=>"在当天或之前",Hx=(e={},r={})=>{if((d??r.locale??n())==="zh")return h$e(e);return m$e(e)};var g$e=()=>"is within",M$e=()=>"在范围内",$x=(e={},r={})=>{if((d??r.locale??n())==="zh")return M$e(e);return g$e(e)};var v$e=()=>"Option name",x$e=()=>"选项名称",Yf=(e={},r={})=>{if((d??r.locale??n())==="zh")return x$e(e);return v$e(e)};var y$e=()=>"Optional default value...",b$e=()=>"可选默认值...",Gx=(e={},r={})=>{if((d??r.locale??n())==="zh")return b$e(e);return y$e(e)};var _$e=()=>"Options",w$e=()=>"选项",_d=(e={},r={})=>{if((d??r.locale??n())==="zh")return w$e(e);return _$e(e)};var z$e=()=>"OR",S$e=()=>"或",Qx=(e={},r={})=>{if((d??r.locale??n())==="zh")return S$e(e);return z$e(e)};var L$e=()=>"Order",k$e=()=>"顺序",Jf=(e={},r={})=>{if((d??r.locale??n())==="zh")return k$e(e);return L$e(e)};var I$e=()=>"Original",C$e=()=>"原始",bl=(e={},r={})=>{if((d??r.locale??n())==="zh")return C$e(e);return I$e(e)};var R$e=()=>"Other Uploads",P$e=()=>"其他上传",Vx=(e={},r={})=>{if((d??r.locale??n())==="zh")return P$e(e);return R$e(e)};var T$e=()=>"Output Cost (1M)",A$e=()=>"输出成本(每百万)",Kx=(e={},r={})=>{if((d??r.locale??n())==="zh")return A$e(e);return T$e(e)};var D$e=()=>"Output Tokens",E$e=()=>"输出 Token",jh=(e={},r={})=>{if((d??r.locale??n())==="zh")return E$e(e);return D$e(e)};var O$e=()=>"Override the default endpoint.",j$e=()=>"覆盖默认端点。",qh=(e={},r={})=>{if((d??r.locale??n())==="zh")return j$e(e);return O$e(e)};var N$e=()=>"Do you want to override the existing skill?",F$e=()=>"你想覆盖现有技能吗?",Wx=(e={},r={})=>{if((d??r.locale??n())==="zh")return F$e(e);return N$e(e)};var B$e=()=>"Overwrite Existing Template",Y$e=()=>"覆盖现有模板",Hh=(e={},r={})=>{if((d??r.locale??n())==="zh")return Y$e(e);return B$e(e)};var U$e=()=>"Owner",q$e=()=>"管理员",Zc=(e={},r={})=>{if((d??r.locale??n())==="zh")return q$e(e);return U$e(e)};var V$e=()=>"Package Upload",H$e=()=>"包上传",Yx=(e={},r={})=>{if((d??r.locale??n())==="zh")return H$e(e);return V$e(e)};var W$e=()=>"Packages must contain a SKILL.md",G$e=()=>"包必须包含 SKILL.md",Jx=(e={},r={})=>{if((d??r.locale??n())==="zh")return G$e(e);return W$e(e)};var K$e=(e)=>`Page ${e?.current} of ${e?.total}`,X$e=(e)=>`第 ${e?.current} / ${e?.total} 页`,Xx=(e,r={})=>{if((d??r.locale??n())==="zh")return X$e(e);return K$e(e)};var Q$e=(e)=>`Page ${e?.page}`,J$e=(e)=>`第 ${e?.page} 页`,$h=(e,r={})=>{if((d??r.locale??n())==="zh")return J$e(e);return Q$e(e)};var $$e=()=>"Parameters",eet=()=>"参数",eS=(e={},r={})=>{if((d??r.locale??n())==="zh")return eet(e);return $$e(e)};var tet=()=>"Parent Tasks",ret=()=>"前置任务",Gh=(e={},r={})=>{if((d??r.locale??n())==="zh")return ret(e);return tet(e)};var oet=()=>"Password",aet=()=>"密码",Xf=(e={},r={})=>{if((d??r.locale??n())==="zh")return aet(e);return oet(e)};var net=()=>"Password is required",iet=()=>"密码为必填项",fet=(e={},r={})=>{if((d??r.locale??n())==="zh")return iet(e);return net(e)};var set=()=>"Password must be at least 3 characters",cet=()=>"密码至少需要 3 个字符",ep=(e={},r={})=>{if((d??r.locale??n())==="zh")return cet(e);return set(e)};var uet=()=>"At least 3 characters",det=()=>"至少 3 个字符",Zet=(e={},r={})=>{if((d??r.locale??n())==="zh")return det(e);return uet(e)};var pet=()=>"Your password",met=()=>"请输入密码",het=(e={},r={})=>{if((d??r.locale??n())==="zh")return met(e);return pet(e)};var get=()=>"Password Protected",Met=()=>"密码保护",tS=(e={},r={})=>{if((d??r.locale??n())==="zh")return Met(e);return get(e)};var vet=()=>"Password reset successfully!",xet=()=>"密码重置成功!",rS=(e={},r={})=>{if((d??r.locale??n())==="zh")return xet(e);return vet(e)};var yet=()=>"You will be redirected to the login page shortly.",bet=()=>"您将很快被重定向到登录页面。",nS=(e={},r={})=>{if((d??r.locale??n())==="zh")return bet(e);return yet(e)};var _et=()=>"Passwords do not match",wet=()=>"两次输入的密码不一致",oS=(e={},r={})=>{if((d??r.locale??n())==="zh")return wet(e);return _et(e)};var zet=()=>"Pending Domain Approvals",Let=()=>"待审核域名",sS=(e={},r={})=>{if((d??r.locale??n())==="zh")return Let(e);return zet(e)};var ket=()=>"These domains were blocked during agent execution. You can approve them to allow future network requests, or delete them from this list.",Iet=()=>"这些域名在智能体执行期间被阻止。您可以批准它们以允许将来的网络请求,或从此列表中删除它们。",aS=(e={},r={})=>{if((d??r.locale??n())==="zh")return Iet(e);return ket(e)};var Cet=()=>"All Users",Ret=()=>"所有成员",Mi=(e={},r={})=>{if((d??r.locale??n())==="zh")return Ret(e);return Cet(e)};var Pet=()=>"Owner & Editor",Tet=()=>"管理员与编辑",Ri=(e={},r={})=>{if((d??r.locale??n())==="zh")return Tet(e);return Pet(e)};var Aet=()=>"Owner Only",Det=()=>"仅管理员",ki=(e={},r={})=>{if((d??r.locale??n())==="zh")return Det(e);return Aet(e)};var Eet=()=>"Personal Info",Oet=()=>"个人信息",iS=(e={},r={})=>{if((d??r.locale??n())==="zh")return Oet(e);return Eet(e)};var jet=()=>"Manage your profile name and avatar image.",Net=()=>"管理您的个人资料名称和头像图片。",lS=(e={},r={})=>{if((d??r.locale??n())==="zh")return Net(e);return jet(e)};var Fet=()=>"Personal Settings",Bet=()=>"个人设置",cS=(e={},r={})=>{if((d??r.locale??n())==="zh")return Bet(e);return Fet(e)};var Yet=()=>"Playback Speed",Uet=()=>"播放速度",uS=(e={},r={})=>{if((d??r.locale??n())==="zh")return Uet(e);return Yet(e)};var qet=()=>"Position and resize",Vet=()=>"定位和调整大小",dS=(e={},r={})=>{if((d??r.locale??n())==="zh")return Vet(e);return qet(e)};var Het=()=>"Position X (%)",Wet=()=>"水平位置 (%)",fS=(e={},r={})=>{if((d??r.locale??n())==="zh")return Wet(e);return Het(e)};var Get=()=>"Position Y (%)",Ket=()=>"垂直位置 (%)",pS=(e={},r={})=>{if((d??r.locale??n())==="zh")return Ket(e);return Get(e)};var Xet=()=>"Preparing Download",Qet=()=>"正在准备下载",Qh=(e={},r={})=>{if((d??r.locale??n())==="zh")return Qet(e);return Xet(e)};var Jet=()=>"Preparing download links...",$et=()=>"正在准备下载链接...",Vh=(e={},r={})=>{if((d??r.locale??n())==="zh")return $et(e);return Jet(e)};var ett=()=>"Preset Avatar Option",ttt=()=>"预设头像选项",mS=(e={},r={})=>{if((d??r.locale??n())==="zh")return ttt(e);return ett(e)};var rtt=()=>"Previous file",ott=()=>"上一个文件",Kh=(e={},r={})=>{if((d??r.locale??n())==="zh")return ott(e);return rtt(e)};var att=()=>"Previous Page",ntt=()=>"上一页",tp=(e={},r={})=>{if((d??r.locale??n())==="zh")return ntt(e);return att(e)};var itt=()=>"Pricing ($ per 1M tokens)",ftt=()=>"计费(每百万令牌美元)",hS=(e={},r={})=>{if((d??r.locale??n())==="zh")return ftt(e);return itt(e)};var stt=()=>"High",ltt=()=>"高",ctt=(e={},r={})=>{if((d??r.locale??n())==="zh")return ltt(e);return stt(e)};var utt=()=>"Low",dtt=()=>"低",Ztt=(e={},r={})=>{if((d??r.locale??n())==="zh")return dtt(e);return utt(e)};var ptt=()=>"Medium",mtt=()=>"中",htt=(e={},r={})=>{if((d??r.locale??n())==="zh")return mtt(e);return ptt(e)};var gtt=()=>"Urgent",Mtt=()=>"紧急",vtt=(e={},r={})=>{if((d??r.locale??n())==="zh")return Mtt(e);return gtt(e)};var xtt=()=>"Processing...",ytt=()=>"处理中...",gS=(e={},r={})=>{if((d??r.locale??n())==="zh")return ytt(e);return xtt(e)};var btt=()=>"Processing package...",_tt=()=>"正在处理包...",AS=(e={},r={})=>{if((d??r.locale??n())==="zh")return _tt(e);return btt(e)};var wtt=()=>"Profile updated successfully",ztt=()=>"个人资料更新成功",Wh=(e={},r={})=>{if((d??r.locale??n())==="zh")return ztt(e);return wtt(e)};var Stt=()=>"project",Ltt=()=>"项目",yS=(e={},r={})=>{if((d??r.locale??n())==="zh")return Ltt(e);return Stt(e)};var ktt=()=>"Project Cover",Itt=()=>"项目封面",_S=(e={},r={})=>{if((d??r.locale??n())==="zh")return Itt(e);return ktt(e)};var Ctt=()=>"Project ID",Rtt=()=>"项目 ID",bS=(e={},r={})=>{if((d??r.locale??n())==="zh")return Rtt(e);return Ctt(e)};var Ptt=()=>"Project Member",Ttt=()=>"项目成员",rp=(e={},r={})=>{if((d??r.locale??n())==="zh")return Ttt(e);return Ptt(e)};var Att=()=>"Project-scoped member roles are managed within individual project settings",Dtt=()=>"项目成员的角色需在具体的项目设置中管理",wS=(e={},r={})=>{if((d??r.locale??n())==="zh")return Dtt(e);return Att(e)};var Ett=()=>"Project Members",Ott=()=>"项目成员",vS=(e={},r={})=>{if((d??r.locale??n())==="zh")return Ott(e);return Ett(e)};var jtt=()=>"Project Name",Ntt=()=>"项目名称",xS=(e={},r={})=>{if((d??r.locale??n())==="zh")return Ntt(e);return jtt(e)};var Ftt=()=>"A clear, concise name to identify your project space.",Btt=()=>"简洁明了的名称,用于标识您的项目空间。",SS=(e={},r={})=>{if((d??r.locale??n())==="zh")return Btt(e);return Ftt(e)};var Ytt=()=>"e.g. Acme Marketing, Q3 Product Launch...",Utt=()=>"例如:品牌营销、第三季度产品发布...",CS=(e={},r={})=>{if((d??r.locale??n())==="zh")return Utt(e);return Ytt(e)};var qtt=()=>"Project notification settings updated",Vtt=()=>"项目通知设置已更新",ES=(e={},r={})=>{if((d??r.locale??n())==="zh")return Vtt(e);return qtt(e)};var Htt=()=>"Project Preferences",Wtt=()=>"项目偏好设置",IS=(e={},r={})=>{if((d??r.locale??n())==="zh")return Wtt(e);return Htt(e)};var Gtt=()=>"Project Settings",Ktt=()=>"项目设置",Yh=(e={},r={})=>{if((d??r.locale??n())==="zh")return Ktt(e);return Gtt(e)};var Xtt=()=>"Projects",Qtt=()=>"项目",TS=(e={},r={})=>{if((d??r.locale??n())==="zh")return Qtt(e);return Xtt(e)};var Jtt=()=>"Please provide your name and email to add a comment.",$tt=()=>"请提供您的姓名和邮箱以添加评论。",MS=(e={},r={})=>{if((d??r.locale??n())==="zh")return $tt(e);return Jtt(e)};var ert=()=>"Provider",trt=()=>"提供商",RS=(e={},r={})=>{if((d??r.locale??n())==="zh")return trt(e);return ert(e)};var rrt=()=>"Provider created successfully",ort=()=>"提供商创建成功",kS=(e={},r={})=>{if((d??r.locale??n())==="zh")return ort(e);return rrt(e)};var art=()=>"Provider deleted successfully",nrt=()=>"提供商删除成功",PS=(e={},r={})=>{if((d??r.locale??n())==="zh")return nrt(e);return art(e)};var irt=()=>"Provider is required",frt=()=>"提供商为必填项",NS=(e={},r={})=>{if((d??r.locale??n())==="zh")return frt(e);return irt(e)};var srt=()=>"Provider Name",lrt=()=>"提供商名称",Jh=(e={},r={})=>{if((d??r.locale??n())==="zh")return lrt(e);return srt(e)};var crt=()=>"Provider name is required",urt=()=>"提供商名称为必填项",Xh=(e={},r={})=>{if((d??r.locale??n())==="zh")return urt(e);return crt(e)};var drt=()=>"Provider name must be unique",Zrt=()=>"提供商名称必须唯一",eg=(e={},r={})=>{if((d??r.locale??n())==="zh")return Zrt(e);return drt(e)};var prt=()=>"e.g., My OpenAI",mrt=()=>"例如:我的 OpenAI",tg=(e={},r={})=>{if((d??r.locale??n())==="zh")return mrt(e);return prt(e)};var hrt=()=>"This provider is not configured. Configure an API key in the API Key tab before using these models.",grt=()=>"此提供商尚未配置。在使用这些模型前,请在 API 密钥标签页中配置密钥。",OS=(e={},r={})=>{if((d??r.locale??n())==="zh")return grt(e);return hrt(e)};var Mrt=()=>"Configured (Custom)",vrt=()=>"已配置(自定义)",rg=(e={},r={})=>{if((d??r.locale??n())==="zh")return vrt(e);return Mrt(e)};var xrt=()=>"Configured (Environment)",yrt=()=>"已配置(环境变量)",ng=(e={},r={})=>{if((d??r.locale??n())==="zh")return yrt(e);return xrt(e)};var brt=()=>"Not Configured",_rt=()=>"未配置",og=(e={},r={})=>{if((d??r.locale??n())==="zh")return _rt(e);return brt(e)};var wrt=()=>"Provider updated successfully",zrt=()=>"提供商更新成功",sg=(e={},r={})=>{if((d??r.locale??n())==="zh")return zrt(e);return wrt(e)};var Srt=()=>"Providers",Lrt=()=>"提供商",DS=(e={},r={})=>{if((d??r.locale??n())==="zh")return Lrt(e);return Srt(e)};var krt=()=>"Configure AI providers and their models for this team.",Irt=()=>"为此团队配置 AI 提供商及其模型。",LS=(e={},r={})=>{if((d??r.locale??n())==="zh")return Irt(e);return krt(e)};var Crt=()=>"Public Link",Rrt=()=>"公开链接",ZS=(e={},r={})=>{if((d??r.locale??n())==="zh")return Rrt(e);return Crt(e)};var Prt=()=>"Quality",Trt=()=>"画质",ag=(e={},r={})=>{if((d??r.locale??n())==="zh")return Trt(e);return Prt(e)};var Art=()=>"Querying database...",Drt=()=>"正在查询数据库...",BS=(e={},r={})=>{if((d??r.locale??n())==="zh")return Drt(e);return Art(e)};var Ert=()=>"Quota available",Ort=()=>"配额可用",ig=(e={},r={})=>{if((d??r.locale??n())==="zh")return Ort(e);return Ert(e)};var jrt=()=>"Supports wildcards (*). Examples: git *, npm test, curl *, python script.py (use * for all commands)",Nrt=()=>"支持通配符 (*)。示例:git *、npm test、curl *、python script.py(使用 * 匹配所有命令)",US=(e={},r={})=>{if((d??r.locale??n())==="zh")return Nrt(e);return jrt(e)};var Frt=()=>"Collapse quota rule",Brt=()=>"收起配额规则",FS=(e={},r={})=>{if((d??r.locale??n())==="zh")return Brt(e);return Frt(e)};var Yrt=()=>"Quota rule created successfully",Urt=()=>"配额规则创建成功",zS=(e={},r={})=>{if((d??r.locale??n())==="zh")return Urt(e);return Yrt(e)};var qrt=()=>"Monitor live quota usage and reset individual usage windows.",Vrt=()=>"在仪表盘中监控实时配额使用情况,并重置单个使用窗口。",jS=(e={},r={})=>{if((d??r.locale??n())==="zh")return Vrt(e);return qrt(e)};var Hrt=()=>"Quota rule deleted successfully",Wrt=()=>"配额规则删除成功",lg=(e={},r={})=>{if((d??r.locale??n())==="zh")return Wrt(e);return Hrt(e)};var Grt=()=>"Disabled",Krt=()=>"已禁用",np=(e={},r={})=>{if((d??r.locale??n())==="zh")return Krt(e);return Grt(e)};var Xrt=()=>"Enabled",Qrt=()=>"已启用",qS=(e={},r={})=>{if((d??r.locale??n())==="zh")return Qrt(e);return Xrt(e)};var Jrt=()=>"Expand quota rule",$rt=()=>"展开配额规则",HS=(e={},r={})=>{if((d??r.locale??n())==="zh")return $rt(e);return Jrt(e)};var eot=()=>"Limit",tot=()=>"上限",$S=(e={},r={})=>{if((d??r.locale??n())==="zh")return tot(e);return eot(e)};var rot=()=>"e.g. 100000",oot=()=>"例如 100000",GS=(e={},r={})=>{if((d??r.locale??n())==="zh")return oot(e);return rot(e)};var aot=()=>"No usage records found",not=()=>"暂无使用记录",QS=(e={},r={})=>{if((d??r.locale??n())==="zh")return not(e);return aot(e)};var iot=()=>"Period Window",fot=()=>"周期窗口",VS=(e={},r={})=>{if((d??r.locale??n())==="zh")return fot(e);return iot(e)};var sot=()=>"1 Day",lot=()=>"1 天",op=(e={},r={})=>{if((d??r.locale??n())==="zh")return lot(e);return sot(e)};var cot=()=>"1 Hour",uot=()=>"1 小时",sp=(e={},r={})=>{if((d??r.locale??n())==="zh")return uot(e);return cot(e)};var dot=()=>"5 Hours",Zot=()=>"5 小时",ap=(e={},r={})=>{if((d??r.locale??n())==="zh")return Zot(e);return dot(e)};var pot=()=>"7 Days",mot=()=>"7 天",ip=(e={},r={})=>{if((d??r.locale??n())==="zh")return mot(e);return pot(e)};var hot=(e)=>`Refreshes in ${e?.time}`,got=(e)=>`${e?.time} 后重置`,cg=(e,r={})=>{if((d??r.locale??n())==="zh")return got(e);return hot(e)};var Mot=()=>"Remaining",vot=()=>"剩余额度",KS=(e={},r={})=>{if((d??r.locale??n())==="zh")return vot(e);return Mot(e)};var xot=()=>"Quota usage reset successfully",yot=()=>"配额使用量重置成功",WS=(e={},r={})=>{if((d??r.locale??n())==="zh")return yot(e);return xot(e)};var bot=()=>"Reset Usage",_ot=()=>"重置使用量",ug=(e={},r={})=>{if((d??r.locale??n())==="zh")return _ot(e);return bot(e)};var wot=(e)=>`Reset usage for ${e?.target}? Consumption will be cleared and a new quota window will start now.`,zot=(e)=>`确定要重置 ${e?.target} 的使用量吗?当前消耗将被清零,并立即开始新的配额周期。`,YS=(e,r={})=>{if((d??r.locale??n())==="zh")return zot(e);return wot(e)};var Sot=()=>"Resource",Lot=()=>"资源类型",JS=(e={},r={})=>{if((d??r.locale??n())==="zh")return Lot(e);return Sot(e)};var kot=()=>"Agent Bash Calls",Iot=()=>"智能体 Bash 执行次数",bd=(e={},r={})=>{if((d??r.locale??n())==="zh")return Iot(e);return kot(e)};var Cot=()=>"AI Cost ($)",Rot=()=>"AI 费用 ($)",wd=(e={},r={})=>{if((d??r.locale??n())==="zh")return Rot(e);return Cot(e)};var Pot=()=>"MCP Server Calls",Tot=()=>"MCP 服务调用次数",vd=(e={},r={})=>{if((d??r.locale??n())==="zh")return Tot(e);return Pot(e)};var Aot=()=>"Agent Tool Calls",Dot=()=>"智能体工具调用次数",xd=(e={},r={})=>{if((d??r.locale??n())==="zh")return Dot(e);return Aot(e)};var Eot=()=>"AI Tokens",Oot=()=>"AI Token 总量",Sd=(e={},r={})=>{if((d??r.locale??n())==="zh")return Oot(e);return Eot(e)};var jot=()=>"Role Shared Pool",Not=()=>"角色共享配额池",XS=(e={},r={})=>{if((d??r.locale??n())==="zh")return Not(e);return jot(e)};var Fot=()=>"Scope",Bot=()=>"范围",eC=(e={},r={})=>{if((d??r.locale??n())==="zh")return Bot(e);return Fot(e)};var Yot=()=>"Target Mode",Uot=()=>"目标模式",tC=(e={},r={})=>{if((d??r.locale??n())==="zh")return Uot(e);return Yot(e)};var qot=()=>"All Members",Vot=()=>"所有成员",Cd=(e={},r={})=>{if((d??r.locale??n())==="zh")return Vot(e);return qot(e)};var Hot=()=>"Shared pooled limit across all matching members",Wot=()=>"所有符合条件的成员共同享有总配额上限",rC=(e={},r={})=>{if((d??r.locale??n())==="zh")return Wot(e);return Hot(e)};var Got=()=>"Each Member",Kot=()=>"每个成员",Ed=(e={},r={})=>{if((d??r.locale??n())==="zh")return Kot(e);return Got(e)};var Xot=()=>"Individual limit for each matching member",Qot=()=>"为每个符合条件的成员分别设定独立的配额上限",nC=(e={},r={})=>{if((d??r.locale??n())==="zh")return Qot(e);return Xot(e)};var Jot=()=>"Selected Members",$ot=()=>"指定成员",Id=(e={},r={})=>{if((d??r.locale??n())==="zh")return $ot(e);return Jot(e)};var eat=()=>"Individual limit for selected users",tat=()=>"为选定的成员分别设定独立的配额上限",oC=(e={},r={})=>{if((d??r.locale??n())==="zh")return tat(e);return eat(e)};var rat=()=>"Role-based",oat=()=>"按角色",lp=(e={},r={})=>{if((d??r.locale??n())==="zh")return oat(e);return rat(e)};var aat=()=>"Entire Team",nat=()=>"整个团队",wl=(e={},r={})=>{if((d??r.locale??n())==="zh")return nat(e);return aat(e)};var iat=()=>"Search members...",fat=()=>"搜索成员...",cp=(e={},r={})=>{if((d??r.locale??n())==="zh")return fat(e);return iat(e)};var sat=(e)=>`${e?.count} members selected`,lat=(e)=>`已选择 ${e?.count} 位成员`,sC=(e,r={})=>{if((d??r.locale??n())==="zh")return lat(e);return sat(e)};var cat=()=>"Quota status updated",uat=()=>"配额状态已更新",aC=(e={},r={})=>{if((d??r.locale??n())==="zh")return uat(e);return cat(e)};var dat=(e)=>`Match: ${e?.value}`,Zat=(e)=>`匹配:${e?.value}`,iC=(e,r={})=>{if((d??r.locale??n())==="zh")return Zat(e);return dat(e)};var pat=(e)=>`Server: ${e?.value}`,mat=(e)=>`服务:${e?.value}`,lC=(e,r={})=>{if((d??r.locale??n())==="zh")return mat(e);return pat(e)};var hat=(e)=>`Tool: ${e?.value}`,gat=(e)=>`工具:${e?.value}`,cC=(e,r={})=>{if((d??r.locale??n())==="zh")return gat(e);return hat(e)};var Mat=()=>"Team Shared Pool",vat=()=>"团队共享配额池",uC=(e={},r={})=>{if((d??r.locale??n())==="zh")return vat(e);return Mat(e)};var xat=()=>"Select a specific agent tool to configure its quota limit",yat=()=>"选择特定的智能体工具以配置其配额限制",dC=(e={},r={})=>{if((d??r.locale??n())==="zh")return yat(e);return xat(e)};var bat=()=>"Quota rule updated successfully",_at=()=>"配额规则更新成功",fC=(e={},r={})=>{if((d??r.locale??n())==="zh")return _at(e);return bat(e)};var wat=()=>"Quotas",zat=()=>"配额",Td=(e={},r={})=>{if((d??r.locale??n())==="zh")return zat(e);return wat(e)};var Sat=()=>"Ready to Search",Lat=()=>"准备搜索",pC=(e={},r={})=>{if((d??r.locale??n())==="zh")return Lat(e);return Sat(e)};var kat=()=>"Reasoning Support",Iat=()=>"推理支持",up=(e={},r={})=>{if((d??r.locale??n())==="zh")return Iat(e);return kat(e)};var Cat=()=>"Recently Deleted",Rat=()=>"最近删除",dg=(e={},r={})=>{if((d??r.locale??n())==="zh")return Rat(e);return Cat(e)};var Pat=()=>"Items are automatically deleted after 30 days.",Tat=()=>"项目将在 30 天后自动删除。",dp=(e={},r={})=>{if((d??r.locale??n())==="zh")return Tat(e);return Pat(e)};var Aat=()=>"Recently Viewed",Dat=()=>"最近浏览",fg=(e={},r={})=>{if((d??r.locale??n())==="zh")return Dat(e);return Aat(e)};var Eat=()=>"This page displays the 100 most recent files you viewed in this project.",Oat=()=>"此页面显示您最近在当前项目中查看过的 100 个文件。",mC=(e={},r={})=>{if((d??r.locale??n())==="zh")return Oat(e);return Eat(e)};var jat=()=>"Registration Disabled",Nat=()=>"注册已关闭",Fat=(e={},r={})=>{if((d??r.locale??n())==="zh")return Nat(e);return jat(e)};var Bat=()=>"Public registration is currently disabled. You will need an invite code to join this team.",Yat=()=>"公开注册目前已关闭。您需要邀请码才能加入此团队。",Uat=(e={},r={})=>{if((d??r.locale??n())==="zh")return Yat(e);return Bat(e)};var qat=()=>"Related Assets",Vat=()=>"关联资产",Hat=(e={},r={})=>{if((d??r.locale??n())==="zh")return Vat(e);return qat(e)};var Wat=()=>"Remove",Gat=()=>"移除",vl=(e={},r={})=>{if((d??r.locale??n())==="zh")return Gat(e);return Wat(e)};var Kat=()=>"Remove Cover",Xat=()=>"移除封面",hC=(e={},r={})=>{if((d??r.locale??n())==="zh")return Xat(e);return Kat(e)};var Qat=()=>"Remove from context",Jat=()=>"从上下文中移除",gC=(e={},r={})=>{if((d??r.locale??n())==="zh")return Jat(e);return Qat(e)};var $at=()=>"Remove from Share",ent=()=>"从分享中移除",fp=(e={},r={})=>{if((d??r.locale??n())==="zh")return ent(e);return $at(e)};var tnt=()=>"Remove from stack",rnt=()=>"从版本堆栈中移除",ont=(e={},r={})=>{if((d??r.locale??n())==="zh")return rnt(e);return tnt(e)};var ant=()=>"Remove Member",nnt=()=>"移除成员",AC=(e={},r={})=>{if((d??r.locale??n())==="zh")return nnt(e);return ant(e)};var int=(e)=>`Are you sure you want to remove ${e?.name} from this ${e?.type}? This action cannot be undone.`,fnt=(e)=>`确定要从此${e?.type}中移除 ${e?.name} 吗?此操作无法撤销。`,yC=(e,r={})=>{if((d??r.locale??n())==="zh")return fnt(e);return int(e)};var snt=()=>"Removed from share",lnt=()=>"已从分享中移除",_C=(e={},r={})=>{if((d??r.locale??n())==="zh")return lnt(e);return snt(e)};var cnt=()=>"Rename",unt=()=>"重命名",No=(e={},r={})=>{if((d??r.locale??n())==="zh")return unt(e);return cnt(e)};var dnt=()=>"Rename Collection",Znt=()=>"重命名媒体合集",pnt=(e={},r={})=>{if((d??r.locale??n())==="zh")return Znt(e);return dnt(e)};var mnt=()=>"Rename Folder",hnt=()=>"重命名文件夹",gnt=(e={},r={})=>{if((d??r.locale??n())==="zh")return hnt(e);return mnt(e)};var Mnt=()=>"Rename Share Link",vnt=()=>"重命名分享链接",xnt=(e={},r={})=>{if((d??r.locale??n())==="zh")return vnt(e);return Mnt(e)};var ynt=()=>"Renamed successfully",bnt=()=>"重命名成功",bC=(e={},r={})=>{if((d??r.locale??n())==="zh")return bnt(e);return ynt(e)};var _nt=()=>"Reply",wnt=()=>"回复",wC=(e={},r={})=>{if((d??r.locale??n())==="zh")return wnt(e);return _nt(e)};var znt=()=>"Reply...",Snt=()=>"回复...",vC=(e={},r={})=>{if((d??r.locale??n())==="zh")return Snt(e);return znt(e)};var Lnt=(e)=>`reply to: ${e?.message}`,knt=(e)=>`回复:${e?.message}`,xC=(e,r={})=>{if((d??r.locale??n())==="zh")return knt(e);return Lnt(e)};var Int=()=>"Reporter / Reviewer",Cnt=()=>"报告人 / 审核人",pg=(e={},r={})=>{if((d??r.locale??n())==="zh")return Cnt(e);return Int(e)};var Rnt=()=>"Reset",Pnt=()=>"重置",SC=(e={},r={})=>{if((d??r.locale??n())==="zh")return Pnt(e);return Rnt(e)};var Tnt=()=>"Reset Password",Ant=()=>"重置密码",mg=(e={},r={})=>{if((d??r.locale??n())==="zh")return Ant(e);return Tnt(e)};var Dnt=()=>"Enter your new password below.",Ent=()=>"请在下方输入您的新密码。",CC=(e={},r={})=>{if((d??r.locale??n())==="zh")return Ent(e);return Dnt(e)};var Ont=()=>"Resetting password...",jnt=()=>"正在重置密码...",EC=(e={},r={})=>{if((d??r.locale??n())==="zh")return jnt(e);return Ont(e)};var Nnt=()=>"Resolving all files and folders. Please wait...",Fnt=()=>"正在解析所有文件和文件夹,请稍候...",hg=(e={},r={})=>{if((d??r.locale??n())==="zh")return Fnt(e);return Nnt(e)};var Bnt=()=>"Resource Quotas",Ynt=()=>"资源配额",gg=(e={},r={})=>{if((d??r.locale??n())==="zh")return Ynt(e);return Bnt(e)};var Unt=()=>"Manage and limit resource usage across team members, roles, and AI operations.",qnt=()=>"管理并限制团队成员、角色以及 AI 操作的资源使用。",Ag=(e={},r={})=>{if((d??r.locale??n())==="zh")return qnt(e);return Unt(e)};var Vnt=()=>"Restore",Hnt=()=>"恢复",pp=(e={},r={})=>{if((d??r.locale??n())==="zh")return Hnt(e);return Vnt(e)};var Wnt=()=>"Reviewer",Gnt=()=>"评审员",Os=(e={},r={})=>{if((d??r.locale??n())==="zh")return Gnt(e);return Wnt(e)};var Knt=()=>"Role",Xnt=()=>"角色",IC=(e={},r={})=>{if((d??r.locale??n())==="zh")return Xnt(e);return Knt(e)};var Qnt=()=>"Agent",Jnt=()=>"智能体",TC=(e={},r={})=>{if((d??r.locale??n())==="zh")return Jnt(e);return Qnt(e)};var $nt=()=>"Thinking",eit=()=>"思考中",mp=(e={},r={})=>{if((d??r.locale??n())==="zh")return eit(e);return $nt(e)};var tit=()=>"User",rit=()=>"用户",yg=(e={},r={})=>{if((d??r.locale??n())==="zh")return rit(e);return tit(e)};var oit=()=>"Rotation",ait=()=>"旋转角度",MC=(e={},r={})=>{if((d??r.locale??n())==="zh")return ait(e);return oit(e)};var nit=()=>"Configure security and network restrictions for the AI agent.",iit=()=>"配置 AI 智能体的安全和网络限制。",RC=(e={},r={})=>{if((d??r.locale??n())==="zh")return iit(e);return nit(e)};var fit=()=>"Sandbox settings updated",sit=()=>"沙箱设置已更新",kC=(e={},r={})=>{if((d??r.locale??n())==="zh")return sit(e);return fit(e)};var lit=()=>"Save",cit=()=>"保存",Oo=(e={},r={})=>{if((d??r.locale??n())==="zh")return cit(e);return lit(e)};var uit=()=>"Save as collection",dit=()=>"保存为媒体合集",PC=(e={},r={})=>{if((d??r.locale??n())==="zh")return dit(e);return uit(e)};var Zit=()=>"Save Changes",pit=()=>"保存更改",Ds=(e={},r={})=>{if((d??r.locale??n())==="zh")return pit(e);return Zit(e)};var mit=()=>"Save Watermark",hit=()=>"保存水印",NC=(e={},r={})=>{if((d??r.locale??n())==="zh")return hit(e);return mit(e)};var git=()=>"Saved",Mit=()=>"已保存",_g=(e={},r={})=>{if((d??r.locale??n())==="zh")return Mit(e);return git(e)};var vit=()=>"Saving...",xit=()=>"保存中...",bg=(e={},r={})=>{if((d??r.locale??n())==="zh")return xit(e);return vit(e)};var yit=()=>"Saving...",bit=()=>"保存中...",hp=(e={},r={})=>{if((d??r.locale??n())==="zh")return bit(e);return yit(e)};var _it=()=>"Search",wit=()=>"搜索",OC=(e={},r={})=>{if((d??r.locale??n())==="zh")return wit(e);return _it(e)};var zit=()=>"Search",Sit=()=>"搜索",DC=(e={},r={})=>{if((d??r.locale??n())==="zh")return Sit(e);return zit(e)};var Lit=()=>"Search records by content...",kit=()=>"按内容搜索记录...",LC=(e={},r={})=>{if((d??r.locale??n())==="zh")return kit(e);return Lit(e)};var Iit=()=>"Search records by name...",Cit=()=>"按名称搜索记录...",ZC=(e={},r={})=>{if((d??r.locale??n())==="zh")return Cit(e);return Iit(e)};var Rit=()=>"Search",Pit=()=>"搜索",BC=(e={},r={})=>{if((d??r.locale??n())==="zh")return Pit(e);return Rit(e)};var Tit=()=>"Search failed",Ait=()=>"搜索失败",wg=(e={},r={})=>{if((d??r.locale??n())==="zh")return Ait(e);return Tit(e)};var Dit=()=>"Search fields",Eit=()=>"搜索字段",UC=(e={},r={})=>{if((d??r.locale??n())==="zh")return Eit(e);return Dit(e)};var Oit=()=>"Search Item ID...",jit=()=>"搜索条目 ID...",FC=(e={},r={})=>{if((d??r.locale??n())==="zh")return jit(e);return Oit(e)};var Nit=()=>"Search models by ID or name...",Fit=()=>"按 ID 或名称搜索模型...",gp=(e={},r={})=>{if((d??r.locale??n())==="zh")return Fit(e);return Nit(e)};var Bit=()=>"Search options...",Yit=()=>"搜索选项...",vg=(e={},r={})=>{if((d??r.locale??n())==="zh")return Yit(e);return Bit(e)};var Uit=()=>"Search providers...",qit=()=>"搜索提供商...",xg=(e={},r={})=>{if((d??r.locale??n())==="zh")return qit(e);return Uit(e)};var Vit=()=>"Search Results",Hit=()=>"搜索结果",zC=(e={},r={})=>{if((d??r.locale??n())==="zh")return Hit(e);return Vit(e)};var Wit=()=>"Search tasks...",Git=()=>"搜索任务...",Kit=(e={},r={})=>{if((d??r.locale??n())==="zh")return Git(e);return Wit(e)};var Xit=()=>"Security",Qit=()=>"安全",jC=(e={},r={})=>{if((d??r.locale??n())==="zh")return Qit(e);return Xit(e)};var Jit=()=>"Select a Team",$it=()=>"选择团队",eft=(e={},r={})=>{if((d??r.locale??n())==="zh")return $it(e);return Jit(e)};var tft=()=>"Select Actions",rft=()=>"选择操作",qC=(e={},r={})=>{if((d??r.locale??n())==="zh")return rft(e);return tft(e)};var oft=()=>"Select Agent",aft=()=>"选择智能体",Md=(e={},r={})=>{if((d??r.locale??n())==="zh")return aft(e);return oft(e)};var nft=()=>"Select API Protocol",ift=()=>"选择 API 协议",Sg=(e={},r={})=>{if((d??r.locale??n())==="zh")return ift(e);return nft(e)};var fft=()=>"Select an asset to view details",sft=()=>"选择资产查看详情",HC=(e={},r={})=>{if((d??r.locale??n())==="zh")return sft(e);return fft(e)};var lft=()=>"Select Assets",cft=()=>"选择资产",uft=(e={},r={})=>{if((d??r.locale??n())==="zh")return cft(e);return lft(e)};var dft=()=>"Select a block to edit its properties",Zft=()=>"选择一个水印块以编辑其属性",$C=(e={},r={})=>{if((d??r.locale??n())==="zh")return Zft(e);return dft(e)};var pft=()=>"Select Current Folder",mft=()=>"选择当前文件夹",hft=(e={},r={})=>{if((d??r.locale??n())==="zh")return mft(e);return pft(e)};var gft=()=>"Select field",Mft=()=>"选择字段",GC=(e={},r={})=>{if((d??r.locale??n())==="zh")return Mft(e);return gft(e)};var vft=()=>"Select a field to edit options",xft=()=>"选择一个字段以编辑选项",QC=(e={},r={})=>{if((d??r.locale??n())==="zh")return xft(e);return vft(e)};var yft=()=>"Select field type",bft=()=>"选择字段类型",VC=(e={},r={})=>{if((d??r.locale??n())==="zh")return bft(e);return yft(e)};var _ft=()=>"Select a file to view its details and comments.",wft=()=>"选择一个文件以查看其详情和评论。",KC=(e={},r={})=>{if((d??r.locale??n())==="zh")return wft(e);return _ft(e)};var zft=()=>"Select Language",Sft=()=>"选择语言",WC=(e={},r={})=>{if((d??r.locale??n())==="zh")return Sft(e);return zft(e)};var Lft=()=>"Select MCP Server",kft=()=>"选择 MCP 服务",Cg=(e={},r={})=>{if((d??r.locale??n())==="zh")return kft(e);return Lft(e)};var Ift=()=>"Select Members",Cft=()=>"选择成员",Eg=(e={},r={})=>{if((d??r.locale??n())==="zh")return Cft(e);return Ift(e)};var Rft=()=>"Select Model",Pft=()=>"选择模型",YC=(e={},r={})=>{if((d??r.locale??n())==="zh")return Pft(e);return Rft(e)};var Tft=()=>"Select option",Aft=()=>"选择选项",JC=(e={},r={})=>{if((d??r.locale??n())==="zh")return Aft(e);return Tft(e)};var Dft=()=>"Select options...",Eft=()=>"选择选项...",XC=(e={},r={})=>{if((d??r.locale??n())==="zh")return Eft(e);return Dft(e)};var Oft=()=>"Select parent tasks...",jft=()=>"选择前置任务...",Nft=(e={},r={})=>{if((d??r.locale??n())==="zh")return jft(e);return Oft(e)};var Fft=()=>"Select your preferred display language.",Bft=()=>"选择您首选的显示语言。",eE=(e={},r={})=>{if((d??r.locale??n())==="zh")return Bft(e);return Fft(e)};var Yft=()=>"Select Project",Uft=()=>"选择项目",zU=(e={},r={})=>{if((d??r.locale??n())==="zh")return Uft(e);return Yft(e)};var qft=()=>"Select Provider",Vft=()=>"选择提供商",tE=(e={},r={})=>{if((d??r.locale??n())==="zh")return Vft(e);return qft(e)};var Hft=()=>"Select Target Folder",Wft=()=>"选择目标文件夹",Ap=(e={},r={})=>{if((d??r.locale??n())==="zh")return Wft(e);return Hft(e)};var Gft=()=>"You are a member of multiple teams. Please select one to continue.",Kft=()=>"您是多个团队的成员,请选择一个以继续。",Xft=(e={},r={})=>{if((d??r.locale??n())==="zh")return Kft(e);return Gft(e)};var Qft=()=>"Select template to overwrite",Jft=()=>"选择要覆盖的模板",Ig=(e={},r={})=>{if((d??r.locale??n())==="zh")return Jft(e);return Qft(e)};var $ft=()=>"Select Tool",est=()=>"选择工具",Tg=(e={},r={})=>{if((d??r.locale??n())==="zh")return est(e);return $ft(e)};var tst=()=>"Select type",rst=()=>"选择类型",rE=(e={},r={})=>{if((d??r.locale??n())==="zh")return rst(e);return tst(e)};var ost=()=>"Select User",ast=()=>"选择用户",nE=(e={},r={})=>{if((d??r.locale??n())==="zh")return ast(e);return ost(e)};var nst=()=>"Select Users",ist=()=>"选择用户",oE=(e={},r={})=>{if((d??r.locale??n())==="zh")return ist(e);return nst(e)};var fst=()=>"Select ZIP file",sst=()=>"选择 ZIP 文件",sE=(e={},r={})=>{if((d??r.locale??n())==="zh")return sst(e);return fst(e)};var lst=()=>"Semantic Search",cst=()=>"语义搜索",aE=(e={},r={})=>{if((d??r.locale??n())==="zh")return cst(e);return lst(e)};var ust=()=>"Semantic search results will be ordered by their relevance to the search query text, but won't be strictly filtered. If you need accurate filtering, please add filter conditions to control that.",dst=()=>"语义搜索结果将按与搜索查询文本的相关性排序,但不会严格筛选。如果需要精确筛选,请添加筛选条件来控制。",iE=(e={},r={})=>{if((d??r.locale??n())==="zh")return dst(e);return ust(e)};var Zst=()=>"* Semantic search requires an enabled embedding agent.",pst=()=>"* 语义搜索需要启用嵌入智能体。",lE=(e={},r={})=>{if((d??r.locale??n())==="zh")return pst(e);return Zst(e)};var mst=()=>"Semantic search using media intelligence might be slow...",hst=()=>"使用媒体智能的语义搜索可能较慢...",cE=(e={},r={})=>{if((d??r.locale??n())==="zh")return hst(e);return mst(e)};var gst=()=>"Session Name",Mst=()=>"会话名称",uE=(e={},r={})=>{if((d??r.locale??n())==="zh")return Mst(e);return gst(e)};var vst=()=>"The session might have been initialized but has not produced any entries yet.",xst=()=>"该会话可能已初始化但尚未产生任何条目。",dE=(e={},r={})=>{if((d??r.locale??n())==="zh")return xst(e);return vst(e)};var yst=()=>"Session Type",bst=()=>"会话类型",fE=(e={},r={})=>{if((d??r.locale??n())==="zh")return bst(e);return yst(e)};var _st=()=>"Chat",wst=()=>"对话",pE=(e={},r={})=>{if((d??r.locale??n())==="zh")return wst(e);return _st(e)};var zst=()=>"Comment",Sst=()=>"评论",mE=(e={},r={})=>{if((d??r.locale??n())==="zh")return Sst(e);return zst(e)};var Lst=()=>"Naming",kst=()=>"命名",hE=(e={},r={})=>{if((d??r.locale??n())==="zh")return kst(e);return Lst(e)};var Ist=()=>"Sessions",Cst=()=>"会话列表",Mg=(e={},r={})=>{if((d??r.locale??n())==="zh")return Cst(e);return Ist(e)};var Rst=()=>"View and inspect all agent sessions created within the team.",Pst=()=>"查看并检查团队内创建的所有 Agent 会话。",gE=(e={},r={})=>{if((d??r.locale??n())==="zh")return Pst(e);return Rst(e)};var Tst=()=>"Set Role",Ast=()=>"设置角色",AE=(e={},r={})=>{if((d??r.locale??n())==="zh")return Ast(e);return Tst(e)};var Dst=()=>"Settings",Est=()=>"设置",yp=(e={},r={})=>{if((d??r.locale??n())==="zh")return Est(e);return Dst(e)};var Ost=()=>"Settings updated",jst=()=>"设置已更新",Rg=(e={},r={})=>{if((d??r.locale??n())==="zh")return jst(e);return Ost(e)};var Nst=()=>"share link",Fst=()=>"分享链接",Bst=(e={},r={})=>{if((d??r.locale??n())==="zh")return Fst(e);return Nst(e)};var Yst=()=>"Share link created",Ust=()=>"分享链接已创建",qst=(e={},r={})=>{if((d??r.locale??n())==="zh")return Ust(e);return Yst(e)};var Vst=()=>"Share link deleted",Hst=()=>"分享链接已删除",Wst=(e={},r={})=>{if((d??r.locale??n())==="zh")return Hst(e);return Vst(e)};var Gst=()=>"Share link renamed",Kst=()=>"分享链接已重命名",Xst=(e={},r={})=>{if((d??r.locale??n())==="zh")return Kst(e);return Gst(e)};var Qst=()=>"Share link status updated",Jst=()=>"分享链接状态已更新",yE=(e={},r={})=>{if((d??r.locale??n())==="zh")return Jst(e);return Qst(e)};var $st=()=>"Share Links",elt=()=>"分享链接",tlt=(e={},r={})=>{if((d??r.locale??n())==="zh")return elt(e);return $st(e)};var rlt=()=>"Show Chatbot",olt=()=>"显示聊天机器人",alt=(e={},r={})=>{if((d??r.locale??n())==="zh")return olt(e);return rlt(e)};var nlt=()=>"Shumai Agent",ilt=()=>"数脉智能体",_E=(e={},r={})=>{if((d??r.locale??n())==="zh")return ilt(e);return nlt(e)};var flt=()=>"Sign up",slt=()=>"注册",kfe=(e={},r={})=>{if((d??r.locale??n())==="zh")return slt(e);return flt(e)};var llt=()=>"Signup failed",clt=()=>"注册失败",ult=(e={},r={})=>{if((d??r.locale??n())==="zh")return clt(e);return llt(e)};var dlt=()=>"Start building and organizing your space.",Zlt=()=>"开始构建和整理您的空间。",plt=(e={},r={})=>{if((d??r.locale??n())==="zh")return Zlt(e);return dlt(e)};var mlt=()=>"Size:",hlt=()=>"大小:",bE=(e={},r={})=>{if((d??r.locale??n())==="zh")return hlt(e);return mlt(e)};var glt=()=>"Permission",Mlt=()=>"权限",_p=(e={},r={})=>{if((d??r.locale??n())==="zh")return Mlt(e);return glt(e)};var vlt=()=>"Skills",xlt=()=>"技能",kg=(e={},r={})=>{if((d??r.locale??n())==="zh")return xlt(e);return vlt(e)};var ylt=(e)=>`${e?.count} Skills`,blt=(e)=>`${e?.count} 个技能`,wE=(e,r={})=>{if((d??r.locale??n())==="zh")return blt(e);return ylt(e)};var _lt=()=>"Add, update and configure AI skills for the team.",wlt=()=>"为团队添加、更新和配置 AI 技能。",vE=(e={},r={})=>{if((d??r.locale??n())==="zh")return wlt(e);return _lt(e)};var zlt=()=>"Skills Management",Slt=()=>"技能管理",Pg=(e={},r={})=>{if((d??r.locale??n())==="zh")return Slt(e);return zlt(e)};var Llt=()=>"Extend your chatbot's capabilities with custom skills.",klt=()=>"使用自定义技能扩展聊天机器人的功能。",xE=(e={},r={})=>{if((d??r.locale??n())==="zh")return klt(e);return Llt(e)};var Ilt=()=>"Some downloads could not be started",Clt=()=>"部分下载无法启动",Rlt=(e={},r={})=>{if((d??r.locale??n())==="zh")return Clt(e);return Ilt(e)};var Plt=()=>"A → Z",Tlt=()=>"A → Z",Bc=(e={},r={})=>{if((d??r.locale??n())==="zh")return Tlt(e);return Plt(e)};var Alt=()=>"Sort by",Dlt=()=>"排序",xl=(e={},r={})=>{if((d??r.locale??n())==="zh")return Dlt(e);return Alt(e)};var Elt=()=>"Created",Olt=()=>"创建时间",SE=(e={},r={})=>{if((d??r.locale??n())==="zh")return Olt(e);return Elt(e)};var jlt=()=>"Custom",Nlt=()=>"自定义",bp=(e={},r={})=>{if((d??r.locale??n())==="zh")return Nlt(e);return jlt(e)};var Flt=()=>"Date Created",Blt=()=>"创建日期",wp=(e={},r={})=>{if((d??r.locale??n())==="zh")return Blt(e);return Flt(e)};var Ylt=()=>"Date Modified",Ult=()=>"修改日期",CE=(e={},r={})=>{if((d??r.locale??n())==="zh")return Ult(e);return Ylt(e)};var qlt=()=>"Largest → Smallest",Vlt=()=>"最大 → 最小",vp=(e={},r={})=>{if((d??r.locale??n())==="zh")return Vlt(e);return qlt(e)};var Hlt=()=>"Name",Wlt=()=>"名称",Sl=(e={},r={})=>{if((d??r.locale??n())==="zh")return Wlt(e);return Hlt(e)};var Glt=()=>"Newest → Oldest",Klt=()=>"最新 → 最旧",Uc=(e={},r={})=>{if((d??r.locale??n())==="zh")return Klt(e);return Glt(e)};var Xlt=()=>"Oldest → Newest",Qlt=()=>"最旧 → 最新",Fc=(e={},r={})=>{if((d??r.locale??n())==="zh")return Qlt(e);return Xlt(e)};var Jlt=()=>"Size",$lt=()=>"大小",xp=(e={},r={})=>{if((d??r.locale??n())==="zh")return $lt(e);return Jlt(e)};var ect=()=>"Smallest → Largest",tct=()=>"最小 → 最大",Sp=(e={},r={})=>{if((d??r.locale??n())==="zh")return tct(e);return ect(e)};var rct=()=>"Updated",oct=()=>"更新时间",EE=(e={},r={})=>{if((d??r.locale??n())==="zh")return oct(e);return rct(e)};var act=()=>"Z → A",nct=()=>"Z → A",zc=(e={},r={})=>{if((d??r.locale??n())==="zh")return nct(e);return act(e)};var ict=(e)=>`Sorted by ${e?.field}`,fct=(e)=>`按${e?.field}排序`,IE=(e,r={})=>{if((d??r.locale??n())==="zh")return fct(e);return ict(e)};var sct=()=>"Sorted by",lct=()=>"排序方式",TE=(e={},r={})=>{if((d??r.locale??n())==="zh")return lct(e);return sct(e)};var cct=()=>"Standard Time",uct=()=>"标准时间",ME=(e={},r={})=>{if((d??r.locale??n())==="zh")return uct(e);return cct(e)};var dct=()=>"Start Date",Zct=()=>"开始日期",Rd=(e={},r={})=>{if((d??r.locale??n())==="zh")return Zct(e);return dct(e)};var pct=()=>"Start Download",mct=()=>"开始下载",Ng=(e={},r={})=>{if((d??r.locale??n())==="zh")return mct(e);return pct(e)};var hct=(e)=>`Starting download of ${e?.count} files. Please allow multiple downloads if prompted by your browser.`,gct=(e)=>`正在开始下载 ${e?.count} 个文件。如果浏览器提示,请允许多个下载。`,Mct=(e,r={})=>{if((d??r.locale??n())==="zh")return gct(e);return hct(e)};var vct=()=>"Blocked",xct=()=>"已受阻",Og=(e={},r={})=>{if((d??r.locale??n())==="zh")return xct(e);return vct(e)};var yct=()=>"Done",bct=()=>"已完成",_ct=(e={},r={})=>{if((d??r.locale??n())==="zh")return bct(e);return yct(e)};var wct=()=>"In Progress",zct=()=>"进行中",Sct=(e={},r={})=>{if((d??r.locale??n())==="zh")return zct(e);return wct(e)};var Lct=()=>"In Review",kct=()=>"审核中",Ict=(e={},r={})=>{if((d??r.locale??n())==="zh")return kct(e);return Lct(e)};var Cct=()=>"Ready",Rct=()=>"就绪",Pct=(e={},r={})=>{if((d??r.locale??n())==="zh")return Rct(e);return Cct(e)};var Tct=()=>"To Do",Act=()=>"待办",Dct=(e={},r={})=>{if((d??r.locale??n())==="zh")return Act(e);return Tct(e)};var Ect=()=>"Status Updates",Oct=()=>"状态更新",RE=(e={},r={})=>{if((d??r.locale??n())==="zh")return Oct(e);return Ect(e)};var jct=()=>"Switch version",Nct=()=>"切换版本",kd=(e={},r={})=>{if((d??r.locale??n())==="zh")return Nct(e);return jct(e)};var Fct=()=>"Sync Providers",Bct=()=>"同步提供商",kE=(e={},r={})=>{if((d??r.locale??n())==="zh")return Bct(e);return Fct(e)};var Yct=(e)=>`Add Selected (${e?.count})`,Uct=(e)=>`添加所选 (${e?.count})`,PE=(e,r={})=>{if((d??r.locale??n())==="zh")return Uct(e);return Yct(e)};var qct=()=>"Adding...",Vct=()=>"正在添加...",NE=(e={},r={})=>{if((d??r.locale??n())==="zh")return Vct(e);return qct(e)};var Hct=()=>"Checking for updates...",Wct=()=>"正在检查更新...",OE=(e={},r={})=>{if((d??r.locale??n())==="zh")return Wct(e);return Hct(e)};var Gct=()=>"Collapse All",Kct=()=>"全部折叠",DE=(e={},r={})=>{if((d??r.locale??n())==="zh")return Kct(e);return Gct(e)};var Xct=(e)=>`${e?.count}k ctx`,Qct=(e)=>`${e?.count}k 上下文`,LE=(e,r={})=>{if((d??r.locale??n())==="zh")return Qct(e);return Xct(e)};var Jct=()=>"Deselect All",$ct=()=>"取消全选",ZE=(e={},r={})=>{if((d??r.locale??n())==="zh")return $ct(e);return Jct(e)};var eut=()=>"Select the new providers and models you want to add. Existing providers, custom endpoints, API keys, and model configurations will never be deleted or modified.",tut=()=>"选择您希望添加的新提供商和模型。现有的提供商、自定义端点、API 密钥和模型配置绝不会被删除或修改。",BE=(e={},r={})=>{if((d??r.locale??n())==="zh")return tut(e);return eut(e)};var rut=()=>"Sync Providers & Models",out=()=>"同步提供商与模型",UE=(e={},r={})=>{if((d??r.locale??n())==="zh")return out(e);return rut(e)};var aut=()=>"Existing Provider",nut=()=>"现有提供商",FE=(e={},r={})=>{if((d??r.locale??n())==="zh")return nut(e);return aut(e)};var iut=()=>"Expand All",fut=()=>"全部展开",zE=(e={},r={})=>{if((d??r.locale??n())==="zh")return fut(e);return iut(e)};var sut=(e)=>`${e?.count} new models`,lut=(e)=>`${e?.count} 个新模型`,jE=(e,r={})=>{if((d??r.locale??n())==="zh")return lut(e);return sut(e)};var cut=()=>"New Provider",uut=()=>"新提供商",qE=(e={},r={})=>{if((d??r.locale??n())==="zh")return uut(e);return cut(e)};var dut=()=>"reasoning",Zut=()=>"深度思考",HE=(e={},r={})=>{if((d??r.locale??n())==="zh")return Zut(e);return dut(e)};var put=()=>"Filter new providers or models...",mut=()=>"筛选新提供商或模型...",$E=(e={},r={})=>{if((d??r.locale??n())==="zh")return mut(e);return put(e)};var hut=()=>"Select All",gut=()=>"全选",GE=(e={},r={})=>{if((d??r.locale??n())==="zh")return gut(e);return hut(e)};var Mut=(e)=>`${e?.modelCount} models selected across ${e?.providerCount} providers`,vut=(e)=>`已选 ${e?.modelCount} 个模型,分布在 ${e?.providerCount} 个提供商中`,QE=(e,r={})=>{if((d??r.locale??n())==="zh")return vut(e);return Mut(e)};var xut=(e)=>`Successfully added ${e?.modelCount} models across ${e?.providerCount} providers.`,yut=(e)=>`已成功添加 ${e?.providerCount} 个提供商中的 ${e?.modelCount} 个模型。`,VE=(e,r={})=>{if((d??r.locale??n())==="zh")return yut(e);return xut(e)};var but=()=>"All providers and models are already up to date.",_ut=()=>"所有提供商和模型均已是最新状态。",KE=(e={},r={})=>{if((d??r.locale??n())==="zh")return _ut(e);return but(e)};var wut=()=>"System",zut=()=>"跟随系统",Sut=(e={},r={})=>{if((d??r.locale??n())==="zh")return zut(e);return wut(e)};var Lut=()=>"Target Folder",kut=()=>"目标文件夹",Cp=(e={},r={})=>{if((d??r.locale??n())==="zh")return kut(e);return Lut(e)};var Iut=()=>"Task created",Cut=()=>"任务已创建",WE=(e={},r={})=>{if((d??r.locale??n())==="zh")return Cut(e);return Iut(e)};var Rut=()=>"Task deleted successfully",Put=()=>"任务已成功删除",YE=(e={},r={})=>{if((d??r.locale??n())==="zh")return Put(e);return Rut(e)};var Tut=()=>"Description",Aut=()=>"任务描述",Dg=(e={},r={})=>{if((d??r.locale??n())==="zh")return Aut(e);return Tut(e)};var Dut=()=>"Add details, acceptance criteria, or context...",Eut=()=>"添加详细说明、验收标准或背景信息...",Lg=(e={},r={})=>{if((d??r.locale??n())==="zh")return Eut(e);return Dut(e)};var Out=()=>"Priority",jut=()=>"优先级",Zg=(e={},r={})=>{if((d??r.locale??n())==="zh")return jut(e);return Out(e)};var Nut=()=>"Task Title",Fut=()=>"任务标题",Bg=(e={},r={})=>{if((d??r.locale??n())==="zh")return Fut(e);return Nut(e)};var But=()=>"What needs to be done?",Yut=()=>"需要完成什么任务?",Ug=(e={},r={})=>{if((d??r.locale??n())==="zh")return Yut(e);return But(e)};var Uut=()=>"Agent Task",qut=()=>"智能体任务",Pd=(e={},r={})=>{if((d??r.locale??n())==="zh")return qut(e);return Uut(e)};var Vut=()=>"Executed autonomously by an AI agent",Hut=()=>"由 AI 智能体自主执行",Fg=(e={},r={})=>{if((d??r.locale??n())==="zh")return Hut(e);return Vut(e)};var Wut=()=>"team",Gut=()=>"团队",Nd=(e={},r={})=>{if((d??r.locale??n())==="zh")return Gut(e);return Wut(e)};var Kut=()=>"Team Attributes",Xut=()=>"团队属性",JE=(e={},r={})=>{if((d??r.locale??n())==="zh")return Xut(e);return Kut(e)};var Qut=()=>"Team",Jut=()=>"团队",XE=(e={},r={})=>{if((d??r.locale??n())==="zh")return Jut(e);return Qut(e)};var $ut=()=>"Team Member",edt=()=>"团队成员",Ep=(e={},r={})=>{if((d??r.locale??n())==="zh")return edt(e);return $ut(e)};var tdt=()=>"Team Members",rdt=()=>"团队成员",eI=(e={},r={})=>{if((d??r.locale??n())==="zh")return rdt(e);return tdt(e)};var odt=()=>"Team Settings",adt=()=>"团队设置",tI=(e={},r={})=>{if((d??r.locale??n())==="zh")return adt(e);return odt(e)};var ndt=()=>"Team Tasks",idt=()=>"团队任务",rI=(e={},r={})=>{if((d??r.locale??n())==="zh")return idt(e);return ndt(e)};var fdt=()=>"Team",sdt=()=>"团队",nI=(e={},r={})=>{if((d??r.locale??n())==="zh")return sdt(e);return fdt(e)};var ldt=()=>"Template deleted successfully",cdt=()=>"模板删除成功",oI=(e={},r={})=>{if((d??r.locale??n())==="zh")return cdt(e);return ldt(e)};var udt=()=>"Template Name",ddt=()=>"模板名称",sI=(e={},r={})=>{if((d??r.locale??n())==="zh")return ddt(e);return udt(e)};var Zdt=()=>"Template saved successfully",pdt=()=>"模板保存成功",aI=(e={},r={})=>{if((d??r.locale??n())==="zh")return pdt(e);return Zdt(e)};var mdt=()=>"Template updated successfully",hdt=()=>"模板更新成功",iI=(e={},r={})=>{if((d??r.locale??n())==="zh")return hdt(e);return mdt(e)};var gdt=()=>"Text Content",Mdt=()=>"文本内容",lI=(e={},r={})=>{if((d??r.locale??n())==="zh")return Mdt(e);return gdt(e)};var vdt=()=>"Theme",xdt=()=>"主题",ydt=(e={},r={})=>{if((d??r.locale??n())==="zh")return xdt(e);return vdt(e)};var bdt=()=>"Disable",_dt=()=>"禁用",cI=(e={},r={})=>{if((d??r.locale??n())==="zh")return _dt(e);return bdt(e)};var wdt=()=>"High",zdt=()=>"高",uI=(e={},r={})=>{if((d??r.locale??n())==="zh")return zdt(e);return wdt(e)};var Sdt=()=>"Thinking Level",Ldt=()=>"思考级别",dI=(e={},r={})=>{if((d??r.locale??n())==="zh")return Ldt(e);return Sdt(e)};var kdt=()=>"Low",Idt=()=>"低",fI=(e={},r={})=>{if((d??r.locale??n())==="zh")return Idt(e);return kdt(e)};var Cdt=()=>"Medium",Rdt=()=>"中",pI=(e={},r={})=>{if((d??r.locale??n())==="zh")return Rdt(e);return Cdt(e)};var Pdt=()=>"Thinking...",Tdt=()=>"思考中...",mI=(e={},r={})=>{if((d??r.locale??n())==="zh")return Tdt(e);return Pdt(e)};var Adt=()=>"This folder is empty",Ddt=()=>"此文件夹为空",Ip=(e={},r={})=>{if((d??r.locale??n())==="zh")return Ddt(e);return Adt(e)};var Edt=()=>"Timecode",Odt=()=>"时间码",hI=(e={},r={})=>{if((d??r.locale??n())==="zh")return Odt(e);return Edt(e)};var jdt=()=>"Timestamp",Ndt=()=>"时间戳",gI=(e={},r={})=>{if((d??r.locale??n())==="zh")return Ndt(e);return jdt(e)};var Fdt=()=>"Today",Bdt=()=>"今天",Ife=(e={},r={})=>{if((d??r.locale??n())==="zh")return Bdt(e);return Fdt(e)};var Ydt=(e)=>`Today ${e?.time}`,Udt=(e)=>`今天 ${e?.time}`,qdt=(e,r={})=>{if((d??r.locale??n())==="zh")return Udt(e);return Ydt(e)};var Vdt=()=>"Toggle Annotation",Hdt=()=>"切换标注",AI=(e={},r={})=>{if((d??r.locale??n())==="zh")return Hdt(e);return Vdt(e)};var Wdt=()=>"Checked",Gdt=()=>"已选中",yI=(e={},r={})=>{if((d??r.locale??n())==="zh")return Gdt(e);return Wdt(e)};var Kdt=()=>"Unchecked",Xdt=()=>"未选中",_I=(e={},r={})=>{if((d??r.locale??n())==="zh")return Xdt(e);return Kdt(e)};var Qdt=()=>"Token",Jdt=()=>"令牌",bI=(e={},r={})=>{if((d??r.locale??n())==="zh")return Jdt(e);return Qdt(e)};var $dt=()=>"Token Name",eZt=()=>"令牌名称",wI=(e={},r={})=>{if((d??r.locale??n())==="zh")return eZt(e);return $dt(e)};var tZt=()=>"e.g. My CLI token",rZt=()=>"例如:我的 CLI 令牌",vI=(e={},r={})=>{if((d??r.locale??n())==="zh")return rZt(e);return tZt(e)};var oZt=()=>"tokens",aZt=()=>"令牌",zg=(e={},r={})=>{if((d??r.locale??n())==="zh")return aZt(e);return oZt(e)};var nZt=()=>"Arguments",iZt=()=>"参数",Tp=(e={},r={})=>{if((d??r.locale??n())==="zh")return iZt(e);return nZt(e)};var fZt=()=>"Parameters",sZt=()=>"参数列表",xI=(e={},r={})=>{if((d??r.locale??n())==="zh")return sZt(e);return fZt(e)};var lZt=(e)=>`Tool Result: ${e?.name}`,cZt=(e)=>`工具结果:${e?.name}`,Mp=(e,r={})=>{if((d??r.locale??n())==="zh")return cZt(e);return lZt(e)};var uZt=()=>"Total Tokens",dZt=()=>"总 Token",jg=(e={},r={})=>{if((d??r.locale??n())==="zh")return dZt(e);return uZt(e)};var ZZt=()=>"Manage your team's media transcoding configurations.",pZt=()=>"管理团队的媒体转码配置。",qg=(e={},r={})=>{if((d??r.locale??n())==="zh")return pZt(e);return ZZt(e)};var mZt=()=>"Transcode Settings",hZt=()=>"转码设置",SI=(e={},r={})=>{if((d??r.locale??n())==="zh")return hZt(e);return mZt(e)};var gZt=()=>"Strategy: We select the best resolution from your list that supports the input quality. Content is never upscaled.",MZt=()=>"策略:我们会从您的列表中选择支持输入质量的最佳分辨率。内容不会被放大。",CI=(e={},r={})=>{if((d??r.locale??n())==="zh")return MZt(e);return gZt(e)};var vZt=()=>"Trash emptied successfully",xZt=()=>"回收站已清空",EI=(e={},r={})=>{if((d??r.locale??n())==="zh")return xZt(e);return vZt(e)};var yZt=(e)=>`Try adjusting your search for "${e?.query}"`,bZt=(e)=>`请尝试调整搜索 "${e?.query}"`,II=(e,r={})=>{if((d??r.locale??n())==="zh")return bZt(e);return yZt(e)};var _Zt=()=>"Try adjusting spelling or removing filter rows.",wZt=()=>"请尝试调整拼写或移除筛选条件。",TI=(e={},r={})=>{if((d??r.locale??n())==="zh")return wZt(e);return _Zt(e)};var zZt=()=>"Type a message...",SZt=()=>"输入消息...",MI=(e={},r={})=>{if((d??r.locale??n())==="zh")return SZt(e);return zZt(e)};var LZt=()=>"Type **delete** to confirm:",kZt=()=>"输入 **delete** 以确认:",RI=(e={},r={})=>{if((d??r.locale??n())==="zh")return kZt(e);return LZt(e)};var IZt=()=>"Type:",CZt=()=>"类型:",kI=(e={},r={})=>{if((d??r.locale??n())==="zh")return CZt(e);return IZt(e)};var RZt=()=>"Type your query above and click the Search button to display results.",PZt=()=>"在上方输入查询内容并点击搜索按钮以显示结果。",PI=(e={},r={})=>{if((d??r.locale??n())==="zh")return PZt(e);return RZt(e)};var TZt=()=>"Unassigned",AZt=()=>"未指派",cs=(e={},r={})=>{if((d??r.locale??n())==="zh")return AZt(e);return TZt(e)};var DZt=()=>"Unknown",EZt=()=>"未知",cn=(e={},r={})=>{if((d??r.locale??n())==="zh")return EZt(e);return DZt(e)};var OZt=()=>"unknown asset",jZt=()=>"未知资源",NZt=(e={},r={})=>{if((d??r.locale??n())==="zh")return jZt(e);return OZt(e)};var FZt=()=>"Unknown Date",BZt=()=>"未知日期",YZt=(e={},r={})=>{if((d??r.locale??n())==="zh")return BZt(e);return FZt(e)};var UZt=()=>"unknown project",qZt=()=>"未知项目",VZt=(e={},r={})=>{if((d??r.locale??n())==="zh")return qZt(e);return UZt(e)};var HZt=()=>"unknown task",WZt=()=>"未知任务",GZt=(e={},r={})=>{if((d??r.locale??n())==="zh")return WZt(e);return HZt(e)};var KZt=()=>"unknown team",XZt=()=>"未知团队",QZt=(e={},r={})=>{if((d??r.locale??n())==="zh")return XZt(e);return KZt(e)};var JZt=()=>"Unknown User",$Zt=()=>"未知用户",Cl=(e={},r={})=>{if((d??r.locale??n())==="zh")return $Zt(e);return JZt(e)};var ept=()=>"Unlink Asset",tpt=()=>"取消关联资产",rpt=(e={},r={})=>{if((d??r.locale??n())==="zh")return tpt(e);return ept(e)};var opt=()=>"Unlink Task",apt=()=>"取消关联",npt=(e={},r={})=>{if((d??r.locale??n())==="zh")return apt(e);return opt(e)};var ipt=()=>"Unread",fpt=()=>"未读",spt=(e={},r={})=>{if((d??r.locale??n())==="zh")return fpt(e);return ipt(e)};var lpt=()=>"Untitled Collection",cpt=()=>"未命名媒体合集",Hg=(e={},r={})=>{if((d??r.locale??n())==="zh")return cpt(e);return lpt(e)};var upt=()=>"Untitled Session",dpt=()=>"未命名会话",Rp=(e={},r={})=>{if((d??r.locale??n())==="zh")return dpt(e);return upt(e)};var Zpt=()=>"Untitled Upload",ppt=()=>"未命名上传",mpt=(e={},r={})=>{if((d??r.locale??n())==="zh")return ppt(e);return Zpt(e)};var hpt=()=>"Updated",gpt=()=>"更新于",NI=(e={},r={})=>{if((d??r.locale??n())==="zh")return gpt(e);return hpt(e)};var Mpt=()=>"Updated",vpt=()=>"更新于",$g=(e={},r={})=>{if((d??r.locale??n())==="zh")return vpt(e);return Mpt(e)};var xpt=()=>"Upload",ypt=()=>"上传",OI=(e={},r={})=>{if((d??r.locale??n())==="zh")return ypt(e);return xpt(e)};var bpt=()=>"Upload cover",_pt=()=>"上传封面",DI=(e={},r={})=>{if((d??r.locale??n())==="zh")return _pt(e);return bpt(e)};var wpt=()=>"Drag and drop, or browse. Recommended 1:1 (400×400px).",zpt=()=>"拖放或浏览文件。推荐比例 1:1(400×400像素)。",LI=(e={},r={})=>{if((d??r.locale??n())==="zh")return zpt(e);return wpt(e)};var Spt=()=>"Upload File",Lpt=()=>"上传文件",kp=(e={},r={})=>{if((d??r.locale??n())==="zh")return Lpt(e);return Spt(e)};var kpt=()=>"Upload Folder",Ipt=()=>"上传文件夹",Pp=(e={},r={})=>{if((d??r.locale??n())==="zh")return Ipt(e);return kpt(e)};var Cpt=()=>"Upload Image",Rpt=()=>"上传图片",Np=(e={},r={})=>{if((d??r.locale??n())==="zh")return Rpt(e);return Cpt(e)};var Ppt=()=>"Upload Watermark Image",Tpt=()=>"上传水印图片",ZI=(e={},r={})=>{if((d??r.locale??n())==="zh")return Tpt(e);return Ppt(e)};var Apt=()=>"Drag and drop, or browse. Max 1MB.",Dpt=()=>"拖放或浏览文件。最大 1MB。",BI=(e={},r={})=>{if((d??r.locale??n())==="zh")return Dpt(e);return Apt(e)};var Ept=()=>"Uploading...",Opt=()=>"上传中...",Op=(e={},r={})=>{if((d??r.locale??n())==="zh")return Opt(e);return Ept(e)};var jpt=()=>"Uploading",Npt=()=>"上传中",Fpt=(e={},r={})=>{if((d??r.locale??n())==="zh")return Npt(e);return jpt(e)};var Bpt=()=>"Uploads",Ypt=()=>"上传管理",Upt=(e={},r={})=>{if((d??r.locale??n())==="zh")return Ypt(e);return Bpt(e)};var qpt=()=>"Usage",Vpt=()=>"用量",UI=(e={},r={})=>{if((d??r.locale??n())==="zh")return Vpt(e);return qpt(e)};var Hpt=()=>"User",Wpt=()=>"用户",FI=(e={},r={})=>{if((d??r.locale??n())==="zh")return Wpt(e);return Hpt(e)};var Gpt=(e)=>`${e?.user} via ${e?.agent}`,Kpt=(e)=>`${e?.user} 通过 ${e?.agent}`,jc=(e,r={})=>{if((d??r.locale??n())==="zh")return Kpt(e);return Gpt(e)};var Xpt=()=>"Variable Name",Qpt=()=>"变量名称",zI=(e={},r={})=>{if((d??r.locale??n())==="zh")return Qpt(e);return Xpt(e)};var Jpt=(e)=>`Version ${e?.version}`,$pt=(e)=>`版本 ${e?.version}`,emt=(e,r={})=>{if((d??r.locale??n())==="zh")return $pt(e);return Jpt(e)};var tmt=()=>"Version removed from stack",rmt=()=>"已从版本堆栈中移除版本",omt=(e={},r={})=>{if((d??r.locale??n())==="zh")return rmt(e);return tmt(e)};var amt=()=>"Version order updated",nmt=()=>"版本顺序已更新",imt=(e={},r={})=>{if((d??r.locale??n())==="zh")return nmt(e);return amt(e)};var fmt=(e)=>`${e?.count} enabled`,smt=(e)=>`${e?.count} 个已启用`,jI=(e,r={})=>{if((d??r.locale??n())==="zh")return smt(e);return fmt(e)};var lmt=()=>"Video Strategy",cmt=()=>"视频策略",qI=(e={},r={})=>{if((d??r.locale??n())==="zh")return cmt(e);return lmt(e)};var umt=(e)=>`(${e?.count} visible)`,dmt=(e)=>`(${e?.count} 个可见)`,HI=(e,r={})=>{if((d??r.locale??n())==="zh")return dmt(e);return umt(e)};var Zmt=()=>"Watermark",pmt=()=>"水印",Gg=(e={},r={})=>{if((d??r.locale??n())==="zh")return pmt(e);return Zmt(e)};var mmt=()=>"Watermark disabled",hmt=()=>"水印已禁用",$I=(e={},r={})=>{if((d??r.locale??n())==="zh")return hmt(e);return mmt(e)};var gmt=()=>"Watermark Editor",Mmt=()=>"水印编辑器",GI=(e={},r={})=>{if((d??r.locale??n())==="zh")return Mmt(e);return gmt(e)};var vmt=()=>"Templates",xmt=()=>"水印模板",QI=(e={},r={})=>{if((d??r.locale??n())==="zh")return xmt(e);return vmt(e)};var ymt=()=>"Transcoding watermark media...",bmt=()=>"水印媒体转码处理中...",VI=(e={},r={})=>{if((d??r.locale??n())==="zh")return bmt(e);return ymt(e)};var _mt=()=>"Watermark updated successfully",wmt=()=>"水印更新成功",KI=(e={},r={})=>{if((d??r.locale??n())==="zh")return wmt(e);return _mt(e)};var zmt=()=>"Welcome Back",Smt=()=>"欢迎回来",Lmt=(e={},r={})=>{if((d??r.locale??n())==="zh")return Smt(e);return zmt(e)};var kmt=()=>"When someone comments on a task",Imt=()=>"当有人在任务中发表评论时",WI=(e={},r={})=>{if((d??r.locale??n())==="zh")return Imt(e);return kmt(e)};var Cmt=()=>"When tasks are created, assigned, updated, or deleted",Rmt=()=>"当任务被创建、分配、更新或删除时",YI=(e={},r={})=>{if((d??r.locale??n())==="zh")return Rmt(e);return Cmt(e)};var Pmt=()=>"When other users upload assets",Tmt=()=>"当其他用户上传素材时",JI=(e={},r={})=>{if((d??r.locale??n())==="zh")return Tmt(e);return Pmt(e)};var Amt=()=>"When someone changes an asset's status",Dmt=()=>"当有人更改素材的状态时",XI=(e={},r={})=>{if((d??r.locale??n())==="zh")return Dmt(e);return Amt(e)};var Emt=()=>"When someone comments on an asset",Omt=()=>"当有人评论素材时",eT=(e={},r={})=>{if((d??r.locale??n())==="zh")return Omt(e);return Emt(e)};var jmt=()=>"When someone @mentions you in a comment",Nmt=()=>"当有人在评论中 @提及你时",tT=(e={},r={})=>{if((d??r.locale??n())==="zh")return Nmt(e);return jmt(e)};var Fmt=()=>"When someone replies to your comment",Bmt=()=>"当有人回复你的评论时",rT=(e={},r={})=>{if((d??r.locale??n())==="zh")return Bmt(e);return Fmt(e)};var Ymt=()=>"When you upload assets",Umt=()=>"当你上传素材时",nT=(e={},r={})=>{if((d??r.locale??n())==="zh")return Umt(e);return Ymt(e)};var qmt=()=>"Yesterday",Vmt=()=>"昨天",Cfe=(e={},r={})=>{if((d??r.locale??n())==="zh")return Vmt(e);return qmt(e)};var Hmt=(e)=>`Yesterday ${e?.time}`,Wmt=(e)=>`昨天 ${e?.time}`,Gmt=(e,r={})=>{if((d??r.locale??n())==="zh")return Wmt(e);return Hmt(e)};var Kmt=()=>"Your Uploads",Xmt=()=>"你的上传",oT=(e={},r={})=>{if((d??r.locale??n())==="zh")return Xmt(e);return Kmt(e)};var Qmt=()=>"Zoom In",Jmt=()=>"放大",Dp=(e={},r={})=>{if((d??r.locale??n())==="zh")return Jmt(e);return Qmt(e)};var $mt=()=>"Zoom Out",eht=()=>"缩小",Lp=(e={},r={})=>{if((d??r.locale??n())==="zh")return eht(e);return $mt(e)};var tht=(e)=>o("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",...e,children:[t("path",{d:"M15 22v-4a4.8 4.8 0 0 0-1-3.5c3 0 6-2 6-5.5.08-1.25-.27-2.48-1-3.5.28-1.15.28-2.35 0-3.5 0 0-1 0-3 1.5-2.64-.5-5.36-.5-8 0C6 2 5 2 5 2c-.3 1.15-.3 2.35 0 3.5A5.403 5.403 0 0 0 4 9c0 3.5 3 5.5 6 5.5-.39.49-.68 1.05-.85 1.65-.17.6-.22 1.23-.15 1.85v4"}),t("path",{d:"M9 18c-4.51 2-5-2-7-2"})]});function Rfe(){let{clearAuth:e}=cf(),r=is(),a=(g)=>{if(!g)return"";switch(g.toLowerCase()){case"owner":return Zc();case"editor":return Ps();case"reviewer":return Os();default:return g}},{data:i}=Z({queryKey:["teams",r,"me"],queryFn:async()=>{let g=await A.api.teams[":teamId"].me.$get({param:{teamId:r}});if(!g.ok)throw Error("Failed to fetch me");return await g.json()},enabled:!!r}),{setTheme:f,theme:s}=vee(),l=Re(),c=async()=>{await Hie(),e(),l({to:"/login"})},m=(g)=>{if(!g)return"U";let M=g.split(" ");if(M.length>1)return`${M[0][0]}${M[M.length-1][0]}`.toUpperCase();return g.substring(0,2).toUpperCase()};return o(ge,{children:[t(Ae,{asChild:!0,children:o(Ee,{className:"rounded-lg w-10 h-10 cursor-pointer",children:[i?.image&&t(Ie,{src:i.image,alt:i.name,className:"object-cover rounded-lg w-10 h-10"}),t(Te,{className:"rounded-lg bg-primary/40 text-foreground",children:m(i?.name)})]})}),o(ye,{className:"w-56",align:"end",forceMount:!0,children:[i&&o(B,{children:[t(Qr,{className:"font-normal",children:o("div",{className:"flex flex-col space-y-1",children:[t("p",{className:"text-sm font-medium leading-none",children:i.name}),t("p",{className:"text-xs leading-none text-muted-foreground",children:a(i.role)})]})}),t(Gt,{})]}),o(Qa,{children:[t(Va,{children:ydt()}),t(Ga,{children:o(Ka,{children:[o(W,{className:"justify-between flex items-center",onClick:()=>f("light"),children:[t("span",{children:U9e()}),s==="light"&&t(Me,{className:"size-4"})]}),o(W,{className:"justify-between flex items-center",onClick:()=>f("dark"),children:[t("span",{children:y4e()}),s==="dark"&&t(Me,{className:"size-4"})]}),o(W,{className:"justify-between flex items-center",onClick:()=>f("system"),children:[t("span",{children:Sut()}),s==="system"&&t(Me,{className:"size-4"})]})]})})]}),t(Gt,{}),t(W,{onClick:()=>l({to:"/teams/$teamId/settings",params:{teamId:r}}),disabled:!r,children:yp()}),t(Gt,{}),t(W,{className:"text-red-500 focus:text-red-500",onClick:c,children:mVe()}),t(Gt,{}),o(W,{className:"text-xs text-muted-foreground flex items-center gap-2 cursor-pointer focus:bg-accent focus:text-accent-foreground justify-center bg-accent border",onClick:()=>window.open("https://github.com/shumaiOne/shumai","_blank","noopener,noreferrer"),children:[t(tht,{className:"size-3.5"}),t("span",{children:emt({version:Wie})})]})]})]})}var Jz=()=>null,Pfe=({children:e,hideMobileButton:r=!1,defaultMobileContent:a})=>{let{isMobileMenuOpen:i,activeItem:f,setActiveItem:s,toggleMobileMenu:l,closeMobileMenu:c}=Kk(),m=az({select:(k)=>k.location.pathname}),g=O(()=>tc.toArray(e).filter((k)=>fs(k)&&k.type===Jz),[e]),M=w(m);h(()=>{if(M.current!==m)M.current=m,c()},[m,c]);let x=f!==null?g[f]?.props:null,b=x??(i?a:null),y=Boolean(x||i&&a),_=(k)=>{let F=g[k];if(!F.props.children){s(null),F.props.onItemClick?.();return}if(f===k)s(null);else{if(F&&F.props.onItemClick)F.props.onItemClick();s(k)}};return o(B,{children:[!r&&t(S,{variant:"ghost",size:"icon",onClick:l,className:"md:hidden fixed top-4 left-4 z-50 rounded-md bg-sidebar/50 backdrop-blur-sm text-sidebar-foreground focus:outline-none focus-visible:ring-2 focus-visible:ring-sidebar-ring","aria-label":"Open navigation menu","aria-expanded":i,children:t(XZ,{})}),i&&t("div",{onClick:c,className:"fixed inset-0 bg-black/60 z-30 md:hidden","aria-hidden":"true"}),f!==null&&t("div",{onClick:()=>s(null),className:"hidden md:block fixed inset-0 bg-black/20 z-30","aria-hidden":"true"}),o("aside",{className:`fixed inset-y-0 left-0 z-40 flex transition-transform duration-300 ease-in-out ${i?"translate-x-0":"-translate-x-full"} md:translate-x-0`,children:[t("div",{className:"absolute bottom-0 w-full h-[70dvh] bg-linear-to-t from-sidebar-primary/10 to-transparent"}),o("nav",{className:"w-16 bg-card border-r border-sidebar-border flex flex-col items-center pb-4 pt-0 space-y-2 flex-shrink-0",children:[t("div",{className:"flex-1 w-full flex flex-col items-center gap-5 pt-1",children:t(bn,{children:g.map((k,F)=>{let I=Boolean(k.props.active||f===F);return o(wn,{children:[t(vn,{asChild:!0,children:o(S,{variant:"ghost",size:"icon-lg",onClick:()=>_(F),"aria-label":k.props.label,"aria-expanded":f===F,className:`relative w-12 h-12 [&_svg:not([class*='size-'])]:size-6 transition-colors duration-200 ${I?"text-sidebar-primary hover:bg-sidebar-accent hover:text-sidebar-primary":"text-sidebar-foreground/60 hover:text-sidebar-foreground hover:bg-sidebar-accent"}`,children:[k.props.icon,k.props.badge]})}),t(xn,{side:"right",children:t("p",{children:k.props.label})})]},k.props.label)})})}),t("div",{className:"mt-auto w-full flex flex-col items-center pb-2",children:t(Rfe,{})})]}),t("div",{className:E("transition-all duration-300 ease-in-out bg-sidebar/95 backdrop-blur-sm shadow-lg overflow-hidden",y?"w-[calc(100vw-4rem)] border-r border-sidebar-border":"w-0",x?"md:w-100 md:border-r md:border-sidebar-border":"md:w-0 md:border-r-0"),children:t("div",{className:"w-[calc(100vw-4rem)] md:w-100 h-full flex flex-col",children:b&&o(B,{children:[o("header",{className:"h-16 flex items-center justify-between px-4 font-bold text-lg border-b border-sidebar-border flex-shrink-0",children:[t("h2",{className:"truncate",children:b.label}),t(S,{variant:"ghost",size:"icon",onClick:c,className:"h-8 w-8 text-sidebar-foreground hover:bg-sidebar-accent","aria-label":"Close navigation menu",children:t(De,{className:"h-5 w-5"})})]}),t("div",{className:"flex-1 overflow-y-auto p-2",children:b.children})]})})})]})]})};function Je({...e}){return t(fLe,{"data-slot":"alert-dialog",...e})}function rht({...e}){return t(sLe,{"data-slot":"alert-dialog-portal",...e})}function oht({className:e,...r}){return t(lLe,{"data-slot":"alert-dialog-overlay",className:E("fixed inset-0 z-50 bg-black/50 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:animate-in data-[state=open]:fade-in-0",e),...r})}function Xe({className:e,size:r="default",...a}){return o(rht,{children:[t(oht,{}),t(cLe,{"data-slot":"alert-dialog-content","data-size":r,className:E("group/alert-dialog-content fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border bg-background p-6 shadow-lg duration-200 data-[size=sm]:max-w-xs data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95 data-[size=default]:sm:max-w-lg",e),...a})]})}function et({className:e,...r}){return t("div",{"data-slot":"alert-dialog-header",className:E("grid grid-rows-[auto_1fr] place-items-center gap-1.5 text-center has-data-[slot=alert-dialog-media]:grid-rows-[auto_auto_1fr] has-data-[slot=alert-dialog-media]:gap-x-6 sm:group-data-[size=default]/alert-dialog-content:place-items-start sm:group-data-[size=default]/alert-dialog-content:text-left sm:group-data-[size=default]/alert-dialog-content:has-data-[slot=alert-dialog-media]:grid-rows-[auto_1fr]",e),...r})}function tt({className:e,...r}){return t("div",{"data-slot":"alert-dialog-footer",className:E("flex flex-col-reverse gap-2 group-data-[size=sm]/alert-dialog-content:grid group-data-[size=sm]/alert-dialog-content:grid-cols-2 sm:flex-row sm:justify-end",e),...r})}function rt({className:e,...r}){return t(ZLe,{"data-slot":"alert-dialog-title",className:E("text-lg font-semibold sm:group-data-[size=default]/alert-dialog-content:group-has-data-[slot=alert-dialog-media]/alert-dialog-content:col-start-2",e),...r})}function nt({className:e,...r}){return t(pLe,{"data-slot":"alert-dialog-description",className:E("text-sm text-muted-foreground",e),...r})}function ot({className:e,variant:r="default",size:a="default",...i}){return t(S,{variant:r,size:a,asChild:!0,children:t(uLe,{"data-slot":"alert-dialog-action",className:E(e),...i})})}function st({className:e,variant:r="outline",size:a="default",...i}){return t(S,{variant:r,size:a,asChild:!0,children:t(dLe,{"data-slot":"alert-dialog-cancel",className:E(e),...i})})}function pe({...e}){return t(GY,{"data-slot":"dialog",...e})}function Qg({...e}){return t(KY,{"data-slot":"dialog-trigger",...e})}function aht({...e}){return t(XY,{"data-slot":"dialog-portal",...e})}function nht({className:e,...r}){return t(QY,{"data-slot":"dialog-overlay",className:E("fixed inset-0 z-50 bg-black/50 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:animate-in data-[state=open]:fade-in-0",e),...r})}function ue({className:e,children:r,showCloseButton:a=!0,...i}){return o(aht,{"data-slot":"dialog-portal",children:[t(nht,{}),o(JY,{"data-slot":"dialog-content",className:E("fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border bg-background p-6 shadow-lg duration-200 outline-none data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95 sm:max-w-lg",e),...i,children:[r,a&&o(fT,{"data-slot":"dialog-close",className:"absolute top-4 right-4 rounded-xs opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:ring-2 focus:ring-ring focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",children:[t(De,{}),t("span",{className:"sr-only",children:"Close"})]})]})]})}function me({className:e,...r}){return t("div",{"data-slot":"dialog-header",className:E("flex flex-col gap-2 text-center sm:text-left",e),...r})}function $e({className:e,showCloseButton:r=!1,children:a,...i}){return o("div",{"data-slot":"dialog-footer",className:E("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",e),...i,children:[a,r&&t(fT,{asChild:!0,children:t(S,{variant:"outline",children:"Close"})})]})}function de({className:e,...r}){return t($Y,{"data-slot":"dialog-title",className:E("text-lg leading-none font-semibold",e),...r})}function Tt({className:e,...r}){return t(e7,{"data-slot":"dialog-description",className:E("text-sm text-muted-foreground",e),...r})}function H({className:e,type:r,...a}){return t("input",{type:r,"data-slot":"input",className:E("h-9 w-full min-w-0 rounded-md border border-input bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none selection:bg-primary selection:text-primary-foreground file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm dark:bg-input/30","focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50","aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40",e),...a})}function ie({className:e,children:r,...a}){return o(HIe,{"data-slot":"scroll-area",className:E("relative",e),...a,children:[t(WIe,{"data-slot":"scroll-area-viewport",className:"size-full rounded-[inherit] transition-[color,box-shadow] outline-none focus-visible:ring-[3px] focus-visible:ring-ring/50 focus-visible:outline-1",children:r}),t(SN,{}),t(GIe,{})]})}function SN({className:e,orientation:r="vertical",...a}){return t(DIe,{"data-slot":"scroll-area-scrollbar",orientation:r,className:E("flex touch-none p-px transition-colors select-none",r==="vertical"&&"h-full w-2.5 border-l border-l-transparent",r==="horizontal"&&"h-2.5 flex-col border-t border-t-transparent",e),...a,children:t(BIe,{"data-slot":"scroll-area-thumb",className:"relative flex-1 rounded-full bg-border"})})}var it=Tr()(Gk((e,r)=>({teamId:null,projectTeamMap:{},setTeamId:(a)=>e({teamId:a}),ensureTeamIdForProject:async(a)=>{let i=r();if(i.projectTeamMap[a]){let f=i.projectTeamMap[a];if(i.teamId!==f)e({teamId:f});return f}try{let f=await A.api.projects[":projectId"].team.$get({param:{projectId:a}});if(!f.ok)throw Error("failed to fetch project team");let s=await f.json();if(s&&s.teamId)return e((l)=>({teamId:s.teamId,projectTeamMap:{...l.projectTeamMap,[a]:s.teamId}})),s.teamId}catch(f){console.error("Failed to fetch team ID for project",a,f)}return null}}),{name:"team-context-storage",storage:Iz(()=>localStorage)}));C();function Pt(e){let r=it((i)=>i.teamId),{data:a}=Z({queryKey:e?["projects",e,"me"]:["teams",r,"me"],queryFn:async()=>{if(e){let i=await A.api.projects[":projectId"].me.$get({param:{projectId:e}});if(!i.ok)throw Error("Failed to fetch project me");return await i.json()}else{if(!r)return null;let i=await A.api.teams[":teamId"].me.$get({param:{teamId:r}});if(!i.ok)throw Error("Failed to fetch team me");return await i.json()}},enabled:e?!!e:!!r});return O(()=>({role:a?.role,canEdit:a?.role==="owner"||a?.role==="editor",canAdmin:a?.role==="owner"}),[a?.role])}C();var iht=Symbol.for("preact-signals");function CN(){if(!(cm>1)){var e,r=!1;(function(){var f=kN;kN=void 0;while(f!==void 0){var s=f.S;if(s.v===f.v){for(var l=s.t;l!==void 0;l=l.x)if(l.i===f.i)l.i=s.i}f=f.o}})();while(RT!==void 0){var a=RT;RT=void 0,LN++;while(a!==void 0){var i=a.u;if(a.u=void 0,a.f&=-3,!(8&a.f)&&Afe(a))try{a.c()}catch(f){if(!r)e=f,r=!0}a=i}}if(LN=0,cm--,r)throw e}else cm--}function Qo(e){if(cm>0)return e();SU=++fht,cm++;try{return e()}finally{CN()}}var CT,fn=void 0;function uo(e){var r=fn,a=CT;fn=void 0,CT=void 0;try{return e()}finally{fn=r,CT=a}}var RT=void 0,cm=0,LN=0,fht=0,SU=0,kN=void 0,IN=0;function Tfe(e){if(fn!==void 0){var r=e.n;if(r===void 0||r.t!==fn){if(r={i:0,S:e,p:fn.s,n:void 0,t:fn,e:void 0,x:void 0,r},fn.s!==void 0)fn.s.n=r;if(fn.s=r,e.n=r,32&fn.f)e.S(r);return r}else if(r.i===-1){if(r.i=0,r.n!==void 0){if(r.n.p=r.p,r.p!==void 0)r.p.n=r.n;r.p=fn.s,r.n=void 0,fn.s.n=r,fn.s=r}return r}}}function uf(e,r){this.v=e,this.i=0,this.n=void 0,this.t=void 0,this.l=0,this.W=r==null?void 0:r.watched,this.Z=r==null?void 0:r.unwatched,this.name=r==null?void 0:r.name}uf.prototype.brand=iht;uf.prototype.h=function(){return!0};uf.prototype.S=function(e){var r=this,a=this.t;if(a!==e&&e.e===void 0)if(e.x=a,this.t=e,a!==void 0)a.e=e;else uo(function(){var i;(i=r.W)==null||i.call(r)})};uf.prototype.U=function(e){var r=this;if(this.t!==void 0){var{e:a,x:i}=e;if(a!==void 0)a.x=i,e.e=void 0;if(i!==void 0)i.e=a,e.x=void 0;if(e===this.t){if(this.t=i,i===void 0)uo(function(){var f;(f=r.Z)==null||f.call(r)})}}};uf.prototype.subscribe=function(e){var r=this;return gi(function(){var a=r.value;uo(function(){return e(a)})},{name:"sub"})};uf.prototype.valueOf=function(){return this.value};uf.prototype.toString=function(){return this.value+""};uf.prototype.toJSON=function(){return this.value};uf.prototype.peek=function(){var e=this;return uo(function(){return e.value})};Object.defineProperty(uf.prototype,"value",{get:function(){var e=Tfe(this);if(e!==void 0)e.i=this.i;return this.v},set:function(e){if(e!==this.v){if(LN>100)throw Error("Cycle detected");(function(a){if(cm!==0&&LN===0){if(a.l!==SU)a.l=SU,kN={S:a,v:a.v,i:a.i,o:kN}}})(this),this.v=e,this.i++,IN++,cm++;try{for(var r=this.t;r!==void 0;r=r.x)r.t.N()}finally{CN()}}}});function pZ(e,r){return new uf(e,r)}function Afe(e){for(var r=e.s;r!==void 0;r=r.n)if(r.S.i!==r.i||!r.S.h()||r.S.i!==r.i)return!0;return!1}function Dfe(e){for(var r=e.s;r!==void 0;r=r.n){var a=r.S.n;if(a!==void 0)r.r=a;if(r.S.n=r,r.i=-1,r.n===void 0){e.s=r;break}}}function Efe(e){var r=e.s,a=void 0;while(r!==void 0){var i=r.p;if(r.i===-1){if(r.S.U(r),i!==void 0)i.n=r.n;if(r.n!==void 0)r.n.p=i}else a=r;if(r.S.n=r.r,r.r!==void 0)r.r=void 0;r=i}e.s=a}function $z(e,r){uf.call(this,void 0,r),this.x=e,this.s=void 0,this.g=IN-1,this.f=4}$z.prototype=new uf;$z.prototype.h=function(){if(this.f&=-3,1&this.f)return!1;if((36&this.f)==32)return!0;if(this.f&=-5,this.g===IN)return!0;if(this.g=IN,this.f|=1,this.i>0&&!Afe(this))return this.f&=-2,!0;var e=fn;try{Dfe(this),fn=this;var r=this.x();if(16&this.f||this.v!==r||this.i===0)this.v=r,this.f&=-17,this.i++}catch(a){this.v=a,this.f|=16,this.i++}return fn=e,Efe(this),this.f&=-2,!0};$z.prototype.S=function(e){if(this.t===void 0){this.f|=36;for(var r=this.s;r!==void 0;r=r.n)r.S.S(r)}uf.prototype.S.call(this,e)};$z.prototype.U=function(e){if(this.t!==void 0){if(uf.prototype.U.call(this,e),this.t===void 0){this.f&=-33;for(var r=this.s;r!==void 0;r=r.n)r.S.U(r)}}};$z.prototype.N=function(){if(!(2&this.f)){this.f|=6;for(var e=this.t;e!==void 0;e=e.x)e.t.N()}};Object.defineProperty($z.prototype,"value",{get:function(){if(1&this.f)throw Error("Cycle detected");var e=Tfe(this);if(this.h(),e!==void 0)e.i=this.i;if(16&this.f)throw this.v;return this.v}});function LU(e,r){return new $z(e,r)}function Ofe(e){var r=e.m;if(e.m=void 0,typeof r=="function"){cm++;var a=fn;fn=void 0;try{r()}catch(i){throw e.f&=-2,e.f|=8,kU(e),i}finally{fn=a,CN()}}}function kU(e){for(var r=e.s;r!==void 0;r=r.n)r.S.U(r);e.x=void 0,e.s=void 0,Ofe(e)}function sht(e){if(fn!==this)throw Error("Out-of-order effect");if(Efe(this),fn=e,this.f&=-2,8&this.f)kU(this);CN()}function d1(e,r){if(this.x=e,this.m=void 0,this.s=void 0,this.u=void 0,this.f=32,this.name=r==null?void 0:r.name,CT)CT.push(this)}d1.prototype.c=function(){var e=this.S();try{if(8&this.f)return;if(this.x===void 0)return;var r=this.x();if(typeof r=="function")this.m=r}finally{e()}};d1.prototype.S=function(){if(1&this.f)throw Error("Cycle detected");this.f|=1,this.f&=-9,Ofe(this),Dfe(this),cm++;var e=fn;return fn=this,sht.bind(this,e)};d1.prototype.N=function(){if(!(2&this.f))this.f|=2,this.u=RT,RT=this};d1.prototype.d=function(){if(this.f|=8,!(1&this.f))kU(this)};d1.prototype.dispose=function(){this.d()};function gi(e,r){var a=new d1(e,r);try{a.c()}catch(f){throw a.d(),f}var i=a.d.bind(a);return i[Symbol.dispose]=i,i}var{create:lht,defineProperty:NU,defineProperties:cht,getOwnPropertyDescriptor:uht,getOwnPropertyDescriptors:dht,getOwnPropertySymbols:jfe}=Object,Zht=Object.prototype.hasOwnProperty,pht=Object.prototype.propertyIsEnumerable,Ffe=(e,r)=>(r=Symbol[e])?r:Symbol.for("Symbol."+e),Z1=(e)=>{throw TypeError(e)},TU=(e,r,a)=>(r in e)?NU(e,r,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[r]=a,mht=(e,r)=>{for(var a in r||(r={}))if(Zht.call(r,a))TU(e,a,r[a]);if(jfe){for(var a of jfe(r))if(pht.call(r,a))TU(e,a,r[a])}return e},hht=(e,r)=>cht(e,dht(r)),Nfe=(e,r)=>NU(e,"name",{value:r,configurable:!0}),ght=(e)=>{var r;return[,,,lht((r=e==null?void 0:e[Ffe("metadata")])!=null?r:null)]},Bfe=["class","method","getter","setter","accessor","field","value","get","set"],PT=(e)=>e!==void 0&&typeof e!=="function"?Z1("Function expected"):e,Mht=(e,r,a,i,f)=>({kind:Bfe[e],name:r,metadata:i,addInitializer:(s)=>a._?Z1("Already initialized"):f.push(PT(s||null))}),Yfe=(e,r)=>TU(r,Ffe("metadata"),e[3]),eL=(e,r,a,i)=>{for(var f=0,s=e[r>>1],l=s&&s.length;f<l;f++)r&1?s[f].call(a):i=s[f].call(a,i);return i},p1=(e,r,a,i,f,s)=>{var l,c,m,g,M,x=r&7,b=!!(r&8),y=!!(r&16),_=x>3?e.length+1:x?b?1:2:0,k=Bfe[x+5],F=x>3&&(e[_-1]=[]),I=e[_]||(e[_]=[]),j=x&&(!y&&!b&&(f=f.prototype),x<5&&(x>3||!y)&&uht(x<4?f:{get[a](){return Ac(this,s)},set[a](X){return y8(this,s,X)}},a));x?y&&x<4&&Nfe(s,(x>2?"set ":x>1?"get ":"")+a):Nfe(f,a);for(var G=i.length-1;G>=0;G--){if(g=Mht(x,a,m={},e[3],I),x){if(g.static=b,g.private=y,M=g.access={has:y?(X)=>vht(f,X):(X)=>(a in X)},x^3)M.get=y?(X)=>(x^1?Ac:xht)(X,f,x^4?s:j.get):(X)=>X[a];if(x>2)M.set=y?(X,J)=>y8(X,f,J,x^4?s:j.set):(X,J)=>X[a]=J}if(c=(0,i[G])(x?x<4?y?s:j[k]:x>4?void 0:{get:j.get,set:j.set}:f,g),m._=1,x^4||c===void 0)PT(c)&&(x>4?F.unshift(c):x?y?s=c:j[k]=c:f=c);else if(typeof c!=="object"||c===null)Z1("Object expected");else PT(l=c.get)&&(j.get=l),PT(l=c.set)&&(j.set=l),PT(l=c.init)&&F.unshift(l)}return x||Yfe(e,f),j&&NU(f,a,j),y?x^4?s:j:f},FU=(e,r,a)=>r.has(e)||Z1("Cannot "+a),vht=(e,r)=>Object(r)!==r?Z1('Cannot use the "in" operator on this value'):e.has(r),Ac=(e,r,a)=>(FU(e,r,"read from private field"),a?a.call(e):r.get(e)),TT=(e,r,a)=>r.has(e)?Z1("Cannot add the same private member more than once"):r instanceof WeakSet?r.add(e):r.set(e,a),y8=(e,r,a,i)=>(FU(e,r,"write to private field"),i?i.call(e,a):r.set(e,a),a),xht=(e,r,a)=>(FU(e,r,"access private method"),a);function m1(e,r){if(r){let a;return LU(()=>{let i=e();if(i&&a&&r(a,i))return a;return a=i,i})}return LU(e)}function Qi(e,r){if(Object.is(e,r))return!0;if(e===null||r===null)return!1;if(typeof e==="function"&&typeof r==="function")return e===r;if(e instanceof Set&&r instanceof Set){if(e.size!==r.size)return!1;for(let a of e)if(!r.has(a))return!1;return!0}if(Array.isArray(e)){if(!Array.isArray(r)||e.length!==r.length)return!1;return!e.some((i,f)=>!Qi(i,r[f]))}if(typeof e==="object"&&typeof r==="object"){let a=Object.keys(e),i=Object.keys(r);if(a.length!==i.length)return!1;return!a.some((s)=>!Qi(e[s],r[s]))}return!1}function So({get:e},r){return{init(a){return pZ(a)},get(){return e.call(this).value},set(a){let i=e.call(this);if(i.peek()===a)return;i.value=a}}}function rn(e,r){let a=new WeakMap;return function(){let i=a.get(this);if(!i)i=m1(e.bind(this)),a.set(this,i);return i.value}}function IU(e=!0){return function(r,a){a.addInitializer(function(){let i=a.kind==="field"?this:a.static?this:Object.getPrototypeOf(this),f=Object.getOwnPropertyDescriptor(i,a.name);if(f)Object.defineProperty(i,a.name,hht(mht({},f),{enumerable:e}))})}}function rL(...e){let r=e.map((a)=>gi(a));return()=>r.forEach((a)=>a())}var Ufe,qfe,Vfe,Hfe,Wfe,Gfe,gs,BU,CU,AU,DU,es,YU,RU,Kfe,EU,UU,PU,OU,jU;Gfe=[So],Wfe=[So],Hfe=[So],Vfe=[IU()],qfe=[IU()],Ufe=[IU()];var mZ=class{constructor(e,r=Object.is){this.defaultValue=e,this.equals=r,eL(gs,5,this),TT(this,es),TT(this,BU,eL(gs,8,this)),eL(gs,11,this),TT(this,YU,eL(gs,12,this)),eL(gs,15,this),TT(this,UU,eL(gs,16,this)),eL(gs,19,this),this.reset=this.reset.bind(this),this.reset()}get current(){return Ac(this,es,OU)}get initial(){return Ac(this,es,AU)}get previous(){return Ac(this,es,Kfe)}set current(e){let r=uo(()=>Ac(this,es,OU));if(e&&r&&this.equals(r,e))return;Qo(()=>{if(!Ac(this,es,AU))y8(this,es,e,DU);y8(this,es,r,EU),y8(this,es,e,jU)})}reset(e=this.defaultValue){Qo(()=>{y8(this,es,void 0,EU),y8(this,es,e,DU),y8(this,es,e,jU)})}};gs=ght(null);BU=new WeakMap;es=new WeakSet;YU=new WeakMap;UU=new WeakMap;CU=p1(gs,20,"#initial",Gfe,es,BU),AU=CU.get,DU=CU.set;RU=p1(gs,20,"#previous",Wfe,es,YU),Kfe=RU.get,EU=RU.set;PU=p1(gs,20,"#current",Hfe,es,UU),OU=PU.get,jU=PU.set;p1(gs,2,"current",Vfe,mZ);p1(gs,2,"initial",qfe,mZ);p1(gs,2,"previous",Ufe,mZ);Yfe(gs,mZ);function RN(e){return uo(()=>{let r={};for(let a in e)r[a]=e[a];return r})}var tL,Xfe=class{constructor(){TT(this,tL,new WeakMap)}get(e,r){var a;return e?(a=Ac(this,tL).get(e))==null?void 0:a.get(r):void 0}set(e,r,a){var i;if(!e)return;if(!Ac(this,tL).has(e))Ac(this,tL).set(e,new Map);return(i=Ac(this,tL).get(e))==null?void 0:i.set(r,a)}clear(e){var r;return e?(r=Ac(this,tL).get(e))==null?void 0:r.clear():void 0}};tL=new WeakMap;var{create:yht,defineProperty:GU,getOwnPropertyDescriptor:bht,getOwnPropertySymbols:Qfe}=Object,_ht=Object.prototype.hasOwnProperty,wht=Object.prototype.propertyIsEnumerable,ese=(e,r)=>(r=Symbol[e])?r:Symbol.for("Symbol."+e),h1=(e)=>{throw TypeError(e)},Jfe=Math.pow,qU=(e,r,a)=>(r in e)?GU(e,r,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[r]=a,zht=(e,r)=>{for(var a in r||(r={}))if(_ht.call(r,a))qU(e,a,r[a]);if(Qfe){for(var a of Qfe(r))if(wht.call(r,a))qU(e,a,r[a])}return e},$fe=(e,r)=>GU(e,"name",{value:r,configurable:!0}),Sht=(e)=>{var r;return[,,,yht((r=e==null?void 0:e[ese("metadata")])!=null?r:null)]},tse=["class","method","getter","setter","accessor","field","value","get","set"],AT=(e)=>e!==void 0&&typeof e!=="function"?h1("Function expected"):e,Lht=(e,r,a,i,f)=>({kind:tse[e],name:r,metadata:i,addInitializer:(s)=>a._?h1("Already initialized"):f.push(AT(s||null))}),rse=(e,r)=>qU(r,ese("metadata"),e[3]),kht=(e,r,a,i)=>{for(var f=0,s=e[r>>1],l=s&&s.length;f<l;f++)r&1?s[f].call(a):i=s[f].call(a,i);return i},ose=(e,r,a,i,f,s)=>{var l,c,m,g,M,x=r&7,b=!!(r&8),y=!!(r&16),_=x>3?e.length+1:x?b?1:2:0,k=tse[x+5],F=x>3&&(e[_-1]=[]),I=e[_]||(e[_]=[]),j=x&&(!y&&!b&&(f=f.prototype),x<5&&(x>3||!y)&&bht(x<4?f:{get[a](){return VU(this,s)},set[a](X){return HU(this,s,X)}},a));x?y&&x<4&&$fe(s,(x>2?"set ":x>1?"get ":"")+a):$fe(f,a);for(var G=i.length-1;G>=0;G--){if(g=Lht(x,a,m={},e[3],I),x){if(g.static=b,g.private=y,M=g.access={has:y?(X)=>Iht(f,X):(X)=>(a in X)},x^3)M.get=y?(X)=>(x^1?VU:Rht)(X,f,x^4?s:j.get):(X)=>X[a];if(x>2)M.set=y?(X,J)=>HU(X,f,J,x^4?s:j.set):(X,J)=>X[a]=J}if(c=(0,i[G])(x?x<4?y?s:j[k]:x>4?void 0:{get:j.get,set:j.set}:f,g),m._=1,x^4||c===void 0)AT(c)&&(x>4?F.unshift(c):x?y?s=c:j[k]=c:f=c);else if(typeof c!=="object"||c===null)h1("Object expected");else AT(l=c.get)&&(j.get=l),AT(l=c.set)&&(j.set=l),AT(l=c.init)&&F.unshift(l)}return x||rse(e,f),j&&GU(f,a,j),y?x^4?s:j:f},KU=(e,r,a)=>r.has(e)||h1("Cannot "+a),Iht=(e,r)=>Object(r)!==r?h1('Cannot use the "in" operator on this value'):e.has(r),VU=(e,r,a)=>(KU(e,r,"read from private field"),a?a.call(e):r.get(e)),Cht=(e,r,a)=>r.has(e)?h1("Cannot add the same private member more than once"):r instanceof WeakSet?r.add(e):r.set(e,a),HU=(e,r,a,i)=>(KU(e,r,"write to private field"),i?i.call(e,a):r.set(e,a),a),Rht=(e,r,a)=>(KU(e,r,"access private method"),a),ts=class e{constructor(r,a){this.x=r,this.y=a}static delta(r,a){return new e(r.x-a.x,r.y-a.y)}static distance(r,a){return Math.hypot(r.x-a.x,r.y-a.y)}static equals(r,a){return r.x===a.x&&r.y===a.y}static from({x:r,y:a}){return new e(r,a)}},Xs=class e{constructor(r,a,i,f){this.left=r,this.top=a,this.width=i,this.height=f,this.scale={x:1,y:1}}get inverseScale(){return{x:1/this.scale.x,y:1/this.scale.y}}translate(r,a){let{top:i,left:f,width:s,height:l,scale:c}=this,m=new e(f+r,i+a,s,l);return m.scale=zht({},c),m}get boundingRectangle(){let{width:r,height:a,left:i,top:f,right:s,bottom:l}=this;return{width:r,height:a,left:i,top:f,right:s,bottom:l}}get center(){let{left:r,top:a,right:i,bottom:f}=this;return new ts((r+i)/2,(a+f)/2)}get area(){let{width:r,height:a}=this;return r*a}equals(r){if(!(r instanceof e))return!1;let{left:a,top:i,width:f,height:s}=this;return a===r.left&&i===r.top&&f===r.width&&s===r.height}containsPoint(r){let{top:a,left:i,bottom:f,right:s}=this;return a<=r.y&&r.y<=f&&i<=r.x&&r.x<=s}intersectionArea(r){if(r instanceof e)return Pht(this,r);return 0}intersectionRatio(r){let{area:a}=this,i=this.intersectionArea(r);return i/(r.area+a-i)}get bottom(){let{top:r,height:a}=this;return r+a}get right(){let{left:r,width:a}=this;return r+a}get aspectRatio(){let{width:r,height:a}=this;return r/a}get corners(){return[{x:this.left,y:this.top},{x:this.right,y:this.top},{x:this.left,y:this.bottom},{x:this.right,y:this.bottom}]}static from({top:r,left:a,width:i,height:f}){return new e(a,r,i,f)}static delta(r,a,i={x:"center",y:"center"}){let f=(s,l)=>{let c=i[l],m=l==="x"?s.left:s.top,g=l==="x"?s.width:s.height;if(c=="start")return m;if(c=="end")return m+g;return m+g/2};return ts.delta({x:f(r,"x"),y:f(r,"y")},{x:f(a,"x"),y:f(a,"y")})}static intersectionRatio(r,a){return e.from(r).intersectionRatio(e.from(a))}};function Pht(e,r){let a=Math.max(r.top,e.top),i=Math.max(r.left,e.left),f=Math.min(r.left+r.width,e.left+e.width),s=Math.min(r.top+r.height,e.top+e.height),l=f-i,c=s-a;if(i<f&&a<s)return l*c;return 0}var ase,nse,WU,PN,DT,ET=class extends(WU=mZ,nse=[rn],ase=[rn],WU){constructor(e){let r=ts.from(e);super(r,(a,i)=>ts.equals(a,i));kht(DT,5,this),Cht(this,PN,0),this.velocity={x:0,y:0}}get delta(){return ts.delta(this.current,this.initial)}get direction(){let{current:e,previous:r}=this;if(!r)return null;let a={x:e.x-r.x,y:e.y-r.y};if(!a.x&&!a.y)return null;if(Math.abs(a.x)>Math.abs(a.y))return a.x>0?"right":"left";return a.y>0?"down":"up"}get current(){return super.current}set current(e){let{current:r}=this,a=ts.from(e),i={x:a.x-r.x,y:a.y-r.y},f=Date.now(),s=f-VU(this,PN),l=(c)=>Math.round(c/s*100);Qo(()=>{HU(this,PN,f),this.velocity={x:l(i.x),y:l(i.y)},super.current=a})}reset(e=this.defaultValue){super.reset(ts.from(e)),this.velocity={x:0,y:0}}};DT=Sht(WU);PN=new WeakMap;ose(DT,2,"delta",nse,ET);ose(DT,2,"direction",ase,ET);rse(DT,ET);function TN({x:e,y:r},a){let i=Math.abs(e),f=Math.abs(r);if(typeof a==="number")return Math.sqrt(Jfe(i,2)+Jfe(f,2))>a;if("x"in a&&"y"in a)return i>a.x&&f>a.y;if("x"in a)return i>a.x;if("y"in a)return f>a.y;return!1}var ise=((e)=>(e.Horizontal="x",e.Vertical="y",e))(ise||{}),XU=Object.values(ise);var{create:Tht,defineProperty:tq,defineProperties:Aht,getOwnPropertyDescriptor:Dht,getOwnPropertyDescriptors:Eht,getOwnPropertySymbols:FN}=Object,lse=Object.prototype.hasOwnProperty,cse=Object.prototype.propertyIsEnumerable,use=(e,r)=>(r=Symbol[e])?r:Symbol.for("Symbol."+e),b1=(e)=>{throw TypeError(e)},JU=(e,r,a)=>(r in e)?tq(e,r,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[r]=a,rq=(e,r)=>{for(var a in r||(r={}))if(lse.call(r,a))JU(e,a,r[a]);if(FN){for(var a of FN(r))if(cse.call(r,a))JU(e,a,r[a])}return e},oq=(e,r)=>Aht(e,Eht(r)),fse=(e,r)=>tq(e,"name",{value:r,configurable:!0}),dse=(e,r)=>{var a={};for(var i in e)if(lse.call(e,i)&&r.indexOf(i)<0)a[i]=e[i];if(e!=null&&FN){for(var i of FN(e))if(r.indexOf(i)<0&&cse.call(e,i))a[i]=e[i]}return a},_1=(e)=>{var r;return[,,,Tht((r=e==null?void 0:e[use("metadata")])!=null?r:null)]},Zse=["class","method","getter","setter","accessor","field","value","get","set"],OT=(e)=>e!==void 0&&typeof e!=="function"?b1("Function expected"):e,Oht=(e,r,a,i,f)=>({kind:Zse[e],name:r,metadata:i,addInitializer:(s)=>a._?b1("Already initialized"):f.push(OT(s||null))}),aL=(e,r)=>JU(r,use("metadata"),e[3]),fo=(e,r,a,i)=>{for(var f=0,s=e[r>>1],l=s&&s.length;f<l;f++)r&1?s[f].call(a):i=s[f].call(a,i);return i},Eo=(e,r,a,i,f,s)=>{var l,c,m,g,M,x=r&7,b=!!(r&8),y=!!(r&16),_=x>3?e.length+1:x?b?1:2:0,k=Zse[x+5],F=x>3&&(e[_-1]=[]),I=e[_]||(e[_]=[]),j=x&&(!y&&!b&&(f=f.prototype),x<5&&(x>3||!y)&&Dht(x<4?f:{get[a](){return qn(this,s)},set[a](X){return Gl(this,s,X)}},a));x?y&&x<4&&fse(s,(x>2?"set ":x>1?"get ":"")+a):fse(f,a);for(var G=i.length-1;G>=0;G--){if(g=Oht(x,a,m={},e[3],I),x){if(g.static=b,g.private=y,M=g.access={has:y?(X)=>jht(f,X):(X)=>(a in X)},x^3)M.get=y?(X)=>(x^1?qn:pse)(X,f,x^4?s:j.get):(X)=>X[a];if(x>2)M.set=y?(X,J)=>Gl(X,f,J,x^4?s:j.set):(X,J)=>X[a]=J}if(c=(0,i[G])(x?x<4?y?s:j[k]:x>4?void 0:{get:j.get,set:j.set}:f,g),m._=1,x^4||c===void 0)OT(c)&&(x>4?F.unshift(c):x?y?s=c:j[k]=c:f=c);else if(typeof c!=="object"||c===null)b1("Object expected");else OT(l=c.get)&&(j.get=l),OT(l=c.set)&&(j.set=l),OT(l=c.init)&&F.unshift(l)}return x||aL(e,f),j&&tq(f,a,j),y?x^4?s:j:f},aq=(e,r,a)=>r.has(e)||b1("Cannot "+a),jht=(e,r)=>Object(r)!==r?b1('Cannot use the "in" operator on this value'):e.has(r),qn=(e,r,a)=>(aq(e,r,"read from private field"),a?a.call(e):r.get(e)),Za=(e,r,a)=>r.has(e)?b1("Cannot add the same private member more than once"):r instanceof WeakSet?r.add(e):r.set(e,a),Gl=(e,r,a,i)=>(aq(e,r,"write to private field"),i?i.call(e,a):r.set(e,a),a),pse=(e,r,a)=>(aq(e,r,"access private method"),a);function mse(e,r){return{plugin:e,options:r}}function Ya(e){return(r)=>mse(e,r)}function y1(e){if(typeof e==="function")return{plugin:e,options:void 0};return e}var hse,FT,nq,DN;hse=[So];var Fi=class{constructor(e,r){this.manager=e,this.options=r,Za(this,nq,fo(FT,8,this,!1)),fo(FT,11,this),Za(this,DN,new Set)}enable(){this.disabled=!1}disable(){this.disabled=!0}isDisabled(){return uo(()=>this.disabled)}configure(e){this.options=e}registerEffect(e){let r=gi(e.bind(this));return qn(this,DN).add(r),r}destroy(){qn(this,DN).forEach((e)=>e())}static configure(e){return mse(this,e)}};FT=_1(null);nq=new WeakMap;DN=new WeakMap;Eo(FT,4,"disabled",hse,Fi,nq);aL(FT,Fi);var w1=class extends Fi{},EN,QU=class{constructor(e){this.manager=e,this.instances=new Map,Za(this,EN,[])}get values(){return Array.from(this.instances.values())}set values(e){let r=e.map(y1).reduce((i,f)=>{let s=i.find(({plugin:l})=>l===f.plugin);if(s)return s.options=f.options,i;return[...i,f]},[]),a=r.map(({plugin:i})=>i);for(let i of qn(this,EN))if(!a.includes(i)){if(i.prototype instanceof w1)continue;this.unregister(i)}for(let{plugin:i,options:f}of r)this.register(i,f);Gl(this,EN,a)}get(e){return this.instances.get(e)}register(e,r){let a=this.instances.get(e);if(a){if(a.options!==r)a.options=r;return a}let i=new e(this.manager,r);return this.instances.set(e,i),i}unregister(e){let r=this.instances.get(e);if(r)r.destroy(),this.instances.delete(e)}destroy(){for(let e of this.instances.values())e.destroy();this.instances.clear()}};EN=new WeakMap;function Nht(e,r){if(e.priority===r.priority){if(e.type===r.type)return r.value-e.value;return r.type-e.type}return r.priority-e.priority}var AN=[],g1,M1,Fht=class extends Fi{constructor(e){super(e);Za(this,g1),Za(this,M1),this.computeCollisions=this.computeCollisions.bind(this),Gl(this,M1,pZ(AN)),this.destroy=rL(()=>{let r=this.computeCollisions(),a=uo(()=>this.manager.dragOperation.position.current);if(r!==AN){let i=qn(this,g1);if(Gl(this,g1,a),i&&a.x==i.x&&a.y==i.y)return}else Gl(this,g1,void 0);qn(this,M1).value=r},()=>{let{dragOperation:r}=this.manager;if(r.status.initialized)this.forceUpdate()})}forceUpdate(e=!0){uo(()=>{if(e)qn(this,M1).value=this.computeCollisions();else Gl(this,g1,void 0)})}computeCollisions(e,r){let{registry:a,dragOperation:i}=this.manager,{source:f,shape:s,status:l}=i;if(!l.initialized||!s)return AN;let c=[],m=[];for(let g of e!=null?e:a.droppables){if(g.disabled)continue;if(f&&!g.accepts(f))continue;let M=r!=null?r:g.collisionDetector;if(!M)continue;m.push(g),g.shape;let x=uo(()=>M({droppable:g,dragOperation:i}));if(x){if(g.collisionPriority!=null)x.priority=g.collisionPriority;c.push(x)}}if(m.length===0)return AN;return c.sort(Nht),c}get collisions(){return qn(this,M1).value}};g1=new WeakMap;M1=new WeakMap;var gse,Mse,vse,iq,xse,vu,fq,x1,sq,lq;vse=[So],Mse=[So],gse=[So];var eM=class e{constructor(r,a){Za(this,fq,fo(vu,8,this)),fo(vu,11,this),Za(this,x1),Za(this,sq,fo(vu,12,this)),fo(vu,15,this),Za(this,lq,fo(vu,16,this)),fo(vu,19,this);let{effects:i,id:f,data:s={},disabled:l=!1,register:c=!0}=r,m=f;if(Gl(this,x1,pZ(f)),this.manager=a,this.data=s,this.disabled=l,this.effects=()=>{var g;return[()=>{let{id:M,manager:x}=this;if(M===m)return;return m=M,x==null||x.registry.register(this),()=>x==null?void 0:x.registry.unregister(this)},...(g=i==null?void 0:i())!=null?g:[]]},this.register=this.register.bind(this),this.unregister=this.unregister.bind(this),this.destroy=this.destroy.bind(this),a&&c)queueMicrotask(this.register)}get id(){var r,a;let i=qn(this,x1).value;return(a=(r=e.pendingIdChanges)==null?void 0:r.get(this))!=null?a:i}set id(r){var a,i;let f=(i=(a=e.pendingIdChanges)==null?void 0:a.get(this))!=null?i:qn(this,x1).peek();if(r===f)return;if(!e.pendingIdChanges)e.pendingIdChanges=new Map,queueMicrotask(()=>{var s;return pse(s=e,iq,xse).call(s)});e.pendingIdChanges.set(this,r)}register(){var r;return(r=this.manager)==null?void 0:r.registry.register(this)}unregister(){var r;(r=this.manager)==null||r.registry.unregister(this)}destroy(){var r;(r=this.manager)==null||r.registry.unregister(this)}};vu=_1(null);iq=new WeakSet;xse=function(){let e=eM.pendingIdChanges;if(eM.pendingIdChanges=null,e)Qo(()=>{for(let[r,a]of e)qn(r,x1).value=a})};fq=new WeakMap;x1=new WeakMap;sq=new WeakMap;lq=new WeakMap;Eo(vu,4,"manager",vse,eM,fq);Eo(vu,4,"data",Mse,eM,sq);Eo(vu,4,"disabled",gse,eM,lq);Za(eM,iq);aL(vu,eM);eM.pendingIdChanges=null;var BN=eM,sse=class{constructor(){this.map=pZ(new Map),this.cleanupFunctions=new WeakMap,this.register=(e,r)=>{let a=this.map.peek(),i=a.get(e),f=()=>this.unregister(e,r);if(i===r)return f;if(i){if(i.id===e){let c=this.cleanupFunctions.get(i);c==null||c(),this.cleanupFunctions.delete(i)}}let s=new Map(a);for(let[c,m]of a)if(m===r&&c!==e){s.delete(c);break}s.set(e,r),this.map.value=s;let l=rL(...r.effects());return this.cleanupFunctions.set(r,l),f},this.unregister=(e,r)=>{let a=this.map.peek();if(a.get(e)!==r)return;let i=this.cleanupFunctions.get(r);i==null||i(),this.cleanupFunctions.delete(r);let f=new Map(a);f.delete(e),this.map.value=f}}[Symbol.iterator](){return this.map.peek().values()}get value(){return this.map.value.values()}has(e){return this.map.value.has(e)}get(e){return this.map.value.get(e)}destroy(){for(let e of this){let r=this.cleanupFunctions.get(e);r==null||r(),e.destroy()}this.map.value=new Map}},yse,bse,_se,wse,zse,Sse,$U,vs,cq,uq,dq,xu=class extends($U=BN,Sse=[So],zse=[So],wse=[So],_se=[rn],bse=[rn],yse=[rn],$U){constructor(e,r){var a=e,{modifiers:i,type:f,sensors:s,plugins:l,effects:c}=a,m=dse(a,["modifiers","type","sensors","plugins","effects"]);super(oq(rq({},m),{effects:()=>{var g;return[...(g=c==null?void 0:c())!=null?g:[],()=>{let{manager:M,plugins:x}=this;if(!M||!x)return;for(let b of x){let{plugin:y}=y1(b);M.registry.plugins.register(y)}}]}}),r);fo(vs,5,this),Za(this,cq,fo(vs,8,this)),fo(vs,11,this),Za(this,uq,fo(vs,12,this)),fo(vs,15,this),Za(this,dq,fo(vs,16,this,this.isDragSource?"dragging":"idle")),fo(vs,19,this),this.type=f,this.sensors=s,this.modifiers=i,this.alignment=m.alignment,this.plugins=l}pluginConfig(e){if(!this.plugins)return;for(let r of this.plugins){let a=y1(r);if(a.plugin===e)return a.options}return}get isDropping(){return this.status==="dropping"&&this.isDragSource}get isDragging(){return this.status==="dragging"&&this.isDragSource}get isDragSource(){var e,r;return((r=(e=this.manager)==null?void 0:e.dragOperation.source)==null?void 0:r.id)===this.id}};vs=_1($U);cq=new WeakMap;uq=new WeakMap;dq=new WeakMap;Eo(vs,4,"type",Sse,xu,cq);Eo(vs,4,"modifiers",zse,xu,uq);Eo(vs,4,"status",wse,xu,dq);Eo(vs,2,"isDropping",_se,xu);Eo(vs,2,"isDragging",bse,xu);Eo(vs,2,"isDragSource",yse,xu);aL(vs,xu);var Lse,kse,Ise,Cse,Rse,Pse,eq,yi,Zq,pq,mq,hq,gq,yu=class extends(eq=BN,Pse=[So],Rse=[So],Cse=[So],Ise=[So],kse=[So],Lse=[rn],eq){constructor(e,r){var a=e,{accept:i,collisionDetector:f,collisionPriority:s,type:l}=a,c=dse(a,["accept","collisionDetector","collisionPriority","type"]);super(c,r);fo(yi,5,this),Za(this,Zq,fo(yi,8,this)),fo(yi,11,this),Za(this,pq,fo(yi,12,this)),fo(yi,15,this),Za(this,mq,fo(yi,16,this)),fo(yi,19,this),Za(this,hq,fo(yi,20,this)),fo(yi,23,this),Za(this,gq,fo(yi,24,this)),fo(yi,27,this),this.accept=i,this.collisionDetector=f,this.collisionPriority=s,this.type=l}accepts(e){let{accept:r}=this;if(!r)return!0;if(typeof r==="function")return r(e);if(!e.type)return!1;if(Array.isArray(r))return r.includes(e.type);return e.type===r}get isDropTarget(){var e,r;return((r=(e=this.manager)==null?void 0:e.dragOperation.target)==null?void 0:r.id)===this.id}};yi=_1(eq);Zq=new WeakMap;pq=new WeakMap;mq=new WeakMap;hq=new WeakMap;gq=new WeakMap;Eo(yi,4,"accept",Pse,yu,Zq);Eo(yi,4,"type",Rse,yu,pq);Eo(yi,4,"collisionDetector",Cse,yu,mq);Eo(yi,4,"collisionPriority",Ise,yu,hq);Eo(yi,4,"shape",kse,yu,gq);Eo(yi,2,"isDropTarget",Lse,yu);aL(yi,yu);var Bht=class{constructor(){this.registry=new Map}addEventListener(e,r){let{registry:a}=this,i=new Set(a.get(e));return i.add(r),a.set(e,i),()=>this.removeEventListener(e,r)}removeEventListener(e,r){let{registry:a}=this,i=new Set(a.get(e));i.delete(r),a.set(e,i)}dispatch(e,...r){let{registry:a}=this,i=a.get(e);if(!i)return;for(let f of i)f(...r)}},Yht=class extends Bht{constructor(e){super();this.manager=e}dispatch(e,r){let a=[r,this.manager];super.dispatch(e,...a)}};function ON(e,r=!0){let a=!1;return oq(rq({},e),{cancelable:r,get defaultPrevented(){return a},preventDefault(){if(!r)return;a=!0}})}var Uht=class extends w1{constructor(e){super(e);let r=(i,f)=>i.map(({id:s})=>s).join("")===f.map(({id:s})=>s).join(""),a=[];this.destroy=rL(()=>{let{dragOperation:i,collisionObserver:f}=e;if(i.status.initializing)a=[],f.enable()},()=>{let{collisionObserver:i,monitor:f}=e,{collisions:s}=i;if(i.isDisabled())return;if(BN.pendingIdChanges)return;let l=ON({collisions:s});if(f.dispatch("collision",l),l.defaultPrevented)return;if(r(s,a))return;else a=s;let[c]=s;uo(()=>{var m;if((c==null?void 0:c.id)!==((m=e.dragOperation.target)==null?void 0:m.id))i.disable(),e.actions.setDropTarget(c==null?void 0:c.id).then(()=>{i.enable()})})})}},hZ=((e)=>(e[e.Lowest=0]="Lowest",e[e.Low=1]="Low",e[e.Normal=2]="Normal",e[e.High=3]="High",e[e.Highest=4]="Highest",e))(hZ||{}),gZ=((e)=>(e[e.Collision=0]="Collision",e[e.ShapeIntersection=1]="ShapeIntersection",e[e.PointerIntersection=2]="PointerIntersection",e))(gZ||{}),Tse,Ase,Dse,Ese,Ose,jse,Nse,Yc,Mq;Nse=[So],jse=[rn],Ose=[rn],Ese=[rn],Dse=[rn],Ase=[rn],Tse=[rn];var tM=class{constructor(){fo(Yc,5,this),Za(this,Mq,fo(Yc,8,this,"idle")),fo(Yc,11,this)}get current(){return this.value}get idle(){return this.value==="idle"}get initializing(){return this.value==="initializing"}get initialized(){let{value:e}=this;return e!=="idle"&&e!=="initialization-pending"}get dragging(){return this.value==="dragging"}get dropped(){return this.value==="dropped"}set(e){this.value=e}};Yc=_1(null);Mq=new WeakMap;Eo(Yc,4,"value",Nse,tM,Mq);Eo(Yc,2,"current",jse,tM);Eo(Yc,2,"idle",Ose,tM);Eo(Yc,2,"initializing",Ese,tM);Eo(Yc,2,"initialized",Dse,tM);Eo(Yc,2,"dragging",Ase,tM);Eo(Yc,2,"dropped",Tse,tM);aL(Yc,tM);var qht=class{constructor(e){this.manager=e}setDragSource(e){let{dragOperation:r}=this.manager;r.sourceIdentifier=typeof e==="string"||typeof e==="number"?e:e.id}setDropTarget(e){return uo(()=>{let{dragOperation:r}=this.manager,a=e!=null?e:null;if(r.targetIdentifier===a)return Promise.resolve(!1);r.targetIdentifier=a;let i=ON({operation:r.snapshot()});if(r.status.dragging)this.manager.monitor.dispatch("dragover",i);return this.manager.renderer.rendering.then(()=>i.defaultPrevented)})}start(e){return uo(()=>{let{dragOperation:r}=this.manager;if(e.source!=null)this.setDragSource(e.source);if(!r.source)throw Error("Cannot start a drag operation without a drag source");if(!r.status.idle)throw Error("Cannot start a drag operation while another is active");let i=new AbortController,{event:f,coordinates:s}=e;Qo(()=>{r.status.set("initialization-pending"),r.shape=null,r.canceled=!1,r.activatorEvent=f!=null?f:null,r.position.reset(s)});let l=ON({operation:r.snapshot()});if(this.manager.monitor.dispatch("beforedragstart",l),l.defaultPrevented)return r.reset(),i.abort(),i;return r.status.set("initializing"),r.controller=i,this.manager.renderer.rendering.then(()=>{if(i.signal.aborted)return;let{status:c}=r;if(c.current!=="initializing")return;Qo(()=>{r.status.set("dragging"),this.manager.monitor.dispatch("dragstart",{nativeEvent:f,operation:r.snapshot(),cancelable:!1})})}),i})}move(e){return uo(()=>{var r,a;let{dragOperation:i}=this.manager,{status:f,controller:s}=i;if(!f.dragging||!s||s.signal.aborted)return;let l=ON({nativeEvent:e.event,operation:i.snapshot(),by:e.by,to:e.to},(r=e.cancelable)!=null?r:!0);if((a=e.propagate)!=null?a:!0)this.manager.monitor.dispatch("dragmove",l);queueMicrotask(()=>{var c,m,g,M,x;if(l.defaultPrevented)return;let b=(x=e.to)!=null?x:{x:i.position.current.x+((m=(c=e.by)==null?void 0:c.x)!=null?m:0),y:i.position.current.y+((M=(g=e.by)==null?void 0:g.y)!=null?M:0)};i.position.current=b})})}stop(e={}){return uo(()=>{var r,a;let{dragOperation:i}=this.manager,{controller:f}=i;if(!f||f.signal.aborted)return;let s,l=()=>{let m={resume:()=>{},abort:()=>{}};return s=new Promise((g,M)=>{m.resume=g,m.abort=M}),m};f.abort();let c=()=>{this.manager.renderer.rendering.then(()=>{i.status.set("dropped");let m=uo(()=>{var M;return((M=i.source)==null?void 0:M.status)==="dropping"}),g=()=>{if(i.controller===f)i.controller=void 0;i.reset()};if(m){let{source:M}=i,x=gi(()=>{if((M==null?void 0:M.status)==="idle")x(),g()})}else this.manager.renderer.rendering.then(g)})};if(i.canceled=(r=e.canceled)!=null?r:!1,this.manager.monitor.dispatch("dragend",{nativeEvent:e.event,operation:i.snapshot(),canceled:(a=e.canceled)!=null?a:!1,suspend:l}),s)s.then(c).catch(()=>i.reset());else c()})}},oL=class extends Fi{constructor(e,r){super(e,r);this.manager=e,this.options=r}},Fse=class extends AbortController{constructor(e,r){super();this.constraints=e,this.onActivate=r,this.activated=!1;for(let a of e!=null?e:[])a.controller=this}onEvent(e){var r;if(this.activated)return;if((r=this.constraints)==null?void 0:r.length)for(let a of this.constraints)a.onEvent(e);else this.activate(e)}activate(e){if(this.activated)return;this.activated=!0,this.onActivate(e)}abort(e){this.activated=!1,super.abort(e)}},jN,vq=class{constructor(e){this.options=e,Za(this,jN)}set controller(e){Gl(this,jN,e),e.signal.addEventListener("abort",()=>this.abort())}activate(e){var r;(r=qn(this,jN))==null||r.activate(e)}};jN=new WeakMap;var Od=class extends Fi{constructor(e,r){super(e,r);this.manager=e,this.options=r}apply(e){return e.transform}},Vht=class{constructor(e){this.draggables=new sse,this.droppables=new sse,this.plugins=new QU(e),this.sensors=new QU(e),this.modifiers=new QU(e)}register(e,r){if(e instanceof xu)return this.draggables.register(e.id,e);if(e instanceof yu)return this.droppables.register(e.id,e);if(e.prototype instanceof Od)return this.modifiers.register(e,r);if(e.prototype instanceof oL)return this.sensors.register(e,r);if(e.prototype instanceof Fi)return this.plugins.register(e,r);throw Error("Invalid instance type")}unregister(e){if(e instanceof BN){if(e instanceof xu)return this.draggables.unregister(e.id,e);if(e instanceof yu)return this.droppables.unregister(e.id,e);return()=>{}}if(e.prototype instanceof Od)return this.modifiers.unregister(e);if(e.prototype instanceof oL)return this.sensors.unregister(e);if(e.prototype instanceof Fi)return this.plugins.unregister(e);throw Error("Invalid instance type")}destroy(){this.draggables.destroy(),this.droppables.destroy(),this.plugins.destroy(),this.sensors.destroy(),this.modifiers.destroy()}},Bse,Yse,Use,qse,Vse,Hse,Wse,Gse,Kse,jT,NN,v1,kn,xq,yq,bq,_q,wq,NT;Kse=[rn],Gse=[So],Wse=[So],Hse=[So],Vse=[So],qse=[So],Use=[rn],Yse=[rn],Bse=[rn];var bu=class{constructor(e){fo(kn,5,this),Za(this,jT),Za(this,NN),Za(this,v1,new mZ(void 0,(r,a)=>r&&a?r.equals(a):r===a)),this.status=new tM,Za(this,xq,fo(kn,8,this,!1)),fo(kn,11,this),Za(this,yq,fo(kn,12,this,null)),fo(kn,15,this),Za(this,bq,fo(kn,16,this,null)),fo(kn,19,this),Za(this,_q,fo(kn,20,this,null)),fo(kn,23,this),Za(this,wq,fo(kn,24,this,[])),fo(kn,27,this),this.position=new ET({x:0,y:0}),Za(this,NT,{x:0,y:0}),Gl(this,jT,e)}get shape(){let{current:e,initial:r,previous:a}=qn(this,v1);if(!e||!r)return null;return{current:e,initial:r,previous:a}}set shape(e){if(!e)qn(this,v1).reset();else qn(this,v1).current=e}get source(){var e;let r=this.sourceIdentifier;if(r==null)return null;let a=qn(this,jT).registry.draggables.get(r);if(a)Gl(this,NN,a);return(e=a!=null?a:qn(this,NN))!=null?e:null}get target(){var e;let r=this.targetIdentifier;return r!=null?(e=qn(this,jT).registry.droppables.get(r))!=null?e:null:null}get transform(){let{x:e,y:r}=this.position.delta,a={x:e,y:r};for(let i of this.modifiers)a=i.apply(oq(rq({},this.snapshot()),{transform:a}));return Gl(this,NT,a),a}snapshot(){return uo(()=>({source:this.source,target:this.target,activatorEvent:this.activatorEvent,transform:qn(this,NT),shape:this.shape?RN(this.shape):null,position:RN(this.position),status:RN(this.status),canceled:this.canceled}))}reset(){Qo(()=>{this.status.set("idle"),this.sourceIdentifier=null,this.targetIdentifier=null,qn(this,v1).reset(),this.position.reset({x:0,y:0}),Gl(this,NT,{x:0,y:0}),this.modifiers=[]})}};kn=_1(null);jT=new WeakMap;NN=new WeakMap;v1=new WeakMap;xq=new WeakMap;yq=new WeakMap;bq=new WeakMap;_q=new WeakMap;wq=new WeakMap;NT=new WeakMap;Eo(kn,2,"shape",Kse,bu);Eo(kn,4,"canceled",Gse,bu,xq);Eo(kn,4,"activatorEvent",Wse,bu,yq);Eo(kn,4,"sourceIdentifier",Hse,bu,bq);Eo(kn,4,"targetIdentifier",Vse,bu,_q);Eo(kn,4,"modifiers",qse,bu,wq);Eo(kn,2,"source",Use,bu);Eo(kn,2,"target",Yse,bu);Eo(kn,2,"transform",Bse,bu);aL(kn,bu);var Hht={get rendering(){return Promise.resolve()}};function xs(e,r){if(typeof e==="function")return e(r);return e!=null?e:r}var Xse=class{constructor(e){this.destroy=()=>{if(!this.dragOperation.status.idle)this.actions.stop({canceled:!0});this.dragOperation.modifiers.forEach((x)=>x.destroy()),this.registry.destroy(),this.collisionObserver.destroy()};var r;let a=e!=null?e:{},i=xs(a.plugins,[]),f=xs(a.sensors,[]),s=xs(a.modifiers,[]),l=(r=a.renderer)!=null?r:Hht,c=new Yht(this),m=new Vht(this);this.registry=m,this.monitor=c,this.renderer=l,this.actions=new qht(this),this.dragOperation=new bu(this),this.collisionObserver=new Fht(this),this.plugins=[Uht,...i],this.modifiers=s,this.sensors=f;let{destroy:g}=this,M=rL(()=>{var x,b,y;let _=uo(()=>this.dragOperation.modifiers),k=this.modifiers;for(let F of _)if(!k.includes(F))F.destroy();this.dragOperation.modifiers=(y=(b=(x=this.dragOperation.source)==null?void 0:x.modifiers)==null?void 0:b.map((F)=>{let{plugin:I,options:j}=y1(F);return new I(this,j)}))!=null?y:k});this.destroy=()=>{M(),g()}}get plugins(){return this.registry.plugins.values}set plugins(e){this.registry.plugins.values=e}get modifiers(){return this.registry.modifiers.values}set modifiers(e){this.registry.modifiers.values=e}get sensors(){return this.registry.sensors.values}set sensors(e){this.registry.sensors.values=e}};var ole=(e)=>{throw TypeError(e)},Lq=(e,r,a)=>r.has(e)||ole("Cannot "+a),so=(e,r,a)=>(Lq(e,r,"read from private field"),r.get(e)),Qs=(e,r,a)=>r.has(e)?ole("Cannot add the same private member more than once"):r instanceof WeakSet?r.add(e):r.set(e,a),Kl=(e,r,a,i)=>(Lq(e,r,"write to private field"),r.set(e,a),a),ale=(e,r,a)=>(Lq(e,r,"access private method"),a);function XN(e){if(!e)return!1;if(e instanceof KeyframeEffect)return!0;return"getKeyframes"in e&&typeof e.getKeyframes==="function"}function kq(e,r){let a=e.getAnimations(),i=null;for(let f of a){if(f.playState!=="running")continue;let{effect:s}=f,c=(XN(s)?s.getKeyframes():[]).filter(r);if(c.length>0)i=[c[c.length-1],f]}return i}function QN(e){let{width:r,height:a,top:i,left:f,bottom:s,right:l}=e.getBoundingClientRect();return{width:r,height:a,top:i,left:f,bottom:s,right:l}}function Iq(e){let r=Object.prototype.toString.call(e);return r==="[object Window]"||r==="[object global]"}function WT(e){return"nodeType"in e}function ys(e){var r,a,i;if(!e)return window;if(Iq(e))return e;if(!WT(e))return window;if("defaultView"in e)return(r=e.defaultView)!=null?r:window;return(i=(a=e.ownerDocument)==null?void 0:a.defaultView)!=null?i:window}function JN(e){let{Document:r}=ys(e);return e instanceof r||"nodeType"in e&&e.nodeType===Node.DOCUMENT_NODE}function rM(e){if(!e||Iq(e))return!1;return e instanceof ys(e).HTMLElement||"namespaceURI"in e&&typeof e.namespaceURI==="string"&&e.namespaceURI.endsWith("html")}function nle(e){return e instanceof ys(e).SVGElement||"namespaceURI"in e&&typeof e.namespaceURI==="string"&&e.namespaceURI.endsWith("svg")}function sL(e){if(!e)return document;if(Iq(e))return e.document;if(!WT(e))return document;if(JN(e))return e;if(rM(e)||nle(e))return e.ownerDocument;return document}function Wht(e){var r,a,i,f;let{documentElement:s}=sL(e),l=ys(e).visualViewport,c=(r=l==null?void 0:l.width)!=null?r:s.clientWidth,m=(a=l==null?void 0:l.height)!=null?a:s.clientHeight,g=(i=l==null?void 0:l.offsetTop)!=null?i:0,M=(f=l==null?void 0:l.offsetLeft)!=null?f:0;return{top:g,left:M,right:M+c,bottom:g+m,width:c,height:m}}function Ght(e,r){if(Kht(e)&&e.open===!1)return!1;let{overflow:a,overflowX:i,overflowY:f}=getComputedStyle(e);return a==="visible"&&i==="visible"&&f==="visible"}function Kht(e){return e.tagName==="DETAILS"}function S1(e,r=e.getBoundingClientRect(),a=0){var i,f,s,l,c;let m=r,{ownerDocument:g}=e,M=(i=g.defaultView)!=null?i:window,x=e.parentElement;while(x&&x!==g.documentElement){if(!Ght(x)){let G=x.getBoundingClientRect(),X=a*(G.bottom-G.top),J=a*(G.right-G.left),ee=a*(G.bottom-G.top),te=a*(G.right-G.left);m={top:Math.max(m.top,G.top-X),right:Math.min(m.right,G.right+J),bottom:Math.min(m.bottom,G.bottom+ee),left:Math.max(m.left,G.left-te),width:0,height:0},m.width=m.right-m.left,m.height=m.bottom-m.top}x=x.parentElement}let b=M.visualViewport,y=(f=b==null?void 0:b.offsetTop)!=null?f:0,_=(s=b==null?void 0:b.offsetLeft)!=null?s:0,k=(l=b==null?void 0:b.width)!=null?l:M.innerWidth,F=(c=b==null?void 0:b.height)!=null?c:M.innerHeight,I=a*F,j=a*k;if(m={top:Math.max(m.top,y-I),right:Math.min(m.right,_+k+j),bottom:Math.min(m.bottom,y+F+I),left:Math.max(m.left,_-j),width:0,height:0},m.width=m.right-m.left,m.height=m.bottom-m.top,m.width<0)m.width=0;if(m.height<0)m.height=0;return m}function lL(e){return{x:e.clientX,y:e.clientY}}var ile=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function HN(e=document,r=new Set){if(r.has(e))return[];r.add(e);let a=[e];for(let i of Array.from(e.querySelectorAll("iframe, frame")))try{let f=i.contentDocument;if(f&&!r.has(f))a.push(...HN(f,r))}catch(f){}try{let i=e.defaultView;if(i&&i!==window.top){let f=i.parent;if(f&&f.document&&f.document!==e)a.push(...HN(f.document,r))}}catch(i){}return a}function $N(){return/^((?!chrome|android).)*safari/i.test(navigator.userAgent)}function Cq(){var e,r;let a=$N()?window.visualViewport:null;return{x:(e=a==null?void 0:a.offsetLeft)!=null?e:0,y:(r=a==null?void 0:a.offsetTop)!=null?r:0}}function e5(e){if(!e||!WT(e))return!1;return e instanceof ys(e).ShadowRoot}function GT(e){if(e&&WT(e)){let r=e.getRootNode();if(e5(r))return r;else if(r instanceof Document)return r}return sL(e)}function KT(e){return e.matchMedia("(prefers-reduced-motion: reduce)").matches}function fle(e){let a=e.cloneNode(!0),i=Array.from(e.querySelectorAll("input, textarea, select, canvas, [contenteditable]"));return Array.from(a.querySelectorAll("input, textarea, select, canvas, [contenteditable]")).forEach((s,l)=>{let c=i[l];if(Qse(s)&&Qse(c)){if(s.type!=="file")s.value=c.value;if(s.type==="radio"&&s.name)s.name=`Cloned__${s.name}`}if(Jse(s)&&Jse(c)&&c.width>0&&c.height>0){let m=s.getContext("2d");m==null||m.drawImage(c,0,0)}}),a}function Qse(e){return"value"in e}function Jse(e){return e.tagName==="CANVAS"}function Rq(e,{x:r,y:a}){let i=e.elementFromPoint(r,a);if(Xht(i)){let{contentDocument:f}=i;if(f){let{left:s,top:l}=i.getBoundingClientRect();return Rq(f,{x:r-s,y:a-l})}}return i}function Xht(e){return(e==null?void 0:e.tagName)==="IFRAME"}var XT=new WeakMap;function sle(e){return e.closest(`
|
|
79
|
+
input:not([disabled]),
|
|
80
|
+
select:not([disabled]),
|
|
81
|
+
textarea:not([disabled]),
|
|
82
|
+
button:not([disabled]),
|
|
83
|
+
a[href],
|
|
84
|
+
[contenteditable]:not([contenteditable="false"])
|
|
85
|
+
`)}var Pq=class{constructor(){this.entries=new Set,this.clear=()=>{for(let e of this.entries){let[r,{type:a,listener:i,options:f}]=e;r.removeEventListener(a,i,f)}this.entries.clear()}}bind(e,r){let a=Array.isArray(e)?e:[e],i=Array.isArray(r)?r:[r],f=[];for(let l of a)for(let c of i){let{type:m,listener:g,options:M}=c,x=[l,c];l.addEventListener(m,g,M),this.entries.add(x),f.push(x)}let s=this.entries;return function(){for(let c of f){let[m,{type:g,listener:M,options:x}]=c;m.removeEventListener(g,M,x),s.delete(c)}}}};function fL(e){let r=e==null?void 0:e.ownerDocument.defaultView;if(r&&r.self!==r.parent)return r.frameElement}function Qht(e){let r=new Set,a=fL(e);while(a)r.add(a),a=fL(a);return r}function Jht(e,r){let a=setTimeout(e,r);return()=>clearTimeout(a)}function lle(e,r){let a=()=>performance.now(),i,f;return function(...s){let l=this;if(!f)e.apply(l,s),f=a();else i==null||i(),i=Jht(()=>{e.apply(l,s),f=a()},r-(a()-f))}}function $ht(e,r){if(e===r)return!0;if(!e||!r)return!1;return e.top==r.top&&e.left==r.left&&e.right==r.right&&e.bottom==r.bottom}function egt(e,r=e.getBoundingClientRect()){let{width:a,height:i}=S1(e,r);return a>0&&i>0}var tgt=ile?ResizeObserver:class{observe(){}unobserve(){}disconnect(){}},qN,rgt=class extends tgt{constructor(e){super((r)=>{if(!so(this,qN)){Kl(this,qN,!0);return}e(r,this)});Qs(this,qN,!1)}};qN=new WeakMap;var $se=Array.from({length:100},(e,r)=>r/100),cle=75,nL,WN,b8,iL,BT,Ji,VT,YT,GN,ule,dle,Zle=class{constructor(e,r,a={debug:!1,skipInitial:!1}){this.element=e,this.callback=r,Qs(this,GN),this.disconnect=()=>{var s,l,c;Kl(this,VT,!0),(s=so(this,b8))==null||s.disconnect(),(l=so(this,iL))==null||l.disconnect(),so(this,BT).disconnect(),(c=so(this,Ji))==null||c.remove()},Qs(this,nL,!0),Qs(this,WN),Qs(this,b8),Qs(this,iL),Qs(this,BT),Qs(this,Ji),Qs(this,VT,!1),Qs(this,YT,lle(()=>{var s,l,c;let{element:m}=this;if((s=so(this,iL))==null||s.disconnect(),so(this,VT)||!so(this,nL)||!m.isConnected)return;let g=(l=m.ownerDocument)!=null?l:document,{innerHeight:M,innerWidth:x}=(c=g.defaultView)!=null?c:window,b=m.getBoundingClientRect(),y=S1(m,b),{top:_,left:k,bottom:F,right:I}=y,j=-Math.floor(_),G=-Math.floor(k),X=-Math.floor(x-I),J=-Math.floor(M-F),ee=`${j}px ${X}px ${J}px ${G}px`;this.boundingClientRect=b,Kl(this,iL,new IntersectionObserver((te)=>{let[oe]=te,{intersectionRect:ae}=oe;if((oe.intersectionRatio!==1?oe.intersectionRatio:Xs.intersectionRatio(ae,S1(m)))!==1)so(this,YT).call(this)},{threshold:$se,rootMargin:ee,root:g})),so(this,iL).observe(m),ale(this,GN,ule).call(this)},cle)),this.boundingClientRect=e.getBoundingClientRect(),Kl(this,nL,egt(e,this.boundingClientRect));let i=!0;this.callback=(s)=>{if(i){if(i=!1,a.skipInitial)return}r(s)};let f=e.ownerDocument;if(a==null?void 0:a.debug)Kl(this,Ji,document.createElement("div")),so(this,Ji).style.background="rgba(0,0,0,0.15)",so(this,Ji).style.position="fixed",so(this,Ji).style.pointerEvents="none",f.body.appendChild(so(this,Ji));if(Kl(this,BT,new IntersectionObserver((s)=>{var l,c;let m=s[s.length-1],{boundingClientRect:g,isIntersecting:M}=m,{width:x,height:b}=g,y=so(this,nL);if(Kl(this,nL,M),!x&&!b)return;if(y&&!M){if((l=so(this,iL))==null||l.disconnect(),this.callback(null),(c=so(this,b8))==null||c.disconnect(),Kl(this,b8,void 0),so(this,Ji))so(this,Ji).style.visibility="hidden"}else so(this,YT).call(this);if(M&&!so(this,b8))Kl(this,b8,new rgt(so(this,YT))),so(this,b8).observe(e)},{threshold:$se,root:f})),so(this,nL)&&!a.skipInitial)this.callback(this.boundingClientRect);so(this,BT).observe(e)}};nL=new WeakMap;WN=new WeakMap;b8=new WeakMap;iL=new WeakMap;BT=new WeakMap;Ji=new WeakMap;VT=new WeakMap;YT=new WeakMap;GN=new WeakSet;ule=function(){if(so(this,VT))return;if(ale(this,GN,dle).call(this),$ht(this.boundingClientRect,so(this,WN)))return;this.callback(this.boundingClientRect),Kl(this,WN,this.boundingClientRect)};dle=function(){if(so(this,Ji)){let{top:e,left:r,width:a,height:i}=S1(this.element);so(this,Ji).style.overflow="hidden",so(this,Ji).style.visibility="visible",so(this,Ji).style.top=`${Math.floor(e)}px`,so(this,Ji).style.left=`${Math.floor(r)}px`,so(this,Ji).style.width=`${Math.floor(a)}px`,so(this,Ji).style.height=`${Math.floor(i)}px`}};var YN=new WeakMap,UN=new WeakMap;function ogt(e,r){let a=YN.get(e);if(!a)a={disconnect:new Zle(e,(f)=>{let s=YN.get(e);if(!s)return;s.callbacks.forEach((l)=>l(f))},{skipInitial:!0}).disconnect,callbacks:new Set};return a.callbacks.add(r),YN.set(e,a),()=>{if(a.callbacks.delete(r),a.callbacks.size===0)YN.delete(e),a.disconnect()}}function agt(e,r){let a=new Set;for(let i of e){let f=ogt(i,r);a.add(f)}return()=>a.forEach((i)=>i())}function ngt(e,r){var a;let i=e.ownerDocument;if(!UN.has(i)){let l=new AbortController,c=new Set;document.addEventListener("scroll",(m)=>c.forEach((g)=>g(m)),{capture:!0,passive:!0,signal:l.signal}),UN.set(i,{disconnect:()=>l.abort(),listeners:c})}let{listeners:f,disconnect:s}=(a=UN.get(i))!=null?a:{};if(!f||!s)return()=>{};return f.add(r),()=>{if(f.delete(r),f.size===0)s(),UN.delete(i)}}var UT,qT,VN,Sq,ple=class{constructor(e,r,a){this.callback=r,Qs(this,UT),Qs(this,qT,!1),Qs(this,VN),Qs(this,Sq,lle((l)=>{if(so(this,qT))return;if(!l.target)return;if("contains"in l.target&&typeof l.target.contains==="function"){for(let c of so(this,VN))if(l.target.contains(c)){this.callback(so(this,UT).boundingClientRect);break}}},cle));let i=Qht(e),f=agt(i,r),s=ngt(e,so(this,Sq));Kl(this,VN,i),Kl(this,UT,new Zle(e,r,a)),this.disconnect=()=>{if(so(this,qT))return;Kl(this,qT,!0),f(),s(),so(this,UT).disconnect()}}};UT=new WeakMap;qT=new WeakMap;VN=new WeakMap;Sq=new WeakMap;function t5(e){return"showPopover"in e&&"hidePopover"in e&&typeof e.showPopover==="function"&&typeof e.hidePopover==="function"}function cL(e){try{if(t5(e)&&e.isConnected&&e.hasAttribute("popover")&&!e.matches(":popover-open"))e.showPopover()}catch(r){}}function ele(e){if(!ile||!e)return!1;return e===sL(e).scrollingElement}function mle(e){var r,a;let i=ys(e),f=ele(e)?Wht(e):QN(e),s=i.visualViewport,l=ele(e)?{height:(r=s==null?void 0:s.height)!=null?r:i.innerHeight,width:(a=s==null?void 0:s.width)!=null?a:i.innerWidth}:{height:e.clientHeight,width:e.clientWidth},c={current:{x:e.scrollLeft,y:e.scrollTop},max:{x:e.scrollWidth-l.width,y:e.scrollHeight-l.height}},m=c.current.y<=0,g=c.current.x<=0,M=c.current.y>=c.max.y,x=c.current.x>=c.max.x;return{rect:f,position:c,isTop:m,isLeft:g,isBottom:M,isRight:x}}function hle(e,r){let{isTop:a,isBottom:i,isLeft:f,isRight:s,position:l}=mle(e),{x:c,y:m}=r!=null?r:{x:0,y:0},g=!a&&l.current.y+m>0,M=!i&&l.current.y+m<l.max.y,x=!f&&l.current.x+c>0,b=!s&&l.current.x+c<l.max.x;return{top:g,bottom:M,left:x,right:b,x:x||b,y:g||M}}var Tq=class{constructor(e){this.scheduler=e,this.pending=!1,this.tasks=new Set,this.resolvers=new Set,this.flush=()=>{let{tasks:r,resolvers:a}=this;this.pending=!1,this.tasks=new Set,this.resolvers=new Set;for(let i of r)i();for(let i of a)i()}}schedule(e){if(this.tasks.add(e),!this.pending)this.pending=!0,this.scheduler(this.flush);return new Promise((r)=>this.resolvers.add(r))}},QT=new Tq((e)=>{if(typeof requestAnimationFrame==="function")requestAnimationFrame(e);else e()}),igt=new Tq((e)=>setTimeout(e,50)),KN=new Map,fgt=KN.clear.bind(KN);function Wc(e,r=!1){if(!r)return tle(e);let a=KN.get(e);if(a)return a;return a=tle(e),KN.set(e,a),igt.schedule(fgt),a}function tle(e){return ys(e).getComputedStyle(e)}function sgt(e,r=Wc(e,!0)){return r.position==="fixed"||r.position==="sticky"}function lgt(e,r=Wc(e,!0)){let a=/(auto|scroll|overlay)/;return["overflow","overflowX","overflowY"].some((f)=>{let s=r[f];return typeof s==="string"?a.test(s):!1})}var cgt={excludeElement:!0,escapeShadowDOM:!0};function r5(e,r=cgt){let{limit:a,excludeElement:i,escapeShadowDOM:f}=r,s=new Set;function l(c){if(a!=null&&s.size>=a)return s;if(!c)return s;if(JN(c)&&c.scrollingElement!=null&&!s.has(c.scrollingElement))return s.add(c.scrollingElement),s;if(f&&e5(c))return l(c.host);if(!rM(c)){if(nle(c))return l(c.parentElement);return s}if(s.has(c))return s;let m=Wc(c,!0);if(i&&c===e);else if(lgt(c,m))s.add(c);if(sgt(c,m)){let{scrollingElement:g}=c.ownerDocument;if(g)s.add(g);return s}return l(c.parentNode)}if(!e)return s;return l(e)}function uL(e,r=window.frameElement){let a={x:0,y:0,scaleX:1,scaleY:1};if(!e)return a;let i=fL(e);while(i){if(i===r)return a;let f=QN(i),{x:s,y:l}=ugt(i,f);a.x=a.x+f.left,a.y=a.y+f.top,a.scaleX=a.scaleX*s,a.scaleY=a.scaleY*l,i=fL(i)}return a}function ugt(e,r=QN(e)){let a=Math.round(r.width),i=Math.round(r.height);if(rM(e))return{x:a/e.offsetWidth,y:i/e.offsetHeight};let f=Wc(e,!0);return{x:(parseFloat(f.width)||a)/a,y:(parseFloat(f.height)||i)/i}}function dgt(e){if(!e||e==="none")return null;let r=e.split(" "),a=parseFloat(r[0]),i=parseFloat(r[1]);if(isNaN(a)&&isNaN(i))return null;return{x:isNaN(a)?i:a,y:isNaN(i)?a:i}}function L1(e){if(!e||e==="none")return null;let[r,a,i="0"]=e.split(" "),f={x:parseFloat(r),y:parseFloat(a),z:parseInt(i,10)};if(isNaN(f.x)&&isNaN(f.y))return null;return{x:isNaN(f.x)?0:f.x,y:isNaN(f.y)?0:f.y,z:isNaN(f.z)?0:f.z}}function JT(e){var r,a,i,f,s,l,c,m,g;let{scale:M,transform:x,translate:b}=e,y=dgt(M),_=L1(b),k=Zgt(x);if(!k&&!y&&!_)return null;let F={x:(r=y==null?void 0:y.x)!=null?r:1,y:(a=y==null?void 0:y.y)!=null?a:1},I={x:(i=_==null?void 0:_.x)!=null?i:0,y:(f=_==null?void 0:_.y)!=null?f:0},j={x:(s=k==null?void 0:k.x)!=null?s:0,y:(l=k==null?void 0:k.y)!=null?l:0,scaleX:(c=k==null?void 0:k.scaleX)!=null?c:1,scaleY:(m=k==null?void 0:k.scaleY)!=null?m:1};return{x:I.x+j.x,y:I.y+j.y,z:(g=_==null?void 0:_.z)!=null?g:0,scaleX:F.x*j.scaleX,scaleY:F.y*j.scaleY}}function Zgt(e){if(e.startsWith("matrix3d(")){let r=e.slice(9,-1).split(/, /);return{x:+r[12],y:+r[13],scaleX:+r[0],scaleY:+r[5]}}else if(e.startsWith("matrix(")){let r=e.slice(7,-1).split(/, /);return{x:+r[4],y:+r[5],scaleX:+r[0],scaleY:+r[3]}}return null}var Xl=((e)=>(e[e.Idle=0]="Idle",e[e.Forward=1]="Forward",e[e.Reverse=-1]="Reverse",e))(Xl||{}),pgt={x:0.2,y:0.2},mgt={x:10,y:10};function gle(e,r,a,i=25,f=pgt,s=mgt){let{x:l,y:c}=r,{rect:m,isTop:g,isBottom:M,isLeft:x,isRight:b}=mle(e),y=uL(e),_=Wc(e,!0),k=JT(_),F=k!==null?(k==null?void 0:k.scaleX)<0:!1,I=k!==null?(k==null?void 0:k.scaleY)<0:!1,j=new Xs(m.left*y.scaleX+y.x,m.top*y.scaleY+y.y,m.width*y.scaleX,m.height*y.scaleY),G={x:0,y:0},X={x:0,y:0},J={height:j.height*f.y,width:j.width*f.x};if(J.height>0&&(!g||I&&!M)&&c<=j.top+J.height&&(a==null?void 0:a.y)!==1&&l>=j.left-s.x&&l<=j.right+s.x)G.y=I?1:-1,X.y=i*Math.abs((j.top+J.height-c)/J.height);else if(J.height>0&&(!M||I&&!g)&&c>=j.bottom-J.height&&(a==null?void 0:a.y)!==-1&&l>=j.left-s.x&&l<=j.right+s.x)G.y=I?-1:1,X.y=i*Math.abs((j.bottom-J.height-c)/J.height);if(J.width>0&&(!b||F&&!x)&&l>=j.right-J.width&&(a==null?void 0:a.x)!==-1&&c>=j.top-s.y&&c<=j.bottom+s.y)G.x=F?-1:1,X.x=i*Math.abs((j.right-J.width-l)/J.width);else if(J.width>0&&(!x||F&&!b)&&l<=j.left+J.width&&(a==null?void 0:a.x)!==1&&c>=j.top-s.y&&c<=j.bottom+s.y)G.x=F?1:-1,X.x=i*Math.abs((j.left+J.width-l)/J.width);return{direction:G,speed:X}}function o5(e,{block:r="nearest",inline:a="nearest"}={}){if(!rM(e))return;let i=r5(e),f=[];for(let s of i){if(!rM(s))continue;let{top:l,left:c}=hgt(e,s),m=l,g=c;for(let M of f)m-=M.scrollTop,g-=M.scrollLeft;if(r!=="none"){let M=m<s.scrollTop,x=m+e.offsetHeight>s.scrollTop+s.clientHeight;if(M!==x)if(r==="center")s.scrollTop=m-s.clientHeight/2+e.offsetHeight/2;else if(M)s.scrollTop=m;else s.scrollTop=m+e.offsetHeight-s.clientHeight}if(a!=="none"){let M=g<s.scrollLeft,x=g+e.offsetWidth>s.scrollLeft+s.clientWidth;if(M!==x)if(a==="center")s.scrollLeft=g-s.clientWidth/2+e.offsetWidth/2;else if(M)s.scrollLeft=g;else s.scrollLeft=g+e.offsetWidth-s.clientWidth}f.push(s)}}function rle(e){let r=0,a=0,i=e;while(i){r+=i.offsetTop,a+=i.offsetLeft;let f=i.offsetParent;if(!rM(f))break;r+=f.clientTop,a+=f.clientLeft,i=f}return{top:r,left:a}}function hgt(e,r){let a=rle(e),i=rle(r);return{top:a.top-i.top-r.clientTop,left:a.left-i.left-r.clientLeft}}function ggt(e,r,a){let{scaleX:i,scaleY:f,x:s,y:l}=r,c=e.left+s+(1-i)*parseFloat(a),m=e.top+l+(1-f)*parseFloat(a.slice(a.indexOf(" ")+1)),g=i?e.width*i:e.width,M=f?e.height*f:e.height;return{width:g,height:M,top:m,right:c+g,bottom:m+M,left:c}}function Mgt(e,r,a){let{scaleX:i,scaleY:f,x:s,y:l}=r,c=e.left-s-(1-i)*parseFloat(a),m=e.top-l-(1-f)*parseFloat(a.slice(a.indexOf(" ")+1)),g=i?e.width/i:e.width,M=f?e.height/f:e.height;return{width:g,height:M,top:m,right:c+g,bottom:m+M,left:c}}function a5({element:e,keyframes:r,options:a}){return e.animate(r,a).finished}function Aq(e,r=Wc(e).translate,a=!0){if(a){let i=kq(e,(f)=>("translate"in f));if(i){let{translate:f=""}=i[0];if(typeof f==="string"){let s=L1(f);if(s)return s}}}if(r){let i=L1(r);if(i)return i}return{x:0,y:0,z:0}}var vgt=new Tq((e)=>setTimeout(e,0)),HT=new Map,xgt=HT.clear.bind(HT);function ygt(e){let r=e.ownerDocument,a=HT.get(r);if(a)return a;a=r.getAnimations(),HT.set(r,a),vgt.schedule(xgt);let i=a.filter((f)=>XN(f.effect)&&f.effect.target===e);return HT.set(e,i),a}function bgt(e,r){let a=ygt(e).filter((i)=>{var f,s;if(XN(i.effect)){let{target:l}=i.effect;if((s=l&&((f=r.isValidTarget)==null?void 0:f.call(r,l)))!=null?s:!0)return i.effect.getKeyframes().some((m)=>{for(let g of r.properties)if(m[g])return!0})}}).map((i)=>{let{effect:f,currentTime:s}=i,l=f==null?void 0:f.getComputedTiming().duration;if(i.pending||i.playState==="finished")return;if(typeof l=="number"&&typeof s=="number"&&s<l)return i.currentTime=l,()=>{i.currentTime=s}});if(a.length>0)return()=>a.forEach((i)=>i==null?void 0:i())}var Xc=class extends Xs{constructor(e,r={}){var a,i,f,s;let{frameTransform:l=uL(e),ignoreTransforms:c,getBoundingClientRect:m=QN}=r,g=bgt(e,{properties:["transform","translate","scale","width","height"],isValidTarget:(J)=>(J!==e||$N())&&J.contains(e)}),M=m(e),{top:x,left:b,width:y,height:_}=M,k,F=Wc(e),I=JT(F),j={x:(a=I==null?void 0:I.scaleX)!=null?a:1,y:(i=I==null?void 0:I.scaleY)!=null?i:1},G=_gt(e,F);if(g==null||g(),I){if(k=Mgt(M,I,F.transformOrigin),c||G)x=k.top,b=k.left,y=k.width,_=k.height}let X={width:(f=k==null?void 0:k.width)!=null?f:y,height:(s=k==null?void 0:k.height)!=null?s:_};if(G&&!c&&k){let J=ggt(k,G,F.transformOrigin);x=J.top,b=J.left,y=J.width,_=J.height,j.x=G.scaleX,j.y=G.scaleY}if(l){if(!c)b*=l.scaleX,y*=l.scaleX,x*=l.scaleY,_*=l.scaleY;b+=l.x,x+=l.y}super(b,x,y,_);this.scale=j,this.intrinsicWidth=X.width,this.intrinsicHeight=X.height}};function _gt(e,r){let a=e.getAnimations();if(!a.length)return null;let i,f,s,l=!1;for(let c of a){if(c.playState!=="running")continue;let m=XN(c.effect)?c.effect.getKeyframes():[],g=m[m.length-1];if(!g)continue;let{transform:M,translate:x,scale:b}=g;if(typeof M==="string"&&M)i=M,l=!0;if(typeof x==="string"&&x)f=x,l=!0;if(typeof b==="string"&&b)s=b,l=!0}if(!l)return null;return JT({transform:i!=null?i:r.transform,translate:f!=null?f:r.translate,scale:s!=null?s:r.scale})}function z1(e){return"style"in e&&typeof e.style==="object"&&e.style!==null&&"setProperty"in e.style&&"removeProperty"in e.style&&typeof e.style.setProperty==="function"&&typeof e.style.removeProperty==="function"}var Mle=class{constructor(e){this.element=e,this.initial=new Map}set(e,r=""){let{element:a}=this;if(!z1(a))return;for(let[i,f]of Object.entries(e)){let s=`${r}${i}`;if(!this.initial.has(s))this.initial.set(s,a.style.getPropertyValue(s));a.style.setProperty(s,typeof f==="string"?f:`${f}px`)}}remove(e,r=""){let{element:a}=this;if(!z1(a))return;for(let i of e){let f=`${r}${i}`;a.style.removeProperty(f)}}reset(){let{element:e}=this;if(!z1(e))return;for(let[r,a]of this.initial)e.style.setProperty(r,a);if(e.getAttribute("style")==="")e.removeAttribute("style")}};function _8(e){if(!e)return!1;return e instanceof ys(e).Element||WT(e)&&e.nodeType===Node.ELEMENT_NODE}function dL(e){if(!e)return!1;let{KeyboardEvent:r}=ys(e.target);return e instanceof r}function vle(e){if(!e)return!1;let{PointerEvent:r}=ys(e.target);return e instanceof r}function xle(e){if(!_8(e))return!1;let{tagName:r}=e;return r==="INPUT"||r==="TEXTAREA"||wgt(e)}function wgt(e){return e.hasAttribute("contenteditable")&&e.getAttribute("contenteditable")!=="false"}var zq={};function n5(e){let r=zq[e]==null?0:zq[e]+1;return zq[e]=r,`${e}-${r}`}var zgt=({dragOperation:e,droppable:r})=>{let a=e.position.current;if(!a)return null;let{id:i}=r;if(!r.shape)return null;if(r.shape.containsPoint(a)){let f=ts.distance(r.shape.center,a);return{id:i,value:1/f,type:gZ.PointerIntersection,priority:hZ.High}}return null},Sgt=({dragOperation:e,droppable:r})=>{let{shape:a}=e;if(!r.shape||!(a==null?void 0:a.current))return null;let i=a.current.intersectionArea(r.shape);if(i){let{position:f}=e,s=ts.distance(r.shape.center,f.current),c=i/(a.current.area+r.shape.area-i)/s;return{id:r.id,value:c,type:gZ.ShapeIntersection,priority:hZ.Normal}}return null},i5=(e)=>{var r;return(r=zgt(e))!=null?r:Sgt(e)},yle=(e)=>{let{dragOperation:r,droppable:a}=e,{shape:i,position:f}=r;if(!a.shape)return null;let s=i?Xs.from(i.current.boundingRectangle).corners:void 0,c=Xs.from(a.shape.boundingRectangle).corners.reduce((m,g,M)=>{var x;return m+ts.distance(ts.from(g),(x=s==null?void 0:s[M])!=null?x:f.current)},0)/4;return{id:a.id,value:1/c,type:gZ.Collision,priority:hZ.Normal}};var{create:Lgt,defineProperty:Gq,defineProperties:kgt,getOwnPropertyDescriptor:Igt,getOwnPropertyDescriptors:Cgt,getOwnPropertySymbols:l5}=Object,Cle=Object.prototype.hasOwnProperty,Rle=Object.prototype.propertyIsEnumerable,Ple=(e,r)=>(r=Symbol[e])?r:Symbol.for("Symbol."+e),A1=(e)=>{throw TypeError(e)},Oq=(e,r,a)=>(r in e)?Gq(e,r,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[r]=a,o2=(e,r)=>{for(var a in r||(r={}))if(Cle.call(r,a))Oq(e,a,r[a]);if(l5){for(var a of l5(r))if(Rle.call(r,a))Oq(e,a,r[a])}return e},Kq=(e,r)=>kgt(e,Cgt(r)),ble=(e,r)=>Gq(e,"name",{value:r,configurable:!0}),Tle=(e,r)=>{var a={};for(var i in e)if(Cle.call(e,i)&&r.indexOf(i)<0)a[i]=e[i];if(e!=null&&l5){for(var i of l5(e))if(r.indexOf(i)<0&&Rle.call(e,i))a[i]=e[i]}return a},D1=(e)=>{var r;return[,,,Lgt((r=e==null?void 0:e[Ple("metadata")])!=null?r:null)]},Ale=["class","method","getter","setter","accessor","field","value","get","set"],oA=(e)=>e!==void 0&&typeof e!=="function"?A1("Function expected"):e,Rgt=(e,r,a,i,f)=>({kind:Ale[e],name:r,metadata:i,addInitializer:(s)=>a._?A1("Already initialized"):f.push(oA(s||null))}),gL=(e,r)=>Oq(r,Ple("metadata"),e[3]),bi=(e,r,a,i)=>{for(var f=0,s=e[r>>1],l=s&&s.length;f<l;f++)r&1?s[f].call(a):i=s[f].call(a,i);return i},Jc=(e,r,a,i,f,s)=>{var l,c,m,g,M,x=r&7,b=!!(r&8),y=!!(r&16),_=x>3?e.length+1:x?b?1:2:0,k=Ale[x+5],F=x>3&&(e[_-1]=[]),I=e[_]||(e[_]=[]),j=x&&(!y&&!b&&(f=f.prototype),x<5&&(x>3||!y)&&Igt(x<4?f:{get[a](){return Ta(this,s)},set[a](X){return bs(this,s,X)}},a));x?y&&x<4&&ble(s,(x>2?"set ":x>1?"get ":"")+a):ble(f,a);for(var G=i.length-1;G>=0;G--){if(g=Rgt(x,a,m={},e[3],I),x){if(g.static=b,g.private=y,M=g.access={has:y?(X)=>Pgt(f,X):(X)=>(a in X)},x^3)M.get=y?(X)=>(x^1?Ta:hL)(X,f,x^4?s:j.get):(X)=>X[a];if(x>2)M.set=y?(X,J)=>bs(X,f,J,x^4?s:j.set):(X,J)=>X[a]=J}if(c=(0,i[G])(x?x<4?y?s:j[k]:x>4?void 0:{get:j.get,set:j.set}:f,g),m._=1,x^4||c===void 0)oA(c)&&(x>4?F.unshift(c):x?y?s=c:j[k]=c:f=c);else if(typeof c!=="object"||c===null)A1("Object expected");else oA(l=c.get)&&(j.get=l),oA(l=c.set)&&(j.set=l),oA(l=c.init)&&F.unshift(l)}return x||gL(e,f),j&&Gq(f,a,j),y?x^4?s:j:f},Xq=(e,r,a)=>r.has(e)||A1("Cannot "+a),Pgt=(e,r)=>Object(r)!==r?A1('Cannot use the "in" operator on this value'):e.has(r),Ta=(e,r,a)=>(Xq(e,r,"read from private field"),a?a.call(e):r.get(e)),Hn=(e,r,a)=>r.has(e)?A1("Cannot add the same private member more than once"):r instanceof WeakSet?r.add(e):r.set(e,a),bs=(e,r,a,i)=>(Xq(e,r,"write to private field"),i?i.call(e,a):r.set(e,a),a),hL=(e,r,a)=>(Xq(e,r,"access private method"),a),_le={role:"button",roleDescription:"draggable"},Tgt="dnd-kit-description",Agt="dnd-kit-announcement",Dgt={draggable:"To pick up a draggable item, press the space bar. While dragging, use the arrow keys to move the item in a given direction. Press space again to drop the item in its new position, or press escape to cancel."},Egt={dragstart({operation:{source:e}}){if(!e)return;return`Picked up draggable item ${e.id}.`},dragover({operation:{source:e,target:r}}){if(!e||e.id===(r==null?void 0:r.id))return;if(r)return`Draggable item ${e.id} was moved over droppable target ${r.id}.`;return`Draggable item ${e.id} is no longer over a droppable target.`},dragend({operation:{source:e,target:r},canceled:a}){if(!e)return;if(a)return`Dragging was cancelled. Draggable item ${e.id} was dropped.`;if(r)return`Draggable item ${e.id} was dropped over droppable target ${r.id}`;return`Draggable item ${e.id} was dropped.`}};function Ogt(e){let r=e.tagName.toLowerCase();return["input","select","textarea","a","button"].includes(r)}function jgt(e,r){let a=document.createElement("div");return a.id=e,a.style.setProperty("display","none"),a.textContent=r,a}function Ngt(e){let r=document.createElement("div");return r.id=e,r.setAttribute("role","status"),r.setAttribute("aria-live","polite"),r.setAttribute("aria-atomic","true"),r.style.setProperty("position","fixed"),r.style.setProperty("width","1px"),r.style.setProperty("height","1px"),r.style.setProperty("margin","-1px"),r.style.setProperty("border","0"),r.style.setProperty("padding","0"),r.style.setProperty("overflow","hidden"),r.style.setProperty("clip","rect(0 0 0 0)"),r.style.setProperty("clip-path","inset(100%)"),r.style.setProperty("white-space","nowrap"),r}var Fgt=["dragover","dragmove"],Bgt=class extends Fi{constructor(e,r){super(e);let{id:a,idPrefix:{description:i=Tgt,announcement:f=Agt}={},announcements:s=Egt,screenReaderInstructions:l=Dgt,debounce:c=500}=r!=null?r:{},m=a?`${i}-${a}`:n5(i),g=a?`${f}-${a}`:n5(f),M,x,b,y,_=(J=y)=>{if(!b||!J)return;if((b==null?void 0:b.nodeValue)!==J)b.nodeValue=J},k=()=>QT.schedule(_),F=Ygt(k,c),I=Object.entries(s).map(([J,ee])=>this.manager.monitor.addEventListener(J,(te,oe)=>{let ae=b;if(!ae)return;let _e=ee==null?void 0:ee(te,oe);if(_e&&ae.nodeValue!==_e)if(y=_e,Fgt.includes(J))F();else k(),F.cancel()})),j=()=>{let J=[];if(!(M==null?void 0:M.isConnected))M=jgt(m,l.draggable),J.push(M);if(!(x==null?void 0:x.isConnected))x=Ngt(g),b=document.createTextNode(""),x.appendChild(b),J.push(x);if(J.length>0)document.body.append(...J)},G=new Set;function X(){for(let J of G)J()}this.registerEffect(()=>{var J;G.clear();for(let ee of this.manager.registry.draggables.value){let te=(J=ee.handle)!=null?J:ee.element;if(te){if(!M||!x)G.add(j);if((!Ogt(te)||$N())&&!te.hasAttribute("tabindex"))G.add(()=>te.setAttribute("tabindex","0"));if(!te.hasAttribute("role")&&te.tagName.toLowerCase()!=="button")G.add(()=>te.setAttribute("role",_le.role));if(!te.hasAttribute("aria-roledescription"))G.add(()=>te.setAttribute("aria-roledescription",_le.roleDescription));if(!te.hasAttribute("aria-describedby"))G.add(()=>te.setAttribute("aria-describedby",m));for(let ae of["aria-pressed","aria-grabbed"]){let _e=String(ee.isDragging);if(te.getAttribute(ae)!==_e)G.add(()=>te.setAttribute(ae,_e))}let oe=String(ee.disabled);if(te.getAttribute("aria-disabled")!==oe)G.add(()=>te.setAttribute("aria-disabled",oe))}}if(G.size>0)QT.schedule(X)}),this.destroy=()=>{super.destroy(),M==null||M.remove(),x==null||x.remove(),I.forEach((J)=>J())}}};function Ygt(e,r){let a,i=()=>{clearTimeout(a),a=setTimeout(e,r)};return i.cancel=()=>clearTimeout(a),i}var c5=new Map,Dle,Ele,Ole,jle,jq,t2,oM,Qq,P1,Nle,Fle,Ble,Yle,k8=class extends(jq=w1,jle=[So],Ole=[rn],Ele=[rn],Dle=[rn],jq){constructor(r,a){super(r,a);bi(oM,5,this),Hn(this,P1),Hn(this,t2,new Set),Hn(this,Qq,bi(oM,8,this,new Set)),bi(oM,11,this),this.registerEffect(hL(this,P1,Nle))}register(r){return Ta(this,t2).add(r),()=>{Ta(this,t2).delete(r)}}addRoot(r){return uo(()=>{let a=new Set(this.additionalRoots);a.add(r),this.additionalRoots=a}),()=>{uo(()=>{let a=new Set(this.additionalRoots);a.delete(r),this.additionalRoots=a})}}get sourceRoot(){var r;let{source:a}=this.manager.dragOperation;return GT((r=a==null?void 0:a.element)!=null?r:null)}get targetRoot(){var r;let{target:a}=this.manager.dragOperation;return GT((r=a==null?void 0:a.element)!=null?r:null)}get roots(){let{status:r}=this.manager.dragOperation;if(r.initializing||r.initialized){let a=[this.sourceRoot,this.targetRoot].filter((i)=>i!=null);return new Set([...a,...this.additionalRoots])}return new Set}};oM=D1(jq);t2=new WeakMap;Qq=new WeakMap;P1=new WeakSet;Nle=function(){let{roots:e}=this,r=[];for(let a of e)for(let i of Ta(this,t2))r.push(hL(this,P1,Fle).call(this,a,i));return()=>{for(let a of r)a()}};Fle=function(e,r){let a=c5.get(e);if(!a)a=new Map,c5.set(e,a);let i=a.get(r);if(!i){let s=JN(e)?hL(this,P1,Ble).call(this,e,a,r):hL(this,P1,Yle).call(this,e,a,r);if(!s)return()=>{};i=s,a.set(r,i)}i.refCount++;let f=!1;return()=>{if(f)return;if(f=!0,i.refCount--,i.refCount===0)i.cleanup()}};Ble=function(e,r,a){var i;let f=e.createElement("style"),{nonce:s}=(i=this.options)!=null?i:{};if(s)f.setAttribute("nonce",s);f.textContent=a,e.head.prepend(f);let l=new MutationObserver((c)=>{for(let m of c)for(let g of Array.from(m.removedNodes))if(g===f){e.head.prepend(f);return}});return l.observe(e.head,{childList:!0}),{refCount:0,cleanup:()=>{if(l.disconnect(),f.remove(),r.delete(a),r.size===0)c5.delete(e)}}};Yle=function(e,r,a){"adoptedStyleSheets"in e&&Array.isArray(e.adoptedStyleSheets);let i=e.ownerDocument.defaultView,{CSSStyleSheet:f}=i!=null?i:{};if(!f)return null;let s=new f;return s.replaceSync(a),e.adoptedStyleSheets.push(s),{refCount:0,cleanup:()=>{var l;if(e5(e)&&((l=e.host)==null?void 0:l.isConnected)){let c=e.adoptedStyleSheets.indexOf(s);if(c!==-1)e.adoptedStyleSheets.splice(c,1)}if(r.delete(a),r.size===0)c5.delete(e)}}};Jc(oM,4,"additionalRoots",jle,k8,Qq);Jc(oM,2,"sourceRoot",Ole,k8);Jc(oM,2,"targetRoot",Ele,k8);Jc(oM,2,"roots",Dle,k8);gL(oM,k8);k8.configure=Ya(k8);var p5=k8,Ugt=class extends Fi{constructor(e,r){super(e,r);this.manager=e;let{cursor:a="grabbing"}=r!=null?r:{},i=e.registry.plugins.get(p5),f=i==null?void 0:i.register(`* { cursor: ${a} !important; }`);if(f){let s=this.destroy.bind(this);this.destroy=()=>{f(),s()}}}},f2="data-dnd-",Nq=`${f2}dropping`,$i="--dnd-",MZ=`${f2}dragging`,u5=`${f2}placeholder`,qgt=[MZ,u5,"popover","aria-pressed","aria-grabbing"],Vgt=["view-transition-name"],Hgt=`
|
|
86
|
+
:is(:root,:host) [${MZ}] {
|
|
87
|
+
position: fixed !important;
|
|
88
|
+
pointer-events: none !important;
|
|
89
|
+
touch-action: none;
|
|
90
|
+
z-index: calc(infinity);
|
|
91
|
+
will-change: translate;
|
|
92
|
+
top: var(${$i}top, 0px) !important;
|
|
93
|
+
left: var(${$i}left, 0px) !important;
|
|
94
|
+
right: unset !important;
|
|
95
|
+
bottom: unset !important;
|
|
96
|
+
width: var(${$i}width, auto);
|
|
97
|
+
max-width: var(${$i}width, auto);
|
|
98
|
+
height: var(${$i}height, auto);
|
|
99
|
+
max-height: var(${$i}height, auto);
|
|
100
|
+
transform: var(${$i}transform, none) !important;
|
|
101
|
+
transition: var(${$i}transition) !important;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
:is(:root,:host) [${u5}] {
|
|
105
|
+
transition: none;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
:is(:root,:host) [${u5}='hidden'] {
|
|
109
|
+
visibility: hidden;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
[${MZ}] * {
|
|
113
|
+
pointer-events: none !important;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
[${MZ}]:not([${Nq}]) {
|
|
117
|
+
translate: var(${$i}translate) !important;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
[${MZ}][style*='${$i}scale'] {
|
|
121
|
+
scale: var(${$i}scale) !important;
|
|
122
|
+
transform-origin: var(${$i}transform-origin) !important;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
@layer dnd-kit {
|
|
126
|
+
:where([${MZ}][popover]) {
|
|
127
|
+
overflow: visible;
|
|
128
|
+
background: unset;
|
|
129
|
+
border: unset;
|
|
130
|
+
margin: unset;
|
|
131
|
+
padding: unset;
|
|
132
|
+
color: inherit;
|
|
133
|
+
|
|
134
|
+
&:is(input, button) {
|
|
135
|
+
border: revert;
|
|
136
|
+
background: revert;
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
[${MZ}]::backdrop, [${f2}overlay]:not([${MZ}]) {
|
|
141
|
+
display: none;
|
|
142
|
+
visibility: hidden;
|
|
143
|
+
}
|
|
144
|
+
`.replace(/\n+/g," ").replace(/\s+/g," ").trim();function Wgt(e,r="hidden"){return uo(()=>{let{element:a,manager:i}=e;if(!a||!i)return;let f=Ggt(a,i.registry.droppables),s=[],l=fle(a),{remove:c}=l;return Kgt(f,l,s),Xgt(l,r),l.remove=()=>{s.forEach((m)=>m()),c.call(l)},l})}function Ggt(e,r){let a=new Map;for(let i of r){if(!i.element)continue;if(e===i.element||e.contains(i.element)){let f=`${f2}${n5("dom-id")}`;i.element.setAttribute(f,""),a.set(i,f)}}return a}function Kgt(e,r,a){for(let[i,f]of e){if(!i.element)continue;let s=`[${f}]`,l=r.matches(s)?r:r.querySelector(s);if(i.element.removeAttribute(f),!l)continue;let c=i.element;i.proxy=l,l.removeAttribute(f),XT.set(c,l),a.push(()=>{XT.delete(c),i.proxy=void 0})}}function Xgt(e,r="hidden"){e.setAttribute("inert","true"),e.setAttribute("tab-index","-1"),e.setAttribute("aria-hidden","true"),e.setAttribute(u5,r)}function Ule(e,r){if(e===r)return!0;return fL(e)===fL(r)}function wle(e){let{target:r}=e;if("newState"in e&&e.newState==="closed"&&_8(r)&&r.hasAttribute("popover"))requestAnimationFrame(()=>cL(r))}function Fq(e){return e.tagName==="TR"}function Qgt(e,r,a){let i=new MutationObserver((f)=>{let s=!1;for(let l of f){if(l.target!==e){s=!0;continue}if(l.type!=="attributes")continue;let c=l.attributeName;if(c.startsWith("aria-")||qgt.includes(c))continue;let m=e.getAttribute(c);if(c==="style"){if(z1(e)&&z1(r)){let g=e.style;for(let M of Array.from(r.style))if(g.getPropertyValue(M)==="")r.style.removeProperty(M);for(let M of Array.from(g)){if(Vgt.includes(M)||M.startsWith($i))continue;let x=g.getPropertyValue(M);r.style.setProperty(M,x)}}}else if(m!==null)r.setAttribute(c,m);else r.removeAttribute(c)}if(s&&a)r.replaceChildren(...e.cloneNode(!0).childNodes)});return i.observe(e,{attributes:!0,subtree:!0,childList:!0}),i}function Jgt(e,r,a){let i=new MutationObserver((f)=>{for(let s of f){if(s.addedNodes.length===0)continue;for(let l of Array.from(s.addedNodes)){if(l.contains(e)&&e.nextElementSibling!==r){e.insertAdjacentElement("afterend",r),cL(a);return}if(l.contains(r)&&r.previousElementSibling!==e){r.insertAdjacentElement("beforebegin",e),cL(a);return}}}if(e.isConnected&&r.isConnected&&e.nextElementSibling!==r)e.insertAdjacentElement("afterend",r),cL(a)});return i.observe(e.ownerDocument.body,{childList:!0,subtree:!0}),i}function $gt(e){return new ResizeObserver(()=>{var r,a,i;let f=new Xc(e.placeholder,{frameTransform:e.frameTransform,ignoreTransforms:!0}),s=(r=e.transformOrigin)!=null?r:{x:1,y:1},l=(e.width-f.width)*s.x+e.delta.x,c=(e.height-f.height)*s.y+e.delta.y,m=Cq();if(e.styles.set({width:f.width-e.widthOffset,height:f.height-e.heightOffset,top:e.top+c+m.y,left:e.left+l+m.x},$i),(a=e.getElementMutationObserver())==null||a.takeRecords(),Fq(e.element)&&Fq(e.placeholder)){let k=Array.from(e.element.cells),F=Array.from(e.placeholder.cells);if(!e.getSavedCellWidths())e.setSavedCellWidths(k.map((I)=>I.style.width));for(let[I,j]of k.entries()){let G=F[I];j.style.width=`${G.getBoundingClientRect().width}px`}}let g=(i=e.getTranslate())!=null?i:{x:0,y:0},M=e.left+l+m.x+g.x,x=e.top+c+m.y+g.y,b=f.width-e.widthOffset,y=f.height-e.heightOffset,_=e.frameTransform;e.dragOperation.shape=new Xs(M*_.scaleX+_.x,x*_.scaleY+_.y,b*_.scaleX,y*_.scaleY)})}var eMt=250,tMt="ease";function rMt(e){var r,a,i,f;let{animation:s}=e;if(typeof s==="function"){let j=s({source:e.source,element:e.element,feedbackElement:e.feedbackElement,placeholder:e.placeholder,translate:e.translate,moved:e.moved});Promise.resolve(j).then(()=>{e.cleanup(),requestAnimationFrame(e.restoreFocus)});return}let{duration:l=eMt,easing:c=tMt}=s!=null?s:{};cL(e.feedbackElement);let[,m]=(r=kq(e.feedbackElement,(j)=>("translate"in j)))!=null?r:[];m==null||m.pause();let g=(a=e.placeholder)!=null?a:e.element,M={frameTransform:Ule(e.feedbackElement,g)?null:void 0},x=new Xc(e.feedbackElement,M),b=(i=L1(Wc(e.feedbackElement).translate))!=null?i:e.translate,y=new Xc(g,M),_=Xs.delta(x,y,e.alignment),k={x:b.x-_.x,y:b.y-_.y},F=Math.round(x.intrinsicHeight)!==Math.round(y.intrinsicHeight)?{minHeight:[`${x.intrinsicHeight}px`,`${y.intrinsicHeight}px`],maxHeight:[`${x.intrinsicHeight}px`,`${y.intrinsicHeight}px`]}:{},I=Math.round(x.intrinsicWidth)!==Math.round(y.intrinsicWidth)?{minWidth:[`${x.intrinsicWidth}px`,`${y.intrinsicWidth}px`],maxWidth:[`${x.intrinsicWidth}px`,`${y.intrinsicWidth}px`]}:{};e.styles.set({transition:e.transition},$i),e.feedbackElement.setAttribute(Nq,""),(f=e.getElementMutationObserver())==null||f.takeRecords(),a5({element:e.feedbackElement,keyframes:Kq(o2(o2({},F),I),{translate:[`${b.x}px ${b.y}px 0`,`${k.x}px ${k.y}px 0`]}),options:{duration:KT(ys(e.feedbackElement))?0:e.moved||e.feedbackElement!==e.element?l:0,easing:c}}).then(()=>{e.feedbackElement.removeAttribute(Nq),m==null||m.finish(),e.cleanup(),requestAnimationFrame(e.restoreFocus)})}var qle,Bq,a2,Jq,s5,Vle,Hle,T1=class extends(Bq=Fi,qle=[So],Bq){constructor(r,a){super(r,a);Hn(this,s5),Hn(this,Jq,bi(a2,8,this)),bi(a2,11,this),this.state={initial:{},current:{}};let i=r.registry.plugins.get(p5),f=i==null?void 0:i.register(Hgt);if(f){let s=this.destroy.bind(this);this.destroy=()=>{f(),s()}}this.registerEffect(hL(this,s5,Vle).bind(this,i)),this.registerEffect(hL(this,s5,Hle))}};a2=D1(Bq);Jq=new WeakMap;s5=new WeakSet;Vle=function(e){let{overlay:r}=this;if(!r||!e)return;let a=GT(r);if(!a)return;return e.addRoot(a)};Hle=function(){var e,r,a,i,f,s,l;let{state:c,manager:m,options:g}=this,{dragOperation:M}=m,{position:x,source:b,status:y}=M;if(y.idle){c.current={},c.initial={};return}if(!b)return;let{element:_}=b,k=b.pluginConfig(T1),F=(r=(e=k==null?void 0:k.feedback)!=null?e:g==null?void 0:g.feedback)!=null?r:"default",I=typeof F==="function"?F(b,m):F;if(!_||I==="none"||!y.initialized||y.initializing)return;let{initial:j}=c,G=(a=this.overlay)!=null?a:_,X=uL(G),J=uL(_),ee=!Ule(_,G),te=new Xc(_,{frameTransform:ee?J:null,ignoreTransforms:!ee}),oe={x:J.scaleX/X.scaleX,y:J.scaleY/X.scaleY},{width:ae,height:_e,top:Ve,left:Ne}=te;if(ee)ae=ae/oe.x,_e=_e/oe.y;let ze=new Mle(G),Ye=Wc(_),{transition:ft,translate:Ke,boxSizing:Zt,paddingBlockStart:Et,paddingBlockEnd:Yt,paddingInlineStart:ce,paddingInlineEnd:mt,borderInlineStartWidth:Vt,borderInlineEndWidth:Pe,borderBlockStartWidth:ir,borderBlockEndWidth:nr}=Ye,$t=ft.split(",").filter((ht)=>!/^\s*(transform|translate|scale)\b/.test(ht)).join(","),Er=JT(Ye),Wt=Ye.transform,Kt=I==="clone",ur=Zt==="content-box",Ir=ur?parseInt(ce)+parseInt(mt)+parseInt(Vt)+parseInt(Pe):0,Rr=ur?parseInt(Et)+parseInt(Yt)+parseInt(ir)+parseInt(nr):0,dr=I!=="move"&&!this.overlay?Wgt(b,Kt?"clone":"hidden"):null,Zo=uo(()=>dL(m.dragOperation.activatorEvent));if(!j.translate){if(this.overlay&&Er)j.translate={x:Er.x,y:Er.y};else if(Ke!=="none"){let ht=L1(Ke);if(ht)j.translate=ht}}if(!j.transformOrigin){let ht=uo(()=>x.current),Bt=Ne+((i=Er==null?void 0:Er.x)!=null?i:0),Cr=Ve+((f=Er==null?void 0:Er.y)!=null?f:0);j.transformOrigin={x:(ht.x-Bt*X.scaleX-X.x)/(ae*X.scaleX),y:(ht.y-Cr*X.scaleY-X.y)/(_e*X.scaleY)}}let{transformOrigin:tr}=j,Fr=Ve*X.scaleY+X.y,lo=Ne*X.scaleX+X.x;if(!j.coordinates){if(j.coordinates={x:lo,y:Fr},oe.x!==1||oe.y!==1){let{scaleX:ht,scaleY:Bt}=J,{x:Cr,y:Or}=tr;j.coordinates.x+=(ae*ht-ae)*Cr,j.coordinates.y+=(_e*Bt-_e)*Or}}if(!j.dimensions)j.dimensions={width:ae,height:_e};if(!j.frameTransform)j.frameTransform=X;let jo={x:j.coordinates.x-lo,y:j.coordinates.y-Fr},po={width:(j.dimensions.width*j.frameTransform.scaleX-ae*X.scaleX)*tr.x,height:(j.dimensions.height*j.frameTransform.scaleY-_e*X.scaleY)*tr.y},oi={x:jo.x/X.scaleX+po.width,y:jo.y/X.scaleY+po.height},mn={left:Ne+oi.x,top:Ve+oi.y};G.setAttribute(MZ,"true");let qo=uo(()=>M.transform),Dn=(s=j.translate)!=null?s:{x:0,y:0},an=qo.x*X.scaleX+Dn.x,Vi=qo.y*X.scaleY+Dn.y,He=Cq();if(ze.set({width:ae-Ir,height:_e-Rr,top:mn.top+He.y,left:mn.left+He.x,translate:`${an}px ${Vi}px 0`,transform:this.overlay?"none":Wt,transition:$t?`${$t}, translate 0ms linear`:"translate 0ms linear",scale:ee?`${oe.x} ${oe.y}`:"","transform-origin":`${tr.x*100}% ${tr.y*100}%`},$i),dr){if(_.insertAdjacentElement("afterend",dr),g==null?void 0:g.rootElement)(typeof g.rootElement==="function"?g.rootElement(b):g.rootElement).appendChild(_)}if(t5(G)){if(!G.hasAttribute("popover"))G.setAttribute("popover","manual");cL(G),G.addEventListener("beforetoggle",wle)}let kt,pr,jr,ao=$gt({placeholder:dr,element:_,feedbackElement:G,frameTransform:X,transformOrigin:tr,width:ae,height:_e,top:Ve,left:Ne,widthOffset:Ir,heightOffset:Rr,delta:oi,styles:ze,dragOperation:M,getTranslate:()=>c.current.translate,getElementMutationObserver:()=>kt,getSavedCellWidths:()=>jr,setSavedCellWidths:(ht)=>{jr=ht}}),Ho=new Xc(G);uo(()=>M.shape=Ho);let Ca=ys(G),Se=(ht)=>{this.manager.actions.stop({event:ht})},Ce=KT(Ca);if(Zo)Ca.addEventListener("resize",Se);if(uo(()=>b.status)==="idle")requestAnimationFrame(()=>b.status="dragging");if(dr)ao.observe(dr),kt=Qgt(_,dr,Kt),pr=Jgt(_,dr,G);let je=(l=m.dragOperation.source)==null?void 0:l.id,ct=()=>{var ht;if(!Zo||je==null)return;let Bt=m.registry.draggables.get(je),Cr=(ht=Bt==null?void 0:Bt.handle)!=null?ht:Bt==null?void 0:Bt.element;if(rM(Cr))Cr.focus()},bt=()=>{if(kt==null||kt.disconnect(),pr==null||pr.disconnect(),ao.disconnect(),Ca.removeEventListener("resize",Se),t5(G))G.removeEventListener("beforetoggle",wle),G.removeAttribute("popover");G.removeAttribute(MZ),ze.reset();let ht=()=>{var Bt;if(jr&&Fq(_)){let $o=Array.from(_.cells);for(let[rr,Go]of $o.entries())Go.style.width=(Bt=jr[rr])!=null?Bt:""}b.status="idle";let Cr=c.current.translate!=null,Or=M.status.dragging;if(dr&&(!Or&&Cr||dr.parentElement!==G.parentElement)&&G.isConnected)dr.replaceWith(G);dr==null||dr.remove()};if(G===this.overlay)setTimeout(ht,0);else ht()},jt=g==null?void 0:g.dropAnimation,ar=this,Dt=rL(()=>{var ht,Bt,Cr;let{transform:Or,status:$o}=M;if(!Or.x&&!Or.y&&!c.current.translate)return;if($o.dragging){let rr=(ht=j.translate)!=null?ht:{x:0,y:0},Go={x:Or.x/X.scaleX+rr.x,y:Or.y/X.scaleY+rr.y},Ma=c.current.translate,ai=uo(()=>M.modifiers),nf=uo(()=>{var sf;return(sf=M.shape)==null?void 0:sf.current}),La=g==null?void 0:g.keyboardTransition,ns=Zo&&!Ce&&La!==null?`${(Bt=La==null?void 0:La.duration)!=null?Bt:250}ms ${(Cr=La==null?void 0:La.easing)!=null?Cr:"cubic-bezier(0.25, 1, 0.5, 1)"}`:"0ms linear";if(ze.set({transition:$t?`${$t}, translate ${ns}`:`translate ${ns}`,translate:`${Go.x}px ${Go.y}px 0`},$i),kt==null||kt.takeRecords(),nf&&nf!==Ho&&Ma&&!ai.length){let sf=ts.delta(Go,Ma);M.shape=Xs.from(nf.boundingRectangle).translate(sf.x*X.scaleX,sf.y*X.scaleY)}else M.shape=new Xc(G);c.current.translate=Go}},function(){if(M.status.dropped){this.dispose(),b.status="dropping";let ht=(k==null?void 0:k.dropAnimation)!==void 0?k.dropAnimation:ar.dropAnimation!==void 0?ar.dropAnimation:jt,Bt=c.current.translate,Cr=Bt!=null;if(!Bt&&_!==G)Bt={x:0,y:0};if(!Bt||ht===null){bt();return}m.renderer.rendering.then(()=>{rMt({source:b,element:_,feedbackElement:G,placeholder:dr,translate:Bt,moved:Cr,transition:ft,alignment:b.alignment,styles:ze,animation:ht!=null?ht:void 0,getElementMutationObserver:()=>kt,cleanup:bt,restoreFocus:ct})})}});return()=>{bt(),Dt()}};Jc(a2,4,"overlay",qle,T1,Jq);gL(a2,T1);T1.configure=Ya(T1);var us=T1,$T=!0,oMt=!1,Wle,Gle,Kle,Xle,z8,$q,e9;Xle=(Kle=[So],Xl.Forward),Gle=(Wle=[So],Xl.Reverse);var n2=class{constructor(){Hn(this,$q,bi(z8,8,this,$T)),bi(z8,11,this),Hn(this,e9,bi(z8,12,this,$T)),bi(z8,15,this)}isLocked(e){if(e===Xl.Idle)return!1;if(e==null)return this[Xl.Forward]===$T&&this[Xl.Reverse]===$T;return this[e]===$T}unlock(e){if(e===Xl.Idle)return;this[e]=oMt}};z8=D1(null);$q=new WeakMap;e9=new WeakMap;Jc(z8,4,Xle,Kle,n2,$q);Jc(z8,4,Gle,Wle,n2,e9);gL(z8,n2);var aMt=[Xl.Forward,Xl.Reverse],zle=class{constructor(){this.x=new n2,this.y=new n2}isLocked(){return this.x.isLocked()&&this.y.isLocked()}},nMt=class extends Fi{constructor(e){super(e);let r=pZ(new zle),a=null;this.signal=r,gi(()=>{let{status:i}=e.dragOperation;if(!i.initialized){a=null,r.value=new zle;return}let{delta:f}=e.dragOperation.position;if(a){let s={x:Sle(f.x,a.x),y:Sle(f.y,a.y)},l=r.peek();Qo(()=>{for(let c of XU)for(let m of aMt)if(s[c]===m)l[c].unlock(m);r.value=l})}a=f})}get current(){return this.signal.peek()}};function Sle(e,r){return Math.sign(e-r)}var Qle,Yq,i2,t9,w8,Uq,E1=class extends(Yq=w1,Qle=[So],Yq){constructor(e){super(e);Hn(this,t9,bi(i2,8,this,!1)),bi(i2,11,this),Hn(this,w8),Hn(this,Uq,()=>{if(!Ta(this,w8))return;let{element:s,by:l}=Ta(this,w8);if(l.y)s.scrollTop+=l.y;if(l.x)s.scrollLeft+=l.x}),this.scroll=(s,l)=>{var c;if(this.disabled)return!1;let m=this.getScrollableElements();if(!m)return bs(this,w8,void 0),!1;let{position:g}=this.manager.dragOperation,M=g==null?void 0:g.current;if(M){let{by:x}=s!=null?s:{},b=x?{x:Lle(x.x),y:Lle(x.y)}:void 0,y=b?void 0:this.scrollIntentTracker.current;if(y==null?void 0:y.isLocked())return!1;for(let _ of m){let k=hle(_,x);if(k.x||k.y){let{speed:F,direction:I}=gle(_,M,b,l==null?void 0:l.acceleration,l==null?void 0:l.threshold);if(y){for(let j of XU)if(y[j].isLocked(I[j]))F[j]=0,I[j]=0}if(I.x||I.y){let{x:j,y:G}=x!=null?x:I,X=j*F.x,J=G*F.y;if(X||J){let ee=(c=Ta(this,w8))==null?void 0:c.by;if(this.autoScrolling&&ee){if(ee.x&&!X||ee.y&&!J)continue}return bs(this,w8,{element:_,by:{x:X,y:J}}),QT.schedule(Ta(this,Uq)),!0}}}}}return bs(this,w8,void 0),!1};let r=null,a=null,i=m1(()=>{let{position:s,source:l}=e.dragOperation;if(!s)return null;let c=Rq(GT(l==null?void 0:l.element),s.current);if(c)r=c;return c!=null?c:r}),f=m1(()=>{let s=i.value,{documentElement:l}=sL(s);if(!s||s===l){let{target:c}=e.dragOperation,m=c==null?void 0:c.element;if(m){let g=r5(m,{excludeElement:!1});return a=g,g}}if(s){let c=r5(s,{excludeElement:!1});if(this.autoScrolling&&a&&c.size<(a==null?void 0:a.size))return a;return a=c,c}return a=null,null},Qi);this.getScrollableElements=()=>f.value,this.scrollIntentTracker=new nMt(e),this.destroy=e.monitor.addEventListener("dragmove",(s)=>{if(this.disabled||s.defaultPrevented||!dL(e.dragOperation.activatorEvent)||!s.by)return;if(this.scroll({by:s.by}))s.preventDefault()})}};i2=D1(Yq);t9=new WeakMap;w8=new WeakMap;Uq=new WeakMap;Jc(i2,4,"autoScrolling",Qle,E1,t9);gL(i2,E1);function Lle(e){if(e>0)return Xl.Forward;if(e<0)return Xl.Reverse;return Xl.Idle}var iMt=class{constructor(e){this.scheduler=e,this.pending=!1,this.tasks=new Set,this.resolvers=new Set,this.flush=()=>{let{tasks:r,resolvers:a}=this;this.pending=!1,this.tasks=new Set,this.resolvers=new Set;for(let i of r)i();for(let i of a)i()}}schedule(e){if(this.tasks.add(e),!this.pending)this.pending=!0,this.scheduler(this.flush);return new Promise((r)=>this.resolvers.add(r))}},fMt=new iMt((e)=>{if(typeof requestAnimationFrame==="function")requestAnimationFrame(e);else e()}),sMt=10,qq=class extends Fi{constructor(r,a){super(r,a);let i=r.registry.plugins.get(E1);if(!i)throw Error("AutoScroller plugin depends on Scroller plugin");this.destroy=gi(()=>{var f,s,l;if(this.disabled)return;let{position:c,status:m}=r.dragOperation;if(m.dragging){let g={acceleration:(f=this.options)==null?void 0:f.acceleration,threshold:typeof((s=this.options)==null?void 0:s.threshold)==="number"?{x:this.options.threshold,y:this.options.threshold}:(l=this.options)==null?void 0:l.threshold};if(i.scroll(void 0,g)){i.autoScrolling=!0;let x=setInterval(()=>fMt.schedule(()=>i.scroll(void 0,g)),sMt);return()=>{clearInterval(x)}}else i.autoScrolling=!1}})}};qq.configure=Ya(qq);var Jle=qq,kle={capture:!0,passive:!0},nA,lMt=class extends w1{constructor(e){super(e);Hn(this,nA),this.handleScroll=()=>{if(Ta(this,nA)==null)bs(this,nA,setTimeout(()=>{this.manager.collisionObserver.forceUpdate(!1),bs(this,nA,void 0)},50))};let{dragOperation:r}=this.manager;this.destroy=gi(()=>{var a,i,f;if(r.status.dragging){let l=(f=(i=(a=r.source)==null?void 0:a.element)==null?void 0:i.ownerDocument)!=null?f:document;return l.addEventListener("scroll",this.handleScroll,kle),()=>{l.removeEventListener("scroll",this.handleScroll,kle)}}})}};nA=new WeakMap;var cMt="* { user-select: none !important; -webkit-user-select: none !important; }",uMt=class extends Fi{constructor(e){super(e);this.manager=e;let r=e.registry.plugins.get(p5),a=r==null?void 0:r.register(cMt);if(this.destroy=gi(()=>{let{dragOperation:i}=this.manager;if(i.status.initialized)return Dq(),document.addEventListener("selectionchange",Dq,{capture:!0}),()=>{document.removeEventListener("selectionchange",Dq,{capture:!0})}}),a){let i=this.destroy.bind(this);this.destroy=()=>{a(),i()}}}};function Dq(){var e;(e=document.getSelection())==null||e.removeAllRanges()}var e2=Object.freeze({offset:10,keyboardCodes:{start:["Space","Enter"],cancel:["Escape"],end:["Space","Enter","Tab"],up:["ArrowUp"],down:["ArrowDown"],left:["ArrowLeft"],right:["ArrowRight"]},preventActivation(e,r){var a;let i=(a=r.handle)!=null?a:r.element;return e.target!==i}}),I1,d5=class extends oL{constructor(r,a){super(r);this.manager=r,this.options=a,Hn(this,I1,[]),this.listeners=new Pq,this.handleSourceKeyDown=(i,f,s)=>{if(this.disabled||i.defaultPrevented)return;if(!_8(i.target))return;if(f.disabled)return;let{keyboardCodes:l=e2.keyboardCodes,preventActivation:c=e2.preventActivation}=s!=null?s:{};if(!l.start.includes(i.code))return;if(!this.manager.dragOperation.status.idle)return;if(c==null?void 0:c(i,f))return;this.handleStart(i,f,s)}}bind(r,a=this.options){return gi(()=>{var f;let s=(f=r.handle)!=null?f:r.element,l=(c)=>{if(dL(c))this.handleSourceKeyDown(c,r,a)};if(s)return s.addEventListener("keydown",l),()=>{s.removeEventListener("keydown",l)}})}handleStart(r,a,i){let{element:f}=a;if(!f)throw Error("Source draggable does not have an associated element");r.preventDefault(),r.stopImmediatePropagation(),o5(f);let{center:s}=new Xc(f);if(this.manager.actions.start({event:r,coordinates:{x:s.x,y:s.y},source:a}).signal.aborted)return this.cleanup();this.sideEffects();let c=sL(f),m=[this.listeners.bind(c,[{type:"keydown",listener:(g)=>this.handleKeyDown(g,a,i),options:{capture:!0}}])];Ta(this,I1).push(...m)}handleKeyDown(r,a,i){let{keyboardCodes:f=e2.keyboardCodes}=i!=null?i:{};if(k1(r,[...f.end,...f.cancel])){r.preventDefault();let s=k1(r,f.cancel);this.handleEnd(r,s);return}if(k1(r,f.up))this.handleMove("up",r);else if(k1(r,f.down))this.handleMove("down",r);if(k1(r,f.left))this.handleMove("left",r);else if(k1(r,f.right))this.handleMove("right",r)}handleEnd(r,a){this.manager.actions.stop({event:r,canceled:a}),this.cleanup()}handleMove(r,a){var i,f;let{shape:s}=this.manager.dragOperation,l=a.shiftKey?5:1,c={x:0,y:0},m=(f=(i=this.options)==null?void 0:i.offset)!=null?f:e2.offset;if(typeof m==="number")m={x:m,y:m};if(!s)return;switch(r){case"up":c={x:0,y:-m.y*l};break;case"down":c={x:0,y:m.y*l};break;case"left":c={x:-m.x*l,y:0};break;case"right":c={x:m.x*l,y:0};break}if(c.x||c.y)a.preventDefault(),this.manager.actions.move({event:a,by:c})}sideEffects(){let r=this.manager.registry.plugins.get(Jle);if((r==null?void 0:r.disabled)===!1)r.disable(),Ta(this,I1).push(()=>{r.enable()})}cleanup(){Ta(this,I1).forEach((r)=>r()),bs(this,I1,[])}destroy(){this.cleanup(),this.listeners.clear()}};I1=new WeakMap;d5.configure=Ya(d5);d5.defaults=e2;var Wo=d5;function k1(e,r){return r.includes(e.code)}var ZL,dMt=class extends vq{constructor(){super(...arguments);Hn(this,ZL)}onEvent(e){switch(e.type){case"pointerdown":bs(this,ZL,lL(e));break;case"pointermove":if(!Ta(this,ZL))return;let{x:r,y:a}=lL(e),i={x:r-Ta(this,ZL).x,y:a-Ta(this,ZL).y},{tolerance:f}=this.options;if(f&&TN(i,f)){this.abort();return}if(TN(i,this.options.value))this.activate(e);break;case"pointerup":this.abort();break}}abort(){bs(this,ZL,void 0)}};ZL=new WeakMap;var C1,pL,ZMt=class extends vq{constructor(){super(...arguments);Hn(this,C1),Hn(this,pL)}onEvent(e){switch(e.type){case"pointerdown":bs(this,pL,lL(e)),bs(this,C1,setTimeout(()=>this.activate(e),this.options.value));break;case"pointermove":if(!Ta(this,pL))return;let{x:r,y:a}=lL(e),i={x:r-Ta(this,pL).x,y:a-Ta(this,pL).y};if(TN(i,this.options.tolerance))this.abort();break;case"pointerup":this.abort();break}}abort(){if(Ta(this,C1))clearTimeout(Ta(this,C1)),bs(this,pL,void 0),bs(this,C1,void 0)}};C1=new WeakMap;pL=new WeakMap;var kr=class{};kr.Delay=ZMt;kr.Distance=dMt;var Vq=Object.freeze({activationConstraints(e,r){var a;let{pointerType:i,target:f}=e;if(i==="mouse"&&_8(f)&&(r.handle===f||((a=r.handle)==null?void 0:a.contains(f))))return;if(i==="touch")return[new kr.Delay({value:250,tolerance:5})];if(xle(f)&&!e.defaultPrevented)return[new kr.Delay({value:200,tolerance:0})];return[new kr.Delay({value:200,tolerance:10}),new kr.Distance({value:5})]},preventActivation(e,r){var a;let{target:i}=e;if(i===r.element)return!1;if(i===r.handle)return!1;if(!_8(i))return!1;if((a=r.handle)==null?void 0:a.contains(i))return!1;let f=sle(i);if(f===r.element)return!1;return Boolean(f)}}),R1,Z5=class extends oL{constructor(r,a){super(r);this.manager=r,this.options=a,Hn(this,R1,new Set),this.listeners=new Pq,this.latest={event:void 0,coordinates:void 0},this.handleMove=()=>{let{event:i,coordinates:f}=this.latest;if(!i||!f)return;this.manager.actions.move({event:i,to:f})},this.handleCancel=this.handleCancel.bind(this),this.handlePointerUp=this.handlePointerUp.bind(this),this.handleKeyDown=this.handleKeyDown.bind(this)}activationConstraints(r,a,i=this.options){let{activationConstraints:f=Vq.activationConstraints}=i!=null?i:{};return typeof f==="function"?f(r,a):f}bind(r,a=this.options){return gi(()=>{var f;let s=new AbortController,{signal:l}=s,c=(g)=>{if(vle(g))this.handlePointerDown(g,r,a)},m=[(f=r.handle)!=null?f:r.element];if(a==null?void 0:a.activatorElements)if(Array.isArray(a.activatorElements))m=a.activatorElements;else m=a.activatorElements(r);for(let g of m){if(!g)continue;hMt(g.ownerDocument.defaultView),g.addEventListener("pointerdown",c,{signal:l})}return()=>s.abort()})}handlePointerDown(r,a,i){if(this.disabled||!r.isPrimary||r.button!==0||!_8(r.target)||a.disabled||pMt(r)||!this.manager.dragOperation.status.idle)return;let{preventActivation:f=Vq.preventActivation}=i!=null?i:{};if(f==null?void 0:f(r,a))return;let{target:s}=r,l=rM(s)&&s.draggable&&s.getAttribute("draggable")==="true",c=uL(a.element),{x:m,y:g}=lL(r);this.initialCoordinates={x:m*c.scaleX+c.x,y:g*c.scaleY+c.y};let M=this.activationConstraints(r,a,i);r.sensor=this;let x=new Fse(M,(k)=>this.handleStart(a,k));x.signal.onabort=()=>this.handleCancel(r),x.onEvent(r),this.controller=x;let b=HN(),y=this.listeners.bind(b,[{type:"pointermove",listener:(k)=>this.handlePointerMove(k,a)},{type:"pointerup",listener:this.handlePointerUp,options:{capture:!0}},{type:"pointercancel",listener:this.handleCancel},{type:"dragstart",listener:l?this.handleCancel:f5,options:{capture:!0}}]),_=()=>{y(),this.initialCoordinates=void 0};Ta(this,R1).add(_)}handlePointerMove(r,a){var i,f;if(((i=this.controller)==null?void 0:i.activated)===!1){(f=this.controller)==null||f.onEvent(r);return}if(this.manager.dragOperation.status.dragging){let s=lL(r),l=uL(a.element);s.x=s.x*l.scaleX+l.x,s.y=s.y*l.scaleY+l.y,r.preventDefault(),r.stopPropagation(),this.latest.event=r,this.latest.coordinates=s,QT.schedule(this.handleMove)}}handlePointerUp(r){let{status:a}=this.manager.dragOperation;if(!a.idle){r.preventDefault(),r.stopPropagation();let i=!a.initialized;this.manager.actions.stop({event:r,canceled:i})}this.cleanup()}handleKeyDown(r){if(r.key==="Escape")r.preventDefault(),this.handleCancel(r)}handleStart(r,a){let{manager:i,initialCoordinates:f}=this;if(!f||!i.dragOperation.status.idle)return;if(a.defaultPrevented)return;if(i.actions.start({coordinates:f,event:a,source:r}).signal.aborted)return this.cleanup();a.preventDefault();let c=sL(a.target).body;try{c.setPointerCapture(a.pointerId)}catch(M){this.handleCancel(a);return}let m=_8(a.target)?[a.target,c]:c,g=this.listeners.bind(m,[{type:"touchmove",listener:f5,options:{passive:!1}},{type:"click",listener:f5},{type:"contextmenu",listener:f5},{type:"keydown",listener:this.handleKeyDown}]);Ta(this,R1).add(g)}handleCancel(r){let{dragOperation:a}=this.manager;if(a.status.initialized)this.manager.actions.stop({event:r,canceled:!0});this.cleanup()}cleanup(){let{controller:r}=this;if(this.controller=void 0,r&&!r.signal.aborted)r.abort();this.latest={event:void 0,coordinates:void 0},Ta(this,R1).forEach((a)=>a()),Ta(this,R1).clear()}destroy(){this.cleanup(),this.listeners.clear()}};R1=new WeakMap;Z5.configure=Ya(Z5);Z5.defaults=Vq;var un=Z5;function pMt(e){return"sensor"in e}function f5(e){e.preventDefault()}function mMt(){}var Ile=new WeakSet;function hMt(e){if(!e||Ile.has(e))return;e.addEventListener("touchmove",mMt,{capture:!1,passive:!1}),Ile.add(e)}var mL={modifiers:[],plugins:[Bgt,Jle,Ugt,us,uMt],sensors:[un,Wo]},r9=class extends Xse{constructor(e={}){let r=xs(e.plugins,mL.plugins),a=xs(e.sensors,mL.sensors),i=xs(e.modifiers,mL.modifiers);super(Kq(o2({},e),{plugins:[lMt,E1,p5,...r],sensors:a,modifiers:i}))}},$le,ece,Hq,S8,o9,a9,ML=class extends(Hq=xu,ece=[So],$le=[So],Hq){constructor(e,r){var a=e,{element:i,effects:f=()=>[],handle:s}=a,l=Tle(a,["element","effects","handle"]);super(o2({effects:()=>[...f(),()=>{var c,m;let{manager:g}=this;if(!g)return;let x=((m=(c=this.sensors)==null?void 0:c.map(y1))!=null?m:[...g.sensors]).map((b)=>{let y=b instanceof oL?b:g.registry.register(b.plugin),_=b instanceof oL?void 0:b.options;return y.bind(this,_)});return function(){x.forEach((y)=>y())}}]},l),r);Hn(this,o9,bi(S8,8,this)),bi(S8,11,this),Hn(this,a9,bi(S8,12,this)),bi(S8,15,this),this.element=i,this.handle=s}};S8=D1(Hq);o9=new WeakMap;a9=new WeakMap;Jc(S8,4,"handle",ece,ML,o9);Jc(S8,4,"element",$le,ML,a9);gL(S8,ML);var tce,rce,Wq,L8,n9,Eq,oce,ace,r2,i9,O1=class extends(Wq=yu,rce=[So],tce=[So],Wq){constructor(e,r){var a=e,{element:i,effects:f=()=>[]}=a,s=Tle(a,["element","effects"]);let{collisionDetector:l=i5}=s,c=(g)=>{let{manager:M,element:x}=this;if(!x||g===null){this.shape=void 0;return}if(!M)return;let b=new Xc(x),y=uo(()=>this.shape);if(b&&(y==null?void 0:y.equals(b)))return y;return this.shape=b,b},m=pZ(!1);super(Kq(o2({},s),{collisionDetector:l,effects:()=>[...f(),()=>{let{element:g,manager:M}=this;if(!M)return;let{dragOperation:x}=M,{source:b}=x;m.value=Boolean(b&&x.status.initialized&&g&&!this.disabled&&this.accepts(b))},()=>{let{element:g}=this;if(m.value&&g){let M=new ple(g,c);return()=>{M.disconnect(),this.shape=void 0}}},()=>{var g;if((g=this.manager)==null?void 0:g.dragOperation.status.initialized)return()=>{this.shape=void 0}}]}),r);Hn(this,r2),Hn(this,n9,bi(L8,8,this)),bi(L8,11,this),Hn(this,i9,bi(L8,12,this)),bi(L8,15,this),this.element=i,this.refreshShape=()=>c()}set element(e){bs(this,r2,e,ace)}get element(){var e;return(e=this.proxy)!=null?e:Ta(this,r2,oce)}};L8=D1(Wq);n9=new WeakMap;r2=new WeakSet;i9=new WeakMap;Eq=Jc(L8,20,"#element",rce,r2,n9),oce=Eq.get,ace=Eq.set;Jc(L8,4,"proxy",tce,O1,i9);gL(L8,O1);C();function gMt(e){return e!=null&&typeof e==="object"&&"current"in e}function _u(e){var r;if(e==null)return;if(gMt(e))return(r=e.current)!=null?r:void 0;return e}var MMt=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",aM=MMt?Ge:h;function nce(){let e=u(0)[1];return N(()=>{e((r)=>r+1)},[e])}function vMt(e,r=!1){let a=w(e.peek()),i=w(!1),f=nce();return aM(()=>gi(()=>{let s=a.current,l=e.value;if(s!==l){if(a.current=l,!i.current)return;if(r)Ln(f);else f()}}),[e,r,f]),{get value(){return i.current=!0,e.peek()}}}function m5(e,r=[],a=!1){let i=w(e);return i.current=e,vMt(O(()=>m1(()=>i.current()),r),a)}function j1(e,r){let a=w(new Map),i=nce();return aM(()=>{if(!e){a.current.clear();return}return gi(()=>{var f;let s=!1,l=!1;for(let c of a.current){let[m]=c,g=uo(()=>c[1]),M=e[m];if(g!==M)s=!0,a.current.set(m,M),l=(f=r==null?void 0:r(m,g,M))!=null?f:!1}if(s)if(l)queueMicrotask(()=>Ln(i));else i()})},[e]),O(()=>e?new Proxy(e,{get(f,s){let l=f[s];return a.current.set(s,l),l}}):e,[e])}function ice(e,r){e()}function vL(e){let r=w(e);return aM(()=>{r.current=e},[e]),r}function Yo(e,r,a=h,i=Object.is){let f=w(e);a(()=>{let s=f.current;if(!i(e,s))f.current=e,r(e,s)},[r,e])}function I8(e,r){let a=w(_u(e));aM(()=>{let i=_u(e);if(i!==a.current)a.current=i,r(i)})}var{defineProperty:xMt,defineProperties:yMt,getOwnPropertyDescriptors:bMt,getOwnPropertySymbols:g5}=Object,sce=Object.prototype.hasOwnProperty,lce=Object.prototype.propertyIsEnumerable,fce=(e,r,a)=>(r in e)?xMt(e,r,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[r]=a,cce=(e,r)=>{for(var a in r||(r={}))if(sce.call(r,a))fce(e,a,r[a]);if(g5){for(var a of g5(r))if(lce.call(r,a))fce(e,a,r[a])}return e},uce=(e,r)=>yMt(e,bMt(r)),_Mt=(e,r)=>{var a={};for(var i in e)if(sce.call(e,i)&&r.indexOf(i)<0)a[i]=e[i];if(e!=null&&g5){for(var i of g5(e))if(r.indexOf(i)<0&&lce.call(e,i))a[i]=e[i]}return a},wMt=new r9,l9=xt(wMt),zMt=rc(D(({children:e},r)=>{let[a,i]=u(0),f=w(null),s=w(null),l=O(()=>({renderer:{get rendering(){var c;return(c=f.current)!=null?c:Promise.resolve()}},trackRendering(c){if(!f.current)f.current=new Promise((m)=>{s.current=m});YL(()=>{c(),i((m)=>m+1)})}}),[]);return aM(()=>{var c;(c=s.current)==null||c.call(s),f.current=null},[e,a]),ln(r,()=>l),null})),f9=[void 0,Qi];function jn(e){var r=e,{children:a,onCollision:i,onBeforeDragStart:f,onDragStart:s,onDragMove:l,onDragOver:c,onDragEnd:m}=r,g=_Mt(r,["children","onCollision","onBeforeDragStart","onDragStart","onDragMove","onDragOver","onDragEnd"]);let M=w(null),{plugins:x,modifiers:b,sensors:y}=g,_=xs(x,mL.plugins),k=xs(y,mL.sensors),F=xs(b,mL.modifiers),I=vL(f),j=vL(s),G=vL(c),X=vL(l),J=vL(m),ee=vL(i),te=SMt(()=>{var oe;return(oe=g.manager)!=null?oe:new r9(g)});return h(()=>{if(!M.current)throw Error("Renderer not found");let{renderer:oe,trackRendering:ae}=M.current,{monitor:_e}=te;te.renderer=oe;let Ve=[_e.addEventListener("beforedragstart",(Ne)=>{let ze=I.current;if(ze)ae(()=>ze(Ne,te))}),_e.addEventListener("dragstart",(Ne)=>{var ze;return(ze=j.current)==null?void 0:ze.call(j,Ne,te)}),_e.addEventListener("dragover",(Ne)=>{let ze=G.current;if(ze)ae(()=>ze(Ne,te))}),_e.addEventListener("dragmove",(Ne)=>{let ze=X.current;if(ze)ae(()=>ze(Ne,te))}),_e.addEventListener("dragend",(Ne)=>{let ze=J.current;if(ze)ae(()=>ze(Ne,te))}),_e.addEventListener("collision",(Ne)=>{var ze;return(ze=ee.current)==null?void 0:ze.call(ee,Ne,te)})];return()=>Ve.forEach((Ne)=>Ne())},[te]),Yo(_,()=>te&&(te.plugins=_),...f9),Yo(k,()=>te&&(te.sensors=k),...f9),Yo(F,()=>te&&(te.modifiers=F),...f9),o(l9.Provider,{value:te,children:[t(zMt,{ref:M,children:a}),a]})}function SMt(e){let r=w(null);if(!r.current)r.current=e();return pD(()=>()=>{var a;return(a=r.current)==null?void 0:a.destroy()},[]),r.current}function c9(){return St(l9)}function M5(e){var r;let a=(r=c9())!=null?r:void 0,[i]=u(()=>e(a));if(i.manager!==a)i.manager=a;return aM(i.register,[a,i]),i}function ds(e){let{disabled:r,data:a,element:i,handle:f,id:s,modifiers:l,sensors:c,plugins:m}=e,g=M5((x)=>new ML(uce(cce({},e),{register:!1,handle:_u(f),element:_u(i)}),x)),M=j1(g,LMt);return Yo(s,()=>g.id=s),I8(f,(x)=>g.handle=x),I8(i,(x)=>g.element=x),Yo(a,()=>a&&(g.data=a)),Yo(r,()=>g.disabled=r===!0),Yo(c,()=>g.sensors=c,void 0,Qi),Yo(l,()=>g.modifiers=l,void 0,Qi),Yo(m,()=>g.plugins=m,void 0,Qi),Yo(e.alignment,()=>g.alignment=e.alignment),{draggable:M,get isDragging(){return M.isDragging},get isDropping(){return M.isDropping},get isDragSource(){return M.isDragSource},handleRef:N((x)=>{g.handle=x!=null?x:void 0},[g]),ref:N((x)=>{var b,y;if(!x&&((b=g.element)==null?void 0:b.isConnected)&&!((y=g.manager)==null?void 0:y.dragOperation.status.idle))return;g.element=x!=null?x:void 0},[g])}}function LMt(e,r,a){if(e==="isDragSource"&&!a&&r)return!0;return!1}function qc({children:e,className:r,dropAnimation:a,style:i,tag:f,disabled:s}){var l;let c=w(null),m=c9(),g=(l=m5(()=>m==null?void 0:m.dragOperation.source,[m]).value)!=null?l:null,M=typeof s==="function"?s(g):s;h(()=>{if(!c.current||!m||M)return;let y=m.plugins.find((_)=>_ instanceof us);if(!y)return;return y.overlay=c.current,()=>{y.overlay=void 0}},[m,M]),h(()=>{if(!m)return;let y=m.plugins.find((_)=>_ instanceof us);if(!y)return;return y.dropAnimation=a,()=>{y.dropAnimation=void 0}},[m,a]);let x=O(()=>{if(!m)return null;let y=new Proxy(m.registry,{get(_,k){if(k==="register"||k==="unregister")return kMt;return _[k]}});return new Proxy(m,{get(_,k){if(k==="registry")return y;return _[k]}})},[m]);return t(l9.Provider,{value:x,children:q(f||"div",{ref:c,className:r,style:i,"data-dnd-overlay":!0},b())});function b(){if(!g||M)return null;if(typeof e==="function")return t(IMt,{source:g,children:e});return e}}function kMt(){return()=>{}}function IMt({children:e,source:r}){return e(j1(r))}var{create:CMt,defineProperty:dce,getOwnPropertyDescriptor:RMt}=Object,Zce=(e,r)=>(r=Symbol[e])?r:Symbol.for("Symbol."+e),v5=(e)=>{throw TypeError(e)},PMt=(e,r,a)=>(r in e)?dce(e,r,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[r]=a,TMt=(e)=>{var r;return[,,,CMt((r=e==null?void 0:e[Zce("metadata")])!=null?r:null)]},pce=["class","method","getter","setter","accessor","field","value","get","set"],mce=(e)=>e!==void 0&&typeof e!=="function"?v5("Function expected"):e,AMt=(e,r,a,i,f)=>({kind:pce[e],name:r,metadata:i,addInitializer:(s)=>a._?v5("Already initialized"):f.push(mce(s||null))}),DMt=(e,r)=>PMt(r,Zce("metadata"),e[3]),EMt=(e,r,a,i)=>{for(var f=0,s=e[r>>1],l=s&&s.length;f<l;f++)s[f].call(a);return i},hce=(e,r,a,i,f,s)=>{var l,c,m,g,M=r&7,x=!1,b=!1,y=2,_=pce[M+5],k=e[y]||(e[y]=[]),F=(f=f.prototype,RMt(f,a));for(var I=i.length-1;I>=0;I--)m=AMt(M,a,c={},e[3],k),m.static=x,m.private=b,g=m.access={has:(j)=>(a in j)},g.get=(j)=>j[a],l=(0,i[I])(F[_],m),c._=1,mce(l)&&(F[_]=l);return F&&dce(f,a,F),f},gce=(e,r,a)=>r.has(e)||v5("Cannot "+a),OMt=(e,r,a)=>(gce(e,r,"read from private field"),r.get(e)),jMt=(e,r,a)=>r.has(e)?v5("Cannot add the same private member more than once"):r instanceof WeakSet?r.add(e):r.set(e,a),NMt=(e,r,a,i)=>(gce(e,r,"write to private field"),r.set(e,a),a),xL=class e{constructor(r,a){this.x=r,this.y=a}static delta(r,a){return new e(r.x-a.x,r.y-a.y)}static distance(r,a){return Math.hypot(r.x-a.x,r.y-a.y)}static equals(r,a){return r.x===a.x&&r.y===a.y}static from({x:r,y:a}){return new e(r,a)}},Mce,vce,s9,h5,s2,u9=class extends(s9=mZ,vce=[rn],Mce=[rn],s9){constructor(e){let r=xL.from(e);super(r,(a,i)=>xL.equals(a,i));EMt(s2,5,this),jMt(this,h5,0),this.velocity={x:0,y:0}}get delta(){return xL.delta(this.current,this.initial)}get direction(){let{current:e,previous:r}=this;if(!r)return null;let a={x:e.x-r.x,y:e.y-r.y};if(!a.x&&!a.y)return null;if(Math.abs(a.x)>Math.abs(a.y))return a.x>0?"right":"left";return a.y>0?"down":"up"}get current(){return super.current}set current(e){let{current:r}=this,a=xL.from(e),i={x:a.x-r.x,y:a.y-r.y},f=Date.now(),s=f-OMt(this,h5),l=(c)=>Math.round(c/s*100);Qo(()=>{NMt(this,h5,f),this.velocity={x:l(i.x),y:l(i.y)},super.current=a})}reset(e=this.defaultValue){super.reset(xL.from(e)),this.velocity={x:0,y:0}}};s2=TMt(s9);h5=new WeakMap;hce(s2,2,"delta",vce,u9);hce(s2,2,"direction",Mce,u9);DMt(s2,u9);var xce=((e)=>(e.Horizontal="x",e.Vertical="y",e))(xce||{});Object.values(xce);var FMt=({dragOperation:e,droppable:r})=>{let a=e.position.current;if(!a)return null;let{id:i}=r;if(!r.shape)return null;if(r.shape.containsPoint(a)){let f=xL.distance(r.shape.center,a);return{id:i,value:1/f,type:gZ.PointerIntersection,priority:hZ.High}}return null},BMt=({dragOperation:e,droppable:r})=>{let{shape:a}=e;if(!r.shape||!(a==null?void 0:a.current))return null;let i=a.current.intersectionArea(r.shape);if(i){let{position:f}=e,s=xL.distance(r.shape.center,f.current),c=i/(a.current.area+r.shape.area-i)/s;return{id:r.id,value:c,type:gZ.ShapeIntersection,priority:hZ.Normal}}return null},YMt=(e)=>{var r;return(r=FMt(e))!=null?r:BMt(e)};function Pr(e){let{collisionDetector:r,data:a,disabled:i,element:f,id:s,accept:l,type:c}=e,m=M5((M)=>new O1(uce(cce({},e),{register:!1,element:_u(f)}),M)),g=j1(m);return Yo(s,()=>m.id=s),I8(f,(M)=>m.element=M),Yo(l,()=>m.accept=l,void 0,Qi),Yo(r,()=>m.collisionDetector=r!=null?r:YMt),Yo(a,()=>a&&(m.data=a)),Yo(i,()=>m.disabled=i===!0),Yo(c,()=>m.type=c),{droppable:g,get isDropTarget(){return g.isDropTarget},ref:N((M)=>{var x,b;if(!M&&((x=m.element)==null?void 0:x.isConnected)&&!((b=m.manager)==null?void 0:b.dragOperation.status.idle))return;m.element=M!=null?M:void 0},[m])}}function Dd(){let e=c9(),r=m5(()=>e==null?void 0:e.dragOperation.source,[e]),a=m5(()=>e==null?void 0:e.dragOperation.target,[e]);return{get source(){return r.value},get target(){return a.value}}}C();C();C();C();var d9=new Map,x5=new WeakMap,yce=0,UMt;function qMt(e){if(!e)return"0";if(x5.has(e))return x5.get(e);return yce+=1,x5.set(e,yce.toString()),x5.get(e)}function VMt(e){return Object.keys(e).sort().filter((r)=>e[r]!==void 0).map((r)=>`${r}_${r==="root"?qMt(e.root):e[r]}`).toString()}function HMt(e){let r=VMt(e),a=d9.get(r);if(!a){let i=new Map,f,s=new IntersectionObserver((l)=>{l.forEach((c)=>{var m;let g=c.isIntersecting&&f.some((M)=>c.intersectionRatio>=M);if(e.trackVisibility&&typeof c.isVisible>"u")c.isVisible=g;[...(m=i.get(c.target))!=null?m:[]].forEach((M)=>{M(g,c)})})},e);f=s.thresholds||(Array.isArray(e.threshold)?e.threshold:[e.threshold||0]),a={id:r,observer:s,elements:i},d9.set(r,a)}return a}function WMt(e,r,a={},i=UMt){if(typeof window.IntersectionObserver>"u"&&i!==void 0){let g=e.getBoundingClientRect();return r(i,{isIntersecting:i,target:e,intersectionRatio:typeof a.threshold==="number"?a.threshold:0,time:0,boundingClientRect:g,intersectionRect:g,rootBounds:g}),()=>{}}let{id:f,observer:s,elements:l}=HMt(a),c=l.get(e)||[];if(!l.has(e))l.set(e,c);c.push(r),s.observe(e);let m=!1;return function(){if(m)return;if(m=!0,c.splice(c.indexOf(r),1),c.length===0)l.delete(e),s.unobserve(e);if(l.size===0)s.disconnect(),d9.delete(f)}}var Z9=Reflect.get(Q,"useInsertionEffect"),GMt=Z9!=null?Z9:h;function KMt(e){return(e==null?void 0:e.startsWith("19."))||!1}var bce=KMt(Es);function XMt(e,{threshold:r,root:a,rootMargin:i,scrollMargin:f,trackVisibility:s,delay:l,fallbackInView:c,skip:m,triggerOnce:g}){let M=w(e),x=w({node:null,stop:void 0,owner:null});if(!Z9)M.current=e;return GMt(()=>{M.current=e},[e]),N(function b(y){let _=x.current;if(!y&&_.owner!==b)return;if(y===_.node)return _.owner=b,bce?_.stop:void 0;let k=_.stop;if(_.stop=void 0,k==null||k(),!y||m){_.node=null,_.owner=y?b:null;return}_.node=y,_.owner=b;let F,I;function j(){if(F==null||F(),_.stop===j)_.node=null,_.stop=void 0}if(_.stop=j,F=WMt(y,(G,X)=>{if(M.current(G,X,I),I=G,g&&G)j()},{threshold:r,root:a,rootMargin:i,scrollMargin:f,trackVisibility:s,delay:l},c),_.stop!==j)F();return bce?_.stop:void 0},[Array.isArray(r)?r.toString():r,a,i,f,s,l,c,m,g])}var QMt=typeof window>"u"?h:Ge;function Mt({threshold:e,delay:r,trackVisibility:a,rootMargin:i,scrollMargin:f,root:s,triggerOnce:l,skip:c,initialInView:m,fallbackInView:g,onChange:M}={}){let x=w(m),[b,y]=u({inView:!!m,entry:void 0}),_=XMt((j,G)=>{let X=x.current;if(x.current=j,X===void 0&&!j)return;y({inView:j,entry:G}),M==null||M(j,G)},{threshold:e,root:s,rootMargin:i,scrollMargin:f,trackVisibility:a,delay:r,fallbackInView:g,skip:c,triggerOnce:l}),k=w({node:null,reset:!1}),F=N(function(G){if(G)k.current.node=G,k.current.reset=!1;else if(k.current.node)k.current.node=null,k.current.reset=!0;let X=_(G);if(!X)return;return()=>{if(X(),k.current.node===G)k.current.node=null,k.current.reset=!0}},[_]);QMt(()=>{if(!k.current.reset)return;if(k.current.reset=!1,l||c)return;y({inView:!!m,entry:void 0}),x.current=m});let I=[F,b.inView,b.entry];return I.ref=I[0],I.inView=I[1],I.entry=I[2],I}C();function JMt(e){if(!e||typeof document>"u")return;let r=document.head||document.getElementsByTagName("head")[0],a=document.createElement("style");a.type="text/css",r.appendChild(a),a.styleSheet?a.styleSheet.cssText=e:a.appendChild(document.createTextNode(e))}var $Mt=(e)=>{switch(e){case"success":return rvt;case"info":return avt;case"warning":return ovt;case"error":return nvt;default:return null}},evt=Array(12).fill(0),tvt=({visible:e,className:r})=>q("div",{className:["sonner-loading-wrapper",r].filter(Boolean).join(" "),"data-visible":e},q("div",{className:"sonner-spinner"},evt.map((a,i)=>q("div",{className:"sonner-loading-bar",key:`spinner-bar-${i}`})))),rvt=q("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20","aria-hidden":"true"},q("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),ovt=q("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20","aria-hidden":"true"},q("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),avt=q("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20","aria-hidden":"true"},q("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),nvt=q("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20","aria-hidden":"true"},q("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),ivt=q("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true"},q("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),q("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),fvt=()=>{let[e,r]=u(document.hidden);return h(()=>{let a=()=>{r(document.hidden)};return document.addEventListener("visibilitychange",a),()=>document.removeEventListener("visibilitychange",a)},[]),e},svt=1,lvt=100,_ce=(e)=>{var r;return typeof(e==null?void 0:e.id)==="number"||(e==null?void 0:(r=e.id)==null?void 0:r.length)>0?e.id:svt++};class Sce{constructor(){this.subscribe=(e)=>(this.subscribers.push(e),this.getActiveToasts().forEach((r)=>e(r)),()=>{let r=this.subscribers.indexOf(e);this.subscribers.splice(r,1)}),this.publish=(e)=>{this.subscribers.forEach((r)=>r(e))},this.addToast=(e)=>{this.publish(e),this.toasts=[...this.toasts,e],this.trimHistory()},this.trimHistory=()=>{let e=this.toasts.length-lvt;if(e<=0)return;this.toasts=this.toasts.filter((r)=>{if(e>0&&this.dismissedToasts.has(r.id))return this.dismissedToasts.delete(r.id),e--,!1;return!0})},this.create=(e)=>{let{message:r,...a}=e,i=_ce(e),f=this.pendingDismissals.get(i);if(f!==void 0)cancelAnimationFrame(f),this.pendingDismissals.delete(i),this.dismissedToasts.delete(i);let s=this.dismissedToasts.has(i),l=e.dismissible===void 0?!0:e.dismissible;if(s)this.dismissedToasts.delete(i),this.toasts=this.toasts.filter((m)=>m.id!==i);if(s?void 0:this.toasts.find((m)=>m.id===i))this.toasts=this.toasts.map((m)=>{if(m.id===i)return this.publish({...m,...e,id:i,title:r}),{...m,...e,id:i,dismissible:l,title:r};return m});else this.addToast({title:r,...a,dismissible:l,id:i});return i},this.dismiss=(e)=>{if(e===void 0||e===null)return this.getActiveToasts().forEach((a)=>{this.dismissedToasts.add(a.id),this.subscribers.forEach((i)=>i({id:a.id,dismiss:!0}))}),e;this.dismissedToasts.add(e);let r=this.pendingDismissals.get(e);if(r!==void 0)cancelAnimationFrame(r);return this.pendingDismissals.set(e,requestAnimationFrame(()=>{this.pendingDismissals.delete(e),this.subscribers.forEach((a)=>a({id:e,dismiss:!0}))})),e},this.message=(e,r)=>this.create({...r,message:e,type:void 0}),this.error=(e,r)=>this.create({...r,message:e,type:"error"}),this.success=(e,r)=>this.create({...r,type:"success",message:e}),this.info=(e,r)=>this.create({...r,type:"info",message:e}),this.warning=(e,r)=>this.create({...r,type:"warning",message:e}),this.loading=(e,r)=>this.create({...r,type:"loading",message:e}),this.promise=(e,r)=>{if(!r)return;let a=void 0;if(r.loading!==void 0)a=this.create({...r,promise:e,type:"loading",message:r.loading,description:typeof r.description!=="function"?r.description:void 0});let i=Promise.resolve(e instanceof Function?e():e),f=a!==void 0,s,l=i.then(async(m)=>{if(s=["resolve",m],fs(m))f=!1,this.create({id:a,type:"default",message:m});else if(uvt(m)&&!m.ok){f=!1;let M=typeof r.error==="function"?await r.error(`HTTP error! status: ${m.status}`):r.error,x=typeof r.description==="function"?await r.description(`HTTP error! status: ${m.status}`):r.description,y=typeof M==="object"&&!fs(M)?M:{message:M};this.create({id:a,type:"error",description:x,...y})}else if(m instanceof Error){f=!1;let M=typeof r.error==="function"?await r.error(m):r.error,x=typeof r.description==="function"?await r.description(m):r.description,y=typeof M==="object"&&!fs(M)?M:{message:M};this.create({id:a,type:"error",description:x,...y})}else if(r.success!==void 0){f=!1;let M=typeof r.success==="function"?await r.success(m):r.success,x=typeof r.description==="function"?await r.description(m):r.description,y=typeof M==="object"&&!fs(M)?M:{message:M};this.create({id:a,type:"success",description:x,...y})}}).catch(async(m)=>{if(s=["reject",m],r.error!==void 0){f=!1;let g=typeof r.error==="function"?await r.error(m):r.error,M=typeof r.description==="function"?await r.description(m):r.description,b=typeof g==="object"&&!fs(g)?g:{message:g};this.create({id:a,type:"error",description:M,...b})}}).finally(()=>{if(f)this.dismiss(a),a=void 0;r.finally==null||r.finally.call(r)}),c=()=>new Promise((m,g)=>l.then(()=>s[0]==="reject"?g(s[1]):m(s[1])).catch(g));if(typeof a!=="string"&&typeof a!=="number")return{unwrap:c};else return Object.assign(a,{unwrap:c})},this.custom=(e,r)=>{let a=_ce(r);return this.create({...r,jsx:e(a),id:a,type:void 0}),a},this.getActiveToasts=()=>this.toasts.filter((e)=>!this.dismissedToasts.has(e.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set,this.pendingDismissals=new Map}}var Js=new Sce,cvt=(e,r)=>Js.message(e,r),uvt=(e)=>e&&typeof e==="object"&&("ok"in e)&&typeof e.ok==="boolean"&&("status"in e)&&typeof e.status==="number",dvt=cvt,Zvt=()=>Js.toasts,pvt=()=>Js.getActiveToasts(),R=Object.assign(dvt,{success:Js.success,info:Js.info,warning:Js.warning,error:Js.error,custom:Js.custom,message:Js.message,promise:Js.promise,dismiss:Js.dismiss,loading:Js.loading},{getHistory:Zvt,getToasts:pvt});JMt("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--normal-text);background:var(--normal-bg);border:1px solid var(--normal-border);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{-webkit-user-select:none;user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");function y5(e){return e.label!==void 0}var mvt=3,hvt="24px",gvt="16px",wce=4000,Mvt=356,vvt=14,xvt=45,yvt=200;function vZ(...e){return e.filter(Boolean).join(" ")}function bvt(e){let[r,a]=e.split("-"),i=[];if(r)i.push(r);if(a)i.push(a);return i}var _vt=(e)=>{var r,a,i,f,s,l,c,m,g;let{invert:M,toast:x,unstyled:b,interacting:y,setHeights:_,visibleToasts:k,heights:F,index:I,toasts:j,expanded:G,removeToast:X,defaultRichColors:J,closeButton:ee,style:te,cancelButtonStyle:oe,actionButtonStyle:ae,className:_e="",descriptionClassName:Ve="",duration:Ne,position:ze,gap:Ye,expandByDefault:ft,classNames:Ke,icons:Zt,closeButtonAriaLabel:Et="Close toast"}=e,[Yt,ce]=u(null),[mt,Vt]=u(null),[Pe,ir]=u(!1),[nr,$t]=u(!1),[Er,Wt]=u(!1),[Kt,ur]=u(!1),[Ir,Rr]=u(!1),[dr,Zo]=u(0),[tr,Fr]=u(0),lo=w(x.duration||Ne||wce),jo=w(null),po=w(null),oi=I===0,mn=I+1<=k,qo=x.type,Dn=qo!=null?qo:"default",an=x.dismissible!==!1,Vi=x.className||"",He=x.descriptionClassName||"",kt=O(()=>F.findIndex((rr)=>rr.toastId===x.id)||0,[F,x.id]),pr=O(()=>{var rr;return(rr=x.closeButton)!=null?rr:ee},[x.closeButton,ee]),jr=O(()=>x.duration||Ne||wce,[x.duration,Ne]),ao=w(0),Ho=w(0),Ca=w(0),Se=w(null),[Ce,je]=ze.split("-"),ct=O(()=>F.reduce((rr,Go,Ma)=>{if(Ma>=kt)return rr;return rr+Go.height},0),[F,kt]),bt=fvt(),jt=O(()=>{var rr;return(rr=e.swipeDirections)!=null?rr:bvt(ze)},[e.swipeDirections,ze]),ar=x.invert||M,Dt=qo==="loading";Ho.current=O(()=>kt*Ye+ct,[kt,ct]),h(()=>{lo.current=jr},[jr]),h(()=>{ir(!0)},[]),h(()=>{let rr=po.current;if(rr){let Go=rr.getBoundingClientRect().height;return Fr(Go),_((Ma)=>[{toastId:x.id,height:Go,position:x.position},...Ma]),()=>_((Ma)=>Ma.filter((ai)=>ai.toastId!==x.id))}},[_,x.id]),Ge(()=>{if(!Pe)return;let rr=po.current,Go=rr.style.height;rr.style.height="auto";let Ma=rr.getBoundingClientRect().height;rr.style.height=Go,Fr(Ma),_((ai)=>{if(!ai.find((La)=>La.toastId===x.id))return[{toastId:x.id,height:Ma,position:x.position},...ai];else return ai.map((La)=>La.toastId===x.id?{...La,height:Ma}:La)})},[Pe,x.title,x.description,_,x.id,x.jsx,x.action,x.cancel]);let ht=N(()=>{$t(!0),Zo(Ho.current),_((rr)=>rr.filter((Go)=>Go.toastId!==x.id)),setTimeout(()=>{X(x)},yvt)},[x,X,_,Ho]);h(()=>{if(x.promise&&qo==="loading"||x.duration===1/0||x.type==="loading")return;let rr,Go=()=>{if(Ca.current<ao.current){let ai=new Date().getTime()-ao.current;lo.current=lo.current-ai}Ca.current=new Date().getTime()},Ma=()=>{if(lo.current===1/0)return;ao.current=new Date().getTime(),rr=setTimeout(()=>{x.onAutoClose==null||x.onAutoClose.call(x,x),ht()},lo.current)};if(G||y||bt)Go();else Ma();return()=>clearTimeout(rr)},[G,y,x,qo,bt,ht]),h(()=>{if(x.delete)ht(),x.onDismiss==null||x.onDismiss.call(x,x)},[ht,x.delete]);function Bt(){var rr;if(Zt==null?void 0:Zt.loading){var Go;return q("div",{className:vZ(Ke==null?void 0:Ke.loader,x==null?void 0:(Go=x.classNames)==null?void 0:Go.loader,"sonner-loader"),"data-visible":qo==="loading"},Zt.loading)}return q(tvt,{className:vZ(Ke==null?void 0:Ke.loader,x==null?void 0:(rr=x.classNames)==null?void 0:rr.loader),visible:qo==="loading"})}let Cr=x.icon||(Zt==null?void 0:Zt[qo])||$Mt(qo);var Or,$o;return q("li",{tabIndex:0,ref:po,className:vZ(_e,Vi,Ke==null?void 0:Ke.toast,x==null?void 0:(r=x.classNames)==null?void 0:r.toast,Ke==null?void 0:Ke[Dn],x==null?void 0:(a=x.classNames)==null?void 0:a[Dn]),"data-sonner-toast":"","data-rich-colors":(Or=x.richColors)!=null?Or:J,"data-styled":!Boolean(x.jsx||x.unstyled||b),"data-mounted":Pe,"data-promise":Boolean(x.promise),"data-swiped":Ir,"data-removed":nr,"data-visible":mn,"data-y-position":Ce,"data-x-position":je,"data-index":I,"data-front":oi,"data-swiping":Er,"data-dismissible":an,"data-type":qo,"data-invert":ar,"data-swipe-out":Kt,"data-swipe-direction":mt,"data-expanded":Boolean(G||ft&&Pe),"data-testid":x.testId,style:{"--index":I,"--toasts-before":I,"--z-index":j.length-I,"--offset":`${nr?dr:Ho.current}px`,"--initial-height":ft?"auto":`${tr}px`,...te,...x.style},onDragEnd:()=>{Wt(!1),ce(null),Se.current=null},onPointerDown:(rr)=>{if(rr.button===2)return;if(Dt||!an)return;if(jo.current=new Date,Zo(Ho.current),rr.target.setPointerCapture(rr.pointerId),rr.target.tagName==="BUTTON")return;Wt(!0),Se.current={x:rr.clientX,y:rr.clientY}},onPointerUp:()=>{var rr,Go,Ma;if(Kt||!an)return;Se.current=null;let ai=Number(((rr=po.current)==null?void 0:rr.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),nf=Number(((Go=po.current)==null?void 0:Go.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),La=new Date().getTime()-((Ma=jo.current)==null?void 0:Ma.getTime()),ns=Yt==="x"?ai:nf,sf=Math.abs(ns)/La;if((Yt==="x"?jt.includes(ai>0?"right":"left"):jt.includes(nf>0?"bottom":"top"))&&(Math.abs(ns)>=xvt||sf>0.11)){if(Zo(Ho.current),x.onDismiss==null||x.onDismiss.call(x,x),Yt==="x")Vt(ai>0?"right":"left");else Vt(nf>0?"down":"up");ht(),ur(!0);return}else{var Yd,yF;(Yd=po.current)==null||Yd.style.setProperty("--swipe-amount-x","0px"),(yF=po.current)==null||yF.style.setProperty("--swipe-amount-y","0px")}Rr(!1),Wt(!1),ce(null)},onPointerMove:(rr)=>{var Go,Ma,ai;if(!Se.current||!an)return;if(((Go=window.getSelection())==null?void 0:Go.toString().length)>0)return;let La=rr.clientY-Se.current.y,ns=rr.clientX-Se.current.x;if(!Yt&&(Math.abs(ns)>1||Math.abs(La)>1))ce(Math.abs(ns)>Math.abs(La)?"x":"y");let sf={x:0,y:0},xF=(Yd)=>1/(1.5+Math.abs(Yd)/20);if(Yt==="y"){if(jt.includes("top")||jt.includes("bottom"))if(jt.includes("top")&&La<0||jt.includes("bottom")&&La>0)sf.y=La;else{let Yd=La*xF(La);sf.y=Math.abs(Yd)<Math.abs(La)?Yd:La}}else if(Yt==="x"){if(jt.includes("left")||jt.includes("right"))if(jt.includes("left")&&ns<0||jt.includes("right")&&ns>0)sf.x=ns;else{let Yd=ns*xF(ns);sf.x=Math.abs(Yd)<Math.abs(ns)?Yd:ns}}if(Math.abs(sf.x)>0||Math.abs(sf.y)>0)Rr(!0);(Ma=po.current)==null||Ma.style.setProperty("--swipe-amount-x",`${sf.x}px`),(ai=po.current)==null||ai.style.setProperty("--swipe-amount-y",`${sf.y}px`)}},pr&&!x.jsx&&qo!=="loading"?q("button",{"aria-label":Et,"data-disabled":Dt,"data-close-button":!0,onClick:Dt||!an?()=>{}:()=>{ht(),x.onDismiss==null||x.onDismiss.call(x,x)},className:vZ(Ke==null?void 0:Ke.closeButton,x==null?void 0:(i=x.classNames)==null?void 0:i.closeButton)},($o=Zt==null?void 0:Zt.close)!=null?$o:ivt):null,(qo||x.icon||x.promise)&&x.icon!==null&&((Zt==null?void 0:Zt[qo])!==null||x.icon)?q("div",{"data-icon":"",className:vZ(Ke==null?void 0:Ke.icon,x==null?void 0:(f=x.classNames)==null?void 0:f.icon)},qo==="loading"?x.icon||Bt():x.promise?Bt():null,qo!=="loading"?Cr:null):null,q("div",{"data-content":"",className:vZ(Ke==null?void 0:Ke.content,x==null?void 0:(s=x.classNames)==null?void 0:s.content)},q("div",{"data-title":"",className:vZ(Ke==null?void 0:Ke.title,x==null?void 0:(l=x.classNames)==null?void 0:l.title)},x.jsx?x.jsx:typeof x.title==="function"?x.title():x.title),x.description?q("div",{"data-description":"",className:vZ(Ve,He,Ke==null?void 0:Ke.description,x==null?void 0:(c=x.classNames)==null?void 0:c.description)},typeof x.description==="function"?x.description():x.description):null),fs(x.cancel)?x.cancel:x.cancel&&y5(x.cancel)?q("button",{"data-button":!0,"data-cancel":!0,style:x.cancelButtonStyle||oe,onClick:(rr)=>{if(!y5(x.cancel))return;if(!an)return;x.cancel.onClick==null||x.cancel.onClick.call(x.cancel,rr),ht()},className:vZ(Ke==null?void 0:Ke.cancelButton,x==null?void 0:(m=x.classNames)==null?void 0:m.cancelButton)},x.cancel.label):null,fs(x.action)?x.action:x.action&&y5(x.action)?q("button",{"data-button":!0,"data-action":!0,style:x.actionButtonStyle||ae,onClick:(rr)=>{if(!y5(x.action))return;if(x.action.onClick==null||x.action.onClick.call(x.action,rr),rr.defaultPrevented)return;ht()},className:vZ(Ke==null?void 0:Ke.actionButton,x==null?void 0:(g=x.classNames)==null?void 0:g.actionButton)},x.action.label):null)};function zce(){if(typeof window>"u")return"ltr";if(typeof document>"u")return"ltr";let e=document.documentElement.getAttribute("dir");if(e==="auto"||!e)return window.getComputedStyle(document.documentElement).direction;return e}function wvt(e,r){let a={};return[e,r].forEach((i,f)=>{let s=f===1,l=s?"--mobile-offset":"--offset",c=s?gvt:hvt;function m(g){["top","right","bottom","left"].forEach((M)=>{a[`${l}-${M}`]=typeof g==="number"?`${g}px`:g})}if(typeof i==="number"||typeof i==="string")m(i);else if(typeof i==="object")["top","right","bottom","left"].forEach((g)=>{if(i[g]===void 0)a[`${l}-${g}`]=c;else a[`${l}-${g}`]=typeof i[g]==="number"?`${i[g]}px`:i[g]});else m(c)}),a}var Lce=D(function(r,a){let{id:i,invert:f,position:s="bottom-right",hotkey:l=["altKey","KeyT"],expand:c,closeButton:m,className:g,offset:M,mobileOffset:x,theme:b="light",richColors:y,duration:_,style:k,visibleToasts:F=mvt,toastOptions:I,dir:j=zce(),gap:G=vvt,icons:X,customAriaLabel:J,containerAriaLabel:ee="Notifications"}=r,[te,oe]=u([]),ae=O(()=>{if(i)return te.filter((ir)=>ir.toasterId===i);return te.filter((ir)=>!ir.toasterId)},[te,i]),_e=O(()=>Array.from(new Set([s].concat(ae.filter((ir)=>ir.position).map((ir)=>ir.position)))),[ae,s]),[Ve,Ne]=u([]),[ze,Ye]=u(!1),[ft,Ke]=u(!1),[Zt,Et]=u(b!=="system"?b:typeof window<"u"?window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light":"light"),Yt=w(null),ce=l.join("+").replace(/Key/g,"").replace(/Digit/g,""),mt=w(null),Vt=w(!1),Pe=N((ir)=>{oe((nr)=>{var $t;if(!(($t=nr.find((Er)=>Er.id===ir.id))==null?void 0:$t.delete))Js.dismiss(ir.id);return nr.filter(({id:Er})=>Er!==ir.id)})},[]);return h(()=>Js.subscribe((ir)=>{if(ir.dismiss){requestAnimationFrame(()=>{oe((nr)=>nr.map(($t)=>$t.id===ir.id?{...$t,delete:!0}:$t))});return}setTimeout(()=>{Ln(()=>{oe((nr)=>{let $t=nr.findIndex((Er)=>Er.id===ir.id);if($t!==-1)return[...nr.slice(0,$t),{...nr[$t],...ir},...nr.slice($t+1)];return[ir,...nr]})})})}),[]),h(()=>{if(b!=="system"){Et(b);return}if(b==="system")if(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches)Et("dark");else Et("light");if(typeof window>"u")return;let ir=window.matchMedia("(prefers-color-scheme: dark)");try{ir.addEventListener("change",({matches:nr})=>{if(nr)Et("dark");else Et("light")})}catch(nr){ir.addListener(({matches:$t})=>{try{if($t)Et("dark");else Et("light")}catch(Er){console.error(Er)}})}},[b]),h(()=>{if(te.length<=1)Ye(!1)},[te]),h(()=>{let ir=(nr)=>{var $t;if(l.length>0&&l.every((Kt)=>nr[Kt]||nr.code===Kt)){var Wt;Ye(!0),(Wt=Yt.current)==null||Wt.focus()}if(nr.code==="Escape"&&(document.activeElement===Yt.current||(($t=Yt.current)==null?void 0:$t.contains(document.activeElement))))Ye(!1)};return document.addEventListener("keydown",ir),()=>document.removeEventListener("keydown",ir)},[l]),h(()=>{if(Yt.current)return()=>{if(mt.current)mt.current.focus({preventScroll:!0}),mt.current=null,Vt.current=!1}},[Yt.current]),q("section",{ref:a,"aria-label":J!=null?J:`${ee} ${ce}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0,"data-react-aria-top-layer":!0},_e.map((ir,nr)=>{var $t;let[Er,Wt]=ir.split("-");if(!ae.length)return null;return q("ol",{key:ir,dir:j==="auto"?zce():j,tabIndex:-1,ref:Yt,className:g,"data-sonner-toaster":!0,"data-sonner-theme":Zt,"data-y-position":Er,"data-x-position":Wt,style:{"--front-toast-height":`${(($t=Ve[0])==null?void 0:$t.height)||0}px`,"--width":`${Mvt}px`,"--gap":`${G}px`,...k,...wvt(M,x)},onBlur:(Kt)=>{if(Vt.current&&!Kt.currentTarget.contains(Kt.relatedTarget)){if(Vt.current=!1,mt.current)mt.current.focus({preventScroll:!0}),mt.current=null}},onFocus:(Kt)=>{if(Kt.target instanceof HTMLElement&&Kt.target.dataset.dismissible==="false")return;if(!Vt.current)Vt.current=!0,mt.current=Kt.relatedTarget},onMouseEnter:()=>Ye(!0),onMouseMove:()=>Ye(!0),onMouseLeave:()=>{if(!ft)Ye(!1)},onDragEnd:()=>Ye(!1),onPointerDown:(Kt)=>{if(Kt.target instanceof HTMLElement&&Kt.target.dataset.dismissible==="false")return;Ke(!0)},onPointerUp:()=>Ke(!1)},ae.filter((Kt)=>!Kt.position&&nr===0||Kt.position===ir).map((Kt,ur)=>{var Ir,Rr;return q(_vt,{key:Kt.id,icons:X,index:ur,toast:Kt,defaultRichColors:y,duration:(Ir=I==null?void 0:I.duration)!=null?Ir:_,className:I==null?void 0:I.className,descriptionClassName:I==null?void 0:I.descriptionClassName,invert:f,visibleToasts:F,closeButton:(Rr=I==null?void 0:I.closeButton)!=null?Rr:m,interacting:ft,position:ir,style:I==null?void 0:I.style,unstyled:I==null?void 0:I.unstyled,classNames:I==null?void 0:I.classNames,cancelButtonStyle:I==null?void 0:I.cancelButtonStyle,actionButtonStyle:I==null?void 0:I.actionButtonStyle,closeButtonAriaLabel:I==null?void 0:I.closeButtonAriaLabel,removeToast:Pe,toasts:ae.filter((dr)=>dr.position==Kt.position),heights:Ve.filter((dr)=>dr.position==Kt.position),setHeights:Ne,expandByDefault:c,gap:G,expanded:ze,swipeDirections:r.swipeDirections})}))}))});function Ar({teamId:e,projectId:r,projectName:a,rootFolderId:i,dragState:f,onSelect:s,selectedFolderId:l,hideCollections:c,hideShares:m,hideRecentlyDeleted:g,hideRecents:M,ancestorFolders:x}){let b=Re(),y=K(),{canEdit:_}=Pt(r),k=Zi({from:"/projects/$projectId/recently-deleted",shouldThrow:!1}),F=Zi({from:"/projects/$projectId/recents",shouldThrow:!1}),[I,j]=u(!0),[G,X]=u(!0),[J,ee]=u(!0),{data:te,fetchNextPage:oe,hasNextPage:ae,isFetchingNextPage:_e}=ut({queryKey:["shares",r],queryFn:async({pageParam:Ce})=>{let je=await A.api.projects[":projectId"].shares.$get({param:{projectId:r},query:{first:"20",after:Ce}});if(!je.ok)throw Error(B6e());return await je.json()},initialPageParam:"",getNextPageParam:(Ce)=>Ce.pageInfo?.cursor||void 0,enabled:!!r}),{data:Ve,fetchNextPage:Ne,hasNextPage:ze,isFetchingNextPage:Ye}=ut({queryKey:["collections",r],queryFn:async({pageParam:Ce})=>{let je=await A.api.projects[":projectId"].collections.$get({param:{projectId:r},query:{first:"20",after:Ce}});if(!je.ok)throw Error(C6e());return await je.json()},initialPageParam:"",getNextPageParam:(Ce)=>Ce.pageInfo?.cursor||void 0,enabled:!!r}),{ref:ft,inView:Ke}=Mt(),{ref:Zt,inView:Et}=Mt();h(()=>{if(Ke&&ze&&!Ye)Ne()},[Ke,ze,Ye,Ne]),h(()=>{if(Et&&ae&&!_e)oe()},[Et,ae,_e,oe]);let Yt=O(()=>Ve?.pages.flatMap((Ce)=>Ce.data)||[],[Ve]),ce=O(()=>te?.pages.flatMap((Ce)=>Ce.data)||[],[te]),{mutate:mt}=U({mutationFn:async()=>{let Ce=await A.api.projects[":projectId"].collections.$post({param:{projectId:r},json:{name:Hg(),filter:{sourceFolderId:i,searchFilter:{conditions:[],recursively:!0}}}});if(!Ce.ok)throw Error(l6e());return await Ce.json()},onSuccess:(Ce)=>{y.invalidateQueries({queryKey:["collections",r]}),R.success(qje()),b({to:"/projects/$projectId/collections/$collectionId",params:{projectId:r,collectionId:Ce.id}})},onError:(Ce)=>{R.error(`Error: ${Ce.message}`)}}),{mutate:Vt}=U({mutationFn:async()=>{let Ce=await A.api.projects[":projectId"].shares.$post({param:{projectId:r},json:{name:new Date().toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"})}});if(!Ce.ok)throw Error(h6e());return await Ce.json()},onSuccess:(Ce)=>{y.invalidateQueries({queryKey:["shares",r]}),R.success(qst()),b({to:"/projects/$projectId/shares/$shareId",params:{projectId:r,shareId:Ce.id}})},onError:(Ce)=>{R.error(`Error: ${Ce.message}`)}}),Pe=Pl({from:"/projects/$projectId/collections/$collectionId",shouldThrow:!1}),ir=Pl({from:"/projects/$projectId/shares/$shareId",shouldThrow:!1}),nr=Pl({from:"/projects/$projectId/folders/$folderId",shouldThrow:!1}),[$t,Er]=u(null),[Wt,Kt]=u("collection"),[ur,Ir]=u(""),[Rr,dr]=u(!1),[Zo,tr]=u(null),[Fr,lo]=u("collection"),[jo,po]=u(!1),{mutate:oi}=U({mutationFn:async({id:Ce,name:je})=>{let ct=await A.api.folders[":folderId"].$put({param:{folderId:Ce},json:{name:je}});if(!ct.ok)throw Error($6e());return await ct.json()},onSuccess:()=>{y.invalidateQueries({queryKey:["search",e]}),y.invalidateQueries({queryKey:["folders"]}),R.success(LUe()),dr(!1)},onError:(Ce)=>{R.error(`Error: ${Ce.message}`)}}),{mutate:mn}=U({mutationFn:async(Ce)=>{if(!(await A.api.folders.$delete({json:{ids:[Ce]}})).ok)throw Error(w6e());return Ce},onSuccess:(Ce)=>{if(y.invalidateQueries({queryKey:["search",e]}),y.invalidateQueries({queryKey:["folders"]}),R.success(xUe()),po(!1),nr?.folderId===Ce)b({to:"/projects/$projectId",params:{projectId:r}})},onError:(Ce)=>{R.error(`Error: ${Ce.message}`)}}),[qo,Dn]=u(!1),[an,Vi]=u(!1),[He,kt]=u([]),pr=async(Ce)=>{Dn(!0),Vi(!0),kt([]);try{let je=await A.api.files["download-links"].$post({json:{ids:[Ce]}});if(!je.ok)throw Error(vfe());let ct=await je.json();kt(ct.files)}catch(je){R.error(vfe()),Dn(!1),console.error(je)}finally{Vi(!1)}},jr=()=>{let Ce=[...He];if(Dn(!1),Ce.length===0)return;R.info(Mct({count:Ce.length}),{duration:5000});let je=(bt)=>new Promise((jt)=>setTimeout(jt,bt));(async()=>{for(let jt=0;jt<Ce.length;jt+=5){let ar=Ce.slice(jt,jt+5);for(let Dt of ar){let ht=document.createElement("a");ht.href=Dt.url,ht.download=Dt.name,ht.target="_blank",document.body.appendChild(ht),ht.click(),ht.remove()}await je(1000)}})().catch((bt)=>{console.error("Background downloads failed:",bt),R.error(Rlt())})},{mutate:ao}=U({mutationFn:async({id:Ce,name:je})=>{let ct=await A.api.collections[":collectionId"].$patch({param:{collectionId:Ce},json:{name:je}});if(!ct.ok)throw Error(X6e());return await ct.json()},onSuccess:()=>{y.invalidateQueries({queryKey:["collections",r]}),R.success(Jje()),dr(!1)},onError:(Ce)=>{R.error(`Error: ${Ce.message}`)}}),{mutate:Ho}=U({mutationFn:async(Ce)=>{let je=await A.api.collections[":collectionId"].$delete({param:{collectionId:Ce}});if(!je.ok)throw Error(v6e());return await je.json()},onSuccess:(Ce,je)=>{if(y.invalidateQueries({queryKey:["collections",r]}),R.success(Wje()),po(!1),Pe?.collectionId===je)b({to:"/projects/$projectId",params:{projectId:r}})},onError:(Ce)=>{R.error(`Error: ${Ce.message}`)}}),{mutate:Ca}=U({mutationFn:async({id:Ce,name:je})=>{let ct=await A.api.shares[":shareId"].$put({param:{shareId:Ce},json:{name:je}});if(!ct.ok)throw Error(rYe());return await ct.json()},onSuccess:()=>{y.invalidateQueries({queryKey:["shares",r]}),R.success(Xst()),dr(!1)},onError:(Ce)=>{R.error(`Error: ${Ce.message}`)}}),{mutate:Se}=U({mutationFn:async(Ce)=>{if(!(await A.api.shares[":shareId"].$delete({param:{shareId:Ce}})).ok)throw Error(L6e());return Ce},onSuccess:(Ce)=>{if(y.invalidateQueries({queryKey:["shares",r]}),R.success(Wst()),po(!1),ir?.shareId===Ce)b({to:"/projects/$projectId",params:{projectId:r}})},onError:(Ce)=>{R.error(`Error: ${Ce.message}`)}});return o("div",{className:"flex flex-col h-full overflow-hidden p-3 gap-4 bg-background",children:[o("div",{className:E("flex flex-col overflow-hidden transition-all duration-300 ease-in-out border-b border-border pb-4",I?"flex-1 min-h-[50%] h-full":"flex-none h-[44px] max-h-[44px]"),children:[t("header",{className:"group flex items-center justify-between px-2 mb-1 flex-none",children:o("div",{className:"flex-1 flex items-center gap-1.5 cursor-pointer select-none text-muted-foreground hover:text-foreground transition-colors",onClick:()=>j(!I),children:[t("h3",{className:"text-xs font-semibold uppercase tracking-wider",children:yfe()}),I?t(Cz,{className:"h-3.5 w-3.5 opacity-0 group-hover:opacity-100 transition-opacity duration-200"}):t(Rz,{className:"h-3.5 w-3.5 opacity-0 group-hover:opacity-100 transition-opacity duration-200"})]})}),t(ie,{className:E("flex-1 min-h-0 transition-all duration-300 ease-in-out [&>div>div]:block!",I?"opacity-100 visible pointer-events-auto":"opacity-0 invisible pointer-events-none h-0"),children:o("div",{className:"space-y-0.5 pr-3",children:[!M&&o("div",{className:E("group flex cursor-pointer items-center gap-2 rounded-md px-2 py-1.5 text-sm transition-colors hover:bg-sidebar-accent hover:text-sidebar-accent-foreground",F&&"bg-sidebar-accent text-sidebar-accent-foreground font-medium"),onClick:()=>b({to:"/projects/$projectId/recents",params:{projectId:r}}),children:[t("div",{className:"flex h-4 w-4 items-center justify-center",children:t(Ms,{className:"h-4 w-4 text-sidebar-primary"})}),t("span",{className:"flex-1 truncate text-sidebar-foreground",children:fg()})]}),t(kce,{teamId:e,projectId:r,folder:{id:i,name:a,type:"folder",sizeByte:0,fileCount:0,status:"processed",createdAt:"",updatedAt:""},level:0,isRoot:!0,dragState:f,onSelect:s,selectedFolderId:l,canEdit:_,onRenameTrigger:(Ce,je)=>{Er(Ce),Kt("folder"),Ir(je),dr(!0)},onDeleteTrigger:(Ce)=>{tr(Ce),lo("folder"),po(!0)},onDownloadTrigger:(Ce)=>{pr(Ce)},ancestorFolders:x},i),_&&!g&&o("div",{className:E("group flex cursor-pointer items-center gap-2 rounded-md px-2 py-1.5 text-sm transition-colors hover:bg-sidebar-accent hover:text-sidebar-accent-foreground",k&&"bg-sidebar-accent text-sidebar-accent-foreground font-medium"),onClick:()=>b({to:"/projects/$projectId/recently-deleted",params:{projectId:r}}),children:[t("div",{className:"flex h-4 w-4 items-center justify-center",children:t(ve,{className:"h-4 w-4 text-sidebar-primary"})}),t("span",{className:"flex-1 truncate text-sidebar-foreground",children:dg()})]})]})})]}),!c&&o("div",{className:E("flex flex-col overflow-hidden transition-all duration-300 ease-in-out border-b border-border pb-4",G?"flex-1 min-h-0 h-full":"flex-none h-[44px] max-h-[44px]"),children:[o("header",{className:"group flex items-center justify-between px-2 mb-1 flex-none",children:[o("div",{className:"flex-1 flex items-center gap-1.5 cursor-pointer select-none text-muted-foreground hover:text-foreground transition-colors",onClick:()=>X(!G),children:[t("h3",{className:"text-xs font-semibold uppercase tracking-wider",children:oNe()}),G?t(Cz,{className:"h-3.5 w-3.5 opacity-0 group-hover:opacity-100 transition-opacity duration-200"}):t(Rz,{className:"h-3.5 w-3.5 opacity-0 group-hover:opacity-100 transition-opacity duration-200"})]}),_&&t("button",{"data-testid":"create-collection",onClick:()=>mt(),className:"text-muted-foreground hover:text-foreground flex-none",children:t(fe,{className:"h-3.5 w-3.5"})})]}),t(ie,{className:E("flex-1 min-h-0 transition-all duration-300 ease-in-out [&>div>div]:block!",G?"opacity-100 visible pointer-events-auto":"opacity-0 invisible pointer-events-none h-0"),children:o("div",{className:"space-y-0.5 pr-3",children:[o("div",{className:"group flex cursor-pointer items-center gap-2 rounded-md px-2 py-1.5 text-sm transition-colors hover:bg-sidebar-accent hover:text-sidebar-accent-foreground",onClick:()=>b({to:"/projects/$projectId/collections",params:{projectId:r}}),children:[t("div",{className:"flex h-4 w-4 items-center justify-center",children:t(Jn,{className:"h-4 w-4 text-sidebar-primary"})}),t("span",{className:"flex-1 truncate text-sidebar-foreground",children:bDe({count:Ve?.pages[0]?.pageInfo?.total||0})})]}),Yt.map((Ce)=>{let je=Pe?.collectionId===Ce.id;return o("div",{className:E("group flex cursor-pointer items-center justify-between rounded-md px-2 py-1 text-sm transition-colors hover:bg-sidebar-accent hover:text-sidebar-accent-foreground min-w-0",je&&"bg-sidebar-accent text-sidebar-accent-foreground font-medium"),onClick:()=>b({to:"/projects/$projectId/collections/$collectionId",params:{projectId:r,collectionId:Ce.id}}),children:[o("div",{className:"flex items-center gap-2 min-w-0 flex-1",children:[t("div",{className:"flex h-4 w-4 items-center justify-center shrink-0",children:t($a,{className:"h-4 w-4 text-sidebar-primary"})}),t("span",{className:"truncate text-sidebar-foreground flex-1",children:Ce.name})]}),_&&t("div",{className:"opacity-0 group-hover:opacity-100 transition-opacity shrink-0",onClick:(ct)=>ct.stopPropagation(),children:o(ge,{modal:!1,children:[t(Ae,{asChild:!0,children:t(S,{variant:"ghost",size:"icon-sm",className:"h-6 w-6 shrink-0 hover:bg-muted hover:text-muted-foreground p-0",children:t(cr,{className:"h-3.5 w-3.5"})})}),o(ye,{align:"end",className:"w-32",children:[t(W,{onClick:()=>{Er(Ce.id),Kt("collection"),Ir(Ce.name),dr(!0)},children:No()}),t(W,{className:"text-destructive focus:text-destructive focus:bg-destructive/10",onClick:()=>{tr(Ce.id),lo("collection"),po(!0)},children:at()})]})]})})]},Ce.id)}),t("div",{ref:ft,className:"h-1"}),Ye&&t("div",{className:"flex justify-center p-2",children:t(L,{className:"h-4 w-4 animate-spin text-muted-foreground"})})]})})]}),!m&&o("div",{className:E("flex flex-col overflow-hidden transition-all duration-300 ease-in-out",J?"flex-1 min-h-0 h-full":"flex-none h-[44px] max-h-[44px]"),children:[o("header",{className:"group flex items-center justify-between px-2 mb-1 flex-none",children:[o("div",{className:"flex-1 flex items-center gap-1.5 cursor-pointer select-none text-muted-foreground hover:text-foreground transition-colors",onClick:()=>ee(!J),children:[t("h3",{className:"text-xs font-semibold uppercase tracking-wider",children:tlt()}),J?t(Cz,{className:"h-3.5 w-3.5 opacity-0 group-hover:opacity-100 transition-opacity duration-200"}):t(Rz,{className:"h-3.5 w-3.5 opacity-0 group-hover:opacity-100 transition-opacity duration-200"})]}),_&&t("div",{className:"flex items-center gap-1 flex-none",children:t("button",{onClick:()=>Vt(),className:"text-muted-foreground hover:text-foreground",children:t(fe,{className:"h-3.5 w-3.5"})})})]}),t(ie,{className:E("flex-1 min-h-0 transition-all duration-300 ease-in-out [&>div>div]:block!",J?"opacity-100 visible pointer-events-auto":"opacity-0 invisible pointer-events-none h-0"),children:o("div",{className:"space-y-0.5 pr-3",children:[o("div",{className:"group flex cursor-pointer items-center gap-2 rounded-md px-2 py-1.5 text-sm transition-colors hover:bg-sidebar-accent hover:text-sidebar-accent-foreground",onClick:()=>b({to:"/projects/$projectId/shares",params:{projectId:r}}),children:[t("div",{className:"flex h-4 w-4 items-center justify-center",children:t(Jn,{className:"h-4 w-4 text-sidebar-primary"})}),t("span",{className:"flex-1 truncate text-sidebar-foreground",children:jDe({count:te?.pages[0]?.pageInfo?.total||0})})]}),ce.map((Ce)=>t(zvt,{link:Ce,projectId:r,dragState:f,canEdit:_,onRenameTrigger:(je,ct)=>{Er(je),Kt("share"),Ir(ct),dr(!0)},onDeleteTrigger:(je)=>{tr(je),lo("share"),po(!0)}},Ce.id)),t("div",{ref:Zt,className:"h-1"}),_e&&t("div",{className:"flex justify-center p-2",children:t(L,{className:"h-4 w-4 animate-spin text-muted-foreground"})})]})})]}),t(pe,{open:Rr,onOpenChange:dr,children:o(ue,{onClick:(Ce)=>Ce.stopPropagation(),children:[t(me,{children:t(de,{children:Wt==="collection"?pnt():Wt==="share"?xnt():gnt()})}),t("div",{className:"py-4",children:t(H,{value:ur,onChange:(Ce)=>Ir(Ce.target.value),placeholder:id(),onKeyDown:(Ce)=>{if(Ce.key==="Enter"&&ur.trim()){if(Wt==="collection")ao({id:$t,name:ur});else if(Wt==="share")Ca({id:$t,name:ur});else if(Wt==="folder")oi({id:$t,name:ur})}}})}),o($e,{children:[t(S,{variant:"ghost",onClick:()=>dr(!1),children:ke()}),t(S,{disabled:!ur.trim(),onClick:()=>{if(Wt==="collection")ao({id:$t,name:ur});else if(Wt==="share")Ca({id:$t,name:ur});else if(Wt==="folder")oi({id:$t,name:ur})},children:No()})]})]})}),t(Je,{open:jo,onOpenChange:po,children:o(Xe,{onClick:(Ce)=>Ce.stopPropagation(),children:[o(et,{children:[t(rt,{children:Fr==="collection"?nFe():Fr==="share"?qFe():gFe()}),t(nt,{children:dFe({type:Fr==="collection"?Bje():Fr==="share"?Bst():fh().toLowerCase()})})]}),o(tt,{children:[t(st,{children:ke()}),t(ot,{className:"bg-destructive text-destructive-foreground hover:bg-destructive/90",onClick:()=>{if(Fr==="collection")Ho(Zo);else if(Fr==="share")Se(Zo);else if(Fr==="folder")mn(Zo)},children:at()})]})]})}),t(pe,{open:qo,onOpenChange:Dn,children:o(ue,{className:"sm:max-w-md",children:[o(me,{children:[t(de,{children:an?Qh():qm()}),t(Tt,{children:an?hg():ph()})]}),an?o("div",{className:"space-y-4 py-6 flex flex-col items-center justify-center",children:[t(L,{className:"h-8 w-8 animate-spin text-primary"}),t("span",{className:"text-sm font-medium text-muted-foreground mt-2",children:Vh()})]}):o("div",{className:"space-y-4 py-2",children:[t("div",{className:"text-sm text-muted-foreground",children:Xm({count:He.length})}),o("div",{className:"flex items-start gap-3 p-3 text-sm rounded-lg bg-amber-50 dark:bg-amber-950/30 text-amber-800 dark:text-amber-300 border border-amber-200 dark:border-amber-900/30",children:[t($r,{className:"h-5 w-5 shrink-0 mt-0.5"}),o("div",{children:[t("p",{className:"font-semibold",children:Zh()}),t("p",{className:"mt-0.5 text-xs text-amber-700/90 dark:text-amber-400/90",children:hh()})]})]})]}),t($e,{children:!an?o(B,{children:[t(S,{variant:"outline",onClick:()=>Dn(!1),children:ke()}),o(S,{onClick:jr,className:"gap-2",disabled:He.length===0,children:[t(vt,{className:"h-4 w-4"}),Ng()]})]}):t(S,{disabled:!0,variant:"outline",children:ke()})})]})})]})}function zvt({link:e,projectId:r,dragState:a,canEdit:i,onRenameTrigger:f,onDeleteTrigger:s}){let l=Re(),m=Pl({from:"/projects/$projectId/shares/$shareId",shouldThrow:!1})?.shareId===e.id,{ref:g,isDropTarget:M}=Pr({id:`share:${e.id}`,data:{type:"share-link",id:e.id}}),x=!!a?.isActive;return o("div",{ref:g,className:E("group flex cursor-pointer items-center justify-between rounded-md px-2 py-1 text-sm transition-colors hover:bg-sidebar-accent hover:text-sidebar-accent-foreground min-w-0",m&&"bg-sidebar-accent text-sidebar-accent-foreground font-medium",M&&x&&"bg-sidebar-accent ring-2 ring-primary ring-inset"),onClick:()=>l({to:"/projects/$projectId/shares/$shareId",params:{projectId:r,shareId:e.id}}),children:[o("div",{className:"flex items-center gap-2 min-w-0 flex-1",children:[t("div",{className:"flex h-4 w-4 items-center justify-center shrink-0",children:t(Ci,{className:"h-4 w-4 text-sidebar-primary"})}),t("span",{className:"truncate text-sidebar-foreground flex-1",children:e.name})]}),i&&t("div",{className:"opacity-0 group-hover:opacity-100 transition-opacity shrink-0",onClick:(b)=>b.stopPropagation(),children:o(ge,{modal:!1,children:[t(Ae,{asChild:!0,children:t(S,{variant:"ghost",size:"icon-sm",className:"h-6 w-6 shrink-0 hover:bg-muted hover:text-muted-foreground p-0",children:t(cr,{className:"h-3.5 w-3.5"})})}),o(ye,{align:"end",className:"w-32",children:[t(W,{onClick:()=>{f(e.id,e.name)},children:No()}),t(W,{className:"text-destructive focus:text-destructive focus:bg-destructive/10",onClick:()=>{s(e.id)},children:at()})]})]})})]})}function kce({teamId:e,projectId:r,folder:a,level:i,isRoot:f,dragState:s,onSelect:l,selectedFolderId:c,canEdit:m,onRenameTrigger:g,onDeleteTrigger:M,onDownloadTrigger:x,ancestorFolders:b}){let y=O(()=>b?.some((Vt)=>Vt.id===a.id)??!1,[b,a.id]),[_,k]=u(f||y);h(()=>{if(y)k(!0)},[y]);let F=Re(),I=Pl({from:"/projects/$projectId/folders/$folderId",select:(Vt)=>({folderId:Vt.folderId}),shouldThrow:!1}),j=Pl({from:"/projects/$projectId/",shouldThrow:!1}),G=f?!!j:I?.folderId===a.id,{data:X,fetchNextPage:J,hasNextPage:ee,isFetchingNextPage:te,isLoading:oe}=ut({queryKey:["folders",a.id,"children",{assetType:"folder"}],queryFn:async({pageParam:Vt})=>{let Pe=await A.api.folders[":folderId"].children.$get({param:{folderId:a.id},query:{assetType:"folder",after:Vt,first:"20"}});if(!Pe.ok)throw Error(gYe());return await Pe.json()},initialPageParam:"",getNextPageParam:(Vt)=>Vt.pageInfo?.cursor||void 0,enabled:_||!!f}),{ref:ae,inView:_e}=Mt();h(()=>{if(_e&&ee&&!te)J()},[_e,ee,te,J]);let Ve=X?.pages.flatMap((Vt)=>Vt.data??[])??[],Ne=(Vt)=>{Vt.stopPropagation(),k(!_)},ze=()=>{if(l){l(a);return}if(f)F({to:"/projects/$projectId",params:{projectId:r}});else F({to:"/projects/$projectId/folders/$folderId",params:{projectId:r,folderId:a.id}})},{ref:Ye,isDragging:ft}=ds({id:`tree:${a.id}`,data:{type:"folder",item:a},disabled:!!f||!!l||!m}),{ref:Ke,isDropTarget:Zt}=Pr({id:`tree:${a.id}`,data:{type:"folder",item:a},disabled:s?.draggedIds.has(a.id)||!!l||!m}),Et=(Vt)=>{Ye(Vt),Ke(Vt)},Yt=O(()=>{if(l)return!1;if(!s?.isActive)return!1;if(s.draggedIds.has(a.id))return!1;return!0},[s,a.id,l]),ce=Zt&&Yt,mt=c===a.id;return o("div",{children:[o("div",{ref:Et,className:E("group flex cursor-pointer items-center gap-1 rounded-md px-2 py-1.5 text-sm transition-colors hover:bg-sidebar-accent hover:text-sidebar-accent-foreground min-w-0",(G||mt)&&"bg-sidebar-accent text-sidebar-accent-foreground font-medium",ft&&"opacity-50",ce&&"bg-sidebar-accent ring-2 ring-primary ring-inset"),style:{...f?{}:{paddingLeft:`${i*12+8}px`}},onClick:ze,children:[!f&&t("button",{onClick:Ne,className:"flex h-4 w-4 items-center justify-center shrink-0",children:_?t(be,{className:"h-3 w-3"}):t(pt,{className:"h-3 w-3"})}),f?t(jP,{className:"h-4 w-4 text-sidebar-primary shrink-0"}):t(or,{className:"h-4 w-4 text-sidebar-primary shrink-0"}),t("span",{className:"flex-1 truncate text-sidebar-foreground",children:a.name}),m&&!f&&t("div",{className:"opacity-0 group-hover:opacity-100 transition-opacity shrink-0",onClick:(Vt)=>Vt.stopPropagation(),children:o(ge,{modal:!1,children:[t(Ae,{asChild:!0,children:t(S,{variant:"ghost",size:"icon-sm",className:"h-6 w-6 shrink-0 hover:bg-muted hover:text-muted-foreground p-0",children:t(cr,{className:"h-3.5 w-3.5"})})}),o(ye,{align:"end",className:"w-32",children:[o(W,{onClick:()=>{g(a.id,a.name)},children:[t(Hr,{className:"mr-2 h-4 w-4"}),No()]}),o(W,{onClick:()=>{x(a.id)},children:[t(vt,{className:"mr-2 h-4 w-4"}),gr()]}),t(Gt,{}),o(W,{className:"text-destructive focus:text-destructive focus:bg-destructive/10",onClick:()=>{M(a.id)},children:[t(ve,{className:"mr-2 h-4 w-4"}),at()]})]})]})})]}),_&&o("div",{children:[oe&&t("div",{className:"flex items-center justify-center p-2",style:{paddingLeft:`${(i+1)*12+8}px`},children:t(L,{className:"h-4 w-4 animate-spin"})}),Ve.map((Vt)=>t(kce,{teamId:e,projectId:r,folder:Vt,level:i+1,dragState:s,onSelect:l,selectedFolderId:c,canEdit:m,onRenameTrigger:g,onDeleteTrigger:M,onDownloadTrigger:x,ancestorFolders:b},Vt.id)),ee&&t("div",{ref:ae,className:"flex items-center justify-center p-2",style:{paddingLeft:`${(i+1)*12+8}px`},children:te&&t(L,{className:"h-4 w-4 animate-spin"})})]})]})}var Svt=Math.pow(10,8)*24*60*60*1000,$un=-Svt,b5=604800000,Ice=86400000,p9=60000,l2=3600000;var m9=Symbol.for("constructDateFrom");function lt(e,r){if(typeof e==="function")return e(r);if(e&&typeof e==="object"&&m9 in e)return e[m9](r);if(e instanceof Date)return new e.constructor(r);return new Date(r)}function xe(e,r){return lt(r||e,e)}function N1(e,r,a){let i=xe(e,a?.in);if(isNaN(r))return lt(a?.in||e,NaN);if(!r)return i;return i.setDate(i.getDate()+r),i}function Pi(e,r,a){let i=xe(e,a?.in);if(isNaN(r))return lt(a?.in||e,NaN);if(!r)return i;let f=i.getDate(),s=lt(a?.in||e,i.getTime());s.setMonth(i.getMonth()+r+1,0);let l=s.getDate();if(f>=l)return s;else return i.setFullYear(s.getFullYear(),s.getMonth(),f),i}function Cce(e,r,a){return lt(a?.in||e,+xe(e)+r)}function Rce(e,r,a){return Cce(e,r*l2,a)}var Lvt={};function xZ(){return Lvt}function wu(e,r){let a=xZ(),i=r?.weekStartsOn??r?.locale?.options?.weekStartsOn??a.weekStartsOn??a.locale?.options?.weekStartsOn??0,f=xe(e,r?.in),s=f.getDay(),l=(s<i?7:0)+s-i;return f.setDate(f.getDate()-l),f.setHours(0,0,0,0),f}function nM(e,r){return wu(e,{...r,weekStartsOn:1})}function _5(e,r){let a=xe(e,r?.in),i=a.getFullYear(),f=lt(a,0);f.setFullYear(i+1,0,4),f.setHours(0,0,0,0);let s=nM(f),l=lt(a,0);l.setFullYear(i,0,4),l.setHours(0,0,0,0);let c=nM(l);if(a.getTime()>=s.getTime())return i+1;else if(a.getTime()>=c.getTime())return i;else return i-1}function h9(e){let r=xe(e),a=new Date(Date.UTC(r.getFullYear(),r.getMonth(),r.getDate(),r.getHours(),r.getMinutes(),r.getSeconds(),r.getMilliseconds()));return a.setUTCFullYear(r.getFullYear()),+e-+a}function $s(e,...r){let a=lt.bind(null,e||r.find((i)=>typeof i==="object"));return r.map(a)}function C8(e,r){let a=xe(e,r?.in);return a.setHours(0,0,0,0),a}function R8(e,r,a){let[i,f]=$s(a?.in,e,r),s=C8(i),l=C8(f),c=+s-h9(s),m=+l-h9(l);return Math.round((c-m)/Ice)}function Pce(e,r){let a=_5(e,r),i=lt(r?.in||e,0);return i.setFullYear(a,0,4),i.setHours(0,0,0,0),nM(i)}function c2(e,r,a){return N1(e,r*7,a)}function Tce(e,r,a){return Pi(e,r*12,a)}function Ace(e,r){let a,i=r?.in;return e.forEach((f)=>{if(!i&&typeof f==="object")i=lt.bind(null,f);let s=xe(f,i);if(!a||a<s||isNaN(+s))a=s}),lt(i,a||NaN)}function Dce(e,r){let a,i=r?.in;return e.forEach((f)=>{if(!i&&typeof f==="object")i=lt.bind(null,f);let s=xe(f,i);if(!a||a>s||isNaN(+s))a=s}),lt(i,a||NaN)}function w5(e){return lt(e,Date.now())}function F1(e,r,a){let[i,f]=$s(a?.in,e,r);return+C8(i)===+C8(f)}function z5(e){return e instanceof Date||typeof e==="object"&&Object.prototype.toString.call(e)==="[object Date]"}function Ja(e){return!(!z5(e)&&typeof e!=="number"||isNaN(+xe(e)))}function S5(e,r,a){let[i,f]=$s(a?.in,e,r),s=i.getFullYear()-f.getFullYear(),l=i.getMonth()-f.getMonth();return s*12+l}function g9(e,r,a){let[i,f]=$s(a?.in,e,r),s=Ece(i,f),l=Math.abs(R8(i,f));i.setDate(i.getDate()-s*l);let c=Number(Ece(i,f)===-s),m=s*(l-c);return m===0?0:m}function Ece(e,r){let a=e.getFullYear()-r.getFullYear()||e.getMonth()-r.getMonth()||e.getDate()-r.getDate()||e.getHours()-r.getHours()||e.getMinutes()-r.getMinutes()||e.getSeconds()-r.getSeconds()||e.getMilliseconds()-r.getMilliseconds();if(a<0)return-1;if(a>0)return 1;return a}function Ld(e,r){let a=xe(e,r?.in),i=a.getMonth();return a.setFullYear(a.getFullYear(),i+1,0),a.setHours(23,59,59,999),a}function El(e,r){let[a,i]=$s(e,r.start,r.end);return{start:a,end:i}}function Oce(e,r){let{start:a,end:i}=El(r?.in,e),f=+a>+i,s=f?+a:+i,l=f?i:a;l.setHours(0,0,0,0),l.setDate(1);let c=r?.step??1;if(!c)return[];if(c<0)c=-c,f=!f;let m=[];while(+l<=s)m.push(lt(a,l)),l.setMonth(l.getMonth()+c);return f?m.reverse():m}function jce(e,r){let a=xe(e,r?.in);return a.setDate(1),a.setHours(0,0,0,0),a}function Nce(e,r){let a=xe(e,r?.in),i=a.getFullYear();return a.setFullYear(i+1,0,0),a.setHours(23,59,59,999),a}function L5(e,r){let a=xe(e,r?.in);return a.setFullYear(a.getFullYear(),0,1),a.setHours(0,0,0,0),a}function Fce(e,r){let{start:a,end:i}=El(r?.in,e),f=+a>+i,s=f?+a:+i,l=f?i:a;l.setHours(0,0,0,0),l.setMonth(0,1);let c=r?.step??1;if(!c)return[];if(c<0)c=-c,f=!f;let m=[];while(+l<=s)m.push(lt(a,l)),l.setFullYear(l.getFullYear()+c);return f?m.reverse():m}function k5(e,r){let a=xZ(),i=r?.weekStartsOn??r?.locale?.options?.weekStartsOn??a.weekStartsOn??a.locale?.options?.weekStartsOn??0,f=xe(e,r?.in),s=f.getDay(),l=(s<i?-7:0)+6-(s-i);return f.setDate(f.getDate()+l),f.setHours(23,59,59,999),f}function Bce(e,r){return k5(e,{...r,weekStartsOn:1})}var kvt={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},Yce=(e,r,a)=>{let i,f=kvt[e];if(typeof f==="string")i=f;else if(r===1)i=f.one;else i=f.other.replace("{{count}}",r.toString());if(a?.addSuffix)if(a.comparison&&a.comparison>0)return"in "+i;else return i+" ago";return i};function I5(e){return(r={})=>{let a=r.width?String(r.width):e.defaultWidth;return e.formats[a]||e.formats[e.defaultWidth]}}var Ivt={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},Cvt={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Rvt={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Uce={date:I5({formats:Ivt,defaultWidth:"full"}),time:I5({formats:Cvt,defaultWidth:"full"}),dateTime:I5({formats:Rvt,defaultWidth:"full"})};var Pvt={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},qce=(e,r,a,i)=>Pvt[e];function B1(e){return(r,a)=>{let i=a?.context?String(a.context):"standalone",f;if(i==="formatting"&&e.formattingValues){let l=e.defaultFormattingWidth||e.defaultWidth,c=a?.width?String(a.width):l;f=e.formattingValues[c]||e.formattingValues[l]}else{let l=e.defaultWidth,c=a?.width?String(a.width):e.defaultWidth;f=e.values[c]||e.values[l]}let s=e.argumentCallback?e.argumentCallback(r):r;return f[s]}}var Tvt={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},Avt={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},Dvt={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},Evt={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},Ovt={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},jvt={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},Nvt=(e,r)=>{let a=Number(e),i=a%100;if(i>20||i<10)switch(i%10){case 1:return a+"st";case 2:return a+"nd";case 3:return a+"rd"}return a+"th"},Vce={ordinalNumber:Nvt,era:B1({values:Tvt,defaultWidth:"wide"}),quarter:B1({values:Avt,defaultWidth:"wide",argumentCallback:(e)=>e-1}),month:B1({values:Dvt,defaultWidth:"wide"}),day:B1({values:Evt,defaultWidth:"wide"}),dayPeriod:B1({values:Ovt,defaultWidth:"wide",formattingValues:jvt,defaultFormattingWidth:"wide"})};function Y1(e){return(r,a={})=>{let i=a.width,f=i&&e.matchPatterns[i]||e.matchPatterns[e.defaultMatchWidth],s=r.match(f);if(!s)return null;let l=s[0],c=i&&e.parsePatterns[i]||e.parsePatterns[e.defaultParseWidth],m=Array.isArray(c)?Bvt(c,(x)=>x.test(l)):Fvt(c,(x)=>x.test(l)),g;g=e.valueCallback?e.valueCallback(m):m,g=a.valueCallback?a.valueCallback(g):g;let M=r.slice(l.length);return{value:g,rest:M}}}function Fvt(e,r){for(let a in e)if(Object.prototype.hasOwnProperty.call(e,a)&&r(e[a]))return a;return}function Bvt(e,r){for(let a=0;a<e.length;a++)if(r(e[a]))return a;return}function Hce(e){return(r,a={})=>{let i=r.match(e.matchPattern);if(!i)return null;let f=i[0],s=r.match(e.parsePattern);if(!s)return null;let l=e.valueCallback?e.valueCallback(s[0]):s[0];l=a.valueCallback?a.valueCallback(l):l;let c=r.slice(f.length);return{value:l,rest:c}}}var Yvt=/^(\d+)(th|st|nd|rd)?/i,Uvt=/\d+/i,qvt={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},Vvt={any:[/^b/i,/^(a|c)/i]},Hvt={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},Wvt={any:[/1/i,/2/i,/3/i,/4/i]},Gvt={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},Kvt={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},Xvt={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},Qvt={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},Jvt={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},$vt={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},Wce={ordinalNumber:Hce({matchPattern:Yvt,parsePattern:Uvt,valueCallback:(e)=>parseInt(e,10)}),era:Y1({matchPatterns:qvt,defaultMatchWidth:"wide",parsePatterns:Vvt,defaultParseWidth:"any"}),quarter:Y1({matchPatterns:Hvt,defaultMatchWidth:"wide",parsePatterns:Wvt,defaultParseWidth:"any",valueCallback:(e)=>e+1}),month:Y1({matchPatterns:Gvt,defaultMatchWidth:"wide",parsePatterns:Kvt,defaultParseWidth:"any"}),day:Y1({matchPatterns:Xvt,defaultMatchWidth:"wide",parsePatterns:Qvt,defaultParseWidth:"any"}),dayPeriod:Y1({matchPatterns:Jvt,defaultMatchWidth:"any",parsePatterns:$vt,defaultParseWidth:"any"})};var iM={code:"en-US",formatDistance:Yce,formatLong:Uce,formatRelative:qce,localize:Vce,match:Wce,options:{weekStartsOn:0,firstWeekContainsDate:1}};function Gce(e,r){let a=xe(e,r?.in);return R8(a,L5(a))+1}function U1(e,r){let a=xe(e,r?.in),i=+nM(a)-+Pce(a);return Math.round(i/b5)+1}function C5(e,r){let a=xe(e,r?.in),i=a.getFullYear(),f=xZ(),s=r?.firstWeekContainsDate??r?.locale?.options?.firstWeekContainsDate??f.firstWeekContainsDate??f.locale?.options?.firstWeekContainsDate??1,l=lt(r?.in||e,0);l.setFullYear(i+1,0,s),l.setHours(0,0,0,0);let c=wu(l,r),m=lt(r?.in||e,0);m.setFullYear(i,0,s),m.setHours(0,0,0,0);let g=wu(m,r);if(+a>=+c)return i+1;else if(+a>=+g)return i;else return i-1}function Kce(e,r){let a=xZ(),i=r?.firstWeekContainsDate??r?.locale?.options?.firstWeekContainsDate??a.firstWeekContainsDate??a.locale?.options?.firstWeekContainsDate??1,f=C5(e,r),s=lt(r?.in||e,0);return s.setFullYear(f,0,i),s.setHours(0,0,0,0),wu(s,r)}function q1(e,r){let a=xe(e,r?.in),i=+wu(a,r)-+Kce(a,r);return Math.round(i/b5)+1}function Uo(e,r){let a=e<0?"-":"",i=Math.abs(e).toString().padStart(r,"0");return a+i}var fM={y(e,r){let a=e.getFullYear(),i=a>0?a:1-a;return Uo(r==="yy"?i%100:i,r.length)},M(e,r){let a=e.getMonth();return r==="M"?String(a+1):Uo(a+1,2)},d(e,r){return Uo(e.getDate(),r.length)},a(e,r){let a=e.getHours()/12>=1?"pm":"am";switch(r){case"a":case"aa":return a.toUpperCase();case"aaa":return a;case"aaaaa":return a[0];case"aaaa":default:return a==="am"?"a.m.":"p.m."}},h(e,r){return Uo(e.getHours()%12||12,r.length)},H(e,r){return Uo(e.getHours(),r.length)},m(e,r){return Uo(e.getMinutes(),r.length)},s(e,r){return Uo(e.getSeconds(),r.length)},S(e,r){let a=r.length,i=e.getMilliseconds(),f=Math.trunc(i*Math.pow(10,a-3));return Uo(f,r.length)}};var V1={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},M9={G:function(e,r,a){let i=e.getFullYear()>0?1:0;switch(r){case"G":case"GG":case"GGG":return a.era(i,{width:"abbreviated"});case"GGGGG":return a.era(i,{width:"narrow"});case"GGGG":default:return a.era(i,{width:"wide"})}},y:function(e,r,a){if(r==="yo"){let i=e.getFullYear(),f=i>0?i:1-i;return a.ordinalNumber(f,{unit:"year"})}return fM.y(e,r)},Y:function(e,r,a,i){let f=C5(e,i),s=f>0?f:1-f;if(r==="YY"){let l=s%100;return Uo(l,2)}if(r==="Yo")return a.ordinalNumber(s,{unit:"year"});return Uo(s,r.length)},R:function(e,r){let a=_5(e);return Uo(a,r.length)},u:function(e,r){let a=e.getFullYear();return Uo(a,r.length)},Q:function(e,r,a){let i=Math.ceil((e.getMonth()+1)/3);switch(r){case"Q":return String(i);case"QQ":return Uo(i,2);case"Qo":return a.ordinalNumber(i,{unit:"quarter"});case"QQQ":return a.quarter(i,{width:"abbreviated",context:"formatting"});case"QQQQQ":return a.quarter(i,{width:"narrow",context:"formatting"});case"QQQQ":default:return a.quarter(i,{width:"wide",context:"formatting"})}},q:function(e,r,a){let i=Math.ceil((e.getMonth()+1)/3);switch(r){case"q":return String(i);case"qq":return Uo(i,2);case"qo":return a.ordinalNumber(i,{unit:"quarter"});case"qqq":return a.quarter(i,{width:"abbreviated",context:"standalone"});case"qqqqq":return a.quarter(i,{width:"narrow",context:"standalone"});case"qqqq":default:return a.quarter(i,{width:"wide",context:"standalone"})}},M:function(e,r,a){let i=e.getMonth();switch(r){case"M":case"MM":return fM.M(e,r);case"Mo":return a.ordinalNumber(i+1,{unit:"month"});case"MMM":return a.month(i,{width:"abbreviated",context:"formatting"});case"MMMMM":return a.month(i,{width:"narrow",context:"formatting"});case"MMMM":default:return a.month(i,{width:"wide",context:"formatting"})}},L:function(e,r,a){let i=e.getMonth();switch(r){case"L":return String(i+1);case"LL":return Uo(i+1,2);case"Lo":return a.ordinalNumber(i+1,{unit:"month"});case"LLL":return a.month(i,{width:"abbreviated",context:"standalone"});case"LLLLL":return a.month(i,{width:"narrow",context:"standalone"});case"LLLL":default:return a.month(i,{width:"wide",context:"standalone"})}},w:function(e,r,a,i){let f=q1(e,i);if(r==="wo")return a.ordinalNumber(f,{unit:"week"});return Uo(f,r.length)},I:function(e,r,a){let i=U1(e);if(r==="Io")return a.ordinalNumber(i,{unit:"week"});return Uo(i,r.length)},d:function(e,r,a){if(r==="do")return a.ordinalNumber(e.getDate(),{unit:"date"});return fM.d(e,r)},D:function(e,r,a){let i=Gce(e);if(r==="Do")return a.ordinalNumber(i,{unit:"dayOfYear"});return Uo(i,r.length)},E:function(e,r,a){let i=e.getDay();switch(r){case"E":case"EE":case"EEE":return a.day(i,{width:"abbreviated",context:"formatting"});case"EEEEE":return a.day(i,{width:"narrow",context:"formatting"});case"EEEEEE":return a.day(i,{width:"short",context:"formatting"});case"EEEE":default:return a.day(i,{width:"wide",context:"formatting"})}},e:function(e,r,a,i){let f=e.getDay(),s=(f-i.weekStartsOn+8)%7||7;switch(r){case"e":return String(s);case"ee":return Uo(s,2);case"eo":return a.ordinalNumber(s,{unit:"day"});case"eee":return a.day(f,{width:"abbreviated",context:"formatting"});case"eeeee":return a.day(f,{width:"narrow",context:"formatting"});case"eeeeee":return a.day(f,{width:"short",context:"formatting"});case"eeee":default:return a.day(f,{width:"wide",context:"formatting"})}},c:function(e,r,a,i){let f=e.getDay(),s=(f-i.weekStartsOn+8)%7||7;switch(r){case"c":return String(s);case"cc":return Uo(s,r.length);case"co":return a.ordinalNumber(s,{unit:"day"});case"ccc":return a.day(f,{width:"abbreviated",context:"standalone"});case"ccccc":return a.day(f,{width:"narrow",context:"standalone"});case"cccccc":return a.day(f,{width:"short",context:"standalone"});case"cccc":default:return a.day(f,{width:"wide",context:"standalone"})}},i:function(e,r,a){let i=e.getDay(),f=i===0?7:i;switch(r){case"i":return String(f);case"ii":return Uo(f,r.length);case"io":return a.ordinalNumber(f,{unit:"day"});case"iii":return a.day(i,{width:"abbreviated",context:"formatting"});case"iiiii":return a.day(i,{width:"narrow",context:"formatting"});case"iiiiii":return a.day(i,{width:"short",context:"formatting"});case"iiii":default:return a.day(i,{width:"wide",context:"formatting"})}},a:function(e,r,a){let f=e.getHours()/12>=1?"pm":"am";switch(r){case"a":case"aa":return a.dayPeriod(f,{width:"abbreviated",context:"formatting"});case"aaa":return a.dayPeriod(f,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return a.dayPeriod(f,{width:"narrow",context:"formatting"});case"aaaa":default:return a.dayPeriod(f,{width:"wide",context:"formatting"})}},b:function(e,r,a){let i=e.getHours(),f;if(i===12)f=V1.noon;else if(i===0)f=V1.midnight;else f=i/12>=1?"pm":"am";switch(r){case"b":case"bb":return a.dayPeriod(f,{width:"abbreviated",context:"formatting"});case"bbb":return a.dayPeriod(f,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return a.dayPeriod(f,{width:"narrow",context:"formatting"});case"bbbb":default:return a.dayPeriod(f,{width:"wide",context:"formatting"})}},B:function(e,r,a){let i=e.getHours(),f;if(i>=17)f=V1.evening;else if(i>=12)f=V1.afternoon;else if(i>=4)f=V1.morning;else f=V1.night;switch(r){case"B":case"BB":case"BBB":return a.dayPeriod(f,{width:"abbreviated",context:"formatting"});case"BBBBB":return a.dayPeriod(f,{width:"narrow",context:"formatting"});case"BBBB":default:return a.dayPeriod(f,{width:"wide",context:"formatting"})}},h:function(e,r,a){if(r==="ho"){let i=e.getHours()%12;if(i===0)i=12;return a.ordinalNumber(i,{unit:"hour"})}return fM.h(e,r)},H:function(e,r,a){if(r==="Ho")return a.ordinalNumber(e.getHours(),{unit:"hour"});return fM.H(e,r)},K:function(e,r,a){let i=e.getHours()%12;if(r==="Ko")return a.ordinalNumber(i,{unit:"hour"});return Uo(i,r.length)},k:function(e,r,a){let i=e.getHours();if(i===0)i=24;if(r==="ko")return a.ordinalNumber(i,{unit:"hour"});return Uo(i,r.length)},m:function(e,r,a){if(r==="mo")return a.ordinalNumber(e.getMinutes(),{unit:"minute"});return fM.m(e,r)},s:function(e,r,a){if(r==="so")return a.ordinalNumber(e.getSeconds(),{unit:"second"});return fM.s(e,r)},S:function(e,r){return fM.S(e,r)},X:function(e,r,a){let i=e.getTimezoneOffset();if(i===0)return"Z";switch(r){case"X":return Qce(i);case"XXXX":case"XX":return yL(i);case"XXXXX":case"XXX":default:return yL(i,":")}},x:function(e,r,a){let i=e.getTimezoneOffset();switch(r){case"x":return Qce(i);case"xxxx":case"xx":return yL(i);case"xxxxx":case"xxx":default:return yL(i,":")}},O:function(e,r,a){let i=e.getTimezoneOffset();switch(r){case"O":case"OO":case"OOO":return"GMT"+Xce(i,":");case"OOOO":default:return"GMT"+yL(i,":")}},z:function(e,r,a){let i=e.getTimezoneOffset();switch(r){case"z":case"zz":case"zzz":return"GMT"+Xce(i,":");case"zzzz":default:return"GMT"+yL(i,":")}},t:function(e,r,a){let i=Math.trunc(+e/1000);return Uo(i,r.length)},T:function(e,r,a){return Uo(+e,r.length)}};function Xce(e,r=""){let a=e>0?"-":"+",i=Math.abs(e),f=Math.trunc(i/60),s=i%60;if(s===0)return a+String(f);return a+String(f)+r+Uo(s,2)}function Qce(e,r){if(e%60===0)return(e>0?"-":"+")+Uo(Math.abs(e)/60,2);return yL(e,r)}function yL(e,r=""){let a=e>0?"-":"+",i=Math.abs(e),f=Uo(Math.trunc(i/60),2),s=Uo(i%60,2);return a+f+r+s}var Jce=(e,r)=>{switch(e){case"P":return r.date({width:"short"});case"PP":return r.date({width:"medium"});case"PPP":return r.date({width:"long"});case"PPPP":default:return r.date({width:"full"})}},$ce=(e,r)=>{switch(e){case"p":return r.time({width:"short"});case"pp":return r.time({width:"medium"});case"ppp":return r.time({width:"long"});case"pppp":default:return r.time({width:"full"})}},e8t=(e,r)=>{let a=e.match(/(P+)(p+)?/)||[],i=a[1],f=a[2];if(!f)return Jce(e,r);let s;switch(i){case"P":s=r.dateTime({width:"short"});break;case"PP":s=r.dateTime({width:"medium"});break;case"PPP":s=r.dateTime({width:"long"});break;case"PPPP":default:s=r.dateTime({width:"full"});break}return s.replace("{{date}}",Jce(i,r)).replace("{{time}}",$ce(f,r))},eue={p:$ce,P:e8t};var t8t=/^D+$/,r8t=/^Y+$/,o8t=["D","DD","YY","YYYY"];function tue(e){return t8t.test(e)}function rue(e){return r8t.test(e)}function oue(e,r,a){let i=a8t(e,r,a);if(console.warn(i),o8t.includes(e))throw RangeError(i)}function a8t(e,r,a){let i=e[0]==="Y"?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${r}\`) for formatting ${i} to the input \`${a}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}var n8t=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,i8t=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,f8t=/^'([^]*?)'?$/,s8t=/''/g,l8t=/[a-zA-Z]/;function fr(e,r,a){let i=xZ(),f=a?.locale??i.locale??iM,s=a?.firstWeekContainsDate??a?.locale?.options?.firstWeekContainsDate??i.firstWeekContainsDate??i.locale?.options?.firstWeekContainsDate??1,l=a?.weekStartsOn??a?.locale?.options?.weekStartsOn??i.weekStartsOn??i.locale?.options?.weekStartsOn??0,c=xe(e,a?.in);if(!Ja(c))throw RangeError("Invalid time value");let m=r.match(i8t).map((M)=>{let x=M[0];if(x==="p"||x==="P"){let b=eue[x];return b(M,f.formatLong)}return M}).join("").match(n8t).map((M)=>{if(M==="''")return{isToken:!1,value:"'"};let x=M[0];if(x==="'")return{isToken:!1,value:c8t(M)};if(M9[x])return{isToken:!0,value:M};if(x.match(l8t))throw RangeError("Format string contains an unescaped latin alphabet character `"+x+"`");return{isToken:!1,value:M}});if(f.localize.preprocessor)m=f.localize.preprocessor(c,m);let g={firstWeekContainsDate:s,weekStartsOn:l,locale:f};return m.map((M)=>{if(!M.isToken)return M.value;let x=M.value;if(!a?.useAdditionalWeekYearTokens&&rue(x)||!a?.useAdditionalDayOfYearTokens&&tue(x))oue(x,r,String(e));let b=M9[x[0]];return b(c,x,f.localize,g)}).join("")}function c8t(e){let r=e.match(f8t);if(!r)return e;return r[1].replace(s8t,"'")}function aue(e,r){let a=xe(e,r?.in),i=a.getFullYear(),f=a.getMonth(),s=lt(a,0);return s.setFullYear(i,f+1,0),s.setHours(0,0,0,0),s.getDate()}function Hc(e,r){return xe(e,r?.in).getMonth()}function $c(e,r){return xe(e,r?.in).getFullYear()}function nue(e,r){return+xe(e)>+xe(r)}function iue(e,r){return+xe(e)<+xe(r)}function fue(e,r,a){let[i,f]=$s(a?.in,e,r);return i.getFullYear()===f.getFullYear()&&i.getMonth()===f.getMonth()}function sue(e,r,a){let[i,f]=$s(a?.in,e,r);return i.getFullYear()===f.getFullYear()}function u2(e,r){return F1(lt(r?.in||e,e),w5(r?.in||e))}function lue(e,r,a){return N1(e,-r,a)}function d2(e,r){return F1(lt(r?.in||e,e),lue(w5(r?.in||e),1))}function P8(e,r){let a=()=>lt(r?.in,NaN),i=r?.additionalDigits??2,f=p8t(e),s;if(f.date){let g=m8t(f.date,i);s=h8t(g.restDateString,g.year)}if(!s||isNaN(+s))return a();let l=+s,c=0,m;if(f.time){if(c=g8t(f.time),isNaN(c))return a()}if(f.timezone){if(m=M8t(f.timezone),isNaN(m))return a()}else{let g=new Date(l+c),M=xe(0,r?.in);return M.setFullYear(g.getUTCFullYear(),g.getUTCMonth(),g.getUTCDate()),M.setHours(g.getUTCHours(),g.getUTCMinutes(),g.getUTCSeconds(),g.getUTCMilliseconds()),M}return xe(l+c+m,r?.in)}var R5={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},u8t=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,d8t=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,Z8t=/^([+-])(\d{2})(?::?(\d{2}))?$/;function p8t(e){let r={},a=e.split(R5.dateTimeDelimiter),i;if(a.length>2)return r;if(/:/.test(a[0]))i=a[0];else if(r.date=a[0],i=a[1],R5.timeZoneDelimiter.test(r.date))r.date=e.split(R5.timeZoneDelimiter)[0],i=e.substr(r.date.length,e.length);if(i){let f=R5.timezone.exec(i);if(f)r.time=i.replace(f[1],""),r.timezone=f[1];else r.time=i}return r}function m8t(e,r){let a=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+r)+"})|(\\d{2}|[+-]\\d{"+(2+r)+"})$)"),i=e.match(a);if(!i)return{year:NaN,restDateString:""};let f=i[1]?parseInt(i[1]):null,s=i[2]?parseInt(i[2]):null;return{year:s===null?f:s*100,restDateString:e.slice((i[1]||i[2]).length)}}function h8t(e,r){if(r===null)return new Date(NaN);let a=e.match(u8t);if(!a)return new Date(NaN);let i=!!a[4],f=Z2(a[1]),s=Z2(a[2])-1,l=Z2(a[3]),c=Z2(a[4]),m=Z2(a[5])-1;if(i){if(!_8t(r,c,m))return new Date(NaN);return v8t(r,c,m)}else{let g=new Date(0);if(!y8t(r,s,l)||!b8t(r,f))return new Date(NaN);return g.setUTCFullYear(r,s,Math.max(f,l)),g}}function Z2(e){return e?parseInt(e):1}function g8t(e){let r=e.match(d8t);if(!r)return NaN;let a=v9(r[1]),i=v9(r[2]),f=v9(r[3]);if(!w8t(a,i,f))return NaN;return a*l2+i*p9+f*1000}function v9(e){return e&&parseFloat(e.replace(",","."))||0}function M8t(e){if(e==="Z")return 0;let r=e.match(Z8t);if(!r)return 0;let a=r[1]==="+"?-1:1,i=parseInt(r[2]),f=r[3]&&parseInt(r[3])||0;if(!z8t(i,f))return NaN;return a*(i*l2+f*p9)}function v8t(e,r,a){let i=new Date(0);i.setUTCFullYear(e,0,4);let f=i.getUTCDay()||7,s=(r-1)*7+a+1-f;return i.setUTCDate(i.getUTCDate()+s),i}var x8t=[31,null,31,30,31,30,31,31,30,31,30,31];function cue(e){return e%400===0||e%4===0&&e%100!==0}function y8t(e,r,a){return r>=0&&r<=11&&a>=1&&a<=(x8t[r]||(cue(e)?29:28))}function b8t(e,r){return r>=1&&r<=(cue(e)?366:365)}function _8t(e,r,a){return r>=1&&r<=53&&a>=0&&a<=6}function w8t(e,r,a){if(e===24)return r===0&&a===0;return a>=0&&a<60&&r>=0&&r<60&&e>=0&&e<25}function z8t(e,r){return r>=0&&r<=59}function uue(e,r,a){let i=xe(e,a?.in),f=i.getFullYear(),s=i.getDate(),l=lt(a?.in||e,0);l.setFullYear(f,r,15),l.setHours(0,0,0,0);let c=aue(l);return i.setMonth(r,Math.min(s,c)),i}function due(e,r,a){let i=xe(e,a?.in);if(isNaN(+i))return lt(a?.in||e,NaN);return i.setFullYear(r),i}var Cn=(e)=>{let r=P8(e),a=new Date;if(isNaN(r.getTime()))return e;let i=fr(r,"HH:mm");if(u2(r))return qdt({time:i});if(d2(r))return Gmt({time:i});let f=g9(a,r),s=f>=0?f:0;return s===1?zfe({count:s}):wfe({count:s})},Vg=(e)=>{let r=P8(e),a=new Date;if(isNaN(r.getTime()))return e;if(u2(r))return Ife();if(d2(r))return Cfe();let i=g9(a,r),f=i>=0?i:0;return f===1?zfe({count:f}):wfe({count:f})},Zp=(e,r=new Date)=>{let a=typeof e==="string"?P8(e).getTime():e instanceof Date?e.getTime():NaN;if(isNaN(a))return"< 1m";let i=a-r.getTime();if(i<=0)return"< 1m";let f=Math.floor(i/1000),s=Math.floor(f/86400),l=Math.floor(f%86400/3600),c=Math.floor(f%3600/60);if(s>0)return l>0?`${s}d ${l}h`:`${s}d`;if(l>0)return c>0?`${l}h ${c}m`:`${l}h`;return c>0?`${c}m`:"< 1m"};C();var p2=10,x9=10,Zue=p2*x9,Zd=({spriteUrl:e,thumbnailUrl:r,videoWidth:a,videoHeight:i,className:f=""})=>{let s=w(null),[l,c]=u({width:0,height:0}),[m,g]=u({width:0,height:0}),[M,x]=u(!1),[b,y]=u(!1),[_,k]=u(!1),[F,I]=u(0),[j,G]=u(0);h(()=>{if(!s.current)return;let ae=new ResizeObserver((_e)=>{for(let Ve of _e)c({width:Ve.contentRect.width,height:Ve.contentRect.height})});return ae.observe(s.current),()=>ae.disconnect()},[]);let X=N(()=>{if(b||_)return;k(!0);let ae=new Image;ae.src=e,ae.onload=()=>{g({width:ae.naturalWidth,height:ae.naturalHeight}),y(!0),k(!1)},ae.onerror=()=>{console.error("Failed to load sprite image"),k(!1)}},[e,b,_]),J=()=>{x(!0),X()},ee=()=>{x(!1)},te=(ae)=>{if(!s.current)return;let _e=s.current.getBoundingClientRect(),Ve=ae.clientX-_e.left,Ne=Math.max(0,Math.min(Ve,_e.width));G(Ne);let ze=Ne/_e.width,Ye=Math.min(Math.floor(ze*Zue),Zue-1);I(Ye)},oe=O(()=>{if(l.width===0||l.height===0)return{};let ae=a/i;if(m.width>0&&m.height>0){let mt=m.width/p2,Vt=m.height/x9;ae=mt/Vt}let _e=l.width/l.height,Ve,Ne;if(_e>ae)Ne=l.height,Ve=Ne*ae;else Ve=l.width,Ne=Ve/ae;let ze=Math.ceil(Ve),Ye=Math.ceil(Ne),ft=ze*p2,Ke=Ye*x9,Zt=F%p2,Et=Math.floor(F/p2),Yt=-(Zt*ze),ce=-(Et*Ye);return{backgroundImage:`url(${e})`,backgroundSize:`${ft}px ${Ke}px`,backgroundPosition:`${Yt}px ${ce}px`,backgroundRepeat:"no-repeat",width:`${ze}px`,height:`${Ye}px`,imageRendering:"auto"}},[l,a,i,F,e,m]);return o("div",{ref:s,className:`relative w-full h-full overflow-hidden cursor-crosshair group bg-black select-none ${f}`,onMouseEnter:J,onMouseLeave:ee,onMouseMove:te,children:[t("img",{src:r,alt:"Thumbnail",className:`absolute inset-0 w-full h-full object-contain transition-opacity duration-200 ${M&&b?"opacity-0":"opacity-100"}`,draggable:!1}),M&&!b&&t("div",{className:"absolute inset-0 flex items-center justify-center bg-black/50 z-10",children:t("div",{className:"w-6 h-6 border-2 border-white/30 border-t-white rounded-full animate-spin"})}),b&&t("div",{className:`absolute inset-0 flex items-center justify-center transition-opacity duration-75 ${M?"opacity-100":"opacity-0"}`,children:t("div",{style:oe})}),M&&t("div",{className:"absolute top-0 bottom-0 w-0.5 bg-red-500 shadow-[0_0_4px_rgba(255,0,0,0.8)] z-20 pointer-events-none",style:{transform:`translateX(${j}px)`}})]})};C();var el=(e,r)=>{let a=new RegExp(`(${Object.keys(r).map((i)=>`\\{${i}\\}`).join("|")})`,"g");return t("span",{children:e.split(a).map((i,f)=>{let s=i.match(/^\{(.+)\}$/);if(s&&r[s[1]])return t(yn,{children:r[s[1]]},f);return i})})},pue=({notification:e})=>{let r=Re(),{creator:a,createdAt:i,isRead:f,type:s,asset:l,project:c,team:m,user:g,kanbanTask:M}=e,x=(()=>{let k=a?.name||Cl(),F=l?.name||NZt(),I=M?.title||GZt(),j=c?.name||VZt(),G=m?.name||QZt(),X=g?.name||Cl(),J={creator:t("span",{className:"font-semibold",children:k}),asset:t("span",{className:"font-semibold",children:F}),task:t("span",{className:"font-semibold",children:I}),project:t("span",{className:"font-semibold",children:j}),team:t("span",{className:"font-semibold",children:G}),user:t("span",{className:"font-semibold",children:X})};switch(s){case"comment_created":return el(CQe({creator:"{creator}",asset:"{asset}"}),J);case"reply_created":return el(dJe({creator:"{creator}",asset:"{asset}"}),J);case"mention":return el(M?lJe({creator:"{creator}",task:"{task}"}):iJe({creator:"{creator}",asset:"{asset}"}),J);case"successful_file_uploaded":return el(bJe({creator:"{creator}",asset:"{asset}",project:"{project}"}),J);case"metadata_field_updated_status":return el(vJe({creator:"{creator}",asset:"{asset}"}),J);case"new_user_join_team":return el(NQe({user:"{user}",team:"{team}"}),J);case"new_user_join_project":return el(EQe({user:"{user}",project:"{project}"}),J);case"kanban_task_created":return el(GQe({creator:"{creator}",task:"{task}"}),J);case"kanban_task_assigned":return el(YQe({creator:"{creator}",task:"{task}"}),J);case"kanban_task_status_updated":return el(eJe({creator:"{creator}",task:"{task}"}),J);case"kanban_task_updated":return el(oJe({creator:"{creator}",task:"{task}"}),J);case"kanban_task_deleted":return el(QQe({creator:"{creator}",task:"{task}"}),J);case"kanban_task_comment_created":return el(VQe({creator:"{creator}",task:"{task}"}),J);default:return el(TQe({creator:"{creator}"}),J)}})(),b=l?.proxyType==="video"&&l.preview&&l.thumbnailUrl&&l.originalWidth&&l.originalHeight,y=l?.preview&&(l.proxyType==="image"||l.proxyType==="video");return o("div",{onClick:()=>{if(M?.id&&m?.id)r({to:"/teams/$teamId/kanban",params:{teamId:m.id},search:{taskId:M.id}})},className:"flex py-2 cursor-pointer group border border-transparent items-center justify-center hover:bg-muted/50 rounded-md px-1 transition-colors",children:[t("div",{className:E("w-1.5 h-1.5 rounded-full shadow-xs",f?"bg-transparent":"bg-destructive")}),o("div",{className:"flex-1 min-w-0 flex flex-col justify-center pl-2",children:[t("div",{className:"text-sm text-foreground break-all leading-snug",children:x}),t("div",{className:"text-[11px] text-muted-foreground mt-1",children:Cn(i||"")})]}),y&&t("div",{className:"w-18 h-18 ml-2 rounded-md overflow-hidden flex-shrink-0 bg-muted border border-border flex items-center justify-center mt-0.5",children:b?t(Zd,{spriteUrl:l.preview,thumbnailUrl:l.thumbnailUrl,videoWidth:l.originalWidth,videoHeight:l.originalHeight}):t("img",{src:l.preview,alt:l.name,className:"w-full h-full object-cover"})})]})};function wo({className:e,orientation:r="horizontal",...a}){return t(nRe,{"data-slot":"tabs","data-orientation":r,orientation:r,className:E("group/tabs flex gap-2 data-[orientation=horizontal]:flex-col",e),...a})}var S8t=as("group/tabs-list inline-flex w-fit items-center justify-center rounded-lg p-[3px] text-muted-foreground group-data-[orientation=horizontal]/tabs:h-9 group-data-[orientation=vertical]/tabs:h-fit group-data-[orientation=vertical]/tabs:flex-col data-[variant=line]:rounded-none",{variants:{variant:{default:"bg-muted",line:"gap-1 bg-transparent"}},defaultVariants:{variant:"default"}});function vo({className:e,variant:r="default",...a}){return t(iRe,{"data-slot":"tabs-list","data-variant":r,className:E(S8t({variant:r}),e),...a})}function Vr({className:e,...r}){return t(fRe,{"data-slot":"tabs-trigger",className:E("relative inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center gap-1.5 rounded-md border border-transparent px-2 py-1 text-sm font-medium whitespace-nowrap text-foreground/60 transition-all group-data-[orientation=vertical]/tabs:w-full group-data-[orientation=vertical]/tabs:justify-start hover:text-foreground focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 focus-visible:outline-1 focus-visible:outline-ring disabled:pointer-events-none disabled:opacity-50 group-data-[variant=default]/tabs-list:data-[state=active]:shadow-sm group-data-[variant=line]/tabs-list:data-[state=active]:shadow-none dark:text-muted-foreground dark:hover:text-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4","group-data-[variant=line]/tabs-list:bg-transparent group-data-[variant=line]/tabs-list:data-[state=active]:bg-transparent dark:group-data-[variant=line]/tabs-list:data-[state=active]:border-transparent dark:group-data-[variant=line]/tabs-list:data-[state=active]:bg-transparent","data-[state=active]:bg-background data-[state=active]:text-foreground dark:data-[state=active]:border-input dark:data-[state=active]:bg-input/30 dark:data-[state=active]:text-foreground","after:absolute after:bg-foreground after:opacity-0 after:transition-opacity group-data-[orientation=horizontal]/tabs:after:inset-x-0 group-data-[orientation=horizontal]/tabs:after:bottom-[-5px] group-data-[orientation=horizontal]/tabs:after:h-0.5 group-data-[orientation=vertical]/tabs:after:inset-y-0 group-data-[orientation=vertical]/tabs:after:-right-1 group-data-[orientation=vertical]/tabs:after:w-0.5 group-data-[variant=line]/tabs-list:data-[state=active]:after:opacity-100",e),...r})}function En({className:e,...r}){return t(sRe,{"data-slot":"tabs-content",className:E("flex-1 outline-none",e),...r})}C();var mue=()=>{let{teamId:e}=it(),[r,a]=u("all"),i=K(),{ref:f,inView:s}=Mt(),l=(I,j)=>["notifications",I,{unreadOnly:j}],{data:c,fetchNextPage:m,hasNextPage:g,isFetchingNextPage:M,isLoading:x,refetch:b}=ut({queryKey:l(e??null,r==="unread"),queryFn:async({pageParam:I})=>{let j=await A.api.teams[":teamId"].notifications.$get({param:{teamId:e},query:{unreadOnly:r==="unread"?"true":"false",...I?{after:I}:{},pageSize:"20"}});if(!j.ok)throw Error("failed to fetch notifications");return j.json()},initialPageParam:void 0,getNextPageParam:(I)=>I.pageInfo?.cursor||void 0,enabled:!!e});h(()=>{if(s&&g)m()},[s,g,m]);let y=O(()=>c?.pages.flatMap((I)=>I.data||[])||[],[c]);h(()=>{if(e)i.invalidateQueries({queryKey:["teams",e,"me"]})},[e,y.length,i]);let _=A.api.teams[":teamId"].notifications.read.$post,k=U({mutationFn:async({teamId:I,notificationId:j})=>{if(!(await _({param:{teamId:I},json:{notificationId:j}})).ok)throw Error("failed to mark read");return null}}),F=async()=>{if(y.length>0&&e){let I=y[0].id;if(I){i.setQueryData(["teams",e,"me"],(j)=>{if(!j)return j;return{...j,unreadNotificationCount:0}});try{await k.mutateAsync({teamId:e,notificationId:I})}catch(j){console.error("Failed to mark all as read:",j)}i.invalidateQueries({queryKey:["notifications",e]}),i.invalidateQueries({queryKey:["teams",e,"me"]}),b()}}};return o("div",{className:"flex flex-col h-full w-full bg-transparent",children:[t("div",{className:"flex-none pb-1",children:t(wo,{value:r,onValueChange:(I)=>a(I),className:"w-full",children:o("div",{className:"flex items-center justify-between mb-2",children:[o(vo,{className:"h-8",children:[t(Vr,{value:"all",className:"text-xs px-3 h-6",children:gDe()}),t(Vr,{value:"unread",className:"text-xs px-3 h-6",children:spt()})]}),t(S,{variant:"ghost",size:"sm",className:"h-8 px-2 text-muted-foreground hover:text-foreground",onClick:F,disabled:y.length===0||k.isPending,title:YVe(),children:t(EP,{className:"w-4 h-4"})})]})})}),o("div",{className:"flex-1 overflow-y-auto p-2 min-h-0",children:[x&&t("div",{className:"flex justify-center p-4",children:t(L,{className:"w-6 h-6 animate-spin text-muted-foreground"})}),!x&&y.length===0&&t("div",{className:"flex flex-col items-center justify-center h-40 text-muted-foreground",children:t("p",{className:"text-sm",children:RXe()})}),t("div",{className:"space-y-1",children:y.map((I)=>t(pue,{notification:I},I.id))}),t("div",{ref:f,className:"h-4 w-full flex justify-center p-1",children:M&&t(L,{className:"w-4 h-4 animate-spin text-muted-foreground"})})]})]})};var bL=null,en=Tr((e)=>({projectState:null,setProjectState:(r)=>{if(bL)clearTimeout(bL),bL=null;e({projectState:r})},clearProjectState:()=>{if(bL)clearTimeout(bL);bL=setTimeout(()=>{e({projectState:null}),bL=null},10)}}));var L8t=as("inline-flex w-fit shrink-0 items-center justify-center gap-1 overflow-hidden rounded-full border border-transparent px-2 py-0.5 text-xs font-medium whitespace-nowrap transition-[color,box-shadow] focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 [&>svg]:pointer-events-none [&>svg]:size-3",{variants:{variant:{default:"bg-primary text-primary-foreground [a&]:hover:bg-primary/90",secondary:"bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",destructive:"bg-destructive text-white focus-visible:ring-destructive/20 dark:bg-destructive/60 dark:focus-visible:ring-destructive/40 [a&]:hover:bg-destructive/90",outline:"border-border text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground",ghost:"[a&]:hover:bg-accent [a&]:hover:text-accent-foreground",link:"text-primary underline-offset-4 [a&]:hover:underline"}},defaultVariants:{variant:"default"}});function we({className:e,variant:r="default",asChild:a=!1,...i}){let f=a?jre:"span";return t(f,{"data-slot":"badge","data-variant":r,className:E(L8t({variant:r}),e),...i})}var P5={viewBox:"0 -960 960 960",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},hue=(e)=>t("svg",{...P5,...e,children:t("path",{d:"M200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h560q33 0 56.5 23.5T840-760v560q0 33-23.5 56.5T760-120H200Zm120-80v-560H200v560h120Zm80 0h360v-560H400v560Z"})}),gue=(e)=>t("svg",{...P5,...e,children:t("path",{d:"M200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h560q33 0 56.5 23.5T840-760v560q0 33-23.5 56.5T760-120H200Zm360-80v-560H200v560h360Zm200 0v-560H640v560h120Z"})}),Mue=(e)=>t("svg",{...P5,...e,children:t("path",{d:"M200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h560q33 0 56.5 23.5T840-760v560q0 33-23.5 56.5T760-120H200Zm560-80v-560H400v560h360Z"})}),vue=(e)=>t("svg",{...P5,...e,children:t("path",{d:"M200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h560q33 0 56.5 23.5T840-760v560q0 33-23.5 56.5T760-120H200Zm360-80v-560H200v560h360Z"})}),xue=(e)=>o("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",...e,children:[t("path",{d:"M12 8V4H8"}),t("path",{d:"M6 7H18A3 3 0 0 1 21 10V18A3 3 0 0 1 18 21H6A3 3 0 0 1 3 18V10A3 3 0 0 1 6 7ZM8 13V15A1 1 0 0 0 10 15V13A1 1 0 0 0 8 13ZM14 13V15A1 1 0 0 0 16 15V13A1 1 0 0 0 14 13Z",fill:"currentColor",stroke:"none"}),t("path",{d:"M2 14h2"}),t("path",{d:"M20 14h2"})]}),yue=(e)=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:30,height:30,viewBox:"120 -792 720 720",fill:"none","aria-hidden":"true",focusable:"false",...e,children:t("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M 160 -180 v -72 h 80 v -252 q 0 -74.7 50 -132.75 T 420 -712.8 v -25.2 q 0 -22.5 17.5 -38.25 T 480 -792 q 25 0 42.5 15.75 T 540 -738 v 25.2 q 80 18 130 76.05 T 720 -504 v 252 h 80 v 72 H 160 Z M 480 -72 q -33 0 -56.5 -21.15 T 400 -144 h 160 q 0 29.7 -23.5 50.85 T 480 -72 Z",fill:"currentColor"})}),ua=(e)=>o("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none","aria-hidden":"true",focusable:"false",...e,children:[t("path",{d:"M10.77 10.377a1 1 0 0 0-.132.437l-.105 1.665a.5.5 0 0 0 .793.436l1.32-.96a1 1 0 0 0 .278-.309l3.912-6.775a1.25 1.25 0 1 0-2.165-1.25l-3.901 6.756Z",fill:"currentColor"}),t("path",{d:"M11.016 6.75a.758.758 0 0 1-.758.748c-2.938 0-4.882 1.71-5.517 3.95-.708 2.499.245 4.459 1.979 5.851 1.767 1.42 4.31 2.203 6.547 2.203.415 0 .749.335.745.748a.758.758 0 0 1-.758.748c-2.536 0-5.421-.873-7.485-2.531-2.098-1.686-3.38-4.225-2.475-7.414.818-2.883 3.354-5.051 6.977-5.051.415 0 .749.335.745.748Z",fill:"currentColor"}),t("path",{d:"M17.147 8.315a.767.767 0 0 1 1.058-.168c1.666 1.188 2.508 2.542 2.733 3.876a4.5 4.5 0 0 1-.805 3.392c-.919 1.434-2.714 2.074-4.479 2.185-1.799.113-3.78-.302-5.292-1.216a.733.733 0 0 1-.242-1.022.768.768 0 0 1 1.042-.246c1.216.734 2.881 1.096 4.409 1 1.553-.097 2.755-.647 3.292-1.5l.015-.022.015-.021a3.025 3.025 0 0 0 .553-2.294c-.148-.876-.72-1.915-2.137-2.926a.733.733 0 0 1-.162-1.038Z",fill:"currentColor"})]}),sM=(e)=>o("svg",{viewBox:"0 0 100 100",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[t("defs",{children:t("clipPath",{id:"bg-clip",children:t("rect",{x:"5",y:"5",width:"90",height:"90",rx:"22"})})}),t("rect",{x:"5",y:"5",width:"90",height:"90",rx:"22",fill:"#D95A66"}),t("path",{d:"M 35 75 L 65 75 L 80 60 L 75 30 L 175 130 L 135 175 Z",fill:"#A8384D",clipPath:"url(#bg-clip)"}),t("path",{d:"M 25 30 Q 38 36 50 42 L 35 55 L 35 75 L 20 60 Z",fill:"#FDF0D5"}),t("path",{d:"M 50 42 Q 62 36 75 30 L 80 60 L 65 75 L 65 55 Z",fill:"#E77A65"}),t("path",{d:"M 35 75 L 65 75 L 65 55 L 50 42 L 35 55 Z",fill:"#F5B895"}),t("path",{d:"M 50 42 Q 38 36 25 30 Q 38 26 50 20 Q 62 26 75 30 Q 62 36 50 42 Z",fill:"#F4B8B8"}),t("path",{d:"M 50 25 L 42 30 L 50 35 Z",fill:"#E57A5F"}),t("path",{d:"M 50 25 L 58 30 L 50 35 Z",fill:"#C2523C"})]}),bue=(e)=>t("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"24 24 152 152",fill:"none","aria-hidden":"true",focusable:"false",...e,children:t("path",{d:"M 44 170 L 44 100 L 24 100 L 100 30 L 126 54 L 126 36 L 142 36 L 142 69 L 176 100 L 156 100 L 156 170 L 120 170 L 120 136 A 20 20 0 0 0 80 136 L 80 170 Z",fill:"currentColor"})});function _ue({uploading:e=!1,className:r="",...a}){return o("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"15 15 70 70",width:30,height:30,className:`${r} ${e?"animate-upload-breathing":""}`,"aria-hidden":"true",focusable:"false",style:e?{transformOrigin:"center"}:void 0,...a,children:[e&&t("defs",{children:o("linearGradient",{id:"upload-gradient",x1:"0%",y1:"0%",x2:"100%",y2:"100%",children:[t("stop",{offset:"0%",stopColor:"#3b82f6",children:t("animate",{attributeName:"stop-color",values:"#3b82f6;#ec4899;#8b5cf6;#3b82f6",dur:"3s",repeatCount:"indefinite"})}),t("stop",{offset:"50%",stopColor:"#8b5cf6",children:t("animate",{attributeName:"stop-color",values:"#8b5cf6;#3b82f6;#ec4899;#8b5cf6",dur:"3s",repeatCount:"indefinite"})}),t("stop",{offset:"100%",stopColor:"#ec4899",children:t("animate",{attributeName:"stop-color",values:"#ec4899;#8b5cf6;#3b82f6;#ec4899",dur:"3s",repeatCount:"indefinite"})})]})}),t("path",{d:"M 44.1 75 H 30 A 15 15 0 0 1 30 45 A 20 20 0 0 1 70 45 A 15 15 0 0 1 70 75 H 55.9 V 60.2 H 61.9 L 50 45.3 L 38.1 60.2 H 44.1 Z",fill:e?"url(#upload-gradient)":"currentColor"})]})}var wue=({className:e,...r})=>t("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 -960 960 960",fill:"currentColor","aria-hidden":"true",focusable:"false",className:e?`rotate-180 ${e}`:"rotate-180",...r,children:t("path",{d:"M172-84q-36.3 0-62.15-25.85T84-172v-616q0-36.3 25.85-62.15T172-876h616q36.3 0 62.15 25.85T876-788v616q0 36.3-25.85 62.15T788-84H172Zm88-176h88v-440h-88v440Zm176 0h88v-264h-88v264Zm176 0h88v-352h-88v352Z"})}),zue=(e)=>t("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 -960 960 960",fill:"currentColor","aria-hidden":"true",focusable:"false",...e,children:t("path",{d:"M520-600v-240h320v240H520ZM120-440v-400h320v400H120Zm400 320v-400h320v400H520Zm-400 0v-240h320v240H120Z"})});C();C();var{create:k8t,defineProperty:Aue,defineProperties:I8t,getOwnPropertyDescriptor:C8t,getOwnPropertyDescriptors:R8t,getOwnPropertySymbols:j5}=Object,Due=Object.prototype.hasOwnProperty,Eue=Object.prototype.propertyIsEnumerable,P8t=(e,r)=>(r=Symbol[e])?r:Symbol.for("Symbol."+e),x2=(e)=>{throw TypeError(e)},w9=(e,r,a)=>(r in e)?Aue(e,r,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[r]=a,y9=(e,r)=>{for(var a in r||(r={}))if(Due.call(r,a))w9(e,a,r[a]);if(j5){for(var a of j5(r))if(Eue.call(r,a))w9(e,a,r[a])}return e},b9=(e,r)=>I8t(e,R8t(r)),T8t=(e,r)=>{var a={};for(var i in e)if(Due.call(e,i)&&r.indexOf(i)<0)a[i]=e[i];if(e!=null&&j5){for(var i of j5(e))if(r.indexOf(i)<0&&Eue.call(e,i))a[i]=e[i]}return a},A8t=(e)=>{var r;return[,,,k8t((r=void 0)!=null?r:null)]},Oue=["class","method","getter","setter","accessor","field","value","get","set"],h2=(e)=>e!==void 0&&typeof e!=="function"?x2("Function expected"):e,D8t=(e,r,a,i,f)=>({kind:Oue[e],name:r,metadata:i,addInitializer:(s)=>a._?x2("Already initialized"):f.push(h2(s||null))}),E8t=(e,r)=>w9(r,P8t("metadata"),e[3]),T5=(e,r,a,i)=>{for(var f=0,s=e[r>>1],l=s&&s.length;f<l;f++)r&1?s[f].call(a):i=s[f].call(a,i);return i},jue=(e,r,a,i,f,s)=>{var l,c,m,g,M,x=r&7,b=!1,y=!1,_=e.length+1,k=Oue[x+5],F=e[_-1]=[],I=e[_]||(e[_]=[]),j=(f=f.prototype,C8t({get[a](){return g2(this,s)},set[a](X){return _L(this,s,X)}},a));for(var G=i.length-1;G>=0;G--)if(g=D8t(x,a,m={},e[3],I),g.static=b,g.private=y,M=g.access={has:(X)=>(a in X)},M.get=(X)=>X[a],M.set=(X,J)=>X[a]=J,c=(0,i[G])({get:j.get,set:j.set},g),m._=1,c===void 0)h2(c)&&(j[k]=c);else if(typeof c!=="object"||c===null)x2("Object expected");else h2(l=c.get)&&(j.get=l),h2(l=c.set)&&(j.set=l),h2(l=c.init)&&F.unshift(l);return j&&Aue(f,a,j),f},Nue=(e,r,a)=>r.has(e)||x2("Cannot "+a),g2=(e,r,a)=>(Nue(e,r,"read from private field"),r.get(e)),m2=(e,r,a)=>r.has(e)?x2("Cannot add the same private member more than once"):r instanceof WeakSet?r.add(e):r.set(e,a),_L=(e,r,a,i)=>(Nue(e,r,"write to private field"),r.set(e,a),a);function Xn(e){return e instanceof k9||e instanceof Yue}var A5=10,O8t=class extends Fi{constructor(e){super(e);let r=gi(()=>{let{dragOperation:i}=e;if(!dL(i.activatorEvent))return;if(!Xn(i.source))return;if(i.status.initialized){let f=e.registry.plugins.get(E1);if(f)return f.disable(),()=>f.enable()}}),a=e.monitor.addEventListener("dragmove",(i,f)=>{queueMicrotask(()=>{if(this.disabled||i.defaultPrevented||!i.nativeEvent)return;let{dragOperation:s}=f;if(!dL(i.nativeEvent))return;if(!Xn(s.source))return;if(!s.shape)return;let{actions:l,collisionObserver:c,registry:m}=f,{by:g}=i;if(!g)return;let M=j8t(g),{source:x,target:b}=s,{center:y}=s.shape.current,_=[],k=[];Qo(()=>{for(let J of m.droppables){let{id:ee}=J;if(!J.accepts(x)||ee===(b==null?void 0:b.id)&&Xn(J)||!J.element)continue;let te=J.shape,oe=new Xc(J.element,{getBoundingClientRect:(ae)=>S1(ae,void 0,0.2)});if(!oe.height||!oe.width)continue;if(M=="down"&&y.y+A5<oe.center.y||M=="up"&&y.y-A5>oe.center.y||M=="left"&&y.x-A5>oe.center.x||M=="right"&&y.x+A5<oe.center.x)_.push(J),J.shape=oe,k.push(()=>J.shape=te)}}),i.preventDefault(),c.disable();let F=c.computeCollisions(_,yle);Qo(()=>k.forEach((J)=>J()));let[I]=F;if(!I)return;let{id:j}=I,{index:G,group:X}=x.sortable;l.setDropTarget(j).then(()=>{let{source:J,target:ee,shape:te}=s;if(!J||!Xn(J)||!te)return;let{index:oe,group:ae,target:_e}=J.sortable,Ve=G!==oe||X!==ae,Ne=Ve?_e:ee==null?void 0:ee.element;if(!Ne)return;o5(Ne);let ze=new Xc(Ne);if(!ze)return;let Ye=Xs.delta(ze,Xs.from(te.current.boundingRectangle),J.alignment);if(l.move({by:Ye}),Ve)l.setDropTarget(J.id).then(()=>c.enable());else c.enable()})})});this.destroy=()=>{a(),r()}}};function j8t(e){let{x:r,y:a}=e;if(r>0)return"right";else if(r<0)return"left";else if(a>0)return"down";else if(a<0)return"up"}var{defineProperty:N8t,defineProperties:F8t,getOwnPropertyDescriptors:B8t,getOwnPropertySymbols:Sue}=Object,Y8t=Object.prototype.hasOwnProperty,U8t=Object.prototype.propertyIsEnumerable,Lue=(e,r,a)=>(r in e)?N8t(e,r,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[r]=a,H1=(e,r)=>{for(var a in r||(r={}))if(Y8t.call(r,a))Lue(e,a,r[a]);if(Sue){for(var a of Sue(r))if(U8t.call(r,a))Lue(e,a,r[a])}return e},W1=(e,r)=>F8t(e,B8t(r));function q8t(e,r,a){if(r===a)return e;let i=e.slice();return i.splice(a,0,i.splice(r,1)[0]),i}function D5(e,r){let a=String(r);return Object.prototype.hasOwnProperty.call(e,a)?a:void 0}function _9(e){return"initialIndex"in e&&typeof e.initialIndex==="number"&&"index"in e&&typeof e.index==="number"}function V8t(e,r,a){var i,f;let{source:s,target:l,canceled:c}=r.operation;if(!s||!l||c){if("preventDefault"in r)r.preventDefault();return e}let m=(G,X)=>G===X||G!==null&&typeof G==="object"&&("id"in G)&&G.id===X;if(Array.isArray(e)){let G=e.findIndex((J)=>m(J,s.id)),X=e.findIndex((J)=>m(J,l.id));if(G===-1||X===-1){if(_9(s)){let{initialIndex:J,index:ee}=s;if(J===ee||J<0||J>=e.length){if("preventDefault"in r)r.preventDefault();return e}return a(e,J,ee)}return e}if(!c&&"index"in s&&typeof s.index==="number"){let J=s.index;if(J!==G)return a(e,G,J)}return a(e,G,X)}let g=Object.entries(e),M=-1,x,b=-1,y;for(let[G,X]of g){if(M===-1){if(M=X.findIndex((J)=>m(J,s.id)),M!==-1)x=G}if(b===-1){if(b=X.findIndex((J)=>m(J,l.id)),b!==-1)y=G}if(M!==-1&&b!==-1)break}if(M===-1&&_9(s)){let G=s.initialGroup==null?void 0:D5(e,s.initialGroup),X=s.initialIndex,J=s.group==null?void 0:D5(e,s.group),ee=s.index;if(G==null||J==null){if("preventDefault"in r)r.preventDefault();return e}if(G===J&&X===ee){if("preventDefault"in r)r.preventDefault();return e}if(G===J)return W1(H1({},e),{[G]:a(e[G],X,ee)});let te=e[G][X];return W1(H1({},e),{[G]:[...e[G].slice(0,X),...e[G].slice(X+1)],[J]:[...e[J].slice(0,ee),te,...e[J].slice(ee)]})}if(!s.manager)return e;let{dragOperation:_}=s.manager,k=(f=(i=_.shape)==null?void 0:i.current.center)!=null?f:_.position.current;if(y==null){let G=D5(e,l.id);if(G!=null){let X=l.shape&&k.y>l.shape.center.y?e[G].length:0;y=G,b=X}}if(x==null||y==null||x===y&&M===b){if(x!=null&&x===y&&M===b&&_9(s)){let G=s.group==null?void 0:D5(e,s.group),X=s.group!=null&&G!==x,J=s.index!==M;if(X||J){let ee=s.group==null?x:G;if(ee!=null){if(x===ee)return W1(H1({},e),{[x]:a(e[x],M,s.index)});let te=e[x][M];return W1(H1({},e),{[x]:[...e[x].slice(0,M),...e[x].slice(M+1)],[ee]:[...e[ee].slice(0,s.index),te,...e[ee].slice(s.index)]})}}}if("preventDefault"in r)r.preventDefault();return e}if(x===y)return W1(H1({},e),{[x]:a(e[x],M,b)});let I=l.shape&&Math.round(k.y)>Math.round(l.shape.center.y)?1:0,j=e[x][M];return W1(H1({},e),{[x]:[...e[x].slice(0,M),...e[x].slice(M+1)],[y]:[...e[y].slice(0,b+I),j,...e[y].slice(b+I)]})}function H8t(e,r){return V8t(e,r,q8t)}function kue(e){let r=new Map;for(let[,a]of e)for(let i of a)r.set(i.id,i.index);return r}function Iue(e,r,a){var i;for(let[f,s]of r)for(let l of s){let c=e.get(l.id);if(l.index!==c||l.group!==f||!((i=a.get(f))==null?void 0:i.has(l)))return!0}return!1}var Cue="__default__",W8t=class extends Fi{constructor(e){super(e);let r=()=>{let i=new Map;for(let f of e.registry.droppables)if(f instanceof k9){let{sortable:s}=f,{group:l}=s,c=i.get(l);if(!c)c=new Set,i.set(l,c);c.add(s)}return i},a=[e.monitor.addEventListener("dragover",(i,f)=>{if(this.disabled)return;let{dragOperation:s}=f,{source:l,target:c}=s;if(!Xn(l)||!Xn(c))return;if(l.sortable===c.sortable)return;let m=r(),g=kue(m),M=l.sortable.group===c.sortable.group,x=m.get(l.sortable.group),b=M?x:m.get(c.sortable.group);if(!x||!b)return;queueMicrotask(()=>{if(i.defaultPrevented)return;f.renderer.rendering.then(()=>{var y,_;let k=r();if(Iue(g,m,k))return;let F=l.sortable.element,I=c.sortable.element;if(!I||!F)return;if(!M&&c.id===l.sortable.group)return;let j=E5(x),G=M?j:E5(b),X=(y=l.sortable.group)!=null?y:Cue,J=(_=c.sortable.group)!=null?_:Cue,ee={[X]:j,[J]:G},te=H8t(ee,i);if(ee===te)return;let oe=te[J].indexOf(l.sortable),ae=te[J].indexOf(c.sortable);f.collisionObserver.disable(),Rue(F,oe,I,ae),Qo(()=>{for(let[_e,Ve]of te[X].entries())Ve.index=_e;if(!M)for(let[_e,Ve]of te[J].entries())Ve.group=c.sortable.group,Ve.index=_e}),f.actions.setDropTarget(l.id).then(()=>f.collisionObserver.enable())})})}),e.monitor.addEventListener("dragend",(i,f)=>{if(!i.canceled)return;let{dragOperation:s}=f,{source:l}=s;if(!Xn(l))return;if(l.sortable.initialIndex===l.sortable.index&&l.sortable.initialGroup===l.sortable.group)return;queueMicrotask(()=>{let c=r(),m=kue(c),g=c.get(l.sortable.initialGroup);if(!g)return;f.renderer.rendering.then(()=>{let M=r();if(Iue(m,c,M))return;let x=E5(g),b=E5(g,K8t),y=l.sortable.element,_=b.indexOf(l.sortable),k=x[_],F=k==null?void 0:k.element;if(!k||!F||!y)return;Rue(y,k.index,F,l.index),Qo(()=>{for(let I of c.values()){let j=Array.from(I).values();for(let G of j)G.index=G.initialIndex,G.group=G.initialGroup}})})})})];this.destroy=()=>{for(let i of a)i()}}};function Rue(e,r,a,i){let f=i<r?"afterend":"beforebegin";a.insertAdjacentElement(f,e)}function G8t(e,r){return e.index-r.index}function K8t(e,r){return e.initialIndex-r.initialIndex}function E5(e,r=G8t){return Array.from(e).sort(r)}var Pue=[O8t,W8t],z9={duration:250,easing:"cubic-bezier(0.25, 1, 0.5, 1)",idle:!1};function Tue(e){var r,a;if(typeof e==="boolean")return{draggable:e,droppable:e};return{draggable:(r=e==null?void 0:e.draggable)!=null?r:!1,droppable:(a=e==null?void 0:e.droppable)!=null?a:!1}}var O5=new Xfe,Fue,Bue,T8,S9,M2,v2,L9,G1;Bue=[So],Fue=[So];var y2=class{constructor(e,r){m2(this,S9,T5(T8,8,this)),T5(T8,11,this),m2(this,M2),m2(this,v2),m2(this,L9,T5(T8,12,this)),T5(T8,15,this),m2(this,G1),this.register=()=>(Qo(()=>{var _,k;(_=this.manager)==null||_.registry.register(this.droppable),(k=this.manager)==null||k.registry.register(this.draggable)}),()=>this.unregister()),this.unregister=()=>{Qo(()=>{var _,k;(_=this.manager)==null||_.registry.unregister(this.droppable),(k=this.manager)==null||k.registry.unregister(this.draggable)})},this.destroy=()=>{Qo(()=>{this.droppable.destroy(),this.draggable.destroy()})};var a=e,{effects:i=()=>[],disabled:f,group:s,index:l,sensors:c,type:m,transition:g=z9,plugins:M}=a,x=T8t(a,["effects","disabled","group","index","sensors","type","transition","plugins"]);let b=xs(M,Pue),y=Tue(f);this.droppable=new k9(b9(y9({},x),{disabled:y.droppable}),r,this),this.draggable=new Yue(b9(y9({},x),{disabled:y.draggable,plugins:b,effects:()=>[()=>{var _,k,F;let I=(_=this.manager)==null?void 0:_.dragOperation.status;if((I==null?void 0:I.initializing)&&this.id===((F=(k=this.manager)==null?void 0:k.dragOperation.source)==null?void 0:F.id))O5.clear(this.manager);if(I==null?void 0:I.dragging)O5.set(this.manager,this.id,uo(()=>({initialIndex:this.index,initialGroup:this.group})))},()=>{let{index:_,group:k,manager:F}=this,I=g2(this,v2),j=g2(this,M2);if(_!==I||k!==j)_L(this,v2,_),_L(this,M2,k),this.animate()},()=>{var _,k;let{target:F}=this,{isDragSource:I}=this.draggable;if(((k=(_=this.draggable.pluginConfig(us))==null?void 0:_.feedback)!=null?k:"default")==="move"&&I)this.droppable.disabled=!F},...i()],type:m,sensors:c}),r,this),_L(this,G1,x.element),this.manager=r,this.index=l,_L(this,v2,l),this.group=s,_L(this,M2,s),this.type=m,this.transition=g}get initialIndex(){var e,r;return(r=(e=O5.get(this.manager,this.id))==null?void 0:e.initialIndex)!=null?r:this.index}get initialGroup(){var e,r;return(r=(e=O5.get(this.manager,this.id))==null?void 0:e.initialGroup)!=null?r:this.group}animate(){uo(()=>{let{manager:e,transition:r}=this,{shape:a}=this.droppable;if(!e)return;let{idle:i}=e.dragOperation.status;if(!a||!r||i&&!r.idle)return;e.renderer.rendering.then(()=>{let{element:f}=this;if(!f)return;for(let M of f.getAnimations())if("transitionProperty"in M&&(M.transitionProperty==="transform"||M.transitionProperty==="translate"||M.transitionProperty==="scale"))M.cancel();let s=this.refreshShape();if(!s)return;let l={x:a.boundingRectangle.left-s.boundingRectangle.left,y:a.boundingRectangle.top-s.boundingRectangle.top},{translate:c}=Wc(f),m=Aq(f,c,!1),g=Aq(f,c);if(l.x||l.y){let M=KT(ys(f))?b9(y9({},r),{duration:0}):r;a5({element:f,keyframes:{translate:[`${m.x+l.x}px ${m.y+l.y}px ${m.z}`,`${g.x}px ${g.y}px ${g.z}`]},options:M}).then(()=>{if(!e.dragOperation.status.dragging)this.droppable.shape=void 0})}})})}get manager(){return this.draggable.manager}set manager(e){Qo(()=>{this.draggable.manager=e,this.droppable.manager=e})}set element(e){Qo(()=>{let r=g2(this,G1),a=this.droppable.element,i=this.draggable.element;if(!a||a===r)this.droppable.element=e;if(!i||i===r)this.draggable.element=e;_L(this,G1,e)})}get element(){var e,r;let a=g2(this,G1);if(!a)return;return(r=(e=XT.get(a))!=null?e:a)!=null?r:this.droppable.element}set target(e){this.droppable.element=e}get target(){return this.droppable.element}set source(e){this.draggable.element=e}get source(){return this.draggable.element}get disabled(){let{disabled:e}=this.draggable,{disabled:r}=this.droppable;return e===r?e:{draggable:e,droppable:r}}set plugins(e){this.draggable.plugins=xs(e,Pue)}set disabled(e){let r=Tue(e);Qo(()=>{this.droppable.disabled=r.droppable,this.draggable.disabled=r.draggable})}set data(e){Qo(()=>{this.droppable.data=e,this.draggable.data=e})}set handle(e){this.draggable.handle=e}set id(e){this.droppable.id=e,this.draggable.id=e}get id(){return this.droppable.id}set sensors(e){this.draggable.sensors=e}set modifiers(e){this.draggable.modifiers=e}set collisionPriority(e){this.droppable.collisionPriority=e}set collisionDetector(e){this.droppable.collisionDetector=e!=null?e:i5}set alignment(e){this.draggable.alignment=e}get alignment(){return this.draggable.alignment}set type(e){Qo(()=>{this.droppable.type=e,this.draggable.type=e})}get type(){return this.draggable.type}set accept(e){this.droppable.accept=e}get accept(){return this.droppable.accept}get isDropTarget(){return this.droppable.isDropTarget}get isDragSource(){return this.draggable.isDragSource}get isDragging(){return this.draggable.isDragging}get isDropping(){return this.draggable.isDropping}get status(){return this.draggable.status}refreshShape(){return this.droppable.refreshShape()}accepts(e){return this.droppable.accepts(e)}};T8=A8t();S9=new WeakMap;M2=new WeakMap;v2=new WeakMap;L9=new WeakMap;G1=new WeakMap;jue(T8,4,"index",Bue,y2,S9);jue(T8,4,"group",Fue,y2,L9);E8t(T8,y2);var Yue=class extends ML{constructor(e,r,a){super(e,r);this.sortable=a}get index(){return this.sortable.index}get initialIndex(){return this.sortable.initialIndex}get group(){return this.sortable.group}get initialGroup(){return this.sortable.initialGroup}},k9=class extends O1{constructor(e,r,a){super(e,r);this.sortable=a}get index(){return this.sortable.index}get group(){return this.sortable.group}};var{defineProperty:X8t,defineProperties:Q8t,getOwnPropertyDescriptors:J8t,getOwnPropertySymbols:Uue}=Object,$8t=Object.prototype.hasOwnProperty,ext=Object.prototype.propertyIsEnumerable,que=(e,r,a)=>(r in e)?X8t(e,r,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[r]=a,I9=(e,r)=>{for(var a in r||(r={}))if($8t.call(r,a))que(e,a,r[a]);if(Uue){for(var a of Uue(r))if(ext.call(r,a))que(e,a,r[a])}return e},txt=(e,r)=>Q8t(e,J8t(r));function Ni(e){let{accept:r,collisionDetector:a,collisionPriority:i,id:f,data:s,element:l,handle:c,index:m,group:g,disabled:M,modifiers:x,sensors:b,target:y,type:_,plugins:k}=e,F=I9(I9({},z9),e.transition),I=M5((G)=>new y2(txt(I9({},e),{transition:F,register:!1,handle:_u(c),element:_u(l),target:_u(y)}),G)),j=j1(I,rxt);return Yo(f,()=>I.id=f),aM(()=>{Qo(()=>{I.group=g,I.index=m})},[I,g,m]),Yo(_,()=>I.type=_),Yo(r,()=>I.accept=r,void 0,Qi),Yo(s,()=>s&&(I.data=s)),Yo(m,()=>{var G;if(((G=I.manager)==null?void 0:G.dragOperation.status.idle)&&(F==null?void 0:F.idle))I.refreshShape()},ice),I8(c,(G)=>I.handle=G),I8(l,(G)=>I.element=G),I8(y,(G)=>I.target=G),Yo(M,()=>I.disabled=M!=null?M:!1,void 0,Qi),Yo(b,()=>I.sensors=b,void 0,Qi),Yo(a,()=>I.collisionDetector=a),Yo(i,()=>I.collisionPriority=i),Yo(k,()=>I.plugins=k,void 0,Qi),Yo(F,()=>I.transition=F,void 0,Qi),Yo(x,()=>I.modifiers=x,void 0,Qi),Yo(e.alignment,()=>I.alignment=e.alignment),{sortable:j,get isDragging(){return j.isDragging},get isDropping(){return j.isDropping},get isDragSource(){return j.isDragSource},get isDropTarget(){return j.isDropTarget},handleRef:N((G)=>{I.handle=G!=null?G:void 0},[I]),ref:N((G)=>{var X,J;if(!G&&((X=I.element)==null?void 0:X.isConnected)&&!((J=I.manager)==null?void 0:J.dragOperation.status.idle))return;I.element=G!=null?G:void 0},[I]),sourceRef:N((G)=>{var X,J;if(!G&&((X=I.source)==null?void 0:X.isConnected)&&!((J=I.manager)==null?void 0:J.dragOperation.status.idle))return;I.source=G!=null?G:void 0},[I]),targetRef:N((G)=>{var X,J;if(!G&&((X=I.target)==null?void 0:X.isConnected)&&!((J=I.manager)==null?void 0:J.dragOperation.status.idle))return;I.target=G!=null?G:void 0},[I])}}function rxt(e,r,a){if(e==="isDragSource"&&!a&&r)return!0;return!1}C();function oxt(e){if(!e)return null;try{let r=P8(e);if(isNaN(r.getTime()))return null;return fr(r,"MMM d, yyyy")}catch{return null}}function axt({version:e,displayVersionNumber:r,index:a,canEdit:i,onRemove:f}){let[s,l]=u(!1),{ref:c,handleRef:m}=Ni({id:e.id,index:a,disabled:!i}),g=oxt(e.createdAt);return o("div",{ref:c,className:"group flex items-center gap-3 p-2.5 rounded-lg border border-border bg-card hover:bg-accent/40 transition-colors",children:[o("div",{className:"flex-shrink-0 flex items-center justify-center bg-muted text-muted-foreground rounded-full px-2.5 py-0.5 text-xs font-semibold select-none min-w-[2.25rem]",children:["v",r]}),i?t("div",{ref:m,className:"cursor-grab active:cursor-grabbing text-muted-foreground hover:text-foreground p-1 -m-1 rounded touch-none flex items-center justify-center",children:t(Rs,{className:"h-4 w-4"})}):t("div",{className:"w-4"}),t("div",{className:"h-12 w-20 flex-shrink-0 overflow-hidden rounded-md border border-border bg-muted flex items-center justify-center",children:e.previewUrl?t("img",{src:e.previewUrl,alt:e.name||"",className:"h-full w-full object-cover"}):t(Xt,{className:"h-5 w-5 text-muted-foreground"})}),o("div",{className:"flex flex-col flex-1 min-w-0 text-left",children:[t("span",{className:"truncate text-sm font-medium text-foreground",title:e.name||"",children:e.name||"Untitled"}),o("div",{className:"flex items-center gap-1.5 text-xs text-muted-foreground truncate",children:[e.agent?o("span",{className:"flex items-center gap-1 truncate",children:[t(wt,{className:"h-3 w-3 shrink-0"}),t("span",{className:"truncate",children:jc({user:e.creator?.name||cn(),agent:e.agent.name})})]}):t("span",{children:e.creator?.name||cn()}),g&&o(B,{children:[t("span",{children:"•"}),t("span",{children:g})]})]})]}),i&&o(ge,{modal:!1,open:s,onOpenChange:l,children:[t(Ae,{asChild:!0,children:t(S,{variant:"ghost",size:"icon","aria-label":"More options",className:E("h-8 w-8 text-muted-foreground hover:text-foreground transition-opacity flex-shrink-0",s?"opacity-100":"opacity-0 group-hover:opacity-100 focus:opacity-100"),children:t(wr,{className:"h-4 w-4"})})}),t(ye,{align:"end",children:o(W,{onClick:()=>f(e.id),className:"text-destructive focus:text-destructive cursor-pointer",children:[t(ve,{className:"h-4 w-4 mr-2"}),t("span",{children:ont()})]})})]})]})}function Bd({open:e,onOpenChange:r,stackId:a,canEdit:i=!0,onVersionRemoved:f,onStackDissolved:s}){let l=K(),[c,m]=u([]),{data:g,isLoading:M}=Z({queryKey:["version_stacks",a,"versions"],queryFn:async()=>{let F=await A.api.version_stacks[":stackId"].versions.$get({param:{stackId:a}});if(!F.ok)throw Error("Failed to fetch versions");return await F.json()},enabled:e&&!!a});h(()=>{if(g)m(g)},[g]);let{mutate:x}=U({mutationFn:async({fileId:F,beforeId:I})=>{if(!(await A.api.version_stacks[":stackId"].order.$post({param:{stackId:a},json:{fileId:F,beforeId:I}})).ok)throw Error("Failed to reorder versions")},onSuccess:()=>{l.invalidateQueries({queryKey:["version_stacks"]}),l.invalidateQueries({queryKey:["files"]}),l.invalidateQueries({queryKey:["file"]}),l.invalidateQueries({queryKey:["search"]}),l.invalidateQueries({queryKey:["folders"]}),l.invalidateQueries({queryKey:["projects"]}),R.success(imt())},onError:()=>{if(R.error(NYe()),g)m(g)}}),{mutate:b,isPending:y}=U({mutationFn:async(F)=>{if(!(await A.api.version_stacks[":stackId"].versions[":versionId"].$delete({param:{stackId:a,versionId:F}})).ok)throw Error("Failed to remove version from stack");return F},onSuccess:(F)=>{R.success(omt());let I=c.filter((j)=>j.id!==F);if(m(I),l.invalidateQueries({queryKey:["version_stacks"]}),l.invalidateQueries({queryKey:["files"]}),l.invalidateQueries({queryKey:["file"]}),l.invalidateQueries({queryKey:["search"]}),l.invalidateQueries({queryKey:["folders"]}),l.invalidateQueries({queryKey:["projects"]}),I.length<=1){let j=I[0];if(r(!1),j)s?.(j.id)}else f?.(F,I)},onError:()=>{R.error(AYe())}}),_=(F)=>{if(F.canceled)return;let{source:I}=F.operation;if(!Xn(I))return;let{initialIndex:j,index:G}=I;if(j===G)return;let X=[...c],[J]=X.splice(j,1);X.splice(G,0,J),m(X);let ee=G===X.length-1?"-1":X[G+1].id;x({fileId:J.id,beforeId:ee})},k=(F)=>{if(y)return;b(F)};return t(pe,{open:e,onOpenChange:r,children:o(ue,{className:"max-w-lg p-0 gap-0 overflow-hidden",children:[t(me,{className:"p-4 pb-3 border-b border-border",children:t(de,{className:"text-base font-semibold",children:NVe()})}),t(ie,{className:"max-h-[60vh] p-4",children:M?t("div",{className:"py-8 text-center text-sm text-muted-foreground",children:pd?.()||"Loading..."}):c.length===0?t("div",{className:"py-8 text-center text-sm text-muted-foreground",children:_Qe()}):t("div",{className:"space-y-2",children:t(jn,{sensors:[un.configure({activationConstraints:[new kr.Distance({value:6})]}),Wo],onDragEnd:_,children:c.map((F,I)=>t(axt,{version:F,displayVersionNumber:c.length-I,index:I,canEdit:i,onRemove:k},F.id))})})})]})})}C();function gt({...e}){return t(pIe,{"data-slot":"popover",...e})}function At({...e}){return t(mIe,{"data-slot":"popover-trigger",...e})}function yt({className:e,align:r="center",sideOffset:a=4,...i}){return t(hIe,{children:t(gIe,{"data-slot":"popover-content",align:r,sideOffset:a,className:E("z-50 w-72 origin-(--radix-popover-content-transform-origin) rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-hidden data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",e),...i})})}function N5(e){let r=Object.values(e).filter((i)=>typeof i==="number");return Object.entries(e).filter(([i,f])=>r.indexOf(+i)===-1).map(([i,f])=>f)}function R9(e,r="|"){return e.map((a)=>A9(a)).join(r)}function _2(e,r){if(typeof r==="bigint")return r.toString();return r}function w2(e){return{get value(){{let a=e();return Object.defineProperty(this,"value",{value:a}),a}throw Error("cached value already set")}}}function Hue(e){return e===null||e===void 0}function F5(e){let r=e.startsWith("^")?1:0,a=e.endsWith("$")?e.length-1:e.length;return e.slice(r,a)}function Wue(e,r){let a=e/r,i=Math.round(a),f=4*Number.EPSILON*Math.max(Math.abs(a),1);if(Math.abs(a-i)<f)return 0;return a-i}var Vue=Symbol("evaluating");function Gue(e,r,a){let i=void 0;Object.defineProperty(e,r,{get(){if(i===Vue)return;if(i===void 0)i=Vue,i=a();return i},set(f){Object.defineProperty(e,r,{value:f})},configurable:!0})}function Bi(e,r,a){Object.defineProperty(e,r,{value:a,writable:!0,enumerable:!0,configurable:!0})}function D8(...e){let r={};for(let a of e){let i=Object.getOwnPropertyDescriptors(a);Object.assign(r,i)}return Object.defineProperties({},r)}function Kue(e){return JSON.stringify(e)}function Xue(e){return e.toLowerCase().trim().replace(/[^\w\s-]/g,"").replace(/[\s_-]+/g,"-").replace(/^-+|-+$/g,"")}var P9="captureStackTrace"in Error?Error.captureStackTrace:(...e)=>{};function K1(e){return typeof e==="object"&&e!==null&&!Array.isArray(e)}var Que=w2(()=>{if(tl.jitless)return!1;if(typeof navigator<"u"&&navigator?.userAgent?.includes("Cloudflare"))return!1;try{return new Function(""),!0}catch(e){return!1}});function zL(e){if(K1(e)===!1)return!1;let r=e.constructor;if(r===void 0)return!0;if(typeof r!=="function")return!0;let a=r.prototype;if(K1(a)===!1)return!1;if(Object.prototype.hasOwnProperty.call(a,"isPrototypeOf")===!1)return!1;return!0}function T9(e){if(zL(e))return{...e};if(Array.isArray(e))return[...e];if(e instanceof Map)return new Map(e);if(e instanceof Set)return new Set(e);return e}var Jue=new Set(["string","number","symbol"]);function E8(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function yZ(e,r,a){let i=new e._zod.constr(r??e._zod.def);if(!r||a?.parent)i._zod.parent=e;return i}function zr(e){let r=e;if(!r)return{};if(typeof r==="string")return{error:()=>r};if(r?.message!==void 0){if(r?.error!==void 0)throw Error("Cannot specify both `message` and `error` params");r.error=r.message}if(delete r.message,typeof r.error==="string")return{...r,error:()=>r.error};return r}function A9(e){if(typeof e==="bigint")return e.toString()+"n";if(typeof e==="string")return`"${e}"`;return`${e}`}function $ue(e){return Object.keys(e).filter((r)=>e[r]._zod.optin!==void 0&&e[r]._zod.optout==="optional")}var ede=(()=>({safeint:[Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER],int32:[-2147483648,2147483647],uint32:[0,4294967295],float32:[-340282346638528860000000000000000000000,340282346638528860000000000000000000000],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]}))();function nxt(e,r){let a=e._zod.def,i=a.checks;if(i&&i.length>0)throw Error(".pick() cannot be used on object schemas containing refinements");let s=D8(e._zod.def,{get shape(){let l={};for(let c of Reflect.ownKeys(r)){if(!Object.prototype.hasOwnProperty.call(a.shape,c))throw Error(`Unrecognized key: "${String(c)}"`);if(!r[c])continue;Bi(l,c,a.shape[c])}return Bi(this,"shape",l),l},checks:[]});return yZ(e,s)}function ixt(e,r){let a=e._zod.def,i=a.checks;if(i&&i.length>0)throw Error(".omit() cannot be used on object schemas containing refinements");let s=D8(e._zod.def,{get shape(){let l={...e._zod.def.shape};for(let c of Reflect.ownKeys(r)){if(!Object.prototype.hasOwnProperty.call(a.shape,c))throw Error(`Unrecognized key: "${String(c)}"`);if(!r[c])continue;delete l[c]}return Bi(this,"shape",l),l},checks:[]});return yZ(e,s)}function fxt(e,r){if(!zL(r))throw Error("Invalid input to extend: expected a plain object");let a=e._zod.def.checks;if(a&&a.length>0){let s=e._zod.def.shape;for(let l of Reflect.ownKeys(r))if(Object.getOwnPropertyDescriptor(s,l)!==void 0)throw Error("Cannot overwrite keys on object schemas containing refinements. Use `.safeExtend()` instead.")}let f=D8(e._zod.def,{get shape(){let s={...e._zod.def.shape,...r};return Bi(this,"shape",s),s}});return yZ(e,f)}function sxt(e,r){if(!zL(r))throw Error("Invalid input to safeExtend: expected a plain object");let a=D8(e._zod.def,{get shape(){let i={...e._zod.def.shape,...r};return Bi(this,"shape",i),i}});return yZ(e,a)}function lxt(e,r){if(!r?._zod?.def)throw Error("Invalid input to merge: expected an object schema. To merge a plain shape, use `.extend()`.");if(e._zod.def.checks?.length)throw Error(".merge() cannot be used on object schemas containing refinements. Use .safeExtend() instead.");let a=D8(e._zod.def,{get shape(){let i={...e._zod.def.shape,...r._zod.def.shape};return Bi(this,"shape",i),i},get catchall(){return r._zod.def.catchall},checks:r._zod.def.checks??[]});return yZ(e,a)}function tde(e,r,a,i="partial"){let s=r._zod.def.checks;if(s&&s.length>0)throw Error(`.${i}() cannot be used on object schemas containing refinements`);let c=D8(r._zod.def,{get shape(){let m=r._zod.def.shape,g={...m};if(a)for(let M of Reflect.ownKeys(a)){if(!Object.prototype.hasOwnProperty.call(m,M))throw Error(`Unrecognized key: "${String(M)}"`);if(!a[M])continue;g[M]=e?new e({type:"optional",innerType:m[M]}):m[M]}else for(let M of Reflect.ownKeys(m))g[M]=e?new e({type:"optional",innerType:m[M]}):m[M];return Bi(this,"shape",g),g},checks:[]});return yZ(r,c)}function cxt(e,r,a){let i=D8(r._zod.def,{get shape(){let f=r._zod.def.shape,s={...f};if(a)for(let l of Reflect.ownKeys(a)){if(!Object.prototype.hasOwnProperty.call(s,l))throw Error(`Unrecognized key: "${String(l)}"`);if(!a[l])continue;s[l]=new e({type:"nonoptional",innerType:f[l]})}else for(let l of Reflect.ownKeys(f))s[l]=new e({type:"nonoptional",innerType:f[l]});return Bi(this,"shape",s),s}});return yZ(r,i)}function SL(e,r=0){if(e.aborted===!0)return!0;for(let a=r;a<e.issues.length;a++)if(e.issues[a]?.continue!==!0)return!0;return!1}function rde(e,r=0){if(e.aborted===!0)return!0;for(let a=r;a<e.issues.length;a++)if(e.issues[a]?.continue===!1)return!0;return!1}function O8(e,r){return r.map((a)=>{var i;return(i=a).path??(i.path=[]),a.path.unshift(e),a})}function b2(e){return typeof e==="string"?e:e?.message}function D9(e,r,a){var i;for(let f=r;f<e.length;f++)(i=e[f]).schema??(i.schema=a)}function bZ(e,r,a){var i;let f=e.inst?._zod?.traits;if(f?.has("$ZodType"))if(f.has("$ZodCheck"))(i=e).schema??(i.schema=e.inst);else e.schema=e.inst;let s=e.schema!==e.inst?e.schema?._zod.def?.error:void 0,l=e.message?e.message:b2(e.inst?._zod.def?.error?.(e))??b2(s?.(e))??b2(r?.error?.(e))??b2(a.customError?.(e))??b2(a.localeError?.(e))??"Invalid input",{inst:c,schema:m,continue:g,input:M,...x}=e;if(x.path??(x.path=[]),x.message=l,r?.reportInput)x.input=M;return x}var uxt=/[\uD800-\uDBFF]/;function B5(e){let r=e.length;if(!uxt.test(e))return r;let a=r;for(let i=0;i<r-1;i++)if((e.charCodeAt(i)&64512)===55296&&(e.charCodeAt(i+1)&64512)===56320)a--,i++;return a}function Y5(e){if(Array.isArray(e))return"array";if(typeof e==="string")return"string";return"unknown"}function ode(e){let r=typeof e;switch(r){case"number":return Number.isNaN(e)?"nan":"number";case"object":{if(e===null)return"null";if(Array.isArray(e))return"array";let a=e;if(a&&Object.getPrototypeOf(a)!==Object.prototype&&"constructor"in a&&a.constructor)return a.constructor.name}}return r}function LL(...e){let[r,a,i]=e;if(typeof r==="string")return{message:r,code:"custom",input:a,inst:i};return{...r}}function ade(e,r){for(let a in r){let i=Object.getOwnPropertyDescriptor(r,a);if(i.get)Object.defineProperty(e,a,{...i,enumerable:!1});else dxt(e,a,i.value)}}function wL(e,r,a,i=!0){return Object.defineProperty(e,r,{configurable:!0,writable:!0,enumerable:i,value:a}),a}function E9(e,r,a){return wL(e,r,a,!1)}function dxt(e,r,a){Object.defineProperty(e,r,{configurable:!0,get(){return this==null?a:wL(this,r,a.bind(this))},set(i){wL(this,r,i)}})}function Zxt(e,r){let a=Object.getPrototypeOf(e);return r in a?void 0:a}var C9,A8=!1,pxt={configurable:!0,get(){A8=!0;return}};function Ro(e,r,a){let i=Object.getPrototypeOf(e._zod);if(r in i&&C9!==e._zod){C9=void 0;return}C9=e._zod,Object.defineProperty(i,r,{configurable:!0,get(){Object.defineProperty(this,r,pxt);let f=A8;A8=!1;try{let s=a(this);if(A8)delete this[r];else Object.defineProperty(this,r,{configurable:!0,writable:!0,value:s});return A8=A8||f,s}catch(s){throw delete this[r],A8=A8||f,s}},set(f){Object.defineProperty(this,r,{configurable:!0,writable:!0,value:f})}})}function mxt(e,r,a,i){let f=Zxt(e,r);if(!f)return;Object.defineProperty(f,r,{configurable:!0,get(){let s={configurable:!0,writable:!0,enumerable:i,value:void 0};return Object.defineProperty(this,r,s),s.value=a(this),Object.defineProperty(this,r,s),s.value},set(s){Object.defineProperty(this,r,{configurable:!0,writable:!0,enumerable:i,value:s})}})}var hxt="~constantCatch";function nde(e){let r=()=>e;return r[hxt]=!0,r}var ide;var O9={value:void 0,enumerable:!1},fde="captureStackTrace"in Error?Error:null;function gxt(e){let r=fde;if(r){let a=r.stackTraceLimit;if(typeof a==="number"){try{r.stackTraceLimit=0}catch{return fde=null,new e}try{return new e}finally{r.stackTraceLimit=a}}}return new e}function zt(e,r,a,i){let f={};function s(b){this.def=b,this.constr=x,this.traits=new Set}s.prototype=f;let l=a,c=l&&new WeakSet;function m(b,y){if(!b._zod){O9.value=new s(y);try{Object.defineProperty(b,"_zod",O9)}finally{O9.value=void 0}}if(b._zod.traits.has(e))return;if(b._zod.traits.add(e),r(b,y),c){let k=Object.getPrototypeOf(b),F=b._zod.constr.prototype,I=k;while(I&&I!==F)I=Object.getPrototypeOf(I);let j=I??k;if(!c.has(j))c.add(j),ade(j,l)}let _=x.prototype;for(let k in _){if(!Object.prototype.hasOwnProperty.call(_,k))continue;if(!(k in b))b[k]=_[k].bind(b)}}let g=i?.Parent??Object;class M extends g{}Object.defineProperty(M,"name",{value:e});function x(b){let y=i?.Parent?gxt(M):this;m(y,b);let _=y._zod.deferred;if(_){for(let F of _)F();y._zod.deferred=void 0}let k=globalThis.__zod_globalConfig?.postProcessor;if(k)k(y);return y}return Object.defineProperty(x,"init",{value:m}),Object.defineProperty(x,Symbol.hasInstance,{value:(b)=>{if(i?.Parent&&b instanceof i.Parent)return!0;return b?._zod?.traits?.has(e)}}),Object.defineProperty(x,"name",{value:e}),x}class lM extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}}class z2 extends Error{constructor(e){super(`Encountered unidirectional transform during encode: ${e}`);this.name="ZodEncodeError"}}(ide=globalThis).__zod_globalConfig??(ide.__zod_globalConfig={});var tl=globalThis.__zod_globalConfig;function Ql(e){if(e)Object.assign(tl,e);return tl}function Mxt(){let e=this._zod;return e.message??(e.message=JSON.stringify(e.def,_2,2)),e.message}function vxt(e){this._zod.message=e}var xxt={get:Mxt,set:vxt,enumerable:!0,configurable:!0},N9={value:void 0,enumerable:!1},F9={value:void 0,enumerable:!1},sde=new WeakSet([Object.prototype,Error.prototype]),lde=(e,r)=>{e.name="$ZodError",N9.value=e._zod,Object.defineProperty(e,"_zod",N9),F9.value=r,Object.defineProperty(e,"issues",F9),N9.value=void 0,F9.value=void 0,Object.defineProperty(e,"message",xxt);let a=Object.getPrototypeOf(e);if(!sde.has(a))sde.add(a),Object.defineProperty(a,"toString",{configurable:!0,enumerable:!1,get(){let i=()=>this.message;return Object.defineProperty(this,"toString",{value:i,configurable:!0,writable:!0}),i},set(i){Object.defineProperty(this,"toString",{value:i,configurable:!0,writable:!0})}})},U5=zt("$ZodError",lde),B9=zt("$ZodError",lde,void 0,{Parent:Error});function yxt(e,r,a){if(!Object.prototype.hasOwnProperty.call(e,r))if(r==="__proto__")Object.defineProperty(e,r,{value:a(),writable:!0,enumerable:!0,configurable:!0});else e[r]=a();return e[r]}function cde(e,r=(a)=>a.message){let a={},i=[];for(let f of e.issues)if(f.path.length>0)yxt(a,f.path[0],()=>[]).push(r(f));else i.push(r(f));return{formErrors:i,fieldErrors:a}}function ude(e,r=(a)=>a.message){let a={_errors:[]},i=(f,s=[])=>{for(let l of f.issues)if(l.code==="invalid_union"&&l.errors.length)l.errors.map((c)=>i({issues:c},[...s,...l.path]));else if(l.code==="invalid_key")i({issues:l.issues},[...s,...l.path]);else if(l.code==="invalid_element")i({issues:l.issues},[...s,...l.path]);else{let c=[...s,...l.path];if(c.length===0)a._errors.push(r(l));else{let m=a,g=0;while(g<c.length){let M=c[g],x=g===c.length-1;if(M==="_errors"){if(x)m._errors.push(r(l));g++;continue}if(!Object.prototype.hasOwnProperty.call(m,M))Object.defineProperty(m,M,{value:{_errors:[]},enumerable:!0,writable:!0,configurable:!0});let b=m[M];if(x)b._errors.push(r(l));m=b,g++}}}};return i(e),a}function q5(e,r){return{callee:r?.callee??e,Err:r?.Err}}var V5=(e)=>{let r=(a,i,f,s)=>{let l=f?{...f,async:!1}:{async:!1},c=a._zod.run({value:i,issues:[]},l);if(c instanceof Promise)throw new lM;if(c.issues.length){let m=new(s?.Err??e)(c.issues.map((g)=>bZ(g,l,Ql())));throw P9(m,s?.callee??r),m}return c.value};return r};var H5=(e)=>{let r=async(a,i,f,s)=>{let l=f?{...f,async:!0}:{async:!0},c=a._zod.run({value:i,issues:[]},l);if(c instanceof Promise)c=await c;if(c.issues.length){let m=new(s?.Err??e)(c.issues.map((g)=>bZ(g,l,Ql())));throw P9(m,s?.callee??r),m}return c.value};return r};var S2=(e)=>(r,a,i)=>{let f=i?{...i,async:!1}:{async:!1},s=r._zod.run({value:a,issues:[]},f);if(s instanceof Promise)throw new lM;return s.issues.length?{success:!1,error:new(e??U5)(s.issues.map((l)=>bZ(l,f,Ql())))}:{success:!0,data:s.value}},dde=S2(B9),L2=(e)=>async(r,a,i)=>{let f=i?{...i,async:!0}:{async:!0},s=r._zod.run({value:a,issues:[]},f);if(s instanceof Promise)s=await s;return s.issues.length?{success:!1,error:new e(s.issues.map((l)=>bZ(l,f,Ql())))}:{success:!0,data:s.value}},Zde=L2(B9);var pde=(e)=>{let r=V5(e),a=(i,f,s,l)=>{let c=s?{...s,direction:"backward"}:{direction:"backward"};return r(i,f,c,q5(a,l))};return a};var mde=(e)=>{let r=V5(e),a=(i,f,s,l)=>r(i,f,s,q5(a,l));return a};var hde=(e)=>{let r=H5(e),a=async(i,f,s,l)=>{let c=s?{...s,direction:"backward"}:{direction:"backward"};return await r(i,f,c,q5(a,l))};return a};var gde=(e)=>{let r=H5(e),a=async(i,f,s,l)=>await r(i,f,s,q5(a,l));return a};var Mde=(e)=>(r,a,i)=>{let f=i?{...i,direction:"backward"}:{direction:"backward"};return S2(e)(r,a,f)};var vde=(e)=>(r,a,i)=>S2(e)(r,a,i);var xde=(e)=>async(r,a,i)=>{let f=i?{...i,direction:"backward"}:{direction:"backward"};return L2(e)(r,a,f)};var yde=(e)=>async(r,a,i)=>L2(e)(r,a,i);var bde=/^[cC][0-9a-z]{6,}$/,_de=/^[0-9a-z]+$/,wde=/^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/,zde=/^[0-9a-vA-V]{20}$/,Sde=/^[A-Za-z0-9]{27}$/,Lde=/^[a-zA-Z0-9_-]{21}$/;function kde(e){return new RegExp(`^[a-zA-Z0-9_-]{${e}}$`)}var Ide=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/;var Cde=/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/,U9=(e)=>{if(!e)return/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/;return new RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${e}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`)};var Rde=/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/;var _xt="^[\\p{Extended_Pictographic}\\p{Emoji_Component}]+$";function Pde(){return new RegExp(_xt,"u")}var Tde=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,Ade=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$/;var Dde=/^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/([0-9]|[1-2][0-9]|3[0-2])$/,Ede=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,Ode=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,q9=/^[A-Za-z0-9_-]*$/;var jde=/^https?$/,Nde=/^\+[1-9]\d{6,14}$/;var Fde="(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))";function wxt(e){return new RegExp(`^${e}$`)}var Bde=wxt(Fde);function Y9(e){return typeof e.precision==="number"?e.precision===-1?"(?:[01]\\d|2[0-3]):[0-5]\\d":e.precision===0?"(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d":`(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d\\.\\d{${e.precision}}`:e.seconds?"(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?":"(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?"}function Yde(e){return new RegExp(`^${Y9(e)}$`)}function Ude(e){let r=["Z"];if(e.offset)r.push("([+-](?:[01]\\d|2[0-3]):[0-5]\\d)");let a=`${Y9({precision:e.precision,seconds:!0})}(?:${r.join("|")})`,i=e.local?`${a}|${Y9({precision:e.precision})}`:a;return new RegExp(`^${Fde}T(?:${i})$`)}var qde=(e)=>{let r=e?`[\\s\\S]{${e?.minimum??0},${e?.maximum??""}}`:"[\\s\\S]*";return new RegExp(`^${r}$`)},Vde=/^-?\d+n?$/,W5=/^-?\d+$/,k2=/^-?\d+(?:\.\d+)?$/,Hde=/^(?:true|false)$/i;var Wde=/^[^A-Z]*$/,Gde=/^[^a-z]*$/;var ef=zt("$ZodCheck",(e,r)=>{var a;e._zod??(e._zod={}),e._zod.def=r,(a=e._zod).onattach??(a.onattach=[])});var V9=(e)=>{let r=e.value;return!Hue(r)&&r.length!==void 0},G5={number:"number",bigint:"bigint",object:"date"},H9=zt("$ZodCheckLessThan",(e,r)=>{ef.init(e,r);let a=G5[typeof r.value];e._zod.onattach.push((i)=>{let f=i._zod.bag,s=(r.inclusive?f.maximum:f.exclusiveMaximum)??Number.POSITIVE_INFINITY;if(r.value<s)if(r.inclusive)f.maximum=r.value;else f.exclusiveMaximum=r.value}),e._zod.check=(i)=>{if(r.inclusive?i.value<=r.value:i.value<r.value)return;i.issues.push({origin:G5[typeof i.value]??a,code:"too_big",maximum:typeof r.value==="object"?r.value.getTime():r.value,input:i.value,inclusive:r.inclusive,inst:e,continue:!r.abort})}}),W9=zt("$ZodCheckGreaterThan",(e,r)=>{ef.init(e,r);let a=G5[typeof r.value];e._zod.onattach.push((i)=>{let f=i._zod.bag,s=(r.inclusive?f.minimum:f.exclusiveMinimum)??Number.NEGATIVE_INFINITY;if(r.value>s)if(r.inclusive)f.minimum=r.value;else f.exclusiveMinimum=r.value}),e._zod.check=(i)=>{if(r.inclusive?i.value>=r.value:i.value>r.value)return;i.issues.push({origin:G5[typeof i.value]??a,code:"too_small",minimum:typeof r.value==="object"?r.value.getTime():r.value,input:i.value,inclusive:r.inclusive,inst:e,continue:!r.abort})}}),Kde=zt("$ZodCheckMultipleOf",(e,r)=>{ef.init(e,r),e._zod.onattach.push((a)=>{var i;(i=a._zod.bag).multipleOf??(i.multipleOf=r.value)}),e._zod.check=(a)=>{if(typeof a.value!==typeof r.value)throw Error("Cannot mix number and bigint in multiple_of check.");if(typeof a.value==="bigint"?r.value!==BigInt(0)&&a.value%r.value===BigInt(0):Wue(a.value,r.value)===0)return;a.issues.push({origin:typeof a.value,code:"not_multiple_of",divisor:r.value,input:a.value,inst:e,continue:!r.abort})}}),Xde=zt("$ZodCheckNumberFormat",(e,r)=>{ef.init(e,r),r.format=r.format||"float64";let a=r.format?.includes("int"),i=a?"int":"number",[f,s]=ede[r.format];e._zod.onattach.push((l)=>{let c=l._zod.bag;if(c.format=r.format,c.minimum=f,c.maximum=s,a)c.pattern=W5}),e._zod.check=(l)=>{let c=l.value;if(a){if(!Number.isInteger(c)){l.issues.push({expected:i,format:r.format,code:"invalid_type",continue:!1,input:c,inst:e});return}if(!Number.isSafeInteger(c)){if(c>0)l.issues.push({input:c,code:"too_big",maximum:Number.MAX_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:i,inclusive:!0,continue:!r.abort});else l.issues.push({input:c,code:"too_small",minimum:Number.MIN_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:i,inclusive:!0,continue:!r.abort});return}}if(c<f)l.issues.push({origin:"number",input:c,code:"too_small",minimum:f,inclusive:!0,inst:e,continue:!r.abort});if(c>s)l.issues.push({origin:"number",input:c,code:"too_big",maximum:s,inclusive:!0,inst:e,continue:!r.abort})}});var Qde=zt("$ZodCheckMaxLength",(e,r)=>{var a;ef.init(e,r),(a=e._zod.def).when??(a.when=V9),e._zod.onattach.push((i)=>{let f=i._zod.bag.maximum??Number.POSITIVE_INFINITY;if(r.maximum<f)i._zod.bag.maximum=r.maximum}),e._zod.check=(i)=>{let f=i.value,s=f.length;if((typeof f==="string"&&s>r.maximum?B5(f):s)<=r.maximum)return;let c=Y5(f);i.issues.push({origin:c,code:"too_big",maximum:r.maximum,inclusive:!0,input:f,inst:e,continue:!r.abort})}}),Jde=zt("$ZodCheckMinLength",(e,r)=>{var a;ef.init(e,r),(a=e._zod.def).when??(a.when=V9),e._zod.onattach.push((i)=>{let f=i._zod.bag.minimum??Number.NEGATIVE_INFINITY;if(r.minimum>f)i._zod.bag.minimum=r.minimum}),e._zod.check=(i)=>{let f=i.value,s=f.length;if((typeof f==="string"&&s>=r.minimum&&s<r.minimum*2?B5(f):s)>=r.minimum)return;let c=Y5(f);i.issues.push({origin:c,code:"too_small",minimum:r.minimum,inclusive:!0,input:f,inst:e,continue:!r.abort})}}),$de=zt("$ZodCheckLengthEquals",(e,r)=>{var a;ef.init(e,r),(a=e._zod.def).when??(a.when=V9),e._zod.onattach.push((i)=>{let f=i._zod.bag;f.minimum=r.length,f.maximum=r.length,f.length=r.length}),e._zod.check=(i)=>{let f=i.value,s=f.length,l=typeof f==="string"&&s>=r.length&&s<=r.length*2?B5(f):s;if(l===r.length)return;let c=Y5(f),m=l>r.length;i.issues.push({origin:c,...m?{code:"too_big",maximum:r.length}:{code:"too_small",minimum:r.length},inclusive:!0,exact:!0,input:i.value,inst:e,continue:!r.abort})}}),C2=zt("$ZodCheckStringFormat",(e,r)=>{var a,i;if(ef.init(e,r),e._zod.onattach.push((f)=>{let s=f._zod.bag;if(s.format=r.format,r.pattern)s.patterns??(s.patterns=new Set),s.patterns.add(r.pattern)}),r.pattern)(a=e._zod).check??(a.check=(f)=>{if(r.pattern.lastIndex=0,r.pattern.test(f.value))return;f.issues.push({origin:"string",code:"invalid_format",format:r.format,input:f.value,...r.pattern?{pattern:r.pattern.toString()}:{},inst:e,continue:!r.abort})});else(i=e._zod).check??(i.check=()=>{})}),eZe=zt("$ZodCheckRegex",(e,r)=>{C2.init(e,r),e._zod.check=(a)=>{if(r.pattern.lastIndex=0,r.pattern.test(a.value))return;a.issues.push({origin:"string",code:"invalid_format",format:"regex",input:a.value,pattern:r.pattern.toString(),inst:e,continue:!r.abort})}}),tZe=zt("$ZodCheckLowerCase",(e,r)=>{r.pattern??(r.pattern=Wde),C2.init(e,r)}),rZe=zt("$ZodCheckUpperCase",(e,r)=>{r.pattern??(r.pattern=Gde),C2.init(e,r)}),oZe=zt("$ZodCheckIncludes",(e,r)=>{ef.init(e,r);let a=E8(r.includes),i=new RegExp(typeof r.position==="number"?`^.{${r.position},}${a}`:a);r.pattern=i,e._zod.onattach.push((f)=>{let s=f._zod.bag;s.patterns??(s.patterns=new Set),s.patterns.add(i)}),e._zod.check=(f)=>{if(f.value.includes(r.includes,r.position))return;f.issues.push({origin:"string",code:"invalid_format",format:"includes",includes:r.includes,input:f.value,inst:e,continue:!r.abort})}}),aZe=zt("$ZodCheckStartsWith",(e,r)=>{ef.init(e,r);let a=new RegExp(`^${E8(r.prefix)}.*`);r.pattern??(r.pattern=a),e._zod.onattach.push((i)=>{let f=i._zod.bag;f.patterns??(f.patterns=new Set),f.patterns.add(a)}),e._zod.check=(i)=>{if(i.value.startsWith(r.prefix))return;i.issues.push({origin:"string",code:"invalid_format",format:"starts_with",prefix:r.prefix,input:i.value,inst:e,continue:!r.abort})}}),nZe=zt("$ZodCheckEndsWith",(e,r)=>{ef.init(e,r);let a=new RegExp(`.*${E8(r.suffix)}$`);r.pattern??(r.pattern=a),e._zod.onattach.push((i)=>{let f=i._zod.bag;f.patterns??(f.patterns=new Set),f.patterns.add(a)}),e._zod.check=(i)=>{if(i.value.endsWith(r.suffix))return;i.issues.push({origin:"string",code:"invalid_format",format:"ends_with",suffix:r.suffix,input:i.value,inst:e,continue:!r.abort})}});var iZe=zt("$ZodCheckOverwrite",(e,r)=>{ef.init(e,r),e._zod.check=(a)=>{a.value=r.tx(a.value)}});class G9{constructor(e=[],r={}){this.content=[],this.indent=0,this.args=e,this.closed=r}indented(e){this.indent+=1,e(this),this.indent-=1}write(e){if(typeof e==="function"){e(this,{execution:"sync"}),e(this,{execution:"async"});return}let a=e.split(`
|
|
145
|
+
`).filter((s)=>s),i=Math.min(...a.map((s)=>s.length-s.trimStart().length)),f=a.map((s)=>s.slice(i)).map((s)=>" ".repeat(this.indent*2)+s);for(let s of f)this.content.push(s)}compile(){let e=Function,r=this?.content??[""];return new e(...Object.keys(this.closed),`return function (${this.args.join(", ")}) {
|
|
146
|
+
${r.join(`
|
|
147
|
+
`)}
|
|
148
|
+
};`)(...Object.values(this.closed))}}var sZe={major:4,minor:5,patch:4};var ba=zt("$ZodType",(e,r)=>{var a;e??(e={}),e._zod.def=r,e._zod.bag=e._zod.bag||{},e._zod.version=sZe;let i=e._zod.def.checks,f=e._zod.traits.has("$ZodCheck")?[e,...i??[]]:i?.length?[...i]:[];for(let s of f)for(let l of s._zod.onattach)l(e);if(f.length===0)(a=e._zod).deferred??(a.deferred=[]),e._zod.deferred?.push(()=>{e._zod.run=e._zod.parse});else{let s=(c,m,g)=>{if(c.memo)return c;let M=SL(c),x;for(let b of m){if(b._zod.def.when){if(rde(c))continue;if(!b._zod.def.when(c))continue}else if(M)continue;let y=c.issues.length,_=b._zod.check(c);if(_ instanceof Promise&&g?.async===!1)throw new lM;if(x||_ instanceof Promise)x=(x??Promise.resolve()).then(async()=>{if(await _,c.issues.length===y)return;if(D9(c.issues,y,e),!M)M=SL(c,y)});else{if(c.issues.length===y)continue;if(D9(c.issues,y,e),!M)M=SL(c,y)}}if(x)return x.then(()=>c);return c},l=(c,m,g)=>{if(SL(c))return c.aborted=!0,c;let M=s(m,f,g);if(M instanceof Promise){if(g.async===!1)throw new lM;return M.then((x)=>e._zod.parse(x,g))}return e._zod.parse(M,g)};e._zod.run=(c,m)=>{if(m.skipChecks)return e._zod.parse(c,m);if(m.direction==="backward"){let M=e._zod.parse({value:c.value,issues:[]},{...m,skipChecks:!0});if(M instanceof Promise)return M.then((x)=>l(x,c,m));return l(M,c,m)}let g=e._zod.parse(c,m);if(g instanceof Promise){if(m.async===!1)throw new lM;return g.then((M)=>s(M,f,m))}return s(g,f,m)}}},{get "~standard"(){return E9(this,"~standard",Q9(this))},set "~standard"(e){wL(this,"~standard",e)}}),lZe=(e)=>e.success?{value:e.data}:{issues:e.error?.issues};function Q9(e){return{validate:(r)=>{try{return lZe(dde(e,r))}catch(a){return Zde(e,r).then(lZe)}},vendor:"zod",version:1}}var Q5=zt("$ZodString",(e,r)=>{ba.init(e,r),e._zod.pattern=[...e?._zod.bag?.patterns??[]].pop()??qde(e._zod.bag),e._zod.parse=(a,i)=>{if(r.coerce)try{a.value=String(a.value)}catch(f){}if(typeof a.value==="string")return a;return a.issues.push({expected:"string",code:"invalid_type",input:a.value,inst:e}),a}}),on=zt("$ZodStringFormat",(e,r)=>{C2.init(e,r),Q5.init(e,r)}),vZe=zt("$ZodGUID",(e,r)=>{r.pattern??(r.pattern=Cde),on.init(e,r)}),xZe=zt("$ZodUUID",(e,r)=>{if(r.version){let i={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[r.version];if(i===void 0)throw Error(`Invalid UUID version: "${r.version}"`);r.pattern??(r.pattern=U9(i))}else r.pattern??(r.pattern=U9());on.init(e,r)}),yZe=zt("$ZodEmail",(e,r)=>{r.pattern??(r.pattern=Rde),on.init(e,r)}),bZe=1,_Ze=2;function zxt(e,r){if(!r.normalize&&r.protocol?.source===jde.source&&!/^https?:\/\//i.test(e))return bZe;try{return new URL(e)}catch{return _Ze}}var Sxt=/[\t\n\r]/g;function Lxt(e){return e.replace(Sxt,"")}function kxt(e,r){return r.lastIndex=0,r.test(e.hostname)}function Ixt(e,r){return r.lastIndex=0,r.test(e.protocol.endsWith(":")?e.protocol.slice(0,-1):e.protocol)}var wZe=zt("$ZodURL",(e,r)=>{on.init(e,r),e._zod.check=(a)=>{try{let i=a.value.trim(),f=zxt(i,r);if(f===bZe){a.issues.push({code:"invalid_format",format:"url",note:"Invalid URL format",input:a.value,inst:e,continue:!r.abort});return}if(f===_Ze){a.issues.push({code:"invalid_format",format:"url",input:a.value,inst:e,continue:!r.abort});return}if(r.hostname&&!kxt(f,r.hostname))a.issues.push({code:"invalid_format",format:"url",note:"Invalid hostname",pattern:r.hostname.source,input:a.value,inst:e,continue:!r.abort});if(r.protocol&&!Ixt(f,r.protocol))a.issues.push({code:"invalid_format",format:"url",note:"Invalid protocol",pattern:r.protocol.source,input:a.value,inst:e,continue:!r.abort});a.value=r.normalize?f.href:Lxt(i);return}catch(i){a.issues.push({code:"invalid_format",format:"url",input:a.value,inst:e,continue:!r.abort})}}}),zZe=zt("$ZodEmoji",(e,r)=>{r.pattern??(r.pattern=Pde()),on.init(e,r)}),SZe=zt("$ZodNanoID",(e,r)=>{if(r.length!==void 0&&(!Number.isInteger(r.length)||r.length<1))throw Error(`Invalid nanoid length: ${r.length}`);r.pattern??(r.pattern=r.length===void 0?Lde:kde(r.length)),on.init(e,r)}),LZe=zt("$ZodCUID",(e,r)=>{r.pattern??(r.pattern=bde),on.init(e,r)}),kZe=zt("$ZodCUID2",(e,r)=>{r.pattern??(r.pattern=_de),on.init(e,r)}),IZe=zt("$ZodULID",(e,r)=>{r.pattern??(r.pattern=wde),on.init(e,r)}),CZe=zt("$ZodXID",(e,r)=>{r.pattern??(r.pattern=zde),on.init(e,r)}),RZe=zt("$ZodKSUID",(e,r)=>{r.pattern??(r.pattern=Sde),on.init(e,r)}),PZe=zt("$ZodISODateTime",(e,r)=>{if(r.pattern??(r.pattern=Ude(r)),on.init(e,r),r.local||r.precision===-1)e._zod.bag.laxFormat=!0,e._zod.onattach.push((a)=>{a._zod.bag.laxFormat=!0})}),TZe=zt("$ZodISODate",(e,r)=>{r.pattern??(r.pattern=Bde),on.init(e,r)}),AZe=zt("$ZodISOTime",(e,r)=>{r.pattern??(r.pattern=Yde(r)),on.init(e,r)}),DZe=zt("$ZodISODuration",(e,r)=>{r.pattern??(r.pattern=Ide),on.init(e,r)}),EZe=zt("$ZodIPv4",(e,r)=>{r.pattern??(r.pattern=Tde),on.init(e,r),e._zod.bag.format="ipv4"}),Cxt=/^[0-9a-fA-F:.]+$/;function OZe(e){if(!Cxt.test(e))return!1;try{return new URL(`http://[${e}]`),!0}catch{return!1}}var jZe=zt("$ZodIPv6",(e,r)=>{r.pattern??(r.pattern=Ade),on.init(e,r),e._zod.bag.format="ipv6",e._zod.check=(a)=>{if(!OZe(a.value))a.issues.push({code:"invalid_format",format:"ipv6",input:a.value,inst:e,continue:!r.abort})}});var NZe=zt("$ZodCIDRv4",(e,r)=>{r.pattern??(r.pattern=Dde),on.init(e,r)});function Rxt(e){let r=e.split("/");if(r.length!==2)return!1;let[a,i]=r;if(!i)return!1;let f=Number(i);if(`${f}`!==i)return!1;if(f<0||f>128)return!1;return OZe(a)}var FZe=zt("$ZodCIDRv6",(e,r)=>{r.pattern??(r.pattern=Ede),on.init(e,r),e._zod.check=(a)=>{if(!Rxt(a.value))a.issues.push({code:"invalid_format",format:"cidrv6",input:a.value,inst:e,continue:!r.abort})}});function BZe(e){if(e==="")return!0;if(/\s/.test(e))return!1;if(e.length%4!==0)return!1;try{return atob(e),!0}catch{return!1}}var YZe=zt("$ZodBase64",(e,r)=>{r.pattern??(r.pattern=Ode),on.init(e,r),e._zod.bag.contentEncoding="base64",e._zod.check=(a)=>{if(BZe(a.value))return;a.issues.push({code:"invalid_format",format:"base64",input:a.value,inst:e,continue:!r.abort})}});function Pxt(e){if(!q9.test(e))return!1;let r=e.replace(/[-_]/g,(i)=>i==="-"?"+":"/"),a=r.padEnd(Math.ceil(r.length/4)*4,"=");return BZe(a)}var UZe=zt("$ZodBase64URL",(e,r)=>{r.pattern??(r.pattern=q9),on.init(e,r),e._zod.bag.contentEncoding="base64url",e._zod.check=(a)=>{if(Pxt(a.value))return;a.issues.push({code:"invalid_format",format:"base64url",input:a.value,inst:e,continue:!r.abort})}}),qZe=zt("$ZodE164",(e,r)=>{r.pattern??(r.pattern=Nde),on.init(e,r)});function Txt(e,r=null){try{let a=e.split(".");if(a.length!==3)return!1;let[i]=a;if(!i)return!1;let f=JSON.parse(atob(i));if("typ"in f&&f?.typ!=="JWT")return!1;if(!f.alg)return!1;if(r&&(!("alg"in f)||f.alg!==r))return!1;return!0}catch{return!1}}var VZe=zt("$ZodJWT",(e,r)=>{on.init(e,r),e._zod.check=(a)=>{if(Txt(a.value,r.alg))return;a.issues.push({code:"invalid_format",format:"jwt",input:a.value,inst:e,continue:!r.abort})}});var J9=zt("$ZodNumber",(e,r)=>{ba.init(e,r),e._zod.pattern=e._zod.bag.pattern??k2,e._zod.parse=(a,i)=>{if(r.coerce)try{a.value=Number(a.value)}catch(l){}let f=a.value;if(typeof f==="number"&&!Number.isNaN(f)&&Number.isFinite(f))return a;let s=typeof f==="number"?Number.isNaN(f)?"NaN":!Number.isFinite(f)?String(f):void 0:void 0;return a.issues.push({expected:"number",code:"invalid_type",input:f,inst:e,...s?{received:s}:{}}),a}}),HZe=zt("$ZodNumberFormat",(e,r)=>{Xde.init(e,r),J9.init(e,r)}),WZe=zt("$ZodBoolean",(e,r)=>{ba.init(e,r),e._zod.pattern=Hde,e._zod.parse=(a,i)=>{if(r.coerce)try{a.value=Boolean(a.value)}catch(s){}let f=a.value;if(typeof f==="boolean")return a;return a.issues.push({expected:"boolean",code:"invalid_type",input:f,inst:e}),a}}),GZe=zt("$ZodBigInt",(e,r)=>{ba.init(e,r),e._zod.pattern=Vde,e._zod.parse=(a,i)=>{if(r.coerce)try{a.value=BigInt(a.value)}catch(f){}if(typeof a.value==="bigint")return a;return a.issues.push({expected:"bigint",code:"invalid_type",input:a.value,inst:e}),a}});var KZe=zt("$ZodAny",(e,r)=>{ba.init(e,r),e._zod.parse=(a)=>a}),XZe=zt("$ZodUnknown",(e,r)=>{ba.init(e,r),e._zod.parse=(a)=>a}),QZe=zt("$ZodNever",(e,r)=>{ba.init(e,r),e._zod.parse=(a,i)=>(a.issues.push({expected:"never",code:"invalid_type",input:a.value,inst:e}),a)});var JZe=zt("$ZodDate",(e,r)=>{ba.init(e,r),e._zod.parse=(a,i)=>{if(r.coerce)try{a.value=new Date(a.value)}catch(c){}let f=a.value,s=f instanceof Date;if(s&&!Number.isNaN(f.getTime()))return a;return a.issues.push({expected:"date",code:"invalid_type",input:f,...s?{received:"Invalid Date"}:{},inst:e}),a}});function cZe(e,r,a){if(e.issues.length)r.issues.push(...O8(a,e.issues));r.value[a]=e.value}var $Ze=zt("$ZodArray",(e,r)=>{ba.init(e,r);let a=tl.memoizer;a?.attach(e),e._zod.parse=(i,f)=>{let s=i.value;if(!Array.isArray(s))return i.issues.push({expected:"array",code:"invalid_type",input:s,inst:e}),i;i.value=a?a.alloc(e,i,Array(s.length),f):Array(s.length);let l=[];for(let c=0;c<s.length;c++){let m=s[c],g=r.element._zod.run({value:m,issues:[]},f);if(g instanceof Promise)l.push(g.then((M)=>cZe(M,i,c)));else cZe(g,i,c)}if(l.length)return Promise.all(l).then(()=>i);return i}});function X5(e,r,a,i,f,s){let l=a in i,c=s==="optional";if(!l&&c&&f==="optional")return;if(e.issues.length){if(f!==void 0&&c&&!l)return;r.issues.push(...O8(a,e.issues))}if(!l&&f===void 0){if(!e.issues.length)r.issues.push({code:"invalid_type",expected:"nonoptional",input:void 0,path:[a]});return}if(e.value===void 0){if(l)r.value[a]=void 0}else r.value[a]=e.value}var Axt=[];function epe(e){let r=Object.keys(e.shape),a=Object.getOwnPropertySymbols(e.shape),i=a.length?a:Axt,f=i.length?[...r,...i]:r;for(let l of f)if(!e.shape?.[l]?._zod?.traits?.has("$ZodType"))throw Error(`Invalid element at key "${String(l)}": expected a Zod schema`);let s=$ue(e.shape);return{...e,allKeys:f,symbolKeys:i,keySet:new Set(r),numKeys:r.length,optionalKeys:new Set(s)}}function tpe(e,r,a,i,f,s){let l=[],c=f.keySet,m=f.catchall._zod,g=m.def.type,{optin:M,optout:x}=m;for(let b in r){if(c.has(b))continue;if(b==="__proto__"){if(g==="never")l.push(b);continue}if(g==="never"){l.push(b);continue}let y=m.run({value:r[b],issues:[]},i);if(y instanceof Promise)e.push(y.then((_)=>X5(_,a,b,r,M,x)));else X5(y,a,b,r,M,x)}if(l.length)a.issues.push({code:"unrecognized_keys",keys:l,input:r,inst:s,continue:!0});if(!e.length)return a;return Promise.all(e).then(()=>a)}var K9=new WeakMap,Dxt=zt("$ZodObject",(e,r)=>{if(ba.init(e,r),!Object.getOwnPropertyDescriptor(r,"shape")?.get){let m=r.shape;K9.set(r,m),Object.defineProperty(r,"shape",{get:()=>{let g={...m};return Object.defineProperty(r,"shape",{value:g}),K9.set(r,g),g}})}let i=w2(()=>epe(r));Ro(e,"propValues",(m)=>{let g=m.def.shape,M={};for(let x in g){let b=g[x]._zod;if(b.values){if(!Object.prototype.hasOwnProperty.call(M,x))Bi(M,x,new Set);for(let y of b.values)M[x].add(y);if(b.optin!==void 0)M[x].add(void 0)}}return M});let f=K1,s=r.catchall,l,c=tl.memoizer;c?.attach(e),e._zod.parse=(m,g)=>{l??(l=i.value);let M=m.value;if(!f(M))return m.issues.push({expected:"object",code:"invalid_type",input:M,inst:e}),m;m.value=c?c.alloc(e,m,{},g):{};let x=[],b=l.shape;for(let y of l.allKeys){if(y==="__proto__")continue;let _=b[y],k=_._zod.optin,F=_._zod.optout,I=_._zod.run({value:M[y],issues:[]},g);if(I instanceof Promise)x.push(I.then((j)=>X5(j,m,y,M,k,F)));else X5(I,m,y,M,k,F)}if(!s)return x.length?Promise.all(x).then(()=>m):m;return tpe(x,M,m,g,i.value,e)}}),rpe=zt("$ZodObjectJIT",(e,r)=>{Dxt.init(e,r);let a=e._zod.parse,i=w2(()=>epe(r)),f=tl.memoizer,s=(y)=>{let _=i.value,k=_.symbolKeys,F=new G9(["payload","ctx"],{shape:y,inst:e,memo:f,syms:k}),I=(J)=>`shape[${J}]._zod.run({ value: input[${J}], issues: [] }, ctx)`,j=(J,ee)=>`
|
|
149
|
+
for (let i = 0; i < ${J}.issues.length; i++) {
|
|
150
|
+
const iss = ${J}.issues[i];
|
|
151
|
+
iss.path = iss.path ? [${ee}, ...iss.path] : [${ee}];
|
|
152
|
+
payload.issues.push(iss);
|
|
153
|
+
}`;F.write("const input = payload.value;");let G=Object.create(null),X=0;for(let J of _.allKeys)G[J]=`key_${X++}`;F.write(f?"const newResult = memo.alloc(inst, payload, {}, ctx);":"const newResult = {};");for(let J of _.allKeys){if(J==="__proto__")continue;let ee=G[J],te=typeof J==="symbol"?`syms[${k.indexOf(J)}]`:Kue(J),oe=`${te} in input`,ae=y[J],_e=ae?._zod?.optin,Ve=_e!==void 0,Ne=ae?._zod?.optout==="optional";if(F.write(`const ${ee} = ${I(te)};`),Ve&&Ne){let ze=_e==="optional"?`${ee}_present`:`${ee}.value !== undefined || ${ee}_present`;F.write(`
|
|
154
|
+
const ${ee}_present = ${oe};
|
|
155
|
+
if (!${ee}.issues.length || ${ee}_present) {
|
|
156
|
+
if (${ee}.issues.length) {${j(ee,te)}
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
if (${ze}) {
|
|
160
|
+
newResult[${te}] = ${ee}.value;
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
`)}else if(!Ve)F.write(`
|
|
165
|
+
const ${ee}_present = ${oe};
|
|
166
|
+
if (${ee}.issues.length) {${j(ee,te)}
|
|
167
|
+
}
|
|
168
|
+
if (!${ee}_present && !${ee}.issues.length) {
|
|
169
|
+
payload.issues.push({
|
|
170
|
+
code: "invalid_type",
|
|
171
|
+
expected: "nonoptional",
|
|
172
|
+
input: undefined,
|
|
173
|
+
path: [${te}]
|
|
174
|
+
});
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
if (${ee}_present) {
|
|
178
|
+
newResult[${te}] = ${ee}.value;
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
`);else F.write(`
|
|
182
|
+
if (${ee}.issues.length) {${j(ee,te)}
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
if (${ee}.value === undefined) {
|
|
186
|
+
if (${oe}) {
|
|
187
|
+
newResult[${te}] = undefined;
|
|
188
|
+
}
|
|
189
|
+
} else {
|
|
190
|
+
newResult[${te}] = ${ee}.value;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
`)}return F.write("payload.value = newResult;"),F.write("return payload;"),F.compile()},l,c=K1,m=!tl.jitless,M=m&&Que.value,x=r.catchall,b;e._zod.parse=(y,_)=>{b??(b=i.value);let k=y.value;if(!c(k))return y.issues.push({expected:"object",code:"invalid_type",input:k,inst:e}),y;if(m&&M&&_?.async===!1&&_.jitless!==!0){if(!l)l=s(r.shape);if(y=l(y,_),!x)return y;return tpe([],k,y,_,b,e)}return a(y,_)}});function uZe(e,r,a,i){for(let s of e)if(s.issues.length===0)return r.value=s.value,r;let f=e.filter((s)=>!SL(s));if(f.length===1)return r.value=f[0].value,f[0];return r.issues.push({code:"invalid_union",input:r.value,inst:a,errors:e.map((s)=>s.issues.map((l)=>bZ(l,i,Ql())))}),r}var $9=zt("$ZodUnion",(e,r)=>{ba.init(e,r),Ro(e,"optin",(i)=>i.def.options.some((f)=>f._zod.optin==="defaulted")?"defaulted":i.def.options.some((f)=>f._zod.optin!==void 0)?"optional":void 0),Ro(e,"optout",(i)=>i.def.options.some((f)=>f._zod.optout==="optional")?"optional":void 0),Ro(e,"values",(i)=>{if(i.def.options.every((f)=>f._zod.values))return new Set(i.def.options.flatMap((f)=>Array.from(f._zod.values)));return}),Ro(e,"pattern",(i)=>{if(i.def.options.every((f)=>f._zod.pattern)){let f=i.def.options.map((s)=>s._zod.pattern);return new RegExp(`^(${f.map((s)=>F5(s.source)).join("|")})$`)}return});let a=r.options.length===1?r.options[0]._zod.run:null;e._zod.parse=(i,f)=>{if(a)return a(i,f);let s=!1,l=[];for(let c of r.options){let m=c._zod.run({value:i.value,issues:[]},f);if(m instanceof Promise)l.push(m),s=!0;else{if(m.issues.length===0)return m;l.push(m)}}if(!s)return uZe(l,i,e,f);return Promise.all(l).then((c)=>uZe(c,i,e,f))}});var ope=zt("$ZodDiscriminatedUnion",(e,r)=>{r.inclusive=!1,$9.init(e,r);let a=e._zod.parse;Ro(e,"propValues",(f)=>{let s={};for(let l of f.def.options){let c=l._zod.propValues;if(!c||Object.keys(c).length===0)throw Error(`Invalid discriminated union option at index "${f.def.options.indexOf(l)}"`);for(let[m,g]of Object.entries(c)){if(!Object.prototype.hasOwnProperty.call(s,m))Bi(s,m,new Set);for(let M of g)s[m].add(M)}}return s}),r.options.forEach((f,s)=>{let l=K9.get(f._zod.def);if(l&&!Object.prototype.hasOwnProperty.call(l,r.discriminator))throw Error(`Invalid discriminated union option at index "${s}"`)});let i=w2(()=>{let f=r.options,s=new Map;for(let l of f){let c=l._zod.propValues?.[r.discriminator];if(!c||c.size===0)throw Error(`Invalid discriminated union option at index "${r.options.indexOf(l)}"`);for(let m of c){if(s.has(m))throw Error(`Duplicate discriminator value "${String(m)}"`);s.set(m,l)}}return s});e._zod.parse=(f,s)=>{let l=f.value;if(!K1(l))return f.issues.push({code:"invalid_type",expected:"object",input:l,inst:e}),f;let c=i.value.get(l?.[r.discriminator]);if(c)return c._zod.run(f,s);if(r.unionFallback||s.direction==="backward")return a(f,s);return f.issues.push({code:"invalid_union",errors:[],note:"No matching discriminator",discriminator:r.discriminator,options:Array.from(i.value.keys()),input:l,path:[r.discriminator],inst:e}),f}}),ape=zt("$ZodIntersection",(e,r)=>{ba.init(e,r),e._zod.parse=(a,i)=>{let f=a.value,s=r.left._zod.run({value:f,issues:[]},i),l=r.right._zod.run({value:f,issues:[]},i);if(s instanceof Promise||l instanceof Promise)return Promise.all([s,l]).then(([m,g])=>dZe(a,m,g));return dZe(a,s,l)}});function X9(e,r){if(e===r)return{valid:!0,data:e};if(e instanceof Date&&r instanceof Date&&+e===+r)return{valid:!0,data:e};if(zL(e)&&zL(r)){let a=Object.keys(r),i=Object.keys(e).filter((s)=>a.indexOf(s)!==-1),f={...e,...r};if(Object.prototype.hasOwnProperty.call(f,"__proto__"))delete f.__proto__;for(let s of i){if(s==="__proto__")continue;let l=X9(e[s],r[s]);if(!l.valid)return{valid:!1,mergeErrorPath:[s,...l.mergeErrorPath]};f[s]=l.data}return{valid:!0,data:f}}if(Array.isArray(e)&&Array.isArray(r)){if(e.length!==r.length)return{valid:!1,mergeErrorPath:[]};let a=[];for(let i=0;i<e.length;i++){let f=e[i],s=r[i],l=X9(f,s);if(!l.valid)return{valid:!1,mergeErrorPath:[i,...l.mergeErrorPath]};a.push(l.data)}return{valid:!0,data:a}}return{valid:!1,mergeErrorPath:[]}}function dZe(e,r,a){let i=new Map,f,s=new Map,l=(g,M)=>{let x;if(g.code==="unrecognized_keys"&&!g.path?.length)f??(f=g),x=g.keys;else if(g.code==="invalid_key"&&g.origin==="record"&&g.path?.length===1){let b=String(g.path[0]);if(!s.has(b))s.set(b,g);x=[b]}else return!1;for(let b of x){if(!i.has(b))i.set(b,{});i.get(b)[M]=!0}return!0};for(let g of r.issues)if(!l(g,"l"))e.issues.push(g);for(let g of a.issues)if(!l(g,"r"))e.issues.push(g);let c=[...i].filter(([,g])=>g.l&&g.r).map(([g])=>g);if(c.length){let g=f?c.filter((M)=>f.keys.includes(M)):[];if(g.length)e.issues.push({...f,keys:g});for(let M of c)if(!g.includes(M)&&s.has(M))e.issues.push(s.get(M))}let m=X9(r.value,a.value);if(!m.valid){if(SL(e))return e;throw Error(`Unmergable intersection. Error path: ${JSON.stringify(m.mergeErrorPath)}`)}return e.value=m.data,e}var npe=zt("$ZodRecord",(e,r)=>{ba.init(e,r);let a=tl.memoizer;a?.attach(e),e._zod.parse=(i,f)=>{let s=i.value;if(!zL(s))return i.issues.push({expected:"record",code:"invalid_type",input:s,inst:e}),i;let l=[],c=r.keyType._zod.values;if(c&&!r.partial){i.value=a?a.alloc(e,i,{},f):{};let m=new Set;for(let M of c)if(typeof M==="string"||typeof M==="number"||typeof M==="symbol"){if(m.add(typeof M==="number"?M.toString():M),M==="__proto__")continue;let x=r.keyType._zod.run({value:M,issues:[]},f);if(x instanceof Promise)throw Error("Async schemas not supported in object keys currently");if(x.issues.length){i.issues.push({code:"invalid_key",origin:"record",issues:x.issues.map((_)=>bZ(_,f,Ql())),input:M,path:[M],inst:e});continue}let b=x.value;if(b==="__proto__")continue;let y=r.valueType._zod.run({value:s[M],issues:[]},f);if(y instanceof Promise)l.push(y.then((_)=>{if(_.issues.length)i.issues.push(...O8(M,_.issues));i.value[b]=_.value}));else{if(y.issues.length)i.issues.push(...O8(M,y.issues));i.value[b]=y.value}}let g;for(let M in s)if(!m.has(M))if(r.mode==="loose"){if(M==="__proto__")continue;i.value[M]=s[M]}else g=g??[],g.push(M);if(g&&g.length>0)i.issues.push({code:"unrecognized_keys",input:s,inst:e,keys:g,continue:!0})}else{i.value=a?a.alloc(e,i,{},f):{};let m;for(let g of Reflect.ownKeys(s)){if(g==="__proto__")continue;if(!Object.prototype.propertyIsEnumerable.call(s,g))continue;let M=r.keyType._zod.run({value:g,issues:[]},f);if(M instanceof Promise)throw Error("Async schemas not supported in object keys currently");if(typeof g==="string"&&k2.test(g)&&M.issues.length){let _=r.keyType._zod.run({value:Number(g),issues:[]},f);if(_ instanceof Promise)throw Error("Async schemas not supported in object keys currently");if(_.issues.length===0)M=_}if(M.issues.length){if(r.mode==="loose")i.value[g]=s[g];else if(c)m=m??[],m.push(g);else i.issues.push({code:"invalid_key",origin:"record",issues:M.issues.map((_)=>bZ(_,f,Ql())),input:g,path:[g],inst:e});continue}let b=M.value;if(b==="__proto__")continue;let y=r.valueType._zod.run({value:s[g],issues:[]},f);if(y instanceof Promise)l.push(y.then((_)=>{if(_.issues.length)i.issues.push(...O8(g,_.issues));i.value[b]=_.value}));else{if(y.issues.length)i.issues.push(...O8(g,y.issues));i.value[b]=y.value}}if(m&&m.length>0)i.issues.push({code:"unrecognized_keys",input:s,inst:e,keys:m,continue:!0})}if(l.length)return Promise.all(l).then(()=>i);return i}});var ipe=zt("$ZodEnum",(e,r)=>{ba.init(e,r);let a=N5(r.entries),i=new Set(a);e._zod.values=i;let f=a.filter((s)=>Jue.has(typeof s));e._zod.pattern=new RegExp(f.length?`^(${f.map((s)=>E8(s.toString())).join("|")})$`:"^[^\\s\\S]$"),e._zod.parse=(s,l)=>{let c=s.value;if(i.has(c))return s;return s.issues.push({code:"invalid_value",values:a,input:c,inst:e}),s}}),fpe=zt("$ZodLiteral",(e,r)=>{ba.init(e,r);let a=new Set(r.values);e._zod.values=a,e._zod.pattern=new RegExp(r.values.length?`^(${r.values.map((i)=>typeof i==="string"?E8(i):i?E8(i.toString()):String(i)).join("|")})$`:"^[^\\s\\S]$"),e._zod.parse=(i,f)=>{let s=i.value;if(a.has(s))return i;return i.issues.push({code:"invalid_value",values:r.values,input:s,inst:e}),i}});var spe=zt("$ZodTransform",(e,r)=>{ba.init(e,r),e._zod.optin="optional",tl.memoizer?.guard(e),e._zod.parse=(a,i)=>{if(i.direction==="backward")throw new z2(e.constructor.name);let f=r.transform(a.value,a);if(i.async)return(f instanceof Promise?f:Promise.resolve(f)).then((l)=>(a.value=l,a));if(f instanceof Promise)throw new lM;return a.value=f,a}});function ZZe(e,r){return e.value=r.issues.length?void 0:r.value,e}var eV=zt("$ZodOptional",(e,r)=>{ba.init(e,r),Ro(e,"optin",(a)=>a.def.innerType._zod.optin==="defaulted"?"defaulted":"optional"),e._zod.optout="optional",Ro(e,"values",(a)=>{let i=a.def.innerType._zod.values;return i?new Set([...i,void 0]):void 0}),Ro(e,"pattern",(a)=>{let i=a.def.innerType._zod.pattern;return i?new RegExp(`^(${F5(i.source)})?$`):void 0}),e._zod.parse=(a,i)=>{if(a.value===void 0){if(r.innerType._zod.optin!=="defaulted")return a;let f=r.innerType._zod.run({value:a.value,issues:[]},i);if(f instanceof Promise)return f.then((s)=>ZZe(a,s));return ZZe(a,f)}return r.innerType._zod.run(a,i)}}),lpe=zt("$ZodExactOptional",(e,r)=>{eV.init(e,r),Ro(e,"values",(a)=>a.def.innerType._zod.values),Ro(e,"pattern",(a)=>a.def.innerType._zod.pattern),e._zod.parse=(a,i)=>r.innerType._zod.run(a,i)}),cpe=zt("$ZodNullable",(e,r)=>{ba.init(e,r),Ro(e,"optin",(a)=>a.def.innerType._zod.optin),Ro(e,"optout",(a)=>a.def.innerType._zod.optout),Ro(e,"pattern",(a)=>{let i=a.def.innerType._zod.pattern;return i?new RegExp(`^(${F5(i.source)}|null)$`):void 0}),Ro(e,"values",(a)=>a.def.innerType._zod.values?new Set([...a.def.innerType._zod.values,null]):void 0),e._zod.parse=(a,i)=>{if(a.value===null)return a;return r.innerType._zod.run(a,i)}}),upe=zt("$ZodDefault",(e,r)=>{ba.init(e,r),e._zod.optin="defaulted",Ro(e,"values",(a)=>a.def.innerType._zod.values),e._zod.parse=(a,i)=>{if(i.direction==="backward")return r.innerType._zod.run(a,i);if(a.value===void 0)return a.value=r.defaultValue,a;let f=r.innerType._zod.run(a,i);if(f instanceof Promise)return f.then((s)=>pZe(s,r));return pZe(f,r)}});function pZe(e,r){if(e.value===void 0)e.value=r.defaultValue;return e}var dpe=zt("$ZodPrefault",(e,r)=>{ba.init(e,r),e._zod.optin="defaulted",Ro(e,"values",(a)=>a.def.innerType._zod.values),e._zod.parse=(a,i)=>{if(i.direction==="backward")return r.innerType._zod.run(a,i);if(a.value===void 0)a.value=r.defaultValue;return r.innerType._zod.run(a,i)}}),Zpe=zt("$ZodNonOptional",(e,r)=>{ba.init(e,r),Ro(e,"values",(a)=>{let i=a.def.innerType._zod.values;return i?new Set([...i].filter((f)=>f!==void 0)):void 0}),e._zod.parse=(a,i)=>{let f=r.innerType._zod.run(a,i);if(f instanceof Promise)return f.then((s)=>mZe(s,e));return mZe(f,e)}});function mZe(e,r){if(!e.issues.length&&e.value===void 0)e.issues.push({code:"invalid_type",expected:"nonoptional",input:e.value,inst:r});return e}function hZe(e,r,a,i){if(!r.issues.length){if(e.value=r.value,r.memo)e.memo=!0;return e}return e.value=a.catchValue({...r,value:e.value,error:{issues:r.issues.map((f)=>bZ(f,i,Ql()))},input:e.value}),e}var ppe=zt("$ZodCatch",(e,r)=>{ba.init(e,r),Ro(e,"optin",(a)=>a.def.innerType._zod.optin==="defaulted"?"defaulted":"optional"),Ro(e,"optout",(a)=>a.def.innerType._zod.optout),Ro(e,"values",(a)=>a.def.innerType._zod.values),e._zod.parse=(a,i)=>{if(i.direction==="backward")return r.innerType._zod.run(a,i);let f=r.innerType._zod.run({value:a.value,issues:[]},i);if(f instanceof Promise)return f.then((s)=>hZe(a,s,r,i));return hZe(a,f,r,i)}});var mpe=zt("$ZodPipe",(e,r)=>{ba.init(e,r),Ro(e,"values",(a)=>a.def.in._zod.values),Ro(e,"optin",(a)=>a.def.in._zod.optin),Ro(e,"optout",(a)=>a.def.out._zod.optout),Ro(e,"propValues",(a)=>a.def.in._zod.propValues),e._zod.parse=(a,i)=>{if(i.direction==="backward"){let s=r.out._zod.run(a,i);if(s instanceof Promise)return s.then((l)=>K5(l,r.in,i));return K5(s,r.in,i)}let f=r.in._zod.run(a,i);if(f instanceof Promise)return f.then((s)=>K5(s,r.out,i));return K5(f,r.out,i)}});function K5(e,r,a){if(e.issues.some((i)=>i.code!=="unrecognized_keys"))return e.aborted=!0,e;return r._zod.run({value:e.value,issues:e.issues},a)}var hpe=zt("$ZodReadonly",(e,r)=>{ba.init(e,r),Ro(e,"propValues",(a)=>a.def.innerType._zod.propValues),Ro(e,"values",(a)=>a.def.innerType._zod.values),Ro(e,"optin",(a)=>a.def.innerType?._zod?.optin),Ro(e,"optout",(a)=>a.def.innerType?._zod?.optout),e._zod.parse=(a,i)=>{if(i.direction==="backward")return r.innerType._zod.run(a,i);let f=r.innerType._zod.run(a,i);if(f instanceof Promise)return f.then(gZe);return gZe(f)}});function gZe(e){if(!e.memo)e.value=Object.freeze(e.value);return e}var gpe=zt("$ZodLazy",(e,r)=>{ba.init(e,r),Gue(e._zod,"innerType",()=>{let a=r;if(!a._cachedInner)a._cachedInner=r.getter();return a._cachedInner}),Ro(e,"pattern",(a)=>a.innerType?._zod?.pattern),Ro(e,"propValues",(a)=>a.innerType?._zod?.propValues),Ro(e,"optin",(a)=>a.innerType?._zod?.optin??void 0),Ro(e,"optout",(a)=>a.innerType?._zod?.optout??void 0),e._zod.parse=(a,i)=>e._zod.innerType._zod.run(a,i)}),Mpe=zt("$ZodCustom",(e,r)=>{ef.init(e,r),ba.init(e,r),e._zod.parse=(a,i)=>a,e._zod.check=(a)=>{let i=a.value,f=r.fn(i);if(f instanceof Promise)return f.then((s)=>MZe(s,a,i,e));MZe(f,a,i,e);return}});function MZe(e,r,a,i){if(!e){let f={code:"custom",input:a,inst:i,path:[...i._zod.def.path??[]],continue:!i._zod.def.abort};if(i._zod.def.params)f.params=i._zod.def.params;r.issues.push(LL(f))}}class ype extends Error{constructor(){super("Cannot parse a reference cycle that closes through a transform");this.name="ZodCyclicError"}}var rV="~memo",vpe=[];function tV(e){return e.map((r)=>r.path?{...r,path:r.path.slice()}:{...r})}var xpe=new WeakMap;function bpe(e,r){let a=xpe.get(e);if(a!==void 0)return a;if(r.has(e))return!0;r.add(e);let i=!1,f=(c)=>{if(!i&&c?._zod&&bpe(c,r))i=!0},s=e._zod.def,l=s.type;switch(l){case"object":{for(let c of Reflect.ownKeys(s.shape))f(s.shape[c]);f(s.catchall);break}case"array":f(s.element);break;case"tuple":for(let c of s.items)f(c);f(s.rest);break;case"record":case"map":f(s.keyType),f(s.valueType);break;case"set":f(s.valueType);break;case"union":for(let c of s.options)f(c);break;case"intersection":f(s.left),f(s.right);break;case"optional":case"nullable":case"default":case"prefault":case"catch":case"readonly":case"nonoptional":case"promise":case"success":f(s.innerType);break;case"pipe":f(s.in),f(s.out);break;case"function":f(s.input),f(s.output);break;case"lazy":f(e._zod.innerType);break;case"template_literal":case"string":case"number":case"int":case"boolean":case"bigint":case"symbol":case"undefined":case"null":case"void":case"never":case"any":case"unknown":case"date":case"nan":case"enum":case"literal":case"file":case"transform":case"custom":break;default:for(let c in s){let m=Object.getOwnPropertyDescriptor(s,c);if(!m||m.get)continue;let g=m.value;if(!g||typeof g!=="object")continue;if(g._zod)f(g);else if(Array.isArray(g))for(let M of g)f(M)}}return r.delete(e),xpe.set(e,i),i}function Ext(e,r){let a=e.buckets.get(r);if(!a)a=new Map,e.buckets.set(r,a);return a}var J5,$5=[],Oxt={alloc(e,r,a){let i=J5;if(!i)return a;J5=void 0;let f={value:a,issues:null};return i.set(r.value,f),$5.push(f),a},guard(e){var r;(r=e._zod).deferred??(r.deferred=[]),e._zod.deferred.push(()=>{let a=e._zod.parse,i=(f,s)=>{if(s.direction!=="backward"&&jxt(s,f.value))throw new ype;return a(f,s)};if(e._zod.parse=i,e._zod.run===a)e._zod.run=i})},attach(e){var r;let a,i,f;(r=e._zod).deferred??(r.deferred=[]),e._zod.deferred.push(()=>{let s=e._zod.parse,l=(c,m)=>{if(a===void 0){if(a=bpe(e,new Set),!a){if(e._zod.parse=s,e._zod.run===l)e._zod.run=s;return s(c,m)}}let g=c.value;if(g===null||typeof g!=="object")return s(c,m);let M=m[rV];if(!M)M={buckets:new Map,backEdges:void 0},m[rV]=M;let x;if(i===m)x=f;else x=Ext(M,e),i=m,f=x;let b=x.get(g);if(b){if(c.value=b.value,b.issues){if(b.issues.length)c.issues.push(...tV(b.issues))}else c.memo=!0,M.backEdges??(M.backEdges=new Set),M.backEdges.add(b.value);return c}J5=x;let y=$5.length,_=s(c,m);J5=void 0;let k=$5.length>y?$5.pop():void 0;if(_ instanceof Promise)return _.then((F)=>{if(k)k.issues=F.issues.length?tV(F.issues):vpe;return F});if(k)k.issues=_.issues.length?tV(_.issues):vpe;return _};if(e._zod.parse=l,e._zod.run===s)e._zod.run=l})}};function _pe(){return Oxt}function jxt(e,r){let a=e[rV]?.backEdges;return a!==void 0&&r!==null&&typeof r==="object"&&a.has(r)}var Nxt=()=>{let e={string:{unit:"characters",verb:"to have"},file:{unit:"bytes",verb:"to have"},array:{unit:"items",verb:"to have"},set:{unit:"items",verb:"to have"},map:{unit:"entries",verb:"to have"}};function r(s){return e[s]??null}let a={regex:"input",email:"email address",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datetime",date:"ISO date",time:"ISO time",duration:"ISO duration",ipv4:"IPv4 address",ipv6:"IPv6 address",mac:"MAC address",cidrv4:"IPv4 range",cidrv6:"IPv6 range",base64:"base64-encoded string",base64url:"base64url-encoded string",json_string:"JSON string",e164:"E.164 number",credit_card:"credit card number",jwt:"JWT",template_literal:"input"},i={nan:"NaN"};function f(s,l){if(s==="number"&&typeof l==="number"&&!Number.isFinite(l))return String(l);return i[s]??s}return(s)=>{switch(s.code){case"invalid_type":{let l=f(s.expected),c=ode(s.input),m=f(c,s.input);return`Invalid input: expected ${l}, received ${m}`}case"invalid_value":if(s.values.length===1)return`Invalid input: expected ${A9(s.values[0])}`;return`Invalid option: expected one of ${R9(s.values,"|")}`;case"too_big":{let l=s.exact?"exactly ":s.inclusive?"<=":"<",c=r(s.origin);if(c)return`Too big: expected ${s.origin??"value"} to have ${l}${s.maximum.toString()} ${c.unit??"elements"}`;return`Too big: expected ${s.origin??"value"} to be ${l}${s.maximum.toString()}`}case"too_small":{let l=s.exact?"exactly ":s.inclusive?">=":">",c=r(s.origin);if(c)return`Too small: expected ${s.origin} to have ${l}${s.minimum.toString()} ${c.unit}`;return`Too small: expected ${s.origin} to be ${l}${s.minimum.toString()}`}case"invalid_format":{let l=s;if(l.format==="starts_with")return`Invalid string: must start with "${l.prefix}"`;if(l.format==="ends_with")return`Invalid string: must end with "${l.suffix}"`;if(l.format==="includes")return`Invalid string: must include "${l.includes}"`;if(l.format==="regex")return`Invalid string: must match pattern ${l.pattern}`;return`Invalid ${a[l.format]??s.format}`}case"not_multiple_of":return`Invalid number: must be a multiple of ${s.divisor}`;case"unrecognized_keys":return`Unrecognized key${s.keys.length>1?"s":""}: ${R9(s.keys,", ")}`;case"invalid_key":return`Invalid key in ${s.origin}`;case"invalid_union":if(s.options&&Array.isArray(s.options)&&s.options.length>0)return`Invalid discriminator value. Expected ${s.options.map((c)=>`'${c}'`).join(" | ")}`;if(s.inclusive===!1)return"Invalid input: more than one option matched";return"Invalid input";case"invalid_element":return`Invalid value in ${s.origin}`;default:return"Invalid input"}}};function oV(){return{localeError:Nxt()}}var wpe;class zpe{constructor(){this._map=new WeakMap,this._idmap=new Map}add(e,...r){let a=r[0];if(this._map.set(e,a),a&&typeof a==="object"&&"id"in a)this._idmap.set(a.id,e);return this}clear(){return this._map=new WeakMap,this._idmap=new Map,this}remove(e){let r=this._map.get(e);if(r&&typeof r==="object"&&"id"in r)this._idmap.delete(r.id);return this._map.delete(e),this}get(e){let r=e._zod.parent;if(r){let a={...this.get(r)??{}};delete a.id;let i={...a,...this._map.get(e)};return Object.keys(i).length?i:void 0}return this._map.get(e)}has(e){return this._map.has(e)}}function Fxt(){return new zpe}(wpe=globalThis).__zod_globalRegistry??(wpe.__zod_globalRegistry=Fxt());var kL=globalThis.__zod_globalRegistry;function Spe(e,r){return new e({type:"string",...zr(r)})}function Lpe(e,r){return new e({type:"string",coerce:!0,...zr(r)})}function kpe(e,r){return new e({type:"string",format:"email",check:"string_format",abort:!1,...zr(r)})}function Ipe(e,r){return new e({type:"string",format:"guid",check:"string_format",abort:!1,...zr(r)})}function Cpe(e,r){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,...zr(r)})}function Rpe(e,r){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",...zr(r)})}function Ppe(e,r){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6",...zr(r)})}function Tpe(e,r){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7",...zr(r)})}function Ape(e,r){return new e({type:"string",format:"url",check:"string_format",abort:!1,...zr(r)})}function Dpe(e,r){return new e({type:"string",format:"emoji",check:"string_format",abort:!1,...zr(r)})}function Epe(e,r){return new e({type:"string",format:"nanoid",check:"string_format",abort:!1,...zr(r)})}function Ope(e,r){return new e({type:"string",format:"cuid",check:"string_format",abort:!1,...zr(r)})}function jpe(e,r){return new e({type:"string",format:"cuid2",check:"string_format",abort:!1,...zr(r)})}function Npe(e,r){return new e({type:"string",format:"ulid",check:"string_format",abort:!1,...zr(r)})}function Fpe(e,r){return new e({type:"string",format:"xid",check:"string_format",abort:!1,...zr(r)})}function Bpe(e,r){return new e({type:"string",format:"ksuid",check:"string_format",abort:!1,...zr(r)})}function Ype(e,r){return new e({type:"string",format:"ipv4",check:"string_format",abort:!1,...zr(r)})}function Upe(e,r){return new e({type:"string",format:"ipv6",check:"string_format",abort:!1,...zr(r)})}function qpe(e,r){return new e({type:"string",format:"cidrv4",check:"string_format",abort:!1,...zr(r)})}function Vpe(e,r){return new e({type:"string",format:"cidrv6",check:"string_format",abort:!1,...zr(r)})}function Hpe(e,r){return new e({type:"string",format:"base64",check:"string_format",abort:!1,...zr(r)})}function Wpe(e,r){return new e({type:"string",format:"base64url",check:"string_format",abort:!1,...zr(r)})}function Gpe(e,r){return new e({type:"string",format:"e164",check:"string_format",abort:!1,...zr(r)})}function Kpe(e,r){return new e({type:"string",format:"jwt",check:"string_format",abort:!1,...zr(r)})}function Xpe(e,r){return new e({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,...zr(r)})}function Qpe(e,r){return new e({type:"string",format:"date",check:"string_format",...zr(r)})}function Jpe(e,r){return new e({type:"string",format:"time",check:"string_format",precision:null,...zr(r)})}function $pe(e,r){return new e({type:"string",format:"duration",check:"string_format",...zr(r)})}function eme(e,r){return new e({type:"number",checks:[],...zr(r)})}function tme(e,r){return new e({type:"number",coerce:!0,checks:[],...zr(r)})}function rme(e,r){return new e({type:"number",check:"number_format",abort:!1,format:"safeint",...zr(r)})}function ome(e,r){return new e({type:"boolean",...zr(r)})}function ame(e,r){return new e({type:"boolean",coerce:!0,...zr(r)})}function nme(e,r){return new e({type:"bigint",coerce:!0,...zr(r)})}function ime(e){return new e({type:"any"})}function fme(e){return new e({type:"unknown"})}function sme(e,r){return new e({type:"never",...zr(r)})}function lme(e,r){return new e({type:"date",...zr(r)})}function cme(e,r){return new e({type:"date",coerce:!0,...zr(r)})}function X1(e,r){return new H9({check:"less_than",...zr(r),value:e,inclusive:!1})}function cM(e,r){return new H9({check:"less_than",...zr(r),value:e,inclusive:!0})}function Q1(e,r){return new W9({check:"greater_than",...zr(r),value:e,inclusive:!1})}function uM(e,r){return new W9({check:"greater_than",...zr(r),value:e,inclusive:!0})}function R2(e,r){return new Kde({check:"multiple_of",...zr(r),value:e})}function e4(e,r){return new Qde({check:"max_length",...zr(r),maximum:e})}function J1(e,r){return new Jde({check:"min_length",...zr(r),minimum:e})}function t4(e,r){return new $de({check:"length_equals",...zr(r),length:e})}function aV(e,r){return new eZe({check:"string_format",format:"regex",...zr(r),pattern:e})}function nV(e){return new tZe({check:"string_format",format:"lowercase",...zr(e)})}function iV(e){return new rZe({check:"string_format",format:"uppercase",...zr(e)})}function fV(e,r){return new oZe({check:"string_format",format:"includes",...zr(r),includes:e})}function sV(e,r){return new aZe({check:"string_format",format:"starts_with",...zr(r),prefix:e})}function lV(e,r){return new nZe({check:"string_format",format:"ends_with",...zr(r),suffix:e})}function j8(e){return new iZe({check:"overwrite",tx:e})}function cV(e){return j8((r)=>r.normalize(e))}function uV(){return j8((e)=>e.trim())}function dV(){return j8((e)=>e.toLowerCase())}function ZV(){return j8((e)=>e.toUpperCase())}function pV(){return j8((e)=>Xue(e))}function ume(e,r,a){return new e({type:"array",element:r,...zr(a)})}function dme(e,r,a){return new e({type:"custom",check:"custom",fn:r,...zr(a)})}function Zme(e,r){let a=Bxt((i)=>(i.addIssue=(f)=>{if(typeof f==="string")i.issues.push(LL(f,i.value,a._zod.def));else{let s=f;if(s.fatal)s.continue=!1;if(s.code??(s.code="custom"),!("input"in s))s.input=i.value;s.inst??(s.inst=a),s.continue??(s.continue=!a._zod.def.abort),i.issues.push(LL(s))}},e(i.value,i)),r);return a}function Bxt(e,r){let a=new ef({check:"custom",...zr(r)});return a._zod.check=e,a}function P2(e,...r){for(let a of r)for(let i of Reflect.ownKeys(a))if(Object.prototype.propertyIsEnumerable.call(a,i))Bi(e,i,a[i]);return e}function hV(e){let r=e?.target??"draft-2020-12";if(r==="draft-4")r="draft-04";if(r==="draft-7")r="draft-07";return{processors:e.processors??{},metadataRegistry:e?.metadata??kL,target:r,unrepresentable:e?.unrepresentable??"throw",override:e?.override??(()=>{}),io:e?.io??"output",counter:0,seen:new Map,sharedDefsExtractedFor:void 0,sharedEmitDoneFor:void 0,cycles:e?.cycles??"ref",reused:e?.reused??"inline",intersections:[],deferred:[],external:e?.external??void 0}}function Su(e,r,a,i,f){let s=typeof r.unrepresentable==="function"?r.unrepresentable({zodSchema:e,path:i.path,message:f}):r.unrepresentable;if(s==="any")return!1;if(s===void 0||s==="throw")throw Error(f);return Object.assign(a,s),!0}function In(e,r,a={path:[],schemaPath:[]}){var i;let f=e._zod.def,s=r.seen.get(e);if(s){if(s.count++,a.schemaPath.includes(e))s.cycle=a.path;return s.schema}let l={schema:{},count:1,cycle:void 0,path:a.path};r.seen.set(e,l),r.sharedDefsExtractedFor=void 0,r.sharedEmitDoneFor=void 0;let c=e._zod.toJSONSchema?.();if(c)l.schema=c;else{let M={...a,schemaPath:[...a.schemaPath,e],path:a.path};if(e._zod.processJSONSchema)e._zod.processJSONSchema(r,l.schema,M);else{let b=l.schema,y=r.processors[f.type];if(!y)throw Error(`[toJSONSchema]: Non-representable type encountered: ${f.type}`);y(e,r,b,M)}let x=e._zod.parent;if(x){if(!l.ref)l.ref=x;In(x,r,M),r.seen.get(x).isParent=!0}}let m=r.metadataRegistry.get(e);if(m)P2(l.schema,m);if(r.io==="input"&&_s(e))delete l.schema.examples,delete l.schema.default;if(r.io==="input"&&"_prefault"in l.schema)(i=l.schema).default??(i.default=l.schema._prefault);return delete l.schema._prefault,r.seen.get(e).schema}function pme(e){return e.replace(/~/g,"~0").replace(/\//g,"~1")}function gV(e,r){let a=e.seen.get(r);if(!a)throw Error("Unprocessed schema. This is a bug in Zod.");if(e.external&&e.sharedDefsExtractedFor===e.external)return;let i=new Map;for(let l of e.seen.entries()){let c=e.metadataRegistry.get(l[0])?.id;if(c){let m=i.get(c);if(m&&m!==l[0])throw Error(`Duplicate schema id "${c}" detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`);i.set(c,l[0])}}let f=(l)=>{let c=e.target==="draft-2020-12"?"$defs":"definitions";if(e.external){let x=e.external.registry.get(l[0])?.id,b=e.external.uri??((_)=>_);if(x)return{ref:b(x)};let y=l[1].defId??l[1].schema.id??`schema${e.counter++}`;return l[1].defId=y,{defId:y,ref:`${b("__shared")}#/${c}/${pme(y)}`}}let m="#",g=`${m}/${c}/`;if(l[1]===a&&!l[1].schema.id)return{ref:m};let M=l[1].schema.id??`__schema${e.counter++}`;return{defId:M,ref:g+pme(M)}},s=(l)=>{if(l[1].schema.$ref)return;let c=l[1],{ref:m,defId:g}=f(l);if(c.def={...c.schema},g)c.defId=g;let M=c.schema;for(let x in M)delete M[x];M.$ref=m};if(e.cycles==="throw")for(let l of e.seen.entries()){let c=l[1];if(c.cycle)throw Error(`Cycle detected: #/${c.cycle?.join("/")}/<root>
|
|
194
|
+
|
|
195
|
+
Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(let l of e.seen.entries()){let c=l[1];if(r===l[0]){s(l);continue}if(e.external){let g=e.external.registry.get(l[0])?.id;if(r!==l[0]&&g){s(l);continue}}if(e.metadataRegistry.get(l[0])?.id){s(l);continue}if(c.cycle){s(l);continue}if(c.count>1){if(e.reused==="ref"){s(l);continue}}}if(e.external)e.sharedDefsExtractedFor=e.external}function gme(e){let r=e.anyOf;if(!Array.isArray(r)||r.length===0||e.type!==void 0)return;let a=[];for(let i of r){if(!i||typeof i!=="object")return;gme(i);let f=Object.keys(i);if(f.length!==1||f[0]!=="type")return;let s=i.type;for(let l of Array.isArray(s)?s:[s]){if(typeof l!=="string")return;if(!a.includes(l))a.push(l)}}delete e.anyOf,e.type=a.length===1?a[0]:a}var Mme=new Set(["type","properties","required","additionalProperties"]),mme=["oneOf","anyOf"];function hme(e){let r=e.additionalProperties;if(r===void 0||r===!1||typeof r!=="object"||r===null)return null;return Object.keys(r).length?r:null}function mV(e){let r=[];for(let s of e){if(typeof s!=="object"||s.type!=="object")return null;for(let l in s)if(!Mme.has(l))return null;r.push(s)}let a={},i=new Set;for(let s of r){for(let l in s.properties){if(Object.prototype.hasOwnProperty.call(a,l))continue;let c=[];for(let g of r){let M=g.properties?.[l]??hme(g);if(M===null||M===void 0)continue;if(!c.some((x)=>JSON.stringify(x)===JSON.stringify(M)))c.push(M)}let m=c.length===1?c[0]:mV(c)??{allOf:c};Bi(a,l,m)}for(let l of s.required??[])i.add(l)}let f={type:"object",properties:a};if(i.size)f.required=[...i];if(r.every((s)=>s.additionalProperties===!1))f.additionalProperties=!1;else{let s=[];for(let l of r){let c=hme(l);if(c&&!s.some((m)=>JSON.stringify(m)===JSON.stringify(c)))s.push(c)}if(s.length===1)f.additionalProperties=s[0];else if(s.length>1)f.additionalProperties={allOf:s}}return f}function Yxt(e){let r=e.allOf;if(!Array.isArray(r)||r.length<2)return;for(let f of Mme)if(f in e)return;let a=r.filter((f)=>mme.some((s)=>Array.isArray(f[s]))),i=null;if(!a.length)i=mV(r);else{let f=a[0],s=mme.find((m)=>Array.isArray(f[m]));if(Object.keys(f).length!==1)return;let l=r.filter((m)=>m!==f),c=f[s].map((m)=>mV([...l,m]));if(c.some((m)=>!m))return;i={[s]:c}}if(!i)return;delete e.allOf,P2(e,i)}function MV(e,r){let a=e.seen.get(r);if(!a)throw Error("Unprocessed schema. This is a bug in Zod.");let i=(c)=>{let m=e.seen.get(c);if(m.ref===null)return;let g=m.def??m.schema,M={...g},x=m.ref;if(m.ref=null,x){i(x);let y=e.seen.get(x),_=y.schema;if(_.$ref&&(e.target==="draft-07"||e.target==="draft-04"||e.target==="openapi-3.0"))g.allOf=g.allOf??[],g.allOf.push(_);else P2(g,_);if(P2(g,M),c._zod.parent===x)for(let F in g){if(F==="$ref"||F==="allOf")continue;if(!(F in M))delete g[F]}if(_.$ref&&y.def)for(let F in g){if(F==="$ref"||F==="allOf")continue;if(F in y.def&&JSON.stringify(g[F])===JSON.stringify(y.def[F]))delete g[F]}}let b=c._zod.parent;if(b&&b!==x){i(b);let y=e.seen.get(b);if(y?.schema.$ref){if(g.$ref=y.schema.$ref,y.def)for(let _ in g){if(_==="$ref"||_==="allOf")continue;if(_ in y.def&&JSON.stringify(g[_])===JSON.stringify(y.def[_]))delete g[_]}}}e.override({zodSchema:c,jsonSchema:g,path:m.path??[]})};if(!e.external||e.sharedEmitDoneFor!==e.external){for(let c of[...e.seen.entries()].reverse())i(c[0]);if(e.target!=="openapi-3.0")for(let c of e.seen.entries())gme(c[1].def??c[1].schema);for(let c of e.deferred)c();if(e.intersections.length){let c=new Map;for(let m of e.seen.values())for(let g of[m.schema,m.def]){let M=g?.allOf;if(!Array.isArray(M))continue;let x=c.get(M);if(x)x.push(g);else c.set(M,[g])}for(let m of e.intersections)for(let g of c.get(m)??[])Yxt(g)}}let f={};if(e.target==="draft-2020-12")f.$schema="https://json-schema.org/draft/2020-12/schema";else if(e.target==="draft-07")f.$schema="http://json-schema.org/draft-07/schema#";else if(e.target==="draft-04")f.$schema="http://json-schema.org/draft-04/schema#";else if(e.target==="openapi-3.0");if(e.external?.uri){let c=e.external.registry.get(r)?.id;if(!c)throw Error("Schema is missing an `id` property");f.$id=e.external.uri(c)}P2(f,a.defId?a.schema:a.def??a.schema);let s=e.metadataRegistry.get(r)?.id;if(s!==void 0&&f.id===s)delete f.id;let l=e.external?.defs??{};if(!e.external||e.sharedEmitDoneFor!==e.external)for(let c of e.seen.entries()){let m=c[1];if(m.def&&m.defId){if(m.def.id===m.defId)delete m.def.id;Bi(l,m.defId,m.def)}}if(e.external)e.sharedEmitDoneFor=e.external;if(e.external);else if(Object.keys(l).length>0)if(e.target==="draft-2020-12")f.$defs=l;else f.definitions=l;try{let c=JSON.parse(JSON.stringify(f));return Object.defineProperty(c,"~standard",{value:{...r["~standard"],jsonSchema:{input:T2(r,"input",e.processors),output:T2(r,"output",e.processors)}},enumerable:!1,writable:!1}),c}catch(c){throw Error("Error converting schema to JSON.")}}function _s(e,r){let a=r??{seen:new Set};if(a.seen.has(e))return!1;a.seen.add(e);let i=e._zod.def;if(i.type==="transform")return!0;if(i.type==="array")return _s(i.element,a);if(i.type==="set")return _s(i.valueType,a);if(i.type==="lazy")return _s(i.getter(),a);if(i.type==="promise"||i.type==="optional"||i.type==="nonoptional"||i.type==="nullable"||i.type==="readonly"||i.type==="default"||i.type==="prefault"||i.type==="catch")return _s(i.innerType,a);if(i.type==="intersection")return _s(i.left,a)||_s(i.right,a);if(i.type==="record"||i.type==="map")return _s(i.keyType,a)||_s(i.valueType,a);if(i.type==="pipe"){if(e._zod.traits.has("$ZodCodec"))return!0;return _s(i.in,a)||_s(i.out,a)}if(i.type==="object"){for(let f in i.shape)if(_s(i.shape[f],a))return!0;return!1}if(i.type==="union"){for(let f of i.options)if(_s(f,a))return!0;return!1}if(i.type==="tuple"){for(let f of i.items)if(_s(f,a))return!0;if(i.rest&&_s(i.rest,a))return!0;return!1}return!1}var vme=(e,r={})=>(a)=>{let i=hV({...a,processors:r});return In(e,i),gV(i,e),MV(i,e)},T2=(e,r,a={})=>(i)=>{let{libraryOptions:f,target:s}=i??{},l=hV({...f??{},target:s,io:r,processors:a});return In(e,l),gV(l,e),MV(l,e)};var Uxt={guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""},xme=(e,r,a,i)=>{let f=a;f.type="string";let{minimum:s,maximum:l,format:c,patterns:m,contentEncoding:g,laxFormat:M}=e._zod.bag;if(typeof s==="number")f.minLength=s;if(typeof l==="number")f.maxLength=l;if(c){if(f.format=Uxt[c]??c,f.format==="")delete f.format;if(c==="time"||M)delete f.format}if(g)f.contentEncoding=g;if(m&&m.size>0){let x=[...m];if(x.length===1)f.pattern=x[0].source;else if(x.length>1)f.allOf=[...x.map((b)=>({...r.target==="draft-07"||r.target==="draft-04"||r.target==="openapi-3.0"?{type:"string"}:{},pattern:b.source}))]}},yme=(e,r,a,i)=>{let f=a,{minimum:s,maximum:l,format:c,multipleOf:m,exclusiveMaximum:g,exclusiveMinimum:M}=e._zod.bag;if(typeof c==="string"&&c.includes("int"))f.type="integer";else f.type="number";let x=typeof M==="number"&&M>=(s??Number.NEGATIVE_INFINITY),b=typeof g==="number"&&g<=(l??Number.POSITIVE_INFINITY),y=r.target==="draft-04"||r.target==="openapi-3.0";if(x)if(y)f.minimum=M,f.exclusiveMinimum=!0;else f.exclusiveMinimum=M;else if(typeof s==="number")f.minimum=s;if(b)if(y)f.maximum=g,f.exclusiveMaximum=!0;else f.exclusiveMaximum=g;else if(typeof l==="number")f.maximum=l;if(typeof m==="number")if(Number.isFinite(m)&&m!==0)f.multipleOf=Math.abs(m);else Su(e,r,f,i,`A multipleOf divisor of ${m} cannot be represented in JSON Schema`)},bme=(e,r,a,i)=>{a.type="boolean"},_me=(e,r,a,i)=>{Su(e,r,a,i,"BigInt cannot be represented in JSON Schema")};var wme=(e,r,a,i)=>{a.not={}},zme=(e,r,a,i)=>{},Sme=(e,r,a,i)=>{},Lme=(e,r,a,i)=>{Su(e,r,a,i,"Date cannot be represented in JSON Schema")},kme=(e,r,a,i)=>{let f=e._zod.def,s=N5(f.entries);if(s.length===0){a.not={};return}if(s.every((l)=>typeof l==="number"))a.type="number";if(s.every((l)=>typeof l==="string"))a.type="string";a.enum=s},Ime=(e,r,a,i)=>{let f=e._zod.def;if(f.values.length===0){a.not={};return}let s=[];for(let l of f.values)if(l===void 0){if(Su(e,r,a,i,"Literal `undefined` cannot be represented in JSON Schema"))return}else if(typeof l==="bigint"){if(Su(e,r,a,i,"BigInt literals cannot be represented in JSON Schema"))return;s.push(Number(l))}else s.push(l);if(s.length===0);else if(s.length===1){let l=s[0];if(a.type=l===null?"null":typeof l,r.target==="draft-04"||r.target==="openapi-3.0")a.enum=[l];else a.const=l}else{if(s.every((l)=>typeof l==="number"))a.type="number";if(s.every((l)=>typeof l==="string"))a.type="string";if(s.every((l)=>typeof l==="boolean"))a.type="boolean";if(s.every((l)=>l===null))a.type="null";a.enum=s}};var Cme=(e,r,a,i)=>{Su(e,r,a,i,"Custom types cannot be represented in JSON Schema")};var Rme=(e,r,a,i)=>{Su(e,r,a,i,"Transforms cannot be represented in JSON Schema")};var Pme=(e,r,a,i)=>{let f=a,s=e._zod.def,{minimum:l,maximum:c}=e._zod.bag;if(typeof l==="number")f.minItems=l;if(typeof c==="number")f.maxItems=c;f.type="array",f.items=In(s.element,r,{...i,path:[...i.path,"items"]})};function r4(e){let r=e._zod.def;if(r.type==="pipe"&&r.in._zod.traits.has("$ZodTransform"))return r4(r.out);if(r.type==="catch")return r4(r.innerType);return e._zod.optin}var Tme=(e,r,a,i)=>{let f=a,s=e._zod.def,l=s.shape;if(Object.getOwnPropertySymbols(l).length&&Su(e,r,f,i,"Symbol keys cannot be represented in JSON Schema"))return;f.type="object",f.properties={};for(let M in l)Bi(f.properties,M,In(l[M],r,{...i,path:[...i.path,"properties",M]}));let m=new Set(Object.keys(l)),g=new Set([...m].filter((M)=>{let x=s.shape[M];if(r.io==="input")return r4(x)===void 0;else return x._zod.optout===void 0}));if(g.size>0)f.required=Array.from(g);if(s.catchall?._zod.def.type==="never")f.additionalProperties=!1;else if(!s.catchall){if(r.io==="output")f.additionalProperties=!1}else if(s.catchall)f.additionalProperties=In(s.catchall,r,{...i,path:[...i.path,"additionalProperties"]})},Ame=(e,r,a,i)=>{let f=e._zod.def,s=f.inclusive===!1,l=f.options.map((c,m)=>In(c,r,{...i,path:[...i.path,s?"oneOf":"anyOf",m]}));if(s)a.oneOf=l;else a.anyOf=l},Dme=(e,r,a,i)=>{let f=e._zod.def,s=In(f.left,r,{...i,path:[...i.path,"allOf",0]}),l=In(f.right,r,{...i,path:[...i.path,"allOf",1]}),c=(g)=>("allOf"in g)&&Object.keys(g).length===1,m=[...c(s)?s.allOf:[s],...c(l)?l.allOf:[l]];a.allOf=m,r.intersections.push(m)};function vV(e,r,a){if(r.$ref){if(a.has(r))return r;a.add(r);let _=e.get(r)?.def;if(!_)return r;let k=vV(e,_,a);return k===_?r:k}for(let _ of["anyOf","oneOf"]){let k=r[_];if(!Array.isArray(k))continue;let F=k.map((I)=>vV(e,I,a));if(F.some((I,j)=>I!==k[j]))r={...r,[_]:F}}let i=Array.isArray(r.type)?r.type:[r.type],f=!i.includes("string")&&i.some((_)=>_==="number"||_==="integer"),s=r.enum??(r.const!==void 0?[r.const]:void 0);if(!f&&!s?.some((_)=>typeof _==="number"))return r;let{minimum:l,maximum:c,exclusiveMinimum:m,exclusiveMaximum:g,multipleOf:M,format:x,id:b,...y}=r;if(y.enum)y.enum=y.enum.map((_)=>typeof _==="number"?String(_):_);else if(typeof y.const==="number")y.const=String(y.const);if(!f)return y;if(y.type="string",!s)y.pattern=(i.includes("number")?k2:W5).source;return y}var xV=new WeakMap;function qxt(e){let r=new Map;for(let i of e.seen.values())if(i.def&&!r.has(i.schema))r.set(i.schema,i);let a=new Map;for(let i of xV.get(e)??[]){let f=e.seen.get(i),s=(f?.def??f?.schema)?.propertyNames;if(!s||s===!0||a.has(s))continue;let l=vV(r,s,new Set);if(l!==s)a.set(s,l)}if(!a.size)return;for(let i of e.seen.values())for(let f of[i.schema,i.def]){let s=f&&a.get(f.propertyNames);if(s)f.propertyNames=s}}var Eme=(e,r,a,i)=>{let f=a,s=e._zod.def;f.type="object";let l=s.keyType,m=l._zod.bag?.patterns;if(s.mode==="loose"&&m&&m.size>0){let x=In(s.valueType,r,{...i,path:[...i.path,"patternProperties","*"]});f.patternProperties={};for(let b of m)Bi(f.patternProperties,b.source,x)}else{if(r.target==="draft-07"||r.target==="draft-2020-12"){f.propertyNames=In(s.keyType,r,{...i,path:[...i.path,"propertyNames"]});let x=xV.get(r);if(!x)x=[],xV.set(r,x),r.deferred.push(()=>qxt(r));x.push(e)}f.additionalProperties=In(s.valueType,r,{...i,path:[...i.path,"additionalProperties"]})}let g=l._zod.values,M=r.io==="input"&&r4(s.valueType)!==void 0;if(g&&!s.partial&&!M){let x=[...g].filter((b)=>typeof b==="string"||typeof b==="number");if(x.length>0)f.required=x.map(String)}},Ome=(e,r,a,i)=>{let f=e._zod.def,s=In(f.innerType,r,i),l=r.seen.get(e);if(r.target==="openapi-3.0")l.ref=f.innerType,a.nullable=!0;else a.anyOf=[s,{type:"null"}]},jme=(e,r,a,i)=>{let f=e._zod.def;In(f.innerType,r,i);let s=r.seen.get(e);s.ref=f.innerType},yV=Symbol();function Nme(e,r,a,i,f){let s=!1,l=JSON.stringify(e,(c,m)=>{if(typeof m!=="bigint")return m;return s=!0,null});if(!s)return JSON.parse(l);return Su(r,a,i,f,"BigInt defaults cannot be represented in JSON Schema"),yV}var Fme=(e,r,a,i)=>{let f=e._zod.def;In(f.innerType,r,i);let s=r.seen.get(e);s.ref=f.innerType;let l=Nme(f.defaultValue,e,r,a,i);if(l!==yV)a.default=l},Bme=(e,r,a,i)=>{let f=e._zod.def;In(f.innerType,r,i);let s=r.seen.get(e);if(s.ref=f.innerType,r.io!=="input")return;let l=Nme(f.defaultValue,e,r,a,i);if(l!==yV)a._prefault=l},Yme=(e,r,a,i)=>{let f=e._zod.def;In(f.innerType,r,i);let s=r.seen.get(e);s.ref=f.innerType;let l;try{l=f.catchValue(void 0)}catch{Su(e,r,a,i,"Dynamic catch values are not supported in JSON Schema");return}a.default=l},Ume=(e,r,a,i)=>{let f=e._zod.def,s=f.in._zod.traits.has("$ZodTransform"),l=r.io==="input"?s?f.out:f.in:f.out;In(l,r,i);let c=r.seen.get(e);c.ref=l},qme=(e,r,a,i)=>{let f=e._zod.def;In(f.innerType,r,i);let s=r.seen.get(e);s.ref=f.innerType,a.readOnly=!0};var bV=(e,r,a,i)=>{let f=e._zod.def;In(f.innerType,r,i);let s=r.seen.get(e);s.ref=f.innerType},Vme=(e,r,a,i)=>{let f=e._zod.innerType;In(f,r,i);let s=r.seen.get(e);s.ref=f};var Hme=new WeakSet([Object.prototype,Error.prototype]);function o4(e,r,a){Object.defineProperty(e,r,{configurable:!0,enumerable:!1,get(){let i=a(this);return Object.defineProperty(this,r,{value:i,configurable:!0,writable:!0}),i},set(i){Object.defineProperty(this,r,{value:i,configurable:!0,writable:!0})}})}var Jxt=(e,r)=>{U5.init(e,r),e.name="ZodError";let a=Object.getPrototypeOf(e);if(Hme.has(a))return;Hme.add(a),o4(a,"format",(i)=>(f)=>ude(i,f)),o4(a,"flatten",(i)=>(f)=>cde(i,f)),o4(a,"addIssue",(i)=>(f)=>{i.issues.push(f),i.message=JSON.stringify(i.issues,_2,2)}),o4(a,"addIssues",(i)=>(f)=>{i.issues.push(...f),i.message=JSON.stringify(i.issues,_2,2)}),Object.defineProperty(a,"isEmpty",{configurable:!0,enumerable:!1,get(){return this.issues.length===0}})};var Jl=zt("ZodError",Jxt,void 0,{Parent:Error});var Wme=V5(Jl),Gme=H5(Jl),Kme=S2(Jl),Xme=L2(Jl),Qme=pde(Jl),Jme=mde(Jl),$me=hde(Jl),ehe=gde(Jl),the=Mde(Jl),rhe=vde(Jl),ohe=xde(Jl),ahe=yde(Jl);function eyt(){if(!tl.localeError)Ql(oV())}function i4(){if(!tl.memoizer)Ql({memoizer:_pe()})}var Ia=zt("ZodType",(e,r)=>(eyt(),ba.init(e,r),e.def=r,e.type=r.type,e),{check(...e){let r=this.def;return this.clone(D8(r,{checks:[...r.checks??[],...e.map((a)=>typeof a==="function"?{_zod:{check:a,def:{check:"custom"},onattach:[]}}:a)]}),{parent:!0})},with(...e){return this.check(...e)},clone(e,r){return yZ(this,e,r)},brand(){return this},register(e,r){return e.add(this,r),this},refine(e,r){return this.check(Gyt(e,r))},superRefine(e,r){return this.check(Kyt(e,r))},overwrite(e){return this.check(j8(e))},optional(){return fhe(this)},exactOptional(){return Dyt(this)},nullable(){return she(this)},nullish(){return fhe(she(this))},nonoptional(e){return Byt(this,e)},array(){return re(this)},or(e){return Aa([this,e])},and(e){return phe(this,e)},transform(e){return lhe(this,Ayt(e))},default(e){return jyt(this,e)},prefault(e){return Fyt(this,e)},catch(e){return Uyt(this,e)},pipe(e){return lhe(this,e)},readonly(){return Hyt(this)},describe(e){let r=this.clone();return kL.add(r,{description:e}),r},meta(...e){if(e.length===0)return kL.get(this);let r=this.clone();return kL.add(r,e[0]),r},isOptional(){return this.safeParse(void 0).success},isNullable(){return this.safeParse(null).success},apply(e,...r){return r.length===0?e(this):e(this,...r)},get "~standard"(){return E9(this,"~standard",{...Q9(this),jsonSchema:{input:T2(this,"input"),output:T2(this,"output")}})},set "~standard"(e){wL(this,"~standard",e)},parse:function e(r,a){return Wme(this,r,a,{callee:e})},parseAsync:async function e(r,a){return await Gme(this,r,a,{callee:e})},safeParse(e,r){return Kme(this,e,r)},async safeParseAsync(e,r){return Xme(this,e,r)},get spa(){return this?.safeParseAsync},set spa(e){wL(this,"spa",e)},encode:function e(r,a){return Qme(this,r,a,{callee:e})},decode:function e(r,a){return Jme(this,r,a,{callee:e})},encodeAsync:async function e(r,a){return await $me(this,r,a,{callee:e})},decodeAsync:async function e(r,a){return await ehe(this,r,a,{callee:e})},safeEncode(e,r){return the(this,e,r)},safeDecode(e,r){return rhe(this,e,r)},async safeEncodeAsync(e,r){return ohe(this,e,r)},async safeDecodeAsync(e,r){return ahe(this,e,r)},toJSONSchema(e){return vme(this,{})(e)},get description(){return kL.get(this)?.description},get _def(){return this._zod.def}}),che=zt("_ZodString",(e,r)=>{Q5.init(e,r),Ia.init(e,r),e._zod.processJSONSchema=(i,f,s)=>xme(e,i,f,s);let a=e._zod.bag;e.format=a.format??null,e.minLength=a.minimum??null,e.maxLength=a.maximum??null},{regex(...e){return this.check(aV(...e))},includes(...e){return this.check(fV(...e))},startsWith(...e){return this.check(sV(...e))},endsWith(...e){return this.check(lV(...e))},min(...e){return this.check(J1(...e))},max(...e){return this.check(e4(...e))},length(...e){return this.check(t4(...e))},nonempty(...e){return this.check(J1(1,...e))},lowercase(e){return this.check(nV(e))},uppercase(e){return this.check(iV(e))},trim(){return this.check(uV())},normalize(...e){return this.check(cV(...e))},toLowerCase(){return this.check(dV())},toUpperCase(){return this.check(ZV())},slugify(){return this.check(pV())}}),_V=zt("ZodString",(e,r)=>{Q5.init(e,r),che.init(e,r)},{email(e){return this.check(kpe(nyt,e))},url(e){return this.check(Ape(fyt,e))},jwt(e){return this.check(Kpe(byt,e))},emoji(e){return this.check(Dpe(syt,e))},guid(e){return this.check(Ipe(iyt,e))},uuid(e){return this.check(Cpe(a4,e))},uuidv4(e){return this.check(Rpe(a4,e))},uuidv6(e){return this.check(Ppe(a4,e))},uuidv7(e){return this.check(Tpe(a4,e))},nanoid(e){return this.check(Epe(lyt,e))},cuid(e){return this.check(Ope(cyt,e))},cuid2(e){return this.check(jpe(uyt,e))},ulid(e){return this.check(Npe(dyt,e))},base64(e){return this.check(Hpe(vyt,e))},base64url(e){return this.check(Wpe(xyt,e))},xid(e){return this.check(Fpe(Zyt,e))},ksuid(e){return this.check(Bpe(pyt,e))},ipv4(e){return this.check(Ype(myt,e))},ipv6(e){return this.check(Upe(hyt,e))},cidrv4(e){return this.check(qpe(gyt,e))},cidrv6(e){return this.check(Vpe(Myt,e))},e164(e){return this.check(Gpe(yyt,e))},datetime(e){return this.check(Xpe(tyt,e))},date(e){return this.check(Qpe(ryt,e))},time(e){return this.check(Jpe(oyt,e))},duration(e){return this.check($pe(ayt,e))}});function p(e){return Spe(_V,e)}var sn=zt("ZodStringFormat",(e,r)=>{on.init(e,r),che.init(e,r)}),tyt=zt("ZodISODateTime",(e,r)=>{PZe.init(e,r),sn.init(e,r)}),ryt=zt("ZodISODate",(e,r)=>{TZe.init(e,r),sn.init(e,r)}),oyt=zt("ZodISOTime",(e,r)=>{AZe.init(e,r),sn.init(e,r)}),ayt=zt("ZodISODuration",(e,r)=>{DZe.init(e,r),sn.init(e,r)}),nyt=zt("ZodEmail",(e,r)=>{yZe.init(e,r),sn.init(e,r)});var iyt=zt("ZodGUID",(e,r)=>{vZe.init(e,r),sn.init(e,r)});var a4=zt("ZodUUID",(e,r)=>{xZe.init(e,r),sn.init(e,r)});var fyt=zt("ZodURL",(e,r)=>{wZe.init(e,r),sn.init(e,r)});var syt=zt("ZodEmoji",(e,r)=>{zZe.init(e,r),sn.init(e,r)});var lyt=zt("ZodNanoID",(e,r)=>{SZe.init(e,r),sn.init(e,r)});var cyt=zt("ZodCUID",(e,r)=>{LZe.init(e,r),sn.init(e,r)});var uyt=zt("ZodCUID2",(e,r)=>{kZe.init(e,r),sn.init(e,r)});var dyt=zt("ZodULID",(e,r)=>{IZe.init(e,r),sn.init(e,r)});var Zyt=zt("ZodXID",(e,r)=>{CZe.init(e,r),sn.init(e,r)});var pyt=zt("ZodKSUID",(e,r)=>{RZe.init(e,r),sn.init(e,r)});var myt=zt("ZodIPv4",(e,r)=>{EZe.init(e,r),sn.init(e,r)});var hyt=zt("ZodIPv6",(e,r)=>{jZe.init(e,r),sn.init(e,r)});var gyt=zt("ZodCIDRv4",(e,r)=>{NZe.init(e,r),sn.init(e,r)});var Myt=zt("ZodCIDRv6",(e,r)=>{FZe.init(e,r),sn.init(e,r)});var vyt=zt("ZodBase64",(e,r)=>{YZe.init(e,r),sn.init(e,r)});var xyt=zt("ZodBase64URL",(e,r)=>{UZe.init(e,r),sn.init(e,r)});var yyt=zt("ZodE164",(e,r)=>{qZe.init(e,r),sn.init(e,r)});var byt=zt("ZodJWT",(e,r)=>{VZe.init(e,r),sn.init(e,r)});var f4=zt("ZodNumber",(e,r)=>{J9.init(e,r),Ia.init(e,r),e._zod.processJSONSchema=(i,f,s)=>yme(e,i,f,s);let a=e._zod.bag;e.minValue=Math.max(a.minimum??Number.NEGATIVE_INFINITY,a.exclusiveMinimum??Number.NEGATIVE_INFINITY)??null,e.maxValue=Math.min(a.maximum??Number.POSITIVE_INFINITY,a.exclusiveMaximum??Number.POSITIVE_INFINITY)??null,e.isInt=(a.format??"").includes("int")||Number.isSafeInteger(a.multipleOf??0.5),e.isFinite=!0,e.format=a.format??null},{gt(e,r){return this.check(Q1(e,r))},gte(e,r){return this.check(uM(e,r))},min(e,r){return this.check(uM(e,r))},lt(e,r){return this.check(X1(e,r))},lte(e,r){return this.check(cM(e,r))},max(e,r){return this.check(cM(e,r))},int(e){return this.check(nhe(e))},safe(e){return this.check(nhe(e))},positive(e){return this.check(Q1(0,e))},nonnegative(e){return this.check(uM(0,e))},negative(e){return this.check(X1(0,e))},nonpositive(e){return this.check(cM(0,e))},multipleOf(e,r){return this.check(R2(e,r))},step(e,r){return this.check(R2(e,r))},finite(){return this}});function er(e){return eme(f4,e)}var _yt=zt("ZodNumberFormat",(e,r)=>{HZe.init(e,r),f4.init(e,r)});function nhe(e){return rme(_yt,e)}var wV=zt("ZodBoolean",(e,r)=>{WZe.init(e,r),Ia.init(e,r),e._zod.processJSONSchema=(a,i,f)=>bme(e,a,i,f)});function Dr(e){return ome(wV,e)}var uhe=zt("ZodBigInt",(e,r)=>{GZe.init(e,r),Ia.init(e,r),e._zod.processJSONSchema=(i,f,s)=>_me(e,i,f,s);let a=e._zod.bag;e.minValue=a.minimum??null,e.maxValue=a.maximum??null,e.format=a.format??null},{gte(e,r){return this.check(uM(e,r))},min(e,r){return this.check(uM(e,r))},gt(e,r){return this.check(Q1(e,r))},lt(e,r){return this.check(X1(e,r))},lte(e,r){return this.check(cM(e,r))},max(e,r){return this.check(cM(e,r))},positive(e){return this.check(Q1(BigInt(0),e))},negative(e){return this.check(X1(BigInt(0),e))},nonpositive(e){return this.check(cM(BigInt(0),e))},nonnegative(e){return this.check(uM(BigInt(0),e))},multipleOf(e,r){return this.check(R2(e,r))}});var wyt=zt("ZodAny",(e,r)=>{KZe.init(e,r),Ia.init(e,r),e._zod.processJSONSchema=(a,i,f)=>zme(e,a,i,f)});function ws(){return ime(wyt)}var zyt=zt("ZodUnknown",(e,r)=>{XZe.init(e,r),Ia.init(e,r),e._zod.processJSONSchema=(a,i,f)=>Sme(e,a,i,f)});function wZ(){return fme(zyt)}var Syt=zt("ZodNever",(e,r)=>{QZe.init(e,r),Ia.init(e,r),e._zod.processJSONSchema=(a,i,f)=>wme(e,a,i,f)});function Lyt(e){return sme(Syt,e)}var zV=zt("ZodDate",(e,r)=>{JZe.init(e,r),Ia.init(e,r),e._zod.processJSONSchema=(i,f,s)=>Lme(e,i,f,s),e.min=(i,f)=>e.check(uM(i,f)),e.max=(i,f)=>e.check(cM(i,f));let a=e._zod.bag;e.minDate=a.minimum?new Date(a.minimum):null,e.maxDate=a.maximum?new Date(a.maximum):null});function Gn(e){return lme(zV,e)}var kyt=zt("ZodArray",(e,r)=>{i4(),$Ze.init(e,r),Ia.init(e,r),e._zod.processJSONSchema=(a,i,f)=>Pme(e,a,i,f),e.element=r.element},{min(e,r){return this.check(J1(e,r))},nonempty(e){return this.check(J1(1,e))},max(e,r){return this.check(e4(e,r))},length(e,r){return this.check(t4(e,r))},unwrap(){return this.element}});function re(e,r){return ume(kyt,e,r)}var Iyt=zt("ZodObject",(e,r)=>{i4(),rpe.init(e,r),Ia.init(e,r),e._zod.processJSONSchema=(a,i,f)=>Tme(e,a,i,f),mxt(e,"shape",(a)=>a._zod.def.shape,!1)},{keyof(){return We(Object.keys(this._zod.def.shape))},catchall(e){return this.clone({...this._zod.def,catchall:e})},passthrough(){return this.clone({...this._zod.def,catchall:wZ()})},loose(){return this.clone({...this._zod.def,catchall:wZ()})},strict(){return this.clone({...this._zod.def,catchall:Lyt()})},strip(){return this.clone({...this._zod.def,catchall:void 0})},extend(e){return fxt(this,e)},safeExtend(e){return sxt(this,e)},merge(e){return lxt(this,e)},pick(e){return nxt(this,e)},omit(e){return ixt(this,e)},partial(...e){return tde(mhe,this,e[0])},exactPartial(...e){return tde(hhe,this,e[0],"exactPartial")},required(...e){return cxt(ghe,this,e[0])}});function P(e,r){let a={type:"object",shape:e??{},...zr(r)};return new Iyt(a)}var dhe=zt("ZodUnion",(e,r)=>{$9.init(e,r),Ia.init(e,r),e._zod.processJSONSchema=(a,i,f)=>Ame(e,a,i,f),e.options=r.options});function Aa(e,r){return new dhe({type:"union",options:e,...zr(r)})}var Cyt=zt("ZodDiscriminatedUnion",(e,r)=>{dhe.init(e,r),ope.init(e,r)});function Zhe(e,r,a){return new Cyt({type:"union",options:r,discriminator:e,...zr(a)})}var Ryt=zt("ZodIntersection",(e,r)=>{ape.init(e,r),Ia.init(e,r),e._zod.processJSONSchema=(a,i,f)=>Dme(e,a,i,f)});function phe(e,r){return new Ryt({type:"intersection",left:e,right:r})}var ihe=zt("ZodRecord",(e,r)=>{i4(),npe.init(e,r),Ia.init(e,r),e._zod.processJSONSchema=(a,i,f)=>Eme(e,a,i,f),e.keyType=r.keyType,e.valueType=r.valueType});function IL(e,r,a){if(!r||!r._zod)return new ihe({type:"record",keyType:p(),valueType:e,...zr(r)});return new ihe({type:"record",keyType:e,valueType:r,...zr(a)})}var n4=zt("ZodEnum",(e,r)=>{ipe.init(e,r),Ia.init(e,r),e._zod.processJSONSchema=(i,f,s)=>kme(e,i,f,s),e.enum=r.entries,e.options=Object.values(r.entries);let a=new Set(Object.keys(r.entries));e.extract=(i,f)=>{let s={};for(let l of i)if(a.has(l))s[l]=r.entries[l];else throw Error(`Key ${l} not found in enum`);return new n4({...r,checks:[],...zr(f),entries:s})},e.exclude=(i,f)=>{let s={...r.entries};for(let l of i)if(a.has(l))delete s[l];else throw Error(`Key ${l} not found in enum`);return new n4({...r,checks:[],...zr(f),entries:s})}});function We(e,r){let a=Array.isArray(e)?Object.fromEntries(e.map((i)=>[i,i])):e;return new n4({type:"enum",entries:a,...zr(r)})}function _a(e,r){return new n4({type:"enum",entries:e,...zr(r)})}var Pyt=zt("ZodLiteral",(e,r)=>{fpe.init(e,r),Ia.init(e,r),e._zod.processJSONSchema=(a,i,f)=>Ime(e,a,i,f),e.values=new Set(r.values),Object.defineProperty(e,"value",{get(){if(r.values.length>1)throw Error("This schema contains multiple valid literal values. Use `.values` instead.");return r.values[0]}})});function dM(e,r){return new Pyt({type:"literal",values:Array.isArray(e)?e:[e],...zr(r)})}var Tyt=zt("ZodTransform",(e,r)=>{i4(),spe.init(e,r),Ia.init(e,r),e._zod.processJSONSchema=(a,i,f)=>Rme(e,a,i,f),e._zod.parse=(a,i)=>{if(i.direction==="backward")throw new z2(e.constructor.name);a.addIssue=(s)=>{if(typeof s==="string")a.issues.push(LL(s,a.value,r));else{let l=s;if(l.fatal)l.continue=!1;if(l.code??(l.code="custom"),!("input"in l))l.input=a.value;l.inst??(l.inst=e),a.issues.push(LL(l))}};let f=r.transform(a.value,a);if(f instanceof Promise)return f.then((s)=>(a.value=s,a));return a.value=f,a}});function Ayt(e){return new Tyt({type:"transform",transform:e})}var mhe=zt("ZodOptional",(e,r)=>{eV.init(e,r),Ia.init(e,r),e._zod.processJSONSchema=(a,i,f)=>bV(e,a,i,f),e.unwrap=()=>e._zod.def.innerType});function fhe(e){return new mhe({type:"optional",innerType:e})}var hhe=zt("ZodExactOptional",(e,r)=>{lpe.init(e,r),Ia.init(e,r),e._zod.processJSONSchema=(a,i,f)=>bV(e,a,i,f),e.unwrap=()=>e._zod.def.innerType});function Dyt(e){return new hhe({type:"optional",innerType:e})}var Eyt=zt("ZodNullable",(e,r)=>{cpe.init(e,r),Ia.init(e,r),e._zod.processJSONSchema=(a,i,f)=>Ome(e,a,i,f),e.unwrap=()=>e._zod.def.innerType});function she(e){return new Eyt({type:"nullable",innerType:e})}var Oyt=zt("ZodDefault",(e,r)=>{upe.init(e,r),Ia.init(e,r),e._zod.processJSONSchema=(a,i,f)=>Fme(e,a,i,f),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap});function jyt(e,r){return new Oyt({type:"default",innerType:e,get defaultValue(){return typeof r==="function"?r():T9(r)}})}var Nyt=zt("ZodPrefault",(e,r)=>{dpe.init(e,r),Ia.init(e,r),e._zod.processJSONSchema=(a,i,f)=>Bme(e,a,i,f),e.unwrap=()=>e._zod.def.innerType});function Fyt(e,r){return new Nyt({type:"prefault",innerType:e,get defaultValue(){return typeof r==="function"?r():T9(r)}})}var ghe=zt("ZodNonOptional",(e,r)=>{Zpe.init(e,r),Ia.init(e,r),e._zod.processJSONSchema=(a,i,f)=>jme(e,a,i,f),e.unwrap=()=>e._zod.def.innerType});function Byt(e,r){return new ghe({type:"nonoptional",innerType:e,...zr(r)})}var Yyt=zt("ZodCatch",(e,r)=>{ppe.init(e,r),Ia.init(e,r),e._zod.processJSONSchema=(a,i,f)=>Yme(e,a,i,f),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap});function Uyt(e,r){return new Yyt({type:"catch",innerType:e,catchValue:typeof r==="function"?r:nde(r)})}var qyt=zt("ZodPipe",(e,r)=>{mpe.init(e,r),Ia.init(e,r),e._zod.processJSONSchema=(a,i,f)=>Ume(e,a,i,f),e.in=r.in,e.out=r.out});function lhe(e,r){return new qyt({type:"pipe",in:e,out:r})}var Vyt=zt("ZodReadonly",(e,r)=>{hpe.init(e,r),Ia.init(e,r),e._zod.processJSONSchema=(a,i,f)=>qme(e,a,i,f),e.unwrap=()=>e._zod.def.innerType});function Hyt(e){return new Vyt({type:"readonly",innerType:e})}var Wyt=zt("ZodLazy",(e,r)=>{gpe.init(e,r),Ia.init(e,r),e._zod.processJSONSchema=(a,i,f)=>Vme(e,a,i,f),e.unwrap=()=>e._zod.def.getter()});function SV(e){return new Wyt({type:"lazy",getter:e})}var Mhe=zt("ZodCustom",(e,r)=>{Mpe.init(e,r),Ia.init(e,r),e._zod.processJSONSchema=(a,i,f)=>Cme(e,a,i,f)});function Gyt(e,r={}){return dme(Mhe,e,r)}function Kyt(e,r){return Zme(e,r)}function vhe(e,r={}){let a=new Mhe({type:"custom",check:"custom",fn:(i)=>i instanceof e,abort:!0,...zr(r)});return a._zod.bag.Class=e,a._zod.check=(i)=>{if(!(i.value instanceof e))i.issues.push({code:"invalid_type",expected:e.name,input:i.value,inst:a,path:[...a._zod.def.path??[]]})},a}var eo={invalid_type:"invalid_type",too_big:"too_big",too_small:"too_small",invalid_format:"invalid_format",not_multiple_of:"not_multiple_of",unrecognized_keys:"unrecognized_keys",invalid_union:"invalid_union",invalid_key:"invalid_key",invalid_element:"invalid_element",invalid_value:"invalid_value",custom:"custom"};var xhe;(function(e){})(xhe||(xhe={}));var D2={};Oe(D2,{bigint:()=>ebt,boolean:()=>$yt,date:()=>tbt,number:()=>Jyt,string:()=>Qyt});function Qyt(e){return Lpe(_V,e)}function Jyt(e){return tme(f4,e)}function $yt(e){return ame(wV,e)}function ebt(e){return nme(uhe,e)}function tbt(e){return cme(zV,e)}var s4={human:"human",agent:"agent"};var LV={editor:"editor",reviewer:"reviewer"};var yhe={team:"team",project:"project"};var bhe={all_members:"all_members",each_member:"each_member",selected_members:"selected_members"};var _he={agent_total_tokens:"agent_total_tokens",agent_cost:"agent_cost",agent_mcp_call_count:"agent_mcp_call_count",agent_bash_call_count:"agent_bash_call_count",agent_tool_call_count:"agent_tool_call_count"},Qe={TODO:"TODO",READY:"READY",IN_PROGRESS:"IN_PROGRESS",BLOCKED:"BLOCKED",IN_REVIEW:"IN_REVIEW",DONE:"DONE"},Br={LOW:"LOW",MEDIUM:"MEDIUM",HIGH:"HIGH",URGENT:"URGENT"},tf={CREATED:"CREATED",STATUS_CHANGED:"STATUS_CHANGED",ASSIGNED:"ASSIGNED",UNASSIGNED:"UNASSIGNED",COMMENTED:"COMMENTED",CHANGES_REQUESTED:"CHANGES_REQUESTED",BLOCKED:"BLOCKED",UNBLOCKED:"UNBLOCKED",PRIORITY_CHANGED:"PRIORITY_CHANGED",GOAL_CHANGED:"GOAL_CHANGED",DEPENDENCY_ADDED:"DEPENDENCY_ADDED",DEPENDENCY_REMOVED:"DEPENDENCY_REMOVED"},whe={chat:"chat",autofill:"autofill",embedding:"embedding"};var rbt=["avatar-1","avatar-2","avatar-3","avatar-4","avatar-5","avatar-6","avatar-7","avatar-8"];var obt={"avatar-1":"UklGRtInAABXRUJQVlA4IMYnAACwmACdASosASwBPm0ylUekIyIhp1L7UIANiWVu3P6nGjxxkZZTIvmXwJRUeg/Jf+ndPZ0L4H6mVI3YJ/D/tH5j9vT9C/6f3AP1d/Xz+79l/zDfsj6yP+59R39j/y/sAf3r/VdZ36EXly+0Z+6/peaqTMC4q/u/7z45+fr5VuB3l+xvUg7u/5f+G9tH9D3q/Lv/a9Qj25/vvGH2lFyP2J9gX3F+8f9H1AfzfM/+G/0nsBfrb/0PZDvp/yf/H9gP+nf4j9lPeL/2PKX+yf8H2F/6D1Of3o9pv9uzXj2UCILxSqTJtnLrjF0IFB27Vo5QPaRJKEf73CFDiYb46kQh9ZimTAfOlbMytbJDx1VHoVO115vAHuMthHxJoOL/D/OOWk7DrZTEtbvTiXzvmXoZSFox8u7pVGZ4TmovMKAMAZtbdgS8p6MNEYUl2x4pPMe0bPqCNISczDauiMeOe/Bgos4oXilTgIe/4FB/KBRUIV0FiVRnmPndzO7QLVRnyoYI+oKPA/heN/n2wfElNcnOExdS6iaO/IIjkYWljnuIe8akKIWAkomDcGMr2fPIiNFXCNFxgRCTPFdGc+T/b2dMMLNdN3KjGjeGMzQe4UURLfl5oiFEw5Pu5y0fFhDnYhvS7Ezpsb54rvwP+ycBblMc5VRkMxpWgi7zlkUUOIzcsp8rJvOWHryMg36mIXa1xMNyp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oZxVRSmY0orTzQgjc3Vb1qUNhw1sf+pzbcaq1cUKzDT0S0UJuN1KK2ZWrt3jSW9GtYzf/4p/Wte+gT0BeWuuGk8CWJhTwcjrkF8bzYCm3Sht9Av1I8sC7HI1yRwa1wBybvlrPjWRR6Jfkyb0YxACVUzGy678cj/fDKSBH/7hlbS4hB6It3rJbQTz8zCfQ2WdhV7n27w4n5o3cyZK2PDXtRnQqBXpHxIxrxRPcUB/GO9z8TzlY2e0cexQbZ3HkD/bupeupZVrpjIq1k9/EwyB+EEGeNHb63rBnxbgSVuEWo0b3WihxMTaZTyre7jogHA2nw8INlzaWrb2Is+v9I5xQN5elt2+hXPAyR160GZ6Ij6NAJPHLEMhw5M7JszydIJxX6bekzNdInyXDwLp5B/pGOIBmgYqQj3NERx5UzJGwruLTFZvHgUj42OMzurfF7niHyu6gM//+uZn94CG5+kMmCCldqOGMrVqWosLAAAAA=="},Gc=rbt.map((e)=>({id:e,preview:`data:image/webp;base64,${obt[e]}`}));var zhe=_a(whe),Qc=We(["off","minimal","low","medium","high","xhigh"]),kV=We(["owner","editor","reviewer"]),Kg=["delete_asset"],abt=P({id:p().optional(),skillId:p(),skill:P({id:p(),name:p()}).optional()}),bvn=P({id:p(),name:p(),type:zhe,enabled:Dr(),permission:kV.optional().default("reviewer"),avatar:p().optional(),avatarPreset:p().optional(),providerId:p().optional(),modelId:p().optional(),thinkingLevel:Qc.optional().default("off"),systemPrompt:p().optional(),soul:p().optional(),skills:re(abt).optional(),mcpServerIds:re(p()).optional(),deniedTools:re(p()).optional()}),She=P({name:p().min(1),type:zhe,enabled:Dr().optional().default(!0),permission:kV.optional(),avatar:p().optional(),providerId:p().optional(),modelId:p().optional(),thinkingLevel:Qc.optional().default("off"),systemPrompt:p().optional(),soul:p().optional(),skills:re(p()).optional(),mcpServerIds:re(p()).optional(),deniedTools:re(p()).optional()}),_vn=She.superRefine((e,r)=>{if(e.type==="chat"||e.type==="autofill"){if(!e.providerId)r.addIssue({code:eo.custom,message:"providerId is required for chat/autofill agents",path:["providerId"]});if(!e.modelId)r.addIssue({code:eo.custom,message:"modelId is required for chat/autofill agents",path:["modelId"]})}}),wvn=She.superRefine((e,r)=>{if(e.type==="chat"||e.type==="autofill"){if(!e.providerId)r.addIssue({code:eo.custom,message:"providerId is required for chat/autofill agents",path:["providerId"]});if(!e.modelId)r.addIssue({code:eo.custom,message:"modelId is required for chat/autofill agents",path:["modelId"]})}}),zvn=P({permission:kV}),Svn=P({id:p(),sessionId:p(),entry:wZ()}),Lvn=P({id:p(),name:p().nullable().optional(),type:p(),createdAt:p(),creator:P({id:p(),name:p().nullable().optional(),email:p().nullable().optional(),image:p().nullable().optional()}).nullable().optional(),agentId:p().optional()});var Rvn=P({apiKey:p().optional(),baseUrl:p().optional(),chatModels:re(p()).optional()}),nbt=We(["1h","24h","7d","30d"]),Pvn=P({timeframe:nbt.default("30d"),userId:p().optional()});var N8=P({cursor:p().optional(),total:er().optional(),totalSize:er().optional()}),rl=P({first:D2.number().optional(),after:p().optional()});var jvn=P({data:re(SV(()=>cbt)),pageInfo:N8}),khe=P({proxyType:We(["image","video","audio","pdf"]).nullable().optional(),thumbnailUrl:p().optional(),originalHeight:er().optional(),originalWidth:er().optional(),spriteUrl:p().optional(),duration:er().optional(),pageCount:er().optional()}),ibt=P({type:p().nullable(),preview:khe.nullable()}),l4=P({id:p(),name:p(),image:p().optional()}),Lhe=P({id:p(),name:p()}),fbt=P({fieldId:p(),value:ws()}),sbt=P({id:p(),name:p()}),lbt=P({duration:er().optional(),originalWidth:er().optional(),originalHeight:er().optional(),frameRate:er().optional(),totalFrames:er().optional(),startTimecode:p().optional()}),cbt=P({id:p(),name:p(),sizeByte:er(),fileCount:er(),type:p(),targetType:p().optional().nullable(),status:p(),proxyType:We(["image","video","audio","pdf"]).nullable().optional(),latestChildren:re(ibt).optional(),preview:khe.nullable().optional(),createdAt:p(),updatedAt:p(),deletedAt:p().nullable().optional(),projectId:p().optional().nullable(),creator:l4.nullable().optional(),agentId:p().optional().nullable(),agent:Lhe.optional().nullable(),fieldValues:re(fbt).optional(),sortIndex:p().optional().nullable(),startTime:er().optional().nullable(),endTime:er().optional().nullable(),hasAgentsMd:Dr().optional(),media:P({original:P({key:p().optional()}).optional(),videoTranscodes:re(P({id:p(),url:p(),key:p(),width:er(),height:er(),size:er()})).optional(),imageTranscodes:re(P({id:p(),url:p(),key:p(),width:er(),height:er(),size:er()})).optional(),videoPreview:P({url:p(),key:p().optional()}).optional(),pdfTranscode:P({url:p(),key:p().optional()}).optional(),proxyType:We(["image","video","audio","pdf"]).nullable().optional(),metadata:lbt.optional()}).optional(),ancestorFolders:re(sbt).optional(),versionStack:P({id:p(),versions:re(P({version:er(),current:Dr(),id:p(),name:p().optional().nullable(),previewUrl:p().optional().nullable(),createdAt:p().optional().nullable(),creator:P({id:p(),name:p().nullable(),image:p().optional().nullable()}).nullable().optional(),agent:Lhe.optional().nullable()}))}).optional().nullable()}),Nvn=P({name:p(),type:p(),projectId:p().optional(),parentId:p().optional(),key:p().optional(),sizeByte:er().optional(),contentType:p().optional(),creatorId:p().optional(),agentId:p().optional()}),Fvn=P({assetId:p()}),Bvn=P({id:p(),name:p()}),IV=We(["file","folder","all"]),Yvn=P({assetId:p().optional(),assetType:IV.optional().default("all"),projectId:p().optional(),showDeleted:Dr().optional(),prefix:p().optional(),sort:p().optional(),order:p().optional(),...rl.shape}),Uvn=P({assetId:p(),userId:p(),replyToId:p().optional(),message:p(),annotations:ws().optional(),second:er().optional(),attachmentIds:re(p())}),ubt=P({id:p(),assetId:p(),url:p(),proxyType:We(["image","video","audio","pdf"]).nullable().optional()}),dbt=P({id:p(),assetId:p(),message:p().nullable(),annotations:ws(),second:er().nullable(),creator:l4,replies:re(SV(()=>dbt)),attachments:re(ubt),mentions:re(l4),createdAt:p(),updatedAt:p(),sessionId:p().nullable(),isCompleted:Dr(),completionLastChangedBy:l4.nullable()}),qvn=P({isCompleted:Dr()}),Vvn=P({newParentId:p(),assetIds:re(p()),creatorId:p().optional()}),Hvn=P({newParentId:p(),assetIds:re(p()),withComments:Dr().default(!1),creatorId:p().optional()}),Wvn=P({name:p()}),Gvn=P({beforeIndex:p().optional(),afterIndex:p().optional()}),Kvn=P({ids:re(p())}),Xvn=P({ids:re(p())}),Qvn=P({file:vhe(File)}),Jvn=P({key:p()}),$vn=P({fileName:p(),contentType:p(),size:er()}),e8n=P({id:p(),uploadUrl:p()}),t8n=P({ids:re(p())}),Zbt=P({id:p(),name:p(),url:p()}),r8n=P({files:re(Zbt)});var n8n=P({userCount:er()}),i8n=P({name:p().min(1,"Name is required").max(100,"Name is too long")}),f8n=P({id:p(),token:p(),name:p(),createdAt:p()});var pbt=We(["is","eq","neq","gt","gte","lt","lte","contains","notContains","isEmpty","isNotEmpty","in","notIn","hasAny","hasAll","hasNone","isWithin"]),mbt=P({field:p(),operator:pbt,value:ws()}),hbt=We(["asc","desc"]),gbt=P({field:p(),order:hbt}),Mbt=We(["AND","OR"]),vbt=We(["file","folder"]),CV=P({operator:Mbt.optional().default("AND"),conditions:re(mbt).optional().default([]),sort:gbt.optional(),assetType:vbt.optional(),showSymlink:Dr().optional(),recursively:Dr().optional().default(!0),query:p().optional(),isSemantic:Dr().optional().default(!1)}),u8n=CV.extend(rl.shape);var RV=P({sourceFolderId:p(),searchFilter:CV}),xbt=P({id:p(),name:p(),filter:RV,projectId:p(),createdAt:p(),updatedAt:p(),creator:P({id:p(),name:p(),image:p().optional().nullable()}).optional().nullable()}),h8n=P({name:p(),filter:RV}),g8n=P({name:p().optional(),filter:RV.optional()});var M8n=P({data:re(xbt),pageInfo:P({cursor:p().optional(),total:er().optional()})});var y8n=P({name:p(),parentId:p()}),b8n=P({name:p()}),_8n=P({ids:re(p())}),w8n=P({ids:re(p())}),z8n=P({content:p().max(1e5)});var I8n=P({code:p(),role:p(),teamId:p(),teamName:p(),projectId:p().optional(),projectName:p().optional(),inviterName:p(),isUsed:Dr()}),C8n=P({role:_a(LV)}),R8n=P({role:_a(LV)}),P8n=P({code:p()});var Mr={text:"text",longText:"longText",select:"select",selectMulti:"selectMulti",rating:"rating",number:"number",toggle:"toggle",date:"date",user:"user",userMulti:"userMulti"},xr={NONE:"NONE",CONTENT:"CONTENT",CREATION_CONTEXT:"CREATION_CONTEXT"},O8n=P({id:p(),displayName:p(),color:p().optional()}),PV=P({name:p(),type:We(["text","longText","select","selectMulti","rating","number","toggle","date","user","userMulti"]),autofillSource:_a(xr).optional(),text:ws().optional(),longText:ws().optional(),select:ws().optional(),selectMulti:ws().optional(),rating:ws().optional(),number:ws().optional(),toggle:ws().optional(),date:ws().optional(),user:ws().optional(),userMulti:ws().optional()}),j8n=P({key:p().optional(),label:p().optional(),scope:p().optional(),config:PV,description:p().default("")}),N8n=P({label:p().optional(),config:PV,description:p().optional()}),ybt=P({fieldId:p(),visible:Dr()}),F8n=re(ybt),bbt=P({key:p(),value:ws()}),B8n=re(bbt),Y8n=P({id:p(),config:PV,scope:p(),readOnly:Dr(),visible:Dr(),description:p()});var Ihe=We(["auto","none","bearer","oauth"]),TV=We(["streamable_http","sse"]),c4=We(["owner","editor","reviewer"]),_bt=P({grantType:We(["authorization_code","client_credentials"]).optional(),clientId:p().optional(),clientSecret:p().optional(),scope:p().optional(),authorizationParams:IL(p(),p()).optional(),redirectUri:p().optional(),clientName:p().optional(),clientUri:p().optional(),skipIssuerMetadataValidation:Dr().optional()}),Che=P({type:Ihe.optional(),bearerToken:p().optional(),headers:IL(p(),p()).optional(),oauth:_bt.optional()}),AV=P({excludeTools:re(p()).optional(),requestTimeoutMs:er().int().positive().optional(),idleTimeoutMs:er().int().positive().optional(),keepAlive:Dr().optional(),protocolVersion:We(["legacy","auto","2026-07-28"]).optional(),directTools:re(p()).optional()}),wbt=P({name:p(),title:p().optional(),description:p().optional(),inputSchema:wZ().optional()}),V8n=P({url:p().url(),transport:TV.optional(),authConfig:Che.optional(),config:AV.optional(),permission:c4.optional()}),H8n=P({transport:TV.optional(),authConfig:Che.optional(),config:AV.optional(),permission:c4.optional()}),W8n=P({permission:c4}),zbt=P({id:p(),name:p(),description:p().optional(),instructions:p().optional(),url:p(),transport:TV,authType:Ihe,config:AV.optional(),permission:c4,status:p(),lastError:p().nullable().optional(),toolCount:er(),hasCredential:Dr(),createdAt:p(),updatedAt:p()}),G8n=P({servers:re(zbt)}),K8n=P({}),X8n=P({tools:re(wbt)}),Rhe=We(["authenticated","expired","not_authenticated","in_progress"]),Q8n=P({status:Rhe}),J8n=P({authorizationUrl:p().optional(),status:Rhe}),$8n=P({code:p(),iss:p().optional()}),exn=P({ok:Dr(),toolCount:er(),message:p().optional()});var Phe=P({id:p().optional(),name:p().optional(),role:p().optional()}),The=P({id:p().optional(),name:p().optional()}),Sbt=P({id:p().optional(),proxyType:We(["image","video","audio","pdf"]).nullable().optional(),name:p().optional(),preview:p().optional(),thumbnailUrl:p().optional(),originalWidth:er().optional(),originalHeight:er().optional()}),Lbt=P({id:p().optional(),title:p().optional(),status:p().optional()}),oxn=P({id:p().optional(),creator:Phe.optional(),type:p().optional(),team:The.optional(),project:The.optional(),asset:Sbt.optional(),kanbanTask:Lbt.optional(),user:Phe.optional(),createdAt:p().optional(),isRead:Dr().optional()}),axn=P({unreadOnly:Aa([Dr(),p()]).transform((e)=>e===!0||e==="true").optional(),after:p().optional(),pageSize:D2.number().optional()}),nxn=P({notificationId:p().min(1)}),ixn=P({comments:Dr().default(!0),replies:Dr().default(!0),mentions:Dr().default(!0),yourUploads:Dr().default(!1),otherUploads:Dr().default(!0),statusUpdates:Dr().default(!0),kanbanTasks:Dr().default(!0),kanbanComments:Dr().default(!0)});var dxn=P({name:p(),coverImageKey:p().optional(),enableNotification:Dr().default(!0)}),Zxn=P({name:p().optional(),coverImageKey:p().optional(),enableNotification:Dr().optional()}),kbt=P({id:p(),name:p(),teamId:p(),rootFolder:p().optional(),coverImage:p().optional(),coverImageKey:p().optional(),enableNotification:Dr(),updatedAt:Aa([p(),Gn()])}),pxn=P({sortBy:p().optional(),sortDirection:We(["asc","desc"]).optional()}).merge(rl),mxn=P({data:re(kbt),pageInfo:N8}),hxn=P({teamId:p()}),gxn=P({id:p(),name:p(),role:We(["owner","editor","reviewer","bot","unknown"]),type:_a(s4).optional(),image:p().optional(),scope:We(["team","project"]).optional(),hasCustomRole:Dr().optional()}),Mxn=P({assetType:IV.optional().default("all"),sort:We(["createdAt","name","size"]).optional(),order:We(["asc","desc"]).optional()}).merge(rl),vxn=P({role:We(["editor","reviewer"])}),xxn=P({userId:p(),role:We(["owner","editor","reviewer"])}),yxn=P({id:p(),name:p(),role:We(["owner","editor","reviewer","bot","unknown"]),image:p().optional()});var Vc=["openai-completions","mistral-conversations","openai-responses","azure-openai-responses","openai-codex-responses","anthropic-messages","bedrock-converse-stream","google-generative-ai","google-vertex"],u4=P({api:We(Vc).optional(),reasoning:Dr().default(!1),input:re(We(["text","image"])).default(["text"]),contextWindow:er().int().positive().default(128000),maxTokens:er().int().positive().default(4096),cost:P({input:er().nonnegative().default(0),output:er().nonnegative().default(0),cacheRead:er().nonnegative().default(0),cacheWrite:er().nonnegative().default(0)})}),DV=P({id:p().optional(),modelId:p().min(1,"Model ID is required"),name:p().min(0).default(""),config:u4}),Xa=P({baseUrl:p().url("Must be a valid URL").optional().or(dM("")),apiKey:p().optional().or(dM("")),api:We(Vc),headers:IL(p(),p()).optional(),authHeader:Dr().optional()}),wxn=P({name:p().min(1,"Provider name is required"),config:Xa,models:re(DV).default([])}),zxn=P({name:p().min(1,"Provider name is required").optional(),config:Xa,models:re(DV).optional()}),Wg=P({modelId:p().min(1,"Model ID is required"),name:p().min(0).default(""),config:u4}),Sxn=P({modelId:p().min(1,"Model ID is required").optional(),name:p().min(0).optional(),config:u4.optional()}),Lxn=P({id:p(),name:p(),isBuiltin:Dr(),config:Xa,models:re(DV).optional(),modelsCount:er().optional(),createdAt:Gn(),updatedAt:Gn()}),Ahe=P({modelId:p().min(1),name:p().default(""),config:u4}),Ibt=P({name:p(),isNewProvider:Dr(),config:Xa,models:re(Ahe)}),kxn=P({providers:re(Ibt),totalNewProviders:er(),totalNewModels:er()}),Ixn=P({providers:re(P({name:p(),isNewProvider:Dr(),config:Xa,models:re(Ahe)}))}),Cxn=P({addedProviders:er(),addedModels:er()});var Axn=P({name:p().min(1),expireAt:p().datetime().optional(),password:p().optional(),isDisabled:Dr().optional(),allowDownload:Dr().optional(),defaultSortOrder:p().optional(),viewMode:p().optional()}),Dxn=P({name:p().min(1).optional(),expireAt:p().datetime().optional().nullable(),password:p().optional().nullable(),isDisabled:Dr().optional(),allowDownload:Dr().optional(),defaultSortOrder:p().optional().nullable(),viewMode:p().optional().nullable(),fieldVisibility:IL(p(),Dr()).optional().nullable()}),Exn=rl.extend({projectId:p().optional()}),Oxn=P({assetIds:re(p().min(1)).min(1)});var Fxn=P({assetId:p().optional(),githubUrl:p().optional(),override:Dr().optional()}),Bxn=P({config:P({environmentVariables:re(P({name:p(),default:p().optional()}))})}),Yxn=P({permission:We(["owner","editor","reviewer"])});var Wxn=P({name:p()}),Cbt=P({id:p(),name:p(),rootFolder:p().optional(),updatedAt:Aa([p(),Gn()])});var Gxn=P({data:re(Cbt),pageInfo:N8}),Kxn=P({teamId:p(),userId:p()}),Xxn=P({id:p(),name:p(),email:p().optional(),role:We(["owner","editor","reviewer","bot","unknown"]),image:p().optional(),unreadNotificationCount:er().optional()}),Qxn=P({name:p().optional(),imageKey:p().nullable().optional()}),Jxn=P({id:p(),name:p(),role:We(["owner","editor","reviewer","bot","unknown"]),email:p().optional(),type:_a(s4).optional(),image:p().optional(),scope:_a(yhe).optional()}),$xn=P({includeAgents:p().optional().transform((e)=>e==="true")}),da={best_match:"best_match",all:"all"},Oi={off:"off",auto:"auto"},eyn=Aa([P({key:dM("transcode.videoStrategy"),value:_a(da)}),P({key:dM("transcode.hardwareAcceleration"),value:_a(Oi)})]),tyn=P({networkSandboxEnabled:Dr(),allowedDomains:re(p()),pendingDomains:re(p()).default([])}),ryn=P({networkSandboxEnabled:Dr().optional(),allowedDomains:re(p()).optional(),pendingDomains:re(p()).optional()}),oyn=P({role:We(["editor","reviewer"])});var Dhe=SV(()=>P({name:p(),id:p(),size:er(),children:re(Dhe),type:p(),mediaType:p().optional()})),iyn=P({parentId:p(),files:re(Dhe)}),Rbt=P({id:p(),fileId:p(),url:p()}),fyn=P({taskId:p(),presignedUrls:re(Rbt),storageBackend:We(["s3","local"]).default("local"),createdAssets:re(P({tempId:p(),assetId:p(),key:p().optional()})).optional()}),syn=P({key:p().min(1),method:We(["PUT","POST","GET","DELETE"]),uploadId:p().optional(),partNumber:er().int().positive().optional(),fileId:p().min(1)}),lyn=P({url:p()}),cyn=P({fileId:p().min(1),uploadId:p().optional(),key:p().optional()}),uyn=P({success:Dr()}),dyn=P({fileId:p(),errorMessage:p().optional()}),Zyn=P({id:p(),name:p(),total:er(),uploaded:er(),createdAt:p()}),pyn=P({bucket:p(),key:p(),Signature:p()}),myn=P({file:vhe(File)});var Pbt=P({key:p(),value:wZ()}),Myn=P({value:wZ()}),vyn=re(Pbt);var byn=P({fileIds:re(p())}),_yn=P({fileId:p(),beforeId:p()}),wyn=P({id:p(),version:er(),name:p().optional().nullable(),previewUrl:p().optional().nullable(),createdAt:p().optional().nullable(),creator:P({id:p(),name:p().nullable(),image:p().optional().nullable()}).nullable().optional(),agent:P({id:p(),name:p()}).nullable().optional()});var Lyn=P({agentId:p(),textPrompt:p().optional(),attachedFiles:re(p()).optional(),assetIds:re(p()).optional(),sessionId:p().optional(),contextAssetId:p().optional(),projectId:p().optional(),second:er().nullable().optional(),annotations:re(IL(p(),wZ())).optional()}).superRefine((e,r)=>{let a=e.textPrompt&&e.textPrompt.trim().length>0,i=e.attachedFiles&&e.attachedFiles.length>0,f=e.assetIds&&e.assetIds.length>0,s=e.annotations&&e.annotations.length>0;if(!a&&!i&&!f&&!s)r.addIssue({code:eo.custom,message:"At least one of textPrompt, attachedFiles, assetIds, or annotations must be provided.",path:["textPrompt"]})}),kyn=P({id:p(),agentId:p(),userId:p().nullable(),assetId:p().nullable(),userCommentId:p().nullable(),name:p().nullable().optional(),createdAt:p(),updatedAt:p()}),Tbt=P({id:p(),name:p(),type:p(),mediaType:We(["image","video","pdf","audio","other"]).optional(),mimeType:p().optional(),parentId:p().optional(),path:p().optional(),durationSeconds:er().optional(),totalFrames:er().optional(),totalPages:er().optional(),navigated:Dr().optional(),ancestors:re(P({id:p(),name:p()})).optional()}),Ehe=P({id:p(),name:p(),type:p(),mediaType:We(["image","video","pdf","audio","other"]).optional(),mimeType:p().optional(),path:p().optional(),url:p().optional()}),Abt=Zhe("type",[P({type:dM("time"),seconds:er()}),P({type:dM("page"),page:er()})]),Dbt=P({id:p(),replyCount:er().optional()}),Iyn=P({id:p().optional(),user:P({id:p(),name:p(),role:p()}).optional(),thread:Dbt.optional(),currentAsset:Tbt.optional(),position:Abt.optional(),annotation:Dr().optional(),annotations:re(IL(p(),wZ())).optional(),attachedFiles:re(Ehe).optional(),referencedAssets:re(Ehe).optional()}),Cyn=phe(P({id:p()}),wZ());var Il;((He)=>{He.team_create="team_create";He.team_update="team_update";He.team_delete="team_delete";He.team_member_add="team_member_add";He.team_member_update="team_member_update";He.team_member_remove="team_member_remove";He.project_create="project_create";He.project_update="project_update";He.project_delete="project_delete";He.project_empty_trash="project_empty_trash";He.project_member_add="project_member_add";He.project_member_update="project_member_update";He.project_member_remove="project_member_remove";He.file_create="file_create";He.file_update="file_update";He.file_delete="file_delete";He.folder_create="folder_create";He.folder_update="folder_update";He.folder_delete="folder_delete";He.asset_reparent="asset_reparent";He.asset_copy="asset_copy";He.share_create="share_create";He.share_update="share_update";He.share_delete="share_delete";He.agent_create="agent_create";He.agent_update="agent_update";He.agent_delete="agent_delete";He.skill_create="skill_create";He.skill_update="skill_update";He.skill_delete="skill_delete";He.mcp_server_create="mcp_server_create";He.mcp_server_update="mcp_server_update";He.mcp_server_delete="mcp_server_delete";He.provider_create="provider_create";He.provider_update="provider_update";He.provider_delete="provider_delete";He.invite_create="invite_create";He.invite_revoke="invite_revoke";He.metadata_field_create="metadata_field_create";He.metadata_field_update="metadata_field_update";He.metadata_field_delete="metadata_field_delete";He.comment_create="comment_create";He.comment_update="comment_update";He.comment_delete="comment_delete";He.comment_complete="comment_complete";He.quota_rule_create="quota_rule_create";He.quota_rule_update="quota_rule_update";He.quota_rule_delete="quota_rule_delete";He.quota_record_reset="quota_record_reset";He.quota_policy_create="quota_policy_create";He.quota_policy_update="quota_policy_update";He.quota_policy_delete="quota_policy_delete";He.kanban_goal_create="kanban_goal_create";He.kanban_goal_update="kanban_goal_update";He.kanban_goal_delete="kanban_goal_delete";He.kanban_task_create="kanban_task_create";He.kanban_task_update="kanban_task_update";He.kanban_task_delete="kanban_task_delete";He.kanban_comment_create="kanban_comment_create";He.kanban_comment_delete="kanban_comment_delete";He.kanban_dependency_add="kanban_dependency_add";He.kanban_dependency_remove="kanban_dependency_remove"})(Il||={});var Ebt=P({id:p(),action:_a(Il),teamId:p(),userId:p().nullable().optional(),agentId:p().nullable().optional(),agent:P({id:p(),name:p()}).nullable().optional(),projectId:p().nullable().optional(),itemId:p().nullable().optional(),createdAt:p()}),Tyn=P({first:D2.number().optional(),after:p().optional(),actions:Aa([_a(Il),re(_a(Il))]).transform((e)=>Array.isArray(e)?e:[e]).optional(),userIds:Aa([p(),re(p())]).transform((e)=>Array.isArray(e)?e:[e]).optional(),agentIds:Aa([p(),re(p())]).transform((e)=>Array.isArray(e)?e:[e]).optional(),itemId:p().optional()}),Ayn=P({nodes:re(Ebt),pageInfo:P({hasNextPage:Dr(),endCursor:p().nullable()}),total:er()});var Obt=P({id:p(),type:dM("text"),x:er().min(0).max(1),y:er().min(0).max(1),opacity:er().min(0).max(1),rotation:er().min(-180).max(180),text:p(),size:er().positive().max(1),color:p()}),jbt=P({id:p(),type:dM("image"),x:er().min(0).max(1),y:er().min(0).max(1),opacity:er().min(0).max(1),rotation:er().min(-180).max(180),imageAssetKey:p().min(1),imageAssetUrl:p().optional(),size:er().positive().max(1)}),Nbt=Zhe("type",[Obt,jbt]),EV=P({blocks:re(Nbt)}),Oyn=P({name:p().min(1),teamId:p().optional(),config:EV}),jyn=P({name:p().min(1).optional(),config:EV.optional()}),Nyn=P({enabled:Dr(),config:EV.optional()}).superRefine((e,r)=>{if(e.enabled&&(!e.config||e.config.blocks.length===0))r.addIssue({code:"custom",path:["config"],message:"Watermark configuration is required when enabling watermark"})});var OV=_a(bhe),jV=We(["1hour","5hour","1day","7day","one_hour","five_hours","one_day","seven_days"]);function Kc(e){switch(e){case"one_hour":case"1hour":return"1hour";case"five_hours":case"5hour":return"5hour";case"one_day":case"1day":return"1day";case"seven_days":case"7day":return"7day";default:return e}}var NV=_a(_he),FV=We(["owner","editor","reviewer"]),Ohe=P({id:p().min(1,"MCP server ID is required")}),jhe=P({match:p().min(1,"Bash match wildcard is required")}),Nhe=P({name:p().min(1,"Tool name is required")}),BV=IL(p(),wZ()),Fbt=P({id:p().nullable(),ruleId:p(),teamId:p(),userId:p().nullable().optional(),user:P({id:p(),name:p(),email:p(),image:p().nullable().optional()}).nullable().optional(),periodStart:p().nullable().optional(),periodEnd:p().nullable().optional(),consumed:er(),remaining:er(),percent:er(),isWindowActive:Dr()}),qyn=P({records:re(Fbt),total:er()}),Bbt=P({id:p(),teamId:p(),scopeMode:OV,role:FV.nullable().optional(),userIds:re(p()).nullable().optional(),resource:NV,resourceData:BV.nullable().optional(),limit:er(),period:jV,enabled:Dr(),recordsCount:er().optional(),createdAt:p(),updatedAt:p()}),Vyn=P({rules:re(Bbt),total:er()}),Hyn=P({scopeMode:OV,role:FV.optional().nullable(),userIds:re(p()).optional().nullable(),resource:NV,resourceData:BV.optional().nullable(),limit:er().positive("Limit must be greater than 0"),period:jV,enabled:Dr().optional().default(!0)}).superRefine((e,r)=>{if(e.scopeMode==="selected_members"){if(!e.userIds||e.userIds.length===0)r.addIssue({code:eo.custom,message:'userIds must contain at least one user when scopeMode is "selected_members"',path:["userIds"]})}if(e.resource==="agent_mcp_call_count"){if(!Ohe.safeParse(e.resourceData).success)r.addIssue({code:eo.custom,message:"resourceData.id is required for agent_mcp_call_count",path:["resourceData","id"]})}else if(e.resource==="agent_bash_call_count"){if(!jhe.safeParse(e.resourceData).success)r.addIssue({code:eo.custom,message:"resourceData.match is required for agent_bash_call_count",path:["resourceData","match"]})}else if(e.resource==="agent_tool_call_count"){if(!Nhe.safeParse(e.resourceData).success)r.addIssue({code:eo.custom,message:"resourceData.name is required for agent_tool_call_count",path:["resourceData","name"]})}}),Wyn=P({userId:p().nullable()}),Gyn=P({scopeMode:OV.optional(),role:FV.optional().nullable(),userIds:re(p()).optional().nullable(),resource:NV.optional(),resourceData:BV.optional().nullable(),limit:er().positive("Limit must be greater than 0").optional(),period:jV.optional(),enabled:Dr().optional()}).superRefine((e,r)=>{if(e.scopeMode==="selected_members"&&e.userIds!==void 0){if(!e.userIds||e.userIds.length===0)r.addIssue({code:eo.custom,message:'userIds must contain at least one user when scopeMode is "selected_members"',path:["userIds"]})}if(e.resource==="agent_mcp_call_count"&&e.resourceData!==void 0){if(!Ohe.safeParse(e.resourceData).success)r.addIssue({code:eo.custom,message:"resourceData.id is required for agent_mcp_call_count",path:["resourceData","id"]})}else if(e.resource==="agent_bash_call_count"&&e.resourceData!==void 0){if(!jhe.safeParse(e.resourceData).success)r.addIssue({code:eo.custom,message:"resourceData.match is required for agent_bash_call_count",path:["resourceData","match"]})}else if(e.resource==="agent_tool_call_count"&&e.resourceData!==void 0){if(!Nhe.safeParse(e.resourceData).success)r.addIssue({code:eo.custom,message:"resourceData.name is required for agent_tool_call_count",path:["resourceData","name"]})}});var fa="unassigned",Qyn=P({title:p().min(1),description:p().optional()}),Jyn=P({title:p().min(1).optional(),description:p().nullable().optional()}),Ybt=P({id:p(),title:p(),description:p().nullable().optional(),teamId:p(),creatorId:p().nullable().optional(),taskCount:er().optional(),createdAt:Aa([p(),Gn()]),updatedAt:Aa([p(),Gn()])}),$yn=P({}),ebn=P({data:re(Ybt)});var ZM=P({id:p(),name:p(),image:p().optional()}),Ubt=P({summary:p().optional(),blockReason:p().optional(),blockKind:p().optional(),reason:p().optional(),assets:re(P({id:p(),type:p().optional(),name:p().optional(),description:p().optional()})).optional()}).passthrough(),YV=P({id:p(),taskId:p(),actor:ZM.nullable().optional(),type:_a(tf),fromStatus:_a(Qe).nullable().optional(),toStatus:_a(Qe).nullable().optional(),data:Ubt.nullable().optional(),createdAt:Aa([p(),Gn()])}),abn=P({data:re(YV)});var qbt=P({id:p(),name:p(),key:p(),sizeByte:er(),contentType:p().nullable().optional(),proxyType:We(["image","video","audio","pdf"]).nullable().optional()}),Vbt=P({id:p(),name:p(),sizeByte:er(),contentType:p().nullable().optional(),url:p(),proxyType:We(["image","video","audio","pdf"]).nullable().optional()}),sbn=P({id:p(),name:p(),key:p(),sizeByte:er(),contentType:p().nullable().optional(),uploadUrl:p(),proxyType:We(["image","video","audio","pdf"]).nullable().optional()}),lbn=P({body:p().default(""),attachments:re(qbt).optional()}).refine((e)=>e.body.trim().length>0||e.attachments&&e.attachments.length>0,{message:"Comment body or attachments required"}),UV=P({id:p(),taskId:p(),author:ZM,body:p(),attachments:re(Vbt).default([]),createdAt:Aa([p(),Gn()]),updatedAt:Aa([p(),Gn()])}),cbn=P({data:re(UV)});var gbn=P({title:p().min(1),description:p().optional(),isAgentTask:Dr().optional(),priority:_a(Br).optional(),startDate:Aa([p(),Gn()]).optional(),dueDate:Aa([p(),Gn()]).optional(),goalId:p().optional(),projectId:p().optional(),reporterId:p().optional(),assigneeId:p().optional(),targetFolderId:p().optional(),parentIds:re(p()).optional(),assetIds:re(p()).optional()}),Mbn=P({fromStatus:_a(Qe).optional(),title:p().min(1).optional(),description:p().nullable().optional(),status:_a(Qe).optional(),reason:p().optional(),priority:_a(Br).optional(),startDate:Aa([p(),Gn()]).nullable().optional(),dueDate:Aa([p(),Gn()]).nullable().optional(),goalId:p().nullable().optional(),projectId:p().nullable().optional(),reporterId:p().nullable().optional(),assigneeId:p().nullable().optional(),targetFolderId:p().nullable().optional(),beforeIndex:p().optional(),afterIndex:p().optional(),parentIds:re(p()).optional(),assetIds:re(p()).optional()}),vbn=P({status:_a(Qe).optional(),isAgentTask:Aa([Dr(),p()]).transform((e)=>e===!0||e==="true").optional(),goalId:p().optional(),projectId:p().optional(),priority:_a(Br).optional(),assigneeId:p().optional(),reporterId:p().optional()}).merge(rl),Hbt=P({id:p(),type:_a(tf),actor:ZM.nullable().optional(),summary:p().optional(),blockReason:p().optional(),blockKind:p().optional(),reason:p().optional(),createdAt:Aa([p(),Gn()])}),Wbt=P({id:p(),title:p()}),Fhe=P({id:p(),title:p(),isAgentTask:Dr(),status:_a(Qe),priority:_a(Br),sortIndex:p().nullable().optional()}),Gbt=P({id:p(),name:p(),type:p(),proxyType:We(["image","video","audio","pdf"]).nullable().optional(),thumbnailUrl:p().nullable().optional(),path:p(),creator:ZM.nullable().optional(),sizeByte:er().optional(),fileCount:er().optional(),projectId:p().nullable().optional(),createdAt:Aa([p(),Gn()])}),qV=P({id:p(),title:p(),description:p().nullable().optional(),isAgentTask:Dr(),status:_a(Qe),priority:_a(Br),startDate:Aa([p(),Gn()]).nullable().optional(),dueDate:Aa([p(),Gn()]).nullable().optional(),startedAt:Aa([p(),Gn()]).nullable().optional(),completedAt:Aa([p(),Gn()]).nullable().optional(),teamId:p(),projectId:p().nullable().optional(),sortIndex:p().nullable().optional(),creator:ZM,reporter:ZM.nullable().optional(),assignee:ZM.nullable().optional(),goal:Wbt.nullable().optional(),targetFolderId:p().nullable().optional(),latestStatusEvent:Hbt.nullable().optional(),commentCount:er().default(0),dependencyCount:er().default(0),dependentCount:er().default(0),assetCount:er().default(0),createdAt:Aa([p(),Gn()]),updatedAt:Aa([p(),Gn()])}),xbn=qV.extend({dependencies:re(Fhe),dependents:re(Fhe),assets:re(Gbt),comments:re(UV),events:re(YV)}),ybn=P({data:re(qV),pageInfo:N8}),bbn=P({taskId:p()}),_bn=P({assetIds:re(p())}),wbn=P({data:re(qV),total:er()});var Tbn=P({assetId:p()});function Bhe(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function wa(e,r){if(r===void 0||r===null)return"";return` ${e}="${Bhe(r)}"`}function Yg(e){if(!e)return"";let r=[];if(e.user){let a="";if(e.user.id!==void 0)a+=wa("id",e.user.id);if(e.user.name!==void 0)a+=wa("name",e.user.name);if(e.user.role!==void 0)a+=wa("role",e.user.role);if(a)r.push(` <user${a} />`)}if(e.thread){let a="";if(e.thread.id!==void 0)a+=wa("id",e.thread.id);if(e.thread.replyCount!==void 0)a+=` reply_count="${Math.round(e.thread.replyCount)}"`;if(a)r.push(` <thread${a} />`)}if(e.currentAsset){let a=e.currentAsset,i="";if(a.id!==void 0)i+=wa("id",a.id);if(a.name!==void 0)i+=wa("name",a.name);if(a.type!==void 0)i+=wa("type",a.type);if(a.mediaType!==void 0)i+=wa("media_type",a.mediaType);if(a.mimeType!==void 0)i+=wa("mime_type",a.mimeType);if(a.parentId!==void 0)i+=wa("parent_id",a.parentId);if(a.path!==void 0)i+=wa("path",a.path);if(a.durationSeconds!==void 0)i+=` duration_seconds="${a.durationSeconds.toFixed(2)}"`;if(a.totalFrames!==void 0)i+=` total_frames="${Math.round(a.totalFrames)}"`;if(a.totalPages!==void 0)i+=` total_pages="${Math.round(a.totalPages)}"`;if(a.navigated!==void 0)i+=` navigated="${String(a.navigated)}"`;if(a.ancestors&&a.ancestors.length>0){r.push(` <current_asset${i}>`),r.push(" <ancestors>");for(let f of a.ancestors){let s="";if(f.id!==void 0)s+=wa("id",f.id);if(f.name!==void 0)s+=wa("name",f.name);r.push(` <folder${s} />`)}r.push(" </ancestors>"),r.push(" </current_asset>")}else r.push(` <current_asset${i} />`)}if(e.position){if(e.position.type==="time")r.push(` <position type="time" seconds="${e.position.seconds.toFixed(4)}" />`);else if(e.position.type==="page")r.push(` <position type="page" page="${Math.round(e.position.page)}" />`)}if(e.annotation)if(e.id!==void 0)r.push(` <annotation id="${Bhe(e.id)}" />`);else r.push(" <annotation />");if(e.attachedFiles&&e.attachedFiles.length>0){let a=[...e.attachedFiles].sort((i,f)=>i.id.localeCompare(f.id));r.push(" <attached_files>");for(let i of a){let f="";if(i.id!==void 0)f+=wa("id",i.id);if(i.name!==void 0)f+=wa("name",i.name);if(i.type!==void 0)f+=wa("type",i.type);if(i.mediaType!==void 0)f+=wa("media_type",i.mediaType);if(i.mimeType!==void 0)f+=wa("mime_type",i.mimeType);if(i.path!==void 0)f+=wa("path",i.path);r.push(` <file${f} />`)}r.push(" </attached_files>")}if(e.referencedAssets&&e.referencedAssets.length>0){let a=[...e.referencedAssets].sort((i,f)=>i.id.localeCompare(f.id));r.push(" <referenced_assets>");for(let i of a)if(i.type==="folder"){let f="";if(i.id!==void 0)f+=wa("id",i.id);if(i.name!==void 0)f+=wa("name",i.name);if(i.path!==void 0)f+=wa("path",i.path);r.push(` <folder${f} />`)}else{let f="";if(i.id!==void 0)f+=wa("id",i.id);if(i.name!==void 0)f+=wa("name",i.name);if(i.type!==void 0)f+=wa("type",i.type);if(i.mediaType!==void 0)f+=wa("media_type",i.mediaType);if(i.mimeType!==void 0)f+=wa("mime_type",i.mimeType);if(i.path!==void 0)f+=wa("path",i.path);r.push(` <asset${f} />`)}r.push(" </referenced_assets>")}if(r.length===0)return"";return`<context>
|
|
196
|
+
${r.join(`
|
|
197
|
+
`)}
|
|
198
|
+
</context>`}var $1=We(["image","video"]),Kbt=We(["configured_custom","configured_env","not_configured"]),Obn=P({apiKey:p().optional().or(dM("")),models:re(P({type:$1,modelId:p().min(1,"Model ID is required"),name:p().optional()})).optional()});var jbn=P({type:$1,provider:p().min(1,"Provider is required"),modelId:p().min(1,"Model ID is required"),name:p().optional()}),Xbt=P({id:p(),type:$1,provider:p(),modelId:p(),name:p(),createdAt:p()}),Qbt=P({provider:p(),defaultEnvKey:p(),apiKeyConfigured:Dr(),status:Kbt,customApiKeyOrEnv:p().optional(),supportedTypes:re($1)}),Nbn=P({providers:re(Qbt),enabledModels:re(Xbt)}),Fbn=P({modelId:p(),name:p(),type:$1}),Bbn=P({provider:p().optional(),type:$1.optional()});var Jg=[Qe.TODO,Qe.READY,Qe.IN_PROGRESS,Qe.BLOCKED,Qe.IN_REVIEW,Qe.DONE];function to(e){switch(e){case Qe.TODO:return Dct();case Qe.READY:return Pct();case Qe.IN_PROGRESS:return Sct();case Qe.BLOCKED:return Og();case Qe.IN_REVIEW:return Ict();case Qe.DONE:return _ct();default:return e}}function Bp(e){switch(e){case Qe.TODO:return{badge:"bg-muted text-muted-foreground border-border",border:"border-border",dot:"bg-muted-foreground",bg:"bg-muted/30"};case Qe.READY:return{badge:"bg-blue-500/10 text-blue-600 dark:text-blue-400 border-blue-500/20",border:"border-blue-500/30",dot:"bg-blue-500",bg:"bg-blue-500/5"};case Qe.IN_PROGRESS:return{badge:"bg-amber-500/10 text-amber-600 dark:text-amber-400 border-amber-500/20",border:"border-amber-500/30",dot:"bg-amber-500",bg:"bg-amber-500/5"};case Qe.BLOCKED:return{badge:"bg-red-500/10 text-red-600 dark:text-red-400 border-red-500/20",border:"border-red-500/30",dot:"bg-red-500",bg:"bg-red-500/5"};case Qe.IN_REVIEW:return{badge:"bg-purple-500/10 text-purple-600 dark:text-purple-400 border-purple-500/20",border:"border-purple-500/30",dot:"bg-purple-500",bg:"bg-purple-500/5"};case Qe.DONE:return{badge:"bg-emerald-500/10 text-emerald-600 dark:text-emerald-400 border-emerald-500/20",border:"border-emerald-500/30",dot:"bg-emerald-500",bg:"bg-emerald-500/5"}}}function F8(e){return Bp(e).badge}function ei(e){switch(e){case Br.LOW:return Ztt();case Br.MEDIUM:return htt();case Br.HIGH:return ctt();case Br.URGENT:return vtt();default:return e}}function ti(e){switch(e){case Br.LOW:return"bg-muted text-muted-foreground border-border";case Br.MEDIUM:return"bg-blue-500/10 text-blue-600 dark:text-blue-400 border-blue-500/20";case Br.HIGH:return"bg-amber-500/10 text-amber-600 dark:text-amber-400 border-amber-500/20";case Br.URGENT:return"bg-red-500/10 text-red-600 dark:text-red-400 border-red-500/20 font-semibold";default:return"bg-muted text-muted-foreground border-border"}}C();function pa({className:e,...r}){return t("textarea",{"data-slot":"textarea",className:E("flex field-sizing-content min-h-16 w-full rounded-md border border-input bg-transparent px-3 py-2 text-base shadow-xs transition-[color,box-shadow] outline-none placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 md:text-sm dark:bg-input/30 dark:aria-invalid:ring-destructive/40",e),...r})}function V({className:e,...r}){return t(tIe,{"data-slot":"label",className:E("flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50",e),...r})}function qe({className:e,size:r="default",...a}){return t(qCe,{"data-slot":"switch","data-size":r,className:E("peer group/switch inline-flex shrink-0 items-center rounded-full border border-transparent shadow-xs transition-all outline-none focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 data-[size=default]:h-[1.15rem] data-[size=default]:w-8 data-[size=sm]:h-3.5 data-[size=sm]:w-6 data-[state=checked]:bg-primary data-[state=unchecked]:bg-input dark:data-[state=unchecked]:bg-input/80",e),...a,children:t(HCe,{"data-slot":"switch-thumb",className:E("pointer-events-none block rounded-full bg-background ring-0 transition-transform group-data-[size=default]/switch:size-4 group-data-[size=sm]/switch:size-3 data-[state=checked]:translate-x-[calc(100%-2px)] data-[state=unchecked]:translate-x-0 dark:data-[state=checked]:bg-primary-foreground dark:data-[state=unchecked]:bg-foreground")})})}function Le({...e}){return t(sCe,{"data-slot":"select",...e})}function Ze({...e}){return t(dCe,{"data-slot":"select-value",...e})}function Be({className:e,size:r="default",children:a,...i}){return o(cCe,{"data-slot":"select-trigger","data-size":r,className:E("flex w-fit items-center justify-between gap-2 rounded-md border border-input bg-transparent px-3 py-2 text-sm whitespace-nowrap shadow-xs transition-[color,box-shadow] outline-none focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 data-[placeholder]:text-muted-foreground data-[size=default]:h-9 data-[size=sm]:h-8 *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-2 dark:bg-input/30 dark:hover:bg-input/50 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 [&_svg:not([class*='text-'])]:text-muted-foreground",e),...i,children:[a,t(ZCe,{asChild:!0,children:t(be,{className:"size-4 opacity-50"})})]})}function Ue({className:e,children:r,position:a="item-aligned",align:i="center",...f}){return t(gCe,{children:o(MCe,{"data-slot":"select-content",className:E("relative z-50 max-h-(--radix-select-content-available-height) min-w-[8rem] origin-(--radix-select-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border bg-popover text-popover-foreground shadow-md data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",a==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",e),position:a,align:i,...f,children:[t(Jbt,{}),t(wCe,{className:E("p-1",a==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)] scroll-my-1"),children:r}),t($bt,{})]})})}function ne({className:e,children:r,...a}){return o(LCe,{"data-slot":"select-item",className:E("relative flex w-full cursor-default items-center gap-2 rounded-sm py-1.5 pr-8 pl-2 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 [&_svg:not([class*='text-'])]:text-muted-foreground *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2",e),...a,children:[t("span",{"data-slot":"select-item-indicator",className:"absolute right-2 flex size-3.5 items-center justify-center",children:t(CCe,{children:t(Me,{className:"size-4"})})}),t(kCe,{children:r})]})}function Jbt({className:e,...r}){return t(RCe,{"data-slot":"select-scroll-up-button",className:E("flex cursor-default items-center justify-center py-1",e),...r,children:t(vi,{className:"size-4"})})}function $bt({className:e,...r}){return t(PCe,{"data-slot":"select-scroll-down-button",className:E("flex cursor-default items-center justify-center py-1",e),...r,children:t(be,{className:"size-4"})})}C();function Yhe(e,r,a="long"){return new Intl.DateTimeFormat("en-US",{hour:"numeric",timeZone:e,timeZoneName:a}).format(r).split(/\s/g).slice(2).join(" ")}var e_t={},E2={};function ku(e,r){try{let i=(e_t[e]||=new Intl.DateTimeFormat("en-US",{timeZone:e,timeZoneName:"longOffset"}).format)(r).split("GMT")[1];if(i in E2)return E2[i];return Uhe(i,i.split(":"))}catch{if(e in E2)return E2[e];let a=e?.match(t_t);if(a)return Uhe(e,a.slice(1));return NaN}}var t_t=/([+-]\d\d):?(\d\d)?/;function Uhe(e,r){let a=+(r[0]||0),i=+(r[1]||0),f=+(r[2]||0)/60;return E2[e]=a*60+i>0?a*60+i+f:a*60-i-f}class Iu extends Date{constructor(...e){super();if(e.length>1&&typeof e[e.length-1]==="string")this.timeZone=e.pop();if(this.internal=new Date,isNaN(ku(this.timeZone,this)))this.setTime(NaN);else if(!e.length)this.setTime(Date.now());else if(typeof e[0]==="number"&&(e.length===1||e.length===2&&typeof e[1]!=="number"))this.setTime(e[0]);else if(typeof e[0]==="string")this.setTime(+new Date(e[0]));else if(e[0]instanceof Date)this.setTime(+e[0]);else this.setTime(+new Date(...e)),Hhe(this,e)}static tz(e,...r){return r.length?new Iu(...r,e):new Iu(Date.now(),e)}withTimeZone(e){return new Iu(+this,e)}getTimezoneOffset(){let e=-ku(this.timeZone,this);return e>0?Math.floor(e):Math.ceil(e)}setTime(e){return Date.prototype.setTime.apply(this,arguments),d4(this),+this}[Symbol.for("constructDateFrom")](e){return new Iu(+new Date(e),this.timeZone)}}var qhe=/^(get|set)(?!UTC)/;Object.getOwnPropertyNames(Date.prototype).forEach((e)=>{if(!qhe.test(e))return;let r=e.replace(qhe,"$1UTC");if(!Iu.prototype[r])return;if(e.startsWith("get"))Iu.prototype[e]=function(){return this.internal[r]()};else Iu.prototype[e]=function(){return Date.prototype[r].apply(this.internal,arguments),r_t(this),+this},Iu.prototype[r]=function(){return Date.prototype[r].apply(this,arguments),d4(this),+this}});function d4(e){e.internal.setTime(+e),e.internal.setUTCSeconds(e.internal.getUTCSeconds()-Math.round(-ku(e.timeZone,e)*60))}function r_t(e){Date.prototype.setFullYear.call(e,e.internal.getUTCFullYear(),e.internal.getUTCMonth(),e.internal.getUTCDate()),Date.prototype.setHours.call(e,e.internal.getUTCHours(),e.internal.getUTCMinutes(),e.internal.getUTCSeconds(),e.internal.getUTCMilliseconds()),Hhe(e)}function Hhe(e,r){let a=Array.isArray(r)?o_t(r):+e.internal,i=ku(e.timeZone,e),f=i>0?Math.floor(i):Math.ceil(i),s=new Date(+e);s.setUTCHours(s.getUTCHours()-1);let l=-new Date(+e).getTimezoneOffset(),c=-new Date(+s).getTimezoneOffset(),m=l-c,g=l;if(m&&l!==f){let ae=Date.prototype.getHours.apply(e),_e=Array.isArray(r)?r[3]||0:e.internal.getUTCHours();if(ae!==_e){let Ve=new Date(+e),Ne=l-f;if(Ne)Ve.setUTCMinutes(Ve.getUTCMinutes()+Ne);let ze=ku(e.timeZone,Ve);if((ze>0?Math.floor(ze):Math.ceil(ze))===f)g=c}}let M=g-f;if(M)Date.prototype.setUTCMinutes.call(e,Date.prototype.getUTCMinutes.call(e)+M);let x=new Date(+e);x.setUTCSeconds(0);let b=l>0?x.getSeconds():(x.getSeconds()-60)%60,y=Math.round(-(ku(e.timeZone,e)*60))%60;if(y||b)Date.prototype.setUTCSeconds.call(e,Date.prototype.getUTCSeconds.call(e)+y+b);let _=ku(e.timeZone,e),k=_>0?Math.floor(_):Math.ceil(_),I=-new Date(+e).getTimezoneOffset()-k,j=k!==f,G=I-M,X=k-f,J=a-k*60*1000,ee=X>0&&Vhe(e)-a===X*60*1000&&Vhe(e,J)!==a;if(j&&G&&!ee){Date.prototype.setUTCMinutes.call(e,Date.prototype.getUTCMinutes.call(e)+G);let ae=ku(e.timeZone,e),_e=ae>0?Math.floor(ae):Math.ceil(ae),Ve=k-_e;if(Ve&&G<0)Date.prototype.setUTCMinutes.call(e,Date.prototype.getUTCMinutes.call(e)+Ve)}d4(e);let oe=(r?a:a+y*1000)-+e.internal;if(oe&&Math.abs(oe)<1800000)Date.prototype.setTime.call(e,+e+oe),d4(e)}function o_t(e){return Date.UTC(e[0],e.length>1?e[1]:0,e.length>2?e[2]:1,...e.slice(3))}function Vhe(e,r){let a=new Date(r??+e);return a.setUTCSeconds(a.getUTCSeconds()-Math.round(-ku(e.timeZone,a)*60)),+a}class Rn extends Iu{static tz(e,...r){return r.length?new Rn(...r,e):new Rn(Date.now(),e)}toISOString(){let[e,r,a]=this.tzComponents(),i=`${e}${r}:${a}`;return this.internal.toISOString().slice(0,-1)+i}toString(){return`${this.toDateString()} ${this.toTimeString()}`}toDateString(){let[e,r,a,i]=this.internal.toUTCString().split(" ");return`${e?.slice(0,-1)} ${a} ${r} ${i}`}toTimeString(){let e=this.internal.toUTCString().split(" ")[4],[r,a,i]=this.tzComponents();return`${e} GMT${r}${a}${i} (${Yhe(this.timeZone,this)})`}toLocaleString(e,r){return Date.prototype.toLocaleString.call(this,e,{...r,timeZone:r?.timeZone||this.timeZone})}toLocaleDateString(e,r){return Date.prototype.toLocaleDateString.call(this,e,{...r,timeZone:r?.timeZone||this.timeZone})}toLocaleTimeString(e,r){return Date.prototype.toLocaleTimeString.call(this,e,{...r,timeZone:r?.timeZone||this.timeZone})}tzComponents(){let e=this.getTimezoneOffset(),r=e>0?"-":"+",a=String(Math.floor(Math.abs(e)/60)).padStart(2,"0"),i=String(Math.abs(e)%60).padStart(2,"0");return[r,a,i]}withTimeZone(e){return new Rn(+this,e)}[Symbol.for("constructDateFrom")](e){return new Rn(+new Date(e),this.timeZone)}}function Whe(e,r){let a=r.startOfMonth(e),i=a.getDay()>0?a.getDay():7,f=r.addDays(e,-i+1),s=r.addDays(f,34);return r.getMonth(e)===r.getMonth(s)?5:4}function Z4(e,r){let a=r.startOfMonth(e),i=a.getDay();if(i===1)return a;else if(i===0)return r.addDays(a,-6);else return r.addDays(a,-1*(i-1))}function Ghe(e,r){let a=Z4(e,r),i=Whe(e,r);return r.addDays(a,i*7-1)}var O2={...iM,labels:{labelDayButton:(e,r,a,i)=>{let f;if(i&&typeof i.format==="function")f=i.format.bind(i);else f=(l,c)=>fr(l,c,{locale:iM,...a});let s=f(e,"PPPP");if(r.today)s=`Today, ${s}`;if(r.selected)s=`${s}, selected`;return s},labelMonthDropdown:"Choose the Month",labelNext:"Go to the Next Month",labelPrevious:"Go to the Previous Month",labelWeekNumber:(e)=>`Week ${e}`,labelYearDropdown:"Choose the Year",labelGrid:(e,r,a)=>{let i;if(a&&typeof a.format==="function")i=a.format.bind(a);else i=(f,s)=>fr(f,s,{locale:iM,...r});return i(e,"LLLL yyyy")},labelGridcell:(e,r,a,i)=>{let f;if(i&&typeof i.format==="function")f=i.format.bind(i);else f=(l,c)=>fr(l,c,{locale:iM,...a});let s=f(e,"PPPP");if(r?.today)s=`Today, ${s}`;return s},labelNav:"Navigation bar",labelWeekNumberHeader:"Week Number",labelWeekday:(e,r,a)=>{let i;if(a&&typeof a.format==="function")i=a.format.bind(a);else i=(f,s)=>fr(f,s,{locale:iM,...r});return i(e,"cccc")}}};class Qn{constructor(e,r){this.today=()=>{if(this.overrides?.today)return this.overrides.today();if(this.options.timeZone)return Rn.tz(this.options.timeZone);return new(this.options.Date??Date)},this.newDate=(a,i,f)=>{if(this.overrides?.newDate)return this.overrides.newDate(a,i,f);if(this.options.timeZone)return new Rn(a,i,f,this.options.timeZone);return new Date(a,i,f)},this.addDays=(a,i)=>this.overrides?.addDays?this.overrides.addDays(a,i):N1(a,i),this.addMonths=(a,i)=>this.overrides?.addMonths?this.overrides.addMonths(a,i):Pi(a,i),this.addWeeks=(a,i)=>this.overrides?.addWeeks?this.overrides.addWeeks(a,i):c2(a,i),this.addYears=(a,i)=>this.overrides?.addYears?this.overrides.addYears(a,i):Tce(a,i),this.differenceInCalendarDays=(a,i)=>this.overrides?.differenceInCalendarDays?this.overrides.differenceInCalendarDays(a,i):R8(a,i),this.differenceInCalendarMonths=(a,i)=>this.overrides?.differenceInCalendarMonths?this.overrides.differenceInCalendarMonths(a,i):S5(a,i),this.eachMonthOfInterval=(a)=>this.overrides?.eachMonthOfInterval?this.overrides.eachMonthOfInterval(a):Oce(a),this.eachYearOfInterval=(a)=>{let i=this.overrides?.eachYearOfInterval?this.overrides.eachYearOfInterval(a):Fce(a),f=new Set(i.map((l)=>this.getYear(l)));if(f.size===i.length)return i;let s=[];return f.forEach((l)=>{s.push(new Date(l,0,1))}),s},this.endOfBroadcastWeek=(a)=>this.overrides?.endOfBroadcastWeek?this.overrides.endOfBroadcastWeek(a):Ghe(a,this),this.endOfISOWeek=(a)=>this.overrides?.endOfISOWeek?this.overrides.endOfISOWeek(a):Bce(a),this.endOfMonth=(a)=>this.overrides?.endOfMonth?this.overrides.endOfMonth(a):Ld(a),this.endOfWeek=(a,i)=>this.overrides?.endOfWeek?this.overrides.endOfWeek(a,i):k5(a,this.options),this.endOfYear=(a)=>this.overrides?.endOfYear?this.overrides.endOfYear(a):Nce(a),this.format=(a,i,f)=>{let s=this.overrides?.format?this.overrides.format(a,i,this.options):fr(a,i,this.options);if(this.options.numerals&&this.options.numerals!=="latn")return this.replaceDigits(s);return s},this.getISOWeek=(a)=>this.overrides?.getISOWeek?this.overrides.getISOWeek(a):U1(a),this.getMonth=(a,i)=>this.overrides?.getMonth?this.overrides.getMonth(a,this.options):Hc(a,this.options),this.getYear=(a,i)=>this.overrides?.getYear?this.overrides.getYear(a,this.options):$c(a,this.options),this.getWeek=(a,i)=>this.overrides?.getWeek?this.overrides.getWeek(a,this.options):q1(a,this.options),this.isAfter=(a,i)=>this.overrides?.isAfter?this.overrides.isAfter(a,i):nue(a,i),this.isBefore=(a,i)=>this.overrides?.isBefore?this.overrides.isBefore(a,i):iue(a,i),this.isDate=(a)=>this.overrides?.isDate?this.overrides.isDate(a):z5(a),this.isSameDay=(a,i)=>this.overrides?.isSameDay?this.overrides.isSameDay(a,i):F1(a,i),this.isSameMonth=(a,i)=>this.overrides?.isSameMonth?this.overrides.isSameMonth(a,i):fue(a,i),this.isSameYear=(a,i)=>this.overrides?.isSameYear?this.overrides.isSameYear(a,i):sue(a,i),this.max=(a)=>this.overrides?.max?this.overrides.max(a):Ace(a),this.min=(a)=>this.overrides?.min?this.overrides.min(a):Dce(a),this.setMonth=(a,i)=>this.overrides?.setMonth?this.overrides.setMonth(a,i):uue(a,i),this.setYear=(a,i)=>this.overrides?.setYear?this.overrides.setYear(a,i):due(a,i),this.startOfBroadcastWeek=(a,i)=>this.overrides?.startOfBroadcastWeek?this.overrides.startOfBroadcastWeek(a,this):Z4(a,this),this.startOfDay=(a)=>this.overrides?.startOfDay?this.overrides.startOfDay(a):C8(a),this.startOfISOWeek=(a)=>this.overrides?.startOfISOWeek?this.overrides.startOfISOWeek(a):nM(a),this.startOfMonth=(a)=>this.overrides?.startOfMonth?this.overrides.startOfMonth(a):jce(a),this.startOfWeek=(a,i)=>this.overrides?.startOfWeek?this.overrides.startOfWeek(a,this.options):wu(a,this.options),this.startOfYear=(a)=>this.overrides?.startOfYear?this.overrides.startOfYear(a):L5(a),this.options={locale:O2,...e},this.overrides=r}getDigitMap(){let{numerals:e="latn"}=this.options,r=new Intl.NumberFormat("en-US",{numberingSystem:e}),a={};for(let i=0;i<10;i++)a[i.toString()]=r.format(i);return a}replaceDigits(e){let r=this.getDigitMap();return e.replace(/\d/g,(a)=>r[a]||a)}formatNumber(e){return this.replaceDigits(e.toString())}getMonthYearOrder(){let e=this.options.locale?.code;if(!e)return"month-first";return Qn.yearFirstLocales.has(e)?"year-first":"month-first"}formatMonthYear(e){let{locale:r,timeZone:a,numerals:i}=this.options,f=r?.code;if(f&&Qn.yearFirstLocales.has(f))try{return new Intl.DateTimeFormat(f,{month:"long",year:"numeric",timeZone:a,numberingSystem:i}).format(e)}catch{}let s=this.getMonthYearOrder()==="year-first"?"y LLLL":"LLLL y";return this.format(e,s)}}Qn.yearFirstLocales=new Set(["eu","hu","ja","ja-Hira","ja-JP","ko","ko-KR","lt","lt-LT","lv","lv-LV","mn","mn-MN","zh","zh-CN","zh-HK","zh-TW"]);var ui=new Qn;class j2{constructor(e,r,a=ui){this.date=e,this.displayMonth=r,this.outside=Boolean(r&&!a.isSameMonth(e,r)),this.dateLib=a,this.isoDate=a.format(e,"yyyy-MM-dd"),this.displayMonthId=a.format(r,"yyyy-MM"),this.dateMonthId=a.format(e,"yyyy-MM")}isEqualTo(e){return this.dateLib.isSameDay(e.date,this.date)&&this.dateLib.isSameMonth(e.displayMonth,this.displayMonth)}}class VV{constructor(e,r){this.date=e,this.weeks=r}}class HV{constructor(e,r){this.days=r,this.weekNumber=e}}var GV={};Oe(GV,{CaptionLabel:()=>a_t,Chevron:()=>n_t,Day:()=>i_t,DayButton:()=>f_t,Dropdown:()=>s_t,DropdownNav:()=>l_t,Footer:()=>c_t,Month:()=>u_t,MonthCaption:()=>d_t,MonthGrid:()=>Z_t,Months:()=>p_t,MonthsDropdown:()=>m_t,Nav:()=>h_t,NextMonthButton:()=>g_t,Option:()=>M_t,PreviousMonthButton:()=>v_t,Root:()=>x_t,Select:()=>y_t,Week:()=>b_t,WeekNumber:()=>z_t,WeekNumberHeader:()=>S_t,Weekday:()=>__t,Weekdays:()=>w_t,Weeks:()=>L_t,YearsDropdown:()=>k_t});C();function a_t(e){return q("span",{...e})}C();function n_t(e){let{size:r=24,orientation:a="left",className:i,style:f}=e;return q("svg",{className:i,style:f,width:r,height:r,viewBox:"0 0 24 24"},a==="up"&&q("polygon",{points:"6.77 17 12.5 11.43 18.24 17 20 15.28 12.5 8 5 15.28"}),a==="down"&&q("polygon",{points:"6.77 8 12.5 13.57 18.24 8 20 9.72 12.5 17 5 9.72"}),a==="left"&&q("polygon",{points:"16 18.112 9.81111111 12 16 5.87733333 14.0888889 4 6 12 14.0888889 20"}),a==="right"&&q("polygon",{points:"8 18.112 14.18888889 12 8 5.87733333 9.91111111 4 18 12 9.91111111 20"}))}C();function i_t(e){let{day:r,modifiers:a,...i}=e;return q("td",{...i})}C();function f_t(e){let{day:r,modifiers:a,...i}=e,f=w(null);return h(()=>{if(a.focused)f.current?.focus()},[a.focused]),q("button",{ref:f,...i})}C();var lr;(function(e){e.Root="root",e.Chevron="chevron",e.Day="day",e.DayButton="day_button",e.CaptionLabel="caption_label",e.Dropdowns="dropdowns",e.Dropdown="dropdown",e.DropdownRoot="dropdown_root",e.Footer="footer",e.MonthGrid="month_grid",e.MonthCaption="month_caption",e.MonthsDropdown="months_dropdown",e.Month="month",e.Months="months",e.Nav="nav",e.NextMonthButton="button_next",e.PreviousMonthButton="button_previous",e.Week="week",e.Weeks="weeks",e.Weekday="weekday",e.Weekdays="weekdays",e.WeekNumber="week_number",e.WeekNumberHeader="week_number_header",e.YearsDropdown="years_dropdown"})(lr||(lr={}));var Sa;(function(e){e.disabled="disabled",e.hidden="hidden",e.outside="outside",e.focused="focused",e.today="today"})(Sa||(Sa={}));var Zl;(function(e){e.range_end="range_end",e.range_middle="range_middle",e.range_start="range_start",e.selected="selected"})(Zl||(Zl={}));var zs;(function(e){e.weeks_before_enter="weeks_before_enter",e.weeks_before_exit="weeks_before_exit",e.weeks_after_enter="weeks_after_enter",e.weeks_after_exit="weeks_after_exit",e.caption_after_enter="caption_after_enter",e.caption_after_exit="caption_after_exit",e.caption_before_enter="caption_before_enter",e.caption_before_exit="caption_before_exit"})(zs||(zs={}));C();var WV=xt(void 0);function B8(){let e=St(WV);if(e===void 0)throw Error("useDayPicker() must be used within a custom component.");return e}function s_t(e){let{options:r,className:a,...i}=e,{classNames:f,components:s,styles:l}=B8(),c=[f[lr.Dropdown],a].join(" "),m=r?.find(({value:g})=>g===i.value);return q("span",{"data-disabled":i.disabled,className:f[lr.DropdownRoot],style:l?.[lr.DropdownRoot]},q(s.Select,{className:c,...i},r?.map(({value:g,label:M,disabled:x})=>q(s.Option,{key:g,value:g,disabled:x},M))),q("span",{className:f[lr.CaptionLabel],style:l?.[lr.CaptionLabel],"aria-hidden":!0},m?.label,q(s.Chevron,{orientation:"down",size:18,className:f[lr.Chevron],style:l?.[lr.Chevron]})))}C();function l_t(e){return q("div",{...e})}C();function c_t(e){return q("div",{...e})}C();function u_t(e){let{calendarMonth:r,displayIndex:a,...i}=e;return q("div",{...i},e.children)}C();function d_t(e){let{calendarMonth:r,displayIndex:a,...i}=e;return q("div",{...i})}C();function Z_t(e){return q("table",{...e})}C();function p_t(e){return q("div",{...e})}C();function m_t(e){let{components:r}=B8();return q(r.Dropdown,{...e})}C();function h_t(e){let{onPreviousClick:r,onNextClick:a,previousMonth:i,nextMonth:f,...s}=e,{components:l,classNames:c,styles:m,labels:{labelPrevious:g,labelNext:M}}=B8(),x=N((y)=>{if(f)a?.(y)},[f,a]),b=N((y)=>{if(i)r?.(y)},[i,r]);return q("nav",{...s},q(l.PreviousMonthButton,{type:"button",className:c[lr.PreviousMonthButton],style:m?.[lr.PreviousMonthButton],tabIndex:i?void 0:-1,"aria-disabled":i?void 0:!0,"aria-label":g(i),onClick:b},q(l.Chevron,{disabled:i?void 0:!0,className:c[lr.Chevron],style:m?.[lr.Chevron],orientation:"left"})),q(l.NextMonthButton,{type:"button",className:c[lr.NextMonthButton],style:m?.[lr.NextMonthButton],tabIndex:f?void 0:-1,"aria-disabled":f?void 0:!0,"aria-label":M(f),onClick:x},q(l.Chevron,{disabled:f?void 0:!0,orientation:"right",className:c[lr.Chevron],style:m?.[lr.Chevron]})))}C();function g_t(e){return q("button",{...e})}C();function M_t(e){return q("option",{...e})}C();function v_t(e){return q("button",{...e})}C();function x_t(e){let{rootRef:r,...a}=e;return q("div",{...a,ref:r})}C();function y_t(e){return q("select",{...e})}C();function b_t(e){let{week:r,...a}=e;return q("tr",{...a})}C();function __t(e){return q("th",{...e})}C();function w_t(e){return q("thead",{"aria-hidden":!0},q("tr",{...e}))}C();function z_t(e){let{week:r,...a}=e;return q("th",{...a})}C();function S_t(e){return q("th",{...e})}C();function L_t(e){return q("tbody",{...e})}C();function k_t(e){let{components:r}=B8();return q(r.Dropdown,{...e})}C();function zl(e,r,a=!1,i=ui){let{from:f,to:s}=e,{differenceInCalendarDays:l,isSameDay:c}=i;if(f&&s){if(l(s,f)<0)[f,s]=[s,f];return l(r,f)>=(a?1:0)&&l(s,r)>=(a?1:0)}if(!a&&s)return c(s,r);if(!a&&f)return c(f,r);return!1}function eR(e){return Boolean(e&&typeof e==="object"&&"before"in e&&"after"in e)}function Y8(e){return Boolean(e&&typeof e==="object"&&"from"in e)}function tR(e){return Boolean(e&&typeof e==="object"&&"after"in e)}function rR(e){return Boolean(e&&typeof e==="object"&&"before"in e)}function p4(e){return Boolean(e&&typeof e==="object"&&"dayOfWeek"in e)}function m4(e,r){return Array.isArray(e)&&e.every(r.isDate)}function eu(e,r,a=ui){let i=!Array.isArray(r)?[r]:r,{isSameDay:f,differenceInCalendarDays:s,isAfter:l}=a;return i.some((c)=>{if(typeof c==="boolean")return c;if(a.isDate(c))return f(e,c);if(m4(c,a))return c.some((m)=>f(e,m));if(Y8(c))return zl(c,e,!1,a);if(p4(c)){if(!Array.isArray(c.dayOfWeek))return c.dayOfWeek===e.getDay();return c.dayOfWeek.includes(e.getDay())}if(eR(c)){let m=s(c.before,e),g=s(c.after,e),M=m>0,x=g<0;if(l(c.before,c.after))return x&&M;else return M||x}if(tR(c))return s(e,c.after)>0;if(rR(c))return s(c.before,e)>0;if(typeof c==="function")return c(e);return!1})}function Khe(e,r,a,i,f){let{disabled:s,hidden:l,modifiers:c,showOutsideDays:m,broadcastCalendar:g,today:M=f.today()}=r,{isSameDay:x,isSameMonth:b,startOfMonth:y,isBefore:_,endOfMonth:k,isAfter:F}=f,I=a&&y(a),j=i&&k(i),G={[Sa.focused]:[],[Sa.outside]:[],[Sa.disabled]:[],[Sa.hidden]:[],[Sa.today]:[]},X={};for(let J of e){let{date:ee,displayMonth:te}=J,oe=Boolean(te&&!b(ee,te)),ae=Boolean(I&&_(ee,I)),_e=Boolean(j&&F(ee,j)),Ve=Boolean(s&&eu(ee,s,f)),Ne=Boolean(l&&eu(ee,l,f))||ae||_e||!g&&!m&&oe||g&&m===!1&&oe,ze=x(ee,M);if(oe)G.outside.push(J);if(Ve)G.disabled.push(J);if(Ne)G.hidden.push(J);if(ze)G.today.push(J);if(c)Object.keys(c).forEach((Ye)=>{let ft=c?.[Ye];if(!(ft?eu(ee,ft,f):!1))return;if(X[Ye])X[Ye].push(J);else X[Ye]=[J]})}return(J)=>{let ee={[Sa.focused]:!1,[Sa.disabled]:!1,[Sa.hidden]:!1,[Sa.outside]:!1,[Sa.today]:!1},te={};for(let oe in G){let ae=G[oe];ee[oe]=ae.some((_e)=>_e===J)}for(let oe in X)te[oe]=X[oe].some((ae)=>ae===J);return{...ee,...te}}}function Xhe(e,r,a={}){return Object.entries(e).filter(([,f])=>f===!0).reduce((f,[s])=>{if(a[s])f.push(a[s]);else if(r[Sa[s]])f.push(r[Sa[s]]);else if(r[Zl[s]])f.push(r[Zl[s]]);return f},[r[lr.Day]])}function Qhe(e){return{...GV,...e}}function Jhe(e){let r={"data-mode":e.mode??void 0,"data-required":"required"in e?e.required:void 0,"data-multiple-months":e.numberOfMonths&&e.numberOfMonths>1||void 0,"data-week-numbers":e.showWeekNumber||void 0,"data-broadcast-calendar":e.broadcastCalendar||void 0,"data-nav-layout":e.navLayout||void 0};return Object.entries(e).forEach(([a,i])=>{if(a.startsWith("data-"))r[a]=i}),r}function N2(){let e={};for(let r in lr)e[lr[r]]=`rdp-${lr[r]}`;for(let r in Sa)e[Sa[r]]=`rdp-${Sa[r]}`;for(let r in Zl)e[Zl[r]]=`rdp-${Zl[r]}`;for(let r in zs)e[zs[r]]=`rdp-${zs[r]}`;return e}var KV={};Oe(KV,{formatCaption:()=>I_t,formatDay:()=>C_t,formatMonthDropdown:()=>R_t,formatWeekNumber:()=>T_t,formatWeekNumberHeader:()=>A_t,formatWeekdayName:()=>P_t,formatYearDropdown:()=>D_t});function I_t(e,r,a){return(a??new Qn(r)).formatMonthYear(e)}function C_t(e,r,a){return(a??new Qn(r)).format(e,"d")}function R_t(e,r=ui){return r.format(e,"LLLL")}function P_t(e,r,a){return(a??new Qn(r)).format(e,"cccccc")}function T_t(e,r=ui){if(e<10)return r.formatNumber(`0${e.toLocaleString()}`);return r.formatNumber(`${e.toLocaleString()}`)}function A_t(){return""}function D_t(e,r=ui){return r.format(e,"yyyy")}function $he(e){return{...KV,...e}}var fH={};Oe(fH,{labelDayButton:()=>XV,labelGrid:()=>QV,labelGridcell:()=>JV,labelMonthDropdown:()=>$V,labelNav:()=>eH,labelNext:()=>tH,labelPrevious:()=>rH,labelWeekNumber:()=>aH,labelWeekNumberHeader:()=>nH,labelWeekday:()=>oH,labelYearDropdown:()=>iH});function XV(e,r,a,i){let f=(i??new Qn(a)).format(e,"PPPP");if(r.today)f=`Today, ${f}`;if(r.selected)f=`${f}, selected`;return f}function QV(e,r,a){return(a??new Qn(r)).formatMonthYear(e)}function JV(e,r,a,i){let f=(i??new Qn(a)).format(e,"PPPP");if(r?.today)f=`Today, ${f}`;return f}function $V(e){return"Choose the Month"}function eH(){return""}function tH(e,r){return"Go to the Next Month"}function rH(e){return"Go to the Previous Month"}function oH(e,r,a){return(a??new Qn(r)).format(e,"cccc")}function aH(e,r){return`Week ${e}`}function nH(e){return"Week Number"}function iH(e){return"Choose the Year"}var Cu=(e,r,a)=>{if(r)return r;if(a)return typeof a==="function"?a:(...i)=>a;return e};function ege(e,r){let a=r.locale?.labels??{};return{...fH,...e??{},labelDayButton:Cu(XV,e?.labelDayButton,a.labelDayButton),labelMonthDropdown:Cu($V,e?.labelMonthDropdown,a.labelMonthDropdown),labelNext:Cu(tH,e?.labelNext,a.labelNext),labelPrevious:Cu(rH,e?.labelPrevious,a.labelPrevious),labelWeekNumber:Cu(aH,e?.labelWeekNumber,a.labelWeekNumber),labelYearDropdown:Cu(iH,e?.labelYearDropdown,a.labelYearDropdown),labelGrid:Cu(QV,e?.labelGrid,a.labelGrid),labelGridcell:Cu(JV,e?.labelGridcell,a.labelGridcell),labelNav:Cu(eH,e?.labelNav,a.labelNav),labelWeekNumberHeader:Cu(nH,e?.labelWeekNumberHeader,a.labelWeekNumberHeader),labelWeekday:Cu(oH,e?.labelWeekday,a.labelWeekday)}}function tge(e,r,a,i,f){let{startOfMonth:s,startOfYear:l,endOfYear:c,eachMonthOfInterval:m,getMonth:g}=f;return m({start:l(e),end:c(e)}).map((b)=>{let y=i.formatMonthDropdown(b,f),_=g(b),k=r&&b<s(r)||a&&b>s(a)||!1;return{value:_,label:y,disabled:k}})}function rge(e,r={},a={}){let i={...r?.[lr.Day]};return Object.entries(e).filter(([,f])=>f===!0).forEach(([f])=>{i={...i,...a?.[f]}}),i}function oge(e,r,a,i){let f=i??e.today(),s=a?e.startOfBroadcastWeek(f,e):r?e.startOfISOWeek(f):e.startOfWeek(f),l=[];for(let c=0;c<7;c++){let m=e.addDays(s,c);l.push(m)}return l}function age(e,r,a,i,f=!1){if(!e)return;if(!r)return;let{startOfYear:s,endOfYear:l,eachYearOfInterval:c,getYear:m}=i,g=s(e),M=l(r),x=c({start:g,end:M});if(f)x.reverse();return x.map((b)=>{let y=a.formatYearDropdown(b,i);return{value:m(b),label:y,disabled:!1}})}function nge(e,r={}){let{weekStartsOn:a,locale:i}=r,f=a??i?.options?.weekStartsOn??0,s=(c)=>{let m=typeof c==="number"||typeof c==="string"?new Date(c):c;return new Rn(m.getFullYear(),m.getMonth(),m.getDate(),12,0,0,e)},l=(c)=>{let m=s(c);return new Date(m.getFullYear(),m.getMonth(),m.getDate(),0,0,0,0)};return{today:()=>s(Rn.tz(e)),newDate:(c,m,g)=>new Rn(c,m,g,12,0,0,e),startOfDay:(c)=>s(c),startOfWeek:(c,m)=>{let g=s(c),M=m?.weekStartsOn??f,x=(g.getDay()-M+7)%7;return g.setDate(g.getDate()-x),g},startOfISOWeek:(c)=>{let m=s(c),g=(m.getDay()-1+7)%7;return m.setDate(m.getDate()-g),m},startOfMonth:(c)=>{let m=s(c);return m.setDate(1),m},startOfYear:(c)=>{let m=s(c);return m.setMonth(0,1),m},endOfWeek:(c,m)=>{let g=s(c),b=(((m?.weekStartsOn??f)+6)%7-g.getDay()+7)%7;return g.setDate(g.getDate()+b),g},endOfISOWeek:(c)=>{let m=s(c),g=(7-m.getDay())%7;return m.setDate(m.getDate()+g),m},endOfMonth:(c)=>{let m=s(c);return m.setMonth(m.getMonth()+1,0),m},endOfYear:(c)=>{let m=s(c);return m.setMonth(11,31),m},eachMonthOfInterval:(c)=>{let m=s(c.start),g=s(c.end),M=[],x=new Rn(m.getFullYear(),m.getMonth(),1,12,0,0,e),b=g.getFullYear()*12+g.getMonth();while(x.getFullYear()*12+x.getMonth()<=b)M.push(new Rn(x,e)),x.setMonth(x.getMonth()+1,1);return M},addDays:(c,m)=>{let g=s(c);return g.setDate(g.getDate()+m),g},addWeeks:(c,m)=>{let g=s(c);return g.setDate(g.getDate()+m*7),g},addMonths:(c,m)=>{let g=s(c);return g.setMonth(g.getMonth()+m),g},addYears:(c,m)=>{let g=s(c);return g.setFullYear(g.getFullYear()+m),g},eachYearOfInterval:(c)=>{let m=s(c.start),g=s(c.end),M=[],x=new Rn(m.getFullYear(),0,1,12,0,0,e);while(x.getFullYear()<=g.getFullYear())M.push(new Rn(x,e)),x.setFullYear(x.getFullYear()+1,0,1);return M},getWeek:(c,m)=>{let g=l(c);return q1(g,{weekStartsOn:m?.weekStartsOn??f,firstWeekContainsDate:m?.firstWeekContainsDate??i?.options?.firstWeekContainsDate??1})},getISOWeek:(c)=>{let m=l(c);return U1(m)},differenceInCalendarDays:(c,m)=>{let g=l(c),M=l(m);return R8(g,M)},differenceInCalendarMonths:(c,m)=>{let g=l(c),M=l(m);return S5(g,M)}}}C();var F2=(e)=>{if(e instanceof HTMLElement)return e;return null},sH=(e)=>[...e.querySelectorAll("[data-animated-month]")??[]],E_t=(e)=>F2(e.querySelector("[data-animated-month]")),lH=(e)=>F2(e.querySelector("[data-animated-caption]")),cH=(e)=>F2(e.querySelector("[data-animated-weeks]")),O_t=(e)=>F2(e.querySelector("[data-animated-nav]")),j_t=(e)=>F2(e.querySelector("[data-animated-weekdays]"));function ige(e,r,{classNames:a,months:i,focused:f,dateLib:s}){let l=w(null),c=w(i),m=w(!1);Ge(()=>{let g=c.current;if(c.current=i,!r||!e.current||!(e.current instanceof HTMLElement)||i.length===0||g.length===0||i.length!==g.length)return;let M=s.isSameMonth(i[0].date,g[0].date),x=s.isAfter(i[0].date,g[0].date),b=x?a[zs.caption_after_enter]:a[zs.caption_before_enter],y=x?a[zs.weeks_after_enter]:a[zs.weeks_before_enter],_=l.current,k=e.current.cloneNode(!0);if(k instanceof HTMLElement)sH(k).forEach((G)=>{if(!(G instanceof HTMLElement))return;let X=E_t(G);if(X&&G.contains(X))G.removeChild(X);let J=lH(G);if(J)J.classList.remove(b);let ee=cH(G);if(ee)ee.classList.remove(y)}),l.current=k;else l.current=null;if(m.current||M||f)return;let F=_ instanceof HTMLElement?sH(_):[],I=sH(e.current);if(I?.every((j)=>j instanceof HTMLElement)&&F?.every((j)=>j instanceof HTMLElement)){m.current=!0;let j=[];e.current.style.isolation="isolate";let G=O_t(e.current);if(G)G.style.zIndex="1";I.forEach((X,J)=>{let ee=F[J];if(!ee)return;X.style.position="relative",X.style.overflow="hidden";let te=lH(X);if(te)te.classList.add(b);let oe=cH(X);if(oe)oe.classList.add(y);let ae=()=>{if(m.current=!1,e.current)e.current.style.isolation="";if(G)G.style.zIndex="";if(te)te.classList.remove(b);if(oe)oe.classList.remove(y);if(X.style.position="",X.style.overflow="",X.contains(ee))X.removeChild(ee)};j.push(ae),ee.style.pointerEvents="none",ee.style.position="absolute",ee.style.overflow="hidden",ee.setAttribute("aria-hidden","true");let _e=j_t(ee);if(_e)_e.style.opacity="0";let Ve=lH(ee);if(Ve)Ve.classList.add(x?a[zs.caption_before_exit]:a[zs.caption_after_exit]),Ve.addEventListener("animationend",ae);let Ne=cH(ee);if(Ne)Ne.classList.add(x?a[zs.weeks_before_exit]:a[zs.weeks_after_exit]);X.insertBefore(ee,X.firstChild)})}})}C();function fge(e,r,a,i){let f=e[0],s=e[e.length-1],{ISOWeek:l,fixedWeeks:c,broadcastCalendar:m}=a??{},{addDays:g,differenceInCalendarDays:M,differenceInCalendarMonths:x,endOfBroadcastWeek:b,endOfISOWeek:y,endOfMonth:_,endOfWeek:k,isAfter:F,startOfBroadcastWeek:I,startOfISOWeek:j,startOfWeek:G}=i,X=m?I(f,i):l?j(f):G(f),J=m?b(s):l?y(_(s)):k(_(s)),ee=r&&(m?b(r):l?y(r):k(r)),te=ee&&F(J,ee)?ee:J,oe=M(te,X),ae=x(s,f)+1,_e=[];for(let ze=0;ze<=oe;ze++){let Ye=g(X,ze);_e.push(Ye)}let Ne=(m?35:42)*ae;if(c&&_e.length<Ne){let ze=Ne-_e.length;for(let Ye=0;Ye<ze;Ye++){let ft=g(_e[_e.length-1],1);_e.push(ft)}}return _e}function sge(e){let r=[];return e.reduce((a,i)=>{let f=i.weeks.reduce((s,l)=>s.concat(l.days.slice()),r.slice());return a.concat(f.slice())},r.slice())}function lge(e,r,a,i){let{numberOfMonths:f=1}=a,s=[];for(let l=0;l<f;l++){let c=i.addMonths(e,l);if(r&&c>r)break;s.push(c)}return s}function uH(e,r,a,i){let{month:f,defaultMonth:s,today:l=i.today(),numberOfMonths:c=1}=e,m=f||s||l,{differenceInCalendarMonths:g,addMonths:M,startOfMonth:x}=i;if(a&&g(a,m)<c-1){let b=-1*(c-1);m=M(a,b)}if(r&&g(m,r)<0)m=r;return x(m)}function cge(e,r,a,i){let{addDays:f,endOfBroadcastWeek:s,endOfISOWeek:l,endOfMonth:c,endOfWeek:m,getISOWeek:g,getWeek:M,startOfBroadcastWeek:x,startOfISOWeek:b,startOfWeek:y}=i,_=e.reduce((k,F)=>{let I=a.broadcastCalendar?x(F,i):a.ISOWeek?b(F):y(F),j=a.broadcastCalendar?s(F):a.ISOWeek?l(c(F)):m(c(F)),G=r.filter((te)=>te>=I&&te<=j),X=a.broadcastCalendar?35:42;if(a.fixedWeeks&&G.length<X){let te=r.filter((oe)=>{let ae=X-G.length;return oe>j&&oe<=f(j,ae)});G.push(...te)}let J=G.reduce((te,oe)=>{let ae=a.ISOWeek?g(oe):M(oe),_e=te.find((Ne)=>Ne.weekNumber===ae),Ve=new j2(oe,F,i);if(!_e)te.push(new HV(ae,[Ve]));else _e.days.push(Ve);return te},[]),ee=new VV(F,J);return k.push(ee),k},[]);if(!a.reverseMonths)return _;else return _.reverse()}function uge(e,r){let{startMonth:a,endMonth:i}=e,{startOfYear:f,startOfDay:s,startOfMonth:l,endOfMonth:c,addYears:m,endOfYear:g,today:M}=r,x=e.captionLayout==="dropdown"||e.captionLayout==="dropdown-years";if(a)a=l(a);else if(!a&&x)a=f(m(e.today??M(),-100));if(i)i=c(i);else if(!i&&x)i=g(e.today??M());return[a?s(a):a,i?s(i):i]}function dge(e,r,a,i){if(a.disableNavigation)return;let{pagedNavigation:f,numberOfMonths:s=1}=a,{startOfMonth:l,addMonths:c,differenceInCalendarMonths:m}=i,g=f?s:1,M=l(e);if(!r)return c(M,g);if(m(r,e)<s)return;return c(M,g)}function Zge(e,r,a,i){if(a.disableNavigation)return;let{pagedNavigation:f,numberOfMonths:s}=a,{startOfMonth:l,addMonths:c,differenceInCalendarMonths:m}=i,g=f?s??1:1,M=l(e);if(!r)return c(M,-g);if(m(M,r)<=0)return;return c(M,-g)}function pge(e){let r=[];return e.reduce((a,i)=>a.concat(i.weeks.slice()),r.slice())}C();function U8(e,r){let[a,i]=u(e);return[r===void 0?a:r,i]}function mge(e,r){let[a,i]=uge(e,r),{startOfMonth:f,endOfMonth:s}=r,l=uH(e,a,i,r),[c,m]=U8(l,e.month?l:void 0);h(()=>{let X=uH(e,a,i,r);m(X)},[e.timeZone]);let{months:g,weeks:M,days:x,previousMonth:b,nextMonth:y}=O(()=>{let X=lge(c,i,{numberOfMonths:e.numberOfMonths},r),J=fge(X,e.endMonth?s(e.endMonth):void 0,{ISOWeek:e.ISOWeek,fixedWeeks:e.fixedWeeks,broadcastCalendar:e.broadcastCalendar},r),ee=cge(X,J,{broadcastCalendar:e.broadcastCalendar,fixedWeeks:e.fixedWeeks,ISOWeek:e.ISOWeek,reverseMonths:e.reverseMonths},r),te=pge(ee),oe=sge(ee),ae=Zge(c,a,e,r),_e=dge(c,i,e,r);return{months:ee,weeks:te,days:oe,previousMonth:ae,nextMonth:_e}},[r,c.getTime(),i?.getTime(),a?.getTime(),e.disableNavigation,e.broadcastCalendar,e.endMonth?.getTime(),e.fixedWeeks,e.ISOWeek,e.numberOfMonths,e.pagedNavigation,e.reverseMonths]),{disableNavigation:_,onMonthChange:k}=e,F=(X)=>M.some((J)=>J.days.some((ee)=>ee.isEqualTo(X))),I=(X)=>{if(_)return;let J=f(X);if(a&&J<f(a))J=f(a);if(i&&J>f(i))J=f(i);m(J),k?.(J)};return{months:g,weeks:M,days:x,navStart:a,navEnd:i,previousMonth:b,nextMonth:y,goToMonth:I,goToDay:(X)=>{if(F(X))return;I(X.date)}}}C();var zZ;(function(e){e[e.Today=0]="Today",e[e.Selected=1]="Selected",e[e.LastFocused=2]="LastFocused",e[e.FocusedModifier=3]="FocusedModifier"})(zZ||(zZ={}));function hge(e){return!e[Sa.disabled]&&!e[Sa.hidden]&&!e[Sa.outside]}function gge(e,r,a,i){let f,s=-1;for(let l of e){let c=r(l);if(hge(c)){if(c[Sa.focused]&&s<zZ.FocusedModifier)f=l,s=zZ.FocusedModifier;else if(i?.isEqualTo(l)&&s<zZ.LastFocused)f=l,s=zZ.LastFocused;else if(a(l.date)&&s<zZ.Selected)f=l,s=zZ.Selected;else if(c[Sa.today]&&s<zZ.Today)f=l,s=zZ.Today}}if(!f)f=e.find((l)=>hge(r(l)));return f}function Mge(e,r,a,i,f,s,l){let{ISOWeek:c,broadcastCalendar:m}=s,{addDays:g,addMonths:M,addWeeks:x,addYears:b,endOfBroadcastWeek:y,endOfISOWeek:_,endOfWeek:k,max:F,min:I,startOfBroadcastWeek:j,startOfISOWeek:G,startOfWeek:X}=l,ee={day:g,week:x,month:M,year:b,startOfWeek:(te)=>m?j(te,l):c?G(te):X(te),endOfWeek:(te)=>m?y(te):c?_(te):k(te)}[e](a,r==="after"?1:-1);if(r==="before"&&i)ee=F([i,ee]);else if(r==="after"&&f)ee=I([f,ee]);return ee}function dH(e,r,a,i,f,s,l,c=0){if(c>365)return;let m=Mge(e,r,a.date,i,f,s,l),g=Boolean(s.disabled&&eu(m,s.disabled,l)),M=Boolean(s.hidden&&eu(m,s.hidden,l)),b=new j2(m,m,l);if(!g&&!M)return b;return dH(e,r,b,i,f,s,l,c+1)}function vge(e,r,a,i,f){let{autoFocus:s}=e,[l,c]=u(),m=gge(r.days,a,i||(()=>!1),l),[g,M]=u(s?m:void 0);return{isFocusTarget:(k)=>Boolean(m?.isEqualTo(k)),setFocused:M,focused:g,blur:()=>{c(g),M(void 0)},moveFocus:(k,F)=>{if(!g)return;let I=dH(k,F,g,r.navStart,r.navEnd,e,f);if(!I)return;if(e.disableNavigation){if(!r.days.some((G)=>G.isEqualTo(I)))return}r.goToDay(I),M(I)}}}function xge(e,r){let{selected:a,required:i,onSelect:f}=e,[s,l]=U8(a,f?a:void 0),c=!f?s:a,{isSameDay:m}=r,g=(y)=>c?.some((_)=>m(_,y))??!1,{min:M,max:x}=e;return{selected:c,select:(y,_,k)=>{let F=[...c??[]];if(g(y)){if(c?.length===M)return;if(i&&c?.length===1)return;F=c?.filter((I)=>!m(I,y))}else if(c?.length===x)F=[y];else F=[...F,y];if(!f)l(F);return f?.(F,y,_,k),F},isSelected:g}}function yge(e,r,a=0,i=0,f=!1,s=ui){let{from:l,to:c}=r||{},{isSameDay:m,isAfter:g,isBefore:M}=s,x;if(!l&&!c)x={from:e,to:a>0?void 0:e};else if(l&&!c)if(m(l,e))if(a===0)x={from:l,to:e};else if(f)x={from:l,to:void 0};else x=void 0;else if(M(e,l))x={from:e,to:l};else x={from:l,to:e};else if(l&&c)if(m(l,e)&&m(c,e))if(f)x={from:l,to:c};else x=void 0;else if(m(l,e))x={from:l,to:a>0?void 0:e};else if(m(c,e))x={from:e,to:a>0?void 0:e};else if(M(e,l))x={from:e,to:c};else if(g(e,l))x={from:l,to:e};else if(g(e,c))x={from:l,to:e};else throw Error("Invalid range");if(x?.from&&x?.to){let b=s.differenceInCalendarDays(x.to,x.from);if(i>0&&b>i)x={from:e,to:void 0};else if(a>1&&b<a)x={from:e,to:void 0}}return x}function bge(e,r,a=ui){let i=!Array.isArray(r)?[r]:r,f=e.from,s=a.differenceInCalendarDays(e.to,e.from),l=Math.min(s,6);for(let c=0;c<=l;c++){if(i.includes(f.getDay()))return!0;f=a.addDays(f,1)}return!1}function ZH(e,r,a=ui){return zl(e,r.from,!1,a)||zl(e,r.to,!1,a)||zl(r,e.from,!1,a)||zl(r,e.to,!1,a)}function _ge(e,r,a=ui){let i=Array.isArray(r)?r:[r];if(i.filter((c)=>typeof c!=="function").some((c)=>{if(typeof c==="boolean")return c;if(a.isDate(c))return zl(e,c,!1,a);if(m4(c,a))return c.some((m)=>zl(e,m,!1,a));if(Y8(c)){if(c.from&&c.to)return ZH(e,{from:c.from,to:c.to},a);return!1}if(p4(c))return bge(e,c.dayOfWeek,a);if(eR(c)){if(a.isAfter(c.before,c.after))return ZH(e,{from:a.addDays(c.after,1),to:a.addDays(c.before,-1)},a);return eu(e.from,c,a)||eu(e.to,c,a)}if(tR(c)||rR(c))return eu(e.from,c,a)||eu(e.to,c,a);return!1}))return!0;let l=i.filter((c)=>typeof c==="function");if(l.length){let c=e.from,m=a.differenceInCalendarDays(e.to,e.from);for(let g=0;g<=m;g++){if(l.some((M)=>M(c)))return!0;c=a.addDays(c,1)}}return!1}function wge(e,r){let{disabled:a,excludeDisabled:i,resetOnSelect:f,selected:s,required:l,onSelect:c}=e,[m,g]=U8(s,c?s:void 0),M=!c?m:s;return{selected:M,select:(y,_,k)=>{let{min:F,max:I}=e,j;if(y){let G=M?.from,X=M?.to,J=!!G&&!!X,ee=!!G&&!!X&&r.isSameDay(G,X)&&r.isSameDay(y,G);if(f&&(J||!M?.from))if(!l&&ee)j=void 0;else j={from:y,to:void 0};else j=yge(y,M,F,I,l,r)}if(i&&a&&j?.from&&j.to){if(_ge({from:j.from,to:j.to},a,r))j.from=y,j.to=void 0}if(!c)g(j);return c?.(j,y,_,k),j},isSelected:(y)=>M&&zl(M,y,!1,r)}}function zge(e,r){let{selected:a,required:i,onSelect:f}=e,[s,l]=U8(a,f?a:void 0),c=!f?s:a,{isSameDay:m}=r;return{selected:c,select:(x,b,y)=>{let _=x;if(!i&&c&&c&&m(x,c))_=void 0;if(!f)l(_);if(i)f?.(_,x,b,y);else f?.(_,x,b,y);return _},isSelected:(x)=>c?m(c,x):!1}}function Sge(e,r){let a=zge(e,r),i=xge(e,r),f=wge(e,r);switch(e.mode){case"single":return a;case"multiple":return i;case"range":return f;default:return}}function Ss(e,r){if(e instanceof Rn&&e.timeZone===r)return e;return new Rn(e,r)}function oR(e,r,a){if(!a)return Ss(e,r);let i=Ss(e,r),f=new Rn(i.getFullYear(),i.getMonth(),i.getDate(),12,0,0,r);return new Date(f.getTime())}function Lge(e,r,a){if(typeof e==="boolean"||typeof e==="function")return e;if(e instanceof Date)return oR(e,r,a);if(Array.isArray(e))return e.map((i)=>i instanceof Date?oR(i,r,a):i);if(Y8(e))return{...e,from:e.from?Ss(e.from,r):e.from,to:e.to?Ss(e.to,r):e.to};if(eR(e))return{before:oR(e.before,r,a),after:oR(e.after,r,a)};if(tR(e))return{after:oR(e.after,r,a)};if(rR(e))return{before:oR(e.before,r,a)};return e}function h4(e,r,a){if(!e)return e;if(Array.isArray(e))return e.map((i)=>Lge(i,r,a));return Lge(e,r,a)}function kge(e){let r=e,a=r.timeZone;if(a){if(r={...e,timeZone:a},r.today)r.today=Ss(r.today,a);if(r.month)r.month=Ss(r.month,a);if(r.defaultMonth)r.defaultMonth=Ss(r.defaultMonth,a);if(r.startMonth)r.startMonth=Ss(r.startMonth,a);if(r.endMonth)r.endMonth=Ss(r.endMonth,a);if(r.mode==="single"&&r.selected)r.selected=Ss(r.selected,a);else if(r.mode==="multiple"&&r.selected)r.selected=r.selected?.map((Dt)=>Ss(Dt,a));else if(r.mode==="range"&&r.selected)r.selected={from:r.selected.from?Ss(r.selected.from,a):r.selected.from,to:r.selected.to?Ss(r.selected.to,a):r.selected.to};if(r.disabled!==void 0)r.disabled=h4(r.disabled,a);if(r.hidden!==void 0)r.hidden=h4(r.hidden,a);if(r.modifiers){let Dt={};Object.keys(r.modifiers).forEach((ht)=>{Dt[ht]=h4(r.modifiers?.[ht],a)}),r.modifiers=Dt}}let{components:i,formatters:f,labels:s,dateLib:l,locale:c,classNames:m}=O(()=>{let Dt={...O2,...r.locale},ht=r.broadcastCalendar?1:r.weekStartsOn,Bt=r.noonSafe&&r.timeZone?nge(r.timeZone,{weekStartsOn:ht,locale:Dt}):void 0,Cr=r.dateLib&&Bt?{...Bt,...r.dateLib}:r.dateLib??Bt,Or=new Qn({locale:Dt,weekStartsOn:ht,firstWeekContainsDate:r.firstWeekContainsDate,useAdditionalWeekYearTokens:r.useAdditionalWeekYearTokens,useAdditionalDayOfYearTokens:r.useAdditionalDayOfYearTokens,timeZone:r.timeZone,numerals:r.numerals},Cr);return{dateLib:Or,components:Qhe(r.components),formatters:$he(r.formatters),labels:ege(r.labels,Or.options),locale:Dt,classNames:{...N2(),...r.classNames}}},[r.locale,r.broadcastCalendar,r.weekStartsOn,r.firstWeekContainsDate,r.useAdditionalWeekYearTokens,r.useAdditionalDayOfYearTokens,r.timeZone,r.numerals,r.dateLib,r.noonSafe,r.components,r.formatters,r.labels,r.classNames]);if(!r.today)r={...r,today:l.today()};let{captionLayout:g,mode:M,navLayout:x,numberOfMonths:b=1,onDayBlur:y,onDayClick:_,onDayFocus:k,onDayKeyDown:F,onDayMouseEnter:I,onDayMouseLeave:j,onNextClick:G,onPrevClick:X,showWeekNumber:J,styles:ee}=r,{formatCaption:te,formatDay:oe,formatMonthDropdown:ae,formatWeekNumber:_e,formatWeekNumberHeader:Ve,formatWeekdayName:Ne,formatYearDropdown:ze}=f,Ye=mge(r,l),{days:ft,months:Ke,navStart:Zt,navEnd:Et,previousMonth:Yt,nextMonth:ce,goToMonth:mt}=Ye,Vt=Khe(ft,r,Zt,Et,l),{isSelected:Pe,select:ir,selected:nr}=Sge(r,l)??{},{blur:$t,focused:Er,isFocusTarget:Wt,moveFocus:Kt,setFocused:ur}=vge(r,Ye,Vt,Pe??(()=>!1),l),{labelDayButton:Ir,labelGridcell:Rr,labelGrid:dr,labelMonthDropdown:Zo,labelNav:tr,labelPrevious:Fr,labelNext:lo,labelWeekday:jo,labelWeekNumber:po,labelWeekNumberHeader:oi,labelYearDropdown:mn}=s,qo=O(()=>oge(l,r.ISOWeek,r.broadcastCalendar,r.today),[l,r.ISOWeek,r.broadcastCalendar,r.today]),Dn=M!==void 0||_!==void 0,an=N(()=>{if(!Yt)return;mt(Yt),X?.(Yt)},[Yt,mt,X]),Vi=N(()=>{if(!ce)return;mt(ce),G?.(ce)},[mt,ce,G]),He=N((Dt,ht)=>(Bt)=>{if(Bt.preventDefault(),Bt.stopPropagation(),ur(Dt),ht.disabled)return;ir?.(Dt.date,ht,Bt),_?.(Dt.date,ht,Bt)},[ir,_,ur]),kt=N((Dt,ht)=>(Bt)=>{ur(Dt),k?.(Dt.date,ht,Bt)},[k,ur]),pr=N((Dt,ht)=>(Bt)=>{$t(),y?.(Dt.date,ht,Bt)},[$t,y]),jr=N((Dt,ht)=>(Bt)=>{let Cr={ArrowLeft:[Bt.shiftKey?"month":"day",r.dir==="rtl"?"after":"before"],ArrowRight:[Bt.shiftKey?"month":"day",r.dir==="rtl"?"before":"after"],ArrowDown:[Bt.shiftKey?"year":"week","after"],ArrowUp:[Bt.shiftKey?"year":"week","before"],PageUp:[Bt.shiftKey?"year":"month","before"],PageDown:[Bt.shiftKey?"year":"month","after"],Home:["startOfWeek","before"],End:["endOfWeek","after"]};if(Cr[Bt.key]){Bt.preventDefault(),Bt.stopPropagation();let[Or,$o]=Cr[Bt.key];Kt(Or,$o)}F?.(Dt.date,ht,Bt)},[Kt,F,r.dir]),ao=N((Dt,ht)=>(Bt)=>{I?.(Dt.date,ht,Bt)},[I]),Ho=N((Dt,ht)=>(Bt)=>{j?.(Dt.date,ht,Bt)},[j]),Ca=N((Dt,ht)=>(Bt)=>{let Cr=Number(Bt.target.value),Or=l.setMonth(l.startOfMonth(Dt),Cr);mt(l.addMonths(Or,-ht))},[l,mt]),Se=N((Dt,ht)=>(Bt)=>{let Cr=Number(Bt.target.value),Or=l.setYear(l.startOfMonth(Dt),Cr);mt(l.addMonths(Or,-ht))},[l,mt]),{className:Ce,style:je}=O(()=>({className:[m[lr.Root],r.className].filter(Boolean).join(" "),style:{...ee?.[lr.Root],...r.style}}),[m,r.className,r.style,ee]),ct=Jhe(r),bt=(Dt)=>{let ht=ee?.[lr.Dropdown],Bt=ee?.[Dt];if(!ht&&!Bt)return;return{...ht,...Bt}},jt=w(null);ige(jt,Boolean(r.animate),{classNames:m,months:Ke,focused:Er,dateLib:l});let ar={dayPickerProps:r,selected:nr,select:ir,isSelected:Pe,months:Ke,nextMonth:ce,previousMonth:Yt,goToMonth:mt,getModifiers:Vt,components:i,classNames:m,styles:ee,labels:s,formatters:f};return q(WV.Provider,{value:ar},q(i.Root,{rootRef:r.animate?jt:void 0,className:Ce,style:je,dir:r.dir,id:r.id,lang:r.lang??c.code,nonce:r.nonce,title:r.title,role:r.role,"aria-label":r["aria-label"],"aria-labelledby":r["aria-labelledby"],...ct},q(i.Months,{className:m[lr.Months],style:ee?.[lr.Months]},!r.hideNavigation&&!x&&q(i.Nav,{"data-animated-nav":r.animate?"true":void 0,className:m[lr.Nav],style:ee?.[lr.Nav],"aria-label":tr(),onPreviousClick:an,onNextClick:Vi,previousMonth:Yt,nextMonth:ce}),Ke.map((Dt,ht)=>{let Bt=r.reverseMonths?Ke.length-1-ht:ht;return q(i.Month,{"data-animated-month":r.animate?"true":void 0,className:m[lr.Month],style:ee?.[lr.Month],key:ht,displayIndex:ht,calendarMonth:Dt},x==="around"&&!r.hideNavigation&&ht===0&&q(i.PreviousMonthButton,{type:"button",className:m[lr.PreviousMonthButton],style:ee?.[lr.PreviousMonthButton],tabIndex:Yt?void 0:-1,"aria-disabled":Yt?void 0:!0,"aria-label":Fr(Yt),onClick:an,"data-animated-button":r.animate?"true":void 0},q(i.Chevron,{disabled:Yt?void 0:!0,className:m[lr.Chevron],style:ee?.[lr.Chevron],orientation:r.dir==="rtl"?"right":"left"})),q(i.MonthCaption,{"data-animated-caption":r.animate?"true":void 0,className:m[lr.MonthCaption],style:ee?.[lr.MonthCaption],calendarMonth:Dt,displayIndex:ht},g?.startsWith("dropdown")?q(i.DropdownNav,{className:m[lr.Dropdowns],style:ee?.[lr.Dropdowns]},(()=>{let Cr=g==="dropdown"||g==="dropdown-months"?q(i.MonthsDropdown,{key:"month",className:m[lr.MonthsDropdown],"aria-label":Zo(),disabled:Boolean(r.disableNavigation),onChange:Ca(Dt.date,Bt),options:tge(Dt.date,Zt,Et,f,l),style:bt(lr.MonthsDropdown),value:l.getMonth(Dt.date)}):q("span",{key:"month"},ae(Dt.date,l)),Or=g==="dropdown"||g==="dropdown-years"?q(i.YearsDropdown,{key:"year",className:m[lr.YearsDropdown],"aria-label":mn(l.options),disabled:Boolean(r.disableNavigation),onChange:Se(Dt.date,Bt),options:age(Zt,Et,f,l,Boolean(r.reverseYears)),style:bt(lr.YearsDropdown),value:l.getYear(Dt.date)}):q("span",{key:"year"},ze(Dt.date,l));return l.getMonthYearOrder()==="year-first"?[Or,Cr]:[Cr,Or]})(),q("span",{role:"status","aria-live":"polite",style:{border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap",wordWrap:"normal"}},te(Dt.date,l.options,l))):q(i.CaptionLabel,{className:m[lr.CaptionLabel],style:ee?.[lr.CaptionLabel],role:"status","aria-live":"polite"},te(Dt.date,l.options,l))),x==="around"&&!r.hideNavigation&&ht===b-1&&q(i.NextMonthButton,{type:"button",className:m[lr.NextMonthButton],style:ee?.[lr.NextMonthButton],tabIndex:ce?void 0:-1,"aria-disabled":ce?void 0:!0,"aria-label":lo(ce),onClick:Vi,"data-animated-button":r.animate?"true":void 0},q(i.Chevron,{disabled:ce?void 0:!0,className:m[lr.Chevron],style:ee?.[lr.Chevron],orientation:r.dir==="rtl"?"left":"right"})),ht===b-1&&x==="after"&&!r.hideNavigation&&q(i.Nav,{"data-animated-nav":r.animate?"true":void 0,className:m[lr.Nav],style:ee?.[lr.Nav],"aria-label":tr(),onPreviousClick:an,onNextClick:Vi,previousMonth:Yt,nextMonth:ce}),q(i.MonthGrid,{role:"grid","aria-multiselectable":M==="multiple"||M==="range","aria-label":dr(Dt.date,l.options,l)||void 0,className:m[lr.MonthGrid],style:ee?.[lr.MonthGrid]},!r.hideWeekdays&&q(i.Weekdays,{"data-animated-weekdays":r.animate?"true":void 0,className:m[lr.Weekdays],style:ee?.[lr.Weekdays]},J&&q(i.WeekNumberHeader,{"aria-label":oi(l.options),className:m[lr.WeekNumberHeader],style:ee?.[lr.WeekNumberHeader],scope:"col"},Ve()),qo.map((Cr)=>q(i.Weekday,{"aria-label":jo(Cr,l.options,l),className:m[lr.Weekday],key:String(Cr),style:ee?.[lr.Weekday],scope:"col"},Ne(Cr,l.options,l)))),q(i.Weeks,{"data-animated-weeks":r.animate?"true":void 0,className:m[lr.Weeks],style:ee?.[lr.Weeks]},Dt.weeks.map((Cr)=>q(i.Week,{className:m[lr.Week],key:Cr.weekNumber,style:ee?.[lr.Week],week:Cr},J&&q(i.WeekNumber,{week:Cr,style:ee?.[lr.WeekNumber],"aria-label":po(Cr.weekNumber,{locale:c}),className:m[lr.WeekNumber],scope:"row",role:"rowheader"},_e(Cr.weekNumber,l)),Cr.days.map((Or)=>{let{date:$o}=Or,rr=Vt(Or);if(rr[Sa.focused]=!rr.hidden&&Boolean(Er?.isEqualTo(Or)),rr[Zl.selected]=Pe?.($o)||rr.selected,Y8(nr)){let{from:nf,to:La}=nr;rr[Zl.range_start]=Boolean(nf&&La&&l.isSameDay($o,nf)),rr[Zl.range_end]=Boolean(nf&&La&&l.isSameDay($o,La)),rr[Zl.range_middle]=zl(nr,$o,!0,l)}let Go=rge(rr,ee,r.modifiersStyles),Ma=Xhe(rr,m,r.modifiersClassNames),ai=!Dn&&!rr.hidden?Rr($o,rr,l.options,l):void 0;return q(i.Day,{key:`${Or.isoDate}_${Or.displayMonthId}`,day:Or,modifiers:rr,className:Ma.join(" "),style:Go,role:"gridcell","aria-selected":rr.selected||void 0,"aria-label":ai,"data-day":Or.isoDate,"data-month":Or.outside?Or.dateMonthId:void 0,"data-selected":rr.selected||void 0,"data-disabled":rr.disabled||void 0,"data-hidden":rr.hidden||void 0,"data-outside":Or.outside||void 0,"data-focused":rr.focused||void 0,"data-today":rr.today||void 0},!rr.hidden&&Dn?q(i.DayButton,{className:m[lr.DayButton],style:ee?.[lr.DayButton],type:"button",day:Or,modifiers:rr,disabled:!rr.focused&&rr.disabled||void 0,"aria-disabled":rr.focused&&rr.disabled||void 0,tabIndex:Wt(Or)?0:-1,"aria-label":Ir($o,rr,l.options,l),onClick:He(Or,rr),onBlur:pr(Or,rr),onFocus:kt(Or,rr),onKeyDown:jr(Or,rr),onMouseEnter:ao(Or,rr),onMouseLeave:Ho(Or,rr)},oe($o,l.options,l)):!rr.hidden&&oe(Or.date,l.options,l))}))))))})),r.footer&&q(i.Footer,{className:m[lr.Footer],style:ee?.[lr.Footer],role:"status","aria-live":"polite"},r.footer)))}function Ige({className:e,classNames:r,showOutsideDays:a=!0,captionLayout:i="label",buttonVariant:f="ghost",formatters:s,components:l,...c}){let m=N2();return t(kge,{showOutsideDays:a,className:E("group/calendar bg-background p-3 [--cell-size:--spacing(8)] [[data-slot=card-content]_&]:bg-transparent [[data-slot=popover-content]_&]:bg-transparent",String.raw`rtl:**:[.rdp-button\_next>svg]:rotate-180`,String.raw`rtl:**:[.rdp-button\_previous>svg]:rotate-180`,e),captionLayout:i,formatters:{formatMonthDropdown:(g)=>g.toLocaleString("default",{month:"short"}),...s},classNames:{root:E("w-fit",m.root),months:E("relative flex flex-col gap-4 md:flex-row",m.months),month:E("flex w-full flex-col gap-4",m.month),nav:E("absolute inset-x-0 top-0 flex w-full items-center justify-between gap-1",m.nav),button_previous:E(iN({variant:f}),"size-(--cell-size) p-0 select-none aria-disabled:opacity-50",m.button_previous),button_next:E(iN({variant:f}),"size-(--cell-size) p-0 select-none aria-disabled:opacity-50",m.button_next),month_caption:E("flex h-(--cell-size) w-full items-center justify-center px-(--cell-size)",m.month_caption),dropdowns:E("flex h-(--cell-size) w-full items-center justify-center gap-1.5 text-sm font-medium",m.dropdowns),dropdown_root:E("relative rounded-md border border-input shadow-xs has-focus:border-ring has-focus:ring-[3px] has-focus:ring-ring/50",m.dropdown_root),dropdown:E("absolute inset-0 bg-popover opacity-0",m.dropdown),caption_label:E("font-medium select-none",i==="label"?"text-sm":"flex h-8 items-center gap-1 rounded-md pr-1 pl-2 text-sm [&>svg]:size-3.5 [&>svg]:text-muted-foreground",m.caption_label),month_grid:"w-full border-collapse",weekdays:E("flex",m.weekdays),weekday:E("flex-1 rounded-md text-[0.8rem] font-normal text-muted-foreground select-none",m.weekday),week:E("mt-2 flex w-full",m.week),week_number_header:E("w-(--cell-size) select-none",m.week_number_header),week_number:E("text-[0.8rem] text-muted-foreground select-none",m.week_number),day:E("group/day relative aspect-square h-full w-full p-0 text-center select-none [&:last-child[data-selected=true]_button]:rounded-r-md",c.showWeekNumber?"[&:nth-child(2)[data-selected=true]_button]:rounded-l-md":"[&:first-child[data-selected=true]_button]:rounded-l-md",m.day),range_start:E("rounded-l-md bg-accent",m.range_start),range_middle:E("rounded-none",m.range_middle),range_end:E("rounded-r-md bg-accent",m.range_end),today:E("rounded-md bg-accent text-accent-foreground data-[selected=true]:rounded-none",m.today),outside:E("text-muted-foreground aria-selected:text-muted-foreground",m.outside),disabled:E("text-muted-foreground opacity-50",m.disabled),hidden:E("invisible",m.hidden),...r},components:{Root:({className:g,rootRef:M,...x})=>t("div",{"data-slot":"calendar",ref:M,className:E(g),...x}),Chevron:({className:g,orientation:M,...x})=>{if(M==="left")return t(Gr,{className:E("size-4",g),...x});if(M==="right")return t(pt,{className:E("size-4",g),...x});return t(be,{className:E("size-4",g),...x})},DayButton:N_t,WeekNumber:({children:g,...M})=>t("td",{...M,children:t("div",{className:"flex size-(--cell-size) items-center justify-center text-center",children:g})}),...l},...c})}function N_t({className:e,day:r,modifiers:a,...i}){let f=N2(),s=w(null);return h(()=>{if(a.focused)s.current?.focus()},[a.focused]),t(S,{ref:s,variant:"ghost",size:"icon","data-day":r.date.toLocaleDateString(),"data-selected-single":a.selected&&!a.range_start&&!a.range_end&&!a.range_middle,"data-range-start":a.range_start,"data-range-end":a.range_end,"data-range-middle":a.range_middle,className:E("flex aspect-square size-auto w-full min-w-(--cell-size) flex-col gap-1 leading-none font-normal group-data-[focused=true]/day:relative group-data-[focused=true]/day:z-10 group-data-[focused=true]/day:border-ring group-data-[focused=true]/day:ring-[3px] group-data-[focused=true]/day:ring-ring/50 data-[range-end=true]:rounded-md data-[range-end=true]:rounded-r-md data-[range-end=true]:bg-primary data-[range-end=true]:text-primary-foreground data-[range-middle=true]:rounded-none data-[range-middle=true]:bg-accent data-[range-middle=true]:text-accent-foreground data-[range-start=true]:rounded-md data-[range-start=true]:rounded-l-md data-[range-start=true]:bg-primary data-[range-start=true]:text-primary-foreground data-[selected-single=true]:bg-primary data-[selected-single=true]:text-primary-foreground dark:hover:text-accent-foreground [&>span]:text-xs [&>span]:opacity-70",f.day,e),...i})}function ro({className:e,orientation:r="horizontal",decorative:a=!0,...i}){return t(jCe,{"data-slot":"separator",decorative:a,orientation:r,className:E("shrink-0 bg-border data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-px",e),...i})}C();function ma({value:e,onChange:r,placeholder:a="Pick a date",disabled:i,className:f}){let[s,l]=u(!1),[c,m]=u(e);h(()=>{if(s)m(e)},[s,e]);let g=Array.from({length:24},(k,F)=>F),M=Array.from({length:12},(k,F)=>F*5),x=(k)=>{if(k){let F=c?new Date(c):new Date;F.setFullYear(k.getFullYear()),F.setMonth(k.getMonth()),F.setDate(k.getDate()),m(F)}else m(void 0)},b=(k,F)=>{let I=c?new Date(c):new Date;if(k==="hour")I.setHours(F);else I.setMinutes(F);m(I)},y=(k)=>{let F=new Date;if(k==="24h")F=Rce(F,24);else if(k==="1w")F=c2(F,1);else if(k==="2w")F=c2(F,2);m(F)},_=()=>{r?.(c),l(!1)};return o(gt,{open:s,onOpenChange:l,children:[t(At,{asChild:!0,children:o(S,{variant:"outline",disabled:i,className:E("w-full justify-start text-left font-normal h-9",!e&&"text-muted-foreground",f),children:[t(Un,{className:"mr-2 h-4 w-4"}),e?fr(e,"yyyy/MM/dd HH:mm"):t("span",{children:a})]})}),t(yt,{className:"w-[22rem] p-0",align:"start",children:o("div",{className:"flex flex-col w-full",children:[o("div",{className:"flex w-full",children:[t(Ige,{mode:"single",selected:c,onSelect:x,className:"grow"}),o("div",{className:"flex flex-col sm:flex-row sm:h-[300px] divide-y sm:divide-y-0 sm:divide-x border-t sm:border-t-0 border-l",children:[o(ie,{className:"w-64 sm:w-auto [&_[data-orientation=vertical]]:hidden",children:[t("div",{className:"flex sm:flex-col p-2",children:g.map((k)=>t(S,{size:"icon",variant:c&&c.getHours()===k?"default":"ghost",className:"sm:w-full shrink-0 aspect-square text-xs h-8 w-8",onClick:()=>b("hour",k),children:k.toString().padStart(2,"0")},k))}),t(SN,{orientation:"horizontal",className:"sm:hidden"})]}),o(ie,{className:"w-64 sm:w-auto [&_[data-orientation=vertical]]:hidden",children:[t("div",{className:"flex sm:flex-col p-2",children:M.map((k)=>t(S,{size:"icon",variant:c&&c.getMinutes()===k?"default":"ghost",className:"sm:w-full shrink-0 aspect-square text-xs h-8 w-8",onClick:()=>b("minute",k),children:k.toString().padStart(2,"0")},k))}),t(SN,{orientation:"horizontal",className:"sm:hidden"})]})]})]}),t(ro,{}),o("div",{className:"p-2 flex items-center justify-between bg-muted/50",children:[o("div",{className:"flex gap-2",children:[t(S,{variant:"outline",size:"sm",className:"text-[10px] h-7 px-2",onClick:()=>y("24h"),children:"24 Hours"}),t(S,{variant:"outline",size:"sm",className:"text-[10px] h-7 px-2",onClick:()=>y("1w"),children:"1 Week"}),t(S,{variant:"outline",size:"sm",className:"text-[10px] h-7 px-2",onClick:()=>y("2w"),children:"2 Weeks"})]}),t(S,{size:"sm",className:"h-7 px-4",onClick:_,children:"Save"})]})]})})]})}C();var F_t=[Qe.TODO,Qe.READY,Qe.IN_PROGRESS,Qe.IN_REVIEW,Qe.DONE,Qe.BLOCKED];function Ud({teamId:e,currentTaskId:r,excludeTaskIds:a=[],value:i=[],knownTasks:f=[],onChange:s,disabled:l=!1,canEdit:c=!0,className:m}){let[g,M]=u(!1),[x,b]=u(Qe.TODO),[y,_]=u(""),[k,F]=u(()=>{let ae={};for(let _e of f)ae[_e.id]={title:_e.title,status:_e.status};return ae}),{data:I,isLoading:j}=Z({queryKey:["teams",e,"kanban","tasks","status",x],queryFn:async()=>{let ae=await A.api.teams[":teamId"].kanban.tasks.$get({param:{teamId:e},query:{status:x,first:"100"}});if(!ae.ok)return{data:[]};return await ae.json()},enabled:!!e&&g}),G=I?.data||[];O(()=>{if(G.length>0)F((ae)=>{let _e=!1,Ve={...ae};for(let Ne of G)if(!Ve[Ne.id]||Ve[Ne.id].title!==Ne.title||Ve[Ne.id].status!==Ne.status)Ve[Ne.id]={title:Ne.title,status:Ne.status},_e=!0;return _e?Ve:ae})},[G]);let X=O(()=>{let ae=new Set(a);if(r)ae.add(r);return ae},[r,a]),J=O(()=>{let ae=y.trim().toLowerCase();return G.filter((_e)=>{if(X.has(_e.id))return!1;if(!ae)return!0;return _e.title.toLowerCase().includes(ae)})},[G,X,y]),ee=(ae)=>{if(!c||l)return;let Ve=i.includes(ae)?i.filter((Ne)=>Ne!==ae):[...i,ae];s?.(Ve)},te=(ae,_e)=>{if(_e.stopPropagation(),!c||l)return;s?.(i.filter((Ve)=>Ve!==ae))},oe=c&&!l;return o(gt,{open:g&&oe,onOpenChange:(ae)=>oe&&M(ae),children:[t(At,{asChild:!0,children:t("div",{role:"button",tabIndex:oe?0:-1,className:E("w-full min-h-[36px] px-2.5 py-1.5 flex flex-wrap items-center gap-1.5 rounded-md border border-input bg-background text-xs transition-colors",oe?"cursor-pointer hover:border-ring/60 focus:outline-none focus:ring-2 focus:ring-ring/50":"cursor-not-allowed opacity-70",m),children:i.length===0?o("div",{className:"flex items-center gap-1.5 text-muted-foreground",children:[t(ks,{className:"w-3.5 h-3.5 text-muted-foreground/70"}),t("span",{children:Nft()})]}):i.map((ae)=>{let _e=k[ae];return o("span",{className:"inline-flex items-center gap-1.5 px-2 py-0.5 rounded-md text-[11px] bg-muted text-foreground border border-border/80 shrink-0 max-w-[220px]",children:[_e?.status&&t("span",{className:E("px-1 py-0.2 rounded text-[9px] uppercase font-semibold shrink-0",F8(_e.status)),children:to(_e.status)}),t("span",{className:"truncate font-medium",children:_e?.title||ae}),oe&&t("button",{type:"button",onClick:(Ve)=>te(ae,Ve),className:"text-muted-foreground hover:text-destructive shrink-0 p-0.5 -mr-1",children:t(De,{className:"w-3 h-3"})})]},ae)})})}),o(yt,{align:"start",sideOffset:4,className:"w-[var(--radix-popover-trigger-width)] min-w-[320px] sm:min-w-[420px] max-w-[500px] p-2.5 space-y-2 bg-popover border border-border rounded-lg shadow-lg",children:[t("div",{className:"flex flex-wrap gap-1.5 pb-0.5",children:F_t.map((ae)=>t("button",{type:"button",onClick:()=>b(ae),className:E("text-[11px] h-7 px-2.5 rounded-md font-medium transition-colors border shrink-0",x===ae?"bg-primary text-primary-foreground border-primary shadow-xs":"bg-muted/50 hover:bg-accent text-muted-foreground hover:text-foreground border-border/60"),children:to(ae)},ae))}),o("div",{className:"relative",children:[t(Ut,{className:"w-3.5 h-3.5 absolute left-2.5 top-1/2 -translate-y-1/2 text-muted-foreground pointer-events-none"}),t(H,{value:y,onChange:(ae)=>_(ae.target.value),placeholder:iUe(),className:"h-8 pl-8 text-xs bg-muted/40",autoFocus:!0})]}),t("div",{className:"border rounded-md overflow-hidden bg-background/50",children:t(ie,{className:"h-48 p-1",children:j?t("div",{className:"flex items-center justify-center py-8",children:t(L,{className:"w-4 h-4 animate-spin text-muted-foreground"})}):J.length===0?t("div",{className:"py-8 text-center text-xs text-muted-foreground italic",children:Sfe()}):t("div",{className:"space-y-1",children:J.map((ae)=>{let _e=i.includes(ae.id);return o("div",{onClick:()=>ee(ae.id),className:E("flex items-center justify-between p-2 rounded-md hover:bg-accent cursor-pointer transition-colors text-xs border border-transparent",_e&&"bg-accent/50 border-border/50"),children:[o("div",{className:"flex items-center gap-2 min-w-0 flex-1 pr-2",children:[t("div",{className:E("w-4 h-4 rounded border flex items-center justify-center shrink-0 transition-colors",_e?"bg-primary border-primary text-primary-foreground":"border-input bg-background"),children:_e&&t(Me,{className:"w-3 h-3 stroke-[3]"})}),t("span",{className:E("px-1.5 py-0.5 rounded text-[10px] uppercase font-medium shrink-0",F8(ae.status)),children:to(ae.status)}),t("span",{className:"font-medium text-foreground truncate",children:ae.title})]}),ae.assignee&&t("span",{className:"text-[10px] text-muted-foreground truncate shrink-0",children:ae.assignee.name})]},ae.id)})})})})]})]})}C();function Nr({className:e,...r}){return t(RLe,{"data-slot":"checkbox",className:E("peer size-4 shrink-0 rounded-[4px] border border-input shadow-xs transition-shadow outline-none focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 data-[state=checked]:border-primary data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground dark:bg-input/30 dark:aria-invalid:ring-destructive/40 dark:data-[state=checked]:bg-primary",e),...r,children:t(TLe,{"data-slot":"checkbox-indicator",className:"grid place-content-center text-current transition-none",children:t(Me,{className:"size-3.5"})})})}function Kr(e){if(!e||e<=0)return"0 B";let r=1000,a=["B","KB","MB","GB","TB","PB","EB","ZB","YB"],i=Math.floor(Math.log(e)/Math.log(r));if(i<0)i=0;if(i>=a.length)i=a.length-1;let f=e/Math.pow(r,i);if(i===0)return`${Math.round(f)} B`;let s=parseFloat(f.toFixed(2));if(s>=1000&&i<a.length-1)return parseFloat((e/Math.pow(r,i+1)).toFixed(2))+" "+a[i+1];return`${s} ${a[i]}`}C();function Cge({teamId:e,initialProjectId:r,excludeAssetIds:a=[],isOpen:i,onClose:f,onConfirm:s}){let[l,c]=u(r||""),[m,g]=u(null),[M,x]=u(new Map),{data:b,isLoading:y}=Z({queryKey:["teams",e,"projects"],queryFn:async()=>{let mt=await A.api.teams[":teamId"].projects.$get({param:{teamId:e},query:{first:"100"}});if(!mt.ok)throw Error("Failed to fetch projects");return await mt.json()},enabled:!!e&&i}),_=b?.data||[],k=l||(_[0]?.id??""),F=_.find((mt)=>mt.id===k),I=m?.id||F?.rootFolder||"",j=I===F?.rootFolder,{data:G,fetchNextPage:X,hasNextPage:J,isFetchingNextPage:ee,isLoading:te}=ut({queryKey:["folders",I,"children","folder","picker"],queryFn:async({pageParam:mt})=>{let Vt=await A.api.folders[":folderId"].children.$get({param:{folderId:I},query:{assetType:"folder",after:mt,first:"20"}});if(!Vt.ok)throw Error("Failed to fetch folders");return await Vt.json()},initialPageParam:"",getNextPageParam:(mt)=>mt.pageInfo?.cursor||void 0,enabled:!!I&&i}),{data:oe,fetchNextPage:ae,hasNextPage:_e,isFetchingNextPage:Ve,isLoading:Ne}=ut({queryKey:["folders",I,"children","file","picker"],queryFn:async({pageParam:mt})=>{let Vt=await A.api.folders[":folderId"].children.$get({param:{folderId:I},query:{assetType:"file",after:mt,first:"20"}});if(!Vt.ok)throw Error("Failed to fetch files");return await Vt.json()},initialPageParam:"",getNextPageParam:(mt)=>mt.pageInfo?.cursor||void 0,enabled:!!I&&i}),{ref:ze,inView:Ye}=Mt();h(()=>{if(Ye){if(J&&!ee)X();else if(_e&&!Ve)ae()}},[Ye,J,ee,X,_e,Ve,ae]);let ft=te&&!G||Ne&&!oe,Ke=ee||Ve,Zt=O(()=>{let mt=G?.pages.flatMap((Pe)=>Pe.data??[])??[],Vt=oe?.pages.flatMap((Pe)=>Pe.data??[])??[];return[...mt,...Vt]},[G,oe]),Et=(mt)=>{let Vt=new Map(M);if(Vt.has(mt.id))Vt.delete(mt.id);else{let Pe=F?`/${[F.name,...(mt.ancestorFolders||[]).map((ir)=>ir.name)].filter(Boolean).join("/")}`:"/";Vt.set(mt.id,{id:mt.id,name:mt.name,type:mt.type,proxyType:mt.proxyType??null,thumbnailUrl:mt.preview?.thumbnailUrl??null,path:Pe,creator:mt.creator?{id:mt.creator.id,name:mt.creator.name,image:mt.creator.image??void 0}:null,sizeByte:mt.sizeByte??0,fileCount:mt.fileCount??null,projectId:mt.projectId??F?.id??null,createdAt:mt.createdAt??new Date().toISOString()})}x(Vt)},Yt=()=>{if(!m||j)return;let mt=new Map(M);if(mt.has(m.id))mt.delete(m.id);else{let Vt=F?`/${[F.name,...(m.ancestorFolders||[]).map((Pe)=>Pe.name)].filter(Boolean).join("/")}`:"/";mt.set(m.id,{id:m.id,name:m.name,type:"folder",proxyType:null,thumbnailUrl:null,path:Vt,creator:m.creator?{id:m.creator.id,name:m.creator.name,image:m.creator.image??void 0}:null,sizeByte:m.sizeByte??0,fileCount:m.fileCount??null,projectId:m.projectId??F?.id??null,createdAt:m.createdAt??new Date().toISOString()})}x(mt)},ce=()=>{s(Array.from(M.values())),f()};return t(pe,{open:i,onOpenChange:(mt)=>{if(!mt)f()},children:o(ue,{className:"sm:max-w-4xl flex flex-col h-[650px] p-0 overflow-hidden gap-1",children:[t(me,{className:"px-4 py-3 border-b shrink-0",children:o("div",{className:"flex items-center gap-2",children:[t(or,{className:"w-5 h-5 text-primary"}),t(de,{children:uft()})]})}),o("div",{className:"flex items-center gap-2.5 px-4 py-1.5 border-b bg-transparent shrink-0",children:[o("span",{className:"text-xs font-medium text-muted-foreground whitespace-nowrap",children:[p4e(),":"]}),t("div",{className:"w-64",children:o(Le,{value:k,onValueChange:(mt)=>{c(mt),g(null)},children:[t(Be,{className:"h-8 text-xs bg-background",children:t(Ze,{placeholder:zU()})}),t(Ue,{children:_.map((mt)=>t(ne,{value:mt.id,className:"text-xs",children:mt.name},mt.id))})]})})]}),o("div",{className:"flex-1 min-h-0 flex overflow-hidden",children:[t("div",{className:"w-1/3 min-h-0 border-r bg-sidebar/30 flex flex-col overflow-hidden",children:t(ie,{className:"flex-1 min-h-0 [&>div>div]:block!",children:F&&F.rootFolder?t("div",{className:"p-2",children:t(Ar,{teamId:e,projectId:F.id,projectName:F.name,rootFolderId:F.rootFolder,onSelect:(mt)=>g(mt),selectedFolderId:I,hideCollections:!0,hideShares:!0,hideRecentlyDeleted:!0})}):t("div",{className:"flex items-center justify-center h-full p-6 text-xs text-muted-foreground",children:y?t(L,{className:"w-5 h-5 animate-spin text-muted-foreground"}):Lfe()})})}),o("div",{className:"flex-1 min-h-0 flex flex-col overflow-hidden bg-background",children:[o("div",{className:"p-2.5 px-4 border-b flex items-center justify-between bg-muted/20 shrink-0",children:[o("div",{className:"flex items-center gap-2 text-xs font-medium truncate",children:[t(or,{className:"w-4 h-4 text-muted-foreground shrink-0"}),t("span",{className:"truncate",children:m?m.name:F?.name||""}),j&&t("span",{className:"text-[10px] text-muted-foreground/70 bg-muted px-1.5 py-0.5 rounded",children:"Root"})]}),!j&&m&&t(S,{size:"sm",variant:M.has(m.id)?"secondary":"outline",className:"h-7 text-xs gap-1.5",onClick:Yt,disabled:a.includes(m.id),children:M.has(m.id)?o(B,{children:[t(Me,{className:"w-3.5 h-3.5 text-primary"}),_g()]}):o(B,{children:[t(fe,{className:"w-3.5 h-3.5"}),hft()]})})]}),t(ie,{className:"flex-1 min-h-0 [&>div>div]:block!",children:ft?t("div",{className:"flex items-center justify-center p-12",children:t(L,{className:"w-6 h-6 animate-spin text-muted-foreground"})}):Zt.length===0?o("div",{className:"flex flex-col items-center justify-center p-12 text-center text-xs text-muted-foreground gap-2",children:[t(or,{className:"w-8 h-8 opacity-30"}),t("p",{children:YKe()})]}):o("div",{className:"divide-y divide-border/40",children:[Zt.map((mt)=>{let Vt=a.includes(mt.id),Pe=M.has(mt.id),ir=mt.type==="folder";return o("div",{onClick:()=>{if(!Vt)Et(mt)},className:`flex items-center gap-3 px-4 py-2.5 hover:bg-muted/40 cursor-pointer transition-colors ${Pe?"bg-primary/5":""} ${Vt?"opacity-50 cursor-not-allowed":""}`,children:[t(Nr,{checked:Pe,disabled:Vt,onCheckedChange:()=>{if(!Vt)Et(mt)},onClick:(nr)=>nr.stopPropagation()}),t("div",{className:"w-9 h-9 rounded bg-muted/60 border shrink-0 flex items-center justify-center overflow-hidden",children:mt.preview?.thumbnailUrl?t("img",{src:mt.preview.thumbnailUrl,alt:mt.name,className:"w-full h-full object-cover"}):ir?t(or,{className:"w-5 h-5 text-primary fill-primary/20"}):t(Xt,{className:"w-5 h-5 text-muted-foreground"})}),o("div",{className:"flex-1 min-w-0",children:[t("p",{className:"text-xs font-medium truncate text-foreground",children:mt.name}),o("p",{className:"text-[11px] text-muted-foreground truncate",children:[ir?`${mt.fileCount??0} items`:Kr(mt.sizeByte||0),mt.creator?.name?` • ${mt.creator.name}`:""]})]})]},mt.id)}),t("div",{ref:ze,className:"h-1"}),Ke&&t("div",{className:"flex items-center justify-center p-3",children:t(L,{className:"w-4 h-4 animate-spin text-muted-foreground"})})]})})]})]}),o($e,{className:"p-3 px-4 border-t flex items-center justify-between sm:justify-between bg-muted/10 shrink-0",children:[t("div",{className:"text-xs text-muted-foreground",children:M.size>0&&_Ge({count:M.size})}),o("div",{className:"flex items-center gap-2",children:[t(S,{variant:"outline",size:"sm",onClick:f,children:ke()}),t(S,{size:"sm",onClick:ce,disabled:M.size===0,children:pfe()})]})]})]})})}function Fd({teamId:e,projectId:r,assets:a,onAddAssets:i,onRemoveAsset:f,disabled:s=!1}){let[l,c]=u(!1),m=(g)=>{let M=new Set(a.map((b)=>b.id)),x=g.filter((b)=>!M.has(b.id));if(x.length>0)i(x)};return o("div",{className:"space-y-2",children:[o("div",{className:"flex items-center justify-between",children:[o("div",{className:"flex items-center gap-1.5 text-xs font-semibold text-foreground",children:[t(xi,{className:"w-3.5 h-3.5 text-muted-foreground"}),t("span",{children:Hat()}),a.length>0&&o("span",{className:"text-[11px] text-muted-foreground font-normal",children:["(",a.length,")"]})]}),!s&&t(S,{type:"button",variant:"ghost",size:"sm",className:"h-6 w-6 p-0 hover:bg-muted",onClick:()=>c(!0),title:pfe(),children:t(fe,{className:"w-3.5 h-3.5"})})]}),t(ro,{}),a.length===0?t("p",{className:"text-xs text-muted-foreground/70 py-1 italic",children:eQe()}):t("div",{className:"space-y-1.5 max-h-48 overflow-y-auto pr-1",children:a.map((g)=>{let M=g.type==="folder";return o("div",{className:"flex items-center justify-between gap-2 p-1.5 px-2 rounded-md bg-muted/40 hover:bg-muted/70 transition-colors text-xs border border-border/40",children:[o("div",{className:"flex items-center gap-2.5 min-w-0 flex-1",children:[t("div",{className:"w-7 h-7 rounded bg-muted border shrink-0 flex items-center justify-center overflow-hidden",children:g.thumbnailUrl?t("img",{src:g.thumbnailUrl,alt:g.name,className:"w-full h-full object-cover"}):M?t(or,{className:"w-4 h-4 text-primary fill-primary/20"}):t(Xt,{className:"w-4 h-4 text-muted-foreground"})}),o("div",{className:"flex-1 min-w-0",children:[t("p",{className:"font-medium truncate text-foreground leading-snug",children:g.name}),t("p",{className:"text-[10px] text-muted-foreground truncate leading-none mt-0.5",children:g.path||"/"})]})]}),o("div",{className:"flex items-center gap-2 shrink-0",children:[g.creator&&o("div",{className:"flex items-center gap-1 text-[11px] text-muted-foreground",title:g.creator.name,children:[o(Ee,{className:"w-4 h-4 text-[9px]",children:[t(Ie,{src:g.creator.image||void 0}),t(Te,{children:g.creator.name.slice(0,1).toUpperCase()})]}),t("span",{className:"hidden sm:inline text-[11px] max-w-[80px] truncate",children:g.creator.name})]}),!s&&t(S,{type:"button",variant:"ghost",size:"sm",className:"h-5 w-5 p-0 text-muted-foreground hover:text-destructive hover:bg-destructive/10",onClick:()=>f(g.id),title:rpt(),children:t(De,{className:"w-3 h-3"})})]})]},g.id)})}),l&&t(Cge,{teamId:e,initialProjectId:r,excludeAssetIds:a.map((g)=>g.id),isOpen:l,onClose:()=>c(!1),onConfirm:m})]})}C();function zd({teamId:e,currentProjectId:r,currentTargetFolderId:a,isOpen:i,onClose:f,onSelect:s}){let[l,c]=u(r||""),[m,g]=u(null),{data:M,isLoading:x}=Z({queryKey:["teams",e,"projects"],queryFn:async()=>{let F=await A.api.teams[":teamId"].projects.$get({param:{teamId:e},query:{first:"100"}});if(!F.ok)throw Error("Failed to fetch projects");return await F.json()},enabled:!!e&&i}),b=M?.data||[],y=l||(b[0]?.id??""),_=b.find((F)=>F.id===y),k=()=>{if(!y)return;let F=m?.id||_?.rootFolder;if(F)s(y,F,m?.name||_?.name),f()};return t(pe,{open:i,onOpenChange:(F)=>!F&&f(),children:o(ue,{className:"sm:max-w-2xl flex flex-col h-[580px]",children:[t(me,{children:o("div",{className:"flex items-center gap-2",children:[t(or,{className:"w-5 h-5 text-primary"}),t(de,{children:Ap()})]})}),o("div",{className:"flex flex-col gap-3 flex-1 overflow-hidden py-2",children:[o("div",{className:"space-y-1.5",children:[t("label",{className:"text-xs font-medium text-muted-foreground",children:zU()}),o(Le,{value:y,onValueChange:(F)=>{c(F),g(null)},children:[t(Be,{className:"h-9",children:t(Ze,{placeholder:zU()})}),t(Ue,{children:b.map((F)=>t(ne,{value:F.id,children:F.name},F.id))})]})]}),o("div",{className:"space-y-1.5 flex-1 flex flex-col overflow-hidden",children:[t("label",{className:"text-xs font-medium text-muted-foreground",children:Cp()}),t("div",{className:"border rounded-md flex-1 overflow-hidden bg-sidebar/50",children:t(ie,{className:"h-full",children:_&&_.rootFolder?t(Ar,{teamId:e,projectId:_.id,projectName:_.name,rootFolderId:_.rootFolder,onSelect:g,selectedFolderId:m?.id||a||_.rootFolder,hideCollections:!0,hideShares:!0,hideRecentlyDeleted:!0}):t("div",{className:"flex items-center justify-center h-full p-6 text-xs text-muted-foreground",children:x?t(L,{className:"w-5 h-5 animate-spin text-muted-foreground"}):Lfe()})})})]})]}),o($e,{children:[t(S,{variant:"outline",onClick:f,children:ke()}),t(S,{onClick:k,disabled:!y,children:Wa()})]})]})})}function Rge({teamId:e,task:r,canEdit:a=!0}){let i=K(),[f,s]=u(r.title),[l,c]=u(r.description||""),[m,g]=u(!1),[M,x]=u(null),b=w(null);h(()=>{s(r.title),c(r.description||"")},[r.id,r.title,r.description]);let{data:y=[]}=Z({queryKey:["teams",e,"members","human"],queryFn:async()=>{let te=await A.api.teams[":teamId"].members.$get({param:{teamId:e},query:{includeAgents:"false"}});if(!te.ok)return[];let oe=await te.json();return Array.isArray(oe)?oe:[]},enabled:!!e}),{data:_=[]}=Z({queryKey:["teams",e,"agents"],queryFn:async()=>{let te=await A.api.teams[":teamId"].agents.$get({param:{teamId:e}});if(!te.ok)return[];return await te.json()||[]},enabled:!!e}),{data:k}=Z({queryKey:["teams",e,"kanban","goals"],queryFn:async()=>{let te=await A.api.teams[":teamId"].kanban.goals.$get({param:{teamId:e},query:{}});if(!te.ok)return{data:[]};return await te.json()},enabled:!!e}),F=k?.data||[],{mutate:I,isPending:j}=U({mutationFn:async(te)=>{let oe=await A.api.teams[":teamId"].kanban.tasks[":taskId"].$patch({param:{teamId:e,taskId:r.id},json:te});if(!oe.ok){let ae=await oe.json().catch(()=>({message:Sn()}));throw Error(ae.message||Sn())}return await oe.json()},onSuccess:()=>{i.invalidateQueries({queryKey:["teams",e,"kanban","task",r.id]}),i.invalidateQueries({queryKey:["teams",e,"kanban","tasks"]})},onError:(te)=>{R.error(te.message)}}),{mutate:G}=U({mutationFn:async(te)=>{let oe=await A.api.teams[":teamId"].kanban.tasks[":taskId"].assets.$post({param:{teamId:e,taskId:r.id},json:{assetIds:te.map((ae)=>ae.id)}});if(!oe.ok)throw Error("Failed to link assets");return await oe.json()},onSuccess:()=>{i.invalidateQueries({queryKey:["teams",e,"kanban","task",r.id]}),i.invalidateQueries({queryKey:["teams",e,"kanban","tasks"]}),R.success(hfe())},onError:(te)=>{R.error(te.message)}}),{mutate:X}=U({mutationFn:async(te)=>{let oe=await A.api.teams[":teamId"].kanban.tasks[":taskId"].assets[":assetId"].$delete({param:{teamId:e,taskId:r.id,assetId:te}});if(!oe.ok)throw Error("Failed to unlink asset");return await oe.json()},onSuccess:()=>{i.invalidateQueries({queryKey:["teams",e,"kanban","task",r.id]}),i.invalidateQueries({queryKey:["teams",e,"kanban","tasks"]}),R.success(gfe())},onError:(te)=>{R.error(te.message)}}),J=(te,oe)=>{if(te==="title")s(oe);if(te==="description")c(oe);if(b.current)clearTimeout(b.current);b.current=setTimeout(()=>{if(te==="title"&&oe.trim()&&oe.trim()!==r.title)I({title:oe.trim()});else if(te==="description"&&oe!==(r.description||""))I({description:oe.trim()||null})},600)},ee=r.isAgentTask;return o(ie,{className:"h-full p-5",children:[o("div",{className:"space-y-6 w-full pr-3",children:[o("div",{className:"space-y-1.5",children:[o("div",{className:"flex items-center justify-between",children:[t(V,{htmlFor:"task-title",className:"text-xs font-semibold text-muted-foreground uppercase tracking-wider",children:Bg()}),j&&o("span",{className:"flex items-center gap-1 text-[11px] text-muted-foreground animate-pulse",children:[t(L,{className:"w-3 h-3 animate-spin"}),bg()]})]}),t(H,{id:"task-title",value:f,onChange:(te)=>J("title",te.target.value),disabled:!a,className:"text-base font-semibold h-10 bg-background",placeholder:Ug()})]}),o("div",{className:"space-y-1.5",children:[t(V,{htmlFor:"task-description",className:"text-xs font-semibold text-muted-foreground uppercase tracking-wider",children:Dg()}),t(pa,{id:"task-description",value:l,onChange:(te)=>J("description",te.target.value),disabled:!a,rows:5,className:"text-xs leading-relaxed bg-background",placeholder:Lg()})]}),o("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4 p-4 rounded-lg bg-muted/20 border border-border/60",children:[o("div",{className:"sm:col-span-2 flex items-center justify-between space-x-2 rounded-md border border-border/60 bg-background/50 px-3 py-2 h-14",children:[o("div",{className:"space-y-0.5 min-w-0 pr-2",children:[o(V,{className:"text-xs font-medium text-muted-foreground flex items-center gap-1.5",children:[t(wt,{className:"w-3.5 h-3.5 text-orange-500"}),t("span",{children:Pd()})]}),t("p",{className:"text-[11px] text-muted-foreground/80 line-clamp-1",children:Fg()})]}),t(qe,{checked:r.isAgentTask,disabled:!0})]}),o("div",{className:"space-y-1.5",children:[t(V,{className:"text-xs font-medium text-muted-foreground",children:Zg()}),o(Le,{value:r.priority,onValueChange:(te)=>I({priority:te}),disabled:!a,children:[t(Be,{className:"w-full h-8 text-xs bg-background",children:t(Ze,{})}),t(Ue,{children:Object.values(Br).map((te)=>t(ne,{value:te,children:t("span",{className:E("px-1.5 py-0.5 rounded text-[10px] uppercase font-medium",ti(te)),children:ei(te)})},te))})]})]}),o("div",{className:"space-y-1.5",children:[t(V,{className:"text-xs font-medium text-muted-foreground",children:fd()}),o(Le,{value:r.goal?.id||"none",onValueChange:(te)=>I({goalId:te==="none"?null:te}),disabled:!a,children:[t(Be,{className:"w-full h-8 text-xs bg-background",children:t(Ze,{placeholder:fXe()})}),o(Ue,{children:[t(ne,{value:"none",children:t("span",{className:"text-muted-foreground italic",children:"None"})}),F.filter((te)=>te.id!==fa).map((te)=>t(ne,{value:te.id,children:o("div",{className:"flex items-center gap-2",children:[t(bo,{className:"w-3.5 h-3.5 text-primary"}),t("span",{children:te.title})]})},te.id))]})]})]}),o("div",{className:"space-y-1.5",children:[t(V,{className:"text-xs font-medium text-muted-foreground",children:ee?Md():Bm()}),o(Le,{value:r.assignee?.id||"none",onValueChange:(te)=>I({assigneeId:te==="none"?null:te}),disabled:!a,children:[t(Be,{className:"w-full h-8 text-xs bg-background",children:t(Ze,{placeholder:cs()})}),o(Ue,{children:[t(ne,{value:"none",children:t("span",{className:"text-muted-foreground italic",children:cs()})}),ee?_.map((te)=>t(ne,{value:te.id,children:o("div",{className:"flex items-center gap-2",children:[t(wt,{className:"w-3.5 h-3.5 text-purple-500"}),t("span",{children:te.name})]})},te.id)):y.map((te)=>t(ne,{value:te.id,children:o("div",{className:"flex items-center gap-2",children:[o(Ee,{size:"sm",className:"w-4 h-4",children:[t(Ie,{src:te.image}),t(Te,{className:"text-[8px]",children:te.name.slice(0,2).toUpperCase()})]}),t("span",{children:te.name})]})},te.id))]})]})]}),o("div",{className:"space-y-1.5",children:[t(V,{className:"text-xs font-medium text-muted-foreground",children:pg()}),o(Le,{value:r.reporter?.id||"none",onValueChange:(te)=>I({reporterId:te==="none"?null:te}),disabled:!a,children:[t(Be,{className:"w-full h-8 text-xs bg-background",children:t(Ze,{placeholder:cs()})}),o(Ue,{children:[t(ne,{value:"none",children:t("span",{className:"text-muted-foreground italic",children:cs()})}),y.map((te)=>t(ne,{value:te.id,children:o("div",{className:"flex items-center gap-2",children:[o(Ee,{size:"sm",className:"w-4 h-4",children:[t(Ie,{src:te.image}),t(Te,{className:"text-[8px]",children:te.name.slice(0,2).toUpperCase()})]}),t("span",{children:te.name})]})},te.id))]})]})]}),ee&&o("div",{className:"sm:col-span-2 space-y-1.5",children:[t(V,{className:"text-xs font-medium text-muted-foreground",children:Cp()}),t("div",{className:"flex items-center gap-2",children:o(S,{type:"button",variant:"outline",size:"sm",onClick:()=>g(!0),disabled:!a,className:"w-full justify-start h-8 text-xs bg-background truncate font-normal",children:[t(or,{className:"w-3.5 h-3.5 mr-2 text-primary shrink-0"}),t("span",{className:"truncate",children:M||(r.targetFolderId?"Selected Folder":Ap())})]})})]}),o("div",{className:"space-y-1.5",children:[t(V,{className:"text-xs font-medium text-muted-foreground",children:Rd()}),t(ma,{value:r.startDate?new Date(r.startDate):void 0,onChange:(te)=>I({startDate:te?te.toISOString():null}),disabled:!a,placeholder:Rd(),className:"h-8 text-xs bg-background"})]}),o("div",{className:"space-y-1.5",children:[t(V,{className:"text-xs font-medium text-muted-foreground",children:ad()}),t(ma,{value:r.dueDate?new Date(r.dueDate):void 0,onChange:(te)=>I({dueDate:te?te.toISOString():null}),disabled:!a,placeholder:ad(),className:"h-8 text-xs bg-background"})]}),o("div",{className:"sm:col-span-2 space-y-1.5",children:[t(V,{className:"text-xs font-medium text-muted-foreground",children:Gh()}),t(Ud,{teamId:e,currentTaskId:r.id,excludeTaskIds:r.dependents.map((te)=>te.id),value:r.dependencies.map((te)=>te.id),knownTasks:[...r.dependencies,...r.dependents],onChange:(te)=>I({parentIds:te}),canEdit:a})]}),t("div",{className:"sm:col-span-2 pt-1",children:t(Fd,{teamId:e,projectId:r.projectId,assets:r.assets||[],onAddAssets:(te)=>G(te),onRemoveAsset:(te)=>X(te),disabled:!a})})]})]}),m&&t(zd,{teamId:e,currentProjectId:r.projectId,currentTargetFolderId:r.targetFolderId,isOpen:m,onClose:()=>g(!1),onSelect:(te,oe,ae)=>{x(ae||"Selected Folder"),I({projectId:te,targetFolderId:oe})}})]})}C();C();function As(){}function g4(){}function Pge(e,r){let a=r||{};return(e[e.length-1]===""?[...e,""]:e).join((a.padRight?" ":"")+","+(a.padLeft===!1?"":" ")).trim()}var B_t=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Y_t=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,U_t={};function M4(e,r){return((r||U_t).jsx?Y_t:B_t).test(e)}var q_t=/[ \t\n\f\r]/g;function pH(e){return typeof e==="object"?e.type==="text"?Tge(e.value):!1:Tge(e)}function Tge(e){return e.replace(q_t,"")===""}class q8{constructor(e,r,a){if(this.normal=r,this.property=e,a)this.space=a}}q8.prototype.normal={};q8.prototype.property={};q8.prototype.space=void 0;function mH(e,r){let a={},i={};for(let f of e)Object.assign(a,f.property),Object.assign(i,f.normal);return new q8(a,i,r)}function B2(e){return e.toLowerCase()}class rf{constructor(e,r){this.attribute=r,this.property=e}}rf.prototype.attribute="";rf.prototype.booleanish=!1;rf.prototype.boolean=!1;rf.prototype.commaOrSpaceSeparated=!1;rf.prototype.commaSeparated=!1;rf.prototype.defined=!1;rf.prototype.mustUseProperty=!1;rf.prototype.number=!1;rf.prototype.overloadedBoolean=!1;rf.prototype.property="";rf.prototype.spaceSeparated=!1;rf.prototype.space=void 0;var Y2={};Oe(Y2,{boolean:()=>Jr,booleanish:()=>Pn,commaOrSpaceSeparated:()=>Ll,commaSeparated:()=>pM,number:()=>Jt,overloadedBoolean:()=>v4,spaceSeparated:()=>Jo});var V_t=0,Jr=CL(),Pn=CL(),v4=CL(),Jt=CL(),Jo=CL(),pM=CL(),Ll=CL();function CL(){return 2**++V_t}var hH=Object.keys(Y2);class aR extends rf{constructor(e,r,a,i){let f=-1;super(e,r);if(Age(this,"space",i),typeof a==="number")while(++f<hH.length){let s=hH[f];Age(this,hH[f],(a&Y2[s])===Y2[s])}}}aR.prototype.defined=!0;function Age(e,r,a){if(a)e[r]=a}function tu(e){let r={},a={};for(let[i,f]of Object.entries(e.properties)){let s=new aR(i,e.transform(e.attributes||{},i),f,e.space);if(e.mustUseProperty&&e.mustUseProperty.includes(i))s.mustUseProperty=!0;r[i]=s,a[B2(i)]=i,a[B2(s.attribute)]=i}return new q8(r,a,e.space)}var gH=tu({properties:{ariaActiveDescendant:null,ariaAtomic:Pn,ariaAutoComplete:null,ariaBusy:Pn,ariaChecked:Pn,ariaColCount:Jt,ariaColIndex:Jt,ariaColSpan:Jt,ariaControls:Jo,ariaCurrent:null,ariaDescribedBy:Jo,ariaDetails:null,ariaDisabled:Pn,ariaDropEffect:Jo,ariaErrorMessage:null,ariaExpanded:Pn,ariaFlowTo:Jo,ariaGrabbed:Pn,ariaHasPopup:null,ariaHidden:Pn,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Jo,ariaLevel:Jt,ariaLive:null,ariaModal:Pn,ariaMultiLine:Pn,ariaMultiSelectable:Pn,ariaOrientation:null,ariaOwns:Jo,ariaPlaceholder:null,ariaPosInSet:Jt,ariaPressed:Pn,ariaReadOnly:Pn,ariaRelevant:null,ariaRequired:Pn,ariaRoleDescription:Jo,ariaRowCount:Jt,ariaRowIndex:Jt,ariaRowSpan:Jt,ariaSelected:Pn,ariaSetSize:Jt,ariaSort:null,ariaValueMax:Jt,ariaValueMin:Jt,ariaValueNow:Jt,ariaValueText:null,role:null},transform(e,r){return r==="role"?r:"aria-"+r.slice(4).toLowerCase()}});function x4(e,r){return r in e?e[r]:r}function y4(e,r){return x4(e,r.toLowerCase())}var Dge=tu({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:pM,acceptCharset:Jo,accessKey:Jo,action:null,allow:null,allowFullScreen:Jr,allowPaymentRequest:Jr,allowUserMedia:Jr,alpha:Jr,alt:null,as:null,async:Jr,autoCapitalize:null,autoComplete:Jo,autoFocus:Jr,autoPlay:Jr,blocking:Jo,capture:null,charSet:null,checked:Jr,cite:null,className:Jo,closedBy:null,colorSpace:null,cols:Jt,colSpan:Jt,command:null,commandFor:null,content:null,contentEditable:Pn,controls:Jr,controlsList:Jo,coords:Jt|pM,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Jr,defer:Jr,dir:null,dirName:null,disabled:Jr,download:v4,draggable:Pn,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Jr,formTarget:null,headers:Jo,height:Jt,hidden:v4,high:Jt,href:null,hrefLang:null,htmlFor:Jo,httpEquiv:Jo,id:null,imageSizes:null,imageSrcSet:null,inert:Jr,inputMode:null,integrity:null,is:null,isMap:Jr,itemId:null,itemProp:Jo,itemRef:Jo,itemScope:Jr,itemType:Jo,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Jr,low:Jt,manifest:null,max:null,maxLength:Jt,media:null,method:null,min:null,minLength:Jt,multiple:Jr,muted:Jr,name:null,nonce:null,noModule:Jr,noValidate:Jr,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:Jr,optimum:Jt,pattern:null,ping:Jo,placeholder:null,playsInline:Jr,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:Jr,referrerPolicy:null,rel:Jo,required:Jr,reversed:Jr,rows:Jt,rowSpan:Jt,sandbox:Jo,scope:null,scoped:Jr,seamless:Jr,selected:Jr,shadowRootClonable:Jr,shadowRootCustomElementRegistry:Jr,shadowRootDelegatesFocus:Jr,shadowRootMode:null,shadowRootSerializable:Jr,shape:null,size:Jt,sizes:null,slot:null,span:Jt,spellCheck:Pn,src:null,srcDoc:null,srcLang:null,srcSet:null,start:Jt,step:null,style:null,tabIndex:Jt,target:null,title:null,translate:null,type:null,typeMustMatch:Jr,useMap:null,value:Pn,width:Jt,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Jo,axis:null,background:null,bgColor:null,border:Jt,borderColor:null,bottomMargin:Jt,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:Jr,declare:Jr,event:null,face:null,frame:null,frameBorder:null,hSpace:Jt,leftMargin:Jt,link:null,longDesc:null,lowSrc:null,marginHeight:Jt,marginWidth:Jt,noResize:Jr,noHref:Jr,noShade:Jr,noWrap:Jr,object:null,profile:null,prompt:null,rev:null,rightMargin:Jt,rules:null,scheme:null,scrolling:Pn,standby:null,summary:null,text:null,topMargin:Jt,valueType:null,version:null,vAlign:null,vLink:null,vSpace:Jt,allowTransparency:null,autoCorrect:null,autoSave:null,credentialless:Jr,disablePictureInPicture:Jr,disableRemotePlayback:Jr,exportParts:pM,part:Jo,prefix:null,property:null,results:Jt,security:null,unselectable:null},space:"html",transform:y4});var Ege=tu({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",maskType:"mask-type",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:Ll,accentHeight:Jt,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:Jt,amplitude:Jt,arabicForm:null,ascent:Jt,attributeName:null,attributeType:null,azimuth:Jt,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:Jt,by:null,calcMode:null,capHeight:Jt,className:Jo,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:Jt,diffuseConstant:Jt,direction:null,display:null,dur:null,divisor:Jt,dominantBaseline:null,download:Jr,dx:null,dy:null,edgeMode:null,editable:null,elevation:Jt,enableBackground:null,end:null,event:null,exponent:Jt,externalResourcesRequired:null,fill:null,fillOpacity:Jt,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:pM,g2:pM,glyphName:pM,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:Jt,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:Jt,horizOriginX:Jt,horizOriginY:Jt,id:null,ideographic:Jt,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:Jt,k:Jt,k1:Jt,k2:Jt,k3:Jt,k4:Jt,kernelMatrix:Ll,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:Jt,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskType:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:Jt,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:Jt,overlineThickness:Jt,paintOrder:null,panose1:null,path:null,pathLength:Jt,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Jo,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:Jt,pointsAtY:Jt,pointsAtZ:Jt,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Ll,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Ll,rev:Ll,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Ll,requiredFeatures:Ll,requiredFonts:Ll,requiredFormats:Ll,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:Jt,specularExponent:Jt,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:Jt,strikethroughThickness:Jt,string:null,stroke:null,strokeDashArray:Ll,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:Jt,strokeOpacity:Jt,strokeWidth:null,style:null,surfaceScale:Jt,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Ll,tabIndex:Jt,tableValues:null,target:null,targetX:Jt,targetY:Jt,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Ll,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:Jt,underlineThickness:Jt,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:Jt,values:null,vAlphabetic:Jt,vMathematical:Jt,vectorEffect:null,vHanging:Jt,vIdeographic:Jt,version:null,vertAdvY:Jt,vertOriginX:Jt,vertOriginY:Jt,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:Jt,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:x4});var MH=tu({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(e,r){return"xlink:"+r.slice(5).toLowerCase()}});var vH=tu({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:y4});var xH=tu({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,r){return"xml:"+r.slice(3).toLowerCase()}});var yH={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"};var H_t=/[A-Z]/g,Oge=/-[a-z]/g,W_t=/^data[-\w.:]+$/i;function bH(e,r){let a=B2(r),i=r,f=rf;if(a in e.normal)return e.property[e.normal[a]];if(a.length>4&&a.slice(0,4)==="data"&&W_t.test(r)){if(r.charAt(4)==="-"){let s=r.slice(5).replace(Oge,K_t);i="data"+s.charAt(0).toUpperCase()+s.slice(1)}else{let s=r.slice(4);if(!Oge.test(s)){let l=s.replace(H_t,G_t);if(l.charAt(0)!=="-")l="-"+l;r="data"+l}}f=aR}return new f(i,r)}function G_t(e){return"-"+e.toLowerCase()}function K_t(e){return e.charAt(1).toUpperCase()}var jge=mH([gH,Dge,MH,vH,xH],"html"),b4=mH([gH,Ege,MH,vH,xH],"svg");function Nge(e){return e.join(" ").trim()}var rMe=z(Jge(),1);var _4=$ge("end"),nR=$ge("start");function $ge(e){return r;function r(a){let i=a&&a.position&&a.position[e]||{};if(typeof i.line==="number"&&i.line>0&&typeof i.column==="number"&&i.column>0)return{line:i.line,column:i.column,offset:typeof i.offset==="number"&&i.offset>-1?i.offset:void 0}}}function zH(e){let r=nR(e),a=_4(e);if(r&&a)return{start:r,end:a}}function V8(e){if(!e||typeof e!=="object")return"";if("position"in e||"type"in e)return eMe(e.position);if("start"in e||"end"in e)return eMe(e);if("line"in e||"column"in e)return SH(e);return""}function SH(e){return tMe(e&&e.line)+":"+tMe(e&&e.column)}function eMe(e){return SH(e&&e.start)+"-"+SH(e&&e.end)}function tMe(e){return e&&typeof e==="number"?e:1}class di extends Error{constructor(e,r,a){super();if(typeof r==="string")a=r,r=void 0;let i="",f={},s=!1;if(r)if("line"in r&&"column"in r)f={place:r};else if("start"in r&&"end"in r)f={place:r};else if("type"in r)f={ancestors:[r],place:r.position};else f={...r};if(typeof e==="string")i=e;else if(!f.cause&&e)s=!0,i=e.message,f.cause=e;if(!f.ruleId&&!f.source&&typeof a==="string"){let c=a.indexOf(":");if(c===-1)f.ruleId=a;else f.source=a.slice(0,c),f.ruleId=a.slice(c+1)}if(!f.place&&f.ancestors&&f.ancestors){let c=f.ancestors[f.ancestors.length-1];if(c)f.place=c.position}let l=f.place&&"start"in f.place?f.place.start:f.place;this.ancestors=f.ancestors||void 0,this.cause=f.cause||void 0,this.column=l?l.column:void 0,this.fatal=void 0,this.file="",this.message=i,this.line=l?l.line:void 0,this.name=V8(f.place)||"1:1",this.place=f.place||void 0,this.reason=this.message,this.ruleId=f.ruleId||void 0,this.source=f.source||void 0,this.stack=s&&f.cause&&typeof f.cause.stack==="string"?f.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}di.prototype.file="";di.prototype.name="";di.prototype.reason="";di.prototype.message="";di.prototype.stack="";di.prototype.column=void 0;di.prototype.line=void 0;di.prototype.ancestors=void 0;di.prototype.cause=void 0;di.prototype.fatal=void 0;di.prototype.place=void 0;di.prototype.ruleId=void 0;di.prototype.source=void 0;var LH={}.hasOwnProperty,ywt=new Map,bwt=/[A-Z]/g,_wt=new Set(["table","tbody","thead","tfoot","tr"]),wwt=new Set(["td","th"]),oMe="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function kH(e,r){if(!r||r.Fragment===void 0)throw TypeError("Expected `Fragment` in options");let a=r.filePath||void 0,i;if(r.development){if(typeof r.jsxDEV!=="function")throw TypeError("Expected `jsxDEV` in options when `development: true`");i=Pwt(a,r.jsxDEV)}else{if(typeof r.jsx!=="function")throw TypeError("Expected `jsx` in production options");if(typeof r.jsxs!=="function")throw TypeError("Expected `jsxs` in production options");i=Rwt(a,r.jsx,r.jsxs)}let f={Fragment:r.Fragment,ancestors:[],components:r.components||{},create:i,elementAttributeNameCase:r.elementAttributeNameCase||"react",evaluater:r.createEvaluater?r.createEvaluater():void 0,filePath:a,ignoreInvalidStyle:r.ignoreInvalidStyle||!1,passKeys:r.passKeys!==!1,passNode:r.passNode||!1,schema:r.space==="svg"?b4:jge,stylePropertyNameCase:r.stylePropertyNameCase||"dom",tableCellAlignToStyle:r.tableCellAlignToStyle!==!1},s=aMe(f,e,void 0);if(s&&typeof s!=="string")return s;return f.create(e,f.Fragment,{children:s||void 0},void 0)}function aMe(e,r,a){if(r.type==="element")return zwt(e,r,a);if(r.type==="mdxFlowExpression"||r.type==="mdxTextExpression")return Swt(e,r);if(r.type==="mdxJsxFlowElement"||r.type==="mdxJsxTextElement")return kwt(e,r,a);if(r.type==="mdxjsEsm")return Lwt(e,r);if(r.type==="root")return Iwt(e,r,a);if(r.type==="text")return Cwt(e,r)}function zwt(e,r,a){let i=e.schema,f=i;if(r.tagName.toLowerCase()==="svg"&&i.space==="html")f=b4,e.schema=f;e.ancestors.push(r);let s=iMe(e,r.tagName,!1),l=Twt(e,r),c=CH(e,r);if(_wt.has(r.tagName))c=c.filter(function(m){return typeof m==="string"?!pH(m):!0});return nMe(e,l,s,r),IH(l,c),e.ancestors.pop(),e.schema=i,e.create(r,s,l,a)}function Swt(e,r){if(r.data&&r.data.estree&&e.evaluater){let i=r.data.estree.body[0];return As(i.type==="ExpressionStatement"),e.evaluater.evaluateExpression(i.expression)}q2(e,r.position)}function Lwt(e,r){if(r.data&&r.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(r.data.estree);q2(e,r.position)}function kwt(e,r,a){let i=e.schema,f=i;if(r.name==="svg"&&i.space==="html")f=b4,e.schema=f;e.ancestors.push(r);let s=r.name===null?e.Fragment:iMe(e,r.name,!0),l=Awt(e,r),c=CH(e,r);return nMe(e,l,s,r),IH(l,c),e.ancestors.pop(),e.schema=i,e.create(r,s,l,a)}function Iwt(e,r,a){let i={};return IH(i,CH(e,r)),e.create(r,e.Fragment,i,a)}function Cwt(e,r){return r.value}function nMe(e,r,a,i){if(typeof a!=="string"&&a!==e.Fragment&&e.passNode)r.node=i}function IH(e,r){if(r.length>0){let a=r.length>1?r:r[0];if(a)e.children=a}}function Rwt(e,r,a){return i;function i(f,s,l,c){let g=Array.isArray(l.children)?a:r;return c?g(s,l,c):g(s,l)}}function Pwt(e,r){return a;function a(i,f,s,l){let c=Array.isArray(s.children),m=nR(i);return r(f,s,l,c,{columnNumber:m?m.column-1:void 0,fileName:e,lineNumber:m?m.line:void 0},void 0)}}function Twt(e,r){let a={},i,f;for(f in r.properties)if(f!=="children"&&LH.call(r.properties,f)){let s=Dwt(e,f,r.properties[f]);if(s){let[l,c]=s;if(e.tableCellAlignToStyle&&l==="align"&&typeof c==="string"&&wwt.has(r.tagName))i=c;else a[l]=c}}if(i){let s=a.style||(a.style={});s[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=i}return a}function Awt(e,r){let a={};for(let i of r.attributes)if(i.type==="mdxJsxExpressionAttribute")if(i.data&&i.data.estree&&e.evaluater){let s=i.data.estree.body[0];As(s.type==="ExpressionStatement");let l=s.expression;As(l.type==="ObjectExpression");let c=l.properties[0];As(c.type==="SpreadElement"),Object.assign(a,e.evaluater.evaluateExpression(c.argument))}else q2(e,r.position);else{let f=i.name,s;if(i.value&&typeof i.value==="object")if(i.value.data&&i.value.data.estree&&e.evaluater){let c=i.value.data.estree.body[0];As(c.type==="ExpressionStatement"),s=e.evaluater.evaluateExpression(c.expression)}else q2(e,r.position);else s=i.value===null?!0:i.value;a[f]=s}return a}function CH(e,r){let a=[],i=-1,f=e.passKeys?new Map:ywt;while(++i<r.children.length){let s=r.children[i],l;if(e.passKeys){let m=s.type==="element"?s.tagName:s.type==="mdxJsxFlowElement"||s.type==="mdxJsxTextElement"?s.name:void 0;if(m){let g=f.get(m)||0;l=m+"-"+g,f.set(m,g+1)}}let c=aMe(e,s,l);if(c!==void 0)a.push(c)}return a}function Dwt(e,r,a){let i=bH(e.schema,r);if(a===null||a===void 0||typeof a==="number"&&Number.isNaN(a))return;if(Array.isArray(a))a=i.commaSeparated?Pge(a):Nge(a);if(i.property==="style"){let f=typeof a==="object"?a:Ewt(e,String(a));if(e.stylePropertyNameCase==="css")f=Owt(f);return["style",f]}return[e.elementAttributeNameCase==="react"&&i.space?yH[i.property]||i.property:i.attribute,a]}function Ewt(e,r){try{return rMe.default(r,{reactCompat:!0})}catch(a){if(e.ignoreInvalidStyle)return{};let i=a,f=new di("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:i,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw f.file=e.filePath||void 0,f.url=oMe+"#cannot-parse-style-attribute",f}}function iMe(e,r,a){let i;if(!a)i={type:"Literal",value:r};else if(r.includes(".")){let f=r.split("."),s=-1,l;while(++s<f.length){let c=M4(f[s])?{type:"Identifier",name:f[s]}:{type:"Literal",value:f[s]};l=l?{type:"MemberExpression",object:l,property:c,computed:Boolean(s&&c.type==="Literal"),optional:!1}:c}As(l,"always a result"),i=l}else i=M4(r)&&!/^[a-z]/.test(r)?{type:"Identifier",name:r}:{type:"Literal",value:r};if(i.type==="Literal"){let f=i.value;return LH.call(e.components,f)?e.components[f]:f}if(e.evaluater)return e.evaluater.evaluateExpression(i);q2(e)}function q2(e,r){let a=new di("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:r,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw a.file=e.filePath||void 0,a.url=oMe+"#cannot-handle-mdx-estrees-without-createevaluater",a}function Owt(e){let r={},a;for(a in e)if(LH.call(e,a))r[jwt(a)]=e[a];return r}function jwt(e){let r=e.replace(bwt,Nwt);if(r.slice(0,3)==="ms-")r="-"+r;return r}function Nwt(e){return"-"+e.toLowerCase()}var V2={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]};C();var Fwt={};function RH(e,r){let a=r||Fwt,i=typeof a.includeImageAlt==="boolean"?a.includeImageAlt:!0,f=typeof a.includeHtml==="boolean"?a.includeHtml:!0;return sMe(e,i,f)}function sMe(e,r,a){if(Bwt(e)){if("value"in e)return e.type==="html"&&!a?"":e.value;if(r&&"alt"in e&&e.alt)return e.alt;if("children"in e)return fMe(e.children,r,a)}if(Array.isArray(e))return fMe(e,r,a);return""}function fMe(e,r,a){let i=[],f=-1;while(++f<e.length)i[f]=sMe(e[f],r,a);return i.join("")}function Bwt(e){return Boolean(e&&typeof e==="object")}var lMe=document.createElement("i");function iR(e){let r="&"+e+";";lMe.innerHTML=r;let a=lMe.textContent;if(a.charCodeAt(a.length-1)===59&&e!=="semi")return!1;return a===r?!1:a}function of(e,r,a,i){let f=e.length,s=0,l;if(r<0)r=-r>f?0:f+r;else r=r>f?f:r;if(a=a>0?a:0,i.length<1e4)l=Array.from(i),l.unshift(r,a),e.splice(...l);else{if(a)e.splice(r,a);while(s<i.length)l=i.slice(s,s+1e4),l.unshift(r,0),e.splice(...l),s+=1e4,r+=1e4}}function js(e,r){if(e.length>0)return of(e,e.length,0,r),e;return r}var cMe={}.hasOwnProperty;function uMe(e){let r={},a=-1;while(++a<e.length)Ywt(r,e[a]);return r}function Ywt(e,r){let a;for(a in r){let f=(cMe.call(e,a)?e[a]:void 0)||(e[a]={}),s=r[a],l;if(s)for(l in s){if(!cMe.call(f,l))f[l]=[];let c=s[l];Uwt(f[l],Array.isArray(c)?c:c?[c]:[])}}}function Uwt(e,r){let a=-1,i=[];while(++a<r.length)(r[a].add==="after"?e:i).push(r[a]);of(e,0,0,i)}function w4(e,r){let a=Number.parseInt(e,r);if(a<9||a===11||a>13&&a<32||a>126&&a<160||a>55295&&a<57344||a>64975&&a<65008||(a&65535)===65535||(a&65535)===65534||a>1114111)return"�";return String.fromCodePoint(a)}function mM(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}var $l=H8(/[A-Za-z]/),Yi=H8(/[\dA-Za-z]/),dMe=H8(/[#-'*+\--9=?A-Z^-~]/);function H2(e){return e!==null&&(e<32||e===127)}var W2=H8(/\d/),ZMe=H8(/[\dA-Fa-f]/),pMe=H8(/[!-/:-@[-`{-~]/);function Lr(e){return e!==null&&e<-2}function $n(e){return e!==null&&(e<0||e===32)}function oo(e){return e===-2||e===-1||e===32}var mMe=H8(/\p{P}|\p{S}/u),hMe=H8(/\s/);function H8(e){return r;function r(a){return a!==null&&a>-1&&e.test(String.fromCharCode(a))}}function ru(e){let r=[],a=-1,i=0,f=0;while(++a<e.length){let s=e.charCodeAt(a),l="";if(s===37&&Yi(e.charCodeAt(a+1))&&Yi(e.charCodeAt(a+2)))f=2;else if(s<128){if(!/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(s)))l=String.fromCharCode(s)}else if(s>55295&&s<57344){let c=e.charCodeAt(a+1);if(s<56320&&c>56319&&c<57344)l=String.fromCharCode(s,c),f=1;else l="�"}else l=String.fromCharCode(s);if(l)r.push(e.slice(i,a),encodeURIComponent(l)),i=a+f+1,l="";if(f)a+=f,f=0}return r.join("")+e.slice(i)}function no(e,r,a,i){let f=i?i-1:Number.POSITIVE_INFINITY,s=0;return l;function l(m){if(oo(m))return e.enter(a),c(m);return r(m)}function c(m){if(oo(m)&&s++<f)return e.consume(m),c;return e.exit(a),r(m)}}var gMe={tokenize:qwt};function qwt(e){let r=e.attempt(this.parser.constructs.contentInitial,i,f),a;return r;function i(c){if(c===null){e.consume(c);return}return e.enter("lineEnding"),e.consume(c),e.exit("lineEnding"),no(e,r,"linePrefix")}function f(c){return e.enter("paragraph"),s(c)}function s(c){let m=e.enter("chunkText",{contentType:"text",previous:a});if(a)a.next=m;return a=m,l(c)}function l(c){if(c===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(c);return}if(Lr(c))return e.consume(c),e.exit("chunkText"),s;return e.consume(c),l}}var vMe={tokenize:Vwt},MMe={tokenize:Hwt};function Vwt(e){let r=this,a=[],i=0,f,s,l;return c;function c(G){if(i<a.length){let X=a[i];return r.containerState=X[1],e.attempt(X[0].continuation,m,g)(G)}return g(G)}function m(G){if(i++,r.containerState._closeFlow){if(r.containerState._closeFlow=void 0,f)j();let X=r.events.length,J=X,ee;while(J--)if(r.events[J][0]==="exit"&&r.events[J][1].type==="chunkFlow"){ee=r.events[J][1].end;break}I(i);let te=X;while(te<r.events.length)r.events[te][1].end={...ee},te++;return of(r.events,J+1,0,r.events.slice(X)),r.events.length=te,g(G)}return c(G)}function g(G){if(i===a.length){if(!f)return b(G);if(f.currentConstruct&&f.currentConstruct.concrete)return _(G);r.interrupt=Boolean(f.currentConstruct&&!f._gfmTableDynamicInterruptHack)}return r.containerState={},e.check(MMe,M,x)(G)}function M(G){if(f)j();return I(i),b(G)}function x(G){return r.parser.lazy[r.now().line]=i!==a.length,l=r.now().offset,_(G)}function b(G){return r.containerState={},e.attempt(MMe,y,_)(G)}function y(G){return i++,a.push([r.currentConstruct,r.containerState]),b(G)}function _(G){if(G===null){if(f)j();I(0),e.consume(G);return}return f=f||r.parser.flow(r.now()),e.enter("chunkFlow",{_tokenizer:f,contentType:"flow",previous:s}),k(G)}function k(G){if(G===null){F(e.exit("chunkFlow"),!0),I(0),e.consume(G);return}if(Lr(G))return e.consume(G),F(e.exit("chunkFlow")),i=0,r.interrupt=void 0,c;return e.consume(G),k}function F(G,X){let J=r.sliceStream(G);if(X)J.push(null);if(G.previous=s,s)s.next=G;if(s=G,f.defineSkip(G.start),f.write(J),r.parser.lazy[G.start.line]){let ee=f.events.length;while(ee--)if(f.events[ee][1].start.offset<l&&(!f.events[ee][1].end||f.events[ee][1].end.offset>l))return;let te=r.events.length,oe=te,ae,_e;while(oe--)if(r.events[oe][0]==="exit"&&r.events[oe][1].type==="chunkFlow"){if(ae){_e=r.events[oe][1].end;break}ae=!0}I(i),ee=te;while(ee<r.events.length)r.events[ee][1].end={..._e},ee++;of(r.events,oe+1,0,r.events.slice(te)),r.events.length=ee}}function I(G){let X=a.length;while(X-- >G){let J=a[X];r.containerState=J[1],J[0].exit.call(r,e)}a.length=G}function j(){f.write([null]),s=void 0,f=void 0,r.containerState._closeFlow=void 0}}function Hwt(e,r,a){return no(e,e.attempt(this.parser.constructs.document,r,a),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function PH(e){if(e===null||$n(e)||hMe(e))return 1;if(mMe(e))return 2}function fR(e,r,a){let i=[],f=-1;while(++f<e.length){let s=e[f].resolveAll;if(s&&!i.includes(s))r=s(r,a),i.push(s)}return r}var G2={name:"attention",resolveAll:Wwt,tokenize:Gwt};function Wwt(e,r){let a=-1,i,f,s,l,c,m,g,M;while(++a<e.length)if(e[a][0]==="enter"&&e[a][1].type==="attentionSequence"&&e[a][1]._close){i=a;while(i--)if(e[i][0]==="exit"&&e[i][1].type==="attentionSequence"&&e[i][1]._open&&r.sliceSerialize(e[i][1]).charCodeAt(0)===r.sliceSerialize(e[a][1]).charCodeAt(0)){if((e[i][1]._close||e[a][1]._open)&&(e[a][1].end.offset-e[a][1].start.offset)%3&&!((e[i][1].end.offset-e[i][1].start.offset+e[a][1].end.offset-e[a][1].start.offset)%3))continue;m=e[i][1].end.offset-e[i][1].start.offset>1&&e[a][1].end.offset-e[a][1].start.offset>1?2:1;let x={...e[i][1].end},b={...e[a][1].start};if(xMe(x,-m),xMe(b,m),l={type:m>1?"strongSequence":"emphasisSequence",start:x,end:{...e[i][1].end}},c={type:m>1?"strongSequence":"emphasisSequence",start:{...e[a][1].start},end:b},s={type:m>1?"strongText":"emphasisText",start:{...e[i][1].end},end:{...e[a][1].start}},f={type:m>1?"strong":"emphasis",start:{...l.start},end:{...c.end}},e[i][1].end={...l.start},e[a][1].start={...c.end},g=[],e[i][1].end.offset-e[i][1].start.offset)g=js(g,[["enter",e[i][1],r],["exit",e[i][1],r]]);if(g=js(g,[["enter",f,r],["enter",l,r],["exit",l,r],["enter",s,r]]),g=js(g,fR(r.parser.constructs.insideSpan.null,e.slice(i+1,a),r)),g=js(g,[["exit",s,r],["enter",c,r],["exit",c,r],["exit",f,r]]),e[a][1].end.offset-e[a][1].start.offset)M=2,g=js(g,[["enter",e[a][1],r],["exit",e[a][1],r]]);else M=0;of(e,i-1,a-i+3,g),a=i+g.length-M-2;break}}a=-1;while(++a<e.length)if(e[a][1].type==="attentionSequence")e[a][1].type="data";return e}function Gwt(e,r){let a=this.parser.constructs.attentionMarkers.null,i=this.previous,f=PH(i),s;return l;function l(m){return s=m,e.enter("attentionSequence"),c(m)}function c(m){if(m===s)return e.consume(m),c;let g=e.exit("attentionSequence"),M=PH(m),x=!M||M===2&&f||a.includes(m),b=!f||f===2&&M||a.includes(i);return g._open=Boolean(s===42?x:x&&(f||!b)),g._close=Boolean(s===42?b:b&&(M||!x)),r(m)}}function xMe(e,r){e.column+=r,e.offset+=r,e._bufferIndex+=r}var TH={name:"autolink",tokenize:Kwt};function Kwt(e,r,a){let i=0;return f;function f(y){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(y),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),s}function s(y){if($l(y))return e.consume(y),l;if(y===64)return a(y);return g(y)}function l(y){if(y===43||y===45||y===46||Yi(y))return i=1,c(y);return g(y)}function c(y){if(y===58)return e.consume(y),i=0,m;if((y===43||y===45||y===46||Yi(y))&&i++<32)return e.consume(y),c;return i=0,g(y)}function m(y){if(y===62)return e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(y),e.exit("autolinkMarker"),e.exit("autolink"),r;if(y===null||y===32||y===60||H2(y))return a(y);return e.consume(y),m}function g(y){if(y===64)return e.consume(y),M;if(dMe(y))return e.consume(y),g;return a(y)}function M(y){return Yi(y)?x(y):a(y)}function x(y){if(y===46)return e.consume(y),i=0,M;if(y===62)return e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(y),e.exit("autolinkMarker"),e.exit("autolink"),r;return b(y)}function b(y){if((y===45||Yi(y))&&i++<63){let _=y===45?b:x;return e.consume(y),_}return a(y)}}var W8={partial:!0,tokenize:Xwt};function Xwt(e,r,a){return i;function i(s){return oo(s)?no(e,f,"linePrefix")(s):f(s)}function f(s){return s===null||Lr(s)?r(s):a(s)}}var z4={continuation:{tokenize:Jwt},exit:$wt,name:"blockQuote",tokenize:Qwt};function Qwt(e,r,a){let i=this;return f;function f(l){if(l===62){let c=i.containerState;if(!c.open)e.enter("blockQuote",{_container:!0}),c.open=!0;return e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(l),e.exit("blockQuoteMarker"),s}return a(l)}function s(l){if(oo(l))return e.enter("blockQuotePrefixWhitespace"),e.consume(l),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),r;return e.exit("blockQuotePrefix"),r(l)}}function Jwt(e,r,a){let i=this;return f;function f(l){if(oo(l))return no(e,s,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(l);return s(l)}function s(l){return e.attempt(z4,r,a)(l)}}function $wt(e){e.exit("blockQuote")}var S4={name:"characterEscape",tokenize:e0t};function e0t(e,r,a){return i;function i(s){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(s),e.exit("escapeMarker"),f}function f(s){if(pMe(s))return e.enter("characterEscapeValue"),e.consume(s),e.exit("characterEscapeValue"),e.exit("characterEscape"),r;return a(s)}}var L4={name:"characterReference",tokenize:t0t};function t0t(e,r,a){let i=this,f=0,s,l;return c;function c(x){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(x),e.exit("characterReferenceMarker"),m}function m(x){if(x===35)return e.enter("characterReferenceMarkerNumeric"),e.consume(x),e.exit("characterReferenceMarkerNumeric"),g;return e.enter("characterReferenceValue"),s=31,l=Yi,M(x)}function g(x){if(x===88||x===120)return e.enter("characterReferenceMarkerHexadecimal"),e.consume(x),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),s=6,l=ZMe,M;return e.enter("characterReferenceValue"),s=7,l=W2,M(x)}function M(x){if(x===59&&f){let b=e.exit("characterReferenceValue");if(l===Yi&&!iR(i.sliceSerialize(b)))return a(x);return e.enter("characterReferenceMarker"),e.consume(x),e.exit("characterReferenceMarker"),e.exit("characterReference"),r}if(l(x)&&f++<s)return e.consume(x),M;return a(x)}}var yMe={partial:!0,tokenize:o0t},k4={concrete:!0,name:"codeFenced",tokenize:r0t};function r0t(e,r,a){let i=this,f={partial:!0,tokenize:J},s=0,l=0,c;return m;function m(ee){return g(ee)}function g(ee){let te=i.events[i.events.length-1];return s=te&&te[1].type==="linePrefix"?te[2].sliceSerialize(te[1],!0).length:0,c=ee,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),M(ee)}function M(ee){if(ee===c)return l++,e.consume(ee),M;if(l<3)return a(ee);return e.exit("codeFencedFenceSequence"),oo(ee)?no(e,x,"whitespace")(ee):x(ee)}function x(ee){if(ee===null||Lr(ee))return e.exit("codeFencedFence"),i.interrupt?r(ee):e.check(yMe,k,X)(ee);return e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),b(ee)}function b(ee){if(ee===null||Lr(ee))return e.exit("chunkString"),e.exit("codeFencedFenceInfo"),x(ee);if(oo(ee))return e.exit("chunkString"),e.exit("codeFencedFenceInfo"),no(e,y,"whitespace")(ee);if(ee===96&&ee===c)return a(ee);return e.consume(ee),b}function y(ee){if(ee===null||Lr(ee))return x(ee);return e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),_(ee)}function _(ee){if(ee===null||Lr(ee))return e.exit("chunkString"),e.exit("codeFencedFenceMeta"),x(ee);if(ee===96&&ee===c)return a(ee);return e.consume(ee),_}function k(ee){return e.attempt(f,X,F)(ee)}function F(ee){return e.enter("lineEnding"),e.consume(ee),e.exit("lineEnding"),I}function I(ee){return s>0&&oo(ee)?no(e,j,"linePrefix",s+1)(ee):j(ee)}function j(ee){if(ee===null||Lr(ee))return e.check(yMe,k,X)(ee);return e.enter("codeFlowValue"),G(ee)}function G(ee){if(ee===null||Lr(ee))return e.exit("codeFlowValue"),j(ee);return e.consume(ee),G}function X(ee){return e.exit("codeFenced"),r(ee)}function J(ee,te,oe){let ae=0;return _e;function _e(ft){return ee.enter("lineEnding"),ee.consume(ft),ee.exit("lineEnding"),Ve}function Ve(ft){return ee.enter("codeFencedFence"),oo(ft)?no(ee,Ne,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(ft):Ne(ft)}function Ne(ft){if(ft===c)return ee.enter("codeFencedFenceSequence"),ze(ft);return oe(ft)}function ze(ft){if(ft===c)return ae++,ee.consume(ft),ze;if(ae>=l)return ee.exit("codeFencedFenceSequence"),oo(ft)?no(ee,Ye,"whitespace")(ft):Ye(ft);return oe(ft)}function Ye(ft){if(ft===null||Lr(ft))return ee.exit("codeFencedFence"),te(ft);return oe(ft)}}}function o0t(e,r,a){let i=this;return f;function f(l){if(l===null)return a(l);return e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),s}function s(l){return i.parser.lazy[i.now().line]?a(l):r(l)}}var K2={name:"codeIndented",tokenize:n0t},a0t={partial:!0,tokenize:i0t};function n0t(e,r,a){let i=this;return f;function f(g){return e.enter("codeIndented"),no(e,s,"linePrefix",5)(g)}function s(g){let M=i.events[i.events.length-1];return M&&M[1].type==="linePrefix"&&M[2].sliceSerialize(M[1],!0).length>=4?l(g):a(g)}function l(g){if(g===null)return m(g);if(Lr(g))return e.attempt(a0t,l,m)(g);return e.enter("codeFlowValue"),c(g)}function c(g){if(g===null||Lr(g))return e.exit("codeFlowValue"),l(g);return e.consume(g),c}function m(g){return e.exit("codeIndented"),r(g)}}function i0t(e,r,a){let i=this;return f;function f(l){if(i.parser.lazy[i.now().line])return a(l);if(Lr(l))return e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),f;return no(e,s,"linePrefix",5)(l)}function s(l){let c=i.events[i.events.length-1];return c&&c[1].type==="linePrefix"&&c[2].sliceSerialize(c[1],!0).length>=4?r(l):Lr(l)?f(l):a(l)}}var AH={name:"codeText",previous:s0t,resolve:f0t,tokenize:l0t};function f0t(e){let r=e.length-4,a=3,i,f;if((e[a][1].type==="lineEnding"||e[a][1].type==="space")&&(e[r][1].type==="lineEnding"||e[r][1].type==="space")){i=a;while(++i<r)if(e[i][1].type==="codeTextData"){e[a][1].type="codeTextPadding",e[r][1].type="codeTextPadding",a+=2,r-=2;break}}i=a-1,r++;while(++i<=r)if(f===void 0){if(i!==r&&e[i][1].type!=="lineEnding")f=i}else if(i===r||e[i][1].type==="lineEnding"){if(e[f][1].type="codeTextData",i!==f+2)e[f][1].end=e[i-1][1].end,e.splice(f+2,i-f-2),r-=i-f-2,i=f+2;f=void 0}return e}function s0t(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function l0t(e,r,a){let i=this,f=0,s,l;return c;function c(b){return e.enter("codeText"),e.enter("codeTextSequence"),m(b)}function m(b){if(b===96)return e.consume(b),f++,m;return e.exit("codeTextSequence"),g(b)}function g(b){if(b===null)return a(b);if(b===32)return e.enter("space"),e.consume(b),e.exit("space"),g;if(b===96)return l=e.enter("codeTextSequence"),s=0,x(b);if(Lr(b))return e.enter("lineEnding"),e.consume(b),e.exit("lineEnding"),g;return e.enter("codeTextData"),M(b)}function M(b){if(b===null||b===32||b===96||Lr(b))return e.exit("codeTextData"),g(b);return e.consume(b),M}function x(b){if(b===96)return e.consume(b),s++,x;if(s===f)return e.exit("codeTextSequence"),e.exit("codeText"),r(b);return l.type="codeTextData",M(b)}}class DH{constructor(e){this.left=e?[...e]:[],this.right=[]}get(e){if(e<0||e>=this.left.length+this.right.length)throw RangeError("Cannot access index `"+e+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");if(e<this.left.length)return this.left[e];return this.right[this.right.length-e+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(e,r){let a=r===null||r===void 0?Number.POSITIVE_INFINITY:r;if(a<this.left.length)return this.left.slice(e,a);if(e>this.left.length)return this.right.slice(this.right.length-a+this.left.length,this.right.length-e+this.left.length).reverse();return this.left.slice(e).concat(this.right.slice(this.right.length-a+this.left.length).reverse())}splice(e,r,a){let i=r||0;this.setCursor(Math.trunc(e));let f=this.right.splice(this.right.length-i,Number.POSITIVE_INFINITY);if(a)X2(this.left,a);return f.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(e){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(e)}pushMany(e){this.setCursor(Number.POSITIVE_INFINITY),X2(this.left,e)}unshift(e){this.setCursor(0),this.right.push(e)}unshiftMany(e){this.setCursor(0),X2(this.right,e.reverse())}setCursor(e){if(e===this.left.length||e>this.left.length&&this.right.length===0||e<0&&this.left.length===0)return;if(e<this.left.length){let r=this.left.splice(e,Number.POSITIVE_INFINITY);X2(this.right,r.reverse())}else{let r=this.right.splice(this.left.length+this.right.length-e,Number.POSITIVE_INFINITY);X2(this.left,r.reverse())}}}function X2(e,r){let a=0;if(r.length<1e4)e.push(...r);else while(a<r.length)e.push(...r.slice(a,a+1e4)),a+=1e4}function I4(e){let r={},a=-1,i,f,s,l,c,m,g,M=new DH(e);while(++a<M.length){while(a in r)a=r[a];if(i=M.get(a),a&&i[1].type==="chunkFlow"&&M.get(a-1)[1].type==="listItemPrefix"){if(m=i[1]._tokenizer.events,s=0,s<m.length&&m[s][1].type==="lineEndingBlank")s+=2;if(s<m.length&&m[s][1].type==="content")while(++s<m.length){if(m[s][1].type==="content")break;if(m[s][1].type==="chunkText")m[s][1]._isInFirstContentOfListItem=!0,s++}}if(i[0]==="enter"){if(i[1].contentType)Object.assign(r,c0t(M,a)),a=r[a],g=!0}else if(i[1]._container){s=a,f=void 0;while(s--)if(l=M.get(s),l[1].type==="lineEnding"||l[1].type==="lineEndingBlank"){if(l[0]==="enter"){if(f)M.get(f)[1].type="lineEndingBlank";l[1].type="lineEnding",f=s}}else if(l[1].type==="linePrefix"||l[1].type==="listItemIndent");else break;if(f)i[1].end={...M.get(f)[1].start},c=M.slice(f,a),c.unshift(i),M.splice(f,a-f+1,c)}}return of(e,0,Number.POSITIVE_INFINITY,M.slice(0)),!g}function c0t(e,r){let a=e.get(r)[1],i=e.get(r)[2],f=r-1,s=[],l=a._tokenizer;if(!l){if(l=i.parser[a.contentType](a.start),a._contentTypeTextTrailing)l._contentTypeTextTrailing=!0}let c=l.events,m=[],g={},M,x,b=-1,y=a,_=0,k=0,F=[k];while(y){while(e.get(++f)[1]!==y);if(s.push(f),!y._tokenizer){if(M=i.sliceStream(y),!y.next)M.push(null);if(x)l.defineSkip(y.start);if(y._isInFirstContentOfListItem)l._gfmTasklistFirstContentOfListItem=!0;if(l.write(M),y._isInFirstContentOfListItem)l._gfmTasklistFirstContentOfListItem=void 0}x=y,y=y.next}y=a;while(++b<c.length)if(c[b][0]==="exit"&&c[b-1][0]==="enter"&&c[b][1].type===c[b-1][1].type&&c[b][1].start.line!==c[b][1].end.line)k=b+1,F.push(k),y._tokenizer=void 0,y.previous=void 0,y=y.next;if(l.events=[],y)y._tokenizer=void 0,y.previous=void 0;else F.pop();b=F.length;while(b--){let I=c.slice(F[b],F[b+1]),j=s.pop();m.push([j,j+I.length-1]),e.splice(j,2,I)}m.reverse(),b=-1;while(++b<m.length)g[_+m[b][0]]=_+m[b][1],_+=m[b][1]-m[b][0]-1;return g}var EH={resolve:d0t,tokenize:Z0t},u0t={partial:!0,tokenize:p0t};function d0t(e){return I4(e),e}function Z0t(e,r){let a;return i;function i(c){return e.enter("content"),a=e.enter("chunkContent",{contentType:"content"}),f(c)}function f(c){if(c===null)return s(c);if(Lr(c))return e.check(u0t,l,s)(c);return e.consume(c),f}function s(c){return e.exit("chunkContent"),e.exit("content"),r(c)}function l(c){return e.consume(c),e.exit("chunkContent"),a.next=e.enter("chunkContent",{contentType:"content",previous:a}),a=a.next,f}}function p0t(e,r,a){let i=this;return f;function f(l){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),no(e,s,"linePrefix")}function s(l){if(l===null||Lr(l))return a(l);let c=i.events[i.events.length-1];if(!i.parser.constructs.disable.null.includes("codeIndented")&&c&&c[1].type==="linePrefix"&&c[2].sliceSerialize(c[1],!0).length>=4)return r(l);return e.interrupt(i.parser.constructs.flow,a,r)(l)}}function C4(e,r,a,i,f,s,l,c,m){let g=m||Number.POSITIVE_INFINITY,M=0;return x;function x(I){if(I===60)return e.enter(i),e.enter(f),e.enter(s),e.consume(I),e.exit(s),b;if(I===null||I===32||I===41||H2(I))return a(I);return e.enter(i),e.enter(l),e.enter(c),e.enter("chunkString",{contentType:"string"}),k(I)}function b(I){if(I===62)return e.enter(s),e.consume(I),e.exit(s),e.exit(f),e.exit(i),r;return e.enter(c),e.enter("chunkString",{contentType:"string"}),y(I)}function y(I){if(I===62)return e.exit("chunkString"),e.exit(c),b(I);if(I===null||I===60||Lr(I))return a(I);return e.consume(I),I===92?_:y}function _(I){if(I===60||I===62||I===92)return e.consume(I),y;return y(I)}function k(I){if(!M&&(I===null||I===41||$n(I)))return e.exit("chunkString"),e.exit(c),e.exit(l),e.exit(i),r(I);if(M<g&&I===40)return e.consume(I),M++,k;if(I===41)return e.consume(I),M--,k;if(I===null||I===32||I===40||H2(I))return a(I);return e.consume(I),I===92?F:k}function F(I){if(I===40||I===41||I===92)return e.consume(I),k;return k(I)}}function R4(e,r,a,i,f,s){let l=this,c=0,m;return g;function g(y){return e.enter(i),e.enter(f),e.consume(y),e.exit(f),e.enter(s),M}function M(y){if(c>999||y===null||y===91||y===93&&!m||y===94&&!c&&"_hiddenFootnoteSupport"in l.parser.constructs)return a(y);if(y===93)return e.exit(s),e.enter(f),e.consume(y),e.exit(f),e.exit(i),r;if(Lr(y))return e.enter("lineEnding"),e.consume(y),e.exit("lineEnding"),M;return e.enter("chunkString",{contentType:"string"}),x(y)}function x(y){if(y===null||y===91||y===93||Lr(y)||c++>999)return e.exit("chunkString"),M(y);if(e.consume(y),!m)m=!oo(y);return y===92?b:x}function b(y){if(y===91||y===92||y===93)return e.consume(y),c++,x;return x(y)}}function P4(e,r,a,i,f,s){let l;return c;function c(b){if(b===34||b===39||b===40)return e.enter(i),e.enter(f),e.consume(b),e.exit(f),l=b===40?41:b,m;return a(b)}function m(b){if(b===l)return e.enter(f),e.consume(b),e.exit(f),e.exit(i),r;return e.enter(s),g(b)}function g(b){if(b===l)return e.exit(s),m(l);if(b===null)return a(b);if(Lr(b))return e.enter("lineEnding"),e.consume(b),e.exit("lineEnding"),no(e,g,"linePrefix");return e.enter("chunkString",{contentType:"string"}),M(b)}function M(b){if(b===l||b===null||Lr(b))return e.exit("chunkString"),g(b);return e.consume(b),b===92?x:M}function x(b){if(b===l||b===92)return e.consume(b),M;return M(b)}}function PL(e,r){let a;return i;function i(f){if(Lr(f))return e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),a=!0,i;if(oo(f))return no(e,i,a?"linePrefix":"lineSuffix")(f);return r(f)}}var OH={name:"definition",tokenize:h0t},m0t={partial:!0,tokenize:g0t};function h0t(e,r,a){let i=this,f;return s;function s(y){return e.enter("definition"),l(y)}function l(y){return R4.call(i,e,c,a,"definitionLabel","definitionLabelMarker","definitionLabelString")(y)}function c(y){if(f=mM(i.sliceSerialize(i.events[i.events.length-1][1]).slice(1,-1)),y===58)return e.enter("definitionMarker"),e.consume(y),e.exit("definitionMarker"),m;return a(y)}function m(y){return $n(y)?PL(e,g)(y):g(y)}function g(y){return C4(e,M,a,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(y)}function M(y){return e.attempt(m0t,x,x)(y)}function x(y){return oo(y)?no(e,b,"whitespace")(y):b(y)}function b(y){if(y===null||Lr(y))return e.exit("definition"),i.parser.defined.push(f),r(y);return a(y)}}function g0t(e,r,a){return i;function i(c){return $n(c)?PL(e,f)(c):a(c)}function f(c){return P4(e,s,a,"definitionTitle","definitionTitleMarker","definitionTitleString")(c)}function s(c){return oo(c)?no(e,l,"whitespace")(c):l(c)}function l(c){return c===null||Lr(c)?r(c):a(c)}}var jH={name:"hardBreakEscape",tokenize:M0t};function M0t(e,r,a){return i;function i(s){return e.enter("hardBreakEscape"),e.consume(s),f}function f(s){if(Lr(s))return e.exit("hardBreakEscape"),r(s);return a(s)}}var NH={name:"headingAtx",resolve:v0t,tokenize:x0t};function v0t(e,r){let a=e.length-2,i=3,f,s;if(e[i][1].type==="whitespace")i+=2;if(a-2>i&&e[a][1].type==="whitespace")a-=2;if(e[a][1].type==="atxHeadingSequence"&&(i===a-1||a-4>i&&e[a-2][1].type==="whitespace"))a-=i+1===a?2:4;if(a>i)f={type:"atxHeadingText",start:e[i][1].start,end:e[a][1].end},s={type:"chunkText",start:e[i][1].start,end:e[a][1].end,contentType:"text"},of(e,i,a-i+1,[["enter",f,r],["enter",s,r],["exit",s,r],["exit",f,r]]);return e}function x0t(e,r,a){let i=0;return f;function f(M){return e.enter("atxHeading"),s(M)}function s(M){return e.enter("atxHeadingSequence"),l(M)}function l(M){if(M===35&&i++<6)return e.consume(M),l;if(M===null||$n(M))return e.exit("atxHeadingSequence"),c(M);return a(M)}function c(M){if(M===35)return e.enter("atxHeadingSequence"),m(M);if(M===null||Lr(M))return e.exit("atxHeading"),r(M);if(oo(M))return no(e,c,"whitespace")(M);return e.enter("atxHeadingText"),g(M)}function m(M){if(M===35)return e.consume(M),m;return e.exit("atxHeadingSequence"),c(M)}function g(M){if(M===null||M===35||$n(M))return e.exit("atxHeadingText"),c(M);return e.consume(M),g}}var bMe=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],FH=["pre","script","style","textarea"];var BH={concrete:!0,name:"htmlFlow",resolveTo:_0t,tokenize:w0t},y0t={partial:!0,tokenize:S0t},b0t={partial:!0,tokenize:z0t};function _0t(e){let r=e.length;while(r--)if(e[r][0]==="enter"&&e[r][1].type==="htmlFlow")break;if(r>1&&e[r-2][1].type==="linePrefix")e[r][1].start=e[r-2][1].start,e[r+1][1].start=e[r-2][1].start,e.splice(r-2,2);return e}function w0t(e,r,a){let i=this,f,s,l,c,m;return g;function g(Pe){return M(Pe)}function M(Pe){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(Pe),x}function x(Pe){if(Pe===33)return e.consume(Pe),b;if(Pe===47)return e.consume(Pe),s=!0,k;if(Pe===63)return e.consume(Pe),f=3,i.interrupt?r:ce;if($l(Pe))return e.consume(Pe),l=String.fromCharCode(Pe),F;return a(Pe)}function b(Pe){if(Pe===45)return e.consume(Pe),f=2,y;if(Pe===91)return e.consume(Pe),f=5,c=0,_;if($l(Pe))return e.consume(Pe),f=4,i.interrupt?r:ce;return a(Pe)}function y(Pe){if(Pe===45)return e.consume(Pe),i.interrupt?r:ce;return a(Pe)}function _(Pe){if(Pe==="CDATA[".charCodeAt(c++)){if(e.consume(Pe),c===6)return i.interrupt?r:Ne;return _}return a(Pe)}function k(Pe){if($l(Pe))return e.consume(Pe),l=String.fromCharCode(Pe),F;return a(Pe)}function F(Pe){if(Pe===null||Pe===47||Pe===62||$n(Pe)){let ir=Pe===47,nr=l.toLowerCase();if(!ir&&!s&&FH.includes(nr))return f=1,i.interrupt?r(Pe):Ne(Pe);if(bMe.includes(l.toLowerCase())){if(f=6,ir)return e.consume(Pe),I;return i.interrupt?r(Pe):Ne(Pe)}return f=7,i.interrupt&&!i.parser.lazy[i.now().line]?a(Pe):s?j(Pe):G(Pe)}if(Pe===45||Yi(Pe))return e.consume(Pe),l+=String.fromCharCode(Pe),F;return a(Pe)}function I(Pe){if(Pe===62)return e.consume(Pe),i.interrupt?r:Ne;return a(Pe)}function j(Pe){if(oo(Pe))return e.consume(Pe),j;return _e(Pe)}function G(Pe){if(Pe===47)return e.consume(Pe),_e;if(Pe===58||Pe===95||$l(Pe))return e.consume(Pe),X;if(oo(Pe))return e.consume(Pe),G;return _e(Pe)}function X(Pe){if(Pe===45||Pe===46||Pe===58||Pe===95||Yi(Pe))return e.consume(Pe),X;return J(Pe)}function J(Pe){if(Pe===61)return e.consume(Pe),ee;if(oo(Pe))return e.consume(Pe),J;return G(Pe)}function ee(Pe){if(Pe===null||Pe===60||Pe===61||Pe===62||Pe===96)return a(Pe);if(Pe===34||Pe===39)return e.consume(Pe),m=Pe,te;if(oo(Pe))return e.consume(Pe),ee;return oe(Pe)}function te(Pe){if(Pe===m)return e.consume(Pe),m=null,ae;if(Pe===null||Lr(Pe))return a(Pe);return e.consume(Pe),te}function oe(Pe){if(Pe===null||Pe===34||Pe===39||Pe===47||Pe===60||Pe===61||Pe===62||Pe===96||$n(Pe))return J(Pe);return e.consume(Pe),oe}function ae(Pe){if(Pe===47||Pe===62||oo(Pe))return G(Pe);return a(Pe)}function _e(Pe){if(Pe===62)return e.consume(Pe),Ve;return a(Pe)}function Ve(Pe){if(Pe===null||Lr(Pe))return Ne(Pe);if(oo(Pe))return e.consume(Pe),Ve;return a(Pe)}function Ne(Pe){if(Pe===45&&f===2)return e.consume(Pe),Ke;if(Pe===60&&f===1)return e.consume(Pe),Zt;if(Pe===62&&f===4)return e.consume(Pe),mt;if(Pe===63&&f===3)return e.consume(Pe),ce;if(Pe===93&&f===5)return e.consume(Pe),Yt;if(Lr(Pe)&&(f===6||f===7))return e.exit("htmlFlowData"),e.check(y0t,Vt,ze)(Pe);if(Pe===null||Lr(Pe))return e.exit("htmlFlowData"),ze(Pe);return e.consume(Pe),Ne}function ze(Pe){return e.check(b0t,Ye,Vt)(Pe)}function Ye(Pe){return e.enter("lineEnding"),e.consume(Pe),e.exit("lineEnding"),ft}function ft(Pe){if(Pe===null||Lr(Pe))return ze(Pe);return e.enter("htmlFlowData"),Ne(Pe)}function Ke(Pe){if(Pe===45)return e.consume(Pe),ce;return Ne(Pe)}function Zt(Pe){if(Pe===47)return e.consume(Pe),l="",Et;return Ne(Pe)}function Et(Pe){if(Pe===62){let ir=l.toLowerCase();if(FH.includes(ir))return e.consume(Pe),mt;return Ne(Pe)}if($l(Pe)&&l.length<8)return e.consume(Pe),l+=String.fromCharCode(Pe),Et;return Ne(Pe)}function Yt(Pe){if(Pe===93)return e.consume(Pe),ce;return Ne(Pe)}function ce(Pe){if(Pe===62)return e.consume(Pe),mt;if(Pe===45&&f===2)return e.consume(Pe),ce;return Ne(Pe)}function mt(Pe){if(Pe===null||Lr(Pe))return e.exit("htmlFlowData"),Vt(Pe);return e.consume(Pe),mt}function Vt(Pe){return e.exit("htmlFlow"),r(Pe)}}function z0t(e,r,a){let i=this;return f;function f(l){if(Lr(l))return e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),s;return a(l)}function s(l){return i.parser.lazy[i.now().line]?a(l):r(l)}}function S0t(e,r,a){return i;function i(f){return e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),e.attempt(W8,r,a)}}var YH={name:"htmlText",tokenize:L0t};function L0t(e,r,a){let i=this,f,s,l;return c;function c(ce){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(ce),m}function m(ce){if(ce===33)return e.consume(ce),g;if(ce===47)return e.consume(ce),J;if(ce===63)return e.consume(ce),G;if($l(ce))return e.consume(ce),oe;return a(ce)}function g(ce){if(ce===45)return e.consume(ce),M;if(ce===91)return e.consume(ce),s=0,_;if($l(ce))return e.consume(ce),j;return a(ce)}function M(ce){if(ce===45)return e.consume(ce),y;return a(ce)}function x(ce){if(ce===null)return a(ce);if(ce===45)return e.consume(ce),b;if(Lr(ce))return l=x,Zt(ce);return e.consume(ce),x}function b(ce){if(ce===45)return e.consume(ce),y;return x(ce)}function y(ce){return ce===62?Ke(ce):ce===45?b(ce):x(ce)}function _(ce){if(ce==="CDATA[".charCodeAt(s++))return e.consume(ce),s===6?k:_;return a(ce)}function k(ce){if(ce===null)return a(ce);if(ce===93)return e.consume(ce),F;if(Lr(ce))return l=k,Zt(ce);return e.consume(ce),k}function F(ce){if(ce===93)return e.consume(ce),I;return k(ce)}function I(ce){if(ce===62)return Ke(ce);if(ce===93)return e.consume(ce),I;return k(ce)}function j(ce){if(ce===null||ce===62)return Ke(ce);if(Lr(ce))return l=j,Zt(ce);return e.consume(ce),j}function G(ce){if(ce===null)return a(ce);if(ce===63)return e.consume(ce),X;if(Lr(ce))return l=G,Zt(ce);return e.consume(ce),G}function X(ce){return ce===62?Ke(ce):G(ce)}function J(ce){if($l(ce))return e.consume(ce),ee;return a(ce)}function ee(ce){if(ce===45||Yi(ce))return e.consume(ce),ee;return te(ce)}function te(ce){if(Lr(ce))return l=te,Zt(ce);if(oo(ce))return e.consume(ce),te;return Ke(ce)}function oe(ce){if(ce===45||Yi(ce))return e.consume(ce),oe;if(ce===47||ce===62||$n(ce))return ae(ce);return a(ce)}function ae(ce){if(ce===47)return e.consume(ce),Ke;if(ce===58||ce===95||$l(ce))return e.consume(ce),_e;if(Lr(ce))return l=ae,Zt(ce);if(oo(ce))return e.consume(ce),ae;return Ke(ce)}function _e(ce){if(ce===45||ce===46||ce===58||ce===95||Yi(ce))return e.consume(ce),_e;return Ve(ce)}function Ve(ce){if(ce===61)return e.consume(ce),Ne;if(Lr(ce))return l=Ve,Zt(ce);if(oo(ce))return e.consume(ce),Ve;return ae(ce)}function Ne(ce){if(ce===null||ce===60||ce===61||ce===62||ce===96)return a(ce);if(ce===34||ce===39)return e.consume(ce),f=ce,ze;if(Lr(ce))return l=Ne,Zt(ce);if(oo(ce))return e.consume(ce),Ne;return e.consume(ce),Ye}function ze(ce){if(ce===f)return e.consume(ce),f=void 0,ft;if(ce===null)return a(ce);if(Lr(ce))return l=ze,Zt(ce);return e.consume(ce),ze}function Ye(ce){if(ce===null||ce===34||ce===39||ce===60||ce===61||ce===96)return a(ce);if(ce===47||ce===62||$n(ce))return ae(ce);return e.consume(ce),Ye}function ft(ce){if(ce===47||ce===62||$n(ce))return ae(ce);return a(ce)}function Ke(ce){if(ce===62)return e.consume(ce),e.exit("htmlTextData"),e.exit("htmlText"),r;return a(ce)}function Zt(ce){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(ce),e.exit("lineEnding"),Et}function Et(ce){return oo(ce)?no(e,Yt,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(ce):Yt(ce)}function Yt(ce){return e.enter("htmlTextData"),l(ce)}}var TL={name:"labelEnd",resolveAll:R0t,resolveTo:P0t,tokenize:T0t},k0t={tokenize:A0t},I0t={tokenize:D0t},C0t={tokenize:E0t};function R0t(e){let r=-1,a=[];while(++r<e.length){let i=e[r][1];if(a.push(e[r]),i.type==="labelImage"||i.type==="labelLink"||i.type==="labelEnd"){let f=i.type==="labelImage"?4:2;i.type="data",r+=f}}if(e.length!==a.length)of(e,0,e.length,a);return e}function P0t(e,r){let a=e.length,i=0,f,s,l,c;while(a--)if(f=e[a][1],s){if(f.type==="link"||f.type==="labelLink"&&f._inactive)break;if(e[a][0]==="enter"&&f.type==="labelLink")f._inactive=!0}else if(l){if(e[a][0]==="enter"&&(f.type==="labelImage"||f.type==="labelLink")&&!f._balanced){if(s=a,f.type!=="labelLink"){i=2;break}}}else if(f.type==="labelEnd")l=a;let m={type:e[s][1].type==="labelLink"?"link":"image",start:{...e[s][1].start},end:{...e[e.length-1][1].end}},g={type:"label",start:{...e[s][1].start},end:{...e[l][1].end}},M={type:"labelText",start:{...e[s+i+2][1].end},end:{...e[l-2][1].start}};return c=[["enter",m,r],["enter",g,r]],c=js(c,e.slice(s+1,s+i+3)),c=js(c,[["enter",M,r]]),c=js(c,fR(r.parser.constructs.insideSpan.null,e.slice(s+i+4,l-3),r)),c=js(c,[["exit",M,r],e[l-2],e[l-1],["exit",g,r]]),c=js(c,e.slice(l+1)),c=js(c,[["exit",m,r]]),of(e,s,e.length,c),e}function T0t(e,r,a){let i=this,f=i.events.length,s,l;while(f--)if((i.events[f][1].type==="labelImage"||i.events[f][1].type==="labelLink")&&!i.events[f][1]._balanced){s=i.events[f][1];break}return c;function c(b){if(!s)return a(b);if(s._inactive)return x(b);return l=i.parser.defined.includes(mM(i.sliceSerialize({start:s.end,end:i.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(b),e.exit("labelMarker"),e.exit("labelEnd"),m}function m(b){if(b===40)return e.attempt(k0t,M,l?M:x)(b);if(b===91)return e.attempt(I0t,M,l?g:x)(b);return l?M(b):x(b)}function g(b){return e.attempt(C0t,M,x)(b)}function M(b){return r(b)}function x(b){return s._balanced=!0,a(b)}}function A0t(e,r,a){return i;function i(x){return e.enter("resource"),e.enter("resourceMarker"),e.consume(x),e.exit("resourceMarker"),f}function f(x){return $n(x)?PL(e,s)(x):s(x)}function s(x){if(x===41)return M(x);return C4(e,l,c,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(x)}function l(x){return $n(x)?PL(e,m)(x):M(x)}function c(x){return a(x)}function m(x){if(x===34||x===39||x===40)return P4(e,g,a,"resourceTitle","resourceTitleMarker","resourceTitleString")(x);return M(x)}function g(x){return $n(x)?PL(e,M)(x):M(x)}function M(x){if(x===41)return e.enter("resourceMarker"),e.consume(x),e.exit("resourceMarker"),e.exit("resource"),r;return a(x)}}function D0t(e,r,a){let i=this;return f;function f(c){return R4.call(i,e,s,l,"reference","referenceMarker","referenceString")(c)}function s(c){return i.parser.defined.includes(mM(i.sliceSerialize(i.events[i.events.length-1][1]).slice(1,-1)))?r(c):a(c)}function l(c){return a(c)}}function E0t(e,r,a){return i;function i(s){return e.enter("reference"),e.enter("referenceMarker"),e.consume(s),e.exit("referenceMarker"),f}function f(s){if(s===93)return e.enter("referenceMarker"),e.consume(s),e.exit("referenceMarker"),e.exit("reference"),r;return a(s)}}var UH={name:"labelStartImage",resolveAll:TL.resolveAll,tokenize:O0t};function O0t(e,r,a){let i=this;return f;function f(c){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(c),e.exit("labelImageMarker"),s}function s(c){if(c===91)return e.enter("labelMarker"),e.consume(c),e.exit("labelMarker"),e.exit("labelImage"),l;return a(c)}function l(c){return c===94&&"_hiddenFootnoteSupport"in i.parser.constructs?a(c):r(c)}}var qH={name:"labelStartLink",resolveAll:TL.resolveAll,tokenize:j0t};function j0t(e,r,a){let i=this;return f;function f(l){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(l),e.exit("labelMarker"),e.exit("labelLink"),s}function s(l){return l===94&&"_hiddenFootnoteSupport"in i.parser.constructs?a(l):r(l)}}var Q2={name:"lineEnding",tokenize:N0t};function N0t(e,r){return a;function a(i){return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),no(e,r,"linePrefix")}}var AL={name:"thematicBreak",tokenize:F0t};function F0t(e,r,a){let i=0,f;return s;function s(g){return e.enter("thematicBreak"),l(g)}function l(g){return f=g,c(g)}function c(g){if(g===f)return e.enter("thematicBreakSequence"),m(g);if(i>=3&&(g===null||Lr(g)))return e.exit("thematicBreak"),r(g);return a(g)}function m(g){if(g===f)return e.consume(g),i++,m;return e.exit("thematicBreakSequence"),oo(g)?no(e,c,"whitespace")(g):c(g)}}var rs={continuation:{tokenize:q0t},exit:H0t,name:"list",tokenize:U0t},B0t={partial:!0,tokenize:W0t},Y0t={partial:!0,tokenize:V0t};function U0t(e,r,a){let i=this,f=i.events[i.events.length-1],s=f&&f[1].type==="linePrefix"?f[2].sliceSerialize(f[1],!0).length:0,l=0;return c;function c(y){let _=i.containerState.type||(y===42||y===43||y===45?"listUnordered":"listOrdered");if(_==="listUnordered"?!i.containerState.marker||y===i.containerState.marker:W2(y)){if(!i.containerState.type)i.containerState.type=_,e.enter(_,{_container:!0});if(_==="listUnordered")return e.enter("listItemPrefix"),y===42||y===45?e.check(AL,a,g)(y):g(y);if(!i.interrupt||y===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),m(y)}return a(y)}function m(y){if(W2(y)&&++l<10)return e.consume(y),m;if((!i.interrupt||l<2)&&(i.containerState.marker?y===i.containerState.marker:y===41||y===46))return e.exit("listItemValue"),g(y);return a(y)}function g(y){return e.enter("listItemMarker"),e.consume(y),e.exit("listItemMarker"),i.containerState.marker=i.containerState.marker||y,e.check(W8,i.interrupt?a:M,e.attempt(B0t,b,x))}function M(y){return i.containerState.initialBlankLine=!0,s++,b(y)}function x(y){if(oo(y))return e.enter("listItemPrefixWhitespace"),e.consume(y),e.exit("listItemPrefixWhitespace"),b;return a(y)}function b(y){return i.containerState.size=s+i.sliceSerialize(e.exit("listItemPrefix"),!0).length,r(y)}}function q0t(e,r,a){let i=this;return i.containerState._closeFlow=void 0,e.check(W8,f,s);function f(c){return i.containerState.furtherBlankLines=i.containerState.furtherBlankLines||i.containerState.initialBlankLine,no(e,r,"listItemIndent",i.containerState.size+1)(c)}function s(c){if(i.containerState.furtherBlankLines||!oo(c))return i.containerState.furtherBlankLines=void 0,i.containerState.initialBlankLine=void 0,l(c);return i.containerState.furtherBlankLines=void 0,i.containerState.initialBlankLine=void 0,e.attempt(Y0t,r,l)(c)}function l(c){return i.containerState._closeFlow=!0,i.interrupt=void 0,no(e,e.attempt(rs,r,a),"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(c)}}function V0t(e,r,a){let i=this;return no(e,f,"listItemIndent",i.containerState.size+1);function f(s){let l=i.events[i.events.length-1];return l&&l[1].type==="listItemIndent"&&l[2].sliceSerialize(l[1],!0).length===i.containerState.size?r(s):a(s)}}function H0t(e){e.exit(this.containerState.type)}function W0t(e,r,a){let i=this;return no(e,f,"listItemPrefixWhitespace",i.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function f(s){let l=i.events[i.events.length-1];return!oo(s)&&l&&l[1].type==="listItemPrefixWhitespace"?r(s):a(s)}}var T4={name:"setextUnderline",resolveTo:G0t,tokenize:K0t};function G0t(e,r){let a=e.length,i,f,s;while(a--)if(e[a][0]==="enter"){if(e[a][1].type==="content"){i=a;break}if(e[a][1].type==="paragraph")f=a}else{if(e[a][1].type==="content")e.splice(a,1);if(!s&&e[a][1].type==="definition")s=a}let l={type:"setextHeading",start:{...e[i][1].start},end:{...e[e.length-1][1].end}};if(e[f][1].type="setextHeadingText",s)e.splice(f,0,["enter",l,r]),e.splice(s+1,0,["exit",e[i][1],r]),e[i][1].end={...e[s][1].end};else e[i][1]=l;return e.push(["exit",l,r]),e}function K0t(e,r,a){let i=this,f;return s;function s(g){let M=i.events.length,x;while(M--)if(i.events[M][1].type!=="lineEnding"&&i.events[M][1].type!=="linePrefix"&&i.events[M][1].type!=="content"){x=i.events[M][1].type==="paragraph";break}if(!i.parser.lazy[i.now().line]&&(i.interrupt||x))return e.enter("setextHeadingLine"),f=g,l(g);return a(g)}function l(g){return e.enter("setextHeadingLineSequence"),c(g)}function c(g){if(g===f)return e.consume(g),c;return e.exit("setextHeadingLineSequence"),oo(g)?no(e,m,"lineSuffix")(g):m(g)}function m(g){if(g===null||Lr(g))return e.exit("setextHeadingLine"),r(g);return a(g)}}var _Me={tokenize:X0t};function X0t(e){let r=this,a=e.attempt(W8,i,e.attempt(this.parser.constructs.flowInitial,f,no(e,e.attempt(this.parser.constructs.flow,f,e.attempt(EH,f)),"linePrefix")));return a;function i(s){if(s===null){e.consume(s);return}return e.enter("lineEndingBlank"),e.consume(s),e.exit("lineEndingBlank"),r.currentConstruct=void 0,a}function f(s){if(s===null){e.consume(s);return}return e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),r.currentConstruct=void 0,a}}var wMe={resolveAll:kMe()},zMe=LMe("string"),SMe=LMe("text");function LMe(e){return{resolveAll:kMe(e==="text"?Q0t:void 0),tokenize:r};function r(a){let i=this,f=this.parser.constructs[e],s=a.attempt(f,l,c);return l;function l(M){return g(M)?s(M):c(M)}function c(M){if(M===null){a.consume(M);return}return a.enter("data"),a.consume(M),m}function m(M){if(g(M))return a.exit("data"),s(M);return a.consume(M),m}function g(M){if(M===null)return!0;let x=f[M],b=-1;if(x)while(++b<x.length){let y=x[b];if(!y.previous||y.previous.call(i,i.previous))return!0}return!1}}}function kMe(e){return r;function r(a,i){let f=-1,s;while(++f<=a.length)if(s===void 0){if(a[f]&&a[f][1].type==="data")s=f,f++}else if(!a[f]||a[f][1].type!=="data"){if(f!==s+2)a[s][1].end=a[f-1][1].end,a.splice(s+2,f-s-2),f=s+2;s=void 0}return e?e(a,i):a}}function Q0t(e,r){let a=0;while(++a<=e.length)if((a===e.length||e[a][1].type==="lineEnding")&&e[a-1][1].type==="data"){let i=e[a-1][1],f=r.sliceStream(i),s=f.length,l=-1,c=0,m;while(s--){let g=f[s];if(typeof g==="string"){l=g.length;while(g.charCodeAt(l-1)===32)c++,l--;if(l)break;l=-1}else if(g===-2)m=!0,c++;else if(g===-1);else{s++;break}}if(r._contentTypeTextTrailing&&a===e.length)c=0;if(c){let g={type:a===e.length||m||c<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:s?l:i.start._bufferIndex+l,_index:i.start._index+s,line:i.end.line,column:i.end.column-c,offset:i.end.offset-c},end:{...i.end}};if(i.end={...g.start},i.start.offset===i.end.offset)Object.assign(i,g);else e.splice(a,0,["enter",g,r],["exit",g,r]),a+=2}a++}return e}var VH={};Oe(VH,{attentionMarkers:()=>nzt,contentInitial:()=>$0t,disable:()=>izt,document:()=>J0t,flow:()=>tzt,flowInitial:()=>ezt,insideSpan:()=>azt,string:()=>rzt,text:()=>ozt});var J0t={[42]:rs,[43]:rs,[45]:rs,[48]:rs,[49]:rs,[50]:rs,[51]:rs,[52]:rs,[53]:rs,[54]:rs,[55]:rs,[56]:rs,[57]:rs,[62]:z4},$0t={[91]:OH},ezt={[-2]:K2,[-1]:K2,[32]:K2},tzt={[35]:NH,[42]:AL,[45]:[T4,AL],[60]:BH,[61]:T4,[95]:AL,[96]:k4,[126]:k4},rzt={[38]:L4,[92]:S4},ozt={[-5]:Q2,[-4]:Q2,[-3]:Q2,[33]:UH,[38]:L4,[42]:G2,[60]:[TH,YH],[91]:qH,[92]:[jH,S4],[93]:TL,[95]:G2,[96]:AH},azt={null:[G2,wMe]},nzt={null:[42,95]},izt={null:[]};function IMe(e,r,a){let i={_bufferIndex:-1,_index:0,line:a&&a.line||1,column:a&&a.column||1,offset:a&&a.offset||0},f={},s=[],l=[],c=[],m=!0,g={attempt:ae(te),check:ae(oe),consume:X,enter:J,exit:ee,interrupt:ae(oe,{interrupt:!0})},M={code:null,containerState:{},defineSkip:I,events:[],now:F,parser:e,previous:null,sliceSerialize:_,sliceStream:k,write:y},x=r.tokenize.call(M,g),b;if(r.resolveAll)s.push(r);return M;function y(ze){if(l=js(l,ze),j(),l[l.length-1]!==null)return[];return _e(r,0),M.events=fR(s,M.events,M),M.events}function _(ze,Ye){return szt(k(ze),Ye)}function k(ze){return fzt(l,ze)}function F(){let{_bufferIndex:ze,_index:Ye,line:ft,column:Ke,offset:Zt}=i;return{_bufferIndex:ze,_index:Ye,line:ft,column:Ke,offset:Zt}}function I(ze){f[ze.line]=ze.column,Ne()}function j(){let ze;while(i._index<l.length){let Ye=l[i._index];if(typeof Ye==="string"){if(ze=i._index,i._bufferIndex<0)i._bufferIndex=0;while(i._index===ze&&i._bufferIndex<Ye.length)G(Ye.charCodeAt(i._bufferIndex))}else G(Ye)}}function G(ze){m=void 0,b=ze,x=x(ze)}function X(ze){if(Lr(ze))i.line++,i.column=1,i.offset+=ze===-3?2:1,Ne();else if(ze!==-1)i.column++,i.offset++;if(i._bufferIndex<0)i._index++;else if(i._bufferIndex++,i._bufferIndex===l[i._index].length)i._bufferIndex=-1,i._index++;M.previous=ze,m=!0}function J(ze,Ye){let ft=Ye||{};return ft.type=ze,ft.start=F(),M.events.push(["enter",ft,M]),c.push(ft),ft}function ee(ze){let Ye=c.pop();return Ye.end=F(),M.events.push(["exit",Ye,M]),Ye}function te(ze,Ye){_e(ze,Ye.from)}function oe(ze,Ye){Ye.restore()}function ae(ze,Ye){return ft;function ft(Ke,Zt,Et){let Yt,ce,mt,Vt;return Array.isArray(Ke)?ir(Ke):("tokenize"in Ke)?ir([Ke]):Pe(Ke);function Pe(Wt){return Kt;function Kt(ur){let Ir=ur!==null&&Wt[ur],Rr=ur!==null&&Wt.null,dr=[...Array.isArray(Ir)?Ir:Ir?[Ir]:[],...Array.isArray(Rr)?Rr:Rr?[Rr]:[]];return ir(dr)(ur)}}function ir(Wt){if(Yt=Wt,ce=0,Wt.length===0)return Et;return nr(Wt[ce])}function nr(Wt){return Kt;function Kt(ur){if(Vt=Ve(),mt=Wt,!Wt.partial)M.currentConstruct=Wt;if(Wt.name&&M.parser.constructs.disable.null.includes(Wt.name))return Er(ur);return Wt.tokenize.call(Ye?Object.assign(Object.create(M),Ye):M,g,$t,Er)(ur)}}function $t(Wt){return m=!0,ze(mt,Vt),Zt}function Er(Wt){if(m=!0,Vt.restore(),++ce<Yt.length)return nr(Yt[ce]);return Et}}}function _e(ze,Ye){if(ze.resolveAll&&!s.includes(ze))s.push(ze);if(ze.resolve)of(M.events,Ye,M.events.length-Ye,ze.resolve(M.events.slice(Ye),M));if(ze.resolveTo)M.events=ze.resolveTo(M.events,M)}function Ve(){let ze=F(),{previous:Ye,currentConstruct:ft}=M,Ke=M.events.length,Zt=Array.from(c);return{from:Ke,restore:Et};function Et(){i=ze,M.previous=Ye,M.currentConstruct=ft,M.events.length=Ke,c=Zt,Ne()}}function Ne(){if(i.line in f&&i.column<2)i.column=f[i.line],i.offset+=f[i.line]-1}}function fzt(e,r){let a=r.start._index,i=r.start._bufferIndex,f=r.end._index,s=r.end._bufferIndex,l;if(a===f)l=[e[a].slice(i,s)];else{if(l=e.slice(a,f),i>-1){let c=l[0];if(typeof c==="string")l[0]=c.slice(i);else l.shift()}if(s>0)l.push(e[f].slice(0,s))}return l}function szt(e,r){let a=-1,i=[],f;while(++a<e.length){let s=e[a],l;if(typeof s==="string")l=s;else switch(s){case-5:{l="\r";break}case-4:{l=`
|
|
199
|
+
`;break}case-3:{l=`\r
|
|
200
|
+
`;break}case-2:{l=r?" ":"\t";break}case-1:{if(!r&&f)continue;l=" ";break}default:l=String.fromCharCode(s)}f=s===-2,i.push(l)}return i.join("")}function HH(e){let i={constructs:uMe([VH,...(e||{}).extensions||[]]),content:f(gMe),defined:[],document:f(vMe),flow:f(_Me),lazy:{},string:f(zMe),text:f(SMe)};return i;function f(s){return l;function l(c){return IMe(i,s,c)}}}function WH(e){while(!I4(e));return e}var CMe=/[\0\t\n\r]/g;function GH(){let e=1,r="",a=!0,i;return f;function f(s,l,c){let m=[],g,M,x,b,y;if(s=r+(typeof s==="string"?s.toString():new TextDecoder(l||void 0).decode(s)),x=0,r="",a){if(s.charCodeAt(0)===65279)x++;a=void 0}while(x<s.length){if(CMe.lastIndex=x,g=CMe.exec(s),b=g&&g.index!==void 0?g.index:s.length,y=s.charCodeAt(b),!g){r=s.slice(x);break}if(y===10&&x===b&&i)m.push(-3),i=void 0;else{if(i)m.push(-5),i=void 0;if(x<b)m.push(s.slice(x,b)),e+=b-x;switch(y){case 0:{m.push(65533),e++;break}case 9:{M=Math.ceil(e/4)*4,m.push(-2);while(e++<M)m.push(-1);break}case 10:{m.push(-4),e=1;break}default:i=!0,e=1}}x=b+1}if(c){if(i)m.push(-5);if(r)m.push(r);m.push(null)}return m}}var lzt=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function RMe(e){return e.replace(lzt,czt)}function czt(e,r,a){if(r)return r;if(a.charCodeAt(0)===35){let f=a.charCodeAt(1),s=f===120||f===88;return w4(a.slice(s?2:1),s?16:10)}return iR(a)||e}var TMe={}.hasOwnProperty;function KH(e,r,a){if(r&&typeof r==="object")a=r,r=void 0;return uzt(a)(WH(HH(a).document().write(GH()(e,r,!0))))}function uzt(e){let r={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:s(po),autolinkProtocol:ae,autolinkEmail:ae,atxHeading:s(tr),blockQuote:s(ur),characterEscape:ae,characterReference:ae,codeFenced:s(Ir),codeFencedFenceInfo:l,codeFencedFenceMeta:l,codeIndented:s(Ir,l),codeText:s(Rr,l),codeTextData:ae,data:ae,codeFlowValue:ae,definition:s(dr),definitionDestinationString:l,definitionLabelString:l,definitionTitleString:l,emphasis:s(Zo),hardBreakEscape:s(Fr),hardBreakTrailing:s(Fr),htmlFlow:s(lo,l),htmlFlowData:ae,htmlText:s(lo,l),htmlTextData:ae,image:s(jo),label:l,link:s(po),listItem:s(mn),listItemValue:b,listOrdered:s(oi,x),listUnordered:s(oi),paragraph:s(qo),reference:Pe,referenceString:l,resourceDestinationString:l,resourceTitleString:l,setextHeading:s(tr),strong:s(Dn),thematicBreak:s(Vi)},exit:{atxHeading:m(),atxHeadingSequence:J,autolink:m(),autolinkEmail:Kt,autolinkProtocol:Wt,blockQuote:m(),characterEscapeValue:_e,characterReferenceMarkerHexadecimal:nr,characterReferenceMarkerNumeric:nr,characterReferenceValue:$t,characterReference:Er,codeFenced:m(F),codeFencedFence:k,codeFencedFenceInfo:y,codeFencedFenceMeta:_,codeFlowValue:_e,codeIndented:m(I),codeText:m(ft),codeTextData:_e,data:_e,definition:m(),definitionDestinationString:X,definitionLabelString:j,definitionTitleString:G,emphasis:m(),hardBreakEscape:m(Ne),hardBreakTrailing:m(Ne),htmlFlow:m(ze),htmlFlowData:_e,htmlText:m(Ye),htmlTextData:_e,image:m(Zt),label:Yt,labelText:Et,lineEnding:Ve,link:m(Ke),listItem:m(),listOrdered:m(),listUnordered:m(),paragraph:m(),referenceString:ir,resourceDestinationString:ce,resourceTitleString:mt,resource:Vt,setextHeading:m(oe),setextHeadingLineSequence:te,setextHeadingText:ee,strong:m(),thematicBreak:m()}};AMe(r,(e||{}).mdastExtensions||[]);let a={};return i;function i(He){let kt={type:"root",children:[]},pr={stack:[kt],tokenStack:[],config:r,enter:c,exit:g,buffer:l,resume:M,data:a},jr=[],ao=-1;while(++ao<He.length)if(He[ao][1].type==="listOrdered"||He[ao][1].type==="listUnordered")if(He[ao][0]==="enter")jr.push(ao);else{let Ho=jr.pop();ao=f(He,Ho,ao)}ao=-1;while(++ao<He.length){let Ho=r[He[ao][0]];if(TMe.call(Ho,He[ao][1].type))Ho[He[ao][1].type].call(Object.assign({sliceSerialize:He[ao][2].sliceSerialize},pr),He[ao][1])}if(pr.tokenStack.length>0){let Ho=pr.tokenStack[pr.tokenStack.length-1];(Ho[1]||PMe).call(pr,void 0,Ho[0])}kt.position={start:G8(He.length>0?He[0][1].start:{line:1,column:1,offset:0}),end:G8(He.length>0?He[He.length-2][1].end:{line:1,column:1,offset:0})},ao=-1;while(++ao<r.transforms.length)kt=r.transforms[ao](kt)||kt;return kt}function f(He,kt,pr){let jr=kt-1,ao=-1,Ho=!1,Ca,Se,Ce,je;while(++jr<=pr){let ct=He[jr];switch(ct[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{if(ct[0]==="enter")ao++;else ao--;je=void 0;break}case"lineEndingBlank":{if(ct[0]==="enter"){if(Ca&&!je&&!ao&&!Ce)Ce=jr;je=void 0}break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:je=void 0}if(!ao&&ct[0]==="enter"&&ct[1].type==="listItemPrefix"||ao===-1&&ct[0]==="exit"&&(ct[1].type==="listUnordered"||ct[1].type==="listOrdered")){if(Ca){let bt=jr;Se=void 0;while(bt--){let jt=He[bt];if(jt[1].type==="lineEnding"||jt[1].type==="lineEndingBlank"){if(jt[0]==="exit")continue;if(Se)He[Se][1].type="lineEndingBlank",Ho=!0;jt[1].type="lineEnding",Se=bt}else if(jt[1].type==="linePrefix"||jt[1].type==="blockQuotePrefix"||jt[1].type==="blockQuotePrefixWhitespace"||jt[1].type==="blockQuoteMarker"||jt[1].type==="listItemIndent");else break}if(Ce&&(!Se||Ce<Se))Ca._spread=!0;Ca.end=Object.assign({},Se?He[Se][1].start:ct[1].end),He.splice(Se||jr,0,["exit",Ca,ct[2]]),jr++,pr++}if(ct[1].type==="listItemPrefix"){let bt={type:"listItem",_spread:!1,start:Object.assign({},ct[1].start),end:void 0};Ca=bt,He.splice(jr,0,["enter",bt,ct[2]]),jr++,pr++,Ce=void 0,je=!0}}}return He[kt][1]._spread=Ho,pr}function s(He,kt){return pr;function pr(jr){if(c.call(this,He(jr),jr),kt)kt.call(this,jr)}}function l(){this.stack.push({type:"fragment",children:[]})}function c(He,kt,pr){this.stack[this.stack.length-1].children.push(He),this.stack.push(He),this.tokenStack.push([kt,pr||void 0]),He.position={start:G8(kt.start),end:void 0}}function m(He){return kt;function kt(pr){if(He)He.call(this,pr);g.call(this,pr)}}function g(He,kt){let pr=this.stack.pop(),jr=this.tokenStack.pop();if(!jr)throw Error("Cannot close `"+He.type+"` ("+V8({start:He.start,end:He.end})+"): it’s not open");else if(jr[0].type!==He.type)if(kt)kt.call(this,He,jr[0]);else(jr[1]||PMe).call(this,He,jr[0]);pr.position.end=G8(He.end)}function M(){return RH(this.stack.pop())}function x(){this.data.expectingFirstListItemValue=!0}function b(He){if(this.data.expectingFirstListItemValue){let kt=this.stack[this.stack.length-2];kt.start=Number.parseInt(this.sliceSerialize(He),10),this.data.expectingFirstListItemValue=void 0}}function y(){let He=this.resume(),kt=this.stack[this.stack.length-1];kt.lang=He}function _(){let He=this.resume(),kt=this.stack[this.stack.length-1];kt.meta=He}function k(){if(this.data.flowCodeInside)return;this.buffer(),this.data.flowCodeInside=!0}function F(){let He=this.resume(),kt=this.stack[this.stack.length-1];kt.value=He.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function I(){let He=this.resume(),kt=this.stack[this.stack.length-1];kt.value=He.replace(/(\r?\n|\r)$/g,"")}function j(He){let kt=this.resume(),pr=this.stack[this.stack.length-1];pr.label=kt,pr.identifier=mM(this.sliceSerialize(He)).toLowerCase()}function G(){let He=this.resume(),kt=this.stack[this.stack.length-1];kt.title=He}function X(){let He=this.resume(),kt=this.stack[this.stack.length-1];kt.url=He}function J(He){let kt=this.stack[this.stack.length-1];if(!kt.depth){let pr=this.sliceSerialize(He).length;kt.depth=pr}}function ee(){this.data.setextHeadingSlurpLineEnding=!0}function te(He){let kt=this.stack[this.stack.length-1];kt.depth=this.sliceSerialize(He).codePointAt(0)===61?1:2}function oe(){this.data.setextHeadingSlurpLineEnding=void 0}function ae(He){let pr=this.stack[this.stack.length-1].children,jr=pr[pr.length-1];if(!jr||jr.type!=="text")jr=an(),jr.position={start:G8(He.start),end:void 0},pr.push(jr);this.stack.push(jr)}function _e(He){let kt=this.stack.pop();kt.value+=this.sliceSerialize(He),kt.position.end=G8(He.end)}function Ve(He){let kt=this.stack[this.stack.length-1];if(this.data.atHardBreak){let pr=kt.children[kt.children.length-1];pr.position.end=G8(He.end),this.data.atHardBreak=void 0;return}if(!this.data.setextHeadingSlurpLineEnding&&r.canContainEols.includes(kt.type))ae.call(this,He),_e.call(this,He)}function Ne(){this.data.atHardBreak=!0}function ze(){let He=this.resume(),kt=this.stack[this.stack.length-1];kt.value=He}function Ye(){let He=this.resume(),kt=this.stack[this.stack.length-1];kt.value=He}function ft(){let He=this.resume(),kt=this.stack[this.stack.length-1];kt.value=He}function Ke(){let He=this.stack[this.stack.length-1];if(this.data.inReference){let kt=this.data.referenceType||"shortcut";He.type+="Reference",He.referenceType=kt,delete He.url,delete He.title}else delete He.identifier,delete He.label;this.data.referenceType=void 0}function Zt(){let He=this.stack[this.stack.length-1];if(this.data.inReference){let kt=this.data.referenceType||"shortcut";He.type+="Reference",He.referenceType=kt,delete He.url,delete He.title}else delete He.identifier,delete He.label;this.data.referenceType=void 0}function Et(He){let kt=this.sliceSerialize(He),pr=this.stack[this.stack.length-2];pr.label=RMe(kt),pr.identifier=mM(kt).toLowerCase()}function Yt(){let He=this.stack[this.stack.length-1],kt=this.resume(),pr=this.stack[this.stack.length-1];if(this.data.inReference=!0,pr.type==="link"){let jr=He.children;pr.children=jr}else pr.alt=kt}function ce(){let He=this.resume(),kt=this.stack[this.stack.length-1];kt.url=He}function mt(){let He=this.resume(),kt=this.stack[this.stack.length-1];kt.title=He}function Vt(){this.data.inReference=void 0}function Pe(){this.data.referenceType="collapsed"}function ir(He){let kt=this.resume(),pr=this.stack[this.stack.length-1];pr.label=kt,pr.identifier=mM(this.sliceSerialize(He)).toLowerCase(),this.data.referenceType="full"}function nr(He){this.data.characterReferenceType=He.type}function $t(He){let kt=this.sliceSerialize(He),pr=this.data.characterReferenceType,jr;if(pr)jr=w4(kt,pr==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0;else jr=iR(kt);let ao=this.stack[this.stack.length-1];ao.value+=jr}function Er(He){let kt=this.stack.pop();kt.position.end=G8(He.end)}function Wt(He){_e.call(this,He);let kt=this.stack[this.stack.length-1];kt.url=this.sliceSerialize(He)}function Kt(He){_e.call(this,He);let kt=this.stack[this.stack.length-1];kt.url="mailto:"+this.sliceSerialize(He)}function ur(){return{type:"blockquote",children:[]}}function Ir(){return{type:"code",lang:null,meta:null,value:""}}function Rr(){return{type:"inlineCode",value:""}}function dr(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function Zo(){return{type:"emphasis",children:[]}}function tr(){return{type:"heading",depth:0,children:[]}}function Fr(){return{type:"break"}}function lo(){return{type:"html",value:""}}function jo(){return{type:"image",title:null,url:"",alt:null}}function po(){return{type:"link",title:null,url:"",children:[]}}function oi(He){return{type:"list",ordered:He.type==="listOrdered",start:null,spread:He._spread,children:[]}}function mn(He){return{type:"listItem",spread:He._spread,checked:null,children:[]}}function qo(){return{type:"paragraph",children:[]}}function Dn(){return{type:"strong",children:[]}}function an(){return{type:"text",value:""}}function Vi(){return{type:"thematicBreak"}}}function G8(e){return{line:e.line,column:e.column,offset:e.offset}}function AMe(e,r){let a=-1;while(++a<r.length){let i=r[a];if(Array.isArray(i))AMe(e,i);else dzt(e,i)}}function dzt(e,r){let a;for(a in r)if(TMe.call(r,a))switch(a){case"canContainEols":{let i=r[a];if(i)e[a].push(...i);break}case"transforms":{let i=r[a];if(i)e[a].push(...i);break}case"enter":case"exit":{let i=r[a];if(i)Object.assign(e[a],i);break}}}function PMe(e,r){if(e)throw Error("Cannot close `"+e.type+"` ("+V8({start:e.start,end:e.end})+"): a different token (`"+r.type+"`, "+V8({start:r.start,end:r.end})+") is open");else throw Error("Cannot close document, a token (`"+r.type+"`, "+V8({start:r.start,end:r.end})+") is still open")}function A4(e){let r=this;r.parser=a;function a(i){return KH(i,{...r.data("settings"),...e,extensions:r.data("micromarkExtensions")||[],mdastExtensions:r.data("fromMarkdownExtensions")||[]})}}var D4=-1,sR=0,DL=1,lR=2,J2=3,$2=4,eD=5,tD=6,E4=7,O4=8;var{defineProperty:Zzt}=Object,EMe=typeof self==="object"?self:globalThis,DMe=(e,r)=>{switch(e){case"Function":case"SharedWorker":case"Worker":case"eval":case"setInterval":case"setTimeout":throw TypeError("unable to deserialize "+e)}return new EMe[e](r)},pzt=(e,r)=>{let a=(f,s)=>(e.set(s,f),f),i=(f)=>{if(e.has(f))return e.get(f);let[s,l]=r[f];switch(s){case sR:case D4:return a(l,f);case DL:{let c=a([],f);for(let m of l)c.push(i(m));return c}case lR:{let c=a({},f);for(let[m,g]of l){let M=i(m),x=i(g);if(M==="__proto__")Zzt(c,M,{value:x,configurable:!0,enumerable:!0,writable:!0});else c[M]=x}return c}case J2:return a(new Date(l),f);case $2:{let{source:c,flags:m}=l;return a(new RegExp(c,m),f)}case eD:{let c=a(new Map,f);for(let[m,g]of l)c.set(i(m),i(g));return c}case tD:{let c=a(new Set,f);for(let m of l)c.add(i(m));return c}case E4:{let{name:c,message:m}=l;return a(typeof EMe[c]==="function"?DMe(c,m):Error(m),f)}case O4:return a(BigInt(l),f);case"BigInt":return a(Object(BigInt(l)),f);case"ArrayBuffer":return a(new Uint8Array(l).buffer,l);case"DataView":{let{buffer:c}=new Uint8Array(l);return a(new DataView(c),l)}case"-0":return-0}return a(DMe(s,l),f)};return i},XH=(e)=>pzt(new Map,e)(0);var EL="",{toString:mzt}={},{keys:hzt,is:gzt}=Object,rD=(e)=>{let r=typeof e;if(r!=="object"||!e)return[sR,r];let a=mzt.call(e).slice(8,-1);switch(a){case"Array":return[DL,EL];case"Object":return[lR,EL];case"Date":return[J2,EL];case"RegExp":return[$2,EL];case"Map":return[eD,EL];case"Set":return[tD,EL];case"DataView":return[DL,a]}if(a.includes("Array"))return[DL,a];if(e instanceof Error)return[E4,e.name||"Error"];return[lR,a]},j4=([e,r])=>e===sR&&(r==="function"||r==="symbol"),Mzt=(e,r,a,i)=>{let f=(l,c)=>{let m=i.push(l)-1;return a.set(c,m),m},s=(l)=>{if(a.has(l))return a.get(l);let[c,m]=rD(l);switch(c){case sR:{let M=l;switch(m){case"bigint":c=O4,M=l.toString();break;case"number":if(!l&&gzt(l,-0))return i.push(["-0"])-1;break;case"function":case"symbol":if(e)throw TypeError("unable to serialize "+m);M=null;break;case"undefined":return f([D4],l)}return f([c,M],l)}case DL:{if(m){let b=l;if(m==="DataView")b=new Uint8Array(l.buffer);else if(m==="ArrayBuffer")b=new Uint8Array(l);return f([m,[...b]],l)}let M=[],x=f([c,M],l);for(let b of l)M.push(s(b));return x}case lR:{if(m)switch(m){case"BigInt":return f([m,l.toString()],l);case"Boolean":case"Number":case"String":return f([m,l.valueOf()],l)}if(r&&"toJSON"in l)return s(l.toJSON());let M=[],x=f([c,M],l);for(let b of hzt(l))if(e||!j4(rD(l[b])))M.push([s(b),s(l[b])]);return x}case J2:return f([c,isNaN(l.getTime())?EL:l.toISOString()],l);case $2:{let{source:M,flags:x}=l;return f([c,{source:M,flags:x}],l)}case eD:{let M=[],x=f([c,M],l);for(let[b,y]of l)if(e||!(j4(rD(b))||j4(rD(y))))M.push([s(b),s(y)]);return x}case tD:{let M=[],x=f([c,M],l);for(let b of l)if(e||!j4(rD(b)))M.push(s(b));return x}}let{message:g}=l;return f([c,{name:m,message:g}],l)};return s},QH=(e,{json:r,lossy:a}={})=>{let i=[];return Mzt(!(r||a),!!r,new Map,i)(e),i};var cR=typeof structuredClone==="function"?(e,r)=>r&&(("json"in r)||("lossy"in r))?XH(QH(e,r)):structuredClone(e):(e,r)=>XH(QH(e,r));function vzt(e,r){let a=[{type:"text",value:"↩"}];if(r>1)a.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(r)}]});return a}function xzt(e,r){return"Back to reference "+(e+1)+(r>1?"-"+r:"")}function OMe(e){let r=typeof e.options.clobberPrefix==="string"?e.options.clobberPrefix:"user-content-",a=e.options.footnoteBackContent||vzt,i=e.options.footnoteBackLabel||xzt,f=e.options.footnoteLabel||"Footnotes",s=e.options.footnoteLabelTagName||"h2",l=e.options.footnoteLabelProperties||{className:["sr-only"]},c=[],m=-1;while(++m<e.footnoteOrder.length){let g=e.footnoteById.get(e.footnoteOrder[m]);if(!g)continue;let M=e.all(g),x=String(g.identifier).toUpperCase(),b=ru(x.toLowerCase()),y=0,_=[],k=e.footnoteCounts.get(x);while(k!==void 0&&++y<=k){if(_.length>0)_.push({type:"text",value:" "});let j=typeof a==="string"?a:a(m,y);if(typeof j==="string")j={type:"text",value:j};_.push({type:"element",tagName:"a",properties:{href:"#"+r+"fnref-"+b+(y>1?"-"+y:""),dataFootnoteBackref:"",ariaLabel:typeof i==="string"?i:i(m,y),className:["data-footnote-backref"]},children:Array.isArray(j)?j:[j]})}let F=M[M.length-1];if(F&&F.type==="element"&&F.tagName==="p"){let j=F.children[F.children.length-1];if(j&&j.type==="text")j.value+=" ";else F.children.push({type:"text",value:" "});F.children.push(..._)}else M.push(..._);let I={type:"element",tagName:"li",properties:{id:r+"fn-"+b},children:e.wrap(M,!0)};e.patch(g,I),c.push(I)}if(c.length===0)return;return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:s,properties:{...cR(l),id:"footnote-label"},children:[{type:"text",value:f}]},{type:"text",value:`
|
|
201
|
+
`},{type:"element",tagName:"ol",properties:{},children:e.wrap(c,!0)},{type:"text",value:`
|
|
202
|
+
`}]}}var N4=function(e){if(e===null||e===void 0)return wzt;if(typeof e==="function")return F4(e);if(typeof e==="object")return Array.isArray(e)?yzt(e):bzt(e);if(typeof e==="string")return _zt(e);throw Error("Expected function, string, or object as test")};function yzt(e){let r=[],a=-1;while(++a<e.length)r[a]=N4(e[a]);return F4(i);function i(...f){let s=-1;while(++s<r.length)if(r[s].apply(this,f))return!0;return!1}}function bzt(e){let r=e;return F4(a);function a(i){let f=i,s;for(s in e)if(f[s]!==r[s])return!1;return!0}}function _zt(e){return F4(r);function r(a){return a&&a.type===e}}function F4(e){return r;function r(a,i,f){return Boolean(zzt(a)&&e.call(this,a,typeof i==="number"?i:void 0,f||void 0))}}function wzt(){return!0}function zzt(e){return e!==null&&typeof e==="object"&&"type"in e}function jMe(e){return e}var NMe=[],JH=!0,B4=!1,$H="skip";function eW(e,r,a,i){let f;if(typeof r==="function"&&typeof a!=="function")i=a,a=r;else f=r;let s=N4(f),l=i?-1:1;c(e,void 0,[])();function c(m,g,M){let x=m&&typeof m==="object"?m:{};if(typeof x.type==="string"){let y=typeof x.tagName==="string"?x.tagName:typeof x.name==="string"?x.name:void 0;Object.defineProperty(b,"name",{value:"node ("+jMe(m.type+(y?"<"+y+">":""))+")"})}return b;function b(){let y=NMe,_,k,F;if(!r||s(m,g,M[M.length-1]||void 0)){if(y=Szt(a(m,M)),y[0]===B4)return y}if("children"in m&&m.children){let I=m;if(I.children&&y[0]!==$H){k=(i?I.children.length:-1)+l,F=M.concat(I);while(k>-1&&k<I.children.length){let j=I.children[k];if(_=c(j,k,F)(),_[0]===B4)return _;k=typeof _[1]==="number"?_[1]:k+l}}}return y}}}function Szt(e){if(Array.isArray(e))return e;if(typeof e==="number")return[JH,e];return e===null||e===void 0?NMe:[e]}function oD(e,r,a,i){let f,s,l;if(typeof r==="function"&&typeof a!=="function")s=void 0,l=r,f=a;else s=r,l=a,f=i;eW(e,s,c,f);function c(m,g){let M=g[g.length-1],x=M?M.children.indexOf(m):void 0;return l(m,x,M)}}function FMe(e,r){let a={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(r),!0)};return e.patch(r,a),e.applyData(r,a)}function BMe(e,r){let a={type:"element",tagName:"br",properties:{},children:[]};return e.patch(r,a),[e.applyData(r,a),{type:"text",value:`
|
|
203
|
+
`}]}function YMe(e,r){let a=r.value?r.value+`
|
|
204
|
+
`:"",i={},f=r.lang?r.lang.split(/\s+/):[];if(f.length>0)i.className=["language-"+f[0]];let s={type:"element",tagName:"code",properties:i,children:[{type:"text",value:a}]};if(r.meta)s.data={meta:r.meta};return e.patch(r,s),s=e.applyData(r,s),s={type:"element",tagName:"pre",properties:{},children:[s]},e.patch(r,s),s}function UMe(e,r){let a={type:"element",tagName:"del",properties:{},children:e.all(r)};return e.patch(r,a),e.applyData(r,a)}function qMe(e,r){let a={type:"element",tagName:"em",properties:{},children:e.all(r)};return e.patch(r,a),e.applyData(r,a)}function VMe(e,r){let a=typeof e.options.clobberPrefix==="string"?e.options.clobberPrefix:"user-content-",i=String(r.identifier).toUpperCase(),f=ru(i.toLowerCase()),s=e.footnoteOrder.indexOf(i),l,c=e.footnoteCounts.get(i);if(c===void 0)c=0,e.footnoteOrder.push(i),l=e.footnoteOrder.length;else l=s+1;c+=1,e.footnoteCounts.set(i,c);let m={type:"element",tagName:"a",properties:{href:"#"+a+"fn-"+f,id:a+"fnref-"+f+(c>1?"-"+c:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(l)}]};e.patch(r,m);let g={type:"element",tagName:"sup",properties:{},children:[m]};return e.patch(r,g),e.applyData(r,g)}function HMe(e,r){let a={type:"element",tagName:"h"+r.depth,properties:{},children:e.all(r)};return e.patch(r,a),e.applyData(r,a)}function WMe(e,r){if(e.options.allowDangerousHtml){let a={type:"raw",value:r.value};return e.patch(r,a),e.applyData(r,a)}return}function Y4(e,r){let a=r.referenceType,i="]";if(a==="collapsed")i+="[]";else if(a==="full")i+="["+(r.label||r.identifier)+"]";if(r.type==="imageReference")return[{type:"text",value:"!["+r.alt+i}];let f=e.all(r),s=f[0];if(s&&s.type==="text")s.value="["+s.value;else f.unshift({type:"text",value:"["});let l=f[f.length-1];if(l&&l.type==="text")l.value+=i;else f.push({type:"text",value:i});return f}function GMe(e,r){let a=String(r.identifier).toUpperCase(),i=e.definitionById.get(a);if(!i)return Y4(e,r);let f={src:ru(i.url||""),alt:r.alt};if(i.title!==null&&i.title!==void 0)f.title=i.title;let s={type:"element",tagName:"img",properties:f,children:[]};return e.patch(r,s),e.applyData(r,s)}function KMe(e,r){let a={src:ru(r.url)};if(r.alt!==null&&r.alt!==void 0)a.alt=r.alt;if(r.title!==null&&r.title!==void 0)a.title=r.title;let i={type:"element",tagName:"img",properties:a,children:[]};return e.patch(r,i),e.applyData(r,i)}function XMe(e,r){let a={type:"text",value:r.value.replace(/\r?\n|\r/g," ")};e.patch(r,a);let i={type:"element",tagName:"code",properties:{},children:[a]};return e.patch(r,i),e.applyData(r,i)}function QMe(e,r){let a=String(r.identifier).toUpperCase(),i=e.definitionById.get(a);if(!i)return Y4(e,r);let f={href:ru(i.url||"")};if(i.title!==null&&i.title!==void 0)f.title=i.title;let s={type:"element",tagName:"a",properties:f,children:e.all(r)};return e.patch(r,s),e.applyData(r,s)}function JMe(e,r){let a={href:ru(r.url)};if(r.title!==null&&r.title!==void 0)a.title=r.title;let i={type:"element",tagName:"a",properties:a,children:e.all(r)};return e.patch(r,i),e.applyData(r,i)}function $Me(e,r,a){let i=e.all(r),f=a?Lzt(a):eve(r),s={},l=[];if(typeof r.checked==="boolean"){let M=i[0],x;if(M&&M.type==="element"&&M.tagName==="p")x=M;else x={type:"element",tagName:"p",properties:{},children:[]},i.unshift(x);if(x.children.length>0)x.children.unshift({type:"text",value:" "});x.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:r.checked,disabled:!0},children:[]}),s.className=["task-list-item"]}let c=-1;while(++c<i.length){let M=i[c];if(f||c!==0||M.type!=="element"||M.tagName!=="p")l.push({type:"text",value:`
|
|
205
|
+
`});if(M.type==="element"&&M.tagName==="p"&&!f)l.push(...M.children);else l.push(M)}let m=i[i.length-1];if(m&&(f||m.type!=="element"||m.tagName!=="p"))l.push({type:"text",value:`
|
|
206
|
+
`});let g={type:"element",tagName:"li",properties:s,children:l};return e.patch(r,g),e.applyData(r,g)}function Lzt(e){let r=!1;if(e.type==="list"){r=e.spread||!1;let a=e.children,i=-1;while(!r&&++i<a.length)r=eve(a[i])}return r}function eve(e){let r=e.spread;return r===null||r===void 0?e.children.length>1:r}function tve(e,r){let a={},i=e.all(r),f=-1;if(typeof r.start==="number"&&r.start!==1)a.start=r.start;while(++f<i.length){let l=i[f];if(l.type==="element"&&l.tagName==="li"&&l.properties&&Array.isArray(l.properties.className)&&l.properties.className.includes("task-list-item")){a.className=["contains-task-list"];break}}let s={type:"element",tagName:r.ordered?"ol":"ul",properties:a,children:e.wrap(i,!0)};return e.patch(r,s),e.applyData(r,s)}function rve(e,r){let a={type:"element",tagName:"p",properties:{},children:e.all(r)};return e.patch(r,a),e.applyData(r,a)}function ove(e,r){let a={type:"root",children:e.wrap(e.all(r))};return e.patch(r,a),e.applyData(r,a)}function ave(e,r){let a={type:"element",tagName:"strong",properties:{},children:e.all(r)};return e.patch(r,a),e.applyData(r,a)}function nve(e,r){let a=e.all(r),i=a.shift(),f=[];if(i){let l={type:"element",tagName:"thead",properties:{},children:e.wrap([i],!0)};e.patch(r.children[0],l),f.push(l)}if(a.length>0){let l={type:"element",tagName:"tbody",properties:{},children:e.wrap(a,!0)},c=nR(r.children[1]),m=_4(r.children[r.children.length-1]);if(c&&m)l.position={start:c,end:m};f.push(l)}let s={type:"element",tagName:"table",properties:{},children:e.wrap(f,!0)};return e.patch(r,s),e.applyData(r,s)}function ive(e,r,a){let i=a?a.children:void 0,s=(i?i.indexOf(r):1)===0?"th":"td",l=a&&a.type==="table"?a.align:void 0,c=l?l.length:r.children.length,m=-1,g=[];while(++m<c){let x=r.children[m],b={},y=l?l[m]:void 0;if(y)b.align=y;let _={type:"element",tagName:s,properties:b,children:[]};if(x)_.children=e.all(x),e.patch(x,_),_=e.applyData(x,_);g.push(_)}let M={type:"element",tagName:"tr",properties:{},children:e.wrap(g,!0)};return e.patch(r,M),e.applyData(r,M)}function fve(e,r){let a={type:"element",tagName:"td",properties:{},children:e.all(r)};return e.patch(r,a),e.applyData(r,a)}function lve(e){let r=String(e),a=/\r?\n|\r/g,i=a.exec(r),f=0,s=[];while(i)s.push(sve(r.slice(f,i.index),f>0,!0),i[0]),f=i.index+i[0].length,i=a.exec(r);return s.push(sve(r.slice(f),f>0,!1)),s.join("")}function sve(e,r,a){let i=0,f=e.length;if(r){let s=e.codePointAt(i);while(s===9||s===32)i++,s=e.codePointAt(i)}if(a){let s=e.codePointAt(f-1);while(s===9||s===32)f--,s=e.codePointAt(f-1)}return f>i?e.slice(i,f):""}function cve(e,r){let a={type:"text",value:lve(String(r.value))};return e.patch(r,a),e.applyData(r,a)}function uve(e,r){let a={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(r,a),e.applyData(r,a)}var dve={blockquote:FMe,break:BMe,code:YMe,delete:UMe,emphasis:qMe,footnoteReference:VMe,heading:HMe,html:WMe,imageReference:GMe,image:KMe,inlineCode:XMe,linkReference:QMe,link:JMe,listItem:$Me,list:tve,paragraph:rve,root:ove,strong:ave,table:nve,tableCell:fve,tableRow:ive,text:cve,thematicBreak:uve,toml:U4,yaml:U4,definition:U4,footnoteDefinition:U4};function U4(){return}var tW={}.hasOwnProperty,kzt={};function pve(e,r){let a=r||kzt,i=new Map,f=new Map,s=new Map,l={...dve,...a.handlers},c={all:g,applyData:Czt,definitionById:i,footnoteById:f,footnoteCounts:s,footnoteOrder:[],handlers:l,one:m,options:a,patch:Izt,wrap:Pzt};return oD(e,function(M){if(M.type==="definition"||M.type==="footnoteDefinition"){let x=M.type==="definition"?i:f,b=String(M.identifier).toUpperCase();if(!x.has(b))x.set(b,M)}}),c;function m(M,x){let b=M.type,y=c.handlers[b];if(tW.call(c.handlers,b)&&y)return y(c,M,x);if(c.options.passThrough&&c.options.passThrough.includes(b)){if("children"in M){let{children:k,...F}=M,I=cR(F);return I.children=c.all(M),I}return cR(M)}return(c.options.unknownHandler||Rzt)(c,M,x)}function g(M){let x=[];if("children"in M){let b=M.children,y=-1;while(++y<b.length){let _=c.one(b[y],M);if(_){if(y&&b[y-1].type==="break"){if(!Array.isArray(_)&&_.type==="text")_.value=Zve(_.value);if(!Array.isArray(_)&&_.type==="element"){let k=_.children[0];if(k&&k.type==="text")k.value=Zve(k.value)}}if(Array.isArray(_))x.push(..._);else x.push(_)}}}return x}}function Izt(e,r){if(e.position)r.position=zH(e)}function Czt(e,r){let a=r;if(e&&e.data){let i=e.data.hName,f=e.data.hChildren,s=e.data.hProperties;if(typeof i==="string")if(a.type==="element")a.tagName=i;else{let l="children"in a?a.children:[a];a={type:"element",tagName:i,properties:{},children:l}}if(a.type==="element"&&s)Object.assign(a.properties,cR(s));if("children"in a&&a.children&&f!==null&&f!==void 0)a.children=f}return a}function Rzt(e,r){let a=r.data||{},i="value"in r&&!(tW.call(a,"hProperties")||tW.call(a,"hChildren"))?{type:"text",value:r.value}:{type:"element",tagName:"div",properties:{},children:e.all(r)};return e.patch(r,i),e.applyData(r,i)}function Pzt(e,r){let a=[],i=-1;if(r)a.push({type:"text",value:`
|
|
207
|
+
`});while(++i<e.length){if(i)a.push({type:"text",value:`
|
|
208
|
+
`});a.push(e[i])}if(r&&e.length>0)a.push({type:"text",value:`
|
|
209
|
+
`});return a}function Zve(e){let r=0,a=e.charCodeAt(r);while(a===9||a===32)r++,a=e.charCodeAt(r);return e.slice(r)}function q4(e,r){let a=pve(e,r),i=a.one(e,void 0),f=OMe(a),s=Array.isArray(i)?{type:"root",children:i}:i||{type:"root",children:[]};if(f)As("children"in s),s.children.push({type:"text",value:`
|
|
210
|
+
`},f);return s}function V4(e,r){if(e&&"run"in e)return async function(a,i){let f=q4(a,{file:i,...r});await e.run(f,i)};return function(a,i){return q4(a,{file:i,...e||r})}}function rW(e){if(e)throw e}var G4=z(_ve(),1);function aD(e){if(typeof e!=="object"||e===null)return!1;let r=Object.getPrototypeOf(e);return(r===null||r===Object.prototype||Object.getPrototypeOf(r)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function oW(){let e=[],r={run:a,use:i};return r;function a(...f){let s=-1,l=f.pop();if(typeof l!=="function")throw TypeError("Expected function as last argument, not "+l);c(null,...f);function c(m,...g){let M=e[++s],x=-1;if(m){l(m);return}while(++x<f.length)if(g[x]===null||g[x]===void 0)g[x]=f[x];if(f=g,M)wve(M,c)(...g);else l(null,...g)}}function i(f){if(typeof f!=="function")throw TypeError("Expected `middelware` to be a function, not "+f);return e.push(f),r}}function wve(e,r){let a;return i;function i(...l){let c=e.length>l.length,m;if(c)l.push(f);try{m=e.apply(this,l)}catch(g){let M=g;if(c&&a)throw M;return f(M)}if(!c)if(m&&m.then&&typeof m.then==="function")m.then(s,f);else if(m instanceof Error)f(m);else s(m)}function f(l,...c){if(!a)a=!0,r(l,...c)}function s(l){f(null,l)}}var Ru={basename:Tzt,dirname:Azt,extname:Dzt,join:Ezt,sep:"/"};function Tzt(e,r){if(r!==void 0&&typeof r!=="string")throw TypeError('"ext" argument must be a string');nD(e);let a=0,i=-1,f=e.length,s;if(r===void 0||r.length===0||r.length>e.length){while(f--)if(e.codePointAt(f)===47){if(s){a=f+1;break}}else if(i<0)s=!0,i=f+1;return i<0?"":e.slice(a,i)}if(r===e)return"";let l=-1,c=r.length-1;while(f--)if(e.codePointAt(f)===47){if(s){a=f+1;break}}else{if(l<0)s=!0,l=f+1;if(c>-1)if(e.codePointAt(f)===r.codePointAt(c--)){if(c<0)i=f}else c=-1,i=l}if(a===i)i=l;else if(i<0)i=e.length;return e.slice(a,i)}function Azt(e){if(nD(e),e.length===0)return".";let r=-1,a=e.length,i;while(--a)if(e.codePointAt(a)===47){if(i){r=a;break}}else if(!i)i=!0;return r<0?e.codePointAt(0)===47?"/":".":r===1&&e.codePointAt(0)===47?"//":e.slice(0,r)}function Dzt(e){nD(e);let r=e.length,a=-1,i=0,f=-1,s=0,l;while(r--){let c=e.codePointAt(r);if(c===47){if(l){i=r+1;break}continue}if(a<0)l=!0,a=r+1;if(c===46){if(f<0)f=r;else if(s!==1)s=1}else if(f>-1)s=-1}if(f<0||a<0||s===0||s===1&&f===a-1&&f===i+1)return"";return e.slice(f,a)}function Ezt(...e){let r=-1,a;while(++r<e.length)if(nD(e[r]),e[r])a=a===void 0?e[r]:a+"/"+e[r];return a===void 0?".":Ozt(a)}function Ozt(e){nD(e);let r=e.codePointAt(0)===47,a=jzt(e,!r);if(a.length===0&&!r)a=".";if(a.length>0&&e.codePointAt(e.length-1)===47)a+="/";return r?"/"+a:a}function jzt(e,r){let a="",i=0,f=-1,s=0,l=-1,c,m;while(++l<=e.length){if(l<e.length)c=e.codePointAt(l);else if(c===47)break;else c=47;if(c===47){if(f===l-1||s===1);else if(f!==l-1&&s===2){if(a.length<2||i!==2||a.codePointAt(a.length-1)!==46||a.codePointAt(a.length-2)!==46){if(a.length>2){if(m=a.lastIndexOf("/"),m!==a.length-1){if(m<0)a="",i=0;else a=a.slice(0,m),i=a.length-1-a.lastIndexOf("/");f=l,s=0;continue}}else if(a.length>0){a="",i=0,f=l,s=0;continue}}if(r)a=a.length>0?a+"/..":"..",i=2}else{if(a.length>0)a+="/"+e.slice(f+1,l);else a=e.slice(f+1,l);i=l-f-1}f=l,s=0}else if(c===46&&s>-1)s++;else s=-1}return a}function nD(e){if(typeof e!=="string")throw TypeError("Path must be a string. Received "+JSON.stringify(e))}var zve={cwd:Nzt};function Nzt(){return"/"}function uR(e){return Boolean(e!==null&&typeof e==="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function Sve(e){if(typeof e==="string")e=new URL(e);else if(!uR(e)){let r=TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw r.code="ERR_INVALID_ARG_TYPE",r}if(e.protocol!=="file:"){let r=TypeError("The URL must be of scheme file");throw r.code="ERR_INVALID_URL_SCHEME",r}return Fzt(e)}function Fzt(e){if(e.hostname!==""){let i=TypeError('File URL host must be "localhost" or empty on darwin');throw i.code="ERR_INVALID_FILE_URL_HOST",i}let r=e.pathname,a=-1;while(++a<r.length)if(r.codePointAt(a)===37&&r.codePointAt(a+1)===50){let i=r.codePointAt(a+2);if(i===70||i===102){let f=TypeError("File URL path must not include encoded / characters");throw f.code="ERR_INVALID_FILE_URL_PATH",f}}return decodeURIComponent(r)}var aW=["history","path","basename","stem","extname","dirname"];class dR{constructor(e){let r;if(!e)r={};else if(uR(e))r={path:e};else if(typeof e==="string"||Bzt(e))r={value:e};else r=e;this.cwd="cwd"in r?"":zve.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let a=-1;while(++a<aW.length){let f=aW[a];if(f in r&&r[f]!==void 0&&r[f]!==null)this[f]=f==="history"?[...r[f]]:r[f]}let i;for(i in r)if(!aW.includes(i))this[i]=r[i]}get basename(){return typeof this.path==="string"?Ru.basename(this.path):void 0}set basename(e){iW(e,"basename"),nW(e,"basename"),this.path=Ru.join(this.dirname||"",e)}get dirname(){return typeof this.path==="string"?Ru.dirname(this.path):void 0}set dirname(e){Lve(this.basename,"dirname"),this.path=Ru.join(e||"",this.basename)}get extname(){return typeof this.path==="string"?Ru.extname(this.path):void 0}set extname(e){if(nW(e,"extname"),Lve(this.dirname,"extname"),e){if(e.codePointAt(0)!==46)throw Error("`extname` must start with `.`");if(e.includes(".",1))throw Error("`extname` cannot contain multiple dots")}this.path=Ru.join(this.dirname,this.stem+(e||""))}get path(){return this.history[this.history.length-1]}set path(e){if(uR(e))e=Sve(e);if(iW(e,"path"),this.path!==e)this.history.push(e)}get stem(){return typeof this.path==="string"?Ru.basename(this.path,this.extname):void 0}set stem(e){iW(e,"stem"),nW(e,"stem"),this.path=Ru.join(this.dirname||"",e+(this.extname||""))}fail(e,r,a){let i=this.message(e,r,a);throw i.fatal=!0,i}info(e,r,a){let i=this.message(e,r,a);return i.fatal=void 0,i}message(e,r,a){let i=new di(e,r,a);if(this.path)i.name=this.path+":"+i.name,i.file=this.path;return i.fatal=!1,this.messages.push(i),i}toString(e){if(this.value===void 0)return"";if(typeof this.value==="string")return this.value;return new TextDecoder(e||void 0).decode(this.value)}}function nW(e,r){if(e&&e.includes(Ru.sep))throw Error("`"+r+"` cannot be a path: did not expect `"+Ru.sep+"`")}function iW(e,r){if(!e)throw Error("`"+r+"` cannot be empty")}function Lve(e,r){if(!e)throw Error("Setting `"+r+"` requires `path` to be set too")}function Bzt(e){return Boolean(e&&typeof e==="object"&&"byteLength"in e&&"byteOffset"in e)}var kve=function(e){let i=this.constructor.prototype,f=i[e],s=function(){return f.apply(s,arguments)};return Object.setPrototypeOf(s,i),s};var Yzt={}.hasOwnProperty;class cW extends kve{constructor(){super("copy");this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=oW()}copy(){let e=new cW,r=-1;while(++r<this.attachers.length){let a=this.attachers[r];e.use(...a)}return e.data(G4.default(!0,{},this.namespace)),e}data(e,r){if(typeof e==="string"){if(arguments.length===2)return lW("data",this.frozen),this.namespace[e]=r,this;return Yzt.call(this.namespace,e)&&this.namespace[e]||void 0}if(e)return lW("data",this.frozen),this.namespace=e,this;return this.namespace}freeze(){if(this.frozen)return this;let e=this;while(++this.freezeIndex<this.attachers.length){let[r,...a]=this.attachers[this.freezeIndex];if(a[0]===!1)continue;if(a[0]===!0)a[0]=void 0;let i=r.call(e,...a);if(typeof i==="function")this.transformers.use(i)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(e){this.freeze();let r=W4(e),a=this.parser||this.Parser;return fW("parse",a),a(String(r),r)}process(e,r){let a=this;return this.freeze(),fW("process",this.parser||this.Parser),sW("process",this.compiler||this.Compiler),r?i(void 0,r):new Promise(i);function i(f,s){let l=W4(e),c=a.parse(l);a.run(c,l,function(g,M,x){if(g||!M||!x)return m(g);let b=M,y=a.stringify(b,x);if(qzt(y))x.value=y;else x.result=y;m(g,x)});function m(g,M){if(g||!M)s(g);else if(f)f(M);else As(r,"`done` is defined if `resolve` is not"),r(void 0,M)}}}processSync(e){let r=!1,a;return this.freeze(),fW("processSync",this.parser||this.Parser),sW("processSync",this.compiler||this.Compiler),this.process(e,i),Cve("processSync","process",r),As(a,"we either bailed on an error or have a tree"),a;function i(f,s){r=!0,rW(f),a=s}}run(e,r,a){Ive(e),this.freeze();let i=this.transformers;if(!a&&typeof r==="function")a=r,r=void 0;return a?f(void 0,a):new Promise(f);function f(s,l){As(typeof r!=="function","`file` can’t be a `done` anymore, we checked");let c=W4(r);i.run(e,c,m);function m(g,M,x){let b=M||e;if(g)l(g);else if(s)s(b);else As(a,"`done` is defined if `resolve` is not"),a(void 0,b,x)}}}runSync(e,r){let a=!1,i;return this.run(e,r,f),Cve("runSync","run",a),As(i,"we either bailed on an error or have a tree"),i;function f(s,l){rW(s),i=l,a=!0}}stringify(e,r){this.freeze();let a=W4(r),i=this.compiler||this.Compiler;return sW("stringify",i),Ive(e),i(e,a)}use(e,...r){let a=this.attachers,i=this.namespace;if(lW("use",this.frozen),e===null||e===void 0);else if(typeof e==="function")c(e,r);else if(typeof e==="object")if(Array.isArray(e))l(e);else s(e);else throw TypeError("Expected usable value, not `"+e+"`");return this;function f(m){if(typeof m==="function")c(m,[]);else if(typeof m==="object")if(Array.isArray(m)){let[g,...M]=m;c(g,M)}else s(m);else throw TypeError("Expected usable value, not `"+m+"`")}function s(m){if(!("plugins"in m)&&!("settings"in m))throw Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");if(l(m.plugins),m.settings)i.settings=G4.default(!0,i.settings,m.settings)}function l(m){let g=-1;if(m===null||m===void 0);else if(Array.isArray(m))while(++g<m.length){let M=m[g];f(M)}else throw TypeError("Expected a list of plugins, not `"+m+"`")}function c(m,g){let M=-1,x=-1;while(++M<a.length)if(a[M][0]===m){x=M;break}if(x===-1)a.push([m,...g]);else if(g.length>0){let[b,...y]=g,_=a[x][1];if(aD(_)&&aD(b))b=G4.default(!0,_,b);a[x]=[m,b,...y]}}}}var uW=new cW().freeze();function fW(e,r){if(typeof r!=="function")throw TypeError("Cannot `"+e+"` without `parser`")}function sW(e,r){if(typeof r!=="function")throw TypeError("Cannot `"+e+"` without `compiler`")}function lW(e,r){if(r)throw Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function Ive(e){if(!aD(e)||typeof e.type!=="string")throw TypeError("Expected node, got `"+e+"`")}function Cve(e,r,a){if(!a)throw Error("`"+e+"` finished async. Use `"+r+"` instead")}function W4(e){return Uzt(e)?e:new dR(e)}function Uzt(e){return Boolean(e&&typeof e==="object"&&"message"in e&&"messages"in e)}function qzt(e){return typeof e==="string"||Vzt(e)}function Vzt(e){return Boolean(e&&typeof e==="object"&&"byteLength"in e&&"byteOffset"in e)}var Hzt="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",Rve=[],Pve={allowDangerousHtml:!0},Wzt=/^(https?|ircs?|mailto|xmpp)$/i,Gzt=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"className",id:"remove-classname"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function xo(e){let r=Kzt(e),a=Xzt(e);return Qzt(r.runSync(r.parse(a),a),e)}function Kzt(e){let r=e.rehypePlugins||Rve,a=e.remarkPlugins||Rve,i=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...Pve}:Pve;return uW().use(A4).use(a).use(V4,i).use(r)}function Xzt(e){let r=e.children||"",a=new dR;if(typeof r==="string")a.value=r;else g4("Unexpected value `"+r+"` for `children` prop, expected `string`");return a}function Qzt(e,r){let{allowedElements:a,allowElement:i,components:f,disallowedElements:s,skipHtml:l,unwrapDisallowed:c}=r,m=r.urlTransform||Tve;for(let M of Gzt)if(Object.hasOwn(r,M.from))g4("Unexpected `"+M.from+"` prop, "+(M.to?"use `"+M.to+"` instead":"remove it")+" (see <"+Hzt+"#"+M.id+"> for more info)");if(a&&s)g4("Unexpected combined `allowedElements` and `disallowedElements`, expected one or the other");return oD(e,g),kH(e,{Fragment:B,components:f,ignoreInvalidStyle:!0,jsx:t,jsxs:o,passKeys:!0,passNode:!0});function g(M,x,b){if(M.type==="raw"&&b&&typeof x==="number"){if(l)b.children.splice(x,1);else b.children[x]={type:"text",value:M.value};return x}if(M.type==="element"){let y;for(y in V2)if(Object.hasOwn(V2,y)&&Object.hasOwn(M.properties,y)){let _=M.properties[y],k=V2[y];if(k===null||k.includes(M.tagName))M.properties[y]=m(String(_||""),y,M)}}if(M.type==="element"){let y=a?!a.includes(M.tagName):s?s.includes(M.tagName):!1;if(!y&&i&&typeof x==="number")y=!i(M,x,b);if(y&&b&&typeof x==="number"){if(c&&M.children)b.children.splice(x,1,...M.children);else b.children.splice(x,1);return x}}}}function Tve(e){let r=e.indexOf(":"),a=e.indexOf("?"),i=e.indexOf("#"),f=e.indexOf("/");if(r===-1||f!==-1&&r>f||a!==-1&&r>a||i!==-1&&r>i||Wzt.test(e.slice(0,r)))return e;return""}var Jzt=/\.(png|jpe?g|webp|gif|svg|avif|bmp|ico)$/i;function Ls(e){if(!e)return!1;return Jzt.test(e)}function jd(e,r){if(!e||e.length===0)return null;let a=[...e].sort((f,s)=>{let l=f.width??0;return(s.width??0)-l}),i=a.filter((f)=>(f.width??0)>=r);if(i.length>0)return i.sort((f,s)=>{let l=f.width??0,c=s.width??0;return l-c}),i[0];return a[0]}function Ave({teamId:e,taskId:r,comment:a,currentUserId:i,isOwnerOrAdmin:f}){let s=K(),[l,c]=u(!1),[m,g]=u(null),M=f||a.author.id===i,{mutate:x,isPending:b}=U({mutationFn:async()=>{let _=await A.api.teams[":teamId"].kanban.tasks[":taskId"].comments[":commentId"].$delete({param:{teamId:e,taskId:r,commentId:a.id}});if(!_.ok){let k=await _.json().catch(()=>({message:Sn()}));throw Error(k.message||Sn())}return await _.json()},onSuccess:()=>{s.invalidateQueries({queryKey:["teams",e,"kanban","tasks",r,"comments"]}),s.invalidateQueries({queryKey:["teams",e,"kanban","task",r]}),s.invalidateQueries({queryKey:["teams",e,"kanban","tasks"]}),R.success("Comment deleted"),c(!1)},onError:(_)=>{R.error(_.message)}}),y=(a.author.name||"U").split(" ").map((_)=>_[0]).slice(0,2).join("").toUpperCase();return o("div",{className:"relative flex gap-3 p-3 rounded-xl border border-transparent bg-foreground/[0.03] dark:bg-foreground/[0.08] hover:bg-foreground/[0.06] dark:hover:bg-foreground/[0.12] transition-colors group w-full max-w-full overflow-hidden",children:[o(Ee,{className:"w-7 h-7 shrink-0 mt-0.5 border border-border",children:[a.author.image&&t(Ie,{src:a.author.image,alt:a.author.name}),t(Te,{className:"text-[10px] font-medium bg-muted text-muted-foreground",children:y})]}),o("div",{className:"flex-1 min-w-0 space-y-1.5 overflow-hidden",children:[o("div",{className:"flex items-center justify-between gap-2",children:[o("div",{className:"flex items-center gap-2 min-w-0",children:[t("span",{className:"font-semibold text-xs text-foreground truncate",children:a.author.name}),t("span",{className:"text-[10px] text-muted-foreground shrink-0 font-mono",children:fr(new Date(a.createdAt),"MMM d, h:mm a")})]}),M&&t("div",{className:"opacity-0 group-hover:opacity-100 transition-opacity",children:o(ge,{modal:!1,children:[t(Ae,{asChild:!0,children:t(S,{size:"icon-xs",variant:"ghost",className:"h-5 w-5 text-muted-foreground",children:t(cr,{className:"h-3.5 w-3.5"})})}),t(ye,{align:"end",children:o(W,{className:"text-destructive focus:text-destructive cursor-pointer text-xs",onClick:()=>c(!0),children:[t(ve,{className:"mr-1.5 h-3.5 w-3.5"}),t("span",{children:at()})]})})]})})]}),a.body&&t("div",{className:"text-xs leading-relaxed prose prose-xs dark:prose-invert max-w-none break-words text-foreground/90 font-sans",children:t(xo,{children:a.body})}),a.attachments&&a.attachments.length>0&&t("div",{className:"flex flex-col gap-1.5 pt-1.5 w-full max-w-full overflow-hidden",children:a.attachments.map((_)=>{let k=Ls(_.name||_.url);return o("div",{className:`group/att relative flex items-center w-full max-w-full rounded-lg border border-border bg-card hover:bg-muted/40 transition-colors overflow-hidden ${k?"h-18 p-1.5 gap-2.5 cursor-pointer":"h-9 px-2.5 gap-2.5"}`,onClick:()=>{if(k)g({url:_.url,name:_.name});else window.open(_.url,"_blank","noreferrer")},children:[k?t("div",{className:"h-full aspect-square rounded-md overflow-hidden bg-muted/40 shrink-0",children:t("img",{src:_.url,alt:_.name,className:"w-full h-full object-cover group-hover/att:scale-105 transition-transform duration-200"})}):t(Fn,{className:"w-4 h-4 text-muted-foreground shrink-0"}),o("div",{className:"min-w-0 flex-1 overflow-hidden",children:[t("p",{className:"text-xs font-medium text-foreground truncate block w-full",title:_.name,children:_.name}),_.sizeByte!==void 0&&_.sizeByte>0&&t("p",{className:"text-[10px] text-muted-foreground font-mono truncate",children:Kr(_.sizeByte)})]}),t("a",{href:_.url,download:_.name,target:"_blank",rel:"noreferrer",className:"p-1 text-muted-foreground hover:text-foreground shrink-0 rounded-md hover:bg-muted transition-colors opacity-0 group-hover/att:opacity-100",onClick:(F)=>F.stopPropagation(),title:gr(),children:t(vt,{className:"w-3.5 h-3.5"})})]},_.id)})})]}),t(Je,{open:l,onOpenChange:c,children:o(Xe,{children:[o(et,{children:[t(rt,{children:Wm()}),t(nt,{children:Ym()})]}),o(tt,{children:[t(st,{disabled:b,children:ke()}),t(ot,{className:"bg-destructive hover:bg-destructive/90 text-white",disabled:b,onClick:()=>x(),children:at()})]})]})}),t(pe,{open:!!m,onOpenChange:(_)=>!_&&g(null),children:o(ue,{className:"w-auto max-w-[80vw] sm:max-w-[80vw] max-h-[80vh] p-2 sm:p-3 bg-background/95 backdrop-blur-sm border-border flex flex-col items-center justify-center overflow-hidden",onClick:(_)=>_.stopPropagation(),children:[t(me,{className:"sr-only",children:t(de,{children:m?.name||"Image Preview"})}),m&&o("div",{className:"flex flex-col items-center justify-center max-w-[80vw] max-h-[80vh] overflow-hidden",children:[t("img",{src:m.url,alt:m.name,className:"max-w-[80vw] max-h-[calc(80vh-2.5rem)] w-auto h-auto object-contain rounded-md"}),t("p",{className:"text-xs text-muted-foreground truncate max-w-full px-2 pt-1.5 text-center",children:m.name})]})]})})]})}C();var Uve=Symbol.for("immer-nothing"),Dve=Symbol.for("immer-draftable"),os=Symbol.for("immer-state");function Pu(e,...r){throw Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var ec=Object,pR=ec.getPrototypeOf,J4="constructor",aF="prototype",mW="configurable",$4="enumerable",X4="writable",iD="value",K8=(e)=>!!e&&!!e[os];function SZ(e){if(!e)return!1;return qve(e)||iF(e)||!!e[Dve]||!!e[J4]?.[Dve]||fF(e)||sF(e)}var $zt=ec[aF][J4].toString(),Eve=new WeakMap;function qve(e){if(!e||!_W(e))return!1;let r=pR(e);if(r===null||r===ec[aF])return!0;let a=ec.hasOwnProperty.call(r,J4)&&r[J4];if(a===Object)return!0;if(!ZR(a))return!1;let i=Eve.get(a);if(i===void 0)i=Function.toString.call(a),Eve.set(a,i);return i===$zt}function nF(e,r,a=!0){if(lD(e)===0)(a?Reflect.ownKeys(e):ec.keys(e)).forEach((f)=>{r(f,e[f],e)});else e.forEach((i,f)=>r(f,i,e))}function lD(e){let r=e[os];return r?r.type_:iF(e)?1:fF(e)?2:sF(e)?3:0}var dW=(e,r,a=lD(e))=>a===2?e.has(r):ec[aF].hasOwnProperty.call(e,r),hW=(e,r,a=lD(e))=>a===2?e.get(r):e[r],eF=(e,r,a,i=lD(e))=>{if(i===2)e.set(r,a);else if(i===3)e.add(a);else e[r]=a};function eSt(e,r){if(e===r)return e!==0||1/e===1/r;else return e!==e&&r!==r}var iF=Array.isArray,fF=(e)=>e instanceof Map,sF=(e)=>e instanceof Set,_W=(e)=>typeof e==="object",ZR=(e)=>typeof e==="function",ZW=(e)=>typeof e==="boolean";function tSt(e){let r=+e;return Number.isInteger(r)&&String(r)===e}var hM=(e)=>e.copy_||e.base_;var wW=(e)=>e.modified_?e.copy_:e.base_;function gW(e,r){if(fF(e))return new Map(e);if(sF(e))return new Set(e);if(iF(e))return Array[aF].slice.call(e);let a=qve(e);if(r===!0||r==="class_only"&&!a){let i=ec.getOwnPropertyDescriptors(e);delete i[os];let f=Reflect.ownKeys(i);for(let s=0;s<f.length;s++){let l=f[s],c=i[l];if(c[X4]===!1)c[X4]=!0,c[mW]=!0;if(c.get||c.set)i[l]={[mW]:!0,[X4]:!0,[$4]:c[$4],[iD]:e[l]}}return ec.create(pR(e),i)}else{let i=pR(e);if(i!==null&&a)return{...e};let f=ec.create(i);return ec.assign(f,e)}}function zW(e,r=!1){if(lF(e)||K8(e)||!SZ(e))return e;if(lD(e)>1)ec.defineProperties(e,{set:K4,add:K4,clear:K4,delete:K4});if(ec.freeze(e),r)nF(e,(a,i)=>{zW(i,!0)},!1);return e}function rSt(){Pu(2)}var K4={[iD]:rSt};function lF(e){if(e===null||!_W(e))return!0;return ec.isFrozen(e)}var tF="MapSet",MW="Patches",Ove="ArrayMethods",Vve={};function OL(e){let r=Vve[e];if(!r)Pu(0,e);return r}var jve=(e)=>!!Vve[e];var fD,Hve=()=>fD,oSt=(e,r)=>({drafts_:[],parent_:e,immer_:r,canAutoFreeze_:!0,unfinalizedDrafts_:0,handledSet_:new Set,processedForPatches_:new Set,mapSetPlugin_:jve(tF)?OL(tF):void 0,arrayMethodsPlugin_:jve(Ove)?OL(Ove):void 0});function Nve(e,r){if(r)e.patchPlugin_=OL(MW),e.patches_=[],e.inversePatches_=[],e.patchListener_=r}function vW(e){xW(e),e.drafts_.forEach(aSt),e.drafts_=null}function xW(e){if(e===fD)fD=e.parent_}var Fve=(e)=>fD=oSt(fD,e);function aSt(e){let r=e[os];if(r.type_===0||r.type_===1)r.revoke_();else r.revoked_=!0}function Bve(e,r){r.unfinalizedDrafts_=r.drafts_.length;let a=r.drafts_[0];if(e!==void 0&&e!==a){if(a[os].modified_)vW(r),Pu(4);if(SZ(e))e=Yve(r,e);let{patchPlugin_:f}=r;if(f)f.generateReplacementPatches_(a[os].base_,e,r)}else e=Yve(r,a);if(nSt(r,e,!0),vW(r),r.patches_)r.patchListener_(r.patches_,r.inversePatches_);return e!==Uve?e:void 0}function Yve(e,r){if(lF(r))return r;let a=r[os];if(!a)return rF(r,e.handledSet_,e);if(!cF(a,e))return r;if(!a.modified_)return a.base_;if(!a.finalized_){let{callbacks_:i}=a;if(i)while(i.length>0)i.pop()(e);Kve(a,e)}return a.copy_}function nSt(e,r,a=!1){if(!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_)zW(r,a)}function Wve(e){e.finalized_=!0,e.scope_.unfinalizedDrafts_--}var cF=(e,r)=>e.scope_===r,iSt=[];function Gve(e,r,a,i){let f=hM(e),s=e.type_;if(i!==void 0){if(hW(f,i,s)===r){eF(f,i,a,s);return}}if(!e.draftLocations_){let c=e.draftLocations_=new Map;nF(f,(m,g)=>{if(K8(g)){let M=c.get(g)||[];M.push(m),c.set(g,M)}})}let l=e.draftLocations_.get(r)??iSt;for(let c of l)eF(f,c,a,s)}function fSt(e,r,a){e.callbacks_.push(function(f){let s=r;if(!s||!cF(s,f))return;f.mapSetPlugin_?.fixSetContents(s);let l=wW(s);Gve(e,s.draft_??s,l,a),Kve(s,f)})}function Kve(e,r){if(e.modified_&&!e.finalized_&&(e.type_===3||e.type_===1&&e.allIndicesReassigned_||(e.assigned_?.size??0)>0)){let{patchPlugin_:i}=r;if(i){let f=i.getPath(e);if(f)i.generatePatches_(e,f,r)}Wve(e)}}function sSt(e,r,a){let{scope_:i}=e;if(K8(a)){let f=a[os];if(cF(f,i))f.callbacks_.push(function(){Q4(e);let l=wW(f);Gve(e,a,l,r)})}else if(SZ(a))e.callbacks_.push(function(){let s=hM(e);if(e.type_===3){if(s.has(a))rF(a,i.handledSet_,i)}else if(hW(s,r,e.type_)===a){if(i.drafts_.length>1&&(e.assigned_.get(r)??!1)===!0&&e.copy_)rF(hW(e.copy_,r,e.type_),i.handledSet_,i)}})}function rF(e,r,a){if(!a.immer_.autoFreeze_&&a.unfinalizedDrafts_<1)return e;if(K8(e)||r.has(e)||!SZ(e)||lF(e))return e;return r.add(e),nF(e,(i,f)=>{if(K8(f)){let s=f[os];if(cF(s,a)){let l=wW(s);eF(e,i,l,e.type_),Wve(s)}}else if(SZ(f))rF(f,r,a)}),e}function lSt(e,r){let a=iF(e),i={type_:a?1:0,scope_:r?r.scope_:Hve(),modified_:!1,finalized_:!1,assigned_:void 0,parent_:r,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1,callbacks_:void 0},f=i,s=oF;if(a)f=[i],s=sD;let{revoke:l,proxy:c}=Proxy.revocable(f,s);return i.draft_=c,i.revoke_=l,[c,i]}var oF={get(e,r){if(r===os)return e;let a=e.scope_.arrayMethodsPlugin_,i=e.type_===1&&typeof r==="string";if(i){if(a?.isArrayOperationMethod(r))return a.createMethodInterceptor(e,r)}let f=hM(e);if(!dW(f,r,e.type_))return uSt(e,f,r);let s=f[r];if(e.finalized_||!SZ(s))return s;if(i&&e.operationMethod&&a?.isMutatingArrayMethod(e.operationMethod)&&tSt(r))return s;if(s===pW(e.base_,r)||cSt(e,r,s)){Q4(e);let l=e.type_===1?+r:r,c=bW(e.scope_,s,e,l);return e.copy_[l]=c}return s},has(e,r){return r in hM(e)},ownKeys(e){return Reflect.ownKeys(hM(e))},set(e,r,a){let i=Xve(hM(e),r);if(i?.set)return i.set.call(e.draft_,a),!0;if(!e.modified_){let f=pW(hM(e),r),s=f?.[os];if(s&&s.base_===a)return e.copy_[r]=a,e.assigned_.set(r,!1),!0;if(eSt(a,f)&&(a!==void 0||dW(e.base_,r,e.type_)))return!0;Q4(e),yW(e)}if(e.copy_[r]===a&&(a!==void 0||dW(e.copy_,r,e.type_))||Number.isNaN(a)&&Number.isNaN(e.copy_[r]))return!0;return e.copy_[r]=a,e.assigned_.set(r,!0),sSt(e,r,a),!0},deleteProperty(e,r){if(Q4(e),pW(e.base_,r)!==void 0||r in e.base_)e.assigned_.set(r,!1),yW(e);else e.assigned_.delete(r);if(e.copy_)delete e.copy_[r];return!0},getOwnPropertyDescriptor(e,r){let a=hM(e),i=Reflect.getOwnPropertyDescriptor(a,r);if(!i)return i;return{[X4]:!0,[mW]:e.type_!==1||r!=="length",[$4]:i[$4],[iD]:a[r]}},defineProperty(){Pu(11)},getPrototypeOf(e){return pR(e.base_)},setPrototypeOf(){Pu(12)}},sD={};for(let e in oF){let r=oF[e];sD[e]=function(){let a=arguments;return a[0]=a[0][0],r.apply(this,a)}}sD.deleteProperty=function(e,r){return sD.set.call(this,e,r,void 0)};sD.set=function(e,r,a){return oF.set.call(this,e[0],r,a,e[0])};function pW(e,r){let a=e[os];return(a?hM(a):e)[r]}function cSt(e,r,a){if(e.type_!==1||!e.allIndicesReassigned_||e.assigned_?.get(r)||!SZ(a)||a[os])return!1;return e.baseRefs_.has(a)}function uSt(e,r,a){let i=Xve(r,a);return i?iD in i?i[iD]:i.get?.call(e.draft_):void 0}function Xve(e,r){if(!(r in e))return;let a=pR(e);while(a){let i=Object.getOwnPropertyDescriptor(a,r);if(i)return i;a=pR(a)}return}function yW(e){if(!e.modified_){if(e.modified_=!0,e.parent_)yW(e.parent_)}}function Q4(e){if(!e.copy_)e.assigned_=new Map,e.copy_=gW(e.base_,e.scope_.immer_.useStrictShallowCopy_)}var dSt=class{constructor(e){if(this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.useStrictIteration_=!1,this.produce=(r,a,i)=>{if(ZR(r)&&!ZR(a)){let s=a;a=r;let l=this;return function(m=s,...g){return l.produce(m,(M)=>a.call(this,M,...g))}}if(!ZR(a))Pu(6);if(i!==void 0&&!ZR(i))Pu(7);let f;if(SZ(r)){let s=Fve(this),l=bW(s,r,void 0),c=!0;try{f=a(l),c=!1}finally{if(c)vW(s);else xW(s)}return Nve(s,i),Bve(f,s)}else if(!r||!_W(r)){if(f=a(r),f===void 0)f=r;if(f===Uve)f=void 0;if(this.autoFreeze_)zW(f,!0);if(i){let s=[],l=[];OL(MW).generateReplacementPatches_(r,f,{patches_:s,inversePatches_:l}),i(s,l)}return f}else Pu(1,r)},this.produceWithPatches=(r,a)=>{if(ZR(r))return(l,...c)=>this.produceWithPatches(l,(m)=>r(m,...c));let i,f;return[this.produce(r,a,(l,c)=>{i=l,f=c}),i,f]},ZW(e?.autoFreeze))this.setAutoFreeze(e.autoFreeze);if(ZW(e?.useStrictShallowCopy))this.setUseStrictShallowCopy(e.useStrictShallowCopy);if(ZW(e?.useStrictIteration))this.setUseStrictIteration(e.useStrictIteration)}createDraft(e){if(!SZ(e))Pu(8);if(K8(e))e=ZSt(e);let r=Fve(this),a=bW(r,e,void 0);return a[os].isManual_=!0,xW(r),a}finishDraft(e,r){let a=e&&e[os];if(!a||!a.isManual_)Pu(9);let{scope_:i}=a;return Nve(i,r),Bve(void 0,i)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}setUseStrictIteration(e){this.useStrictIteration_=e}shouldUseStrictIteration(){return this.useStrictIteration_}applyPatches(e,r){let a;for(a=r.length-1;a>=0;a--){let f=r[a];if(f.path.length===0&&f.op==="replace"){e=f.value;break}}if(a>-1)r=r.slice(a+1);let i=OL(MW).applyPatches_;if(K8(e))return i(e,r);return this.produce(e,(f)=>i(f,r))}};function bW(e,r,a,i){let[f,s]=fF(r)?OL(tF).proxyMap_(r,a):sF(r)?OL(tF).proxySet_(r,a):lSt(r,a);if((a?.scope_??Hve()).drafts_.push(f),s.callbacks_=a?.callbacks_??[],s.key_=i,a&&i!==void 0)fSt(a,s,i);else s.callbacks_.push(function(m){m.mapSetPlugin_?.fixSetContents(s);let{patchPlugin_:g}=m;if(s.modified_&&g)g.generatePatches_(s,[],m)});return f}function ZSt(e){if(!K8(e))Pu(10,e);return Qve(e)}function Qve(e){if(!SZ(e)||lF(e))return e;let r=e[os],a,i=!0;if(r){if(!r.modified_)return r.base_;r.finalized_=!0,a=gW(e,r.scope_.immer_.useStrictShallowCopy_),i=r.scope_.immer_.shouldUseStrictIteration()}else a=gW(e,!0);if(nF(a,(f,s)=>{eF(a,f,Qve(s))},i),r)r.finalized_=!1;return a}var pSt=globalThis.Iterator,JDn=typeof pSt?.from==="function";var mSt=new dSt,Jve=mSt.produce;var hSt=(e)=>(r,a,i)=>(i.setState=(f,s,...l)=>{let c=typeof f==="function"?Jve(f):f;return r(c,s,...l)},e(i.setState,a,i)),$ve=hSt;var Ur=Tr()(Cee($ve((e,r)=>({members:[],loading:!1,fetchMembers:async(a,i,f)=>{if(!f&&r().loadedTeamId===a&&r().loadedWithAgents===i)return;e({loading:!0});try{let s=await A.api.teams[":teamId"].members.$get({param:{teamId:a},query:{includeAgents:i?"true":"false"}});if(!s.ok)throw Error("failed to fetch members");let l=await s.json();e({members:l||[],loadedTeamId:a,loadedProjectId:void 0,loadedWithAgents:i,loading:!1})}catch{e({loading:!1})}},fetchProjectMembers:async(a,i,f)=>{if(!f&&r().loadedProjectId===a&&r().loadedWithAgents===i)return;e({loading:!0});try{let s=await A.api.projects[":projectId"].members.$get({param:{projectId:a},query:{includeAgents:i?"true":"false"}});if(!s.ok)throw Error("failed to fetch project members");let l=await s.json();e({members:l||[],loadedProjectId:a,loadedTeamId:void 0,loadedWithAgents:i,loading:!1})}catch{e({loading:!1})}}}))));function e8e({teamId:e,onSendMessage:r,isSubmitting:a}){let[i,f]=u(""),[s,l]=u([]),[c,m]=u(!1),[g,M]=u(""),[x,b]=u(0),y=w(null),_=w(null),k=w(null),{members:F,fetchMembers:I}=Ur();h(()=>{if(e)I(e,!0,!0)},[e,I]);let{mutateAsync:j}=U({mutationFn:async(ze)=>{let Ye=await A.api.teams[":teamId"].kanban.attachments.$post({param:{teamId:e},json:ze});if(!Ye.ok)throw Error("Failed to get attachment upload url");return await Ye.json()}}),G=(ze)=>{let Ye=ze.target.value;if(f(Ye),y.current)y.current.style.height="auto",y.current.style.height=`${Math.min(y.current.scrollHeight,160)}px`;let ft=ze.target.selectionStart||0,Ke=Ye.slice(0,ft),Zt=Ke.lastIndexOf("@");if(Zt!==-1){let Et=Zt===0,Yt=Ke[Zt-1];if(Et||/\s/.test(Yt)){let mt=Ke.slice(Zt+1);if(!/\s/.test(mt)){M(mt),m(!0);return}}}m(!1)},X=F.filter((ze)=>ze.name?.toLowerCase().includes(g.toLowerCase()));h(()=>{b(0)},[g,c]);let J=(ze)=>{if(!y.current)return;let Ye=y.current.selectionStart||0,ft=i.slice(0,Ye),Ke=i.slice(Ye),Zt=ft.lastIndexOf("@");if(Zt!==-1){let Et=`${i.slice(0,Zt)}@${ze.name} ${Ke}`;f(Et),m(!1),setTimeout(()=>{if(y.current){y.current.focus();let Yt=Zt+ze.name.length+2;y.current.setSelectionRange(Yt,Yt)}},0)}},ee=async(ze)=>{let Ye=Array.from(ze.target.files||[]);if(Ye.length===0)return;let ft=Ye.map((Ke)=>({id:`${Date.now()}-${Ke.name}-${Math.random()}`,file:Ke,isUploading:!0}));l((Ke)=>[...Ke,...ft]);for(let Ke of ft)try{let Zt=await j({fileName:Ke.file.name,size:Ke.file.size,contentType:Ke.file.type||"application/octet-stream"});if(!(await fetch(Zt.uploadUrl,{method:"PUT",body:Ke.file,headers:{"Content-Type":Ke.file.type||"application/octet-stream"}})).ok)throw Error("Failed to upload file to storage");l((Yt)=>Yt.map((ce)=>ce.id===Ke.id?{...ce,isUploading:!1,payload:{id:Zt.id,name:Zt.name,key:Zt.key,sizeByte:Zt.sizeByte,contentType:Zt.contentType,proxyType:Zt.proxyType}}:ce))}catch(Zt){let Et=Zt instanceof Error?Zt.message:"Upload failed";R.error(`${Ke.file.name}: ${Et}`),l((Yt)=>Yt.map((ce)=>ce.id===Ke.id?{...ce,isUploading:!1,error:Et}:ce))}if(_.current)_.current.value=""},te=(ze)=>{l((Ye)=>Ye.filter((ft)=>ft.id!==ze))},oe=s.some((ze)=>ze.isUploading),ae=s.map((ze)=>ze.payload).filter((ze)=>!!ze),_e=(i.trim().length>0||ae.length>0)&&!oe,Ve=async()=>{if(!_e||a)return;try{if(await r(i.trim(),ae.length>0?ae:void 0),f(""),l([]),y.current)y.current.style.height="auto"}catch{}},Ne=(ze)=>{if(c&&X.length>0){if(ze.key==="ArrowDown"){ze.preventDefault(),b((Ye)=>(Ye+1)%X.length);return}if(ze.key==="ArrowUp"){ze.preventDefault(),b((Ye)=>(Ye-1+X.length)%X.length);return}if(ze.key==="Enter"||ze.key==="Tab"){ze.preventDefault();let Ye=X[x];if(Ye)J(Ye);return}if(ze.key==="Escape"){m(!1);return}}if(ze.key==="Enter"&&(ze.metaKey||ze.ctrlKey))ze.preventDefault(),Ve()};return o("div",{className:"relative flex flex-col w-full border border-border focus-within:border-foreground/40 bg-card rounded-2xl p-2.5 shadow-2xs transition-all",children:[c&&X.length>0&&t("div",{ref:k,className:"absolute bottom-full left-0 mb-2 w-64 max-h-48 overflow-y-auto rounded-xl border border-border bg-popover p-1 shadow-lg z-50",children:X.map((ze,Ye)=>o("button",{type:"button",onClick:()=>J(ze),className:`w-full flex items-center gap-2 px-2.5 py-1.5 rounded-lg text-xs transition-colors text-left ${Ye===x?"bg-primary text-primary-foreground font-medium":"hover:bg-muted text-foreground"}`,children:[o(Ee,{className:"w-5 h-5",children:[ze.image&&t(Ie,{src:ze.image}),t(Te,{className:"text-[9px]",children:ze.name?.slice(0,2).toUpperCase()})]}),t("span",{className:"truncate",children:ze.name})]},ze.id))}),s.length>0&&t("div",{className:"flex flex-wrap gap-1.5 pb-2 mb-1.5 border-b border-border/50",children:s.map((ze)=>{let Ye=ze.file.type.startsWith("image/");return o("div",{className:"flex items-center gap-1.5 pl-2 pr-1.5 py-1 rounded-lg bg-muted/60 border border-border text-xs max-w-[200px]",children:[ze.isUploading?t(L,{className:"w-3.5 h-3.5 animate-spin text-primary shrink-0"}):Ye?t(Yn,{className:"w-3.5 h-3.5 text-primary shrink-0"}):t(Fn,{className:"w-3.5 h-3.5 text-muted-foreground shrink-0"}),o("div",{className:"min-w-0 flex-1 truncate",children:[t("span",{className:"truncate block font-medium text-[11px]",children:ze.file.name}),t("span",{className:"text-[9px] text-muted-foreground font-mono",children:Kr(ze.file.size)})]}),t("button",{type:"button",onClick:()=>te(ze.id),className:"p-0.5 rounded-md text-muted-foreground hover:text-foreground hover:bg-muted shrink-0",children:t(De,{className:"w-3 h-3"})})]},ze.id)})}),t("textarea",{ref:y,value:i,onChange:G,onKeyDown:Ne,placeholder:sNe(),rows:1,className:"w-full min-h-[44px] max-h-[160px] bg-transparent border-0 focus:outline-hidden focus-visible:ring-0 resize-none text-xs text-foreground placeholder:text-muted-foreground/70 p-1 font-sans leading-relaxed"}),o("div",{className:"flex items-center justify-between pt-1 mt-1 border-t border-border/40",children:[o("div",{className:"flex items-center gap-1",children:[t("input",{ref:_,type:"file",multiple:!0,className:"hidden",onChange:ee}),t(S,{type:"button",variant:"ghost",size:"icon-xs",onClick:()=>_.current?.click(),className:"h-7 w-7 rounded-lg text-muted-foreground hover:text-foreground hover:bg-muted",title:"Attach files",disabled:a,children:t(Si,{className:"w-3.5 h-3.5"})}),t("span",{className:"text-[10px] text-muted-foreground/60 hidden sm:inline pl-1",children:"Cmd+Enter to send"})]}),t(S,{type:"button",size:"icon-xs",onClick:Ve,disabled:!_e||a,className:"h-7 w-7 rounded-full shadow-xs bg-primary text-primary-foreground hover:bg-primary/90 disabled:opacity-40 transition-all shrink-0",title:"Send comment",children:a||oe?t(L,{className:"w-3.5 h-3.5 animate-spin"}):t(Ha,{className:"w-3.5 h-3.5 stroke-[2.5]"})})]})]})}function t8e({teamId:e,taskId:r,initialComments:a}){let i=K(),{data:f}=Z({queryKey:["teams",e,"me"],queryFn:async()=>{let b=await A.api.teams[":teamId"].me.$get({param:{teamId:e}});if(!b.ok)throw Error("Failed to fetch me");return await b.json()},enabled:!!e}),s=f?.role?.toLowerCase()==="owner"||f?.role?.toLowerCase()==="editor",{data:l,isLoading:c}=Z({queryKey:["teams",e,"kanban","tasks",r,"comments"],queryFn:async()=>{let b=await A.api.teams[":teamId"].kanban.tasks[":taskId"].comments.$get({param:{teamId:e,taskId:r}});if(!b.ok)throw Error("Failed to fetch comments");return await b.json()},initialData:a?{data:a}:void 0,enabled:!!e&&!!r,refetchInterval:4000}),m=l?.data||[],{mutateAsync:g,isPending:M}=U({mutationFn:async({body:b,attachments:y})=>{let _=await A.api.teams[":teamId"].kanban.tasks[":taskId"].comments.$post({param:{teamId:e,taskId:r},json:{body:b,attachments:y}});if(!_.ok){let k=await _.json().catch(()=>({message:Sn()}));throw Error(k.message||Sn())}return await _.json()},onSuccess:()=>{i.invalidateQueries({queryKey:["teams",e,"kanban","tasks",r,"comments"]}),i.invalidateQueries({queryKey:["teams",e,"kanban","task",r]}),i.invalidateQueries({queryKey:["teams",e,"kanban","tasks"]})},onError:(b)=>{R.error(b.message)}}),x=async(b,y)=>{await g({body:b,attachments:y})};return o("div",{className:"flex flex-col h-full overflow-hidden bg-background",children:[t(ie,{className:"flex-1 min-h-0 p-3.5 [&>div>div]:block!",children:t("div",{className:"space-y-3 pr-1 pb-2 w-full max-w-full",children:c?t("div",{className:"flex items-center justify-center py-12",children:t(L,{className:"w-6 h-6 animate-spin text-muted-foreground"})}):m.length===0?o("div",{className:"flex flex-col items-center justify-center py-16 text-center text-xs text-muted-foreground/80 space-y-2",children:[t("div",{className:"w-10 h-10 rounded-full bg-muted/60 flex items-center justify-center",children:t(_o,{className:"w-5 h-5 opacity-40"})}),t("p",{className:"font-medium",children:Dh()})]}):m.map((b)=>t(Ave,{teamId:e,taskId:r,comment:b,currentUserId:f?.id,isOwnerOrAdmin:s},b.id))})}),t("div",{className:"p-3 border-t border-border/60 bg-card/60 shrink-0",children:t(e8e,{teamId:e,onSendMessage:x,isSubmitting:M})})]})}function gSt(e){let r=e.data||{};switch(e.type){case tf.CREATED:return"Created task";case tf.STATUS_CHANGED:return`Changed status from ${e.fromStatus?to(e.fromStatus):"None"} to ${e.toStatus?to(e.toStatus):"None"}`;case tf.ASSIGNED:return"Assigned task";case tf.UNASSIGNED:return"Unassigned task";case tf.PRIORITY_CHANGED:return`Changed priority to ${String(r.to||"")}`;case tf.GOAL_CHANGED:return"Updated goal association";case tf.DEPENDENCY_ADDED:return"Added prerequisite dependency";case tf.DEPENDENCY_REMOVED:return"Removed prerequisite dependency";case tf.CHANGES_REQUESTED:return`Requested changes: "${String(r.reason||"")}"`;case tf.BLOCKED:return`Task blocked: "${String(r.reason||r.blockReason||"")}"`;case tf.UNBLOCKED:return"Task unblocked";case tf.COMMENTED:return"Added a comment";default:return e.type}}function r8e({teamId:e,taskId:r,initialEvents:a}){let{data:i,isLoading:f}=Z({queryKey:["teams",e,"kanban","tasks",r,"events"],queryFn:async()=>{let l=await A.api.teams[":teamId"].kanban.tasks[":taskId"].events.$get({param:{teamId:e,taskId:r}});if(!l.ok)throw Error("Failed to fetch events");return await l.json()},initialData:a?{data:a}:void 0,enabled:!!e&&!!r}),s=i?.data||[];return t(ie,{className:"h-full p-3",children:t("div",{className:"space-y-4 pr-2",children:t("div",{className:"space-y-2",children:f?t("div",{className:"flex items-center justify-center py-6",children:t(L,{className:"w-4 h-4 animate-spin text-muted-foreground"})}):s.length===0?t("div",{className:"py-6 text-center text-xs text-muted-foreground",children:DKe()}):t("div",{className:"relative pl-5 space-y-3 before:absolute before:left-[4px] before:top-2 before:bottom-2 before:w-[2px] before:bg-border/60",children:s.map((l)=>o("div",{className:"relative flex items-start gap-2 text-xs",children:[t("div",{className:"absolute -left-5 top-[3px] w-2.5 h-2.5 rounded-full bg-background border-2 border-primary shrink-0"}),o("div",{className:"flex-1 min-w-0",children:[o("div",{className:"flex items-center justify-between gap-1",children:[t("span",{className:"font-medium text-foreground truncate",children:l.actor?.name||"System"}),t("span",{className:"text-[10px] text-muted-foreground font-mono shrink-0",children:fr(new Date(l.createdAt),"MM/dd HH:mm")})]}),t("p",{className:"text-[11px] text-muted-foreground leading-snug mt-0.5",children:gSt(l)})]})]},l.id))})})})})}function o8e({teamId:e,task:r}){let[a,i]=u("comments");return t("div",{className:"flex flex-col h-full bg-sidebar/30 border-l border-border/60 overflow-hidden",children:o(wo,{value:a,onValueChange:(f)=>i(f),className:"flex flex-col h-full",children:[t("div",{className:"px-3 pt-2.5 pb-1 border-b border-border/60 bg-card/50 shrink-0",children:o(vo,{className:"w-full grid grid-cols-2 h-8 bg-muted/60",children:[o(Vr,{value:"comments",className:"text-xs h-7",children:[t("span",{children:od()}),r.comments.length>0&&o("span",{className:"text-[10px] font-mono text-muted-foreground ml-1",children:["(",r.comments.length,")"]})]}),t(Vr,{value:"activity",className:"text-xs h-7",children:t("span",{children:cTe()})})]})}),o("div",{className:"flex-1 overflow-hidden",children:[t(En,{value:"comments",className:"h-full m-0 data-[state=active]:flex data-[state=active]:flex-col",children:t(t8e,{teamId:e,taskId:r.id,initialComments:r.comments})}),t(En,{value:"activity",className:"h-full m-0 data-[state=active]:block",children:t(r8e,{teamId:e,taskId:r.id,initialEvents:r.events})})]})]})})}function qd({teamId:e,taskId:r,isOpen:a,onClose:i,canEdit:f=!0}){let{data:s,isLoading:l,error:c}=Z({queryKey:["teams",e,"kanban","task",r],queryFn:async()=>{if(!r)return null;let m=await A.api.teams[":teamId"].kanban.tasks[":taskId"].$get({param:{teamId:e,taskId:r}});if(!m.ok)throw Error("Failed to fetch task details");return await m.json()},enabled:!!e&&!!r&&a});return t(pe,{open:a,onOpenChange:(m)=>!m&&i(),children:o(ue,{className:"sm:max-w-5xl w-[95vw] h-[88vh] p-0 gap-0 flex flex-col overflow-hidden bg-background",children:[t(me,{className:"px-5 py-3 border-b border-border/70 flex flex-row items-center justify-between space-y-0 shrink-0 bg-card/80",children:o("div",{className:"flex items-center gap-2 min-w-0 pr-4",children:[s?.isAgentTask&&o("span",{className:"inline-flex items-center gap-1 px-2 py-0.5 rounded text-[11px] font-semibold bg-orange-500/15 text-orange-600 dark:text-orange-400 border border-orange-500/30 shrink-0",children:[t(wt,{className:"w-3.5 h-3.5"}),t("span",{children:Pd()})]}),s?.status&&t("span",{className:E("px-2 py-0.5 rounded text-[11px] font-medium border uppercase shrink-0",F8(s.status)),children:to(s.status)}),t(de,{className:"text-sm font-semibold truncate text-foreground",children:s?.title||eBe()})]})}),t("div",{className:"flex-1 flex flex-col md:flex-row overflow-hidden",children:l?t("div",{className:"flex-1 flex items-center justify-center p-12",children:t(L,{className:"w-8 h-8 animate-spin text-muted-foreground"})}):c||!s?t("div",{className:"flex-1 flex items-center justify-center p-12 text-xs text-muted-foreground",children:dh()}):o(B,{children:[t("div",{className:"flex-1 md:w-2/3 h-full overflow-hidden flex flex-col",children:t(Rge,{teamId:e,task:s,canEdit:f})}),t("div",{className:"md:w-1/3 h-full overflow-hidden flex flex-col",children:t(o8e,{teamId:e,task:s})})]})})]})})}var MSt=[Qe.TODO,Qe.READY,Qe.IN_PROGRESS,Qe.IN_REVIEW,Qe.DONE,Qe.BLOCKED];function Hd({teamId:e,assetId:r,assetName:a,isOpen:i,onClose:f}){let s=K(),[l,c]=u(null),[m,g]=u(!1),[M,x]=u(Qe.TODO),[b,y]=u(""),{data:_,isLoading:k}=Z({queryKey:["teams",e,"kanban","assets",r,"tasks"],queryFn:async()=>{let oe=await A.api.teams[":teamId"].kanban.assets[":assetId"].tasks.$get({param:{teamId:e,assetId:r}});if(!oe.ok)throw Error("Failed to fetch linked tasks");return await oe.json()},enabled:!!e&&!!r&&i}),F=_?.data||[],I=O(()=>new Set(F.map((oe)=>oe.id)),[F]),{data:j,isLoading:G}=Z({queryKey:["teams",e,"kanban","tasks","status",M],queryFn:async()=>{let oe=await A.api.teams[":teamId"].kanban.tasks.$get({param:{teamId:e},query:{status:M,first:"100"}});if(!oe.ok)return{data:[]};return await oe.json()},enabled:!!e&&m&&i}),X=j?.data||[],J=O(()=>{let oe=b.trim().toLowerCase();return X.filter((ae)=>{if(I.has(ae.id))return!1;if(!oe)return!0;return ae.title.toLowerCase().includes(oe)})},[X,I,b]),ee=U({mutationFn:async(oe)=>{let ae=await A.api.teams[":teamId"].kanban.assets[":assetId"].tasks.$post({param:{teamId:e,assetId:r},json:{taskId:oe}});if(!ae.ok)throw Error("Failed to link task");return await ae.json()},onSuccess:()=>{s.invalidateQueries({queryKey:["teams",e,"kanban","assets",r,"tasks"]}),s.invalidateQueries({queryKey:["teams",e,"kanban"]}),R.success(hfe())}}),te=U({mutationFn:async(oe)=>{let ae=await A.api.teams[":teamId"].kanban.assets[":assetId"].tasks[":taskId"].$delete({param:{teamId:e,assetId:r,taskId:oe}});if(!ae.ok)throw Error("Failed to unlink task");return await ae.json()},onSuccess:()=>{s.invalidateQueries({queryKey:["teams",e,"kanban","assets",r,"tasks"]}),s.invalidateQueries({queryKey:["teams",e,"kanban"]}),R.success(gfe())}});return o(B,{children:[t(pe,{open:i,onOpenChange:(oe)=>!oe&&f(),children:o(ue,{className:"sm:max-w-2xl flex flex-col h-[520px] p-0 overflow-hidden",children:[t(me,{className:"p-4 border-b flex flex-row items-center justify-between space-y-0 shrink-0",children:o("div",{className:"flex items-center gap-2 min-w-0 pr-4",children:[t(ko,{className:"w-5 h-5 text-primary shrink-0"}),o("div",{className:"min-w-0",children:[t(de,{className:"text-sm font-semibold truncate",children:Lf()}),a&&t("p",{className:"text-xs text-muted-foreground truncate mt-0.5",children:a})]})]})}),t("div",{className:"flex-1 min-h-0 flex flex-col overflow-hidden bg-background",children:t(ie,{className:"flex-1 min-h-0 p-4 [&>div>div]:block!",children:k?t("div",{className:"flex items-center justify-center p-12",children:t(L,{className:"w-6 h-6 animate-spin text-muted-foreground"})}):F.length===0?o("div",{className:"flex flex-col items-center justify-center p-12 text-center text-xs text-muted-foreground gap-2",children:[t(ko,{className:"w-8 h-8 opacity-30"}),t("p",{children:MXe()})]}):t("div",{className:"space-y-2",children:F.map((oe)=>o("div",{onClick:()=>c(oe.id),className:"flex items-center justify-between gap-3 p-2.5 rounded-lg border border-border/60 bg-muted/20 hover:bg-muted/50 cursor-pointer transition-all hover:border-border",children:[o("div",{className:"flex items-center gap-2 min-w-0 flex-1",children:[oe.isAgentTask&&t("span",{className:"p-1 rounded bg-orange-500/15 text-orange-600 dark:text-orange-400 shrink-0",children:t(wt,{className:"w-3.5 h-3.5"})}),t("span",{className:E("text-[10px] px-1.5 py-0.5 rounded border uppercase font-medium shrink-0",F8(oe.status)),children:to(oe.status)}),t("span",{className:E("text-[10px] px-1.5 py-0.5 rounded border uppercase font-medium shrink-0",ti(oe.priority)),children:ei(oe.priority)}),t("span",{className:"text-xs font-medium text-foreground truncate flex-1",children:oe.title})]}),o("div",{className:"flex items-center gap-2 shrink-0",children:[oe.assignee&&o("div",{className:"flex items-center gap-1 text-[11px] text-muted-foreground",title:oe.assignee.name,children:[o(Ee,{className:"w-4 h-4 text-[9px]",children:[t(Ie,{src:oe.assignee.image||void 0}),t(Te,{children:oe.assignee.name.slice(0,1).toUpperCase()})]}),t("span",{className:"hidden sm:inline text-[11px] max-w-[70px] truncate",children:oe.assignee.name})]}),t(S,{type:"button",variant:"ghost",size:"sm",className:"h-6 w-6 p-0 text-muted-foreground hover:text-destructive hover:bg-destructive/10",onClick:(ae)=>{ae.stopPropagation(),te.mutate(oe.id)},title:npt(),children:t(De,{className:"w-3.5 h-3.5"})})]})]},oe.id))})})}),o("div",{className:"p-3 px-4 border-t bg-muted/10 flex items-center justify-between shrink-0",children:[o(gt,{open:m,onOpenChange:g,children:[t(At,{asChild:!0,children:o(S,{variant:"outline",size:"sm",className:"gap-1.5 text-xs h-8",children:[t(fe,{className:"w-3.5 h-3.5"}),t("span",{children:G9e()})]})}),o(yt,{className:"w-80 sm:w-96 p-0",align:"start",children:[t("div",{className:"p-2 border-b",children:o("div",{className:"relative",children:[t(Ut,{className:"w-3.5 h-3.5 absolute left-2.5 top-2.5 text-muted-foreground"}),t(H,{placeholder:Kit(),value:b,onChange:(oe)=>y(oe.target.value),className:"pl-8 h-8 text-xs bg-muted/30",autoFocus:!0})]})}),t("div",{className:"flex border-b overflow-x-auto p-1 gap-1 bg-muted/20",children:MSt.map((oe)=>t("button",{type:"button",onClick:()=>x(oe),className:E("px-2 py-1 text-[11px] font-medium rounded transition-colors whitespace-nowrap",M===oe?"bg-background shadow-xs text-foreground font-semibold":"text-muted-foreground hover:text-foreground hover:bg-muted/50"),children:to(oe)},oe))}),t(ie,{className:"h-56",children:G?o("div",{className:"flex items-center justify-center p-6 text-xs text-muted-foreground",children:[t(L,{className:"w-4 h-4 animate-spin mr-1.5"}),t("span",{children:pd()})]}):J.length===0?t("div",{className:"p-6 text-center text-xs text-muted-foreground",children:Sfe()}):t("div",{className:"p-1 space-y-0.5",children:J.map((oe)=>o("button",{type:"button",onClick:()=>{ee.mutate(oe.id),g(!1)},className:"w-full text-left p-2 rounded hover:bg-muted/60 transition-colors flex items-center justify-between gap-2 text-xs group",children:[t("span",{className:"truncate flex-1 font-medium text-foreground",children:oe.title}),t("span",{className:E("text-[10px] px-1.5 py-0.5 rounded border uppercase shrink-0",F8(oe.status)),children:to(oe.status)})]},oe.id))})})]})]}),t(S,{variant:"ghost",size:"sm",onClick:f,className:"text-xs h-8",children:Rc()})]})]})}),l&&t(qd,{teamId:e,taskId:l,isOpen:!0,onClose:()=>c(null)})]})}function a8e({teamId:e,projectId:r,projectName:a,ancestorFolders:i,currentAsset:f,isRootFolder:s,customTerminalBreadcrumb:l,displayStyle:c,onDisplayStyleChange:m,isLeftSidebarCollapsed:g,onLeftSidebarToggle:M,isRightSidebarCollapsed:x,onRightSidebarToggle:b,isChatbotOpen:y=!1,onChatbotToggle:_,isPublic:k=!1,onFolderClick:F,onRename:I,onDelete:j,fileId:G,shareId:X,allowDownload:J=!0,downloadInfo:ee,versions:te,compareMode:oe=!1,canCompareVersions:ae=!1,onCompareVersions:_e}){let Ve=Re(),{canEdit:Ne}=Pt(r),{openMobileMenu:ze}=Kk(),[Ye,ft]=u(!1),[Ke,Zt]=u(!1),Et=G||f.id,Yt=f.name==="Recently Deleted",ce=f.name==="All Collections",mt=!k&&!s&&!Yt&&!ce&&!oe&&!!Et,{data:Vt}=Z({queryKey:["teams",e,"kanban","assets",Et,"tasks"],queryFn:async()=>{if(!e||!Et)return{data:[],total:0};let tr=await A.api.teams[":teamId"].kanban.assets[":assetId"].tasks.$get({param:{teamId:e,assetId:Et}});if(!tr.ok)return{data:[],total:0};return await tr.json()},enabled:!!e&&!!Et&&mt}),Pe=Vt?.total??Vt?.data?.length??0,ir=!1,nr=(tr)=>{if(!G)return;if(k&&X){Ve({to:"/share/$shareId/files/$fileId",params:{shareId:X,fileId:G},search:(Fr)=>({...Fr,version:tr})});return}if(!r)return;Ve({to:"/projects/$projectId/files/$fileId",params:{projectId:r,fileId:G},search:(Fr)=>({...Fr,version:tr})})},$t=async(tr)=>{if(!G)return;try{let Fr=X?await A.api.shares[":shareId"].files[":fileId"]["download-url"].$post({param:{shareId:X,fileId:G},json:{key:tr}}):await A.api.files["download-url"].$post({json:{key:tr,assetId:G}});if(!Fr.ok)return;let{url:lo}=await Fr.json(),jo=document.createElement("a");jo.href=lo,jo.download="",document.body.appendChild(jo),jo.click(),document.body.removeChild(jo)}catch{}},Wt=f.proxyType!=="audio"&&(ee?.videoTranscodes?.length??0)>0,Kt=Boolean(l||!s&&!oe),ur={name:a,path:k?void 0:`/projects/${r}`,id:"root"},Ir=i.slice().reverse().map((tr)=>({name:tr.name||"",path:k?void 0:`/projects/${r}/folders/${tr.id}`,id:tr.id})),Rr=Kt?Ir:Ir.slice(0,-1),dr=!Kt&&Ir.length>0?Ir[Ir.length-1]:null,Zo=()=>{if(l)return t("span",{className:"truncate rounded px-2 py-1 text-sm font-medium text-foreground",children:l});if(!s&&!oe){if(f.type==="folder")return t("span",{className:"truncate rounded px-2 py-1 text-sm font-medium text-foreground",children:f.name});return o(ge,{modal:!1,children:[o(Ae,{className:"flex items-center gap-1 truncate rounded px-2 py-1 text-sm font-medium text-foreground transition-colors hover:bg-accent hover:text-accent-foreground",children:[t("span",{className:"truncate",children:f.name}),f.version!==void 0&&o(we,{variant:"outline",className:"px-1 py-0 text-xs shrink-0",children:["v",f.version]}),t(be,{className:"h-4 w-4 shrink-0"})]}),o(ye,{className:"w-56",align:"start",children:[J&&(Wt?o(Qa,{children:[t(Va,{className:"flex items-center gap-2",children:t("span",{children:gr()})}),t(Ga,{children:o(Ka,{className:"w-48",children:[t(Qr,{children:gr()}),ee?.videoTranscodes?.map((tr)=>{let Fr=Math.max(tr.width,tr.height),lo=`${tr.height}p`;if(Fr>=3840)lo="2160p";else if(Fr>=1920)lo="1080p";else if(Fr>=1280)lo="720p";else if(Fr>=960)lo="540p";else if(Fr>=640)lo="360p";else if(Fr>=320)lo="180p";return o(W,{onClick:()=>$t(tr.key),className:"flex items-center justify-between",children:[t("span",{children:lo}),t("span",{className:"text-xs text-muted-foreground",children:"MP4"})]},lo)}),ee?.originalKey&&o(B,{children:[t(Gt,{}),o(W,{onClick:()=>$t(ee.originalKey),className:"flex items-center justify-between",children:[t("span",{children:"Original"}),t("span",{className:"text-xs text-muted-foreground",children:f.name?.split(".").pop()?.toUpperCase()||"RAW"})]})]})]})})]}):t(W,{onClick:()=>ee?.originalKey&&$t(ee.originalKey),disabled:!ee?.originalKey,children:gr()})),Ne&&I&&t(W,{onClick:I,children:No()}),Ne&&j&&t(W,{onClick:j,className:"text-destructive focus:text-destructive",children:at()}),ae&&_e&&o(B,{children:[t(Gt,{}),o(W,{onClick:()=>_e(),children:[t(o8,{className:"h-4 w-4"}),t("span",{children:vNe()})]})]}),te&&te.length>0&&o(B,{children:[t(Gt,{}),o(Qa,{children:[o(Va,{className:"flex items-center gap-2",children:[t(_n,{className:"h-4 w-4"}),t("span",{children:"Versions"})]}),t(Ga,{children:o(Ka,{className:"w-80 p-1",children:[t("div",{className:"flex flex-col gap-1 max-h-96 overflow-y-auto",children:te.map((tr)=>{let Fr=f.version===tr.version;return o(W,{onClick:()=>nr(tr.id),className:"flex items-center gap-3 py-2 px-3 rounded-md cursor-pointer focus:bg-accent focus:text-accent-foreground",children:[o("div",{className:"flex-shrink-0 flex items-center justify-center bg-muted dark:bg-muted-foreground/20 text-muted-foreground dark:text-muted-foreground rounded-full px-2 py-0.5 text-xs font-semibold select-none min-w-[2rem]",children:["v",tr.version]}),t("div",{className:"h-10 w-16 flex-shrink-0 overflow-hidden rounded-md border border-border bg-muted flex items-center justify-center",children:tr.previewUrl?t("img",{src:tr.previewUrl,alt:tr.name||void 0,className:"h-full w-full object-cover"}):t(Xt,{className:"h-4 w-4 text-muted-foreground"})}),o("div",{className:"flex flex-col flex-1 min-w-0 text-left",children:[t("span",{className:"truncate text-sm font-semibold text-foreground",children:tr.name}),t("span",{className:"truncate text-xs text-muted-foreground flex items-center gap-1",children:tr.agent?o(B,{children:[t(wt,{className:"h-3 w-3 shrink-0"}),t("span",{className:"truncate",children:jc({user:tr.creator?.name||Cl(),agent:tr.agent.name})})]}):tr.creator?.name||Cl()})]}),Fr&&t(Me,{className:"h-4 w-4 text-primary ml-auto flex-shrink-0"})]},tr.id)})}),t(Gt,{}),t("div",{className:"p-1",children:t("button",{className:"w-full text-center text-xs font-medium py-2 px-3 rounded-md bg-muted/80 hover:bg-muted text-foreground transition-colors cursor-pointer",onClick:()=>ft(!0),children:Bf()})})]})})]})]})]})]})}return null};return o("div",{className:"flex h-14 flex-nowrap items-center justify-between gap-2 border-b border-border bg-card px-4 py-2 overflow-hidden",children:[o("div",{className:"flex min-w-0 flex-1 items-center gap-1 overflow-hidden",children:[!k&&t(S,{variant:"ghost",size:"icon",onClick:()=>ze(),className:"md:hidden h-8 w-8 text-foreground hover:bg-accent shrink-0 -ml-2 mr-1","aria-label":"Open navigation menu",children:t(XZ,{className:"h-5 w-5"})}),!k&&o("div",{className:"hidden md:flex items-center gap-1 shrink-0",children:[t(Zn,{to:`/teams/${e}`,className:"truncate rounded px-2 py-1 text-sm font-medium transition-colors hover:bg-accent hover:text-accent-foreground text-muted-foreground",children:IDe()}),t("span",{className:"text-muted-foreground",children:"/"})]}),Kt||i.length>0?ur.path?t(Zn,{to:ur.path,className:"min-w-0 max-w-[45%] md:max-w-none truncate rounded px-1.5 md:px-2 py-1 text-sm font-medium text-foreground transition-colors hover:bg-accent hover:text-accent-foreground shrink",children:ur.name}):t("button",{onClick:()=>ur.id&&F?.(ur.id),className:"min-w-0 max-w-[45%] md:max-w-none truncate rounded px-1.5 md:px-2 py-1 text-sm font-medium text-foreground transition-colors hover:bg-accent hover:text-accent-foreground text-left shrink cursor-pointer",children:ur.name}):t("span",{className:"min-w-0 flex-1 truncate rounded px-1.5 md:px-2 py-1 text-sm font-medium text-foreground",children:ur.name}),Rr.length>0&&o("div",{className:"flex md:hidden items-center gap-1 shrink-0",children:[t("span",{className:"text-muted-foreground shrink-0",children:"/"}),o(ge,{modal:!1,children:[t(Ae,{asChild:!0,children:t("button",{className:"text-muted-foreground hover:text-foreground text-sm font-medium px-1.5 py-0.5 rounded hover:bg-accent shrink-0 cursor-pointer","aria-label":"Show omitted folders",children:"..."})}),t(ye,{align:"start",children:Rr.map((tr,Fr)=>t(W,{asChild:!0,children:tr.path?t(Zn,{to:tr.path,className:"cursor-pointer",children:tr.name}):t("button",{onClick:()=>tr.id&&F?.(tr.id),className:"cursor-pointer w-full text-left",children:tr.name})},Fr))})]}),t("span",{className:"text-muted-foreground shrink-0",children:"/"})]}),i.slice().reverse().map((tr)=>{let Fr=k?void 0:`/projects/${r}/folders/${tr.id}`;return o("div",{className:"hidden md:flex items-center gap-1",children:[t("span",{className:"text-muted-foreground",children:"/"}),Fr?t(Zn,{to:Fr,className:"truncate rounded px-2 py-1 text-sm font-medium transition-colors hover:bg-accent hover:text-accent-foreground text-foreground",children:tr.name}):t("button",{onClick:()=>tr.id&&F?.(tr.id),className:"truncate rounded px-2 py-1 text-sm font-medium transition-colors hover:bg-accent hover:text-accent-foreground text-foreground",children:tr.name})]},tr.id)}),(Kt||!Kt&&i.length>0)&&o("div",{className:"flex items-center gap-1 min-w-0 shrink overflow-hidden",children:[t("span",{className:E("text-muted-foreground shrink-0",Rr.length>0?"hidden md:inline":"inline"),children:"/"}),Kt?Zo():dr&&t("span",{className:"min-w-0 truncate rounded px-2 py-1 text-sm font-medium text-foreground",children:dr.name})]}),mt&&o(S,{variant:"ghost",size:"sm",className:"h-7 px-2 text-xs gap-1.5 text-muted-foreground hover:text-foreground hover:bg-muted ml-1 cursor-pointer shrink-0",onClick:()=>Zt(!0),title:Lf(),children:[t(ko,{className:"w-4 h-4"}),Pe>0&&t("span",{className:"inline-flex items-center justify-center px-1.5 py-0.2 text-[10px] font-semibold rounded-full bg-muted-foreground/15 text-foreground",children:Pe})]})]}),mt&&Ke&&Et&&t(Hd,{teamId:e,assetId:Et,assetName:f.name,isOpen:Ke,onClose:()=>Zt(!1)}),G&&te&&te.length>0&&t(Bd,{open:Ye,onOpenChange:ft,stackId:G,canEdit:Ne,onStackDissolved:(tr)=>{ft(!1),Ve({to:"/projects/$projectId/files/$fileId",params:{projectId:r,fileId:tr}})},onVersionRemoved:(tr,Fr)=>{if((f.version?te.find((jo)=>jo.version===f.version)?.id:void 0)===tr){let jo=Fr[0];if(jo)Ve({to:"/projects/$projectId/files/$fileId",params:{projectId:r,fileId:G},search:(po)=>({...po,version:jo.id})})}}}),o("div",{className:"hidden md:flex items-center gap-2",children:[o("div",{className:"flex flex-shrink-0 items-center gap-1 rounded-md border border-border bg-background p-1",children:[!G&&!k&&M&&t("button",{onClick:M,className:"rounded p-1.5 text-muted-foreground transition-colors hover:bg-accent/50 hover:text-foreground",title:g?"Show Left Sidebar":"Hide Left Sidebar",children:g?t(hue,{className:"h-4 w-4"}):t(Mue,{className:"h-4 w-4 fill-primary stroke-0"})}),!G&&!k&&c&&m&&o(B,{children:[t("button",{onClick:()=>m("card"),className:`rounded p-1.5 transition-colors ${c==="card"?"bg-accent text-accent-foreground":"text-muted-foreground hover:bg-accent/50 hover:text-foreground"}`,title:"Card View",children:t(Jn,{className:"h-4 w-4"})}),t("button",{onClick:()=>m("list"),className:`rounded p-1.5 transition-colors ${c==="list"?"bg-accent text-accent-foreground":"text-muted-foreground hover:bg-accent/50 hover:text-foreground"}`,title:"List View",children:t(Po,{className:"h-4 w-4"})})]}),t("button",{onClick:b,className:`rounded p-1.5 transition-colors ${!x&&!y?"bg-accent text-accent-foreground":"text-muted-foreground hover:bg-accent/50 hover:text-foreground"}`,title:x?"Show Right Sidebar":"Hide Right Sidebar",children:!x&&!y?t(vue,{className:"h-4 w-4 fill-primary stroke-0"}):t(gue,{className:"h-4 w-4"})})]}),!k&&_&&t(bn,{children:o(wn,{children:[t(vn,{asChild:!0,children:t("span",{children:t("button",{disabled:!1,onClick:_,className:E("h-9 w-9 flex items-center justify-center rounded-full border border-border bg-background transition-colors",y?"bg-accent text-accent-foreground":"text-muted-foreground hover:bg-accent hover:text-foreground",!1),children:y?t(xue,{className:"h-6 w-6 text-primary transition-colors"}):t(wt,{className:"h-6 w-6 text-muted-foreground transition-colors"})})})}),t(xn,{children:t("p",{children:y?jqe():alt()})})]})})]})]})}var Qt=Tr()(Gk((e)=>({fileViewLeftSidebarCollapsed:!0,setFileViewLeftSidebarCollapsed:(r)=>e({fileViewLeftSidebarCollapsed:r}),fileViewRightSidebarCollapsed:!1,setFileViewRightSidebarCollapsed:(r)=>e({fileViewRightSidebarCollapsed:r}),fileListLeftSidebarCollapsed:!1,setFileListLeftSidebarCollapsed:(r)=>e({fileListLeftSidebarCollapsed:r}),fileListRightSidebarCollapsed:!0,setFileListRightSidebarCollapsed:(r)=>e({fileListRightSidebarCollapsed:r}),shareConfigLeftSidebarCollapsed:!1,setShareConfigLeftSidebarCollapsed:(r)=>e({shareConfigLeftSidebarCollapsed:r}),shareConfigRightSidebarCollapsed:!1,setShareConfigRightSidebarCollapsed:(r)=>e({shareConfigRightSidebarCollapsed:r}),viewModes:{},setViewMode:(r,a)=>e((i)=>({viewModes:{...i.viewModes,[r]:a}})),videoTimeDisplayMode:"standard",setVideoTimeDisplayMode:(r)=>e({videoTimeDisplayMode:r})}),{name:"ui-storage",storage:Iz(()=>localStorage)}));var SW="shumai_selected_agent_id",n8e=()=>{if(typeof window<"u"&&window.localStorage)return localStorage.getItem(SW);return null},yr=Tr((e)=>({isChatbotOpen:!1,setIsChatbotOpen:(r)=>e({isChatbotOpen:r}),isHistoryMode:!1,setIsHistoryMode:(r)=>e({isHistoryMode:r}),currentSessionId:null,setCurrentSessionId:(r)=>e({currentSessionId:r}),chatAssets:[],addAssets:(r)=>e((a)=>{let i=new Set(a.chatAssets.map((s)=>s.id)),f=r.filter((s)=>!i.has(s.id));return{chatAssets:[...a.chatAssets,...f]}}),removeAsset:(r)=>e((a)=>({chatAssets:a.chatAssets.filter((i)=>i.id!==r)})),clearAssets:()=>e({chatAssets:[]}),messages:[],setMessages:(r)=>e({messages:r}),historySessions:[],setHistorySessions:(r)=>e({historySessions:r}),isStreaming:!1,setIsStreaming:(r)=>e({isStreaming:r}),selectedAgentId:n8e(),setSelectedAgentId:(r)=>{if(typeof window<"u"&&window.localStorage)if(r)localStorage.setItem(SW,r);else localStorage.removeItem(SW);e({selectedAgentId:r})},inputText:"",setInputText:(r)=>e({inputText:r}),scrollTop:0,isAtBottom:!0,setScrollState:(r,a)=>e({scrollTop:r,isAtBottom:a}),fetchHistorySessions:async(r)=>{try{let a=await A.api.teams[":teamId"].chat.sessions.$get({param:{teamId:r},query:{first:"50"}});if(a.ok){let i=await a.json();e({historySessions:i.data||[]})}}catch(a){console.error("Failed to fetch history sessions:",a)}},loadSession:async(r,a)=>{try{let i=await A.api.teams[":teamId"].chat.sessions[":sessionId"].messages.$get({param:{teamId:r,sessionId:a}});if(i.ok){let f=await i.json(),l=yr.getState().historySessions.find((c)=>c.id===a)?.agentId||null;e({currentSessionId:a,messages:f,isHistoryMode:!1,scrollTop:0,isAtBottom:!0,...l?{selectedAgentId:l}:{}})}else throw Error("Failed to load session messages")}catch(i){let f=i instanceof Error?i.message:"Failed to load session";R.error(f)}},deleteSession:async(r,a)=>{try{if((await A.api.teams[":teamId"].chat.sessions[":sessionId"].$delete({param:{teamId:r,sessionId:a}})).ok)R.success("Session deleted successfully"),e((f)=>({historySessions:f.historySessions.filter((s)=>s.id!==a),currentSessionId:f.currentSessionId===a?null:f.currentSessionId,messages:f.currentSessionId===a?[]:f.messages}));else throw Error("Failed to delete session")}catch(i){let f=i instanceof Error?i.message:"Failed to delete session";R.error(f)}},startNewSession:()=>{let r=n8e();e({currentSessionId:null,messages:[],chatAssets:[],inputText:"",scrollTop:0,isAtBottom:!0,...r?{selectedAgentId:r}:{}})},sendMessage:async(r,a,i,f,s,l,c,m,g)=>{let M=yr.getState();if(M.isStreaming)return;let x=`temp-${Date.now()}`,b={id:x,role:"custom",customType:"shumai_message",content:a,display:!0,details:{currentAsset:f?{id:f,name:"",type:"file"}:void 0,position:m!==void 0&&m!==null?{type:"time",seconds:m}:void 0,annotation:!!(c&&c.length>0),annotations:c||void 0,attachedFiles:g||void 0,referencedAssets:M.chatAssets.length>0?M.chatAssets.map((F)=>({id:F.id,name:F.name,type:F.type})):void 0},timestamp:Date.now()},y=[...M.messages,b];e({messages:y,isStreaming:!0,chatAssets:[],isAtBottom:!0});let _=M.chatAssets.map((F)=>F.id),k=M.selectedAgentId;if(!k){R.error("No agent selected");return}try{let F=await A.api.teams[":teamId"].chat.$post({param:{teamId:r},json:{agentId:k,textPrompt:a||void 0,attachedFiles:l&&l.length>0?l:void 0,assetIds:_&&_.length>0?_:void 0,sessionId:M.currentSessionId||void 0,contextAssetId:f,projectId:i,second:m??void 0,annotations:c&&c.length>0?c:void 0}});if(!F.ok)throw Error("Failed to start chat");let I=F.headers.get("x-session-id");if(I&&!M.currentSessionId)e({currentSessionId:I});let j=F.body?.getReader();if(!j)throw Error("No stream body");let G=new TextDecoder,X="";while(!0){let{done:ee,value:te}=await j.read();if(ee)break;X+=G.decode(te,{stream:!0});let oe=X.split(`
|
|
211
|
+
`);X=oe.pop()||"";for(let ae of oe){let _e=ae.trim();if(!_e)continue;if(_e.startsWith("data: ")){let Ve=_e.slice(6);try{let Ne=JSON.parse(Ve);if(Ne.type==="session"){if(!yr.getState().currentSessionId)e({currentSessionId:Ne.sessionId})}else if(Ne.type==="entry"){let ze=Ne.entry,Ye=ze;if(Ye.role==="toolResult"&&typeof Ye.toolName==="string"&&["create_file","create_folder","create_version","rename_asset","move_assets","delete_asset"].includes(Ye.toolName)&&!Ye.isError)s?.();e((ft)=>{let Ke=ft.messages.some((ce)=>ce.id===ze.id),Zt=(ze.role==="user"||ze.role==="custom"&&ze.customType==="shumai_message")&&!Ke,Et=ft.messages.filter((ce)=>{if(Zt)return!ce.id.startsWith("temp-");if(ze.role==="custom"&&ze.customType==="context_display_info"&&!Ke)return!ce.id.startsWith("temp-context-");return!0}),Yt=Et.findIndex((ce)=>ce.id===ze.id);if(Yt!==-1){let ce=[...Et];return ce[Yt]=ze,{messages:ce}}else return{messages:[...Et,ze]}})}else if(Ne.type==="done"){if(Ne.status==="failed")R.error(Ne.error||"Workflow failed")}}catch(Ne){console.error("Error parsing SSE line:",Ne)}}}}yr.getState().fetchHistorySessions(r)}catch(F){let I=F instanceof Error?F.message:"Failed to send message";R.error(I),e((j)=>({messages:j.messages.filter((G)=>G.id!==x)}))}finally{e({isStreaming:!1})}},abortActiveSession:async(r)=>{let{currentSessionId:a,isStreaming:i}=yr.getState();if(!a||!i)return;try{if((await A.api.teams[":teamId"].chat.sessions[":sessionId"].abort.$post({param:{teamId:r,sessionId:a}})).ok)R.success("Agent execution stopped");else throw Error("Failed to abort agent execution")}catch(f){let s=f instanceof Error?f.message:"Failed to abort execution";R.error(s)}}}));C();var LW=768;function Do(){let[e,r]=u(void 0);return h(()=>{let a=window.matchMedia(`(max-width: ${LW-1}px)`),i=()=>{r(window.innerWidth<LW)};return a.addEventListener("change",i),r(window.innerWidth<LW),()=>a.removeEventListener("change",i)},[]),!!e}function $d(){let{projectState:e}=en(),r=Qt(),{isChatbotOpen:a,setIsChatbotOpen:i}=yr();if(Do()&&e?.fileId)return null;if(!e)return t(vSt,{});let{teamId:s,projectId:l,projectName:c,ancestorFolders:m,currentAsset:g,isRootFolder:M,customTerminalBreadcrumb:x,fileId:b,downloadInfo:y,versions:_,isPublic:k,shareId:F,allowDownload:I,onFolderClick:j,onRename:G,onDelete:X,compareMode:J,canCompareVersions:ee,onCompareVersions:te}=e,oe=!!b,ae=!!x,_e=!!F&&!oe,Ve=oe?r.fileViewLeftSidebarCollapsed:_e?r.shareConfigLeftSidebarCollapsed:r.fileListLeftSidebarCollapsed,Ne=k?void 0:()=>oe?r.setFileViewLeftSidebarCollapsed(!r.fileViewLeftSidebarCollapsed):_e?r.setShareConfigLeftSidebarCollapsed(!r.shareConfigLeftSidebarCollapsed):r.setFileListLeftSidebarCollapsed(!r.fileListLeftSidebarCollapsed),ze=k&&e.isRightSidebarCollapsed!==void 0?e.isRightSidebarCollapsed:oe?r.fileViewRightSidebarCollapsed:_e?r.shareConfigRightSidebarCollapsed:r.fileListRightSidebarCollapsed,Ye=k&&e.onRightSidebarToggle?e.onRightSidebarToggle:()=>{if(!k&&a)if(i(!1),oe)r.setFileViewRightSidebarCollapsed(!1);else if(_e)r.setShareConfigRightSidebarCollapsed(!1);else r.setFileListRightSidebarCollapsed(!1);else if(oe)r.setFileViewRightSidebarCollapsed(!r.fileViewRightSidebarCollapsed);else if(_e)r.setShareConfigRightSidebarCollapsed(!r.shareConfigRightSidebarCollapsed);else r.setFileListRightSidebarCollapsed(!r.fileListRightSidebarCollapsed)},ft=k?void 0:()=>{i(!a)},Ke=l?r.viewModes[l]??"card":"card";return t(a8e,{teamId:s,projectId:l,projectName:c,ancestorFolders:m,currentAsset:g,isRootFolder:M,customTerminalBreadcrumb:x,displayStyle:oe||_e||ae?void 0:Ke,onDisplayStyleChange:oe||_e||ae?void 0:k?void 0:(Et)=>{if(l)r.setViewMode(l,Et)},isLeftSidebarCollapsed:Ve,onLeftSidebarToggle:Ne,isRightSidebarCollapsed:ze,onRightSidebarToggle:Ye,isChatbotOpen:!k&&a,onChatbotToggle:ft,isPublic:k,shareId:F,allowDownload:I,fileId:b,downloadInfo:y,versions:_,onFolderClick:j,onRename:G,onDelete:X,compareMode:J,canCompareVersions:ee,onCompareVersions:te})}function vSt(){let{toggleMobileMenu:e}=Kk();return o("div",{className:"flex h-14 items-center justify-between border-b border-border bg-card px-4 py-2 flex-shrink-0",children:[t(S,{variant:"ghost",size:"icon",onClick:e,className:"md:hidden text-foreground hover:bg-accent -ml-2","aria-label":"Open navigation menu",children:t(XZ,{className:"h-5 w-5"})}),t("div",{className:"flex flex-1 items-center justify-center",children:t(sM,{className:"w-10 h-10 text-orange-600"})}),t("div",{className:"w-9 md:hidden"})]})}C();var xSt=(e,r,a,i,f,s,l,c)=>{let m=document.documentElement,g=["light","dark"];function M(y){(Array.isArray(e)?e:[e]).forEach((_)=>{let k=_==="class",F=k&&s?f.map((I)=>s[I]||I):f;k?(m.classList.remove(...F),m.classList.add(s&&s[y]?s[y]:y)):m.setAttribute(_,y)}),x(y)}function x(y){c&&g.includes(y)&&(m.style.colorScheme=y)}function b(){return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}if(i)M(i);else try{let y=localStorage.getItem(r)||a,_=l&&y==="system"?b():y;M(_)}catch(y){}};var ySt=xt(void 0),bSt={setTheme:(e)=>{},themes:[]},i8e=()=>{var e;return(e=St(ySt))!=null?e:bSt};var ijn=rc(({forcedTheme:e,storageKey:r,attribute:a,enableSystem:i,enableColorScheme:f,defaultTheme:s,value:l,themes:c,nonce:m,scriptProps:g})=>{let M=JSON.stringify([a,r,s,e,c,l,i,f]).slice(1,-1);return q("script",{...g,suppressHydrationWarning:!0,nonce:typeof window>"u"?m:"",dangerouslySetInnerHTML:{__html:`(${xSt.toString()})(${M})`}})});var f8e=({...e})=>{let{theme:r="system"}=i8e();return t(Lce,{theme:r,className:"toaster group",icons:{success:t(br,{className:"size-4"}),info:t(Ko,{className:"size-4"}),warning:t($r,{className:"size-4"}),error:t(a8,{className:"size-4"}),loading:t(L,{className:"size-4 animate-spin"})},style:{"--normal-bg":"var(--popover)","--normal-text":"var(--popover-foreground)","--normal-border":"var(--border)","--border-radius":"var(--radius)"},...e})};var dn=Tr((e)=>({uploading:0,tasks:{},fileProgress:{},increment:()=>e((r)=>({uploading:r.uploading+1})),decrement:()=>e((r)=>({uploading:r.uploading-1})),startTask:(r,a,i)=>e((f)=>{let s={},l=0;i.forEach((g)=>{s[g.fileId]={fileId:g.fileId,name:g.name,loaded:0,total:g.size,status:"uploading"},l+=g.size});let c={...f.tasks,[r]:{taskId:r,name:a,loaded:0,total:l,files:s}},m={...f.fileProgress};return i.forEach((g)=>{m[g.fileId]=s[g.fileId]}),{tasks:c,fileProgress:m}}),updateFileProgress:(r,a,i)=>e((f)=>{let s=f.tasks[r];if(!s)return{};let l=s.files[a];if(!l)return{};let c={...l,loaded:i},m={...s.files,[a]:c},g=Object.values(m).reduce((M,x)=>M+x.loaded,0);return{tasks:{...f.tasks,[r]:{...s,loaded:g,files:m}},fileProgress:{...f.fileProgress,[a]:c}}}),completeFile:(r,a)=>e((i)=>{let f=i.tasks[r];if(!f)return{};let s=f.files[a];if(!s)return{};let l={...s,status:"completed",loaded:s.total},c={...f.files,[a]:l},m=Object.values(c).reduce((g,M)=>g+M.loaded,0);return{tasks:{...i.tasks,[r]:{...f,loaded:m,files:c}},fileProgress:{...i.fileProgress,[a]:l}}}),failFile:(r,a)=>e((i)=>{let f=i.tasks[r];if(!f)return{};let s=f.files[a];if(!s)return{};let l={...s,status:"failed"},c={...f.files,[a]:l},m=Object.values(c).reduce((g,M)=>g+M.loaded,0);return{tasks:{...i.tasks,[r]:{...f,loaded:m,files:c}},fileProgress:{...i.fileProgress,[a]:l}}})}));C();function Gd({className:e,value:r,...a}){return t(zIe,{"data-slot":"progress",className:E("relative h-2 w-full overflow-hidden rounded-full bg-primary/20",e),...a,children:t(SIe,{"data-slot":"progress-indicator",className:"h-full w-full flex-1 bg-primary transition-all",style:{transform:`translateX(-${100-(r||0)}%)`}})})}function _St(e){let r=P8(e);if(isNaN(r.getTime()))return YZt();if(u2(r))return Ife();if(d2(r))return Cfe();return fr(r,S4e())}function s8e(e){if(e===0)return"0 B";let r=1024,a=["B","KB","MB","GB","TB"],i=Math.floor(Math.log(e)/Math.log(r));return parseFloat((e/Math.pow(r,i)).toFixed(1))+" "+a[i]}function wSt({task:e}){let r=dn((s)=>s.tasks[e.id]),a=r?r.loaded===r.total&&e.uploaded===e.total:e.uploaded===e.total,i=r?r.total>0?r.loaded/r.total*100:0:e.total>0?e.uploaded/e.total*100:0,f;try{f=Cn(e.createdAt)}catch{f=cn()}return o("div",{className:"group relative flex flex-col p-4 rounded-xl border border-sidebar-border bg-sidebar-accent/30 text-sidebar-foreground shadow-xs transition-all duration-200 hover:shadow-md hover:border-sidebar-foreground/20 hover:bg-sidebar-accent/50",children:[o("div",{className:"flex items-start justify-between gap-2 mb-2",children:[t("div",{className:"min-w-0 flex-1",children:t("span",{className:"text-sm font-semibold tracking-tight text-sidebar-foreground truncate block",title:e.name,children:e.name||mpt()})}),t("div",{className:"flex-shrink-0",children:a?o("span",{className:"inline-flex items-center gap-1 text-xs font-semibold text-muted-foreground bg-muted px-2 py-0.5 rounded-full transition-colors",children:[t(br,{className:"w-3.5 h-3.5"}),L3e()]}):o("span",{className:"inline-flex items-center gap-1 text-xs font-semibold text-sidebar-primary bg-sidebar-primary/10 px-2 py-0.5 rounded-full animate-pulse",children:[t(L,{className:"w-3.5 h-3.5 animate-spin"}),Fpt()]})})]}),o("div",{className:"flex items-center gap-1.5 text-xs text-muted-foreground mb-3 font-medium",children:[t(hr,{className:"w-3.5 h-3.5 text-muted-foreground/75"}),t("span",{children:f})]}),o("div",{className:"space-y-1.5 mt-auto",children:[o("div",{className:"flex items-center justify-between text-xs font-semibold",children:[t("span",{className:"text-muted-foreground/80",children:r?`${s8e(r.loaded)} / ${s8e(r.total)} (${xfe({uploaded:e.uploaded,total:e.total})})`:xfe({uploaded:e.uploaded,total:e.total})}),!a&&o("span",{className:"text-sidebar-primary font-mono font-bold",children:[Math.round(i),"%"]})]}),t(Gd,{value:i,className:"h-1.5 w-full bg-muted"})]})]})}function l8e(){let e=is(),r=dn((y)=>y.uploading),a=dn((y)=>y.tasks),{data:i,fetchNextPage:f,hasNextPage:s,isFetchingNextPage:l,isLoading:c}=ut({queryKey:["teams",e,"upload","tasks"],queryFn:async({pageParam:y})=>{let _=await A.api.teams[":teamId"].upload.tasks.$get({param:{teamId:e},query:{after:y}});if(!_.ok)throw Error("Failed to fetch upload tasks");return await _.json()},initialPageParam:"",getNextPageParam:(y)=>y.pageInfo?.cursor||void 0,enabled:!!e,refetchInterval:r>0?2000:!1}),{ref:m,inView:g}=Mt();h(()=>{if(g&&s&&!l)f()},[g,s,l,f]);let M=i?.pages.flatMap((y)=>y.data??[])??[],x=O(()=>{let y=new Set(M.map((k)=>k.id));return[...Object.values(a).filter((k)=>!y.has(k.taskId)).map((k)=>{let F=Object.values(k.files).filter((I)=>I.status==="completed"||I.status==="failed").length;return{id:k.taskId,name:k.name,total:Object.keys(k.files).length,uploaded:F,createdAt:new Date().toISOString()}}),...M].sort((k,F)=>F.id.localeCompare(k.id))},[M,a]);if(c)return t("div",{className:"flex items-center justify-center p-8",children:t(L,{className:"h-6 w-6 animate-spin text-muted-foreground"})});if(x.length===0)return o("div",{className:"flex flex-col items-center justify-center p-8 text-center border border-dashed border-border rounded-xl bg-muted/10 my-4",children:[t(Bn,{className:"h-8 w-8 text-muted-foreground/50 mb-3"}),t("p",{className:"text-sm font-semibold text-muted-foreground",children:xQe()}),t("p",{className:"text-xs text-muted-foreground/60 mt-1 max-w-[180px]",children:gQe()})]});let b=[];return x.forEach((y)=>{let _=_St(y.createdAt),k=b.find((F)=>F.day===_);if(!k)k={day:_,tasks:[]},b.push(k);k.tasks.push(y)}),o("div",{className:"flex flex-col space-y-4",children:[b.map((y)=>o("div",{className:"relative flex flex-col",children:[o("div",{className:"sticky top-0 bg-sidebar/95 backdrop-blur-sm z-10 py-2 px-1 flex items-center justify-between border-b border-border/40",children:[t("span",{className:"text-xs font-bold uppercase tracking-wider text-muted-foreground/80",children:y.day}),t("span",{className:"text-[10px] font-semibold text-muted-foreground/60 bg-muted px-2 py-0.5 rounded-full",children:y.tasks.length===1?VGe({count:y.tasks.length}):YGe({count:y.tasks.length})})]}),t("div",{className:"mt-3 space-y-3",children:y.tasks.map((_)=>t(wSt,{task:_},_.id))})]},y.day)),s&&t("div",{ref:m,className:"flex items-center justify-center p-4",children:l&&t(L,{className:"h-5 w-5 animate-spin text-muted-foreground"})})]})}var Lo=Tr((e,r)=>({metadata:{},isLoading:!1,error:null,fetchMetadata:async(a)=>{e({isLoading:!0,error:null});try{let i=await A.api.teams[":teamId"]["user-metadata"].$get({param:{teamId:a}});if(!i.ok)throw Error("failed to fetch user metadata");let s=(await i.json()).reduce((l,c)=>(l[c.key]=c.value,l),{});e({metadata:s,isLoading:!1})}catch(i){e({error:i instanceof Error?i.message:String(i),isLoading:!1})}},setMetadata:async(a,i,f)=>{let s=r().metadata;e((l)=>({metadata:{...l.metadata,[i]:f}}));try{if(!(await A.api.teams[":teamId"]["user-metadata"][":key"].$put({param:{teamId:a,key:i},json:{value:f}})).ok)throw Error("failed to update user metadata")}catch(l){e({metadata:s}),console.error(l)}},getMetadata:(a,i)=>{let f=r().metadata[a];return f!==void 0?f:i}}));C();async function c8e(e){let r=e.match(/^\/teams\/([^/]+)/),a=r?r[1]:null;if(a)return a;let i=e.match(/^\/projects\/([^/]+)/),f=i?i[1]:null;if(f){let{ensureTeamIdForProject:s}=it.getState();return await s(f)}return null}function zSt(){let e=cf((_)=>_.user),{uploading:r}=dn(),a=az({select:(_)=>_.location.pathname}),i=Re(),{teamId:f,setTeamId:s}=it(),{projectState:l}=en(),c=e&&(a.startsWith("/teams/")||a.startsWith("/projects/"));h(()=>{c8e(a).then((_)=>{if(_&&_!==f)s(_)})},[a,f,s]);let{data:m}=Z({queryKey:["teams",f,"me"],queryFn:async()=>{if(!f)return null;let _=await A.api.teams[":teamId"].me.$get({param:{teamId:f}});if(!_.ok)throw Error("Failed to fetch me");return await _.json()},enabled:!!f});if(!c)return t(RM,{});let g=m?.unreadNotificationCount??0,M=g>99?"99+":g,x=g>0?t("span",{className:"absolute justify-center top-0 -right-1 mt-1 inline-flex items-center px-1.5 py-0.5 rounded-full text-xs leading-4 bg-red-400 dark:bg-red-500 text-white pointer-events-none h-5 min-w-5",children:M}):null,b=a.includes("/kanban"),y=a.includes("/dashboard");return o("div",{className:"flex h-[100dvh] w-full bg-background overflow-hidden",children:[t(f8e,{}),o(Pfe,{hideMobileButton:!0,defaultMobileContent:l?.projectId?{label:yfe(),children:t(Ar,{teamId:l.teamId,projectId:l.projectId,projectName:l.projectName,rootFolderId:l.rootFolderId||"",ancestorFolders:l.ancestorFolders})}:void 0,children:[t(Jz,{icon:t(bue,{}),label:Uqe(),onItemClick:()=>{if(f)i({to:"/teams/$teamId",params:{teamId:f}})}}),t(Jz,{icon:t(yue,{}),label:zh(),badge:x,children:t(mue,{})}),t(Jz,{icon:t(_ue,{uploading:r>0,className:r>0?"text-blue-500":""}),label:Upt(),children:t(l8e,{})}),t(Jz,{icon:t(wue,{}),label:k9e(),active:b,onItemClick:()=>{if(f)i({to:"/teams/$teamId/kanban",params:{teamId:f}})}}),m?.role?.toLowerCase()==="owner"&&t(Jz,{icon:t(zue,{}),label:Km(),active:y,onItemClick:()=>{if(f)i({to:"/teams/$teamId/dashboard",params:{teamId:f}})}})]}),o("div",{className:"flex flex-col flex-1 md:pl-16 overflow-hidden relative",children:[t($d,{}),t("main",{className:"flex-1 overflow-hidden relative flex flex-col",children:t(RM,{})})]})]})}var Tn=x3()({beforeLoad:async({location:e})=>{if(typeof window<"u"){let r=e.pathname,a=await c8e(r);if(a){let{fetchMetadata:i,getMetadata:f}=Lo.getState();try{await i(a);let s=f("locale");if((s==="en"||s==="zh")&&s!==n())Ei(s,{reload:!1})}catch(s){console.error("Failed to load user locale metadata:",s)}}document.documentElement.setAttribute("lang",n())}},component:zSt});function Tl({children:e}){return o("div",{className:"min-h-screen w-full flex items-center justify-center p-4 md:p-8 bg-zinc-100/80 dark:bg-black font-sans overflow-hidden relative",children:[t("div",{className:"bg-rose-500/10 dark:bg-rose-600/5 w-[600px] h-[600px] rounded-full blur-[140px] absolute top-[-10%] left-[-10%] animate-drift-slow"}),t("div",{className:"bg-orange-500/10 dark:bg-orange-600/5 w-[600px] h-[600px] rounded-full blur-[140px] absolute bottom-[-10%] right-[-10%] animate-drift-medium"}),o("div",{className:"relative max-w-4xl w-full flex flex-col md:flex-row rounded-3xl border border-zinc-200 dark:border-zinc-800 shadow-2xl bg-white dark:bg-zinc-900 overflow-hidden min-h-[580px] z-10 transition-all duration-300 hover:shadow-rose-500/5",children:[o("div",{className:"hidden md:flex flex-col w-full md:w-1/2 bg-gradient-to-br from-rose-500/15 via-orange-500/10 to-amber-500/5 dark:from-rose-950/30 dark:via-orange-950/15 dark:to-zinc-900/40 p-8 md:p-12 justify-between border-r border-zinc-200 dark:border-zinc-800 relative overflow-hidden",children:[t("div",{className:"absolute inset-0 bg-[linear-gradient(to_right,#8080800a_1px,transparent_1px),linear-gradient(to_bottom,#8080800a_1px,transparent_1px)] bg-[size:14px_24px] [mask-image:radial-gradient(ellipse_60%_50%_at_50%_0%,#000_70%,transparent_100%)] pointer-events-none"}),o("div",{className:"relative flex items-center gap-3",children:[t(sM,{className:"h-12 w-12 shadow-lg shadow-rose-500/10 rounded-2xl transition-transform duration-500 hover:scale-105"}),t("span",{className:"text-xl font-extrabold tracking-tight bg-gradient-to-r from-rose-500 via-orange-500 to-amber-500 bg-clip-text text-transparent",children:"Shumai"})]}),o("div",{className:"relative my-8 md:my-0 space-y-6",children:[t("h2",{className:"text-3xl font-extrabold tracking-tight leading-tight text-zinc-900 dark:text-zinc-50",children:pOe()}),t("p",{className:"text-zinc-600 dark:text-zinc-400 text-sm leading-relaxed max-w-sm",children:rOe()}),t("ul",{className:"space-y-3.5 pt-4",children:[uOe(),nOe(),sOe()].map((r,a)=>o("li",{className:"flex items-center gap-3 text-sm text-zinc-700 dark:text-zinc-300 font-medium",children:[t(br,{className:"w-5 h-5 text-rose-500 flex-shrink-0"}),t("span",{children:r})]},a))})]}),t("div",{className:"relative pt-4 border-t border-zinc-200/30 dark:border-zinc-800/30",children:t("p",{className:"text-xs text-zinc-500 dark:text-zinc-400 font-medium",children:$Ee()})})]}),t("div",{className:"w-full md:w-1/2 p-8 md:p-12 flex flex-col justify-center",children:e})]})]})}function Ct({className:e,...r}){return t("div",{"data-slot":"card",className:E("flex flex-col gap-6 rounded-xl border bg-card py-6 text-card-foreground shadow-sm",e),...r})}function Nt({className:e,...r}){return t("div",{"data-slot":"card-header",className:E("@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-2 px-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6",e),...r})}function Ot({className:e,...r}){return t("div",{"data-slot":"card-title",className:E("leading-none font-semibold",e),...r})}function Ht({className:e,...r}){return t("div",{"data-slot":"card-description",className:E("text-sm text-muted-foreground",e),...r})}function Rt({className:e,...r}){return t("div",{"data-slot":"card-content",className:E("px-6",e),...r})}function u8e({className:e,...r}){return t("div",{"data-slot":"card-footer",className:E("flex items-center px-6 [.border-t]:pt-6",e),...r})}C();var dD=(e)=>e.type==="checkbox",mF=(e)=>e.type==="file",X8=(e)=>e instanceof Date,Ui=(e)=>e==null,AW=(e)=>typeof e==="object",An=(e)=>!Ui(e)&&!Array.isArray(e)&&AW(e)&&!X8(e),SSt=(e)=>An(e)&&e.target?dD(e.target)?e.target.checked:mF(e.target)?e.target.files:e.target.value:e,LSt=(e,r)=>r.split(".").some((a,i,f)=>!isNaN(Number(a))&&e.has(f.slice(0,i).join("."))),hF=typeof window<"u"&&typeof window.HTMLElement<"u"&&typeof document<"u";function pn(e){if(e===null||typeof e!=="object")return e;if(e instanceof Date)return new Date(e);let r=typeof FileList<"u"&&e instanceof FileList;if(hF&&(e instanceof Blob||r))return e;let a=Array.isArray(e);if(!a&&e.constructor!==Object)return e;let i=a?[]:Object.create(Object.getPrototypeOf(e));for(let f in e)if(Object.prototype.hasOwnProperty.call(e,f))i[f]=pn(e[f]);return i}var mR={BLUR:"blur",FOCUS_OUT:"focusout",CHANGE:"change",SUBMIT:"submit",TRIGGER:"trigger",VALID:"valid"},Eu={onBlur:"onBlur",onChange:"onChange",onSubmit:"onSubmit",onTouched:"onTouched",all:"all"},Tu={max:"max",min:"min",maxLength:"maxLength",minLength:"minLength",pattern:"pattern",required:"required",validate:"validate"},z8e="root",DW=["__proto__","constructor","prototype"],kSt=/^\w*$/,NL=(e)=>kSt.test(e),ga=(e)=>e===void 0,ISt=/[.[\]'"]/,gR=(e)=>e.split(ISt).filter(Boolean),Zr=(e,r,a)=>{if(!r||!An(e))return a;let i=NL(r)?[r]:gR(r);if(i.some((s)=>DW.includes(s)))return a;let f=i.reduce((s,l)=>Ui(s)?void 0:s[l],e);return ga(f)||f===e?ga(e[r])?a:e[r]:f},LZ=(e)=>typeof e==="boolean",ou=(e)=>typeof e==="function",ha=(e,r,a)=>{let i=-1,f=NL(r)?[r]:gR(r),s=f.length,l=s-1;while(++i<s){let c=f[i],m=a;if(i!==l){let g=e[c];m=An(g)||Array.isArray(g)?g:!isNaN(+f[i+1])?[]:{}}if(DW.includes(c))return;e[c]=m,e=e[c]}},CSt=xt(null);CSt.displayName="HookFormControlContext";var RSt=(e,r,a,i=!0)=>{let f={};for(let s in e)Object.defineProperty(f,s,{get:()=>{let l=s;if(r._proxyFormState[l]!==Eu.all)r._proxyFormState[l]=!i||Eu.all;return a&&(a[l]=!0),e[l]}});return f},PSt=hF?Ge:h,TSt=(e)=>{let r=e.constructor&&e.constructor.prototype;return An(r)&&r.hasOwnProperty("isPrototypeOf")},RW=(e)=>Ui(e)||!AW(e),d8e=(e,r)=>r.length===0&&!Array.isArray(e)&&!TSt(e);function Au(e,r,a=new WeakMap){if(e===r)return!0;if(RW(e)||RW(r))return Object.is(e,r);if(X8(e)&&X8(r))return Object.is(e.getTime(),r.getTime());let i=Object.keys(e),f=Object.keys(r);if(i.length!==f.length)return!1;if(d8e(e,i)||d8e(r,f))return Object.is(e,r);if(!i.length&&Array.isArray(e)!==Array.isArray(r))return!1;let s=a.get(e);if(s&&s.has(r))return!0;if(s)s.add(r);else{let l=new WeakSet;l.add(r),a.set(e,l)}for(let l of i){let c=e[l];if(!(l in r))return!1;if(l!=="ref"){let m=r[l];if(X8(c)&&X8(m)||(An(c)||Array.isArray(c))&&(An(m)||Array.isArray(m))?!Au(c,m,a):!Object.is(c,m))return!1}}return!0}function ASt(){let e=w(!1),r=w(void 0),a=N((f,s,l)=>{if(f&&e.current){let c=s();if(!Au(r.current,c))l(c)}e.current=!0},[]),i=N((f,s)=>{if(f)r.current=pn(s())},[]);return{resyncIfNeeded:a,snapshot:i}}var qi=(e)=>typeof e==="string",DSt=(e,r,a,i,f)=>{if(qi(e))return i&&r.watch.add(e),Zr(a,e,f);if(Array.isArray(e))return e.map((s)=>(i&&r.watch.add(s),Zr(a,s)));return i&&(r.watchAll=!0),a};var uF=(e)=>({isOnSubmit:!e||e===Eu.onSubmit,isOnBlur:e===Eu.onBlur,isOnChange:e===Eu.onChange,isOnAll:e===Eu.all,isOnTouch:e===Eu.onTouched}),kW=(e,r,a)=>{if(a)return!1;if(r.watchAll||r.watch.has(e))return!0;for(let i of r.watch)if(e.startsWith(i)&&e.charAt(i.length)===".")return!0;return!1},uD=(e,r,a,i)=>{for(let f of a||Object.keys(e)){if(f==="_f")continue;let s=a?Zr(e,f):e[f];if(s){let{_f:l}=s;if(l){if(l.refs&&l.refs[0]&&r(l.refs[0],f)&&!i)return!0;else if(l.ref&&r(l.ref,l.name)&&!i)return!0;else if(uD(s,r))break}else if(An(s)||Array.isArray(s)){if(uD(s,r))break}}}return},Z8e=(e,r,a)=>{let i=Zr(e,a),f=Array.isArray(i)?i:[];return ha(f,z8e,r[a]),ha(e,a,f),e},af=(e)=>An(e)&&!Object.keys(e).length,ZF=(e)=>{if(!hF)return!1;let r=e?e.ownerDocument:0;return e instanceof(r&&r.defaultView?r.defaultView.HTMLElement:HTMLElement)},EW=(e)=>e.type==="radio",pF=(e)=>e instanceof RegExp,gF=(e,r,a,i,f)=>r?{...a[e],types:{...a[e]&&a[e].types?a[e].types:{},[i]:f||!0}}:{},p8e={value:!1,isValid:!1},m8e={value:!0,isValid:!0},S8e=(e)=>{if(!Array.isArray(e))return p8e;if(e.length>1){let a=e.filter((i)=>i&&i.checked&&!i.disabled).map((i)=>i.value);return{value:a,isValid:!!a.length}}let r=e[0];if(!r||!r.checked||r.disabled)return p8e;if(!r.attributes||!("value"in r.attributes))return m8e;return ga(r.value)||r.value===""?m8e:{value:r.value,isValid:!0}},h8e={isValid:!1,value:null},L8e=(e)=>Array.isArray(e)?e.reduce((r,a)=>a&&a.checked&&!a.disabled?{isValid:!0,value:a.value}:r,h8e):h8e;function g8e(e,r,a="validate"){if(qi(e)||Array.isArray(e)&&e.every(qi)||LZ(e)&&!e)return{type:a,message:qi(e)?e:"",ref:r}}var hR=(e)=>An(e)&&!pF(e)?e:{value:e,message:""},M8e=async(e,r,a,i,f,s)=>{let{ref:l,refs:c,required:m,maxLength:g,minLength:M,min:x,max:b,pattern:y,validate:_,name:k,valueAsNumber:F,mount:I}=e._f,j=Zr(a,k);if(!I||r.has(k))return{};let G=c?c[0]:l,X=(ze)=>{if(f&&G.reportValidity){let Ye=LZ(ze)?"":ze||"";if(c)c.forEach((ft)=>ft.setCustomValidity(Ye));else G.setCustomValidity(Ye);G.reportValidity()}},J={},ee=EW(l),te=dD(l),oe=ee||te,ae=(F||mF(l))&&ga(l.value)&&ga(j)||ZF(l)&&l.value===""||j===""||Array.isArray(j)&&!j.length,_e=gF.bind(null,k,i,J),Ve=(ze,Ye,ft,Ke=Tu.maxLength,Zt=Tu.minLength)=>{let Et=ze?Ye:ft;J[k]={type:ze?Ke:Zt,message:Et,ref:l,..._e(ze?Ke:Zt,Et)}};if(s?!Array.isArray(j)||!j.length:m&&(!oe&&(ae||Ui(j))||LZ(j)&&!j||te&&!S8e(c).isValid||ee&&!L8e(c).isValid)){let{value:ze,message:Ye}=qi(m)?{value:!!m,message:m}:hR(m);if(ze){if(J[k]={type:Tu.required,message:Ye,ref:G,..._e(Tu.required,Ye)},!i)return X(Ye),J}}if(!ae&&(!Ui(x)||!Ui(b))){let ze,Ye,ft=hR(b),Ke=hR(x);if(!Ui(j)&&!X8(j)&&!isNaN(j)){let Zt=l.valueAsNumber||(j?+j:j);if(!Ui(ft.value))ze=Zt>ft.value;if(!Ui(Ke.value))Ye=Zt<Ke.value}else{let Zt=l.valueAsDate||new Date(j),Et=(mt)=>new Date(new Date().toDateString()+" "+mt),Yt=l.type=="time",ce=l.type=="week";if(qi(ft.value)&&j)ze=Yt?Et(j)>Et(ft.value):ce?j>ft.value:Zt>new Date(ft.value);if(qi(Ke.value)&&j)Ye=Yt?Et(j)<Et(Ke.value):ce?j<Ke.value:Zt<new Date(Ke.value)}if(ze||Ye){if(Ve(!!ze,ft.message,Ke.message,Tu.max,Tu.min),!i)return X(J[k].message),J}}if((g||M)&&!ae&&(qi(j)||s&&Array.isArray(j))){let ze=hR(g),Ye=hR(M),ft=!Ui(ze.value)&&j.length>+ze.value,Ke=!Ui(Ye.value)&&j.length<+Ye.value;if(ft||Ke){if(Ve(ft,ze.message,Ye.message),!i)return X(J[k].message),J}}if(y&&!ae&&qi(j)){let{value:ze,message:Ye}=hR(y);if(pF(ze)&&!j.match(ze)){if(J[k]={type:Tu.pattern,message:Ye,ref:l,..._e(Tu.pattern,Ye)},!i)return X(Ye),J}}if(_){if(ou(_)){let ze=await _(j,a),Ye=g8e(ze,G);if(Ye){if(J[k]={...Ye,..._e(Tu.validate,Ye.message)},!i)return X(Ye.message),J}}else if(An(_)){let ze={};for(let Ye in _){if(!af(ze)&&!i)break;let ft=g8e(await _[Ye](j,a),G,Ye);if(ft){if(ze={...ft,..._e(Ye,ft.message)},X(ft.message),i)J[k]=ze}}if(!af(ze)){if(J[k]={ref:G,...ze},!i)return J}}}let Ne=J[k];return X(Ne?Ne.message:!0),J},dF=(e)=>Array.isArray(e)?e:[e];var k8e=(e)=>Array.isArray(e)?e.filter(Boolean):[];function ESt(e,r){let a=r.length-1,i=0;while(i<a){if(Ui(e)){e=void 0;break}e=e[r[i]],i++}return e}function OSt(e){for(let r in e)if(e.hasOwnProperty(r)&&!ga(e[r]))return!1;return!0}function ri(e,r){if(qi(r)&&Object.prototype.hasOwnProperty.call(e,r))return delete e[r],e;let a=Array.isArray(r)?r:NL(r)?[r]:gR(r);if(a.some((l)=>DW.includes(String(l))))return e;let i=a.length===1?e:ESt(e,a),f=a.length-1,s=a[f];if(i)delete i[s];if(f!==0&&(An(i)&&af(i)||Array.isArray(i)&&OSt(i)))ri(e,a.slice(0,-1));return e}var jSt=xt(null);jSt.displayName="HookFormContext";var v8e=()=>{let e=[];return{get observers(){return e},next:(f)=>{for(let s of e)s.next&&s.next(f)},subscribe:(f)=>(e.push(f),{unsubscribe:()=>{e=e.filter((s)=>s!==f)}}),unsubscribe:()=>{e=[]}}};function I8e(e,r){let a={};for(let i in e)if(e.hasOwnProperty(i)){let f=e[i],s=r[i];if(f&&An(f)&&s){let l=I8e(f,s);if(An(l))a[i]=l}else if(e[i])a[i]=s}return a}var x8e=(e,r)=>e!==null&&AW(e)&&Object.prototype.hasOwnProperty.call(e,r),NSt=(e,r)=>{if(!r)return!1;let a=e;for(let i of NL(r)?[r]:gR(r)){if(!x8e(a,i))return x8e(e,r);a=a[i]}return!0},C8e=(e)=>e.type==="select-multiple",FSt=(e)=>EW(e)||dD(e),IW=(e)=>ZF(e)&&e.isConnected;function y8e(e){return Array.isArray(e)||An(e)}function R8e(e,r,a="",i=[]){for(let f in e){let s=a?`${a}.${f}`:f,l=e[f];if(y8e(l)&&y8e(Zr(r,s)))R8e(l,r,s,i);else i.push(s)}return i}var BSt=(e)=>{for(let r in e)if(ou(e[r]))return!0;return!1};function P8e(e){return Array.isArray(e)||An(e)&&!BSt(e)}function T8e(e){return!!(e&&("_f"in e))}function A8e(e){return Array.isArray(e)?!e.some((r)=>!ga(r)):!Object.keys(e).length}function PW(e,r){if(Array.isArray(e))e[r]=void 0;else delete e[r]}function TW(e,r={},a){for(let i in e){let f=e[i],s=a&&a[i];if(P8e(f)&&(!Array.isArray(f)||!T8e(s))){if(r[i]=Array.isArray(f)?[]:{},TW(f,r[i],s),A8e(r[i]))PW(r,i)}else if(!ga(f))r[i]=!0}return r}function jL(e,r,a,i){if(!a)a=TW(r,{},i);for(let f in e){let s=e[f],l=i&&i[f];if(P8e(s)&&(!Array.isArray(s)||!T8e(l))){if(ga(r)||RW(a[f]))a[f]=TW(s,Array.isArray(s)?[]:{},l);else jL(s,Ui(r)?{}:r[f],a[f],l);if(A8e(a[f]))PW(a,f)}else if(Au(s,r[f]))PW(a,f);else a[f]=!0}return a}var YSt=(e,r)=>{let a=r.split("."),i=[],f=a[0];for(let s=1;s<a.length;f+="."+a[s++])if(!isNaN(+a[s])&&e.has(f))i.push(`${f}.${a[s]}`);return i},D8e=(e,{valueAsNumber:r,valueAsDate:a,setValueAs:i})=>ga(e)?e:r?e===""?NaN:e?+e:e:a&&qi(e)?new Date(e):i?i(e):e;function b8e(e){let r=e.ref;if(mF(r))return r.files;if(EW(r))return L8e(e.refs).value;if(C8e(r))return[...r.selectedOptions].map(({value:a})=>a);if(dD(r))return S8e(e.refs).value;return D8e(r.value,e)}var USt=(e,r,a,i)=>{let f={};for(let s of e){let l=Zr(r,s);l&&ha(f,s,l._f)}return{criteriaMode:a,names:[...e],fields:f,shouldUseNativeValidation:i}},cD=(e)=>ga(e)?e:pF(e)?e.source:An(e)?pF(e.value)?e.value.source:e.value:e,_8e="AsyncFunction",qSt=(e)=>{if(!e||!e.validate)return!1;if(ou(e.validate))return e.validate.constructor.name===_8e;if(An(e.validate)){for(let r in e.validate)if(e.validate[r].constructor.name===_8e)return!0}return!1},VSt=(e)=>e.mount&&(e.required||!ga(e.required)&&e.required!==!1||!ga(e.min)||!ga(e.max)||!ga(e.maxLength)||!ga(e.minLength)||e.pattern||e.validate);function w8e(e,r,a){let i=Zr(e,a);if(i||NL(a))return{error:i,name:a};let f=a.split(".");while(f.length){let s=f.join("."),l=Zr(r,s),c=Zr(e,s);if(l&&!Array.isArray(l)&&a!==s)return{name:a};if(c&&c.type)return{name:s,error:c};if(c&&c.root&&c.root.type)return{name:`${s}.root`,error:c.root};f.pop()}return{name:a}}var HSt=(e,r,a,i)=>{a(e);let f=Object.keys(e).filter((s)=>s!=="name");return!f.length||i&&f.length>=Object.keys(r).length||f.find((s)=>r[s]===(!i||Eu.all))},WSt=(e,r,a)=>!e||!r||e===r||dF(e).some((i)=>i&&(a?i===r||i.startsWith(r+"."):i.startsWith(r)||r.startsWith(i))),GSt=(e,r,a,i,f)=>{if(f.isOnAll)return!1;else if(!a&&f.isOnTouch)return!(r||e);else if(a?i.isOnBlur:f.isOnBlur)return!e;else if(a?i.isOnChange:f.isOnChange)return e;return!0},KSt=(e,r)=>{let a=Zr(e,r);!k8e(a).length&&!(a===null||a===void 0?void 0:a.root)&&ri(e,r)},XSt={mode:Eu.onSubmit,reValidateMode:Eu.onChange,shouldFocusError:!0},CW="form",QSt=(e,r)=>{for(let a in e)if(!(a in r))delete e[a];Object.assign(e,r)},E8e={submitCount:0,isDirty:!1,isReady:!1,isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},validatingFields:{}};function JSt(e={}){let r={...XSt,...e},a={...pn(E8e),isLoading:ou(r.defaultValues),errors:r.errors||{},disabled:r.disabled||!1},i={},f=An(r.defaultValues)||An(r.values)?pn(r.defaultValues||r.values)||{}:{},s=r.shouldUnregister?{}:pn(f),l={action:!1,actionArrayLengths:new Map,mount:!1,watch:!1,keepIsValid:!1},c={mount:new Set,disabled:new Set,unMount:new Set,array:new Set,watch:new Set,registerName:new Set},m={},g={},M=0,x=uF(r.mode),b=uF(r.reValidateMode),y={isDirty:!1,dirtyFields:!1,validatingFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1},_={...y},k={..._},F={array:v8e(),state:v8e()},I=0,j=r.criteriaMode===Eu.all,G=(Se,Ce)=>(je)=>{clearTimeout(g[Se]),g[Se]=setTimeout(Ce,je)},X=async(Se)=>{if(l.keepIsValid)return;if(!r.disabled&&(_.isValid||k.isValid||Se)){let Ce=++I,je;if(r.resolver)je=af((await ft()).errors),Ce===I&&J();else je=await Et({fields:i,onlyCheckValid:!0,eventType:mR.VALID});if(Ce===I&&je!==a.isValid)F.state.next({isValid:je})}},J=(Se,Ce)=>{if(!r.disabled&&(_.isValidating||_.validatingFields||k.isValidating||k.validatingFields))(Se||c.mount).forEach((je)=>{if(je)Ce?ha(a.validatingFields,je,Ce):ri(a.validatingFields,je)}),F.state.next({validatingFields:a.validatingFields,isValidating:!af(a.validatingFields)})},ee=()=>{a.dirtyFields=jL(f,s,void 0,i)},te=(Se,Ce=[],je,ct,bt=!0,jt=!0)=>{if(ct&&je&&!r.disabled){l.action=!0;let ar=Zr(i,Se);if(!l.actionArrayLengths.has(Se))l.actionArrayLengths.set(Se,Array.isArray(ar)?ar.length:0);if(jt&&Array.isArray(ar)){let Bt=je(ar,ct.argA,ct.argB);bt&&ha(i,Se,Bt)}let Dt=Zr(a.errors,Se);if(jt&&Array.isArray(Dt)){let Bt=Dt.root,Cr=je(Dt,ct.argA,ct.argB)||Dt;if(Bt)Cr.root=Bt;bt&&ha(a.errors,Se,Cr),KSt(a.errors,Se)}let ht=Zr(a.touchedFields,Se);if((_.touchedFields||k.touchedFields)&&jt&&Array.isArray(ht)){let Bt=je(ht,ct.argA,ct.argB);bt&&ha(a.touchedFields,Se,Bt)}if(_.dirtyFields||k.dirtyFields)ee();F.state.next({name:Se,isDirty:ce(Se,Ce),dirtyFields:a.dirtyFields,errors:a.errors,isValid:a.isValid})}else ha(s,Se,Ce)},oe=(Se,Ce)=>{ha(a.errors,Se,Ce),a.errors={...a.errors},F.state.next({errors:a.errors})},ae=(Se)=>{a.errors=Se,F.state.next({errors:a.errors,isValid:!1})},_e=(Se)=>{let Ce=NL(Se)?[Se]:gR(Se),je=s,ct=f;for(let bt=0;bt<Ce.length-1;bt++){let jt=Ce[bt];if(je=Ui(je)?je:je[jt],ct=Ui(ct)?ct:ct[jt],je===null&&ct!==null)return!0}return!1},Ve=(Se)=>{if(!l.actionArrayLengths.size)return!1;let Ce=NL(Se)?[Se]:gR(Se),je=s,ct="",bt=-1,jt=0;for(let ar=0;ar<Ce.length;ar++){if(Ui(je))return!1;let Dt=Ce[ar];if(ct=ct?`${ct}.${Dt}`:Dt,Array.isArray(je)&&+Dt>=je.length)return bt===-1?!1:ar===bt?+Dt<jt:!0;if(l.actionArrayLengths.has(ct))bt=ar+1,jt=l.actionArrayLengths.get(ct);je=je[Dt]}return!1},Ne=(Se,Ce,je,ct)=>{let bt=Zr(i,Se);if(bt){if(_e(Se)||Ve(Se))return;let jt=ga(Zr(s,Se)),ar=Zr(s,Se,ga(je)?Zr(f,Se):je);if(ga(ar)||ct&&ct.defaultChecked||Ce?ha(s,Se,Ce?ar:b8e(bt._f)):Pe(Se,ar),l.mount&&!l.action){if(X(),jt&&a.isDirty&&(_.isDirty||k.isDirty)){if(!ce())a.isDirty=!1,F.state.next({...a})}if(e.shouldUnregister&&jt&&!ga(Zr(s,Se))&&kW(Se,c))l.watch=!0}}},ze=(Se,Ce,je,ct,bt)=>{let jt=!1,ar=!1,Dt={name:Se};if(!r.disabled||ct===!0){if(!je||ct){let ht=Au(Zr(f,Se),Ce);if(_.isDirty||k.isDirty)ar=a.isDirty,a.isDirty=Dt.isDirty=!ht||ce(),jt=ar!==Dt.isDirty;if(ar=!!Zr(a.dirtyFields,Se),ht!==a.isDirty)QSt(a.dirtyFields,jL(f,s,void 0,i));else ht?ri(a.dirtyFields,Se):ha(a.dirtyFields,Se,!0);Dt.dirtyFields=a.dirtyFields,jt=jt||(_.dirtyFields||k.dirtyFields)&&ar!==!ht}if(je){let ht=Zr(a.touchedFields,Se);if(!ht)ha(a.touchedFields,Se,je),Dt.touchedFields=a.touchedFields,jt=jt||(_.touchedFields||k.touchedFields)&&ht!==je}jt&&bt&&F.state.next(Dt)}return jt?Dt:{}},Ye=(Se,Ce,je,ct)=>{let bt=Zr(a.errors,Se),jt=(_.isValid||k.isValid)&&LZ(Ce)&&a.isValid!==Ce;if(r.delayError&&je)m[Se]=G(Se,()=>oe(Se,je)),m[Se](r.delayError);else clearTimeout(g[Se]),delete m[Se],je?ha(a.errors,Se,je):ri(a.errors,Se),a.errors={...a.errors};if((je?!Au(bt,je):bt)||!af(ct)||jt){let ar={...ct,...jt&&LZ(Ce)?{isValid:Ce}:{},errors:a.errors,name:Se};F.state.next(ar)}},ft=async(Se)=>(J(Se,!0),await r.resolver(s,r.context,USt(Se||c.mount,i,r.criteriaMode,r.shouldUseNativeValidation))),Ke=async(Se)=>{let{errors:Ce}=await ft(Se);if(J(Se),Se){for(let je of Se){let ct=Zr(Ce,je);ct?c.array.has(je)&&An(ct)&&!Object.keys(ct).some((bt)=>!Number.isNaN(Number(bt)))?Z8e(a.errors,{[je]:ct},je):ha(a.errors,je,ct):ri(a.errors,je)}a.errors={...a.errors}}else a.errors=Ce;return Ce},Zt=async({name:Se,eventType:Ce})=>{if(e.validate){let je=await e.validate({formValues:s,formState:a,name:Se,eventType:Ce});if(An(je))for(let ct in je){let bt=je[ct];if(bt)tr(`${CW}.${ct}`,{message:qi(bt.message)?bt.message:"",type:bt.type||Tu.validate})}else if(qi(je)||!je)tr(CW,{message:je||"",type:Tu.validate});else Zo(CW);return je}return!0},Et=async({fields:Se,onlyCheckValid:Ce,name:je,eventType:ct,context:bt={valid:!0,runRootValidation:!1}})=>{if(e.validate){if(bt.runRootValidation=!0,!await Zt({name:je,eventType:ct})){if(bt.valid=!1,Ce)return bt.valid}}for(let jt in Se){let ar=Se[jt];if(ar){let{_f:Dt,...ht}=ar;if(Dt){let Bt=c.array.has(Dt.name),Cr=ar._f&&qSt(ar._f),Or=_.validatingFields||_.isValidating||k.validatingFields||k.isValidating;if(Cr&&Or)J([Dt.name],!0);let $o=await M8e(ar,c.disabled,s,j,r.shouldUseNativeValidation&&!Ce,Bt);if(Cr&&Or)J([Dt.name]);if($o[Dt.name]){if(bt.valid=!1,Ce)break}if(!Ce&&(Zr($o,Dt.name)?Bt?Z8e(a.errors,$o,Dt.name):ha(a.errors,Dt.name,$o[Dt.name]):ri(a.errors,Dt.name)),e.shouldUseNativeValidation&&$o[Dt.name])break}!af(ht)&&await Et({context:bt,onlyCheckValid:Ce,fields:ht,name:jt,eventType:ct})}}return bt.valid},Yt=()=>{for(let Se of c.unMount){let Ce=Zr(i,Se);Ce&&(Ce._f.refs?Ce._f.refs.every((je)=>!IW(je)):!IW(Ce._f.ref))&&po(Se)}c.unMount=new Set},ce=(Se,Ce)=>(Se&&Ce&&ha(s,Se,Ce),!Au(l.mount?s:f,f)),mt=(Se,Ce,je)=>DSt(Se,c,{...l.mount?s:ga(Ce)||qi(Se)?f:Ce},je,Ce),Vt=(Se)=>k8e(Zr(l.mount?s:f,Se,r.shouldUnregister?Zr(f,Se,[]):[])),Pe=(Se,Ce,je={},ct=!1,bt=!1,jt=!1)=>{let ar=Zr(i,Se),Dt=Ce;if(ar){let ht=ar._f;if(ht){if(!ht.disabled&&ha(s,Se,D8e(Ce,ht)),Dt=ZF(ht.ref)&&Ui(Ce)?"":Ce,C8e(ht.ref))[...ht.ref.options].forEach((Bt)=>Bt.selected=Dt.includes(Bt.value));else if(ht.refs)if(dD(ht.ref))ht.refs.forEach((Bt)=>{if(!Bt.defaultChecked||!Bt.disabled)if(Array.isArray(Dt))Bt.checked=!!Dt.find((Cr)=>Cr===Bt.value);else Bt.checked=Dt===Bt.value||!!Dt});else ht.refs.forEach((Bt)=>Bt.checked=Bt.value===Dt);else if(mF(ht.ref))ht.ref.value="";else if(ht.ref.value=Dt,!ht.ref.type&&!bt&&!jt)F.state.next({name:Se,values:ct?s:pn(s)})}}(je.shouldDirty||je.shouldTouch)&&ze(Se,Dt,je.shouldTouch,je.shouldDirty,!bt),je.shouldValidate&&ur(Se,{delayError:je.delayError})},ir=(Se,Ce,je,ct=!1,bt=!1,jt=!1)=>{if(c.array.has(Se))F.array.next({name:Se,values:ct?s:pn(s)});for(let ar in Ce){if(!Ce.hasOwnProperty(ar))return;let Dt=Ce[ar],ht=Se+"."+ar,Bt=Zr(i,ht);(c.array.has(Se)||An(Dt)||Bt&&!Bt._f)&&!X8(Dt)?ir(ht,Dt,je,ct,bt,jt):Pe(ht,Dt,je,ct,bt,jt)}},nr=(Se,Ce,je,ct,bt=!1)=>{let jt=Zr(i,Se),ar=c.array.has(Se),Dt=ct?Ce:pn(Ce),ht=Zr(s,Se),Bt=Au(ht,Dt);if(!Bt)ha(s,Se,Dt);if(ar){if(F.array.next({name:Se,values:ct?s:pn(s)}),(_.isDirty||_.dirtyFields||k.isDirty||k.dirtyFields)&&je.shouldDirty){if(ee(),!bt)F.state.next({name:Se,dirtyFields:a.dirtyFields,isDirty:ce(Se,Dt)})}}else{let Cr=Array.isArray(Dt)&&!Dt.length||af(Dt),Or=!Bt&&!bt;if(!jt||jt._f||Ui(Dt)||Cr)Pe(Se,Dt,je,ct,bt,Or);else ir(Se,Dt,je,ct,bt,Or)}if(!Bt&&!bt){let Cr=kW(Se,c),Or=ct?s:pn(s);if(F.state.next({...Cr&&a,name:l.mount||Cr?Se:void 0,values:Or}),!ar)for(let $o of YSt(c.array,Se))F.state.next({name:$o,values:Or})}},$t=(Se,Ce,je={})=>nr(Se,Ce,je,!1),Er=(Se,Ce={})=>{let je=ou(Se)?Se(s):Se;if(!Au(s,je)){s={...s,...je};for(let ct of c.mount)if(NSt(je,ct))nr(ct,Zr(je,ct),Ce,!0,!0);if(F.state.next({...a,name:void 0,type:void 0,...M?{values:s}:{}}),Ce.shouldValidate)X()}},Wt=async(Se)=>{l.mount=!0;let Ce=Se.target,je=Ce.name,ct=!0,bt=Zr(i,je),jt=(ar)=>{ct=Number.isNaN(ar)||X8(ar)&&isNaN(ar.getTime())||Au(ar,Zr(s,je,ar))};if(bt){let ar,Dt,ht=Ce.type?b8e(bt._f):SSt(Se),Bt=Se.type===mR.BLUR||Se.type===mR.FOCUS_OUT,Cr=!VSt(bt._f)&&!e.validate&&!r.resolver&&!Zr(a.errors,je)&&!bt._f.deps,Or=Cr||GSt(Bt,Zr(a.touchedFields,je),a.isSubmitted,b,x),$o=kW(je,c,Bt);if(ha(s,je,ht),Bt){if(!Ce||!Ce.readOnly){bt._f.onBlur&&bt._f.onBlur(Se);let Ma=m[je];Ma&&Ma(0)}}else if(bt._f.onChange)bt._f.onChange(Se);let rr=ze(je,ht,Bt),Go=!af(rr)||$o;if(!Bt&&F.state.next({name:je,type:Se.type,...M?{values:pn(s)}:{}}),Or){if((!Cr||!a.isValid)&&(_.isValid||k.isValid)){if(r.mode==="onBlur"){if(Bt)X()}else if(!Bt)X()}return Go&&F.state.next({name:je,...$o?{}:rr})}if(!r.resolver&&e.validate)await Zt({name:je,eventType:Se.type});if(!Bt&&$o&&F.state.next({...a}),r.resolver){let{errors:Ma}=await ft([je]);if(J([je]),jt(ht),!ct){!af(rr)&&F.state.next(rr);return}let ai=w8e(a.errors,i,je),nf=w8e(Ma,i,ai.name||je);ar=nf.error,je=nf.name,Dt=af(Ma)}else if(J([je],!0),ar=(await M8e(bt,c.disabled,s,j,r.shouldUseNativeValidation))[je],J([je]),jt(ht),ct){if(ar)Dt=!1;else if(_.isValid||k.isValid)Dt=await Et({fields:i,onlyCheckValid:!0,name:je,eventType:Se.type})}if(ct)bt._f.deps&&(!Array.isArray(bt._f.deps)||bt._f.deps.length>0)&&ur(bt._f.deps),Ye(je,Dt,ar,rr)}},Kt=(Se,Ce)=>{if(Zr(a.errors,Ce)&&Se.focus)return Se.focus(),1;return},ur=async(Se,Ce={})=>{let je,ct,bt=dF(Se);if(r.resolver){let jt=await Ke(ga(Se)?Se:bt);je=af(jt),ct=Se?!bt.some((ar)=>Zr(jt,ar)):je}else if(Se)ct=(await Promise.all(bt.map(async(jt)=>{let ar=Zr(i,jt);return await Et({fields:ar&&ar._f?{[jt]:ar}:ar,eventType:mR.TRIGGER})}))).every(Boolean),!(!ct&&!a.isValid)&&X();else ct=je=await Et({fields:i,name:Se,eventType:mR.TRIGGER});if(Ce.delayError&&r.delayError&&qi(Se)){let jt=Zr(a.errors,Se);if(jt)ri(a.errors,Se),m[Se]=G(Se,()=>oe(Se,jt)),m[Se](r.delayError);else clearTimeout(g[Se]),delete m[Se]}return F.state.next({...!qi(Se)||(_.isValid||k.isValid)&&je!==a.isValid?{}:{name:Se},...r.resolver||!Se?{isValid:je}:{},errors:a.errors}),Ce.shouldFocus&&!ct&&uD(i,Kt,Se?bt:c.mount),ct},Ir=(Se,Ce)=>{let je={...l.mount?s:f};if(Ce)je=I8e(Ce.dirtyFields?a.dirtyFields:a.touchedFields,je);return ga(Se)?je:qi(Se)?Zr(je,Se):Se.map((ct)=>Zr(je,ct))},Rr=(Se)=>ga(Se)?{...a.errors}:qi(Se)?Zr(a.errors,Se):Se.map((Ce)=>Zr(a.errors,Ce)),dr=(Se,Ce)=>{let je=Ce||a,ct=Zr(je.errors,Se);return{invalid:!!ct,isDirty:!!Zr(je.dirtyFields,Se),error:ct,isValidating:!!Zr(a.validatingFields,Se),isTouched:!!Zr(je.touchedFields,Se)}},Zo=(Se)=>{let Ce=Se?dF(Se):void 0;if(Ce===null||Ce===void 0||Ce.forEach((je)=>ri(a.errors,je)),Ce)Ce.forEach((je)=>{F.state.next({name:je,errors:a.errors})});else a.errors={},F.state.next({errors:a.errors})},tr=(Se,Ce,je)=>{let ct=(Zr(i,Se,{_f:{}})._f||{}).ref,bt=Zr(a.errors,Se)||{},{ref:jt,message:ar,type:Dt,...ht}=bt;ha(a.errors,Se,{...ht,...Ce,ref:ct}),F.state.next({name:Se,errors:a.errors,isValid:!1}),je&&je.shouldFocus&&ct&&ct.focus&&ct.focus()},Fr=(Se,Ce)=>{if(ou(Se)){M++;let{unsubscribe:je}=F.state.subscribe({next:(bt)=>("values"in bt)&&Se(bt.values||mt(void 0,Ce),bt)}),ct=!1;return{unsubscribe:()=>{if(ct)return;ct=!0,M--,je()}}}return mt(Se,Ce,!0)},lo=(Se)=>{var Ce;let je=!!((Ce=Se.formState)===null||Ce===void 0?void 0:Ce.values);if(je)M++;let{unsubscribe:ct}=F.state.subscribe({next:(jt)=>{if(WSt(Se.name,jt.name,Se.exact)&&HSt(jt,Se.formState||_,jr,Se.reRenderRoot)){let ar={...s};Se.callback({values:ar,...a,...jt,defaultValues:f})}}});if(!je)return ct;let bt=!1;return()=>{if(bt)return;bt=!0,M--,ct()}},jo=(Se)=>(l.mount=!0,k={...k,...Se.formState},lo({...Se,formState:{...y,...Se.formState}})),po=(Se,Ce={})=>{for(let je of Se?dF(Se):c.mount){if(c.mount.delete(je),c.array.delete(je),!Ce.keepValue)ri(i,je),ri(s,je);!Ce.keepError&&ri(a.errors,je),!Ce.keepDirty&&ri(a.dirtyFields,je),!Ce.keepTouched&&ri(a.touchedFields,je),!Ce.keepIsValidating&&ri(a.validatingFields,je),!r.shouldUnregister&&!Ce.keepDefaultValue&&ri(f,je)}M&&F.state.next({values:pn(s)}),F.state.next({...a,...Ce.keepDirty?{}:{isDirty:ce()}}),!Ce.keepIsValid&&X()},oi=({disabled:Se,name:Ce})=>{if(LZ(Se)&&l.mount||!!Se||c.disabled.has(Ce)){let bt=c.disabled.has(Ce)!==!!Se;Se?c.disabled.add(Ce):c.disabled.delete(Ce),bt&&l.mount&&!l.action&&X()}},mn=(Se,Ce={})=>{let je=Zr(i,Se),ct=LZ(Ce.disabled)||LZ(r.disabled),bt=!c.registerName.has(Se)&&je&&je._f&&!je._f.mount;if(ha(i,Se,{...je||{},_f:{...je&&je._f?je._f:{ref:{name:Se}},name:Se,mount:!0,...Ce}}),c.mount.add(Se),je&&!bt)oi({disabled:LZ(Ce.disabled)?Ce.disabled:r.disabled,name:Se});else Ne(Se,!0,Ce.value);return{...ct?{disabled:Ce.disabled||r.disabled}:{},...r.progressive?{required:!!Ce.required,min:cD(Ce.min),max:cD(Ce.max),minLength:cD(Ce.minLength),maxLength:cD(Ce.maxLength),pattern:cD(Ce.pattern)}:{},name:Se,onChange:Wt,onBlur:Wt,ref:(jt)=>{if(jt){c.registerName.add(Se),mn(Se,Ce),c.registerName.delete(Se),je=Zr(i,Se);let ar=ga(jt.value)?jt.querySelectorAll?jt.querySelectorAll("input,select,textarea")[0]||jt:jt:jt,Dt=FSt(ar),ht=je._f.refs||[];if(Dt?ht.find((Cr)=>Cr===ar):ar===je._f.ref)return;let Bt={...je._f};if(Dt)Bt.refs=[...ht.filter(IW),ar,...Array.isArray(Zr(f,Se))?[{}]:[]],Bt.ref={type:ar.type,name:Se};else Bt.ref=ar,delete Bt.refs;ha(i,Se,{_f:Bt}),Ne(Se,!1,void 0,ar)}else{if(je=Zr(i,Se,{}),je._f)je._f.mount=!1;(r.shouldUnregister||Ce.shouldUnregister)&&!(LSt(c.array,Se)&&l.action)&&c.unMount.add(Se)}}}},qo=()=>r.shouldFocusError&&!r.shouldUseNativeValidation&&uD(i,Kt,c.mount),Dn=(Se)=>{if(LZ(Se))F.state.next({disabled:Se}),uD(i,(Ce,je)=>{let ct=Zr(i,je);if(ct){if(Ce.disabled=ct._f.disabled||Se,Array.isArray(ct._f.refs))ct._f.refs.forEach((bt)=>{bt.disabled=ct._f.disabled||Se})}},0,!1)},an=(Se,Ce)=>async(je)=>{let ct=void 0,bt=void 0;if(je)je.preventDefault&&je.preventDefault(),je.persist&&je.persist();let jt=pn(s);if(F.state.next({isSubmitting:!0}),r.resolver){let{errors:ar,values:Dt}=await ft();J(),a.errors=ar,jt=pn(Dt)}else await Et({fields:i,eventType:mR.SUBMIT});if(c.disabled.size)for(let ar of c.disabled)ri(jt,ar);if(ri(a.errors,z8e),af(a.errors)){F.state.next({errors:{}});try{ct=await Se(jt,je)}catch(ar){bt=ar}}else{if(Ce)await Ce({...a.errors},je);qo(),setTimeout(qo)}if(F.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:af(a.errors)&&!bt,submitCount:a.submitCount+1,errors:a.errors}),bt)throw bt;return ct},Vi=(Se,Ce={})=>{if(Zr(i,Se)){if(ga(Ce.defaultValue))$t(Se,pn(Zr(f,Se)));else $t(Se,Ce.defaultValue),ha(f,Se,pn(Ce.defaultValue));if(!Ce.keepTouched)ri(a.touchedFields,Se);if(!Ce.keepDirty)ri(a.dirtyFields,Se),a.isDirty=Ce.defaultValue?ce(Se,pn(Zr(f,Se))):ce();if(!Ce.keepError)ri(a.errors,Se),_.isValid&&X();F.state.next({...a})}},He=(Se,Ce={})=>{let je=Se?pn(Se):f,ct=pn(je),bt=af(Se),jt=ct,ar=i;if(!Ce.keepDefaultValues)f=je;if(!Ce.keepValues){if(Ce.keepDirtyValues){let Dt=new Set([...c.mount,...R8e(jL(f,s,void 0,ar),a.dirtyFields)]);for(let ht of Dt){let Bt=Zr(a.dirtyFields,ht),Cr=Zr(s,ht),Or=Zr(jt,ht);if(Bt&&!ga(Cr))ha(jt,ht,Cr);else if(!Bt&&!ga(Or))$t(ht,Or)}}else{if(hF&&ga(Se))for(let Dt of c.mount){let ht=Zr(i,Dt);if(ht&&ht._f){let Bt=Array.isArray(ht._f.refs)?ht._f.refs[0]:ht._f.ref;if(ZF(Bt)){let Cr=Bt.closest("form");if(Cr){Cr.reset();break}}}}if(Ce.keepFieldsRef)for(let Dt of c.mount)$t(Dt,Zr(jt,Dt));else i={}}if(r.shouldUnregister){if(s=Ce.keepDefaultValues?pn(f):{},Ce.keepFieldsRef)for(let Dt of c.mount)ha(s,Dt,Zr(jt,Dt))}else s=pn(jt);F.array.next({values:{...jt}}),F.state.next({name:void 0,type:void 0,values:{...jt}})}if(c={mount:Ce.keepDirtyValues?c.mount:new Set,unMount:new Set,array:new Set,registerName:new Set,disabled:new Set,watch:new Set,watchAll:!1,focus:""},l.mount=!_.isValid||!!Ce.keepIsValid||!!Ce.keepDirtyValues||!r.shouldUnregister&&!af(jt),l.watch=!!r.shouldUnregister,l.keepIsValid=!!Ce.keepIsValid,l.action=!1,l.actionArrayLengths.clear(),!Ce.keepErrors)a.errors={};F.state.next({submitCount:Ce.keepSubmitCount?a.submitCount:0,isDirty:bt?!1:Ce.keepDirty?a.isDirty:Ce.keepValues?ce():!!(Ce.keepDefaultValues&&!Au(Se,f)),isSubmitted:Ce.keepIsSubmitted?a.isSubmitted:!1,dirtyFields:bt?{}:Ce.keepDirtyValues?Ce.keepDefaultValues&&s?jL(f,s,void 0,ar):a.dirtyFields:Ce.keepDefaultValues&&Se?jL(f,Se,void 0,ar):Ce.keepDirty?a.dirtyFields:{},touchedFields:Ce.keepTouched?a.touchedFields:{},errors:Ce.keepErrors?a.errors:{},isSubmitSuccessful:Ce.keepIsSubmitSuccessful?a.isSubmitSuccessful:!1,isSubmitting:!1,defaultValues:f})},kt=(Se,Ce)=>He(ou(Se)?Se(s):Se,{...r.resetOptions,...Ce}),pr=(Se,Ce={})=>{let je=Zr(i,Se),ct=je&&je._f;if(ct){let bt=ct.refs?ct.refs[0]:ct.ref;if(bt.focus)setTimeout(()=>{bt.focus(),Ce.shouldSelect&&ou(bt.select)&&bt.select()})}},jr=(Se)=>{let{name:Ce,type:je,values:ct,...bt}=Se;a={...a,...bt}};F.state.subscribe({next:jr});let Ca={control:{register:mn,unregister:po,getFieldState:dr,handleSubmit:an,setError:tr,_subscribe:lo,_runSchema:ft,_updateIsValidating:J,_focusError:qo,_getWatch:mt,_getDirty:ce,_setValid:X,_setFieldArray:te,_setDisabledField:oi,_setErrors:ae,_getFieldArray:Vt,_reset:He,_resetDefaultValues:()=>ou(r.defaultValues)&&r.defaultValues().then((Se)=>{kt(Se,r.resetOptions),F.state.next({isLoading:!1})}),_removeUnmounted:Yt,_disableForm:Dn,_subjects:F,_proxyFormState:_,get _fields(){return i},get _formValues(){return s},get _state(){return l},set _state(Se){l=Se},get _defaultValues(){return f},get _names(){return c},set _names(Se){c=Se},get _formState(){return a},get _options(){return r},set _options(Se){r={...r,...Se},x=uF(r.mode),b=uF(r.reValidateMode)}},subscribe:jo,trigger:ur,register:mn,handleSubmit:an,watch:Fr,setValue:$t,setValues:Er,getValues:Ir,getErrors:Rr,reset:kt,resetField:Vi,resetDefaultValues:(Se,Ce={})=>{if(f=pn(Se),!Ce.keepDirty){let je=jL(f,s,void 0,i);a.dirtyFields=je,a.isDirty=!af(je)}if(!Ce.keepIsValid)X();F.state.next({...a,defaultValues:f})},clearErrors:Zo,unregister:po,setError:tr,setFocus:pr,getFieldState:dr};return{...Ca,formControl:Ca}}function Ml(e={}){let r=w(void 0),a=w(void 0),i=w(e.formControl),[f,s]=u(()=>({...pn(E8e),isLoading:ou(e.defaultValues),errors:e.errors||{},disabled:e.disabled||!1,defaultValues:ou(e.defaultValues)?void 0:e.defaultValues}));if(!r.current||e.formControl&&i.current!==e.formControl)if(i.current=e.formControl,e.formControl){if(r.current={...e.formControl,formState:f},e.defaultValues&&!ou(e.defaultValues))e.formControl.reset(e.defaultValues,e.resetOptions)}else{let{formControl:g,...M}=JSt(e);r.current={...M,formState:f}}let l=r.current.control;l._options=e;let{resyncIfNeeded:c,snapshot:m}=ASt();return PSt(()=>{let g=()=>({...l._formState,defaultValues:l._defaultValues});c(!0,g,s);let M=l._subscribe({formState:l._proxyFormState,callback:()=>s({...l._formState,defaultValues:l._defaultValues}),reRenderRoot:!0});return s((x)=>({...x,isReady:!0})),l._formState.isReady=!0,()=>{M(),m(!0,g)}},[l,c,m]),h(()=>l._disableForm(e.disabled),[l,e.disabled]),h(()=>{if(e.mode)l._options.mode=e.mode;if(e.reValidateMode)l._options.reValidateMode=e.reValidateMode},[l,e.mode,e.reValidateMode]),h(()=>{if(e.errors)l._setErrors(e.errors),l._focusError()},[l,e.errors]),h(()=>{e.shouldUnregister&&l._subjects.state.next({values:l._getWatch()})},[l,e.shouldUnregister]),h(()=>{if(l._proxyFormState.isDirty){let g=l._getDirty();if(g!==f.isDirty)l._subjects.state.next({isDirty:g})}},[l,f.isDirty]),h(()=>{var g;if(e.values&&!Au(e.values,a.current)){if(l._reset(e.values,{keepFieldsRef:!0,...l._options.resetOptions}),!((g=l._options.resetOptions)===null||g===void 0?void 0:g.keepIsValid))l._setValid();a.current=e.values,s((M)=>({...M}))}else l._resetDefaultValues()},[l,e.values]),h(()=>{if(!l._state.mount)l._setValid(),l._state.mount=!0;if(l._state.watch)l._state.watch=!1,l._subjects.state.next({...l._formState});l._removeUnmounted()}),r.current.formState=O(()=>RSt(f,l),[l,f]),r.current}var O8e=(e,r,a)=>{if(e&&"reportValidity"in e){let i=Zr(a,r);e.setCustomValidity(i&&i.message||""),e.reportValidity()}},MF=(e,r)=>{for(let a in r.fields){let i=r.fields[a];i&&i.ref&&"reportValidity"in i.ref?O8e(i.ref,a,e):i&&i.refs&&i.refs.forEach((f)=>O8e(f,a,e))}},OW=(e,r)=>{r.shouldUseNativeValidation&&MF(e,r);let a={};for(let i in e){let f=Zr(r.fields,i),s=Object.assign(e[i]||{},{ref:f&&f.refs?f.refs[0]:f&&f.ref});if($St(r.names||Object.keys(e),i)){let l=Object.assign({},Zr(a,i));ha(l,"root",s),ha(a,i,l)}else ha(a,i,s)}return a},$St=(e,r)=>{let a=j8e(r).replace(/[.*+?^${}()|\\]/g,"\\$&");return e.some((i)=>j8e(i).match(`^${a}\\.\\d+`))};function j8e(e){return e.replace(/\[(\d+)]/g,".$1").replace(/[[\]]/g,"")}function jW(){return jW=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var a=arguments[r];for(var i in a)({}).hasOwnProperty.call(a,i)&&(e[i]=a[i])}return e},jW.apply(null,arguments)}function N8e(e,r){try{var a=e()}catch(i){return r(i)}return a&&a.then?a.then(void 0,r):a}function eLt(e,r){for(var a=Object.create(null);e.length;){var i=e[0],{code:f,message:s}=i,l=i.path.join(".");if(!a[l])if("unionErrors"in i){var c,m,g=i.unionErrors.reduce(function(b,y){return y.errors.length<b.errors.length?y:b}).errors[0];a[l]={message:(c=g==null?void 0:g.message)!=null?c:s,type:(m=g==null?void 0:g.code)!=null?m:f}}else a[l]={message:s,type:f};if("unionErrors"in i&&i.unionErrors.forEach(function(b){return b.errors.forEach(function(y){return e.push(y)})}),r){var M=a[l].types,x=M&&M[i.code];a[l]=gF(l,r,a,f,x?[].concat(x,i.message):i.message)}e.shift()}return a}function tLt(e,r){for(var a=Object.create(null),i=function(){var f=e[0],{code:s,message:l}=f,c=f.path.join(".");if(!a[c])if(f.code==="invalid_union"&&f.errors.length>0){var m,g,M=f.errors.reduce(function(y,_){return _.length<y.length?_:y})[0];a[c]={message:(m=M==null?void 0:M.message)!=null?m:l,type:(g=M==null?void 0:M.code)!=null?g:s}}else a[c]={message:l,type:s};if(f.code==="invalid_union"&&f.errors.forEach(function(y){return y.forEach(function(_){return e.push(jW({},_,{path:[].concat(f.path,_.path)}))})}),r){var x=a[c].types,b=x&&x[f.code];a[c]=gF(c,r,a,s,b?[].concat(b,f.message):f.message)}e.shift()};e.length;)i();return a}function Rl(e,r,a){if(a===void 0&&(a={}),function(i){return"_zod"in i&&typeof i._zod=="object"}(e))return function(i,f,s){try{return Promise.resolve(N8e(function(){function l(m){return s.shouldUseNativeValidation&&MF({},s),{errors:{},values:a.raw?Object.assign({},i):m}}var c=e;return a.mode==="sync"?l(c.parse(i,r)):Promise.resolve(c.parseAsync(i,r)).then(l)},function(l){if(function(c){var m;return!(c==null||(m=c._zod)==null||(m=m.traits)==null||!m.has("$ZodError"))}(l))return{values:{},errors:OW(tLt(l.issues,!s.shouldUseNativeValidation&&s.criteriaMode==="all"),s)};throw l}))}catch(l){return Promise.reject(l)}};if(function(i){return"_def"in i&&typeof i._def=="object"}(e))return function(i,f,s){try{return Promise.resolve(N8e(function(){return Promise.resolve(e[a.mode==="sync"?"parse":"parseAsync"](i,r)).then(function(l){return s.shouldUseNativeValidation&&MF({},s),{errors:{},values:a.raw?Object.assign({},i):l}})},function(l){if(function(c){return Array.isArray(c==null?void 0:c.issues)}(l))return{values:{},errors:OW(eLt(l.errors,!s.shouldUseNativeValidation&&s.criteriaMode==="all"),s)};throw l}))}catch(l){return Promise.reject(l)}};throw Error("Invalid input: not a Zod schema")}C();var rLt=P({email:p().email(bfe()),password:p().min(3,ep()),inviteCode:p().optional()});function oLt(){let e=Re(),a=NW.useSearch().inviteCode,[i,f]=u(null),[s,l]=u(!1),[c,m]=u(()=>n()==="zh"?"zh":"en"),g=(j)=>{m(j),Ei(j)},{data:M}=Z({queryKey:["invite",a],queryFn:async()=>{let j=await A.api.invite[":code"].$get({param:{code:a}});if(!j.ok)throw Error("Failed to fetch invite info");return await j.json()},enabled:!!a}),{data:x,isLoading:b}=Z({queryKey:["/signup-info"],queryFn:async()=>{let j=await A.api["signup-info"].$get();if(!j.ok)throw Error("Failed to fetch signup info");return await j.json()}}),y=cf((j)=>j.setUser),_=Ml({resolver:Rl(rLt),defaultValues:{inviteCode:a}}),k=async(j)=>{l(!0),f(null);let{data:G,error:X}=await Vie.email({email:j.email,password:j.password,name:j.email,inviteCode:j.inviteCode,locale:c});if(l(!1),X){f(X.message||ult());return}if(G)y(G.user),e({to:"/"})};if(b)return t("div",{className:"flex items-center justify-center min-h-screen bg-zinc-100/80 dark:bg-black",children:o("div",{className:"relative flex flex-col items-center",children:[t(sM,{className:"h-16 w-16 animate-pulse mb-4 text-rose-500 shadow-xl rounded-2xl"}),t(L,{className:"h-6 w-6 animate-spin text-rose-500/70"})]})});let F=x?.initialized===!1;if(!F&&!a)return o("div",{className:"min-h-screen w-full flex items-center justify-center p-4 md:p-8 bg-zinc-100/80 dark:bg-black font-sans overflow-hidden relative",children:[t("div",{className:"bg-rose-500/10 dark:bg-rose-600/5 w-[500px] h-[500px] rounded-full blur-[120px] absolute top-[-10%] left-[-10%] animate-drift-slow"}),t("div",{className:"bg-orange-500/10 dark:bg-orange-600/5 w-[500px] h-[500px] rounded-full blur-[120px] absolute bottom-[-10%] right-[-10%] animate-drift-medium"}),o(Ct,{className:"w-full max-w-md relative z-10 border border-zinc-200 dark:border-zinc-850 shadow-2xl bg-white dark:bg-zinc-900 rounded-3xl overflow-hidden",children:[o(Nt,{className:"text-center pt-8 pb-4",children:[t("div",{className:"flex justify-center mb-4",children:t(sM,{className:"h-16 w-16 shadow-lg shadow-rose-500/10 rounded-2xl"})}),t(Ot,{className:"text-2xl font-bold tracking-tight bg-gradient-to-r from-rose-500 to-orange-500 bg-clip-text text-transparent",children:Fat()}),t(Ht,{className:"mt-2 text-zinc-600 dark:text-zinc-400",children:Uat()})]}),t(u8e,{className:"flex flex-col gap-4 pb-8 text-center text-sm border-t border-zinc-200/30 dark:border-zinc-800/30 pt-6",children:o("p",{className:"text-zinc-500 dark:text-zinc-400",children:[mfe()," ",o("a",{href:"/login",className:"font-semibold text-rose-500 hover:text-rose-600 dark:text-rose-400 dark:hover:text-rose-300 transition-colors hover:underline inline-flex items-center gap-1",children:[_Ve()," ",t(Wn,{className:"w-3.5 h-3.5"})]})]})})]})]});return o(Tl,{children:[o("div",{className:"mb-8",children:[t("h1",{className:"text-2xl font-bold tracking-tight text-zinc-900 dark:text-zinc-50",children:b5e()}),t("p",{className:"text-zinc-500 dark:text-zinc-400 text-sm mt-1 mb-4",children:plt()}),F&&o("div",{className:"flex items-start gap-3 p-3 bg-amber-500/10 border border-amber-500/20 text-amber-800 dark:text-amber-300 rounded-2xl text-xs leading-relaxed font-medium",children:[t("span",{children:"\uD83C\uDF89"}),t("span",{children:ZUe()})]}),M&&!("error"in M)&&o("div",{className:"flex items-start gap-3 p-3 bg-rose-500/10 border border-rose-500/20 text-rose-800 dark:text-rose-300 rounded-2xl text-xs leading-relaxed font-medium mt-3",children:[t("span",{children:"\uD83D\uDC4B"}),t("span",{children:v9e({inviterName:M.inviterName,targetName:M.projectName||M.teamName,role:M.role})})]})]}),i&&t("div",{className:"mb-6 p-3 bg-red-500/10 border border-red-500/20 text-red-600 dark:text-red-400 rounded-xl text-sm text-center font-medium",children:i}),o("form",{onSubmit:_.handleSubmit(k),className:"space-y-5",children:[o("div",{className:"space-y-2",children:[t(V,{htmlFor:"email",className:"text-xs font-semibold text-zinc-600 dark:text-zinc-400 tracking-wide uppercase",children:Mfe()}),o("div",{className:"relative group",children:[t(Pz,{className:"absolute left-3.5 top-1/2 -translate-y-1/2 w-4 h-4 text-zinc-400 dark:text-zinc-600 transition-colors group-focus-within:text-rose-500"}),t(H,{id:"email",..._.register("email"),placeholder:"you@example.com",type:"email",className:"pl-10.5 h-11 border-zinc-200 dark:border-zinc-800 focus-visible:ring-rose-500/50 focus-visible:border-rose-500 rounded-xl transition-all shadow-sm"})]}),_.formState.errors.email&&t("p",{className:"text-red-500 text-xs font-medium",children:_.formState.errors.email.message})]}),o("div",{className:"space-y-2",children:[t(V,{htmlFor:"password",className:"text-xs font-semibold text-zinc-600 dark:text-zinc-400 tracking-wide uppercase",children:Xf()}),o("div",{className:"relative group",children:[t(Xr,{className:"absolute left-3.5 top-1/2 -translate-y-1/2 w-4 h-4 text-zinc-400 dark:text-zinc-600 transition-colors group-focus-within:text-rose-500"}),t(H,{id:"password",type:"password",..._.register("password"),placeholder:Zet(),className:"pl-10.5 h-11 border-zinc-200 dark:border-zinc-800 focus-visible:ring-rose-500/50 focus-visible:border-rose-500 rounded-xl transition-all shadow-sm"})]}),_.formState.errors.password&&t("p",{className:"text-red-500 text-xs font-medium",children:_.formState.errors.password.message})]}),t(S,{type:"submit",className:"w-full h-11 bg-gradient-to-r from-rose-500 to-orange-500 hover:from-rose-600 hover:to-orange-600 text-white font-semibold rounded-xl shadow-md shadow-rose-500/10 hover:shadow-rose-500/20 active:scale-[0.98] transition-all flex items-center justify-center gap-2 border-0",disabled:s,children:s?o(B,{children:[t(L,{className:"h-4 w-4 animate-spin"}),f4e()]}):o(B,{children:[t(FP,{className:"w-4 h-4"}),kfe()]})})]}),o("div",{className:"mt-12 pt-10 border-t border-zinc-200/30 dark:border-zinc-800/30 text-center text-sm flex flex justify-between gap-4",children:[o("div",{children:[o("span",{className:"text-zinc-500 dark:text-zinc-400",children:[mfe()," "]}),o("a",{href:"/login",className:"font-semibold text-rose-500 hover:text-rose-600 dark:text-rose-400 dark:hover:text-rose-300 transition-colors hover:underline inline-flex items-center gap-0.5",children:[_fe()," ",t(Wn,{className:"w-3.5 h-3.5"})]})]}),o("div",{className:"flex items-center gap-2 text-xs text-zinc-400 dark:text-zinc-500",children:[t("button",{type:"button",onClick:()=>g("en"),className:`cursor-pointer hover:text-zinc-800 dark:hover:text-zinc-200 transition-colors ${c==="en"?"font-bold text-rose-500 dark:text-rose-400":""}`,children:"English"}),t("span",{className:"text-zinc-300 dark:text-zinc-850",children:"/"}),t("button",{type:"button",onClick:()=>g("zh"),className:`cursor-pointer hover:text-zinc-800 dark:hover:text-zinc-200 transition-colors ${c==="zh"?"font-bold text-rose-500 dark:text-rose-400":""}`,children:"中文"})]})]})]})}var NW=Wr("/signup")({component:oLt,validateSearch:(e)=>({inviteCode:e.inviteCode||void 0}),beforeLoad:()=>{if(cf.getState().user)throw kl({to:"/"})}});var aLt=P({token:p().catch("")}),F8e=Wr("/reset-password")({validateSearch:(e)=>aLt.parse(e),beforeLoad:()=>{if(cf.getState().user)throw kl({to:"/"})}});C();var nLt=P({email:p().email(bfe()),password:p().min(1,fet())});function iLt(){let e=Re(),r=cf((x)=>x.setUser),[a,i]=u(null),[f,s]=u(!1),{data:l,isLoading:c}=Z({queryKey:["/signup-info"],queryFn:async()=>{let x=await A.api["signup-info"].$get();if(!x.ok)throw Error("Failed to fetch signup info");return await x.json()}});h(()=>{if(l&&!l.initialized)e({to:"/signup",search:{inviteCode:""}})},[l,e]);let m=l?.demoMode===!0,g=Ml({resolver:Rl(nLt)}),M=async(x)=>{s(!0),i(null);let{data:b,error:y}=await qie.email({email:x.email,password:x.password});if(s(!1),y){i(y.message||c9e());return}if(b)r(b.user),e({to:"/"})};if(c)return t("div",{className:"flex items-center justify-center min-h-screen bg-zinc-100/80 dark:bg-black",children:o("div",{className:"relative flex flex-col items-center",children:[t(sM,{className:"h-16 w-16 animate-pulse mb-4 text-rose-500 shadow-xl rounded-2xl"}),t(L,{className:"h-6 w-6 animate-spin text-rose-500/70"})]})});return o(Tl,{children:[o("div",{className:"mb-8",children:[t("h1",{className:"text-2xl font-bold tracking-tight text-zinc-900 dark:text-zinc-50",children:Lmt()}),t("p",{className:"text-zinc-500 dark:text-zinc-400 text-sm mt-1",children:SVe()})]}),m&&t("div",{className:"mb-6 p-4 bg-blue-500/10 border border-blue-500/20 text-blue-700 dark:text-blue-400 rounded-xl text-sm leading-relaxed",children:o("p",{children:[t("strong",{children:o3e()})," ",i3e()]})}),a&&t("div",{className:"mb-6 p-3 bg-red-500/10 border border-red-500/20 text-red-600 dark:text-red-400 rounded-xl text-sm text-center font-medium",children:a}),o("form",{onSubmit:g.handleSubmit(M),className:"space-y-5",children:[o("div",{className:"space-y-2",children:[t(V,{htmlFor:"email",className:"text-xs font-semibold text-zinc-600 dark:text-zinc-400 tracking-wide uppercase",children:Mfe()}),o("div",{className:"relative group",children:[t(Pz,{className:"absolute left-3.5 top-1/2 -translate-y-1/2 w-4 h-4 text-zinc-400 dark:text-zinc-600 transition-colors group-focus-within:text-rose-500"}),t(H,{id:"email",...g.register("email"),placeholder:"you@example.com",type:"email",className:"pl-10.5 h-11 border-zinc-200 dark:border-zinc-800 focus-visible:ring-rose-500/50 focus-visible:border-rose-500 rounded-xl transition-all shadow-sm"})]}),g.formState.errors.email&&t("p",{className:"text-red-500 text-xs font-medium",children:g.formState.errors.email.message})]}),o("div",{className:"space-y-2",children:[t(V,{htmlFor:"password",className:"text-xs font-semibold text-zinc-600 dark:text-zinc-400 tracking-wide uppercase",children:Xf()}),o("div",{className:"relative group",children:[t(Xr,{className:"absolute left-3.5 top-1/2 -translate-y-1/2 w-4 h-4 text-zinc-400 dark:text-zinc-600 transition-colors group-focus-within:text-rose-500"}),t(H,{id:"password",type:"password",...g.register("password"),placeholder:het(),className:"pl-10.5 h-11 border-zinc-200 dark:border-zinc-800 focus-visible:ring-rose-500/50 focus-visible:border-rose-500 rounded-xl transition-all shadow-sm"})]}),g.formState.errors.password&&t("p",{className:"text-red-500 text-xs font-medium",children:g.formState.errors.password.message})]}),t(S,{type:"submit",className:"w-full h-11 bg-gradient-to-r from-rose-500 to-orange-500 hover:from-rose-600 hover:to-orange-600 text-white font-semibold rounded-xl shadow-md shadow-rose-500/10 hover:shadow-rose-500/20 active:scale-[0.98] transition-all flex items-center justify-center gap-2 border-0",disabled:f,children:f?o(B,{children:[t(L,{className:"h-4 w-4 animate-spin"}),MVe()]}):o(B,{children:[t(NP,{className:"w-4 h-4"}),_fe()]})})]}),o("div",{className:"mt-8 pt-6 border-t border-zinc-200/30 dark:border-zinc-800/30 text-center text-sm",children:[t("span",{className:"text-zinc-500 dark:text-zinc-400",children:PKe()}),o("a",{href:"/signup",className:"font-semibold text-rose-500 hover:text-rose-600 dark:text-rose-400 dark:hover:text-rose-300 transition-colors hover:underline inline-flex items-center gap-0.5",children:[kfe()," ",t(Wn,{className:"w-3.5 h-3.5"})]})]})]})}var B8e=Wr("/login")({component:iLt,beforeLoad:()=>{if(cf.getState().user)throw kl({to:"/"})}});C();function Y8e(){let e=Re(),{data:r,isLoading:a}=Z({queryKey:["teams"],queryFn:async()=>{let s=await A.api.teams.$get({query:{}});if(!s.ok)throw Error("Failed to get teams");return await s.json()}}),i=r?.data,f=i?.length===1?i[0].id:null;if(h(()=>{if(f)e({to:`/teams/${f}`})},[f,e]),a)return t("div",{children:pd()});if(f)return null;return t(pe,{open:!0,children:o(ue,{children:[o(me,{children:[t(de,{children:eft()}),t(Tt,{children:Xft()})]}),t("div",{className:"space-y-2",children:i?.map((s)=>t("div",{className:"p-2 border rounded-md cursor-pointer hover:bg-gray-100",onClick:()=>e({to:`/teams/${s.id}`}),children:s.name},s.id))})]})})}C();function fLt(){let e=cf((a)=>a.user),r=Re();if(h(()=>{if(!e)r({to:"/login"})},[e,r]),!e)return null;return t(Y8e,{})}var U8e=Wr("/")({component:fLt});function sLt(){return t(RM,{})}var q8e=Wr("/share/$shareId")({component:sLt});var V8e=Wr("/teams/$teamId/")({});var H8e=Wr("/share/$shareId/")({});function le({className:e,...r}){return t("div",{"data-slot":"skeleton",className:E("animate-pulse rounded-md bg-accent",e),...r})}function _t(){return o("div",{className:"flex h-screen flex-col bg-background min-h-0",children:[o("div",{className:"flex h-14 items-center justify-between border-b px-6 shrink-0",children:[o("div",{className:"flex items-center gap-2",children:[t(le,{className:"h-4 w-24"}),t("span",{className:"text-muted-foreground",children:"/"}),t(le,{className:"h-4 w-32"})]}),o("div",{className:"flex items-center gap-2",children:[t(le,{className:"h-8 w-8 rounded-md"}),t(le,{className:"h-8 w-20 rounded-md"})]})]}),o("div",{className:"flex flex-1 overflow-hidden",children:[o("div",{className:"w-[240px] border-r p-4 space-y-4 hidden md:block shrink-0",children:[o("div",{className:"flex items-center gap-2",children:[t(le,{className:"h-4 w-4 rounded"}),t(le,{className:"h-4 w-24"})]}),o("div",{className:"pl-4 space-y-3",children:[o("div",{className:"flex items-center gap-2",children:[t(le,{className:"h-3 w-3 rounded"}),t(le,{className:"h-3 w-28"})]}),o("div",{className:"flex items-center gap-2",children:[t(le,{className:"h-3 w-3 rounded"}),t(le,{className:"h-3 w-20"})]}),o("div",{className:"flex items-center gap-2",children:[t(le,{className:"h-3 w-3 rounded"}),t(le,{className:"h-3 w-24"})]})]})]}),o("div",{className:"flex-1 p-6 space-y-6 overflow-y-auto",children:[o("div",{className:"flex items-center justify-between border-b pb-4",children:[o("div",{className:"flex items-center gap-4",children:[t(le,{className:"h-5 w-40"}),t(le,{className:"h-4 w-20"})]}),o("div",{className:"flex items-center gap-2",children:[t(le,{className:"h-8 w-8 rounded"}),t(le,{className:"h-8 w-8 rounded"}),t(le,{className:"h-8 w-32 rounded"})]})]}),o("div",{className:"space-y-4",children:[t("div",{className:"flex items-center gap-2",children:t(le,{className:"h-4 w-24"})}),t("div",{className:"grid grid-cols-1 gap-4 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 xl:grid-cols-5",children:Array.from({length:10}).map((e,r)=>o("div",{className:"flex flex-col rounded-lg border bg-card p-3 space-y-3",children:[t(le,{className:"aspect-square w-full rounded-md"}),o("div",{className:"space-y-2",children:[t(le,{className:"h-4 w-3/4"}),o("div",{className:"flex justify-between items-center",children:[t(le,{className:"h-3 w-1/4"}),t(le,{className:"h-3 w-1/3"})]})]})]},r))})]})]})]})]})}function Xg(){return o("div",{className:"h-screen flex flex-col bg-background",children:[o("div",{className:"flex h-14 items-center justify-between border-b px-6 shrink-0",children:[o("div",{className:"flex items-center gap-2",children:[t(le,{className:"h-4 w-16"}),t("span",{className:"text-muted-foreground",children:"/"}),t(le,{className:"h-4 w-28"}),t("span",{className:"text-muted-foreground",children:"/"}),t(le,{className:"h-4 w-32"})]}),t("div",{className:"flex items-center gap-2",children:t(le,{className:"h-8 w-20 rounded"})})]}),o("div",{className:"flex flex-1 overflow-hidden",children:[o("div",{className:"w-[280px] border-r p-4 flex flex-col gap-4 shrink-0 hidden md:flex",children:[t(le,{className:"h-5 w-24"}),t("div",{className:"space-y-3 flex-1 overflow-y-auto",children:Array.from({length:4}).map((e,r)=>o("div",{className:"flex gap-3 p-2 rounded border",children:[t(le,{className:"h-12 w-12 rounded bg-muted shrink-0"}),o("div",{className:"space-y-2 flex-1",children:[t(le,{className:"h-3 w-2/3"}),t(le,{className:"h-2 w-1/2"})]})]},r))})]}),o("div",{className:"flex-1 bg-muted/20 p-6 flex flex-col justify-between relative min-w-0",children:[t("div",{className:"flex-1 flex items-center justify-center",children:t(le,{className:"w-full max-w-4xl aspect-video rounded-lg shadow-lg"})}),o("div",{className:"mt-4 flex items-center justify-between shrink-0",children:[o("div",{className:"flex items-center gap-4",children:[t(le,{className:"h-8 w-8 rounded-full"}),t(le,{className:"h-4 w-32"})]}),t(le,{className:"h-4 w-24"})]})]}),o("div",{className:"w-[360px] border-l p-4 flex flex-col gap-6 shrink-0 hidden lg:flex bg-card",children:[o("div",{className:"space-y-4",children:[t(le,{className:"h-5 w-32"}),t("div",{className:"space-y-3",children:Array.from({length:3}).map((e,r)=>o("div",{className:"flex justify-between items-center py-1 border-b",children:[t(le,{className:"h-3 w-20"}),t(le,{className:"h-3 w-32"})]},r))})]}),o("div",{className:"flex-1 flex flex-col gap-4",children:[t(le,{className:"h-5 w-24"}),t("div",{className:"space-y-3 flex-1 overflow-y-auto",children:Array.from({length:3}).map((e,r)=>o("div",{className:"flex gap-3 p-3 rounded-lg border bg-muted/10",children:[t(le,{className:"h-8 w-8 rounded-full shrink-0"}),o("div",{className:"space-y-2 flex-1",children:[o("div",{className:"flex justify-between",children:[t(le,{className:"h-3 w-24"}),t(le,{className:"h-2 w-12"})]}),t(le,{className:"h-3 w-full"}),t(le,{className:"h-3 w-5/6"})]})]},r))})]})]})]})]})}function eA({displayStyle:e="card"}){if(e==="list")return t("div",{className:"p-4 space-y-2","data-testid":"file-browser-loading-skeleton",children:Array.from({length:8}).map((r,a)=>o("div",{className:"flex items-center gap-4 py-2 border-b border-border/40",children:[t(le,{className:"h-4 w-4 rounded"}),t(le,{className:"h-4 w-4 rounded"}),t(le,{className:"h-4 w-48"}),o("div",{className:"ml-auto flex items-center gap-8",children:[t(le,{className:"h-3 w-16"}),t(le,{className:"h-3 w-24"})]})]},a))});return t("div",{className:"p-4 space-y-4","data-testid":"file-browser-loading-skeleton",children:t("div",{className:"grid grid-cols-1 gap-4 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 xl:grid-cols-5",children:Array.from({length:10}).map((r,a)=>o("div",{className:"flex flex-col rounded-lg border bg-card p-3 space-y-3",children:[t(le,{className:"aspect-square w-full rounded-md"}),o("div",{className:"space-y-2",children:[t(le,{className:"h-4 w-3/4"}),o("div",{className:"flex justify-between items-center",children:[t(le,{className:"h-3 w-1/4"}),t(le,{className:"h-3 w-1/3"})]})]})]},a))})})}function tA(){return t("div",{className:"p-3 space-y-3 max-w-lg mx-auto w-full","data-testid":"mobile-file-browser-loading-skeleton",children:Array.from({length:6}).map((e,r)=>o("div",{className:"flex items-center gap-3 p-3 rounded-lg border bg-card",children:[t(le,{className:"h-10 w-10 rounded-md shrink-0"}),o("div",{className:"space-y-2 flex-1",children:[t(le,{className:"h-4 w-3/4"}),t(le,{className:"h-3 w-1/3"})]})]},r))})}var Up=(e)=>({queryKey:["projects",e],queryFn:async()=>{let r=await A.api.projects[":projectId"].$get({param:{projectId:e}});if(!r.ok)throw Error("failed to fetch project");return await r.json()}}),W8e=Wr("/projects/$projectId/")({loader:({context:{queryClient:e},params:{projectId:r}})=>e.ensureQueryData(Up(r)),pendingComponent:()=>t(_t,{})});var G8e=Wr("/teams/$teamId/settings")({});var lLt=P({taskId:p().optional()}),K8e=Wr("/teams/$teamId/kanban")({validateSearch:(e)=>lLt.parse(e)});var X8e=Wr("/teams/$teamId/dashboard")({});var Fp=(e)=>({queryKey:["projects",e],queryFn:async()=>{let r=await A.api.projects[":projectId"].$get({param:{projectId:e}});if(!r.ok)throw Error("Failed to fetch project");return await r.json()}}),Q8e=Wr("/projects/$projectId/recents")({loader:({context:{queryClient:e},params:{projectId:r}})=>e.ensureQueryData(Fp(r)),pendingComponent:()=>t(_t,{})});var zp=(e)=>({queryKey:["projects",e],queryFn:async()=>{let r=await A.api.projects[":projectId"].$get({param:{projectId:e}});if(!r.ok)throw Error("Failed to fetch project");return await r.json()}}),J8e=Wr("/projects/$projectId/recently-deleted")({loader:({context:{queryClient:e},params:{projectId:r}})=>e.ensureQueryData(zp(r)),pendingComponent:()=>t(_t,{})});var jp=(e)=>({queryKey:["projects",e],queryFn:async()=>{let r=await A.api.projects[":projectId"].$get({param:{projectId:e}});if(!r.ok)throw Error("failed to fetch project");return await r.json()}}),$8e=Wr("/projects/$projectId/agentsmd")({loader:({context:{queryClient:e},params:{projectId:r}})=>e.ensureQueryData(jp(r)),pendingComponent:()=>t(_t,{})});var qp=(e)=>({queryKey:["projects",e],queryFn:async()=>{let r=await A.api.projects[":projectId"].$get({param:{projectId:e}});if(!r.ok)throw Error("Failed to fetch project");return await r.json()}}),exe=Wr("/projects/$projectId/shares/")({loader:({context:{queryClient:e},params:{projectId:r}})=>e.ensureQueryData(qp(r)),pendingComponent:()=>t(_t,{})});var Hp=(e)=>({queryKey:["projects",e],queryFn:async()=>{let r=await A.api.projects[":projectId"].$get({param:{projectId:e}});if(!r.ok)throw Error("Failed to fetch project");return await r.json()}}),txe=Wr("/projects/$projectId/collections/")({loader:({context:{queryClient:e},params:{projectId:r}})=>e.ensureQueryData(Hp(r)),pendingComponent:()=>t(_t,{})});var rxe=Wr("/share/$shareId/folders/$folderId")({});var oxe=Wr("/share/$shareId/files/$fileId")({validateSearch:(e)=>({start:e.start?Number(e.start):void 0,version:e.version||void 0,compare:e.compare===!0||e.compare==="true"||void 0,cmpLeft:e.cmpLeft||void 0,cmpRight:e.cmpRight||void 0,cmpActive:e.cmpActive==="right"?"right":void 0})});var $p=(e)=>({queryKey:["projects",e],queryFn:async()=>{let r=await A.api.projects[":projectId"].$get({param:{projectId:e}});if(!r.ok)throw Error("Failed to fetch project");return await r.json()}}),axe=Wr("/projects/$projectId/shares/$shareId")({loader:({context:{queryClient:e},params:{projectId:r}})=>e.ensureQueryData($p(r)),pendingComponent:()=>t(_t,{})});var Gp=(e)=>({queryKey:["projects",e],queryFn:async()=>{let r=await A.api.projects[":projectId"].$get({param:{projectId:e}});if(!r.ok)throw Error("Failed to fetch project");return await r.json()}}),nxe=Wr("/projects/$projectId/folders/$folderId")({loader:({context:{queryClient:e},params:{projectId:r}})=>e.ensureQueryData(Gp(r)),pendingComponent:()=>t(_t,{})});var ixe=Wr("/projects/$projectId/files/$fileId")({validateSearch:(e)=>({version:e.version||void 0,start:e.start?Number(e.start):void 0,compare:e.compare===!0||e.compare==="true"||void 0,cmpLeft:e.cmpLeft||void 0,cmpRight:e.cmpRight||void 0,cmpActive:e.cmpActive==="right"?"right":void 0})});var Qp=(e)=>({queryKey:["projects",e],queryFn:async()=>{let r=await A.api.projects[":projectId"].$get({param:{projectId:e}});if(!r.ok)throw Error("Failed to fetch project");return await r.json()}}),rA=(e)=>({queryKey:["collections",e],queryFn:async()=>{let r=await A.api.collections[":collectionId"].$get({param:{collectionId:e}});if(!r.ok)throw Error("Failed to fetch collection");return await r.json()}}),fxe=Wr("/projects/$projectId/collections/$collectionId")({loader:({context:{queryClient:e},params:{projectId:r}})=>e.ensureQueryData(Qp(r)),pendingComponent:()=>t("div",{children:wh()})});var Vp=(e)=>({queryKey:["projects",e],queryFn:async()=>{let r=await A.api.projects[":projectId"].$get({param:{projectId:e}});if(!r.ok)throw Error("Failed to fetch project");return await r.json()}}),sxe=Wr("/projects/$projectId/folders/$folderId_/agentsmd")({loader:({context:{queryClient:e},params:{projectId:r}})=>e.ensureQueryData(Vp(r)),pendingComponent:()=>t(_t,{})});var cLt=NW.update({id:"/signup",path:"/signup",getParentRoute:()=>Tn}),uLt=F8e.update({id:"/reset-password",path:"/reset-password",getParentRoute:()=>Tn}).lazy(()=>import("./chunk-wndm3px3.js").then((e)=>e.Route)),dLt=B8e.update({id:"/login",path:"/login",getParentRoute:()=>Tn}),ZLt=U8e.update({id:"/",path:"/",getParentRoute:()=>Tn}),vF=q8e.update({id:"/share/$shareId",path:"/share/$shareId",getParentRoute:()=>Tn}),pLt=V8e.update({id:"/teams/$teamId/",path:"/teams/$teamId/",getParentRoute:()=>Tn}).lazy(()=>import("./chunk-a6gx7f5q.js").then((e)=>e.Route)),mLt=H8e.update({id:"/",path:"/",getParentRoute:()=>vF}).lazy(()=>import("./chunk-jffktpqg.js").then((e)=>e.Route)),hLt=W8e.update({id:"/projects/$projectId/",path:"/projects/$projectId/",getParentRoute:()=>Tn}).lazy(()=>import("./chunk-16xax8kk.js").then((e)=>e.Route)),gLt=G8e.update({id:"/teams/$teamId/settings",path:"/teams/$teamId/settings",getParentRoute:()=>Tn}).lazy(()=>import("./chunk-4mjywsj8.js").then((e)=>e.Route)),MLt=K8e.update({id:"/teams/$teamId/kanban",path:"/teams/$teamId/kanban",getParentRoute:()=>Tn}).lazy(()=>import("./chunk-q806pqeh.js").then((e)=>e.Route)),vLt=X8e.update({id:"/teams/$teamId/dashboard",path:"/teams/$teamId/dashboard",getParentRoute:()=>Tn}).lazy(()=>import("./chunk-2w5xqhjm.js").then((e)=>e.Route)),xLt=Q8e.update({id:"/projects/$projectId/recents",path:"/projects/$projectId/recents",getParentRoute:()=>Tn}).lazy(()=>import("./chunk-d27mm390.js").then((e)=>e.Route)),yLt=J8e.update({id:"/projects/$projectId/recently-deleted",path:"/projects/$projectId/recently-deleted",getParentRoute:()=>Tn}).lazy(()=>import("./chunk-0cmx7k4c.js").then((e)=>e.Route)),bLt=$8e.update({id:"/projects/$projectId/agentsmd",path:"/projects/$projectId/agentsmd",getParentRoute:()=>Tn}).lazy(()=>import("./chunk-3zkasqb8.js").then((e)=>e.Route)),_Lt=exe.update({id:"/projects/$projectId/shares/",path:"/projects/$projectId/shares/",getParentRoute:()=>Tn}).lazy(()=>import("./chunk-k2k9vjq6.js").then((e)=>e.Route)),wLt=txe.update({id:"/projects/$projectId/collections/",path:"/projects/$projectId/collections/",getParentRoute:()=>Tn}).lazy(()=>import("./chunk-nbdw8fen.js").then((e)=>e.Route)),zLt=rxe.update({id:"/folders/$folderId",path:"/folders/$folderId",getParentRoute:()=>vF}).lazy(()=>import("./chunk-84as6x83.js").then((e)=>e.Route)),SLt=oxe.update({id:"/files/$fileId",path:"/files/$fileId",getParentRoute:()=>vF}).lazy(()=>import("./chunk-x5jwwvs0.js").then((e)=>e.Route)),LLt=axe.update({id:"/projects/$projectId/shares/$shareId",path:"/projects/$projectId/shares/$shareId",getParentRoute:()=>Tn}).lazy(()=>import("./chunk-fsyzs0tf.js").then((e)=>e.Route)),kLt=nxe.update({id:"/projects/$projectId/folders/$folderId",path:"/projects/$projectId/folders/$folderId",getParentRoute:()=>Tn}).lazy(()=>import("./chunk-9ybt6vbm.js").then((e)=>e.Route)),ILt=ixe.update({id:"/projects/$projectId/files/$fileId",path:"/projects/$projectId/files/$fileId",getParentRoute:()=>Tn}).lazy(()=>import("./chunk-fxecgp5k.js").then((e)=>e.Route)),CLt=fxe.update({id:"/projects/$projectId/collections/$collectionId",path:"/projects/$projectId/collections/$collectionId",getParentRoute:()=>Tn}).lazy(()=>import("./chunk-vy8gntez.js").then((e)=>e.Route)),RLt=sxe.update({id:"/projects/$projectId/folders/$folderId_/agentsmd",path:"/projects/$projectId/folders/$folderId/agentsmd",getParentRoute:()=>Tn}).lazy(()=>import("./chunk-x92cq59c.js").then((e)=>e.Route)),PLt={ShareShareIdIndexRoute:mLt,ShareShareIdFilesFileIdRoute:SLt,ShareShareIdFoldersFolderIdRoute:zLt},TLt=vF._addFileChildren(PLt),ALt={IndexRoute:ZLt,LoginRoute:dLt,ResetPasswordRoute:uLt,SignupRoute:cLt,ShareShareIdRoute:TLt,ProjectsProjectIdAgentsmdRoute:bLt,ProjectsProjectIdRecentlyDeletedRoute:yLt,ProjectsProjectIdRecentsRoute:xLt,TeamsTeamIdDashboardRoute:vLt,TeamsTeamIdKanbanRoute:MLt,TeamsTeamIdSettingsRoute:gLt,ProjectsProjectIdIndexRoute:hLt,TeamsTeamIdIndexRoute:pLt,ProjectsProjectIdCollectionsCollectionIdRoute:CLt,ProjectsProjectIdFilesFileIdRoute:ILt,ProjectsProjectIdFoldersFolderIdRoute:kLt,ProjectsProjectIdSharesShareIdRoute:LLt,ProjectsProjectIdCollectionsIndexRoute:wLt,ProjectsProjectIdSharesIndexRoute:_Lt,ProjectsProjectIdFoldersFolderIdAgentsmdRoute:RLt},lxe=Tn._addFileChildren(ALt)._addFileTypes();if(typeof window<"u"){let e=["ResizeObserver loop limit exceeded","ResizeObserver loop completed with undelivered notifications."];window.addEventListener("error",(r)=>{if(e.includes(r.message))r.stopImmediatePropagation()})}var cxe=new YF,DLt=b3({routeTree:lxe,context:{queryClient:cxe}});mee(document.getElementById("root")).render(t(IF,{children:t(RF,{client:cxe,children:t(Mee,{defaultTheme:"system",storageKey:"vite-ui-theme",children:t(_3,{router:DLt})})})}));export{Q,Cs,yn,ra,Fa,xt,q,D,wc,N,St,h,Nu,ln,Ge,O,Ao,w,u,Vn,Es,C,B,t,o,K,Ou,Du,mr,vc,za,wi,yo,qt,Vo,Lu,Zu,Bu,dm,Uu,xc,Fu,nl,Z,U,ut,Sc,Re,ja,Ln,Zn,Fe,Kn,qa,ol,Is,sl,al,il,zu,Ts,ll,ju,Tr,A,T,br,Bn,wr,cr,L,_n,ko,Hr,$r,Wn,Ha,$a,wt,Un,Me,be,Gr,pt,vi,hr,vt,Fn,Xt,xi,Ms,or,Rs,Yn,Ko,Jn,ks,Po,Xr,_o,Si,fe,Ut,Ci,bo,ve,De,E,as,dt,he,Y,It,vr,na,Lt,se,sr,oa,sa,zn,aa,cl,ul,dl,qu,Hu,$u,Gu,Qu,Vu,Ku,Wu,Yu,ia,Cc,S,bn,wn,vn,xn,Ee,Ie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