@gyramais/gyra-design 0.1.13 → 0.1.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/Card/index.js +1 -1
- package/dist/components/Card/index.js.map +1 -1
- package/dist/components/Chart/Chart.d.ts +17 -3
- package/dist/components/Chart/index.js +4 -4
- package/dist/components/Chart/index.js.map +1 -1
- package/dist/components/Filter/index.js +1 -1
- package/dist/components/Filter/index.js.map +1 -1
- package/dist/components/List/index.js +2 -2
- package/dist/components/List/index.js.map +1 -1
- package/dist/components/Table/index.js +1 -1
- package/dist/components/Table/index.js.map +1 -1
- package/dist/index.css +2 -1
- package/package.json +1 -1
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Copyright (c) 2018 Jed Watson.
|
|
4
4
|
Licensed under the MIT License (MIT), see
|
|
5
5
|
http://jedwatson.github.io/classnames
|
|
6
|
-
*/N=C,function(){var e={}.hasOwnProperty;function t(){for(var e="",t=0;t<arguments.length;t++){var o=arguments[t];o&&(e=n(e,r(o)))}return e}function r(r){if("string"==typeof r||"number"==typeof r)return r;if("object"!=typeof r)return"";if(Array.isArray(r))return t.apply(null,r);if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]"))return r.toString();var o="";for(var i in r)e.call(r,i)&&r[i]&&(o=n(o,i));return o}function n(e,t){return t?e?e+" "+t:e+t:e}N.exports?(t.default=t,N.exports=t):window.classNames=t}();var T=O(C.exports),_=function(e){var r=e.id,n=e.className,o=e.size,i=void 0===o?40:o,a=e.color,s=void 0===a?"var(--primary-button-color)":a;return t.createElement("div",{id:r,className:T("gyramais-loading",n),style:{width:i,height:i}},t.createElement("div",{style:{width:i,height:i,borderWidth:Math.max(i/10-1,2),borderColor:"".concat(s," ").concat(s," transparent transparent")}}),t.createElement("div",{style:{width:i,height:i,borderWidth:Math.max(i/10-1,2),borderColor:"".concat(s," ").concat(s," transparent transparent")}}))},P=function(e){var r=e.id,n=e.className,o=e.type,i=void 0===o?"primary":o,a=e.size,s=void 0===a?"medium":a,l=e.htmlType,c=void 0===l?"button":l,u=e.link,d=void 0!==u&&u,f=e.block,p=void 0!==f&&f,m=e.disabled,h=void 0!==m&&m,y=e.loading,g=void 0!==y&&y,v=e.icon,b=e.onClick,w=e.children;return t.createElement("button",{id:r,type:c,className:T("gyramais-button","gyramais-button-".concat(s),"gyramais-button-".concat(i),d?"gyramais-button-link":"",p?"gyramais-button-block":"",g?"gyramais-button-loading":"",v&&!w?"gyramais-button-icon":"",n),onClick:g?function(){}:b,disabled:h},g&&t.createElement("div",{className:"gyramais-button-icon-container"},t.createElement(_,{size:24,className:"gyramais-button-loading-feedback"})),!g&&v&&t.createElement("div",{className:"gyramais-button-icon-container"},v),w)};function $(){return $=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},$.apply(this,arguments)}function A(e,t,{checkForDefaultPrevented:r=!0}={}){return function(n){if(null==e||e(n),!1===r||!n.defaultPrevented)return null==t?void 0:t(n)}}function j(e,t=[]){let a=[];const s=()=>{const t=a.map((e=>r(e)));return function(r){const o=(null==r?void 0:r[e])||t;return n((()=>({[`__scope${e}`]:{...r,[e]:o}})),[r,o])}};return s.scopeName=e,[function(t,s){const l=r(s),c=a.length;function u(t){const{scope:r,children:i,...a}=t,s=(null==r?void 0:r[e][c])||l,u=n((()=>a),Object.values(a));return o(s.Provider,{value:u},i)}return a=[...a,s],u.displayName=t+"Provider",[u,function(r,n){const o=(null==n?void 0:n[e][c])||l,a=i(o);if(a)return a;if(void 0!==s)return s;throw new Error(`\`${r}\` must be used within \`${t}\``)}]},R(s,...t)]}function R(...e){const t=e[0];if(1===e.length)return t;const r=()=>{const r=e.map((e=>({useScope:e(),scopeName:e.scopeName})));return function(e){const o=r.reduce(((t,{useScope:r,scopeName:n})=>({...t,...r(e)[`__scope${n}`]})),{});return n((()=>({[`__scope${t.scopeName}`]:o})),[o])}};return r.scopeName=t.scopeName,r}function M(e){const t=a(e);return s((()=>{t.current=e})),n((()=>(...e)=>{var r;return null===(r=t.current)||void 0===r?void 0:r.call(t,...e)}),[])}function I({prop:e,defaultProp:t,onChange:r=(()=>{})}){const[n,o]=function({defaultProp:e,onChange:t}){const r=c(e),[n]=r,o=a(n),i=M(t);return s((()=>{o.current!==n&&(i(n),o.current=n)}),[n,o,i]),r}({defaultProp:t,onChange:r}),i=void 0!==e,u=i?e:n,d=M(r);return[u,l((t=>{if(i){const r="function"==typeof t?t(e):t;r!==e&&d(r)}else o(t)}),[i,e,o,d])]}function D(...e){return t=>e.forEach((e=>function(e,t){"function"==typeof e?e(t):null!=e&&(e.current=t)}(e,t)))}function z(...e){return l(D(...e),e)}const V=["top","right","bottom","left"],L=Math.min,F=Math.max,W=Math.round,B=Math.floor,U=e=>({x:e,y:e}),H={left:"right",right:"left",bottom:"top",top:"bottom"},G={start:"end",end:"start"};function q(e,t,r){return F(e,L(t,r))}function K(e,t){return"function"==typeof e?e(t):e}function Y(e){return e.split("-")[0]}function X(e){return e.split("-")[1]}function J(e){return"x"===e?"y":"x"}function Z(e){return"y"===e?"height":"width"}function Q(e){return["top","bottom"].includes(Y(e))?"y":"x"}function ee(e){return J(Q(e))}function te(e){return e.replace(/start|end/g,(e=>G[e]))}function re(e){return e.replace(/left|right|bottom|top/g,(e=>H[e]))}function ne(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}function oe(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function ie(e,t,r){let{reference:n,floating:o}=e;const i=Q(t),a=ee(t),s=Z(a),l=Y(t),c="y"===i,u=n.x+n.width/2-o.width/2,d=n.y+n.height/2-o.height/2,f=n[s]/2-o[s]/2;let p;switch(l){case"top":p={x:u,y:n.y-o.height};break;case"bottom":p={x:u,y:n.y+n.height};break;case"right":p={x:n.x+n.width,y:d};break;case"left":p={x:n.x-o.width,y:d};break;default:p={x:n.x,y:n.y}}switch(X(t)){case"start":p[a]-=f*(r&&c?-1:1);break;case"end":p[a]+=f*(r&&c?-1:1)}return p}async function ae(e,t){var r;void 0===t&&(t={});const{x:n,y:o,platform:i,rects:a,elements:s,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:d="floating",altBoundary:f=!1,padding:p=0}=K(t,e),m=ne(p),h=s[f?"floating"===d?"reference":"floating":d],y=oe(await i.getClippingRect({element:null==(r=await(null==i.isElement?void 0:i.isElement(h)))||r?h:h.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(s.floating)),boundary:c,rootBoundary:u,strategy:l})),g="floating"===d?{...a.floating,x:n,y:o}:a.reference,v=await(null==i.getOffsetParent?void 0:i.getOffsetParent(s.floating)),b=await(null==i.isElement?void 0:i.isElement(v))&&await(null==i.getScale?void 0:i.getScale(v))||{x:1,y:1},w=oe(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:g,offsetParent:v,strategy:l}):g);return{top:(y.top-w.top+m.top)/b.y,bottom:(w.bottom-y.bottom+m.bottom)/b.y,left:(y.left-w.left+m.left)/b.x,right:(w.right-y.right+m.right)/b.x}}function se(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function le(e){return V.some((t=>e[t]>=0))}const ce=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var r,n;const{x:o,y:i,placement:a,middlewareData:s}=t,l=await async function(e,t){const{placement:r,platform:n,elements:o}=e,i=await(null==n.isRTL?void 0:n.isRTL(o.floating)),a=Y(r),s=X(r),l="y"===Q(r),c=["left","top"].includes(a)?-1:1,u=i&&l?-1:1,d=K(t,e);let{mainAxis:f,crossAxis:p,alignmentAxis:m}="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...d};return s&&"number"==typeof m&&(p="end"===s?-1*m:m),l?{x:p*u,y:f*c}:{x:f*c,y:p*u}}(t,e);return a===(null==(r=s.offset)?void 0:r.placement)&&null!=(n=s.arrow)&&n.alignmentOffset?{}:{x:o+l.x,y:i+l.y,data:{...l,placement:a}}}}};function ue(e){return pe(e)?(e.nodeName||"").toLowerCase():"#document"}function de(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function fe(e){var t;return null==(t=(pe(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function pe(e){return e instanceof Node||e instanceof de(e).Node}function me(e){return e instanceof Element||e instanceof de(e).Element}function he(e){return e instanceof HTMLElement||e instanceof de(e).HTMLElement}function ye(e){return"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof de(e).ShadowRoot)}function ge(e){const{overflow:t,overflowX:r,overflowY:n,display:o}=Ee(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&!["inline","contents"].includes(o)}function ve(e){return["table","td","th"].includes(ue(e))}function be(e){const t=we(),r=Ee(e);return"none"!==r.transform||"none"!==r.perspective||!!r.containerType&&"normal"!==r.containerType||!t&&!!r.backdropFilter&&"none"!==r.backdropFilter||!t&&!!r.filter&&"none"!==r.filter||["transform","perspective","filter"].some((e=>(r.willChange||"").includes(e)))||["paint","layout","strict","content"].some((e=>(r.contain||"").includes(e)))}function we(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function xe(e){return["html","body","#document"].includes(ue(e))}function Ee(e){return de(e).getComputedStyle(e)}function ke(e){return me(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Oe(e){if("html"===ue(e))return e;const t=e.assignedSlot||e.parentNode||ye(e)&&e.host||fe(e);return ye(t)?t.host:t}function Se(e){const t=Oe(e);return xe(t)?e.ownerDocument?e.ownerDocument.body:e.body:he(t)&&ge(t)?t:Se(t)}function Ne(e,t,r){var n;void 0===t&&(t=[]),void 0===r&&(r=!0);const o=Se(e),i=o===(null==(n=e.ownerDocument)?void 0:n.body),a=de(o);return i?t.concat(a,a.visualViewport||[],ge(o)?o:[],a.frameElement&&r?Ne(a.frameElement):[]):t.concat(o,Ne(o,[],r))}function Ce(e){const t=Ee(e);let r=parseFloat(t.width)||0,n=parseFloat(t.height)||0;const o=he(e),i=o?e.offsetWidth:r,a=o?e.offsetHeight:n,s=W(r)!==i||W(n)!==a;return s&&(r=i,n=a),{width:r,height:n,$:s}}function Te(e){return me(e)?e:e.contextElement}function _e(e){const t=Te(e);if(!he(t))return U(1);const r=t.getBoundingClientRect(),{width:n,height:o,$:i}=Ce(t);let a=(i?W(r.width):r.width)/n,s=(i?W(r.height):r.height)/o;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const Pe=U(0);function $e(e){const t=de(e);return we()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:Pe}function Ae(e,t,r,n){void 0===t&&(t=!1),void 0===r&&(r=!1);const o=e.getBoundingClientRect(),i=Te(e);let a=U(1);t&&(n?me(n)&&(a=_e(n)):a=_e(e));const s=function(e,t,r){return void 0===t&&(t=!1),!(!r||t&&r!==de(e))&&t}(i,r,n)?$e(i):U(0);let l=(o.left+s.x)/a.x,c=(o.top+s.y)/a.y,u=o.width/a.x,d=o.height/a.y;if(i){const e=de(i),t=n&&me(n)?de(n):n;let r=e.frameElement;for(;r&&n&&t!==e;){const e=_e(r),t=r.getBoundingClientRect(),n=Ee(r),o=t.left+(r.clientLeft+parseFloat(n.paddingLeft))*e.x,i=t.top+(r.clientTop+parseFloat(n.paddingTop))*e.y;l*=e.x,c*=e.y,u*=e.x,d*=e.y,l+=o,c+=i,r=de(r).frameElement}}return oe({width:u,height:d,x:l,y:c})}function je(e){return Ae(fe(e)).left+ke(e).scrollLeft}function Re(e,t,r){let n;if("viewport"===t)n=function(e,t){const r=de(e),n=fe(e),o=r.visualViewport;let i=n.clientWidth,a=n.clientHeight,s=0,l=0;if(o){i=o.width,a=o.height;const e=we();(!e||e&&"fixed"===t)&&(s=o.offsetLeft,l=o.offsetTop)}return{width:i,height:a,x:s,y:l}}(e,r);else if("document"===t)n=function(e){const t=fe(e),r=ke(e),n=e.ownerDocument.body,o=F(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),i=F(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight);let a=-r.scrollLeft+je(e);const s=-r.scrollTop;return"rtl"===Ee(n).direction&&(a+=F(t.clientWidth,n.clientWidth)-o),{width:o,height:i,x:a,y:s}}(fe(e));else if(me(t))n=function(e,t){const r=Ae(e,!0,"fixed"===t),n=r.top+e.clientTop,o=r.left+e.clientLeft,i=he(e)?_e(e):U(1);return{width:e.clientWidth*i.x,height:e.clientHeight*i.y,x:o*i.x,y:n*i.y}}(t,r);else{const r=$e(e);n={...t,x:t.x-r.x,y:t.y-r.y}}return oe(n)}function Me(e,t){const r=Oe(e);return!(r===t||!me(r)||xe(r))&&("fixed"===Ee(r).position||Me(r,t))}function Ie(e,t,r){const n=he(t),o=fe(t),i="fixed"===r,a=Ae(e,!0,i,t);let s={scrollLeft:0,scrollTop:0};const l=U(0);if(n||!n&&!i)if(("body"!==ue(t)||ge(o))&&(s=ke(t)),n){const e=Ae(t,!0,i,t);l.x=e.x+t.clientLeft,l.y=e.y+t.clientTop}else o&&(l.x=je(o));return{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function De(e,t){return he(e)&&"fixed"!==Ee(e).position?t?t(e):e.offsetParent:null}function ze(e,t){const r=de(e);if(!he(e))return r;let n=De(e,t);for(;n&&ve(n)&&"static"===Ee(n).position;)n=De(n,t);return n&&("html"===ue(n)||"body"===ue(n)&&"static"===Ee(n).position&&!be(n))?r:n||function(e){let t=Oe(e);for(;he(t)&&!xe(t);){if(be(t))return t;t=Oe(t)}return null}(e)||r}const Ve={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:r,strategy:n}=e;const o=he(r),i=fe(r);if(r===i)return t;let a={scrollLeft:0,scrollTop:0},s=U(1);const l=U(0);if((o||!o&&"fixed"!==n)&&(("body"!==ue(r)||ge(i))&&(a=ke(r)),he(r))){const e=Ae(r);s=_e(r),l.x=e.x+r.clientLeft,l.y=e.y+r.clientTop}return{width:t.width*s.x,height:t.height*s.y,x:t.x*s.x-a.scrollLeft*s.x+l.x,y:t.y*s.y-a.scrollTop*s.y+l.y}},getDocumentElement:fe,getClippingRect:function(e){let{element:t,boundary:r,rootBoundary:n,strategy:o}=e;const i=[..."clippingAncestors"===r?function(e,t){const r=t.get(e);if(r)return r;let n=Ne(e,[],!1).filter((e=>me(e)&&"body"!==ue(e))),o=null;const i="fixed"===Ee(e).position;let a=i?Oe(e):e;for(;me(a)&&!xe(a);){const t=Ee(a),r=be(a);r||"fixed"!==t.position||(o=null),(i?!r&&!o:!r&&"static"===t.position&&o&&["absolute","fixed"].includes(o.position)||ge(a)&&!r&&Me(e,a))?n=n.filter((e=>e!==a)):o=t,a=Oe(a)}return t.set(e,n),n}(t,this._c):[].concat(r),n],a=i[0],s=i.reduce(((e,r)=>{const n=Re(t,r,o);return e.top=F(n.top,e.top),e.right=L(n.right,e.right),e.bottom=L(n.bottom,e.bottom),e.left=F(n.left,e.left),e}),Re(t,a,o));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:ze,getElementRects:async function(e){let{reference:t,floating:r,strategy:n}=e;const o=this.getOffsetParent||ze,i=this.getDimensions;return{reference:Ie(t,await o(r),n),floating:{x:0,y:0,...await i(r)}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){const{width:t,height:r}=Ce(e);return{width:t,height:r}},getScale:_e,isElement:me,isRTL:function(e){return"rtl"===Ee(e).direction}};function Le(e,t,r,n){void 0===n&&(n={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:a="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:l=!1}=n,c=Te(e),u=o||i?[...c?Ne(c):[],...Ne(t)]:[];u.forEach((e=>{o&&e.addEventListener("scroll",r,{passive:!0}),i&&e.addEventListener("resize",r)}));const d=c&&s?function(e,t){let r,n=null;const o=fe(e);function i(){clearTimeout(r),n&&n.disconnect(),n=null}return function a(s,l){void 0===s&&(s=!1),void 0===l&&(l=1),i();const{left:c,top:u,width:d,height:f}=e.getBoundingClientRect();if(s||t(),!d||!f)return;const p={rootMargin:-B(u)+"px "+-B(o.clientWidth-(c+d))+"px "+-B(o.clientHeight-(u+f))+"px "+-B(c)+"px",threshold:F(0,L(1,l))||1};let m=!0;function h(e){const t=e[0].intersectionRatio;if(t!==l){if(!m)return a();t?a(!1,t):r=setTimeout((()=>{a(!1,1e-7)}),100)}m=!1}try{n=new IntersectionObserver(h,{...p,root:o.ownerDocument})}catch(e){n=new IntersectionObserver(h,p)}n.observe(e)}(!0),i}(c,r):null;let f,p=-1,m=null;a&&(m=new ResizeObserver((e=>{let[n]=e;n&&n.target===c&&m&&(m.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame((()=>{m&&m.observe(t)}))),r()})),c&&!l&&m.observe(c),m.observe(t));let h=l?Ae(e):null;return l&&function t(){const n=Ae(e);!h||n.x===h.x&&n.y===h.y&&n.width===h.width&&n.height===h.height||r();h=n,f=requestAnimationFrame(t)}(),r(),()=>{u.forEach((e=>{o&&e.removeEventListener("scroll",r),i&&e.removeEventListener("resize",r)})),d&&d(),m&&m.disconnect(),m=null,l&&cancelAnimationFrame(f)}}const Fe=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:r,y:n,placement:o}=t,{mainAxis:i=!0,crossAxis:a=!1,limiter:s={fn:e=>{let{x:t,y:r}=e;return{x:t,y:r}}},...l}=K(e,t),c={x:r,y:n},u=await ae(t,l),d=Q(Y(o)),f=J(d);let p=c[f],m=c[d];if(i){const e="y"===f?"bottom":"right";p=q(p+u["y"===f?"top":"left"],p,p-u[e])}if(a){const e="y"===d?"bottom":"right";m=q(m+u["y"===d?"top":"left"],m,m-u[e])}const h=s.fn({...t,[f]:p,[d]:m});return{...h,data:{x:h.x-r,y:h.y-n}}}}},We=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var r,n;const{placement:o,middlewareData:i,rects:a,initialPlacement:s,platform:l,elements:c}=t,{mainAxis:u=!0,crossAxis:d=!0,fallbackPlacements:f,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:m="none",flipAlignment:h=!0,...y}=K(e,t);if(null!=(r=i.arrow)&&r.alignmentOffset)return{};const g=Y(o),v=Y(s)===s,b=await(null==l.isRTL?void 0:l.isRTL(c.floating)),w=f||(v||!h?[re(s)]:function(e){const t=re(e);return[te(e),t,te(t)]}(s));f||"none"===m||w.push(...function(e,t,r,n){const o=X(e);let i=function(e,t,r){const n=["left","right"],o=["right","left"],i=["top","bottom"],a=["bottom","top"];switch(e){case"top":case"bottom":return r?t?o:n:t?n:o;case"left":case"right":return t?i:a;default:return[]}}(Y(e),"start"===r,n);return o&&(i=i.map((e=>e+"-"+o)),t&&(i=i.concat(i.map(te)))),i}(s,h,m,b));const x=[s,...w],E=await ae(t,y),k=[];let O=(null==(n=i.flip)?void 0:n.overflows)||[];if(u&&k.push(E[g]),d){const e=function(e,t,r){void 0===r&&(r=!1);const n=X(e),o=ee(e),i=Z(o);let a="x"===o?n===(r?"end":"start")?"right":"left":"start"===n?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=re(a)),[a,re(a)]}(o,a,b);k.push(E[e[0]],E[e[1]])}if(O=[...O,{placement:o,overflows:k}],!k.every((e=>e<=0))){var S,N;const e=((null==(S=i.flip)?void 0:S.index)||0)+1,t=x[e];if(t)return{data:{index:e,overflows:O},reset:{placement:t}};let r=null==(N=O.filter((e=>e.overflows[0]<=0)).sort(((e,t)=>e.overflows[1]-t.overflows[1]))[0])?void 0:N.placement;if(!r)switch(p){case"bestFit":{var C;const e=null==(C=O.map((e=>[e.placement,e.overflows.filter((e=>e>0)).reduce(((e,t)=>e+t),0)])).sort(((e,t)=>e[1]-t[1]))[0])?void 0:C[0];e&&(r=e);break}case"initialPlacement":r=s}if(o!==r)return{reset:{placement:r}}}return{}}}},Be=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){const{placement:r,rects:n,platform:o,elements:i}=t,{apply:a=(()=>{}),...s}=K(e,t),l=await ae(t,s),c=Y(r),u=X(r),d="y"===Q(r),{width:f,height:p}=n.floating;let m,h;"top"===c||"bottom"===c?(m=c,h=u===(await(null==o.isRTL?void 0:o.isRTL(i.floating))?"start":"end")?"left":"right"):(h=c,m="end"===u?"top":"bottom");const y=p-l[m],g=f-l[h],v=!t.middlewareData.shift;let b=y,w=g;if(d){const e=f-l.left-l.right;w=u||v?L(g,e):e}else{const e=p-l.top-l.bottom;b=u||v?L(y,e):e}if(v&&!u){const e=F(l.left,0),t=F(l.right,0),r=F(l.top,0),n=F(l.bottom,0);d?w=f-2*(0!==e||0!==t?e+t:F(l.left,l.right)):b=p-2*(0!==r||0!==n?r+n:F(l.top,l.bottom))}await a({...t,availableWidth:w,availableHeight:b});const x=await o.getDimensions(i.floating);return f!==x.width||p!==x.height?{reset:{rects:!0}}:{}}}},Ue=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){const{rects:r}=t,{strategy:n="referenceHidden",...o}=K(e,t);switch(n){case"referenceHidden":{const e=se(await ae(t,{...o,elementContext:"reference"}),r.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:le(e)}}}case"escaped":{const e=se(await ae(t,{...o,altBoundary:!0}),r.floating);return{data:{escapedOffsets:e,escaped:le(e)}}}default:return{}}}}},He=e=>({name:"arrow",options:e,async fn(t){const{x:r,y:n,placement:o,rects:i,platform:a,elements:s,middlewareData:l}=t,{element:c,padding:u=0}=K(e,t)||{};if(null==c)return{};const d=ne(u),f={x:r,y:n},p=ee(o),m=Z(p),h=await a.getDimensions(c),y="y"===p,g=y?"top":"left",v=y?"bottom":"right",b=y?"clientHeight":"clientWidth",w=i.reference[m]+i.reference[p]-f[p]-i.floating[m],x=f[p]-i.reference[p],E=await(null==a.getOffsetParent?void 0:a.getOffsetParent(c));let k=E?E[b]:0;k&&await(null==a.isElement?void 0:a.isElement(E))||(k=s.floating[b]||i.floating[m]);const O=w/2-x/2,S=k/2-h[m]/2-1,N=L(d[g],S),C=L(d[v],S),T=N,_=k-h[m]-C,P=k/2-h[m]/2+O,$=q(T,P,_),A=!l.arrow&&null!=X(o)&&P!=$&&i.reference[m]/2-(P<T?N:C)-h[m]/2<0,j=A?P<T?P-T:P-_:0;return{[p]:f[p]+j,data:{[p]:$,centerOffset:P-$-j,...A&&{alignmentOffset:j}},reset:A}}}),Ge=function(e){return void 0===e&&(e={}),{options:e,fn(t){const{x:r,y:n,placement:o,rects:i,middlewareData:a}=t,{offset:s=0,mainAxis:l=!0,crossAxis:c=!0}=K(e,t),u={x:r,y:n},d=Q(o),f=J(d);let p=u[f],m=u[d];const h=K(s,t),y="number"==typeof h?{mainAxis:h,crossAxis:0}:{mainAxis:0,crossAxis:0,...h};if(l){const e="y"===f?"height":"width",t=i.reference[f]-i.floating[e]+y.mainAxis,r=i.reference[f]+i.reference[e]-y.mainAxis;p<t?p=t:p>r&&(p=r)}if(c){var g,v;const e="y"===f?"width":"height",t=["top","left"].includes(Y(o)),r=i.reference[d]-i.floating[e]+(t&&(null==(g=a.offset)?void 0:g[d])||0)+(t?0:y.crossAxis),n=i.reference[d]+i.reference[e]+(t?0:(null==(v=a.offset)?void 0:v[d])||0)-(t?y.crossAxis:0);m<r?m=r:m>n&&(m=n)}return{[f]:p,[d]:m}}}},qe=(e,t,r)=>{const n=new Map,o={platform:Ve,...r},i={...o.platform,_c:n};return(async(e,t,r)=>{const{placement:n="bottom",strategy:o="absolute",middleware:i=[],platform:a}=r,s=i.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(t));let c=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:u,y:d}=ie(c,n,l),f=n,p={},m=0;for(let r=0;r<s.length;r++){const{name:i,fn:h}=s[r],{x:y,y:g,data:v,reset:b}=await h({x:u,y:d,initialPlacement:n,placement:f,strategy:o,middlewareData:p,rects:c,platform:a,elements:{reference:e,floating:t}});u=null!=y?y:u,d=null!=g?g:d,p={...p,[i]:{...p[i],...v}},b&&m<=50&&(m++,"object"==typeof b&&(b.placement&&(f=b.placement),b.rects&&(c=!0===b.rects?await a.getElementRects({reference:e,floating:t,strategy:o}):b.rects),({x:u,y:d}=ie(c,f,l))),r=-1)}return{x:u,y:d,placement:f,strategy:o,middlewareData:p}})(e,t,{...o,platform:i})},Ke=e=>({name:"arrow",options:e,fn(t){const{element:r,padding:n}="function"==typeof e?e(t):e;return r&&(o=r,{}.hasOwnProperty.call(o,"current"))?null!=r.current?He({element:r.current,padding:n}).fn(t):{}:r?He({element:r,padding:n}).fn(t):{};var o}});var Ye="undefined"!=typeof document?u:s;function Xe(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;let r,n,o;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if(r=e.length,r!==t.length)return!1;for(n=r;0!=n--;)if(!Xe(e[n],t[n]))return!1;return!0}if(o=Object.keys(e),r=o.length,r!==Object.keys(t).length)return!1;for(n=r;0!=n--;)if(!{}.hasOwnProperty.call(t,o[n]))return!1;for(n=r;0!=n--;){const r=o[n];if(("_owner"!==r||!e.$$typeof)&&!Xe(e[r],t[r]))return!1}return!0}return e!=e&&t!=t}function Je(e){if("undefined"==typeof window)return 1;return(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Ze(e,t){const r=Je(e);return Math.round(t*r)/r}function Qe(t){const r=e.useRef(t);return Ye((()=>{r.current=t})),r}const et=d(((e,t)=>{const{children:r,...n}=e,i=f.toArray(r),a=i.find(nt);if(a){const e=a.props.children,r=i.map((t=>t===a?f.count(e)>1?f.only(null):p(e)?e.props.children:null:t));return o(tt,$({},n,{ref:t}),p(e)?m(e,void 0,r):null)}return o(tt,$({},n,{ref:t}),r)}));et.displayName="Slot";const tt=d(((e,t)=>{const{children:r,...n}=e;return p(r)?m(r,{...ot(n,r.props),ref:t?D(t,r.ref):r.ref}):f.count(r)>1?f.only(null):null}));tt.displayName="SlotClone";const rt=({children:e})=>o(h,null,e);function nt(e){return p(e)&&e.type===rt}function ot(e,t){const r={...t};for(const n in t){const o=e[n],i=t[n];/^on[A-Z]/.test(n)?o&&i?r[n]=(...e)=>{i(...e),o(...e)}:o&&(r[n]=o):"style"===n?r[n]={...o,...i}:"className"===n&&(r[n]=[o,i].filter(Boolean).join(" "))}return{...e,...r}}const it=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce(((e,t)=>{const r=d(((e,r)=>{const{asChild:n,...i}=e,a=n?et:t;return s((()=>{window[Symbol.for("radix-ui")]=!0}),[]),o(a,$({},i,{ref:r}))}));return r.displayName=`Primitive.${t}`,{...e,[t]:r}}),{});const at=Boolean(null===globalThis||void 0===globalThis?void 0:globalThis.document)?u:()=>{};function st(e){const[t,r]=c(void 0);return at((()=>{if(e){r({width:e.offsetWidth,height:e.offsetHeight});const t=new ResizeObserver((t=>{if(!Array.isArray(t))return;if(!t.length)return;const n=t[0];let o,i;if("borderBoxSize"in n){const e=n.borderBoxSize,t=Array.isArray(e)?e[0]:e;o=t.inlineSize,i=t.blockSize}else o=e.offsetWidth,i=e.offsetHeight;r({width:o,height:i})}));return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}r(void 0)}),[e]),t}const lt="Popper",[ct,ut]=j(lt),[dt,ft]=ct(lt),pt=d(((e,t)=>{const{__scopePopper:r,virtualRef:n,...i}=e,l=ft("PopperAnchor",r),c=a(null),u=z(t,c);return s((()=>{l.onAnchorChange((null==n?void 0:n.current)||c.current)})),n?null:o(it.div,$({},i,{ref:u}))})),mt="PopperContent",[ht,yt]=ct(mt),gt=d(((t,r)=>{var n,i,a,s,l,u,d,f;const{__scopePopper:p,side:m="bottom",sideOffset:h=0,align:y="center",alignOffset:v=0,arrowPadding:b=0,avoidCollisions:w=!0,collisionBoundary:x=[],collisionPadding:E=0,sticky:k="partial",hideWhenDetached:O=!1,updatePositionStrategy:S="optimized",onPlaced:N,...C}=t,T=ft(mt,p),[_,P]=c(null),A=z(r,(e=>P(e))),[j,R]=c(null),I=st(j),D=null!==(n=null==I?void 0:I.width)&&void 0!==n?n:0,V=null!==(i=null==I?void 0:I.height)&&void 0!==i?i:0,L=m+("center"!==y?"-"+y:""),F="number"==typeof E?E:{top:0,right:0,bottom:0,left:0,...E},W=Array.isArray(x)?x:[x],B=W.length>0,U={padding:F,boundary:W.filter(vt),altBoundary:B},{refs:H,floatingStyles:G,placement:q,isPositioned:K,middlewareData:Y}=function(t){void 0===t&&(t={});const{placement:r="bottom",strategy:n="absolute",middleware:o=[],platform:i,elements:{reference:a,floating:s}={},transform:l=!0,whileElementsMounted:c,open:u}=t,[d,f]=e.useState({x:0,y:0,strategy:n,placement:r,middlewareData:{},isPositioned:!1}),[p,m]=e.useState(o);Xe(p,o)||m(o);const[h,y]=e.useState(null),[v,b]=e.useState(null),w=e.useCallback((e=>{e!==O.current&&(O.current=e,y(e))}),[]),x=e.useCallback((e=>{e!==S.current&&(S.current=e,b(e))}),[]),E=a||h,k=s||v,O=e.useRef(null),S=e.useRef(null),N=e.useRef(d),C=null!=c,T=Qe(c),_=Qe(i),P=e.useCallback((()=>{if(!O.current||!S.current)return;const e={placement:r,strategy:n,middleware:p};_.current&&(e.platform=_.current),qe(O.current,S.current,e).then((e=>{const t={...e,isPositioned:!0};$.current&&!Xe(N.current,t)&&(N.current=t,g.flushSync((()=>{f(t)})))}))}),[p,r,n,_]);Ye((()=>{!1===u&&N.current.isPositioned&&(N.current.isPositioned=!1,f((e=>({...e,isPositioned:!1}))))}),[u]);const $=e.useRef(!1);Ye((()=>($.current=!0,()=>{$.current=!1})),[]),Ye((()=>{if(E&&(O.current=E),k&&(S.current=k),E&&k){if(T.current)return T.current(E,k,P);P()}}),[E,k,P,T,C]);const A=e.useMemo((()=>({reference:O,floating:S,setReference:w,setFloating:x})),[w,x]),j=e.useMemo((()=>({reference:E,floating:k})),[E,k]),R=e.useMemo((()=>{const e={position:n,left:0,top:0};if(!j.floating)return e;const t=Ze(j.floating,d.x),r=Ze(j.floating,d.y);return l?{...e,transform:"translate("+t+"px, "+r+"px)",...Je(j.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}}),[n,l,j.floating,d.x,d.y]);return e.useMemo((()=>({...d,update:P,refs:A,elements:j,floatingStyles:R})),[d,P,A,j,R])}({strategy:"fixed",placement:L,whileElementsMounted:(...e)=>Le(...e,{animationFrame:"always"===S}),elements:{reference:T.anchor},middleware:[ce({mainAxis:h+V,alignmentAxis:v}),w&&Fe({mainAxis:!0,crossAxis:!1,limiter:"partial"===k?Ge():void 0,...U}),w&&We({...U}),Be({...U,apply:({elements:e,rects:t,availableWidth:r,availableHeight:n})=>{const{width:o,height:i}=t.reference,a=e.floating.style;a.setProperty("--radix-popper-available-width",`${r}px`),a.setProperty("--radix-popper-available-height",`${n}px`),a.setProperty("--radix-popper-anchor-width",`${o}px`),a.setProperty("--radix-popper-anchor-height",`${i}px`)}}),j&&Ke({element:j,padding:b}),bt({arrowWidth:D,arrowHeight:V}),O&&Ue({strategy:"referenceHidden",...U})]}),[X,J]=wt(q),Z=M(N);at((()=>{K&&(null==Z||Z())}),[K,Z]);const Q=null===(a=Y.arrow)||void 0===a?void 0:a.x,ee=null===(s=Y.arrow)||void 0===s?void 0:s.y,te=0!==(null===(l=Y.arrow)||void 0===l?void 0:l.centerOffset),[re,ne]=c();return at((()=>{_&&ne(window.getComputedStyle(_).zIndex)}),[_]),o("div",{ref:H.setFloating,"data-radix-popper-content-wrapper":"",style:{...G,transform:K?G.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:re,"--radix-popper-transform-origin":[null===(u=Y.transformOrigin)||void 0===u?void 0:u.x,null===(d=Y.transformOrigin)||void 0===d?void 0:d.y].join(" ")},dir:t.dir},o(ht,{scope:p,placedSide:X,onArrowChange:R,arrowX:Q,arrowY:ee,shouldHideArrow:te},o(it.div,$({"data-side":X,"data-align":J},C,{ref:A,style:{...C.style,animation:K?void 0:"none",opacity:null!==(f=Y.hide)&&void 0!==f&&f.referenceHidden?0:void 0}}))))}));function vt(e){return null!==e}const bt=e=>({name:"transformOrigin",options:e,fn(t){var r,n,o,i,a;const{placement:s,rects:l,middlewareData:c}=t,u=0!==(null===(r=c.arrow)||void 0===r?void 0:r.centerOffset),d=u?0:e.arrowWidth,f=u?0:e.arrowHeight,[p,m]=wt(s),h={start:"0%",center:"50%",end:"100%"}[m],y=(null!==(n=null===(o=c.arrow)||void 0===o?void 0:o.x)&&void 0!==n?n:0)+d/2,g=(null!==(i=null===(a=c.arrow)||void 0===a?void 0:a.y)&&void 0!==i?i:0)+f/2;let v="",b="";return"bottom"===p?(v=u?h:`${y}px`,b=-f+"px"):"top"===p?(v=u?h:`${y}px`,b=`${l.floating.height+f}px`):"right"===p?(v=-f+"px",b=u?h:`${g}px`):"left"===p&&(v=`${l.floating.width+f}px`,b=u?h:`${g}px`),{data:{x:v,y:b}}}});function wt(e){const[t,r="center"]=e.split("-");return[t,r]}const xt=e=>{const{__scopePopper:t,children:r}=e,[n,i]=c(null);return o(dt,{scope:t,anchor:n,onAnchorChange:i},r)},Et=pt,kt=gt;const Ot=e=>{const{present:t,children:r}=e,n=function(e){const[t,r]=c(),n=a({}),o=a(e),i=a("none"),u=e?"mounted":"unmounted",[d,f]=function(e,t){return y(((e,r)=>{const n=t[e][r];return null!=n?n:e}),e)}(u,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return s((()=>{const e=St(n.current);i.current="mounted"===d?e:"none"}),[d]),at((()=>{const t=n.current,r=o.current;if(r!==e){const n=i.current,a=St(t);if(e)f("MOUNT");else if("none"===a||"none"===(null==t?void 0:t.display))f("UNMOUNT");else{f(r&&n!==a?"ANIMATION_OUT":"UNMOUNT")}o.current=e}}),[e,f]),at((()=>{if(t){const e=e=>{const r=St(n.current).includes(e.animationName);e.target===t&&r&&v((()=>f("ANIMATION_END")))},r=e=>{e.target===t&&(i.current=St(n.current))};return t.addEventListener("animationstart",r),t.addEventListener("animationcancel",e),t.addEventListener("animationend",e),()=>{t.removeEventListener("animationstart",r),t.removeEventListener("animationcancel",e),t.removeEventListener("animationend",e)}}f("ANIMATION_END")}),[t,f]),{isPresent:["mounted","unmountSuspended"].includes(d),ref:l((e=>{e&&(n.current=getComputedStyle(e)),r(e)}),[])}}(t),o="function"==typeof r?r({present:n.isPresent}):f.only(r),i=z(n.ref,o.ref);return"function"==typeof r||n.isPresent?m(o,{ref:i}):null};function St(e){return(null==e?void 0:e.animationName)||"none"}Ot.displayName="Presence";const Nt="dismissableLayer.update",Ct="dismissableLayer.pointerDownOutside",Tt="dismissableLayer.focusOutside";let _t;const Pt=r({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),$t=d(((e,t)=>{var r;const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:l,onPointerDownOutside:u,onFocusOutside:d,onInteractOutside:f,onDismiss:p,...m}=e,h=i(Pt),[y,g]=c(null),v=null!==(r=null==y?void 0:y.ownerDocument)&&void 0!==r?r:null===globalThis||void 0===globalThis?void 0:globalThis.document,[,b]=c({}),w=z(t,(e=>g(e))),x=Array.from(h.layers),[E]=[...h.layersWithOutsidePointerEventsDisabled].slice(-1),k=x.indexOf(E),O=y?x.indexOf(y):-1,S=h.layersWithOutsidePointerEventsDisabled.size>0,N=O>=k,C=function(e,t=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const r=M(e),n=a(!1),o=a((()=>{}));return s((()=>{const e=e=>{if(e.target&&!n.current){const i={originalEvent:e};function a(){jt(Ct,r,i,{discrete:!0})}"touch"===e.pointerType?(t.removeEventListener("click",o.current),o.current=a,t.addEventListener("click",o.current,{once:!0})):a()}else t.removeEventListener("click",o.current);n.current=!1},i=window.setTimeout((()=>{t.addEventListener("pointerdown",e)}),0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",e),t.removeEventListener("click",o.current)}}),[t,r]),{onPointerDownCapture:()=>n.current=!0}}((e=>{const t=e.target,r=[...h.branches].some((e=>e.contains(t)));N&&!r&&(null==u||u(e),null==f||f(e),e.defaultPrevented||null==p||p())}),v),T=function(e,t=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const r=M(e),n=a(!1);return s((()=>{const e=e=>{if(e.target&&!n.current){jt(Tt,r,{originalEvent:e},{discrete:!1})}};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)}),[t,r]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}((e=>{const t=e.target;[...h.branches].some((e=>e.contains(t)))||(null==d||d(e),null==f||f(e),e.defaultPrevented||null==p||p())}),v);return function(e,t=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const r=M(e);s((()=>{const e=e=>{"Escape"===e.key&&r(e)};return t.addEventListener("keydown",e),()=>t.removeEventListener("keydown",e)}),[r,t])}((e=>{O===h.layers.size-1&&(null==l||l(e),!e.defaultPrevented&&p&&(e.preventDefault(),p()))}),v),s((()=>{if(y)return n&&(0===h.layersWithOutsidePointerEventsDisabled.size&&(_t=v.body.style.pointerEvents,v.body.style.pointerEvents="none"),h.layersWithOutsidePointerEventsDisabled.add(y)),h.layers.add(y),At(),()=>{n&&1===h.layersWithOutsidePointerEventsDisabled.size&&(v.body.style.pointerEvents=_t)}}),[y,v,n,h]),s((()=>()=>{y&&(h.layers.delete(y),h.layersWithOutsidePointerEventsDisabled.delete(y),At())}),[y,h]),s((()=>{const e=()=>b({});return document.addEventListener(Nt,e),()=>document.removeEventListener(Nt,e)}),[]),o(it.div,$({},m,{ref:w,style:{pointerEvents:S?N?"auto":"none":void 0,...e.style},onFocusCapture:A(e.onFocusCapture,T.onFocusCapture),onBlurCapture:A(e.onBlurCapture,T.onBlurCapture),onPointerDownCapture:A(e.onPointerDownCapture,C.onPointerDownCapture)}))}));function At(){const e=new CustomEvent(Nt);document.dispatchEvent(e)}function jt(e,t,r,{discrete:n}){const o=r.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&o.addEventListener(e,t,{once:!0}),n?function(e,t){e&&v((()=>e.dispatchEvent(t)))}(o,i):o.dispatchEvent(i)}let Rt;const Mt="HoverCard",[It,Dt]=j(Mt,[ut]),zt=ut(),[Vt,Lt]=It(Mt),Ft=d(((e,t)=>{const{__scopeHoverCard:r,...n}=e,i=Lt("HoverCardTrigger",r),a=zt(r);return o(Et,$({asChild:!0},a),o(it.a,$({"data-state":i.open?"open":"closed"},n,{ref:t,onPointerEnter:A(e.onPointerEnter,qt(i.onOpen)),onPointerLeave:A(e.onPointerLeave,qt(i.onClose)),onFocus:A(e.onFocus,i.onOpen),onBlur:A(e.onBlur,i.onClose),onTouchStart:A(e.onTouchStart,(e=>e.preventDefault()))})))})),[Wt,Bt]=It("HoverCardPortal",{forceMount:void 0}),Ut="HoverCardContent",Ht=d(((e,t)=>{const r=Bt(Ut,e.__scopeHoverCard),{forceMount:n=r.forceMount,...i}=e,a=Lt(Ut,e.__scopeHoverCard);return o(Ot,{present:n||a.open},o(Gt,$({"data-state":a.open?"open":"closed"},i,{onPointerEnter:A(e.onPointerEnter,qt(a.onOpen)),onPointerLeave:A(e.onPointerLeave,qt(a.onClose)),ref:t})))})),Gt=d(((e,t)=>{const{__scopeHoverCard:r,onEscapeKeyDown:n,onPointerDownOutside:i,onFocusOutside:l,onInteractOutside:u,...d}=e,f=Lt(Ut,r),p=zt(r),m=a(null),h=z(t,m),[y,g]=c(!1);return s((()=>{if(y){const e=document.body;return Rt=e.style.userSelect||e.style.webkitUserSelect,e.style.userSelect="none",e.style.webkitUserSelect="none",()=>{e.style.userSelect=Rt,e.style.webkitUserSelect=Rt}}}),[y]),s((()=>{if(m.current){const e=()=>{g(!1),f.isPointerDownOnContentRef.current=!1,setTimeout((()=>{var e;""!==(null===(e=document.getSelection())||void 0===e?void 0:e.toString())&&(f.hasSelectionRef.current=!0)}))};return document.addEventListener("pointerup",e),()=>{document.removeEventListener("pointerup",e),f.hasSelectionRef.current=!1,f.isPointerDownOnContentRef.current=!1}}}),[f.isPointerDownOnContentRef,f.hasSelectionRef]),s((()=>{if(m.current){const e=function(e){const t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP});for(;r.nextNode();)t.push(r.currentNode);return t}(m.current);e.forEach((e=>e.setAttribute("tabindex","-1")))}})),o($t,{asChild:!0,disableOutsidePointerEvents:!1,onInteractOutside:u,onEscapeKeyDown:n,onPointerDownOutside:i,onFocusOutside:A(l,(e=>{e.preventDefault()})),onDismiss:f.onDismiss},o(kt,$({},p,d,{onPointerDown:A(d.onPointerDown,(e=>{e.currentTarget.contains(e.target)&&g(!0),f.hasSelectionRef.current=!1,f.isPointerDownOnContentRef.current=!0})),ref:h,style:{...d.style,userSelect:y?"text":void 0,WebkitUserSelect:y?"text":void 0,"--radix-hover-card-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-hover-card-content-available-width":"var(--radix-popper-available-width)","--radix-hover-card-content-available-height":"var(--radix-popper-available-height)","--radix-hover-card-trigger-width":"var(--radix-popper-anchor-width)","--radix-hover-card-trigger-height":"var(--radix-popper-anchor-height)"}})))}));function qt(e){return t=>"touch"===t.pointerType?void 0:e()}const Kt=e=>{const{__scopeHoverCard:t,children:r,open:n,defaultOpen:i,onOpenChange:c,openDelay:u=700,closeDelay:d=300}=e,f=zt(t),p=a(0),m=a(0),h=a(!1),y=a(!1),[g=!1,v]=I({prop:n,defaultProp:i,onChange:c}),b=l((()=>{clearTimeout(m.current),p.current=window.setTimeout((()=>v(!0)),u)}),[u,v]),w=l((()=>{clearTimeout(p.current),h.current||y.current||(m.current=window.setTimeout((()=>v(!1)),d))}),[d,v]),x=l((()=>v(!1)),[v]);return s((()=>()=>{clearTimeout(p.current),clearTimeout(m.current)}),[]),o(Vt,{scope:t,open:g,onOpenChange:v,onOpen:b,onClose:w,onDismiss:x,hasSelectionRef:h,isPointerDownOnContentRef:y},o(xt,f,r))},Yt=Ft,Xt=Ht;function Jt(e){var t,r,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(r=Jt(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function Zt(){for(var e,t,r=0,n="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=Jt(e))&&(n&&(n+=" "),n+=t);return n}const Qt="-";function er(e){const t=function(e){const{theme:t,prefix:r}=e,n={nextPart:new Map,validators:[]},o=function(e,t){if(!t)return e;return e.map((([e,r])=>[e,r.map((e=>"string"==typeof e?t+e:"object"==typeof e?Object.fromEntries(Object.entries(e).map((([e,r])=>[t+e,r]))):e))]))}(Object.entries(e.classGroups),r);return o.forEach((([e,r])=>{nr(r,n,e,t)})),n}(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:function(e){const r=e.split(Qt);return""===r[0]&&1!==r.length&&r.shift(),tr(r,t)||function(e){if(rr.test(e)){const t=rr.exec(e)[1],r=t?.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}}(e)},getConflictingClassGroupIds:function(e,t){const o=r[e]||[];return t&&n[e]?[...o,...n[e]]:o}}}function tr(e,t){if(0===e.length)return t.classGroupId;const r=e[0],n=t.nextPart.get(r),o=n?tr(e.slice(1),n):void 0;if(o)return o;if(0===t.validators.length)return;const i=e.join(Qt);return t.validators.find((({validator:e})=>e(i)))?.classGroupId}const rr=/^\[(.+)\]$/;function nr(e,t,r,n){e.forEach((e=>{if("string"!=typeof e){if("function"==typeof e)return e.isThemeGetter?void nr(e(n),t,r,n):void t.validators.push({validator:e,classGroupId:r});Object.entries(e).forEach((([e,o])=>{nr(o,or(t,e),r,n)}))}else{(""===e?t:or(t,e)).classGroupId=r}}))}function or(e,t){let r=e;return t.split(Qt).forEach((e=>{r.nextPart.has(e)||r.nextPart.set(e,{nextPart:new Map,validators:[]}),r=r.nextPart.get(e)})),r}function ir(e){if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,n=new Map;function o(o,i){r.set(o,i),t++,t>e&&(t=0,n=r,r=new Map)}return{get(e){let t=r.get(e);return void 0!==t?t:void 0!==(t=n.get(e))?(o(e,t),t):void 0},set(e,t){r.has(e)?r.set(e,t):o(e,t)}}}const ar="!";function sr(e){const t=e.separator,r=1===t.length,n=t[0],o=t.length;return function(e){const i=[];let a,s=0,l=0;for(let c=0;c<e.length;c++){let u=e[c];if(0===s){if(u===n&&(r||e.slice(c,c+o)===t)){i.push(e.slice(l,c)),l=c+o;continue}if("/"===u){a=c;continue}}"["===u?s++:"]"===u&&s--}const c=0===i.length?e:e.substring(l),u=c.startsWith(ar);return{modifiers:i,hasImportantModifier:u,baseClassName:u?c.substring(1):c,maybePostfixModifierPosition:a&&a>l?a-l:void 0}}}const lr=/\s+/;function cr(){let e,t,r=0,n="";for(;r<arguments.length;)(e=arguments[r++])&&(t=ur(e))&&(n&&(n+=" "),n+=t);return n}function ur(e){if("string"==typeof e)return e;let t,r="";for(let n=0;n<e.length;n++)e[n]&&(t=ur(e[n]))&&(r&&(r+=" "),r+=t);return r}function dr(e,...t){let r,n,o,i=function(s){const l=t.reduce(((e,t)=>t(e)),e());return r=function(e){return{cache:ir(e.cacheSize),splitModifiers:sr(e),...er(e)}}(l),n=r.cache.get,o=r.cache.set,i=a,a(s)};function a(e){const t=n(e);if(t)return t;const i=function(e,t){const{splitModifiers:r,getClassGroupId:n,getConflictingClassGroupIds:o}=t,i=new Set;return e.trim().split(lr).map((e=>{const{modifiers:t,hasImportantModifier:o,baseClassName:i,maybePostfixModifierPosition:a}=r(e);let s=n(a?i.substring(0,a):i),l=Boolean(a);if(!s){if(!a)return{isTailwindClass:!1,originalClassName:e};if(s=n(i),!s)return{isTailwindClass:!1,originalClassName:e};l=!1}const c=function(e){if(e.length<=1)return e;const t=[];let r=[];return e.forEach((e=>{"["===e[0]?(t.push(...r.sort(),e),r=[]):r.push(e)})),t.push(...r.sort()),t}(t).join(":");return{isTailwindClass:!0,modifierId:o?c+ar:c,classGroupId:s,originalClassName:e,hasPostfixModifier:l}})).reverse().filter((e=>{if(!e.isTailwindClass)return!0;const{modifierId:t,classGroupId:r,hasPostfixModifier:n}=e,a=t+r;return!i.has(a)&&(i.add(a),o(r,n).forEach((e=>i.add(t+e))),!0)})).reverse().map((e=>e.originalClassName)).join(" ")}(e,r);return o(e,i),i}return function(){return i(cr.apply(null,arguments))}}function fr(e){const t=t=>t[e]||[];return t.isThemeGetter=!0,t}const pr=/^\[(?:([a-z-]+):)?(.+)\]$/i,mr=/^\d+\/\d+$/,hr=new Set(["px","full","screen"]),yr=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,gr=/\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$/,vr=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,br=/^-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,wr=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;function xr(e){return kr(e)||hr.has(e)||mr.test(e)}function Er(e){return Ir(e,"length",Dr)}function kr(e){return Boolean(e)&&!Number.isNaN(Number(e))}function Or(e){return Ir(e,"number",kr)}function Sr(e){return Boolean(e)&&Number.isInteger(Number(e))}function Nr(e){return e.endsWith("%")&&kr(e.slice(0,-1))}function Cr(e){return pr.test(e)}function Tr(e){return yr.test(e)}const _r=new Set(["length","size","percentage"]);function Pr(e){return Ir(e,_r,zr)}function $r(e){return Ir(e,"position",zr)}const Ar=new Set(["image","url"]);function jr(e){return Ir(e,Ar,Lr)}function Rr(e){return Ir(e,"",Vr)}function Mr(){return!0}function Ir(e,t,r){const n=pr.exec(e);return!!n&&(n[1]?"string"==typeof t?n[1]===t:t.has(n[1]):r(n[2]))}function Dr(e){return gr.test(e)&&!vr.test(e)}function zr(){return!1}function Vr(e){return br.test(e)}function Lr(e){return wr.test(e)}function Fr(){const e=fr("colors"),t=fr("spacing"),r=fr("blur"),n=fr("brightness"),o=fr("borderColor"),i=fr("borderRadius"),a=fr("borderSpacing"),s=fr("borderWidth"),l=fr("contrast"),c=fr("grayscale"),u=fr("hueRotate"),d=fr("invert"),f=fr("gap"),p=fr("gradientColorStops"),m=fr("gradientColorStopPositions"),h=fr("inset"),y=fr("margin"),g=fr("opacity"),v=fr("padding"),b=fr("saturate"),w=fr("scale"),x=fr("sepia"),E=fr("skew"),k=fr("space"),O=fr("translate"),S=()=>["auto",Cr,t],N=()=>[Cr,t],C=()=>["",xr,Er],T=()=>["auto",kr,Cr],_=()=>["","0",Cr],P=()=>[kr,Or],$=()=>[kr,Cr];return{cacheSize:500,separator:":",theme:{colors:[Mr],spacing:[xr,Er],blur:["none","",Tr,Cr],brightness:P(),borderColor:[e],borderRadius:["none","","full",Tr,Cr],borderSpacing:N(),borderWidth:C(),contrast:P(),grayscale:_(),hueRotate:$(),invert:_(),gap:N(),gradientColorStops:[e],gradientColorStopPositions:[Nr,Er],inset:S(),margin:S(),opacity:P(),padding:N(),saturate:P(),scale:P(),sepia:_(),skew:$(),space:N(),translate:N()},classGroups:{aspect:[{aspect:["auto","square","video",Cr]}],container:["container"],columns:[{columns:[Tr]}],"break-after":[{"break-after":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-before":[{"break-before":["auto","avoid","all","avoid-page","page","left","right","column"]}],"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"],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:["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top",Cr]}],overflow:[{overflow:["auto","hidden","clip","visible","scroll"]}],"overflow-x":[{"overflow-x":["auto","hidden","clip","visible","scroll"]}],"overflow-y":[{"overflow-y":["auto","hidden","clip","visible","scroll"]}],overscroll:[{overscroll:["auto","contain","none"]}],"overscroll-x":[{"overscroll-x":["auto","contain","none"]}],"overscroll-y":[{"overscroll-y":["auto","contain","none"]}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[h]}],"inset-x":[{"inset-x":[h]}],"inset-y":[{"inset-y":[h]}],start:[{start:[h]}],end:[{end:[h]}],top:[{top:[h]}],right:[{right:[h]}],bottom:[{bottom:[h]}],left:[{left:[h]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Sr,Cr]}],basis:[{basis:S()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",Cr]}],grow:[{grow:_()}],shrink:[{shrink:_()}],order:[{order:["first","last","none",Sr,Cr]}],"grid-cols":[{"grid-cols":[Mr]}],"col-start-end":[{col:["auto",{span:["full",Sr,Cr]},Cr]}],"col-start":[{"col-start":T()}],"col-end":[{"col-end":T()}],"grid-rows":[{"grid-rows":[Mr]}],"row-start-end":[{row:["auto",{span:[Sr,Cr]},Cr]}],"row-start":[{"row-start":T()}],"row-end":[{"row-end":T()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",Cr]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",Cr]}],gap:[{gap:[f]}],"gap-x":[{"gap-x":[f]}],"gap-y":[{"gap-y":[f]}],"justify-content":[{justify:["normal","start","end","center","between","around","evenly","stretch"]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal","start","end","center","between","around","evenly","stretch","baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":["start","end","center","between","around","evenly","stretch","baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[v]}],px:[{px:[v]}],py:[{py:[v]}],ps:[{ps:[v]}],pe:[{pe:[v]}],pt:[{pt:[v]}],pr:[{pr:[v]}],pb:[{pb:[v]}],pl:[{pl:[v]}],m:[{m:[y]}],mx:[{mx:[y]}],my:[{my:[y]}],ms:[{ms:[y]}],me:[{me:[y]}],mt:[{mt:[y]}],mr:[{mr:[y]}],mb:[{mb:[y]}],ml:[{ml:[y]}],"space-x":[{"space-x":[k]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[k]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",Cr,t]}],"min-w":[{"min-w":[Cr,t,"min","max","fit"]}],"max-w":[{"max-w":[Cr,t,"none","full","min","max","fit","prose",{screen:[Tr]},Tr]}],h:[{h:[Cr,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[Cr,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[Cr,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[Cr,t,"auto","min","max","fit"]}],"font-size":[{text:["base",Tr,Er]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Or]}],"font-family":[{font:[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-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",Cr]}],"line-clamp":[{"line-clamp":["none",kr,Or]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",xr,Cr]}],"list-image":[{"list-image":["none",Cr]}],"list-style-type":[{list:["none","disc","decimal",Cr]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[g]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[g]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:["solid","dashed","dotted","double","none","wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",xr,Er]}],"underline-offset":[{"underline-offset":["auto",xr,Cr]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:N()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Cr]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",Cr]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[g]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top",$r]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Pr]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},jr]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[m]}],"gradient-via-pos":[{via:[m]}],"gradient-to-pos":[{to:[m]}],"gradient-from":[{from:[p]}],"gradient-via":[{via:[p]}],"gradient-to":[{to:[p]}],rounded:[{rounded:[i]}],"rounded-s":[{"rounded-s":[i]}],"rounded-e":[{"rounded-e":[i]}],"rounded-t":[{"rounded-t":[i]}],"rounded-r":[{"rounded-r":[i]}],"rounded-b":[{"rounded-b":[i]}],"rounded-l":[{"rounded-l":[i]}],"rounded-ss":[{"rounded-ss":[i]}],"rounded-se":[{"rounded-se":[i]}],"rounded-ee":[{"rounded-ee":[i]}],"rounded-es":[{"rounded-es":[i]}],"rounded-tl":[{"rounded-tl":[i]}],"rounded-tr":[{"rounded-tr":[i]}],"rounded-br":[{"rounded-br":[i]}],"rounded-bl":[{"rounded-bl":[i]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[g]}],"border-style":[{border:["solid","dashed","dotted","double","none","hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[g]}],"divide-style":[{divide:["solid","dashed","dotted","double","none"]}],"border-color":[{border:[o]}],"border-color-x":[{"border-x":[o]}],"border-color-y":[{"border-y":[o]}],"border-color-t":[{"border-t":[o]}],"border-color-r":[{"border-r":[o]}],"border-color-b":[{"border-b":[o]}],"border-color-l":[{"border-l":[o]}],"divide-color":[{divide:[o]}],"outline-style":[{outline:["","solid","dashed","dotted","double","none"]}],"outline-offset":[{"outline-offset":[xr,Cr]}],"outline-w":[{outline:[xr,Er]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:C()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[g]}],"ring-offset-w":[{"ring-offset":[xr,Er]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Tr,Rr]}],"shadow-color":[{shadow:[Mr]}],opacity:[{opacity:[g]}],"mix-blend":[{"mix-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"]}],"bg-blend":[{"bg-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"]}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[n]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",Tr,Cr]}],grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[d]}],saturate:[{saturate:[b]}],sepia:[{sepia:[x]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[u]}],"backdrop-invert":[{"backdrop-invert":[d]}],"backdrop-opacity":[{"backdrop-opacity":[g]}],"backdrop-saturate":[{"backdrop-saturate":[b]}],"backdrop-sepia":[{"backdrop-sepia":[x]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[a]}],"border-spacing-x":[{"border-spacing-x":[a]}],"border-spacing-y":[{"border-spacing-y":[a]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",Cr]}],duration:[{duration:$()}],ease:[{ease:["linear","in","out","in-out",Cr]}],delay:[{delay:$()}],animate:[{animate:["none","spin","ping","pulse","bounce",Cr]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[w]}],"scale-x":[{"scale-x":[w]}],"scale-y":[{"scale-y":[w]}],rotate:[{rotate:[Sr,Cr]}],"translate-x":[{"translate-x":[O]}],"translate-y":[{"translate-y":[O]}],"skew-x":[{"skew-x":[E]}],"skew-y":[{"skew-y":[E]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",Cr]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],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",Cr]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":N()}],"scroll-mx":[{"scroll-mx":N()}],"scroll-my":[{"scroll-my":N()}],"scroll-ms":[{"scroll-ms":N()}],"scroll-me":[{"scroll-me":N()}],"scroll-mt":[{"scroll-mt":N()}],"scroll-mr":[{"scroll-mr":N()}],"scroll-mb":[{"scroll-mb":N()}],"scroll-ml":[{"scroll-ml":N()}],"scroll-p":[{"scroll-p":N()}],"scroll-px":[{"scroll-px":N()}],"scroll-py":[{"scroll-py":N()}],"scroll-ps":[{"scroll-ps":N()}],"scroll-pe":[{"scroll-pe":N()}],"scroll-pt":[{"scroll-pt":N()}],"scroll-pr":[{"scroll-pr":N()}],"scroll-pb":[{"scroll-pb":N()}],"scroll-pl":[{"scroll-pl":N()}],"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",Cr]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[xr,Er,Or]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","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","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","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-s","border-w-e","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-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"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","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-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"]}}}const Wr=dr(Fr);function Br(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Wr(Zt(e))}var Ur=Kt,Hr=Yt,Gr=e.forwardRef((function(t,r){var n=t.id,o=t.className,i=t.side,a=void 0===i?"bottom":i,s=t.align,l=void 0===s?"center":s,c=t.sideOffset,u=void 0===c?4:c,d=k(t,["id","className","side","align","sideOffset"]);return e.createElement(Xt,E({ref:r,id:n,align:l,side:a,sideOffset:u,className:Br("z-50 w-64 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]: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",o)},d))}));Gr.displayName=Xt.displayName;var qr,Kr=function(e){var r=e.id,n=e.className,o=e.align,i=e.side,a=e.sideOffset,s=void 0===a?8:a,l=e.visible,c=e.content,u=e.children;return t.createElement(Ur,{openDelay:100,closeDelay:100,open:l},t.createElement(Hr,{className:"gyramais-hover-card-trigger"},u),t.createElement(Gr,{id:r,className:T("gyramais-hover-card-content",n),align:o,side:i,sideOffset:s},c))},Yr=function(e){var r=e.id,n=e.className,o=e.columns,i=void 0===o?1:o,a=e.gap,s=void 0===a?0:a,l=e.align,c=void 0===l?"start":l,u=e.children;return t.createElement("div",{id:r,className:T("gyramais-row","gyramais-row-columns-".concat(i),"gyramais-row-align-".concat(c),"gyramais-row-mobile-gap-".concat("number"==typeof s?s:"object"==typeof s&&!Array.isArray(s)&&s.mobile),"object"==typeof s&&!Array.isArray(s)&&s.tablet?"gyramais-row-tablet-gap-".concat(s.tablet):"","object"==typeof s&&!Array.isArray(s)&&s.desktop?"gyramais-row-desktop-gap-".concat(s.desktop):"","object"==typeof s&&!Array.isArray(s)&&s.wide?"gyramais-row-wide-gap-".concat(s.wide):"",n)},u)},Xr=function(e){var r=e.id,n=e.className,o=e.span,i=void 0===o?1:o,a=e.onClick,s=e.children;return t.createElement("div",{id:r,className:T("gyramais-col","gyramais-col-mobile-span-".concat("number"==typeof i?i:"object"==typeof i&&!Array.isArray(i)&&i.mobile),"object"==typeof i&&!Array.isArray(i)&&i.tablet?"gyramais-col-tablet-span-".concat(i.tablet):"","object"==typeof i&&!Array.isArray(i)&&i.desktop?"gyramais-col-desktop-span-".concat(i.desktop):"","object"==typeof i&&!Array.isArray(i)&&i.wide?"gyramais-col-wide-span-".concat(i.wide):"",n),onClick:a},s)},Jr={exports:{}};Jr.exports=(qr=t,function(e){function t(n){if(r[n])return r[n].exports;var o=r[n]={exports:{},id:n,loaded:!1};return e[n].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var r={};return t.m=e,t.c=r,t.p="",t(0)}([function(e,t,r){function n(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.conformToMask=void 0;var l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},c=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),u=r(3);Object.defineProperty(t,"conformToMask",{enumerable:!0,get:function(){return n(u).default}});var d=n(r(11)),f=n(r(9)),p=n(r(5)),m=r(2),h=function(e){function t(){var e;i(this,t);for(var r=arguments.length,n=Array(r),o=0;o<r;o++)n[o]=arguments[o];var s=a(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(n)));return s.setRef=s.setRef.bind(s),s.onBlur=s.onBlur.bind(s),s.onChange=s.onChange.bind(s),s}return s(t,e),c(t,[{key:"setRef",value:function(e){this.inputElement=e}},{key:"initTextMask",value:function(){var e=this.props,t=this.props.value;this.textMaskInputElement=(0,p.default)(l({inputElement:this.inputElement},e)),this.textMaskInputElement.update(t)}},{key:"componentDidMount",value:function(){this.initTextMask()}},{key:"componentDidUpdate",value:function(e){var t=this.props,r=t.value,n=t.pipe,o=t.mask,i={guide:t.guide,placeholderChar:t.placeholderChar,showMask:t.showMask},a="function"==typeof n&&"function"==typeof e.pipe?n.toString()!==e.pipe.toString():(0,m.isNil)(n)&&!(0,m.isNil)(e.pipe)||!(0,m.isNil)(n)&&(0,m.isNil)(e.pipe),s=o.toString()!==e.mask.toString(),l=Object.keys(i).some((function(t){return i[t]!==e[t]}))||s||a;(r!==this.inputElement.value||l)&&this.initTextMask()}},{key:"render",value:function(){var e=this.props,t=e.render,r=o(e,["render"]);return delete r.mask,delete r.guide,delete r.pipe,delete r.placeholderChar,delete r.keepCharPositions,delete r.value,delete r.onBlur,delete r.onChange,delete r.showMask,t(this.setRef,l({onBlur:this.onBlur,onChange:this.onChange,defaultValue:this.props.value},r))}},{key:"onChange",value:function(e){this.textMaskInputElement.update(),"function"==typeof this.props.onChange&&this.props.onChange(e)}},{key:"onBlur",value:function(e){"function"==typeof this.props.onBlur&&this.props.onBlur(e)}}]),t}(d.default.PureComponent);t.default=h,h.propTypes={mask:f.default.oneOfType([f.default.array,f.default.func,f.default.bool,f.default.shape({mask:f.default.oneOfType([f.default.array,f.default.func]),pipe:f.default.func})]).isRequired,guide:f.default.bool,value:f.default.oneOfType([f.default.string,f.default.number]),pipe:f.default.func,placeholderChar:f.default.string,keepCharPositions:f.default.bool,showMask:f.default.bool},h.defaultProps={render:function(e,t){return d.default.createElement("input",l({ref:e},t))}}},function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.placeholderChar="_",t.strFunction="function"},function(e,t,r){function n(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:u,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:c.placeholderChar;if(!o(e))throw new Error("Text-mask:convertMaskToPlaceholder; The mask property must be an array.");if(-1!==e.indexOf(t))throw new Error("Placeholder character must not be used as part of the mask. Please specify a character that is not present in your mask as your placeholder character.\n\nThe placeholder character that was received is: "+JSON.stringify(t)+"\n\nThe mask that was received is: "+JSON.stringify(e));return e.map((function(e){return e instanceof RegExp?t:e})).join("")}function o(e){return Array.isArray&&Array.isArray(e)||e instanceof Array}function i(e){return"string"==typeof e||e instanceof String}function a(e){return"number"==typeof e&&void 0===e.length&&!isNaN(e)}function s(e){return null==e}function l(e){for(var t=[],r=void 0;-1!==(r=e.indexOf(d));)t.push(r),e.splice(r,1);return{maskWithoutCaretTraps:e,indexes:t}}Object.defineProperty(t,"__esModule",{value:!0}),t.convertMaskToPlaceholder=n,t.isArray=o,t.isString=i,t.isNumber=a,t.isNil=s,t.processCaretTraps=l;var c=r(1),u=[],d="[]"},function(e,t,r){function n(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:s,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!(0,i.isArray)(t)){if((void 0===t?"undefined":o(t))!==a.strFunction)throw new Error("Text-mask:conformToMask; The mask property must be an array.");t=t(e,r),t=(0,i.processCaretTraps)(t).maskWithoutCaretTraps}var n=r.guide,c=void 0===n||n,u=r.previousConformedValue,d=void 0===u?l:u,f=r.placeholderChar,p=void 0===f?a.placeholderChar:f,m=r.placeholder,h=void 0===m?(0,i.convertMaskToPlaceholder)(t,p):m,y=r.currentCaretPosition,g=r.keepCharPositions,v=!1===c&&void 0!==d,b=e.length,w=d.length,x=h.length,E=t.length,k=b-w,O=k>0,S=y+(O?-k:0),N=S+Math.abs(k);if(!0===g&&!O){for(var C=l,T=S;T<N;T++)h[T]===p&&(C+=p);e=e.slice(0,S)+C+e.slice(S,b)}for(var _=e.split(l).map((function(e,t){return{char:e,isNew:t>=S&&t<N}})),P=b-1;P>=0;P--){var $=_[P].char;$!==p&&$===h[P>=S&&w===E?P-k:P]&&_.splice(P,1)}var A=l,j=!1;e:for(var R=0;R<x;R++){var M=h[R];if(M===p){if(_.length>0)for(;_.length>0;){var I=_.shift(),D=I.char,z=I.isNew;if(D===p&&!0!==v){A+=p;continue e}if(t[R].test(D)){if(!0===g&&!1!==z&&d!==l&&!1!==c&&O){for(var V=_.length,L=null,F=0;F<V;F++){var W=_[F];if(W.char!==p&&!1===W.isNew)break;if(W.char===p){L=F;break}}null!==L?(A+=D,_.splice(L,1)):R--}else A+=D;continue e}j=!0}!1===v&&(A+=h.substr(R,x));break}A+=M}if(v&&!1===O){for(var B=null,U=0;U<A.length;U++)h[U]===p&&(B=U);A=null!==B?A.substr(0,B+1):l}return{conformedValue:A,meta:{someCharsRejected:j}}}Object.defineProperty(t,"__esModule",{value:!0});var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=n;var i=r(2),a=r(1),s=[],l=""},function(e,t){function r(e){var t=e.previousConformedValue,r=void 0===t?o:t,i=e.previousPlaceholder,a=void 0===i?o:i,s=e.currentCaretPosition,l=void 0===s?0:s,c=e.conformedValue,u=e.rawValue,d=e.placeholderChar,f=e.placeholder,p=e.indexesOfPipedChars,m=void 0===p?n:p,h=e.caretTrapIndexes,y=void 0===h?n:h;if(0===l||!u.length)return 0;var g=u.length,v=r.length,b=f.length,w=c.length,x=g-v,E=x>0;if(x>1&&!E&&0!==v)return l;var k=0,O=void 0,S=void 0;if(!E||r!==c&&c!==f){var N=c.toLowerCase(),C=u.toLowerCase().substr(0,l).split(o).filter((function(e){return-1!==N.indexOf(e)}));S=C[C.length-1];var T=a.substr(0,C.length).split(o).filter((function(e){return e!==d})).length,_=f.substr(0,C.length).split(o).filter((function(e){return e!==d})).length,P=_!==T,$=void 0!==a[C.length-1]&&void 0!==f[C.length-2]&&a[C.length-1]!==d&&a[C.length-1]!==f[C.length-1]&&a[C.length-1]===f[C.length-2];!E&&(P||$)&&T>0&&f.indexOf(S)>-1&&void 0!==u[l]&&(O=!0,S=u[l]);for(var A=m.map((function(e){return N[e]})),j=A.filter((function(e){return e===S})).length,R=C.filter((function(e){return e===S})).length,M=f.substr(0,f.indexOf(d)).split(o).filter((function(e,t){return e===S&&u[t]!==e})).length,I=M+R+j+(O?1:0),D=0,z=0;z<w&&(k=z+1,N[z]===S&&D++,!(D>=I));z++);}else k=l-x;if(E){for(var V=k,L=k;L<=b;L++)if(f[L]===d&&(V=L),f[L]===d||-1!==y.indexOf(L)||L===b)return V}else if(O){for(var F=k-1;F>=0;F--)if(c[F]===S||-1!==y.indexOf(F)||0===F)return F}else for(var W=k;W>=0;W--)if(f[W-1]===d||-1!==y.indexOf(W)||0===W)return W}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var n=[],o=""},function(e,t,r){function n(e){return e&&e.__esModule?e:{default:e}}function o(e){var t={previousConformedValue:void 0,previousPlaceholder:void 0};return{state:t,update:function(r){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,o=n.inputElement,m=n.mask,y=n.guide,g=n.pipe,v=n.placeholderChar,b=void 0===v?f.placeholderChar:v,w=n.keepCharPositions,x=void 0!==w&&w,E=n.showMask,k=void 0!==E&&E;if(void 0===r&&(r=o.value),r!==t.previousConformedValue){(void 0===m?"undefined":l(m))===h&&void 0!==m.pipe&&void 0!==m.mask&&(g=m.pipe,m=m.mask);var O=void 0,S=void 0;if(m instanceof Array&&(O=(0,d.convertMaskToPlaceholder)(m,b)),!1!==m){var N=a(r),C=o.selectionEnd,T=t.previousConformedValue,_=t.previousPlaceholder,P=void 0;if((void 0===m?"undefined":l(m))===f.strFunction){if(!1===(S=m(N,{currentCaretPosition:C,previousConformedValue:T,placeholderChar:b})))return;var $=(0,d.processCaretTraps)(S);S=$.maskWithoutCaretTraps,P=$.indexes,O=(0,d.convertMaskToPlaceholder)(S,b)}else S=m;var A={previousConformedValue:T,guide:y,placeholderChar:b,pipe:g,placeholder:O,currentCaretPosition:C,keepCharPositions:x},j=(0,u.default)(N,S,A).conformedValue,R=(void 0===g?"undefined":l(g))===f.strFunction,M={};R&&(!1===(M=g(j,s({rawValue:N},A)))?M={value:T,rejected:!0}:(0,d.isString)(M)&&(M={value:M}));var I=R?M.value:j,D=(0,c.default)({previousConformedValue:T,previousPlaceholder:_,conformedValue:I,placeholder:O,rawValue:N,currentCaretPosition:C,placeholderChar:b,indexesOfPipedChars:M.indexesOfPipedChars,caretTrapIndexes:P}),z=I===O&&0===D?k?O:p:I;t.previousConformedValue=z,t.previousPlaceholder=O,o.value!==z&&(o.value=z,i(o,D))}}}}}function i(e,t){document.activeElement===e&&(y?g((function(){return e.setSelectionRange(t,t,m)}),0):e.setSelectionRange(t,t,m))}function a(e){if((0,d.isString)(e))return e;if((0,d.isNumber)(e))return String(e);if(null==e)return p;throw new Error("The 'value' provided to Text Mask needs to be a string or a number. The value received was:\n\n "+JSON.stringify(e))}Object.defineProperty(t,"__esModule",{value:!0});var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=o;var c=n(r(4)),u=n(r(3)),d=r(2),f=r(1),p="",m="none",h="object",y="undefined"!=typeof navigator&&/Android/i.test(navigator.userAgent),g="undefined"!=typeof requestAnimationFrame?requestAnimationFrame:setTimeout},function(e,t){function r(e){return function(){return e}}var n=function(){};n.thatReturns=r,n.thatReturnsFalse=r(!1),n.thatReturnsTrue=r(!0),n.thatReturnsNull=r(null),n.thatReturnsThis=function(){return this},n.thatReturnsArgument=function(e){return e},e.exports=n},function(e,t,r){function n(e,t,r,n,o,i,a,s){if(!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[r,n,o,i,a,s],u=0;(l=new Error(t.replace(/%s/g,(function(){return c[u++]})))).name="Invariant Violation"}throw l.framesToPop=1,l}}e.exports=n},function(e,t,r){var n=r(6),o=r(7),i=r(10);e.exports=function(){function e(e,t,r,n,a,s){s!==i&&o(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}function t(){return e}e.isRequired=e;var r={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return r.checkPropTypes=n,r.PropTypes=r,r}},function(e,t,r){e.exports=r(8)()},function(e,t){var r="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";e.exports=r},function(e,t){e.exports=qr}]));var Zr=O(Jr.exports),Qr=t.forwardRef((function(e,r){var n=e.id,o=e.className,i=e.name,a=e.type,l=void 0===a?"text":a,u=e.disabled,d=e.placeholder,f=e.value,p=e.mask,m=e.guide,h=void 0!==m&&m,y=e.onChange,g=c(!1),v=g[0],b=g[1];return s((function(){return b(!!f)}),[f]),t.createElement("div",{className:"gyramais-input-controller"},d&&t.createElement("div",{className:T("gyramais-input-placeholder",v?"gyramais-input-with-value":"",u?"gyramais-input-placeholder-disabled":"")},d),p?t.createElement(Zr,{id:n,className:T("gyramais-input",o),name:i,type:l,disabled:u,value:f,onChange:function(e){b(!!e.target.value),null==y||y(e)},mask:p||!1,guide:h}):t.createElement("input",{id:n,className:T("gyramais-input",o),name:i,type:l,disabled:u,value:f,onChange:function(e){b(!!e.target.value),null==y||y(e)}}))}));const en="Switch",[tn,rn]=j(en),[nn,on]=tn(en),an=d(((e,t)=>{const{__scopeSwitch:r,name:n,checked:i,defaultChecked:s,required:l,disabled:u,value:d="on",onCheckedChange:f,...p}=e,[m,h]=c(null),y=z(t,(e=>h(e))),g=a(!1),v=!m||Boolean(m.closest("form")),[b=!1,w]=I({prop:i,defaultProp:s,onChange:f});return o(nn,{scope:r,checked:b,disabled:u},o(it.button,$({type:"button",role:"switch","aria-checked":b,"aria-required":l,"data-state":ln(b),"data-disabled":u?"":void 0,disabled:u,value:d},p,{ref:y,onClick:A(e.onClick,(e=>{w((e=>!e)),v&&(g.current=e.isPropagationStopped(),g.current||e.stopPropagation())}))})),v&&o(sn,{control:m,bubbles:!g.current,name:n,value:d,checked:b,required:l,disabled:u,style:{transform:"translateX(-100%)"}}))})),sn=e=>{const{control:t,checked:r,bubbles:i=!0,...l}=e,c=a(null),u=function(e){const t=a({value:e,previous:e});return n((()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous)),[e])}(r),d=st(t);return s((()=>{const e=c.current,t=window.HTMLInputElement.prototype,n=Object.getOwnPropertyDescriptor(t,"checked").set;if(u!==r&&n){const t=new Event("click",{bubbles:i});n.call(e,r),e.dispatchEvent(t)}}),[u,r,i]),o("input",$({type:"checkbox","aria-hidden":!0,defaultChecked:r},l,{tabIndex:-1,ref:c,style:{...e.style,...d,position:"absolute",pointerEvents:"none",opacity:0,margin:0}}))};function ln(e){return e?"checked":"unchecked"}const cn=an,un=d(((e,t)=>{const{__scopeSwitch:r,...n}=e,i=on("SwitchThumb",r);return o(it.span,$({"data-state":ln(i.checked),"data-disabled":i.disabled?"":void 0},n,{ref:t}))}));var dn=e.forwardRef((function(t,r){var n=t.className,o=k(t,["className"]);return e.createElement(cn,E({className:Br("switch-root",n)},o,{ref:r}),e.createElement(un,{className:"switch-thumb"}))}));dn.displayName=cn.displayName;var fn=function(e){var r=e.id,n=e.className,o=e.disabled,i=void 0!==o&&o,a=e.checked,s=void 0!==a&&a,l=e.onCheckedChange;return t.createElement(dn,{id:r,className:T("gyramais-switch",n),disabled:i,checked:s,onCheckedChange:l})},pn={},mn={exports:{}};!function(e){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports}(mn);var hn=mn.exports,yn={};function gn(e){if("object"!=typeof e||null===e)return!1;const t=Object.getPrototypeOf(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)}function vn(e){if(!gn(e))return e;const t={};return Object.keys(e).forEach((r=>{t[r]=vn(e[r])})),t}function bn(e,t,r={clone:!0}){const n=r.clone?$({},e):e;return gn(e)&&gn(t)&&Object.keys(t).forEach((o=>{"__proto__"!==o&&(gn(t[o])&&o in e&&gn(e[o])?n[o]=bn(e[o],t[o],r):r.clone?n[o]=gn(t[o])?vn(t[o]):t[o]:n[o]=t[o])})),n}var wn,xn={exports:{}},En={exports:{}},kn={};var On,Sn,Nn,Cn,Tn,_n,Pn,$n,An,jn,Rn,Mn,In,Dn,zn={};
|
|
6
|
+
*/N=C,function(){var e={}.hasOwnProperty;function t(){for(var e="",t=0;t<arguments.length;t++){var o=arguments[t];o&&(e=n(e,r(o)))}return e}function r(r){if("string"==typeof r||"number"==typeof r)return r;if("object"!=typeof r)return"";if(Array.isArray(r))return t.apply(null,r);if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]"))return r.toString();var o="";for(var i in r)e.call(r,i)&&r[i]&&(o=n(o,i));return o}function n(e,t){return t?e?e+" "+t:e+t:e}N.exports?(t.default=t,N.exports=t):window.classNames=t}();var T=O(C.exports),_=function(e){var r=e.id,n=e.className,o=e.size,i=void 0===o?40:o,a=e.color,s=void 0===a?"var(--primary-button-color)":a;return t.createElement("div",{id:r,className:T("gyramais-loading",n),style:{width:i,height:i}},t.createElement("div",{style:{width:i,height:i,borderWidth:Math.max(i/10-1,2),borderColor:"".concat(s," ").concat(s," transparent transparent")}}),t.createElement("div",{style:{width:i,height:i,borderWidth:Math.max(i/10-1,2),borderColor:"".concat(s," ").concat(s," transparent transparent")}}))},P=function(e){var r=e.id,n=e.className,o=e.type,i=void 0===o?"primary":o,a=e.size,s=void 0===a?"medium":a,l=e.htmlType,c=void 0===l?"button":l,u=e.link,d=void 0!==u&&u,f=e.block,p=void 0!==f&&f,m=e.disabled,h=void 0!==m&&m,y=e.loading,g=void 0!==y&&y,v=e.icon,b=e.onClick,w=e.children;return t.createElement("button",{id:r,type:c,className:T("gyramais-button","gyramais-button-".concat(s),"gyramais-button-".concat(i),d?"gyramais-button-link":"",p?"gyramais-button-block":"",g?"gyramais-button-loading":"",v&&!w?"gyramais-button-icon":"",n),onClick:g?function(){}:b,disabled:h},g&&t.createElement("div",{className:"gyramais-button-icon-container"},t.createElement(_,{size:24,className:"gyramais-button-loading-feedback"})),!g&&v&&t.createElement("div",{className:"gyramais-button-icon-container"},v),w)};function $(){return $=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},$.apply(this,arguments)}function A(e,t,{checkForDefaultPrevented:r=!0}={}){return function(n){if(null==e||e(n),!1===r||!n.defaultPrevented)return null==t?void 0:t(n)}}function j(e,t=[]){let a=[];const s=()=>{const t=a.map((e=>r(e)));return function(r){const o=(null==r?void 0:r[e])||t;return n((()=>({[`__scope${e}`]:{...r,[e]:o}})),[r,o])}};return s.scopeName=e,[function(t,s){const l=r(s),c=a.length;function u(t){const{scope:r,children:i,...a}=t,s=(null==r?void 0:r[e][c])||l,u=n((()=>a),Object.values(a));return o(s.Provider,{value:u},i)}return a=[...a,s],u.displayName=t+"Provider",[u,function(r,n){const o=(null==n?void 0:n[e][c])||l,a=i(o);if(a)return a;if(void 0!==s)return s;throw new Error(`\`${r}\` must be used within \`${t}\``)}]},R(s,...t)]}function R(...e){const t=e[0];if(1===e.length)return t;const r=()=>{const r=e.map((e=>({useScope:e(),scopeName:e.scopeName})));return function(e){const o=r.reduce(((t,{useScope:r,scopeName:n})=>({...t,...r(e)[`__scope${n}`]})),{});return n((()=>({[`__scope${t.scopeName}`]:o})),[o])}};return r.scopeName=t.scopeName,r}function M(e){const t=a(e);return s((()=>{t.current=e})),n((()=>(...e)=>{var r;return null===(r=t.current)||void 0===r?void 0:r.call(t,...e)}),[])}function I({prop:e,defaultProp:t,onChange:r=(()=>{})}){const[n,o]=function({defaultProp:e,onChange:t}){const r=c(e),[n]=r,o=a(n),i=M(t);return s((()=>{o.current!==n&&(i(n),o.current=n)}),[n,o,i]),r}({defaultProp:t,onChange:r}),i=void 0!==e,u=i?e:n,d=M(r);return[u,l((t=>{if(i){const r="function"==typeof t?t(e):t;r!==e&&d(r)}else o(t)}),[i,e,o,d])]}function D(...e){return t=>e.forEach((e=>function(e,t){"function"==typeof e?e(t):null!=e&&(e.current=t)}(e,t)))}function z(...e){return l(D(...e),e)}const V=["top","right","bottom","left"],L=Math.min,F=Math.max,W=Math.round,B=Math.floor,U=e=>({x:e,y:e}),H={left:"right",right:"left",bottom:"top",top:"bottom"},G={start:"end",end:"start"};function q(e,t,r){return F(e,L(t,r))}function K(e,t){return"function"==typeof e?e(t):e}function Y(e){return e.split("-")[0]}function X(e){return e.split("-")[1]}function J(e){return"x"===e?"y":"x"}function Z(e){return"y"===e?"height":"width"}function Q(e){return["top","bottom"].includes(Y(e))?"y":"x"}function ee(e){return J(Q(e))}function te(e){return e.replace(/start|end/g,(e=>G[e]))}function re(e){return e.replace(/left|right|bottom|top/g,(e=>H[e]))}function ne(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}function oe(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function ie(e,t,r){let{reference:n,floating:o}=e;const i=Q(t),a=ee(t),s=Z(a),l=Y(t),c="y"===i,u=n.x+n.width/2-o.width/2,d=n.y+n.height/2-o.height/2,f=n[s]/2-o[s]/2;let p;switch(l){case"top":p={x:u,y:n.y-o.height};break;case"bottom":p={x:u,y:n.y+n.height};break;case"right":p={x:n.x+n.width,y:d};break;case"left":p={x:n.x-o.width,y:d};break;default:p={x:n.x,y:n.y}}switch(X(t)){case"start":p[a]-=f*(r&&c?-1:1);break;case"end":p[a]+=f*(r&&c?-1:1)}return p}async function ae(e,t){var r;void 0===t&&(t={});const{x:n,y:o,platform:i,rects:a,elements:s,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:d="floating",altBoundary:f=!1,padding:p=0}=K(t,e),m=ne(p),h=s[f?"floating"===d?"reference":"floating":d],y=oe(await i.getClippingRect({element:null==(r=await(null==i.isElement?void 0:i.isElement(h)))||r?h:h.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(s.floating)),boundary:c,rootBoundary:u,strategy:l})),g="floating"===d?{...a.floating,x:n,y:o}:a.reference,v=await(null==i.getOffsetParent?void 0:i.getOffsetParent(s.floating)),b=await(null==i.isElement?void 0:i.isElement(v))&&await(null==i.getScale?void 0:i.getScale(v))||{x:1,y:1},w=oe(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:g,offsetParent:v,strategy:l}):g);return{top:(y.top-w.top+m.top)/b.y,bottom:(w.bottom-y.bottom+m.bottom)/b.y,left:(y.left-w.left+m.left)/b.x,right:(w.right-y.right+m.right)/b.x}}function se(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function le(e){return V.some((t=>e[t]>=0))}const ce=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var r,n;const{x:o,y:i,placement:a,middlewareData:s}=t,l=await async function(e,t){const{placement:r,platform:n,elements:o}=e,i=await(null==n.isRTL?void 0:n.isRTL(o.floating)),a=Y(r),s=X(r),l="y"===Q(r),c=["left","top"].includes(a)?-1:1,u=i&&l?-1:1,d=K(t,e);let{mainAxis:f,crossAxis:p,alignmentAxis:m}="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...d};return s&&"number"==typeof m&&(p="end"===s?-1*m:m),l?{x:p*u,y:f*c}:{x:f*c,y:p*u}}(t,e);return a===(null==(r=s.offset)?void 0:r.placement)&&null!=(n=s.arrow)&&n.alignmentOffset?{}:{x:o+l.x,y:i+l.y,data:{...l,placement:a}}}}};function ue(e){return pe(e)?(e.nodeName||"").toLowerCase():"#document"}function de(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function fe(e){var t;return null==(t=(pe(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function pe(e){return e instanceof Node||e instanceof de(e).Node}function me(e){return e instanceof Element||e instanceof de(e).Element}function he(e){return e instanceof HTMLElement||e instanceof de(e).HTMLElement}function ye(e){return"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof de(e).ShadowRoot)}function ge(e){const{overflow:t,overflowX:r,overflowY:n,display:o}=Ee(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&!["inline","contents"].includes(o)}function ve(e){return["table","td","th"].includes(ue(e))}function be(e){const t=we(),r=Ee(e);return"none"!==r.transform||"none"!==r.perspective||!!r.containerType&&"normal"!==r.containerType||!t&&!!r.backdropFilter&&"none"!==r.backdropFilter||!t&&!!r.filter&&"none"!==r.filter||["transform","perspective","filter"].some((e=>(r.willChange||"").includes(e)))||["paint","layout","strict","content"].some((e=>(r.contain||"").includes(e)))}function we(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function xe(e){return["html","body","#document"].includes(ue(e))}function Ee(e){return de(e).getComputedStyle(e)}function ke(e){return me(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Oe(e){if("html"===ue(e))return e;const t=e.assignedSlot||e.parentNode||ye(e)&&e.host||fe(e);return ye(t)?t.host:t}function Se(e){const t=Oe(e);return xe(t)?e.ownerDocument?e.ownerDocument.body:e.body:he(t)&&ge(t)?t:Se(t)}function Ne(e,t,r){var n;void 0===t&&(t=[]),void 0===r&&(r=!0);const o=Se(e),i=o===(null==(n=e.ownerDocument)?void 0:n.body),a=de(o);return i?t.concat(a,a.visualViewport||[],ge(o)?o:[],a.frameElement&&r?Ne(a.frameElement):[]):t.concat(o,Ne(o,[],r))}function Ce(e){const t=Ee(e);let r=parseFloat(t.width)||0,n=parseFloat(t.height)||0;const o=he(e),i=o?e.offsetWidth:r,a=o?e.offsetHeight:n,s=W(r)!==i||W(n)!==a;return s&&(r=i,n=a),{width:r,height:n,$:s}}function Te(e){return me(e)?e:e.contextElement}function _e(e){const t=Te(e);if(!he(t))return U(1);const r=t.getBoundingClientRect(),{width:n,height:o,$:i}=Ce(t);let a=(i?W(r.width):r.width)/n,s=(i?W(r.height):r.height)/o;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const Pe=U(0);function $e(e){const t=de(e);return we()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:Pe}function Ae(e,t,r,n){void 0===t&&(t=!1),void 0===r&&(r=!1);const o=e.getBoundingClientRect(),i=Te(e);let a=U(1);t&&(n?me(n)&&(a=_e(n)):a=_e(e));const s=function(e,t,r){return void 0===t&&(t=!1),!(!r||t&&r!==de(e))&&t}(i,r,n)?$e(i):U(0);let l=(o.left+s.x)/a.x,c=(o.top+s.y)/a.y,u=o.width/a.x,d=o.height/a.y;if(i){const e=de(i),t=n&&me(n)?de(n):n;let r=e.frameElement;for(;r&&n&&t!==e;){const e=_e(r),t=r.getBoundingClientRect(),n=Ee(r),o=t.left+(r.clientLeft+parseFloat(n.paddingLeft))*e.x,i=t.top+(r.clientTop+parseFloat(n.paddingTop))*e.y;l*=e.x,c*=e.y,u*=e.x,d*=e.y,l+=o,c+=i,r=de(r).frameElement}}return oe({width:u,height:d,x:l,y:c})}function je(e){return Ae(fe(e)).left+ke(e).scrollLeft}function Re(e,t,r){let n;if("viewport"===t)n=function(e,t){const r=de(e),n=fe(e),o=r.visualViewport;let i=n.clientWidth,a=n.clientHeight,s=0,l=0;if(o){i=o.width,a=o.height;const e=we();(!e||e&&"fixed"===t)&&(s=o.offsetLeft,l=o.offsetTop)}return{width:i,height:a,x:s,y:l}}(e,r);else if("document"===t)n=function(e){const t=fe(e),r=ke(e),n=e.ownerDocument.body,o=F(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),i=F(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight);let a=-r.scrollLeft+je(e);const s=-r.scrollTop;return"rtl"===Ee(n).direction&&(a+=F(t.clientWidth,n.clientWidth)-o),{width:o,height:i,x:a,y:s}}(fe(e));else if(me(t))n=function(e,t){const r=Ae(e,!0,"fixed"===t),n=r.top+e.clientTop,o=r.left+e.clientLeft,i=he(e)?_e(e):U(1);return{width:e.clientWidth*i.x,height:e.clientHeight*i.y,x:o*i.x,y:n*i.y}}(t,r);else{const r=$e(e);n={...t,x:t.x-r.x,y:t.y-r.y}}return oe(n)}function Me(e,t){const r=Oe(e);return!(r===t||!me(r)||xe(r))&&("fixed"===Ee(r).position||Me(r,t))}function Ie(e,t,r){const n=he(t),o=fe(t),i="fixed"===r,a=Ae(e,!0,i,t);let s={scrollLeft:0,scrollTop:0};const l=U(0);if(n||!n&&!i)if(("body"!==ue(t)||ge(o))&&(s=ke(t)),n){const e=Ae(t,!0,i,t);l.x=e.x+t.clientLeft,l.y=e.y+t.clientTop}else o&&(l.x=je(o));return{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function De(e,t){return he(e)&&"fixed"!==Ee(e).position?t?t(e):e.offsetParent:null}function ze(e,t){const r=de(e);if(!he(e))return r;let n=De(e,t);for(;n&&ve(n)&&"static"===Ee(n).position;)n=De(n,t);return n&&("html"===ue(n)||"body"===ue(n)&&"static"===Ee(n).position&&!be(n))?r:n||function(e){let t=Oe(e);for(;he(t)&&!xe(t);){if(be(t))return t;t=Oe(t)}return null}(e)||r}const Ve={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:r,strategy:n}=e;const o=he(r),i=fe(r);if(r===i)return t;let a={scrollLeft:0,scrollTop:0},s=U(1);const l=U(0);if((o||!o&&"fixed"!==n)&&(("body"!==ue(r)||ge(i))&&(a=ke(r)),he(r))){const e=Ae(r);s=_e(r),l.x=e.x+r.clientLeft,l.y=e.y+r.clientTop}return{width:t.width*s.x,height:t.height*s.y,x:t.x*s.x-a.scrollLeft*s.x+l.x,y:t.y*s.y-a.scrollTop*s.y+l.y}},getDocumentElement:fe,getClippingRect:function(e){let{element:t,boundary:r,rootBoundary:n,strategy:o}=e;const i=[..."clippingAncestors"===r?function(e,t){const r=t.get(e);if(r)return r;let n=Ne(e,[],!1).filter((e=>me(e)&&"body"!==ue(e))),o=null;const i="fixed"===Ee(e).position;let a=i?Oe(e):e;for(;me(a)&&!xe(a);){const t=Ee(a),r=be(a);r||"fixed"!==t.position||(o=null),(i?!r&&!o:!r&&"static"===t.position&&o&&["absolute","fixed"].includes(o.position)||ge(a)&&!r&&Me(e,a))?n=n.filter((e=>e!==a)):o=t,a=Oe(a)}return t.set(e,n),n}(t,this._c):[].concat(r),n],a=i[0],s=i.reduce(((e,r)=>{const n=Re(t,r,o);return e.top=F(n.top,e.top),e.right=L(n.right,e.right),e.bottom=L(n.bottom,e.bottom),e.left=F(n.left,e.left),e}),Re(t,a,o));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:ze,getElementRects:async function(e){let{reference:t,floating:r,strategy:n}=e;const o=this.getOffsetParent||ze,i=this.getDimensions;return{reference:Ie(t,await o(r),n),floating:{x:0,y:0,...await i(r)}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){const{width:t,height:r}=Ce(e);return{width:t,height:r}},getScale:_e,isElement:me,isRTL:function(e){return"rtl"===Ee(e).direction}};function Le(e,t,r,n){void 0===n&&(n={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:a="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:l=!1}=n,c=Te(e),u=o||i?[...c?Ne(c):[],...Ne(t)]:[];u.forEach((e=>{o&&e.addEventListener("scroll",r,{passive:!0}),i&&e.addEventListener("resize",r)}));const d=c&&s?function(e,t){let r,n=null;const o=fe(e);function i(){clearTimeout(r),n&&n.disconnect(),n=null}return function a(s,l){void 0===s&&(s=!1),void 0===l&&(l=1),i();const{left:c,top:u,width:d,height:f}=e.getBoundingClientRect();if(s||t(),!d||!f)return;const p={rootMargin:-B(u)+"px "+-B(o.clientWidth-(c+d))+"px "+-B(o.clientHeight-(u+f))+"px "+-B(c)+"px",threshold:F(0,L(1,l))||1};let m=!0;function h(e){const t=e[0].intersectionRatio;if(t!==l){if(!m)return a();t?a(!1,t):r=setTimeout((()=>{a(!1,1e-7)}),100)}m=!1}try{n=new IntersectionObserver(h,{...p,root:o.ownerDocument})}catch(e){n=new IntersectionObserver(h,p)}n.observe(e)}(!0),i}(c,r):null;let f,p=-1,m=null;a&&(m=new ResizeObserver((e=>{let[n]=e;n&&n.target===c&&m&&(m.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame((()=>{m&&m.observe(t)}))),r()})),c&&!l&&m.observe(c),m.observe(t));let h=l?Ae(e):null;return l&&function t(){const n=Ae(e);!h||n.x===h.x&&n.y===h.y&&n.width===h.width&&n.height===h.height||r();h=n,f=requestAnimationFrame(t)}(),r(),()=>{u.forEach((e=>{o&&e.removeEventListener("scroll",r),i&&e.removeEventListener("resize",r)})),d&&d(),m&&m.disconnect(),m=null,l&&cancelAnimationFrame(f)}}const Fe=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:r,y:n,placement:o}=t,{mainAxis:i=!0,crossAxis:a=!1,limiter:s={fn:e=>{let{x:t,y:r}=e;return{x:t,y:r}}},...l}=K(e,t),c={x:r,y:n},u=await ae(t,l),d=Q(Y(o)),f=J(d);let p=c[f],m=c[d];if(i){const e="y"===f?"bottom":"right";p=q(p+u["y"===f?"top":"left"],p,p-u[e])}if(a){const e="y"===d?"bottom":"right";m=q(m+u["y"===d?"top":"left"],m,m-u[e])}const h=s.fn({...t,[f]:p,[d]:m});return{...h,data:{x:h.x-r,y:h.y-n}}}}},We=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var r,n;const{placement:o,middlewareData:i,rects:a,initialPlacement:s,platform:l,elements:c}=t,{mainAxis:u=!0,crossAxis:d=!0,fallbackPlacements:f,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:m="none",flipAlignment:h=!0,...y}=K(e,t);if(null!=(r=i.arrow)&&r.alignmentOffset)return{};const g=Y(o),v=Y(s)===s,b=await(null==l.isRTL?void 0:l.isRTL(c.floating)),w=f||(v||!h?[re(s)]:function(e){const t=re(e);return[te(e),t,te(t)]}(s));f||"none"===m||w.push(...function(e,t,r,n){const o=X(e);let i=function(e,t,r){const n=["left","right"],o=["right","left"],i=["top","bottom"],a=["bottom","top"];switch(e){case"top":case"bottom":return r?t?o:n:t?n:o;case"left":case"right":return t?i:a;default:return[]}}(Y(e),"start"===r,n);return o&&(i=i.map((e=>e+"-"+o)),t&&(i=i.concat(i.map(te)))),i}(s,h,m,b));const x=[s,...w],E=await ae(t,y),k=[];let O=(null==(n=i.flip)?void 0:n.overflows)||[];if(u&&k.push(E[g]),d){const e=function(e,t,r){void 0===r&&(r=!1);const n=X(e),o=ee(e),i=Z(o);let a="x"===o?n===(r?"end":"start")?"right":"left":"start"===n?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=re(a)),[a,re(a)]}(o,a,b);k.push(E[e[0]],E[e[1]])}if(O=[...O,{placement:o,overflows:k}],!k.every((e=>e<=0))){var S,N;const e=((null==(S=i.flip)?void 0:S.index)||0)+1,t=x[e];if(t)return{data:{index:e,overflows:O},reset:{placement:t}};let r=null==(N=O.filter((e=>e.overflows[0]<=0)).sort(((e,t)=>e.overflows[1]-t.overflows[1]))[0])?void 0:N.placement;if(!r)switch(p){case"bestFit":{var C;const e=null==(C=O.map((e=>[e.placement,e.overflows.filter((e=>e>0)).reduce(((e,t)=>e+t),0)])).sort(((e,t)=>e[1]-t[1]))[0])?void 0:C[0];e&&(r=e);break}case"initialPlacement":r=s}if(o!==r)return{reset:{placement:r}}}return{}}}},Be=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){const{placement:r,rects:n,platform:o,elements:i}=t,{apply:a=(()=>{}),...s}=K(e,t),l=await ae(t,s),c=Y(r),u=X(r),d="y"===Q(r),{width:f,height:p}=n.floating;let m,h;"top"===c||"bottom"===c?(m=c,h=u===(await(null==o.isRTL?void 0:o.isRTL(i.floating))?"start":"end")?"left":"right"):(h=c,m="end"===u?"top":"bottom");const y=p-l[m],g=f-l[h],v=!t.middlewareData.shift;let b=y,w=g;if(d){const e=f-l.left-l.right;w=u||v?L(g,e):e}else{const e=p-l.top-l.bottom;b=u||v?L(y,e):e}if(v&&!u){const e=F(l.left,0),t=F(l.right,0),r=F(l.top,0),n=F(l.bottom,0);d?w=f-2*(0!==e||0!==t?e+t:F(l.left,l.right)):b=p-2*(0!==r||0!==n?r+n:F(l.top,l.bottom))}await a({...t,availableWidth:w,availableHeight:b});const x=await o.getDimensions(i.floating);return f!==x.width||p!==x.height?{reset:{rects:!0}}:{}}}},Ue=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){const{rects:r}=t,{strategy:n="referenceHidden",...o}=K(e,t);switch(n){case"referenceHidden":{const e=se(await ae(t,{...o,elementContext:"reference"}),r.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:le(e)}}}case"escaped":{const e=se(await ae(t,{...o,altBoundary:!0}),r.floating);return{data:{escapedOffsets:e,escaped:le(e)}}}default:return{}}}}},He=e=>({name:"arrow",options:e,async fn(t){const{x:r,y:n,placement:o,rects:i,platform:a,elements:s,middlewareData:l}=t,{element:c,padding:u=0}=K(e,t)||{};if(null==c)return{};const d=ne(u),f={x:r,y:n},p=ee(o),m=Z(p),h=await a.getDimensions(c),y="y"===p,g=y?"top":"left",v=y?"bottom":"right",b=y?"clientHeight":"clientWidth",w=i.reference[m]+i.reference[p]-f[p]-i.floating[m],x=f[p]-i.reference[p],E=await(null==a.getOffsetParent?void 0:a.getOffsetParent(c));let k=E?E[b]:0;k&&await(null==a.isElement?void 0:a.isElement(E))||(k=s.floating[b]||i.floating[m]);const O=w/2-x/2,S=k/2-h[m]/2-1,N=L(d[g],S),C=L(d[v],S),T=N,_=k-h[m]-C,P=k/2-h[m]/2+O,$=q(T,P,_),A=!l.arrow&&null!=X(o)&&P!=$&&i.reference[m]/2-(P<T?N:C)-h[m]/2<0,j=A?P<T?P-T:P-_:0;return{[p]:f[p]+j,data:{[p]:$,centerOffset:P-$-j,...A&&{alignmentOffset:j}},reset:A}}}),Ge=function(e){return void 0===e&&(e={}),{options:e,fn(t){const{x:r,y:n,placement:o,rects:i,middlewareData:a}=t,{offset:s=0,mainAxis:l=!0,crossAxis:c=!0}=K(e,t),u={x:r,y:n},d=Q(o),f=J(d);let p=u[f],m=u[d];const h=K(s,t),y="number"==typeof h?{mainAxis:h,crossAxis:0}:{mainAxis:0,crossAxis:0,...h};if(l){const e="y"===f?"height":"width",t=i.reference[f]-i.floating[e]+y.mainAxis,r=i.reference[f]+i.reference[e]-y.mainAxis;p<t?p=t:p>r&&(p=r)}if(c){var g,v;const e="y"===f?"width":"height",t=["top","left"].includes(Y(o)),r=i.reference[d]-i.floating[e]+(t&&(null==(g=a.offset)?void 0:g[d])||0)+(t?0:y.crossAxis),n=i.reference[d]+i.reference[e]+(t?0:(null==(v=a.offset)?void 0:v[d])||0)-(t?y.crossAxis:0);m<r?m=r:m>n&&(m=n)}return{[f]:p,[d]:m}}}},qe=(e,t,r)=>{const n=new Map,o={platform:Ve,...r},i={...o.platform,_c:n};return(async(e,t,r)=>{const{placement:n="bottom",strategy:o="absolute",middleware:i=[],platform:a}=r,s=i.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(t));let c=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:u,y:d}=ie(c,n,l),f=n,p={},m=0;for(let r=0;r<s.length;r++){const{name:i,fn:h}=s[r],{x:y,y:g,data:v,reset:b}=await h({x:u,y:d,initialPlacement:n,placement:f,strategy:o,middlewareData:p,rects:c,platform:a,elements:{reference:e,floating:t}});u=null!=y?y:u,d=null!=g?g:d,p={...p,[i]:{...p[i],...v}},b&&m<=50&&(m++,"object"==typeof b&&(b.placement&&(f=b.placement),b.rects&&(c=!0===b.rects?await a.getElementRects({reference:e,floating:t,strategy:o}):b.rects),({x:u,y:d}=ie(c,f,l))),r=-1)}return{x:u,y:d,placement:f,strategy:o,middlewareData:p}})(e,t,{...o,platform:i})},Ke=e=>({name:"arrow",options:e,fn(t){const{element:r,padding:n}="function"==typeof e?e(t):e;return r&&(o=r,{}.hasOwnProperty.call(o,"current"))?null!=r.current?He({element:r.current,padding:n}).fn(t):{}:r?He({element:r,padding:n}).fn(t):{};var o}});var Ye="undefined"!=typeof document?u:s;function Xe(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;let r,n,o;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if(r=e.length,r!==t.length)return!1;for(n=r;0!=n--;)if(!Xe(e[n],t[n]))return!1;return!0}if(o=Object.keys(e),r=o.length,r!==Object.keys(t).length)return!1;for(n=r;0!=n--;)if(!{}.hasOwnProperty.call(t,o[n]))return!1;for(n=r;0!=n--;){const r=o[n];if(("_owner"!==r||!e.$$typeof)&&!Xe(e[r],t[r]))return!1}return!0}return e!=e&&t!=t}function Je(e){if("undefined"==typeof window)return 1;return(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Ze(e,t){const r=Je(e);return Math.round(t*r)/r}function Qe(t){const r=e.useRef(t);return Ye((()=>{r.current=t})),r}const et=d(((e,t)=>{const{children:r,...n}=e,i=f.toArray(r),a=i.find(nt);if(a){const e=a.props.children,r=i.map((t=>t===a?f.count(e)>1?f.only(null):p(e)?e.props.children:null:t));return o(tt,$({},n,{ref:t}),p(e)?m(e,void 0,r):null)}return o(tt,$({},n,{ref:t}),r)}));et.displayName="Slot";const tt=d(((e,t)=>{const{children:r,...n}=e;return p(r)?m(r,{...ot(n,r.props),ref:t?D(t,r.ref):r.ref}):f.count(r)>1?f.only(null):null}));tt.displayName="SlotClone";const rt=({children:e})=>o(h,null,e);function nt(e){return p(e)&&e.type===rt}function ot(e,t){const r={...t};for(const n in t){const o=e[n],i=t[n];/^on[A-Z]/.test(n)?o&&i?r[n]=(...e)=>{i(...e),o(...e)}:o&&(r[n]=o):"style"===n?r[n]={...o,...i}:"className"===n&&(r[n]=[o,i].filter(Boolean).join(" "))}return{...e,...r}}const it=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce(((e,t)=>{const r=d(((e,r)=>{const{asChild:n,...i}=e,a=n?et:t;return s((()=>{window[Symbol.for("radix-ui")]=!0}),[]),o(a,$({},i,{ref:r}))}));return r.displayName=`Primitive.${t}`,{...e,[t]:r}}),{});const at=Boolean(null===globalThis||void 0===globalThis?void 0:globalThis.document)?u:()=>{};function st(e){const[t,r]=c(void 0);return at((()=>{if(e){r({width:e.offsetWidth,height:e.offsetHeight});const t=new ResizeObserver((t=>{if(!Array.isArray(t))return;if(!t.length)return;const n=t[0];let o,i;if("borderBoxSize"in n){const e=n.borderBoxSize,t=Array.isArray(e)?e[0]:e;o=t.inlineSize,i=t.blockSize}else o=e.offsetWidth,i=e.offsetHeight;r({width:o,height:i})}));return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}r(void 0)}),[e]),t}const lt="Popper",[ct,ut]=j(lt),[dt,ft]=ct(lt),pt=d(((e,t)=>{const{__scopePopper:r,virtualRef:n,...i}=e,l=ft("PopperAnchor",r),c=a(null),u=z(t,c);return s((()=>{l.onAnchorChange((null==n?void 0:n.current)||c.current)})),n?null:o(it.div,$({},i,{ref:u}))})),mt="PopperContent",[ht,yt]=ct(mt),gt=d(((t,r)=>{var n,i,a,s,l,u,d,f;const{__scopePopper:p,side:m="bottom",sideOffset:h=0,align:y="center",alignOffset:v=0,arrowPadding:b=0,avoidCollisions:w=!0,collisionBoundary:x=[],collisionPadding:E=0,sticky:k="partial",hideWhenDetached:O=!1,updatePositionStrategy:S="optimized",onPlaced:N,...C}=t,T=ft(mt,p),[_,P]=c(null),A=z(r,(e=>P(e))),[j,R]=c(null),I=st(j),D=null!==(n=null==I?void 0:I.width)&&void 0!==n?n:0,V=null!==(i=null==I?void 0:I.height)&&void 0!==i?i:0,L=m+("center"!==y?"-"+y:""),F="number"==typeof E?E:{top:0,right:0,bottom:0,left:0,...E},W=Array.isArray(x)?x:[x],B=W.length>0,U={padding:F,boundary:W.filter(vt),altBoundary:B},{refs:H,floatingStyles:G,placement:q,isPositioned:K,middlewareData:Y}=function(t){void 0===t&&(t={});const{placement:r="bottom",strategy:n="absolute",middleware:o=[],platform:i,elements:{reference:a,floating:s}={},transform:l=!0,whileElementsMounted:c,open:u}=t,[d,f]=e.useState({x:0,y:0,strategy:n,placement:r,middlewareData:{},isPositioned:!1}),[p,m]=e.useState(o);Xe(p,o)||m(o);const[h,y]=e.useState(null),[v,b]=e.useState(null),w=e.useCallback((e=>{e!==O.current&&(O.current=e,y(e))}),[]),x=e.useCallback((e=>{e!==S.current&&(S.current=e,b(e))}),[]),E=a||h,k=s||v,O=e.useRef(null),S=e.useRef(null),N=e.useRef(d),C=null!=c,T=Qe(c),_=Qe(i),P=e.useCallback((()=>{if(!O.current||!S.current)return;const e={placement:r,strategy:n,middleware:p};_.current&&(e.platform=_.current),qe(O.current,S.current,e).then((e=>{const t={...e,isPositioned:!0};$.current&&!Xe(N.current,t)&&(N.current=t,g.flushSync((()=>{f(t)})))}))}),[p,r,n,_]);Ye((()=>{!1===u&&N.current.isPositioned&&(N.current.isPositioned=!1,f((e=>({...e,isPositioned:!1}))))}),[u]);const $=e.useRef(!1);Ye((()=>($.current=!0,()=>{$.current=!1})),[]),Ye((()=>{if(E&&(O.current=E),k&&(S.current=k),E&&k){if(T.current)return T.current(E,k,P);P()}}),[E,k,P,T,C]);const A=e.useMemo((()=>({reference:O,floating:S,setReference:w,setFloating:x})),[w,x]),j=e.useMemo((()=>({reference:E,floating:k})),[E,k]),R=e.useMemo((()=>{const e={position:n,left:0,top:0};if(!j.floating)return e;const t=Ze(j.floating,d.x),r=Ze(j.floating,d.y);return l?{...e,transform:"translate("+t+"px, "+r+"px)",...Je(j.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}}),[n,l,j.floating,d.x,d.y]);return e.useMemo((()=>({...d,update:P,refs:A,elements:j,floatingStyles:R})),[d,P,A,j,R])}({strategy:"fixed",placement:L,whileElementsMounted:(...e)=>Le(...e,{animationFrame:"always"===S}),elements:{reference:T.anchor},middleware:[ce({mainAxis:h+V,alignmentAxis:v}),w&&Fe({mainAxis:!0,crossAxis:!1,limiter:"partial"===k?Ge():void 0,...U}),w&&We({...U}),Be({...U,apply:({elements:e,rects:t,availableWidth:r,availableHeight:n})=>{const{width:o,height:i}=t.reference,a=e.floating.style;a.setProperty("--radix-popper-available-width",`${r}px`),a.setProperty("--radix-popper-available-height",`${n}px`),a.setProperty("--radix-popper-anchor-width",`${o}px`),a.setProperty("--radix-popper-anchor-height",`${i}px`)}}),j&&Ke({element:j,padding:b}),bt({arrowWidth:D,arrowHeight:V}),O&&Ue({strategy:"referenceHidden",...U})]}),[X,J]=wt(q),Z=M(N);at((()=>{K&&(null==Z||Z())}),[K,Z]);const Q=null===(a=Y.arrow)||void 0===a?void 0:a.x,ee=null===(s=Y.arrow)||void 0===s?void 0:s.y,te=0!==(null===(l=Y.arrow)||void 0===l?void 0:l.centerOffset),[re,ne]=c();return at((()=>{_&&ne(window.getComputedStyle(_).zIndex)}),[_]),o("div",{ref:H.setFloating,"data-radix-popper-content-wrapper":"",style:{...G,transform:K?G.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:re,"--radix-popper-transform-origin":[null===(u=Y.transformOrigin)||void 0===u?void 0:u.x,null===(d=Y.transformOrigin)||void 0===d?void 0:d.y].join(" ")},dir:t.dir},o(ht,{scope:p,placedSide:X,onArrowChange:R,arrowX:Q,arrowY:ee,shouldHideArrow:te},o(it.div,$({"data-side":X,"data-align":J},C,{ref:A,style:{...C.style,animation:K?void 0:"none",opacity:null!==(f=Y.hide)&&void 0!==f&&f.referenceHidden?0:void 0}}))))}));function vt(e){return null!==e}const bt=e=>({name:"transformOrigin",options:e,fn(t){var r,n,o,i,a;const{placement:s,rects:l,middlewareData:c}=t,u=0!==(null===(r=c.arrow)||void 0===r?void 0:r.centerOffset),d=u?0:e.arrowWidth,f=u?0:e.arrowHeight,[p,m]=wt(s),h={start:"0%",center:"50%",end:"100%"}[m],y=(null!==(n=null===(o=c.arrow)||void 0===o?void 0:o.x)&&void 0!==n?n:0)+d/2,g=(null!==(i=null===(a=c.arrow)||void 0===a?void 0:a.y)&&void 0!==i?i:0)+f/2;let v="",b="";return"bottom"===p?(v=u?h:`${y}px`,b=-f+"px"):"top"===p?(v=u?h:`${y}px`,b=`${l.floating.height+f}px`):"right"===p?(v=-f+"px",b=u?h:`${g}px`):"left"===p&&(v=`${l.floating.width+f}px`,b=u?h:`${g}px`),{data:{x:v,y:b}}}});function wt(e){const[t,r="center"]=e.split("-");return[t,r]}const xt=e=>{const{__scopePopper:t,children:r}=e,[n,i]=c(null);return o(dt,{scope:t,anchor:n,onAnchorChange:i},r)},Et=pt,kt=gt;const Ot=e=>{const{present:t,children:r}=e,n=function(e){const[t,r]=c(),n=a({}),o=a(e),i=a("none"),u=e?"mounted":"unmounted",[d,f]=function(e,t){return y(((e,r)=>{const n=t[e][r];return null!=n?n:e}),e)}(u,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return s((()=>{const e=St(n.current);i.current="mounted"===d?e:"none"}),[d]),at((()=>{const t=n.current,r=o.current;if(r!==e){const n=i.current,a=St(t);if(e)f("MOUNT");else if("none"===a||"none"===(null==t?void 0:t.display))f("UNMOUNT");else{f(r&&n!==a?"ANIMATION_OUT":"UNMOUNT")}o.current=e}}),[e,f]),at((()=>{if(t){const e=e=>{const r=St(n.current).includes(e.animationName);e.target===t&&r&&v((()=>f("ANIMATION_END")))},r=e=>{e.target===t&&(i.current=St(n.current))};return t.addEventListener("animationstart",r),t.addEventListener("animationcancel",e),t.addEventListener("animationend",e),()=>{t.removeEventListener("animationstart",r),t.removeEventListener("animationcancel",e),t.removeEventListener("animationend",e)}}f("ANIMATION_END")}),[t,f]),{isPresent:["mounted","unmountSuspended"].includes(d),ref:l((e=>{e&&(n.current=getComputedStyle(e)),r(e)}),[])}}(t),o="function"==typeof r?r({present:n.isPresent}):f.only(r),i=z(n.ref,o.ref);return"function"==typeof r||n.isPresent?m(o,{ref:i}):null};function St(e){return(null==e?void 0:e.animationName)||"none"}Ot.displayName="Presence";const Nt="dismissableLayer.update",Ct="dismissableLayer.pointerDownOutside",Tt="dismissableLayer.focusOutside";let _t;const Pt=r({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),$t=d(((e,t)=>{var r;const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:l,onPointerDownOutside:u,onFocusOutside:d,onInteractOutside:f,onDismiss:p,...m}=e,h=i(Pt),[y,g]=c(null),v=null!==(r=null==y?void 0:y.ownerDocument)&&void 0!==r?r:null===globalThis||void 0===globalThis?void 0:globalThis.document,[,b]=c({}),w=z(t,(e=>g(e))),x=Array.from(h.layers),[E]=[...h.layersWithOutsidePointerEventsDisabled].slice(-1),k=x.indexOf(E),O=y?x.indexOf(y):-1,S=h.layersWithOutsidePointerEventsDisabled.size>0,N=O>=k,C=function(e,t=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const r=M(e),n=a(!1),o=a((()=>{}));return s((()=>{const e=e=>{if(e.target&&!n.current){const i={originalEvent:e};function a(){jt(Ct,r,i,{discrete:!0})}"touch"===e.pointerType?(t.removeEventListener("click",o.current),o.current=a,t.addEventListener("click",o.current,{once:!0})):a()}else t.removeEventListener("click",o.current);n.current=!1},i=window.setTimeout((()=>{t.addEventListener("pointerdown",e)}),0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",e),t.removeEventListener("click",o.current)}}),[t,r]),{onPointerDownCapture:()=>n.current=!0}}((e=>{const t=e.target,r=[...h.branches].some((e=>e.contains(t)));N&&!r&&(null==u||u(e),null==f||f(e),e.defaultPrevented||null==p||p())}),v),T=function(e,t=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const r=M(e),n=a(!1);return s((()=>{const e=e=>{if(e.target&&!n.current){jt(Tt,r,{originalEvent:e},{discrete:!1})}};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)}),[t,r]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}((e=>{const t=e.target;[...h.branches].some((e=>e.contains(t)))||(null==d||d(e),null==f||f(e),e.defaultPrevented||null==p||p())}),v);return function(e,t=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const r=M(e);s((()=>{const e=e=>{"Escape"===e.key&&r(e)};return t.addEventListener("keydown",e),()=>t.removeEventListener("keydown",e)}),[r,t])}((e=>{O===h.layers.size-1&&(null==l||l(e),!e.defaultPrevented&&p&&(e.preventDefault(),p()))}),v),s((()=>{if(y)return n&&(0===h.layersWithOutsidePointerEventsDisabled.size&&(_t=v.body.style.pointerEvents,v.body.style.pointerEvents="none"),h.layersWithOutsidePointerEventsDisabled.add(y)),h.layers.add(y),At(),()=>{n&&1===h.layersWithOutsidePointerEventsDisabled.size&&(v.body.style.pointerEvents=_t)}}),[y,v,n,h]),s((()=>()=>{y&&(h.layers.delete(y),h.layersWithOutsidePointerEventsDisabled.delete(y),At())}),[y,h]),s((()=>{const e=()=>b({});return document.addEventListener(Nt,e),()=>document.removeEventListener(Nt,e)}),[]),o(it.div,$({},m,{ref:w,style:{pointerEvents:S?N?"auto":"none":void 0,...e.style},onFocusCapture:A(e.onFocusCapture,T.onFocusCapture),onBlurCapture:A(e.onBlurCapture,T.onBlurCapture),onPointerDownCapture:A(e.onPointerDownCapture,C.onPointerDownCapture)}))}));function At(){const e=new CustomEvent(Nt);document.dispatchEvent(e)}function jt(e,t,r,{discrete:n}){const o=r.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&o.addEventListener(e,t,{once:!0}),n?function(e,t){e&&v((()=>e.dispatchEvent(t)))}(o,i):o.dispatchEvent(i)}let Rt;const Mt="HoverCard",[It,Dt]=j(Mt,[ut]),zt=ut(),[Vt,Lt]=It(Mt),Ft=d(((e,t)=>{const{__scopeHoverCard:r,...n}=e,i=Lt("HoverCardTrigger",r),a=zt(r);return o(Et,$({asChild:!0},a),o(it.a,$({"data-state":i.open?"open":"closed"},n,{ref:t,onPointerEnter:A(e.onPointerEnter,qt(i.onOpen)),onPointerLeave:A(e.onPointerLeave,qt(i.onClose)),onFocus:A(e.onFocus,i.onOpen),onBlur:A(e.onBlur,i.onClose),onTouchStart:A(e.onTouchStart,(e=>e.preventDefault()))})))})),[Wt,Bt]=It("HoverCardPortal",{forceMount:void 0}),Ut="HoverCardContent",Ht=d(((e,t)=>{const r=Bt(Ut,e.__scopeHoverCard),{forceMount:n=r.forceMount,...i}=e,a=Lt(Ut,e.__scopeHoverCard);return o(Ot,{present:n||a.open},o(Gt,$({"data-state":a.open?"open":"closed"},i,{onPointerEnter:A(e.onPointerEnter,qt(a.onOpen)),onPointerLeave:A(e.onPointerLeave,qt(a.onClose)),ref:t})))})),Gt=d(((e,t)=>{const{__scopeHoverCard:r,onEscapeKeyDown:n,onPointerDownOutside:i,onFocusOutside:l,onInteractOutside:u,...d}=e,f=Lt(Ut,r),p=zt(r),m=a(null),h=z(t,m),[y,g]=c(!1);return s((()=>{if(y){const e=document.body;return Rt=e.style.userSelect||e.style.webkitUserSelect,e.style.userSelect="none",e.style.webkitUserSelect="none",()=>{e.style.userSelect=Rt,e.style.webkitUserSelect=Rt}}}),[y]),s((()=>{if(m.current){const e=()=>{g(!1),f.isPointerDownOnContentRef.current=!1,setTimeout((()=>{var e;""!==(null===(e=document.getSelection())||void 0===e?void 0:e.toString())&&(f.hasSelectionRef.current=!0)}))};return document.addEventListener("pointerup",e),()=>{document.removeEventListener("pointerup",e),f.hasSelectionRef.current=!1,f.isPointerDownOnContentRef.current=!1}}}),[f.isPointerDownOnContentRef,f.hasSelectionRef]),s((()=>{if(m.current){const e=function(e){const t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP});for(;r.nextNode();)t.push(r.currentNode);return t}(m.current);e.forEach((e=>e.setAttribute("tabindex","-1")))}})),o($t,{asChild:!0,disableOutsidePointerEvents:!1,onInteractOutside:u,onEscapeKeyDown:n,onPointerDownOutside:i,onFocusOutside:A(l,(e=>{e.preventDefault()})),onDismiss:f.onDismiss},o(kt,$({},p,d,{onPointerDown:A(d.onPointerDown,(e=>{e.currentTarget.contains(e.target)&&g(!0),f.hasSelectionRef.current=!1,f.isPointerDownOnContentRef.current=!0})),ref:h,style:{...d.style,userSelect:y?"text":void 0,WebkitUserSelect:y?"text":void 0,"--radix-hover-card-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-hover-card-content-available-width":"var(--radix-popper-available-width)","--radix-hover-card-content-available-height":"var(--radix-popper-available-height)","--radix-hover-card-trigger-width":"var(--radix-popper-anchor-width)","--radix-hover-card-trigger-height":"var(--radix-popper-anchor-height)"}})))}));function qt(e){return t=>"touch"===t.pointerType?void 0:e()}const Kt=e=>{const{__scopeHoverCard:t,children:r,open:n,defaultOpen:i,onOpenChange:c,openDelay:u=700,closeDelay:d=300}=e,f=zt(t),p=a(0),m=a(0),h=a(!1),y=a(!1),[g=!1,v]=I({prop:n,defaultProp:i,onChange:c}),b=l((()=>{clearTimeout(m.current),p.current=window.setTimeout((()=>v(!0)),u)}),[u,v]),w=l((()=>{clearTimeout(p.current),h.current||y.current||(m.current=window.setTimeout((()=>v(!1)),d))}),[d,v]),x=l((()=>v(!1)),[v]);return s((()=>()=>{clearTimeout(p.current),clearTimeout(m.current)}),[]),o(Vt,{scope:t,open:g,onOpenChange:v,onOpen:b,onClose:w,onDismiss:x,hasSelectionRef:h,isPointerDownOnContentRef:y},o(xt,f,r))},Yt=Ft,Xt=Ht;function Jt(e){var t,r,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(r=Jt(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function Zt(){for(var e,t,r=0,n="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=Jt(e))&&(n&&(n+=" "),n+=t);return n}const Qt="-";function er(e){const t=function(e){const{theme:t,prefix:r}=e,n={nextPart:new Map,validators:[]},o=function(e,t){if(!t)return e;return e.map((([e,r])=>[e,r.map((e=>"string"==typeof e?t+e:"object"==typeof e?Object.fromEntries(Object.entries(e).map((([e,r])=>[t+e,r]))):e))]))}(Object.entries(e.classGroups),r);return o.forEach((([e,r])=>{nr(r,n,e,t)})),n}(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:function(e){const r=e.split(Qt);return""===r[0]&&1!==r.length&&r.shift(),tr(r,t)||function(e){if(rr.test(e)){const t=rr.exec(e)[1],r=t?.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}}(e)},getConflictingClassGroupIds:function(e,t){const o=r[e]||[];return t&&n[e]?[...o,...n[e]]:o}}}function tr(e,t){if(0===e.length)return t.classGroupId;const r=e[0],n=t.nextPart.get(r),o=n?tr(e.slice(1),n):void 0;if(o)return o;if(0===t.validators.length)return;const i=e.join(Qt);return t.validators.find((({validator:e})=>e(i)))?.classGroupId}const rr=/^\[(.+)\]$/;function nr(e,t,r,n){e.forEach((e=>{if("string"!=typeof e){if("function"==typeof e)return e.isThemeGetter?void nr(e(n),t,r,n):void t.validators.push({validator:e,classGroupId:r});Object.entries(e).forEach((([e,o])=>{nr(o,or(t,e),r,n)}))}else{(""===e?t:or(t,e)).classGroupId=r}}))}function or(e,t){let r=e;return t.split(Qt).forEach((e=>{r.nextPart.has(e)||r.nextPart.set(e,{nextPart:new Map,validators:[]}),r=r.nextPart.get(e)})),r}function ir(e){if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,n=new Map;function o(o,i){r.set(o,i),t++,t>e&&(t=0,n=r,r=new Map)}return{get(e){let t=r.get(e);return void 0!==t?t:void 0!==(t=n.get(e))?(o(e,t),t):void 0},set(e,t){r.has(e)?r.set(e,t):o(e,t)}}}const ar="!";function sr(e){const t=e.separator,r=1===t.length,n=t[0],o=t.length;return function(e){const i=[];let a,s=0,l=0;for(let c=0;c<e.length;c++){let u=e[c];if(0===s){if(u===n&&(r||e.slice(c,c+o)===t)){i.push(e.slice(l,c)),l=c+o;continue}if("/"===u){a=c;continue}}"["===u?s++:"]"===u&&s--}const c=0===i.length?e:e.substring(l),u=c.startsWith(ar);return{modifiers:i,hasImportantModifier:u,baseClassName:u?c.substring(1):c,maybePostfixModifierPosition:a&&a>l?a-l:void 0}}}const lr=/\s+/;function cr(){let e,t,r=0,n="";for(;r<arguments.length;)(e=arguments[r++])&&(t=ur(e))&&(n&&(n+=" "),n+=t);return n}function ur(e){if("string"==typeof e)return e;let t,r="";for(let n=0;n<e.length;n++)e[n]&&(t=ur(e[n]))&&(r&&(r+=" "),r+=t);return r}function dr(e,...t){let r,n,o,i=function(s){const l=t.reduce(((e,t)=>t(e)),e());return r=function(e){return{cache:ir(e.cacheSize),splitModifiers:sr(e),...er(e)}}(l),n=r.cache.get,o=r.cache.set,i=a,a(s)};function a(e){const t=n(e);if(t)return t;const i=function(e,t){const{splitModifiers:r,getClassGroupId:n,getConflictingClassGroupIds:o}=t,i=new Set;return e.trim().split(lr).map((e=>{const{modifiers:t,hasImportantModifier:o,baseClassName:i,maybePostfixModifierPosition:a}=r(e);let s=n(a?i.substring(0,a):i),l=Boolean(a);if(!s){if(!a)return{isTailwindClass:!1,originalClassName:e};if(s=n(i),!s)return{isTailwindClass:!1,originalClassName:e};l=!1}const c=function(e){if(e.length<=1)return e;const t=[];let r=[];return e.forEach((e=>{"["===e[0]?(t.push(...r.sort(),e),r=[]):r.push(e)})),t.push(...r.sort()),t}(t).join(":");return{isTailwindClass:!0,modifierId:o?c+ar:c,classGroupId:s,originalClassName:e,hasPostfixModifier:l}})).reverse().filter((e=>{if(!e.isTailwindClass)return!0;const{modifierId:t,classGroupId:r,hasPostfixModifier:n}=e,a=t+r;return!i.has(a)&&(i.add(a),o(r,n).forEach((e=>i.add(t+e))),!0)})).reverse().map((e=>e.originalClassName)).join(" ")}(e,r);return o(e,i),i}return function(){return i(cr.apply(null,arguments))}}function fr(e){const t=t=>t[e]||[];return t.isThemeGetter=!0,t}const pr=/^\[(?:([a-z-]+):)?(.+)\]$/i,mr=/^\d+\/\d+$/,hr=new Set(["px","full","screen"]),yr=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,gr=/\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$/,vr=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,br=/^-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,wr=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;function xr(e){return kr(e)||hr.has(e)||mr.test(e)}function Er(e){return Ir(e,"length",Dr)}function kr(e){return Boolean(e)&&!Number.isNaN(Number(e))}function Or(e){return Ir(e,"number",kr)}function Sr(e){return Boolean(e)&&Number.isInteger(Number(e))}function Nr(e){return e.endsWith("%")&&kr(e.slice(0,-1))}function Cr(e){return pr.test(e)}function Tr(e){return yr.test(e)}const _r=new Set(["length","size","percentage"]);function Pr(e){return Ir(e,_r,zr)}function $r(e){return Ir(e,"position",zr)}const Ar=new Set(["image","url"]);function jr(e){return Ir(e,Ar,Lr)}function Rr(e){return Ir(e,"",Vr)}function Mr(){return!0}function Ir(e,t,r){const n=pr.exec(e);return!!n&&(n[1]?"string"==typeof t?n[1]===t:t.has(n[1]):r(n[2]))}function Dr(e){return gr.test(e)&&!vr.test(e)}function zr(){return!1}function Vr(e){return br.test(e)}function Lr(e){return wr.test(e)}function Fr(){const e=fr("colors"),t=fr("spacing"),r=fr("blur"),n=fr("brightness"),o=fr("borderColor"),i=fr("borderRadius"),a=fr("borderSpacing"),s=fr("borderWidth"),l=fr("contrast"),c=fr("grayscale"),u=fr("hueRotate"),d=fr("invert"),f=fr("gap"),p=fr("gradientColorStops"),m=fr("gradientColorStopPositions"),h=fr("inset"),y=fr("margin"),g=fr("opacity"),v=fr("padding"),b=fr("saturate"),w=fr("scale"),x=fr("sepia"),E=fr("skew"),k=fr("space"),O=fr("translate"),S=()=>["auto",Cr,t],N=()=>[Cr,t],C=()=>["",xr,Er],T=()=>["auto",kr,Cr],_=()=>["","0",Cr],P=()=>[kr,Or],$=()=>[kr,Cr];return{cacheSize:500,separator:":",theme:{colors:[Mr],spacing:[xr,Er],blur:["none","",Tr,Cr],brightness:P(),borderColor:[e],borderRadius:["none","","full",Tr,Cr],borderSpacing:N(),borderWidth:C(),contrast:P(),grayscale:_(),hueRotate:$(),invert:_(),gap:N(),gradientColorStops:[e],gradientColorStopPositions:[Nr,Er],inset:S(),margin:S(),opacity:P(),padding:N(),saturate:P(),scale:P(),sepia:_(),skew:$(),space:N(),translate:N()},classGroups:{aspect:[{aspect:["auto","square","video",Cr]}],container:["container"],columns:[{columns:[Tr]}],"break-after":[{"break-after":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-before":[{"break-before":["auto","avoid","all","avoid-page","page","left","right","column"]}],"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"],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:["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top",Cr]}],overflow:[{overflow:["auto","hidden","clip","visible","scroll"]}],"overflow-x":[{"overflow-x":["auto","hidden","clip","visible","scroll"]}],"overflow-y":[{"overflow-y":["auto","hidden","clip","visible","scroll"]}],overscroll:[{overscroll:["auto","contain","none"]}],"overscroll-x":[{"overscroll-x":["auto","contain","none"]}],"overscroll-y":[{"overscroll-y":["auto","contain","none"]}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[h]}],"inset-x":[{"inset-x":[h]}],"inset-y":[{"inset-y":[h]}],start:[{start:[h]}],end:[{end:[h]}],top:[{top:[h]}],right:[{right:[h]}],bottom:[{bottom:[h]}],left:[{left:[h]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Sr,Cr]}],basis:[{basis:S()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",Cr]}],grow:[{grow:_()}],shrink:[{shrink:_()}],order:[{order:["first","last","none",Sr,Cr]}],"grid-cols":[{"grid-cols":[Mr]}],"col-start-end":[{col:["auto",{span:["full",Sr,Cr]},Cr]}],"col-start":[{"col-start":T()}],"col-end":[{"col-end":T()}],"grid-rows":[{"grid-rows":[Mr]}],"row-start-end":[{row:["auto",{span:[Sr,Cr]},Cr]}],"row-start":[{"row-start":T()}],"row-end":[{"row-end":T()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",Cr]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",Cr]}],gap:[{gap:[f]}],"gap-x":[{"gap-x":[f]}],"gap-y":[{"gap-y":[f]}],"justify-content":[{justify:["normal","start","end","center","between","around","evenly","stretch"]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal","start","end","center","between","around","evenly","stretch","baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":["start","end","center","between","around","evenly","stretch","baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[v]}],px:[{px:[v]}],py:[{py:[v]}],ps:[{ps:[v]}],pe:[{pe:[v]}],pt:[{pt:[v]}],pr:[{pr:[v]}],pb:[{pb:[v]}],pl:[{pl:[v]}],m:[{m:[y]}],mx:[{mx:[y]}],my:[{my:[y]}],ms:[{ms:[y]}],me:[{me:[y]}],mt:[{mt:[y]}],mr:[{mr:[y]}],mb:[{mb:[y]}],ml:[{ml:[y]}],"space-x":[{"space-x":[k]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[k]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",Cr,t]}],"min-w":[{"min-w":[Cr,t,"min","max","fit"]}],"max-w":[{"max-w":[Cr,t,"none","full","min","max","fit","prose",{screen:[Tr]},Tr]}],h:[{h:[Cr,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[Cr,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[Cr,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[Cr,t,"auto","min","max","fit"]}],"font-size":[{text:["base",Tr,Er]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Or]}],"font-family":[{font:[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-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",Cr]}],"line-clamp":[{"line-clamp":["none",kr,Or]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",xr,Cr]}],"list-image":[{"list-image":["none",Cr]}],"list-style-type":[{list:["none","disc","decimal",Cr]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[g]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[g]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:["solid","dashed","dotted","double","none","wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",xr,Er]}],"underline-offset":[{"underline-offset":["auto",xr,Cr]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:N()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Cr]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",Cr]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[g]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top",$r]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Pr]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},jr]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[m]}],"gradient-via-pos":[{via:[m]}],"gradient-to-pos":[{to:[m]}],"gradient-from":[{from:[p]}],"gradient-via":[{via:[p]}],"gradient-to":[{to:[p]}],rounded:[{rounded:[i]}],"rounded-s":[{"rounded-s":[i]}],"rounded-e":[{"rounded-e":[i]}],"rounded-t":[{"rounded-t":[i]}],"rounded-r":[{"rounded-r":[i]}],"rounded-b":[{"rounded-b":[i]}],"rounded-l":[{"rounded-l":[i]}],"rounded-ss":[{"rounded-ss":[i]}],"rounded-se":[{"rounded-se":[i]}],"rounded-ee":[{"rounded-ee":[i]}],"rounded-es":[{"rounded-es":[i]}],"rounded-tl":[{"rounded-tl":[i]}],"rounded-tr":[{"rounded-tr":[i]}],"rounded-br":[{"rounded-br":[i]}],"rounded-bl":[{"rounded-bl":[i]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[g]}],"border-style":[{border:["solid","dashed","dotted","double","none","hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[g]}],"divide-style":[{divide:["solid","dashed","dotted","double","none"]}],"border-color":[{border:[o]}],"border-color-x":[{"border-x":[o]}],"border-color-y":[{"border-y":[o]}],"border-color-t":[{"border-t":[o]}],"border-color-r":[{"border-r":[o]}],"border-color-b":[{"border-b":[o]}],"border-color-l":[{"border-l":[o]}],"divide-color":[{divide:[o]}],"outline-style":[{outline:["","solid","dashed","dotted","double","none"]}],"outline-offset":[{"outline-offset":[xr,Cr]}],"outline-w":[{outline:[xr,Er]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:C()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[g]}],"ring-offset-w":[{"ring-offset":[xr,Er]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Tr,Rr]}],"shadow-color":[{shadow:[Mr]}],opacity:[{opacity:[g]}],"mix-blend":[{"mix-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"]}],"bg-blend":[{"bg-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"]}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[n]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",Tr,Cr]}],grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[d]}],saturate:[{saturate:[b]}],sepia:[{sepia:[x]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[u]}],"backdrop-invert":[{"backdrop-invert":[d]}],"backdrop-opacity":[{"backdrop-opacity":[g]}],"backdrop-saturate":[{"backdrop-saturate":[b]}],"backdrop-sepia":[{"backdrop-sepia":[x]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[a]}],"border-spacing-x":[{"border-spacing-x":[a]}],"border-spacing-y":[{"border-spacing-y":[a]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",Cr]}],duration:[{duration:$()}],ease:[{ease:["linear","in","out","in-out",Cr]}],delay:[{delay:$()}],animate:[{animate:["none","spin","ping","pulse","bounce",Cr]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[w]}],"scale-x":[{"scale-x":[w]}],"scale-y":[{"scale-y":[w]}],rotate:[{rotate:[Sr,Cr]}],"translate-x":[{"translate-x":[O]}],"translate-y":[{"translate-y":[O]}],"skew-x":[{"skew-x":[E]}],"skew-y":[{"skew-y":[E]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",Cr]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],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",Cr]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":N()}],"scroll-mx":[{"scroll-mx":N()}],"scroll-my":[{"scroll-my":N()}],"scroll-ms":[{"scroll-ms":N()}],"scroll-me":[{"scroll-me":N()}],"scroll-mt":[{"scroll-mt":N()}],"scroll-mr":[{"scroll-mr":N()}],"scroll-mb":[{"scroll-mb":N()}],"scroll-ml":[{"scroll-ml":N()}],"scroll-p":[{"scroll-p":N()}],"scroll-px":[{"scroll-px":N()}],"scroll-py":[{"scroll-py":N()}],"scroll-ps":[{"scroll-ps":N()}],"scroll-pe":[{"scroll-pe":N()}],"scroll-pt":[{"scroll-pt":N()}],"scroll-pr":[{"scroll-pr":N()}],"scroll-pb":[{"scroll-pb":N()}],"scroll-pl":[{"scroll-pl":N()}],"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",Cr]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[xr,Er,Or]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","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","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","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-s","border-w-e","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-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"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","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-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"]}}}const Wr=dr(Fr);function Br(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Wr(Zt(e))}var Ur=Kt,Hr=Yt,Gr=e.forwardRef((function(t,r){var n=t.id,o=t.className,i=t.side,a=void 0===i?"bottom":i,s=t.align,l=void 0===s?"center":s,c=t.sideOffset,u=void 0===c?4:c,d=k(t,["id","className","side","align","sideOffset"]);return e.createElement(Xt,E({ref:r,id:n,align:l,side:a,sideOffset:u,className:Br("z-50 w-64 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]: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",o)},d))}));Gr.displayName=Xt.displayName;var qr,Kr=function(e){var r=e.id,n=e.className,o=e.align,i=e.side,a=e.sideOffset,s=void 0===a?8:a,l=e.visible,c=e.content,u=e.children;return t.createElement(Ur,{openDelay:100,closeDelay:100,open:l},t.createElement(Hr,{className:"gyramais-hover-card-trigger"},u),t.createElement(Gr,{id:r,className:T("gyramais-hover-card-content",n),align:o,side:i,sideOffset:s},c))},Yr=function(e){var r=e.id,n=e.className,o=e.columns,i=void 0===o?1:o,a=e.gap,s=void 0===a?0:a,l=e.align,c=void 0===l?"start":l,u=e.children;return t.createElement("div",{id:r,className:T("gyramais-row","gyramais-row-columns-".concat(i),"gyramais-row-align-".concat(c),"gyramais-row-mobile-gap-".concat("number"==typeof s?s:"object"==typeof s&&!Array.isArray(s)&&s.mobile),"object"==typeof s&&!Array.isArray(s)&&s.tablet?"gyramais-row-tablet-gap-".concat(s.tablet):"","object"==typeof s&&!Array.isArray(s)&&s.desktop?"gyramais-row-desktop-gap-".concat(s.desktop):"","object"==typeof s&&!Array.isArray(s)&&s.wide?"gyramais-row-wide-gap-".concat(s.wide):"",n)},u)},Xr=function(e){var r=e.id,n=e.className,o=e.span,i=e.onClick,a=e.children;return t.createElement("div",{id:r,className:T("gyramais-col","gyramais-col-mobile-span-".concat("number"==typeof o?o:"object"==typeof o&&!Array.isArray(o)&&o.mobile),"object"!=typeof o||Array.isArray(o)||void 0===o.tablet?"":"gyramais-col-tablet-span-".concat(o.tablet),"object"!=typeof o||Array.isArray(o)||void 0===o.desktop?"":"gyramais-col-desktop-span-".concat(o.desktop),"object"!=typeof o||Array.isArray(o)||void 0===o.wide?"":"gyramais-col-wide-span-".concat(o.wide),n?"".concat(n,"-container"):""),onClick:i},t.createElement("div",{className:T("gyramais-col-content",n)},a))},Jr={exports:{}};Jr.exports=(qr=t,function(e){function t(n){if(r[n])return r[n].exports;var o=r[n]={exports:{},id:n,loaded:!1};return e[n].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var r={};return t.m=e,t.c=r,t.p="",t(0)}([function(e,t,r){function n(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.conformToMask=void 0;var l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},c=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),u=r(3);Object.defineProperty(t,"conformToMask",{enumerable:!0,get:function(){return n(u).default}});var d=n(r(11)),f=n(r(9)),p=n(r(5)),m=r(2),h=function(e){function t(){var e;i(this,t);for(var r=arguments.length,n=Array(r),o=0;o<r;o++)n[o]=arguments[o];var s=a(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(n)));return s.setRef=s.setRef.bind(s),s.onBlur=s.onBlur.bind(s),s.onChange=s.onChange.bind(s),s}return s(t,e),c(t,[{key:"setRef",value:function(e){this.inputElement=e}},{key:"initTextMask",value:function(){var e=this.props,t=this.props.value;this.textMaskInputElement=(0,p.default)(l({inputElement:this.inputElement},e)),this.textMaskInputElement.update(t)}},{key:"componentDidMount",value:function(){this.initTextMask()}},{key:"componentDidUpdate",value:function(e){var t=this.props,r=t.value,n=t.pipe,o=t.mask,i={guide:t.guide,placeholderChar:t.placeholderChar,showMask:t.showMask},a="function"==typeof n&&"function"==typeof e.pipe?n.toString()!==e.pipe.toString():(0,m.isNil)(n)&&!(0,m.isNil)(e.pipe)||!(0,m.isNil)(n)&&(0,m.isNil)(e.pipe),s=o.toString()!==e.mask.toString(),l=Object.keys(i).some((function(t){return i[t]!==e[t]}))||s||a;(r!==this.inputElement.value||l)&&this.initTextMask()}},{key:"render",value:function(){var e=this.props,t=e.render,r=o(e,["render"]);return delete r.mask,delete r.guide,delete r.pipe,delete r.placeholderChar,delete r.keepCharPositions,delete r.value,delete r.onBlur,delete r.onChange,delete r.showMask,t(this.setRef,l({onBlur:this.onBlur,onChange:this.onChange,defaultValue:this.props.value},r))}},{key:"onChange",value:function(e){this.textMaskInputElement.update(),"function"==typeof this.props.onChange&&this.props.onChange(e)}},{key:"onBlur",value:function(e){"function"==typeof this.props.onBlur&&this.props.onBlur(e)}}]),t}(d.default.PureComponent);t.default=h,h.propTypes={mask:f.default.oneOfType([f.default.array,f.default.func,f.default.bool,f.default.shape({mask:f.default.oneOfType([f.default.array,f.default.func]),pipe:f.default.func})]).isRequired,guide:f.default.bool,value:f.default.oneOfType([f.default.string,f.default.number]),pipe:f.default.func,placeholderChar:f.default.string,keepCharPositions:f.default.bool,showMask:f.default.bool},h.defaultProps={render:function(e,t){return d.default.createElement("input",l({ref:e},t))}}},function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.placeholderChar="_",t.strFunction="function"},function(e,t,r){function n(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:u,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:c.placeholderChar;if(!o(e))throw new Error("Text-mask:convertMaskToPlaceholder; The mask property must be an array.");if(-1!==e.indexOf(t))throw new Error("Placeholder character must not be used as part of the mask. Please specify a character that is not present in your mask as your placeholder character.\n\nThe placeholder character that was received is: "+JSON.stringify(t)+"\n\nThe mask that was received is: "+JSON.stringify(e));return e.map((function(e){return e instanceof RegExp?t:e})).join("")}function o(e){return Array.isArray&&Array.isArray(e)||e instanceof Array}function i(e){return"string"==typeof e||e instanceof String}function a(e){return"number"==typeof e&&void 0===e.length&&!isNaN(e)}function s(e){return null==e}function l(e){for(var t=[],r=void 0;-1!==(r=e.indexOf(d));)t.push(r),e.splice(r,1);return{maskWithoutCaretTraps:e,indexes:t}}Object.defineProperty(t,"__esModule",{value:!0}),t.convertMaskToPlaceholder=n,t.isArray=o,t.isString=i,t.isNumber=a,t.isNil=s,t.processCaretTraps=l;var c=r(1),u=[],d="[]"},function(e,t,r){function n(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:s,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!(0,i.isArray)(t)){if((void 0===t?"undefined":o(t))!==a.strFunction)throw new Error("Text-mask:conformToMask; The mask property must be an array.");t=t(e,r),t=(0,i.processCaretTraps)(t).maskWithoutCaretTraps}var n=r.guide,c=void 0===n||n,u=r.previousConformedValue,d=void 0===u?l:u,f=r.placeholderChar,p=void 0===f?a.placeholderChar:f,m=r.placeholder,h=void 0===m?(0,i.convertMaskToPlaceholder)(t,p):m,y=r.currentCaretPosition,g=r.keepCharPositions,v=!1===c&&void 0!==d,b=e.length,w=d.length,x=h.length,E=t.length,k=b-w,O=k>0,S=y+(O?-k:0),N=S+Math.abs(k);if(!0===g&&!O){for(var C=l,T=S;T<N;T++)h[T]===p&&(C+=p);e=e.slice(0,S)+C+e.slice(S,b)}for(var _=e.split(l).map((function(e,t){return{char:e,isNew:t>=S&&t<N}})),P=b-1;P>=0;P--){var $=_[P].char;$!==p&&$===h[P>=S&&w===E?P-k:P]&&_.splice(P,1)}var A=l,j=!1;e:for(var R=0;R<x;R++){var M=h[R];if(M===p){if(_.length>0)for(;_.length>0;){var I=_.shift(),D=I.char,z=I.isNew;if(D===p&&!0!==v){A+=p;continue e}if(t[R].test(D)){if(!0===g&&!1!==z&&d!==l&&!1!==c&&O){for(var V=_.length,L=null,F=0;F<V;F++){var W=_[F];if(W.char!==p&&!1===W.isNew)break;if(W.char===p){L=F;break}}null!==L?(A+=D,_.splice(L,1)):R--}else A+=D;continue e}j=!0}!1===v&&(A+=h.substr(R,x));break}A+=M}if(v&&!1===O){for(var B=null,U=0;U<A.length;U++)h[U]===p&&(B=U);A=null!==B?A.substr(0,B+1):l}return{conformedValue:A,meta:{someCharsRejected:j}}}Object.defineProperty(t,"__esModule",{value:!0});var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=n;var i=r(2),a=r(1),s=[],l=""},function(e,t){function r(e){var t=e.previousConformedValue,r=void 0===t?o:t,i=e.previousPlaceholder,a=void 0===i?o:i,s=e.currentCaretPosition,l=void 0===s?0:s,c=e.conformedValue,u=e.rawValue,d=e.placeholderChar,f=e.placeholder,p=e.indexesOfPipedChars,m=void 0===p?n:p,h=e.caretTrapIndexes,y=void 0===h?n:h;if(0===l||!u.length)return 0;var g=u.length,v=r.length,b=f.length,w=c.length,x=g-v,E=x>0;if(x>1&&!E&&0!==v)return l;var k=0,O=void 0,S=void 0;if(!E||r!==c&&c!==f){var N=c.toLowerCase(),C=u.toLowerCase().substr(0,l).split(o).filter((function(e){return-1!==N.indexOf(e)}));S=C[C.length-1];var T=a.substr(0,C.length).split(o).filter((function(e){return e!==d})).length,_=f.substr(0,C.length).split(o).filter((function(e){return e!==d})).length,P=_!==T,$=void 0!==a[C.length-1]&&void 0!==f[C.length-2]&&a[C.length-1]!==d&&a[C.length-1]!==f[C.length-1]&&a[C.length-1]===f[C.length-2];!E&&(P||$)&&T>0&&f.indexOf(S)>-1&&void 0!==u[l]&&(O=!0,S=u[l]);for(var A=m.map((function(e){return N[e]})),j=A.filter((function(e){return e===S})).length,R=C.filter((function(e){return e===S})).length,M=f.substr(0,f.indexOf(d)).split(o).filter((function(e,t){return e===S&&u[t]!==e})).length,I=M+R+j+(O?1:0),D=0,z=0;z<w&&(k=z+1,N[z]===S&&D++,!(D>=I));z++);}else k=l-x;if(E){for(var V=k,L=k;L<=b;L++)if(f[L]===d&&(V=L),f[L]===d||-1!==y.indexOf(L)||L===b)return V}else if(O){for(var F=k-1;F>=0;F--)if(c[F]===S||-1!==y.indexOf(F)||0===F)return F}else for(var W=k;W>=0;W--)if(f[W-1]===d||-1!==y.indexOf(W)||0===W)return W}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var n=[],o=""},function(e,t,r){function n(e){return e&&e.__esModule?e:{default:e}}function o(e){var t={previousConformedValue:void 0,previousPlaceholder:void 0};return{state:t,update:function(r){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,o=n.inputElement,m=n.mask,y=n.guide,g=n.pipe,v=n.placeholderChar,b=void 0===v?f.placeholderChar:v,w=n.keepCharPositions,x=void 0!==w&&w,E=n.showMask,k=void 0!==E&&E;if(void 0===r&&(r=o.value),r!==t.previousConformedValue){(void 0===m?"undefined":l(m))===h&&void 0!==m.pipe&&void 0!==m.mask&&(g=m.pipe,m=m.mask);var O=void 0,S=void 0;if(m instanceof Array&&(O=(0,d.convertMaskToPlaceholder)(m,b)),!1!==m){var N=a(r),C=o.selectionEnd,T=t.previousConformedValue,_=t.previousPlaceholder,P=void 0;if((void 0===m?"undefined":l(m))===f.strFunction){if(!1===(S=m(N,{currentCaretPosition:C,previousConformedValue:T,placeholderChar:b})))return;var $=(0,d.processCaretTraps)(S);S=$.maskWithoutCaretTraps,P=$.indexes,O=(0,d.convertMaskToPlaceholder)(S,b)}else S=m;var A={previousConformedValue:T,guide:y,placeholderChar:b,pipe:g,placeholder:O,currentCaretPosition:C,keepCharPositions:x},j=(0,u.default)(N,S,A).conformedValue,R=(void 0===g?"undefined":l(g))===f.strFunction,M={};R&&(!1===(M=g(j,s({rawValue:N},A)))?M={value:T,rejected:!0}:(0,d.isString)(M)&&(M={value:M}));var I=R?M.value:j,D=(0,c.default)({previousConformedValue:T,previousPlaceholder:_,conformedValue:I,placeholder:O,rawValue:N,currentCaretPosition:C,placeholderChar:b,indexesOfPipedChars:M.indexesOfPipedChars,caretTrapIndexes:P}),z=I===O&&0===D?k?O:p:I;t.previousConformedValue=z,t.previousPlaceholder=O,o.value!==z&&(o.value=z,i(o,D))}}}}}function i(e,t){document.activeElement===e&&(y?g((function(){return e.setSelectionRange(t,t,m)}),0):e.setSelectionRange(t,t,m))}function a(e){if((0,d.isString)(e))return e;if((0,d.isNumber)(e))return String(e);if(null==e)return p;throw new Error("The 'value' provided to Text Mask needs to be a string or a number. The value received was:\n\n "+JSON.stringify(e))}Object.defineProperty(t,"__esModule",{value:!0});var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=o;var c=n(r(4)),u=n(r(3)),d=r(2),f=r(1),p="",m="none",h="object",y="undefined"!=typeof navigator&&/Android/i.test(navigator.userAgent),g="undefined"!=typeof requestAnimationFrame?requestAnimationFrame:setTimeout},function(e,t){function r(e){return function(){return e}}var n=function(){};n.thatReturns=r,n.thatReturnsFalse=r(!1),n.thatReturnsTrue=r(!0),n.thatReturnsNull=r(null),n.thatReturnsThis=function(){return this},n.thatReturnsArgument=function(e){return e},e.exports=n},function(e,t,r){function n(e,t,r,n,o,i,a,s){if(!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[r,n,o,i,a,s],u=0;(l=new Error(t.replace(/%s/g,(function(){return c[u++]})))).name="Invariant Violation"}throw l.framesToPop=1,l}}e.exports=n},function(e,t,r){var n=r(6),o=r(7),i=r(10);e.exports=function(){function e(e,t,r,n,a,s){s!==i&&o(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}function t(){return e}e.isRequired=e;var r={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return r.checkPropTypes=n,r.PropTypes=r,r}},function(e,t,r){e.exports=r(8)()},function(e,t){var r="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";e.exports=r},function(e,t){e.exports=qr}]));var Zr=O(Jr.exports),Qr=t.forwardRef((function(e,r){var n=e.id,o=e.className,i=e.name,a=e.type,l=void 0===a?"text":a,u=e.disabled,d=e.placeholder,f=e.value,p=e.mask,m=e.guide,h=void 0!==m&&m,y=e.onChange,g=c(!1),v=g[0],b=g[1];return s((function(){return b(!!f)}),[f]),t.createElement("div",{className:"gyramais-input-controller"},d&&t.createElement("div",{className:T("gyramais-input-placeholder",v?"gyramais-input-with-value":"",u?"gyramais-input-placeholder-disabled":"")},d),p?t.createElement(Zr,{id:n,className:T("gyramais-input",o),name:i,type:l,disabled:u,value:f,onChange:function(e){b(!!e.target.value),null==y||y(e)},mask:p||!1,guide:h}):t.createElement("input",{id:n,className:T("gyramais-input",o),name:i,type:l,disabled:u,value:f,onChange:function(e){b(!!e.target.value),null==y||y(e)}}))}));const en="Switch",[tn,rn]=j(en),[nn,on]=tn(en),an=d(((e,t)=>{const{__scopeSwitch:r,name:n,checked:i,defaultChecked:s,required:l,disabled:u,value:d="on",onCheckedChange:f,...p}=e,[m,h]=c(null),y=z(t,(e=>h(e))),g=a(!1),v=!m||Boolean(m.closest("form")),[b=!1,w]=I({prop:i,defaultProp:s,onChange:f});return o(nn,{scope:r,checked:b,disabled:u},o(it.button,$({type:"button",role:"switch","aria-checked":b,"aria-required":l,"data-state":ln(b),"data-disabled":u?"":void 0,disabled:u,value:d},p,{ref:y,onClick:A(e.onClick,(e=>{w((e=>!e)),v&&(g.current=e.isPropagationStopped(),g.current||e.stopPropagation())}))})),v&&o(sn,{control:m,bubbles:!g.current,name:n,value:d,checked:b,required:l,disabled:u,style:{transform:"translateX(-100%)"}}))})),sn=e=>{const{control:t,checked:r,bubbles:i=!0,...l}=e,c=a(null),u=function(e){const t=a({value:e,previous:e});return n((()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous)),[e])}(r),d=st(t);return s((()=>{const e=c.current,t=window.HTMLInputElement.prototype,n=Object.getOwnPropertyDescriptor(t,"checked").set;if(u!==r&&n){const t=new Event("click",{bubbles:i});n.call(e,r),e.dispatchEvent(t)}}),[u,r,i]),o("input",$({type:"checkbox","aria-hidden":!0,defaultChecked:r},l,{tabIndex:-1,ref:c,style:{...e.style,...d,position:"absolute",pointerEvents:"none",opacity:0,margin:0}}))};function ln(e){return e?"checked":"unchecked"}const cn=an,un=d(((e,t)=>{const{__scopeSwitch:r,...n}=e,i=on("SwitchThumb",r);return o(it.span,$({"data-state":ln(i.checked),"data-disabled":i.disabled?"":void 0},n,{ref:t}))}));var dn=e.forwardRef((function(t,r){var n=t.className,o=k(t,["className"]);return e.createElement(cn,E({className:Br("switch-root",n)},o,{ref:r}),e.createElement(un,{className:"switch-thumb"}))}));dn.displayName=cn.displayName;var fn=function(e){var r=e.id,n=e.className,o=e.disabled,i=void 0!==o&&o,a=e.checked,s=void 0!==a&&a,l=e.onCheckedChange;return t.createElement(dn,{id:r,className:T("gyramais-switch",n),disabled:i,checked:s,onCheckedChange:l})},pn={},mn={exports:{}};!function(e){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports}(mn);var hn=mn.exports,yn={};function gn(e){if("object"!=typeof e||null===e)return!1;const t=Object.getPrototypeOf(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)}function vn(e){if(!gn(e))return e;const t={};return Object.keys(e).forEach((r=>{t[r]=vn(e[r])})),t}function bn(e,t,r={clone:!0}){const n=r.clone?$({},e):e;return gn(e)&&gn(t)&&Object.keys(t).forEach((o=>{"__proto__"!==o&&(gn(t[o])&&o in e&&gn(e[o])?n[o]=bn(e[o],t[o],r):r.clone?n[o]=gn(t[o])?vn(t[o]):t[o]:n[o]=t[o])})),n}var wn,xn={exports:{}},En={exports:{}},kn={};var On,Sn,Nn,Cn,Tn,_n,Pn,$n,An,jn,Rn,Mn,In,Dn,zn={};
|
|
7
7
|
/** @license React v16.13.1
|
|
8
8
|
* react-is.development.js
|
|
9
9
|
*
|