@adamosuiteservices/ui 2.10.10 → 2.10.12

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 (147) hide show
  1. package/dist/accordion-rounded.cjs +4 -4
  2. package/dist/accordion-rounded.js +3 -2
  3. package/dist/accordion.cjs +5 -5
  4. package/dist/accordion.js +11 -10
  5. package/dist/alert.cjs +1 -1
  6. package/dist/alert.js +1 -0
  7. package/dist/avatar.cjs +1 -1
  8. package/dist/avatar.js +1 -0
  9. package/dist/badge.cjs +2 -2
  10. package/dist/badge.js +1 -0
  11. package/dist/breadcrumb.cjs +3 -3
  12. package/dist/breadcrumb.js +10 -9
  13. package/dist/{button-BXTNbWAk.js → button-CBy_oQDu.js} +1 -0
  14. package/dist/button-group.cjs +3 -3
  15. package/dist/button-group.js +10 -9
  16. package/dist/{button-r2Y2aX25.cjs → button-hCW1Pww0.cjs} +1 -1
  17. package/dist/button.cjs +1 -1
  18. package/dist/button.js +1 -1
  19. package/dist/calendar.cjs +1 -1
  20. package/dist/calendar.js +3 -2
  21. package/dist/card.cjs +3 -3
  22. package/dist/card.js +1 -0
  23. package/dist/{checkbox-DmvyFfB3.js → checkbox-B-Lu1-qJ.js} +3 -2
  24. package/dist/checkbox-DHFt3l5c.cjs +22 -0
  25. package/dist/checkbox.cjs +1 -1
  26. package/dist/checkbox.js +1 -1
  27. package/dist/collapsible.cjs +1 -1
  28. package/dist/collapsible.js +10 -9
  29. package/dist/combobox.cjs +1 -1
  30. package/dist/combobox.js +6 -5
  31. package/dist/context-menu.cjs +1 -1
  32. package/dist/context-menu.js +3 -2
  33. package/dist/dialog.cjs +1 -1
  34. package/dist/dialog.js +3 -2
  35. package/dist/dropdown-menu.cjs +1 -1
  36. package/dist/dropdown-menu.js +3 -2
  37. package/dist/field.cjs +1 -1
  38. package/dist/field.js +39 -38
  39. package/dist/hover-card.cjs +1 -1
  40. package/dist/hover-card.js +5 -4
  41. package/dist/icon-DKAhvlX_.js +36 -0
  42. package/dist/{icon-Bg5HV6Ls.cjs → icon-DPMQJBkA.cjs} +1 -1
  43. package/dist/icon.cjs +1 -1
  44. package/dist/icon.js +1 -1
  45. package/dist/index-8iwAKZIp.cjs +1 -0
  46. package/dist/{index-Se4vRnIO.js → index-B6gxHWt9.js} +2 -1
  47. package/dist/{index-yWvyIlmA.js → index-B76LQ4E5.js} +4 -3
  48. package/dist/{index-B0M7VOwp.js → index-BAEhLEFF.js} +1 -0
  49. package/dist/{index-DniCthJA.js → index-BIydBVaH.js} +60 -59
  50. package/dist/{index-CZZ3llmi.js → index-BPOsnOxS.js} +1 -0
  51. package/dist/index-BaCYnOIG.cjs +1 -0
  52. package/dist/index-BnkHpTJs.cjs +1 -0
  53. package/dist/index-C2P2kXMc.cjs +41 -0
  54. package/dist/index-CBuLZ39k.cjs +1 -0
  55. package/dist/index-CC6DBo2g.cjs +1 -0
  56. package/dist/index-CRWn-2fF.cjs +1 -0
  57. package/dist/{index-BpWB3aFK.js → index-CSFEzRxy.js} +17 -16
  58. package/dist/index-CZWDxvEo.js +16 -0
  59. package/dist/index-Ca99LLZF.cjs +5 -0
  60. package/dist/{index-BBoIAjAs.js → index-Ce7JfyIP.js} +2 -1
  61. package/dist/{index-CUWMxxKG.js → index-CmWhhuj7.js} +1 -0
  62. package/dist/index-Cqf5g2f_.cjs +1 -0
  63. package/dist/index-DE3jjVoC.cjs +1 -0
  64. package/dist/{index-C0YiLSjW.js → index-D_hmhfRp.js} +3 -2
  65. package/dist/index-Da298sEl.cjs +1 -0
  66. package/dist/{index-CBjZooac.js → index-e0gNU5O1.js} +1 -0
  67. package/dist/index-i5lLg35-.cjs +1 -0
  68. package/dist/{index-DFPDUUq7.js → index-wujanfX3.js} +8 -7
  69. package/dist/{input-DSmxdfq5.cjs → input-CWDpI1Ua.cjs} +2 -2
  70. package/dist/{input-BQZUpTEY.js → input-DFvZLcgm.js} +1 -0
  71. package/dist/input-group.cjs +1 -1
  72. package/dist/input-group.js +4 -3
  73. package/dist/input.cjs +1 -1
  74. package/dist/input.js +1 -1
  75. package/dist/kbd.cjs +1 -1
  76. package/dist/kbd.js +1 -0
  77. package/dist/{label-CrsELeIw.js → label-C6zVnc3d.js} +1 -0
  78. package/dist/label-DqfX9cHc.cjs +7 -0
  79. package/dist/label.cjs +1 -1
  80. package/dist/label.js +1 -1
  81. package/dist/pagination.cjs +1 -1
  82. package/dist/pagination.js +4 -3
  83. package/dist/{popover-DAwH8jUh.js → popover-DcQ18EVl.js} +71 -70
  84. package/dist/popover-cGp_rNLg.cjs +15 -0
  85. package/dist/popover.cjs +1 -1
  86. package/dist/popover.js +1 -1
  87. package/dist/progress.cjs +1 -1
  88. package/dist/progress.js +1 -0
  89. package/dist/radio-group.cjs +1 -1
  90. package/dist/radio-group.js +5 -4
  91. package/dist/select.cjs +1 -1
  92. package/dist/select.js +7 -6
  93. package/dist/separator-CCGaTo09.cjs +7 -0
  94. package/dist/{separator-DVypR3Qf.js → separator-CsaqP20m.js} +1 -0
  95. package/dist/separator.cjs +1 -1
  96. package/dist/separator.js +1 -1
  97. package/dist/{sheet-mV8cYfd2.js → sheet-CPf9Guon.js} +3 -2
  98. package/dist/{sheet-IGhaVAfU.cjs → sheet-DVT_djHX.cjs} +3 -3
  99. package/dist/sheet.cjs +1 -1
  100. package/dist/sheet.js +1 -1
  101. package/dist/sidebar.cjs +1 -1
  102. package/dist/sidebar.js +25 -24
  103. package/dist/skeleton.cjs +1 -1
  104. package/dist/skeleton.js +6 -5
  105. package/dist/slider.cjs +1 -1
  106. package/dist/slider.js +2 -1
  107. package/dist/spinner.cjs +1 -1
  108. package/dist/spinner.js +10 -9
  109. package/dist/switch.cjs +1 -1
  110. package/dist/switch.js +14 -13
  111. package/dist/table.cjs +6 -6
  112. package/dist/table.js +1 -0
  113. package/dist/tabs-underline.cjs +1 -1
  114. package/dist/tabs-underline.js +8 -7
  115. package/dist/tabs.cjs +1 -1
  116. package/dist/tabs.js +3 -2
  117. package/dist/{textarea-CUPWKl-S.js → textarea-BRCnIxdB.js} +1 -0
  118. package/dist/{textarea-CG7iQcb3.cjs → textarea-DkFUS_oS.cjs} +1 -1
  119. package/dist/textarea.cjs +1 -1
  120. package/dist/textarea.js +1 -1
  121. package/dist/toaster.cjs +2 -2
  122. package/dist/toaster.js +2 -1
  123. package/dist/toggle.cjs +1 -1
  124. package/dist/toggle.js +1 -0
  125. package/dist/tooltip.cjs +1 -1
  126. package/dist/tooltip.js +5 -4
  127. package/dist/typography.cjs +1 -1
  128. package/dist/typography.js +5 -4
  129. package/package.json +2 -1
  130. package/dist/checkbox-Bn7H8EaT.cjs +0 -22
  131. package/dist/icon-DG_i4bz2.js +0 -35
  132. package/dist/index-BFyr34mw.cjs +0 -5
  133. package/dist/index-BX9hz-JD.js +0 -15
  134. package/dist/index-BcGMAmWE.cjs +0 -1
  135. package/dist/index-Bd0gQB0k.cjs +0 -1
  136. package/dist/index-BeWgla7c.cjs +0 -1
  137. package/dist/index-COuvjZLM.cjs +0 -1
  138. package/dist/index-CTjlbbt9.cjs +0 -1
  139. package/dist/index-Cmx9M9cZ.cjs +0 -1
  140. package/dist/index-CzRiuk60.cjs +0 -1
  141. package/dist/index-DIwmXz1u.cjs +0 -1
  142. package/dist/index-DMs8RL3E.cjs +0 -41
  143. package/dist/index-Dbj9vHNq.cjs +0 -1
  144. package/dist/index-DmGzwG2z.cjs +0 -1
  145. package/dist/label-1jx6a0Sm.cjs +0 -7
  146. package/dist/popover-CYbik-H4.cjs +0 -15
  147. package/dist/separator-Brpax0EI.cjs +0 -7
@@ -0,0 +1 @@
1
+ "use client";"use strict";const qt=require("react"),Oe=require("react-dom"),At=require("./index-CocSS1YK.cjs"),X=require("./jsx-runtime-BB_1_6y_.cjs"),Xt=require("./index-_XxjJPRD.cjs"),Pe=require("./index-cwZN7ZY3.cjs"),Ce=require("./index-CzY-WZXL.cjs"),$t=require("./index-MQ0c3ZX_.cjs"),Se=require("./index-bSPhqlcX.cjs");function Yt(t){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const n in t)if(n!=="default"){const o=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,o.get?o:{enumerable:!0,get:()=>t[n]})}}return e.default=t,Object.freeze(e)}const R=Yt(qt),Ee=Yt(Oe),De=["top","right","bottom","left"],Z=Math.min,_=Math.max,at=Math.round,ct=Math.floor,z=t=>({x:t,y:t}),Le={left:"right",right:"left",bottom:"top",top:"bottom"},Me={start:"end",end:"start"};function yt(t,e,n){return _(t,Z(e,n))}function Y(t,e){return typeof t=="function"?t(e):t}function U(t){return t.split("-")[0]}function tt(t){return t.split("-")[1]}function Rt(t){return t==="x"?"y":"x"}function Ot(t){return t==="y"?"height":"width"}const Te=new Set(["top","bottom"]);function V(t){return Te.has(U(t))?"y":"x"}function Pt(t){return Rt(V(t))}function $e(t,e,n){n===void 0&&(n=!1);const o=tt(t),r=Pt(t),i=Ot(r);let s=r==="x"?o===(n?"end":"start")?"right":"left":o==="start"?"bottom":"top";return e.reference[i]>e.floating[i]&&(s=ft(s)),[s,ft(s)]}function ke(t){const e=ft(t);return[vt(t),e,vt(e)]}function vt(t){return t.replace(/start|end/g,e=>Me[e])}const kt=["left","right"],Ft=["right","left"],Fe=["top","bottom"],Ne=["bottom","top"];function _e(t,e,n){switch(t){case"top":case"bottom":return n?e?Ft:kt:e?kt:Ft;case"left":case"right":return e?Fe:Ne;default:return[]}}function je(t,e,n,o){const r=tt(t);let i=_e(U(t),n==="start",o);return r&&(i=i.map(s=>s+"-"+r),e&&(i=i.concat(i.map(vt)))),i}function ft(t){return t.replace(/left|right|bottom|top/g,e=>Le[e])}function We(t){return{top:0,right:0,bottom:0,left:0,...t}}function Ut(t){return typeof t!="number"?We(t):{top:t,right:t,bottom:t,left:t}}function ut(t){const{x:e,y:n,width:o,height:r}=t;return{width:o,height:r,top:n,left:e,right:e+o,bottom:n+r,x:e,y:n}}function Nt(t,e,n){let{reference:o,floating:r}=t;const i=V(e),s=Pt(e),c=Ot(s),l=U(e),a=i==="y",f=o.x+o.width/2-r.width/2,u=o.y+o.height/2-r.height/2,m=o[c]/2-r[c]/2;let d;switch(l){case"top":d={x:f,y:o.y-r.height};break;case"bottom":d={x:f,y:o.y+o.height};break;case"right":d={x:o.x+o.width,y:u};break;case"left":d={x:o.x-r.width,y:u};break;default:d={x:o.x,y:o.y}}switch(tt(e)){case"start":d[s]-=m*(n&&a?-1:1);break;case"end":d[s]+=m*(n&&a?-1:1);break}return d}const He=async(t,e,n)=>{const{placement:o="bottom",strategy:r="absolute",middleware:i=[],platform:s}=n,c=i.filter(Boolean),l=await(s.isRTL==null?void 0:s.isRTL(e));let a=await s.getElementRects({reference:t,floating:e,strategy:r}),{x:f,y:u}=Nt(a,o,l),m=o,d={},p=0;for(let h=0;h<c.length;h++){const{name:w,fn:g}=c[h],{x,y:b,data:y,reset:v}=await g({x:f,y:u,initialPlacement:o,placement:m,strategy:r,middlewareData:d,rects:a,platform:s,elements:{reference:t,floating:e}});f=x??f,u=b??u,d={...d,[w]:{...d[w],...y}},v&&p<=50&&(p++,typeof v=="object"&&(v.placement&&(m=v.placement),v.rects&&(a=v.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:r}):v.rects),{x:f,y:u}=Nt(a,m,l)),h=-1)}return{x:f,y:u,placement:m,strategy:r,middlewareData:d}};async function ot(t,e){var n;e===void 0&&(e={});const{x:o,y:r,platform:i,rects:s,elements:c,strategy:l}=t,{boundary:a="clippingAncestors",rootBoundary:f="viewport",elementContext:u="floating",altBoundary:m=!1,padding:d=0}=Y(e,t),p=Ut(d),w=c[m?u==="floating"?"reference":"floating":u],g=ut(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(w)))==null||n?w:w.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(c.floating)),boundary:a,rootBoundary:f,strategy:l})),x=u==="floating"?{x:o,y:r,width:s.floating.width,height:s.floating.height}:s.reference,b=await(i.getOffsetParent==null?void 0:i.getOffsetParent(c.floating)),y=await(i.isElement==null?void 0:i.isElement(b))?await(i.getScale==null?void 0:i.getScale(b))||{x:1,y:1}:{x:1,y:1},v=ut(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:x,offsetParent:b,strategy:l}):x);return{top:(g.top-v.top+p.top)/y.y,bottom:(v.bottom-g.bottom+p.bottom)/y.y,left:(g.left-v.left+p.left)/y.x,right:(v.right-g.right+p.right)/y.x}}const Be=t=>({name:"arrow",options:t,async fn(e){const{x:n,y:o,placement:r,rects:i,platform:s,elements:c,middlewareData:l}=e,{element:a,padding:f=0}=Y(t,e)||{};if(a==null)return{};const u=Ut(f),m={x:n,y:o},d=Pt(r),p=Ot(d),h=await s.getDimensions(a),w=d==="y",g=w?"top":"left",x=w?"bottom":"right",b=w?"clientHeight":"clientWidth",y=i.reference[p]+i.reference[d]-m[d]-i.floating[p],v=m[d]-i.reference[d],P=await(s.getOffsetParent==null?void 0:s.getOffsetParent(a));let O=P?P[b]:0;(!O||!await(s.isElement==null?void 0:s.isElement(P)))&&(O=c.floating[b]||i.floating[p]);const M=y/2-v/2,F=O/2-h[p]/2-1,L=Z(u[g],F),$=Z(u[x],F),k=L,S=O-h[p]-$,C=O/2-h[p]/2+M,N=yt(k,C,S),E=!l.arrow&&tt(r)!=null&&C!==N&&i.reference[p]/2-(C<k?L:$)-h[p]/2<0,D=E?C<k?C-k:C-S:0;return{[d]:m[d]+D,data:{[d]:N,centerOffset:C-N-D,...E&&{alignmentOffset:D}},reset:E}}}),Ve=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var n,o;const{placement:r,middlewareData:i,rects:s,initialPlacement:c,platform:l,elements:a}=e,{mainAxis:f=!0,crossAxis:u=!0,fallbackPlacements:m,fallbackStrategy:d="bestFit",fallbackAxisSideDirection:p="none",flipAlignment:h=!0,...w}=Y(t,e);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const g=U(r),x=V(c),b=U(c)===c,y=await(l.isRTL==null?void 0:l.isRTL(a.floating)),v=m||(b||!h?[ft(c)]:ke(c)),P=p!=="none";!m&&P&&v.push(...je(c,h,p,y));const O=[c,...v],M=await ot(e,w),F=[];let L=((o=i.flip)==null?void 0:o.overflows)||[];if(f&&F.push(M[g]),u){const C=$e(r,s,y);F.push(M[C[0]],M[C[1]])}if(L=[...L,{placement:r,overflows:F}],!F.every(C=>C<=0)){var $,k;const C=((($=i.flip)==null?void 0:$.index)||0)+1,N=O[C];if(N&&(!(u==="alignment"?x!==V(N):!1)||L.every(A=>V(A.placement)===x?A.overflows[0]>0:!0)))return{data:{index:C,overflows:L},reset:{placement:N}};let E=(k=L.filter(D=>D.overflows[0]<=0).sort((D,A)=>D.overflows[1]-A.overflows[1])[0])==null?void 0:k.placement;if(!E)switch(d){case"bestFit":{var S;const D=(S=L.filter(A=>{if(P){const T=V(A.placement);return T===x||T==="y"}return!0}).map(A=>[A.placement,A.overflows.filter(T=>T>0).reduce((T,B)=>T+B,0)]).sort((A,T)=>A[1]-T[1])[0])==null?void 0:S[0];D&&(E=D);break}case"initialPlacement":E=c;break}if(r!==E)return{reset:{placement:E}}}return{}}}};function _t(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function jt(t){return De.some(e=>t[e]>=0)}const ze=function(t){return t===void 0&&(t={}),{name:"hide",options:t,async fn(e){const{rects:n}=e,{strategy:o="referenceHidden",...r}=Y(t,e);switch(o){case"referenceHidden":{const i=await ot(e,{...r,elementContext:"reference"}),s=_t(i,n.reference);return{data:{referenceHiddenOffsets:s,referenceHidden:jt(s)}}}case"escaped":{const i=await ot(e,{...r,altBoundary:!0}),s=_t(i,n.floating);return{data:{escapedOffsets:s,escaped:jt(s)}}}default:return{}}}}},Zt=new Set(["left","top"]);async function Ie(t,e){const{placement:n,platform:o,elements:r}=t,i=await(o.isRTL==null?void 0:o.isRTL(r.floating)),s=U(n),c=tt(n),l=V(n)==="y",a=Zt.has(s)?-1:1,f=i&&l?-1:1,u=Y(e,t);let{mainAxis:m,crossAxis:d,alignmentAxis:p}=typeof u=="number"?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:u.mainAxis||0,crossAxis:u.crossAxis||0,alignmentAxis:u.alignmentAxis};return c&&typeof p=="number"&&(d=c==="end"?p*-1:p),l?{x:d*f,y:m*a}:{x:m*a,y:d*f}}const qe=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var n,o;const{x:r,y:i,placement:s,middlewareData:c}=e,l=await Ie(e,t);return s===((n=c.offset)==null?void 0:n.placement)&&(o=c.arrow)!=null&&o.alignmentOffset?{}:{x:r+l.x,y:i+l.y,data:{...l,placement:s}}}}},Xe=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){const{x:n,y:o,placement:r}=e,{mainAxis:i=!0,crossAxis:s=!1,limiter:c={fn:w=>{let{x:g,y:x}=w;return{x:g,y:x}}},...l}=Y(t,e),a={x:n,y:o},f=await ot(e,l),u=V(U(r)),m=Rt(u);let d=a[m],p=a[u];if(i){const w=m==="y"?"top":"left",g=m==="y"?"bottom":"right",x=d+f[w],b=d-f[g];d=yt(x,d,b)}if(s){const w=u==="y"?"top":"left",g=u==="y"?"bottom":"right",x=p+f[w],b=p-f[g];p=yt(x,p,b)}const h=c.fn({...e,[m]:d,[u]:p});return{...h,data:{x:h.x-n,y:h.y-o,enabled:{[m]:i,[u]:s}}}}}},Ye=function(t){return t===void 0&&(t={}),{options:t,fn(e){const{x:n,y:o,placement:r,rects:i,middlewareData:s}=e,{offset:c=0,mainAxis:l=!0,crossAxis:a=!0}=Y(t,e),f={x:n,y:o},u=V(r),m=Rt(u);let d=f[m],p=f[u];const h=Y(c,e),w=typeof h=="number"?{mainAxis:h,crossAxis:0}:{mainAxis:0,crossAxis:0,...h};if(l){const b=m==="y"?"height":"width",y=i.reference[m]-i.floating[b]+w.mainAxis,v=i.reference[m]+i.reference[b]-w.mainAxis;d<y?d=y:d>v&&(d=v)}if(a){var g,x;const b=m==="y"?"width":"height",y=Zt.has(U(r)),v=i.reference[u]-i.floating[b]+(y&&((g=s.offset)==null?void 0:g[u])||0)+(y?0:w.crossAxis),P=i.reference[u]+i.reference[b]+(y?0:((x=s.offset)==null?void 0:x[u])||0)-(y?w.crossAxis:0);p<v?p=v:p>P&&(p=P)}return{[m]:d,[u]:p}}}},Ue=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){var n,o;const{placement:r,rects:i,platform:s,elements:c}=e,{apply:l=()=>{},...a}=Y(t,e),f=await ot(e,a),u=U(r),m=tt(r),d=V(r)==="y",{width:p,height:h}=i.floating;let w,g;u==="top"||u==="bottom"?(w=u,g=m===(await(s.isRTL==null?void 0:s.isRTL(c.floating))?"start":"end")?"left":"right"):(g=u,w=m==="end"?"top":"bottom");const x=h-f.top-f.bottom,b=p-f.left-f.right,y=Z(h-f[w],x),v=Z(p-f[g],b),P=!e.middlewareData.shift;let O=y,M=v;if((n=e.middlewareData.shift)!=null&&n.enabled.x&&(M=b),(o=e.middlewareData.shift)!=null&&o.enabled.y&&(O=x),P&&!m){const L=_(f.left,0),$=_(f.right,0),k=_(f.top,0),S=_(f.bottom,0);d?M=p-2*(L!==0||$!==0?L+$:_(f.left,f.right)):O=h-2*(k!==0||S!==0?k+S:_(f.top,f.bottom))}await l({...e,availableWidth:M,availableHeight:O});const F=await s.getDimensions(c.floating);return p!==F.width||h!==F.height?{reset:{rects:!0}}:{}}}};function pt(){return typeof window<"u"}function et(t){return Kt(t)?(t.nodeName||"").toLowerCase():"#document"}function j(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function q(t){var e;return(e=(Kt(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Kt(t){return pt()?t instanceof Node||t instanceof j(t).Node:!1}function W(t){return pt()?t instanceof Element||t instanceof j(t).Element:!1}function I(t){return pt()?t instanceof HTMLElement||t instanceof j(t).HTMLElement:!1}function Wt(t){return!pt()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof j(t).ShadowRoot}const Ze=new Set(["inline","contents"]);function it(t){const{overflow:e,overflowX:n,overflowY:o,display:r}=H(t);return/auto|scroll|overlay|hidden|clip/.test(e+o+n)&&!Ze.has(r)}const Ke=new Set(["table","td","th"]);function Ge(t){return Ke.has(et(t))}const Je=[":popover-open",":modal"];function mt(t){return Je.some(e=>{try{return t.matches(e)}catch{return!1}})}const Qe=["transform","translate","scale","rotate","perspective"],tn=["transform","translate","scale","rotate","perspective","filter"],en=["paint","layout","strict","content"];function Ct(t){const e=St(),n=W(t)?H(t):t;return Qe.some(o=>n[o]?n[o]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!e&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!e&&(n.filter?n.filter!=="none":!1)||tn.some(o=>(n.willChange||"").includes(o))||en.some(o=>(n.contain||"").includes(o))}function nn(t){let e=K(t);for(;I(e)&&!Q(e);){if(Ct(e))return e;if(mt(e))return null;e=K(e)}return null}function St(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const on=new Set(["html","body","#document"]);function Q(t){return on.has(et(t))}function H(t){return j(t).getComputedStyle(t)}function ht(t){return W(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function K(t){if(et(t)==="html")return t;const e=t.assignedSlot||t.parentNode||Wt(t)&&t.host||q(t);return Wt(e)?e.host:e}function Gt(t){const e=K(t);return Q(e)?t.ownerDocument?t.ownerDocument.body:t.body:I(e)&&it(e)?e:Gt(e)}function rt(t,e,n){var o;e===void 0&&(e=[]),n===void 0&&(n=!0);const r=Gt(t),i=r===((o=t.ownerDocument)==null?void 0:o.body),s=j(r);if(i){const c=bt(s);return e.concat(s,s.visualViewport||[],it(r)?r:[],c&&n?rt(c):[])}return e.concat(r,rt(r,[],n))}function bt(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function Jt(t){const e=H(t);let n=parseFloat(e.width)||0,o=parseFloat(e.height)||0;const r=I(t),i=r?t.offsetWidth:n,s=r?t.offsetHeight:o,c=at(n)!==i||at(o)!==s;return c&&(n=i,o=s),{width:n,height:o,$:c}}function Et(t){return W(t)?t:t.contextElement}function J(t){const e=Et(t);if(!I(e))return z(1);const n=e.getBoundingClientRect(),{width:o,height:r,$:i}=Jt(e);let s=(i?at(n.width):n.width)/o,c=(i?at(n.height):n.height)/r;return(!s||!Number.isFinite(s))&&(s=1),(!c||!Number.isFinite(c))&&(c=1),{x:s,y:c}}const rn=z(0);function Qt(t){const e=j(t);return!St()||!e.visualViewport?rn:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function sn(t,e,n){return e===void 0&&(e=!1),!n||e&&n!==j(t)?!1:e}function G(t,e,n,o){e===void 0&&(e=!1),n===void 0&&(n=!1);const r=t.getBoundingClientRect(),i=Et(t);let s=z(1);e&&(o?W(o)&&(s=J(o)):s=J(t));const c=sn(i,n,o)?Qt(i):z(0);let l=(r.left+c.x)/s.x,a=(r.top+c.y)/s.y,f=r.width/s.x,u=r.height/s.y;if(i){const m=j(i),d=o&&W(o)?j(o):o;let p=m,h=bt(p);for(;h&&o&&d!==p;){const w=J(h),g=h.getBoundingClientRect(),x=H(h),b=g.left+(h.clientLeft+parseFloat(x.paddingLeft))*w.x,y=g.top+(h.clientTop+parseFloat(x.paddingTop))*w.y;l*=w.x,a*=w.y,f*=w.x,u*=w.y,l+=b,a+=y,p=j(h),h=bt(p)}}return ut({width:f,height:u,x:l,y:a})}function gt(t,e){const n=ht(t).scrollLeft;return e?e.left+n:G(q(t)).left+n}function te(t,e){const n=t.getBoundingClientRect(),o=n.left+e.scrollLeft-gt(t,n),r=n.top+e.scrollTop;return{x:o,y:r}}function cn(t){let{elements:e,rect:n,offsetParent:o,strategy:r}=t;const i=r==="fixed",s=q(o),c=e?mt(e.floating):!1;if(o===s||c&&i)return n;let l={scrollLeft:0,scrollTop:0},a=z(1);const f=z(0),u=I(o);if((u||!u&&!i)&&((et(o)!=="body"||it(s))&&(l=ht(o)),I(o))){const d=G(o);a=J(o),f.x=d.x+o.clientLeft,f.y=d.y+o.clientTop}const m=s&&!u&&!i?te(s,l):z(0);return{width:n.width*a.x,height:n.height*a.y,x:n.x*a.x-l.scrollLeft*a.x+f.x+m.x,y:n.y*a.y-l.scrollTop*a.y+f.y+m.y}}function ln(t){return Array.from(t.getClientRects())}function an(t){const e=q(t),n=ht(t),o=t.ownerDocument.body,r=_(e.scrollWidth,e.clientWidth,o.scrollWidth,o.clientWidth),i=_(e.scrollHeight,e.clientHeight,o.scrollHeight,o.clientHeight);let s=-n.scrollLeft+gt(t);const c=-n.scrollTop;return H(o).direction==="rtl"&&(s+=_(e.clientWidth,o.clientWidth)-r),{width:r,height:i,x:s,y:c}}const Ht=25;function fn(t,e){const n=j(t),o=q(t),r=n.visualViewport;let i=o.clientWidth,s=o.clientHeight,c=0,l=0;if(r){i=r.width,s=r.height;const f=St();(!f||f&&e==="fixed")&&(c=r.offsetLeft,l=r.offsetTop)}const a=gt(o);if(a<=0){const f=o.ownerDocument,u=f.body,m=getComputedStyle(u),d=f.compatMode==="CSS1Compat"&&parseFloat(m.marginLeft)+parseFloat(m.marginRight)||0,p=Math.abs(o.clientWidth-u.clientWidth-d);p<=Ht&&(i-=p)}else a<=Ht&&(i+=a);return{width:i,height:s,x:c,y:l}}const un=new Set(["absolute","fixed"]);function dn(t,e){const n=G(t,!0,e==="fixed"),o=n.top+t.clientTop,r=n.left+t.clientLeft,i=I(t)?J(t):z(1),s=t.clientWidth*i.x,c=t.clientHeight*i.y,l=r*i.x,a=o*i.y;return{width:s,height:c,x:l,y:a}}function Bt(t,e,n){let o;if(e==="viewport")o=fn(t,n);else if(e==="document")o=an(q(t));else if(W(e))o=dn(e,n);else{const r=Qt(t);o={x:e.x-r.x,y:e.y-r.y,width:e.width,height:e.height}}return ut(o)}function ee(t,e){const n=K(t);return n===e||!W(n)||Q(n)?!1:H(n).position==="fixed"||ee(n,e)}function pn(t,e){const n=e.get(t);if(n)return n;let o=rt(t,[],!1).filter(c=>W(c)&&et(c)!=="body"),r=null;const i=H(t).position==="fixed";let s=i?K(t):t;for(;W(s)&&!Q(s);){const c=H(s),l=Ct(s);!l&&c.position==="fixed"&&(r=null),(i?!l&&!r:!l&&c.position==="static"&&!!r&&un.has(r.position)||it(s)&&!l&&ee(t,s))?o=o.filter(f=>f!==s):r=c,s=K(s)}return e.set(t,o),o}function mn(t){let{element:e,boundary:n,rootBoundary:o,strategy:r}=t;const s=[...n==="clippingAncestors"?mt(e)?[]:pn(e,this._c):[].concat(n),o],c=s[0],l=s.reduce((a,f)=>{const u=Bt(e,f,r);return a.top=_(u.top,a.top),a.right=Z(u.right,a.right),a.bottom=Z(u.bottom,a.bottom),a.left=_(u.left,a.left),a},Bt(e,c,r));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function hn(t){const{width:e,height:n}=Jt(t);return{width:e,height:n}}function gn(t,e,n){const o=I(e),r=q(e),i=n==="fixed",s=G(t,!0,i,e);let c={scrollLeft:0,scrollTop:0};const l=z(0);function a(){l.x=gt(r)}if(o||!o&&!i)if((et(e)!=="body"||it(r))&&(c=ht(e)),o){const d=G(e,!0,i,e);l.x=d.x+e.clientLeft,l.y=d.y+e.clientTop}else r&&a();i&&!o&&r&&a();const f=r&&!o&&!i?te(r,c):z(0),u=s.left+c.scrollLeft-l.x-f.x,m=s.top+c.scrollTop-l.y-f.y;return{x:u,y:m,width:s.width,height:s.height}}function wt(t){return H(t).position==="static"}function Vt(t,e){if(!I(t)||H(t).position==="fixed")return null;if(e)return e(t);let n=t.offsetParent;return q(t)===n&&(n=n.ownerDocument.body),n}function ne(t,e){const n=j(t);if(mt(t))return n;if(!I(t)){let r=K(t);for(;r&&!Q(r);){if(W(r)&&!wt(r))return r;r=K(r)}return n}let o=Vt(t,e);for(;o&&Ge(o)&&wt(o);)o=Vt(o,e);return o&&Q(o)&&wt(o)&&!Ct(o)?n:o||nn(t)||n}const wn=async function(t){const e=this.getOffsetParent||ne,n=this.getDimensions,o=await n(t.floating);return{reference:gn(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function xn(t){return H(t).direction==="rtl"}const yn={convertOffsetParentRelativeRectToViewportRelativeRect:cn,getDocumentElement:q,getClippingRect:mn,getOffsetParent:ne,getElementRects:wn,getClientRects:ln,getDimensions:hn,getScale:J,isElement:W,isRTL:xn};function oe(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function vn(t,e){let n=null,o;const r=q(t);function i(){var c;clearTimeout(o),(c=n)==null||c.disconnect(),n=null}function s(c,l){c===void 0&&(c=!1),l===void 0&&(l=1),i();const a=t.getBoundingClientRect(),{left:f,top:u,width:m,height:d}=a;if(c||e(),!m||!d)return;const p=ct(u),h=ct(r.clientWidth-(f+m)),w=ct(r.clientHeight-(u+d)),g=ct(f),b={rootMargin:-p+"px "+-h+"px "+-w+"px "+-g+"px",threshold:_(0,Z(1,l))||1};let y=!0;function v(P){const O=P[0].intersectionRatio;if(O!==l){if(!y)return s();O?s(!1,O):o=setTimeout(()=>{s(!1,1e-7)},1e3)}O===1&&!oe(a,t.getBoundingClientRect())&&s(),y=!1}try{n=new IntersectionObserver(v,{...b,root:r.ownerDocument})}catch{n=new IntersectionObserver(v,b)}n.observe(t)}return s(!0),i}function bn(t,e,n,o){o===void 0&&(o={});const{ancestorScroll:r=!0,ancestorResize:i=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:c=typeof IntersectionObserver=="function",animationFrame:l=!1}=o,a=Et(t),f=r||i?[...a?rt(a):[],...rt(e)]:[];f.forEach(g=>{r&&g.addEventListener("scroll",n,{passive:!0}),i&&g.addEventListener("resize",n)});const u=a&&c?vn(a,n):null;let m=-1,d=null;s&&(d=new ResizeObserver(g=>{let[x]=g;x&&x.target===a&&d&&(d.unobserve(e),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var b;(b=d)==null||b.observe(e)})),n()}),a&&!l&&d.observe(a),d.observe(e));let p,h=l?G(t):null;l&&w();function w(){const g=G(t);h&&!oe(h,g)&&n(),h=g,p=requestAnimationFrame(w)}return n(),()=>{var g;f.forEach(x=>{r&&x.removeEventListener("scroll",n),i&&x.removeEventListener("resize",n)}),u?.(),(g=d)==null||g.disconnect(),d=null,l&&cancelAnimationFrame(p)}}const An=qe,Rn=Xe,On=Ve,Pn=Ue,Cn=ze,zt=Be,Sn=Ye,En=(t,e,n)=>{const o=new Map,r={platform:yn,...n},i={...r.platform,_c:o};return He(t,e,{...r,platform:i})};var Dn=typeof document<"u",Ln=function(){},lt=Dn?qt.useLayoutEffect:Ln;function dt(t,e){if(t===e)return!0;if(typeof t!=typeof e)return!1;if(typeof t=="function"&&t.toString()===e.toString())return!0;let n,o,r;if(t&&e&&typeof t=="object"){if(Array.isArray(t)){if(n=t.length,n!==e.length)return!1;for(o=n;o--!==0;)if(!dt(t[o],e[o]))return!1;return!0}if(r=Object.keys(t),n=r.length,n!==Object.keys(e).length)return!1;for(o=n;o--!==0;)if(!{}.hasOwnProperty.call(e,r[o]))return!1;for(o=n;o--!==0;){const i=r[o];if(!(i==="_owner"&&t.$$typeof)&&!dt(t[i],e[i]))return!1}return!0}return t!==t&&e!==e}function re(t){return typeof window>"u"?1:(t.ownerDocument.defaultView||window).devicePixelRatio||1}function It(t,e){const n=re(t);return Math.round(e*n)/n}function xt(t){const e=R.useRef(t);return lt(()=>{e.current=t}),e}function Mn(t){t===void 0&&(t={});const{placement:e="bottom",strategy:n="absolute",middleware:o=[],platform:r,elements:{reference:i,floating:s}={},transform:c=!0,whileElementsMounted:l,open:a}=t,[f,u]=R.useState({x:0,y:0,strategy:n,placement:e,middlewareData:{},isPositioned:!1}),[m,d]=R.useState(o);dt(m,o)||d(o);const[p,h]=R.useState(null),[w,g]=R.useState(null),x=R.useCallback(A=>{A!==P.current&&(P.current=A,h(A))},[]),b=R.useCallback(A=>{A!==O.current&&(O.current=A,g(A))},[]),y=i||p,v=s||w,P=R.useRef(null),O=R.useRef(null),M=R.useRef(f),F=l!=null,L=xt(l),$=xt(r),k=xt(a),S=R.useCallback(()=>{if(!P.current||!O.current)return;const A={placement:e,strategy:n,middleware:m};$.current&&(A.platform=$.current),En(P.current,O.current,A).then(T=>{const B={...T,isPositioned:k.current!==!1};C.current&&!dt(M.current,B)&&(M.current=B,Ee.flushSync(()=>{u(B)}))})},[m,e,n,$,k]);lt(()=>{a===!1&&M.current.isPositioned&&(M.current.isPositioned=!1,u(A=>({...A,isPositioned:!1})))},[a]);const C=R.useRef(!1);lt(()=>(C.current=!0,()=>{C.current=!1}),[]),lt(()=>{if(y&&(P.current=y),v&&(O.current=v),y&&v){if(L.current)return L.current(y,v,S);S()}},[y,v,S,L,F]);const N=R.useMemo(()=>({reference:P,floating:O,setReference:x,setFloating:b}),[x,b]),E=R.useMemo(()=>({reference:y,floating:v}),[y,v]),D=R.useMemo(()=>{const A={position:n,left:0,top:0};if(!E.floating)return A;const T=It(E.floating,f.x),B=It(E.floating,f.y);return c?{...A,transform:"translate("+T+"px, "+B+"px)",...re(E.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:T,top:B}},[n,c,E.floating,f.x,f.y]);return R.useMemo(()=>({...f,update:S,refs:N,elements:E,floatingStyles:D}),[f,S,N,E,D])}const Tn=t=>{function e(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:t,fn(n){const{element:o,padding:r}=typeof t=="function"?t(n):t;return o&&e(o)?o.current!=null?zt({element:o.current,padding:r}).fn(n):{}:o?zt({element:o,padding:r}).fn(n):{}}}},$n=(t,e)=>({...An(t),options:[t,e]}),kn=(t,e)=>({...Rn(t),options:[t,e]}),Fn=(t,e)=>({...Sn(t),options:[t,e]}),Nn=(t,e)=>({...On(t),options:[t,e]}),_n=(t,e)=>({...Pn(t),options:[t,e]}),jn=(t,e)=>({...Cn(t),options:[t,e]}),Wn=(t,e)=>({...Tn(t),options:[t,e]});var Hn="Arrow",ie=R.forwardRef((t,e)=>{const{children:n,width:o=10,height:r=5,...i}=t;return X.jsxRuntimeExports.jsx(At.Primitive.svg,{...i,ref:e,width:o,height:r,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:t.asChild?n:X.jsxRuntimeExports.jsx("polygon",{points:"0,0 30,0 15,10"})})});ie.displayName=Hn;var Bn=ie,Dt="Popper",[se,Vn]=Pe.createContextScope(Dt),[zn,ce]=se(Dt),le=t=>{const{__scopePopper:e,children:n}=t,[o,r]=R.useState(null);return X.jsxRuntimeExports.jsx(zn,{scope:e,anchor:o,onAnchorChange:r,children:n})};le.displayName=Dt;var ae="PopperAnchor",fe=R.forwardRef((t,e)=>{const{__scopePopper:n,virtualRef:o,...r}=t,i=ce(ae,n),s=R.useRef(null),c=Xt.useComposedRefs(e,s),l=R.useRef(null);return R.useEffect(()=>{const a=l.current;l.current=o?.current||s.current,a!==l.current&&i.onAnchorChange(l.current)}),o?null:X.jsxRuntimeExports.jsx(At.Primitive.div,{...r,ref:c})});fe.displayName=ae;var Lt="PopperContent",[In,qn]=se(Lt),ue=R.forwardRef((t,e)=>{const{__scopePopper:n,side:o="bottom",sideOffset:r=0,align:i="center",alignOffset:s=0,arrowPadding:c=0,avoidCollisions:l=!0,collisionBoundary:a=[],collisionPadding:f=0,sticky:u="partial",hideWhenDetached:m=!1,updatePositionStrategy:d="optimized",onPlaced:p,...h}=t,w=ce(Lt,n),[g,x]=R.useState(null),b=Xt.useComposedRefs(e,nt=>x(nt)),[y,v]=R.useState(null),P=Se.useSize(y),O=P?.width??0,M=P?.height??0,F=o+(i!=="center"?"-"+i:""),L=typeof f=="number"?f:{top:0,right:0,bottom:0,left:0,...f},$=Array.isArray(a)?a:[a],k=$.length>0,S={padding:L,boundary:$.filter(Yn),altBoundary:k},{refs:C,floatingStyles:N,placement:E,isPositioned:D,middlewareData:A}=Mn({strategy:"fixed",placement:F,whileElementsMounted:(...nt)=>bn(...nt,{animationFrame:d==="always"}),elements:{reference:w.anchor},middleware:[$n({mainAxis:r+M,alignmentAxis:s}),l&&kn({mainAxis:!0,crossAxis:!1,limiter:u==="partial"?Fn():void 0,...S}),l&&Nn({...S}),_n({...S,apply:({elements:nt,rects:Tt,availableWidth:ve,availableHeight:be})=>{const{width:Ae,height:Re}=Tt.reference,st=nt.floating.style;st.setProperty("--radix-popper-available-width",`${ve}px`),st.setProperty("--radix-popper-available-height",`${be}px`),st.setProperty("--radix-popper-anchor-width",`${Ae}px`),st.setProperty("--radix-popper-anchor-height",`${Re}px`)}}),y&&Wn({element:y,padding:c}),Un({arrowWidth:O,arrowHeight:M}),m&&jn({strategy:"referenceHidden",...S})]}),[T,B]=me(E),Mt=Ce.useCallbackRef(p);$t.useLayoutEffect2(()=>{D&&Mt?.()},[D,Mt]);const he=A.arrow?.x,ge=A.arrow?.y,we=A.arrow?.centerOffset!==0,[xe,ye]=R.useState();return $t.useLayoutEffect2(()=>{g&&ye(window.getComputedStyle(g).zIndex)},[g]),X.jsxRuntimeExports.jsx("div",{ref:C.setFloating,"data-radix-popper-content-wrapper":"",style:{...N,transform:D?N.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:xe,"--radix-popper-transform-origin":[A.transformOrigin?.x,A.transformOrigin?.y].join(" "),...A.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:t.dir,children:X.jsxRuntimeExports.jsx(In,{scope:n,placedSide:T,onArrowChange:v,arrowX:he,arrowY:ge,shouldHideArrow:we,children:X.jsxRuntimeExports.jsx(At.Primitive.div,{"data-side":T,"data-align":B,...h,ref:b,style:{...h.style,animation:D?void 0:"none"}})})})});ue.displayName=Lt;var de="PopperArrow",Xn={top:"bottom",right:"left",bottom:"top",left:"right"},pe=R.forwardRef(function(e,n){const{__scopePopper:o,...r}=e,i=qn(de,o),s=Xn[i.placedSide];return X.jsxRuntimeExports.jsx("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[s]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0},children:X.jsxRuntimeExports.jsx(Bn,{...r,ref:n,style:{...r.style,display:"block"}})})});pe.displayName=de;function Yn(t){return t!==null}var Un=t=>({name:"transformOrigin",options:t,fn(e){const{placement:n,rects:o,middlewareData:r}=e,s=r.arrow?.centerOffset!==0,c=s?0:t.arrowWidth,l=s?0:t.arrowHeight,[a,f]=me(n),u={start:"0%",center:"50%",end:"100%"}[f],m=(r.arrow?.x??0)+c/2,d=(r.arrow?.y??0)+l/2;let p="",h="";return a==="bottom"?(p=s?u:`${m}px`,h=`${-l}px`):a==="top"?(p=s?u:`${m}px`,h=`${o.floating.height+l}px`):a==="right"?(p=`${-l}px`,h=s?u:`${d}px`):a==="left"&&(p=`${o.floating.width+l}px`,h=s?u:`${d}px`),{data:{x:p,y:h}}}});function me(t){const[e,n="center"]=t.split("-");return[e,n]}var Zn=le,Kn=fe,Gn=ue,Jn=pe;exports.Anchor=Kn;exports.Arrow=Jn;exports.Content=Gn;exports.Root2=Zn;exports.createPopperScope=Vn;
@@ -0,0 +1 @@
1
+ "use client";"use strict";const T=require("react"),E=require("./index-_XxjJPRD.cjs"),g=require("./index-MQ0c3ZX_.cjs");function P(n){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(n){for(const t in n)if(t!=="default"){const r=Object.getOwnPropertyDescriptor(n,t);Object.defineProperty(e,t,r.get?r:{enumerable:!0,get:()=>n[t]})}}return e.default=n,Object.freeze(e)}const o=P(T);function R(n,e){return o.useReducer((t,r)=>e[t][r]??t,n)}var A=n=>{const{present:e,children:t}=n,r=S(e),a=typeof t=="function"?t({present:r.isPresent}):o.Children.only(t),u=E.useComposedRefs(r.ref,v(a));return typeof t=="function"||r.isPresent?o.cloneElement(a,{ref:u}):null};A.displayName="Presence";function S(n){const[e,t]=o.useState(),r=o.useRef(null),a=o.useRef(n),u=o.useRef("none"),p=n?"mounted":"unmounted",[N,s]=R(p,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return o.useEffect(()=>{const i=l(r.current);u.current=N==="mounted"?i:"none"},[N]),g.useLayoutEffect2(()=>{const i=r.current,d=a.current;if(d!==n){const f=u.current,c=l(i);n?s("MOUNT"):c==="none"||i?.display==="none"?s("UNMOUNT"):s(d&&f!==c?"ANIMATION_OUT":"UNMOUNT"),a.current=n}},[n,s]),g.useLayoutEffect2(()=>{if(e){let i;const d=e.ownerDocument.defaultView??window,m=c=>{const y=l(r.current).includes(CSS.escape(c.animationName));if(c.target===e&&y&&(s("ANIMATION_END"),!a.current)){const M=e.style.animationFillMode;e.style.animationFillMode="forwards",i=d.setTimeout(()=>{e.style.animationFillMode==="forwards"&&(e.style.animationFillMode=M)})}},f=c=>{c.target===e&&(u.current=l(r.current))};return e.addEventListener("animationstart",f),e.addEventListener("animationcancel",m),e.addEventListener("animationend",m),()=>{d.clearTimeout(i),e.removeEventListener("animationstart",f),e.removeEventListener("animationcancel",m),e.removeEventListener("animationend",m)}}else s("ANIMATION_END")},[e,s]),{isPresent:["mounted","unmountSuspended"].includes(N),ref:o.useCallback(i=>{r.current=i?getComputedStyle(i):null,t(i)},[])}}function l(n){return n?.animationName||"none"}function v(n){let e=Object.getOwnPropertyDescriptor(n.props,"ref")?.get,t=e&&"isReactWarning"in e&&e.isReactWarning;return t?n.ref:(e=Object.getOwnPropertyDescriptor(n,"ref")?.get,t=e&&"isReactWarning"in e&&e.isReactWarning,t?n.props.ref:n.props.ref||n.ref)}exports.Presence=A;
@@ -1,10 +1,11 @@
1
+ "use client";
1
2
  import l from "react";
2
3
  import { c as Q } from "./index-FxyLF8MY.js";
3
- import { c as W, u as X } from "./index-CUWMxxKG.js";
4
+ import { c as W, u as X } from "./index-CmWhhuj7.js";
4
5
  import { u as Z } from "./index-DLcqcWxM.js";
5
6
  import { u as D, c as $ } from "./index-C0UREtMP.js";
6
7
  import { P as T } from "./index-BMWt1NBG.js";
7
- import { c as O, R as ee, T as oe, C as re } from "./index-BBoIAjAs.js";
8
+ import { c as O, R as ee, T as oe, C as re } from "./index-Ce7JfyIP.js";
8
9
  import { u as te } from "./index-Cv867SGx.js";
9
10
  import { j as n } from "./jsx-runtime-BzflLqGi.js";
10
11
  var d = "Accordion", ne = ["Home", "End", "ArrowDown", "ArrowUp", "ArrowLeft", "ArrowRight"], [N, ce, ae] = W(d), [g] = Q(d, [
@@ -0,0 +1 @@
1
+ "use client";"use strict";const d=require("react"),A=require("./index-cwZN7ZY3.cjs"),g=require("./index-_XxjJPRD.cjs"),E=require("./jsx-runtime-BB_1_6y_.cjs");function v(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const o in e)if(o!=="default"){const n=Object.getOwnPropertyDescriptor(e,o);Object.defineProperty(t,o,n.get?n:{enumerable:!0,get:()=>e[o]})}}return t.default=e,Object.freeze(t)}const l=v(d);function _(e){const t=D(e),o=l.forwardRef((n,r)=>{const{children:c,...u}=n,s=l.Children.toArray(c),m=s.find(T);if(m){const a=m.props.children,y=s.map(S=>S===m?l.Children.count(a)>1?l.Children.only(null):l.isValidElement(a)?a.props.children:null:S);return E.jsxRuntimeExports.jsx(t,{...u,ref:r,children:l.isValidElement(a)?l.cloneElement(a,void 0,y):null})}return E.jsxRuntimeExports.jsx(t,{...u,ref:r,children:c})});return o.displayName=`${e}.Slot`,o}function D(e){const t=l.forwardRef((o,n)=>{const{children:r,...c}=o;if(l.isValidElement(r)){const u=w(r),s=h(c,r.props);return r.type!==l.Fragment&&(s.ref=n?g.composeRefs(n,u):u),l.cloneElement(r,s)}return l.Children.count(r)>1?l.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var P=Symbol("radix.slottable");function T(e){return l.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===P}function h(e,t){const o={...t};for(const n in t){const r=e[n],c=t[n];/^on[A-Z]/.test(n)?r&&c?o[n]=(...s)=>{const m=c(...s);return r(...s),m}:r&&(o[n]=r):n==="style"?o[n]={...r,...c}:n==="className"&&(o[n]=[r,c].filter(Boolean).join(" "))}return{...e,...o}}function w(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,o=t&&"isReactWarning"in t&&t.isReactWarning;return o?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,o=t&&"isReactWarning"in t&&t.isReactWarning,o?e.props.ref:e.props.ref||e.ref)}function V(e){const t=e+"CollectionProvider",[o,n]=A.createContextScope(t),[r,c]=o(t,{collectionRef:{current:null},itemMap:new Map}),u=C=>{const{scope:i,children:R}=C,f=d.useRef(null),p=d.useRef(new Map).current;return E.jsxRuntimeExports.jsx(r,{scope:i,itemMap:p,collectionRef:f,children:R})};u.displayName=t;const s=e+"CollectionSlot",m=_(s),a=d.forwardRef((C,i)=>{const{scope:R,children:f}=C,p=c(s,R),x=g.useComposedRefs(i,p.collectionRef);return E.jsxRuntimeExports.jsx(m,{ref:x,children:f})});a.displayName=s;const y=e+"CollectionItemSlot",S="data-radix-collection-item",b=_(y),j=d.forwardRef((C,i)=>{const{scope:R,children:f,...p}=C,x=d.useRef(null),O=g.useComposedRefs(i,x),I=c(y,R);return d.useEffect(()=>(I.itemMap.set(x,{ref:x,...p}),()=>void I.itemMap.delete(x))),E.jsxRuntimeExports.jsx(b,{[S]:"",ref:O,children:f})});j.displayName=y;function M(C){const i=c(e+"CollectionConsumer",C);return d.useCallback(()=>{const f=i.collectionRef.current;if(!f)return[];const p=Array.from(f.querySelectorAll(`[${S}]`));return Array.from(i.itemMap.values()).sort((I,N)=>p.indexOf(I.ref.current)-p.indexOf(N.ref.current))},[i.collectionRef,i.itemMap])}return[{Provider:u,Slot:a,ItemSlot:j},M,n]}var L=l.createContext(void 0);function q(e){const t=l.useContext(L);return e||t||"ltr"}exports.createCollection=V;exports.useDirection=q;
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import * as u from "react";
2
3
  import { useState as he } from "react";
3
4
  import { u as me } from "./index-DLcqcWxM.js";
@@ -0,0 +1 @@
1
+ "use client";"use strict";const A=require("react"),x=require("./index-BWaO7kQK.cjs"),M=require("./index-cwZN7ZY3.cjs"),f=require("./index-CC6DBo2g.cjs"),N=require("./index-DE3jjVoC.cjs"),m=require("./index-CocSS1YK.cjs"),q=require("./index-Da298sEl.cjs"),F=require("./index-WIv2ndLu.cjs"),d=require("./jsx-runtime-BB_1_6y_.cjs");function $(e){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const o in e)if(o!=="default"){const t=Object.getOwnPropertyDescriptor(e,o);Object.defineProperty(n,o,t.get?t:{enumerable:!0,get:()=>e[o]})}}return n.default=e,Object.freeze(n)}const v=$(A);var g="Tabs",[w]=M.createContextScope(g,[f.createRovingFocusGroupScope]),R=f.createRovingFocusGroupScope(),[D,T]=w(g),j=v.forwardRef((e,n)=>{const{__scopeTabs:o,value:t,onValueChange:i,defaultValue:c,orientation:r="horizontal",dir:u,activationMode:p="automatic",...b}=e,s=q.useDirection(u),[a,l]=x.useControllableState({prop:t,onChange:i,defaultProp:c??"",caller:g});return d.jsxRuntimeExports.jsx(D,{scope:o,baseId:F.useId(),value:a,onValueChange:l,orientation:r,dir:s,activationMode:p,children:d.jsxRuntimeExports.jsx(m.Primitive.div,{dir:s,"data-orientation":r,...b,ref:n})})});j.displayName=g;var E="TabsList",C=v.forwardRef((e,n)=>{const{__scopeTabs:o,loop:t=!0,...i}=e,c=T(E,o),r=R(o);return d.jsxRuntimeExports.jsx(f.Root,{asChild:!0,...r,orientation:c.orientation,dir:c.dir,loop:t,children:d.jsxRuntimeExports.jsx(m.Primitive.div,{role:"tablist","aria-orientation":c.orientation,...i,ref:n})})});C.displayName=E;var h="TabsTrigger",I=v.forwardRef((e,n)=>{const{__scopeTabs:o,value:t,disabled:i=!1,...c}=e,r=T(h,o),u=R(o),p=P(r.baseId,t),b=S(r.baseId,t),s=t===r.value;return d.jsxRuntimeExports.jsx(f.Item,{asChild:!0,...u,focusable:!i,active:s,children:d.jsxRuntimeExports.jsx(m.Primitive.button,{type:"button",role:"tab","aria-selected":s,"aria-controls":b,"data-state":s?"active":"inactive","data-disabled":i?"":void 0,disabled:i,id:p,...c,ref:n,onMouseDown:x.composeEventHandlers(e.onMouseDown,a=>{!i&&a.button===0&&a.ctrlKey===!1?r.onValueChange(t):a.preventDefault()}),onKeyDown:x.composeEventHandlers(e.onKeyDown,a=>{[" ","Enter"].includes(a.key)&&r.onValueChange(t)}),onFocus:x.composeEventHandlers(e.onFocus,()=>{const a=r.activationMode!=="manual";!s&&!i&&a&&r.onValueChange(t)})})})});I.displayName=h;var _="TabsContent",y=v.forwardRef((e,n)=>{const{__scopeTabs:o,value:t,forceMount:i,children:c,...r}=e,u=T(_,o),p=P(u.baseId,t),b=S(u.baseId,t),s=t===u.value,a=v.useRef(s);return v.useEffect(()=>{const l=requestAnimationFrame(()=>a.current=!1);return()=>cancelAnimationFrame(l)},[]),d.jsxRuntimeExports.jsx(N.Presence,{present:i||s,children:({present:l})=>d.jsxRuntimeExports.jsx(m.Primitive.div,{"data-state":s?"active":"inactive","data-orientation":u.orientation,role:"tabpanel","aria-labelledby":p,hidden:!l,id:b,tabIndex:0,...r,ref:n,style:{...e.style,animationDuration:a.current?"0s":void 0},children:l&&c})})});y.displayName=_;function P(e,n){return`${e}-trigger-${n}`}function S(e,n){return`${e}-content-${n}`}var G=j,V=C,O=I,L=y;exports.Content=L;exports.List=V;exports.Root2=G;exports.Trigger=O;
@@ -1,16 +1,17 @@
1
+ "use client";
1
2
  import * as o from "react";
2
3
  import { c as v } from "./index-C0UREtMP.js";
3
- import { c as ze, u as Ze } from "./index-CUWMxxKG.js";
4
+ import { c as ze, u as Ze } from "./index-CmWhhuj7.js";
4
5
  import { c as pe, u as D } from "./index-DLcqcWxM.js";
5
6
  import { c as qe } from "./index-FxyLF8MY.js";
6
- import { D as Je } from "./index-CZZ3llmi.js";
7
- import { h as Qe, u as en, R as nn, F as tn } from "./index-CBjZooac.js";
7
+ import { D as Je } from "./index-BPOsnOxS.js";
8
+ import { h as Qe, u as en, R as nn, F as tn } from "./index-e0gNU5O1.js";
8
9
  import { u as de } from "./index-Cv867SGx.js";
9
- import { c as me, R as he, A as on, C as rn, a as sn } from "./index-B0M7VOwp.js";
10
- import { P as cn } from "./index-BX9hz-JD.js";
11
- import { P as W } from "./index-BpWB3aFK.js";
10
+ import { c as me, R as he, A as on, C as rn, a as sn } from "./index-BAEhLEFF.js";
11
+ import { P as cn } from "./index-CZWDxvEo.js";
12
+ import { P as W } from "./index-CSFEzRxy.js";
12
13
  import { P as N, d as an } from "./index-BMWt1NBG.js";
13
- import { c as Ce, I as un, R as ln } from "./index-Se4vRnIO.js";
14
+ import { c as Ce, I as un, R as ln } from "./index-B6gxHWt9.js";
14
15
  import { j as u } from "./jsx-runtime-BzflLqGi.js";
15
16
  import { u as q } from "./index-0ioNhtNM.js";
16
17
  // @__NO_SIDE_EFFECTS__
@@ -1,4 +1,4 @@
1
- "use strict";const i=require("./jsx-runtime-BB_1_6y_.cjs"),r=require("./index-DoxiiusW.cjs");require("react");function t({className:d,type:a,...e}){return i.jsxRuntimeExports.jsx("input",{type:a,"data-slot":"input",className:r.cn(`
1
+ "use client";"use strict";const i=require("./jsx-runtime-BB_1_6y_.cjs"),r=require("./index-DoxiiusW.cjs");require("react");function t({className:d,type:e,...a}){return i.jsxRuntimeExports.jsx("input",{type:e,"data-slot":"input",className:r.cn(`
2
2
  adm:h-9 adm:w-full adm:min-w-0 adm:rounded-md adm:border
3
3
  adm:border-input adm:bg-transparent adm:px-3 adm:py-1 adm:text-base
4
4
  adm:shadow-xs adm:transition-[color,box-shadow] adm:outline-none
@@ -18,4 +18,4 @@
18
18
  adm:aria-invalid:border-destructive
19
19
  adm:aria-invalid:ring-destructive/20
20
20
  adm:dark:aria-invalid:ring-destructive/40
21
- `,d),...e})}exports.Input=t;
21
+ `,d),...a})}exports.Input=t;
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { j as i } from "./jsx-runtime-BzflLqGi.js";
2
3
  import { c as r } from "./index-CRiPKpXj.js";
3
4
  import "react";
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=require("./jsx-runtime-BB_1_6y_.cjs"),m=require("./button-r2Y2aX25.cjs"),i=require("./input-DSmxdfq5.cjs"),u=require("./textarea-CG7iQcb3.cjs"),n=require("./index-DoxiiusW.cjs"),s=require("./index-BTzZJcis.cjs");require("react");function p({className:t,...a}){return d.jsxRuntimeExports.jsx("div",{"data-slot":"input-group",role:"group",className:n.cn(`
1
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=require("./jsx-runtime-BB_1_6y_.cjs"),m=require("./button-hCW1Pww0.cjs"),i=require("./input-CWDpI1Ua.cjs"),u=require("./textarea-DkFUS_oS.cjs"),n=require("./index-DoxiiusW.cjs"),s=require("./index-BTzZJcis.cjs");require("react");function p({className:t,...a}){return d.jsxRuntimeExports.jsx("div",{"data-slot":"input-group",role:"group",className:n.cn(`
2
2
  adm:group/input-group adm:relative adm:flex adm:w-full
3
3
  adm:items-center adm:rounded-md adm:border adm:border-input
4
4
  adm:shadow-xs adm:transition-[color,box-shadow] adm:outline-none
@@ -1,7 +1,8 @@
1
+ "use client";
1
2
  import { j as d } from "./jsx-runtime-BzflLqGi.js";
2
- import { B as m } from "./button-BXTNbWAk.js";
3
- import { I as i } from "./input-BQZUpTEY.js";
4
- import { T as u } from "./textarea-CUPWKl-S.js";
3
+ import { B as m } from "./button-CBy_oQDu.js";
4
+ import { I as i } from "./input-DFvZLcgm.js";
5
+ import { T as u } from "./textarea-BRCnIxdB.js";
5
6
  import { c as n } from "./index-CRiPKpXj.js";
6
7
  import { c as o } from "./index-BqtVL8d-.js";
7
8
  import "react";
package/dist/input.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./input-DSmxdfq5.cjs");exports.Input=t.Input;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./input-CWDpI1Ua.cjs");exports.Input=t.Input;
package/dist/input.js CHANGED
@@ -1,4 +1,4 @@
1
- import { I as r } from "./input-BQZUpTEY.js";
1
+ import { I as r } from "./input-DFvZLcgm.js";
2
2
  export {
3
3
  r as Input
4
4
  };
package/dist/kbd.cjs CHANGED
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./jsx-runtime-BB_1_6y_.cjs"),d=require("./index-DoxiiusW.cjs");function n({className:t,...e}){return a.jsxRuntimeExports.jsx("kbd",{"data-slot":"kbd",className:d.cn(`
1
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./jsx-runtime-BB_1_6y_.cjs"),d=require("./index-DoxiiusW.cjs");function n({className:t,...e}){return a.jsxRuntimeExports.jsx("kbd",{"data-slot":"kbd",className:d.cn(`
2
2
  adm:pointer-events-none adm:inline-flex adm:h-5 adm:w-fit adm:min-w-5
3
3
  adm:items-center adm:justify-center adm:gap-1 adm:rounded-sm
4
4
  adm:bg-muted adm:px-1 adm:font-sans adm:text-xs adm:font-medium
package/dist/kbd.js CHANGED
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { j as d } from "./jsx-runtime-BzflLqGi.js";
2
3
  import { c as e } from "./index-CRiPKpXj.js";
3
4
  function o({ className: t, ...a }) {
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { j as r } from "./jsx-runtime-BzflLqGi.js";
2
3
  import * as d from "react";
3
4
  import { P as m } from "./index-BMWt1NBG.js";
@@ -0,0 +1,7 @@
1
+ "use client";"use strict";const n=require("./jsx-runtime-BB_1_6y_.cjs"),d=require("react"),s=require("./index-CocSS1YK.cjs"),i=require("./index-DoxiiusW.cjs");function u(e){const a=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(a,t,r.get?r:{enumerable:!0,get:()=>e[t]})}}return a.default=e,Object.freeze(a)}const l=u(d);var c="Label",o=l.forwardRef((e,a)=>n.jsxRuntimeExports.jsx(s.Primitive.label,{...e,ref:a,onMouseDown:t=>{t.target.closest("button, input, select, textarea")||(e.onMouseDown?.(t),!t.defaultPrevented&&t.detail>1&&t.preventDefault())}}));o.displayName=c;var m=o;function f({className:e,...a}){return n.jsxRuntimeExports.jsx(m,{"data-slot":"label",className:i.cn(`
2
+ adm:flex adm:items-center adm:gap-2 adm:text-xs adm:leading-none
3
+ adm:font-medium adm:text-muted-foreground adm:select-none
4
+ adm:group-data-[disabled=true]:pointer-events-none
5
+ adm:group-data-[disabled=true]:opacity-50
6
+ adm:peer-disabled:cursor-not-allowed adm:peer-disabled:opacity-50
7
+ `,e),...a})}exports.Label=f;
package/dist/label.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./label-1jx6a0Sm.cjs");exports.Label=e.Label;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./label-DqfX9cHc.cjs");exports.Label=e.Label;
package/dist/label.js CHANGED
@@ -1,4 +1,4 @@
1
- import { L as o } from "./label-CrsELeIw.js";
1
+ import { L as o } from "./label-C6zVnc3d.js";
2
2
  export {
3
3
  o as Label
4
4
  };
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./jsx-runtime-BB_1_6y_.cjs"),m=require("./button-r2Y2aX25.cjs"),s=require("./icon-Bg5HV6Ls.cjs"),i=require("./index-DoxiiusW.cjs");require("react");function l({className:a,...n}){return t.jsxRuntimeExports.jsx("nav",{role:"navigation","aria-label":"pagination","data-slot":"pagination",className:i.cn("adm:mx-auto adm:flex adm:w-full adm:justify-center",a),...n})}function x({className:a,...n}){return t.jsxRuntimeExports.jsx("ul",{"data-slot":"pagination-content",className:i.cn("adm:flex adm:flex-row adm:items-center adm:gap-1",a),...n})}function u({...a}){return t.jsxRuntimeExports.jsx("li",{"data-slot":"pagination-item",...a})}function o({className:a,isActive:n,size:e="icon",...r}){return t.jsxRuntimeExports.jsx("a",{"aria-current":n?"page":void 0,"data-slot":"pagination-link","data-active":n,className:i.cn(m.buttonVariants({variant:n?"outline":"ghost",size:e}),a),...r})}function c({className:a,children:n,...e}){return t.jsxRuntimeExports.jsxs(o,{"aria-label":"Go to previous page",size:"default",className:i.cn(`
1
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./jsx-runtime-BB_1_6y_.cjs"),m=require("./button-hCW1Pww0.cjs"),s=require("./icon-DPMQJBkA.cjs"),i=require("./index-DoxiiusW.cjs");require("react");function l({className:a,...n}){return t.jsxRuntimeExports.jsx("nav",{role:"navigation","aria-label":"pagination","data-slot":"pagination",className:i.cn("adm:mx-auto adm:flex adm:w-full adm:justify-center",a),...n})}function x({className:a,...n}){return t.jsxRuntimeExports.jsx("ul",{"data-slot":"pagination-content",className:i.cn("adm:flex adm:flex-row adm:items-center adm:gap-1",a),...n})}function u({...a}){return t.jsxRuntimeExports.jsx("li",{"data-slot":"pagination-item",...a})}function o({className:a,isActive:n,size:e="icon",...r}){return t.jsxRuntimeExports.jsx("a",{"aria-current":n?"page":void 0,"data-slot":"pagination-link","data-active":n,className:i.cn(m.buttonVariants({variant:n?"outline":"ghost",size:e}),a),...r})}function c({className:a,children:n,...e}){return t.jsxRuntimeExports.jsxs(o,{"aria-label":"Go to previous page",size:"default",className:i.cn(`
2
2
  adm:gap-1 adm:px-2.5
3
3
  adm:sm:pl-2.5
4
4
  `,a),...e,children:[t.jsxRuntimeExports.jsx(s.Icon,{symbol:"chevron_left",className:"adm:text-lg"}),t.jsxRuntimeExports.jsx("span",{className:`
@@ -1,6 +1,7 @@
1
+ "use client";
1
2
  import { j as t } from "./jsx-runtime-BzflLqGi.js";
2
- import { b as r } from "./button-BXTNbWAk.js";
3
- import { I as i } from "./icon-DG_i4bz2.js";
3
+ import { b as l } from "./button-CBy_oQDu.js";
4
+ import { I as i } from "./icon-DKAhvlX_.js";
4
5
  import { c as e } from "./index-CRiPKpXj.js";
5
6
  import "react";
6
7
  function x({ className: a, ...n }) {
@@ -44,7 +45,7 @@ function o({
44
45
  "data-slot": "pagination-link",
45
46
  "data-active": n,
46
47
  className: e(
47
- r({
48
+ l({
48
49
  variant: n ? "outline" : "ghost",
49
50
  size: s
50
51
  }),
@@ -1,70 +1,71 @@
1
+ "use client";
1
2
  import { j as c } from "./jsx-runtime-BzflLqGi.js";
2
3
  import * as s from "react";
3
4
  import { u as $, c as g } from "./index-C0UREtMP.js";
4
5
  import { c as V, u as A } from "./index-DLcqcWxM.js";
5
6
  import { c as L } from "./index-FxyLF8MY.js";
6
- import { D as W } from "./index-CZZ3llmi.js";
7
- import { h as H, R as z, u as G, F as B } from "./index-CBjZooac.js";
7
+ import { D as W } from "./index-BPOsnOxS.js";
8
+ import { h as H, R as z, u as G, F as B } from "./index-e0gNU5O1.js";
8
9
  import { u as K } from "./index-Cv867SGx.js";
9
- import { c as O, R as Z, A as E, C as U, a as q } from "./index-B0M7VOwp.js";
10
- import { P as J } from "./index-BX9hz-JD.js";
11
- import { P as _ } from "./index-BpWB3aFK.js";
10
+ import { c as O, R as Z, A as E, C as U, a as q } from "./index-BAEhLEFF.js";
11
+ import { P as J } from "./index-CZWDxvEo.js";
12
+ import { P as _ } from "./index-CSFEzRxy.js";
12
13
  import { P as y } from "./index-BMWt1NBG.js";
13
14
  import { c as Q } from "./index-CRiPKpXj.js";
14
15
  // @__NO_SIDE_EFFECTS__
15
16
  function X(e) {
16
- const r = /* @__PURE__ */ Y(e), t = s.forwardRef((n, o) => {
17
+ const t = /* @__PURE__ */ Y(e), r = s.forwardRef((n, o) => {
17
18
  const { children: a, ...i } = n, p = s.Children.toArray(a), l = p.find(oe);
18
19
  if (l) {
19
- const d = l.props.children, v = p.map((f) => f === l ? s.Children.count(d) > 1 ? s.Children.only(null) : s.isValidElement(d) ? d.props.children : null : f);
20
- return /* @__PURE__ */ c.jsx(r, { ...i, ref: o, children: s.isValidElement(d) ? s.cloneElement(d, void 0, v) : null });
20
+ const u = l.props.children, v = p.map((f) => f === l ? s.Children.count(u) > 1 ? s.Children.only(null) : s.isValidElement(u) ? u.props.children : null : f);
21
+ return /* @__PURE__ */ c.jsx(t, { ...i, ref: o, children: s.isValidElement(u) ? s.cloneElement(u, void 0, v) : null });
21
22
  }
22
- return /* @__PURE__ */ c.jsx(r, { ...i, ref: o, children: a });
23
+ return /* @__PURE__ */ c.jsx(t, { ...i, ref: o, children: a });
23
24
  });
24
- return t.displayName = `${e}.Slot`, t;
25
+ return r.displayName = `${e}.Slot`, r;
25
26
  }
26
27
  // @__NO_SIDE_EFFECTS__
27
28
  function Y(e) {
28
- const r = s.forwardRef((t, n) => {
29
- const { children: o, ...a } = t;
29
+ const t = s.forwardRef((r, n) => {
30
+ const { children: o, ...a } = r;
30
31
  if (s.isValidElement(o)) {
31
- const i = te(o), p = re(a, o.props);
32
+ const i = re(o), p = te(a, o.props);
32
33
  return o.type !== s.Fragment && (p.ref = n ? V(n, i) : i), s.cloneElement(o, p);
33
34
  }
34
35
  return s.Children.count(o) > 1 ? s.Children.only(null) : null;
35
36
  });
36
- return r.displayName = `${e}.SlotClone`, r;
37
+ return t.displayName = `${e}.SlotClone`, t;
37
38
  }
38
39
  var ee = Symbol("radix.slottable");
39
40
  function oe(e) {
40
41
  return s.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === ee;
41
42
  }
42
- function re(e, r) {
43
- const t = { ...r };
44
- for (const n in r) {
45
- const o = e[n], a = r[n];
46
- /^on[A-Z]/.test(n) ? o && a ? t[n] = (...p) => {
43
+ function te(e, t) {
44
+ const r = { ...t };
45
+ for (const n in t) {
46
+ const o = e[n], a = t[n];
47
+ /^on[A-Z]/.test(n) ? o && a ? r[n] = (...p) => {
47
48
  const l = a(...p);
48
49
  return o(...p), l;
49
- } : o && (t[n] = o) : n === "style" ? t[n] = { ...o, ...a } : n === "className" && (t[n] = [o, a].filter(Boolean).join(" "));
50
+ } : o && (r[n] = o) : n === "style" ? r[n] = { ...o, ...a } : n === "className" && (r[n] = [o, a].filter(Boolean).join(" "));
50
51
  }
51
- return { ...e, ...t };
52
+ return { ...e, ...r };
52
53
  }
53
- function te(e) {
54
- let r = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, t = r && "isReactWarning" in r && r.isReactWarning;
55
- return t ? e.ref : (r = Object.getOwnPropertyDescriptor(e, "ref")?.get, t = r && "isReactWarning" in r && r.isReactWarning, t ? e.props.ref : e.props.ref || e.ref);
54
+ function re(e) {
55
+ let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, r = t && "isReactWarning" in t && t.isReactWarning;
56
+ return r ? e.ref : (t = Object.getOwnPropertyDescriptor(e, "ref")?.get, r = t && "isReactWarning" in t && t.isReactWarning, r ? e.props.ref : e.props.ref || e.ref);
56
57
  }
57
58
  var C = "Popover", [j] = L(C, [
58
59
  O
59
- ]), h = O(), [ne, u] = j(C), b = (e) => {
60
+ ]), h = O(), [ne, d] = j(C), b = (e) => {
60
61
  const {
61
- __scopePopover: r,
62
- children: t,
62
+ __scopePopover: t,
63
+ children: r,
63
64
  open: n,
64
65
  defaultOpen: o,
65
66
  onOpenChange: a,
66
67
  modal: i = !1
67
- } = e, p = h(r), l = s.useRef(null), [d, v] = s.useState(!1), [f, m] = $({
68
+ } = e, p = h(t), l = s.useRef(null), [u, v] = s.useState(!1), [f, m] = $({
68
69
  prop: n,
69
70
  defaultProp: o ?? !1,
70
71
  onChange: a,
@@ -73,31 +74,31 @@ var C = "Popover", [j] = L(C, [
73
74
  return /* @__PURE__ */ c.jsx(Z, { ...p, children: /* @__PURE__ */ c.jsx(
74
75
  ne,
75
76
  {
76
- scope: r,
77
+ scope: t,
77
78
  contentId: K(),
78
79
  triggerRef: l,
79
80
  open: f,
80
81
  onOpenChange: m,
81
82
  onOpenToggle: s.useCallback(() => m((x) => !x), [m]),
82
- hasCustomAnchor: d,
83
+ hasCustomAnchor: u,
83
84
  onCustomAnchorAdd: s.useCallback(() => v(!0), []),
84
85
  onCustomAnchorRemove: s.useCallback(() => v(!1), []),
85
86
  modal: i,
86
- children: t
87
+ children: r
87
88
  }
88
89
  ) });
89
90
  };
90
91
  b.displayName = C;
91
92
  var w = "PopoverAnchor", S = s.forwardRef(
92
- (e, r) => {
93
- const { __scopePopover: t, ...n } = e, o = u(w, t), a = h(t), { onCustomAnchorAdd: i, onCustomAnchorRemove: p } = o;
94
- return s.useEffect(() => (i(), () => p()), [i, p]), /* @__PURE__ */ c.jsx(E, { ...a, ...n, ref: r });
93
+ (e, t) => {
94
+ const { __scopePopover: r, ...n } = e, o = d(w, r), a = h(r), { onCustomAnchorAdd: i, onCustomAnchorRemove: p } = o;
95
+ return s.useEffect(() => (i(), () => p()), [i, p]), /* @__PURE__ */ c.jsx(E, { ...a, ...n, ref: t });
95
96
  }
96
97
  );
97
98
  S.displayName = w;
98
99
  var N = "PopoverTrigger", F = s.forwardRef(
99
- (e, r) => {
100
- const { __scopePopover: t, ...n } = e, o = u(N, t), a = h(t), i = A(r, o.triggerRef), p = /* @__PURE__ */ c.jsx(
100
+ (e, t) => {
101
+ const { __scopePopover: r, ...n } = e, o = d(N, r), a = h(r), i = A(t, o.triggerRef), p = /* @__PURE__ */ c.jsx(
101
102
  y.button,
102
103
  {
103
104
  type: "button",
@@ -117,20 +118,20 @@ F.displayName = N;
117
118
  var R = "PopoverPortal", [ae, se] = j(R, {
118
119
  forceMount: void 0
119
120
  }), D = (e) => {
120
- const { __scopePopover: r, forceMount: t, children: n, container: o } = e, a = u(R, r);
121
- return /* @__PURE__ */ c.jsx(ae, { scope: r, forceMount: t, children: /* @__PURE__ */ c.jsx(_, { present: t || a.open, children: /* @__PURE__ */ c.jsx(J, { asChild: !0, container: o, children: n }) }) });
121
+ const { __scopePopover: t, forceMount: r, children: n, container: o } = e, a = d(R, t);
122
+ return /* @__PURE__ */ c.jsx(ae, { scope: t, forceMount: r, children: /* @__PURE__ */ c.jsx(_, { present: r || a.open, children: /* @__PURE__ */ c.jsx(J, { asChild: !0, container: o, children: n }) }) });
122
123
  };
123
124
  D.displayName = R;
124
125
  var P = "PopoverContent", I = s.forwardRef(
125
- (e, r) => {
126
- const t = se(P, e.__scopePopover), { forceMount: n = t.forceMount, ...o } = e, a = u(P, e.__scopePopover);
127
- return /* @__PURE__ */ c.jsx(_, { present: n || a.open, children: a.modal ? /* @__PURE__ */ c.jsx(ce, { ...o, ref: r }) : /* @__PURE__ */ c.jsx(pe, { ...o, ref: r }) });
126
+ (e, t) => {
127
+ const r = se(P, e.__scopePopover), { forceMount: n = r.forceMount, ...o } = e, a = d(P, e.__scopePopover);
128
+ return /* @__PURE__ */ c.jsx(_, { present: n || a.open, children: a.modal ? /* @__PURE__ */ c.jsx(ce, { ...o, ref: t }) : /* @__PURE__ */ c.jsx(pe, { ...o, ref: t }) });
128
129
  }
129
130
  );
130
131
  I.displayName = P;
131
132
  var ie = /* @__PURE__ */ X("PopoverContent.RemoveScroll"), ce = s.forwardRef(
132
- (e, r) => {
133
- const t = u(P, e.__scopePopover), n = s.useRef(null), o = A(r, n), a = s.useRef(!1);
133
+ (e, t) => {
134
+ const r = d(P, e.__scopePopover), n = s.useRef(null), o = A(t, n), a = s.useRef(!1);
134
135
  return s.useEffect(() => {
135
136
  const i = n.current;
136
137
  if (i) return H(i);
@@ -139,16 +140,16 @@ var ie = /* @__PURE__ */ X("PopoverContent.RemoveScroll"), ce = s.forwardRef(
139
140
  {
140
141
  ...e,
141
142
  ref: o,
142
- trapFocus: t.open,
143
+ trapFocus: r.open,
143
144
  disableOutsidePointerEvents: !0,
144
145
  onCloseAutoFocus: g(e.onCloseAutoFocus, (i) => {
145
- i.preventDefault(), a.current || t.triggerRef.current?.focus();
146
+ i.preventDefault(), a.current || r.triggerRef.current?.focus();
146
147
  }),
147
148
  onPointerDownOutside: g(
148
149
  e.onPointerDownOutside,
149
150
  (i) => {
150
- const p = i.detail.originalEvent, l = p.button === 0 && p.ctrlKey === !0, d = p.button === 2 || l;
151
- a.current = d;
151
+ const p = i.detail.originalEvent, l = p.button === 0 && p.ctrlKey === !0, u = p.button === 2 || l;
152
+ a.current = u;
152
153
  },
153
154
  { checkForDefaultPrevented: !1 }
154
155
  ),
@@ -161,40 +162,40 @@ var ie = /* @__PURE__ */ X("PopoverContent.RemoveScroll"), ce = s.forwardRef(
161
162
  ) });
162
163
  }
163
164
  ), pe = s.forwardRef(
164
- (e, r) => {
165
- const t = u(P, e.__scopePopover), n = s.useRef(!1), o = s.useRef(!1);
165
+ (e, t) => {
166
+ const r = d(P, e.__scopePopover), n = s.useRef(!1), o = s.useRef(!1);
166
167
  return /* @__PURE__ */ c.jsx(
167
168
  T,
168
169
  {
169
170
  ...e,
170
- ref: r,
171
+ ref: t,
171
172
  trapFocus: !1,
172
173
  disableOutsidePointerEvents: !1,
173
174
  onCloseAutoFocus: (a) => {
174
- e.onCloseAutoFocus?.(a), a.defaultPrevented || (n.current || t.triggerRef.current?.focus(), a.preventDefault()), n.current = !1, o.current = !1;
175
+ e.onCloseAutoFocus?.(a), a.defaultPrevented || (n.current || r.triggerRef.current?.focus(), a.preventDefault()), n.current = !1, o.current = !1;
175
176
  },
176
177
  onInteractOutside: (a) => {
177
178
  e.onInteractOutside?.(a), a.defaultPrevented || (n.current = !0, a.detail.originalEvent.type === "pointerdown" && (o.current = !0));
178
179
  const i = a.target;
179
- t.triggerRef.current?.contains(i) && a.preventDefault(), a.detail.originalEvent.type === "focusin" && o.current && a.preventDefault();
180
+ r.triggerRef.current?.contains(i) && a.preventDefault(), a.detail.originalEvent.type === "focusin" && o.current && a.preventDefault();
180
181
  }
181
182
  }
182
183
  );
183
184
  }
184
185
  ), T = s.forwardRef(
185
- (e, r) => {
186
+ (e, t) => {
186
187
  const {
187
- __scopePopover: t,
188
+ __scopePopover: r,
188
189
  trapFocus: n,
189
190
  onOpenAutoFocus: o,
190
191
  onCloseAutoFocus: a,
191
192
  disableOutsidePointerEvents: i,
192
193
  onEscapeKeyDown: p,
193
194
  onPointerDownOutside: l,
194
- onFocusOutside: d,
195
+ onFocusOutside: u,
195
196
  onInteractOutside: v,
196
197
  ...f
197
- } = e, m = u(P, t), x = h(t);
198
+ } = e, m = d(P, r), x = h(r);
198
199
  return G(), /* @__PURE__ */ c.jsx(
199
200
  B,
200
201
  {
@@ -211,7 +212,7 @@ var ie = /* @__PURE__ */ X("PopoverContent.RemoveScroll"), ce = s.forwardRef(
211
212
  onInteractOutside: v,
212
213
  onEscapeKeyDown: p,
213
214
  onPointerDownOutside: l,
214
- onFocusOutside: d,
215
+ onFocusOutside: u,
215
216
  onDismiss: () => m.onOpenChange(!1),
216
217
  children: /* @__PURE__ */ c.jsx(
217
218
  U,
@@ -221,7 +222,7 @@ var ie = /* @__PURE__ */ X("PopoverContent.RemoveScroll"), ce = s.forwardRef(
221
222
  id: m.contentId,
222
223
  ...x,
223
224
  ...f,
224
- ref: r,
225
+ ref: t,
225
226
  style: {
226
227
  ...f.style,
227
228
  "--radix-popover-content-transform-origin": "var(--radix-popper-transform-origin)",
@@ -238,27 +239,27 @@ var ie = /* @__PURE__ */ X("PopoverContent.RemoveScroll"), ce = s.forwardRef(
238
239
  );
239
240
  }
240
241
  ), M = "PopoverClose", le = s.forwardRef(
241
- (e, r) => {
242
- const { __scopePopover: t, ...n } = e, o = u(M, t);
242
+ (e, t) => {
243
+ const { __scopePopover: r, ...n } = e, o = d(M, r);
243
244
  return /* @__PURE__ */ c.jsx(
244
245
  y.button,
245
246
  {
246
247
  type: "button",
247
248
  ...n,
248
- ref: r,
249
+ ref: t,
249
250
  onClick: g(e.onClick, () => o.onOpenChange(!1))
250
251
  }
251
252
  );
252
253
  }
253
254
  );
254
255
  le.displayName = M;
255
- var de = "PopoverArrow", ue = s.forwardRef(
256
- (e, r) => {
257
- const { __scopePopover: t, ...n } = e, o = h(t);
258
- return /* @__PURE__ */ c.jsx(q, { ...o, ...n, ref: r });
256
+ var ue = "PopoverArrow", de = s.forwardRef(
257
+ (e, t) => {
258
+ const { __scopePopover: r, ...n } = e, o = h(r);
259
+ return /* @__PURE__ */ c.jsx(q, { ...o, ...n, ref: t });
259
260
  }
260
261
  );
261
- ue.displayName = de;
262
+ de.displayName = ue;
262
263
  function k(e) {
263
264
  return e ? "open" : "closed";
264
265
  }
@@ -275,16 +276,16 @@ function Ne({
275
276
  }
276
277
  function Fe({
277
278
  className: e,
278
- align: r = "center",
279
- sideOffset: t = 4,
279
+ align: t = "center",
280
+ sideOffset: r = 4,
280
281
  ...n
281
282
  }) {
282
283
  return /* @__PURE__ */ c.jsx(Pe, { children: /* @__PURE__ */ c.jsx(
283
284
  ge,
284
285
  {
285
286
  "data-slot": "popover-content",
286
- align: r,
287
- sideOffset: t,
287
+ align: t,
288
+ sideOffset: r,
288
289
  className: Q(
289
290
  `
290
291
  adm:z-50 adm:w-72