@shumai-one/shumai 0.5.2 → 0.6.0

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.
Files changed (146) hide show
  1. package/bin/{chunk-qxscgcn9.js → chunk-01ym2agz.js} +1 -1
  2. package/bin/{chunk-ae6zgjhd.js → chunk-047n9gfs.js} +2 -2
  3. package/bin/chunk-0a4ahz7r.js +2 -0
  4. package/bin/{chunk-v5hz09a1.js → chunk-0awcpx0a.js} +2 -2
  5. package/bin/{chunk-19q13a80.js → chunk-0fbgfgxv.js} +5 -5
  6. package/bin/{chunk-jt6v15wx.js → chunk-0nnqha4f.js} +1 -1
  7. package/bin/chunk-0tvggyy4.js +1 -0
  8. package/bin/{chunk-zckxc8m6.js → chunk-113baw0m.js} +2 -2
  9. package/bin/{chunk-mneeg71d.js → chunk-1dbjyarc.js} +2 -2
  10. package/bin/{chunk-951r2rx1.js → chunk-1qre79kf.js} +1 -1
  11. package/bin/chunk-27v3yepb.js +1 -0
  12. package/bin/{chunk-5vqbzsjv.js → chunk-2rq3w8sg.js} +1 -1
  13. package/bin/{chunk-v034sfw8.js → chunk-3020am4q.js} +2 -2
  14. package/bin/{chunk-zdzkjp4q.js → chunk-3fjgf7eb.js} +2 -2
  15. package/bin/chunk-3pwwg1xm.js +1 -0
  16. package/bin/{chunk-19jpn3r6.js → chunk-3sfb63fp.js} +1 -1
  17. package/bin/{chunk-wwkhskce.js → chunk-3tg10kwz.js} +2 -2
  18. package/bin/{chunk-0y4zq3y4.js → chunk-4g4pxmef.js} +1 -1
  19. package/bin/{chunk-2pw7xcrn.js → chunk-4jj92zwa.js} +1 -1
  20. package/bin/{chunk-bpxw19ez.js → chunk-4yhvexzk.js} +1 -1
  21. package/bin/chunk-58cbk6e8.js +1 -0
  22. package/bin/{chunk-eqr0znmc.js → chunk-59t9s2jh.js} +1 -1
  23. package/bin/{chunk-n76w2wcr.js → chunk-5e7r7a9d.js} +1 -1
  24. package/bin/{chunk-8tzfcqtb.js → chunk-5m51b7af.js} +1 -1
  25. package/bin/{chunk-m6v8vt2b.js → chunk-65t6rm5d.js} +2 -2
  26. package/bin/chunk-6bed0rz4.js +1 -0
  27. package/bin/{chunk-1nvj833s.js → chunk-6smn0q1n.js} +5 -5
  28. package/bin/{chunk-r249n1xe.js → chunk-6zerk0em.js} +2 -2
  29. package/bin/{chunk-gvas3xkp.js → chunk-7bbsv8g0.js} +1 -1
  30. package/bin/chunk-83bdgs2c.js +1 -0
  31. package/bin/{chunk-93p27bbm.js → chunk-86qtjd30.js} +5 -5
  32. package/bin/{chunk-b5r0be06.js → chunk-8rekh4h9.js} +1 -1
  33. package/bin/{chunk-d2dgazjj.js → chunk-8s9fehda.js} +1 -1
  34. package/bin/{chunk-r776bhsg.js → chunk-8sf2hf31.js} +1 -1
  35. package/bin/{chunk-mn108p93.js → chunk-9d3w678j.js} +1 -1
  36. package/bin/{chunk-xr2v0d6y.js → chunk-9gftd4f7.js} +4 -4
  37. package/bin/{chunk-n9vp9nbg.js → chunk-9rcg8zgs.js} +32 -32
  38. package/bin/{chunk-6jkjx0n2.js → chunk-a23q1kc4.js} +3 -3
  39. package/bin/{chunk-81dawvn4.js → chunk-a6cdt85k.js} +2 -2
  40. package/bin/chunk-a76h3ehe.js +1 -0
  41. package/bin/{chunk-rmvhyqyb.js → chunk-b1bkd2p4.js} +8 -8
  42. package/bin/{chunk-wnqxyqrg.js → chunk-bf5m8f6t.js} +2 -2
  43. package/bin/chunk-cf57fk11.js +2 -0
  44. package/bin/{chunk-0v9srsdz.js → chunk-cv5xx81e.js} +1 -1
  45. package/bin/{chunk-3q5qkfkc.js → chunk-czybv3vy.js} +1 -1
  46. package/bin/{chunk-ggfx2b0f.js → chunk-d4sbcvpa.js} +1 -1
  47. package/bin/{chunk-9ggwc289.js → chunk-d6xezgrg.js} +1 -1
  48. package/bin/{chunk-bbcmhcvc.js → chunk-da86fpjt.js} +2 -2
  49. package/bin/chunk-dzjmwat0.js +14 -0
  50. package/bin/{chunk-rza95y4z.js → chunk-eex8sjfs.js} +2 -2
  51. package/bin/{chunk-9zgqjdx1.js → chunk-emgyjhmx.js} +2 -2
  52. package/bin/{chunk-k3prp6c6.js → chunk-exmwerag.js} +5 -5
  53. package/bin/{chunk-kzr6ecke.js → chunk-f38xyahm.js} +1 -1
  54. package/bin/{chunk-ffj9cq9y.js → chunk-fb1bes2h.js} +1 -1
  55. package/bin/chunk-fbvak7q2.js +1 -0
  56. package/bin/{chunk-15w79661.js → chunk-fg9sr6r9.js} +1 -1
  57. package/bin/{chunk-dppfek34.js → chunk-fyb6t7ct.js} +2 -2
  58. package/bin/chunk-g2ptqqm3.js +3 -0
  59. package/bin/{chunk-t1yamxgk.js → chunk-ggwqxn95.js} +1 -1
  60. package/bin/chunk-ghk54h71.js +13 -0
  61. package/bin/{chunk-kvwec0p3.js → chunk-h1fbev9c.js} +2 -2
  62. package/bin/{chunk-f5z3096k.js → chunk-h9akn41s.js} +2 -2
  63. package/bin/{chunk-asy868kq.js → chunk-hdansxny.js} +1 -1
  64. package/bin/{chunk-grjek810.js → chunk-hjwpd09v.js} +2 -2
  65. package/bin/{chunk-zf5cyxnt.js → chunk-hjzbw975.js} +1 -1
  66. package/bin/{chunk-jgfye6nf.js → chunk-j4p3eqtd.js} +1 -1
  67. package/bin/chunk-jtkxeat4.js +2 -0
  68. package/bin/{chunk-8zgq5sav.js → chunk-jw4g9628.js} +3 -3
  69. package/bin/{chunk-0ge2mm8j.js → chunk-jxebakyq.js} +1 -1
  70. package/bin/{chunk-0asthrjf.js → chunk-kfewyax2.js} +2 -2
  71. package/bin/chunk-kk3m4za5.js +1 -0
  72. package/bin/{chunk-vzdgsfkf.js → chunk-m7tnj47b.js} +1 -1
  73. package/bin/{chunk-w73v578p.js → chunk-maw5ah8t.js} +2 -2
  74. package/bin/{chunk-8ny7wvzb.js → chunk-n0wwtjwv.js} +1 -1
  75. package/bin/{chunk-e439kt05.js → chunk-nahdd2t9.js} +1 -1
  76. package/bin/{chunk-04avc4fn.js → chunk-nv7tztvh.js} +32 -32
  77. package/bin/{chunk-mn208vrv.js → chunk-nyjwdxyj.js} +2 -2
  78. package/bin/{chunk-qmrg2jhs.js → chunk-p0yfxt5e.js} +5 -5
  79. package/bin/{chunk-p0j4wpa5.js → chunk-q27qn367.js} +2 -2
  80. package/bin/{chunk-j53sjkxt.js → chunk-q36sdt2w.js} +1 -1
  81. package/bin/{chunk-vm2pz2hm.js → chunk-q7t5zs7n.js} +2 -2
  82. package/bin/{chunk-cpj562n6.js → chunk-qbj5pe8t.js} +1 -1
  83. package/bin/chunk-qj0bxb1m.js +2 -0
  84. package/bin/{chunk-9bakwac0.js → chunk-qk5hsn6e.js} +4 -4
  85. package/bin/{chunk-6rn094yj.js → chunk-qnyqtaf0.js} +1 -1
  86. package/bin/{chunk-ypkkfwfb.js → chunk-qqkr6h07.js} +2 -2
  87. package/bin/chunk-qyqc5j3a.css +1 -0
  88. package/bin/chunk-qzaf6bre.js +2 -0
  89. package/bin/{chunk-cx32wsa1.js → chunk-r1e59gf0.js} +1 -1
  90. package/bin/chunk-ra5csbkr.js +2 -0
  91. package/bin/{chunk-rtaya5wc.js → chunk-rh8dy99a.js} +2 -2
  92. package/bin/{chunk-ryepy5er.js → chunk-rx9g95wk.js} +4 -4
  93. package/bin/{chunk-2w6gve12.js → chunk-rxyy37wa.js} +3 -3
  94. package/bin/{chunk-7qvvf0yd.js → chunk-scez7ppq.js} +2 -2
  95. package/bin/{chunk-twpc640e.js → chunk-t2a1vq34.js} +1 -1
  96. package/bin/chunk-t879v3b7.js +1 -0
  97. package/bin/{chunk-a8bymrv1.js → chunk-tjavzarz.js} +2 -2
  98. package/bin/{chunk-ce0bhc72.js → chunk-treyx8em.js} +1 -1
  99. package/bin/{chunk-dche0gy0.js → chunk-v3z4z04s.js} +1 -1
  100. package/bin/{chunk-5bk16qdp.js → chunk-v3z63tpw.js} +2 -2
  101. package/bin/{chunk-5rzxekn4.js → chunk-v9bes1fv.js} +1 -1
  102. package/bin/{chunk-d5hbzp7t.js → chunk-vjyget8s.js} +1 -1
  103. package/bin/{chunk-4zksqvwj.js → chunk-vmm9m3nv.js} +2 -2
  104. package/bin/chunk-vvr8tnse.js +211 -0
  105. package/bin/{chunk-tvkekn4z.js → chunk-w3stry4v.js} +1 -1
  106. package/bin/{chunk-3pm6q6kg.js → chunk-w89czwjj.js} +1 -1
  107. package/bin/{chunk-rw5h0n0s.js → chunk-wk0hk00z.js} +1 -1
  108. package/bin/{chunk-15vsw36h.js → chunk-ww9qq8yq.js} +5 -5
  109. package/bin/chunk-x4q082e6.js +2 -0
  110. package/bin/{chunk-98mg3dpd.js → chunk-x6rf77jm.js} +4 -4
  111. package/bin/chunk-x7dyj53k.js +2 -0
  112. package/bin/{chunk-y2dhf3p0.js → chunk-xbw7ffrz.js} +2 -2
  113. package/bin/{chunk-5nqvqvqp.js → chunk-xcrd0y8v.js} +3 -3
  114. package/bin/{chunk-0j22699g.js → chunk-z0z0jn5h.js} +2 -2
  115. package/bin/{chunk-w9z27p0m.js → chunk-zasjhrwc.js} +1 -1
  116. package/bin/chunk-zefds5gg.js +1 -0
  117. package/bin/{chunk-8ayz61rc.js → chunk-zzzgk1d5.js} +3 -3
  118. package/bin/shumai-app.html +1 -1
  119. package/bin/shumai-app.js +390 -373
  120. package/package.json +8 -11
  121. package/prisma/migrations/20261014054332_add_embedding_768/migration.sql +8 -0
  122. package/prisma/schema.prisma +10 -8
  123. package/bin/chunk-2gf95tj0.js +0 -1
  124. package/bin/chunk-2tk5w3jc.js +0 -1
  125. package/bin/chunk-301e7g3z.js +0 -2
  126. package/bin/chunk-3kmjbc3m.js +0 -2
  127. package/bin/chunk-3td60k1m.js +0 -2
  128. package/bin/chunk-42hrvk6k.js +0 -211
  129. package/bin/chunk-8abhmarc.js +0 -2
  130. package/bin/chunk-965102pf.js +0 -3
  131. package/bin/chunk-acn3r2m2.js +0 -1
  132. package/bin/chunk-ce75dw3k.css +0 -1
  133. package/bin/chunk-d9qpgkek.js +0 -2
  134. package/bin/chunk-dv6p6n5e.js +0 -1
  135. package/bin/chunk-gnt9gewm.js +0 -2
  136. package/bin/chunk-k97axrc4.js +0 -13
  137. package/bin/chunk-qb178ntp.js +0 -2
  138. package/bin/chunk-s4r6e6ms.js +0 -1
  139. package/bin/chunk-syjjke3f.js +0 -1
  140. package/bin/chunk-tgfxe0sb.js +0 -1
  141. package/bin/chunk-tjretpx8.js +0 -1
  142. package/bin/chunk-w4yjgez6.js +0 -14
  143. package/bin/chunk-wjcebkpb.js +0 -1
  144. package/bin/chunk-ws71fg50.js +0 -2
  145. package/bin/chunk-yfp3q4da.js +0 -1
  146. package/bin/chunk-z8e4wc59.js +0 -1
@@ -1,211 +0,0 @@
1
- import{H,w,ke,Em,Im}from"./chunk-a8bymrv1.js";var Q={};Im(Q,{Activity:()=>QK,Children:()=>ac,Component:()=>Fs,Fragment:()=>In,Profiler:()=>JK,PureComponent:()=>$K,StrictMode:()=>kB,Suspense:()=>fi,__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE:()=>Wi,__COMPILER_RUNTIME:()=>eX,cache:()=>tX,cacheSignal:()=>rX,cloneElement:()=>Ou,createContext:()=>lt,createElement:()=>q,createRef:()=>oX,forwardRef:()=>F,isValidElement:()=>os,lazy:()=>aX,memo:()=>Un,startTransition:()=>YL,unstable_useCacheRefresh:()=>nX,use:()=>Ia,useActionState:()=>iX,useCallback:()=>P,useContext:()=>pt,useDebugValue:()=>pi,useDeferredValue:()=>fX,useEffect:()=>m,useEffectEvent:()=>sX,useId:()=>qu,useImperativeHandle:()=>Vr,useInsertionEffect:()=>dN,useLayoutEffect:()=>$e,useMemo:()=>D,useOptimistic:()=>lX,useReducer:()=>rn,useRef:()=>_,useState:()=>u,useSyncExternalStore:()=>Xn,useTransition:()=>cX,version:()=>Ls},{Activity:(aTt)=>QK=aTt,Children:(aTt)=>ac=aTt,Component:(aTt)=>Fs=aTt,Fragment:(aTt)=>In=aTt,Profiler:(aTt)=>JK=aTt,PureComponent:(aTt)=>$K=aTt,StrictMode:(aTt)=>kB=aTt,Suspense:(aTt)=>fi=aTt,__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE:(aTt)=>Wi=aTt,__COMPILER_RUNTIME:(aTt)=>eX=aTt,cache:(aTt)=>tX=aTt,cacheSignal:(aTt)=>rX=aTt,cloneElement:(aTt)=>Ou=aTt,createContext:(aTt)=>lt=aTt,createElement:(aTt)=>q=aTt,createRef:(aTt)=>oX=aTt,forwardRef:(aTt)=>F=aTt,isValidElement:(aTt)=>os=aTt,lazy:(aTt)=>aX=aTt,memo:(aTt)=>Un=aTt,startTransition:(aTt)=>YL=aTt,unstable_useCacheRefresh:(aTt)=>nX=aTt,use:(aTt)=>Ia=aTt,useActionState:(aTt)=>iX=aTt,useCallback:(aTt)=>P=aTt,useContext:(aTt)=>pt=aTt,useDebugValue:(aTt)=>pi=aTt,useDeferredValue:(aTt)=>fX=aTt,useEffect:(aTt)=>m=aTt,useEffectEvent:(aTt)=>sX=aTt,useId:(aTt)=>qu=aTt,useImperativeHandle:(aTt)=>Vr=aTt,useInsertionEffect:(aTt)=>dN=aTt,useLayoutEffect:(aTt)=>$e=aTt,useMemo:(aTt)=>D=aTt,useOptimistic:(aTt)=>lX=aTt,useReducer:(aTt)=>rn=aTt,useRef:(aTt)=>_=aTt,useState:(aTt)=>u=aTt,useSyncExternalStore:(aTt)=>Xn=aTt,useTransition:(aTt)=>cX=aTt,version:(aTt)=>Ls=aTt});function z_e(e){if(e===null||typeof e!=="object")return null;return e=BK&&e[BK]||e["@@iterator"],typeof e==="function"?e:null}function UL(e,r,a){this.props=e,this.context=r,this.refs=GK,this.updater=a||VK}function KK(){}function wB(e,r,a){this.props=e,this.context=r,this.refs=GK,this.updater=a||VK}function _B(){}function SB(e,r,a){var i=a.ref;return{$$typeof:bB,type:e,key:r,ref:i!==void 0?i:null,props:a}}function S_e(e,r){return SB(e.type,r,e.props)}function LB(e){return typeof e==="object"&&e!==null&&e.$$typeof===bB}function L_e(e){var r={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(a){return r[a]})}function yB(e,r){return typeof e==="object"&&e!==null&&e.key!=null?L_e(""+e.key):r.toString(36)}function k_e(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch(typeof e.status==="string"?e.then(_B,_B):(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 BL(e,r,a,i,s){var l=typeof e;if(l==="undefined"||l==="boolean")e=null;var c=!1;if(e===null)c=!0;else switch(l){case"bigint":case"string":case"number":c=!0;break;case"object":switch(e.$$typeof){case bB:case m_e:c=!0;break;case HK:return c=e._init,BL(c(e._payload),r,a,i,s)}}if(c)return s=s(e),c=i===""?"."+yB(e,0):i,UK(s)?(a="",c!=null&&(a=c.replace(YK,"$&/")+"/"),BL(s,r,a,"",function(g){return g})):s!=null&&(LB(s)&&(s=S_e(s,a+(s.key==null||e&&e.key===s.key?"":(""+s.key).replace(YK,"$&/")+"/")+c)),r.push(s)),1;c=0;var d=i===""?".":i+":";if(UK(e))for(var h=0;h<e.length;h++)i=e[h],l=d+yB(i,h),c+=BL(i,r,a,l,s);else if(h=z_e(e),typeof h==="function")for(e=h.call(e),h=0;!(i=e.next()).done;)i=i.value,l=d+yB(i,h++),c+=BL(i,r,a,l,s);else if(l==="object"){if(typeof e.then==="function")return BL(k_e(e),r,a,i,s);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 c}function uN(e,r,a){if(e==null)return e;var i=[],s=0;return BL(e,i,"","",function(l){return r.call(a,l,s++)}),i}function C_e(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 bB,m_e,h_e,g_e,M_e,x_e,v_e,y_e,__e,b_e,HK,w_e,BK,VK,WK,GK,zB,UK,Qa,XK,YK,qK,I_e,QK,ac,Fs,In,JK,$K,kB,fi,Wi,eX,tX=function(e){return function(){return e.apply(null,arguments)}},rX=function(){return null},Ou=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=WK({},e.props),s=e.key;if(r!=null)for(l in r.key!==void 0&&(s=""+r.key),r)!XK.call(r,l)||l==="key"||l==="__self"||l==="__source"||l==="ref"&&r.ref===void 0||(i[l]=r[l]);var l=arguments.length-2;if(l===1)i.children=a;else if(1<l){for(var c=Array(l),d=0;d<l;d++)c[d]=arguments[d+2];i.children=c}return SB(e.type,s,i)},lt=function(e){return e={$$typeof:v_e,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider=e,e.Consumer={$$typeof:x_e,_context:e},e},q=function(e,r,a){var i,s={},l=null;if(r!=null)for(i in r.key!==void 0&&(l=""+r.key),r)XK.call(r,i)&&i!=="key"&&i!=="__self"&&i!=="__source"&&(s[i]=r[i]);var c=arguments.length-2;if(c===1)s.children=a;else if(1<c){for(var d=Array(c),h=0;h<c;h++)d[h]=arguments[h+2];s.children=d}if(e&&e.defaultProps)for(i in c=e.defaultProps,c)s[i]===void 0&&(s[i]=c[i]);return SB(e,l,s)},oX=function(){return{current:null}},F=function(e){return{$$typeof:y_e,render:e}},os,aX=function(e){return{$$typeof:HK,_payload:{_status:-1,_result:e},_init:C_e}},Un=function(e,r){return{$$typeof:b_e,type:e,compare:r===void 0?null:r}},YL=function(e){var r=Qa.T,a={};Qa.T=a;try{var i=e(),s=Qa.S;s!==null&&s(a,i),typeof i==="object"&&i!==null&&typeof i.then==="function"&&i.then(_B,qK)}catch(l){qK(l)}finally{r!==null&&a.types!==null&&(r.types=a.types),Qa.T=r}},nX=function(){return Qa.H.useCacheRefresh()},Ia=function(e){return Qa.H.use(e)},iX=function(e,r,a){return Qa.H.useActionState(e,r,a)},P=function(e,r){return Qa.H.useCallback(e,r)},pt=function(e){return Qa.H.useContext(e)},pi=function(){},fX=function(e,r){return Qa.H.useDeferredValue(e,r)},m=function(e,r){return Qa.H.useEffect(e,r)},sX=function(e){return Qa.H.useEffectEvent(e)},qu=function(){return Qa.H.useId()},Vr=function(e,r,a){return Qa.H.useImperativeHandle(e,r,a)},dN=function(e,r){return Qa.H.useInsertionEffect(e,r)},$e=function(e,r){return Qa.H.useLayoutEffect(e,r)},D=function(e,r){return Qa.H.useMemo(e,r)},lX=function(e,r){return Qa.H.useOptimistic(e,r)},rn=function(e,r,a){return Qa.H.useReducer(e,r,a)},_=function(e){return Qa.H.useRef(e)},u=function(e){return Qa.H.useState(e)},Xn=function(e,r,a){return Qa.H.useSyncExternalStore(e,r,a)},cX=function(){return Qa.H.useTransition()},Ls="19.2.8";var S=Em(()=>{bB=Symbol.for("react.transitional.element"),m_e=Symbol.for("react.portal"),h_e=Symbol.for("react.fragment"),g_e=Symbol.for("react.strict_mode"),M_e=Symbol.for("react.profiler"),x_e=Symbol.for("react.consumer"),v_e=Symbol.for("react.context"),y_e=Symbol.for("react.forward_ref"),__e=Symbol.for("react.suspense"),b_e=Symbol.for("react.memo"),HK=Symbol.for("react.lazy"),w_e=Symbol.for("react.activity"),BK=Symbol.iterator;VK={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},WK=Object.assign,GK={};UL.prototype.isReactComponent={};UL.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")};UL.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};KK.prototype=UL.prototype;zB=wB.prototype=new KK;zB.constructor=wB;WK(zB,UL.prototype);zB.isPureReactComponent=!0;UK=Array.isArray;Qa={H:null,A:null,T:null,S:null},XK=Object.prototype.hasOwnProperty;YK=/\/+/g;qK=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)},I_e={map:uN,forEach:function(e,r,a){uN(e,function(){r.apply(this,arguments)},a)},count:function(e){var r=0;return uN(e,function(){r++}),r},toArray:function(e){return uN(e,function(r){return r})||[]},only:function(e){if(!LB(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};QK=w_e,ac=I_e,Fs=UL,In=h_e,JK=M_e,$K=wB,kB=g_e,fi=__e,Wi=Qa,eX={__proto__:null,c:function(e){return Qa.H.useMemoCache(e)}},os=LB});var CQ=w(function(Ibe){S();function ybe(e,r){return e===r&&(e!==0||1/e===1/r)||e!==e&&r!==r}var _be=typeof Object.is==="function"?Object.is:ybe,bbe=u,wbe=m,zbe=$e,Sbe=pi;function Lbe(e,r){var a=r(),i=bbe({inst:{value:a,getSnapshot:r}}),s=i[0].inst,l=i[1];return zbe(function(){s.value=a,s.getSnapshot=r,p6(s)&&l({inst:s})},[e,a,r]),wbe(function(){return p6(s)&&l({inst:s}),e(function(){p6(s)&&l({inst:s})})},[e]),Sbe(a),a}function p6(e){var r=e.getSnapshot;e=e.value;try{var a=r();return!_be(e,a)}catch(i){return!0}}function kbe(e,r){return r()}var Cbe=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?kbe:Lbe;Ibe.useSyncExternalStore=Xn!==void 0?Xn:Cbe});var fz={};Im(fz,{unstable_now:()=>eo,unstable_IdlePriority:()=>Xi,unstable_ImmediatePriority:()=>pl,unstable_LowPriority:()=>XN,unstable_NormalPriority:()=>Zs,unstable_Profiling:()=>lJ,unstable_UserBlockingPriority:()=>ml,unstable_cancelCallback:()=>hl,unstable_forceFrameRate:()=>cJ,unstable_getCurrentPriorityLevel:()=>QN,unstable_next:()=>uJ,unstable_requestPaint:()=>gl,unstable_runWithPriority:()=>Yu,unstable_scheduleCallback:()=>Bs,unstable_shouldYield:()=>Al,unstable_wrapCallback:()=>dJ},{unstable_now:(gFt)=>eo=gFt,unstable_IdlePriority:(gFt)=>Xi=gFt,unstable_ImmediatePriority:(gFt)=>pl=gFt,unstable_LowPriority:(gFt)=>XN=gFt,unstable_NormalPriority:(gFt)=>Zs=gFt,unstable_Profiling:(gFt)=>lJ=gFt,unstable_UserBlockingPriority:(gFt)=>ml=gFt,unstable_cancelCallback:(gFt)=>hl=gFt,unstable_forceFrameRate:(gFt)=>cJ=gFt,unstable_getCurrentPriorityLevel:(gFt)=>QN=gFt,unstable_next:(gFt)=>uJ=gFt,unstable_requestPaint:(gFt)=>gl=gFt,unstable_runWithPriority:(gFt)=>Yu=gFt,unstable_scheduleCallback:(gFt)=>Bs=gFt,unstable_shouldYield:(gFt)=>Al=gFt,unstable_wrapCallback:(gFt)=>dJ=gFt});function w6(e,r){var a=e.length;e.push(r);e:for(;0<a;){var i=a-1>>>1,s=e[i];if(0<HN(s,r))e[i]=r,e[a]=s,a=i;else break e}}function Uu(e){return e.length===0?null:e[0]}function KN(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,s=e.length,l=s>>>1;i<l;){var c=2*(i+1)-1,d=e[c],h=c+1,g=e[h];if(0>HN(d,a))h<s&&0>HN(g,d)?(e[i]=g,e[h]=a,i=h):(e[i]=d,e[c]=a,i=c);else if(h<s&&0>HN(g,a))e[i]=g,e[h]=a,i=h;else break e}}return r}function HN(e,r){var a=e.sortIndex-r.sortIndex;return a!==0?a:e.id-r.id}function WN(e){for(var r=Uu(DM);r!==null;){if(r.callback===null)KN(DM);else if(r.startTime<=e)KN(DM),r.sortIndex=r.expirationTime,w6(CZ,r);else break;r=Uu(DM)}}function I6(e){if(AP=!1,WN(e),!TP)if(Uu(CZ)!==null)TP=!0,fk||(fk=!0,ik());else{var r=Uu(DM);r!==null&&R6(I6,r.startTime-e)}}function sJ(){return C6?!0:fz.unstable_now()-fJ<iJ?!1:!0}function b6(){if(C6=!1,fk){var e=fz.unstable_now();fJ=e;var r=!0;try{e:{TP=!1,AP&&(AP=!1,nJ(EP),EP=-1),L6=!0;var a=yf;try{t:{WN(e);for(ic=Uu(CZ);ic!==null&&!(ic.expirationTime>e&&sJ());){var i=ic.callback;if(typeof i==="function"){ic.callback=null,yf=ic.priorityLevel;var s=i(ic.expirationTime<=e);if(e=fz.unstable_now(),typeof s==="function"){ic.callback=s,WN(e),r=!0;break t}ic===Uu(CZ)&&KN(CZ),WN(e)}else KN(CZ);ic=Uu(CZ)}if(ic!==null)r=!0;else{var l=Uu(DM);l!==null&&R6(I6,l.startTime-e),r=!1}}break e}finally{ic=null,yf=a,L6=!1}r=void 0}}finally{r?ik():fk=!1}}}function R6(e,r){EP=aJ(function(){e(fz.unstable_now())},r)}var eo=void 0,z6,VN,S6,CZ,DM,Qbe=1,ic=null,yf=3,L6=!1,TP=!1,AP=!1,C6=!1,aJ,nJ,oJ,fk=!1,EP=-1,iJ=5,fJ=-1,ik,GN,k6,Xi=5,pl=1,XN=4,Zs=3,lJ=null,ml=2,hl=function(e){e.callback=null},cJ=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"):iJ=0<e?Math.floor(1000/e):5},QN=function(){return yf},uJ=function(e){switch(yf){case 1:case 2:case 3:var r=3;break;default:r=yf}var a=yf;yf=r;try{return e()}finally{yf=a}},gl=function(){C6=!0},Yu=function(e,r){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var a=yf;yf=e;try{return r()}finally{yf=a}},Bs=function(e,r,a){var i=fz.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 s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5000}return s=a+s,e={id:Qbe++,callback:r,priorityLevel:e,startTime:a,expirationTime:s,sortIndex:-1},a>i?(e.sortIndex=a,w6(DM,e),Uu(CZ)===null&&e===Uu(DM)&&(AP?(nJ(EP),EP=-1):AP=!0,R6(I6,a-i))):(e.sortIndex=s,w6(CZ,e),TP||L6||(TP=!0,fk||(fk=!0,ik()))),e},Al,dJ=function(e){var r=yf;return function(){var a=yf;yf=r;try{return e.apply(this,arguments)}finally{yf=a}}};var Ju=Em(()=>{if(typeof performance==="object"&&typeof performance.now==="function")z6=performance,eo=function(){return z6.now()};else VN=Date,S6=VN.now(),eo=function(){return VN.now()-S6};CZ=[],DM=[],aJ=typeof setTimeout==="function"?setTimeout:null,nJ=typeof clearTimeout==="function"?clearTimeout:null,oJ=typeof setImmediate<"u"?setImmediate:null;if(typeof oJ==="function")ik=function(){oJ(b6)};else if(typeof MessageChannel<"u")GN=new MessageChannel,k6=GN.port2,GN.port1.onmessage=b6,ik=function(){k6.postMessage(null)};else ik=function(){aJ(b6,0)};Al=sJ});var X8e=w(function(E4n,K8e){var H8e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,jkt=/\n/g,Bkt=/^\s*/,Ukt=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,Ykt=/^:\s*/,qkt=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,Hkt=/^[;\s]*/,Vkt=/^\s+|\s+$/g,Wkt=`
2
- `,V8e="/",W8e="*",PL="",Gkt="comment",Kkt="declaration";function Xkt(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 s(k){var T=k.match(jkt);if(T)a+=T.length;var U=k.lastIndexOf(Wkt);i=~U?k.length-U:i+k.length}function l(){var k={line:a,column:i};return function(T){return T.position=new c(k),g(),T}}function c(k){this.start=k,this.end={line:a,column:i},this.source=r.source}c.prototype.content=e;function d(k){var T=Error(r.source+":"+a+":"+i+": "+k);if(T.reason=k,T.filename=r.source,T.line=a,T.column=i,T.source=e,r.silent);else throw T}function h(k){var T=k.exec(e);if(!T)return;var U=T[0];return s(U),e=e.slice(U.length),T}function g(){h(Bkt)}function x(k){var T;k=k||[];while(T=v())if(T!==!1)k.push(T);return k}function v(){var k=l();if(V8e!=e.charAt(0)||W8e!=e.charAt(1))return;var T=2;while(PL!=e.charAt(T)&&(W8e!=e.charAt(T)||V8e!=e.charAt(T+1)))++T;if(T+=2,PL===e.charAt(T-1))return d("End of comment missing");var U=e.slice(2,T-2);return i+=2,s(U),e=e.slice(T),i+=2,k({type:Gkt,comment:U})}function b(){var k=l(),T=h(Ukt);if(!T)return;if(v(),!h(Ykt))return d("property missing ':'");var U=h(qkt),N=k({type:Kkt,property:G8e(T[0].replace(H8e,PL)),value:U?G8e(U[0].replace(H8e,PL)):PL});return h(Hkt),N}function y(){var k=[];x(k);var T;while(T=b())if(T!==!1)k.push(T),x(k);return k}return g(),y()}function G8e(e){return e?e.replace(Vkt,PL):PL}K8e.exports=Xkt});var Q8e=w(function(BO){var Qkt=BO&&BO.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(BO,"__esModule",{value:!0});BO.default=$kt;var Jkt=Qkt(X8e());function $kt(e,r){let a=null;if(!e||typeof e!=="string")return a;let i=(0,Jkt.default)(e),s=typeof r==="function";return i.forEach((l)=>{if(l.type!=="declaration")return;let{property:c,value:d}=l;if(s)r(c,d,l);else if(d)a=a||{},a[c]=d}),a}});var txe=w(function($8e){Object.defineProperty($8e,"__esModule",{value:!0});$8e.camelCase=void 0;var eCt=/^--[a-zA-Z0-9_-]+$/,tCt=/-([a-z])/g,rCt=/^[^-]+$/,oCt=/^-(webkit|moz|ms|o|khtml)-/,aCt=/^-(ms)-/,nCt=function(e){return!e||rCt.test(e)||eCt.test(e)},iCt=function(e,r){return r.toUpperCase()},J8e=function(e,r){return"".concat(r,"-")},fCt=function(e,r){if(r===void 0)r={};if(nCt(e))return e;if(e=e.toLowerCase(),r.reactCompat)e=e.replace(aCt,J8e);else e=e.replace(oCt,J8e);return e.replace(tCt,iCt)};$8e.camelCase=fCt});var oxe=w(function(zG,rxe){var sCt=zG&&zG.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},lCt=sCt(Q8e()),cCt=txe();function wG(e,r){var a={};if(!e||typeof e!=="string")return a;return(0,lCt.default)(e,function(i,s){if(i&&s)a[(0,cCt.camelCase)(i,r)]=s}),a}wG.default=wG;rxe.exports=wG});var kve=w(function(zUn,Lve){var Hj=Object.prototype.hasOwnProperty,Sve=Object.prototype.toString,{defineProperty:vve,getOwnPropertyDescriptor:yve}=Object,_ve=function(r){if(typeof Array.isArray==="function")return Array.isArray(r);return Sve.call(r)==="[object Array]"},bve=function(r){if(!r||Sve.call(r)!=="[object Object]")return!1;var a=Hj.call(r,"constructor"),i=r.constructor&&r.constructor.prototype&&Hj.call(r.constructor.prototype,"isPrototypeOf");if(r.constructor&&!a&&!i)return!1;var s;for(s in r);return typeof s>"u"||Hj.call(r,s)},wve=function(r,a){if(vve&&a.name==="__proto__")vve(r,a.name,{enumerable:!0,configurable:!0,value:a.newValue,writable:!0});else r[a.name]=a.newValue},zve=function(r,a){if(a==="__proto__"){if(!Hj.call(r,a))return;else if(yve)return yve(r,a).value}return r[a]};Lve.exports=function e(){var r,a,i,s,l,c,d=arguments[0],h=1,g=arguments.length,x=!1;if(typeof d==="boolean")x=d,d=arguments[1]||{},h=2;if(d==null||typeof d!=="object"&&typeof d!=="function")d={};for(;h<g;++h)if(r=arguments[h],r!=null){for(a in r)if(i=zve(d,a),s=zve(r,a),d!==s){if(x&&s&&(bve(s)||(l=_ve(s)))){if(l)l=!1,c=i&&_ve(i)?i:[];else c=i&&bve(i)?i:{};wve(d,{name:a,newValue:e(x,c,s)})}else if(typeof s<"u")wve(d,{name:a,newValue:s})}}return d}});S();var R_e=Symbol.for("react.transitional.element"),P_e=Symbol.for("react.fragment");function uX(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 s in r)s!=="key"&&(a[s]=r[s])}else a=r;return r=a.ref,{$$typeof:R_e,type:e,key:i,ref:r!==void 0?r:null,props:a}}var L=P_e,t=uX,o=uX;var CB=lt(void 0),V=(e)=>{let r=pt(CB);if(e)return e;if(!r)throw Error("No QueryClient set, use QueryClientProvider to set one");return r},IB=({client:e,children:r})=>(m(()=>(e.mount(),()=>{e.unmount()}),[e]),t(CB.Provider,{value:e,children:r}));S();var dX=lt(!1),Hu=()=>pt(dX),sTt=dX.Provider;S();function T_e(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var A_e=lt(T_e()),$u=()=>pt(A_e);S();var E_e={setTimeout:(e,r)=>setTimeout(e,r),clearTimeout:(e)=>clearTimeout(e),setInterval:(e,r)=>setInterval(e,r),clearInterval:(e)=>clearInterval(e)},D_e=class{#e=E_e;#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)}},Nu=new D_e;function ZX(e){setTimeout(e,0)}var PB=typeof window>"u"||"Deno"in globalThis;function br(){}function hX(e,r){return typeof e==="function"?e(r):e}function ZN(e){return typeof e==="number"&&e>=0&&e!==1/0}function pN(e,r){return Math.max(e+(r||0)-Date.now(),0)}function Ja(e,r){return typeof e==="function"?e(r):e}function mN(e,r){let{type:a="all",exact:i,fetchStatus:s,predicate:l,queryKey:c,stale:d}=e;if(c){if(i){if(r.queryHash!==xP(c,r.options))return!1}else if(!yM(r.queryKey,c))return!1}if(a!=="all"){let h=r.isActive();if(a==="active"&&!h)return!1;if(a==="inactive"&&h)return!1}if(typeof d==="boolean"&&r.isStale()!==d)return!1;if(s&&s!==r.state.fetchStatus)return!1;if(l&&!l(r))return!1;return!0}function hN(e,r){let{exact:a,status:i,predicate:s,mutationKey:l}=e;if(l){if(!r.options.mutationKey)return!1;if(a){if(Fu(r.options.mutationKey)!==Fu(l))return!1}else if(!yM(r.options.mutationKey,l))return!1}if(i&&r.state.status!==i)return!1;if(s&&!s(r))return!1;return!0}function xP(e,r){return(r?.queryKeyHashFn||Fu)(e)}function Fu(e){return JSON.stringify(e,(r,a)=>RB(a)?Object.keys(a).sort().reduce((i,s)=>(i[s]=a[s],i),{}):a)}function yM(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(!yM(e[i],r[i]))return!1;return!0}let a=Object.keys(r);for(let i of a)if(!yM(e[i],r[i]))return!1;return!0}return!1}var O_e=Object.prototype.hasOwnProperty;function Rc(e,r,a=0){if(e===r)return e;if(a>500)return r;let i=pX(e)&&pX(r);if(!i&&!(RB(e)&&RB(r)))return r;let s=(i?e:Object.keys(e)).length,l=i?r:Object.keys(r),c=l.length,d=i?Array(c):{},h=0;for(let g=0;g<c;g++){let x=i?g:l[g],v=e[x],b=r[x];if(v===b){if(d[x]=v,i?g<s:O_e.call(e,x))h++;continue}if(v===null||b===null||typeof v!=="object"||typeof b!=="object"){d[x]=b;continue}let y=Rc(v,b,a+1);if(d[x]=y,y===v)h++}return s===c&&h===s?e:d}function Yi(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 pX(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function RB(e){if(!mX(e))return!1;let r=e.constructor;if(r===void 0)return!0;let a=r.prototype;if(!mX(a))return!1;if(!a.hasOwnProperty("isPrototypeOf"))return!1;if(Object.getPrototypeOf(e)!==Object.prototype)return!1;return!0}function mX(e){return Object.prototype.toString.call(e)==="[object Object]"}function gX(e){return new Promise((r)=>{Nu.setTimeout(r,e)})}function vP(e,r,a){if(typeof a.structuralSharing==="function")return a.structuralSharing(e,r);else if(a.structuralSharing!==!1)return Rc(e,r);return r}function Ta(e){return e}function MX(e,r,a=0){let i=[...e,r];return a&&i.length>a?i.slice(1):i}function xX(e,r,a=0){let i=[r,...e];return a&&i.length>a?i.slice(0,-1):i}var qL=Symbol();function gN(e,r){if(!e.queryFn&&r?.initialPromise)return()=>r.initialPromise;if(!e.queryFn||e.queryFn===qL)return()=>Promise.reject(Error(`Missing queryFn: '${e.queryHash}'`));return e.queryFn}function HL(e,r){if(typeof e==="function")return e(...r);return!!e}function vX(e,r,a){let i=!1,s;return Object.defineProperty(e,"signal",{enumerable:!0,get:()=>{if(s??=r(),i)return s;if(i=!0,s.aborted)a();else s.addEventListener("abort",a,{once:!0});return s}}),e}var N_e=()=>PB,VL=()=>N_e();var wo=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 F_e=class extends wo{#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"}},WL=new F_e;var yX=ZX;function j_e(){let e=[],r=0,a=(d)=>{d()},i=(d)=>{d()},s=yX,l=(d)=>{if(r)e.push(d);else s(()=>{a(d)})},c=()=>{let d=e;if(e=[],d.length)s(()=>{i(()=>{d.forEach((h)=>{a(h)})})})};return{batch:(d)=>{let h;r++;try{h=d()}finally{if(r--,!r)c()}return h},batchCalls:(d)=>(...h)=>{l(()=>{d(...h)})},schedule:l,setNotifyFunction:(d)=>{a=d},setBatchNotifyFunction:(d)=>{i=d},setScheduler:(d)=>{s=d}}}var Ht=j_e();var B_e=class extends wo{#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}},GL=new B_e;function U_e(e){return Math.min(1000*2**e,30000)}function TB(e){return(e??"online")==="online"?GL.isOnline():!0}var MN=class extends Error{constructor(e){super("CancelledError");this.revert=e?.revert,this.silent=e?.silent}};function xN(e){let r=!1,a=0,i,s="pending",l,c,d=new Promise((j,G)=>{l=j,c=G});d.catch(br);let h=()=>s!=="pending",g=(j)=>{if(!h()){let G=new MN(j);T(G),e.onCancel?.(G)}},x=()=>{r=!0},v=()=>{r=!1},b=()=>WL.isFocused()&&(e.networkMode==="always"||GL.isOnline())&&e.canRun(),y=()=>TB(e.networkMode)&&e.canRun(),k=(j)=>{if(!h())i?.(),s="resolved",l(j)},T=(j)=>{if(!h())i?.(),s="rejected",c(j)},U=()=>new Promise((j)=>{i=(G)=>{if(h()||b())j(G)},e.onPause?.()}).then(()=>{if(i=void 0,!h())e.onContinue?.()}),N=()=>{if(h())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(k).catch((X)=>{if(h())return;let J=e.retry??(VL()?0:3),ee=e.retryDelay??U_e,re=typeof ee==="function"?ee(a,X):ee,oe=J===!0||typeof J==="number"&&a<J||typeof J==="function"&&J(a,X);if(r||!oe){T(X);return}a++,e.onFail?.(a,X),gX(re).then(()=>b()?void 0:U()).then(()=>{if(r)T(X);else N()})})};return{promise:d,status:()=>s,cancel:g,continue:()=>(i?.(),d),cancelRetry:x,continueRetry:v,canStart:y,start:()=>{if(y())N();else U().then(N);return d}}}var vN=class{#e;destroy(){this.clearGcTimeout()}scheduleGc(){if(this.clearGcTimeout(),ZN(this.gcTime))this.#e=Nu.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)Nu.clearTimeout(this.#e),this.#e=void 0}};function _X(e){return{onFetch:(r,a)=>{let i=r.options,s=r.fetchOptions?.meta?.fetchMore?.direction,l=r.state.data?.pages||[],c=r.state.data?.pageParams||[],d={pages:[],pageParams:[]},h=0,g=async()=>{let x=!1,v=(k)=>{vX(k,()=>r.signal,()=>x=!0)},b=gN(r.options,r.fetchOptions),y=async(k,T,U)=>{if(x)return Promise.reject(r.signal.reason);if(T==null&&k.pages.length)return Promise.resolve(k);let j=(()=>{let ee={client:r.client,queryKey:r.queryKey,pageParam:T,direction:U?"backward":"forward",meta:r.options.meta};return v(ee),ee})(),G=await b(j),{maxPages:X}=r.options,J=U?xX:MX;return{pages:J(k.pages,G,X),pageParams:J(k.pageParams,T,X)}};if(s&&l.length){let k=s==="backward",T=k?bX:AB,U={pages:l,pageParams:c};d=await y(U,T(i,U),k)}else{let k=e??l.length;do{let T=h===0?c[0]??i.initialPageParam:AB(i,d);if(h>0&&T==null)break;d=await y(d,T),h++}while(h<k)}return d};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 AB(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 bX(e,{pages:r,pageParams:a}){return r.length>0?e.getPreviousPageParam?.(r[0],r,a[0],a):void 0}function wX(e,r){if(!r)return!1;return AB(e,r)!=null}function zX(e,r){if(!r||!e.getPreviousPageParam)return!1;return bX(e,r)!=null}var kX=class extends vN{#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=LX(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=LX(this.options);if(r.data!==void 0)this.setState(SX(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=vP(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(br).catch(br):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)=>Ja(e.options.enabled,this)!==!1)}isDisabled(){if(this.getObserversCount()>0)return!this.isActive();return this.options.queryFn===qL||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdateCount>0}isStatic(){if(this.getObserversCount()>0)return this.observers.some((e)=>Ja(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!pN(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 h=this.observers.find((g)=>g.options.queryFn);if(h)this.setOptions(h.options)}let a=new AbortController,i=(h)=>{Object.defineProperty(h,"signal",{enumerable:!0,get:()=>(this.#s=!0,a.signal)})},s=()=>{let h=gN(this.options,r),x=(()=>{let v={client:this.#n,queryKey:this.queryKey,meta:this.meta};return i(v),v})();if(this.#s=!1,this.options.persister)return this.options.persister(h,x,this);return h(x)},c=(()=>{let h={fetchOptions:r,options:this.options,queryKey:this.queryKey,client:this.#n,state:this.state,fetchFn:s};return i(h),h})();if((this.#e==="infinite"?_X(this.options.pages):this.options.behavior)?.onFetch(c,this),this.#r=this.state,this.state.fetchStatus==="idle"||this.state.fetchMeta!==c.fetchOptions?.meta)this.#f({type:"fetch",meta:c.fetchOptions?.meta});let d=this.#a=xN({initialPromise:r?.initialPromise,fn:c.fetchFn,onCancel:(h)=>{if(h instanceof MN&&h.revert)this.setState({...this.#r,fetchStatus:"idle"});a.abort()},onFail:(h,g)=>{this.#f({type:"failed",failureCount:h,error:g})},onPause:()=>{this.#f({type:"pause"})},onContinue:()=>{this.#f({type:"continue"})},retry:c.options.retry,retryDelay:c.options.retryDelay,networkMode:c.options.networkMode,canRun:()=>!0});try{let h=await d.start();if(h===void 0)throw Error(`${this.queryHash} data is undefined`);return this.setData(h),this.#o.config.onSuccess?.(h,this),this.#o.config.onSettled?.(h,this.state.error,this),h}catch(h){if(h instanceof MN){if(h.silent)return this.#a.promise;else if(h.revert){if(this.state.data===void 0)throw h;return this.state.data}}throw this.#f({type:"error",error:h}),this.#o.config.onError?.(h,this),this.#o.config.onSettled?.(this.state.data,h,this),h}finally{if(this.#a===d)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,...EB(a.data,this.options),fetchMeta:e.meta??null};case"success":let i={...a,...SX(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 s=e.error;return{...a,error:s,errorUpdateCount:a.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:a.fetchFailureCount+1,fetchFailureReason:s,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...a,isInvalidated:!0};case"setState":return{...a,...e.state}}};this.state=r(this.state),Ht.batch(()=>{this.observers.slice().forEach((a)=>{a.onQueryUpdate()}),this.#o.notify({query:this,type:"updated",action:e})})}};function EB(e,r){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:TB(r.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function SX(e,r){return{data:e,dataUpdatedAt:r??Date.now(),error:null,isInvalidated:!1,status:"success"}}function LX(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 Yo=class extends wo{#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),CX(this.#t,this.options))this.#d();else this.updateResult();this.#x()}}onUnsubscribe(){if(!this.hasListeners())this.destroy()}shouldFetchOnReconnect(){return DB(this.#t,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return DB(this.#t,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#v(),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 Ja(this.options.enabled,this.#t)!=="boolean")throw Error("Expected enabled to be a boolean or a callback that returns a boolean");if(this.#_(),this.#t.setOptions(this.options),r._defaulted&&!Yi(this.options,r))this.#e.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#t,observer:this});let i=this.hasListeners();if(i&&IX(this.#t,a,this.options,r))this.#d();if(this.updateResult(),i&&(this.#t!==a||Ja(this.options.enabled,this.#t)!==Ja(r.enabled,this.#t)||Ja(this.options.staleTime,this.#t)!==Ja(r.staleTime,this.#t)))this.#h();let s=this.#g();if(i&&(this.#t!==a||Ja(this.options.enabled,this.#t)!==Ja(r.enabled,this.#t)||s!==this.#l))this.#M(s)}getOptimisticResult(e){let r=this.#e.getQueryCache().build(this.#e,e),a=this.createResult(r,e);if(!Yi(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=()=>{},s,l=new Promise((c)=>{s=c,i=this.#e.getQueryCache().subscribe((d)=>{if(d.type==="updated"&&d.query.queryHash===a.queryHash&&a.state.data!==void 0)i(),c(this.createResult(a,r))})});return Promise.race([a.fetch().then(()=>{let c=this.createResult(a,r);return s?.(c),c}).finally(()=>{i()}),l])}fetch(e){return this.#d({...e,cancelRefetch:e.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#o))}#d(e){this.#_();let r=this.#t.fetch(this.options,e);if(!e?.throwOnError)r=r.catch(br);return r}#m(e){return!VL()&&Ja(this.options.enabled,this.#t)!==!1&&ZN(e)}#h(){this.#v();let e=Ja(this.options.staleTime,this.#t);if(this.#o.isStale||!this.#m(e))return;let r=pN(this.#o.dataUpdatedAt,e)+1;this.#c=Nu.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=Nu.setInterval(()=>{if(this.options.refetchIntervalInBackground||WL.isFocused())this.#d()},this.#l)}#x(){this.#h(),this.#M(this.#g())}#v(){if(this.#c!==void 0)Nu.clearTimeout(this.#c),this.#c=void 0}#y(){if(this.#u!==void 0)Nu.clearInterval(this.#u),this.#u=void 0}createResult(e,r){let a=this.#t,i=this.options,s=this.#o,l=this.#n,c=this.#a,d=e!==a?e.state:this.#r,{state:h}=e,g={...h},x=!1,v;if(r._optimisticResults){let J=this.hasListeners(),ee=!J&&CX(e,r),re=J&&IX(e,a,r,i);if(ee||re)g={...g,...EB(h.data,e.options)};if(r._optimisticResults==="isRestoring")g.fetchStatus="idle"}let{error:b,errorUpdatedAt:y,status:k}=g;v=g.data;let T=!1;if(r.placeholderData!==void 0&&v===void 0&&k==="pending"){let J;if(s?.isPlaceholderData&&r.placeholderData===c?.placeholderData)J=s.data,T=!0;else J=typeof r.placeholderData==="function"?r.placeholderData(this.#Z?.state.data,this.#Z):r.placeholderData;if(J!==void 0)k="success",v=vP(s?.data,J,r),x=!0}if(r.select&&v!==void 0&&!T)if(s&&v===l?.data&&r.select===this.#s)v=this.#f;else try{this.#s=r.select,v=r.select(v),v=vP(s?.data,v,r),this.#f=v,this.#i=null}catch(J){this.#i=J}else if(v===void 0)this.#i=null;if(this.#i)b=this.#i,v=this.#f,y=Date.now(),k="error",x=!1;let U=g.fetchStatus==="fetching",N=k==="pending",j=k==="error",G=N&&U,X=v!==void 0;return{status:k,fetchStatus:g.fetchStatus,isPending:N,isSuccess:k==="success",isError:j,isInitialLoading:G,isLoading:G,data:v,dataUpdatedAt:g.dataUpdatedAt,error:b,errorUpdatedAt:y,failureCount:g.fetchFailureCount,failureReason:g.fetchFailureReason,errorUpdateCount:g.errorUpdateCount,isFetched:e.isFetched(),isFetchedAfterMount:g.dataUpdateCount>d.dataUpdateCount||g.errorUpdateCount>d.errorUpdateCount,isFetching:U,isRefetching:U&&!N,isLoadingError:j&&!X,isPaused:g.fetchStatus==="paused",isPlaceholderData:x,isRefetchError:j&&X,isStale:OB(e,r),refetch:this.refetch,isEnabled:Ja(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(Yi(r,e))return;this.#o=r;let i=(()=>{if(!e)return!0;let{notifyOnChangeProps:s}=this.options,l=typeof s==="function"?s():s;if(l==="all"||!l&&!this.#p.size)return!0;let c=new Set(l??this.#p);if(this.options.throwOnError)c.add("error");return Object.keys(this.#o).some((d)=>{let h=d;return this.#o[h]!==e[h]&&c.has(h)})})();Ht.batch(()=>{if(i)this.listeners.forEach((s)=>{s(this.#o)});this.#e.getQueryCache().notify({query:this.#t,type:"observerResultsUpdated"})})}#_(){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.#x()}};function Y_e(e,r){return Ja(r.enabled,e)!==!1&&e.state.data===void 0&&!(e.state.status==="error"&&Ja(r.retryOnMount,e)===!1)}function CX(e,r){return Y_e(e,r)||e.state.data!==void 0&&DB(e,r,r.refetchOnMount)}function DB(e,r,a){if(Ja(r.enabled,e)!==!1&&Ja(r.staleTime,e)!=="static"){let i=typeof a==="function"?a(e):a;return i==="always"||i!==!1&&OB(e,r)}return!1}function IX(e,r,a,i){return(e!==r||Ja(i.enabled,e)===!1)&&(!a.suspense||e.state.status!=="error")&&OB(e,a)}function OB(e,r){return Ja(r.enabled,e)!==!1&&e.isStaleByTime(Ja(r.staleTime,e))}var NB=class extends Yo{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:s,isRefetching:l,isError:c,isRefetchError:d}=i,h=a.fetchMeta?.fetchMore?.direction,g=c&&h==="forward",x=s&&h==="forward",v=c&&h==="backward",b=s&&h==="backward";return{...i,fetchNextPage:this.fetchNextPage,fetchPreviousPage:this.fetchPreviousPage,hasNextPage:wX(r,a.data),hasPreviousPage:zX(r,a.data),isFetchNextPageError:g,isFetchingNextPage:x,isFetchPreviousPageError:v,isFetchingPreviousPage:b,isRefetchError:d&&!g&&!v,isRefetching:l&&!x&&!b}}};var RX=class extends vN{#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||FB(),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=xN({fn:()=>{if(!this.options.mutationFn)return Promise.reject(Error("No mutationFn found"));return this.options.mutationFn(e,a)},onFail:(c,d)=>{this.#n({type:"failed",failureCount:c,error:d})},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)}),s=this.state.status==="pending",l=!i.canStart();try{if(s)r();else{if(this.#n({type:"pending",variables:e,isPaused:l}),this.#r.config.onMutate)await this.#r.config.onMutate(e,this,a);let d=await this.options.onMutate?.(e,a);if(d!==this.state.context)this.#n({type:"pending",context:d,variables:e,isPaused:l})}let c=await i.start();return await this.#r.config.onSuccess?.(c,e,this.state.context,this,a),await this.options.onSuccess?.(c,e,this.state.context,a),await this.#r.config.onSettled?.(c,null,this.state.variables,this.state.context,this,a),await this.options.onSettled?.(c,null,e,this.state.context,a),this.#n({type:"success",data:c}),c}catch(c){try{await this.#r.config.onError?.(c,e,this.state.context,this,a)}catch(d){Promise.reject(d)}try{await this.options.onError?.(c,e,this.state.context,a)}catch(d){Promise.reject(d)}try{await this.#r.config.onSettled?.(void 0,c,this.state.variables,this.state.context,this,a)}catch(d){Promise.reject(d)}try{await this.options.onSettled?.(void 0,c,e,this.state.context,a)}catch(d){Promise.reject(d)}throw this.#n({type:"error",error:c}),c}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),Ht.batch(()=>{this.#t.forEach((a)=>{a.onMutationUpdate(e)}),this.#r.notify({mutation:this,type:"updated",action:e})})}};function FB(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var PX=class extends wo{#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 RX({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=yN(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=yN(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=yN(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=yN(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(){Ht.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)=>hN(r,a))}findAll(e={}){return this.getAll().filter((r)=>hN(e,r))}notify(e){Ht.batch(()=>{this.listeners.forEach((r)=>{r(e)})})}resumePausedMutations(){let e=this.getAll().filter((r)=>r.state.isPaused);return Ht.batch(()=>Promise.all(e.map((r)=>r.continue().catch(br))))}};function yN(e){return e.options.scope?.id}var jB=class extends wo{#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),!Yi(this.options,r))this.#e.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.#r,observer:this});if(r?.mutationKey&&this.options.mutationKey&&Fu(r.mutationKey)!==Fu(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??FB();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){Ht.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(s){Promise.reject(s)}try{this.#o.onSettled?.(e.data,null,r,a,i)}catch(s){Promise.reject(s)}}else if(e?.type==="error"){try{this.#o.onError?.(e.error,r,a,i)}catch(s){Promise.reject(s)}try{this.#o.onSettled?.(void 0,e.error,r,a,i)}catch(s){Promise.reject(s)}}}this.listeners.forEach((r)=>{r(this.#t)})})}};var TX=class extends wo{#e;constructor(e={}){super();this.config=e,this.#e=new Map}build(e,r,a){let i=r.queryKey,s=r.queryHash??xP(i,r),l=this.get(s);if(!l)l=new kX({client:e,queryKey:i,queryHash:s,options:e.defaultQueryOptions(r),state:a,defaultOptions:e.getQueryDefaults(i)}),this.add(l);return l}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(){Ht.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)=>mN(r,a))}findAll(e={}){let r=this.getAll();return Object.keys(e).length>0?r.filter((a)=>mN(e,a)):r}notify(e){Ht.batch(()=>{this.listeners.forEach((r)=>{r(e)})})}onFocus(){Ht.batch(()=>{this.getAll().forEach((e)=>{e.onFocus()})})}onOnline(){Ht.batch(()=>{this.getAll().forEach((e)=>{e.onOnline()})})}};var BB=class{#e;#t;#r;#o;#n;#a;#i;#s;constructor(e={}){this.#e=e.queryCache||new TX,this.#t=e.mutationCache||new PX,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=WL.subscribe(async(e)=>{if(e)await this.resumePausedMutations(),this.#e.onFocus()}),this.#s=GL.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(Ja(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}),s=this.#e.get(i.queryHash)?.state.data,l=hX(r,s);if(l===void 0)return;return this.#e.build(this,i).setData(l,{...a,manual:!0})}setQueriesData(e,r,a){return Ht.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;Ht.batch(()=>{r.findAll(e).forEach((a)=>{r.remove(a)})})}resetQueries(e,r){let a=this.#e;return Ht.batch(()=>{let i=a.findAll(e),s=new Set(i);return i.forEach((l)=>{l.reset()}),this.refetchQueries({type:"active",predicate:(l)=>s.has(l)},r)})}cancelQueries(e,r={}){let a={revert:!0,...r},i=Ht.batch(()=>this.#e.findAll(e).map((s)=>s.cancel(a)));return Promise.all(i).then(br).catch(br)}invalidateQueries(e,r={}){return Ht.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=Ht.batch(()=>this.#e.findAll(e).filter((s)=>!s.isDisabled()&&!s.isStatic()).map((s)=>{let l=s.fetch(void 0,a);if(!a.throwOnError)l=l.catch(br);return s.state.fetchStatus==="paused"?Promise.resolve():l}));return Promise.all(i).then(br)}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(Ja(r.staleTime,a))?await a.fetch(r):a.state.data,s=r.select;if(s)return s(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(Ja(r.staleTime,a))?a.fetch(r):Promise.resolve(a.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(br).catch(br)}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(br).catch(br)}ensureInfiniteQueryData(e){return e._type="infinite",this.ensureQueryData(e)}resumePausedMutations(){if(GL.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(Fu(e),{queryKey:e,defaultOptions:r})}getQueryDefaults(e){let r=[...this.#o.values()],a={};return r.forEach((i)=>{if(yM(e,i.queryKey))Object.assign(a,i.defaultOptions)}),a}setMutationDefaults(e,r){this.#n.set(Fu(e),{mutationKey:e,defaultOptions:r})}getMutationDefaults(e){let r=[...this.#n.values()],a={};return r.forEach((i)=>{if(yM(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=xP(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===qL)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 Gu=(e,r,a)=>{let i=a?.state.error&&typeof e.throwOnError==="function"?HL(e.throwOnError,[a.state.error,a]):e.throwOnError;if(e.suspense||i){if(!r.isReset())e.retryOnMount=!1}},Vu=(e)=>{m(()=>{e.clearReset()},[e])},Qu=({result:e,errorResetBoundary:r,throwOnError:a,query:i,suspense:s})=>e.isError&&!r.isReset()&&!e.isFetching&&i&&(s&&e.data===void 0||HL(a,[e.error,i]));var Tm=(e,r)=>r.state.data===void 0,Ku=(e)=>{if(e.suspense){let a=(s)=>s==="static"?s:Math.max(s??1000,1000),i=e.staleTime;if(e.staleTime=typeof i==="function"?(...s)=>a(i(...s)):a(i),typeof e.gcTime==="number")e.gcTime=Math.max(e.gcTime,1000)}},Pc=(e,r)=>e?.suspense&&r.isPending,Wu=(e,r,a)=>r.fetchOptimistic(e).catch(()=>{a.clearReset()});S();function fl(e,r,a){let i=Hu(),s=$u(),l=V(a),c=l.defaultQueryOptions(e),d=l.getQueryCache().get(c.queryHash),h=e.subscribed!==!1;c._optimisticResults=i?"isRestoring":h?"optimistic":void 0,Ku(c),Gu(c,s,d),Vu(s);let[g]=u(()=>new r(l,c)),x=g.getOptimisticResult(c),v=!i&&h;if(Xn(P((b)=>{let y=v?g.subscribe(Ht.batchCalls(b)):br;return g.updateResult(),y},[g,v]),()=>g.getCurrentResult(),()=>g.getCurrentResult()),m(()=>{g.setOptions(c)},[c,g]),Pc(c,x))throw Wu(c,g,s);if(Qu({result:x,errorResetBoundary:s,throwOnError:c.throwOnError,query:d,suspense:c.suspense}))throw x.error;return!c.notifyOnChangeProps?g.trackResult(x):x}function Z(e,r){return fl(e,Yo,r)}S();function B(e,r){let a=V(r),[i]=u(()=>new jB(a,e));m(()=>{i.setOptions(e)},[i,e]);let s=Xn(P((c)=>i.subscribe(Ht.batchCalls(c)),[i]),()=>i.getCurrentResult(),()=>i.getCurrentResult()),l=P((...c)=>{i.mutate(c[0],c[1]).catch(br)},[i]);if(s.error&&HL(i.options.throwOnError,[s.error]))throw s.error;return{...s,mutate:l,mutateAsync:s.mutate}}function mt(e,r){return fl(e,NB,r)}S();var ez=lt(void 0),AX=lt(void 0);S();var _N=lt(null);S();function Wa(e){return pt(_N)}var Hr=!1;function _M(e){return e[e.length-1]}function q_e(e){return typeof e==="function"}function as(e,r){if(q_e(e))return e(r);return e}var FX=Object.prototype.hasOwnProperty,EX=Object.prototype.propertyIsEnumerable;function bM(e){for(let r in e)if(FX.call(e,r))return!0;return!1}var H_e=()=>Object.create(null),wM=(e,r)=>Ts(e,r,H_e);function Ts(e,r,a=()=>({}),i=0){if(Hr)return r;if(e===r)return e;if(i>500)return r;let s=r,l=bN(e)&&bN(s);if(!l&&!(KL(e)&&KL(s)))return s;let c=l?e:DX(e);if(!c)return s;let d=l?s:DX(s);if(!d)return s;let h=c.length,g=d.length,x=l?Array(g):a(),v=0;for(let b=0;b<g;b++){let y=l?b:d[b],k=e[y],T=s[y];if(k===T){if(x[y]=k,l?b<h:FX.call(e,y))v++;continue}if(k===null||T===null||typeof k!=="object"||typeof T!=="object"){x[y]=T;continue}let U=Ts(k,T,a,i+1);if(x[y]=U,U===k)v++}return h===g&&v===h?e:x}function DX(e){let r=Object.getOwnPropertyNames(e);for(let s of r)if(!EX.call(e,s))return!1;let a=Object.getOwnPropertySymbols(e);if(a.length===0)return r;let i=r;for(let s of a){if(!EX.call(e,s))return!1;i.push(s)}return i}function KL(e){if(!OX(e))return!1;let r=e.constructor;if(typeof r>"u")return!0;let a=r.prototype;if(!OX(a))return!1;if(!a.hasOwnProperty("isPrototypeOf"))return!1;return!0}function OX(e){return Object.prototype.toString.call(e)==="[object Object]"}function bN(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function nc(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,s=e.length;i<s;i++)if(!nc(e[i],r[i],a))return!1;return!0}if(KL(e)&&KL(r)){let i=a?.ignoreUndefined??!0;if(a?.partial){for(let c in r)if(!i||r[c]!==void 0){if(!nc(e[c],r[c],a))return!1}return!0}let s=0;if(!i)s=Object.keys(e).length;else for(let c in e)if(e[c]!==void 0)s++;let l=0;for(let c in r)if(!i||r[c]!==void 0){if(l++,l>s||!nc(e[c],r[c],a))return!1}return s===l}return!1}function au(e){let r,a,i=new Promise((s,l)=>{r=s,a=l});return i.status="pending",i.resolve=(s)=>{i.status="resolved",i.value=s,r(s),e?.(s)},i.reject=(s)=>{i.status="rejected",a(s)},i}function zM(e){return Boolean(e&&typeof e==="object"&&typeof e.then==="function")}function V_e(e){return e.replace(/[\x00-\x1f\x7f]/g,"")}function NX(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 V_e(r)}var wN=["http:","https:","mailto:","tel:"];function ju(e,r){if(!e)return!1;try{let a=new URL(e);return!r.has(a.protocol)}catch{return!1}}function XL(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="",s;while((s=r.exec(e))!==null)i+=NX(e.slice(a,s.index))+s[0],a=r.lastIndex;i=i+NX(a?e.slice(a):e);let l=!1;if(i.startsWith("//"))l=!0,i="/"+i.replace(/^\/+/,"");return{path:i,handledProtocolRelativeURL:l}}function jX(e){if(!/\s|[^\u0000-\u007F]/.test(e))return e;return e.replace(/\s|[^\u0000-\u007F]/gu,encodeURIComponent)}function BX(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 SM(e){let r=new Map,a,i,s=(l)=>{if(!l.next)return;if(!l.prev){if(l.next.prev=void 0,a=l.next,l.next=void 0,i)l.prev=i,i.next=l}else if(l.prev.next=l.next,l.next.prev=l.prev,l.next=void 0,i)i.next=l,l.prev=i;i=l};return{get(l){let c=r.get(l);if(!c)return;return s(c),c.value},set(l,c){if(r.size>=e&&a){let h=a;if(r.delete(h.key),h.next)a=h.next,h.next.prev=void 0;if(h===i)i=void 0}let d=r.get(l);if(d)d.value=c,s(d);else{let h={key:l,value:c,prev:i};if(i)i.next=h;if(i=h,!a)a=h;r.set(l,h)}},clear(){r.clear(),a=void 0,i=void 0}}}var kM=4,YX=5;function W_e(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 qB(e,r,a=new Uint16Array(6)){let i=e.indexOf("/",r),s=i===-1?e.length:i,l=e.substring(r,s);if(!l||!l.includes("$"))return a[0]=0,a[1]=r,a[2]=r,a[3]=s,a[4]=s,a[5]=s,a;if(l==="$"){let d=e.length;return a[0]=2,a[1]=r,a[2]=r,a[3]=d,a[4]=d,a[5]=d,a}if(l.charCodeAt(0)===36)return a[0]=1,a[1]=r,a[2]=r+1,a[3]=s,a[4]=s,a[5]=s,a;let c=W_e(l);if(c){let[d,h]=c,g=l.charCodeAt(d+1);if(g===45){if(d+2<l.length&&l.charCodeAt(d+2)===36){let x=d+3,v=h;if(x<v)return a[0]=3,a[1]=r+d,a[2]=r+x,a[3]=r+v,a[4]=r+h+1,a[5]=s,a}}else if(g===36){let x=d+1,v=d+2;if(v===h)return a[0]=2,a[1]=r+d,a[2]=r+x,a[3]=r+v,a[4]=r+h+1,a[5]=e.length,a;return a[0]=1,a[1]=r+d,a[2]=r+v,a[3]=r+h,a[4]=r+h+1,a[5]=s,a}}return a[0]=0,a[1]=r,a[2]=r,a[3]=s,a[4]=s,a[5]=s,a}function LN(e,r,a,i,s,l,c){c?.(a);let d=i;{let h=a.fullPath??a.from,g=h.length,x=a.options?.caseSensitive??e,v=a.options?.params?.parse??a.options?.parseParams;while(d<g){let y=qB(h,d,r),k,T=d,U=y[5];switch(d=U+1,l++,y[0]){case 0:{let N=h.substring(y[2],y[3]);if(x){let j=s.static?.get(N);if(j)k=j;else{s.static??=new Map;let G=tz(a.fullPath??a.from);G.parent=s,G.depth=l,k=G,s.static.set(N,G)}}else{let j=N.toLowerCase(),G=s.staticInsensitive?.get(j);if(G)k=G;else{s.staticInsensitive??=new Map;let X=tz(a.fullPath??a.from);X.parent=s,X.depth=l,k=X,s.staticInsensitive.set(j,X)}}break}case 1:{let N=h.substring(T,y[1]),j=h.substring(y[4],U),G=x&&!!(N||j),X=!N?void 0:G?N:N.toLowerCase(),J=!j?void 0:G?j:j.toLowerCase(),ee=!v&&s.dynamic?.find((re)=>!re.parse&&re.caseSensitive===G&&re.prefix===X&&re.suffix===J);if(ee)k=ee;else{let re=YB(1,a.fullPath??a.from,G,X,J);k=re,re.depth=l,re.parent=s,s.dynamic??=[],s.dynamic.push(re)}break}case 3:{let N=h.substring(T,y[1]),j=h.substring(y[4],U),G=x&&!!(N||j),X=!N?void 0:G?N:N.toLowerCase(),J=!j?void 0:G?j:j.toLowerCase(),ee=!v&&s.optional?.find((re)=>!re.parse&&re.caseSensitive===G&&re.prefix===X&&re.suffix===J);if(ee)k=ee;else{let re=YB(3,a.fullPath??a.from,G,X,J);k=re,re.parent=s,re.depth=l,s.optional??=[],s.optional.push(re)}break}case 2:{let N=h.substring(T,y[1]),j=h.substring(y[4],U),G=x&&!!(N||j),X=!N?void 0:G?N:N.toLowerCase(),J=!j?void 0:G?j:j.toLowerCase(),ee=YB(2,a.fullPath??a.from,G,X,J);k=ee,ee.parent=s,ee.depth=l,s.wildcard??=[],s.wildcard.push(ee)}}s=k}if(v&&a.children&&!a.isRoot&&a.id&&a.id.charCodeAt(a.id.lastIndexOf("/")+1)===95){let y=tz(a.fullPath??a.from);y.kind=YX,y.parent=s,l++,y.depth=l,s.pathless??=[],s.pathless.push(y),s=y}let b=(a.path||!a.children)&&!a.isRoot;if(b&&h.endsWith("/")){let y=tz(a.fullPath??a.from);y.kind=kM,y.parent=s,l++,y.depth=l,s.index=y,s=y}if(s.parse=v??null,s.priority=a.options?.params?.priority??0,b&&!s.route)s.route=a,s.fullPath=a.fullPath??a.from}if(a.children)for(let h of a.children)LN(e,r,h,d,s,l,c)}function UB(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 LM(e){if(e.pathless)for(let r of e.pathless)LM(r);if(e.static)for(let r of e.static.values())LM(r);if(e.staticInsensitive)for(let r of e.staticInsensitive.values())LM(r);if(e.dynamic?.length){e.dynamic.sort(UB);for(let r of e.dynamic)LM(r)}if(e.optional?.length){e.optional.sort(UB);for(let r of e.optional)LM(r)}if(e.wildcard?.length){e.wildcard.sort(UB);for(let r of e.wildcard)LM(r)}}function tz(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 YB(e,r,a,i,s){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:s}}function qX(e,r){let a=tz("/"),i=new Uint16Array(6);for(let s of e)LN(!1,i,s,1,a,0);LM(a),r.masksTree=a,r.flatCache=SM(1000)}function HX(e,r){e||="/";let a=r.flatCache.get(e);if(a)return a;let i=HB(e,r.masksTree);return r.flatCache.set(e,i),i}function VX(e,r,a,i,s){e||="/",i||="/";let l=r?`case\x00${e}`:e,c=s.singleCache.get(l);if(!c)c=tz("/"),LN(r,new Uint16Array(6),{from:e},1,c,0),s.singleCache.set(l,c);return HB(i,c,a)}function WX(e,r,a=!1){let i=a?e:`nofuzz\x00${e}`,s=r.matchCache.get(i);if(s!==void 0)return s;e||="/";let l;try{l=HB(e,r.segmentTree,a)}catch(c){if(c instanceof URIError)l=null;else throw c}if(l)l.branch=VB(l.route);return r.matchCache.set(i,l),l}function G_e(e){return e==="/"?e:e.replace(/\/{1,}$/,"")}function GX(e,r=!1,a){let i=tz(e.fullPath),s=new Uint16Array(6),l={},c={},d=0;return LN(r,s,e,1,i,0,(h)=>{if(a?.(h,d),h.id in l)ni();if(l[h.id]=h,d!==0&&h.path){let g=G_e(h.fullPath);if(!c[g]||h.fullPath.endsWith("/"))c[g]=h}d++}),LM(i),{processedTree:{segmentTree:i,singleCache:SM(1000),matchCache:SM(1000),flatCache:null,masksTree:null},routesById:l,routesByPath:c}}function HB(e,r,a=!1){let i=e.split("/"),s=X_e(e,i,r,a);if(!s)return null;let[l]=KX(e,i,s);return{route:s.node.route,rawParams:l}}function KX(e,r,a){let i=K_e(a.node),s=null,l=Object.create(null),c=a.extract?.part??0,d=a.extract?.node??0,h=a.extract?.path??0,g=a.extract?.segment??0;for(;d<i.length;c++,d++,h++,g++){let x=i[d];if(x.kind===kM)break;if(x.kind===YX){g--,c--,h--;continue}let v=r[c],b=h;if(v)h+=v.length;if(x.kind===1){s??=a.node.fullPath.split("/");let y=s[g],k=x.prefix?.length??0;if(y.charCodeAt(k)===123){let T=x.suffix?.length??0,U=y.substring(k+2,y.length-T-1),N=v.substring(k,v.length-T);l[U]=decodeURIComponent(N)}else{let T=y.substring(1);l[T]=decodeURIComponent(v)}}else if(x.kind===3){if(a.skipped&1<<d){c--,h=b-1;continue}s??=a.node.fullPath.split("/");let y=s[g],k=x.prefix?.length??0,T=x.suffix?.length??0,U=y.substring(k+3,y.length-T-1),N=x.suffix||x.prefix?v.substring(k,v.length-T):v;if(N)l[U]=decodeURIComponent(N)}else if(x.kind===2){let y=x,k=e.substring(b+(y.prefix?.length??0),e.length-(y.suffix?.length??0)),T=decodeURIComponent(k);l["*"]=T,l._splat=T;break}}if(a.rawParams)Object.assign(l,a.rawParams);return[l,{part:c,node:d,path:h,segment:g}]}function VB(e){let r=[e];while(e.parentRoute)e=e.parentRoute,r.push(e);return r.reverse(),r}function K_e(e){let r=Array(e.depth+1);do r[e.depth]=e,e=e.parent;while(e);return r}function X_e(e,r,a,i){if(e==="/"&&a.index)return{node:a.index,skipped:0};let s=!_M(r),l=s&&e!=="/",c=r.length-(s?1:0),d=[{node:a,index:1,skipped:0,depth:1,statics:0,dynamics:0,optionals:0}],h=null,g=null;while(d.length){let x=d.pop(),{node:v,index:b,skipped:y,depth:k,statics:T,dynamics:U,optionals:N}=x,{extract:j,rawParams:G}=x;if(v.kind===2&&v.route&&!SN(g,x))continue;if(v.parse){if(!UX(e,r,x))continue;G=x.rawParams,j=x.extract}if(i&&v.route&&v.kind!==kM&&SN(h,x))h=x;let X=b===c;if(X){if(v.route&&(!l||v.kind===kM||v.kind===2)&&SN(g,x))g=x;if(!v.optional&&!v.wildcard&&!v.index&&!v.pathless)continue}let J=X?void 0:r[b],ee;if(X&&v.index){let re={node:v.index,index:b,skipped:y,depth:k+1,statics:T,dynamics:U,optionals:N,extract:j,rawParams:G},oe=!0;if(v.index.parse){if(!UX(e,r,re))oe=!1}if(oe){if(!U&&!N&&!y&&Q_e(T,c))return re;if(SN(g,re))g=re}}if(v.wildcard)for(let re=v.wildcard.length-1;re>=0;re--){let oe=v.wildcard[re],{prefix:fe,suffix:be}=oe;if(fe){if(X)continue;if(!(oe.caseSensitive?J:ee??=J.toLowerCase()).startsWith(fe))continue}if(be){if(X)continue;let We=r.slice(b).join("/").slice(-be.length);if((oe.caseSensitive?We:We.toLowerCase())!==be)continue}d.push({node:oe,index:c,skipped:y,depth:k+1,statics:T,dynamics:U,optionals:N,extract:j,rawParams:G})}if(v.optional){let re=y|1<<k,oe=k+1;for(let fe=v.optional.length-1;fe>=0;fe--){let be=v.optional[fe];d.push({node:be,index:b,skipped:re,depth:oe,statics:T,dynamics:U,optionals:N,extract:j,rawParams:G})}if(!X)for(let fe=v.optional.length-1;fe>=0;fe--){let be=v.optional[fe],{prefix:We,suffix:Ye}=be;if(We||Ye){let Se=be.caseSensitive?J:ee??=J.toLowerCase();if(We&&!Se.startsWith(We))continue;if(Ye&&!Se.endsWith(Ye))continue}d.push({node:be,index:b+1,skipped:y,depth:oe,statics:T,dynamics:U,optionals:N+zN(c,b),extract:j,rawParams:G})}}if(!X&&v.dynamic&&J)for(let re=v.dynamic.length-1;re>=0;re--){let oe=v.dynamic[re],{prefix:fe,suffix:be}=oe;if(fe||be){let We=oe.caseSensitive?J:ee??=J.toLowerCase();if(fe&&!We.startsWith(fe))continue;if(be&&!We.endsWith(be))continue}d.push({node:oe,index:b+1,skipped:y,depth:k+1,statics:T,dynamics:U+zN(c,b),optionals:N,extract:j,rawParams:G})}if(!X&&v.staticInsensitive){let re=v.staticInsensitive.get(ee??=J.toLowerCase());if(re)d.push({node:re,index:b+1,skipped:y,depth:k+1,statics:T+zN(c,b),dynamics:U,optionals:N,extract:j,rawParams:G})}if(!X&&v.static){let re=v.static.get(J);if(re)d.push({node:re,index:b+1,skipped:y,depth:k+1,statics:T+zN(c,b),dynamics:U,optionals:N,extract:j,rawParams:G})}if(v.pathless){let re=k+1;for(let oe=v.pathless.length-1;oe>=0;oe--){let fe=v.pathless[oe];d.push({node:fe,index:b,skipped:y,depth:re,statics:T,dynamics:U,optionals:N,extract:j,rawParams:G})}}}if(g)return g;if(i&&h){let x=h.index;for(let b=0;b<h.index;b++)x+=r[b].length;let v=x===e.length?"/":e.slice(x);return h.rawParams??=Object.create(null),h.rawParams["**"]=decodeURIComponent(v),h}return null}function zN(e,r){return 2**(e-r-1)}function Q_e(e,r){return e===2**(r-1)-1}function UX(e,r,a){let i,s;try{[i,s]=KX(e,r,a)}catch{return null}if(a.rawParams=i,a.extract=s,!a.node.parse)return!0;try{if(a.node.parse(i)===!1)return null}catch{}return!0}function SN(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===kM)>(e.node.kind===kM)||r.node.kind===kM===(e.node.kind===kM)&&r.depth>e.depth)))}function IM(e){return QL(e.filter((r)=>r!==void 0).join("/"))}function QL(e){return e.replace(/\/{2,}/g,"/")}function _P(e){return e==="/"?e:e.replace(/^\/{1,}/,"")}function Es(e){let r=e.length;return r>1&&e[r-1]==="/"?e.replace(/\/{1,}$/,""):e}function JL(e){return Es(_P(e))}function CM(e,r){if(e?.endsWith("/")&&e!=="/"&&e!==`${r}/`)return e.slice(0,-1);return e}function kN(e,r,a){return CM(e,a)===CM(r,a)}function CN({base:e,to:r,trailingSlash:a="never",cache:i}){let s=r.startsWith("/"),l=!s&&r===".",c;if(i){c=s?r:l?e:e+"\x00"+r;let g=i.get(c);if(g)return g}let d;if(l)d=e.split("/");else if(s)d=r.split("/");else{d=e.split("/");while(d.length>1&&_M(d)==="")d.pop();let g=r.split("/");for(let x=0,v=g.length;x<v;x++){let b=g[x];if(b===""){if(!x)d=[b];else if(x===v-1)d.push(b)}else if(b==="..")d.pop();else if(b===".");else d.push(b)}}if(d.length>1){if(_M(d)===""){if(a==="never")d.pop()}else if(a==="always")d.push("")}let h=QL(d.join("/"))||"/";if(c&&i)i.set(c,h);return h}function QX(e){let r=new Map(e.map((s)=>[encodeURIComponent(s),s])),a=Array.from(r.keys()).map((s)=>s.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")).join("|"),i=new RegExp(a,"g");return(s)=>s.replace(i,(l)=>r.get(l)??l)}function yP(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((s)=>XX(s,a)).join("/")}else return XX(i,a)}function bP({path:e,params:r,decoder:a,...i}){let s=!1,l=Object.create(null);if(!e||e==="/")return{interpolatedPath:"/",usedParams:l,isMissingParams:s};if(!e.includes("$"))return{interpolatedPath:e,usedParams:l,isMissingParams:s};if(Hr??i.server){if(e.indexOf("{")===-1){let x=e.length,v=0,b="";while(v<x){while(v<x&&e.charCodeAt(v)===47)v++;if(v>=x)break;let y=v,k=e.indexOf("/",v);if(k===-1)k=x;v=k;let T=e.substring(y,k);if(!T)continue;if(T.charCodeAt(0)===36)if(T.length===1){let U=r._splat;if(l._splat=U,l["*"]=U,!U){s=!0;continue}let N=yP("_splat",r,a);b+="/"+N}else{let U=T.substring(1);if(!s&&!(U in r))s=!0;l[U]=r[U];let N=yP(U,r,a)??"undefined";b+="/"+N}else b+="/"+T}if(e.endsWith("/"))b+="/";return{usedParams:l,interpolatedPath:b||"/",isMissingParams:s}}}let c=e.length,d=0,h,g="";while(d<c){let x=d;h=qB(e,x,h);let v=h[5];if(d=v+1,x===v)continue;let b=h[0];if(b===0){g+="/"+e.substring(x,v);continue}if(b===2){let y=r._splat;l._splat=y,l["*"]=y;let k=e.substring(x,h[1]),T=e.substring(h[4],v);if(!y){if(s=!0,k||T)g+="/"+k+T;continue}let U=yP("_splat",r,a);g+="/"+k+U+T;continue}if(b===1){let y=e.substring(h[2],h[3]);if(!s&&!(y in r))s=!0;l[y]=r[y];let k=e.substring(x,h[1]),T=e.substring(h[4],v),U=yP(y,r,a)??"undefined";g+="/"+k+U+T;continue}if(b===3){let y=e.substring(h[2],h[3]),k=r[y];if(k==null)continue;l[y]=k;let T=e.substring(x,h[1]),U=e.substring(h[4],v),N=yP(y,r,a)??"";g+="/"+T+N+U;continue}}if(e.endsWith("/"))g+="/";return{usedParams:l,interpolatedPath:g||"/",isMissingParams:s}}function XX(e,r){let a=encodeURIComponent(e);return r?.(a)??a}function $a(e){return e?.isNotFound===!0}function JX(e,r=String){let a=new URLSearchParams;for(let i in e){let s=e[i];if(s!==void 0)a.set(i,r(s))}return a.toString()}function WB(e){if(!e)return"";if(e==="false")return!1;if(e==="true")return!0;return+e*0===0&&+e+""===e?+e:e}function $X(e){let r=new URLSearchParams(e),a=Object.create(null);for(let[i,s]of r.entries()){let l=a[i];if(l==null)a[i]=WB(s);else if(Array.isArray(l))l.push(WB(s));else a[i]=[l,WB(s)]}return a}var GB=eQ(JSON.parse),KB=tQ(JSON.stringify,JSON.parse);function eQ(e){return(r)=>{if(r[0]==="?")r=r.substring(1);let a=$X(r);for(let i in a){let s=a[i];if(typeof s==="string")try{a[i]=e(s)}catch(l){}}return a}}function tQ(e,r){let a=typeof r==="function";function i(s){if(typeof s==="object"&&s!==null)try{return e(s)}catch(l){}else if(a&&typeof s==="string")try{return r(s),e(s)}catch(l){}return s}return(s)=>{let l=JX(s,i);return l?`?${l}`:""}}var ns="__root__";function cl(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 XB(e){return{input:({url:r})=>{for(let a of e)r=IN(a,r);return r},output:({url:r})=>{for(let a=e.length-1;a>=0;a--)r=QB(e[a],r);return r}}}function rQ(e){let r=JL(e.basepath),a=`/${r}`,i=e.caseSensitive?a:a.toLowerCase(),s=`${i}/`;return{input:({url:l})=>{let c=e.caseSensitive?l.pathname:l.pathname.toLowerCase();if(c===i)l.pathname="/";else if(c.startsWith(s))l.pathname=l.pathname.slice(a.length);return l},output:({url:l})=>(l.pathname=IM(["/",r,l.pathname]),l)}}function IN(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 QB(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 e6(e){let r=e;return{get(){return r},set(a){r=as(a,r)}}}function t6(e){return{get(){return e()}}}function oQ(e,r){let{createMutableStore:a,createReadonlyStore:i,batch:s,init:l}=r,c=new Map,d=new Map,h=new Map,g=a(e.status),x=a(e.loadedAt),v=a(e.isLoading),b=a(e.isTransitioning),y=a(e.location),k=a(e.resolvedLocation),T=a(e.statusCode),U=a(e.redirect),N=a([]),j=a([]),G=a([]),X=i(()=>JB(c,N.get())),J=i(()=>JB(d,j.get())),ee=i(()=>JB(h,G.get())),re=i(()=>N.get()[0]),oe=i(()=>N.get().some((xt)=>c.get(xt)?.get().status==="pending")),fe=i(()=>({locationHref:y.get().href,resolvedLocationHref:k.get()?.href,status:g.get()})),be=i(()=>({status:g.get(),loadedAt:x.get(),isLoading:v.get(),isTransitioning:b.get(),matches:X.get(),location:y.get(),resolvedLocation:k.get(),statusCode:T.get(),redirect:U.get()})),We=SM(64);function Ye(xt){let Ft=We.get(xt);if(!Ft)Ft=i(()=>{let Bt=N.get();for(let ie of Bt){let bt=c.get(ie);if(bt&&bt.routeId===xt)return bt.get()}}),We.set(xt,Ft);return Ft}let Se={status:g,loadedAt:x,isLoading:v,isTransitioning:b,location:y,resolvedLocation:k,statusCode:T,redirect:U,matchesId:N,pendingIds:j,cachedIds:G,matches:X,pendingMatches:J,cachedMatches:ee,firstId:re,hasPending:oe,matchRouteDeps:fe,matchStores:c,pendingMatchStores:d,cachedMatchStores:h,__store:be,getRouteMatchStore:Ye,setMatches:He,setPending:ft,setCached:Je};He(e.matches),l?.(Se);function He(xt){$B(xt,c,N,a,s)}function ft(xt){$B(xt,d,j,a,s)}function Je(xt){$B(xt,h,G,a,s)}return Se}function JB(e,r){let a=[];for(let i of r){let s=e.get(i);if(s)a.push(s.get())}return a}function $B(e,r,a,i,s){let l=e.map((d)=>d.id),c=new Set(l);s(()=>{for(let d of r.keys())if(!c.has(d))r.delete(d);for(let d of e){let h=r.get(d.id);if(!h){let g=i(d);g.routeId=d.routeId,r.set(d.id,g);continue}if(h.routeId=d.routeId,h.get()!==d)h.set(d)}if(!BX(a.get(),l))a.set(l)})}function J_e(){try{return sessionStorage}catch{return}}var $_e="tsr-scroll-restoration-v1_3",iQ=J_e();function ebe(){try{return JSON.parse(iQ?.getItem("tsr-scroll-restoration-v1_3")||"{}")}catch{return{}}}function tbe(){try{iQ?.setItem($_e,JSON.stringify($L))}catch{}}var $L=ebe(),aQ="data-scroll-restoration-id",rbe=(e)=>e.state.__TSR_key||e.href;function obe(e){let r=e.getAttribute(aQ);if(r)return`[${aQ}="${r}"]`;let a="",i=e,s;while(s=i.parentNode){let l=1,c=i;while(c=c.previousElementSibling)l++;let d=`${i.localName}:nth-child(${l})`;a=a?`${d} > ${a}`:d,i=s}return a}var RN=!1,ek="window";function r6(e){try{return typeof e==="function"?e():document.querySelector(e)}catch{}}function nQ(e){let r=[];for(let a of e){if(a===ek)continue;let i=r6(a);if(i)r.push(i)}return r}function fQ(e,r){if(r??e.options.scrollRestoration)e.isScrollRestoring=!0;if((Hr??e.isServer)||e.isScrollRestorationSetup)return;e.isScrollRestorationSetup=!0,RN=!1;let a=e.options.getScrollRestorationKey||rbe,i=new Map,s=(d,h,g)=>{let x=i.get(d)||{};x.scrollX=h,x.scrollY=g,i.set(d,x)};history.scrollRestoration="manual";let l=(d)=>{if(RN||!e.isScrollRestoring)return;if(d.target===document)s(ek,scrollX,scrollY);else{let h=d.target;s(h,h.scrollLeft,h.scrollTop)}},c=(d)=>{if(!e.isScrollRestoring)return;let h=$L[d]||={};for(let[g,x]of i)if(g===ek)h[ek]=x;else if(g.isConnected)h[obe(g)]=x};document.addEventListener("scroll",l,!0),e.subscribe("onBeforeLoad",(d)=>{if(d.fromLocation)c(a(d.fromLocation));i.clear()}),addEventListener("pagehide",()=>{c(a(e.stores.resolvedLocation.get()??e.stores.location.get())),tbe()}),e.subscribe("onRendered",(d)=>{let h=e.options.scrollRestorationBehavior,g=e.options.scrollToTopSelectors,x=e.resetNextScroll,v;if(i.clear(),!x)e.resetNextScroll=!0;if(typeof e.options.scrollRestoration==="function"&&!e.options.scrollRestoration({location:e.latestLocation}))return;let b=a(d.toLocation),y=d.fromLocation&&a(d.fromLocation);if(e.isScrollRestoring&&y&&y!==b){let k=$L[y];if(k){let T=$L[b];for(let U in k){if(U===ek){if(x)continue}else{let N=r6(U);if(!N)continue;if(x&&g){if(v??=nQ(g),v.includes(N))continue}}if(!T)T=$L[b]={};T[U]??=k[U]}}}RN=!0;try{let k=d.toLocation.hash,T=d.toLocation.state.__hashScrollIntoViewOptions??!0,U=!1;if(x){let N=PN.get(d.toLocation),j=k&&T&&(N==="PUSH"||N==="REPLACE"),G=e.isScrollRestoring?$L[b]:void 0;if(G)for(let X in G){let{scrollX:J,scrollY:ee}=G[X];if(X===ek){if(j)continue;scrollTo({top:ee,left:J,behavior:h}),U=!0}else{let re=r6(X);if(re)re.scrollLeft=J,re.scrollTop=ee}}if(!U&&!k){let X={top:0,left:0,behavior:h};if(scrollTo(X),g){v??=nQ(g);for(let J of v)J.scrollTo(X)}}}if(!U&&k&&T)document.getElementById(k)?.scrollIntoView(T)}finally{RN=!1}})}var o6=(e)=>{if(!e.rendered)return e.rendered=!0,e.onReady?.()},abe=(e)=>e.stores.matchesId.get().some((r)=>e.stores.matchStores.get(r)?.get()._forcePending),EN=(e,r)=>!!(e.preload&&!e.router.stores.matchStores.has(r)),rz=(e,r,a=!0)=>{let i={...e.router.options.context??{}},s=a?r:r-1;for(let l=0;l<=s;l++){let c=e.matches[l];if(!c)continue;let d=e.router.getMatch(c.id);if(!d)continue;Object.assign(i,d.__routeContext,d.__beforeLoadContext)}return i},sQ=(e,r)=>{if(!e.matches.length)return;let a=r.routeId,i=e.matches.findIndex((c)=>c.routeId===e.router.routeTree.id),s=i>=0?i:0,l=a?e.matches.findIndex((c)=>c.routeId===a):e.firstBadMatchIndex??e.matches.length-1;if(l<0)l=s;for(let c=l;c>=0;c--){let d=e.matches[c];if(e.router.looseRoutesById[d.routeId].options.notFoundComponent)return c}return a?l:s},RM=(e,r,a)=>{if(!ii(a)&&!$a(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":$a(a)?"notFound":i.status==="pending"?"success":i.status,context:rz(e,r.index),isFetching:!1,error:a})),$a(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},dQ=(e,r)=>{let a=e.router.getMatch(r);if(!a)return!0;if(!(Hr??e.router.isServer)&&a._nonReactive.dehydrated)return!0;if((Hr??e.router.isServer)&&a.ssr===!1)return!0;return!1},lQ=(e,r,a)=>{let i=rz(e,a);e.updateMatch(r,(s)=>({...s,context:i}))},wP=(e,r,a)=>{let{id:i,routeId:s}=e.matches[r],l=e.router.looseRoutesById[s];if(a instanceof Promise)throw a;e.firstBadMatchIndex??=r,RM(e,e.router.getMatch(i),a);try{l.options.onError?.(a)}catch(c){a=c,RM(e,e.router.getMatch(i),a)}if(e.updateMatch(i,(c)=>(c._nonReactive.beforeLoadPromise?.resolve(),c._nonReactive.beforeLoadPromise=void 0,c._nonReactive.loadPromise?.resolve(),{...c,error:a,status:"error",isFetching:!1,updatedAt:Date.now(),abortController:new AbortController})),!e.preload&&!ii(a)&&!$a(a))e.serialError??=a},nbe=(e,r,a,i)=>{let s=e.router.getMatch(r),l=e.matches[a-1]?.id,c=l?e.router.getMatch(l):void 0;if(e.router.isShell()){s.ssr=i.id===ns;return}if(c?.ssr===!1){s.ssr=!1;return}let d=(y)=>{if(y===!0&&c?.ssr==="data-only")return"data-only";return y},h=e.router.options.defaultSsr??!0;if(i.options.ssr===void 0){s.ssr=d(h);return}if(typeof i.options.ssr!=="function"){s.ssr=d(i.options.ssr);return}let{search:g,params:x}=s,v={search:TN(g,s.searchError),params:TN(x,s.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:TN(y.search,y.searchError),params:TN(y.params,y.paramsError),ssr:y.ssr}))},b=i.options.ssr(v);if(zM(b))return b.then((y)=>{s.ssr=d(y??h)});s.ssr=d(b??h)},ZQ=(e,r,a,i)=>{if(i._nonReactive.pendingTimeout!==void 0)return;let s=a.options.pendingMs??e.router.options.defaultPendingMs;if(e.onReady&&!(Hr??e.router.isServer)&&!EN(e,r)&&(a.options.loader||a.options.beforeLoad||n6(a))&&typeof s==="number"&&s!==1/0&&(a.options.pendingComponent??e.router.options?.defaultPendingComponent)){let l=setTimeout(()=>{o6(e)},s);i._nonReactive.pendingTimeout=l}},ibe=(e,r,a)=>{let i=e.router.getMatch(r);if(!i._nonReactive.beforeLoadPromise&&!i._nonReactive.loaderPromise)return;ZQ(e,r,a,i);let s=()=>{let l=e.router.getMatch(r);if(l.preload&&(l.status==="redirected"||l.status==="notFound"))RM(e,l,l.error)};return i._nonReactive.beforeLoadPromise?i._nonReactive.beforeLoadPromise.then(s):s()},fbe=(e,r,a,i)=>{let s=e.router.getMatch(r),l=s._nonReactive.loadPromise;s._nonReactive.loadPromise=au(()=>{l?.resolve(),l=void 0});let{paramsError:c,searchError:d}=s;if(c)wP(e,a,c);if(d)wP(e,a,d);ZQ(e,r,i,s);let h=new AbortController,g=!1,x=()=>{if(g)return;g=!0,e.updateMatch(r,(X)=>({...X,isFetching:"beforeLoad",fetchCount:X.fetchCount+1,abortController:h}))},v=()=>{s._nonReactive.beforeLoadPromise?.resolve(),s._nonReactive.beforeLoadPromise=void 0,e.updateMatch(r,(X)=>({...X,isFetching:!1}))};if(!i.options.beforeLoad){e.router.batch(()=>{x(),v()});return}s._nonReactive.beforeLoadPromise=au();let b={...rz(e,a,!1),...s.__routeContext},{search:y,params:k,cause:T}=s,U=EN(e,r),N={search:y,abortController:h,params:k,preload:U,context:b,location:e.location,navigate:(X)=>e.router.navigate({...X,_fromLocation:e.location}),buildLocation:e.router.buildLocation,cause:U?"preload":T,matches:e.matches,routeId:i.id,...e.router.options.additionalContext},j=(X)=>{if(X===void 0){e.router.batch(()=>{x(),v()});return}if(ii(X)||$a(X))x(),wP(e,a,X);e.router.batch(()=>{x(),e.updateMatch(r,(J)=>({...J,__beforeLoadContext:X})),v()})},G;try{if(G=i.options.beforeLoad(N),zM(G))return x(),G.catch((X)=>{wP(e,a,X)}).then(j)}catch(X){x(),wP(e,a,X)}j(G)},sbe=(e,r)=>{let{id:a,routeId:i}=e.matches[r],s=e.router.looseRoutesById[i],l=()=>{if(Hr??e.router.isServer){let h=nbe(e,a,r,s);if(zM(h))return h.then(d)}return d()},c=()=>fbe(e,a,r,s),d=()=>{if(dQ(e,a))return;let h=ibe(e,a,s);return zM(h)?h.then(c):c()};return l()},lbe=(e,r,a)=>{let i=e.router.getMatch(r);if(!i)return;if(!a.options.head&&!a.options.scripts&&!a.options.headers)return;let s={ssr:e.router.options.ssr,matches:e.matches,match:i,params:i.params,loaderData:i.loaderData};return Promise.all([a.options.head?.(s),a.options.scripts?.(s),a.options.headers?.(s)]).then(([l,c,d])=>({meta:l?.meta,links:l?.links,headScripts:l?.scripts,headers:d,scripts:c,styles:l?.styles}))},pQ=(e,r,a,i,s)=>{let l=r[i-1],{params:c,loaderDeps:d,abortController:h,cause:g}=e.router.getMatch(a),x=rz(e,i),v=EN(e,a);return{params:c,deps:d,preload:!!v,parentMatchPromise:l,abortController:h,context:x,location:e.location,navigate:(b)=>e.router.navigate({...b,_fromLocation:e.location}),cause:v?"preload":g,route:s,...e.router.options.additionalContext}},cQ=async(e,r,a,i,s)=>{try{let l=e.router.getMatch(a);try{if(!(Hr??e.router.isServer)||l.ssr===!0)tk(s);let c=s.options.loader,d=typeof c==="function"?c:c?.handler,h=d?.(pQ(e,r,a,i,s)),g=!!d&&zM(h);if(g||s._lazyPromise||s._componentsPromise||s.options.head||s.options.scripts||s.options.headers||l._nonReactive.minPendingPromise)e.updateMatch(a,(v)=>({...v,isFetching:"loader"}));if(d){let v=g?await h:h;if(RM(e,e.router.getMatch(a),v),v!==void 0)e.updateMatch(a,(b)=>({...b,loaderData:v}))}if(s._lazyPromise)await s._lazyPromise;let x=l._nonReactive.minPendingPromise;if(x)await x;if(s._componentsPromise)await s._componentsPromise;e.updateMatch(a,(v)=>({...v,error:void 0,context:rz(e,i),status:"success",isFetching:!1,updatedAt:Date.now()}))}catch(c){let d=c;if(d?.name==="AbortError"){if(l.abortController.signal.aborted){l._nonReactive.loaderPromise?.resolve(),l._nonReactive.loaderPromise=void 0;return}e.updateMatch(a,(g)=>({...g,status:g.status==="pending"?"success":g.status,isFetching:!1,context:rz(e,i)}));return}let h=l._nonReactive.minPendingPromise;if(h)await h;if($a(c))await s.options.notFoundComponent?.preload?.();RM(e,e.router.getMatch(a),c);try{s.options.onError?.(c)}catch(g){d=g,RM(e,e.router.getMatch(a),g)}if(!ii(d)&&!$a(d))await tk(s,["errorComponent"]);e.updateMatch(a,(g)=>({...g,error:d,context:rz(e,i),status:"error",isFetching:!1}))}}catch(l){let c=e.router.getMatch(a);if(c)c._nonReactive.loaderPromise=void 0;RM(e,c,l)}},cbe=async(e,r,a)=>{async function i(y,k,T,U,N){let j=Date.now()-k.updatedAt,G=y?N.options.preloadStaleTime??e.router.options.defaultPreloadStaleTime??30000:N.options.staleTime??e.router.options.defaultStaleTime??0,X=N.options.shouldReload,J=typeof X==="function"?X(pQ(e,r,s,a,N)):X,{status:ee,invalid:re}=U,oe=j>=G&&(!!e.forceStaleReload||U.cause==="enter"||T!==void 0&&T!==U.id);if(c=ee==="success"&&(re||(J??oe)),y&&N.options.preload===!1);else if(c&&!e.sync&&x)d=!0,(async()=>{try{await cQ(e,r,s,a,N);let fe=e.router.getMatch(s);fe._nonReactive.loaderPromise?.resolve(),fe._nonReactive.loadPromise?.resolve(),fe._nonReactive.loaderPromise=void 0,fe._nonReactive.loadPromise=void 0}catch(fe){if(ii(fe))await e.router.navigate(fe.options)}})();else if(ee!=="success"||c)await cQ(e,r,s,a,N);else lQ(e,s,a)}let{id:s,routeId:l}=e.matches[a],c=!1,d=!1,h=e.router.looseRoutesById[l],g=h.options.loader,x=((typeof g==="function"?void 0:g?.staleReloadMode)??e.router.options.defaultStaleReloadMode)!=="blocking";if(dQ(e,s)){if(!e.router.getMatch(s))return e.matches[a];if(lQ(e,s,a),Hr??e.router.isServer)return e.router.getMatch(s)}else{let y=e.router.getMatch(s),k=e.router.stores.matchesId.get()[a],T=(k&&e.router.stores.matchStores.get(k)||null)?.routeId===l?k:e.router.stores.matches.get().find((N)=>N.routeId===l)?.id,U=EN(e,s);if(y._nonReactive.loaderPromise){if(y.status==="success"&&!e.sync&&!y.preload&&x)return y;await y._nonReactive.loaderPromise;let N=e.router.getMatch(s),j=N._nonReactive.error||N.error;if(j)RM(e,N,j);if(N.status==="pending")await i(U,y,T,N,h)}else{let N=U&&!e.router.stores.matchStores.has(s),j=e.router.getMatch(s);if(j._nonReactive.loaderPromise=au(),N!==j.preload)e.updateMatch(s,(G)=>({...G,preload:N}));await i(U,y,T,j,h)}}let v=e.router.getMatch(s);if(!d)v._nonReactive.loaderPromise?.resolve(),v._nonReactive.loadPromise?.resolve(),v._nonReactive.loadPromise=void 0;if(clearTimeout(v._nonReactive.pendingTimeout),v._nonReactive.pendingTimeout=void 0,!d)v._nonReactive.loaderPromise=void 0;v._nonReactive.dehydrated=void 0;let b=d?v.isFetching:!1;if(b!==v.isFetching||v.invalid!==!1)return e.updateMatch(s,(y)=>({...y,isFetching:b,invalid:!1})),e.router.getMatch(s);else return v};async function a6(e){let r=e,a=[];if(!(Hr??r.router.isServer)&&abe(r.router))o6(r);let i;for(let b=0;b<r.matches.length;b++){try{let y=sbe(r,b);if(zM(y))await y}catch(y){if(ii(y))throw y;if($a(y))i=y;else if(!r.preload)throw y;break}if(r.serialError||r.firstBadMatchIndex!=null)break}let s=r.firstBadMatchIndex??r.matches.length,l=i&&!r.preload?sQ(r,i):void 0,c=i&&r.preload?0:l!==void 0?Math.min(l+1,s):s,d,h;for(let b=0;b<c;b++)a.push(cbe(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 k=y.reason;if(ii(k))throw k;if($a(k))d??=k;else h??=k}if(h!==void 0)throw h}let g=d??(i&&!r.preload?i:void 0),x=r.firstBadMatchIndex!==void 0?r.firstBadMatchIndex:r.matches.length-1;if(!g&&i&&r.preload)return r.matches;if(g){let b=sQ(r,g);if(b===void 0)ni();let y=r.matches[b],k=r.router.looseRoutesById[y.routeId],T=r.router.options?.defaultNotFoundComponent;if(!k.options.notFoundComponent&&T)k.options.notFoundComponent=T;g.routeId=y.routeId;let U=y.routeId===r.router.routeTree.id;r.updateMatch(y.id,(N)=>({...N,...U?{status:"success",globalNotFound:!0,error:void 0}:{status:"notFound",error:g},isFetching:!1})),x=b,await tk(k,["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 tk(b,["errorComponent"])}for(let b=0;b<=x;b++){let{id:y,routeId:k}=r.matches[b],T=r.router.looseRoutesById[k];try{let U=lbe(r,y,T);if(U){let N=await U;r.updateMatch(y,(j)=>({...j,...N}))}}catch(U){console.error(`Error executing head for route ${k}:`,U)}}let v=o6(r);if(zM(v))await v;if(g)throw g;if(r.serialError&&!r.preload&&!r.onReady)throw r.serialError;return r.matches}function uQ(e,r){let a=r.map((i)=>e.options[i]?.preload?.()).filter(Boolean);if(a.length===0)return;return Promise.all(a)}function tk(e,r=AN){if(!e._lazyLoaded&&e._lazyPromise===void 0)if(e.lazyFn)e._lazyPromise=e.lazyFn().then((i)=>{let{id:s,...l}=i.options;Object.assign(e.options,l),e._lazyLoaded=!0,e._lazyPromise=void 0});else e._lazyLoaded=!0;let a=()=>e._componentsLoaded?void 0:r===AN?(()=>{if(e._componentsPromise===void 0){let i=uQ(e,AN);if(i)e._componentsPromise=i.then(()=>{e._componentsLoaded=!0,e._componentsPromise=void 0});else e._componentsLoaded=!0}return e._componentsPromise})():uQ(e,r);return e._lazyPromise?e._lazyPromise.then(a):a()}function TN(e,r){if(r)return{status:"error",error:r};return{status:"success",value:e}}function n6(e){for(let r of AN)if(e.options[r]?.preload)return!0;return!1}var AN=["component","errorComponent","pendingComponent","notFoundComponent"];var PM="__TSR_index",mQ="popstate",hQ="beforeunload";function ube(e){let r=e.getLocation(),a=new Set,i=(c)=>{r=e.getLocation(),a.forEach((d)=>d({location:r,action:c}))},s=(c)=>{if(e.notifyOnIndexChange??!0)i(c);else r=e.getLocation()},l=async({task:c,navigateOpts:d,...h})=>{if(d?.ignoreBlocker??!1){c();return}let g=e.getBlockers?.()??[],x=h.type==="PUSH"||h.type==="REPLACE";if(typeof document<"u"&&g.length&&x)for(let v of g){let b=zP(h.path,h.state);if(await v.blockerFn({currentLocation:r,nextLocation:b,action:h.type})){e.onBlocked?.();return}}c()};return{get location(){return r},get length(){return e.getLength()},subscribers:a,subscribe:(c)=>(a.add(c),()=>{a.delete(c)}),push:(c,d,h)=>{let g=r.state[PM];d=gQ(g+1,d),l({task:()=>{e.pushState(c,d),i({type:"PUSH"})},navigateOpts:h,type:"PUSH",path:c,state:d})},replace:(c,d,h)=>{let g=r.state[PM];d=gQ(g,d),l({task:()=>{e.replaceState(c,d),i({type:"REPLACE"})},navigateOpts:h,type:"REPLACE",path:c,state:d})},go:(c,d)=>{l({task:()=>{e.go(c),s({type:"GO",index:c})},navigateOpts:d,type:"GO"})},back:(c)=>{l({task:()=>{e.back(c?.ignoreBlocker??!1),s({type:"BACK"})},navigateOpts:c,type:"BACK"})},forward:(c)=>{l({task:()=>{e.forward(c?.ignoreBlocker??!1),s({type:"FORWARD"})},navigateOpts:c,type:"FORWARD"})},canGoBack:()=>r.state[PM]!==0,createHref:(c)=>e.createHref(c),block:(c)=>{if(!e.setBlockers)return()=>{};let d=e.getBlockers?.()??[];return e.setBlockers([...d,c]),()=>{let h=e.getBlockers?.()??[];e.setBlockers?.(h.filter((g)=>g!==c))}},flush:()=>e.flush?.(),destroy:()=>e.destroy?.(),notify:i}}function gQ(e,r){if(!r)r={};let a=i6();return{...r,key:a,__TSR_key:a,[PM]:e}}function MQ(e){let r=e?.window??(typeof document<"u"?window:void 0),a=r.history.pushState,i=r.history.replaceState,s=[],l=()=>s,c=(oe)=>s=oe,d=e?.createHref??((oe)=>oe),h=e?.parseLocation??(()=>zP(`${r.location.pathname}${r.location.search}${r.location.hash}`,r.history.state));if(!r.history.state?.__TSR_key&&!r.history.state?.key){let oe=i6();r.history.replaceState({[PM]:0,key:oe,__TSR_key:oe},"")}let g=h(),x,v=!1,b=!1,y=!1,k=!1,T=()=>g,U,N,j=()=>{if(!U)return;re._ignoreSubscribers=!0,(U.isPush?r.history.pushState:r.history.replaceState)(U.state,"",U.href),re._ignoreSubscribers=!1,U=void 0,N=void 0,x=void 0},G=(oe,fe,be)=>{let We=d(fe);if(!N)x=g;if(g=zP(fe,be),U={href:We,state:be,isPush:U?.isPush||oe==="push"},!N)N=Promise.resolve().then(()=>j())},X=(oe)=>{g=h(),re.notify({type:oe})},J=async()=>{if(b){b=!1;return}let oe=h(),fe=oe.state[PM]-g.state[PM],be=fe===1,We=fe===-1,Ye=!be&&!We||v;v=!1;let Se=Ye?"GO":We?"BACK":"FORWARD",He=Ye?{type:"GO",index:fe}:{type:We?"BACK":"FORWARD"};if(y)y=!1;else{let ft=l();if(typeof document<"u"&&ft.length){for(let Je of ft)if(await Je.blockerFn({currentLocation:g,nextLocation:oe,action:Se})){b=!0,r.history.go(1),re.notify(He);return}}}g=h(),re.notify(He)},ee=(oe)=>{if(k){k=!1;return}let fe=!1,be=l();if(typeof document<"u"&&be.length)for(let We of be){let Ye=We.enableBeforeUnload??!0;if(Ye===!0){fe=!0;break}if(typeof Ye==="function"&&Ye()===!0){fe=!0;break}}if(fe)return oe.preventDefault(),oe.returnValue=""},re=ube({getLocation:T,getLength:()=>r.history.length,pushState:(oe,fe)=>G("push",oe,fe),replaceState:(oe,fe)=>G("replace",oe,fe),back:(oe)=>{if(oe)y=!0;return k=!0,r.history.back()},forward:(oe)=>{if(oe)y=!0;k=!0,r.history.forward()},go:(oe)=>{v=!0,r.history.go(oe)},createHref:(oe)=>d(oe),flush:j,destroy:()=>{r.history.pushState=a,r.history.replaceState=i,r.removeEventListener(hQ,ee,{capture:!0}),r.removeEventListener(mQ,J)},onBlocked:()=>{if(x&&g!==x)g=x},getBlockers:l,setBlockers:c,notifyOnIndexChange:!1});return r.addEventListener(hQ,ee,{capture:!0}),r.addEventListener(mQ,J),r.history.pushState=function(...oe){let fe=a.apply(r.history,oe);if(!re._ignoreSubscribers)X("PUSH");return fe},r.history.replaceState=function(...oe){let fe=i.apply(r.history,oe);if(!re._ignoreSubscribers)X("REPLACE");return fe},re}function dbe(e){let r=e.replace(/[\x00-\x1f\x7f]/g,"");if(r.startsWith("//"))r="/"+r.replace(/^\/+/,"");return r}function zP(e,r){let a=dbe(e),i=a.indexOf("#"),s=a.indexOf("?"),l=i6();return{href:a,pathname:a.substring(0,i>0?s>0?Math.min(i,s):i:s>0?s:a.length),hash:i>-1?a.substring(i):"",search:s>-1?a.slice(s,i===-1?void 0:i):"",state:r||{[PM]:0,key:l,__TSR_key:l}}}function i6(){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 PN=new WeakMap,f6=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,s=this.basepath??i?.basepath??"/",l=this.basepath===void 0,c=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=QX(this.options.pathParamsAllowedCharacters);if(!this.history||this.options.history&&this.options.history!==this.history)if(!this.options.history){if(!(Hr??this.isServer))this.history=MQ()}else this.history=this.options.history;if(this.origin=this.options.origin,!this.origin)if(!(Hr??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 x;if((Hr??this.isServer)&&!0&&globalThis.__TSR_CACHE__&&globalThis.__TSR_CACHE__.routeTree===this.routeTree){let v=globalThis.__TSR_CACHE__;this.resolvePathCache=v.resolvePathCache,x=v.processRouteTreeResult}else if(this.resolvePathCache=SM(1000),x=this.buildRouteTree(),(Hr??this.isServer)&&!0&&globalThis.__TSR_CACHE__===void 0)globalThis.__TSR_CACHE__={routeTree:this.routeTree,processRouteTreeResult:x,resolvePathCache:this.resolvePathCache};this.setRoutes(x)}if(!this.stores&&this.latestLocation){let x=this.getStoreConfig(this);if(this.batch=x.batch,this.stores=oQ(yQ(this.latestLocation),x),!(Hr??this.isServer))fQ(this)}let d=!1,h=this.options.basepath??"/",g=this.options.rewrite;if(l||s!==h||c!==g){this.basepath=h;let x=[],v=JL(h);if(v&&v!=="/")x.push(rQ({basepath:h}));if(g)x.push(g);if(this.rewrite=x.length===0?void 0:x.length===1?x[0]:XB(x),this.history)this.updateLatestLocation();d=!0}if(d&&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=GX(this.routeTree,this.options.caseSensitive,(i,s)=>{i.init({originalIndex:s})});if(this.options.routeMasks)qX(this.options.routeMasks,a.processedTree);return a},this.subscribe=(a,i)=>{let s={eventType:a,fn:i};return this.subscribers.add(s),()=>{this.subscribers.delete(s)}},this.emit=(a)=>{this.subscribers.forEach((i)=>{if(i.eventType===a.type)i.fn(a)})},this.parseLocation=(a,i)=>{let s=({pathname:h,search:g,hash:x,href:v,state:b})=>{if(!this.rewrite&&!/[ \x00-\x1f\x7f\u0080-\uffff]/.test(h)){let N=this.options.parseSearch(g),j=this.options.stringifySearch(N);return{href:h+j+x,publicHref:h+j+x,pathname:XL(h).path,external:!1,searchStr:j,search:wM(i?.search,N),hash:XL(x.slice(1)).path,state:Ts(i?.state,b)}}let y=new URL(v,this.origin),k=IN(this.rewrite,y),T=this.options.parseSearch(k.search),U=this.options.stringifySearch(T);return k.search=U,{href:k.href.replace(k.origin,""),publicHref:v,pathname:XL(k.pathname).path,external:!!this.rewrite&&k.origin!==this.origin,searchStr:U,search:wM(i?.search,T),hash:XL(k.hash.slice(1)).path,state:Ts(i?.state,b)}},l=s(a),{__tempLocation:c,__tempKey:d}=l.state;if(c&&(!d||d===this.tempLocationKey)){let h=s(c);return h.state.key=l.state.key,h.state.__TSR_key=l.state.__TSR_key,delete h.state.__tempLocation,{...h,maskedLocation:l}}return l},this.resolvePathWithBase=(a,i)=>CN({base:a,to:i.includes("//")?QL(i):i,trailingSlash:this.options.trailingSlash,cache:this.resolvePathCache}),this.matchRoutes=(a,i,s)=>{if(typeof a==="string")return this.matchRoutesInternal({pathname:a,search:i},s);return this.matchRoutesInternal(a,i)},this.getMatchedRoutes=(a)=>_Q({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=(l={})=>{let c=l._fromLocation||this.pendingBuiltLocation||this.latestLocation,d=this.matchRoutesLightweight(c);l.from;let h=l.unsafeRelative==="path"?c.pathname:l.from??d.fullPath,g=l.to?`${l.to}`:void 0,x=d.search,v=Object.assign(Object.create(null),d.params),b=g?.charCodeAt(0)===47?"/":this.resolvePathWithBase(h,"."),y=g?this.resolvePathWithBase(b,g):b,k=l.params===!1||l.params===null?Object.create(null):(l.params??!0)===!0?v:Object.assign(v,as(l.params,v)),T=this.routesByPath[Es(y)],U;if(T)U=this.getRouteBranch(T);else if(y.includes("$"))U=[];else{let We=this.getMatchedRoutes(y);if(U=We.matchedRoutes,this.options.notFoundRoute&&(!We.foundRoute||We.foundRoute.path!=="/"&&We.routeParams["**"]))U=[...U,this.options.notFoundRoute]}if(U.length&&bM(k))for(let We of U){let Ye=We.options.params?.stringify??We.options.stringifyParams;if(Ye)try{Object.assign(k,Ye(k))}catch{}}let N=a.leaveParams?y:XL(bP({path:y,params:k,decoder:this.pathParamsDecoder,server:this.isServer}).interpolatedPath).path,j=x;if(a._includeValidateSearch&&this.options.search?.strict){let We={};U.forEach((Ye)=>{if(Ye.options.validateSearch)try{Object.assign(We,DN(Ye.options.validateSearch,{...We,...j}))}catch{}}),j=We}j=Zbe({search:j,dest:l,destRoutes:U,_includeValidateSearch:a._includeValidateSearch}),j=wM(x,j);let G=this.options.stringifySearch(j),X=l.hash===!0?c.hash:l.hash?as(l.hash,c.hash):void 0,J=X?`#${X}`:"",ee=l.state===!0?c.state:l.state?as(l.state,c.state):{};ee=Ts(c.state,ee);let re=`${N}${G}${J}`,oe,fe,be=!1;if(this.rewrite){let We=new URL(re,this.origin),Ye=QB(this.rewrite,We);if(oe=We.href.replace(We.origin,""),Ye.origin!==this.origin)fe=Ye.href,be=!0;else fe=Ye.pathname+Ye.search+Ye.hash}else oe=jX(re),fe=oe;return{publicHref:fe,href:oe,pathname:N,search:j,searchStr:G,state:ee,hash:X??"",external:be,unmaskOnReload:l.unmaskOnReload}},s=(l={},c)=>{let d=i(l),h=c?i(c):void 0;if(!h){let g=Object.create(null);if(this.options.routeMasks){let x=HX(d.pathname,this.processedTree);if(x){Object.assign(g,x.rawParams);let{from:v,params:b,...y}=x.route,k=b===!1||b===null?Object.create(null):(b??!0)===!0?g:Object.assign(g,as(b,g));c={from:a.from,...y,params:k},h=i(c)}}}if(h)d.maskedLocation=h;return d};if(a.mask)return s(a,{from:a.from,...a.mask});return s(a)},this.commitLocation=async({viewTransition:a,ignoreBlocker:i,...s})=>{let l,c=()=>{let g=["key","__TSR_key","__TSR_index","__hashScrollIntoViewOptions"];g.forEach((v)=>{s.state[v]=this.latestLocation.state[v]});let x=nc(s.state,this.latestLocation.state);return g.forEach((v)=>{delete s.state[v]}),x},d=Es(this.latestLocation.href)===Es(s.href),h=this.commitLocationPromise;if(this.commitLocationPromise=au(()=>{h?.resolve(),h=void 0}),d&&c())this.load();else{let{maskedLocation:g,hashScrollIntoView:x,...v}=s;if(g){if(v={...g,state:{...g.state,__tempKey:void 0,__tempLocation:{...v,search:v.searchStr,state:{...v.state,__tempKey:void 0,__tempLocation:void 0,__TSR_key:void 0,key:void 0}}}},v.unmaskOnReload??this.options.unmaskOnReload??!1)v.state.__tempKey=this.tempLocationKey}v.state.__hashScrollIntoViewOptions=x??this.options.defaultHashScrollIntoView??!0,this.shouldViewTransition=a,l=s.replace?"REPLACE":"PUSH",this.history[l==="REPLACE"?"replace":"push"](v.publicHref,v.state,{ignoreBlocker:i})}if(this.resetNextScroll=s.resetScroll??!0,!this.history.subscribers.size)this.load(l?{action:{type:l}}:void 0);return this.commitLocationPromise},this.buildAndCommitLocation=({replace:a,resetScroll:i,hashScrollIntoView:s,viewTransition:l,ignoreBlocker:c,href:d,...h}={})=>{if(d){let v=this.history.location.state.__TSR_index,b=zP(d,{__TSR_index:a?v:v+1}),y=new URL(b.pathname,this.origin);h.to=IN(this.rewrite,y).pathname,h.search=this.options.parseSearch(b.search),h.hash=b.hash.slice(1)}let g=this.buildLocation({...h,_includeValidateSearch:!0});this.pendingBuiltLocation=g;let x=this.commitLocation({...g,viewTransition:l,replace:a,resetScroll:i,hashScrollIntoView:s,ignoreBlocker:c});return Promise.resolve().then(()=>{if(this.pendingBuiltLocation===g)this.pendingBuiltLocation=void 0}),x},this.navigate=async({to:a,reloadDocument:i,href:s,publicHref:l,...c})=>{let d=!1;if(s)try{new URL(`${s}`),d=!0}catch{}if(d&&!i)i=!0;if(i){if(a!==void 0||!s){let g=this.buildLocation({to:a,...c});s=s??g.publicHref,l=l??g.publicHref}let h=!d&&l?l:s;if(ju(h,this.protocolAllowlist))return Promise.resolve();if(!c.ignoreBlocker){let g=this.history.getBlockers?.()??[];for(let x of g)if(x?.blockerFn){if(await x.blockerFn({currentLocation:this.latestLocation,nextLocation:this.latestLocation,action:"PUSH"}))return Promise.resolve()}}if(c.replace)window.location.replace(h);else window.location.href=h;return Promise.resolve()}return this.buildAndCommitLocation({...c,href:s,to:a,_isNavigate:!0})},this.beforeLoad=()=>{if(this.cancelMatches(),this.updateLatestLocation(),Hr??this.isServer){let s=this.buildLocation({to:this.latestLocation.pathname,search:!0,params:!0,hash:!0,state:!0,_includeValidateSearch:!0});if(this.latestLocation.publicHref!==s.publicHref){let l=this.getParsedLocationHref(s);if(s.external)throw cl({href:l});else throw cl({href:l,_builtLocation:s})}}let a=this.matchRoutes(this.latestLocation),i=this.stores.cachedMatches.get().filter((s)=>!a.some((l)=>l.id===s.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,s,l,c,d=this.stores.resolvedLocation.get()??this.stores.location.get();c=new Promise((g)=>{this.startTransition(async()=>{try{if(this.beforeLoad(),i)PN.set(this.latestLocation,i);else PN.delete(this.latestLocation);let x=this.latestLocation,v=kZ(x,this.stores.resolvedLocation.get());if(!this.stores.redirect.get())this.emit({type:"onBeforeNavigate",...v});this.emit({type:"onBeforeLoad",...v}),await a6({router:this,sync:a?.sync,forceStaleReload:d.href===x.href,matches:this.stores.pendingMatches.get(),location:x,updateMatch:this.updateMatch,onReady:async()=>{this.startTransition(()=>{this.startViewTransition(async()=>{let b=null,y=null,k=null,T=null;this.batch(()=>{let U=this.stores.pendingMatches.get(),N=U.length,j=this.stores.matches.get();b=N?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=N?j.filter((J)=>!G.has(J.routeId)):null,k=N?U.filter((J)=>!X.has(J.routeId)):null,T=N?U.filter((J)=>X.has(J.routeId)):j,this.stores.isLoading.set(!1),this.stores.loadedAt.set(Date.now()),N)this.stores.setMatches(U),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[U,N]of[[y,"onLeave"],[k,"onEnter"],[T,"onStay"]]){if(!U)continue;for(let j of U)this.looseRoutesById[j.routeId].options[N]?.(j)}})})}})}catch(x){if(ii(x)){if(s=x,!(Hr??this.isServer))this.navigate({...s.options,replace:!0,ignoreBlocker:!0})}else if($a(x))l=x;let v=s?s.status:l?404:this.stores.matches.get().some((b)=>b.status==="error")?500:200;this.batch(()=>{this.stores.statusCode.set(v),this.stores.redirect.set(s)})}if(this.latestLoadPromise===c)this.commitLocationPromise?.resolve(),this.latestLoadPromise=void 0,this.commitLocationPromise=void 0;g()})}),this.latestLoadPromise=c,await c;while(this.latestLoadPromise&&c!==this.latestLoadPromise)await this.latestLoadPromise;let h=void 0;if(this.hasNotFoundMatch())h=404;else if(this.stores.matches.get().some((g)=>g.status==="error"))h=500;if(h!==void 0)this.stores.statusCode.set(h)},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 s;if(typeof i==="object"&&this.isViewTransitionTypesSupported){let l=this.latestLocation,c=this.stores.resolvedLocation.get(),d=typeof i.types==="function"?i.types(kZ(l,c)):i.types;if(d===!1){a();return}s={update:a,types:d}}else s=a;document.startViewTransition(s)}else a()},this.updateMatch=(a,i)=>{this.startTransition(()=>{let s=this.stores.pendingMatchStores.get(a);if(s){s.set(i);return}let l=this.stores.matchStores.get(a);if(l){l.set(i);return}let c=this.stores.cachedMatchStores.get(a);if(c){let d=i(c.get());if(d.status==="redirected"){if(this.stores.cachedMatchStores.delete(a))this.stores.cachedIds.set((h)=>h.filter((g)=>g!==a))}else c.set(d)}})},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=(s)=>{if(a?.filter?.(s)??!0)return{...s,invalid:!0,...a?.forcePending||s.status==="error"||s.status==="notFound"?{status:"pending",error:void 0}:void 0};return s};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 s=a.options._builtLocation??this.buildLocation(a.options),l=this.getParsedLocationHref(s);a.options.href=l,a.headers.set("Location",l)}else if(i)try{let s=new URL(i);if(this.origin&&s.origin===this.origin){let l=s.pathname+s.search+s.hash;a.options.href=l,a.headers.set("Location",l)}}catch{}if(a.options.href&&!a.options._builtLocation&&ju(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((s)=>!i(s)));else this.stores.setCached([])},this.clearExpiredCache=()=>{let a=Date.now(),i=(s)=>{let l=this.looseRoutesById[s.routeId];if(!l.options.loader)return!0;let c=(s.preload?l.options.preloadGcTime??this.options.defaultPreloadGcTime:l.options.gcTime??this.options.defaultGcTime)??300000;if(s.status==="error")return!0;return a-s.updatedAt>=c};this.clearCache({filter:i})},this.loadRouteChunk=tk,this.preloadRoute=async(a)=>{let i=a._builtLocation??this.buildLocation(a),s=this.matchRoutes(i,{throwOnError:!0,preload:!0,dest:a}),l=new Set([...this.stores.matchesId.get(),...this.stores.pendingIds.get()]),c=new Set([...l,...this.stores.cachedIds.get()]),d=s.filter((h)=>!c.has(h.id));if(d.length){let h=this.stores.cachedMatches.get();this.stores.setCached([...h,...d])}try{return s=await a6({router:this,matches:s,location:i,preload:!0,updateMatch:(h,g)=>{if(l.has(h))s=s.map((x)=>x.id===h?g(x):x);else this.updateMatch(h,g)}}),s}catch(h){if(ii(h)){if(h.options.reloadDocument)return;return await this.preloadRoute({...h.options,_fromLocation:i})}if(!$a(h))console.error(h);return}},this.matchRoute=(a,i)=>{let s={...a,to:a.to?this.resolvePathWithBase(a.from||"",a.to):void 0,params:a.params||{},leaveParams:!0},l=this.buildLocation(s);if(i?.pending&&this.stores.status.get()!=="pending")return!1;let c=(i?.pending===void 0?!this.stores.isLoading.get():i.pending)?this.latestLocation:this.stores.resolvedLocation.get()||this.stores.location.get(),d=VX(l.pathname,i?.caseSensitive??!1,i?.fuzzy??!1,c.pathname,this.processedTree);if(!d)return!1;if(a.params){if(!nc(d.rawParams,a.params,{partial:!0}))return!1}if(i?.includeSearch??!0)return nc(c.search,l.search,{partial:!0})?d.rawParams:!1;return d.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??KB,parseSearch:e.parseSearch??GB,protocolAllowlist:e.protocolAllowlist??wN}),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=VB(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:s}=a,{matchedRoutes:l}=a,c=!1;if(i?i.path!=="/"&&s["**"]:Es(e.pathname))if(this.options.notFoundRoute)l=[...l,this.options.notFoundRoute];else c=!0;let d=c?mbe(this.options.notFoundMode,l):void 0,h=Array(l.length),g=new Map;for(let x of this.stores.matchStores.values())if(x.routeId)g.set(x.routeId,x.get());for(let x=0;x<l.length;x++){let v=l[x],b=h[x-1],y,k,T;{let Ye=b?.search??e.search,Se=b?._strictSearch??void 0;try{let He=DN(v.options.validateSearch,{...Ye})??void 0;y={...Ye,...He},k={...Se,...He},T=void 0}catch(He){let ft=He;if(!(He instanceof rk))ft=new rk(He.message,{cause:He});if(r?.throwOnError)throw ft;y=Ye,k={},T=ft}}let U=v.options.loaderDeps?.({search:y})??"",N=U?JSON.stringify(U):"",{interpolatedPath:j,usedParams:G}=bP({path:v.fullPath,params:s,decoder:this.pathParamsDecoder,server:this.isServer}),X=v.id+j+N,J=this.getMatch(X),ee=g.get(v.id),re=J?._strictParams??G,oe=void 0;if(!J)try{xQ(v,re)}catch(Ye){if($a(Ye)||ii(Ye))oe=Ye;else oe=new vQ(Ye.message,{cause:Ye});if(r?.throwOnError)throw oe}Object.assign(s,re);let fe=ee?"stay":"enter",be;if(J)be={...J,cause:fe,params:ee?.params??s,_strictParams:re,search:ee?wM(ee.search,y):wM(J.search,y),_strictSearch:k};else{let Ye=v.options.loader||v.options.beforeLoad||v.lazyFn||n6(v)?"pending":"success";be={id:X,ssr:Hr??this.isServer?void 0:v.options.ssr,index:x,routeId:v.id,params:ee?.params??s,_strictParams:re,pathname:j,updatedAt:Date.now(),search:ee?wM(ee.search,y):y,_strictSearch:k,searchError:void 0,status:Ye,isFetching:!1,error:void 0,paramsError:oe,__routeContext:void 0,_nonReactive:{loadPromise:au()},__beforeLoadContext:void 0,context:{},abortController:new AbortController,fetchCount:0,cause:fe,loaderDeps:ee?Ts(ee.loaderDeps,U):U,invalid:!1,preload:!1,links:void 0,scripts:void 0,headScripts:void 0,meta:void 0,staticData:v.options.staticData||{},fullPath:v.fullPath}}if(!r?.preload)be.globalNotFound=d===v.id;be.searchError=T;let We=this.getParentContext(b);be.context={...We,...be.__routeContext,...be.__beforeLoadContext},h[x]=be}for(let x=0;x<h.length;x++){let v=h[x],b=this.looseRoutesById[v.routeId],y=this.getMatch(v.id),k=g.get(v.routeId);if(v.params=k?wM(k.params,s):s,!y){let T=h[x-1],U=this.getParentContext(T);if(b.options.context){let N={deps:v.loaderDeps,params:v.params,context:U??{},location:e,navigate:(j)=>this.navigate({...j,_fromLocation:e}),buildLocation:this.buildLocation,cause:v.cause,abortController:v.abortController,preload:!!v.preload,matches:h,routeId:b.id};v.__routeContext=b.options.context(N)??void 0}v.context={...U,...v.__routeContext,...v.__beforeLoadContext}}}return h}matchRoutesLightweight(e){let{matchedRoutes:r,routeParams:a}=this.getMatchedRoutes(e.pathname),i=_M(r),s={...e.search};for(let g of r)try{Object.assign(s,DN(g.options.validateSearch,s))}catch{}let l=_M(this.stores.matchesId.get()),c=l&&this.stores.matchStores.get(l)?.get(),d=c&&c.routeId===i.id&&c.pathname===e.pathname,h;if(d)h=c.params;else{let g=Object.assign(Object.create(null),a);for(let x of r)try{xQ(x,g)}catch{}h=g}return{matchedRoutes:r,fullPath:i.fullPath,search:s,params:h}}},rk=class extends Error{},vQ=class extends Error{};function yQ(e){return{loadedAt:0,isLoading:!1,isTransitioning:!1,status:"idle",resolvedLocation:void 0,location:e,matches:[],statusCode:200}}function DN(e,r){if(e==null)return{};if("~standard"in e){let a=e["~standard"].validate(r);if(a instanceof Promise)throw new rk("Async validation not supported");if(a.issues)throw new rk(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 _Q({pathname:e,routesById:r,processedTree:a}){let i=Object.create(null),s=Es(e),l=void 0,c=WX(s,a,!0);if(c)l=c.route,Object.assign(i,c.rawParams);return{matchedRoutes:c?.branch||[r.__root__],routeParams:i,foundRoute:l}}function Zbe({search:e,dest:r,destRoutes:a,_includeValidateSearch:i}){return pbe(a)(e,r,i??!1)}function pbe(e){let r={dest:null,_includeValidateSearch:!1,middlewares:[]};for(let s of e){if("search"in s.options){if(s.options.search?.middlewares)r.middlewares.push(...s.options.search.middlewares)}else if(s.options.preSearchFilters||s.options.postSearchFilters){let l=({search:c,next:d})=>{let h=c;if("preSearchFilters"in s.options&&s.options.preSearchFilters)h=s.options.preSearchFilters.reduce((x,v)=>v(x),c);let g=d(h);if("postSearchFilters"in s.options&&s.options.postSearchFilters)return s.options.postSearchFilters.reduce((x,v)=>v(x),g);return g};r.middlewares.push(l)}if(s.options.validateSearch){let l=({search:c,next:d})=>{let h=d(c);if(!r._includeValidateSearch)return h;try{return{...h,...DN(s.options.validateSearch,h)??void 0}}catch{return h}};r.middlewares.push(l)}}let a=({search:s})=>{let l=r.dest;if(!l.search)return{};if(l.search===!0)return s;return as(l.search,s)};r.middlewares.push(a);let i=(s,l,c)=>{if(s>=c.length)return l;let d=c[s];return d({search:l,next:(g)=>i(s+1,g,c)})};return function(l,c,d){return r.dest=c,r._includeValidateSearch=d,i(0,l,r.middlewares)}}function mbe(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 ns}function xQ(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 s6="Error preloading route! ☝️";var ON=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=ns;else if(!this.parentRoute)ni();let s=i?ns:a?.path;if(s&&s!=="/")s=_P(s);let l=a?.id||s,c=i?ns:IM([this.parentRoute.id==="__root__"?"":this.parentRoute.id,l]);if(s==="__root__")s="/";if(c!=="__root__")c=IM(["/",c]);let d=c==="__root__"?"/":IM([this.parentRoute.fullPath,s]);this._path=s,this._id=c,this._fullPath=d,this._to=Es(d)},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)=>cl({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 l6=class extends ON{constructor(e){super(e)}};S();var en=((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))(en||{});function wQ({update:e,notify:r,unwatched:a}){return{link:i,unlink:s,propagate:l,checkDirty:c,shallowPropagate:d};function i(g,x,v){let b=x.depsTail;if(b!==void 0&&b.dep===g)return;let y=b!==void 0?b.nextDep:x.deps;if(y!==void 0&&y.dep===g){y.version=v,x.depsTail=y;return}let k=g.subsTail;if(k!==void 0&&k.version===v&&k.sub===x)return;let T=x.depsTail=g.subsTail={version:v,dep:g,sub:x,prevDep:b,nextDep:y,prevSub:k,nextSub:void 0};if(y!==void 0)y.prevDep=T;if(b!==void 0)b.nextDep=T;else x.deps=T;if(k!==void 0)k.nextSub=T;else g.subs=T}function s(g,x=g.sub){let{dep:v,prevDep:b,nextDep:y,nextSub:k,prevSub:T}=g;if(y!==void 0)y.prevDep=b;else x.depsTail=b;if(b!==void 0)b.nextDep=y;else x.deps=y;if(k!==void 0)k.prevSub=T;else v.subsTail=T;if(T!==void 0)T.nextSub=k;else if((v.subs=k)===void 0)a(v);return y}function l(g){let x=g.nextSub,v;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)&&h(g,b))b.flags=y|40,y&=1;else y=0;if(y&2)r(b);if(y&1){let k=b.subs;if(k!==void 0){let T=(g=k).nextSub;if(T!==void 0)v={value:x,prev:v},x=T;continue}}if((g=x)!==void 0){x=g.nextSub;continue}while(v!==void 0)if(g=v.value,v=v.prev,g!==void 0){x=g.nextSub;continue e}break}while(!0)}function c(g,x){let v,b=0,y=!1;e:do{let k=g.dep,T=k.flags;if(x.flags&16)y=!0;else if((T&17)===17){if(e(k)){let U=k.subs;if(U.nextSub!==void 0)d(U);y=!0}}else if((T&33)===33){if(g.nextSub!==void 0||g.prevSub!==void 0)v={value:g,prev:v};g=k.deps,x=k,++b;continue}if(!y){let U=g.nextDep;if(U!==void 0){g=U;continue}}while(b--){let U=x.subs,N=U.nextSub!==void 0;if(N)g=v.value,v=v.prev;else g=U;if(y){if(e(x)){if(N)d(U);x=g.sub;continue}y=!1}else x.flags&=-33;x=g.sub;let j=g.nextDep;if(j!==void 0){g=j;continue e}}return y}while(!0)}function d(g){do{let x=g.sub,v=x.flags;if((v&48)===32){if(x.flags=v|16,(v&6)===2)r(x)}}while((g=g.nextSub)!==void 0)}function h(g,x){let v=x.depsTail;while(v!==void 0){if(v===g)return!0;v=v.prevDep}return!1}}function LQ(e,r,a){let i=typeof e==="object",s=i?e:void 0;return{next:(i?e.next:e)?.bind(s),error:(i?e.error:r)?.bind(s),complete:(i?e.complete:a)?.bind(s)}}var c6=[],FN=0,{link:zQ,unlink:Mbe,propagate:xbe,checkDirty:kQ,shallowPropagate:SQ}=wQ({update(e){return e._update()},notify(e){c6[u6++]=e,e.flags&=~en.Watching},unwatched(e){if(e.depsTail!==void 0)e.depsTail=void 0,e.flags=en.Mutable|en.Dirty,jN(e)}}),NN=0,u6=0,Bu,d6=0;function SP(e){try{++d6,e()}finally{if(!--d6)Z6()}}function jN(e){let r=e.depsTail,a=r!==void 0?r.nextDep:e.deps;while(a!==void 0)a=Mbe(a,e)}function Z6(){if(d6>0)return;while(NN<u6){let e=c6[NN];c6[NN++]=void 0,e.notify()}NN=0,u6=0}function BN(e,r){let a=typeof e==="function",i=e,s={_snapshot:a?void 0:e,subs:void 0,subsTail:void 0,deps:void 0,depsTail:void 0,flags:a?en.None:en.Mutable,get(){if(Bu!==void 0)zQ(s,Bu,FN);return s._snapshot},subscribe(l){let c=LQ(l),d={current:!1},h=vbe(()=>{if(s.get(),!d.current)d.current=!0;else c.next?.(s._snapshot)});return{unsubscribe:()=>{h.stop()}}},_update(l){let c=Bu,d=r?.compare??Object.is;if(a)Bu=s,++FN,s.depsTail=void 0;else if(l===void 0)return!1;if(a)s.flags=en.Mutable|en.RecursedCheck;try{let h=s._snapshot,g=typeof l==="function"?l(h):l===void 0&&a?i(h):l;if(h===void 0||!d(h,g))return s._snapshot=g,!0;return!1}finally{if(Bu=c,a)s.flags&=~en.RecursedCheck;jN(s)}}};if(a)s.flags=en.Mutable|en.Dirty,s.get=function(){let l=s.flags;if(l&en.Dirty||l&en.Pending&&kQ(s.deps,s)){if(s._update()){let c=s.subs;if(c!==void 0)SQ(c)}}else if(l&en.Pending)s.flags=l&~en.Pending;if(Bu!==void 0)zQ(s,Bu,FN);return s._snapshot};else s.set=function(l){if(s._update(l)){let c=s.subs;if(c!==void 0)xbe(c),SQ(c),Z6()}};return s}function vbe(e){let r=()=>{let i=Bu;Bu=a,++FN,a.depsTail=void 0,a.flags=en.Watching|en.RecursedCheck;try{return e()}finally{Bu=i,a.flags&=~en.RecursedCheck,jN(a)}},a={deps:void 0,depsTail:void 0,subs:void 0,subsTail:void 0,flags:en.Watching|en.RecursedCheck,notify(){let i=this.flags;if(i&en.Dirty||i&en.Pending&&kQ(this.deps,this))r();else this.flags=en.Watching},stop(){this.flags=en.None,this.depsTail=void 0,jN(this)}};return r(),a}S();S();var Pbe=CQ();function Tbe(e,r){return e===r&&(e!==0||1/e===1/r)||e!==e&&r!==r}var Abe=typeof Object.is==="function"?Object.is:Tbe,Ebe=Pbe.useSyncExternalStore,Dbe=_,Obe=m,Nbe=D,Fbe=pi;var Nc=function(e,r,a,i,s){var l=Dbe(null);if(l.current===null){var c={hasValue:!1,value:null};l.current=c}else c=l.current;l=Nbe(function(){function h(y){if(!g){if(g=!0,x=y,y=i(y),s!==void 0&&c.hasValue){var k=c.value;if(s(k,y))return v=k}return v=y}if(k=v,Abe(x,y))return k;var T=i(y);if(s!==void 0&&s(k,T))return x=y,k;return x=y,v=T}var g=!1,x,v,b=a===void 0?null:a;return[function(){return h(r())},b===null?void 0:function(){return h(b())}]},[r,a,i,s]);var d=Ebe(e,l[0],l[1]);return Obe(function(){c.hasValue=!0,c.value=d},[d]),Fbe(d),d};function jbe(e,r){return e===r}function Ln(e,r,a=jbe){let i=P((c)=>{if(!e)return()=>{};let{unsubscribe:d}=e.subscribe(c);return d},[e]),s=P(()=>e?.get(),[e]);return Nc(i,s,s,r,a)}var Bbe={get:()=>{return},subscribe:()=>({unsubscribe:()=>{}})};function Mi(e){let r=Wa(),a=pt(e.from?AX:ez),i=e.from??a,s=i?e.from?r.stores.getRouteMatchStore(i):r.stores.matchStores.get(i):void 0;if(Hr??r.isServer){let c=s?.get();if((e.shouldThrow??!0)&&!c)ni();if(c===void 0)return;return e.select?e.select(c):c}let l=_(void 0);return Ln(s??Bbe,(c)=>{if((e.shouldThrow??!0)&&!c)ni();if(c===void 0)return;let d=e.select?e.select(c):c;if(e.structuralSharing??r.options.defaultStructuralSharing){let h=Ts(l.current,d);return l.current=h,h}return d})}function ul(e){return Mi({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}})}S();var oz=typeof window<"u"?$e:m;function UN(e){let r=_({value:e,prev:null}),a=r.current.value;if(e!==a)r.current={value:e,prev:a};return r.current.prev}function IQ(e,r,a={},i={}){m(()=>{if(!e.current||i.disabled||typeof IntersectionObserver!=="function")return;let s=new IntersectionObserver(([l])=>{r(l)},a);return s.observe(e.current),()=>{s.disconnect()}},[r,a,i.disabled,e])}function RQ(e){let r=_(null);return Vr(e,()=>r.current,[]),r}S();function Re(e){let r=Wa();return P((a)=>r.navigate({...a,from:a.from??e?.from}),[e?.from,r])}S();function PQ({children:e,fallback:r=null}){return m6()?t(In,{children:e}):t(In,{children:r})}function m6(){return Xn(Ube,()=>!0,()=>!1)}function Ube(){return()=>{}}S();function AQ(){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!=="function")return;try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(AQ)}catch(e){console.error(e)}}S();function TQ(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 TM(){}var LP={d:{f:TM,r:function(){throw Error(TQ(522))},D:TM,C:TM,L:TM,m:TM,X:TM,S:TM,M:TM},p:0,findDOMNode:null},Ybe=Symbol.for("react.portal");function qbe(e,r,a){var i=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Ybe,key:i==null?null:""+i,children:e,containerInfo:r,implementation:a}}var h6=Wi;var g6=LP,Ji=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(TQ(299));return qbe(e,r,null,a)},nn=function(e){var r=h6.T,a=LP.p;try{if(h6.T=null,LP.p=2,e)return e()}finally{h6.T=r,LP.p=a,LP.d.f()}};AQ();function jQ(e,r){let a=Wa(),i=RQ(r),s=Hr??a.isServer,{activeProps:l,inactiveProps:c,activeOptions:d,to:h,preload:g,preloadDelay:x,preloadIntentProximity:v,hashScrollIntoView:b,replace:y,startTransition:k,resetScroll:T,viewTransition:U,children:N,target:j,disabled:G,style:X,className:J,onClick:ee,onBlur:re,onFocus:oe,onMouseEnter:fe,onMouseLeave:be,onTouchStart:We,ignoreBlocker:Ye,params:Se,search:He,hash:ft,state:Je,mask:xt,reloadDocument:Ft,unsafeRelative:Bt,from:ie,_fromLocation:bt,...Wt}=e;if(s){let Ge=FQ(h);if(typeof h==="string"&&!Ge&&h.indexOf(":")>-1)try{if(new URL(h),ju(h,a.protocolAllowlist))return{...Wt,ref:i,href:void 0,...N&&{children:N},...j&&{target:j},...G&&{disabled:G},...X&&{style:X},...J&&{className:J}};return{...Wt,ref:i,href:h,...N&&{children:N},...j&&{target:j},...G&&{disabled:G},...X&&{style:X},...J&&{className:J}}}catch{}let Rt=a.buildLocation({...e,from:e.from}),hr=NQ(Rt.maskedLocation?Rt.maskedLocation.publicHref:Rt.publicHref,Rt.maskedLocation?Rt.maskedLocation.external:Rt.external,a.history,G),Ur=(()=>{if(hr?.external){if(ju(hr.href,a.protocolAllowlist))return;return hr.href}if(Ge)return;if(typeof h==="string"&&h.indexOf(":")>-1)try{if(new URL(h),ju(h,a.protocolAllowlist))return;return h}catch{}})(),fo=(()=>{if(Ur)return!1;let je=a.stores.location.get(),Zt=d?.exact??!1;if(Zt){if(!kN(je.pathname,Rt.pathname,a.basepath))return!1}else{let St=CM(je.pathname,a.basepath),jt=CM(Rt.pathname,a.basepath);if(!(St.startsWith(jt)&&(St.length===jt.length||St[jt.length]==="/")))return!1}if(d?.includeSearch??!0){if(je.search!==Rt.search){let St=!je.search||typeof je.search==="object"&&!bM(je.search),jt=!Rt.search||typeof Rt.search==="object"&&!bM(Rt.search);if(!(St&&jt)){if(!nc(je.search,Rt.search,{partial:!Zt,ignoreUndefined:!d?.explicitUndefined}))return!1}}}if(d?.includeHash)return!1;return!0})();if(Ur)return{...Wt,ref:i,href:Ur,...N&&{children:N},...j&&{target:j},...G&&{disabled:G},...X&&{style:X},...J&&{className:J}};let Go=fo?as(l,{})??EQ:ak,Va=fo?ak:as(c,{})??ak,Ee=(()=>{let je=X,Zt=Go.style,St=Va.style;if(!je&&!Zt&&!St)return;if(je&&!Zt&&!St)return je;if(!je&&Zt&&!St)return Zt;if(!je&&!Zt&&St)return St;return{...je,...Zt,...St}})(),Oe=(()=>{let je=J,Zt=Go.className,St=Va.className;if(!je&&!Zt&&!St)return"";let jt="";if(je)jt=je;if(Zt)jt=jt?`${jt} ${Zt}`:Zt;if(St)jt=jt?`${jt} ${St}`:St;return jt})();return{...Wt,...Go,...Va,href:hr?.href,ref:i,disabled:!!G,target:j,...Ee&&{style:Ee},...Oe&&{className:Oe},...G&&DQ,...fo&&OQ}}let Fe=m6(),ir=D(()=>e,[a,e.from,e._fromLocation,e.hash,e.to,e.search,e.params,e.state,e.mask,e.unsafeRelative]),fr=Ln(a.stores.location,(Ge)=>Ge,(Ge,Rt)=>Ge.href===Rt.href),Jt=D(()=>{let Ge={_fromLocation:fr,...ir};return a.buildLocation(Ge)},[a,fr,ir]),Fr=Jt.maskedLocation?Jt.maskedLocation.publicHref:Jt.publicHref,Gt=Jt.maskedLocation?Jt.maskedLocation.external:Jt.external,Xt=D(()=>NQ(Fr,Gt,a.history,G),[G,Gt,Fr,a.history]),Ir=D(()=>{if(Xt?.external){if(ju(Xt.href,a.protocolAllowlist))return;return Xt.href}if(FQ(h))return;if(typeof h!=="string"||h.indexOf(":")===-1)return;try{if(new URL(h),ju(h,a.protocolAllowlist))return;return h}catch{}},[h,Xt,a.protocolAllowlist]),yr=D(()=>{if(Ir)return!1;if(d?.exact){if(!kN(fr.pathname,Jt.pathname,a.basepath))return!1}else{let Ge=CM(fr.pathname,a.basepath),Rt=CM(Jt.pathname,a.basepath);if(!(Ge.startsWith(Rt)&&(Ge.length===Rt.length||Ge[Rt.length]==="/")))return!1}if(d?.includeSearch??!0){if(!nc(fr.search,Jt.search,{partial:!d?.exact,ignoreUndefined:!d?.explicitUndefined}))return!1}if(d?.includeHash)return Fe&&fr.hash===Jt.hash;return!0},[d?.exact,d?.explicitUndefined,d?.includeHash,d?.includeSearch,fr,Ir,Fe,Jt.hash,Jt.pathname,Jt.search,a.basepath]),Tr=yr?as(l,{})??EQ:ak,pr=yr?ak:as(c,{})??ak,mo=[J,Tr.className,pr.className].filter(Boolean).join(" "),co=(X||Tr.style||pr.style)&&{...X,...Tr.style,...pr.style},[va,sr]=u(!1),ho=_(!1),po=e.reloadDocument||Ir?!1:g??a.options.defaultPreload,jo=x??a.options.defaultPreloadDelay??0,hn=P(()=>{a.preloadRoute({...ir,_builtLocation:Jt}).catch((Ge)=>{console.warn(Ge),console.warn(s6)})},[a,ir,Jt]);IQ(i,P((Ge)=>{if(Ge?.isIntersecting)hn()},[hn]),Vbe,{disabled:!!G||po!=="viewport"}),m(()=>{if(ho.current)return;if(!G&&po==="render")hn(),ho.current=!0},[G,hn,po]);let Wo=(Ge)=>{let Rt=Ge.currentTarget.getAttribute("target"),hr=j!==void 0?j:Rt;if(!G&&!Wbe(Ge)&&!Ge.defaultPrevented&&(!hr||hr==="_self")&&Ge.button===0){Ge.preventDefault(),nn(()=>{sr(!0)});let Ur=a.subscribe("onResolved",()=>{Ur(),sr(!1)});a.navigate({...ir,replace:y,resetScroll:T,hashScrollIntoView:b,startTransition:k,viewTransition:U,ignoreBlocker:Ye})}};if(Ir)return{...Wt,ref:i,href:Ir,...N&&{children:N},...j&&{target:j},...G&&{disabled:G},...X&&{style:X},...J&&{className:J},...ee&&{onClick:ee},...re&&{onBlur:re},...oe&&{onFocus:oe},...fe&&{onMouseEnter:fe},...be&&{onMouseLeave:be},...We&&{onTouchStart:We}};let Yn=(Ge)=>{if(G||po!=="intent")return;if(!jo){hn();return}let Rt=Ge.currentTarget;if(kP.has(Rt))return;let hr=setTimeout(()=>{kP.delete(Rt),hn()},jo);kP.set(Rt,hr)},gn=(Ge)=>{if(G||po!=="intent")return;hn()},Vi=(Ge)=>{if(G||!po||!jo)return;let Rt=Ge.currentTarget,hr=kP.get(Rt);if(hr)clearTimeout(hr),kP.delete(Rt)};return{...Wt,...Tr,...pr,href:Xt?.href,ref:i,onClick:nk([ee,Wo]),onBlur:nk([re,Vi]),onFocus:nk([oe,Yn]),onMouseEnter:nk([fe,Yn]),onMouseLeave:nk([be,Vi]),onTouchStart:nk([We,gn]),disabled:!!G,target:j,...co&&{style:co},...mo&&{className:mo},...G&&DQ,...yr&&OQ,...Fe&&va&&Hbe}}var ak={},EQ={className:"active"},DQ={role:"link","aria-disabled":!0},OQ={"data-status":"active","aria-current":"page"},Hbe={"data-transitioning":"transitioning"},kP=new WeakMap,Vbe={rootMargin:"100px"},nk=(e)=>(r)=>{for(let a of e){if(!a)continue;if(r.defaultPrevented)return;a(r)}};function NQ(e,r,a,i){if(i)return;if(r)return{href:e,external:!0};return{href:a.createHref(e)||"/",external:!1}}function FQ(e){if(typeof e!=="string")return!1;let r=e.charCodeAt(0);if(r===47)return e.charCodeAt(1)!==47;return r===46}var An=F((e,r)=>{let{_asChild:a,...i}=e,{type:s,...l}=jQ(i,r),c=typeof i.children==="function"?i.children({isActive:l["data-status"]==="active"}):i.children;if(!a){let{disabled:d,...h}=l;return q("a",h,c)}return q(a,l,c)});function Wbe(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function CP(e){return Mi({from:e.from,strict:e.strict,structuralSharing:e.structuralSharing,select:(r)=>e.select?e.select(r.loaderData):r.loaderData})}function IP(e){let{select:r,...a}=e;return Mi({...a,select:(i)=>r?r(i.loaderDeps):i.loaderDeps})}function RP(e){return Mi({from:e.from,strict:e.strict,shouldThrow:e.shouldThrow,structuralSharing:e.structuralSharing,select:(r)=>e.select?e.select(r.search):r.search})}function PP(e){return Mi({...e,select:(r)=>e.select?e.select(r.context):r.context})}S();var BQ=class extends ON{constructor(e){super(e);this.useMatch=(r)=>Mi({select:r?.select,from:this.id,structuralSharing:r?.structuralSharing}),this.useRouteContext=(r)=>PP({...r,from:this.id}),this.useSearch=(r)=>RP({select:r?.select,structuralSharing:r?.structuralSharing,from:this.id}),this.useParams=(r)=>ul({select:r?.select,structuralSharing:r?.structuralSharing,from:this.id}),this.useLoaderDeps=(r)=>IP({...r,from:this.id}),this.useLoaderData=(r)=>CP({...r,from:this.id}),this.useNavigate=()=>Re({from:this.fullPath}),this.Link=F((r,a)=>t(An,{ref:a,from:this.fullPath,...r}))}};function M6(e){return new BQ(e)}function x6(){return(e)=>YQ(e)}var UQ=class extends l6{constructor(e){super(e);this.useMatch=(r)=>Mi({select:r?.select,from:this.id,structuralSharing:r?.structuralSharing}),this.useRouteContext=(r)=>PP({...r,from:this.id}),this.useSearch=(r)=>RP({select:r?.select,structuralSharing:r?.structuralSharing,from:this.id}),this.useParams=(r)=>ul({select:r?.select,structuralSharing:r?.structuralSharing,from:this.id}),this.useLoaderDeps=(r)=>IP({...r,from:this.id}),this.useLoaderData=(r)=>CP({...r,from:this.id}),this.useNavigate=()=>Re({from:this.fullPath}),this.Link=F((r,a)=>t(An,{ref:a,from:this.fullPath,...r}))}};function YQ(e){return new UQ(e)}function Gr(e){return new qQ(e,{silent:!0}).createRoute}var qQ=class{constructor(e,r){this.path=e,this.createRoute=(a)=>{let i=M6(a);return i.isRoot=!1,i},this.silent=r?.silent}};var v6=class{constructor(e){this.useMatch=(r)=>Mi({select:r?.select,from:this.options.id,structuralSharing:r?.structuralSharing}),this.useRouteContext=(r)=>PP({...r,from:this.options.id}),this.useSearch=(r)=>RP({select:r?.select,structuralSharing:r?.structuralSharing,from:this.options.id}),this.useParams=(r)=>ul({select:r?.select,structuralSharing:r?.structuralSharing,from:this.options.id}),this.useLoaderDeps=(r)=>IP({...r,from:this.options.id}),this.useLoaderData=(r)=>CP({...r,from:this.options.id}),this.useNavigate=()=>Re({from:Wa().routesById[this.options.id].fullPath}),this.options=e}};function ze(e){if(typeof e==="object")return new v6(e);return(r)=>new v6({id:e,...r})}S();function az(e){let r=e.errorComponent??nz;return t(Gbe,{getResetKey:e.getResetKey,onCatch:e.onCatch,children:({error:a,reset:i})=>{if(a)return q(r,{error:a,reset:i});return e.children}})}var Gbe=class extends Fs{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 nz({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]})}S();function HQ(e){let r=Wa();if(Hr??r.isServer){let i=`not-found-${r.stores.location.get().pathname}-${r.stores.status.get()}`;return t(az,{getResetKey:()=>i,onCatch:(s,l)=>{if($a(s))e.onCatch?.(s,l);else throw s},errorComponent:({error:s})=>{if($a(s))return e.fallback?.(s);else throw s},children:e.children})}let a=`not-found-${Ln(r.stores.location,(i)=>i.pathname)}-${Ln(r.stores.status,(i)=>i)}`;return t(az,{getResetKey:()=>a,onCatch:(i,s)=>{if($a(i))e.onCatch?.(i,s);else throw i},errorComponent:({error:i})=>{if($a(i))return e.fallback?.(i);else throw i},children:e.children})}function VQ(){return t("p",{children:"Not Found"})}S();function AM(e){return t(L,{children:e.children})}S();function YN(e,r,a){if(!r.options.notFoundComponent){if(e.options.defaultNotFoundComponent)return t(e.options.defaultNotFoundComponent,{...a});return t(VQ,{})}return t(r.options.notFoundComponent,{...a})}function WQ({children:e}){let r=Wa();if(!(Hr??r.isServer))return null;return t("script",{nonce:r.options.ssr?.nonce,dangerouslySetInnerHTML:{__html:e+";document.currentScript.remove()"}})}function GQ(e){return null}function KQ(){let e=GQ(Wa());if(!e)return null;return t(WQ,{children:e})}S();var qN=Un(function({matchId:r}){let a=Wa();if(Hr??a.isServer){let c=a.stores.matchStores.get(r)?.get();if(!c)ni();let d=c.routeId,h=a.routesById[d].parentRoute?.id;return t(XQ,{router:a,matchId:r,resetKey:a.stores.loadedAt.get(),matchState:{routeId:d,ssr:c.ssr,_displayPending:c._displayPending,parentRouteId:h}})}let i=a.stores.matchStores.get(r);if(!i)ni();let s=Ln(a.stores.loadedAt,(c)=>c),l=Ln(i,(c)=>c);return t(XQ,{router:a,matchId:r,resetKey:s,matchState:D(()=>{let c=l.routeId,d=a.routesById[c].parentRoute?.id;return{routeId:c,ssr:l.ssr,_displayPending:l._displayPending,parentRouteId:d}},[l._displayPending,l.routeId,l.ssr,a.routesById])})});function XQ({router:e,matchId:r,resetKey:a,matchState:i}){let s=e.routesById[i.routeId],l=s.options.pendingComponent??e.options.defaultPendingComponent,c=l?t(l,{}):null,d=s.options.errorComponent??e.options.defaultErrorComponent,h=s.options.onCatch??e.options.defaultOnCatch,g=s.isRoot?s.options.notFoundComponent??e.options.notFoundRoute?.options.component:s.options.notFoundComponent,x=i.ssr===!1||i.ssr==="data-only",v=(!s.isRoot||s.options.wrapInSuspense||x)&&(s.options.wrapInSuspense??l??(s.options.errorComponent?.preload||x))?fi:AM,b=d?az:AM,y=g?HQ:AM;return o(s.isRoot?s.options.shellComponent??AM:AM,{children:[t(ez.Provider,{value:r,children:t(v,{fallback:c,children:t(b,{getResetKey:()=>a,errorComponent:d||nz,onCatch:(k,T)=>{if($a(k))throw k.routeId??=i.routeId,k;h?.(k,T)},children:t(y,{fallback:(k)=>{if(k.routeId??=i.routeId,!g||k.routeId&&k.routeId!==i.routeId||!k.routeId&&!s.isRoot)throw k;return q(g,k)},children:x||i._displayPending?t(PQ,{fallback:c,children:t(QQ,{matchId:r})}):t(QQ,{matchId:r})})})})}),i.parentRouteId===ns?o(L,{children:[t(Kbe,{resetKey:a}),e.options.scrollRestoration&&(Hr??e.isServer)?t(KQ,{}):null]}):null]})}function Kbe({resetKey:e}){let r=Wa();if(Hr??r.isServer)return null;let a=_(void 0);return oz(()=>{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 QQ=Un(function({matchId:r}){let a=Wa(),i=(x,v)=>a.getMatch(x.id)?._nonReactive[v]??x._nonReactive[v];if(Hr??a.isServer){let x=a.stores.matchStores.get(r)?.get();if(!x)ni();let v=x.routeId,b=a.routesById[v],y=(a.routesById[v].options.remountDeps??a.options.defaultRemountDeps)?.({routeId:v,loaderDeps:x.loaderDeps,params:x._strictParams,search:x._strictSearch}),k=y?JSON.stringify(y):void 0,T=b.options.component??a.options.defaultComponent,U=T?t(T,{},k):t(EM,{});if(x._displayPending)throw i(x,"displayPendingPromise");if(x._forcePending)throw i(x,"minPendingPromise");if(x.status==="pending")throw i(x,"loadPromise");if(x.status==="notFound"){if(!$a(x.error))ni();return YN(a,b,x.error)}if(x.status==="redirected"){if(!ii(x.error))ni();throw i(x,"loadPromise")}if(x.status==="error")return t((b.options.errorComponent??a.options.defaultErrorComponent)||nz,{error:x.error,reset:void 0,info:{componentStack:""}});return U}let s=a.stores.matchStores.get(r);if(!s)ni();let l=Ln(s,(x)=>x),c=l.routeId,d=a.routesById[c],h=D(()=>{let x=(a.routesById[c].options.remountDeps??a.options.defaultRemountDeps)?.({routeId:c,loaderDeps:l.loaderDeps,params:l._strictParams,search:l._strictSearch});return x?JSON.stringify(x):void 0},[c,l.loaderDeps,l._strictParams,l._strictSearch,a.options.defaultRemountDeps,a.routesById]),g=D(()=>{let x=d.options.component??a.options.defaultComponent;if(x)return t(x,{},h);return t(EM,{})},[h,d.options.component,a.options.defaultComponent]);if(l._displayPending)throw i(l,"displayPendingPromise");if(l._forcePending)throw i(l,"minPendingPromise");if(l.status==="pending"){let x=d.options.pendingMinMs??a.options.defaultPendingMinMs;if(x){let v=a.getMatch(l.id);if(v&&!v._nonReactive.minPendingPromise){if(!(Hr??a.isServer)){let b=au();v._nonReactive.minPendingPromise=b,setTimeout(()=>{b.resolve(),v._nonReactive.minPendingPromise=void 0},x)}}}throw i(l,"loadPromise")}if(l.status==="notFound"){if(!$a(l.error))ni();return YN(a,d,l.error)}if(l.status==="redirected"){if(!ii(l.error))ni();throw i(l,"loadPromise")}if(l.status==="error"){if(Hr??a.isServer)return t((d.options.errorComponent??a.options.defaultErrorComponent)||nz,{error:l.error,reset:void 0,info:{componentStack:""}});throw l.error}return g}),EM=Un(function(){let r=Wa(),a=pt(ez),i,s=!1,l;if(Hr??r.isServer){let g=r.stores.matches.get(),x=a?g.findIndex((b)=>b.id===a):-1,v=x>=0?g[x]:void 0;i=v?.routeId,s=v?.globalNotFound??!1,l=x>=0?g[x+1]?.id:void 0}else{let g=a?r.stores.matchStores.get(a):void 0;[i,s]=Ln(g,(x)=>[x?.routeId,x?.globalNotFound??!1]),l=Ln(r.stores.matchesId,(x)=>x[x.findIndex((v)=>v===a)+1])}let c=i?r.routesById[i]:void 0,d=r.options.defaultPendingComponent?t(r.options.defaultPendingComponent,{}):null;if(s){if(!c)ni();return YN(r,c,void 0)}if(!l)return null;let h=t(qN,{matchId:l});if(i===ns)return t(fi,{fallback:d,children:h});return h});var JQ=(e)=>{if(Hr??e.isServer)return{createMutableStore:e6,createReadonlyStore:t6,batch:(r)=>r()};return{createMutableStore:BN,createReadonlyStore:BN,batch:SP}};var y6=(e)=>new $Q(e),$Q=class extends f6{constructor(e){super(e,JQ)}};S();function eJ(){let e=Wa(),r=_({router:e,mounted:!1}),[a,i]=u(!1),s=Ln(e.stores.isLoading,(v)=>v),l=Ln(e.stores.hasPending,(v)=>v),c=UN(s),d=s||a||l,h=UN(d),g=s||l,x=UN(g);return e.startTransition=(v)=>{i(!0),YL(()=>{v(),i(!1)})},m(()=>{let v=e.history.subscribe(e.load),b=e.buildLocation({to:e.latestLocation.pathname,search:!0,params:!0,hash:!0,state:!0,_includeValidateSearch:!0});if(Es(e.latestLocation.publicHref)!==Es(b.publicHref))e.commitLocation({...b,replace:!0});return()=>{v()}},[e,e.history]),oz(()=>{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]),oz(()=>{if(c&&!s)e.emit({type:"onLoad",...kZ(e.stores.location.get(),e.stores.resolvedLocation.get())})},[c,e,s]),oz(()=>{if(x&&!g)e.emit({type:"onBeforeRouteMount",...kZ(e.stores.location.get(),e.stores.resolvedLocation.get())})},[g,x,e]),oz(()=>{if(h&&!d){let v=kZ(e.stores.location.get(),e.stores.resolvedLocation.get());e.emit({type:"onResolved",...v}),SP(()=>{e.stores.status.set("idle"),e.stores.resolvedLocation.set(e.stores.location.get())})}},[d,h,e]),null}S();function tJ(){let e=Wa(),r=e.routesById[ns].options.pendingComponent??e.options.defaultPendingComponent,a=r?t(r,{}):null,i=o((Hr??e.isServer)||typeof document<"u"&&e.ssr?AM:fi,{fallback:a,children:[!(Hr??e.isServer)&&t(eJ,{}),t(Xbe,{})]});return e.options.InnerWrap?t(e.options.InnerWrap,{children:i}):i}function Xbe(){let e=Wa(),r=Hr??e.isServer,a=r?e.stores.firstId.get():Ln(e.stores.firstId,(l)=>l),i=r?e.stores.loadedAt.get():Ln(e.stores.loadedAt,(l)=>l),s=a?t(qN,{matchId:a}):null;return t(ez.Provider,{value:a,children:e.options.disableGlobalCatchBoundary?s:t(az,{getResetKey:()=>i,errorComponent:nz,onCatch:void 0,children:s})})}S();function rJ({router:e,children:r,...a}){if(bM(a))e.update({...e.options,...a,context:{...e.options.context,...a.context}});let i=t(_N.Provider,{value:e,children:r});if(e.options.Wrap)return t(e.options.Wrap,{children:i});return i}function _6({router:e,...r}){return t(rJ,{router:e,...r,children:t(tJ,{})})}S();function iz(e){let r=Wa({warn:e?.router===void 0}),a=e?.router||r;if(Hr??a.isServer){let s=a.stores.__store.get();return e?.select?e.select(s):s}let i=_(void 0);return Ln(a.stores.__store,(s)=>{if(e?.select){if(e.structuralSharing??a.options.defaultStructuralSharing){let l=Ts(i.current,e.select(s));return i.current=l,l}return e.select(s)}return s})}S();function gre(){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!=="function")return;try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(gre)}catch(e){console.error(e)}}Ju();S();function Yt(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 Jbe(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function _2(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 D$(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 O$(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 ZJ(e){if(_2(e)!==e)throw Error(Yt(188))}function $be(e){var r=e.alternate;if(!r){if(r=_2(e),r===null)throw Error(Yt(188));return r!==e?null:e}for(var a=e,i=r;;){var s=a.return;if(s===null)break;var l=s.alternate;if(l===null){if(i=s.return,i!==null){a=i;continue}break}if(s.child===l.child){for(l=s.child;l;){if(l===a)return ZJ(s),e;if(l===i)return ZJ(s),r;l=l.sibling}throw Error(Yt(188))}if(a.return!==i.return)a=s,i=l;else{for(var c=!1,d=s.child;d;){if(d===a){c=!0,a=s,i=l;break}if(d===i){c=!0,i=s,a=l;break}d=d.sibling}if(!c){for(d=l.child;d;){if(d===a){c=!0,a=l,i=s;break}if(d===i){c=!0,i=l,a=s;break}d=d.sibling}if(!c)throw Error(Yt(189))}}if(a.alternate!==i)throw Error(Yt(190))}if(a.tag!==3)throw Error(Yt(188));return a.stateNode.current===a?e:r}function N$(e){var r=e.tag;if(r===5||r===26||r===27||r===6)return e;for(e=e.child;e!==null;){if(r=N$(e),r!==null)return r;e=e.sibling}return null}var Zn=Object.assign,ewe=Symbol.for("react.element"),JN=Symbol.for("react.transitional.element"),UP=Symbol.for("react.portal"),Zk=Symbol.for("react.fragment"),F$=Symbol.for("react.strict_mode"),cU=Symbol.for("react.profiler"),j$=Symbol.for("react.consumer"),OZ=Symbol.for("react.context"),fY=Symbol.for("react.forward_ref"),uU=Symbol.for("react.suspense"),dU=Symbol.for("react.suspense_list"),sY=Symbol.for("react.memo"),OM=Symbol.for("react.lazy"),ZU=Symbol.for("react.activity"),twe=Symbol.for("react.memo_cache_sentinel"),pJ=Symbol.iterator;function DP(e){if(e===null||typeof e!=="object")return null;return e=pJ&&e[pJ]||e["@@iterator"],typeof e==="function"?e:null}var rwe=Symbol.for("react.client.reference");function pU(e){if(e==null)return null;if(typeof e==="function")return e.$$typeof===rwe?null:e.displayName||e.name||null;if(typeof e==="string")return e;switch(e){case Zk:return"Fragment";case cU:return"Profiler";case F$:return"StrictMode";case uU:return"Suspense";case dU:return"SuspenseList";case ZU:return"Activity"}if(typeof e==="object")switch(e.$$typeof){case UP:return"Portal";case OZ:return e.displayName||"Context";case j$:return(e._context.displayName||"Context")+".Consumer";case fY:var r=e.render;return e=e.displayName,e||(e=r.displayName||r.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case sY:return r=e.displayName||null,r!==null?r:pU(e.type)||"Memo";case OM:r=e._payload,e=e._init;try{return pU(e(r))}catch(a){}}return null}var YP=Array.isArray,qr=Wi,qo=g6,pz={pending:!1,data:null,method:null,action:null},mU=[],pk=-1;function aZ(e){return{current:e}}function Di(e){0>pk||(e.current=mU[pk],mU[pk]=null,pk--)}function Ga(e,r){pk++,mU[pk]=e.current,e.current=r}var oZ=aZ(null),s2=aZ(null),GM=aZ(null),k5=aZ(null);function C5(e,r){switch(Ga(GM,r),Ga(s2,e),Ga(oZ,null),r.nodeType){case 9:case 11:e=(e=r.documentElement)?(e=e.namespaceURI)?x$(e):0:0;break;default:if(e=r.tagName,r=r.namespaceURI)r=x$(r),e=nre(r,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}Di(oZ),Ga(oZ,e)}function Pk(){Di(oZ),Di(s2),Di(GM)}function hU(e){e.memoizedState!==null&&Ga(k5,e);var r=oZ.current,a=nre(r,e.type);r!==a&&(Ga(s2,e),Ga(oZ,a))}function I5(e){s2.current===e&&(Di(oZ),Di(s2)),k5.current===e&&(Di(k5),x2._currentValue=pz)}var P6,mJ;function lz(e){if(P6===void 0)try{throw Error()}catch(a){var r=a.stack.trim().match(/\n( *(at )?)/);P6=r&&r[1]||"",mJ=-1<a.stack.indexOf(`
3
- at`)?" (<anonymous>)":-1<a.stack.indexOf("@")?"@unknown:0:0":""}return`
4
- `+P6+e+mJ}var T6=!1;function A6(e,r){if(!e||T6)return"";T6=!0;var a=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var i={DetermineComponentFrameRoot:function(){try{if(r){var v=function(){throw Error()};if(Object.defineProperty(v.prototype,"props",{set:function(){throw Error()}}),typeof Reflect==="object"&&Reflect.construct){try{Reflect.construct(v,[])}catch(y){var b=y}Reflect.construct(e,[],v)}else{try{v.call()}catch(y){b=y}e.call(v.prototype)}}else{try{throw Error()}catch(y){b=y}(v=e())&&typeof v.catch==="function"&&v.catch(function(){})}}catch(y){if(y&&b&&typeof y.stack==="string")return[y.stack,b.stack]}return[null,null]}};i.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var s=Object.getOwnPropertyDescriptor(i.DetermineComponentFrameRoot,"name");s&&s.configurable&&Object.defineProperty(i.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var l=i.DetermineComponentFrameRoot(),c=l[0],d=l[1];if(c&&d){var h=c.split(`
5
- `),g=d.split(`
6
- `);for(s=i=0;i<h.length&&!h[i].includes("DetermineComponentFrameRoot");)i++;for(;s<g.length&&!g[s].includes("DetermineComponentFrameRoot");)s++;if(i===h.length||s===g.length)for(i=h.length-1,s=g.length-1;1<=i&&0<=s&&h[i]!==g[s];)s--;for(;1<=i&&0<=s;i--,s--)if(h[i]!==g[s]){if(i!==1||s!==1)do if(i--,s--,0>s||h[i]!==g[s]){var x=`
7
- `+h[i].replace(" at new "," at ");return e.displayName&&x.includes("<anonymous>")&&(x=x.replace("<anonymous>",e.displayName)),x}while(1<=i&&0<=s);break}}}finally{T6=!1,Error.prepareStackTrace=a}return(a=e?e.displayName||e.name:"")?lz(a):""}function owe(e,r){switch(e.tag){case 26:case 27:case 5:return lz(e.type);case 16:return lz("Lazy");case 13:return e.child!==r&&r!==null?lz("Suspense Fallback"):lz("Suspense");case 19:return lz("SuspenseList");case 0:case 15:return A6(e.type,!1);case 11:return A6(e.type.render,!1);case 1:return A6(e.type,!0);case 31:return lz("Activity");default:return""}}function hJ(e){try{var r="",a=null;do r+=owe(e,a),a=e,e=e.return;while(e);return r}catch(i){return`
8
- Error generating stack: `+i.message+`
9
- `+i.stack}}var gU=Object.prototype.hasOwnProperty,lY=Bs,E6=hl,awe=Al,nwe=gl,Yl=eo,iwe=QN,B$=pl,U$=ml,R5=Zs,fwe=XN,Y$=Xi,swe=void 0,lwe=void 0,b2=null,ql=null;function YM(e){if(typeof swe==="function"&&lwe(e),ql&&typeof ql.setStrictMode==="function")try{ql.setStrictMode(b2,e)}catch(r){}}var Hl=Math.clz32?Math.clz32:dwe,{log:cwe,LN2:uwe}=Math;function dwe(e){return e>>>=0,e===0?32:31-(cwe(e)/uwe|0)|0}var $N=256,e5=262144,t5=4194304;function cz(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 o4(e,r,a){var i=e.pendingLanes;if(i===0)return 0;var s=0,l=e.suspendedLanes,c=e.pingedLanes;e=e.warmLanes;var d=i&134217727;return d!==0?(i=d&~l,i!==0?s=cz(i):(c&=d,c!==0?s=cz(c):a||(a=d&~e,a!==0&&(s=cz(a))))):(d=i&~l,d!==0?s=cz(d):c!==0?s=cz(c):a||(a=i&~e,a!==0&&(s=cz(a)))),s===0?0:r!==0&&r!==s&&(r&l)===0&&(l=s&-s,a=r&-r,l>=a||l===32&&(a&4194048)!==0)?r:s}function w2(e,r){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&r)===0}function Zwe(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 q$(){var e=t5;return t5<<=1,(t5&62914560)===0&&(t5=4194304),e}function D6(e){for(var r=[],a=0;31>a;a++)r.push(e);return r}function a4(e,r){e.pendingLanes|=r,r!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function pwe(e,r,a,i,s,l){var c=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:d,expirationTimes:h,hiddenUpdates:g}=e;for(a=c&~a;0<a;){var x=31-Hl(a),v=1<<x;d[x]=0,h[x]=-1;var b=g[x];if(b!==null)for(g[x]=null,x=0;x<b.length;x++){var y=b[x];y!==null&&(y.lane&=-536870913)}a&=~v}i!==0&&H$(e,i,0),l!==0&&s===0&&e.tag!==0&&(e.suspendedLanes|=l&~(c&~r))}function H$(e,r,a){e.pendingLanes|=r,e.suspendedLanes&=~r;var i=31-Hl(r);e.entangledLanes|=r,e.entanglements[i]=e.entanglements[i]|1073741824|a&261930}function V$(e,r){var a=e.entangledLanes|=r;for(e=e.entanglements;a;){var i=31-Hl(a),s=1<<i;s&r|e[i]&r&&(e[i]|=r),a&=~s}}function W$(e,r){var a=r&-r;return a=(a&42)!==0?1:G$(a),(a&(e.suspendedLanes|r))!==0?0:a}function G$(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 cY(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function K$(){var e=qo.p;if(e!==0)return e;return e=window.event,e===void 0?32:pre(e.type)}function gJ(e,r){var a=qo.p;try{return qo.p=e,r()}finally{qo.p=a}}var n8=Math.random().toString(36).slice(2),Ki="__reactFiber$"+n8,Ks="__reactProps$"+n8,z2="__reactContainer$"+n8,MU="__reactEvents$"+n8,mwe="__reactListeners$"+n8,hwe="__reactHandles$"+n8,MJ="__reactResources$"+n8,S2="__reactMarker$"+n8;function uY(e){delete e[Ki],delete e[Ks],delete e[MU],delete e[mwe],delete e[hwe]}function mk(e){var r=e[Ki];if(r)return r;for(var a=e.parentNode;a;){if(r=a[z2]||a[Ki]){if(a=r.alternate,r.child!==null||a!==null&&a.child!==null)for(e=w$(e);e!==null;){if(a=e[Ki])return a;e=w$(e)}return r}e=a,a=e.parentNode}return null}function Yk(e){if(e=e[Ki]||e[z2]){var r=e.tag;if(r===5||r===6||r===13||r===31||r===26||r===27||r===3)return e}return null}function qP(e){var r=e.tag;if(r===5||r===26||r===27||r===6)return e.stateNode;throw Error(Yt(33))}function zk(e){var r=e[MJ];return r||(r=e[MJ]={hoistableStyles:new Map,hoistableScripts:new Map}),r}function Ti(e){e[S2]=!0}var X$=new Set,Q$={};function Sz(e,r){Tk(e,r),Tk(e+"Capture",r)}function Tk(e,r){Q$[e]=r;for(e=0;e<r.length;e++)X$.add(r[e])}var gwe=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]*$"),xJ={},vJ={};function Mwe(e){if(gU.call(vJ,e))return!0;if(gU.call(xJ,e))return!1;if(gwe.test(e))return vJ[e]=!0;return xJ[e]=!0,!1}function d5(e,r,a){if(Mwe(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 r5(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 IZ(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 sc(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function J$(e){var r=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(r==="checkbox"||r==="radio")}function xwe(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:s,set:l}=i;return Object.defineProperty(e,r,{configurable:!0,get:function(){return s.call(this)},set:function(c){a=""+c,l.call(this,c)}}),Object.defineProperty(e,r,{enumerable:i.enumerable}),{getValue:function(){return a},setValue:function(c){a=""+c},stopTracking:function(){e._valueTracker=null,delete e[r]}}}}function xU(e){if(!e._valueTracker){var r=J$(e)?"checked":"value";e._valueTracker=xwe(e,r,""+e[r])}}function $$(e){if(!e)return!1;var r=e._valueTracker;if(!r)return!0;var a=r.getValue(),i="";return e&&(i=J$(e)?e.checked?"true":"false":e.value),e=i,e!==a?(r.setValue(e),!0):!1}function P5(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 vwe=/[\n"\\]/g;function uc(e){return e.replace(vwe,function(r){return"\\"+r.charCodeAt(0).toString(16)+" "})}function vU(e,r,a,i,s,l,c,d){if(e.name="",c!=null&&typeof c!=="function"&&typeof c!=="symbol"&&typeof c!=="boolean"?e.type=c:e.removeAttribute("type"),r!=null)if(c==="number"){if(r===0&&e.value===""||e.value!=r)e.value=""+sc(r)}else e.value!==""+sc(r)&&(e.value=""+sc(r));else c!=="submit"&&c!=="reset"||e.removeAttribute("value");r!=null?yU(e,c,sc(r)):a!=null?yU(e,c,sc(a)):i!=null&&e.removeAttribute("value"),s==null&&l!=null&&(e.defaultChecked=!!l),s!=null&&(e.checked=s&&typeof s!=="function"&&typeof s!=="symbol"),d!=null&&typeof d!=="function"&&typeof d!=="symbol"&&typeof d!=="boolean"?e.name=""+sc(d):e.removeAttribute("name")}function eee(e,r,a,i,s,l,c,d){if(l!=null&&typeof l!=="function"&&typeof l!=="symbol"&&typeof l!=="boolean"&&(e.type=l),r!=null||a!=null){if(!(l!=="submit"&&l!=="reset"||r!==void 0&&r!==null)){xU(e);return}a=a!=null?""+sc(a):"",r=r!=null?""+sc(r):a,d||r===e.value||(e.value=r),e.defaultValue=r}i=i!=null?i:s,i=typeof i!=="function"&&typeof i!=="symbol"&&!!i,e.checked=d?e.checked:!!i,e.defaultChecked=!!i,c!=null&&typeof c!=="function"&&typeof c!=="symbol"&&typeof c!=="boolean"&&(e.name=c),xU(e)}function yU(e,r,a){r==="number"&&P5(e.ownerDocument)===e||e.defaultValue===""+a||(e.defaultValue=""+a)}function Sk(e,r,a,i){if(e=e.options,r){r={};for(var s=0;s<a.length;s++)r["$"+a[s]]=!0;for(a=0;a<e.length;a++)s=r.hasOwnProperty("$"+e[a].value),e[a].selected!==s&&(e[a].selected=s),s&&i&&(e[a].defaultSelected=!0)}else{a=""+sc(a),r=null;for(s=0;s<e.length;s++){if(e[s].value===a){e[s].selected=!0,i&&(e[s].defaultSelected=!0);return}r!==null||e[s].disabled||(r=e[s])}r!==null&&(r.selected=!0)}}function tee(e,r,a){if(r!=null&&(r=""+sc(r),r!==e.value&&(e.value=r),a==null)){e.defaultValue!==r&&(e.defaultValue=r);return}e.defaultValue=a!=null?""+sc(a):""}function ree(e,r,a,i){if(r==null){if(i!=null){if(a!=null)throw Error(Yt(92));if(YP(i)){if(1<i.length)throw Error(Yt(93));i=i[0]}a=i}a==null&&(a=""),r=a}a=sc(r),e.defaultValue=a,i=e.textContent,i===a&&i!==""&&i!==null&&(e.value=i),xU(e)}function Ak(e,r){if(r){var a=e.firstChild;if(a&&a===e.lastChild&&a.nodeType===3){a.nodeValue=r;return}}e.textContent=r}var ywe=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 yJ(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||ywe.has(r)?r==="float"?e.cssFloat=a:e[r]=(""+a).trim():e[r]=a+"px"}function oee(e,r,a){if(r!=null&&typeof r!=="object")throw Error(Yt(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 s in r)i=r[s],r.hasOwnProperty(s)&&a[s]!==i&&yJ(e,s,i)}else for(var l in r)r.hasOwnProperty(l)&&yJ(e,l,r[l])}function dY(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 _we=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"]]),bwe=/^[\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 Z5(e){return bwe.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function NZ(){}var _U=null;function ZY(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var hk=null,Lk=null;function _J(e){var r=Yk(e);if(r&&(e=r.stateNode)){var a=e[Ks]||null;e:switch(e=r.stateNode,r.type){case"input":if(vU(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="'+uc(""+r)+'"][type="radio"]');for(r=0;r<a.length;r++){var i=a[r];if(i!==e&&i.form===e.form){var s=i[Ks]||null;if(!s)throw Error(Yt(90));vU(i,s.value,s.defaultValue,s.defaultValue,s.checked,s.defaultChecked,s.type,s.name)}}for(r=0;r<a.length;r++)i=a[r],i.form===e.form&&$$(i)}break e;case"textarea":tee(e,a.value,a.defaultValue);break e;case"select":r=a.value,r!=null&&Sk(e,!!a.multiple,r,!1)}}}var O6=!1;function aee(e,r,a){if(O6)return e(r,a);O6=!0;try{var i=e(r);return i}finally{if(O6=!1,hk!==null||Lk!==null){if(h4(),hk&&(r=hk,e=Lk,Lk=hk=null,_J(r),e))for(r=0;r<e.length;r++)_J(e[r])}}}function l2(e,r){var a=e.stateNode;if(a===null)return null;var i=a[Ks]||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(Yt(231,r,typeof a));return a}var YZ=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),bU=!1;if(YZ)try{uz={},Object.defineProperty(uz,"passive",{get:function(){bU=!0}}),window.addEventListener("test",uz,uz),window.removeEventListener("test",uz,uz)}catch(e){bU=!1}var uz,qM=null,pY=null,p5=null;function nee(){if(p5)return p5;var e,r=pY,a=r.length,i,s="value"in qM?qM.value:qM.textContent,l=s.length;for(e=0;e<a&&r[e]===s[e];e++);var c=a-e;for(i=1;i<=c&&r[a-i]===s[l-i];i++);return p5=s.slice(e,1<i?1-i:void 0)}function m5(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 o5(){return!0}function bJ(){return!1}function Xs(e){function r(a,i,s,l,c){this._reactName=a,this._targetInst=s,this.type=i,this.nativeEvent=l,this.target=c,this.currentTarget=null;for(var d in e)e.hasOwnProperty(d)&&(a=e[d],this[d]=a?a(l):l[d]);return this.isDefaultPrevented=(l.defaultPrevented!=null?l.defaultPrevented:l.returnValue===!1)?o5:bJ,this.isPropagationStopped=bJ,this}return Zn(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=o5)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():typeof a.cancelBubble!=="unknown"&&(a.cancelBubble=!0),this.isPropagationStopped=o5)},persist:function(){},isPersistent:o5}),r}var Lz={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},n4=Xs(Lz),L2=Zn({},Lz,{view:0,detail:0}),wwe=Xs(L2),N6,F6,OP,i4=Zn({},L2,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:mY,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!==OP&&(OP&&e.type==="mousemove"?(N6=e.screenX-OP.screenX,F6=e.screenY-OP.screenY):F6=N6=0,OP=e),N6},movementY:function(e){return"movementY"in e?e.movementY:F6}}),wJ=Xs(i4),zwe=Zn({},i4,{dataTransfer:0}),Swe=Xs(zwe),Lwe=Zn({},L2,{relatedTarget:0}),j6=Xs(Lwe),kwe=Zn({},Lz,{animationName:0,elapsedTime:0,pseudoElement:0}),Cwe=Xs(kwe),Iwe=Zn({},Lz,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Rwe=Xs(Iwe),Pwe=Zn({},Lz,{data:0}),zJ=Xs(Pwe),Twe={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Awe={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"},Ewe={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Dwe(e){var r=this.nativeEvent;return r.getModifierState?r.getModifierState(e):(e=Ewe[e])?!!r[e]:!1}function mY(){return Dwe}var Owe=Zn({},L2,{key:function(e){if(e.key){var r=Twe[e.key]||e.key;if(r!=="Unidentified")return r}return e.type==="keypress"?(e=m5(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Awe[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:mY,charCode:function(e){return e.type==="keypress"?m5(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?m5(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Nwe=Xs(Owe),Fwe=Zn({},i4,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),SJ=Xs(Fwe),jwe=Zn({},L2,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:mY}),Bwe=Xs(jwe),Uwe=Zn({},Lz,{propertyName:0,elapsedTime:0,pseudoElement:0}),Ywe=Xs(Uwe),qwe=Zn({},i4,{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}),Hwe=Xs(qwe),Vwe=Zn({},Lz,{newState:0,oldState:0}),Wwe=Xs(Vwe),Gwe=[9,13,27,32],hY=YZ&&"CompositionEvent"in window,QP=null;YZ&&"documentMode"in document&&(QP=document.documentMode);var Kwe=YZ&&"TextEvent"in window&&!QP,iee=YZ&&(!hY||QP&&8<QP&&11>=QP),LJ=String.fromCharCode(32),kJ=!1;function fee(e,r){switch(e){case"keyup":return Gwe.indexOf(r.keyCode)!==-1;case"keydown":return r.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function see(e){return e=e.detail,typeof e==="object"&&"data"in e?e.data:null}var gk=!1;function Xwe(e,r){switch(e){case"compositionend":return see(r);case"keypress":if(r.which!==32)return null;return kJ=!0,LJ;case"textInput":return e=r.data,e===LJ&&kJ?null:e;default:return null}}function Qwe(e,r){if(gk)return e==="compositionend"||!hY&&fee(e,r)?(e=nee(),p5=pY=qM=null,gk=!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 iee&&r.locale!=="ko"?null:r.data;default:return null}}var Jwe={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 CJ(e){var r=e&&e.nodeName&&e.nodeName.toLowerCase();return r==="input"?!!Jwe[e.type]:r==="textarea"?!0:!1}function lee(e,r,a,i){hk?Lk?Lk.push(i):Lk=[i]:hk=i,r=X5(r,"onChange"),0<r.length&&(a=new n4("onChange","change",null,a,i),e.push({event:a,listeners:r}))}var JP=null,c2=null;function $we(e){tre(e,0)}function f4(e){var r=qP(e);if($$(r))return e}function IJ(e,r){if(e==="change")return r}var cee=!1;if(YZ){if(YZ){if(VP="oninput"in document,!VP)h5=document.createElement("div"),h5.setAttribute("oninput","return;"),VP=typeof h5.oninput==="function";HP=VP}else HP=!1;cee=HP&&(!document.documentMode||9<document.documentMode)}var HP,VP,h5;function RJ(){JP&&(JP.detachEvent("onpropertychange",uee),c2=JP=null)}function uee(e){if(e.propertyName==="value"&&f4(c2)){var r=[];lee(r,c2,e,ZY(e)),aee($we,r)}}function e0e(e,r,a){e==="focusin"?(RJ(),JP=r,c2=a,JP.attachEvent("onpropertychange",uee)):e==="focusout"&&RJ()}function t0e(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return f4(c2)}function r0e(e,r){if(e==="click")return f4(r)}function o0e(e,r){if(e==="input"||e==="change")return f4(r)}function a0e(e,r){return e===r&&(e!==0||1/e===1/r)||e!==e&&r!==r}var Vl=typeof Object.is==="function"?Object.is:a0e;function u2(e,r){if(Vl(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 s=a[i];if(!gU.call(r,s)||!Vl(e[s],r[s]))return!1}return!0}function PJ(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function TJ(e,r){var a=PJ(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=PJ(a)}}function dee(e,r){return e&&r?e===r?!0:e&&e.nodeType===3?!1:r&&r.nodeType===3?dee(e,r.parentNode):("contains"in e)?e.contains(r):e.compareDocumentPosition?!!(e.compareDocumentPosition(r)&16):!1:!1}function Zee(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var r=P5(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=P5(e.document)}return r}function gY(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 n0e=YZ&&"documentMode"in document&&11>=document.documentMode,Mk=null,wU=null,$P=null,zU=!1;function AJ(e,r,a){var i=a.window===a?a.document:a.nodeType===9?a:a.ownerDocument;zU||Mk==null||Mk!==P5(i)||(i=Mk,("selectionStart"in i)&&gY(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}),$P&&u2($P,i)||($P=i,i=X5(wU,"onSelect"),0<i.length&&(r=new n4("onSelect","select",null,r,a),e.push({event:r,listeners:i}),r.target=Mk)))}function sz(e,r){var a={};return a[e.toLowerCase()]=r.toLowerCase(),a["Webkit"+e]="webkit"+r,a["Moz"+e]="moz"+r,a}var xk={animationend:sz("Animation","AnimationEnd"),animationiteration:sz("Animation","AnimationIteration"),animationstart:sz("Animation","AnimationStart"),transitionrun:sz("Transition","TransitionRun"),transitionstart:sz("Transition","TransitionStart"),transitioncancel:sz("Transition","TransitionCancel"),transitionend:sz("Transition","TransitionEnd")},B6={},pee={};YZ&&(pee=document.createElement("div").style,("AnimationEvent"in window)||(delete xk.animationend.animation,delete xk.animationiteration.animation,delete xk.animationstart.animation),("TransitionEvent"in window)||delete xk.transitionend.transition);function kz(e){if(B6[e])return B6[e];if(!xk[e])return e;var r=xk[e],a;for(a in r)if(r.hasOwnProperty(a)&&a in pee)return B6[e]=r[a];return e}var mee=kz("animationend"),hee=kz("animationiteration"),gee=kz("animationstart"),i0e=kz("transitionrun"),f0e=kz("transitionstart"),s0e=kz("transitioncancel"),Mee=kz("transitionend"),xee=new Map,SU="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(" ");SU.push("scrollEnd");function cu(e,r){xee.set(e,r),Sz(r,[e])}var T5=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)},fc=[],vk=0,MY=0;function s4(){for(var e=vk,r=MY=vk=0;r<e;){var a=fc[r];fc[r++]=null;var i=fc[r];fc[r++]=null;var s=fc[r];fc[r++]=null;var l=fc[r];if(fc[r++]=null,i!==null&&s!==null){var c=i.pending;c===null?s.next=s:(s.next=c.next,c.next=s),i.pending=s}l!==0&&vee(a,s,l)}}function l4(e,r,a,i){fc[vk++]=e,fc[vk++]=r,fc[vk++]=a,fc[vk++]=i,MY|=i,e.lanes|=i,e=e.alternate,e!==null&&(e.lanes|=i)}function xY(e,r,a,i){return l4(e,r,a,i),A5(e)}function Cz(e,r){return l4(e,null,null,r),A5(e)}function vee(e,r,a){e.lanes|=a;var i=e.alternate;i!==null&&(i.lanes|=a);for(var s=!1,l=e.return;l!==null;)l.childLanes|=a,i=l.alternate,i!==null&&(i.childLanes|=a),l.tag===22&&(e=l.stateNode,e===null||e._visibility&1||(s=!0)),e=l,l=l.return;return e.tag===3?(l=e.stateNode,s&&r!==null&&(s=31-Hl(a),e=l.hiddenUpdates,i=e[s],i===null?e[s]=[r]:i.push(r),r.lane=a|536870912),l):null}function A5(e){if(50<i2)throw i2=0,WU=null,Error(Yt(185));for(var r=e.return;r!==null;)e=r,r=e.return;return e.tag===3?e.stateNode:null}var yk={};function l0e(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 l0e(e,r,a,i)}function vY(e){return e=e.prototype,!(!e||!e.isReactComponent)}function jZ(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 yee(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 g5(e,r,a,i,s,l){var c=0;if(i=e,typeof e==="function")vY(e)&&(c=1);else if(typeof e==="string")c=mze(e,a,oZ.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case ZU:return e=jl(31,a,r,s),e.elementType=ZU,e.lanes=l,e;case Zk:return mz(a.children,s,l,r);case F$:c=8,s|=24;break;case cU:return e=jl(12,a,r,s|2),e.elementType=cU,e.lanes=l,e;case uU:return e=jl(13,a,r,s),e.elementType=uU,e.lanes=l,e;case dU:return e=jl(19,a,r,s),e.elementType=dU,e.lanes=l,e;default:if(typeof e==="object"&&e!==null)switch(e.$$typeof){case OZ:c=10;break e;case j$:c=9;break e;case fY:c=11;break e;case sY:c=14;break e;case OM:c=16,i=null;break e}c=29,a=Error(Yt(130,e===null?"null":typeof e,"")),i=null}return r=jl(c,a,r,s),r.elementType=e,r.type=i,r.lanes=l,r}function mz(e,r,a,i){return e=jl(7,e,i,r),e.lanes=a,e}function U6(e,r,a){return e=jl(6,e,null,r),e.lanes=a,e}function _ee(e){var r=jl(18,null,null,0);return r.stateNode=e,r}function Y6(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 EJ=new WeakMap;function dc(e,r){if(typeof e==="object"&&e!==null){var a=EJ.get(e);if(a!==void 0)return a;return r={value:e,source:r,stack:hJ(r)},EJ.set(e,r),r}return{value:e,source:r,stack:hJ(r)}}var _k=[],bk=0,E5=null,d2=0,lc=[],cc=0,t8=null,eZ=1,tZ="";function EZ(e,r){_k[bk++]=d2,_k[bk++]=E5,E5=e,d2=r}function bee(e,r,a){lc[cc++]=eZ,lc[cc++]=tZ,lc[cc++]=t8,t8=e;var i=eZ;e=tZ;var s=32-Hl(i)-1;i&=~(1<<s),a+=1;var l=32-Hl(r)+s;if(30<l){var c=s-s%5;l=(i&(1<<c)-1).toString(32),i>>=c,s-=c,eZ=1<<32-Hl(r)+s|a<<s|i,tZ=l+e}else eZ=1<<l|a<<s|i,tZ=e}function yY(e){e.return!==null&&(EZ(e,1),bee(e,1,0))}function _Y(e){for(;e===E5;)E5=_k[--bk],_k[bk]=null,d2=_k[--bk],_k[bk]=null;for(;e===t8;)t8=lc[--cc],lc[cc]=null,tZ=lc[--cc],lc[cc]=null,eZ=lc[--cc],lc[cc]=null}function wee(e,r){lc[cc++]=eZ,lc[cc++]=tZ,lc[cc++]=t8,eZ=r.id,tZ=r.overflow,t8=e}var Qi=null,fn=null,Ro=!1,KM=null,pc=!1,LU=Error(Yt(519));function r8(e){var r=Error(Yt(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Z2(dc(r,e)),LU}function DJ(e){var{stateNode:r,type:a,memoizedProps:i}=e;switch(r[Ki]=e,r[Ks]=i,a){case"dialog":_o("cancel",r),_o("close",r);break;case"iframe":case"object":case"embed":_o("load",r);break;case"video":case"audio":for(a=0;a<g2.length;a++)_o(g2[a],r);break;case"source":_o("error",r);break;case"img":case"image":case"link":_o("error",r),_o("load",r);break;case"details":_o("toggle",r);break;case"input":_o("invalid",r),eee(r,i.value,i.defaultValue,i.checked,i.defaultChecked,i.type,i.name,!0);break;case"select":_o("invalid",r);break;case"textarea":_o("invalid",r),ree(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||are(r.textContent,a)?(i.popover!=null&&(_o("beforetoggle",r),_o("toggle",r)),i.onScroll!=null&&_o("scroll",r),i.onScrollEnd!=null&&_o("scrollend",r),i.onClick!=null&&(r.onclick=NZ),r=!0):r=!1,r||r8(e,!0)}function OJ(e){for(Qi=e.return;Qi;)switch(Qi.tag){case 5:case 31:case 13:pc=!1;return;case 27:case 3:pc=!0;return;default:Qi=Qi.return}}function sk(e){if(e!==Qi)return!1;if(!Ro)return OJ(e),Ro=!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")||eY(e.type,e.memoizedProps);a=!a}if(a&&fn&&r8(e),OJ(e),r===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(Yt(317));fn=b$(e)}else if(r===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(Yt(317));fn=b$(e)}else r===27?(r=fn,i8(e.type)?(e=aY,aY=null,fn=e):fn=r):fn=Qi?gc(e.stateNode.nextSibling):null;return!0}function yz(){fn=Qi=null,Ro=!1}function q6(){var e=KM;return e!==null&&(Ys===null?Ys=e:Ys.push.apply(Ys,e),KM=null),e}function Z2(e){KM===null?KM=[e]:KM.push(e)}var kU=aZ(null),Iz=null,FZ=null;function FM(e,r,a){Ga(kU,r._currentValue),r._currentValue=a}function BZ(e){e._currentValue=kU.current,Di(kU)}function CU(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 IU(e,r,a,i){var s=e.child;s!==null&&(s.return=e);for(;s!==null;){var l=s.dependencies;if(l!==null){var c=s.child;l=l.firstContext;e:for(;l!==null;){var d=l;l=s;for(var h=0;h<r.length;h++)if(d.context===r[h]){l.lanes|=a,d=l.alternate,d!==null&&(d.lanes|=a),CU(l.return,a,e),i||(c=null);break e}l=d.next}}else if(s.tag===18){if(c=s.return,c===null)throw Error(Yt(341));c.lanes|=a,l=c.alternate,l!==null&&(l.lanes|=a),CU(c,a,e),c=null}else c=s.child;if(c!==null)c.return=s;else for(c=s;c!==null;){if(c===e){c=null;break}if(s=c.sibling,s!==null){s.return=c.return,c=s;break}c=c.return}s=c}}function qk(e,r,a,i){e=null;for(var s=r,l=!1;s!==null;){if(!l){if((s.flags&524288)!==0)l=!0;else if((s.flags&262144)!==0)break}if(s.tag===10){var c=s.alternate;if(c===null)throw Error(Yt(387));if(c=c.memoizedProps,c!==null){var d=s.type;Vl(s.pendingProps.value,c.value)||(e!==null?e.push(d):e=[d])}}else if(s===k5.current){if(c=s.alternate,c===null)throw Error(Yt(387));c.memoizedState.memoizedState!==s.memoizedState.memoizedState&&(e!==null?e.push(x2):e=[x2])}s=s.return}e!==null&&IU(r,e,a,i),r.flags|=262144}function D5(e){for(e=e.firstContext;e!==null;){if(!Vl(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function _z(e){Iz=e,FZ=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function $i(e){return zee(Iz,e)}function a5(e,r){return Iz===null&&_z(e),zee(e,r)}function zee(e,r){var a=r._currentValue;if(r={context:r,memoizedValue:a,next:null},FZ===null){if(e===null)throw Error(Yt(308));FZ=r,e.dependencies={lanes:0,firstContext:r},e.flags|=524288}else FZ=FZ.next=r;return a}var c0e=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()})}},u0e=Bs,d0e=Zs,ci={$$typeof:OZ,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function bY(){return{controller:new c0e,data:new Map,refCount:0}}function k2(e){e.refCount--,e.refCount===0&&u0e(d0e,function(){e.controller.abort()})}var jA=null,RU=0,Ek=0,kk=null;function Z0e(e,r){if(jA===null){var a=jA=[];RU=0,Ek=GY(),kk={status:"pending",value:void 0,then:function(i){a.push(i)}}}return RU++,r.then(NJ,NJ),r}function NJ(){if(--RU===0&&jA!==null){kk!==null&&(kk.status="fulfilled");var e=jA;jA=null,Ek=0,kk=null;for(var r=0;r<e.length;r++)(0,e[r])()}}function p0e(e,r){var a=[],i={status:"pending",value:null,reason:null,then:function(s){a.push(s)}};return e.then(function(){i.status="fulfilled",i.value=r;for(var s=0;s<a.length;s++)(0,a[s])(r)},function(s){i.status="rejected",i.reason=s;for(s=0;s<a.length;s++)(0,a[s])(void 0)}),i}var FJ=qr.S;qr.S=function(e,r){Dte=Yl(),typeof r==="object"&&r!==null&&typeof r.then==="function"&&Z0e(e,r),FJ!==null&&FJ(e,r)};var hz=aZ(null);function wY(){var e=hz.current;return e!==null?e:Ya.pooledCache}function M5(e,r){r===null?Ga(hz,hz.current):Ga(hz,r.pool)}function See(){var e=wY();return e===null?null:{parent:ci._currentValue,pool:e}}var Hk=Error(Yt(460)),zY=Error(Yt(474)),c4=Error(Yt(542)),O5={then:function(){}};function jJ(e){return e=e.status,e==="fulfilled"||e==="rejected"}function Lee(e,r,a){switch(a=e[a],a===void 0?e.push(r):a!==r&&(r.then(NZ,NZ),r=a),r.status){case"fulfilled":return r.value;case"rejected":throw e=r.reason,UJ(e),e;default:if(typeof r.status==="string")r.then(NZ,NZ);else{if(e=Ya,e!==null&&100<e.shellSuspendCounter)throw Error(Yt(482));e=r,e.status="pending",e.then(function(i){if(r.status==="pending"){var s=r;s.status="fulfilled",s.value=i}},function(i){if(r.status==="pending"){var s=r;s.status="rejected",s.reason=i}})}switch(r.status){case"fulfilled":return r.value;case"rejected":throw e=r.reason,UJ(e),e}throw gz=r,Hk}}function dz(e){try{var r=e._init;return r(e._payload)}catch(a){if(a!==null&&typeof a==="object"&&typeof a.then==="function")throw gz=a,Hk;throw a}}var gz=null;function BJ(){if(gz===null)throw Error(Yt(459));var e=gz;return gz=null,e}function UJ(e){if(e===Hk||e===c4)throw Error(Yt(483))}var Ck=null,p2=0;function n5(e){var r=p2;return p2+=1,Ck===null&&(Ck=[]),Lee(Ck,e,r)}function NP(e,r){r=r.props.ref,e.ref=r!==void 0?r:null}function i5(e,r){if(r.$$typeof===ewe)throw Error(Yt(525));throw e=Object.prototype.toString.call(r),Error(Yt(31,e==="[object Object]"?"object with keys {"+Object.keys(r).join(", ")+"}":e))}function kee(e){function r(N,j){if(e){var G=N.deletions;G===null?(N.deletions=[j],N.flags|=16):G.push(j)}}function a(N,j){if(!e)return null;for(;j!==null;)r(N,j),j=j.sibling;return null}function i(N){for(var j=new Map;N!==null;)N.key!==null?j.set(N.key,N):j.set(N.index,N),N=N.sibling;return j}function s(N,j){return N=jZ(N,j),N.index=0,N.sibling=null,N}function l(N,j,G){if(N.index=G,!e)return N.flags|=1048576,j;if(G=N.alternate,G!==null)return G=G.index,G<j?(N.flags|=67108866,j):G;return N.flags|=67108866,j}function c(N){return e&&N.alternate===null&&(N.flags|=67108866),N}function d(N,j,G,X){if(j===null||j.tag!==6)return j=U6(G,N.mode,X),j.return=N,j;return j=s(j,G),j.return=N,j}function h(N,j,G,X){var J=G.type;if(J===Zk)return x(N,j,G.props.children,X,G.key);if(j!==null&&(j.elementType===J||typeof J==="object"&&J!==null&&J.$$typeof===OM&&dz(J)===j.type))return j=s(j,G.props),NP(j,G),j.return=N,j;return j=g5(G.type,G.key,G.props,null,N.mode,X),NP(j,G),j.return=N,j}function g(N,j,G,X){if(j===null||j.tag!==4||j.stateNode.containerInfo!==G.containerInfo||j.stateNode.implementation!==G.implementation)return j=Y6(G,N.mode,X),j.return=N,j;return j=s(j,G.children||[]),j.return=N,j}function x(N,j,G,X,J){if(j===null||j.tag!==7)return j=mz(G,N.mode,X,J),j.return=N,j;return j=s(j,G),j.return=N,j}function v(N,j,G){if(typeof j==="string"&&j!==""||typeof j==="number"||typeof j==="bigint")return j=U6(""+j,N.mode,G),j.return=N,j;if(typeof j==="object"&&j!==null){switch(j.$$typeof){case JN:return G=g5(j.type,j.key,j.props,null,N.mode,G),NP(G,j),G.return=N,G;case UP:return j=Y6(j,N.mode,G),j.return=N,j;case OM:return j=dz(j),v(N,j,G)}if(YP(j)||DP(j))return j=mz(j,N.mode,G,null),j.return=N,j;if(typeof j.then==="function")return v(N,n5(j),G);if(j.$$typeof===OZ)return v(N,a5(N,j),G);i5(N,j)}return null}function b(N,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:d(N,j,""+G,X);if(typeof G==="object"&&G!==null){switch(G.$$typeof){case JN:return G.key===J?h(N,j,G,X):null;case UP:return G.key===J?g(N,j,G,X):null;case OM:return G=dz(G),b(N,j,G,X)}if(YP(G)||DP(G))return J!==null?null:x(N,j,G,X,null);if(typeof G.then==="function")return b(N,j,n5(G),X);if(G.$$typeof===OZ)return b(N,j,a5(N,G),X);i5(N,G)}return null}function y(N,j,G,X,J){if(typeof X==="string"&&X!==""||typeof X==="number"||typeof X==="bigint")return N=N.get(G)||null,d(j,N,""+X,J);if(typeof X==="object"&&X!==null){switch(X.$$typeof){case JN:return N=N.get(X.key===null?G:X.key)||null,h(j,N,X,J);case UP:return N=N.get(X.key===null?G:X.key)||null,g(j,N,X,J);case OM:return X=dz(X),y(N,j,G,X,J)}if(YP(X)||DP(X))return N=N.get(G)||null,x(j,N,X,J,null);if(typeof X.then==="function")return y(N,j,G,n5(X),J);if(X.$$typeof===OZ)return y(N,j,G,a5(j,X),J);i5(j,X)}return null}function k(N,j,G,X){for(var J=null,ee=null,re=j,oe=j=0,fe=null;re!==null&&oe<G.length;oe++){re.index>oe?(fe=re,re=null):fe=re.sibling;var be=b(N,re,G[oe],X);if(be===null){re===null&&(re=fe);break}e&&re&&be.alternate===null&&r(N,re),j=l(be,j,oe),ee===null?J=be:ee.sibling=be,ee=be,re=fe}if(oe===G.length)return a(N,re),Ro&&EZ(N,oe),J;if(re===null){for(;oe<G.length;oe++)re=v(N,G[oe],X),re!==null&&(j=l(re,j,oe),ee===null?J=re:ee.sibling=re,ee=re);return Ro&&EZ(N,oe),J}for(re=i(re);oe<G.length;oe++)fe=y(re,N,oe,G[oe],X),fe!==null&&(e&&fe.alternate!==null&&re.delete(fe.key===null?oe:fe.key),j=l(fe,j,oe),ee===null?J=fe:ee.sibling=fe,ee=fe);return e&&re.forEach(function(We){return r(N,We)}),Ro&&EZ(N,oe),J}function T(N,j,G,X){if(G==null)throw Error(Yt(151));for(var J=null,ee=null,re=j,oe=j=0,fe=null,be=G.next();re!==null&&!be.done;oe++,be=G.next()){re.index>oe?(fe=re,re=null):fe=re.sibling;var We=b(N,re,be.value,X);if(We===null){re===null&&(re=fe);break}e&&re&&We.alternate===null&&r(N,re),j=l(We,j,oe),ee===null?J=We:ee.sibling=We,ee=We,re=fe}if(be.done)return a(N,re),Ro&&EZ(N,oe),J;if(re===null){for(;!be.done;oe++,be=G.next())be=v(N,be.value,X),be!==null&&(j=l(be,j,oe),ee===null?J=be:ee.sibling=be,ee=be);return Ro&&EZ(N,oe),J}for(re=i(re);!be.done;oe++,be=G.next())be=y(re,N,oe,be.value,X),be!==null&&(e&&be.alternate!==null&&re.delete(be.key===null?oe:be.key),j=l(be,j,oe),ee===null?J=be:ee.sibling=be,ee=be);return e&&re.forEach(function(Ye){return r(N,Ye)}),Ro&&EZ(N,oe),J}function U(N,j,G,X){if(typeof G==="object"&&G!==null&&G.type===Zk&&G.key===null&&(G=G.props.children),typeof G==="object"&&G!==null){switch(G.$$typeof){case JN:e:{for(var J=G.key;j!==null;){if(j.key===J){if(J=G.type,J===Zk){if(j.tag===7){a(N,j.sibling),X=s(j,G.props.children),X.return=N,N=X;break e}}else if(j.elementType===J||typeof J==="object"&&J!==null&&J.$$typeof===OM&&dz(J)===j.type){a(N,j.sibling),X=s(j,G.props),NP(X,G),X.return=N,N=X;break e}a(N,j);break}else r(N,j);j=j.sibling}G.type===Zk?(X=mz(G.props.children,N.mode,X,G.key),X.return=N,N=X):(X=g5(G.type,G.key,G.props,null,N.mode,X),NP(X,G),X.return=N,N=X)}return c(N);case UP: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(N,j.sibling),X=s(j,G.children||[]),X.return=N,N=X;break e}else{a(N,j);break}else r(N,j);j=j.sibling}X=Y6(G,N.mode,X),X.return=N,N=X}return c(N);case OM:return G=dz(G),U(N,j,G,X)}if(YP(G))return k(N,j,G,X);if(DP(G)){if(J=DP(G),typeof J!=="function")throw Error(Yt(150));return G=J.call(G),T(N,j,G,X)}if(typeof G.then==="function")return U(N,j,n5(G),X);if(G.$$typeof===OZ)return U(N,j,a5(N,G),X);i5(N,G)}return typeof G==="string"&&G!==""||typeof G==="number"||typeof G==="bigint"?(G=""+G,j!==null&&j.tag===6?(a(N,j.sibling),X=s(j,G),X.return=N,N=X):(a(N,j),X=U6(G,N.mode,X),X.return=N,N=X),c(N)):a(N,j)}return function(N,j,G,X){try{p2=0;var J=U(N,j,G,X);return Ck=null,J}catch(re){if(re===Hk||re===c4)throw re;var ee=jl(29,re,null,N.mode);return ee.lanes=X,ee.return=N,ee}finally{}}}var bz=kee(!0),Cee=kee(!1),NM=!1;function SY(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function PU(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 Mz(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function xz(e,r,a){var i=e.updateQueue;if(i===null)return null;if(i=i.shared,(Uo&2)!==0){var s=i.pending;return s===null?r.next=r:(r.next=s.next,s.next=r),i.pending=r,r=A5(e),vee(e,null,a),r}return l4(e,i,r,a),A5(e)}function qA(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,V$(e,a)}}function H6(e,r){var a=e.updateQueue,i=e.alternate;if(i!==null&&(i=i.updateQueue,a===i)){var s=null,l=null;if(a=a.firstBaseUpdate,a!==null){do{var c={lane:a.lane,tag:a.tag,payload:a.payload,callback:null,next:null};l===null?s=l=c:l=l.next=c,a=a.next}while(a!==null);l===null?s=l=r:l=l.next=r}else s=l=r;a={baseState:i.baseState,firstBaseUpdate:s,lastBaseUpdate:l,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 TU=!1;function e2(){if(TU){var e=kk;if(e!==null)throw e}}function t2(e,r,a,i){TU=!1;var s=e.updateQueue;NM=!1;var{firstBaseUpdate:l,lastBaseUpdate:c}=s,d=s.shared.pending;if(d!==null){s.shared.pending=null;var h=d,g=h.next;h.next=null,c===null?l=g:c.next=g,c=h;var x=e.alternate;x!==null&&(x=x.updateQueue,d=x.lastBaseUpdate,d!==c&&(d===null?x.firstBaseUpdate=g:d.next=g,x.lastBaseUpdate=h))}if(l!==null){var v=s.baseState;c=0,x=g=h=null,d=l;do{var b=d.lane&-536870913,y=b!==d.lane;if(y?(ko&b)===b:(i&b)===b){b!==0&&b===Ek&&(TU=!0),x!==null&&(x=x.next={lane:0,tag:d.tag,payload:d.payload,callback:null,next:null});e:{var k=e,T=d;b=r;var U=a;switch(T.tag){case 1:if(k=T.payload,typeof k==="function"){v=k.call(U,v,b);break e}v=k;break e;case 3:k.flags=k.flags&-65537|128;case 0:if(k=T.payload,b=typeof k==="function"?k.call(U,v,b):k,b===null||b===void 0)break e;v=Zn({},v,b);break e;case 2:NM=!0}}b=d.callback,b!==null&&(e.flags|=64,y&&(e.flags|=8192),y=s.callbacks,y===null?s.callbacks=[b]:y.push(b))}else y={lane:b,tag:d.tag,payload:d.payload,callback:d.callback,next:null},x===null?(g=x=y,h=v):x=x.next=y,c|=b;if(d=d.next,d===null)if(d=s.shared.pending,d===null)break;else y=d,d=y.next,y.next=null,s.lastBaseUpdate=y,s.shared.pending=null}while(1);x===null&&(h=v),s.baseState=h,s.firstBaseUpdate=g,s.lastBaseUpdate=x,l===null&&(s.shared.lanes=0),a8|=c,e.lanes=c,e.memoizedState=v}}function Iee(e,r){if(typeof e!=="function")throw Error(Yt(191,e));e.call(r)}function Ree(e,r){var a=e.callbacks;if(a!==null)for(e.callbacks=null,e=0;e<a.length;e++)Iee(a[e],r)}var Dk=aZ(null),N5=aZ(0);function YJ(e,r){e=WZ,Ga(N5,e),Ga(Dk,r),WZ=e|r.baseLanes}function AU(){Ga(N5,WZ),Ga(Dk,Dk.current)}function LY(){WZ=N5.current,Di(Dk),Di(N5)}var Wl=aZ(null),mc=null;function jM(e){var r=e.alternate;Ga(Wn,Wn.current&1),Ga(Wl,e),mc===null&&(r===null||Dk.current!==null?mc=e:r.memoizedState!==null&&(mc=e))}function EU(e){Ga(Wn,Wn.current),Ga(Wl,e),mc===null&&(mc=e)}function Pee(e){e.tag===22?(Ga(Wn,Wn.current),Ga(Wl,e),mc===null&&(mc=e)):BM(e)}function BM(){Ga(Wn,Wn.current),Ga(Wl,Wl.current)}function zl(e){Di(Wl),mc===e&&(mc=null),Di(Wn)}var Wn=aZ(0);function F5(e){for(var r=e;r!==null;){if(r.tag===13){var a=r.memoizedState;if(a!==null&&(a=a.dehydrated,a===null||rY(a)||oY(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,uo=null,ba=null,si=null,j5=!1,Ik=!1,wz=!1,B5=0,m2=0,Rk=null,m0e=0;function Cn(){throw Error(Yt(321))}function kY(e,r){if(r===null)return!1;for(var a=0;a<r.length&&a<e.length;a++)if(!Vl(e[a],r[a]))return!1;return!0}function CY(e,r,a,i,s,l){return qZ=l,uo=r,r.memoizedState=null,r.updateQueue=null,r.lanes=0,qr.H=e===null||e.memoizedState===null?lte:jY,wz=!1,l=a(i,s),wz=!1,Ik&&(l=Aee(r,a,i,s)),Tee(e),l}function Tee(e){qr.H=h2;var r=ba!==null&&ba.next!==null;if(qZ=0,si=ba=uo=null,j5=!1,m2=0,Rk=null,r)throw Error(Yt(300));e===null||ui||(e=e.dependencies,e!==null&&D5(e)&&(ui=!0))}function Aee(e,r,a,i){uo=e;var s=0;do{if(Ik&&(Rk=null),m2=0,Ik=!1,25<=s)throw Error(Yt(301));if(s+=1,si=ba=null,e.updateQueue!=null){var l=e.updateQueue;l.lastEffect=null,l.events=null,l.stores=null,l.memoCache!=null&&(l.memoCache.index=0)}qr.H=cte,l=r(a,i)}while(Ik);return l}function h0e(){var e=qr.H,r=e.useState()[0];return r=typeof r.then==="function"?C2(r):r,e=e.useState()[0],(ba!==null?ba.memoizedState:null)!==e&&(uo.flags|=1024),r}function IY(){var e=B5!==0;return B5=0,e}function RY(e,r,a){r.updateQueue=e.updateQueue,r.flags&=-2053,e.lanes&=~a}function PY(e){if(j5){for(e=e.memoizedState;e!==null;){var r=e.queue;r!==null&&(r.pending=null),e=e.next}j5=!1}qZ=0,si=ba=uo=null,Ik=!1,m2=B5=0,Rk=null}function is(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return si===null?uo.memoizedState=si=e:si=si.next=e,si}function Kn(){if(ba===null){var e=uo.alternate;e=e!==null?e.memoizedState:null}else e=ba.next;var r=si===null?uo.memoizedState:si.next;if(r!==null)si=r,ba=e;else{if(e===null){if(uo.alternate===null)throw Error(Yt(467));throw Error(Yt(310))}ba=e,e={memoizedState:ba.memoizedState,baseState:ba.baseState,baseQueue:ba.baseQueue,queue:ba.queue,next:null},si===null?uo.memoizedState=si=e:si=si.next=e}return si}function u4(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function C2(e){var r=m2;return m2+=1,Rk===null&&(Rk=[]),e=Lee(Rk,e,r),r=uo,(si===null?r.memoizedState:si.next)===null&&(r=r.alternate,qr.H=r===null||r.memoizedState===null?lte:jY),e}function d4(e){if(e!==null&&typeof e==="object"){if(typeof e.then==="function")return C2(e);if(e.$$typeof===OZ)return $i(e)}throw Error(Yt(438,String(e)))}function TY(e){var r=null,a=uo.updateQueue;if(a!==null&&(r=a.memoCache),r==null){var i=uo.alternate;i!==null&&(i=i.updateQueue,i!==null&&(i=i.memoCache,i!=null&&(r={data:i.data.map(function(s){return s.slice()}),index:0})))}if(r==null&&(r={data:[],index:0}),a===null&&(a=u4(),uo.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]=twe;return r.index++,a}function HZ(e,r){return typeof r==="function"?r(e):r}function x5(e){var r=Kn();return AY(r,ba,e)}function AY(e,r,a){var i=e.queue;if(i===null)throw Error(Yt(311));i.lastRenderedReducer=a;var s=e.baseQueue,l=i.pending;if(l!==null){if(s!==null){var c=s.next;s.next=l.next,l.next=c}r.baseQueue=s=l,i.pending=null}if(l=e.baseState,s===null)e.memoizedState=l;else{r=s.next;var d=c=null,h=null,g=r,x=!1;do{var v=g.lane&-536870913;if(v!==g.lane?(ko&v)===v:(qZ&v)===v){var b=g.revertLane;if(b===0)h!==null&&(h=h.next={lane:0,revertLane:0,gesture:null,action:g.action,hasEagerState:g.hasEagerState,eagerState:g.eagerState,next:null}),v===Ek&&(x=!0);else if((qZ&b)===b){g=g.next,b===Ek&&(x=!0);continue}else v={lane:0,revertLane:g.revertLane,gesture:null,action:g.action,hasEagerState:g.hasEagerState,eagerState:g.eagerState,next:null},h===null?(d=h=v,c=l):h=h.next=v,uo.lanes|=b,a8|=b;v=g.action,wz&&a(l,v),l=g.hasEagerState?g.eagerState:a(l,v)}else b={lane:v,revertLane:g.revertLane,gesture:g.gesture,action:g.action,hasEagerState:g.hasEagerState,eagerState:g.eagerState,next:null},h===null?(d=h=b,c=l):h=h.next=b,uo.lanes|=v,a8|=v;g=g.next}while(g!==null&&g!==r);if(h===null?c=l:h.next=d,!Vl(l,e.memoizedState)&&(ui=!0,x&&(a=kk,a!==null)))throw a;e.memoizedState=l,e.baseState=c,e.baseQueue=h,i.lastRenderedState=l}return s===null&&(i.lanes=0),[e.memoizedState,i.dispatch]}function V6(e){var r=Kn(),a=r.queue;if(a===null)throw Error(Yt(311));a.lastRenderedReducer=e;var{dispatch:i,pending:s}=a,l=r.memoizedState;if(s!==null){a.pending=null;var c=s=s.next;do l=e(l,c.action),c=c.next;while(c!==s);Vl(l,r.memoizedState)||(ui=!0),r.memoizedState=l,r.baseQueue===null&&(r.baseState=l),a.lastRenderedState=l}return[l,i]}function Eee(e,r,a){var i=uo,s=Kn(),l=Ro;if(l){if(a===void 0)throw Error(Yt(407));a=a()}else a=r();var c=!Vl((ba||s).memoizedState,a);if(c&&(s.memoizedState=a,ui=!0),s=s.queue,EY(Nee.bind(null,i,s,e),[e]),s.getSnapshot!==r||c||si!==null&&si.memoizedState.tag&1){if(i.flags|=2048,Ok(9,{destroy:void 0},Oee.bind(null,i,s,a,r),null),Ya===null)throw Error(Yt(349));l||(qZ&127)!==0||Dee(i,r,a)}return a}function Dee(e,r,a){e.flags|=16384,e={getSnapshot:r,value:a},r=uo.updateQueue,r===null?(r=u4(),uo.updateQueue=r,r.stores=[e]):(a=r.stores,a===null?r.stores=[e]:a.push(e))}function Oee(e,r,a,i){r.value=a,r.getSnapshot=i,Fee(r)&&jee(e)}function Nee(e,r,a){return a(function(){Fee(r)&&jee(e)})}function Fee(e){var r=e.getSnapshot;e=e.value;try{var a=r();return!Vl(e,a)}catch(i){return!0}}function jee(e){var r=Cz(e,2);r!==null&&Ws(r,e,2)}function DU(e){var r=is();if(typeof e==="function"){var a=e;if(e=a(),wz){YM(!0);try{a()}finally{YM(!1)}}}return r.memoizedState=r.baseState=e,r.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:HZ,lastRenderedState:e},r}function Bee(e,r,a,i){return e.baseState=a,AY(e,ba,typeof i==="function"?i:HZ)}function g0e(e,r,a,i,s){if(p4(e))throw Error(Yt(485));if(e=r.action,e!==null){var l={payload:s,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(c){l.listeners.push(c)}};qr.T!==null?a(!0):l.isTransition=!1,i(l),a=r.pending,a===null?(l.next=r.pending=l,Uee(r,l)):(l.next=a.next,r.pending=a.next=l)}}function Uee(e,r){var{action:a,payload:i}=r,s=e.state;if(r.isTransition){var l=qr.T,c={};qr.T=c;try{var d=a(s,i),h=qr.S;h!==null&&h(c,d),qJ(e,r,d)}catch(g){OU(e,r,g)}finally{l!==null&&c.types!==null&&(l.types=c.types),qr.T=l}}else try{l=a(s,i),qJ(e,r,l)}catch(g){OU(e,r,g)}}function qJ(e,r,a){a!==null&&typeof a==="object"&&typeof a.then==="function"?a.then(function(i){HJ(e,r,i)},function(i){return OU(e,r,i)}):HJ(e,r,a)}function HJ(e,r,a){r.status="fulfilled",r.value=a,Yee(r),e.state=a,r=e.pending,r!==null&&(a=r.next,a===r?e.pending=null:(a=a.next,r.next=a,Uee(e,a)))}function OU(e,r,a){var i=e.pending;if(e.pending=null,i!==null){i=i.next;do r.status="rejected",r.reason=a,Yee(r),r=r.next;while(r!==i)}e.action=null}function Yee(e){e=e.listeners;for(var r=0;r<e.length;r++)(0,e[r])()}function qee(e,r){return r}function VJ(e,r){if(Ro){var a=Ya.formState;if(a!==null){e:{var i=uo;if(Ro){if(fn){t:{var s=fn;for(var l=pc;s.nodeType!==8;){if(!l){s=null;break t}if(s=gc(s.nextSibling),s===null){s=null;break t}}l=s.data,s=l==="F!"||l==="F"?s:null}if(s){fn=gc(s.nextSibling),i=s.data==="F!";break e}}r8(i)}i=!1}i&&(r=a[0])}}return a=is(),a.memoizedState=a.baseState=r,i={pending:null,lanes:0,dispatch:null,lastRenderedReducer:qee,lastRenderedState:r},a.queue=i,a=ite.bind(null,uo,i),i.dispatch=a,i=DU(!1),l=FY.bind(null,uo,!1,i.queue),i=is(),s={state:r,dispatch:null,action:e,pending:null},i.queue=s,a=g0e.bind(null,uo,s,l,a),s.dispatch=a,i.memoizedState=e,[r,a,!1]}function WJ(e){var r=Kn();return Hee(r,ba,e)}function Hee(e,r,a){if(r=AY(e,r,qee)[0],e=x5(HZ)[0],typeof r==="object"&&r!==null&&typeof r.then==="function")try{var i=C2(r)}catch(c){if(c===Hk)throw c4;throw c}else i=r;r=Kn();var s=r.queue,l=s.dispatch;return a!==r.memoizedState&&(uo.flags|=2048,Ok(9,{destroy:void 0},M0e.bind(null,s,a),null)),[i,l,e]}function M0e(e,r){e.action=r}function GJ(e){var r=Kn(),a=ba;if(a!==null)return Hee(r,a,e);Kn(),r=r.memoizedState,a=Kn();var i=a.queue.dispatch;return a.memoizedState=e,[r,i,!1]}function Ok(e,r,a,i){return e={tag:e,create:a,deps:i,inst:r,next:null},r=uo.updateQueue,r===null&&(r=u4(),uo.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 Vee(){return Kn().memoizedState}function v5(e,r,a,i){var s=is();uo.flags|=e,s.memoizedState=Ok(1|r,{destroy:void 0},a,i===void 0?null:i)}function Z4(e,r,a,i){var s=Kn();i=i===void 0?null:i;var l=s.memoizedState.inst;ba!==null&&i!==null&&kY(i,ba.memoizedState.deps)?s.memoizedState=Ok(r,l,a,i):(uo.flags|=e,s.memoizedState=Ok(1|r,l,a,i))}function KJ(e,r){v5(8390656,8,e,r)}function EY(e,r){Z4(2048,8,e,r)}function x0e(e){uo.flags|=4;var r=uo.updateQueue;if(r===null)r=u4(),uo.updateQueue=r,r.events=[e];else{var a=r.events;a===null?r.events=[e]:a.push(e)}}function Wee(e){var r=Kn().memoizedState;return x0e({ref:r,nextImpl:e}),function(){if((Uo&2)!==0)throw Error(Yt(440));return r.impl.apply(void 0,arguments)}}function Gee(e,r){return Z4(4,2,e,r)}function Kee(e,r){return Z4(4,4,e,r)}function Xee(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 Qee(e,r,a){a=a!==null&&a!==void 0?a.concat([e]):null,Z4(4,4,Xee.bind(null,r,e),a)}function DY(){}function Jee(e,r){var a=Kn();r=r===void 0?null:r;var i=a.memoizedState;if(r!==null&&kY(r,i[1]))return i[0];return a.memoizedState=[e,r],e}function $ee(e,r){var a=Kn();r=r===void 0?null:r;var i=a.memoizedState;if(r!==null&&kY(r,i[1]))return i[0];if(i=e(),wz){YM(!0);try{e()}finally{YM(!1)}}return a.memoizedState=[i,r],i}function OY(e,r,a){if(a===void 0||(qZ&1073741824)!==0&&(ko&261930)===0)return e.memoizedState=r;return e.memoizedState=a,e=Nte(),uo.lanes|=e,a8|=e,a}function ete(e,r,a,i){if(Vl(a,r))return a;if(Dk.current!==null)return e=OY(e,a,i),Vl(e,r)||(ui=!0),e;if((qZ&42)===0||(qZ&1073741824)!==0&&(ko&261930)===0)return ui=!0,e.memoizedState=a;return e=Nte(),uo.lanes|=e,a8|=e,r}function tte(e,r,a,i,s){var l=qo.p;qo.p=l!==0&&8>l?l:8;var c=qr.T,d={};qr.T=d,FY(e,!1,r,a);try{var h=s(),g=qr.S;if(g!==null&&g(d,h),h!==null&&typeof h==="object"&&typeof h.then==="function"){var x=p0e(h,i);r2(e,r,x,hc(e))}else r2(e,r,i,hc(e))}catch(v){r2(e,r,{then:function(){},status:"rejected",reason:v},hc())}finally{qo.p=l,c!==null&&d.types!==null&&(c.types=d.types),qr.T=c}}function v0e(){}function NU(e,r,a,i){if(e.tag!==5)throw Error(Yt(476));var s=rte(e).queue;tte(e,s,r,pz,a===null?v0e:function(){return ote(e),a(i)})}function rte(e){var r=e.memoizedState;if(r!==null)return r;r={memoizedState:pz,baseState:pz,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:HZ,lastRenderedState:pz},next:null};var a={};return r.next={memoizedState:a,baseState:a,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:HZ,lastRenderedState:a},next:null},e.memoizedState=r,e=e.alternate,e!==null&&(e.memoizedState=r),r}function ote(e){var r=rte(e);r.next===null&&(r=e.alternate.memoizedState),r2(e,r.next.queue,{},hc())}function NY(){return $i(x2)}function ate(){return Kn().memoizedState}function nte(){return Kn().memoizedState}function y0e(e){for(var r=e.return;r!==null;){switch(r.tag){case 24:case 3:var a=hc();e=Mz(a);var i=xz(r,e,a);i!==null&&(Ws(i,r,a),qA(i,r,a)),r={cache:bY()},e.payload=r;return}r=r.return}}function _0e(e,r,a){var i=hc();a={lane:i,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},p4(e)?fte(r,a):(a=xY(e,r,a,i),a!==null&&(Ws(a,e,i),ste(a,r,i)))}function ite(e,r,a){var i=hc();r2(e,r,a,i)}function r2(e,r,a,i){var s={lane:i,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null};if(p4(e))fte(r,s);else{var l=e.alternate;if(e.lanes===0&&(l===null||l.lanes===0)&&(l=r.lastRenderedReducer,l!==null))try{var c=r.lastRenderedState,d=l(c,a);if(s.hasEagerState=!0,s.eagerState=d,Vl(d,c))return l4(e,r,s,0),Ya===null&&s4(),!1}catch(h){}finally{}if(a=xY(e,r,s,i),a!==null)return Ws(a,e,i),ste(a,r,i),!0}return!1}function FY(e,r,a,i){if(i={lane:2,revertLane:GY(),gesture:null,action:i,hasEagerState:!1,eagerState:null,next:null},p4(e)){if(r)throw Error(Yt(479))}else r=xY(e,a,i,2),r!==null&&Ws(r,e,2)}function p4(e){var r=e.alternate;return e===uo||r!==null&&r===uo}function fte(e,r){Ik=j5=!0;var a=e.pending;a===null?r.next=r:(r.next=a.next,a.next=r),e.pending=r}function ste(e,r,a){if((a&4194048)!==0){var i=r.lanes;i&=e.pendingLanes,a|=i,r.lanes=a,V$(e,a)}}var h2={readContext:$i,use:d4,useCallback:Cn,useContext:Cn,useEffect:Cn,useImperativeHandle:Cn,useLayoutEffect:Cn,useInsertionEffect:Cn,useMemo:Cn,useReducer:Cn,useRef:Cn,useState:Cn,useDebugValue:Cn,useDeferredValue:Cn,useTransition:Cn,useSyncExternalStore:Cn,useId:Cn,useHostTransitionStatus:Cn,useFormState:Cn,useActionState:Cn,useOptimistic:Cn,useMemoCache:Cn,useCacheRefresh:Cn};h2.useEffectEvent=Cn;var lte={readContext:$i,use:d4,useCallback:function(e,r){return is().memoizedState=[e,r===void 0?null:r],e},useContext:$i,useEffect:KJ,useImperativeHandle:function(e,r,a){a=a!==null&&a!==void 0?a.concat([e]):null,v5(4194308,4,Xee.bind(null,r,e),a)},useLayoutEffect:function(e,r){return v5(4194308,4,e,r)},useInsertionEffect:function(e,r){v5(4,2,e,r)},useMemo:function(e,r){var a=is();r=r===void 0?null:r;var i=e();if(wz){YM(!0);try{e()}finally{YM(!1)}}return a.memoizedState=[i,r],i},useReducer:function(e,r,a){var i=is();if(a!==void 0){var s=a(r);if(wz){YM(!0);try{a(r)}finally{YM(!1)}}}else s=r;return i.memoizedState=i.baseState=s,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:s},i.queue=e,e=e.dispatch=_0e.bind(null,uo,e),[i.memoizedState,e]},useRef:function(e){var r=is();return e={current:e},r.memoizedState=e},useState:function(e){e=DU(e);var r=e.queue,a=ite.bind(null,uo,r);return r.dispatch=a,[e.memoizedState,a]},useDebugValue:DY,useDeferredValue:function(e,r){var a=is();return OY(a,e,r)},useTransition:function(){var e=DU(!1);return e=tte.bind(null,uo,e.queue,!0,!1),is().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,r,a){var i=uo,s=is();if(Ro){if(a===void 0)throw Error(Yt(407));a=a()}else{if(a=r(),Ya===null)throw Error(Yt(349));(ko&127)!==0||Dee(i,r,a)}s.memoizedState=a;var l={value:a,getSnapshot:r};return s.queue=l,KJ(Nee.bind(null,i,l,e),[e]),i.flags|=2048,Ok(9,{destroy:void 0},Oee.bind(null,i,l,a,r),null),a},useId:function(){var e=is(),r=Ya.identifierPrefix;if(Ro){var a=tZ,i=eZ;a=(i&~(1<<32-Hl(i)-1)).toString(32)+a,r="_"+r+"R_"+a,a=B5++,0<a&&(r+="H"+a.toString(32)),r+="_"}else a=m0e++,r="_"+r+"r_"+a.toString(32)+"_";return e.memoizedState=r},useHostTransitionStatus:NY,useFormState:VJ,useActionState:VJ,useOptimistic:function(e){var r=is();r.memoizedState=r.baseState=e;var a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return r.queue=a,r=FY.bind(null,uo,!0,a),a.dispatch=r,[e,r]},useMemoCache:TY,useCacheRefresh:function(){return is().memoizedState=y0e.bind(null,uo)},useEffectEvent:function(e){var r=is(),a={impl:e};return r.memoizedState=a,function(){if((Uo&2)!==0)throw Error(Yt(440));return a.impl.apply(void 0,arguments)}}},jY={readContext:$i,use:d4,useCallback:Jee,useContext:$i,useEffect:EY,useImperativeHandle:Qee,useInsertionEffect:Gee,useLayoutEffect:Kee,useMemo:$ee,useReducer:x5,useRef:Vee,useState:function(){return x5(HZ)},useDebugValue:DY,useDeferredValue:function(e,r){var a=Kn();return ete(a,ba.memoizedState,e,r)},useTransition:function(){var e=x5(HZ)[0],r=Kn().memoizedState;return[typeof e==="boolean"?e:C2(e),r]},useSyncExternalStore:Eee,useId:ate,useHostTransitionStatus:NY,useFormState:WJ,useActionState:WJ,useOptimistic:function(e,r){var a=Kn();return Bee(a,ba,e,r)},useMemoCache:TY,useCacheRefresh:nte};jY.useEffectEvent=Wee;var cte={readContext:$i,use:d4,useCallback:Jee,useContext:$i,useEffect:EY,useImperativeHandle:Qee,useInsertionEffect:Gee,useLayoutEffect:Kee,useMemo:$ee,useReducer:V6,useRef:Vee,useState:function(){return V6(HZ)},useDebugValue:DY,useDeferredValue:function(e,r){var a=Kn();return ba===null?OY(a,e,r):ete(a,ba.memoizedState,e,r)},useTransition:function(){var e=V6(HZ)[0],r=Kn().memoizedState;return[typeof e==="boolean"?e:C2(e),r]},useSyncExternalStore:Eee,useId:ate,useHostTransitionStatus:NY,useFormState:GJ,useActionState:GJ,useOptimistic:function(e,r){var a=Kn();if(ba!==null)return Bee(a,ba,e,r);return a.baseState=e,[e,a.queue.dispatch]},useMemoCache:TY,useCacheRefresh:nte};cte.useEffectEvent=Wee;function W6(e,r,a,i){r=e.memoizedState,a=a(i,r),a=a===null||a===void 0?r:Zn({},r,a),e.memoizedState=a,e.lanes===0&&(e.updateQueue.baseState=a)}var FU={enqueueSetState:function(e,r,a){e=e._reactInternals;var i=hc(),s=Mz(i);s.payload=r,a!==void 0&&a!==null&&(s.callback=a),r=xz(e,s,i),r!==null&&(Ws(r,e,i),qA(r,e,i))},enqueueReplaceState:function(e,r,a){e=e._reactInternals;var i=hc(),s=Mz(i);s.tag=1,s.payload=r,a!==void 0&&a!==null&&(s.callback=a),r=xz(e,s,i),r!==null&&(Ws(r,e,i),qA(r,e,i))},enqueueForceUpdate:function(e,r){e=e._reactInternals;var a=hc(),i=Mz(a);i.tag=2,r!==void 0&&r!==null&&(i.callback=r),r=xz(e,i,a),r!==null&&(Ws(r,e,a),qA(r,e,a))}};function XJ(e,r,a,i,s,l,c){return e=e.stateNode,typeof e.shouldComponentUpdate==="function"?e.shouldComponentUpdate(i,l,c):r.prototype&&r.prototype.isPureReactComponent?!u2(a,i)||!u2(s,l):!0}function QJ(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&&FU.enqueueReplaceState(r,r.state,null)}function zz(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=Zn({},a));for(var s in e)a[s]===void 0&&(a[s]=e[s])}return a}function b0e(e){T5(e)}function w0e(e){console.error(e)}function z0e(e){T5(e)}function U5(e,r){try{var a=e.onUncaughtError;a(r.value,{componentStack:r.stack})}catch(i){setTimeout(function(){throw i})}}function JJ(e,r,a){try{var i=e.onCaughtError;i(a.value,{componentStack:a.stack,errorBoundary:r.tag===1?r.stateNode:null})}catch(s){setTimeout(function(){throw s})}}function jU(e,r,a){return a=Mz(a),a.tag=3,a.payload={element:null},a.callback=function(){U5(e,r)},a}function ute(e){return e=Mz(e),e.tag=3,e}function dte(e,r,a,i){var s=a.type.getDerivedStateFromError;if(typeof s==="function"){var l=i.value;e.payload=function(){return s(l)},e.callback=function(){JJ(r,a,i)}}var c=a.stateNode;c!==null&&typeof c.componentDidCatch==="function"&&(e.callback=function(){JJ(r,a,i),typeof s!=="function"&&(XM===null?XM=new Set([this]):XM.add(this));var d=i.stack;this.componentDidCatch(i.value,{componentStack:d!==null?d:""})})}function S0e(e,r,a,i,s){if(a.flags|=32768,i!==null&&typeof i==="object"&&typeof i.then==="function"){if(r=a.alternate,r!==null&&qk(r,a,s,!0),a=Wl.current,a!==null){switch(a.tag){case 31:case 13:return mc===null?W5():a.alternate===null&&Pn===0&&(Pn=3),a.flags&=-257,a.flags|=65536,a.lanes=s,i===O5?a.flags|=16384:(r=a.updateQueue,r===null?a.updateQueue=new Set([i]):r.add(i),aU(e,i,s)),!1;case 22:return a.flags|=65536,i===O5?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)),aU(e,i,s)),!1}throw Error(Yt(435,a.tag))}return aU(e,i,s),W5(),!1}if(Ro)return r=Wl.current,r!==null?((r.flags&65536)===0&&(r.flags|=256),r.flags|=65536,r.lanes=s,i!==LU&&(e=Error(Yt(422),{cause:i}),Z2(dc(e,a)))):(i!==LU&&(r=Error(Yt(423),{cause:i}),Z2(dc(r,a))),e=e.current.alternate,e.flags|=65536,s&=-s,e.lanes|=s,i=dc(i,a),s=jU(e.stateNode,i,s),H6(e,s),Pn!==4&&(Pn=2)),!1;var l=Error(Yt(520),{cause:i});if(l=dc(l,a),n2===null?n2=[l]:n2.push(l),Pn!==4&&(Pn=2),r===null)return!0;i=dc(i,a),a=r;do{switch(a.tag){case 3:return a.flags|=65536,e=s&-s,a.lanes|=e,e=jU(a.stateNode,i,e),H6(a,e),!1;case 1:if(r=a.type,l=a.stateNode,(a.flags&128)===0&&(typeof r.getDerivedStateFromError==="function"||l!==null&&typeof l.componentDidCatch==="function"&&(XM===null||!XM.has(l))))return a.flags|=65536,s&=-s,a.lanes|=s,s=ute(s),dte(s,e,a,i),H6(a,s),!1}a=a.return}while(a!==null);return!1}var BY=Error(Yt(461)),ui=!1;function Gi(e,r,a,i){r.child=e===null?Cee(r,null,a,i):bz(r,e.child,a,i)}function $J(e,r,a,i,s){a=a.render;var l=r.ref;if("ref"in i){var c={};for(var d in i)d!=="ref"&&(c[d]=i[d])}else c=i;if(_z(r),i=CY(e,r,a,c,l,s),d=IY(),e!==null&&!ui)return RY(e,r,s),VZ(e,r,s);return Ro&&d&&yY(r),r.flags|=1,Gi(e,r,i,s),r.child}function e$(e,r,a,i,s){if(e===null){var l=a.type;if(typeof l==="function"&&!vY(l)&&l.defaultProps===void 0&&a.compare===null)return r.tag=15,r.type=l,Zte(e,r,l,i,s);return e=g5(a.type,null,i,r,r.mode,s),e.ref=r.ref,e.return=r,r.child=e}if(l=e.child,!UY(e,s)){var c=l.memoizedProps;if(a=a.compare,a=a!==null?a:u2,a(c,i)&&e.ref===r.ref)return VZ(e,r,s)}return r.flags|=1,e=jZ(l,i),e.ref=r.ref,e.return=r,r.child=e}function Zte(e,r,a,i,s){if(e!==null){var l=e.memoizedProps;if(u2(l,i)&&e.ref===r.ref)if(ui=!1,r.pendingProps=i=l,UY(e,s))(e.flags&131072)!==0&&(ui=!0);else return r.lanes=e.lanes,VZ(e,r,s)}return BU(e,r,a,i,s)}function pte(e,r,a,i){var s=i.children,l=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(l=l!==null?l.baseLanes|a:a,e!==null){i=r.child=e.child;for(s=0;i!==null;)s=s|i.lanes|i.childLanes,i=i.sibling;i=s&~l}else i=0,r.child=null;return t$(e,r,l,a,i)}if((a&536870912)!==0)r.memoizedState={baseLanes:0,cachePool:null},e!==null&&M5(r,l!==null?l.cachePool:null),l!==null?YJ(r,l):AU(),Pee(r);else return i=r.lanes=536870912,t$(e,r,l!==null?l.baseLanes|a:a,a,i)}else l!==null?(M5(r,l.cachePool),YJ(r,l),BM(r),r.memoizedState=null):(e!==null&&M5(r,null),AU(),BM(r));return Gi(e,r,s,a),r.child}function WP(e,r){return e!==null&&e.tag===22||r.stateNode!==null||(r.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),r.sibling}function t$(e,r,a,i,s){var l=wY();return l=l===null?null:{parent:ci._currentValue,pool:l},r.memoizedState={baseLanes:a,cachePool:l},e!==null&&M5(r,null),AU(),Pee(r),e!==null&&qk(e,r,i,!0),r.childLanes=s,null}function y5(e,r){return r=Y5({mode:r.mode,children:r.children},e.mode),r.ref=e.ref,e.child=r,r.return=e,r}function r$(e,r,a){return bz(r,e.child,null,a),e=y5(r,r.pendingProps),e.flags|=2,zl(r),r.memoizedState=null,e}function L0e(e,r,a){var i=r.pendingProps,s=(r.flags&128)!==0;if(r.flags&=-129,e===null){if(Ro){if(i.mode==="hidden")return e=y5(r,i),r.lanes=536870912,WP(null,e);if(EU(r),(e=fn)?(e=fre(e,pc),e=e!==null&&e.data==="&"?e:null,e!==null&&(r.memoizedState={dehydrated:e,treeContext:t8!==null?{id:eZ,overflow:tZ}:null,retryLane:536870912,hydrationErrors:null},a=_ee(e),a.return=r,r.child=a,Qi=r,fn=null)):e=null,e===null)throw r8(r);return r.lanes=536870912,null}return y5(r,i)}var l=e.memoizedState;if(l!==null){var c=l.dehydrated;if(EU(r),s)if(r.flags&256)r.flags&=-257,r=r$(e,r,a);else if(r.memoizedState!==null)r.child=e.child,r.flags|=128,r=null;else throw Error(Yt(558));else if(ui||qk(e,r,a,!1),s=(a&e.childLanes)!==0,ui||s){if(i=Ya,i!==null&&(c=W$(i,a),c!==0&&c!==l.retryLane))throw l.retryLane=c,Cz(e,c),Ws(i,e,c),BY;W5(),r=r$(e,r,a)}else e=l.treeContext,fn=gc(c.nextSibling),Qi=r,Ro=!0,KM=null,pc=!1,e!==null&&wee(r,e),r=y5(r,i),r.flags|=4096;return r}return e=jZ(e.child,{mode:i.mode,children:i.children}),e.ref=r.ref,r.child=e,e.return=r,e}function _5(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(Yt(284));if(e===null||e.ref!==a)r.flags|=4194816}}function BU(e,r,a,i,s){if(_z(r),a=CY(e,r,a,i,void 0,s),i=IY(),e!==null&&!ui)return RY(e,r,s),VZ(e,r,s);return Ro&&i&&yY(r),r.flags|=1,Gi(e,r,a,s),r.child}function o$(e,r,a,i,s,l){if(_z(r),r.updateQueue=null,a=Aee(r,i,a,s),Tee(e),i=IY(),e!==null&&!ui)return RY(e,r,l),VZ(e,r,l);return Ro&&i&&yY(r),r.flags|=1,Gi(e,r,a,l),r.child}function a$(e,r,a,i,s){if(_z(r),r.stateNode===null){var l=yk,c=a.contextType;typeof c==="object"&&c!==null&&(l=$i(c)),l=new a(i,l),r.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,l.updater=FU,r.stateNode=l,l._reactInternals=r,l=r.stateNode,l.props=i,l.state=r.memoizedState,l.refs={},SY(r),c=a.contextType,l.context=typeof c==="object"&&c!==null?$i(c):yk,l.state=r.memoizedState,c=a.getDerivedStateFromProps,typeof c==="function"&&(W6(r,a,c,i),l.state=r.memoizedState),typeof a.getDerivedStateFromProps==="function"||typeof l.getSnapshotBeforeUpdate==="function"||typeof l.UNSAFE_componentWillMount!=="function"&&typeof l.componentWillMount!=="function"||(c=l.state,typeof l.componentWillMount==="function"&&l.componentWillMount(),typeof l.UNSAFE_componentWillMount==="function"&&l.UNSAFE_componentWillMount(),c!==l.state&&FU.enqueueReplaceState(l,l.state,null),t2(r,i,l,s),e2(),l.state=r.memoizedState),typeof l.componentDidMount==="function"&&(r.flags|=4194308),i=!0}else if(e===null){l=r.stateNode;var d=r.memoizedProps,h=zz(a,d);l.props=h;var g=l.context,x=a.contextType;c=yk,typeof x==="object"&&x!==null&&(c=$i(x));var v=a.getDerivedStateFromProps;x=typeof v==="function"||typeof l.getSnapshotBeforeUpdate==="function",d=r.pendingProps!==d,x||typeof l.UNSAFE_componentWillReceiveProps!=="function"&&typeof l.componentWillReceiveProps!=="function"||(d||g!==c)&&QJ(r,l,i,c),NM=!1;var b=r.memoizedState;l.state=b,t2(r,i,l,s),e2(),g=r.memoizedState,d||b!==g||NM?(typeof v==="function"&&(W6(r,a,v,i),g=r.memoizedState),(h=NM||XJ(r,a,h,i,b,g,c))?(x||typeof l.UNSAFE_componentWillMount!=="function"&&typeof l.componentWillMount!=="function"||(typeof l.componentWillMount==="function"&&l.componentWillMount(),typeof l.UNSAFE_componentWillMount==="function"&&l.UNSAFE_componentWillMount()),typeof l.componentDidMount==="function"&&(r.flags|=4194308)):(typeof l.componentDidMount==="function"&&(r.flags|=4194308),r.memoizedProps=i,r.memoizedState=g),l.props=i,l.state=g,l.context=c,i=h):(typeof l.componentDidMount==="function"&&(r.flags|=4194308),i=!1)}else{l=r.stateNode,PU(e,r),c=r.memoizedProps,x=zz(a,c),l.props=x,v=r.pendingProps,b=l.context,g=a.contextType,h=yk,typeof g==="object"&&g!==null&&(h=$i(g)),d=a.getDerivedStateFromProps,(g=typeof d==="function"||typeof l.getSnapshotBeforeUpdate==="function")||typeof l.UNSAFE_componentWillReceiveProps!=="function"&&typeof l.componentWillReceiveProps!=="function"||(c!==v||b!==h)&&QJ(r,l,i,h),NM=!1,b=r.memoizedState,l.state=b,t2(r,i,l,s),e2();var y=r.memoizedState;c!==v||b!==y||NM||e!==null&&e.dependencies!==null&&D5(e.dependencies)?(typeof d==="function"&&(W6(r,a,d,i),y=r.memoizedState),(x=NM||XJ(r,a,x,i,b,y,h)||e!==null&&e.dependencies!==null&&D5(e.dependencies))?(g||typeof l.UNSAFE_componentWillUpdate!=="function"&&typeof l.componentWillUpdate!=="function"||(typeof l.componentWillUpdate==="function"&&l.componentWillUpdate(i,y,h),typeof l.UNSAFE_componentWillUpdate==="function"&&l.UNSAFE_componentWillUpdate(i,y,h)),typeof l.componentDidUpdate==="function"&&(r.flags|=4),typeof l.getSnapshotBeforeUpdate==="function"&&(r.flags|=1024)):(typeof l.componentDidUpdate!=="function"||c===e.memoizedProps&&b===e.memoizedState||(r.flags|=4),typeof l.getSnapshotBeforeUpdate!=="function"||c===e.memoizedProps&&b===e.memoizedState||(r.flags|=1024),r.memoizedProps=i,r.memoizedState=y),l.props=i,l.state=y,l.context=h,i=x):(typeof l.componentDidUpdate!=="function"||c===e.memoizedProps&&b===e.memoizedState||(r.flags|=4),typeof l.getSnapshotBeforeUpdate!=="function"||c===e.memoizedProps&&b===e.memoizedState||(r.flags|=1024),i=!1)}return l=i,_5(e,r),i=(r.flags&128)!==0,l||i?(l=r.stateNode,a=i&&typeof a.getDerivedStateFromError!=="function"?null:l.render(),r.flags|=1,e!==null&&i?(r.child=bz(r,e.child,null,s),r.child=bz(r,null,a,s)):Gi(e,r,a,s),r.memoizedState=l.state,e=r.child):e=VZ(e,r,s),e}function n$(e,r,a,i){return yz(),r.flags|=256,Gi(e,r,a,i),r.child}var G6={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function K6(e){return{baseLanes:e,cachePool:See()}}function X6(e,r,a){return e=e!==null?e.childLanes&~a:0,r&&(e|=Ul),e}function mte(e,r,a){var i=r.pendingProps,s=!1,l=(r.flags&128)!==0,c;if((c=l)||(c=e!==null&&e.memoizedState===null?!1:(Wn.current&2)!==0),c&&(s=!0,r.flags&=-129),c=(r.flags&32)!==0,r.flags&=-33,e===null){if(Ro){if(s?jM(r):BM(r),(e=fn)?(e=fre(e,pc),e=e!==null&&e.data!=="&"?e:null,e!==null&&(r.memoizedState={dehydrated:e,treeContext:t8!==null?{id:eZ,overflow:tZ}:null,retryLane:536870912,hydrationErrors:null},a=_ee(e),a.return=r,r.child=a,Qi=r,fn=null)):e=null,e===null)throw r8(r);return oY(e)?r.lanes=32:r.lanes=536870912,null}var d=i.children;if(i=i.fallback,s)return BM(r),s=r.mode,d=Y5({mode:"hidden",children:d},s),i=mz(i,s,a,null),d.return=r,i.return=r,d.sibling=i,r.child=d,i=r.child,i.memoizedState=K6(a),i.childLanes=X6(e,c,a),r.memoizedState=G6,WP(null,i);return jM(r),UU(r,d)}var h=e.memoizedState;if(h!==null&&(d=h.dehydrated,d!==null)){if(l)r.flags&256?(jM(r),r.flags&=-257,r=Q6(e,r,a)):r.memoizedState!==null?(BM(r),r.child=e.child,r.flags|=128,r=null):(BM(r),d=i.fallback,s=r.mode,i=Y5({mode:"visible",children:i.children},s),d=mz(d,s,a,null),d.flags|=2,i.return=r,d.return=r,i.sibling=d,r.child=i,bz(r,e.child,null,a),i=r.child,i.memoizedState=K6(a),i.childLanes=X6(e,c,a),r.memoizedState=G6,r=WP(null,i));else if(jM(r),oY(d)){if(c=d.nextSibling&&d.nextSibling.dataset,c)var g=c.dgst;c=g,i=Error(Yt(419)),i.stack="",i.digest=c,Z2({value:i,source:null,stack:null}),r=Q6(e,r,a)}else if(ui||qk(e,r,a,!1),c=(a&e.childLanes)!==0,ui||c){if(c=Ya,c!==null&&(i=W$(c,a),i!==0&&i!==h.retryLane))throw h.retryLane=i,Cz(e,i),Ws(c,e,i),BY;rY(d)||W5(),r=Q6(e,r,a)}else rY(d)?(r.flags|=192,r.child=e.child,r=null):(e=h.treeContext,fn=gc(d.nextSibling),Qi=r,Ro=!0,KM=null,pc=!1,e!==null&&wee(r,e),r=UU(r,i.children),r.flags|=4096);return r}if(s)return BM(r),d=i.fallback,s=r.mode,h=e.child,g=h.sibling,i=jZ(h,{mode:"hidden",children:i.children}),i.subtreeFlags=h.subtreeFlags&65011712,g!==null?d=jZ(g,d):(d=mz(d,s,a,null),d.flags|=2),d.return=r,i.return=r,i.sibling=d,r.child=i,WP(null,i),i=r.child,d=e.child.memoizedState,d===null?d=K6(a):(s=d.cachePool,s!==null?(h=ci._currentValue,s=s.parent!==h?{parent:h,pool:h}:s):s=See(),d={baseLanes:d.baseLanes|a,cachePool:s}),i.memoizedState=d,i.childLanes=X6(e,c,a),r.memoizedState=G6,WP(e.child,i);return jM(r),a=e.child,e=a.sibling,a=jZ(a,{mode:"visible",children:i.children}),a.return=r,a.sibling=null,e!==null&&(c=r.deletions,c===null?(r.deletions=[e],r.flags|=16):c.push(e)),r.child=a,r.memoizedState=null,a}function UU(e,r){return r=Y5({mode:"visible",children:r},e.mode),r.return=e,e.child=r}function Y5(e,r){return e=jl(22,e,null,r),e.lanes=0,e}function Q6(e,r,a){return bz(r,e.child,null,a),e=UU(r,r.pendingProps.children),e.flags|=2,r.memoizedState=null,e}function i$(e,r,a){e.lanes|=r;var i=e.alternate;i!==null&&(i.lanes|=r),CU(e.return,r,a)}function J6(e,r,a,i,s,l){var c=e.memoizedState;c===null?e.memoizedState={isBackwards:r,rendering:null,renderingStartTime:0,last:i,tail:a,tailMode:s,treeForkCount:l}:(c.isBackwards=r,c.rendering=null,c.renderingStartTime=0,c.last=i,c.tail=a,c.tailMode=s,c.treeForkCount=l)}function hte(e,r,a){var i=r.pendingProps,s=i.revealOrder,l=i.tail;i=i.children;var c=Wn.current,d=(c&2)!==0;if(d?(c=c&1|2,r.flags|=128):c&=1,Ga(Wn,c),Gi(e,r,i,a),i=Ro?d2:0,!d&&e!==null&&(e.flags&128)!==0)e:for(e=r.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&i$(e,a,r);else if(e.tag===19)i$(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(s){case"forwards":a=r.child;for(s=null;a!==null;)e=a.alternate,e!==null&&F5(e)===null&&(s=a),a=a.sibling;a=s,a===null?(s=r.child,r.child=null):(s=a.sibling,a.sibling=null),J6(r,!1,s,a,l,i);break;case"backwards":case"unstable_legacy-backwards":a=null,s=r.child;for(r.child=null;s!==null;){if(e=s.alternate,e!==null&&F5(e)===null){r.child=s;break}e=s.sibling,s.sibling=a,a=s,s=e}J6(r,!0,a,null,l,i);break;case"together":J6(r,!1,null,null,void 0,i);break;default:r.memoizedState=null}return r.child}function VZ(e,r,a){if(e!==null&&(r.dependencies=e.dependencies),a8|=r.lanes,(a&r.childLanes)===0)if(e!==null){if(qk(e,r,a,!1),(a&r.childLanes)===0)return null}else return null;if(e!==null&&r.child!==e.child)throw Error(Yt(153));if(r.child!==null){e=r.child,a=jZ(e,e.pendingProps),r.child=a;for(a.return=r;e.sibling!==null;)e=e.sibling,a=a.sibling=jZ(e,e.pendingProps),a.return=r;a.sibling=null}return r.child}function UY(e,r){if((e.lanes&r)!==0)return!0;return e=e.dependencies,e!==null&&D5(e)?!0:!1}function k0e(e,r,a){switch(r.tag){case 3:C5(r,r.stateNode.containerInfo),FM(r,ci,e.memoizedState.cache),yz();break;case 27:case 5:hU(r);break;case 4:C5(r,r.stateNode.containerInfo);break;case 10:FM(r,r.type,r.memoizedProps.value);break;case 31:if(r.memoizedState!==null)return r.flags|=128,EU(r),null;break;case 13:var i=r.memoizedState;if(i!==null){if(i.dehydrated!==null)return jM(r),r.flags|=128,null;if((a&r.child.childLanes)!==0)return mte(e,r,a);return jM(r),e=VZ(e,r,a),e!==null?e.sibling:null}jM(r);break;case 19:var s=(e.flags&128)!==0;if(i=(a&r.childLanes)!==0,i||(qk(e,r,a,!1),i=(a&r.childLanes)!==0),s){if(i)return hte(e,r,a);r.flags|=128}if(s=r.memoizedState,s!==null&&(s.rendering=null,s.tail=null,s.lastEffect=null),Ga(Wn,Wn.current),i)break;else return null;case 22:return r.lanes=0,pte(e,r,a,r.pendingProps);case 24:FM(r,ci,e.memoizedState.cache)}return VZ(e,r,a)}function gte(e,r,a){if(e!==null)if(e.memoizedProps!==r.pendingProps)ui=!0;else{if(!UY(e,a)&&(r.flags&128)===0)return ui=!1,k0e(e,r,a);ui=(e.flags&131072)!==0?!0:!1}else ui=!1,Ro&&(r.flags&1048576)!==0&&bee(r,d2,r.index);switch(r.lanes=0,r.tag){case 16:e:{var i=r.pendingProps;if(e=dz(r.elementType),r.type=e,typeof e==="function")vY(e)?(i=zz(e,i),r.tag=1,r=a$(null,r,e,i,a)):(r.tag=0,r=BU(null,r,e,i,a));else{if(e!==void 0&&e!==null){var s=e.$$typeof;if(s===fY){r.tag=11,r=$J(null,r,e,i,a);break e}else if(s===sY){r.tag=14,r=e$(null,r,e,i,a);break e}}throw r=pU(e)||e,Error(Yt(306,r,""))}}return r;case 0:return BU(e,r,r.type,r.pendingProps,a);case 1:return i=r.type,s=zz(i,r.pendingProps),a$(e,r,i,s,a);case 3:e:{if(C5(r,r.stateNode.containerInfo),e===null)throw Error(Yt(387));i=r.pendingProps;var l=r.memoizedState;s=l.element,PU(e,r),t2(r,i,null,a);var c=r.memoizedState;if(i=c.cache,FM(r,ci,i),i!==l.cache&&IU(r,[ci],a,!0),e2(),i=c.element,l.isDehydrated)if(l={element:i,isDehydrated:!1,cache:c.cache},r.updateQueue.baseState=l,r.memoizedState=l,r.flags&256){r=n$(e,r,i,a);break e}else if(i!==s){s=dc(Error(Yt(424)),r),Z2(s),r=n$(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}fn=gc(e.firstChild),Qi=r,Ro=!0,KM=null,pc=!0,a=Cee(r,null,i,a);for(r.child=a;a;)a.flags=a.flags&-3|4096,a=a.sibling}else{if(yz(),i===s){r=VZ(e,r,a);break e}Gi(e,r,i,a)}r=r.child}return r;case 26:return _5(e,r),e===null?(a=S$(r.type,null,r.pendingProps,null))?r.memoizedState=a:Ro||(a=r.type,e=r.pendingProps,i=Q5(GM.current).createElement(a),i[Ki]=r,i[Ks]=e,ff(i,a,e),Ti(i),r.stateNode=i):r.memoizedState=S$(r.type,e.memoizedProps,r.pendingProps,e.memoizedState),null;case 27:return hU(r),e===null&&Ro&&(i=r.stateNode=sre(r.type,r.pendingProps,GM.current),Qi=r,pc=!0,s=fn,i8(r.type)?(aY=s,fn=gc(i.firstChild)):fn=s),Gi(e,r,r.pendingProps.children,a),_5(e,r),e===null&&(r.flags|=4194304),r.child;case 5:if(e===null&&Ro){if(s=i=fn)i=rze(i,r.type,r.pendingProps,pc),i!==null?(r.stateNode=i,Qi=r,fn=gc(i.firstChild),pc=!1,s=!0):s=!1;s||r8(r)}return hU(r),s=r.type,l=r.pendingProps,c=e!==null?e.memoizedProps:null,i=l.children,eY(s,l)?i=null:c!==null&&eY(s,c)&&(r.flags|=32),r.memoizedState!==null&&(s=CY(e,r,h0e,null,null,a),x2._currentValue=s),_5(e,r),Gi(e,r,i,a),r.child;case 6:if(e===null&&Ro){if(e=a=fn)a=oze(a,r.pendingProps,pc),a!==null?(r.stateNode=a,Qi=r,fn=null,e=!0):e=!1;e||r8(r)}return null;case 13:return mte(e,r,a);case 4:return C5(r,r.stateNode.containerInfo),i=r.pendingProps,e===null?r.child=bz(r,null,i,a):Gi(e,r,i,a),r.child;case 11:return $J(e,r,r.type,r.pendingProps,a);case 7:return Gi(e,r,r.pendingProps,a),r.child;case 8:return Gi(e,r,r.pendingProps.children,a),r.child;case 12:return Gi(e,r,r.pendingProps.children,a),r.child;case 10:return i=r.pendingProps,FM(r,r.type,i.value),Gi(e,r,i.children,a),r.child;case 9:return s=r.type._context,i=r.pendingProps.children,_z(r),s=$i(s),i=i(s),r.flags|=1,Gi(e,r,i,a),r.child;case 14:return e$(e,r,r.type,r.pendingProps,a);case 15:return Zte(e,r,r.type,r.pendingProps,a);case 19:return hte(e,r,a);case 31:return L0e(e,r,a);case 22:return pte(e,r,a,r.pendingProps);case 24:return _z(r),i=$i(ci),e===null?(s=wY(),s===null&&(s=Ya,l=bY(),s.pooledCache=l,l.refCount++,l!==null&&(s.pooledCacheLanes|=a),s=l),r.memoizedState={parent:i,cache:s},SY(r),FM(r,ci,s)):((e.lanes&a)!==0&&(PU(e,r),t2(r,null,null,a),e2()),s=e.memoizedState,l=r.memoizedState,s.parent!==i?(s={parent:i,cache:i},r.memoizedState=s,r.lanes===0&&(r.memoizedState=r.updateQueue.baseState=s),FM(r,ci,i)):(i=l.cache,FM(r,ci,i),i!==s.cache&&IU(r,[ci],a,!0))),Gi(e,r,r.pendingProps.children,a),r.child;case 29:throw r.pendingProps}throw Error(Yt(156,r.tag))}function RZ(e){e.flags|=4}function $6(e,r,a,i,s){if(r=(e.mode&32)!==0)r=!1;if(r){if(e.flags|=16777216,(s&335544128)===s)if(e.stateNode.complete)e.flags|=8192;else if(Bte())e.flags|=8192;else throw gz=O5,zY}else e.flags&=-16777217}function f$(e,r){if(r.type!=="stylesheet"||(r.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!ure(r))if(Bte())e.flags|=8192;else throw gz=O5,zY}function f5(e,r){r!==null&&(e.flags|=4),e.flags&16384&&(r=e.tag!==22?q$():536870912,e.lanes|=r,Nk|=r)}function FP(e,r){if(!Ro)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 tn(e){var r=e.alternate!==null&&e.alternate.child===e.child,a=0,i=0;if(r)for(var s=e.child;s!==null;)a|=s.lanes|s.childLanes,i|=s.subtreeFlags&65011712,i|=s.flags&65011712,s.return=e,s=s.sibling;else for(s=e.child;s!==null;)a|=s.lanes|s.childLanes,i|=s.subtreeFlags,i|=s.flags,s.return=e,s=s.sibling;return e.subtreeFlags|=i,e.childLanes=a,r}function C0e(e,r,a){var i=r.pendingProps;switch(_Y(r),r.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return tn(r),null;case 1:return tn(r),null;case 3:if(a=r.stateNode,i=null,e!==null&&(i=e.memoizedState.cache),r.memoizedState.cache!==i&&(r.flags|=2048),BZ(ci),Pk(),a.pendingContext&&(a.context=a.pendingContext,a.pendingContext=null),e===null||e.child===null)sk(r)?RZ(r):e===null||e.memoizedState.isDehydrated&&(r.flags&256)===0||(r.flags|=1024,q6());return tn(r),null;case 26:var{type:s,memoizedState:l}=r;return e===null?(RZ(r),l!==null?(tn(r),f$(r,l)):(tn(r),$6(r,s,null,i,a))):l?l!==e.memoizedState?(RZ(r),tn(r),f$(r,l)):(tn(r),r.flags&=-16777217):(e=e.memoizedProps,e!==i&&RZ(r),tn(r),$6(r,s,e,i,a)),null;case 27:if(I5(r),a=GM.current,s=r.type,e!==null&&r.stateNode!=null)e.memoizedProps!==i&&RZ(r);else{if(!i){if(r.stateNode===null)throw Error(Yt(166));return tn(r),null}e=oZ.current,sk(r)?DJ(r,e):(e=sre(s,i,a),r.stateNode=e,RZ(r))}return tn(r),null;case 5:if(I5(r),s=r.type,e!==null&&r.stateNode!=null)e.memoizedProps!==i&&RZ(r);else{if(!i){if(r.stateNode===null)throw Error(Yt(166));return tn(r),null}if(l=oZ.current,sk(r))DJ(r,l);else{var c=Q5(GM.current);switch(l){case 1:l=c.createElementNS("http://www.w3.org/2000/svg",s);break;case 2:l=c.createElementNS("http://www.w3.org/1998/Math/MathML",s);break;default:switch(s){case"svg":l=c.createElementNS("http://www.w3.org/2000/svg",s);break;case"math":l=c.createElementNS("http://www.w3.org/1998/Math/MathML",s);break;case"script":l=c.createElement("div"),l.innerHTML="<script></script>",l=l.removeChild(l.firstChild);break;case"select":l=typeof i.is==="string"?c.createElement("select",{is:i.is}):c.createElement("select"),i.multiple?l.multiple=!0:i.size&&(l.size=i.size);break;default:l=typeof i.is==="string"?c.createElement(s,{is:i.is}):c.createElement(s)}}l[Ki]=r,l[Ks]=i;e:for(c=r.child;c!==null;){if(c.tag===5||c.tag===6)l.appendChild(c.stateNode);else if(c.tag!==4&&c.tag!==27&&c.child!==null){c.child.return=c,c=c.child;continue}if(c===r)break e;for(;c.sibling===null;){if(c.return===null||c.return===r)break e;c=c.return}c.sibling.return=c.return,c=c.sibling}r.stateNode=l;e:switch(ff(l,s,i),s){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 tn(r),$6(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(Yt(166));if(e=GM.current,sk(r)){if(e=r.stateNode,a=r.memoizedProps,i=null,s=Qi,s!==null)switch(s.tag){case 27:case 5:i=s.memoizedProps}e[Ki]=r,e=e.nodeValue===a||i!==null&&i.suppressHydrationWarning===!0||are(e.nodeValue,a)?!0:!1,e||r8(r,!0)}else e=Q5(e).createTextNode(i),e[Ki]=r,r.stateNode=e}return tn(r),null;case 31:if(a=r.memoizedState,e===null||e.memoizedState!==null){if(i=sk(r),a!==null){if(e===null){if(!i)throw Error(Yt(318));if(e=r.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(Yt(557));e[Ki]=r}else yz(),(r.flags&128)===0&&(r.memoizedState=null),r.flags|=4;tn(r),e=!1}else a=q6(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=a),e=!0;if(!e){if(r.flags&256)return zl(r),r;return zl(r),null}if((r.flags&128)!==0)throw Error(Yt(558))}return tn(r),null;case 13:if(i=r.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(s=sk(r),i!==null&&i.dehydrated!==null){if(e===null){if(!s)throw Error(Yt(318));if(s=r.memoizedState,s=s!==null?s.dehydrated:null,!s)throw Error(Yt(317));s[Ki]=r}else yz(),(r.flags&128)===0&&(r.memoizedState=null),r.flags|=4;tn(r),s=!1}else s=q6(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=s),s=!0;if(!s){if(r.flags&256)return zl(r),r;return zl(r),null}}if(zl(r),(r.flags&128)!==0)return r.lanes=a,r;return a=i!==null,e=e!==null&&e.memoizedState!==null,a&&(i=r.child,s=null,i.alternate!==null&&i.alternate.memoizedState!==null&&i.alternate.memoizedState.cachePool!==null&&(s=i.alternate.memoizedState.cachePool.pool),l=null,i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(l=i.memoizedState.cachePool.pool),l!==s&&(i.flags|=2048)),a!==e&&a&&(r.child.flags|=8192),f5(r,r.updateQueue),tn(r),null;case 4:return Pk(),e===null&&rre(r.stateNode.containerInfo),tn(r),null;case 10:return BZ(r.type),tn(r),null;case 19:if(Di(Wn),i=r.memoizedState,i===null)return tn(r),null;if(s=(r.flags&128)!==0,l=i.rendering,l===null)if(s)FP(i,!1);else{if(Pn!==0||e!==null&&(e.flags&128)!==0)for(e=r.child;e!==null;){if(l=F5(e),l!==null){r.flags|=128,FP(i,!1),e=l.updateQueue,r.updateQueue=e,f5(r,e),r.subtreeFlags=0,e=a;for(a=r.child;a!==null;)yee(a,e),a=a.sibling;return Ga(Wn,Wn.current&1|2),Ro&&EZ(r,i.treeForkCount),r.child}e=e.sibling}i.tail!==null&&Yl()>H5&&(r.flags|=128,s=!0,FP(i,!1),r.lanes=4194304)}else{if(!s)if(e=F5(l),e!==null){if(r.flags|=128,s=!0,e=e.updateQueue,r.updateQueue=e,f5(r,e),FP(i,!0),i.tail===null&&i.tailMode==="hidden"&&!l.alternate&&!Ro)return tn(r),null}else 2*Yl()-i.renderingStartTime>H5&&a!==536870912&&(r.flags|=128,s=!0,FP(i,!1),r.lanes=4194304);i.isBackwards?(l.sibling=r.child,r.child=l):(e=i.last,e!==null?e.sibling=l:r.child=l,i.last=l)}if(i.tail!==null)return e=i.tail,i.rendering=e,i.tail=e.sibling,i.renderingStartTime=Yl(),e.sibling=null,a=Wn.current,Ga(Wn,s?a&1|2:a&1),Ro&&EZ(r,i.treeForkCount),e;return tn(r),null;case 22:case 23:return zl(r),LY(),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&&(tn(r),r.subtreeFlags&6&&(r.flags|=8192)):tn(r),a=r.updateQueue,a!==null&&f5(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&&Di(hz),null;case 24:return a=null,e!==null&&(a=e.memoizedState.cache),r.memoizedState.cache!==a&&(r.flags|=2048),BZ(ci),tn(r),null;case 25:return null;case 30:return null}throw Error(Yt(156,r.tag))}function I0e(e,r){switch(_Y(r),r.tag){case 1:return e=r.flags,e&65536?(r.flags=e&-65537|128,r):null;case 3:return BZ(ci),Pk(),e=r.flags,(e&65536)!==0&&(e&128)===0?(r.flags=e&-65537|128,r):null;case 26:case 27:case 5:return I5(r),null;case 31:if(r.memoizedState!==null){if(zl(r),r.alternate===null)throw Error(Yt(340));yz()}return e=r.flags,e&65536?(r.flags=e&-65537|128,r):null;case 13:if(zl(r),e=r.memoizedState,e!==null&&e.dehydrated!==null){if(r.alternate===null)throw Error(Yt(340));yz()}return e=r.flags,e&65536?(r.flags=e&-65537|128,r):null;case 19:return Di(Wn),null;case 4:return Pk(),null;case 10:return BZ(r.type),null;case 22:case 23:return zl(r),LY(),e!==null&&Di(hz),e=r.flags,e&65536?(r.flags=e&-65537|128,r):null;case 24:return BZ(ci),null;case 25:return null;default:return null}}function Mte(e,r){switch(_Y(r),r.tag){case 3:BZ(ci),Pk();break;case 26:case 27:case 5:I5(r);break;case 4:Pk();break;case 31:r.memoizedState!==null&&zl(r);break;case 13:zl(r);break;case 19:Di(Wn);break;case 10:BZ(r.type);break;case 22:case 23:zl(r),LY(),e!==null&&Di(hz);break;case 24:BZ(ci)}}function I2(e,r){try{var a=r.updateQueue,i=a!==null?a.lastEffect:null;if(i!==null){var s=i.next;a=s;do{if((a.tag&e)===e){i=void 0;var l=a.create,c=a.inst;i=l(),c.destroy=i}a=a.next}while(a!==s)}}catch(d){ma(r,r.return,d)}}function o8(e,r,a){try{var i=r.updateQueue,s=i!==null?i.lastEffect:null;if(s!==null){var l=s.next;i=l;do{if((i.tag&e)===e){var c=i.inst,d=c.destroy;if(d!==void 0){c.destroy=void 0,s=r;var h=a,g=d;try{g()}catch(x){ma(s,h,x)}}}i=i.next}while(i!==l)}}catch(x){ma(r,r.return,x)}}function xte(e){var r=e.updateQueue;if(r!==null){var a=e.stateNode;try{Ree(r,a)}catch(i){ma(e,e.return,i)}}}function vte(e,r,a){a.props=zz(e.type,e.memoizedProps),a.state=e.memoizedState;try{a.componentWillUnmount()}catch(i){ma(e,r,i)}}function o2(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(s){ma(e,r,s)}}function rZ(e,r){var a=e.ref,i=e.refCleanup;if(a!==null)if(typeof i==="function")try{i()}catch(s){ma(e,r,s)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof a==="function")try{a(null)}catch(s){ma(e,r,s)}else a.current=null}function yte(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(s){ma(e,e.return,s)}}function eU(e,r,a){try{var i=e.stateNode;X0e(i,e.type,a,r),i[Ks]=r}catch(s){ma(e,e.return,s)}}function _te(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&i8(e.type)||e.tag===4}function tU(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||_te(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&&i8(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 YU(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=NZ));else if(i!==4&&(i===27&&i8(e.type)&&(a=e.stateNode,r=null),e=e.child,e!==null))for(YU(e,r,a),e=e.sibling;e!==null;)YU(e,r,a),e=e.sibling}function q5(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&&i8(e.type)&&(a=e.stateNode),e=e.child,e!==null))for(q5(e,r,a),e=e.sibling;e!==null;)q5(e,r,a),e=e.sibling}function bte(e){var{stateNode:r,memoizedProps:a}=e;try{for(var i=e.type,s=r.attributes;s.length;)r.removeAttributeNode(s[0]);ff(r,i,a),r[Ki]=e,r[Ks]=a}catch(l){ma(e,e.return,l)}}var DZ=!1,li=!1,rU=!1,s$=typeof WeakSet==="function"?WeakSet:Set,Pi=null;function R0e(e,r){if(e=e.containerInfo,JU=t4,e=Zee(e),gY(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 s=i.anchorOffset,l=i.focusNode;i=i.focusOffset;try{a.nodeType,l.nodeType}catch(T){a=null;break e}var c=0,d=-1,h=-1,g=0,x=0,v=e,b=null;t:for(;;){for(var y;;){if(v!==a||s!==0&&v.nodeType!==3||(d=c+s),v!==l||i!==0&&v.nodeType!==3||(h=c+i),v.nodeType===3&&(c+=v.nodeValue.length),(y=v.firstChild)===null)break;b=v,v=y}for(;;){if(v===e)break t;if(b===a&&++g===s&&(d=c),b===l&&++x===i&&(h=c),(y=v.nextSibling)!==null)break;v=b,b=v.parentNode}v=y}a=d===-1||h===-1?null:{start:d,end:h}}else a=null}a=a||{start:0,end:0}}else a=null;$U={focusedElem:e,selectionRange:a},t4=!1;for(Pi=r;Pi!==null;)if(r=Pi,e=r.child,(r.subtreeFlags&1028)!==0&&e!==null)e.return=r,Pi=e;else for(;Pi!==null;){switch(r=Pi,l=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++)s=e[a],s.ref.impl=s.nextImpl;break;case 11:case 15:break;case 1:if((e&1024)!==0&&l!==null){e=void 0,a=r,s=l.memoizedProps,l=l.memoizedState,i=a.stateNode;try{var k=zz(a.type,s);e=i.getSnapshotBeforeUpdate(k,l),i.__reactInternalSnapshotBeforeUpdate=e}catch(T){ma(a,a.return,T)}}break;case 3:if((e&1024)!==0){if(e=r.stateNode.containerInfo,a=e.nodeType,a===9)tY(e);else if(a===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":tY(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(Yt(163))}if(e=r.sibling,e!==null){e.return=r.return,Pi=e;break}Pi=r.return}}function wte(e,r,a){var i=a.flags;switch(a.tag){case 0:case 11:case 15:TZ(e,a),i&4&&I2(5,a);break;case 1:if(TZ(e,a),i&4)if(e=a.stateNode,r===null)try{e.componentDidMount()}catch(c){ma(a,a.return,c)}else{var s=zz(a.type,r.memoizedProps);r=r.memoizedState;try{e.componentDidUpdate(s,r,e.__reactInternalSnapshotBeforeUpdate)}catch(c){ma(a,a.return,c)}}i&64&&xte(a),i&512&&o2(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{Ree(e,r)}catch(c){ma(a,a.return,c)}}break;case 27:r===null&&i&4&&bte(a);case 26:case 5:TZ(e,a),r===null&&i&4&&yte(a),i&512&&o2(a,a.return);break;case 12:TZ(e,a);break;case 31:TZ(e,a),i&4&&Lte(e,a);break;case 13:TZ(e,a),i&4&&kte(e,a),i&64&&(e=a.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(a=j0e.bind(null,a),aze(e,a))));break;case 22:if(i=a.memoizedState!==null||DZ,!i){r=r!==null&&r.memoizedState!==null||li,s=DZ;var l=li;DZ=i,(li=r)&&!l?AZ(e,a,(a.subtreeFlags&8772)!==0):TZ(e,a),DZ=s,li=l}break;case 30:break;default:TZ(e,a)}}function zte(e){var r=e.alternate;r!==null&&(e.alternate=null,zte(r)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(r=e.stateNode,r!==null&&uY(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 xn=null,Ns=!1;function PZ(e,r,a){for(a=a.child;a!==null;)Ste(e,r,a),a=a.sibling}function Ste(e,r,a){if(ql&&typeof ql.onCommitFiberUnmount==="function")try{ql.onCommitFiberUnmount(b2,a)}catch(l){}switch(a.tag){case 26:li||rZ(a,r),PZ(e,r,a),a.memoizedState?a.memoizedState.count--:a.stateNode&&(a=a.stateNode,a.parentNode.removeChild(a));break;case 27:li||rZ(a,r);var i=xn,s=Ns;i8(a.type)&&(xn=a.stateNode,Ns=!1),PZ(e,r,a),f2(a.stateNode),xn=i,Ns=s;break;case 5:li||rZ(a,r);case 6:if(i=xn,s=Ns,xn=null,PZ(e,r,a),xn=i,Ns=s,xn!==null)if(Ns)try{(xn.nodeType===9?xn.body:xn.nodeName==="HTML"?xn.ownerDocument.body:xn).removeChild(a.stateNode)}catch(l){ma(a,r,l)}else try{xn.removeChild(a.stateNode)}catch(l){ma(a,r,l)}break;case 18:xn!==null&&(Ns?(e=xn,y$(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,a.stateNode),Uk(e)):y$(xn,a.stateNode));break;case 4:i=xn,s=Ns,xn=a.stateNode.containerInfo,Ns=!0,PZ(e,r,a),xn=i,Ns=s;break;case 0:case 11:case 14:case 15:o8(2,a,r),li||o8(4,a,r),PZ(e,r,a);break;case 1:li||(rZ(a,r),i=a.stateNode,typeof i.componentWillUnmount==="function"&&vte(a,r,i)),PZ(e,r,a);break;case 21:PZ(e,r,a);break;case 22:li=(i=li)||a.memoizedState!==null,PZ(e,r,a),li=i;break;default:PZ(e,r,a)}}function Lte(e,r){if(r.memoizedState===null&&(e=r.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{Uk(e)}catch(a){ma(r,r.return,a)}}}function kte(e,r){if(r.memoizedState===null&&(e=r.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{Uk(e)}catch(a){ma(r,r.return,a)}}function P0e(e){switch(e.tag){case 31:case 13:case 19:var r=e.stateNode;return r===null&&(r=e.stateNode=new s$),r;case 22:return e=e.stateNode,r=e._retryCache,r===null&&(r=e._retryCache=new s$),r;default:throw Error(Yt(435,e.tag))}}function s5(e,r){var a=P0e(e);r.forEach(function(i){if(!a.has(i)){a.add(i);var s=B0e.bind(null,e,i);i.then(s,s)}})}function Ds(e,r){var a=r.deletions;if(a!==null)for(var i=0;i<a.length;i++){var s=a[i],l=e,c=r,d=c;e:for(;d!==null;){switch(d.tag){case 27:if(i8(d.type)){xn=d.stateNode,Ns=!1;break e}break;case 5:xn=d.stateNode,Ns=!1;break e;case 3:case 4:xn=d.stateNode.containerInfo,Ns=!0;break e}d=d.return}if(xn===null)throw Error(Yt(160));Ste(l,c,s),xn=null,Ns=!1,l=s.alternate,l!==null&&(l.return=null),s.return=null}if(r.subtreeFlags&13886)for(r=r.child;r!==null;)Cte(r,e),r=r.sibling}var lu=null;function Cte(e,r){var a=e.alternate,i=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:Ds(r,e),Os(e),i&4&&(o8(3,e,e.return),I2(3,e),o8(5,e,e.return));break;case 1:Ds(r,e),Os(e),i&512&&(li||a===null||rZ(a,a.return)),i&64&&DZ&&(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 s=lu;if(Ds(r,e),Os(e),i&512&&(li||a===null||rZ(a,a.return)),i&4){var l=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,s=s.ownerDocument||s;t:switch(i){case"title":if(l=s.getElementsByTagName("title")[0],!l||l[S2]||l[Ki]||l.namespaceURI==="http://www.w3.org/2000/svg"||l.hasAttribute("itemprop"))l=s.createElement(i),s.head.insertBefore(l,s.querySelector("head > title"));ff(l,i,a),l[Ki]=e,Ti(l),i=l;break e;case"link":var c=k$("link","href",s).get(i+(a.href||""));if(c){for(var d=0;d<c.length;d++)if(l=c[d],l.getAttribute("href")===(a.href==null||a.href===""?null:a.href)&&l.getAttribute("rel")===(a.rel==null?null:a.rel)&&l.getAttribute("title")===(a.title==null?null:a.title)&&l.getAttribute("crossorigin")===(a.crossOrigin==null?null:a.crossOrigin)){c.splice(d,1);break t}}l=s.createElement(i),ff(l,i,a),s.head.appendChild(l);break;case"meta":if(c=k$("meta","content",s).get(i+(a.content||""))){for(d=0;d<c.length;d++)if(l=c[d],l.getAttribute("content")===(a.content==null?null:""+a.content)&&l.getAttribute("name")===(a.name==null?null:a.name)&&l.getAttribute("property")===(a.property==null?null:a.property)&&l.getAttribute("http-equiv")===(a.httpEquiv==null?null:a.httpEquiv)&&l.getAttribute("charset")===(a.charSet==null?null:a.charSet)){c.splice(d,1);break t}}l=s.createElement(i),ff(l,i,a),s.head.appendChild(l);break;default:throw Error(Yt(468,i))}l[Ki]=e,Ti(l),i=l}e.stateNode=i}else C$(s,e.type,e.stateNode);else e.stateNode=L$(s,i,e.memoizedProps);else l!==i?(l===null?a.stateNode!==null&&(a=a.stateNode,a.parentNode.removeChild(a)):l.count--,i===null?C$(s,e.type,e.stateNode):L$(s,i,e.memoizedProps)):i===null&&e.stateNode!==null&&eU(e,e.memoizedProps,a.memoizedProps)}break;case 27:Ds(r,e),Os(e),i&512&&(li||a===null||rZ(a,a.return)),a!==null&&i&4&&eU(e,e.memoizedProps,a.memoizedProps);break;case 5:if(Ds(r,e),Os(e),i&512&&(li||a===null||rZ(a,a.return)),e.flags&32){s=e.stateNode;try{Ak(s,"")}catch(k){ma(e,e.return,k)}}i&4&&e.stateNode!=null&&(s=e.memoizedProps,eU(e,s,a!==null?a.memoizedProps:s)),i&1024&&(rU=!0);break;case 6:if(Ds(r,e),Os(e),i&4){if(e.stateNode===null)throw Error(Yt(162));i=e.memoizedProps,a=e.stateNode;try{a.nodeValue=i}catch(k){ma(e,e.return,k)}}break;case 3:if(z5=null,s=lu,lu=J5(r.containerInfo),Ds(r,e),lu=s,Os(e),i&4&&a!==null&&a.memoizedState.isDehydrated)try{Uk(r.containerInfo)}catch(k){ma(e,e.return,k)}rU&&(rU=!1,Ite(e));break;case 4:i=lu,lu=J5(e.stateNode.containerInfo),Ds(r,e),Os(e),lu=i;break;case 12:Ds(r,e),Os(e);break;case 31:Ds(r,e),Os(e),i&4&&(i=e.updateQueue,i!==null&&(e.updateQueue=null,s5(e,i)));break;case 13:Ds(r,e),Os(e),e.child.flags&8192&&e.memoizedState!==null!==(a!==null&&a.memoizedState!==null)&&(m4=Yl()),i&4&&(i=e.updateQueue,i!==null&&(e.updateQueue=null,s5(e,i)));break;case 22:s=e.memoizedState!==null;var h=a!==null&&a.memoizedState!==null,g=DZ,x=li;if(DZ=g||s,li=x||h,Ds(r,e),li=x,DZ=g,Os(e),i&8192)e:for(r=e.stateNode,r._visibility=s?r._visibility&-2:r._visibility|1,s&&(a===null||h||DZ||li||Zz(e)),a=null,r=e;;){if(r.tag===5||r.tag===26){if(a===null){h=a=r;try{if(l=h.stateNode,s)c=l.style,typeof c.setProperty==="function"?c.setProperty("display","none","important"):c.display="none";else{d=h.stateNode;var v=h.memoizedProps.style,b=v!==void 0&&v!==null&&v.hasOwnProperty("display")?v.display:null;d.style.display=b==null||typeof b==="boolean"?"":(""+b).trim()}}catch(k){ma(h,h.return,k)}}}else if(r.tag===6){if(a===null){h=r;try{h.stateNode.nodeValue=s?"":h.memoizedProps}catch(k){ma(h,h.return,k)}}}else if(r.tag===18){if(a===null){h=r;try{var y=h.stateNode;s?_$(y,!0):_$(h.stateNode,!1)}catch(k){ma(h,h.return,k)}}}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,s5(e,a))));break;case 19:Ds(r,e),Os(e),i&4&&(i=e.updateQueue,i!==null&&(e.updateQueue=null,s5(e,i)));break;case 30:break;case 21:break;default:Ds(r,e),Os(e)}}function Os(e){var r=e.flags;if(r&2){try{for(var a,i=e.return;i!==null;){if(_te(i)){a=i;break}i=i.return}if(a==null)throw Error(Yt(160));switch(a.tag){case 27:var s=a.stateNode,l=tU(e);q5(e,l,s);break;case 5:var c=a.stateNode;a.flags&32&&(Ak(c,""),a.flags&=-33);var d=tU(e);q5(e,d,c);break;case 3:case 4:var h=a.stateNode.containerInfo,g=tU(e);YU(e,g,h);break;default:throw Error(Yt(161))}}catch(x){ma(e,e.return,x)}e.flags&=-3}r&4096&&(e.flags&=-4097)}function Ite(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var r=e;Ite(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;)wte(e,r.alternate,r),r=r.sibling}function Zz(e){for(e=e.child;e!==null;){var r=e;switch(r.tag){case 0:case 11:case 14:case 15:o8(4,r,r.return),Zz(r);break;case 1:rZ(r,r.return);var a=r.stateNode;typeof a.componentWillUnmount==="function"&&vte(r,r.return,a),Zz(r);break;case 27:f2(r.stateNode);case 26:case 5:rZ(r,r.return),Zz(r);break;case 22:r.memoizedState===null&&Zz(r);break;case 30:Zz(r);break;default:Zz(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,s=e,l=r,c=l.flags;switch(l.tag){case 0:case 11:case 15:AZ(s,l,a),I2(4,l);break;case 1:if(AZ(s,l,a),i=l,s=i.stateNode,typeof s.componentDidMount==="function")try{s.componentDidMount()}catch(g){ma(i,i.return,g)}if(i=l,s=i.updateQueue,s!==null){var d=i.stateNode;try{var h=s.shared.hiddenCallbacks;if(h!==null)for(s.shared.hiddenCallbacks=null,s=0;s<h.length;s++)Iee(h[s],d)}catch(g){ma(i,i.return,g)}}a&&c&64&&xte(l),o2(l,l.return);break;case 27:bte(l);case 26:case 5:AZ(s,l,a),a&&i===null&&c&4&&yte(l),o2(l,l.return);break;case 12:AZ(s,l,a);break;case 31:AZ(s,l,a),a&&c&4&&Lte(s,l);break;case 13:AZ(s,l,a),a&&c&4&&kte(s,l);break;case 22:l.memoizedState===null&&AZ(s,l,a),o2(l,l.return);break;case 30:break;default:AZ(s,l,a)}r=r.sibling}}function YY(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&&k2(a))}function qY(e,r){e=null,r.alternate!==null&&(e=r.alternate.memoizedState.cache),r=r.memoizedState.cache,r!==e&&(r.refCount++,e!=null&&k2(e))}function fu(e,r,a,i){if(r.subtreeFlags&10256)for(r=r.child;r!==null;)Rte(e,r,a,i),r=r.sibling}function Rte(e,r,a,i){var s=r.flags;switch(r.tag){case 0:case 11:case 15:fu(e,r,a,i),s&2048&&I2(9,r);break;case 1:fu(e,r,a,i);break;case 3:fu(e,r,a,i),s&2048&&(e=null,r.alternate!==null&&(e=r.alternate.memoizedState.cache),r=r.memoizedState.cache,r!==e&&(r.refCount++,e!=null&&k2(e)));break;case 12:if(s&2048){fu(e,r,a,i),e=r.stateNode;try{var l=r.memoizedProps,c=l.id,d=l.onPostCommit;typeof d==="function"&&d(c,r.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(h){ma(r,r.return,h)}}else fu(e,r,a,i);break;case 31:fu(e,r,a,i);break;case 13:fu(e,r,a,i);break;case 23:break;case 22:l=r.stateNode,c=r.alternate,r.memoizedState!==null?l._visibility&2?fu(e,r,a,i):a2(e,r):l._visibility&2?fu(e,r,a,i):(l._visibility|=2,ck(e,r,a,i,(r.subtreeFlags&10256)!==0||!1)),s&2048&&YY(c,r);break;case 24:fu(e,r,a,i),s&2048&&qY(r.alternate,r);break;default:fu(e,r,a,i)}}function ck(e,r,a,i,s){s=s&&((r.subtreeFlags&10256)!==0||!1);for(r=r.child;r!==null;){var l=e,c=r,d=a,h=i,g=c.flags;switch(c.tag){case 0:case 11:case 15:ck(l,c,d,h,s),I2(8,c);break;case 23:break;case 22:var x=c.stateNode;c.memoizedState!==null?x._visibility&2?ck(l,c,d,h,s):a2(l,c):(x._visibility|=2,ck(l,c,d,h,s)),s&&g&2048&&YY(c.alternate,c);break;case 24:ck(l,c,d,h,s),s&&g&2048&&qY(c.alternate,c);break;default:ck(l,c,d,h,s)}r=r.sibling}}function a2(e,r){if(r.subtreeFlags&10256)for(r=r.child;r!==null;){var a=e,i=r,s=i.flags;switch(i.tag){case 22:a2(a,i),s&2048&&YY(i.alternate,i);break;case 24:a2(a,i),s&2048&&qY(i.alternate,i);break;default:a2(a,i)}r=r.sibling}}var GP=8192;function lk(e,r,a){if(e.subtreeFlags&GP)for(e=e.child;e!==null;)Pte(e,r,a),e=e.sibling}function Pte(e,r,a){switch(e.tag){case 26:lk(e,r,a),e.flags&GP&&e.memoizedState!==null&&hze(a,lu,e.memoizedState,e.memoizedProps);break;case 5:lk(e,r,a);break;case 3:case 4:var i=lu;lu=J5(e.stateNode.containerInfo),lk(e,r,a),lu=i;break;case 22:e.memoizedState===null&&(i=e.alternate,i!==null&&i.memoizedState!==null?(i=GP,GP=16777216,lk(e,r,a),GP=i):lk(e,r,a));break;default:lk(e,r,a)}}function Tte(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 jP(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];Pi=i,Ete(i,e)}Tte(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Ate(e),e=e.sibling}function Ate(e){switch(e.tag){case 0:case 11:case 15:jP(e),e.flags&2048&&o8(9,e,e.return);break;case 3:jP(e);break;case 12:jP(e);break;case 22:var r=e.stateNode;e.memoizedState!==null&&r._visibility&2&&(e.return===null||e.return.tag!==13)?(r._visibility&=-3,b5(e)):jP(e);break;default:jP(e)}}function b5(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];Pi=i,Ete(i,e)}Tte(e)}for(e=e.child;e!==null;){switch(r=e,r.tag){case 0:case 11:case 15:o8(8,r,r.return),b5(r);break;case 22:a=r.stateNode,a._visibility&2&&(a._visibility&=-3,b5(r));break;default:b5(r)}e=e.sibling}}function Ete(e,r){for(;Pi!==null;){var a=Pi;switch(a.tag){case 0:case 11:case 15:o8(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:k2(a.memoizedState.cache)}if(i=a.child,i!==null)i.return=a,Pi=i;else e:for(a=e;Pi!==null;){i=Pi;var s=i.sibling,l=i.return;if(zte(i),i===a){Pi=null;break e}if(s!==null){s.return=l,Pi=s;break e}Pi=l}}}var T0e={getCacheForType:function(e){var r=$i(ci),a=r.data.get(e);return a===void 0&&(a=e(),r.data.set(e,a)),a},cacheSignal:function(){return $i(ci).controller.signal}},A0e=typeof WeakMap==="function"?WeakMap:Map,Uo=0,Ya=null,bo=null,ko=0,pa=0,dl=null,HM=!1,Vk=!1,HY=!1,WZ=0,Pn=0,a8=0,vz=0,VY=0,Ul=0,Nk=0,n2=null,Ys=null,qU=!1,m4=0,Dte=0,H5=1/0,V5=null,XM=null,zi=0,QM=null,Fk=null,UZ=0,HU=0,VU=null,Ote=null,i2=0,WU=null;function hc(){return(Uo&2)!==0&&ko!==0?ko&-ko:qr.T!==null?GY():K$()}function Nte(){if(Ul===0)if((ko&536870912)===0||Ro){var e=e5;e5<<=1,(e5&3932160)===0&&(e5=262144),Ul=e}else Ul=536870912;return e=Wl.current,e!==null&&(e.flags|=32),Ul}function Ws(e,r,a){if(e===Ya&&(pa===2||pa===9)||e.cancelPendingCommit!==null)jk(e,0),VM(e,ko,Ul,!1);if(a4(e,a),(Uo&2)===0||e!==Ya)e===Ya&&((Uo&2)===0&&(vz|=a),Pn===4&&VM(e,ko,Ul,!1)),GZ(e)}function Fte(e,r,a){if((Uo&6)!==0)throw Error(Yt(327));var i=!a&&(r&127)===0&&(r&e.expiredLanes)===0||w2(e,r),s=i?O0e(e,r):oU(e,r,!0),l=i;do{if(s===0){Vk&&!i&&VM(e,r,0,!1);break}else{if(a=e.current.alternate,l&&!E0e(a)){s=oU(e,r,!1),l=!1;continue}if(s===2){if(l=r,e.errorRecoveryDisabledLanes&l)var c=0;else c=e.pendingLanes&-536870913,c=c!==0?c:c&536870912?536870912:0;if(c!==0){r=c;e:{var d=e;s=n2;var h=d.current.memoizedState.isDehydrated;if(h&&(jk(d,c).flags|=256),c=oU(d,c,!1),c!==2){if(HY&&!h){d.errorRecoveryDisabledLanes|=l,vz|=l,s=4;break e}l=Ys,Ys=s,l!==null&&(Ys===null?Ys=l:Ys.push.apply(Ys,l))}s=c}if(l=!1,s!==2)continue}}if(s===1){jk(e,0),VM(e,r,0,!0);break}e:{switch(i=e,l=s,l){case 0:case 1:throw Error(Yt(345));case 4:if((r&4194048)!==r)break;case 6:VM(i,r,Ul,!HM);break e;case 2:Ys=null;break;case 3:case 5:break;default:throw Error(Yt(329))}if((r&62914560)===r&&(s=m4+300-Yl(),10<s)){if(VM(i,r,Ul,!HM),o4(i,0,!0)!==0)break e;UZ=r,i.timeoutHandle=ire(l$.bind(null,i,a,Ys,V5,qU,r,Ul,vz,Nk,HM,l,"Throttled",-0,0),s);break e}l$(i,a,Ys,V5,qU,r,Ul,vz,Nk,HM,l,null,-0,0)}}break}while(1);GZ(e)}function l$(e,r,a,i,s,l,c,d,h,g,x,v,b,y){if(e.timeoutHandle=-1,v=r.subtreeFlags,v&8192||(v&16785408)===16785408){v={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:NZ},Pte(r,l,v);var k=(l&62914560)===l?m4-Yl():(l&4194048)===l?Dte-Yl():0;if(k=gze(v,k),k!==null){UZ=l,e.cancelPendingCommit=k(u$.bind(null,e,r,l,a,i,s,c,d,h,x,v,null,b,y)),VM(e,l,c,!g);return}}u$(e,r,l,a,i,s,c,d,h)}function E0e(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 s=a[i],l=s.getSnapshot;s=s.value;try{if(!Vl(l(),s))return!1}catch(c){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 VM(e,r,a,i){r&=~VY,r&=~vz,e.suspendedLanes|=r,e.pingedLanes&=~r,i&&(e.warmLanes|=r),i=e.expirationTimes;for(var s=r;0<s;){var l=31-Hl(s),c=1<<l;i[l]=-1,s&=~c}a!==0&&H$(e,a,r)}function h4(){return(Uo&6)===0?(R2(0,!1),!1):!0}function WY(){if(bo!==null){if(pa===0)var e=bo.return;else e=bo,FZ=Iz=null,PY(e),Ck=null,p2=0,e=bo;for(;e!==null;)Mte(e.alternate,e),e=e.return;bo=null}}function jk(e,r){var a=e.timeoutHandle;a!==-1&&(e.timeoutHandle=-1,$0e(a)),a=e.cancelPendingCommit,a!==null&&(e.cancelPendingCommit=null,a()),UZ=0,WY(),Ya=e,bo=a=jZ(e.current,null),ko=r,pa=0,dl=null,HM=!1,Vk=w2(e,r),HY=!1,Nk=Ul=VY=vz=a8=Pn=0,Ys=n2=null,qU=!1,(r&8)!==0&&(r|=r&32);var i=e.entangledLanes;if(i!==0)for(e=e.entanglements,i&=r;0<i;){var s=31-Hl(i),l=1<<s;r|=e[s],i&=~l}return WZ=r,s4(),a}function jte(e,r){uo=null,qr.H=h2,r===Hk||r===c4?(r=BJ(),pa=3):r===zY?(r=BJ(),pa=4):pa=r===BY?8:r!==null&&typeof r==="object"&&typeof r.then==="function"?6:1,dl=r,bo===null&&(Pn=1,U5(e,dc(r,e.current)))}function Bte(){var e=Wl.current;return e===null?!0:(ko&4194048)===ko?mc===null?!0:!1:(ko&62914560)===ko||(ko&536870912)!==0?e===mc:!1}function Ute(){var e=qr.H;return qr.H=h2,e===null?h2:e}function Yte(){var e=qr.A;return qr.A=T0e,e}function W5(){Pn=4,HM||(ko&4194048)!==ko&&Wl.current!==null||(Vk=!0),(a8&134217727)===0&&(vz&134217727)===0||Ya===null||VM(Ya,ko,Ul,!1)}function oU(e,r,a){var i=Uo;Uo|=2;var s=Ute(),l=Yte();if(Ya!==e||ko!==r)V5=null,jk(e,r);r=!1;var c=Pn;e:do try{if(pa!==0&&bo!==null){var d=bo,h=dl;switch(pa){case 8:WY(),c=6;break e;case 3:case 2:case 9:case 6:Wl.current===null&&(r=!0);var g=pa;if(pa=0,dl=null,wk(e,d,h,g),a&&Vk){c=0;break e}break;default:g=pa,pa=0,dl=null,wk(e,d,h,g)}}D0e(),c=Pn;break}catch(x){jte(e,x)}while(1);return r&&e.shellSuspendCounter++,FZ=Iz=null,Uo=i,qr.H=s,qr.A=l,bo===null&&(Ya=null,ko=0,s4()),c}function D0e(){for(;bo!==null;)qte(bo)}function O0e(e,r){var a=Uo;Uo|=2;var i=Ute(),s=Yte();Ya!==e||ko!==r?(V5=null,H5=Yl()+500,jk(e,r)):Vk=w2(e,r);e:do try{if(pa!==0&&bo!==null){r=bo;var l=dl;t:switch(pa){case 1:pa=0,dl=null,wk(e,r,l,1);break;case 2:case 9:if(jJ(l)){pa=0,dl=null,c$(r);break}r=function(){pa!==2&&pa!==9||Ya!==e||(pa=7),GZ(e)},l.then(r,r);break e;case 3:pa=7;break e;case 4:pa=5;break e;case 7:jJ(l)?(pa=0,dl=null,c$(r)):(pa=0,dl=null,wk(e,r,l,7));break;case 5:var c=null;switch(bo.tag){case 26:c=bo.memoizedState;case 5:case 27:var d=bo;if(c?ure(c):d.stateNode.complete){pa=0,dl=null;var h=d.sibling;if(h!==null)bo=h;else{var g=d.return;g!==null?(bo=g,g4(g)):bo=null}break t}}pa=0,dl=null,wk(e,r,l,5);break;case 6:pa=0,dl=null,wk(e,r,l,6);break;case 8:WY(),Pn=6;break e;default:throw Error(Yt(462))}}N0e();break}catch(x){jte(e,x)}while(1);if(FZ=Iz=null,qr.H=i,qr.A=s,Uo=a,bo!==null)return 0;return Ya=null,ko=0,s4(),Pn}function N0e(){for(;bo!==null&&!awe();)qte(bo)}function qte(e){var r=gte(e.alternate,e,WZ);e.memoizedProps=e.pendingProps,r===null?g4(e):bo=r}function c$(e){var r=e,a=r.alternate;switch(r.tag){case 15:case 0:r=o$(a,r,r.pendingProps,r.type,void 0,ko);break;case 11:r=o$(a,r,r.pendingProps,r.type.render,r.ref,ko);break;case 5:PY(r);default:Mte(a,r),r=bo=yee(r,WZ),r=gte(a,r,WZ)}e.memoizedProps=e.pendingProps,r===null?g4(e):bo=r}function wk(e,r,a,i){FZ=Iz=null,PY(r),Ck=null,p2=0;var s=r.return;try{if(S0e(e,s,r,a,ko)){Pn=1,U5(e,dc(a,e.current)),bo=null;return}}catch(l){if(s!==null)throw bo=s,l;Pn=1,U5(e,dc(a,e.current)),bo=null;return}if(r.flags&32768){if(Ro||i===1)e=!0;else if(Vk||(ko&536870912)!==0)e=!1;else if(HM=e=!0,i===2||i===9||i===3||i===6)i=Wl.current,i!==null&&i.tag===13&&(i.flags|=16384);Hte(r,e)}else g4(r)}function g4(e){var r=e;do{if((r.flags&32768)!==0){Hte(r,HM);return}e=r.return;var a=C0e(r.alternate,r,WZ);if(a!==null){bo=a;return}if(r=r.sibling,r!==null){bo=r;return}bo=r=e}while(r!==null);Pn===0&&(Pn=5)}function Hte(e,r){do{var a=I0e(e.alternate,e);if(a!==null){a.flags&=32767,bo=a;return}if(a=e.return,a!==null&&(a.flags|=32768,a.subtreeFlags=0,a.deletions=null),!r&&(e=e.sibling,e!==null)){bo=e;return}bo=e=a}while(e!==null);Pn=6,bo=null}function u$(e,r,a,i,s,l,c,d,h){e.cancelPendingCommit=null;do M4();while(zi!==0);if((Uo&6)!==0)throw Error(Yt(327));if(r!==null){if(r===e.current)throw Error(Yt(177));if(l=r.lanes|r.childLanes,l|=MY,pwe(e,a,l,c,d,h),e===Ya&&(bo=Ya=null,ko=0),Fk=r,QM=e,UZ=a,HU=l,VU=s,Ote=i,(r.subtreeFlags&10256)!==0||(r.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,U0e(R5,function(){return Xte(),null})):(e.callbackNode=null,e.callbackPriority=0),i=(r.flags&13878)!==0,(r.subtreeFlags&13878)!==0||i){i=qr.T,qr.T=null,s=qo.p,qo.p=2,c=Uo,Uo|=4;try{R0e(e,r,a)}finally{Uo=c,qo.p=s,qr.T=i}}zi=1,Vte(),Wte(),Gte()}}function Vte(){if(zi===1){zi=0;var e=QM,r=Fk,a=(r.flags&13878)!==0;if((r.subtreeFlags&13878)!==0||a){a=qr.T,qr.T=null;var i=qo.p;qo.p=2;var s=Uo;Uo|=4;try{Cte(r,e);var l=$U,c=Zee(e.containerInfo),{focusedElem:d,selectionRange:h}=l;if(c!==d&&d&&d.ownerDocument&&dee(d.ownerDocument.documentElement,d)){if(h!==null&&gY(d)){var{start:g,end:x}=h;if(x===void 0&&(x=g),"selectionStart"in d)d.selectionStart=g,d.selectionEnd=Math.min(x,d.value.length);else{var v=d.ownerDocument||document,b=v&&v.defaultView||window;if(b.getSelection){var y=b.getSelection(),k=d.textContent.length,T=Math.min(h.start,k),U=h.end===void 0?T:Math.min(h.end,k);!y.extend&&T>U&&(c=U,U=T,T=c);var N=TJ(d,T),j=TJ(d,U);if(N&&j&&(y.rangeCount!==1||y.anchorNode!==N.node||y.anchorOffset!==N.offset||y.focusNode!==j.node||y.focusOffset!==j.offset)){var G=v.createRange();G.setStart(N.node,N.offset),y.removeAllRanges(),T>U?(y.addRange(G),y.extend(j.node,j.offset)):(G.setEnd(j.node,j.offset),y.addRange(G))}}}}v=[];for(y=d;y=y.parentNode;)y.nodeType===1&&v.push({element:y,left:y.scrollLeft,top:y.scrollTop});typeof d.focus==="function"&&d.focus();for(d=0;d<v.length;d++){var X=v[d];X.element.scrollLeft=X.left,X.element.scrollTop=X.top}}t4=!!JU,$U=JU=null}finally{Uo=s,qo.p=i,qr.T=a}}e.current=r,zi=2}}function Wte(){if(zi===2){zi=0;var e=QM,r=Fk,a=(r.flags&8772)!==0;if((r.subtreeFlags&8772)!==0||a){a=qr.T,qr.T=null;var i=qo.p;qo.p=2;var s=Uo;Uo|=4;try{wte(e,r.alternate,r)}finally{Uo=s,qo.p=i,qr.T=a}}zi=3}}function Gte(){if(zi===4||zi===3){zi=0,nwe();var e=QM,r=Fk,a=UZ,i=Ote;(r.subtreeFlags&10256)!==0||(r.flags&10256)!==0?zi=5:(zi=0,Fk=QM=null,Kte(e,e.pendingLanes));var s=e.pendingLanes;if(s===0&&(XM=null),cY(a),r=r.stateNode,ql&&typeof ql.onCommitFiberRoot==="function")try{ql.onCommitFiberRoot(b2,r,void 0,(r.current.flags&128)===128)}catch(h){}if(i!==null){r=qr.T,s=qo.p,qo.p=2,qr.T=null;try{for(var l=e.onRecoverableError,c=0;c<i.length;c++){var d=i[c];l(d.value,{componentStack:d.stack})}}finally{qr.T=r,qo.p=s}}(UZ&3)!==0&&M4(),GZ(e),s=e.pendingLanes,(a&261930)!==0&&(s&42)!==0?e===WU?i2++:(i2=0,WU=e):i2=0,R2(0,!1)}}function Kte(e,r){(e.pooledCacheLanes&=r)===0&&(r=e.pooledCache,r!=null&&(e.pooledCache=null,k2(r)))}function M4(){return Vte(),Wte(),Gte(),Xte()}function Xte(){if(zi!==5)return!1;var e=QM,r=HU;HU=0;var a=cY(UZ),i=qr.T,s=qo.p;try{qo.p=32>a?32:a,qr.T=null,a=VU,VU=null;var l=QM,c=UZ;if(zi=0,Fk=QM=null,UZ=0,(Uo&6)!==0)throw Error(Yt(331));var d=Uo;if(Uo|=4,Ate(l.current),Rte(l,l.current,c,a),Uo=d,R2(0,!1),ql&&typeof ql.onPostCommitFiberRoot==="function")try{ql.onPostCommitFiberRoot(b2,l)}catch(h){}return!0}finally{qo.p=s,qr.T=i,Kte(e,r)}}function d$(e,r,a){r=dc(a,r),r=jU(e.stateNode,r,2),e=xz(e,r,2),e!==null&&(a4(e,2),GZ(e))}function ma(e,r,a){if(e.tag===3)d$(e,e,a);else for(;r!==null;){if(r.tag===3){d$(r,e,a);break}else if(r.tag===1){var i=r.stateNode;if(typeof r.type.getDerivedStateFromError==="function"||typeof i.componentDidCatch==="function"&&(XM===null||!XM.has(i))){e=dc(a,e),a=ute(2),i=xz(r,a,2),i!==null&&(dte(a,i,r,e),a4(i,2),GZ(i));break}}r=r.return}}function aU(e,r,a){var i=e.pingCache;if(i===null){i=e.pingCache=new A0e;var s=new Set;i.set(r,s)}else s=i.get(r),s===void 0&&(s=new Set,i.set(r,s));s.has(a)||(HY=!0,s.add(a),e=F0e.bind(null,e,r,a),r.then(e,e))}function F0e(e,r,a){var i=e.pingCache;i!==null&&i.delete(r),e.pingedLanes|=e.suspendedLanes&a,e.warmLanes&=~a,Ya===e&&(ko&a)===a&&(Pn===4||Pn===3&&(ko&62914560)===ko&&300>Yl()-m4?(Uo&2)===0&&jk(e,0):VY|=a,Nk===ko&&(Nk=0)),GZ(e)}function Qte(e,r){r===0&&(r=q$()),e=Cz(e,r),e!==null&&(a4(e,r),GZ(e))}function j0e(e){var r=e.memoizedState,a=0;r!==null&&(a=r.retryLane),Qte(e,a)}function B0e(e,r){var a=0;switch(e.tag){case 31:case 13:var{stateNode:i,memoizedState:s}=e;s!==null&&(a=s.retryLane);break;case 19:i=e.stateNode;break;case 22:i=e.stateNode._retryCache;break;default:throw Error(Yt(314))}i!==null&&i.delete(r),Qte(e,a)}function U0e(e,r){return lY(e,r)}var G5=null,uk=null,GU=!1,K5=!1,nU=!1,WM=0;function GZ(e){e!==uk&&e.next===null&&(uk===null?G5=uk=e:uk=uk.next=e),K5=!0,GU||(GU=!0,q0e())}function R2(e,r){if(!nU&&K5){nU=!0;do{var a=!1;for(var i=G5;i!==null;){if(!r)if(e!==0){var s=i.pendingLanes;if(s===0)var l=0;else{var c=i.suspendedLanes,d=i.pingedLanes;l=(1<<31-Hl(42|e)+1)-1,l&=s&~(c&~d),l=l&201326741?l&201326741|1:l?l|2:0}l!==0&&(a=!0,Z$(i,l))}else l=ko,l=o4(i,i===Ya?l:0,i.cancelPendingCommit!==null||i.timeoutHandle!==-1),(l&3)===0||w2(i,l)||(a=!0,Z$(i,l));i=i.next}}while(a);nU=!1}}function Y0e(){Jte()}function Jte(){K5=GU=!1;var e=0;WM!==0&&J0e()&&(e=WM);for(var r=Yl(),a=null,i=G5;i!==null;){var s=i.next,l=$te(i,r);if(l===0)i.next=null,a===null?G5=s:a.next=s,s===null&&(uk=a);else if(a=i,e!==0||(l&3)!==0)K5=!0;i=s}zi!==0&&zi!==5||R2(e,!1),WM!==0&&(WM=0)}function $te(e,r){for(var{suspendedLanes:a,pingedLanes:i,expirationTimes:s}=e,l=e.pendingLanes&-62914561;0<l;){var c=31-Hl(l),d=1<<c,h=s[c];if(h===-1){if((d&a)===0||(d&i)!==0)s[c]=Zwe(d,r)}else h<=r&&(e.expiredLanes|=d);l&=~d}if(r=Ya,a=ko,a=o4(e,e===r?a:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),i=e.callbackNode,a===0||e===r&&(pa===2||pa===9)||e.cancelPendingCommit!==null)return i!==null&&i!==null&&E6(i),e.callbackNode=null,e.callbackPriority=0;if((a&3)===0||w2(e,a)){if(r=a&-a,r===e.callbackPriority)return r;switch(i!==null&&E6(i),cY(a)){case 2:case 8:a=U$;break;case 32:a=R5;break;case 268435456:a=Y$;break;default:a=R5}return i=ere.bind(null,e),a=lY(a,i),e.callbackPriority=r,e.callbackNode=a,r}return i!==null&&i!==null&&E6(i),e.callbackPriority=2,e.callbackNode=null,2}function ere(e,r){if(zi!==0&&zi!==5)return e.callbackNode=null,e.callbackPriority=0,null;var a=e.callbackNode;if(M4()&&e.callbackNode!==a)return null;var i=ko;if(i=o4(e,e===Ya?i:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),i===0)return null;return Fte(e,i,r),$te(e,Yl()),e.callbackNode!=null&&e.callbackNode===a?ere.bind(null,e):null}function Z$(e,r){if(M4())return null;Fte(e,r,!0)}function q0e(){eze(function(){(Uo&6)!==0?lY(B$,Y0e):Jte()})}function GY(){if(WM===0){var e=Ek;e===0&&(e=$N,$N<<=1,($N&261888)===0&&($N=256)),WM=e}return WM}function p$(e){return e==null||typeof e==="symbol"||typeof e==="boolean"?null:typeof e==="function"?e:Z5(""+e)}function m$(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 H0e(e,r,a,i,s){if(r==="submit"&&a&&a.stateNode===s){var l=p$((s[Ks]||null).action),c=i.submitter;c&&(r=(r=c[Ks]||null)?p$(r.formAction):c.getAttribute("formAction"),r!==null&&(l=r,c=null));var d=new n4("action","action",null,i,s);e.push({event:d,listeners:[{instance:null,listener:function(){if(i.defaultPrevented){if(WM!==0){var h=c?m$(s,c):new FormData(s);NU(a,{pending:!0,data:h,method:s.method,action:l},null,h)}}else typeof l==="function"&&(d.preventDefault(),h=c?m$(s,c):new FormData(s),NU(a,{pending:!0,data:h,method:s.method,action:l},l,h))},currentTarget:s}]})}}for(KP=0;KP<SU.length;KP++)XP=SU[KP],KU=XP.toLowerCase(),XU=XP[0].toUpperCase()+XP.slice(1),cu(KU,"on"+XU);var XP,KU,XU,KP;cu(mee,"onAnimationEnd");cu(hee,"onAnimationIteration");cu(gee,"onAnimationStart");cu("dblclick","onDoubleClick");cu("focusin","onFocus");cu("focusout","onBlur");cu(i0e,"onTransitionRun");cu(f0e,"onTransitionStart");cu(s0e,"onTransitionCancel");cu(Mee,"onTransitionEnd");Tk("onMouseEnter",["mouseout","mouseover"]);Tk("onMouseLeave",["mouseout","mouseover"]);Tk("onPointerEnter",["pointerout","pointerover"]);Tk("onPointerLeave",["pointerout","pointerover"]);Sz("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));Sz("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Sz("onBeforeInput",["compositionend","keypress","textInput","paste"]);Sz("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));Sz("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));Sz("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var g2="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(" "),V0e=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(g2));function tre(e,r){r=(r&4)!==0;for(var a=0;a<e.length;a++){var i=e[a],s=i.event;i=i.listeners;e:{var l=void 0;if(r)for(var c=i.length-1;0<=c;c--){var d=i[c],h=d.instance,g=d.currentTarget;if(d=d.listener,h!==l&&s.isPropagationStopped())break e;l=d,s.currentTarget=g;try{l(s)}catch(x){T5(x)}s.currentTarget=null,l=h}else for(c=0;c<i.length;c++){if(d=i[c],h=d.instance,g=d.currentTarget,d=d.listener,h!==l&&s.isPropagationStopped())break e;l=d,s.currentTarget=g;try{l(s)}catch(x){T5(x)}s.currentTarget=null,l=h}}}}function _o(e,r){var a=r[MU];a===void 0&&(a=r[MU]=new Set);var i=e+"__bubble";a.has(i)||(ore(r,e,2,!1),a.add(i))}function iU(e,r,a){var i=0;r&&(i|=4),ore(a,e,i,r)}var l5="_reactListening"+Math.random().toString(36).slice(2);function rre(e){if(!e[l5]){e[l5]=!0,X$.forEach(function(a){a!=="selectionchange"&&(V0e.has(a)||iU(a,!1,e),iU(a,!0,e))});var r=e.nodeType===9?e:e.ownerDocument;r===null||r[l5]||(r[l5]=!0,iU("selectionchange",!1,r))}}function ore(e,r,a,i){switch(pre(r)){case 2:var s=_ze;break;case 8:s=bze;break;default:s=JY}a=s.bind(null,r,a,e),s=void 0,!bU||r!=="touchstart"&&r!=="touchmove"&&r!=="wheel"||(s=!0),i?s!==void 0?e.addEventListener(r,a,{capture:!0,passive:s}):e.addEventListener(r,a,!0):s!==void 0?e.addEventListener(r,a,{passive:s}):e.addEventListener(r,a,!1)}function fU(e,r,a,i,s){var l=i;if((r&1)===0&&(r&2)===0&&i!==null)e:for(;;){if(i===null)return;var c=i.tag;if(c===3||c===4){var d=i.stateNode.containerInfo;if(d===s)break;if(c===4)for(c=i.return;c!==null;){var h=c.tag;if((h===3||h===4)&&c.stateNode.containerInfo===s)return;c=c.return}for(;d!==null;){if(c=mk(d),c===null)return;if(h=c.tag,h===5||h===6||h===26||h===27){i=l=c;continue e}d=d.parentNode}}i=i.return}aee(function(){var g=l,x=ZY(a),v=[];e:{var b=xee.get(e);if(b!==void 0){var y=n4,k=e;switch(e){case"keypress":if(m5(a)===0)break e;case"keydown":case"keyup":y=Nwe;break;case"focusin":k="focus",y=j6;break;case"focusout":k="blur",y=j6;break;case"beforeblur":case"afterblur":y=j6;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=wJ;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":y=Swe;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":y=Bwe;break;case mee:case hee:case gee:y=Cwe;break;case Mee:y=Ywe;break;case"scroll":case"scrollend":y=wwe;break;case"wheel":y=Hwe;break;case"copy":case"cut":case"paste":y=Rwe;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":y=SJ;break;case"toggle":case"beforetoggle":y=Wwe}var T=(r&4)!==0,U=!T&&(e==="scroll"||e==="scrollend"),N=T?b!==null?b+"Capture":null:b;T=[];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||N===null||(X=l2(j,N),X!=null&&T.push(M2(j,X,G))),U)break;j=j.return}0<T.length&&(b=new y(b,k,null,a,x),v.push({event:b,listeners:T}))}}if((r&7)===0){e:{if(b=e==="mouseover"||e==="pointerover",y=e==="mouseout"||e==="pointerout",b&&a!==_U&&(k=a.relatedTarget||a.fromElement)&&(mk(k)||k[z2]))break e;if(y||b){if(b=x.window===x?x:(b=x.ownerDocument)?b.defaultView||b.parentWindow:window,y){if(k=a.relatedTarget||a.toElement,y=g,k=k?mk(k):null,k!==null&&(U=_2(k),T=k.tag,k!==U||T!==5&&T!==27&&T!==6))k=null}else y=null,k=g;if(y!==k){if(T=wJ,X="onMouseLeave",N="onMouseEnter",j="mouse",e==="pointerout"||e==="pointerover")T=SJ,X="onPointerLeave",N="onPointerEnter",j="pointer";if(U=y==null?b:qP(y),G=k==null?b:qP(k),b=new T(X,j+"leave",y,a,x),b.target=U,b.relatedTarget=G,X=null,mk(x)===g&&(T=new T(N,j+"enter",k,a,x),T.target=G,T.relatedTarget=U,X=T),U=X,y&&k)t:{T=W0e,N=y,j=k,G=0;for(X=N;X;X=T(X))G++;X=0;for(var J=j;J;J=T(J))X++;for(;0<G-X;)N=T(N),G--;for(;0<X-G;)j=T(j),X--;for(;G--;){if(N===j||j!==null&&N===j.alternate){T=N;break t}N=T(N),j=T(j)}T=null}else T=null;y!==null&&h$(v,b,y,T,!1),k!==null&&U!==null&&h$(v,U,k,T,!0)}}}e:{if(b=g?qP(g):window,y=b.nodeName&&b.nodeName.toLowerCase(),y==="select"||y==="input"&&b.type==="file")var ee=IJ;else if(CJ(b))if(cee)ee=o0e;else{ee=t0e;var re=e0e}else y=b.nodeName,!y||y.toLowerCase()!=="input"||b.type!=="checkbox"&&b.type!=="radio"?g&&dY(g.elementType)&&(ee=IJ):ee=r0e;if(ee&&(ee=ee(e,g))){lee(v,ee,a,x);break e}re&&re(e,b,g),e==="focusout"&&g&&b.type==="number"&&g.memoizedProps.value!=null&&yU(b,"number",b.value)}switch(re=g?qP(g):window,e){case"focusin":if(CJ(re)||re.contentEditable==="true")Mk=re,wU=g,$P=null;break;case"focusout":$P=wU=Mk=null;break;case"mousedown":zU=!0;break;case"contextmenu":case"mouseup":case"dragend":zU=!1,AJ(v,a,x);break;case"selectionchange":if(n0e)break;case"keydown":case"keyup":AJ(v,a,x)}var oe;if(hY)e:{switch(e){case"compositionstart":var fe="onCompositionStart";break e;case"compositionend":fe="onCompositionEnd";break e;case"compositionupdate":fe="onCompositionUpdate";break e}fe=void 0}else gk?fee(e,a)&&(fe="onCompositionEnd"):e==="keydown"&&a.keyCode===229&&(fe="onCompositionStart");if(fe&&(iee&&a.locale!=="ko"&&(gk||fe!=="onCompositionStart"?fe==="onCompositionEnd"&&gk&&(oe=nee()):(qM=x,pY=("value"in qM)?qM.value:qM.textContent,gk=!0)),re=X5(g,fe),0<re.length&&(fe=new zJ(fe,e,null,a,x),v.push({event:fe,listeners:re}),oe?fe.data=oe:(oe=see(a),oe!==null&&(fe.data=oe)))),oe=Kwe?Xwe(e,a):Qwe(e,a))fe=X5(g,"onBeforeInput"),0<fe.length&&(re=new zJ("onBeforeInput","beforeinput",null,a,x),v.push({event:re,listeners:fe}),re.data=oe);H0e(v,e,g,a,x)}tre(v,r)})}function M2(e,r,a){return{instance:e,listener:r,currentTarget:a}}function X5(e,r){for(var a=r+"Capture",i=[];e!==null;){var s=e,l=s.stateNode;if(s=s.tag,s!==5&&s!==26&&s!==27||l===null||(s=l2(e,a),s!=null&&i.unshift(M2(e,s,l)),s=l2(e,r),s!=null&&i.push(M2(e,s,l))),e.tag===3)return i;e=e.return}return[]}function W0e(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e?e:null}function h$(e,r,a,i,s){for(var l=r._reactName,c=[];a!==null&&a!==i;){var d=a,h=d.alternate,g=d.stateNode;if(d=d.tag,h!==null&&h===i)break;d!==5&&d!==26&&d!==27||g===null||(h=g,s?(g=l2(a,l),g!=null&&c.unshift(M2(a,g,h))):s||(g=l2(a,l),g!=null&&c.push(M2(a,g,h)))),a=a.return}c.length!==0&&e.push({event:r,listeners:c})}var G0e=/\r\n?/g,K0e=/\u0000|\uFFFD/g;function g$(e){return(typeof e==="string"?e:""+e).replace(G0e,`
10
- `).replace(K0e,"")}function are(e,r){return r=g$(r),g$(e)===r?!0:!1}function _a(e,r,a,i,s,l){switch(a){case"children":typeof i==="string"?r==="body"||r==="textarea"&&i===""||Ak(e,i):(typeof i==="number"||typeof i==="bigint")&&r!=="body"&&Ak(e,""+i);break;case"className":r5(e,"class",i);break;case"tabIndex":r5(e,"tabindex",i);break;case"dir":case"role":case"viewBox":case"width":case"height":r5(e,a,i);break;case"style":oee(e,i,l);break;case"data":if(r!=="object"){r5(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=Z5(""+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 l==="function"&&(a==="formAction"?(r!=="input"&&_a(e,r,"name",s.name,s,null),_a(e,r,"formEncType",s.formEncType,s,null),_a(e,r,"formMethod",s.formMethod,s,null),_a(e,r,"formTarget",s.formTarget,s,null)):(_a(e,r,"encType",s.encType,s,null),_a(e,r,"method",s.method,s,null),_a(e,r,"target",s.target,s,null)));if(i==null||typeof i==="symbol"||typeof i==="boolean"){e.removeAttribute(a);break}i=Z5(""+i),e.setAttribute(a,i);break;case"onClick":i!=null&&(e.onclick=NZ);break;case"onScroll":i!=null&&_o("scroll",e);break;case"onScrollEnd":i!=null&&_o("scrollend",e);break;case"dangerouslySetInnerHTML":if(i!=null){if(typeof i!=="object"||!("__html"in i))throw Error(Yt(61));if(a=i.__html,a!=null){if(s.children!=null)throw Error(Yt(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=Z5(""+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":_o("beforetoggle",e),_o("toggle",e),d5(e,"popover",i);break;case"xlinkActuate":IZ(e,"http://www.w3.org/1999/xlink","xlink:actuate",i);break;case"xlinkArcrole":IZ(e,"http://www.w3.org/1999/xlink","xlink:arcrole",i);break;case"xlinkRole":IZ(e,"http://www.w3.org/1999/xlink","xlink:role",i);break;case"xlinkShow":IZ(e,"http://www.w3.org/1999/xlink","xlink:show",i);break;case"xlinkTitle":IZ(e,"http://www.w3.org/1999/xlink","xlink:title",i);break;case"xlinkType":IZ(e,"http://www.w3.org/1999/xlink","xlink:type",i);break;case"xmlBase":IZ(e,"http://www.w3.org/XML/1998/namespace","xml:base",i);break;case"xmlLang":IZ(e,"http://www.w3.org/XML/1998/namespace","xml:lang",i);break;case"xmlSpace":IZ(e,"http://www.w3.org/XML/1998/namespace","xml:space",i);break;case"is":d5(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=_we.get(a)||a,d5(e,a,i)}}function QU(e,r,a,i,s,l){switch(a){case"style":oee(e,i,l);break;case"dangerouslySetInnerHTML":if(i!=null){if(typeof i!=="object"||!("__html"in i))throw Error(Yt(61));if(a=i.__html,a!=null){if(s.children!=null)throw Error(Yt(60));e.innerHTML=a}}break;case"children":typeof i==="string"?Ak(e,i):(typeof i==="number"||typeof i==="bigint")&&Ak(e,""+i);break;case"onScroll":i!=null&&_o("scroll",e);break;case"onScrollEnd":i!=null&&_o("scrollend",e);break;case"onClick":i!=null&&(e.onclick=NZ);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Q$.hasOwnProperty(a))e:{if(a[0]==="o"&&a[1]==="n"&&(s=a.endsWith("Capture"),r=a.slice(2,s?a.length-7:void 0),l=e[Ks]||null,l=l!=null?l[a]:null,typeof l==="function"&&e.removeEventListener(r,l,s),typeof i==="function")){typeof l!=="function"&&l!==null&&(a in e?e[a]=null:e.hasAttribute(a)&&e.removeAttribute(a)),e.addEventListener(r,i,s);break e}a in e?e[a]=i:i===!0?e.setAttribute(a,""):d5(e,a,i)}}}function ff(e,r,a){switch(r){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":_o("error",e),_o("load",e);var i=!1,s=!1,l;for(l in a)if(a.hasOwnProperty(l)){var c=a[l];if(c!=null)switch(l){case"src":i=!0;break;case"srcSet":s=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(Yt(137,r));default:_a(e,r,l,c,a,null)}}s&&_a(e,r,"srcSet",a.srcSet,a,null),i&&_a(e,r,"src",a.src,a,null);return;case"input":_o("invalid",e);var d=l=c=s=null,h=null,g=null;for(i in a)if(a.hasOwnProperty(i)){var x=a[i];if(x!=null)switch(i){case"name":s=x;break;case"type":c=x;break;case"checked":h=x;break;case"defaultChecked":g=x;break;case"value":l=x;break;case"defaultValue":d=x;break;case"children":case"dangerouslySetInnerHTML":if(x!=null)throw Error(Yt(137,r));break;default:_a(e,r,i,x,a,null)}}eee(e,l,d,h,g,c,s,!1);return;case"select":_o("invalid",e),i=c=l=null;for(s in a)if(a.hasOwnProperty(s)&&(d=a[s],d!=null))switch(s){case"value":l=d;break;case"defaultValue":c=d;break;case"multiple":i=d;default:_a(e,r,s,d,a,null)}r=l,a=c,e.multiple=!!i,r!=null?Sk(e,!!i,r,!1):a!=null&&Sk(e,!!i,a,!0);return;case"textarea":_o("invalid",e),l=s=i=null;for(c in a)if(a.hasOwnProperty(c)&&(d=a[c],d!=null))switch(c){case"value":i=d;break;case"defaultValue":s=d;break;case"children":l=d;break;case"dangerouslySetInnerHTML":if(d!=null)throw Error(Yt(91));break;default:_a(e,r,c,d,a,null)}ree(e,i,s,l);return;case"option":for(h in a)if(a.hasOwnProperty(h)&&(i=a[h],i!=null))switch(h){case"selected":e.selected=i&&typeof i!=="function"&&typeof i!=="symbol";break;default:_a(e,r,h,i,a,null)}return;case"dialog":_o("beforetoggle",e),_o("toggle",e),_o("cancel",e),_o("close",e);break;case"iframe":case"object":_o("load",e);break;case"video":case"audio":for(i=0;i<g2.length;i++)_o(g2[i],e);break;case"image":_o("error",e),_o("load",e);break;case"details":_o("toggle",e);break;case"embed":case"source":case"link":_o("error",e),_o("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(Yt(137,r));default:_a(e,r,g,i,a,null)}return;default:if(dY(r)){for(x in a)a.hasOwnProperty(x)&&(i=a[x],i!==void 0&&QU(e,r,x,i,a,void 0));return}}for(d in a)a.hasOwnProperty(d)&&(i=a[d],i!=null&&_a(e,r,d,i,a,null))}function X0e(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 s=null,l=null,c=null,d=null,h=null,g=null,x=null;for(y in a){var v=a[y];if(a.hasOwnProperty(y)&&v!=null)switch(y){case"checked":break;case"value":break;case"defaultValue":h=v;default:i.hasOwnProperty(y)||_a(e,r,y,null,i,v)}}for(var b in i){var y=i[b];if(v=a[b],i.hasOwnProperty(b)&&(y!=null||v!=null))switch(b){case"type":l=y;break;case"name":s=y;break;case"checked":g=y;break;case"defaultChecked":x=y;break;case"value":c=y;break;case"defaultValue":d=y;break;case"children":case"dangerouslySetInnerHTML":if(y!=null)throw Error(Yt(137,r));break;default:y!==v&&_a(e,r,b,y,i,v)}}vU(e,c,d,h,g,x,l,s);return;case"select":y=c=d=b=null;for(l in a)if(h=a[l],a.hasOwnProperty(l)&&h!=null)switch(l){case"value":break;case"multiple":y=h;default:i.hasOwnProperty(l)||_a(e,r,l,null,i,h)}for(s in i)if(l=i[s],h=a[s],i.hasOwnProperty(s)&&(l!=null||h!=null))switch(s){case"value":b=l;break;case"defaultValue":d=l;break;case"multiple":c=l;default:l!==h&&_a(e,r,s,l,i,h)}r=d,a=c,i=y,b!=null?Sk(e,!!a,b,!1):!!i!==!!a&&(r!=null?Sk(e,!!a,r,!0):Sk(e,!!a,a?[]:"",!1));return;case"textarea":y=b=null;for(d in a)if(s=a[d],a.hasOwnProperty(d)&&s!=null&&!i.hasOwnProperty(d))switch(d){case"value":break;case"children":break;default:_a(e,r,d,null,i,s)}for(c in i)if(s=i[c],l=a[c],i.hasOwnProperty(c)&&(s!=null||l!=null))switch(c){case"value":b=s;break;case"defaultValue":y=s;break;case"children":break;case"dangerouslySetInnerHTML":if(s!=null)throw Error(Yt(91));break;default:s!==l&&_a(e,r,c,s,i,l)}tee(e,b,y);return;case"option":for(var k in a)if(b=a[k],a.hasOwnProperty(k)&&b!=null&&!i.hasOwnProperty(k))switch(k){case"selected":e.selected=!1;break;default:_a(e,r,k,null,i,b)}for(h in i)if(b=i[h],y=a[h],i.hasOwnProperty(h)&&b!==y&&(b!=null||y!=null))switch(h){case"selected":e.selected=b&&typeof b!=="function"&&typeof b!=="symbol";break;default:_a(e,r,h,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 T in a)b=a[T],a.hasOwnProperty(T)&&b!=null&&!i.hasOwnProperty(T)&&_a(e,r,T,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(Yt(137,r));break;default:_a(e,r,g,b,i,y)}return;default:if(dY(r)){for(var U in a)b=a[U],a.hasOwnProperty(U)&&b!==void 0&&!i.hasOwnProperty(U)&&QU(e,r,U,void 0,i,b);for(x in i)b=i[x],y=a[x],!i.hasOwnProperty(x)||b===y||b===void 0&&y===void 0||QU(e,r,x,b,i,y);return}}for(var N in a)b=a[N],a.hasOwnProperty(N)&&b!=null&&!i.hasOwnProperty(N)&&_a(e,r,N,null,i,b);for(v in i)b=i[v],y=a[v],!i.hasOwnProperty(v)||b===y||b==null&&y==null||_a(e,r,v,b,i,y)}function M$(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function Q0e(){if(typeof performance.getEntriesByType==="function"){for(var e=0,r=0,a=performance.getEntriesByType("resource"),i=0;i<a.length;i++){var s=a[i],{transferSize:l,initiatorType:c,duration:d}=s;if(l&&d&&M$(c)){c=0,d=s.responseEnd;for(i+=1;i<a.length;i++){var h=a[i],g=h.startTime;if(g>d)break;var x=h.transferSize,v=h.initiatorType;x&&M$(v)&&(h=h.responseEnd,c+=x*(h<d?1:(d-g)/(h-g)))}if(--i,r+=8*(l+c)/(s.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 JU=null,$U=null;function Q5(e){return e.nodeType===9?e:e.ownerDocument}function x$(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 nre(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 eY(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 sU=null;function J0e(){var e=window.event;if(e&&e.type==="popstate"){if(e===sU)return!1;return sU=e,!0}return sU=null,!1}var ire=typeof setTimeout==="function"?setTimeout:void 0,$0e=typeof clearTimeout==="function"?clearTimeout:void 0,v$=typeof Promise==="function"?Promise:void 0,eze=typeof queueMicrotask==="function"?queueMicrotask:typeof v$<"u"?function(e){return v$.resolve(null).then(e).catch(tze)}:ire;function tze(e){setTimeout(function(){throw e})}function i8(e){return e==="head"}function y$(e,r){var a=r,i=0;do{var s=a.nextSibling;if(e.removeChild(a),s&&s.nodeType===8)if(a=s.data,a==="/$"||a==="/&"){if(i===0){e.removeChild(s),Uk(r);return}i--}else if(a==="$"||a==="$?"||a==="$~"||a==="$!"||a==="&")i++;else if(a==="html")f2(e.ownerDocument.documentElement);else if(a==="head"){a=e.ownerDocument.head,f2(a);for(var l=a.firstChild;l;){var c=l.nextSibling,d=l.nodeName;l[S2]||d==="SCRIPT"||d==="STYLE"||d==="LINK"&&l.rel.toLowerCase()==="stylesheet"||a.removeChild(l),l=c}}else a==="body"&&f2(e.ownerDocument.body);a=s}while(a);Uk(r)}function _$(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 tY(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":tY(a),uY(a);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(a.rel.toLowerCase()==="stylesheet")continue}e.removeChild(a)}}function rze(e,r,a,i){for(;e.nodeType===1;){var s=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 l=s.name==null?null:""+s.name;if(s.type==="hidden"&&e.getAttribute("name")===l)return e}else return e;else if(!e[S2])switch(r){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(l=e.getAttribute("rel"),l==="stylesheet"&&e.hasAttribute("data-precedence"))break;else if(l!==s.rel||e.getAttribute("href")!==(s.href==null||s.href===""?null:s.href)||e.getAttribute("crossorigin")!==(s.crossOrigin==null?null:s.crossOrigin)||e.getAttribute("title")!==(s.title==null?null:s.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(l=e.getAttribute("src"),(l!==(s.src==null?null:s.src)||e.getAttribute("type")!==(s.type==null?null:s.type)||e.getAttribute("crossorigin")!==(s.crossOrigin==null?null:s.crossOrigin))&&l&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}if(e=gc(e.nextSibling),e===null)break}return null}function oze(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=gc(e.nextSibling),e===null)return null}return e}function fre(e,r){for(;e.nodeType!==8;){if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!r)return null;if(e=gc(e.nextSibling),e===null)return null}return e}function rY(e){return e.data==="$?"||e.data==="$~"}function oY(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function aze(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 gc(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 aY=null;function b$(e){e=e.nextSibling;for(var r=0;e;){if(e.nodeType===8){var a=e.data;if(a==="/$"||a==="/&"){if(r===0)return gc(e.nextSibling);r--}else a!=="$"&&a!=="$!"&&a!=="$?"&&a!=="$~"&&a!=="&"||r++}e=e.nextSibling}return null}function w$(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 sre(e,r,a){switch(r=Q5(a),e){case"html":if(e=r.documentElement,!e)throw Error(Yt(452));return e;case"head":if(e=r.head,!e)throw Error(Yt(453));return e;case"body":if(e=r.body,!e)throw Error(Yt(454));return e;default:throw Error(Yt(451))}}function f2(e){for(var r=e.attributes;r.length;)e.removeAttributeNode(r[0]);uY(e)}var Mc=new Map,z$=new Set;function J5(e){return typeof e.getRootNode==="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var KZ=qo.d;qo.d={f:nze,r:ize,D:fze,C:sze,L:lze,m:cze,X:dze,S:uze,M:Zze};function nze(){var e=KZ.f(),r=h4();return e||r}function ize(e){var r=Yk(e);r!==null&&r.tag===5&&r.type==="form"?ote(r):KZ.r(e)}var Wk=typeof document>"u"?null:document;function lre(e,r,a){var i=Wk;if(i&&typeof r==="string"&&r){var s=uc(r);s='link[rel="'+e+'"][href="'+s+'"]',typeof a==="string"&&(s+='[crossorigin="'+a+'"]'),z$.has(s)||(z$.add(s),e={rel:e,crossOrigin:a,href:r},i.querySelector(s)===null&&(r=i.createElement("link"),ff(r,"link",e),Ti(r),i.head.appendChild(r)))}}function fze(e){KZ.D(e),lre("dns-prefetch",e,null)}function sze(e,r){KZ.C(e,r),lre("preconnect",e,r)}function lze(e,r,a){KZ.L(e,r,a);var i=Wk;if(i&&e&&r){var s='link[rel="preload"][as="'+uc(r)+'"]';r==="image"?a&&a.imageSrcSet?(s+='[imagesrcset="'+uc(a.imageSrcSet)+'"]',typeof a.imageSizes==="string"&&(s+='[imagesizes="'+uc(a.imageSizes)+'"]')):s+='[href="'+uc(e)+'"]':s+='[href="'+uc(e)+'"]';var l=s;switch(r){case"style":l=Bk(e);break;case"script":l=Gk(e)}Mc.has(l)||(e=Zn({rel:"preload",href:r==="image"&&a&&a.imageSrcSet?void 0:e,as:r},a),Mc.set(l,e),i.querySelector(s)!==null||r==="style"&&i.querySelector(P2(l))||r==="script"&&i.querySelector(T2(l))||(r=i.createElement("link"),ff(r,"link",e),Ti(r),i.head.appendChild(r)))}}function cze(e,r){KZ.m(e,r);var a=Wk;if(a&&e){var i=r&&typeof r.as==="string"?r.as:"script",s='link[rel="modulepreload"][as="'+uc(i)+'"][href="'+uc(e)+'"]',l=s;switch(i){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":l=Gk(e)}if(!Mc.has(l)&&(e=Zn({rel:"modulepreload",href:e},r),Mc.set(l,e),a.querySelector(s)===null)){switch(i){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(a.querySelector(T2(l)))return}i=a.createElement("link"),ff(i,"link",e),Ti(i),a.head.appendChild(i)}}}function uze(e,r,a){KZ.S(e,r,a);var i=Wk;if(i&&e){var s=zk(i).hoistableStyles,l=Bk(e);r=r||"default";var c=s.get(l);if(!c){var d={loading:0,preload:null};if(c=i.querySelector(P2(l)))d.loading=5;else{e=Zn({rel:"stylesheet",href:e,"data-precedence":r},a),(a=Mc.get(l))&&KY(e,a);var h=c=i.createElement("link");Ti(h),ff(h,"link",e),h._p=new Promise(function(g,x){h.onload=g,h.onerror=x}),h.addEventListener("load",function(){d.loading|=1}),h.addEventListener("error",function(){d.loading|=2}),d.loading|=4,w5(c,r,i)}c={type:"stylesheet",instance:c,count:1,state:d},s.set(l,c)}}}function dze(e,r){KZ.X(e,r);var a=Wk;if(a&&e){var i=zk(a).hoistableScripts,s=Gk(e),l=i.get(s);l||(l=a.querySelector(T2(s)),l||(e=Zn({src:e,async:!0},r),(r=Mc.get(s))&&XY(e,r),l=a.createElement("script"),Ti(l),ff(l,"link",e),a.head.appendChild(l)),l={type:"script",instance:l,count:1,state:null},i.set(s,l))}}function Zze(e,r){KZ.M(e,r);var a=Wk;if(a&&e){var i=zk(a).hoistableScripts,s=Gk(e),l=i.get(s);l||(l=a.querySelector(T2(s)),l||(e=Zn({src:e,async:!0,type:"module"},r),(r=Mc.get(s))&&XY(e,r),l=a.createElement("script"),Ti(l),ff(l,"link",e),a.head.appendChild(l)),l={type:"script",instance:l,count:1,state:null},i.set(s,l))}}function S$(e,r,a,i){var s=(s=GM.current)?J5(s):null;if(!s)throw Error(Yt(446));switch(e){case"meta":case"title":return null;case"style":return typeof a.precedence==="string"&&typeof a.href==="string"?(r=Bk(a.href),a=zk(s).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=Bk(a.href);var l=zk(s).hoistableStyles,c=l.get(e);if(c||(s=s.ownerDocument||s,c={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},l.set(e,c),(l=s.querySelector(P2(e)))&&!l._p&&(c.instance=l,c.state.loading=5),Mc.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},Mc.set(e,a),l||pze(s,e,a,c.state))),r&&i===null)throw Error(Yt(528,""));return c}if(r&&i!==null)throw Error(Yt(529,""));return null;case"script":return r=a.async,a=a.src,typeof a==="string"&&r&&typeof r!=="function"&&typeof r!=="symbol"?(r=Gk(a),a=zk(s).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(Yt(444,e))}}function Bk(e){return'href="'+uc(e)+'"'}function P2(e){return'link[rel="stylesheet"]['+e+"]"}function cre(e){return Zn({},e,{"data-precedence":e.precedence,precedence:null})}function pze(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}),ff(r,"link",a),Ti(r),e.head.appendChild(r))}function Gk(e){return'[src="'+uc(e)+'"]'}function T2(e){return"script[async]"+e}function L$(e,r,a){if(r.count++,r.instance===null)switch(r.type){case"style":var i=e.querySelector('style[data-href~="'+uc(a.href)+'"]');if(i)return r.instance=i,Ti(i),i;var s=Zn({},a,{"data-href":a.href,"data-precedence":a.precedence,href:null,precedence:null});return i=(e.ownerDocument||e).createElement("style"),Ti(i),ff(i,"style",s),w5(i,a.precedence,e),r.instance=i;case"stylesheet":s=Bk(a.href);var l=e.querySelector(P2(s));if(l)return r.state.loading|=4,r.instance=l,Ti(l),l;i=cre(a),(s=Mc.get(s))&&KY(i,s),l=(e.ownerDocument||e).createElement("link"),Ti(l);var c=l;return c._p=new Promise(function(d,h){c.onload=d,c.onerror=h}),ff(l,"link",i),r.state.loading|=4,w5(l,a.precedence,e),r.instance=l;case"script":if(l=Gk(a.src),s=e.querySelector(T2(l)))return r.instance=s,Ti(s),s;if(i=a,s=Mc.get(l))i=Zn({},a),XY(i,s);return e=e.ownerDocument||e,s=e.createElement("script"),Ti(s),ff(s,"link",i),e.head.appendChild(s),r.instance=s;case"void":return null;default:throw Error(Yt(443,r.type))}else r.type==="stylesheet"&&(r.state.loading&4)===0&&(i=r.instance,r.state.loading|=4,w5(i,a.precedence,e));return r.instance}function w5(e,r,a){for(var i=a.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),s=i.length?i[i.length-1]:null,l=s,c=0;c<i.length;c++){var d=i[c];if(d.dataset.precedence===r)l=d;else if(l!==s)break}l?l.parentNode.insertBefore(e,l.nextSibling):(r=a.nodeType===9?a.head:a,r.insertBefore(e,r.firstChild))}function KY(e,r){e.crossOrigin==null&&(e.crossOrigin=r.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=r.referrerPolicy),e.title==null&&(e.title=r.title)}function XY(e,r){e.crossOrigin==null&&(e.crossOrigin=r.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=r.referrerPolicy),e.integrity==null&&(e.integrity=r.integrity)}var z5=null;function k$(e,r,a){if(z5===null){var i=new Map,s=z5=new Map;s.set(a,i)}else s=z5,i=s.get(a),i||(i=new Map,s.set(a,i));if(i.has(e))return i;i.set(e,null),a=a.getElementsByTagName(e);for(s=0;s<a.length;s++){var l=a[s];if(!(l[S2]||l[Ki]||e==="link"&&l.getAttribute("rel")==="stylesheet")&&l.namespaceURI!=="http://www.w3.org/2000/svg"){var c=l.getAttribute(r)||"";c=e+c;var d=i.get(c);d?d.push(l):i.set(c,[l])}}return i}function C$(e,r,a){e=e.ownerDocument||e,e.head.insertBefore(a,r==="title"?e.querySelector("head > title"):null)}function mze(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 ure(e){return e.type==="stylesheet"&&(e.state.loading&3)===0?!1:!0}function hze(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 s=Bk(i.href),l=r.querySelector(P2(s));if(l){r=l._p,r!==null&&typeof r==="object"&&typeof r.then==="function"&&(e.count++,e=$5.bind(e),r.then(e,e)),a.state.loading|=4,a.instance=l,Ti(l);return}l=r.ownerDocument||r,i=cre(i),(s=Mc.get(s))&&KY(i,s),l=l.createElement("link"),Ti(l);var c=l;c._p=new Promise(function(d,h){c.onload=d,c.onerror=h}),ff(l,"link",i),a.instance=l}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(a,r),(r=a.state.preload)&&(a.state.loading&3)===0&&(e.count++,a=$5.bind(e),r.addEventListener("load",a),r.addEventListener("error",a))}}var lU=0;function gze(e,r){return e.stylesheets&&e.count===0&&S5(e,e.stylesheets),0<e.count||0<e.imgCount?function(a){var i=setTimeout(function(){if(e.stylesheets&&S5(e,e.stylesheets),e.unsuspend){var l=e.unsuspend;e.unsuspend=null,l()}},60000+r);0<e.imgBytes&&lU===0&&(lU=62500*Q0e());var s=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&S5(e,e.stylesheets),e.unsuspend)){var l=e.unsuspend;e.unsuspend=null,l()}},(e.imgBytes>lU?50:800)+r);return e.unsuspend=a,function(){e.unsuspend=null,clearTimeout(i),clearTimeout(s)}}:null}function $5(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)S5(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var e4=null;function S5(e,r){e.stylesheets=null,e.unsuspend!==null&&(e.count++,e4=new Map,r.forEach(Mze,e),e4=null,$5.call(e))}function Mze(e,r){if(!(r.state.loading&4)){var a=e4.get(e);if(a)var i=a.get(null);else{a=new Map,e4.set(e,a);for(var s=e.querySelectorAll("link[data-precedence],style[data-precedence]"),l=0;l<s.length;l++){var c=s[l];if(c.nodeName==="LINK"||c.getAttribute("media")!=="not all")a.set(c.dataset.precedence,c),i=c}i&&a.set(null,i)}s=r.instance,c=s.getAttribute("data-precedence"),l=a.get(c)||i,l===i&&a.set(null,s),a.set(c,s),this.count++,i=$5.bind(this),s.addEventListener("load",i),s.addEventListener("error",i),l?l.parentNode.insertBefore(s,l.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(s,e.firstChild)),r.state.loading|=4}}var x2={$$typeof:OZ,Provider:null,Consumer:null,_currentValue:pz,_currentValue2:pz,_threadCount:0};function xze(e,r,a,i,s,l,c,d,h){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=D6(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=D6(0),this.hiddenUpdates=D6(null),this.identifierPrefix=i,this.onUncaughtError=s,this.onCaughtError=l,this.onRecoverableError=c,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=h,this.incompleteTransitions=new Map}function vze(e,r,a,i,s,l,c,d,h,g,x,v){return e=new xze(e,r,a,c,h,g,x,v,d),r=1,l===!0&&(r|=24),l=jl(3,null,null,r),e.current=l,l.stateNode=e,r=bY(),r.refCount++,e.pooledCache=r,r.refCount++,l.memoizedState={element:i,isDehydrated:a,cache:r},SY(l),e}function yze(e){if(!e)return yk;return e=yk,e}function dre(e,r,a,i,s,l){s=yze(s),i.context===null?i.context=s:i.pendingContext=s,i=Mz(r),i.payload={element:a},l=l===void 0?null:l,l!==null&&(i.callback=l),a=xz(e,i,r),a!==null&&(Ws(a,e,r),qA(a,e,r))}function I$(e,r){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var a=e.retryLane;e.retryLane=a!==0&&a<r?a:r}}function QY(e,r){I$(e,r),(e=e.alternate)&&I$(e,r)}function Zre(e){if(e.tag===13||e.tag===31){var r=Cz(e,67108864);r!==null&&Ws(r,e,67108864),QY(e,67108864)}}function R$(e){if(e.tag===13||e.tag===31){var r=hc();r=G$(r);var a=Cz(e,r);a!==null&&Ws(a,e,r),QY(e,r)}}var t4=!0;function _ze(e,r,a,i){var s=qr.T;qr.T=null;var l=qo.p;try{qo.p=2,JY(e,r,a,i)}finally{qo.p=l,qr.T=s}}function bze(e,r,a,i){var s=qr.T;qr.T=null;var l=qo.p;try{qo.p=8,JY(e,r,a,i)}finally{qo.p=l,qr.T=s}}function JY(e,r,a,i){if(t4){var s=nY(i);if(s===null)fU(e,r,i,r4,a),P$(e,i);else if(zze(s,e,r,a,i))i.stopPropagation();else if(P$(e,i),r&4&&-1<wze.indexOf(e)){for(;s!==null;){var l=Yk(s);if(l!==null)switch(l.tag){case 3:if(l=l.stateNode,l.current.memoizedState.isDehydrated){var c=cz(l.pendingLanes);if(c!==0){var d=l;d.pendingLanes|=2;for(d.entangledLanes|=2;c;){var h=1<<31-Hl(c);d.entanglements[1]|=h,c&=~h}GZ(l),(Uo&6)===0&&(H5=Yl()+500,R2(0,!1))}}break;case 31:case 13:d=Cz(l,2),d!==null&&Ws(d,l,2),h4(),QY(l,2)}if(l=nY(i),l===null&&fU(e,r,i,r4,a),l===s)break;s=l}s!==null&&i.stopPropagation()}else fU(e,r,i,null,a)}}function nY(e){return e=ZY(e),$Y(e)}var r4=null;function $Y(e){if(r4=null,e=mk(e),e!==null){var r=_2(e);if(r===null)e=null;else{var a=r.tag;if(a===13){if(e=D$(r),e!==null)return e;e=null}else if(a===31){if(e=O$(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 r4=e,null}function pre(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(iwe()){case B$:return 2;case U$:return 8;case R5:case fwe:return 32;case Y$:return 268435456;default:return 32}default:return 32}}var iY=!1,JM=null,$M=null,e8=null,v2=new Map,y2=new Map,UM=[],wze="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 P$(e,r){switch(e){case"focusin":case"focusout":JM=null;break;case"dragenter":case"dragleave":$M=null;break;case"mouseover":case"mouseout":e8=null;break;case"pointerover":case"pointerout":v2.delete(r.pointerId);break;case"gotpointercapture":case"lostpointercapture":y2.delete(r.pointerId)}}function BP(e,r,a,i,s,l){if(e===null||e.nativeEvent!==l)return e={blockedOn:r,domEventName:a,eventSystemFlags:i,nativeEvent:l,targetContainers:[s]},r!==null&&(r=Yk(r),r!==null&&Zre(r)),e;return e.eventSystemFlags|=i,r=e.targetContainers,s!==null&&r.indexOf(s)===-1&&r.push(s),e}function zze(e,r,a,i,s){switch(r){case"focusin":return JM=BP(JM,e,r,a,i,s),!0;case"dragenter":return $M=BP($M,e,r,a,i,s),!0;case"mouseover":return e8=BP(e8,e,r,a,i,s),!0;case"pointerover":var l=s.pointerId;return v2.set(l,BP(v2.get(l)||null,e,r,a,i,s)),!0;case"gotpointercapture":return l=s.pointerId,y2.set(l,BP(y2.get(l)||null,e,r,a,i,s)),!0}return!1}function mre(e){var r=mk(e.target);if(r!==null){var a=_2(r);if(a!==null){if(r=a.tag,r===13){if(r=D$(a),r!==null){e.blockedOn=r,gJ(e.priority,function(){R$(a)});return}}else if(r===31){if(r=O$(a),r!==null){e.blockedOn=r,gJ(e.priority,function(){R$(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 L5(e){if(e.blockedOn!==null)return!1;for(var r=e.targetContainers;0<r.length;){var a=nY(e.nativeEvent);if(a===null){a=e.nativeEvent;var i=new a.constructor(a.type,a);_U=i,a.target.dispatchEvent(i),_U=null}else return r=Yk(a),r!==null&&Zre(r),e.blockedOn=a,!1;r.shift()}return!0}function T$(e,r,a){L5(e)&&a.delete(r)}function Sze(){iY=!1,JM!==null&&L5(JM)&&(JM=null),$M!==null&&L5($M)&&($M=null),e8!==null&&L5(e8)&&(e8=null),v2.forEach(T$),y2.forEach(T$)}function c5(e,r){e.blockedOn===r&&(e.blockedOn=null,iY||(iY=!0,Bs(Zs,Sze)))}var u5=null;function A$(e){u5!==e&&(u5=e,Bs(Zs,function(){u5===e&&(u5=null);for(var r=0;r<e.length;r+=3){var a=e[r],i=e[r+1],s=e[r+2];if(typeof i!=="function")if($Y(i||a)===null)continue;else break;var l=Yk(a);l!==null&&(e.splice(r,3),r-=3,NU(l,{pending:!0,data:s,method:a.method,action:i},i,s))}}))}function Uk(e){function r(h){return c5(h,e)}JM!==null&&c5(JM,e),$M!==null&&c5($M,e),e8!==null&&c5(e8,e),v2.forEach(r),y2.forEach(r);for(var a=0;a<UM.length;a++){var i=UM[a];i.blockedOn===e&&(i.blockedOn=null)}for(;0<UM.length&&(a=UM[0],a.blockedOn===null);)mre(a),a.blockedOn===null&&UM.shift();if(a=(e.ownerDocument||e).$$reactFormReplay,a!=null)for(i=0;i<a.length;i+=3){var s=a[i],l=a[i+1],c=s[Ks]||null;if(typeof l==="function")c||A$(a);else if(c){var d=null;if(l&&l.hasAttribute("formAction")){if(s=l,c=l[Ks]||null)d=c.formAction;else if($Y(s)!==null)continue}else d=c.action;typeof d==="function"?a[i+1]=d:(a.splice(i,3),i-=3),A$(a)}}}function Lze(){function e(l){l.canIntercept&&l.info==="react-transition"&&l.intercept({handler:function(){return new Promise(function(c){return s=c})},focusReset:"manual",scroll:"manual"})}function r(){s!==null&&(s(),s=null),i||setTimeout(a,20)}function a(){if(!i&&!navigation.transition){var l=navigation.currentEntry;l&&l.url!=null&&navigation.navigate(l.url,{state:l.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation==="object"){var i=!1,s=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),s!==null&&(s(),s=null)}}}function e7(e){this._internalRoot=e}t7.prototype.render=e7.prototype.render=function(e){var r=this._internalRoot;if(r===null)throw Error(Yt(409));var a=r.current,i=hc();dre(a,i,e,r,null,null)};t7.prototype.unmount=e7.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var r=e.containerInfo;dre(e.current,2,null,e,null,null),h4(),r[z2]=null}};function t7(e){this._internalRoot=e}t7.prototype.unstable_scheduleHydration=function(e){if(e){var r=K$();e={blockedOn:null,target:e,priority:r};for(var a=0;a<UM.length&&r!==0&&r<UM[a].priority;a++);UM.splice(a,0,e),a===0&&mre(e)}};var E$=Ls;if(E$!=="19.2.8")throw Error(Yt(527,E$,"19.2.8"));qo.findDOMNode=function(e){var r=e._reactInternals;if(r===void 0){if(typeof e.render==="function")throw Error(Yt(188));throw e=Object.keys(e).join(","),Error(Yt(268,e))}return e=$be(r),e=e!==null?N$(e):null,e=e===null?null:e.stateNode,e};var kze={bundleType:0,version:"19.2.8",rendererPackageName:"react-dom",currentDispatcherRef:qr,reconcilerVersion:"19.2.8"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){if(dk=__REACT_DEVTOOLS_GLOBAL_HOOK__,!dk.isDisabled&&dk.supportsFiber)try{b2=dk.inject(kze),ql=dk}catch(e){}}var dk;var hre=function(e,r){if(!Jbe(e))throw Error(Yt(299));var a=!1,i="",s=b0e,l=w0e,c=z0e;return r!==null&&r!==void 0&&(r.unstable_strictMode===!0&&(a=!0),r.identifierPrefix!==void 0&&(i=r.identifierPrefix),r.onUncaughtError!==void 0&&(s=r.onUncaughtError),r.onCaughtError!==void 0&&(l=r.onCaughtError),r.onRecoverableError!==void 0&&(c=r.onRecoverableError)),r=vze(e,1,!1,null,null,a,i,null,s,l,c,Lze),e[z2]=r.current,rre(e),new e7(r)};gre();S();var Pze={theme:"system",setTheme:()=>null},Mre=lt(Pze);function xre({children:e,defaultTheme:r="system",storageKey:a="vite-ui-theme",...i}){let[s,l]=u(()=>localStorage.getItem(a)||r);m(()=>{let d=window.document.documentElement;if(d.classList.remove("light","dark"),s==="system"){let h=window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light";d.classList.add(h);return}d.classList.add(s)},[s]);let c={theme:s,setTheme:(d)=>{localStorage.setItem(a,d),l(d)}};return t(Mre.Provider,{...i,value:c,children:e})}var vre=()=>{let e=pt(Mre);if(e===void 0)throw Error("useTheme must be used within a ThemeProvider");return e};var Tze=/^[\w!#$%&'*.^`|~+-]+$/;var Aze=(e,r,a={})=>{if(!Tze.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 s of["domain","path","sameSite","priority"])if(a[s]&&/[;\r\n]/.test(a[s]))throw Error(`${s} 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},yre=(e,r,a)=>(r=encodeURIComponent(r),Aze(e,r,a));var _re=(e,r)=>(e=e.replace(/\/+$/,""),e=e+"/",r=r.replace(/^\/+/,""),e+r),v4=(e,r)=>{for(let[a,i]of Object.entries(r)){let s=new RegExp("/:"+a+"(?:{[^/]+})?\\??(?=/|$)");e=e.replace(s,()=>i?`/${i}`:"")}return e},bre=(e)=>{let r=new URLSearchParams;for(let[a,i]of Object.entries(e)){if(i===void 0)continue;if(Array.isArray(i))for(let s of i){if(s===void 0)continue;r.append(a,s)}else r.set(a,i)}return r},wre=(e,r)=>{switch(r){case"ws":return e.replace(/^http/,"ws");case"http":return e.replace(/^ws/,"http")}},r7=(e)=>{if(/^https?:\/\/[^\/]+?\/index(?=\?|$)/.test(e))return e.replace(/\/index(?=\?|$)/,"/");return e.replace(/\/index(?=\?|$)/,"")};function x4(e){return typeof e==="object"&&e!==null&&!Array.isArray(e)}function o7(e,r){if(!x4(e)&&!x4(r))return r;let a={...e};for(let i in r){let s=r[i];if(x4(a[i])&&x4(s))a[i]=o7(a[i],s);else a[i]=s}return a}var zre=(e,r)=>new Proxy(()=>{},{get(i,s){if(typeof s!=="string"||s==="then")return;return zre(e,[...r,s])},apply(i,s,l){return e({path:r,args:l})}}),Sre=(e,r)=>{let a=r.toString();return a?`${e}?${a}`:e},Dze=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 d=new FormData;for(let[h,g]of Object.entries(e.form)){if(g===void 0)continue;if(Array.isArray(g))for(let x of g){if(x===void 0)continue;d.append(h,x)}else d.append(h,g)}this.rBody=d}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 d=[];for(let[h,g]of Object.entries(e.cookie)){if(g===void 0)continue;d.push(yre(h,g))}if(d.length>0)i.Cookie=d.join("; ")}if(this.cType)i["Content-Type"]=this.cType;let s=new Headers;for(let[d,h]of Object.entries(i))if(h!==void 0)s.set(d,h);let l=this.url;if(l=r7(l),l=v4(l,this.pathParams),this.queryParams)l=Sre(l,this.queryParams);a=this.method.toUpperCase();let c=!(a==="GET"||a==="HEAD");return(r?.fetch||fetch)(l,{body:c?this.rBody:void 0,method:a,headers:s,...r?.init})}},a7=(e,r)=>zre(function a(i){let s=r?.buildSearchParams??bre,l=[...i.path],c=l.slice(-3).reverse();if(c[0]==="toString"){if(c[1]==="name")return c[2]||"";return a.toString()}if(c[0]==="valueOf"){if(c[1]==="name")return c[2]||"";return a}let d="";if(/^\$/.test(c[0])){let v=l.pop();if(v)d=v.replace(/^\$/,"")}let h=l.join("/"),g=_re(e,h);if(d==="url"||d==="path"){let v=g;if(i.args[0]){if(i.args[0].param)v=v4(g,i.args[0].param);if(i.args[0].query)v=Sre(v,s(i.args[0].query))}if(v=r7(v),d==="url")return new URL(v);return v.slice(e.replace(/\/+$/,"").length).replace(/^\/?/,"/")}if(d==="ws"){let v=wre(i.args[0]?.param?v4(g,i.args[0].param):g,"ws"),b=new URL(v),y=i.args[0]?.query;if(y)s(y).forEach((U,N)=>{b.searchParams.append(N,U)});return((...T)=>{if(r?.webSocket!==void 0&&typeof r.webSocket==="function")return r.webSocket(...T);return new WebSocket(...T)})(b.toString())}let x=new Dze(g,d,{buildSearchParams:s});if(d){r??={};let v={...i.args[1]},b=r.headers,y=v.headers;if(b&&y)v.headers=async()=>({...typeof b==="function"?await b():b,...typeof y==="function"?await y():y});let k=o7(r,v);return x.fetch(i.args[0],k)}return x},[]);var Lre=(e)=>{let r,a=new Set,i=(g,x)=>{let v=typeof g==="function"?g(r):g;if(!Object.is(v,r)){let b=r;r=(x!=null?x:typeof v!=="object"||v===null)?v:Object.assign({},r,v),a.forEach((y)=>y(r,b))}},s=()=>r,d={setState:i,getState:s,getInitialState:()=>h,subscribe:(g)=>(a.add(g),()=>a.delete(g))},h=r=e(i,s,d);return d},kre=(e)=>e?Lre(e):Lre;S();var Oze=(e)=>e;function Nze(e,r=Oze){let a=Xn(e.subscribe,P(()=>r(e.getState()),[e,r]),P(()=>r(e.getInitialState()),[e,r]));return pi(a),a}var Cre=(e)=>{let r=kre(e),a=(i)=>Nze(r,i);return Object.assign(a,r),a},Rr=(e)=>e?Cre(e):Cre;var Ire=(e)=>!!e.dispatchFromDevtools&&typeof e.dispatch==="function",A2=new Map,y4=(e)=>{let r=A2.get(e);if(!r)return{};return Object.fromEntries(Object.entries(r.stores).map(([a,i])=>[a,i.getState()]))},Fze=(e,r,a)=>{if(e===void 0)return{type:"untracked",connection:r.connect(a)};let i=A2.get(a.name);if(i)return{type:"tracked",store:e,...i};let s={connection:r.connect(a),stores:{}};return A2.set(a.name,s),{type:"tracked",store:e,...s}},jze=(e,r)=>{if(r===void 0)return;let a=A2.get(e);if(!a)return;if(delete a.stores[r],Object.keys(a.stores).length===0)A2.delete(e)},Bze=/^at (?:new |async )?(.+?) \(/,Uze=/^([^@]+)@/;function Yze(e){var r,a,i;if(!e)return;let s=e.split(`
11
- `),l=s.findIndex((d)=>d.includes("api.setState"));if(l<0)return;let c=((r=s[l+1])==null?void 0:r.trim())||"";return((a=Bze.exec(c))==null?void 0:a[1])||((i=Uze.exec(c))==null?void 0:i[1])}var qze=(e,r={})=>(a,i,s)=>{let{enabled:l,anonymousActionType:c,store:d,...h}=r,g;try{g=(l!=null?l:(import.meta.env?import.meta.env.MODE:void 0)!=="production")&&window.__REDUX_DEVTOOLS_EXTENSION__}catch(T){}if(!g)return e(a,i,s);let{connection:x,...v}=Fze(d,g,h),b=!0;s.setState=(T,U,N)=>{let j=a(T,U);if(!b)return j;let G=N===void 0?{type:c||Yze(Error().stack)||"anonymous"}:typeof N==="string"?{type:N}:N;if(d===void 0)return x==null||x.send(G,i()),j;return x==null||x.send({...G,type:`${d}/${G.type}`},{...y4(h.name),[d]:s.getState()}),j},s.devtools={cleanup:()=>{if(x&&typeof x.unsubscribe==="function")x.unsubscribe();jze(h.name,d)}};let y=(...T)=>{let U=b;b=!1,a(...T),b=U},k=e(s.setState,i,s);if(v.type==="untracked")x==null||x.init(k);else v.stores[v.store]=s,x==null||x.init(Object.fromEntries(Object.entries(v.stores).map(([T,U])=>[T,T===v.store?k:U.getState()])));if(Ire(s)){let T=!1,U=s.dispatch;s.dispatch=(...N)=>{if((import.meta.env?import.meta.env.MODE:void 0)!=="production"&&N[0].type==="__setState"&&!T)console.warn('[zustand devtools middleware] "__setState" action type is reserved to set state from the devtools. Avoid using it.'),T=!0;U(...N)}}return x.subscribe((T)=>{var U;switch(T.type){case"ACTION":if(typeof T.payload!=="string"){console.error("[zustand devtools middleware] Unsupported action format");return}return n7(T.payload,(N)=>{if(N.type==="__setState"){if(d===void 0){y(N.state);return}if(Object.keys(N.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=N.state[d];if(j===void 0||j===null)return;if(JSON.stringify(s.getState())!==JSON.stringify(j))y(j);return}if(Ire(s))s.dispatch(N)});case"DISPATCH":switch(T.payload.type){case"RESET":if(y(k),d===void 0)return x==null?void 0:x.init(s.getState());return x==null?void 0:x.init(y4(h.name));case"COMMIT":if(d===void 0){x==null||x.init(s.getState());return}return x==null?void 0:x.init(y4(h.name));case"ROLLBACK":return n7(T.state,(N)=>{if(d===void 0){y(N),x==null||x.init(s.getState());return}y(N[d]),x==null||x.init(y4(h.name))});case"JUMP_TO_STATE":case"JUMP_TO_ACTION":return n7(T.state,(N)=>{if(d===void 0){y(N);return}if(JSON.stringify(s.getState())!==JSON.stringify(N[d]))y(N[d])});case"IMPORT_STATE":{let{nextLiftedState:N}=T.payload,j=(U=N.computedStates.slice(-1)[0])==null?void 0:U.state;if(!j)return;if(d===void 0)y(j);else y(j[d]);x==null||x.send(null,N);return}case"PAUSE_RECORDING":return b=!b}return}}),k},Rre=qze,n7=(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 Rz(e,r){let a;try{a=e()}catch(s){return}return{getItem:(s)=>{var l;let c=(h)=>{if(h===null)return null;return JSON.parse(h,r==null?void 0:r.reviver)},d=(l=a.getItem(s))!=null?l:null;if(d instanceof Promise)return d.then(c);return c(d)},setItem:(s,l)=>a.setItem(s,JSON.stringify(l,r==null?void 0:r.replacer)),removeItem:(s)=>a.removeItem(s)}}var i7=(e)=>(r)=>{try{let a=e(r);if(a instanceof Promise)return a;return{then(i){return i7(i)(a)},catch(i){return this}}}catch(a){return{then(i){return this},catch(i){return i7(i)(a)}}}},Hze=(e,r)=>(a,i,s)=>{let l={storage:Rz(()=>window.localStorage),partialize:(U)=>U,version:0,merge:(U,N)=>({...N,...U}),...r},c=!1,d=0,h=new Set,g=new Set,x=l.storage;if(!x)return e((...U)=>{console.warn(`[zustand persist middleware] Unable to update item '${l.name}', the given storage is currently unavailable.`),a(...U)},i,s);let v=()=>{let U=l.partialize({...i()});return x.setItem(l.name,{state:U,version:l.version})},b=s.setState;s.setState=(U,N)=>(b(U,N),v());let y=e((...U)=>(a(...U),v()),i,s);s.getInitialState=()=>y;let k,T=()=>{var U,N;if(!x)return;let j=++d;c=!1,h.forEach((X)=>{var J;return X((J=i())!=null?J:y)});let G=((N=l.onRehydrateStorage)==null?void 0:N.call(l,(U=i())!=null?U:y))||void 0;return i7(x.getItem.bind(x))(l.name).then((X)=>{if(X)if(typeof X.version==="number"&&X.version!==l.version){if(l.migrate){let J=l.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!==d)return;let[ee,re]=X;if(k=l.merge(re,(J=i())!=null?J:y),a(k,!0),ee)return v()}).then(()=>{if(j!==d)return;G==null||G(i(),void 0),k=i(),c=!0,g.forEach((X)=>X(k))}).catch((X)=>{if(j!==d)return;G==null||G(void 0,X)})};if(s.persist={setOptions:(U)=>{if(l={...l,...U},U.storage)x=U.storage},clearStorage:()=>{++d,x==null||x.removeItem(l.name)},getOptions:()=>l,rehydrate:()=>T(),hasHydrated:()=>c,onHydrate:(U)=>(h.add(U),()=>{h.delete(U)}),onFinishHydration:(U)=>(g.add(U),()=>{g.delete(U)})},!l.skipHydration)T();return k||y},Kk=Hze;var _f=Rr()(Kk((e)=>({user:null,setUser:(r)=>e({user:r}),clearAuth:()=>e({user:null})}),{name:"auth-storage",storage:Rz(()=>localStorage)}));var Vze=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"))_f.getState().clearAuth(),window.location.href="/login"}return a},A=a7("/",{fetch:Vze,init:{credentials:"include"}});S();var _4=(...e)=>e.filter((r,a,i)=>Boolean(r)&&r.trim()!==""&&i.indexOf(r)===a).join(" ").trim();var Pre=(e)=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();var Tre=(e)=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(r,a,i)=>i?i.toUpperCase():a.toLowerCase());var f7=(e)=>{let r=Tre(e);return r.charAt(0).toUpperCase()+r.slice(1)};S();var b4={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 Are=(e)=>{for(let r in e)if(r.startsWith("aria-")||r==="role"||r==="title")return!0;return!1};S();var Wze=lt({});var Ere=()=>pt(Wze);var Dre=F(({color:e,size:r,strokeWidth:a,absoluteStrokeWidth:i,className:s="",children:l,iconNode:c,...d},h)=>{let{size:g=24,strokeWidth:x=2,absoluteStrokeWidth:v=!1,color:b="currentColor",className:y=""}=Ere()??{},k=i??v?Number(a??x)*24/Number(r??g):a??x;return q("svg",{ref:h,...b4,width:r??g??b4.width,height:r??g??b4.height,stroke:e??b,strokeWidth:k,className:_4("lucide",y,s),...!l&&!Are(d)&&{"aria-hidden":"true"},...d},[...c.map(([T,U])=>q(T,U)),...Array.isArray(l)?l:[l]])});var I=(e,r)=>{let a=F(({className:i,...s},l)=>q(Dre,{ref:l,iconNode:r,className:_4(`lucide-${Pre(f7(e))}`,`lucide-${e}`,i),...s}));return a.displayName=f7(e),a};var Gze=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m16 9-5.5 5.5L8 12",key:"xofnsj"}]],lr=I("circle-check",Gze);var Kze=[["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"}]],zn=I("cloud-upload",Kze);var Xze=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M12 3v18",key:"108xh3"}]],f8=I("columns-2",Xze);var Qze=[["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"}]],Sr=I("ellipsis-vertical",Qze);var Jze=[["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"}]],or=I("ellipsis",Jze);var $ze=[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],O=I("loader-circle",$ze);var eSe=[["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"}]],s8=I("octagon-x",eSe);var tSe=[["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"}]],Tn=I("rotate-ccw-clock",tSe);var rSe=[["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"}]],Fo=I("square-kanban",rSe);var oSe=[["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"}]],Qr=I("square-pen",oSe);var aSe=[["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"}]],Kr=I("triangle-alert",aSe);var nSe=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],to=I("arrow-right",nSe);var iSe=[["path",{d:"m5 12 7-7 7 7",key:"hav0vg"}],["path",{d:"M12 19V5",key:"x0mq9r"}]],ea=I("arrow-up",iSe);var fSe=[["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"}]],ta=I("bookmark",fSe);var sSe=[["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"}]],Tt=I("bot",sSe);var lSe=[["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"}]],jn=I("calendar",lSe);var cSe=[["path",{d:"M18 6 7 17l-5-5",key:"116fxf"}],["path",{d:"m22 10-7.5 7.5L13 16",key:"ke71qq"}]],E2=I("check-check",cSe);var uSe=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],Pe=I("check",uSe);var dSe=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],ve=I("chevron-down",dSe);var ZSe=[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]],on=I("chevron-left",ZSe);var pSe=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],Et=I("chevron-right",pSe);var mSe=[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]],Ma=I("chevron-up",mSe);var hSe=[["path",{d:"m7 20 5-5 5 5",key:"13a0gw"}],["path",{d:"m7 4 5 5 5-5",key:"1kwcof"}]],Pz=I("chevrons-down-up",hSe);var gSe=[["path",{d:"m7 15 5 5 5-5",key:"1hf1tw"}],["path",{d:"m7 9 5-5 5 5",key:"sgt6xg"}]],Tz=I("chevrons-up-down",gSe);var MSe=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],D2=I("circle",MSe);var xSe=[["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"}]],O2=I("clapperboard",xSe);var vSe=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 6v6l4 2",key:"mmk7yg"}]],er=I("clock",vSe);var ySe=[["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"}]],ht=I("download",ySe);var _Se=[["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"}]],qn=I("file-text",_Se);var bSe=[["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"}]],tr=I("file",bSe);var wSe=[["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"}]],ka=I("files",wSe);var zSe=[["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"}]],Us=I("folder-clock",zSe);var SSe=[["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"}]],rr=I("folder",SSe);var LSe=[["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"}]],zs=I("grip-vertical",LSe);var kSe=[["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"}]],ro=I("image",kSe);var CSe=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]],Hn=I("info",CSe);var ISe=[["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"}]],no=I("layout-grid",ISe);var RSe=[["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"}]],js=I("link-2",RSe);var PSe=[["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"}]],Lo=I("list",PSe);var TSe=[["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"}]],sn=I("lock",TSe);var ASe=[["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"}]],N2=I("log-in",ASe);var ESe=[["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"}]],mi=I("mail",ESe);var DSe=[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]],XZ=I("menu",DSe);var OSe=[["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"}]],xo=I("message-square",OSe);var NSe=[["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"}]],Ra=I("paperclip",NSe);var FSe=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]],de=I("plus",FSe);var jSe=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],Ut=I("search",jSe);var BSe=[["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"}]],Pa=I("share-2",BSe);var USe=[["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"}]],So=I("target",USe);var YSe=[["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"}]],we=I("trash-2",YSe);var qSe=[["path",{d:"m16 11 2 2 4-4",key:"9rsbq5"}],["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"}]],Jo=I("user-check",qSe);var HSe=[["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"}]],F2=I("user-plus",HSe);var VSe=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],Ne=I("x",VSe);S();var Xk=Rr((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 sae(e){var r,a,i="";if(typeof e=="string"||typeof e=="number")i+=e;else if(typeof e=="object")if(Array.isArray(e)){var s=e.length;for(r=0;r<s;r++)e[r]&&(a=sae(e[r]))&&(i&&(i+=" "),i+=a)}else for(a in e)e[a]&&(i&&(i+=" "),i+=a);return i}function w4(){for(var e,r,a=0,i="",s=arguments.length;a<s;a++)(e=arguments[a])&&(r=sae(e))&&(i&&(i+=" "),i+=r);return i}var WSe=(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},GSe=(e,r)=>({classGroupId:e,validator:r}),pae=(e=new Map,r=null,a)=>({nextPart:e,validators:r,classGroupId:a});var lae=[];var KSe=(e)=>{let r=QSe(e),{conflictingClassGroups:a,conflictingClassGroupModifiers:i}=e;return{getClassGroupId:(c)=>{if(c.startsWith("[")&&c.endsWith("]"))return XSe(c);let d=c.split("-"),h=d[0]===""&&d.length>1?1:0;return mae(d,h,r)},getConflictingClassGroupIds:(c,d)=>{if(d){let h=i[c],g=a[c];if(h){if(g)return WSe(g,h);return h}return g||lae}return a[c]||lae}}},mae=(e,r,a)=>{if(e.length-r===0)return a.classGroupId;let s=e[r],l=a.nextPart.get(s);if(l){let g=mae(e,r+1,l);if(g)return g}let c=a.validators;if(c===null)return;let d=r===0?e.join("-"):e.slice(r).join("-"),h=c.length;for(let g=0;g<h;g++){let x=c[g];if(x.validator(d))return x.classGroupId}return},XSe=(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})(),QSe=(e)=>{let{theme:r,classGroups:a}=e;return JSe(a,r)},JSe=(e,r)=>{let a=pae();for(let i in e){let s=e[i];l7(s,a,i,r)}return a},l7=(e,r,a,i)=>{let s=e.length;for(let l=0;l<s;l++){let c=e[l];$Se(c,r,a,i)}},$Se=(e,r,a,i)=>{if(typeof e==="string"){eLe(e,r,a);return}if(typeof e==="function"){tLe(e,r,a,i);return}rLe(e,r,a,i)},eLe=(e,r,a)=>{let i=e===""?r:hae(r,e);i.classGroupId=a},tLe=(e,r,a,i)=>{if(oLe(e)){l7(e(i),r,a,i);return}if(r.validators===null)r.validators=[];r.validators.push(GSe(a,e))},rLe=(e,r,a,i)=>{let s=Object.entries(e),l=s.length;for(let c=0;c<l;c++){let[d,h]=s[c];l7(h,hae(r,d),a,i)}},hae=(e,r)=>{let a=e,i=r.split("-"),s=i.length;for(let l=0;l<s;l++){let c=i[l],d=a.nextPart.get(c);if(!d)d=pae(),a.nextPart.set(c,d);a=d}return a},oLe=(e)=>("isThemeGetter"in e)&&e.isThemeGetter===!0,aLe=(e)=>{if(e<1)return{get:()=>{return},set:()=>{}};let r=0,a=Object.create(null),i=Object.create(null),s=(l,c)=>{if(a[l]=c,r++,r>e)r=0,i=a,a=Object.create(null)};return{get(l){let c=a[l];if(c!==void 0)return c;if((c=i[l])!==void 0)return s(l,c),c},set(l,c){if(l in a)a[l]=c;else s(l,c)}}};var nLe=[],cae=(e,r,a,i,s)=>({modifiers:e,hasImportantModifier:r,baseClassName:a,maybePostfixModifierPosition:i,isExternal:s}),iLe=(e)=>{let{prefix:r,experimentalParseClassName:a}=e,i=(s)=>{let l=[],c=0,d=0,h=0,g,x=s.length;for(let T=0;T<x;T++){let U=s[T];if(c===0&&d===0){if(U===":"){l.push(s.slice(h,T)),h=T+1;continue}if(U==="/"){g=T;continue}}if(U==="[")c++;else if(U==="]")c--;else if(U==="(")d++;else if(U===")")d--}let v=l.length===0?s:s.slice(h),b=v,y=!1;if(v.endsWith("!"))b=v.slice(0,-1),y=!0;else if(v.startsWith("!"))b=v.slice(1),y=!0;let k=g&&g>h?g-h:void 0;return cae(l,y,b,k)};if(r){let s=r+":",l=i;i=(c)=>c.startsWith(s)?l(c.slice(s.length)):cae(nLe,!1,c,void 0,!0)}if(a){let s=i;i=(l)=>a({className:l,parseClassName:s})}return i},fLe=(e)=>{let r=new Map;return e.orderSensitiveModifiers.forEach((a,i)=>{r.set(a,1e6+i)}),(a)=>{let i=[],s=[];for(let l=0;l<a.length;l++){let c=a[l],d=c[0]==="[",h=r.has(c);if(d||h){if(s.length>0)s.sort(),i.push(...s),s=[];i.push(c)}else s.push(c)}if(s.length>0)s.sort(),i.push(...s);return i}},sLe=(e)=>({cache:aLe(e.cacheSize),parseClassName:iLe(e),sortModifiers:fLe(e),postfixLookupClassGroupIds:lLe(e),...KSe(e)}),lLe=(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},cLe=/\s+/,uLe=(e,r)=>{let{parseClassName:a,getClassGroupId:i,getConflictingClassGroupIds:s,sortModifiers:l,postfixLookupClassGroupIds:c}=r,d=[],h=e.trim().split(cLe),g="";for(let x=h.length-1;x>=0;x-=1){let v=h[x],{isExternal:b,modifiers:y,hasImportantModifier:k,baseClassName:T,maybePostfixModifierPosition:U}=a(v);if(b){g=v+(g.length>0?" "+g:g);continue}let N=!!U,j;if(N){let re=T.substring(0,U);j=i(re);let oe=j&&c[j]?i(T):void 0;if(oe&&oe!==j)j=oe,N=!1}else j=i(T);if(!j){if(!N){g=v+(g.length>0?" "+g:g);continue}if(j=i(T),!j){g=v+(g.length>0?" "+g:g);continue}N=!1}let G=y.length===0?"":y.length===1?y[0]:l(y).join(":"),X=k?G+"!":G,J=X+j;if(d.indexOf(J)>-1)continue;d.push(J);let ee=s(j,N);for(let re=0;re<ee.length;++re){let oe=ee[re];d.push(X+oe)}g=v+(g.length>0?" "+g:g)}return g},dLe=(...e)=>{let r=0,a,i,s="";while(r<e.length)if(a=e[r++]){if(i=gae(a))s&&(s+=" "),s+=i}return s},gae=(e)=>{if(typeof e==="string")return e;let r,a="";for(let i=0;i<e.length;i++)if(e[i]){if(r=gae(e[i]))a&&(a+=" "),a+=r}return a},ZLe=(e,...r)=>{let a,i,s,l,c=(h)=>{let g=r.reduce((x,v)=>v(x),e());return a=sLe(g),i=a.cache.get,s=a.cache.set,l=d,d(h)},d=(h)=>{let g=i(h);if(g)return g;let x=uLe(h,a);return s(h,x),x};return l=c,(...h)=>l(dLe(...h))},pLe=[],Li=(e)=>{let r=(a)=>a[e]||pLe;return r.isThemeGetter=!0,r},Mae=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,xae=/^\((?:(\w[\w-]*):)?(.+)\)$/i,mLe=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,hLe=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,gLe=/\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$/,MLe=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,xLe=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,vLe=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,u8=(e)=>mLe.test(e),vo=(e)=>!!e&&!Number.isNaN(Number(e)),nZ=(e)=>!!e&&Number.isInteger(Number(e)),s7=(e)=>e.endsWith("%")&&vo(e.slice(0,-1)),QZ=(e)=>hLe.test(e),vae=()=>!0,yLe=(e)=>gLe.test(e)&&!MLe.test(e),c7=()=>!1,_Le=(e)=>xLe.test(e),bLe=(e)=>vLe.test(e),wLe=(e)=>!Mr(e)&&!Lr(e),zLe=(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)),SLe=(e)=>d8(e,bae,c7),Mr=(e)=>Mae.test(e),Az=(e)=>d8(e,wae,yLe),uae=(e)=>d8(e,ALe,vo),LLe=(e)=>d8(e,Sae,vae),kLe=(e)=>d8(e,zae,c7),dae=(e)=>d8(e,yae,c7),CLe=(e)=>d8(e,_ae,bLe),z4=(e)=>d8(e,Lae,_Le),Lr=(e)=>xae.test(e),Q2=(e)=>Ez(e,wae),ILe=(e)=>Ez(e,zae),Zae=(e)=>Ez(e,yae),RLe=(e)=>Ez(e,bae),PLe=(e)=>Ez(e,_ae),S4=(e)=>Ez(e,Lae,!0),TLe=(e)=>Ez(e,Sae,!0),d8=(e,r,a)=>{let i=Mae.exec(e);if(i){if(i[1])return r(i[1]);return a(i[2])}return!1},Ez=(e,r,a=!1)=>{let i=xae.exec(e);if(i){if(i[1])return r(i[1]);return a}return!1},yae=(e)=>e==="position"||e==="percentage",_ae=(e)=>e==="image"||e==="url",bae=(e)=>e==="length"||e==="size"||e==="bg-size",wae=(e)=>e==="length",ALe=(e)=>e==="number",zae=(e)=>e==="family-name",Sae=(e)=>e==="number"||e==="weight",Lae=(e)=>e==="shadow";var ELe=()=>{let e=Li("color"),r=Li("font"),a=Li("text"),i=Li("font-weight"),s=Li("tracking"),l=Li("leading"),c=Li("breakpoint"),d=Li("container"),h=Li("spacing"),g=Li("radius"),x=Li("shadow"),v=Li("inset-shadow"),b=Li("text-shadow"),y=Li("drop-shadow"),k=Li("blur"),T=Li("perspective"),U=Li("aspect"),N=Li("ease"),j=Li("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(),Lr,Mr],ee=()=>["auto","hidden","clip","visible","scroll"],re=()=>["auto","contain","none"],oe=()=>[Lr,Mr,h],fe=()=>[u8,"full","auto",...oe()],be=()=>[nZ,"none","subgrid",Lr,Mr],We=()=>["auto",{span:["full",nZ,Lr,Mr]},nZ,Lr,Mr],Ye=()=>[nZ,"auto",Lr,Mr],Se=()=>["auto","min","max","fr",Lr,Mr],He=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],ft=()=>["start","end","center","stretch","center-safe","end-safe"],Je=()=>["auto",...oe()],xt=()=>[u8,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...oe()],Ft=()=>[u8,"screen","full","dvw","lvw","svw","min","max","fit",...oe()],Bt=()=>[u8,"screen","full","lh","dvh","lvh","svh","min","max","fit",...oe()],ie=()=>[e,Lr,Mr],bt=()=>[...X(),Zae,dae,{position:[Lr,Mr]}],Wt=()=>["no-repeat",{repeat:["","x","y","space","round"]}],Fe=()=>["auto","cover","contain",RLe,SLe,{size:[Lr,Mr]}],ir=()=>[s7,Q2,Az],fr=()=>["","none","full",g,Lr,Mr],Jt=()=>["",vo,Q2,Az],Fr=()=>["solid","dashed","dotted","double"],Gt=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Xt=()=>[vo,s7,Zae,dae],Ir=()=>["","none",k,Lr,Mr],yr=()=>["none",vo,Lr,Mr],Tr=()=>["none",vo,Lr,Mr],pr=()=>[vo,Lr,Mr],mo=()=>[u8,"full",...oe()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[QZ],breakpoint:[QZ],color:[vae],container:[QZ],"drop-shadow":[QZ],ease:["in","out","in-out"],font:[wLe],"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",vo],text:[QZ],"text-shadow":[QZ],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",u8,Mr,Lr,U]}],container:["container"],"container-type":[{"@container":["","normal","size",Lr,Mr]}],"container-named":[zLe],columns:[{columns:[vo,Mr,Lr,d]}],"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:re()}],"overscroll-x":[{"overscroll-x":re()}],"overscroll-y":[{"overscroll-y":re()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:fe()}],"inset-x":[{"inset-x":fe()}],"inset-y":[{"inset-y":fe()}],start:[{"inset-s":fe(),start:fe()}],end:[{"inset-e":fe(),end:fe()}],"inset-bs":[{"inset-bs":fe()}],"inset-be":[{"inset-be":fe()}],top:[{top:fe()}],right:[{right:fe()}],bottom:[{bottom:fe()}],left:[{left:fe()}],visibility:["visible","invisible","collapse"],z:[{z:[nZ,"auto",Lr,Mr]}],basis:[{basis:[u8,"full","auto",d,...oe()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[vo,u8,"auto","initial","none",Mr]}],grow:[{grow:["",vo,Lr,Mr]}],shrink:[{shrink:["",vo,Lr,Mr]}],order:[{order:[nZ,"first","last","none",Lr,Mr]}],"grid-cols":[{"grid-cols":be()}],"col-start-end":[{col:We()}],"col-start":[{"col-start":Ye()}],"col-end":[{"col-end":Ye()}],"grid-rows":[{"grid-rows":be()}],"row-start-end":[{row:We()}],"row-start":[{"row-start":Ye()}],"row-end":[{"row-end":Ye()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":Se()}],"auto-rows":[{"auto-rows":Se()}],gap:[{gap:oe()}],"gap-x":[{"gap-x":oe()}],"gap-y":[{"gap-y":oe()}],"justify-content":[{justify:[...He(),"normal"]}],"justify-items":[{"justify-items":[...ft(),"normal"]}],"justify-self":[{"justify-self":["auto",...ft()]}],"align-content":[{content:["normal",...He()]}],"align-items":[{items:[...ft(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...ft(),{baseline:["","last"]}]}],"place-content":[{"place-content":He()}],"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:Je()}],mx:[{mx:Je()}],my:[{my:Je()}],ms:[{ms:Je()}],me:[{me:Je()}],mbs:[{mbs:Je()}],mbe:[{mbe:Je()}],mt:[{mt:Je()}],mr:[{mr:Je()}],mb:[{mb:Je()}],ml:[{ml:Je()}],"space-x":[{"space-x":oe()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":oe()}],"space-y-reverse":["space-y-reverse"],size:[{size:xt()}],"inline-size":[{inline:["auto",...Ft()]}],"min-inline-size":[{"min-inline":["auto",...Ft()]}],"max-inline-size":[{"max-inline":["none",...Ft()]}],"block-size":[{block:["auto",...Bt()]}],"min-block-size":[{"min-block":["auto",...Bt()]}],"max-block-size":[{"max-block":["none",...Bt()]}],w:[{w:[d,"screen",...xt()]}],"min-w":[{"min-w":[d,"screen","none",...xt()]}],"max-w":[{"max-w":[d,"screen","none","prose",{screen:[c]},...xt()]}],h:[{h:["screen","lh",...xt()]}],"min-h":[{"min-h":["screen","lh","none",...xt()]}],"max-h":[{"max-h":["screen","lh",...xt()]}],"font-size":[{text:["base",a,Q2,Az]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[i,TLe,LLe]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",s7,Mr]}],"font-family":[{font:[ILe,kLe,r]}],"font-features":[{"font-features":[Mr]}],"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:[s,Lr,Mr]}],"line-clamp":[{"line-clamp":[vo,"none",Lr,uae]}],leading:[{leading:[l,...oe()]}],"list-image":[{"list-image":["none",Lr,Mr]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",Lr,Mr]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:ie()}],"text-color":[{text:ie()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Fr(),"wavy"]}],"text-decoration-thickness":[{decoration:[vo,"from-font","auto",Lr,Az]}],"text-decoration-color":[{decoration:ie()}],"underline-offset":[{"underline-offset":[vo,"auto",Lr,Mr]}],"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,Lr,Mr]}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Lr,Mr]}],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",Lr,Mr]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:bt()}],"bg-repeat":[{bg:Wt()}],"bg-size":[{bg:Fe()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},nZ,Lr,Mr],radial:["",Lr,Mr],conic:[nZ,Lr,Mr]},PLe,CLe]}],"bg-color":[{bg:ie()}],"gradient-from-pos":[{from:ir()}],"gradient-via-pos":[{via:ir()}],"gradient-to-pos":[{to:ir()}],"gradient-from":[{from:ie()}],"gradient-via":[{via:ie()}],"gradient-to":[{to:ie()}],rounded:[{rounded:fr()}],"rounded-s":[{"rounded-s":fr()}],"rounded-e":[{"rounded-e":fr()}],"rounded-t":[{"rounded-t":fr()}],"rounded-r":[{"rounded-r":fr()}],"rounded-b":[{"rounded-b":fr()}],"rounded-l":[{"rounded-l":fr()}],"rounded-ss":[{"rounded-ss":fr()}],"rounded-se":[{"rounded-se":fr()}],"rounded-ee":[{"rounded-ee":fr()}],"rounded-es":[{"rounded-es":fr()}],"rounded-tl":[{"rounded-tl":fr()}],"rounded-tr":[{"rounded-tr":fr()}],"rounded-br":[{"rounded-br":fr()}],"rounded-bl":[{"rounded-bl":fr()}],"border-w":[{border:Jt()}],"border-w-x":[{"border-x":Jt()}],"border-w-y":[{"border-y":Jt()}],"border-w-s":[{"border-s":Jt()}],"border-w-e":[{"border-e":Jt()}],"border-w-bs":[{"border-bs":Jt()}],"border-w-be":[{"border-be":Jt()}],"border-w-t":[{"border-t":Jt()}],"border-w-r":[{"border-r":Jt()}],"border-w-b":[{"border-b":Jt()}],"border-w-l":[{"border-l":Jt()}],"divide-x":[{"divide-x":Jt()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":Jt()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...Fr(),"hidden","none"]}],"divide-style":[{divide:[...Fr(),"hidden","none"]}],"border-color":[{border:ie()}],"border-color-x":[{"border-x":ie()}],"border-color-y":[{"border-y":ie()}],"border-color-s":[{"border-s":ie()}],"border-color-e":[{"border-e":ie()}],"border-color-bs":[{"border-bs":ie()}],"border-color-be":[{"border-be":ie()}],"border-color-t":[{"border-t":ie()}],"border-color-r":[{"border-r":ie()}],"border-color-b":[{"border-b":ie()}],"border-color-l":[{"border-l":ie()}],"divide-color":[{divide:ie()}],"outline-style":[{outline:[...Fr(),"none","hidden"]}],"outline-offset":[{"outline-offset":[vo,Lr,Mr]}],"outline-w":[{outline:["",vo,Q2,Az]}],"outline-color":[{outline:ie()}],shadow:[{shadow:["","none",x,S4,z4]}],"shadow-color":[{shadow:ie()}],"inset-shadow":[{"inset-shadow":["none",v,S4,z4]}],"inset-shadow-color":[{"inset-shadow":ie()}],"ring-w":[{ring:Jt()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:ie()}],"ring-offset-w":[{"ring-offset":[vo,Az]}],"ring-offset-color":[{"ring-offset":ie()}],"inset-ring-w":[{"inset-ring":Jt()}],"inset-ring-color":[{"inset-ring":ie()}],"text-shadow":[{"text-shadow":["none",b,S4,z4]}],"text-shadow-color":[{"text-shadow":ie()}],opacity:[{opacity:[vo,Lr,Mr]}],"mix-blend":[{"mix-blend":[...Gt(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":Gt()}],"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":[vo]}],"mask-image-linear-from-pos":[{"mask-linear-from":Xt()}],"mask-image-linear-to-pos":[{"mask-linear-to":Xt()}],"mask-image-linear-from-color":[{"mask-linear-from":ie()}],"mask-image-linear-to-color":[{"mask-linear-to":ie()}],"mask-image-t-from-pos":[{"mask-t-from":Xt()}],"mask-image-t-to-pos":[{"mask-t-to":Xt()}],"mask-image-t-from-color":[{"mask-t-from":ie()}],"mask-image-t-to-color":[{"mask-t-to":ie()}],"mask-image-r-from-pos":[{"mask-r-from":Xt()}],"mask-image-r-to-pos":[{"mask-r-to":Xt()}],"mask-image-r-from-color":[{"mask-r-from":ie()}],"mask-image-r-to-color":[{"mask-r-to":ie()}],"mask-image-b-from-pos":[{"mask-b-from":Xt()}],"mask-image-b-to-pos":[{"mask-b-to":Xt()}],"mask-image-b-from-color":[{"mask-b-from":ie()}],"mask-image-b-to-color":[{"mask-b-to":ie()}],"mask-image-l-from-pos":[{"mask-l-from":Xt()}],"mask-image-l-to-pos":[{"mask-l-to":Xt()}],"mask-image-l-from-color":[{"mask-l-from":ie()}],"mask-image-l-to-color":[{"mask-l-to":ie()}],"mask-image-x-from-pos":[{"mask-x-from":Xt()}],"mask-image-x-to-pos":[{"mask-x-to":Xt()}],"mask-image-x-from-color":[{"mask-x-from":ie()}],"mask-image-x-to-color":[{"mask-x-to":ie()}],"mask-image-y-from-pos":[{"mask-y-from":Xt()}],"mask-image-y-to-pos":[{"mask-y-to":Xt()}],"mask-image-y-from-color":[{"mask-y-from":ie()}],"mask-image-y-to-color":[{"mask-y-to":ie()}],"mask-image-radial":[{"mask-radial":[Lr,Mr]}],"mask-image-radial-from-pos":[{"mask-radial-from":Xt()}],"mask-image-radial-to-pos":[{"mask-radial-to":Xt()}],"mask-image-radial-from-color":[{"mask-radial-from":ie()}],"mask-image-radial-to-color":[{"mask-radial-to":ie()}],"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":[vo]}],"mask-image-conic-from-pos":[{"mask-conic-from":Xt()}],"mask-image-conic-to-pos":[{"mask-conic-to":Xt()}],"mask-image-conic-from-color":[{"mask-conic-from":ie()}],"mask-image-conic-to-color":[{"mask-conic-to":ie()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:bt()}],"mask-repeat":[{mask:Wt()}],"mask-size":[{mask:Fe()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",Lr,Mr]}],filter:[{filter:["","none",Lr,Mr]}],blur:[{blur:Ir()}],brightness:[{brightness:[vo,Lr,Mr]}],contrast:[{contrast:[vo,Lr,Mr]}],"drop-shadow":[{"drop-shadow":["","none",y,S4,z4]}],"drop-shadow-color":[{"drop-shadow":ie()}],grayscale:[{grayscale:["",vo,Lr,Mr]}],"hue-rotate":[{"hue-rotate":[vo,Lr,Mr]}],invert:[{invert:["",vo,Lr,Mr]}],saturate:[{saturate:[vo,Lr,Mr]}],sepia:[{sepia:["",vo,Lr,Mr]}],"backdrop-filter":[{"backdrop-filter":["","none",Lr,Mr]}],"backdrop-blur":[{"backdrop-blur":Ir()}],"backdrop-brightness":[{"backdrop-brightness":[vo,Lr,Mr]}],"backdrop-contrast":[{"backdrop-contrast":[vo,Lr,Mr]}],"backdrop-grayscale":[{"backdrop-grayscale":["",vo,Lr,Mr]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[vo,Lr,Mr]}],"backdrop-invert":[{"backdrop-invert":["",vo,Lr,Mr]}],"backdrop-opacity":[{"backdrop-opacity":[vo,Lr,Mr]}],"backdrop-saturate":[{"backdrop-saturate":[vo,Lr,Mr]}],"backdrop-sepia":[{"backdrop-sepia":["",vo,Lr,Mr]}],"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",Lr,Mr]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[vo,"initial",Lr,Mr]}],ease:[{ease:["linear","initial",N,Lr,Mr]}],delay:[{delay:[vo,Lr,Mr]}],animate:[{animate:["none",j,Lr,Mr]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[T,Lr,Mr]}],"perspective-origin":[{"perspective-origin":J()}],rotate:[{rotate:yr()}],"rotate-x":[{"rotate-x":yr()}],"rotate-y":[{"rotate-y":yr()}],"rotate-z":[{"rotate-z":yr()}],scale:[{scale:Tr()}],"scale-x":[{"scale-x":Tr()}],"scale-y":[{"scale-y":Tr()}],"scale-z":[{"scale-z":Tr()}],"scale-3d":["scale-3d"],skew:[{skew:pr()}],"skew-x":[{"skew-x":pr()}],"skew-y":[{"skew-y":pr()}],transform:[{transform:[Lr,Mr,"","none","gpu","cpu"]}],"transform-origin":[{origin:J()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:mo()}],"translate-x":[{"translate-x":mo()}],"translate-y":[{"translate-y":mo()}],"translate-z":[{"translate-z":mo()}],"translate-none":["translate-none"],zoom:[{zoom:[nZ,Lr,Mr]}],accent:[{accent:ie()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:ie()}],"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",Lr,Mr]}],"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":ie()}],"scrollbar-track-color":[{"scrollbar-track":ie()}],"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",Lr,Mr]}],fill:[{fill:["none",...ie()]}],"stroke-w":[{stroke:[vo,Q2,Az,uae]}],stroke:[{stroke:["none",...ie()]}],"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 kae=ZLe(ELe);function E(...e){return kae(w4(e))}var Cae=(e)=>typeof e==="boolean"?`${e}`:e===0?"0":e,Iae=w4,ps=(e,r)=>(a)=>{var i;if((r===null||r===void 0?void 0:r.variants)==null)return Iae(e,a===null||a===void 0?void 0:a.class,a===null||a===void 0?void 0:a.className);let{variants:s,defaultVariants:l}=r,c=Object.keys(s).map((g)=>{let x=a===null||a===void 0?void 0:a[g],v=l===null||l===void 0?void 0:l[g];if(x===null)return null;let b=Cae(x)||Cae(v);return s[g][b]}),d=a&&Object.entries(a).reduce((g,x)=>{let[v,b]=x;if(b===void 0)return g;return g[v]=b,g},{}),h=r===null||r===void 0?void 0:(i=r.compoundVariants)===null||i===void 0?void 0:i.reduce((g,x)=>{let{class:v,className:b,...y}=x;return Object.entries(y).every((k)=>{let[T,U]=k;return Array.isArray(U)?U.includes({...l,...d}[T]):{...l,...d}[T]===U})?[...g,v,b]:g},[]);return Iae(e,c,h,a===null||a===void 0?void 0:a.class,a===null||a===void 0?void 0:a.className)};S();S();var DLe=Object.defineProperty,xc=(e,r)=>DLe(e,"name",{value:r,configurable:!0});function OLe(e,r){let a=lt(r);a.displayName=e+"Context";let i=xc((l)=>{let{children:c,...d}=l,h=D(()=>d,Object.values(d));return t(a.Provider,{value:h,children:c})},"Provider");i.displayName=e+"Provider";function s(l,c={}){let{optional:d=!1}=c,h=pt(a);if(h)return h;if(r!==void 0)return r;if(d)return;throw Error(`\`${l}\` must be used within \`${e}\``)}return xc(s,"useContext"),[i,s]}xc(OLe,"createContext");function gt(e,r=[]){let a=[];function i(l,c){let d=lt(c);d.displayName=l+"Context";let h=a.length;a=[...a,c];let g=xc((v)=>{let{scope:b,children:y,...k}=v,T=b?.[e]?.[h]||d,U=D(()=>k,Object.values(k));return t(T.Provider,{value:U,children:y})},"Provider");g.displayName=l+"Provider";function x(v,b,y={}){let{optional:k=!1}=y,T=b?.[e]?.[h]||d,U=pt(T);if(U)return U;if(c!==void 0)return c;if(k)return;throw Error(`\`${v}\` must be used within \`${l}\``)}return xc(x,"useContext"),[g,x]}xc(i,"createContext");let s=xc(()=>{let l=a.map((c)=>lt(c));return xc(function(d){let h=d?.[e]||l;return D(()=>({[`__scope${e}`]:{...d,[e]:h}}),[d,h])},"useScope")},"createScope");return s.scopeName=e,[i,Rae(s,...r)]}xc(gt,"createContextScope");function Rae(...e){let r=e[0];if(e.length===1)return r;let a=xc(()=>{let i=e.map((s)=>({useScope:s(),scopeName:s.scopeName}));return xc(function(l){let c=i.reduce((d,{useScope:h,scopeName:g})=>{let v=h(l)[`__scope${g}`];return{...d,...v}},{});return D(()=>({[`__scope${r.scopeName}`]:c}),[c])},"useComposedScopes")},"createScope");return a.scopeName=r.scopeName,a}xc(Rae,"composeContextScopes");S();var NLe=Object.defineProperty,d7=(e,r)=>NLe(e,"name",{value:r,configurable:!0});function u7(e,r){if(typeof e==="function")return e(r);else if(e!==null&&e!==void 0)e.current=r}d7(u7,"setRef");function Pae(...e){return(r)=>{let a=!1,i=e.map((s)=>{let l=u7(s,r);if(!a&&typeof l=="function")a=!0;return l});if(a)return()=>{for(let s=0;s<i.length;s++){let l=i[s];if(typeof l=="function")l();else u7(e[s],null)}}}}d7(Pae,"composeRefs");function ye(...e){return P(Pae(...e),e)}d7(ye,"useComposedRefs");S();var FLe=Object.defineProperty,Qk=(e,r)=>FLe(e,"name",{value:r,configurable:!0}),Tae=!!(typeof window<"u"&&window.document&&window.document.createElement);function Y(e,r,{checkForDefaultPrevented:a=!0}={}){return Qk(function(s){if(e?.(s),a===!1||!s||!s.defaultPrevented)return r?.(s)},"handleEvent")}Qk(Y,"composeEventHandlers");function jLe(e){if(!Tae)throw Error("Cannot access window outside of the DOM");return e?.ownerDocument?.defaultView??window}Qk(jLe,"getOwnerWindow");function Z7(e){if(!Tae)throw Error("Cannot access document outside of the DOM");return e?.ownerDocument??document}Qk(Z7,"getOwnerDocument");function Aae(e,r=!1){let{activeElement:a}=Z7(e);if(!a?.nodeName)return null;if(Eae(a)&&a.contentDocument)return Aae(a.contentDocument.body,r);if(r){let i=a.getAttribute("aria-activedescendant");if(i){let s=Z7(a).getElementById(i);if(s)return s}}return a}Qk(Aae,"getActiveElement");function Eae(e){return e.tagName==="IFRAME"}Qk(Eae,"isFrame");S();S();var Pt=globalThis?.document?$e:()=>{};var BLe=Object.defineProperty,ULe=(e,r)=>BLe(e,"name",{value:r,configurable:!0}),YLe=Q[" useId ".trim().toString()]||(()=>{return}),qLe=0;function Er(e){let[r,a]=u(YLe());return Pt(()=>{if(!e)a((i)=>i??String(qLe++))},[e]),e||(r?`radix-${r}`:"")}ULe(Er,"useId");S();var hi=!1;S();S();var HLe=Object.defineProperty,VLe=(e,r)=>HLe(e,"name",{value:r,configurable:!0}),Dae=Q[" useEffectEvent ".trim().toString()],Oae=Q[" useInsertionEffect ".trim().toString()];function p7(e){if(typeof Dae==="function")return Dae(e);let r=_(()=>{throw Error("Cannot call an event handler while rendering.")});if(typeof Oae==="function")Oae(()=>{r.current=e});else Pt(()=>{r.current=e});return D(()=>(...a)=>r.current?.(...a),[])}VLe(p7,"useEffectEvent");var WLe=Object.defineProperty,J2=(e,r)=>WLe(e,"name",{value:r,configurable:!0}),GLe=Q[" useInsertionEffect ".trim().toString()]||Pt;function Lt({prop:e,defaultProp:r,onChange:a=J2(()=>{},"onChange"),caller:i}){let[s,l,c]=Fae({defaultProp:r,onChange:a}),d=e!==void 0,h=d?e:s;if(hi){let x=_(e!==void 0);m(()=>{let v=x.current;if(v!==d)console.warn(`${i} is changing from ${v?"controlled":"uncontrolled"} to ${d?"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.`);x.current=d},[d,i])}let g=P((x)=>{if(d){let v=jae(x)?x(e):x;if(v!==e)c.current?.(v)}else l(x)},[d,e,l,c]);return[h,g]}J2(Lt,"useControllableState");function Fae({defaultProp:e,onChange:r}){let[a,i]=u(e),s=_(a),l=_(r);return GLe(()=>{l.current=r},[r]),m(()=>{if(s.current!==a)l.current?.(a),s.current=a},[a,s]),[a,i,l]}J2(Fae,"useUncontrolledState");function jae(e){return typeof e==="function"}J2(jae,"isFunction");var Nae=Symbol("RADIX:SYNC_STATE");function KLe(e,r,a,i){let{prop:s,defaultProp:l,onChange:c,caller:d}=r,h=s!==void 0,g=p7(c);if(hi){let U=_(s!==void 0);m(()=>{let N=U.current;if(N!==h)console.warn(`${d} is changing from ${N?"controlled":"uncontrolled"} to ${h?"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.`);U.current=h},[h,d])}let x=[{...a,state:l}];if(i)x.push(i);let[v,b]=rn((U,N)=>{if(N.type===Nae)return{...U,state:N.state};let j=e(U,N);if(h&&!Object.is(j.state,U.state))g(j.state);return j},...x),y=v.state,k=_(y);m(()=>{if(k.current!==y){if(k.current=y,!h)g(y)}},[y,k,h]);let T=D(()=>{if(s!==void 0)return{...v,state:s};return v},[v,s]);return m(()=>{if(h&&!Object.is(s,v.state))b({type:Nae,state:s})},[s,v.state,h]),[T,b]}J2(KLe,"useControllableStateReducer");S();S();S();var XLe=Object.defineProperty,uu=(e,r)=>XLe(e,"name",{value:r,configurable:!0});function Oi(e){let r=F((a,i)=>{let{children:s,...l}=a,c=null,d=!1,h=[];if(m7(s)&&typeof L4==="function")s=L4(s._payload);if(ac.forEach(s,(b)=>{if(Hae(b)){d=!0;let y=b,k="child"in y.props?y.props.child:y.props.children;if(m7(k)&&typeof L4==="function")k=L4(k._payload);c=QLe(y,k),h.push(c?.props?.children)}else h.push(b)}),c)c=Ou(c,void 0,h);else if(!d&&ac.count(s)===1&&os(s))c=s;let g=c?qae(c):void 0,x=ye(i,g);if(!c){if(s||s===0)throw Error(d?eke(e):$Le(e));return s}let v=Yae(l,c.props??{});if(c.type!==In)v.ref=i?x:g;return Ou(c,v)});return r.displayName=`${e}.Slot`,r}uu(Oi,"createSlot");var Bae=Oi("Slot"),Uae=Symbol.for("radix.slottable");function h7(e){let r=uu((a)=>("child"in a)?a.children(a.child):a.children,"Slottable");return r.displayName=`${e}.Slottable`,r.__radixId=Uae,r}uu(h7,"createSlottable");var QLe=uu((e,r)=>{if("child"in e.props){let a=e.props.child;if(!os(a))return null;return Ou(a,void 0,e.props.children(a.props.children))}return os(r)?r:null},"getSlottableElementFromSlottable");function Yae(e,r){let a={...r};for(let i in r){let s=e[i],l=r[i];if(/^on[A-Z]/.test(i)){if(s&&l)a[i]=(...d)=>{let h=l(...d);return s(...d),h};else if(s)a[i]=s}else if(i==="style")a[i]={...s,...l};else if(i==="className")a[i]=[s,l].filter(Boolean).join(" ")}return{...e,...a}}uu(Yae,"mergeProps");function qae(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}uu(qae,"getElementRef");function Hae(e){return os(e)&&typeof e.type==="function"&&"__radixId"in e.type&&e.type.__radixId===Uae}uu(Hae,"isSlottable");var JLe=Symbol.for("react.lazy");function m7(e){return e!=null&&typeof e==="object"&&"$$typeof"in e&&e.$$typeof===JLe&&"_payload"in e&&Vae(e._payload)}uu(m7,"isLazyComponent");function Vae(e){return typeof e==="object"&&e!==null&&"then"in e}uu(Vae,"isPromiseLike");var $Le=uu((e)=>`${e} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`,"createSlotError"),eke=uu((e)=>`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,"createSlottableError"),L4=Q[" use ".trim().toString()];var tke=Object.defineProperty,rke=(e,r)=>tke(e,"name",{value:r,configurable:!0}),oke=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],se=oke.reduce((e,r)=>{let a=Oi(`Primitive.${r}`),i=F((s,l)=>{let{asChild:c,...d}=s,h=c?a:r;if(typeof window<"u")window[Symbol.for("radix-ui")]=!0;return t(h,{...d,ref:l})});return i.displayName=`Primitive.${r}`,{...e,[r]:i}},{});function $2(e,r){if(e)nn(()=>e.dispatchEvent(r))}rke($2,"dispatchDiscreteCustomEvent");S();var ake=Object.defineProperty,nke=(e,r)=>ake(e,"name",{value:r,configurable:!0});function Qo(e){let r=_(e);return m(()=>{r.current=e}),D(()=>(...a)=>r.current?.(...a),[])}nke(Qo,"useCallbackRef");var ike=Object.defineProperty,Ni=(e,r)=>ike(e,"name",{value:r,configurable:!0}),M7="dismissableLayer.update",fke="dismissableLayer.pointerDownOutside",ske="dismissableLayer.focusOutside",Wae,Gae=lt({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set,dismissableSurfaces:new Set}),iZ=F(Ni(function(r,a){let{disableOutsidePointerEvents:i=!1,deferPointerDownOutside:s=!1,onEscapeKeyDown:l,onPointerDownOutside:c,onFocusOutside:d,onInteractOutside:h,onDismiss:g,...x}=r,v=pt(Gae),[b,y]=u(null),k=b?.ownerDocument??globalThis?.document,[,T]=u({}),U=ye(a,y),N=Array.from(v.layers),[j]=[...v.layersWithOutsidePointerEventsDisabled].slice(-1),G=j?N.indexOf(j):-1,X=b?N.indexOf(b):-1,J=v.layersWithOutsidePointerEventsDisabled.size>0,ee=X>=G,re=_(!1),oe=Kae((Ye)=>{if(c?.(Ye),h?.(Ye),!Ye.defaultPrevented)g?.()},{ownerDocument:k,deferPointerDownOutside:s,isDeferredPointerDownOutsideRef:re,dismissableSurfaces:v.dismissableSurfaces,shouldHandlePointerDownOutside:P((Ye)=>{if(!(Ye instanceof Node))return!1;let Se=[...v.branches].some((He)=>He.contains(Ye));return ee&&!Se},[v.branches,ee])}),fe=Xae((Ye)=>{if(s&&re.current)return;let Se=Ye.target;if([...v.branches].some((ft)=>ft.contains(Se)))return;if(d?.(Ye),h?.(Ye),!Ye.defaultPrevented)g?.()},k),be=b?X===N.length-1:!1,We=Qo((Ye)=>{if(Ye.key!=="Escape")return;if(l?.(Ye),!Ye.defaultPrevented&&g)Ye.preventDefault(),g()});return m(()=>{if(!be)return;return k.addEventListener("keydown",We,{capture:!0}),()=>k.removeEventListener("keydown",We,{capture:!0})},[k,be,We]),m(()=>{if(!b)return;if(i){if(v.layersWithOutsidePointerEventsDisabled.size===0)Wae=k.body.style.pointerEvents,k.body.style.pointerEvents="none";v.layersWithOutsidePointerEventsDisabled.add(b)}return v.layers.add(b),x7(),()=>{if(i){if(v.layersWithOutsidePointerEventsDisabled.delete(b),v.layersWithOutsidePointerEventsDisabled.size===0)k.body.style.pointerEvents=Wae}}},[b,k,i,v]),m(()=>()=>{if(!b)return;v.layers.delete(b),v.layersWithOutsidePointerEventsDisabled.delete(b),x7()},[b,v]),m(()=>{let Ye=Ni(()=>T({}),"handleUpdate");return document.addEventListener(M7,Ye),()=>document.removeEventListener(M7,Ye)},[]),t(se.div,{...x,ref:U,style:{pointerEvents:J?ee?"auto":"none":void 0,...r.style},onFocusCapture:Y(r.onFocusCapture,fe.onFocusCapture),onBlurCapture:Y(r.onBlurCapture,fe.onBlurCapture),onPointerDownCapture:Y(r.onPointerDownCapture,oe.onPointerDownCapture)})},"DismissableLayer"));function v7(){let e=pt(Gae),[r,a]=u(null);return m(()=>{if(!r)return;return e.dismissableSurfaces.add(r),()=>{e.dismissableSurfaces.delete(r)}},[r,e.dismissableSurfaces]),a}Ni(v7,"useDismissableLayerSurface");var lke=Ni(()=>!0,"IS_TRUE");function Kae(e,r){let{ownerDocument:a=globalThis?.document,deferPointerDownOutside:i=!1,isDeferredPointerDownOutsideRef:s,dismissableSurfaces:l,shouldHandlePointerDownOutside:c=lke}=r,d=Qo(e),h=_(!1),g=_(!1),x=_(new Map),v=_(()=>{});return m(()=>{function b(){g.current=!1,s.current=!1,x.current.clear()}Ni(b,"resetOutsideInteraction");function y(){return Array.from(x.current.values()).some(Boolean)}Ni(y,"isOutsideInteractionIntercepted");function k(G){if(!g.current)return;let X=G.target;if(!(X instanceof Node&&[...l].some((ee)=>ee.contains(X))))x.current.set(G.type,!0);if(G.type==="click")window.setTimeout(()=>{if(g.current)v.current()},0)}Ni(k,"handleInteractionCapture");function T(G){if(g.current)x.current.set(G.type,!1)}Ni(T,"handleInteractionBubble");let U=Ni((G)=>{if(G.target&&!h.current){let J=function(){a.removeEventListener("click",v.current);let re=y();if(b(),!re)y7(fke,d,ee,{discrete:!0})};var X=J;if(Ni(J,"handleAndDispatchPointerDownOutsideEvent"),!c(G.target)){a.removeEventListener("click",v.current),b(),h.current=!1;return}let ee={originalEvent:G};if(g.current=!0,s.current=i&&G.button===0,x.current.clear(),!i||G.button!==0)J();else a.removeEventListener("click",v.current),v.current=J,a.addEventListener("click",v.current,{once:!0})}else a.removeEventListener("click",v.current),b();h.current=!1},"handlePointerDown"),N=["pointerup","mousedown","mouseup","touchstart","touchend","click"];for(let G of N)a.addEventListener(G,k,!0),a.addEventListener(G,T);let j=window.setTimeout(()=>{a.addEventListener("pointerdown",U)},0);return()=>{window.clearTimeout(j),a.removeEventListener("pointerdown",U),a.removeEventListener("click",v.current);for(let G of N)a.removeEventListener(G,k,!0),a.removeEventListener(G,T)}},[a,d,i,s,l,c]),{onPointerDownCapture:Ni(()=>h.current=!0,"onPointerDownCapture")}}Ni(Kae,"usePointerDownOutside");function Xae(e,r=globalThis?.document){let a=Qo(e),i=_(!1);return m(()=>{let s=Ni((l)=>{if(l.target&&!i.current)y7(ske,a,{originalEvent:l},{discrete:!1})},"handleFocus");return r.addEventListener("focusin",s),()=>r.removeEventListener("focusin",s)},[r,a]),{onFocusCapture:Ni(()=>i.current=!0,"onFocusCapture"),onBlurCapture:Ni(()=>i.current=!1,"onBlurCapture")}}Ni(Xae,"useFocusOutside");function x7(){let e=new CustomEvent(M7);document.dispatchEvent(e)}Ni(x7,"dispatchUpdate");function y7(e,r,a,{discrete:i}){let s=a.originalEvent.target,l=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:a});if(r)s.addEventListener(e,r,{once:!0});if(i)$2(s,l);else s.dispatchEvent(l)}Ni(y7,"handleAndDispatchCustomEvent");S();var cke=Object.defineProperty,fs=(e,r)=>cke(e,"name",{value:r,configurable:!0}),_7="focusScope.autoFocusOnMount",b7="focusScope.autoFocusOnUnmount",Qae={bubbles:!1,cancelable:!0},Z8=F(fs(function(r,a){let{loop:i=!1,trapped:s=!1,onMountAutoFocus:l,onUnmountAutoFocus:c,...d}=r,[h,g]=u(null),x=Qo(l),v=Qo(c),b=_(null),y=ye(a,g),k=_({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;m(()=>{if(s){let G=function(re){if(k.paused||!h)return;let oe=re.target;if(h.contains(oe))b.current=oe;else JZ(b.current,{select:!0})},X=function(re){if(k.paused||!h)return;let oe=re.relatedTarget;if(oe===null)return;if(!h.contains(oe))JZ(b.current,{select:!0})},J=function(re){if(document.activeElement!==document.body)return;for(let fe of re)if(fe.removedNodes.length>0)JZ(h)};var U=G,N=X,j=J;fs(G,"handleFocusIn"),fs(X,"handleFocusOut"),fs(J,"handleMutations"),document.addEventListener("focusin",G),document.addEventListener("focusout",X);let ee=new MutationObserver(J);if(h)ee.observe(h,{childList:!0,subtree:!0});return()=>{document.removeEventListener("focusin",G),document.removeEventListener("focusout",X),ee.disconnect()}}},[s,h,k.paused]),m(()=>{if(h){Jae.add(k);let U=document.activeElement;if(!h.contains(U)){let j=new CustomEvent(_7,Qae);if(h.addEventListener(_7,x),h.dispatchEvent(j),!j.defaultPrevented){if($ae(ane(S7(h)),{select:!0}),document.activeElement===U)JZ(h)}}return()=>{h.removeEventListener(_7,x),setTimeout(()=>{let j=new CustomEvent(b7,Qae);if(h.addEventListener(b7,v),h.dispatchEvent(j),!j.defaultPrevented)JZ(U??document.body,{select:!0});h.removeEventListener(b7,v),Jae.remove(k)},0)}}},[h,x,v,k]);let T=P((U)=>{if(!i&&!s)return;if(k.paused)return;let N=U.key==="Tab"&&!U.altKey&&!U.ctrlKey&&!U.metaKey,j=document.activeElement;if(N&&j){let G=U.currentTarget,[X,J]=ene(G);if(!(X&&J)){if(j===G)U.preventDefault()}else if(!U.shiftKey&&j===J){if(U.preventDefault(),i)JZ(X,{select:!0})}else if(U.shiftKey&&j===X){if(U.preventDefault(),i)JZ(J,{select:!0})}}},[i,s,k.paused]);return t(se.div,{tabIndex:-1,...d,ref:y,onKeyDown:T})},"FocusScope"));function $ae(e,{select:r=!1}={}){let a=document.activeElement;for(let i of e)if(JZ(i,{select:r}),document.activeElement!==a)return}fs($ae,"focusFirst");function ene(e){let r=S7(e),a=w7(r,e),i=w7(r.reverse(),e);return[a,i]}fs(ene,"getTabbableEdges");function S7(e){let r=[],a=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:fs((i)=>{let s=i.tagName==="INPUT"&&i.type==="hidden";if(i.disabled||i.hidden||s)return NodeFilter.FILTER_SKIP;return i.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP},"acceptNode")});while(a.nextNode())r.push(a.currentNode);return r}fs(S7,"getTabbableCandidates");function w7(e,r){let a=typeof r.checkVisibility==="function"&&r.checkVisibility({checkVisibilityCSS:!0});for(let i of e)if(!(a?!i.checkVisibility({checkVisibilityCSS:!0}):tne(i,{upTo:r})))return i}fs(w7,"findVisible");function tne(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}fs(tne,"isHidden");function rne(e){return e instanceof HTMLInputElement&&"select"in e}fs(rne,"isSelectableInput");function JZ(e,{select:r=!1}={}){if(e&&e.focus){let a=document.activeElement;if(e.focus({preventScroll:!0}),e!==a&&rne(e)&&r)e.select()}}fs(JZ,"focus");var Jae=one();function one(){let e=[];return{add(r){let a=e[0];if(r!==a)a?.pause();e=z7(e,r),e.unshift(r)},remove(r){e=z7(e,r),e[0]?.resume()}}}fs(one,"createFocusScopesStack");function z7(e,r){let a=[...e],i=a.indexOf(r);if(i!==-1)a.splice(i,1);return a}fs(z7,"arrayRemove");function ane(e){return e.filter((r)=>r.tagName!=="A")}fs(ane,"removeLinks");S();var uke=Object.defineProperty,dke=(e,r)=>uke(e,"name",{value:r,configurable:!0}),fZ=F(dke(function(r,a){let{container:i,...s}=r,[l,c]=u(!1);Pt(()=>c(!0),[]);let d=i||l&&globalThis?.document?.body;return d?Ji(t(se.div,{...s,ref:a}),d):null},"Portal"));S();S();var Zke=Object.defineProperty,$Z=(e,r)=>Zke(e,"name",{value:r,configurable:!0});function nne(e,r){return rn((a,i)=>r[a][i]??a,e)}$Z(nne,"useStateMachine");var cr=$Z((e)=>{let{present:r,children:a}=e,i=ine(r),s=typeof a==="function"?a({present:i.isPresent}):ac.only(a),l=fne(i.ref,sne(s));return typeof a==="function"||i.isPresent?Ou(s,{ref:l}):null},"Presence");function ine(e){let[r,a]=u(),i=_(null),s=_(e),l=_("none"),c=_(void 0),d=e?"mounted":"unmounted",[h,g]=nne(d,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return m(()=>{if(h==="mounted")l.current=c.current??Jk(i.current),c.current=void 0;else l.current="none"},[h]),Pt(()=>{let x=i.current,v=s.current;if(v!==e){let y=l.current,k=Jk(x);if(e)c.current=k,g("MOUNT");else if(k==="none"||x?.display==="none")g("UNMOUNT");else if(v&&y!==k)g("ANIMATION_OUT");else g("UNMOUNT");s.current=e}},[e,g]),Pt(()=>{if(r){let x,v=r.ownerDocument.defaultView??window,b=$Z((k)=>{let U=Jk(i.current).includes(CSS.escape(k.animationName));if(k.target===r&&U){if(g("ANIMATION_END"),!s.current){let N=r.style.animationFillMode;r.style.animationFillMode="forwards",x=v.setTimeout(()=>{if(r.style.animationFillMode==="forwards")r.style.animationFillMode=N})}}},"handleAnimationEnd"),y=$Z((k)=>{if(k.target===r)l.current=Jk(i.current)},"handleAnimationStart");return r.addEventListener("animationstart",y),r.addEventListener("animationcancel",b),r.addEventListener("animationend",b),()=>{v.clearTimeout(x),r.removeEventListener("animationstart",y),r.removeEventListener("animationcancel",b),r.removeEventListener("animationend",b)}}else g("ANIMATION_END")},[r,g]),{isPresent:["mounted","unmountSuspended"].includes(h),ref:P((x)=>{if(x){let v=getComputedStyle(x);i.current=v,c.current=Jk(v)}else i.current=null;a(x)},[])}}$Z(ine,"usePresence");function L7(e,r){if(typeof e==="function")return e(r);else if(e!==null&&e!==void 0)e.current=r}$Z(L7,"setRef");function fne(...e){let r=_(e);return r.current=e,P((a)=>{let i=r.current,s=!1,l=i.map((c)=>{let d=L7(c,a);if(!s&&typeof d==="function")s=!0;return d});if(s)return()=>{for(let c=0;c<l.length;c++){let d=l[c];if(typeof d==="function")d();else L7(i[c],null)}}},[])}$Z(fne,"useStableComposedRefs");function Jk(e){return e?.animationName||"none"}$Z(Jk,"getAnimationName");function sne(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(sne,"getElementRef");S();var pke=Object.defineProperty,C7=(e,r)=>pke(e,"name",{value:r,configurable:!0}),k4=0,$k=null;function mke(e){return sZ(),e.children}C7(mke,"FocusGuards");function sZ(){m(()=>{if(!$k)$k={start:k7(),end:k7()};let{start:e,end:r}=$k;if(document.body.firstElementChild!==e)document.body.insertAdjacentElement("afterbegin",e);if(document.body.lastElementChild!==r)document.body.insertAdjacentElement("beforeend",r);return k4++,()=>{if(k4===1)$k?.start.remove(),$k?.end.remove(),$k=null;k4=Math.max(0,k4-1)}},[])}C7(sZ,"useFocusGuards");function k7(){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}C7(k7,"createFocusGuard");var Js=function(){return Js=Object.assign||function(r){for(var a,i=1,s=arguments.length;i<s;i++){a=arguments[i];for(var l in a)if(Object.prototype.hasOwnProperty.call(a,l))r[l]=a[l]}return r},Js.apply(this,arguments)};function C4(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 s=0,i=Object.getOwnPropertySymbols(e);s<i.length;s++)if(r.indexOf(i[s])<0&&Object.prototype.propertyIsEnumerable.call(e,i[s]))a[i[s]]=e[i[s]]}return a}function lne(e,r,a){if(a||arguments.length===2){for(var i=0,s=r.length,l;i<s;i++)if(l||!(i in r)){if(!l)l=Array.prototype.slice.call(r,0,i);l[i]=r[i]}}return e.concat(l||Array.prototype.slice.call(r))}S();S();var Dz="right-scroll-bar-position",Oz="width-before-scroll-bar",I7="with-scroll-bars-hidden",R7="--removed-body-scroll-bar-size";S();function I4(e,r){if(typeof e==="function")e(r);else if(e)e.current=r;return e}S();function cne(e,r){var a=u(function(){return{value:e,callback:r,facade:{get current(){return a.value},set current(i){var s=a.value;if(s!==i)a.value=i,a.callback(i,s)}}}})[0];return a.callback=r,a.facade}var hke=typeof window<"u"?$e:m,une=new WeakMap;function P7(e,r){var a=cne(r||null,function(i){return e.forEach(function(s){return I4(s,i)})});return hke(function(){var i=une.get(a);if(i){var s=new Set(i),l=new Set(e),c=a.current;s.forEach(function(d){if(!l.has(d))I4(d,null)}),l.forEach(function(d){if(!s.has(d))I4(d,c)})}une.set(a,e)},[e]),a}function gke(e){return e}function Mke(e,r){if(r===void 0)r=gke;var a=[],i=!1,s={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(l){var c=r(l,i);return a.push(c),function(){a=a.filter(function(d){return d!==c})}},assignSyncMedium:function(l){i=!0;while(a.length){var c=a;a=[],c.forEach(l)}a={push:function(d){return l(d)},filter:function(){return a}}},assignMedium:function(l){i=!0;var c=[];if(a.length){var d=a;a=[],d.forEach(l),c=a}var h=function(){var x=c;c=[],x.forEach(l)},g=function(){return Promise.resolve().then(h)};g(),a={push:function(x){c.push(x),g()},filter:function(x){return c=c.filter(x),a}}}};return s}function T7(e){if(e===void 0)e={};var r=Mke(null);return r.options=Js({async:!0,ssr:!1},e),r}S();var dne=function(e){var r=e.sideCar,a=C4(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,Js({},a))};dne.isSideCarExport=!0;function A7(e,r){return e.useMedium(r),dne}var R4=T7();var E7=function(){return},eD=F(function(e,r){var a=_(null),i=u({onScrollCapture:E7,onWheelCapture:E7,onTouchMoveCapture:E7}),s=i[0],l=i[1],{forwardProps:c,children:d,className:h,removeScrollBar:g,enabled:x,shards:v,sideCar:b,noRelative:y,noIsolation:k,inert:T,allowPinchZoom:U,as:N}=e,j=N===void 0?"div":N,G=e.gapMode,X=C4(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),J=b,ee=P7([a,r]),re=Js(Js({},X),s);return q(In,null,x&&q(J,{sideCar:R4,removeScrollBar:g,shards:v,noRelative:y,noIsolation:k,inert:T,setCallbacks:l,allowPinchZoom:!!U,lockRef:a,gapMode:G}),c?Ou(ac.only(d),Js(Js({},re),{ref:ee})):q(j,Js({},re,{className:h,ref:ee}),d))});eD.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};eD.classNames={fullWidth:Oz,zeroRight:Dz};S();S();S();var Zne;var pne=function(){if(Zne)return Zne;if(typeof __webpack_nonce__<"u")return __webpack_nonce__;return};function xke(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var r=pne();if(r)e.setAttribute("nonce",r);return e}function vke(e,r){if(e.styleSheet)e.styleSheet.cssText=r;else e.appendChild(document.createTextNode(r))}function yke(e){var r=document.head||document.getElementsByTagName("head")[0];r.appendChild(e)}var D7=function(){var e=0,r=null;return{add:function(a){if(e==0){if(r=xke())vke(r,a),yke(r)}e++},remove:function(){if(e--,!e&&r)r.parentNode&&r.parentNode.removeChild(r),r=null}}};var O7=function(){var e=D7();return function(r,a){m(function(){return e.add(r),function(){e.remove()}},[r&&a])}};var tD=function(){var e=O7(),r=function(a){var{styles:i,dynamic:s}=a;return e(i,s),null};return r};var _ke={left:0,top:0,right:0,gap:0},N7=function(e){return parseInt(e||"",10)||0},bke=function(e){var r=window.getComputedStyle(document.body),a=r[e==="padding"?"paddingLeft":"marginLeft"],i=r[e==="padding"?"paddingTop":"marginTop"],s=r[e==="padding"?"paddingRight":"marginRight"];return[N7(a),N7(i),N7(s)]},F7=function(e){if(e===void 0)e="margin";if(typeof window>"u")return _ke;var r=bke(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 wke=tD(),eR="data-scroll-locked",zke=function(e,r,a,i){var{left:s,top:l,right:c,gap:d}=e;if(a===void 0)a="margin";return`
16
- .`.concat(I7,` {
17
- overflow: hidden `).concat(i,`;
18
- padding-right: `).concat(d,"px ").concat(i,`;
19
- }
20
- body[`).concat(eR,`] {
21
- overflow: hidden `).concat(i,`;
22
- overscroll-behavior: contain;
23
- `).concat([r&&"position: relative ".concat(i,";"),a==="margin"&&`
24
- padding-left: `.concat(s,`px;
25
- padding-top: `).concat(l,`px;
26
- padding-right: `).concat(c,`px;
27
- margin-left:0;
28
- margin-top:0;
29
- margin-right: `).concat(d,"px ").concat(i,`;
30
- `),a==="padding"&&"padding-right: ".concat(d,"px ").concat(i,";")].filter(Boolean).join(""),`
31
- }
32
-
33
- .`).concat(Dz,` {
34
- right: `).concat(d,"px ").concat(i,`;
35
- }
36
-
37
- .`).concat(Oz,` {
38
- margin-right: `).concat(d,"px ").concat(i,`;
39
- }
40
-
41
- .`).concat(Dz," .").concat(Dz,` {
42
- right: 0 `).concat(i,`;
43
- }
44
-
45
- .`).concat(Oz," .").concat(Oz,` {
46
- margin-right: 0 `).concat(i,`;
47
- }
48
-
49
- body[`).concat(eR,`] {
50
- `).concat(R7,": ").concat(d,`px;
51
- }
52
- `)},mne=function(){var e=parseInt(document.body.getAttribute(eR)||"0",10);return isFinite(e)?e:0},Ske=function(){m(function(){return document.body.setAttribute(eR,(mne()+1).toString()),function(){var e=mne()-1;if(e<=0)document.body.removeAttribute(eR);else document.body.setAttribute(eR,e.toString())}},[])},j7=function(e){var{noRelative:r,noImportant:a,gapMode:i}=e,s=i===void 0?"margin":i;Ske();var l=D(function(){return F7(s)},[s]);return q(wke,{styles:zke(l,!r,s,!a?"!important":"")})};var B7=!1;if(typeof window<"u")try{tR=Object.defineProperty({},"passive",{get:function(){return B7=!0,!0}}),window.addEventListener("test",tR,tR),window.removeEventListener("test",tR,tR)}catch(e){B7=!1}var tR,Nz=B7?{passive:!1}:!1;var Lke=function(e){return e.tagName==="TEXTAREA"},hne=function(e,r){if(!(e instanceof Element))return!1;var a=window.getComputedStyle(e);return a[r]!=="hidden"&&!(a.overflowY===a.overflowX&&!Lke(e)&&a[r]==="visible")},kke=function(e){return hne(e,"overflowY")},Cke=function(e){return hne(e,"overflowX")},U7=function(e,r){var a=r.ownerDocument,i=r;do{if(typeof ShadowRoot<"u"&&i instanceof ShadowRoot)i=i.host;var s=gne(e,i);if(s){var l=Mne(e,i),c=l[1],d=l[2];if(c>d)return!0}i=i.parentNode}while(i&&i!==a.body);return!1},Ike=function(e){var{scrollTop:r,scrollHeight:a,clientHeight:i}=e;return[r,a,i]},Rke=function(e){var{scrollLeft:r,scrollWidth:a,clientWidth:i}=e;return[r,a,i]},gne=function(e,r){return e==="v"?kke(r):Cke(r)},Mne=function(e,r){return e==="v"?Ike(r):Rke(r)},Pke=function(e,r){return e==="h"&&r==="rtl"?-1:1},xne=function(e,r,a,i,s){var l=Pke(e,window.getComputedStyle(r).direction),c=l*i,d=a.target,h=r.contains(d),g=!1,x=c>0,v=0,b=0;do{if(!d)break;var y=Mne(e,d),k=y[0],T=y[1],U=y[2],N=T-U-l*k;if(k||N){if(gne(e,d))v+=N,b+=k}var j=d.parentNode;d=j&&j.nodeType===Node.DOCUMENT_FRAGMENT_NODE?j.host:j}while(!h&&d!==document.body||h&&(r.contains(d)||r===d));if(x&&(s&&Math.abs(v)<1||!s&&c>v))g=!0;else if(!x&&(s&&Math.abs(b)<1||!s&&-c>b))g=!0;return g};var P4=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},vne=function(e){return[e.deltaX,e.deltaY]},yne=function(e){return e&&"current"in e?e.current:e},Tke=function(e,r){return e[0]===r[0]&&e[1]===r[1]},Ake=function(e){return`
53
- .block-interactivity-`.concat(e,` {pointer-events: none;}
54
- .allow-interactivity-`).concat(e,` {pointer-events: all;}
55
- `)},Eke=0,rR=[];function _ne(e){var r=_([]),a=_([0,0]),i=_(),s=u(Eke++)[0],l=u(tD)[0],c=_(e);m(function(){c.current=e},[e]),m(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(s));var T=lne([e.lockRef.current],(e.shards||[]).map(yne),!0).filter(Boolean);return T.forEach(function(U){return U.classList.add("allow-interactivity-".concat(s))}),function(){document.body.classList.remove("block-interactivity-".concat(s)),T.forEach(function(U){return U.classList.remove("allow-interactivity-".concat(s))})}}return},[e.inert,e.lockRef.current,e.shards]);var d=P(function(T,U){if("touches"in T&&T.touches.length===2||T.type==="wheel"&&T.ctrlKey)return!c.current.allowPinchZoom;var N=P4(T),j=a.current,G="deltaX"in T?T.deltaX:j[0]-N[0],X="deltaY"in T?T.deltaY:j[1]-N[1],J,ee=T.target,re=Math.abs(G)>Math.abs(X)?"h":"v";if("touches"in T&&re==="h"&&ee.type==="range")return!1;var oe=window.getSelection(),fe=oe&&oe.anchorNode,be=fe?fe===ee||fe.contains(ee):!1;if(be)return!1;var We=U7(re,ee);if(!We)return!0;if(We)J=re;else J=re==="v"?"h":"v",We=U7(re,ee);if(!We)return!1;if(!i.current&&"changedTouches"in T&&(G||X))i.current=J;if(!J)return!0;var Ye=i.current||J;return xne(Ye,U,T,Ye==="h"?G:X,!0)},[]),h=P(function(T){var U=T;if(!rR.length||rR[rR.length-1]!==l)return;var N="deltaY"in U?vne(U):P4(U),j=r.current.filter(function(J){return J.name===U.type&&(J.target===U.target||U.target===J.shadowParent)&&Tke(J.delta,N)})[0];if(j&&j.should){if(U.cancelable)U.preventDefault();return}if(!j){var G=(c.current.shards||[]).map(yne).filter(Boolean).filter(function(J){return J.contains(U.target)}),X=G.length>0?d(U,G[0]):!c.current.noIsolation;if(X){if(U.cancelable)U.preventDefault()}}},[]),g=P(function(T,U,N,j){var G={name:T,delta:U,target:N,should:j,shadowParent:Dke(N)};r.current.push(G),setTimeout(function(){r.current=r.current.filter(function(X){return X!==G})},1)},[]),x=P(function(T){a.current=P4(T),i.current=void 0},[]),v=P(function(T){g(T.type,vne(T),T.target,d(T,e.lockRef.current))},[]),b=P(function(T){g(T.type,P4(T),T.target,d(T,e.lockRef.current))},[]);m(function(){return rR.push(l),e.setCallbacks({onScrollCapture:v,onWheelCapture:v,onTouchMoveCapture:b}),document.addEventListener("wheel",h,Nz),document.addEventListener("touchmove",h,Nz),document.addEventListener("touchstart",x,Nz),function(){rR=rR.filter(function(T){return T!==l}),document.removeEventListener("wheel",h,Nz),document.removeEventListener("touchmove",h,Nz),document.removeEventListener("touchstart",x,Nz)}},[]);var{removeScrollBar:y,inert:k}=e;return q(In,null,k?q(l,{styles:Ake(s)}):null,y?q(j7,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function Dke(e){var r=null;while(e!==null){if(e instanceof ShadowRoot)r=e.host,e=e.host;e=e.parentNode}return r}var bne=A7(R4,_ne);var wne=F(function(e,r){return q(eD,Js({},e,{ref:r,sideCar:bne}))});wne.classNames=eD.classNames;var fm=wne;var Oke=function(e){if(typeof document>"u")return null;var r=Array.isArray(e)?e[0]:e;return r.ownerDocument.body},oR=new WeakMap,T4=new WeakMap,A4={},Y7=0,zne=function(e){return e&&(e.host||zne(e.parentNode))},Nke=function(e,r){return r.map(function(a){if(e.contains(a))return a;var i=zne(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)})},Fke=function(e,r,a,i){var s=Nke(r,Array.isArray(e)?e:[e]);if(!A4[a])A4[a]=new WeakMap;var l=A4[a],c=[],d=new Set,h=new Set(s),g=function(v){if(!v||d.has(v))return;d.add(v),g(v.parentNode)};s.forEach(g);var x=function(v){if(!v||h.has(v))return;Array.prototype.forEach.call(v.children,function(b){if(d.has(b))x(b);else try{var y=b.getAttribute(i),k=y!==null&&y!=="false",T=(oR.get(b)||0)+1,U=(l.get(b)||0)+1;if(oR.set(b,T),l.set(b,U),c.push(b),T===1&&k)T4.set(b,!0);if(U===1)b.setAttribute(a,"true");if(!k)b.setAttribute(i,"true")}catch(N){console.error("aria-hidden: cannot operate on ",b,N)}})};return x(r),d.clear(),Y7++,function(){if(c.forEach(function(v){var b=oR.get(v)-1,y=l.get(v)-1;if(oR.set(v,b),l.set(v,y),!b){if(!T4.has(v))v.removeAttribute(i);T4.delete(v)}if(!y)v.removeAttribute(a)}),Y7--,!Y7)oR=new WeakMap,oR=new WeakMap,T4=new WeakMap,A4={}}},p8=function(e,r,a){if(a===void 0)a="data-aria-hidden";var i=Array.from(Array.isArray(e)?e:[e]),s=r||Oke(e);if(!s)return function(){return null};return i.push.apply(i,Array.from(s.querySelectorAll("[aria-live], script"))),Fke(i,s,a,"aria-hidden")};var jke=Object.defineProperty,Gl=(e,r)=>jke(e,"name",{value:r,configurable:!0}),H7="Dialog",[Sne,V7]=gt(H7),[Bke,du]=Sne(H7),W7=Gl((e)=>{let{__scopeDialog:r,children:a,open:i,defaultOpen:s,onOpenChange:l,modal:c=!0}=e,d=_(null),h=_(null),[g,x]=Lt({prop:i,defaultProp:s??!1,onChange:l,caller:H7}),[v,b]=u(0),[y,k]=u(0);return t(Bke,{scope:r,triggerRef:d,contentRef:h,contentId:Er(),titleId:Er(),descriptionId:Er(),titlePresent:v>0,descriptionPresent:y>0,setTitleCount:b,setDescriptionCount:k,open:g,onOpenChange:x,onOpenToggle:P(()=>x((T)=>!T),[x]),modal:c,children:a})},"Dialog"),Uke="DialogTrigger",G7=F(Gl(function(r,a){let{__scopeDialog:i,...s}=r,l=du(Uke,i),c=ye(a,l.triggerRef);return t(se.button,{type:"button","aria-haspopup":"dialog","aria-expanded":l.open,"aria-controls":l.open?l.contentId:void 0,"data-state":E4(l.open),...s,ref:c,onClick:Y(r.onClick,l.onOpenToggle)})},"DialogTrigger")),Lne="DialogPortal",[Yke,kne]=Sne(Lne,{forceMount:void 0}),K7=Gl((e)=>{let{__scopeDialog:r,forceMount:a,children:i,container:s}=e,l=du(Lne,r);return t(Yke,{scope:r,forceMount:a,children:ac.map(i,(c)=>t(cr,{present:a||l.open,children:t(fZ,{asChild:!0,container:s,children:c})}))})},"DialogPortal"),q7="DialogOverlay",X7=F(Gl(function(r,a){let i=kne(q7,r.__scopeDialog),{forceMount:s=i.forceMount,...l}=r,c=du(q7,r.__scopeDialog);return c.modal?t(cr,{present:s||c.open,children:t(Hke,{...l,ref:a})}):null},"DialogOverlay")),qke=Oi("DialogOverlay.RemoveScroll"),Hke=F(Gl(function(r,a){let{__scopeDialog:i,...s}=r,l=du(q7,i),c=v7(),d=ye(a,c);return t(fm,{as:qke,allowPinchZoom:!0,shards:[l.contentRef],children:t(se.div,{"data-state":E4(l.open),...s,ref:d,style:{pointerEvents:"auto",...s.style}})})},"DialogOverlayImpl")),rD="DialogContent",Q7=F(Gl(function(r,a){let i=kne(rD,r.__scopeDialog),{forceMount:s=i.forceMount,...l}=r,c=du(rD,r.__scopeDialog);return t(cr,{present:s||c.open,children:c.modal?t(Vke,{...l,ref:a}):t(Wke,{...l,ref:a})})},"DialogContent")),Vke=F(Gl(function(r,a){let i=du(rD,r.__scopeDialog),s=_(null),l=ye(a,i.contentRef,s);return m(()=>{let c=s.current;if(c)return p8(c)},[]),t(Cne,{...r,ref:l,trapFocus:i.open,disableOutsidePointerEvents:i.open,onCloseAutoFocus:Y(r.onCloseAutoFocus,(c)=>{c.preventDefault(),i.triggerRef.current?.focus()}),onPointerDownOutside:Y(r.onPointerDownOutside,(c)=>{let d=c.detail.originalEvent,h=d.button===0&&d.ctrlKey===!0;if(d.button===2||h)c.preventDefault()}),onFocusOutside:Y(r.onFocusOutside,(c)=>c.preventDefault())})},"DialogContentModal")),Wke=F(Gl(function(r,a){let i=du(rD,r.__scopeDialog),s=_(!1),l=_(!1);return t(Cne,{...r,ref:a,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:(c)=>{if(r.onCloseAutoFocus?.(c),!c.defaultPrevented){if(!s.current)i.triggerRef.current?.focus();c.preventDefault()}s.current=!1,l.current=!1},onInteractOutside:(c)=>{if(r.onInteractOutside?.(c),!c.defaultPrevented){if(s.current=!0,c.detail.originalEvent.type==="pointerdown")l.current=!0}let d=c.target;if(i.triggerRef.current?.contains(d))c.preventDefault();if(c.detail.originalEvent.type==="focusin"&&l.current)c.preventDefault()}})},"DialogContentNonModal")),Cne=F(Gl(function(r,a){let{__scopeDialog:i,trapFocus:s,onOpenAutoFocus:l,onCloseAutoFocus:c,...d}=r,h=du(rD,i);return sZ(),t(L,{children:t(Z8,{asChild:!0,loop:!0,trapped:s,onMountAutoFocus:l,onUnmountAutoFocus:c,children:t(iZ,{role:"dialog",id:h.contentId,"aria-describedby":h.descriptionPresent?h.descriptionId:void 0,"aria-labelledby":h.titlePresent?h.titleId:void 0,"data-state":E4(h.open),...d,ref:a,deferPointerDownOutside:!0,onDismiss:()=>h.onOpenChange(!1)})})})},"DialogContentImpl")),Gke="DialogTitle",J7=F(Gl(function(r,a){let{__scopeDialog:i,...s}=r,l=du(Gke,i),{setTitleCount:c}=l;return Pt(()=>(c((d)=>d+1),()=>c((d)=>d-1)),[c]),t(se.h2,{id:l.titleId,...s,ref:a})},"DialogTitle")),Kke="DialogDescription",$7=F(Gl(function(r,a){let{__scopeDialog:i,...s}=r,l=du(Kke,i),{setDescriptionCount:c}=l;return Pt(()=>(c((d)=>d+1),()=>c((d)=>d-1)),[c]),t(se.p,{id:l.descriptionId,...s,ref:a})},"DialogDescription")),Xke="DialogClose",oD=F(Gl(function(r,a){let{__scopeDialog:i,...s}=r,l=du(Xke,i);return t(se.button,{type:"button",...s,ref:a,onClick:Y(r.onClick,()=>l.onOpenChange(!1))})},"DialogClose"));function E4(e){return e?"open":"closed"}Gl(E4,"getState");var Qke=Object.defineProperty,pm=(e,r)=>Qke(e,"name",{value:r,configurable:!0}),Jke="AlertDialog",[$ke,hXo]=gt(Jke,[V7]),mm=V7(),eCe=pm((e)=>{let{__scopeAlertDialog:r,...a}=e,i=mm(r);return t(W7,{...i,...a,modal:!0})},"AlertDialog"),gXo=F(pm(function(r,a){let{__scopeAlertDialog:i,...s}=r,l=mm(i);return t(G7,{...l,...s,ref:a})},"AlertDialogTrigger")),tCe=pm((e)=>{let{__scopeAlertDialog:r,...a}=e,i=mm(r);return t(K7,{...i,...a})},"AlertDialogPortal"),rCe=F(pm(function(r,a){let{__scopeAlertDialog:i,...s}=r,l=mm(i);return t(X7,{...l,...s,ref:a})},"AlertDialogOverlay")),oCe="AlertDialogContent",[aCe,nCe]=$ke(oCe),iCe=F(pm(function(r,a){let{__scopeAlertDialog:i,children:s,...l}=r,c=mm(i),d=_(null),h=ye(a,d),g=_(null);return t(aCe,{scope:i,cancelRef:g,children:t(Q7,{role:"alertdialog",...c,...l,ref:h,onOpenAutoFocus:Y(l.onOpenAutoFocus,(x)=>{x.preventDefault(),g.current?.focus({preventScroll:!0})}),onPointerDownOutside:(x)=>x.preventDefault(),onInteractOutside:(x)=>x.preventDefault(),children:s})})},"AlertDialogContent")),fCe=F(pm(function(r,a){let{__scopeAlertDialog:i,...s}=r,l=mm(i);return t(J7,{...l,...s,ref:a})},"AlertDialogTitle")),sCe=F(pm(function(r,a){let{__scopeAlertDialog:i,...s}=r,l=mm(i);return t($7,{...l,...s,ref:a})},"AlertDialogDescription")),lCe=F(pm(function(r,a){let{__scopeAlertDialog:i,...s}=r,l=mm(i);return t(oD,{...l,...s,ref:a})},"AlertDialogAction")),cCe="AlertDialogCancel",uCe=F(pm(function(r,a){let{__scopeAlertDialog:i,...s}=r,{cancelRef:l}=nCe(cCe,i),c=mm(i),d=ye(a,l);return t(oD,{...c,...s,ref:d})},"AlertDialogCancel")),dCe=eCe;var ZCe=tCe,pCe=rCe,mCe=iCe,hCe=lCe,gCe=uCe,MCe=fCe,xCe=sCe;S();var vCe=Object.defineProperty,hm=(e,r)=>vCe(e,"name",{value:r,configurable:!0}),Rne="Avatar",[yCe,wXo]=gt(Rne),_Ce=[0,()=>{return}],[bCe,Pne]=yCe(Rne),wCe=F(hm(function(r,a){let{__scopeAvatar:i,...s}=r,[l,c]=u("idle"),[d,h]=Ane();return t(bCe,{scope:i,imageLoadingStatus:l,setImageLoadingStatus:c,imageCount:d,setImageCount:h,children:t(se.span,{...s,ref:a})})},"Avatar")),zCe="AvatarImage",SCe=F(hm(function(r,a){let{__scopeAvatar:i,src:s,onLoadingStatusChange:l,...c}=r,d=Pne(zCe,i);Ene(d.setImageCount);let h=Tne(s,{referrerPolicy:c.referrerPolicy,crossOrigin:c.crossOrigin,loadingStatus:d.imageLoadingStatus,setLoadingStatus:d.setImageLoadingStatus}),g=Qo((v)=>{l?.(v)}),x=_(h);return Pt(()=>{let v=x.current;if(x.current=h,h!==v)g(h)},[h,g]),h==="loaded"?t(se.img,{...c,ref:a,src:s}):null},"AvatarImage")),LCe="AvatarFallback",kCe=F(hm(function(r,a){let{__scopeAvatar:i,delayMs:s,...l}=r,c=Pne(LCe,i),[d,h]=u(s===void 0);return m(()=>{if(s!==void 0){let g=window.setTimeout(()=>h(!0),s);return()=>window.clearTimeout(g)}},[s]),d&&c.imageLoadingStatus!=="loaded"?t(se.span,{...l,ref:a}):null},"AvatarFallback"));function Tne(e,{loadingStatus:r,setLoadingStatus:a,referrerPolicy:i,crossOrigin:s}){return Pt(()=>{if(!e){a("error");return}let l=new window.Image,c=hm((h)=>{let g=h.currentTarget;a(tq(g))},"handleLoad"),d=hm(()=>a("error"),"handleError");if(l.addEventListener("load",c),l.addEventListener("error",d),i)l.referrerPolicy=i;return l.crossOrigin=s??null,l.src=e,a(tq(l)),()=>{l.removeEventListener("load",c),l.removeEventListener("error",d),a("idle")}},[e,s,i,a]),r}hm(Tne,"useImageLoadingStatus");function tq(e){return e.complete?e.naturalWidth>0?"loaded":"error":"loading"}hm(tq,"getImageLoadingStatus");function Ane(){let e=_Ce;if(hi){e=u(0);let[r]=e,a=_(!1);m(()=>{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}hm(Ane,"useImageCount");function Ene(e){if(hi)m(()=>(e((r)=>r+1),()=>{e((r)=>r-1)}),[e])}hm(Ene,"useUpdateImageCount");S();S();var CCe=Object.defineProperty,ICe=(e,r)=>CCe(e,"name",{value:r,configurable:!0});function gi(e){let[r,a]=u(void 0);return Pt(()=>{if(e){a({width:e.offsetWidth,height:e.offsetHeight});let i=new ResizeObserver((s)=>{if(!Array.isArray(s))return;if(!s.length)return;let l=s[0],c,d;if("borderBoxSize"in l){let h=l.borderBoxSize,g=Array.isArray(h)?h[0]:h;c=g.inlineSize,d=g.blockSize}else c=e.offsetWidth,d=e.offsetHeight;a({width:c,height:d})});return i.observe(e,{box:"border-box"}),()=>i.unobserve(e)}else a(void 0)},[e]),r}ICe(gi,"useSize");var RCe=Object.defineProperty,xm=(e,r)=>RCe(e,"name",{value:r,configurable:!0}),rq="Checkbox",[PCe,EXo]=gt(rq),[TCe,oq]=PCe(rq);function One(e){let{__scopeCheckbox:r,checked:a,children:i,defaultChecked:s,disabled:l,form:c,name:d,onCheckedChange:h,required:g,value:x="on",internal_do_not_use_render:v}=e,[b,y]=Lt({prop:a,defaultProp:s??!1,onChange:h,caller:rq}),[k,T]=u(null),[U,N]=u(null),j=_(!1),[G,X]=rn((re)=>re+1,0),J=k?!!c||!!k.closest("form"):!0,ee={checked:b,disabled:l,setChecked:y,control:k,setControl:T,name:d,form:c,value:x,hasConsumerStoppedPropagationRef:j,userInteractionCount:G,onUserInteraction:X,required:g,defaultChecked:gm(s)?!1:s,isFormControl:J,bubbleInput:U,setBubbleInput:N};return t(TCe,{scope:r,...ee,children:Nne(v)?v(ee):i})}xm(One,"CheckboxProvider");var ACe="CheckboxTrigger",ECe=F(xm(function({__scopeCheckbox:r,onKeyDown:a,onClick:i,...s},l){let{control:c,value:d,disabled:h,checked:g,required:x,setControl:v,setChecked:b,hasConsumerStoppedPropagationRef:y,onUserInteraction:k,isFormControl:T,bubbleInput:U}=oq(ACe,r),N=ye(l,v),j=_(g);return m(()=>{let G=c?.form;if(G){let X=xm(()=>b(j.current),"reset");return G.addEventListener("reset",X),()=>G.removeEventListener("reset",X)}},[c,b]),t(se.button,{type:"button",role:"checkbox","aria-checked":gm(g)?"mixed":g,"aria-required":x,"data-state":aq(g),"data-disabled":h?"":void 0,disabled:h,value:d,...s,ref:N,onKeyDown:Y(a,(G)=>{if(G.key==="Enter")G.preventDefault()}),onClick:Y(i,(G)=>{if(k(),b((X)=>gm(X)?!0:!X),U&&T){if(y.current=G.isPropagationStopped(),!y.current)G.stopPropagation()}})})},"CheckboxTrigger")),DCe=F(xm(function(r,a){let{__scopeCheckbox:i,name:s,checked:l,defaultChecked:c,required:d,disabled:h,value:g,onCheckedChange:x,form:v,...b}=r;return t(One,{__scopeCheckbox:i,checked:l,defaultChecked:c,disabled:h,required:d,onCheckedChange:x,name:s,form:v,value:g,internal_do_not_use_render:({isFormControl:y})=>o(L,{children:[t(ECe,{...b,ref:a,__scopeCheckbox:i}),y&&t(jCe,{__scopeCheckbox:i})]})})},"Checkbox")),OCe="CheckboxIndicator",NCe=F(xm(function(r,a){let{__scopeCheckbox:i,forceMount:s,...l}=r,c=oq(OCe,i);return t(cr,{present:s||gm(c.checked)||c.checked===!0,children:t(se.span,{"data-state":aq(c.checked),"data-disabled":c.disabled?"":void 0,...l,ref:a,style:{pointerEvents:"none",...r.style}})})},"CheckboxIndicator")),FCe="CheckboxBubbleInput",jCe=F(xm(function({__scopeCheckbox:r,onClick:a,...i},s){let{control:l,hasConsumerStoppedPropagationRef:c,userInteractionCount:d,checked:h,defaultChecked:g,required:x,disabled:v,name:b,value:y,form:k,bubbleInput:T,setBubbleInput:U}=oq(FCe,r),N=ye(s,U),j=gi(l),G=_(!1),X=_(h),J=_(d);m(()=>{let re=T;if(!re)return;let oe=window.HTMLInputElement.prototype,be=Object.getOwnPropertyDescriptor(oe,"checked").set,We=d!==J.current;J.current=d;let Ye=X.current!==h;X.current=h;let Se=!(We&&c.current);if(Ye&&be){G.current=!We;let He=new Event("click",{bubbles:Se});re.indeterminate=gm(h),be.call(re,gm(h)?!1:h),re.dispatchEvent(He),G.current=!1}},[T,h,c,d]);let ee=_(gm(h)?!1:h);return t(se.input,{type:"checkbox","aria-hidden":!0,defaultChecked:g??ee.current,required:x,disabled:v,name:b,value:y,form:k,...i,tabIndex:-1,ref:N,onClick:Y(a,(re)=>{if(G.current)re.stopPropagation()}),style:{...i.style,...j,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})},"CheckboxBubbleInput"));function Nne(e){return typeof e==="function"}xm(Nne,"isFunction");function gm(e){return e==="indeterminate"}xm(gm,"isIndeterminate");function aq(e){return gm(e)?"indeterminate":e?"checked":"unchecked"}xm(aq,"getState");S();S();S();var BCe=Object.defineProperty,Fi=(e,r)=>BCe(e,"name",{value:r,configurable:!0});function Ai(e){let r=e+"CollectionProvider",[a,i]=gt(r),[s,l]=a(r,{collectionRef:{current:null},itemMap:new Map}),c=Fi((T)=>{let{scope:U,children:N}=T,j=_(null),G=_(new Map).current;return t(s,{scope:U,itemMap:G,collectionRef:j,children:N})},"CollectionProvider");c.displayName=r;let d=e+"CollectionSlot",h=Oi(d),g=F((T,U)=>{let{scope:N,children:j}=T,G=l(d,N),X=ye(U,G.collectionRef);return t(h,{ref:X,children:j})});g.displayName=d;let x=e+"CollectionItemSlot",v="data-radix-collection-item",b=Oi(x),y=F((T,U)=>{let{scope:N,children:j,...G}=T,X=_(null),J=ye(U,X),ee=l(x,N);return m(()=>(ee.itemMap.set(X,{ref:X,...G}),()=>void ee.itemMap.delete(X))),t(b,{...{[v]:""},ref:J,children:j})});y.displayName=x;function k(T){let U=l(e+"CollectionConsumer",T);return P(()=>{let j=U.collectionRef.current;if(!j)return[];let G=Array.from(j.querySelectorAll(`[${v}]`));return Array.from(U.itemMap.values()).sort((ee,re)=>G.indexOf(ee.ref.current)-G.indexOf(re.ref.current))},[U.collectionRef,U.itemMap])}return Fi(k,"useCollection"),[{Provider:c,Slot:g,ItemSlot:y},k,i]}Fi(Ai,"createCollection");var jne=new WeakMap,nq=class e extends Map{static{Fi(this,"OrderedDict")}#e;constructor(r){super(r);this.#e=[...super.keys()],jne.set(this,!0)}set(r,a){if(jne.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 s=this.has(a),l=this.#e.length,c=fq(r),d=c>=0?c:l+c,h=d<0||d>=l?-1:d;if(h===this.size||s&&h===this.size-1||h===-1)return this.set(a,i),this;let g=this.size+(s?0:1);if(c<0)d++;let x=[...this.#e],v,b=!1;for(let y=d;y<g;y++)if(d===y){let k=x[y];if(x[y]===a)k=x[y+1];if(s)this.delete(a);v=this.get(k),this.set(a,i)}else{if(!b&&x[y-1]===a)b=!0;let k=x[b?y:y-1],T=v;v=this.get(k),this.delete(k),this.set(k,T)}return this}with(r,a,i){let s=new e(this);return s.insert(r,a,i),s}before(r){let a=this.#e.indexOf(r)-1;if(a<0)return;return this.entryAt(a)}setBefore(r,a,i){let s=this.#e.indexOf(r);if(s===-1)return this;return this.insert(s,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 s=this.#e.indexOf(r);if(s===-1)return this;return this.insert(s+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=D4(this.#e,r);if(a!==void 0)return this.get(a)}entryAt(r){let a=D4(this.#e,r);if(a!==void 0)return[a,this.get(a)]}indexOf(r){return this.#e.indexOf(r)}keyAt(r){return D4(this.#e,r)}from(r,a){let i=this.indexOf(r);if(i===-1)return;let s=i+a;if(s<0)s=0;if(s>=this.size)s=this.size-1;return this.at(s)}keyFrom(r,a){let i=this.indexOf(r);if(i===-1)return;let s=i+a;if(s<0)s=0;if(s>=this.size)s=this.size-1;return this.keyAt(s)}find(r,a){let i=0;for(let s of this){if(Reflect.apply(r,a,[s,i,this]))return s;i++}return}findIndex(r,a){let i=0;for(let s of this){if(Reflect.apply(r,a,[s,i,this]))return i;i++}return-1}filter(r,a){let i=[],s=0;for(let l of this){if(Reflect.apply(r,a,[l,s,this]))i.push(l);s++}return new e(i)}map(r,a){let i=[],s=0;for(let l of this)i.push([l[0],Reflect.apply(r,a,[l,s,this])]),s++;return new e(i)}reduce(...r){let[a,i]=r,s=0,l=i??this.at(0);for(let c of this){if(s===0&&r.length===1)l=c;else l=Reflect.apply(a,this,[l,c,s,this]);s++}return l}reduceRight(...r){let[a,i]=r,s=i??this.at(-1);for(let l=this.size-1;l>=0;l--){let c=this.at(l);if(l===this.size-1&&r.length===1)s=c;else s=Reflect.apply(a,this,[s,c,l,this])}return s}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),s=this.get(i);r.set(i,s)}return r}toSpliced(...r){let a=[...this.entries()];return a.splice(...r),new e(a)}slice(r,a){let i=new e,s=this.size-1;if(r===void 0)return i;if(r<0)r=r+this.size;if(a!==void 0&&a>0)s=a-1;for(let l=r;l<=s;l++){let c=this.keyAt(l),d=this.get(c);i.set(c,d)}return i}every(r,a){let i=0;for(let s of this){if(!Reflect.apply(r,a,[s,i,this]))return!1;i++}return!0}some(r,a){let i=0;for(let s of this){if(Reflect.apply(r,a,[s,i,this]))return!0;i++}return!1}};function D4(e,r){if("at"in Array.prototype)return Array.prototype.at.call(e,r);let a=Bne(e,r);return a===-1?void 0:e[a]}Fi(D4,"at");function Bne(e,r){let a=e.length,i=fq(r),s=i>=0?i:a+i;return s<0||s>=a?-1:s}Fi(Bne,"toSafeIndex");function fq(e){return e!==e||e===0?0:Math.trunc(e)}Fi(fq,"toSafeInteger");function UCe(e){let r=e+"CollectionProvider",[a,i]=gt(r),[s,l]=a(r,{collectionElement:null,collectionRef:{current:null},collectionRefObject:{current:null},itemMap:new nq,setItemMap:Fi(()=>{return},"setItemMap")}),c=Fi(({state:G,...X})=>G?t(h,{...X,state:G}):t(d,{...X}),"CollectionProvider");c.displayName=r;let d=Fi((G)=>{let X=U();return t(h,{...G,state:X})},"CollectionInit");d.displayName=r+"Init";let h=Fi((G)=>{let{scope:X,children:J,state:ee}=G,re=_(null),[oe,fe]=u(null),be=ye(re,fe),[We,Ye]=ee;return m(()=>{if(!oe)return;let Se=qne(()=>{});return Se.observe(oe,{childList:!0,subtree:!0}),()=>{Se.disconnect()}},[oe]),t(s,{scope:X,itemMap:We,setItemMap:Ye,collectionRef:be,collectionRefObject:re,collectionElement:oe,children:J})},"CollectionProviderImpl");h.displayName=r+"Impl";let g=e+"CollectionSlot",x=Oi(g),v=F((G,X)=>{let{scope:J,children:ee}=G,re=l(g,J),oe=ye(X,re.collectionRef);return t(x,{ref:oe,children:ee})});v.displayName=g;let b=e+"CollectionItemSlot",y="data-radix-collection-item",k=Oi(b),T=F((G,X)=>{let{scope:J,children:ee,...re}=G,oe=_(null),[fe,be]=u(null),We=ye(X,oe,be),Ye=l(b,J),{setItemMap:Se}=Ye,He=_(re);if(!Une(He.current,re))He.current=re;let ft=He.current;return m(()=>{let Je=ft;return Se((xt)=>{if(!fe)return xt;if(!xt.has(fe))return xt.set(fe,{...Je,element:fe}),xt.toSorted(iq);return xt.set(fe,{...Je,element:fe}).toSorted(iq)}),()=>{Se((xt)=>{if(!fe||!xt.has(fe))return xt;return xt.delete(fe),new nq(xt)})}},[fe,ft,Se]),t(k,{...{[y]:""},ref:We,children:ee})});T.displayName=b;function U(){return u(new nq)}Fi(U,"useInitCollection");function N(G){let{itemMap:X}=l(e+"CollectionConsumer",G);return X}return Fi(N,"useCollection"),[{Provider:c,Slot:v,ItemSlot:T},{createCollectionScope:i,useCollection:N,useInitCollection:U}]}Fi(UCe,"createCollection");function Une(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 s of a){if(!Object.prototype.hasOwnProperty.call(r,s))return!1;if(e[s]!==r[s])return!1}return!0}Fi(Une,"shallowEqual");function Yne(e,r){return!!(r.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_PRECEDING)}Fi(Yne,"isElementPreceding");function iq(e,r){return!e[1].element||!r[1].element?0:Yne(e[1].element,r[1].element)?-1:1}Fi(iq,"sortByDocumentPosition");function qne(e){return new MutationObserver((a)=>{for(let i of a)if(i.type==="childList"){e();return}})}Fi(qne,"getChildListObserver");S();var YCe=Object.defineProperty,qCe=(e,r)=>YCe(e,"name",{value:r,configurable:!0}),HCe=lt(void 0);function $n(e){let r=pt(HCe);return e||r||"ltr"}qCe($n,"useDirection");S();var Wne=["top","right","bottom","left"];var{min:lZ,max:Zu,round:nD,floor:iD}=Math,cZ=(e)=>({x:e,y:e}),VCe={left:"right",right:"left",bottom:"top",top:"bottom"};function sq(e,r,a){return Zu(e,lZ(r,a))}function uZ(e,r){return typeof e==="function"?e(r):e}function vm(e){return e.split("-")[0]}function Fz(e){return e.split("-")[1]}function N4(e){return e==="x"?"y":"x"}function F4(e){return e==="y"?"height":"width"}function pu(e){let r=e[0];return r==="t"||r==="b"?"y":"x"}function j4(e){return N4(pu(e))}function Gne(e,r,a){if(a===void 0)a=!1;let i=Fz(e),s=j4(e),l=F4(s),c=s==="x"?i===(a?"end":"start")?"right":"left":i==="start"?"bottom":"top";if(r.reference[l]>r.floating[l])c=aD(c);return[c,aD(c)]}function Kne(e){let r=aD(e);return[O4(e),r,O4(r)]}function O4(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}var Hne=["left","right"],Vne=["right","left"],WCe=["top","bottom"],GCe=["bottom","top"];function KCe(e,r,a){switch(e){case"top":case"bottom":if(a)return r?Vne:Hne;return r?Hne:Vne;case"left":case"right":return r?WCe:GCe;default:return[]}}function Xne(e,r,a,i){let s=Fz(e),l=KCe(vm(e),a==="start",i);if(s){if(l=l.map((c)=>c+"-"+s),r)l=l.concat(l.map(O4))}return l}function aD(e){let r=vm(e);return VCe[r]+e.slice(r.length)}function XCe(e){var r,a,i,s;return{top:(r=e.top)!=null?r:0,right:(a=e.right)!=null?a:0,bottom:(i=e.bottom)!=null?i:0,left:(s=e.left)!=null?s:0}}function lq(e){return typeof e!=="number"?XCe(e):{top:e,right:e,bottom:e,left:e}}function jz(e){let{x:r,y:a,width:i,height:s}=e;return{width:i,height:s,top:a,left:r,right:r+i,bottom:a+s,x:r,y:a}}function Qne(e,r,a){let{reference:i,floating:s}=e,l=pu(r),c=j4(r),d=F4(c),h=vm(r),g=l==="y",x=i.x+i.width/2-s.width/2,v=i.y+i.height/2-s.height/2,b=i[d]/2-s[d]/2,y;switch(h){case"top":y={x,y:i.y-s.height};break;case"bottom":y={x,y:i.y+i.height};break;case"right":y={x:i.x+i.width,y:v};break;case"left":y={x:i.x-s.width,y:v};break;default:y={x:i.x,y:i.y}}let k=Fz(r);if(k)y[c]+=b*(k==="end"?1:-1)*(a&&g?-1:1);return y}async function eie(e,r){var a;if(r===void 0)r={};let{x:i,y:s,platform:l,rects:c,elements:d,strategy:h}=e,{boundary:g="clippingAncestors",rootBoundary:x="viewport",elementContext:v="floating",altBoundary:b=!1,padding:y=0}=uZ(r,e),k=lq(y),U=d[b?v==="floating"?"reference":"floating":v],N=jz(await l.getClippingRect({element:((a=await(l.isElement==null?void 0:l.isElement(U)))!=null?a:!0)?U:U.contextElement||await(l.getDocumentElement==null?void 0:l.getDocumentElement(d.floating)),boundary:g,rootBoundary:x,strategy:h})),j=v==="floating"?{x:i,y:s,width:c.floating.width,height:c.floating.height}:c.reference,G=await(l.getOffsetParent==null?void 0:l.getOffsetParent(d.floating)),X=await(l.isElement==null?void 0:l.isElement(G))&&await(l.getScale==null?void 0:l.getScale(G))||{x:1,y:1},J=jz(l.convertOffsetParentRelativeRectToViewportRelativeRect?await l.convertOffsetParentRelativeRectToViewportRelativeRect({elements:d,rect:j,offsetParent:G,strategy:h}):j);return{top:(N.top-J.top+k.top)/X.y,bottom:(J.bottom-N.bottom+k.bottom)/X.y,left:(N.left-J.left+k.left)/X.x,right:(J.right-N.right+k.right)/X.x}}var QCe=50,tie=async(e,r,a)=>{let{placement:i="bottom",strategy:s="absolute",middleware:l=[],platform:c}=a,d=c.detectOverflow?c:{...c,detectOverflow:eie},h=await(c.isRTL==null?void 0:c.isRTL(r)),g=await c.getElementRects({reference:e,floating:r,strategy:s}),{x,y:v}=Qne(g,i,h),b=i,y=0,k={};for(let T=0;T<l.length;T++){let U=l[T];if(!U)continue;let{name:N,fn:j}=U,{x:G,y:X,data:J,reset:ee}=await j({x,y:v,initialPlacement:i,placement:b,strategy:s,middlewareData:k,rects:g,platform:d,elements:{reference:e,floating:r}});if(x=G!=null?G:x,v=X!=null?X:v,k[N]={...k[N],...J},ee&&y<QCe){if(y++,typeof ee==="object"){if(ee.placement)b=ee.placement;if(ee.rects)g=ee.rects===!0?await c.getElementRects({reference:e,floating:r,strategy:s}):ee.rects;({x,y:v}=Qne(g,b,h))}T=-1}}return{x,y:v,placement:b,strategy:s,middlewareData:k}},rie=(e)=>({name:"arrow",options:e,async fn(r){let{x:a,y:i,placement:s,rects:l,platform:c,elements:d,middlewareData:h}=r,{element:g,padding:x=0}=uZ(e,r)||{};if(g==null)return{};let v=lq(x),b={x:a,y:i},y=j4(s),k=F4(y),T=await c.getDimensions(g),U=y==="y",N=U?"top":"left",j=U?"bottom":"right",G=U?"clientHeight":"clientWidth",X=l.reference[k]+l.reference[y]-b[y]-l.floating[k],J=b[y]-l.reference[y],ee=await(c.getOffsetParent==null?void 0:c.getOffsetParent(g)),re=ee?ee[G]:0;if(!re||!await(c.isElement==null?void 0:c.isElement(ee)))re=d.floating[G]||l.floating[k];let oe=X/2-J/2,fe=re/2-T[k]/2-1,be=lZ(v[N],fe),We=lZ(v[j],fe),Ye=re-T[k]-We,Se=re/2-T[k]/2+oe,He=sq(be,Se,Ye),ft=!h.arrow&&Fz(s)!=null&&Se!==He&&l.reference[k]/2-(Se<be?be:We)-T[k]/2<0,Je=ft?Se<be?Se-be:Se-Ye:0;return{[y]:b[y]+Je,data:{[y]:He,centerOffset:Se-He-Je,...ft&&{alignmentOffset:Je}},reset:ft}}});var oie=function(e){if(e===void 0)e={};return{name:"flip",options:e,async fn(r){var a,i;let{placement:s,middlewareData:l,rects:c,initialPlacement:d,platform:h,elements:g}=r,{mainAxis:x=!0,crossAxis:v=!0,fallbackPlacements:b,fallbackStrategy:y="bestFit",fallbackAxisSideDirection:k="none",flipAlignment:T=!0,...U}=uZ(e,r);if((a=l.arrow)!=null&&a.alignmentOffset)return{};let N=vm(s),j=pu(d),G=vm(d)===d,X=await(h.isRTL==null?void 0:h.isRTL(g.floating)),J=b||(G||!T?[aD(d)]:Kne(d)),ee=k!=="none";if(!b&&ee)J.push(...Xne(d,T,k,X));let re=[d,...J],oe=await h.detectOverflow(r,U),fe=[],be=((i=l.flip)==null?void 0:i.overflows)||[];if(x)fe.push(oe[N]);if(v){let He=Gne(s,c,X);fe.push(oe[He[0]],oe[He[1]])}if(be=[...be,{placement:s,overflows:fe}],!fe.every((He)=>He<=0)){var We,Ye;let He=(((We=l.flip)==null?void 0:We.index)||0)+1,ft=re[He];if(ft){if(!(v==="alignment"?j!==pu(ft):!1)||be.every((Ft)=>pu(Ft.placement)===j?Ft.overflows[0]>0:!0))return{data:{index:He,overflows:be},reset:{placement:ft}}}let Je=(Ye=be.filter((xt)=>xt.overflows[0]<=0).sort((xt,Ft)=>xt.overflows[1]-Ft.overflows[1])[0])==null?void 0:Ye.placement;if(!Je)switch(y){case"bestFit":{var Se;let xt=(Se=be.filter((Ft)=>{if(ee){let Bt=pu(Ft.placement);return Bt===j||Bt==="y"}return!0}).map((Ft)=>[Ft.placement,Ft.overflows.filter((Bt)=>Bt>0).reduce((Bt,ie)=>Bt+ie,0)]).sort((Ft,Bt)=>Ft[1]-Bt[1])[0])==null?void 0:Se[0];if(xt)Je=xt;break}case"initialPlacement":Je=d;break}if(s!==Je)return{reset:{placement:Je}}}return{}}}};function Jne(e,r){return{top:e.top-r.height,right:e.right-r.width,bottom:e.bottom-r.height,left:e.left-r.width}}function $ne(e){return Wne.some((r)=>e[r]>=0)}var aie=function(e){if(e===void 0)e={};return{name:"hide",options:e,async fn(r){let{rects:a,platform:i}=r,{strategy:s="referenceHidden",...l}=uZ(e,r);switch(s){case"referenceHidden":{let c=await i.detectOverflow(r,{...l,elementContext:"reference"}),d=Jne(c,a.reference);return{data:{referenceHiddenOffsets:d,referenceHidden:$ne(d)}}}case"escaped":{let c=await i.detectOverflow(r,{...l,altBoundary:!0}),d=Jne(c,a.floating);return{data:{escapedOffsets:d,escaped:$ne(d)}}}default:return{}}}}};var nie=new Set(["left","top"]);async function JCe(e,r){let{placement:a,platform:i,elements:s}=e,l=await(i.isRTL==null?void 0:i.isRTL(s.floating)),c=vm(a),d=Fz(a),h=pu(a)==="y",g=nie.has(c)?-1:1,x=l&&h?-1:1,v=uZ(r,e),{mainAxis:b,crossAxis:y,alignmentAxis:k}=typeof v==="number"?{mainAxis:v,crossAxis:0,alignmentAxis:null}:{mainAxis:v.mainAxis||0,crossAxis:v.crossAxis||0,alignmentAxis:v.alignmentAxis};if(d&&typeof k==="number")y=d==="end"?k*-1:k;return h?{x:y*x,y:b*g}:{x:b*g,y:y*x}}var iie=function(e){if(e===void 0)e=0;return{name:"offset",options:e,async fn(r){var a,i;let{x:s,y:l,placement:c,middlewareData:d}=r,h=await JCe(r,e);if(c===((a=d.offset)==null?void 0:a.placement)&&(i=d.arrow)!=null&&i.alignmentOffset)return{};return{x:s+h.x,y:l+h.y,data:{...h,placement:c}}}}},fie=function(e){if(e===void 0)e={};return{name:"shift",options:e,async fn(r){let{x:a,y:i,placement:s,platform:l}=r,{mainAxis:c=!0,crossAxis:d=!1,limiter:h={fn:(j)=>{let{x:G,y:X}=j;return{x:G,y:X}}},...g}=uZ(e,r),x={x:a,y:i},v=await l.detectOverflow(r,g),b=pu(s),y=N4(b),k=x[y],T=x[b],U=(j,G)=>sq(G+v[j==="y"?"top":"left"],G,G-v[j==="y"?"bottom":"right"]);if(c)k=U(y,k);if(d)T=U(b,T);let N=h.fn({...r,[y]:k,[b]:T});return{...N,data:{x:N.x-a,y:N.y-i,enabled:{[y]:c,[b]:d}}}}}},sie=function(e){if(e===void 0)e={};return{options:e,fn(r){var a,i;let{x:s,y:l,placement:c,rects:d,middlewareData:h}=r,{offset:g=0,mainAxis:x=!0,crossAxis:v=!0}=uZ(e,r),b={x:s,y:l},y=pu(c),k=N4(y),T=b[k],U=b[y],N=uZ(g,r),j=typeof N==="number"?{mainAxis:N,crossAxis:0}:{mainAxis:(a=N.mainAxis)!=null?a:0,crossAxis:(i=N.crossAxis)!=null?i:0};if(x){let J=k==="y"?"height":"width",ee=d.reference[k]-d.floating[J]+j.mainAxis,re=d.reference[k]+d.reference[J]-j.mainAxis;if(T<ee)T=ee;else if(T>re)T=re}if(v){var G,X;let J=k==="y"?"width":"height",ee=nie.has(vm(c)),re=d.reference[y]-d.floating[J]+(ee?((G=h.offset)==null?void 0:G[y])||0:0)+(ee?0:j.crossAxis),oe=d.reference[y]+d.reference[J]+(ee?0:((X=h.offset)==null?void 0:X[y])||0)-(ee?j.crossAxis:0);if(U<re)U=re;else if(U>oe)U=oe}return{[k]:T,[y]:U}}}},lie=function(e){if(e===void 0)e={};return{name:"size",options:e,async fn(r){let{placement:a,rects:i,platform:s,elements:l}=r,{apply:c=()=>{},...d}=uZ(e,r),h=await s.detectOverflow(r,d),g=vm(a),x=Fz(a),v=pu(a)==="y",{width:b,height:y}=i.floating,k,T;if(g==="top"||g==="bottom")k=g,T=x===(await(s.isRTL==null?void 0:s.isRTL(l.floating))?"start":"end")?"left":"right";else T=g,k=x==="end"?"top":"bottom";let U=y-h.top-h.bottom,N=b-h.left-h.right,j=lZ(y-h[k],U),G=lZ(b-h[T],N),X=r.middlewareData.shift,J=!X,ee=j,re=G;if(X!=null&&X.enabled.x)re=N;if(X!=null&&X.enabled.y)ee=U;if(J&&!x)if(v)re=b-2*Zu(h.left,h.right);else ee=y-2*Zu(h.top,h.bottom);await c({...r,availableWidth:re,availableHeight:ee});let oe=await s.getDimensions(l.floating);if(b!==oe.width||y!==oe.height)return{reset:{rects:!0}};return{}}}};function B4(){return typeof window<"u"}function Yz(e){if(uie(e))return(e.nodeName||"").toLowerCase();return"#document"}function ss(e){var r;return(e==null||(r=e.ownerDocument)==null?void 0:r.defaultView)||window}function dZ(e){var r;return(r=(uie(e)?e.ownerDocument:e.document)||window.document)==null?void 0:r.documentElement}function uie(e){if(!B4())return!1;return e instanceof Node||e instanceof ss(e).Node}function mu(e){if(!B4())return!1;return e instanceof Element||e instanceof ss(e).Element}function ym(e){if(!B4())return!1;return e instanceof HTMLElement||e instanceof ss(e).HTMLElement}function cie(e){if(!B4()||typeof ShadowRoot>"u")return!1;return e instanceof ShadowRoot||e instanceof ss(e).ShadowRoot}function fD(e){let{overflow:r,overflowX:a,overflowY:i,display:s}=hu(e);return/auto|scroll|overlay|hidden|clip/.test(r+i+a)&&s!=="inline"&&s!=="contents"}function die(e){return/^(table|td|th)$/.test(Yz(e))}function sD(e){try{if(e.matches(":popover-open"))return!0}catch(r){}try{return e.matches(":modal")}catch(r){return!1}}var $Ce=/transform|translate|scale|rotate|perspective|filter/,eIe=/paint|layout|strict|content/,Bz=(e)=>!!e&&e!=="none",cq;function U4(e){let r=mu(e)?hu(e):e;return Bz(r.transform)||Bz(r.translate)||Bz(r.scale)||Bz(r.rotate)||Bz(r.perspective)||!Y4()&&(Bz(r.backdropFilter)||Bz(r.filter))||$Ce.test(r.willChange||"")||eIe.test(r.contain||"")}function Zie(e){let r=m8(e);while(ym(r)&&!aR(r)){if(U4(r))return r;else if(sD(r))return null;r=m8(r)}return null}function Y4(){if(cq==null)cq=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none");return cq}function aR(e){return/^(html|body|#document)$/.test(Yz(e))}function hu(e){return ss(e).getComputedStyle(e)}function lD(e){if(mu(e))return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop};return{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function m8(e){if(Yz(e)==="html")return e;let r=e.assignedSlot||e.parentNode||cie(e)&&e.host||dZ(e);return cie(r)?r.host:r}function pie(e){let r=m8(e);if(aR(r))return(e.ownerDocument||e).body;if(ym(r)&&fD(r))return r;return pie(r)}function Uz(e,r,a){var i;if(r===void 0)r=[];if(a===void 0)a=!0;let s=pie(e),l=s===((i=e.ownerDocument)==null?void 0:i.body),c=ss(s);if(l){let d=q4(c);return r.concat(c,c.visualViewport||[],fD(s)?s:[],d&&a?Uz(d):[])}else return r.concat(s,Uz(s,[],a))}function q4(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function gie(e){let r=hu(e),a=parseFloat(r.width)||0,i=parseFloat(r.height)||0,s=ym(e),l=s?e.offsetWidth:a,c=s?e.offsetHeight:i,d=nD(a)!==l||nD(i)!==c;if(d)a=l,i=c;return{width:a,height:i,$:d}}function dq(e){return!mu(e)?e.contextElement:e}function nR(e){let r=dq(e);if(!ym(r))return cZ(1);let a=r.getBoundingClientRect(),{width:i,height:s,$:l}=gie(r),c=(l?nD(a.width):a.width)/i,d=(l?nD(a.height):a.height)/s;if(!c||!Number.isFinite(c))c=1;if(!d||!Number.isFinite(d))d=1;return{x:c,y:d}}var tIe=cZ(0);function Mie(e){let r=ss(e);if(!Y4()||!r.visualViewport)return tIe;return{x:r.visualViewport.offsetLeft,y:r.visualViewport.offsetTop}}function rIe(e,r,a){if(r===void 0)r=!1;return!!a&&r&&a===ss(e)}function qz(e,r,a,i){if(r===void 0)r=!1;if(a===void 0)a=!1;let s=e.getBoundingClientRect(),l=dq(e),c=cZ(1);if(r)if(i){if(mu(i))c=nR(i)}else c=nR(e);let d=rIe(l,a,i)?Mie(l):cZ(0),h=(s.left+d.x)/c.x,g=(s.top+d.y)/c.y,x=s.width/c.x,v=s.height/c.y;if(l&&i){let b=ss(l),y=mu(i)?ss(i):i,k=b,T=q4(k);while(T&&y!==k){let U=nR(T),N=T.getBoundingClientRect(),j=hu(T),G=N.left+(T.clientLeft+parseFloat(j.paddingLeft))*U.x,X=N.top+(T.clientTop+parseFloat(j.paddingTop))*U.y;h*=U.x,g*=U.y,x*=U.x,v*=U.y,h+=G,g+=X,k=ss(T),T=q4(k)}}return jz({width:x,height:v,x:h,y:g})}function H4(e,r){let a=lD(e).scrollLeft;if(!r)return qz(dZ(e)).left+a;return r.left+a}function xie(e,r){let a=e.getBoundingClientRect(),i=a.left+r.scrollLeft-H4(e,a),s=a.top+r.scrollTop;return{x:i,y:s}}function oIe(e){let{elements:r,rect:a,offsetParent:i,strategy:s}=e,l=s==="fixed",c=dZ(i),d=r?sD(r.floating):!1;if(i===c||d&&l)return a;let h={scrollLeft:0,scrollTop:0},g=cZ(1),x=cZ(0),v=ym(i);if(v||!l){if(Yz(i)!=="body"||fD(c))h=lD(i);if(v){let y=qz(i);g=nR(i),x.x=y.x+i.clientLeft,x.y=y.y+i.clientTop}}let b=c&&!v&&!l?xie(c,h):cZ(0);return{width:a.width*g.x,height:a.height*g.y,x:a.x*g.x-h.scrollLeft*g.x+x.x+b.x,y:a.y*g.y-h.scrollTop*g.y+x.y+b.y}}function aIe(e){return e.getClientRects?Array.from(e.getClientRects()):[]}function nIe(e){let r=lD(e),a=e.ownerDocument.body,i=Zu(e.scrollWidth,e.clientWidth,a.scrollWidth,a.clientWidth),s=Zu(e.scrollHeight,e.clientHeight,a.scrollHeight,a.clientHeight),l=-r.scrollLeft+H4(e),c=-r.scrollTop;if(hu(a).direction==="rtl")l+=Zu(e.clientWidth,a.clientWidth)-i;return{width:i,height:s,x:l,y:c}}var iIe=25;function fIe(e,r,a){if(a===void 0)a="viewport";let i=a==="layoutViewport",s=ss(e),l=dZ(e),c=s.visualViewport,{clientWidth:d,clientHeight:h}=l,g=0,x=0;if(c){let b=!Y4()||r==="fixed";if(i){if(!b)g=-c.offsetLeft,x=-c.offsetTop}else if(d=c.width,h=c.height,b)g=c.offsetLeft,x=c.offsetTop}if(H4(l)<=0){let b=l.ownerDocument,y=b.body,k=getComputedStyle(y),T=b.compatMode==="CSS1Compat"?parseFloat(k.marginLeft)+parseFloat(k.marginRight)||0:0,U=Math.abs(l.clientWidth-y.clientWidth-T),N=getComputedStyle(l).scrollbarGutter==="stable both-edges"?U/2:U;if(N<=iIe)d-=N}return{width:d,height:h,x:g,y:x}}function sIe(e,r){let a=qz(e,!0,r==="fixed"),i=a.top+e.clientTop,s=a.left+e.clientLeft,l=nR(e),c=e.clientWidth*l.x,d=e.clientHeight*l.y,h=s*l.x,g=i*l.y;return{width:c,height:d,x:h,y:g}}function mie(e,r,a){let i;if(r==="viewport"||r==="layoutViewport")i=fIe(e,a,r);else if(r==="document")i=nIe(dZ(e));else if(mu(r))i=sIe(r,a);else{let s=Mie(e);i={x:r.x-s.x,y:r.y-s.y,width:r.width,height:r.height}}return jz(i)}function lIe(e,r){let a=r.get(e);if(a)return a;let i=Uz(e,[],!1).filter((d)=>mu(d)&&Yz(d)!=="body"),s=null,l=hu(e).position==="fixed",c=l?m8(e):e;while(mu(c)&&!aR(c)){let d=hu(c),h=U4(c),g=s?s.position:l?"fixed":"";if(!h&&(g==="fixed"||g==="absolute"&&d.position==="static"))i=i.filter((v)=>v!==c);else s=d;c=m8(c)}return r.set(e,i),i}function cIe(e){let{element:r,boundary:a,rootBoundary:i,strategy:s}=e,c=[...a==="clippingAncestors"?sD(r)?[]:lIe(r,this._c):[].concat(a),i],d=mie(r,c[0],s),{top:h,right:g,bottom:x,left:v}=d;for(let b=1;b<c.length;b++){let y=mie(r,c[b],s);h=Zu(y.top,h),g=lZ(y.right,g),x=lZ(y.bottom,x),v=Zu(y.left,v)}return{width:g-v,height:x-h,x:v,y:h}}function uIe(e){let{width:r,height:a}=gie(e);return{width:r,height:a}}function dIe(e,r,a){let i=ym(r),s=dZ(r),l=a==="fixed",c=qz(e,!0,l,r),d={scrollLeft:0,scrollTop:0},h=cZ(0);if(i||!l){if(Yz(r)!=="body"||fD(s))d=lD(r);if(i){let b=qz(r,!0,l,r);h.x=b.x+r.clientLeft,h.y=b.y+r.clientTop}}if(!i&&s)h.x=H4(s);let g=s&&!i&&!l?xie(s,d):cZ(0),x=c.left+d.scrollLeft-h.x-g.x,v=c.top+d.scrollTop-h.y-g.y;return{x,y:v,width:c.width,height:c.height}}function uq(e){return hu(e).position==="static"}function hie(e,r){if(!ym(e)||hu(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 vie(e,r){let a=ss(e);if(sD(e))return a;if(!ym(e)){let s=m8(e);while(s&&!aR(s)){if(mu(s)&&!uq(s))return s;s=m8(s)}return a}let i=hie(e,r);while(i&&die(i)&&uq(i))i=hie(i,r);if(i&&aR(i)&&uq(i)&&!U4(i))return a;return i||Zie(e)||a}var ZIe=async function(e){let r=this.getOffsetParent||vie,a=this.getDimensions,i=await a(e.floating);return{reference:dIe(e.reference,await r(e.floating),e.strategy),floating:{x:0,y:0,width:i.width,height:i.height}}};function pIe(e){return hu(e).direction==="rtl"}var yie={convertOffsetParentRelativeRectToViewportRelativeRect:oIe,getDocumentElement:dZ,getClippingRect:cIe,getOffsetParent:vie,getElementRects:ZIe,getClientRects:aIe,getDimensions:uIe,getScale:nR,isElement:mu,isRTL:pIe};function _ie(e,r){return e.x===r.x&&e.y===r.y&&e.width===r.width&&e.height===r.height}function mIe(e,r,a){let i=null,s,l=dZ(e);function c(){var x;clearTimeout(s),(x=i)==null||x.disconnect(),i=null}function d(x,v){if(x===void 0)x=!1;if(v===void 0)v=1;c();let b=e.getBoundingClientRect(),{left:y,top:k,width:T,height:U}=b;if(!x)r();if(!T||!U)return;let N=iD(k),j=iD(l.clientWidth-(y+T)),G=iD(l.clientHeight-(k+U)),X=iD(y),ee={rootMargin:-N+"px "+-j+"px "+-G+"px "+-X+"px",threshold:Zu(0,lZ(1,v))||1},re=!0;function oe(fe){let be=fe[0].intersectionRatio;if(!_ie(b,e.getBoundingClientRect()))return d();if(be!==v){if(!re)return d();if(!be)s=setTimeout(()=>{d(!1,0.0000001)},1000);else d(!1,be)}re=!1}try{i=new IntersectionObserver(oe,{...ee,root:l.ownerDocument})}catch(fe){i=new IntersectionObserver(oe,ee)}i.observe(e)}let h=ss(e),g=()=>d(a);return h.addEventListener("resize",g),d(!0),()=>{h.removeEventListener("resize",g),c()}}function Zq(e,r,a,i){if(i===void 0)i={};let{ancestorScroll:s=!0,ancestorResize:l=!0,elementResize:c=typeof ResizeObserver==="function",layoutShift:d=typeof IntersectionObserver==="function",animationFrame:h=!1}=i,g=dq(e),x=s||l?[...g?Uz(g):[],...r?Uz(r):[]]:[];x.forEach((N)=>{s&&N.addEventListener("scroll",a),l&&N.addEventListener("resize",a)});let v=g&&d?mIe(g,a,l):null,b=-1,y=null;if(c){if(y=new ResizeObserver((N)=>{let[j]=N;if(j&&j.target===g&&y&&r)y.unobserve(r),cancelAnimationFrame(b),b=requestAnimationFrame(()=>{var G;(G=y)==null||G.observe(r)});a()}),g&&!h)y.observe(g);if(r)y.observe(r)}let k,T=h?qz(e):null;if(h)U();function U(){let N=qz(e);if(T&&!_ie(T,N))a();T=N,k=requestAnimationFrame(U)}return a(),()=>{var N;if(x.forEach((j)=>{s&&j.removeEventListener("scroll",a),l&&j.removeEventListener("resize",a)}),v==null||v(),(N=y)==null||N.disconnect(),y=null,h)cancelAnimationFrame(k)}}var bie=iie;var wie=fie,zie=oie,Sie=lie,Lie=aie,pq=rie;var kie=sie,mq=(e,r,a)=>{let i=new Map,s=a!=null?a:{},l={...yie,...s.platform,_c:i};return tie(e,r,{...s,platform:l})};S();S();var hIe=typeof document<"u",gIe=function(){},V4=hIe?$e:gIe;function W4(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,s;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(!W4(e[i],r[i]))return!1;return!0}if(s=Object.keys(e),a=s.length,a!==Object.keys(r).length)return!1;for(i=a;i--!==0;)if(!{}.hasOwnProperty.call(r,s[i]))return!1;for(i=a;i--!==0;){let l=s[i];if(l==="_owner"&&e.$$typeof)continue;if(!W4(e[l],r[l]))return!1}return!0}return e!==e&&r!==r}function Iie(e){if(typeof window>"u")return 1;return(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Cie(e,r){let a=Iie(e);return Math.round(r*a)/a}function hq(e){let r=_(e);return V4(()=>{r.current=e}),r}function Rie(e){if(e===void 0)e={};let{placement:r="bottom",strategy:a="absolute",middleware:i=[],platform:s,elements:{reference:l,floating:c}={},transform:d=!0,whileElementsMounted:h,open:g}=e,[x,v]=u({x:0,y:0,strategy:a,placement:r,middlewareData:{},isPositioned:!1}),[b,y]=u(i);if(!W4(b,i))y(i);let[k,T]=u(null),[U,N]=u(null),j=P((Ft)=>{if(Ft!==ee.current)ee.current=Ft,T(Ft)},[]),G=P((Ft)=>{if(Ft!==re.current)re.current=Ft,N(Ft)},[]),X=l||k,J=c||U,ee=_(null),re=_(null),oe=_(x),fe=h!=null,be=hq(h),We=hq(s),Ye=hq(g),Se=P(()=>{if(!ee.current||!re.current)return;let Ft={placement:r,strategy:a,middleware:b};if(We.current)Ft.platform=We.current;mq(ee.current,re.current,Ft).then((Bt)=>{let ie={...Bt,isPositioned:Ye.current!==!1};if(He.current&&!W4(oe.current,ie))oe.current=ie,nn(()=>{v(ie)})})},[b,r,a,We,Ye]);V4(()=>{if(g===!1&&oe.current.isPositioned)oe.current.isPositioned=!1,v((Ft)=>({...Ft,isPositioned:!1}))},[g]);let He=_(!1);V4(()=>(He.current=!0,()=>{He.current=!1}),[]),V4(()=>{if(X)ee.current=X;if(J)re.current=J;if(X&&J){if(be.current)return be.current(X,J,Se);Se()}},[X,J,Se,be,fe]);let ft=D(()=>({reference:ee,floating:re,setReference:j,setFloating:G}),[j,G]),Je=D(()=>({reference:X,floating:J}),[X,J]),xt=D(()=>{let Ft={position:a,left:0,top:0};if(!Je.floating)return Ft;let Bt=Cie(Je.floating,x.x),ie=Cie(Je.floating,x.y);if(d)return{...Ft,transform:"translate("+Bt+"px, "+ie+"px)",...Iie(Je.floating)>=1.5&&{willChange:"transform"}};return{position:a,left:Bt,top:ie}},[a,d,Je.floating,x.x,x.y]);return D(()=>({...x,update:Se,refs:ft,elements:Je,floatingStyles:xt}),[x,Se,ft,Je,xt])}var MIe=(e)=>{function r(a){return{}.hasOwnProperty.call(a,"current")}return{name:"arrow",options:e,fn(a){let{element:i,padding:s}=typeof e==="function"?e(a):e;if(i&&r(i)){if(i.current!=null)return pq({element:i.current,padding:s}).fn(a);return{}}if(i)return pq({element:i,padding:s}).fn(a);return{}}}},Pie=(e,r)=>{let a=bie(e);return{name:a.name,fn:a.fn,options:[e,r]}},Tie=(e,r)=>{let a=wie(e);return{name:a.name,fn:a.fn,options:[e,r]}},Aie=(e,r)=>({fn:kie(e).fn,options:[e,r]}),Eie=(e,r)=>{let a=zie(e);return{name:a.name,fn:a.fn,options:[e,r]}},Die=(e,r)=>{let a=Sie(e);return{name:a.name,fn:a.fn,options:[e,r]}};var Oie=(e,r)=>{let a=Lie(e);return{name:a.name,fn:a.fn,options:[e,r]}};var Nie=(e,r)=>{let a=MIe(e);return{name:a.name,fn:a.fn,options:[e,r]}};S();var xIe=Object.defineProperty,vIe=(e,r)=>xIe(e,"name",{value:r,configurable:!0}),yIe=F(vIe(function(r,a){let{children:i,width:s=10,height:l=5,...c}=r;return t(se.svg,{...c,ref:a,width:s,height:l,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:r.asChild?i:t("polygon",{points:"0,0 30,0 15,10"})})},"Arrow")),Fie=yIe;var bIe=Object.defineProperty,_m=(e,r)=>bIe(e,"name",{value:r,configurable:!0});var jie="Popper",[Bie,vc]=gt(jie),[wIe,Uie]=Bie(jie),zIe=_m((e)=>{let{__scopePopper:r,children:a}=e,[i,s]=u(null),[l,c]=u(void 0);return t(wIe,{scope:r,anchor:i,onAnchorChange:s,placementState:l,setPlacementState:c,children:a})},"Popper"),SIe="PopperAnchor",LIe=F(_m(function(r,a){let{__scopePopper:i,virtualRef:s,...l}=r,c=Uie(SIe,i),d=_(null),h=c.onAnchorChange,g=P((T)=>{if(d.current=T,T)h(T)},[h]),x=ye(a,g),v=_(null);m(()=>{if(!s)return;let T=v.current;if(v.current=s.current,T!==v.current)h(v.current)});let b=c.placementState&&G4(c.placementState),y=b?.[0],k=b?.[1];return s?null:t(se.div,{"data-radix-popper-side":y,"data-radix-popper-align":k,...l,ref:x})},"PopperAnchor")),Yie="PopperContent",[kIe,CIe]=Bie(Yie),IIe=F(_m(function(r,a){let{__scopePopper:i,side:s="bottom",sideOffset:l=0,align:c="center",alignOffset:d=0,arrowPadding:h=0,avoidCollisions:g=!0,collisionBoundary:x=[],collisionPadding:v=0,sticky:b="partial",hideWhenDetached:y=!1,updatePositionStrategy:k="optimized",onPlaced:T,...U}=r,N=Uie(Yie,i),[j,G]=u(null),X=ye(a,G),[J,ee]=u(null),re=gi(J),oe=re?.width??0,fe=re?.height??0,be=s+(c!=="center"?"-"+c:""),We=typeof v==="number"?v:{top:0,right:0,bottom:0,left:0,...v},Ye=Array.isArray(x)?x:[x],Se=Ye.length>0,He={padding:We,boundary:Ye.filter(qie),altBoundary:Se},{refs:ft,floatingStyles:Je,placement:xt,isPositioned:Ft,middlewareData:Bt}=Rie({strategy:"fixed",placement:be,whileElementsMounted:_m((...Xt)=>Zq(...Xt,{animationFrame:k==="always"}),"whileElementsMounted"),elements:{reference:N.anchor},middleware:[Pie({mainAxis:l+fe,alignmentAxis:d}),g&&Tie({mainAxis:!0,crossAxis:!1,limiter:b==="partial"?Aie():void 0,...He}),g&&Eie({...He}),Die({...He,apply:_m(({elements:Xt,rects:Ir,availableWidth:yr,availableHeight:Tr})=>{let{width:pr,height:mo}=Ir.reference,co=Xt.floating.style;co.setProperty("--radix-popper-available-width",`${yr}px`),co.setProperty("--radix-popper-available-height",`${Tr}px`),co.setProperty("--radix-popper-anchor-width",`${pr}px`),co.setProperty("--radix-popper-anchor-height",`${mo}px`)},"apply")}),J&&Nie({element:J,padding:h}),AIe({arrowWidth:oe,arrowHeight:fe}),y&&Oie({strategy:"referenceHidden",...He,boundary:Se?He.boundary:void 0})]}),ie=N.setPlacementState;Pt(()=>(ie(xt),()=>{ie(void 0)}),[xt,ie]);let[bt,Wt]=G4(xt),Fe=Qo(T);Pt(()=>{if(Ft)Fe?.()},[Ft,Fe]);let ir=Bt.arrow?.x,fr=Bt.arrow?.y,Jt=Bt.arrow?.centerOffset!==0,[Fr,Gt]=u();return Pt(()=>{if(j)Gt(window.getComputedStyle(j).zIndex)},[j]),t("div",{ref:ft.setFloating,"data-radix-popper-content-wrapper":"",style:{...Je,transform:Ft?Je.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:Fr,"--radix-popper-transform-origin":[Bt.transformOrigin?.x,Bt.transformOrigin?.y].join(" "),...Bt.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:r.dir,children:t(kIe,{scope:i,placedSide:bt,placedAlign:Wt,onArrowChange:ee,arrowX:ir,arrowY:fr,shouldHideArrow:Jt,children:t(se.div,{"data-side":bt,"data-align":Wt,...U,ref:X,style:{...U.style,animation:!Ft?"none":U.style?.animation}})})})},"PopperContent")),RIe="PopperArrow",PIe={top:"bottom",right:"left",bottom:"top",left:"right"},TIe=F(_m(function(r,a){let{__scopePopper:i,...s}=r,l=CIe(RIe,i),c=PIe[l.placedSide];return t("span",{ref:l.onArrowChange,style:{position:"absolute",left:l.arrowX,top:l.arrowY,[c]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[l.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[l.placedSide],visibility:l.shouldHideArrow?"hidden":void 0},children:t(Fie,{...s,ref:a,style:{...s.style,display:"block"}})})},"PopperArrow"));function qie(e){return e!==null}_m(qie,"isNotNull");var AIe=_m((e)=>({name:"transformOrigin",options:e,fn(r){let{placement:a,rects:i,middlewareData:s}=r,c=s.arrow?.centerOffset!==0,d=c?0:e.arrowWidth,h=c?0:e.arrowHeight,[g,x]=G4(a),v={start:"0%",center:"50%",end:"100%"}[x],b=(s.arrow?.x??0)+d/2,y=(s.arrow?.y??0)+h/2,k="",T="";if(g==="bottom")k=c?v:`${b}px`,T=`${-h}px`;else if(g==="top")k=c?v:`${b}px`,T=`${i.floating.height+h}px`;else if(g==="right")k=`${-h}px`,T=c?v:`${y}px`;else if(g==="left")k=`${i.floating.width+h}px`,T=c?v:`${y}px`;return{data:{x:k,y:T}}}}),"transformOrigin");function G4(e){let[r,a="center"]=e.split("-");return[r,a]}_m(G4,"getSideAndAlignFromPlacement");var bm=zIe,h8=LIe,g8=IIe,cD=TIe;S();S();S();var EIe=Object.defineProperty,Mq=(e,r)=>EIe(e,"name",{value:r,configurable:!0}),gq=!1;function Hie(){let[e,r]=u(gq);return m(()=>{if(!gq)gq=!0,r(!0)},[]),e}Mq(Hie,"useIsHydrated");var Vie=Q[" useSyncExternalStore ".trim().toString()];function Wie(){return()=>{}}Mq(Wie,"subscribe");function Gie(){return Vie(Wie,()=>!0,()=>!1)}Mq(Gie,"useIsHydratedModern");var Kie=typeof Vie==="function"?Gie:Hie;var DIe=Object.defineProperty,Hz=(e,r)=>DIe(e,"name",{value:r,configurable:!0}),xq="rovingFocusGroup.onEntryFocus",OIe={bubbles:!1,cancelable:!0},X4="RovingFocusGroup",[vq,Xie,NIe]=Ai(X4),[FIe,_i]=gt(X4,[NIe]),[jIe,BIe]=FIe(X4),UIe=F(Hz(function(r,a){return t(vq.Provider,{scope:r.__scopeRovingFocusGroup,children:t(vq.Slot,{scope:r.__scopeRovingFocusGroup,children:t(YIe,{...r,ref:a})})})},"RovingFocusGroup")),YIe=F(Hz(function(r,a){let{__scopeRovingFocusGroup:i,orientation:s,loop:l=!1,dir:c,currentTabStopId:d,defaultCurrentTabStopId:h,onCurrentTabStopIdChange:g,onEntryFocus:x,preventScrollOnEntryFocus:v=!1,...b}=r,y=_(null),k=ye(a,y),T=$n(c),[U,N]=Lt({prop:d,defaultProp:h??null,onChange:g,caller:X4}),[j,G]=u(!1),X=Qo(x),J=Xie(i),ee=_(!1),[re,oe]=u(0);return m(()=>{let fe=y.current;if(fe)return fe.addEventListener(xq,X),()=>fe.removeEventListener(xq,X)},[X]),t(jIe,{scope:i,orientation:s,dir:T,loop:l,currentTabStopId:U,onItemFocus:P((fe)=>N(fe),[N]),onItemShiftTab:P(()=>G(!0),[]),onFocusableItemAdd:P(()=>oe((fe)=>fe+1),[]),onFocusableItemRemove:P(()=>oe((fe)=>fe-1),[]),children:t(se.div,{tabIndex:j||re===0?-1:0,"data-orientation":s,...b,ref:k,style:{outline:"none",...r.style},onMouseDown:Y(r.onMouseDown,()=>{ee.current=!0}),onFocus:Y(r.onFocus,(fe)=>{let be=!ee.current;if(fe.target===fe.currentTarget&&be&&!j){let We=new CustomEvent(xq,OIe);if(fe.currentTarget.dispatchEvent(We),!We.defaultPrevented){let Ye=J().filter((xt)=>xt.focusable),Se=Ye.find((xt)=>xt.active),He=Ye.find((xt)=>xt.id===U),Je=[Se,He,...Ye].filter(Boolean).map((xt)=>xt.ref.current);yq(Je,v)}}ee.current=!1}),onBlur:Y(r.onBlur,()=>G(!1))})})},"RovingFocusGroupImpl")),qIe="RovingFocusGroupItem",HIe=F(Hz(function(r,a){let{__scopeRovingFocusGroup:i,focusable:s=!0,active:l=!1,tabStopId:c,children:d,...h}=r,g=Er(),x=c||g,v=BIe(qIe,i),b=v.currentTabStopId===x,y=Xie(i),{onFocusableItemAdd:k,onFocusableItemRemove:T,currentTabStopId:U}=v,N=Kie();return Pt(()=>{if(!N||!s)return;return k(),()=>T()},[N,s,k,T]),m(()=>{if(N||!s)return;return k(),()=>T()},[N,s,k,T]),t(vq.ItemSlot,{scope:i,id:x,focusable:s,active:l,children:t(se.span,{tabIndex:b?0:-1,"data-orientation":v.orientation,...h,ref:a,onMouseDown:Y(r.onMouseDown,(j)=>{if(!s)j.preventDefault();else v.onItemFocus(x)}),onFocus:Y(r.onFocus,()=>v.onItemFocus(x)),onKeyDown:Y(r.onKeyDown,(j)=>{if(j.key==="Tab"&&j.shiftKey){v.onItemShiftTab();return}if(j.target!==j.currentTarget)return;let G=Jie(j,v.orientation,v.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=v.loop?$ie(J,ee+1):J.slice(ee+1)}setTimeout(()=>yq(J))}}),children:typeof d==="function"?d({isCurrentTabStop:b,hasTabStop:U!=null}):d})})},"RovingFocusGroupItem")),VIe={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function Qie(e,r){if(r!=="rtl")return e;return e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}Hz(Qie,"getDirectionAwareKey");function Jie(e,r,a){let i=Qie(e.key,a);if(r==="vertical"&&["ArrowLeft","ArrowRight"].includes(i))return;if(r==="horizontal"&&["ArrowUp","ArrowDown"].includes(i))return;return VIe[i]}Hz(Jie,"getFocusIntent");function yq(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}}Hz(yq,"focusFirst");function $ie(e,r){return e.map((a,i)=>e[(r+i)%e.length])}Hz($ie,"wrapArray");var _l=UIe,yl=HIe;var WIe=Object.defineProperty,Ao=(e,r)=>WIe(e,"name",{value:r,configurable:!0}),_q=["Enter"," "],GIe=["ArrowDown","PageUp","Home"],rfe=["ArrowUp","PageDown","End"],KIe=[...GIe,...rfe],XIe={ltr:[..._q,"ArrowRight"],rtl:[..._q,"ArrowLeft"]},QIe={ltr:["ArrowLeft"],rtl:["ArrowRight"]},J4="Menu",[uD,JIe,$Ie]=Ai(J4),[Vz,bl]=gt(J4,[$Ie,vc,_i]),$4=vc(),ofe=_i(),[afe,M8]=Vz(J4),[e1e,dD]=Vz(J4),t1e=Ao((e)=>{let{__scopeMenu:r,open:a=!1,children:i,dir:s,onOpenChange:l,modal:c=!0}=e,d=$4(r),[h,g]=u(null),x=_(!1),v=Qo(l),b=$n(s);return m(()=>{let y=Ao(()=>{x.current=!0,document.addEventListener("pointerdown",k,{capture:!0,once:!0}),document.addEventListener("pointermove",k,{capture:!0,once:!0})},"handleKeyDown"),k=Ao(()=>x.current=!1,"handlePointer");return document.addEventListener("keydown",y,{capture:!0}),()=>{document.removeEventListener("keydown",y,{capture:!0}),document.removeEventListener("pointerdown",k,{capture:!0}),document.removeEventListener("pointermove",k,{capture:!0})}},[]),m(()=>{if(!a)return;let y=Ao(()=>v(!1),"handleBlur");return window.addEventListener("blur",y),()=>window.removeEventListener("blur",y)},[a,v]),t(bm,{...d,children:t(afe,{scope:r,open:a,onOpenChange:v,content:h,onContentChange:g,children:t(e1e,{scope:r,onClose:P(()=>v(!1),[v]),isUsingKeyboardRef:x,dir:b,modal:c,children:i})})})},"Menu"),nfe=F(Ao(function(r,a){let{__scopeMenu:i,...s}=r,l=$4(i);return t(h8,{...l,...s,ref:a})},"MenuAnchor")),ife="MenuPortal",[r1e,ffe]=Vz(ife,{forceMount:void 0}),o1e=Ao((e)=>{let{__scopeMenu:r,forceMount:a,children:i,container:s}=e,l=M8(ife,r);return t(r1e,{scope:r,forceMount:a,children:t(cr,{present:a||l.open,children:t(fZ,{asChild:!0,container:s,children:i})})})},"MenuPortal"),gu="MenuContent",[a1e,wq]=Vz(gu),n1e=F(Ao(function(r,a){let i=ffe(gu,r.__scopeMenu),{forceMount:s=i.forceMount,...l}=r,c=M8(gu,r.__scopeMenu),d=dD(gu,r.__scopeMenu);return t(uD.Provider,{scope:r.__scopeMenu,children:t(cr,{present:s||c.open,children:t(uD.Slot,{scope:r.__scopeMenu,children:d.modal?t(i1e,{...l,ref:a}):t(f1e,{...l,ref:a})})})})},"MenuContent")),i1e=F(Ao(function(r,a){let i=M8(gu,r.__scopeMenu),s=_(null),l=ye(a,s);return m(()=>{let c=s.current;if(c)return p8(c)},[]),t(zq,{...r,ref:l,trapFocus:i.open,disableOutsidePointerEvents:i.open,disableOutsideScroll:!0,onFocusOutside:Y(r.onFocusOutside,(c)=>c.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>i.onOpenChange(!1)})},"MenuRootContentModal")),f1e=F(Ao(function(r,a){let i=M8(gu,r.__scopeMenu);return t(zq,{...r,ref:a,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>i.onOpenChange(!1)})},"MenuRootContentNonModal")),s1e=Oi("MenuContent.ScrollLock"),zq=F(Ao(function(r,a){let{__scopeMenu:i,loop:s=!1,trapFocus:l,onOpenAutoFocus:c,onCloseAutoFocus:d,disableOutsidePointerEvents:h,onEntryFocus:g,onEscapeKeyDown:x,onPointerDownOutside:v,onFocusOutside:b,onInteractOutside:y,onDismiss:k,disableOutsideScroll:T,...U}=r,N=M8(gu,i),j=dD(gu,i),G=$4(i),X=ofe(i),J=JIe(i),[ee,re]=u(null),oe=_(null),fe=ye(a,oe,N.onContentChange),be=_(0),We=_(""),Ye=_(0),Se=_(null),He=_("right"),ft=_(0),Je=T?fm:In,xt=T?{as:s1e,allowPinchZoom:!0}:void 0,Ft=Ao((ie)=>{let bt=We.current+ie,Wt=J().filter((Gt)=>!Gt.disabled),Fe=document.activeElement,ir=Wt.find((Gt)=>Gt.ref.current===Fe)?.textValue,fr=Wt.map((Gt)=>Gt.textValue),Jt=mfe(fr,bt,ir),Fr=Wt.find((Gt)=>Gt.textValue===Jt)?.ref.current;if(Ao(function Gt(Xt){if(We.current=Xt,window.clearTimeout(be.current),Xt!=="")be.current=window.setTimeout(()=>Gt(""),1000)},"updateSearch")(bt),Fr)setTimeout(()=>Fr.focus())},"handleTypeaheadSearch");m(()=>()=>window.clearTimeout(be.current),[]),sZ();let Bt=P((ie)=>He.current===Se.current?.side&&gfe(ie,Se.current?.area),[]);return t(a1e,{scope:i,searchRef:We,onItemEnter:P((ie)=>{if(Bt(ie))ie.preventDefault()},[Bt]),onItemLeave:P((ie)=>{if(Bt(ie))return;oe.current?.focus(),re(null)},[Bt]),onTriggerLeave:P((ie)=>{if(Bt(ie))ie.preventDefault()},[Bt]),pointerGraceTimerRef:Ye,onPointerGraceIntentChange:P((ie)=>{Se.current=ie},[]),children:t(Je,{...xt,children:t(Z8,{asChild:!0,trapped:l,onMountAutoFocus:Y(c,(ie)=>{ie.preventDefault(),oe.current?.focus({preventScroll:!0})}),onUnmountAutoFocus:d,children:t(iZ,{asChild:!0,disableOutsidePointerEvents:h,onEscapeKeyDown:x,onPointerDownOutside:v,onFocusOutside:b,onInteractOutside:y,onDismiss:k,children:t(_l,{asChild:!0,...X,dir:j.dir,orientation:"vertical",loop:s,currentTabStopId:ee,onCurrentTabStopIdChange:re,onEntryFocus:Y(g,(ie)=>{if(!j.isUsingKeyboardRef.current)ie.preventDefault()}),preventScrollOnEntryFocus:!0,children:t(g8,{role:"menu","aria-orientation":"vertical","data-state":Sq(N.open),"data-radix-menu-content":"",dir:j.dir,...G,...U,ref:fe,style:{outline:"none",...U.style},onKeyDown:Y(U.onKeyDown,(ie)=>{let Wt=ie.target.closest("[data-radix-menu-content]")===ie.currentTarget,Fe=ie.ctrlKey||ie.altKey||ie.metaKey,ir=ie.key.length===1;if(Wt){if(ie.key==="Tab")ie.preventDefault();if(!Fe&&ir)Ft(ie.key)}let fr=oe.current;if(ie.target!==fr)return;if(!KIe.includes(ie.key))return;ie.preventDefault();let Fr=J().filter((Gt)=>!Gt.disabled).map((Gt)=>Gt.ref.current);if(rfe.includes(ie.key))Fr.reverse();Zfe(Fr)}),onBlur:Y(r.onBlur,(ie)=>{if(!ie.currentTarget.contains(ie.target))window.clearTimeout(be.current),We.current=""}),onPointerMove:Y(r.onPointerMove,iR((ie)=>{let bt=ie.target,Wt=ft.current!==ie.clientX;if(ie.currentTarget.contains(bt)&&Wt){let Fe=ie.clientX>ft.current?"right":"left";He.current=Fe,ft.current=ie.clientX}}))})})})})})})},"MenuContentImpl")),l1e=F(Ao(function(r,a){let{__scopeMenu:i,...s}=r;return t(se.div,{role:"group",...s,ref:a})},"MenuGroup")),c1e=F(Ao(function(r,a){let{__scopeMenu:i,...s}=r;return t(se.div,{...s,ref:a})},"MenuLabel")),bq="MenuItem",tfe="menu.itemSelect",sfe=F(Ao(function(r,a){let{disabled:i=!1,onSelect:s,...l}=r,c=_(null),d=dD(bq,r.__scopeMenu),h=wq(bq,r.__scopeMenu),g=ye(a,c),x=_(!1),v=Ao(()=>{let b=c.current;if(!i&&b){let y=new CustomEvent(tfe,{bubbles:!0,cancelable:!0});if(b.addEventListener(tfe,(k)=>s?.(k),{once:!0}),$2(b,y),y.defaultPrevented)x.current=!1;else d.onClose()}},"handleSelect");return t(lfe,{...l,ref:g,disabled:i,onClick:Y(r.onClick,v),onPointerDown:(b)=>{r.onPointerDown?.(b),x.current=!0},onPointerUp:Y(r.onPointerUp,(b)=>{if(!x.current)b.currentTarget?.click()}),onKeyDown:Y(r.onKeyDown,(b)=>{if(i||b.target!==b.currentTarget)return;if(h.searchRef.current!==""&&b.key===" ")return;if(_q.includes(b.key))b.currentTarget.click(),b.preventDefault()})})},"MenuItem")),lfe=F(Ao(function(r,a){let{__scopeMenu:i,disabled:s=!1,textValue:l,...c}=r,d=wq(bq,i),h=ofe(i),g=_(null),x=ye(a,g),[v,b]=u(!1),[y,k]=u("");return m(()=>{let T=g.current;if(T)k((T.textContent??"").trim())},[c.children]),t(uD.ItemSlot,{scope:i,disabled:s,textValue:l??y,children:t(yl,{asChild:!0,...h,focusable:!s,children:t(se.div,{role:"menuitem","data-highlighted":v?"":void 0,"aria-disabled":s||void 0,"data-disabled":s?"":void 0,...c,ref:x,onPointerMove:Y(r.onPointerMove,iR((T)=>{if(s)d.onItemLeave(T);else if(d.onItemEnter(T),!T.defaultPrevented)T.currentTarget.focus({preventScroll:!0})})),onPointerLeave:Y(r.onPointerLeave,iR((T)=>d.onItemLeave(T))),onFocus:Y(r.onFocus,()=>b(!0)),onBlur:Y(r.onBlur,()=>b(!1))})})})},"MenuItemImpl"));var u1e="MenuRadioGroup",[d1e,Z1e]=Vz(u1e,{value:void 0,onValueChange:Ao(()=>{},"onValueChange")}),p1e=F(Ao(function(r,a){let{value:i,onValueChange:s,...l}=r,c=Qo(s);return t(d1e,{scope:r.__scopeMenu,value:i,onValueChange:c,children:t(l1e,{...l,ref:a})})},"MenuRadioGroup")),m1e="MenuRadioItem",h1e=F(Ao(function(r,a){let{value:i,...s}=r,l=Z1e(m1e,r.__scopeMenu),c=i===l.value;return t(g1e,{scope:r.__scopeMenu,checked:c,children:t(sfe,{role:"menuitemradio","aria-checked":c,...s,ref:a,"data-state":kq(c),onSelect:Y(s.onSelect,()=>l.onValueChange?.(i),{checkForDefaultPrevented:!1})})})},"MenuRadioItem")),cfe="MenuItemIndicator",[g1e,M1e]=Vz(cfe,{checked:!1}),x1e=F(Ao(function(r,a){let{__scopeMenu:i,forceMount:s,...l}=r,c=M1e(cfe,i);return t(cr,{present:s||Lq(c.checked)||c.checked===!0,children:t(se.span,{...l,ref:a,"data-state":kq(c.checked)})})},"MenuItemIndicator")),v1e=F(Ao(function(r,a){let{__scopeMenu:i,...s}=r;return t(se.div,{role:"separator","aria-orientation":"horizontal",...s,ref:a})},"MenuSeparator"));var ufe="MenuSub",[y1e,dfe]=Vz(ufe),_1e=Ao((e)=>{let{__scopeMenu:r,children:a,open:i=!1,onOpenChange:s}=e,l=M8(ufe,r),c=$4(r),[d,h]=u(null),[g,x]=u(null),v=Qo(s);return m(()=>{if(l.open===!1)v(!1);return()=>v(!1)},[l.open,v]),t(bm,{...c,children:t(afe,{scope:r,open:i,onOpenChange:v,content:g,onContentChange:x,children:t(y1e,{scope:r,contentId:Er(),triggerId:Er(),trigger:d,onTriggerChange:h,children:a})})})},"MenuSub"),Q4="MenuSubTrigger",b1e=F(Ao(function(r,a){let i=M8(Q4,r.__scopeMenu),s=dD(Q4,r.__scopeMenu),l=dfe(Q4,r.__scopeMenu),c=wq(Q4,r.__scopeMenu),d=_(null),{pointerGraceTimerRef:h,onPointerGraceIntentChange:g}=c,x={__scopeMenu:r.__scopeMenu},v=P(()=>{if(d.current)window.clearTimeout(d.current);d.current=null},[]);m(()=>v,[v]),m(()=>{let y=h.current;return()=>{window.clearTimeout(y),g(null)}},[h,g]);let b=ye(a,l.onTriggerChange);return t(nfe,{asChild:!0,...x,children:t(lfe,{id:l.triggerId,"aria-haspopup":"menu","aria-expanded":i.open,"aria-controls":i.open?l.contentId:void 0,"data-state":Sq(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,iR((y)=>{if(c.onItemEnter(y),y.defaultPrevented)return;if(!r.disabled&&!i.open&&!d.current)c.onPointerGraceIntentChange(null),d.current=window.setTimeout(()=>{i.onOpenChange(!0),v()},100)})),onPointerLeave:Y(r.onPointerLeave,iR((y)=>{v();let k=i.content?.getBoundingClientRect();if(k){let T=i.content?.dataset.side,U=T==="right",N=U?-5:5,j=k[U?"left":"right"],G=k[U?"right":"left"];c.onPointerGraceIntentChange({area:[{x:y.clientX+N,y:y.clientY},{x:j,y:k.top},{x:G,y:k.top},{x:G,y:k.bottom},{x:j,y:k.bottom}],side:T}),window.clearTimeout(h.current),h.current=window.setTimeout(()=>c.onPointerGraceIntentChange(null),300)}else{if(c.onTriggerLeave(y),y.defaultPrevented)return;c.onPointerGraceIntentChange(null)}})),onKeyDown:Y(r.onKeyDown,(y)=>{if(r.disabled||y.target!==y.currentTarget)return;if(c.searchRef.current!==""&&y.key===" ")return;if(XIe[s.dir].includes(y.key))i.onOpenChange(!0),i.content?.focus(),y.preventDefault()})})})},"MenuSubTrigger")),w1e="MenuSubContent",z1e=F(Ao(function(r,a){let i=ffe(gu,r.__scopeMenu),{forceMount:s=i.forceMount,align:l="start",...c}=r,d=M8(gu,r.__scopeMenu),h=dD(gu,r.__scopeMenu),g=dfe(w1e,r.__scopeMenu),x=_(null),v=ye(a,x);return t(uD.Provider,{scope:r.__scopeMenu,children:t(cr,{present:s||d.open,children:t(uD.Slot,{scope:r.__scopeMenu,children:t(zq,{id:g.contentId,"aria-labelledby":g.triggerId,...c,ref:v,align:l,side:h.dir==="rtl"?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:(b)=>{if(h.isUsingKeyboardRef.current)x.current?.focus();b.preventDefault()},onCloseAutoFocus:(b)=>b.preventDefault(),onFocusOutside:Y(r.onFocusOutside,(b)=>{if(b.target!==g.trigger)d.onOpenChange(!1)}),onEscapeKeyDown:Y(r.onEscapeKeyDown,(b)=>{h.onClose(),b.preventDefault()}),onKeyDown:Y(r.onKeyDown,(b)=>{let y=b.currentTarget.contains(b.target),k=QIe[h.dir].includes(b.key);if(y&&k)d.onOpenChange(!1),g.trigger?.focus(),b.preventDefault()})})})})})},"MenuSubContent"));function Sq(e){return e?"open":"closed"}Ao(Sq,"getOpenState");function Lq(e){return e==="indeterminate"}Ao(Lq,"isIndeterminate");function kq(e){return Lq(e)?"indeterminate":e?"checked":"unchecked"}Ao(kq,"getCheckedState");function Zfe(e){let r=document.activeElement;for(let a of e){if(a===r)return;if(a.focus(),document.activeElement!==r)return}}Ao(Zfe,"focusFirst");function pfe(e,r){return e.map((a,i)=>e[(r+i)%e.length])}Ao(pfe,"wrapArray");function mfe(e,r,a){let s=r.length>1&&Array.from(r).every((g)=>g===r[0])?r[0]:r,l=a?e.indexOf(a):-1,c=pfe(e,Math.max(l,0));if(s.length===1)c=c.filter((g)=>g!==a);let h=c.find((g)=>g.toLowerCase().startsWith(s.toLowerCase()));return h!==a?h:void 0}Ao(mfe,"getNextMatch");function hfe(e,r){let{x:a,y:i}=e,s=!1;for(let l=0,c=r.length-1;l<r.length;c=l++){let d=r[l],h=r[c],{x:g,y:x}=d,{x:v,y:b}=h;if(x>i!==b>i&&a<(v-g)*(i-x)/(b-x)+g)s=!s}return s}Ao(hfe,"isPointInPolygon");function gfe(e,r){if(!r)return!1;let a={x:e.clientX,y:e.clientY};return hfe(a,r)}Ao(gfe,"isPointerInGraceArea");function iR(e){return(r)=>r.pointerType==="mouse"?e(r):void 0}Ao(iR,"whenMouse");var Xu=t1e,ed=nfe,td=o1e,rd=n1e;var Mfe=c1e,nd=sfe;var xfe=p1e,vfe=h1e,yfe=x1e,od=v1e;var sd=_1e,id=b1e,ad=z1e;S();var L1e=Object.defineProperty,Kl=(e,r)=>L1e(e,"name",{value:r,configurable:!0}),Cq="DropdownMenu",[k1e,uJo]=gt(Cq,[bl]),Xl=bl(),[C1e,_fe]=k1e(Cq),I1e=Kl((e)=>{let{__scopeDropdownMenu:r,children:a,dir:i,open:s,defaultOpen:l,onOpenChange:c,modal:d=!0}=e,h=Xl(r),g=_(null),[x,v]=Lt({prop:s,defaultProp:l??!1,onChange:c,caller:Cq});return t(C1e,{scope:r,triggerId:Er(),triggerRef:g,contentId:Er(),open:x,onOpenChange:v,onOpenToggle:P(()=>v((b)=>!b),[v]),modal:d,children:t(Xu,{...h,open:x,onOpenChange:v,dir:i,modal:d,children:a})})},"DropdownMenu"),R1e="DropdownMenuTrigger",P1e=F(Kl(function(r,a){let{__scopeDropdownMenu:i,disabled:s=!1,...l}=r,c=_fe(R1e,i),d=Xl(i),h=ye(a,c.triggerRef);return t(ed,{asChild:!0,...d,children:t(se.button,{type:"button",id:c.triggerId,"aria-haspopup":"menu","aria-expanded":c.open,"aria-controls":c.open?c.contentId:void 0,"data-state":c.open?"open":"closed","data-disabled":s?"":void 0,disabled:s,...l,ref:h,onPointerDown:Y(r.onPointerDown,(g)=>{if(!s&&g.button===0&&g.ctrlKey===!1){if(c.onOpenToggle(),!c.open)g.preventDefault()}}),onKeyDown:Y(r.onKeyDown,(g)=>{if(s)return;if(["Enter"," "].includes(g.key))c.onOpenToggle();if(g.key==="ArrowDown")c.onOpenChange(!0);if(["Enter"," ","ArrowDown"].includes(g.key))g.preventDefault()})})})},"DropdownMenuTrigger")),T1e=Kl((e)=>{let{__scopeDropdownMenu:r,...a}=e,i=Xl(r);return t(td,{...i,...a})},"DropdownMenuPortal"),A1e="DropdownMenuContent",E1e=F(Kl(function(r,a){let{__scopeDropdownMenu:i,...s}=r,l=_fe(A1e,i),c=Xl(i),d=_(!1);return t(rd,{id:l.contentId,"aria-labelledby":l.triggerId,...c,...s,ref:a,onCloseAutoFocus:Y(r.onCloseAutoFocus,(h)=>{if(!d.current)l.triggerRef.current?.focus();d.current=!1,h.preventDefault()}),onInteractOutside:Y(r.onInteractOutside,(h)=>{let g=h.detail.originalEvent,x=g.button===0&&g.ctrlKey===!0,v=g.button===2||x;if(!l.modal||v)d.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 D1e=F(Kl(function(r,a){let{__scopeDropdownMenu:i,...s}=r,l=Xl(i);return t(Mfe,{...l,...s,ref:a})},"DropdownMenuLabel")),O1e=F(Kl(function(r,a){let{__scopeDropdownMenu:i,...s}=r,l=Xl(i);return t(nd,{...l,...s,ref:a})},"DropdownMenuItem"));var N1e=F(Kl(function(r,a){let{__scopeDropdownMenu:i,...s}=r,l=Xl(i);return t(xfe,{...l,...s,ref:a})},"DropdownMenuRadioGroup")),F1e=F(Kl(function(r,a){let{__scopeDropdownMenu:i,...s}=r,l=Xl(i);return t(vfe,{...l,...s,ref:a})},"DropdownMenuRadioItem")),j1e=F(Kl(function(r,a){let{__scopeDropdownMenu:i,...s}=r,l=Xl(i);return t(yfe,{...l,...s,ref:a})},"DropdownMenuItemIndicator")),B1e=F(Kl(function(r,a){let{__scopeDropdownMenu:i,...s}=r,l=Xl(i);return t(od,{...l,...s,ref:a})},"DropdownMenuSeparator"));var U1e=Kl((e)=>{let{__scopeDropdownMenu:r,children:a,open:i,onOpenChange:s,defaultOpen:l}=e,c=Xl(r),[d,h]=Lt({prop:i,defaultProp:l??!1,onChange:s,caller:"DropdownMenuSub"});return t(sd,{...c,open:d,onOpenChange:h,children:a})},"DropdownMenuSub"),Y1e=F(Kl(function(r,a){let{__scopeDropdownMenu:i,...s}=r,l=Xl(i);return t(id,{...l,...s,ref:a})},"DropdownMenuSubTrigger")),q1e=F(Kl(function(r,a){let{__scopeDropdownMenu:i,...s}=r,l=Xl(i);return t(ad,{...l,...s,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")),H1e=I1e,V1e=P1e,bfe=T1e,W1e=E1e;var G1e=D1e,K1e=O1e;var X1e=N1e,Q1e=F1e,J1e=j1e,$1e=B1e;var eRe=U1e,tRe=Y1e,rRe=q1e;S();var oRe=Object.defineProperty,aRe=(e,r)=>oRe(e,"name",{value:r,configurable:!0}),nRe=F(aRe(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")),iRe=nRe;S();var fRe=Object.defineProperty,x8=(e,r)=>fRe(e,"name",{value:r,configurable:!0}),Iq="Popover",[Sfe,IJo]=gt(Iq,[vc]),Rq=vc(),[sRe,fR]=Sfe(Iq),lRe=x8((e)=>{let{__scopePopover:r,children:a,open:i,defaultOpen:s,onOpenChange:l,modal:c=!1}=e,d=Rq(r),h=_(null),[g,x]=u(!1),[v,b]=Lt({prop:i,defaultProp:s??!1,onChange:l,caller:Iq});return t(bm,{...d,children:t(sRe,{scope:r,contentId:Er(),triggerRef:h,open:v,onOpenChange:b,onOpenToggle:P(()=>b((y)=>!y),[b]),hasCustomAnchor:g,onCustomAnchorAdd:P(()=>x(!0),[]),onCustomAnchorRemove:P(()=>x(!1),[]),modal:c,children:a})})},"Popover");var cRe="PopoverTrigger",uRe=F(x8(function(r,a){let{__scopePopover:i,...s}=r,l=fR(cRe,i),c=Rq(i),d=ye(a,l.triggerRef),h=t(se.button,{type:"button","aria-haspopup":"dialog","aria-expanded":l.open,"aria-controls":l.open?l.contentId:void 0,"data-state":Pq(l.open),...s,ref:d,onClick:Y(r.onClick,l.onOpenToggle)});return l.hasCustomAnchor?h:t(h8,{asChild:!0,...c,children:h})},"PopoverTrigger")),Lfe="PopoverPortal",[dRe,ZRe]=Sfe(Lfe,{forceMount:void 0}),pRe=x8((e)=>{let{__scopePopover:r,forceMount:a,children:i,container:s}=e,l=fR(Lfe,r);return t(dRe,{scope:r,forceMount:a,children:t(cr,{present:a||l.open,children:t(fZ,{asChild:!0,container:s,children:i})})})},"PopoverPortal"),ZD="PopoverContent",mRe=F(x8(function(r,a){let i=ZRe(ZD,r.__scopePopover),{forceMount:s=i.forceMount,...l}=r,c=fR(ZD,r.__scopePopover);return t(cr,{present:s||c.open,children:c.modal?t(gRe,{...l,ref:a}):t(MRe,{...l,ref:a})})},"PopoverContent")),hRe=Oi("PopoverContent.RemoveScroll"),gRe=F(x8(function(r,a){let i=fR(ZD,r.__scopePopover),s=_(null),l=ye(a,s),c=_(!1);return m(()=>{let d=s.current;if(d)return p8(d)},[]),t(fm,{as:hRe,allowPinchZoom:!0,children:t(kfe,{...r,ref:l,trapFocus:i.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Y(r.onCloseAutoFocus,(d)=>{if(d.preventDefault(),!c.current)i.triggerRef.current?.focus()}),onPointerDownOutside:Y(r.onPointerDownOutside,(d)=>{let h=d.detail.originalEvent,g=h.button===0&&h.ctrlKey===!0,x=h.button===2||g;c.current=x},{checkForDefaultPrevented:!1}),onFocusOutside:Y(r.onFocusOutside,(d)=>d.preventDefault(),{checkForDefaultPrevented:!1})})})},"PopoverContentModal")),MRe=F(x8(function(r,a){let i=fR(ZD,r.__scopePopover),s=_(!1),l=_(!1);return t(kfe,{...r,ref:a,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:(c)=>{if(r.onCloseAutoFocus?.(c),!c.defaultPrevented){if(!s.current)i.triggerRef.current?.focus();c.preventDefault()}s.current=!1,l.current=!1},onInteractOutside:(c)=>{if(r.onInteractOutside?.(c),!c.defaultPrevented){if(s.current=!0,c.detail.originalEvent.type==="pointerdown")l.current=!0}let d=c.target;if(i.triggerRef.current?.contains(d))c.preventDefault();if(c.detail.originalEvent.type==="focusin"&&l.current)c.preventDefault()}})},"PopoverContentNonModal")),kfe=F(x8(function(r,a){let{__scopePopover:i,trapFocus:s,onOpenAutoFocus:l,onCloseAutoFocus:c,disableOutsidePointerEvents:d,onEscapeKeyDown:h,onPointerDownOutside:g,onFocusOutside:x,onInteractOutside:v,...b}=r,y=fR(ZD,i),k=Rq(i);return sZ(),t(Z8,{asChild:!0,loop:!0,trapped:s,onMountAutoFocus:l,onUnmountAutoFocus:c,children:t(iZ,{asChild:!0,disableOutsidePointerEvents:d,onInteractOutside:v,onEscapeKeyDown:h,onPointerDownOutside:g,onFocusOutside:x,onDismiss:()=>y.onOpenChange(!1),deferPointerDownOutside:!0,children:t(g8,{"data-state":Pq(y.open),role:"dialog",id:y.contentId,...k,...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 Pq(e){return e?"open":"closed"}x8(Pq,"getState");var xRe=lRe;var vRe=uRe,yRe=pRe,_Re=mRe;S();var bRe=Object.defineProperty,wm=(e,r)=>bRe(e,"name",{value:r,configurable:!0}),Ife="Progress",Eq=100,[wRe,AJo]=gt(Ife),[zRe,SRe]=wRe(Ife),LRe=F(wm(function(r,a){let{__scopeProgress:i,value:s=null,max:l,getValueLabel:c=Rfe,...d}=r;if((l||l===0)&&!Tq(l))console.error(Pfe(`${l}`,"Progress"));let h=Tq(l)?l:Eq;if(s!==null&&!Aq(s,h))console.error(Tfe(`${s}`,"Progress"));let g=Aq(s,h)?s:null,x=pD(g)?c(g,h):void 0;return t(zRe,{scope:i,value:g,max:h,children:t(se.div,{"aria-valuemax":h,"aria-valuemin":0,"aria-valuenow":pD(g)?g:void 0,"aria-valuetext":x,role:"progressbar","data-state":Dq(g,h),"data-value":g??void 0,"data-max":h,...d,ref:a})})},"Progress")),kRe="ProgressIndicator",CRe=F(wm(function(r,a){let{__scopeProgress:i,...s}=r,l=SRe(kRe,i);return t(se.div,{"data-state":Dq(l.value,l.max),"data-value":l.value??void 0,"data-max":l.max,...s,ref:a})},"ProgressIndicator"));function Rfe(e,r){return`${Math.round(e/r*100)}%`}wm(Rfe,"defaultGetValueLabel");function Dq(e,r){return e==null?"indeterminate":e===r?"complete":"loading"}wm(Dq,"getProgressState");function pD(e){return typeof e==="number"}wm(pD,"isNumber");function Tq(e){return pD(e)&&!isNaN(e)&&e>0}wm(Tq,"isValidMaxNumber");function Aq(e,r){return pD(e)&&!isNaN(e)&&e<=r&&e>=0}wm(Aq,"isValidValueNumber");function Pfe(e,r){return`Invalid prop \`max\` of value \`${e}\` supplied to \`${r}\`. Only numbers greater than 0 are valid max values. Defaulting to \`${Eq}\`.`}wm(Pfe,"getInvalidMaxError");function Tfe(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 ${Eq} if no \`max\` prop is set)
58
- - \`null\` or \`undefined\` if the progress is indeterminate.
59
-
60
- Defaulting to \`null\`.`}wm(Tfe,"getInvalidValueError");var IRe=LRe,RRe=CRe;S();var PRe=Object.defineProperty,TRe=(e,r)=>PRe(e,"name",{value:r,configurable:!0});function yi(e,[r,a]){return Math.min(a,Math.max(r,e))}TRe(yi,"clamp");S();var ARe=Object.defineProperty,zo=(e,r)=>ARe(e,"name",{value:r,configurable:!0});function Efe(e,r){return rn((a,i)=>r[a][i]??a,e)}zo(Efe,"useStateMachine");var Dfe="ScrollArea",[Ofe,VJo]=gt(Dfe),[ERe,yc]=Ofe(Dfe),DRe=F(zo(function(r,a){let{__scopeScrollArea:i,type:s="hover",dir:l,scrollHideDelay:c=600,...d}=r,[h,g]=u(null),[x,v]=u(null),[b,y]=u(null),[k,T]=u(null),[U,N]=u(null),[j,G]=u(0),[X,J]=u(0),[ee,re]=u(!1),[oe,fe]=u(!1),be=ye(a,g),We=$n(l);return t(ERe,{scope:i,type:s,dir:We,scrollHideDelay:c,scrollArea:h,viewport:x,onViewportChange:v,content:b,onContentChange:y,scrollbarX:k,onScrollbarXChange:T,scrollbarXEnabled:ee,onScrollbarXEnabledChange:re,scrollbarY:U,onScrollbarYChange:N,scrollbarYEnabled:oe,onScrollbarYEnabledChange:fe,onCornerWidthChange:G,onCornerHeightChange:J,children:t(se.div,{dir:We,...d,ref:be,style:{position:"relative","--radix-scroll-area-corner-width":j+"px","--radix-scroll-area-corner-height":X+"px",...r.style}})})},"ScrollArea")),ORe="ScrollAreaViewport",NRe=F(zo(function(r,a){let{__scopeScrollArea:i,children:s,nonce:l,...c}=r,d=yc(ORe,i),h=_(null),g=ye(a,h,d.onViewportChange);return o(L,{children:[t(FRe,{nonce:l}),t(se.div,{"data-radix-scroll-area-viewport":"",...c,ref:g,style:{overflowX:d.scrollbarXEnabled?"scroll":"hidden",overflowY:d.scrollbarYEnabled?"scroll":"hidden",...r.style},children:t("div",{ref:d.onContentChange,style:{minWidth:"100%",display:"table"},children:s})})]})},"ScrollAreaViewport")),FRe=Un(zo(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),Sm="ScrollAreaScrollbar",jRe=F(zo(function(r,a){let{forceMount:i,...s}=r,l=yc(Sm,r.__scopeScrollArea),{onScrollbarXEnabledChange:c,onScrollbarYEnabledChange:d}=l,h=r.orientation==="horizontal";return m(()=>(h?c(!0):d(!0),()=>{h?c(!1):d(!1)}),[h,c,d]),l.type==="hover"?t(BRe,{...s,ref:a,forceMount:i}):l.type==="scroll"?t(URe,{...s,ref:a,forceMount:i}):l.type==="auto"?t(Nfe,{...s,ref:a,forceMount:i}):l.type==="always"?t(Fq,{...s,ref:a,"data-state":"visible"}):null},"ScrollAreaScrollbar")),BRe=F(zo(function(r,a){let{forceMount:i,...s}=r,l=yc(Sm,r.__scopeScrollArea),[c,d]=u(!1);return m(()=>{let h=l.scrollArea,g=0;if(h){let x=zo(()=>{window.clearTimeout(g),d(!0)},"handlePointerEnter"),v=zo(()=>{g=window.setTimeout(()=>d(!1),l.scrollHideDelay)},"handlePointerLeave");return h.addEventListener("pointerenter",x),h.addEventListener("pointerleave",v),()=>{window.clearTimeout(g),h.removeEventListener("pointerenter",x),h.removeEventListener("pointerleave",v)}}},[l.scrollArea,l.scrollHideDelay]),t(cr,{present:i||c,children:t(Nfe,{"data-state":c?"visible":"hidden",...s,ref:a})})},"ScrollAreaScrollbarHover")),URe=F(zo(function(r,a){let{forceMount:i,...s}=r,l=yc(Sm,r.__scopeScrollArea),c=r.orientation==="horizontal",d=gD(()=>g("SCROLL_END"),100),[h,g]=Efe("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 m(()=>{if(h==="idle"){let x=window.setTimeout(()=>g("HIDE"),l.scrollHideDelay);return()=>window.clearTimeout(x)}},[h,l.scrollHideDelay,g]),m(()=>{let x=l.viewport,v=c?"scrollLeft":"scrollTop";if(x){let b=x[v],y=zo(()=>{let k=x[v];if(b!==k)g("SCROLL"),d();b=k},"handleScroll");return x.addEventListener("scroll",y),()=>x.removeEventListener("scroll",y)}},[l.viewport,c,g,d]),t(cr,{present:i||h!=="hidden",children:t(Fq,{"data-state":h==="hidden"?"hidden":"visible",...s,ref:a,onPointerEnter:Y(r.onPointerEnter,()=>g("POINTER_ENTER")),onPointerLeave:Y(r.onPointerLeave,()=>g("POINTER_LEAVE"))})})},"ScrollAreaScrollbarScroll")),Nfe=F(zo(function(r,a){let i=yc(Sm,r.__scopeScrollArea),{forceMount:s,...l}=r,[c,d]=u(!1),h=r.orientation==="horizontal",g=gD(()=>{if(i.viewport){let x=i.viewport.offsetWidth<i.viewport.scrollWidth,v=i.viewport.offsetHeight<i.viewport.scrollHeight;d(h?x:v)}},10);return Wz(i.viewport,g),Wz(i.content,g),t(cr,{present:s||c,children:t(Fq,{"data-state":c?"visible":"hidden",...l,ref:a})})},"ScrollAreaScrollbarAuto")),Fq=F(zo(function(r,a){let{orientation:i="vertical",...s}=r,l=yc(Sm,r.__scopeScrollArea),c=_(null),d=_(0),[h,g]=u({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}),x=jq(h.viewport,h.content),v={...s,sizes:h,onSizesChange:g,hasThumb:Boolean(x>0&&x<1),onThumbChange:zo((y)=>c.current=y,"onThumbChange"),onThumbPointerUp:zo(()=>d.current=0,"onThumbPointerUp"),onThumbPointerDown:zo((y)=>d.current=y,"onThumbPointerDown")};function b(y,k){return Ufe(y,d.current,h,k)}if(zo(b,"getScrollPosition"),i==="horizontal")return t(YRe,{...v,ref:a,onThumbPositionChange:()=>{if(l.viewport&&c.current){let y=l.viewport.scrollLeft,k=Nq(y,h,l.dir);c.current.style.transform=`translate3d(${k}px, 0, 0)`}},onWheelScroll:(y)=>{if(l.viewport)l.viewport.scrollLeft=y},onDragScroll:(y)=>{if(l.viewport)l.viewport.scrollLeft=b(y,l.dir)}});if(i==="vertical")return t(qRe,{...v,ref:a,onThumbPositionChange:()=>{if(l.viewport&&c.current){let y=l.viewport.scrollTop,k=Nq(y,h);c.current.style.transform=`translate3d(0, ${k}px, 0)`}},onWheelScroll:(y)=>{if(l.viewport)l.viewport.scrollTop=y},onDragScroll:(y)=>{if(l.viewport)l.viewport.scrollTop=b(y)}});return null},"ScrollAreaScrollbarVisible")),YRe=F(zo(function(r,a){let{sizes:i,onSizesChange:s,...l}=r,c=yc(Sm,r.__scopeScrollArea),[d,h]=u(),g=_(null),x=ye(a,g,c.onScrollbarXChange);return m(()=>{if(g.current)h(getComputedStyle(g.current))},[g]),t(jfe,{"data-orientation":"horizontal",...l,ref:x,sizes:i,style:{bottom:0,left:c.dir==="rtl"?"var(--radix-scroll-area-corner-width)":0,right:c.dir==="ltr"?"var(--radix-scroll-area-corner-width)":0,"--radix-scroll-area-thumb-width":hD(i)+"px",...r.style},onThumbPointerDown:(v)=>r.onThumbPointerDown(v.x),onDragScroll:(v)=>r.onDragScroll(v.x),onWheelScroll:(v,b)=>{if(c.viewport){let y=c.viewport.scrollLeft+v.deltaX;if(r.onWheelScroll(y),Uq(y,b))v.preventDefault()}},onResize:()=>{if(g.current&&c.viewport&&d)s({content:c.viewport.scrollWidth,viewport:c.viewport.offsetWidth,scrollbar:{size:g.current.clientWidth,paddingStart:mD(d.paddingLeft),paddingEnd:mD(d.paddingRight)}})}})},"ScrollAreaScrollbarX")),qRe=F(zo(function(r,a){let{sizes:i,onSizesChange:s,...l}=r,c=yc(Sm,r.__scopeScrollArea),[d,h]=u(),g=_(null),x=ye(a,g,c.onScrollbarYChange);return m(()=>{if(g.current)h(getComputedStyle(g.current))},[g]),t(jfe,{"data-orientation":"vertical",...l,ref:x,sizes:i,style:{top:0,right:c.dir==="ltr"?0:void 0,left:c.dir==="rtl"?0:void 0,bottom:"var(--radix-scroll-area-corner-height)","--radix-scroll-area-thumb-height":hD(i)+"px",...r.style},onThumbPointerDown:(v)=>r.onThumbPointerDown(v.y),onDragScroll:(v)=>r.onDragScroll(v.y),onWheelScroll:(v,b)=>{if(c.viewport){let y=c.viewport.scrollTop+v.deltaY;if(r.onWheelScroll(y),Uq(y,b))v.preventDefault()}},onResize:()=>{if(g.current&&c.viewport&&d)s({content:c.viewport.scrollHeight,viewport:c.viewport.offsetHeight,scrollbar:{size:g.current.clientHeight,paddingStart:mD(d.paddingTop),paddingEnd:mD(d.paddingBottom)}})}})},"ScrollAreaScrollbarY")),[HRe,Ffe]=Ofe(Sm),jfe=F(zo(function(r,a){let{__scopeScrollArea:i,sizes:s,hasThumb:l,onThumbChange:c,onThumbPointerUp:d,onThumbPointerDown:h,onThumbPositionChange:g,onDragScroll:x,onWheelScroll:v,onResize:b,...y}=r,k=yc(Sm,i),[T,U]=u(null),N=ye(a,U),j=_(null),G=_(""),X=k.viewport,J=s.content-s.viewport,ee=Qo(v),re=Qo(g),oe=gD(b,10);function fe(be){if(j.current){let We=be.clientX-j.current.left,Ye=be.clientY-j.current.top;x({x:We,y:Ye})}}return zo(fe,"handleDragScroll"),m(()=>{let be=zo((We)=>{let Ye=We.target;if(T?.contains(Ye))ee(We,J)},"handleWheel");return document.addEventListener("wheel",be,{passive:!1}),()=>document.removeEventListener("wheel",be,{passive:!1})},[X,T,J,ee]),m(re,[s,re]),Wz(T,oe),Wz(k.content,oe),t(HRe,{scope:i,scrollbar:T,hasThumb:l,onThumbChange:Qo(c),onThumbPointerUp:Qo(d),onThumbPositionChange:re,onThumbPointerDown:Qo(h),children:t(se.div,{...y,ref:N,style:{position:"absolute",...y.style},onPointerDown:Y(r.onPointerDown,(be)=>{if(be.button===0){if(be.target.setPointerCapture(be.pointerId),j.current=T.getBoundingClientRect(),G.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect="none",k.viewport)k.viewport.style.scrollBehavior="auto";fe(be)}}),onPointerMove:Y(r.onPointerMove,fe),onPointerUp:Y(r.onPointerUp,(be)=>{let We=be.target;if(We.hasPointerCapture(be.pointerId))We.releasePointerCapture(be.pointerId);if(document.body.style.webkitUserSelect=G.current,k.viewport)k.viewport.style.scrollBehavior="";j.current=null})})})},"ScrollAreaScrollbarImpl")),Oq="ScrollAreaThumb",VRe=F(zo(function(r,a){let{forceMount:i,...s}=r,l=Ffe(Oq,r.__scopeScrollArea);return t(cr,{present:i||l.hasThumb,children:t(WRe,{ref:a,...s})})},"ScrollAreaThumb")),WRe=F(zo(function(r,a){let{__scopeScrollArea:i,style:s,...l}=r,c=yc(Oq,i),d=Ffe(Oq,i),{onThumbPositionChange:h}=d,g=ye(a,d.onThumbChange),x=_(void 0),v=gD(()=>{if(x.current)x.current(),x.current=void 0},100);return m(()=>{let b=c.viewport;if(b){let y=zo(()=>{if(v(),!x.current){let k=XRe(b,h);x.current=k,h()}},"handleScroll");return h(),b.addEventListener("scroll",y),()=>b.removeEventListener("scroll",y)}},[c.viewport,v,h]),t(se.div,{"data-state":d.hasThumb?"visible":"hidden",...l,ref:g,style:{width:"var(--radix-scroll-area-thumb-width)",height:"var(--radix-scroll-area-thumb-height)",...s},onPointerDownCapture:Y(r.onPointerDownCapture,(b)=>{let k=b.target.getBoundingClientRect(),T=b.clientX-k.left,U=b.clientY-k.top;d.onThumbPointerDown({x:T,y:U})}),onPointerUp:Y(r.onPointerUp,d.onThumbPointerUp)})},"ScrollAreaThumbImpl")),Bfe="ScrollAreaCorner",GRe=F(zo(function(r,a){let i=yc(Bfe,r.__scopeScrollArea),s=Boolean(i.scrollbarX&&i.scrollbarY);return i.type!=="scroll"&&s?t(KRe,{...r,ref:a}):null},"ScrollAreaCorner")),KRe=F(zo(function(r,a){let{__scopeScrollArea:i,...s}=r,l=yc(Bfe,i),[c,d]=u(0),[h,g]=u(0),x=Boolean(c&&h),{onCornerWidthChange:v,onCornerHeightChange:b}=l;return Wz(l.scrollbarX,()=>{let y=l.scrollbarX?.offsetHeight||0;l.onCornerHeightChange(y),g(y)}),Wz(l.scrollbarY,()=>{let y=l.scrollbarY?.offsetWidth||0;l.onCornerWidthChange(y),d(y)}),m(()=>()=>{v(0),b(0)},[v,b]),x?t(se.div,{...s,ref:a,style:{width:c,height:h,position:"absolute",right:l.dir==="ltr"?0:void 0,left:l.dir==="rtl"?0:void 0,bottom:0,...r.style}}):null},"ScrollAreaCornerImpl"));function mD(e){return e?parseInt(e,10):0}zo(mD,"toInt");function jq(e,r){let a=e/r;return isNaN(a)?0:a}zo(jq,"getThumbRatio");function hD(e){let r=jq(e.viewport,e.content),a=e.scrollbar.paddingStart+e.scrollbar.paddingEnd,i=(e.scrollbar.size-a)*r;return Math.max(i,18)}zo(hD,"getThumbSize");function Ufe(e,r,a,i="ltr"){let s=hD(a),l=s/2,c=r||l,d=s-c,h=a.scrollbar.paddingStart+c,g=a.scrollbar.size-a.scrollbar.paddingEnd-d,x=a.content-a.viewport,v=i==="ltr"?[0,x]:[x*-1,0];return Bq([h,g],v)(e)}zo(Ufe,"getScrollPositionFromPointer");function Nq(e,r,a="ltr"){let i=hD(r),s=r.scrollbar.paddingStart+r.scrollbar.paddingEnd,l=r.scrollbar.size-s,c=r.content-r.viewport,d=l-i,h=a==="ltr"?[0,c]:[c*-1,0],g=yi(e,h);return Bq([0,c],[0,d])(g)}zo(Nq,"getThumbOffsetFromScroll");function Bq(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])}}zo(Bq,"linearScale");function Uq(e,r){return e>0&&e<r}zo(Uq,"isScrollingWithinScrollbarBounds");var XRe=zo((e,r=()=>{})=>{let a={left:e.scrollLeft,top:e.scrollTop},i=0;return zo(function s(){let l={left:e.scrollLeft,top:e.scrollTop},c=a.left!==l.left,d=a.top!==l.top;if(c||d)r();a=l,i=window.requestAnimationFrame(s)},"loop")(),()=>window.cancelAnimationFrame(i)},"addUnlinkedScrollListener");function gD(e,r){let a=Qo(e),i=_(0);return m(()=>()=>window.clearTimeout(i.current),[]),P(()=>{window.clearTimeout(i.current),i.current=window.setTimeout(a,r)},[a,r])}zo(gD,"useDebounceCallback");function Wz(e,r){let a=Qo(r);Pt(()=>{let i=0;if(e){let s=new ResizeObserver(()=>{cancelAnimationFrame(i),i=window.requestAnimationFrame(a)});return s.observe(e),()=>{window.cancelAnimationFrame(i),s.unobserve(e)}}},[e,a])}zo(Wz,"useResizeObserver");var QRe=DRe,JRe=NRe;var $Re=GRe;S();S();var ePe=Object.defineProperty,tPe=(e,r)=>ePe(e,"name",{value:r,configurable:!0});function Dc(e){let r=_({value:e,previous:e});return D(()=>{if(r.current.value!==e)r.current.previous=r.current.value,r.current.value=e;return r.current.previous},[e])}tPe(Dc,"usePrevious");S();var rPe=Object.defineProperty,oPe=(e,r)=>rPe(e,"name",{value:r,configurable:!0}),Yq=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"}),aPe=F(oPe(function(r,a){return t(se.span,{...r,ref:a,style:{...Yq,...r.style}})},"VisuallyHidden")),qfe=aPe;var iPe=Object.defineProperty,Oo=(e,r)=>iPe(e,"name",{value:r,configurable:!0}),fPe=[" ","Enter","ArrowUp","ArrowDown"],sPe=[" ","Enter"],sR="Select",[tF,rF,lPe]=Ai(sR),[Kz,x$o]=gt(sR,[lPe,vc]),Hq=vc(),[cPe,v8]=Kz(sR),[uPe,dPe]=Kz(sR);function Kfe(e){let{__scopeSelect:r,children:a,open:i,defaultOpen:s,onOpenChange:l,value:c,defaultValue:d,onValueChange:h,dir:g,name:x,autoComplete:v,disabled:b,required:y,form:k,internal_do_not_use_render:T}=e,U=Hq(r),[N,j]=u(null),[G,X]=u(null),[J,ee]=u(!1),re=$n(g),[oe,fe]=Lt({prop:i,defaultProp:s??!1,onChange:l,caller:sR}),[be,We]=Lt({prop:c,defaultProp:d,onChange:h,caller:sR}),Ye=_(null),Se=_(be);m(()=>{let Wt=k?N?.ownerDocument.getElementById(k):N?.form;if(Wt instanceof HTMLFormElement){let Fe=Oo(()=>We(Se.current),"reset");return Wt.addEventListener("reset",Fe),()=>Wt.removeEventListener("reset",Fe)}},[k,N,We]);let He=N?!!k||!!N.closest("form"):!0,[ft,Je]=u(new Set),xt=Er(),Ft=Array.from(ft).map((Wt)=>Wt.props.value).join(";"),Bt=P((Wt)=>{Je((Fe)=>new Set(Fe).add(Wt))},[]),ie=P((Wt)=>{Je((Fe)=>{let ir=new Set(Fe);return ir.delete(Wt),ir})},[]),bt={required:y,trigger:N,onTriggerChange:j,valueNode:G,onValueNodeChange:X,valueNodeHasChildren:J,onValueNodeHasChildrenChange:ee,contentId:xt,value:be,onValueChange:We,open:oe,onOpenChange:fe,dir:re,triggerPointerDownPosRef:Ye,disabled:b,name:x,autoComplete:v,form:k,nativeOptions:ft,nativeSelectKey:Ft,isFormControl:He};return t(bm,{...U,children:t(cPe,{scope:r,...bt,children:t(tF.Provider,{scope:r,children:t(uPe,{scope:r,onNativeOptionAdd:Bt,onNativeOptionRemove:ie,children:$fe(T)?T(bt):a})})})})}Oo(Kfe,"SelectProvider");var ZPe=Oo((e)=>{let{__scopeSelect:r,children:a,...i}=e;return t(Kfe,{__scopeSelect:r,...i,internal_do_not_use_render:({isFormControl:s})=>o(L,{children:[a,s?t(FPe,{__scopeSelect:r}):null]})})},"Select"),pPe="SelectTrigger",mPe=F(Oo(function(r,a){let{__scopeSelect:i,disabled:s=!1,...l}=r,c=Hq(i),d=v8(pPe,i),h=d.disabled||s,g=ye(a,d.onTriggerChange),x=rF(i),v=_("touch"),[b,y,k]=Wq((U)=>{let N=x().filter((X)=>!X.disabled),j=N.find((X)=>X.value===d.value),G=Gq(N,U,j);if(G!==void 0)d.onValueChange(G.value)}),T=Oo((U)=>{if(!h)d.onOpenChange(!0),k();if(U)d.triggerPointerDownPosRef.current={x:Math.round(U.pageX),y:Math.round(U.pageY)}},"handleOpen");return t(h8,{asChild:!0,...c,children:t(se.button,{type:"button",role:"combobox","aria-controls":d.open?d.contentId:void 0,"aria-expanded":d.open,"aria-required":d.required,"aria-autocomplete":"none",dir:d.dir,"data-state":d.open?"open":"closed",disabled:h,"data-disabled":h?"":void 0,"data-placeholder":MD(d.value)?"":void 0,...l,ref:g,onClick:Y(l.onClick,(U)=>{if(U.currentTarget.focus(),v.current!=="mouse")T(U)}),onPointerDown:Y(l.onPointerDown,(U)=>{v.current=U.pointerType;let N=U.target;if(N.hasPointerCapture(U.pointerId))N.releasePointerCapture(U.pointerId);if(U.button===0&&U.ctrlKey===!1&&U.pointerType==="mouse")T(U),U.preventDefault()}),onKeyDown:Y(l.onKeyDown,(U)=>{let N=b.current!=="";if(!(U.ctrlKey||U.altKey||U.metaKey)&&U.key.length===1)y(U.key);if(N&&U.key===" ")return;if(fPe.includes(U.key))T(),U.preventDefault()})})})},"SelectTrigger")),hPe="SelectValue",gPe=F(Oo(function(r,a){let{__scopeSelect:i,className:s,style:l,children:c,placeholder:d="",...h}=r,g=v8(hPe,i),{onValueNodeHasChildrenChange:x}=g,v=c!==void 0,b=ye(a,g.onValueNodeChange);Pt(()=>{x(v)},[x,v]);let y=MD(g.value);return t(se.span,{...h,asChild:y?!1:h.asChild,ref:b,style:{pointerEvents:"none"},children:t(In,{children:y?d:c},y?"placeholder":"value")})},"SelectValue")),MPe=F(Oo(function(r,a){let{__scopeSelect:i,children:s,...l}=r;return t(se.span,{"aria-hidden":!0,...l,ref:a,children:s||"▼"})},"SelectIcon")),xPe="SelectPortal",[vPe,yPe]=Kz(xPe,{forceMount:void 0}),_Pe=Oo((e)=>{let{__scopeSelect:r,forceMount:a,...i}=e;return t(vPe,{scope:e.__scopeSelect,forceMount:a,children:t(fZ,{asChild:!0,...i})})},"SelectPortal"),Gz="SelectContent",bPe=F(Oo(function(r,a){let i=yPe(Gz,r.__scopeSelect),{forceMount:s=i.forceMount,...l}=r,c=v8(Gz,r.__scopeSelect),[d,h]=u();return Pt(()=>{h(new DocumentFragment)},[]),t(cr,{present:s||c.open,children:({present:g})=>g?t(SPe,{...l,ref:a}):t(wPe,{...l,fragment:d})})},"SelectContent")),wPe=F(Oo(function(r,a){let{__scopeSelect:i,children:s,fragment:l}=r;if(!l)return null;return Ji(t(Xfe,{scope:i,children:t(tF.Slot,{scope:i,children:t("div",{ref:a,children:s})})}),l)},"SelectContentFragment")),Mu=10,[Xfe,Xz]=Kz(Gz),zPe=Oi("SelectContent.RemoveScroll"),SPe=F(Oo(function(r,a){let{__scopeSelect:i}=r,{position:s="item-aligned",onCloseAutoFocus:l,onEscapeKeyDown:c,onPointerDownOutside:d,side:h,sideOffset:g,align:x,alignOffset:v,arrowPadding:b,collisionBoundary:y,collisionPadding:k,sticky:T,hideWhenDetached:U,avoidCollisions:N,...j}=r,G=v8(Gz,i),[X,J]=u(null),[ee,re]=u(null),oe=ye(a,J),[fe,be]=u(null),[We,Ye]=u(null),Se=rF(i),[He,ft]=u(!1),Je=_(!1);m(()=>{if(X)return p8(X)},[X]),sZ();let xt=P((Gt)=>{let[Xt,...Ir]=Se().map((pr)=>pr.ref.current),[yr]=Ir.slice(-1),Tr=document.activeElement;for(let pr of Gt){if(pr===Tr)return;if(pr?.scrollIntoView({block:"nearest"}),pr===Xt&&ee)ee.scrollTop=0;if(pr===yr&&ee)ee.scrollTop=ee.scrollHeight;if(pr?.focus(),document.activeElement!==Tr)return}},[Se,ee]),Ft=P(()=>xt([fe,X]),[xt,fe,X]);m(()=>{if(He)Ft()},[He,Ft]);let{onOpenChange:Bt,triggerPointerDownPosRef:ie}=G;m(()=>{if(X){let Gt={x:0,y:0},Xt=Oo((yr)=>{Gt={x:Math.abs(Math.round(yr.pageX)-(ie.current?.x??0)),y:Math.abs(Math.round(yr.pageY)-(ie.current?.y??0))}},"handlePointerMove"),Ir=Oo((yr)=>{if(Gt.x<=10&&Gt.y<=10)yr.preventDefault();else if(!yr.composedPath().includes(X))Bt(!1);document.removeEventListener("pointermove",Xt),ie.current=null},"handlePointerUp");if(ie.current!==null)document.addEventListener("pointermove",Xt),document.addEventListener("pointerup",Ir,{capture:!0,once:!0});return()=>{document.removeEventListener("pointermove",Xt),document.removeEventListener("pointerup",Ir,{capture:!0})}}},[X,Bt,ie]),m(()=>{let Gt=Oo(()=>Bt(!1),"close");return window.addEventListener("blur",Gt),window.addEventListener("resize",Gt),()=>{window.removeEventListener("blur",Gt),window.removeEventListener("resize",Gt)}},[Bt]);let[bt,Wt]=Wq((Gt)=>{let Xt=Se().filter((Tr)=>!Tr.disabled),Ir=Xt.find((Tr)=>Tr.ref.current===document.activeElement),yr=Gq(Xt,Gt,Ir);if(yr)setTimeout(()=>yr.ref.current?.focus())}),Fe=P((Gt,Xt,Ir)=>{let yr=!Je.current&&!Ir;if(G.value!==void 0&&G.value===Xt||yr){if(be(Gt),yr)Je.current=!0}},[G.value]),ir=P(()=>X?.focus(),[X]),fr=P((Gt,Xt,Ir)=>{let yr=!Je.current&&!Ir;if(G.value!==void 0&&G.value===Xt||yr)Ye(Gt)},[G.value]),Jt=s==="popper"?Hfe:LPe,Fr=Jt===Hfe?{side:h,sideOffset:g,align:x,alignOffset:v,arrowPadding:b,collisionBoundary:y,collisionPadding:k,sticky:T,hideWhenDetached:U,avoidCollisions:N}:{};return t(Xfe,{scope:i,content:X,viewport:ee,onViewportChange:re,itemRefCallback:Fe,selectedItem:fe,onItemLeave:ir,itemTextRefCallback:fr,focusSelectedItem:Ft,selectedItemText:We,position:s,isPositioned:He,searchRef:bt,children:t(fm,{as:zPe,allowPinchZoom:!0,children:t(Z8,{asChild:!0,trapped:G.open,onMountAutoFocus:(Gt)=>{Gt.preventDefault()},onUnmountAutoFocus:Y(l,(Gt)=>{G.trigger?.focus({preventScroll:!0}),Gt.preventDefault()}),children:t(iZ,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:c,onPointerDownOutside:d,onFocusOutside:(Gt)=>Gt.preventDefault(),onDismiss:()=>G.onOpenChange(!1),children:t(Jt,{role:"listbox",id:G.contentId,"data-state":G.open?"open":"closed",dir:G.dir,onContextMenu:(Gt)=>Gt.preventDefault(),...j,...Fr,onPlaced:()=>ft(!0),ref:oe,style:{display:"flex",flexDirection:"column",outline:"none",...j.style},onKeyDown:Y(j.onKeyDown,(Gt)=>{let Xt=Gt.ctrlKey||Gt.altKey||Gt.metaKey;if(Gt.key==="Tab")Gt.preventDefault();if(!Xt&&Gt.key.length===1)Wt(Gt.key);if(["ArrowUp","ArrowDown","Home","End"].includes(Gt.key)){let yr=Se().filter((Tr)=>!Tr.disabled).map((Tr)=>Tr.ref.current);if(["ArrowUp","End"].includes(Gt.key))yr=yr.slice().reverse();if(["ArrowUp","ArrowDown"].includes(Gt.key)){let Tr=Gt.target,pr=yr.indexOf(Tr);yr=yr.slice(pr+1)}setTimeout(()=>xt(yr)),Gt.preventDefault()}})})})})})})},"SelectContentImpl")),LPe=F(Oo(function(r,a){let{__scopeSelect:i,onPlaced:s,...l}=r,c=v8(Gz,i),d=Xz(Gz,i),[h,g]=u(null),[x,v]=u(null),b=ye(a,v),y=rF(i),k=_(!1),T=_(!0),{viewport:U,selectedItem:N,selectedItemText:j,focusSelectedItem:G}=d,X=P(()=>{if(c.trigger&&c.valueNode&&h&&x&&U&&N&&j){let oe=c.trigger.getBoundingClientRect(),fe=x.getBoundingClientRect(),be=c.valueNode.getBoundingClientRect(),We=j.getBoundingClientRect();if(c.dir!=="rtl"){let Tr=We.left-fe.left,pr=be.left-Tr,mo=oe.left-pr,co=oe.width+mo,va=Math.max(co,fe.width),sr=window.innerWidth-Mu,ho=yi(pr,[Mu,Math.max(Mu,sr-va)]);h.style.minWidth=co+"px",h.style.left=ho+"px"}else{let Tr=fe.right-We.right,pr=window.innerWidth-be.right-Tr,mo=window.innerWidth-oe.right-pr,co=oe.width+mo,va=Math.max(co,fe.width),sr=window.innerWidth-Mu,ho=yi(pr,[Mu,Math.max(Mu,sr-va)]);h.style.minWidth=co+"px",h.style.right=ho+"px"}let Ye=y(),Se=window.innerHeight-Mu*2,He=U.scrollHeight,ft=window.getComputedStyle(x),Je=parseInt(ft.borderTopWidth,10),xt=parseInt(ft.paddingTop,10),Ft=parseInt(ft.borderBottomWidth,10),Bt=parseInt(ft.paddingBottom,10),ie=Je+xt+He+Bt+Ft,bt=Math.min(N.offsetHeight*5,ie),Wt=window.getComputedStyle(U),Fe=parseInt(Wt.paddingTop,10),ir=parseInt(Wt.paddingBottom,10),fr=oe.top+oe.height/2-Mu,Jt=Se-fr,Fr=N.offsetHeight/2,Gt=N.offsetTop+Fr,Xt=Je+xt+Gt,Ir=ie-Xt;if(Xt<=fr){let Tr=Ye.length>0&&N===Ye[Ye.length-1].ref.current;h.style.bottom="0px";let pr=x.clientHeight-U.offsetTop-U.offsetHeight,mo=Math.max(Jt,Fr+(Tr?ir:0)+pr+Ft),co=Xt+mo;h.style.height=co+"px"}else{let Tr=Ye.length>0&&N===Ye[0].ref.current;h.style.top="0px";let mo=Math.max(fr,Je+U.offsetTop+(Tr?Fe:0)+Fr)+Ir;h.style.height=mo+"px",U.scrollTop=Xt-fr+U.offsetTop}h.style.margin=`${Mu}px 0`,h.style.minHeight=bt+"px",h.style.maxHeight=Se+"px",s?.(),requestAnimationFrame(()=>k.current=!0)}},[y,c.trigger,c.valueNode,h,x,U,N,j,c.dir,s]);Pt(()=>X(),[X]);let[J,ee]=u();Pt(()=>{if(x)ee(window.getComputedStyle(x).zIndex)},[x]);let re=P((oe)=>{if(oe&&T.current===!0)X(),G?.(),T.current=!1},[X,G]);return t(kPe,{scope:i,contentWrapper:h,shouldExpandOnScrollRef:k,onScrollButtonChange:re,children:t("div",{ref:g,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:J},children:t(se.div,{...l,ref:b,style:{boxSizing:"border-box",maxHeight:"100%",...l.style}})})})},"SelectItemAlignedPosition")),Hfe=F(Oo(function(r,a){let{__scopeSelect:i,align:s="start",collisionPadding:l=Mu,...c}=r,d=Hq(i);return t(g8,{...d,...c,ref:a,align:s,collisionPadding:l,style:{boxSizing:"border-box",...c.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")),[kPe,Vq]=Kz(Gz,{}),Vfe="SelectViewport",CPe=F(Oo(function(r,a){let{__scopeSelect:i,nonce:s,...l}=r,c=Xz(Vfe,i),d=Vq(Vfe,i),h=ye(a,c.onViewportChange),g=_(0);return o(L,{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:s}),t(tF.Slot,{scope:i,children:t(se.div,{"data-radix-select-viewport":"",role:"presentation",...l,ref:h,style:{position:"relative",flex:1,overflow:"hidden auto",...l.style},onScroll:Y(l.onScroll,(x)=>{let v=x.currentTarget,{contentWrapper:b,shouldExpandOnScrollRef:y}=d;if(y?.current&&b){let k=Math.abs(g.current-v.scrollTop);if(k>0){let T=window.innerHeight-Mu*2,U=parseFloat(b.style.minHeight),N=parseFloat(b.style.height),j=Math.max(U,N);if(j<T){let G=j+k,X=Math.min(T,G),J=G-X;if(b.style.height=X+"px",b.style.bottom==="0px")v.scrollTop=J>0?J:0,b.style.justifyContent="flex-end"}}}g.current=v.scrollTop})})})]})},"SelectViewport")),IPe="SelectGroup",[v$o,y$o]=Kz(IPe);var qq="SelectItem",[RPe,Qfe]=Kz(qq),PPe=F(Oo(function(r,a){let{__scopeSelect:i,value:s,disabled:l=!1,textValue:c,...d}=r,h=v8(qq,i),g=Xz(qq,i),x=h.value===s,[v,b]=u(c??""),[y,k]=u(!1),T=Qo((X)=>g.itemRefCallback?.(X,s,l)),U=ye(a,T),N=Er(),j=_("touch"),G=Oo(()=>{if(!l)h.onValueChange(s),h.onOpenChange(!1)},"handleSelect");return t(RPe,{scope:i,value:s,disabled:l,textId:N,isSelected:x,onItemTextChange:P((X)=>{b((J)=>J||(X?.textContent??"").trim())},[]),children:t(tF.ItemSlot,{scope:i,value:s,disabled:l,textValue:v,children:t(se.div,{role:"option","aria-labelledby":N,"data-highlighted":y?"":void 0,"aria-selected":x&&y,"data-state":x?"checked":"unchecked","aria-disabled":l||void 0,"data-disabled":l?"":void 0,tabIndex:l?void 0:-1,...d,ref:U,onFocus:Y(d.onFocus,()=>k(!0)),onBlur:Y(d.onBlur,()=>k(!1)),onClick:Y(d.onClick,()=>{if(j.current!=="mouse")G()}),onPointerUp:Y(d.onPointerUp,()=>{if(j.current==="mouse")G()}),onPointerDown:Y(d.onPointerDown,(X)=>{j.current=X.pointerType}),onPointerMove:Y(d.onPointerMove,(X)=>{if(j.current=X.pointerType,l)g.onItemLeave?.();else if(j.current==="mouse")X.currentTarget.focus({preventScroll:!0})}),onPointerLeave:Y(d.onPointerLeave,(X)=>{if(X.currentTarget===document.activeElement)g.onItemLeave?.()}),onKeyDown:Y(d.onKeyDown,(X)=>{if(l||X.target!==X.currentTarget)return;if(g.searchRef?.current!==""&&X.key===" ")return;if(sPe.includes(X.key))G();if(X.key===" ")X.preventDefault()})})})})},"SelectItem")),eF="SelectItemText",TPe=F(Oo(function(r,a){let{__scopeSelect:i,className:s,style:l,...c}=r,d=v8(eF,i),h=Xz(eF,i),g=Qfe(eF,i),x=dPe(eF,i),[v,b]=u(null),y=Qo((G)=>h.itemTextRefCallback?.(G,g.value,g.disabled)),k=ye(a,b,g.onItemTextChange,y),T=v?.textContent,U=D(()=>t("option",{value:g.value,disabled:g.disabled,children:T},g.value),[g.disabled,g.value,T]),{onNativeOptionAdd:N,onNativeOptionRemove:j}=x;return Pt(()=>(N(U),()=>j(U)),[N,j,U]),o(L,{children:[t(se.span,{id:g.textId,...c,ref:k}),g.isSelected&&d.valueNode&&!d.valueNodeHasChildren&&!MD(d.value)?Ji(c.children,d.valueNode):null]})},"SelectItemText")),APe="SelectItemIndicator",EPe=F(Oo(function(r,a){let{__scopeSelect:i,...s}=r;return Qfe(APe,i).isSelected?t(se.span,{"aria-hidden":!0,...s,ref:a}):null},"SelectItemIndicator")),Wfe="SelectScrollUpButton",DPe=F(Oo(function(r,a){let i=Xz(Wfe,r.__scopeSelect),s=Vq(Wfe,r.__scopeSelect),[l,c]=u(!1),d=ye(a,s.onScrollButtonChange);return Pt(()=>{if(i.viewport&&i.isPositioned){let g=function(){let v=x.scrollTop>0;c(v)};var h=g;Oo(g,"handleScroll");let x=i.viewport;return g(),x.addEventListener("scroll",g),()=>x.removeEventListener("scroll",g)}},[i.viewport,i.isPositioned]),l?t(Jfe,{...r,ref:d,onAutoScroll:()=>{let{viewport:h,selectedItem:g}=i;if(h&&g)h.scrollTop=h.scrollTop-g.offsetHeight}}):null},"SelectScrollUpButton")),Gfe="SelectScrollDownButton",OPe=F(Oo(function(r,a){let i=Xz(Gfe,r.__scopeSelect),s=Vq(Gfe,r.__scopeSelect),[l,c]=u(!1),d=ye(a,s.onScrollButtonChange);return Pt(()=>{if(i.viewport&&i.isPositioned){let g=function(){let v=x.scrollHeight-x.clientHeight,b=Math.ceil(x.scrollTop)<v;c(b)};var h=g;Oo(g,"handleScroll");let x=i.viewport;return g(),x.addEventListener("scroll",g),()=>x.removeEventListener("scroll",g)}},[i.viewport,i.isPositioned]),l?t(Jfe,{...r,ref:d,onAutoScroll:()=>{let{viewport:h,selectedItem:g}=i;if(h&&g)h.scrollTop=h.scrollTop+g.offsetHeight}}):null},"SelectScrollDownButton")),Jfe=F(Oo(function(r,a){let{__scopeSelect:i,onAutoScroll:s,...l}=r,c=Xz("SelectScrollButton",i),d=_(null),h=rF(i),g=P(()=>{if(d.current!==null)window.clearInterval(d.current),d.current=null},[]);return m(()=>()=>g(),[g]),Pt(()=>{h().find((v)=>v.ref.current===document.activeElement)?.ref.current?.scrollIntoView({block:"nearest"})},[h]),t(se.div,{"aria-hidden":!0,...l,ref:a,style:{flexShrink:0,...l.style},onPointerDown:Y(l.onPointerDown,()=>{if(d.current===null)d.current=window.setInterval(s,50)}),onPointerMove:Y(l.onPointerMove,()=>{if(c.onItemLeave?.(),d.current===null)d.current=window.setInterval(s,50)}),onPointerLeave:Y(l.onPointerLeave,()=>{g()})})},"SelectScrollButtonImpl"));var NPe="SelectBubbleInput",FPe=F(Oo(function({__scopeSelect:r,...a},i){let s=v8(NPe,r),{value:l,onValueChange:c,required:d,disabled:h,name:g,autoComplete:x,form:v}=s,{nativeOptions:b,nativeSelectKey:y}=s,k=_(null),T=ye(i,k),U=l??"",N=Dc(U),j=Array.from(b).some((G)=>(G.props.value??"")==="");return m(()=>{let G=k.current;if(!G)return;let X=window.HTMLSelectElement.prototype,ee=Object.getOwnPropertyDescriptor(X,"value").set;if(N!==U&&ee){let re=new Event("change",{bubbles:!0});ee.call(G,U),G.dispatchEvent(re)}},[N,U]),o(se.select,{"aria-hidden":!0,required:d,tabIndex:-1,name:g,autoComplete:x,disabled:h,form:v,onChange:(G)=>c(G.target.value),...a,style:{...Yq,...a.style},ref:T,defaultValue:U,children:[MD(l)&&!j?t("option",{value:""}):null,Array.from(b)]},y)},"SelectBubbleInput"));function $fe(e){return typeof e==="function"}Oo($fe,"isFunction");function MD(e){return e===""||e===void 0}Oo(MD,"shouldShowPlaceholder");function Wq(e){let r=Qo(e),a=_(""),i=_(0),s=P((c)=>{let d=a.current+c;r(d),Oo(function h(g){if(a.current=g,window.clearTimeout(i.current),g!=="")i.current=window.setTimeout(()=>h(""),1000)},"updateSearch")(d)},[r]),l=P(()=>{a.current="",window.clearTimeout(i.current)},[]);return m(()=>()=>window.clearTimeout(i.current),[]),[a,s,l]}Oo(Wq,"useTypeaheadSearch");function Gq(e,r,a){let s=r.length>1&&Array.from(r).every((g)=>g===r[0])?r[0]:r,l=a?e.indexOf(a):-1,c=ese(e,Math.max(l,0));if(s.length===1)c=c.filter((g)=>g!==a);let h=c.find((g)=>g.textValue.toLowerCase().startsWith(s.toLowerCase()));return h!==a?h:void 0}Oo(Gq,"findNextItem");function ese(e,r){return e.map((a,i)=>e[(r+i)%e.length])}Oo(ese,"wrapArray");S();var jPe=Object.defineProperty,ose=(e,r)=>jPe(e,"name",{value:r,configurable:!0}),rse="horizontal",BPe=["horizontal","vertical"],UPe=F(ose(function(r,a){let{decorative:i,orientation:s=rse,...l}=r,c=ase(s)?s:rse,h=i?{role:"none"}:{"aria-orientation":c==="vertical"?c:void 0,role:"separator"};return t(se.div,{"data-orientation":c,...h,...l,ref:a})},"Separator"));function ase(e){return BPe.includes(e)}ose(ase,"isValidOrientation");var YPe=UPe;S();var qPe=Object.defineProperty,y8=(e,r)=>qPe(e,"name",{value:r,configurable:!0}),Kq="Switch",[HPe,R$o]=gt(Kq),[VPe,Xq]=HPe(Kq);function ise(e){let{__scopeSwitch:r,checked:a,children:i,defaultChecked:s,disabled:l,form:c,name:d,onCheckedChange:h,required:g,value:x="on",internal_do_not_use_render:v}=e,[b,y]=Lt({prop:a,defaultProp:s??!1,onChange:h,caller:Kq}),[k,T]=u(null),[U,N]=u(null),j=_(!1),[G,X]=rn((re)=>re+1,0),J=k?!!c||!!k.closest("form"):!0,ee={checked:b,setChecked:y,disabled:l,control:k,setControl:T,name:d,form:c,value:x,hasConsumerStoppedPropagationRef:j,userInteractionCount:G,onUserInteraction:X,required:g,defaultChecked:s,isFormControl:J,bubbleInput:U,setBubbleInput:N};return t(VPe,{scope:r,...ee,children:fse(v)?v(ee):i})}y8(ise,"SwitchProvider");var WPe="SwitchTrigger",GPe=F(y8(function({__scopeSwitch:r,onClick:a,...i},s){let{control:l,form:c,value:d,disabled:h,checked:g,required:x,setControl:v,setChecked:b,hasConsumerStoppedPropagationRef:y,onUserInteraction:k,isFormControl:T,bubbleInput:U}=Xq(WPe,r),N=ye(s,v),j=_(g);return m(()=>{let G=c?l?.ownerDocument.getElementById(c):l?.form;if(G instanceof HTMLFormElement){let X=y8(()=>b(j.current),"reset");return G.addEventListener("reset",X),()=>G.removeEventListener("reset",X)}},[l,c,b]),t(se.button,{type:"button",role:"switch","aria-checked":g,"aria-required":x,"data-state":Qq(g),"data-disabled":h?"":void 0,disabled:h,value:d,...i,ref:N,onClick:Y(a,(G)=>{if(k(),b((X)=>!X),U&&T){if(y.current=G.isPropagationStopped(),!y.current)G.stopPropagation()}})})},"SwitchTrigger")),KPe=F(y8(function(r,a){let{__scopeSwitch:i,name:s,checked:l,defaultChecked:c,required:d,disabled:h,value:g,onCheckedChange:x,form:v,...b}=r;return t(ise,{__scopeSwitch:i,checked:l,defaultChecked:c,disabled:h,required:d,onCheckedChange:x,name:s,form:v,value:g,internal_do_not_use_render:({isFormControl:y})=>o(L,{children:[t(GPe,{...b,ref:a,__scopeSwitch:i}),y&&t($Pe,{__scopeSwitch:i})]})})},"Switch")),XPe="SwitchThumb",QPe=F(y8(function(r,a){let{__scopeSwitch:i,...s}=r,l=Xq(XPe,i);return t(se.span,{"data-state":Qq(l.checked),"data-disabled":l.disabled?"":void 0,...s,ref:a})},"SwitchThumb")),JPe="SwitchBubbleInput",$Pe=F(y8(function({__scopeSwitch:r,onClick:a,...i},s){let{control:l,hasConsumerStoppedPropagationRef:c,userInteractionCount:d,checked:h,defaultChecked:g,required:x,disabled:v,name:b,value:y,form:k,bubbleInput:T,setBubbleInput:U}=Xq(JPe,r),N=ye(s,U),j=gi(l),G=_(!1),X=_(h),J=_(d);m(()=>{let re=T;if(!re)return;let oe=window.HTMLInputElement.prototype,be=Object.getOwnPropertyDescriptor(oe,"checked").set,We=d!==J.current;J.current=d;let Ye=X.current!==h;X.current=h;let Se=!(We&&c.current);if(Ye&&be){G.current=!We;let He=new Event("click",{bubbles:Se});be.call(re,h),re.dispatchEvent(He),G.current=!1}},[T,h,c,d]);let ee=_(h);return t(se.input,{type:"checkbox","aria-hidden":!0,defaultChecked:g??ee.current,required:x,disabled:v,name:b,value:y,form:k,...i,tabIndex:-1,ref:N,onClick:Y(a,(re)=>{if(G.current)re.stopPropagation()}),style:{...i.style,...j,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})},"SwitchBubbleInput"));function fse(e){return typeof e==="function"}y8(fse,"isFunction");function Qq(e){return e?"checked":"unchecked"}y8(Qq,"getState");S();var eTe=Object.defineProperty,lR=(e,r)=>eTe(e,"name",{value:r,configurable:!0}),Jq="Tabs",[tTe,B$o]=gt(Jq,[_i]),lse=_i(),[rTe,$q]=tTe(Jq),oTe=F(lR(function(r,a){let{__scopeTabs:i,value:s,onValueChange:l,defaultValue:c,orientation:d="horizontal",dir:h,activationMode:g="automatic",...x}=r,v=$n(h),[b,y]=Lt({prop:s,onChange:l,defaultProp:c??"",caller:Jq});return t(rTe,{scope:i,baseId:Er(),value:b,onValueChange:y,orientation:d,dir:v,activationMode:g,children:t(se.div,{dir:v,"data-orientation":d,...x,ref:a})})},"Tabs")),aTe="TabsList",nTe=F(lR(function(r,a){let{__scopeTabs:i,loop:s=!0,...l}=r,c=$q(aTe,i),d=lse(i);return t(_l,{asChild:!0,...d,orientation:c.orientation,dir:c.dir,loop:s,children:t(se.div,{role:"tablist","aria-orientation":c.orientation,...l,ref:a})})},"TabsList")),iTe="TabsTrigger",fTe=F(lR(function(r,a){let{__scopeTabs:i,value:s,disabled:l=!1,...c}=r,d=$q(iTe,i),h=lse(i),g=e9(d.baseId,s),x=t9(d.baseId,s),v=s===d.value;return t(yl,{asChild:!0,...h,focusable:!l,active:v,children:t(se.button,{type:"button",role:"tab","aria-selected":v,"aria-controls":x,"data-state":v?"active":"inactive","data-disabled":l?"":void 0,disabled:l,id:g,...c,ref:a,onMouseDown:Y(r.onMouseDown,(b)=>{if(!l&&b.button===0&&b.ctrlKey===!1)d.onValueChange(s);else b.preventDefault()}),onKeyDown:Y(r.onKeyDown,(b)=>{if(l||b.target!==b.currentTarget)return;if([" ","Enter"].includes(b.key))d.onValueChange(s)}),onFocus:Y(r.onFocus,()=>{let b=d.activationMode!=="manual";if(!v&&!l&&b)d.onValueChange(s)})})})},"TabsTrigger")),sTe="TabsContent",lTe=F(lR(function(r,a){let{__scopeTabs:i,value:s,forceMount:l,children:c,...d}=r,h=$q(sTe,i),g=e9(h.baseId,s),x=t9(h.baseId,s),v=s===h.value,b=_(v);return m(()=>{let y=requestAnimationFrame(()=>b.current=!1);return()=>cancelAnimationFrame(y)},[]),t(cr,{present:l||v,children:({present:y})=>t(se.div,{"data-state":v?"active":"inactive","data-orientation":h.orientation,role:"tabpanel","aria-labelledby":g,hidden:!y,id:x,tabIndex:0,...d,ref:a,style:{...r.style,animationDuration:b.current?"0s":void 0},children:y&&c})})},"TabsContent"));function e9(e,r){return`${e}-trigger-${r}`}lR(e9,"makeTriggerId");function t9(e,r){return`${e}-content-${r}`}lR(t9,"makeContentId");var cTe=oTe,uTe=nTe,dTe=fTe,ZTe=lTe;S();var pTe=Object.defineProperty,ki=(e,r)=>pTe(e,"name",{value:r,configurable:!0}),[a9,tea]=gt("Tooltip",[vc]),oF=vc(),mTe="TooltipProvider",hTe=700,r9="tooltip.open",[gTe,n9]=a9(mTe),MTe=ki((e)=>{let{__scopeTooltip:r,delayDuration:a=hTe,skipDelayDuration:i=300,disableHoverableContent:s=!1,children:l}=e,c=_(!0),d=_(!1),h=_(0);return m(()=>{let g=h.current;return()=>window.clearTimeout(g)},[]),t(gTe,{scope:r,isOpenDelayedRef:c,delayDuration:a,onOpen:P(()=>{if(i<=0)return;window.clearTimeout(h.current),c.current=!1},[i]),onClose:P(()=>{if(i<=0)return;window.clearTimeout(h.current),h.current=window.setTimeout(()=>c.current=!0,i)},[i]),isPointerInTransitRef:d,onPointerInTransitChange:P((g)=>{d.current=g},[]),disableHoverableContent:s,children:l})},"TooltipProvider"),o9="Tooltip",[xTe,vD]=a9(o9),vTe=ki((e)=>{let{__scopeTooltip:r,children:a,open:i,defaultOpen:s,onOpenChange:l,disableHoverableContent:c,delayDuration:d}=e,h=n9(o9,e.__scopeTooltip),g=oF(r),[x,v]=u(null),[b,y]=u(void 0),k=Er(),T=_(0),U=c??h.disableHoverableContent,N=d??h.delayDuration,j=_(!1),[G,X]=Lt({prop:i,defaultProp:s??!1,onChange:ki((be)=>{if(be)h.onOpen(),document.dispatchEvent(new CustomEvent(r9));else h.onClose();l?.(be)},"onChange"),caller:o9}),J=D(()=>G?j.current?"delayed-open":"instant-open":"closed",[G]),ee=P(()=>{window.clearTimeout(T.current),T.current=0,j.current=!1,X(!0)},[X]),re=P(()=>{window.clearTimeout(T.current),T.current=0,X(!1)},[X]),oe=P(()=>{window.clearTimeout(T.current),T.current=window.setTimeout(()=>{j.current=!0,X(!0),T.current=0},N)},[N,X]);return m(()=>()=>{if(T.current)window.clearTimeout(T.current),T.current=0},[]),t(bm,{...g,children:t(xTe,{scope:r,contentId:b??k,setContentId:y,open:G,stateAttribute:J,trigger:x,onTriggerChange:v,onTriggerEnter:P(()=>{if(h.isOpenDelayedRef.current)oe();else ee()},[h.isOpenDelayedRef,oe,ee]),onTriggerLeave:P(()=>{if(U)re();else window.clearTimeout(T.current),T.current=0},[re,U]),onOpen:ee,onClose:re,disableHoverableContent:U,children:a})})},"Tooltip"),use="TooltipTrigger",yTe=F(ki(function(r,a){let{__scopeTooltip:i,...s}=r,l=vD(use,i),c=n9(use,i),d=oF(i),h=_(null),g=ye(a,h,l.onTriggerChange),x=_(!1),v=_(!1),b=P(()=>x.current=!1,[]);return m(()=>()=>document.removeEventListener("pointerup",b),[b]),t(h8,{asChild:!0,...d,children:t(se.button,{"aria-describedby":l.open?l.contentId:void 0,"data-state":l.stateAttribute,...s,ref:g,onPointerMove:Y(r.onPointerMove,(y)=>{if(y.pointerType==="touch")return;if(!v.current&&!c.isPointerInTransitRef.current)l.onTriggerEnter(),v.current=!0}),onPointerLeave:Y(r.onPointerLeave,()=>{l.onTriggerLeave(),v.current=!1}),onPointerDown:Y(r.onPointerDown,()=>{if(l.open)l.onClose();x.current=!0,document.addEventListener("pointerup",b,{once:!0})}),onFocus:Y(r.onFocus,()=>{if(!x.current)l.onOpen()}),onBlur:Y(r.onBlur,l.onClose),onClick:Y(r.onClick,l.onClose)})})},"TooltipTrigger")),dse="TooltipPortal",[_Te,bTe]=a9(dse,{forceMount:void 0}),wTe=ki((e)=>{let{__scopeTooltip:r,forceMount:a,children:i,container:s}=e,l=vD(dse,r);return t(_Te,{scope:r,forceMount:a,children:t(cr,{present:a||l.open,children:t(fZ,{asChild:!0,container:s,children:i})})})},"TooltipPortal"),xD="TooltipContent",zTe=F(ki(function(r,a){let i=bTe(xD,r.__scopeTooltip),{forceMount:s=i.forceMount,side:l="top",...c}=r,d=vD(xD,r.__scopeTooltip);return t(cr,{present:s||d.open,children:d.disableHoverableContent?t(Zse,{side:l,...c,ref:a}):t(STe,{side:l,...c,ref:a})})},"TooltipContent")),STe=F(ki(function(r,a){let i=vD(xD,r.__scopeTooltip),s=n9(xD,r.__scopeTooltip),l=_(null),c=ye(a,l),[d,h]=u(null),{trigger:g,onClose:x}=i,v=l.current,{onPointerInTransitChange:b}=s,y=P(()=>{h(null),b(!1)},[b]),k=P((T,U)=>{let N=T.currentTarget,j={x:T.clientX,y:T.clientY},G=pse(j,N.getBoundingClientRect()),X=mse(j,G),J=hse(U.getBoundingClientRect()),ee=Mse([...X,...J]);h(ee),b(!0)},[b]);return m(()=>()=>y(),[y]),m(()=>{if(g&&v){let T=ki((N)=>k(N,v),"handleTriggerLeave"),U=ki((N)=>k(N,g),"handleContentLeave");return g.addEventListener("pointerleave",T),v.addEventListener("pointerleave",U),()=>{g.removeEventListener("pointerleave",T),v.removeEventListener("pointerleave",U)}}},[g,v,k,y]),m(()=>{if(d){let T=ki((U)=>{let N=U.target,j={x:U.clientX,y:U.clientY},G=g?.contains(N)||v?.contains(N),X=!gse(j,d);if(G)y();else if(X)y(),x()},"handleTrackPointerGrace");return document.addEventListener("pointermove",T),()=>document.removeEventListener("pointermove",T)}},[g,v,d,x,y]),t(Zse,{...r,ref:c})},"TooltipContentHoverable")),LTe=h7("TooltipContent"),Zse=F(ki(function(r,a){let{__scopeTooltip:i,children:s,"aria-label":l,id:c,onEscapeKeyDown:d,onPointerDownOutside:h,...g}=r,x=vD(xD,i),v=oF(i),{onClose:b}=x;m(()=>(document.addEventListener(r9,b),()=>document.removeEventListener(r9,b)),[b]),m(()=>{if(x.trigger){let k=ki((T)=>{if(T.target instanceof Node&&T.target.contains(x.trigger))b()},"handleScroll");return window.addEventListener("scroll",k,{capture:!0}),()=>window.removeEventListener("scroll",k,{capture:!0})}},[x.trigger,b]);let{setContentId:y}=x;return Pt(()=>(y(c),()=>{y(void 0)}),[c,y]),t(iZ,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:d,onPointerDownOutside:h,onFocusOutside:(k)=>k.preventDefault(),onDismiss:b,children:o(g8,{"data-state":x.stateAttribute,role:l?void 0:"tooltip",id:l?void 0:x.contentId,...v,...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(LTe,{children:s}),l?t(qfe,{id:x.contentId,role:"tooltip",children:l}):null]})})},"TooltipContentImpl")),kTe=F(ki(function(r,a){let{__scopeTooltip:i,...s}=r,l=oF(i);return t(cD,{...l,...s,ref:a})},"TooltipArrow"));function pse(e,r){let a=Math.abs(r.top-e.y),i=Math.abs(r.bottom-e.y),s=Math.abs(r.right-e.x),l=Math.abs(r.left-e.x);switch(Math.min(a,i,s,l)){case l:return"left";case s:return"right";case a:return"top";case i:return"bottom";default:throw Error("unreachable")}}ki(pse,"getExitSideFromRect");function mse(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}ki(mse,"getPaddedExitPoints");function hse(e){let{top:r,right:a,bottom:i,left:s}=e;return[{x:s,y:r},{x:a,y:r},{x:a,y:i},{x:s,y:i}]}ki(hse,"getPointsFromRect");function gse(e,r){let{x:a,y:i}=e,s=!1;for(let l=0,c=r.length-1;l<r.length;c=l++){let d=r[l],h=r[c],{x:g,y:x}=d,{x:v,y:b}=h;if(x>i!==b>i&&a<(v-g)*(i-x)/(b-x)+g)s=!s}return s}ki(gse,"isPointInPolygon");function Mse(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}),xse(r)}ki(Mse,"getHull");function xse(e){if(e.length<=1)return e.slice();let r=[];for(let i=0;i<e.length;i++){let s=e[i];while(r.length>=2){let l=r[r.length-1],c=r[r.length-2];if((l.x-c.x)*(s.y-c.y)>=(l.y-c.y)*(s.x-c.x))r.pop();else break}r.push(s)}r.pop();let a=[];for(let i=e.length-1;i>=0;i--){let s=e[i];while(a.length>=2){let l=a[a.length-1],c=a[a.length-2];if((l.x-c.x)*(s.y-c.y)>=(l.y-c.y)*(s.x-c.x))a.pop();else break}a.push(s)}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)}ki(xse,"getHullPresorted");var CTe=MTe,ITe=vTe,RTe=yTe,PTe=wTe,TTe=zTe,ATe=kTe;var aF=ps("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 C({className:e,variant:r="default",size:a="default",asChild:i=!1,...s}){let l=i?Bae:"button";return t(l,{"data-slot":"button","data-variant":r,"data-size":a,className:E(aF({variant:r,size:a,className:e})),...s})}function an({delayDuration:e=0,...r}){return t(CTe,{"data-slot":"tooltip-provider",delayDuration:e,...r})}function ln({...e}){return t(ITe,{"data-slot":"tooltip",...e})}function cn({...e}){return t(RTe,{"data-slot":"tooltip-trigger",...e})}function un({className:e,sideOffset:r=0,children:a,...i}){return t(PTe,{children:o(TTe,{"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(ATe,{className:"z-50 size-2.5 translate-y-[calc(-50%_-_2px)] rotate-45 rounded-[2px] bg-foreground fill-foreground"})]})})}function Ce({className:e,size:r="default",...a}){return t(wCe,{"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(SCe,{"data-slot":"avatar-image",className:E("aspect-square size-full",e),...r})}function Te({className:e,...r}){return t(kCe,{"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(H1e,{"data-slot":"dropdown-menu",...e})}function ra({...e}){return t(bfe,{"data-slot":"dropdown-menu-portal",...e})}function Ae({...e}){return t(V1e,{"data-slot":"dropdown-menu-trigger",...e})}function _e({className:e,sideOffset:r=4,...a}){return t(bfe,{children:t(W1e,{"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 K({className:e,inset:r,variant:a="default",...i}){return t(K1e,{"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 Oc({...e}){return t(X1e,{"data-slot":"dropdown-menu-radio-group",...e})}function bi({className:e,children:r,...a}){return o(Q1e,{"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(J1e,{children:t(D2,{className:"size-2 fill-current"})})}),r]})}function Wr({className:e,inset:r,...a}){return t(G1e,{"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 Vt({className:e,...r}){return t($1e,{"data-slot":"dropdown-menu-separator",className:E("-mx-1 my-1 h-px bg-border",e),...r})}function ms({...e}){return t(eRe,{"data-slot":"dropdown-menu-sub",...e})}function hs({className:e,inset:r,children:a,...i}){return o(tRe,{"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(Et,{className:"ml-auto size-4"})]})}function gs({className:e,...r}){return t(rRe,{"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})}S();function ETe(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 As(){let[e,r]=u(),a=iz({select:(c)=>c.location.pathname}),{teamId:i,projectId:s}=ETe(a),{data:l}=Z({queryKey:["projects",s,"team"],queryFn:async()=>{let c=await A.api.projects[":projectId"].team.$get({param:{projectId:s}});if(!c.ok)throw Error("failed to fetch project team");return await c.json()},enabled:!!s});return m(()=>{if(i)r(i);else if(l?.teamId)r(l.teamId)},[i,l]),e}var nF=Object.create(null),yD=(e)=>globalThis.process?.env||globalThis.Deno?.env.toObject()||globalThis.__env__||(e?nF:globalThis),Cm=new Proxy(nF,{get(e,r){return yD()[r]??nF[r]},has(e,r){return r in yD()||r in nF},set(e,r,a){let i=yD(!0);return i[r]=a,!0},deleteProperty(e,r){if(!r)return!1;let a=yD(!0);return delete a[r],!0},ownKeys(){let e=yD(!0);return Object.keys(e)}});var DTe=typeof process<"u"&&process.env&&"production"||"";function _8(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 OTe=Object.freeze({get BETTER_AUTH_SECRET(){return _8("BETTER_AUTH_SECRET")},get AUTH_SECRET(){return _8("AUTH_SECRET")},get BETTER_AUTH_TELEMETRY(){return _8("BETTER_AUTH_TELEMETRY")},get BETTER_AUTH_TELEMETRY_ID(){return _8("BETTER_AUTH_TELEMETRY_ID")},get NODE_ENV(){return _8("NODE_ENV","development")},get PACKAGE_VERSION(){return _8("PACKAGE_VERSION","0.0.0")},get BETTER_AUTH_TELEMETRY_ENDPOINT(){return _8("BETTER_AUTH_TELEMETRY_ENDPOINT","")}});function NTe(){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 FTe(e){let r=e.split(`
61
- at `);if(r.length<=1)return e;return r.splice(1,1),r.join(`
62
- at `)}function jTe(e,r){class a extends e{#e;constructor(...i){if(NTe()){let l=Error.stackTraceLimit;Error.stackTraceLimit=0;super(...i);Error.stackTraceLimit=l}else super(...i);let s=Error().stack;if(s)this.#e=FTe(s.replace(/^Error/,this.name))}get errorStack(){return this.#e}}return Object.defineProperty(a.prototype,"constructor",{get(){return r},enumerable:!1,configurable:!0}),a}var BTe={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},UTe=class extends Error{constructor(e="INTERNAL_SERVER_ERROR",r=void 0,a={},i=typeof e==="number"?e:BTe[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 YTe=jTe(UTe,Error);var cR=class extends Error{constructor(e,r){super(e,r);this.name="BetterAuthError",this.message=e,this.stack=""}};function qTe(e){try{return(new URL(e).pathname.replace(/\/+$/,"")||"/")!=="/"}catch{throw new cR(`Invalid base URL: ${e}. Please provide a valid base URL.`)}}function HTe(e){try{let r=new URL(e);if(r.protocol!=="http:"&&r.protocol!=="https:")throw new cR(`Invalid base URL: ${e}. URL must include 'http://' or 'https://'`)}catch(r){if(r instanceof cR)throw r;throw new cR(`Invalid base URL: ${e}. Please provide a valid base URL.`,{cause:r})}}function _D(e,r="/api/auth"){if(HTe(e),qTe(e))return e;let a=e.replace(/\/+$/,"");if(!r||r==="/")return a;return r=r.startsWith("/")?r:`/${r}`,`${a}${r}`}function yse(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 _se(e,r,a,i,s){if(e)return _D(e,r);if(i!==!1){let d=Cm.BETTER_AUTH_URL||Cm.NEXT_PUBLIC_BETTER_AUTH_URL||Cm.PUBLIC_BETTER_AUTH_URL||Cm.NUXT_PUBLIC_BETTER_AUTH_URL||Cm.NUXT_PUBLIC_AUTH_URL||(Cm.BASE_URL!=="/"?Cm.BASE_URL:void 0);if(d)return _D(d,r)}let l=a?.headers.get("x-forwarded-host"),c=a?.headers.get("x-forwarded-proto");if(l&&c&&s){if(yse(c,"proto")&&yse(l,"host"))try{return _D(`${c}://${l}`,r)}catch(d){}}if(a){let d=VTe(a.url);if(!d)throw new cR("Could not get origin from request. Please provide a valid base URL.");return _D(d,r)}if(typeof window<"u"&&window.location)return _D(window.location.origin,r)}function VTe(e){try{let r=new URL(e);return r.origin==="null"?null:r.origin}catch{return null}}var WTe={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*:/},GTe=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/,bse={true:!0,false:!1,null:null,undefined:void 0,nan:NaN,infinity:Number.POSITIVE_INFINITY,"-infinity":Number.NEGATIVE_INFINITY},KTe=/^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2})(?:\.(\d{1,7}))?(?:Z|([+-])(\d{2}):(\d{2}))$/;function XTe(e){return e instanceof Date&&!isNaN(e.getTime())}function QTe(e){let r=KTe.exec(e);if(!r)return null;let[,a,i,s,l,c,d,h,g,x,v]=r,b=new Date(Date.UTC(parseInt(a,10),parseInt(i,10)-1,parseInt(s,10),parseInt(l,10),parseInt(c,10),parseInt(d,10),h?parseInt(h.padEnd(3,"0"),10):0));if(g){let y=(parseInt(x,10)*60+parseInt(v,10))*(g==="+"?-1:1);b.setUTCMinutes(b.getUTCMinutes()+y)}return XTe(b)?b:null}function JTe(e,r={}){let{strict:a=!1,warnings:i=!1,reviver:s,parseDates:l=!0}=r;if(typeof e!=="string")return e;let c=e.trim();if(c.length>0&&c[0]==='"'&&c.endsWith('"')&&!c.slice(1,-1).includes('"'))return c.slice(1,-1);let d=c.toLowerCase();if(d.length<=9&&d in bse)return bse[d];if(!GTe.test(c)){if(a)throw SyntaxError("[better-json] Invalid JSON");return e}if(Object.entries(WTe).some(([h,g])=>{let x=g.test(c);if(x&&i)console.warn(`[better-json] Detected potential prototype pollution attempt using ${h} pattern`);return x})&&a)throw Error("[better-json] Potential prototype pollution attempt detected");try{return JSON.parse(c,(g,x)=>{if(g==="__proto__"||g==="constructor"&&x&&typeof x==="object"&&"prototype"in x){if(i)console.warn(`[better-json] Dropping "${g}" key to prevent prototype pollution`);return}if(l&&typeof x==="string"){let v=QTe(x);if(v)return v}return s?s(g,x):x})}catch(h){if(a)throw h;return e}}function wse(e,r={strict:!0}){return JTe(e,r)}var zse={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 xu=[],b8=0,iF=null,fF=4,$Te=globalThis.nanostoresGlobal||={epoch:0},eAe=()=>{let e;for(b8=0;b8<xu.length;b8+=fF)try{xu[b8](xu[b8+1].value,xu[b8+2],xu[b8+3])}catch(r){e=r}if(xu.length=0,e)throw e};var bD=(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 l=b8+fF;l<xu.length;)if(xu[l]===i)xu.splice(l,fF);else l+=fF;let s=r.indexOf(i);if(~s){if(r.splice(s,1),!--a.lc)a.off()}}},notify(i,s){$Te.epoch++;let l=!xu.length&&!iF;for(let c of r){if(iF?.has(c))continue;iF?.add(c),xu.push(c,a,i,iF?void 0:s)}if(l)eAe()},off(){},set(i){let s=a.value;if(!a.eq(s,i))a.value=i,a.notify(s)},subscribe(i){let s=a.listen(i);return i(a.value),s},value:e};return a};var tAe=5,sF=6,lF=10,rAe=(e,r,a,i)=>{if(e.events=e.events||{},!e.events[a+lF])e.events[a+lF]=i((s)=>{e.events[a].reduceRight((l,c)=>(c(l),l),{shared:{},...s})});return e.events[a]=e.events[a]||[],e.events[a].push(r),()=>{let s=e.events[a],l=s.indexOf(r);if(s.splice(l,1),!s.length)delete e.events[a],e.events[a+lF](),delete e.events[a+lF]}};var Sse=1000,wD=(e,r)=>rAe(e,(i)=>{let s=r(i);if(s)e.events[sF].push(s)},tAe,(i)=>{let s=e.listen;e.listen=(...c)=>{if(!e.lc&&!e.active)e.active=!0,i();return s(...c)};let l=e.off;return e.events[sF]=[],e.off=()=>{l(),setTimeout(()=>{if(e.active&&!e.lc){e.active=!1;for(let c of e.events[sF])c();e.events[sF]=[]}},Sse)},()=>{e.listen=s,e.off=l}});function i9(e,r){let a=oAe(r),i=e;for(let s of a){if(i==null)return;i=i[s]}return i}var Lse=/(.*)\[(\d+)\]/;function oAe(e){return e.split(".").flatMap((r)=>kse(r))}function kse(e){if(Lse.test(e)){let[,r,a]=e.match(Lse);return[...kse(r),a]}return[e]}function f9(e,r,a){let i=new Set(r);return e.listen((s,l,c)=>{if(c===void 0?r.some((d)=>l===void 0||s[d]!==l[d]||i9(s,d)!==i9(l,d)):i.has(c)||i.has(c.split(/\.|\[/)[0]))a(s,l,c)})}var aAe=()=>typeof window>"u",Cse=(e,r,a,i)=>{let s=bD({data:null,error:null,isPending:!0,isRefetching:!1,refetch:(d)=>l(d)}),l=async(d)=>new Promise((h)=>{let g=typeof i==="function"?i({data:s.get().data,error:s.get().error,isPending:s.get().isPending}):i;a(r,{...g,query:{...g?.query,...d?.query},async onSuccess(x){s.set({data:x.data,error:null,isPending:!1,isRefetching:!1,refetch:s.value.refetch}),await g?.onSuccess?.(x)},async onError(x){let{request:v}=x,b=typeof v.retry==="number"?v.retry:v.retry?.attempts,y=v.retryAttempt||0;if(b&&y<b)return;let k=x.error.status===401;s.set({error:x.error,data:k?null:s.get().data,isPending:!1,isRefetching:!1,refetch:s.value.refetch}),await g?.onError?.(x)},async onRequest(x){let v=s.get();s.set({isPending:v.data===null,data:v.data,error:null,isRefetching:!0,refetch:s.value.refetch}),await g?.onRequest?.(x)}}).catch((x)=>{s.set({error:x,data:s.get().data,isPending:!1,isRefetching:!1,refetch:s.value.refetch})}).finally(()=>{h(void 0)})});e=Array.isArray(e)?e:[e];let c=!1;for(let d of e)d.subscribe(async()=>{if(aAe())return;if(c)await l();else wD(s,()=>{let h=setTimeout(async()=>{if(!c)c=!0,await l()},0);return()=>{s.off(),d.off(),clearTimeout(h)}})});return s};var s9=Symbol.for("better-auth:broadcast-channel"),nAe=()=>Math.floor(Date.now()/1000),iAe=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:nAe()}))}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 cF(e="better-auth.message"){if(!globalThis[s9])globalThis[s9]=new iAe(e);return globalThis[s9]}var l9=Symbol.for("better-auth:focus-manager"),fAe=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 c9(){if(!globalThis[l9])globalThis[l9]=new fAe;return globalThis[l9]}var u9=Symbol.for("better-auth:online-manager"),sAe=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 uF(){if(!globalThis[u9])globalThis[u9]=new sAe;return globalThis[u9]}var uR=()=>Math.floor(Date.now()/1000);function Ise(e){if(typeof e==="object"&&e!==null&&"data"in e&&"error"in e)return e;return{data:e,error:null}}var lAe=5;function Rse(e){let{sessionAtom:r,sessionSignal:a,$fetch:i,options:s={}}=e,l=s.sessionOptions?.refetchInterval??0,c=s.sessionOptions?.refetchOnWindowFocus??!0,d=s.sessionOptions?.refetchWhenOffline??!1,h={lastSync:0,lastSessionRequest:0,cachedSession:void 0},g=()=>d||uF().isOnline,x=(j)=>{if(!g())return;if(j?.event==="storage"){h.lastSync=uR(),a.set(!a.get());return}let G=r.get(),X=()=>{h.lastSessionRequest=uR(),i("/get-session").then(async(J)=>{let{data:ee,error:re}=Ise(J);if(ee?.needsRefresh)try{let fe=await i("/get-session",{method:"POST"});({data:ee,error:re}=Ise(fe))}catch{}let oe=ee?.session&&ee?.user?ee:null;r.set({...G,data:oe,error:re}),h.lastSync=uR(),a.set(!a.get())}).catch(()=>{})};if(j?.event==="poll"){X();return}if(j?.event==="visibilitychange"){if(uR()-h.lastSessionRequest<lAe)return;h.lastSessionRequest=uR()}if(j?.event==="visibilitychange"){X();return}if(G?.data===null||G?.data===void 0)h.lastSync=uR(),a.set(!a.get())},v=(j)=>{cF().post({event:"session",data:{trigger:j},clientId:Math.random().toString(36).substring(7)})},b=()=>{if(l&&l>0)h.pollInterval=setInterval(()=>{if(r.get()?.data)x({event:"poll"})},l*1000)},y=()=>{h.unsubscribeBroadcast=cF().subscribe(()=>{x({event:"storage"})})},k=()=>{if(!c)return;h.unsubscribeFocus=c9().subscribe(()=>{x({event:"visibilitychange"})})},T=()=>{h.unsubscribeOnline=uF().subscribe((j)=>{if(j)x({event:"visibilitychange"})})};return{init:()=>{b(),y(),k(),T(),cF().setup(),c9().setup(),uF().setup()},cleanup:()=>{if(h.pollInterval)clearInterval(h.pollInterval),h.pollInterval=void 0;if(h.unsubscribeBroadcast)h.unsubscribeBroadcast(),h.unsubscribeBroadcast=void 0;if(h.unsubscribeFocus)h.unsubscribeFocus(),h.unsubscribeFocus=void 0;if(h.unsubscribeOnline)h.unsubscribeOnline(),h.unsubscribeOnline=void 0;h.lastSync=0,h.lastSessionRequest=0,h.cachedSession=void 0},triggerRefetch:x,broadcastSessionUpdate:v}}function Pse(e,r){let a=bD(!1),i=Cse(a,"/get-session",e,{method:"GET"}),s=()=>{};return wD(i,()=>{let l=Rse({sessionAtom:i,sessionSignal:a,$fetch:e,options:r});return l.init(),s=l.broadcastSessionUpdate,()=>{l.cleanup()}}),{session:i,$sessionSignal:a,broadcastSessionUpdate:(l)=>s(l)}}function d9(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 Z9(e,r,a=".",i){if(!d9(r))return Z9(e,{},a,i);let s={...r};for(let l of Object.keys(e)){if(l==="__proto__"||l==="constructor")continue;let c=e[l];if(c===null||c===void 0)continue;if(i&&i(s,l,c,a))continue;if(Array.isArray(c)&&Array.isArray(s[l]))s[l]=[...c,...s[l]];else if(d9(c)&&d9(s[l]))s[l]=Z9(c,s[l],(a?`${a}.`:"")+l.toString(),i);else s[l]=c}return s}function p9(e){return(...r)=>r.reduce((a,i)=>Z9(a,i,"",e),{})}var Tse=p9(),xra=p9((e,r,a)=>{if(e[r]!==void 0&&typeof a==="function")return e[r]=a(e[r]),!0}),vra=p9((e,r,a)=>{if(Array.isArray(e[r])&&typeof a==="function")return e[r]=a(e[r]),!0});var{defineProperty:cAe,defineProperties:uAe,getOwnPropertyDescriptors:dAe,getOwnPropertySymbols:Ase}=Object,ZAe=Object.prototype.hasOwnProperty,pAe=Object.prototype.propertyIsEnumerable,Ese=(e,r,a)=>(r in e)?cAe(e,r,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[r]=a,vu=(e,r)=>{for(var a in r||(r={}))if(ZAe.call(r,a))Ese(e,a,r[a]);if(Ase){for(var a of Ase(r))if(pAe.call(r,a))Ese(e,a,r[a])}return e},ZZ=(e,r)=>uAe(e,dAe(r)),mAe=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)}},hAe=async(e,r)=>{var a,i,s,l,c,d;let h=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:h,hooks:g};for(let x of(r==null?void 0:r.plugins)||[]){if(x.init){let v=await((a=x.init)==null?void 0:a.call(x,e.toString(),r));h=v.options||h,e=v.url}g.onRequest.push((i=x.hooks)==null?void 0:i.onRequest),g.onResponse.push((s=x.hooks)==null?void 0:s.onResponse),g.onSuccess.push((l=x.hooks)==null?void 0:l.onSuccess),g.onError.push((c=x.hooks)==null?void 0:c.onError),g.onRetry.push((d=x.hooks)==null?void 0:d.onRetry)}return{url:e,options:h,hooks:g}},Dse=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}},gAe=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 MAe(e){if(typeof e==="number")return new Dse({type:"linear",attempts:e,delay:1000});switch(e.type){case"linear":return new Dse(e);case"exponential":return new gAe(e);default:throw Error("Invalid retry strategy")}}var xAe=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,s]=await Promise.all([a(e.auth.username),a(e.auth.password)]);if(!i||!s)return r;r.authorization=`Basic ${btoa(`${i}:${s}`)}`}else if(e.auth.type==="Custom"){let[i,s]=await Promise.all([a(e.auth.prefix),a(e.auth.value)]);if(!s)return r;r.authorization=`${i!=null?i:""} ${s}`}}return r},vAe=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function yAe(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(vAe.test(i))return"json";if(a.has(i)||i.startsWith("text/"))return"text";return"blob"}function _Ae(e){try{return JSON.parse(e),!0}catch(r){return!1}}function m9(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 Ose(e){try{return JSON.parse(e)}catch(r){return e}}function Nse(e){return typeof e==="function"}function bAe(e){if(e==null?void 0:e.customFetchImpl)return e.customFetchImpl;if(typeof globalThis<"u"&&Nse(globalThis.fetch))return globalThis.fetch;if(typeof window<"u"&&Nse(window.fetch))return window.fetch;throw Error("No fetch implementation found")}async function wAe(e){let r=new Headers(e==null?void 0:e.headers),a=await xAe(e);for(let[i,s]of Object.entries(a||{}))r.set(i,s);if(!r.has("content-type")){let i=zAe(e==null?void 0:e.body);if(i)r.set("content-type",i)}return r}function zAe(e){if(m9(e))return"application/json";return null}function SAe(e){if(!(e==null?void 0:e.body))return null;let r=new Headers(e==null?void 0:e.headers);if(m9(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(m9(e.body))return new URLSearchParams(e.body).toString();return e.body}return e.body}function LAe(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(!Fse.includes(i))return(r==null?void 0:r.body)?"POST":"GET";return i.toUpperCase()}return(r==null?void 0:r.body)?"POST":"GET"}function kAe(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 CAe=class e extends Error{constructor(r,a){super(a||JSON.stringify(r,null,2));this.issues=r,Object.setPrototypeOf(this,e.prototype)}};async function dF(e,r){let a=await e["~standard"].validate(r);if(a.issues)throw new CAe(a.issues);return a.value}var Fse=["get","post","put","patch","delete"];var IAe=(e)=>({id:"apply-schema",name:"Apply Schema",version:"1.0.0",async init(r,a){var i,s,l,c;let d=((s=(i=e.plugins)==null?void 0:i.find((h)=>{var g;return((g=h.schema)==null?void 0:g.config)?r.startsWith(h.schema.config.baseURL||"")||r.startsWith(h.schema.config.prefix||""):!1}))==null?void 0:s.schema)||e.schema;if(d){let h=r;if((l=d.config)==null?void 0:l.prefix){if(h.startsWith(d.config.prefix)){if(h=h.replace(d.config.prefix,""),d.config.baseURL)r=r.replace(d.config.prefix,d.config.baseURL)}}if((c=d.config)==null?void 0:c.baseURL){if(h.startsWith(d.config.baseURL))h=h.replace(d.config.baseURL,"")}let g=d.schema[h];if(g){let x=ZZ(vu({},a),{method:g.method,output:g.output});if(!(a==null?void 0:a.disableValidation))x=ZZ(vu({},x),{body:g.input?await dF(g.input,a==null?void 0:a.body):a==null?void 0:a.body,params:g.params?await dF(g.params,a==null?void 0:a.params):a==null?void 0:a.params,query:g.query?await dF(g.query,a==null?void 0:a.query):a==null?void 0:a.query});return{url:r,options:x}}}return{url:r,options:a}}}),jse=(e)=>{async function r(a,i){let s=ZZ(vu(vu({},e),i),{plugins:[...(e==null?void 0:e.plugins)||[],IAe(e||{}),...(i==null?void 0:i.plugins)||[]]});if(e==null?void 0:e.catchAllError)try{return await h9(a,s)}catch(l){return{data:null,error:{status:500,statusText:"Fetch Error",message:"Fetch related error. Captured by catchAllError option. See error property for more details.",error:l}}}return await h9(a,s)}return r};function RAe(e,r){let{baseURL:a,params:i,query:s}=r||{query:{},params:{},baseURL:""},l=e.startsWith("http")?e.split("/").slice(0,3).join("/"):a||"";if(e.startsWith("@")){let v=e.toString().split("@")[1].split("/")[0];if(Fse.includes(v))e=e.replace(`@${v}/`,"/")}if(!l.endsWith("/"))l+="/";let[c,d]=e.replace(l,"").split("?"),h=new URLSearchParams(d);for(let[v,b]of Object.entries(s||{})){if(b==null)continue;let y;if(typeof b==="string")y=b;else if(Array.isArray(b)){for(let k of b)h.append(v,k);continue}else y=JSON.stringify(b);h.set(v,y)}if(i)if(Array.isArray(i)){let v=c.split("/").filter((b)=>b.startsWith(":"));for(let[b,y]of v.entries()){let k=i[b];c=c.replace(y,k)}}else for(let[v,b]of Object.entries(i))c=c.replace(`:${v}`,String(b));if(c=c.split("/").map(encodeURIComponent).join("/"),c.startsWith("/"))c=c.slice(1);let g=h.toString();if(g=g.length>0?`?${g}`.replace(/\+/g,"%20"):"",!l.startsWith("http"))return`${l}${c}${g}`;return new URL(`${c}${g}`,l)}var h9=async(e,r)=>{var a,i,s,l,c,d,h,g;let{hooks:x,url:v,options:b}=await hAe(e,r),y=bAe(b),k=new AbortController,T=(a=b.signal)!=null?a:k.signal,U=RAe(v,b),N=SAe(b),j=await wAe(b),G=LAe(v,b),X=ZZ(vu({},b),{url:U,headers:j,body:N,method:G,signal:T});for(let Se of x.onRequest)if(Se){let He=await Se(X);if(typeof He==="object"&&He!==null)X=He}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}=kAe(b,k),ee=await y(X.url,X);J();let re={response:ee,request:X};for(let Se of x.onResponse)if(Se){let He=await Se(ZZ(vu({},re),{response:((s=r==null?void 0:r.hookOptions)==null?void 0:s.cloneResponse)?ee.clone():ee}));if(He instanceof Response)ee=He;else if(typeof He==="object"&&He!==null)ee=He.response}if(ee.ok){if(X.method==="HEAD")return{data:"",error:null};let He=yAe(ee),ft={data:null,response:ee,request:X};if(He==="json"||He==="text"){let Je=await ee.text(),xt=(l=X.jsonParser)!=null?l:Ose;ft.data=await xt(Je)}else ft.data=await ee[He]();if(X==null?void 0:X.output){if(X.output&&!X.disableValidation)ft.data=await dF(X.output,ft.data)}for(let Je of x.onSuccess)if(Je)await Je(ZZ(vu({},ft),{response:((c=r==null?void 0:r.hookOptions)==null?void 0:c.cloneResponse)?ee.clone():ee}));if(r==null?void 0:r.throw)return ft.data;return{data:ft.data,error:null}}let oe=(d=r==null?void 0:r.jsonParser)!=null?d:Ose,fe=await ee.text(),be=_Ae(fe),We=be?await oe(fe):null,Ye={response:ee,responseText:fe,request:X,error:ZZ(vu({},We),{status:ee.status,statusText:ee.statusText})};for(let Se of x.onError)if(Se)await Se(ZZ(vu({},Ye),{response:((h=r==null?void 0:r.hookOptions)==null?void 0:h.cloneResponse)?ee.clone():ee}));if(r==null?void 0:r.retry){let Se=MAe(r.retry),He=(g=r.retryAttempt)!=null?g:0;if(await Se.shouldAttemptRetry(He,ee)){for(let Je of x.onRetry)if(Je)await Je(re);let ft=Se.getDelay(He);return await new Promise((Je)=>setTimeout(Je,ft)),await h9(e,ZZ(vu({},r),{retryAttempt:He+1}))}}if(r==null?void 0:r.throw)throw new mAe(ee.status,ee.statusText,be?We:fe);return{data:null,error:ZZ(vu({},We),{status:ee.status,statusText:ee.statusText})}};var PAe=(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{}}},Bse=(e,r)=>{let a="credentials"in Request.prototype,i=_se(e?.baseURL,e?.basePath,void 0,r)??PAe(e?.basePath)??"/api/auth",s=e?.plugins?.flatMap((J)=>J.fetchPlugins).filter((J)=>J!==void 0)||[],l={id:"lifecycle-hooks",name:"lifecycle-hooks",hooks:{onSuccess:e?.fetchOptions?.onSuccess,onError:e?.fetchOptions?.onError,onRequest:e?.fetchOptions?.onRequest,onResponse:e?.fetchOptions?.onResponse}},{onSuccess:c,onError:d,onRequest:h,onResponse:g,...x}=e?.fetchOptions||{},v=jse({baseURL:i,...a?{credentials:"include"}:{},method:"GET",jsonParser(J){if(!J)return null;return wse(J,{strict:!1})},customFetchImpl:fetch,...x,plugins:[l,...x.plugins||[],...e?.disableDefaultFetchPlugins?[]:[zse],...s]}),{$sessionSignal:b,session:y,broadcastSessionUpdate:k}=Pse(v,e),T=e?.plugins||[],U={},N={$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")k("signout");else if(J==="/update-user"||J==="/update-session")k("updateUser")}}];for(let J of T){if(J.getAtoms)Object.assign(N,J.getAtoms?.(v));if(J.pathMethods)Object.assign(j,J.pathMethods);if(J.atomListeners)G.push(...J.atomListeners)}let X={notify:(J)=>{N[J].set(!N[J].get())},listen:(J,ee)=>{N[J].subscribe(ee)},atoms:N};for(let J of T)if(J.getActions)U=Tse(J.getActions?.(v,X,e)??{},U);return{get baseURL(){return i},pluginsActions:U,pluginsAtoms:N,pluginPathMethods:j,atomListeners:G,$fetch:v,$store:X}};function Use(e){return typeof e==="object"&&e!==null&&"get"in e&&typeof e.get==="function"&&"lc"in e&&typeof e.lc==="number"}function TAe(e,r,a){let i=r[e],{fetchOptions:s,query:l,...c}=a||{};if(i)return i;if(s?.method)return s.method;if(c&&Object.keys(c).length>0)return"POST";return"GET"}function Yse(e,r,a,i,s){function l(c=[]){return new Proxy(function(){},{get(d,h){if(typeof h!=="string")return;if(h==="then"||h==="catch"||h==="finally")return;let g=[...c,h],x=e;for(let v of g)if(x&&typeof x==="object"&&v in x)x=x[v];else{x=void 0;break}if(typeof x==="function")return x;if(Use(x))return x;return l(g)},apply:async(d,h,g)=>{let x="/"+c.map((j)=>j.replace(/[A-Z]/g,(G)=>`-${G.toLowerCase()}`)).join("/"),v=g[0]||{},b=g[1]||{},{query:y,fetchOptions:k,...T}=v,U={...b,...k},N=TAe(x,a,v);return await r(x,{...U,body:N==="GET"?void 0:{...T,...U?.body||{}},query:y||U?.query,method:N,async onSuccess(j){if(await U?.onSuccess?.(j),!s||U.disableSignal)return;let G=s.filter((J)=>J.matcher(x));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 re=ee.get();setTimeout(()=>{ee.set(!re)},10),J.callback?.(x)}}})}})}return l()}S();function qse(e,r={}){let a=_(e.get()),{keys:i,deps:s=[e,i]}=r,l=P((d)=>{let h=(g)=>{if(a.current===g)return;a.current=g,d()};if(h(e.value),i?.length)return f9(e,i,h);return e.listen(h)},s),c=()=>a.current;return Xn(l,c,c)}function Hse(e){return e.charAt(0).toUpperCase()+e.slice(1)}function AAe(e){return`use${Hse(e)}`}function Vse(e){let{pluginPathMethods:r,pluginsActions:a,pluginsAtoms:i,$fetch:s,$store:l,atomListeners:c}=Bse(e),d={};for(let[h,g]of Object.entries(i))d[AAe(h)]=()=>qse(g);return Yse({...a,...d,$fetch:s,$store:l},s,r,i,c)}var EAe=Vse({baseURL:window.location.origin}),{signIn:g9,signUp:Wse,useSession:Vra,signOut:Gse,resetPassword:Mm}=EAe;var Kse="0.5.2";var pF={};var ale=["en","zh"];var y9=["cookie","globalVariable","baseLocale"],Xse=[],_9=[{pattern:":protocol://:domain(.*)::port?/:path(.*)?",localized:[["zh",":protocol://:domain(.*)::port?/zh/:path(.*)?"],["en",":protocol://:domain(.*)::port?/:path(.*)?"]]}];var mF=void 0;var Jz=typeof window>"u",p=void 0;var nle=!0,ile=!1,fle=!0,DAe=!1,b9=!0,sle=!1;globalThis.__paraglide=globalThis.__paraglide??{};globalThis.__paraglide.ssr=globalThis.__paraglide.ssr??{};var hF,Qse=!1,n=()=>{if(p!==void 0)return p;if(mF){let a=mF?.getStore()?.locale;if(a)return a}let e=y9;if(!Jz&&typeof window<"u"&&window.location?.href)e=ple(window.location.href);let r=OAe(e,typeof window<"u"?window.location?.href:void 0);if(r){if(!Qse)hF=r,Qse=!0,Na(r,{reload:!1});return r}throw Error("No locale found. Read the docs https://paraglidejs.com/errors#no-locale-found")};function OAe(e,r){let a;for(let i of e){if(nle&&i==="cookie")a=UAe();else if(i==="baseLocale")a="en";else if(ile&&i==="url"&&!Jz&&typeof r==="string")a=ule(r);else if(fle&&i==="globalVariable"&&hF!==void 0)a=hF;else if(DAe&&i==="preferredLanguage"&&!Jz)a=YAe();else if(sle&&i==="localStorage"&&!Jz)a=localStorage.getItem("PARAGLIDE_LOCALE")??void 0;else if(mle(i)&&bF.has(i)){let l=bF.get(i);if(l){let c=l.getLocale();if(c instanceof Promise)continue;if(c!==void 0)return cle(c)}}let s=w8(a);if(s)return s}return}var NAe=(e)=>{if(e)window.location.href=e;else window.location.reload()},Na=(e,r)=>{let a={reload:!0,...r};if(p!==void 0&&e!==p&&a.reload===!1)console.warn(`Paraglide: setLocale(${JSON.stringify(e)}, { reload: false }) cannot switch away from the statically built locale ${JSON.stringify(p)}. A document navigation is required; reload has been forced to true.`),a.reload=!0;let i;try{i=n()}catch{}let s=[],l=void 0,c=y9;if(!Jz&&typeof window<"u"&&window.location?.href)c=ple(window.location.href);for(let h of c)if(fle&&h==="globalVariable")hF=e;else if(nle&&h==="cookie"){if(Jz||typeof document>"u"||typeof window>"u")continue;let g=`PARAGLIDE_LOCALE=${e}; path=/; max-age=34560000`;document.cookie=g,v9()}else if(h==="baseLocale")continue;else if(ile&&h==="url"&&typeof window<"u")l=HAe(window.location.href,{locale:e}).href;else if(sle&&h==="localStorage"&&typeof window<"u")localStorage.setItem("PARAGLIDE_LOCALE",e);else if(mle(h)&&bF.has(h)){let g=bF.get(h);if(g){let x=g.setLocale(e);if(x instanceof Promise)x=x.catch((v)=>{throw Error(`Custom strategy "${h}" setLocale failed.`,{cause:v})}),s.push(x)}}let d=()=>{if(!Jz&&a.reload&&window.location&&e!==i)NAe(l)};if(s.length)return Promise.all(s).then(()=>{d()});d();return};var lle=()=>{if(mF)return mF.getStore()?.origin??"http://fallback.com";else if(typeof window<"u")return window.location.origin;return"http://fallback.com"};function w8(e){if(typeof e!=="string")return;let r=e.toLowerCase();for(let a of ale)if(a.toLowerCase()===r)return a;return}function cle(e){let r=w8(e);if(r)return r;throw Error(`Invalid locale: ${e}. Expected one of: ${ale.join(", ")}`)}function _c(e){return e}function dR(e,r){return e.exec(r.href)}var FAe="PARAGLIDE_LOCALE".replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),jAe=new RegExp(`(?:^|;\\s*)${FAe}=([^;]*)`),w9=Symbol(),zD=w9;function v9(){zD=w9}function BAe(){if(typeof queueMicrotask==="function")queueMicrotask(v9);else Promise.resolve().then(v9)}function UAe(){if(typeof document>"u")return;if(zD!==w9)return zD;let r=document.cookie.match(jAe)?.[1];return zD=w8(r),BAe(),zD}function YAe(){if(!navigator?.languages?.length)return;let e=navigator.languages.map((r)=>({fullTag:r,baseTag:r.split("-")[0]}));for(let r of e){let a=w8(r.fullTag);if(a)return a;let i=w8(r.baseTag);if(i)return i}return}var Jse,$se;function ule(e){let r=typeof e==="string"?e:e.href;if(Jse===r)return $se;let a;if(b9){let i=typeof e==="string"?new URL(e,"http://example.com"):new URL(e);a=qAe(_c(i))}else{let i=_c(typeof e==="string"?new URL(e):new URL(e));for(let s of _9){for(let[l,c]of s.localized)if(dR(new pF(c,i.href),i)){a=l;break}if(a)break}}return Jse=r,$se=a,a}function qAe(e){let a=new URL(e,"http://example.com").pathname.split("/").filter(Boolean);return w8(a[0])||"en"}function HAe(e,r){let a=r?.locale?cle(r?.locale):n();if(b9)return VAe(e,a);let i=typeof e==="string"?new URL(e):e,s=i;for(let l of _9){let c=QAe(s,a,l);if(c!==void 0)return c;for(let[,h]of l.localized){let g=dR(vF(h,s),s);if(!g)continue;let x=l.localized.find(([b])=>b===a)?.[1];if(!x)continue;let v=MF(x,xF(g),s.origin);return _c(gF(v,g))}let d=dR(vF(l.pattern,s),s);if(d){let h=l.localized.find(([g])=>g===a)?.[1];if(h){let g=MF(h,xF(d),s.origin);return _c(gF(g,d))}}}return i}function VAe(e,r){let a=_c(typeof e==="string"?new URL(e,lle()):new URL(e));if(ule(a)===r)return _c(a);let s=a.pathname.split("/").filter(Boolean);if(s.length>0&&w8(s[0]))s.shift();if(r==="en")a.pathname="/"+s.join("/");else a.pathname="/"+r+"/"+s.join("/");return _c(a)}function WAe(e){if(b9)return GAe(e);let r=typeof e==="string"?new URL(e):e,a=r;for(let i of _9){let s=JAe(a,i);if(s!==void 0)return s;for(let[,c]of i.localized){let d=dR(vF(c,a),a);if(d){let h=xF(d),g=MF(i.pattern,h,a.origin);return _c(gF(g,d))}}let l=dR(vF(i.pattern,a),a);if(l){let c=MF(i.pattern,xF(l),a.origin);return _c(gF(c,l))}}return r}function GAe(e){let r=_c(typeof e==="string"?new URL(e,lle()):new URL(e)),a=r.pathname.split("/").filter(Boolean);if(a.length>0&&w8(a[0]))r.pathname="/"+a.slice(1).join("/");return _c(r)}function gF(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 MF(e,r,a){let l=e.replace(/(https?:\/\/[^:/]+):(\d+)(\/|$)/g,(c,d,h,g)=>`${d}#PORT-${h}#${g}`).replace(/\{([^{}]*)\}([?+*]?)/g,(c,d,h)=>{if(h==="?")return d;return d}).replace(/(\/?):([a-zA-Z0-9_]+)(\([^)]*\))?([?+*]?)/g,(c,d,h,g,x)=>{let v=r[h];if(v===null)return"";if(x==="?")return v!==void 0?`${d}${v}`:"";if(x==="+"||x==="*"){if(v===void 0&&x==="+")throw Error(`Missing value for "${h}" (one or more required)`);return v?`${d}${v}`:""}if(v===void 0)throw Error(`Missing value for "${h}"`);return`${d}${v}`});return l=l.replace(/#PORT-(\d+)#/g,":$1"),new URL(l,a)}function xF(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 Qz=new Map,KAe=128,XAe=/^(?:[A-Za-z][A-Za-z\d+.-]*|:[A-Za-z][A-Za-z\d_-]*):\/\//;function vF(e,r){let a=XAe.test(e),i=e.startsWith("/");if(!a&&!i)return new pF(e,r.href);let s=a?e:JSON.stringify([r.origin,e]),l=Qz.get(s);if(l!==void 0)return Qz.delete(s),Qz.set(s,l),l;let c=new pF(e,r.href);if(Qz.size>=KAe){let d=Qz.keys().next().value;if(d!==void 0)Qz.delete(d)}return Qz.set(s,c),c}var ZF=new WeakMap;function QAe(e,r,a){let i=dle(a);if(i===null)return;for(let l of i.localized){let c=yF(l.pattern,e);if(c===void 0)continue;let d=i.localized.find((h)=>h.locale===r)?.pattern;if(d===void 0)continue;return _F(d,c,e)}let s=yF(i.base,e);if(s!==void 0){let l=i.localized.find((c)=>c.locale===r)?.pattern;if(l!==void 0)return _F(l,s,e)}return}function JAe(e,r){let a=dle(r);if(a===null)return;for(let s of a.localized){let l=yF(s.pattern,e);if(l!==void 0)return _F(a.base,l,e)}let i=yF(a.base,e);if(i!==void 0)return _F(a.base,i,e);return}function dle(e){let r=ZF.get(e);if(r!==void 0)return r;let a=ele(e.pattern);if(a===void 0)return ZF.set(e,null),null;let i=[];for(let[l,c]of e.localized){let d=ele(c);if(d===void 0||d.pathMode!==a.pathMode)return ZF.set(e,null),null;i.push({locale:l,pattern:d})}let s={base:a,localized:i};return ZF.set(e,s),s}function ele(e){let r=e.match(/\/:path(?:\(\.\*\)(?:\?)?|\*)$/);if(r===null||r.index===void 0)return;let a=e.slice(0,r.index),i=$Ae(a);if(i===void 0)return;let s=r[0].endsWith("*")?"segments":r[0].endsWith("?")?"catch-all-optional":"catch-all-required";return{...i,pathMode:s}}function $Ae(e){if(e===""||e.startsWith("/")){if(M9(e))return;return{protocol:void 0,hostname:void 0,port:void 0,pathnamePrefix:x9(e),pathMode:"catch-all-optional"}}let r=e.match(/^:protocol:\/\/([^/]+)(\/.*)?$/),a=e.match(/^([A-Za-z][A-Za-z\d+.-]*):\/\/([^/]+)(\/.*)?$/);if(r!==null){let d=(r[1]??"").match(/^([^:(){}?*+]+)(?::(\d+))?$/);if(d===null||r[2]!==void 0&&M9(r[2]))return;return{protocol:void 0,hostname:(d[1]??"").toLowerCase(),port:d[2],pathnamePrefix:x9(r[2]??""),pathMode:"catch-all-optional"}}if(a===null)return;let i=a[2]??"",s=a[3],l=i.match(/^([^:(){}?*+]+)(?::(\d+))?$/);if(l===null||s!==void 0&&M9(s))return;return{protocol:`${a[1]}:`,hostname:(l[1]??"").toLowerCase(),port:e2e(l[2],`${a[1]}:`),pathnamePrefix:x9(s??""),pathMode:"catch-all-optional"}}function e2e(e,r){if(e==="80"&&r==="http:")return"";if(e==="443"&&r==="https:")return"";return e}function M9(e){return/[:(){}?*+]/.test(e)}function x9(e){if(e===""||e==="/")return"/";return e.endsWith("/")?e.slice(0,-1):e}function yF(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??Zle(e.protocol??r.protocol))!==r.port)return}let a=e.pathnamePrefix;if(a==="/"){if(r.pathname.startsWith("//"))return;if(e.pathMode==="segments")return tle(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"&&!tle(i))return;return i}return}function tle(e){return e.length>1&&!e.endsWith("/")&&!e.includes("//")}function Zle(e){if(e==="http:")return"";if(e==="https:")return"";return""}function _F(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??Zle(i.protocol);return i.pathname=t2e(e.pathnamePrefix,r),i}function t2e(e,r){if(e==="/")return r===""?"/":r;if(r==="")return e;return`${e}${r.startsWith("/")?r:`/${r}`}`}var rle,ole;function r2e(e){if(Xse.length===0)return;let r=typeof e==="string"?e:e.href;if(rle===r)return ole;let a=_c(new URL(r,"http://example.com")),i=WAe(a),s=i.href===a.href?[a]:[a,i],l;for(let c of s){for(let d of Xse){let h=new pF(d.match,c.href);if(dR(h,c)){l=d;break}}if(l)break}return rle=r,ole=l,l}function ple(e){let r=r2e(e);if(r&&r.exclude!==!0&&Array.isArray(r.strategy))return r.strategy;return y9}var bF=new Map;function mle(e){return typeof e==="string"&&/^custom-[A-Za-z0-9_-]+$/.test(e)}var o2e=()=>"Access Denied",a2e=()=>"访问被拒绝",HA=(e={},r={})=>{if((p??r.locale??n())==="zh")return a2e(e);return o2e(e)};var n2e=()=>"Action",i2e=()=>"操作",$A=(e={},r={})=>{if((p??r.locale??n())==="zh")return i2e(e);return n2e(e)};var f2e=()=>"Actions",s2e=()=>"操作",GA=(e={},r={})=>{if((p??r.locale??n())==="zh")return s2e(e);return f2e(e)};var l2e=()=>"Active",c2e=()=>"启用",VA=(e={},r={})=>{if((p??r.locale??n())==="zh")return c2e(e);return l2e(e)};var u2e=()=>"active",d2e=()=>"个激活",QA=(e={},r={})=>{if((p??r.locale??n())==="zh")return d2e(e);return u2e(e)};var Z2e=()=>"Activity",p2e=()=>"活动",m2e=(e={},r={})=>{if((p??r.locale??n())==="zh")return p2e(e);return Z2e(e)};var h2e=()=>"Activity Notifications",g2e=()=>"活动通知",KA=(e={},r={})=>{if((p??r.locale??n())==="zh")return g2e(e);return h2e(e)};var M2e=()=>"Receive in-app updates for comments, uploads, and automated background analysis tasks inside this project.",x2e=()=>"接收此项目中评论、上传及自动后台分析任务的应用内通知。",WA=(e={},r={})=>{if((p??r.locale??n())==="zh")return x2e(e);return M2e(e)};var v2e=()=>"Add",y2e=()=>"添加",Ef=(e={},r={})=>{if((p??r.locale??n())==="zh")return y2e(e);return v2e(e)};var _2e=()=>"Add Assets",b2e=()=>"添加资产",hle=(e={},r={})=>{if((p??r.locale??n())==="zh")return b2e(e);return _2e(e)};var w2e=()=>"+ Add condition",z2e=()=>"+ 添加条件",YA=(e={},r={})=>{if((p??r.locale??n())==="zh")return z2e(e);return w2e(e)};var S2e=()=>"Add Domain",L2e=()=>"添加域名",JA=(e={},r={})=>{if((p??r.locale??n())==="zh")return L2e(e);return S2e(e)};var k2e=()=>"Add your first AI provider to get started.",C2e=()=>"添加您的第一个 AI 提供商以开始使用。",XA=(e={},r={})=>{if((p??r.locale??n())==="zh")return C2e(e);return k2e(e)};var I2e=()=>"Add Image Block",R2e=()=>"添加图片块",km=(e={},r={})=>{if((p??r.locale??n())==="zh")return R2e(e);return I2e(e)};var P2e=()=>"Add MCP Server",T2e=()=>"添加 MCP 服务",Cf=(e={},r={})=>{if((p??r.locale??n())==="zh")return T2e(e);return P2e(e)};var A2e=()=>"Add an MCP server to extend your AI agent tools.",E2e=()=>"添加 MCP 服务以扩展 AI Agent 的工具能力。",e0=(e={},r={})=>{if((p??r.locale??n())==="zh")return E2e(e);return A2e(e)};var D2e=()=>"Add Members from Other Projects",O2e=()=>"从其他项目添加成员",t0=(e={},r={})=>{if((p??r.locale??n())==="zh")return O2e(e);return D2e(e)};var N2e=()=>"Project-scoped members who currently do not have access to this project.",F2e=()=>"当前无权访问此项目的项目成员。",r0=(e={},r={})=>{if((p??r.locale??n())==="zh")return F2e(e);return N2e(e)};var j2e=()=>"Add Model",B2e=()=>"添加模型",ld=(e={},r={})=>{if((p??r.locale??n())==="zh")return B2e(e);return j2e(e)};var U2e=()=>"Add New Provider",Y2e=()=>"添加新提供商",n0=(e={},r={})=>{if((p??r.locale??n())==="zh")return Y2e(e);return U2e(e)};var q2e=()=>"Add New Skill",H2e=()=>"添加新技能",o0=(e={},r={})=>{if((p??r.locale??n())==="zh")return H2e(e);return q2e(e)};var V2e=()=>"Add option",W2e=()=>"添加选项",cd=(e={},r={})=>{if((p??r.locale??n())==="zh")return W2e(e);return V2e(e)};var G2e=(e)=>`Add options: ${e?.name}`,K2e=(e)=>`添加选项:${e?.name}`,Rm=(e,r={})=>{if((p??r.locale??n())==="zh")return K2e(e);return G2e(e)};var X2e=()=>"Add Provider",Q2e=()=>"添加提供商",Pm=(e={},r={})=>{if((p??r.locale??n())==="zh")return Q2e(e);return X2e(e)};var J2e=()=>"Add Quota",$2e=()=>"添加配额",Nm=(e={},r={})=>{if((p??r.locale??n())==="zh")return $2e(e);return J2e(e)};var eEe=()=>"Add reaction",tEe=()=>"添加回应",s0=(e={},r={})=>{if((p??r.locale??n())==="zh")return tEe(e);return eEe(e)};var rEe=()=>"Add Skill",oEe=()=>"添加技能",i0=(e={},r={})=>{if((p??r.locale??n())==="zh")return oEe(e);return rEe(e)};var aEe=()=>"Add a skill via GitHub URL or upload a ZIP file to get started.",nEe=()=>"通过 GitHub URL 添加技能或上传 ZIP 文件以开始使用。",a0=(e={},r={})=>{if((p??r.locale??n())==="zh")return nEe(e);return aEe(e)};var iEe=()=>"Customize Team Member Role",fEe=()=>"自定义团队成员在项目的角色",l0=(e={},r={})=>{if((p??r.locale??n())==="zh")return fEe(e);return iEe(e)};var sEe=()=>"Team members already have access to all projects with their default team role. Set a custom role for this specific project here.",lEe=()=>"团队成员默认使用其团队角色访问所有项目。您可以在此为其设置独立的项目角色。",c0=(e={},r={})=>{if((p??r.locale??n())==="zh")return lEe(e);return sEe(e)};var cEe=()=>"Add Text Block",uEe=()=>"添加文本块",If=(e={},r={})=>{if((p??r.locale??n())==="zh")return uEe(e);return cEe(e)};var dEe=()=>"Add to Project",ZEe=()=>"添加到项目",u0=(e={},r={})=>{if((p??r.locale??n())==="zh")return ZEe(e);return dEe(e)};var pEe=()=>"Add to Share Links",mEe=()=>"添加到分享链接",Dm=(e={},r={})=>{if((p??r.locale??n())==="zh")return mEe(e);return pEe(e)};var hEe=()=>"Add Variable",gEe=()=>"添加变量",d0=(e={},r={})=>{if((p??r.locale??n())==="zh")return gEe(e);return hEe(e)};var MEe=(e)=>`Added ${e?.name} successfully`,xEe=(e)=>`已成功添加 ${e?.name}`,Om=(e,r={})=>{if((p??r.locale??n())==="zh")return xEe(e);return MEe(e)};var vEe=()=>"Agent Avatar",yEe=()=>"智能体头像",f0=(e={},r={})=>{if((p??r.locale??n())==="zh")return yEe(e);return vEe(e)};var _Ee=()=>"Agent created successfully",bEe=()=>"智能体创建成功",p0=(e={},r={})=>{if((p??r.locale??n())==="zh")return bEe(e);return _Ee(e)};var wEe=()=>"Agent deleted successfully",zEe=()=>"智能体删除成功",m0=(e={},r={})=>{if((p??r.locale??n())==="zh")return zEe(e);return wEe(e)};var SEe=()=>"Step-by-step execution trace of the agent's background tasks and tool calls.",LEe=()=>"智能体后台任务和工具调用的逐步执行跟踪。",h0=(e={},r={})=>{if((p??r.locale??n())==="zh")return LEe(e);return SEe(e)};var kEe=()=>"Agent Name",CEe=()=>"智能体名称",g0=(e={},r={})=>{if((p??r.locale??n())==="zh")return CEe(e);return kEe(e)};var IEe=()=>"e.g., Support Assistant",REe=()=>"例如:支持助手",A0=(e={},r={})=>{if((p??r.locale??n())==="zh")return REe(e);return IEe(e)};var PEe=()=>"Agent Sandbox",TEe=()=>"智能体沙箱",_0=(e={},r={})=>{if((p??r.locale??n())==="zh")return TEe(e);return PEe(e)};var AEe=()=>"Agent Sandbox Settings",EEe=()=>"智能体沙箱设置",y0=(e={},r={})=>{if((p??r.locale??n())==="zh")return EEe(e);return AEe(e)};var DEe=()=>"Agent Session Logs",OEe=()=>"智能体会话日志",b0=(e={},r={})=>{if((p??r.locale??n())==="zh")return OEe(e);return DEe(e)};var NEe=()=>"Agent Soul (Personality)",FEe=()=>"智能体灵魂(个性)",v0=(e={},r={})=>{if((p??r.locale??n())==="zh")return FEe(e);return NEe(e)};var jEe=()=>"Describe the agent's personality, tone, and behavior...",BEe=()=>"描述智能体的个性、语调和行为...",w0=(e={},r={})=>{if((p??r.locale??n())==="zh")return BEe(e);return jEe(e)};var UEe=()=>"Allows the agent to run terminal/shell commands in a highly isolated environment.",YEe=()=>"允许智能体在高度隔离的环境中运行终端/命令行命令。",x0=(e={},r={})=>{if((p??r.locale??n())==="zh")return YEe(e);return UEe(e)};var qEe=()=>"Sandboxed Terminal",HEe=()=>"沙箱终端",S0=(e={},r={})=>{if((p??r.locale??n())==="zh")return HEe(e);return qEe(e)};var VEe=()=>"Allows the agent to create files in Shumai, either by uploading a local file or by providing the file name and content directly.",WEe=()=>"允许智能体在 Shumai 中创建文件,既可以通过上传本地文件,也可以直接提供文件名和内容。",E0=(e={},r={})=>{if((p??r.locale??n())==="zh")return WEe(e);return VEe(e)};var GEe=()=>"Create File",KEe=()=>"创建文件",Fm=(e={},r={})=>{if((p??r.locale??n())==="zh")return KEe(e);return GEe(e)};var XEe=()=>"Allows the agent to create new folders in Shumai.",QEe=()=>"允许智能体在 Shumai 中创建新文件夹。",C0=(e={},r={})=>{if((p??r.locale??n())==="zh")return QEe(e);return XEe(e)};var JEe=()=>"Create Folder",$Ee=()=>"创建文件夹",Lm=(e={},r={})=>{if((p??r.locale??n())==="zh")return $Ee(e);return JEe(e)};var eDe=()=>"Allows the agent to upload and stack a new version of an existing file in Shumai.",tDe=()=>"允许智能体在 Shumai 中为已有文件上传并叠加新版本。",I0=(e={},r={})=>{if((p??r.locale??n())==="zh")return tDe(e);return eDe(e)};var rDe=()=>"Create Version",oDe=()=>"创建版本",Zm=(e={},r={})=>{if((p??r.locale??n())==="zh")return oDe(e);return rDe(e)};var aDe=()=>"Allows the agent to delete a single file or folder in Shumai.",nDe=()=>"允许智能体在 Shumai 中删除单个文件或文件夹。",T0=(e={},r={})=>{if((p??r.locale??n())==="zh")return nDe(e);return aDe(e)};var iDe=()=>"Delete Asset",fDe=()=>"删除资产",Bm=(e={},r={})=>{if((p??r.locale??n())==="zh")return fDe(e);return iDe(e)};var sDe=()=>"Allows the agent to generate images from prompts and reference images using configured AI image models.",lDe=()=>"允许智能体使用已配置的 AI 图片模型根据提示词和参考图片生成图片。",M0=(e={},r={})=>{if((p??r.locale??n())==="zh")return lDe(e);return sDe(e)};var cDe=()=>"Generate Image",uDe=()=>"生成图片",Um=(e={},r={})=>{if((p??r.locale??n())==="zh")return uDe(e);return cDe(e)};var dDe=()=>"Allows the agent to generate videos from text, images, or frame sequences using configured AI video models.",ZDe=()=>"允许智能体使用已配置的 AI 视频模型根据提示词、图片或首尾帧生成视频。",k0=(e={},r={})=>{if((p??r.locale??n())==="zh")return ZDe(e);return dDe(e)};var pDe=()=>"Generate Video",mDe=()=>"生成视频",zm=(e={},r={})=>{if((p??r.locale??n())==="zh")return mDe(e);return pDe(e)};var hDe=()=>"Allows the agent to list folders and browse files in Shumai.",gDe=()=>"允许智能体列出文件夹并浏览 Shumai 中的文件。",R0=(e={},r={})=>{if((p??r.locale??n())==="zh")return gDe(e);return hDe(e)};var MDe=()=>"Browse Shumai",xDe=()=>"浏览 Shumai",jm=(e={},r={})=>{if((p??r.locale??n())==="zh")return xDe(e);return MDe(e)};var vDe=()=>"Allows the agent to move one or more assets to another folder in Shumai.",yDe=()=>"允许智能体将一个或多个资产移动到 Shumai 中的其他文件夹。",P0=(e={},r={})=>{if((p??r.locale??n())==="zh")return yDe(e);return vDe(e)};var _De=()=>"Move Assets",bDe=()=>"移动资产",qm=(e={},r={})=>{if((p??r.locale??n())==="zh")return bDe(e);return _De(e)};var wDe=()=>"Allows the agent to view and inspect images, video frames, and document pages.",zDe=()=>"允许智能体查看和分析图片、视频画面和文档页面。",N0=(e={},r={})=>{if((p??r.locale??n())==="zh")return zDe(e);return wDe(e)};var SDe=()=>"Read Asset",LDe=()=>"读取资源",Hm=(e={},r={})=>{if((p??r.locale??n())==="zh")return LDe(e);return SDe(e)};var kDe=()=>"Allows the agent to load and read skill definitions to perform specialized actions.",CDe=()=>"允许智能体加载和读取技能定义以执行特定操作。",D0=(e={},r={})=>{if((p??r.locale??n())==="zh")return CDe(e);return kDe(e)};var IDe=()=>"Read Skills",RDe=()=>"读取技能",O0=(e={},r={})=>{if((p??r.locale??n())==="zh")return RDe(e);return IDe(e)};var PDe=()=>"Allows the agent to rename an existing file or folder in Shumai.",TDe=()=>"允许智能体在 Shumai 中重命名现有的文件或文件夹。",F0=(e={},r={})=>{if((p??r.locale??n())==="zh")return TDe(e);return PDe(e)};var ADe=()=>"Rename Asset",EDe=()=>"重命名资产",$m=(e={},r={})=>{if((p??r.locale??n())==="zh")return EDe(e);return ADe(e)};var DDe=()=>"Tools",ODe=()=>"工具",L0=(e={},r={})=>{if((p??r.locale??n())==="zh")return ODe(e);return DDe(e)};var NDe=()=>"Configure which tools the agent is permitted to use.",FDe=()=>"配置允许智能体使用的工具。",Z0=(e={},r={})=>{if((p??r.locale??n())==="zh")return FDe(e);return NDe(e)};var jDe=()=>"Agent Type",BDe=()=>"智能体类型",B0=(e={},r={})=>{if((p??r.locale??n())==="zh")return BDe(e);return jDe(e)};var UDe=()=>"Autofill",YDe=()=>"自动填充",Gm=(e={},r={})=>{if((p??r.locale??n())==="zh")return YDe(e);return UDe(e)};var qDe=()=>"Chat",HDe=()=>"对话",Vm=(e={},r={})=>{if((p??r.locale??n())==="zh")return HDe(e);return qDe(e)};var VDe=()=>"Embedding",WDe=()=>"嵌入",Qm=(e={},r={})=>{if((p??r.locale??n())==="zh")return WDe(e);return VDe(e)};var GDe=()=>"Agent updated successfully",KDe=()=>"智能体更新成功",Km=(e={},r={})=>{if((p??r.locale??n())==="zh")return KDe(e);return GDe(e)};var XDe=()=>"Agents",QDe=()=>"智能体",U0=(e={},r={})=>{if((p??r.locale??n())==="zh")return QDe(e);return XDe(e)};var JDe=()=>"Manage AI agents and their personalities.",$De=()=>"管理 AI 智能体及其个性。",z0=(e={},r={})=>{if((p??r.locale??n())==="zh")return $De(e);return JDe(e)};var eOe=()=>"AGENTS.md",tOe=()=>"AGENTS.md",j0=(e={},r={})=>{if((p??r.locale??n())==="zh")return tOe(e);return eOe(e)};var rOe=()=>"Loading AGENTS.md...",oOe=()=>"正在加载 AGENTS.md...",q0=(e={},r={})=>{if((p??r.locale??n())==="zh")return oOe(e);return rOe(e)};var aOe=()=>`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`,nOe=()=>`为在此项目或文件夹中工作的 AI Agent 提供指引和上下文。
71
-
72
- 当 Agent 在此处工作时,Shumai 会自动加载此文件以及向上追溯至项目根目录各级父文件夹中的 AGENTS.md 文件。
73
-
74
- 您可以用它来定义:
75
- - 此项目或文件夹包含的内容
76
- - Agent 应当遵守的规则
77
- - 术语、风格或工作流规范
78
- - 元数据和自动填充的生成方式`,H0=(e={},r={})=>{if((p??r.locale??n())==="zh")return nOe(e);return aOe(e)};var iOe=()=>"Only team owners can edit this file.",fOe=()=>"只有团队所有者可以修改此文件。",Wm=(e={},r={})=>{if((p??r.locale??n())==="zh")return fOe(e);return iOe(e)};var sOe=()=>"Failed to save",lOe=()=>"保存失败",$0=(e={},r={})=>{if((p??r.locale??n())==="zh")return lOe(e);return sOe(e)};var cOe=()=>"AI",uOe=()=>"AI",G0=(e={},r={})=>{if((p??r.locale??n())==="zh")return uOe(e);return cOe(e)};var dOe=()=>"AI Agents",ZOe=()=>"AI 智能体",V0=(e={},r={})=>{if((p??r.locale??n())==="zh")return ZOe(e);return dOe(e)};var pOe=()=>"AI Providers",mOe=()=>"AI 提供商",Q0=(e={},r={})=>{if((p??r.locale??n())==="zh")return mOe(e);return pOe(e)};var hOe=()=>"AI Token Usage",gOe=()=>"AI Token 用量",K0=(e={},r={})=>{if((p??r.locale??n())==="zh")return gOe(e);return hOe(e)};var MOe=()=>"Monitor AI token consumption and estimated costs for your team and members.",xOe=()=>"查看并监控团队及成员的 AI Token 消耗与预估费用。",W0=(e={},r={})=>{if((p??r.locale??n())==="zh")return xOe(e);return MOe(e)};var vOe=()=>"All",yOe=()=>"全部",_Oe=(e={},r={})=>{if((p??r.locale??n())==="zh")return yOe(e);return vOe(e)};var bOe=()=>"All Collections",wOe=()=>"所有媒体合集",Y0=(e={},r={})=>{if((p??r.locale??n())==="zh")return wOe(e);return bOe(e)};var zOe=(e)=>`All Collections (${e?.count})`,SOe=(e)=>`所有媒体合集 (${e?.count})`,LOe=(e,r={})=>{if((p??r.locale??n())==="zh")return SOe(e);return zOe(e)};var kOe=()=>"All comments",COe=()=>"所有评论",Tf=(e={},r={})=>{if((p??r.locale??n())==="zh")return COe(e);return kOe(e)};var IOe=()=>"All",ROe=()=>"全部",J0=(e={},r={})=>{if((p??r.locale??n())==="zh")return ROe(e);return IOe(e)};var POe=()=>"All Projects",TOe=()=>"所有项目",AOe=(e={},r={})=>{if((p??r.locale??n())==="zh")return TOe(e);return POe(e)};var EOe=()=>"All Share Links",DOe=()=>"所有分享链接",X0=(e={},r={})=>{if((p??r.locale??n())==="zh")return DOe(e);return EOe(e)};var OOe=(e)=>`All Share Links (${e?.count})`,NOe=(e)=>`所有分享链接 (${e?.count})`,FOe=(e,r={})=>{if((p??r.locale??n())==="zh")return NOe(e);return OOe(e)};var jOe=()=>"All Tasks",BOe=()=>"所有任务",Ym=(e={},r={})=>{if((p??r.locale??n())==="zh")return BOe(e);return jOe(e)};var UOe=()=>"Allow download",YOe=()=>"允许下载",e_=(e={},r={})=>{if((p??r.locale??n())==="zh")return YOe(e);return UOe(e)};var qOe=()=>"Visitors can download files from this share link",HOe=()=>"访客可以从该分享链接下载文件",t_=(e={},r={})=>{if((p??r.locale??n())==="zh")return HOe(e);return qOe(e)};var VOe=()=>"Allowed Domains",WOe=()=>"允许的域名",r_=(e={},r={})=>{if((p??r.locale??n())==="zh")return WOe(e);return VOe(e)};var GOe=()=>"Already have an account? ",KOe=()=>"已有账户?",gle=(e={},r={})=>{if((p??r.locale??n())==="zh")return KOe(e);return GOe(e)};var XOe=()=>"An unknown error occurred",QOe=()=>"发生了未知错误",ud=(e={},r={})=>{if((p??r.locale??n())==="zh")return QOe(e);return XOe(e)};var JOe=()=>"API Key",$Oe=()=>"API 密钥",dd=(e={},r={})=>{if((p??r.locale??n())==="zh")return $Oe(e);return JOe(e)};var eNe=()=>"You can provide a literal value (e.g. sk-...) or an Environment variable name (e.g. MY_API_KEY).",tNe=()=>"您可以提供一个字面值(例如 sk-...)或环境变量名称(例如 MY_API_KEY)。",Jm=(e={},r={})=>{if((p??r.locale??n())==="zh")return tNe(e);return eNe(e)};var rNe=(e)=>`Enter an API key or an environment variable name (e.g. ${e?.envKey}). Leave empty to restore default environment variable.`,oNe=(e)=>`输入 API 密钥或环境变量名(例如 ${e?.envKey})。留空将恢复默认环境变量。`,n_=(e,r={})=>{if((p??r.locale??n())==="zh")return oNe(e);return rNe(e)};var aNe=(e)=>`Leave empty to use default env var (${e?.envKey})`,nNe=(e)=>`留空以使用默认环境变量 (${e?.envKey})`,o_=(e,r={})=>{if((p??r.locale??n())==="zh")return nNe(e);return aNe(e)};var iNe=()=>"Enter API Key or Environment Variable",fNe=()=>"输入 API 密钥或环境变量",Xm=(e={},r={})=>{if((p??r.locale??n())==="zh")return fNe(e);return iNe(e)};var sNe=()=>"API token generated successfully",lNe=()=>"API 令牌生成成功",s_=(e={},r={})=>{if((p??r.locale??n())==="zh")return lNe(e);return sNe(e)};var cNe=()=>"API token revoked successfully",uNe=()=>"API 令牌已成功撤销",i_=(e={},r={})=>{if((p??r.locale??n())==="zh")return uNe(e);return cNe(e)};var dNe=()=>"API Tokens",ZNe=()=>"API 令牌",eh=(e={},r={})=>{if((p??r.locale??n())==="zh")return ZNe(e);return dNe(e)};var pNe=()=>"Generate and manage API tokens. These tokens allow you or your agents to run terminal commands via shumai-cli.",mNe=()=>"生成和管理 API 令牌。这些令牌允许您或您的智能体通过 shumai-cli 运行终端命令。",a_=(e={},r={})=>{if((p??r.locale??n())==="zh")return mNe(e);return pNe(e)};var hNe=()=>"Appearance",gNe=()=>"外观",Mf=(e={},r={})=>{if((p??r.locale??n())==="zh")return gNe(e);return hNe(e)};var MNe=()=>"Appearance",xNe=()=>"外观",th=(e={},r={})=>{if((p??r.locale??n())==="zh")return xNe(e);return MNe(e)};var vNe=()=>"Manage visual appearance and interface display settings for your team.",yNe=()=>"管理团队的视觉外观与界面显示设置。",rh=(e={},r={})=>{if((p??r.locale??n())==="zh")return yNe(e);return vNe(e)};var _Ne=()=>"Appearance settings updated",bNe=()=>"外观设置已更新",l_=(e={},r={})=>{if((p??r.locale??n())==="zh")return bNe(e);return _Ne(e)};var wNe=()=>"Apply and Close",zNe=()=>"应用并关闭",c_=(e={},r={})=>{if((p??r.locale??n())==="zh")return zNe(e);return wNe(e)};var SNe=()=>"Approve",LNe=()=>"批准",u_=(e={},r={})=>{if((p??r.locale??n())==="zh")return LNe(e);return SNe(e)};var kNe=()=>"Are you absolutely sure?",CNe=()=>"你确定要这样做吗?",fd=(e={},r={})=>{if((p??r.locale??n())==="zh")return CNe(e);return kNe(e)};var INe=()=>"Are you absolutely sure?",RNe=()=>"确定要执行此操作吗?",d_=(e={},r={})=>{if((p??r.locale??n())==="zh")return RNe(e);return INe(e)};var PNe=()=>"Ascending",TNe=()=>"升序",kf=(e={},r={})=>{if((p??r.locale??n())==="zh")return TNe(e);return PNe(e)};var ANe=()=>"Asset linked to task",ENe=()=>"资产已关联到任务",Mle=(e={},r={})=>{if((p??r.locale??n())==="zh")return ENe(e);return ANe(e)};var DNe=()=>"Asset unlinked from task",ONe=()=>"资产已取消关联",xle=(e={},r={})=>{if((p??r.locale??n())==="zh")return ONe(e);return DNe(e)};var NNe=()=>"Assets",FNe=()=>"资源",f_=(e={},r={})=>{if((p??r.locale??n())==="zh")return FNe(e);return NNe(e)};var jNe=()=>"Assets added to context:",BNe=()=>"已添加至上下文的资源:",p_=(e={},r={})=>{if((p??r.locale??n())==="zh")return BNe(e);return jNe(e)};var UNe=()=>"Assets & Statuses",YNe=()=>"素材与状态",m_=(e={},r={})=>{if((p??r.locale??n())==="zh")return YNe(e);return UNe(e)};var qNe=()=>"Manage notifications related to file uploads and metadata field status updates.",HNe=()=>"管理与文件上传和元数据字段状态更新相关的通知。",h_=(e={},r={})=>{if((p??r.locale??n())==="zh")return HNe(e);return qNe(e)};var VNe=()=>"Assignee",WNe=()=>"负责人",nh=(e={},r={})=>{if((p??r.locale??n())==="zh")return WNe(e);return VNe(e)};var GNe=()=>"@Mentions",KNe=()=>"@提及",g_=(e={},r={})=>{if((p??r.locale??n())==="zh")return KNe(e);return GNe(e)};var XNe=()=>"Attach files",QNe=()=>"附加文件",A_=(e={},r={})=>{if((p??r.locale??n())==="zh")return QNe(e);return XNe(e)};var JNe=()=>"Attachments",$Ne=()=>"附件",__=(e={},r={})=>{if((p??r.locale??n())==="zh")return $Ne(e);return JNe(e)};var e5e=()=>"Audit Logs",t5e=()=>"审计日志",Rf=(e={},r={})=>{if((p??r.locale??n())==="zh")return t5e(e);return e5e(e)};var r5e=()=>"View and monitor all audit logs of team actions.",o5e=()=>"查看并监控团队操作的所有审计日志。",y_=(e={},r={})=>{if((p??r.locale??n())==="zh")return o5e(e);return r5e(e)};var a5e=()=>"Join our community of developers and designers.",n5e=()=>"加入我们的开发者和设计师社区。",i5e=(e={},r={})=>{if((p??r.locale??n())==="zh")return n5e(e);return a5e(e)};var f5e=()=>"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.",s5e=()=>"上传您的创意资产,添加各种类型的自定义元数据,直接在图片或视频上绘制标注和添加评论,——这一切都在Shumai,一个为创作者打造的一站式平台上完成。",l5e=(e={},r={})=>{if((p??r.locale??n())==="zh")return s5e(e);return f5e(e)};var c5e=()=>"Custom metadata schemas & drawing canvas reviews",u5e=()=>"自定义元数据模式 & 画布标注审阅",d5e=(e={},r={})=>{if((p??r.locale??n())==="zh")return u5e(e);return c5e(e)};var Z5e=()=>"Frictionless team workspaces & secure sharing",p5e=()=>"无缝团队工作区 & 安全分享",m5e=(e={},r={})=>{if((p??r.locale??n())==="zh")return p5e(e);return Z5e(e)};var h5e=()=>"Instant asset uploads & high-fidelity media players",g5e=()=>"即时资产上传 & 高保真媒体播放器",M5e=(e={},r={})=>{if((p??r.locale??n())==="zh")return g5e(e);return h5e(e)};var x5e=()=>"One workspace for all your creative assets.",v5e=()=>"一站式创意资产管理协作平台。",y5e=(e={},r={})=>{if((p??r.locale??n())==="zh")return v5e(e);return x5e(e)};var _5e=()=>"Autofill Agent",b5e=()=>"自动填充智能体",b_=(e={},r={})=>{if((p??r.locale??n())==="zh")return b5e(e);return _5e(e)};var w5e=()=>"Autofill Source",z5e=()=>"自动填充来源",pd=(e={},r={})=>{if((p??r.locale??n())==="zh")return z5e(e);return w5e(e)};var S5e=()=>"Content",L5e=()=>"文件内容",Fc=(e={},r={})=>{if((p??r.locale??n())==="zh")return L5e(e);return S5e(e)};var k5e=()=>"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.",C5e=()=>"设置为“文件内容”的字段将在文件上传后,由 AI 自动分析并从文件的视觉或文本内容中提取填写。注意:需要团队 Owner 先在设置中创建并启用“Autofill Agent”(自动填充 Agent),上传后才会触发内容提取。",v_=(e={},r={})=>{if((p??r.locale??n())==="zh")return C5e(e);return k5e(e)};var I5e=()=>"Example: Image subject category, visual color palette, document summary, auto-detected language.",R5e=()=>"示例:图片类别、主色调、文档摘要、自动识别语言。",w_=(e={},r={})=>{if((p??r.locale??n())==="zh")return R5e(e);return I5e(e)};var P5e=()=>"Creation Context",T5e=()=>"创建上下文",Lc=(e={},r={})=>{if((p??r.locale??n())==="zh")return T5e(e);return P5e(e)};var A5e=()=>"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.",E5e=()=>"设置为“创建上下文”的字段用于记录生成资产时的上下文信息(如 Prompt、模型或供应商)。若文件由 Shumai AI Agent 生成/创建,Agent 会在创建时刻自动填入这些字段(无需启用 Autofill Agent);若由真实用户手动上传,则需用户手动填写,不会自动提取。",x_=(e={},r={})=>{if((p??r.locale??n())==="zh")return E5e(e);return A5e(e)};var D5e=()=>"Example: Generation prompt, AI model name, LLM provider, sampler seed parameters.",O5e=()=>"示例:生成 Prompt、AI 模型名称、LLM 供应商、采样种子参数。",S_=(e={},r={})=>{if((p??r.locale??n())==="zh")return O5e(e);return D5e(e)};var N5e=()=>"Understand how each autofill source option works and when to use it.",F5e=()=>"了解每种自动填充来源的工作方式及适用场景。",E_=(e={},r={})=>{if((p??r.locale??n())==="zh")return F5e(e);return N5e(e)};var j5e=()=>"Autofill Source Guide",B5e=()=>"自动填充来源说明",Pf=(e={},r={})=>{if((p??r.locale??n())==="zh")return B5e(e);return j5e(e)};var U5e=()=>"None",Y5e=()=>"无",Zc=(e={},r={})=>{if((p??r.locale??n())==="zh")return Y5e(e);return U5e(e)};var q5e=()=>"Metadata fields marked as 'None' will not be automatically populated by AI. They are meant for manual user entry.",H5e=()=>"设置为“无”的字段不会由 AI 自动填充,需由用户手动填写。",C_=(e={},r={})=>{if((p??r.locale??n())==="zh")return H5e(e);return q5e(e)};var V5e=()=>"Example: Internal tags, manual notes, status tracking flags.",W5e=()=>"示例:内部标签、手动备注、状态标记。",I_=(e={},r={})=>{if((p??r.locale??n())==="zh")return W5e(e);return V5e(e)};var G5e=()=>"Avatar",K5e=()=>"头像",T_=(e={},r={})=>{if((p??r.locale??n())==="zh")return K5e(e);return G5e(e)};var X5e=()=>"Avatar removed successfully",Q5e=()=>"头像已移除",M_=(e={},r={})=>{if((p??r.locale??n())==="zh")return Q5e(e);return X5e(e)};var J5e=()=>"Avatar Source",$5e=()=>"头像来源",k_=(e={},r={})=>{if((p??r.locale??n())==="zh")return $5e(e);return J5e(e)};var e4e=()=>"Avatar updated successfully",t4e=()=>"头像更新成功",R_=(e={},r={})=>{if((p??r.locale??n())==="zh")return t4e(e);return e4e(e)};var r4e=()=>"Back to Chat",o4e=()=>"返回聊天",P_=(e={},r={})=>{if((p??r.locale??n())==="zh")return o4e(e);return r4e(e)};var a4e=()=>"Base URL (Optional)",n4e=()=>"基础 URL(可选)",oh=(e={},r={})=>{if((p??r.locale??n())==="zh")return n4e(e);return a4e(e)};var i4e=()=>"Bash Match Wildcard",f4e=()=>"Bash 命令通配符",N_=(e={},r={})=>{if((p??r.locale??n())==="zh")return f4e(e);return i4e(e)};var s4e=()=>"e.g. * or npm*",l4e=()=>"例如 * 或 npm*",D_=(e={},r={})=>{if((p??r.locale??n())==="zh")return l4e(e);return s4e(e)};var c4e=()=>"Best match",u4e=()=>"最佳匹配",O_=(e={},r={})=>{if((p??r.locale??n())==="zh")return u4e(e);return c4e(e)};var d4e=()=>"Generates a single optimal resolution matching the source quality.",Z4e=()=>"生成与源质量匹配的单一最优分辨率。",F_=(e={},r={})=>{if((p??r.locale??n())==="zh")return Z4e(e);return d4e(e)};var p4e=()=>"Cache Read Cost (1M)",m4e=()=>"缓存读取成本(每百万)",L_=(e={},r={})=>{if((p??r.locale??n())==="zh")return m4e(e);return p4e(e)};var h4e=()=>"Cache Read Tokens",g4e=()=>"缓存读取 Token",sh=(e={},r={})=>{if((p??r.locale??n())==="zh")return g4e(e);return h4e(e)};var M4e=()=>"Cache Write Cost (1M)",x4e=()=>"缓存写入成本(每百万)",Z_=(e={},r={})=>{if((p??r.locale??n())==="zh")return x4e(e);return M4e(e)};var v4e=()=>"Calling Tool:",y4e=()=>"调用工具:",Nf=(e={},r={})=>{if((p??r.locale??n())==="zh")return y4e(e);return v4e(e)};var _4e=()=>"Cancel",b4e=()=>"取消",De=(e={},r={})=>{if((p??r.locale??n())==="zh")return b4e(e);return _4e(e)};var w4e=()=>"Only team owners, task reporters, or assignees can change task status",z4e=()=>"只有负责人、报告人或被指派人可以更改任务状态",B_=(e={},r={})=>{if((p??r.locale??n())==="zh")return z4e(e);return w4e(e)};var S4e=()=>"Change",L4e=()=>"更改",U_=(e={},r={})=>{if((p??r.locale??n())==="zh")return L4e(e);return S4e(e)};var k4e=()=>"Change time format",C4e=()=>"更改时间格式",z_=(e={},r={})=>{if((p??r.locale??n())==="zh")return C4e(e);return k4e(e)};var I4e=()=>"Chat Agents",R4e=()=>"对话智能体",j_=(e={},r={})=>{if((p??r.locale??n())==="zh")return R4e(e);return I4e(e)};var P4e=()=>"Drag and drop files or folders here to add them to chatbot context",T4e=()=>"拖拽文件或文件夹到此处以添加到聊天机器人上下文",ih=(e={},r={})=>{if((p??r.locale??n())==="zh")return T4e(e);return P4e(e)};var A4e=()=>"简体中文 (Chinese)",E4e=()=>"简体中文 (Chinese)",q_=(e={},r={})=>{if((p??r.locale??n())==="zh")return E4e(e);return A4e(e)};var D4e=()=>"Clear Custom Key",O4e=()=>"清除自定义密钥",H_=(e={},r={})=>{if((p??r.locale??n())==="zh")return O4e(e);return D4e(e)};var N4e=()=>"Clear",F4e=()=>"清除",$_=(e={},r={})=>{if((p??r.locale??n())==="zh")return F4e(e);return N4e(e)};var j4e=()=>"Clear search",B4e=()=>"清除搜索",G_=(e={},r={})=>{if((p??r.locale??n())==="zh")return B4e(e);return j4e(e)};var U4e=()=>"Click to copy link",Y4e=()=>"点击复制链接",V_=(e={},r={})=>{if((p??r.locale??n())==="zh")return Y4e(e);return U4e(e)};var q4e=()=>"Close",H4e=()=>"关闭",Bc=(e={},r={})=>{if((p??r.locale??n())==="zh")return H4e(e);return q4e(e)};var V4e=()=>"collection",W4e=()=>"媒体合集",G4e=(e={},r={})=>{if((p??r.locale??n())==="zh")return W4e(e);return V4e(e)};var K4e=()=>"Collection created",X4e=()=>"媒体合集已创建",Q4e=(e={},r={})=>{if((p??r.locale??n())==="zh")return X4e(e);return K4e(e)};var J4e=()=>"Collection deleted",$4e=()=>"媒体合集已删除",eFe=(e={},r={})=>{if((p??r.locale??n())==="zh")return $4e(e);return J4e(e)};var tFe=()=>"Collection Name",rFe=()=>"媒体合集名称",Q_=(e={},r={})=>{if((p??r.locale??n())==="zh")return rFe(e);return tFe(e)};var oFe=()=>"Collection renamed",aFe=()=>"媒体合集已重命名",nFe=(e={},r={})=>{if((p??r.locale??n())==="zh")return aFe(e);return oFe(e)};var iFe=()=>"Collection saved",fFe=()=>"媒体合集已保存",K_=(e={},r={})=>{if((p??r.locale??n())==="zh")return fFe(e);return iFe(e)};var sFe=()=>"Collections",lFe=()=>"媒体合集",cFe=(e={},r={})=>{if((p??r.locale??n())==="zh")return lFe(e);return sFe(e)};var uFe=()=>"Color",dFe=()=>"颜色",W_=(e={},r={})=>{if((p??r.locale??n())==="zh")return dFe(e);return uFe(e)};var ZFe=()=>"Write a comment...",pFe=()=>"写下评论...",mFe=(e={},r={})=>{if((p??r.locale??n())==="zh")return pFe(e);return ZFe(e)};var hFe=()=>"Comment Replies",gFe=()=>"评论回复",Y_=(e={},r={})=>{if((p??r.locale??n())==="zh")return gFe(e);return hFe(e)};var MFe=()=>"Comments",xFe=()=>"评论",md=(e={},r={})=>{if((p??r.locale??n())==="zh")return xFe(e);return MFe(e)};var vFe=()=>"Comments & Replies",yFe=()=>"评论与回复",J_=(e={},r={})=>{if((p??r.locale??n())==="zh")return yFe(e);return vFe(e)};var _Fe=()=>"Control notification preferences when other users comment on assets you collaborate on or mention you.",bFe=()=>"控制其他用户对您协作的素材评论或提及您时的通知偏好。",X_=(e={},r={})=>{if((p??r.locale??n())==="zh")return bFe(e);return _Fe(e)};var wFe=()=>"Compare Versions",zFe=()=>"对比版本",SFe=(e={},r={})=>{if((p??r.locale??n())==="zh")return zFe(e);return wFe(e)};var LFe=()=>"Configure your AI agent's personality and capabilities.",kFe=()=>"配置 AI 智能体的个性和功能。",ey=(e={},r={})=>{if((p??r.locale??n())==="zh")return kFe(e);return LFe(e)};var CFe=()=>"Configure your new project workspace and appearance.",IFe=()=>"配置您的新项目工作区和外观。",ty=(e={},r={})=>{if((p??r.locale??n())==="zh")return IFe(e);return CFe(e)};var RFe=()=>"Configure authentication and model details for your AI provider.",PFe=()=>"配置 AI 提供商的身份验证和模型详情。",ah=(e={},r={})=>{if((p??r.locale??n())==="zh")return PFe(e);return RFe(e)};var TFe=(e)=>`Configure Skill: ${e?.name}`,AFe=(e)=>`配置技能:${e?.name}`,ry=(e,r={})=>{if((p??r.locale??n())==="zh")return AFe(e);return TFe(e)};var EFe=()=>"Configured AI Providers",DFe=()=>"已配置的 AI 提供商",ny=(e={},r={})=>{if((p??r.locale??n())==="zh")return DFe(e);return EFe(e)};var OFe=()=>"Confirm",NFe=()=>"确认",na=(e={},r={})=>{if((p??r.locale??n())==="zh")return NFe(e);return OFe(e)};var FFe=()=>"Are you sure you want to delete this field?",jFe=()=>"确定要删除此字段吗?",oy=(e={},r={})=>{if((p??r.locale??n())==="zh")return jFe(e);return FFe(e)};var BFe=()=>"Confirm Download",UFe=()=>"确认下载",lh=(e={},r={})=>{if((p??r.locale??n())==="zh")return UFe(e);return BFe(e)};var YFe=()=>"Confirm Password",qFe=()=>"确认密码",sy=(e={},r={})=>{if((p??r.locale??n())==="zh")return qFe(e);return YFe(e)};var HFe=()=>"Confirm new password",VFe=()=>"确认新密码",iy=(e={},r={})=>{if((p??r.locale??n())==="zh")return VFe(e);return HFe(e)};var WFe=()=>"Contains drawing annotations",GFe=()=>"包含标注绘图",ay=(e={},r={})=>{if((p??r.locale??n())==="zh")return GFe(e);return WFe(e)};var KFe=()=>"Context Window (tokens)",XFe=()=>"上下文窗口(令牌数)",ly=(e={},r={})=>{if((p??r.locale??n())==="zh")return XFe(e);return KFe(e)};var QFe=()=>"Copied!",JFe=()=>"已复制!",cy=(e={},r={})=>{if((p??r.locale??n())==="zh")return JFe(e);return QFe(e)};var $Fe=()=>"Copied API token to clipboard",e3e=()=>"已将 API 令牌复制到剪贴板",uy=(e={},r={})=>{if((p??r.locale??n())==="zh")return e3e(e);return $Fe(e)};var t3e=()=>"Copied name and download link to clipboard",r3e=()=>"已复制名称和下载链接到剪贴板",dy=(e={},r={})=>{if((p??r.locale??n())==="zh")return r3e(e);return t3e(e)};var o3e=()=>"Copied to clipboard",a3e=()=>"已复制到剪贴板",fy=(e={},r={})=>{if((p??r.locale??n())==="zh")return a3e(e);return o3e(e)};var n3e=()=>"Copy",i3e=()=>"复制",py=(e={},r={})=>{if((p??r.locale??n())==="zh")return i3e(e);return n3e(e)};var f3e=()=>"Copy optimized image to clipboard",s3e=()=>"复制优化图片到剪贴板",my=(e={},r={})=>{if((p??r.locale??n())==="zh")return s3e(e);return f3e(e)};var l3e=()=>"Copy Link",c3e=()=>"复制链接",hy=(e={},r={})=>{if((p??r.locale??n())==="zh")return c3e(e);return l3e(e)};var u3e=()=>"Copy name and download link",d3e=()=>"复制名称和下载链接",Df=(e={},r={})=>{if((p??r.locale??n())==="zh")return d3e(e);return u3e(e)};var Z3e=()=>"Copy to",p3e=()=>"复制到",ch=(e={},r={})=>{if((p??r.locale??n())==="zh")return p3e(e);return Z3e(e)};var m3e=()=>"Cost",h3e=()=>"费用",uh=(e={},r={})=>{if((p??r.locale??n())==="zh")return h3e(e);return m3e(e)};var g3e=(e)=>`$${e?.input}/1M in · $${e?.output}/1M out`,M3e=(e)=>`$${e?.input}/1M 输入 · $${e?.output}/1M 输出`,dh=(e,r={})=>{if((p??r.locale??n())==="zh")return M3e(e);return g3e(e)};var x3e=()=>"10000+ Assets",v3e=()=>"10000+ 资源",gy=(e={},r={})=>{if((p??r.locale??n())==="zh")return v3e(e);return x3e(e)};var y3e=()=>"10000+ Folders",_3e=()=>"10000+ 文件夹",Ay=(e={},r={})=>{if((p??r.locale??n())==="zh")return _3e(e);return y3e(e)};var b3e=()=>"Cover Preview",w3e=()=>"封面预览",_y=(e={},r={})=>{if((p??r.locale??n())==="zh")return w3e(e);return b3e(e)};var z3e=()=>"Create",S3e=()=>"创建",Uc=(e={},r={})=>{if((p??r.locale??n())==="zh")return S3e(e);return z3e(e)};var L3e=()=>"Create Account",k3e=()=>"创建账户",C3e=(e={},r={})=>{if((p??r.locale??n())==="zh")return k3e(e);return L3e(e)};var I3e=()=>"Create Agent",R3e=()=>"创建智能体",yy=(e={},r={})=>{if((p??r.locale??n())==="zh")return R3e(e);return I3e(e)};var P3e=()=>"Create your first goal to organize related tasks.",T3e=()=>"创建第一个目标来组织相关任务。",by=(e={},r={})=>{if((p??r.locale??n())==="zh")return T3e(e);return P3e(e)};var A3e=()=>"Create Goal",E3e=()=>"创建目标",vy=(e={},r={})=>{if((p??r.locale??n())==="zh")return E3e(e);return A3e(e)};var D3e=()=>"Create New Project",O3e=()=>"创建新项目",wy=(e={},r={})=>{if((p??r.locale??n())==="zh")return O3e(e);return D3e(e)};var N3e=()=>"Create New Template",F3e=()=>"创建新模板",fh=(e={},r={})=>{if((p??r.locale??n())==="zh")return F3e(e);return N3e(e)};var j3e=()=>"Create new version",B3e=()=>"创建新版本",xy=(e={},r={})=>{if((p??r.locale??n())==="zh")return B3e(e);return j3e(e)};var U3e=()=>"Create one now",Y3e=()=>"立即创建",Sy=(e={},r={})=>{if((p??r.locale??n())==="zh")return Y3e(e);return U3e(e)};var q3e=()=>"Create Project",H3e=()=>"创建项目",Of=(e={},r={})=>{if((p??r.locale??n())==="zh")return H3e(e);return q3e(e)};var V3e=()=>"Create Quota Rule",W3e=()=>"创建配额规则",Ey=(e={},r={})=>{if((p??r.locale??n())==="zh")return W3e(e);return V3e(e)};var G3e=()=>"Set up a new resource quota to prevent unexpected usage.",K3e=()=>"设置新的资源配额以防止意外的超量使用。",Cy=(e={},r={})=>{if((p??r.locale??n())==="zh")return K3e(e);return G3e(e)};var X3e=()=>"Create Share Link",Q3e=()=>"创建分享链接",ph=(e={},r={})=>{if((p??r.locale??n())==="zh")return Q3e(e);return X3e(e)};var J3e=()=>"Create Task",$3e=()=>"创建任务",Ff=(e={},r={})=>{if((p??r.locale??n())==="zh")return $3e(e);return J3e(e)};var eje=()=>"Create Time",tje=()=>"创建时间",Iy=(e={},r={})=>{if((p??r.locale??n())==="zh")return tje(e);return eje(e)};var rje=(e)=>`Create ${e?.type} Agent`,oje=(e)=>`创建${e?.type}智能体`,Ty=(e,r={})=>{if((p??r.locale??n())==="zh")return oje(e);return rje(e)};var aje=()=>"Created At",nje=()=>"创建时间",My=(e={},r={})=>{if((p??r.locale??n())==="zh")return nje(e);return aje(e)};var ije=()=>"Created by Agent",fje=()=>"由智能体创建",ky=(e={},r={})=>{if((p??r.locale??n())==="zh")return fje(e);return ije(e)};var sje=(e)=>`${e?.time} by ${e?.author}`,lje=(e)=>`${e?.time} 由 ${e?.author} 创建`,Ry=(e,r={})=>{if((p??r.locale??n())==="zh")return lje(e);return sje(e)};var cje=()=>"Created Date",uje=()=>"创建日期",Lf=(e={},r={})=>{if((p??r.locale??n())==="zh")return uje(e);return cje(e)};var dje=()=>"Creating account...",Zje=()=>"创建账户中...",pje=(e={},r={})=>{if((p??r.locale??n())==="zh")return Zje(e);return dje(e)};var mje=()=>"Creator",hje=()=>"创建者",zc=(e={},r={})=>{if((p??r.locale??n())==="zh")return hje(e);return mje(e)};var gje=()=>"Current Custom Avatar",Mje=()=>"当前自定义头像",Py=(e={},r={})=>{if((p??r.locale??n())==="zh")return Mje(e);return gje(e)};var xje=()=>"Current Project",vje=()=>"当前项目",yje=(e={},r={})=>{if((p??r.locale??n())==="zh")return vje(e);return xje(e)};var _je=()=>"Custom Fields",bje=()=>"自定义字段",Ny=(e={},r={})=>{if((p??r.locale??n())==="zh")return bje(e);return _je(e)};var wje=()=>"Custom Model...",zje=()=>"自定义模型...",Dy=(e={},r={})=>{if((p??r.locale??n())==="zh")return zje(e);return wje(e)};var Sje=()=>"Dark",Lje=()=>"深色",kje=(e={},r={})=>{if((p??r.locale??n())==="zh")return Lje(e);return Sje(e)};var Cje=()=>"Dashboard",Ije=()=>"仪表板",mh=(e={},r={})=>{if((p??r.locale??n())==="zh")return Ije(e);return Cje(e)};var Rje=()=>"MMMM d, yyyy",Pje=()=>"yyyy年M月d日",Tje=(e={},r={})=>{if((p??r.locale??n())==="zh")return Pje(e);return Rje(e)};var Aje=()=>"One month ago",Eje=()=>"一个月前",Oy=(e={},r={})=>{if((p??r.locale??n())==="zh")return Eje(e);return Aje(e)};var Dje=()=>"One month from now",Oje=()=>"一个月后",Fy=(e={},r={})=>{if((p??r.locale??n())==="zh")return Oje(e);return Dje(e)};var Nje=()=>"One week ago",Fje=()=>"一周前",Ly=(e={},r={})=>{if((p??r.locale??n())==="zh")return Fje(e);return Nje(e)};var jje=()=>"One week from now",Bje=()=>"一周后",Zy=(e={},r={})=>{if((p??r.locale??n())==="zh")return Bje(e);return jje(e)};var Uje=()=>"Today",Yje=()=>"今天",By=(e={},r={})=>{if((p??r.locale??n())==="zh")return Yje(e);return Uje(e)};var qje=()=>"Tomorrow",Hje=()=>"明天",Uy=(e={},r={})=>{if((p??r.locale??n())==="zh")return Hje(e);return qje(e)};var Vje=()=>"Date type",Wje=()=>"日期类型",zy=(e={},r={})=>{if((p??r.locale??n())==="zh")return Wje(e);return Vje(e)};var Gje=()=>"Yesterday",Kje=()=>"昨天",jy=(e={},r={})=>{if((p??r.locale??n())==="zh")return Kje(e);return Gje(e)};var Xje=(e)=>`${e?.count}d`,Qje=(e)=>`${e?.count}天`,hh=(e,r={})=>{if((p??r.locale??n())==="zh")return Qje(e);return Xje(e)};var Jje=(e)=>`Default: ${e?.envKey}`,$je=(e)=>`默认:${e?.envKey}`,qy=(e,r={})=>{if((p??r.locale??n())==="zh")return $je(e);return Jje(e)};var eBe=()=>"Default Value",tBe=()=>"默认值",Hy=(e={},r={})=>{if((p??r.locale??n())==="zh")return tBe(e);return eBe(e)};var rBe=()=>"Delete",oBe=()=>"删除",ct=(e={},r={})=>{if((p??r.locale??n())==="zh")return oBe(e);return rBe(e)};var aBe=()=>"Delete Agent",nBe=()=>"删除智能体",$y=(e={},r={})=>{if((p??r.locale??n())==="zh")return nBe(e);return aBe(e)};var iBe=(e)=>`This action cannot be undone. This will permanently delete the agent "${e?.name}" and remove all its data from our servers.`,fBe=(e)=>`此操作无法撤销。这将永久删除智能体 "${e?.name}" 并从服务器上删除其所有数据。`,Gy=(e,r={})=>{if((p??r.locale??n())==="zh")return fBe(e);return iBe(e)};var sBe=()=>"Deleted items can be recovered for 30 days before being permanently deleted.",lBe=()=>"已删除的项目可在 30 天内恢复,之后将被永久删除。",jc=(e={},r={})=>{if((p??r.locale??n())==="zh")return lBe(e);return sBe(e)};var cBe=()=>"Delete Asset?",uBe=()=>"删除资源?",qc=(e={},r={})=>{if((p??r.locale??n())==="zh")return uBe(e);return cBe(e)};var dBe=()=>"Delete Collection?",ZBe=()=>"删除媒体合集?",pBe=(e={},r={})=>{if((p??r.locale??n())==="zh")return ZBe(e);return dBe(e)};var mBe=()=>"Delete Comment?",hBe=()=>"删除评论?",gh=(e={},r={})=>{if((p??r.locale??n())==="zh")return hBe(e);return mBe(e)};var gBe=()=>"Are you sure you want to delete this comment? This action cannot be undone.",MBe=()=>"您确定要删除这条评论吗?此操作将无法撤回。",Ah=(e={},r={})=>{if((p??r.locale??n())==="zh")return MBe(e);return gBe(e)};var xBe=(e)=>`Are you sure you want to delete this ${e?.type}? This action cannot be undone.`,vBe=(e)=>`确定要删除此${e?.type}吗?此操作无法撤销。`,yBe=(e,r={})=>{if((p??r.locale??n())==="zh")return vBe(e);return xBe(e)};var _Be=()=>"Delete field",bBe=()=>"删除字段",Vy=(e={},r={})=>{if((p??r.locale??n())==="zh")return bBe(e);return _Be(e)};var wBe=()=>"Delete Folder?",zBe=()=>"删除文件夹?",SBe=(e={},r={})=>{if((p??r.locale??n())==="zh")return zBe(e);return wBe(e)};var LBe=()=>"Delete Goal",kBe=()=>"删除目标",Qy=(e={},r={})=>{if((p??r.locale??n())==="zh")return kBe(e);return LBe(e)};var CBe=(e)=>`Are you sure you want to delete goal "${e?.title}"? Associated tasks will remain but will no longer be linked to this goal.`,IBe=(e)=>`确定要删除目标"${e?.title}"吗?关联的任务仍将保留,但不再关联此目标。`,Ky=(e,r={})=>{if((p??r.locale??n())==="zh")return IBe(e);return CBe(e)};var RBe=()=>"Delete MCP Server",PBe=()=>"删除 MCP 服务",Wy=(e={},r={})=>{if((p??r.locale??n())==="zh")return PBe(e);return RBe(e)};var TBe=(e)=>`This action cannot be undone. This will permanently delete the MCP server "${e?.name}".`,ABe=(e)=>`此操作无法撤销。这将永久删除 MCP 服务 "${e?.name}"。`,Yy=(e,r={})=>{if((p??r.locale??n())==="zh")return ABe(e);return TBe(e)};var EBe=(e)=>`This action cannot be undone. This will permanently delete the model "${e?.name}".`,DBe=(e)=>`此操作无法撤销。这将永久删除模型 "${e?.name}"。`,Jy=(e,r={})=>{if((p??r.locale??n())==="zh")return DBe(e);return EBe(e)};var OBe=()=>"delete",NBe=()=>"delete",Xy=(e={},r={})=>{if((p??r.locale??n())==="zh")return NBe(e);return OBe(e)};var FBe=(e)=>`This action cannot be undone. This will permanently delete the project "${e?.name}" and all its assets.`,jBe=(e)=>`此操作无法撤销。这将永久删除项目 "${e?.name}" 及其所有资产。`,eb=(e,r={})=>{if((p??r.locale??n())==="zh")return jBe(e);return FBe(e)};var BBe=(e)=>`This action cannot be undone. This will permanently delete the provider "${e?.name}" and all associated model configurations.`,UBe=(e)=>`此操作无法撤销。这将永久删除提供商 "${e?.name}" 及所有关联的模型配置。`,tb=(e,r={})=>{if((p??r.locale??n())==="zh")return UBe(e);return BBe(e)};var YBe=()=>"Delete Quota",qBe=()=>"删除配额",Zf=(e={},r={})=>{if((p??r.locale??n())==="zh")return qBe(e);return YBe(e)};var HBe=()=>"Are you sure you want to delete this quota rule? This action cannot be undone.",VBe=()=>"确定要删除此配额规则吗?此操作无法撤销。",_h=(e={},r={})=>{if((p??r.locale??n())==="zh")return VBe(e);return HBe(e)};var WBe=()=>"Delete Session",GBe=()=>"删除会话",rb=(e={},r={})=>{if((p??r.locale??n())==="zh")return GBe(e);return WBe(e)};var KBe=()=>"Are you sure you want to delete this chat session?",XBe=()=>"您确定要删除此会话记录吗?",nb=(e={},r={})=>{if((p??r.locale??n())==="zh")return XBe(e);return KBe(e)};var QBe=()=>"Delete Share Link?",JBe=()=>"删除分享链接?",$Be=(e={},r={})=>{if((p??r.locale??n())==="zh")return JBe(e);return QBe(e)};var e6e=(e)=>`This action cannot be undone. This will permanently delete the skill "${e?.name}" and all its configurations.`,t6e=(e)=>`此操作无法撤销。这将永久删除技能 "${e?.name}" 及其所有配置。`,ob=(e,r={})=>{if((p??r.locale??n())==="zh")return t6e(e);return e6e(e)};var r6e=()=>"Delete Task",o6e=()=>"删除任务",sb=(e={},r={})=>{if((p??r.locale??n())==="zh")return o6e(e);return r6e(e)};var a6e=(e)=>`Are you sure you want to delete task "${e?.title}"? This action cannot be undone.`,n6e=(e)=>`确定要删除任务"${e?.title}"吗?此操作无法撤销。`,ib=(e,r={})=>{if((p??r.locale??n())==="zh")return n6e(e);return a6e(e)};var i6e=()=>"Deleted",f6e=()=>"已删除",ab=(e={},r={})=>{if((p??r.locale??n())==="zh")return f6e(e);return i6e(e)};var s6e=()=>"Deleting...",l6e=()=>"删除中...",lb=(e={},r={})=>{if((p??r.locale??n())==="zh")return l6e(e);return s6e(e)};var c6e=()=>"Demo Access:",u6e=()=>"演示访问:",d6e=(e={},r={})=>{if((p??r.locale??n())==="zh")return u6e(e);return c6e(e)};var Z6e=()=>'This demo account is a read-only "Reviewer" role user.',p6e=()=>'该演示账户为只读 "Reviewer" 角色用户。',m6e=(e={},r={})=>{if((p??r.locale??n())==="zh")return p6e(e);return Z6e(e)};var h6e=()=>"Descending",g6e=()=>"降序",Bf=(e={},r={})=>{if((p??r.locale??n())==="zh")return g6e(e);return h6e(e)};var M6e=()=>"Description",x6e=()=>"描述",vl=(e={},r={})=>{if((p??r.locale??n())==="zh")return x6e(e);return M6e(e)};var v6e=()=>"Optional, used for AI autofill",y6e=()=>"可选,用于 AI 自动填充",hd=(e={},r={})=>{if((p??r.locale??n())==="zh")return y6e(e);return v6e(e)};var _6e=()=>"Generate and manage API keys for developers and automated workflows.",b6e=()=>"为开发者和自动化工作流生成和管理 API 密钥。",cb=(e={},r={})=>{if((p??r.locale??n())==="zh")return b6e(e);return _6e(e)};var w6e=()=>"Developer Settings",z6e=()=>"开发者设置",ub=(e={},r={})=>{if((p??r.locale??n())==="zh")return z6e(e);return w6e(e)};var S6e=()=>"Disable Timestamp",L6e=()=>"禁用时间戳",db=(e={},r={})=>{if((p??r.locale??n())==="zh")return L6e(e);return S6e(e)};var k6e=()=>"Disabled",C6e=()=>"已禁用",Uf=(e={},r={})=>{if((p??r.locale??n())==="zh")return C6e(e);return k6e(e)};var I6e=()=>"Display Name (Optional)",R6e=()=>"显示名称(可选)",fb=(e={},r={})=>{if((p??r.locale??n())==="zh")return R6e(e);return I6e(e)};var P6e=()=>"Domain already exists",T6e=()=>"域名已存在",pb=(e={},r={})=>{if((p??r.locale??n())==="zh")return T6e(e);return P6e(e)};var A6e=()=>"Done",E6e=()=>"完成",D6e=(e={},r={})=>{if((p??r.locale??n())==="zh")return E6e(e);return A6e(e)};var O6e=()=>"Download",N6e=()=>"下载",gr=(e={},r={})=>{if((p??r.locale??n())==="zh")return N6e(e);return O6e(e)};var F6e=(e)=>`This download will include ${e?.count} file(s).`,j6e=(e)=>`此下载将包含 ${e?.count} 个文件。`,yh=(e,r={})=>{if((p??r.locale??n())==="zh")return j6e(e);return F6e(e)};var B6e=()=>"Download original file",U6e=()=>"下载原始文件",mb=(e={},r={})=>{if((p??r.locale??n())==="zh")return U6e(e);return B6e(e)};var Y6e=()=>"Download original image",q6e=()=>"下载原始图片",hb=(e={},r={})=>{if((p??r.locale??n())==="zh")return q6e(e);return Y6e(e)};var H6e=()=>"Due Date",V6e=()=>"截止日期",gd=(e={},r={})=>{if((p??r.locale??n())==="zh")return V6e(e);return H6e(e)};var W6e=()=>"Edit",G6e=()=>"编辑",gb=(e={},r={})=>{if((p??r.locale??n())==="zh")return G6e(e);return W6e(e)};var K6e=()=>"Edit Goal",X6e=()=>"编辑目标",bh=(e={},r={})=>{if((p??r.locale??n())==="zh")return X6e(e);return K6e(e)};var Q6e=(e)=>`Edit ${e?.name}`,J6e=(e)=>`编辑 ${e?.name}`,vh=(e,r={})=>{if((p??r.locale??n())==="zh")return J6e(e);return Q6e(e)};var $6e=()=>"Edit MCP Server",eUe=()=>"编辑 MCP 服务",Ab=(e={},r={})=>{if((p??r.locale??n())==="zh")return eUe(e);return $6e(e)};var tUe=()=>"Edit Model",rUe=()=>"编辑模型",wh=(e={},r={})=>{if((p??r.locale??n())==="zh")return rUe(e);return tUe(e)};var oUe=()=>"Edit Quota Rule",aUe=()=>"编辑配额规则",_b=(e={},r={})=>{if((p??r.locale??n())==="zh")return aUe(e);return oUe(e)};var nUe=()=>"Configure resource limits, target scopes, and evaluation periods.",iUe=()=>"配置资源上限、目标范围以及评估周期。",yb=(e={},r={})=>{if((p??r.locale??n())==="zh")return iUe(e);return nUe(e)};var fUe=()=>"Edit Task",sUe=()=>"编辑任务",lUe=(e={},r={})=>{if((p??r.locale??n())==="zh")return sUe(e);return fUe(e)};var cUe=()=>"Edit Watermark",uUe=()=>"编辑水印",bb=(e={},r={})=>{if((p??r.locale??n())==="zh")return uUe(e);return cUe(e)};var dUe=()=>"Editor",ZUe=()=>"创作者",qs=(e={},r={})=>{if((p??r.locale??n())==="zh")return ZUe(e);return dUe(e)};var pUe=()=>"Email",mUe=()=>"邮箱",zf=(e={},r={})=>{if((p??r.locale??n())==="zh")return mUe(e);return pUe(e)};var hUe=()=>"Email Address",gUe=()=>"邮箱地址",vle=(e={},r={})=>{if((p??r.locale??n())==="zh")return gUe(e);return hUe(e)};var MUe=()=>"john@example.com",xUe=()=>"zhangsan@example.com",vb=(e={},r={})=>{if((p??r.locale??n())==="zh")return xUe(e);return MUe(e)};var vUe=()=>"Email address is managed by authentication provider.",yUe=()=>"邮箱地址由认证提供商管理。",wb=(e={},r={})=>{if((p??r.locale??n())==="zh")return yUe(e);return vUe(e)};var _Ue=()=>"Email Notifications",bUe=()=>"邮件通知",xh=(e={},r={})=>{if((p??r.locale??n())==="zh")return bUe(e);return _Ue(e)};var wUe=()=>"Configure SMTP settings for sending email notifications to team members.",zUe=()=>"配置用于向团队成员发送邮件通知的 SMTP 设置。",xb=(e={},r={})=>{if((p??r.locale??n())==="zh")return zUe(e);return wUe(e)};var SUe=()=>"Email settings saved successfully",LUe=()=>"邮件设置已保存",Sh=(e={},r={})=>{if((p??r.locale??n())==="zh")return LUe(e);return SUe(e)};var kUe=()=>"Embedding Agent",CUe=()=>"嵌入智能体",Sb=(e={},r={})=>{if((p??r.locale??n())==="zh")return CUe(e);return kUe(e)};var IUe=()=>"All items in the recently deleted folder will be permanently removed both from the database and from storage. This action cannot be undone.",RUe=()=>"回收站中的所有项目将从数据库和存储中永久删除。此操作无法撤销。",Eb=(e={},r={})=>{if((p??r.locale??n())==="zh")return RUe(e);return IUe(e)};var PUe=()=>"Empty Trash?",TUe=()=>"清空回收站?",Cb=(e={},r={})=>{if((p??r.locale??n())==="zh")return TUe(e);return PUe(e)};var AUe=()=>"Enable Email Notifications",EUe=()=>"启用邮件通知",Ib=(e={},r={})=>{if((p??r.locale??n())==="zh")return EUe(e);return AUe(e)};var DUe=()=>"Send email notifications for comments, mentions, uploads, and other team activity.",OUe=()=>"当有评论、提及、上传及其他团队活动时发送邮件通知。",Tb=(e={},r={})=>{if((p??r.locale??n())==="zh")return OUe(e);return DUe(e)};var NUe=()=>"Please create and enable an embedding agent in the team settings to use semantic search.",FUe=()=>"请在团队设置中创建并启用嵌入智能体以使用语义搜索。",Mb=(e={},r={})=>{if((p??r.locale??n())==="zh")return FUe(e);return NUe(e)};var jUe=()=>"Enable Network Sandbox",BUe=()=>"启用网络沙箱",kb=(e={},r={})=>{if((p??r.locale??n())==="zh")return BUe(e);return jUe(e)};var UUe=()=>"Enable Timestamp",YUe=()=>"启用时间戳",Rb=(e={},r={})=>{if((p??r.locale??n())==="zh")return YUe(e);return UUe(e)};var qUe=()=>"Enabled",HUe=()=>"已启用",jf=(e={},r={})=>{if((p??r.locale??n())==="zh")return HUe(e);return qUe(e)};var VUe=()=>"English",WUe=()=>"English",Pb=(e={},r={})=>{if((p??r.locale??n())==="zh")return WUe(e);return VUe(e)};var GUe=()=>"Enter a value",KUe=()=>"输入一个值",Nb=(e={},r={})=>{if((p??r.locale??n())==="zh")return KUe(e);return GUe(e)};var XUe=()=>"Enter custom model ID",QUe=()=>"输入自定义模型 ID",Db=(e={},r={})=>{if((p??r.locale??n())==="zh")return QUe(e);return XUe(e)};var JUe=()=>"Enter MCP Server ID",$Ue=()=>"输入 MCP 服务 ID",Eh=(e={},r={})=>{if((p??r.locale??n())==="zh")return $Ue(e);return JUe(e)};var eYe=()=>"Enter new name",tYe=()=>"输入新名称",Ad=(e={},r={})=>{if((p??r.locale??n())==="zh")return tYe(e);return eYe(e)};var rYe=()=>"Enter password",oYe=()=>"请输入密码",Ob=(e={},r={})=>{if((p??r.locale??n())==="zh")return oYe(e);return rYe(e)};var aYe=()=>"Enter template name...",nYe=()=>"请输入模板名称...",Ch=(e={},r={})=>{if((p??r.locale??n())==="zh")return nYe(e);return aYe(e)};var iYe=()=>"Enter your details",fYe=()=>"输入您的信息",Fb=(e={},r={})=>{if((p??r.locale??n())==="zh")return fYe(e);return iYe(e)};var sYe=()=>"Enter your name",lYe=()=>"请输入您的名称",Lb=(e={},r={})=>{if((p??r.locale??n())==="zh")return lYe(e);return sYe(e)};var cYe=()=>"Entry ID",uYe=()=>"条目 ID",_d=(e={},r={})=>{if((p??r.locale??n())==="zh")return uYe(e);return cYe(e)};var dYe=()=>"If left empty, the value will be read from the host machine's environment.",ZYe=()=>"如果留空,将从主机的环境中读取值。",Zb=(e={},r={})=>{if((p??r.locale??n())==="zh")return ZYe(e);return dYe(e)};var pYe=()=>"Error",mYe=()=>"错误",Mn=(e={},r={})=>{if((p??r.locale??n())==="zh")return mYe(e);return pYe(e)};var hYe=(e)=>`Error: ${e?.message}`,gYe=(e)=>`错误:${e?.message}`,Hs=(e,r={})=>{if((p??r.locale??n())==="zh")return gYe(e);return hYe(e)};var MYe=()=>"Essentials",xYe=()=>"基本信息",Bb=(e={},r={})=>{if((p??r.locale??n())==="zh")return xYe(e);return MYe(e)};var vYe=()=>"Exact date...",yYe=()=>"精确日期...",Ub=(e={},r={})=>{if((p??r.locale??n())==="zh")return yYe(e);return vYe(e)};var _Ye=()=>"Exit compare",bYe=()=>"退出对比",zb=(e={},r={})=>{if((p??r.locale??n())==="zh")return bYe(e);return _Ye(e)};var wYe=()=>"Expiration Date",zYe=()=>"过期日期",jb=(e={},r={})=>{if((p??r.locale??n())==="zh")return zYe(e);return wYe(e)};var SYe=()=>"Export Comments",LYe=()=>"导出评论",qb=(e={},r={})=>{if((p??r.locale??n())==="zh")return LYe(e);return SYe(e)};var kYe=()=>"Failed to create collection",CYe=()=>"创建媒体合集失败",IYe=(e={},r={})=>{if((p??r.locale??n())==="zh")return CYe(e);return kYe(e)};var RYe=()=>"Failed to create field",PYe=()=>"创建字段失败",qf=(e={},r={})=>{if((p??r.locale??n())==="zh")return PYe(e);return RYe(e)};var TYe=()=>"Failed to create project",AYe=()=>"创建项目失败",Hb=(e={},r={})=>{if((p??r.locale??n())==="zh")return AYe(e);return TYe(e)};var EYe=()=>"Failed to create share link",DYe=()=>"创建分享链接失败",OYe=(e={},r={})=>{if((p??r.locale??n())==="zh")return DYe(e);return EYe(e)};var NYe=()=>"Failed to delete collection",FYe=()=>"删除媒体合集失败",jYe=(e={},r={})=>{if((p??r.locale??n())==="zh")return FYe(e);return NYe(e)};var BYe=()=>"Failed to delete field",UYe=()=>"删除字段失败",$b=(e={},r={})=>{if((p??r.locale??n())==="zh")return UYe(e);return BYe(e)};var YYe=()=>"Failed to delete folder",qYe=()=>"删除文件夹失败",HYe=(e={},r={})=>{if((p??r.locale??n())==="zh")return qYe(e);return YYe(e)};var VYe=()=>"Failed to delete share link",WYe=()=>"删除分享链接失败",GYe=(e={},r={})=>{if((p??r.locale??n())==="zh")return WYe(e);return VYe(e)};var KYe=()=>"Failed to fetch collections",XYe=()=>"获取媒体合集失败",QYe=(e={},r={})=>{if((p??r.locale??n())==="zh")return XYe(e);return KYe(e)};var JYe=()=>"Failed to fetch fields",$Ye=()=>"获取字段列表失败",Gb=(e={},r={})=>{if((p??r.locale??n())==="zh")return $Ye(e);return JYe(e)};var e7e=()=>"Failed to fetch files",t7e=()=>"获取文件失败",Vb=(e={},r={})=>{if((p??r.locale??n())==="zh")return t7e(e);return e7e(e)};var r7e=()=>"Failed to fetch folders",o7e=()=>"获取文件夹失败",Qb=(e={},r={})=>{if((p??r.locale??n())==="zh")return o7e(e);return r7e(e)};var a7e=()=>"Failed to fetch share link",n7e=()=>"获取分享链接失败",Kb=(e={},r={})=>{if((p??r.locale??n())==="zh")return n7e(e);return a7e(e)};var i7e=()=>"Failed to fetch share links",f7e=()=>"获取分享链接失败",s7e=(e={},r={})=>{if((p??r.locale??n())==="zh")return f7e(e);return i7e(e)};var l7e=()=>"Failed to load settings.",c7e=()=>"加载设置失败。",Xo=(e={},r={})=>{if((p??r.locale??n())==="zh")return c7e(e);return l7e(e)};var u7e=()=>"Failed to remove",d7e=()=>"移除失败",Wb=(e={},r={})=>{if((p??r.locale??n())==="zh")return d7e(e);return u7e(e)};var Z7e=()=>"Failed to remove avatar",p7e=()=>"移除头像失败",Yb=(e={},r={})=>{if((p??r.locale??n())==="zh")return p7e(e);return Z7e(e)};var m7e=()=>"Failed to rename collection",h7e=()=>"重命名媒体合集失败",g7e=(e={},r={})=>{if((p??r.locale??n())==="zh")return h7e(e);return m7e(e)};var M7e=()=>"Failed to rename folder",x7e=()=>"重命名文件夹失败",v7e=(e={},r={})=>{if((p??r.locale??n())==="zh")return x7e(e);return M7e(e)};var y7e=()=>"Failed to rename share link",_7e=()=>"重命名分享链接失败",b7e=(e={},r={})=>{if((p??r.locale??n())==="zh")return _7e(e);return y7e(e)};var w7e=()=>"Failed to save collection",z7e=()=>"保存媒体合集失败",Jb=(e={},r={})=>{if((p??r.locale??n())==="zh")return z7e(e);return w7e(e)};var S7e=(e)=>`Failed to add ${e?.name}`,L7e=(e)=>`添加 ${e?.name} 失败`,Ih=(e,r={})=>{if((p??r.locale??n())==="zh")return L7e(e);return S7e(e)};var k7e=()=>"Failed to add model",C7e=()=>"添加模型失败",Xb=(e={},r={})=>{if((p??r.locale??n())==="zh")return C7e(e);return k7e(e)};var I7e=()=>"Failed to create quota rule",R7e=()=>"创建配额规则失败",Th=(e={},r={})=>{if((p??r.locale??n())==="zh")return R7e(e);return I7e(e)};var P7e=()=>"Failed to delete",T7e=()=>"删除失败",Da=(e={},r={})=>{if((p??r.locale??n())==="zh")return T7e(e);return P7e(e)};var A7e=()=>"Failed to delete quota rule",E7e=()=>"删除配额规则失败",yd=(e={},r={})=>{if((p??r.locale??n())==="zh")return E7e(e);return A7e(e)};var D7e=()=>"Failed to export comments",O7e=()=>"导出评论失败",ev=(e={},r={})=>{if((p??r.locale??n())==="zh")return O7e(e);return D7e(e)};var N7e=()=>"Failed to fetch folder children",F7e=()=>"获取子文件夹失败",j7e=(e={},r={})=>{if((p??r.locale??n())==="zh")return F7e(e);return N7e(e)};var B7e=()=>"Failed to generate invite link",U7e=()=>"生成邀请链接失败",tv=(e={},r={})=>{if((p??r.locale??n())==="zh")return U7e(e);return B7e(e)};var Y7e=()=>"Failed to generate token",q7e=()=>"生成令牌失败",rv=(e={},r={})=>{if((p??r.locale??n())==="zh")return q7e(e);return Y7e(e)};var H7e=()=>"Failed to install skill",V7e=()=>"安装技能失败",nv=(e={},r={})=>{if((p??r.locale??n())==="zh")return V7e(e);return H7e(e)};var W7e=()=>"Failed to load email settings",G7e=()=>"加载邮件设置失败",Mh=(e={},r={})=>{if((p??r.locale??n())==="zh")return G7e(e);return W7e(e)};var K7e=()=>"Failed to load quota usage",X7e=()=>"加载配额使用量失败",kh=(e={},r={})=>{if((p??r.locale??n())==="zh")return X7e(e);return K7e(e)};var Q7e=()=>"Failed to post comment",J7e=()=>"发送评论失败",ov=(e={},r={})=>{if((p??r.locale??n())==="zh")return J7e(e);return Q7e(e)};var $7e=()=>"Failed to prepare download links",eqe=()=>"准备下载链接失败",yle=(e={},r={})=>{if((p??r.locale??n())==="zh")return eqe(e);return $7e(e)};var tqe=()=>"Failed to remove member",rqe=()=>"移除成员失败",sv=(e={},r={})=>{if((p??r.locale??n())==="zh")return rqe(e);return tqe(e)};var oqe=()=>"Failed to remove version",aqe=()=>"移除版本失败",nqe=(e={},r={})=>{if((p??r.locale??n())==="zh")return aqe(e);return oqe(e)};var iqe=()=>"Failed to rename",fqe=()=>"重命名失败",iv=(e={},r={})=>{if((p??r.locale??n())==="zh")return fqe(e);return iqe(e)};var sqe=()=>"Failed to reorder versions",lqe=()=>"版本重新排序失败",cqe=(e={},r={})=>{if((p??r.locale??n())==="zh")return lqe(e);return sqe(e)};var uqe=()=>"Failed to reset quota usage",dqe=()=>"重置配额使用量失败",Rh=(e={},r={})=>{if((p??r.locale??n())==="zh")return dqe(e);return uqe(e)};var Zqe=()=>"Failed to revoke token",pqe=()=>"撤销令牌失败",av=(e={},r={})=>{if((p??r.locale??n())==="zh")return pqe(e);return Zqe(e)};var mqe=()=>"Failed to save email settings",hqe=()=>"保存邮件设置失败",Hf=(e={},r={})=>{if((p??r.locale??n())==="zh")return hqe(e);return mqe(e)};var gqe=()=>"Failed to send test email",Mqe=()=>"发送测试邮件失败",Ph=(e={},r={})=>{if((p??r.locale??n())==="zh")return Mqe(e);return gqe(e)};var xqe=()=>"Failed to update member role",vqe=()=>"更新成员角色失败",lv=(e={},r={})=>{if((p??r.locale??n())==="zh")return vqe(e);return xqe(e)};var yqe=()=>"Failed to update notification settings",_qe=()=>"更新通知设置失败",Nh=(e={},r={})=>{if((p??r.locale??n())==="zh")return _qe(e);return yqe(e)};var bqe=()=>"Failed to update permission",wqe=()=>"更新权限失败",wl=(e={},r={})=>{if((p??r.locale??n())==="zh")return wqe(e);return bqe(e)};var zqe=()=>"Failed to update provider",Sqe=()=>"更新提供商失败",cv=(e={},r={})=>{if((p??r.locale??n())==="zh")return Sqe(e);return zqe(e)};var Lqe=()=>"Failed to update quota rule",kqe=()=>"更新配额规则失败",bd=(e={},r={})=>{if((p??r.locale??n())==="zh")return kqe(e);return Lqe(e)};var Cqe=()=>"Failed to update sandbox settings",Iqe=()=>"更新沙箱设置失败",Dh=(e={},r={})=>{if((p??r.locale??n())==="zh")return Iqe(e);return Cqe(e)};var Rqe=()=>"Failed to upload",Pqe=()=>"上传失败",uv=(e={},r={})=>{if((p??r.locale??n())==="zh")return Pqe(e);return Rqe(e)};var Tqe=()=>"(Failed to upload)",Aqe=()=>"(上传失败)",dv=(e={},r={})=>{if((p??r.locale??n())==="zh")return Aqe(e);return Tqe(e)};var Eqe=()=>"Failed to update",Dqe=()=>"更新失败",vi=(e={},r={})=>{if((p??r.locale??n())==="zh")return Dqe(e);return Eqe(e)};var Oqe=()=>"Failed to update appearance settings",Nqe=()=>"更新外观设置失败",Oh=(e={},r={})=>{if((p??r.locale??n())==="zh")return Nqe(e);return Oqe(e)};var Fqe=()=>"Failed to update avatar",jqe=()=>"头像更新失败",fv=(e={},r={})=>{if((p??r.locale??n())==="zh")return jqe(e);return Fqe(e)};var Bqe=()=>"Failed to update field",Uqe=()=>"更新字段失败",xl=(e={},r={})=>{if((p??r.locale??n())==="zh")return Uqe(e);return Bqe(e)};var Yqe=()=>"Failed to update fields order",qqe=()=>"更新字段排序失败",$f=(e={},r={})=>{if((p??r.locale??n())==="zh")return qqe(e);return Yqe(e)};var Hqe=()=>"Failed to update language",Vqe=()=>"语言更新失败",pv=(e={},r={})=>{if((p??r.locale??n())==="zh")return Vqe(e);return Hqe(e)};var Wqe=()=>"Failed to update profile",Gqe=()=>"更新个人资料失败",mv=(e={},r={})=>{if((p??r.locale??n())==="zh")return Gqe(e);return Wqe(e)};var Kqe=()=>"Failed to update project",Xqe=()=>"更新项目失败",hv=(e={},r={})=>{if((p??r.locale??n())==="zh")return Xqe(e);return Kqe(e)};var Qqe=()=>"Failed to update project notification settings",Jqe=()=>"更新项目通知设置失败",gv=(e={},r={})=>{if((p??r.locale??n())==="zh")return Jqe(e);return Qqe(e)};var $qe=()=>"Failed to update settings",e9e=()=>"更新设置失败",vd=(e={},r={})=>{if((p??r.locale??n())==="zh")return e9e(e);return $qe(e)};var t9e=()=>"Failed to upload file",r9e=()=>"上传文件失败",Hc=(e={},r={})=>{if((p??r.locale??n())==="zh")return r9e(e);return t9e(e)};var o9e=()=>"FFmpeg Threads",a9e=()=>"FFmpeg 线程数",Av=(e={},r={})=>{if((p??r.locale??n())==="zh")return a9e(e);return o9e(e)};var n9e=()=>"Maximum number of CPU threads used by FFmpeg during transcoding. Set to 0 for Auto.",i9e=()=>"FFmpeg 转码时使用的最大 CPU 线程数。设置为 0 表示自动。",_v=(e={},r={})=>{if((p??r.locale??n())==="zh")return i9e(e);return n9e(e)};var f9e=()=>"Field",s9e=()=>"字段",Gf=(e={},r={})=>{if((p??r.locale??n())==="zh")return s9e(e);return f9e(e)};var l9e=()=>"Created At",c9e=()=>"创建时间",yv=(e={},r={})=>{if((p??r.locale??n())==="zh")return c9e(e);return l9e(e)};var u9e=()=>"Field created successfully",d9e=()=>"字段创建成功",bv=(e={},r={})=>{if((p??r.locale??n())==="zh")return d9e(e);return u9e(e)};var Z9e=()=>"Field deleted successfully",p9e=()=>"字段删除成功",vv=(e={},r={})=>{if((p??r.locale??n())==="zh")return p9e(e);return Z9e(e)};var m9e=()=>"Field Name",h9e=()=>"字段名称",Vf=(e={},r={})=>{if((p??r.locale??n())==="zh")return h9e(e);return m9e(e)};var g9e=()=>"e.g. Status",M9e=()=>"例如:状态",wv=(e={},r={})=>{if((p??r.locale??n())==="zh")return M9e(e);return g9e(e)};var x9e=()=>"Size",v9e=()=>"大小",xv=(e={},r={})=>{if((p??r.locale??n())==="zh")return v9e(e);return x9e(e)};var y9e=()=>"Field Type",_9e=()=>"字段类型",Qf=(e={},r={})=>{if((p??r.locale??n())==="zh")return _9e(e);return y9e(e)};var b9e=()=>"Updated At",w9e=()=>"更新时间",Sv=(e={},r={})=>{if((p??r.locale??n())==="zh")return w9e(e);return b9e(e)};var z9e=()=>"Field updated successfully",S9e=()=>"字段更新成功",Ev=(e={},r={})=>{if((p??r.locale??n())==="zh")return S9e(e);return z9e(e)};var L9e=()=>"Fields",k9e=()=>"字段",Oa=(e={},r={})=>{if((p??r.locale??n())==="zh")return k9e(e);return L9e(e)};var C9e=()=>"File size exceeds the 1MB limit",I9e=()=>"文件大小不能超过 1MB",Cv=(e={},r={})=>{if((p??r.locale??n())==="zh")return I9e(e);return C9e(e)};var R9e=()=>"File not found.",P9e=()=>"文件未找到。",Fh=(e={},r={})=>{if((p??r.locale??n())==="zh")return P9e(e);return R9e(e)};var T9e=(e)=>`${e?.uploaded} / ${e?.total} files`,A9e=(e)=>`${e?.uploaded} / ${e?.total} 个文件`,_le=(e,r={})=>{if((p??r.locale??n())==="zh")return A9e(e);return T9e(e)};var E9e=()=>"Filesystem Restriction",D9e=()=>"文件系统限制",Iv=(e={},r={})=>{if((p??r.locale??n())==="zh")return D9e(e);return E9e(e)};var O9e=()=>"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.",N9e=()=>"沙箱 Shell 命令可以读取工作区文件,但环境变量、证书和密钥等敏感文件除外;可以写入项目的 .pi 文件夹和系统临时目录,以及少量由运行时管理的系统路径。这些文件系统规则目前出于安全考虑已硬编码。",Tv=(e={},r={})=>{if((p??r.locale??n())==="zh")return N9e(e);return O9e(e)};var F9e=()=>"and",j9e=()=>"且",Mv=(e={},r={})=>{if((p??r.locale??n())==="zh")return j9e(e);return F9e(e)};var B9e=()=>"Filter by Action",U9e=()=>"按操作筛选",kv=(e={},r={})=>{if((p??r.locale??n())==="zh")return U9e(e);return B9e(e)};var Y9e=()=>"Filter by User",q9e=()=>"按用户筛选",Rv=(e={},r={})=>{if((p??r.locale??n())==="zh")return q9e(e);return Y9e(e)};var H9e=()=>"Search tasks in this status...",V9e=()=>"搜索此状态下的任务...",W9e=(e={},r={})=>{if((p??r.locale??n())==="zh")return V9e(e);return H9e(e)};var G9e=()=>"Where",K9e=()=>"条件",Pv=(e={},r={})=>{if((p??r.locale??n())==="zh")return K9e(e);return G9e(e)};var X9e=()=>"Filters",Q9e=()=>"筛选条件",Nv=(e={},r={})=>{if((p??r.locale??n())==="zh")return Q9e(e);return X9e(e)};var J9e=()=>"You will be the owner of the default workspace as the first user!",$9e=()=>"作为第一位用户,您将成为默认工作空间的拥有者!",eHe=(e={},r={})=>{if((p??r.locale??n())==="zh")return $9e(e);return J9e(e)};var tHe=()=>"Fit",rHe=()=>"适应窗口",Kf=(e={},r={})=>{if((p??r.locale??n())==="zh")return rHe(e);return tHe(e)};var oHe=()=>"Folder",aHe=()=>"文件夹",Lh=(e={},r={})=>{if((p??r.locale??n())==="zh")return aHe(e);return oHe(e)};var nHe=()=>"Folder deleted",iHe=()=>"文件夹已删除",fHe=(e={},r={})=>{if((p??r.locale??n())==="zh")return iHe(e);return nHe(e)};var sHe=()=>"Selected folder files will be prepared for download.",lHe=()=>"所选文件夹中的文件将被准备下载。",Zh=(e={},r={})=>{if((p??r.locale??n())==="zh")return lHe(e);return sHe(e)};var cHe=()=>"Folder name",uHe=()=>"文件夹名称",Bh=(e={},r={})=>{if((p??r.locale??n())==="zh")return uHe(e);return cHe(e)};var dHe=()=>"Folder renamed",ZHe=()=>"文件夹已重命名",pHe=(e={},r={})=>{if((p??r.locale??n())==="zh")return ZHe(e);return dHe(e)};var mHe=()=>"Folder hierarchy will be flattened. All nested files will be downloaded directly into your default download folder.",hHe=()=>"文件夹层级将被扁平化。所有嵌套文件将直接下载到您的默认下载文件夹中。",Uh=(e={},r={})=>{if((p??r.locale??n())==="zh")return hHe(e);return mHe(e)};var gHe=()=>"Assets",MHe=()=>"资产",ble=(e={},r={})=>{if((p??r.locale??n())==="zh")return MHe(e);return gHe(e)};var xHe=()=>"Font Size",vHe=()=>"字体大小",Dv=(e={},r={})=>{if((p??r.locale??n())==="zh")return vHe(e);return xHe(e)};var yHe=()=>"Format",_He=()=>"格式",Ov=(e={},r={})=>{if((p??r.locale??n())==="zh")return _He(e);return yHe(e)};var bHe=()=>"Frames",wHe=()=>"帧数",Fv=(e={},r={})=>{if((p??r.locale??n())==="zh")return wHe(e);return bHe(e)};var zHe=()=>"From address is required",SHe=()=>"必须提供发件人地址",Lv=(e={},r={})=>{if((p??r.locale??n())==="zh")return SHe(e);return zHe(e)};var LHe=()=>"Fullscreen",kHe=()=>"全屏",wd=(e={},r={})=>{if((p??r.locale??n())==="zh")return kHe(e);return LHe(e)};var CHe=()=>"General",IHe=()=>"通用",Zv=(e={},r={})=>{if((p??r.locale??n())==="zh")return IHe(e);return CHe(e)};var RHe=()=>"General Comments",PHe=()=>"普通评论",Bv=(e={},r={})=>{if((p??r.locale??n())==="zh")return PHe(e);return RHe(e)};var THe=()=>"General Settings",AHe=()=>"通用设置",zh=(e={},r={})=>{if((p??r.locale??n())==="zh")return AHe(e);return THe(e)};var EHe=()=>"View your personal information and team role.",DHe=()=>"查看您的个人信息和团队角色。",Uv=(e={},r={})=>{if((p??r.locale??n())==="zh")return DHe(e);return EHe(e)};var OHe=()=>"Generate",NHe=()=>"生成",zv=(e={},r={})=>{if((p??r.locale??n())==="zh")return NHe(e);return OHe(e)};var FHe=()=>"Generate Link",jHe=()=>"生成链接",jv=(e={},r={})=>{if((p??r.locale??n())==="zh")return jHe(e);return FHe(e)};var BHe=()=>"GitHub Repository URL",UHe=()=>"GitHub 仓库 URL",qv=(e={},r={})=>{if((p??r.locale??n())==="zh")return UHe(e);return BHe(e)};var YHe=()=>"Example: https://github.com/google/gemini-cli",qHe=()=>"示例:https://github.com/google/gemini-cli",Hv=(e={},r={})=>{if((p??r.locale??n())==="zh")return qHe(e);return YHe(e)};var HHe=()=>"Global API Protocol",VHe=()=>"全局 API 协议",jh=(e={},r={})=>{if((p??r.locale??n())==="zh")return VHe(e);return HHe(e)};var WHe=()=>"Go to Login",GHe=()=>"前往登录",Wf=(e={},r={})=>{if((p??r.locale??n())==="zh")return GHe(e);return WHe(e)};var KHe=()=>"Goal created",XHe=()=>"目标已创建",$v=(e={},r={})=>{if((p??r.locale??n())==="zh")return XHe(e);return KHe(e)};var QHe=()=>"Goal deleted",JHe=()=>"目标已删除",Gv=(e={},r={})=>{if((p??r.locale??n())==="zh")return JHe(e);return QHe(e)};var $He=()=>"Goal Description",eVe=()=>"目标描述",Vv=(e={},r={})=>{if((p??r.locale??n())==="zh")return eVe(e);return $He(e)};var tVe=()=>"Describe the desired outcome and success criteria...",rVe=()=>"描述预期成果和衡量标准...",Qv=(e={},r={})=>{if((p??r.locale??n())==="zh")return rVe(e);return tVe(e)};var oVe=()=>"Goal Title",aVe=()=>"目标标题",Kv=(e={},r={})=>{if((p??r.locale??n())==="zh")return aVe(e);return oVe(e)};var nVe=()=>"e.g. Q3 Launch Deliverables",iVe=()=>"例如:Q3 发布交付物",Wv=(e={},r={})=>{if((p??r.locale??n())==="zh")return iVe(e);return nVe(e)};var fVe=()=>"Goal updated",sVe=()=>"目标已更新",Yv=(e={},r={})=>{if((p??r.locale??n())==="zh")return sVe(e);return fVe(e)};var lVe=()=>"Goals",cVe=()=>"目标",xd=(e={},r={})=>{if((p??r.locale??n())==="zh")return cVe(e);return lVe(e)};var uVe=()=>"Connection failed",dVe=()=>"连接失败",Sd=(e={},r={})=>{if((p??r.locale??n())==="zh")return dVe(e);return uVe(e)};var ZVe=()=>"Connected successfully",pVe=()=>"连接成功",qh=(e={},r={})=>{if((p??r.locale??n())==="zh")return pVe(e);return ZVe(e)};var mVe=()=>"Configured via environment variables (Read-only)",hVe=()=>"已通过环境变量配置(只读)",Jv=(e={},r={})=>{if((p??r.locale??n())==="zh")return hVe(e);return mVe(e)};var gVe=()=>"Password",MVe=()=>"密码",Xv=(e={},r={})=>{if((p??r.locale??n())==="zh")return MVe(e);return gVe(e)};var xVe=()=>"Leave blank to keep existing password",vVe=()=>"留空以保留当前密码",ew=(e={},r={})=>{if((p??r.locale??n())==="zh")return vVe(e);return xVe(e)};var yVe=()=>"Server URL",_Ve=()=>"服务地址",tw=(e={},r={})=>{if((p??r.locale??n())==="zh")return _Ve(e);return yVe(e)};var bVe=()=>"e.g. http://localhost:3000",wVe=()=>"例如 http://localhost:3000",rw=(e={},r={})=>{if((p??r.locale??n())==="zh")return wVe(e);return bVe(e)};var zVe=()=>"Gotenberg Document Converter",SVe=()=>"Gotenberg 文档转换服务",nw=(e={},r={})=>{if((p??r.locale??n())==="zh")return SVe(e);return zVe(e)};var LVe=()=>"Configure the external Gotenberg service for converting Office documents, Markdown, and HTML to PDF.",kVe=()=>"配置用于将 Office 文档、Markdown 及 HTML 转换为 PDF 的外部 Gotenberg 服务。",ow=(e={},r={})=>{if((p??r.locale??n())==="zh")return kVe(e);return LVe(e)};var CVe=()=>"Test Connection",IVe=()=>"测试连接",sw=(e={},r={})=>{if((p??r.locale??n())==="zh")return IVe(e);return CVe(e)};var RVe=()=>"Testing...",PVe=()=>"正在测试...",iw=(e={},r={})=>{if((p??r.locale??n())==="zh")return PVe(e);return RVe(e)};var TVe=()=>"Username",AVe=()=>"用户名",aw=(e={},r={})=>{if((p??r.locale??n())==="zh")return AVe(e);return TVe(e)};var EVe=()=>"Grid",DVe=()=>"网格",lw=(e={},r={})=>{if((p??r.locale??n())==="zh")return DVe(e);return EVe(e)};var OVe=()=>"Groups",NVe=()=>"分组",cw=(e={},r={})=>{if((p??r.locale??n())==="zh")return NVe(e);return OVe(e)};var FVe=()=>"Hardware Acceleration",jVe=()=>"硬件加速",uw=(e={},r={})=>{if((p??r.locale??n())==="zh")return jVe(e);return FVe(e)};var BVe=()=>"Auto Detect",UVe=()=>"自动检测",dw=(e={},r={})=>{if((p??r.locale??n())==="zh")return UVe(e);return BVe(e)};var YVe=()=>"Automatically probes and uses GPU/Hardware acceleration (NVENC, QSV, VA-API, AMF, VideoToolbox). If hardware acceleration is unsupported on the host, video transcoding may fail.",qVe=()=>"自动检测并使用 GPU/硬件加速(NVENC、QSV、VA-API、AMF、VideoToolbox)。若宿主硬件不支持加速,视频转码可能会失败。",fw=(e={},r={})=>{if((p??r.locale??n())==="zh")return qVe(e);return YVe(e)};var HVe=()=>"Disabled (Software)",VVe=()=>"已禁用 (软件编码)",pw=(e={},r={})=>{if((p??r.locale??n())==="zh")return VVe(e);return HVe(e)};var WVe=()=>"Uses software libx264 encoder with constant rate factor (CRF).",GVe=()=>"使用 CPU 的 libx264 软件编码器及 CRF 恒定画质模式。",mw=(e={},r={})=>{if((p??r.locale??n())==="zh")return GVe(e);return WVe(e)};var KVe=()=>"Configure hardware-accelerated video encoding to offload workloads to GPUs, or use CPU software encoding.",XVe=()=>"配置硬件加速视频编码以将工作负载分流至 GPU,或使用 CPU 软件编码。",hw=(e={},r={})=>{if((p??r.locale??n())==="zh")return XVe(e);return KVe(e)};var QVe=()=>"HDR",JVe=()=>"HDR",$c=(e={},r={})=>{if((p??r.locale??n())==="zh")return JVe(e);return QVe(e)};var $Ve=()=>"Hide Agent",eWe=()=>"隐藏 Agent",gw=(e={},r={})=>{if((p??r.locale??n())==="zh")return eWe(e);return $Ve(e)};var tWe=()=>"Hide the AGENTS.md button, agent-chat sidebar, and chatbot trigger button across the entire team.",rWe=()=>"在整个团队中隐藏 AGENTS.md 按钮、Agent 聊天侧边栏和触发按钮。",Aw=(e={},r={})=>{if((p??r.locale??n())==="zh")return rWe(e);return tWe(e)};var oWe=()=>"Hide Chatbot",aWe=()=>"隐藏聊天机器人",nWe=(e={},r={})=>{if((p??r.locale??n())==="zh")return aWe(e);return oWe(e)};var iWe=()=>"History",fWe=()=>"历史记录",Hh=(e={},r={})=>{if((p??r.locale??n())==="zh")return fWe(e);return iWe(e)};var sWe=()=>"Resolution Ladders",lWe=()=>"分辨率阶梯",_w=(e={},r={})=>{if((p??r.locale??n())==="zh")return lWe(e);return sWe(e)};var cWe=()=>"Select the target resolutions to generate for HLS streaming. Ladders are only generated up to the source video resolution.",uWe=()=>"选择 HLS 流媒体生成的目标分辨率。仅会生成不超过原始视频分辨率的分辨率阶梯。",yw=(e={},r={})=>{if((p??r.locale??n())==="zh")return uWe(e);return cWe(e)};var dWe=()=>"HLS Streaming",ZWe=()=>"HLS 流媒体",bw=(e={},r={})=>{if((p??r.locale??n())==="zh")return ZWe(e);return dWe(e)};var pWe=()=>"Enable HTTP Live Streaming (HLS) with adaptive bitrate ladders for smooth video playback.",mWe=()=>"启用自适应码率阶梯的 HTTP Live Streaming (HLS),带来流畅的视频流播放体验。",vw=(e={},r={})=>{if((p??r.locale??n())==="zh")return mWe(e);return pWe(e)};var hWe=()=>"Home",gWe=()=>"主页",MWe=(e={},r={})=>{if((p??r.locale??n())==="zh")return gWe(e);return hWe(e)};var xWe=()=>"Image Asset",vWe=()=>"图片资源",ww=(e={},r={})=>{if((p??r.locale??n())==="zh")return vWe(e);return xWe(e)};var yWe=(e)=>`${e?.count} enabled`,_We=(e)=>`${e?.count} 个已启用`,xw=(e,r={})=>{if((p??r.locale??n())==="zh")return _We(e);return yWe(e)};var bWe=()=>"[Image Object]",wWe=()=>"[图片对象]",Yf=(e={},r={})=>{if((p??r.locale??n())==="zh")return wWe(e);return bWe(e)};var zWe=()=>"Image Size",SWe=()=>"图片大小",Sw=(e={},r={})=>{if((p??r.locale??n())==="zh")return SWe(e);return zWe(e)};var LWe=()=>"Image / Video Generation",kWe=()=>"图像与视频生成",$h=(e={},r={})=>{if((p??r.locale??n())==="zh")return kWe(e);return LWe(e)};var CWe=()=>"Import a skill from a local ZIP archive or a GitHub repository.",IWe=()=>"从本地 ZIP 压缩包或 GitHub 仓库导入技能。",Ew=(e={},r={})=>{if((p??r.locale??n())==="zh")return IWe(e);return CWe(e)};var RWe=()=>"Input Cost (1M)",PWe=()=>"输入成本(每百万)",Cw=(e={},r={})=>{if((p??r.locale??n())==="zh")return PWe(e);return RWe(e)};var TWe=()=>"Input Tokens",AWe=()=>"输入 Token",Gh=(e={},r={})=>{if((p??r.locale??n())==="zh")return AWe(e);return TWe(e)};var EWe=()=>"Install",DWe=()=>"安装",Iw=(e={},r={})=>{if((p??r.locale??n())==="zh")return DWe(e);return EWe(e)};var OWe=()=>"Integrations",NWe=()=>"集成",Vh=(e={},r={})=>{if((p??r.locale??n())==="zh")return NWe(e);return OWe(e)};var FWe=()=>"Configure third-party service integrations for media rendering and document processing.",jWe=()=>"配置用于媒体渲染与文档处理的第三方服务集成。",Tw=(e={},r={})=>{if((p??r.locale??n())==="zh")return jWe(e);return FWe(e)};var BWe=()=>"Invalid credentials",UWe=()=>"凭证无效",wle=(e={},r={})=>{if((p??r.locale??n())==="zh")return UWe(e);return BWe(e)};var YWe=()=>"Invalid email address",qWe=()=>"无效的邮箱地址",zle=(e={},r={})=>{if((p??r.locale??n())==="zh")return qWe(e);return YWe(e)};var HWe=()=>"Invalid or missing reset token.",VWe=()=>"无效或缺失的重置令牌。",Jf=(e={},r={})=>{if((p??r.locale??n())==="zh")return VWe(e);return HWe(e)};var WWe=()=>"Please contact your administrator to generate a new password reset link.",GWe=()=>"请联系管理员生成新的密码重置链接。",Mw=(e={},r={})=>{if((p??r.locale??n())==="zh")return GWe(e);return WWe(e)};var KWe=(e)=>`${e?.inviterName} invited you to join ${e?.targetName} as ${e?.role}.`,XWe=(e)=>`${e?.inviterName} 邀请您加入 ${e?.targetName},角色为 ${e?.role}。`,QWe=(e,r={})=>{if((p??r.locale??n())==="zh")return XWe(e);return KWe(e)};var JWe=()=>"Invite link copied to clipboard",$We=()=>"邀请链接已复制到剪贴板",kw=(e={},r={})=>{if((p??r.locale??n())==="zh")return $We(e);return JWe(e)};var eGe=()=>"Invite New Member",tGe=()=>"邀请新成员",Rw=(e={},r={})=>{if((p??r.locale??n())==="zh")return tGe(e);return eGe(e)};var rGe=()=>"Item ID",oGe=()=>"条目 ID",Pw=(e={},r={})=>{if((p??r.locale??n())==="zh")return oGe(e);return rGe(e)};var aGe=()=>"Kanban",nGe=()=>"看板",iGe=(e={},r={})=>{if((p??r.locale??n())==="zh")return nGe(e);return aGe(e)};var fGe=()=>"Kanban Comments",sGe=()=>"看板评论",Nw=(e={},r={})=>{if((p??r.locale??n())==="zh")return sGe(e);return fGe(e)};var lGe=()=>"Manage notifications for Kanban board tasks and comments.",cGe=()=>"管理看板任务和评论相关的通知偏好。",Dw=(e={},r={})=>{if((p??r.locale??n())==="zh")return cGe(e);return lGe(e)};var uGe=()=>"Kanban Notifications",dGe=()=>"看板通知",Ow=(e={},r={})=>{if((p??r.locale??n())==="zh")return dGe(e);return uGe(e)};var ZGe=()=>"Kanban Tasks",pGe=()=>"看板任务",Fw=(e={},r={})=>{if((p??r.locale??n())==="zh")return pGe(e);return ZGe(e)};var mGe=()=>"Language Settings",hGe=()=>"语言设置",Lw=(e={},r={})=>{if((p??r.locale??n())==="zh")return hGe(e);return mGe(e)};var gGe=()=>"Language updated successfully",MGe=()=>"语言更新成功",Zw=(e={},r={})=>{if((p??r.locale??n())==="zh")return MGe(e);return gGe(e)};var xGe=()=>"Light",vGe=()=>"浅色",yGe=(e={},r={})=>{if((p??r.locale??n())==="zh")return vGe(e);return xGe(e)};var _Ge=()=>"Link copied to clipboard",bGe=()=>"链接已复制到剪贴板",Bw=(e={},r={})=>{if((p??r.locale??n())==="zh")return bGe(e);return _Ge(e)};var wGe=()=>"Link to Task",zGe=()=>"关联到任务",SGe=(e={},r={})=>{if((p??r.locale??n())==="zh")return zGe(e);return wGe(e)};var LGe=()=>"Link Visibility",kGe=()=>"链接可见性",Uw=(e={},r={})=>{if((p??r.locale??n())==="zh")return kGe(e);return LGe(e)};var CGe=(e)=>`${e?.count} assets`,IGe=(e)=>`${e?.count} 个资产`,zw=(e,r={})=>{if((p??r.locale??n())==="zh")return IGe(e);return CGe(e)};var RGe=()=>"Linked Tasks",PGe=()=>"关联任务",Xf=(e={},r={})=>{if((p??r.locale??n())==="zh")return PGe(e);return RGe(e)};var TGe=()=>"List",AGe=()=>"列表",jw=(e={},r={})=>{if((p??r.locale??n())==="zh")return AGe(e);return TGe(e)};var EGe=()=>"Load Template",DGe=()=>"加载模板",qw=(e={},r={})=>{if((p??r.locale??n())==="zh")return DGe(e);return EGe(e)};var OGe=()=>"Loading...",NGe=()=>"加载中...",Ed=(e={},r={})=>{if((p??r.locale??n())==="zh")return NGe(e);return OGe(e)};var FGe=()=>"Loading collection...",jGe=()=>"正在加载媒体合集...",Qh=(e={},r={})=>{if((p??r.locale??n())==="zh")return jGe(e);return FGe(e)};var BGe=()=>"Loading models...",UGe=()=>"正在加载模型...",Hw=(e={},r={})=>{if((p??r.locale??n())==="zh")return UGe(e);return BGe(e)};var YGe=()=>"Loading more...",qGe=()=>"加载更多...",$w=(e={},r={})=>{if((p??r.locale??n())==="zh")return qGe(e);return YGe(e)};var HGe=()=>"Log out",VGe=()=>"退出登录",WGe=(e={},r={})=>{if((p??r.locale??n())==="zh")return VGe(e);return HGe(e)};var GGe=()=>"Logging in...",KGe=()=>"登录中...",Sle=(e={},r={})=>{if((p??r.locale??n())==="zh")return KGe(e);return GGe(e)};var XGe=()=>"Login",QGe=()=>"登录",Lle=(e={},r={})=>{if((p??r.locale??n())==="zh")return QGe(e);return XGe(e)};var JGe=()=>"Login as demo user",$Ge=()=>"以演示用户登录",eKe=(e={},r={})=>{if((p??r.locale??n())==="zh")return $Ge(e);return JGe(e)};var tKe=()=>"Login here",rKe=()=>"在此登录",oKe=(e={},r={})=>{if((p??r.locale??n())==="zh")return rKe(e);return tKe(e)};var aKe=()=>"Enter your credentials to access your account.",nKe=()=>"输入您的凭证以访问您的账户。",iKe=(e={},r={})=>{if((p??r.locale??n())==="zh")return nKe(e);return aKe(e)};var fKe=()=>"Loop",sKe=()=>"循环",Gw=(e={},r={})=>{if((p??r.locale??n())==="zh")return sKe(e);return fKe(e)};var lKe=()=>"Manage environment variables for this skill instance.",cKe=()=>"管理此技能实例的环境变量。",Vw=(e={},r={})=>{if((p??r.locale??n())==="zh")return cKe(e);return lKe(e)};var uKe=()=>"Manage Fields",dKe=()=>"管理字段",ep=(e={},r={})=>{if((p??r.locale??n())==="zh")return dKe(e);return uKe(e)};var ZKe=()=>"Manage and update your project workspace configurations.",pKe=()=>"管理和更新您的项目工作区配置。",Qw=(e={},r={})=>{if((p??r.locale??n())==="zh")return pKe(e);return ZKe(e)};var mKe=()=>"Manage versions",hKe=()=>"管理版本",tp=(e={},r={})=>{if((p??r.locale??n())==="zh")return hKe(e);return mKe(e)};var gKe=()=>"Manage versions",MKe=()=>"管理版本",xKe=(e={},r={})=>{if((p??r.locale??n())==="zh")return MKe(e);return gKe(e)};var vKe=()=>"Mark all as read",yKe=()=>"全部标记为已读",_Ke=(e={},r={})=>{if((p??r.locale??n())==="zh")return yKe(e);return vKe(e)};var bKe=()=>"Mark as complete",wKe=()=>"标记为已完成",Kw=(e={},r={})=>{if((p??r.locale??n())==="zh")return wKe(e);return bKe(e)};var zKe=()=>"Mark as incomplete",SKe=()=>"标记为未完成",Ww=(e={},r={})=>{if((p??r.locale??n())==="zh")return SKe(e);return zKe(e)};var LKe=()=>"Markup is not supported for this file type",kKe=()=>"此文件类型不支持标注",rp=(e={},r={})=>{if((p??r.locale??n())==="zh")return kKe(e);return LKe(e)};var CKe=()=>"Match found at",IKe=()=>"在以下位置找到匹配",Yw=(e={},r={})=>{if((p??r.locale??n())==="zh")return IKe(e);return CKe(e)};var RKe=(e)=>`Matched ${e?.count} items`,PKe=(e)=>`匹配了 ${e?.count} 项`,Jw=(e,r={})=>{if((p??r.locale??n())==="zh")return PKe(e);return RKe(e)};var TKe=()=>"Max Output Tokens",AKe=()=>"最大输出令牌数",Xw=(e={},r={})=>{if((p??r.locale??n())==="zh")return AKe(e);return TKe(e)};var EKe=(e)=>`max ${e?.count}`,DKe=(e)=>`最大 ${e?.count}`,ex=(e,r={})=>{if((p??r.locale??n())==="zh")return DKe(e);return EKe(e)};var OKe=()=>"Auto-Detect (Default)",NKe=()=>"自动检测 (默认)",tx=(e={},r={})=>{if((p??r.locale??n())==="zh")return NKe(e);return OKe(e)};var FKe=()=>"Bearer Token",jKe=()=>"Bearer 令牌",rx=(e={},r={})=>{if((p??r.locale??n())==="zh")return jKe(e);return FKe(e)};var BKe=()=>"Failed to authenticate MCP server",UKe=()=>"MCP 服务身份验证失败",np=(e={},r={})=>{if((p??r.locale??n())==="zh")return UKe(e);return BKe(e)};var YKe=()=>"None",qKe=()=>"无",nx=(e={},r={})=>{if((p??r.locale??n())==="zh")return qKe(e);return YKe(e)};var HKe=()=>"OAuth 2.0",VKe=()=>"OAuth 2.0",ox=(e={},r={})=>{if((p??r.locale??n())==="zh")return VKe(e);return HKe(e)};var WKe=()=>"MCP server authenticated successfully",GKe=()=>"MCP 服务身份验证成功",Kh=(e={},r={})=>{if((p??r.locale??n())==="zh")return GKe(e);return WKe(e)};var KKe=()=>"Authentication Type",XKe=()=>"身份验证类型",sx=(e={},r={})=>{if((p??r.locale??n())==="zh")return XKe(e);return KKe(e)};var QKe=()=>"Bearer Token",JKe=()=>"Bearer 令牌",ix=(e={},r={})=>{if((p??r.locale??n())==="zh")return JKe(e);return QKe(e)};var $Ke=()=>"All Direct",eXe=()=>"全部直连",ax=(e={},r={})=>{if((p??r.locale??n())==="zh")return eXe(e);return $Ke(e)};var tXe=()=>"All Off",rXe=()=>"全部关闭",lx=(e={},r={})=>{if((p??r.locale??n())==="zh")return rXe(e);return tXe(e)};var oXe=()=>"All Proxy",aXe=()=>"全部代理",cx=(e={},r={})=>{if((p??r.locale??n())==="zh")return aXe(e);return oXe(e)};var nXe=()=>"Connect Account",iXe=()=>"连接账号",Wh=(e={},r={})=>{if((p??r.locale??n())==="zh")return iXe(e);return nXe(e)};var fXe=()=>"Disconnect Auth",sXe=()=>"断开身份验证",Yh=(e={},r={})=>{if((p??r.locale??n())==="zh")return sXe(e);return fXe(e)};var lXe=()=>"Client ID",cXe=()=>"Client ID",ux=(e={},r={})=>{if((p??r.locale??n())==="zh")return cXe(e);return lXe(e)};var uXe=()=>"Client Secret",dXe=()=>"Client Secret",dx=(e={},r={})=>{if((p??r.locale??n())==="zh")return dXe(e);return uXe(e)};var ZXe=()=>"Grant Type",pXe=()=>"授权模式 (Grant Type)",fx=(e={},r={})=>{if((p??r.locale??n())==="zh")return pXe(e);return ZXe(e)};var mXe=()=>"Scope",hXe=()=>"作用域 (Scope)",px=(e={},r={})=>{if((p??r.locale??n())==="zh")return hXe(e);return mXe(e)};var gXe=()=>"Refresh Server",MXe=()=>"刷新服务器",Jh=(e={},r={})=>{if((p??r.locale??n())==="zh")return MXe(e);return gXe(e)};var xXe=()=>"Server refreshed",vXe=()=>"服务器已刷新",mx=(e={},r={})=>{if((p??r.locale??n())==="zh")return vXe(e);return xXe(e)};var yXe=()=>"Name and description are auto-detected from the server after connecting.",_Xe=()=>"连接后将自动从服务端获取名称和描述。",Xh=(e={},r={})=>{if((p??r.locale??n())==="zh")return _Xe(e);return yXe(e)};var bXe=()=>"Server Instructions",wXe=()=>"服务器说明",hx=(e={},r={})=>{if((p??r.locale??n())==="zh")return wXe(e);return bXe(e)};var zXe=()=>"Server Name",SXe=()=>"服务名称",gx=(e={},r={})=>{if((p??r.locale??n())==="zh")return SXe(e);return zXe(e)};var LXe=()=>"Endpoint URL",kXe=()=>"Endpoint URL",eg=(e={},r={})=>{if((p??r.locale??n())==="zh")return kXe(e);return LXe(e)};var CXe=()=>"MCP Servers",IXe=()=>"MCP 服务",Gc=(e={},r={})=>{if((p??r.locale??n())==="zh")return IXe(e);return CXe(e)};var RXe=()=>"Configure Model Context Protocol (MCP) servers and tools for your team.",PXe=()=>"为团队配置 Model Context Protocol (MCP) 服务与工具。",Cd=(e={},r={})=>{if((p??r.locale??n())==="zh")return PXe(e);return RXe(e)};var TXe=()=>"Connected",AXe=()=>"已连接",Ax=(e={},r={})=>{if((p??r.locale??n())==="zh")return AXe(e);return TXe(e)};var EXe=()=>"Failed",DXe=()=>"连接失败",_x=(e={},r={})=>{if((p??r.locale??n())==="zh")return DXe(e);return EXe(e)};var OXe=()=>"Needs Authentication",NXe=()=>"需要身份验证",tg=(e={},r={})=>{if((p??r.locale??n())==="zh")return NXe(e);return OXe(e)};var FXe=()=>"Not Connected",jXe=()=>"未连接",yx=(e={},r={})=>{if((p??r.locale??n())==="zh")return jXe(e);return FXe(e)};var BXe=()=>"Direct",UXe=()=>"直连",bx=(e={},r={})=>{if((p??r.locale??n())==="zh")return UXe(e);return BXe(e)};var YXe=()=>"Off",qXe=()=>"关闭",vx=(e={},r={})=>{if((p??r.locale??n())==="zh")return qXe(e);return YXe(e)};var HXe=()=>"Proxy",VXe=()=>"代理",wx=(e={},r={})=>{if((p??r.locale??n())==="zh")return VXe(e);return HXe(e)};var WXe=()=>"MCP Tools",GXe=()=>"MCP 工具",xx=(e={},r={})=>{if((p??r.locale??n())==="zh")return GXe(e);return WXe(e)};var KXe=(e)=>`${e?.count} Tools`,XXe=(e)=>`${e?.count} 个工具`,Sx=(e,r={})=>{if((p??r.locale??n())==="zh")return XXe(e);return KXe(e)};var QXe=()=>"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.",JXe=()=>"配置 MCP 工具向 Agent 的暴露方式。代理模式通过 MCP 代理隐匿工具,以保持较低的上下文占用;直连模式将选定工具直接作为 Agent 原生工具暴露,便于更好地发现与更快地调用。建议对高频或关键工具使用直连模式,对于大型 MCP 服务保持代理模式以避免不必要的上下文开销。",Ex=(e={},r={})=>{if((p??r.locale??n())==="zh")return JXe(e);return QXe(e)};var $Xe=()=>"Transport Protocol",eQe=()=>"传输协议",Cx=(e={},r={})=>{if((p??r.locale??n())==="zh")return eQe(e);return $Xe(e)};var tQe=()=>"Configure providers and enabled models for built-in image and video generation tools.",rQe=()=>"配置内置图像和视频生成工具的提供商与已启用模型。",Ix=(e={},r={})=>{if((p??r.locale??n())==="zh")return rQe(e);return tQe(e)};var oQe=()=>"Media is not available.",aQe=()=>"媒体不可用。",Tx=(e={},r={})=>{if((p??r.locale??n())==="zh")return aQe(e);return oQe(e)};var nQe=()=>"Media processing failed",iQe=()=>"媒体处理失败",rg=(e={},r={})=>{if((p??r.locale??n())==="zh")return iQe(e);return nQe(e)};var fQe=()=>"An error occurred while processing this media file. You can still download the original file.",sQe=()=>"处理此媒体文件时发生错误。您仍可以下载原始文件。",ng=(e={},r={})=>{if((p??r.locale??n())==="zh")return sQe(e);return fQe(e)};var lQe=()=>"Media Providers",cQe=()=>"媒体提供商",Mx=(e={},r={})=>{if((p??r.locale??n())==="zh")return cQe(e);return lQe(e)};var uQe=()=>"Configure API keys for built-in media generation providers. Providers can use environment variables or custom keys.",dQe=()=>"为内置媒体生成提供商配置 API 密钥。提供商可以使用环境变量或自定义密钥。",kx=(e={},r={})=>{if((p??r.locale??n())==="zh")return dQe(e);return uQe(e)};var ZQe=()=>"Image",pQe=()=>"图像",op=(e={},r={})=>{if((p??r.locale??n())==="zh")return pQe(e);return ZQe(e)};var mQe=()=>"Video",hQe=()=>"视频",sp=(e={},r={})=>{if((p??r.locale??n())==="zh")return hQe(e);return mQe(e)};var gQe=()=>"Member removed",MQe=()=>"成员已移除",Rx=(e={},r={})=>{if((p??r.locale??n())==="zh")return MQe(e);return gQe(e)};var xQe=()=>"Member role updated",vQe=()=>"成员角色已更新",Px=(e={},r={})=>{if((p??r.locale??n())==="zh")return vQe(e);return xQe(e)};var yQe=()=>"Members",_Qe=()=>"成员",Nx=(e={},r={})=>{if((p??r.locale??n())==="zh")return _Qe(e);return yQe(e)};var bQe=()=>"Members",wQe=()=>"成员",Dx=(e={},r={})=>{if((p??r.locale??n())==="zh")return wQe(e);return bQe(e)};var zQe=()=>"Message...",SQe=()=>"发送消息...",Ox=(e={},r={})=>{if((p??r.locale??n())==="zh")return SQe(e);return zQe(e)};var LQe=()=>"Model",kQe=()=>"模型",Fx=(e={},r={})=>{if((p??r.locale??n())==="zh")return kQe(e);return LQe(e)};var CQe=()=>"Model created successfully",IQe=()=>"模型创建成功",Lx=(e={},r={})=>{if((p??r.locale??n())==="zh")return IQe(e);return CQe(e)};var RQe=()=>"Model deleted successfully",PQe=()=>"模型删除成功",Zx=(e={},r={})=>{if((p??r.locale??n())==="zh")return PQe(e);return RQe(e)};var TQe=()=>"Model ID",AQe=()=>"模型 ID",og=(e={},r={})=>{if((p??r.locale??n())==="zh")return AQe(e);return TQe(e)};var EQe=()=>"Model ID already exists for this provider",DQe=()=>"此提供商已存在该模型 ID",Bx=(e={},r={})=>{if((p??r.locale??n())==="zh")return DQe(e);return EQe(e)};var OQe=()=>"e.g., gpt-4o, claude-3-5-sonnet-20241022",NQe=()=>"例如:gpt-4o, claude-3-5-sonnet-20241022",Ux=(e={},r={})=>{if((p??r.locale??n())==="zh")return NQe(e);return OQe(e)};var FQe=()=>"Model is required",jQe=()=>"模型为必填项",zx=(e={},r={})=>{if((p??r.locale??n())==="zh")return jQe(e);return FQe(e)};var BQe=()=>"e.g., GPT-4o",UQe=()=>"例如:GPT-4o",jx=(e={},r={})=>{if((p??r.locale??n())==="zh")return UQe(e);return BQe(e)};var YQe=()=>"Model updated successfully",qQe=()=>"模型更新成功",qx=(e={},r={})=>{if((p??r.locale??n())==="zh")return qQe(e);return YQe(e)};var HQe=()=>"Models",VQe=()=>"模型列表",Id=(e={},r={})=>{if((p??r.locale??n())==="zh")return VQe(e);return HQe(e)};var WQe=()=>"Models Configuration",GQe=()=>"模型配置",Hx=(e={},r={})=>{if((p??r.locale??n())==="zh")return GQe(e);return WQe(e)};var KQe=()=>"More options",XQe=()=>"更多选项",ip=(e={},r={})=>{if((p??r.locale??n())==="zh")return XQe(e);return KQe(e)};var QQe=()=>"Move to",JQe=()=>"移动到",sg=(e={},r={})=>{if((p??r.locale??n())==="zh")return JQe(e);return QQe(e)};var $Qe=(e)=>`Moving ${e?.count} item(s)`,eJe=(e)=>`正在移动 ${e?.count} 个项目`,$x=(e,r={})=>{if((p??r.locale??n())==="zh")return eJe(e);return $Qe(e)};var tJe=()=>"MP4 Transcoding",rJe=()=>"MP4 转码",Gx=(e={},r={})=>{if((p??r.locale??n())==="zh")return rJe(e);return tJe(e)};var oJe=()=>"Generate web-compatible MP4 files for file downloads and standard video playback.",aJe=()=>"生成适用于文件下载和标准视频播放的 Web 兼容 MP4 文件。",Vx=(e={},r={})=>{if((p??r.locale??n())==="zh")return aJe(e);return oJe(e)};var nJe=()=>"Multi resolutions",iJe=()=>"多分辨率",Qx=(e={},r={})=>{if((p??r.locale??n())==="zh")return iJe(e);return nJe(e)};var fJe=()=>"Generates selected resolutions up to the source quality.",sJe=()=>"生成选中的不超过源质量的分辨率。",Kx=(e={},r={})=>{if((p??r.locale??n())==="zh")return sJe(e);return fJe(e)};var lJe=()=>"My Tasks",cJe=()=>"我的任务",Wx=(e={},r={})=>{if((p??r.locale??n())==="zh")return cJe(e);return lJe(e)};var uJe=(e)=>`${e?.count} Assets`,dJe=(e)=>`${e?.count} 个资源`,ap=(e,r={})=>{if((p??r.locale??n())==="zh")return dJe(e);return uJe(e)};var ZJe=(e)=>`${e?.count} assets selected`,pJe=(e)=>`已选择 ${e?.count} 个资产`,mJe=(e,r={})=>{if((p??r.locale??n())==="zh")return pJe(e);return ZJe(e)};var hJe=(e)=>`${e?.count} Asset`,gJe=(e)=>`${e?.count} 个资源`,lp=(e,r={})=>{if((p??r.locale??n())==="zh")return gJe(e);return hJe(e)};var MJe=(e)=>`${e?.count} days ago`,xJe=(e)=>`${e?.count} 天前`,kle=(e,r={})=>{if((p??r.locale??n())==="zh")return xJe(e);return MJe(e)};var vJe=(e)=>`${e?.count} day ago`,yJe=(e)=>`${e?.count} 天前`,Cle=(e,r={})=>{if((p??r.locale??n())==="zh")return yJe(e);return vJe(e)};var _Je=(e)=>`${e?.count} days left before permanent deletion`,bJe=(e)=>`永久删除前还剩 ${e?.count} 天`,ig=(e,r={})=>{if((p??r.locale??n())==="zh")return bJe(e);return _Je(e)};var wJe=(e)=>`${e?.count} day left before permanent deletion`,zJe=(e)=>`永久删除前还剩 ${e?.count} 天`,ag=(e,r={})=>{if((p??r.locale??n())==="zh")return zJe(e);return wJe(e)};var SJe=(e)=>`${e?.count} Folders`,LJe=(e)=>`${e?.count} 个文件夹`,cp=(e,r={})=>{if((p??r.locale??n())==="zh")return LJe(e);return SJe(e)};var kJe=(e)=>`${e?.count} Folder`,CJe=(e)=>`${e?.count} 个文件夹`,up=(e,r={})=>{if((p??r.locale??n())==="zh")return CJe(e);return kJe(e)};var IJe=(e)=>`${e?.count} Items`,RJe=(e)=>`${e?.count} 个项目`,lg=(e,r={})=>{if((p??r.locale??n())==="zh")return RJe(e);return IJe(e)};var PJe=(e)=>`${e?.count} Item`,TJe=(e)=>`${e?.count} 个项目`,cg=(e,r={})=>{if((p??r.locale??n())==="zh")return TJe(e);return PJe(e)};var AJe=(e)=>`${e?.count} Models`,EJe=(e)=>`${e?.count} 个模型`,Yx=(e,r={})=>{if((p??r.locale??n())==="zh")return EJe(e);return AJe(e)};var DJe=(e)=>`${e?.count} tasks`,OJe=(e)=>`${e?.count} 个任务`,NJe=(e,r={})=>{if((p??r.locale??n())==="zh")return OJe(e);return DJe(e)};var FJe=(e)=>`${e?.count} task`,jJe=(e)=>`${e?.count} 个任务`,BJe=(e,r={})=>{if((p??r.locale??n())==="zh")return jJe(e);return FJe(e)};var UJe=()=>"Name",YJe=()=>"名称",Sl=(e={},r={})=>{if((p??r.locale??n())==="zh")return YJe(e);return UJe(e)};var qJe=()=>"Name is required",HJe=()=>"名称为必填项",Jx=(e={},r={})=>{if((p??r.locale??n())==="zh")return HJe(e);return qJe(e)};var VJe=()=>"John Doe",WJe=()=>"张三",Xx=(e={},r={})=>{if((p??r.locale??n())==="zh")return WJe(e);return VJe(e)};var GJe=()=>"You need at least one project in your team to upload skills.",KJe=()=>"您的团队中至少需要一个项目才能上传技能。",eS=(e={},r={})=>{if((p??r.locale??n())==="zh")return KJe(e);return GJe(e)};var XJe=()=>"Network Sandbox",QJe=()=>"网络沙箱",tS=(e={},r={})=>{if((p??r.locale??n())==="zh")return QJe(e);return XJe(e)};var JJe=()=>"Configure domain access controls for the sandboxed agent.",$Je=()=>"配置沙箱智能体的域名访问控制。",rS=(e={},r={})=>{if((p??r.locale??n())==="zh")return $Je(e);return JJe(e)};var e$e=()=>"Network Sandbox is currently OFF. All outbound network requests from agent scripts are permitted without restrictions.",t$e=()=>"网络沙箱目前处于关闭状态。智能体脚本的所有出站网络请求均不受限制。",nS=(e={},r={})=>{if((p??r.locale??n())==="zh")return t$e(e);return e$e(e)};var r$e=()=>"When enabled, network requests from the agent are restricted to allowed domains. When disabled, all network requests are permitted.",o$e=()=>"启用后,智能体的网络请求将受限于允许的域名列表。禁用时,允许所有网络请求。",oS=(e={},r={})=>{if((p??r.locale??n())==="zh")return o$e(e);return r$e(e)};var a$e=()=>"New Chat",n$e=()=>"开启新会话",ug=(e={},r={})=>{if((p??r.locale??n())==="zh")return n$e(e);return a$e(e)};var i$e=()=>"New Field",f$e=()=>"新建字段",sS=(e={},r={})=>{if((p??r.locale??n())==="zh")return f$e(e);return i$e(e)};var s$e=()=>"New Field",l$e=()=>"新字段",iS=(e={},r={})=>{if((p??r.locale??n())==="zh")return l$e(e);return s$e(e)};var c$e=()=>"New Folder",u$e=()=>"新建文件夹",El=(e={},r={})=>{if((p??r.locale??n())==="zh")return u$e(e);return c$e(e)};var d$e=()=>"New Goal",Z$e=()=>"新建目标",dg=(e={},r={})=>{if((p??r.locale??n())==="zh")return Z$e(e);return d$e(e)};var p$e=()=>"New",m$e=()=>"新建",aS=(e={},r={})=>{if((p??r.locale??n())==="zh")return m$e(e);return p$e(e)};var h$e=()=>"New Option",g$e=()=>"新选项",Td=(e={},r={})=>{if((p??r.locale??n())==="zh")return g$e(e);return h$e(e)};var M$e=()=>"New Password",x$e=()=>"新密码",lS=(e={},r={})=>{if((p??r.locale??n())==="zh")return x$e(e);return M$e(e)};var v$e=()=>"Enter new password",y$e=()=>"输入新密码",cS=(e={},r={})=>{if((p??r.locale??n())==="zh")return y$e(e);return v$e(e)};var _$e=()=>"Next file",b$e=()=>"下一个文件",fg=(e={},r={})=>{if((p??r.locale??n())==="zh")return b$e(e);return _$e(e)};var w$e=()=>"Next Page",z$e=()=>"下一页",uS=(e={},r={})=>{if((p??r.locale??n())==="zh")return z$e(e);return w$e(e)};var S$e=()=>"Don't have an account? ",L$e=()=>"还没有账户?",k$e=(e={},r={})=>{if((p??r.locale??n())==="zh")return L$e(e);return S$e(e)};var C$e=()=>"No activity recorded yet",I$e=()=>"暂无活动记录",R$e=(e={},r={})=>{if((p??r.locale??n())==="zh")return I$e(e);return C$e(e)};var P$e=(e)=>`No ${e?.type} agents found`,T$e=(e)=>`未找到${e?.type}智能体`,dS=(e,r={})=>{if((p??r.locale??n())==="zh")return T$e(e);return P$e(e)};var A$e=()=>"No API tokens found. Generate one above to get started.",E$e=()=>"未找到 API 令牌。请在上方生成一个以开始使用。",fS=(e={},r={})=>{if((p??r.locale??n())==="zh")return E$e(e);return A$e(e)};var D$e=()=>"No assets in this folder",O$e=()=>"此文件夹中没有资产",N$e=(e={},r={})=>{if((p??r.locale??n())==="zh")return O$e(e);return D$e(e)};var F$e=()=>"No audit logs found",j$e=()=>"未找到审计日志",pS=(e={},r={})=>{if((p??r.locale??n())==="zh")return j$e(e);return F$e(e)};var B$e=()=>"No chat agents found. Please create a Chat Agent below first.",U$e=()=>"未找到聊天智能体。请先在下方创建聊天智能体。",mS=(e={},r={})=>{if((p??r.locale??n())==="zh")return U$e(e);return B$e(e)};var Y$e=()=>"No collections created yet.",q$e=()=>"暂无媒体合集。",hS=(e={},r={})=>{if((p??r.locale??n())==="zh")return q$e(e);return Y$e(e)};var H$e=()=>"No comments yet",V$e=()=>"暂无评论",pg=(e={},r={})=>{if((p??r.locale??n())==="zh")return V$e(e);return H$e(e)};var W$e=()=>"No custom domains allowed",G$e=()=>"没有自定义允许域名",gS=(e={},r={})=>{if((p??r.locale??n())==="zh")return G$e(e);return W$e(e)};var K$e=()=>"No description provided.",X$e=()=>"暂无描述。",mg=(e={},r={})=>{if((p??r.locale??n())==="zh")return X$e(e);return K$e(e)};var Q$e=()=>'No environment variables found. Click "Add Variable" to create one.',J$e=()=>'未找到环境变量。点击"添加变量"创建一个。',AS=(e={},r={})=>{if((p??r.locale??n())==="zh")return J$e(e);return Q$e(e)};var $$e=()=>"No fields found",eet=()=>"未找到字段",_S=(e={},r={})=>{if((p??r.locale??n())==="zh")return eet(e);return $$e(e)};var tet=()=>"No folder selected",ret=()=>"未选择文件夹",oet=(e={},r={})=>{if((p??r.locale??n())==="zh")return ret(e);return tet(e)};var aet=()=>"No Folder Structure",net=()=>"无文件夹结构",hg=(e={},r={})=>{if((p??r.locale??n())==="zh")return net(e);return aet(e)};var iet=()=>"No goals yet",fet=()=>"暂无目标",yS=(e={},r={})=>{if((p??r.locale??n())==="zh")return fet(e);return iet(e)};var set=()=>"No chat history found.",cet=()=>"暂无历史会话记录",bS=(e={},r={})=>{if((p??r.locale??n())==="zh")return cet(e);return set(e)};var uet=()=>"No item selected",det=()=>"未选择项目",vS=(e={},r={})=>{if((p??r.locale??n())==="zh")return det(e);return uet(e)};var Zet=()=>"No tasks linked to this asset",pet=()=>"该资产暂无关联任务",met=(e={},r={})=>{if((p??r.locale??n())==="zh")return pet(e);return Zet(e)};var het=()=>"No logs found for this session.",get=()=>"未找到此会话的日志。",wS=(e={},r={})=>{if((p??r.locale??n())==="zh")return get(e);return het(e)};var Met=()=>"No matches found",xet=()=>"未找到匹配结果",gg=(e={},r={})=>{if((p??r.locale??n())==="zh")return xet(e);return Met(e)};var vet=()=>"No matching tasks found",yet=()=>"未找到匹配的任务",Ile=(e={},r={})=>{if((p??r.locale??n())==="zh")return yet(e);return vet(e)};var _et=()=>"No MCP servers configured",bet=()=>"暂未配置 MCP 服务",Ag=(e={},r={})=>{if((p??r.locale??n())==="zh")return bet(e);return _et(e)};var wet=()=>"No models found",zet=()=>"未找到模型",Md=(e={},r={})=>{if((p??r.locale??n())==="zh")return zet(e);return wet(e)};var Let=()=>"No notifications",ket=()=>"暂无通知",Cet=(e={},r={})=>{if((p??r.locale??n())==="zh")return ket(e);return Let(e)};var Iet=()=>"No options found",Ret=()=>"未找到选项",_g=(e={},r={})=>{if((p??r.locale??n())==="zh")return Ret(e);return Iet(e)};var Pet=()=>"No pending domains requiring approval",Tet=()=>"没有待审核的域名",xS=(e={},r={})=>{if((p??r.locale??n())==="zh")return Tet(e);return Pet(e)};var Aet=()=>"No project selected",Eet=()=>"未选择项目",Rle=(e={},r={})=>{if((p??r.locale??n())==="zh")return Eet(e);return Aet(e)};var Det=()=>"No Providers Configured",Oet=()=>"暂无已配置的提供商",SS=(e={},r={})=>{if((p??r.locale??n())==="zh")return Oet(e);return Det(e)};var Net=()=>"No providers found",Fet=()=>"未找到提供商",ES=(e={},r={})=>{if((p??r.locale??n())==="zh")return Fet(e);return Net(e)};var jet=()=>"Set limits on AI tokens, costs, skill executions, and agent tool calls to manage team usage.",Bet=()=>"为 AI Token、费用、MCP 服务和智能体工具调用设置限制,以便管理团队的使用情况。",dp=(e={},r={})=>{if((p??r.locale??n())==="zh")return Bet(e);return jet(e)};var Uet=()=>"No resource quotas configured",Yet=()=>"暂未配置资源配额",fp=(e={},r={})=>{if((p??r.locale??n())==="zh")return Yet(e);return Uet(e)};var qet=()=>"No recently viewed files",Het=()=>"暂无最近浏览文件",pp=(e={},r={})=>{if((p??r.locale??n())==="zh")return Het(e);return qet(e)};var Vet=()=>"Files you view in this project will appear here.",Wet=()=>"您在此项目中查看的文件将显示在此处。",mp=(e={},r={})=>{if((p??r.locale??n())==="zh")return Wet(e);return Vet(e)};var Get=()=>"No records matched your criteria",Ket=()=>"没有记录匹配您的条件",CS=(e={},r={})=>{if((p??r.locale??n())==="zh")return Ket(e);return Get(e)};var Xet=()=>"No related assets linked",Qet=()=>"暂无关联资产",Jet=(e={},r={})=>{if((p??r.locale??n())==="zh")return Qet(e);return Xet(e)};var $et=()=>"No sessions found",ett=()=>"未找到会话",IS=(e={},r={})=>{if((p??r.locale??n())==="zh")return ett(e);return $et(e)};var ttt=()=>"No share links created yet.",rtt=()=>"暂无分享链接。",TS=(e={},r={})=>{if((p??r.locale??n())==="zh")return rtt(e);return ttt(e)};var ott=()=>"No skills available.",att=()=>"暂无可用技能。",MS=(e={},r={})=>{if((p??r.locale??n())==="zh")return att(e);return ott(e)};var ntt=()=>"No skills installed",itt=()=>"暂无已安装的技能",kS=(e={},r={})=>{if((p??r.locale??n())==="zh")return itt(e);return ntt(e)};var ftt=()=>"No tasks in this column",stt=()=>"该列暂无任务",RS=(e={},r={})=>{if((p??r.locale??n())==="zh")return stt(e);return ftt(e)};var ltt=()=>"No saved templates",ctt=()=>"没有保存的模板",PS=(e={},r={})=>{if((p??r.locale??n())==="zh")return ctt(e);return ltt(e)};var utt=()=>"No tools found matching your search.",dtt=()=>"未找到符合搜索条件的工具。",NS=(e={},r={})=>{if((p??r.locale??n())==="zh")return dtt(e);return utt(e)};var Ztt=()=>"Upload files in the project view to track progress here.",ptt=()=>"在项目视图中上传文件以在此处跟踪进度。",mtt=(e={},r={})=>{if((p??r.locale??n())==="zh")return ptt(e);return Ztt(e)};var htt=()=>"No uploads yet",gtt=()=>"暂无上传",Mtt=(e={},r={})=>{if((p??r.locale??n())==="zh")return gtt(e);return htt(e)};var xtt=()=>"No versions found",vtt=()=>"暂无版本",ytt=(e={},r={})=>{if((p??r.locale??n())==="zh")return vtt(e);return xtt(e)};var _tt=()=>"No watermark blocks added yet",btt=()=>"尚未添加水印块",DS=(e={},r={})=>{if((p??r.locale??n())==="zh")return btt(e);return _tt(e)};var wtt=()=>"Notification",ztt=()=>"通知",OS=(e={},r={})=>{if((p??r.locale??n())==="zh")return ztt(e);return wtt(e)};var Stt=(e)=>`${e?.creator} commented on ${e?.asset}`,Ltt=(e)=>`${e?.creator} 评论了 ${e?.asset}`,ktt=(e,r={})=>{if((p??r.locale??n())==="zh")return Ltt(e);return Stt(e)};var Ctt=(e)=>`New notification from ${e?.creator}`,Itt=(e)=>`来自 ${e?.creator} 的新通知`,Rtt=(e,r={})=>{if((p??r.locale??n())==="zh")return Itt(e);return Ctt(e)};var Ptt=(e)=>`${e?.user} joined ${e?.project}`,Ttt=(e)=>`${e?.user} 加入了 ${e?.project}`,Att=(e,r={})=>{if((p??r.locale??n())==="zh")return Ttt(e);return Ptt(e)};var Ett=(e)=>`${e?.user} joined ${e?.team}`,Dtt=(e)=>`${e?.user} 加入了 ${e?.team}`,Ott=(e,r={})=>{if((p??r.locale??n())==="zh")return Dtt(e);return Ett(e)};var Ntt=(e)=>`${e?.creator} assigned you to task ${e?.task}`,Ftt=(e)=>`${e?.creator} 将任务 ${e?.task} 分配给了你`,jtt=(e,r={})=>{if((p??r.locale??n())==="zh")return Ftt(e);return Ntt(e)};var Btt=(e)=>`${e?.creator} commented on task ${e?.task}`,Utt=(e)=>`${e?.creator} 评论了任务 ${e?.task}`,Ytt=(e,r={})=>{if((p??r.locale??n())==="zh")return Utt(e);return Btt(e)};var qtt=(e)=>`${e?.creator} created task ${e?.task}`,Htt=(e)=>`${e?.creator} 创建了任务 ${e?.task}`,Vtt=(e,r={})=>{if((p??r.locale??n())==="zh")return Htt(e);return qtt(e)};var Wtt=(e)=>`${e?.creator} deleted task ${e?.task}`,Gtt=(e)=>`${e?.creator} 删除了任务 ${e?.task}`,Ktt=(e,r={})=>{if((p??r.locale??n())==="zh")return Gtt(e);return Wtt(e)};var Xtt=(e)=>`${e?.creator} updated status of task ${e?.task}`,Qtt=(e)=>`${e?.creator} 更新了任务 ${e?.task} 的状态`,Jtt=(e,r={})=>{if((p??r.locale??n())==="zh")return Qtt(e);return Xtt(e)};var $tt=(e)=>`${e?.creator} updated task ${e?.task}`,ert=(e)=>`${e?.creator} 更新了任务 ${e?.task}`,trt=(e,r={})=>{if((p??r.locale??n())==="zh")return ert(e);return $tt(e)};var rrt=(e)=>`${e?.creator} mentioned you in ${e?.asset}`,ort=(e)=>`${e?.creator} 在 ${e?.asset} 中提及了你`,art=(e,r={})=>{if((p??r.locale??n())==="zh")return ort(e);return rrt(e)};var nrt=(e)=>`${e?.creator} mentioned you in task ${e?.task}`,irt=(e)=>`${e?.creator} 在任务 ${e?.task} 中提及了你`,frt=(e,r={})=>{if((p??r.locale??n())==="zh")return irt(e);return nrt(e)};var srt=(e)=>`${e?.creator} replied to a comment on ${e?.asset}`,lrt=(e)=>`${e?.creator} 回复了 ${e?.asset} 上的评论`,crt=(e,r={})=>{if((p??r.locale??n())==="zh")return lrt(e);return srt(e)};var urt=()=>"Notification Settings",drt=()=>"通知设置",FS=(e={},r={})=>{if((p??r.locale??n())==="zh")return drt(e);return urt(e)};var Zrt=()=>"Notification settings updated",prt=()=>"通知设置已更新",LS=(e={},r={})=>{if((p??r.locale??n())==="zh")return prt(e);return Zrt(e)};var mrt=(e)=>`${e?.creator} updated status of ${e?.asset}`,hrt=(e)=>`${e?.creator} 更新了 ${e?.asset} 的状态`,grt=(e,r={})=>{if((p??r.locale??n())==="zh")return hrt(e);return mrt(e)};var Mrt=(e)=>`${e?.creator} uploaded ${e?.asset} to ${e?.project}`,xrt=(e)=>`${e?.creator} 将 ${e?.asset} 上传到 ${e?.project}`,vrt=(e,r={})=>{if((p??r.locale??n())==="zh")return xrt(e);return Mrt(e)};var yrt=()=>"Notifications",_rt=()=>"通知",yg=(e={},r={})=>{if((p??r.locale??n())==="zh")return _rt(e);return yrt(e)};var brt=()=>"Configure your personal notification preferences for this team.",wrt=()=>"配置您在此团队的个人通知偏好。",ZS=(e={},r={})=>{if((p??r.locale??n())==="zh")return wrt(e);return brt(e)};var zrt=()=>"Only team owners can access the dashboard.",Srt=()=>"只有团队所有者才能访问仪表盘。",BS=(e={},r={})=>{if((p??r.locale??n())==="zh")return Srt(e);return zrt(e)};var Lrt=()=>"Only .zip files are supported.",krt=()=>"仅支持 .zip 文件。",US=(e={},r={})=>{if((p??r.locale??n())==="zh")return krt(e);return Lrt(e)};var Crt=()=>"Opacity",Irt=()=>"透明度",zS=(e={},r={})=>{if((p??r.locale??n())==="zh")return Irt(e);return Crt(e)};var Rrt=()=>"Open a supported file to add markup",Prt=()=>"打开支持的文件以添加标注",jS=(e={},r={})=>{if((p??r.locale??n())==="zh")return Prt(e);return Rrt(e)};var Trt=()=>"Open Share Link",Art=()=>"打开分享链接",qS=(e={},r={})=>{if((p??r.locale??n())==="zh")return Art(e);return Trt(e)};var Ert=()=>"Operator",Drt=()=>"运算符",HS=(e={},r={})=>{if((p??r.locale??n())==="zh")return Drt(e);return Ert(e)};var Ort=()=>"contains",Nrt=()=>"包含",$S=(e={},r={})=>{if((p??r.locale??n())==="zh")return Nrt(e);return Ort(e)};var Frt=()=>"does not contain",jrt=()=>"不包含",GS=(e={},r={})=>{if((p??r.locale??n())==="zh")return jrt(e);return Frt(e)};var Brt=()=>"has all of",Urt=()=>"含有全部",VS=(e={},r={})=>{if((p??r.locale??n())==="zh")return Urt(e);return Brt(e)};var Yrt=()=>"has any of",qrt=()=>"含有其中之一",QS=(e={},r={})=>{if((p??r.locale??n())==="zh")return qrt(e);return Yrt(e)};var Hrt=()=>"has none of",Vrt=()=>"不含有其中任何",KS=(e={},r={})=>{if((p??r.locale??n())==="zh")return Vrt(e);return Hrt(e)};var Wrt=()=>"is",Grt=()=>"是",Cl=(e={},r={})=>{if((p??r.locale??n())==="zh")return Grt(e);return Wrt(e)};var Krt=()=>"is after",Xrt=()=>"在之后",WS=(e={},r={})=>{if((p??r.locale??n())==="zh")return Xrt(e);return Krt(e)};var Qrt=()=>"is any of",Jrt=()=>"是其中之一",YS=(e={},r={})=>{if((p??r.locale??n())==="zh")return Jrt(e);return Qrt(e)};var $rt=()=>"is before",eot=()=>"在之前",JS=(e={},r={})=>{if((p??r.locale??n())==="zh")return eot(e);return $rt(e)};var tot=()=>"is empty",rot=()=>"为空",Il=(e={},r={})=>{if((p??r.locale??n())==="zh")return rot(e);return tot(e)};var oot=()=>"is exactly",aot=()=>"完全匹配",XS=(e={},r={})=>{if((p??r.locale??n())==="zh")return aot(e);return oot(e)};var not=()=>"is none of",iot=()=>"不在其中",eE=(e={},r={})=>{if((p??r.locale??n())==="zh")return iot(e);return not(e)};var fot=()=>"is not",sot=()=>"不是",kd=(e={},r={})=>{if((p??r.locale??n())==="zh")return sot(e);return fot(e)};var lot=()=>"is not empty",cot=()=>"不为空",Tl=(e={},r={})=>{if((p??r.locale??n())==="zh")return cot(e);return lot(e)};var uot=()=>"is on or after",dot=()=>"在当天或之后",tE=(e={},r={})=>{if((p??r.locale??n())==="zh")return dot(e);return uot(e)};var Zot=()=>"is on or before",pot=()=>"在当天或之前",rE=(e={},r={})=>{if((p??r.locale??n())==="zh")return pot(e);return Zot(e)};var mot=()=>"is within",hot=()=>"在范围内",nE=(e={},r={})=>{if((p??r.locale??n())==="zh")return hot(e);return mot(e)};var got=()=>"Option name",Mot=()=>"选项名称",hp=(e={},r={})=>{if((p??r.locale??n())==="zh")return Mot(e);return got(e)};var xot=()=>"Optional default value...",vot=()=>"可选默认值...",oE=(e={},r={})=>{if((p??r.locale??n())==="zh")return vot(e);return xot(e)};var yot=()=>"Options",_ot=()=>"选项",Rd=(e={},r={})=>{if((p??r.locale??n())==="zh")return _ot(e);return yot(e)};var bot=()=>"OR",wot=()=>"或",bg=(e={},r={})=>{if((p??r.locale??n())==="zh")return wot(e);return bot(e)};var zot=()=>"Order",Sot=()=>"顺序",gp=(e={},r={})=>{if((p??r.locale??n())==="zh")return Sot(e);return zot(e)};var Lot=()=>"Original",kot=()=>"原始",Fa=(e={},r={})=>{if((p??r.locale??n())==="zh")return kot(e);return Lot(e)};var Cot=()=>"Other Uploads",Iot=()=>"其他上传",sE=(e={},r={})=>{if((p??r.locale??n())==="zh")return Iot(e);return Cot(e)};var Rot=()=>"Output Cost (1M)",Pot=()=>"输出成本(每百万)",iE=(e={},r={})=>{if((p??r.locale??n())==="zh")return Pot(e);return Rot(e)};var Tot=()=>"Output Tokens",Aot=()=>"输出 Token",vg=(e={},r={})=>{if((p??r.locale??n())==="zh")return Aot(e);return Tot(e)};var Eot=()=>"Override the default endpoint.",Dot=()=>"覆盖默认端点。",wg=(e={},r={})=>{if((p??r.locale??n())==="zh")return Dot(e);return Eot(e)};var Oot=()=>"Do you want to override the existing skill?",Not=()=>"你想覆盖现有技能吗?",aE=(e={},r={})=>{if((p??r.locale??n())==="zh")return Not(e);return Oot(e)};var Fot=()=>"Overwrite Existing Template",jot=()=>"覆盖现有模板",xg=(e={},r={})=>{if((p??r.locale??n())==="zh")return jot(e);return Fot(e)};var Bot=()=>"Owner",Uot=()=>"管理员",Vc=(e={},r={})=>{if((p??r.locale??n())==="zh")return Uot(e);return Bot(e)};var Yot=()=>"Package Upload",qot=()=>"包上传",lE=(e={},r={})=>{if((p??r.locale??n())==="zh")return qot(e);return Yot(e)};var Hot=()=>"Packages must contain a SKILL.md",Vot=()=>"包必须包含 SKILL.md",cE=(e={},r={})=>{if((p??r.locale??n())==="zh")return Vot(e);return Hot(e)};var Wot=(e)=>`Page ${e?.current} of ${e?.total}`,Got=(e)=>`第 ${e?.current} / ${e?.total} 页`,uE=(e,r={})=>{if((p??r.locale??n())==="zh")return Got(e);return Wot(e)};var Kot=(e)=>`Page ${e?.page}`,Xot=(e)=>`第 ${e?.page} 页`,Sg=(e,r={})=>{if((p??r.locale??n())==="zh")return Xot(e);return Kot(e)};var Qot=()=>"Parameters",Jot=()=>"参数",dE=(e={},r={})=>{if((p??r.locale??n())==="zh")return Jot(e);return Qot(e)};var $ot=()=>"Parent Tasks",eat=()=>"前置任务",Eg=(e={},r={})=>{if((p??r.locale??n())==="zh")return eat(e);return $ot(e)};var tat=()=>"Password",rat=()=>"密码",Ap=(e={},r={})=>{if((p??r.locale??n())==="zh")return rat(e);return tat(e)};var oat=()=>"Password is required",aat=()=>"密码为必填项",nat=(e={},r={})=>{if((p??r.locale??n())==="zh")return aat(e);return oat(e)};var iat=()=>"Password must be at least 3 characters",fat=()=>"密码至少需要 3 个字符",_p=(e={},r={})=>{if((p??r.locale??n())==="zh")return fat(e);return iat(e)};var sat=()=>"At least 3 characters",lat=()=>"至少 3 个字符",cat=(e={},r={})=>{if((p??r.locale??n())==="zh")return lat(e);return sat(e)};var uat=()=>"Your password",dat=()=>"请输入密码",Zat=(e={},r={})=>{if((p??r.locale??n())==="zh")return dat(e);return uat(e)};var pat=()=>"Password Protected",mat=()=>"密码保护",fE=(e={},r={})=>{if((p??r.locale??n())==="zh")return mat(e);return pat(e)};var hat=()=>"Password reset successfully!",gat=()=>"密码重置成功!",pE=(e={},r={})=>{if((p??r.locale??n())==="zh")return gat(e);return hat(e)};var Mat=()=>"You will be redirected to the login page shortly.",xat=()=>"您将很快被重定向到登录页面。",mE=(e={},r={})=>{if((p??r.locale??n())==="zh")return xat(e);return Mat(e)};var vat=()=>"Passwords do not match",yat=()=>"两次输入的密码不一致",hE=(e={},r={})=>{if((p??r.locale??n())==="zh")return yat(e);return vat(e)};var _at=()=>"Pending Domain Approvals",bat=()=>"待审核域名",gE=(e={},r={})=>{if((p??r.locale??n())==="zh")return bat(e);return _at(e)};var wat=()=>"These domains were blocked during agent execution. You can approve them to allow future network requests, or delete them from this list.",zat=()=>"这些域名在智能体执行期间被阻止。您可以批准它们以允许将来的网络请求,或从此列表中删除它们。",AE=(e={},r={})=>{if((p??r.locale??n())==="zh")return zat(e);return wat(e)};var Sat=()=>"All Users",Lat=()=>"所有成员",La=(e={},r={})=>{if((p??r.locale??n())==="zh")return Lat(e);return Sat(e)};var kat=()=>"Owner & Editor",Cat=()=>"管理员与编辑",Za=(e={},r={})=>{if((p??r.locale??n())==="zh")return Cat(e);return kat(e)};var Iat=()=>"Owner Only",Rat=()=>"仅管理员",Ba=(e={},r={})=>{if((p??r.locale??n())==="zh")return Rat(e);return Iat(e)};var Pat=()=>"Personal Info",Tat=()=>"个人信息",_E=(e={},r={})=>{if((p??r.locale??n())==="zh")return Tat(e);return Pat(e)};var Aat=()=>"Manage your profile name and avatar image.",Eat=()=>"管理您的个人资料名称和头像图片。",yE=(e={},r={})=>{if((p??r.locale??n())==="zh")return Eat(e);return Aat(e)};var Dat=()=>"Personal Settings",Oat=()=>"个人设置",bE=(e={},r={})=>{if((p??r.locale??n())==="zh")return Oat(e);return Dat(e)};var Nat=()=>"Playback Speed",Fat=()=>"播放速度",vE=(e={},r={})=>{if((p??r.locale??n())==="zh")return Fat(e);return Nat(e)};var jat=()=>"Position and resize",Bat=()=>"定位和调整大小",wE=(e={},r={})=>{if((p??r.locale??n())==="zh")return Bat(e);return jat(e)};var Uat=()=>"Position X (%)",Yat=()=>"水平位置 (%)",xE=(e={},r={})=>{if((p??r.locale??n())==="zh")return Yat(e);return Uat(e)};var qat=()=>"Position Y (%)",Hat=()=>"垂直位置 (%)",SE=(e={},r={})=>{if((p??r.locale??n())==="zh")return Hat(e);return qat(e)};var Vat=()=>"Preparing...",Wat=()=>"准备中...",EE=(e={},r={})=>{if((p??r.locale??n())==="zh")return Wat(e);return Vat(e)};var Gat=()=>"Preparing Download",Kat=()=>"正在准备下载",Cg=(e={},r={})=>{if((p??r.locale??n())==="zh")return Kat(e);return Gat(e)};var Xat=()=>"Preparing download links...",Qat=()=>"正在准备下载链接...",Ig=(e={},r={})=>{if((p??r.locale??n())==="zh")return Qat(e);return Xat(e)};var Jat=()=>"Preset Avatar Option",$at=()=>"预设头像选项",CE=(e={},r={})=>{if((p??r.locale??n())==="zh")return $at(e);return Jat(e)};var ent=()=>"Previous file",tnt=()=>"上一个文件",Tg=(e={},r={})=>{if((p??r.locale??n())==="zh")return tnt(e);return ent(e)};var rnt=()=>"Previous Page",ont=()=>"上一页",yp=(e={},r={})=>{if((p??r.locale??n())==="zh")return ont(e);return rnt(e)};var ant=()=>"Pricing ($ per 1M tokens)",nnt=()=>"计费(每百万令牌美元)",IE=(e={},r={})=>{if((p??r.locale??n())==="zh")return nnt(e);return ant(e)};var int=()=>"High",fnt=()=>"高",snt=(e={},r={})=>{if((p??r.locale??n())==="zh")return fnt(e);return int(e)};var lnt=()=>"Low",cnt=()=>"低",unt=(e={},r={})=>{if((p??r.locale??n())==="zh")return cnt(e);return lnt(e)};var dnt=()=>"Medium",Znt=()=>"中",pnt=(e={},r={})=>{if((p??r.locale??n())==="zh")return Znt(e);return dnt(e)};var mnt=()=>"Urgent",hnt=()=>"紧急",gnt=(e={},r={})=>{if((p??r.locale??n())==="zh")return hnt(e);return mnt(e)};var Mnt=()=>"Processing...",xnt=()=>"处理中...",TE=(e={},r={})=>{if((p??r.locale??n())==="zh")return xnt(e);return Mnt(e)};var vnt=()=>"Processing failed",ynt=()=>"处理失败",Mg=(e={},r={})=>{if((p??r.locale??n())==="zh")return ynt(e);return vnt(e)};var _nt=()=>"(Processing failed)",bnt=()=>"(处理失败)",ME=(e={},r={})=>{if((p??r.locale??n())==="zh")return bnt(e);return _nt(e)};var wnt=()=>"Processing package...",znt=()=>"正在处理包...",kE=(e={},r={})=>{if((p??r.locale??n())==="zh")return znt(e);return wnt(e)};var Snt=()=>"Profile updated successfully",Lnt=()=>"个人资料更新成功",kg=(e={},r={})=>{if((p??r.locale??n())==="zh")return Lnt(e);return Snt(e)};var knt=()=>"project",Cnt=()=>"项目",RE=(e={},r={})=>{if((p??r.locale??n())==="zh")return Cnt(e);return knt(e)};var Int=()=>"Project Cover",Rnt=()=>"项目封面",PE=(e={},r={})=>{if((p??r.locale??n())==="zh")return Rnt(e);return Int(e)};var Pnt=()=>"Project ID",Tnt=()=>"项目 ID",NE=(e={},r={})=>{if((p??r.locale??n())==="zh")return Tnt(e);return Pnt(e)};var Ant=()=>"Project Member",Ent=()=>"项目成员",bp=(e={},r={})=>{if((p??r.locale??n())==="zh")return Ent(e);return Ant(e)};var Dnt=()=>"Project-scoped member roles are managed within individual project settings",Ont=()=>"项目成员的角色需在具体的项目设置中管理",DE=(e={},r={})=>{if((p??r.locale??n())==="zh")return Ont(e);return Dnt(e)};var Nnt=()=>"Project Members",Fnt=()=>"项目成员",OE=(e={},r={})=>{if((p??r.locale??n())==="zh")return Fnt(e);return Nnt(e)};var jnt=()=>"Project Name",Bnt=()=>"项目名称",FE=(e={},r={})=>{if((p??r.locale??n())==="zh")return Bnt(e);return jnt(e)};var Unt=()=>"A clear, concise name to identify your project space.",Ynt=()=>"简洁明了的名称,用于标识您的项目空间。",LE=(e={},r={})=>{if((p??r.locale??n())==="zh")return Ynt(e);return Unt(e)};var qnt=()=>"e.g. Acme Marketing, Q3 Product Launch...",Hnt=()=>"例如:品牌营销、第三季度产品发布...",ZE=(e={},r={})=>{if((p??r.locale??n())==="zh")return Hnt(e);return qnt(e)};var Vnt=()=>"Project notification settings updated",Wnt=()=>"项目通知设置已更新",BE=(e={},r={})=>{if((p??r.locale??n())==="zh")return Wnt(e);return Vnt(e)};var Gnt=()=>"Project Preferences",Knt=()=>"项目偏好设置",UE=(e={},r={})=>{if((p??r.locale??n())==="zh")return Knt(e);return Gnt(e)};var Xnt=()=>"Project Settings",Qnt=()=>"项目设置",Rg=(e={},r={})=>{if((p??r.locale??n())==="zh")return Qnt(e);return Xnt(e)};var Jnt=()=>"Projects",$nt=()=>"项目",zE=(e={},r={})=>{if((p??r.locale??n())==="zh")return $nt(e);return Jnt(e)};var eit=()=>"Please provide your name and email to add a comment.",tit=()=>"请提供您的姓名和邮箱以添加评论。",jE=(e={},r={})=>{if((p??r.locale??n())==="zh")return tit(e);return eit(e)};var rit=()=>"Provider",oit=()=>"提供商",qE=(e={},r={})=>{if((p??r.locale??n())==="zh")return oit(e);return rit(e)};var ait=()=>"Provider created successfully",nit=()=>"提供商创建成功",HE=(e={},r={})=>{if((p??r.locale??n())==="zh")return nit(e);return ait(e)};var iit=()=>"Provider deleted successfully",fit=()=>"提供商删除成功",$E=(e={},r={})=>{if((p??r.locale??n())==="zh")return fit(e);return iit(e)};var sit=()=>"Provider is required",lit=()=>"提供商为必填项",GE=(e={},r={})=>{if((p??r.locale??n())==="zh")return lit(e);return sit(e)};var cit=()=>"Provider Name",uit=()=>"提供商名称",Pg=(e={},r={})=>{if((p??r.locale??n())==="zh")return uit(e);return cit(e)};var dit=()=>"Provider name is required",Zit=()=>"提供商名称为必填项",Ng=(e={},r={})=>{if((p??r.locale??n())==="zh")return Zit(e);return dit(e)};var pit=()=>"Provider name must be unique",mit=()=>"提供商名称必须唯一",Dg=(e={},r={})=>{if((p??r.locale??n())==="zh")return mit(e);return pit(e)};var hit=()=>"e.g., My OpenAI",git=()=>"例如:我的 OpenAI",Og=(e={},r={})=>{if((p??r.locale??n())==="zh")return git(e);return hit(e)};var Mit=()=>"This provider is not configured. Configure an API key in the API Key tab before using these models.",xit=()=>"此提供商尚未配置。在使用这些模型前,请在 API 密钥标签页中配置密钥。",VE=(e={},r={})=>{if((p??r.locale??n())==="zh")return xit(e);return Mit(e)};var vit=()=>"Configured (Custom)",yit=()=>"已配置(自定义)",Fg=(e={},r={})=>{if((p??r.locale??n())==="zh")return yit(e);return vit(e)};var _it=()=>"Configured (Environment)",bit=()=>"已配置(环境变量)",Lg=(e={},r={})=>{if((p??r.locale??n())==="zh")return bit(e);return _it(e)};var wit=()=>"Not Configured",zit=()=>"未配置",Zg=(e={},r={})=>{if((p??r.locale??n())==="zh")return zit(e);return wit(e)};var Sit=()=>"Provider updated successfully",Lit=()=>"提供商更新成功",Bg=(e={},r={})=>{if((p??r.locale??n())==="zh")return Lit(e);return Sit(e)};var kit=()=>"Providers",Cit=()=>"提供商",QE=(e={},r={})=>{if((p??r.locale??n())==="zh")return Cit(e);return kit(e)};var Iit=()=>"Configure AI providers and their models for this team.",Rit=()=>"为此团队配置 AI 提供商及其模型。",KE=(e={},r={})=>{if((p??r.locale??n())==="zh")return Rit(e);return Iit(e)};var Pit=()=>"Public Link",Tit=()=>"公开链接",WE=(e={},r={})=>{if((p??r.locale??n())==="zh")return Tit(e);return Pit(e)};var Ait=()=>"Quality",Eit=()=>"画质",Ug=(e={},r={})=>{if((p??r.locale??n())==="zh")return Eit(e);return Ait(e)};var Dit=()=>"Auto",Oit=()=>"自动",Ml=(e={},r={})=>{if((p??r.locale??n())==="zh")return Oit(e);return Dit(e)};var Nit=()=>"Querying database...",Fit=()=>"正在查询数据库...",YE=(e={},r={})=>{if((p??r.locale??n())==="zh")return Fit(e);return Nit(e)};var jit=()=>"Quota available",Bit=()=>"配额可用",zg=(e={},r={})=>{if((p??r.locale??n())==="zh")return Bit(e);return jit(e)};var Uit=()=>"Supports wildcards (*). Examples: git *, npm test, curl *, python script.py (use * for all commands)",Yit=()=>"支持通配符 (*)。示例:git *、npm test、curl *、python script.py(使用 * 匹配所有命令)",JE=(e={},r={})=>{if((p??r.locale??n())==="zh")return Yit(e);return Uit(e)};var qit=()=>"Collapse quota rule",Hit=()=>"收起配额规则",XE=(e={},r={})=>{if((p??r.locale??n())==="zh")return Hit(e);return qit(e)};var Vit=()=>"Quota rule created successfully",Wit=()=>"配额规则创建成功",eC=(e={},r={})=>{if((p??r.locale??n())==="zh")return Wit(e);return Vit(e)};var Git=()=>"Monitor live quota usage and reset individual usage windows.",Kit=()=>"在仪表盘中监控实时配额使用情况,并重置单个使用窗口。",tC=(e={},r={})=>{if((p??r.locale??n())==="zh")return Kit(e);return Git(e)};var Xit=()=>"Quota rule deleted successfully",Qit=()=>"配额规则删除成功",jg=(e={},r={})=>{if((p??r.locale??n())==="zh")return Qit(e);return Xit(e)};var Jit=()=>"Disabled",$it=()=>"已禁用",vp=(e={},r={})=>{if((p??r.locale??n())==="zh")return $it(e);return Jit(e)};var eft=()=>"Enabled",tft=()=>"已启用",rC=(e={},r={})=>{if((p??r.locale??n())==="zh")return tft(e);return eft(e)};var rft=()=>"Expand quota rule",oft=()=>"展开配额规则",nC=(e={},r={})=>{if((p??r.locale??n())==="zh")return oft(e);return rft(e)};var aft=()=>"Limit",nft=()=>"上限",oC=(e={},r={})=>{if((p??r.locale??n())==="zh")return nft(e);return aft(e)};var ift=()=>"e.g. 100000",fft=()=>"例如 100000",sC=(e={},r={})=>{if((p??r.locale??n())==="zh")return fft(e);return ift(e)};var sft=()=>"No usage records found",lft=()=>"暂无使用记录",iC=(e={},r={})=>{if((p??r.locale??n())==="zh")return lft(e);return sft(e)};var cft=()=>"Period Window",uft=()=>"周期窗口",aC=(e={},r={})=>{if((p??r.locale??n())==="zh")return uft(e);return cft(e)};var dft=()=>"1 Day",Zft=()=>"1 天",wp=(e={},r={})=>{if((p??r.locale??n())==="zh")return Zft(e);return dft(e)};var pft=()=>"1 Hour",mft=()=>"1 小时",xp=(e={},r={})=>{if((p??r.locale??n())==="zh")return mft(e);return pft(e)};var hft=()=>"5 Hours",gft=()=>"5 小时",Sp=(e={},r={})=>{if((p??r.locale??n())==="zh")return gft(e);return hft(e)};var Mft=()=>"7 Days",xft=()=>"7 天",Ep=(e={},r={})=>{if((p??r.locale??n())==="zh")return xft(e);return Mft(e)};var vft=(e)=>`Refreshes in ${e?.time}`,yft=(e)=>`${e?.time} 后重置`,qg=(e,r={})=>{if((p??r.locale??n())==="zh")return yft(e);return vft(e)};var _ft=()=>"Remaining",bft=()=>"剩余额度",lC=(e={},r={})=>{if((p??r.locale??n())==="zh")return bft(e);return _ft(e)};var wft=()=>"Quota usage reset successfully",zft=()=>"配额使用量重置成功",cC=(e={},r={})=>{if((p??r.locale??n())==="zh")return zft(e);return wft(e)};var Sft=()=>"Reset Usage",Lft=()=>"重置使用量",Hg=(e={},r={})=>{if((p??r.locale??n())==="zh")return Lft(e);return Sft(e)};var kft=(e)=>`Reset usage for ${e?.target}? Consumption will be cleared and a new quota window will start now.`,Cft=(e)=>`确定要重置 ${e?.target} 的使用量吗?当前消耗将被清零,并立即开始新的配额周期。`,uC=(e,r={})=>{if((p??r.locale??n())==="zh")return Cft(e);return kft(e)};var Ift=()=>"Resource",Rft=()=>"资源类型",dC=(e={},r={})=>{if((p??r.locale??n())==="zh")return Rft(e);return Ift(e)};var Pft=()=>"Agent Bash Calls",Tft=()=>"智能体 Bash 执行次数",Pd=(e={},r={})=>{if((p??r.locale??n())==="zh")return Tft(e);return Pft(e)};var Aft=()=>"AI Cost ($)",Eft=()=>"AI 费用 ($)",Nd=(e={},r={})=>{if((p??r.locale??n())==="zh")return Eft(e);return Aft(e)};var Dft=()=>"MCP Server Calls",Oft=()=>"MCP 服务调用次数",Dd=(e={},r={})=>{if((p??r.locale??n())==="zh")return Oft(e);return Dft(e)};var Nft=()=>"Agent Tool Calls",Fft=()=>"智能体工具调用次数",Od=(e={},r={})=>{if((p??r.locale??n())==="zh")return Fft(e);return Nft(e)};var jft=()=>"AI Tokens",Bft=()=>"AI Token 总量",Fd=(e={},r={})=>{if((p??r.locale??n())==="zh")return Bft(e);return jft(e)};var Uft=()=>"Role Shared Pool",Yft=()=>"角色共享配额池",fC=(e={},r={})=>{if((p??r.locale??n())==="zh")return Yft(e);return Uft(e)};var qft=()=>"Scope",Hft=()=>"范围",pC=(e={},r={})=>{if((p??r.locale??n())==="zh")return Hft(e);return qft(e)};var Vft=()=>"Target Mode",Wft=()=>"目标模式",mC=(e={},r={})=>{if((p??r.locale??n())==="zh")return Wft(e);return Vft(e)};var Gft=()=>"All Members",Kft=()=>"所有成员",Ld=(e={},r={})=>{if((p??r.locale??n())==="zh")return Kft(e);return Gft(e)};var Xft=()=>"Shared pooled limit across all matching members",Qft=()=>"所有符合条件的成员共同享有总配额上限",hC=(e={},r={})=>{if((p??r.locale??n())==="zh")return Qft(e);return Xft(e)};var Jft=()=>"Each Member",$ft=()=>"每个成员",Zd=(e={},r={})=>{if((p??r.locale??n())==="zh")return $ft(e);return Jft(e)};var est=()=>"Individual limit for each matching member",tst=()=>"为每个符合条件的成员分别设定独立的配额上限",gC=(e={},r={})=>{if((p??r.locale??n())==="zh")return tst(e);return est(e)};var rst=()=>"Selected Members",ost=()=>"指定成员",Bd=(e={},r={})=>{if((p??r.locale??n())==="zh")return ost(e);return rst(e)};var ast=()=>"Individual limit for selected users",nst=()=>"为选定的成员分别设定独立的配额上限",AC=(e={},r={})=>{if((p??r.locale??n())==="zh")return nst(e);return ast(e)};var ist=()=>"Role-based",fst=()=>"按角色",Cp=(e={},r={})=>{if((p??r.locale??n())==="zh")return fst(e);return ist(e)};var sst=()=>"Entire Team",lst=()=>"整个团队",kl=(e={},r={})=>{if((p??r.locale??n())==="zh")return lst(e);return sst(e)};var cst=()=>"Search members...",ust=()=>"搜索成员...",Ip=(e={},r={})=>{if((p??r.locale??n())==="zh")return ust(e);return cst(e)};var dst=(e)=>`${e?.count} members selected`,Zst=(e)=>`已选择 ${e?.count} 位成员`,_C=(e,r={})=>{if((p??r.locale??n())==="zh")return Zst(e);return dst(e)};var pst=()=>"Quota status updated",mst=()=>"配额状态已更新",yC=(e={},r={})=>{if((p??r.locale??n())==="zh")return mst(e);return pst(e)};var hst=(e)=>`Match: ${e?.value}`,gst=(e)=>`匹配:${e?.value}`,bC=(e,r={})=>{if((p??r.locale??n())==="zh")return gst(e);return hst(e)};var Mst=(e)=>`Server: ${e?.value}`,xst=(e)=>`服务:${e?.value}`,vC=(e,r={})=>{if((p??r.locale??n())==="zh")return xst(e);return Mst(e)};var vst=(e)=>`Tool: ${e?.value}`,yst=(e)=>`工具:${e?.value}`,wC=(e,r={})=>{if((p??r.locale??n())==="zh")return yst(e);return vst(e)};var _st=()=>"Team Shared Pool",bst=()=>"团队共享配额池",xC=(e={},r={})=>{if((p??r.locale??n())==="zh")return bst(e);return _st(e)};var wst=()=>"Select a specific agent tool to configure its quota limit",zst=()=>"选择特定的智能体工具以配置其配额限制",SC=(e={},r={})=>{if((p??r.locale??n())==="zh")return zst(e);return wst(e)};var Sst=()=>"Quota rule updated successfully",Lst=()=>"配额规则更新成功",EC=(e={},r={})=>{if((p??r.locale??n())==="zh")return Lst(e);return Sst(e)};var kst=()=>"Quotas",Cst=()=>"配额",Ud=(e={},r={})=>{if((p??r.locale??n())==="zh")return Cst(e);return kst(e)};var Ist=(e)=>`${e?.others} reacted with ${e?.emoji}`,Rst=(e)=>`${e?.others} 回应了 ${e?.emoji}`,CC=(e,r={})=>{if((p??r.locale??n())==="zh")return Rst(e);return Ist(e)};var Pst=(e)=>`You reacted with ${e?.emoji}`,Tst=(e)=>`你回应了 ${e?.emoji}`,IC=(e,r={})=>{if((p??r.locale??n())==="zh")return Tst(e);return Pst(e)};var Ast=(e)=>`You and ${e?.others} reacted with ${e?.emoji}`,Est=(e)=>`你和 ${e?.others} 回应了 ${e?.emoji}`,TC=(e,r={})=>{if((p??r.locale??n())==="zh")return Est(e);return Ast(e)};var Dst=()=>"Ready to Search",Ost=()=>"准备搜索",MC=(e={},r={})=>{if((p??r.locale??n())==="zh")return Ost(e);return Dst(e)};var Nst=()=>"Reasoning Support",Fst=()=>"推理支持",Tp=(e={},r={})=>{if((p??r.locale??n())==="zh")return Fst(e);return Nst(e)};var jst=()=>"Recently Deleted",Bst=()=>"最近删除",$g=(e={},r={})=>{if((p??r.locale??n())==="zh")return Bst(e);return jst(e)};var Ust=()=>"Items are automatically deleted after 30 days.",Yst=()=>"项目将在 30 天后自动删除。",Mp=(e={},r={})=>{if((p??r.locale??n())==="zh")return Yst(e);return Ust(e)};var qst=()=>"Recently Viewed",Hst=()=>"最近浏览",Gg=(e={},r={})=>{if((p??r.locale??n())==="zh")return Hst(e);return qst(e)};var Vst=()=>"This page displays the 100 most recent files you viewed in this project.",Wst=()=>"此页面显示您最近在当前项目中查看过的 100 个文件。",kC=(e={},r={})=>{if((p??r.locale??n())==="zh")return Wst(e);return Vst(e)};var Gst=()=>"Registration Disabled",Kst=()=>"注册已关闭",Xst=(e={},r={})=>{if((p??r.locale??n())==="zh")return Kst(e);return Gst(e)};var Qst=()=>"Public registration is currently disabled. You will need an invite code to join this team.",Jst=()=>"公开注册目前已关闭。您需要邀请码才能加入此团队。",$st=(e={},r={})=>{if((p??r.locale??n())==="zh")return Jst(e);return Qst(e)};var elt=()=>"Related Assets",tlt=()=>"关联资产",rlt=(e={},r={})=>{if((p??r.locale??n())==="zh")return tlt(e);return elt(e)};var olt=()=>"Remove",alt=()=>"移除",Rl=(e={},r={})=>{if((p??r.locale??n())==="zh")return alt(e);return olt(e)};var nlt=()=>"Remove Cover",ilt=()=>"移除封面",RC=(e={},r={})=>{if((p??r.locale??n())==="zh")return ilt(e);return nlt(e)};var flt=()=>"Remove from context",slt=()=>"从上下文中移除",PC=(e={},r={})=>{if((p??r.locale??n())==="zh")return slt(e);return flt(e)};var llt=()=>"Remove from Share",clt=()=>"从分享中移除",kp=(e={},r={})=>{if((p??r.locale??n())==="zh")return clt(e);return llt(e)};var ult=()=>"Remove from stack",dlt=()=>"从版本堆栈中移除",Zlt=(e={},r={})=>{if((p??r.locale??n())==="zh")return dlt(e);return ult(e)};var plt=()=>"Remove Member",mlt=()=>"移除成员",NC=(e={},r={})=>{if((p??r.locale??n())==="zh")return mlt(e);return plt(e)};var hlt=(e)=>`Are you sure you want to remove ${e?.name} from this ${e?.type}? This action cannot be undone.`,glt=(e)=>`确定要从此${e?.type}中移除 ${e?.name} 吗?此操作无法撤销。`,DC=(e,r={})=>{if((p??r.locale??n())==="zh")return glt(e);return hlt(e)};var Mlt=()=>"Removed from share",xlt=()=>"已从分享中移除",OC=(e={},r={})=>{if((p??r.locale??n())==="zh")return xlt(e);return Mlt(e)};var vlt=()=>"Rename",ylt=()=>"重命名",Zo=(e={},r={})=>{if((p??r.locale??n())==="zh")return ylt(e);return vlt(e)};var _lt=()=>"Rename Collection",blt=()=>"重命名媒体合集",wlt=(e={},r={})=>{if((p??r.locale??n())==="zh")return blt(e);return _lt(e)};var zlt=()=>"Rename Folder",Slt=()=>"重命名文件夹",Llt=(e={},r={})=>{if((p??r.locale??n())==="zh")return Slt(e);return zlt(e)};var klt=()=>"Rename Share Link",Clt=()=>"重命名分享链接",Ilt=(e={},r={})=>{if((p??r.locale??n())==="zh")return Clt(e);return klt(e)};var Rlt=()=>"Renamed successfully",Plt=()=>"重命名成功",FC=(e={},r={})=>{if((p??r.locale??n())==="zh")return Plt(e);return Rlt(e)};var Tlt=()=>"Reply",Alt=()=>"回复",LC=(e={},r={})=>{if((p??r.locale??n())==="zh")return Alt(e);return Tlt(e)};var Elt=()=>"Reply...",Dlt=()=>"回复...",ZC=(e={},r={})=>{if((p??r.locale??n())==="zh")return Dlt(e);return Elt(e)};var Olt=(e)=>`reply to: ${e?.message}`,Nlt=(e)=>`回复:${e?.message}`,BC=(e,r={})=>{if((p??r.locale??n())==="zh")return Nlt(e);return Olt(e)};var Flt=()=>"Reporter / Reviewer",jlt=()=>"报告人 / 审核人",Vg=(e={},r={})=>{if((p??r.locale??n())==="zh")return jlt(e);return Flt(e)};var Blt=()=>"Reset",Ult=()=>"重置",UC=(e={},r={})=>{if((p??r.locale??n())==="zh")return Ult(e);return Blt(e)};var Ylt=()=>"Reset Password",qlt=()=>"重置密码",Qg=(e={},r={})=>{if((p??r.locale??n())==="zh")return qlt(e);return Ylt(e)};var Hlt=()=>"Enter your new password below.",Vlt=()=>"请在下方输入您的新密码。",zC=(e={},r={})=>{if((p??r.locale??n())==="zh")return Vlt(e);return Hlt(e)};var Wlt=()=>"Resetting password...",Glt=()=>"正在重置密码...",jC=(e={},r={})=>{if((p??r.locale??n())==="zh")return Glt(e);return Wlt(e)};var Klt=()=>"Resolving all files and folders. Please wait...",Xlt=()=>"正在解析所有文件和文件夹,请稍候...",Kg=(e={},r={})=>{if((p??r.locale??n())==="zh")return Xlt(e);return Klt(e)};var Qlt=()=>"Resource Quotas",Jlt=()=>"资源配额",Wg=(e={},r={})=>{if((p??r.locale??n())==="zh")return Jlt(e);return Qlt(e)};var $lt=()=>"Manage and limit resource usage across team members, roles, and AI operations.",ect=()=>"管理并限制团队成员、角色以及 AI 操作的资源使用。",Yg=(e={},r={})=>{if((p??r.locale??n())==="zh")return ect(e);return $lt(e)};var tct=()=>"Restore",rct=()=>"恢复",Rp=(e={},r={})=>{if((p??r.locale??n())==="zh")return rct(e);return tct(e)};var oct=()=>"Reviewer",act=()=>"评审员",$s=(e={},r={})=>{if((p??r.locale??n())==="zh")return act(e);return oct(e)};var nct=()=>"Role",ict=()=>"角色",qC=(e={},r={})=>{if((p??r.locale??n())==="zh")return ict(e);return nct(e)};var fct=()=>"Agent",sct=()=>"智能体",HC=(e={},r={})=>{if((p??r.locale??n())==="zh")return sct(e);return fct(e)};var lct=()=>"Thinking",cct=()=>"思考中",Pp=(e={},r={})=>{if((p??r.locale??n())==="zh")return cct(e);return lct(e)};var uct=()=>"User",dct=()=>"用户",Jg=(e={},r={})=>{if((p??r.locale??n())==="zh")return dct(e);return uct(e)};var Zct=()=>"Rotation",pct=()=>"旋转角度",$C=(e={},r={})=>{if((p??r.locale??n())==="zh")return pct(e);return Zct(e)};var mct=()=>"Configure security and network restrictions for the AI agent.",hct=()=>"配置 AI 智能体的安全和网络限制。",GC=(e={},r={})=>{if((p??r.locale??n())==="zh")return hct(e);return mct(e)};var gct=()=>"Sandbox settings updated",Mct=()=>"沙箱设置已更新",VC=(e={},r={})=>{if((p??r.locale??n())==="zh")return Mct(e);return gct(e)};var xct=()=>"Save",vct=()=>"保存",Gn=(e={},r={})=>{if((p??r.locale??n())==="zh")return vct(e);return xct(e)};var yct=()=>"Save & Send Test Email",_ct=()=>"保存并发送测试邮件",QC=(e={},r={})=>{if((p??r.locale??n())==="zh")return _ct(e);return yct(e)};var bct=()=>"Save as collection",wct=()=>"保存为媒体合集",KC=(e={},r={})=>{if((p??r.locale??n())==="zh")return wct(e);return bct(e)};var zct=()=>"Save Changes",Sct=()=>"保存更改",Gs=(e={},r={})=>{if((p??r.locale??n())==="zh")return Sct(e);return zct(e)};var Lct=()=>"Save Watermark",kct=()=>"保存水印",WC=(e={},r={})=>{if((p??r.locale??n())==="zh")return kct(e);return Lct(e)};var Cct=()=>"Saved",Ict=()=>"已保存",Xg=(e={},r={})=>{if((p??r.locale??n())==="zh")return Ict(e);return Cct(e)};var Rct=()=>"Saving...",Pct=()=>"保存中...",eA=(e={},r={})=>{if((p??r.locale??n())==="zh")return Pct(e);return Rct(e)};var Tct=()=>"Saving...",Act=()=>"保存中...",Np=(e={},r={})=>{if((p??r.locale??n())==="zh")return Act(e);return Tct(e)};var Ect=()=>"Search",Dct=()=>"搜索",YC=(e={},r={})=>{if((p??r.locale??n())==="zh")return Dct(e);return Ect(e)};var Oct=()=>"Search",Nct=()=>"搜索",JC=(e={},r={})=>{if((p??r.locale??n())==="zh")return Nct(e);return Oct(e)};var Fct=()=>"Search records by content...",jct=()=>"按内容搜索记录...",XC=(e={},r={})=>{if((p??r.locale??n())==="zh")return jct(e);return Fct(e)};var Bct=()=>"Search records by name...",Uct=()=>"按名称搜索记录...",eI=(e={},r={})=>{if((p??r.locale??n())==="zh")return Uct(e);return Bct(e)};var Yct=()=>"Search",qct=()=>"搜索",tI=(e={},r={})=>{if((p??r.locale??n())==="zh")return qct(e);return Yct(e)};var Hct=()=>"Search emoji",Vct=()=>"搜索表情",rI=(e={},r={})=>{if((p??r.locale??n())==="zh")return Vct(e);return Hct(e)};var Wct=()=>"Search failed",Gct=()=>"搜索失败",tA=(e={},r={})=>{if((p??r.locale??n())==="zh")return Gct(e);return Wct(e)};var Kct=()=>"Search fields",Xct=()=>"搜索字段",nI=(e={},r={})=>{if((p??r.locale??n())==="zh")return Xct(e);return Kct(e)};var Qct=()=>"Search Item ID...",Jct=()=>"搜索条目 ID...",oI=(e={},r={})=>{if((p??r.locale??n())==="zh")return Jct(e);return Qct(e)};var $ct=()=>"Search models by ID or name...",eut=()=>"按 ID 或名称搜索模型...",Dp=(e={},r={})=>{if((p??r.locale??n())==="zh")return eut(e);return $ct(e)};var tut=()=>"Search options...",rut=()=>"搜索选项...",rA=(e={},r={})=>{if((p??r.locale??n())==="zh")return rut(e);return tut(e)};var out=()=>"Search providers...",aut=()=>"搜索提供商...",nA=(e={},r={})=>{if((p??r.locale??n())==="zh")return aut(e);return out(e)};var nut=()=>"Search Results",iut=()=>"搜索结果",sI=(e={},r={})=>{if((p??r.locale??n())==="zh")return iut(e);return nut(e)};var fut=()=>"Search tasks...",sut=()=>"搜索任务...",lut=(e={},r={})=>{if((p??r.locale??n())==="zh")return sut(e);return fut(e)};var cut=()=>"Security",uut=()=>"安全",iI=(e={},r={})=>{if((p??r.locale??n())==="zh")return uut(e);return cut(e)};var dut=()=>"Select a Team",Zut=()=>"选择团队",put=(e={},r={})=>{if((p??r.locale??n())==="zh")return Zut(e);return dut(e)};var mut=()=>"Select Actions",hut=()=>"选择操作",aI=(e={},r={})=>{if((p??r.locale??n())==="zh")return hut(e);return mut(e)};var gut=()=>"Select Agent",Mut=()=>"选择智能体",zd=(e={},r={})=>{if((p??r.locale??n())==="zh")return Mut(e);return gut(e)};var xut=()=>"Select API Protocol",vut=()=>"选择 API 协议",oA=(e={},r={})=>{if((p??r.locale??n())==="zh")return vut(e);return xut(e)};var yut=()=>"Select an asset to view details",_ut=()=>"选择资产查看详情",lI=(e={},r={})=>{if((p??r.locale??n())==="zh")return _ut(e);return yut(e)};var but=()=>"Select Assets",wut=()=>"选择资产",zut=(e={},r={})=>{if((p??r.locale??n())==="zh")return wut(e);return but(e)};var Sut=()=>"Select a block to edit its properties",Lut=()=>"选择一个水印块以编辑其属性",cI=(e={},r={})=>{if((p??r.locale??n())==="zh")return Lut(e);return Sut(e)};var kut=()=>"Select Current Folder",Cut=()=>"选择当前文件夹",Iut=(e={},r={})=>{if((p??r.locale??n())==="zh")return Cut(e);return kut(e)};var Rut=()=>"Select field",Put=()=>"选择字段",uI=(e={},r={})=>{if((p??r.locale??n())==="zh")return Put(e);return Rut(e)};var Tut=()=>"Select a field to edit options",Aut=()=>"选择一个字段以编辑选项",dI=(e={},r={})=>{if((p??r.locale??n())==="zh")return Aut(e);return Tut(e)};var Eut=()=>"Select field type",Dut=()=>"选择字段类型",fI=(e={},r={})=>{if((p??r.locale??n())==="zh")return Dut(e);return Eut(e)};var Out=()=>"Select a file to view its details and comments.",Nut=()=>"选择一个文件以查看其详情和评论。",pI=(e={},r={})=>{if((p??r.locale??n())==="zh")return Nut(e);return Out(e)};var Fut=()=>"Select Language",jut=()=>"选择语言",mI=(e={},r={})=>{if((p??r.locale??n())==="zh")return jut(e);return Fut(e)};var But=()=>"Select MCP Server",Uut=()=>"选择 MCP 服务",sA=(e={},r={})=>{if((p??r.locale??n())==="zh")return Uut(e);return But(e)};var Yut=()=>"Select Members",qut=()=>"选择成员",iA=(e={},r={})=>{if((p??r.locale??n())==="zh")return qut(e);return Yut(e)};var Hut=()=>"Select Model",Vut=()=>"选择模型",hI=(e={},r={})=>{if((p??r.locale??n())==="zh")return Vut(e);return Hut(e)};var Wut=()=>"Select option",Gut=()=>"选择选项",gI=(e={},r={})=>{if((p??r.locale??n())==="zh")return Gut(e);return Wut(e)};var Kut=()=>"Select options...",Xut=()=>"选择选项...",AI=(e={},r={})=>{if((p??r.locale??n())==="zh")return Xut(e);return Kut(e)};var Qut=()=>"Select parent tasks...",Jut=()=>"选择前置任务...",$ut=(e={},r={})=>{if((p??r.locale??n())==="zh")return Jut(e);return Qut(e)};var edt=()=>"Select your preferred display language.",tdt=()=>"选择您首选的显示语言。",_I=(e={},r={})=>{if((p??r.locale??n())==="zh")return tdt(e);return edt(e)};var rdt=()=>"Select Project",odt=()=>"选择项目",z9=(e={},r={})=>{if((p??r.locale??n())==="zh")return odt(e);return rdt(e)};var adt=()=>"Select Provider",ndt=()=>"选择提供商",yI=(e={},r={})=>{if((p??r.locale??n())==="zh")return ndt(e);return adt(e)};var idt=()=>"Select Target Folder",fdt=()=>"选择目标文件夹",Op=(e={},r={})=>{if((p??r.locale??n())==="zh")return fdt(e);return idt(e)};var sdt=()=>"You are a member of multiple teams. Please select one to continue.",ldt=()=>"您是多个团队的成员,请选择一个以继续。",cdt=(e={},r={})=>{if((p??r.locale??n())==="zh")return ldt(e);return sdt(e)};var udt=()=>"Select template to overwrite",ddt=()=>"选择要覆盖的模板",aA=(e={},r={})=>{if((p??r.locale??n())==="zh")return ddt(e);return udt(e)};var Zdt=()=>"Select Tool",pdt=()=>"选择工具",lA=(e={},r={})=>{if((p??r.locale??n())==="zh")return pdt(e);return Zdt(e)};var mdt=()=>"Select type",hdt=()=>"选择类型",bI=(e={},r={})=>{if((p??r.locale??n())==="zh")return hdt(e);return mdt(e)};var gdt=()=>"Select User",Mdt=()=>"选择用户",vI=(e={},r={})=>{if((p??r.locale??n())==="zh")return Mdt(e);return gdt(e)};var xdt=()=>"Select Users",vdt=()=>"选择用户",wI=(e={},r={})=>{if((p??r.locale??n())==="zh")return vdt(e);return xdt(e)};var ydt=()=>"Select ZIP file",_dt=()=>"选择 ZIP 文件",xI=(e={},r={})=>{if((p??r.locale??n())==="zh")return _dt(e);return ydt(e)};var bdt=()=>"Semantic Search",wdt=()=>"语义搜索",SI=(e={},r={})=>{if((p??r.locale??n())==="zh")return wdt(e);return bdt(e)};var zdt=()=>"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.",Sdt=()=>"语义搜索结果将按与搜索查询文本的相关性排序,但不会严格筛选。如果需要精确筛选,请添加筛选条件来控制。",EI=(e={},r={})=>{if((p??r.locale??n())==="zh")return Sdt(e);return zdt(e)};var Ldt=()=>"* Semantic search requires an enabled embedding agent.",kdt=()=>"* 语义搜索需要启用嵌入智能体。",CI=(e={},r={})=>{if((p??r.locale??n())==="zh")return kdt(e);return Ldt(e)};var Cdt=()=>"Semantic search using media intelligence might be slow...",Idt=()=>"使用媒体智能的语义搜索可能较慢...",II=(e={},r={})=>{if((p??r.locale??n())==="zh")return Idt(e);return Cdt(e)};var Rdt=()=>"Send Test Email",Pdt=()=>"发送测试邮件",cA=(e={},r={})=>{if((p??r.locale??n())==="zh")return Pdt(e);return Rdt(e)};var Tdt=()=>`Sender email address, for example: "Shumai <noreply@example.com>". Make sure to use an address you're allowed to send emails from.`,Adt=()=>"发件人邮箱地址,例如:“Shumai <noreply@example.com>”。请确保使用您有权使用的邮箱地址进行发送。",TI=(e={},r={})=>{if((p??r.locale??n())==="zh")return Adt(e);return Tdt(e)};var Edt=()=>"From Address",Ddt=()=>"发件人地址",uA=(e={},r={})=>{if((p??r.locale??n())==="zh")return Ddt(e);return Edt(e)};var Odt=()=>`Sender email address, for example: "Shumai <noreply@example.com>". Make sure to use an address you're allowed to send emails from.`,Ndt=()=>"发件人邮箱地址,例如:“Shumai <noreply@example.com>”。请确保使用您有权使用的邮箱地址进行发送。",MI=(e={},r={})=>{if((p??r.locale??n())==="zh")return Ndt(e);return Odt(e)};var Fdt=()=>"Reply-To Address",jdt=()=>"回复地址",kI=(e={},r={})=>{if((p??r.locale??n())==="zh")return jdt(e);return Fdt(e)};var Bdt=()=>"Optional address where replies to notifications should be directed.",Udt=()=>"通知邮件回复时指向的可选邮箱地址。",RI=(e={},r={})=>{if((p??r.locale??n())==="zh")return Udt(e);return Bdt(e)};var Ydt=()=>"Sender Information",qdt=()=>"发件人信息",PI=(e={},r={})=>{if((p??r.locale??n())==="zh")return qdt(e);return Ydt(e)};var Hdt=()=>"Session Name",Vdt=()=>"会话名称",NI=(e={},r={})=>{if((p??r.locale??n())==="zh")return Vdt(e);return Hdt(e)};var Wdt=()=>"The session might have been initialized but has not produced any entries yet.",Gdt=()=>"该会话可能已初始化但尚未产生任何条目。",DI=(e={},r={})=>{if((p??r.locale??n())==="zh")return Gdt(e);return Wdt(e)};var Kdt=()=>"Session Type",Xdt=()=>"会话类型",OI=(e={},r={})=>{if((p??r.locale??n())==="zh")return Xdt(e);return Kdt(e)};var Qdt=()=>"Chat",Jdt=()=>"对话",FI=(e={},r={})=>{if((p??r.locale??n())==="zh")return Jdt(e);return Qdt(e)};var $dt=()=>"Comment",eZt=()=>"评论",LI=(e={},r={})=>{if((p??r.locale??n())==="zh")return eZt(e);return $dt(e)};var tZt=()=>"Naming",rZt=()=>"命名",ZI=(e={},r={})=>{if((p??r.locale??n())==="zh")return rZt(e);return tZt(e)};var oZt=()=>"Sessions",aZt=()=>"会话列表",dA=(e={},r={})=>{if((p??r.locale??n())==="zh")return aZt(e);return oZt(e)};var nZt=()=>"View and inspect all agent sessions created within the team.",iZt=()=>"查看并检查团队内创建的所有 Agent 会话。",BI=(e={},r={})=>{if((p??r.locale??n())==="zh")return iZt(e);return nZt(e)};var fZt=()=>"Set Role",sZt=()=>"设置角色",UI=(e={},r={})=>{if((p??r.locale??n())==="zh")return sZt(e);return fZt(e)};var lZt=()=>"Settings",cZt=()=>"设置",Fp=(e={},r={})=>{if((p??r.locale??n())==="zh")return cZt(e);return lZt(e)};var uZt=()=>"Settings updated",dZt=()=>"设置已更新",Ua=(e={},r={})=>{if((p??r.locale??n())==="zh")return dZt(e);return uZt(e)};var ZZt=()=>"share link",pZt=()=>"分享链接",mZt=(e={},r={})=>{if((p??r.locale??n())==="zh")return pZt(e);return ZZt(e)};var hZt=()=>"Share link created",gZt=()=>"分享链接已创建",MZt=(e={},r={})=>{if((p??r.locale??n())==="zh")return gZt(e);return hZt(e)};var xZt=()=>"Share link deleted",vZt=()=>"分享链接已删除",yZt=(e={},r={})=>{if((p??r.locale??n())==="zh")return vZt(e);return xZt(e)};var _Zt=()=>"Share link renamed",bZt=()=>"分享链接已重命名",wZt=(e={},r={})=>{if((p??r.locale??n())==="zh")return bZt(e);return _Zt(e)};var zZt=()=>"Share link status updated",SZt=()=>"分享链接状态已更新",zI=(e={},r={})=>{if((p??r.locale??n())==="zh")return SZt(e);return zZt(e)};var LZt=()=>"Share Links",kZt=()=>"分享链接",CZt=(e={},r={})=>{if((p??r.locale??n())==="zh")return kZt(e);return LZt(e)};var IZt=()=>"Show Chatbot",RZt=()=>"显示聊天机器人",PZt=(e={},r={})=>{if((p??r.locale??n())==="zh")return RZt(e);return IZt(e)};var TZt=()=>"Shumai Agent",AZt=()=>"数脉智能体",jI=(e={},r={})=>{if((p??r.locale??n())==="zh")return AZt(e);return TZt(e)};var EZt=()=>"Sign up",DZt=()=>"注册",Ple=(e={},r={})=>{if((p??r.locale??n())==="zh")return DZt(e);return EZt(e)};var OZt=()=>"Signup failed",NZt=()=>"注册失败",FZt=(e={},r={})=>{if((p??r.locale??n())==="zh")return NZt(e);return OZt(e)};var jZt=()=>"Start building and organizing your space.",BZt=()=>"开始构建和整理您的空间。",UZt=(e={},r={})=>{if((p??r.locale??n())==="zh")return BZt(e);return jZt(e)};var YZt=()=>"Size:",qZt=()=>"大小:",qI=(e={},r={})=>{if((p??r.locale??n())==="zh")return qZt(e);return YZt(e)};var HZt=()=>"Permission",VZt=()=>"权限",Lp=(e={},r={})=>{if((p??r.locale??n())==="zh")return VZt(e);return HZt(e)};var WZt=()=>"Skills",GZt=()=>"技能",fA=(e={},r={})=>{if((p??r.locale??n())==="zh")return GZt(e);return WZt(e)};var KZt=(e)=>`${e?.count} Skills`,XZt=(e)=>`${e?.count} 个技能`,HI=(e,r={})=>{if((p??r.locale??n())==="zh")return XZt(e);return KZt(e)};var QZt=()=>"Add, update and configure AI skills for the team.",JZt=()=>"为团队添加、更新和配置 AI 技能。",$I=(e={},r={})=>{if((p??r.locale??n())==="zh")return JZt(e);return QZt(e)};var $Zt=()=>"Skills Management",ept=()=>"技能管理",pA=(e={},r={})=>{if((p??r.locale??n())==="zh")return ept(e);return $Zt(e)};var tpt=()=>"Extend your chatbot's capabilities with custom skills.",rpt=()=>"使用自定义技能扩展聊天机器人的功能。",GI=(e={},r={})=>{if((p??r.locale??n())==="zh")return rpt(e);return tpt(e)};var opt=()=>"SMTP Host",apt=()=>"SMTP 主机",VI=(e={},r={})=>{if((p??r.locale??n())==="zh")return apt(e);return opt(e)};var npt=()=>"e.g. smtp.example.com",ipt=()=>"例如 smtp.example.com",QI=(e={},r={})=>{if((p??r.locale??n())==="zh")return ipt(e);return npt(e)};var fpt=()=>"SMTP Host is required",spt=()=>"必须提供 SMTP 主机",KI=(e={},r={})=>{if((p??r.locale??n())==="zh")return spt(e);return fpt(e)};var lpt=()=>"Ignore Certificate Errors",cpt=()=>"忽略证书错误",WI=(e={},r={})=>{if((p??r.locale??n())==="zh")return cpt(e);return lpt(e)};var upt=()=>"Allow self-signed or unverified SSL/TLS certificates.",dpt=()=>"允许自签名或未验证的 SSL/TLS 证书。",YI=(e={},r={})=>{if((p??r.locale??n())==="zh")return dpt(e);return upt(e)};var Zpt=()=>"Password",ppt=()=>"密码",JI=(e={},r={})=>{if((p??r.locale??n())==="zh")return ppt(e);return Zpt(e)};var mpt=()=>"•••••••• (Leave blank to keep current)",hpt=()=>"••••••••(留空以保持当前密码)",XI=(e={},r={})=>{if((p??r.locale??n())==="zh")return hpt(e);return mpt(e)};var gpt=()=>"Enter SMTP password",Mpt=()=>"输入 SMTP 密码",eT=(e={},r={})=>{if((p??r.locale??n())==="zh")return Mpt(e);return gpt(e)};var xpt=()=>"SMTP Port",vpt=()=>"SMTP 端口",tT=(e={},r={})=>{if((p??r.locale??n())==="zh")return vpt(e);return xpt(e)};var ypt=()=>"SSL / TLS (SMTPS)",_pt=()=>"SSL / TLS (SMTPS)",rT=(e={},r={})=>{if((p??r.locale??n())==="zh")return _pt(e);return ypt(e)};var bpt=()=>"Connect directly over SSL/TLS (commonly used with port 465).",wpt=()=>"直接使用 SSL/TLS 连接(通常用于 465 端口)。",nT=(e={},r={})=>{if((p??r.locale??n())==="zh")return wpt(e);return bpt(e)};var zpt=()=>"SMTP Server Settings",Spt=()=>"SMTP 服务器设置",oT=(e={},r={})=>{if((p??r.locale??n())==="zh")return Spt(e);return zpt(e)};var Lpt=()=>"Username",kpt=()=>"用户名",sT=(e={},r={})=>{if((p??r.locale??n())==="zh")return kpt(e);return Lpt(e)};var Cpt=()=>"e.g. user@example.com",Ipt=()=>"例如 user@example.com",iT=(e={},r={})=>{if((p??r.locale??n())==="zh")return Ipt(e);return Cpt(e)};var Rpt=()=>"Some downloads could not be started",Ppt=()=>"部分下载无法启动",Tpt=(e={},r={})=>{if((p??r.locale??n())==="zh")return Ppt(e);return Rpt(e)};var Apt=()=>"A → Z",Ept=()=>"A → Z",Qc=(e={},r={})=>{if((p??r.locale??n())==="zh")return Ept(e);return Apt(e)};var Dpt=()=>"Sort by",Opt=()=>"排序",Pl=(e={},r={})=>{if((p??r.locale??n())==="zh")return Opt(e);return Dpt(e)};var Npt=()=>"Created",Fpt=()=>"创建时间",aT=(e={},r={})=>{if((p??r.locale??n())==="zh")return Fpt(e);return Npt(e)};var jpt=()=>"Custom",Bpt=()=>"自定义",Zp=(e={},r={})=>{if((p??r.locale??n())==="zh")return Bpt(e);return jpt(e)};var Upt=()=>"Date Created",Ypt=()=>"创建日期",Bp=(e={},r={})=>{if((p??r.locale??n())==="zh")return Ypt(e);return Upt(e)};var qpt=()=>"Date Modified",Hpt=()=>"修改日期",lT=(e={},r={})=>{if((p??r.locale??n())==="zh")return Hpt(e);return qpt(e)};var Vpt=()=>"Largest → Smallest",Wpt=()=>"最大 → 最小",Up=(e={},r={})=>{if((p??r.locale??n())==="zh")return Wpt(e);return Vpt(e)};var Gpt=()=>"Name",Kpt=()=>"名称",Nl=(e={},r={})=>{if((p??r.locale??n())==="zh")return Kpt(e);return Gpt(e)};var Xpt=()=>"Newest → Oldest",Qpt=()=>"最新 → 最旧",Kc=(e={},r={})=>{if((p??r.locale??n())==="zh")return Qpt(e);return Xpt(e)};var Jpt=()=>"Oldest → Newest",$pt=()=>"最旧 → 最新",Wc=(e={},r={})=>{if((p??r.locale??n())==="zh")return $pt(e);return Jpt(e)};var emt=()=>"Size",tmt=()=>"大小",zp=(e={},r={})=>{if((p??r.locale??n())==="zh")return tmt(e);return emt(e)};var rmt=()=>"Smallest → Largest",omt=()=>"最小 → 最大",jp=(e={},r={})=>{if((p??r.locale??n())==="zh")return omt(e);return rmt(e)};var amt=()=>"Updated",nmt=()=>"更新时间",cT=(e={},r={})=>{if((p??r.locale??n())==="zh")return nmt(e);return amt(e)};var imt=()=>"Z → A",fmt=()=>"Z → A",Yc=(e={},r={})=>{if((p??r.locale??n())==="zh")return fmt(e);return imt(e)};var smt=(e)=>`Sorted by ${e?.field}`,lmt=(e)=>`按${e?.field}排序`,uT=(e,r={})=>{if((p??r.locale??n())==="zh")return lmt(e);return smt(e)};var cmt=()=>"Sorted by",umt=()=>"排序方式",dT=(e={},r={})=>{if((p??r.locale??n())==="zh")return umt(e);return cmt(e)};var dmt=()=>"Standard Time",Zmt=()=>"标准时间",fT=(e={},r={})=>{if((p??r.locale??n())==="zh")return Zmt(e);return dmt(e)};var pmt=()=>"Start Date",mmt=()=>"开始日期",jd=(e={},r={})=>{if((p??r.locale??n())==="zh")return mmt(e);return pmt(e)};var hmt=()=>"Start Download",gmt=()=>"开始下载",mA=(e={},r={})=>{if((p??r.locale??n())==="zh")return gmt(e);return hmt(e)};var Mmt=(e)=>`Starting download of ${e?.count} files. Please allow multiple downloads if prompted by your browser.`,xmt=(e)=>`正在开始下载 ${e?.count} 个文件。如果浏览器提示,请允许多个下载。`,vmt=(e,r={})=>{if((p??r.locale??n())==="zh")return xmt(e);return Mmt(e)};var ymt=()=>"Blocked",_mt=()=>"已受阻",hA=(e={},r={})=>{if((p??r.locale??n())==="zh")return _mt(e);return ymt(e)};var bmt=()=>"Done",wmt=()=>"已完成",zmt=(e={},r={})=>{if((p??r.locale??n())==="zh")return wmt(e);return bmt(e)};var Smt=()=>"In Progress",Lmt=()=>"进行中",kmt=(e={},r={})=>{if((p??r.locale??n())==="zh")return Lmt(e);return Smt(e)};var Cmt=()=>"In Review",Imt=()=>"审核中",Rmt=(e={},r={})=>{if((p??r.locale??n())==="zh")return Imt(e);return Cmt(e)};var Pmt=()=>"Ready",Tmt=()=>"就绪",Amt=(e={},r={})=>{if((p??r.locale??n())==="zh")return Tmt(e);return Pmt(e)};var Emt=()=>"To Do",Dmt=()=>"待办",Omt=(e={},r={})=>{if((p??r.locale??n())==="zh")return Dmt(e);return Emt(e)};var Nmt=()=>"Status Updates",Fmt=()=>"状态更新",pT=(e={},r={})=>{if((p??r.locale??n())==="zh")return Fmt(e);return Nmt(e)};var jmt=()=>"Switch version",Bmt=()=>"切换版本",qd=(e={},r={})=>{if((p??r.locale??n())==="zh")return Bmt(e);return jmt(e)};var Umt=()=>"Sync Providers",Ymt=()=>"同步提供商",mT=(e={},r={})=>{if((p??r.locale??n())==="zh")return Ymt(e);return Umt(e)};var qmt=(e)=>`Add Selected (${e?.count})`,Hmt=(e)=>`添加所选 (${e?.count})`,hT=(e,r={})=>{if((p??r.locale??n())==="zh")return Hmt(e);return qmt(e)};var Vmt=()=>"Adding...",Wmt=()=>"正在添加...",gT=(e={},r={})=>{if((p??r.locale??n())==="zh")return Wmt(e);return Vmt(e)};var Gmt=()=>"Checking for updates...",Kmt=()=>"正在检查更新...",AT=(e={},r={})=>{if((p??r.locale??n())==="zh")return Kmt(e);return Gmt(e)};var Xmt=()=>"Collapse All",Qmt=()=>"全部折叠",_T=(e={},r={})=>{if((p??r.locale??n())==="zh")return Qmt(e);return Xmt(e)};var Jmt=(e)=>`${e?.count}k ctx`,$mt=(e)=>`${e?.count}k 上下文`,yT=(e,r={})=>{if((p??r.locale??n())==="zh")return $mt(e);return Jmt(e)};var eht=()=>"Deselect All",tht=()=>"取消全选",bT=(e={},r={})=>{if((p??r.locale??n())==="zh")return tht(e);return eht(e)};var rht=()=>"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.",oht=()=>"选择您希望添加的新提供商和模型。现有的提供商、自定义端点、API 密钥和模型配置绝不会被删除或修改。",vT=(e={},r={})=>{if((p??r.locale??n())==="zh")return oht(e);return rht(e)};var aht=()=>"Sync Providers & Models",nht=()=>"同步提供商与模型",wT=(e={},r={})=>{if((p??r.locale??n())==="zh")return nht(e);return aht(e)};var iht=()=>"Existing Provider",fht=()=>"现有提供商",xT=(e={},r={})=>{if((p??r.locale??n())==="zh")return fht(e);return iht(e)};var sht=()=>"Expand All",lht=()=>"全部展开",ST=(e={},r={})=>{if((p??r.locale??n())==="zh")return lht(e);return sht(e)};var cht=(e)=>`${e?.count} new models`,uht=(e)=>`${e?.count} 个新模型`,ET=(e,r={})=>{if((p??r.locale??n())==="zh")return uht(e);return cht(e)};var dht=()=>"New Provider",Zht=()=>"新提供商",CT=(e={},r={})=>{if((p??r.locale??n())==="zh")return Zht(e);return dht(e)};var pht=()=>"reasoning",mht=()=>"深度思考",IT=(e={},r={})=>{if((p??r.locale??n())==="zh")return mht(e);return pht(e)};var hht=()=>"Filter new providers or models...",ght=()=>"筛选新提供商或模型...",TT=(e={},r={})=>{if((p??r.locale??n())==="zh")return ght(e);return hht(e)};var Mht=()=>"Select All",xht=()=>"全选",MT=(e={},r={})=>{if((p??r.locale??n())==="zh")return xht(e);return Mht(e)};var vht=(e)=>`${e?.modelCount} models selected across ${e?.providerCount} providers`,yht=(e)=>`已选 ${e?.modelCount} 个模型,分布在 ${e?.providerCount} 个提供商中`,kT=(e,r={})=>{if((p??r.locale??n())==="zh")return yht(e);return vht(e)};var _ht=(e)=>`Successfully added ${e?.modelCount} models across ${e?.providerCount} providers.`,bht=(e)=>`已成功添加 ${e?.providerCount} 个提供商中的 ${e?.modelCount} 个模型。`,RT=(e,r={})=>{if((p??r.locale??n())==="zh")return bht(e);return _ht(e)};var wht=()=>"All providers and models are already up to date.",zht=()=>"所有提供商和模型均已是最新状态。",PT=(e={},r={})=>{if((p??r.locale??n())==="zh")return zht(e);return wht(e)};var Sht=()=>"System",Lht=()=>"跟随系统",kht=(e={},r={})=>{if((p??r.locale??n())==="zh")return Lht(e);return Sht(e)};var Cht=()=>"Target Folder",Iht=()=>"目标文件夹",qp=(e={},r={})=>{if((p??r.locale??n())==="zh")return Iht(e);return Cht(e)};var Rht=()=>"Task created",Pht=()=>"任务已创建",NT=(e={},r={})=>{if((p??r.locale??n())==="zh")return Pht(e);return Rht(e)};var Tht=()=>"Task deleted successfully",Aht=()=>"任务已成功删除",DT=(e={},r={})=>{if((p??r.locale??n())==="zh")return Aht(e);return Tht(e)};var Eht=()=>"Description",Dht=()=>"任务描述",gA=(e={},r={})=>{if((p??r.locale??n())==="zh")return Dht(e);return Eht(e)};var Oht=()=>"Add details, acceptance criteria, or context...",Nht=()=>"添加详细说明、验收标准或背景信息...",AA=(e={},r={})=>{if((p??r.locale??n())==="zh")return Nht(e);return Oht(e)};var Fht=()=>"Priority",jht=()=>"优先级",_A=(e={},r={})=>{if((p??r.locale??n())==="zh")return jht(e);return Fht(e)};var Bht=()=>"Task Title",Uht=()=>"任务标题",yA=(e={},r={})=>{if((p??r.locale??n())==="zh")return Uht(e);return Bht(e)};var Yht=()=>"What needs to be done?",qht=()=>"需要完成什么任务?",bA=(e={},r={})=>{if((p??r.locale??n())==="zh")return qht(e);return Yht(e)};var Hht=()=>"Agent Task",Vht=()=>"智能体任务",Hd=(e={},r={})=>{if((p??r.locale??n())==="zh")return Vht(e);return Hht(e)};var Wht=()=>"Executed autonomously by an AI agent",Ght=()=>"由 AI 智能体自主执行",vA=(e={},r={})=>{if((p??r.locale??n())==="zh")return Ght(e);return Wht(e)};var Kht=()=>"team",Xht=()=>"团队",$d=(e={},r={})=>{if((p??r.locale??n())==="zh")return Xht(e);return Kht(e)};var Qht=()=>"Team AI Settings",Jht=()=>"团队 AI 设置",OT=(e={},r={})=>{if((p??r.locale??n())==="zh")return Jht(e);return Qht(e)};var $ht=()=>"Team Attributes",egt=()=>"团队属性",FT=(e={},r={})=>{if((p??r.locale??n())==="zh")return egt(e);return $ht(e)};var tgt=()=>"Team",rgt=()=>"团队",LT=(e={},r={})=>{if((p??r.locale??n())==="zh")return rgt(e);return tgt(e)};var ogt=()=>"Team Member",agt=()=>"团队成员",Hp=(e={},r={})=>{if((p??r.locale??n())==="zh")return agt(e);return ogt(e)};var ngt=()=>"Team Members",igt=()=>"团队成员",ZT=(e={},r={})=>{if((p??r.locale??n())==="zh")return igt(e);return ngt(e)};var fgt=()=>"Team Settings",sgt=()=>"团队设置",BT=(e={},r={})=>{if((p??r.locale??n())==="zh")return sgt(e);return fgt(e)};var lgt=()=>"Team Tasks",cgt=()=>"团队任务",UT=(e={},r={})=>{if((p??r.locale??n())==="zh")return cgt(e);return lgt(e)};var ugt=()=>"Team",dgt=()=>"团队",zT=(e={},r={})=>{if((p??r.locale??n())==="zh")return dgt(e);return ugt(e)};var Zgt=()=>"Template deleted successfully",pgt=()=>"模板删除成功",jT=(e={},r={})=>{if((p??r.locale??n())==="zh")return pgt(e);return Zgt(e)};var mgt=()=>"Template Name",hgt=()=>"模板名称",qT=(e={},r={})=>{if((p??r.locale??n())==="zh")return hgt(e);return mgt(e)};var ggt=()=>"Template saved successfully",Mgt=()=>"模板保存成功",HT=(e={},r={})=>{if((p??r.locale??n())==="zh")return Mgt(e);return ggt(e)};var xgt=()=>"Template updated successfully",vgt=()=>"模板更新成功",$T=(e={},r={})=>{if((p??r.locale??n())==="zh")return vgt(e);return xgt(e)};var ygt=()=>"Test email sent successfully",_gt=()=>"测试邮件发送成功",GT=(e={},r={})=>{if((p??r.locale??n())==="zh")return _gt(e);return ygt(e)};var bgt=()=>"Text Content",wgt=()=>"文本内容",VT=(e={},r={})=>{if((p??r.locale??n())==="zh")return wgt(e);return bgt(e)};var zgt=()=>"Theme",Sgt=()=>"主题",Lgt=(e={},r={})=>{if((p??r.locale??n())==="zh")return Sgt(e);return zgt(e)};var kgt=()=>"Disable",Cgt=()=>"禁用",QT=(e={},r={})=>{if((p??r.locale??n())==="zh")return Cgt(e);return kgt(e)};var Igt=()=>"High",Rgt=()=>"高",KT=(e={},r={})=>{if((p??r.locale??n())==="zh")return Rgt(e);return Igt(e)};var Pgt=()=>"Thinking Level",Tgt=()=>"思考级别",WT=(e={},r={})=>{if((p??r.locale??n())==="zh")return Tgt(e);return Pgt(e)};var Agt=()=>"Low",Egt=()=>"低",YT=(e={},r={})=>{if((p??r.locale??n())==="zh")return Egt(e);return Agt(e)};var Dgt=()=>"Medium",Ogt=()=>"中",JT=(e={},r={})=>{if((p??r.locale??n())==="zh")return Ogt(e);return Dgt(e)};var Ngt=()=>"Thinking...",Fgt=()=>"思考中...",XT=(e={},r={})=>{if((p??r.locale??n())==="zh")return Fgt(e);return Ngt(e)};var jgt=()=>"This folder is empty",Bgt=()=>"此文件夹为空",$p=(e={},r={})=>{if((p??r.locale??n())==="zh")return Bgt(e);return jgt(e)};var Ugt=()=>"Auto",Ygt=()=>"自动",wA=(e={},r={})=>{if((p??r.locale??n())==="zh")return Ygt(e);return Ugt(e)};var qgt=(e)=>`${e?.count} threads`,Hgt=(e)=>`${e?.count} 线程`,e1=(e,r={})=>{if((p??r.locale??n())==="zh")return Hgt(e);return qgt(e)};var Vgt=()=>"Timecode",Wgt=()=>"时间码",t1=(e={},r={})=>{if((p??r.locale??n())==="zh")return Wgt(e);return Vgt(e)};var Ggt=()=>"Timestamp",Kgt=()=>"时间戳",r1=(e={},r={})=>{if((p??r.locale??n())==="zh")return Kgt(e);return Ggt(e)};var Xgt=()=>"Today",Qgt=()=>"今天",Tle=(e={},r={})=>{if((p??r.locale??n())==="zh")return Qgt(e);return Xgt(e)};var Jgt=(e)=>`Today ${e?.time}`,$gt=(e)=>`今天 ${e?.time}`,eMt=(e,r={})=>{if((p??r.locale??n())==="zh")return $gt(e);return Jgt(e)};var tMt=()=>"Toggle Annotation",rMt=()=>"切换标注",n1=(e={},r={})=>{if((p??r.locale??n())==="zh")return rMt(e);return tMt(e)};var oMt=()=>"Checked",aMt=()=>"已选中",o1=(e={},r={})=>{if((p??r.locale??n())==="zh")return aMt(e);return oMt(e)};var nMt=()=>"Unchecked",iMt=()=>"未选中",s1=(e={},r={})=>{if((p??r.locale??n())==="zh")return iMt(e);return nMt(e)};var fMt=()=>"Token",sMt=()=>"令牌",i1=(e={},r={})=>{if((p??r.locale??n())==="zh")return sMt(e);return fMt(e)};var lMt=()=>"Token Name",cMt=()=>"令牌名称",a1=(e={},r={})=>{if((p??r.locale??n())==="zh")return cMt(e);return lMt(e)};var uMt=()=>"e.g. My CLI token",dMt=()=>"例如:我的 CLI 令牌",l1=(e={},r={})=>{if((p??r.locale??n())==="zh")return dMt(e);return uMt(e)};var ZMt=()=>"tokens",pMt=()=>"令牌",xA=(e={},r={})=>{if((p??r.locale??n())==="zh")return pMt(e);return ZMt(e)};var mMt=()=>"Arguments",hMt=()=>"参数",Gp=(e={},r={})=>{if((p??r.locale??n())==="zh")return hMt(e);return mMt(e)};var gMt=()=>"Parameters",MMt=()=>"参数列表",c1=(e={},r={})=>{if((p??r.locale??n())==="zh")return MMt(e);return gMt(e)};var xMt=(e)=>`Tool Result: ${e?.name}`,vMt=(e)=>`工具结果:${e?.name}`,Vp=(e,r={})=>{if((p??r.locale??n())==="zh")return vMt(e);return xMt(e)};var yMt=()=>"Total Tokens",_Mt=()=>"总 Token",SA=(e={},r={})=>{if((p??r.locale??n())==="zh")return _Mt(e);return yMt(e)};var bMt=()=>"Transcode Policy",wMt=()=>"转码策略",u1=(e={},r={})=>{if((p??r.locale??n())==="zh")return wMt(e);return bMt(e)};var zMt=()=>"When HLS is disabled, both playback and download use MP4. When HLS is enabled, playback uses HLS streaming while download uses MP4. Note that enabling HLS may significantly increase storage usage.",SMt=()=>"未启用 HLS 时,播放和下载均使用 MP4。启用 HLS 后,播放将使用 HLS 自适应流,而下载使用 MP4。请注意,启用 HLS 可能会显著增加存储空间占用。",d1=(e={},r={})=>{if((p??r.locale??n())==="zh")return SMt(e);return zMt(e)};var LMt=()=>"Transcoding Failed",kMt=()=>"转码失败",f1=(e={},r={})=>{if((p??r.locale??n())==="zh")return kMt(e);return LMt(e)};var CMt=()=>"Trash emptied successfully",IMt=()=>"回收站已清空",p1=(e={},r={})=>{if((p??r.locale??n())==="zh")return IMt(e);return CMt(e)};var RMt=(e)=>`Try adjusting your search for "${e?.query}"`,PMt=(e)=>`请尝试调整搜索 "${e?.query}"`,m1=(e,r={})=>{if((p??r.locale??n())==="zh")return PMt(e);return RMt(e)};var TMt=()=>"Try adjusting spelling or removing filter rows.",AMt=()=>"请尝试调整拼写或移除筛选条件。",h1=(e={},r={})=>{if((p??r.locale??n())==="zh")return AMt(e);return TMt(e)};var EMt=()=>"Connection failed",DMt=()=>"连接失败",Gd=(e={},r={})=>{if((p??r.locale??n())==="zh")return DMt(e);return EMt(e)};var OMt=()=>"Connected successfully",NMt=()=>"连接成功",EA=(e={},r={})=>{if((p??r.locale??n())==="zh")return NMt(e);return OMt(e)};var FMt=()=>"Configured via environment variables (Read-only)",jMt=()=>"已通过环境变量配置(只读)",g1=(e={},r={})=>{if((p??r.locale??n())==="zh")return jMt(e);return FMt(e)};var BMt=()=>"Password",UMt=()=>"密码",A1=(e={},r={})=>{if((p??r.locale??n())==="zh")return UMt(e);return BMt(e)};var YMt=()=>"Leave blank to keep existing password",qMt=()=>"留空以保留当前密码",_1=(e={},r={})=>{if((p??r.locale??n())==="zh")return qMt(e);return YMt(e)};var HMt=()=>"Server URL",VMt=()=>"服务地址",y1=(e={},r={})=>{if((p??r.locale??n())==="zh")return VMt(e);return HMt(e)};var WMt=()=>"e.g. http://localhost:3001",GMt=()=>"例如 http://localhost:3001",b1=(e={},r={})=>{if((p??r.locale??n())==="zh")return GMt(e);return WMt(e)};var KMt=()=>"3D Turntable Renderer",XMt=()=>"3D 转盘渲染服务",v1=(e={},r={})=>{if((p??r.locale??n())==="zh")return XMt(e);return KMt(e)};var QMt=()=>"Configure the external Blender turntable-renderer service for generating 3D asset previews and videos.",JMt=()=>"配置用于生成 3D 资产预览图与转盘视频的外部 Blender 渲染服务。",w1=(e={},r={})=>{if((p??r.locale??n())==="zh")return JMt(e);return QMt(e)};var $Mt=()=>"Test Connection",e8t=()=>"测试连接",x1=(e={},r={})=>{if((p??r.locale??n())==="zh")return e8t(e);return $Mt(e)};var t8t=()=>"Testing...",r8t=()=>"正在测试...",S1=(e={},r={})=>{if((p??r.locale??n())==="zh")return r8t(e);return t8t(e)};var o8t=()=>"Username",a8t=()=>"用户名",E1=(e={},r={})=>{if((p??r.locale??n())==="zh")return a8t(e);return o8t(e)};var n8t=()=>"Type a message...",i8t=()=>"输入消息...",C1=(e={},r={})=>{if((p??r.locale??n())==="zh")return i8t(e);return n8t(e)};var f8t=()=>"Type **delete** to confirm:",s8t=()=>"输入 **delete** 以确认:",I1=(e={},r={})=>{if((p??r.locale??n())==="zh")return s8t(e);return f8t(e)};var l8t=()=>"Type:",c8t=()=>"类型:",T1=(e={},r={})=>{if((p??r.locale??n())==="zh")return c8t(e);return l8t(e)};var u8t=()=>"Type your query above and click the Search button to display results.",d8t=()=>"在上方输入查询内容并点击搜索按钮以显示结果。",M1=(e={},r={})=>{if((p??r.locale??n())==="zh")return d8t(e);return u8t(e)};var Z8t=()=>"Unassigned",p8t=()=>"未指派",_s=(e={},r={})=>{if((p??r.locale??n())==="zh")return p8t(e);return Z8t(e)};var m8t=()=>"Unknown",h8t=()=>"未知",_n=(e={},r={})=>{if((p??r.locale??n())==="zh")return h8t(e);return m8t(e)};var g8t=()=>"unknown asset",M8t=()=>"未知资源",x8t=(e={},r={})=>{if((p??r.locale??n())==="zh")return M8t(e);return g8t(e)};var v8t=()=>"Unknown Date",y8t=()=>"未知日期",_8t=(e={},r={})=>{if((p??r.locale??n())==="zh")return y8t(e);return v8t(e)};var b8t=()=>"unknown project",w8t=()=>"未知项目",z8t=(e={},r={})=>{if((p??r.locale??n())==="zh")return w8t(e);return b8t(e)};var S8t=()=>"unknown task",L8t=()=>"未知任务",k8t=(e={},r={})=>{if((p??r.locale??n())==="zh")return L8t(e);return S8t(e)};var C8t=()=>"unknown team",I8t=()=>"未知团队",R8t=(e={},r={})=>{if((p??r.locale??n())==="zh")return I8t(e);return C8t(e)};var P8t=()=>"Unknown User",T8t=()=>"未知用户",Dl=(e={},r={})=>{if((p??r.locale??n())==="zh")return T8t(e);return P8t(e)};var A8t=()=>"Unlink Asset",E8t=()=>"取消关联资产",D8t=(e={},r={})=>{if((p??r.locale??n())==="zh")return E8t(e);return A8t(e)};var O8t=()=>"Unlink Task",N8t=()=>"取消关联",F8t=(e={},r={})=>{if((p??r.locale??n())==="zh")return N8t(e);return O8t(e)};var j8t=()=>"Unread",B8t=()=>"未读",U8t=(e={},r={})=>{if((p??r.locale??n())==="zh")return B8t(e);return j8t(e)};var Y8t=()=>"Untitled Collection",q8t=()=>"未命名媒体合集",CA=(e={},r={})=>{if((p??r.locale??n())==="zh")return q8t(e);return Y8t(e)};var H8t=()=>"Untitled Session",V8t=()=>"未命名会话",Qp=(e={},r={})=>{if((p??r.locale??n())==="zh")return V8t(e);return H8t(e)};var W8t=()=>"Untitled Upload",G8t=()=>"未命名上传",K8t=(e={},r={})=>{if((p??r.locale??n())==="zh")return G8t(e);return W8t(e)};var X8t=()=>"Updated",Q8t=()=>"更新于",k1=(e={},r={})=>{if((p??r.locale??n())==="zh")return Q8t(e);return X8t(e)};var J8t=()=>"Updated",$8t=()=>"更新于",IA=(e={},r={})=>{if((p??r.locale??n())==="zh")return $8t(e);return J8t(e)};var ext=()=>"Upload",txt=()=>"上传",R1=(e={},r={})=>{if((p??r.locale??n())==="zh")return txt(e);return ext(e)};var rxt=()=>"Upload cover",oxt=()=>"上传封面",P1=(e={},r={})=>{if((p??r.locale??n())==="zh")return oxt(e);return rxt(e)};var axt=()=>"Drag and drop, or browse. Recommended 1:1 (400×400px).",nxt=()=>"拖放或浏览文件。推荐比例 1:1(400×400像素)。",N1=(e={},r={})=>{if((p??r.locale??n())==="zh")return nxt(e);return axt(e)};var ixt=()=>"Upload File",fxt=()=>"上传文件",Kp=(e={},r={})=>{if((p??r.locale??n())==="zh")return fxt(e);return ixt(e)};var sxt=()=>"Upload Folder",lxt=()=>"上传文件夹",Wp=(e={},r={})=>{if((p??r.locale??n())==="zh")return lxt(e);return sxt(e)};var cxt=()=>"Upload Image",uxt=()=>"上传图片",Yp=(e={},r={})=>{if((p??r.locale??n())==="zh")return uxt(e);return cxt(e)};var dxt=()=>"Upload Watermark Image",Zxt=()=>"上传水印图片",D1=(e={},r={})=>{if((p??r.locale??n())==="zh")return Zxt(e);return dxt(e)};var pxt=()=>"Drag and drop, or browse. Max 1MB.",mxt=()=>"拖放或浏览文件。最大 1MB。",O1=(e={},r={})=>{if((p??r.locale??n())==="zh")return mxt(e);return pxt(e)};var hxt=()=>"Uploading...",gxt=()=>"上传中...",Jc=(e={},r={})=>{if((p??r.locale??n())==="zh")return gxt(e);return hxt(e)};var Mxt=()=>"Uploading",xxt=()=>"上传中",vxt=(e={},r={})=>{if((p??r.locale??n())==="zh")return xxt(e);return Mxt(e)};var yxt=()=>"Uploads",_xt=()=>"上传管理",bxt=(e={},r={})=>{if((p??r.locale??n())==="zh")return _xt(e);return yxt(e)};var wxt=()=>"Usage",zxt=()=>"用量",F1=(e={},r={})=>{if((p??r.locale??n())==="zh")return zxt(e);return wxt(e)};var Sxt=()=>"User",Lxt=()=>"用户",L1=(e={},r={})=>{if((p??r.locale??n())==="zh")return Lxt(e);return Sxt(e)};var kxt=(e)=>`${e?.user} via ${e?.agent}`,Cxt=(e)=>`${e?.user} 通过 ${e?.agent}`,Xc=(e,r={})=>{if((p??r.locale??n())==="zh")return Cxt(e);return kxt(e)};var Ixt=()=>"Variable Name",Rxt=()=>"变量名称",Z1=(e={},r={})=>{if((p??r.locale??n())==="zh")return Rxt(e);return Ixt(e)};var Pxt=(e)=>`Version ${e?.version}`,Txt=(e)=>`版本 ${e?.version}`,Axt=(e,r={})=>{if((p??r.locale??n())==="zh")return Txt(e);return Pxt(e)};var Ext=()=>"Version removed from stack",Dxt=()=>"已从版本堆栈中移除版本",Oxt=(e={},r={})=>{if((p??r.locale??n())==="zh")return Dxt(e);return Ext(e)};var Nxt=()=>"Version order updated",Fxt=()=>"版本顺序已更新",jxt=(e={},r={})=>{if((p??r.locale??n())==="zh")return Fxt(e);return Nxt(e)};var Bxt=(e)=>`${e?.count} enabled`,Uxt=(e)=>`${e?.count} 个已启用`,B1=(e,r={})=>{if((p??r.locale??n())==="zh")return Uxt(e);return Bxt(e)};var Yxt=()=>"Resolution Ladders",qxt=()=>"分辨率阶梯",U1=(e={},r={})=>{if((p??r.locale??n())==="zh")return qxt(e);return Yxt(e)};var Hxt=()=>"Select the target resolutions to generate for MP4 transcoding. Resolutions are only generated up to the source video resolution.",Vxt=()=>"选择 MP4 转码的目标分辨率。仅生成不超过原始视频分辨率的分辨率阶梯。",z1=(e={},r={})=>{if((p??r.locale??n())==="zh")return Vxt(e);return Hxt(e)};var Wxt=()=>"Video Transcoding",Gxt=()=>"视频转码",TA=(e={},r={})=>{if((p??r.locale??n())==="zh")return Gxt(e);return Wxt(e)};var Kxt=()=>"Manage your team's video transcoding configurations.",Xxt=()=>"管理团队的视频转码配置。",j1=(e={},r={})=>{if((p??r.locale??n())==="zh")return Xxt(e);return Kxt(e)};var Qxt=(e)=>`(${e?.count} visible)`,Jxt=(e)=>`(${e?.count} 个可见)`,q1=(e,r={})=>{if((p??r.locale??n())==="zh")return Jxt(e);return Qxt(e)};var $xt=()=>"Watermark",evt=()=>"水印",MA=(e={},r={})=>{if((p??r.locale??n())==="zh")return evt(e);return $xt(e)};var tvt=()=>"Watermark disabled",rvt=()=>"水印已禁用",H1=(e={},r={})=>{if((p??r.locale??n())==="zh")return rvt(e);return tvt(e)};var ovt=()=>"Watermark Editor",avt=()=>"水印编辑器",$1=(e={},r={})=>{if((p??r.locale??n())==="zh")return avt(e);return ovt(e)};var nvt=()=>"Templates",ivt=()=>"水印模板",G1=(e={},r={})=>{if((p??r.locale??n())==="zh")return ivt(e);return nvt(e)};var fvt=()=>"Transcoding watermark media...",svt=()=>"水印媒体转码处理中...",V1=(e={},r={})=>{if((p??r.locale??n())==="zh")return svt(e);return fvt(e)};var lvt=()=>"Watermark updated successfully",cvt=()=>"水印更新成功",Q1=(e={},r={})=>{if((p??r.locale??n())==="zh")return cvt(e);return lvt(e)};var uvt=()=>"Welcome Back",dvt=()=>"欢迎回来",Zvt=(e={},r={})=>{if((p??r.locale??n())==="zh")return dvt(e);return uvt(e)};var pvt=()=>"When someone comments on a task",mvt=()=>"当有人在任务中发表评论时",K1=(e={},r={})=>{if((p??r.locale??n())==="zh")return mvt(e);return pvt(e)};var hvt=()=>"When tasks are created, assigned, updated, or deleted",gvt=()=>"当任务被创建、分配、更新或删除时",W1=(e={},r={})=>{if((p??r.locale??n())==="zh")return gvt(e);return hvt(e)};var Mvt=()=>"When other users upload assets",xvt=()=>"当其他用户上传素材时",Y1=(e={},r={})=>{if((p??r.locale??n())==="zh")return xvt(e);return Mvt(e)};var vvt=()=>"When someone changes an asset's status",yvt=()=>"当有人更改素材的状态时",J1=(e={},r={})=>{if((p??r.locale??n())==="zh")return yvt(e);return vvt(e)};var _vt=()=>"When someone comments on an asset",bvt=()=>"当有人评论素材时",X1=(e={},r={})=>{if((p??r.locale??n())==="zh")return bvt(e);return _vt(e)};var wvt=()=>"When someone @mentions you in a comment",zvt=()=>"当有人在评论中 @提及你时",eM=(e={},r={})=>{if((p??r.locale??n())==="zh")return zvt(e);return wvt(e)};var Svt=()=>"When someone replies to your comment",Lvt=()=>"当有人回复你的评论时",tM=(e={},r={})=>{if((p??r.locale??n())==="zh")return Lvt(e);return Svt(e)};var kvt=()=>"When you upload assets",Cvt=()=>"当你上传素材时",rM=(e={},r={})=>{if((p??r.locale??n())==="zh")return Cvt(e);return kvt(e)};var Ivt=()=>"Yesterday",Rvt=()=>"昨天",Ale=(e={},r={})=>{if((p??r.locale??n())==="zh")return Rvt(e);return Ivt(e)};var Pvt=(e)=>`Yesterday ${e?.time}`,Tvt=(e)=>`昨天 ${e?.time}`,Avt=(e,r={})=>{if((p??r.locale??n())==="zh")return Tvt(e);return Pvt(e)};var Evt=()=>"Your Uploads",Dvt=()=>"你的上传",nM=(e={},r={})=>{if((p??r.locale??n())==="zh")return Dvt(e);return Evt(e)};var Ovt=()=>"Zoom In",Nvt=()=>"放大",Jp=(e={},r={})=>{if((p??r.locale??n())==="zh")return Nvt(e);return Ovt(e)};var Fvt=()=>"Zoom Out",jvt=()=>"缩小",Xp=(e={},r={})=>{if((p??r.locale??n())==="zh")return jvt(e);return Fvt(e)};var Bvt=(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 Ele(){let{clearAuth:e}=_f(),r=As(),a=(g)=>{if(!g)return"";switch(g.toLowerCase()){case"owner":return Vc();case"editor":return qs();case"reviewer":return $s();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:s,theme:l}=vre(),c=Re(),d=async()=>{await Gse(),e(),c({to:"/login"})},h=(g)=>{if(!g)return"U";let x=g.split(" ");if(x.length>1)return`${x[0][0]}${x[x.length-1][0]}`.toUpperCase();return g.substring(0,2).toUpperCase()};return o(ge,{children:[t(Ae,{asChild:!0,children:o(Ce,{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:h(i?.name)})]})}),o(_e,{className:"w-56",align:"end",forceMount:!0,children:[i&&o(L,{children:[t(Wr,{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(Vt,{})]}),o(ms,{children:[t(hs,{children:Lgt()}),t(ra,{children:o(gs,{children:[o(K,{className:"justify-between flex items-center",onClick:()=>s("light"),children:[t("span",{children:yGe()}),l==="light"&&t(Pe,{className:"size-4"})]}),o(K,{className:"justify-between flex items-center",onClick:()=>s("dark"),children:[t("span",{children:kje()}),l==="dark"&&t(Pe,{className:"size-4"})]}),o(K,{className:"justify-between flex items-center",onClick:()=>s("system"),children:[t("span",{children:kht()}),l==="system"&&t(Pe,{className:"size-4"})]})]})})]}),t(Vt,{}),t(K,{onClick:()=>c({to:"/teams/$teamId/settings",params:{teamId:r}}),disabled:!r,children:Fp()}),t(Vt,{}),t(K,{className:"text-red-500 focus:text-red-500",onClick:d,children:WGe()}),t(Vt,{}),o(K,{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(Bvt,{className:"size-3.5"}),t("span",{children:Axt({version:Kse})})]})]})]})}var $z=()=>null,Dle=({children:e,hideMobileButton:r=!1,defaultMobileContent:a})=>{let{isMobileMenuOpen:i,activeItem:s,setActiveItem:l,toggleMobileMenu:c,closeMobileMenu:d}=Xk(),h=iz({select:(T)=>T.location.pathname}),g=D(()=>ac.toArray(e).filter((T)=>os(T)&&T.type===$z),[e]),x=_(h);m(()=>{if(x.current!==h)x.current=h,d()},[h,d]);let v=s!==null?g[s]?.props:null,b=v??(i?a:null),y=Boolean(v||i&&a),k=(T)=>{let U=g[T];if(!U.props.children){l(null),U.props.onItemClick?.();return}if(s===T)l(null);else{if(U&&U.props.onItemClick)U.props.onItemClick();l(T)}};return o(L,{children:[!r&&t(C,{variant:"ghost",size:"icon",onClick:c,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:d,className:"fixed inset-0 bg-black/60 z-30 md:hidden","aria-hidden":"true"}),s!==null&&t("div",{onClick:()=>l(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(an,{children:g.map((T,U)=>{let N=Boolean(T.props.active||s===U);return o(ln,{children:[t(cn,{asChild:!0,children:o(C,{variant:"ghost",size:"icon-lg",onClick:()=>k(U),"aria-label":T.props.label,"aria-expanded":s===U,className:`relative w-12 h-12 [&_svg:not([class*='size-'])]:size-6 transition-colors duration-200 ${N?"text-sidebar-primary hover:bg-sidebar-accent hover:text-sidebar-primary":"text-sidebar-foreground/60 hover:text-sidebar-foreground hover:bg-sidebar-accent"}`,children:[T.props.icon,T.props.badge]})}),t(un,{side:"right",children:t("p",{children:T.props.label})})]},T.props.label)})})}),t("div",{className:"mt-auto w-full flex flex-col items-center pb-2",children:t(Ele,{})})]}),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",v?"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(L,{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(C,{variant:"ghost",size:"icon",onClick:d,className:"h-8 w-8 text-sidebar-foreground hover:bg-sidebar-accent","aria-label":"Close navigation menu",children:t(Ne,{className:"h-5 w-5"})})]}),t("div",{className:"flex-1 overflow-y-auto p-2",children:b.children})]})})})]})]})};function Xe({...e}){return t(dCe,{"data-slot":"alert-dialog",...e})}function Uvt({...e}){return t(ZCe,{"data-slot":"alert-dialog-portal",...e})}function Yvt({className:e,...r}){return t(pCe,{"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 et({className:e,size:r="default",...a}){return o(Uvt,{children:[t(Yvt,{}),t(mCe,{"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 tt({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 rt({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 nt({className:e,...r}){return t(MCe,{"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 ot({className:e,...r}){return t(xCe,{"data-slot":"alert-dialog-description",className:E("text-sm text-muted-foreground",e),...r})}function st({className:e,variant:r="default",size:a="default",...i}){return t(C,{variant:r,size:a,asChild:!0,children:t(hCe,{"data-slot":"alert-dialog-action",className:E(e),...i})})}function it({className:e,variant:r="outline",size:a="default",...i}){return t(C,{variant:r,size:a,asChild:!0,children:t(gCe,{"data-slot":"alert-dialog-cancel",className:E(e),...i})})}function ue({...e}){return t(W7,{"data-slot":"dialog",...e})}function kA({...e}){return t(G7,{"data-slot":"dialog-trigger",...e})}function qvt({...e}){return t(K7,{"data-slot":"dialog-portal",...e})}function Hvt({className:e,...r}){return t(X7,{"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 ae({className:e,children:r,showCloseButton:a=!0,...i}){return o(qvt,{"data-slot":"dialog-portal",children:[t(Hvt,{}),o(Q7,{"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(oD,{"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(Ne,{}),t("span",{className:"sr-only",children:"Close"})]})]})]})}function pe({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 qe({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(oD,{asChild:!0,children:t(C,{variant:"outline",children:"Close"})})]})}function le({className:e,...r}){return t(J7,{"data-slot":"dialog-title",className:E("text-lg leading-none font-semibold",e),...r})}function Mt({className:e,...r}){return t($7,{"data-slot":"dialog-description",className:E("text-sm text-muted-foreground",e),...r})}function z({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 ce({className:e,children:r,...a}){return o(QRe,{"data-slot":"scroll-area",className:E("relative",e),...a,children:[t(JRe,{"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(wF,{}),t($Re,{})]})}function wF({className:e,orientation:r="vertical",...a}){return t(jRe,{"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(VRe,{"data-slot":"scroll-area-thumb",className:"relative flex-1 rounded-full bg-border"})})}var ut=Rr()(Kk((e,r)=>({teamId:null,projectTeamMap:{},setTeamId:(a)=>e({teamId:a}),ensureTeamIdForProject:async(a)=>{let i=r();if(i.projectTeamMap[a]){let s=i.projectTeamMap[a];if(i.teamId!==s)e({teamId:s});return s}try{let s=await A.api.projects[":projectId"].team.$get({param:{projectId:a}});if(!s.ok)throw Error("failed to fetch project team");let l=await s.json();if(l&&l.teamId)return e((c)=>({teamId:l.teamId,projectTeamMap:{...c.projectTeamMap,[a]:l.teamId}})),l.teamId}catch(s){console.error("Failed to fetch team ID for project",a,s)}return null}}),{name:"team-context-storage",storage:Rz(()=>localStorage)}));S();function Ot(e){let r=ut((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 D(()=>({role:a?.role,canEdit:a?.role==="owner"||a?.role==="editor",canAdmin:a?.role==="owner"}),[a?.role])}S();var Vvt=Symbol.for("preact-signals");function kF(){if(!(Am>1)){var e,r=!1;(function(){var s=SF;SF=void 0;while(s!==void 0){var l=s.S;if(l.v===s.v){for(var c=l.t;c!==void 0;c=c.x)if(c.i===s.i)c.i=l.i}s=s.o}})();while(LD!==void 0){var a=LD;LD=void 0,zF++;while(a!==void 0){var i=a.u;if(a.u=void 0,a.f&=-3,!(8&a.f)&&Nle(a))try{a.c()}catch(s){if(!r)e=s,r=!0}a=i}}if(zF=0,Am--,r)throw e}else Am--}function $o(e){if(Am>0)return e();S9=++Wvt,Am++;try{return e()}finally{kF()}}var SD,vn=void 0;function yo(e){var r=vn,a=SD;vn=void 0,SD=void 0;try{return e()}finally{vn=r,SD=a}}var LD=void 0,Am=0,zF=0,Wvt=0,S9=0,SF=void 0,LF=0;function Ole(e){if(vn!==void 0){var r=e.n;if(r===void 0||r.t!==vn){if(r={i:0,S:e,p:vn.s,n:void 0,t:vn,e:void 0,x:void 0,r},vn.s!==void 0)vn.s.n=r;if(vn.s=r,e.n=r,32&vn.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=vn.s,r.n=void 0,vn.s.n=r,vn.s=r}return r}}}function bf(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}bf.prototype.brand=Vvt;bf.prototype.h=function(){return!0};bf.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 yo(function(){var i;(i=r.W)==null||i.call(r)})};bf.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)yo(function(){var s;(s=r.Z)==null||s.call(r)})}}};bf.prototype.subscribe=function(e){var r=this;return Ci(function(){var a=r.value;yo(function(){return e(a)})},{name:"sub"})};bf.prototype.valueOf=function(){return this.value};bf.prototype.toString=function(){return this.value+""};bf.prototype.toJSON=function(){return this.value};bf.prototype.peek=function(){var e=this;return yo(function(){return e.value})};Object.defineProperty(bf.prototype,"value",{get:function(){var e=Ole(this);if(e!==void 0)e.i=this.i;return this.v},set:function(e){if(e!==this.v){if(zF>100)throw Error("Cycle detected");(function(a){if(Am!==0&&zF===0){if(a.l!==S9)a.l=S9,SF={S:a,v:a.v,i:a.i,o:SF}}})(this),this.v=e,this.i++,LF++,Am++;try{for(var r=this.t;r!==void 0;r=r.x)r.t.N()}finally{kF()}}}});function pZ(e,r){return new bf(e,r)}function Nle(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 Fle(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 jle(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 eL(e,r){bf.call(this,void 0,r),this.x=e,this.s=void 0,this.g=LF-1,this.f=4}eL.prototype=new bf;eL.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===LF)return!0;if(this.g=LF,this.f|=1,this.i>0&&!Nle(this))return this.f&=-2,!0;var e=vn;try{Fle(this),vn=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 vn=e,jle(this),this.f&=-2,!0};eL.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)}bf.prototype.S.call(this,e)};eL.prototype.U=function(e){if(this.t!==void 0){if(bf.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)}}};eL.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(eL.prototype,"value",{get:function(){if(1&this.f)throw Error("Cycle detected");var e=Ole(this);if(this.h(),e!==void 0)e.i=this.i;if(16&this.f)throw this.v;return this.v}});function L9(e,r){return new eL(e,r)}function Ble(e){var r=e.m;if(e.m=void 0,typeof r=="function"){Am++;var a=vn;vn=void 0;try{r()}catch(i){throw e.f&=-2,e.f|=8,k9(e),i}finally{vn=a,kF()}}}function k9(e){for(var r=e.s;r!==void 0;r=r.n)r.S.U(r);e.x=void 0,e.s=void 0,Ble(e)}function Gvt(e){if(vn!==this)throw Error("Out-of-order effect");if(jle(this),vn=e,this.f&=-2,8&this.f)k9(this);kF()}function ZR(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,SD)SD.push(this)}ZR.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()}};ZR.prototype.S=function(){if(1&this.f)throw Error("Cycle detected");this.f|=1,this.f&=-9,Ble(this),Fle(this),Am++;var e=vn;return vn=this,Gvt.bind(this,e)};ZR.prototype.N=function(){if(!(2&this.f))this.f|=2,this.u=LD,LD=this};ZR.prototype.d=function(){if(this.f|=8,!(1&this.f))k9(this)};ZR.prototype.dispose=function(){this.d()};function Ci(e,r){var a=new ZR(e,r);try{a.c()}catch(s){throw a.d(),s}var i=a.d.bind(a);return i[Symbol.dispose]=i,i}var{create:Kvt,defineProperty:F9,defineProperties:Xvt,getOwnPropertyDescriptor:Qvt,getOwnPropertyDescriptors:Jvt,getOwnPropertySymbols:Ule}=Object,$vt=Object.prototype.hasOwnProperty,eyt=Object.prototype.propertyIsEnumerable,qle=(e,r)=>(r=Symbol[e])?r:Symbol.for("Symbol."+e),pR=(e)=>{throw TypeError(e)},T9=(e,r,a)=>(r in e)?F9(e,r,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[r]=a,tyt=(e,r)=>{for(var a in r||(r={}))if($vt.call(r,a))T9(e,a,r[a]);if(Ule){for(var a of Ule(r))if(eyt.call(r,a))T9(e,a,r[a])}return e},ryt=(e,r)=>Xvt(e,Jvt(r)),Yle=(e,r)=>F9(e,"name",{value:r,configurable:!0}),oyt=(e)=>{var r;return[,,,Kvt((r=e==null?void 0:e[qle("metadata")])!=null?r:null)]},Hle=["class","method","getter","setter","accessor","field","value","get","set"],kD=(e)=>e!==void 0&&typeof e!=="function"?pR("Function expected"):e,ayt=(e,r,a,i,s)=>({kind:Hle[e],name:r,metadata:i,addInitializer:(l)=>a._?pR("Already initialized"):s.push(kD(l||null))}),Vle=(e,r)=>T9(r,qle("metadata"),e[3]),tL=(e,r,a,i)=>{for(var s=0,l=e[r>>1],c=l&&l.length;s<c;s++)r&1?l[s].call(a):i=l[s].call(a,i);return i},mR=(e,r,a,i,s,l)=>{var c,d,h,g,x,v=r&7,b=!!(r&8),y=!!(r&16),k=v>3?e.length+1:v?b?1:2:0,T=Hle[v+5],U=v>3&&(e[k-1]=[]),N=e[k]||(e[k]=[]),j=v&&(!y&&!b&&(s=s.prototype),v<5&&(v>3||!y)&&Qvt(v<4?s:{get[a](){return bc(this,l)},set[a](X){return z8(this,l,X)}},a));v?y&&v<4&&Yle(l,(v>2?"set ":v>1?"get ":"")+a):Yle(s,a);for(var G=i.length-1;G>=0;G--){if(g=ayt(v,a,h={},e[3],N),v){if(g.static=b,g.private=y,x=g.access={has:y?(X)=>nyt(s,X):(X)=>(a in X)},v^3)x.get=y?(X)=>(v^1?bc:iyt)(X,s,v^4?l:j.get):(X)=>X[a];if(v>2)x.set=y?(X,J)=>z8(X,s,J,v^4?l:j.set):(X,J)=>X[a]=J}if(d=(0,i[G])(v?v<4?y?l:j[T]:v>4?void 0:{get:j.get,set:j.set}:s,g),h._=1,v^4||d===void 0)kD(d)&&(v>4?U.unshift(d):v?y?l=d:j[T]=d:s=d);else if(typeof d!=="object"||d===null)pR("Object expected");else kD(c=d.get)&&(j.get=c),kD(c=d.set)&&(j.set=c),kD(c=d.init)&&U.unshift(c)}return v||Vle(e,s),j&&F9(s,a,j),y?v^4?l:j:s},j9=(e,r,a)=>r.has(e)||pR("Cannot "+a),nyt=(e,r)=>Object(r)!==r?pR('Cannot use the "in" operator on this value'):e.has(r),bc=(e,r,a)=>(j9(e,r,"read from private field"),a?a.call(e):r.get(e)),CD=(e,r,a)=>r.has(e)?pR("Cannot add the same private member more than once"):r instanceof WeakSet?r.add(e):r.set(e,a),z8=(e,r,a,i)=>(j9(e,r,"write to private field"),i?i.call(e,a):r.set(e,a),a),iyt=(e,r,a)=>(j9(e,r,"access private method"),a);function hR(e,r){if(r){let a;return L9(()=>{let i=e();if(i&&a&&r(a,i))return a;return a=i,i})}return L9(e)}function lf(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,s)=>!lf(i,r[s]))}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((l)=>!lf(e[l],r[l]))}return!1}function Po({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 pn(e,r){let a=new WeakMap;return function(){let i=a.get(this);if(!i)i=hR(e.bind(this)),a.set(this,i);return i.value}}function C9(e=!0){return function(r,a){a.addInitializer(function(){let i=a.kind==="field"?this:a.static?this:Object.getPrototypeOf(this),s=Object.getOwnPropertyDescriptor(i,a.name);if(s)Object.defineProperty(i,a.name,ryt(tyt({},s),{enumerable:e}))})}}function oL(...e){let r=e.map((a)=>Ci(a));return()=>r.forEach((a)=>a())}var Wle,Gle,Kle,Xle,Qle,Jle,ls,B9,I9,A9,E9,wf,U9,R9,$le,D9,Y9,P9,O9,N9;Jle=[Po],Qle=[Po],Xle=[Po],Kle=[C9()],Gle=[C9()],Wle=[C9()];var mZ=class{constructor(e,r=Object.is){this.defaultValue=e,this.equals=r,tL(ls,5,this),CD(this,wf),CD(this,B9,tL(ls,8,this)),tL(ls,11,this),CD(this,U9,tL(ls,12,this)),tL(ls,15,this),CD(this,Y9,tL(ls,16,this)),tL(ls,19,this),this.reset=this.reset.bind(this),this.reset()}get current(){return bc(this,wf,O9)}get initial(){return bc(this,wf,A9)}get previous(){return bc(this,wf,$le)}set current(e){let r=yo(()=>bc(this,wf,O9));if(e&&r&&this.equals(r,e))return;$o(()=>{if(!bc(this,wf,A9))z8(this,wf,e,E9);z8(this,wf,r,D9),z8(this,wf,e,N9)})}reset(e=this.defaultValue){$o(()=>{z8(this,wf,void 0,D9),z8(this,wf,e,E9),z8(this,wf,e,N9)})}};ls=oyt(null);B9=new WeakMap;wf=new WeakSet;U9=new WeakMap;Y9=new WeakMap;I9=mR(ls,20,"#initial",Jle,wf,B9),A9=I9.get,E9=I9.set;R9=mR(ls,20,"#previous",Qle,wf,U9),$le=R9.get,D9=R9.set;P9=mR(ls,20,"#current",Xle,wf,Y9),O9=P9.get,N9=P9.set;mR(ls,2,"current",Kle,mZ);mR(ls,2,"initial",Gle,mZ);mR(ls,2,"previous",Wle,mZ);Vle(ls,mZ);function CF(e){return yo(()=>{let r={};for(let a in e)r[a]=e[a];return r})}var rL,ece=class{constructor(){CD(this,rL,new WeakMap)}get(e,r){var a;return e?(a=bc(this,rL).get(e))==null?void 0:a.get(r):void 0}set(e,r,a){var i;if(!e)return;if(!bc(this,rL).has(e))bc(this,rL).set(e,new Map);return(i=bc(this,rL).get(e))==null?void 0:i.set(r,a)}clear(e){var r;return e?(r=bc(this,rL).get(e))==null?void 0:r.clear():void 0}};rL=new WeakMap;var{create:fyt,defineProperty:G9,getOwnPropertyDescriptor:syt,getOwnPropertySymbols:tce}=Object,lyt=Object.prototype.hasOwnProperty,cyt=Object.prototype.propertyIsEnumerable,ace=(e,r)=>(r=Symbol[e])?r:Symbol.for("Symbol."+e),gR=(e)=>{throw TypeError(e)},rce=Math.pow,q9=(e,r,a)=>(r in e)?G9(e,r,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[r]=a,uyt=(e,r)=>{for(var a in r||(r={}))if(lyt.call(r,a))q9(e,a,r[a]);if(tce){for(var a of tce(r))if(cyt.call(r,a))q9(e,a,r[a])}return e},oce=(e,r)=>G9(e,"name",{value:r,configurable:!0}),dyt=(e)=>{var r;return[,,,fyt((r=e==null?void 0:e[ace("metadata")])!=null?r:null)]},nce=["class","method","getter","setter","accessor","field","value","get","set"],ID=(e)=>e!==void 0&&typeof e!=="function"?gR("Function expected"):e,Zyt=(e,r,a,i,s)=>({kind:nce[e],name:r,metadata:i,addInitializer:(l)=>a._?gR("Already initialized"):s.push(ID(l||null))}),ice=(e,r)=>q9(r,ace("metadata"),e[3]),pyt=(e,r,a,i)=>{for(var s=0,l=e[r>>1],c=l&&l.length;s<c;s++)r&1?l[s].call(a):i=l[s].call(a,i);return i},fce=(e,r,a,i,s,l)=>{var c,d,h,g,x,v=r&7,b=!!(r&8),y=!!(r&16),k=v>3?e.length+1:v?b?1:2:0,T=nce[v+5],U=v>3&&(e[k-1]=[]),N=e[k]||(e[k]=[]),j=v&&(!y&&!b&&(s=s.prototype),v<5&&(v>3||!y)&&syt(v<4?s:{get[a](){return H9(this,l)},set[a](X){return V9(this,l,X)}},a));v?y&&v<4&&oce(l,(v>2?"set ":v>1?"get ":"")+a):oce(s,a);for(var G=i.length-1;G>=0;G--){if(g=Zyt(v,a,h={},e[3],N),v){if(g.static=b,g.private=y,x=g.access={has:y?(X)=>myt(s,X):(X)=>(a in X)},v^3)x.get=y?(X)=>(v^1?H9:gyt)(X,s,v^4?l:j.get):(X)=>X[a];if(v>2)x.set=y?(X,J)=>V9(X,s,J,v^4?l:j.set):(X,J)=>X[a]=J}if(d=(0,i[G])(v?v<4?y?l:j[T]:v>4?void 0:{get:j.get,set:j.set}:s,g),h._=1,v^4||d===void 0)ID(d)&&(v>4?U.unshift(d):v?y?l=d:j[T]=d:s=d);else if(typeof d!=="object"||d===null)gR("Object expected");else ID(c=d.get)&&(j.get=c),ID(c=d.set)&&(j.set=c),ID(c=d.init)&&U.unshift(c)}return v||ice(e,s),j&&G9(s,a,j),y?v^4?l:j:s},K9=(e,r,a)=>r.has(e)||gR("Cannot "+a),myt=(e,r)=>Object(r)!==r?gR('Cannot use the "in" operator on this value'):e.has(r),H9=(e,r,a)=>(K9(e,r,"read from private field"),a?a.call(e):r.get(e)),hyt=(e,r,a)=>r.has(e)?gR("Cannot add the same private member more than once"):r instanceof WeakSet?r.add(e):r.set(e,a),V9=(e,r,a,i)=>(K9(e,r,"write to private field"),i?i.call(e,a):r.set(e,a),a),gyt=(e,r,a)=>(K9(e,r,"access private method"),a),Sf=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)}},el=class e{constructor(r,a,i,s){this.left=r,this.top=a,this.width=i,this.height=s,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:s,width:l,height:c,scale:d}=this,h=new e(s+r,i+a,l,c);return h.scale=uyt({},d),h}get boundingRectangle(){let{width:r,height:a,left:i,top:s,right:l,bottom:c}=this;return{width:r,height:a,left:i,top:s,right:l,bottom:c}}get center(){let{left:r,top:a,right:i,bottom:s}=this;return new Sf((r+i)/2,(a+s)/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:s,height:l}=this;return a===r.left&&i===r.top&&s===r.width&&l===r.height}containsPoint(r){let{top:a,left:i,bottom:s,right:l}=this;return a<=r.y&&r.y<=s&&i<=r.x&&r.x<=l}intersectionArea(r){if(r instanceof e)return Myt(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:s}){return new e(a,r,i,s)}static delta(r,a,i={x:"center",y:"center"}){let s=(l,c)=>{let d=i[c],h=c==="x"?l.left:l.top,g=c==="x"?l.width:l.height;if(d=="start")return h;if(d=="end")return h+g;return h+g/2};return Sf.delta({x:s(r,"x"),y:s(r,"y")},{x:s(a,"x"),y:s(a,"y")})}static intersectionRatio(r,a){return e.from(r).intersectionRatio(e.from(a))}};function Myt(e,r){let a=Math.max(r.top,e.top),i=Math.max(r.left,e.left),s=Math.min(r.left+r.width,e.left+e.width),l=Math.min(r.top+r.height,e.top+e.height),c=s-i,d=l-a;if(i<s&&a<l)return c*d;return 0}var sce,lce,W9,IF,RD,PD=class extends(W9=mZ,lce=[pn],sce=[pn],W9){constructor(e){let r=Sf.from(e);super(r,(a,i)=>Sf.equals(a,i));pyt(RD,5,this),hyt(this,IF,0),this.velocity={x:0,y:0}}get delta(){return Sf.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=Sf.from(e),i={x:a.x-r.x,y:a.y-r.y},s=Date.now(),l=s-H9(this,IF),c=(d)=>Math.round(d/l*100);$o(()=>{V9(this,IF,s),this.velocity={x:c(i.x),y:c(i.y)},super.current=a})}reset(e=this.defaultValue){super.reset(Sf.from(e)),this.velocity={x:0,y:0}}};RD=dyt(W9);IF=new WeakMap;fce(RD,2,"delta",lce,PD);fce(RD,2,"direction",sce,PD);ice(RD,PD);function RF({x:e,y:r},a){let i=Math.abs(e),s=Math.abs(r);if(typeof a==="number")return Math.sqrt(rce(i,2)+rce(s,2))>a;if("x"in a&&"y"in a)return i>a.x&&s>a.y;if("x"in a)return i>a.x;if("y"in a)return s>a.y;return!1}var cce=((e)=>(e.Horizontal="x",e.Vertical="y",e))(cce||{}),X9=Object.values(cce);var{create:xyt,defineProperty:tH,defineProperties:vyt,getOwnPropertyDescriptor:yyt,getOwnPropertyDescriptors:_yt,getOwnPropertySymbols:NF}=Object,Zce=Object.prototype.hasOwnProperty,pce=Object.prototype.propertyIsEnumerable,mce=(e,r)=>(r=Symbol[e])?r:Symbol.for("Symbol."+e),bR=(e)=>{throw TypeError(e)},J9=(e,r,a)=>(r in e)?tH(e,r,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[r]=a,rH=(e,r)=>{for(var a in r||(r={}))if(Zce.call(r,a))J9(e,a,r[a]);if(NF){for(var a of NF(r))if(pce.call(r,a))J9(e,a,r[a])}return e},oH=(e,r)=>vyt(e,_yt(r)),uce=(e,r)=>tH(e,"name",{value:r,configurable:!0}),hce=(e,r)=>{var a={};for(var i in e)if(Zce.call(e,i)&&r.indexOf(i)<0)a[i]=e[i];if(e!=null&&NF){for(var i of NF(e))if(r.indexOf(i)<0&&pce.call(e,i))a[i]=e[i]}return a},wR=(e)=>{var r;return[,,,xyt((r=e==null?void 0:e[mce("metadata")])!=null?r:null)]},gce=["class","method","getter","setter","accessor","field","value","get","set"],TD=(e)=>e!==void 0&&typeof e!=="function"?bR("Function expected"):e,byt=(e,r,a,i,s)=>({kind:gce[e],name:r,metadata:i,addInitializer:(l)=>a._?bR("Already initialized"):s.push(TD(l||null))}),nL=(e,r)=>J9(r,mce("metadata"),e[3]),go=(e,r,a,i)=>{for(var s=0,l=e[r>>1],c=l&&l.length;s<c;s++)r&1?l[s].call(a):i=l[s].call(a,i);return i},No=(e,r,a,i,s,l)=>{var c,d,h,g,x,v=r&7,b=!!(r&8),y=!!(r&16),k=v>3?e.length+1:v?b?1:2:0,T=gce[v+5],U=v>3&&(e[k-1]=[]),N=e[k]||(e[k]=[]),j=v&&(!y&&!b&&(s=s.prototype),v<5&&(v>3||!y)&&yyt(v<4?s:{get[a](){return Qn(this,l)},set[a](X){return Ql(this,l,X)}},a));v?y&&v<4&&uce(l,(v>2?"set ":v>1?"get ":"")+a):uce(s,a);for(var G=i.length-1;G>=0;G--){if(g=byt(v,a,h={},e[3],N),v){if(g.static=b,g.private=y,x=g.access={has:y?(X)=>wyt(s,X):(X)=>(a in X)},v^3)x.get=y?(X)=>(v^1?Qn:Mce)(X,s,v^4?l:j.get):(X)=>X[a];if(v>2)x.set=y?(X,J)=>Ql(X,s,J,v^4?l:j.set):(X,J)=>X[a]=J}if(d=(0,i[G])(v?v<4?y?l:j[T]:v>4?void 0:{get:j.get,set:j.set}:s,g),h._=1,v^4||d===void 0)TD(d)&&(v>4?U.unshift(d):v?y?l=d:j[T]=d:s=d);else if(typeof d!=="object"||d===null)bR("Object expected");else TD(c=d.get)&&(j.get=c),TD(c=d.set)&&(j.set=c),TD(c=d.init)&&U.unshift(c)}return v||nL(e,s),j&&tH(s,a,j),y?v^4?l:j:s},aH=(e,r,a)=>r.has(e)||bR("Cannot "+a),wyt=(e,r)=>Object(r)!==r?bR('Cannot use the "in" operator on this value'):e.has(r),Qn=(e,r,a)=>(aH(e,r,"read from private field"),a?a.call(e):r.get(e)),ha=(e,r,a)=>r.has(e)?bR("Cannot add the same private member more than once"):r instanceof WeakSet?r.add(e):r.set(e,a),Ql=(e,r,a,i)=>(aH(e,r,"write to private field"),i?i.call(e,a):r.set(e,a),a),Mce=(e,r,a)=>(aH(e,r,"access private method"),a);function xce(e,r){return{plugin:e,options:r}}function oa(e){return(r)=>xce(e,r)}function _R(e){if(typeof e==="function")return{plugin:e,options:void 0};return e}var vce,DD,nH,TF;vce=[Po];var ji=class{constructor(e,r){this.manager=e,this.options=r,ha(this,nH,go(DD,8,this,!1)),go(DD,11,this),ha(this,TF,new Set)}enable(){this.disabled=!1}disable(){this.disabled=!0}isDisabled(){return yo(()=>this.disabled)}configure(e){this.options=e}registerEffect(e){let r=Ci(e.bind(this));return Qn(this,TF).add(r),r}destroy(){Qn(this,TF).forEach((e)=>e())}static configure(e){return xce(this,e)}};DD=wR(null);nH=new WeakMap;TF=new WeakMap;No(DD,4,"disabled",vce,ji,nH);nL(DD,ji);var zR=class extends ji{},AF,Q9=class{constructor(e){this.manager=e,this.instances=new Map,ha(this,AF,[])}get values(){return Array.from(this.instances.values())}set values(e){let r=e.map(_R).reduce((i,s)=>{let l=i.find(({plugin:c})=>c===s.plugin);if(l)return l.options=s.options,i;return[...i,s]},[]),a=r.map(({plugin:i})=>i);for(let i of Qn(this,AF))if(!a.includes(i)){if(i.prototype instanceof zR)continue;this.unregister(i)}for(let{plugin:i,options:s}of r)this.register(i,s);Ql(this,AF,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()}};AF=new WeakMap;function zyt(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 PF=[],MR,xR,Syt=class extends ji{constructor(e){super(e);ha(this,MR),ha(this,xR),this.computeCollisions=this.computeCollisions.bind(this),Ql(this,xR,pZ(PF)),this.destroy=oL(()=>{let r=this.computeCollisions(),a=yo(()=>this.manager.dragOperation.position.current);if(r!==PF){let i=Qn(this,MR);if(Ql(this,MR,a),i&&a.x==i.x&&a.y==i.y)return}else Ql(this,MR,void 0);Qn(this,xR).value=r},()=>{let{dragOperation:r}=this.manager;if(r.status.initialized)this.forceUpdate()})}forceUpdate(e=!0){yo(()=>{if(e)Qn(this,xR).value=this.computeCollisions();else Ql(this,MR,void 0)})}computeCollisions(e,r){let{registry:a,dragOperation:i}=this.manager,{source:s,shape:l,status:c}=i;if(!c.initialized||!l)return PF;let d=[],h=[];for(let g of e!=null?e:a.droppables){if(g.disabled)continue;if(s&&!g.accepts(s))continue;let x=r!=null?r:g.collisionDetector;if(!x)continue;h.push(g),g.shape;let v=yo(()=>x({droppable:g,dragOperation:i}));if(v){if(g.collisionPriority!=null)v.priority=g.collisionPriority;d.push(v)}}if(h.length===0)return PF;return d.sort(zyt),d}get collisions(){return Qn(this,xR).value}};MR=new WeakMap;xR=new WeakMap;var yce,_ce,bce,iH,wce,yu,fH,yR,sH,lH;bce=[Po],_ce=[Po],yce=[Po];var oM=class e{constructor(r,a){ha(this,fH,go(yu,8,this)),go(yu,11,this),ha(this,yR),ha(this,sH,go(yu,12,this)),go(yu,15,this),ha(this,lH,go(yu,16,this)),go(yu,19,this);let{effects:i,id:s,data:l={},disabled:c=!1,register:d=!0}=r,h=s;if(Ql(this,yR,pZ(s)),this.manager=a,this.data=l,this.disabled=c,this.effects=()=>{var g;return[()=>{let{id:x,manager:v}=this;if(x===h)return;return h=x,v==null||v.registry.register(this),()=>v==null?void 0:v.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&&d)queueMicrotask(this.register)}get id(){var r,a;let i=Qn(this,yR).value;return(a=(r=e.pendingIdChanges)==null?void 0:r.get(this))!=null?a:i}set id(r){var a,i;let s=(i=(a=e.pendingIdChanges)==null?void 0:a.get(this))!=null?i:Qn(this,yR).peek();if(r===s)return;if(!e.pendingIdChanges)e.pendingIdChanges=new Map,queueMicrotask(()=>{var l;return Mce(l=e,iH,wce).call(l)});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)}};yu=wR(null);iH=new WeakSet;wce=function(){let e=oM.pendingIdChanges;if(oM.pendingIdChanges=null,e)$o(()=>{for(let[r,a]of e)Qn(r,yR).value=a})};fH=new WeakMap;yR=new WeakMap;sH=new WeakMap;lH=new WeakMap;No(yu,4,"manager",bce,oM,fH);No(yu,4,"data",_ce,oM,sH);No(yu,4,"disabled",yce,oM,lH);ha(oM,iH);nL(yu,oM);oM.pendingIdChanges=null;var FF=oM,dce=class{constructor(){this.map=pZ(new Map),this.cleanupFunctions=new WeakMap,this.register=(e,r)=>{let a=this.map.peek(),i=a.get(e),s=()=>this.unregister(e,r);if(i===r)return s;if(i){if(i.id===e){let d=this.cleanupFunctions.get(i);d==null||d(),this.cleanupFunctions.delete(i)}}let l=new Map(a);for(let[d,h]of a)if(h===r&&d!==e){l.delete(d);break}l.set(e,r),this.map.value=l;let c=oL(...r.effects());return this.cleanupFunctions.set(r,c),s},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 s=new Map(a);s.delete(e),this.map.value=s}}[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}},zce,Sce,Lce,kce,Cce,Ice,$9,cs,cH,uH,dH,_u=class extends($9=FF,Ice=[Po],Cce=[Po],kce=[Po],Lce=[pn],Sce=[pn],zce=[pn],$9){constructor(e,r){var a=e,{modifiers:i,type:s,sensors:l,plugins:c,effects:d}=a,h=hce(a,["modifiers","type","sensors","plugins","effects"]);super(oH(rH({},h),{effects:()=>{var g;return[...(g=d==null?void 0:d())!=null?g:[],()=>{let{manager:x,plugins:v}=this;if(!x||!v)return;for(let b of v){let{plugin:y}=_R(b);x.registry.plugins.register(y)}}]}}),r);go(cs,5,this),ha(this,cH,go(cs,8,this)),go(cs,11,this),ha(this,uH,go(cs,12,this)),go(cs,15,this),ha(this,dH,go(cs,16,this,this.isDragSource?"dragging":"idle")),go(cs,19,this),this.type=s,this.sensors=l,this.modifiers=i,this.alignment=h.alignment,this.plugins=c}pluginConfig(e){if(!this.plugins)return;for(let r of this.plugins){let a=_R(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}};cs=wR($9);cH=new WeakMap;uH=new WeakMap;dH=new WeakMap;No(cs,4,"type",Ice,_u,cH);No(cs,4,"modifiers",Cce,_u,uH);No(cs,4,"status",kce,_u,dH);No(cs,2,"isDropping",Lce,_u);No(cs,2,"isDragging",Sce,_u);No(cs,2,"isDragSource",zce,_u);nL(cs,_u);var Rce,Pce,Tce,Ace,Ece,Dce,eH,Ii,ZH,pH,mH,hH,gH,bu=class extends(eH=FF,Dce=[Po],Ece=[Po],Ace=[Po],Tce=[Po],Pce=[Po],Rce=[pn],eH){constructor(e,r){var a=e,{accept:i,collisionDetector:s,collisionPriority:l,type:c}=a,d=hce(a,["accept","collisionDetector","collisionPriority","type"]);super(d,r);go(Ii,5,this),ha(this,ZH,go(Ii,8,this)),go(Ii,11,this),ha(this,pH,go(Ii,12,this)),go(Ii,15,this),ha(this,mH,go(Ii,16,this)),go(Ii,19,this),ha(this,hH,go(Ii,20,this)),go(Ii,23,this),ha(this,gH,go(Ii,24,this)),go(Ii,27,this),this.accept=i,this.collisionDetector=s,this.collisionPriority=l,this.type=c}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}};Ii=wR(eH);ZH=new WeakMap;pH=new WeakMap;mH=new WeakMap;hH=new WeakMap;gH=new WeakMap;No(Ii,4,"accept",Dce,bu,ZH);No(Ii,4,"type",Ece,bu,pH);No(Ii,4,"collisionDetector",Ace,bu,mH);No(Ii,4,"collisionPriority",Tce,bu,hH);No(Ii,4,"shape",Pce,bu,gH);No(Ii,2,"isDropTarget",Rce,bu);nL(Ii,bu);var Lyt=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 s of i)s(...r)}},kyt=class extends Lyt{constructor(e){super();this.manager=e}dispatch(e,r){let a=[r,this.manager];super.dispatch(e,...a)}};function EF(e,r=!0){let a=!1;return oH(rH({},e),{cancelable:r,get defaultPrevented(){return a},preventDefault(){if(!r)return;a=!0}})}var Cyt=class extends zR{constructor(e){super(e);let r=(i,s)=>i.map(({id:l})=>l).join("")===s.map(({id:l})=>l).join(""),a=[];this.destroy=oL(()=>{let{dragOperation:i,collisionObserver:s}=e;if(i.status.initializing)a=[],s.enable()},()=>{let{collisionObserver:i,monitor:s}=e,{collisions:l}=i;if(i.isDisabled())return;if(FF.pendingIdChanges)return;let c=EF({collisions:l});if(s.dispatch("collision",c),c.defaultPrevented)return;if(r(l,a))return;else a=l;let[d]=l;yo(()=>{var h;if((d==null?void 0:d.id)!==((h=e.dragOperation.target)==null?void 0:h.id))i.disable(),e.actions.setDropTarget(d==null?void 0:d.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||{}),Oce,Nce,Fce,jce,Bce,Uce,Yce,wc,MH;Yce=[Po],Uce=[pn],Bce=[pn],jce=[pn],Fce=[pn],Nce=[pn],Oce=[pn];var aM=class{constructor(){go(wc,5,this),ha(this,MH,go(wc,8,this,"idle")),go(wc,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}};wc=wR(null);MH=new WeakMap;No(wc,4,"value",Yce,aM,MH);No(wc,2,"current",Uce,aM);No(wc,2,"idle",Bce,aM);No(wc,2,"initializing",jce,aM);No(wc,2,"initialized",Fce,aM);No(wc,2,"dragging",Nce,aM);No(wc,2,"dropped",Oce,aM);nL(wc,aM);var Iyt=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 yo(()=>{let{dragOperation:r}=this.manager,a=e!=null?e:null;if(r.targetIdentifier===a)return Promise.resolve(!1);r.targetIdentifier=a;let i=EF({operation:r.snapshot()});if(r.status.dragging)this.manager.monitor.dispatch("dragover",i);return this.manager.renderer.rendering.then(()=>i.defaultPrevented)})}start(e){return yo(()=>{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:s,coordinates:l}=e;$o(()=>{r.status.set("initialization-pending"),r.shape=null,r.canceled=!1,r.activatorEvent=s!=null?s:null,r.position.reset(l)});let c=EF({operation:r.snapshot()});if(this.manager.monitor.dispatch("beforedragstart",c),c.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:d}=r;if(d.current!=="initializing")return;$o(()=>{r.status.set("dragging"),this.manager.monitor.dispatch("dragstart",{nativeEvent:s,operation:r.snapshot(),cancelable:!1})})}),i})}move(e){return yo(()=>{var r,a;let{dragOperation:i}=this.manager,{status:s,controller:l}=i;if(!s.dragging||!l||l.signal.aborted)return;let c=EF({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",c);queueMicrotask(()=>{var d,h,g,x,v;if(c.defaultPrevented)return;let b=(v=e.to)!=null?v:{x:i.position.current.x+((h=(d=e.by)==null?void 0:d.x)!=null?h:0),y:i.position.current.y+((x=(g=e.by)==null?void 0:g.y)!=null?x:0)};i.position.current=b})})}stop(e={}){return yo(()=>{var r,a;let{dragOperation:i}=this.manager,{controller:s}=i;if(!s||s.signal.aborted)return;let l,c=()=>{let h={resume:()=>{},abort:()=>{}};return l=new Promise((g,x)=>{h.resume=g,h.abort=x}),h};s.abort();let d=()=>{this.manager.renderer.rendering.then(()=>{i.status.set("dropped");let h=yo(()=>{var x;return((x=i.source)==null?void 0:x.status)==="dropping"}),g=()=>{if(i.controller===s)i.controller=void 0;i.reset()};if(h){let{source:x}=i,v=Ci(()=>{if((x==null?void 0:x.status)==="idle")v(),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:c}),l)l.then(d).catch(()=>i.reset());else d()})}},aL=class extends ji{constructor(e,r){super(e,r);this.manager=e,this.options=r}},qce=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)}},DF,xH=class{constructor(e){this.options=e,ha(this,DF)}set controller(e){Ql(this,DF,e),e.signal.addEventListener("abort",()=>this.abort())}activate(e){var r;(r=Qn(this,DF))==null||r.activate(e)}};DF=new WeakMap;var Vd=class extends ji{constructor(e,r){super(e,r);this.manager=e,this.options=r}apply(e){return e.transform}},Ryt=class{constructor(e){this.draggables=new dce,this.droppables=new dce,this.plugins=new Q9(e),this.sensors=new Q9(e),this.modifiers=new Q9(e)}register(e,r){if(e instanceof _u)return this.draggables.register(e.id,e);if(e instanceof bu)return this.droppables.register(e.id,e);if(e.prototype instanceof Vd)return this.modifiers.register(e,r);if(e.prototype instanceof aL)return this.sensors.register(e,r);if(e.prototype instanceof ji)return this.plugins.register(e,r);throw Error("Invalid instance type")}unregister(e){if(e instanceof FF){if(e instanceof _u)return this.draggables.unregister(e.id,e);if(e instanceof bu)return this.droppables.unregister(e.id,e);return()=>{}}if(e.prototype instanceof Vd)return this.modifiers.unregister(e);if(e.prototype instanceof aL)return this.sensors.unregister(e);if(e.prototype instanceof ji)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()}},Hce,Vce,Wce,Gce,Kce,Xce,Qce,Jce,$ce,AD,OF,vR,En,vH,yH,_H,bH,wH,ED;$ce=[pn],Jce=[Po],Qce=[Po],Xce=[Po],Kce=[Po],Gce=[Po],Wce=[pn],Vce=[pn],Hce=[pn];var wu=class{constructor(e){go(En,5,this),ha(this,AD),ha(this,OF),ha(this,vR,new mZ(void 0,(r,a)=>r&&a?r.equals(a):r===a)),this.status=new aM,ha(this,vH,go(En,8,this,!1)),go(En,11,this),ha(this,yH,go(En,12,this,null)),go(En,15,this),ha(this,_H,go(En,16,this,null)),go(En,19,this),ha(this,bH,go(En,20,this,null)),go(En,23,this),ha(this,wH,go(En,24,this,[])),go(En,27,this),this.position=new PD({x:0,y:0}),ha(this,ED,{x:0,y:0}),Ql(this,AD,e)}get shape(){let{current:e,initial:r,previous:a}=Qn(this,vR);if(!e||!r)return null;return{current:e,initial:r,previous:a}}set shape(e){if(!e)Qn(this,vR).reset();else Qn(this,vR).current=e}get source(){var e;let r=this.sourceIdentifier;if(r==null)return null;let a=Qn(this,AD).registry.draggables.get(r);if(a)Ql(this,OF,a);return(e=a!=null?a:Qn(this,OF))!=null?e:null}get target(){var e;let r=this.targetIdentifier;return r!=null?(e=Qn(this,AD).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(oH(rH({},this.snapshot()),{transform:a}));return Ql(this,ED,a),a}snapshot(){return yo(()=>({source:this.source,target:this.target,activatorEvent:this.activatorEvent,transform:Qn(this,ED),shape:this.shape?CF(this.shape):null,position:CF(this.position),status:CF(this.status),canceled:this.canceled}))}reset(){$o(()=>{this.status.set("idle"),this.sourceIdentifier=null,this.targetIdentifier=null,Qn(this,vR).reset(),this.position.reset({x:0,y:0}),Ql(this,ED,{x:0,y:0}),this.modifiers=[]})}};En=wR(null);AD=new WeakMap;OF=new WeakMap;vR=new WeakMap;vH=new WeakMap;yH=new WeakMap;_H=new WeakMap;bH=new WeakMap;wH=new WeakMap;ED=new WeakMap;No(En,2,"shape",$ce,wu);No(En,4,"canceled",Jce,wu,vH);No(En,4,"activatorEvent",Qce,wu,yH);No(En,4,"sourceIdentifier",Xce,wu,_H);No(En,4,"targetIdentifier",Kce,wu,bH);No(En,4,"modifiers",Gce,wu,wH);No(En,2,"source",Wce,wu);No(En,2,"target",Vce,wu);No(En,2,"transform",Hce,wu);nL(En,wu);var Pyt={get rendering(){return Promise.resolve()}};function us(e,r){if(typeof e==="function")return e(r);return e!=null?e:r}var eue=class{constructor(e){this.destroy=()=>{if(!this.dragOperation.status.idle)this.actions.stop({canceled:!0});this.dragOperation.modifiers.forEach((v)=>v.destroy()),this.registry.destroy(),this.collisionObserver.destroy()};var r;let a=e!=null?e:{},i=us(a.plugins,[]),s=us(a.sensors,[]),l=us(a.modifiers,[]),c=(r=a.renderer)!=null?r:Pyt,d=new kyt(this),h=new Ryt(this);this.registry=h,this.monitor=d,this.renderer=c,this.actions=new Iyt(this),this.dragOperation=new wu(this),this.collisionObserver=new Syt(this),this.plugins=[Cyt,...i],this.modifiers=l,this.sensors=s;let{destroy:g}=this,x=oL(()=>{var v,b,y;let k=yo(()=>this.dragOperation.modifiers),T=this.modifiers;for(let U of k)if(!T.includes(U))U.destroy();this.dragOperation.modifiers=(y=(b=(v=this.dragOperation.source)==null?void 0:v.modifiers)==null?void 0:b.map((U)=>{let{plugin:N,options:j}=_R(U);return new N(this,j)}))!=null?y:T});this.destroy=()=>{x(),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 fue=(e)=>{throw TypeError(e)},LH=(e,r,a)=>r.has(e)||fue("Cannot "+a),Mo=(e,r,a)=>(LH(e,r,"read from private field"),r.get(e)),tl=(e,r,a)=>r.has(e)?fue("Cannot add the same private member more than once"):r instanceof WeakSet?r.add(e):r.set(e,a),Jl=(e,r,a,i)=>(LH(e,r,"write to private field"),r.set(e,a),a),sue=(e,r,a)=>(LH(e,r,"access private method"),a);function GF(e){if(!e)return!1;if(e instanceof KeyframeEffect)return!0;return"getKeyframes"in e&&typeof e.getKeyframes==="function"}function kH(e,r){let a=e.getAnimations(),i=null;for(let s of a){if(s.playState!=="running")continue;let{effect:l}=s,d=(GF(l)?l.getKeyframes():[]).filter(r);if(d.length>0)i=[d[d.length-1],s]}return i}function KF(e){let{width:r,height:a,top:i,left:s,bottom:l,right:c}=e.getBoundingClientRect();return{width:r,height:a,top:i,left:s,bottom:l,right:c}}function CH(e){let r=Object.prototype.toString.call(e);return r==="[object Window]"||r==="[object global]"}function YD(e){return"nodeType"in e}function ds(e){var r,a,i;if(!e)return window;if(CH(e))return e;if(!YD(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 XF(e){let{Document:r}=ds(e);return e instanceof r||"nodeType"in e&&e.nodeType===Node.DOCUMENT_NODE}function iM(e){if(!e||CH(e))return!1;return e instanceof ds(e).HTMLElement||"namespaceURI"in e&&typeof e.namespaceURI==="string"&&e.namespaceURI.endsWith("html")}function lue(e){return e instanceof ds(e).SVGElement||"namespaceURI"in e&&typeof e.namespaceURI==="string"&&e.namespaceURI.endsWith("svg")}function lL(e){if(!e)return document;if(CH(e))return e.document;if(!YD(e))return document;if(XF(e))return e;if(iM(e)||lue(e))return e.ownerDocument;return document}function Tyt(e){var r,a,i,s;let{documentElement:l}=lL(e),c=ds(e).visualViewport,d=(r=c==null?void 0:c.width)!=null?r:l.clientWidth,h=(a=c==null?void 0:c.height)!=null?a:l.clientHeight,g=(i=c==null?void 0:c.offsetTop)!=null?i:0,x=(s=c==null?void 0:c.offsetLeft)!=null?s:0;return{top:g,left:x,right:x+d,bottom:g+h,width:d,height:h}}function Ayt(e,r){if(Eyt(e)&&e.open===!1)return!1;let{overflow:a,overflowX:i,overflowY:s}=getComputedStyle(e);return a==="visible"&&i==="visible"&&s==="visible"}function Eyt(e){return e.tagName==="DETAILS"}function LR(e,r=e.getBoundingClientRect(),a=0){var i,s,l,c,d;let h=r,{ownerDocument:g}=e,x=(i=g.defaultView)!=null?i:window,v=e.parentElement;while(v&&v!==g.documentElement){if(!Ayt(v)){let G=v.getBoundingClientRect(),X=a*(G.bottom-G.top),J=a*(G.right-G.left),ee=a*(G.bottom-G.top),re=a*(G.right-G.left);h={top:Math.max(h.top,G.top-X),right:Math.min(h.right,G.right+J),bottom:Math.min(h.bottom,G.bottom+ee),left:Math.max(h.left,G.left-re),width:0,height:0},h.width=h.right-h.left,h.height=h.bottom-h.top}v=v.parentElement}let b=x.visualViewport,y=(s=b==null?void 0:b.offsetTop)!=null?s:0,k=(l=b==null?void 0:b.offsetLeft)!=null?l:0,T=(c=b==null?void 0:b.width)!=null?c:x.innerWidth,U=(d=b==null?void 0:b.height)!=null?d:x.innerHeight,N=a*U,j=a*T;if(h={top:Math.max(h.top,y-N),right:Math.min(h.right,k+T+j),bottom:Math.min(h.bottom,y+U+N),left:Math.max(h.left,k-j),width:0,height:0},h.width=h.right-h.left,h.height=h.bottom-h.top,h.width<0)h.width=0;if(h.height<0)h.height=0;return h}function cL(e){return{x:e.clientX,y:e.clientY}}var cue=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function qF(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 s=i.contentDocument;if(s&&!r.has(s))a.push(...qF(s,r))}catch(s){}try{let i=e.defaultView;if(i&&i!==window.top){let s=i.parent;if(s&&s.document&&s.document!==e)a.push(...qF(s.document,r))}}catch(i){}return a}function QF(){return/^((?!chrome|android).)*safari/i.test(navigator.userAgent)}function IH(){var e,r;let a=QF()?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 JF(e){if(!e||!YD(e))return!1;return e instanceof ds(e).ShadowRoot}function qD(e){if(e&&YD(e)){let r=e.getRootNode();if(JF(r))return r;else if(r instanceof Document)return r}return lL(e)}function HD(e){return e.matchMedia("(prefers-reduced-motion: reduce)").matches}function uue(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((l,c)=>{let d=i[c];if(tue(l)&&tue(d)){if(l.type!=="file")l.value=d.value;if(l.type==="radio"&&l.name)l.name=`Cloned__${l.name}`}if(rue(l)&&rue(d)&&d.width>0&&d.height>0){let h=l.getContext("2d");h==null||h.drawImage(d,0,0)}}),a}function tue(e){return"value"in e}function rue(e){return e.tagName==="CANVAS"}function RH(e,{x:r,y:a}){let i=e.elementFromPoint(r,a);if(Dyt(i)){let{contentDocument:s}=i;if(s){let{left:l,top:c}=i.getBoundingClientRect();return RH(s,{x:r-l,y:a-c})}}return i}function Dyt(e){return(e==null?void 0:e.tagName)==="IFRAME"}var VD=new WeakMap;function due(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 PH=class{constructor(){this.entries=new Set,this.clear=()=>{for(let e of this.entries){let[r,{type:a,listener:i,options:s}]=e;r.removeEventListener(a,i,s)}this.entries.clear()}}bind(e,r){let a=Array.isArray(e)?e:[e],i=Array.isArray(r)?r:[r],s=[];for(let c of a)for(let d of i){let{type:h,listener:g,options:x}=d,v=[c,d];c.addEventListener(h,g,x),this.entries.add(v),s.push(v)}let l=this.entries;return function(){for(let d of s){let[h,{type:g,listener:x,options:v}]=d;h.removeEventListener(g,x,v),l.delete(d)}}}};function sL(e){let r=e==null?void 0:e.ownerDocument.defaultView;if(r&&r.self!==r.parent)return r.frameElement}function Oyt(e){let r=new Set,a=sL(e);while(a)r.add(a),a=sL(a);return r}function Nyt(e,r){let a=setTimeout(e,r);return()=>clearTimeout(a)}function Zue(e,r){let a=()=>performance.now(),i,s;return function(...l){let c=this;if(!s)e.apply(c,l),s=a();else i==null||i(),i=Nyt(()=>{e.apply(c,l),s=a()},r-(a()-s))}}function Fyt(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 jyt(e,r=e.getBoundingClientRect()){let{width:a,height:i}=LR(e,r);return a>0&&i>0}var Byt=cue?ResizeObserver:class{observe(){}unobserve(){}disconnect(){}},UF,Uyt=class extends Byt{constructor(e){super((r)=>{if(!Mo(this,UF)){Jl(this,UF,!0);return}e(r,this)});tl(this,UF,!1)}};UF=new WeakMap;var oue=Array.from({length:100},(e,r)=>r/100),pue=75,iL,HF,S8,fL,OD,cf,BD,ND,VF,mue,hue,gue=class{constructor(e,r,a={debug:!1,skipInitial:!1}){this.element=e,this.callback=r,tl(this,VF),this.disconnect=()=>{var l,c,d;Jl(this,BD,!0),(l=Mo(this,S8))==null||l.disconnect(),(c=Mo(this,fL))==null||c.disconnect(),Mo(this,OD).disconnect(),(d=Mo(this,cf))==null||d.remove()},tl(this,iL,!0),tl(this,HF),tl(this,S8),tl(this,fL),tl(this,OD),tl(this,cf),tl(this,BD,!1),tl(this,ND,Zue(()=>{var l,c,d;let{element:h}=this;if((l=Mo(this,fL))==null||l.disconnect(),Mo(this,BD)||!Mo(this,iL)||!h.isConnected)return;let g=(c=h.ownerDocument)!=null?c:document,{innerHeight:x,innerWidth:v}=(d=g.defaultView)!=null?d:window,b=h.getBoundingClientRect(),y=LR(h,b),{top:k,left:T,bottom:U,right:N}=y,j=-Math.floor(k),G=-Math.floor(T),X=-Math.floor(v-N),J=-Math.floor(x-U),ee=`${j}px ${X}px ${J}px ${G}px`;this.boundingClientRect=b,Jl(this,fL,new IntersectionObserver((re)=>{let[oe]=re,{intersectionRect:fe}=oe;if((oe.intersectionRatio!==1?oe.intersectionRatio:el.intersectionRatio(fe,LR(h)))!==1)Mo(this,ND).call(this)},{threshold:oue,rootMargin:ee,root:g})),Mo(this,fL).observe(h),sue(this,VF,mue).call(this)},pue)),this.boundingClientRect=e.getBoundingClientRect(),Jl(this,iL,jyt(e,this.boundingClientRect));let i=!0;this.callback=(l)=>{if(i){if(i=!1,a.skipInitial)return}r(l)};let s=e.ownerDocument;if(a==null?void 0:a.debug)Jl(this,cf,document.createElement("div")),Mo(this,cf).style.background="rgba(0,0,0,0.15)",Mo(this,cf).style.position="fixed",Mo(this,cf).style.pointerEvents="none",s.body.appendChild(Mo(this,cf));if(Jl(this,OD,new IntersectionObserver((l)=>{var c,d;let h=l[l.length-1],{boundingClientRect:g,isIntersecting:x}=h,{width:v,height:b}=g,y=Mo(this,iL);if(Jl(this,iL,x),!v&&!b)return;if(y&&!x){if((c=Mo(this,fL))==null||c.disconnect(),this.callback(null),(d=Mo(this,S8))==null||d.disconnect(),Jl(this,S8,void 0),Mo(this,cf))Mo(this,cf).style.visibility="hidden"}else Mo(this,ND).call(this);if(x&&!Mo(this,S8))Jl(this,S8,new Uyt(Mo(this,ND))),Mo(this,S8).observe(e)},{threshold:oue,root:s})),Mo(this,iL)&&!a.skipInitial)this.callback(this.boundingClientRect);Mo(this,OD).observe(e)}};iL=new WeakMap;HF=new WeakMap;S8=new WeakMap;fL=new WeakMap;OD=new WeakMap;cf=new WeakMap;BD=new WeakMap;ND=new WeakMap;VF=new WeakSet;mue=function(){if(Mo(this,BD))return;if(sue(this,VF,hue).call(this),Fyt(this.boundingClientRect,Mo(this,HF)))return;this.callback(this.boundingClientRect),Jl(this,HF,this.boundingClientRect)};hue=function(){if(Mo(this,cf)){let{top:e,left:r,width:a,height:i}=LR(this.element);Mo(this,cf).style.overflow="hidden",Mo(this,cf).style.visibility="visible",Mo(this,cf).style.top=`${Math.floor(e)}px`,Mo(this,cf).style.left=`${Math.floor(r)}px`,Mo(this,cf).style.width=`${Math.floor(a)}px`,Mo(this,cf).style.height=`${Math.floor(i)}px`}};var jF=new WeakMap,BF=new WeakMap;function Yyt(e,r){let a=jF.get(e);if(!a)a={disconnect:new gue(e,(s)=>{let l=jF.get(e);if(!l)return;l.callbacks.forEach((c)=>c(s))},{skipInitial:!0}).disconnect,callbacks:new Set};return a.callbacks.add(r),jF.set(e,a),()=>{if(a.callbacks.delete(r),a.callbacks.size===0)jF.delete(e),a.disconnect()}}function qyt(e,r){let a=new Set;for(let i of e){let s=Yyt(i,r);a.add(s)}return()=>a.forEach((i)=>i())}function Hyt(e,r){var a;let i=e.ownerDocument;if(!BF.has(i)){let c=new AbortController,d=new Set;document.addEventListener("scroll",(h)=>d.forEach((g)=>g(h)),{capture:!0,passive:!0,signal:c.signal}),BF.set(i,{disconnect:()=>c.abort(),listeners:d})}let{listeners:s,disconnect:l}=(a=BF.get(i))!=null?a:{};if(!s||!l)return()=>{};return s.add(r),()=>{if(s.delete(r),s.size===0)l(),BF.delete(i)}}var FD,jD,YF,SH,Mue=class{constructor(e,r,a){this.callback=r,tl(this,FD),tl(this,jD,!1),tl(this,YF),tl(this,SH,Zue((c)=>{if(Mo(this,jD))return;if(!c.target)return;if("contains"in c.target&&typeof c.target.contains==="function"){for(let d of Mo(this,YF))if(c.target.contains(d)){this.callback(Mo(this,FD).boundingClientRect);break}}},pue));let i=Oyt(e),s=qyt(i,r),l=Hyt(e,Mo(this,SH));Jl(this,YF,i),Jl(this,FD,new gue(e,r,a)),this.disconnect=()=>{if(Mo(this,jD))return;Jl(this,jD,!0),s(),l(),Mo(this,FD).disconnect()}}};FD=new WeakMap;jD=new WeakMap;YF=new WeakMap;SH=new WeakMap;function $F(e){return"showPopover"in e&&"hidePopover"in e&&typeof e.showPopover==="function"&&typeof e.hidePopover==="function"}function uL(e){try{if($F(e)&&e.isConnected&&e.hasAttribute("popover")&&!e.matches(":popover-open"))e.showPopover()}catch(r){}}function aue(e){if(!cue||!e)return!1;return e===lL(e).scrollingElement}function xue(e){var r,a;let i=ds(e),s=aue(e)?Tyt(e):KF(e),l=i.visualViewport,c=aue(e)?{height:(r=l==null?void 0:l.height)!=null?r:i.innerHeight,width:(a=l==null?void 0:l.width)!=null?a:i.innerWidth}:{height:e.clientHeight,width:e.clientWidth},d={current:{x:e.scrollLeft,y:e.scrollTop},max:{x:e.scrollWidth-c.width,y:e.scrollHeight-c.height}},h=d.current.y<=0,g=d.current.x<=0,x=d.current.y>=d.max.y,v=d.current.x>=d.max.x;return{rect:s,position:d,isTop:h,isLeft:g,isBottom:x,isRight:v}}function vue(e,r){let{isTop:a,isBottom:i,isLeft:s,isRight:l,position:c}=xue(e),{x:d,y:h}=r!=null?r:{x:0,y:0},g=!a&&c.current.y+h>0,x=!i&&c.current.y+h<c.max.y,v=!s&&c.current.x+d>0,b=!l&&c.current.x+d<c.max.x;return{top:g,bottom:x,left:v,right:b,x:v||b,y:g||x}}var TH=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))}},WD=new TH((e)=>{if(typeof requestAnimationFrame==="function")requestAnimationFrame(e);else e()}),Vyt=new TH((e)=>setTimeout(e,50)),WF=new Map,Wyt=WF.clear.bind(WF);function Sc(e,r=!1){if(!r)return nue(e);let a=WF.get(e);if(a)return a;return a=nue(e),WF.set(e,a),Vyt.schedule(Wyt),a}function nue(e){return ds(e).getComputedStyle(e)}function Gyt(e,r=Sc(e,!0)){return r.position==="fixed"||r.position==="sticky"}function Kyt(e,r=Sc(e,!0)){let a=/(auto|scroll|overlay)/;return["overflow","overflowX","overflowY"].some((s)=>{let l=r[s];return typeof l==="string"?a.test(l):!1})}var Xyt={excludeElement:!0,escapeShadowDOM:!0};function e3(e,r=Xyt){let{limit:a,excludeElement:i,escapeShadowDOM:s}=r,l=new Set;function c(d){if(a!=null&&l.size>=a)return l;if(!d)return l;if(XF(d)&&d.scrollingElement!=null&&!l.has(d.scrollingElement))return l.add(d.scrollingElement),l;if(s&&JF(d))return c(d.host);if(!iM(d)){if(lue(d))return c(d.parentElement);return l}if(l.has(d))return l;let h=Sc(d,!0);if(i&&d===e);else if(Kyt(d,h))l.add(d);if(Gyt(d,h)){let{scrollingElement:g}=d.ownerDocument;if(g)l.add(g);return l}return c(d.parentNode)}if(!e)return l;return c(e)}function dL(e,r=window.frameElement){let a={x:0,y:0,scaleX:1,scaleY:1};if(!e)return a;let i=sL(e);while(i){if(i===r)return a;let s=KF(i),{x:l,y:c}=Qyt(i,s);a.x=a.x+s.left,a.y=a.y+s.top,a.scaleX=a.scaleX*l,a.scaleY=a.scaleY*c,i=sL(i)}return a}function Qyt(e,r=KF(e)){let a=Math.round(r.width),i=Math.round(r.height);if(iM(e))return{x:a/e.offsetWidth,y:i/e.offsetHeight};let s=Sc(e,!0);return{x:(parseFloat(s.width)||a)/a,y:(parseFloat(s.height)||i)/i}}function Jyt(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 kR(e){if(!e||e==="none")return null;let[r,a,i="0"]=e.split(" "),s={x:parseFloat(r),y:parseFloat(a),z:parseInt(i,10)};if(isNaN(s.x)&&isNaN(s.y))return null;return{x:isNaN(s.x)?0:s.x,y:isNaN(s.y)?0:s.y,z:isNaN(s.z)?0:s.z}}function GD(e){var r,a,i,s,l,c,d,h,g;let{scale:x,transform:v,translate:b}=e,y=Jyt(x),k=kR(b),T=$yt(v);if(!T&&!y&&!k)return null;let U={x:(r=y==null?void 0:y.x)!=null?r:1,y:(a=y==null?void 0:y.y)!=null?a:1},N={x:(i=k==null?void 0:k.x)!=null?i:0,y:(s=k==null?void 0:k.y)!=null?s:0},j={x:(l=T==null?void 0:T.x)!=null?l:0,y:(c=T==null?void 0:T.y)!=null?c:0,scaleX:(d=T==null?void 0:T.scaleX)!=null?d:1,scaleY:(h=T==null?void 0:T.scaleY)!=null?h:1};return{x:N.x+j.x,y:N.y+j.y,z:(g=k==null?void 0:k.z)!=null?g:0,scaleX:U.x*j.scaleX,scaleY:U.y*j.scaleY}}function $yt(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 $l=((e)=>(e[e.Idle=0]="Idle",e[e.Forward=1]="Forward",e[e.Reverse=-1]="Reverse",e))($l||{}),e_t={x:0.2,y:0.2},t_t={x:10,y:10};function yue(e,r,a,i=25,s=e_t,l=t_t){let{x:c,y:d}=r,{rect:h,isTop:g,isBottom:x,isLeft:v,isRight:b}=xue(e),y=dL(e),k=Sc(e,!0),T=GD(k),U=T!==null?(T==null?void 0:T.scaleX)<0:!1,N=T!==null?(T==null?void 0:T.scaleY)<0:!1,j=new el(h.left*y.scaleX+y.x,h.top*y.scaleY+y.y,h.width*y.scaleX,h.height*y.scaleY),G={x:0,y:0},X={x:0,y:0},J={height:j.height*s.y,width:j.width*s.x};if(J.height>0&&(!g||N&&!x)&&d<=j.top+J.height&&(a==null?void 0:a.y)!==1&&c>=j.left-l.x&&c<=j.right+l.x)G.y=N?1:-1,X.y=i*Math.abs((j.top+J.height-d)/J.height);else if(J.height>0&&(!x||N&&!g)&&d>=j.bottom-J.height&&(a==null?void 0:a.y)!==-1&&c>=j.left-l.x&&c<=j.right+l.x)G.y=N?-1:1,X.y=i*Math.abs((j.bottom-J.height-d)/J.height);if(J.width>0&&(!b||U&&!v)&&c>=j.right-J.width&&(a==null?void 0:a.x)!==-1&&d>=j.top-l.y&&d<=j.bottom+l.y)G.x=U?-1:1,X.x=i*Math.abs((j.right-J.width-c)/J.width);else if(J.width>0&&(!v||U&&!b)&&c<=j.left+J.width&&(a==null?void 0:a.x)!==1&&d>=j.top-l.y&&d<=j.bottom+l.y)G.x=U?1:-1,X.x=i*Math.abs((j.left+J.width-c)/J.width);return{direction:G,speed:X}}function t3(e,{block:r="nearest",inline:a="nearest"}={}){if(!iM(e))return;let i=e3(e),s=[];for(let l of i){if(!iM(l))continue;let{top:c,left:d}=r_t(e,l),h=c,g=d;for(let x of s)h-=x.scrollTop,g-=x.scrollLeft;if(r!=="none"){let x=h<l.scrollTop,v=h+e.offsetHeight>l.scrollTop+l.clientHeight;if(x!==v)if(r==="center")l.scrollTop=h-l.clientHeight/2+e.offsetHeight/2;else if(x)l.scrollTop=h;else l.scrollTop=h+e.offsetHeight-l.clientHeight}if(a!=="none"){let x=g<l.scrollLeft,v=g+e.offsetWidth>l.scrollLeft+l.clientWidth;if(x!==v)if(a==="center")l.scrollLeft=g-l.clientWidth/2+e.offsetWidth/2;else if(x)l.scrollLeft=g;else l.scrollLeft=g+e.offsetWidth-l.clientWidth}s.push(l)}}function iue(e){let r=0,a=0,i=e;while(i){r+=i.offsetTop,a+=i.offsetLeft;let s=i.offsetParent;if(!iM(s))break;r+=s.clientTop,a+=s.clientLeft,i=s}return{top:r,left:a}}function r_t(e,r){let a=iue(e),i=iue(r);return{top:a.top-i.top-r.clientTop,left:a.left-i.left-r.clientLeft}}function o_t(e,r,a){let{scaleX:i,scaleY:s,x:l,y:c}=r,d=e.left+l+(1-i)*parseFloat(a),h=e.top+c+(1-s)*parseFloat(a.slice(a.indexOf(" ")+1)),g=i?e.width*i:e.width,x=s?e.height*s:e.height;return{width:g,height:x,top:h,right:d+g,bottom:h+x,left:d}}function a_t(e,r,a){let{scaleX:i,scaleY:s,x:l,y:c}=r,d=e.left-l-(1-i)*parseFloat(a),h=e.top-c-(1-s)*parseFloat(a.slice(a.indexOf(" ")+1)),g=i?e.width/i:e.width,x=s?e.height/s:e.height;return{width:g,height:x,top:h,right:d+g,bottom:h+x,left:d}}function r3({element:e,keyframes:r,options:a}){return e.animate(r,a).finished}function AH(e,r=Sc(e).translate,a=!0){if(a){let i=kH(e,(s)=>("translate"in s));if(i){let{translate:s=""}=i[0];if(typeof s==="string"){let l=kR(s);if(l)return l}}}if(r){let i=kR(r);if(i)return i}return{x:0,y:0,z:0}}var n_t=new TH((e)=>setTimeout(e,0)),UD=new Map,i_t=UD.clear.bind(UD);function f_t(e){let r=e.ownerDocument,a=UD.get(r);if(a)return a;a=r.getAnimations(),UD.set(r,a),n_t.schedule(i_t);let i=a.filter((s)=>GF(s.effect)&&s.effect.target===e);return UD.set(e,i),a}function s_t(e,r){let a=f_t(e).filter((i)=>{var s,l;if(GF(i.effect)){let{target:c}=i.effect;if((l=c&&((s=r.isValidTarget)==null?void 0:s.call(r,c)))!=null?l:!0)return i.effect.getKeyframes().some((h)=>{for(let g of r.properties)if(h[g])return!0})}}).map((i)=>{let{effect:s,currentTime:l}=i,c=s==null?void 0:s.getComputedTiming().duration;if(i.pending||i.playState==="finished")return;if(typeof c=="number"&&typeof l=="number"&&l<c)return i.currentTime=c,()=>{i.currentTime=l}});if(a.length>0)return()=>a.forEach((i)=>i==null?void 0:i())}var kc=class extends el{constructor(e,r={}){var a,i,s,l;let{frameTransform:c=dL(e),ignoreTransforms:d,getBoundingClientRect:h=KF}=r,g=s_t(e,{properties:["transform","translate","scale","width","height"],isValidTarget:(J)=>(J!==e||QF())&&J.contains(e)}),x=h(e),{top:v,left:b,width:y,height:k}=x,T,U=Sc(e),N=GD(U),j={x:(a=N==null?void 0:N.scaleX)!=null?a:1,y:(i=N==null?void 0:N.scaleY)!=null?i:1},G=l_t(e,U);if(g==null||g(),N){if(T=a_t(x,N,U.transformOrigin),d||G)v=T.top,b=T.left,y=T.width,k=T.height}let X={width:(s=T==null?void 0:T.width)!=null?s:y,height:(l=T==null?void 0:T.height)!=null?l:k};if(G&&!d&&T){let J=o_t(T,G,U.transformOrigin);v=J.top,b=J.left,y=J.width,k=J.height,j.x=G.scaleX,j.y=G.scaleY}if(c){if(!d)b*=c.scaleX,y*=c.scaleX,v*=c.scaleY,k*=c.scaleY;b+=c.x,v+=c.y}super(b,v,y,k);this.scale=j,this.intrinsicWidth=X.width,this.intrinsicHeight=X.height}};function l_t(e,r){let a=e.getAnimations();if(!a.length)return null;let i,s,l,c=!1;for(let d of a){if(d.playState!=="running")continue;let h=GF(d.effect)?d.effect.getKeyframes():[],g=h[h.length-1];if(!g)continue;let{transform:x,translate:v,scale:b}=g;if(typeof x==="string"&&x)i=x,c=!0;if(typeof v==="string"&&v)s=v,c=!0;if(typeof b==="string"&&b)l=b,c=!0}if(!c)return null;return GD({transform:i!=null?i:r.transform,translate:s!=null?s:r.translate,scale:l!=null?l:r.scale})}function SR(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 _ue=class{constructor(e){this.element=e,this.initial=new Map}set(e,r=""){let{element:a}=this;if(!SR(a))return;for(let[i,s]of Object.entries(e)){let l=`${r}${i}`;if(!this.initial.has(l))this.initial.set(l,a.style.getPropertyValue(l));a.style.setProperty(l,typeof s==="string"?s:`${s}px`)}}remove(e,r=""){let{element:a}=this;if(!SR(a))return;for(let i of e){let s=`${r}${i}`;a.style.removeProperty(s)}}reset(){let{element:e}=this;if(!SR(e))return;for(let[r,a]of this.initial)e.style.setProperty(r,a);if(e.getAttribute("style")==="")e.removeAttribute("style")}};function L8(e){if(!e)return!1;return e instanceof ds(e).Element||YD(e)&&e.nodeType===Node.ELEMENT_NODE}function ZL(e){if(!e)return!1;let{KeyboardEvent:r}=ds(e.target);return e instanceof r}function bue(e){if(!e)return!1;let{PointerEvent:r}=ds(e.target);return e instanceof r}function wue(e){if(!L8(e))return!1;let{tagName:r}=e;return r==="INPUT"||r==="TEXTAREA"||c_t(e)}function c_t(e){return e.hasAttribute("contenteditable")&&e.getAttribute("contenteditable")!=="false"}var zH={};function o3(e){let r=zH[e]==null?0:zH[e]+1;return zH[e]=r,`${e}-${r}`}var u_t=({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 s=Sf.distance(r.shape.center,a);return{id:i,value:1/s,type:gZ.PointerIntersection,priority:hZ.High}}return null},d_t=({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:s}=e,l=Sf.distance(r.shape.center,s.current),d=i/(a.current.area+r.shape.area-i)/l;return{id:r.id,value:d,type:gZ.ShapeIntersection,priority:hZ.Normal}}return null},a3=(e)=>{var r;return(r=u_t(e))!=null?r:d_t(e)},zue=(e)=>{let{dragOperation:r,droppable:a}=e,{shape:i,position:s}=r;if(!a.shape)return null;let l=i?el.from(i.current.boundingRectangle).corners:void 0,d=el.from(a.shape.boundingRectangle).corners.reduce((h,g,x)=>{var v;return h+Sf.distance(Sf.from(g),(v=l==null?void 0:l[x])!=null?v:s.current)},0)/4;return{id:a.id,value:1/d,type:gZ.Collision,priority:hZ.Normal}};var{create:Z_t,defineProperty:GH,defineProperties:p_t,getOwnPropertyDescriptor:m_t,getOwnPropertyDescriptors:h_t,getOwnPropertySymbols:f3}=Object,Aue=Object.prototype.hasOwnProperty,Eue=Object.prototype.propertyIsEnumerable,Due=(e,r)=>(r=Symbol[e])?r:Symbol.for("Symbol."+e),ER=(e)=>{throw TypeError(e)},OH=(e,r,a)=>(r in e)?GH(e,r,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[r]=a,tO=(e,r)=>{for(var a in r||(r={}))if(Aue.call(r,a))OH(e,a,r[a]);if(f3){for(var a of f3(r))if(Eue.call(r,a))OH(e,a,r[a])}return e},KH=(e,r)=>p_t(e,h_t(r)),Sue=(e,r)=>GH(e,"name",{value:r,configurable:!0}),Oue=(e,r)=>{var a={};for(var i in e)if(Aue.call(e,i)&&r.indexOf(i)<0)a[i]=e[i];if(e!=null&&f3){for(var i of f3(e))if(r.indexOf(i)<0&&Eue.call(e,i))a[i]=e[i]}return a},DR=(e)=>{var r;return[,,,Z_t((r=e==null?void 0:e[Due("metadata")])!=null?r:null)]},Nue=["class","method","getter","setter","accessor","field","value","get","set"],XD=(e)=>e!==void 0&&typeof e!=="function"?ER("Function expected"):e,g_t=(e,r,a,i,s)=>({kind:Nue[e],name:r,metadata:i,addInitializer:(l)=>a._?ER("Already initialized"):s.push(XD(l||null))}),ML=(e,r)=>OH(r,Due("metadata"),e[3]),Ri=(e,r,a,i)=>{for(var s=0,l=e[r>>1],c=l&&l.length;s<c;s++)r&1?l[s].call(a):i=l[s].call(a,i);return i},Cc=(e,r,a,i,s,l)=>{var c,d,h,g,x,v=r&7,b=!!(r&8),y=!!(r&16),k=v>3?e.length+1:v?b?1:2:0,T=Nue[v+5],U=v>3&&(e[k-1]=[]),N=e[k]||(e[k]=[]),j=v&&(!y&&!b&&(s=s.prototype),v<5&&(v>3||!y)&&m_t(v<4?s:{get[a](){return Ka(this,l)},set[a](X){return Ms(this,l,X)}},a));v?y&&v<4&&Sue(l,(v>2?"set ":v>1?"get ":"")+a):Sue(s,a);for(var G=i.length-1;G>=0;G--){if(g=g_t(v,a,h={},e[3],N),v){if(g.static=b,g.private=y,x=g.access={has:y?(X)=>M_t(s,X):(X)=>(a in X)},v^3)x.get=y?(X)=>(v^1?Ka:gL)(X,s,v^4?l:j.get):(X)=>X[a];if(v>2)x.set=y?(X,J)=>Ms(X,s,J,v^4?l:j.set):(X,J)=>X[a]=J}if(d=(0,i[G])(v?v<4?y?l:j[T]:v>4?void 0:{get:j.get,set:j.set}:s,g),h._=1,v^4||d===void 0)XD(d)&&(v>4?U.unshift(d):v?y?l=d:j[T]=d:s=d);else if(typeof d!=="object"||d===null)ER("Object expected");else XD(c=d.get)&&(j.get=c),XD(c=d.set)&&(j.set=c),XD(c=d.init)&&U.unshift(c)}return v||ML(e,s),j&&GH(s,a,j),y?v^4?l:j:s},XH=(e,r,a)=>r.has(e)||ER("Cannot "+a),M_t=(e,r)=>Object(r)!==r?ER('Cannot use the "in" operator on this value'):e.has(r),Ka=(e,r,a)=>(XH(e,r,"read from private field"),a?a.call(e):r.get(e)),Jn=(e,r,a)=>r.has(e)?ER("Cannot add the same private member more than once"):r instanceof WeakSet?r.add(e):r.set(e,a),Ms=(e,r,a,i)=>(XH(e,r,"write to private field"),i?i.call(e,a):r.set(e,a),a),gL=(e,r,a)=>(XH(e,r,"access private method"),a),Lue={role:"button",roleDescription:"draggable"},x_t="dnd-kit-description",v_t="dnd-kit-announcement",y_t={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."},__t={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 b_t(e){let r=e.tagName.toLowerCase();return["input","select","textarea","a","button"].includes(r)}function w_t(e,r){let a=document.createElement("div");return a.id=e,a.style.setProperty("display","none"),a.textContent=r,a}function z_t(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 S_t=["dragover","dragmove"],L_t=class extends ji{constructor(e,r){super(e);let{id:a,idPrefix:{description:i=x_t,announcement:s=v_t}={},announcements:l=__t,screenReaderInstructions:c=y_t,debounce:d=500}=r!=null?r:{},h=a?`${i}-${a}`:o3(i),g=a?`${s}-${a}`:o3(s),x,v,b,y,k=(J=y)=>{if(!b||!J)return;if((b==null?void 0:b.nodeValue)!==J)b.nodeValue=J},T=()=>WD.schedule(k),U=k_t(T,d),N=Object.entries(l).map(([J,ee])=>this.manager.monitor.addEventListener(J,(re,oe)=>{let fe=b;if(!fe)return;let be=ee==null?void 0:ee(re,oe);if(be&&fe.nodeValue!==be)if(y=be,S_t.includes(J))U();else T(),U.cancel()})),j=()=>{let J=[];if(!(x==null?void 0:x.isConnected))x=w_t(h,c.draggable),J.push(x);if(!(v==null?void 0:v.isConnected))v=z_t(g),b=document.createTextNode(""),v.appendChild(b),J.push(v);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 re=(J=ee.handle)!=null?J:ee.element;if(re){if(!x||!v)G.add(j);if((!b_t(re)||QF())&&!re.hasAttribute("tabindex"))G.add(()=>re.setAttribute("tabindex","0"));if(!re.hasAttribute("role")&&re.tagName.toLowerCase()!=="button")G.add(()=>re.setAttribute("role",Lue.role));if(!re.hasAttribute("aria-roledescription"))G.add(()=>re.setAttribute("aria-roledescription",Lue.roleDescription));if(!re.hasAttribute("aria-describedby"))G.add(()=>re.setAttribute("aria-describedby",h));for(let fe of["aria-pressed","aria-grabbed"]){let be=String(ee.isDragging);if(re.getAttribute(fe)!==be)G.add(()=>re.setAttribute(fe,be))}let oe=String(ee.disabled);if(re.getAttribute("aria-disabled")!==oe)G.add(()=>re.setAttribute("aria-disabled",oe))}}if(G.size>0)WD.schedule(X)}),this.destroy=()=>{super.destroy(),x==null||x.remove(),v==null||v.remove(),N.forEach((J)=>J())}}};function k_t(e,r){let a,i=()=>{clearTimeout(a),a=setTimeout(e,r)};return i.cancel=()=>clearTimeout(a),i}var s3=new Map,Fue,jue,Bue,Uue,NH,$D,fM,QH,TR,Yue,que,Hue,Vue,P8=class extends(NH=zR,Uue=[Po],Bue=[pn],jue=[pn],Fue=[pn],NH){constructor(r,a){super(r,a);Ri(fM,5,this),Jn(this,TR),Jn(this,$D,new Set),Jn(this,QH,Ri(fM,8,this,new Set)),Ri(fM,11,this),this.registerEffect(gL(this,TR,Yue))}register(r){return Ka(this,$D).add(r),()=>{Ka(this,$D).delete(r)}}addRoot(r){return yo(()=>{let a=new Set(this.additionalRoots);a.add(r),this.additionalRoots=a}),()=>{yo(()=>{let a=new Set(this.additionalRoots);a.delete(r),this.additionalRoots=a})}}get sourceRoot(){var r;let{source:a}=this.manager.dragOperation;return qD((r=a==null?void 0:a.element)!=null?r:null)}get targetRoot(){var r;let{target:a}=this.manager.dragOperation;return qD((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}};fM=DR(NH);$D=new WeakMap;QH=new WeakMap;TR=new WeakSet;Yue=function(){let{roots:e}=this,r=[];for(let a of e)for(let i of Ka(this,$D))r.push(gL(this,TR,que).call(this,a,i));return()=>{for(let a of r)a()}};que=function(e,r){let a=s3.get(e);if(!a)a=new Map,s3.set(e,a);let i=a.get(r);if(!i){let l=XF(e)?gL(this,TR,Hue).call(this,e,a,r):gL(this,TR,Vue).call(this,e,a,r);if(!l)return()=>{};i=l,a.set(r,i)}i.refCount++;let s=!1;return()=>{if(s)return;if(s=!0,i.refCount--,i.refCount===0)i.cleanup()}};Hue=function(e,r,a){var i;let s=e.createElement("style"),{nonce:l}=(i=this.options)!=null?i:{};if(l)s.setAttribute("nonce",l);s.textContent=a,e.head.prepend(s);let c=new MutationObserver((d)=>{for(let h of d)for(let g of Array.from(h.removedNodes))if(g===s){e.head.prepend(s);return}});return c.observe(e.head,{childList:!0}),{refCount:0,cleanup:()=>{if(c.disconnect(),s.remove(),r.delete(a),r.size===0)s3.delete(e)}}};Vue=function(e,r,a){"adoptedStyleSheets"in e&&Array.isArray(e.adoptedStyleSheets);let i=e.ownerDocument.defaultView,{CSSStyleSheet:s}=i!=null?i:{};if(!s)return null;let l=new s;return l.replaceSync(a),e.adoptedStyleSheets.push(l),{refCount:0,cleanup:()=>{var c;if(JF(e)&&((c=e.host)==null?void 0:c.isConnected)){let d=e.adoptedStyleSheets.indexOf(l);if(d!==-1)e.adoptedStyleSheets.splice(d,1)}if(r.delete(a),r.size===0)s3.delete(e)}}};Cc(fM,4,"additionalRoots",Uue,P8,QH);Cc(fM,2,"sourceRoot",Bue,P8);Cc(fM,2,"targetRoot",jue,P8);Cc(fM,2,"roots",Fue,P8);ML(fM,P8);P8.configure=oa(P8);var d3=P8,C_t=class extends ji{constructor(e,r){super(e,r);this.manager=e;let{cursor:a="grabbing"}=r!=null?r:{},i=e.registry.plugins.get(d3),s=i==null?void 0:i.register(`* { cursor: ${a} !important; }`);if(s){let l=this.destroy.bind(this);this.destroy=()=>{s(),l()}}}},nO="data-dnd-",FH=`${nO}dropping`,uf="--dnd-",MZ=`${nO}dragging`,l3=`${nO}placeholder`,I_t=[MZ,l3,"popover","aria-pressed","aria-grabbing"],R_t=["view-transition-name"],P_t=`
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(${uf}top, 0px) !important;
93
- left: var(${uf}left, 0px) !important;
94
- right: unset !important;
95
- bottom: unset !important;
96
- width: var(${uf}width, auto);
97
- max-width: var(${uf}width, auto);
98
- height: var(${uf}height, auto);
99
- max-height: var(${uf}height, auto);
100
- transform: var(${uf}transform, none) !important;
101
- transition: var(${uf}transition) !important;
102
- }
103
-
104
- :is(:root,:host) [${l3}] {
105
- transition: none;
106
- }
107
-
108
- :is(:root,:host) [${l3}='hidden'] {
109
- visibility: hidden;
110
- }
111
-
112
- [${MZ}] * {
113
- pointer-events: none !important;
114
- }
115
-
116
- [${MZ}]:not([${FH}]) {
117
- translate: var(${uf}translate) !important;
118
- }
119
-
120
- [${MZ}][style*='${uf}scale'] {
121
- scale: var(${uf}scale) !important;
122
- transform-origin: var(${uf}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, [${nO}overlay]:not([${MZ}]) {
141
- display: none;
142
- visibility: hidden;
143
- }
144
- `.replace(/\n+/g," ").replace(/\s+/g," ").trim();function T_t(e,r="hidden"){return yo(()=>{let{element:a,manager:i}=e;if(!a||!i)return;let s=A_t(a,i.registry.droppables),l=[],c=uue(a),{remove:d}=c;return E_t(s,c,l),D_t(c,r),c.remove=()=>{l.forEach((h)=>h()),d.call(c)},c})}function A_t(e,r){let a=new Map;for(let i of r){if(!i.element)continue;if(e===i.element||e.contains(i.element)){let s=`${nO}${o3("dom-id")}`;i.element.setAttribute(s,""),a.set(i,s)}}return a}function E_t(e,r,a){for(let[i,s]of e){if(!i.element)continue;let l=`[${s}]`,c=r.matches(l)?r:r.querySelector(l);if(i.element.removeAttribute(s),!c)continue;let d=i.element;i.proxy=c,c.removeAttribute(s),VD.set(d,c),a.push(()=>{VD.delete(d),i.proxy=void 0})}}function D_t(e,r="hidden"){e.setAttribute("inert","true"),e.setAttribute("tab-index","-1"),e.setAttribute("aria-hidden","true"),e.setAttribute(l3,r)}function Wue(e,r){if(e===r)return!0;return sL(e)===sL(r)}function kue(e){let{target:r}=e;if("newState"in e&&e.newState==="closed"&&L8(r)&&r.hasAttribute("popover"))requestAnimationFrame(()=>uL(r))}function jH(e){return e.tagName==="TR"}function O_t(e,r,a){let i=new MutationObserver((s)=>{let l=!1;for(let c of s){if(c.target!==e){l=!0;continue}if(c.type!=="attributes")continue;let d=c.attributeName;if(d.startsWith("aria-")||I_t.includes(d))continue;let h=e.getAttribute(d);if(d==="style"){if(SR(e)&&SR(r)){let g=e.style;for(let x of Array.from(r.style))if(g.getPropertyValue(x)==="")r.style.removeProperty(x);for(let x of Array.from(g)){if(R_t.includes(x)||x.startsWith(uf))continue;let v=g.getPropertyValue(x);r.style.setProperty(x,v)}}}else if(h!==null)r.setAttribute(d,h);else r.removeAttribute(d)}if(l&&a)r.replaceChildren(...e.cloneNode(!0).childNodes)});return i.observe(e,{attributes:!0,subtree:!0,childList:!0}),i}function N_t(e,r,a){let i=new MutationObserver((s)=>{for(let l of s){if(l.addedNodes.length===0)continue;for(let c of Array.from(l.addedNodes)){if(c.contains(e)&&e.nextElementSibling!==r){e.insertAdjacentElement("afterend",r),uL(a);return}if(c.contains(r)&&r.previousElementSibling!==e){r.insertAdjacentElement("beforebegin",e),uL(a);return}}}if(e.isConnected&&r.isConnected&&e.nextElementSibling!==r)e.insertAdjacentElement("afterend",r),uL(a)});return i.observe(e.ownerDocument.body,{childList:!0,subtree:!0}),i}function F_t(e){return new ResizeObserver(()=>{var r,a,i;let s=new kc(e.placeholder,{frameTransform:e.frameTransform,ignoreTransforms:!0}),l=(r=e.transformOrigin)!=null?r:{x:1,y:1},c=(e.width-s.width)*l.x+e.delta.x,d=(e.height-s.height)*l.y+e.delta.y,h=IH();if(e.styles.set({width:s.width-e.widthOffset,height:s.height-e.heightOffset,top:e.top+d+h.y,left:e.left+c+h.x},uf),(a=e.getElementMutationObserver())==null||a.takeRecords(),jH(e.element)&&jH(e.placeholder)){let T=Array.from(e.element.cells),U=Array.from(e.placeholder.cells);if(!e.getSavedCellWidths())e.setSavedCellWidths(T.map((N)=>N.style.width));for(let[N,j]of T.entries()){let G=U[N];j.style.width=`${G.getBoundingClientRect().width}px`}}let g=(i=e.getTranslate())!=null?i:{x:0,y:0},x=e.left+c+h.x+g.x,v=e.top+d+h.y+g.y,b=s.width-e.widthOffset,y=s.height-e.heightOffset,k=e.frameTransform;e.dragOperation.shape=new el(x*k.scaleX+k.x,v*k.scaleY+k.y,b*k.scaleX,y*k.scaleY)})}var j_t=250,B_t="ease";function U_t(e){var r,a,i,s;let{animation:l}=e;if(typeof l==="function"){let j=l({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:c=j_t,easing:d=B_t}=l!=null?l:{};uL(e.feedbackElement);let[,h]=(r=kH(e.feedbackElement,(j)=>("translate"in j)))!=null?r:[];h==null||h.pause();let g=(a=e.placeholder)!=null?a:e.element,x={frameTransform:Wue(e.feedbackElement,g)?null:void 0},v=new kc(e.feedbackElement,x),b=(i=kR(Sc(e.feedbackElement).translate))!=null?i:e.translate,y=new kc(g,x),k=el.delta(v,y,e.alignment),T={x:b.x-k.x,y:b.y-k.y},U=Math.round(v.intrinsicHeight)!==Math.round(y.intrinsicHeight)?{minHeight:[`${v.intrinsicHeight}px`,`${y.intrinsicHeight}px`],maxHeight:[`${v.intrinsicHeight}px`,`${y.intrinsicHeight}px`]}:{},N=Math.round(v.intrinsicWidth)!==Math.round(y.intrinsicWidth)?{minWidth:[`${v.intrinsicWidth}px`,`${y.intrinsicWidth}px`],maxWidth:[`${v.intrinsicWidth}px`,`${y.intrinsicWidth}px`]}:{};e.styles.set({transition:e.transition},uf),e.feedbackElement.setAttribute(FH,""),(s=e.getElementMutationObserver())==null||s.takeRecords(),r3({element:e.feedbackElement,keyframes:KH(tO(tO({},U),N),{translate:[`${b.x}px ${b.y}px 0`,`${T.x}px ${T.y}px 0`]}),options:{duration:HD(ds(e.feedbackElement))?0:e.moved||e.feedbackElement!==e.element?c:0,easing:d}}).then(()=>{e.feedbackElement.removeAttribute(FH),h==null||h.finish(),e.cleanup(),requestAnimationFrame(e.restoreFocus)})}var Gue,BH,rO,JH,i3,Kue,Xue,AR=class extends(BH=ji,Gue=[Po],BH){constructor(r,a){super(r,a);Jn(this,i3),Jn(this,JH,Ri(rO,8,this)),Ri(rO,11,this),this.state={initial:{},current:{}};let i=r.registry.plugins.get(d3),s=i==null?void 0:i.register(P_t);if(s){let l=this.destroy.bind(this);this.destroy=()=>{s(),l()}}this.registerEffect(gL(this,i3,Kue).bind(this,i)),this.registerEffect(gL(this,i3,Xue))}};rO=DR(BH);JH=new WeakMap;i3=new WeakSet;Kue=function(e){let{overlay:r}=this;if(!r||!e)return;let a=qD(r);if(!a)return;return e.addRoot(a)};Xue=function(){var e,r,a,i,s,l,c;let{state:d,manager:h,options:g}=this,{dragOperation:x}=h,{position:v,source:b,status:y}=x;if(y.idle){d.current={},d.initial={};return}if(!b)return;let{element:k}=b,T=b.pluginConfig(AR),U=(r=(e=T==null?void 0:T.feedback)!=null?e:g==null?void 0:g.feedback)!=null?r:"default",N=typeof U==="function"?U(b,h):U;if(!k||N==="none"||!y.initialized||y.initializing)return;let{initial:j}=d,G=(a=this.overlay)!=null?a:k,X=dL(G),J=dL(k),ee=!Wue(k,G),re=new kc(k,{frameTransform:ee?J:null,ignoreTransforms:!ee}),oe={x:J.scaleX/X.scaleX,y:J.scaleY/X.scaleY},{width:fe,height:be,top:We,left:Ye}=re;if(ee)fe=fe/oe.x,be=be/oe.y;let Se=new _ue(G),He=Sc(k),{transition:ft,translate:Je,boxSizing:xt,paddingBlockStart:Ft,paddingBlockEnd:Bt,paddingInlineStart:ie,paddingInlineEnd:bt,borderInlineStartWidth:Wt,borderInlineEndWidth:Fe,borderBlockStartWidth:ir,borderBlockEndWidth:fr}=He,Jt=ft.split(",").filter((zt)=>!/^\s*(transform|translate|scale)\b/.test(zt)).join(","),Fr=GD(He),Gt=He.transform,Xt=N==="clone",Ir=xt==="content-box",yr=Ir?parseInt(ie)+parseInt(bt)+parseInt(Wt)+parseInt(Fe):0,Tr=Ir?parseInt(Ft)+parseInt(Bt)+parseInt(ir)+parseInt(fr):0,pr=N!=="move"&&!this.overlay?T_t(b,Xt?"clone":"hidden"):null,mo=yo(()=>ZL(h.dragOperation.activatorEvent));if(!j.translate){if(this.overlay&&Fr)j.translate={x:Fr.x,y:Fr.y};else if(Je!=="none"){let zt=kR(Je);if(zt)j.translate=zt}}if(!j.transformOrigin){let zt=yo(()=>v.current),qt=Ye+((i=Fr==null?void 0:Fr.x)!=null?i:0),Nr=We+((s=Fr==null?void 0:Fr.y)!=null?s:0);j.transformOrigin={x:(zt.x-qt*X.scaleX-X.x)/(fe*X.scaleX),y:(zt.y-Nr*X.scaleY-X.y)/(be*X.scaleY)}}let{transformOrigin:co}=j,va=We*X.scaleY+X.y,sr=Ye*X.scaleX+X.x;if(!j.coordinates){if(j.coordinates={x:sr,y:va},oe.x!==1||oe.y!==1){let{scaleX:zt,scaleY:qt}=J,{x:Nr,y:Br}=co;j.coordinates.x+=(fe*zt-fe)*Nr,j.coordinates.y+=(be*qt-be)*Br}}if(!j.dimensions)j.dimensions={width:fe,height:be};if(!j.frameTransform)j.frameTransform=X;let ho={x:j.coordinates.x-sr,y:j.coordinates.y-va},po={width:(j.dimensions.width*j.frameTransform.scaleX-fe*X.scaleX)*co.x,height:(j.dimensions.height*j.frameTransform.scaleY-be*X.scaleY)*co.y},jo={x:ho.x/X.scaleX+po.width,y:ho.y/X.scaleY+po.height},hn={left:Ye+jo.x,top:We+jo.y};G.setAttribute(MZ,"true");let Wo=yo(()=>x.transform),Yn=(l=j.translate)!=null?l:{x:0,y:0},gn=Wo.x*X.scaleX+Yn.x,Vi=Wo.y*X.scaleY+Yn.y,Ge=IH();if(Se.set({width:fe-yr,height:be-Tr,top:hn.top+Ge.y,left:hn.left+Ge.x,translate:`${gn}px ${Vi}px 0`,transform:this.overlay?"none":Gt,transition:Jt?`${Jt}, translate 0ms linear`:"translate 0ms linear",scale:ee?`${oe.x} ${oe.y}`:"","transform-origin":`${co.x*100}% ${co.y*100}%`},uf),pr){if(k.insertAdjacentElement("afterend",pr),g==null?void 0:g.rootElement)(typeof g.rootElement==="function"?g.rootElement(b):g.rootElement).appendChild(k)}if($F(G)){if(!G.hasAttribute("popover"))G.setAttribute("popover","manual");uL(G),G.addEventListener("beforetoggle",kue)}let Rt,hr,Ur,fo=F_t({placeholder:pr,element:k,feedbackElement:G,frameTransform:X,transformOrigin:co,width:fe,height:be,top:We,left:Ye,widthOffset:yr,heightOffset:Tr,delta:jo,styles:Se,dragOperation:x,getTranslate:()=>d.current.translate,getElementMutationObserver:()=>Rt,getSavedCellWidths:()=>Ur,setSavedCellWidths:(zt)=>{Ur=zt}}),Go=new kc(G);yo(()=>x.shape=Go);let Va=ds(G),Ee=(zt)=>{this.manager.actions.stop({event:zt})},Oe=HD(Va);if(mo)Va.addEventListener("resize",Ee);if(yo(()=>b.status)==="idle")requestAnimationFrame(()=>b.status="dragging");if(pr)fo.observe(pr),Rt=O_t(k,pr,Xt),hr=N_t(k,pr,G);let je=(c=h.dragOperation.source)==null?void 0:c.id,Zt=()=>{var zt;if(!mo||je==null)return;let qt=h.registry.draggables.get(je),Nr=(zt=qt==null?void 0:qt.handle)!=null?zt:qt==null?void 0:qt.element;if(iM(Nr))Nr.focus()},St=()=>{if(Rt==null||Rt.disconnect(),hr==null||hr.disconnect(),fo.disconnect(),Va.removeEventListener("resize",Ee),$F(G))G.removeEventListener("beforetoggle",kue),G.removeAttribute("popover");G.removeAttribute(MZ),Se.reset();let zt=()=>{var qt;if(Ur&&jH(k)){let da=Array.from(k.cells);for(let[ar,Ko]of da.entries())Ko.style.width=(qt=Ur[ar])!=null?qt:""}b.status="idle";let Nr=d.current.translate!=null,Br=x.status.dragging;if(pr&&(!Br&&Nr||pr.parentElement!==G.parentElement)&&G.isConnected)pr.replaceWith(G);pr==null||pr.remove()};if(G===this.overlay)setTimeout(zt,0);else zt()},jt=g==null?void 0:g.dropAnimation,nr=this,Dt=oL(()=>{var zt,qt,Nr;let{transform:Br,status:da}=x;if(!Br.x&&!Br.y&&!d.current.translate)return;if(da.dragging){let ar=(zt=j.translate)!=null?zt:{x:0,y:0},Ko={x:Br.x/X.scaleX+ar.x,y:Br.y/X.scaleY+ar.y},ya=d.current.translate,ai=yo(()=>x.modifiers),xf=yo(()=>{var vf;return(vf=x.shape)==null?void 0:vf.current}),Ea=g==null?void 0:g.keyboardTransition,rs=mo&&!Oe&&Ea!==null?`${(qt=Ea==null?void 0:Ea.duration)!=null?qt:250}ms ${(Nr=Ea==null?void 0:Ea.easing)!=null?Nr:"cubic-bezier(0.25, 1, 0.5, 1)"}`:"0ms linear";if(Se.set({transition:Jt?`${Jt}, translate ${rs}`:`translate ${rs}`,translate:`${Ko.x}px ${Ko.y}px 0`},uf),Rt==null||Rt.takeRecords(),xf&&xf!==Go&&ya&&!ai.length){let vf=Sf.delta(Ko,ya);x.shape=el.from(xf.boundingRectangle).translate(vf.x*X.scaleX,vf.y*X.scaleY)}else x.shape=new kc(G);d.current.translate=Ko}},function(){if(x.status.dropped){this.dispose(),b.status="dropping";let zt=(T==null?void 0:T.dropAnimation)!==void 0?T.dropAnimation:nr.dropAnimation!==void 0?nr.dropAnimation:jt,qt=d.current.translate,Nr=qt!=null;if(!qt&&k!==G)qt={x:0,y:0};if(!qt||zt===null){St();return}h.renderer.rendering.then(()=>{U_t({source:b,element:k,feedbackElement:G,placeholder:pr,translate:qt,moved:Nr,transition:ft,alignment:b.alignment,styles:Se,animation:zt!=null?zt:void 0,getElementMutationObserver:()=>Rt,cleanup:St,restoreFocus:Zt})})}});return()=>{St(),Dt()}};Cc(rO,4,"overlay",Gue,AR,JH);ML(rO,AR);AR.configure=oa(AR);var ys=AR,KD=!0,Y_t=!1,Que,Jue,$ue,ede,C8,$H,eV;ede=($ue=[Po],$l.Forward),Jue=(Que=[Po],$l.Reverse);var oO=class{constructor(){Jn(this,$H,Ri(C8,8,this,KD)),Ri(C8,11,this),Jn(this,eV,Ri(C8,12,this,KD)),Ri(C8,15,this)}isLocked(e){if(e===$l.Idle)return!1;if(e==null)return this[$l.Forward]===KD&&this[$l.Reverse]===KD;return this[e]===KD}unlock(e){if(e===$l.Idle)return;this[e]=Y_t}};C8=DR(null);$H=new WeakMap;eV=new WeakMap;Cc(C8,4,ede,$ue,oO,$H);Cc(C8,4,Jue,Que,oO,eV);ML(C8,oO);var q_t=[$l.Forward,$l.Reverse],Cue=class{constructor(){this.x=new oO,this.y=new oO}isLocked(){return this.x.isLocked()&&this.y.isLocked()}},H_t=class extends ji{constructor(e){super(e);let r=pZ(new Cue),a=null;this.signal=r,Ci(()=>{let{status:i}=e.dragOperation;if(!i.initialized){a=null,r.value=new Cue;return}let{delta:s}=e.dragOperation.position;if(a){let l={x:Iue(s.x,a.x),y:Iue(s.y,a.y)},c=r.peek();$o(()=>{for(let d of X9)for(let h of q_t)if(l[d]===h)c[d].unlock(h);r.value=c})}a=s})}get current(){return this.signal.peek()}};function Iue(e,r){return Math.sign(e-r)}var tde,UH,aO,tV,k8,YH,OR=class extends(UH=zR,tde=[Po],UH){constructor(e){super(e);Jn(this,tV,Ri(aO,8,this,!1)),Ri(aO,11,this),Jn(this,k8),Jn(this,YH,()=>{if(!Ka(this,k8))return;let{element:l,by:c}=Ka(this,k8);if(c.y)l.scrollTop+=c.y;if(c.x)l.scrollLeft+=c.x}),this.scroll=(l,c)=>{var d;if(this.disabled)return!1;let h=this.getScrollableElements();if(!h)return Ms(this,k8,void 0),!1;let{position:g}=this.manager.dragOperation,x=g==null?void 0:g.current;if(x){let{by:v}=l!=null?l:{},b=v?{x:Rue(v.x),y:Rue(v.y)}:void 0,y=b?void 0:this.scrollIntentTracker.current;if(y==null?void 0:y.isLocked())return!1;for(let k of h){let T=vue(k,v);if(T.x||T.y){let{speed:U,direction:N}=yue(k,x,b,c==null?void 0:c.acceleration,c==null?void 0:c.threshold);if(y){for(let j of X9)if(y[j].isLocked(N[j]))U[j]=0,N[j]=0}if(N.x||N.y){let{x:j,y:G}=v!=null?v:N,X=j*U.x,J=G*U.y;if(X||J){let ee=(d=Ka(this,k8))==null?void 0:d.by;if(this.autoScrolling&&ee){if(ee.x&&!X||ee.y&&!J)continue}return Ms(this,k8,{element:k,by:{x:X,y:J}}),WD.schedule(Ka(this,YH)),!0}}}}}return Ms(this,k8,void 0),!1};let r=null,a=null,i=hR(()=>{let{position:l,source:c}=e.dragOperation;if(!l)return null;let d=RH(qD(c==null?void 0:c.element),l.current);if(d)r=d;return d!=null?d:r}),s=hR(()=>{let l=i.value,{documentElement:c}=lL(l);if(!l||l===c){let{target:d}=e.dragOperation,h=d==null?void 0:d.element;if(h){let g=e3(h,{excludeElement:!1});return a=g,g}}if(l){let d=e3(l,{excludeElement:!1});if(this.autoScrolling&&a&&d.size<(a==null?void 0:a.size))return a;return a=d,d}return a=null,null},lf);this.getScrollableElements=()=>s.value,this.scrollIntentTracker=new H_t(e),this.destroy=e.monitor.addEventListener("dragmove",(l)=>{if(this.disabled||l.defaultPrevented||!ZL(e.dragOperation.activatorEvent)||!l.by)return;if(this.scroll({by:l.by}))l.preventDefault()})}};aO=DR(UH);tV=new WeakMap;k8=new WeakMap;YH=new WeakMap;Cc(aO,4,"autoScrolling",tde,OR,tV);ML(aO,OR);function Rue(e){if(e>0)return $l.Forward;if(e<0)return $l.Reverse;return $l.Idle}var V_t=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))}},W_t=new V_t((e)=>{if(typeof requestAnimationFrame==="function")requestAnimationFrame(e);else e()}),G_t=10,qH=class extends ji{constructor(r,a){super(r,a);let i=r.registry.plugins.get(OR);if(!i)throw Error("AutoScroller plugin depends on Scroller plugin");this.destroy=Ci(()=>{var s,l,c;if(this.disabled)return;let{position:d,status:h}=r.dragOperation;if(h.dragging){let g={acceleration:(s=this.options)==null?void 0:s.acceleration,threshold:typeof((l=this.options)==null?void 0:l.threshold)==="number"?{x:this.options.threshold,y:this.options.threshold}:(c=this.options)==null?void 0:c.threshold};if(i.scroll(void 0,g)){i.autoScrolling=!0;let v=setInterval(()=>W_t.schedule(()=>i.scroll(void 0,g)),G_t);return()=>{clearInterval(v)}}else i.autoScrolling=!1}})}};qH.configure=oa(qH);var rde=qH,Pue={capture:!0,passive:!0},QD,K_t=class extends zR{constructor(e){super(e);Jn(this,QD),this.handleScroll=()=>{if(Ka(this,QD)==null)Ms(this,QD,setTimeout(()=>{this.manager.collisionObserver.forceUpdate(!1),Ms(this,QD,void 0)},50))};let{dragOperation:r}=this.manager;this.destroy=Ci(()=>{var a,i,s;if(r.status.dragging){let c=(s=(i=(a=r.source)==null?void 0:a.element)==null?void 0:i.ownerDocument)!=null?s:document;return c.addEventListener("scroll",this.handleScroll,Pue),()=>{c.removeEventListener("scroll",this.handleScroll,Pue)}}})}};QD=new WeakMap;var X_t="* { user-select: none !important; -webkit-user-select: none !important; }",Q_t=class extends ji{constructor(e){super(e);this.manager=e;let r=e.registry.plugins.get(d3),a=r==null?void 0:r.register(X_t);if(this.destroy=Ci(()=>{let{dragOperation:i}=this.manager;if(i.status.initialized)return EH(),document.addEventListener("selectionchange",EH,{capture:!0}),()=>{document.removeEventListener("selectionchange",EH,{capture:!0})}}),a){let i=this.destroy.bind(this);this.destroy=()=>{a(),i()}}}};function EH(){var e;(e=document.getSelection())==null||e.removeAllRanges()}var JD=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}}),IR,c3=class extends aL{constructor(r,a){super(r);this.manager=r,this.options=a,Jn(this,IR,[]),this.listeners=new PH,this.handleSourceKeyDown=(i,s,l)=>{if(this.disabled||i.defaultPrevented)return;if(!L8(i.target))return;if(s.disabled)return;let{keyboardCodes:c=JD.keyboardCodes,preventActivation:d=JD.preventActivation}=l!=null?l:{};if(!c.start.includes(i.code))return;if(!this.manager.dragOperation.status.idle)return;if(d==null?void 0:d(i,s))return;this.handleStart(i,s,l)}}bind(r,a=this.options){return Ci(()=>{var s;let l=(s=r.handle)!=null?s:r.element,c=(d)=>{if(ZL(d))this.handleSourceKeyDown(d,r,a)};if(l)return l.addEventListener("keydown",c),()=>{l.removeEventListener("keydown",c)}})}handleStart(r,a,i){let{element:s}=a;if(!s)throw Error("Source draggable does not have an associated element");r.preventDefault(),r.stopImmediatePropagation(),t3(s);let{center:l}=new kc(s);if(this.manager.actions.start({event:r,coordinates:{x:l.x,y:l.y},source:a}).signal.aborted)return this.cleanup();this.sideEffects();let d=lL(s),h=[this.listeners.bind(d,[{type:"keydown",listener:(g)=>this.handleKeyDown(g,a,i),options:{capture:!0}}])];Ka(this,IR).push(...h)}handleKeyDown(r,a,i){let{keyboardCodes:s=JD.keyboardCodes}=i!=null?i:{};if(CR(r,[...s.end,...s.cancel])){r.preventDefault();let l=CR(r,s.cancel);this.handleEnd(r,l);return}if(CR(r,s.up))this.handleMove("up",r);else if(CR(r,s.down))this.handleMove("down",r);if(CR(r,s.left))this.handleMove("left",r);else if(CR(r,s.right))this.handleMove("right",r)}handleEnd(r,a){this.manager.actions.stop({event:r,canceled:a}),this.cleanup()}handleMove(r,a){var i,s;let{shape:l}=this.manager.dragOperation,c=a.shiftKey?5:1,d={x:0,y:0},h=(s=(i=this.options)==null?void 0:i.offset)!=null?s:JD.offset;if(typeof h==="number")h={x:h,y:h};if(!l)return;switch(r){case"up":d={x:0,y:-h.y*c};break;case"down":d={x:0,y:h.y*c};break;case"left":d={x:-h.x*c,y:0};break;case"right":d={x:h.x*c,y:0};break}if(d.x||d.y)a.preventDefault(),this.manager.actions.move({event:a,by:d})}sideEffects(){let r=this.manager.registry.plugins.get(rde);if((r==null?void 0:r.disabled)===!1)r.disable(),Ka(this,IR).push(()=>{r.enable()})}cleanup(){Ka(this,IR).forEach((r)=>r()),Ms(this,IR,[])}destroy(){this.cleanup(),this.listeners.clear()}};IR=new WeakMap;c3.configure=oa(c3);c3.defaults=JD;var es=c3;function CR(e,r){return r.includes(e.code)}var pL,J_t=class extends xH{constructor(){super(...arguments);Jn(this,pL)}onEvent(e){switch(e.type){case"pointerdown":Ms(this,pL,cL(e));break;case"pointermove":if(!Ka(this,pL))return;let{x:r,y:a}=cL(e),i={x:r-Ka(this,pL).x,y:a-Ka(this,pL).y},{tolerance:s}=this.options;if(s&&RF(i,s)){this.abort();return}if(RF(i,this.options.value))this.activate(e);break;case"pointerup":this.abort();break}}abort(){Ms(this,pL,void 0)}};pL=new WeakMap;var RR,mL,$_t=class extends xH{constructor(){super(...arguments);Jn(this,RR),Jn(this,mL)}onEvent(e){switch(e.type){case"pointerdown":Ms(this,mL,cL(e)),Ms(this,RR,setTimeout(()=>this.activate(e),this.options.value));break;case"pointermove":if(!Ka(this,mL))return;let{x:r,y:a}=cL(e),i={x:r-Ka(this,mL).x,y:a-Ka(this,mL).y};if(RF(i,this.options.tolerance))this.abort();break;case"pointerup":this.abort();break}}abort(){if(Ka(this,RR))clearTimeout(Ka(this,RR)),Ms(this,mL,void 0),Ms(this,RR,void 0)}};RR=new WeakMap;mL=new WeakMap;var Dr=class{};Dr.Delay=$_t;Dr.Distance=J_t;var HH=Object.freeze({activationConstraints(e,r){var a;let{pointerType:i,target:s}=e;if(i==="mouse"&&L8(s)&&(r.handle===s||((a=r.handle)==null?void 0:a.contains(s))))return;if(i==="touch")return[new Dr.Delay({value:250,tolerance:5})];if(wue(s)&&!e.defaultPrevented)return[new Dr.Delay({value:200,tolerance:0})];return[new Dr.Delay({value:200,tolerance:10}),new Dr.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(!L8(i))return!1;if((a=r.handle)==null?void 0:a.contains(i))return!1;let s=due(i);if(s===r.element)return!1;return Boolean(s)}}),PR,u3=class extends aL{constructor(r,a){super(r);this.manager=r,this.options=a,Jn(this,PR,new Set),this.listeners=new PH,this.latest={event:void 0,coordinates:void 0},this.handleMove=()=>{let{event:i,coordinates:s}=this.latest;if(!i||!s)return;this.manager.actions.move({event:i,to:s})},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:s=HH.activationConstraints}=i!=null?i:{};return typeof s==="function"?s(r,a):s}bind(r,a=this.options){return Ci(()=>{var s;let l=new AbortController,{signal:c}=l,d=(g)=>{if(bue(g))this.handlePointerDown(g,r,a)},h=[(s=r.handle)!=null?s:r.element];if(a==null?void 0:a.activatorElements)if(Array.isArray(a.activatorElements))h=a.activatorElements;else h=a.activatorElements(r);for(let g of h){if(!g)continue;rbt(g.ownerDocument.defaultView),g.addEventListener("pointerdown",d,{signal:c})}return()=>l.abort()})}handlePointerDown(r,a,i){if(this.disabled||!r.isPrimary||r.button!==0||!L8(r.target)||a.disabled||ebt(r)||!this.manager.dragOperation.status.idle)return;let{preventActivation:s=HH.preventActivation}=i!=null?i:{};if(s==null?void 0:s(r,a))return;let{target:l}=r,c=iM(l)&&l.draggable&&l.getAttribute("draggable")==="true",d=dL(a.element),{x:h,y:g}=cL(r);this.initialCoordinates={x:h*d.scaleX+d.x,y:g*d.scaleY+d.y};let x=this.activationConstraints(r,a,i);r.sensor=this;let v=new qce(x,(T)=>this.handleStart(a,T));v.signal.onabort=()=>this.handleCancel(r),v.onEvent(r),this.controller=v;let b=qF(),y=this.listeners.bind(b,[{type:"pointermove",listener:(T)=>this.handlePointerMove(T,a)},{type:"pointerup",listener:this.handlePointerUp,options:{capture:!0}},{type:"pointercancel",listener:this.handleCancel},{type:"dragstart",listener:c?this.handleCancel:n3,options:{capture:!0}}]),k=()=>{y(),this.initialCoordinates=void 0};Ka(this,PR).add(k)}handlePointerMove(r,a){var i,s;if(((i=this.controller)==null?void 0:i.activated)===!1){(s=this.controller)==null||s.onEvent(r);return}if(this.manager.dragOperation.status.dragging){let l=cL(r),c=dL(a.element);l.x=l.x*c.scaleX+c.x,l.y=l.y*c.scaleY+c.y,r.preventDefault(),r.stopPropagation(),this.latest.event=r,this.latest.coordinates=l,WD.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:s}=this;if(!s||!i.dragOperation.status.idle)return;if(a.defaultPrevented)return;if(i.actions.start({coordinates:s,event:a,source:r}).signal.aborted)return this.cleanup();a.preventDefault();let d=lL(a.target).body;try{d.setPointerCapture(a.pointerId)}catch(x){this.handleCancel(a);return}let h=L8(a.target)?[a.target,d]:d,g=this.listeners.bind(h,[{type:"touchmove",listener:n3,options:{passive:!1}},{type:"click",listener:n3},{type:"contextmenu",listener:n3},{type:"keydown",listener:this.handleKeyDown}]);Ka(this,PR).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},Ka(this,PR).forEach((a)=>a()),Ka(this,PR).clear()}destroy(){this.cleanup(),this.listeners.clear()}};PR=new WeakMap;u3.configure=oa(u3);u3.defaults=HH;var yn=u3;function ebt(e){return"sensor"in e}function n3(e){e.preventDefault()}function tbt(){}var Tue=new WeakSet;function rbt(e){if(!e||Tue.has(e))return;e.addEventListener("touchmove",tbt,{capture:!1,passive:!1}),Tue.add(e)}var hL={modifiers:[],plugins:[L_t,rde,C_t,ys,Q_t],sensors:[yn,es]},rV=class extends eue{constructor(e={}){let r=us(e.plugins,hL.plugins),a=us(e.sensors,hL.sensors),i=us(e.modifiers,hL.modifiers);super(KH(tO({},e),{plugins:[K_t,OR,d3,...r],sensors:a,modifiers:i}))}},ode,ade,VH,I8,oV,aV,xL=class extends(VH=_u,ade=[Po],ode=[Po],VH){constructor(e,r){var a=e,{element:i,effects:s=()=>[],handle:l}=a,c=Oue(a,["element","effects","handle"]);super(tO({effects:()=>[...s(),()=>{var d,h;let{manager:g}=this;if(!g)return;let v=((h=(d=this.sensors)==null?void 0:d.map(_R))!=null?h:[...g.sensors]).map((b)=>{let y=b instanceof aL?b:g.registry.register(b.plugin),k=b instanceof aL?void 0:b.options;return y.bind(this,k)});return function(){v.forEach((y)=>y())}}]},c),r);Jn(this,oV,Ri(I8,8,this)),Ri(I8,11,this),Jn(this,aV,Ri(I8,12,this)),Ri(I8,15,this),this.element=i,this.handle=l}};I8=DR(VH);oV=new WeakMap;aV=new WeakMap;Cc(I8,4,"handle",ade,xL,oV);Cc(I8,4,"element",ode,xL,aV);ML(I8,xL);var nde,ide,WH,R8,nV,DH,fde,sde,eO,iV,NR=class extends(WH=bu,ide=[Po],nde=[Po],WH){constructor(e,r){var a=e,{element:i,effects:s=()=>[]}=a,l=Oue(a,["element","effects"]);let{collisionDetector:c=a3}=l,d=(g)=>{let{manager:x,element:v}=this;if(!v||g===null){this.shape=void 0;return}if(!x)return;let b=new kc(v),y=yo(()=>this.shape);if(b&&(y==null?void 0:y.equals(b)))return y;return this.shape=b,b},h=pZ(!1);super(KH(tO({},l),{collisionDetector:c,effects:()=>[...s(),()=>{let{element:g,manager:x}=this;if(!x)return;let{dragOperation:v}=x,{source:b}=v;h.value=Boolean(b&&v.status.initialized&&g&&!this.disabled&&this.accepts(b))},()=>{let{element:g}=this;if(h.value&&g){let x=new Mue(g,d);return()=>{x.disconnect(),this.shape=void 0}}},()=>{var g;if((g=this.manager)==null?void 0:g.dragOperation.status.initialized)return()=>{this.shape=void 0}}]}),r);Jn(this,eO),Jn(this,nV,Ri(R8,8,this)),Ri(R8,11,this),Jn(this,iV,Ri(R8,12,this)),Ri(R8,15,this),this.element=i,this.refreshShape=()=>d()}set element(e){Ms(this,eO,e,sde)}get element(){var e;return(e=this.proxy)!=null?e:Ka(this,eO,fde)}};R8=DR(WH);nV=new WeakMap;eO=new WeakSet;iV=new WeakMap;DH=Cc(R8,20,"#element",ide,eO,nV),fde=DH.get,sde=DH.set;Cc(R8,4,"proxy",nde,NR,iV);ML(R8,NR);S();function obt(e){return e!=null&&typeof e==="object"&&"current"in e}function zu(e){var r;if(e==null)return;if(obt(e))return(r=e.current)!=null?r:void 0;return e}var abt=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",sM=abt?$e:m;function lde(){let e=u(0)[1];return P(()=>{e((r)=>r+1)},[e])}function nbt(e,r=!1){let a=_(e.peek()),i=_(!1),s=lde();return sM(()=>Ci(()=>{let l=a.current,c=e.value;if(l!==c){if(a.current=c,!i.current)return;if(r)nn(s);else s()}}),[e,r,s]),{get value(){return i.current=!0,e.peek()}}}function Z3(e,r=[],a=!1){let i=_(e);return i.current=e,nbt(D(()=>hR(()=>i.current()),r),a)}function FR(e,r){let a=_(new Map),i=lde();return sM(()=>{if(!e){a.current.clear();return}return Ci(()=>{var s;let l=!1,c=!1;for(let d of a.current){let[h]=d,g=yo(()=>d[1]),x=e[h];if(g!==x)l=!0,a.current.set(h,x),c=(s=r==null?void 0:r(h,g,x))!=null?s:!1}if(l)if(c)queueMicrotask(()=>nn(i));else i()})},[e]),D(()=>e?new Proxy(e,{get(s,l){let c=s[l];return a.current.set(l,c),c}}):e,[e])}function cde(e,r){e()}function vL(e){let r=_(e);return sM(()=>{r.current=e},[e]),r}function Ho(e,r,a=m,i=Object.is){let s=_(e);a(()=>{let l=s.current;if(!i(e,l))s.current=e,r(e,l)},[r,e])}function T8(e,r){let a=_(zu(e));sM(()=>{let i=zu(e);if(i!==a.current)a.current=i,r(i)})}var{defineProperty:ibt,defineProperties:fbt,getOwnPropertyDescriptors:sbt,getOwnPropertySymbols:m3}=Object,dde=Object.prototype.hasOwnProperty,Zde=Object.prototype.propertyIsEnumerable,ude=(e,r,a)=>(r in e)?ibt(e,r,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[r]=a,pde=(e,r)=>{for(var a in r||(r={}))if(dde.call(r,a))ude(e,a,r[a]);if(m3){for(var a of m3(r))if(Zde.call(r,a))ude(e,a,r[a])}return e},mde=(e,r)=>fbt(e,sbt(r)),lbt=(e,r)=>{var a={};for(var i in e)if(dde.call(e,i)&&r.indexOf(i)<0)a[i]=e[i];if(e!=null&&m3){for(var i of m3(e))if(r.indexOf(i)<0&&Zde.call(e,i))a[i]=e[i]}return a},cbt=new rV,lV=lt(cbt),ubt=Un(F(({children:e},r)=>{let[a,i]=u(0),s=_(null),l=_(null),c=D(()=>({renderer:{get rendering(){var d;return(d=s.current)!=null?d:Promise.resolve()}},trackRendering(d){if(!s.current)s.current=new Promise((h)=>{l.current=h});YL(()=>{d(),i((h)=>h+1)})}}),[]);return sM(()=>{var d;(d=l.current)==null||d.call(l),s.current=null},[e,a]),Vr(r,()=>c),null})),fV=[void 0,lf];function Vn(e){var r=e,{children:a,onCollision:i,onBeforeDragStart:s,onDragStart:l,onDragMove:c,onDragOver:d,onDragEnd:h}=r,g=lbt(r,["children","onCollision","onBeforeDragStart","onDragStart","onDragMove","onDragOver","onDragEnd"]);let x=_(null),{plugins:v,modifiers:b,sensors:y}=g,k=us(v,hL.plugins),T=us(y,hL.sensors),U=us(b,hL.modifiers),N=vL(s),j=vL(l),G=vL(d),X=vL(c),J=vL(h),ee=vL(i),re=dbt(()=>{var oe;return(oe=g.manager)!=null?oe:new rV(g)});return m(()=>{if(!x.current)throw Error("Renderer not found");let{renderer:oe,trackRendering:fe}=x.current,{monitor:be}=re;re.renderer=oe;let We=[be.addEventListener("beforedragstart",(Ye)=>{let Se=N.current;if(Se)fe(()=>Se(Ye,re))}),be.addEventListener("dragstart",(Ye)=>{var Se;return(Se=j.current)==null?void 0:Se.call(j,Ye,re)}),be.addEventListener("dragover",(Ye)=>{let Se=G.current;if(Se)fe(()=>Se(Ye,re))}),be.addEventListener("dragmove",(Ye)=>{let Se=X.current;if(Se)fe(()=>Se(Ye,re))}),be.addEventListener("dragend",(Ye)=>{let Se=J.current;if(Se)fe(()=>Se(Ye,re))}),be.addEventListener("collision",(Ye)=>{var Se;return(Se=ee.current)==null?void 0:Se.call(ee,Ye,re)})];return()=>We.forEach((Ye)=>Ye())},[re]),Ho(k,()=>re&&(re.plugins=k),...fV),Ho(T,()=>re&&(re.sensors=T),...fV),Ho(U,()=>re&&(re.modifiers=U),...fV),o(lV.Provider,{value:re,children:[t(ubt,{ref:x,children:a}),a]})}function dbt(e){let r=_(null);if(!r.current)r.current=e();return dN(()=>()=>{var a;return(a=r.current)==null?void 0:a.destroy()},[]),r.current}function cV(){return pt(lV)}function h3(e){var r;let a=(r=cV())!=null?r:void 0,[i]=u(()=>e(a));if(i.manager!==a)i.manager=a;return sM(i.register,[a,i]),i}function bs(e){let{disabled:r,data:a,element:i,handle:s,id:l,modifiers:c,sensors:d,plugins:h}=e,g=h3((v)=>new xL(mde(pde({},e),{register:!1,handle:zu(s),element:zu(i)}),v)),x=FR(g,Zbt);return Ho(l,()=>g.id=l),T8(s,(v)=>g.handle=v),T8(i,(v)=>g.element=v),Ho(a,()=>a&&(g.data=a)),Ho(r,()=>g.disabled=r===!0),Ho(d,()=>g.sensors=d,void 0,lf),Ho(c,()=>g.modifiers=c,void 0,lf),Ho(h,()=>g.plugins=h,void 0,lf),Ho(e.alignment,()=>g.alignment=e.alignment),{draggable:x,get isDragging(){return x.isDragging},get isDropping(){return x.isDropping},get isDragSource(){return x.isDragSource},handleRef:P((v)=>{g.handle=v!=null?v:void 0},[g]),ref:P((v)=>{var b,y;if(!v&&((b=g.element)==null?void 0:b.isConnected)&&!((y=g.manager)==null?void 0:y.dragOperation.status.idle))return;g.element=v!=null?v:void 0},[g])}}function Zbt(e,r,a){if(e==="isDragSource"&&!a&&r)return!0;return!1}function eu({children:e,className:r,dropAnimation:a,style:i,tag:s,disabled:l}){var c;let d=_(null),h=cV(),g=(c=Z3(()=>h==null?void 0:h.dragOperation.source,[h]).value)!=null?c:null,x=typeof l==="function"?l(g):l;m(()=>{if(!d.current||!h||x)return;let y=h.plugins.find((k)=>k instanceof ys);if(!y)return;return y.overlay=d.current,()=>{y.overlay=void 0}},[h,x]),m(()=>{if(!h)return;let y=h.plugins.find((k)=>k instanceof ys);if(!y)return;return y.dropAnimation=a,()=>{y.dropAnimation=void 0}},[h,a]);let v=D(()=>{if(!h)return null;let y=new Proxy(h.registry,{get(k,T){if(T==="register"||T==="unregister")return pbt;return k[T]}});return new Proxy(h,{get(k,T){if(T==="registry")return y;return k[T]}})},[h]);return t(lV.Provider,{value:v,children:q(s||"div",{ref:d,className:r,style:i,"data-dnd-overlay":!0},b())});function b(){if(!g||x)return null;if(typeof e==="function")return t(mbt,{source:g,children:e});return e}}function pbt(){return()=>{}}function mbt({children:e,source:r}){return e(FR(r))}var{create:hbt,defineProperty:hde,getOwnPropertyDescriptor:gbt}=Object,gde=(e,r)=>(r=Symbol[e])?r:Symbol.for("Symbol."+e),g3=(e)=>{throw TypeError(e)},Mbt=(e,r,a)=>(r in e)?hde(e,r,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[r]=a,xbt=(e)=>{var r;return[,,,hbt((r=e==null?void 0:e[gde("metadata")])!=null?r:null)]},Mde=["class","method","getter","setter","accessor","field","value","get","set"],xde=(e)=>e!==void 0&&typeof e!=="function"?g3("Function expected"):e,vbt=(e,r,a,i,s)=>({kind:Mde[e],name:r,metadata:i,addInitializer:(l)=>a._?g3("Already initialized"):s.push(xde(l||null))}),ybt=(e,r)=>Mbt(r,gde("metadata"),e[3]),_bt=(e,r,a,i)=>{for(var s=0,l=e[r>>1],c=l&&l.length;s<c;s++)l[s].call(a);return i},vde=(e,r,a,i,s,l)=>{var c,d,h,g,x=r&7,v=!1,b=!1,y=2,k=Mde[x+5],T=e[y]||(e[y]=[]),U=(s=s.prototype,gbt(s,a));for(var N=i.length-1;N>=0;N--)h=vbt(x,a,d={},e[3],T),h.static=v,h.private=b,g=h.access={has:(j)=>(a in j)},g.get=(j)=>j[a],c=(0,i[N])(U[k],h),d._=1,xde(c)&&(U[k]=c);return U&&hde(s,a,U),s},yde=(e,r,a)=>r.has(e)||g3("Cannot "+a),bbt=(e,r,a)=>(yde(e,r,"read from private field"),r.get(e)),wbt=(e,r,a)=>r.has(e)?g3("Cannot add the same private member more than once"):r instanceof WeakSet?r.add(e):r.set(e,a),zbt=(e,r,a,i)=>(yde(e,r,"write to private field"),r.set(e,a),a),yL=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)}},_de,bde,sV,p3,iO,uV=class extends(sV=mZ,bde=[pn],_de=[pn],sV){constructor(e){let r=yL.from(e);super(r,(a,i)=>yL.equals(a,i));_bt(iO,5,this),wbt(this,p3,0),this.velocity={x:0,y:0}}get delta(){return yL.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=yL.from(e),i={x:a.x-r.x,y:a.y-r.y},s=Date.now(),l=s-bbt(this,p3),c=(d)=>Math.round(d/l*100);$o(()=>{zbt(this,p3,s),this.velocity={x:c(i.x),y:c(i.y)},super.current=a})}reset(e=this.defaultValue){super.reset(yL.from(e)),this.velocity={x:0,y:0}}};iO=xbt(sV);p3=new WeakMap;vde(iO,2,"delta",bde,uV);vde(iO,2,"direction",_de,uV);ybt(iO,uV);var wde=((e)=>(e.Horizontal="x",e.Vertical="y",e))(wde||{});Object.values(wde);var Sbt=({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 s=yL.distance(r.shape.center,a);return{id:i,value:1/s,type:gZ.PointerIntersection,priority:hZ.High}}return null},Lbt=({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:s}=e,l=yL.distance(r.shape.center,s.current),d=i/(a.current.area+r.shape.area-i)/l;return{id:r.id,value:d,type:gZ.ShapeIntersection,priority:hZ.Normal}}return null},kbt=(e)=>{var r;return(r=Sbt(e))!=null?r:Lbt(e)};function Or(e){let{collisionDetector:r,data:a,disabled:i,element:s,id:l,accept:c,type:d}=e,h=h3((x)=>new NR(mde(pde({},e),{register:!1,element:zu(s)}),x)),g=FR(h);return Ho(l,()=>h.id=l),T8(s,(x)=>h.element=x),Ho(c,()=>h.accept=c,void 0,lf),Ho(r,()=>h.collisionDetector=r!=null?r:kbt),Ho(a,()=>a&&(h.data=a)),Ho(i,()=>h.disabled=i===!0),Ho(d,()=>h.type=d),{droppable:g,get isDropTarget(){return g.isDropTarget},ref:P((x)=>{var v,b;if(!x&&((v=h.element)==null?void 0:v.isConnected)&&!((b=h.manager)==null?void 0:b.dragOperation.status.idle))return;h.element=x!=null?x:void 0},[h])}}function Qd(){let e=cV(),r=Z3(()=>e==null?void 0:e.dragOperation.source,[e]),a=Z3(()=>e==null?void 0:e.dragOperation.target,[e]);return{get source(){return r.value},get target(){return a.value}}}S();S();S();S();var dV=new Map,M3=new WeakMap,zde=0,Cbt;function Ibt(e){if(!e)return"0";if(M3.has(e))return M3.get(e);return zde+=1,M3.set(e,zde.toString()),M3.get(e)}function Rbt(e){return Object.keys(e).sort().filter((r)=>e[r]!==void 0).map((r)=>`${r}_${r==="root"?Ibt(e.root):e[r]}`).toString()}function Pbt(e){let r=Rbt(e),a=dV.get(r);if(!a){let i=new Map,s,l=new IntersectionObserver((c)=>{c.forEach((d)=>{var h;let g=d.isIntersecting&&s.some((x)=>d.intersectionRatio>=x);if(e.trackVisibility&&typeof d.isVisible>"u")d.isVisible=g;[...(h=i.get(d.target))!=null?h:[]].forEach((x)=>{x(g,d)})})},e);s=l.thresholds||(Array.isArray(e.threshold)?e.threshold:[e.threshold||0]),a={id:r,observer:l,elements:i},dV.set(r,a)}return a}function Tbt(e,r,a={},i=Cbt){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:s,observer:l,elements:c}=Pbt(a),d=c.get(e)||[];if(!c.has(e))c.set(e,d);d.push(r),l.observe(e);let h=!1;return function(){if(h)return;if(h=!0,d.splice(d.indexOf(r),1),d.length===0)c.delete(e),l.unobserve(e);if(c.size===0)l.disconnect(),dV.delete(s)}}var ZV=Reflect.get(Q,"useInsertionEffect"),Abt=ZV!=null?ZV:m;function Ebt(e){return(e==null?void 0:e.startsWith("19."))||!1}var Sde=Ebt(Ls);function Dbt(e,{threshold:r,root:a,rootMargin:i,scrollMargin:s,trackVisibility:l,delay:c,fallbackInView:d,skip:h,triggerOnce:g}){let x=_(e),v=_({node:null,stop:void 0,owner:null});if(!ZV)x.current=e;return Abt(()=>{x.current=e},[e]),P(function b(y){let k=v.current;if(!y&&k.owner!==b)return;if(y===k.node)return k.owner=b,Sde?k.stop:void 0;let T=k.stop;if(k.stop=void 0,T==null||T(),!y||h){k.node=null,k.owner=y?b:null;return}k.node=y,k.owner=b;let U,N;function j(){if(U==null||U(),k.stop===j)k.node=null,k.stop=void 0}if(k.stop=j,U=Tbt(y,(G,X)=>{if(x.current(G,X,N),N=G,g&&G)j()},{threshold:r,root:a,rootMargin:i,scrollMargin:s,trackVisibility:l,delay:c},d),k.stop!==j)U();return Sde?k.stop:void 0},[Array.isArray(r)?r.toString():r,a,i,s,l,c,d,h,g])}var Obt=typeof window>"u"?m:$e;function Nt({threshold:e,delay:r,trackVisibility:a,rootMargin:i,scrollMargin:s,root:l,triggerOnce:c,skip:d,initialInView:h,fallbackInView:g,onChange:x}={}){let v=_(h),[b,y]=u({inView:!!h,entry:void 0}),k=Dbt((j,G)=>{let X=v.current;if(v.current=j,X===void 0&&!j)return;y({inView:j,entry:G}),x==null||x(j,G)},{threshold:e,root:l,rootMargin:i,scrollMargin:s,trackVisibility:a,delay:r,fallbackInView:g,skip:d,triggerOnce:c}),T=_({node:null,reset:!1}),U=P(function(G){if(G)T.current.node=G,T.current.reset=!1;else if(T.current.node)T.current.node=null,T.current.reset=!0;let X=k(G);if(!X)return;return()=>{if(X(),T.current.node===G)T.current.node=null,T.current.reset=!0}},[k]);Obt(()=>{if(!T.current.reset)return;if(T.current.reset=!1,c||d)return;y({inView:!!h,entry:void 0}),v.current=h});let N=[U,b.inView,b.entry];return N.ref=N[0],N.inView=N[1],N.entry=N[2],N}S();function Nbt(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 Fbt=(e)=>{switch(e){case"success":return Ubt;case"info":return qbt;case"warning":return Ybt;case"error":return Hbt;default:return null}},jbt=Array(12).fill(0),Bbt=({visible:e,className:r})=>q("div",{className:["sonner-loading-wrapper",r].filter(Boolean).join(" "),"data-visible":e},q("div",{className:"sonner-spinner"},jbt.map((a,i)=>q("div",{className:"sonner-loading-bar",key:`spinner-bar-${i}`})))),Ubt=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"})),Ybt=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"})),qbt=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"})),Hbt=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"})),Vbt=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"})),Wbt=()=>{let[e,r]=u(document.hidden);return m(()=>{let a=()=>{r(document.hidden)};return document.addEventListener("visibilitychange",a),()=>document.removeEventListener("visibilitychange",a)},[]),e},Gbt=1,Kbt=100,Lde=(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:Gbt++};class Ide{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-Kbt;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=Lde(e),s=this.pendingDismissals.get(i);if(s!==void 0)cancelAnimationFrame(s),this.pendingDismissals.delete(i),this.dismissedToasts.delete(i);let l=this.dismissedToasts.has(i),c=e.dismissible===void 0?!0:e.dismissible;if(l)this.dismissedToasts.delete(i),this.toasts=this.toasts.filter((h)=>h.id!==i);if(l?void 0:this.toasts.find((h)=>h.id===i))this.toasts=this.toasts.map((h)=>{if(h.id===i)return this.publish({...h,...e,id:i,title:r}),{...h,...e,id:i,dismissible:c,title:r};return h});else this.addToast({title:r,...a,dismissible:c,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),s=a!==void 0,l,c=i.then(async(h)=>{if(l=["resolve",h],os(h))s=!1,this.create({id:a,type:"default",message:h});else if(Qbt(h)&&!h.ok){s=!1;let x=typeof r.error==="function"?await r.error(`HTTP error! status: ${h.status}`):r.error,v=typeof r.description==="function"?await r.description(`HTTP error! status: ${h.status}`):r.description,y=typeof x==="object"&&!os(x)?x:{message:x};this.create({id:a,type:"error",description:v,...y})}else if(h instanceof Error){s=!1;let x=typeof r.error==="function"?await r.error(h):r.error,v=typeof r.description==="function"?await r.description(h):r.description,y=typeof x==="object"&&!os(x)?x:{message:x};this.create({id:a,type:"error",description:v,...y})}else if(r.success!==void 0){s=!1;let x=typeof r.success==="function"?await r.success(h):r.success,v=typeof r.description==="function"?await r.description(h):r.description,y=typeof x==="object"&&!os(x)?x:{message:x};this.create({id:a,type:"success",description:v,...y})}}).catch(async(h)=>{if(l=["reject",h],r.error!==void 0){s=!1;let g=typeof r.error==="function"?await r.error(h):r.error,x=typeof r.description==="function"?await r.description(h):r.description,b=typeof g==="object"&&!os(g)?g:{message:g};this.create({id:a,type:"error",description:x,...b})}}).finally(()=>{if(s)this.dismiss(a),a=void 0;r.finally==null||r.finally.call(r)}),d=()=>new Promise((h,g)=>c.then(()=>l[0]==="reject"?g(l[1]):h(l[1])).catch(g));if(typeof a!=="string"&&typeof a!=="number")return{unwrap:d};else return Object.assign(a,{unwrap:d})},this.custom=(e,r)=>{let a=Lde(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 rl=new Ide,Xbt=(e,r)=>rl.message(e,r),Qbt=(e)=>e&&typeof e==="object"&&("ok"in e)&&typeof e.ok==="boolean"&&("status"in e)&&typeof e.status==="number",Jbt=Xbt,$bt=()=>rl.toasts,ewt=()=>rl.getActiveToasts(),M=Object.assign(Jbt,{success:rl.success,info:rl.info,warning:rl.warning,error:rl.error,custom:rl.custom,message:rl.message,promise:rl.promise,dismiss:rl.dismiss,loading:rl.loading},{getHistory:$bt,getToasts:ewt});Nbt("[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 x3(e){return e.label!==void 0}var twt=3,rwt="24px",owt="16px",kde=4000,awt=356,nwt=14,iwt=45,fwt=200;function xZ(...e){return e.filter(Boolean).join(" ")}function swt(e){let[r,a]=e.split("-"),i=[];if(r)i.push(r);if(a)i.push(a);return i}var lwt=(e)=>{var r,a,i,s,l,c,d,h,g;let{invert:x,toast:v,unstyled:b,interacting:y,setHeights:k,visibleToasts:T,heights:U,index:N,toasts:j,expanded:G,removeToast:X,defaultRichColors:J,closeButton:ee,style:re,cancelButtonStyle:oe,actionButtonStyle:fe,className:be="",descriptionClassName:We="",duration:Ye,position:Se,gap:He,expandByDefault:ft,classNames:Je,icons:xt,closeButtonAriaLabel:Ft="Close toast"}=e,[Bt,ie]=u(null),[bt,Wt]=u(null),[Fe,ir]=u(!1),[fr,Jt]=u(!1),[Fr,Gt]=u(!1),[Xt,Ir]=u(!1),[yr,Tr]=u(!1),[pr,mo]=u(0),[co,va]=u(0),sr=_(v.duration||Ye||kde),ho=_(null),po=_(null),jo=N===0,hn=N+1<=T,Wo=v.type,Yn=Wo!=null?Wo:"default",gn=v.dismissible!==!1,Vi=v.className||"",Ge=v.descriptionClassName||"",Rt=D(()=>U.findIndex((ar)=>ar.toastId===v.id)||0,[U,v.id]),hr=D(()=>{var ar;return(ar=v.closeButton)!=null?ar:ee},[v.closeButton,ee]),Ur=D(()=>v.duration||Ye||kde,[v.duration,Ye]),fo=_(0),Go=_(0),Va=_(0),Ee=_(null),[Oe,je]=Se.split("-"),Zt=D(()=>U.reduce((ar,Ko,ya)=>{if(ya>=Rt)return ar;return ar+Ko.height},0),[U,Rt]),St=Wbt(),jt=D(()=>{var ar;return(ar=e.swipeDirections)!=null?ar:swt(Se)},[e.swipeDirections,Se]),nr=v.invert||x,Dt=Wo==="loading";Go.current=D(()=>Rt*He+Zt,[Rt,Zt]),m(()=>{sr.current=Ur},[Ur]),m(()=>{ir(!0)},[]),m(()=>{let ar=po.current;if(ar){let Ko=ar.getBoundingClientRect().height;return va(Ko),k((ya)=>[{toastId:v.id,height:Ko,position:v.position},...ya]),()=>k((ya)=>ya.filter((ai)=>ai.toastId!==v.id))}},[k,v.id]),$e(()=>{if(!Fe)return;let ar=po.current,Ko=ar.style.height;ar.style.height="auto";let ya=ar.getBoundingClientRect().height;ar.style.height=Ko,va(ya),k((ai)=>{if(!ai.find((Ea)=>Ea.toastId===v.id))return[{toastId:v.id,height:ya,position:v.position},...ai];else return ai.map((Ea)=>Ea.toastId===v.id?{...Ea,height:ya}:Ea)})},[Fe,v.title,v.description,k,v.id,v.jsx,v.action,v.cancel]);let zt=P(()=>{Jt(!0),mo(Go.current),k((ar)=>ar.filter((Ko)=>Ko.toastId!==v.id)),setTimeout(()=>{X(v)},fwt)},[v,X,k,Go]);m(()=>{if(v.promise&&Wo==="loading"||v.duration===1/0||v.type==="loading")return;let ar,Ko=()=>{if(Va.current<fo.current){let ai=new Date().getTime()-fo.current;sr.current=sr.current-ai}Va.current=new Date().getTime()},ya=()=>{if(sr.current===1/0)return;fo.current=new Date().getTime(),ar=setTimeout(()=>{v.onAutoClose==null||v.onAutoClose.call(v,v),zt()},sr.current)};if(G||y||St)Ko();else ya();return()=>clearTimeout(ar)},[G,y,v,Wo,St,zt]),m(()=>{if(v.delete)zt(),v.onDismiss==null||v.onDismiss.call(v,v)},[zt,v.delete]);function qt(){var ar;if(xt==null?void 0:xt.loading){var Ko;return q("div",{className:xZ(Je==null?void 0:Je.loader,v==null?void 0:(Ko=v.classNames)==null?void 0:Ko.loader,"sonner-loader"),"data-visible":Wo==="loading"},xt.loading)}return q(Bbt,{className:xZ(Je==null?void 0:Je.loader,v==null?void 0:(ar=v.classNames)==null?void 0:ar.loader),visible:Wo==="loading"})}let Nr=v.icon||(xt==null?void 0:xt[Wo])||Fbt(Wo);var Br,da;return q("li",{tabIndex:0,ref:po,className:xZ(be,Vi,Je==null?void 0:Je.toast,v==null?void 0:(r=v.classNames)==null?void 0:r.toast,Je==null?void 0:Je[Yn],v==null?void 0:(a=v.classNames)==null?void 0:a[Yn]),"data-sonner-toast":"","data-rich-colors":(Br=v.richColors)!=null?Br:J,"data-styled":!Boolean(v.jsx||v.unstyled||b),"data-mounted":Fe,"data-promise":Boolean(v.promise),"data-swiped":yr,"data-removed":fr,"data-visible":hn,"data-y-position":Oe,"data-x-position":je,"data-index":N,"data-front":jo,"data-swiping":Fr,"data-dismissible":gn,"data-type":Wo,"data-invert":nr,"data-swipe-out":Xt,"data-swipe-direction":bt,"data-expanded":Boolean(G||ft&&Fe),"data-testid":v.testId,style:{"--index":N,"--toasts-before":N,"--z-index":j.length-N,"--offset":`${fr?pr:Go.current}px`,"--initial-height":ft?"auto":`${co}px`,...re,...v.style},onDragEnd:()=>{Gt(!1),ie(null),Ee.current=null},onPointerDown:(ar)=>{if(ar.button===2)return;if(Dt||!gn)return;if(ho.current=new Date,mo(Go.current),ar.target.setPointerCapture(ar.pointerId),ar.target.tagName==="BUTTON")return;Gt(!0),Ee.current={x:ar.clientX,y:ar.clientY}},onPointerUp:()=>{var ar,Ko,ya;if(Xt||!gn)return;Ee.current=null;let ai=Number(((ar=po.current)==null?void 0:ar.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),xf=Number(((Ko=po.current)==null?void 0:Ko.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),Ea=new Date().getTime()-((ya=ho.current)==null?void 0:ya.getTime()),rs=Bt==="x"?ai:xf,vf=Math.abs(rs)/Ea;if((Bt==="x"?jt.includes(ai>0?"right":"left"):jt.includes(xf>0?"bottom":"top"))&&(Math.abs(rs)>=iwt||vf>0.11)){if(mo(Go.current),v.onDismiss==null||v.onDismiss.call(v,v),Bt==="x")Wt(ai>0?"right":"left");else Wt(xf>0?"down":"up");zt(),Ir(!0);return}else{var Du,vB;(Du=po.current)==null||Du.style.setProperty("--swipe-amount-x","0px"),(vB=po.current)==null||vB.style.setProperty("--swipe-amount-y","0px")}Tr(!1),Gt(!1),ie(null)},onPointerMove:(ar)=>{var Ko,ya,ai;if(!Ee.current||!gn)return;if(((Ko=window.getSelection())==null?void 0:Ko.toString().length)>0)return;let Ea=ar.clientY-Ee.current.y,rs=ar.clientX-Ee.current.x;if(!Bt&&(Math.abs(rs)>1||Math.abs(Ea)>1))ie(Math.abs(rs)>Math.abs(Ea)?"x":"y");let vf={x:0,y:0},xB=(Du)=>1/(1.5+Math.abs(Du)/20);if(Bt==="y"){if(jt.includes("top")||jt.includes("bottom"))if(jt.includes("top")&&Ea<0||jt.includes("bottom")&&Ea>0)vf.y=Ea;else{let Du=Ea*xB(Ea);vf.y=Math.abs(Du)<Math.abs(Ea)?Du:Ea}}else if(Bt==="x"){if(jt.includes("left")||jt.includes("right"))if(jt.includes("left")&&rs<0||jt.includes("right")&&rs>0)vf.x=rs;else{let Du=rs*xB(rs);vf.x=Math.abs(Du)<Math.abs(rs)?Du:rs}}if(Math.abs(vf.x)>0||Math.abs(vf.y)>0)Tr(!0);(ya=po.current)==null||ya.style.setProperty("--swipe-amount-x",`${vf.x}px`),(ai=po.current)==null||ai.style.setProperty("--swipe-amount-y",`${vf.y}px`)}},hr&&!v.jsx&&Wo!=="loading"?q("button",{"aria-label":Ft,"data-disabled":Dt,"data-close-button":!0,onClick:Dt||!gn?()=>{}:()=>{zt(),v.onDismiss==null||v.onDismiss.call(v,v)},className:xZ(Je==null?void 0:Je.closeButton,v==null?void 0:(i=v.classNames)==null?void 0:i.closeButton)},(da=xt==null?void 0:xt.close)!=null?da:Vbt):null,(Wo||v.icon||v.promise)&&v.icon!==null&&((xt==null?void 0:xt[Wo])!==null||v.icon)?q("div",{"data-icon":"",className:xZ(Je==null?void 0:Je.icon,v==null?void 0:(s=v.classNames)==null?void 0:s.icon)},Wo==="loading"?v.icon||qt():v.promise?qt():null,Wo!=="loading"?Nr:null):null,q("div",{"data-content":"",className:xZ(Je==null?void 0:Je.content,v==null?void 0:(l=v.classNames)==null?void 0:l.content)},q("div",{"data-title":"",className:xZ(Je==null?void 0:Je.title,v==null?void 0:(c=v.classNames)==null?void 0:c.title)},v.jsx?v.jsx:typeof v.title==="function"?v.title():v.title),v.description?q("div",{"data-description":"",className:xZ(We,Ge,Je==null?void 0:Je.description,v==null?void 0:(d=v.classNames)==null?void 0:d.description)},typeof v.description==="function"?v.description():v.description):null),os(v.cancel)?v.cancel:v.cancel&&x3(v.cancel)?q("button",{"data-button":!0,"data-cancel":!0,style:v.cancelButtonStyle||oe,onClick:(ar)=>{if(!x3(v.cancel))return;if(!gn)return;v.cancel.onClick==null||v.cancel.onClick.call(v.cancel,ar),zt()},className:xZ(Je==null?void 0:Je.cancelButton,v==null?void 0:(h=v.classNames)==null?void 0:h.cancelButton)},v.cancel.label):null,os(v.action)?v.action:v.action&&x3(v.action)?q("button",{"data-button":!0,"data-action":!0,style:v.actionButtonStyle||fe,onClick:(ar)=>{if(!x3(v.action))return;if(v.action.onClick==null||v.action.onClick.call(v.action,ar),ar.defaultPrevented)return;zt()},className:xZ(Je==null?void 0:Je.actionButton,v==null?void 0:(g=v.classNames)==null?void 0:g.actionButton)},v.action.label):null)};function Cde(){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 cwt(e,r){let a={};return[e,r].forEach((i,s)=>{let l=s===1,c=l?"--mobile-offset":"--offset",d=l?owt:rwt;function h(g){["top","right","bottom","left"].forEach((x)=>{a[`${c}-${x}`]=typeof g==="number"?`${g}px`:g})}if(typeof i==="number"||typeof i==="string")h(i);else if(typeof i==="object")["top","right","bottom","left"].forEach((g)=>{if(i[g]===void 0)a[`${c}-${g}`]=d;else a[`${c}-${g}`]=typeof i[g]==="number"?`${i[g]}px`:i[g]});else h(d)}),a}var Rde=F(function(r,a){let{id:i,invert:s,position:l="bottom-right",hotkey:c=["altKey","KeyT"],expand:d,closeButton:h,className:g,offset:x,mobileOffset:v,theme:b="light",richColors:y,duration:k,style:T,visibleToasts:U=twt,toastOptions:N,dir:j=Cde(),gap:G=nwt,icons:X,customAriaLabel:J,containerAriaLabel:ee="Notifications"}=r,[re,oe]=u([]),fe=D(()=>{if(i)return re.filter((ir)=>ir.toasterId===i);return re.filter((ir)=>!ir.toasterId)},[re,i]),be=D(()=>Array.from(new Set([l].concat(fe.filter((ir)=>ir.position).map((ir)=>ir.position)))),[fe,l]),[We,Ye]=u([]),[Se,He]=u(!1),[ft,Je]=u(!1),[xt,Ft]=u(b!=="system"?b:typeof window<"u"?window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light":"light"),Bt=_(null),ie=c.join("+").replace(/Key/g,"").replace(/Digit/g,""),bt=_(null),Wt=_(!1),Fe=P((ir)=>{oe((fr)=>{var Jt;if(!((Jt=fr.find((Fr)=>Fr.id===ir.id))==null?void 0:Jt.delete))rl.dismiss(ir.id);return fr.filter(({id:Fr})=>Fr!==ir.id)})},[]);return m(()=>rl.subscribe((ir)=>{if(ir.dismiss){requestAnimationFrame(()=>{oe((fr)=>fr.map((Jt)=>Jt.id===ir.id?{...Jt,delete:!0}:Jt))});return}setTimeout(()=>{nn(()=>{oe((fr)=>{let Jt=fr.findIndex((Fr)=>Fr.id===ir.id);if(Jt!==-1)return[...fr.slice(0,Jt),{...fr[Jt],...ir},...fr.slice(Jt+1)];return[ir,...fr]})})})}),[]),m(()=>{if(b!=="system"){Ft(b);return}if(b==="system")if(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches)Ft("dark");else Ft("light");if(typeof window>"u")return;let ir=window.matchMedia("(prefers-color-scheme: dark)");try{ir.addEventListener("change",({matches:fr})=>{if(fr)Ft("dark");else Ft("light")})}catch(fr){ir.addListener(({matches:Jt})=>{try{if(Jt)Ft("dark");else Ft("light")}catch(Fr){console.error(Fr)}})}},[b]),m(()=>{if(re.length<=1)He(!1)},[re]),m(()=>{let ir=(fr)=>{var Jt;if(c.length>0&&c.every((Xt)=>fr[Xt]||fr.code===Xt)){var Gt;He(!0),(Gt=Bt.current)==null||Gt.focus()}if(fr.code==="Escape"&&(document.activeElement===Bt.current||((Jt=Bt.current)==null?void 0:Jt.contains(document.activeElement))))He(!1)};return document.addEventListener("keydown",ir),()=>document.removeEventListener("keydown",ir)},[c]),m(()=>{if(Bt.current)return()=>{if(bt.current)bt.current.focus({preventScroll:!0}),bt.current=null,Wt.current=!1}},[Bt.current]),q("section",{ref:a,"aria-label":J!=null?J:`${ee} ${ie}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0,"data-react-aria-top-layer":!0},be.map((ir,fr)=>{var Jt;let[Fr,Gt]=ir.split("-");if(!fe.length)return null;return q("ol",{key:ir,dir:j==="auto"?Cde():j,tabIndex:-1,ref:Bt,className:g,"data-sonner-toaster":!0,"data-sonner-theme":xt,"data-y-position":Fr,"data-x-position":Gt,style:{"--front-toast-height":`${((Jt=We[0])==null?void 0:Jt.height)||0}px`,"--width":`${awt}px`,"--gap":`${G}px`,...T,...cwt(x,v)},onBlur:(Xt)=>{if(Wt.current&&!Xt.currentTarget.contains(Xt.relatedTarget)){if(Wt.current=!1,bt.current)bt.current.focus({preventScroll:!0}),bt.current=null}},onFocus:(Xt)=>{if(Xt.target instanceof HTMLElement&&Xt.target.dataset.dismissible==="false")return;if(!Wt.current)Wt.current=!0,bt.current=Xt.relatedTarget},onMouseEnter:()=>He(!0),onMouseMove:()=>He(!0),onMouseLeave:()=>{if(!ft)He(!1)},onDragEnd:()=>He(!1),onPointerDown:(Xt)=>{if(Xt.target instanceof HTMLElement&&Xt.target.dataset.dismissible==="false")return;Je(!0)},onPointerUp:()=>Je(!1)},fe.filter((Xt)=>!Xt.position&&fr===0||Xt.position===ir).map((Xt,Ir)=>{var yr,Tr;return q(lwt,{key:Xt.id,icons:X,index:Ir,toast:Xt,defaultRichColors:y,duration:(yr=N==null?void 0:N.duration)!=null?yr:k,className:N==null?void 0:N.className,descriptionClassName:N==null?void 0:N.descriptionClassName,invert:s,visibleToasts:U,closeButton:(Tr=N==null?void 0:N.closeButton)!=null?Tr:h,interacting:ft,position:ir,style:N==null?void 0:N.style,unstyled:N==null?void 0:N.unstyled,classNames:N==null?void 0:N.classNames,cancelButtonStyle:N==null?void 0:N.cancelButtonStyle,actionButtonStyle:N==null?void 0:N.actionButtonStyle,closeButtonAriaLabel:N==null?void 0:N.closeButtonAriaLabel,removeToast:Fe,toasts:fe.filter((pr)=>pr.position==Xt.position),heights:We.filter((pr)=>pr.position==Xt.position),setHeights:Ye,expandByDefault:d,gap:G,expanded:Se,swipeDirections:r.swipeDirections})}))}))});function vr({teamId:e,projectId:r,projectName:a,rootFolderId:i,dragState:s,onSelect:l,selectedFolderId:c,hideCollections:d,hideShares:h,hideRecentlyDeleted:g,hideRecents:x,ancestorFolders:v}){let b=Re(),y=V(),{canEdit:k}=Ot(r),T=Mi({from:"/projects/$projectId/recently-deleted",shouldThrow:!1}),U=Mi({from:"/projects/$projectId/recents",shouldThrow:!1}),[N,j]=u(!0),[G,X]=u(!0),[J,ee]=u(!0),{data:re,fetchNextPage:oe,hasNextPage:fe,isFetchingNextPage:be}=mt({queryKey:["shares",r],queryFn:async({pageParam:Oe})=>{let je=await A.api.projects[":projectId"].shares.$get({param:{projectId:r},query:{first:"20",after:Oe}});if(!je.ok)throw Error(s7e());return await je.json()},initialPageParam:"",getNextPageParam:(Oe)=>Oe.pageInfo?.cursor||void 0,enabled:!!r}),{data:We,fetchNextPage:Ye,hasNextPage:Se,isFetchingNextPage:He}=mt({queryKey:["collections",r],queryFn:async({pageParam:Oe})=>{let je=await A.api.projects[":projectId"].collections.$get({param:{projectId:r},query:{first:"20",after:Oe}});if(!je.ok)throw Error(QYe());return await je.json()},initialPageParam:"",getNextPageParam:(Oe)=>Oe.pageInfo?.cursor||void 0,enabled:!!r}),{ref:ft,inView:Je}=Nt(),{ref:xt,inView:Ft}=Nt();m(()=>{if(Je&&Se&&!He)Ye()},[Je,Se,He,Ye]),m(()=>{if(Ft&&fe&&!be)oe()},[Ft,fe,be,oe]);let Bt=D(()=>We?.pages.flatMap((Oe)=>Oe.data)||[],[We]),ie=D(()=>re?.pages.flatMap((Oe)=>Oe.data)||[],[re]),{mutate:bt}=B({mutationFn:async()=>{let Oe=await A.api.projects[":projectId"].collections.$post({param:{projectId:r},json:{name:CA(),filter:{sourceFolderId:i,searchFilter:{conditions:[],recursively:!0}}}});if(!Oe.ok)throw Error(IYe());return await Oe.json()},onSuccess:(Oe)=>{y.invalidateQueries({queryKey:["collections",r]}),M.success(Q4e()),b({to:"/projects/$projectId/collections/$collectionId",params:{projectId:r,collectionId:Oe.id}})},onError:(Oe)=>{M.error(`Error: ${Oe.message}`)}}),{mutate:Wt}=B({mutationFn:async()=>{let Oe=await A.api.projects[":projectId"].shares.$post({param:{projectId:r},json:{name:new Date().toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"})}});if(!Oe.ok)throw Error(OYe());return await Oe.json()},onSuccess:(Oe)=>{y.invalidateQueries({queryKey:["shares",r]}),M.success(MZt()),b({to:"/projects/$projectId/shares/$shareId",params:{projectId:r,shareId:Oe.id}})},onError:(Oe)=>{M.error(`Error: ${Oe.message}`)}}),Fe=ul({from:"/projects/$projectId/collections/$collectionId",shouldThrow:!1}),ir=ul({from:"/projects/$projectId/shares/$shareId",shouldThrow:!1}),fr=ul({from:"/projects/$projectId/folders/$folderId",shouldThrow:!1}),[Jt,Fr]=u(null),[Gt,Xt]=u("collection"),[Ir,yr]=u(""),[Tr,pr]=u(!1),[mo,co]=u(null),[va,sr]=u("collection"),[ho,po]=u(!1),{mutate:jo}=B({mutationFn:async({id:Oe,name:je})=>{let Zt=await A.api.folders[":folderId"].$put({param:{folderId:Oe},json:{name:je}});if(!Zt.ok)throw Error(v7e());return await Zt.json()},onSuccess:()=>{y.invalidateQueries({queryKey:["search",e]}),y.invalidateQueries({queryKey:["folders"]}),M.success(pHe()),pr(!1)},onError:(Oe)=>{M.error(`Error: ${Oe.message}`)}}),{mutate:hn}=B({mutationFn:async(Oe)=>{if(!(await A.api.folders.$delete({json:{ids:[Oe]}})).ok)throw Error(HYe());return Oe},onSuccess:(Oe)=>{if(y.invalidateQueries({queryKey:["search",e]}),y.invalidateQueries({queryKey:["folders"]}),M.success(fHe()),po(!1),fr?.folderId===Oe)b({to:"/projects/$projectId",params:{projectId:r}})},onError:(Oe)=>{M.error(`Error: ${Oe.message}`)}}),[Wo,Yn]=u(!1),[gn,Vi]=u(!1),[Ge,Rt]=u([]),hr=async(Oe)=>{Yn(!0),Vi(!0),Rt([]);try{let je=await A.api.files["download-links"].$post({json:{ids:[Oe]}});if(!je.ok)throw Error(yle());let Zt=await je.json();Rt(Zt.files)}catch(je){M.error(yle()),Yn(!1),console.error(je)}finally{Vi(!1)}},Ur=()=>{let Oe=[...Ge];if(Yn(!1),Oe.length===0)return;M.info(vmt({count:Oe.length}),{duration:5000});let je=(St)=>new Promise((jt)=>setTimeout(jt,St));(async()=>{for(let jt=0;jt<Oe.length;jt+=5){let nr=Oe.slice(jt,jt+5);for(let Dt of nr){let zt=document.createElement("a");zt.href=Dt.url,zt.download=Dt.name,zt.target="_blank",document.body.appendChild(zt),zt.click(),zt.remove()}await je(1000)}})().catch((St)=>{console.error("Background downloads failed:",St),M.error(Tpt())})},{mutate:fo}=B({mutationFn:async({id:Oe,name:je})=>{let Zt=await A.api.collections[":collectionId"].$patch({param:{collectionId:Oe},json:{name:je}});if(!Zt.ok)throw Error(g7e());return await Zt.json()},onSuccess:()=>{y.invalidateQueries({queryKey:["collections",r]}),M.success(nFe()),pr(!1)},onError:(Oe)=>{M.error(`Error: ${Oe.message}`)}}),{mutate:Go}=B({mutationFn:async(Oe)=>{let je=await A.api.collections[":collectionId"].$delete({param:{collectionId:Oe}});if(!je.ok)throw Error(jYe());return await je.json()},onSuccess:(Oe,je)=>{if(y.invalidateQueries({queryKey:["collections",r]}),M.success(eFe()),po(!1),Fe?.collectionId===je)b({to:"/projects/$projectId",params:{projectId:r}})},onError:(Oe)=>{M.error(`Error: ${Oe.message}`)}}),{mutate:Va}=B({mutationFn:async({id:Oe,name:je})=>{let Zt=await A.api.shares[":shareId"].$put({param:{shareId:Oe},json:{name:je}});if(!Zt.ok)throw Error(b7e());return await Zt.json()},onSuccess:()=>{y.invalidateQueries({queryKey:["shares",r]}),M.success(wZt()),pr(!1)},onError:(Oe)=>{M.error(`Error: ${Oe.message}`)}}),{mutate:Ee}=B({mutationFn:async(Oe)=>{if(!(await A.api.shares[":shareId"].$delete({param:{shareId:Oe}})).ok)throw Error(GYe());return Oe},onSuccess:(Oe)=>{if(y.invalidateQueries({queryKey:["shares",r]}),M.success(yZt()),po(!1),ir?.shareId===Oe)b({to:"/projects/$projectId",params:{projectId:r}})},onError:(Oe)=>{M.error(`Error: ${Oe.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",N?"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(!N),children:[t("h3",{className:"text-xs font-semibold uppercase tracking-wider",children:ble()}),N?t(Pz,{className:"h-3.5 w-3.5 opacity-0 group-hover:opacity-100 transition-opacity duration-200"}):t(Tz,{className:"h-3.5 w-3.5 opacity-0 group-hover:opacity-100 transition-opacity duration-200"})]})}),t(ce,{className:E("flex-1 min-h-0 transition-all duration-300 ease-in-out [&>div>div]:block!",N?"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:[!x&&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",U&&"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(Us,{className:"h-4 w-4 text-sidebar-primary"})}),t("span",{className:"flex-1 truncate text-sidebar-foreground",children:Gg()})]}),t(Pde,{teamId:e,projectId:r,folder:{id:i,name:a,type:"folder",sizeByte:0,fileCount:0,status:"processed",createdAt:"",updatedAt:""},level:0,isRoot:!0,dragState:s,onSelect:l,selectedFolderId:c,canEdit:k,onRenameTrigger:(Oe,je)=>{Fr(Oe),Xt("folder"),yr(je),pr(!0)},onDeleteTrigger:(Oe)=>{co(Oe),sr("folder"),po(!0)},onDownloadTrigger:(Oe)=>{hr(Oe)},ancestorFolders:v},i),k&&!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",T&&"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(we,{className:"h-4 w-4 text-sidebar-primary"})}),t("span",{className:"flex-1 truncate text-sidebar-foreground",children:$g()})]})]})})]}),!d&&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:cFe()}),G?t(Pz,{className:"h-3.5 w-3.5 opacity-0 group-hover:opacity-100 transition-opacity duration-200"}):t(Tz,{className:"h-3.5 w-3.5 opacity-0 group-hover:opacity-100 transition-opacity duration-200"})]}),k&&t("button",{"data-testid":"create-collection",onClick:()=>bt(),className:"text-muted-foreground hover:text-foreground flex-none",children:t(de,{className:"h-3.5 w-3.5"})})]}),t(ce,{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(no,{className:"h-4 w-4 text-sidebar-primary"})}),t("span",{className:"flex-1 truncate text-sidebar-foreground",children:LOe({count:We?.pages[0]?.pageInfo?.total||0})})]}),Bt.map((Oe)=>{let je=Fe?.collectionId===Oe.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:Oe.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(ta,{className:"h-4 w-4 text-sidebar-primary"})}),t("span",{className:"truncate text-sidebar-foreground flex-1",children:Oe.name})]}),k&&t("div",{className:"opacity-0 group-hover:opacity-100 transition-opacity shrink-0",onClick:(Zt)=>Zt.stopPropagation(),children:o(ge,{modal:!1,children:[t(Ae,{asChild:!0,children:t(C,{variant:"ghost",size:"icon-sm",className:"h-6 w-6 shrink-0 hover:bg-muted hover:text-muted-foreground p-0",children:t(or,{className:"h-3.5 w-3.5"})})}),o(_e,{align:"end",className:"w-32",children:[t(K,{onClick:()=>{Fr(Oe.id),Xt("collection"),yr(Oe.name),pr(!0)},children:Zo()}),t(K,{className:"text-destructive focus:text-destructive focus:bg-destructive/10",onClick:()=>{co(Oe.id),sr("collection"),po(!0)},children:ct()})]})]})})]},Oe.id)}),t("div",{ref:ft,className:"h-1"}),He&&t("div",{className:"flex justify-center p-2",children:t(O,{className:"h-4 w-4 animate-spin text-muted-foreground"})})]})})]}),!h&&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:CZt()}),J?t(Pz,{className:"h-3.5 w-3.5 opacity-0 group-hover:opacity-100 transition-opacity duration-200"}):t(Tz,{className:"h-3.5 w-3.5 opacity-0 group-hover:opacity-100 transition-opacity duration-200"})]}),k&&t("div",{className:"flex items-center gap-1 flex-none",children:t("button",{onClick:()=>Wt(),className:"text-muted-foreground hover:text-foreground",children:t(de,{className:"h-3.5 w-3.5"})})})]}),t(ce,{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(no,{className:"h-4 w-4 text-sidebar-primary"})}),t("span",{className:"flex-1 truncate text-sidebar-foreground",children:FOe({count:re?.pages[0]?.pageInfo?.total||0})})]}),ie.map((Oe)=>t(uwt,{link:Oe,projectId:r,dragState:s,canEdit:k,onRenameTrigger:(je,Zt)=>{Fr(je),Xt("share"),yr(Zt),pr(!0)},onDeleteTrigger:(je)=>{co(je),sr("share"),po(!0)}},Oe.id)),t("div",{ref:xt,className:"h-1"}),be&&t("div",{className:"flex justify-center p-2",children:t(O,{className:"h-4 w-4 animate-spin text-muted-foreground"})})]})})]}),t(ue,{open:Tr,onOpenChange:pr,children:o(ae,{onClick:(Oe)=>Oe.stopPropagation(),children:[t(pe,{children:t(le,{children:Gt==="collection"?wlt():Gt==="share"?Ilt():Llt()})}),t("div",{className:"py-4",children:t(z,{value:Ir,onChange:(Oe)=>yr(Oe.target.value),placeholder:Ad(),onKeyDown:(Oe)=>{if(Oe.key==="Enter"&&Ir.trim()){if(Gt==="collection")fo({id:Jt,name:Ir});else if(Gt==="share")Va({id:Jt,name:Ir});else if(Gt==="folder")jo({id:Jt,name:Ir})}}})}),o(qe,{children:[t(C,{variant:"ghost",onClick:()=>pr(!1),children:De()}),t(C,{disabled:!Ir.trim(),onClick:()=>{if(Gt==="collection")fo({id:Jt,name:Ir});else if(Gt==="share")Va({id:Jt,name:Ir});else if(Gt==="folder")jo({id:Jt,name:Ir})},children:Zo()})]})]})}),t(Xe,{open:ho,onOpenChange:po,children:o(et,{onClick:(Oe)=>Oe.stopPropagation(),children:[o(tt,{children:[t(nt,{children:va==="collection"?pBe():va==="share"?$Be():SBe()}),t(ot,{children:yBe({type:va==="collection"?G4e():va==="share"?mZt():Lh().toLowerCase()})})]}),o(rt,{children:[t(it,{children:De()}),t(st,{className:"bg-destructive text-destructive-foreground hover:bg-destructive/90",onClick:()=>{if(va==="collection")Go(mo);else if(va==="share")Ee(mo);else if(va==="folder")hn(mo)},children:ct()})]})]})}),t(ue,{open:Wo,onOpenChange:Yn,children:o(ae,{className:"sm:max-w-md",children:[o(pe,{children:[t(le,{children:gn?Cg():lh()}),t(Mt,{children:gn?Kg():Zh()})]}),gn?o("div",{className:"space-y-4 py-6 flex flex-col items-center justify-center",children:[t(O,{className:"h-8 w-8 animate-spin text-primary"}),t("span",{className:"text-sm font-medium text-muted-foreground mt-2",children:Ig()})]}):o("div",{className:"space-y-4 py-2",children:[t("div",{className:"text-sm text-muted-foreground",children:yh({count:Ge.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(Kr,{className:"h-5 w-5 shrink-0 mt-0.5"}),o("div",{children:[t("p",{className:"font-semibold",children:hg()}),t("p",{className:"mt-0.5 text-xs text-amber-700/90 dark:text-amber-400/90",children:Uh()})]})]})]}),t(qe,{children:!gn?o(L,{children:[t(C,{variant:"outline",onClick:()=>Yn(!1),children:De()}),o(C,{onClick:Ur,className:"gap-2",disabled:Ge.length===0,children:[t(ht,{className:"h-4 w-4"}),mA()]})]}):t(C,{disabled:!0,variant:"outline",children:De()})})]})})]})}function uwt({link:e,projectId:r,dragState:a,canEdit:i,onRenameTrigger:s,onDeleteTrigger:l}){let c=Re(),h=ul({from:"/projects/$projectId/shares/$shareId",shouldThrow:!1})?.shareId===e.id,{ref:g,isDropTarget:x}=Or({id:`share:${e.id}`,data:{type:"share-link",id:e.id}}),v=!!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",h&&"bg-sidebar-accent text-sidebar-accent-foreground font-medium",x&&v&&"bg-sidebar-accent ring-2 ring-primary ring-inset"),onClick:()=>c({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(Pa,{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(C,{variant:"ghost",size:"icon-sm",className:"h-6 w-6 shrink-0 hover:bg-muted hover:text-muted-foreground p-0",children:t(or,{className:"h-3.5 w-3.5"})})}),o(_e,{align:"end",className:"w-32",children:[t(K,{onClick:()=>{s(e.id,e.name)},children:Zo()}),t(K,{className:"text-destructive focus:text-destructive focus:bg-destructive/10",onClick:()=>{l(e.id)},children:ct()})]})]})})]})}function Pde({teamId:e,projectId:r,folder:a,level:i,isRoot:s,dragState:l,onSelect:c,selectedFolderId:d,canEdit:h,onRenameTrigger:g,onDeleteTrigger:x,onDownloadTrigger:v,ancestorFolders:b}){let y=D(()=>b?.some((Wt)=>Wt.id===a.id)??!1,[b,a.id]),[k,T]=u(s||y);m(()=>{if(y)T(!0)},[y]);let U=Re(),N=ul({from:"/projects/$projectId/folders/$folderId",select:(Wt)=>({folderId:Wt.folderId}),shouldThrow:!1}),j=ul({from:"/projects/$projectId/",shouldThrow:!1}),G=s?!!j:N?.folderId===a.id,{data:X,fetchNextPage:J,hasNextPage:ee,isFetchingNextPage:re,isLoading:oe}=mt({queryKey:["folders",a.id,"children",{assetType:"folder"}],queryFn:async({pageParam:Wt})=>{let Fe=await A.api.folders[":folderId"].children.$get({param:{folderId:a.id},query:{assetType:"folder",after:Wt,first:"20"}});if(!Fe.ok)throw Error(j7e());return await Fe.json()},initialPageParam:"",getNextPageParam:(Wt)=>Wt.pageInfo?.cursor||void 0,enabled:k||!!s}),{ref:fe,inView:be}=Nt();m(()=>{if(be&&ee&&!re)J()},[be,ee,re,J]);let We=X?.pages.flatMap((Wt)=>Wt.data??[])??[],Ye=(Wt)=>{Wt.stopPropagation(),T(!k)},Se=()=>{if(c){c(a);return}if(s)U({to:"/projects/$projectId",params:{projectId:r}});else U({to:"/projects/$projectId/folders/$folderId",params:{projectId:r,folderId:a.id}})},{ref:He,isDragging:ft}=bs({id:`tree:${a.id}`,data:{type:"folder",item:a},disabled:!!s||!!c||!h}),{ref:Je,isDropTarget:xt}=Or({id:`tree:${a.id}`,data:{type:"folder",item:a},disabled:l?.draggedIds.has(a.id)||!!c||!h}),Ft=(Wt)=>{He(Wt),Je(Wt)},Bt=D(()=>{if(c)return!1;if(!l?.isActive)return!1;if(l.draggedIds.has(a.id))return!1;return!0},[l,a.id,c]),ie=xt&&Bt,bt=d===a.id;return o("div",{children:[o("div",{ref:Ft,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||bt)&&"bg-sidebar-accent text-sidebar-accent-foreground font-medium",ft&&"opacity-50",ie&&"bg-sidebar-accent ring-2 ring-primary ring-inset"),style:{...s?{}:{paddingLeft:`${i*12+8}px`}},onClick:Se,children:[!s&&t("button",{onClick:Ye,className:"flex h-4 w-4 items-center justify-center shrink-0",children:k?t(ve,{className:"h-3 w-3"}):t(Et,{className:"h-3 w-3"})}),s?t(O2,{className:"h-4 w-4 text-sidebar-primary shrink-0"}):t(rr,{className:"h-4 w-4 text-sidebar-primary shrink-0"}),t("span",{className:"flex-1 truncate text-sidebar-foreground",children:a.name}),h&&!s&&t("div",{className:"opacity-0 group-hover:opacity-100 transition-opacity shrink-0",onClick:(Wt)=>Wt.stopPropagation(),children:o(ge,{modal:!1,children:[t(Ae,{asChild:!0,children:t(C,{variant:"ghost",size:"icon-sm",className:"h-6 w-6 shrink-0 hover:bg-muted hover:text-muted-foreground p-0",children:t(or,{className:"h-3.5 w-3.5"})})}),o(_e,{align:"end",className:"w-32",children:[o(K,{onClick:()=>{g(a.id,a.name)},children:[t(Qr,{className:"mr-2 h-4 w-4"}),Zo()]}),o(K,{onClick:()=>{v(a.id)},children:[t(ht,{className:"mr-2 h-4 w-4"}),gr()]}),t(Vt,{}),o(K,{className:"text-destructive focus:text-destructive focus:bg-destructive/10",onClick:()=>{x(a.id)},children:[t(we,{className:"mr-2 h-4 w-4"}),ct()]})]})]})})]}),k&&o("div",{children:[oe&&t("div",{className:"flex items-center justify-center p-2",style:{paddingLeft:`${(i+1)*12+8}px`},children:t(O,{className:"h-4 w-4 animate-spin"})}),We.map((Wt)=>t(Pde,{teamId:e,projectId:r,folder:Wt,level:i+1,dragState:l,onSelect:c,selectedFolderId:d,canEdit:h,onRenameTrigger:g,onDeleteTrigger:x,onDownloadTrigger:v,ancestorFolders:b},Wt.id)),ee&&t("div",{ref:fe,className:"flex items-center justify-center p-2",style:{paddingLeft:`${(i+1)*12+8}px`},children:re&&t(O,{className:"h-4 w-4 animate-spin"})})]})]})}var dwt=Math.pow(10,8)*24*60*60*1000,M_n=-dwt,v3=604800000,Tde=86400000,pV=60000,fO=3600000;var mV=Symbol.for("constructDateFrom");function dt(e,r){if(typeof e==="function")return e(r);if(e&&typeof e==="object"&&mV in e)return e[mV](r);if(e instanceof Date)return new e.constructor(r);return new Date(r)}function xe(e,r){return dt(r||e,e)}function jR(e,r,a){let i=xe(e,a?.in);if(isNaN(r))return dt(a?.in||e,NaN);if(!r)return i;return i.setDate(i.getDate()+r),i}function za(e,r,a){let i=xe(e,a?.in);if(isNaN(r))return dt(a?.in||e,NaN);if(!r)return i;let s=i.getDate(),l=dt(a?.in||e,i.getTime());l.setMonth(i.getMonth()+r+1,0);let c=l.getDate();if(s>=c)return l;else return i.setFullYear(l.getFullYear(),l.getMonth(),s),i}function Ade(e,r,a){return dt(a?.in||e,+xe(e)+r)}function Ede(e,r,a){return Ade(e,r*fO,a)}var Zwt={};function vZ(){return Zwt}function Su(e,r){let a=vZ(),i=r?.weekStartsOn??r?.locale?.options?.weekStartsOn??a.weekStartsOn??a.locale?.options?.weekStartsOn??0,s=xe(e,r?.in),l=s.getDay(),c=(l<i?7:0)+l-i;return s.setDate(s.getDate()-c),s.setHours(0,0,0,0),s}function lM(e,r){return Su(e,{...r,weekStartsOn:1})}function y3(e,r){let a=xe(e,r?.in),i=a.getFullYear(),s=dt(a,0);s.setFullYear(i+1,0,4),s.setHours(0,0,0,0);let l=lM(s),c=dt(a,0);c.setFullYear(i,0,4),c.setHours(0,0,0,0);let d=lM(c);if(a.getTime()>=l.getTime())return i+1;else if(a.getTime()>=d.getTime())return i;else return i-1}function hV(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 ol(e,...r){let a=dt.bind(null,e||r.find((i)=>typeof i==="object"));return r.map(a)}function A8(e,r){let a=xe(e,r?.in);return a.setHours(0,0,0,0),a}function E8(e,r,a){let[i,s]=ol(a?.in,e,r),l=A8(i),c=A8(s),d=+l-hV(l),h=+c-hV(c);return Math.round((d-h)/Tde)}function Dde(e,r){let a=y3(e,r),i=dt(r?.in||e,0);return i.setFullYear(a,0,4),i.setHours(0,0,0,0),lM(i)}function sO(e,r,a){return jR(e,r*7,a)}function Ode(e,r,a){return za(e,r*12,a)}function Nde(e,r){let a,i=r?.in;return e.forEach((s)=>{if(!i&&typeof s==="object")i=dt.bind(null,s);let l=xe(s,i);if(!a||a<l||isNaN(+l))a=l}),dt(i,a||NaN)}function Fde(e,r){let a,i=r?.in;return e.forEach((s)=>{if(!i&&typeof s==="object")i=dt.bind(null,s);let l=xe(s,i);if(!a||a>l||isNaN(+l))a=l}),dt(i,a||NaN)}function _3(e){return dt(e,Date.now())}function BR(e,r,a){let[i,s]=ol(a?.in,e,r);return+A8(i)===+A8(s)}function b3(e){return e instanceof Date||typeof e==="object"&&Object.prototype.toString.call(e)==="[object Date]"}function sa(e){return!(!b3(e)&&typeof e!=="number"||isNaN(+xe(e)))}function w3(e,r,a){let[i,s]=ol(a?.in,e,r),l=i.getFullYear()-s.getFullYear(),c=i.getMonth()-s.getMonth();return l*12+c}function gV(e,r,a){let[i,s]=ol(a?.in,e,r),l=jde(i,s),c=Math.abs(E8(i,s));i.setDate(i.getDate()-l*c);let d=Number(jde(i,s)===-l),h=l*(c-d);return h===0?0:h}function jde(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 Kd(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 Ol(e,r){let[a,i]=ol(e,r.start,r.end);return{start:a,end:i}}function Bde(e,r){let{start:a,end:i}=Ol(r?.in,e),s=+a>+i,l=s?+a:+i,c=s?i:a;c.setHours(0,0,0,0),c.setDate(1);let d=r?.step??1;if(!d)return[];if(d<0)d=-d,s=!s;let h=[];while(+c<=l)h.push(dt(a,c)),c.setMonth(c.getMonth()+d);return s?h.reverse():h}function Ude(e,r){let a=xe(e,r?.in);return a.setDate(1),a.setHours(0,0,0,0),a}function Yde(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 z3(e,r){let a=xe(e,r?.in);return a.setFullYear(a.getFullYear(),0,1),a.setHours(0,0,0,0),a}function qde(e,r){let{start:a,end:i}=Ol(r?.in,e),s=+a>+i,l=s?+a:+i,c=s?i:a;c.setHours(0,0,0,0),c.setMonth(0,1);let d=r?.step??1;if(!d)return[];if(d<0)d=-d,s=!s;let h=[];while(+c<=l)h.push(dt(a,c)),c.setFullYear(c.getFullYear()+d);return s?h.reverse():h}function S3(e,r){let a=vZ(),i=r?.weekStartsOn??r?.locale?.options?.weekStartsOn??a.weekStartsOn??a.locale?.options?.weekStartsOn??0,s=xe(e,r?.in),l=s.getDay(),c=(l<i?-7:0)+6-(l-i);return s.setDate(s.getDate()+c),s.setHours(23,59,59,999),s}function Hde(e,r){return S3(e,{...r,weekStartsOn:1})}var pwt={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"}},Vde=(e,r,a)=>{let i,s=pwt[e];if(typeof s==="string")i=s;else if(r===1)i=s.one;else i=s.other.replace("{{count}}",r.toString());if(a?.addSuffix)if(a.comparison&&a.comparison>0)return"in "+i;else return i+" ago";return i};function L3(e){return(r={})=>{let a=r.width?String(r.width):e.defaultWidth;return e.formats[a]||e.formats[e.defaultWidth]}}var mwt={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},hwt={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},gwt={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Wde={date:L3({formats:mwt,defaultWidth:"full"}),time:L3({formats:hwt,defaultWidth:"full"}),dateTime:L3({formats:gwt,defaultWidth:"full"})};var Mwt={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},Gde=(e,r,a,i)=>Mwt[e];function UR(e){return(r,a)=>{let i=a?.context?String(a.context):"standalone",s;if(i==="formatting"&&e.formattingValues){let c=e.defaultFormattingWidth||e.defaultWidth,d=a?.width?String(a.width):c;s=e.formattingValues[d]||e.formattingValues[c]}else{let c=e.defaultWidth,d=a?.width?String(a.width):e.defaultWidth;s=e.values[d]||e.values[c]}let l=e.argumentCallback?e.argumentCallback(r):r;return s[l]}}var xwt={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},vwt={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},ywt={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"]},_wt={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"]},bwt={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"}},wwt={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"}},zwt=(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"},Kde={ordinalNumber:zwt,era:UR({values:xwt,defaultWidth:"wide"}),quarter:UR({values:vwt,defaultWidth:"wide",argumentCallback:(e)=>e-1}),month:UR({values:ywt,defaultWidth:"wide"}),day:UR({values:_wt,defaultWidth:"wide"}),dayPeriod:UR({values:bwt,defaultWidth:"wide",formattingValues:wwt,defaultFormattingWidth:"wide"})};function YR(e){return(r,a={})=>{let i=a.width,s=i&&e.matchPatterns[i]||e.matchPatterns[e.defaultMatchWidth],l=r.match(s);if(!l)return null;let c=l[0],d=i&&e.parsePatterns[i]||e.parsePatterns[e.defaultParseWidth],h=Array.isArray(d)?Lwt(d,(v)=>v.test(c)):Swt(d,(v)=>v.test(c)),g;g=e.valueCallback?e.valueCallback(h):h,g=a.valueCallback?a.valueCallback(g):g;let x=r.slice(c.length);return{value:g,rest:x}}}function Swt(e,r){for(let a in e)if(Object.prototype.hasOwnProperty.call(e,a)&&r(e[a]))return a;return}function Lwt(e,r){for(let a=0;a<e.length;a++)if(r(e[a]))return a;return}function Xde(e){return(r,a={})=>{let i=r.match(e.matchPattern);if(!i)return null;let s=i[0],l=r.match(e.parsePattern);if(!l)return null;let c=e.valueCallback?e.valueCallback(l[0]):l[0];c=a.valueCallback?a.valueCallback(c):c;let d=r.slice(s.length);return{value:c,rest:d}}}var kwt=/^(\d+)(th|st|nd|rd)?/i,Cwt=/\d+/i,Iwt={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},Rwt={any:[/^b/i,/^(a|c)/i]},Pwt={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},Twt={any:[/1/i,/2/i,/3/i,/4/i]},Awt={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},Ewt={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]},Dwt={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},Owt={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]},Nwt={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},Fwt={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}},Qde={ordinalNumber:Xde({matchPattern:kwt,parsePattern:Cwt,valueCallback:(e)=>parseInt(e,10)}),era:YR({matchPatterns:Iwt,defaultMatchWidth:"wide",parsePatterns:Rwt,defaultParseWidth:"any"}),quarter:YR({matchPatterns:Pwt,defaultMatchWidth:"wide",parsePatterns:Twt,defaultParseWidth:"any",valueCallback:(e)=>e+1}),month:YR({matchPatterns:Awt,defaultMatchWidth:"wide",parsePatterns:Ewt,defaultParseWidth:"any"}),day:YR({matchPatterns:Dwt,defaultMatchWidth:"wide",parsePatterns:Owt,defaultParseWidth:"any"}),dayPeriod:YR({matchPatterns:Nwt,defaultMatchWidth:"any",parsePatterns:Fwt,defaultParseWidth:"any"})};var cM={code:"en-US",formatDistance:Vde,formatLong:Wde,formatRelative:Gde,localize:Kde,match:Qde,options:{weekStartsOn:0,firstWeekContainsDate:1}};function Jde(e,r){let a=xe(e,r?.in);return E8(a,z3(a))+1}function qR(e,r){let a=xe(e,r?.in),i=+lM(a)-+Dde(a);return Math.round(i/v3)+1}function k3(e,r){let a=xe(e,r?.in),i=a.getFullYear(),s=vZ(),l=r?.firstWeekContainsDate??r?.locale?.options?.firstWeekContainsDate??s.firstWeekContainsDate??s.locale?.options?.firstWeekContainsDate??1,c=dt(r?.in||e,0);c.setFullYear(i+1,0,l),c.setHours(0,0,0,0);let d=Su(c,r),h=dt(r?.in||e,0);h.setFullYear(i,0,l),h.setHours(0,0,0,0);let g=Su(h,r);if(+a>=+d)return i+1;else if(+a>=+g)return i;else return i-1}function $de(e,r){let a=vZ(),i=r?.firstWeekContainsDate??r?.locale?.options?.firstWeekContainsDate??a.firstWeekContainsDate??a.locale?.options?.firstWeekContainsDate??1,s=k3(e,r),l=dt(r?.in||e,0);return l.setFullYear(s,0,i),l.setHours(0,0,0,0),Su(l,r)}function HR(e,r){let a=xe(e,r?.in),i=+Su(a,r)-+$de(a,r);return Math.round(i/v3)+1}function Vo(e,r){let a=e<0?"-":"",i=Math.abs(e).toString().padStart(r,"0");return a+i}var uM={y(e,r){let a=e.getFullYear(),i=a>0?a:1-a;return Vo(r==="yy"?i%100:i,r.length)},M(e,r){let a=e.getMonth();return r==="M"?String(a+1):Vo(a+1,2)},d(e,r){return Vo(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 Vo(e.getHours()%12||12,r.length)},H(e,r){return Vo(e.getHours(),r.length)},m(e,r){return Vo(e.getMinutes(),r.length)},s(e,r){return Vo(e.getSeconds(),r.length)},S(e,r){let a=r.length,i=e.getMilliseconds(),s=Math.trunc(i*Math.pow(10,a-3));return Vo(s,r.length)}};var VR={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},MV={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(),s=i>0?i:1-i;return a.ordinalNumber(s,{unit:"year"})}return uM.y(e,r)},Y:function(e,r,a,i){let s=k3(e,i),l=s>0?s:1-s;if(r==="YY"){let c=l%100;return Vo(c,2)}if(r==="Yo")return a.ordinalNumber(l,{unit:"year"});return Vo(l,r.length)},R:function(e,r){let a=y3(e);return Vo(a,r.length)},u:function(e,r){let a=e.getFullYear();return Vo(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 Vo(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 Vo(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 uM.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 Vo(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 s=HR(e,i);if(r==="wo")return a.ordinalNumber(s,{unit:"week"});return Vo(s,r.length)},I:function(e,r,a){let i=qR(e);if(r==="Io")return a.ordinalNumber(i,{unit:"week"});return Vo(i,r.length)},d:function(e,r,a){if(r==="do")return a.ordinalNumber(e.getDate(),{unit:"date"});return uM.d(e,r)},D:function(e,r,a){let i=Jde(e);if(r==="Do")return a.ordinalNumber(i,{unit:"dayOfYear"});return Vo(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 s=e.getDay(),l=(s-i.weekStartsOn+8)%7||7;switch(r){case"e":return String(l);case"ee":return Vo(l,2);case"eo":return a.ordinalNumber(l,{unit:"day"});case"eee":return a.day(s,{width:"abbreviated",context:"formatting"});case"eeeee":return a.day(s,{width:"narrow",context:"formatting"});case"eeeeee":return a.day(s,{width:"short",context:"formatting"});case"eeee":default:return a.day(s,{width:"wide",context:"formatting"})}},c:function(e,r,a,i){let s=e.getDay(),l=(s-i.weekStartsOn+8)%7||7;switch(r){case"c":return String(l);case"cc":return Vo(l,r.length);case"co":return a.ordinalNumber(l,{unit:"day"});case"ccc":return a.day(s,{width:"abbreviated",context:"standalone"});case"ccccc":return a.day(s,{width:"narrow",context:"standalone"});case"cccccc":return a.day(s,{width:"short",context:"standalone"});case"cccc":default:return a.day(s,{width:"wide",context:"standalone"})}},i:function(e,r,a){let i=e.getDay(),s=i===0?7:i;switch(r){case"i":return String(s);case"ii":return Vo(s,r.length);case"io":return a.ordinalNumber(s,{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 s=e.getHours()/12>=1?"pm":"am";switch(r){case"a":case"aa":return a.dayPeriod(s,{width:"abbreviated",context:"formatting"});case"aaa":return a.dayPeriod(s,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return a.dayPeriod(s,{width:"narrow",context:"formatting"});case"aaaa":default:return a.dayPeriod(s,{width:"wide",context:"formatting"})}},b:function(e,r,a){let i=e.getHours(),s;if(i===12)s=VR.noon;else if(i===0)s=VR.midnight;else s=i/12>=1?"pm":"am";switch(r){case"b":case"bb":return a.dayPeriod(s,{width:"abbreviated",context:"formatting"});case"bbb":return a.dayPeriod(s,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return a.dayPeriod(s,{width:"narrow",context:"formatting"});case"bbbb":default:return a.dayPeriod(s,{width:"wide",context:"formatting"})}},B:function(e,r,a){let i=e.getHours(),s;if(i>=17)s=VR.evening;else if(i>=12)s=VR.afternoon;else if(i>=4)s=VR.morning;else s=VR.night;switch(r){case"B":case"BB":case"BBB":return a.dayPeriod(s,{width:"abbreviated",context:"formatting"});case"BBBBB":return a.dayPeriod(s,{width:"narrow",context:"formatting"});case"BBBB":default:return a.dayPeriod(s,{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 uM.h(e,r)},H:function(e,r,a){if(r==="Ho")return a.ordinalNumber(e.getHours(),{unit:"hour"});return uM.H(e,r)},K:function(e,r,a){let i=e.getHours()%12;if(r==="Ko")return a.ordinalNumber(i,{unit:"hour"});return Vo(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 Vo(i,r.length)},m:function(e,r,a){if(r==="mo")return a.ordinalNumber(e.getMinutes(),{unit:"minute"});return uM.m(e,r)},s:function(e,r,a){if(r==="so")return a.ordinalNumber(e.getSeconds(),{unit:"second"});return uM.s(e,r)},S:function(e,r){return uM.S(e,r)},X:function(e,r,a){let i=e.getTimezoneOffset();if(i===0)return"Z";switch(r){case"X":return tZe(i);case"XXXX":case"XX":return _L(i);case"XXXXX":case"XXX":default:return _L(i,":")}},x:function(e,r,a){let i=e.getTimezoneOffset();switch(r){case"x":return tZe(i);case"xxxx":case"xx":return _L(i);case"xxxxx":case"xxx":default:return _L(i,":")}},O:function(e,r,a){let i=e.getTimezoneOffset();switch(r){case"O":case"OO":case"OOO":return"GMT"+eZe(i,":");case"OOOO":default:return"GMT"+_L(i,":")}},z:function(e,r,a){let i=e.getTimezoneOffset();switch(r){case"z":case"zz":case"zzz":return"GMT"+eZe(i,":");case"zzzz":default:return"GMT"+_L(i,":")}},t:function(e,r,a){let i=Math.trunc(+e/1000);return Vo(i,r.length)},T:function(e,r,a){return Vo(+e,r.length)}};function eZe(e,r=""){let a=e>0?"-":"+",i=Math.abs(e),s=Math.trunc(i/60),l=i%60;if(l===0)return a+String(s);return a+String(s)+r+Vo(l,2)}function tZe(e,r){if(e%60===0)return(e>0?"-":"+")+Vo(Math.abs(e)/60,2);return _L(e,r)}function _L(e,r=""){let a=e>0?"-":"+",i=Math.abs(e),s=Vo(Math.trunc(i/60),2),l=Vo(i%60,2);return a+s+r+l}var rZe=(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"})}},oZe=(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"})}},jwt=(e,r)=>{let a=e.match(/(P+)(p+)?/)||[],i=a[1],s=a[2];if(!s)return rZe(e,r);let l;switch(i){case"P":l=r.dateTime({width:"short"});break;case"PP":l=r.dateTime({width:"medium"});break;case"PPP":l=r.dateTime({width:"long"});break;case"PPPP":default:l=r.dateTime({width:"full"});break}return l.replace("{{date}}",rZe(i,r)).replace("{{time}}",oZe(s,r))},aZe={p:oZe,P:jwt};var Bwt=/^D+$/,Uwt=/^Y+$/,Ywt=["D","DD","YY","YYYY"];function nZe(e){return Bwt.test(e)}function iZe(e){return Uwt.test(e)}function fZe(e,r,a){let i=qwt(e,r,a);if(console.warn(i),Ywt.includes(e))throw RangeError(i)}function qwt(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 Hwt=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Vwt=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Wwt=/^'([^]*?)'?$/,Gwt=/''/g,Kwt=/[a-zA-Z]/;function Ar(e,r,a){let i=vZ(),s=a?.locale??i.locale??cM,l=a?.firstWeekContainsDate??a?.locale?.options?.firstWeekContainsDate??i.firstWeekContainsDate??i.locale?.options?.firstWeekContainsDate??1,c=a?.weekStartsOn??a?.locale?.options?.weekStartsOn??i.weekStartsOn??i.locale?.options?.weekStartsOn??0,d=xe(e,a?.in);if(!sa(d))throw RangeError("Invalid time value");let h=r.match(Vwt).map((x)=>{let v=x[0];if(v==="p"||v==="P"){let b=aZe[v];return b(x,s.formatLong)}return x}).join("").match(Hwt).map((x)=>{if(x==="''")return{isToken:!1,value:"'"};let v=x[0];if(v==="'")return{isToken:!1,value:Xwt(x)};if(MV[v])return{isToken:!0,value:x};if(v.match(Kwt))throw RangeError("Format string contains an unescaped latin alphabet character `"+v+"`");return{isToken:!1,value:x}});if(s.localize.preprocessor)h=s.localize.preprocessor(d,h);let g={firstWeekContainsDate:l,weekStartsOn:c,locale:s};return h.map((x)=>{if(!x.isToken)return x.value;let v=x.value;if(!a?.useAdditionalWeekYearTokens&&iZe(v)||!a?.useAdditionalDayOfYearTokens&&nZe(v))fZe(v,r,String(e));let b=MV[v[0]];return b(d,v,s.localize,g)}).join("")}function Xwt(e){let r=e.match(Wwt);if(!r)return e;return r[1].replace(Gwt,"'")}function sZe(e,r){let a=xe(e,r?.in),i=a.getFullYear(),s=a.getMonth(),l=dt(a,0);return l.setFullYear(i,s+1,0),l.setHours(0,0,0,0),l.getDate()}function tu(e,r){return xe(e,r?.in).getMonth()}function ru(e,r){return xe(e,r?.in).getFullYear()}function lZe(e,r){return+xe(e)>+xe(r)}function cZe(e,r){return+xe(e)<+xe(r)}function uZe(e,r,a){let[i,s]=ol(a?.in,e,r);return i.getFullYear()===s.getFullYear()&&i.getMonth()===s.getMonth()}function dZe(e,r,a){let[i,s]=ol(a?.in,e,r);return i.getFullYear()===s.getFullYear()}function lO(e,r){return BR(dt(r?.in||e,e),_3(r?.in||e))}function ZZe(e,r,a){return jR(e,-r,a)}function cO(e,r){return BR(dt(r?.in||e,e),ZZe(_3(r?.in||e),1))}function dM(e,r){let a=()=>dt(r?.in,NaN),i=r?.additionalDigits??2,s=e0t(e),l;if(s.date){let g=t0t(s.date,i);l=r0t(g.restDateString,g.year)}if(!l||isNaN(+l))return a();let c=+l,d=0,h;if(s.time){if(d=o0t(s.time),isNaN(d))return a()}if(s.timezone){if(h=a0t(s.timezone),isNaN(h))return a()}else{let g=new Date(c+d),x=xe(0,r?.in);return x.setFullYear(g.getUTCFullYear(),g.getUTCMonth(),g.getUTCDate()),x.setHours(g.getUTCHours(),g.getUTCMinutes(),g.getUTCSeconds(),g.getUTCMilliseconds()),x}return xe(c+d+h,r?.in)}var C3={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},Qwt=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,Jwt=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,$wt=/^([+-])(\d{2})(?::?(\d{2}))?$/;function e0t(e){let r={},a=e.split(C3.dateTimeDelimiter),i;if(a.length>2)return r;if(/:/.test(a[0]))i=a[0];else if(r.date=a[0],i=a[1],C3.timeZoneDelimiter.test(r.date))r.date=e.split(C3.timeZoneDelimiter)[0],i=e.substr(r.date.length,e.length);if(i){let s=C3.timezone.exec(i);if(s)r.time=i.replace(s[1],""),r.timezone=s[1];else r.time=i}return r}function t0t(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 s=i[1]?parseInt(i[1]):null,l=i[2]?parseInt(i[2]):null;return{year:l===null?s:l*100,restDateString:e.slice((i[1]||i[2]).length)}}function r0t(e,r){if(r===null)return new Date(NaN);let a=e.match(Qwt);if(!a)return new Date(NaN);let i=!!a[4],s=uO(a[1]),l=uO(a[2])-1,c=uO(a[3]),d=uO(a[4]),h=uO(a[5])-1;if(i){if(!l0t(r,d,h))return new Date(NaN);return n0t(r,d,h)}else{let g=new Date(0);if(!f0t(r,l,c)||!s0t(r,s))return new Date(NaN);return g.setUTCFullYear(r,l,Math.max(s,c)),g}}function uO(e){return e?parseInt(e):1}function o0t(e){let r=e.match(Jwt);if(!r)return NaN;let a=xV(r[1]),i=xV(r[2]),s=xV(r[3]);if(!c0t(a,i,s))return NaN;return a*fO+i*pV+s*1000}function xV(e){return e&&parseFloat(e.replace(",","."))||0}function a0t(e){if(e==="Z")return 0;let r=e.match($wt);if(!r)return 0;let a=r[1]==="+"?-1:1,i=parseInt(r[2]),s=r[3]&&parseInt(r[3])||0;if(!u0t(i,s))return NaN;return a*(i*fO+s*pV)}function n0t(e,r,a){let i=new Date(0);i.setUTCFullYear(e,0,4);let s=i.getUTCDay()||7,l=(r-1)*7+a+1-s;return i.setUTCDate(i.getUTCDate()+l),i}var i0t=[31,null,31,30,31,30,31,31,30,31,30,31];function pZe(e){return e%400===0||e%4===0&&e%100!==0}function f0t(e,r,a){return r>=0&&r<=11&&a>=1&&a<=(i0t[r]||(pZe(e)?29:28))}function s0t(e,r){return r>=1&&r<=(pZe(e)?366:365)}function l0t(e,r,a){return r>=1&&r<=53&&a>=0&&a<=6}function c0t(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 u0t(e,r){return r>=0&&r<=59}function mZe(e,r,a){let i=xe(e,a?.in),s=i.getFullYear(),l=i.getDate(),c=dt(a?.in||e,0);c.setFullYear(s,r,15),c.setHours(0,0,0,0);let d=sZe(c);return i.setMonth(r,Math.min(l,d)),i}function hZe(e,r,a){let i=xe(e,a?.in);if(isNaN(+i))return dt(a?.in||e,NaN);return i.setFullYear(r),i}function I3(e){let r=Object.values(e).filter((i)=>typeof i==="number");return Object.entries(e).filter(([i,s])=>r.indexOf(+i)===-1).map(([i,s])=>s)}function yV(e,r="|"){return e.map((a)=>wV(a)).join(r)}function ZO(e,r){if(typeof r==="bigint")return r.toString();return r}function pO(e){return{get value(){{let a=e();return Object.defineProperty(this,"value",{value:a}),a}throw Error("cached value already set")}}}function MZe(e){return e===null||e===void 0}function R3(e){let r=e.startsWith("^")?1:0,a=e.endsWith("$")?e.length-1:e.length;return e.slice(r,a)}function xZe(e,r){let a=e/r,i=Math.round(a),s=4*Number.EPSILON*Math.max(Math.abs(a),1);if(Math.abs(a-i)<s)return 0;return a-i}var gZe=Symbol("evaluating");function vZe(e,r,a){let i=void 0;Object.defineProperty(e,r,{get(){if(i===gZe)return;if(i===void 0)i=gZe,i=a();return i},set(s){Object.defineProperty(e,r,{value:s})},configurable:!0})}function Bi(e,r,a){Object.defineProperty(e,r,{value:a,writable:!0,enumerable:!0,configurable:!0})}function O8(...e){let r={};for(let a of e){let i=Object.getOwnPropertyDescriptors(a);Object.assign(r,i)}return Object.defineProperties({},r)}function yZe(e){return JSON.stringify(e)}function _Ze(e){return e.toLowerCase().trim().replace(/[^\w\s-]/g,"").replace(/[\s_-]+/g,"-").replace(/^-+|-+$/g,"")}var _V="captureStackTrace"in Error?Error.captureStackTrace:(...e)=>{};function WR(e){return typeof e==="object"&&e!==null&&!Array.isArray(e)}var bZe=pO(()=>{if(al.jitless)return!1;if(typeof navigator<"u"&&navigator?.userAgent?.includes("Cloudflare"))return!1;try{return new Function(""),!0}catch(e){return!1}});function wL(e){if(WR(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(WR(a)===!1)return!1;if(Object.prototype.hasOwnProperty.call(a,"isPrototypeOf")===!1)return!1;return!0}function bV(e){if(wL(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 wZe=new Set(["string","number","symbol"]);function N8(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 xr(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 wV(e){if(typeof e==="bigint")return e.toString()+"n";if(typeof e==="string")return`"${e}"`;return`${e}`}function zZe(e){return Object.keys(e).filter((r)=>e[r]._zod.optin!==void 0&&e[r]._zod.optout==="optional")}var SZe=(()=>({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 d0t(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 l=O8(e._zod.def,{get shape(){let c={};for(let d of Reflect.ownKeys(r)){if(!Object.prototype.hasOwnProperty.call(a.shape,d))throw Error(`Unrecognized key: "${String(d)}"`);if(!r[d])continue;Bi(c,d,a.shape[d])}return Bi(this,"shape",c),c},checks:[]});return yZ(e,l)}function Z0t(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 l=O8(e._zod.def,{get shape(){let c={...e._zod.def.shape};for(let d of Reflect.ownKeys(r)){if(!Object.prototype.hasOwnProperty.call(a.shape,d))throw Error(`Unrecognized key: "${String(d)}"`);if(!r[d])continue;delete c[d]}return Bi(this,"shape",c),c},checks:[]});return yZ(e,l)}function p0t(e,r){if(!wL(r))throw Error("Invalid input to extend: expected a plain object");let a=e._zod.def.checks;if(a&&a.length>0){let l=e._zod.def.shape;for(let c of Reflect.ownKeys(r))if(Object.getOwnPropertyDescriptor(l,c)!==void 0)throw Error("Cannot overwrite keys on object schemas containing refinements. Use `.safeExtend()` instead.")}let s=O8(e._zod.def,{get shape(){let l={...e._zod.def.shape,...r};return Bi(this,"shape",l),l}});return yZ(e,s)}function m0t(e,r){if(!wL(r))throw Error("Invalid input to safeExtend: expected a plain object");let a=O8(e._zod.def,{get shape(){let i={...e._zod.def.shape,...r};return Bi(this,"shape",i),i}});return yZ(e,a)}function h0t(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=O8(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 LZe(e,r,a,i="partial"){let l=r._zod.def.checks;if(l&&l.length>0)throw Error(`.${i}() cannot be used on object schemas containing refinements`);let d=O8(r._zod.def,{get shape(){let h=r._zod.def.shape,g={...h};if(a)for(let x of Reflect.ownKeys(a)){if(!Object.prototype.hasOwnProperty.call(h,x))throw Error(`Unrecognized key: "${String(x)}"`);if(!a[x])continue;g[x]=e?new e({type:"optional",innerType:h[x]}):h[x]}else for(let x of Reflect.ownKeys(h))g[x]=e?new e({type:"optional",innerType:h[x]}):h[x];return Bi(this,"shape",g),g},checks:[]});return yZ(r,d)}function g0t(e,r,a){let i=O8(r._zod.def,{get shape(){let s=r._zod.def.shape,l={...s};if(a)for(let c of Reflect.ownKeys(a)){if(!Object.prototype.hasOwnProperty.call(l,c))throw Error(`Unrecognized key: "${String(c)}"`);if(!a[c])continue;l[c]=new e({type:"nonoptional",innerType:s[c]})}else for(let c of Reflect.ownKeys(s))l[c]=new e({type:"nonoptional",innerType:s[c]});return Bi(this,"shape",l),l}});return yZ(r,i)}function zL(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 kZe(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 F8(e,r){return r.map((a)=>{var i;return(i=a).path??(i.path=[]),a.path.unshift(e),a})}function dO(e){return typeof e==="string"?e:e?.message}function zV(e,r,a){var i;for(let s=r;s<e.length;s++)(i=e[s]).schema??(i.schema=a)}function _Z(e,r,a){var i;let s=e.inst?._zod?.traits;if(s?.has("$ZodType"))if(s.has("$ZodCheck"))(i=e).schema??(i.schema=e.inst);else e.schema=e.inst;let l=e.schema!==e.inst?e.schema?._zod.def?.error:void 0,c=e.message?e.message:dO(e.inst?._zod.def?.error?.(e))??dO(l?.(e))??dO(r?.error?.(e))??dO(a.customError?.(e))??dO(a.localeError?.(e))??"Invalid input",{inst:d,schema:h,continue:g,input:x,...v}=e;if(v.path??(v.path=[]),v.message=c,r?.reportInput)v.input=x;return v}var M0t=/[\uD800-\uDBFF]/;function P3(e){let r=e.length;if(!M0t.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 T3(e){if(Array.isArray(e))return"array";if(typeof e==="string")return"string";return"unknown"}function CZe(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 SL(...e){let[r,a,i]=e;if(typeof r==="string")return{message:r,code:"custom",input:a,inst:i};return{...r}}function IZe(e,r){for(let a in r){let i=Object.getOwnPropertyDescriptor(r,a);if(i.get)Object.defineProperty(e,a,{...i,enumerable:!1});else x0t(e,a,i.value)}}function bL(e,r,a,i=!0){return Object.defineProperty(e,r,{configurable:!0,writable:!0,enumerable:i,value:a}),a}function SV(e,r,a){return bL(e,r,a,!1)}function x0t(e,r,a){Object.defineProperty(e,r,{configurable:!0,get(){return this==null?a:bL(this,r,a.bind(this))},set(i){bL(this,r,i)}})}function v0t(e,r){let a=Object.getPrototypeOf(e);return r in a?void 0:a}var vV,D8=!1,y0t={configurable:!0,get(){D8=!0;return}};function Do(e,r,a){let i=Object.getPrototypeOf(e._zod);if(r in i&&vV!==e._zod){vV=void 0;return}vV=e._zod,Object.defineProperty(i,r,{configurable:!0,get(){Object.defineProperty(this,r,y0t);let s=D8;D8=!1;try{let l=a(this);if(D8)delete this[r];else Object.defineProperty(this,r,{configurable:!0,writable:!0,value:l});return D8=D8||s,l}catch(l){throw delete this[r],D8=D8||s,l}},set(s){Object.defineProperty(this,r,{configurable:!0,writable:!0,value:s})}})}function _0t(e,r,a,i){let s=v0t(e,r);if(!s)return;Object.defineProperty(s,r,{configurable:!0,get(){let l={configurable:!0,writable:!0,enumerable:i,value:void 0};return Object.defineProperty(this,r,l),l.value=a(this),Object.defineProperty(this,r,l),l.value},set(l){Object.defineProperty(this,r,{configurable:!0,writable:!0,enumerable:i,value:l})}})}var b0t="~constantCatch";function RZe(e){let r=()=>e;return r[b0t]=!0,r}var PZe;var LV={value:void 0,enumerable:!1},TZe="captureStackTrace"in Error?Error:null;function w0t(e){let r=TZe;if(r){let a=r.stackTraceLimit;if(typeof a==="number"){try{r.stackTraceLimit=0}catch{return TZe=null,new e}try{return new e}finally{r.stackTraceLimit=a}}}return new e}function It(e,r,a,i){let s={};function l(b){this.def=b,this.constr=v,this.traits=new Set}l.prototype=s;let c=a,d=c&&new WeakSet;function h(b,y){if(!b._zod){LV.value=new l(y);try{Object.defineProperty(b,"_zod",LV)}finally{LV.value=void 0}}if(b._zod.traits.has(e))return;if(b._zod.traits.add(e),r(b,y),d){let T=Object.getPrototypeOf(b),U=b._zod.constr.prototype,N=T;while(N&&N!==U)N=Object.getPrototypeOf(N);let j=N??T;if(!d.has(j))d.add(j),IZe(j,c)}let k=v.prototype;for(let T in k){if(!Object.prototype.hasOwnProperty.call(k,T))continue;if(!(T in b))b[T]=k[T].bind(b)}}let g=i?.Parent??Object;class x extends g{}Object.defineProperty(x,"name",{value:e});function v(b){let y=i?.Parent?w0t(x):this;h(y,b);let k=y._zod.deferred;if(k){for(let U of k)U();y._zod.deferred=void 0}let T=globalThis.__zod_globalConfig?.postProcessor;if(T)T(y);return y}return Object.defineProperty(v,"init",{value:h}),Object.defineProperty(v,Symbol.hasInstance,{value:(b)=>{if(i?.Parent&&b instanceof i.Parent)return!0;return b?._zod?.traits?.has(e)}}),Object.defineProperty(v,"name",{value:e}),v}class ZM extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}}class mO extends Error{constructor(e){super(`Encountered unidirectional transform during encode: ${e}`);this.name="ZodEncodeError"}}(PZe=globalThis).__zod_globalConfig??(PZe.__zod_globalConfig={});var al=globalThis.__zod_globalConfig;function ec(e){if(e)Object.assign(al,e);return al}function z0t(){let e=this._zod;return e.message??(e.message=JSON.stringify(e.def,ZO,2)),e.message}function S0t(e){this._zod.message=e}var L0t={get:z0t,set:S0t,enumerable:!0,configurable:!0},CV={value:void 0,enumerable:!1},IV={value:void 0,enumerable:!1},AZe=new WeakSet([Object.prototype,Error.prototype]),EZe=(e,r)=>{e.name="$ZodError",CV.value=e._zod,Object.defineProperty(e,"_zod",CV),IV.value=r,Object.defineProperty(e,"issues",IV),CV.value=void 0,IV.value=void 0,Object.defineProperty(e,"message",L0t);let a=Object.getPrototypeOf(e);if(!AZe.has(a))AZe.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})}})},A3=It("$ZodError",EZe),RV=It("$ZodError",EZe,void 0,{Parent:Error});function k0t(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 DZe(e,r=(a)=>a.message){let a={},i=[];for(let s of e.issues)if(s.path.length>0)k0t(a,s.path[0],()=>[]).push(r(s));else i.push(r(s));return{formErrors:i,fieldErrors:a}}function OZe(e,r=(a)=>a.message){let a={_errors:[]},i=(s,l=[])=>{for(let c of s.issues)if(c.code==="invalid_union"&&c.errors.length)c.errors.map((d)=>i({issues:d},[...l,...c.path]));else if(c.code==="invalid_key")i({issues:c.issues},[...l,...c.path]);else if(c.code==="invalid_element")i({issues:c.issues},[...l,...c.path]);else{let d=[...l,...c.path];if(d.length===0)a._errors.push(r(c));else{let h=a,g=0;while(g<d.length){let x=d[g],v=g===d.length-1;if(x==="_errors"){if(v)h._errors.push(r(c));g++;continue}if(!Object.prototype.hasOwnProperty.call(h,x))Object.defineProperty(h,x,{value:{_errors:[]},enumerable:!0,writable:!0,configurable:!0});let b=h[x];if(v)b._errors.push(r(c));h=b,g++}}}};return i(e),a}function E3(e,r){return{callee:r?.callee??e,Err:r?.Err}}var D3=(e)=>{let r=(a,i,s,l)=>{let c=s?{...s,async:!1}:{async:!1},d=a._zod.run({value:i,issues:[]},c);if(d instanceof Promise)throw new ZM;if(d.issues.length){let h=new(l?.Err??e)(d.issues.map((g)=>_Z(g,c,ec())));throw _V(h,l?.callee??r),h}return d.value};return r};var O3=(e)=>{let r=async(a,i,s,l)=>{let c=s?{...s,async:!0}:{async:!0},d=a._zod.run({value:i,issues:[]},c);if(d instanceof Promise)d=await d;if(d.issues.length){let h=new(l?.Err??e)(d.issues.map((g)=>_Z(g,c,ec())));throw _V(h,l?.callee??r),h}return d.value};return r};var hO=(e)=>(r,a,i)=>{let s=i?{...i,async:!1}:{async:!1},l=r._zod.run({value:a,issues:[]},s);if(l instanceof Promise)throw new ZM;return l.issues.length?{success:!1,error:new(e??A3)(l.issues.map((c)=>_Z(c,s,ec())))}:{success:!0,data:l.value}},NZe=hO(RV),gO=(e)=>async(r,a,i)=>{let s=i?{...i,async:!0}:{async:!0},l=r._zod.run({value:a,issues:[]},s);if(l instanceof Promise)l=await l;return l.issues.length?{success:!1,error:new e(l.issues.map((c)=>_Z(c,s,ec())))}:{success:!0,data:l.value}},FZe=gO(RV);var jZe=(e)=>{let r=D3(e),a=(i,s,l,c)=>{let d=l?{...l,direction:"backward"}:{direction:"backward"};return r(i,s,d,E3(a,c))};return a};var BZe=(e)=>{let r=D3(e),a=(i,s,l,c)=>r(i,s,l,E3(a,c));return a};var UZe=(e)=>{let r=O3(e),a=async(i,s,l,c)=>{let d=l?{...l,direction:"backward"}:{direction:"backward"};return await r(i,s,d,E3(a,c))};return a};var YZe=(e)=>{let r=O3(e),a=async(i,s,l,c)=>await r(i,s,l,E3(a,c));return a};var qZe=(e)=>(r,a,i)=>{let s=i?{...i,direction:"backward"}:{direction:"backward"};return hO(e)(r,a,s)};var HZe=(e)=>(r,a,i)=>hO(e)(r,a,i);var VZe=(e)=>async(r,a,i)=>{let s=i?{...i,direction:"backward"}:{direction:"backward"};return gO(e)(r,a,s)};var WZe=(e)=>async(r,a,i)=>gO(e)(r,a,i);var GZe=/^[cC][0-9a-z]{6,}$/,KZe=/^[0-9a-z]+$/,XZe=/^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/,QZe=/^[0-9a-vA-V]{20}$/,JZe=/^[A-Za-z0-9]{27}$/,$Ze=/^[a-zA-Z0-9_-]{21}$/;function epe(e){return new RegExp(`^[a-zA-Z0-9_-]{${e}}$`)}var tpe=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/;var rpe=/^([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})$/,TV=(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 ope=/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/;var I0t="^[\\p{Extended_Pictographic}\\p{Emoji_Component}]+$";function ape(){return new RegExp(I0t,"u")}var npe=/^(?:(?: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])$/,ipe=/^(([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 fpe=/^((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])$/,spe=/^(([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])$/,lpe=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,AV=/^[A-Za-z0-9_-]*$/;var cpe=/^https?$/,upe=/^\+[1-9]\d{6,14}$/;var dpe="(?:(?:\\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 R0t(e){return new RegExp(`^${e}$`)}var Zpe=R0t(dpe);function PV(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 ppe(e){return new RegExp(`^${PV(e)}$`)}function mpe(e){let r=["Z"];if(e.offset)r.push("([+-](?:[01]\\d|2[0-3]):[0-5]\\d)");let a=`${PV({precision:e.precision,seconds:!0})}(?:${r.join("|")})`,i=e.local?`${a}|${PV({precision:e.precision})}`:a;return new RegExp(`^${dpe}T(?:${i})$`)}var hpe=(e)=>{let r=e?`[\\s\\S]{${e?.minimum??0},${e?.maximum??""}}`:"[\\s\\S]*";return new RegExp(`^${r}$`)},gpe=/^-?\d+n?$/,N3=/^-?\d+$/,MO=/^-?\d+(?:\.\d+)?$/,Mpe=/^(?:true|false)$/i;var xpe=/^[^A-Z]*$/,vpe=/^[^a-z]*$/;var df=It("$ZodCheck",(e,r)=>{var a;e._zod??(e._zod={}),e._zod.def=r,(a=e._zod).onattach??(a.onattach=[])});var EV=(e)=>{let r=e.value;return!MZe(r)&&r.length!==void 0},F3={number:"number",bigint:"bigint",object:"date"},DV=It("$ZodCheckLessThan",(e,r)=>{df.init(e,r);let a=F3[typeof r.value];e._zod.onattach.push((i)=>{let s=i._zod.bag,l=(r.inclusive?s.maximum:s.exclusiveMaximum)??Number.POSITIVE_INFINITY;if(r.value<l)if(r.inclusive)s.maximum=r.value;else s.exclusiveMaximum=r.value}),e._zod.check=(i)=>{if(r.inclusive?i.value<=r.value:i.value<r.value)return;i.issues.push({origin:F3[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})}}),OV=It("$ZodCheckGreaterThan",(e,r)=>{df.init(e,r);let a=F3[typeof r.value];e._zod.onattach.push((i)=>{let s=i._zod.bag,l=(r.inclusive?s.minimum:s.exclusiveMinimum)??Number.NEGATIVE_INFINITY;if(r.value>l)if(r.inclusive)s.minimum=r.value;else s.exclusiveMinimum=r.value}),e._zod.check=(i)=>{if(r.inclusive?i.value>=r.value:i.value>r.value)return;i.issues.push({origin:F3[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})}}),ype=It("$ZodCheckMultipleOf",(e,r)=>{df.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):xZe(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})}}),_pe=It("$ZodCheckNumberFormat",(e,r)=>{df.init(e,r),r.format=r.format||"float64";let a=r.format?.includes("int"),i=a?"int":"number",[s,l]=SZe[r.format];e._zod.onattach.push((c)=>{let d=c._zod.bag;if(d.format=r.format,d.minimum=s,d.maximum=l,a)d.pattern=N3}),e._zod.check=(c)=>{let d=c.value;if(a){if(!Number.isInteger(d)){c.issues.push({expected:i,format:r.format,code:"invalid_type",continue:!1,input:d,inst:e});return}if(!Number.isSafeInteger(d)){if(d>0)c.issues.push({input:d,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 c.issues.push({input:d,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(d<s)c.issues.push({origin:"number",input:d,code:"too_small",minimum:s,inclusive:!0,inst:e,continue:!r.abort});if(d>l)c.issues.push({origin:"number",input:d,code:"too_big",maximum:l,inclusive:!0,inst:e,continue:!r.abort})}});var bpe=It("$ZodCheckMaxLength",(e,r)=>{var a;df.init(e,r),(a=e._zod.def).when??(a.when=EV),e._zod.onattach.push((i)=>{let s=i._zod.bag.maximum??Number.POSITIVE_INFINITY;if(r.maximum<s)i._zod.bag.maximum=r.maximum}),e._zod.check=(i)=>{let s=i.value,l=s.length;if((typeof s==="string"&&l>r.maximum?P3(s):l)<=r.maximum)return;let d=T3(s);i.issues.push({origin:d,code:"too_big",maximum:r.maximum,inclusive:!0,input:s,inst:e,continue:!r.abort})}}),wpe=It("$ZodCheckMinLength",(e,r)=>{var a;df.init(e,r),(a=e._zod.def).when??(a.when=EV),e._zod.onattach.push((i)=>{let s=i._zod.bag.minimum??Number.NEGATIVE_INFINITY;if(r.minimum>s)i._zod.bag.minimum=r.minimum}),e._zod.check=(i)=>{let s=i.value,l=s.length;if((typeof s==="string"&&l>=r.minimum&&l<r.minimum*2?P3(s):l)>=r.minimum)return;let d=T3(s);i.issues.push({origin:d,code:"too_small",minimum:r.minimum,inclusive:!0,input:s,inst:e,continue:!r.abort})}}),zpe=It("$ZodCheckLengthEquals",(e,r)=>{var a;df.init(e,r),(a=e._zod.def).when??(a.when=EV),e._zod.onattach.push((i)=>{let s=i._zod.bag;s.minimum=r.length,s.maximum=r.length,s.length=r.length}),e._zod.check=(i)=>{let s=i.value,l=s.length,c=typeof s==="string"&&l>=r.length&&l<=r.length*2?P3(s):l;if(c===r.length)return;let d=T3(s),h=c>r.length;i.issues.push({origin:d,...h?{code:"too_big",maximum:r.length}:{code:"too_small",minimum:r.length},inclusive:!0,exact:!0,input:i.value,inst:e,continue:!r.abort})}}),vO=It("$ZodCheckStringFormat",(e,r)=>{var a,i;if(df.init(e,r),e._zod.onattach.push((s)=>{let l=s._zod.bag;if(l.format=r.format,r.pattern)l.patterns??(l.patterns=new Set),l.patterns.add(r.pattern)}),r.pattern)(a=e._zod).check??(a.check=(s)=>{if(r.pattern.lastIndex=0,r.pattern.test(s.value))return;s.issues.push({origin:"string",code:"invalid_format",format:r.format,input:s.value,...r.pattern?{pattern:r.pattern.toString()}:{},inst:e,continue:!r.abort})});else(i=e._zod).check??(i.check=()=>{})}),Spe=It("$ZodCheckRegex",(e,r)=>{vO.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})}}),Lpe=It("$ZodCheckLowerCase",(e,r)=>{r.pattern??(r.pattern=xpe),vO.init(e,r)}),kpe=It("$ZodCheckUpperCase",(e,r)=>{r.pattern??(r.pattern=vpe),vO.init(e,r)}),Cpe=It("$ZodCheckIncludes",(e,r)=>{df.init(e,r);let a=N8(r.includes),i=new RegExp(typeof r.position==="number"?`^.{${r.position},}${a}`:a);r.pattern=i,e._zod.onattach.push((s)=>{let l=s._zod.bag;l.patterns??(l.patterns=new Set),l.patterns.add(i)}),e._zod.check=(s)=>{if(s.value.includes(r.includes,r.position))return;s.issues.push({origin:"string",code:"invalid_format",format:"includes",includes:r.includes,input:s.value,inst:e,continue:!r.abort})}}),Ipe=It("$ZodCheckStartsWith",(e,r)=>{df.init(e,r);let a=new RegExp(`^${N8(r.prefix)}.*`);r.pattern??(r.pattern=a),e._zod.onattach.push((i)=>{let s=i._zod.bag;s.patterns??(s.patterns=new Set),s.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})}}),Rpe=It("$ZodCheckEndsWith",(e,r)=>{df.init(e,r);let a=new RegExp(`.*${N8(r.suffix)}$`);r.pattern??(r.pattern=a),e._zod.onattach.push((i)=>{let s=i._zod.bag;s.patterns??(s.patterns=new Set),s.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 Ppe=It("$ZodCheckOverwrite",(e,r)=>{df.init(e,r),e._zod.check=(a)=>{a.value=r.tx(a.value)}});class NV{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((l)=>l),i=Math.min(...a.map((l)=>l.length-l.trimStart().length)),s=a.map((l)=>l.slice(i)).map((l)=>" ".repeat(this.indent*2)+l);for(let l of s)this.content.push(l)}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 Ape={major:4,minor:5,patch:4};var Sa=It("$ZodType",(e,r)=>{var a;e??(e={}),e._zod.def=r,e._zod.bag=e._zod.bag||{},e._zod.version=Ape;let i=e._zod.def.checks,s=e._zod.traits.has("$ZodCheck")?[e,...i??[]]:i?.length?[...i]:[];for(let l of s)for(let c of l._zod.onattach)c(e);if(s.length===0)(a=e._zod).deferred??(a.deferred=[]),e._zod.deferred?.push(()=>{e._zod.run=e._zod.parse});else{let l=(d,h,g)=>{if(d.memo)return d;let x=zL(d),v;for(let b of h){if(b._zod.def.when){if(kZe(d))continue;if(!b._zod.def.when(d))continue}else if(x)continue;let y=d.issues.length,k=b._zod.check(d);if(k instanceof Promise&&g?.async===!1)throw new ZM;if(v||k instanceof Promise)v=(v??Promise.resolve()).then(async()=>{if(await k,d.issues.length===y)return;if(zV(d.issues,y,e),!x)x=zL(d,y)});else{if(d.issues.length===y)continue;if(zV(d.issues,y,e),!x)x=zL(d,y)}}if(v)return v.then(()=>d);return d},c=(d,h,g)=>{if(zL(d))return d.aborted=!0,d;let x=l(h,s,g);if(x instanceof Promise){if(g.async===!1)throw new ZM;return x.then((v)=>e._zod.parse(v,g))}return e._zod.parse(x,g)};e._zod.run=(d,h)=>{if(h.skipChecks)return e._zod.parse(d,h);if(h.direction==="backward"){let x=e._zod.parse({value:d.value,issues:[]},{...h,skipChecks:!0});if(x instanceof Promise)return x.then((v)=>c(v,d,h));return c(x,d,h)}let g=e._zod.parse(d,h);if(g instanceof Promise){if(h.async===!1)throw new ZM;return g.then((x)=>l(x,s,h))}return l(g,s,h)}}},{get "~standard"(){return SV(this,"~standard",BV(this))},set "~standard"(e){bL(this,"~standard",e)}}),Epe=(e)=>e.success?{value:e.data}:{issues:e.error?.issues};function BV(e){return{validate:(r)=>{try{return Epe(NZe(e,r))}catch(a){return FZe(e,r).then(Epe)}},vendor:"zod",version:1}}var U3=It("$ZodString",(e,r)=>{Sa.init(e,r),e._zod.pattern=[...e?._zod.bag?.patterns??[]].pop()??hpe(e._zod.bag),e._zod.parse=(a,i)=>{if(r.coerce)try{a.value=String(a.value)}catch(s){}if(typeof a.value==="string")return a;return a.issues.push({expected:"string",code:"invalid_type",input:a.value,inst:e}),a}}),mn=It("$ZodStringFormat",(e,r)=>{vO.init(e,r),U3.init(e,r)}),Hpe=It("$ZodGUID",(e,r)=>{r.pattern??(r.pattern=rpe),mn.init(e,r)}),Vpe=It("$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=TV(i))}else r.pattern??(r.pattern=TV());mn.init(e,r)}),Wpe=It("$ZodEmail",(e,r)=>{r.pattern??(r.pattern=ope),mn.init(e,r)}),Gpe=1,Kpe=2;function P0t(e,r){if(!r.normalize&&r.protocol?.source===cpe.source&&!/^https?:\/\//i.test(e))return Gpe;try{return new URL(e)}catch{return Kpe}}var T0t=/[\t\n\r]/g;function A0t(e){return e.replace(T0t,"")}function E0t(e,r){return r.lastIndex=0,r.test(e.hostname)}function D0t(e,r){return r.lastIndex=0,r.test(e.protocol.endsWith(":")?e.protocol.slice(0,-1):e.protocol)}var Xpe=It("$ZodURL",(e,r)=>{mn.init(e,r),e._zod.check=(a)=>{try{let i=a.value.trim(),s=P0t(i,r);if(s===Gpe){a.issues.push({code:"invalid_format",format:"url",note:"Invalid URL format",input:a.value,inst:e,continue:!r.abort});return}if(s===Kpe){a.issues.push({code:"invalid_format",format:"url",input:a.value,inst:e,continue:!r.abort});return}if(r.hostname&&!E0t(s,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&&!D0t(s,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?s.href:A0t(i);return}catch(i){a.issues.push({code:"invalid_format",format:"url",input:a.value,inst:e,continue:!r.abort})}}}),Qpe=It("$ZodEmoji",(e,r)=>{r.pattern??(r.pattern=ape()),mn.init(e,r)}),Jpe=It("$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?$Ze:epe(r.length)),mn.init(e,r)}),$pe=It("$ZodCUID",(e,r)=>{r.pattern??(r.pattern=GZe),mn.init(e,r)}),eme=It("$ZodCUID2",(e,r)=>{r.pattern??(r.pattern=KZe),mn.init(e,r)}),tme=It("$ZodULID",(e,r)=>{r.pattern??(r.pattern=XZe),mn.init(e,r)}),rme=It("$ZodXID",(e,r)=>{r.pattern??(r.pattern=QZe),mn.init(e,r)}),ome=It("$ZodKSUID",(e,r)=>{r.pattern??(r.pattern=JZe),mn.init(e,r)}),ame=It("$ZodISODateTime",(e,r)=>{if(r.pattern??(r.pattern=mpe(r)),mn.init(e,r),r.local||r.precision===-1)e._zod.bag.laxFormat=!0,e._zod.onattach.push((a)=>{a._zod.bag.laxFormat=!0})}),nme=It("$ZodISODate",(e,r)=>{r.pattern??(r.pattern=Zpe),mn.init(e,r)}),ime=It("$ZodISOTime",(e,r)=>{r.pattern??(r.pattern=ppe(r)),mn.init(e,r)}),fme=It("$ZodISODuration",(e,r)=>{r.pattern??(r.pattern=tpe),mn.init(e,r)}),sme=It("$ZodIPv4",(e,r)=>{r.pattern??(r.pattern=npe),mn.init(e,r),e._zod.bag.format="ipv4"}),O0t=/^[0-9a-fA-F:.]+$/;function lme(e){if(!O0t.test(e))return!1;try{return new URL(`http://[${e}]`),!0}catch{return!1}}var cme=It("$ZodIPv6",(e,r)=>{r.pattern??(r.pattern=ipe),mn.init(e,r),e._zod.bag.format="ipv6",e._zod.check=(a)=>{if(!lme(a.value))a.issues.push({code:"invalid_format",format:"ipv6",input:a.value,inst:e,continue:!r.abort})}});var ume=It("$ZodCIDRv4",(e,r)=>{r.pattern??(r.pattern=fpe),mn.init(e,r)});function N0t(e){let r=e.split("/");if(r.length!==2)return!1;let[a,i]=r;if(!i)return!1;let s=Number(i);if(`${s}`!==i)return!1;if(s<0||s>128)return!1;return lme(a)}var dme=It("$ZodCIDRv6",(e,r)=>{r.pattern??(r.pattern=spe),mn.init(e,r),e._zod.check=(a)=>{if(!N0t(a.value))a.issues.push({code:"invalid_format",format:"cidrv6",input:a.value,inst:e,continue:!r.abort})}});function Zme(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 pme=It("$ZodBase64",(e,r)=>{r.pattern??(r.pattern=lpe),mn.init(e,r),e._zod.bag.contentEncoding="base64",e._zod.check=(a)=>{if(Zme(a.value))return;a.issues.push({code:"invalid_format",format:"base64",input:a.value,inst:e,continue:!r.abort})}});function F0t(e){if(!AV.test(e))return!1;let r=e.replace(/[-_]/g,(i)=>i==="-"?"+":"/"),a=r.padEnd(Math.ceil(r.length/4)*4,"=");return Zme(a)}var mme=It("$ZodBase64URL",(e,r)=>{r.pattern??(r.pattern=AV),mn.init(e,r),e._zod.bag.contentEncoding="base64url",e._zod.check=(a)=>{if(F0t(a.value))return;a.issues.push({code:"invalid_format",format:"base64url",input:a.value,inst:e,continue:!r.abort})}}),hme=It("$ZodE164",(e,r)=>{r.pattern??(r.pattern=upe),mn.init(e,r)});function j0t(e,r=null){try{let a=e.split(".");if(a.length!==3)return!1;let[i]=a;if(!i)return!1;let s=JSON.parse(atob(i));if("typ"in s&&s?.typ!=="JWT")return!1;if(!s.alg)return!1;if(r&&(!("alg"in s)||s.alg!==r))return!1;return!0}catch{return!1}}var gme=It("$ZodJWT",(e,r)=>{mn.init(e,r),e._zod.check=(a)=>{if(j0t(a.value,r.alg))return;a.issues.push({code:"invalid_format",format:"jwt",input:a.value,inst:e,continue:!r.abort})}});var UV=It("$ZodNumber",(e,r)=>{Sa.init(e,r),e._zod.pattern=e._zod.bag.pattern??MO,e._zod.parse=(a,i)=>{if(r.coerce)try{a.value=Number(a.value)}catch(c){}let s=a.value;if(typeof s==="number"&&!Number.isNaN(s)&&Number.isFinite(s))return a;let l=typeof s==="number"?Number.isNaN(s)?"NaN":!Number.isFinite(s)?String(s):void 0:void 0;return a.issues.push({expected:"number",code:"invalid_type",input:s,inst:e,...l?{received:l}:{}}),a}}),Mme=It("$ZodNumberFormat",(e,r)=>{_pe.init(e,r),UV.init(e,r)}),xme=It("$ZodBoolean",(e,r)=>{Sa.init(e,r),e._zod.pattern=Mpe,e._zod.parse=(a,i)=>{if(r.coerce)try{a.value=Boolean(a.value)}catch(l){}let s=a.value;if(typeof s==="boolean")return a;return a.issues.push({expected:"boolean",code:"invalid_type",input:s,inst:e}),a}}),vme=It("$ZodBigInt",(e,r)=>{Sa.init(e,r),e._zod.pattern=gpe,e._zod.parse=(a,i)=>{if(r.coerce)try{a.value=BigInt(a.value)}catch(s){}if(typeof a.value==="bigint")return a;return a.issues.push({expected:"bigint",code:"invalid_type",input:a.value,inst:e}),a}});var yme=It("$ZodAny",(e,r)=>{Sa.init(e,r),e._zod.parse=(a)=>a}),_me=It("$ZodUnknown",(e,r)=>{Sa.init(e,r),e._zod.parse=(a)=>a}),bme=It("$ZodNever",(e,r)=>{Sa.init(e,r),e._zod.parse=(a,i)=>(a.issues.push({expected:"never",code:"invalid_type",input:a.value,inst:e}),a)});var wme=It("$ZodDate",(e,r)=>{Sa.init(e,r),e._zod.parse=(a,i)=>{if(r.coerce)try{a.value=new Date(a.value)}catch(d){}let s=a.value,l=s instanceof Date;if(l&&!Number.isNaN(s.getTime()))return a;return a.issues.push({expected:"date",code:"invalid_type",input:s,...l?{received:"Invalid Date"}:{},inst:e}),a}});function Dpe(e,r,a){if(e.issues.length)r.issues.push(...F8(a,e.issues));r.value[a]=e.value}var zme=It("$ZodArray",(e,r)=>{Sa.init(e,r);let a=al.memoizer;a?.attach(e),e._zod.parse=(i,s)=>{let l=i.value;if(!Array.isArray(l))return i.issues.push({expected:"array",code:"invalid_type",input:l,inst:e}),i;i.value=a?a.alloc(e,i,Array(l.length),s):Array(l.length);let c=[];for(let d=0;d<l.length;d++){let h=l[d],g=r.element._zod.run({value:h,issues:[]},s);if(g instanceof Promise)c.push(g.then((x)=>Dpe(x,i,d)));else Dpe(g,i,d)}if(c.length)return Promise.all(c).then(()=>i);return i}});function B3(e,r,a,i,s,l){let c=a in i,d=l==="optional";if(!c&&d&&s==="optional")return;if(e.issues.length){if(s!==void 0&&d&&!c)return;r.issues.push(...F8(a,e.issues))}if(!c&&s===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(c)r.value[a]=void 0}else r.value[a]=e.value}var B0t=[];function Sme(e){let r=Object.keys(e.shape),a=Object.getOwnPropertySymbols(e.shape),i=a.length?a:B0t,s=i.length?[...r,...i]:r;for(let c of s)if(!e.shape?.[c]?._zod?.traits?.has("$ZodType"))throw Error(`Invalid element at key "${String(c)}": expected a Zod schema`);let l=zZe(e.shape);return{...e,allKeys:s,symbolKeys:i,keySet:new Set(r),numKeys:r.length,optionalKeys:new Set(l)}}function Lme(e,r,a,i,s,l){let c=[],d=s.keySet,h=s.catchall._zod,g=h.def.type,{optin:x,optout:v}=h;for(let b in r){if(d.has(b))continue;if(b==="__proto__"){if(g==="never")c.push(b);continue}if(g==="never"){c.push(b);continue}let y=h.run({value:r[b],issues:[]},i);if(y instanceof Promise)e.push(y.then((k)=>B3(k,a,b,r,x,v)));else B3(y,a,b,r,x,v)}if(c.length)a.issues.push({code:"unrecognized_keys",keys:c,input:r,inst:l,continue:!0});if(!e.length)return a;return Promise.all(e).then(()=>a)}var FV=new WeakMap,U0t=It("$ZodObject",(e,r)=>{if(Sa.init(e,r),!Object.getOwnPropertyDescriptor(r,"shape")?.get){let h=r.shape;FV.set(r,h),Object.defineProperty(r,"shape",{get:()=>{let g={...h};return Object.defineProperty(r,"shape",{value:g}),FV.set(r,g),g}})}let i=pO(()=>Sme(r));Do(e,"propValues",(h)=>{let g=h.def.shape,x={};for(let v in g){let b=g[v]._zod;if(b.values){if(!Object.prototype.hasOwnProperty.call(x,v))Bi(x,v,new Set);for(let y of b.values)x[v].add(y);if(b.optin!==void 0)x[v].add(void 0)}}return x});let s=WR,l=r.catchall,c,d=al.memoizer;d?.attach(e),e._zod.parse=(h,g)=>{c??(c=i.value);let x=h.value;if(!s(x))return h.issues.push({expected:"object",code:"invalid_type",input:x,inst:e}),h;h.value=d?d.alloc(e,h,{},g):{};let v=[],b=c.shape;for(let y of c.allKeys){if(y==="__proto__")continue;let k=b[y],T=k._zod.optin,U=k._zod.optout,N=k._zod.run({value:x[y],issues:[]},g);if(N instanceof Promise)v.push(N.then((j)=>B3(j,h,y,x,T,U)));else B3(N,h,y,x,T,U)}if(!l)return v.length?Promise.all(v).then(()=>h):h;return Lme(v,x,h,g,i.value,e)}}),kme=It("$ZodObjectJIT",(e,r)=>{U0t.init(e,r);let a=e._zod.parse,i=pO(()=>Sme(r)),s=al.memoizer,l=(y)=>{let k=i.value,T=k.symbolKeys,U=new NV(["payload","ctx"],{shape:y,inst:e,memo:s,syms:T}),N=(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
- }`;U.write("const input = payload.value;");let G=Object.create(null),X=0;for(let J of k.allKeys)G[J]=`key_${X++}`;U.write(s?"const newResult = memo.alloc(inst, payload, {}, ctx);":"const newResult = {};");for(let J of k.allKeys){if(J==="__proto__")continue;let ee=G[J],re=typeof J==="symbol"?`syms[${T.indexOf(J)}]`:yZe(J),oe=`${re} in input`,fe=y[J],be=fe?._zod?.optin,We=be!==void 0,Ye=fe?._zod?.optout==="optional";if(U.write(`const ${ee} = ${N(re)};`),We&&Ye){let Se=be==="optional"?`${ee}_present`:`${ee}.value !== undefined || ${ee}_present`;U.write(`
154
- const ${ee}_present = ${oe};
155
- if (!${ee}.issues.length || ${ee}_present) {
156
- if (${ee}.issues.length) {${j(ee,re)}
157
- }
158
-
159
- if (${Se}) {
160
- newResult[${re}] = ${ee}.value;
161
- }
162
- }
163
-
164
- `)}else if(!We)U.write(`
165
- const ${ee}_present = ${oe};
166
- if (${ee}.issues.length) {${j(ee,re)}
167
- }
168
- if (!${ee}_present && !${ee}.issues.length) {
169
- payload.issues.push({
170
- code: "invalid_type",
171
- expected: "nonoptional",
172
- input: undefined,
173
- path: [${re}]
174
- });
175
- }
176
-
177
- if (${ee}_present) {
178
- newResult[${re}] = ${ee}.value;
179
- }
180
-
181
- `);else U.write(`
182
- if (${ee}.issues.length) {${j(ee,re)}
183
- }
184
-
185
- if (${ee}.value === undefined) {
186
- if (${oe}) {
187
- newResult[${re}] = undefined;
188
- }
189
- } else {
190
- newResult[${re}] = ${ee}.value;
191
- }
192
-
193
- `)}return U.write("payload.value = newResult;"),U.write("return payload;"),U.compile()},c,d=WR,h=!al.jitless,x=h&&bZe.value,v=r.catchall,b;e._zod.parse=(y,k)=>{b??(b=i.value);let T=y.value;if(!d(T))return y.issues.push({expected:"object",code:"invalid_type",input:T,inst:e}),y;if(h&&x&&k?.async===!1&&k.jitless!==!0){if(!c)c=l(r.shape);if(y=c(y,k),!v)return y;return Lme([],T,y,k,b,e)}return a(y,k)}});function Ope(e,r,a,i){for(let l of e)if(l.issues.length===0)return r.value=l.value,r;let s=e.filter((l)=>!zL(l));if(s.length===1)return r.value=s[0].value,s[0];return r.issues.push({code:"invalid_union",input:r.value,inst:a,errors:e.map((l)=>l.issues.map((c)=>_Z(c,i,ec())))}),r}var YV=It("$ZodUnion",(e,r)=>{Sa.init(e,r),Do(e,"optin",(i)=>i.def.options.some((s)=>s._zod.optin==="defaulted")?"defaulted":i.def.options.some((s)=>s._zod.optin!==void 0)?"optional":void 0),Do(e,"optout",(i)=>i.def.options.some((s)=>s._zod.optout==="optional")?"optional":void 0),Do(e,"values",(i)=>{if(i.def.options.every((s)=>s._zod.values))return new Set(i.def.options.flatMap((s)=>Array.from(s._zod.values)));return}),Do(e,"pattern",(i)=>{if(i.def.options.every((s)=>s._zod.pattern)){let s=i.def.options.map((l)=>l._zod.pattern);return new RegExp(`^(${s.map((l)=>R3(l.source)).join("|")})$`)}return});let a=r.options.length===1?r.options[0]._zod.run:null;e._zod.parse=(i,s)=>{if(a)return a(i,s);let l=!1,c=[];for(let d of r.options){let h=d._zod.run({value:i.value,issues:[]},s);if(h instanceof Promise)c.push(h),l=!0;else{if(h.issues.length===0)return h;c.push(h)}}if(!l)return Ope(c,i,e,s);return Promise.all(c).then((d)=>Ope(d,i,e,s))}});var Cme=It("$ZodDiscriminatedUnion",(e,r)=>{r.inclusive=!1,YV.init(e,r);let a=e._zod.parse;Do(e,"propValues",(s)=>{let l={};for(let c of s.def.options){let d=c._zod.propValues;if(!d||Object.keys(d).length===0)throw Error(`Invalid discriminated union option at index "${s.def.options.indexOf(c)}"`);for(let[h,g]of Object.entries(d)){if(!Object.prototype.hasOwnProperty.call(l,h))Bi(l,h,new Set);for(let x of g)l[h].add(x)}}return l}),r.options.forEach((s,l)=>{let c=FV.get(s._zod.def);if(c&&!Object.prototype.hasOwnProperty.call(c,r.discriminator))throw Error(`Invalid discriminated union option at index "${l}"`)});let i=pO(()=>{let s=r.options,l=new Map;for(let c of s){let d=c._zod.propValues?.[r.discriminator];if(!d||d.size===0)throw Error(`Invalid discriminated union option at index "${r.options.indexOf(c)}"`);for(let h of d){if(l.has(h))throw Error(`Duplicate discriminator value "${String(h)}"`);l.set(h,c)}}return l});e._zod.parse=(s,l)=>{let c=s.value;if(!WR(c))return s.issues.push({code:"invalid_type",expected:"object",input:c,inst:e}),s;let d=i.value.get(c?.[r.discriminator]);if(d)return d._zod.run(s,l);if(r.unionFallback||l.direction==="backward")return a(s,l);return s.issues.push({code:"invalid_union",errors:[],note:"No matching discriminator",discriminator:r.discriminator,options:Array.from(i.value.keys()),input:c,path:[r.discriminator],inst:e}),s}}),Ime=It("$ZodIntersection",(e,r)=>{Sa.init(e,r),e._zod.parse=(a,i)=>{let s=a.value,l=r.left._zod.run({value:s,issues:[]},i),c=r.right._zod.run({value:s,issues:[]},i);if(l instanceof Promise||c instanceof Promise)return Promise.all([l,c]).then(([h,g])=>Npe(a,h,g));return Npe(a,l,c)}});function jV(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(wL(e)&&wL(r)){let a=Object.keys(r),i=Object.keys(e).filter((l)=>a.indexOf(l)!==-1),s={...e,...r};if(Object.prototype.hasOwnProperty.call(s,"__proto__"))delete s.__proto__;for(let l of i){if(l==="__proto__")continue;let c=jV(e[l],r[l]);if(!c.valid)return{valid:!1,mergeErrorPath:[l,...c.mergeErrorPath]};s[l]=c.data}return{valid:!0,data:s}}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 s=e[i],l=r[i],c=jV(s,l);if(!c.valid)return{valid:!1,mergeErrorPath:[i,...c.mergeErrorPath]};a.push(c.data)}return{valid:!0,data:a}}return{valid:!1,mergeErrorPath:[]}}function Npe(e,r,a){let i=new Map,s,l=new Map,c=(g,x)=>{let v;if(g.code==="unrecognized_keys"&&!g.path?.length)s??(s=g),v=g.keys;else if(g.code==="invalid_key"&&g.origin==="record"&&g.path?.length===1){let b=String(g.path[0]);if(!l.has(b))l.set(b,g);v=[b]}else return!1;for(let b of v){if(!i.has(b))i.set(b,{});i.get(b)[x]=!0}return!0};for(let g of r.issues)if(!c(g,"l"))e.issues.push(g);for(let g of a.issues)if(!c(g,"r"))e.issues.push(g);let d=[...i].filter(([,g])=>g.l&&g.r).map(([g])=>g);if(d.length){let g=s?d.filter((x)=>s.keys.includes(x)):[];if(g.length)e.issues.push({...s,keys:g});for(let x of d)if(!g.includes(x)&&l.has(x))e.issues.push(l.get(x))}let h=jV(r.value,a.value);if(!h.valid){if(zL(e))return e;throw Error(`Unmergable intersection. Error path: ${JSON.stringify(h.mergeErrorPath)}`)}return e.value=h.data,e}var Rme=It("$ZodRecord",(e,r)=>{Sa.init(e,r);let a=al.memoizer;a?.attach(e),e._zod.parse=(i,s)=>{let l=i.value;if(!wL(l))return i.issues.push({expected:"record",code:"invalid_type",input:l,inst:e}),i;let c=[],d=r.keyType._zod.values;if(d&&!r.partial){i.value=a?a.alloc(e,i,{},s):{};let h=new Set;for(let x of d)if(typeof x==="string"||typeof x==="number"||typeof x==="symbol"){if(h.add(typeof x==="number"?x.toString():x),x==="__proto__")continue;let v=r.keyType._zod.run({value:x,issues:[]},s);if(v instanceof Promise)throw Error("Async schemas not supported in object keys currently");if(v.issues.length){i.issues.push({code:"invalid_key",origin:"record",issues:v.issues.map((k)=>_Z(k,s,ec())),input:x,path:[x],inst:e});continue}let b=v.value;if(b==="__proto__")continue;let y=r.valueType._zod.run({value:l[x],issues:[]},s);if(y instanceof Promise)c.push(y.then((k)=>{if(k.issues.length)i.issues.push(...F8(x,k.issues));i.value[b]=k.value}));else{if(y.issues.length)i.issues.push(...F8(x,y.issues));i.value[b]=y.value}}let g;for(let x in l)if(!h.has(x))if(r.mode==="loose"){if(x==="__proto__")continue;i.value[x]=l[x]}else g=g??[],g.push(x);if(g&&g.length>0)i.issues.push({code:"unrecognized_keys",input:l,inst:e,keys:g,continue:!0})}else{i.value=a?a.alloc(e,i,{},s):{};let h;for(let g of Reflect.ownKeys(l)){if(g==="__proto__")continue;if(!Object.prototype.propertyIsEnumerable.call(l,g))continue;let x=r.keyType._zod.run({value:g,issues:[]},s);if(x instanceof Promise)throw Error("Async schemas not supported in object keys currently");if(typeof g==="string"&&MO.test(g)&&x.issues.length){let k=r.keyType._zod.run({value:Number(g),issues:[]},s);if(k instanceof Promise)throw Error("Async schemas not supported in object keys currently");if(k.issues.length===0)x=k}if(x.issues.length){if(r.mode==="loose")i.value[g]=l[g];else if(d)h=h??[],h.push(g);else i.issues.push({code:"invalid_key",origin:"record",issues:x.issues.map((k)=>_Z(k,s,ec())),input:g,path:[g],inst:e});continue}let b=x.value;if(b==="__proto__")continue;let y=r.valueType._zod.run({value:l[g],issues:[]},s);if(y instanceof Promise)c.push(y.then((k)=>{if(k.issues.length)i.issues.push(...F8(g,k.issues));i.value[b]=k.value}));else{if(y.issues.length)i.issues.push(...F8(g,y.issues));i.value[b]=y.value}}if(h&&h.length>0)i.issues.push({code:"unrecognized_keys",input:l,inst:e,keys:h,continue:!0})}if(c.length)return Promise.all(c).then(()=>i);return i}});var Pme=It("$ZodEnum",(e,r)=>{Sa.init(e,r);let a=I3(r.entries),i=new Set(a);e._zod.values=i;let s=a.filter((l)=>wZe.has(typeof l));e._zod.pattern=new RegExp(s.length?`^(${s.map((l)=>N8(l.toString())).join("|")})$`:"^[^\\s\\S]$"),e._zod.parse=(l,c)=>{let d=l.value;if(i.has(d))return l;return l.issues.push({code:"invalid_value",values:a,input:d,inst:e}),l}}),Tme=It("$ZodLiteral",(e,r)=>{Sa.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"?N8(i):i?N8(i.toString()):String(i)).join("|")})$`:"^[^\\s\\S]$"),e._zod.parse=(i,s)=>{let l=i.value;if(a.has(l))return i;return i.issues.push({code:"invalid_value",values:r.values,input:l,inst:e}),i}});var Ame=It("$ZodTransform",(e,r)=>{Sa.init(e,r),e._zod.optin="optional",al.memoizer?.guard(e),e._zod.parse=(a,i)=>{if(i.direction==="backward")throw new mO(e.constructor.name);let s=r.transform(a.value,a);if(i.async)return(s instanceof Promise?s:Promise.resolve(s)).then((c)=>(a.value=c,a));if(s instanceof Promise)throw new ZM;return a.value=s,a}});function Fpe(e,r){return e.value=r.issues.length?void 0:r.value,e}var qV=It("$ZodOptional",(e,r)=>{Sa.init(e,r),Do(e,"optin",(a)=>a.def.innerType._zod.optin==="defaulted"?"defaulted":"optional"),e._zod.optout="optional",Do(e,"values",(a)=>{let i=a.def.innerType._zod.values;return i?new Set([...i,void 0]):void 0}),Do(e,"pattern",(a)=>{let i=a.def.innerType._zod.pattern;return i?new RegExp(`^(${R3(i.source)})?$`):void 0}),e._zod.parse=(a,i)=>{if(a.value===void 0){if(r.innerType._zod.optin!=="defaulted")return a;let s=r.innerType._zod.run({value:a.value,issues:[]},i);if(s instanceof Promise)return s.then((l)=>Fpe(a,l));return Fpe(a,s)}return r.innerType._zod.run(a,i)}}),Eme=It("$ZodExactOptional",(e,r)=>{qV.init(e,r),Do(e,"values",(a)=>a.def.innerType._zod.values),Do(e,"pattern",(a)=>a.def.innerType._zod.pattern),e._zod.parse=(a,i)=>r.innerType._zod.run(a,i)}),Dme=It("$ZodNullable",(e,r)=>{Sa.init(e,r),Do(e,"optin",(a)=>a.def.innerType._zod.optin),Do(e,"optout",(a)=>a.def.innerType._zod.optout),Do(e,"pattern",(a)=>{let i=a.def.innerType._zod.pattern;return i?new RegExp(`^(${R3(i.source)}|null)$`):void 0}),Do(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)}}),Ome=It("$ZodDefault",(e,r)=>{Sa.init(e,r),e._zod.optin="defaulted",Do(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 s=r.innerType._zod.run(a,i);if(s instanceof Promise)return s.then((l)=>jpe(l,r));return jpe(s,r)}});function jpe(e,r){if(e.value===void 0)e.value=r.defaultValue;return e}var Nme=It("$ZodPrefault",(e,r)=>{Sa.init(e,r),e._zod.optin="defaulted",Do(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)}}),Fme=It("$ZodNonOptional",(e,r)=>{Sa.init(e,r),Do(e,"values",(a)=>{let i=a.def.innerType._zod.values;return i?new Set([...i].filter((s)=>s!==void 0)):void 0}),e._zod.parse=(a,i)=>{let s=r.innerType._zod.run(a,i);if(s instanceof Promise)return s.then((l)=>Bpe(l,e));return Bpe(s,e)}});function Bpe(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 Upe(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((s)=>_Z(s,i,ec()))},input:e.value}),e}var jme=It("$ZodCatch",(e,r)=>{Sa.init(e,r),Do(e,"optin",(a)=>a.def.innerType._zod.optin==="defaulted"?"defaulted":"optional"),Do(e,"optout",(a)=>a.def.innerType._zod.optout),Do(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 s=r.innerType._zod.run({value:a.value,issues:[]},i);if(s instanceof Promise)return s.then((l)=>Upe(a,l,r,i));return Upe(a,s,r,i)}});var Bme=It("$ZodPipe",(e,r)=>{Sa.init(e,r),Do(e,"values",(a)=>a.def.in._zod.values),Do(e,"optin",(a)=>a.def.in._zod.optin),Do(e,"optout",(a)=>a.def.out._zod.optout),Do(e,"propValues",(a)=>a.def.in._zod.propValues),e._zod.parse=(a,i)=>{if(i.direction==="backward"){let l=r.out._zod.run(a,i);if(l instanceof Promise)return l.then((c)=>j3(c,r.in,i));return j3(l,r.in,i)}let s=r.in._zod.run(a,i);if(s instanceof Promise)return s.then((l)=>j3(l,r.out,i));return j3(s,r.out,i)}});function j3(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 Ume=It("$ZodReadonly",(e,r)=>{Sa.init(e,r),Do(e,"propValues",(a)=>a.def.innerType._zod.propValues),Do(e,"values",(a)=>a.def.innerType._zod.values),Do(e,"optin",(a)=>a.def.innerType?._zod?.optin),Do(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 s=r.innerType._zod.run(a,i);if(s instanceof Promise)return s.then(Ype);return Ype(s)}});function Ype(e){if(!e.memo)e.value=Object.freeze(e.value);return e}var Yme=It("$ZodLazy",(e,r)=>{Sa.init(e,r),vZe(e._zod,"innerType",()=>{let a=r;if(!a._cachedInner)a._cachedInner=r.getter();return a._cachedInner}),Do(e,"pattern",(a)=>a.innerType?._zod?.pattern),Do(e,"propValues",(a)=>a.innerType?._zod?.propValues),Do(e,"optin",(a)=>a.innerType?._zod?.optin??void 0),Do(e,"optout",(a)=>a.innerType?._zod?.optout??void 0),e._zod.parse=(a,i)=>e._zod.innerType._zod.run(a,i)}),qme=It("$ZodCustom",(e,r)=>{df.init(e,r),Sa.init(e,r),e._zod.parse=(a,i)=>a,e._zod.check=(a)=>{let i=a.value,s=r.fn(i);if(s instanceof Promise)return s.then((l)=>qpe(l,a,i,e));qpe(s,a,i,e);return}});function qpe(e,r,a,i){if(!e){let s={code:"custom",input:a,inst:i,path:[...i._zod.def.path??[]],continue:!i._zod.def.abort};if(i._zod.def.params)s.params=i._zod.def.params;r.issues.push(SL(s))}}class Wme extends Error{constructor(){super("Cannot parse a reference cycle that closes through a transform");this.name="ZodCyclicError"}}var VV="~memo",Hme=[];function HV(e){return e.map((r)=>r.path?{...r,path:r.path.slice()}:{...r})}var Vme=new WeakMap;function Gme(e,r){let a=Vme.get(e);if(a!==void 0)return a;if(r.has(e))return!0;r.add(e);let i=!1,s=(d)=>{if(!i&&d?._zod&&Gme(d,r))i=!0},l=e._zod.def,c=l.type;switch(c){case"object":{for(let d of Reflect.ownKeys(l.shape))s(l.shape[d]);s(l.catchall);break}case"array":s(l.element);break;case"tuple":for(let d of l.items)s(d);s(l.rest);break;case"record":case"map":s(l.keyType),s(l.valueType);break;case"set":s(l.valueType);break;case"union":for(let d of l.options)s(d);break;case"intersection":s(l.left),s(l.right);break;case"optional":case"nullable":case"default":case"prefault":case"catch":case"readonly":case"nonoptional":case"promise":case"success":s(l.innerType);break;case"pipe":s(l.in),s(l.out);break;case"function":s(l.input),s(l.output);break;case"lazy":s(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 d in l){let h=Object.getOwnPropertyDescriptor(l,d);if(!h||h.get)continue;let g=h.value;if(!g||typeof g!=="object")continue;if(g._zod)s(g);else if(Array.isArray(g))for(let x of g)s(x)}}return r.delete(e),Vme.set(e,i),i}function Y0t(e,r){let a=e.buckets.get(r);if(!a)a=new Map,e.buckets.set(r,a);return a}var Y3,q3=[],q0t={alloc(e,r,a){let i=Y3;if(!i)return a;Y3=void 0;let s={value:a,issues:null};return i.set(r.value,s),q3.push(s),a},guard(e){var r;(r=e._zod).deferred??(r.deferred=[]),e._zod.deferred.push(()=>{let a=e._zod.parse,i=(s,l)=>{if(l.direction!=="backward"&&H0t(l,s.value))throw new Wme;return a(s,l)};if(e._zod.parse=i,e._zod.run===a)e._zod.run=i})},attach(e){var r;let a,i,s;(r=e._zod).deferred??(r.deferred=[]),e._zod.deferred.push(()=>{let l=e._zod.parse,c=(d,h)=>{if(a===void 0){if(a=Gme(e,new Set),!a){if(e._zod.parse=l,e._zod.run===c)e._zod.run=l;return l(d,h)}}let g=d.value;if(g===null||typeof g!=="object")return l(d,h);let x=h[VV];if(!x)x={buckets:new Map,backEdges:void 0},h[VV]=x;let v;if(i===h)v=s;else v=Y0t(x,e),i=h,s=v;let b=v.get(g);if(b){if(d.value=b.value,b.issues){if(b.issues.length)d.issues.push(...HV(b.issues))}else d.memo=!0,x.backEdges??(x.backEdges=new Set),x.backEdges.add(b.value);return d}Y3=v;let y=q3.length,k=l(d,h);Y3=void 0;let T=q3.length>y?q3.pop():void 0;if(k instanceof Promise)return k.then((U)=>{if(T)T.issues=U.issues.length?HV(U.issues):Hme;return U});if(T)T.issues=k.issues.length?HV(k.issues):Hme;return k};if(e._zod.parse=c,e._zod.run===l)e._zod.run=c})}};function Kme(){return q0t}function H0t(e,r){let a=e[VV]?.backEdges;return a!==void 0&&r!==null&&typeof r==="object"&&a.has(r)}var V0t=()=>{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(l){return e[l]??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 s(l,c){if(l==="number"&&typeof c==="number"&&!Number.isFinite(c))return String(c);return i[l]??l}return(l)=>{switch(l.code){case"invalid_type":{let c=s(l.expected),d=CZe(l.input),h=s(d,l.input);return`Invalid input: expected ${c}, received ${h}`}case"invalid_value":if(l.values.length===1)return`Invalid input: expected ${wV(l.values[0])}`;return`Invalid option: expected one of ${yV(l.values,"|")}`;case"too_big":{let c=l.exact?"exactly ":l.inclusive?"<=":"<",d=r(l.origin);if(d)return`Too big: expected ${l.origin??"value"} to have ${c}${l.maximum.toString()} ${d.unit??"elements"}`;return`Too big: expected ${l.origin??"value"} to be ${c}${l.maximum.toString()}`}case"too_small":{let c=l.exact?"exactly ":l.inclusive?">=":">",d=r(l.origin);if(d)return`Too small: expected ${l.origin} to have ${c}${l.minimum.toString()} ${d.unit}`;return`Too small: expected ${l.origin} to be ${c}${l.minimum.toString()}`}case"invalid_format":{let c=l;if(c.format==="starts_with")return`Invalid string: must start with "${c.prefix}"`;if(c.format==="ends_with")return`Invalid string: must end with "${c.suffix}"`;if(c.format==="includes")return`Invalid string: must include "${c.includes}"`;if(c.format==="regex")return`Invalid string: must match pattern ${c.pattern}`;return`Invalid ${a[c.format]??l.format}`}case"not_multiple_of":return`Invalid number: must be a multiple of ${l.divisor}`;case"unrecognized_keys":return`Unrecognized key${l.keys.length>1?"s":""}: ${yV(l.keys,", ")}`;case"invalid_key":return`Invalid key in ${l.origin}`;case"invalid_union":if(l.options&&Array.isArray(l.options)&&l.options.length>0)return`Invalid discriminator value. Expected ${l.options.map((d)=>`'${d}'`).join(" | ")}`;if(l.inclusive===!1)return"Invalid input: more than one option matched";return"Invalid input";case"invalid_element":return`Invalid value in ${l.origin}`;default:return"Invalid input"}}};function WV(){return{localeError:V0t()}}var Xme;class Qme{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 W0t(){return new Qme}(Xme=globalThis).__zod_globalRegistry??(Xme.__zod_globalRegistry=W0t());var LL=globalThis.__zod_globalRegistry;function Jme(e,r){return new e({type:"string",...xr(r)})}function $me(e,r){return new e({type:"string",coerce:!0,...xr(r)})}function ehe(e,r){return new e({type:"string",format:"email",check:"string_format",abort:!1,...xr(r)})}function the(e,r){return new e({type:"string",format:"guid",check:"string_format",abort:!1,...xr(r)})}function rhe(e,r){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,...xr(r)})}function ohe(e,r){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",...xr(r)})}function ahe(e,r){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6",...xr(r)})}function nhe(e,r){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7",...xr(r)})}function ihe(e,r){return new e({type:"string",format:"url",check:"string_format",abort:!1,...xr(r)})}function fhe(e,r){return new e({type:"string",format:"emoji",check:"string_format",abort:!1,...xr(r)})}function she(e,r){return new e({type:"string",format:"nanoid",check:"string_format",abort:!1,...xr(r)})}function lhe(e,r){return new e({type:"string",format:"cuid",check:"string_format",abort:!1,...xr(r)})}function che(e,r){return new e({type:"string",format:"cuid2",check:"string_format",abort:!1,...xr(r)})}function uhe(e,r){return new e({type:"string",format:"ulid",check:"string_format",abort:!1,...xr(r)})}function dhe(e,r){return new e({type:"string",format:"xid",check:"string_format",abort:!1,...xr(r)})}function Zhe(e,r){return new e({type:"string",format:"ksuid",check:"string_format",abort:!1,...xr(r)})}function phe(e,r){return new e({type:"string",format:"ipv4",check:"string_format",abort:!1,...xr(r)})}function mhe(e,r){return new e({type:"string",format:"ipv6",check:"string_format",abort:!1,...xr(r)})}function hhe(e,r){return new e({type:"string",format:"cidrv4",check:"string_format",abort:!1,...xr(r)})}function ghe(e,r){return new e({type:"string",format:"cidrv6",check:"string_format",abort:!1,...xr(r)})}function Mhe(e,r){return new e({type:"string",format:"base64",check:"string_format",abort:!1,...xr(r)})}function xhe(e,r){return new e({type:"string",format:"base64url",check:"string_format",abort:!1,...xr(r)})}function vhe(e,r){return new e({type:"string",format:"e164",check:"string_format",abort:!1,...xr(r)})}function yhe(e,r){return new e({type:"string",format:"jwt",check:"string_format",abort:!1,...xr(r)})}function _he(e,r){return new e({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,...xr(r)})}function bhe(e,r){return new e({type:"string",format:"date",check:"string_format",...xr(r)})}function whe(e,r){return new e({type:"string",format:"time",check:"string_format",precision:null,...xr(r)})}function zhe(e,r){return new e({type:"string",format:"duration",check:"string_format",...xr(r)})}function She(e,r){return new e({type:"number",checks:[],...xr(r)})}function Lhe(e,r){return new e({type:"number",coerce:!0,checks:[],...xr(r)})}function khe(e,r){return new e({type:"number",check:"number_format",abort:!1,format:"safeint",...xr(r)})}function Che(e,r){return new e({type:"boolean",...xr(r)})}function Ihe(e,r){return new e({type:"boolean",coerce:!0,...xr(r)})}function Rhe(e,r){return new e({type:"bigint",coerce:!0,...xr(r)})}function Phe(e){return new e({type:"any"})}function The(e){return new e({type:"unknown"})}function Ahe(e,r){return new e({type:"never",...xr(r)})}function Ehe(e,r){return new e({type:"date",...xr(r)})}function Dhe(e,r){return new e({type:"date",coerce:!0,...xr(r)})}function GR(e,r){return new DV({check:"less_than",...xr(r),value:e,inclusive:!1})}function pM(e,r){return new DV({check:"less_than",...xr(r),value:e,inclusive:!0})}function KR(e,r){return new OV({check:"greater_than",...xr(r),value:e,inclusive:!1})}function mM(e,r){return new OV({check:"greater_than",...xr(r),value:e,inclusive:!0})}function yO(e,r){return new ype({check:"multiple_of",...xr(r),value:e})}function H3(e,r){return new bpe({check:"max_length",...xr(r),maximum:e})}function XR(e,r){return new wpe({check:"min_length",...xr(r),minimum:e})}function V3(e,r){return new zpe({check:"length_equals",...xr(r),length:e})}function GV(e,r){return new Spe({check:"string_format",format:"regex",...xr(r),pattern:e})}function KV(e){return new Lpe({check:"string_format",format:"lowercase",...xr(e)})}function XV(e){return new kpe({check:"string_format",format:"uppercase",...xr(e)})}function QV(e,r){return new Cpe({check:"string_format",format:"includes",...xr(r),includes:e})}function JV(e,r){return new Ipe({check:"string_format",format:"starts_with",...xr(r),prefix:e})}function $V(e,r){return new Rpe({check:"string_format",format:"ends_with",...xr(r),suffix:e})}function j8(e){return new Ppe({check:"overwrite",tx:e})}function eW(e){return j8((r)=>r.normalize(e))}function tW(){return j8((e)=>e.trim())}function rW(){return j8((e)=>e.toLowerCase())}function oW(){return j8((e)=>e.toUpperCase())}function aW(){return j8((e)=>_Ze(e))}function Ohe(e,r,a){return new e({type:"array",element:r,...xr(a)})}function Nhe(e,r,a){return new e({type:"custom",check:"custom",fn:r,...xr(a)})}function Fhe(e,r){let a=G0t((i)=>(i.addIssue=(s)=>{if(typeof s==="string")i.issues.push(SL(s,i.value,a._zod.def));else{let l=s;if(l.fatal)l.continue=!1;if(l.code??(l.code="custom"),!("input"in l))l.input=i.value;l.inst??(l.inst=a),l.continue??(l.continue=!a._zod.def.abort),i.issues.push(SL(l))}},e(i.value,i)),r);return a}function G0t(e,r){let a=new df({check:"custom",...xr(r)});return a._zod.check=e,a}function _O(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 iW(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??LL,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 Lu(e,r,a,i,s){let l=typeof r.unrepresentable==="function"?r.unrepresentable({zodSchema:e,path:i.path,message:s}):r.unrepresentable;if(l==="any")return!1;if(l===void 0||l==="throw")throw Error(s);return Object.assign(a,l),!0}function Dn(e,r,a={path:[],schemaPath:[]}){var i;let s=e._zod.def,l=r.seen.get(e);if(l){if(l.count++,a.schemaPath.includes(e))l.cycle=a.path;return l.schema}let c={schema:{},count:1,cycle:void 0,path:a.path};r.seen.set(e,c),r.sharedDefsExtractedFor=void 0,r.sharedEmitDoneFor=void 0;let d=e._zod.toJSONSchema?.();if(d)c.schema=d;else{let x={...a,schemaPath:[...a.schemaPath,e],path:a.path};if(e._zod.processJSONSchema)e._zod.processJSONSchema(r,c.schema,x);else{let b=c.schema,y=r.processors[s.type];if(!y)throw Error(`[toJSONSchema]: Non-representable type encountered: ${s.type}`);y(e,r,b,x)}let v=e._zod.parent;if(v){if(!c.ref)c.ref=v;Dn(v,r,x),r.seen.get(v).isParent=!0}}let h=r.metadataRegistry.get(e);if(h)_O(c.schema,h);if(r.io==="input"&&xs(e))delete c.schema.examples,delete c.schema.default;if(r.io==="input"&&"_prefault"in c.schema)(i=c.schema).default??(i.default=c.schema._prefault);return delete c.schema._prefault,r.seen.get(e).schema}function jhe(e){return e.replace(/~/g,"~0").replace(/\//g,"~1")}function fW(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 c of e.seen.entries()){let d=e.metadataRegistry.get(c[0])?.id;if(d){let h=i.get(d);if(h&&h!==c[0])throw Error(`Duplicate schema id "${d}" detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`);i.set(d,c[0])}}let s=(c)=>{let d=e.target==="draft-2020-12"?"$defs":"definitions";if(e.external){let v=e.external.registry.get(c[0])?.id,b=e.external.uri??((k)=>k);if(v)return{ref:b(v)};let y=c[1].defId??c[1].schema.id??`schema${e.counter++}`;return c[1].defId=y,{defId:y,ref:`${b("__shared")}#/${d}/${jhe(y)}`}}let h="#",g=`${h}/${d}/`;if(c[1]===a&&!c[1].schema.id)return{ref:h};let x=c[1].schema.id??`__schema${e.counter++}`;return{defId:x,ref:g+jhe(x)}},l=(c)=>{if(c[1].schema.$ref)return;let d=c[1],{ref:h,defId:g}=s(c);if(d.def={...d.schema},g)d.defId=g;let x=d.schema;for(let v in x)delete x[v];x.$ref=h};if(e.cycles==="throw")for(let c of e.seen.entries()){let d=c[1];if(d.cycle)throw Error(`Cycle detected: #/${d.cycle?.join("/")}/<root>
194
-
195
- Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(let c of e.seen.entries()){let d=c[1];if(r===c[0]){l(c);continue}if(e.external){let g=e.external.registry.get(c[0])?.id;if(r!==c[0]&&g){l(c);continue}}if(e.metadataRegistry.get(c[0])?.id){l(c);continue}if(d.cycle){l(c);continue}if(d.count>1){if(e.reused==="ref"){l(c);continue}}}if(e.external)e.sharedDefsExtractedFor=e.external}function Yhe(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;Yhe(i);let s=Object.keys(i);if(s.length!==1||s[0]!=="type")return;let l=i.type;for(let c of Array.isArray(l)?l:[l]){if(typeof c!=="string")return;if(!a.includes(c))a.push(c)}}delete e.anyOf,e.type=a.length===1?a[0]:a}var qhe=new Set(["type","properties","required","additionalProperties"]),Bhe=["oneOf","anyOf"];function Uhe(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 nW(e){let r=[];for(let l of e){if(typeof l!=="object"||l.type!=="object")return null;for(let c in l)if(!qhe.has(c))return null;r.push(l)}let a={},i=new Set;for(let l of r){for(let c in l.properties){if(Object.prototype.hasOwnProperty.call(a,c))continue;let d=[];for(let g of r){let x=g.properties?.[c]??Uhe(g);if(x===null||x===void 0)continue;if(!d.some((v)=>JSON.stringify(v)===JSON.stringify(x)))d.push(x)}let h=d.length===1?d[0]:nW(d)??{allOf:d};Bi(a,c,h)}for(let c of l.required??[])i.add(c)}let s={type:"object",properties:a};if(i.size)s.required=[...i];if(r.every((l)=>l.additionalProperties===!1))s.additionalProperties=!1;else{let l=[];for(let c of r){let d=Uhe(c);if(d&&!l.some((h)=>JSON.stringify(h)===JSON.stringify(d)))l.push(d)}if(l.length===1)s.additionalProperties=l[0];else if(l.length>1)s.additionalProperties={allOf:l}}return s}function K0t(e){let r=e.allOf;if(!Array.isArray(r)||r.length<2)return;for(let s of qhe)if(s in e)return;let a=r.filter((s)=>Bhe.some((l)=>Array.isArray(s[l]))),i=null;if(!a.length)i=nW(r);else{let s=a[0],l=Bhe.find((h)=>Array.isArray(s[h]));if(Object.keys(s).length!==1)return;let c=r.filter((h)=>h!==s),d=s[l].map((h)=>nW([...c,h]));if(d.some((h)=>!h))return;i={[l]:d}}if(!i)return;delete e.allOf,_O(e,i)}function sW(e,r){let a=e.seen.get(r);if(!a)throw Error("Unprocessed schema. This is a bug in Zod.");let i=(d)=>{let h=e.seen.get(d);if(h.ref===null)return;let g=h.def??h.schema,x={...g},v=h.ref;if(h.ref=null,v){i(v);let y=e.seen.get(v),k=y.schema;if(k.$ref&&(e.target==="draft-07"||e.target==="draft-04"||e.target==="openapi-3.0"))g.allOf=g.allOf??[],g.allOf.push(k);else _O(g,k);if(_O(g,x),d._zod.parent===v)for(let U in g){if(U==="$ref"||U==="allOf")continue;if(!(U in x))delete g[U]}if(k.$ref&&y.def)for(let U in g){if(U==="$ref"||U==="allOf")continue;if(U in y.def&&JSON.stringify(g[U])===JSON.stringify(y.def[U]))delete g[U]}}let b=d._zod.parent;if(b&&b!==v){i(b);let y=e.seen.get(b);if(y?.schema.$ref){if(g.$ref=y.schema.$ref,y.def)for(let k in g){if(k==="$ref"||k==="allOf")continue;if(k in y.def&&JSON.stringify(g[k])===JSON.stringify(y.def[k]))delete g[k]}}}e.override({zodSchema:d,jsonSchema:g,path:h.path??[]})};if(!e.external||e.sharedEmitDoneFor!==e.external){for(let d of[...e.seen.entries()].reverse())i(d[0]);if(e.target!=="openapi-3.0")for(let d of e.seen.entries())Yhe(d[1].def??d[1].schema);for(let d of e.deferred)d();if(e.intersections.length){let d=new Map;for(let h of e.seen.values())for(let g of[h.schema,h.def]){let x=g?.allOf;if(!Array.isArray(x))continue;let v=d.get(x);if(v)v.push(g);else d.set(x,[g])}for(let h of e.intersections)for(let g of d.get(h)??[])K0t(g)}}let s={};if(e.target==="draft-2020-12")s.$schema="https://json-schema.org/draft/2020-12/schema";else if(e.target==="draft-07")s.$schema="http://json-schema.org/draft-07/schema#";else if(e.target==="draft-04")s.$schema="http://json-schema.org/draft-04/schema#";else if(e.target==="openapi-3.0");if(e.external?.uri){let d=e.external.registry.get(r)?.id;if(!d)throw Error("Schema is missing an `id` property");s.$id=e.external.uri(d)}_O(s,a.defId?a.schema:a.def??a.schema);let l=e.metadataRegistry.get(r)?.id;if(l!==void 0&&s.id===l)delete s.id;let c=e.external?.defs??{};if(!e.external||e.sharedEmitDoneFor!==e.external)for(let d of e.seen.entries()){let h=d[1];if(h.def&&h.defId){if(h.def.id===h.defId)delete h.def.id;Bi(c,h.defId,h.def)}}if(e.external)e.sharedEmitDoneFor=e.external;if(e.external);else if(Object.keys(c).length>0)if(e.target==="draft-2020-12")s.$defs=c;else s.definitions=c;try{let d=JSON.parse(JSON.stringify(s));return Object.defineProperty(d,"~standard",{value:{...r["~standard"],jsonSchema:{input:bO(r,"input",e.processors),output:bO(r,"output",e.processors)}},enumerable:!1,writable:!1}),d}catch(d){throw Error("Error converting schema to JSON.")}}function xs(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 xs(i.element,a);if(i.type==="set")return xs(i.valueType,a);if(i.type==="lazy")return xs(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 xs(i.innerType,a);if(i.type==="intersection")return xs(i.left,a)||xs(i.right,a);if(i.type==="record"||i.type==="map")return xs(i.keyType,a)||xs(i.valueType,a);if(i.type==="pipe"){if(e._zod.traits.has("$ZodCodec"))return!0;return xs(i.in,a)||xs(i.out,a)}if(i.type==="object"){for(let s in i.shape)if(xs(i.shape[s],a))return!0;return!1}if(i.type==="union"){for(let s of i.options)if(xs(s,a))return!0;return!1}if(i.type==="tuple"){for(let s of i.items)if(xs(s,a))return!0;if(i.rest&&xs(i.rest,a))return!0;return!1}return!1}var Hhe=(e,r={})=>(a)=>{let i=iW({...a,processors:r});return Dn(e,i),fW(i,e),sW(i,e)},bO=(e,r,a={})=>(i)=>{let{libraryOptions:s,target:l}=i??{},c=iW({...s??{},target:l,io:r,processors:a});return Dn(e,c),fW(c,e),sW(c,e)};var X0t={guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""},Vhe=(e,r,a,i)=>{let s=a;s.type="string";let{minimum:l,maximum:c,format:d,patterns:h,contentEncoding:g,laxFormat:x}=e._zod.bag;if(typeof l==="number")s.minLength=l;if(typeof c==="number")s.maxLength=c;if(d){if(s.format=X0t[d]??d,s.format==="")delete s.format;if(d==="time"||x)delete s.format}if(g)s.contentEncoding=g;if(h&&h.size>0){let v=[...h];if(v.length===1)s.pattern=v[0].source;else if(v.length>1)s.allOf=[...v.map((b)=>({...r.target==="draft-07"||r.target==="draft-04"||r.target==="openapi-3.0"?{type:"string"}:{},pattern:b.source}))]}},Whe=(e,r,a,i)=>{let s=a,{minimum:l,maximum:c,format:d,multipleOf:h,exclusiveMaximum:g,exclusiveMinimum:x}=e._zod.bag;if(typeof d==="string"&&d.includes("int"))s.type="integer";else s.type="number";let v=typeof x==="number"&&x>=(l??Number.NEGATIVE_INFINITY),b=typeof g==="number"&&g<=(c??Number.POSITIVE_INFINITY),y=r.target==="draft-04"||r.target==="openapi-3.0";if(v)if(y)s.minimum=x,s.exclusiveMinimum=!0;else s.exclusiveMinimum=x;else if(typeof l==="number")s.minimum=l;if(b)if(y)s.maximum=g,s.exclusiveMaximum=!0;else s.exclusiveMaximum=g;else if(typeof c==="number")s.maximum=c;if(typeof h==="number")if(Number.isFinite(h)&&h!==0)s.multipleOf=Math.abs(h);else Lu(e,r,s,i,`A multipleOf divisor of ${h} cannot be represented in JSON Schema`)},Ghe=(e,r,a,i)=>{a.type="boolean"},Khe=(e,r,a,i)=>{Lu(e,r,a,i,"BigInt cannot be represented in JSON Schema")};var Xhe=(e,r,a,i)=>{a.not={}},Qhe=(e,r,a,i)=>{},Jhe=(e,r,a,i)=>{},$he=(e,r,a,i)=>{Lu(e,r,a,i,"Date cannot be represented in JSON Schema")},ege=(e,r,a,i)=>{let s=e._zod.def,l=I3(s.entries);if(l.length===0){a.not={};return}if(l.every((c)=>typeof c==="number"))a.type="number";if(l.every((c)=>typeof c==="string"))a.type="string";a.enum=l},tge=(e,r,a,i)=>{let s=e._zod.def;if(s.values.length===0){a.not={};return}let l=[];for(let c of s.values)if(c===void 0){if(Lu(e,r,a,i,"Literal `undefined` cannot be represented in JSON Schema"))return}else if(typeof c==="bigint"){if(Lu(e,r,a,i,"BigInt literals cannot be represented in JSON Schema"))return;l.push(Number(c))}else l.push(c);if(l.length===0);else if(l.length===1){let c=l[0];if(a.type=c===null?"null":typeof c,r.target==="draft-04"||r.target==="openapi-3.0")a.enum=[c];else a.const=c}else{if(l.every((c)=>typeof c==="number"))a.type="number";if(l.every((c)=>typeof c==="string"))a.type="string";if(l.every((c)=>typeof c==="boolean"))a.type="boolean";if(l.every((c)=>c===null))a.type="null";a.enum=l}};var rge=(e,r,a,i)=>{Lu(e,r,a,i,"Custom types cannot be represented in JSON Schema")};var oge=(e,r,a,i)=>{Lu(e,r,a,i,"Transforms cannot be represented in JSON Schema")};var age=(e,r,a,i)=>{let s=a,l=e._zod.def,{minimum:c,maximum:d}=e._zod.bag;if(typeof c==="number")s.minItems=c;if(typeof d==="number")s.maxItems=d;s.type="array",s.items=Dn(l.element,r,{...i,path:[...i.path,"items"]})};function W3(e){let r=e._zod.def;if(r.type==="pipe"&&r.in._zod.traits.has("$ZodTransform"))return W3(r.out);if(r.type==="catch")return W3(r.innerType);return e._zod.optin}var nge=(e,r,a,i)=>{let s=a,l=e._zod.def,c=l.shape;if(Object.getOwnPropertySymbols(c).length&&Lu(e,r,s,i,"Symbol keys cannot be represented in JSON Schema"))return;s.type="object",s.properties={};for(let x in c)Bi(s.properties,x,Dn(c[x],r,{...i,path:[...i.path,"properties",x]}));let h=new Set(Object.keys(c)),g=new Set([...h].filter((x)=>{let v=l.shape[x];if(r.io==="input")return W3(v)===void 0;else return v._zod.optout===void 0}));if(g.size>0)s.required=Array.from(g);if(l.catchall?._zod.def.type==="never")s.additionalProperties=!1;else if(!l.catchall){if(r.io==="output")s.additionalProperties=!1}else if(l.catchall)s.additionalProperties=Dn(l.catchall,r,{...i,path:[...i.path,"additionalProperties"]})},ige=(e,r,a,i)=>{let s=e._zod.def,l=s.inclusive===!1,c=s.options.map((d,h)=>Dn(d,r,{...i,path:[...i.path,l?"oneOf":"anyOf",h]}));if(l)a.oneOf=c;else a.anyOf=c},fge=(e,r,a,i)=>{let s=e._zod.def,l=Dn(s.left,r,{...i,path:[...i.path,"allOf",0]}),c=Dn(s.right,r,{...i,path:[...i.path,"allOf",1]}),d=(g)=>("allOf"in g)&&Object.keys(g).length===1,h=[...d(l)?l.allOf:[l],...d(c)?c.allOf:[c]];a.allOf=h,r.intersections.push(h)};function lW(e,r,a){if(r.$ref){if(a.has(r))return r;a.add(r);let k=e.get(r)?.def;if(!k)return r;let T=lW(e,k,a);return T===k?r:T}for(let k of["anyOf","oneOf"]){let T=r[k];if(!Array.isArray(T))continue;let U=T.map((N)=>lW(e,N,a));if(U.some((N,j)=>N!==T[j]))r={...r,[k]:U}}let i=Array.isArray(r.type)?r.type:[r.type],s=!i.includes("string")&&i.some((k)=>k==="number"||k==="integer"),l=r.enum??(r.const!==void 0?[r.const]:void 0);if(!s&&!l?.some((k)=>typeof k==="number"))return r;let{minimum:c,maximum:d,exclusiveMinimum:h,exclusiveMaximum:g,multipleOf:x,format:v,id:b,...y}=r;if(y.enum)y.enum=y.enum.map((k)=>typeof k==="number"?String(k):k);else if(typeof y.const==="number")y.const=String(y.const);if(!s)return y;if(y.type="string",!l)y.pattern=(i.includes("number")?MO:N3).source;return y}var cW=new WeakMap;function Q0t(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 cW.get(e)??[]){let s=e.seen.get(i),l=(s?.def??s?.schema)?.propertyNames;if(!l||l===!0||a.has(l))continue;let c=lW(r,l,new Set);if(c!==l)a.set(l,c)}if(!a.size)return;for(let i of e.seen.values())for(let s of[i.schema,i.def]){let l=s&&a.get(s.propertyNames);if(l)s.propertyNames=l}}var sge=(e,r,a,i)=>{let s=a,l=e._zod.def;s.type="object";let c=l.keyType,h=c._zod.bag?.patterns;if(l.mode==="loose"&&h&&h.size>0){let v=Dn(l.valueType,r,{...i,path:[...i.path,"patternProperties","*"]});s.patternProperties={};for(let b of h)Bi(s.patternProperties,b.source,v)}else{if(r.target==="draft-07"||r.target==="draft-2020-12"){s.propertyNames=Dn(l.keyType,r,{...i,path:[...i.path,"propertyNames"]});let v=cW.get(r);if(!v)v=[],cW.set(r,v),r.deferred.push(()=>Q0t(r));v.push(e)}s.additionalProperties=Dn(l.valueType,r,{...i,path:[...i.path,"additionalProperties"]})}let g=c._zod.values,x=r.io==="input"&&W3(l.valueType)!==void 0;if(g&&!l.partial&&!x){let v=[...g].filter((b)=>typeof b==="string"||typeof b==="number");if(v.length>0)s.required=v.map(String)}},lge=(e,r,a,i)=>{let s=e._zod.def,l=Dn(s.innerType,r,i),c=r.seen.get(e);if(r.target==="openapi-3.0")c.ref=s.innerType,a.nullable=!0;else a.anyOf=[l,{type:"null"}]},cge=(e,r,a,i)=>{let s=e._zod.def;Dn(s.innerType,r,i);let l=r.seen.get(e);l.ref=s.innerType},uW=Symbol();function uge(e,r,a,i,s){let l=!1,c=JSON.stringify(e,(d,h)=>{if(typeof h!=="bigint")return h;return l=!0,null});if(!l)return JSON.parse(c);return Lu(r,a,i,s,"BigInt defaults cannot be represented in JSON Schema"),uW}var dge=(e,r,a,i)=>{let s=e._zod.def;Dn(s.innerType,r,i);let l=r.seen.get(e);l.ref=s.innerType;let c=uge(s.defaultValue,e,r,a,i);if(c!==uW)a.default=c},Zge=(e,r,a,i)=>{let s=e._zod.def;Dn(s.innerType,r,i);let l=r.seen.get(e);if(l.ref=s.innerType,r.io!=="input")return;let c=uge(s.defaultValue,e,r,a,i);if(c!==uW)a._prefault=c},pge=(e,r,a,i)=>{let s=e._zod.def;Dn(s.innerType,r,i);let l=r.seen.get(e);l.ref=s.innerType;let c;try{c=s.catchValue(void 0)}catch{Lu(e,r,a,i,"Dynamic catch values are not supported in JSON Schema");return}a.default=c},mge=(e,r,a,i)=>{let s=e._zod.def,l=s.in._zod.traits.has("$ZodTransform"),c=r.io==="input"?l?s.out:s.in:s.out;Dn(c,r,i);let d=r.seen.get(e);d.ref=c},hge=(e,r,a,i)=>{let s=e._zod.def;Dn(s.innerType,r,i);let l=r.seen.get(e);l.ref=s.innerType,a.readOnly=!0};var dW=(e,r,a,i)=>{let s=e._zod.def;Dn(s.innerType,r,i);let l=r.seen.get(e);l.ref=s.innerType},gge=(e,r,a,i)=>{let s=e._zod.innerType;Dn(s,r,i);let l=r.seen.get(e);l.ref=s};var Mge=new WeakSet([Object.prototype,Error.prototype]);function G3(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 nzt=(e,r)=>{A3.init(e,r),e.name="ZodError";let a=Object.getPrototypeOf(e);if(Mge.has(a))return;Mge.add(a),G3(a,"format",(i)=>(s)=>OZe(i,s)),G3(a,"flatten",(i)=>(s)=>DZe(i,s)),G3(a,"addIssue",(i)=>(s)=>{i.issues.push(s),i.message=JSON.stringify(i.issues,ZO,2)}),G3(a,"addIssues",(i)=>(s)=>{i.issues.push(...s),i.message=JSON.stringify(i.issues,ZO,2)}),Object.defineProperty(a,"isEmpty",{configurable:!0,enumerable:!1,get(){return this.issues.length===0}})};var tc=It("ZodError",nzt,void 0,{Parent:Error});var xge=D3(tc),vge=O3(tc),yge=hO(tc),_ge=gO(tc),bge=jZe(tc),wge=BZe(tc),zge=UZe(tc),Sge=YZe(tc),Lge=qZe(tc),kge=HZe(tc),Cge=VZe(tc),Ige=WZe(tc);function fzt(){if(!al.localeError)ec(WV())}function Q3(){if(!al.memoizer)ec({memoizer:Kme()})}var Ha=It("ZodType",(e,r)=>(fzt(),Sa.init(e,r),e.def=r,e.type=r.type,e),{check(...e){let r=this.def;return this.clone(O8(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(tSt(e,r))},superRefine(e,r){return this.check(rSt(e,r))},overwrite(e){return this.check(j8(e))},optional(){return Tge(this)},exactOptional(){return Uzt(this)},nullable(){return Age(this)},nullish(){return Tge(Age(this))},nonoptional(e){return Gzt(this,e)},array(){return te(this)},or(e){return Xa([this,e])},and(e){return jge(this,e)},transform(e){return Ege(this,Bzt(e))},default(e){return Hzt(this,e)},prefault(e){return Wzt(this,e)},catch(e){return Xzt(this,e)},pipe(e){return Ege(this,e)},readonly(){return $zt(this)},describe(e){let r=this.clone();return LL.add(r,{description:e}),r},meta(...e){if(e.length===0)return LL.get(this);let r=this.clone();return LL.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 SV(this,"~standard",{...BV(this),jsonSchema:{input:bO(this,"input"),output:bO(this,"output")}})},set "~standard"(e){bL(this,"~standard",e)},parse:function e(r,a){return xge(this,r,a,{callee:e})},parseAsync:async function e(r,a){return await vge(this,r,a,{callee:e})},safeParse(e,r){return yge(this,e,r)},async safeParseAsync(e,r){return _ge(this,e,r)},get spa(){return this?.safeParseAsync},set spa(e){bL(this,"spa",e)},encode:function e(r,a){return bge(this,r,a,{callee:e})},decode:function e(r,a){return wge(this,r,a,{callee:e})},encodeAsync:async function e(r,a){return await zge(this,r,a,{callee:e})},decodeAsync:async function e(r,a){return await Sge(this,r,a,{callee:e})},safeEncode(e,r){return Lge(this,e,r)},safeDecode(e,r){return kge(this,e,r)},async safeEncodeAsync(e,r){return Cge(this,e,r)},async safeDecodeAsync(e,r){return Ige(this,e,r)},toJSONSchema(e){return Hhe(this,{})(e)},get description(){return LL.get(this)?.description},get _def(){return this._zod.def}}),Dge=It("_ZodString",(e,r)=>{U3.init(e,r),Ha.init(e,r),e._zod.processJSONSchema=(i,s,l)=>Vhe(e,i,s,l);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(GV(...e))},includes(...e){return this.check(QV(...e))},startsWith(...e){return this.check(JV(...e))},endsWith(...e){return this.check($V(...e))},min(...e){return this.check(XR(...e))},max(...e){return this.check(H3(...e))},length(...e){return this.check(V3(...e))},nonempty(...e){return this.check(XR(1,...e))},lowercase(e){return this.check(KV(e))},uppercase(e){return this.check(XV(e))},trim(){return this.check(tW())},normalize(...e){return this.check(eW(...e))},toLowerCase(){return this.check(rW())},toUpperCase(){return this.check(oW())},slugify(){return this.check(aW())}}),ZW=It("ZodString",(e,r)=>{U3.init(e,r),Dge.init(e,r)},{email(e){return this.check(ehe(dzt,e))},url(e){return this.check(ihe(pzt,e))},jwt(e){return this.check(yhe(Czt,e))},emoji(e){return this.check(fhe(mzt,e))},guid(e){return this.check(the(Zzt,e))},uuid(e){return this.check(rhe(K3,e))},uuidv4(e){return this.check(ohe(K3,e))},uuidv6(e){return this.check(ahe(K3,e))},uuidv7(e){return this.check(nhe(K3,e))},nanoid(e){return this.check(she(hzt,e))},cuid(e){return this.check(lhe(gzt,e))},cuid2(e){return this.check(che(Mzt,e))},ulid(e){return this.check(uhe(xzt,e))},base64(e){return this.check(Mhe(Szt,e))},base64url(e){return this.check(xhe(Lzt,e))},xid(e){return this.check(dhe(vzt,e))},ksuid(e){return this.check(Zhe(yzt,e))},ipv4(e){return this.check(phe(_zt,e))},ipv6(e){return this.check(mhe(bzt,e))},cidrv4(e){return this.check(hhe(wzt,e))},cidrv6(e){return this.check(ghe(zzt,e))},e164(e){return this.check(vhe(kzt,e))},datetime(e){return this.check(_he(szt,e))},date(e){return this.check(bhe(lzt,e))},time(e){return this.check(whe(czt,e))},duration(e){return this.check(zhe(uzt,e))}});function f(e){return Jme(ZW,e)}var wn=It("ZodStringFormat",(e,r)=>{mn.init(e,r),Dge.init(e,r)}),szt=It("ZodISODateTime",(e,r)=>{ame.init(e,r),wn.init(e,r)}),lzt=It("ZodISODate",(e,r)=>{nme.init(e,r),wn.init(e,r)}),czt=It("ZodISOTime",(e,r)=>{ime.init(e,r),wn.init(e,r)}),uzt=It("ZodISODuration",(e,r)=>{fme.init(e,r),wn.init(e,r)}),dzt=It("ZodEmail",(e,r)=>{Wpe.init(e,r),wn.init(e,r)});var Zzt=It("ZodGUID",(e,r)=>{Hpe.init(e,r),wn.init(e,r)});var K3=It("ZodUUID",(e,r)=>{Vpe.init(e,r),wn.init(e,r)});var pzt=It("ZodURL",(e,r)=>{Xpe.init(e,r),wn.init(e,r)});var mzt=It("ZodEmoji",(e,r)=>{Qpe.init(e,r),wn.init(e,r)});var hzt=It("ZodNanoID",(e,r)=>{Jpe.init(e,r),wn.init(e,r)});var gzt=It("ZodCUID",(e,r)=>{$pe.init(e,r),wn.init(e,r)});var Mzt=It("ZodCUID2",(e,r)=>{eme.init(e,r),wn.init(e,r)});var xzt=It("ZodULID",(e,r)=>{tme.init(e,r),wn.init(e,r)});var vzt=It("ZodXID",(e,r)=>{rme.init(e,r),wn.init(e,r)});var yzt=It("ZodKSUID",(e,r)=>{ome.init(e,r),wn.init(e,r)});var _zt=It("ZodIPv4",(e,r)=>{sme.init(e,r),wn.init(e,r)});var bzt=It("ZodIPv6",(e,r)=>{cme.init(e,r),wn.init(e,r)});var wzt=It("ZodCIDRv4",(e,r)=>{ume.init(e,r),wn.init(e,r)});var zzt=It("ZodCIDRv6",(e,r)=>{dme.init(e,r),wn.init(e,r)});var Szt=It("ZodBase64",(e,r)=>{pme.init(e,r),wn.init(e,r)});var Lzt=It("ZodBase64URL",(e,r)=>{mme.init(e,r),wn.init(e,r)});var kzt=It("ZodE164",(e,r)=>{hme.init(e,r),wn.init(e,r)});var Czt=It("ZodJWT",(e,r)=>{gme.init(e,r),wn.init(e,r)});var J3=It("ZodNumber",(e,r)=>{UV.init(e,r),Ha.init(e,r),e._zod.processJSONSchema=(i,s,l)=>Whe(e,i,s,l);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(KR(e,r))},gte(e,r){return this.check(mM(e,r))},min(e,r){return this.check(mM(e,r))},lt(e,r){return this.check(GR(e,r))},lte(e,r){return this.check(pM(e,r))},max(e,r){return this.check(pM(e,r))},int(e){return this.check(Rge(e))},safe(e){return this.check(Rge(e))},positive(e){return this.check(KR(0,e))},nonnegative(e){return this.check(mM(0,e))},negative(e){return this.check(GR(0,e))},nonpositive(e){return this.check(pM(0,e))},multipleOf(e,r){return this.check(yO(e,r))},step(e,r){return this.check(yO(e,r))},finite(){return this}});function Kt(e){return She(J3,e)}var Izt=It("ZodNumberFormat",(e,r)=>{Mme.init(e,r),J3.init(e,r)});function Rge(e){return khe(Izt,e)}var pW=It("ZodBoolean",(e,r)=>{xme.init(e,r),Ha.init(e,r),e._zod.processJSONSchema=(a,i,s)=>Ghe(e,a,i,s)});function dr(e){return Che(pW,e)}var Oge=It("ZodBigInt",(e,r)=>{vme.init(e,r),Ha.init(e,r),e._zod.processJSONSchema=(i,s,l)=>Khe(e,i,s,l);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(mM(e,r))},min(e,r){return this.check(mM(e,r))},gt(e,r){return this.check(KR(e,r))},lt(e,r){return this.check(GR(e,r))},lte(e,r){return this.check(pM(e,r))},max(e,r){return this.check(pM(e,r))},positive(e){return this.check(KR(BigInt(0),e))},negative(e){return this.check(GR(BigInt(0),e))},nonpositive(e){return this.check(pM(BigInt(0),e))},nonnegative(e){return this.check(mM(BigInt(0),e))},multipleOf(e,r){return this.check(yO(e,r))}});var Rzt=It("ZodAny",(e,r)=>{yme.init(e,r),Ha.init(e,r),e._zod.processJSONSchema=(a,i,s)=>Qhe(e,a,i,s)});function ws(){return Phe(Rzt)}var Pzt=It("ZodUnknown",(e,r)=>{_me.init(e,r),Ha.init(e,r),e._zod.processJSONSchema=(a,i,s)=>Jhe(e,a,i,s)});function wZ(){return The(Pzt)}var Tzt=It("ZodNever",(e,r)=>{bme.init(e,r),Ha.init(e,r),e._zod.processJSONSchema=(a,i,s)=>Xhe(e,a,i,s)});function Azt(e){return Ahe(Tzt,e)}var mW=It("ZodDate",(e,r)=>{wme.init(e,r),Ha.init(e,r),e._zod.processJSONSchema=(i,s,l)=>$he(e,i,s,l),e.min=(i,s)=>e.check(mM(i,s)),e.max=(i,s)=>e.check(pM(i,s));let a=e._zod.bag;e.minDate=a.minimum?new Date(a.minimum):null,e.maxDate=a.maximum?new Date(a.maximum):null});function ei(e){return Ehe(mW,e)}var Ezt=It("ZodArray",(e,r)=>{Q3(),zme.init(e,r),Ha.init(e,r),e._zod.processJSONSchema=(a,i,s)=>age(e,a,i,s),e.element=r.element},{min(e,r){return this.check(XR(e,r))},nonempty(e){return this.check(XR(1,e))},max(e,r){return this.check(H3(e,r))},length(e,r){return this.check(V3(e,r))},unwrap(){return this.element}});function te(e,r){return Ohe(Ezt,e,r)}var Dzt=It("ZodObject",(e,r)=>{Q3(),kme.init(e,r),Ha.init(e,r),e._zod.processJSONSchema=(a,i,s)=>nge(e,a,i,s),_0t(e,"shape",(a)=>a._zod.def.shape,!1)},{keyof(){return Ve(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:Azt()})},strip(){return this.clone({...this._zod.def,catchall:void 0})},extend(e){return p0t(this,e)},safeExtend(e){return m0t(this,e)},merge(e){return h0t(this,e)},pick(e){return d0t(this,e)},omit(e){return Z0t(this,e)},partial(...e){return LZe(Bge,this,e[0])},exactPartial(...e){return LZe(Uge,this,e[0],"exactPartial")},required(...e){return g0t(Yge,this,e[0])}});function R(e,r){let a={type:"object",shape:e??{},...xr(r)};return new Dzt(a)}var Nge=It("ZodUnion",(e,r)=>{YV.init(e,r),Ha.init(e,r),e._zod.processJSONSchema=(a,i,s)=>ige(e,a,i,s),e.options=r.options});function Xa(e,r){return new Nge({type:"union",options:e,...xr(r)})}var Ozt=It("ZodDiscriminatedUnion",(e,r)=>{Nge.init(e,r),Cme.init(e,r)});function Fge(e,r,a){return new Ozt({type:"union",options:r,discriminator:e,...xr(a)})}var Nzt=It("ZodIntersection",(e,r)=>{Ime.init(e,r),Ha.init(e,r),e._zod.processJSONSchema=(a,i,s)=>fge(e,a,i,s)});function jge(e,r){return new Nzt({type:"intersection",left:e,right:r})}var Pge=It("ZodRecord",(e,r)=>{Q3(),Rme.init(e,r),Ha.init(e,r),e._zod.processJSONSchema=(a,i,s)=>sge(e,a,i,s),e.keyType=r.keyType,e.valueType=r.valueType});function kL(e,r,a){if(!r||!r._zod)return new Pge({type:"record",keyType:f(),valueType:e,...xr(r)});return new Pge({type:"record",keyType:e,valueType:r,...xr(a)})}var X3=It("ZodEnum",(e,r)=>{Pme.init(e,r),Ha.init(e,r),e._zod.processJSONSchema=(i,s,l)=>ege(e,i,s,l),e.enum=r.entries,e.options=Object.values(r.entries);let a=new Set(Object.keys(r.entries));e.extract=(i,s)=>{let l={};for(let c of i)if(a.has(c))l[c]=r.entries[c];else throw Error(`Key ${c} not found in enum`);return new X3({...r,checks:[],...xr(s),entries:l})},e.exclude=(i,s)=>{let l={...r.entries};for(let c of i)if(a.has(c))delete l[c];else throw Error(`Key ${c} not found in enum`);return new X3({...r,checks:[],...xr(s),entries:l})}});function Ve(e,r){let a=Array.isArray(e)?Object.fromEntries(e.map((i)=>[i,i])):e;return new X3({type:"enum",entries:a,...xr(r)})}function fa(e,r){return new X3({type:"enum",entries:e,...xr(r)})}var Fzt=It("ZodLiteral",(e,r)=>{Tme.init(e,r),Ha.init(e,r),e._zod.processJSONSchema=(a,i,s)=>tge(e,a,i,s),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 Ss(e,r){return new Fzt({type:"literal",values:Array.isArray(e)?e:[e],...xr(r)})}var jzt=It("ZodTransform",(e,r)=>{Q3(),Ame.init(e,r),Ha.init(e,r),e._zod.processJSONSchema=(a,i,s)=>oge(e,a,i,s),e._zod.parse=(a,i)=>{if(i.direction==="backward")throw new mO(e.constructor.name);a.addIssue=(l)=>{if(typeof l==="string")a.issues.push(SL(l,a.value,r));else{let c=l;if(c.fatal)c.continue=!1;if(c.code??(c.code="custom"),!("input"in c))c.input=a.value;c.inst??(c.inst=e),a.issues.push(SL(c))}};let s=r.transform(a.value,a);if(s instanceof Promise)return s.then((l)=>(a.value=l,a));return a.value=s,a}});function Bzt(e){return new jzt({type:"transform",transform:e})}var Bge=It("ZodOptional",(e,r)=>{qV.init(e,r),Ha.init(e,r),e._zod.processJSONSchema=(a,i,s)=>dW(e,a,i,s),e.unwrap=()=>e._zod.def.innerType});function Tge(e){return new Bge({type:"optional",innerType:e})}var Uge=It("ZodExactOptional",(e,r)=>{Eme.init(e,r),Ha.init(e,r),e._zod.processJSONSchema=(a,i,s)=>dW(e,a,i,s),e.unwrap=()=>e._zod.def.innerType});function Uzt(e){return new Uge({type:"optional",innerType:e})}var Yzt=It("ZodNullable",(e,r)=>{Dme.init(e,r),Ha.init(e,r),e._zod.processJSONSchema=(a,i,s)=>lge(e,a,i,s),e.unwrap=()=>e._zod.def.innerType});function Age(e){return new Yzt({type:"nullable",innerType:e})}var qzt=It("ZodDefault",(e,r)=>{Ome.init(e,r),Ha.init(e,r),e._zod.processJSONSchema=(a,i,s)=>dge(e,a,i,s),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap});function Hzt(e,r){return new qzt({type:"default",innerType:e,get defaultValue(){return typeof r==="function"?r():bV(r)}})}var Vzt=It("ZodPrefault",(e,r)=>{Nme.init(e,r),Ha.init(e,r),e._zod.processJSONSchema=(a,i,s)=>Zge(e,a,i,s),e.unwrap=()=>e._zod.def.innerType});function Wzt(e,r){return new Vzt({type:"prefault",innerType:e,get defaultValue(){return typeof r==="function"?r():bV(r)}})}var Yge=It("ZodNonOptional",(e,r)=>{Fme.init(e,r),Ha.init(e,r),e._zod.processJSONSchema=(a,i,s)=>cge(e,a,i,s),e.unwrap=()=>e._zod.def.innerType});function Gzt(e,r){return new Yge({type:"nonoptional",innerType:e,...xr(r)})}var Kzt=It("ZodCatch",(e,r)=>{jme.init(e,r),Ha.init(e,r),e._zod.processJSONSchema=(a,i,s)=>pge(e,a,i,s),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap});function Xzt(e,r){return new Kzt({type:"catch",innerType:e,catchValue:typeof r==="function"?r:RZe(r)})}var Qzt=It("ZodPipe",(e,r)=>{Bme.init(e,r),Ha.init(e,r),e._zod.processJSONSchema=(a,i,s)=>mge(e,a,i,s),e.in=r.in,e.out=r.out});function Ege(e,r){return new Qzt({type:"pipe",in:e,out:r})}var Jzt=It("ZodReadonly",(e,r)=>{Ume.init(e,r),Ha.init(e,r),e._zod.processJSONSchema=(a,i,s)=>hge(e,a,i,s),e.unwrap=()=>e._zod.def.innerType});function $zt(e){return new Jzt({type:"readonly",innerType:e})}var eSt=It("ZodLazy",(e,r)=>{Yme.init(e,r),Ha.init(e,r),e._zod.processJSONSchema=(a,i,s)=>gge(e,a,i,s),e.unwrap=()=>e._zod.def.getter()});function hW(e){return new eSt({type:"lazy",getter:e})}var qge=It("ZodCustom",(e,r)=>{qme.init(e,r),Ha.init(e,r),e._zod.processJSONSchema=(a,i,s)=>rge(e,a,i,s)});function tSt(e,r={}){return Nhe(qge,e,r)}function rSt(e,r){return Fhe(e,r)}function Hge(e,r={}){let a=new qge({type:"custom",check:"custom",fn:(i)=>i instanceof e,abort:!0,...xr(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 oo={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 Vge;(function(e){})(Vge||(Vge={}));var zO={};ke(zO,{bigint:()=>fSt,boolean:()=>iSt,date:()=>sSt,number:()=>nSt,string:()=>aSt});function aSt(e){return $me(ZW,e)}function nSt(e){return Lhe(J3,e)}function iSt(e){return Ihe(pW,e)}function fSt(e){return Rhe(Oge,e)}function sSt(e){return Dhe(mW,e)}var $3={human:"human",agent:"agent"};var gW={editor:"editor",reviewer:"reviewer"};var Wge={team:"team",project:"project"};var Gge={all_members:"all_members",each_member:"each_member",selected_members:"selected_members"};var Kge={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"},zr={LOW:"LOW",MEDIUM:"MEDIUM",HIGH:"HIGH",URGENT:"URGENT"},pf={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"},Xge={chat:"chat",autofill:"autofill",embedding:"embedding"};var lSt=["avatar-1","avatar-2","avatar-3","avatar-4","avatar-5","avatar-6","avatar-7","avatar-8"];var cSt={"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+ycBblMc5VRkMxpWgi7zlkUUOIzcsp8rJvOWHryMg36mIXa1xMNyp2rhlY3Vgul9+8VfT412zRHaz12VW/qh9l67/CDtCsnUBGO/e8J1mT9RAmfZTCKX+ecvAjhxyIeUEAg5olYzZSkgLNrAf+HFBHtihqoNZNUgRB+NKEfWCXPqAmsILE+/Ap/wD2FlHj0Q1Qk8PrAN9C/fyX/qgkJyQGu9cAmoYwicMlikN4oRxsA6WckScktHrWfdZYT6WV2xwpPXzy/IJL7TEXpY+W9Lwn/I3P8+q9N+d895Qu4TZMfUfou353e8Wn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3HkD/bupeupZVrpjIq1k9/EwyB+EEGeNHb63rBnxbgSVuEWo0b3WihxMTaZTyre7jogHA2nw8INlzaWrb2Is+v9I5xQN5elt2+hXPAyR160GZ6Ij6NAJPHLEMhw5M7JszydIJxX6bekzNdInyXDwLp5B/pGOIBmgYqQj3NERx5UzJGwruLTFZvHgUj42OMzurfF7niHyu6gM//+uZn94CG5+kMmCCldqOGMrVqWosLAAAAA=="},nu=lSt.map((e)=>({id:e,preview:`data:image/webp;base64,${cSt[e]}`}));var Qge=fa(Xge),ou=Ve(["off","minimal","low","medium","high","xhigh"]),MW=Ve(["owner","editor","reviewer"]),RA=["delete_asset"],uSt=R({id:f().optional(),skillId:f(),skill:R({id:f(),name:f()}).optional()}),dLn=R({id:f(),name:f(),type:Qge,enabled:dr(),permission:MW.optional().default("reviewer"),avatar:f().optional(),avatarPreset:f().optional(),providerId:f().optional(),modelId:f().optional(),thinkingLevel:ou.optional().default("off"),systemPrompt:f().optional(),soul:f().optional(),skills:te(uSt).optional(),mcpServerIds:te(f()).optional(),deniedTools:te(f()).optional()}),Jge=R({name:f().min(1),type:Qge,enabled:dr().optional().default(!0),permission:MW.optional(),avatar:f().optional(),providerId:f().optional(),modelId:f().optional(),thinkingLevel:ou.optional().default("off"),systemPrompt:f().optional(),soul:f().optional(),skills:te(f()).optional(),mcpServerIds:te(f()).optional(),deniedTools:te(f()).optional()}),ZLn=Jge.superRefine((e,r)=>{if(e.type==="chat"||e.type==="autofill"){if(!e.providerId)r.addIssue({code:oo.custom,message:"providerId is required for chat/autofill agents",path:["providerId"]});if(!e.modelId)r.addIssue({code:oo.custom,message:"modelId is required for chat/autofill agents",path:["modelId"]})}}),pLn=Jge.superRefine((e,r)=>{if(e.type==="chat"||e.type==="autofill"){if(!e.providerId)r.addIssue({code:oo.custom,message:"providerId is required for chat/autofill agents",path:["providerId"]});if(!e.modelId)r.addIssue({code:oo.custom,message:"modelId is required for chat/autofill agents",path:["modelId"]})}}),mLn=R({permission:MW}),hLn=R({id:f(),sessionId:f(),entry:wZ()}),gLn=R({id:f(),name:f().nullable().optional(),type:f(),createdAt:f(),creator:R({id:f(),name:f().nullable().optional(),email:f().nullable().optional(),image:f().nullable().optional()}).nullable().optional(),agentId:f().optional()});var yLn=R({apiKey:f().optional(),baseUrl:f().optional(),chatModels:te(f()).optional()}),dSt=Ve(["1h","24h","7d","30d"]),_Ln=R({timeframe:dSt.default("30d"),userId:f().optional()});var B8=R({cursor:f().optional(),total:Kt().optional(),totalSize:Kt().optional()}),ks=R({first:zO.number().optional(),after:f().optional()});var eMe=30,kLn=R({data:te(hW(()=>gSt)),pageInfo:B8}),tMe=R({proxyType:Ve(["image","video","audio","pdf","3d"]).nullable().optional(),thumbnailUrl:f().optional(),originalHeight:Kt().optional(),originalWidth:Kt().optional(),rotation:Kt().optional(),spriteUrl:f().optional(),duration:Kt().optional(),pageCount:Kt().optional()}),ZSt=R({type:f().nullable(),preview:tMe.nullable()}),ej=R({id:f(),name:f(),image:f().optional()}),$ge=R({id:f(),name:f()}),pSt=R({fieldId:f(),value:ws()}),mSt=R({id:f(),name:f()}),hSt=R({duration:Kt().optional(),originalWidth:Kt().optional(),originalHeight:Kt().optional(),rotation:Kt().optional(),frameRate:Kt().optional(),totalFrames:Kt().optional(),startTimecode:f().optional()}),gSt=R({id:f(),name:f(),sizeByte:Kt(),fileCount:Kt(),type:f(),targetType:f().optional().nullable(),status:f(),proxyType:Ve(["image","video","audio","pdf","3d"]).nullable().optional(),latestChildren:te(ZSt).optional(),preview:tMe.nullable().optional(),createdAt:f(),updatedAt:f(),deletedAt:f().nullable().optional(),projectId:f().optional().nullable(),creator:ej.nullable().optional(),agentId:f().optional().nullable(),agent:$ge.optional().nullable(),fieldValues:te(pSt).optional(),sortIndex:f().optional().nullable(),startTime:Kt().optional().nullable(),endTime:Kt().optional().nullable(),hasAgentsMd:dr().optional(),commentsCount:Kt().optional(),media:R({original:R({key:f().optional()}).optional(),videoTranscodes:te(R({id:f(),url:f(),key:f(),width:Kt(),height:Kt(),size:Kt(),resolution:f().optional(),hdr:dr().optional()})).optional(),imageTranscodes:te(R({id:f(),url:f(),key:f(),width:Kt(),height:Kt(),size:Kt()})).optional(),videoPreview:R({url:f(),key:f().optional()}).optional(),pdfTranscode:R({url:f(),key:f().optional()}).optional(),isHls:dr().optional(),hls:R({key:f(),url:f().optional(),resolutions:te(R({width:Kt(),height:Kt(),resolution:f().optional(),hdr:dr().optional(),key:f().optional(),url:f().optional()})).optional()}).optional(),proxyType:Ve(["image","video","audio","pdf","3d"]).nullable().optional(),metadata:hSt.optional(),error:f().optional()}).optional(),ancestorFolders:te(mSt).optional(),versionStack:R({id:f(),versions:te(R({version:Kt(),current:dr(),id:f(),name:f().optional().nullable(),previewUrl:f().optional().nullable(),createdAt:f().optional().nullable(),creator:R({id:f(),name:f().nullable(),image:f().optional().nullable()}).nullable().optional(),agent:$ge.optional().nullable()}))}).optional().nullable()}),CLn=R({name:f(),type:f(),projectId:f().optional(),parentId:f().optional(),key:f().optional(),sizeByte:Kt().optional(),contentType:f().optional(),creatorId:f().optional(),agentId:f().optional()}),ILn=R({assetId:f()}),RLn=R({id:f(),name:f()}),xW=Ve(["file","folder","all"]),PLn=R({assetId:f().optional(),assetType:xW.optional().default("all"),projectId:f().optional(),showDeleted:dr().optional(),prefix:f().optional(),sort:f().optional(),order:f().optional(),...ks.shape}),TLn=R({assetId:f(),userId:f(),replyToId:f().optional(),message:f(),annotations:ws().optional(),second:Kt().optional(),attachmentIds:te(f())}),MSt=R({id:f(),assetId:f(),url:f(),proxyType:Ve(["image","video","audio","pdf","3d"]).nullable().optional()}),xSt=R({code:f(),count:Kt(),requestingUserReacted:dr(),creatorNames:te(f())}),ALn=R({code:f().min(1)}),ELn=R({code:f().min(1)}),vSt=R({id:f(),assetId:f(),message:f().nullable(),annotations:ws(),second:Kt().nullable(),creator:ej,replies:te(hW(()=>vSt)),attachments:te(MSt),mentions:te(ej),createdAt:f(),updatedAt:f(),sessionId:f().nullable(),isCompleted:dr(),completionLastChangedBy:ej.nullable(),reactionCounts:te(xSt)}),DLn=R({isCompleted:dr()}),OLn=R({newParentId:f(),assetIds:te(f()),creatorId:f().optional()}),NLn=R({newParentId:f(),assetIds:te(f()),withComments:dr().default(!1),creatorId:f().optional()}),FLn=R({name:f()}),jLn=R({beforeIndex:f().optional(),afterIndex:f().optional()}),BLn=R({ids:te(f())}),ULn=R({ids:te(f())}),YLn=R({file:Hge(File)}),qLn=R({key:f()}),HLn=R({fileName:f(),contentType:f(),size:Kt()}),VLn=R({id:f(),uploadUrl:f()}),WLn=R({ids:te(f())}),ySt=R({id:f(),name:f(),url:f()}),GLn=R({files:te(ySt)}),_St=Ve(["fcp-fiojson","media-composer-xml","premiere-xml","resolve-edl"]),KLn=R({format:_St,timeZone:f().refine((e)=>{try{return Intl.DateTimeFormat(void 0,{timeZone:e}),!0}catch{return!1}},{message:"Invalid IANA time zone identifier"}).optional()});var JLn=R({userCount:Kt()}),$Ln=R({name:f().min(1,"Name is required").max(100,"Name is too long")}),ekn=R({id:f(),token:f(),name:f(),createdAt:f()});var bSt=Ve(["is","eq","neq","gt","gte","lt","lte","contains","notContains","isEmpty","isNotEmpty","in","notIn","hasAny","hasAll","hasNone","isWithin"]),wSt=R({field:f(),operator:bSt,value:ws()}),zSt=Ve(["asc","desc"]),SSt=R({field:f(),order:zSt}),LSt=Ve(["AND","OR"]),kSt=Ve(["file","folder"]),tj=Ve(["jpeg","webp"]),vW=R({operator:LSt.optional().default("AND"),conditions:te(wSt).optional().default([]),sort:SSt.optional(),assetType:kSt.optional(),showSymlink:dr().optional(),recursively:dr().optional().default(!0),query:f().optional(),isSemantic:dr().optional().default(!1),previewFormat:tj.optional()}),akn=vW.extend(ks.shape);var yW=R({sourceFolderId:f(),searchFilter:vW}),CSt=R({id:f(),name:f(),filter:yW,projectId:f(),createdAt:f(),updatedAt:f(),creator:R({id:f(),name:f(),image:f().optional().nullable()}).optional().nullable()}),lkn=R({name:f(),filter:yW}),ckn=R({name:f().optional(),filter:yW.optional()});var ukn=R({data:te(CSt),pageInfo:R({cursor:f().optional(),total:Kt().optional()})});var pkn=R({name:f(),parentId:f()}),mkn=R({name:f()}),hkn=R({ids:te(f())}),gkn=R({ids:te(f())}),Mkn=R({content:f().max(1e5)});var _kn=R({code:f(),role:f(),teamId:f(),teamName:f(),projectId:f().optional(),projectName:f().optional(),inviterName:f(),isUsed:dr()}),bkn=R({role:fa(gW)}),wkn=R({role:fa(gW)}),zkn=R({code:f()});var Pr={text:"text",longText:"longText",select:"select",selectMulti:"selectMulti",rating:"rating",number:"number",toggle:"toggle",date:"date",user:"user",userMulti:"userMulti"},Cr={NONE:"NONE",CONTENT:"CONTENT",CREATION_CONTEXT:"CREATION_CONTEXT"},Ikn=R({id:f(),displayName:f(),color:f().optional()}),_W=R({name:f(),type:Ve(["text","longText","select","selectMulti","rating","number","toggle","date","user","userMulti"]),autofillSource:fa(Cr).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()}),Rkn=R({key:f().optional(),label:f().optional(),scope:f().optional(),config:_W,description:f().default("")}),Pkn=R({label:f().optional(),config:_W,description:f().optional()}),ISt=R({fieldId:f(),visible:dr()}),Tkn=te(ISt),RSt=R({key:f(),value:ws()}),Akn=te(RSt),Ekn=R({id:f(),config:_W,scope:f(),readOnly:dr(),visible:dr(),description:f()});var rMe=Ve(["auto","none","bearer","oauth"]),bW=Ve(["streamable_http","sse"]),rj=Ve(["owner","editor","reviewer"]),PSt=R({grantType:Ve(["authorization_code","client_credentials"]).optional(),clientId:f().optional(),clientSecret:f().optional(),scope:f().optional(),authorizationParams:kL(f(),f()).optional(),redirectUri:f().optional(),clientName:f().optional(),clientUri:f().optional(),skipIssuerMetadataValidation:dr().optional()}),oMe=R({type:rMe.optional(),bearerToken:f().optional(),headers:kL(f(),f()).optional(),oauth:PSt.optional()}),wW=R({excludeTools:te(f()).optional(),requestTimeoutMs:Kt().int().positive().optional(),idleTimeoutMs:Kt().int().positive().optional(),keepAlive:dr().optional(),protocolVersion:Ve(["legacy","auto","2026-07-28"]).optional(),directTools:te(f()).optional()}),TSt=R({name:f(),title:f().optional(),description:f().optional(),inputSchema:wZ().optional()}),Nkn=R({url:f().url(),transport:bW.optional(),authConfig:oMe.optional(),config:wW.optional(),permission:rj.optional()}),Fkn=R({transport:bW.optional(),authConfig:oMe.optional(),config:wW.optional(),permission:rj.optional()}),jkn=R({permission:rj}),ASt=R({id:f(),name:f(),description:f().optional(),instructions:f().optional(),url:f(),transport:bW,authType:rMe,config:wW.optional(),permission:rj,status:f(),lastError:f().nullable().optional(),toolCount:Kt(),hasCredential:dr(),createdAt:f(),updatedAt:f()}),Bkn=R({servers:te(ASt)}),Ukn=R({}),Ykn=R({tools:te(TSt)}),aMe=Ve(["authenticated","expired","not_authenticated","in_progress"]),qkn=R({status:aMe}),Hkn=R({authorizationUrl:f().optional(),status:aMe}),Vkn=R({code:f(),iss:f().optional()}),Wkn=R({ok:dr(),toolCount:Kt(),message:f().optional()});var nMe=R({id:f().optional(),name:f().optional(),role:f().optional()}),iMe=R({id:f().optional(),name:f().optional()}),ESt=R({id:f().optional(),proxyType:Ve(["image","video","audio","pdf","3d"]).nullable().optional(),name:f().optional(),preview:f().optional(),thumbnailUrl:f().optional(),originalWidth:Kt().optional(),originalHeight:Kt().optional()}),DSt=R({id:f().optional(),title:f().optional(),status:f().optional()}),Xkn=R({id:f().optional(),creator:nMe.optional(),type:f().optional(),team:iMe.optional(),project:iMe.optional(),asset:ESt.optional(),kanbanTask:DSt.optional(),user:nMe.optional(),createdAt:f().optional(),isRead:dr().optional()}),Qkn=R({unreadOnly:Xa([dr(),f()]).transform((e)=>e===!0||e==="true").optional(),after:f().optional(),pageSize:zO.number().optional()}),Jkn=R({notificationId:f().min(1)}),$kn=R({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)}),eCn=R({enabled:dr(),host:f().default(""),port:Kt().int().min(1).max(65535).default(587),username:f().optional(),password:f().optional(),smtps:dr().default(!1),ignoreCert:dr().default(!1),from:f().default(""),replyTo:f().optional()}),tCn=R({enabled:dr(),host:f().default(""),port:Kt().int().min(1).max(65535).default(587),username:f().optional(),password:f().optional(),smtps:dr().default(!1),ignoreCert:dr().default(!1),from:f().default(""),replyTo:f().optional()}),rCn=R({host:f().optional(),port:Kt().int().min(1).max(65535).optional(),username:f().optional(),password:f().optional(),smtps:dr().optional(),ignoreCert:dr().optional(),from:f().optional(),replyTo:f().optional()}),oCn=R({success:dr(),messageId:f()});var lCn=R({name:f(),coverImageKey:f().optional(),enableNotification:dr().default(!0)}),cCn=R({name:f().optional(),coverImageKey:f().optional(),enableNotification:dr().optional()}),OSt=R({id:f(),name:f(),teamId:f(),rootFolder:f().optional(),coverImage:f().optional(),coverImageKey:f().optional(),enableNotification:dr(),updatedAt:Xa([f(),ei()])}),dCn=R({sortBy:f().optional(),sortDirection:Ve(["asc","desc"]).optional(),previewFormat:tj.optional()}).merge(ks),ZCn=R({previewFormat:tj.optional()}).merge(ks),pCn=R({data:te(OSt),pageInfo:B8}),mCn=R({teamId:f()}),hCn=R({id:f(),name:f(),role:Ve(["owner","editor","reviewer","bot","unknown"]),type:fa($3).optional(),image:f().optional(),scope:Ve(["team","project"]).optional(),hasCustomRole:dr().optional()}),gCn=R({assetType:xW.optional().default("all"),sort:Ve(["createdAt","name","size"]).optional(),order:Ve(["asc","desc"]).optional()}).merge(ks),MCn=R({role:Ve(["editor","reviewer"])}),xCn=R({userId:f(),role:Ve(["owner","editor","reviewer"])}),vCn=R({id:f(),name:f(),role:Ve(["owner","editor","reviewer","bot","unknown"]),image:f().optional()});var su=["openai-completions","mistral-conversations","openai-responses","azure-openai-responses","openai-codex-responses","anthropic-messages","bedrock-converse-stream","google-generative-ai","google-vertex"],oj=R({api:Ve(su).optional(),reasoning:dr().default(!1),input:te(Ve(["text","image"])).default(["text"]),contextWindow:Kt().int().positive().default(128000),maxTokens:Kt().int().positive().default(4096),cost:R({input:Kt().nonnegative().default(0),output:Kt().nonnegative().default(0),cacheRead:Kt().nonnegative().default(0),cacheWrite:Kt().nonnegative().default(0)})}),zW=R({id:f().optional(),modelId:f().min(1,"Model ID is required"),name:f().min(0).default(""),config:oj}),ia=R({baseUrl:f().url("Must be a valid URL").optional().or(Ss("")),apiKey:f().optional().or(Ss("")),api:Ve(su),headers:kL(f(),f()).optional(),authHeader:dr().optional()}),bCn=R({name:f().min(1,"Provider name is required"),config:ia,models:te(zW).default([])}),wCn=R({name:f().min(1,"Provider name is required").optional(),config:ia,models:te(zW).optional()}),PA=R({modelId:f().min(1,"Model ID is required"),name:f().min(0).default(""),config:oj}),zCn=R({modelId:f().min(1,"Model ID is required").optional(),name:f().min(0).optional(),config:oj.optional()}),SCn=R({id:f(),name:f(),isBuiltin:dr(),config:ia,models:te(zW).optional(),modelsCount:Kt().optional(),createdAt:ei(),updatedAt:ei()}),fMe=R({modelId:f().min(1),name:f().default(""),config:oj}),NSt=R({name:f(),isNewProvider:dr(),config:ia,models:te(fMe)}),LCn=R({providers:te(NSt),totalNewProviders:Kt(),totalNewModels:Kt()}),kCn=R({providers:te(R({name:f(),isNewProvider:dr(),config:ia,models:te(fMe)}))}),CCn=R({addedProviders:Kt(),addedModels:Kt()});var TCn=R({name:f().min(1),expireAt:f().datetime().optional(),password:f().optional(),isDisabled:dr().optional(),allowDownload:dr().optional(),defaultSortOrder:f().optional(),viewMode:f().optional()}),ACn=R({name:f().min(1).optional(),expireAt:f().datetime().optional().nullable(),password:f().optional().nullable(),isDisabled:dr().optional(),allowDownload:dr().optional(),defaultSortOrder:f().optional().nullable(),viewMode:f().optional().nullable(),fieldVisibility:kL(f(),dr()).optional().nullable()}),ECn=ks.extend({projectId:f().optional()}),DCn=R({assetIds:te(f().min(1)).min(1)});var FCn=R({assetId:f().optional(),githubUrl:f().optional(),override:dr().optional()}),jCn=R({config:R({environmentVariables:te(R({name:f(),default:f().optional()}))})}),BCn=R({permission:Ve(["owner","editor","reviewer"])});var VCn=R({name:f()}),FSt=R({id:f(),name:f(),rootFolder:f().optional(),updatedAt:Xa([f(),ei()])});var WCn=R({data:te(FSt),pageInfo:B8}),GCn=R({teamId:f(),userId:f()}),KCn=R({id:f(),name:f(),email:f().optional(),role:Ve(["owner","editor","reviewer","bot","unknown"]),image:f().optional(),unreadNotificationCount:Kt().optional()}),XCn=R({name:f().optional(),imageKey:f().nullable().optional()}),QCn=R({id:f(),name:f(),role:Ve(["owner","editor","reviewer","bot","unknown"]),email:f().optional(),type:fa($3).optional(),image:f().optional(),scope:fa(Wge).optional()}),JCn=R({includeAgents:f().optional().transform((e)=>e==="true")}),Vs={best_match:"best_match",multi:"multi",all:"all"},jSt={r480p:"480p",r720p:"720p",r1080p:"1080p",r1440p:"1440p",r2160p:"2160p"},NA=["480p","720p","1080p","1440p","2160p"],ja={off:"off",auto:"auto"},BSt={r480p:"480p",r720p:"720p",r1080p:"1080p",r1440p:"1440p",r2160p:"2160p"},DA=["480p","720p","1080p"],$Cn=Xa([R({key:Ss("transcode.videoStrategy"),value:fa(Vs)}),R({key:Ss("transcode.videoResolutions"),value:te(fa(jSt))}),R({key:Ss("transcode.hardwareAcceleration"),value:fa(ja)}),R({key:Ss("transcode.threads"),value:Kt().int().min(0).max(32)}),R({key:Ss("transcode.hlsEnabled"),value:dr()}),R({key:Ss("transcode.hlsResolutions"),value:te(fa(BSt))}),R({key:Ss("appearance.hideAgent"),value:dr()})]),eIn=R({url:f().optional(),username:f().optional(),hasPassword:dr(),isEnvConfigured:dr()}),tIn=R({url:f().optional(),username:f().optional(),password:f().optional()}),rIn=R({url:f().optional(),username:f().optional(),hasPassword:dr(),isEnvConfigured:dr()}),oIn=R({url:f().optional(),username:f().optional(),password:f().optional()}),aIn=R({networkSandboxEnabled:dr(),allowedDomains:te(f()),pendingDomains:te(f()).default([])}),nIn=R({networkSandboxEnabled:dr().optional(),allowedDomains:te(f()).optional(),pendingDomains:te(f()).optional()}),iIn=R({role:Ve(["editor","reviewer"])});var sMe=hW(()=>R({name:f(),id:f(),size:Kt(),children:te(sMe),type:f(),mediaType:f().optional()})),lIn=R({parentId:f(),files:te(sMe)}),USt=R({id:f(),fileId:f(),url:f()}),cIn=R({taskId:f(),presignedUrls:te(USt),storageBackend:Ve(["s3","local"]).default("local"),createdAssets:te(R({tempId:f(),assetId:f(),key:f().optional()})).optional()}),uIn=R({key:f().min(1),method:Ve(["PUT","POST","GET","DELETE"]),uploadId:f().optional(),partNumber:Kt().int().positive().optional(),fileId:f().min(1)}),dIn=R({url:f()}),ZIn=R({fileId:f().min(1),uploadId:f().optional(),key:f().optional()}),pIn=R({success:dr()}),mIn=R({fileId:f(),errorMessage:f().optional()}),hIn=R({id:f(),name:f(),total:Kt(),uploaded:Kt(),createdAt:f()}),gIn=R({bucket:f(),key:f(),Signature:f()}),MIn=R({file:Hge(File)});var YSt=R({key:f(),value:wZ()}),yIn=R({value:wZ()}),_In=te(YSt);var zIn=R({fileIds:te(f())}),SIn=R({fileId:f(),beforeId:f()}),LIn=R({id:f(),version:Kt(),name:f().optional().nullable(),previewUrl:f().optional().nullable(),createdAt:f().optional().nullable(),creator:R({id:f(),name:f().nullable(),image:f().optional().nullable()}).nullable().optional(),agent:R({id:f(),name:f()}).nullable().optional()});var IIn=R({agentId:f(),textPrompt:f().optional(),attachedFiles:te(f()).optional(),assetIds:te(f()).optional(),sessionId:f().optional(),contextAssetId:f().optional(),projectId:f().optional(),second:Kt().nullable().optional(),annotations:te(kL(f(),wZ())).optional()}).superRefine((e,r)=>{let a=e.textPrompt&&e.textPrompt.trim().length>0,i=e.attachedFiles&&e.attachedFiles.length>0,s=e.assetIds&&e.assetIds.length>0,l=e.annotations&&e.annotations.length>0;if(!a&&!i&&!s&&!l)r.addIssue({code:oo.custom,message:"At least one of textPrompt, attachedFiles, assetIds, or annotations must be provided.",path:["textPrompt"]})}),RIn=R({id:f(),agentId:f(),userId:f().nullable(),assetId:f().nullable(),userCommentId:f().nullable(),name:f().nullable().optional(),createdAt:f(),updatedAt:f()}),qSt=R({id:f(),name:f(),type:f(),mediaType:Ve(["image","video","pdf","audio","3d","other"]).optional(),mimeType:f().optional(),parentId:f().optional(),path:f().optional(),durationSeconds:Kt().optional(),totalFrames:Kt().optional(),totalPages:Kt().optional(),navigated:dr().optional(),ancestors:te(R({id:f(),name:f()})).optional()}),lMe=R({id:f(),name:f(),type:f(),mediaType:Ve(["image","video","pdf","audio","3d","other"]).optional(),mimeType:f().optional(),path:f().optional(),url:f().optional()}),HSt=Fge("type",[R({type:Ss("time"),seconds:Kt()}),R({type:Ss("page"),page:Kt()}),R({type:Ss("degree"),degree:Kt().int()})]),VSt=R({id:f(),replyCount:Kt().optional()}),PIn=R({id:f().optional(),user:R({id:f(),name:f(),role:f()}).optional(),thread:VSt.optional(),currentAsset:qSt.optional(),position:HSt.optional(),annotation:dr().optional(),annotations:te(kL(f(),wZ())).optional(),attachedFiles:te(lMe).optional(),referencedAssets:te(lMe).optional()}),TIn=jge(R({id:f()}),wZ());var Fl;((Ge)=>{Ge.team_create="team_create";Ge.team_update="team_update";Ge.team_delete="team_delete";Ge.team_member_add="team_member_add";Ge.team_member_update="team_member_update";Ge.team_member_remove="team_member_remove";Ge.project_create="project_create";Ge.project_update="project_update";Ge.project_delete="project_delete";Ge.project_empty_trash="project_empty_trash";Ge.project_member_add="project_member_add";Ge.project_member_update="project_member_update";Ge.project_member_remove="project_member_remove";Ge.file_create="file_create";Ge.file_update="file_update";Ge.file_delete="file_delete";Ge.folder_create="folder_create";Ge.folder_update="folder_update";Ge.folder_delete="folder_delete";Ge.asset_reparent="asset_reparent";Ge.asset_copy="asset_copy";Ge.share_create="share_create";Ge.share_update="share_update";Ge.share_delete="share_delete";Ge.agent_create="agent_create";Ge.agent_update="agent_update";Ge.agent_delete="agent_delete";Ge.skill_create="skill_create";Ge.skill_update="skill_update";Ge.skill_delete="skill_delete";Ge.mcp_server_create="mcp_server_create";Ge.mcp_server_update="mcp_server_update";Ge.mcp_server_delete="mcp_server_delete";Ge.provider_create="provider_create";Ge.provider_update="provider_update";Ge.provider_delete="provider_delete";Ge.invite_create="invite_create";Ge.invite_revoke="invite_revoke";Ge.metadata_field_create="metadata_field_create";Ge.metadata_field_update="metadata_field_update";Ge.metadata_field_delete="metadata_field_delete";Ge.comment_create="comment_create";Ge.comment_update="comment_update";Ge.comment_delete="comment_delete";Ge.comment_complete="comment_complete";Ge.quota_rule_create="quota_rule_create";Ge.quota_rule_update="quota_rule_update";Ge.quota_rule_delete="quota_rule_delete";Ge.quota_record_reset="quota_record_reset";Ge.quota_policy_create="quota_policy_create";Ge.quota_policy_update="quota_policy_update";Ge.quota_policy_delete="quota_policy_delete";Ge.kanban_goal_create="kanban_goal_create";Ge.kanban_goal_update="kanban_goal_update";Ge.kanban_goal_delete="kanban_goal_delete";Ge.kanban_task_create="kanban_task_create";Ge.kanban_task_update="kanban_task_update";Ge.kanban_task_delete="kanban_task_delete";Ge.kanban_comment_create="kanban_comment_create";Ge.kanban_comment_delete="kanban_comment_delete";Ge.kanban_dependency_add="kanban_dependency_add";Ge.kanban_dependency_remove="kanban_dependency_remove"})(Fl||={});var WSt=R({id:f(),action:fa(Fl),teamId:f(),userId:f().nullable().optional(),agentId:f().nullable().optional(),agent:R({id:f(),name:f()}).nullable().optional(),projectId:f().nullable().optional(),itemId:f().nullable().optional(),createdAt:f()}),DIn=R({first:zO.number().optional(),after:f().optional(),actions:Xa([fa(Fl),te(fa(Fl))]).transform((e)=>Array.isArray(e)?e:[e]).optional(),userIds:Xa([f(),te(f())]).transform((e)=>Array.isArray(e)?e:[e]).optional(),agentIds:Xa([f(),te(f())]).transform((e)=>Array.isArray(e)?e:[e]).optional(),itemId:f().optional()}),OIn=R({nodes:te(WSt),pageInfo:R({hasNextPage:dr(),endCursor:f().nullable()}),total:Kt()});var GSt=R({id:f(),type:Ss("text"),x:Kt().min(0).max(1),y:Kt().min(0).max(1),opacity:Kt().min(0).max(1),rotation:Kt().min(-180).max(180),text:f(),size:Kt().positive().max(1),color:f()}),KSt=R({id:f(),type:Ss("image"),x:Kt().min(0).max(1),y:Kt().min(0).max(1),opacity:Kt().min(0).max(1),rotation:Kt().min(-180).max(180),imageAssetKey:f().min(1),imageAssetUrl:f().optional(),size:Kt().positive().max(1)}),XSt=Fge("type",[GSt,KSt]),SW=R({blocks:te(XSt)}),jIn=R({name:f().min(1),teamId:f().optional(),config:SW}),BIn=R({name:f().min(1).optional(),config:SW.optional()}),UIn=R({enabled:dr(),config:SW.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 LW=fa(Gge),kW=Ve(["1hour","5hour","1day","7day","one_hour","five_hours","one_day","seven_days"]);function iu(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 CW=fa(Kge),IW=Ve(["owner","editor","reviewer"]),cMe=R({id:f().min(1,"MCP server ID is required")}),uMe=R({match:f().min(1,"Bash match wildcard is required")}),dMe=R({name:f().min(1,"Tool name is required")}),RW=kL(f(),wZ()),QSt=R({id:f().nullable(),ruleId:f(),teamId:f(),userId:f().nullable().optional(),user:R({id:f(),name:f(),email:f(),image:f().nullable().optional()}).nullable().optional(),periodStart:f().nullable().optional(),periodEnd:f().nullable().optional(),consumed:Kt(),remaining:Kt(),percent:Kt(),isWindowActive:dr()}),WIn=R({records:te(QSt),total:Kt()}),JSt=R({id:f(),teamId:f(),scopeMode:LW,role:IW.nullable().optional(),userIds:te(f()).nullable().optional(),resource:CW,resourceData:RW.nullable().optional(),limit:Kt(),period:kW,enabled:dr(),recordsCount:Kt().optional(),createdAt:f(),updatedAt:f()}),GIn=R({rules:te(JSt),total:Kt()}),KIn=R({scopeMode:LW,role:IW.optional().nullable(),userIds:te(f()).optional().nullable(),resource:CW,resourceData:RW.optional().nullable(),limit:Kt().positive("Limit must be greater than 0"),period:kW,enabled:dr().optional().default(!0)}).superRefine((e,r)=>{if(e.scopeMode==="selected_members"){if(!e.userIds||e.userIds.length===0)r.addIssue({code:oo.custom,message:'userIds must contain at least one user when scopeMode is "selected_members"',path:["userIds"]})}if(e.resource==="agent_mcp_call_count"){if(!cMe.safeParse(e.resourceData).success)r.addIssue({code:oo.custom,message:"resourceData.id is required for agent_mcp_call_count",path:["resourceData","id"]})}else if(e.resource==="agent_bash_call_count"){if(!uMe.safeParse(e.resourceData).success)r.addIssue({code:oo.custom,message:"resourceData.match is required for agent_bash_call_count",path:["resourceData","match"]})}else if(e.resource==="agent_tool_call_count"){if(!dMe.safeParse(e.resourceData).success)r.addIssue({code:oo.custom,message:"resourceData.name is required for agent_tool_call_count",path:["resourceData","name"]})}}),XIn=R({userId:f().nullable()}),QIn=R({scopeMode:LW.optional(),role:IW.optional().nullable(),userIds:te(f()).optional().nullable(),resource:CW.optional(),resourceData:RW.optional().nullable(),limit:Kt().positive("Limit must be greater than 0").optional(),period:kW.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:oo.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(!cMe.safeParse(e.resourceData).success)r.addIssue({code:oo.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(!uMe.safeParse(e.resourceData).success)r.addIssue({code:oo.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(!dMe.safeParse(e.resourceData).success)r.addIssue({code:oo.custom,message:"resourceData.name is required for agent_tool_call_count",path:["resourceData","name"]})}});var wi="unassigned",e1n=R({title:f().min(1),description:f().optional()}),t1n=R({title:f().min(1).optional(),description:f().nullable().optional()}),$St=R({id:f(),title:f(),description:f().nullable().optional(),teamId:f(),creatorId:f().nullable().optional(),taskCount:Kt().optional(),createdAt:Xa([f(),ei()]),updatedAt:Xa([f(),ei()])}),r1n=R({}),o1n=R({data:te($St)});var hM=R({id:f(),name:f(),image:f().optional()}),eLt=R({summary:f().optional(),blockReason:f().optional(),blockKind:f().optional(),reason:f().optional(),assets:te(R({id:f(),type:f().optional(),name:f().optional(),description:f().optional()})).optional()}).passthrough(),PW=R({id:f(),taskId:f(),actor:hM.nullable().optional(),type:fa(pf),fromStatus:fa(Qe).nullable().optional(),toStatus:fa(Qe).nullable().optional(),data:eLt.nullable().optional(),createdAt:Xa([f(),ei()])}),f1n=R({data:te(PW)});var tLt=R({id:f(),name:f(),key:f(),sizeByte:Kt(),contentType:f().nullable().optional(),proxyType:Ve(["image","video","audio","pdf","3d"]).nullable().optional()}),rLt=R({id:f(),name:f(),sizeByte:Kt(),contentType:f().nullable().optional(),url:f(),proxyType:Ve(["image","video","audio","pdf","3d"]).nullable().optional()}),u1n=R({id:f(),name:f(),key:f(),sizeByte:Kt(),contentType:f().nullable().optional(),uploadUrl:f(),proxyType:Ve(["image","video","audio","pdf","3d"]).nullable().optional()}),d1n=R({body:f().default(""),attachments:te(tLt).optional()}).refine((e)=>e.body.trim().length>0||e.attachments&&e.attachments.length>0,{message:"Comment body or attachments required"}),TW=R({id:f(),taskId:f(),author:hM,body:f(),attachments:te(rLt).default([]),createdAt:Xa([f(),ei()]),updatedAt:Xa([f(),ei()])}),Z1n=R({data:te(TW)});var v1n=R({title:f().min(1),description:f().optional(),isAgentTask:dr().optional(),priority:fa(zr).optional(),startDate:Xa([f(),ei()]).optional(),dueDate:Xa([f(),ei()]).optional(),goalId:f().optional(),projectId:f().optional(),reporterId:f().optional(),assigneeId:f().optional(),targetFolderId:f().optional(),parentIds:te(f()).optional(),assetIds:te(f()).optional()}),y1n=R({fromStatus:fa(Qe).optional(),title:f().min(1).optional(),description:f().nullable().optional(),status:fa(Qe).optional(),reason:f().optional(),priority:fa(zr).optional(),startDate:Xa([f(),ei()]).nullable().optional(),dueDate:Xa([f(),ei()]).nullable().optional(),goalId:f().nullable().optional(),projectId:f().nullable().optional(),reporterId:f().nullable().optional(),assigneeId:f().nullable().optional(),targetFolderId:f().nullable().optional(),beforeIndex:f().optional(),afterIndex:f().optional(),parentIds:te(f()).optional(),assetIds:te(f()).optional()}),_1n=R({status:fa(Qe).optional(),isAgentTask:Xa([dr(),f()]).transform((e)=>e===!0||e==="true").optional(),goalId:f().optional(),projectId:f().optional(),priority:fa(zr).optional(),assigneeId:f().optional(),reporterId:f().optional()}).merge(ks),oLt=R({id:f(),type:fa(pf),actor:hM.nullable().optional(),summary:f().optional(),blockReason:f().optional(),blockKind:f().optional(),reason:f().optional(),createdAt:Xa([f(),ei()])}),aLt=R({id:f(),title:f()}),ZMe=R({id:f(),title:f(),isAgentTask:dr(),status:fa(Qe),priority:fa(zr),sortIndex:f().nullable().optional()}),nLt=R({id:f(),name:f(),type:f(),proxyType:Ve(["image","video","audio","pdf","3d"]).nullable().optional(),thumbnailUrl:f().nullable().optional(),path:f(),creator:hM.nullable().optional(),sizeByte:Kt().optional(),fileCount:Kt().optional(),projectId:f().nullable().optional(),createdAt:Xa([f(),ei()])}),AW=R({id:f(),title:f(),description:f().nullable().optional(),isAgentTask:dr(),status:fa(Qe),priority:fa(zr),startDate:Xa([f(),ei()]).nullable().optional(),dueDate:Xa([f(),ei()]).nullable().optional(),startedAt:Xa([f(),ei()]).nullable().optional(),completedAt:Xa([f(),ei()]).nullable().optional(),teamId:f(),projectId:f().nullable().optional(),sortIndex:f().nullable().optional(),creator:hM,reporter:hM.nullable().optional(),assignee:hM.nullable().optional(),goal:aLt.nullable().optional(),targetFolderId:f().nullable().optional(),latestStatusEvent:oLt.nullable().optional(),commentCount:Kt().default(0),dependencyCount:Kt().default(0),dependentCount:Kt().default(0),assetCount:Kt().default(0),createdAt:Xa([f(),ei()]),updatedAt:Xa([f(),ei()])}),b1n=AW.extend({dependencies:te(ZMe),dependents:te(ZMe),assets:te(nLt),comments:te(TW),events:te(PW)}),w1n=R({data:te(AW),pageInfo:B8}),z1n=R({taskId:f()}),S1n=R({assetIds:te(f())}),L1n=R({data:te(AW),total:Kt()});var D1n=R({assetId:f()});function pMe(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")}function Ca(e,r){if(r===void 0||r===null)return"";return` ${e}="${pMe(r)}"`}function OA(e){if(!e)return"";let r=[];if(e.user){let a="";if(e.user.id!==void 0)a+=Ca("id",e.user.id);if(e.user.name!==void 0)a+=Ca("name",e.user.name);if(e.user.role!==void 0)a+=Ca("role",e.user.role);if(a)r.push(` <user${a} />`)}if(e.thread){let a="";if(e.thread.id!==void 0)a+=Ca("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+=Ca("id",a.id);if(a.name!==void 0)i+=Ca("name",a.name);if(a.type!==void 0)i+=Ca("type",a.type);if(a.mediaType!==void 0)i+=Ca("media_type",a.mediaType);if(a.mimeType!==void 0)i+=Ca("mime_type",a.mimeType);if(a.parentId!==void 0)i+=Ca("parent_id",a.parentId);if(a.path!==void 0)i+=Ca("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 s of a.ancestors){let l="";if(s.id!==void 0)l+=Ca("id",s.id);if(s.name!==void 0)l+=Ca("name",s.name);r.push(` <folder${l} />`)}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)}" />`);else if(e.position.type==="degree")r.push(` <position type="degree" degree="${Math.round(e.position.degree)}" />`)}if(e.annotation)if(e.id!==void 0)r.push(` <annotation id="${pMe(e.id)}" />`);else r.push(" <annotation />");if(e.attachedFiles&&e.attachedFiles.length>0){let a=[...e.attachedFiles].sort((i,s)=>i.id.localeCompare(s.id));r.push(" <attached_files>");for(let i of a){let s="";if(i.id!==void 0)s+=Ca("id",i.id);if(i.name!==void 0)s+=Ca("name",i.name);if(i.type!==void 0)s+=Ca("type",i.type);if(i.mediaType!==void 0)s+=Ca("media_type",i.mediaType);if(i.mimeType!==void 0)s+=Ca("mime_type",i.mimeType);if(i.path!==void 0)s+=Ca("path",i.path);r.push(` <file${s} />`)}r.push(" </attached_files>")}if(e.referencedAssets&&e.referencedAssets.length>0){let a=[...e.referencedAssets].sort((i,s)=>i.id.localeCompare(s.id));r.push(" <referenced_assets>");for(let i of a)if(i.type==="folder"){let s="";if(i.id!==void 0)s+=Ca("id",i.id);if(i.name!==void 0)s+=Ca("name",i.name);if(i.path!==void 0)s+=Ca("path",i.path);r.push(` <folder${s} />`)}else{let s="";if(i.id!==void 0)s+=Ca("id",i.id);if(i.name!==void 0)s+=Ca("name",i.name);if(i.type!==void 0)s+=Ca("type",i.type);if(i.mediaType!==void 0)s+=Ca("media_type",i.mediaType);if(i.mimeType!==void 0)s+=Ca("mime_type",i.mimeType);if(i.path!==void 0)s+=Ca("path",i.path);r.push(` <asset${s} />`)}r.push(" </referenced_assets>")}if(r.length===0)return"";return`<context>
196
- ${r.join(`
197
- `)}
198
- </context>`}var QR=Ve(["image","video"]),iLt=Ve(["configured_custom","configured_env","not_configured"]),j1n=R({apiKey:f().optional().or(Ss("")),models:te(R({type:QR,modelId:f().min(1,"Model ID is required"),name:f().optional()})).optional()});var B1n=R({type:QR,provider:f().min(1,"Provider is required"),modelId:f().min(1,"Model ID is required"),name:f().optional()}),fLt=R({id:f(),type:QR,provider:f(),modelId:f(),name:f(),createdAt:f()}),sLt=R({provider:f(),defaultEnvKey:f(),apiKeyConfigured:dr(),status:iLt,customApiKeyOrEnv:f().optional(),supportedTypes:te(QR)}),U1n=R({providers:te(sLt),enabledModels:te(fLt)}),Y1n=R({modelId:f(),name:f(),type:QR}),q1n=R({provider:f().optional(),type:QR.optional()});var mMe=86400000,kn=(e)=>{let r=dM(e),a=new Date;if(isNaN(r.getTime()))return e;let i=Ar(r,"HH:mm");if(lO(r))return eMt({time:i});if(cO(r))return Avt({time:i});let s=gV(a,r),l=s>=0?s:0;return l===1?Cle({count:l}):kle({count:l})},FA=(e)=>{let r=dM(e),a=new Date;if(isNaN(r.getTime()))return e;if(lO(r))return Tle();if(cO(r))return Ale();let i=gV(a,r),s=i>=0?i:0;return s===1?Cle({count:s}):kle({count:s})},em=(e,r=new Date)=>{let a=typeof e==="string"?dM(e).getTime():e instanceof Date?e.getTime():NaN;if(isNaN(a))return"< 1m";let i=a-r.getTime();if(i<=0)return"< 1m";let s=Math.floor(i/1000),l=Math.floor(s/86400),c=Math.floor(s%86400/3600),d=Math.floor(s%3600/60);if(l>0)return c>0?`${l}d ${c}h`:`${l}d`;if(c>0)return d>0?`${c}h ${d}m`:`${c}h`;return d>0?`${d}m`:"< 1m"},Wd=(e,r=new Date)=>{if(!e)return null;let a=dM(e);if(isNaN(a.getTime()))return null;let i=a.getTime()+eMe*mMe;return Math.max(0,Math.ceil((i-r.getTime())/mMe))};S();var SO=10,DW=10,EW=SO*DW,Yd=({spriteUrl:e,thumbnailUrl:r,videoWidth:a,videoHeight:i,className:s="",reverse:l=!1})=>{let c=_(null),[d,h]=u({width:0,height:0}),[g,x]=u({width:0,height:0}),[v,b]=u(!1),[y,k]=u(!1),[T,U]=u(!1),[N,j]=u(0),[G,X]=u(0);m(()=>{if(!c.current)return;let be=new ResizeObserver((We)=>{for(let Ye of We)h({width:Ye.contentRect.width,height:Ye.contentRect.height})});return be.observe(c.current),()=>be.disconnect()},[]);let J=P(()=>{if(y||T)return;U(!0);let be=new Image;be.src=e,be.onload=()=>{x({width:be.naturalWidth,height:be.naturalHeight}),k(!0),U(!1)},be.onerror=()=>{console.error("Failed to load sprite image"),U(!1)}},[e,y,T]),ee=()=>{b(!0),J()},re=()=>{b(!1)},oe=(be)=>{if(!c.current)return;let We=c.current.getBoundingClientRect(),Ye=be.clientX-We.left,Se=Math.max(0,Math.min(Ye,We.width));X(Se);let He=Se/We.width,ft=Math.min(Math.floor(He*EW),EW-1),Je=l?EW-1-ft:ft;j(Je)},fe=D(()=>{if(d.width===0||d.height===0)return{};let be=a/i;if(g.width>0&&g.height>0){let Wt=g.width/SO,Fe=g.height/DW;be=Wt/Fe}let We=d.width/d.height,Ye,Se;if(We>be)Se=d.height,Ye=Se*be;else Ye=d.width,Se=Ye/be;let He=Math.ceil(Ye),ft=Math.ceil(Se),Je=He*SO,xt=ft*DW,Ft=N%SO,Bt=Math.floor(N/SO),ie=-(Ft*He),bt=-(Bt*ft);return{backgroundImage:`url(${e})`,backgroundSize:`${Je}px ${xt}px`,backgroundPosition:`${ie}px ${bt}px`,backgroundRepeat:"no-repeat",width:`${He}px`,height:`${ft}px`,imageRendering:"auto"}},[d,a,i,N,e,g]);return o("div",{ref:c,"data-testid":"sprite-scrubber","data-frame":N,className:`relative w-full h-full overflow-hidden cursor-crosshair group bg-black select-none ${s}`,onMouseEnter:ee,onMouseLeave:re,onMouseMove:oe,children:[t("img",{src:r,alt:"Thumbnail",className:`absolute inset-0 w-full h-full object-contain transition-opacity duration-200 ${v&&y?"opacity-0":"opacity-100"}`,draggable:!1}),v&&!y&&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"})}),y&&t("div",{className:`absolute inset-0 flex items-center justify-center transition-opacity duration-75 ${v?"opacity-100":"opacity-0"}`,children:t("div",{style:fe})}),v&&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(${G}px)`}})]})};S();var nl=(e,r)=>{let a=new RegExp(`(${Object.keys(r).map((i)=>`\\{${i}\\}`).join("|")})`,"g");return t("span",{children:e.split(a).map((i,s)=>{let l=i.match(/^\{(.+)\}$/);if(l&&r[l[1]])return t(In,{children:r[l[1]]},s);return i})})},hMe=({notification:e})=>{let r=Re(),{creator:a,createdAt:i,isRead:s,type:l,asset:c,project:d,team:h,user:g,kanbanTask:x}=e,v=(()=>{let T=a?.name||Dl(),U=c?.name||x8t(),N=x?.title||k8t(),j=d?.name||z8t(),G=h?.name||R8t(),X=g?.name||Dl(),J={creator:t("span",{className:"font-semibold",children:T}),asset:t("span",{className:"font-semibold",children:U}),task:t("span",{className:"font-semibold",children:N}),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(l){case"comment_created":return nl(ktt({creator:"{creator}",asset:"{asset}"}),J);case"reply_created":return nl(crt({creator:"{creator}",asset:"{asset}"}),J);case"mention":return nl(x?frt({creator:"{creator}",task:"{task}"}):art({creator:"{creator}",asset:"{asset}"}),J);case"successful_file_uploaded":return nl(vrt({creator:"{creator}",asset:"{asset}",project:"{project}"}),J);case"metadata_field_updated_status":return nl(grt({creator:"{creator}",asset:"{asset}"}),J);case"new_user_join_team":return nl(Ott({user:"{user}",team:"{team}"}),J);case"new_user_join_project":return nl(Att({user:"{user}",project:"{project}"}),J);case"kanban_task_created":return nl(Vtt({creator:"{creator}",task:"{task}"}),J);case"kanban_task_assigned":return nl(jtt({creator:"{creator}",task:"{task}"}),J);case"kanban_task_status_updated":return nl(Jtt({creator:"{creator}",task:"{task}"}),J);case"kanban_task_updated":return nl(trt({creator:"{creator}",task:"{task}"}),J);case"kanban_task_deleted":return nl(Ktt({creator:"{creator}",task:"{task}"}),J);case"kanban_task_comment_created":return nl(Ytt({creator:"{creator}",task:"{task}"}),J);default:return nl(Rtt({creator:"{creator}"}),J)}})(),b=c?.proxyType==="video"&&c.preview&&c.thumbnailUrl&&c.originalWidth&&c.originalHeight,y=c?.preview&&(c.proxyType==="image"||c.proxyType==="video");return o("div",{onClick:()=>{if(x?.id&&h?.id)r({to:"/teams/$teamId/kanban",params:{teamId:h.id},search:{taskId:x.id}});else if(d?.id&&c?.id)r({to:"/projects/$projectId/files/$fileId",params:{projectId:d.id,fileId:c.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",s?"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:v}),t("div",{className:"text-[11px] text-muted-foreground mt-1",children:kn(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(Yd,{spriteUrl:c.preview,thumbnailUrl:c.thumbnailUrl,videoWidth:c.originalWidth,videoHeight:c.originalHeight}):t("img",{src:c.preview,alt:c.name,className:"w-full h-full object-cover"})})]})};function Eo({className:e,orientation:r="horizontal",...a}){return t(cTe,{"data-slot":"tabs","data-orientation":r,orientation:r,className:E("group/tabs flex gap-2 data-[orientation=horizontal]:flex-col",e),...a})}var lLt=ps("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 Co({className:e,variant:r="default",...a}){return t(uTe,{"data-slot":"tabs-list","data-variant":r,className:E(lLt({variant:r}),e),...a})}function Yr({className:e,...r}){return t(dTe,{"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 Rn({className:e,...r}){return t(ZTe,{"data-slot":"tabs-content",className:E("flex-1 outline-none",e),...r})}S();var gMe=()=>{let{teamId:e}=ut(),[r,a]=u("all"),i=V(),{ref:s,inView:l}=Nt(),c=(N,j)=>["notifications",N,{unreadOnly:j}],{data:d,fetchNextPage:h,hasNextPage:g,isFetchingNextPage:x,isLoading:v,refetch:b}=mt({queryKey:c(e??null,r==="unread"),queryFn:async({pageParam:N})=>{let j=await A.api.teams[":teamId"].notifications.$get({param:{teamId:e},query:{unreadOnly:r==="unread"?"true":"false",...N?{after:N}:{},pageSize:"20"}});if(!j.ok)throw Error("failed to fetch notifications");return j.json()},initialPageParam:void 0,getNextPageParam:(N)=>N.pageInfo?.cursor||void 0,enabled:!!e});m(()=>{if(l&&g)h()},[l,g,h]);let y=D(()=>d?.pages.flatMap((N)=>N.data||[])||[],[d]);m(()=>{if(e)i.invalidateQueries({queryKey:["teams",e,"me"]})},[e,y.length,i]);let k=A.api.teams[":teamId"].notifications.read.$post,T=B({mutationFn:async({teamId:N,notificationId:j})=>{if(!(await k({param:{teamId:N},json:{notificationId:j}})).ok)throw Error("failed to mark read");return null}}),U=async()=>{if(y.length>0&&e){let N=y[0].id;if(N){i.setQueryData(["teams",e,"me"],(j)=>{if(!j)return j;return{...j,unreadNotificationCount:0}});try{await T.mutateAsync({teamId:e,notificationId:N})}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(Eo,{value:r,onValueChange:(N)=>a(N),className:"w-full",children:o("div",{className:"flex items-center justify-between mb-2",children:[o(Co,{className:"h-8",children:[t(Yr,{value:"all",className:"text-xs px-3 h-6",children:_Oe()}),t(Yr,{value:"unread",className:"text-xs px-3 h-6",children:U8t()})]}),t(C,{variant:"ghost",size:"sm",className:"h-8 px-2 text-muted-foreground hover:text-foreground",onClick:U,disabled:y.length===0||T.isPending,title:_Ke(),children:t(E2,{className:"w-4 h-4"})})]})})}),o("div",{className:"flex-1 overflow-y-auto p-2 min-h-0",children:[v&&t("div",{className:"flex justify-center p-4",children:t(O,{className:"w-6 h-6 animate-spin text-muted-foreground"})}),!v&&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:Cet()})}),t("div",{className:"space-y-1",children:y.map((N)=>t(hMe,{notification:N},N.id))}),t("div",{ref:s,className:"h-4 w-full flex justify-center p-1",children:x&&t(O,{className:"w-4 h-4 animate-spin text-muted-foreground"})})]})]})};var CL=null,dn=Rr((e)=>({projectState:null,setProjectState:(r)=>{if(CL)clearTimeout(CL),CL=null;e({projectState:r})},clearProjectState:()=>{if(CL)clearTimeout(CL);CL=setTimeout(()=>{e({projectState:null}),CL=null},10)}}));var cLt=ps("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 he({className:e,variant:r="default",asChild:a=!1,...i}){let s=a?Bae:"span";return t(s,{"data-slot":"badge","data-variant":r,className:E(cLt({variant:r}),e),...i})}var aj={viewBox:"0 -960 960 960",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},MMe=(e)=>t("svg",{...aj,...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"})}),xMe=(e)=>t("svg",{...aj,...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"})}),vMe=(e)=>t("svg",{...aj,...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"})}),yMe=(e)=>t("svg",{...aj,...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"})}),_Me=(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"})]}),bMe=(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"})}),xi=(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"})]}),gM=(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"})]}),wMe=(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 zMe({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 SMe=({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"})}),LMe=(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"})});S();S();var{create:uLt,defineProperty:DMe,defineProperties:dLt,getOwnPropertyDescriptor:ZLt,getOwnPropertyDescriptors:pLt,getOwnPropertySymbols:cj}=Object,OMe=Object.prototype.hasOwnProperty,NMe=Object.prototype.propertyIsEnumerable,mLt=(e,r)=>(r=Symbol[e])?r:Symbol.for("Symbol."+e),PO=(e)=>{throw TypeError(e)},jW=(e,r,a)=>(r in e)?DMe(e,r,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[r]=a,OW=(e,r)=>{for(var a in r||(r={}))if(OMe.call(r,a))jW(e,a,r[a]);if(cj){for(var a of cj(r))if(NMe.call(r,a))jW(e,a,r[a])}return e},NW=(e,r)=>dLt(e,pLt(r)),hLt=(e,r)=>{var a={};for(var i in e)if(OMe.call(e,i)&&r.indexOf(i)<0)a[i]=e[i];if(e!=null&&cj){for(var i of cj(e))if(r.indexOf(i)<0&&NMe.call(e,i))a[i]=e[i]}return a},gLt=(e)=>{var r;return[,,,uLt((r=void 0)!=null?r:null)]},FMe=["class","method","getter","setter","accessor","field","value","get","set"],kO=(e)=>e!==void 0&&typeof e!=="function"?PO("Function expected"):e,MLt=(e,r,a,i,s)=>({kind:FMe[e],name:r,metadata:i,addInitializer:(l)=>a._?PO("Already initialized"):s.push(kO(l||null))}),xLt=(e,r)=>jW(r,mLt("metadata"),e[3]),nj=(e,r,a,i)=>{for(var s=0,l=e[r>>1],c=l&&l.length;s<c;s++)r&1?l[s].call(a):i=l[s].call(a,i);return i},jMe=(e,r,a,i,s,l)=>{var c,d,h,g,x,v=r&7,b=!1,y=!1,k=e.length+1,T=FMe[v+5],U=e[k-1]=[],N=e[k]||(e[k]=[]),j=(s=s.prototype,ZLt({get[a](){return CO(this,l)},set[a](X){return IL(this,l,X)}},a));for(var G=i.length-1;G>=0;G--)if(g=MLt(v,a,h={},e[3],N),g.static=b,g.private=y,x=g.access={has:(X)=>(a in X)},x.get=(X)=>X[a],x.set=(X,J)=>X[a]=J,d=(0,i[G])({get:j.get,set:j.set},g),h._=1,d===void 0)kO(d)&&(j[T]=d);else if(typeof d!=="object"||d===null)PO("Object expected");else kO(c=d.get)&&(j.get=c),kO(c=d.set)&&(j.set=c),kO(c=d.init)&&U.unshift(c);return j&&DMe(s,a,j),s},BMe=(e,r,a)=>r.has(e)||PO("Cannot "+a),CO=(e,r,a)=>(BMe(e,r,"read from private field"),r.get(e)),LO=(e,r,a)=>r.has(e)?PO("Cannot add the same private member more than once"):r instanceof WeakSet?r.add(e):r.set(e,a),IL=(e,r,a,i)=>(BMe(e,r,"write to private field"),r.set(e,a),a);function so(e){return e instanceof qW||e instanceof qMe}var ij=10,vLt=class extends ji{constructor(e){super(e);let r=Ci(()=>{let{dragOperation:i}=e;if(!ZL(i.activatorEvent))return;if(!so(i.source))return;if(i.status.initialized){let s=e.registry.plugins.get(OR);if(s)return s.disable(),()=>s.enable()}}),a=e.monitor.addEventListener("dragmove",(i,s)=>{queueMicrotask(()=>{if(this.disabled||i.defaultPrevented||!i.nativeEvent)return;let{dragOperation:l}=s;if(!ZL(i.nativeEvent))return;if(!so(l.source))return;if(!l.shape)return;let{actions:c,collisionObserver:d,registry:h}=s,{by:g}=i;if(!g)return;let x=yLt(g),{source:v,target:b}=l,{center:y}=l.shape.current,k=[],T=[];$o(()=>{for(let J of h.droppables){let{id:ee}=J;if(!J.accepts(v)||ee===(b==null?void 0:b.id)&&so(J)||!J.element)continue;let re=J.shape,oe=new kc(J.element,{getBoundingClientRect:(fe)=>LR(fe,void 0,0.2)});if(!oe.height||!oe.width)continue;if(x=="down"&&y.y+ij<oe.center.y||x=="up"&&y.y-ij>oe.center.y||x=="left"&&y.x-ij>oe.center.x||x=="right"&&y.x+ij<oe.center.x)k.push(J),J.shape=oe,T.push(()=>J.shape=re)}}),i.preventDefault(),d.disable();let U=d.computeCollisions(k,zue);$o(()=>T.forEach((J)=>J()));let[N]=U;if(!N)return;let{id:j}=N,{index:G,group:X}=v.sortable;c.setDropTarget(j).then(()=>{let{source:J,target:ee,shape:re}=l;if(!J||!so(J)||!re)return;let{index:oe,group:fe,target:be}=J.sortable,We=G!==oe||X!==fe,Ye=We?be:ee==null?void 0:ee.element;if(!Ye)return;t3(Ye);let Se=new kc(Ye);if(!Se)return;let He=el.delta(Se,el.from(re.current.boundingRectangle),J.alignment);if(c.move({by:He}),We)c.setDropTarget(J.id).then(()=>d.enable());else d.enable()})})});this.destroy=()=>{a(),r()}}};function yLt(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:_Lt,defineProperties:bLt,getOwnPropertyDescriptors:wLt,getOwnPropertySymbols:kMe}=Object,zLt=Object.prototype.hasOwnProperty,SLt=Object.prototype.propertyIsEnumerable,CMe=(e,r,a)=>(r in e)?_Lt(e,r,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[r]=a,JR=(e,r)=>{for(var a in r||(r={}))if(zLt.call(r,a))CMe(e,a,r[a]);if(kMe){for(var a of kMe(r))if(SLt.call(r,a))CMe(e,a,r[a])}return e},$R=(e,r)=>bLt(e,wLt(r));function LLt(e,r,a){if(r===a)return e;let i=e.slice();return i.splice(a,0,i.splice(r,1)[0]),i}function fj(e,r){let a=String(r);return Object.prototype.hasOwnProperty.call(e,a)?a:void 0}function FW(e){return"initialIndex"in e&&typeof e.initialIndex==="number"&&"index"in e&&typeof e.index==="number"}function kLt(e,r,a){var i,s;let{source:l,target:c,canceled:d}=r.operation;if(!l||!c||d){if("preventDefault"in r)r.preventDefault();return e}let h=(G,X)=>G===X||G!==null&&typeof G==="object"&&("id"in G)&&G.id===X;if(Array.isArray(e)){let G=e.findIndex((J)=>h(J,l.id)),X=e.findIndex((J)=>h(J,c.id));if(G===-1||X===-1){if(FW(l)){let{initialIndex:J,index:ee}=l;if(J===ee||J<0||J>=e.length){if("preventDefault"in r)r.preventDefault();return e}return a(e,J,ee)}return e}if(!d&&"index"in l&&typeof l.index==="number"){let J=l.index;if(J!==G)return a(e,G,J)}return a(e,G,X)}let g=Object.entries(e),x=-1,v,b=-1,y;for(let[G,X]of g){if(x===-1){if(x=X.findIndex((J)=>h(J,l.id)),x!==-1)v=G}if(b===-1){if(b=X.findIndex((J)=>h(J,c.id)),b!==-1)y=G}if(x!==-1&&b!==-1)break}if(x===-1&&FW(l)){let G=l.initialGroup==null?void 0:fj(e,l.initialGroup),X=l.initialIndex,J=l.group==null?void 0:fj(e,l.group),ee=l.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 $R(JR({},e),{[G]:a(e[G],X,ee)});let re=e[G][X];return $R(JR({},e),{[G]:[...e[G].slice(0,X),...e[G].slice(X+1)],[J]:[...e[J].slice(0,ee),re,...e[J].slice(ee)]})}if(!l.manager)return e;let{dragOperation:k}=l.manager,T=(s=(i=k.shape)==null?void 0:i.current.center)!=null?s:k.position.current;if(y==null){let G=fj(e,c.id);if(G!=null){let X=c.shape&&T.y>c.shape.center.y?e[G].length:0;y=G,b=X}}if(v==null||y==null||v===y&&x===b){if(v!=null&&v===y&&x===b&&FW(l)){let G=l.group==null?void 0:fj(e,l.group),X=l.group!=null&&G!==v,J=l.index!==x;if(X||J){let ee=l.group==null?v:G;if(ee!=null){if(v===ee)return $R(JR({},e),{[v]:a(e[v],x,l.index)});let re=e[v][x];return $R(JR({},e),{[v]:[...e[v].slice(0,x),...e[v].slice(x+1)],[ee]:[...e[ee].slice(0,l.index),re,...e[ee].slice(l.index)]})}}}if("preventDefault"in r)r.preventDefault();return e}if(v===y)return $R(JR({},e),{[v]:a(e[v],x,b)});let N=c.shape&&Math.round(T.y)>Math.round(c.shape.center.y)?1:0,j=e[v][x];return $R(JR({},e),{[v]:[...e[v].slice(0,x),...e[v].slice(x+1)],[y]:[...e[y].slice(0,b+N),j,...e[y].slice(b+N)]})}function CLt(e,r){return kLt(e,r,LLt)}function IMe(e){let r=new Map;for(let[,a]of e)for(let i of a)r.set(i.id,i.index);return r}function RMe(e,r,a){var i;for(let[s,l]of r)for(let c of l){let d=e.get(c.id);if(c.index!==d||c.group!==s||!((i=a.get(s))==null?void 0:i.has(c)))return!0}return!1}var PMe="__default__",ILt=class extends ji{constructor(e){super(e);let r=()=>{let i=new Map;for(let s of e.registry.droppables)if(s instanceof qW){let{sortable:l}=s,{group:c}=l,d=i.get(c);if(!d)d=new Set,i.set(c,d);d.add(l)}return i},a=[e.monitor.addEventListener("dragover",(i,s)=>{if(this.disabled)return;let{dragOperation:l}=s,{source:c,target:d}=l;if(!so(c)||!so(d))return;if(c.sortable===d.sortable)return;let h=r(),g=IMe(h),x=c.sortable.group===d.sortable.group,v=h.get(c.sortable.group),b=x?v:h.get(d.sortable.group);if(!v||!b)return;queueMicrotask(()=>{if(i.defaultPrevented)return;s.renderer.rendering.then(()=>{var y,k;let T=r();if(RMe(g,h,T))return;let U=c.sortable.element,N=d.sortable.element;if(!N||!U)return;if(!x&&d.id===c.sortable.group)return;let j=sj(v),G=x?j:sj(b),X=(y=c.sortable.group)!=null?y:PMe,J=(k=d.sortable.group)!=null?k:PMe,ee={[X]:j,[J]:G},re=CLt(ee,i);if(ee===re)return;let oe=re[J].indexOf(c.sortable),fe=re[J].indexOf(d.sortable);s.collisionObserver.disable(),TMe(U,oe,N,fe),$o(()=>{for(let[be,We]of re[X].entries())We.index=be;if(!x)for(let[be,We]of re[J].entries())We.group=d.sortable.group,We.index=be}),s.actions.setDropTarget(c.id).then(()=>s.collisionObserver.enable())})})}),e.monitor.addEventListener("dragend",(i,s)=>{if(!i.canceled)return;let{dragOperation:l}=s,{source:c}=l;if(!so(c))return;if(c.sortable.initialIndex===c.sortable.index&&c.sortable.initialGroup===c.sortable.group)return;queueMicrotask(()=>{let d=r(),h=IMe(d),g=d.get(c.sortable.initialGroup);if(!g)return;s.renderer.rendering.then(()=>{let x=r();if(RMe(h,d,x))return;let v=sj(g),b=sj(g,PLt),y=c.sortable.element,k=b.indexOf(c.sortable),T=v[k],U=T==null?void 0:T.element;if(!T||!U||!y)return;TMe(y,T.index,U,c.index),$o(()=>{for(let N of d.values()){let j=Array.from(N).values();for(let G of j)G.index=G.initialIndex,G.group=G.initialGroup}})})})})];this.destroy=()=>{for(let i of a)i()}}};function TMe(e,r,a,i){let s=i<r?"afterend":"beforebegin";a.insertAdjacentElement(s,e)}function RLt(e,r){return e.index-r.index}function PLt(e,r){return e.initialIndex-r.initialIndex}function sj(e,r=RLt){return Array.from(e).sort(r)}var AMe=[vLt,ILt],BW={duration:250,easing:"cubic-bezier(0.25, 1, 0.5, 1)",idle:!1};function EMe(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 lj=new ece,UMe,YMe,U8,UW,IO,RO,YW,eP;YMe=[Po],UMe=[Po];var TO=class{constructor(e,r){LO(this,UW,nj(U8,8,this)),nj(U8,11,this),LO(this,IO),LO(this,RO),LO(this,YW,nj(U8,12,this)),nj(U8,15,this),LO(this,eP),this.register=()=>($o(()=>{var k,T;(k=this.manager)==null||k.registry.register(this.droppable),(T=this.manager)==null||T.registry.register(this.draggable)}),()=>this.unregister()),this.unregister=()=>{$o(()=>{var k,T;(k=this.manager)==null||k.registry.unregister(this.droppable),(T=this.manager)==null||T.registry.unregister(this.draggable)})},this.destroy=()=>{$o(()=>{this.droppable.destroy(),this.draggable.destroy()})};var a=e,{effects:i=()=>[],disabled:s,group:l,index:c,sensors:d,type:h,transition:g=BW,plugins:x}=a,v=hLt(a,["effects","disabled","group","index","sensors","type","transition","plugins"]);let b=us(x,AMe),y=EMe(s);this.droppable=new qW(NW(OW({},v),{disabled:y.droppable}),r,this),this.draggable=new qMe(NW(OW({},v),{disabled:y.draggable,plugins:b,effects:()=>[()=>{var k,T,U;let N=(k=this.manager)==null?void 0:k.dragOperation.status;if((N==null?void 0:N.initializing)&&this.id===((U=(T=this.manager)==null?void 0:T.dragOperation.source)==null?void 0:U.id))lj.clear(this.manager);if(N==null?void 0:N.dragging)lj.set(this.manager,this.id,yo(()=>({initialIndex:this.index,initialGroup:this.group})))},()=>{let{index:k,group:T,manager:U}=this,N=CO(this,RO),j=CO(this,IO);if(k!==N||T!==j)IL(this,RO,k),IL(this,IO,T),this.animate()},()=>{var k,T;let{target:U}=this,{isDragSource:N}=this.draggable;if(((T=(k=this.draggable.pluginConfig(ys))==null?void 0:k.feedback)!=null?T:"default")==="move"&&N)this.droppable.disabled=!U},...i()],type:h,sensors:d}),r,this),IL(this,eP,v.element),this.manager=r,this.index=c,IL(this,RO,c),this.group=l,IL(this,IO,l),this.type=h,this.transition=g}get initialIndex(){var e,r;return(r=(e=lj.get(this.manager,this.id))==null?void 0:e.initialIndex)!=null?r:this.index}get initialGroup(){var e,r;return(r=(e=lj.get(this.manager,this.id))==null?void 0:e.initialGroup)!=null?r:this.group}animate(){yo(()=>{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:s}=this;if(!s)return;for(let x of s.getAnimations())if("transitionProperty"in x&&(x.transitionProperty==="transform"||x.transitionProperty==="translate"||x.transitionProperty==="scale"))x.cancel();let l=this.refreshShape();if(!l)return;let c={x:a.boundingRectangle.left-l.boundingRectangle.left,y:a.boundingRectangle.top-l.boundingRectangle.top},{translate:d}=Sc(s),h=AH(s,d,!1),g=AH(s,d);if(c.x||c.y){let x=HD(ds(s))?NW(OW({},r),{duration:0}):r;r3({element:s,keyframes:{translate:[`${h.x+c.x}px ${h.y+c.y}px ${h.z}`,`${g.x}px ${g.y}px ${g.z}`]},options:x}).then(()=>{if(!e.dragOperation.status.dragging)this.droppable.shape=void 0})}})})}get manager(){return this.draggable.manager}set manager(e){$o(()=>{this.draggable.manager=e,this.droppable.manager=e})}set element(e){$o(()=>{let r=CO(this,eP),a=this.droppable.element,i=this.draggable.element;if(!a||a===r)this.droppable.element=e;if(!i||i===r)this.draggable.element=e;IL(this,eP,e)})}get element(){var e,r;let a=CO(this,eP);if(!a)return;return(r=(e=VD.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=us(e,AMe)}set disabled(e){let r=EMe(e);$o(()=>{this.droppable.disabled=r.droppable,this.draggable.disabled=r.draggable})}set data(e){$o(()=>{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:a3}set alignment(e){this.draggable.alignment=e}get alignment(){return this.draggable.alignment}set type(e){$o(()=>{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)}};U8=gLt();UW=new WeakMap;IO=new WeakMap;RO=new WeakMap;YW=new WeakMap;eP=new WeakMap;jMe(U8,4,"index",YMe,TO,UW);jMe(U8,4,"group",UMe,TO,YW);xLt(U8,TO);var qMe=class extends xL{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}},qW=class extends NR{constructor(e,r,a){super(e,r);this.sortable=a}get index(){return this.sortable.index}get group(){return this.sortable.group}};var{defineProperty:TLt,defineProperties:ALt,getOwnPropertyDescriptors:ELt,getOwnPropertySymbols:HMe}=Object,DLt=Object.prototype.hasOwnProperty,OLt=Object.prototype.propertyIsEnumerable,VMe=(e,r,a)=>(r in e)?TLt(e,r,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[r]=a,HW=(e,r)=>{for(var a in r||(r={}))if(DLt.call(r,a))VMe(e,a,r[a]);if(HMe){for(var a of HMe(r))if(OLt.call(r,a))VMe(e,a,r[a])}return e},NLt=(e,r)=>ALt(e,ELt(r));function qa(e){let{accept:r,collisionDetector:a,collisionPriority:i,id:s,data:l,element:c,handle:d,index:h,group:g,disabled:x,modifiers:v,sensors:b,target:y,type:k,plugins:T}=e,U=HW(HW({},BW),e.transition),N=h3((G)=>new TO(NLt(HW({},e),{transition:U,register:!1,handle:zu(d),element:zu(c),target:zu(y)}),G)),j=FR(N,FLt);return Ho(s,()=>N.id=s),sM(()=>{$o(()=>{N.group=g,N.index=h})},[N,g,h]),Ho(k,()=>N.type=k),Ho(r,()=>N.accept=r,void 0,lf),Ho(l,()=>l&&(N.data=l)),Ho(h,()=>{var G;if(((G=N.manager)==null?void 0:G.dragOperation.status.idle)&&(U==null?void 0:U.idle))N.refreshShape()},cde),T8(d,(G)=>N.handle=G),T8(c,(G)=>N.element=G),T8(y,(G)=>N.target=G),Ho(x,()=>N.disabled=x!=null?x:!1,void 0,lf),Ho(b,()=>N.sensors=b,void 0,lf),Ho(a,()=>N.collisionDetector=a),Ho(i,()=>N.collisionPriority=i),Ho(T,()=>N.plugins=T,void 0,lf),Ho(U,()=>N.transition=U,void 0,lf),Ho(v,()=>N.modifiers=v,void 0,lf),Ho(e.alignment,()=>N.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:P((G)=>{N.handle=G!=null?G:void 0},[N]),ref:P((G)=>{var X,J;if(!G&&((X=N.element)==null?void 0:X.isConnected)&&!((J=N.manager)==null?void 0:J.dragOperation.status.idle))return;N.element=G!=null?G:void 0},[N]),sourceRef:P((G)=>{var X,J;if(!G&&((X=N.source)==null?void 0:X.isConnected)&&!((J=N.manager)==null?void 0:J.dragOperation.status.idle))return;N.source=G!=null?G:void 0},[N]),targetRef:P((G)=>{var X,J;if(!G&&((X=N.target)==null?void 0:X.isConnected)&&!((J=N.manager)==null?void 0:J.dragOperation.status.idle))return;N.target=G!=null?G:void 0},[N])}}function FLt(e,r,a){if(e==="isDragSource"&&!a&&r)return!0;return!1}S();function jLt(e){if(!e)return null;try{let r=dM(e);if(isNaN(r.getTime()))return null;return Ar(r,"MMM d, yyyy")}catch{return null}}function BLt({version:e,displayVersionNumber:r,index:a,canEdit:i,onRemove:s}){let[l,c]=u(!1),{ref:d,handleRef:h}=qa({id:e.id,index:a,disabled:!i}),g=jLt(e.createdAt);return o("div",{ref:d,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:h,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(zs,{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(tr,{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(Tt,{className:"h-3 w-3 shrink-0"}),t("span",{className:"truncate",children:Xc({user:e.creator?.name||_n(),agent:e.agent.name})})]}):t("span",{children:e.creator?.name||_n()}),g&&o(L,{children:[t("span",{children:"•"}),t("span",{children:g})]})]})]}),i&&o(ge,{modal:!1,open:l,onOpenChange:c,children:[t(Ae,{asChild:!0,children:t(C,{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",l?"opacity-100":"opacity-0 group-hover:opacity-100 focus:opacity-100"),children:t(Sr,{className:"h-4 w-4"})})}),t(_e,{align:"end",children:o(K,{onClick:()=>s(e.id),className:"text-destructive focus:text-destructive cursor-pointer",children:[t(we,{className:"h-4 w-4 mr-2"}),t("span",{children:Zlt()})]})})]})]})}function Jd({open:e,onOpenChange:r,stackId:a,canEdit:i=!0,onVersionRemoved:s,onStackDissolved:l}){let c=V(),[d,h]=u([]),{data:g,isLoading:x}=Z({queryKey:["version_stacks",a,"versions"],queryFn:async()=>{let U=await A.api.version_stacks[":stackId"].versions.$get({param:{stackId:a}});if(!U.ok)throw Error("Failed to fetch versions");return await U.json()},enabled:e&&!!a});m(()=>{if(g)h(g)},[g]);let{mutate:v}=B({mutationFn:async({fileId:U,beforeId:N})=>{if(!(await A.api.version_stacks[":stackId"].order.$post({param:{stackId:a},json:{fileId:U,beforeId:N}})).ok)throw Error("Failed to reorder versions")},onSuccess:()=>{c.invalidateQueries({queryKey:["version_stacks"]}),c.invalidateQueries({queryKey:["files"]}),c.invalidateQueries({queryKey:["file"]}),c.invalidateQueries({queryKey:["search"]}),c.invalidateQueries({queryKey:["folders"]}),c.invalidateQueries({queryKey:["projects"]}),M.success(jxt())},onError:()=>{if(M.error(cqe()),g)h(g)}}),{mutate:b,isPending:y}=B({mutationFn:async(U)=>{if(!(await A.api.version_stacks[":stackId"].versions[":versionId"].$delete({param:{stackId:a,versionId:U}})).ok)throw Error("Failed to remove version from stack");return U},onSuccess:(U)=>{M.success(Oxt());let N=d.filter((j)=>j.id!==U);if(h(N),c.invalidateQueries({queryKey:["version_stacks"]}),c.invalidateQueries({queryKey:["files"]}),c.invalidateQueries({queryKey:["file"]}),c.invalidateQueries({queryKey:["search"]}),c.invalidateQueries({queryKey:["folders"]}),c.invalidateQueries({queryKey:["projects"]}),N.length<=1){let j=N[0];if(r(!1),j)l?.(j.id)}else s?.(U,N)},onError:()=>{M.error(nqe())}}),k=(U)=>{if(U.canceled)return;let{source:N}=U.operation;if(!so(N))return;let{initialIndex:j,index:G}=N;if(j===G)return;let X=[...d],[J]=X.splice(j,1);X.splice(G,0,J),h(X);let ee=G===X.length-1?"-1":X[G+1].id;v({fileId:J.id,beforeId:ee})},T=(U)=>{if(y)return;b(U)};return t(ue,{open:e,onOpenChange:r,children:o(ae,{className:"max-w-lg p-0 gap-0 overflow-hidden",children:[t(pe,{className:"p-4 pb-3 border-b border-border",children:t(le,{className:"text-base font-semibold",children:xKe()})}),t(ce,{className:"max-h-[60vh] p-4",children:x?t("div",{className:"py-8 text-center text-sm text-muted-foreground",children:Ed?.()||"Loading..."}):d.length===0?t("div",{className:"py-8 text-center text-sm text-muted-foreground",children:ytt()}):t("div",{className:"space-y-2",children:t(Vn,{sensors:[yn.configure({activationConstraints:[new Dr.Distance({value:6})]}),es],onDragEnd:k,children:d.map((U,N)=>t(BLt,{version:U,displayVersionNumber:d.length-N,index:N,canEdit:i,onRemove:T},U.id))})})})]})})}S();function At({...e}){return t(xRe,{"data-slot":"popover",...e})}function _t({...e}){return t(vRe,{"data-slot":"popover-trigger",...e})}function yt({className:e,align:r="center",sideOffset:a=4,...i}){return t(yRe,{children:t(_Re,{"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})})}var LA=[Qe.TODO,Qe.READY,Qe.IN_PROGRESS,Qe.BLOCKED,Qe.IN_REVIEW,Qe.DONE];function io(e){switch(e){case Qe.TODO:return Omt();case Qe.READY:return Amt();case Qe.IN_PROGRESS:return kmt();case Qe.BLOCKED:return hA();case Qe.IN_REVIEW:return Rmt();case Qe.DONE:return zmt();default:return e}}function tm(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 Y8(e){return tm(e).badge}function aa(e){switch(e){case zr.LOW:return unt();case zr.MEDIUM:return pnt();case zr.HIGH:return snt();case zr.URGENT:return gnt();default:return e}}function la(e){switch(e){case zr.LOW:return"bg-muted text-muted-foreground border-border";case zr.MEDIUM:return"bg-blue-500/10 text-blue-600 dark:text-blue-400 border-blue-500/20";case zr.HIGH:return"bg-amber-500/10 text-amber-600 dark:text-amber-400 border-amber-500/20";case zr.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"}}S();function Si({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 W({className:e,...r}){return t(iRe,{"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 Me({className:e,size:r="default",...a}){return t(KPe,{"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(QPe,{"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(ZPe,{"data-slot":"select",...e})}function Ze({...e}){return t(gPe,{"data-slot":"select-value",...e})}function Be({className:e,size:r="default",children:a,...i}){return o(mPe,{"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(MPe,{asChild:!0,children:t(ve,{className:"size-4 opacity-50"})})]})}function Ue({className:e,children:r,position:a="item-aligned",align:i="center",...s}){return t(_Pe,{children:o(bPe,{"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,...s,children:[t(ULt,{}),t(CPe,{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(YLt,{})]})})}function ne({className:e,children:r,...a}){return o(PPe,{"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(EPe,{children:t(Pe,{className:"size-4"})})}),t(TPe,{children:r})]})}function ULt({className:e,...r}){return t(DPe,{"data-slot":"select-scroll-up-button",className:E("flex cursor-default items-center justify-center py-1",e),...r,children:t(Ma,{className:"size-4"})})}function YLt({className:e,...r}){return t(OPe,{"data-slot":"select-scroll-down-button",className:E("flex cursor-default items-center justify-center py-1",e),...r,children:t(ve,{className:"size-4"})})}S();function WMe(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 qLt={},AO={};function ku(e,r){try{let i=(qLt[e]||=new Intl.DateTimeFormat("en-US",{timeZone:e,timeZoneName:"longOffset"}).format)(r).split("GMT")[1];if(i in AO)return AO[i];return GMe(i,i.split(":"))}catch{if(e in AO)return AO[e];let a=e?.match(HLt);if(a)return GMe(e,a.slice(1));return NaN}}var HLt=/([+-]\d\d):?(\d\d)?/;function GMe(e,r){let a=+(r[0]||0),i=+(r[1]||0),s=+(r[2]||0)/60;return AO[e]=a*60+i>0?a*60+i+s:a*60-i-s}class Cu 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)),QMe(this,e)}static tz(e,...r){return r.length?new Cu(...r,e):new Cu(Date.now(),e)}withTimeZone(e){return new Cu(+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),uj(this),+this}[Symbol.for("constructDateFrom")](e){return new Cu(+new Date(e),this.timeZone)}}var KMe=/^(get|set)(?!UTC)/;Object.getOwnPropertyNames(Date.prototype).forEach((e)=>{if(!KMe.test(e))return;let r=e.replace(KMe,"$1UTC");if(!Cu.prototype[r])return;if(e.startsWith("get"))Cu.prototype[e]=function(){return this.internal[r]()};else Cu.prototype[e]=function(){return Date.prototype[r].apply(this.internal,arguments),VLt(this),+this},Cu.prototype[r]=function(){return Date.prototype[r].apply(this,arguments),uj(this),+this}});function uj(e){e.internal.setTime(+e),e.internal.setUTCSeconds(e.internal.getUTCSeconds()-Math.round(-ku(e.timeZone,e)*60))}function VLt(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()),QMe(e)}function QMe(e,r){let a=Array.isArray(r)?WLt(r):+e.internal,i=ku(e.timeZone,e),s=i>0?Math.floor(i):Math.ceil(i),l=new Date(+e);l.setUTCHours(l.getUTCHours()-1);let c=-new Date(+e).getTimezoneOffset(),d=-new Date(+l).getTimezoneOffset(),h=c-d,g=c;if(h&&c!==s){let fe=Date.prototype.getHours.apply(e),be=Array.isArray(r)?r[3]||0:e.internal.getUTCHours();if(fe!==be){let We=new Date(+e),Ye=c-s;if(Ye)We.setUTCMinutes(We.getUTCMinutes()+Ye);let Se=ku(e.timeZone,We);if((Se>0?Math.floor(Se):Math.ceil(Se))===s)g=d}}let x=g-s;if(x)Date.prototype.setUTCMinutes.call(e,Date.prototype.getUTCMinutes.call(e)+x);let v=new Date(+e);v.setUTCSeconds(0);let b=c>0?v.getSeconds():(v.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 k=ku(e.timeZone,e),T=k>0?Math.floor(k):Math.ceil(k),N=-new Date(+e).getTimezoneOffset()-T,j=T!==s,G=N-x,X=T-s,J=a-T*60*1000,ee=X>0&&XMe(e)-a===X*60*1000&&XMe(e,J)!==a;if(j&&G&&!ee){Date.prototype.setUTCMinutes.call(e,Date.prototype.getUTCMinutes.call(e)+G);let fe=ku(e.timeZone,e),be=fe>0?Math.floor(fe):Math.ceil(fe),We=T-be;if(We&&G<0)Date.prototype.setUTCMinutes.call(e,Date.prototype.getUTCMinutes.call(e)+We)}uj(e);let oe=(r?a:a+y*1000)-+e.internal;if(oe&&Math.abs(oe)<1800000)Date.prototype.setTime.call(e,+e+oe),uj(e)}function WLt(e){return Date.UTC(e[0],e.length>1?e[1]:0,e.length>2?e[2]:1,...e.slice(3))}function XMe(e,r){let a=new Date(r??+e);return a.setUTCSeconds(a.getUTCSeconds()-Math.round(-ku(e.timeZone,a)*60)),+a}class On extends Cu{static tz(e,...r){return r.length?new On(...r,e):new On(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} (${WMe(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 On(+this,e)}[Symbol.for("constructDateFrom")](e){return new On(+new Date(e),this.timeZone)}}function JMe(e,r){let a=r.startOfMonth(e),i=a.getDay()>0?a.getDay():7,s=r.addDays(e,-i+1),l=r.addDays(s,34);return r.getMonth(e)===r.getMonth(l)?5:4}function dj(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 $Me(e,r){let a=dj(e,r),i=JMe(e,r);return r.addDays(a,i*7-1)}var EO={...cM,labels:{labelDayButton:(e,r,a,i)=>{let s;if(i&&typeof i.format==="function")s=i.format.bind(i);else s=(c,d)=>Ar(c,d,{locale:cM,...a});let l=s(e,"PPPP");if(r.today)l=`Today, ${l}`;if(r.selected)l=`${l}, selected`;return l},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=(s,l)=>Ar(s,l,{locale:cM,...r});return i(e,"LLLL yyyy")},labelGridcell:(e,r,a,i)=>{let s;if(i&&typeof i.format==="function")s=i.format.bind(i);else s=(c,d)=>Ar(c,d,{locale:cM,...a});let l=s(e,"PPPP");if(r?.today)l=`Today, ${l}`;return l},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=(s,l)=>Ar(s,l,{locale:cM,...r});return i(e,"cccc")}}};class ti{constructor(e,r){this.today=()=>{if(this.overrides?.today)return this.overrides.today();if(this.options.timeZone)return On.tz(this.options.timeZone);return new(this.options.Date??Date)},this.newDate=(a,i,s)=>{if(this.overrides?.newDate)return this.overrides.newDate(a,i,s);if(this.options.timeZone)return new On(a,i,s,this.options.timeZone);return new Date(a,i,s)},this.addDays=(a,i)=>this.overrides?.addDays?this.overrides.addDays(a,i):jR(a,i),this.addMonths=(a,i)=>this.overrides?.addMonths?this.overrides.addMonths(a,i):za(a,i),this.addWeeks=(a,i)=>this.overrides?.addWeeks?this.overrides.addWeeks(a,i):sO(a,i),this.addYears=(a,i)=>this.overrides?.addYears?this.overrides.addYears(a,i):Ode(a,i),this.differenceInCalendarDays=(a,i)=>this.overrides?.differenceInCalendarDays?this.overrides.differenceInCalendarDays(a,i):E8(a,i),this.differenceInCalendarMonths=(a,i)=>this.overrides?.differenceInCalendarMonths?this.overrides.differenceInCalendarMonths(a,i):w3(a,i),this.eachMonthOfInterval=(a)=>this.overrides?.eachMonthOfInterval?this.overrides.eachMonthOfInterval(a):Bde(a),this.eachYearOfInterval=(a)=>{let i=this.overrides?.eachYearOfInterval?this.overrides.eachYearOfInterval(a):qde(a),s=new Set(i.map((c)=>this.getYear(c)));if(s.size===i.length)return i;let l=[];return s.forEach((c)=>{l.push(new Date(c,0,1))}),l},this.endOfBroadcastWeek=(a)=>this.overrides?.endOfBroadcastWeek?this.overrides.endOfBroadcastWeek(a):$Me(a,this),this.endOfISOWeek=(a)=>this.overrides?.endOfISOWeek?this.overrides.endOfISOWeek(a):Hde(a),this.endOfMonth=(a)=>this.overrides?.endOfMonth?this.overrides.endOfMonth(a):Kd(a),this.endOfWeek=(a,i)=>this.overrides?.endOfWeek?this.overrides.endOfWeek(a,i):S3(a,this.options),this.endOfYear=(a)=>this.overrides?.endOfYear?this.overrides.endOfYear(a):Yde(a),this.format=(a,i,s)=>{let l=this.overrides?.format?this.overrides.format(a,i,this.options):Ar(a,i,this.options);if(this.options.numerals&&this.options.numerals!=="latn")return this.replaceDigits(l);return l},this.getISOWeek=(a)=>this.overrides?.getISOWeek?this.overrides.getISOWeek(a):qR(a),this.getMonth=(a,i)=>this.overrides?.getMonth?this.overrides.getMonth(a,this.options):tu(a,this.options),this.getYear=(a,i)=>this.overrides?.getYear?this.overrides.getYear(a,this.options):ru(a,this.options),this.getWeek=(a,i)=>this.overrides?.getWeek?this.overrides.getWeek(a,this.options):HR(a,this.options),this.isAfter=(a,i)=>this.overrides?.isAfter?this.overrides.isAfter(a,i):lZe(a,i),this.isBefore=(a,i)=>this.overrides?.isBefore?this.overrides.isBefore(a,i):cZe(a,i),this.isDate=(a)=>this.overrides?.isDate?this.overrides.isDate(a):b3(a),this.isSameDay=(a,i)=>this.overrides?.isSameDay?this.overrides.isSameDay(a,i):BR(a,i),this.isSameMonth=(a,i)=>this.overrides?.isSameMonth?this.overrides.isSameMonth(a,i):uZe(a,i),this.isSameYear=(a,i)=>this.overrides?.isSameYear?this.overrides.isSameYear(a,i):dZe(a,i),this.max=(a)=>this.overrides?.max?this.overrides.max(a):Nde(a),this.min=(a)=>this.overrides?.min?this.overrides.min(a):Fde(a),this.setMonth=(a,i)=>this.overrides?.setMonth?this.overrides.setMonth(a,i):mZe(a,i),this.setYear=(a,i)=>this.overrides?.setYear?this.overrides.setYear(a,i):hZe(a,i),this.startOfBroadcastWeek=(a,i)=>this.overrides?.startOfBroadcastWeek?this.overrides.startOfBroadcastWeek(a,this):dj(a,this),this.startOfDay=(a)=>this.overrides?.startOfDay?this.overrides.startOfDay(a):A8(a),this.startOfISOWeek=(a)=>this.overrides?.startOfISOWeek?this.overrides.startOfISOWeek(a):lM(a),this.startOfMonth=(a)=>this.overrides?.startOfMonth?this.overrides.startOfMonth(a):Ude(a),this.startOfWeek=(a,i)=>this.overrides?.startOfWeek?this.overrides.startOfWeek(a,this.options):Su(a,this.options),this.startOfYear=(a)=>this.overrides?.startOfYear?this.overrides.startOfYear(a):z3(a),this.options={locale:EO,...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 ti.yearFirstLocales.has(e)?"year-first":"month-first"}formatMonthYear(e){let{locale:r,timeZone:a,numerals:i}=this.options,s=r?.code;if(s&&ti.yearFirstLocales.has(s))try{return new Intl.DateTimeFormat(s,{month:"long",year:"numeric",timeZone:a,numberingSystem:i}).format(e)}catch{}let l=this.getMonthYearOrder()==="year-first"?"y LLLL":"LLLL y";return this.format(e,l)}}ti.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 di=new ti;class DO{constructor(e,r,a=di){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 VW{constructor(e,r){this.date=e,this.weeks=r}}class WW{constructor(e,r){this.days=r,this.weekNumber=e}}var KW={};ke(KW,{CaptionLabel:()=>GLt,Chevron:()=>KLt,Day:()=>XLt,DayButton:()=>QLt,Dropdown:()=>JLt,DropdownNav:()=>$Lt,Footer:()=>ekt,Month:()=>tkt,MonthCaption:()=>rkt,MonthGrid:()=>okt,Months:()=>akt,MonthsDropdown:()=>nkt,Nav:()=>ikt,NextMonthButton:()=>fkt,Option:()=>skt,PreviousMonthButton:()=>lkt,Root:()=>ckt,Select:()=>ukt,Week:()=>dkt,WeekNumber:()=>mkt,WeekNumberHeader:()=>hkt,Weekday:()=>Zkt,Weekdays:()=>pkt,Weeks:()=>gkt,YearsDropdown:()=>Mkt});S();function GLt(e){return q("span",{...e})}S();function KLt(e){let{size:r=24,orientation:a="left",className:i,style:s}=e;return q("svg",{className:i,style:s,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"}))}S();function XLt(e){let{day:r,modifiers:a,...i}=e;return q("td",{...i})}S();function QLt(e){let{day:r,modifiers:a,...i}=e,s=_(null);return m(()=>{if(a.focused)s.current?.focus()},[a.focused]),q("button",{ref:s,...i})}S();var Zr;(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"})(Zr||(Zr={}));var Aa;(function(e){e.disabled="disabled",e.hidden="hidden",e.outside="outside",e.focused="focused",e.today="today"})(Aa||(Aa={}));var il;(function(e){e.range_end="range_end",e.range_middle="range_middle",e.range_start="range_start",e.selected="selected"})(il||(il={}));var Cs;(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"})(Cs||(Cs={}));S();var GW=lt(void 0);function q8(){let e=pt(GW);if(e===void 0)throw Error("useDayPicker() must be used within a custom component.");return e}function JLt(e){let{options:r,className:a,...i}=e,{classNames:s,components:l,styles:c}=q8(),d=[s[Zr.Dropdown],a].join(" "),h=r?.find(({value:g})=>g===i.value);return q("span",{"data-disabled":i.disabled,className:s[Zr.DropdownRoot],style:c?.[Zr.DropdownRoot]},q(l.Select,{className:d,...i},r?.map(({value:g,label:x,disabled:v})=>q(l.Option,{key:g,value:g,disabled:v},x))),q("span",{className:s[Zr.CaptionLabel],style:c?.[Zr.CaptionLabel],"aria-hidden":!0},h?.label,q(l.Chevron,{orientation:"down",size:18,className:s[Zr.Chevron],style:c?.[Zr.Chevron]})))}S();function $Lt(e){return q("div",{...e})}S();function ekt(e){return q("div",{...e})}S();function tkt(e){let{calendarMonth:r,displayIndex:a,...i}=e;return q("div",{...i},e.children)}S();function rkt(e){let{calendarMonth:r,displayIndex:a,...i}=e;return q("div",{...i})}S();function okt(e){return q("table",{...e})}S();function akt(e){return q("div",{...e})}S();function nkt(e){let{components:r}=q8();return q(r.Dropdown,{...e})}S();function ikt(e){let{onPreviousClick:r,onNextClick:a,previousMonth:i,nextMonth:s,...l}=e,{components:c,classNames:d,styles:h,labels:{labelPrevious:g,labelNext:x}}=q8(),v=P((y)=>{if(s)a?.(y)},[s,a]),b=P((y)=>{if(i)r?.(y)},[i,r]);return q("nav",{...l},q(c.PreviousMonthButton,{type:"button",className:d[Zr.PreviousMonthButton],style:h?.[Zr.PreviousMonthButton],tabIndex:i?void 0:-1,"aria-disabled":i?void 0:!0,"aria-label":g(i),onClick:b},q(c.Chevron,{disabled:i?void 0:!0,className:d[Zr.Chevron],style:h?.[Zr.Chevron],orientation:"left"})),q(c.NextMonthButton,{type:"button",className:d[Zr.NextMonthButton],style:h?.[Zr.NextMonthButton],tabIndex:s?void 0:-1,"aria-disabled":s?void 0:!0,"aria-label":x(s),onClick:v},q(c.Chevron,{disabled:s?void 0:!0,orientation:"right",className:d[Zr.Chevron],style:h?.[Zr.Chevron]})))}S();function fkt(e){return q("button",{...e})}S();function skt(e){return q("option",{...e})}S();function lkt(e){return q("button",{...e})}S();function ckt(e){let{rootRef:r,...a}=e;return q("div",{...a,ref:r})}S();function ukt(e){return q("select",{...e})}S();function dkt(e){let{week:r,...a}=e;return q("tr",{...a})}S();function Zkt(e){return q("th",{...e})}S();function pkt(e){return q("thead",{"aria-hidden":!0},q("tr",{...e}))}S();function mkt(e){let{week:r,...a}=e;return q("th",{...a})}S();function hkt(e){return q("th",{...e})}S();function gkt(e){return q("tbody",{...e})}S();function Mkt(e){let{components:r}=q8();return q(r.Dropdown,{...e})}S();function sl(e,r,a=!1,i=di){let{from:s,to:l}=e,{differenceInCalendarDays:c,isSameDay:d}=i;if(s&&l){if(c(l,s)<0)[s,l]=[l,s];return c(r,s)>=(a?1:0)&&c(l,r)>=(a?1:0)}if(!a&&l)return d(l,r);if(!a&&s)return d(s,r);return!1}function tP(e){return Boolean(e&&typeof e==="object"&&"before"in e&&"after"in e)}function H8(e){return Boolean(e&&typeof e==="object"&&"from"in e)}function rP(e){return Boolean(e&&typeof e==="object"&&"after"in e)}function oP(e){return Boolean(e&&typeof e==="object"&&"before"in e)}function Zj(e){return Boolean(e&&typeof e==="object"&&"dayOfWeek"in e)}function pj(e,r){return Array.isArray(e)&&e.every(r.isDate)}function Ic(e,r,a=di){let i=!Array.isArray(r)?[r]:r,{isSameDay:s,differenceInCalendarDays:l,isAfter:c}=a;return i.some((d)=>{if(typeof d==="boolean")return d;if(a.isDate(d))return s(e,d);if(pj(d,a))return d.some((h)=>s(e,h));if(H8(d))return sl(d,e,!1,a);if(Zj(d)){if(!Array.isArray(d.dayOfWeek))return d.dayOfWeek===e.getDay();return d.dayOfWeek.includes(e.getDay())}if(tP(d)){let h=l(d.before,e),g=l(d.after,e),x=h>0,v=g<0;if(c(d.before,d.after))return v&&x;else return x||v}if(rP(d))return l(e,d.after)>0;if(oP(d))return l(d.before,e)>0;if(typeof d==="function")return d(e);return!1})}function e8e(e,r,a,i,s){let{disabled:l,hidden:c,modifiers:d,showOutsideDays:h,broadcastCalendar:g,today:x=s.today()}=r,{isSameDay:v,isSameMonth:b,startOfMonth:y,isBefore:k,endOfMonth:T,isAfter:U}=s,N=a&&y(a),j=i&&T(i),G={[Aa.focused]:[],[Aa.outside]:[],[Aa.disabled]:[],[Aa.hidden]:[],[Aa.today]:[]},X={};for(let J of e){let{date:ee,displayMonth:re}=J,oe=Boolean(re&&!b(ee,re)),fe=Boolean(N&&k(ee,N)),be=Boolean(j&&U(ee,j)),We=Boolean(l&&Ic(ee,l,s)),Ye=Boolean(c&&Ic(ee,c,s))||fe||be||!g&&!h&&oe||g&&h===!1&&oe,Se=v(ee,x);if(oe)G.outside.push(J);if(We)G.disabled.push(J);if(Ye)G.hidden.push(J);if(Se)G.today.push(J);if(d)Object.keys(d).forEach((He)=>{let ft=d?.[He];if(!(ft?Ic(ee,ft,s):!1))return;if(X[He])X[He].push(J);else X[He]=[J]})}return(J)=>{let ee={[Aa.focused]:!1,[Aa.disabled]:!1,[Aa.hidden]:!1,[Aa.outside]:!1,[Aa.today]:!1},re={};for(let oe in G){let fe=G[oe];ee[oe]=fe.some((be)=>be===J)}for(let oe in X)re[oe]=X[oe].some((fe)=>fe===J);return{...ee,...re}}}function t8e(e,r,a={}){return Object.entries(e).filter(([,s])=>s===!0).reduce((s,[l])=>{if(a[l])s.push(a[l]);else if(r[Aa[l]])s.push(r[Aa[l]]);else if(r[il[l]])s.push(r[il[l]]);return s},[r[Zr.Day]])}function r8e(e){return{...KW,...e}}function o8e(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 OO(){let e={};for(let r in Zr)e[Zr[r]]=`rdp-${Zr[r]}`;for(let r in Aa)e[Aa[r]]=`rdp-${Aa[r]}`;for(let r in il)e[il[r]]=`rdp-${il[r]}`;for(let r in Cs)e[Cs[r]]=`rdp-${Cs[r]}`;return e}var XW={};ke(XW,{formatCaption:()=>xkt,formatDay:()=>vkt,formatMonthDropdown:()=>ykt,formatWeekNumber:()=>bkt,formatWeekNumberHeader:()=>wkt,formatWeekdayName:()=>_kt,formatYearDropdown:()=>zkt});function xkt(e,r,a){return(a??new ti(r)).formatMonthYear(e)}function vkt(e,r,a){return(a??new ti(r)).format(e,"d")}function ykt(e,r=di){return r.format(e,"LLLL")}function _kt(e,r,a){return(a??new ti(r)).format(e,"cccccc")}function bkt(e,r=di){if(e<10)return r.formatNumber(`0${e.toLocaleString()}`);return r.formatNumber(`${e.toLocaleString()}`)}function wkt(){return""}function zkt(e,r=di){return r.format(e,"yyyy")}function a8e(e){return{...XW,...e}}var sG={};ke(sG,{labelDayButton:()=>QW,labelGrid:()=>JW,labelGridcell:()=>$W,labelMonthDropdown:()=>eG,labelNav:()=>tG,labelNext:()=>rG,labelPrevious:()=>oG,labelWeekNumber:()=>nG,labelWeekNumberHeader:()=>iG,labelWeekday:()=>aG,labelYearDropdown:()=>fG});function QW(e,r,a,i){let s=(i??new ti(a)).format(e,"PPPP");if(r.today)s=`Today, ${s}`;if(r.selected)s=`${s}, selected`;return s}function JW(e,r,a){return(a??new ti(r)).formatMonthYear(e)}function $W(e,r,a,i){let s=(i??new ti(a)).format(e,"PPPP");if(r?.today)s=`Today, ${s}`;return s}function eG(e){return"Choose the Month"}function tG(){return""}function rG(e,r){return"Go to the Next Month"}function oG(e){return"Go to the Previous Month"}function aG(e,r,a){return(a??new ti(r)).format(e,"cccc")}function nG(e,r){return`Week ${e}`}function iG(e){return"Week Number"}function fG(e){return"Choose the Year"}var Iu=(e,r,a)=>{if(r)return r;if(a)return typeof a==="function"?a:(...i)=>a;return e};function n8e(e,r){let a=r.locale?.labels??{};return{...sG,...e??{},labelDayButton:Iu(QW,e?.labelDayButton,a.labelDayButton),labelMonthDropdown:Iu(eG,e?.labelMonthDropdown,a.labelMonthDropdown),labelNext:Iu(rG,e?.labelNext,a.labelNext),labelPrevious:Iu(oG,e?.labelPrevious,a.labelPrevious),labelWeekNumber:Iu(nG,e?.labelWeekNumber,a.labelWeekNumber),labelYearDropdown:Iu(fG,e?.labelYearDropdown,a.labelYearDropdown),labelGrid:Iu(JW,e?.labelGrid,a.labelGrid),labelGridcell:Iu($W,e?.labelGridcell,a.labelGridcell),labelNav:Iu(tG,e?.labelNav,a.labelNav),labelWeekNumberHeader:Iu(iG,e?.labelWeekNumberHeader,a.labelWeekNumberHeader),labelWeekday:Iu(aG,e?.labelWeekday,a.labelWeekday)}}function i8e(e,r,a,i,s){let{startOfMonth:l,startOfYear:c,endOfYear:d,eachMonthOfInterval:h,getMonth:g}=s;return h({start:c(e),end:d(e)}).map((b)=>{let y=i.formatMonthDropdown(b,s),k=g(b),T=r&&b<l(r)||a&&b>l(a)||!1;return{value:k,label:y,disabled:T}})}function f8e(e,r={},a={}){let i={...r?.[Zr.Day]};return Object.entries(e).filter(([,s])=>s===!0).forEach(([s])=>{i={...i,...a?.[s]}}),i}function s8e(e,r,a,i){let s=i??e.today(),l=a?e.startOfBroadcastWeek(s,e):r?e.startOfISOWeek(s):e.startOfWeek(s),c=[];for(let d=0;d<7;d++){let h=e.addDays(l,d);c.push(h)}return c}function l8e(e,r,a,i,s=!1){if(!e)return;if(!r)return;let{startOfYear:l,endOfYear:c,eachYearOfInterval:d,getYear:h}=i,g=l(e),x=c(r),v=d({start:g,end:x});if(s)v.reverse();return v.map((b)=>{let y=a.formatYearDropdown(b,i);return{value:h(b),label:y,disabled:!1}})}function c8e(e,r={}){let{weekStartsOn:a,locale:i}=r,s=a??i?.options?.weekStartsOn??0,l=(d)=>{let h=typeof d==="number"||typeof d==="string"?new Date(d):d;return new On(h.getFullYear(),h.getMonth(),h.getDate(),12,0,0,e)},c=(d)=>{let h=l(d);return new Date(h.getFullYear(),h.getMonth(),h.getDate(),0,0,0,0)};return{today:()=>l(On.tz(e)),newDate:(d,h,g)=>new On(d,h,g,12,0,0,e),startOfDay:(d)=>l(d),startOfWeek:(d,h)=>{let g=l(d),x=h?.weekStartsOn??s,v=(g.getDay()-x+7)%7;return g.setDate(g.getDate()-v),g},startOfISOWeek:(d)=>{let h=l(d),g=(h.getDay()-1+7)%7;return h.setDate(h.getDate()-g),h},startOfMonth:(d)=>{let h=l(d);return h.setDate(1),h},startOfYear:(d)=>{let h=l(d);return h.setMonth(0,1),h},endOfWeek:(d,h)=>{let g=l(d),b=(((h?.weekStartsOn??s)+6)%7-g.getDay()+7)%7;return g.setDate(g.getDate()+b),g},endOfISOWeek:(d)=>{let h=l(d),g=(7-h.getDay())%7;return h.setDate(h.getDate()+g),h},endOfMonth:(d)=>{let h=l(d);return h.setMonth(h.getMonth()+1,0),h},endOfYear:(d)=>{let h=l(d);return h.setMonth(11,31),h},eachMonthOfInterval:(d)=>{let h=l(d.start),g=l(d.end),x=[],v=new On(h.getFullYear(),h.getMonth(),1,12,0,0,e),b=g.getFullYear()*12+g.getMonth();while(v.getFullYear()*12+v.getMonth()<=b)x.push(new On(v,e)),v.setMonth(v.getMonth()+1,1);return x},addDays:(d,h)=>{let g=l(d);return g.setDate(g.getDate()+h),g},addWeeks:(d,h)=>{let g=l(d);return g.setDate(g.getDate()+h*7),g},addMonths:(d,h)=>{let g=l(d);return g.setMonth(g.getMonth()+h),g},addYears:(d,h)=>{let g=l(d);return g.setFullYear(g.getFullYear()+h),g},eachYearOfInterval:(d)=>{let h=l(d.start),g=l(d.end),x=[],v=new On(h.getFullYear(),0,1,12,0,0,e);while(v.getFullYear()<=g.getFullYear())x.push(new On(v,e)),v.setFullYear(v.getFullYear()+1,0,1);return x},getWeek:(d,h)=>{let g=c(d);return HR(g,{weekStartsOn:h?.weekStartsOn??s,firstWeekContainsDate:h?.firstWeekContainsDate??i?.options?.firstWeekContainsDate??1})},getISOWeek:(d)=>{let h=c(d);return qR(h)},differenceInCalendarDays:(d,h)=>{let g=c(d),x=c(h);return E8(g,x)},differenceInCalendarMonths:(d,h)=>{let g=c(d),x=c(h);return w3(g,x)}}}S();var NO=(e)=>{if(e instanceof HTMLElement)return e;return null},lG=(e)=>[...e.querySelectorAll("[data-animated-month]")??[]],Skt=(e)=>NO(e.querySelector("[data-animated-month]")),cG=(e)=>NO(e.querySelector("[data-animated-caption]")),uG=(e)=>NO(e.querySelector("[data-animated-weeks]")),Lkt=(e)=>NO(e.querySelector("[data-animated-nav]")),kkt=(e)=>NO(e.querySelector("[data-animated-weekdays]"));function u8e(e,r,{classNames:a,months:i,focused:s,dateLib:l}){let c=_(null),d=_(i),h=_(!1);$e(()=>{let g=d.current;if(d.current=i,!r||!e.current||!(e.current instanceof HTMLElement)||i.length===0||g.length===0||i.length!==g.length)return;let x=l.isSameMonth(i[0].date,g[0].date),v=l.isAfter(i[0].date,g[0].date),b=v?a[Cs.caption_after_enter]:a[Cs.caption_before_enter],y=v?a[Cs.weeks_after_enter]:a[Cs.weeks_before_enter],k=c.current,T=e.current.cloneNode(!0);if(T instanceof HTMLElement)lG(T).forEach((G)=>{if(!(G instanceof HTMLElement))return;let X=Skt(G);if(X&&G.contains(X))G.removeChild(X);let J=cG(G);if(J)J.classList.remove(b);let ee=uG(G);if(ee)ee.classList.remove(y)}),c.current=T;else c.current=null;if(h.current||x||s)return;let U=k instanceof HTMLElement?lG(k):[],N=lG(e.current);if(N?.every((j)=>j instanceof HTMLElement)&&U?.every((j)=>j instanceof HTMLElement)){h.current=!0;let j=[];e.current.style.isolation="isolate";let G=Lkt(e.current);if(G)G.style.zIndex="1";N.forEach((X,J)=>{let ee=U[J];if(!ee)return;X.style.position="relative",X.style.overflow="hidden";let re=cG(X);if(re)re.classList.add(b);let oe=uG(X);if(oe)oe.classList.add(y);let fe=()=>{if(h.current=!1,e.current)e.current.style.isolation="";if(G)G.style.zIndex="";if(re)re.classList.remove(b);if(oe)oe.classList.remove(y);if(X.style.position="",X.style.overflow="",X.contains(ee))X.removeChild(ee)};j.push(fe),ee.style.pointerEvents="none",ee.style.position="absolute",ee.style.overflow="hidden",ee.setAttribute("aria-hidden","true");let be=kkt(ee);if(be)be.style.opacity="0";let We=cG(ee);if(We)We.classList.add(v?a[Cs.caption_before_exit]:a[Cs.caption_after_exit]),We.addEventListener("animationend",fe);let Ye=uG(ee);if(Ye)Ye.classList.add(v?a[Cs.weeks_before_exit]:a[Cs.weeks_after_exit]);X.insertBefore(ee,X.firstChild)})}})}S();function d8e(e,r,a,i){let s=e[0],l=e[e.length-1],{ISOWeek:c,fixedWeeks:d,broadcastCalendar:h}=a??{},{addDays:g,differenceInCalendarDays:x,differenceInCalendarMonths:v,endOfBroadcastWeek:b,endOfISOWeek:y,endOfMonth:k,endOfWeek:T,isAfter:U,startOfBroadcastWeek:N,startOfISOWeek:j,startOfWeek:G}=i,X=h?N(s,i):c?j(s):G(s),J=h?b(l):c?y(k(l)):T(k(l)),ee=r&&(h?b(r):c?y(r):T(r)),re=ee&&U(J,ee)?ee:J,oe=x(re,X),fe=v(l,s)+1,be=[];for(let Se=0;Se<=oe;Se++){let He=g(X,Se);be.push(He)}let Ye=(h?35:42)*fe;if(d&&be.length<Ye){let Se=Ye-be.length;for(let He=0;He<Se;He++){let ft=g(be[be.length-1],1);be.push(ft)}}return be}function Z8e(e){let r=[];return e.reduce((a,i)=>{let s=i.weeks.reduce((l,c)=>l.concat(c.days.slice()),r.slice());return a.concat(s.slice())},r.slice())}function p8e(e,r,a,i){let{numberOfMonths:s=1}=a,l=[];for(let c=0;c<s;c++){let d=i.addMonths(e,c);if(r&&d>r)break;l.push(d)}return l}function dG(e,r,a,i){let{month:s,defaultMonth:l,today:c=i.today(),numberOfMonths:d=1}=e,h=s||l||c,{differenceInCalendarMonths:g,addMonths:x,startOfMonth:v}=i;if(a&&g(a,h)<d-1){let b=-1*(d-1);h=x(a,b)}if(r&&g(h,r)<0)h=r;return v(h)}function m8e(e,r,a,i){let{addDays:s,endOfBroadcastWeek:l,endOfISOWeek:c,endOfMonth:d,endOfWeek:h,getISOWeek:g,getWeek:x,startOfBroadcastWeek:v,startOfISOWeek:b,startOfWeek:y}=i,k=e.reduce((T,U)=>{let N=a.broadcastCalendar?v(U,i):a.ISOWeek?b(U):y(U),j=a.broadcastCalendar?l(U):a.ISOWeek?c(d(U)):h(d(U)),G=r.filter((re)=>re>=N&&re<=j),X=a.broadcastCalendar?35:42;if(a.fixedWeeks&&G.length<X){let re=r.filter((oe)=>{let fe=X-G.length;return oe>j&&oe<=s(j,fe)});G.push(...re)}let J=G.reduce((re,oe)=>{let fe=a.ISOWeek?g(oe):x(oe),be=re.find((Ye)=>Ye.weekNumber===fe),We=new DO(oe,U,i);if(!be)re.push(new WW(fe,[We]));else be.days.push(We);return re},[]),ee=new VW(U,J);return T.push(ee),T},[]);if(!a.reverseMonths)return k;else return k.reverse()}function h8e(e,r){let{startMonth:a,endMonth:i}=e,{startOfYear:s,startOfDay:l,startOfMonth:c,endOfMonth:d,addYears:h,endOfYear:g,today:x}=r,v=e.captionLayout==="dropdown"||e.captionLayout==="dropdown-years";if(a)a=c(a);else if(!a&&v)a=s(h(e.today??x(),-100));if(i)i=d(i);else if(!i&&v)i=g(e.today??x());return[a?l(a):a,i?l(i):i]}function g8e(e,r,a,i){if(a.disableNavigation)return;let{pagedNavigation:s,numberOfMonths:l=1}=a,{startOfMonth:c,addMonths:d,differenceInCalendarMonths:h}=i,g=s?l:1,x=c(e);if(!r)return d(x,g);if(h(r,e)<l)return;return d(x,g)}function M8e(e,r,a,i){if(a.disableNavigation)return;let{pagedNavigation:s,numberOfMonths:l}=a,{startOfMonth:c,addMonths:d,differenceInCalendarMonths:h}=i,g=s?l??1:1,x=c(e);if(!r)return d(x,-g);if(h(x,r)<=0)return;return d(x,-g)}function x8e(e){let r=[];return e.reduce((a,i)=>a.concat(i.weeks.slice()),r.slice())}S();function V8(e,r){let[a,i]=u(e);return[r===void 0?a:r,i]}function v8e(e,r){let[a,i]=h8e(e,r),{startOfMonth:s,endOfMonth:l}=r,c=dG(e,a,i,r),[d,h]=V8(c,e.month?c:void 0);m(()=>{let X=dG(e,a,i,r);h(X)},[e.timeZone]);let{months:g,weeks:x,days:v,previousMonth:b,nextMonth:y}=D(()=>{let X=p8e(d,i,{numberOfMonths:e.numberOfMonths},r),J=d8e(X,e.endMonth?l(e.endMonth):void 0,{ISOWeek:e.ISOWeek,fixedWeeks:e.fixedWeeks,broadcastCalendar:e.broadcastCalendar},r),ee=m8e(X,J,{broadcastCalendar:e.broadcastCalendar,fixedWeeks:e.fixedWeeks,ISOWeek:e.ISOWeek,reverseMonths:e.reverseMonths},r),re=x8e(ee),oe=Z8e(ee),fe=M8e(d,a,e,r),be=g8e(d,i,e,r);return{months:ee,weeks:re,days:oe,previousMonth:fe,nextMonth:be}},[r,d.getTime(),i?.getTime(),a?.getTime(),e.disableNavigation,e.broadcastCalendar,e.endMonth?.getTime(),e.fixedWeeks,e.ISOWeek,e.numberOfMonths,e.pagedNavigation,e.reverseMonths]),{disableNavigation:k,onMonthChange:T}=e,U=(X)=>x.some((J)=>J.days.some((ee)=>ee.isEqualTo(X))),N=(X)=>{if(k)return;let J=s(X);if(a&&J<s(a))J=s(a);if(i&&J>s(i))J=s(i);h(J),T?.(J)};return{months:g,weeks:x,days:v,navStart:a,navEnd:i,previousMonth:b,nextMonth:y,goToMonth:N,goToDay:(X)=>{if(U(X))return;N(X.date)}}}S();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 y8e(e){return!e[Aa.disabled]&&!e[Aa.hidden]&&!e[Aa.outside]}function _8e(e,r,a,i){let s,l=-1;for(let c of e){let d=r(c);if(y8e(d)){if(d[Aa.focused]&&l<zZ.FocusedModifier)s=c,l=zZ.FocusedModifier;else if(i?.isEqualTo(c)&&l<zZ.LastFocused)s=c,l=zZ.LastFocused;else if(a(c.date)&&l<zZ.Selected)s=c,l=zZ.Selected;else if(d[Aa.today]&&l<zZ.Today)s=c,l=zZ.Today}}if(!s)s=e.find((c)=>y8e(r(c)));return s}function b8e(e,r,a,i,s,l,c){let{ISOWeek:d,broadcastCalendar:h}=l,{addDays:g,addMonths:x,addWeeks:v,addYears:b,endOfBroadcastWeek:y,endOfISOWeek:k,endOfWeek:T,max:U,min:N,startOfBroadcastWeek:j,startOfISOWeek:G,startOfWeek:X}=c,ee={day:g,week:v,month:x,year:b,startOfWeek:(re)=>h?j(re,c):d?G(re):X(re),endOfWeek:(re)=>h?y(re):d?k(re):T(re)}[e](a,r==="after"?1:-1);if(r==="before"&&i)ee=U([i,ee]);else if(r==="after"&&s)ee=N([s,ee]);return ee}function ZG(e,r,a,i,s,l,c,d=0){if(d>365)return;let h=b8e(e,r,a.date,i,s,l,c),g=Boolean(l.disabled&&Ic(h,l.disabled,c)),x=Boolean(l.hidden&&Ic(h,l.hidden,c)),b=new DO(h,h,c);if(!g&&!x)return b;return ZG(e,r,b,i,s,l,c,d+1)}function w8e(e,r,a,i,s){let{autoFocus:l}=e,[c,d]=u(),h=_8e(r.days,a,i||(()=>!1),c),[g,x]=u(l?h:void 0);return{isFocusTarget:(T)=>Boolean(h?.isEqualTo(T)),setFocused:x,focused:g,blur:()=>{d(g),x(void 0)},moveFocus:(T,U)=>{if(!g)return;let N=ZG(T,U,g,r.navStart,r.navEnd,e,s);if(!N)return;if(e.disableNavigation){if(!r.days.some((G)=>G.isEqualTo(N)))return}r.goToDay(N),x(N)}}}function z8e(e,r){let{selected:a,required:i,onSelect:s}=e,[l,c]=V8(a,s?a:void 0),d=!s?l:a,{isSameDay:h}=r,g=(y)=>d?.some((k)=>h(k,y))??!1,{min:x,max:v}=e;return{selected:d,select:(y,k,T)=>{let U=[...d??[]];if(g(y)){if(d?.length===x)return;if(i&&d?.length===1)return;U=d?.filter((N)=>!h(N,y))}else if(d?.length===v)U=[y];else U=[...U,y];if(!s)c(U);return s?.(U,y,k,T),U},isSelected:g}}function S8e(e,r,a=0,i=0,s=!1,l=di){let{from:c,to:d}=r||{},{isSameDay:h,isAfter:g,isBefore:x}=l,v;if(!c&&!d)v={from:e,to:a>0?void 0:e};else if(c&&!d)if(h(c,e))if(a===0)v={from:c,to:e};else if(s)v={from:c,to:void 0};else v=void 0;else if(x(e,c))v={from:e,to:c};else v={from:c,to:e};else if(c&&d)if(h(c,e)&&h(d,e))if(s)v={from:c,to:d};else v=void 0;else if(h(c,e))v={from:c,to:a>0?void 0:e};else if(h(d,e))v={from:e,to:a>0?void 0:e};else if(x(e,c))v={from:e,to:d};else if(g(e,c))v={from:c,to:e};else if(g(e,d))v={from:c,to:e};else throw Error("Invalid range");if(v?.from&&v?.to){let b=l.differenceInCalendarDays(v.to,v.from);if(i>0&&b>i)v={from:e,to:void 0};else if(a>1&&b<a)v={from:e,to:void 0}}return v}function L8e(e,r,a=di){let i=!Array.isArray(r)?[r]:r,s=e.from,l=a.differenceInCalendarDays(e.to,e.from),c=Math.min(l,6);for(let d=0;d<=c;d++){if(i.includes(s.getDay()))return!0;s=a.addDays(s,1)}return!1}function pG(e,r,a=di){return sl(e,r.from,!1,a)||sl(e,r.to,!1,a)||sl(r,e.from,!1,a)||sl(r,e.to,!1,a)}function k8e(e,r,a=di){let i=Array.isArray(r)?r:[r];if(i.filter((d)=>typeof d!=="function").some((d)=>{if(typeof d==="boolean")return d;if(a.isDate(d))return sl(e,d,!1,a);if(pj(d,a))return d.some((h)=>sl(e,h,!1,a));if(H8(d)){if(d.from&&d.to)return pG(e,{from:d.from,to:d.to},a);return!1}if(Zj(d))return L8e(e,d.dayOfWeek,a);if(tP(d)){if(a.isAfter(d.before,d.after))return pG(e,{from:a.addDays(d.after,1),to:a.addDays(d.before,-1)},a);return Ic(e.from,d,a)||Ic(e.to,d,a)}if(rP(d)||oP(d))return Ic(e.from,d,a)||Ic(e.to,d,a);return!1}))return!0;let c=i.filter((d)=>typeof d==="function");if(c.length){let d=e.from,h=a.differenceInCalendarDays(e.to,e.from);for(let g=0;g<=h;g++){if(c.some((x)=>x(d)))return!0;d=a.addDays(d,1)}}return!1}function C8e(e,r){let{disabled:a,excludeDisabled:i,resetOnSelect:s,selected:l,required:c,onSelect:d}=e,[h,g]=V8(l,d?l:void 0),x=!d?h:l;return{selected:x,select:(y,k,T)=>{let{min:U,max:N}=e,j;if(y){let G=x?.from,X=x?.to,J=!!G&&!!X,ee=!!G&&!!X&&r.isSameDay(G,X)&&r.isSameDay(y,G);if(s&&(J||!x?.from))if(!c&&ee)j=void 0;else j={from:y,to:void 0};else j=S8e(y,x,U,N,c,r)}if(i&&a&&j?.from&&j.to){if(k8e({from:j.from,to:j.to},a,r))j.from=y,j.to=void 0}if(!d)g(j);return d?.(j,y,k,T),j},isSelected:(y)=>x&&sl(x,y,!1,r)}}function I8e(e,r){let{selected:a,required:i,onSelect:s}=e,[l,c]=V8(a,s?a:void 0),d=!s?l:a,{isSameDay:h}=r;return{selected:d,select:(v,b,y)=>{let k=v;if(!i&&d&&d&&h(v,d))k=void 0;if(!s)c(k);if(i)s?.(k,v,b,y);else s?.(k,v,b,y);return k},isSelected:(v)=>d?h(d,v):!1}}function R8e(e,r){let a=I8e(e,r),i=z8e(e,r),s=C8e(e,r);switch(e.mode){case"single":return a;case"multiple":return i;case"range":return s;default:return}}function Is(e,r){if(e instanceof On&&e.timeZone===r)return e;return new On(e,r)}function aP(e,r,a){if(!a)return Is(e,r);let i=Is(e,r),s=new On(i.getFullYear(),i.getMonth(),i.getDate(),12,0,0,r);return new Date(s.getTime())}function P8e(e,r,a){if(typeof e==="boolean"||typeof e==="function")return e;if(e instanceof Date)return aP(e,r,a);if(Array.isArray(e))return e.map((i)=>i instanceof Date?aP(i,r,a):i);if(H8(e))return{...e,from:e.from?Is(e.from,r):e.from,to:e.to?Is(e.to,r):e.to};if(tP(e))return{before:aP(e.before,r,a),after:aP(e.after,r,a)};if(rP(e))return{after:aP(e.after,r,a)};if(oP(e))return{before:aP(e.before,r,a)};return e}function mj(e,r,a){if(!e)return e;if(Array.isArray(e))return e.map((i)=>P8e(i,r,a));return P8e(e,r,a)}function T8e(e){let r=e,a=r.timeZone;if(a){if(r={...e,timeZone:a},r.today)r.today=Is(r.today,a);if(r.month)r.month=Is(r.month,a);if(r.defaultMonth)r.defaultMonth=Is(r.defaultMonth,a);if(r.startMonth)r.startMonth=Is(r.startMonth,a);if(r.endMonth)r.endMonth=Is(r.endMonth,a);if(r.mode==="single"&&r.selected)r.selected=Is(r.selected,a);else if(r.mode==="multiple"&&r.selected)r.selected=r.selected?.map((Dt)=>Is(Dt,a));else if(r.mode==="range"&&r.selected)r.selected={from:r.selected.from?Is(r.selected.from,a):r.selected.from,to:r.selected.to?Is(r.selected.to,a):r.selected.to};if(r.disabled!==void 0)r.disabled=mj(r.disabled,a);if(r.hidden!==void 0)r.hidden=mj(r.hidden,a);if(r.modifiers){let Dt={};Object.keys(r.modifiers).forEach((zt)=>{Dt[zt]=mj(r.modifiers?.[zt],a)}),r.modifiers=Dt}}let{components:i,formatters:s,labels:l,dateLib:c,locale:d,classNames:h}=D(()=>{let Dt={...EO,...r.locale},zt=r.broadcastCalendar?1:r.weekStartsOn,qt=r.noonSafe&&r.timeZone?c8e(r.timeZone,{weekStartsOn:zt,locale:Dt}):void 0,Nr=r.dateLib&&qt?{...qt,...r.dateLib}:r.dateLib??qt,Br=new ti({locale:Dt,weekStartsOn:zt,firstWeekContainsDate:r.firstWeekContainsDate,useAdditionalWeekYearTokens:r.useAdditionalWeekYearTokens,useAdditionalDayOfYearTokens:r.useAdditionalDayOfYearTokens,timeZone:r.timeZone,numerals:r.numerals},Nr);return{dateLib:Br,components:r8e(r.components),formatters:a8e(r.formatters),labels:n8e(r.labels,Br.options),locale:Dt,classNames:{...OO(),...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:c.today()};let{captionLayout:g,mode:x,navLayout:v,numberOfMonths:b=1,onDayBlur:y,onDayClick:k,onDayFocus:T,onDayKeyDown:U,onDayMouseEnter:N,onDayMouseLeave:j,onNextClick:G,onPrevClick:X,showWeekNumber:J,styles:ee}=r,{formatCaption:re,formatDay:oe,formatMonthDropdown:fe,formatWeekNumber:be,formatWeekNumberHeader:We,formatWeekdayName:Ye,formatYearDropdown:Se}=s,He=v8e(r,c),{days:ft,months:Je,navStart:xt,navEnd:Ft,previousMonth:Bt,nextMonth:ie,goToMonth:bt}=He,Wt=e8e(ft,r,xt,Ft,c),{isSelected:Fe,select:ir,selected:fr}=R8e(r,c)??{},{blur:Jt,focused:Fr,isFocusTarget:Gt,moveFocus:Xt,setFocused:Ir}=w8e(r,He,Wt,Fe??(()=>!1),c),{labelDayButton:yr,labelGridcell:Tr,labelGrid:pr,labelMonthDropdown:mo,labelNav:co,labelPrevious:va,labelNext:sr,labelWeekday:ho,labelWeekNumber:po,labelWeekNumberHeader:jo,labelYearDropdown:hn}=l,Wo=D(()=>s8e(c,r.ISOWeek,r.broadcastCalendar,r.today),[c,r.ISOWeek,r.broadcastCalendar,r.today]),Yn=x!==void 0||k!==void 0,gn=P(()=>{if(!Bt)return;bt(Bt),X?.(Bt)},[Bt,bt,X]),Vi=P(()=>{if(!ie)return;bt(ie),G?.(ie)},[bt,ie,G]),Ge=P((Dt,zt)=>(qt)=>{if(qt.preventDefault(),qt.stopPropagation(),Ir(Dt),zt.disabled)return;ir?.(Dt.date,zt,qt),k?.(Dt.date,zt,qt)},[ir,k,Ir]),Rt=P((Dt,zt)=>(qt)=>{Ir(Dt),T?.(Dt.date,zt,qt)},[T,Ir]),hr=P((Dt,zt)=>(qt)=>{Jt(),y?.(Dt.date,zt,qt)},[Jt,y]),Ur=P((Dt,zt)=>(qt)=>{let Nr={ArrowLeft:[qt.shiftKey?"month":"day",r.dir==="rtl"?"after":"before"],ArrowRight:[qt.shiftKey?"month":"day",r.dir==="rtl"?"before":"after"],ArrowDown:[qt.shiftKey?"year":"week","after"],ArrowUp:[qt.shiftKey?"year":"week","before"],PageUp:[qt.shiftKey?"year":"month","before"],PageDown:[qt.shiftKey?"year":"month","after"],Home:["startOfWeek","before"],End:["endOfWeek","after"]};if(Nr[qt.key]){qt.preventDefault(),qt.stopPropagation();let[Br,da]=Nr[qt.key];Xt(Br,da)}U?.(Dt.date,zt,qt)},[Xt,U,r.dir]),fo=P((Dt,zt)=>(qt)=>{N?.(Dt.date,zt,qt)},[N]),Go=P((Dt,zt)=>(qt)=>{j?.(Dt.date,zt,qt)},[j]),Va=P((Dt,zt)=>(qt)=>{let Nr=Number(qt.target.value),Br=c.setMonth(c.startOfMonth(Dt),Nr);bt(c.addMonths(Br,-zt))},[c,bt]),Ee=P((Dt,zt)=>(qt)=>{let Nr=Number(qt.target.value),Br=c.setYear(c.startOfMonth(Dt),Nr);bt(c.addMonths(Br,-zt))},[c,bt]),{className:Oe,style:je}=D(()=>({className:[h[Zr.Root],r.className].filter(Boolean).join(" "),style:{...ee?.[Zr.Root],...r.style}}),[h,r.className,r.style,ee]),Zt=o8e(r),St=(Dt)=>{let zt=ee?.[Zr.Dropdown],qt=ee?.[Dt];if(!zt&&!qt)return;return{...zt,...qt}},jt=_(null);u8e(jt,Boolean(r.animate),{classNames:h,months:Je,focused:Fr,dateLib:c});let nr={dayPickerProps:r,selected:fr,select:ir,isSelected:Fe,months:Je,nextMonth:ie,previousMonth:Bt,goToMonth:bt,getModifiers:Wt,components:i,classNames:h,styles:ee,labels:l,formatters:s};return q(GW.Provider,{value:nr},q(i.Root,{rootRef:r.animate?jt:void 0,className:Oe,style:je,dir:r.dir,id:r.id,lang:r.lang??d.code,nonce:r.nonce,title:r.title,role:r.role,"aria-label":r["aria-label"],"aria-labelledby":r["aria-labelledby"],...Zt},q(i.Months,{className:h[Zr.Months],style:ee?.[Zr.Months]},!r.hideNavigation&&!v&&q(i.Nav,{"data-animated-nav":r.animate?"true":void 0,className:h[Zr.Nav],style:ee?.[Zr.Nav],"aria-label":co(),onPreviousClick:gn,onNextClick:Vi,previousMonth:Bt,nextMonth:ie}),Je.map((Dt,zt)=>{let qt=r.reverseMonths?Je.length-1-zt:zt;return q(i.Month,{"data-animated-month":r.animate?"true":void 0,className:h[Zr.Month],style:ee?.[Zr.Month],key:zt,displayIndex:zt,calendarMonth:Dt},v==="around"&&!r.hideNavigation&&zt===0&&q(i.PreviousMonthButton,{type:"button",className:h[Zr.PreviousMonthButton],style:ee?.[Zr.PreviousMonthButton],tabIndex:Bt?void 0:-1,"aria-disabled":Bt?void 0:!0,"aria-label":va(Bt),onClick:gn,"data-animated-button":r.animate?"true":void 0},q(i.Chevron,{disabled:Bt?void 0:!0,className:h[Zr.Chevron],style:ee?.[Zr.Chevron],orientation:r.dir==="rtl"?"right":"left"})),q(i.MonthCaption,{"data-animated-caption":r.animate?"true":void 0,className:h[Zr.MonthCaption],style:ee?.[Zr.MonthCaption],calendarMonth:Dt,displayIndex:zt},g?.startsWith("dropdown")?q(i.DropdownNav,{className:h[Zr.Dropdowns],style:ee?.[Zr.Dropdowns]},(()=>{let Nr=g==="dropdown"||g==="dropdown-months"?q(i.MonthsDropdown,{key:"month",className:h[Zr.MonthsDropdown],"aria-label":mo(),disabled:Boolean(r.disableNavigation),onChange:Va(Dt.date,qt),options:i8e(Dt.date,xt,Ft,s,c),style:St(Zr.MonthsDropdown),value:c.getMonth(Dt.date)}):q("span",{key:"month"},fe(Dt.date,c)),Br=g==="dropdown"||g==="dropdown-years"?q(i.YearsDropdown,{key:"year",className:h[Zr.YearsDropdown],"aria-label":hn(c.options),disabled:Boolean(r.disableNavigation),onChange:Ee(Dt.date,qt),options:l8e(xt,Ft,s,c,Boolean(r.reverseYears)),style:St(Zr.YearsDropdown),value:c.getYear(Dt.date)}):q("span",{key:"year"},Se(Dt.date,c));return c.getMonthYearOrder()==="year-first"?[Br,Nr]:[Nr,Br]})(),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"}},re(Dt.date,c.options,c))):q(i.CaptionLabel,{className:h[Zr.CaptionLabel],style:ee?.[Zr.CaptionLabel],role:"status","aria-live":"polite"},re(Dt.date,c.options,c))),v==="around"&&!r.hideNavigation&&zt===b-1&&q(i.NextMonthButton,{type:"button",className:h[Zr.NextMonthButton],style:ee?.[Zr.NextMonthButton],tabIndex:ie?void 0:-1,"aria-disabled":ie?void 0:!0,"aria-label":sr(ie),onClick:Vi,"data-animated-button":r.animate?"true":void 0},q(i.Chevron,{disabled:ie?void 0:!0,className:h[Zr.Chevron],style:ee?.[Zr.Chevron],orientation:r.dir==="rtl"?"left":"right"})),zt===b-1&&v==="after"&&!r.hideNavigation&&q(i.Nav,{"data-animated-nav":r.animate?"true":void 0,className:h[Zr.Nav],style:ee?.[Zr.Nav],"aria-label":co(),onPreviousClick:gn,onNextClick:Vi,previousMonth:Bt,nextMonth:ie}),q(i.MonthGrid,{role:"grid","aria-multiselectable":x==="multiple"||x==="range","aria-label":pr(Dt.date,c.options,c)||void 0,className:h[Zr.MonthGrid],style:ee?.[Zr.MonthGrid]},!r.hideWeekdays&&q(i.Weekdays,{"data-animated-weekdays":r.animate?"true":void 0,className:h[Zr.Weekdays],style:ee?.[Zr.Weekdays]},J&&q(i.WeekNumberHeader,{"aria-label":jo(c.options),className:h[Zr.WeekNumberHeader],style:ee?.[Zr.WeekNumberHeader],scope:"col"},We()),Wo.map((Nr)=>q(i.Weekday,{"aria-label":ho(Nr,c.options,c),className:h[Zr.Weekday],key:String(Nr),style:ee?.[Zr.Weekday],scope:"col"},Ye(Nr,c.options,c)))),q(i.Weeks,{"data-animated-weeks":r.animate?"true":void 0,className:h[Zr.Weeks],style:ee?.[Zr.Weeks]},Dt.weeks.map((Nr)=>q(i.Week,{className:h[Zr.Week],key:Nr.weekNumber,style:ee?.[Zr.Week],week:Nr},J&&q(i.WeekNumber,{week:Nr,style:ee?.[Zr.WeekNumber],"aria-label":po(Nr.weekNumber,{locale:d}),className:h[Zr.WeekNumber],scope:"row",role:"rowheader"},be(Nr.weekNumber,c)),Nr.days.map((Br)=>{let{date:da}=Br,ar=Wt(Br);if(ar[Aa.focused]=!ar.hidden&&Boolean(Fr?.isEqualTo(Br)),ar[il.selected]=Fe?.(da)||ar.selected,H8(fr)){let{from:xf,to:Ea}=fr;ar[il.range_start]=Boolean(xf&&Ea&&c.isSameDay(da,xf)),ar[il.range_end]=Boolean(xf&&Ea&&c.isSameDay(da,Ea)),ar[il.range_middle]=sl(fr,da,!0,c)}let Ko=f8e(ar,ee,r.modifiersStyles),ya=t8e(ar,h,r.modifiersClassNames),ai=!Yn&&!ar.hidden?Tr(da,ar,c.options,c):void 0;return q(i.Day,{key:`${Br.isoDate}_${Br.displayMonthId}`,day:Br,modifiers:ar,className:ya.join(" "),style:Ko,role:"gridcell","aria-selected":ar.selected||void 0,"aria-label":ai,"data-day":Br.isoDate,"data-month":Br.outside?Br.dateMonthId:void 0,"data-selected":ar.selected||void 0,"data-disabled":ar.disabled||void 0,"data-hidden":ar.hidden||void 0,"data-outside":Br.outside||void 0,"data-focused":ar.focused||void 0,"data-today":ar.today||void 0},!ar.hidden&&Yn?q(i.DayButton,{className:h[Zr.DayButton],style:ee?.[Zr.DayButton],type:"button",day:Br,modifiers:ar,disabled:!ar.focused&&ar.disabled||void 0,"aria-disabled":ar.focused&&ar.disabled||void 0,tabIndex:Gt(Br)?0:-1,"aria-label":yr(da,ar,c.options,c),onClick:Ge(Br,ar),onBlur:hr(Br,ar),onFocus:Rt(Br,ar),onKeyDown:Ur(Br,ar),onMouseEnter:fo(Br,ar),onMouseLeave:Go(Br,ar)},oe(da,c.options,c)):!ar.hidden&&oe(Br.date,c.options,c))}))))))})),r.footer&&q(i.Footer,{className:h[Zr.Footer],style:ee?.[Zr.Footer],role:"status","aria-live":"polite"},r.footer)))}function A8e({className:e,classNames:r,showOutsideDays:a=!0,captionLayout:i="label",buttonVariant:s="ghost",formatters:l,components:c,...d}){let h=OO();return t(T8e,{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"}),...l},classNames:{root:E("w-fit",h.root),months:E("relative flex flex-col gap-4 md:flex-row",h.months),month:E("flex w-full flex-col gap-4",h.month),nav:E("absolute inset-x-0 top-0 flex w-full items-center justify-between gap-1",h.nav),button_previous:E(aF({variant:s}),"size-(--cell-size) p-0 select-none aria-disabled:opacity-50",h.button_previous),button_next:E(aF({variant:s}),"size-(--cell-size) p-0 select-none aria-disabled:opacity-50",h.button_next),month_caption:E("flex h-(--cell-size) w-full items-center justify-center px-(--cell-size)",h.month_caption),dropdowns:E("flex h-(--cell-size) w-full items-center justify-center gap-1.5 text-sm font-medium",h.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",h.dropdown_root),dropdown:E("absolute inset-0 bg-popover opacity-0",h.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",h.caption_label),month_grid:"w-full border-collapse",weekdays:E("flex",h.weekdays),weekday:E("flex-1 rounded-md text-[0.8rem] font-normal text-muted-foreground select-none",h.weekday),week:E("mt-2 flex w-full",h.week),week_number_header:E("w-(--cell-size) select-none",h.week_number_header),week_number:E("text-[0.8rem] text-muted-foreground select-none",h.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",d.showWeekNumber?"[&:nth-child(2)[data-selected=true]_button]:rounded-l-md":"[&:first-child[data-selected=true]_button]:rounded-l-md",h.day),range_start:E("rounded-l-md bg-accent",h.range_start),range_middle:E("rounded-none",h.range_middle),range_end:E("rounded-r-md bg-accent",h.range_end),today:E("rounded-md bg-accent text-accent-foreground data-[selected=true]:rounded-none",h.today),outside:E("text-muted-foreground aria-selected:text-muted-foreground",h.outside),disabled:E("text-muted-foreground opacity-50",h.disabled),hidden:E("invisible",h.hidden),...r},components:{Root:({className:g,rootRef:x,...v})=>t("div",{"data-slot":"calendar",ref:x,className:E(g),...v}),Chevron:({className:g,orientation:x,...v})=>{if(x==="left")return t(on,{className:E("size-4",g),...v});if(x==="right")return t(Et,{className:E("size-4",g),...v});return t(ve,{className:E("size-4",g),...v})},DayButton:Ckt,WeekNumber:({children:g,...x})=>t("td",{...x,children:t("div",{className:"flex size-(--cell-size) items-center justify-center text-center",children:g})}),...c},...d})}function Ckt({className:e,day:r,modifiers:a,...i}){let s=OO(),l=_(null);return m(()=>{if(a.focused)l.current?.focus()},[a.focused]),t(C,{ref:l,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",s.day,e),...i})}function ao({className:e,orientation:r="horizontal",decorative:a=!0,...i}){return t(YPe,{"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})}S();function Ei({value:e,onChange:r,placeholder:a="Pick a date",disabled:i,className:s}){let[l,c]=u(!1),[d,h]=u(e);m(()=>{if(l)h(e)},[l,e]);let g=Array.from({length:24},(T,U)=>U),x=Array.from({length:12},(T,U)=>U*5),v=(T)=>{if(T){let U=d?new Date(d):new Date;U.setFullYear(T.getFullYear()),U.setMonth(T.getMonth()),U.setDate(T.getDate()),h(U)}else h(void 0)},b=(T,U)=>{let N=d?new Date(d):new Date;if(T==="hour")N.setHours(U);else N.setMinutes(U);h(N)},y=(T)=>{let U=new Date;if(T==="24h")U=Ede(U,24);else if(T==="1w")U=sO(U,1);else if(T==="2w")U=sO(U,2);h(U)},k=()=>{r?.(d),c(!1)};return o(At,{open:l,onOpenChange:c,children:[t(_t,{asChild:!0,children:o(C,{variant:"outline",disabled:i,className:E("w-full justify-start text-left font-normal h-9",!e&&"text-muted-foreground",s),children:[t(jn,{className:"mr-2 h-4 w-4"}),e?Ar(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(A8e,{mode:"single",selected:d,onSelect:v,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(ce,{className:"w-64 sm:w-auto [&_[data-orientation=vertical]]:hidden",children:[t("div",{className:"flex sm:flex-col p-2",children:g.map((T)=>t(C,{size:"icon",variant:d&&d.getHours()===T?"default":"ghost",className:"sm:w-full shrink-0 aspect-square text-xs h-8 w-8",onClick:()=>b("hour",T),children:T.toString().padStart(2,"0")},T))}),t(wF,{orientation:"horizontal",className:"sm:hidden"})]}),o(ce,{className:"w-64 sm:w-auto [&_[data-orientation=vertical]]:hidden",children:[t("div",{className:"flex sm:flex-col p-2",children:x.map((T)=>t(C,{size:"icon",variant:d&&d.getMinutes()===T?"default":"ghost",className:"sm:w-full shrink-0 aspect-square text-xs h-8 w-8",onClick:()=>b("minute",T),children:T.toString().padStart(2,"0")},T))}),t(wF,{orientation:"horizontal",className:"sm:hidden"})]})]})]}),t(ao,{}),o("div",{className:"p-2 flex items-center justify-between bg-muted/50",children:[o("div",{className:"flex gap-2",children:[t(C,{variant:"outline",size:"sm",className:"text-[10px] h-7 px-2",onClick:()=>y("24h"),children:"24 Hours"}),t(C,{variant:"outline",size:"sm",className:"text-[10px] h-7 px-2",onClick:()=>y("1w"),children:"1 Week"}),t(C,{variant:"outline",size:"sm",className:"text-[10px] h-7 px-2",onClick:()=>y("2w"),children:"2 Weeks"})]}),t(C,{size:"sm",className:"h-7 px-4",onClick:k,children:"Save"})]})]})})]})}S();var Ikt=[Qe.TODO,Qe.READY,Qe.IN_PROGRESS,Qe.IN_REVIEW,Qe.DONE,Qe.BLOCKED];function Xd({teamId:e,currentTaskId:r,excludeTaskIds:a=[],value:i=[],knownTasks:s=[],onChange:l,disabled:c=!1,canEdit:d=!0,className:h}){let[g,x]=u(!1),[v,b]=u(Qe.TODO),[y,k]=u(""),[T,U]=u(()=>{let fe={};for(let be of s)fe[be.id]={title:be.title,status:be.status};return fe}),{data:N,isLoading:j}=Z({queryKey:["teams",e,"kanban","tasks","status",v],queryFn:async()=>{let fe=await A.api.teams[":teamId"].kanban.tasks.$get({param:{teamId:e},query:{status:v,first:"100"}});if(!fe.ok)return{data:[]};return await fe.json()},enabled:!!e&&g}),G=N?.data||[];D(()=>{if(G.length>0)U((fe)=>{let be=!1,We={...fe};for(let Ye of G)if(!We[Ye.id]||We[Ye.id].title!==Ye.title||We[Ye.id].status!==Ye.status)We[Ye.id]={title:Ye.title,status:Ye.status},be=!0;return be?We:fe})},[G]);let X=D(()=>{let fe=new Set(a);if(r)fe.add(r);return fe},[r,a]),J=D(()=>{let fe=y.trim().toLowerCase();return G.filter((be)=>{if(X.has(be.id))return!1;if(!fe)return!0;return be.title.toLowerCase().includes(fe)})},[G,X,y]),ee=(fe)=>{if(!d||c)return;let We=i.includes(fe)?i.filter((Ye)=>Ye!==fe):[...i,fe];l?.(We)},re=(fe,be)=>{if(be.stopPropagation(),!d||c)return;l?.(i.filter((We)=>We!==fe))},oe=d&&!c;return o(At,{open:g&&oe,onOpenChange:(fe)=>oe&&x(fe),children:[t(_t,{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",h),children:i.length===0?o("div",{className:"flex items-center gap-1.5 text-muted-foreground",children:[t(js,{className:"w-3.5 h-3.5 text-muted-foreground/70"}),t("span",{children:$ut()})]}):i.map((fe)=>{let be=T[fe];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:[be?.status&&t("span",{className:E("px-1 py-0.2 rounded text-[9px] uppercase font-semibold shrink-0",Y8(be.status)),children:io(be.status)}),t("span",{className:"truncate font-medium",children:be?.title||fe}),oe&&t("button",{type:"button",onClick:(We)=>re(fe,We),className:"text-muted-foreground hover:text-destructive shrink-0 p-0.5 -mr-1",children:t(Ne,{className:"w-3 h-3"})})]},fe)})})}),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:Ikt.map((fe)=>t("button",{type:"button",onClick:()=>b(fe),className:E("text-[11px] h-7 px-2.5 rounded-md font-medium transition-colors border shrink-0",v===fe?"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:io(fe)},fe))}),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(z,{value:y,onChange:(fe)=>k(fe.target.value),placeholder:W9e(),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(ce,{className:"h-48 p-1",children:j?t("div",{className:"flex items-center justify-center py-8",children:t(O,{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:Ile()}):t("div",{className:"space-y-1",children:J.map((fe)=>{let be=i.includes(fe.id);return o("div",{onClick:()=>ee(fe.id),className:E("flex items-center justify-between p-2 rounded-md hover:bg-accent cursor-pointer transition-colors text-xs border border-transparent",be&&"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",be?"bg-primary border-primary text-primary-foreground":"border-input bg-background"),children:be&&t(Pe,{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",Y8(fe.status)),children:io(fe.status)}),t("span",{className:"font-medium text-foreground truncate",children:fe.title})]}),fe.assignee&&t("span",{className:"text-[10px] text-muted-foreground truncate shrink-0",children:fe.assignee.name})]},fe.id)})})})})]})]})}S();function wr({className:e,...r}){return t(DCe,{"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(NCe,{"data-slot":"checkbox-indicator",className:"grid place-content-center text-current transition-none",children:t(Pe,{className:"size-3.5"})})})}function Jr(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 s=e/Math.pow(r,i);if(i===0)return`${Math.round(s)} B`;let l=parseFloat(s.toFixed(2));if(l>=1000&&i<a.length-1)return parseFloat((e/Math.pow(r,i+1)).toFixed(2))+" "+a[i+1];return`${l} ${a[i]}`}S();function E8e({teamId:e,initialProjectId:r,excludeAssetIds:a=[],isOpen:i,onClose:s,onConfirm:l}){let[c,d]=u(r||""),[h,g]=u(null),[x,v]=u(new Map),{data:b,isLoading:y}=Z({queryKey:["teams",e,"projects"],queryFn:async()=>{let bt=await A.api.teams[":teamId"].projects.$get({param:{teamId:e},query:{first:"100"}});if(!bt.ok)throw Error("Failed to fetch projects");return await bt.json()},enabled:!!e&&i}),k=b?.data||[],T=c||(k[0]?.id??""),U=k.find((bt)=>bt.id===T),N=h?.id||U?.rootFolder||"",j=N===U?.rootFolder,{data:G,fetchNextPage:X,hasNextPage:J,isFetchingNextPage:ee,isLoading:re}=mt({queryKey:["folders",N,"children","folder","picker"],queryFn:async({pageParam:bt})=>{let Wt=await A.api.folders[":folderId"].children.$get({param:{folderId:N},query:{assetType:"folder",after:bt,first:"20"}});if(!Wt.ok)throw Error("Failed to fetch folders");return await Wt.json()},initialPageParam:"",getNextPageParam:(bt)=>bt.pageInfo?.cursor||void 0,enabled:!!N&&i}),{data:oe,fetchNextPage:fe,hasNextPage:be,isFetchingNextPage:We,isLoading:Ye}=mt({queryKey:["folders",N,"children","file","picker"],queryFn:async({pageParam:bt})=>{let Wt=await A.api.folders[":folderId"].children.$get({param:{folderId:N},query:{assetType:"file",after:bt,first:"20"}});if(!Wt.ok)throw Error("Failed to fetch files");return await Wt.json()},initialPageParam:"",getNextPageParam:(bt)=>bt.pageInfo?.cursor||void 0,enabled:!!N&&i}),{ref:Se,inView:He}=Nt();m(()=>{if(He){if(J&&!ee)X();else if(be&&!We)fe()}},[He,J,ee,X,be,We,fe]);let ft=re&&!G||Ye&&!oe,Je=ee||We,xt=D(()=>{let bt=G?.pages.flatMap((Fe)=>Fe.data??[])??[],Wt=oe?.pages.flatMap((Fe)=>Fe.data??[])??[];return[...bt,...Wt]},[G,oe]),Ft=(bt)=>{let Wt=new Map(x);if(Wt.has(bt.id))Wt.delete(bt.id);else{let Fe=U?`/${[U.name,...(bt.ancestorFolders||[]).map((ir)=>ir.name)].filter(Boolean).join("/")}`:"/";Wt.set(bt.id,{id:bt.id,name:bt.name,type:bt.type,proxyType:bt.proxyType??null,thumbnailUrl:bt.preview?.thumbnailUrl??null,path:Fe,creator:bt.creator?{id:bt.creator.id,name:bt.creator.name,image:bt.creator.image??void 0}:null,sizeByte:bt.sizeByte??0,fileCount:bt.fileCount??null,projectId:bt.projectId??U?.id??null,createdAt:bt.createdAt??new Date().toISOString()})}v(Wt)},Bt=()=>{if(!h||j)return;let bt=new Map(x);if(bt.has(h.id))bt.delete(h.id);else{let Wt=U?`/${[U.name,...(h.ancestorFolders||[]).map((Fe)=>Fe.name)].filter(Boolean).join("/")}`:"/";bt.set(h.id,{id:h.id,name:h.name,type:"folder",proxyType:null,thumbnailUrl:null,path:Wt,creator:h.creator?{id:h.creator.id,name:h.creator.name,image:h.creator.image??void 0}:null,sizeByte:h.sizeByte??0,fileCount:h.fileCount??null,projectId:h.projectId??U?.id??null,createdAt:h.createdAt??new Date().toISOString()})}v(bt)},ie=()=>{l(Array.from(x.values())),s()};return t(ue,{open:i,onOpenChange:(bt)=>{if(!bt)s()},children:o(ae,{className:"sm:max-w-4xl flex flex-col h-[650px] p-0 overflow-hidden gap-1",children:[t(pe,{className:"px-4 py-3 border-b shrink-0",children:o("div",{className:"flex items-center gap-2",children:[t(rr,{className:"w-5 h-5 text-primary"}),t(le,{children:zut()})]})}),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:[yje(),":"]}),t("div",{className:"w-64",children:o(Le,{value:T,onValueChange:(bt)=>{d(bt),g(null)},children:[t(Be,{className:"h-8 text-xs bg-background",children:t(Ze,{placeholder:z9()})}),t(Ue,{children:k.map((bt)=>t(ne,{value:bt.id,className:"text-xs",children:bt.name},bt.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(ce,{className:"flex-1 min-h-0 [&>div>div]:block!",children:U&&U.rootFolder?t("div",{className:"p-2",children:t(vr,{teamId:e,projectId:U.id,projectName:U.name,rootFolderId:U.rootFolder,onSelect:(bt)=>g(bt),selectedFolderId:N,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(O,{className:"w-5 h-5 animate-spin text-muted-foreground"}):Rle()})})}),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(rr,{className:"w-4 h-4 text-muted-foreground shrink-0"}),t("span",{className:"truncate",children:h?h.name:U?.name||""}),j&&t("span",{className:"text-[10px] text-muted-foreground/70 bg-muted px-1.5 py-0.5 rounded",children:"Root"})]}),!j&&h&&t(C,{size:"sm",variant:x.has(h.id)?"secondary":"outline",className:"h-7 text-xs gap-1.5",onClick:Bt,disabled:a.includes(h.id),children:x.has(h.id)?o(L,{children:[t(Pe,{className:"w-3.5 h-3.5 text-primary"}),Xg()]}):o(L,{children:[t(de,{className:"w-3.5 h-3.5"}),Iut()]})})]}),t(ce,{className:"flex-1 min-h-0 [&>div>div]:block!",children:ft?t("div",{className:"flex items-center justify-center p-12",children:t(O,{className:"w-6 h-6 animate-spin text-muted-foreground"})}):xt.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(rr,{className:"w-8 h-8 opacity-30"}),t("p",{children:N$e()})]}):o("div",{className:"divide-y divide-border/40",children:[xt.map((bt)=>{let Wt=a.includes(bt.id),Fe=x.has(bt.id),ir=bt.type==="folder";return o("div",{onClick:()=>{if(!Wt)Ft(bt)},className:`flex items-center gap-3 px-4 py-2.5 hover:bg-muted/40 cursor-pointer transition-colors ${Fe?"bg-primary/5":""} ${Wt?"opacity-50 cursor-not-allowed":""}`,children:[t(wr,{checked:Fe,disabled:Wt,onCheckedChange:()=>{if(!Wt)Ft(bt)},onClick:(fr)=>fr.stopPropagation()}),t("div",{className:"w-9 h-9 rounded bg-muted/60 border shrink-0 flex items-center justify-center overflow-hidden",children:bt.preview?.thumbnailUrl?t("img",{src:bt.preview.thumbnailUrl,alt:bt.name,className:"w-full h-full object-cover"}):ir?t(rr,{className:"w-5 h-5 text-primary fill-primary/20"}):t(tr,{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:bt.name}),o("p",{className:"text-[11px] text-muted-foreground truncate",children:[ir?`${bt.fileCount??0} items`:Jr(bt.sizeByte||0),bt.creator?.name?` • ${bt.creator.name}`:""]})]})]},bt.id)}),t("div",{ref:Se,className:"h-1"}),Je&&t("div",{className:"flex items-center justify-center p-3",children:t(O,{className:"w-4 h-4 animate-spin text-muted-foreground"})})]})})]})]}),o(qe,{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:x.size>0&&mJe({count:x.size})}),o("div",{className:"flex items-center gap-2",children:[t(C,{variant:"outline",size:"sm",onClick:s,children:De()}),t(C,{size:"sm",onClick:ie,disabled:x.size===0,children:hle()})]})]})]})})}function ef({teamId:e,projectId:r,assets:a,onAddAssets:i,onRemoveAsset:s,disabled:l=!1,linkable:c=!1}){let[d,h]=u(!1),g=(x)=>{let v=new Set(a.map((y)=>y.id)),b=x.filter((y)=>!v.has(y.id));if(b.length>0)i(b)};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(ka,{className:"w-3.5 h-3.5 text-muted-foreground"}),t("span",{children:rlt()}),a.length>0&&o("span",{className:"text-[11px] text-muted-foreground font-normal",children:["(",a.length,")"]})]}),!l&&t(C,{type:"button",variant:"ghost",size:"sm",className:"h-6 w-6 p-0 hover:bg-muted",onClick:()=>h(!0),title:hle(),children:t(de,{className:"w-3.5 h-3.5"})})]}),t(ao,{}),a.length===0?t("p",{className:"text-xs text-muted-foreground/70 py-1 italic",children:Jet()}):t("div",{className:"space-y-1.5 max-h-48 overflow-y-auto pr-1",children:a.map((x)=>{let v=x.type==="folder",b=x.projectId||r,y=c&&b?`/projects/${b}/${v?"folders":"files"}/${x.id}`:null,k=o(L,{children:[t("div",{className:"w-7 h-7 rounded bg-muted border shrink-0 flex items-center justify-center overflow-hidden",children:x.thumbnailUrl?t("img",{src:x.thumbnailUrl,alt:x.name,className:"w-full h-full object-cover"}):v?t(rr,{className:"w-4 h-4 text-primary fill-primary/20"}):t(tr,{className:"w-4 h-4 text-muted-foreground"})}),o("div",{className:"flex-1 min-w-0",children:[t("p",{className:E("font-medium truncate text-foreground leading-snug",y&&"group-hover:underline group-hover:text-primary"),children:x.name}),t("p",{className:"text-[10px] text-muted-foreground truncate leading-none mt-0.5",children:x.path||"/"})]})]});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:[y?t(An,{to:y,title:x.name,className:"group flex items-center gap-2.5 min-w-0 flex-1 rounded-sm cursor-pointer focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",children:k}):t("div",{className:"flex items-center gap-2.5 min-w-0 flex-1",children:k}),o("div",{className:"flex items-center gap-2 shrink-0",children:[x.creator&&o("div",{className:"flex items-center gap-1 text-[11px] text-muted-foreground",title:x.creator.name,children:[o(Ce,{className:"w-4 h-4 text-[9px]",children:[t(Ie,{src:x.creator.image||void 0}),t(Te,{children:x.creator.name.slice(0,1).toUpperCase()})]}),t("span",{className:"hidden sm:inline text-[11px] max-w-[80px] truncate",children:x.creator.name})]}),!l&&t(C,{type:"button",variant:"ghost",size:"sm",className:"h-5 w-5 p-0 text-muted-foreground hover:text-destructive hover:bg-destructive/10",onClick:()=>s(x.id),title:D8t(),children:t(Ne,{className:"w-3 h-3"})})]})]},x.id)})}),d&&t(E8e,{teamId:e,initialProjectId:r,excludeAssetIds:a.map((x)=>x.id),isOpen:d,onClose:()=>h(!1),onConfirm:g})]})}S();function tf({teamId:e,currentProjectId:r,currentTargetFolderId:a,isOpen:i,onClose:s,onSelect:l}){let[c,d]=u(r||""),[h,g]=u(null),{data:x,isLoading:v}=Z({queryKey:["teams",e,"projects"],queryFn:async()=>{let U=await A.api.teams[":teamId"].projects.$get({param:{teamId:e},query:{first:"100"}});if(!U.ok)throw Error("Failed to fetch projects");return await U.json()},enabled:!!e&&i}),b=x?.data||[],y=c||(b[0]?.id??""),k=b.find((U)=>U.id===y),T=()=>{if(!y)return;let U=h?.id||k?.rootFolder;if(U)l(y,U,h?.name||k?.name),s()};return t(ue,{open:i,onOpenChange:(U)=>!U&&s(),children:o(ae,{className:"sm:max-w-2xl flex flex-col h-[580px]",children:[t(pe,{children:o("div",{className:"flex items-center gap-2",children:[t(rr,{className:"w-5 h-5 text-primary"}),t(le,{children:Op()})]})}),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:z9()}),o(Le,{value:y,onValueChange:(U)=>{d(U),g(null)},children:[t(Be,{className:"h-9",children:t(Ze,{placeholder:z9()})}),t(Ue,{children:b.map((U)=>t(ne,{value:U.id,children:U.name},U.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:qp()}),t("div",{className:"border rounded-md flex-1 overflow-hidden bg-sidebar/50",children:t(ce,{className:"h-full",children:k&&k.rootFolder?t(vr,{teamId:e,projectId:k.id,projectName:k.name,rootFolderId:k.rootFolder,onSelect:g,selectedFolderId:h?.id||a||k.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:v?t(O,{className:"w-5 h-5 animate-spin text-muted-foreground"}):Rle()})})})]})]}),o(qe,{children:[t(C,{variant:"outline",onClick:s,children:De()}),t(C,{onClick:T,disabled:!y,children:na()})]})]})})}function D8e({teamId:e,task:r,canEdit:a=!0}){let i=V(),[s,l]=u(r.title),[c,d]=u(r.description||""),[h,g]=u(!1),[x,v]=u(null),b=_(null);m(()=>{l(r.title),d(r.description||"")},[r.id,r.title,r.description]);let{data:y=[]}=Z({queryKey:["teams",e,"members","human"],queryFn:async()=>{let re=await A.api.teams[":teamId"].members.$get({param:{teamId:e},query:{includeAgents:"false"}});if(!re.ok)return[];let oe=await re.json();return Array.isArray(oe)?oe:[]},enabled:!!e}),{data:k=[]}=Z({queryKey:["teams",e,"agents"],queryFn:async()=>{let re=await A.api.teams[":teamId"].agents.$get({param:{teamId:e}});if(!re.ok)return[];return await re.json()||[]},enabled:!!e}),{data:T}=Z({queryKey:["teams",e,"kanban","goals"],queryFn:async()=>{let re=await A.api.teams[":teamId"].kanban.goals.$get({param:{teamId:e},query:{}});if(!re.ok)return{data:[]};return await re.json()},enabled:!!e}),U=T?.data||[],{mutate:N,isPending:j}=B({mutationFn:async(re)=>{let oe=await A.api.teams[":teamId"].kanban.tasks[":taskId"].$patch({param:{teamId:e,taskId:r.id},json:re});if(!oe.ok){let fe=await oe.json().catch(()=>({message:Mn()}));throw Error(fe.message||Mn())}return await oe.json()},onSuccess:()=>{i.invalidateQueries({queryKey:["teams",e,"kanban","task",r.id]}),i.invalidateQueries({queryKey:["teams",e,"kanban","tasks"]})},onError:(re)=>{M.error(re.message)}}),{mutate:G}=B({mutationFn:async(re)=>{let oe=await A.api.teams[":teamId"].kanban.tasks[":taskId"].assets.$post({param:{teamId:e,taskId:r.id},json:{assetIds:re.map((fe)=>fe.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"]}),M.success(Mle())},onError:(re)=>{M.error(re.message)}}),{mutate:X}=B({mutationFn:async(re)=>{let oe=await A.api.teams[":teamId"].kanban.tasks[":taskId"].assets[":assetId"].$delete({param:{teamId:e,taskId:r.id,assetId:re}});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"]}),M.success(xle())},onError:(re)=>{M.error(re.message)}}),J=(re,oe)=>{if(re==="title")l(oe);if(re==="description")d(oe);if(b.current)clearTimeout(b.current);b.current=setTimeout(()=>{if(re==="title"&&oe.trim()&&oe.trim()!==r.title)N({title:oe.trim()});else if(re==="description"&&oe!==(r.description||""))N({description:oe.trim()||null})},600)},ee=r.isAgentTask;return o(ce,{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(W,{htmlFor:"task-title",className:"text-xs font-semibold text-muted-foreground uppercase tracking-wider",children:yA()}),j&&o("span",{className:"flex items-center gap-1 text-[11px] text-muted-foreground animate-pulse",children:[t(O,{className:"w-3 h-3 animate-spin"}),eA()]})]}),t(z,{id:"task-title",value:s,onChange:(re)=>J("title",re.target.value),disabled:!a,className:"text-base font-semibold h-10 bg-background",placeholder:bA()})]}),o("div",{className:"space-y-1.5",children:[t(W,{htmlFor:"task-description",className:"text-xs font-semibold text-muted-foreground uppercase tracking-wider",children:gA()}),t(Si,{id:"task-description",value:c,onChange:(re)=>J("description",re.target.value),disabled:!a,rows:5,className:"text-xs leading-relaxed bg-background",placeholder:AA()})]}),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(W,{className:"text-xs font-medium text-muted-foreground flex items-center gap-1.5",children:[t(Tt,{className:"w-3.5 h-3.5 text-orange-500"}),t("span",{children:Hd()})]}),t("p",{className:"text-[11px] text-muted-foreground/80 line-clamp-1",children:vA()})]}),t(Me,{checked:r.isAgentTask,disabled:!0})]}),o("div",{className:"space-y-1.5",children:[t(W,{className:"text-xs font-medium text-muted-foreground",children:_A()}),o(Le,{value:r.priority,onValueChange:(re)=>N({priority:re}),disabled:!a,children:[t(Be,{className:"w-full h-8 text-xs bg-background",children:t(Ze,{})}),t(Ue,{children:Object.values(zr).map((re)=>t(ne,{value:re,children:t("span",{className:E("px-1.5 py-0.5 rounded text-[10px] uppercase font-medium",la(re)),children:aa(re)})},re))})]})]}),o("div",{className:"space-y-1.5",children:[t(W,{className:"text-xs font-medium text-muted-foreground",children:xd()}),o(Le,{value:r.goal?.id||"none",onValueChange:(re)=>N({goalId:re==="none"?null:re}),disabled:!a,children:[t(Be,{className:"w-full h-8 text-xs bg-background",children:t(Ze,{placeholder:oet()})}),o(Ue,{children:[t(ne,{value:"none",children:t("span",{className:"text-muted-foreground italic",children:"None"})}),U.filter((re)=>re.id!==wi).map((re)=>t(ne,{value:re.id,children:o("div",{className:"flex items-center gap-2",children:[t(So,{className:"w-3.5 h-3.5 text-primary"}),t("span",{children:re.title})]})},re.id))]})]})]}),o("div",{className:"space-y-1.5",children:[t(W,{className:"text-xs font-medium text-muted-foreground",children:ee?zd():nh()}),o(Le,{value:r.assignee?.id||"none",onValueChange:(re)=>N({assigneeId:re==="none"?null:re}),disabled:!a,children:[t(Be,{className:"w-full h-8 text-xs bg-background",children:t(Ze,{placeholder:_s()})}),o(Ue,{children:[t(ne,{value:"none",children:t("span",{className:"text-muted-foreground italic",children:_s()})}),ee?k.map((re)=>t(ne,{value:re.id,children:o("div",{className:"flex items-center gap-2",children:[t(Tt,{className:"w-3.5 h-3.5 text-purple-500"}),t("span",{children:re.name})]})},re.id)):y.map((re)=>t(ne,{value:re.id,children:o("div",{className:"flex items-center gap-2",children:[o(Ce,{size:"sm",className:"w-4 h-4",children:[t(Ie,{src:re.image}),t(Te,{className:"text-[8px]",children:re.name.slice(0,2).toUpperCase()})]}),t("span",{children:re.name})]})},re.id))]})]})]}),o("div",{className:"space-y-1.5",children:[t(W,{className:"text-xs font-medium text-muted-foreground",children:Vg()}),o(Le,{value:r.reporter?.id||"none",onValueChange:(re)=>N({reporterId:re==="none"?null:re}),disabled:!a,children:[t(Be,{className:"w-full h-8 text-xs bg-background",children:t(Ze,{placeholder:_s()})}),o(Ue,{children:[t(ne,{value:"none",children:t("span",{className:"text-muted-foreground italic",children:_s()})}),y.map((re)=>t(ne,{value:re.id,children:o("div",{className:"flex items-center gap-2",children:[o(Ce,{size:"sm",className:"w-4 h-4",children:[t(Ie,{src:re.image}),t(Te,{className:"text-[8px]",children:re.name.slice(0,2).toUpperCase()})]}),t("span",{children:re.name})]})},re.id))]})]})]}),ee&&o("div",{className:"sm:col-span-2 space-y-1.5",children:[t(W,{className:"text-xs font-medium text-muted-foreground",children:qp()}),t("div",{className:"flex items-center gap-2",children:o(C,{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(rr,{className:"w-3.5 h-3.5 mr-2 text-primary shrink-0"}),t("span",{className:"truncate",children:x||(r.targetFolderId?"Selected Folder":Op())})]})})]}),o("div",{className:"space-y-1.5",children:[t(W,{className:"text-xs font-medium text-muted-foreground",children:jd()}),t(Ei,{value:r.startDate?new Date(r.startDate):void 0,onChange:(re)=>N({startDate:re?re.toISOString():null}),disabled:!a,placeholder:jd(),className:"h-8 text-xs bg-background"})]}),o("div",{className:"space-y-1.5",children:[t(W,{className:"text-xs font-medium text-muted-foreground",children:gd()}),t(Ei,{value:r.dueDate?new Date(r.dueDate):void 0,onChange:(re)=>N({dueDate:re?re.toISOString():null}),disabled:!a,placeholder:gd(),className:"h-8 text-xs bg-background"})]}),o("div",{className:"sm:col-span-2 space-y-1.5",children:[t(W,{className:"text-xs font-medium text-muted-foreground",children:Eg()}),t(Xd,{teamId:e,currentTaskId:r.id,excludeTaskIds:r.dependents.map((re)=>re.id),value:r.dependencies.map((re)=>re.id),knownTasks:[...r.dependencies,...r.dependents],onChange:(re)=>N({parentIds:re}),canEdit:a})]}),t("div",{className:"sm:col-span-2 pt-1",children:t(ef,{teamId:e,projectId:r.projectId,assets:r.assets||[],onAddAssets:(re)=>G(re),onRemoveAsset:(re)=>X(re),disabled:!a,linkable:!0})})]})]}),h&&t(tf,{teamId:e,currentProjectId:r.projectId,currentTargetFolderId:r.targetFolderId,isOpen:h,onClose:()=>g(!1),onSelect:(re,oe,fe)=>{v(fe||"Selected Folder"),N({projectId:re,targetFolderId:oe})}})]})}S();S();function Rs(){}function hj(){}function O8e(e,r){let a=r||{};return(e[e.length-1]===""?[...e,""]:e).join((a.padRight?" ":"")+","+(a.padLeft===!1?"":" ")).trim()}var Rkt=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Pkt=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Tkt={};function gj(e,r){return((r||Tkt).jsx?Pkt:Rkt).test(e)}var Akt=/[ \t\n\f\r]/g;function mG(e){return typeof e==="object"?e.type==="text"?N8e(e.value):!1:N8e(e)}function N8e(e){return e.replace(Akt,"")===""}class W8{constructor(e,r,a){if(this.normal=r,this.property=e,a)this.space=a}}W8.prototype.normal={};W8.prototype.property={};W8.prototype.space=void 0;function hG(e,r){let a={},i={};for(let s of e)Object.assign(a,s.property),Object.assign(i,s.normal);return new W8(a,i,r)}function FO(e){return e.toLowerCase()}class mf{constructor(e,r){this.attribute=r,this.property=e}}mf.prototype.attribute="";mf.prototype.booleanish=!1;mf.prototype.boolean=!1;mf.prototype.commaOrSpaceSeparated=!1;mf.prototype.commaSeparated=!1;mf.prototype.defined=!1;mf.prototype.mustUseProperty=!1;mf.prototype.number=!1;mf.prototype.overloadedBoolean=!1;mf.prototype.property="";mf.prototype.spaceSeparated=!1;mf.prototype.space=void 0;var jO={};ke(jO,{boolean:()=>Xr,booleanish:()=>Nn,commaOrSpaceSeparated:()=>ll,commaSeparated:()=>MM,number:()=>Qt,overloadedBoolean:()=>Mj,spaceSeparated:()=>ua});var Ekt=0,Xr=RL(),Nn=RL(),Mj=RL(),Qt=RL(),ua=RL(),MM=RL(),ll=RL();function RL(){return 2**++Ekt}var gG=Object.keys(jO);class nP extends mf{constructor(e,r,a,i){let s=-1;super(e,r);if(F8e(this,"space",i),typeof a==="number")while(++s<gG.length){let l=gG[s];F8e(this,gG[s],(a&jO[l])===jO[l])}}}nP.prototype.defined=!0;function F8e(e,r,a){if(a)e[r]=a}function Tc(e){let r={},a={};for(let[i,s]of Object.entries(e.properties)){let l=new nP(i,e.transform(e.attributes||{},i),s,e.space);if(e.mustUseProperty&&e.mustUseProperty.includes(i))l.mustUseProperty=!0;r[i]=l,a[FO(i)]=i,a[FO(l.attribute)]=i}return new W8(r,a,e.space)}var MG=Tc({properties:{ariaActiveDescendant:null,ariaAtomic:Nn,ariaAutoComplete:null,ariaBusy:Nn,ariaChecked:Nn,ariaColCount:Qt,ariaColIndex:Qt,ariaColSpan:Qt,ariaControls:ua,ariaCurrent:null,ariaDescribedBy:ua,ariaDetails:null,ariaDisabled:Nn,ariaDropEffect:ua,ariaErrorMessage:null,ariaExpanded:Nn,ariaFlowTo:ua,ariaGrabbed:Nn,ariaHasPopup:null,ariaHidden:Nn,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:ua,ariaLevel:Qt,ariaLive:null,ariaModal:Nn,ariaMultiLine:Nn,ariaMultiSelectable:Nn,ariaOrientation:null,ariaOwns:ua,ariaPlaceholder:null,ariaPosInSet:Qt,ariaPressed:Nn,ariaReadOnly:Nn,ariaRelevant:null,ariaRequired:Nn,ariaRoleDescription:ua,ariaRowCount:Qt,ariaRowIndex:Qt,ariaRowSpan:Qt,ariaSelected:Nn,ariaSetSize:Qt,ariaSort:null,ariaValueMax:Qt,ariaValueMin:Qt,ariaValueNow:Qt,ariaValueText:null,role:null},transform(e,r){return r==="role"?r:"aria-"+r.slice(4).toLowerCase()}});function xj(e,r){return r in e?e[r]:r}function vj(e,r){return xj(e,r.toLowerCase())}var j8e=Tc({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:MM,acceptCharset:ua,accessKey:ua,action:null,allow:null,allowFullScreen:Xr,allowPaymentRequest:Xr,allowUserMedia:Xr,alpha:Xr,alt:null,as:null,async:Xr,autoCapitalize:null,autoComplete:ua,autoFocus:Xr,autoPlay:Xr,blocking:ua,capture:null,charSet:null,checked:Xr,cite:null,className:ua,closedBy:null,colorSpace:null,cols:Qt,colSpan:Qt,command:null,commandFor:null,content:null,contentEditable:Nn,controls:Xr,controlsList:ua,coords:Qt|MM,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Xr,defer:Xr,dir:null,dirName:null,disabled:Xr,download:Mj,draggable:Nn,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Xr,formTarget:null,headers:ua,height:Qt,hidden:Mj,high:Qt,href:null,hrefLang:null,htmlFor:ua,httpEquiv:ua,id:null,imageSizes:null,imageSrcSet:null,inert:Xr,inputMode:null,integrity:null,is:null,isMap:Xr,itemId:null,itemProp:ua,itemRef:ua,itemScope:Xr,itemType:ua,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Xr,low:Qt,manifest:null,max:null,maxLength:Qt,media:null,method:null,min:null,minLength:Qt,multiple:Xr,muted:Xr,name:null,nonce:null,noModule:Xr,noValidate:Xr,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:Xr,optimum:Qt,pattern:null,ping:ua,placeholder:null,playsInline:Xr,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:Xr,referrerPolicy:null,rel:ua,required:Xr,reversed:Xr,rows:Qt,rowSpan:Qt,sandbox:ua,scope:null,scoped:Xr,seamless:Xr,selected:Xr,shadowRootClonable:Xr,shadowRootCustomElementRegistry:Xr,shadowRootDelegatesFocus:Xr,shadowRootMode:null,shadowRootSerializable:Xr,shape:null,size:Qt,sizes:null,slot:null,span:Qt,spellCheck:Nn,src:null,srcDoc:null,srcLang:null,srcSet:null,start:Qt,step:null,style:null,tabIndex:Qt,target:null,title:null,translate:null,type:null,typeMustMatch:Xr,useMap:null,value:Nn,width:Qt,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:ua,axis:null,background:null,bgColor:null,border:Qt,borderColor:null,bottomMargin:Qt,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:Xr,declare:Xr,event:null,face:null,frame:null,frameBorder:null,hSpace:Qt,leftMargin:Qt,link:null,longDesc:null,lowSrc:null,marginHeight:Qt,marginWidth:Qt,noResize:Xr,noHref:Xr,noShade:Xr,noWrap:Xr,object:null,profile:null,prompt:null,rev:null,rightMargin:Qt,rules:null,scheme:null,scrolling:Nn,standby:null,summary:null,text:null,topMargin:Qt,valueType:null,version:null,vAlign:null,vLink:null,vSpace:Qt,allowTransparency:null,autoCorrect:null,autoSave:null,credentialless:Xr,disablePictureInPicture:Xr,disableRemotePlayback:Xr,exportParts:MM,part:ua,prefix:null,property:null,results:Qt,security:null,unselectable:null},space:"html",transform:vj});var B8e=Tc({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:Qt,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:Qt,amplitude:Qt,arabicForm:null,ascent:Qt,attributeName:null,attributeType:null,azimuth:Qt,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:Qt,by:null,calcMode:null,capHeight:Qt,className:ua,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:Qt,diffuseConstant:Qt,direction:null,display:null,dur:null,divisor:Qt,dominantBaseline:null,download:Xr,dx:null,dy:null,edgeMode:null,editable:null,elevation:Qt,enableBackground:null,end:null,event:null,exponent:Qt,externalResourcesRequired:null,fill:null,fillOpacity:Qt,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:MM,g2:MM,glyphName:MM,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:Qt,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:Qt,horizOriginX:Qt,horizOriginY:Qt,id:null,ideographic:Qt,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:Qt,k:Qt,k1:Qt,k2:Qt,k3:Qt,k4:Qt,kernelMatrix:ll,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:Qt,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:Qt,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:Qt,overlineThickness:Qt,paintOrder:null,panose1:null,path:null,pathLength:Qt,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:ua,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:Qt,pointsAtY:Qt,pointsAtZ:Qt,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:Qt,specularExponent:Qt,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:Qt,strikethroughThickness:Qt,string:null,stroke:null,strokeDashArray:ll,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:Qt,strokeOpacity:Qt,strokeWidth:null,style:null,surfaceScale:Qt,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:ll,tabIndex:Qt,tableValues:null,target:null,targetX:Qt,targetY:Qt,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:Qt,underlineThickness:Qt,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:Qt,values:null,vAlphabetic:Qt,vMathematical:Qt,vectorEffect:null,vHanging:Qt,vIdeographic:Qt,version:null,vertAdvY:Qt,vertOriginX:Qt,vertOriginY:Qt,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:Qt,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:xj});var xG=Tc({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 vG=Tc({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:vj});var yG=Tc({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,r){return"xml:"+r.slice(3).toLowerCase()}});var _G={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 Dkt=/[A-Z]/g,U8e=/-[a-z]/g,Okt=/^data[-\w.:]+$/i;function bG(e,r){let a=FO(r),i=r,s=mf;if(a in e.normal)return e.property[e.normal[a]];if(a.length>4&&a.slice(0,4)==="data"&&Okt.test(r)){if(r.charAt(4)==="-"){let l=r.slice(5).replace(U8e,Fkt);i="data"+l.charAt(0).toUpperCase()+l.slice(1)}else{let l=r.slice(4);if(!U8e.test(l)){let c=l.replace(Dkt,Nkt);if(c.charAt(0)!=="-")c="-"+c;r="data"+c}}s=nP}return new s(i,r)}function Nkt(e){return"-"+e.toLowerCase()}function Fkt(e){return e.charAt(1).toUpperCase()}var Y8e=hG([MG,j8e,xG,vG,yG],"html"),yj=hG([MG,B8e,xG,vG,yG],"svg");function q8e(e){return e.join(" ").trim()}var fxe=H(oxe(),1);var _j=axe("end"),iP=axe("start");function axe(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 SG(e){let r=iP(e),a=_j(e);if(r&&a)return{start:r,end:a}}function G8(e){if(!e||typeof e!=="object")return"";if("position"in e||"type"in e)return nxe(e.position);if("start"in e||"end"in e)return nxe(e);if("line"in e||"column"in e)return LG(e);return""}function LG(e){return ixe(e&&e.line)+":"+ixe(e&&e.column)}function nxe(e){return LG(e&&e.start)+"-"+LG(e&&e.end)}function ixe(e){return e&&typeof e==="number"?e:1}class Zi extends Error{constructor(e,r,a){super();if(typeof r==="string")a=r,r=void 0;let i="",s={},l=!1;if(r)if("line"in r&&"column"in r)s={place:r};else if("start"in r&&"end"in r)s={place:r};else if("type"in r)s={ancestors:[r],place:r.position};else s={...r};if(typeof e==="string")i=e;else if(!s.cause&&e)l=!0,i=e.message,s.cause=e;if(!s.ruleId&&!s.source&&typeof a==="string"){let d=a.indexOf(":");if(d===-1)s.ruleId=a;else s.source=a.slice(0,d),s.ruleId=a.slice(d+1)}if(!s.place&&s.ancestors&&s.ancestors){let d=s.ancestors[s.ancestors.length-1];if(d)s.place=d.position}let c=s.place&&"start"in s.place?s.place.start:s.place;this.ancestors=s.ancestors||void 0,this.cause=s.cause||void 0,this.column=c?c.column:void 0,this.fatal=void 0,this.file="",this.message=i,this.line=c?c.line:void 0,this.name=G8(s.place)||"1:1",this.place=s.place||void 0,this.reason=this.message,this.ruleId=s.ruleId||void 0,this.source=s.source||void 0,this.stack=l&&s.cause&&typeof s.cause.stack==="string"?s.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}Zi.prototype.file="";Zi.prototype.name="";Zi.prototype.reason="";Zi.prototype.message="";Zi.prototype.stack="";Zi.prototype.column=void 0;Zi.prototype.line=void 0;Zi.prototype.ancestors=void 0;Zi.prototype.cause=void 0;Zi.prototype.fatal=void 0;Zi.prototype.place=void 0;Zi.prototype.ruleId=void 0;Zi.prototype.source=void 0;var kG={}.hasOwnProperty,uCt=new Map,dCt=/[A-Z]/g,ZCt=new Set(["table","tbody","thead","tfoot","tr"]),pCt=new Set(["td","th"]),sxe="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function CG(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=_Ct(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=yCt(a,r.jsx,r.jsxs)}let s={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"?yj:Y8e,stylePropertyNameCase:r.stylePropertyNameCase||"dom",tableCellAlignToStyle:r.tableCellAlignToStyle!==!1},l=lxe(s,e,void 0);if(l&&typeof l!=="string")return l;return s.create(e,s.Fragment,{children:l||void 0},void 0)}function lxe(e,r,a){if(r.type==="element")return mCt(e,r,a);if(r.type==="mdxFlowExpression"||r.type==="mdxTextExpression")return hCt(e,r);if(r.type==="mdxJsxFlowElement"||r.type==="mdxJsxTextElement")return MCt(e,r,a);if(r.type==="mdxjsEsm")return gCt(e,r);if(r.type==="root")return xCt(e,r,a);if(r.type==="text")return vCt(e,r)}function mCt(e,r,a){let i=e.schema,s=i;if(r.tagName.toLowerCase()==="svg"&&i.space==="html")s=yj,e.schema=s;e.ancestors.push(r);let l=uxe(e,r.tagName,!1),c=bCt(e,r),d=RG(e,r);if(ZCt.has(r.tagName))d=d.filter(function(h){return typeof h==="string"?!mG(h):!0});return cxe(e,c,l,r),IG(c,d),e.ancestors.pop(),e.schema=i,e.create(r,l,c,a)}function hCt(e,r){if(r.data&&r.data.estree&&e.evaluater){let i=r.data.estree.body[0];return Rs(i.type==="ExpressionStatement"),e.evaluater.evaluateExpression(i.expression)}UO(e,r.position)}function gCt(e,r){if(r.data&&r.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(r.data.estree);UO(e,r.position)}function MCt(e,r,a){let i=e.schema,s=i;if(r.name==="svg"&&i.space==="html")s=yj,e.schema=s;e.ancestors.push(r);let l=r.name===null?e.Fragment:uxe(e,r.name,!0),c=wCt(e,r),d=RG(e,r);return cxe(e,c,l,r),IG(c,d),e.ancestors.pop(),e.schema=i,e.create(r,l,c,a)}function xCt(e,r,a){let i={};return IG(i,RG(e,r)),e.create(r,e.Fragment,i,a)}function vCt(e,r){return r.value}function cxe(e,r,a,i){if(typeof a!=="string"&&a!==e.Fragment&&e.passNode)r.node=i}function IG(e,r){if(r.length>0){let a=r.length>1?r:r[0];if(a)e.children=a}}function yCt(e,r,a){return i;function i(s,l,c,d){let g=Array.isArray(c.children)?a:r;return d?g(l,c,d):g(l,c)}}function _Ct(e,r){return a;function a(i,s,l,c){let d=Array.isArray(l.children),h=iP(i);return r(s,l,c,d,{columnNumber:h?h.column-1:void 0,fileName:e,lineNumber:h?h.line:void 0},void 0)}}function bCt(e,r){let a={},i,s;for(s in r.properties)if(s!=="children"&&kG.call(r.properties,s)){let l=zCt(e,s,r.properties[s]);if(l){let[c,d]=l;if(e.tableCellAlignToStyle&&c==="align"&&typeof d==="string"&&pCt.has(r.tagName))i=d;else a[c]=d}}if(i){let l=a.style||(a.style={});l[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=i}return a}function wCt(e,r){let a={};for(let i of r.attributes)if(i.type==="mdxJsxExpressionAttribute")if(i.data&&i.data.estree&&e.evaluater){let l=i.data.estree.body[0];Rs(l.type==="ExpressionStatement");let c=l.expression;Rs(c.type==="ObjectExpression");let d=c.properties[0];Rs(d.type==="SpreadElement"),Object.assign(a,e.evaluater.evaluateExpression(d.argument))}else UO(e,r.position);else{let s=i.name,l;if(i.value&&typeof i.value==="object")if(i.value.data&&i.value.data.estree&&e.evaluater){let d=i.value.data.estree.body[0];Rs(d.type==="ExpressionStatement"),l=e.evaluater.evaluateExpression(d.expression)}else UO(e,r.position);else l=i.value===null?!0:i.value;a[s]=l}return a}function RG(e,r){let a=[],i=-1,s=e.passKeys?new Map:uCt;while(++i<r.children.length){let l=r.children[i],c;if(e.passKeys){let h=l.type==="element"?l.tagName:l.type==="mdxJsxFlowElement"||l.type==="mdxJsxTextElement"?l.name:void 0;if(h){let g=s.get(h)||0;c=h+"-"+g,s.set(h,g+1)}}let d=lxe(e,l,c);if(d!==void 0)a.push(d)}return a}function zCt(e,r,a){let i=bG(e.schema,r);if(a===null||a===void 0||typeof a==="number"&&Number.isNaN(a))return;if(Array.isArray(a))a=i.commaSeparated?O8e(a):q8e(a);if(i.property==="style"){let s=typeof a==="object"?a:SCt(e,String(a));if(e.stylePropertyNameCase==="css")s=LCt(s);return["style",s]}return[e.elementAttributeNameCase==="react"&&i.space?_G[i.property]||i.property:i.attribute,a]}function SCt(e,r){try{return fxe.default(r,{reactCompat:!0})}catch(a){if(e.ignoreInvalidStyle)return{};let i=a,s=new Zi("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:i,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw s.file=e.filePath||void 0,s.url=sxe+"#cannot-parse-style-attribute",s}}function uxe(e,r,a){let i;if(!a)i={type:"Literal",value:r};else if(r.includes(".")){let s=r.split("."),l=-1,c;while(++l<s.length){let d=gj(s[l])?{type:"Identifier",name:s[l]}:{type:"Literal",value:s[l]};c=c?{type:"MemberExpression",object:c,property:d,computed:Boolean(l&&d.type==="Literal"),optional:!1}:d}Rs(c,"always a result"),i=c}else i=gj(r)&&!/^[a-z]/.test(r)?{type:"Identifier",name:r}:{type:"Literal",value:r};if(i.type==="Literal"){let s=i.value;return kG.call(e.components,s)?e.components[s]:s}if(e.evaluater)return e.evaluater.evaluateExpression(i);UO(e)}function UO(e,r){let a=new Zi("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=sxe+"#cannot-handle-mdx-estrees-without-createevaluater",a}function LCt(e){let r={},a;for(a in e)if(kG.call(e,a))r[kCt(a)]=e[a];return r}function kCt(e){let r=e.replace(dCt,CCt);if(r.slice(0,3)==="ms-")r="-"+r;return r}function CCt(e){return"-"+e.toLowerCase()}var YO={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"]};S();var ICt={};function PG(e,r){let a=r||ICt,i=typeof a.includeImageAlt==="boolean"?a.includeImageAlt:!0,s=typeof a.includeHtml==="boolean"?a.includeHtml:!0;return Zxe(e,i,s)}function Zxe(e,r,a){if(RCt(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 dxe(e.children,r,a)}if(Array.isArray(e))return dxe(e,r,a);return""}function dxe(e,r,a){let i=[],s=-1;while(++s<e.length)i[s]=Zxe(e[s],r,a);return i.join("")}function RCt(e){return Boolean(e&&typeof e==="object")}var pxe=document.createElement("i");function fP(e){let r="&"+e+";";pxe.innerHTML=r;let a=pxe.textContent;if(a.charCodeAt(a.length-1)===59&&e!=="semi")return!1;return a===r?!1:a}function hf(e,r,a,i){let s=e.length,l=0,c;if(r<0)r=-r>s?0:s+r;else r=r>s?s:r;if(a=a>0?a:0,i.length<1e4)c=Array.from(i),c.unshift(r,a),e.splice(...c);else{if(a)e.splice(r,a);while(l<i.length)c=i.slice(l,l+1e4),c.unshift(r,0),e.splice(...c),l+=1e4,r+=1e4}}function Ps(e,r){if(e.length>0)return hf(e,e.length,0,r),e;return r}var mxe={}.hasOwnProperty;function hxe(e){let r={},a=-1;while(++a<e.length)PCt(r,e[a]);return r}function PCt(e,r){let a;for(a in r){let s=(mxe.call(e,a)?e[a]:void 0)||(e[a]={}),l=r[a],c;if(l)for(c in l){if(!mxe.call(s,c))s[c]=[];let d=l[c];TCt(s[c],Array.isArray(d)?d:d?[d]:[])}}}function TCt(e,r){let a=-1,i=[];while(++a<r.length)(r[a].add==="after"?e:i).push(r[a]);hf(e,0,0,i)}function bj(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 xM(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}var rc=K8(/[A-Za-z]/),Ui=K8(/[\dA-Za-z]/),gxe=K8(/[#-'*+\--9=?A-Z^-~]/);function qO(e){return e!==null&&(e<32||e===127)}var HO=K8(/\d/),Mxe=K8(/[\dA-Fa-f]/),xxe=K8(/[!-/:-@[-`{-~]/);function kr(e){return e!==null&&e<-2}function ri(e){return e!==null&&(e<0||e===32)}function $r(e){return e===-2||e===-1||e===32}var vxe=K8(/\p{P}|\p{S}/u),yxe=K8(/\s/);function K8(e){return r;function r(a){return a!==null&&a>-1&&e.test(String.fromCharCode(a))}}function Ac(e){let r=[],a=-1,i=0,s=0;while(++a<e.length){let l=e.charCodeAt(a),c="";if(l===37&&Ui(e.charCodeAt(a+1))&&Ui(e.charCodeAt(a+2)))s=2;else if(l<128){if(!/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(l)))c=String.fromCharCode(l)}else if(l>55295&&l<57344){let d=e.charCodeAt(a+1);if(l<56320&&d>56319&&d<57344)c=String.fromCharCode(l,d),s=1;else c="�"}else c=String.fromCharCode(l);if(c)r.push(e.slice(i,a),encodeURIComponent(c)),i=a+s+1,c="";if(s)a+=s,s=0}return r.join("")+e.slice(i)}function lo(e,r,a,i){let s=i?i-1:Number.POSITIVE_INFINITY,l=0;return c;function c(h){if($r(h))return e.enter(a),d(h);return r(h)}function d(h){if($r(h)&&l++<s)return e.consume(h),d;return e.exit(a),r(h)}}var _xe={tokenize:ACt};function ACt(e){let r=e.attempt(this.parser.constructs.contentInitial,i,s),a;return r;function i(d){if(d===null){e.consume(d);return}return e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),lo(e,r,"linePrefix")}function s(d){return e.enter("paragraph"),l(d)}function l(d){let h=e.enter("chunkText",{contentType:"text",previous:a});if(a)a.next=h;return a=h,c(d)}function c(d){if(d===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(d);return}if(kr(d))return e.consume(d),e.exit("chunkText"),l;return e.consume(d),c}}var wxe={tokenize:ECt},bxe={tokenize:DCt};function ECt(e){let r=this,a=[],i=0,s,l,c;return d;function d(G){if(i<a.length){let X=a[i];return r.containerState=X[1],e.attempt(X[0].continuation,h,g)(G)}return g(G)}function h(G){if(i++,r.containerState._closeFlow){if(r.containerState._closeFlow=void 0,s)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}N(i);let re=X;while(re<r.events.length)r.events[re][1].end={...ee},re++;return hf(r.events,J+1,0,r.events.slice(X)),r.events.length=re,g(G)}return d(G)}function g(G){if(i===a.length){if(!s)return b(G);if(s.currentConstruct&&s.currentConstruct.concrete)return k(G);r.interrupt=Boolean(s.currentConstruct&&!s._gfmTableDynamicInterruptHack)}return r.containerState={},e.check(bxe,x,v)(G)}function x(G){if(s)j();return N(i),b(G)}function v(G){return r.parser.lazy[r.now().line]=i!==a.length,c=r.now().offset,k(G)}function b(G){return r.containerState={},e.attempt(bxe,y,k)(G)}function y(G){return i++,a.push([r.currentConstruct,r.containerState]),b(G)}function k(G){if(G===null){if(s)j();N(0),e.consume(G);return}return s=s||r.parser.flow(r.now()),e.enter("chunkFlow",{_tokenizer:s,contentType:"flow",previous:l}),T(G)}function T(G){if(G===null){U(e.exit("chunkFlow"),!0),N(0),e.consume(G);return}if(kr(G))return e.consume(G),U(e.exit("chunkFlow")),i=0,r.interrupt=void 0,d;return e.consume(G),T}function U(G,X){let J=r.sliceStream(G);if(X)J.push(null);if(G.previous=l,l)l.next=G;if(l=G,s.defineSkip(G.start),s.write(J),r.parser.lazy[G.start.line]){let ee=s.events.length;while(ee--)if(s.events[ee][1].start.offset<c&&(!s.events[ee][1].end||s.events[ee][1].end.offset>c))return;let re=r.events.length,oe=re,fe,be;while(oe--)if(r.events[oe][0]==="exit"&&r.events[oe][1].type==="chunkFlow"){if(fe){be=r.events[oe][1].end;break}fe=!0}N(i),ee=re;while(ee<r.events.length)r.events[ee][1].end={...be},ee++;hf(r.events,oe+1,0,r.events.slice(re)),r.events.length=ee}}function N(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(){s.write([null]),l=void 0,s=void 0,r.containerState._closeFlow=void 0}}function DCt(e,r,a){return lo(e,e.attempt(this.parser.constructs.document,r,a),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function TG(e){if(e===null||ri(e)||yxe(e))return 1;if(vxe(e))return 2}function sP(e,r,a){let i=[],s=-1;while(++s<e.length){let l=e[s].resolveAll;if(l&&!i.includes(l))r=l(r,a),i.push(l)}return r}var VO={name:"attention",resolveAll:OCt,tokenize:NCt};function OCt(e,r){let a=-1,i,s,l,c,d,h,g,x;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;h=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 v={...e[i][1].end},b={...e[a][1].start};if(zxe(v,-h),zxe(b,h),c={type:h>1?"strongSequence":"emphasisSequence",start:v,end:{...e[i][1].end}},d={type:h>1?"strongSequence":"emphasisSequence",start:{...e[a][1].start},end:b},l={type:h>1?"strongText":"emphasisText",start:{...e[i][1].end},end:{...e[a][1].start}},s={type:h>1?"strong":"emphasis",start:{...c.start},end:{...d.end}},e[i][1].end={...c.start},e[a][1].start={...d.end},g=[],e[i][1].end.offset-e[i][1].start.offset)g=Ps(g,[["enter",e[i][1],r],["exit",e[i][1],r]]);if(g=Ps(g,[["enter",s,r],["enter",c,r],["exit",c,r],["enter",l,r]]),g=Ps(g,sP(r.parser.constructs.insideSpan.null,e.slice(i+1,a),r)),g=Ps(g,[["exit",l,r],["enter",d,r],["exit",d,r],["exit",s,r]]),e[a][1].end.offset-e[a][1].start.offset)x=2,g=Ps(g,[["enter",e[a][1],r],["exit",e[a][1],r]]);else x=0;hf(e,i-1,a-i+3,g),a=i+g.length-x-2;break}}a=-1;while(++a<e.length)if(e[a][1].type==="attentionSequence")e[a][1].type="data";return e}function NCt(e,r){let a=this.parser.constructs.attentionMarkers.null,i=this.previous,s=TG(i),l;return c;function c(h){return l=h,e.enter("attentionSequence"),d(h)}function d(h){if(h===l)return e.consume(h),d;let g=e.exit("attentionSequence"),x=TG(h),v=!x||x===2&&s||a.includes(h),b=!s||s===2&&x||a.includes(i);return g._open=Boolean(l===42?v:v&&(s||!b)),g._close=Boolean(l===42?b:b&&(x||!v)),r(h)}}function zxe(e,r){e.column+=r,e.offset+=r,e._bufferIndex+=r}var AG={name:"autolink",tokenize:FCt};function FCt(e,r,a){let i=0;return s;function s(y){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(y),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),l}function l(y){if(rc(y))return e.consume(y),c;if(y===64)return a(y);return g(y)}function c(y){if(y===43||y===45||y===46||Ui(y))return i=1,d(y);return g(y)}function d(y){if(y===58)return e.consume(y),i=0,h;if((y===43||y===45||y===46||Ui(y))&&i++<32)return e.consume(y),d;return i=0,g(y)}function h(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||qO(y))return a(y);return e.consume(y),h}function g(y){if(y===64)return e.consume(y),x;if(gxe(y))return e.consume(y),g;return a(y)}function x(y){return Ui(y)?v(y):a(y)}function v(y){if(y===46)return e.consume(y),i=0,x;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||Ui(y))&&i++<63){let k=y===45?b:v;return e.consume(y),k}return a(y)}}var X8={partial:!0,tokenize:jCt};function jCt(e,r,a){return i;function i(l){return $r(l)?lo(e,s,"linePrefix")(l):s(l)}function s(l){return l===null||kr(l)?r(l):a(l)}}var wj={continuation:{tokenize:UCt},exit:YCt,name:"blockQuote",tokenize:BCt};function BCt(e,r,a){let i=this;return s;function s(c){if(c===62){let d=i.containerState;if(!d.open)e.enter("blockQuote",{_container:!0}),d.open=!0;return e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(c),e.exit("blockQuoteMarker"),l}return a(c)}function l(c){if($r(c))return e.enter("blockQuotePrefixWhitespace"),e.consume(c),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),r;return e.exit("blockQuotePrefix"),r(c)}}function UCt(e,r,a){let i=this;return s;function s(c){if($r(c))return lo(e,l,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(c);return l(c)}function l(c){return e.attempt(wj,r,a)(c)}}function YCt(e){e.exit("blockQuote")}var zj={name:"characterEscape",tokenize:qCt};function qCt(e,r,a){return i;function i(l){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(l),e.exit("escapeMarker"),s}function s(l){if(xxe(l))return e.enter("characterEscapeValue"),e.consume(l),e.exit("characterEscapeValue"),e.exit("characterEscape"),r;return a(l)}}var Sj={name:"characterReference",tokenize:HCt};function HCt(e,r,a){let i=this,s=0,l,c;return d;function d(v){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(v),e.exit("characterReferenceMarker"),h}function h(v){if(v===35)return e.enter("characterReferenceMarkerNumeric"),e.consume(v),e.exit("characterReferenceMarkerNumeric"),g;return e.enter("characterReferenceValue"),l=31,c=Ui,x(v)}function g(v){if(v===88||v===120)return e.enter("characterReferenceMarkerHexadecimal"),e.consume(v),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),l=6,c=Mxe,x;return e.enter("characterReferenceValue"),l=7,c=HO,x(v)}function x(v){if(v===59&&s){let b=e.exit("characterReferenceValue");if(c===Ui&&!fP(i.sliceSerialize(b)))return a(v);return e.enter("characterReferenceMarker"),e.consume(v),e.exit("characterReferenceMarker"),e.exit("characterReference"),r}if(c(v)&&s++<l)return e.consume(v),x;return a(v)}}var Sxe={partial:!0,tokenize:WCt},Lj={concrete:!0,name:"codeFenced",tokenize:VCt};function VCt(e,r,a){let i=this,s={partial:!0,tokenize:J},l=0,c=0,d;return h;function h(ee){return g(ee)}function g(ee){let re=i.events[i.events.length-1];return l=re&&re[1].type==="linePrefix"?re[2].sliceSerialize(re[1],!0).length:0,d=ee,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),x(ee)}function x(ee){if(ee===d)return c++,e.consume(ee),x;if(c<3)return a(ee);return e.exit("codeFencedFenceSequence"),$r(ee)?lo(e,v,"whitespace")(ee):v(ee)}function v(ee){if(ee===null||kr(ee))return e.exit("codeFencedFence"),i.interrupt?r(ee):e.check(Sxe,T,X)(ee);return e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),b(ee)}function b(ee){if(ee===null||kr(ee))return e.exit("chunkString"),e.exit("codeFencedFenceInfo"),v(ee);if($r(ee))return e.exit("chunkString"),e.exit("codeFencedFenceInfo"),lo(e,y,"whitespace")(ee);if(ee===96&&ee===d)return a(ee);return e.consume(ee),b}function y(ee){if(ee===null||kr(ee))return v(ee);return e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),k(ee)}function k(ee){if(ee===null||kr(ee))return e.exit("chunkString"),e.exit("codeFencedFenceMeta"),v(ee);if(ee===96&&ee===d)return a(ee);return e.consume(ee),k}function T(ee){return e.attempt(s,X,U)(ee)}function U(ee){return e.enter("lineEnding"),e.consume(ee),e.exit("lineEnding"),N}function N(ee){return l>0&&$r(ee)?lo(e,j,"linePrefix",l+1)(ee):j(ee)}function j(ee){if(ee===null||kr(ee))return e.check(Sxe,T,X)(ee);return e.enter("codeFlowValue"),G(ee)}function G(ee){if(ee===null||kr(ee))return e.exit("codeFlowValue"),j(ee);return e.consume(ee),G}function X(ee){return e.exit("codeFenced"),r(ee)}function J(ee,re,oe){let fe=0;return be;function be(ft){return ee.enter("lineEnding"),ee.consume(ft),ee.exit("lineEnding"),We}function We(ft){return ee.enter("codeFencedFence"),$r(ft)?lo(ee,Ye,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(ft):Ye(ft)}function Ye(ft){if(ft===d)return ee.enter("codeFencedFenceSequence"),Se(ft);return oe(ft)}function Se(ft){if(ft===d)return fe++,ee.consume(ft),Se;if(fe>=c)return ee.exit("codeFencedFenceSequence"),$r(ft)?lo(ee,He,"whitespace")(ft):He(ft);return oe(ft)}function He(ft){if(ft===null||kr(ft))return ee.exit("codeFencedFence"),re(ft);return oe(ft)}}}function WCt(e,r,a){let i=this;return s;function s(c){if(c===null)return a(c);return e.enter("lineEnding"),e.consume(c),e.exit("lineEnding"),l}function l(c){return i.parser.lazy[i.now().line]?a(c):r(c)}}var WO={name:"codeIndented",tokenize:KCt},GCt={partial:!0,tokenize:XCt};function KCt(e,r,a){let i=this;return s;function s(g){return e.enter("codeIndented"),lo(e,l,"linePrefix",5)(g)}function l(g){let x=i.events[i.events.length-1];return x&&x[1].type==="linePrefix"&&x[2].sliceSerialize(x[1],!0).length>=4?c(g):a(g)}function c(g){if(g===null)return h(g);if(kr(g))return e.attempt(GCt,c,h)(g);return e.enter("codeFlowValue"),d(g)}function d(g){if(g===null||kr(g))return e.exit("codeFlowValue"),c(g);return e.consume(g),d}function h(g){return e.exit("codeIndented"),r(g)}}function XCt(e,r,a){let i=this;return s;function s(c){if(i.parser.lazy[i.now().line])return a(c);if(kr(c))return e.enter("lineEnding"),e.consume(c),e.exit("lineEnding"),s;return lo(e,l,"linePrefix",5)(c)}function l(c){let d=i.events[i.events.length-1];return d&&d[1].type==="linePrefix"&&d[2].sliceSerialize(d[1],!0).length>=4?r(c):kr(c)?s(c):a(c)}}var EG={name:"codeText",previous:JCt,resolve:QCt,tokenize:$Ct};function QCt(e){let r=e.length-4,a=3,i,s;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(s===void 0){if(i!==r&&e[i][1].type!=="lineEnding")s=i}else if(i===r||e[i][1].type==="lineEnding"){if(e[s][1].type="codeTextData",i!==s+2)e[s][1].end=e[i-1][1].end,e.splice(s+2,i-s-2),r-=i-s-2,i=s+2;s=void 0}return e}function JCt(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function $Ct(e,r,a){let i=this,s=0,l,c;return d;function d(b){return e.enter("codeText"),e.enter("codeTextSequence"),h(b)}function h(b){if(b===96)return e.consume(b),s++,h;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 c=e.enter("codeTextSequence"),l=0,v(b);if(kr(b))return e.enter("lineEnding"),e.consume(b),e.exit("lineEnding"),g;return e.enter("codeTextData"),x(b)}function x(b){if(b===null||b===32||b===96||kr(b))return e.exit("codeTextData"),g(b);return e.consume(b),x}function v(b){if(b===96)return e.consume(b),l++,v;if(l===s)return e.exit("codeTextSequence"),e.exit("codeText"),r(b);return c.type="codeTextData",x(b)}}class DG{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 s=this.right.splice(this.right.length-i,Number.POSITIVE_INFINITY);if(a)GO(this.left,a);return s.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),GO(this.left,e)}unshift(e){this.setCursor(0),this.right.push(e)}unshiftMany(e){this.setCursor(0),GO(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);GO(this.right,r.reverse())}else{let r=this.right.splice(this.left.length+this.right.length-e,Number.POSITIVE_INFINITY);GO(this.left,r.reverse())}}}function GO(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 kj(e){let r={},a=-1,i,s,l,c,d,h,g,x=new DG(e);while(++a<x.length){while(a in r)a=r[a];if(i=x.get(a),a&&i[1].type==="chunkFlow"&&x.get(a-1)[1].type==="listItemPrefix"){if(h=i[1]._tokenizer.events,l=0,l<h.length&&h[l][1].type==="lineEndingBlank")l+=2;if(l<h.length&&h[l][1].type==="content")while(++l<h.length){if(h[l][1].type==="content")break;if(h[l][1].type==="chunkText")h[l][1]._isInFirstContentOfListItem=!0,l++}}if(i[0]==="enter"){if(i[1].contentType)Object.assign(r,eIt(x,a)),a=r[a],g=!0}else if(i[1]._container){l=a,s=void 0;while(l--)if(c=x.get(l),c[1].type==="lineEnding"||c[1].type==="lineEndingBlank"){if(c[0]==="enter"){if(s)x.get(s)[1].type="lineEndingBlank";c[1].type="lineEnding",s=l}}else if(c[1].type==="linePrefix"||c[1].type==="listItemIndent");else break;if(s)i[1].end={...x.get(s)[1].start},d=x.slice(s,a),d.unshift(i),x.splice(s,a-s+1,d)}}return hf(e,0,Number.POSITIVE_INFINITY,x.slice(0)),!g}function eIt(e,r){let a=e.get(r)[1],i=e.get(r)[2],s=r-1,l=[],c=a._tokenizer;if(!c){if(c=i.parser[a.contentType](a.start),a._contentTypeTextTrailing)c._contentTypeTextTrailing=!0}let d=c.events,h=[],g={},x,v,b=-1,y=a,k=0,T=0,U=[T];while(y){while(e.get(++s)[1]!==y);if(l.push(s),!y._tokenizer){if(x=i.sliceStream(y),!y.next)x.push(null);if(v)c.defineSkip(y.start);if(y._isInFirstContentOfListItem)c._gfmTasklistFirstContentOfListItem=!0;if(c.write(x),y._isInFirstContentOfListItem)c._gfmTasklistFirstContentOfListItem=void 0}v=y,y=y.next}y=a;while(++b<d.length)if(d[b][0]==="exit"&&d[b-1][0]==="enter"&&d[b][1].type===d[b-1][1].type&&d[b][1].start.line!==d[b][1].end.line)T=b+1,U.push(T),y._tokenizer=void 0,y.previous=void 0,y=y.next;if(c.events=[],y)y._tokenizer=void 0,y.previous=void 0;else U.pop();b=U.length;while(b--){let N=d.slice(U[b],U[b+1]),j=l.pop();h.push([j,j+N.length-1]),e.splice(j,2,N)}h.reverse(),b=-1;while(++b<h.length)g[k+h[b][0]]=k+h[b][1],k+=h[b][1]-h[b][0]-1;return g}var OG={resolve:rIt,tokenize:oIt},tIt={partial:!0,tokenize:aIt};function rIt(e){return kj(e),e}function oIt(e,r){let a;return i;function i(d){return e.enter("content"),a=e.enter("chunkContent",{contentType:"content"}),s(d)}function s(d){if(d===null)return l(d);if(kr(d))return e.check(tIt,c,l)(d);return e.consume(d),s}function l(d){return e.exit("chunkContent"),e.exit("content"),r(d)}function c(d){return e.consume(d),e.exit("chunkContent"),a.next=e.enter("chunkContent",{contentType:"content",previous:a}),a=a.next,s}}function aIt(e,r,a){let i=this;return s;function s(c){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(c),e.exit("lineEnding"),lo(e,l,"linePrefix")}function l(c){if(c===null||kr(c))return a(c);let d=i.events[i.events.length-1];if(!i.parser.constructs.disable.null.includes("codeIndented")&&d&&d[1].type==="linePrefix"&&d[2].sliceSerialize(d[1],!0).length>=4)return r(c);return e.interrupt(i.parser.constructs.flow,a,r)(c)}}function Cj(e,r,a,i,s,l,c,d,h){let g=h||Number.POSITIVE_INFINITY,x=0;return v;function v(N){if(N===60)return e.enter(i),e.enter(s),e.enter(l),e.consume(N),e.exit(l),b;if(N===null||N===32||N===41||qO(N))return a(N);return e.enter(i),e.enter(c),e.enter(d),e.enter("chunkString",{contentType:"string"}),T(N)}function b(N){if(N===62)return e.enter(l),e.consume(N),e.exit(l),e.exit(s),e.exit(i),r;return e.enter(d),e.enter("chunkString",{contentType:"string"}),y(N)}function y(N){if(N===62)return e.exit("chunkString"),e.exit(d),b(N);if(N===null||N===60||kr(N))return a(N);return e.consume(N),N===92?k:y}function k(N){if(N===60||N===62||N===92)return e.consume(N),y;return y(N)}function T(N){if(!x&&(N===null||N===41||ri(N)))return e.exit("chunkString"),e.exit(d),e.exit(c),e.exit(i),r(N);if(x<g&&N===40)return e.consume(N),x++,T;if(N===41)return e.consume(N),x--,T;if(N===null||N===32||N===40||qO(N))return a(N);return e.consume(N),N===92?U:T}function U(N){if(N===40||N===41||N===92)return e.consume(N),T;return T(N)}}function Ij(e,r,a,i,s,l){let c=this,d=0,h;return g;function g(y){return e.enter(i),e.enter(s),e.consume(y),e.exit(s),e.enter(l),x}function x(y){if(d>999||y===null||y===91||y===93&&!h||y===94&&!d&&"_hiddenFootnoteSupport"in c.parser.constructs)return a(y);if(y===93)return e.exit(l),e.enter(s),e.consume(y),e.exit(s),e.exit(i),r;if(kr(y))return e.enter("lineEnding"),e.consume(y),e.exit("lineEnding"),x;return e.enter("chunkString",{contentType:"string"}),v(y)}function v(y){if(y===null||y===91||y===93||kr(y)||d++>999)return e.exit("chunkString"),x(y);if(e.consume(y),!h)h=!$r(y);return y===92?b:v}function b(y){if(y===91||y===92||y===93)return e.consume(y),d++,v;return v(y)}}function Rj(e,r,a,i,s,l){let c;return d;function d(b){if(b===34||b===39||b===40)return e.enter(i),e.enter(s),e.consume(b),e.exit(s),c=b===40?41:b,h;return a(b)}function h(b){if(b===c)return e.enter(s),e.consume(b),e.exit(s),e.exit(i),r;return e.enter(l),g(b)}function g(b){if(b===c)return e.exit(l),h(c);if(b===null)return a(b);if(kr(b))return e.enter("lineEnding"),e.consume(b),e.exit("lineEnding"),lo(e,g,"linePrefix");return e.enter("chunkString",{contentType:"string"}),x(b)}function x(b){if(b===c||b===null||kr(b))return e.exit("chunkString"),g(b);return e.consume(b),b===92?v:x}function v(b){if(b===c||b===92)return e.consume(b),x;return x(b)}}function TL(e,r){let a;return i;function i(s){if(kr(s))return e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),a=!0,i;if($r(s))return lo(e,i,a?"linePrefix":"lineSuffix")(s);return r(s)}}var NG={name:"definition",tokenize:iIt},nIt={partial:!0,tokenize:fIt};function iIt(e,r,a){let i=this,s;return l;function l(y){return e.enter("definition"),c(y)}function c(y){return Ij.call(i,e,d,a,"definitionLabel","definitionLabelMarker","definitionLabelString")(y)}function d(y){if(s=xM(i.sliceSerialize(i.events[i.events.length-1][1]).slice(1,-1)),y===58)return e.enter("definitionMarker"),e.consume(y),e.exit("definitionMarker"),h;return a(y)}function h(y){return ri(y)?TL(e,g)(y):g(y)}function g(y){return Cj(e,x,a,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(y)}function x(y){return e.attempt(nIt,v,v)(y)}function v(y){return $r(y)?lo(e,b,"whitespace")(y):b(y)}function b(y){if(y===null||kr(y))return e.exit("definition"),i.parser.defined.push(s),r(y);return a(y)}}function fIt(e,r,a){return i;function i(d){return ri(d)?TL(e,s)(d):a(d)}function s(d){return Rj(e,l,a,"definitionTitle","definitionTitleMarker","definitionTitleString")(d)}function l(d){return $r(d)?lo(e,c,"whitespace")(d):c(d)}function c(d){return d===null||kr(d)?r(d):a(d)}}var FG={name:"hardBreakEscape",tokenize:sIt};function sIt(e,r,a){return i;function i(l){return e.enter("hardBreakEscape"),e.consume(l),s}function s(l){if(kr(l))return e.exit("hardBreakEscape"),r(l);return a(l)}}var jG={name:"headingAtx",resolve:lIt,tokenize:cIt};function lIt(e,r){let a=e.length-2,i=3,s,l;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)s={type:"atxHeadingText",start:e[i][1].start,end:e[a][1].end},l={type:"chunkText",start:e[i][1].start,end:e[a][1].end,contentType:"text"},hf(e,i,a-i+1,[["enter",s,r],["enter",l,r],["exit",l,r],["exit",s,r]]);return e}function cIt(e,r,a){let i=0;return s;function s(x){return e.enter("atxHeading"),l(x)}function l(x){return e.enter("atxHeadingSequence"),c(x)}function c(x){if(x===35&&i++<6)return e.consume(x),c;if(x===null||ri(x))return e.exit("atxHeadingSequence"),d(x);return a(x)}function d(x){if(x===35)return e.enter("atxHeadingSequence"),h(x);if(x===null||kr(x))return e.exit("atxHeading"),r(x);if($r(x))return lo(e,d,"whitespace")(x);return e.enter("atxHeadingText"),g(x)}function h(x){if(x===35)return e.consume(x),h;return e.exit("atxHeadingSequence"),d(x)}function g(x){if(x===null||x===35||ri(x))return e.exit("atxHeadingText"),d(x);return e.consume(x),g}}var Lxe=["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"],BG=["pre","script","style","textarea"];var UG={concrete:!0,name:"htmlFlow",resolveTo:ZIt,tokenize:pIt},uIt={partial:!0,tokenize:hIt},dIt={partial:!0,tokenize:mIt};function ZIt(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 pIt(e,r,a){let i=this,s,l,c,d,h;return g;function g(Fe){return x(Fe)}function x(Fe){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(Fe),v}function v(Fe){if(Fe===33)return e.consume(Fe),b;if(Fe===47)return e.consume(Fe),l=!0,T;if(Fe===63)return e.consume(Fe),s=3,i.interrupt?r:ie;if(rc(Fe))return e.consume(Fe),c=String.fromCharCode(Fe),U;return a(Fe)}function b(Fe){if(Fe===45)return e.consume(Fe),s=2,y;if(Fe===91)return e.consume(Fe),s=5,d=0,k;if(rc(Fe))return e.consume(Fe),s=4,i.interrupt?r:ie;return a(Fe)}function y(Fe){if(Fe===45)return e.consume(Fe),i.interrupt?r:ie;return a(Fe)}function k(Fe){if(Fe==="CDATA[".charCodeAt(d++)){if(e.consume(Fe),d===6)return i.interrupt?r:Ye;return k}return a(Fe)}function T(Fe){if(rc(Fe))return e.consume(Fe),c=String.fromCharCode(Fe),U;return a(Fe)}function U(Fe){if(Fe===null||Fe===47||Fe===62||ri(Fe)){let ir=Fe===47,fr=c.toLowerCase();if(!ir&&!l&&BG.includes(fr))return s=1,i.interrupt?r(Fe):Ye(Fe);if(Lxe.includes(c.toLowerCase())){if(s=6,ir)return e.consume(Fe),N;return i.interrupt?r(Fe):Ye(Fe)}return s=7,i.interrupt&&!i.parser.lazy[i.now().line]?a(Fe):l?j(Fe):G(Fe)}if(Fe===45||Ui(Fe))return e.consume(Fe),c+=String.fromCharCode(Fe),U;return a(Fe)}function N(Fe){if(Fe===62)return e.consume(Fe),i.interrupt?r:Ye;return a(Fe)}function j(Fe){if($r(Fe))return e.consume(Fe),j;return be(Fe)}function G(Fe){if(Fe===47)return e.consume(Fe),be;if(Fe===58||Fe===95||rc(Fe))return e.consume(Fe),X;if($r(Fe))return e.consume(Fe),G;return be(Fe)}function X(Fe){if(Fe===45||Fe===46||Fe===58||Fe===95||Ui(Fe))return e.consume(Fe),X;return J(Fe)}function J(Fe){if(Fe===61)return e.consume(Fe),ee;if($r(Fe))return e.consume(Fe),J;return G(Fe)}function ee(Fe){if(Fe===null||Fe===60||Fe===61||Fe===62||Fe===96)return a(Fe);if(Fe===34||Fe===39)return e.consume(Fe),h=Fe,re;if($r(Fe))return e.consume(Fe),ee;return oe(Fe)}function re(Fe){if(Fe===h)return e.consume(Fe),h=null,fe;if(Fe===null||kr(Fe))return a(Fe);return e.consume(Fe),re}function oe(Fe){if(Fe===null||Fe===34||Fe===39||Fe===47||Fe===60||Fe===61||Fe===62||Fe===96||ri(Fe))return J(Fe);return e.consume(Fe),oe}function fe(Fe){if(Fe===47||Fe===62||$r(Fe))return G(Fe);return a(Fe)}function be(Fe){if(Fe===62)return e.consume(Fe),We;return a(Fe)}function We(Fe){if(Fe===null||kr(Fe))return Ye(Fe);if($r(Fe))return e.consume(Fe),We;return a(Fe)}function Ye(Fe){if(Fe===45&&s===2)return e.consume(Fe),Je;if(Fe===60&&s===1)return e.consume(Fe),xt;if(Fe===62&&s===4)return e.consume(Fe),bt;if(Fe===63&&s===3)return e.consume(Fe),ie;if(Fe===93&&s===5)return e.consume(Fe),Bt;if(kr(Fe)&&(s===6||s===7))return e.exit("htmlFlowData"),e.check(uIt,Wt,Se)(Fe);if(Fe===null||kr(Fe))return e.exit("htmlFlowData"),Se(Fe);return e.consume(Fe),Ye}function Se(Fe){return e.check(dIt,He,Wt)(Fe)}function He(Fe){return e.enter("lineEnding"),e.consume(Fe),e.exit("lineEnding"),ft}function ft(Fe){if(Fe===null||kr(Fe))return Se(Fe);return e.enter("htmlFlowData"),Ye(Fe)}function Je(Fe){if(Fe===45)return e.consume(Fe),ie;return Ye(Fe)}function xt(Fe){if(Fe===47)return e.consume(Fe),c="",Ft;return Ye(Fe)}function Ft(Fe){if(Fe===62){let ir=c.toLowerCase();if(BG.includes(ir))return e.consume(Fe),bt;return Ye(Fe)}if(rc(Fe)&&c.length<8)return e.consume(Fe),c+=String.fromCharCode(Fe),Ft;return Ye(Fe)}function Bt(Fe){if(Fe===93)return e.consume(Fe),ie;return Ye(Fe)}function ie(Fe){if(Fe===62)return e.consume(Fe),bt;if(Fe===45&&s===2)return e.consume(Fe),ie;return Ye(Fe)}function bt(Fe){if(Fe===null||kr(Fe))return e.exit("htmlFlowData"),Wt(Fe);return e.consume(Fe),bt}function Wt(Fe){return e.exit("htmlFlow"),r(Fe)}}function mIt(e,r,a){let i=this;return s;function s(c){if(kr(c))return e.enter("lineEnding"),e.consume(c),e.exit("lineEnding"),l;return a(c)}function l(c){return i.parser.lazy[i.now().line]?a(c):r(c)}}function hIt(e,r,a){return i;function i(s){return e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),e.attempt(X8,r,a)}}var YG={name:"htmlText",tokenize:gIt};function gIt(e,r,a){let i=this,s,l,c;return d;function d(ie){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(ie),h}function h(ie){if(ie===33)return e.consume(ie),g;if(ie===47)return e.consume(ie),J;if(ie===63)return e.consume(ie),G;if(rc(ie))return e.consume(ie),oe;return a(ie)}function g(ie){if(ie===45)return e.consume(ie),x;if(ie===91)return e.consume(ie),l=0,k;if(rc(ie))return e.consume(ie),j;return a(ie)}function x(ie){if(ie===45)return e.consume(ie),y;return a(ie)}function v(ie){if(ie===null)return a(ie);if(ie===45)return e.consume(ie),b;if(kr(ie))return c=v,xt(ie);return e.consume(ie),v}function b(ie){if(ie===45)return e.consume(ie),y;return v(ie)}function y(ie){return ie===62?Je(ie):ie===45?b(ie):v(ie)}function k(ie){if(ie==="CDATA[".charCodeAt(l++))return e.consume(ie),l===6?T:k;return a(ie)}function T(ie){if(ie===null)return a(ie);if(ie===93)return e.consume(ie),U;if(kr(ie))return c=T,xt(ie);return e.consume(ie),T}function U(ie){if(ie===93)return e.consume(ie),N;return T(ie)}function N(ie){if(ie===62)return Je(ie);if(ie===93)return e.consume(ie),N;return T(ie)}function j(ie){if(ie===null||ie===62)return Je(ie);if(kr(ie))return c=j,xt(ie);return e.consume(ie),j}function G(ie){if(ie===null)return a(ie);if(ie===63)return e.consume(ie),X;if(kr(ie))return c=G,xt(ie);return e.consume(ie),G}function X(ie){return ie===62?Je(ie):G(ie)}function J(ie){if(rc(ie))return e.consume(ie),ee;return a(ie)}function ee(ie){if(ie===45||Ui(ie))return e.consume(ie),ee;return re(ie)}function re(ie){if(kr(ie))return c=re,xt(ie);if($r(ie))return e.consume(ie),re;return Je(ie)}function oe(ie){if(ie===45||Ui(ie))return e.consume(ie),oe;if(ie===47||ie===62||ri(ie))return fe(ie);return a(ie)}function fe(ie){if(ie===47)return e.consume(ie),Je;if(ie===58||ie===95||rc(ie))return e.consume(ie),be;if(kr(ie))return c=fe,xt(ie);if($r(ie))return e.consume(ie),fe;return Je(ie)}function be(ie){if(ie===45||ie===46||ie===58||ie===95||Ui(ie))return e.consume(ie),be;return We(ie)}function We(ie){if(ie===61)return e.consume(ie),Ye;if(kr(ie))return c=We,xt(ie);if($r(ie))return e.consume(ie),We;return fe(ie)}function Ye(ie){if(ie===null||ie===60||ie===61||ie===62||ie===96)return a(ie);if(ie===34||ie===39)return e.consume(ie),s=ie,Se;if(kr(ie))return c=Ye,xt(ie);if($r(ie))return e.consume(ie),Ye;return e.consume(ie),He}function Se(ie){if(ie===s)return e.consume(ie),s=void 0,ft;if(ie===null)return a(ie);if(kr(ie))return c=Se,xt(ie);return e.consume(ie),Se}function He(ie){if(ie===null||ie===34||ie===39||ie===60||ie===61||ie===96)return a(ie);if(ie===47||ie===62||ri(ie))return fe(ie);return e.consume(ie),He}function ft(ie){if(ie===47||ie===62||ri(ie))return fe(ie);return a(ie)}function Je(ie){if(ie===62)return e.consume(ie),e.exit("htmlTextData"),e.exit("htmlText"),r;return a(ie)}function xt(ie){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(ie),e.exit("lineEnding"),Ft}function Ft(ie){return $r(ie)?lo(e,Bt,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(ie):Bt(ie)}function Bt(ie){return e.enter("htmlTextData"),c(ie)}}var AL={name:"labelEnd",resolveAll:yIt,resolveTo:_It,tokenize:bIt},MIt={tokenize:wIt},xIt={tokenize:zIt},vIt={tokenize:SIt};function yIt(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 s=i.type==="labelImage"?4:2;i.type="data",r+=s}}if(e.length!==a.length)hf(e,0,e.length,a);return e}function _It(e,r){let a=e.length,i=0,s,l,c,d;while(a--)if(s=e[a][1],l){if(s.type==="link"||s.type==="labelLink"&&s._inactive)break;if(e[a][0]==="enter"&&s.type==="labelLink")s._inactive=!0}else if(c){if(e[a][0]==="enter"&&(s.type==="labelImage"||s.type==="labelLink")&&!s._balanced){if(l=a,s.type!=="labelLink"){i=2;break}}}else if(s.type==="labelEnd")c=a;let h={type:e[l][1].type==="labelLink"?"link":"image",start:{...e[l][1].start},end:{...e[e.length-1][1].end}},g={type:"label",start:{...e[l][1].start},end:{...e[c][1].end}},x={type:"labelText",start:{...e[l+i+2][1].end},end:{...e[c-2][1].start}};return d=[["enter",h,r],["enter",g,r]],d=Ps(d,e.slice(l+1,l+i+3)),d=Ps(d,[["enter",x,r]]),d=Ps(d,sP(r.parser.constructs.insideSpan.null,e.slice(l+i+4,c-3),r)),d=Ps(d,[["exit",x,r],e[c-2],e[c-1],["exit",g,r]]),d=Ps(d,e.slice(c+1)),d=Ps(d,[["exit",h,r]]),hf(e,l,e.length,d),e}function bIt(e,r,a){let i=this,s=i.events.length,l,c;while(s--)if((i.events[s][1].type==="labelImage"||i.events[s][1].type==="labelLink")&&!i.events[s][1]._balanced){l=i.events[s][1];break}return d;function d(b){if(!l)return a(b);if(l._inactive)return v(b);return c=i.parser.defined.includes(xM(i.sliceSerialize({start:l.end,end:i.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(b),e.exit("labelMarker"),e.exit("labelEnd"),h}function h(b){if(b===40)return e.attempt(MIt,x,c?x:v)(b);if(b===91)return e.attempt(xIt,x,c?g:v)(b);return c?x(b):v(b)}function g(b){return e.attempt(vIt,x,v)(b)}function x(b){return r(b)}function v(b){return l._balanced=!0,a(b)}}function wIt(e,r,a){return i;function i(v){return e.enter("resource"),e.enter("resourceMarker"),e.consume(v),e.exit("resourceMarker"),s}function s(v){return ri(v)?TL(e,l)(v):l(v)}function l(v){if(v===41)return x(v);return Cj(e,c,d,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(v)}function c(v){return ri(v)?TL(e,h)(v):x(v)}function d(v){return a(v)}function h(v){if(v===34||v===39||v===40)return Rj(e,g,a,"resourceTitle","resourceTitleMarker","resourceTitleString")(v);return x(v)}function g(v){return ri(v)?TL(e,x)(v):x(v)}function x(v){if(v===41)return e.enter("resourceMarker"),e.consume(v),e.exit("resourceMarker"),e.exit("resource"),r;return a(v)}}function zIt(e,r,a){let i=this;return s;function s(d){return Ij.call(i,e,l,c,"reference","referenceMarker","referenceString")(d)}function l(d){return i.parser.defined.includes(xM(i.sliceSerialize(i.events[i.events.length-1][1]).slice(1,-1)))?r(d):a(d)}function c(d){return a(d)}}function SIt(e,r,a){return i;function i(l){return e.enter("reference"),e.enter("referenceMarker"),e.consume(l),e.exit("referenceMarker"),s}function s(l){if(l===93)return e.enter("referenceMarker"),e.consume(l),e.exit("referenceMarker"),e.exit("reference"),r;return a(l)}}var qG={name:"labelStartImage",resolveAll:AL.resolveAll,tokenize:LIt};function LIt(e,r,a){let i=this;return s;function s(d){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(d),e.exit("labelImageMarker"),l}function l(d){if(d===91)return e.enter("labelMarker"),e.consume(d),e.exit("labelMarker"),e.exit("labelImage"),c;return a(d)}function c(d){return d===94&&"_hiddenFootnoteSupport"in i.parser.constructs?a(d):r(d)}}var HG={name:"labelStartLink",resolveAll:AL.resolveAll,tokenize:kIt};function kIt(e,r,a){let i=this;return s;function s(c){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(c),e.exit("labelMarker"),e.exit("labelLink"),l}function l(c){return c===94&&"_hiddenFootnoteSupport"in i.parser.constructs?a(c):r(c)}}var KO={name:"lineEnding",tokenize:CIt};function CIt(e,r){return a;function a(i){return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),lo(e,r,"linePrefix")}}var EL={name:"thematicBreak",tokenize:IIt};function IIt(e,r,a){let i=0,s;return l;function l(g){return e.enter("thematicBreak"),c(g)}function c(g){return s=g,d(g)}function d(g){if(g===s)return e.enter("thematicBreakSequence"),h(g);if(i>=3&&(g===null||kr(g)))return e.exit("thematicBreak"),r(g);return a(g)}function h(g){if(g===s)return e.consume(g),i++,h;return e.exit("thematicBreakSequence"),$r(g)?lo(e,d,"whitespace")(g):d(g)}}var Af={continuation:{tokenize:AIt},exit:DIt,name:"list",tokenize:TIt},RIt={partial:!0,tokenize:OIt},PIt={partial:!0,tokenize:EIt};function TIt(e,r,a){let i=this,s=i.events[i.events.length-1],l=s&&s[1].type==="linePrefix"?s[2].sliceSerialize(s[1],!0).length:0,c=0;return d;function d(y){let k=i.containerState.type||(y===42||y===43||y===45?"listUnordered":"listOrdered");if(k==="listUnordered"?!i.containerState.marker||y===i.containerState.marker:HO(y)){if(!i.containerState.type)i.containerState.type=k,e.enter(k,{_container:!0});if(k==="listUnordered")return e.enter("listItemPrefix"),y===42||y===45?e.check(EL,a,g)(y):g(y);if(!i.interrupt||y===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),h(y)}return a(y)}function h(y){if(HO(y)&&++c<10)return e.consume(y),h;if((!i.interrupt||c<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(X8,i.interrupt?a:x,e.attempt(RIt,b,v))}function x(y){return i.containerState.initialBlankLine=!0,l++,b(y)}function v(y){if($r(y))return e.enter("listItemPrefixWhitespace"),e.consume(y),e.exit("listItemPrefixWhitespace"),b;return a(y)}function b(y){return i.containerState.size=l+i.sliceSerialize(e.exit("listItemPrefix"),!0).length,r(y)}}function AIt(e,r,a){let i=this;return i.containerState._closeFlow=void 0,e.check(X8,s,l);function s(d){return i.containerState.furtherBlankLines=i.containerState.furtherBlankLines||i.containerState.initialBlankLine,lo(e,r,"listItemIndent",i.containerState.size+1)(d)}function l(d){if(i.containerState.furtherBlankLines||!$r(d))return i.containerState.furtherBlankLines=void 0,i.containerState.initialBlankLine=void 0,c(d);return i.containerState.furtherBlankLines=void 0,i.containerState.initialBlankLine=void 0,e.attempt(PIt,r,c)(d)}function c(d){return i.containerState._closeFlow=!0,i.interrupt=void 0,lo(e,e.attempt(Af,r,a),"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(d)}}function EIt(e,r,a){let i=this;return lo(e,s,"listItemIndent",i.containerState.size+1);function s(l){let c=i.events[i.events.length-1];return c&&c[1].type==="listItemIndent"&&c[2].sliceSerialize(c[1],!0).length===i.containerState.size?r(l):a(l)}}function DIt(e){e.exit(this.containerState.type)}function OIt(e,r,a){let i=this;return lo(e,s,"listItemPrefixWhitespace",i.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function s(l){let c=i.events[i.events.length-1];return!$r(l)&&c&&c[1].type==="listItemPrefixWhitespace"?r(l):a(l)}}var Pj={name:"setextUnderline",resolveTo:NIt,tokenize:FIt};function NIt(e,r){let a=e.length,i,s,l;while(a--)if(e[a][0]==="enter"){if(e[a][1].type==="content"){i=a;break}if(e[a][1].type==="paragraph")s=a}else{if(e[a][1].type==="content")e.splice(a,1);if(!l&&e[a][1].type==="definition")l=a}let c={type:"setextHeading",start:{...e[i][1].start},end:{...e[e.length-1][1].end}};if(e[s][1].type="setextHeadingText",l)e.splice(s,0,["enter",c,r]),e.splice(l+1,0,["exit",e[i][1],r]),e[i][1].end={...e[l][1].end};else e[i][1]=c;return e.push(["exit",c,r]),e}function FIt(e,r,a){let i=this,s;return l;function l(g){let x=i.events.length,v;while(x--)if(i.events[x][1].type!=="lineEnding"&&i.events[x][1].type!=="linePrefix"&&i.events[x][1].type!=="content"){v=i.events[x][1].type==="paragraph";break}if(!i.parser.lazy[i.now().line]&&(i.interrupt||v))return e.enter("setextHeadingLine"),s=g,c(g);return a(g)}function c(g){return e.enter("setextHeadingLineSequence"),d(g)}function d(g){if(g===s)return e.consume(g),d;return e.exit("setextHeadingLineSequence"),$r(g)?lo(e,h,"lineSuffix")(g):h(g)}function h(g){if(g===null||kr(g))return e.exit("setextHeadingLine"),r(g);return a(g)}}var kxe={tokenize:jIt};function jIt(e){let r=this,a=e.attempt(X8,i,e.attempt(this.parser.constructs.flowInitial,s,lo(e,e.attempt(this.parser.constructs.flow,s,e.attempt(OG,s)),"linePrefix")));return a;function i(l){if(l===null){e.consume(l);return}return e.enter("lineEndingBlank"),e.consume(l),e.exit("lineEndingBlank"),r.currentConstruct=void 0,a}function s(l){if(l===null){e.consume(l);return}return e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),r.currentConstruct=void 0,a}}var Cxe={resolveAll:Txe()},Ixe=Pxe("string"),Rxe=Pxe("text");function Pxe(e){return{resolveAll:Txe(e==="text"?BIt:void 0),tokenize:r};function r(a){let i=this,s=this.parser.constructs[e],l=a.attempt(s,c,d);return c;function c(x){return g(x)?l(x):d(x)}function d(x){if(x===null){a.consume(x);return}return a.enter("data"),a.consume(x),h}function h(x){if(g(x))return a.exit("data"),l(x);return a.consume(x),h}function g(x){if(x===null)return!0;let v=s[x],b=-1;if(v)while(++b<v.length){let y=v[b];if(!y.previous||y.previous.call(i,i.previous))return!0}return!1}}}function Txe(e){return r;function r(a,i){let s=-1,l;while(++s<=a.length)if(l===void 0){if(a[s]&&a[s][1].type==="data")l=s,s++}else if(!a[s]||a[s][1].type!=="data"){if(s!==l+2)a[l][1].end=a[s-1][1].end,a.splice(l+2,s-l-2),s=l+2;l=void 0}return e?e(a,i):a}}function BIt(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],s=r.sliceStream(i),l=s.length,c=-1,d=0,h;while(l--){let g=s[l];if(typeof g==="string"){c=g.length;while(g.charCodeAt(c-1)===32)d++,c--;if(c)break;c=-1}else if(g===-2)h=!0,d++;else if(g===-1);else{l++;break}}if(r._contentTypeTextTrailing&&a===e.length)d=0;if(d){let g={type:a===e.length||h||d<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:l?c:i.start._bufferIndex+c,_index:i.start._index+l,line:i.end.line,column:i.end.column-d,offset:i.end.offset-d},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 VG={};ke(VG,{attentionMarkers:()=>KIt,contentInitial:()=>YIt,disable:()=>XIt,document:()=>UIt,flow:()=>HIt,flowInitial:()=>qIt,insideSpan:()=>GIt,string:()=>VIt,text:()=>WIt});var UIt={[42]:Af,[43]:Af,[45]:Af,[48]:Af,[49]:Af,[50]:Af,[51]:Af,[52]:Af,[53]:Af,[54]:Af,[55]:Af,[56]:Af,[57]:Af,[62]:wj},YIt={[91]:NG},qIt={[-2]:WO,[-1]:WO,[32]:WO},HIt={[35]:jG,[42]:EL,[45]:[Pj,EL],[60]:UG,[61]:Pj,[95]:EL,[96]:Lj,[126]:Lj},VIt={[38]:Sj,[92]:zj},WIt={[-5]:KO,[-4]:KO,[-3]:KO,[33]:qG,[38]:Sj,[42]:VO,[60]:[AG,YG],[91]:HG,[92]:[FG,zj],[93]:AL,[95]:VO,[96]:EG},GIt={null:[VO,Cxe]},KIt={null:[42,95]},XIt={null:[]};function Axe(e,r,a){let i={_bufferIndex:-1,_index:0,line:a&&a.line||1,column:a&&a.column||1,offset:a&&a.offset||0},s={},l=[],c=[],d=[],h=!0,g={attempt:fe(re),check:fe(oe),consume:X,enter:J,exit:ee,interrupt:fe(oe,{interrupt:!0})},x={code:null,containerState:{},defineSkip:N,events:[],now:U,parser:e,previous:null,sliceSerialize:k,sliceStream:T,write:y},v=r.tokenize.call(x,g),b;if(r.resolveAll)l.push(r);return x;function y(Se){if(c=Ps(c,Se),j(),c[c.length-1]!==null)return[];return be(r,0),x.events=sP(l,x.events,x),x.events}function k(Se,He){return JIt(T(Se),He)}function T(Se){return QIt(c,Se)}function U(){let{_bufferIndex:Se,_index:He,line:ft,column:Je,offset:xt}=i;return{_bufferIndex:Se,_index:He,line:ft,column:Je,offset:xt}}function N(Se){s[Se.line]=Se.column,Ye()}function j(){let Se;while(i._index<c.length){let He=c[i._index];if(typeof He==="string"){if(Se=i._index,i._bufferIndex<0)i._bufferIndex=0;while(i._index===Se&&i._bufferIndex<He.length)G(He.charCodeAt(i._bufferIndex))}else G(He)}}function G(Se){h=void 0,b=Se,v=v(Se)}function X(Se){if(kr(Se))i.line++,i.column=1,i.offset+=Se===-3?2:1,Ye();else if(Se!==-1)i.column++,i.offset++;if(i._bufferIndex<0)i._index++;else if(i._bufferIndex++,i._bufferIndex===c[i._index].length)i._bufferIndex=-1,i._index++;x.previous=Se,h=!0}function J(Se,He){let ft=He||{};return ft.type=Se,ft.start=U(),x.events.push(["enter",ft,x]),d.push(ft),ft}function ee(Se){let He=d.pop();return He.end=U(),x.events.push(["exit",He,x]),He}function re(Se,He){be(Se,He.from)}function oe(Se,He){He.restore()}function fe(Se,He){return ft;function ft(Je,xt,Ft){let Bt,ie,bt,Wt;return Array.isArray(Je)?ir(Je):("tokenize"in Je)?ir([Je]):Fe(Je);function Fe(Gt){return Xt;function Xt(Ir){let yr=Ir!==null&&Gt[Ir],Tr=Ir!==null&&Gt.null,pr=[...Array.isArray(yr)?yr:yr?[yr]:[],...Array.isArray(Tr)?Tr:Tr?[Tr]:[]];return ir(pr)(Ir)}}function ir(Gt){if(Bt=Gt,ie=0,Gt.length===0)return Ft;return fr(Gt[ie])}function fr(Gt){return Xt;function Xt(Ir){if(Wt=We(),bt=Gt,!Gt.partial)x.currentConstruct=Gt;if(Gt.name&&x.parser.constructs.disable.null.includes(Gt.name))return Fr(Ir);return Gt.tokenize.call(He?Object.assign(Object.create(x),He):x,g,Jt,Fr)(Ir)}}function Jt(Gt){return h=!0,Se(bt,Wt),xt}function Fr(Gt){if(h=!0,Wt.restore(),++ie<Bt.length)return fr(Bt[ie]);return Ft}}}function be(Se,He){if(Se.resolveAll&&!l.includes(Se))l.push(Se);if(Se.resolve)hf(x.events,He,x.events.length-He,Se.resolve(x.events.slice(He),x));if(Se.resolveTo)x.events=Se.resolveTo(x.events,x)}function We(){let Se=U(),{previous:He,currentConstruct:ft}=x,Je=x.events.length,xt=Array.from(d);return{from:Je,restore:Ft};function Ft(){i=Se,x.previous=He,x.currentConstruct=ft,x.events.length=Je,d=xt,Ye()}}function Ye(){if(i.line in s&&i.column<2)i.column=s[i.line],i.offset+=s[i.line]-1}}function QIt(e,r){let a=r.start._index,i=r.start._bufferIndex,s=r.end._index,l=r.end._bufferIndex,c;if(a===s)c=[e[a].slice(i,l)];else{if(c=e.slice(a,s),i>-1){let d=c[0];if(typeof d==="string")c[0]=d.slice(i);else c.shift()}if(l>0)c.push(e[s].slice(0,l))}return c}function JIt(e,r){let a=-1,i=[],s;while(++a<e.length){let l=e[a],c;if(typeof l==="string")c=l;else switch(l){case-5:{c="\r";break}case-4:{c=`
199
- `;break}case-3:{c=`\r
200
- `;break}case-2:{c=r?" ":"\t";break}case-1:{if(!r&&s)continue;c=" ";break}default:c=String.fromCharCode(l)}s=l===-2,i.push(c)}return i.join("")}function WG(e){let i={constructs:hxe([VG,...(e||{}).extensions||[]]),content:s(_xe),defined:[],document:s(wxe),flow:s(kxe),lazy:{},string:s(Ixe),text:s(Rxe)};return i;function s(l){return c;function c(d){return Axe(i,l,d)}}}function GG(e){while(!kj(e));return e}var Exe=/[\0\t\n\r]/g;function KG(){let e=1,r="",a=!0,i;return s;function s(l,c,d){let h=[],g,x,v,b,y;if(l=r+(typeof l==="string"?l.toString():new TextDecoder(c||void 0).decode(l)),v=0,r="",a){if(l.charCodeAt(0)===65279)v++;a=void 0}while(v<l.length){if(Exe.lastIndex=v,g=Exe.exec(l),b=g&&g.index!==void 0?g.index:l.length,y=l.charCodeAt(b),!g){r=l.slice(v);break}if(y===10&&v===b&&i)h.push(-3),i=void 0;else{if(i)h.push(-5),i=void 0;if(v<b)h.push(l.slice(v,b)),e+=b-v;switch(y){case 0:{h.push(65533),e++;break}case 9:{x=Math.ceil(e/4)*4,h.push(-2);while(e++<x)h.push(-1);break}case 10:{h.push(-4),e=1;break}default:i=!0,e=1}}v=b+1}if(d){if(i)h.push(-5);if(r)h.push(r);h.push(null)}return h}}var $It=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function Dxe(e){return e.replace($It,e1t)}function e1t(e,r,a){if(r)return r;if(a.charCodeAt(0)===35){let s=a.charCodeAt(1),l=s===120||s===88;return bj(a.slice(l?2:1),l?16:10)}return fP(a)||e}var Nxe={}.hasOwnProperty;function XG(e,r,a){if(r&&typeof r==="object")a=r,r=void 0;return t1t(a)(GG(WG(a).document().write(KG()(e,r,!0))))}function t1t(e){let r={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:l(po),autolinkProtocol:fe,autolinkEmail:fe,atxHeading:l(co),blockQuote:l(Ir),characterEscape:fe,characterReference:fe,codeFenced:l(yr),codeFencedFenceInfo:c,codeFencedFenceMeta:c,codeIndented:l(yr,c),codeText:l(Tr,c),codeTextData:fe,data:fe,codeFlowValue:fe,definition:l(pr),definitionDestinationString:c,definitionLabelString:c,definitionTitleString:c,emphasis:l(mo),hardBreakEscape:l(va),hardBreakTrailing:l(va),htmlFlow:l(sr,c),htmlFlowData:fe,htmlText:l(sr,c),htmlTextData:fe,image:l(ho),label:c,link:l(po),listItem:l(hn),listItemValue:b,listOrdered:l(jo,v),listUnordered:l(jo),paragraph:l(Wo),reference:Fe,referenceString:c,resourceDestinationString:c,resourceTitleString:c,setextHeading:l(co),strong:l(Yn),thematicBreak:l(Vi)},exit:{atxHeading:h(),atxHeadingSequence:J,autolink:h(),autolinkEmail:Xt,autolinkProtocol:Gt,blockQuote:h(),characterEscapeValue:be,characterReferenceMarkerHexadecimal:fr,characterReferenceMarkerNumeric:fr,characterReferenceValue:Jt,characterReference:Fr,codeFenced:h(U),codeFencedFence:T,codeFencedFenceInfo:y,codeFencedFenceMeta:k,codeFlowValue:be,codeIndented:h(N),codeText:h(ft),codeTextData:be,data:be,definition:h(),definitionDestinationString:X,definitionLabelString:j,definitionTitleString:G,emphasis:h(),hardBreakEscape:h(Ye),hardBreakTrailing:h(Ye),htmlFlow:h(Se),htmlFlowData:be,htmlText:h(He),htmlTextData:be,image:h(xt),label:Bt,labelText:Ft,lineEnding:We,link:h(Je),listItem:h(),listOrdered:h(),listUnordered:h(),paragraph:h(),referenceString:ir,resourceDestinationString:ie,resourceTitleString:bt,resource:Wt,setextHeading:h(oe),setextHeadingLineSequence:re,setextHeadingText:ee,strong:h(),thematicBreak:h()}};Fxe(r,(e||{}).mdastExtensions||[]);let a={};return i;function i(Ge){let Rt={type:"root",children:[]},hr={stack:[Rt],tokenStack:[],config:r,enter:d,exit:g,buffer:c,resume:x,data:a},Ur=[],fo=-1;while(++fo<Ge.length)if(Ge[fo][1].type==="listOrdered"||Ge[fo][1].type==="listUnordered")if(Ge[fo][0]==="enter")Ur.push(fo);else{let Go=Ur.pop();fo=s(Ge,Go,fo)}fo=-1;while(++fo<Ge.length){let Go=r[Ge[fo][0]];if(Nxe.call(Go,Ge[fo][1].type))Go[Ge[fo][1].type].call(Object.assign({sliceSerialize:Ge[fo][2].sliceSerialize},hr),Ge[fo][1])}if(hr.tokenStack.length>0){let Go=hr.tokenStack[hr.tokenStack.length-1];(Go[1]||Oxe).call(hr,void 0,Go[0])}Rt.position={start:Q8(Ge.length>0?Ge[0][1].start:{line:1,column:1,offset:0}),end:Q8(Ge.length>0?Ge[Ge.length-2][1].end:{line:1,column:1,offset:0})},fo=-1;while(++fo<r.transforms.length)Rt=r.transforms[fo](Rt)||Rt;return Rt}function s(Ge,Rt,hr){let Ur=Rt-1,fo=-1,Go=!1,Va,Ee,Oe,je;while(++Ur<=hr){let Zt=Ge[Ur];switch(Zt[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{if(Zt[0]==="enter")fo++;else fo--;je=void 0;break}case"lineEndingBlank":{if(Zt[0]==="enter"){if(Va&&!je&&!fo&&!Oe)Oe=Ur;je=void 0}break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:je=void 0}if(!fo&&Zt[0]==="enter"&&Zt[1].type==="listItemPrefix"||fo===-1&&Zt[0]==="exit"&&(Zt[1].type==="listUnordered"||Zt[1].type==="listOrdered")){if(Va){let St=Ur;Ee=void 0;while(St--){let jt=Ge[St];if(jt[1].type==="lineEnding"||jt[1].type==="lineEndingBlank"){if(jt[0]==="exit")continue;if(Ee)Ge[Ee][1].type="lineEndingBlank",Go=!0;jt[1].type="lineEnding",Ee=St}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(Oe&&(!Ee||Oe<Ee))Va._spread=!0;Va.end=Object.assign({},Ee?Ge[Ee][1].start:Zt[1].end),Ge.splice(Ee||Ur,0,["exit",Va,Zt[2]]),Ur++,hr++}if(Zt[1].type==="listItemPrefix"){let St={type:"listItem",_spread:!1,start:Object.assign({},Zt[1].start),end:void 0};Va=St,Ge.splice(Ur,0,["enter",St,Zt[2]]),Ur++,hr++,Oe=void 0,je=!0}}}return Ge[Rt][1]._spread=Go,hr}function l(Ge,Rt){return hr;function hr(Ur){if(d.call(this,Ge(Ur),Ur),Rt)Rt.call(this,Ur)}}function c(){this.stack.push({type:"fragment",children:[]})}function d(Ge,Rt,hr){this.stack[this.stack.length-1].children.push(Ge),this.stack.push(Ge),this.tokenStack.push([Rt,hr||void 0]),Ge.position={start:Q8(Rt.start),end:void 0}}function h(Ge){return Rt;function Rt(hr){if(Ge)Ge.call(this,hr);g.call(this,hr)}}function g(Ge,Rt){let hr=this.stack.pop(),Ur=this.tokenStack.pop();if(!Ur)throw Error("Cannot close `"+Ge.type+"` ("+G8({start:Ge.start,end:Ge.end})+"): it’s not open");else if(Ur[0].type!==Ge.type)if(Rt)Rt.call(this,Ge,Ur[0]);else(Ur[1]||Oxe).call(this,Ge,Ur[0]);hr.position.end=Q8(Ge.end)}function x(){return PG(this.stack.pop())}function v(){this.data.expectingFirstListItemValue=!0}function b(Ge){if(this.data.expectingFirstListItemValue){let Rt=this.stack[this.stack.length-2];Rt.start=Number.parseInt(this.sliceSerialize(Ge),10),this.data.expectingFirstListItemValue=void 0}}function y(){let Ge=this.resume(),Rt=this.stack[this.stack.length-1];Rt.lang=Ge}function k(){let Ge=this.resume(),Rt=this.stack[this.stack.length-1];Rt.meta=Ge}function T(){if(this.data.flowCodeInside)return;this.buffer(),this.data.flowCodeInside=!0}function U(){let Ge=this.resume(),Rt=this.stack[this.stack.length-1];Rt.value=Ge.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function N(){let Ge=this.resume(),Rt=this.stack[this.stack.length-1];Rt.value=Ge.replace(/(\r?\n|\r)$/g,"")}function j(Ge){let Rt=this.resume(),hr=this.stack[this.stack.length-1];hr.label=Rt,hr.identifier=xM(this.sliceSerialize(Ge)).toLowerCase()}function G(){let Ge=this.resume(),Rt=this.stack[this.stack.length-1];Rt.title=Ge}function X(){let Ge=this.resume(),Rt=this.stack[this.stack.length-1];Rt.url=Ge}function J(Ge){let Rt=this.stack[this.stack.length-1];if(!Rt.depth){let hr=this.sliceSerialize(Ge).length;Rt.depth=hr}}function ee(){this.data.setextHeadingSlurpLineEnding=!0}function re(Ge){let Rt=this.stack[this.stack.length-1];Rt.depth=this.sliceSerialize(Ge).codePointAt(0)===61?1:2}function oe(){this.data.setextHeadingSlurpLineEnding=void 0}function fe(Ge){let hr=this.stack[this.stack.length-1].children,Ur=hr[hr.length-1];if(!Ur||Ur.type!=="text")Ur=gn(),Ur.position={start:Q8(Ge.start),end:void 0},hr.push(Ur);this.stack.push(Ur)}function be(Ge){let Rt=this.stack.pop();Rt.value+=this.sliceSerialize(Ge),Rt.position.end=Q8(Ge.end)}function We(Ge){let Rt=this.stack[this.stack.length-1];if(this.data.atHardBreak){let hr=Rt.children[Rt.children.length-1];hr.position.end=Q8(Ge.end),this.data.atHardBreak=void 0;return}if(!this.data.setextHeadingSlurpLineEnding&&r.canContainEols.includes(Rt.type))fe.call(this,Ge),be.call(this,Ge)}function Ye(){this.data.atHardBreak=!0}function Se(){let Ge=this.resume(),Rt=this.stack[this.stack.length-1];Rt.value=Ge}function He(){let Ge=this.resume(),Rt=this.stack[this.stack.length-1];Rt.value=Ge}function ft(){let Ge=this.resume(),Rt=this.stack[this.stack.length-1];Rt.value=Ge}function Je(){let Ge=this.stack[this.stack.length-1];if(this.data.inReference){let Rt=this.data.referenceType||"shortcut";Ge.type+="Reference",Ge.referenceType=Rt,delete Ge.url,delete Ge.title}else delete Ge.identifier,delete Ge.label;this.data.referenceType=void 0}function xt(){let Ge=this.stack[this.stack.length-1];if(this.data.inReference){let Rt=this.data.referenceType||"shortcut";Ge.type+="Reference",Ge.referenceType=Rt,delete Ge.url,delete Ge.title}else delete Ge.identifier,delete Ge.label;this.data.referenceType=void 0}function Ft(Ge){let Rt=this.sliceSerialize(Ge),hr=this.stack[this.stack.length-2];hr.label=Dxe(Rt),hr.identifier=xM(Rt).toLowerCase()}function Bt(){let Ge=this.stack[this.stack.length-1],Rt=this.resume(),hr=this.stack[this.stack.length-1];if(this.data.inReference=!0,hr.type==="link"){let Ur=Ge.children;hr.children=Ur}else hr.alt=Rt}function ie(){let Ge=this.resume(),Rt=this.stack[this.stack.length-1];Rt.url=Ge}function bt(){let Ge=this.resume(),Rt=this.stack[this.stack.length-1];Rt.title=Ge}function Wt(){this.data.inReference=void 0}function Fe(){this.data.referenceType="collapsed"}function ir(Ge){let Rt=this.resume(),hr=this.stack[this.stack.length-1];hr.label=Rt,hr.identifier=xM(this.sliceSerialize(Ge)).toLowerCase(),this.data.referenceType="full"}function fr(Ge){this.data.characterReferenceType=Ge.type}function Jt(Ge){let Rt=this.sliceSerialize(Ge),hr=this.data.characterReferenceType,Ur;if(hr)Ur=bj(Rt,hr==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0;else Ur=fP(Rt);let fo=this.stack[this.stack.length-1];fo.value+=Ur}function Fr(Ge){let Rt=this.stack.pop();Rt.position.end=Q8(Ge.end)}function Gt(Ge){be.call(this,Ge);let Rt=this.stack[this.stack.length-1];Rt.url=this.sliceSerialize(Ge)}function Xt(Ge){be.call(this,Ge);let Rt=this.stack[this.stack.length-1];Rt.url="mailto:"+this.sliceSerialize(Ge)}function Ir(){return{type:"blockquote",children:[]}}function yr(){return{type:"code",lang:null,meta:null,value:""}}function Tr(){return{type:"inlineCode",value:""}}function pr(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function mo(){return{type:"emphasis",children:[]}}function co(){return{type:"heading",depth:0,children:[]}}function va(){return{type:"break"}}function sr(){return{type:"html",value:""}}function ho(){return{type:"image",title:null,url:"",alt:null}}function po(){return{type:"link",title:null,url:"",children:[]}}function jo(Ge){return{type:"list",ordered:Ge.type==="listOrdered",start:null,spread:Ge._spread,children:[]}}function hn(Ge){return{type:"listItem",spread:Ge._spread,checked:null,children:[]}}function Wo(){return{type:"paragraph",children:[]}}function Yn(){return{type:"strong",children:[]}}function gn(){return{type:"text",value:""}}function Vi(){return{type:"thematicBreak"}}}function Q8(e){return{line:e.line,column:e.column,offset:e.offset}}function Fxe(e,r){let a=-1;while(++a<r.length){let i=r[a];if(Array.isArray(i))Fxe(e,i);else r1t(e,i)}}function r1t(e,r){let a;for(a in r)if(Nxe.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 Oxe(e,r){if(e)throw Error("Cannot close `"+e.type+"` ("+G8({start:e.start,end:e.end})+"): a different token (`"+r.type+"`, "+G8({start:r.start,end:r.end})+") is open");else throw Error("Cannot close document, a token (`"+r.type+"`, "+G8({start:r.start,end:r.end})+") is still open")}function Tj(e){let r=this;r.parser=a;function a(i){return XG(i,{...r.data("settings"),...e,extensions:r.data("micromarkExtensions")||[],mdastExtensions:r.data("fromMarkdownExtensions")||[]})}}var Aj=-1,lP=0,DL=1,cP=2,XO=3,QO=4,JO=5,$O=6,Ej=7,Dj=8;var{defineProperty:o1t}=Object,Bxe=typeof self==="object"?self:globalThis,jxe=(e,r)=>{switch(e){case"Function":case"SharedWorker":case"Worker":case"eval":case"setInterval":case"setTimeout":throw TypeError("unable to deserialize "+e)}return new Bxe[e](r)},a1t=(e,r)=>{let a=(s,l)=>(e.set(l,s),s),i=(s)=>{if(e.has(s))return e.get(s);let[l,c]=r[s];switch(l){case lP:case Aj:return a(c,s);case DL:{let d=a([],s);for(let h of c)d.push(i(h));return d}case cP:{let d=a({},s);for(let[h,g]of c){let x=i(h),v=i(g);if(x==="__proto__")o1t(d,x,{value:v,configurable:!0,enumerable:!0,writable:!0});else d[x]=v}return d}case XO:return a(new Date(c),s);case QO:{let{source:d,flags:h}=c;return a(new RegExp(d,h),s)}case JO:{let d=a(new Map,s);for(let[h,g]of c)d.set(i(h),i(g));return d}case $O:{let d=a(new Set,s);for(let h of c)d.add(i(h));return d}case Ej:{let{name:d,message:h}=c;return a(typeof Bxe[d]==="function"?jxe(d,h):Error(h),s)}case Dj:return a(BigInt(c),s);case"BigInt":return a(Object(BigInt(c)),s);case"ArrayBuffer":return a(new Uint8Array(c).buffer,c);case"DataView":{let{buffer:d}=new Uint8Array(c);return a(new DataView(d),c)}case"-0":return-0}return a(jxe(l,c),s)};return i},QG=(e)=>a1t(new Map,e)(0);var OL="",{toString:n1t}={},{keys:i1t,is:f1t}=Object,eN=(e)=>{let r=typeof e;if(r!=="object"||!e)return[lP,r];let a=n1t.call(e).slice(8,-1);switch(a){case"Array":return[DL,OL];case"Object":return[cP,OL];case"Date":return[XO,OL];case"RegExp":return[QO,OL];case"Map":return[JO,OL];case"Set":return[$O,OL];case"DataView":return[DL,a]}if(a.includes("Array"))return[DL,a];if(e instanceof Error)return[Ej,e.name||"Error"];return[cP,a]},Oj=([e,r])=>e===lP&&(r==="function"||r==="symbol"),s1t=(e,r,a,i)=>{let s=(c,d)=>{let h=i.push(c)-1;return a.set(d,h),h},l=(c)=>{if(a.has(c))return a.get(c);let[d,h]=eN(c);switch(d){case lP:{let x=c;switch(h){case"bigint":d=Dj,x=c.toString();break;case"number":if(!c&&f1t(c,-0))return i.push(["-0"])-1;break;case"function":case"symbol":if(e)throw TypeError("unable to serialize "+h);x=null;break;case"undefined":return s([Aj],c)}return s([d,x],c)}case DL:{if(h){let b=c;if(h==="DataView")b=new Uint8Array(c.buffer);else if(h==="ArrayBuffer")b=new Uint8Array(c);return s([h,[...b]],c)}let x=[],v=s([d,x],c);for(let b of c)x.push(l(b));return v}case cP:{if(h)switch(h){case"BigInt":return s([h,c.toString()],c);case"Boolean":case"Number":case"String":return s([h,c.valueOf()],c)}if(r&&"toJSON"in c)return l(c.toJSON());let x=[],v=s([d,x],c);for(let b of i1t(c))if(e||!Oj(eN(c[b])))x.push([l(b),l(c[b])]);return v}case XO:return s([d,isNaN(c.getTime())?OL:c.toISOString()],c);case QO:{let{source:x,flags:v}=c;return s([d,{source:x,flags:v}],c)}case JO:{let x=[],v=s([d,x],c);for(let[b,y]of c)if(e||!(Oj(eN(b))||Oj(eN(y))))x.push([l(b),l(y)]);return v}case $O:{let x=[],v=s([d,x],c);for(let b of c)if(e||!Oj(eN(b)))x.push(l(b));return v}}let{message:g}=c;return s([d,{name:h,message:g}],c)};return l},JG=(e,{json:r,lossy:a}={})=>{let i=[];return s1t(!(r||a),!!r,new Map,i)(e),i};var uP=typeof structuredClone==="function"?(e,r)=>r&&(("json"in r)||("lossy"in r))?QG(JG(e,r)):structuredClone(e):(e,r)=>QG(JG(e,r));function l1t(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 c1t(e,r){return"Back to reference "+(e+1)+(r>1?"-"+r:"")}function Uxe(e){let r=typeof e.options.clobberPrefix==="string"?e.options.clobberPrefix:"user-content-",a=e.options.footnoteBackContent||l1t,i=e.options.footnoteBackLabel||c1t,s=e.options.footnoteLabel||"Footnotes",l=e.options.footnoteLabelTagName||"h2",c=e.options.footnoteLabelProperties||{className:["sr-only"]},d=[],h=-1;while(++h<e.footnoteOrder.length){let g=e.footnoteById.get(e.footnoteOrder[h]);if(!g)continue;let x=e.all(g),v=String(g.identifier).toUpperCase(),b=Ac(v.toLowerCase()),y=0,k=[],T=e.footnoteCounts.get(v);while(T!==void 0&&++y<=T){if(k.length>0)k.push({type:"text",value:" "});let j=typeof a==="string"?a:a(h,y);if(typeof j==="string")j={type:"text",value:j};k.push({type:"element",tagName:"a",properties:{href:"#"+r+"fnref-"+b+(y>1?"-"+y:""),dataFootnoteBackref:"",ariaLabel:typeof i==="string"?i:i(h,y),className:["data-footnote-backref"]},children:Array.isArray(j)?j:[j]})}let U=x[x.length-1];if(U&&U.type==="element"&&U.tagName==="p"){let j=U.children[U.children.length-1];if(j&&j.type==="text")j.value+=" ";else U.children.push({type:"text",value:" "});U.children.push(...k)}else x.push(...k);let N={type:"element",tagName:"li",properties:{id:r+"fn-"+b},children:e.wrap(x,!0)};e.patch(g,N),d.push(N)}if(d.length===0)return;return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:l,properties:{...uP(c),id:"footnote-label"},children:[{type:"text",value:s}]},{type:"text",value:`
201
- `},{type:"element",tagName:"ol",properties:{},children:e.wrap(d,!0)},{type:"text",value:`
202
- `}]}}var Nj=function(e){if(e===null||e===void 0)return p1t;if(typeof e==="function")return Fj(e);if(typeof e==="object")return Array.isArray(e)?u1t(e):d1t(e);if(typeof e==="string")return Z1t(e);throw Error("Expected function, string, or object as test")};function u1t(e){let r=[],a=-1;while(++a<e.length)r[a]=Nj(e[a]);return Fj(i);function i(...s){let l=-1;while(++l<r.length)if(r[l].apply(this,s))return!0;return!1}}function d1t(e){let r=e;return Fj(a);function a(i){let s=i,l;for(l in e)if(s[l]!==r[l])return!1;return!0}}function Z1t(e){return Fj(r);function r(a){return a&&a.type===e}}function Fj(e){return r;function r(a,i,s){return Boolean(m1t(a)&&e.call(this,a,typeof i==="number"?i:void 0,s||void 0))}}function p1t(){return!0}function m1t(e){return e!==null&&typeof e==="object"&&"type"in e}function Yxe(e){return e}var qxe=[],$G=!0,jj=!1,eK="skip";function tK(e,r,a,i){let s;if(typeof r==="function"&&typeof a!=="function")i=a,a=r;else s=r;let l=Nj(s),c=i?-1:1;d(e,void 0,[])();function d(h,g,x){let v=h&&typeof h==="object"?h:{};if(typeof v.type==="string"){let y=typeof v.tagName==="string"?v.tagName:typeof v.name==="string"?v.name:void 0;Object.defineProperty(b,"name",{value:"node ("+Yxe(h.type+(y?"<"+y+">":""))+")"})}return b;function b(){let y=qxe,k,T,U;if(!r||l(h,g,x[x.length-1]||void 0)){if(y=h1t(a(h,x)),y[0]===jj)return y}if("children"in h&&h.children){let N=h;if(N.children&&y[0]!==eK){T=(i?N.children.length:-1)+c,U=x.concat(N);while(T>-1&&T<N.children.length){let j=N.children[T];if(k=d(j,T,U)(),k[0]===jj)return k;T=typeof k[1]==="number"?k[1]:T+c}}}return y}}}function h1t(e){if(Array.isArray(e))return e;if(typeof e==="number")return[$G,e];return e===null||e===void 0?qxe:[e]}function tN(e,r,a,i){let s,l,c;if(typeof r==="function"&&typeof a!=="function")l=void 0,c=r,s=a;else l=r,c=a,s=i;tK(e,l,d,s);function d(h,g){let x=g[g.length-1],v=x?x.children.indexOf(h):void 0;return c(h,v,x)}}function Hxe(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 Vxe(e,r){let a={type:"element",tagName:"br",properties:{},children:[]};return e.patch(r,a),[e.applyData(r,a),{type:"text",value:`
203
- `}]}function Wxe(e,r){let a=r.value?r.value+`
204
- `:"",i={},s=r.lang?r.lang.split(/\s+/):[];if(s.length>0)i.className=["language-"+s[0]];let l={type:"element",tagName:"code",properties:i,children:[{type:"text",value:a}]};if(r.meta)l.data={meta:r.meta};return e.patch(r,l),l=e.applyData(r,l),l={type:"element",tagName:"pre",properties:{},children:[l]},e.patch(r,l),l}function Gxe(e,r){let a={type:"element",tagName:"del",properties:{},children:e.all(r)};return e.patch(r,a),e.applyData(r,a)}function Kxe(e,r){let a={type:"element",tagName:"em",properties:{},children:e.all(r)};return e.patch(r,a),e.applyData(r,a)}function Xxe(e,r){let a=typeof e.options.clobberPrefix==="string"?e.options.clobberPrefix:"user-content-",i=String(r.identifier).toUpperCase(),s=Ac(i.toLowerCase()),l=e.footnoteOrder.indexOf(i),c,d=e.footnoteCounts.get(i);if(d===void 0)d=0,e.footnoteOrder.push(i),c=e.footnoteOrder.length;else c=l+1;d+=1,e.footnoteCounts.set(i,d);let h={type:"element",tagName:"a",properties:{href:"#"+a+"fn-"+s,id:a+"fnref-"+s+(d>1?"-"+d:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(c)}]};e.patch(r,h);let g={type:"element",tagName:"sup",properties:{},children:[h]};return e.patch(r,g),e.applyData(r,g)}function Qxe(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 Jxe(e,r){if(e.options.allowDangerousHtml){let a={type:"raw",value:r.value};return e.patch(r,a),e.applyData(r,a)}return}function Bj(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 s=e.all(r),l=s[0];if(l&&l.type==="text")l.value="["+l.value;else s.unshift({type:"text",value:"["});let c=s[s.length-1];if(c&&c.type==="text")c.value+=i;else s.push({type:"text",value:i});return s}function $xe(e,r){let a=String(r.identifier).toUpperCase(),i=e.definitionById.get(a);if(!i)return Bj(e,r);let s={src:Ac(i.url||""),alt:r.alt};if(i.title!==null&&i.title!==void 0)s.title=i.title;let l={type:"element",tagName:"img",properties:s,children:[]};return e.patch(r,l),e.applyData(r,l)}function eve(e,r){let a={src:Ac(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 tve(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 rve(e,r){let a=String(r.identifier).toUpperCase(),i=e.definitionById.get(a);if(!i)return Bj(e,r);let s={href:Ac(i.url||"")};if(i.title!==null&&i.title!==void 0)s.title=i.title;let l={type:"element",tagName:"a",properties:s,children:e.all(r)};return e.patch(r,l),e.applyData(r,l)}function ove(e,r){let a={href:Ac(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 ave(e,r,a){let i=e.all(r),s=a?g1t(a):nve(r),l={},c=[];if(typeof r.checked==="boolean"){let x=i[0],v;if(x&&x.type==="element"&&x.tagName==="p")v=x;else v={type:"element",tagName:"p",properties:{},children:[]},i.unshift(v);if(v.children.length>0)v.children.unshift({type:"text",value:" "});v.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:r.checked,disabled:!0},children:[]}),l.className=["task-list-item"]}let d=-1;while(++d<i.length){let x=i[d];if(s||d!==0||x.type!=="element"||x.tagName!=="p")c.push({type:"text",value:`
205
- `});if(x.type==="element"&&x.tagName==="p"&&!s)c.push(...x.children);else c.push(x)}let h=i[i.length-1];if(h&&(s||h.type!=="element"||h.tagName!=="p"))c.push({type:"text",value:`
206
- `});let g={type:"element",tagName:"li",properties:l,children:c};return e.patch(r,g),e.applyData(r,g)}function g1t(e){let r=!1;if(e.type==="list"){r=e.spread||!1;let a=e.children,i=-1;while(!r&&++i<a.length)r=nve(a[i])}return r}function nve(e){let r=e.spread;return r===null||r===void 0?e.children.length>1:r}function ive(e,r){let a={},i=e.all(r),s=-1;if(typeof r.start==="number"&&r.start!==1)a.start=r.start;while(++s<i.length){let c=i[s];if(c.type==="element"&&c.tagName==="li"&&c.properties&&Array.isArray(c.properties.className)&&c.properties.className.includes("task-list-item")){a.className=["contains-task-list"];break}}let l={type:"element",tagName:r.ordered?"ol":"ul",properties:a,children:e.wrap(i,!0)};return e.patch(r,l),e.applyData(r,l)}function fve(e,r){let a={type:"element",tagName:"p",properties:{},children:e.all(r)};return e.patch(r,a),e.applyData(r,a)}function sve(e,r){let a={type:"root",children:e.wrap(e.all(r))};return e.patch(r,a),e.applyData(r,a)}function lve(e,r){let a={type:"element",tagName:"strong",properties:{},children:e.all(r)};return e.patch(r,a),e.applyData(r,a)}function cve(e,r){let a=e.all(r),i=a.shift(),s=[];if(i){let c={type:"element",tagName:"thead",properties:{},children:e.wrap([i],!0)};e.patch(r.children[0],c),s.push(c)}if(a.length>0){let c={type:"element",tagName:"tbody",properties:{},children:e.wrap(a,!0)},d=iP(r.children[1]),h=_j(r.children[r.children.length-1]);if(d&&h)c.position={start:d,end:h};s.push(c)}let l={type:"element",tagName:"table",properties:{},children:e.wrap(s,!0)};return e.patch(r,l),e.applyData(r,l)}function uve(e,r,a){let i=a?a.children:void 0,l=(i?i.indexOf(r):1)===0?"th":"td",c=a&&a.type==="table"?a.align:void 0,d=c?c.length:r.children.length,h=-1,g=[];while(++h<d){let v=r.children[h],b={},y=c?c[h]:void 0;if(y)b.align=y;let k={type:"element",tagName:l,properties:b,children:[]};if(v)k.children=e.all(v),e.patch(v,k),k=e.applyData(v,k);g.push(k)}let x={type:"element",tagName:"tr",properties:{},children:e.wrap(g,!0)};return e.patch(r,x),e.applyData(r,x)}function dve(e,r){let a={type:"element",tagName:"td",properties:{},children:e.all(r)};return e.patch(r,a),e.applyData(r,a)}function pve(e){let r=String(e),a=/\r?\n|\r/g,i=a.exec(r),s=0,l=[];while(i)l.push(Zve(r.slice(s,i.index),s>0,!0),i[0]),s=i.index+i[0].length,i=a.exec(r);return l.push(Zve(r.slice(s),s>0,!1)),l.join("")}function Zve(e,r,a){let i=0,s=e.length;if(r){let l=e.codePointAt(i);while(l===9||l===32)i++,l=e.codePointAt(i)}if(a){let l=e.codePointAt(s-1);while(l===9||l===32)s--,l=e.codePointAt(s-1)}return s>i?e.slice(i,s):""}function mve(e,r){let a={type:"text",value:pve(String(r.value))};return e.patch(r,a),e.applyData(r,a)}function hve(e,r){let a={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(r,a),e.applyData(r,a)}var gve={blockquote:Hxe,break:Vxe,code:Wxe,delete:Gxe,emphasis:Kxe,footnoteReference:Xxe,heading:Qxe,html:Jxe,imageReference:$xe,image:eve,inlineCode:tve,linkReference:rve,link:ove,listItem:ave,list:ive,paragraph:fve,root:sve,strong:lve,table:cve,tableCell:dve,tableRow:uve,text:mve,thematicBreak:hve,toml:Uj,yaml:Uj,definition:Uj,footnoteDefinition:Uj};function Uj(){return}var rK={}.hasOwnProperty,M1t={};function xve(e,r){let a=r||M1t,i=new Map,s=new Map,l=new Map,c={...gve,...a.handlers},d={all:g,applyData:v1t,definitionById:i,footnoteById:s,footnoteCounts:l,footnoteOrder:[],handlers:c,one:h,options:a,patch:x1t,wrap:_1t};return tN(e,function(x){if(x.type==="definition"||x.type==="footnoteDefinition"){let v=x.type==="definition"?i:s,b=String(x.identifier).toUpperCase();if(!v.has(b))v.set(b,x)}}),d;function h(x,v){let b=x.type,y=d.handlers[b];if(rK.call(d.handlers,b)&&y)return y(d,x,v);if(d.options.passThrough&&d.options.passThrough.includes(b)){if("children"in x){let{children:T,...U}=x,N=uP(U);return N.children=d.all(x),N}return uP(x)}return(d.options.unknownHandler||y1t)(d,x,v)}function g(x){let v=[];if("children"in x){let b=x.children,y=-1;while(++y<b.length){let k=d.one(b[y],x);if(k){if(y&&b[y-1].type==="break"){if(!Array.isArray(k)&&k.type==="text")k.value=Mve(k.value);if(!Array.isArray(k)&&k.type==="element"){let T=k.children[0];if(T&&T.type==="text")T.value=Mve(T.value)}}if(Array.isArray(k))v.push(...k);else v.push(k)}}}return v}}function x1t(e,r){if(e.position)r.position=SG(e)}function v1t(e,r){let a=r;if(e&&e.data){let i=e.data.hName,s=e.data.hChildren,l=e.data.hProperties;if(typeof i==="string")if(a.type==="element")a.tagName=i;else{let c="children"in a?a.children:[a];a={type:"element",tagName:i,properties:{},children:c}}if(a.type==="element"&&l)Object.assign(a.properties,uP(l));if("children"in a&&a.children&&s!==null&&s!==void 0)a.children=s}return a}function y1t(e,r){let a=r.data||{},i="value"in r&&!(rK.call(a,"hProperties")||rK.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 _1t(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 Mve(e){let r=0,a=e.charCodeAt(r);while(a===9||a===32)r++,a=e.charCodeAt(r);return e.slice(r)}function Yj(e,r){let a=xve(e,r),i=a.one(e,void 0),s=Uxe(a),l=Array.isArray(i)?{type:"root",children:i}:i||{type:"root",children:[]};if(s)Rs("children"in l),l.children.push({type:"text",value:`
210
- `},s);return l}function qj(e,r){if(e&&"run"in e)return async function(a,i){let s=Yj(a,{file:i,...r});await e.run(s,i)};return function(a,i){return Yj(a,{file:i,...e||r})}}function oK(e){if(e)throw e}var Wj=H(kve(),1);function rN(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 aK(){let e=[],r={run:a,use:i};return r;function a(...s){let l=-1,c=s.pop();if(typeof c!=="function")throw TypeError("Expected function as last argument, not "+c);d(null,...s);function d(h,...g){let x=e[++l],v=-1;if(h){c(h);return}while(++v<s.length)if(g[v]===null||g[v]===void 0)g[v]=s[v];if(s=g,x)Cve(x,d)(...g);else c(null,...g)}}function i(s){if(typeof s!=="function")throw TypeError("Expected `middelware` to be a function, not "+s);return e.push(s),r}}function Cve(e,r){let a;return i;function i(...c){let d=e.length>c.length,h;if(d)c.push(s);try{h=e.apply(this,c)}catch(g){let x=g;if(d&&a)throw x;return s(x)}if(!d)if(h&&h.then&&typeof h.then==="function")h.then(l,s);else if(h instanceof Error)s(h);else l(h)}function s(c,...d){if(!a)a=!0,r(c,...d)}function l(c){s(null,c)}}var Ru={basename:b1t,dirname:w1t,extname:z1t,join:S1t,sep:"/"};function b1t(e,r){if(r!==void 0&&typeof r!=="string")throw TypeError('"ext" argument must be a string');oN(e);let a=0,i=-1,s=e.length,l;if(r===void 0||r.length===0||r.length>e.length){while(s--)if(e.codePointAt(s)===47){if(l){a=s+1;break}}else if(i<0)l=!0,i=s+1;return i<0?"":e.slice(a,i)}if(r===e)return"";let c=-1,d=r.length-1;while(s--)if(e.codePointAt(s)===47){if(l){a=s+1;break}}else{if(c<0)l=!0,c=s+1;if(d>-1)if(e.codePointAt(s)===r.codePointAt(d--)){if(d<0)i=s}else d=-1,i=c}if(a===i)i=c;else if(i<0)i=e.length;return e.slice(a,i)}function w1t(e){if(oN(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 z1t(e){oN(e);let r=e.length,a=-1,i=0,s=-1,l=0,c;while(r--){let d=e.codePointAt(r);if(d===47){if(c){i=r+1;break}continue}if(a<0)c=!0,a=r+1;if(d===46){if(s<0)s=r;else if(l!==1)l=1}else if(s>-1)l=-1}if(s<0||a<0||l===0||l===1&&s===a-1&&s===i+1)return"";return e.slice(s,a)}function S1t(...e){let r=-1,a;while(++r<e.length)if(oN(e[r]),e[r])a=a===void 0?e[r]:a+"/"+e[r];return a===void 0?".":L1t(a)}function L1t(e){oN(e);let r=e.codePointAt(0)===47,a=k1t(e,!r);if(a.length===0&&!r)a=".";if(a.length>0&&e.codePointAt(e.length-1)===47)a+="/";return r?"/"+a:a}function k1t(e,r){let a="",i=0,s=-1,l=0,c=-1,d,h;while(++c<=e.length){if(c<e.length)d=e.codePointAt(c);else if(d===47)break;else d=47;if(d===47){if(s===c-1||l===1);else if(s!==c-1&&l===2){if(a.length<2||i!==2||a.codePointAt(a.length-1)!==46||a.codePointAt(a.length-2)!==46){if(a.length>2){if(h=a.lastIndexOf("/"),h!==a.length-1){if(h<0)a="",i=0;else a=a.slice(0,h),i=a.length-1-a.lastIndexOf("/");s=c,l=0;continue}}else if(a.length>0){a="",i=0,s=c,l=0;continue}}if(r)a=a.length>0?a+"/..":"..",i=2}else{if(a.length>0)a+="/"+e.slice(s+1,c);else a=e.slice(s+1,c);i=c-s-1}s=c,l=0}else if(d===46&&l>-1)l++;else l=-1}return a}function oN(e){if(typeof e!=="string")throw TypeError("Path must be a string. Received "+JSON.stringify(e))}var Ive={cwd:C1t};function C1t(){return"/"}function dP(e){return Boolean(e!==null&&typeof e==="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function Rve(e){if(typeof e==="string")e=new URL(e);else if(!dP(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 I1t(e)}function I1t(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 s=TypeError("File URL path must not include encoded / characters");throw s.code="ERR_INVALID_FILE_URL_PATH",s}}return decodeURIComponent(r)}var nK=["history","path","basename","stem","extname","dirname"];class ZP{constructor(e){let r;if(!e)r={};else if(dP(e))r={path:e};else if(typeof e==="string"||R1t(e))r={value:e};else r=e;this.cwd="cwd"in r?"":Ive.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let a=-1;while(++a<nK.length){let s=nK[a];if(s in r&&r[s]!==void 0&&r[s]!==null)this[s]=s==="history"?[...r[s]]:r[s]}let i;for(i in r)if(!nK.includes(i))this[i]=r[i]}get basename(){return typeof this.path==="string"?Ru.basename(this.path):void 0}set basename(e){fK(e,"basename"),iK(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){Pve(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(iK(e,"extname"),Pve(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(dP(e))e=Rve(e);if(fK(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){fK(e,"stem"),iK(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 Zi(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 iK(e,r){if(e&&e.includes(Ru.sep))throw Error("`"+r+"` cannot be a path: did not expect `"+Ru.sep+"`")}function fK(e,r){if(!e)throw Error("`"+r+"` cannot be empty")}function Pve(e,r){if(!e)throw Error("Setting `"+r+"` requires `path` to be set too")}function R1t(e){return Boolean(e&&typeof e==="object"&&"byteLength"in e&&"byteOffset"in e)}var Tve=function(e){let i=this.constructor.prototype,s=i[e],l=function(){return s.apply(l,arguments)};return Object.setPrototypeOf(l,i),l};var P1t={}.hasOwnProperty;class uK extends Tve{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=aK()}copy(){let e=new uK,r=-1;while(++r<this.attachers.length){let a=this.attachers[r];e.use(...a)}return e.data(Wj.default(!0,{},this.namespace)),e}data(e,r){if(typeof e==="string"){if(arguments.length===2)return cK("data",this.frozen),this.namespace[e]=r,this;return P1t.call(this.namespace,e)&&this.namespace[e]||void 0}if(e)return cK("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=Vj(e),a=this.parser||this.Parser;return sK("parse",a),a(String(r),r)}process(e,r){let a=this;return this.freeze(),sK("process",this.parser||this.Parser),lK("process",this.compiler||this.Compiler),r?i(void 0,r):new Promise(i);function i(s,l){let c=Vj(e),d=a.parse(c);a.run(d,c,function(g,x,v){if(g||!x||!v)return h(g);let b=x,y=a.stringify(b,v);if(A1t(y))v.value=y;else v.result=y;h(g,v)});function h(g,x){if(g||!x)l(g);else if(s)s(x);else Rs(r,"`done` is defined if `resolve` is not"),r(void 0,x)}}}processSync(e){let r=!1,a;return this.freeze(),sK("processSync",this.parser||this.Parser),lK("processSync",this.compiler||this.Compiler),this.process(e,i),Eve("processSync","process",r),Rs(a,"we either bailed on an error or have a tree"),a;function i(s,l){r=!0,oK(s),a=l}}run(e,r,a){Ave(e),this.freeze();let i=this.transformers;if(!a&&typeof r==="function")a=r,r=void 0;return a?s(void 0,a):new Promise(s);function s(l,c){Rs(typeof r!=="function","`file` can’t be a `done` anymore, we checked");let d=Vj(r);i.run(e,d,h);function h(g,x,v){let b=x||e;if(g)c(g);else if(l)l(b);else Rs(a,"`done` is defined if `resolve` is not"),a(void 0,b,v)}}}runSync(e,r){let a=!1,i;return this.run(e,r,s),Eve("runSync","run",a),Rs(i,"we either bailed on an error or have a tree"),i;function s(l,c){oK(l),i=c,a=!0}}stringify(e,r){this.freeze();let a=Vj(r),i=this.compiler||this.Compiler;return lK("stringify",i),Ave(e),i(e,a)}use(e,...r){let a=this.attachers,i=this.namespace;if(cK("use",this.frozen),e===null||e===void 0);else if(typeof e==="function")d(e,r);else if(typeof e==="object")if(Array.isArray(e))c(e);else l(e);else throw TypeError("Expected usable value, not `"+e+"`");return this;function s(h){if(typeof h==="function")d(h,[]);else if(typeof h==="object")if(Array.isArray(h)){let[g,...x]=h;d(g,x)}else l(h);else throw TypeError("Expected usable value, not `"+h+"`")}function l(h){if(!("plugins"in h)&&!("settings"in h))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(c(h.plugins),h.settings)i.settings=Wj.default(!0,i.settings,h.settings)}function c(h){let g=-1;if(h===null||h===void 0);else if(Array.isArray(h))while(++g<h.length){let x=h[g];s(x)}else throw TypeError("Expected a list of plugins, not `"+h+"`")}function d(h,g){let x=-1,v=-1;while(++x<a.length)if(a[x][0]===h){v=x;break}if(v===-1)a.push([h,...g]);else if(g.length>0){let[b,...y]=g,k=a[v][1];if(rN(k)&&rN(b))b=Wj.default(!0,k,b);a[v]=[h,b,...y]}}}}var dK=new uK().freeze();function sK(e,r){if(typeof r!=="function")throw TypeError("Cannot `"+e+"` without `parser`")}function lK(e,r){if(typeof r!=="function")throw TypeError("Cannot `"+e+"` without `compiler`")}function cK(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 Ave(e){if(!rN(e)||typeof e.type!=="string")throw TypeError("Expected node, got `"+e+"`")}function Eve(e,r,a){if(!a)throw Error("`"+e+"` finished async. Use `"+r+"` instead")}function Vj(e){return T1t(e)?e:new ZP(e)}function T1t(e){return Boolean(e&&typeof e==="object"&&"message"in e&&"messages"in e)}function A1t(e){return typeof e==="string"||E1t(e)}function E1t(e){return Boolean(e&&typeof e==="object"&&"byteLength"in e&&"byteOffset"in e)}var D1t="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",Dve=[],Ove={allowDangerousHtml:!0},O1t=/^(https?|ircs?|mailto|xmpp)$/i,N1t=[{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 Io(e){let r=F1t(e),a=j1t(e);return B1t(r.runSync(r.parse(a),a),e)}function F1t(e){let r=e.rehypePlugins||Dve,a=e.remarkPlugins||Dve,i=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...Ove}:Ove;return dK().use(Tj).use(a).use(qj,i).use(r)}function j1t(e){let r=e.children||"",a=new ZP;if(typeof r==="string")a.value=r;else hj("Unexpected value `"+r+"` for `children` prop, expected `string`");return a}function B1t(e,r){let{allowedElements:a,allowElement:i,components:s,disallowedElements:l,skipHtml:c,unwrapDisallowed:d}=r,h=r.urlTransform||Nve;for(let x of N1t)if(Object.hasOwn(r,x.from))hj("Unexpected `"+x.from+"` prop, "+(x.to?"use `"+x.to+"` instead":"remove it")+" (see <"+D1t+"#"+x.id+"> for more info)");if(a&&l)hj("Unexpected combined `allowedElements` and `disallowedElements`, expected one or the other");return tN(e,g),CG(e,{Fragment:L,components:s,ignoreInvalidStyle:!0,jsx:t,jsxs:o,passKeys:!0,passNode:!0});function g(x,v,b){if(x.type==="raw"&&b&&typeof v==="number"){if(c)b.children.splice(v,1);else b.children[v]={type:"text",value:x.value};return v}if(x.type==="element"){let y;for(y in YO)if(Object.hasOwn(YO,y)&&Object.hasOwn(x.properties,y)){let k=x.properties[y],T=YO[y];if(T===null||T.includes(x.tagName))x.properties[y]=h(String(k||""),y,x)}}if(x.type==="element"){let y=a?!a.includes(x.tagName):l?l.includes(x.tagName):!1;if(!y&&i&&typeof v==="number")y=!i(x,v,b);if(y&&b&&typeof v==="number"){if(d&&x.children)b.children.splice(v,1,...x.children);else b.children.splice(v,1);return v}}}}function Nve(e){let r=e.indexOf(":"),a=e.indexOf("?"),i=e.indexOf("#"),s=e.indexOf("/");if(r===-1||s!==-1&&r>s||a!==-1&&r>a||i!==-1&&r>i||O1t.test(e.slice(0,r)))return e;return""}var U1t=/\.(png|jpe?g|webp|gif|svg|avif|bmp|ico)$/i;function Qs(e){if(!e)return!1;return U1t.test(e)}function rf(e,r){if(!e||e.length===0)return null;let a=[...e].sort((s,l)=>{let c=s.width??0;return(l.width??0)-c}),i=a.filter((s)=>(s.width??0)>=r);if(i.length>0)return i.sort((s,l)=>{let c=s.width??0,d=l.width??0;return c-d}),i[0];return a[0]}function vs(e){if(!e)return"";if(e.resolution)return e.resolution;let r=e.width??0,a=e.height??0;if(r>0&&a>0){let i=Math.max(r,a),s=Math.min(r,a);if(i>=3840||s>=2160)return"2160p";if(i>=2560||s>=1440)return"1440p";if(i>=1920||s>=1080)return"1080p";if(i>=1280||s>=720)return"720p";if(i>=854||s>=480)return"480p";if(i>=640||s>=360)return"360p";if(i>=320||s>=180)return"180p";return`${s}p`}if(a>0)return`${a}p`;if(r>0)return`${r}p`;return""}function Fve({teamId:e,taskId:r,comment:a,currentUserId:i,isOwnerOrAdmin:s}){let l=V(),[c,d]=u(!1),[h,g]=u(null),x=s||a.author.id===i,{mutate:v,isPending:b}=B({mutationFn:async()=>{let k=await A.api.teams[":teamId"].kanban.tasks[":taskId"].comments[":commentId"].$delete({param:{teamId:e,taskId:r,commentId:a.id}});if(!k.ok){let T=await k.json().catch(()=>({message:Mn()}));throw Error(T.message||Mn())}return await k.json()},onSuccess:()=>{l.invalidateQueries({queryKey:["teams",e,"kanban","tasks",r,"comments"]}),l.invalidateQueries({queryKey:["teams",e,"kanban","task",r]}),l.invalidateQueries({queryKey:["teams",e,"kanban","tasks"]}),M.success("Comment deleted"),d(!1)},onError:(k)=>{M.error(k.message)}}),y=(a.author.name||"U").split(" ").map((k)=>k[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(Ce,{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:Ar(new Date(a.createdAt),"MMM d, h:mm a")})]}),x&&t("div",{className:"opacity-0 group-hover:opacity-100 transition-opacity",children:o(ge,{modal:!1,children:[t(Ae,{asChild:!0,children:t(C,{size:"icon-xs",variant:"ghost",className:"h-5 w-5 text-muted-foreground",children:t(or,{className:"h-3.5 w-3.5"})})}),t(_e,{align:"end",children:o(K,{className:"text-destructive focus:text-destructive cursor-pointer text-xs",onClick:()=>d(!0),children:[t(we,{className:"mr-1.5 h-3.5 w-3.5"}),t("span",{children:ct()})]})})]})})]}),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(Io,{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((k)=>{let T=Qs(k.name||k.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 ${T?"h-18 p-1.5 gap-2.5 cursor-pointer":"h-9 px-2.5 gap-2.5"}`,onClick:()=>{if(T)g({url:k.url,name:k.name});else window.open(k.url,"_blank","noreferrer")},children:[T?t("div",{className:"h-full aspect-square rounded-md overflow-hidden bg-muted/40 shrink-0",children:t("img",{src:k.url,alt:k.name,className:"w-full h-full object-cover group-hover/att:scale-105 transition-transform duration-200"})}):t(qn,{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:k.name,children:k.name}),k.sizeByte!==void 0&&k.sizeByte>0&&t("p",{className:"text-[10px] text-muted-foreground font-mono truncate",children:Jr(k.sizeByte)})]}),t("a",{href:k.url,download:k.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:(U)=>U.stopPropagation(),title:gr(),children:t(ht,{className:"w-3.5 h-3.5"})})]},k.id)})})]}),t(Xe,{open:c,onOpenChange:d,children:o(et,{children:[o(tt,{children:[t(nt,{children:gh()}),t(ot,{children:Ah()})]}),o(rt,{children:[t(it,{disabled:b,children:De()}),t(st,{className:"bg-destructive hover:bg-destructive/90 text-white",disabled:b,onClick:()=>v(),children:ct()})]})]})}),t(ue,{open:!!h,onOpenChange:(k)=>!k&&g(null),children:o(ae,{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:(k)=>k.stopPropagation(),children:[t(pe,{className:"sr-only",children:t(le,{children:h?.name||"Image Preview"})}),h&&o("div",{className:"flex flex-col items-center justify-center max-w-[80vw] max-h-[80vh] overflow-hidden",children:[t("img",{src:h.url,alt:h.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:h.name})]})]})})]})}S();var Gve=Symbol.for("immer-nothing"),jve=Symbol.for("immer-draftable"),ts=Symbol.for("immer-state");function Pu(e,...r){throw Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var oc=Object,mP=oc.getPrototypeOf,Qj="constructor",oB="prototype",hK="configurable",Jj="enumerable",Kj="writable",aN="value",J8=(e)=>!!e&&!!e[ts];function SZ(e){if(!e)return!1;return Kve(e)||nB(e)||!!e[jve]||!!e[Qj]?.[jve]||iB(e)||fB(e)}var Y1t=oc[oB][Qj].toString(),Bve=new WeakMap;function Kve(e){if(!e||!wK(e))return!1;let r=mP(e);if(r===null||r===oc[oB])return!0;let a=oc.hasOwnProperty.call(r,Qj)&&r[Qj];if(a===Object)return!0;if(!pP(a))return!1;let i=Bve.get(a);if(i===void 0)i=Function.toString.call(a),Bve.set(a,i);return i===Y1t}function aB(e,r,a=!0){if(fN(e)===0)(a?Reflect.ownKeys(e):oc.keys(e)).forEach((s)=>{r(s,e[s],e)});else e.forEach((i,s)=>r(s,i,e))}function fN(e){let r=e[ts];return r?r.type_:nB(e)?1:iB(e)?2:fB(e)?3:0}var ZK=(e,r,a=fN(e))=>a===2?e.has(r):oc[oB].hasOwnProperty.call(e,r),gK=(e,r,a=fN(e))=>a===2?e.get(r):e[r],$j=(e,r,a,i=fN(e))=>{if(i===2)e.set(r,a);else if(i===3)e.add(a);else e[r]=a};function q1t(e,r){if(e===r)return e!==0||1/e===1/r;else return e!==e&&r!==r}var nB=Array.isArray,iB=(e)=>e instanceof Map,fB=(e)=>e instanceof Set,wK=(e)=>typeof e==="object",pP=(e)=>typeof e==="function",pK=(e)=>typeof e==="boolean";function H1t(e){let r=+e;return Number.isInteger(r)&&String(r)===e}var vM=(e)=>e.copy_||e.base_;var zK=(e)=>e.modified_?e.copy_:e.base_;function MK(e,r){if(iB(e))return new Map(e);if(fB(e))return new Set(e);if(nB(e))return Array[oB].slice.call(e);let a=Kve(e);if(r===!0||r==="class_only"&&!a){let i=oc.getOwnPropertyDescriptors(e);delete i[ts];let s=Reflect.ownKeys(i);for(let l=0;l<s.length;l++){let c=s[l],d=i[c];if(d[Kj]===!1)d[Kj]=!0,d[hK]=!0;if(d.get||d.set)i[c]={[hK]:!0,[Kj]:!0,[Jj]:d[Jj],[aN]:e[c]}}return oc.create(mP(e),i)}else{let i=mP(e);if(i!==null&&a)return{...e};let s=oc.create(i);return oc.assign(s,e)}}function SK(e,r=!1){if(sB(e)||J8(e)||!SZ(e))return e;if(fN(e)>1)oc.defineProperties(e,{set:Gj,add:Gj,clear:Gj,delete:Gj});if(oc.freeze(e),r)aB(e,(a,i)=>{SK(i,!0)},!1);return e}function V1t(){Pu(2)}var Gj={[aN]:V1t};function sB(e){if(e===null||!wK(e))return!0;return oc.isFrozen(e)}var eB="MapSet",xK="Patches",Uve="ArrayMethods",Xve={};function NL(e){let r=Xve[e];if(!r)Pu(0,e);return r}var Yve=(e)=>!!Xve[e];var nN,Qve=()=>nN,W1t=(e,r)=>({drafts_:[],parent_:e,immer_:r,canAutoFreeze_:!0,unfinalizedDrafts_:0,handledSet_:new Set,processedForPatches_:new Set,mapSetPlugin_:Yve(eB)?NL(eB):void 0,arrayMethodsPlugin_:Yve(Uve)?NL(Uve):void 0});function qve(e,r){if(r)e.patchPlugin_=NL(xK),e.patches_=[],e.inversePatches_=[],e.patchListener_=r}function vK(e){yK(e),e.drafts_.forEach(G1t),e.drafts_=null}function yK(e){if(e===nN)nN=e.parent_}var Hve=(e)=>nN=W1t(nN,e);function G1t(e){let r=e[ts];if(r.type_===0||r.type_===1)r.revoke_();else r.revoked_=!0}function Vve(e,r){r.unfinalizedDrafts_=r.drafts_.length;let a=r.drafts_[0];if(e!==void 0&&e!==a){if(a[ts].modified_)vK(r),Pu(4);if(SZ(e))e=Wve(r,e);let{patchPlugin_:s}=r;if(s)s.generateReplacementPatches_(a[ts].base_,e,r)}else e=Wve(r,a);if(K1t(r,e,!0),vK(r),r.patches_)r.patchListener_(r.patches_,r.inversePatches_);return e!==Gve?e:void 0}function Wve(e,r){if(sB(r))return r;let a=r[ts];if(!a)return tB(r,e.handledSet_,e);if(!lB(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);eye(a,e)}return a.copy_}function K1t(e,r,a=!1){if(!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_)SK(r,a)}function Jve(e){e.finalized_=!0,e.scope_.unfinalizedDrafts_--}var lB=(e,r)=>e.scope_===r,X1t=[];function $ve(e,r,a,i){let s=vM(e),l=e.type_;if(i!==void 0){if(gK(s,i,l)===r){$j(s,i,a,l);return}}if(!e.draftLocations_){let d=e.draftLocations_=new Map;aB(s,(h,g)=>{if(J8(g)){let x=d.get(g)||[];x.push(h),d.set(g,x)}})}let c=e.draftLocations_.get(r)??X1t;for(let d of c)$j(s,d,a,l)}function Q1t(e,r,a){e.callbacks_.push(function(s){let l=r;if(!l||!lB(l,s))return;s.mapSetPlugin_?.fixSetContents(l);let c=zK(l);$ve(e,l.draft_??l,c,a),eye(l,s)})}function eye(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 s=i.getPath(e);if(s)i.generatePatches_(e,s,r)}Jve(e)}}function J1t(e,r,a){let{scope_:i}=e;if(J8(a)){let s=a[ts];if(lB(s,i))s.callbacks_.push(function(){Xj(e);let c=zK(s);$ve(e,a,c,r)})}else if(SZ(a))e.callbacks_.push(function(){let l=vM(e);if(e.type_===3){if(l.has(a))tB(a,i.handledSet_,i)}else if(gK(l,r,e.type_)===a){if(i.drafts_.length>1&&(e.assigned_.get(r)??!1)===!0&&e.copy_)tB(gK(e.copy_,r,e.type_),i.handledSet_,i)}})}function tB(e,r,a){if(!a.immer_.autoFreeze_&&a.unfinalizedDrafts_<1)return e;if(J8(e)||r.has(e)||!SZ(e)||sB(e))return e;return r.add(e),aB(e,(i,s)=>{if(J8(s)){let l=s[ts];if(lB(l,a)){let c=zK(l);$j(e,i,c,e.type_),Jve(l)}}else if(SZ(s))tB(s,r,a)}),e}function $1t(e,r){let a=nB(e),i={type_:a?1:0,scope_:r?r.scope_:Qve(),modified_:!1,finalized_:!1,assigned_:void 0,parent_:r,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1,callbacks_:void 0},s=i,l=rB;if(a)s=[i],l=iN;let{revoke:c,proxy:d}=Proxy.revocable(s,l);return i.draft_=d,i.revoke_=c,[d,i]}var rB={get(e,r){if(r===ts)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 s=vM(e);if(!ZK(s,r,e.type_))return tRt(e,s,r);let l=s[r];if(e.finalized_||!SZ(l))return l;if(i&&e.operationMethod&&a?.isMutatingArrayMethod(e.operationMethod)&&H1t(r))return l;if(l===mK(e.base_,r)||eRt(e,r,l)){Xj(e);let c=e.type_===1?+r:r,d=bK(e.scope_,l,e,c);return e.copy_[c]=d}return l},has(e,r){return r in vM(e)},ownKeys(e){return Reflect.ownKeys(vM(e))},set(e,r,a){let i=tye(vM(e),r);if(i?.set)return i.set.call(e.draft_,a),!0;if(!e.modified_){let s=mK(vM(e),r),l=s?.[ts];if(l&&l.base_===a)return e.copy_[r]=a,e.assigned_.set(r,!1),!0;if(q1t(a,s)&&(a!==void 0||ZK(e.base_,r,e.type_)))return!0;Xj(e),_K(e)}if(e.copy_[r]===a&&(a!==void 0||ZK(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),J1t(e,r,a),!0},deleteProperty(e,r){if(Xj(e),mK(e.base_,r)!==void 0||r in e.base_)e.assigned_.set(r,!1),_K(e);else e.assigned_.delete(r);if(e.copy_)delete e.copy_[r];return!0},getOwnPropertyDescriptor(e,r){let a=vM(e),i=Reflect.getOwnPropertyDescriptor(a,r);if(!i)return i;return{[Kj]:!0,[hK]:e.type_!==1||r!=="length",[Jj]:i[Jj],[aN]:a[r]}},defineProperty(){Pu(11)},getPrototypeOf(e){return mP(e.base_)},setPrototypeOf(){Pu(12)}},iN={};for(let e in rB){let r=rB[e];iN[e]=function(){let a=arguments;return a[0]=a[0][0],r.apply(this,a)}}iN.deleteProperty=function(e,r){return iN.set.call(this,e,r,void 0)};iN.set=function(e,r,a){return rB.set.call(this,e[0],r,a,e[0])};function mK(e,r){let a=e[ts];return(a?vM(a):e)[r]}function eRt(e,r,a){if(e.type_!==1||!e.allIndicesReassigned_||e.assigned_?.get(r)||!SZ(a)||a[ts])return!1;return e.baseRefs_.has(a)}function tRt(e,r,a){let i=tye(r,a);return i?aN in i?i[aN]:i.get?.call(e.draft_):void 0}function tye(e,r){if(!(r in e))return;let a=mP(e);while(a){let i=Object.getOwnPropertyDescriptor(a,r);if(i)return i;a=mP(a)}return}function _K(e){if(!e.modified_){if(e.modified_=!0,e.parent_)_K(e.parent_)}}function Xj(e){if(!e.copy_)e.assigned_=new Map,e.copy_=MK(e.base_,e.scope_.immer_.useStrictShallowCopy_)}var rRt=class{constructor(e){if(this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.useStrictIteration_=!1,this.produce=(r,a,i)=>{if(pP(r)&&!pP(a)){let l=a;a=r;let c=this;return function(h=l,...g){return c.produce(h,(x)=>a.call(this,x,...g))}}if(!pP(a))Pu(6);if(i!==void 0&&!pP(i))Pu(7);let s;if(SZ(r)){let l=Hve(this),c=bK(l,r,void 0),d=!0;try{s=a(c),d=!1}finally{if(d)vK(l);else yK(l)}return qve(l,i),Vve(s,l)}else if(!r||!wK(r)){if(s=a(r),s===void 0)s=r;if(s===Gve)s=void 0;if(this.autoFreeze_)SK(s,!0);if(i){let l=[],c=[];NL(xK).generateReplacementPatches_(r,s,{patches_:l,inversePatches_:c}),i(l,c)}return s}else Pu(1,r)},this.produceWithPatches=(r,a)=>{if(pP(r))return(c,...d)=>this.produceWithPatches(c,(h)=>r(h,...d));let i,s;return[this.produce(r,a,(c,d)=>{i=c,s=d}),i,s]},pK(e?.autoFreeze))this.setAutoFreeze(e.autoFreeze);if(pK(e?.useStrictShallowCopy))this.setUseStrictShallowCopy(e.useStrictShallowCopy);if(pK(e?.useStrictIteration))this.setUseStrictIteration(e.useStrictIteration)}createDraft(e){if(!SZ(e))Pu(8);if(J8(e))e=oRt(e);let r=Hve(this),a=bK(r,e,void 0);return a[ts].isManual_=!0,yK(r),a}finishDraft(e,r){let a=e&&e[ts];if(!a||!a.isManual_)Pu(9);let{scope_:i}=a;return qve(i,r),Vve(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 s=r[a];if(s.path.length===0&&s.op==="replace"){e=s.value;break}}if(a>-1)r=r.slice(a+1);let i=NL(xK).applyPatches_;if(J8(e))return i(e,r);return this.produce(e,(s)=>i(s,r))}};function bK(e,r,a,i){let[s,l]=iB(r)?NL(eB).proxyMap_(r,a):fB(r)?NL(eB).proxySet_(r,a):$1t(r,a);if((a?.scope_??Qve()).drafts_.push(s),l.callbacks_=a?.callbacks_??[],l.key_=i,a&&i!==void 0)Q1t(a,l,i);else l.callbacks_.push(function(h){h.mapSetPlugin_?.fixSetContents(l);let{patchPlugin_:g}=h;if(l.modified_&&g)g.generatePatches_(l,[],h)});return s}function oRt(e){if(!J8(e))Pu(10,e);return rye(e)}function rye(e){if(!SZ(e)||sB(e))return e;let r=e[ts],a,i=!0;if(r){if(!r.modified_)return r.base_;r.finalized_=!0,a=MK(e,r.scope_.immer_.useStrictShallowCopy_),i=r.scope_.immer_.shouldUseStrictIteration()}else a=MK(e,!0);if(aB(a,(s,l)=>{$j(a,s,rye(l))},i),r)r.finalized_=!1;return a}var aRt=globalThis.Iterator,TYn=typeof aRt?.from==="function";var nRt=new rRt,oye=nRt.produce;var iRt=(e)=>(r,a,i)=>(i.setState=(s,l,...c)=>{let d=typeof s==="function"?oye(s):s;return r(d,l,...c)},e(i.setState,a,i)),aye=iRt;var jr=Rr()(Rre(aye((e,r)=>({members:[],loading:!1,fetchMembers:async(a,i,s)=>{if(!s&&r().loadedTeamId===a&&r().loadedWithAgents===i)return;e({loading:!0});try{let l=await A.api.teams[":teamId"].members.$get({param:{teamId:a},query:{includeAgents:i?"true":"false"}});if(!l.ok)throw Error("failed to fetch members");let c=await l.json();e({members:c||[],loadedTeamId:a,loadedProjectId:void 0,loadedWithAgents:i,loading:!1})}catch{e({loading:!1})}},fetchProjectMembers:async(a,i,s)=>{if(!s&&r().loadedProjectId===a&&r().loadedWithAgents===i)return;e({loading:!0});try{let l=await A.api.projects[":projectId"].members.$get({param:{projectId:a},query:{includeAgents:i?"true":"false"}});if(!l.ok)throw Error("failed to fetch project members");let c=await l.json();e({members:c||[],loadedProjectId:a,loadedTeamId:void 0,loadedWithAgents:i,loading:!1})}catch{e({loading:!1})}}}))));function nye({teamId:e,onSendMessage:r,isSubmitting:a}){let[i,s]=u(""),[l,c]=u([]),[d,h]=u(!1),[g,x]=u(""),[v,b]=u(0),y=_(null),k=_(null),T=_(null),{members:U,fetchMembers:N}=jr();m(()=>{if(e)N(e,!0,!0)},[e,N]);let{mutateAsync:j}=B({mutationFn:async(Se)=>{let He=await A.api.teams[":teamId"].kanban.attachments.$post({param:{teamId:e},json:Se});if(!He.ok)throw Error("Failed to get attachment upload url");return await He.json()}}),G=(Se)=>{let He=Se.target.value;if(s(He),y.current)y.current.style.height="auto",y.current.style.height=`${Math.min(y.current.scrollHeight,160)}px`;let ft=Se.target.selectionStart||0,Je=He.slice(0,ft),xt=Je.lastIndexOf("@");if(xt!==-1){let Ft=xt===0,Bt=Je[xt-1];if(Ft||/\s/.test(Bt)){let bt=Je.slice(xt+1);if(!/\s/.test(bt)){x(bt),h(!0);return}}}h(!1)},X=U.filter((Se)=>Se.name?.toLowerCase().includes(g.toLowerCase()));m(()=>{b(0)},[g,d]);let J=(Se)=>{if(!y.current)return;let He=y.current.selectionStart||0,ft=i.slice(0,He),Je=i.slice(He),xt=ft.lastIndexOf("@");if(xt!==-1){let Ft=`${i.slice(0,xt)}@${Se.name} ${Je}`;s(Ft),h(!1),setTimeout(()=>{if(y.current){y.current.focus();let Bt=xt+Se.name.length+2;y.current.setSelectionRange(Bt,Bt)}},0)}},ee=async(Se)=>{let He=Array.from(Se.target.files||[]);if(He.length===0)return;let ft=He.map((Je)=>({id:`${Date.now()}-${Je.name}-${Math.random()}`,file:Je,isUploading:!0}));c((Je)=>[...Je,...ft]);for(let Je of ft)try{let xt=await j({fileName:Je.file.name,size:Je.file.size,contentType:Je.file.type||"application/octet-stream"});if(!(await fetch(xt.uploadUrl,{method:"PUT",body:Je.file,headers:{"Content-Type":Je.file.type||"application/octet-stream"}})).ok)throw Error("Failed to upload file to storage");c((Bt)=>Bt.map((ie)=>ie.id===Je.id?{...ie,isUploading:!1,payload:{id:xt.id,name:xt.name,key:xt.key,sizeByte:xt.sizeByte,contentType:xt.contentType,proxyType:xt.proxyType}}:ie))}catch(xt){let Ft=xt instanceof Error?xt.message:"Upload failed";M.error(`${Je.file.name}: ${Ft}`),c((Bt)=>Bt.map((ie)=>ie.id===Je.id?{...ie,isUploading:!1,error:Ft}:ie))}if(k.current)k.current.value=""},re=(Se)=>{c((He)=>He.filter((ft)=>ft.id!==Se))},oe=l.some((Se)=>Se.isUploading),fe=l.map((Se)=>Se.payload).filter((Se)=>!!Se),be=(i.trim().length>0||fe.length>0)&&!oe,We=async()=>{if(!be||a)return;try{if(await r(i.trim(),fe.length>0?fe:void 0),s(""),c([]),y.current)y.current.style.height="auto"}catch{}},Ye=(Se)=>{if(d&&X.length>0){if(Se.key==="ArrowDown"){Se.preventDefault(),b((He)=>(He+1)%X.length);return}if(Se.key==="ArrowUp"){Se.preventDefault(),b((He)=>(He-1+X.length)%X.length);return}if(Se.key==="Enter"||Se.key==="Tab"){Se.preventDefault();let He=X[v];if(He)J(He);return}if(Se.key==="Escape"){h(!1);return}}if(Se.key==="Enter"&&(Se.metaKey||Se.ctrlKey))Se.preventDefault(),We()};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:[d&&X.length>0&&t("div",{ref:T,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((Se,He)=>o("button",{type:"button",onClick:()=>J(Se),className:`w-full flex items-center gap-2 px-2.5 py-1.5 rounded-lg text-xs transition-colors text-left ${He===v?"bg-primary text-primary-foreground font-medium":"hover:bg-muted text-foreground"}`,children:[o(Ce,{className:"w-5 h-5",children:[Se.image&&t(Ie,{src:Se.image}),t(Te,{className:"text-[9px]",children:Se.name?.slice(0,2).toUpperCase()})]}),t("span",{className:"truncate",children:Se.name})]},Se.id))}),l.length>0&&t("div",{className:"flex flex-wrap gap-1.5 pb-2 mb-1.5 border-b border-border/50",children:l.map((Se)=>{let He=Se.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:[Se.isUploading?t(O,{className:"w-3.5 h-3.5 animate-spin text-primary shrink-0"}):He?t(ro,{className:"w-3.5 h-3.5 text-primary shrink-0"}):t(qn,{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:Se.file.name}),t("span",{className:"text-[9px] text-muted-foreground font-mono",children:Jr(Se.file.size)})]}),t("button",{type:"button",onClick:()=>re(Se.id),className:"p-0.5 rounded-md text-muted-foreground hover:text-foreground hover:bg-muted shrink-0",children:t(Ne,{className:"w-3 h-3"})})]},Se.id)})}),t("textarea",{ref:y,value:i,onChange:G,onKeyDown:Ye,placeholder:mFe(),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:k,type:"file",multiple:!0,className:"hidden",onChange:ee}),t(C,{type:"button",variant:"ghost",size:"icon-xs",onClick:()=>k.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(Ra,{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(C,{type:"button",size:"icon-xs",onClick:We,disabled:!be||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(O,{className:"w-3.5 h-3.5 animate-spin"}):t(ea,{className:"w-3.5 h-3.5 stroke-[2.5]"})})]})]})}function iye({teamId:e,taskId:r,initialComments:a}){let i=V(),{data:s}=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}),l=s?.role?.toLowerCase()==="owner"||s?.role?.toLowerCase()==="editor",{data:c,isLoading:d}=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}),h=c?.data||[],{mutateAsync:g,isPending:x}=B({mutationFn:async({body:b,attachments:y})=>{let k=await A.api.teams[":teamId"].kanban.tasks[":taskId"].comments.$post({param:{teamId:e,taskId:r},json:{body:b,attachments:y}});if(!k.ok){let T=await k.json().catch(()=>({message:Mn()}));throw Error(T.message||Mn())}return await k.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)=>{M.error(b.message)}}),v=async(b,y)=>{await g({body:b,attachments:y})};return o("div",{className:"flex flex-col h-full overflow-hidden bg-background",children:[t(ce,{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:d?t("div",{className:"flex items-center justify-center py-12",children:t(O,{className:"w-6 h-6 animate-spin text-muted-foreground"})}):h.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(xo,{className:"w-5 h-5 opacity-40"})}),t("p",{className:"font-medium",children:pg()})]}):h.map((b)=>t(Fve,{teamId:e,taskId:r,comment:b,currentUserId:s?.id,isOwnerOrAdmin:l},b.id))})}),t("div",{className:"p-3 border-t border-border/60 bg-card/60 shrink-0",children:t(nye,{teamId:e,onSendMessage:v,isSubmitting:x})})]})}function fRt(e){let r=e.data||{};switch(e.type){case pf.CREATED:return"Created task";case pf.STATUS_CHANGED:return`Changed status from ${e.fromStatus?io(e.fromStatus):"None"} to ${e.toStatus?io(e.toStatus):"None"}`;case pf.ASSIGNED:return"Assigned task";case pf.UNASSIGNED:return"Unassigned task";case pf.PRIORITY_CHANGED:return`Changed priority to ${String(r.to||"")}`;case pf.GOAL_CHANGED:return"Updated goal association";case pf.DEPENDENCY_ADDED:return"Added prerequisite dependency";case pf.DEPENDENCY_REMOVED:return"Removed prerequisite dependency";case pf.CHANGES_REQUESTED:return`Requested changes: "${String(r.reason||"")}"`;case pf.BLOCKED:return`Task blocked: "${String(r.reason||r.blockReason||"")}"`;case pf.UNBLOCKED:return"Task unblocked";case pf.COMMENTED:return"Added a comment";default:return e.type}}function fye({teamId:e,taskId:r,initialEvents:a}){let{data:i,isLoading:s}=Z({queryKey:["teams",e,"kanban","tasks",r,"events"],queryFn:async()=>{let c=await A.api.teams[":teamId"].kanban.tasks[":taskId"].events.$get({param:{teamId:e,taskId:r}});if(!c.ok)throw Error("Failed to fetch events");return await c.json()},initialData:a?{data:a}:void 0,enabled:!!e&&!!r}),l=i?.data||[];return t(ce,{className:"h-full p-3",children:t("div",{className:"space-y-4 pr-2",children:t("div",{className:"space-y-2",children:s?t("div",{className:"flex items-center justify-center py-6",children:t(O,{className:"w-4 h-4 animate-spin text-muted-foreground"})}):l.length===0?t("div",{className:"py-6 text-center text-xs text-muted-foreground",children:R$e()}):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:l.map((c)=>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:c.actor?.name||"System"}),t("span",{className:"text-[10px] text-muted-foreground font-mono shrink-0",children:Ar(new Date(c.createdAt),"MM/dd HH:mm")})]}),t("p",{className:"text-[11px] text-muted-foreground leading-snug mt-0.5",children:fRt(c)})]})]},c.id))})})})})}function sye({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(Eo,{value:a,onValueChange:(s)=>i(s),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(Co,{className:"w-full grid grid-cols-2 h-8 bg-muted/60",children:[o(Yr,{value:"comments",className:"text-xs h-7",children:[t("span",{children:md()}),r.comments.length>0&&o("span",{className:"text-[10px] font-mono text-muted-foreground ml-1",children:["(",r.comments.length,")"]})]}),t(Yr,{value:"activity",className:"text-xs h-7",children:t("span",{children:m2e()})})]})}),o("div",{className:"flex-1 overflow-hidden",children:[t(Rn,{value:"comments",className:"h-full m-0 data-[state=active]:flex data-[state=active]:flex-col",children:t(iye,{teamId:e,taskId:r.id,initialComments:r.comments})}),t(Rn,{value:"activity",className:"h-full m-0 data-[state=active]:block",children:t(fye,{teamId:e,taskId:r.id,initialEvents:r.events})})]})]})})}function nf({teamId:e,taskId:r,isOpen:a,onClose:i,canEdit:s=!0}){let{data:l,isLoading:c,error:d}=Z({queryKey:["teams",e,"kanban","task",r],queryFn:async()=>{if(!r)return null;let h=await A.api.teams[":teamId"].kanban.tasks[":taskId"].$get({param:{teamId:e,taskId:r}});if(!h.ok)throw Error("Failed to fetch task details");return await h.json()},enabled:!!e&&!!r&&a});return t(ue,{open:a,onOpenChange:(h)=>!h&&i(),children:o(ae,{className:"sm:max-w-5xl w-[95vw] h-[88vh] p-0 gap-0 flex flex-col overflow-hidden bg-background",children:[t(pe,{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:[l?.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(Tt,{className:"w-3.5 h-3.5"}),t("span",{children:Hd()})]}),l?.status&&t("span",{className:E("px-2 py-0.5 rounded text-[11px] font-medium border uppercase shrink-0",Y8(l.status)),children:io(l.status)}),t(le,{className:"text-sm font-semibold truncate text-foreground",children:l?.title||lUe()})]})}),t("div",{className:"flex-1 flex flex-col md:flex-row overflow-hidden",children:c?t("div",{className:"flex-1 flex items-center justify-center p-12",children:t(O,{className:"w-8 h-8 animate-spin text-muted-foreground"})}):d||!l?t("div",{className:"flex-1 flex items-center justify-center p-12 text-xs text-muted-foreground",children:Fh()}):o(L,{children:[t("div",{className:"flex-1 md:w-2/3 h-full overflow-hidden flex flex-col",children:t(D8e,{teamId:e,task:l,canEdit:s})}),t("div",{className:"md:w-1/3 h-full overflow-hidden flex flex-col",children:t(sye,{teamId:e,task:l})})]})})]})})}var sRt=[Qe.TODO,Qe.READY,Qe.IN_PROGRESS,Qe.IN_REVIEW,Qe.DONE,Qe.BLOCKED];function of({teamId:e,assetId:r,assetName:a,isOpen:i,onClose:s}){let l=V(),[c,d]=u(null),[h,g]=u(!1),[x,v]=u(Qe.TODO),[b,y]=u(""),{data:k,isLoading:T}=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}),U=k?.data||[],N=D(()=>new Set(U.map((oe)=>oe.id)),[U]),{data:j,isLoading:G}=Z({queryKey:["teams",e,"kanban","tasks","status",x],queryFn:async()=>{let oe=await A.api.teams[":teamId"].kanban.tasks.$get({param:{teamId:e},query:{status:x,first:"100"}});if(!oe.ok)return{data:[]};return await oe.json()},enabled:!!e&&h&&i}),X=j?.data||[],J=D(()=>{let oe=b.trim().toLowerCase();return X.filter((fe)=>{if(N.has(fe.id))return!1;if(!oe)return!0;return fe.title.toLowerCase().includes(oe)})},[X,N,b]),ee=B({mutationFn:async(oe)=>{let fe=await A.api.teams[":teamId"].kanban.assets[":assetId"].tasks.$post({param:{teamId:e,assetId:r},json:{taskId:oe}});if(!fe.ok)throw Error("Failed to link task");return await fe.json()},onSuccess:()=>{l.invalidateQueries({queryKey:["teams",e,"kanban","assets",r,"tasks"]}),l.invalidateQueries({queryKey:["teams",e,"kanban"]}),M.success(Mle())}}),re=B({mutationFn:async(oe)=>{let fe=await A.api.teams[":teamId"].kanban.assets[":assetId"].tasks[":taskId"].$delete({param:{teamId:e,assetId:r,taskId:oe}});if(!fe.ok)throw Error("Failed to unlink task");return await fe.json()},onSuccess:()=>{l.invalidateQueries({queryKey:["teams",e,"kanban","assets",r,"tasks"]}),l.invalidateQueries({queryKey:["teams",e,"kanban"]}),M.success(xle())}});return o(L,{children:[t(ue,{open:i,onOpenChange:(oe)=>!oe&&s(),children:o(ae,{className:"sm:max-w-2xl flex flex-col h-[520px] p-0 overflow-hidden",children:[t(pe,{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(Fo,{className:"w-5 h-5 text-primary shrink-0"}),o("div",{className:"min-w-0",children:[t(le,{className:"text-sm font-semibold truncate",children:Xf()}),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(ce,{className:"flex-1 min-h-0 p-4 [&>div>div]:block!",children:T?t("div",{className:"flex items-center justify-center p-12",children:t(O,{className:"w-6 h-6 animate-spin text-muted-foreground"})}):U.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(Fo,{className:"w-8 h-8 opacity-30"}),t("p",{children:met()})]}):t("div",{className:"space-y-2",children:U.map((oe)=>o("div",{onClick:()=>d(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(Tt,{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",Y8(oe.status)),children:io(oe.status)}),t("span",{className:E("text-[10px] px-1.5 py-0.5 rounded border uppercase font-medium shrink-0",la(oe.priority)),children:aa(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(Ce,{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(C,{type:"button",variant:"ghost",size:"sm",className:"h-6 w-6 p-0 text-muted-foreground hover:text-destructive hover:bg-destructive/10",onClick:(fe)=>{fe.stopPropagation(),re.mutate(oe.id)},title:F8t(),children:t(Ne,{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(At,{open:h,onOpenChange:g,children:[t(_t,{asChild:!0,children:o(C,{variant:"outline",size:"sm",className:"gap-1.5 text-xs h-8",children:[t(de,{className:"w-3.5 h-3.5"}),t("span",{children:SGe()})]})}),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(z,{placeholder:lut(),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:sRt.map((oe)=>t("button",{type:"button",onClick:()=>v(oe),className:E("px-2 py-1 text-[11px] font-medium rounded transition-colors whitespace-nowrap",x===oe?"bg-background shadow-xs text-foreground font-semibold":"text-muted-foreground hover:text-foreground hover:bg-muted/50"),children:io(oe)},oe))}),t(ce,{className:"h-56",children:G?o("div",{className:"flex items-center justify-center p-6 text-xs text-muted-foreground",children:[t(O,{className:"w-4 h-4 animate-spin mr-1.5"}),t("span",{children:Ed()})]}):J.length===0?t("div",{className:"p-6 text-center text-xs text-muted-foreground",children:Ile()}):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",Y8(oe.status)),children:io(oe.status)})]},oe.id))})})]})]}),t(C,{variant:"ghost",size:"sm",onClick:s,className:"text-xs h-8",children:Bc()})]})]})}),c&&t(nf,{teamId:e,taskId:c,isOpen:!0,onClose:()=>d(null)})]})}function lye({teamId:e,projectId:r,projectName:a,ancestorFolders:i,currentAsset:s,isRootFolder:l,customTerminalBreadcrumb:c,displayStyle:d,onDisplayStyleChange:h,isLeftSidebarCollapsed:g,onLeftSidebarToggle:x,isRightSidebarCollapsed:v,onRightSidebarToggle:b,isChatbotOpen:y=!1,onChatbotToggle:k,isPublic:T=!1,onFolderClick:U,onRename:N,onDelete:j,fileId:G,shareId:X,allowDownload:J=!0,downloadInfo:ee,versions:re,compareMode:oe=!1,canCompareVersions:fe=!1,onCompareVersions:be}){let We=Re(),{canEdit:Ye}=Ot(r),{openMobileMenu:Se}=Xk(),[He,ft]=u(!1),[Je,xt]=u(!1),[Ft,Bt]=u(!1),ie=G||s.id,bt=s.name==="Recently Deleted",Wt=s.name==="All Collections",Fe=!T&&!l&&!bt&&!Wt&&!oe&&!!ie,{data:ir}=Z({queryKey:["teams",e,"kanban","assets",ie,"tasks"],queryFn:async()=>{if(!e||!ie)return{data:[],total:0};let sr=await A.api.teams[":teamId"].kanban.assets[":assetId"].tasks.$get({param:{teamId:e,assetId:ie}});if(!sr.ok)return{data:[],total:0};return await sr.json()},enabled:!!e&&!!ie&&Fe}),fr=ir?.total??ir?.data?.length??0,Jt=!1,Fr=(sr)=>{if(!G)return;if(T&&X){We({to:"/share/$shareId/files/$fileId",params:{shareId:X,fileId:G},search:(ho)=>({...ho,version:sr})});return}if(!r)return;We({to:"/projects/$projectId/files/$fileId",params:{projectId:r,fileId:G},search:(ho)=>({...ho,version:sr})})},Gt=async(sr)=>{if(!G)return;try{let ho=X?await A.api.shares[":shareId"].files[":fileId"]["download-url"].$post({param:{shareId:X,fileId:G},json:{key:sr}}):await A.api.files["download-url"].$post({json:{key:sr,assetId:G}});if(!ho.ok)return;let{url:po}=await ho.json(),jo=document.createElement("a");jo.href=po,jo.download="",document.body.appendChild(jo),jo.click(),document.body.removeChild(jo)}catch{}},Ir=s.proxyType!=="audio"&&(ee?.videoTranscodes?.length??0)>0,yr=Boolean(c||!l&&!oe),Tr={name:a,path:T?void 0:`/projects/${r}`,id:"root"},pr=i.slice().reverse().map((sr)=>({name:sr.name||"",path:T?void 0:`/projects/${r}/folders/${sr.id}`,id:sr.id})),mo=yr?pr:pr.slice(0,-1),co=!yr&&pr.length>0?pr[pr.length-1]:null,va=()=>{if(c)return t("span",{className:"truncate rounded px-2 py-1 text-sm font-medium text-foreground",children:c});if(!l&&!oe){if(s.type==="folder")return t("span",{className:"truncate rounded px-2 py-1 text-sm font-medium text-foreground",children:s.name});return o(ge,{modal:!1,open:Ft,onOpenChange:Bt,children:[o("div",{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 cursor-pointer select-none",onClick:()=>Bt((sr)=>!sr),children:[t("span",{className:"truncate",children:s.name}),s.version!==void 0&&o(he,{variant:"outline",className:"px-1 py-0 text-xs shrink-0",children:["v",s.version]}),t(Ae,{asChild:!0,onClick:(sr)=>sr.stopPropagation(),onPointerDown:(sr)=>sr.stopPropagation(),children:t("button",{type:"button","aria-label":s.name,className:"flex items-center justify-center p-0.5 rounded shrink-0 focus:outline-none",children:t(ve,{className:"h-4 w-4 shrink-0"})})})]}),o(_e,{className:"w-56",align:"center",children:[J&&(Ir?o(ms,{children:[t(hs,{className:"flex items-center gap-2",children:t("span",{children:gr()})}),t(ra,{children:o(gs,{className:"w-48",children:[t(Wr,{children:gr()}),ee?.videoTranscodes?.map((sr)=>{let ho=vs(sr),po=sr.hdr?`${ho} (HDR)`:ho;return o(K,{onClick:()=>Gt(sr.key),className:"flex items-center justify-between",children:[t("span",{children:po}),t("span",{className:"text-xs text-muted-foreground",children:"MP4"})]},sr.key||`${ho}-${sr.hdr?"hdr":"sdr"}`)}),ee?.originalKey&&o(L,{children:[t(Vt,{}),o(K,{onClick:()=>Gt(ee.originalKey),className:"flex items-center justify-between",children:[t("span",{children:"Original"}),t("span",{className:"text-xs text-muted-foreground",children:s.name?.split(".").pop()?.toUpperCase()||"RAW"})]})]})]})})]}):t(K,{onClick:()=>ee?.originalKey&&Gt(ee.originalKey),disabled:!ee?.originalKey,children:gr()})),Ye&&N&&t(K,{onClick:N,children:Zo()}),Ye&&j&&t(K,{onClick:j,className:"text-destructive focus:text-destructive",children:ct()}),fe&&be&&o(L,{children:[t(Vt,{}),o(K,{onClick:()=>be(),children:[t(f8,{className:"h-4 w-4"}),t("span",{children:SFe()})]})]}),re&&re.length>0&&o(L,{children:[t(Vt,{}),o(ms,{children:[o(hs,{className:"flex items-center gap-2",children:[t(Tn,{className:"h-4 w-4"}),t("span",{children:"Versions"})]}),t(ra,{children:o(gs,{className:"w-80 p-1",children:[t("div",{className:"flex flex-col gap-1 max-h-96 overflow-y-auto",children:re.map((sr)=>{let ho=s.version===sr.version;return o(K,{onClick:()=>Fr(sr.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",sr.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:sr.previewUrl?t("img",{src:sr.previewUrl,alt:sr.name||void 0,className:"h-full w-full object-cover"}):t(tr,{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:sr.name}),t("span",{className:"truncate text-xs text-muted-foreground flex items-center gap-1",children:sr.agent?o(L,{children:[t(Tt,{className:"h-3 w-3 shrink-0"}),t("span",{className:"truncate",children:Xc({user:sr.creator?.name||Dl(),agent:sr.agent.name})})]}):sr.creator?.name||Dl()})]}),ho&&t(Pe,{className:"h-4 w-4 text-primary ml-auto flex-shrink-0"})]},sr.id)})}),t(Vt,{}),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:tp()})})]})})]})]})]})]})}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:[!T&&t(C,{variant:"ghost",size:"icon",onClick:()=>Se(),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"})}),!T&&o("div",{className:"hidden md:flex items-center gap-1 shrink-0",children:[t(An,{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:AOe()}),t("span",{className:"text-muted-foreground",children:"/"})]}),yr||i.length>0?Tr.path?t(An,{to:Tr.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:Tr.name}):t("button",{onClick:()=>Tr.id&&U?.(Tr.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:Tr.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:Tr.name}),mo.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(_e,{align:"start",children:mo.map((sr,ho)=>t(K,{asChild:!0,children:sr.path?t(An,{to:sr.path,className:"cursor-pointer",children:sr.name}):t("button",{onClick:()=>sr.id&&U?.(sr.id),className:"cursor-pointer w-full text-left",children:sr.name})},ho))})]}),t("span",{className:"text-muted-foreground shrink-0",children:"/"})]}),i.slice().reverse().map((sr)=>{let ho=T?void 0:`/projects/${r}/folders/${sr.id}`;return o("div",{className:"hidden md:flex items-center gap-1",children:[t("span",{className:"text-muted-foreground",children:"/"}),ho?t(An,{to:ho,className:"truncate rounded px-2 py-1 text-sm font-medium transition-colors hover:bg-accent hover:text-accent-foreground text-foreground",children:sr.name}):t("button",{onClick:()=>sr.id&&U?.(sr.id),className:"truncate rounded px-2 py-1 text-sm font-medium transition-colors hover:bg-accent hover:text-accent-foreground text-foreground",children:sr.name})]},sr.id)}),(yr||!yr&&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",mo.length>0?"hidden md:inline":"inline"),children:"/"}),yr?va():co&&t("span",{className:"min-w-0 truncate rounded px-2 py-1 text-sm font-medium text-foreground",children:co.name})]}),Fe&&o(C,{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:()=>xt(!0),title:Xf(),children:[t(Fo,{className:"w-4 h-4"}),fr>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:fr})]})]}),Fe&&Je&&ie&&t(of,{teamId:e,assetId:ie,assetName:s.name,isOpen:Je,onClose:()=>xt(!1)}),G&&re&&re.length>0&&t(Jd,{open:He,onOpenChange:ft,stackId:G,canEdit:Ye,onStackDissolved:(sr)=>{ft(!1),We({to:"/projects/$projectId/files/$fileId",params:{projectId:r,fileId:sr}})},onVersionRemoved:(sr,ho)=>{if((s.version?re.find((jo)=>jo.version===s.version)?.id:void 0)===sr){let jo=ho[0];if(jo)We({to:"/projects/$projectId/files/$fileId",params:{projectId:r,fileId:G},search:(hn)=>({...hn,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&&!T&&x&&t("button",{onClick:x,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(MMe,{className:"h-4 w-4"}):t(vMe,{className:"h-4 w-4 fill-primary stroke-0"})}),!G&&!T&&d&&h&&o(L,{children:[t("button",{onClick:()=>h("card"),className:`rounded p-1.5 transition-colors ${d==="card"?"bg-accent text-accent-foreground":"text-muted-foreground hover:bg-accent/50 hover:text-foreground"}`,title:"Card View",children:t(no,{className:"h-4 w-4"})}),t("button",{onClick:()=>h("list"),className:`rounded p-1.5 transition-colors ${d==="list"?"bg-accent text-accent-foreground":"text-muted-foreground hover:bg-accent/50 hover:text-foreground"}`,title:"List View",children:t(Lo,{className:"h-4 w-4"})})]}),t("button",{onClick:b,className:`rounded p-1.5 transition-colors ${!v&&!y?"bg-accent text-accent-foreground":"text-muted-foreground hover:bg-accent/50 hover:text-foreground"}`,title:v?"Show Right Sidebar":"Hide Right Sidebar",children:!v&&!y?t(yMe,{className:"h-4 w-4 fill-primary stroke-0"}):t(xMe,{className:"h-4 w-4"})})]}),!T&&k&&t(an,{children:o(ln,{children:[t(cn,{asChild:!0,children:t("span",{children:t("button",{disabled:!1,onClick:k,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(_Me,{className:"h-6 w-6 text-primary transition-colors"}):t(Tt,{className:"h-6 w-6 text-muted-foreground transition-colors"})})})}),t(un,{children:t("p",{children:y?nWe():PZt()})})]})})]})]})}var $t=Rr()(Kk((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:Rz(()=>localStorage)}));var LK="shumai_selected_agent_id",cye=()=>{if(typeof window<"u"&&window.localStorage)return localStorage.getItem(LK);return null},ur=Rr((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((l)=>l.id)),s=r.filter((l)=>!i.has(l.id));return{chatAssets:[...a.chatAssets,...s]}}),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:cye(),setSelectedAgentId:(r)=>{if(typeof window<"u"&&window.localStorage)if(r)localStorage.setItem(LK,r);else localStorage.removeItem(LK);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 s=await i.json(),c=ur.getState().historySessions.find((d)=>d.id===a)?.agentId||null;e({currentSessionId:a,messages:s,isHistoryMode:!1,scrollTop:0,isAtBottom:!0,...c?{selectedAgentId:c}:{}})}else throw Error("Failed to load session messages")}catch(i){let s=i instanceof Error?i.message:"Failed to load session";M.error(s)}},deleteSession:async(r,a)=>{try{if((await A.api.teams[":teamId"].chat.sessions[":sessionId"].$delete({param:{teamId:r,sessionId:a}})).ok)M.success("Session deleted successfully"),e((s)=>({historySessions:s.historySessions.filter((l)=>l.id!==a),currentSessionId:s.currentSessionId===a?null:s.currentSessionId,messages:s.currentSessionId===a?[]:s.messages}));else throw Error("Failed to delete session")}catch(i){let s=i instanceof Error?i.message:"Failed to delete session";M.error(s)}},startNewSession:()=>{let r=cye();e({currentSessionId:null,messages:[],chatAssets:[],inputText:"",scrollTop:0,isAtBottom:!0,...r?{selectedAgentId:r}:{}})},sendMessage:async(r,a,i,s,l,c,d,h,g)=>{let x=ur.getState();if(x.isStreaming)return;let v=`temp-${Date.now()}`,b={id:v,role:"custom",customType:"shumai_message",content:a,display:!0,details:{currentAsset:s?{id:s,name:"",type:"file"}:void 0,position:h!==void 0&&h!==null?{type:"time",seconds:h}:void 0,annotation:!!(d&&d.length>0),annotations:d||void 0,attachedFiles:g||void 0,referencedAssets:x.chatAssets.length>0?x.chatAssets.map((U)=>({id:U.id,name:U.name,type:U.type})):void 0},timestamp:Date.now()},y=[...x.messages,b];e({messages:y,isStreaming:!0,chatAssets:[],isAtBottom:!0});let k=x.chatAssets.map((U)=>U.id),T=x.selectedAgentId;if(!T){M.error("No agent selected");return}try{let U=await A.api.teams[":teamId"].chat.$post({param:{teamId:r},json:{agentId:T,textPrompt:a||void 0,attachedFiles:c&&c.length>0?c:void 0,assetIds:k&&k.length>0?k:void 0,sessionId:x.currentSessionId||void 0,contextAssetId:s,projectId:i,second:h??void 0,annotations:d&&d.length>0?d:void 0}});if(!U.ok)throw Error("Failed to start chat");let N=U.headers.get("x-session-id");if(N&&!x.currentSessionId)e({currentSessionId:N});let j=U.body?.getReader();if(!j)throw Error("No stream body");let G=new TextDecoder,X="";while(!0){let{done:ee,value:re}=await j.read();if(ee)break;X+=G.decode(re,{stream:!0});let oe=X.split(`
211
- `);X=oe.pop()||"";for(let fe of oe){let be=fe.trim();if(!be)continue;if(be.startsWith("data: ")){let We=be.slice(6);try{let Ye=JSON.parse(We);if(Ye.type==="session"){if(!ur.getState().currentSessionId)e({currentSessionId:Ye.sessionId})}else if(Ye.type==="entry"){let Se=Ye.entry,He=Se;if(He.role==="toolResult"&&typeof He.toolName==="string"&&["create_file","create_folder","create_version","rename_asset","move_assets","delete_asset"].includes(He.toolName)&&!He.isError)l?.();e((ft)=>{let Je=ft.messages.some((ie)=>ie.id===Se.id),xt=(Se.role==="user"||Se.role==="custom"&&Se.customType==="shumai_message")&&!Je,Ft=ft.messages.filter((ie)=>{if(xt)return!ie.id.startsWith("temp-");if(Se.role==="custom"&&Se.customType==="context_display_info"&&!Je)return!ie.id.startsWith("temp-context-");return!0}),Bt=Ft.findIndex((ie)=>ie.id===Se.id);if(Bt!==-1){let ie=[...Ft];return ie[Bt]=Se,{messages:ie}}else return{messages:[...Ft,Se]}})}else if(Ye.type==="done"){if(Ye.status==="failed")M.error(Ye.error||"Workflow failed")}}catch(Ye){console.error("Error parsing SSE line:",Ye)}}}}ur.getState().fetchHistorySessions(r)}catch(U){let N=U instanceof Error?U.message:"Failed to send message";M.error(N),e((j)=>({messages:j.messages.filter((G)=>G.id!==v)}))}finally{e({isStreaming:!1})}},abortActiveSession:async(r)=>{let{currentSessionId:a,isStreaming:i}=ur.getState();if(!a||!i)return;try{if((await A.api.teams[":teamId"].chat.sessions[":sessionId"].abort.$post({param:{teamId:r,sessionId:a}})).ok)M.success("Agent execution stopped");else throw Error("Failed to abort agent execution")}catch(s){let l=s instanceof Error?s.message:"Failed to abort execution";M.error(l)}}}));var _r=Rr((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 l=(await i.json()).reduce((c,d)=>(c[d.key]=d.value,c),{});e({metadata:l,isLoading:!1})}catch(i){e({error:i instanceof Error?i.message:String(i),isLoading:!1})}},setMetadata:async(a,i,s)=>{let l=r().metadata;e((c)=>({metadata:{...c.metadata,[i]:s}}));try{if(!(await A.api.teams[":teamId"]["user-metadata"][":key"].$put({param:{teamId:a,key:i},json:{value:s}})).ok)throw Error("failed to update user metadata")}catch(c){e({metadata:l}),console.error(c)}},getMetadata:(a,i)=>{let s=r().metadata[a];return s!==void 0?s:i}}));S();var kK=768;function Bo(){let[e,r]=u(void 0);return m(()=>{let a=window.matchMedia(`(max-width: ${kK-1}px)`),i=()=>{r(window.innerWidth<kK)};return a.addEventListener("change",i),r(window.innerWidth<kK),()=>a.removeEventListener("change",i)},[]),!!e}function sf(){let{projectState:e}=dn(),r=$t(),{isChatbotOpen:a,setIsChatbotOpen:i}=ur(),s=_r((Bt)=>Boolean(Bt.metadata["appearance.hideAgent"]));if(Bo()&&e?.fileId)return null;if(!e)return t(lRt,{});let{teamId:c,projectId:d,projectName:h,ancestorFolders:g,currentAsset:x,isRootFolder:v,customTerminalBreadcrumb:b,fileId:y,downloadInfo:k,versions:T,isPublic:U,shareId:N,allowDownload:j,onFolderClick:G,onRename:X,onDelete:J,compareMode:ee,canCompareVersions:re,onCompareVersions:oe}=e,fe=!!y,be=!!b,We=!!N&&!fe,Ye=fe?r.fileViewLeftSidebarCollapsed:We?r.shareConfigLeftSidebarCollapsed:r.fileListLeftSidebarCollapsed,Se=U?void 0:()=>fe?r.setFileViewLeftSidebarCollapsed(!r.fileViewLeftSidebarCollapsed):We?r.setShareConfigLeftSidebarCollapsed(!r.shareConfigLeftSidebarCollapsed):r.setFileListLeftSidebarCollapsed(!r.fileListLeftSidebarCollapsed),He=U&&e.isRightSidebarCollapsed!==void 0?e.isRightSidebarCollapsed:fe?r.fileViewRightSidebarCollapsed:We?r.shareConfigRightSidebarCollapsed:r.fileListRightSidebarCollapsed,ft=U&&e.onRightSidebarToggle?e.onRightSidebarToggle:()=>{if(!U&&a&&!s)if(i(!1),fe)r.setFileViewRightSidebarCollapsed(!1);else if(We)r.setShareConfigRightSidebarCollapsed(!1);else r.setFileListRightSidebarCollapsed(!1);else if(fe)r.setFileViewRightSidebarCollapsed(!r.fileViewRightSidebarCollapsed);else if(We)r.setShareConfigRightSidebarCollapsed(!r.shareConfigRightSidebarCollapsed);else r.setFileListRightSidebarCollapsed(!r.fileListRightSidebarCollapsed)},Je=U||s?void 0:()=>{i(!a)},xt=d?r.viewModes[d]??"card":"card";return t(lye,{teamId:c,projectId:d,projectName:h,ancestorFolders:g,currentAsset:x,isRootFolder:v,customTerminalBreadcrumb:b,displayStyle:fe||We||be?void 0:xt,onDisplayStyleChange:fe||We||be?void 0:U?void 0:(Bt)=>{if(d)r.setViewMode(d,Bt)},isLeftSidebarCollapsed:Ye,onLeftSidebarToggle:Se,isRightSidebarCollapsed:He,onRightSidebarToggle:ft,isChatbotOpen:!U&&!s&&a,onChatbotToggle:s?void 0:Je,isPublic:U,shareId:N,allowDownload:j,fileId:y,downloadInfo:k,versions:T,onFolderClick:G,onRename:X,onDelete:J,compareMode:ee,canCompareVersions:re,onCompareVersions:oe})}function lRt(){let{toggleMobileMenu:e}=Xk();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(C,{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(gM,{className:"w-10 h-10 text-orange-600"})}),t("div",{className:"w-9 md:hidden"})]})}S();var cRt=(e,r,a,i,s,l,c,d)=>{let h=document.documentElement,g=["light","dark"];function x(y){(Array.isArray(e)?e:[e]).forEach((k)=>{let T=k==="class",U=T&&l?s.map((N)=>l[N]||N):s;T?(h.classList.remove(...U),h.classList.add(l&&l[y]?l[y]:y)):h.setAttribute(k,y)}),v(y)}function v(y){d&&g.includes(y)&&(h.style.colorScheme=y)}function b(){return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}if(i)x(i);else try{let y=localStorage.getItem(r)||a,k=c&&y==="system"?b():y;x(k)}catch(y){}};var uRt=lt(void 0),dRt={setTheme:(e)=>{},themes:[]},uye=()=>{var e;return(e=pt(uRt))!=null?e:dRt};var Vqn=Un(({forcedTheme:e,storageKey:r,attribute:a,enableSystem:i,enableColorScheme:s,defaultTheme:l,value:c,themes:d,nonce:h,scriptProps:g})=>{let x=JSON.stringify([a,r,l,e,d,c,i,s]).slice(1,-1);return q("script",{...g,suppressHydrationWarning:!0,nonce:typeof window>"u"?h:"",dangerouslySetInnerHTML:{__html:`(${cRt.toString()})(${x})`}})});var dye=({...e})=>{let{theme:r="system"}=uye();return t(Rde,{theme:r,className:"toaster group",icons:{success:t(lr,{className:"size-4"}),info:t(Hn,{className:"size-4"}),warning:t(Kr,{className:"size-4"}),error:t(s8,{className:"size-4"}),loading:t(O,{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 bn=Rr((e)=>({uploading:0,tasks:{},fileProgress:{},increment:()=>e((r)=>({uploading:r.uploading+1})),decrement:()=>e((r)=>({uploading:r.uploading-1})),startTask:(r,a,i)=>e((s)=>{let l={},c=0;i.forEach((g)=>{l[g.fileId]={fileId:g.fileId,name:g.name,loaded:0,total:g.size,status:"uploading"},c+=g.size});let d={...s.tasks,[r]:{taskId:r,name:a,loaded:0,total:c,files:l}},h={...s.fileProgress};return i.forEach((g)=>{h[g.fileId]=l[g.fileId]}),{tasks:d,fileProgress:h}}),updateFileProgress:(r,a,i)=>e((s)=>{let l=s.tasks[r];if(!l)return{};let c=l.files[a];if(!c)return{};let d={...c,loaded:i},h={...l.files,[a]:d},g=Object.values(h).reduce((x,v)=>x+v.loaded,0);return{tasks:{...s.tasks,[r]:{...l,loaded:g,files:h}},fileProgress:{...s.fileProgress,[a]:d}}}),completeFile:(r,a)=>e((i)=>{let s=i.tasks[r];if(!s)return{};let l=s.files[a];if(!l)return{};let c={...l,status:"completed",loaded:l.total},d={...s.files,[a]:c},h=Object.values(d).reduce((g,x)=>g+x.loaded,0);return{tasks:{...i.tasks,[r]:{...s,loaded:h,files:d}},fileProgress:{...i.fileProgress,[a]:c}}}),failFile:(r,a)=>e((i)=>{let s=i.tasks[r];if(!s)return{};let l=s.files[a];if(!l)return{};let c={...l,status:"failed"},d={...s.files,[a]:c},h=Object.values(d).reduce((g,x)=>g+x.loaded,0);return{tasks:{...i.tasks,[r]:{...s,loaded:h,files:d}},fileProgress:{...i.fileProgress,[a]:c}}})}));S();function af({className:e,value:r,...a}){return t(IRe,{"data-slot":"progress",className:E("relative h-2 w-full overflow-hidden rounded-full bg-primary/20",e),...a,children:t(RRe,{"data-slot":"progress-indicator",className:"h-full w-full flex-1 bg-primary transition-all",style:{transform:`translateX(-${100-(r||0)}%)`}})})}function ZRt(e){let r=dM(e);if(isNaN(r.getTime()))return _8t();if(lO(r))return Tle();if(cO(r))return Ale();return Ar(r,Tje())}function Zye(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 pRt({task:e}){let r=bn((l)=>l.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,s;try{s=kn(e.createdAt)}catch{s=_n()}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||K8t()})}),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(lr,{className:"w-3.5 h-3.5"}),D6e()]}):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(O,{className:"w-3.5 h-3.5 animate-spin"}),vxt()]})})]}),o("div",{className:"flex items-center gap-1.5 text-xs text-muted-foreground mb-3 font-medium",children:[t(er,{className:"w-3.5 h-3.5 text-muted-foreground/75"}),t("span",{children:s})]}),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?`${Zye(r.loaded)} / ${Zye(r.total)} (${_le({uploaded:e.uploaded,total:e.total})})`:_le({uploaded:e.uploaded,total:e.total})}),!a&&o("span",{className:"text-sidebar-primary font-mono font-bold",children:[Math.round(i),"%"]})]}),t(af,{value:i,className:"h-1.5 w-full bg-muted"})]})]})}function pye(){let e=As(),r=bn((y)=>y.uploading),a=bn((y)=>y.tasks),{data:i,fetchNextPage:s,hasNextPage:l,isFetchingNextPage:c,isLoading:d}=mt({queryKey:["teams",e,"upload","tasks"],queryFn:async({pageParam:y})=>{let k=await A.api.teams[":teamId"].upload.tasks.$get({param:{teamId:e},query:{after:y}});if(!k.ok)throw Error("Failed to fetch upload tasks");return await k.json()},initialPageParam:"",getNextPageParam:(y)=>y.pageInfo?.cursor||void 0,enabled:!!e,refetchInterval:r>0?2000:!1}),{ref:h,inView:g}=Nt();m(()=>{if(g&&l&&!c)s()},[g,l,c,s]);let x=i?.pages.flatMap((y)=>y.data??[])??[],v=D(()=>{let y=new Set(x.map((T)=>T.id));return[...Object.values(a).filter((T)=>!y.has(T.taskId)).map((T)=>{let U=Object.values(T.files).filter((N)=>N.status==="completed"||N.status==="failed").length;return{id:T.taskId,name:T.name,total:Object.keys(T.files).length,uploaded:U,createdAt:new Date().toISOString()}}),...x].sort((T,U)=>U.id.localeCompare(T.id))},[x,a]);if(d)return t("div",{className:"flex items-center justify-center p-8",children:t(O,{className:"h-6 w-6 animate-spin text-muted-foreground"})});if(v.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(zn,{className:"h-8 w-8 text-muted-foreground/50 mb-3"}),t("p",{className:"text-sm font-semibold text-muted-foreground",children:Mtt()}),t("p",{className:"text-xs text-muted-foreground/60 mt-1 max-w-[180px]",children:mtt()})]});let b=[];return v.forEach((y)=>{let k=ZRt(y.createdAt),T=b.find((U)=>U.day===k);if(!T)T={day:k,tasks:[]},b.push(T);T.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?BJe({count:y.tasks.length}):NJe({count:y.tasks.length})})]}),t("div",{className:"mt-3 space-y-3",children:y.tasks.map((k)=>t(pRt,{task:k},k.id))})]},y.day)),l&&t("div",{ref:h,className:"flex items-center justify-center p-4",children:c&&t(O,{className:"h-5 w-5 animate-spin text-muted-foreground"})})]})}S();async function mye(e){let r=e.match(/^\/teams\/([^/]+)/),a=r?r[1]:null;if(a)return a;let i=e.match(/^\/projects\/([^/]+)/),s=i?i[1]:null;if(s){let{ensureTeamIdForProject:l}=ut.getState();return await l(s)}return null}function mRt(){let e=_f((k)=>k.user),{uploading:r}=bn(),a=iz({select:(k)=>k.location.pathname}),i=Re(),{teamId:s,setTeamId:l}=ut(),{projectState:c}=dn(),d=e&&(a.startsWith("/teams/")||a.startsWith("/projects/"));m(()=>{mye(a).then((k)=>{if(k&&k!==s)l(k)})},[a,s,l]);let{data:h}=Z({queryKey:["teams",s,"me"],queryFn:async()=>{if(!s)return null;let k=await A.api.teams[":teamId"].me.$get({param:{teamId:s}});if(!k.ok)throw Error("Failed to fetch me");return await k.json()},enabled:!!s});if(!d)return t(EM,{});let g=h?.unreadNotificationCount??0,x=g>99?"99+":g,v=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:x}):null,b=a.includes("/kanban"),y=a.includes("/dashboard");return o("div",{className:"flex h-[100dvh] w-full bg-background overflow-hidden",children:[t(dye,{}),o(Dle,{hideMobileButton:!0,defaultMobileContent:c?.projectId?{label:ble(),children:t(vr,{teamId:c.teamId,projectId:c.projectId,projectName:c.projectName,rootFolderId:c.rootFolderId||"",ancestorFolders:c.ancestorFolders})}:void 0,children:[t($z,{icon:t(wMe,{}),label:MWe(),onItemClick:()=>{if(s)i({to:"/teams/$teamId",params:{teamId:s}})}}),t($z,{icon:t(bMe,{}),label:yg(),badge:v,children:t(gMe,{})}),t($z,{icon:t(zMe,{uploading:r>0,className:r>0?"text-blue-500":""}),label:bxt(),children:t(pye,{})}),t($z,{icon:t(SMe,{}),label:iGe(),active:b,onItemClick:()=>{if(s)i({to:"/teams/$teamId/kanban",params:{teamId:s}})}}),h?.role?.toLowerCase()==="owner"&&t($z,{icon:t(LMe,{}),label:mh(),active:y,onItemClick:()=>{if(s)i({to:"/teams/$teamId/dashboard",params:{teamId:s}})}})]}),o("div",{className:"flex flex-col flex-1 md:pl-16 overflow-hidden relative",children:[t(sf,{}),t("main",{className:"flex-1 overflow-hidden relative flex flex-col",children:t(EM,{})})]})]})}var Fn=x6()({beforeLoad:async({location:e})=>{if(typeof window<"u"){let r=e.pathname,a=await mye(r);if(a){let{fetchMetadata:i,getMetadata:s}=_r.getState();try{await i(a);let l=s("locale");if((l==="en"||l==="zh")&&l!==n())Na(l,{reload:!1})}catch(l){console.error("Failed to load user locale metadata:",l)}}document.documentElement.setAttribute("lang",n())}},component:mRt});function Ll({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(gM,{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:y5e()}),t("p",{className:"text-zinc-600 dark:text-zinc-400 text-sm leading-relaxed max-w-sm",children:l5e()}),t("ul",{className:"space-y-3.5 pt-4",children:[M5e(),d5e(),m5e()].map((r,a)=>o("li",{className:"flex items-center gap-3 text-sm text-zinc-700 dark:text-zinc-300 font-medium",children:[t(lr,{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("a",{href:"https://discord.gg/sUzhujK6DD",target:"_blank",rel:"noreferrer",className:"text-xs text-zinc-500 hover:text-zinc-800 dark:text-zinc-400 dark:hover:text-zinc-200 font-medium transition-colors hover:underline inline-flex items-center gap-1",children:i5e()})})]}),t("div",{className:"w-full md:w-1/2 p-8 md:p-12 flex flex-col justify-center",children:e})]})]})}function Ke({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 vt({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 wt({className:e,...r}){return t("div",{"data-slot":"card-title",className:E("leading-none font-semibold",e),...r})}function kt({className:e,...r}){return t("div",{"data-slot":"card-description",className:E("text-sm text-muted-foreground",e),...r})}function at({className:e,...r}){return t("div",{"data-slot":"card-content",className:E("px-6",e),...r})}function ca({className:e,...r}){return t("div",{"data-slot":"card-footer",className:E("flex items-center px-6 [.border-t]:pt-6",e),...r})}S();var cN=(e)=>e.type==="checkbox",pB=(e)=>e.type==="file",$8=(e)=>e instanceof Date,qi=(e)=>e==null,EK=(e)=>typeof e==="object",Bn=(e)=>!qi(e)&&!Array.isArray(e)&&EK(e)&&!$8(e),hRt=(e)=>Bn(e)&&e.target?cN(e.target)?e.target.checked:pB(e.target)?e.target.files:e.target.value:e,gRt=(e,r)=>r.split(".").some((a,i,s)=>!isNaN(Number(a))&&e.has(s.slice(0,i).join("."))),mB=typeof window<"u"&&typeof window.HTMLElement<"u"&&typeof document<"u";function Sn(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(mB&&(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 s in e)if(Object.prototype.hasOwnProperty.call(e,s))i[s]=Sn(e[s]);return i}var hP={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"},Cye="root",DK=["__proto__","constructor","prototype"],MRt=/^\w*$/,jL=(e)=>MRt.test(e),xa=(e)=>e===void 0,xRt=/[.[\]'"]/,MP=(e)=>e.split(xRt).filter(Boolean),mr=(e,r,a)=>{if(!r||!Bn(e))return a;let i=jL(r)?[r]:MP(r);if(i.some((l)=>DK.includes(l)))return a;let s=i.reduce((l,c)=>qi(l)?void 0:l[c],e);return xa(s)||s===e?xa(e[r])?a:e[r]:s},LZ=(e)=>typeof e==="boolean",Ec=(e)=>typeof e==="function",ga=(e,r,a)=>{let i=-1,s=jL(r)?[r]:MP(r),l=s.length,c=l-1;while(++i<l){let d=s[i],h=a;if(i!==c){let g=e[d];h=Bn(g)||Array.isArray(g)?g:!isNaN(+s[i+1])?[]:{}}if(DK.includes(d))return;e[d]=h,e=e[d]}},vRt=lt(null);vRt.displayName="HookFormControlContext";var yRt=(e,r,a,i=!0)=>{let s={};for(let l in e)Object.defineProperty(s,l,{get:()=>{let c=l;if(r._proxyFormState[c]!==Eu.all)r._proxyFormState[c]=!i||Eu.all;return a&&(a[c]=!0),e[c]}});return s},_Rt=mB?$e:m,bRt=(e)=>{let r=e.constructor&&e.constructor.prototype;return Bn(r)&&r.hasOwnProperty("isPrototypeOf")},PK=(e)=>qi(e)||!EK(e),hye=(e,r)=>r.length===0&&!Array.isArray(e)&&!bRt(e);function Au(e,r,a=new WeakMap){if(e===r)return!0;if(PK(e)||PK(r))return Object.is(e,r);if($8(e)&&$8(r))return Object.is(e.getTime(),r.getTime());let i=Object.keys(e),s=Object.keys(r);if(i.length!==s.length)return!1;if(hye(e,i)||hye(r,s))return Object.is(e,r);if(!i.length&&Array.isArray(e)!==Array.isArray(r))return!1;let l=a.get(e);if(l&&l.has(r))return!0;if(l)l.add(r);else{let c=new WeakSet;c.add(r),a.set(e,c)}for(let c of i){let d=e[c];if(!(c in r))return!1;if(c!=="ref"){let h=r[c];if($8(d)&&$8(h)||(Bn(d)||Array.isArray(d))&&(Bn(h)||Array.isArray(h))?!Au(d,h,a):!Object.is(d,h))return!1}}return!0}function wRt(){let e=_(!1),r=_(void 0),a=P((s,l,c)=>{if(s&&e.current){let d=l();if(!Au(r.current,d))c(d)}e.current=!0},[]),i=P((s,l)=>{if(s)r.current=Sn(l())},[]);return{resyncIfNeeded:a,snapshot:i}}var Hi=(e)=>typeof e==="string",zRt=(e,r,a,i,s)=>{if(Hi(e))return i&&r.watch.add(e),mr(a,e,s);if(Array.isArray(e))return e.map((l)=>(i&&r.watch.add(l),mr(a,l)));return i&&(r.watchAll=!0),a};var cB=(e)=>({isOnSubmit:!e||e===Eu.onSubmit,isOnBlur:e===Eu.onBlur,isOnChange:e===Eu.onChange,isOnAll:e===Eu.all,isOnTouch:e===Eu.onTouched}),CK=(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},lN=(e,r,a,i)=>{for(let s of a||Object.keys(e)){if(s==="_f")continue;let l=a?mr(e,s):e[s];if(l){let{_f:c}=l;if(c){if(c.refs&&c.refs[0]&&r(c.refs[0],s)&&!i)return!0;else if(c.ref&&r(c.ref,c.name)&&!i)return!0;else if(lN(l,r))break}else if(Bn(l)||Array.isArray(l)){if(lN(l,r))break}}}return},gye=(e,r,a)=>{let i=mr(e,a),s=Array.isArray(i)?i:[];return ga(s,Cye,r[a]),ga(e,a,s),e},gf=(e)=>Bn(e)&&!Object.keys(e).length,dB=(e)=>{if(!mB)return!1;let r=e?e.ownerDocument:0;return e instanceof(r&&r.defaultView?r.defaultView.HTMLElement:HTMLElement)},OK=(e)=>e.type==="radio",ZB=(e)=>e instanceof RegExp,hB=(e,r,a,i,s)=>r?{...a[e],types:{...a[e]&&a[e].types?a[e].types:{},[i]:s||!0}}:{},Mye={value:!1,isValid:!1},xye={value:!0,isValid:!0},Iye=(e)=>{if(!Array.isArray(e))return Mye;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 Mye;if(!r.attributes||!("value"in r.attributes))return xye;return xa(r.value)||r.value===""?xye:{value:r.value,isValid:!0}},vye={isValid:!1,value:null},Rye=(e)=>Array.isArray(e)?e.reduce((r,a)=>a&&a.checked&&!a.disabled?{isValid:!0,value:a.value}:r,vye):vye;function yye(e,r,a="validate"){if(Hi(e)||Array.isArray(e)&&e.every(Hi)||LZ(e)&&!e)return{type:a,message:Hi(e)?e:"",ref:r}}var gP=(e)=>Bn(e)&&!ZB(e)?e:{value:e,message:""},_ye=async(e,r,a,i,s,l)=>{let{ref:c,refs:d,required:h,maxLength:g,minLength:x,min:v,max:b,pattern:y,validate:k,name:T,valueAsNumber:U,mount:N}=e._f,j=mr(a,T);if(!N||r.has(T))return{};let G=d?d[0]:c,X=(Se)=>{if(s&&G.reportValidity){let He=LZ(Se)?"":Se||"";if(d)d.forEach((ft)=>ft.setCustomValidity(He));else G.setCustomValidity(He);G.reportValidity()}},J={},ee=OK(c),re=cN(c),oe=ee||re,fe=(U||pB(c))&&xa(c.value)&&xa(j)||dB(c)&&c.value===""||j===""||Array.isArray(j)&&!j.length,be=hB.bind(null,T,i,J),We=(Se,He,ft,Je=Tu.maxLength,xt=Tu.minLength)=>{let Ft=Se?He:ft;J[T]={type:Se?Je:xt,message:Ft,ref:c,...be(Se?Je:xt,Ft)}};if(l?!Array.isArray(j)||!j.length:h&&(!oe&&(fe||qi(j))||LZ(j)&&!j||re&&!Iye(d).isValid||ee&&!Rye(d).isValid)){let{value:Se,message:He}=Hi(h)?{value:!!h,message:h}:gP(h);if(Se){if(J[T]={type:Tu.required,message:He,ref:G,...be(Tu.required,He)},!i)return X(He),J}}if(!fe&&(!qi(v)||!qi(b))){let Se,He,ft=gP(b),Je=gP(v);if(!qi(j)&&!$8(j)&&!isNaN(j)){let xt=c.valueAsNumber||(j?+j:j);if(!qi(ft.value))Se=xt>ft.value;if(!qi(Je.value))He=xt<Je.value}else{let xt=c.valueAsDate||new Date(j),Ft=(bt)=>new Date(new Date().toDateString()+" "+bt),Bt=c.type=="time",ie=c.type=="week";if(Hi(ft.value)&&j)Se=Bt?Ft(j)>Ft(ft.value):ie?j>ft.value:xt>new Date(ft.value);if(Hi(Je.value)&&j)He=Bt?Ft(j)<Ft(Je.value):ie?j<Je.value:xt<new Date(Je.value)}if(Se||He){if(We(!!Se,ft.message,Je.message,Tu.max,Tu.min),!i)return X(J[T].message),J}}if((g||x)&&!fe&&(Hi(j)||l&&Array.isArray(j))){let Se=gP(g),He=gP(x),ft=!qi(Se.value)&&j.length>+Se.value,Je=!qi(He.value)&&j.length<+He.value;if(ft||Je){if(We(ft,Se.message,He.message),!i)return X(J[T].message),J}}if(y&&!fe&&Hi(j)){let{value:Se,message:He}=gP(y);if(ZB(Se)&&!j.match(Se)){if(J[T]={type:Tu.pattern,message:He,ref:c,...be(Tu.pattern,He)},!i)return X(He),J}}if(k){if(Ec(k)){let Se=await k(j,a),He=yye(Se,G);if(He){if(J[T]={...He,...be(Tu.validate,He.message)},!i)return X(He.message),J}}else if(Bn(k)){let Se={};for(let He in k){if(!gf(Se)&&!i)break;let ft=yye(await k[He](j,a),G,He);if(ft){if(Se={...ft,...be(He,ft.message)},X(ft.message),i)J[T]=Se}}if(!gf(Se)){if(J[T]={ref:G,...Se},!i)return J}}}let Ye=J[T];return X(Ye?Ye.message:!0),J},uB=(e)=>Array.isArray(e)?e:[e];var Pye=(e)=>Array.isArray(e)?e.filter(Boolean):[];function SRt(e,r){let a=r.length-1,i=0;while(i<a){if(qi(e)){e=void 0;break}e=e[r[i]],i++}return e}function LRt(e){for(let r in e)if(e.hasOwnProperty(r)&&!xa(e[r]))return!1;return!0}function oi(e,r){if(Hi(r)&&Object.prototype.hasOwnProperty.call(e,r))return delete e[r],e;let a=Array.isArray(r)?r:jL(r)?[r]:MP(r);if(a.some((c)=>DK.includes(String(c))))return e;let i=a.length===1?e:SRt(e,a),s=a.length-1,l=a[s];if(i)delete i[l];if(s!==0&&(Bn(i)&&gf(i)||Array.isArray(i)&&LRt(i)))oi(e,a.slice(0,-1));return e}var kRt=lt(null);kRt.displayName="HookFormContext";var bye=()=>{let e=[];return{get observers(){return e},next:(s)=>{for(let l of e)l.next&&l.next(s)},subscribe:(s)=>(e.push(s),{unsubscribe:()=>{e=e.filter((l)=>l!==s)}}),unsubscribe:()=>{e=[]}}};function Tye(e,r){let a={};for(let i in e)if(e.hasOwnProperty(i)){let s=e[i],l=r[i];if(s&&Bn(s)&&l){let c=Tye(s,l);if(Bn(c))a[i]=c}else if(e[i])a[i]=l}return a}var wye=(e,r)=>e!==null&&EK(e)&&Object.prototype.hasOwnProperty.call(e,r),CRt=(e,r)=>{if(!r)return!1;let a=e;for(let i of jL(r)?[r]:MP(r)){if(!wye(a,i))return wye(e,r);a=a[i]}return!0},Aye=(e)=>e.type==="select-multiple",IRt=(e)=>OK(e)||cN(e),IK=(e)=>dB(e)&&e.isConnected;function zye(e){return Array.isArray(e)||Bn(e)}function Eye(e,r,a="",i=[]){for(let s in e){let l=a?`${a}.${s}`:s,c=e[s];if(zye(c)&&zye(mr(r,l)))Eye(c,r,l,i);else i.push(l)}return i}var RRt=(e)=>{for(let r in e)if(Ec(e[r]))return!0;return!1};function Dye(e){return Array.isArray(e)||Bn(e)&&!RRt(e)}function Oye(e){return!!(e&&("_f"in e))}function Nye(e){return Array.isArray(e)?!e.some((r)=>!xa(r)):!Object.keys(e).length}function TK(e,r){if(Array.isArray(e))e[r]=void 0;else delete e[r]}function AK(e,r={},a){for(let i in e){let s=e[i],l=a&&a[i];if(Dye(s)&&(!Array.isArray(s)||!Oye(l))){if(r[i]=Array.isArray(s)?[]:{},AK(s,r[i],l),Nye(r[i]))TK(r,i)}else if(!xa(s))r[i]=!0}return r}function FL(e,r,a,i){if(!a)a=AK(r,{},i);for(let s in e){let l=e[s],c=i&&i[s];if(Dye(l)&&(!Array.isArray(l)||!Oye(c))){if(xa(r)||PK(a[s]))a[s]=AK(l,Array.isArray(l)?[]:{},c);else FL(l,qi(r)?{}:r[s],a[s],c);if(Nye(a[s]))TK(a,s)}else if(Au(l,r[s]))TK(a,s);else a[s]=!0}return a}var PRt=(e,r)=>{let a=r.split("."),i=[],s=a[0];for(let l=1;l<a.length;s+="."+a[l++])if(!isNaN(+a[l])&&e.has(s))i.push(`${s}.${a[l]}`);return i},Fye=(e,{valueAsNumber:r,valueAsDate:a,setValueAs:i})=>xa(e)?e:r?e===""?NaN:e?+e:e:a&&Hi(e)?new Date(e):i?i(e):e;function Sye(e){let r=e.ref;if(pB(r))return r.files;if(OK(r))return Rye(e.refs).value;if(Aye(r))return[...r.selectedOptions].map(({value:a})=>a);if(cN(r))return Iye(e.refs).value;return Fye(r.value,e)}var TRt=(e,r,a,i)=>{let s={};for(let l of e){let c=mr(r,l);c&&ga(s,l,c._f)}return{criteriaMode:a,names:[...e],fields:s,shouldUseNativeValidation:i}},sN=(e)=>xa(e)?e:ZB(e)?e.source:Bn(e)?ZB(e.value)?e.value.source:e.value:e,Lye="AsyncFunction",ARt=(e)=>{if(!e||!e.validate)return!1;if(Ec(e.validate))return e.validate.constructor.name===Lye;if(Bn(e.validate)){for(let r in e.validate)if(e.validate[r].constructor.name===Lye)return!0}return!1},ERt=(e)=>e.mount&&(e.required||!xa(e.required)&&e.required!==!1||!xa(e.min)||!xa(e.max)||!xa(e.maxLength)||!xa(e.minLength)||e.pattern||e.validate);function kye(e,r,a){let i=mr(e,a);if(i||jL(a))return{error:i,name:a};let s=a.split(".");while(s.length){let l=s.join("."),c=mr(r,l),d=mr(e,l);if(c&&!Array.isArray(c)&&a!==l)return{name:a};if(d&&d.type)return{name:l,error:d};if(d&&d.root&&d.root.type)return{name:`${l}.root`,error:d.root};s.pop()}return{name:a}}var DRt=(e,r,a,i)=>{a(e);let s=Object.keys(e).filter((l)=>l!=="name");return!s.length||i&&s.length>=Object.keys(r).length||s.find((l)=>r[l]===(!i||Eu.all))},ORt=(e,r,a)=>!e||!r||e===r||uB(e).some((i)=>i&&(a?i===r||i.startsWith(r+"."):i.startsWith(r)||r.startsWith(i))),NRt=(e,r,a,i,s)=>{if(s.isOnAll)return!1;else if(!a&&s.isOnTouch)return!(r||e);else if(a?i.isOnBlur:s.isOnBlur)return!e;else if(a?i.isOnChange:s.isOnChange)return e;return!0},FRt=(e,r)=>{let a=mr(e,r);!Pye(a).length&&!(a===null||a===void 0?void 0:a.root)&&oi(e,r)},jRt={mode:Eu.onSubmit,reValidateMode:Eu.onChange,shouldFocusError:!0},RK="form",BRt=(e,r)=>{for(let a in e)if(!(a in r))delete e[a];Object.assign(e,r)},jye={submitCount:0,isDirty:!1,isReady:!1,isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},validatingFields:{}};function URt(e={}){let r={...jRt,...e},a={...Sn(jye),isLoading:Ec(r.defaultValues),errors:r.errors||{},disabled:r.disabled||!1},i={},s=Bn(r.defaultValues)||Bn(r.values)?Sn(r.defaultValues||r.values)||{}:{},l=r.shouldUnregister?{}:Sn(s),c={action:!1,actionArrayLengths:new Map,mount:!1,watch:!1,keepIsValid:!1},d={mount:new Set,disabled:new Set,unMount:new Set,array:new Set,watch:new Set,registerName:new Set},h={},g={},x=0,v=cB(r.mode),b=cB(r.reValidateMode),y={isDirty:!1,dirtyFields:!1,validatingFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1},k={...y},T={...k},U={array:bye(),state:bye()},N=0,j=r.criteriaMode===Eu.all,G=(Ee,Oe)=>(je)=>{clearTimeout(g[Ee]),g[Ee]=setTimeout(Oe,je)},X=async(Ee)=>{if(c.keepIsValid)return;if(!r.disabled&&(k.isValid||T.isValid||Ee)){let Oe=++N,je;if(r.resolver)je=gf((await ft()).errors),Oe===N&&J();else je=await Ft({fields:i,onlyCheckValid:!0,eventType:hP.VALID});if(Oe===N&&je!==a.isValid)U.state.next({isValid:je})}},J=(Ee,Oe)=>{if(!r.disabled&&(k.isValidating||k.validatingFields||T.isValidating||T.validatingFields))(Ee||d.mount).forEach((je)=>{if(je)Oe?ga(a.validatingFields,je,Oe):oi(a.validatingFields,je)}),U.state.next({validatingFields:a.validatingFields,isValidating:!gf(a.validatingFields)})},ee=()=>{a.dirtyFields=FL(s,l,void 0,i)},re=(Ee,Oe=[],je,Zt,St=!0,jt=!0)=>{if(Zt&&je&&!r.disabled){c.action=!0;let nr=mr(i,Ee);if(!c.actionArrayLengths.has(Ee))c.actionArrayLengths.set(Ee,Array.isArray(nr)?nr.length:0);if(jt&&Array.isArray(nr)){let qt=je(nr,Zt.argA,Zt.argB);St&&ga(i,Ee,qt)}let Dt=mr(a.errors,Ee);if(jt&&Array.isArray(Dt)){let qt=Dt.root,Nr=je(Dt,Zt.argA,Zt.argB)||Dt;if(qt)Nr.root=qt;St&&ga(a.errors,Ee,Nr),FRt(a.errors,Ee)}let zt=mr(a.touchedFields,Ee);if((k.touchedFields||T.touchedFields)&&jt&&Array.isArray(zt)){let qt=je(zt,Zt.argA,Zt.argB);St&&ga(a.touchedFields,Ee,qt)}if(k.dirtyFields||T.dirtyFields)ee();U.state.next({name:Ee,isDirty:ie(Ee,Oe),dirtyFields:a.dirtyFields,errors:a.errors,isValid:a.isValid})}else ga(l,Ee,Oe)},oe=(Ee,Oe)=>{ga(a.errors,Ee,Oe),a.errors={...a.errors},U.state.next({errors:a.errors})},fe=(Ee)=>{a.errors=Ee,U.state.next({errors:a.errors,isValid:!1})},be=(Ee)=>{let Oe=jL(Ee)?[Ee]:MP(Ee),je=l,Zt=s;for(let St=0;St<Oe.length-1;St++){let jt=Oe[St];if(je=qi(je)?je:je[jt],Zt=qi(Zt)?Zt:Zt[jt],je===null&&Zt!==null)return!0}return!1},We=(Ee)=>{if(!c.actionArrayLengths.size)return!1;let Oe=jL(Ee)?[Ee]:MP(Ee),je=l,Zt="",St=-1,jt=0;for(let nr=0;nr<Oe.length;nr++){if(qi(je))return!1;let Dt=Oe[nr];if(Zt=Zt?`${Zt}.${Dt}`:Dt,Array.isArray(je)&&+Dt>=je.length)return St===-1?!1:nr===St?+Dt<jt:!0;if(c.actionArrayLengths.has(Zt))St=nr+1,jt=c.actionArrayLengths.get(Zt);je=je[Dt]}return!1},Ye=(Ee,Oe,je,Zt)=>{let St=mr(i,Ee);if(St){if(be(Ee)||We(Ee))return;let jt=xa(mr(l,Ee)),nr=mr(l,Ee,xa(je)?mr(s,Ee):je);if(xa(nr)||Zt&&Zt.defaultChecked||Oe?ga(l,Ee,Oe?nr:Sye(St._f)):Fe(Ee,nr),c.mount&&!c.action){if(X(),jt&&a.isDirty&&(k.isDirty||T.isDirty)){if(!ie())a.isDirty=!1,U.state.next({...a})}if(e.shouldUnregister&&jt&&!xa(mr(l,Ee))&&CK(Ee,d))c.watch=!0}}},Se=(Ee,Oe,je,Zt,St)=>{let jt=!1,nr=!1,Dt={name:Ee};if(!r.disabled||Zt===!0){if(!je||Zt){let zt=Au(mr(s,Ee),Oe);if(k.isDirty||T.isDirty)nr=a.isDirty,a.isDirty=Dt.isDirty=!zt||ie(),jt=nr!==Dt.isDirty;if(nr=!!mr(a.dirtyFields,Ee),zt!==a.isDirty)BRt(a.dirtyFields,FL(s,l,void 0,i));else zt?oi(a.dirtyFields,Ee):ga(a.dirtyFields,Ee,!0);Dt.dirtyFields=a.dirtyFields,jt=jt||(k.dirtyFields||T.dirtyFields)&&nr!==!zt}if(je){let zt=mr(a.touchedFields,Ee);if(!zt)ga(a.touchedFields,Ee,je),Dt.touchedFields=a.touchedFields,jt=jt||(k.touchedFields||T.touchedFields)&&zt!==je}jt&&St&&U.state.next(Dt)}return jt?Dt:{}},He=(Ee,Oe,je,Zt)=>{let St=mr(a.errors,Ee),jt=(k.isValid||T.isValid)&&LZ(Oe)&&a.isValid!==Oe;if(r.delayError&&je)h[Ee]=G(Ee,()=>oe(Ee,je)),h[Ee](r.delayError);else clearTimeout(g[Ee]),delete h[Ee],je?ga(a.errors,Ee,je):oi(a.errors,Ee),a.errors={...a.errors};if((je?!Au(St,je):St)||!gf(Zt)||jt){let nr={...Zt,...jt&&LZ(Oe)?{isValid:Oe}:{},errors:a.errors,name:Ee};U.state.next(nr)}},ft=async(Ee)=>(J(Ee,!0),await r.resolver(l,r.context,TRt(Ee||d.mount,i,r.criteriaMode,r.shouldUseNativeValidation))),Je=async(Ee)=>{let{errors:Oe}=await ft(Ee);if(J(Ee),Ee){for(let je of Ee){let Zt=mr(Oe,je);Zt?d.array.has(je)&&Bn(Zt)&&!Object.keys(Zt).some((St)=>!Number.isNaN(Number(St)))?gye(a.errors,{[je]:Zt},je):ga(a.errors,je,Zt):oi(a.errors,je)}a.errors={...a.errors}}else a.errors=Oe;return Oe},xt=async({name:Ee,eventType:Oe})=>{if(e.validate){let je=await e.validate({formValues:l,formState:a,name:Ee,eventType:Oe});if(Bn(je))for(let Zt in je){let St=je[Zt];if(St)co(`${RK}.${Zt}`,{message:Hi(St.message)?St.message:"",type:St.type||Tu.validate})}else if(Hi(je)||!je)co(RK,{message:je||"",type:Tu.validate});else mo(RK);return je}return!0},Ft=async({fields:Ee,onlyCheckValid:Oe,name:je,eventType:Zt,context:St={valid:!0,runRootValidation:!1}})=>{if(e.validate){if(St.runRootValidation=!0,!await xt({name:je,eventType:Zt})){if(St.valid=!1,Oe)return St.valid}}for(let jt in Ee){let nr=Ee[jt];if(nr){let{_f:Dt,...zt}=nr;if(Dt){let qt=d.array.has(Dt.name),Nr=nr._f&&ARt(nr._f),Br=k.validatingFields||k.isValidating||T.validatingFields||T.isValidating;if(Nr&&Br)J([Dt.name],!0);let da=await _ye(nr,d.disabled,l,j,r.shouldUseNativeValidation&&!Oe,qt);if(Nr&&Br)J([Dt.name]);if(da[Dt.name]){if(St.valid=!1,Oe)break}if(!Oe&&(mr(da,Dt.name)?qt?gye(a.errors,da,Dt.name):ga(a.errors,Dt.name,da[Dt.name]):oi(a.errors,Dt.name)),e.shouldUseNativeValidation&&da[Dt.name])break}!gf(zt)&&await Ft({context:St,onlyCheckValid:Oe,fields:zt,name:jt,eventType:Zt})}}return St.valid},Bt=()=>{for(let Ee of d.unMount){let Oe=mr(i,Ee);Oe&&(Oe._f.refs?Oe._f.refs.every((je)=>!IK(je)):!IK(Oe._f.ref))&&po(Ee)}d.unMount=new Set},ie=(Ee,Oe)=>(Ee&&Oe&&ga(l,Ee,Oe),!Au(c.mount?l:s,s)),bt=(Ee,Oe,je)=>zRt(Ee,d,{...c.mount?l:xa(Oe)||Hi(Ee)?s:Oe},je,Oe),Wt=(Ee)=>Pye(mr(c.mount?l:s,Ee,r.shouldUnregister?mr(s,Ee,[]):[])),Fe=(Ee,Oe,je={},Zt=!1,St=!1,jt=!1)=>{let nr=mr(i,Ee),Dt=Oe;if(nr){let zt=nr._f;if(zt){if(!zt.disabled&&ga(l,Ee,Fye(Oe,zt)),Dt=dB(zt.ref)&&qi(Oe)?"":Oe,Aye(zt.ref))[...zt.ref.options].forEach((qt)=>qt.selected=Dt.includes(qt.value));else if(zt.refs)if(cN(zt.ref))zt.refs.forEach((qt)=>{if(!qt.defaultChecked||!qt.disabled)if(Array.isArray(Dt))qt.checked=!!Dt.find((Nr)=>Nr===qt.value);else qt.checked=Dt===qt.value||!!Dt});else zt.refs.forEach((qt)=>qt.checked=qt.value===Dt);else if(pB(zt.ref))zt.ref.value="";else if(zt.ref.value=Dt,!zt.ref.type&&!St&&!jt)U.state.next({name:Ee,values:Zt?l:Sn(l)})}}(je.shouldDirty||je.shouldTouch)&&Se(Ee,Dt,je.shouldTouch,je.shouldDirty,!St),je.shouldValidate&&Ir(Ee,{delayError:je.delayError})},ir=(Ee,Oe,je,Zt=!1,St=!1,jt=!1)=>{if(d.array.has(Ee))U.array.next({name:Ee,values:Zt?l:Sn(l)});for(let nr in Oe){if(!Oe.hasOwnProperty(nr))return;let Dt=Oe[nr],zt=Ee+"."+nr,qt=mr(i,zt);(d.array.has(Ee)||Bn(Dt)||qt&&!qt._f)&&!$8(Dt)?ir(zt,Dt,je,Zt,St,jt):Fe(zt,Dt,je,Zt,St,jt)}},fr=(Ee,Oe,je,Zt,St=!1)=>{let jt=mr(i,Ee),nr=d.array.has(Ee),Dt=Zt?Oe:Sn(Oe),zt=mr(l,Ee),qt=Au(zt,Dt);if(!qt)ga(l,Ee,Dt);if(nr){if(U.array.next({name:Ee,values:Zt?l:Sn(l)}),(k.isDirty||k.dirtyFields||T.isDirty||T.dirtyFields)&&je.shouldDirty){if(ee(),!St)U.state.next({name:Ee,dirtyFields:a.dirtyFields,isDirty:ie(Ee,Dt)})}}else{let Nr=Array.isArray(Dt)&&!Dt.length||gf(Dt),Br=!qt&&!St;if(!jt||jt._f||qi(Dt)||Nr)Fe(Ee,Dt,je,Zt,St,Br);else ir(Ee,Dt,je,Zt,St,Br)}if(!qt&&!St){let Nr=CK(Ee,d),Br=Zt?l:Sn(l);if(U.state.next({...Nr&&a,name:c.mount||Nr?Ee:void 0,values:Br}),!nr)for(let da of PRt(d.array,Ee))U.state.next({name:da,values:Br})}},Jt=(Ee,Oe,je={})=>fr(Ee,Oe,je,!1),Fr=(Ee,Oe={})=>{let je=Ec(Ee)?Ee(l):Ee;if(!Au(l,je)){l={...l,...je};for(let Zt of d.mount)if(CRt(je,Zt))fr(Zt,mr(je,Zt),Oe,!0,!0);if(U.state.next({...a,name:void 0,type:void 0,...x?{values:l}:{}}),Oe.shouldValidate)X()}},Gt=async(Ee)=>{c.mount=!0;let Oe=Ee.target,je=Oe.name,Zt=!0,St=mr(i,je),jt=(nr)=>{Zt=Number.isNaN(nr)||$8(nr)&&isNaN(nr.getTime())||Au(nr,mr(l,je,nr))};if(St){let nr,Dt,zt=Oe.type?Sye(St._f):hRt(Ee),qt=Ee.type===hP.BLUR||Ee.type===hP.FOCUS_OUT,Nr=!ERt(St._f)&&!e.validate&&!r.resolver&&!mr(a.errors,je)&&!St._f.deps,Br=Nr||NRt(qt,mr(a.touchedFields,je),a.isSubmitted,b,v),da=CK(je,d,qt);if(ga(l,je,zt),qt){if(!Oe||!Oe.readOnly){St._f.onBlur&&St._f.onBlur(Ee);let ya=h[je];ya&&ya(0)}}else if(St._f.onChange)St._f.onChange(Ee);let ar=Se(je,zt,qt),Ko=!gf(ar)||da;if(!qt&&U.state.next({name:je,type:Ee.type,...x?{values:Sn(l)}:{}}),Br){if((!Nr||!a.isValid)&&(k.isValid||T.isValid)){if(r.mode==="onBlur"){if(qt)X()}else if(!qt)X()}return Ko&&U.state.next({name:je,...da?{}:ar})}if(!r.resolver&&e.validate)await xt({name:je,eventType:Ee.type});if(!qt&&da&&U.state.next({...a}),r.resolver){let{errors:ya}=await ft([je]);if(J([je]),jt(zt),!Zt){!gf(ar)&&U.state.next(ar);return}let ai=kye(a.errors,i,je),xf=kye(ya,i,ai.name||je);nr=xf.error,je=xf.name,Dt=gf(ya)}else if(J([je],!0),nr=(await _ye(St,d.disabled,l,j,r.shouldUseNativeValidation))[je],J([je]),jt(zt),Zt){if(nr)Dt=!1;else if(k.isValid||T.isValid)Dt=await Ft({fields:i,onlyCheckValid:!0,name:je,eventType:Ee.type})}if(Zt)St._f.deps&&(!Array.isArray(St._f.deps)||St._f.deps.length>0)&&Ir(St._f.deps),He(je,Dt,nr,ar)}},Xt=(Ee,Oe)=>{if(mr(a.errors,Oe)&&Ee.focus)return Ee.focus(),1;return},Ir=async(Ee,Oe={})=>{let je,Zt,St=uB(Ee);if(r.resolver){let jt=await Je(xa(Ee)?Ee:St);je=gf(jt),Zt=Ee?!St.some((nr)=>mr(jt,nr)):je}else if(Ee)Zt=(await Promise.all(St.map(async(jt)=>{let nr=mr(i,jt);return await Ft({fields:nr&&nr._f?{[jt]:nr}:nr,eventType:hP.TRIGGER})}))).every(Boolean),!(!Zt&&!a.isValid)&&X();else Zt=je=await Ft({fields:i,name:Ee,eventType:hP.TRIGGER});if(Oe.delayError&&r.delayError&&Hi(Ee)){let jt=mr(a.errors,Ee);if(jt)oi(a.errors,Ee),h[Ee]=G(Ee,()=>oe(Ee,jt)),h[Ee](r.delayError);else clearTimeout(g[Ee]),delete h[Ee]}return U.state.next({...!Hi(Ee)||(k.isValid||T.isValid)&&je!==a.isValid?{}:{name:Ee},...r.resolver||!Ee?{isValid:je}:{},errors:a.errors}),Oe.shouldFocus&&!Zt&&lN(i,Xt,Ee?St:d.mount),Zt},yr=(Ee,Oe)=>{let je={...c.mount?l:s};if(Oe)je=Tye(Oe.dirtyFields?a.dirtyFields:a.touchedFields,je);return xa(Ee)?je:Hi(Ee)?mr(je,Ee):Ee.map((Zt)=>mr(je,Zt))},Tr=(Ee)=>xa(Ee)?{...a.errors}:Hi(Ee)?mr(a.errors,Ee):Ee.map((Oe)=>mr(a.errors,Oe)),pr=(Ee,Oe)=>{let je=Oe||a,Zt=mr(je.errors,Ee);return{invalid:!!Zt,isDirty:!!mr(je.dirtyFields,Ee),error:Zt,isValidating:!!mr(a.validatingFields,Ee),isTouched:!!mr(je.touchedFields,Ee)}},mo=(Ee)=>{let Oe=Ee?uB(Ee):void 0;if(Oe===null||Oe===void 0||Oe.forEach((je)=>oi(a.errors,je)),Oe)Oe.forEach((je)=>{U.state.next({name:je,errors:a.errors})});else a.errors={},U.state.next({errors:a.errors})},co=(Ee,Oe,je)=>{let Zt=(mr(i,Ee,{_f:{}})._f||{}).ref,St=mr(a.errors,Ee)||{},{ref:jt,message:nr,type:Dt,...zt}=St;ga(a.errors,Ee,{...zt,...Oe,ref:Zt}),U.state.next({name:Ee,errors:a.errors,isValid:!1}),je&&je.shouldFocus&&Zt&&Zt.focus&&Zt.focus()},va=(Ee,Oe)=>{if(Ec(Ee)){x++;let{unsubscribe:je}=U.state.subscribe({next:(St)=>("values"in St)&&Ee(St.values||bt(void 0,Oe),St)}),Zt=!1;return{unsubscribe:()=>{if(Zt)return;Zt=!0,x--,je()}}}return bt(Ee,Oe,!0)},sr=(Ee)=>{var Oe;let je=!!((Oe=Ee.formState)===null||Oe===void 0?void 0:Oe.values);if(je)x++;let{unsubscribe:Zt}=U.state.subscribe({next:(jt)=>{if(ORt(Ee.name,jt.name,Ee.exact)&&DRt(jt,Ee.formState||k,Ur,Ee.reRenderRoot)){let nr={...l};Ee.callback({values:nr,...a,...jt,defaultValues:s})}}});if(!je)return Zt;let St=!1;return()=>{if(St)return;St=!0,x--,Zt()}},ho=(Ee)=>(c.mount=!0,T={...T,...Ee.formState},sr({...Ee,formState:{...y,...Ee.formState}})),po=(Ee,Oe={})=>{for(let je of Ee?uB(Ee):d.mount){if(d.mount.delete(je),d.array.delete(je),!Oe.keepValue)oi(i,je),oi(l,je);!Oe.keepError&&oi(a.errors,je),!Oe.keepDirty&&oi(a.dirtyFields,je),!Oe.keepTouched&&oi(a.touchedFields,je),!Oe.keepIsValidating&&oi(a.validatingFields,je),!r.shouldUnregister&&!Oe.keepDefaultValue&&oi(s,je)}x&&U.state.next({values:Sn(l)}),U.state.next({...a,...Oe.keepDirty?{}:{isDirty:ie()}}),!Oe.keepIsValid&&X()},jo=({disabled:Ee,name:Oe})=>{if(LZ(Ee)&&c.mount||!!Ee||d.disabled.has(Oe)){let St=d.disabled.has(Oe)!==!!Ee;Ee?d.disabled.add(Oe):d.disabled.delete(Oe),St&&c.mount&&!c.action&&X()}},hn=(Ee,Oe={})=>{let je=mr(i,Ee),Zt=LZ(Oe.disabled)||LZ(r.disabled),St=!d.registerName.has(Ee)&&je&&je._f&&!je._f.mount;if(ga(i,Ee,{...je||{},_f:{...je&&je._f?je._f:{ref:{name:Ee}},name:Ee,mount:!0,...Oe}}),d.mount.add(Ee),je&&!St)jo({disabled:LZ(Oe.disabled)?Oe.disabled:r.disabled,name:Ee});else Ye(Ee,!0,Oe.value);return{...Zt?{disabled:Oe.disabled||r.disabled}:{},...r.progressive?{required:!!Oe.required,min:sN(Oe.min),max:sN(Oe.max),minLength:sN(Oe.minLength),maxLength:sN(Oe.maxLength),pattern:sN(Oe.pattern)}:{},name:Ee,onChange:Gt,onBlur:Gt,ref:(jt)=>{if(jt){d.registerName.add(Ee),hn(Ee,Oe),d.registerName.delete(Ee),je=mr(i,Ee);let nr=xa(jt.value)?jt.querySelectorAll?jt.querySelectorAll("input,select,textarea")[0]||jt:jt:jt,Dt=IRt(nr),zt=je._f.refs||[];if(Dt?zt.find((Nr)=>Nr===nr):nr===je._f.ref)return;let qt={...je._f};if(Dt)qt.refs=[...zt.filter(IK),nr,...Array.isArray(mr(s,Ee))?[{}]:[]],qt.ref={type:nr.type,name:Ee};else qt.ref=nr,delete qt.refs;ga(i,Ee,{_f:qt}),Ye(Ee,!1,void 0,nr)}else{if(je=mr(i,Ee,{}),je._f)je._f.mount=!1;(r.shouldUnregister||Oe.shouldUnregister)&&!(gRt(d.array,Ee)&&c.action)&&d.unMount.add(Ee)}}}},Wo=()=>r.shouldFocusError&&!r.shouldUseNativeValidation&&lN(i,Xt,d.mount),Yn=(Ee)=>{if(LZ(Ee))U.state.next({disabled:Ee}),lN(i,(Oe,je)=>{let Zt=mr(i,je);if(Zt){if(Oe.disabled=Zt._f.disabled||Ee,Array.isArray(Zt._f.refs))Zt._f.refs.forEach((St)=>{St.disabled=Zt._f.disabled||Ee})}},0,!1)},gn=(Ee,Oe)=>async(je)=>{let Zt=void 0,St=void 0;if(je)je.preventDefault&&je.preventDefault(),je.persist&&je.persist();let jt=Sn(l);if(U.state.next({isSubmitting:!0}),r.resolver){let{errors:nr,values:Dt}=await ft();J(),a.errors=nr,jt=Sn(Dt)}else await Ft({fields:i,eventType:hP.SUBMIT});if(d.disabled.size)for(let nr of d.disabled)oi(jt,nr);if(oi(a.errors,Cye),gf(a.errors)){U.state.next({errors:{}});try{Zt=await Ee(jt,je)}catch(nr){St=nr}}else{if(Oe)await Oe({...a.errors},je);Wo(),setTimeout(Wo)}if(U.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:gf(a.errors)&&!St,submitCount:a.submitCount+1,errors:a.errors}),St)throw St;return Zt},Vi=(Ee,Oe={})=>{if(mr(i,Ee)){if(xa(Oe.defaultValue))Jt(Ee,Sn(mr(s,Ee)));else Jt(Ee,Oe.defaultValue),ga(s,Ee,Sn(Oe.defaultValue));if(!Oe.keepTouched)oi(a.touchedFields,Ee);if(!Oe.keepDirty)oi(a.dirtyFields,Ee),a.isDirty=Oe.defaultValue?ie(Ee,Sn(mr(s,Ee))):ie();if(!Oe.keepError)oi(a.errors,Ee),k.isValid&&X();U.state.next({...a})}},Ge=(Ee,Oe={})=>{let je=Ee?Sn(Ee):s,Zt=Sn(je),St=gf(Ee),jt=Zt,nr=i;if(!Oe.keepDefaultValues)s=je;if(!Oe.keepValues){if(Oe.keepDirtyValues){let Dt=new Set([...d.mount,...Eye(FL(s,l,void 0,nr),a.dirtyFields)]);for(let zt of Dt){let qt=mr(a.dirtyFields,zt),Nr=mr(l,zt),Br=mr(jt,zt);if(qt&&!xa(Nr))ga(jt,zt,Nr);else if(!qt&&!xa(Br))Jt(zt,Br)}}else{if(mB&&xa(Ee))for(let Dt of d.mount){let zt=mr(i,Dt);if(zt&&zt._f){let qt=Array.isArray(zt._f.refs)?zt._f.refs[0]:zt._f.ref;if(dB(qt)){let Nr=qt.closest("form");if(Nr){Nr.reset();break}}}}if(Oe.keepFieldsRef)for(let Dt of d.mount)Jt(Dt,mr(jt,Dt));else i={}}if(r.shouldUnregister){if(l=Oe.keepDefaultValues?Sn(s):{},Oe.keepFieldsRef)for(let Dt of d.mount)ga(l,Dt,mr(jt,Dt))}else l=Sn(jt);U.array.next({values:{...jt}}),U.state.next({name:void 0,type:void 0,values:{...jt}})}if(d={mount:Oe.keepDirtyValues?d.mount:new Set,unMount:new Set,array:new Set,registerName:new Set,disabled:new Set,watch:new Set,watchAll:!1,focus:""},c.mount=!k.isValid||!!Oe.keepIsValid||!!Oe.keepDirtyValues||!r.shouldUnregister&&!gf(jt),c.watch=!!r.shouldUnregister,c.keepIsValid=!!Oe.keepIsValid,c.action=!1,c.actionArrayLengths.clear(),!Oe.keepErrors)a.errors={};U.state.next({submitCount:Oe.keepSubmitCount?a.submitCount:0,isDirty:St?!1:Oe.keepDirty?a.isDirty:Oe.keepValues?ie():!!(Oe.keepDefaultValues&&!Au(Ee,s)),isSubmitted:Oe.keepIsSubmitted?a.isSubmitted:!1,dirtyFields:St?{}:Oe.keepDirtyValues?Oe.keepDefaultValues&&l?FL(s,l,void 0,nr):a.dirtyFields:Oe.keepDefaultValues&&Ee?FL(s,Ee,void 0,nr):Oe.keepDirty?a.dirtyFields:{},touchedFields:Oe.keepTouched?a.touchedFields:{},errors:Oe.keepErrors?a.errors:{},isSubmitSuccessful:Oe.keepIsSubmitSuccessful?a.isSubmitSuccessful:!1,isSubmitting:!1,defaultValues:s})},Rt=(Ee,Oe)=>Ge(Ec(Ee)?Ee(l):Ee,{...r.resetOptions,...Oe}),hr=(Ee,Oe={})=>{let je=mr(i,Ee),Zt=je&&je._f;if(Zt){let St=Zt.refs?Zt.refs[0]:Zt.ref;if(St.focus)setTimeout(()=>{St.focus(),Oe.shouldSelect&&Ec(St.select)&&St.select()})}},Ur=(Ee)=>{let{name:Oe,type:je,values:Zt,...St}=Ee;a={...a,...St}};U.state.subscribe({next:Ur});let Va={control:{register:hn,unregister:po,getFieldState:pr,handleSubmit:gn,setError:co,_subscribe:sr,_runSchema:ft,_updateIsValidating:J,_focusError:Wo,_getWatch:bt,_getDirty:ie,_setValid:X,_setFieldArray:re,_setDisabledField:jo,_setErrors:fe,_getFieldArray:Wt,_reset:Ge,_resetDefaultValues:()=>Ec(r.defaultValues)&&r.defaultValues().then((Ee)=>{Rt(Ee,r.resetOptions),U.state.next({isLoading:!1})}),_removeUnmounted:Bt,_disableForm:Yn,_subjects:U,_proxyFormState:k,get _fields(){return i},get _formValues(){return l},get _state(){return c},set _state(Ee){c=Ee},get _defaultValues(){return s},get _names(){return d},set _names(Ee){d=Ee},get _formState(){return a},get _options(){return r},set _options(Ee){r={...r,...Ee},v=cB(r.mode),b=cB(r.reValidateMode)}},subscribe:ho,trigger:Ir,register:hn,handleSubmit:gn,watch:va,setValue:Jt,setValues:Fr,getValues:yr,getErrors:Tr,reset:Rt,resetField:Vi,resetDefaultValues:(Ee,Oe={})=>{if(s=Sn(Ee),!Oe.keepDirty){let je=FL(s,l,void 0,i);a.dirtyFields=je,a.isDirty=!gf(je)}if(!Oe.keepIsValid)X();U.state.next({...a,defaultValues:s})},clearErrors:mo,unregister:po,setError:co,setFocus:hr,getFieldState:pr};return{...Va,formControl:Va}}function Zl(e={}){let r=_(void 0),a=_(void 0),i=_(e.formControl),[s,l]=u(()=>({...Sn(jye),isLoading:Ec(e.defaultValues),errors:e.errors||{},disabled:e.disabled||!1,defaultValues:Ec(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:s},e.defaultValues&&!Ec(e.defaultValues))e.formControl.reset(e.defaultValues,e.resetOptions)}else{let{formControl:g,...x}=URt(e);r.current={...x,formState:s}}let c=r.current.control;c._options=e;let{resyncIfNeeded:d,snapshot:h}=wRt();return _Rt(()=>{let g=()=>({...c._formState,defaultValues:c._defaultValues});d(!0,g,l);let x=c._subscribe({formState:c._proxyFormState,callback:()=>l({...c._formState,defaultValues:c._defaultValues}),reRenderRoot:!0});return l((v)=>({...v,isReady:!0})),c._formState.isReady=!0,()=>{x(),h(!0,g)}},[c,d,h]),m(()=>c._disableForm(e.disabled),[c,e.disabled]),m(()=>{if(e.mode)c._options.mode=e.mode;if(e.reValidateMode)c._options.reValidateMode=e.reValidateMode},[c,e.mode,e.reValidateMode]),m(()=>{if(e.errors)c._setErrors(e.errors),c._focusError()},[c,e.errors]),m(()=>{e.shouldUnregister&&c._subjects.state.next({values:c._getWatch()})},[c,e.shouldUnregister]),m(()=>{if(c._proxyFormState.isDirty){let g=c._getDirty();if(g!==s.isDirty)c._subjects.state.next({isDirty:g})}},[c,s.isDirty]),m(()=>{var g;if(e.values&&!Au(e.values,a.current)){if(c._reset(e.values,{keepFieldsRef:!0,...c._options.resetOptions}),!((g=c._options.resetOptions)===null||g===void 0?void 0:g.keepIsValid))c._setValid();a.current=e.values,l((x)=>({...x}))}else c._resetDefaultValues()},[c,e.values]),m(()=>{if(!c._state.mount)c._setValid(),c._state.mount=!0;if(c._state.watch)c._state.watch=!1,c._subjects.state.next({...c._formState});c._removeUnmounted()}),r.current.formState=D(()=>yRt(s,c),[c,s]),r.current}var Bye=(e,r,a)=>{if(e&&"reportValidity"in e){let i=mr(a,r);e.setCustomValidity(i&&i.message||""),e.reportValidity()}},gB=(e,r)=>{for(let a in r.fields){let i=r.fields[a];i&&i.ref&&"reportValidity"in i.ref?Bye(i.ref,a,e):i&&i.refs&&i.refs.forEach((s)=>Bye(s,a,e))}},NK=(e,r)=>{r.shouldUseNativeValidation&&gB(e,r);let a={};for(let i in e){let s=mr(r.fields,i),l=Object.assign(e[i]||{},{ref:s&&s.refs?s.refs[0]:s&&s.ref});if(YRt(r.names||Object.keys(e),i)){let c=Object.assign({},mr(a,i));ga(c,"root",l),ga(a,i,c)}else ga(a,i,l)}return a},YRt=(e,r)=>{let a=Uye(r).replace(/[.*+?^${}()|\\]/g,"\\$&");return e.some((i)=>Uye(i).match(`^${a}\\.\\d+`))};function Uye(e){return e.replace(/\[(\d+)]/g,".$1").replace(/[[\]]/g,"")}function FK(){return FK=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},FK.apply(null,arguments)}function Yye(e,r){try{var a=e()}catch(i){return r(i)}return a&&a.then?a.then(void 0,r):a}function qRt(e,r){for(var a=Object.create(null);e.length;){var i=e[0],{code:s,message:l}=i,c=i.path.join(".");if(!a[c])if("unionErrors"in i){var d,h,g=i.unionErrors.reduce(function(b,y){return y.errors.length<b.errors.length?y:b}).errors[0];a[c]={message:(d=g==null?void 0:g.message)!=null?d:l,type:(h=g==null?void 0:g.code)!=null?h:s}}else a[c]={message:l,type:s};if("unionErrors"in i&&i.unionErrors.forEach(function(b){return b.errors.forEach(function(y){return e.push(y)})}),r){var x=a[c].types,v=x&&x[i.code];a[c]=hB(c,r,a,s,v?[].concat(v,i.message):i.message)}e.shift()}return a}function HRt(e,r){for(var a=Object.create(null),i=function(){var s=e[0],{code:l,message:c}=s,d=s.path.join(".");if(!a[d])if(s.code==="invalid_union"&&s.errors.length>0){var h,g,x=s.errors.reduce(function(y,k){return k.length<y.length?k:y})[0];a[d]={message:(h=x==null?void 0:x.message)!=null?h:c,type:(g=x==null?void 0:x.code)!=null?g:l}}else a[d]={message:c,type:l};if(s.code==="invalid_union"&&s.errors.forEach(function(y){return y.forEach(function(k){return e.push(FK({},k,{path:[].concat(s.path,k.path)}))})}),r){var v=a[d].types,b=v&&v[s.code];a[d]=hB(d,r,a,l,b?[].concat(b,s.message):s.message)}e.shift()};e.length;)i();return a}function Bl(e,r,a){if(a===void 0&&(a={}),function(i){return"_zod"in i&&typeof i._zod=="object"}(e))return function(i,s,l){try{return Promise.resolve(Yye(function(){function c(h){return l.shouldUseNativeValidation&&gB({},l),{errors:{},values:a.raw?Object.assign({},i):h}}var d=e;return a.mode==="sync"?c(d.parse(i,r)):Promise.resolve(d.parseAsync(i,r)).then(c)},function(c){if(function(d){var h;return!(d==null||(h=d._zod)==null||(h=h.traits)==null||!h.has("$ZodError"))}(c))return{values:{},errors:NK(HRt(c.issues,!l.shouldUseNativeValidation&&l.criteriaMode==="all"),l)};throw c}))}catch(c){return Promise.reject(c)}};if(function(i){return"_def"in i&&typeof i._def=="object"}(e))return function(i,s,l){try{return Promise.resolve(Yye(function(){return Promise.resolve(e[a.mode==="sync"?"parse":"parseAsync"](i,r)).then(function(c){return l.shouldUseNativeValidation&&gB({},l),{errors:{},values:a.raw?Object.assign({},i):c}})},function(c){if(function(d){return Array.isArray(d==null?void 0:d.issues)}(c))return{values:{},errors:NK(qRt(c.errors,!l.shouldUseNativeValidation&&l.criteriaMode==="all"),l)};throw c}))}catch(c){return Promise.reject(c)}};throw Error("Invalid input: not a Zod schema")}S();var VRt=R({email:f().email(zle()),password:f().min(3,_p()),inviteCode:f().optional()});function WRt(){let e=Re(),a=jK.useSearch().inviteCode,[i,s]=u(null),[l,c]=u(!1),[d,h]=u(()=>n()==="zh"?"zh":"en"),g=(j)=>{h(j),Na(j)},{data:x}=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:v,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=_f((j)=>j.setUser),k=Zl({resolver:Bl(VRt),defaultValues:{inviteCode:a}}),T=async(j)=>{c(!0),s(null);let{data:G,error:X}=await Wse.email({email:j.email,password:j.password,name:j.email,inviteCode:j.inviteCode,locale:d});if(c(!1),X){s(X.message||FZt());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(gM,{className:"h-16 w-16 animate-pulse mb-4 text-rose-500 shadow-xl rounded-2xl"}),t(O,{className:"h-6 w-6 animate-spin text-rose-500/70"})]})});let U=v?.initialized===!1;if(!U&&!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(Ke,{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(vt,{className:"text-center pt-8 pb-4",children:[t("div",{className:"flex justify-center mb-4",children:t(gM,{className:"h-16 w-16 shadow-lg shadow-rose-500/10 rounded-2xl"})}),t(wt,{className:"text-2xl font-bold tracking-tight bg-gradient-to-r from-rose-500 to-orange-500 bg-clip-text text-transparent",children:Xst()}),t(kt,{className:"mt-2 text-zinc-600 dark:text-zinc-400",children:$st()})]}),t(ca,{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:[gle()," ",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:[oKe()," ",t(to,{className:"w-3.5 h-3.5"})]})]})})]})]});return o(Ll,{children:[o("div",{className:"mb-8",children:[t("h1",{className:"text-2xl font-bold tracking-tight text-zinc-900 dark:text-zinc-50",children:C3e()}),t("p",{className:"text-zinc-500 dark:text-zinc-400 text-sm mt-1 mb-4",children:UZt()}),U&&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:eHe()})]}),x&&!("error"in x)&&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:QWe({inviterName:x.inviterName,targetName:x.projectName||x.teamName,role:x.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:k.handleSubmit(T),className:"space-y-5",children:[o("div",{className:"space-y-2",children:[t(W,{htmlFor:"email",className:"text-xs font-semibold text-zinc-600 dark:text-zinc-400 tracking-wide uppercase",children:vle()}),o("div",{className:"relative group",children:[t(mi,{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(z,{id:"email",...k.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"})]}),k.formState.errors.email&&t("p",{className:"text-red-500 text-xs font-medium",children:k.formState.errors.email.message})]}),o("div",{className:"space-y-2",children:[t(W,{htmlFor:"password",className:"text-xs font-semibold text-zinc-600 dark:text-zinc-400 tracking-wide uppercase",children:Ap()}),o("div",{className:"relative group",children:[t(sn,{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(z,{id:"password",type:"password",...k.register("password"),placeholder:cat(),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"})]}),k.formState.errors.password&&t("p",{className:"text-red-500 text-xs font-medium",children:k.formState.errors.password.message})]}),t(C,{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:l,children:l?o(L,{children:[t(O,{className:"h-4 w-4 animate-spin"}),pje()]}):o(L,{children:[t(F2,{className:"w-4 h-4"}),Ple()]})})]}),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:[gle()," "]}),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:[Lle()," ",t(to,{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 ${d==="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 ${d==="zh"?"font-bold text-rose-500 dark:text-rose-400":""}`,children:"中文"})]})]})]})}var jK=Gr("/signup")({component:WRt,validateSearch:(e)=>({inviteCode:e.inviteCode||void 0}),beforeLoad:()=>{if(_f.getState().user)throw cl({to:"/"})}});var GRt=R({token:f().catch("")}),qye=Gr("/reset-password")({validateSearch:(e)=>GRt.parse(e),beforeLoad:()=>{if(_f.getState().user)throw cl({to:"/"})}});S();var KRt=R({email:f().email(zle()),password:f().min(1,nat())});function XRt(){let e=Re(),r=_f((k)=>k.setUser),[a,i]=u(null),[s,l]=u(!1),[c,d]=u(!1),{data:h,isLoading:g}=Z({queryKey:["/signup-info"],queryFn:async()=>{let k=await A.api["signup-info"].$get();if(!k.ok)throw Error("Failed to fetch signup info");return await k.json()}});m(()=>{if(h&&!h.initialized)e({to:"/signup",search:{inviteCode:""}})},[h,e]);let x=h?.demoMode===!0,v=Zl({resolver:Bl(KRt)}),b=async(k)=>{l(!0),i(null);let{data:T,error:U}=await g9.email({email:k.email,password:k.password});if(l(!1),U){i(U.message||wle());return}if(T)r(T.user),e({to:"/"})},y=async()=>{d(!0),i(null),v.clearErrors(),v.setValue("email","foo@bar.com"),v.setValue("password","foo");let{data:k,error:T}=await g9.email({email:"foo@bar.com",password:"foo"});if(d(!1),T){i(T.message||wle());return}if(k)r(k.user),e({to:"/"})};if(g)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(gM,{className:"h-16 w-16 animate-pulse mb-4 text-rose-500 shadow-xl rounded-2xl"}),t(O,{className:"h-6 w-6 animate-spin text-rose-500/70"})]})});return o(Ll,{children:[o("div",{className:"mb-8",children:[t("h1",{className:"text-2xl font-bold tracking-tight text-zinc-900 dark:text-zinc-50",children:Zvt()}),t("p",{className:"text-zinc-500 dark:text-zinc-400 text-sm mt-1",children:iKe()})]}),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:v.handleSubmit(b),className:"space-y-5",children:[o("div",{className:"space-y-2",children:[t(W,{htmlFor:"email",className:"text-xs font-semibold text-zinc-600 dark:text-zinc-400 tracking-wide uppercase",children:vle()}),o("div",{className:"relative group",children:[t(mi,{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(z,{id:"email",...v.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"})]}),v.formState.errors.email&&t("p",{className:"text-red-500 text-xs font-medium",children:v.formState.errors.email.message})]}),o("div",{className:"space-y-2",children:[t(W,{htmlFor:"password",className:"text-xs font-semibold text-zinc-600 dark:text-zinc-400 tracking-wide uppercase",children:Ap()}),o("div",{className:"relative group",children:[t(sn,{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(z,{id:"password",type:"password",...v.register("password"),placeholder:Zat(),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"})]}),v.formState.errors.password&&t("p",{className:"text-red-500 text-xs font-medium",children:v.formState.errors.password.message})]}),t(C,{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||c,children:s?o(L,{children:[t(O,{className:"h-4 w-4 animate-spin"}),Sle()]}):o(L,{children:[t(N2,{className:"w-4 h-4"}),Lle()]})})]}),x&&o("div",{className:"mt-4 space-y-4",children:[o("div",{className:"relative",children:[t("div",{className:"absolute inset-0 flex items-center",children:t("span",{className:"w-full border-t border-zinc-200/80 dark:border-zinc-800"})}),t("div",{className:"relative flex justify-center text-xs uppercase",children:t("span",{className:"bg-white dark:bg-zinc-900 px-2 text-zinc-400 dark:text-zinc-500 font-medium",children:bg()})})]}),t(C,{type:"button",variant:"outline",onClick:y,disabled:s||c,className:"w-full h-11 border-zinc-200 dark:border-zinc-800 hover:bg-zinc-100 dark:hover:bg-zinc-800 font-semibold rounded-xl transition-all flex items-center justify-center gap-2 shadow-xs cursor-pointer",children:c?o(L,{children:[t(O,{className:"h-4 w-4 animate-spin"}),Sle()]}):o(L,{children:[t(Jo,{className:"w-4 h-4 text-zinc-500 dark:text-zinc-400"}),eKe()]})}),t("div",{className:"p-3 bg-blue-500/10 border border-blue-500/20 text-blue-700 dark:text-blue-400 rounded-xl text-xs leading-relaxed text-center",children:o("p",{children:[t("strong",{children:d6e()})," ",m6e()]})})]}),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:k$e()}),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:[Ple()," ",t(to,{className:"w-3.5 h-3.5"})]})]})]})}var Hye=Gr("/login")({component:XRt,beforeLoad:()=>{if(_f.getState().user)throw cl({to:"/"})}});S();function Vye(){let e=Re(),{data:r,isLoading:a}=Z({queryKey:["teams"],queryFn:async()=>{let l=await A.api.teams.$get({query:{}});if(!l.ok)throw Error("Failed to get teams");return await l.json()}}),i=r?.data,s=i?.length===1?i[0].id:null;if(m(()=>{if(s)e({to:`/teams/${s}`})},[s,e]),a)return t("div",{children:Ed()});if(s)return null;return t(ue,{open:!0,children:o(ae,{children:[o(pe,{children:[t(le,{children:put()}),t(Mt,{children:cdt()})]}),t("div",{className:"space-y-2",children:i?.map((l)=>t("div",{className:"p-2 border rounded-md cursor-pointer hover:bg-gray-100",onClick:()=>e({to:`/teams/${l.id}`}),children:l.name},l.id))})]})})}S();function QRt(){let e=_f((a)=>a.user),r=Re();if(m(()=>{if(!e)r({to:"/login"})},[e,r]),!e)return null;return t(Vye,{})}var Wye=Gr("/")({component:QRt});function JRt(){return t(EM,{})}var Gye=Gr("/share/$shareId")({component:JRt});var Kye=Gr("/teams/$teamId/")({});var Xye=Gr("/share/$shareId/")({});function me({className:e,...r}){return t("div",{"data-slot":"skeleton",className:E("animate-pulse rounded-md bg-accent",e),...r})}function Ct(){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(me,{className:"h-4 w-24"}),t("span",{className:"text-muted-foreground",children:"/"}),t(me,{className:"h-4 w-32"})]}),o("div",{className:"flex items-center gap-2",children:[t(me,{className:"h-8 w-8 rounded-md"}),t(me,{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(me,{className:"h-4 w-4 rounded"}),t(me,{className:"h-4 w-24"})]}),o("div",{className:"pl-4 space-y-3",children:[o("div",{className:"flex items-center gap-2",children:[t(me,{className:"h-3 w-3 rounded"}),t(me,{className:"h-3 w-28"})]}),o("div",{className:"flex items-center gap-2",children:[t(me,{className:"h-3 w-3 rounded"}),t(me,{className:"h-3 w-20"})]}),o("div",{className:"flex items-center gap-2",children:[t(me,{className:"h-3 w-3 rounded"}),t(me,{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(me,{className:"h-5 w-40"}),t(me,{className:"h-4 w-20"})]}),o("div",{className:"flex items-center gap-2",children:[t(me,{className:"h-8 w-8 rounded"}),t(me,{className:"h-8 w-8 rounded"}),t(me,{className:"h-8 w-32 rounded"})]})]}),o("div",{className:"space-y-4",children:[t("div",{className:"flex items-center gap-2",children:t(me,{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(me,{className:"aspect-square w-full rounded-md"}),o("div",{className:"space-y-2",children:[t(me,{className:"h-4 w-3/4"}),o("div",{className:"flex justify-between items-center",children:[t(me,{className:"h-3 w-1/4"}),t(me,{className:"h-3 w-1/3"})]})]})]},r))})]})]})]})]})}function ZA(){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(me,{className:"h-4 w-16"}),t("span",{className:"text-muted-foreground",children:"/"}),t(me,{className:"h-4 w-28"}),t("span",{className:"text-muted-foreground",children:"/"}),t(me,{className:"h-4 w-32"})]}),t("div",{className:"flex items-center gap-2",children:t(me,{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(me,{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(me,{className:"h-12 w-12 rounded bg-muted shrink-0"}),o("div",{className:"space-y-2 flex-1",children:[t(me,{className:"h-3 w-2/3"}),t(me,{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(me,{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(me,{className:"h-8 w-8 rounded-full"}),t(me,{className:"h-4 w-32"})]}),t(me,{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(me,{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(me,{className:"h-3 w-20"}),t(me,{className:"h-3 w-32"})]},r))})]}),o("div",{className:"flex-1 flex flex-col gap-4",children:[t(me,{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(me,{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(me,{className:"h-3 w-24"}),t(me,{className:"h-2 w-12"})]}),t(me,{className:"h-3 w-full"}),t(me,{className:"h-3 w-5/6"})]})]},r))})]})]})]})]})}function BA({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(me,{className:"h-4 w-4 rounded"}),t(me,{className:"h-4 w-4 rounded"}),t(me,{className:"h-4 w-48"}),o("div",{className:"ml-auto flex items-center gap-8",children:[t(me,{className:"h-3 w-16"}),t(me,{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(me,{className:"aspect-square w-full rounded-md"}),o("div",{className:"space-y-2",children:[t(me,{className:"h-4 w-3/4"}),o("div",{className:"flex justify-between items-center",children:[t(me,{className:"h-3 w-1/4"}),t(me,{className:"h-3 w-1/3"})]})]})]},a))})})}function UA(){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(me,{className:"h-10 w-10 rounded-md shrink-0"}),o("div",{className:"space-y-2 flex-1",children:[t(me,{className:"h-4 w-3/4"}),t(me,{className:"h-3 w-1/3"})]})]},r))})}var rm=(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()}}),Qye=Gr("/projects/$projectId/")({loader:({context:{queryClient:e},params:{projectId:r}})=>e.ensureQueryData(rm(r)),pendingComponent:()=>t(Ct,{})});var Jye=Gr("/teams/$teamId/settings")({});var $Rt=R({taskId:f().optional()}),$ye=Gr("/teams/$teamId/kanban")({validateSearch:(e)=>$Rt.parse(e)});var e_e=Gr("/teams/$teamId/dashboard")({});var nm=(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()}}),t_e=Gr("/projects/$projectId/recents")({loader:({context:{queryClient:e},params:{projectId:r}})=>e.ensureQueryData(nm(r)),pendingComponent:()=>t(Ct,{})});var om=(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()}}),r_e=Gr("/projects/$projectId/recently-deleted")({loader:({context:{queryClient:e},params:{projectId:r}})=>e.ensureQueryData(om(r)),pendingComponent:()=>t(Ct,{})});var sm=(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()}}),o_e=Gr("/projects/$projectId/agentsmd")({loader:({context:{queryClient:e},params:{projectId:r}})=>e.ensureQueryData(sm(r)),pendingComponent:()=>t(Ct,{})});var im=(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()}}),a_e=Gr("/projects/$projectId/shares/")({loader:({context:{queryClient:e},params:{projectId:r}})=>e.ensureQueryData(im(r)),pendingComponent:()=>t(Ct,{})});var am=(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()}}),n_e=Gr("/projects/$projectId/collections/")({loader:({context:{queryClient:e},params:{projectId:r}})=>e.ensureQueryData(am(r)),pendingComponent:()=>t(Ct,{})});var i_e=Gr("/share/$shareId/folders/$folderId")({});var f_e=Gr("/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 lm=(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()}}),s_e=Gr("/projects/$projectId/shares/$shareId")({loader:({context:{queryClient:e},params:{projectId:r}})=>e.ensureQueryData(lm(r)),pendingComponent:()=>t(Ct,{})});var cm=(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()}}),l_e=Gr("/projects/$projectId/folders/$folderId")({loader:({context:{queryClient:e},params:{projectId:r}})=>e.ensureQueryData(cm(r)),pendingComponent:()=>t(Ct,{})});var c_e=Gr("/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 um=(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()}}),zA=(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()}}),u_e=Gr("/projects/$projectId/collections/$collectionId")({loader:({context:{queryClient:e},params:{projectId:r}})=>e.ensureQueryData(um(r)),pendingComponent:()=>t("div",{children:Qh()})});var dm=(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()}}),d_e=Gr("/projects/$projectId/folders/$folderId_/agentsmd")({loader:({context:{queryClient:e},params:{projectId:r}})=>e.ensureQueryData(dm(r)),pendingComponent:()=>t(Ct,{})});var ePt=jK.update({id:"/signup",path:"/signup",getParentRoute:()=>Fn}),tPt=qye.update({id:"/reset-password",path:"/reset-password",getParentRoute:()=>Fn}).lazy(()=>import("./chunk-mn108p93.js").then((e)=>e.Route)),rPt=Hye.update({id:"/login",path:"/login",getParentRoute:()=>Fn}),oPt=Wye.update({id:"/",path:"/",getParentRoute:()=>Fn}),MB=Gye.update({id:"/share/$shareId",path:"/share/$shareId",getParentRoute:()=>Fn}),aPt=Kye.update({id:"/teams/$teamId/",path:"/teams/$teamId/",getParentRoute:()=>Fn}).lazy(()=>import("./chunk-cpj562n6.js").then((e)=>e.Route)),nPt=Xye.update({id:"/",path:"/",getParentRoute:()=>MB}).lazy(()=>import("./chunk-tjretpx8.js").then((e)=>e.Route)),iPt=Qye.update({id:"/projects/$projectId/",path:"/projects/$projectId/",getParentRoute:()=>Fn}).lazy(()=>import("./chunk-yfp3q4da.js").then((e)=>e.Route)),fPt=Jye.update({id:"/teams/$teamId/settings",path:"/teams/$teamId/settings",getParentRoute:()=>Fn}).lazy(()=>import("./chunk-965102pf.js").then((e)=>e.Route)),sPt=$ye.update({id:"/teams/$teamId/kanban",path:"/teams/$teamId/kanban",getParentRoute:()=>Fn}).lazy(()=>import("./chunk-0ge2mm8j.js").then((e)=>e.Route)),lPt=e_e.update({id:"/teams/$teamId/dashboard",path:"/teams/$teamId/dashboard",getParentRoute:()=>Fn}).lazy(()=>import("./chunk-951r2rx1.js").then((e)=>e.Route)),cPt=t_e.update({id:"/projects/$projectId/recents",path:"/projects/$projectId/recents",getParentRoute:()=>Fn}).lazy(()=>import("./chunk-2tk5w3jc.js").then((e)=>e.Route)),uPt=r_e.update({id:"/projects/$projectId/recently-deleted",path:"/projects/$projectId/recently-deleted",getParentRoute:()=>Fn}).lazy(()=>import("./chunk-dv6p6n5e.js").then((e)=>e.Route)),dPt=o_e.update({id:"/projects/$projectId/agentsmd",path:"/projects/$projectId/agentsmd",getParentRoute:()=>Fn}).lazy(()=>import("./chunk-acn3r2m2.js").then((e)=>e.Route)),ZPt=a_e.update({id:"/projects/$projectId/shares/",path:"/projects/$projectId/shares/",getParentRoute:()=>Fn}).lazy(()=>import("./chunk-kzr6ecke.js").then((e)=>e.Route)),pPt=n_e.update({id:"/projects/$projectId/collections/",path:"/projects/$projectId/collections/",getParentRoute:()=>Fn}).lazy(()=>import("./chunk-rw5h0n0s.js").then((e)=>e.Route)),mPt=i_e.update({id:"/folders/$folderId",path:"/folders/$folderId",getParentRoute:()=>MB}).lazy(()=>import("./chunk-tgfxe0sb.js").then((e)=>e.Route)),hPt=f_e.update({id:"/files/$fileId",path:"/files/$fileId",getParentRoute:()=>MB}).lazy(()=>import("./chunk-wjcebkpb.js").then((e)=>e.Route)),gPt=s_e.update({id:"/projects/$projectId/shares/$shareId",path:"/projects/$projectId/shares/$shareId",getParentRoute:()=>Fn}).lazy(()=>import("./chunk-tvkekn4z.js").then((e)=>e.Route)),MPt=l_e.update({id:"/projects/$projectId/folders/$folderId",path:"/projects/$projectId/folders/$folderId",getParentRoute:()=>Fn}).lazy(()=>import("./chunk-syjjke3f.js").then((e)=>e.Route)),xPt=c_e.update({id:"/projects/$projectId/files/$fileId",path:"/projects/$projectId/files/$fileId",getParentRoute:()=>Fn}).lazy(()=>import("./chunk-z8e4wc59.js").then((e)=>e.Route)),vPt=u_e.update({id:"/projects/$projectId/collections/$collectionId",path:"/projects/$projectId/collections/$collectionId",getParentRoute:()=>Fn}).lazy(()=>import("./chunk-2gf95tj0.js").then((e)=>e.Route)),yPt=d_e.update({id:"/projects/$projectId/folders/$folderId_/agentsmd",path:"/projects/$projectId/folders/$folderId/agentsmd",getParentRoute:()=>Fn}).lazy(()=>import("./chunk-s4r6e6ms.js").then((e)=>e.Route)),_Pt={ShareShareIdIndexRoute:nPt,ShareShareIdFilesFileIdRoute:hPt,ShareShareIdFoldersFolderIdRoute:mPt},bPt=MB._addFileChildren(_Pt),wPt={IndexRoute:oPt,LoginRoute:rPt,ResetPasswordRoute:tPt,SignupRoute:ePt,ShareShareIdRoute:bPt,ProjectsProjectIdAgentsmdRoute:dPt,ProjectsProjectIdRecentlyDeletedRoute:uPt,ProjectsProjectIdRecentsRoute:cPt,TeamsTeamIdDashboardRoute:lPt,TeamsTeamIdKanbanRoute:sPt,TeamsTeamIdSettingsRoute:fPt,ProjectsProjectIdIndexRoute:iPt,TeamsTeamIdIndexRoute:aPt,ProjectsProjectIdCollectionsCollectionIdRoute:vPt,ProjectsProjectIdFilesFileIdRoute:xPt,ProjectsProjectIdFoldersFolderIdRoute:MPt,ProjectsProjectIdSharesShareIdRoute:gPt,ProjectsProjectIdCollectionsIndexRoute:pPt,ProjectsProjectIdSharesIndexRoute:ZPt,ProjectsProjectIdFoldersFolderIdAgentsmdRoute:yPt},Z_e=Fn._addFileChildren(wPt)._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 p_e=new BB,zPt=y6({routeTree:Z_e,context:{queryClient:p_e}});hre(document.getElementById("root")).render(t(kB,{children:t(IB,{client:p_e,children:t(xre,{defaultTheme:"system",storageKey:"vite-ui-theme",children:t(_6,{router:zPt})})})}));export{Q,Fs,In,fi,Wi,lt,q,F,Un,Ia,P,pt,pi,m,qu,Vr,$e,D,rn,_,u,Xn,Ls,S,L,t,o,V,Hu,$u,br,Rc,Yi,Ta,wo,Ht,Yo,Gu,Vu,Qu,Tm,Ku,Pc,Wu,fl,Z,B,mt,Nc,Re,Ji,nn,An,ze,eo,Xi,pl,Zs,ml,hl,gl,Yu,Bs,Al,Ju,Rr,A,I,lr,zn,Sr,or,O,Tn,Fo,Qr,Kr,to,ea,ta,Tt,jn,Pe,ve,on,Et,Ma,er,ht,qn,tr,ka,Us,rr,zs,ro,Hn,no,js,Lo,sn,mi,xo,Ra,de,Ut,Pa,So,we,Jo,Ne,E,ps,gt,ye,Y,Pt,Er,hi,Lt,se,cr,gi,Ai,$n,_i,_l,yl,bl,Xu,ed,td,rd,nd,od,sd,id,ad,yi,Dc,C,an,ln,cn,un,Ce,Ie,Te,ge,ra,Ae,_e,K,Oc,bi,Wr,Vt,ms,hs,gs,As,Mm,n,Na,HA,$A,GA,VA,QA,KA,WA,Ef,YA,JA,XA,km,Cf,e0,t0,r0,ld,n0,o0,cd,Rm,Pm,Nm,s0,i0,a0,l0,c0,If,u0,Dm,d0,Om,f0,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