nave-ui-library 1.0.0-beta.21 → 1.0.0-beta.22

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/wc/index.js CHANGED
@@ -1,4 +1,11 @@
1
- var si=Object.defineProperty,li=Object.defineProperties;var ci=Object.getOwnPropertyDescriptors;var Ht=Object.getOwnPropertySymbols;var Cr=Object.prototype.hasOwnProperty,Pr=Object.prototype.propertyIsEnumerable;var wr=(e,t,o)=>t in e?si(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,l=(e,t)=>{for(var o in t||(t={}))Cr.call(t,o)&&wr(e,o,t[o]);if(Ht)for(var o of Ht(t))Pr.call(t,o)&&wr(e,o,t[o]);return e},w=(e,t)=>li(e,ci(t));var h=(e,t)=>{var o={};for(var r in e)Cr.call(e,r)&&t.indexOf(r)<0&&(o[r]=e[r]);if(e!=null&&Ht)for(var r of Ht(e))t.indexOf(r)<0&&Pr.call(e,r)&&(o[r]=e[r]);return o};import{Slot as Ui}from"@radix-ui/react-slot";function Rr(e){var t,o,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var n=e.length;for(t=0;t<n;t++)e[t]&&(o=Rr(e[t]))&&(r&&(r+=" "),r+=o)}else for(o in e)e[o]&&(r&&(r+=" "),r+=o);return r}function $t(){for(var e,t,o=0,r="",n=arguments.length;o<n;o++)(e=arguments[o])&&(t=Rr(e))&&(r&&(r+=" "),r+=t);return r}var Nr=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,Sr=$t,W=(e,t)=>o=>{var r;if((t==null?void 0:t.variants)==null)return Sr(e,o==null?void 0:o.class,o==null?void 0:o.className);let{variants:n,defaultVariants:a}=t,i=Object.keys(n).map(u=>{let d=o==null?void 0:o[u],m=a==null?void 0:a[u];if(d===null)return null;let g=Nr(d)||Nr(m);return n[u][g]}),s=o&&Object.entries(o).reduce((u,d)=>{let[m,g]=d;return g===void 0||(u[m]=g),u},{}),c=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((u,d)=>{let p=d,{class:m,className:g}=p,f=h(p,["class","className"]);return Object.entries(f).every(v=>{let[x,y]=v;return Array.isArray(y)?y.includes(l(l({},a),s)[x]):l(l({},a),s)[x]===y})?[...u,m,g]:u},[]);return Sr(e,i,c,o==null?void 0:o.class,o==null?void 0:o.className)};var di=e=>{let t=pi(e),{conflictingClassGroups:o,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:i=>{let s=i.split("-");return s[0]===""&&s.length!==1&&s.shift(),Er(s,t)||ui(i)},getConflictingClassGroupIds:(i,s)=>{let c=o[i]||[];return s&&r[i]?[...c,...r[i]]:c}}},Er=(e,t)=>{var i;if(e.length===0)return t.classGroupId;let o=e[0],r=t.nextPart.get(o),n=r?Er(e.slice(1),r):void 0;if(n)return n;if(t.validators.length===0)return;let a=e.join("-");return(i=t.validators.find(({validator:s})=>s(a)))==null?void 0:i.classGroupId},Ar=/^\[(.+)\]$/,ui=e=>{if(Ar.test(e)){let t=Ar.exec(e)[1],o=t==null?void 0:t.substring(0,t.indexOf(":"));if(o)return"arbitrary.."+o}},pi=e=>{let{theme:t,prefix:o}=e,r={nextPart:new Map,validators:[]};return mi(Object.entries(e.classGroups),o).forEach(([a,i])=>{Eo(i,r,a,t)}),r},Eo=(e,t,o,r)=>{e.forEach(n=>{if(typeof n=="string"){let a=n===""?t:Tr(t,n);a.classGroupId=o;return}if(typeof n=="function"){if(fi(n)){Eo(n(r),t,o,r);return}t.validators.push({validator:n,classGroupId:o});return}Object.entries(n).forEach(([a,i])=>{Eo(i,Tr(t,a),o,r)})})},Tr=(e,t)=>{let o=e;return t.split("-").forEach(r=>{o.nextPart.has(r)||o.nextPart.set(r,{nextPart:new Map,validators:[]}),o=o.nextPart.get(r)}),o},fi=e=>e.isThemeGetter,mi=(e,t)=>t?e.map(([o,r])=>{let n=r.map(a=>typeof a=="string"?t+a:typeof a=="object"?Object.fromEntries(Object.entries(a).map(([i,s])=>[t+i,s])):a);return[o,n]}):e,gi=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,o=new Map,r=new Map,n=(a,i)=>{o.set(a,i),t++,t>e&&(t=0,r=o,o=new Map)};return{get(a){let i=o.get(a);if(i!==void 0)return i;if((i=r.get(a))!==void 0)return n(a,i),i},set(a,i){o.has(a)?o.set(a,i):n(a,i)}}};var bi=e=>{let{separator:t,experimentalParseClassName:o}=e,r=t.length===1,n=t[0],a=t.length,i=s=>{let c=[],u=0,d=0,m;for(let x=0;x<s.length;x++){let y=s[x];if(u===0){if(y===n&&(r||s.slice(x,x+a)===t)){c.push(s.slice(d,x)),d=x+a;continue}if(y==="/"){m=x;continue}}y==="["?u++:y==="]"&&u--}let g=c.length===0?s:s.substring(d),f=g.startsWith("!"),p=f?g.substring(1):g,v=m&&m>d?m-d:void 0;return{modifiers:c,hasImportantModifier:f,baseClassName:p,maybePostfixModifierPosition:v}};return o?s=>o({className:s,parseClassName:i}):i},vi=e=>{if(e.length<=1)return e;let t=[],o=[];return e.forEach(r=>{r[0]==="["?(t.push(...o.sort(),r),o=[]):o.push(r)}),t.push(...o.sort()),t},hi=e=>l({cache:gi(e.cacheSize),parseClassName:bi(e)},di(e)),xi=/\s+/,yi=(e,t)=>{let{parseClassName:o,getClassGroupId:r,getConflictingClassGroupIds:n}=t,a=[],i=e.trim().split(xi),s="";for(let c=i.length-1;c>=0;c-=1){let u=i[c],{modifiers:d,hasImportantModifier:m,baseClassName:g,maybePostfixModifierPosition:f}=o(u),p=!!f,v=r(p?g.substring(0,f):g);if(!v){if(!p){s=u+(s.length>0?" "+s:s);continue}if(v=r(g),!v){s=u+(s.length>0?" "+s:s);continue}p=!1}let x=vi(d).join(":"),y=m?x+"!":x,P=y+v;if(a.includes(P))continue;a.push(P);let R=n(v,p);for(let C=0;C<R.length;++C){let N=R[C];a.push(y+N)}s=u+(s.length>0?" "+s:s)}return s};function wi(){let e=0,t,o,r="";for(;e<arguments.length;)(t=arguments[e++])&&(o=Dr(t))&&(r&&(r+=" "),r+=o);return r}var Dr=e=>{if(typeof e=="string")return e;let t,o="";for(let r=0;r<e.length;r++)e[r]&&(t=Dr(e[r]))&&(o&&(o+=" "),o+=t);return o};function Ci(e,...t){let o,r,n,a=i;function i(c){let u=t.reduce((d,m)=>m(d),e());return o=hi(u),r=o.cache.get,n=o.cache.set,a=s,s(c)}function s(c){let u=r(c);if(u)return u;let d=yi(c,o);return n(c,d),d}return function(){return a(wi.apply(null,arguments))}}var X=e=>{let t=o=>o[e]||[];return t.isThemeGetter=!0,t},kr=/^\[(?:([a-z-]+):)?(.+)\]$/i,Pi=/^\d+\/\d+$/,Ri=new Set(["px","full","screen"]),Ni=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Si=/\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$/,Ai=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Ti=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Ei=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Fe=e=>at(e)||Ri.has(e)||Pi.test(e),Ve=e=>it(e,"length",Ii),at=e=>!!e&&!Number.isNaN(Number(e)),To=e=>it(e,"number",at),Nt=e=>!!e&&Number.isInteger(Number(e)),Di=e=>e.endsWith("%")&&at(e.slice(0,-1)),O=e=>kr.test(e),He=e=>Ni.test(e),ki=new Set(["length","size","percentage"]),Mi=e=>it(e,ki,Mr),Bi=e=>it(e,"position",Mr),Li=new Set(["image","url"]),Fi=e=>it(e,Li,_i),Oi=e=>it(e,"",zi),St=()=>!0,it=(e,t,o)=>{let r=kr.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):o(r[2]):!1},Ii=e=>Si.test(e)&&!Ai.test(e),Mr=()=>!1,zi=e=>Ti.test(e),_i=e=>Ei.test(e);var Wi=()=>{let e=X("colors"),t=X("spacing"),o=X("blur"),r=X("brightness"),n=X("borderColor"),a=X("borderRadius"),i=X("borderSpacing"),s=X("borderWidth"),c=X("contrast"),u=X("grayscale"),d=X("hueRotate"),m=X("invert"),g=X("gap"),f=X("gradientColorStops"),p=X("gradientColorStopPositions"),v=X("inset"),x=X("margin"),y=X("opacity"),P=X("padding"),R=X("saturate"),C=X("scale"),N=X("sepia"),S=X("skew"),M=X("space"),L=X("translate"),B=()=>["auto","contain","none"],z=()=>["auto","hidden","clip","visible","scroll"],H=()=>["auto",O,t],k=()=>[O,t],Z=()=>["",Fe,Ve],V=()=>["auto",at,O],Y=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],$=()=>["solid","dashed","dotted","double","none"],j=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],I=()=>["start","end","center","between","around","evenly","stretch"],G=()=>["","0",O],J=()=>["auto","avoid","all","avoid-page","page","left","right","column"],te=()=>[at,O];return{cacheSize:500,separator:":",theme:{colors:[St],spacing:[Fe,Ve],blur:["none","",He,O],brightness:te(),borderColor:[e],borderRadius:["none","","full",He,O],borderSpacing:k(),borderWidth:Z(),contrast:te(),grayscale:G(),hueRotate:te(),invert:G(),gap:k(),gradientColorStops:[e],gradientColorStopPositions:[Di,Ve],inset:H(),margin:H(),opacity:te(),padding:k(),saturate:te(),scale:te(),sepia:G(),skew:te(),space:k(),translate:k()},classGroups:{aspect:[{aspect:["auto","square","video",O]}],container:["container"],columns:[{columns:[He]}],"break-after":[{"break-after":J()}],"break-before":[{"break-before":J()}],"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:[...Y(),O]}],overflow:[{overflow:z()}],"overflow-x":[{"overflow-x":z()}],"overflow-y":[{"overflow-y":z()}],overscroll:[{overscroll:B()}],"overscroll-x":[{"overscroll-x":B()}],"overscroll-y":[{"overscroll-y":B()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[v]}],"inset-x":[{"inset-x":[v]}],"inset-y":[{"inset-y":[v]}],start:[{start:[v]}],end:[{end:[v]}],top:[{top:[v]}],right:[{right:[v]}],bottom:[{bottom:[v]}],left:[{left:[v]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Nt,O]}],basis:[{basis:H()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",O]}],grow:[{grow:G()}],shrink:[{shrink:G()}],order:[{order:["first","last","none",Nt,O]}],"grid-cols":[{"grid-cols":[St]}],"col-start-end":[{col:["auto",{span:["full",Nt,O]},O]}],"col-start":[{"col-start":V()}],"col-end":[{"col-end":V()}],"grid-rows":[{"grid-rows":[St]}],"row-start-end":[{row:["auto",{span:[Nt,O]},O]}],"row-start":[{"row-start":V()}],"row-end":[{"row-end":V()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",O]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",O]}],gap:[{gap:[g]}],"gap-x":[{"gap-x":[g]}],"gap-y":[{"gap-y":[g]}],"justify-content":[{justify:["normal",...I()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...I(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...I(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[P]}],px:[{px:[P]}],py:[{py:[P]}],ps:[{ps:[P]}],pe:[{pe:[P]}],pt:[{pt:[P]}],pr:[{pr:[P]}],pb:[{pb:[P]}],pl:[{pl:[P]}],m:[{m:[x]}],mx:[{mx:[x]}],my:[{my:[x]}],ms:[{ms:[x]}],me:[{me:[x]}],mt:[{mt:[x]}],mr:[{mr:[x]}],mb:[{mb:[x]}],ml:[{ml:[x]}],"space-x":[{"space-x":[M]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[M]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",O,t]}],"min-w":[{"min-w":[O,t,"min","max","fit"]}],"max-w":[{"max-w":[O,t,"none","full","min","max","fit","prose",{screen:[He]},He]}],h:[{h:[O,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[O,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[O,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[O,t,"auto","min","max","fit"]}],"font-size":[{text:["base",He,Ve]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",To]}],"font-family":[{font:[St]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",O]}],"line-clamp":[{"line-clamp":["none",at,To]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Fe,O]}],"list-image":[{"list-image":["none",O]}],"list-style-type":[{list:["none","disc","decimal",O]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[y]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[y]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...$(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Fe,Ve]}],"underline-offset":[{"underline-offset":["auto",Fe,O]}],"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:k()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",O]}],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",O]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[y]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Y(),Bi]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Mi]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Fi]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[p]}],"gradient-via-pos":[{via:[p]}],"gradient-to-pos":[{to:[p]}],"gradient-from":[{from:[f]}],"gradient-via":[{via:[f]}],"gradient-to":[{to:[f]}],rounded:[{rounded:[a]}],"rounded-s":[{"rounded-s":[a]}],"rounded-e":[{"rounded-e":[a]}],"rounded-t":[{"rounded-t":[a]}],"rounded-r":[{"rounded-r":[a]}],"rounded-b":[{"rounded-b":[a]}],"rounded-l":[{"rounded-l":[a]}],"rounded-ss":[{"rounded-ss":[a]}],"rounded-se":[{"rounded-se":[a]}],"rounded-ee":[{"rounded-ee":[a]}],"rounded-es":[{"rounded-es":[a]}],"rounded-tl":[{"rounded-tl":[a]}],"rounded-tr":[{"rounded-tr":[a]}],"rounded-br":[{"rounded-br":[a]}],"rounded-bl":[{"rounded-bl":[a]}],"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":[y]}],"border-style":[{border:[...$(),"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":[y]}],"divide-style":[{divide:$()}],"border-color":[{border:[n]}],"border-color-x":[{"border-x":[n]}],"border-color-y":[{"border-y":[n]}],"border-color-s":[{"border-s":[n]}],"border-color-e":[{"border-e":[n]}],"border-color-t":[{"border-t":[n]}],"border-color-r":[{"border-r":[n]}],"border-color-b":[{"border-b":[n]}],"border-color-l":[{"border-l":[n]}],"divide-color":[{divide:[n]}],"outline-style":[{outline:["",...$()]}],"outline-offset":[{"outline-offset":[Fe,O]}],"outline-w":[{outline:[Fe,Ve]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:Z()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[y]}],"ring-offset-w":[{"ring-offset":[Fe,Ve]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",He,Oi]}],"shadow-color":[{shadow:[St]}],opacity:[{opacity:[y]}],"mix-blend":[{"mix-blend":[...j(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":j()}],filter:[{filter:["","none"]}],blur:[{blur:[o]}],brightness:[{brightness:[r]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",He,O]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[d]}],invert:[{invert:[m]}],saturate:[{saturate:[R]}],sepia:[{sepia:[N]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[o]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[d]}],"backdrop-invert":[{"backdrop-invert":[m]}],"backdrop-opacity":[{"backdrop-opacity":[y]}],"backdrop-saturate":[{"backdrop-saturate":[R]}],"backdrop-sepia":[{"backdrop-sepia":[N]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",O]}],duration:[{duration:te()}],ease:[{ease:["linear","in","out","in-out",O]}],delay:[{delay:te()}],animate:[{animate:["none","spin","ping","pulse","bounce",O]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[C]}],"scale-x":[{"scale-x":[C]}],"scale-y":[{"scale-y":[C]}],rotate:[{rotate:[Nt,O]}],"translate-x":[{"translate-x":[L]}],"translate-y":[{"translate-y":[L]}],"skew-x":[{"skew-x":[S]}],"skew-y":[{"skew-y":[S]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",O]}],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",O]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":k()}],"scroll-mx":[{"scroll-mx":k()}],"scroll-my":[{"scroll-my":k()}],"scroll-ms":[{"scroll-ms":k()}],"scroll-me":[{"scroll-me":k()}],"scroll-mt":[{"scroll-mt":k()}],"scroll-mr":[{"scroll-mr":k()}],"scroll-mb":[{"scroll-mb":k()}],"scroll-ml":[{"scroll-ml":k()}],"scroll-p":[{"scroll-p":k()}],"scroll-px":[{"scroll-px":k()}],"scroll-py":[{"scroll-py":k()}],"scroll-ps":[{"scroll-ps":k()}],"scroll-pe":[{"scroll-pe":k()}],"scroll-pt":[{"scroll-pt":k()}],"scroll-pr":[{"scroll-pr":k()}],"scroll-pb":[{"scroll-pb":k()}],"scroll-pl":[{"scroll-pl":k()}],"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",O]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[Fe,Ve,To]}],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-s","border-color-e","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"]}}};var Br=Ci(Wi);function b(...e){return Br($t(e))}import{createContext as Vi,useContext as Hi}from"react";import{jsx as $i}from"react/jsx-runtime";var Lr=Vi(null);function Hd({theme:e,children:t}){return $i(Lr.Provider,{value:e,children:t})}function E(){return Hi(Lr)}function D({componentName:e,variant:t,size:o,tokens:r={}},n){var u,d,m,g,f,p,v,x,y,P,R,C,N;let a=(m=(d=(u=n==null?void 0:n.components)==null?void 0:u[e])==null?void 0:d.base)!=null?m:{},i=(v=(p=(f=(g=n==null?void 0:n.components)==null?void 0:g[e])==null?void 0:f.variants)==null?void 0:p[t])!=null?v:{},s=(R=(P=(y=(x=n==null?void 0:n.components)==null?void 0:x[e])==null?void 0:y.sizes)==null?void 0:P[o])!=null?R:{},c=(N=(C=r==null?void 0:r[e])!=null?C:n==null?void 0:n[e])!=null?N:{};return l(l(l(l(l({},a),i),s),c),r)}function A(e){var t,o,r,n,a,i,s,c,u,d,m,g,f,p,v;return{color:(t=e==null?void 0:e.color)!=null?t:"#000000",backgroundColor:(o=e==null?void 0:e.backgroundColor)!=null?o:"transparent",borderRadius:(r=e==null?void 0:e.borderRadius)!=null?r:"8px",borderWidth:(n=e==null?void 0:e.borderWidth)!=null?n:"1px",borderColor:(a=e==null?void 0:e.borderColor)!=null?a:"transparent",borderStyle:(i=e==null?void 0:e.borderStyle)!=null?i:"solid",boxShadow:(s=e==null?void 0:e.boxShadow)!=null?s:"none",opacity:(c=e==null?void 0:e.opacity)!=null?c:"none",transition:(u=e==null?void 0:e.transition)!=null?u:"all ease",transitionDuration:(d=e==null?void 0:e.transitionDuration)!=null?d:"150ms",fontSize:(g=(m=e==null?void 0:e.typography)==null?void 0:m.fontSize)!=null?g:"14px",fontWeight:(p=(f=e==null?void 0:e.typography)==null?void 0:f.fontWeight)!=null?p:"400",checkColor:(v=e==null?void 0:e.checkColor)!=null?v:"white"}}function T(e){var t,o,r,n,a,i,s,c,u,d,m,g,f,p,v,x,y,P;return{padding:(t=e.padding)!=null?t:12,gap:(o=e.gap)!=null?o:8,color:(r=e.textColor)!=null?r:"black",backgroundColor:(n=e.backgroundColor)!=null?n:"transparent",borderRadius:(a=e.borderRadius)!=null?a:8,borderWidth:(i=e.borderWidth)!=null?i:1,borderColor:(s=e.borderColor)!=null?s:"transparent",shadowColor:(c=e.shadowColor)!=null?c:"transparent",shadowOpacity:(u=e.shadowOpacity)!=null?u:0,shadowRadius:(d=e.shadowRadius)!=null?d:0,shadowOffset:(m=e.shadowOffset)!=null?m:{width:0,height:0},opacity:(g=e.opacity)!=null?g:1,fontSize:(p=(f=e.typography)==null?void 0:f.fontSize)!=null?p:14,fontWeight:(x=(v=e.typography)==null?void 0:v.fontWeight)!=null?x:"600",checkColor:(y=e.checkColor)!=null?y:"white",width:(P=e.width)!=null?P:"100%"}}var Fr={};function Zd(e){Fr=e}function Xd(){return Fr}import{jsx as Gi}from"react/jsx-runtime";var ji="inline-flex items-center justify-center whitespace-nowrap shrink-0 transition-[color,background-color,box-shadow] outline-none disabled:pointer-events-none font-[550] leading-[1.3] tracking-[-0.04em]",Ut=W(ji,{variants:{variant:{primary:"border border-transparent rounded-[var(--button-radius)] disabled:bg-[#E2E5E9] disabled:text-[#A3AAB8]",secondary:"bg-white border border-current rounded-[var(--button-radius)] disabled:bg-[#FFFFFF] disabled:text-[#A3AAB8] disabled:border-[#E2E5E9]",tertiary:"bg-transparent border-none underline-offset-4 hover:underline disabled:bg-[#FFFFFF] disabled:text-[#A3AAB8] disabled:underline",neutral:"bg-transparent border-none underline-offset-4 hover:underline"},tone:{brand:"",neutral:"",destructive:""},size:{sm:"h-8 px-3 text-sm",md:"h-10 px-4 text-sm",lg:"h-12 px-5 text-base",icon:"p-2 h-10 w-10","icon-sm":"p-1.5 h-8 w-8","icon-lg":"p-2.5 h-12 w-12"}},compoundVariants:[{variant:"primary",tone:"brand",className:"bg-[#652BDF] text-white"},{variant:"primary",tone:"neutral",className:"bg-[#020303] text-white hover:bg-[#0D0F12]"},{variant:"primary",tone:"destructive",className:"bg-[#FB3131] text-white hover:bg-[#C2040C]"},{variant:"secondary",tone:"brand",className:"text-[#652BDF] border-[#652BDF] hover:bg-[#652BDF]/10"},{variant:"secondary",tone:"destructive",className:"text-[#FB3131] border-[#FB3131] hover:bg-[#FB3131]/10"},{variant:"tertiary",tone:"brand",className:"text-[#652BDF] hover:text-[#3C168E]"},{variant:"tertiary",tone:"neutral",className:"text-[#020303] hover:text-[#020303]"},{variant:"tertiary",tone:"destructive",className:"text-[#FB3131] hover:text-[#C2040C]"}],defaultVariants:{variant:"primary",tone:"brand",size:"md"}});function ae(d){var m=d,{className:e,variant:t,tone:o,size:r,asChild:n=!1,tokens:a,style:i,platform:s="web",children:c}=m,u=h(m,["className","variant","tone","size","asChild","tokens","style","platform","children"]);let g=E(),f=D({componentName:"button",variant:t,tone:o,size:r,tokens:a},g),p=s==="web"?A(f):T(f);return Gi(n?Ui:"button",w(l({className:b(Ut({variant:t,tone:o,size:r}),e),style:l({"--button-bg":p==null?void 0:p.backgroundColor,"--button-bg-hover":f==null?void 0:f.backgroundColorHover,"--button-bg-disabled":f==null?void 0:f.backgroundColorDisabled,"--button-color":p==null?void 0:p.color,"--button-color-disabled":f==null?void 0:f.colorDisabled,"--button-focus":f==null?void 0:f.focusRing,"--button-border":p==null?void 0:p.borderColor,"--button-radius":p==null?void 0:p.borderRadius},i)},u),{children:c}))}import*as st from"@radix-ui/react-avatar";import{jsx as ko}from"react/jsx-runtime";function Do(o){var r=o,{className:e}=r,t=h(r,["className"]);return ko(st.Root,l({"data-slot":"avatar",className:b("relative flex size-8 shrink-0 overflow-hidden rounded-full",e)},t))}function Or(o){var r=o,{className:e}=r,t=h(r,["className"]);return ko(st.Image,l({"data-slot":"avatar-image",className:b("aspect-square size-full",e)},t))}function jt(o){var r=o,{className:e}=r,t=h(r,["className"]);return ko(st.Fallback,l({"data-slot":"avatar-fallback",className:b("bg-muted flex size-full items-center justify-center rounded-full",e)},t))}import{jsx as Mo}from"react/jsx-runtime";var Zi=W("relative w-full rounded-lg border px-4 py-3 text-sm grid items-start gap-y-0.5",{variants:{variant:{default:"",destructive:""}},defaultVariants:{variant:"default"}});function bu(i){var s=i,{className:e,style:t,variant:o="default",tokens:r,platform:n="web"}=s,a=h(s,["className","style","variant","tokens","platform"]);let c=E(),u=D({componentName:"alert",variant:o,tokens:r},c),d=n==="web"?l(l({},A(u)),t):T(u);return Mo("div",l({"data-slot":"alert",role:"alert",style:n==="web"?d:void 0,className:b(Zi({variant:o}),"has-[>svg]:grid-cols-[calc(var(--spacing)*4)_1fr] grid-cols-[0_1fr]","has-[>svg]:gap-x-3 [&>svg]:size-4 [&>svg]:translate-y-0.5 [&>svg]:text-current",e)},a))}function vu(o){var r=o,{className:e}=r,t=h(r,["className"]);return Mo("div",l({"data-slot":"alert-title",className:b("col-start-2 line-clamp-1 min-h-4 font-medium tracking-tight",e)},t))}function hu(o){var r=o,{className:e}=r,t=h(r,["className"]);return Mo("div",l({"data-slot":"alert-description",className:b("col-start-2 grid gap-1 text-sm text-muted-foreground [&_p]:leading-relaxed",e)},t))}import{Slot as Xi}from"@radix-ui/react-slot";import{jsx as Ki}from"react/jsx-runtime";var Yi="inline-flex items-center justify-center whitespace-nowrap shrink-0 w-fit transition-[color,box-shadow] overflow-hidden font-[550] leading-[1.3] tracking-[-0.04em]",qi=W(Yi,{variants:{tone:{success:"text-[#16A34A] bg-[#16A34A]/10",warning:"text-[#D97706] bg-[#D97706]/10",error:"text-[#DC2626] bg-[#DC2626]/10",info:"text-[#2563EB] bg-[#2563EB]/10",neutral:"text-[#6C7280] bg-[#6C7280]/10",brand:"text-[#7C3AED] bg-[#7C3AED]/10"},size:{small:"text-xs px-2 py-0.5",medium:"text-sm px-2.5 py-1",large:"text-base px-3 py-1.5"},shape:{rounded:"rounded-full",square:"rounded-md"}},defaultVariants:{tone:"neutral",size:"medium",shape:"rounded"}});function Gt(u){var d=u,{className:e,tone:t,size:o,shape:r,asChild:n=!1,tokens:a,style:i,platform:s="web"}=d,c=h(d,["className","tone","size","shape","asChild","tokens","style","platform"]);let m=n?Xi:"span",g=E(),f=D({componentName:"badge",tone:t,size:o,shape:r,tokens:a},g),p=s==="web"?l(l({},A(f)),i):T(f);return Ki(m,l({"data-slot":"badge",className:b(qi({tone:t,size:o,shape:r}),e)},c))}import{ArrowLeftRight as Ji}from"lucide-react";import{jsx as Ge,jsxs as Ir}from"react/jsx-runtime";function zr({title:e,description:t,actions:o=[],align:r="center",className:n}){let a=r==="center";return Ge("section",{className:b("w-full rounded-xl bg-white p-8",a?"text-center":"text-left",n),children:Ir("div",{className:b("mx-auto flex max-w-md flex-col gap-4",a?"items-center":"items-start"),children:[Ge("div",{className:"flex h-12 w-12 items-center justify-center rounded-md border-none",children:Ge(Ji,{className:"text-gray-300"})}),Ir("div",{className:"space-y-1",children:[Ge("h3",{className:"text-base font-semibold text-foreground",children:e}),t&&Ge("p",{className:"text-sm text-muted-foreground text-gray-500",children:t})]}),o.length>0&&Ge("div",{className:b("flex gap-2",a?"justify-center":"justify-start"),children:o.map((i,s)=>{var c;return Ge(ae,{variant:(c=i.variant)!=null?c:"primary",onClick:i.onClick,children:i.label},s)})})]})})}import{Loader2Icon as Qi}from"lucide-react";import{jsx as es}from"react/jsx-runtime";function Iu(i){var s=i,{className:e,style:t,variant:o="default",tokens:r,platform:n="web"}=s,a=h(s,["className","style","variant","tokens","platform"]);let c=E(),u=D({componentName:"loader",variant:o,tokens:r},c),d=n==="web"?l(l({},A(u)),t):T(u);return es(Qi,l({role:"status","aria-label":"Loading","data-slot":"spinner",style:n==="web"?d:void 0,className:b("animate-spin",e)},a))}import*as Zt from"@radix-ui/react-progress";import{jsx as _r}from"react/jsx-runtime";function $u(s){var c=s,{className:e,style:t,value:o=0,variant:r="default",tokens:n,platform:a="web"}=c,i=h(c,["className","style","value","variant","tokens","platform"]);let u=E(),d=D({componentName:"progress",variant:r,tokens:n},u),m=a==="web"?l(l({},A(d.track)),t):T(d.track),g=a==="web"?A(d.indicator):T(d.indicator);return _r(Zt.Root,w(l({"data-slot":"progress",style:a==="web"?m:void 0,className:b("relative w-full overflow-hidden",e)},i),{children:_r(Zt.Indicator,{"data-slot":"progress-indicator",style:w(l({},a==="web"?g:void 0),{transform:`translateX(-${100-o}%)`}),className:"h-full transition-all"})}))}import*as ge from"react";import{jsx as Ae,jsxs as Bo}from"react/jsx-runtime";function ts(e){return e/(1024*1024)}function os(e){if(!(!e||e.length===0))return e.join(",")}function rs(){return Bo("svg",{width:"40",height:"40",viewBox:"0 0 48 48",fill:"none","aria-hidden":"true",children:[Ae("path",{d:"M24 6c.6 0 1 .4 1 1v18.6l4.3-4.3a1 1 0 0 1 1.4 1.4l-6 6a1 1 0 0 1-1.4 0l-6-6a1 1 0 0 1 1.4-1.4l4.3 4.3V7c0-.6.4-1 1-1Z",fill:"currentColor",opacity:"0.9"}),Ae("path",{d:"M10 30a1 1 0 0 1 1 1v5c0 1.7 1.3 3 3 3h20c1.7 0 3-1.3 3-3v-5a1 1 0 1 1 2 0v5c0 2.8-2.2 5-5 5H14c-2.8 0-5-2.2-5-5v-5a1 1 0 0 1 1-1Z",fill:"currentColor",opacity:"0.9"})]})}function Yu({accept:e=["application/pdf","image/jpeg","image/png"],maxSizeMB:t=3,multiple:o=!1,title:r="Hac\xE9 clic o arrastr\xE1 los archivos para cargarlos",description:n=`Deben ser PDF, JPG o PNG de hasta ${t} MB.`,buttonLabel:a="Subir archivo",icon:i,className:s,onFilesChange:c,onError:u}){let d=ge.useRef(null),[m,g]=ge.useState(!1),f=ge.useCallback(C=>{let N=[],S=new Set((e!=null?e:[]).map(L=>L.toLowerCase())),M=[];for(let L of C){let B=S.size===0?!0:S.has((L.type||"").toLowerCase()),z=ts(L.size)<=t;if(!B){N.push(`Tipo no permitido: ${L.name}`);continue}if(!z){N.push(`Archivo demasiado grande (${t} MB m\xE1x): ${L.name}`);continue}M.push(L)}return!o&&M.length>1?(N.push("Solo se permite 1 archivo."),{files:M.slice(0,1),errors:N}):{files:M,errors:N}},[e,t,o]),p=ge.useCallback(()=>{var C;(C=d.current)==null||C.click()},[]),v=ge.useCallback(C=>{let{files:N,errors:S}=f(C);S.length&&(u==null||u(S)),N.length&&(c==null||c(N))},[u,c,f]),x=ge.useCallback(C=>{var S;let N=Array.from((S=C.target.files)!=null?S:[]);v(N),C.target.value=""},[v]),y=ge.useCallback(C=>{var S;C.preventDefault(),C.stopPropagation(),g(!1);let N=Array.from((S=C.dataTransfer.files)!=null?S:[]);N.length&&v(N)},[v]),P=ge.useCallback(C=>{C.preventDefault(),C.stopPropagation(),C.dataTransfer.dropEffect="copy",g(!0)},[]),R=ge.useCallback(C=>{C.preventDefault(),C.stopPropagation(),g(!1)},[]);return Ae("div",{className:b("w-full rounded-[16px] bg-white p-6 sm:p-8",s),children:Bo("div",{role:"button",tabIndex:0,onClick:p,onKeyDown:C=>{(C.key==="Enter"||C.key===" ")&&p()},onDrop:y,onDragOver:P,onDragLeave:R,className:b("w-full rounded-[16px] border border-dashed","px-6 py-10 sm:px-10 sm:py-14","flex flex-col items-center justify-center gap-3 sm:gap-4","outline-none transition-colors",m?"border-[#652BDF] bg-[#652BDF]/5":"border-[#DADDE3] bg-white"),children:[Ae("div",{className:"text-[#6C7280]",children:i!=null?i:Ae(rs,{})}),Bo("div",{className:"text-center space-y-1",children:[Ae("div",{className:"text-[16px] font-[550] leading-[1.3] tracking-[-0.04em] text-[#111827]",children:r}),Ae("div",{className:"text-[14px] font-normal leading-[1.3] tracking-[-0.04em] text-[#6B7280]",children:n})]}),Ae("div",{className:"pt-2",children:Ae(ae,{variant:"secondary",onClick:C=>{C.preventDefault(),C.stopPropagation(),p()},children:a})}),Ae("input",{ref:d,type:"file",className:"hidden",multiple:o,accept:os(e),onChange:x})]})})}import{jsx as Ze,jsxs as Lo}from"react/jsx-runtime";function Wr({id:e,overline:t,title:o,subtitle:r,amount:n,status:a,onItemClick:i,className:s}){return Lo("div",{role:i?"button":void 0,onClick:()=>i==null?void 0:i(e),className:b("flex cursor-pointer items-center justify-between gap-3 py-3 text-sm","border-b border-gray-100 last:border-b-0 hover:bg-muted/50",s),children:[Ze("div",{className:"flex w-full items-start",children:Lo("div",{className:"flex flex-col",children:[t&&Ze("span",{className:"text-xs text-muted-foreground",children:t}),Ze("span",{className:"font-medium leading-tight",children:o}),r&&Ze("span",{className:"text-xs text-muted-foreground",children:r})]})}),(n||a)&&Ze("div",{className:"flex items-center gap-3",children:Lo("div",{className:"flex flex-col items-end",children:[n&&Ze("span",{className:"font-medium",children:n}),a&&Ze(Gt,{tone:"success",size:"small",children:a.label})]})})]})}import{jsx as be}from"react/jsx-runtime";function up(i){var s=i,{className:e,style:t,variant:o="default",tokens:r,platform:n="web"}=s,a=h(s,["className","style","variant","tokens","platform"]);let c=E(),u=D({componentName:"table",variant:o,tokens:r},c),d=n==="web"?l(l({},A(u)),t):T(u);return be("div",{"data-slot":"table-container",className:`\r
1
+ var Ha=Object.create;var Xt=Object.defineProperty,Ua=Object.defineProperties,$a=Object.getOwnPropertyDescriptor,Va=Object.getOwnPropertyDescriptors,Xa=Object.getOwnPropertyNames,_t=Object.getOwnPropertySymbols,Ga=Object.getPrototypeOf,Gt=Object.prototype.hasOwnProperty,Co=Object.prototype.propertyIsEnumerable;var xo=(e,t,r)=>t in e?Xt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,l=(e,t)=>{for(var r in t||(t={}))Gt.call(t,r)&&xo(e,r,t[r]);if(_t)for(var r of _t(t))Co.call(t,r)&&xo(e,r,t[r]);return e},w=(e,t)=>Ua(e,Va(t));var dt=(e=>typeof require!="undefined"?require:typeof Proxy!="undefined"?new Proxy(e,{get:(t,r)=>(typeof require!="undefined"?require:t)[r]}):e)(function(e){if(typeof require!="undefined")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var v=(e,t)=>{var r={};for(var o in e)Gt.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(e!=null&&_t)for(var o of _t(e))t.indexOf(o)<0&&Co.call(e,o)&&(r[o]=e[o]);return r};var L=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var Wa=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of Xa(t))!Gt.call(e,n)&&n!==r&&Xt(e,n,{get:()=>t[n],enumerable:!(o=$a(t,n))||o.enumerable});return e};var qa=(e,t,r)=>(r=e!=null?Ha(Ga(e)):{},Wa(t||!e||!e.__esModule?Xt(r,"default",{value:e,enumerable:!0}):r,e));var mr=L(on=>{"use strict";function rn(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,r=new WeakMap;return(rn=function(o){return o?r:t})(e)}function El(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var r=rn(t);if(r&&r.has(e))return r.get(e);var o={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(a!=="default"&&Object.prototype.hasOwnProperty.call(e,a)){var i=n?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(o,a,i):o[a]=e[a]}return o.default=e,r&&r.set(e,o),o}on._=El});var br=L(gr=>{"use strict";Object.defineProperty(gr,"__esModule",{value:!0});function wl(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}wl(gr,{assign:function(){return Sl},searchParamsToUrlQuery:function(){return Nl},urlQueryToSearchParams:function(){return Tl}});function Nl(e){let t={};for(let[r,o]of e.entries()){let n=t[r];typeof n=="undefined"?t[r]=o:Array.isArray(n)?n.push(o):t[r]=[n,o]}return t}function nn(e){return typeof e=="string"?e:typeof e=="number"&&!isNaN(e)||typeof e=="boolean"?String(e):""}function Tl(e){let t=new URLSearchParams;for(let[r,o]of Object.entries(e))if(Array.isArray(o))for(let n of o)t.append(r,nn(n));else t.set(r,nn(o));return t}function Sl(e,...t){for(let r of t){for(let o of r.keys())e.delete(o);for(let[o,n]of r.entries())e.append(o,n)}return e}});var hr=L(vr=>{"use strict";Object.defineProperty(vr,"__esModule",{value:!0});function Al(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}Al(vr,{formatUrl:function(){return an},formatWithValidation:function(){return Ml},urlObjectKeys:function(){return sn}});var Il=mr(),Ol=Il._(br()),Dl=/https?|ftp|gopher|file/;function an(e){let{auth:t,hostname:r}=e,o=e.protocol||"",n=e.pathname||"",a=e.hash||"",i=e.query||"",c=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?c=t+e.host:r&&(c=t+(~r.indexOf(":")?`[${r}]`:r),e.port&&(c+=":"+e.port)),i&&typeof i=="object"&&(i=String(Ol.urlQueryToSearchParams(i)));let s=e.search||i&&`?${i}`||"";return o&&!o.endsWith(":")&&(o+=":"),e.slashes||(!o||Dl.test(o))&&c!==!1?(c="//"+(c||""),n&&n[0]!=="/"&&(n="/"+n)):c||(c=""),a&&a[0]!=="#"&&(a="#"+a),s&&s[0]!=="?"&&(s="?"+s),n=n.replace(/[?#]/g,encodeURIComponent),s=s.replace("#","%23"),`${o}${c}${n}${s}${a}`}var sn=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function Ml(e){return process.env.NODE_ENV==="development"&&e!==null&&typeof e=="object"&&Object.keys(e).forEach(t=>{sn.includes(t)||console.warn(`Unknown key passed via urlObject into url.format: ${t}`)}),an(e)}});var ln=L(xr=>{"use strict";Object.defineProperty(xr,"__esModule",{value:!0});Object.defineProperty(xr,"omit",{enumerable:!0,get:function(){return Ll}});function Ll(e,t){let r={};return Object.keys(e).forEach(o=>{t.includes(o)||(r[o]=e[o])}),r}});var gt=L(Er=>{"use strict";Object.defineProperty(Er,"__esModule",{value:!0});function Fl(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}Fl(Er,{DecodeError:function(){return Cr},MiddlewareNotFoundError:function(){return Pr},MissingStaticPage:function(){return Rr},NormalizeError:function(){return yr},PageNotFoundError:function(){return _r},SP:function(){return pn},ST:function(){return $l},WEB_VITALS:function(){return kl},execOnce:function(){return Bl},getDisplayName:function(){return zt},getLocationOrigin:function(){return cn},getURL:function(){return Hl},isAbsoluteUrl:function(){return jl},isResSent:function(){return un},loadGetInitialProps:function(){return dn},normalizeRepeatedSlashes:function(){return Ul},stringifyError:function(){return Vl}});var kl=["CLS","FCP","FID","INP","LCP","TTFB"];function Bl(e){let t=!1,r;return(...o)=>(t||(t=!0,r=e(...o)),r)}var zl=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,jl=e=>zl.test(e);function cn(){let{protocol:e,hostname:t,port:r}=window.location;return`${e}//${t}${r?":"+r:""}`}function Hl(){let{href:e}=window.location,t=cn();return e.substring(t.length)}function zt(e){return typeof e=="string"?e:e.displayName||e.name||"Unknown"}function un(e){return e.finished||e.headersSent}function Ul(e){let t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?`?${t.slice(1).join("?")}`:"")}async function dn(e,t){var n;if(process.env.NODE_ENV!=="production"&&(n=e.prototype)!=null&&n.getInitialProps){let a=`"${zt(e)}.getInitialProps()" is defined as an instance method - visit https://nextjs.org/docs/messages/get-initial-props-as-an-instance-method for more information.`;throw Object.defineProperty(new Error(a),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0})}let r=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await dn(t.Component,t.ctx)}:{};let o=await e.getInitialProps(t);if(r&&un(r))return o;if(!o){let a=`"${zt(e)}.getInitialProps()" should resolve to an object. But found "${o}" instead.`;throw Object.defineProperty(new Error(a),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0})}return process.env.NODE_ENV!=="production"&&Object.keys(o).length===0&&!t.ctx&&console.warn(`${zt(e)} returned an empty object from \`getInitialProps\`. This de-optimizes and prevents automatic static optimization. https://nextjs.org/docs/messages/empty-object-getInitialProps`),o}var pn=typeof performance!="undefined",$l=pn&&["mark","measure","getEntriesByName"].every(e=>typeof performance[e]=="function"),Cr=class extends Error{},yr=class extends Error{},_r=class extends Error{constructor(t){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message=`Cannot find module for page: ${t}`}},Rr=class extends Error{constructor(t,r){super(),this.message=`Failed to load static file for page: ${t} ${r}`}},Pr=class extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}};function Vl(e){return JSON.stringify({message:e.message,stack:e.stack})}});var Nr=L(wr=>{"use strict";Object.defineProperty(wr,"__esModule",{value:!0});Object.defineProperty(wr,"removeTrailingSlash",{enumerable:!0,get:function(){return Xl}});function Xl(e){return e.replace(/\/$/,"")||"/"}});var jt=L(Tr=>{"use strict";Object.defineProperty(Tr,"__esModule",{value:!0});Object.defineProperty(Tr,"parsePath",{enumerable:!0,get:function(){return Gl}});function Gl(e){let t=e.indexOf("#"),r=e.indexOf("?"),o=r>-1&&(t<0||r<t);return o||t>-1?{pathname:e.substring(0,o?r:t),query:o?e.substring(r,t>-1?t:void 0):"",hash:t>-1?e.slice(t):""}:{pathname:e,query:"",hash:""}}});var bt=L((be,mn)=>{"use strict";Object.defineProperty(be,"__esModule",{value:!0});Object.defineProperty(be,"normalizePathTrailingSlash",{enumerable:!0,get:function(){return ql}});var fn=Nr(),Wl=jt(),ql=e=>{if(!e.startsWith("/")||process.env.__NEXT_MANUAL_TRAILING_SLASH)return e;let{pathname:t,query:r,hash:o}=(0,Wl.parsePath)(e);return process.env.__NEXT_TRAILING_SLASH?/\.[^/]+\/?$/.test(t)?`${(0,fn.removeTrailingSlash)(t)}${r}${o}`:t.endsWith("/")?`${t}${r}${o}`:`${t}/${r}${o}`:`${(0,fn.removeTrailingSlash)(t)}${r}${o}`};(typeof be.default=="function"||typeof be.default=="object"&&be.default!==null)&&typeof be.default.__esModule=="undefined"&&(Object.defineProperty(be.default,"__esModule",{value:!0}),Object.assign(be.default,be),mn.exports=be.default)});var Ar=L(Sr=>{"use strict";Object.defineProperty(Sr,"__esModule",{value:!0});Object.defineProperty(Sr,"pathHasPrefix",{enumerable:!0,get:function(){return Kl}});var Yl=jt();function Kl(e,t){if(typeof e!="string")return!1;let{pathname:r}=(0,Yl.parsePath)(e);return r===t||r.startsWith(t+"/")}});var bn=L((ve,gn)=>{"use strict";Object.defineProperty(ve,"__esModule",{value:!0});Object.defineProperty(ve,"hasBasePath",{enumerable:!0,get:function(){return Jl}});var Zl=Ar(),Ql=process.env.__NEXT_ROUTER_BASEPATH||"";function Jl(e){return(0,Zl.pathHasPrefix)(e,Ql)}(typeof ve.default=="function"||typeof ve.default=="object"&&ve.default!==null)&&typeof ve.default.__esModule=="undefined"&&(Object.defineProperty(ve.default,"__esModule",{value:!0}),Object.assign(ve.default,ve),gn.exports=ve.default)});var Or=L(Ir=>{"use strict";Object.defineProperty(Ir,"__esModule",{value:!0});Object.defineProperty(Ir,"isLocalURL",{enumerable:!0,get:function(){return tc}});var vn=gt(),ec=bn();function tc(e){if(!(0,vn.isAbsoluteUrl)(e))return!0;try{let t=(0,vn.getLocationOrigin)(),r=new URL(e,t);return r.origin===t&&(0,ec.hasBasePath)(r.pathname)}catch(t){return!1}}});var xn=L(Mr=>{"use strict";Object.defineProperty(Mr,"__esModule",{value:!0});function rc(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}rc(Mr,{getSortedRouteObjects:function(){return oc},getSortedRoutes:function(){return hn}});var Dr=class e{insert(t){this._insert(t.split("/").filter(Boolean),[],!1)}smoosh(){return this._smoosh()}_smoosh(t="/"){let r=[...this.children.keys()].sort();this.slugName!==null&&r.splice(r.indexOf("[]"),1),this.restSlugName!==null&&r.splice(r.indexOf("[...]"),1),this.optionalRestSlugName!==null&&r.splice(r.indexOf("[[...]]"),1);let o=r.map(n=>this.children.get(n)._smoosh(`${t}${n}/`)).reduce((n,a)=>[...n,...a],[]);if(this.slugName!==null&&o.push(...this.children.get("[]")._smoosh(`${t}[${this.slugName}]/`)),!this.placeholder){let n=t==="/"?"/":t.slice(0,-1);if(this.optionalRestSlugName!=null)throw Object.defineProperty(new Error(`You cannot define a route with the same specificity as a optional catch-all route ("${n}" and "${n}[[...${this.optionalRestSlugName}]]").`),"__NEXT_ERROR_CODE",{value:"E458",enumerable:!1,configurable:!0});o.unshift(n)}return this.restSlugName!==null&&o.push(...this.children.get("[...]")._smoosh(`${t}[...${this.restSlugName}]/`)),this.optionalRestSlugName!==null&&o.push(...this.children.get("[[...]]")._smoosh(`${t}[[...${this.optionalRestSlugName}]]/`)),o}_insert(t,r,o){if(t.length===0){this.placeholder=!1;return}if(o)throw Object.defineProperty(new Error("Catch-all must be the last part of the URL."),"__NEXT_ERROR_CODE",{value:"E392",enumerable:!1,configurable:!0});let n=t[0];if(n.startsWith("[")&&n.endsWith("]")){let c=function(s,u){if(s!==null&&s!==u)throw Object.defineProperty(new Error(`You cannot use different slug names for the same dynamic path ('${s}' !== '${u}').`),"__NEXT_ERROR_CODE",{value:"E337",enumerable:!1,configurable:!0});r.forEach(d=>{if(d===u)throw Object.defineProperty(new Error(`You cannot have the same slug name "${u}" repeat within a single dynamic path`),"__NEXT_ERROR_CODE",{value:"E247",enumerable:!1,configurable:!0});if(d.replace(/\W/g,"")===n.replace(/\W/g,""))throw Object.defineProperty(new Error(`You cannot have the slug names "${d}" and "${u}" differ only by non-word symbols within a single dynamic path`),"__NEXT_ERROR_CODE",{value:"E499",enumerable:!1,configurable:!0})}),r.push(u)},a=n.slice(1,-1),i=!1;if(a.startsWith("[")&&a.endsWith("]")&&(a=a.slice(1,-1),i=!0),a.startsWith("\u2026"))throw Object.defineProperty(new Error(`Detected a three-dot character ('\u2026') at ('${a}'). Did you mean ('...')?`),"__NEXT_ERROR_CODE",{value:"E147",enumerable:!1,configurable:!0});if(a.startsWith("...")&&(a=a.substring(3),o=!0),a.startsWith("[")||a.endsWith("]"))throw Object.defineProperty(new Error(`Segment names may not start or end with extra brackets ('${a}').`),"__NEXT_ERROR_CODE",{value:"E421",enumerable:!1,configurable:!0});if(a.startsWith("."))throw Object.defineProperty(new Error(`Segment names may not start with erroneous periods ('${a}').`),"__NEXT_ERROR_CODE",{value:"E288",enumerable:!1,configurable:!0});if(o)if(i){if(this.restSlugName!=null)throw Object.defineProperty(new Error(`You cannot use both an required and optional catch-all route at the same level ("[...${this.restSlugName}]" and "${t[0]}" ).`),"__NEXT_ERROR_CODE",{value:"E299",enumerable:!1,configurable:!0});c(this.optionalRestSlugName,a),this.optionalRestSlugName=a,n="[[...]]"}else{if(this.optionalRestSlugName!=null)throw Object.defineProperty(new Error(`You cannot use both an optional and required catch-all route at the same level ("[[...${this.optionalRestSlugName}]]" and "${t[0]}").`),"__NEXT_ERROR_CODE",{value:"E300",enumerable:!1,configurable:!0});c(this.restSlugName,a),this.restSlugName=a,n="[...]"}else{if(i)throw Object.defineProperty(new Error(`Optional route parameters are not yet supported ("${t[0]}").`),"__NEXT_ERROR_CODE",{value:"E435",enumerable:!1,configurable:!0});c(this.slugName,a),this.slugName=a,n="[]"}}this.children.has(n)||this.children.set(n,new e),this.children.get(n)._insert(t.slice(1),r,o)}constructor(){this.placeholder=!0,this.children=new Map,this.slugName=null,this.restSlugName=null,this.optionalRestSlugName=null}};function hn(e){let t=new Dr;return e.forEach(r=>t.insert(r)),t.smoosh()}function oc(e,t){let r={},o=[];for(let a=0;a<e.length;a++){let i=t(e[a]);r[i]=a,o[a]=i}return hn(o).map(a=>e[r[a]])}});var Cn=L(Lr=>{"use strict";Object.defineProperty(Lr,"__esModule",{value:!0});Object.defineProperty(Lr,"ensureLeadingSlash",{enumerable:!0,get:function(){return nc}});function nc(e){return e.startsWith("/")?e:`/${e}`}});var kr=L(Fr=>{"use strict";Object.defineProperty(Fr,"__esModule",{value:!0});function ac(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}ac(Fr,{DEFAULT_SEGMENT_KEY:function(){return Rn},PAGE_SEGMENT_KEY:function(){return vt},addSearchParamsIfPageSegment:function(){return lc},computeSelectedLayoutSegment:function(){return cc},getSegmentValue:function(){return yn},getSelectedLayoutSegmentPath:function(){return _n},isGroupSegment:function(){return ic},isParallelRouteSegment:function(){return sc}});function yn(e){return Array.isArray(e)?e[1]:e}function ic(e){return e[0]==="("&&e.endsWith(")")}function sc(e){return e.startsWith("@")&&e!=="@children"}function lc(e,t){if(e.includes(vt)){let o=JSON.stringify(t);return o!=="{}"?vt+"?"+o:vt}return e}function cc(e,t){if(!e||e.length===0)return null;let r=t==="children"?e[0]:e[e.length-1];return r===Rn?null:r}function _n(e,t,r=!0,o=[]){var c;let n;if(r)n=e[1][t];else{let s=e[1];n=(c=s.children)!=null?c:Object.values(s)[0]}if(!n)return o;let a=n[0],i=yn(a);return!i||i.startsWith(vt)?o:(o.push(i),_n(n,t,!1,o))}var vt="__PAGE__",Rn="__DEFAULT__"});var Pn=L(Br=>{"use strict";Object.defineProperty(Br,"__esModule",{value:!0});function uc(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}uc(Br,{normalizeAppPath:function(){return fc},normalizeRscURL:function(){return mc}});var dc=Cn(),pc=kr();function fc(e){return(0,dc.ensureLeadingSlash)(e.split("/").reduce((t,r,o,n)=>!r||(0,pc.isGroupSegment)(r)||r[0]==="@"||(r==="page"||r==="route")&&o===n.length-1?t:`${t}/${r}`,""))}function mc(e){return e.replace(/\.rsc($|\?)/,"$1")}});var Ht=L(jr=>{"use strict";Object.defineProperty(jr,"__esModule",{value:!0});function gc(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}gc(jr,{INTERCEPTION_ROUTE_MARKERS:function(){return zr},extractInterceptionRouteInformation:function(){return hc},isInterceptionRouteAppPath:function(){return vc}});var bc=Pn(),zr=["(..)(..)","(.)","(..)","(...)"];function vc(e){return e.split("/").find(t=>zr.find(r=>t.startsWith(r)))!==void 0}function hc(e){let t,r,o;for(let n of e.split("/"))if(r=zr.find(a=>n.startsWith(a)),r){[t,o]=e.split(r,2);break}if(!t||!r||!o)throw Object.defineProperty(new Error(`Invalid interception route: ${e}. Must be in the format /<intercepting route>/(..|...|..)(..)/<intercepted route>`),"__NEXT_ERROR_CODE",{value:"E269",enumerable:!1,configurable:!0});switch(t=(0,bc.normalizeAppPath)(t),r){case"(.)":t==="/"?o=`/${o}`:o=t+"/"+o;break;case"(..)":if(t==="/")throw Object.defineProperty(new Error(`Invalid interception route: ${e}. Cannot use (..) marker at the root level, use (.) instead.`),"__NEXT_ERROR_CODE",{value:"E207",enumerable:!1,configurable:!0});o=t.split("/").slice(0,-1).concat(o).join("/");break;case"(...)":o="/"+o;break;case"(..)(..)":let n=t.split("/");if(n.length<=2)throw Object.defineProperty(new Error(`Invalid interception route: ${e}. Cannot use (..)(..) marker at the root level or one level up.`),"__NEXT_ERROR_CODE",{value:"E486",enumerable:!1,configurable:!0});o=n.slice(0,-2).concat(o).join("/");break;default:throw Object.defineProperty(new Error("Invariant: unexpected marker"),"__NEXT_ERROR_CODE",{value:"E112",enumerable:!1,configurable:!0})}return{interceptingRoute:t,interceptedRoute:o}}});var wn=L(Hr=>{"use strict";Object.defineProperty(Hr,"__esModule",{value:!0});Object.defineProperty(Hr,"isDynamicRoute",{enumerable:!0,get:function(){return yc}});var En=Ht(),xc=/\/[^/]*\[[^/]+\][^/]*(?=\/|$)/,Cc=/\/\[[^/]+\](?=\/|$)/;function yc(e,t=!0){return(0,En.isInterceptionRouteAppPath)(e)&&(e=(0,En.extractInterceptionRouteInformation)(e).interceptedRoute),t?Cc.test(e):xc.test(e)}});var Tn=L(Ur=>{"use strict";Object.defineProperty(Ur,"__esModule",{value:!0});function _c(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}_c(Ur,{getSortedRouteObjects:function(){return Nn.getSortedRouteObjects},getSortedRoutes:function(){return Nn.getSortedRoutes},isDynamicRoute:function(){return Rc.isDynamicRoute}});var Nn=xn(),Rc=wn()});var An=L((Ob,Sn)=>{"use strict";(()=>{"use strict";typeof __nccwpck_require__!="undefined"&&(__nccwpck_require__.ab=__dirname+"/");var e={};(()=>{var t=e;Object.defineProperty(t,"__esModule",{value:!0}),t.pathToRegexp=t.tokensToRegexp=t.regexpToFunction=t.match=t.tokensToFunction=t.compile=t.parse=void 0;function r(f){for(var m=[],g=0;g<f.length;){var y=f[g];if(y==="*"||y==="+"||y==="?"){m.push({type:"MODIFIER",index:g,value:f[g++]});continue}if(y==="\\"){m.push({type:"ESCAPED_CHAR",index:g++,value:f[g++]});continue}if(y==="{"){m.push({type:"OPEN",index:g,value:f[g++]});continue}if(y==="}"){m.push({type:"CLOSE",index:g,value:f[g++]});continue}if(y===":"){for(var R="",_=g+1;_<f.length;){var P=f.charCodeAt(_);if(P>=48&&P<=57||P>=65&&P<=90||P>=97&&P<=122||P===95){R+=f[_++];continue}break}if(!R)throw new TypeError("Missing parameter name at ".concat(g));m.push({type:"NAME",index:g,value:R}),g=_;continue}if(y==="("){var E=1,B="",_=g+1;if(f[_]==="?")throw new TypeError('Pattern cannot start with "?" at '.concat(_));for(;_<f.length;){if(f[_]==="\\"){B+=f[_++]+f[_++];continue}if(f[_]===")"){if(E--,E===0){_++;break}}else if(f[_]==="("&&(E++,f[_+1]!=="?"))throw new TypeError("Capturing groups are not allowed at ".concat(_));B+=f[_++]}if(E)throw new TypeError("Unbalanced pattern at ".concat(g));if(!B)throw new TypeError("Missing pattern at ".concat(g));m.push({type:"PATTERN",index:g,value:B}),g=_;continue}m.push({type:"CHAR",index:g,value:f[g++]})}return m.push({type:"END",index:g,value:""}),m}function o(f,m){m===void 0&&(m={});for(var g=r(f),y=m.prefixes,R=y===void 0?"./":y,_=m.delimiter,P=_===void 0?"/#?":_,E=[],B=0,F=0,O="",I=function(X){if(F<g.length&&g[F].type===X)return g[F++].value},V=function(X){var J=I(X);if(J!==void 0)return J;var ue=g[F],Ke=ue.type,yt=ue.index;throw new TypeError("Unexpected ".concat(Ke," at ").concat(yt,", expected ").concat(X))},D=function(){for(var X="",J;J=I("CHAR")||I("ESCAPED_CHAR");)X+=J;return X},ne=function(X){for(var J=0,ue=P;J<ue.length;J++){var Ke=ue[J];if(X.indexOf(Ke)>-1)return!0}return!1},Q=function(X){var J=E[E.length-1],ue=X||(J&&typeof J=="string"?J:"");if(J&&!ue)throw new TypeError('Must have text between two parameters, missing text after "'.concat(J.name,'"'));return!ue||ne(ue)?"[^".concat(s(P),"]+?"):"(?:(?!".concat(s(ue),")[^").concat(s(P),"])+?")};F<g.length;){var q=I("CHAR"),$=I("NAME"),te=I("PATTERN");if($||te){var k=q||"";R.indexOf(k)===-1&&(O+=k,k=""),O&&(E.push(O),O=""),E.push({name:$||B++,prefix:k,suffix:"",pattern:te||Q(k),modifier:I("MODIFIER")||""});continue}var j=q||I("ESCAPED_CHAR");if(j){O+=j;continue}O&&(E.push(O),O="");var ae=I("OPEN");if(ae){var k=D(),K=I("NAME")||"",Le=I("PATTERN")||"",M=D();V("CLOSE"),E.push({name:K||(Le?B++:""),pattern:K&&!Le?Q(k):Le,prefix:k,suffix:M,modifier:I("MODIFIER")||""});continue}V("END")}return E}t.parse=o;function n(f,m){return a(o(f,m),m)}t.compile=n;function a(f,m){m===void 0&&(m={});var g=u(m),y=m.encode,R=y===void 0?function(B){return B}:y,_=m.validate,P=_===void 0?!0:_,E=f.map((function(B){if(typeof B=="object")return new RegExp("^(?:".concat(B.pattern,")$"),g)}));return function(B){for(var F="",O=0;O<f.length;O++){var I=f[O];if(typeof I=="string"){F+=I;continue}var V=B?B[I.name]:void 0,D=I.modifier==="?"||I.modifier==="*",ne=I.modifier==="*"||I.modifier==="+";if(Array.isArray(V)){if(!ne)throw new TypeError('Expected "'.concat(I.name,'" to not repeat, but got an array'));if(V.length===0){if(D)continue;throw new TypeError('Expected "'.concat(I.name,'" to not be empty'))}for(var Q=0;Q<V.length;Q++){var q=R(V[Q],I);if(P&&!E[O].test(q))throw new TypeError('Expected all "'.concat(I.name,'" to match "').concat(I.pattern,'", but got "').concat(q,'"'));F+=I.prefix+q+I.suffix}continue}if(typeof V=="string"||typeof V=="number"){var q=R(String(V),I);if(P&&!E[O].test(q))throw new TypeError('Expected "'.concat(I.name,'" to match "').concat(I.pattern,'", but got "').concat(q,'"'));F+=I.prefix+q+I.suffix;continue}if(!D){var $=ne?"an array":"a string";throw new TypeError('Expected "'.concat(I.name,'" to be ').concat($))}}return F}}t.tokensToFunction=a;function i(f,m){var g=[],y=x(f,g,m);return c(y,g,m)}t.match=i;function c(f,m,g){g===void 0&&(g={});var y=g.decode,R=y===void 0?function(_){return _}:y;return function(_){var P=f.exec(_);if(!P)return!1;for(var E=P[0],B=P.index,F=Object.create(null),O=function(V){if(P[V]===void 0)return"continue";var D=m[V-1];D.modifier==="*"||D.modifier==="+"?F[D.name]=P[V].split(D.prefix+D.suffix).map((function(ne){return R(ne,D)})):F[D.name]=R(P[V],D)},I=1;I<P.length;I++)O(I);return{path:E,index:B,params:F}}}t.regexpToFunction=c;function s(f){return f.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function u(f){return f&&f.sensitive?"":"i"}function d(f,m){if(!m)return f;for(var g=/\((?:\?<(.*?)>)?(?!\?)/g,y=0,R=g.exec(f.source);R;)m.push({name:R[1]||y++,prefix:"",suffix:"",modifier:"",pattern:""}),R=g.exec(f.source);return f}function b(f,m,g){var y=f.map((function(R){return x(R,m,g).source}));return new RegExp("(?:".concat(y.join("|"),")"),u(g))}function h(f,m,g){return C(o(f,g),m,g)}function C(f,m,g){g===void 0&&(g={});for(var y=g.strict,R=y===void 0?!1:y,_=g.start,P=_===void 0?!0:_,E=g.end,B=E===void 0?!0:E,F=g.encode,O=F===void 0?function(J){return J}:F,I=g.delimiter,V=I===void 0?"/#?":I,D=g.endsWith,ne=D===void 0?"":D,Q="[".concat(s(ne),"]|$"),q="[".concat(s(V),"]"),$=P?"^":"",te=0,k=f;te<k.length;te++){var j=k[te];if(typeof j=="string")$+=s(O(j));else{var ae=s(O(j.prefix)),K=s(O(j.suffix));if(j.pattern)if(m&&m.push(j),ae||K)if(j.modifier==="+"||j.modifier==="*"){var Le=j.modifier==="*"?"?":"";$+="(?:".concat(ae,"((?:").concat(j.pattern,")(?:").concat(K).concat(ae,"(?:").concat(j.pattern,"))*)").concat(K,")").concat(Le)}else $+="(?:".concat(ae,"(").concat(j.pattern,")").concat(K,")").concat(j.modifier);else{if(j.modifier==="+"||j.modifier==="*")throw new TypeError('Can not repeat "'.concat(j.name,'" without a prefix and suffix'));$+="(".concat(j.pattern,")").concat(j.modifier)}else $+="(?:".concat(ae).concat(K,")").concat(j.modifier)}}if(B)R||($+="".concat(q,"?")),$+=g.endsWith?"(?=".concat(Q,")"):"$";else{var M=f[f.length-1],X=typeof M=="string"?q.indexOf(M[M.length-1])>-1:M===void 0;R||($+="(?:".concat(q,"(?=").concat(Q,"))?")),X||($+="(?=".concat(q,"|").concat(Q,")"))}return new RegExp($,u(g))}t.tokensToRegexp=C;function x(f,m,g){return f instanceof RegExp?d(f,m):Array.isArray(f)?b(f,m,g):h(f,m,g)}t.pathToRegexp=x})(),Sn.exports=e})()});var In=L($r=>{"use strict";Object.defineProperty($r,"__esModule",{value:!0});function Pc(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}Pc($r,{PARAM_SEPARATOR:function(){return lt},hasAdjacentParameterIssues:function(){return Ec},normalizeAdjacentParameters:function(){return wc},normalizeTokensForRegexp:function(){return Nc},stripNormalizedSeparators:function(){return Tc},stripParameterSeparators:function(){return Sc}});var lt="_NEXTSEP_";function Ec(e){return typeof e!="string"?!1:!!(/\/\(\.{1,3}\):[^/\s]+/.test(e)||/:[a-zA-Z_][a-zA-Z0-9_]*:[a-zA-Z_][a-zA-Z0-9_]*/.test(e))}function wc(e){let t=e;return t=t.replace(/(\([^)]*\)):([^/\s]+)/g,`$1${lt}:$2`),t=t.replace(/:([^:/\s)]+)(?=:)/g,`:$1${lt}`),t}function Nc(e){return e.map(t=>typeof t=="object"&&t!==null&&"modifier"in t&&(t.modifier==="*"||t.modifier==="+")&&"prefix"in t&&"suffix"in t&&t.prefix===""&&t.suffix===""?w(l({},t),{prefix:"/"}):t)}function Tc(e){return e.replace(new RegExp(`\\)${lt}`,"g"),")")}function Sc(e){let t={};for(let[r,o]of Object.entries(e))typeof o=="string"?t[r]=o.replace(new RegExp(`^${lt}`),""):Array.isArray(o)?t[r]=o.map(n=>typeof n=="string"?n.replace(new RegExp(`^${lt}`),""):n):t[r]=o;return t}});var On=L(Vr=>{"use strict";Object.defineProperty(Vr,"__esModule",{value:!0});function Ac(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}Ac(Vr,{safeCompile:function(){return Oc},safePathToRegexp:function(){return Ic},safeRegexpToFunction:function(){return Dc},safeRouteMatcher:function(){return Mc}});var ct=An(),Me=In();function Ic(e,t,r){if(typeof e!="string")return(0,ct.pathToRegexp)(e,t,r);let o=(0,Me.hasAdjacentParameterIssues)(e),n=o?(0,Me.normalizeAdjacentParameters)(e):e;try{return(0,ct.pathToRegexp)(n,t,r)}catch(a){if(!o)try{let i=(0,Me.normalizeAdjacentParameters)(e);return(0,ct.pathToRegexp)(i,t,r)}catch(i){throw a}throw a}}function Oc(e,t){let r=(0,Me.hasAdjacentParameterIssues)(e),o=r?(0,Me.normalizeAdjacentParameters)(e):e;try{let n=(0,ct.compile)(o,t);return r?a=>(0,Me.stripNormalizedSeparators)(n(a)):n}catch(n){if(!r)try{let a=(0,Me.normalizeAdjacentParameters)(e),i=(0,ct.compile)(a,t);return c=>(0,Me.stripNormalizedSeparators)(i(c))}catch(a){throw n}throw n}}function Dc(e,t){let r=(0,ct.regexpToFunction)(e,t||[]);return o=>{let n=r(o);return n?w(l({},n),{params:(0,Me.stripParameterSeparators)(n.params)}):!1}}function Mc(e){return t=>{let r=e(t);return r?(0,Me.stripParameterSeparators)(r):!1}}});var Gr=L(Xr=>{"use strict";Object.defineProperty(Xr,"__esModule",{value:!0});Object.defineProperty(Xr,"getRouteMatcher",{enumerable:!0,get:function(){return kc}});var Lc=gt(),Fc=On();function kc({re:e,groups:t}){let r=o=>{let n=e.exec(o);if(!n)return!1;let a=c=>{try{return decodeURIComponent(c)}catch(s){throw Object.defineProperty(new Lc.DecodeError("failed to decode param"),"__NEXT_ERROR_CODE",{value:"E528",enumerable:!1,configurable:!0})}},i={};for(let[c,s]of Object.entries(t)){let u=n[s.pos];u!==void 0&&(s.repeat?i[c]=u.split("/").map(d=>a(d)):i[c]=a(u))}return i};return(0,Fc.safeRouteMatcher)(r)}});var Ln=L(Wr=>{"use strict";Object.defineProperty(Wr,"__esModule",{value:!0});function Bc(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}Bc(Wr,{ACTION_SUFFIX:function(){return Zc},APP_DIR_ALIAS:function(){return vu},CACHE_ONE_YEAR:function(){return cu},DOT_NEXT_ALIAS:function(){return gu},ESLINT_DEFAULT_DIRS:function(){return ku},GSP_NO_RETURNED_VALUE:function(){return Iu},GSSP_COMPONENT_MEMBER_ERROR:function(){return Mu},GSSP_NO_RETURNED_VALUE:function(){return Ou},HTML_CONTENT_TYPE_HEADER:function(){return jc},INFINITE_CACHE:function(){return uu},INSTRUMENTATION_HOOK_FILENAME:function(){return fu},JSON_CONTENT_TYPE_HEADER:function(){return Hc},MATCHED_PATH_HEADER:function(){return Vc},MIDDLEWARE_FILENAME:function(){return Dn},MIDDLEWARE_LOCATION_REGEXP:function(){return du},NEXT_BODY_SUFFIX:function(){return eu},NEXT_CACHE_IMPLICIT_TAG_ID:function(){return lu},NEXT_CACHE_REVALIDATED_TAGS_HEADER:function(){return ru},NEXT_CACHE_REVALIDATE_TAG_TOKEN_HEADER:function(){return ou},NEXT_CACHE_SOFT_TAG_MAX_LENGTH:function(){return su},NEXT_CACHE_TAGS_HEADER:function(){return tu},NEXT_CACHE_TAG_MAX_ITEMS:function(){return au},NEXT_CACHE_TAG_MAX_LENGTH:function(){return iu},NEXT_DATA_SUFFIX:function(){return Qc},NEXT_INTERCEPTION_MARKER_PREFIX:function(){return $c},NEXT_META_SUFFIX:function(){return Jc},NEXT_QUERY_PARAM_PREFIX:function(){return Uc},NEXT_RESUME_HEADER:function(){return nu},NON_STANDARD_NODE_ENV:function(){return Lu},PAGES_DIR_ALIAS:function(){return mu},PRERENDER_REVALIDATE_HEADER:function(){return Xc},PRERENDER_REVALIDATE_ONLY_GENERATED_HEADER:function(){return Gc},PROXY_FILENAME:function(){return Mn},PROXY_LOCATION_REGEXP:function(){return pu},PUBLIC_DIR_MIDDLEWARE_CONFLICT:function(){return Eu},ROOT_DIR_ALIAS:function(){return bu},RSC_ACTION_CLIENT_WRAPPER_ALIAS:function(){return Pu},RSC_ACTION_ENCRYPTION_ALIAS:function(){return Ru},RSC_ACTION_PROXY_ALIAS:function(){return Cu},RSC_ACTION_VALIDATE_ALIAS:function(){return xu},RSC_CACHE_WRAPPER_ALIAS:function(){return yu},RSC_DYNAMIC_IMPORT_WRAPPER_ALIAS:function(){return _u},RSC_MOD_REF_PROXY_ALIAS:function(){return hu},RSC_PREFETCH_SUFFIX:function(){return Wc},RSC_SEGMENTS_DIR_SUFFIX:function(){return qc},RSC_SEGMENT_SUFFIX:function(){return Yc},RSC_SUFFIX:function(){return Kc},SERVER_PROPS_EXPORT_ERROR:function(){return Au},SERVER_PROPS_GET_INIT_PROPS_CONFLICT:function(){return Nu},SERVER_PROPS_SSG_CONFLICT:function(){return Tu},SERVER_RUNTIME:function(){return Bu},SSG_FALLBACK_EXPORT_ERROR:function(){return Fu},SSG_GET_INITIAL_PROPS_CONFLICT:function(){return wu},STATIC_STATUS_PAGE_GET_INITIAL_PROPS_ERROR:function(){return Su},TEXT_PLAIN_CONTENT_TYPE_HEADER:function(){return zc},UNSTABLE_REVALIDATE_RENAME_ERROR:function(){return Du},WEBPACK_LAYERS:function(){return ju},WEBPACK_RESOURCE_QUERIES:function(){return Hu},WEB_SOCKET_MAX_RECONNECTIONS:function(){return zu}});var zc="text/plain",jc="text/html; charset=utf-8",Hc="application/json; charset=utf-8",Uc="nxtP",$c="nxtI",Vc="x-matched-path",Xc="x-prerender-revalidate",Gc="x-prerender-revalidate-if-generated",Wc=".prefetch.rsc",qc=".segments",Yc=".segment.rsc",Kc=".rsc",Zc=".action",Qc=".json",Jc=".meta",eu=".body",tu="x-next-cache-tags",ru="x-next-revalidated-tags",ou="x-next-revalidate-tag-token",nu="next-resume",au=128,iu=256,su=1024,lu="_N_T_",cu=31536e3,uu=4294967294,Dn="middleware",du=`(?:src/)?${Dn}`,Mn="proxy",pu=`(?:src/)?${Mn}`,fu="instrumentation",mu="private-next-pages",gu="private-dot-next",bu="private-next-root-dir",vu="private-next-app-dir",hu="private-next-rsc-mod-ref-proxy",xu="private-next-rsc-action-validate",Cu="private-next-rsc-server-reference",yu="private-next-rsc-cache-wrapper",_u="private-next-rsc-track-dynamic-import",Ru="private-next-rsc-action-encryption",Pu="private-next-rsc-action-client-wrapper",Eu="You can not have a '_next' folder inside of your public folder. This conflicts with the internal '/_next' route. https://nextjs.org/docs/messages/public-next-folder-conflict",wu="You can not use getInitialProps with getStaticProps. To use SSG, please remove your getInitialProps",Nu="You can not use getInitialProps with getServerSideProps. Please remove getInitialProps.",Tu="You can not use getStaticProps or getStaticPaths with getServerSideProps. To use SSG, please remove getServerSideProps",Su="can not have getInitialProps/getServerSideProps, https://nextjs.org/docs/messages/404-get-initial-props",Au="pages with `getServerSideProps` can not be exported. See more info here: https://nextjs.org/docs/messages/gssp-export",Iu="Your `getStaticProps` function did not return an object. Did you forget to add a `return`?",Ou="Your `getServerSideProps` function did not return an object. Did you forget to add a `return`?",Du="The `unstable_revalidate` property is available for general use.\nPlease use `revalidate` instead.",Mu="can not be attached to a page's component and must be exported from the page. See more info here: https://nextjs.org/docs/messages/gssp-component-member",Lu='You are using a non-standard "NODE_ENV" value in your environment. This creates inconsistencies in the project and is strongly advised against. Read more: https://nextjs.org/docs/messages/non-standard-node-env',Fu="Pages with `fallback` enabled in `getStaticPaths` can not be exported. See more info here: https://nextjs.org/docs/messages/ssg-fallback-true-export",ku=["app","pages","components","lib","src"],Bu={edge:"edge",experimentalEdge:"experimental-edge",nodejs:"nodejs"},zu=12,Z={shared:"shared",reactServerComponents:"rsc",serverSideRendering:"ssr",actionBrowser:"action-browser",apiNode:"api-node",apiEdge:"api-edge",middleware:"middleware",instrument:"instrument",edgeAsset:"edge-asset",appPagesBrowser:"app-pages-browser",pagesDirBrowser:"pages-dir-browser",pagesDirEdge:"pages-dir-edge",pagesDirNode:"pages-dir-node"},ju=w(l({},Z),{GROUP:{builtinReact:[Z.reactServerComponents,Z.actionBrowser],serverOnly:[Z.reactServerComponents,Z.actionBrowser,Z.instrument,Z.middleware],neutralTarget:[Z.apiNode,Z.apiEdge],clientOnly:[Z.serverSideRendering,Z.appPagesBrowser],bundled:[Z.reactServerComponents,Z.actionBrowser,Z.serverSideRendering,Z.appPagesBrowser,Z.shared,Z.instrument,Z.middleware],appPages:[Z.reactServerComponents,Z.serverSideRendering,Z.appPagesBrowser,Z.actionBrowser]}}),Hu={edgeSSREntry:"__next_edge_ssr_entry__",metadata:"__next_metadata__",metadataRoute:"__next_metadata_route__",metadataImageMeta:"__next_metadata_image_meta__"}});var Fn=L(qr=>{"use strict";Object.defineProperty(qr,"__esModule",{value:!0});Object.defineProperty(qr,"escapeStringRegexp",{enumerable:!0,get:function(){return Vu}});var Uu=/[|\\{}()[\]^$+*?.-]/,$u=/[|\\{}()[\]^$+*?.-]/g;function Vu(e){return Uu.test(e)?e.replace($u,"\\$&"):e}});var kn=L(Kr=>{"use strict";Object.defineProperty(Kr,"__esModule",{value:!0});Object.defineProperty(Kr,"InvariantError",{enumerable:!0,get:function(){return Yr}});var Yr=class extends Error{constructor(t,r){super(`Invariant: ${t.endsWith(".")?t:t+"."} This is a bug in Next.js.`,r),this.name="InvariantError"}}});var Bn=L(Zr=>{"use strict";Object.defineProperty(Zr,"__esModule",{value:!0});Object.defineProperty(Zr,"parseLoaderTree",{enumerable:!0,get:function(){return Gu}});var Xu=kr();function Gu(e){let[t,r,o]=e,{layout:n,template:a}=o,{page:i}=o;i=t===Xu.DEFAULT_SEGMENT_KEY?o.defaultPage:i;let c=(n==null?void 0:n[1])||(a==null?void 0:a[1])||(i==null?void 0:i[1]);return{page:i,segment:t,modules:o,conventionPath:c,parallelRoutes:r}}});var zn=L(Qr=>{"use strict";Object.defineProperty(Qr,"__esModule",{value:!0});function Wu(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}Wu(Qr,{getParamProperties:function(){return Zu},getSegmentParam:function(){return Yu},isCatchAll:function(){return Ku}});var qu=Ht();function Yu(e){let t=qu.INTERCEPTION_ROUTE_MARKERS.find(r=>e.startsWith(r));return t&&(e=e.slice(t.length)),e.startsWith("[[...")&&e.endsWith("]]")?{type:"optional-catchall",param:e.slice(5,-2)}:e.startsWith("[...")&&e.endsWith("]")?{type:t?`catchall-intercepted-${t}`:"catchall",param:e.slice(4,-1)}:e.startsWith("[")&&e.endsWith("]")?{type:t?`dynamic-intercepted-${t}`:"dynamic",param:e.slice(1,-1)}:null}function Ku(e){return e==="catchall"||e==="catchall-intercepted-(..)(..)"||e==="catchall-intercepted-(.)"||e==="catchall-intercepted-(..)"||e==="catchall-intercepted-(...)"||e==="optional-catchall"}function Zu(e){let t=!1,r=!1;switch(e){case"catchall":case"catchall-intercepted-(..)(..)":case"catchall-intercepted-(.)":case"catchall-intercepted-(..)":case"catchall-intercepted-(...)":t=!0;break;case"optional-catchall":t=!0,r=!0;break;case"dynamic":case"dynamic-intercepted-(..)(..)":case"dynamic-intercepted-(.)":case"dynamic-intercepted-(..)":case"dynamic-intercepted-(...)":break;default:}return{repeat:t,optional:r}}});var Hn=L(to=>{"use strict";Object.defineProperty(to,"__esModule",{value:!0});function Qu(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}Qu(to,{PARAMETER_PATTERN:function(){return jn},getDynamicParam:function(){return od},interpolateParallelRouteParams:function(){return rd},parseMatchedParameter:function(){return eo},parseParameter:function(){return nd}});var Ju=kn(),ed=Bn(),Jr=zn();function td(e,t,r){let o=e[t];if(r!=null&&r.has(t)){let[n]=r.get(t);o=n}else Array.isArray(o)?o=o.map(n=>encodeURIComponent(n)):typeof o=="string"&&(o=encodeURIComponent(o));return o}function rd(e,t,r,o){let n=structuredClone(t),a=[{tree:e,depth:0}],i=r.split("/").slice(1);for(;a.length>0;){let{tree:c,depth:s}=a.pop(),{segment:u,parallelRoutes:d}=(0,ed.parseLoaderTree)(c),b=(0,Jr.getSegmentParam)(u);if(b&&!n.hasOwnProperty(b.param)&&!(o!=null&&o.has(b.param)))switch(b.type){case"catchall":case"optional-catchall":case"catchall-intercepted-(..)(..)":case"catchall-intercepted-(.)":case"catchall-intercepted-(..)":case"catchall-intercepted-(...)":let f=i.slice(s).flatMap(m=>{let g=(0,Jr.getSegmentParam)(m);return g?n[g.param]:m}).filter(m=>m!==void 0);f.length>0&&(n[b.param]=f);break;case"dynamic":case"dynamic-intercepted-(..)(..)":case"dynamic-intercepted-(.)":case"dynamic-intercepted-(..)":case"dynamic-intercepted-(...)":if(s<i.length){let m=i[s],g=(0,Jr.getSegmentParam)(m);n[b.param]=g?n[g.param]:m}break;default:b.type}let h=s;!(u.startsWith("(")&&u.endsWith(")"))&&u!==""&&h++;for(let x of Object.values(d))a.push({tree:x,depth:h})}return n}function od(e,t,r,o){let n=td(e,t,o);if(!n||n.length===0){if(r==="oc")return{param:t,value:null,type:r,treeSegment:[t,"",r]};throw Object.defineProperty(new Ju.InvariantError(`Missing value for segment key: "${t}" with dynamic param type: ${r}`),"__NEXT_ERROR_CODE",{value:"E864",enumerable:!1,configurable:!0})}return{param:t,value:n,treeSegment:[t,Array.isArray(n)?n.join("/"):n,r],type:r}}var jn=/^([^[]*)\[((?:\[[^\]]*\])|[^\]]+)\](.*)$/;function nd(e){let t=e.match(jn);return eo(t?t[2]:e)}function eo(e){let t=e.startsWith("[")&&e.endsWith("]");t&&(e=e.slice(1,-1));let r=e.startsWith("...");return r&&(e=e.slice(3)),{key:e,repeat:r,optional:t}}});var no=L(oo=>{"use strict";Object.defineProperty(oo,"__esModule",{value:!0});function ad(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}ad(oo,{getNamedMiddlewareRegex:function(){return ld},getNamedRouteRegex:function(){return sd},getRouteRegex:function(){return Gn}});var ro=Ln(),$n=Ht(),Xe=Fn(),Vn=Nr(),ht=Hn();function Xn(e,t,r){let o={},n=1,a=[];for(let i of(0,Vn.removeTrailingSlash)(e).slice(1).split("/")){let c=$n.INTERCEPTION_ROUTE_MARKERS.find(u=>i.startsWith(u)),s=i.match(ht.PARAMETER_PATTERN);if(c&&s&&s[2]){let{key:u,optional:d,repeat:b}=(0,ht.parseMatchedParameter)(s[2]);o[u]={pos:n++,repeat:b,optional:d},a.push(`/${(0,Xe.escapeStringRegexp)(c)}([^/]+?)`)}else if(s&&s[2]){let{key:u,repeat:d,optional:b}=(0,ht.parseMatchedParameter)(s[2]);o[u]={pos:n++,repeat:d,optional:b},r&&s[1]&&a.push(`/${(0,Xe.escapeStringRegexp)(s[1])}`);let h=d?b?"(?:/(.+?))?":"/(.+?)":"/([^/]+?)";r&&s[1]&&(h=h.substring(1)),a.push(h)}else a.push(`/${(0,Xe.escapeStringRegexp)(i)}`);t&&s&&s[3]&&a.push((0,Xe.escapeStringRegexp)(s[3]))}return{parameterizedRoute:a.join(""),groups:o}}function Gn(e,{includeSuffix:t=!1,includePrefix:r=!1,excludeOptionalTrailingSlash:o=!1}={}){let{parameterizedRoute:n,groups:a}=Xn(e,t,r),i=n;return o||(i+="(?:/)?"),{re:new RegExp(`^${i}$`),groups:a}}function id(){let e=0;return()=>{let t="",r=++e;for(;r>0;)t+=String.fromCharCode(97+(r-1)%26),r=Math.floor((r-1)/26);return t}}function Un({interceptionMarker:e,getSafeRouteKey:t,segment:r,routeKeys:o,keyPrefix:n,backreferenceDuplicateKeys:a}){let{key:i,optional:c,repeat:s}=(0,ht.parseMatchedParameter)(r),u=i.replace(/\W/g,"");n&&(u=`${n}${u}`);let d=!1;(u.length===0||u.length>30)&&(d=!0),isNaN(parseInt(u.slice(0,1)))||(d=!0),d&&(u=t());let b=u in o;n?o[u]=`${n}${i}`:o[u]=i;let h=e?(0,Xe.escapeStringRegexp)(e):"",C;return b&&a?C=`\\k<${u}>`:s?C=`(?<${u}>.+?)`:C=`(?<${u}>[^/]+?)`,{key:i,pattern:c?`(?:/${h}${C})?`:`/${h}${C}`,cleanedKey:u,optional:c,repeat:s}}function Wn(e,t,r,o,n,a={names:{},intercepted:{}}){var d,b,h,C,x,f;let i=id(),c={},s=[],u=[];a=structuredClone(a);for(let m of(0,Vn.removeTrailingSlash)(e).slice(1).split("/")){let g=$n.INTERCEPTION_ROUTE_MARKERS.some(P=>m.startsWith(P)),y=m.match(ht.PARAMETER_PATTERN),R=g?y==null?void 0:y[1]:void 0,_;if(R&&(y!=null&&y[2])?(_=t?ro.NEXT_INTERCEPTION_MARKER_PREFIX:void 0,a.intercepted[y[2]]=R):y!=null&&y[2]&&a.intercepted[y[2]]?_=t?ro.NEXT_INTERCEPTION_MARKER_PREFIX:void 0:_=t?ro.NEXT_QUERY_PARAM_PREFIX:void 0,R&&y&&y[2]){let{key:P,pattern:E,cleanedKey:B,repeat:F,optional:O}=Un({getSafeRouteKey:i,interceptionMarker:R,segment:y[2],routeKeys:c,keyPrefix:_,backreferenceDuplicateKeys:n});s.push(E),u.push(`/${y[1]}:${(d=a.names[P])!=null?d:B}${F?O?"*":"+":""}`),(h=(b=a.names)[P])!=null||(b[P]=B)}else if(y&&y[2]){o&&y[1]&&(s.push(`/${(0,Xe.escapeStringRegexp)(y[1])}`),u.push(`/${y[1]}`));let{key:P,pattern:E,cleanedKey:B,repeat:F,optional:O}=Un({getSafeRouteKey:i,segment:y[2],routeKeys:c,keyPrefix:_,backreferenceDuplicateKeys:n}),I=E;o&&y[1]&&(I=I.substring(1)),s.push(I),u.push(`/:${(C=a.names[P])!=null?C:B}${F?O?"*":"+":""}`),(f=(x=a.names)[P])!=null||(x[P]=B)}else s.push(`/${(0,Xe.escapeStringRegexp)(m)}`),u.push(`/${m}`);r&&y&&y[3]&&(s.push((0,Xe.escapeStringRegexp)(y[3])),u.push(y[3]))}return{namedParameterizedRoute:s.join(""),routeKeys:c,pathToRegexpPattern:u.join(""),reference:a}}function sd(e,t){var n,a,i;let r=Wn(e,t.prefixRouteKeys,(n=t.includeSuffix)!=null?n:!1,(a=t.includePrefix)!=null?a:!1,(i=t.backreferenceDuplicateKeys)!=null?i:!1,t.reference),o=r.namedParameterizedRoute;return t.excludeOptionalTrailingSlash||(o+="(?:/)?"),w(l({},Gn(e,t)),{namedRegex:`^${o}$`,routeKeys:r.routeKeys,pathToRegexpPattern:r.pathToRegexpPattern,reference:r.reference})}function ld(e,t){let{parameterizedRoute:r}=Xn(e,!1,!1),{catchAll:o=!0}=t;if(r==="/")return{namedRegex:`^/${o?".*":""}$`};let{namedParameterizedRoute:n}=Wn(e,!1,!1,!1,!1,void 0);return{namedRegex:`^${n}${o?"(?:(/.*)?)":""}$`}}});var qn=L(ao=>{"use strict";Object.defineProperty(ao,"__esModule",{value:!0});Object.defineProperty(ao,"interpolateAs",{enumerable:!0,get:function(){return dd}});var cd=Gr(),ud=no();function dd(e,t,r){let o="",n=(0,ud.getRouteRegex)(e),a=n.groups,i=(t!==e?(0,cd.getRouteMatcher)(n)(t):"")||r;o=e;let c=Object.keys(a);return c.every(s=>{let u=i[s]||"",{repeat:d,optional:b}=a[s],h=`[${d?"...":""}${s}]`;return b&&(h=`${u?"":"/"}[${h}]`),d&&!Array.isArray(u)&&(u=[u]),(b||s in i)&&(o=o.replace(h,d?u.map(C=>encodeURIComponent(C)).join("/"):encodeURIComponent(u))||"/")})||(o=""),{params:c,result:o}}});var Qn=L((he,Zn)=>{"use strict";Object.defineProperty(he,"__esModule",{value:!0});Object.defineProperty(he,"resolveHref",{enumerable:!0,get:function(){return Cd}});var pd=br(),Yn=hr(),fd=ln(),md=gt(),gd=bt(),bd=Or(),Kn=Tn(),vd=qn(),hd=no(),xd=Gr();function Cd(e,t,r){let o,n=typeof t=="string"?t:(0,Yn.formatWithValidation)(t),a=n.match(/^[a-z][a-z0-9+.-]*:\/\//i),i=a?n.slice(a[0].length):n;if((i.split("?",1)[0]||"").match(/(\/\/|\\)/)){console.error(`Invalid href '${n}' passed to next/router in page: '${e.pathname}'. Repeated forward-slashes (//) or backslashes \\ are not valid in the href.`);let s=(0,md.normalizeRepeatedSlashes)(i);n=(a?a[0]:"")+s}if(!(0,bd.isLocalURL)(n))return r?[n]:n;try{let s=n.startsWith("#")?e.asPath:e.pathname;if(n.startsWith("?")&&(s=e.asPath,(0,Kn.isDynamicRoute)(e.pathname))){s=e.pathname;let u=(0,hd.getRouteRegex)(e.pathname);(0,xd.getRouteMatcher)(u)(e.asPath)||(s=e.asPath)}o=new URL(s,"http://n")}catch(s){o=new URL("/","http://n")}try{let s=new URL(n,o);s.pathname=(0,gd.normalizePathTrailingSlash)(s.pathname);let u="";if((0,Kn.isDynamicRoute)(s.pathname)&&s.searchParams&&r){let b=(0,pd.searchParamsToUrlQuery)(s.searchParams),{result:h,params:C}=(0,vd.interpolateAs)(s.pathname,s.pathname,b);h&&(u=(0,Yn.formatWithValidation)({pathname:h,hash:s.hash,query:(0,fd.omit)(b,C)}))}let d=s.origin===o.origin?s.href.slice(s.origin.length):s.href;return r?[d,u||d]:d}catch(s){return r?[n]:n}}(typeof he.default=="function"||typeof he.default=="object"&&he.default!==null)&&typeof he.default.__esModule=="undefined"&&(Object.defineProperty(he.default,"__esModule",{value:!0}),Object.assign(he.default,he),Zn.exports=he.default)});var so=L(io=>{"use strict";Object.defineProperty(io,"__esModule",{value:!0});Object.defineProperty(io,"addPathPrefix",{enumerable:!0,get:function(){return _d}});var yd=jt();function _d(e,t){if(!e.startsWith("/")||!t)return e;let{pathname:r,query:o,hash:n}=(0,yd.parsePath)(e);return`${t}${r}${o}${n}`}});var ea=L(lo=>{"use strict";Object.defineProperty(lo,"__esModule",{value:!0});Object.defineProperty(lo,"addLocale",{enumerable:!0,get:function(){return Pd}});var Rd=so(),Jn=Ar();function Pd(e,t,r,o){if(!t||t===r)return e;let n=e.toLowerCase();return!o&&((0,Jn.pathHasPrefix)(n,"/api")||(0,Jn.pathHasPrefix)(n,`/${t.toLowerCase()}`))?e:(0,Rd.addPathPrefix)(e,`/${t}`)}});var ra=L((xe,ta)=>{"use strict";Object.defineProperty(xe,"__esModule",{value:!0});Object.defineProperty(xe,"addLocale",{enumerable:!0,get:function(){return wd}});var Ed=bt(),wd=(e,...t)=>process.env.__NEXT_I18N_SUPPORT?(0,Ed.normalizePathTrailingSlash)(ea().addLocale(e,...t)):e;(typeof xe.default=="function"||typeof xe.default=="object"&&xe.default!==null)&&typeof xe.default.__esModule=="undefined"&&(Object.defineProperty(xe.default,"__esModule",{value:!0}),Object.assign(xe.default,xe),ta.exports=xe.default)});var na=L(oa=>{"use strict";function Nd(e){return e&&e.__esModule?e:{default:e}}oa._=Nd});var ia=L(co=>{"use strict";Object.defineProperty(co,"__esModule",{value:!0});Object.defineProperty(co,"RouterContext",{enumerable:!0,get:function(){return aa}});var Td=na(),Sd=Td._(dt("react")),aa=Sd.default.createContext(null);process.env.NODE_ENV!=="production"&&(aa.displayName="RouterContext")});var la=L((Ce,sa)=>{"use strict";Object.defineProperty(Ce,"__esModule",{value:!0});function Ad(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}Ad(Ce,{cancelIdleCallback:function(){return Od},requestIdleCallback:function(){return Id}});var Id=typeof self!="undefined"&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(e){let t=Date.now();return self.setTimeout(function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})},1)},Od=typeof self!="undefined"&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(e){return clearTimeout(e)};(typeof Ce.default=="function"||typeof Ce.default=="object"&&Ce.default!==null)&&typeof Ce.default.__esModule=="undefined"&&(Object.defineProperty(Ce.default,"__esModule",{value:!0}),Object.assign(Ce.default,Ce),sa.exports=Ce.default)});var pa=L((ye,da)=>{"use strict";Object.defineProperty(ye,"__esModule",{value:!0});Object.defineProperty(ye,"useIntersection",{enumerable:!0,get:function(){return Ld}});var xt=dt("react"),ca=la(),ua=typeof IntersectionObserver=="function",uo=new Map,Ut=[];function Dd(e){let t={root:e.root||null,margin:e.rootMargin||""},r=Ut.find(i=>i.root===t.root&&i.margin===t.margin),o;if(r&&(o=uo.get(r),o))return o;let n=new Map,a=new IntersectionObserver(i=>{i.forEach(c=>{let s=n.get(c.target),u=c.isIntersecting||c.intersectionRatio>0;s&&u&&s(u)})},e);return o={id:t,observer:a,elements:n},Ut.push(t),uo.set(t,o),o}function Md(e,t,r){let{id:o,observer:n,elements:a}=Dd(r);return a.set(e,t),n.observe(e),function(){if(a.delete(e),n.unobserve(e),a.size===0){n.disconnect(),uo.delete(o);let c=Ut.findIndex(s=>s.root===o.root&&s.margin===o.margin);c>-1&&Ut.splice(c,1)}}}function Ld({rootRef:e,rootMargin:t,disabled:r}){let o=r||!ua,[n,a]=(0,xt.useState)(!1),i=(0,xt.useRef)(null),c=(0,xt.useCallback)(u=>{i.current=u},[]);(0,xt.useEffect)(()=>{if(ua){if(o||n)return;let u=i.current;if(u&&u.tagName)return Md(u,b=>b&&a(b),{root:e==null?void 0:e.current,rootMargin:t})}else if(!n){let u=(0,ca.requestIdleCallback)(()=>a(!0));return()=>(0,ca.cancelIdleCallback)(u)}},[o,t,e,n,i.current]);let s=(0,xt.useCallback)(()=>{a(!1)},[]);return[c,n,s]}(typeof ye.default=="function"||typeof ye.default=="object"&&ye.default!==null)&&typeof ye.default.__esModule=="undefined"&&(Object.defineProperty(ye.default,"__esModule",{value:!0}),Object.assign(ye.default,ye),da.exports=ye.default)});var ma=L(po=>{"use strict";Object.defineProperty(po,"__esModule",{value:!0});Object.defineProperty(po,"normalizeLocalePath",{enumerable:!0,get:function(){return Fd}});var fa=new WeakMap;function Fd(e,t){if(!t)return{pathname:e};let r=fa.get(t);r||(r=t.map(c=>c.toLowerCase()),fa.set(t,r));let o,n=e.split("/",2);if(!n[1])return{pathname:e};let a=n[1].toLowerCase(),i=r.indexOf(a);return i<0?{pathname:e}:(o=t[i],e=e.slice(o.length+1)||"/",{pathname:e,detectedLocale:o})}});var ba=L((_e,ga)=>{"use strict";Object.defineProperty(_e,"__esModule",{value:!0});Object.defineProperty(_e,"normalizeLocalePath",{enumerable:!0,get:function(){return kd}});var kd=(e,t)=>process.env.__NEXT_I18N_SUPPORT?ma().normalizeLocalePath(e,t):{pathname:e,detectedLocale:void 0};(typeof _e.default=="function"||typeof _e.default=="object"&&_e.default!==null)&&typeof _e.default.__esModule=="undefined"&&(Object.defineProperty(_e.default,"__esModule",{value:!0}),Object.assign(_e.default,_e),ga.exports=_e.default)});var va=L(fo=>{"use strict";Object.defineProperty(fo,"__esModule",{value:!0});Object.defineProperty(fo,"detectDomainLocale",{enumerable:!0,get:function(){return Bd}});function Bd(e,t,r){var o,n;if(e){r&&(r=r.toLowerCase());for(let a of e){let i=(o=a.domain)==null?void 0:o.split(":",1)[0].toLowerCase();if(t===i||r===a.defaultLocale.toLowerCase()||(n=a.locales)!=null&&n.some(c=>c.toLowerCase()===r))return a}}}});var xa=L((Re,ha)=>{"use strict";Object.defineProperty(Re,"__esModule",{value:!0});Object.defineProperty(Re,"detectDomainLocale",{enumerable:!0,get:function(){return zd}});var zd=(...e)=>{if(process.env.__NEXT_I18N_SUPPORT)return va().detectDomainLocale(...e)};(typeof Re.default=="function"||typeof Re.default=="object"&&Re.default!==null)&&typeof Re.default.__esModule=="undefined"&&(Object.defineProperty(Re.default,"__esModule",{value:!0}),Object.assign(Re.default,Re),ha.exports=Re.default)});var ya=L((Pe,Ca)=>{"use strict";Object.defineProperty(Pe,"__esModule",{value:!0});Object.defineProperty(Pe,"getDomainLocale",{enumerable:!0,get:function(){return Ud}});var jd=bt(),Hd=process.env.__NEXT_ROUTER_BASEPATH||"";function Ud(e,t,r,o){if(process.env.__NEXT_I18N_SUPPORT){let n=ba().normalizeLocalePath,a=xa().detectDomainLocale,i=t||n(e,r).detectedLocale,c=a(o,void 0,i);if(c){let s=`http${c.http?"":"s"}://`,u=i===c.defaultLocale?"":`/${i}`;return`${s}${c.domain}${(0,jd.normalizePathTrailingSlash)(`${Hd}${u}${e}`)}`}return!1}else return!1}(typeof Pe.default=="function"||typeof Pe.default=="object"&&Pe.default!==null)&&typeof Pe.default.__esModule=="undefined"&&(Object.defineProperty(Pe.default,"__esModule",{value:!0}),Object.assign(Pe.default,Pe),Ca.exports=Pe.default)});var Ra=L((Ee,_a)=>{"use strict";Object.defineProperty(Ee,"__esModule",{value:!0});Object.defineProperty(Ee,"addBasePath",{enumerable:!0,get:function(){return Gd}});var $d=so(),Vd=bt(),Xd=process.env.__NEXT_ROUTER_BASEPATH||"";function Gd(e,t){return(0,Vd.normalizePathTrailingSlash)(process.env.__NEXT_MANUAL_CLIENT_BASE_PATH&&!t?e:(0,$d.addPathPrefix)(e,Xd))}(typeof Ee.default=="function"||typeof Ee.default=="object"&&Ee.default!==null)&&typeof Ee.default.__esModule=="undefined"&&(Object.defineProperty(Ee.default,"__esModule",{value:!0}),Object.assign(Ee.default,Ee),_a.exports=Ee.default)});var wa=L((we,Ea)=>{"use strict";Object.defineProperty(we,"__esModule",{value:!0});Object.defineProperty(we,"useMergedRef",{enumerable:!0,get:function(){return Wd}});var mo=dt("react");function Wd(e,t){let r=(0,mo.useRef)(null),o=(0,mo.useRef)(null);return(0,mo.useCallback)(n=>{if(n===null){let a=r.current;a&&(r.current=null,a());let i=o.current;i&&(o.current=null,i())}else e&&(r.current=Pa(e,n)),t&&(o.current=Pa(t,n))},[e,t])}function Pa(e,t){if(typeof e=="function"){let r=e(t);return typeof r=="function"?r:()=>e(null)}else return e.current=t,()=>{e.current=null}}(typeof we.default=="function"||typeof we.default=="object"&&we.default!==null)&&typeof we.default.__esModule=="undefined"&&(Object.defineProperty(we.default,"__esModule",{value:!0}),Object.assign(we.default,we),Ea.exports=we.default)});var Ta=L(go=>{"use strict";Object.defineProperty(go,"__esModule",{value:!0});Object.defineProperty(go,"errorOnce",{enumerable:!0,get:function(){return Na}});var Na=e=>{};if(process.env.NODE_ENV!=="production"){let e=new Set;Na=t=>{e.has(t)||console.error(t),e.add(t)}}});var La=L((Ne,Ma)=>{"use strict";"use client";Object.defineProperty(Ne,"__esModule",{value:!0});function qd(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}qd(Ne,{default:function(){return up},useLinkStatus:function(){return cp}});var Yd=mr(),Sa=dt("react/jsx-runtime"),ge=Yd._(dt("react")),Aa=Qn(),Da=Or(),Kd=hr(),Zd=gt(),Qd=ra(),Jd=ia(),ep=pa(),tp=ya(),rp=Ra(),op=wa(),np=Ta(),Ia=new Set;function bo(e,t,r,o){if(typeof window!="undefined"&&(0,Da.isLocalURL)(t)){if(!o.bypassPrefetchedCheck){let n=typeof o.locale!="undefined"?o.locale:"locale"in e?e.locale:void 0,a=t+"%"+r+"%"+n;if(Ia.has(a))return;Ia.add(a)}e.prefetch(t,r,o).catch(n=>{if(process.env.NODE_ENV!=="production")throw n})}}function ap(e){let r=e.currentTarget.getAttribute("target");return r&&r!=="_self"||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&e.nativeEvent.which===2}function ip(e,t,r,o,n,a,i,c,s){let{nodeName:u}=e.currentTarget;if(u.toUpperCase()==="A"&&ap(e)||e.currentTarget.hasAttribute("download"))return;if(!(0,Da.isLocalURL)(r)){n&&(e.preventDefault(),location.replace(r));return}e.preventDefault(),(()=>{if(s){let C=!1;if(s({preventDefault:()=>{C=!0}}),C)return}let h=i!=null?i:!0;"beforePopState"in t?t[n?"replace":"push"](r,o,{shallow:a,locale:c,scroll:h}):t[n?"replace":"push"](o||r,{scroll:h})})()}function Oa(e){return typeof e=="string"?e:(0,Kd.formatUrl)(e)}var sp=ge.default.forwardRef(function(t,r){let o,te=t,{href:n,as:a,children:i,prefetch:c=null,passHref:s,replace:u,shallow:d,scroll:b,locale:h,onClick:C,onNavigate:x,onMouseEnter:f,onTouchStart:m,legacyBehavior:g=!1}=te,y=v(te,["href","as","children","prefetch","passHref","replace","shallow","scroll","locale","onClick","onNavigate","onMouseEnter","onTouchStart","legacyBehavior"]);o=i,g&&(typeof o=="string"||typeof o=="number")&&(o=(0,Sa.jsx)("a",{children:o}));let R=ge.default.useContext(Jd.RouterContext),_=c!==!1;if(process.env.NODE_ENV!=="production"){let k=function(M){return Object.defineProperty(new Error(`Failed prop type: The prop \`${M.key}\` expects a ${M.expected} in \`<Link>\`, but got \`${M.actual}\` instead.`+(typeof window!="undefined"?`
2
+ Open your browser's console to view the Component stack trace.`:"")),"__NEXT_ERROR_CODE",{value:"E319",enumerable:!1,configurable:!0})};Object.keys({href:!0}).forEach(M=>{if(M==="href"){if(t[M]==null||typeof t[M]!="string"&&typeof t[M]!="object")throw k({key:M,expected:"`string` or `object`",actual:t[M]===null?"null":typeof t[M]})}else{let X=M}}),Object.keys({as:!0,replace:!0,scroll:!0,shallow:!0,passHref:!0,prefetch:!0,locale:!0,onClick:!0,onMouseEnter:!0,onTouchStart:!0,legacyBehavior:!0,onNavigate:!0}).forEach(M=>{let X=typeof t[M];if(M==="as"){if(t[M]&&X!=="string"&&X!=="object")throw k({key:M,expected:"`string` or `object`",actual:X})}else if(M==="locale"){if(t[M]&&X!=="string")throw k({key:M,expected:"`string`",actual:X})}else if(M==="onClick"||M==="onMouseEnter"||M==="onTouchStart"||M==="onNavigate"){if(t[M]&&X!=="function")throw k({key:M,expected:"`function`",actual:X})}else if(M==="replace"||M==="scroll"||M==="shallow"||M==="passHref"||M==="legacyBehavior"){if(t[M]!=null&&X!=="boolean")throw k({key:M,expected:"`boolean`",actual:X})}else if(M==="prefetch"){if(t[M]!=null&&X!=="boolean"&&t[M]!=="auto")throw k({key:M,expected:'`boolean | "auto"`',actual:X})}else{let J=M}})}let{href:P,as:E}=ge.default.useMemo(()=>{if(!R){let ae=Oa(n);return{href:ae,as:a?Oa(a):ae}}let[k,j]=(0,Aa.resolveHref)(R,n,!0);return{href:k,as:a?(0,Aa.resolveHref)(R,a):j||k}},[R,n,a]),B=ge.default.useRef(P),F=ge.default.useRef(E),O;if(g)if(process.env.NODE_ENV==="development"){C&&console.warn(`"onClick" was passed to <Link> with \`href\` of \`${n}\` but "legacyBehavior" was set. The legacy behavior requires onClick be set on the child of next/link`),f&&console.warn(`"onMouseEnter" was passed to <Link> with \`href\` of \`${n}\` but "legacyBehavior" was set. The legacy behavior requires onMouseEnter be set on the child of next/link`);try{O=ge.default.Children.only(o)}catch(k){throw o?Object.defineProperty(new Error(`Multiple children were passed to <Link> with \`href\` of \`${n}\` but only one child is supported https://nextjs.org/docs/messages/link-multiple-children`+(typeof window!="undefined"?`
3
+ Open your browser's console to view the Component stack trace.`:"")),"__NEXT_ERROR_CODE",{value:"E266",enumerable:!1,configurable:!0}):Object.defineProperty(new Error(`No children were passed to <Link> with \`href\` of \`${n}\` but one child is required https://nextjs.org/docs/messages/link-no-children`),"__NEXT_ERROR_CODE",{value:"E320",enumerable:!1,configurable:!0})}}else O=ge.default.Children.only(o);else if(process.env.NODE_ENV==="development"&&(o==null?void 0:o.type)==="a")throw Object.defineProperty(new Error(`Invalid <Link> with <a> child. Please remove <a> or use <Link legacyBehavior>.
4
+ Learn more: https://nextjs.org/docs/messages/invalid-new-link-with-extra-anchor`),"__NEXT_ERROR_CODE",{value:"E209",enumerable:!1,configurable:!0});let I=g?O&&typeof O=="object"&&O.ref:r,[V,D,ne]=(0,ep.useIntersection)({rootMargin:"200px"}),Q=ge.default.useCallback(k=>{(F.current!==E||B.current!==P)&&(ne(),F.current=E,B.current=P),V(k)},[E,P,ne,V]),q=(0,op.useMergedRef)(Q,I);ge.default.useEffect(()=>{process.env.NODE_ENV==="production"&&R&&(!D||!_||bo(R,P,E,{locale:h}))},[E,P,D,h,_,R==null?void 0:R.locale,R]);let $={ref:q,onClick(k){if(process.env.NODE_ENV!=="production"&&!k)throw Object.defineProperty(new Error('Component rendered inside next/link has to pass click event to "onClick" prop.'),"__NEXT_ERROR_CODE",{value:"E312",enumerable:!1,configurable:!0});!g&&typeof C=="function"&&C(k),g&&O.props&&typeof O.props.onClick=="function"&&O.props.onClick(k),R&&(k.defaultPrevented||ip(k,R,P,E,u,d,b,h,x))},onMouseEnter(k){!g&&typeof f=="function"&&f(k),g&&O.props&&typeof O.props.onMouseEnter=="function"&&O.props.onMouseEnter(k),R&&bo(R,P,E,{locale:h,priority:!0,bypassPrefetchedCheck:!0})},onTouchStart:process.env.__NEXT_LINK_NO_TOUCH_START?void 0:function(j){!g&&typeof m=="function"&&m(j),g&&O.props&&typeof O.props.onTouchStart=="function"&&O.props.onTouchStart(j),R&&bo(R,P,E,{locale:h,priority:!0,bypassPrefetchedCheck:!0})}};if((0,Zd.isAbsoluteUrl)(E))$.href=E;else if(!g||s||O.type==="a"&&!("href"in O.props)){let k=typeof h!="undefined"?h:R==null?void 0:R.locale,j=(R==null?void 0:R.isLocaleDomain)&&(0,tp.getDomainLocale)(E,k,R==null?void 0:R.locales,R==null?void 0:R.domainLocales);$.href=j||(0,rp.addBasePath)((0,Qd.addLocale)(E,k,R==null?void 0:R.defaultLocale))}return g?(process.env.NODE_ENV==="development"&&(0,np.errorOnce)(`\`legacyBehavior\` is deprecated and will be removed in a future release. A codemod is available to upgrade your components:
5
+
6
+ npx @next/codemod@latest new-link .
7
+
8
+ Learn more: https://nextjs.org/docs/app/building-your-application/upgrading/codemods#remove-a-tags-from-link-components`),ge.default.cloneElement(O,$)):(0,Sa.jsx)("a",w(l(l({},y),$),{children:o}))}),lp=(0,ge.createContext)({pending:!1}),cp=()=>(0,ge.useContext)(lp),up=sp;(typeof Ne.default=="function"||typeof Ne.default=="object"&&Ne.default!==null)&&typeof Ne.default.__esModule=="undefined"&&(Object.defineProperty(Ne.default,"__esModule",{value:!0}),Object.assign(Ne.default,Ne),Ma.exports=Ne.default)});var ka=L((r3,Fa)=>{"use strict";Fa.exports=La()});import{Slot as Si}from"@radix-ui/react-slot";function yo(e){var t,r,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e)){var n=e.length;for(t=0;t<n;t++)e[t]&&(r=yo(e[t]))&&(o&&(o+=" "),o+=r)}else for(r in e)e[r]&&(o&&(o+=" "),o+=r);return o}function Rt(){for(var e,t,r=0,o="",n=arguments.length;r<n;r++)(e=arguments[r])&&(t=yo(e))&&(o&&(o+=" "),o+=t);return o}var _o=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,Ro=Rt,U=(e,t)=>r=>{var o;if((t==null?void 0:t.variants)==null)return Ro(e,r==null?void 0:r.class,r==null?void 0:r.className);let{variants:n,defaultVariants:a}=t,i=Object.keys(n).map(u=>{let d=r==null?void 0:r[u],b=a==null?void 0:a[u];if(d===null)return null;let h=_o(d)||_o(b);return n[u][h]}),c=r&&Object.entries(r).reduce((u,d)=>{let[b,h]=d;return h===void 0||(u[b]=h),u},{}),s=t==null||(o=t.compoundVariants)===null||o===void 0?void 0:o.reduce((u,d)=>{let x=d,{class:b,className:h}=x,C=v(x,["class","className"]);return Object.entries(C).every(f=>{let[m,g]=f;return Array.isArray(g)?g.includes(l(l({},a),c)[m]):l(l({},a),c)[m]===g})?[...u,b,h]:u},[]);return Ro(e,i,s,r==null?void 0:r.class,r==null?void 0:r.className)};var Ya=e=>{let t=Za(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:i=>{let c=i.split("-");return c[0]===""&&c.length!==1&&c.shift(),wo(c,t)||Ka(i)},getConflictingClassGroupIds:(i,c)=>{let s=r[i]||[];return c&&o[i]?[...s,...o[i]]:s}}},wo=(e,t)=>{var i;if(e.length===0)return t.classGroupId;let r=e[0],o=t.nextPart.get(r),n=o?wo(e.slice(1),o):void 0;if(n)return n;if(t.validators.length===0)return;let a=e.join("-");return(i=t.validators.find(({validator:c})=>c(a)))==null?void 0:i.classGroupId},Po=/^\[(.+)\]$/,Ka=e=>{if(Po.test(e)){let t=Po.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},Za=e=>{let{theme:t,prefix:r}=e,o={nextPart:new Map,validators:[]};return Ja(Object.entries(e.classGroups),r).forEach(([a,i])=>{qt(i,o,a,t)}),o},qt=(e,t,r,o)=>{e.forEach(n=>{if(typeof n=="string"){let a=n===""?t:Eo(t,n);a.classGroupId=r;return}if(typeof n=="function"){if(Qa(n)){qt(n(o),t,r,o);return}t.validators.push({validator:n,classGroupId:r});return}Object.entries(n).forEach(([a,i])=>{qt(i,Eo(t,a),r,o)})})},Eo=(e,t)=>{let r=e;return t.split("-").forEach(o=>{r.nextPart.has(o)||r.nextPart.set(o,{nextPart:new Map,validators:[]}),r=r.nextPart.get(o)}),r},Qa=e=>e.isThemeGetter,Ja=(e,t)=>t?e.map(([r,o])=>{let n=o.map(a=>typeof a=="string"?t+a:typeof a=="object"?Object.fromEntries(Object.entries(a).map(([i,c])=>[t+i,c])):a);return[r,n]}):e,ei=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,o=new Map,n=(a,i)=>{r.set(a,i),t++,t>e&&(t=0,o=r,r=new Map)};return{get(a){let i=r.get(a);if(i!==void 0)return i;if((i=o.get(a))!==void 0)return n(a,i),i},set(a,i){r.has(a)?r.set(a,i):n(a,i)}}};var ti=e=>{let{separator:t,experimentalParseClassName:r}=e,o=t.length===1,n=t[0],a=t.length,i=c=>{let s=[],u=0,d=0,b;for(let m=0;m<c.length;m++){let g=c[m];if(u===0){if(g===n&&(o||c.slice(m,m+a)===t)){s.push(c.slice(d,m)),d=m+a;continue}if(g==="/"){b=m;continue}}g==="["?u++:g==="]"&&u--}let h=s.length===0?c:c.substring(d),C=h.startsWith("!"),x=C?h.substring(1):h,f=b&&b>d?b-d:void 0;return{modifiers:s,hasImportantModifier:C,baseClassName:x,maybePostfixModifierPosition:f}};return r?c=>r({className:c,parseClassName:i}):i},ri=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(o=>{o[0]==="["?(t.push(...r.sort(),o),r=[]):r.push(o)}),t.push(...r.sort()),t},oi=e=>l({cache:ei(e.cacheSize),parseClassName:ti(e)},Ya(e)),ni=/\s+/,ai=(e,t)=>{let{parseClassName:r,getClassGroupId:o,getConflictingClassGroupIds:n}=t,a=[],i=e.trim().split(ni),c="";for(let s=i.length-1;s>=0;s-=1){let u=i[s],{modifiers:d,hasImportantModifier:b,baseClassName:h,maybePostfixModifierPosition:C}=r(u),x=!!C,f=o(x?h.substring(0,C):h);if(!f){if(!x){c=u+(c.length>0?" "+c:c);continue}if(f=o(h),!f){c=u+(c.length>0?" "+c:c);continue}x=!1}let m=ri(d).join(":"),g=b?m+"!":m,y=g+f;if(a.includes(y))continue;a.push(y);let R=n(f,x);for(let _=0;_<R.length;++_){let P=R[_];a.push(g+P)}c=u+(c.length>0?" "+c:c)}return c};function ii(){let e=0,t,r,o="";for(;e<arguments.length;)(t=arguments[e++])&&(r=No(t))&&(o&&(o+=" "),o+=r);return o}var No=e=>{if(typeof e=="string")return e;let t,r="";for(let o=0;o<e.length;o++)e[o]&&(t=No(e[o]))&&(r&&(r+=" "),r+=t);return r};function si(e,...t){let r,o,n,a=i;function i(s){let u=t.reduce((d,b)=>b(d),e());return r=oi(u),o=r.cache.get,n=r.cache.set,a=c,c(s)}function c(s){let u=o(s);if(u)return u;let d=ai(s,r);return n(s,d),d}return function(){return a(ii.apply(null,arguments))}}var W=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},To=/^\[(?:([a-z-]+):)?(.+)\]$/i,li=/^\d+\/\d+$/,ci=new Set(["px","full","screen"]),ui=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,di=/\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$/,pi=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,fi=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,mi=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Fe=e=>Ze(e)||ci.has(e)||li.test(e),je=e=>Qe(e,"length",_i),Ze=e=>!!e&&!Number.isNaN(Number(e)),Wt=e=>Qe(e,"number",Ze),pt=e=>!!e&&Number.isInteger(Number(e)),gi=e=>e.endsWith("%")&&Ze(e.slice(0,-1)),z=e=>To.test(e),He=e=>ui.test(e),bi=new Set(["length","size","percentage"]),vi=e=>Qe(e,bi,So),hi=e=>Qe(e,"position",So),xi=new Set(["image","url"]),Ci=e=>Qe(e,xi,Pi),yi=e=>Qe(e,"",Ri),ft=()=>!0,Qe=(e,t,r)=>{let o=To.exec(e);return o?o[1]?typeof t=="string"?o[1]===t:t.has(o[1]):r(o[2]):!1},_i=e=>di.test(e)&&!pi.test(e),So=()=>!1,Ri=e=>fi.test(e),Pi=e=>mi.test(e);var Ei=()=>{let e=W("colors"),t=W("spacing"),r=W("blur"),o=W("brightness"),n=W("borderColor"),a=W("borderRadius"),i=W("borderSpacing"),c=W("borderWidth"),s=W("contrast"),u=W("grayscale"),d=W("hueRotate"),b=W("invert"),h=W("gap"),C=W("gradientColorStops"),x=W("gradientColorStopPositions"),f=W("inset"),m=W("margin"),g=W("opacity"),y=W("padding"),R=W("saturate"),_=W("scale"),P=W("sepia"),E=W("skew"),B=W("space"),F=W("translate"),O=()=>["auto","contain","none"],I=()=>["auto","hidden","clip","visible","scroll"],V=()=>["auto",z,t],D=()=>[z,t],ne=()=>["",Fe,je],Q=()=>["auto",Ze,z],q=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],$=()=>["solid","dashed","dotted","double","none"],te=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],k=()=>["start","end","center","between","around","evenly","stretch"],j=()=>["","0",z],ae=()=>["auto","avoid","all","avoid-page","page","left","right","column"],K=()=>[Ze,z];return{cacheSize:500,separator:":",theme:{colors:[ft],spacing:[Fe,je],blur:["none","",He,z],brightness:K(),borderColor:[e],borderRadius:["none","","full",He,z],borderSpacing:D(),borderWidth:ne(),contrast:K(),grayscale:j(),hueRotate:K(),invert:j(),gap:D(),gradientColorStops:[e],gradientColorStopPositions:[gi,je],inset:V(),margin:V(),opacity:K(),padding:D(),saturate:K(),scale:K(),sepia:j(),skew:K(),space:D(),translate:D()},classGroups:{aspect:[{aspect:["auto","square","video",z]}],container:["container"],columns:[{columns:[He]}],"break-after":[{"break-after":ae()}],"break-before":[{"break-before":ae()}],"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:[...q(),z]}],overflow:[{overflow:I()}],"overflow-x":[{"overflow-x":I()}],"overflow-y":[{"overflow-y":I()}],overscroll:[{overscroll:O()}],"overscroll-x":[{"overscroll-x":O()}],"overscroll-y":[{"overscroll-y":O()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[f]}],"inset-x":[{"inset-x":[f]}],"inset-y":[{"inset-y":[f]}],start:[{start:[f]}],end:[{end:[f]}],top:[{top:[f]}],right:[{right:[f]}],bottom:[{bottom:[f]}],left:[{left:[f]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",pt,z]}],basis:[{basis:V()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",z]}],grow:[{grow:j()}],shrink:[{shrink:j()}],order:[{order:["first","last","none",pt,z]}],"grid-cols":[{"grid-cols":[ft]}],"col-start-end":[{col:["auto",{span:["full",pt,z]},z]}],"col-start":[{"col-start":Q()}],"col-end":[{"col-end":Q()}],"grid-rows":[{"grid-rows":[ft]}],"row-start-end":[{row:["auto",{span:[pt,z]},z]}],"row-start":[{"row-start":Q()}],"row-end":[{"row-end":Q()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",z]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",z]}],gap:[{gap:[h]}],"gap-x":[{"gap-x":[h]}],"gap-y":[{"gap-y":[h]}],"justify-content":[{justify:["normal",...k()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...k(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...k(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[y]}],px:[{px:[y]}],py:[{py:[y]}],ps:[{ps:[y]}],pe:[{pe:[y]}],pt:[{pt:[y]}],pr:[{pr:[y]}],pb:[{pb:[y]}],pl:[{pl:[y]}],m:[{m:[m]}],mx:[{mx:[m]}],my:[{my:[m]}],ms:[{ms:[m]}],me:[{me:[m]}],mt:[{mt:[m]}],mr:[{mr:[m]}],mb:[{mb:[m]}],ml:[{ml:[m]}],"space-x":[{"space-x":[B]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[B]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",z,t]}],"min-w":[{"min-w":[z,t,"min","max","fit"]}],"max-w":[{"max-w":[z,t,"none","full","min","max","fit","prose",{screen:[He]},He]}],h:[{h:[z,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[z,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[z,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[z,t,"auto","min","max","fit"]}],"font-size":[{text:["base",He,je]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Wt]}],"font-family":[{font:[ft]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",z]}],"line-clamp":[{"line-clamp":["none",Ze,Wt]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Fe,z]}],"list-image":[{"list-image":["none",z]}],"list-style-type":[{list:["none","disc","decimal",z]}],"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:[...$(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Fe,je]}],"underline-offset":[{"underline-offset":["auto",Fe,z]}],"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:D()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",z]}],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",z]}],"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:[...q(),hi]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",vi]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Ci]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[x]}],"gradient-via-pos":[{via:[x]}],"gradient-to-pos":[{to:[x]}],"gradient-from":[{from:[C]}],"gradient-via":[{via:[C]}],"gradient-to":[{to:[C]}],rounded:[{rounded:[a]}],"rounded-s":[{"rounded-s":[a]}],"rounded-e":[{"rounded-e":[a]}],"rounded-t":[{"rounded-t":[a]}],"rounded-r":[{"rounded-r":[a]}],"rounded-b":[{"rounded-b":[a]}],"rounded-l":[{"rounded-l":[a]}],"rounded-ss":[{"rounded-ss":[a]}],"rounded-se":[{"rounded-se":[a]}],"rounded-ee":[{"rounded-ee":[a]}],"rounded-es":[{"rounded-es":[a]}],"rounded-tl":[{"rounded-tl":[a]}],"rounded-tr":[{"rounded-tr":[a]}],"rounded-br":[{"rounded-br":[a]}],"rounded-bl":[{"rounded-bl":[a]}],"border-w":[{border:[c]}],"border-w-x":[{"border-x":[c]}],"border-w-y":[{"border-y":[c]}],"border-w-s":[{"border-s":[c]}],"border-w-e":[{"border-e":[c]}],"border-w-t":[{"border-t":[c]}],"border-w-r":[{"border-r":[c]}],"border-w-b":[{"border-b":[c]}],"border-w-l":[{"border-l":[c]}],"border-opacity":[{"border-opacity":[g]}],"border-style":[{border:[...$(),"hidden"]}],"divide-x":[{"divide-x":[c]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[c]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[g]}],"divide-style":[{divide:$()}],"border-color":[{border:[n]}],"border-color-x":[{"border-x":[n]}],"border-color-y":[{"border-y":[n]}],"border-color-s":[{"border-s":[n]}],"border-color-e":[{"border-e":[n]}],"border-color-t":[{"border-t":[n]}],"border-color-r":[{"border-r":[n]}],"border-color-b":[{"border-b":[n]}],"border-color-l":[{"border-l":[n]}],"divide-color":[{divide:[n]}],"outline-style":[{outline:["",...$()]}],"outline-offset":[{"outline-offset":[Fe,z]}],"outline-w":[{outline:[Fe,je]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:ne()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[g]}],"ring-offset-w":[{"ring-offset":[Fe,je]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",He,yi]}],"shadow-color":[{shadow:[ft]}],opacity:[{opacity:[g]}],"mix-blend":[{"mix-blend":[...te(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":te()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[o]}],contrast:[{contrast:[s]}],"drop-shadow":[{"drop-shadow":["","none",He,z]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[d]}],invert:[{invert:[b]}],saturate:[{saturate:[R]}],sepia:[{sepia:[P]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[s]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[d]}],"backdrop-invert":[{"backdrop-invert":[b]}],"backdrop-opacity":[{"backdrop-opacity":[g]}],"backdrop-saturate":[{"backdrop-saturate":[R]}],"backdrop-sepia":[{"backdrop-sepia":[P]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",z]}],duration:[{duration:K()}],ease:[{ease:["linear","in","out","in-out",z]}],delay:[{delay:K()}],animate:[{animate:["none","spin","ping","pulse","bounce",z]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[_]}],"scale-x":[{"scale-x":[_]}],"scale-y":[{"scale-y":[_]}],rotate:[{rotate:[pt,z]}],"translate-x":[{"translate-x":[F]}],"translate-y":[{"translate-y":[F]}],"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",z]}],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",z]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":D()}],"scroll-mx":[{"scroll-mx":D()}],"scroll-my":[{"scroll-my":D()}],"scroll-ms":[{"scroll-ms":D()}],"scroll-me":[{"scroll-me":D()}],"scroll-mt":[{"scroll-mt":D()}],"scroll-mr":[{"scroll-mr":D()}],"scroll-mb":[{"scroll-mb":D()}],"scroll-ml":[{"scroll-ml":D()}],"scroll-p":[{"scroll-p":D()}],"scroll-px":[{"scroll-px":D()}],"scroll-py":[{"scroll-py":D()}],"scroll-ps":[{"scroll-ps":D()}],"scroll-pe":[{"scroll-pe":D()}],"scroll-pt":[{"scroll-pt":D()}],"scroll-pr":[{"scroll-pr":D()}],"scroll-pb":[{"scroll-pb":D()}],"scroll-pl":[{"scroll-pl":D()}],"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",z]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[Fe,je,Wt]}],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-s","border-color-e","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"]}}};var Ao=si(Ei);function p(...e){return Ao(Rt(e))}import{createContext as wi,useContext as Ni}from"react";import{jsx as Ti}from"react/jsx-runtime";var Io=wi(null);function Fp({theme:e,children:t}){return Ti(Io.Provider,{value:e,children:t})}function S(){return Ni(Io)}function A({componentName:e,variant:t,size:r,tokens:o={}},n){var u,d,b,h,C,x,f,m,g,y,R,_,P;let a=(b=(d=(u=n==null?void 0:n.components)==null?void 0:u[e])==null?void 0:d.base)!=null?b:{},i=(f=(x=(C=(h=n==null?void 0:n.components)==null?void 0:h[e])==null?void 0:C.variants)==null?void 0:x[t])!=null?f:{},c=(R=(y=(g=(m=n==null?void 0:n.components)==null?void 0:m[e])==null?void 0:g.sizes)==null?void 0:y[r])!=null?R:{},s=(P=(_=o==null?void 0:o[e])!=null?_:n==null?void 0:n[e])!=null?P:{};return l(l(l(l(l({},a),i),c),s),o)}function N(e){var t,r,o,n,a,i,c,s,u,d,b,h,C,x,f;return{color:(t=e==null?void 0:e.color)!=null?t:"#000000",backgroundColor:(r=e==null?void 0:e.backgroundColor)!=null?r:"transparent",borderRadius:(o=e==null?void 0:e.borderRadius)!=null?o:"8px",borderWidth:(n=e==null?void 0:e.borderWidth)!=null?n:"1px",borderColor:(a=e==null?void 0:e.borderColor)!=null?a:"transparent",borderStyle:(i=e==null?void 0:e.borderStyle)!=null?i:"solid",boxShadow:(c=e==null?void 0:e.boxShadow)!=null?c:"none",opacity:(s=e==null?void 0:e.opacity)!=null?s:"none",transition:(u=e==null?void 0:e.transition)!=null?u:"all ease",transitionDuration:(d=e==null?void 0:e.transitionDuration)!=null?d:"150ms",fontSize:(h=(b=e==null?void 0:e.typography)==null?void 0:b.fontSize)!=null?h:"14px",fontWeight:(x=(C=e==null?void 0:e.typography)==null?void 0:C.fontWeight)!=null?x:"400",checkColor:(f=e==null?void 0:e.checkColor)!=null?f:"white"}}function T(e){var t,r,o,n,a,i,c,s,u,d,b,h,C,x,f,m,g,y;return{padding:(t=e.padding)!=null?t:12,gap:(r=e.gap)!=null?r:8,color:(o=e.textColor)!=null?o:"black",backgroundColor:(n=e.backgroundColor)!=null?n:"transparent",borderRadius:(a=e.borderRadius)!=null?a:8,borderWidth:(i=e.borderWidth)!=null?i:1,borderColor:(c=e.borderColor)!=null?c:"transparent",shadowColor:(s=e.shadowColor)!=null?s:"transparent",shadowOpacity:(u=e.shadowOpacity)!=null?u:0,shadowRadius:(d=e.shadowRadius)!=null?d:0,shadowOffset:(b=e.shadowOffset)!=null?b:{width:0,height:0},opacity:(h=e.opacity)!=null?h:1,fontSize:(x=(C=e.typography)==null?void 0:C.fontSize)!=null?x:14,fontWeight:(m=(f=e.typography)==null?void 0:f.fontWeight)!=null?m:"600",checkColor:(g=e.checkColor)!=null?g:"white",width:(y=e.width)!=null?y:"100%"}}var Oo={};function Hp(e){Oo=e}function Up(){return Oo}import{jsx as Ii}from"react/jsx-runtime";var Ai="inline-flex items-center justify-center whitespace-nowrap shrink-0 transition-[color,background-color,box-shadow] outline-none disabled:pointer-events-none font-[550] leading-[1.3] tracking-[-0.04em]",Pt=U(Ai,{variants:{variant:{primary:"border border-transparent rounded-[var(--button-radius)] disabled:bg-[#E2E5E9] disabled:text-[#A3AAB8]",secondary:"bg-white border border-current rounded-[var(--button-radius)] disabled:bg-[#FFFFFF] disabled:text-[#A3AAB8] disabled:border-[#E2E5E9]",tertiary:"bg-transparent border-none underline-offset-4 hover:underline disabled:bg-[#FFFFFF] disabled:text-[#A3AAB8] disabled:underline",neutral:"bg-transparent border-none underline-offset-4 hover:underline"},tone:{brand:"",neutral:"",destructive:""},size:{sm:"h-8 px-3 text-sm",md:"h-10 px-4 text-sm",lg:"h-12 px-5 text-base",icon:"p-2 h-10 w-10","icon-sm":"p-1.5 h-8 w-8","icon-lg":"p-2.5 h-12 w-12"}},compoundVariants:[{variant:"primary",tone:"brand",className:"bg-[#652BDF] text-white hover:bg-[#3C168E]"},{variant:"primary",tone:"neutral",className:"bg-[#020303] text-white hover:bg-[#0D0F12]"},{variant:"primary",tone:"destructive",className:"bg-[#FB3131] text-white hover:bg-[#C2040C]"},{variant:"secondary",tone:"brand",className:"text-[#652BDF] border-[#E6DCFA] hover:bg-[#652BDF]/10"},{variant:"secondary",tone:"neutral",className:"text-[#020303] border-[#C3C7D1] hover:bg-[#F9F9FA]/10"},{variant:"secondary",tone:"destructive",className:"text-[#FB3131] border-[#FECFCD] hover:bg-[#FB3131]/10"},{variant:"tertiary",tone:"brand",className:"text-[#652BDF] hover:text-[#3C168E]"},{variant:"tertiary",tone:"neutral",className:"text-[#020303] hover:text-[#020303]"},{variant:"tertiary",tone:"destructive",className:"text-[#FB3131] hover:text-[#C2040C]"}],defaultVariants:{variant:"primary",tone:"brand",size:"md"}});function se(d){var b=d,{className:e,variant:t,tone:r,size:o,asChild:n=!1,tokens:a,style:i,platform:c="web",children:s}=b,u=v(b,["className","variant","tone","size","asChild","tokens","style","platform","children"]);let h=S(),C=A({componentName:"button",variant:t,tone:r,size:o,tokens:a},h),x=c==="web"?N(C):T(C);return Ii(n?Si:"button",w(l({className:p(Pt({variant:t,tone:r,size:o}),e),style:x},u),{children:s}))}import*as Je from"@radix-ui/react-avatar";import{jsx as Kt}from"react/jsx-runtime";function Yt(r){var o=r,{className:e}=o,t=v(o,["className"]);return Kt(Je.Root,l({"data-slot":"avatar",className:p("relative flex size-8 shrink-0 overflow-hidden rounded-full",e)},t))}function Do(r){var o=r,{className:e}=o,t=v(o,["className"]);return Kt(Je.Image,l({"data-slot":"avatar-image",className:p("aspect-square size-full",e)},t))}function Et(r){var o=r,{className:e}=o,t=v(o,["className"]);return Kt(Je.Fallback,l({"data-slot":"avatar-fallback",className:p("bg-muted flex size-full items-center justify-center rounded-full",e)},t))}import{jsx as Zt}from"react/jsx-runtime";var Oi=U("relative w-full rounded-lg border px-4 py-3 text-sm grid items-start gap-y-0.5",{variants:{variant:{default:"",destructive:""}},defaultVariants:{variant:"default"}});function u2(i){var c=i,{className:e,style:t,variant:r="default",tokens:o,platform:n="web"}=c,a=v(c,["className","style","variant","tokens","platform"]);let s=S(),u=A({componentName:"alert",variant:r,tokens:o},s),d=n==="web"?l(l({},N(u)),t):T(u);return Zt("div",l({"data-slot":"alert",role:"alert",style:n==="web"?d:void 0,className:p(Oi({variant:r}),"has-[>svg]:grid-cols-[calc(var(--spacing)*4)_1fr] grid-cols-[0_1fr]","has-[>svg]:gap-x-3 [&>svg]:size-4 [&>svg]:translate-y-0.5 [&>svg]:text-current",e)},a))}function d2(r){var o=r,{className:e}=o,t=v(o,["className"]);return Zt("div",l({"data-slot":"alert-title",className:p("col-start-2 line-clamp-1 min-h-4 font-medium tracking-tight",e)},t))}function p2(r){var o=r,{className:e}=o,t=v(o,["className"]);return Zt("div",l({"data-slot":"alert-description",className:p("col-start-2 grid gap-1 text-sm text-muted-foreground [&_p]:leading-relaxed",e)},t))}import{Slot as Di}from"@radix-ui/react-slot";import{jsx as Fi}from"react/jsx-runtime";var Mi="inline-flex items-center justify-center whitespace-nowrap shrink-0 w-fit transition-[color,box-shadow] overflow-hidden font-[550] leading-[1.3] tracking-[-0.04em]",Li=U(Mi,{variants:{tone:{success:"text-[#16A34A] bg-[#16A34A]/10",warning:"text-[#D97706] bg-[#D97706]/10",error:"text-[#DC2626] bg-[#DC2626]/10",info:"text-[#2563EB] bg-[#2563EB]/10",neutral:"text-[#6C7280] bg-[#6C7280]/10",brand:"text-[#7C3AED] bg-[#7C3AED]/10"},size:{small:"text-xs px-2 py-0.5",medium:"text-sm px-2.5 py-1",large:"text-base px-3 py-1.5"},shape:{rounded:"rounded-full",square:"rounded-md"}},defaultVariants:{tone:"neutral",size:"medium",shape:"rounded"}});function wt(u){var d=u,{className:e,tone:t,size:r,shape:o,asChild:n=!1,tokens:a,style:i,platform:c="web"}=d,s=v(d,["className","tone","size","shape","asChild","tokens","style","platform"]);let b=n?Di:"span",h=S(),C=A({componentName:"badge",tone:t,size:r,shape:o,tokens:a},h),x=c==="web"?l(l({},N(C)),i):T(C);return Fi(b,l({"data-slot":"badge",className:p(Li({tone:t,size:r,shape:o}),e)},s))}import{ArrowLeftRight as ki}from"lucide-react";import{jsx as Ge,jsxs as Mo}from"react/jsx-runtime";function Lo({title:e,description:t,actions:r=[],align:o="center",className:n}){let a=o==="center";return Ge("section",{className:p("w-full rounded-xl bg-white p-8",a?"text-center":"text-left",n),children:Mo("div",{className:p("mx-auto flex max-w-md flex-col gap-4",a?"items-center":"items-start"),children:[Ge("div",{className:"flex h-12 w-12 items-center justify-center rounded-md border-none",children:Ge(ki,{className:"text-gray-300"})}),Mo("div",{className:"space-y-1",children:[Ge("h3",{className:"text-base font-semibold text-foreground",children:e}),t&&Ge("p",{className:"text-sm text-muted-foreground text-gray-500",children:t})]}),r.length>0&&Ge("div",{className:p("flex gap-2",a?"justify-center":"justify-start"),children:r.map((i,c)=>{var s;return Ge(se,{variant:(s=i.variant)!=null?s:"primary",onClick:i.onClick,children:i.label},c)})})]})})}import{Loader2Icon as Bi}from"lucide-react";import{jsx as zi}from"react/jsx-runtime";function I2(i){var c=i,{className:e,style:t,variant:r="default",tokens:o,platform:n="web"}=c,a=v(c,["className","style","variant","tokens","platform"]);let s=S(),u=A({componentName:"loader",variant:r,tokens:o},s),d=n==="web"?l(l({},N(u)),t):T(u);return zi(Bi,l({role:"status","aria-label":"Loading","data-slot":"spinner",style:n==="web"?d:void 0,className:p("animate-spin",e)},a))}import*as Nt from"@radix-ui/react-progress";import{jsx as Fo}from"react/jsx-runtime";function k2(c){var s=c,{className:e,style:t,value:r=0,variant:o="default",tokens:n,platform:a="web"}=s,i=v(s,["className","style","value","variant","tokens","platform"]);let u=S(),d=A({componentName:"progress",variant:o,tokens:n},u),b=a==="web"?l(l({},N(d.track)),t):T(d.track),h=a==="web"?N(d.indicator):T(d.indicator);return Fo(Nt.Root,w(l({"data-slot":"progress",style:a==="web"?b:void 0,className:p("relative w-full overflow-hidden",e)},i),{children:Fo(Nt.Indicator,{"data-slot":"progress-indicator",style:w(l({},a==="web"?h:void 0),{transform:`translateX(-${100-r}%)`}),className:"h-full transition-all"})}))}import*as pe from"react";import{jsx as Se,jsxs as Qt}from"react/jsx-runtime";function ji(e){return e/(1024*1024)}function Hi(e){if(!(!e||e.length===0))return e.join(",")}function Ui(){return Qt("svg",{width:"40",height:"40",viewBox:"0 0 48 48",fill:"none","aria-hidden":"true",children:[Se("path",{d:"M24 6c.6 0 1 .4 1 1v18.6l4.3-4.3a1 1 0 0 1 1.4 1.4l-6 6a1 1 0 0 1-1.4 0l-6-6a1 1 0 0 1 1.4-1.4l4.3 4.3V7c0-.6.4-1 1-1Z",fill:"currentColor",opacity:"0.9"}),Se("path",{d:"M10 30a1 1 0 0 1 1 1v5c0 1.7 1.3 3 3 3h20c1.7 0 3-1.3 3-3v-5a1 1 0 1 1 2 0v5c0 2.8-2.2 5-5 5H14c-2.8 0-5-2.2-5-5v-5a1 1 0 0 1 1-1Z",fill:"currentColor",opacity:"0.9"})]})}function $2({accept:e=["application/pdf","image/jpeg","image/png"],maxSizeMB:t=3,multiple:r=!1,title:o="Hac\xE9 clic o arrastr\xE1 los archivos para cargarlos",description:n=`Deben ser PDF, JPG o PNG de hasta ${t} MB.`,buttonLabel:a="Subir archivo",icon:i,className:c,onFilesChange:s,onError:u}){let d=pe.useRef(null),[b,h]=pe.useState(!1),C=pe.useCallback(_=>{let P=[],E=new Set((e!=null?e:[]).map(F=>F.toLowerCase())),B=[];for(let F of _){let O=E.size===0?!0:E.has((F.type||"").toLowerCase()),I=ji(F.size)<=t;if(!O){P.push(`Tipo no permitido: ${F.name}`);continue}if(!I){P.push(`Archivo demasiado grande (${t} MB m\xE1x): ${F.name}`);continue}B.push(F)}return!r&&B.length>1?(P.push("Solo se permite 1 archivo."),{files:B.slice(0,1),errors:P}):{files:B,errors:P}},[e,t,r]),x=pe.useCallback(()=>{var _;(_=d.current)==null||_.click()},[]),f=pe.useCallback(_=>{let{files:P,errors:E}=C(_);E.length&&(u==null||u(E)),P.length&&(s==null||s(P))},[u,s,C]),m=pe.useCallback(_=>{var E;let P=Array.from((E=_.target.files)!=null?E:[]);f(P),_.target.value=""},[f]),g=pe.useCallback(_=>{var E;_.preventDefault(),_.stopPropagation(),h(!1);let P=Array.from((E=_.dataTransfer.files)!=null?E:[]);P.length&&f(P)},[f]),y=pe.useCallback(_=>{_.preventDefault(),_.stopPropagation(),_.dataTransfer.dropEffect="copy",h(!0)},[]),R=pe.useCallback(_=>{_.preventDefault(),_.stopPropagation(),h(!1)},[]);return Se("div",{className:p("w-full rounded-[16px] bg-white p-6 sm:p-8",c),children:Qt("div",{role:"button",tabIndex:0,onClick:x,onKeyDown:_=>{(_.key==="Enter"||_.key===" ")&&x()},onDrop:g,onDragOver:y,onDragLeave:R,className:p("w-full rounded-[16px] border border-dashed","px-6 py-10 sm:px-10 sm:py-14","flex flex-col items-center justify-center gap-3 sm:gap-4","outline-none transition-colors",b?"border-[#652BDF] bg-[#652BDF]/5":"border-[#DADDE3] bg-white"),children:[Se("div",{className:"text-[#6C7280]",children:i!=null?i:Se(Ui,{})}),Qt("div",{className:"text-center space-y-1",children:[Se("div",{className:"text-[16px] font-[550] leading-[1.3] tracking-[-0.04em] text-[#111827]",children:o}),Se("div",{className:"text-[14px] font-normal leading-[1.3] tracking-[-0.04em] text-[#6B7280]",children:n})]}),Se("div",{className:"pt-2",children:Se(se,{variant:"secondary",onClick:_=>{_.preventDefault(),_.stopPropagation(),x()},children:a})}),Se("input",{ref:d,type:"file",className:"hidden",multiple:r,accept:Hi(e),onChange:m})]})})}import{jsx as We,jsxs as Jt}from"react/jsx-runtime";function ko({id:e,overline:t,title:r,subtitle:o,amount:n,status:a,onItemClick:i,className:c}){return Jt("div",{role:i?"button":void 0,onClick:()=>i==null?void 0:i(e),className:p("flex cursor-pointer items-center justify-between gap-3 py-3 text-sm","border-b border-gray-100 last:border-b-0 hover:bg-muted/50",c),children:[We("div",{className:"flex w-full items-start",children:Jt("div",{className:"flex flex-col",children:[t&&We("span",{className:"text-xs text-muted-foreground",children:t}),We("span",{className:"font-medium leading-tight",children:r}),o&&We("span",{className:"text-xs text-muted-foreground",children:o})]})}),(n||a)&&We("div",{className:"flex items-center gap-3",children:Jt("div",{className:"flex flex-col items-end",children:[n&&We("span",{className:"font-medium",children:n}),a&&We(wt,{tone:"success",size:"small",children:a.label})]})})]})}import{jsx as fe}from"react/jsx-runtime";function af(i){var c=i,{className:e,style:t,variant:r="default",tokens:o,platform:n="web"}=c,a=v(c,["className","style","variant","tokens","platform"]);let s=S(),u=A({componentName:"table",variant:r,tokens:o},s),d=n==="web"?l(l({},N(u)),t):T(u);return fe("div",{"data-slot":"table-container",className:`\r
2
9
  w-full\r
3
10
  rounded-[16px]\r
4
11
  bg-white\r
@@ -6,7 +13,7 @@ var si=Object.defineProperty,li=Object.defineProperties;var ci=Object.getOwnProp
6
13
  border-[#E2E5E9]\r
7
14
  shadow-[var(--shadow-table)]\r
8
15
  overflow-hidden\r
9
- `,children:be("table",l({"data-slot":"table",className:b("w-full text-sm text-foreground",e)},a))})}function pp(e){return be("thead",l({className:` \r
16
+ `,children:fe("table",l({"data-slot":"table",className:p("w-full text-sm text-foreground",e)},a))})}function sf(e){return fe("thead",l({className:` \r
10
17
  bg-[#F9F9FA]\r
11
18
  text-[#6E7991]\r
12
19
  text-xs\r
@@ -15,14 +22,14 @@ var si=Object.defineProperty,li=Object.defineProperties;var ci=Object.getOwnProp
15
22
  border-[#E2E5E9]\r
16
23
  font-medium\r
17
24
  [&>tr]:last:border-b-0\r
18
- `},e))}function fp(e){return be("tbody",l({"data-slot":"table-body",className:b("[&_tr:last-child]:border-0",e.className)},e))}function mp(r){var n=r,{children:e,className:t}=n,o=h(n,["children","className"]);return be("tfoot",w(l({"data-slot":"table-footer",className:b("bg-white border-t border-[#E2E5E9]",t)},o),{children:be("tr",{children:be("td",{colSpan:100,className:"p-0",children:be("div",{className:"flex w-full items-center justify-between px-4 py-3",children:e})})})}))}function gp(e){return be("tr",l({className:`\r
25
+ `},e))}function lf(e){return fe("tbody",l({"data-slot":"table-body",className:p("[&_tr:last-child]:border-0",e.className)},e))}function cf(o){var n=o,{children:e,className:t}=n,r=v(n,["children","className"]);return fe("tfoot",w(l({"data-slot":"table-footer",className:p("bg-white border-t border-[#E2E5E9]",t)},r),{children:fe("tr",{children:fe("td",{colSpan:100,className:"p-0",children:fe("div",{className:"flex w-full items-center justify-between px-4 py-3",children:e})})})}))}function uf(e){return fe("tr",l({className:`\r
19
26
  bg-white/30\r
20
27
  border-b border-[#E2E5E9]\r
21
28
  hover:bg-muted/30\r
22
29
  transition-colors\r
23
30
  text-sm\r
24
31
  text-[#3A3F4B]\r
25
- `},e))}function bp(e){return be("th",l({className:`\r
32
+ `},e))}function df(e){return fe("th",l({className:`\r
26
33
  h-12\r
27
34
  px-4\r
28
35
  py-3\r
@@ -32,7 +39,7 @@ var si=Object.defineProperty,li=Object.defineProperties;var ci=Object.getOwnProp
32
39
  whitespace-nowrap\r
33
40
  text-left\r
34
41
  align-middle\r
35
- `},e))}function vp(e){return be("td",l({"data-slot":"table-cell",className:b("px-4 py-3 align-middle whitespace-nowrap text-sm text-[#3A3F4B]",e.className)},e))}function hp(e){return be("caption",l({"data-slot":"table-caption",className:b("mt-4 text-sm text-muted-foreground",e.className)},e))}import*as _ from"@radix-ui/react-dropdown-menu";import{CheckIcon as ns,ChevronRightIcon as as,CircleIcon as is}from"lucide-react";import{jsx as Q,jsxs as _o}from"react/jsx-runtime";function Fo(e){return Q(_.Root,l({"data-slot":"dropdown-menu"},e))}function Ep(e){return Q(_.Portal,l({"data-slot":"dropdown-menu-portal"},e))}function Oo(e){return Q(_.Trigger,l({"data-slot":"dropdown-menu-trigger"},e))}function Io(s){var c=s,{className:e,style:t,sideOffset:o=4,variant:r="default",tokens:n,platform:a="web"}=c,i=h(c,["className","style","sideOffset","variant","tokens","platform"]);let u=E(),d=D({componentName:"dropdown",variant:r,tokens:n},u),m=a==="web"?l(l({},A(d)),t):T(d);return Q(_.Portal,{children:Q(_.Content,l({"data-slot":"dropdown-menu-content",sideOffset:o,className:b("z-50 min-w-[8rem] overflow-x-hidden overflow-y-auto rounded-md bg-white border border-[#E2E5E9] p-1 shadow-md","bg-white text-popover-foreground","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",e)},i))})}function Dp(e){return Q(_.Group,l({"data-slot":"dropdown-menu-group"},e))}function zo(n){var a=n,{className:e,inset:t,variant:o="default"}=a,r=h(a,["className","inset","variant"]);return Q(_.Item,l({"data-slot":"dropdown-menu-item","data-inset":t,"data-variant":o,className:b("relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm","outline-none select-none transition-colors","focus:bg-accent focus:text-accent-foreground","data-[disabled]:pointer-events-none data-[disabled]:opacity-50","data-[variant=destructive]:text-destructive","data-[variant=destructive]:focus:bg-destructive/10","data-[inset]:pl-8","[&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",e)},r))}function kp(n){var a=n,{className:e,children:t,checked:o}=a,r=h(a,["className","children","checked"]);return _o(_.CheckboxItem,w(l({"data-slot":"dropdown-menu-checkbox-item",checked:o,className:b("relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm","outline-none select-none focus:bg-accent focus:text-accent-foreground","data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e)},r),{children:[Q("span",{className:"absolute left-2 flex size-3.5 items-center justify-center",children:Q(_.ItemIndicator,{children:Q(ns,{className:"size-4"})})}),t]}))}function Mp(e){return Q(_.RadioGroup,l({"data-slot":"dropdown-menu-radio-group"},e))}function Bp(r){var n=r,{className:e,children:t}=n,o=h(n,["className","children"]);return _o(_.RadioItem,w(l({"data-slot":"dropdown-menu-radio-item",className:b("relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm","outline-none select-none focus:bg-accent focus:text-accent-foreground","data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e)},o),{children:[Q("span",{className:"absolute left-2 flex size-3.5 items-center justify-center",children:Q(_.ItemIndicator,{children:Q(is,{className:"size-2 fill-current"})})}),t]}))}function Lp(r){var n=r,{className:e,inset:t}=n,o=h(n,["className","inset"]);return Q(_.Label,l({"data-slot":"dropdown-menu-label","data-inset":t,className:b("px-2 py-1.5 text-sm font-medium data-[inset]:pl-8",e)},o))}function Fp(e){return Q(_.Separator,l({"data-slot":"dropdown-menu-separator",className:"bg-border bg-white -mx-1 my-1 h-px"},e))}function Op(e){return Q("span",l({"data-slot":"dropdown-menu-shortcut",className:"ml-auto text-xs tracking-widest text-muted-foreground"},e))}function Ip(e){return Q(_.Sub,l({"data-slot":"dropdown-menu-sub"},e))}function zp(n){var a=n,{className:e,inset:t,children:o}=a,r=h(a,["className","inset","children"]);return _o(_.SubTrigger,w(l({"data-slot":"dropdown-menu-sub-trigger","data-inset":t,className:b("flex cursor-default items-center gap-2 rounded-md px-2 py-1.5 text-sm","outline-none select-none","focus:bg-accent focus:text-accent-foreground","data-[state=open]:bg-accent data-[state=open]:text-accent-foreground","data-[inset]:pl-8",e)},r),{children:[o,Q(as,{className:"ml-auto size-4"})]}))}function _p(o){var r=o,{className:e}=r,t=h(r,["className"]);return Q(_.SubContent,l({"data-slot":"dropdown-menu-sub-content",className:b("z-50 min-w-[8rem] overflow-hidden rounded-md border p-1 shadow-lg","bg-white text-popover-foreground","data-[state=open]:animate-in data-[state=closed]:animate-out",e)},t))}import*as Te from"@radix-ui/react-popover";import{jsx as At}from"react/jsx-runtime";function Xt(t){var e=h(t,[]);return At(Te.Root,l({"data-slot":"popover"},e))}function Yt(t){var e=h(t,[]);return At(Te.Trigger,l({"data-slot":"popover-trigger"},e))}function qt(i){var s=i,{className:e,align:t="center",sideOffset:o=4,tokens:r,style:n}=s,a=h(s,["className","align","sideOffset","tokens","style"]);let c=E(),u=D({componentName:"popover",tokens:r},c),d=c.platform==="web"?l(l({},A(u)),n):T(u);return At(Te.Portal,{children:At(Te.Content,l({"data-slot":"popover-content",align:t,sideOffset:o,style:{backgroundColor:d.backgroundColor,color:d.color,borderRadius:d.borderRadius,boxShadow:u.shadow,border:`1px solid ${d.borderColor}`},className:b("z-50 w-72 origin-(--radix-popover-content-transform-origin)","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","p-4 outline-hidden",e)},a))})}function jp(t){var e=h(t,[]);return At(Te.Anchor,l({"data-slot":"popover-anchor"},e))}import*as F from"react";var Yp=!!(typeof window!="undefined"&&window.document&&window.document.createElement);function ye(e,t,{checkForDefaultPrevented:o=!0}={}){return function(n){if(e==null||e(n),o===!1||!n.defaultPrevented)return t==null?void 0:t(n)}}import*as Hr from"react";function Vr(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function ss(...e){return t=>{let o=!1,r=e.map(n=>{let a=Vr(n,t);return!o&&typeof a=="function"&&(o=!0),a});if(o)return()=>{for(let n=0;n<r.length;n++){let a=r[n];typeof a=="function"?a():Vr(e[n],null)}}}}function we(...e){return Hr.useCallback(ss(...e),e)}import*as Oe from"react";import{jsx as ls}from"react/jsx-runtime";function Kt(e,t=[]){let o=[];function r(a,i){let s=Oe.createContext(i),c=o.length;o=[...o,i];let u=m=>{var P;let y=m,{scope:g,children:f}=y,p=h(y,["scope","children"]),v=((P=g==null?void 0:g[e])==null?void 0:P[c])||s,x=Oe.useMemo(()=>p,Object.values(p));return ls(v.Provider,{value:x,children:f})};u.displayName=a+"Provider";function d(m,g){var v;let f=((v=g==null?void 0:g[e])==null?void 0:v[c])||s,p=Oe.useContext(f);if(p)return p;if(i!==void 0)return i;throw new Error(`\`${m}\` must be used within \`${a}\``)}return[u,d]}let n=()=>{let a=o.map(i=>Oe.createContext(i));return function(s){let c=(s==null?void 0:s[e])||a;return Oe.useMemo(()=>({[`__scope${e}`]:w(l({},s),{[e]:c})}),[s,c])}};return n.scopeName=e,[r,cs(n,...t)]}function cs(...e){let t=e[0];if(e.length===1)return t;let o=()=>{let r=e.map(n=>({useScope:n(),scopeName:n.scopeName}));return function(a){let i=r.reduce((s,{useScope:c,scopeName:u})=>{let m=c(a)[`__scope${u}`];return l(l({},s),m)},{});return Oe.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return o.scopeName=t.scopeName,o}import*as q from"react";import*as $r from"react";import*as Ur from"react-dom";import{createSlot as ds}from"@radix-ui/react-slot";import{jsx as us}from"react/jsx-runtime";var ps=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],le=ps.reduce((e,t)=>{let o=ds(`Primitive.${t}`),r=$r.forwardRef((n,a)=>{let u=n,{asChild:i}=u,s=h(u,["asChild"]),c=i?o:t;return typeof window!="undefined"&&(window[Symbol.for("radix-ui")]=!0),us(c,w(l({},s),{ref:a}))});return r.displayName=`Primitive.${t}`,w(l({},e),{[t]:r})},{});function jr(e,t){e&&Ur.flushSync(()=>e.dispatchEvent(t))}import*as lt from"react";function Xe(e){let t=lt.useRef(e);return lt.useEffect(()=>{t.current=e}),lt.useMemo(()=>(...o)=>{var r;return(r=t.current)==null?void 0:r.call(t,...o)},[])}import*as Gr from"react";function Zr(e,t=globalThis==null?void 0:globalThis.document){let o=Xe(e);Gr.useEffect(()=>{let r=n=>{n.key==="Escape"&&o(n)};return t.addEventListener("keydown",r,{capture:!0}),()=>t.removeEventListener("keydown",r,{capture:!0})},[o,t])}import{jsx as qr}from"react/jsx-runtime";var fs="DismissableLayer",Wo="dismissableLayer.update",ms="dismissableLayer.pointerDownOutside",gs="dismissableLayer.focusOutside",Xr,Kr=q.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Vo=q.forwardRef((e,t)=>{var L;let M=e,{disableOutsidePointerEvents:o=!1,onEscapeKeyDown:r,onPointerDownOutside:n,onFocusOutside:a,onInteractOutside:i,onDismiss:s}=M,c=h(M,["disableOutsidePointerEvents","onEscapeKeyDown","onPointerDownOutside","onFocusOutside","onInteractOutside","onDismiss"]),u=q.useContext(Kr),[d,m]=q.useState(null),g=(L=d==null?void 0:d.ownerDocument)!=null?L:globalThis==null?void 0:globalThis.document,[,f]=q.useState({}),p=we(t,B=>m(B)),v=Array.from(u.layers),[x]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),y=v.indexOf(x),P=d?v.indexOf(d):-1,R=u.layersWithOutsidePointerEventsDisabled.size>0,C=P>=y,N=hs(B=>{let z=B.target,H=[...u.branches].some(k=>k.contains(z));!C||H||(n==null||n(B),i==null||i(B),B.defaultPrevented||s==null||s())},g),S=xs(B=>{let z=B.target;[...u.branches].some(k=>k.contains(z))||(a==null||a(B),i==null||i(B),B.defaultPrevented||s==null||s())},g);return Zr(B=>{P===u.layers.size-1&&(r==null||r(B),!B.defaultPrevented&&s&&(B.preventDefault(),s()))},g),q.useEffect(()=>{if(d)return o&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(Xr=g.body.style.pointerEvents,g.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(d)),u.layers.add(d),Yr(),()=>{o&&u.layersWithOutsidePointerEventsDisabled.size===1&&(g.body.style.pointerEvents=Xr)}},[d,g,o,u]),q.useEffect(()=>()=>{d&&(u.layers.delete(d),u.layersWithOutsidePointerEventsDisabled.delete(d),Yr())},[d,u]),q.useEffect(()=>{let B=()=>f({});return document.addEventListener(Wo,B),()=>document.removeEventListener(Wo,B)},[]),qr(le.div,w(l({},c),{ref:p,style:l({pointerEvents:R?C?"auto":"none":void 0},e.style),onFocusCapture:ye(e.onFocusCapture,S.onFocusCapture),onBlurCapture:ye(e.onBlurCapture,S.onBlurCapture),onPointerDownCapture:ye(e.onPointerDownCapture,N.onPointerDownCapture)}))});Vo.displayName=fs;var bs="DismissableLayerBranch",vs=q.forwardRef((e,t)=>{let o=q.useContext(Kr),r=q.useRef(null),n=we(t,r);return q.useEffect(()=>{let a=r.current;if(a)return o.branches.add(a),()=>{o.branches.delete(a)}},[o.branches]),qr(le.div,w(l({},e),{ref:n}))});vs.displayName=bs;function hs(e,t=globalThis==null?void 0:globalThis.document){let o=Xe(e),r=q.useRef(!1),n=q.useRef(()=>{});return q.useEffect(()=>{let a=s=>{if(s.target&&!r.current){let u=function(){Jr(ms,o,d,{discrete:!0})};var c=u;let d={originalEvent:s};s.pointerType==="touch"?(t.removeEventListener("click",n.current),n.current=u,t.addEventListener("click",n.current,{once:!0})):u()}else t.removeEventListener("click",n.current);r.current=!1},i=window.setTimeout(()=>{t.addEventListener("pointerdown",a)},0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",a),t.removeEventListener("click",n.current)}},[t,o]),{onPointerDownCapture:()=>r.current=!0}}function xs(e,t=globalThis==null?void 0:globalThis.document){let o=Xe(e),r=q.useRef(!1);return q.useEffect(()=>{let n=a=>{a.target&&!r.current&&Jr(gs,o,{originalEvent:a},{discrete:!1})};return t.addEventListener("focusin",n),()=>t.removeEventListener("focusin",n)},[t,o]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function Yr(){let e=new CustomEvent(Wo);document.dispatchEvent(e)}function Jr(e,t,o,{discrete:r}){let n=o.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:o});t&&n.addEventListener(e,t,{once:!0}),r?jr(n,a):n.dispatchEvent(a)}import*as Ho from"react";import*as Qr from"react";var ce=globalThis!=null&&globalThis.document?Qr.useLayoutEffect:()=>{};var ys=Ho[" useId ".trim().toString()]||(()=>{}),ws=0;function en(e){let[t,o]=Ho.useState(ys());return ce(()=>{e||o(r=>r!=null?r:String(ws++))},[e]),e||(t?`radix-${t}`:"")}import*as ue from"react";var rn=["top","right","bottom","left"];var Ee=Math.min,ie=Math.max,Et=Math.round,Dt=Math.floor,Ce=e=>({x:e,y:e}),Cs={left:"right",right:"left",bottom:"top",top:"bottom"},Ps={start:"end",end:"start"};function Qt(e,t,o){return ie(e,Ee(t,o))}function De(e,t){return typeof e=="function"?e(t):e}function ke(e){return e.split("-")[0]}function Ye(e){return e.split("-")[1]}function eo(e){return e==="x"?"y":"x"}function to(e){return e==="y"?"height":"width"}var Rs=new Set(["top","bottom"]);function Pe(e){return Rs.has(ke(e))?"y":"x"}function oo(e){return eo(Pe(e))}function nn(e,t,o){o===void 0&&(o=!1);let r=Ye(e),n=oo(e),a=to(n),i=n==="x"?r===(o?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[a]>t.floating[a]&&(i=Tt(i)),[i,Tt(i)]}function an(e){let t=Tt(e);return[Jt(e),t,Jt(t)]}function Jt(e){return e.replace(/start|end/g,t=>Ps[t])}var tn=["left","right"],on=["right","left"],Ns=["top","bottom"],Ss=["bottom","top"];function As(e,t,o){switch(e){case"top":case"bottom":return o?t?on:tn:t?tn:on;case"left":case"right":return t?Ns:Ss;default:return[]}}function sn(e,t,o,r){let n=Ye(e),a=As(ke(e),o==="start",r);return n&&(a=a.map(i=>i+"-"+n),t&&(a=a.concat(a.map(Jt)))),a}function Tt(e){return e.replace(/left|right|bottom|top/g,t=>Cs[t])}function Ts(e){return l({top:0,right:0,bottom:0,left:0},e)}function $o(e){return typeof e!="number"?Ts(e):{top:e,right:e,bottom:e,left:e}}function qe(e){let{x:t,y:o,width:r,height:n}=e;return{width:r,height:n,top:o,left:t,right:t+r,bottom:o+n,x:t,y:o}}function ln(e,t,o){let{reference:r,floating:n}=e,a=Pe(t),i=oo(t),s=to(i),c=ke(t),u=a==="y",d=r.x+r.width/2-n.width/2,m=r.y+r.height/2-n.height/2,g=r[s]/2-n[s]/2,f;switch(c){case"top":f={x:d,y:r.y-n.height};break;case"bottom":f={x:d,y:r.y+r.height};break;case"right":f={x:r.x+r.width,y:m};break;case"left":f={x:r.x-n.width,y:m};break;default:f={x:r.x,y:r.y}}switch(Ye(t)){case"start":f[i]-=g*(o&&u?-1:1);break;case"end":f[i]+=g*(o&&u?-1:1);break}return f}var un=async(e,t,o)=>{let{placement:r="bottom",strategy:n="absolute",middleware:a=[],platform:i}=o,s=a.filter(Boolean),c=await(i.isRTL==null?void 0:i.isRTL(t)),u=await i.getElementRects({reference:e,floating:t,strategy:n}),{x:d,y:m}=ln(u,r,c),g=r,f={},p=0;for(let v=0;v<s.length;v++){let{name:x,fn:y}=s[v],{x:P,y:R,data:C,reset:N}=await y({x:d,y:m,initialPlacement:r,placement:g,strategy:n,middlewareData:f,rects:u,platform:i,elements:{reference:e,floating:t}});d=P!=null?P:d,m=R!=null?R:m,f=w(l({},f),{[x]:l(l({},f[x]),C)}),N&&p<=50&&(p++,typeof N=="object"&&(N.placement&&(g=N.placement),N.rects&&(u=N.rects===!0?await i.getElementRects({reference:e,floating:t,strategy:n}):N.rects),{x:d,y:m}=ln(u,g,c)),v=-1)}return{x:d,y:m,placement:g,strategy:n,middlewareData:f}};async function ct(e,t){var o;t===void 0&&(t={});let{x:r,y:n,platform:a,rects:i,elements:s,strategy:c}=e,{boundary:u="clippingAncestors",rootBoundary:d="viewport",elementContext:m="floating",altBoundary:g=!1,padding:f=0}=De(t,e),p=$o(f),x=s[g?m==="floating"?"reference":"floating":m],y=qe(await a.getClippingRect({element:(o=await(a.isElement==null?void 0:a.isElement(x)))==null||o?x:x.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(s.floating)),boundary:u,rootBoundary:d,strategy:c})),P=m==="floating"?{x:r,y:n,width:i.floating.width,height:i.floating.height}:i.reference,R=await(a.getOffsetParent==null?void 0:a.getOffsetParent(s.floating)),C=await(a.isElement==null?void 0:a.isElement(R))?await(a.getScale==null?void 0:a.getScale(R))||{x:1,y:1}:{x:1,y:1},N=qe(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:P,offsetParent:R,strategy:c}):P);return{top:(y.top-N.top+p.top)/C.y,bottom:(N.bottom-y.bottom+p.bottom)/C.y,left:(y.left-N.left+p.left)/C.x,right:(N.right-y.right+p.right)/C.x}}var pn=e=>({name:"arrow",options:e,async fn(t){let{x:o,y:r,placement:n,rects:a,platform:i,elements:s,middlewareData:c}=t,{element:u,padding:d=0}=De(e,t)||{};if(u==null)return{};let m=$o(d),g={x:o,y:r},f=oo(n),p=to(f),v=await i.getDimensions(u),x=f==="y",y=x?"top":"left",P=x?"bottom":"right",R=x?"clientHeight":"clientWidth",C=a.reference[p]+a.reference[f]-g[f]-a.floating[p],N=g[f]-a.reference[f],S=await(i.getOffsetParent==null?void 0:i.getOffsetParent(u)),M=S?S[R]:0;(!M||!await(i.isElement==null?void 0:i.isElement(S)))&&(M=s.floating[R]||a.floating[p]);let L=C/2-N/2,B=M/2-v[p]/2-1,z=Ee(m[y],B),H=Ee(m[P],B),k=z,Z=M-v[p]-H,V=M/2-v[p]/2+L,Y=Qt(k,V,Z),$=!c.arrow&&Ye(n)!=null&&V!==Y&&a.reference[p]/2-(V<k?z:H)-v[p]/2<0,j=$?V<k?V-k:V-Z:0;return{[f]:g[f]+j,data:l({[f]:Y,centerOffset:V-Y-j},$&&{alignmentOffset:j}),reset:$}}});var fn=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var o,r;let{placement:n,middlewareData:a,rects:i,initialPlacement:s,platform:c,elements:u}=t,V=De(e,t),{mainAxis:d=!0,crossAxis:m=!0,fallbackPlacements:g,fallbackStrategy:f="bestFit",fallbackAxisSideDirection:p="none",flipAlignment:v=!0}=V,x=h(V,["mainAxis","crossAxis","fallbackPlacements","fallbackStrategy","fallbackAxisSideDirection","flipAlignment"]);if((o=a.arrow)!=null&&o.alignmentOffset)return{};let y=ke(n),P=Pe(s),R=ke(s)===s,C=await(c.isRTL==null?void 0:c.isRTL(u.floating)),N=g||(R||!v?[Tt(s)]:an(s)),S=p!=="none";!g&&S&&N.push(...sn(s,v,p,C));let M=[s,...N],L=await ct(t,x),B=[],z=((r=a.flip)==null?void 0:r.overflows)||[];if(d&&B.push(L[y]),m){let Y=nn(n,i,C);B.push(L[Y[0]],L[Y[1]])}if(z=[...z,{placement:n,overflows:B}],!B.every(Y=>Y<=0)){var H,k;let Y=(((H=a.flip)==null?void 0:H.index)||0)+1,$=M[Y];if($&&(!(m==="alignment"?P!==Pe($):!1)||z.every(G=>Pe(G.placement)===P?G.overflows[0]>0:!0)))return{data:{index:Y,overflows:z},reset:{placement:$}};let j=(k=z.filter(I=>I.overflows[0]<=0).sort((I,G)=>I.overflows[1]-G.overflows[1])[0])==null?void 0:k.placement;if(!j)switch(f){case"bestFit":{var Z;let I=(Z=z.filter(G=>{if(S){let J=Pe(G.placement);return J===P||J==="y"}return!0}).map(G=>[G.placement,G.overflows.filter(J=>J>0).reduce((J,te)=>J+te,0)]).sort((G,J)=>G[1]-J[1])[0])==null?void 0:Z[0];I&&(j=I);break}case"initialPlacement":j=s;break}if(n!==j)return{reset:{placement:j}}}return{}}}};function cn(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function dn(e){return rn.some(t=>e[t]>=0)}var mn=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){let{rects:o}=t,a=De(e,t),{strategy:r="referenceHidden"}=a,n=h(a,["strategy"]);switch(r){case"referenceHidden":{let i=await ct(t,w(l({},n),{elementContext:"reference"})),s=cn(i,o.reference);return{data:{referenceHiddenOffsets:s,referenceHidden:dn(s)}}}case"escaped":{let i=await ct(t,w(l({},n),{altBoundary:!0})),s=cn(i,o.floating);return{data:{escapedOffsets:s,escaped:dn(s)}}}default:return{}}}}};var gn=new Set(["left","top"]);async function Es(e,t){let{placement:o,platform:r,elements:n}=e,a=await(r.isRTL==null?void 0:r.isRTL(n.floating)),i=ke(o),s=Ye(o),c=Pe(o)==="y",u=gn.has(i)?-1:1,d=a&&c?-1:1,m=De(t,e),{mainAxis:g,crossAxis:f,alignmentAxis:p}=typeof m=="number"?{mainAxis:m,crossAxis:0,alignmentAxis:null}:{mainAxis:m.mainAxis||0,crossAxis:m.crossAxis||0,alignmentAxis:m.alignmentAxis};return s&&typeof p=="number"&&(f=s==="end"?p*-1:p),c?{x:f*d,y:g*u}:{x:g*u,y:f*d}}var bn=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var o,r;let{x:n,y:a,placement:i,middlewareData:s}=t,c=await Es(t,e);return i===((o=s.offset)==null?void 0:o.placement)&&(r=s.arrow)!=null&&r.alignmentOffset?{}:{x:n+c.x,y:a+c.y,data:w(l({},c),{placement:i})}}}},vn=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){let{x:o,y:r,placement:n}=t,x=De(e,t),{mainAxis:a=!0,crossAxis:i=!1,limiter:s={fn:y=>{let{x:P,y:R}=y;return{x:P,y:R}}}}=x,c=h(x,["mainAxis","crossAxis","limiter"]),u={x:o,y:r},d=await ct(t,c),m=Pe(ke(n)),g=eo(m),f=u[g],p=u[m];if(a){let y=g==="y"?"top":"left",P=g==="y"?"bottom":"right",R=f+d[y],C=f-d[P];f=Qt(R,f,C)}if(i){let y=m==="y"?"top":"left",P=m==="y"?"bottom":"right",R=p+d[y],C=p-d[P];p=Qt(R,p,C)}let v=s.fn(w(l({},t),{[g]:f,[m]:p}));return w(l({},v),{data:{x:v.x-o,y:v.y-r,enabled:{[g]:a,[m]:i}}})}}},hn=function(e){return e===void 0&&(e={}),{options:e,fn(t){let{x:o,y:r,placement:n,rects:a,middlewareData:i}=t,{offset:s=0,mainAxis:c=!0,crossAxis:u=!0}=De(e,t),d={x:o,y:r},m=Pe(n),g=eo(m),f=d[g],p=d[m],v=De(s,t),x=typeof v=="number"?{mainAxis:v,crossAxis:0}:l({mainAxis:0,crossAxis:0},v);if(c){let R=g==="y"?"height":"width",C=a.reference[g]-a.floating[R]+x.mainAxis,N=a.reference[g]+a.reference[R]-x.mainAxis;f<C?f=C:f>N&&(f=N)}if(u){var y,P;let R=g==="y"?"width":"height",C=gn.has(ke(n)),N=a.reference[m]-a.floating[R]+(C&&((y=i.offset)==null?void 0:y[m])||0)+(C?0:x.crossAxis),S=a.reference[m]+a.reference[R]+(C?0:((P=i.offset)==null?void 0:P[m])||0)-(C?x.crossAxis:0);p<N?p=N:p>S&&(p=S)}return{[g]:f,[m]:p}}}},xn=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var o,r;let{placement:n,rects:a,platform:i,elements:s}=t,z=De(e,t),{apply:c=()=>{}}=z,u=h(z,["apply"]),d=await ct(t,u),m=ke(n),g=Ye(n),f=Pe(n)==="y",{width:p,height:v}=a.floating,x,y;m==="top"||m==="bottom"?(x=m,y=g===(await(i.isRTL==null?void 0:i.isRTL(s.floating))?"start":"end")?"left":"right"):(y=m,x=g==="end"?"top":"bottom");let P=v-d.top-d.bottom,R=p-d.left-d.right,C=Ee(v-d[x],P),N=Ee(p-d[y],R),S=!t.middlewareData.shift,M=C,L=N;if((o=t.middlewareData.shift)!=null&&o.enabled.x&&(L=R),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(M=P),S&&!g){let H=ie(d.left,0),k=ie(d.right,0),Z=ie(d.top,0),V=ie(d.bottom,0);f?L=p-2*(H!==0||k!==0?H+k:ie(d.left,d.right)):M=v-2*(Z!==0||V!==0?Z+V:ie(d.top,d.bottom))}await c(w(l({},t),{availableWidth:L,availableHeight:M}));let B=await i.getDimensions(s.floating);return p!==B.width||v!==B.height?{reset:{rects:!0}}:{}}}};function ro(){return typeof window!="undefined"}function Je(e){return wn(e)?(e.nodeName||"").toLowerCase():"#document"}function de(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Re(e){var t;return(t=(wn(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function wn(e){return ro()?e instanceof Node||e instanceof de(e).Node:!1}function ve(e){return ro()?e instanceof Element||e instanceof de(e).Element:!1}function Ne(e){return ro()?e instanceof HTMLElement||e instanceof de(e).HTMLElement:!1}function yn(e){return!ro()||typeof ShadowRoot=="undefined"?!1:e instanceof ShadowRoot||e instanceof de(e).ShadowRoot}var Ds=new Set(["inline","contents"]);function dt(e){let{overflow:t,overflowX:o,overflowY:r,display:n}=he(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+o)&&!Ds.has(n)}var ks=new Set(["table","td","th"]);function Cn(e){return ks.has(Je(e))}var Ms=[":popover-open",":modal"];function kt(e){return Ms.some(t=>{try{return e.matches(t)}catch(o){return!1}})}var Bs=["transform","translate","scale","rotate","perspective"],Ls=["transform","translate","scale","rotate","perspective","filter"],Fs=["paint","layout","strict","content"];function no(e){let t=ao(),o=ve(e)?he(e):e;return Bs.some(r=>o[r]?o[r]!=="none":!1)||(o.containerType?o.containerType!=="normal":!1)||!t&&(o.backdropFilter?o.backdropFilter!=="none":!1)||!t&&(o.filter?o.filter!=="none":!1)||Ls.some(r=>(o.willChange||"").includes(r))||Fs.some(r=>(o.contain||"").includes(r))}function Pn(e){let t=Ie(e);for(;Ne(t)&&!Qe(t);){if(no(t))return t;if(kt(t))return null;t=Ie(t)}return null}function ao(){return typeof CSS=="undefined"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}var Os=new Set(["html","body","#document"]);function Qe(e){return Os.has(Je(e))}function he(e){return de(e).getComputedStyle(e)}function Mt(e){return ve(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Ie(e){if(Je(e)==="html")return e;let t=e.assignedSlot||e.parentNode||yn(e)&&e.host||Re(e);return yn(t)?t.host:t}function Rn(e){let t=Ie(e);return Qe(t)?e.ownerDocument?e.ownerDocument.body:e.body:Ne(t)&&dt(t)?t:Rn(t)}function Ke(e,t,o){var r;t===void 0&&(t=[]),o===void 0&&(o=!0);let n=Rn(e),a=n===((r=e.ownerDocument)==null?void 0:r.body),i=de(n);if(a){let s=io(i);return t.concat(i,i.visualViewport||[],dt(n)?n:[],s&&o?Ke(s):[])}return t.concat(n,Ke(n,[],o))}function io(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Tn(e){let t=he(e),o=parseFloat(t.width)||0,r=parseFloat(t.height)||0,n=Ne(e),a=n?e.offsetWidth:o,i=n?e.offsetHeight:r,s=Et(o)!==a||Et(r)!==i;return s&&(o=a,r=i),{width:o,height:r,$:s}}function jo(e){return ve(e)?e:e.contextElement}function ut(e){let t=jo(e);if(!Ne(t))return Ce(1);let o=t.getBoundingClientRect(),{width:r,height:n,$:a}=Tn(t),i=(a?Et(o.width):o.width)/r,s=(a?Et(o.height):o.height)/n;return(!i||!Number.isFinite(i))&&(i=1),(!s||!Number.isFinite(s))&&(s=1),{x:i,y:s}}var Is=Ce(0);function En(e){let t=de(e);return!ao()||!t.visualViewport?Is:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function zs(e,t,o){return t===void 0&&(t=!1),!o||t&&o!==de(e)?!1:t}function et(e,t,o,r){t===void 0&&(t=!1),o===void 0&&(o=!1);let n=e.getBoundingClientRect(),a=jo(e),i=Ce(1);t&&(r?ve(r)&&(i=ut(r)):i=ut(e));let s=zs(a,o,r)?En(a):Ce(0),c=(n.left+s.x)/i.x,u=(n.top+s.y)/i.y,d=n.width/i.x,m=n.height/i.y;if(a){let g=de(a),f=r&&ve(r)?de(r):r,p=g,v=io(p);for(;v&&r&&f!==p;){let x=ut(v),y=v.getBoundingClientRect(),P=he(v),R=y.left+(v.clientLeft+parseFloat(P.paddingLeft))*x.x,C=y.top+(v.clientTop+parseFloat(P.paddingTop))*x.y;c*=x.x,u*=x.y,d*=x.x,m*=x.y,c+=R,u+=C,p=de(v),v=io(p)}}return qe({width:d,height:m,x:c,y:u})}function so(e,t){let o=Mt(e).scrollLeft;return t?t.left+o:et(Re(e)).left+o}function Dn(e,t){let o=e.getBoundingClientRect(),r=o.left+t.scrollLeft-so(e,o),n=o.top+t.scrollTop;return{x:r,y:n}}function _s(e){let{elements:t,rect:o,offsetParent:r,strategy:n}=e,a=n==="fixed",i=Re(r),s=t?kt(t.floating):!1;if(r===i||s&&a)return o;let c={scrollLeft:0,scrollTop:0},u=Ce(1),d=Ce(0),m=Ne(r);if((m||!m&&!a)&&((Je(r)!=="body"||dt(i))&&(c=Mt(r)),Ne(r))){let f=et(r);u=ut(r),d.x=f.x+r.clientLeft,d.y=f.y+r.clientTop}let g=i&&!m&&!a?Dn(i,c):Ce(0);return{width:o.width*u.x,height:o.height*u.y,x:o.x*u.x-c.scrollLeft*u.x+d.x+g.x,y:o.y*u.y-c.scrollTop*u.y+d.y+g.y}}function Ws(e){return Array.from(e.getClientRects())}function Vs(e){let t=Re(e),o=Mt(e),r=e.ownerDocument.body,n=ie(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),a=ie(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight),i=-o.scrollLeft+so(e),s=-o.scrollTop;return he(r).direction==="rtl"&&(i+=ie(t.clientWidth,r.clientWidth)-n),{width:n,height:a,x:i,y:s}}var Nn=25;function Hs(e,t){let o=de(e),r=Re(e),n=o.visualViewport,a=r.clientWidth,i=r.clientHeight,s=0,c=0;if(n){a=n.width,i=n.height;let d=ao();(!d||d&&t==="fixed")&&(s=n.offsetLeft,c=n.offsetTop)}let u=so(r);if(u<=0){let d=r.ownerDocument,m=d.body,g=getComputedStyle(m),f=d.compatMode==="CSS1Compat"&&parseFloat(g.marginLeft)+parseFloat(g.marginRight)||0,p=Math.abs(r.clientWidth-m.clientWidth-f);p<=Nn&&(a-=p)}else u<=Nn&&(a+=u);return{width:a,height:i,x:s,y:c}}var $s=new Set(["absolute","fixed"]);function Us(e,t){let o=et(e,!0,t==="fixed"),r=o.top+e.clientTop,n=o.left+e.clientLeft,a=Ne(e)?ut(e):Ce(1),i=e.clientWidth*a.x,s=e.clientHeight*a.y,c=n*a.x,u=r*a.y;return{width:i,height:s,x:c,y:u}}function Sn(e,t,o){let r;if(t==="viewport")r=Hs(e,o);else if(t==="document")r=Vs(Re(e));else if(ve(t))r=Us(t,o);else{let n=En(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return qe(r)}function kn(e,t){let o=Ie(e);return o===t||!ve(o)||Qe(o)?!1:he(o).position==="fixed"||kn(o,t)}function js(e,t){let o=t.get(e);if(o)return o;let r=Ke(e,[],!1).filter(s=>ve(s)&&Je(s)!=="body"),n=null,a=he(e).position==="fixed",i=a?Ie(e):e;for(;ve(i)&&!Qe(i);){let s=he(i),c=no(i);!c&&s.position==="fixed"&&(n=null),(a?!c&&!n:!c&&s.position==="static"&&!!n&&$s.has(n.position)||dt(i)&&!c&&kn(e,i))?r=r.filter(d=>d!==i):n=s,i=Ie(i)}return t.set(e,r),r}function Gs(e){let{element:t,boundary:o,rootBoundary:r,strategy:n}=e,i=[...o==="clippingAncestors"?kt(t)?[]:js(t,this._c):[].concat(o),r],s=i[0],c=i.reduce((u,d)=>{let m=Sn(t,d,n);return u.top=ie(m.top,u.top),u.right=Ee(m.right,u.right),u.bottom=Ee(m.bottom,u.bottom),u.left=ie(m.left,u.left),u},Sn(t,s,n));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function Zs(e){let{width:t,height:o}=Tn(e);return{width:t,height:o}}function Xs(e,t,o){let r=Ne(t),n=Re(t),a=o==="fixed",i=et(e,!0,a,t),s={scrollLeft:0,scrollTop:0},c=Ce(0);function u(){c.x=so(n)}if(r||!r&&!a)if((Je(t)!=="body"||dt(n))&&(s=Mt(t)),r){let f=et(t,!0,a,t);c.x=f.x+t.clientLeft,c.y=f.y+t.clientTop}else n&&u();a&&!r&&n&&u();let d=n&&!r&&!a?Dn(n,s):Ce(0),m=i.left+s.scrollLeft-c.x-d.x,g=i.top+s.scrollTop-c.y-d.y;return{x:m,y:g,width:i.width,height:i.height}}function Uo(e){return he(e).position==="static"}function An(e,t){if(!Ne(e)||he(e).position==="fixed")return null;if(t)return t(e);let o=e.offsetParent;return Re(e)===o&&(o=o.ownerDocument.body),o}function Mn(e,t){let o=de(e);if(kt(e))return o;if(!Ne(e)){let n=Ie(e);for(;n&&!Qe(n);){if(ve(n)&&!Uo(n))return n;n=Ie(n)}return o}let r=An(e,t);for(;r&&Cn(r)&&Uo(r);)r=An(r,t);return r&&Qe(r)&&Uo(r)&&!no(r)?o:r||Pn(e)||o}var Ys=async function(e){let t=this.getOffsetParent||Mn,o=this.getDimensions,r=await o(e.floating);return{reference:Xs(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function qs(e){return he(e).direction==="rtl"}var Bn={convertOffsetParentRelativeRectToViewportRelativeRect:_s,getDocumentElement:Re,getClippingRect:Gs,getOffsetParent:Mn,getElementRects:Ys,getClientRects:Ws,getDimensions:Zs,getScale:ut,isElement:ve,isRTL:qs};function Ln(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Ks(e,t){let o=null,r,n=Re(e);function a(){var s;clearTimeout(r),(s=o)==null||s.disconnect(),o=null}function i(s,c){s===void 0&&(s=!1),c===void 0&&(c=1),a();let u=e.getBoundingClientRect(),{left:d,top:m,width:g,height:f}=u;if(s||t(),!g||!f)return;let p=Dt(m),v=Dt(n.clientWidth-(d+g)),x=Dt(n.clientHeight-(m+f)),y=Dt(d),R={rootMargin:-p+"px "+-v+"px "+-x+"px "+-y+"px",threshold:ie(0,Ee(1,c))||1},C=!0;function N(S){let M=S[0].intersectionRatio;if(M!==c){if(!C)return i();M?i(!1,M):r=setTimeout(()=>{i(!1,1e-7)},1e3)}M===1&&!Ln(u,e.getBoundingClientRect())&&i(),C=!1}try{o=new IntersectionObserver(N,w(l({},R),{root:n.ownerDocument}))}catch(S){o=new IntersectionObserver(N,R)}o.observe(e)}return i(!0),a}function Go(e,t,o,r){r===void 0&&(r={});let{ancestorScroll:n=!0,ancestorResize:a=!0,elementResize:i=typeof ResizeObserver=="function",layoutShift:s=typeof IntersectionObserver=="function",animationFrame:c=!1}=r,u=jo(e),d=n||a?[...u?Ke(u):[],...Ke(t)]:[];d.forEach(y=>{n&&y.addEventListener("scroll",o,{passive:!0}),a&&y.addEventListener("resize",o)});let m=u&&s?Ks(u,o):null,g=-1,f=null;i&&(f=new ResizeObserver(y=>{let[P]=y;P&&P.target===u&&f&&(f.unobserve(t),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var R;(R=f)==null||R.observe(t)})),o()}),u&&!c&&f.observe(u),f.observe(t));let p,v=c?et(e):null;c&&x();function x(){let y=et(e);v&&!Ln(v,y)&&o(),v=y,p=requestAnimationFrame(x)}return o(),()=>{var y;d.forEach(P=>{n&&P.removeEventListener("scroll",o),a&&P.removeEventListener("resize",o)}),m==null||m(),(y=f)==null||y.disconnect(),f=null,c&&cancelAnimationFrame(p)}}var Fn=bn;var On=vn,In=fn,zn=xn,_n=mn,Zo=pn;var Wn=hn,Xo=(e,t,o)=>{let r=new Map,n=l({platform:Bn},o),a=w(l({},n.platform),{_c:r});return un(e,t,w(l({},n),{platform:a}))};import*as ee from"react";import{useLayoutEffect as Js}from"react";import*as Hn from"react-dom";var Qs=typeof document!="undefined",el=function(){},lo=Qs?Js:el;function co(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let o,r,n;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(o=e.length,o!==t.length)return!1;for(r=o;r--!==0;)if(!co(e[r],t[r]))return!1;return!0}if(n=Object.keys(e),o=n.length,o!==Object.keys(t).length)return!1;for(r=o;r--!==0;)if(!{}.hasOwnProperty.call(t,n[r]))return!1;for(r=o;r--!==0;){let a=n[r];if(!(a==="_owner"&&e.$$typeof)&&!co(e[a],t[a]))return!1}return!0}return e!==e&&t!==t}function $n(e){return typeof window=="undefined"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Vn(e,t){let o=$n(e);return Math.round(t*o)/o}function Yo(e){let t=ee.useRef(e);return lo(()=>{t.current=e}),t}function Un(e){e===void 0&&(e={});let{placement:t="bottom",strategy:o="absolute",middleware:r=[],platform:n,elements:{reference:a,floating:i}={},transform:s=!0,whileElementsMounted:c,open:u}=e,[d,m]=ee.useState({x:0,y:0,strategy:o,placement:t,middlewareData:{},isPositioned:!1}),[g,f]=ee.useState(r);co(g,r)||f(r);let[p,v]=ee.useState(null),[x,y]=ee.useState(null),P=ee.useCallback(I=>{I!==S.current&&(S.current=I,v(I))},[]),R=ee.useCallback(I=>{I!==M.current&&(M.current=I,y(I))},[]),C=a||p,N=i||x,S=ee.useRef(null),M=ee.useRef(null),L=ee.useRef(d),B=c!=null,z=Yo(c),H=Yo(n),k=Yo(u),Z=ee.useCallback(()=>{if(!S.current||!M.current)return;let I={placement:t,strategy:o,middleware:g};H.current&&(I.platform=H.current),Xo(S.current,M.current,I).then(G=>{let J=w(l({},G),{isPositioned:k.current!==!1});V.current&&!co(L.current,J)&&(L.current=J,Hn.flushSync(()=>{m(J)}))})},[g,t,o,H,k]);lo(()=>{u===!1&&L.current.isPositioned&&(L.current.isPositioned=!1,m(I=>w(l({},I),{isPositioned:!1})))},[u]);let V=ee.useRef(!1);lo(()=>(V.current=!0,()=>{V.current=!1}),[]),lo(()=>{if(C&&(S.current=C),N&&(M.current=N),C&&N){if(z.current)return z.current(C,N,Z);Z()}},[C,N,Z,z,B]);let Y=ee.useMemo(()=>({reference:S,floating:M,setReference:P,setFloating:R}),[P,R]),$=ee.useMemo(()=>({reference:C,floating:N}),[C,N]),j=ee.useMemo(()=>{let I={position:o,left:0,top:0};if(!$.floating)return I;let G=Vn($.floating,d.x),J=Vn($.floating,d.y);return s?l(w(l({},I),{transform:"translate("+G+"px, "+J+"px)"}),$n($.floating)>=1.5&&{willChange:"transform"}):{position:o,left:G,top:J}},[o,s,$.floating,d.x,d.y]);return ee.useMemo(()=>w(l({},d),{update:Z,refs:Y,elements:$,floatingStyles:j}),[d,Z,Y,$,j])}var tl=e=>{function t(o){return{}.hasOwnProperty.call(o,"current")}return{name:"arrow",options:e,fn(o){let{element:r,padding:n}=typeof e=="function"?e(o):e;return r&&t(r)?r.current!=null?Zo({element:r.current,padding:n}).fn(o):{}:r?Zo({element:r,padding:n}).fn(o):{}}}},jn=(e,t)=>w(l({},Fn(e)),{options:[e,t]}),Gn=(e,t)=>w(l({},On(e)),{options:[e,t]}),Zn=(e,t)=>w(l({},Wn(e)),{options:[e,t]}),Xn=(e,t)=>w(l({},In(e)),{options:[e,t]}),Yn=(e,t)=>w(l({},zn(e)),{options:[e,t]});var qn=(e,t)=>w(l({},_n(e)),{options:[e,t]});var Kn=(e,t)=>w(l({},tl(e)),{options:[e,t]});import*as Qn from"react";import{jsx as Jn}from"react/jsx-runtime";var ol="Arrow",ea=Qn.forwardRef((e,t)=>{let i=e,{children:o,width:r=10,height:n=5}=i,a=h(i,["children","width","height"]);return Jn(le.svg,w(l({},a),{ref:t,width:r,height:n,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?o:Jn("polygon",{points:"0,0 30,0 15,10"})}))});ea.displayName=ol;var ta=ea;import*as oa from"react";function ra(e){let[t,o]=oa.useState(void 0);return ce(()=>{if(e){o({width:e.offsetWidth,height:e.offsetHeight});let r=new ResizeObserver(n=>{if(!Array.isArray(n)||!n.length)return;let a=n[0],i,s;if("borderBoxSize"in a){let c=a.borderBoxSize,u=Array.isArray(c)?c[0]:c;i=u.inlineSize,s=u.blockSize}else i=e.offsetWidth,s=e.offsetHeight;o({width:i,height:s})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else o(void 0)},[e]),t}import{jsx as tt}from"react/jsx-runtime";var qo="Popper",[na,Ko]=Kt(qo),[nl,aa]=na(qo),ia=e=>{let{__scopePopper:t,children:o}=e,[r,n]=ue.useState(null);return tt(nl,{scope:t,anchor:r,onAnchorChange:n,children:o})};ia.displayName=qo;var sa="PopperAnchor",la=ue.forwardRef((e,t)=>{let u=e,{__scopePopper:o,virtualRef:r}=u,n=h(u,["__scopePopper","virtualRef"]),a=aa(sa,o),i=ue.useRef(null),s=we(t,i),c=ue.useRef(null);return ue.useEffect(()=>{let d=c.current;c.current=(r==null?void 0:r.current)||i.current,d!==c.current&&a.onAnchorChange(c.current)}),r?null:tt(le.div,w(l({},n),{ref:s}))});la.displayName=sa;var Jo="PopperContent",[al,il]=na(Jo),ca=ue.forwardRef((e,t)=>{var Ct,Pt,Ao,gr,br,vr,hr,xr;let wt=e,{__scopePopper:o,side:r="bottom",sideOffset:n=0,align:a="center",alignOffset:i=0,arrowPadding:s=0,avoidCollisions:c=!0,collisionBoundary:u=[],collisionPadding:d=0,sticky:m="partial",hideWhenDetached:g=!1,updatePositionStrategy:f="optimized",onPlaced:p}=wt,v=h(wt,["__scopePopper","side","sideOffset","align","alignOffset","arrowPadding","avoidCollisions","collisionBoundary","collisionPadding","sticky","hideWhenDetached","updatePositionStrategy","onPlaced"]),x=aa(Jo,o),[y,P]=ue.useState(null),R=we(t,Rt=>P(Rt)),[C,N]=ue.useState(null),S=ra(C),M=(Ct=S==null?void 0:S.width)!=null?Ct:0,L=(Pt=S==null?void 0:S.height)!=null?Pt:0,B=r+(a!=="center"?"-"+a:""),z=typeof d=="number"?d:l({top:0,right:0,bottom:0,left:0},d),H=Array.isArray(u)?u:[u],k=H.length>0,Z={padding:z,boundary:H.filter(ll),altBoundary:k},{refs:V,floatingStyles:Y,placement:$,isPositioned:j,middlewareData:I}=Un({strategy:"fixed",placement:B,whileElementsMounted:(...Rt)=>Go(...Rt,{animationFrame:f==="always"}),elements:{reference:x.anchor},middleware:[jn({mainAxis:n+L,alignmentAxis:i}),c&&Gn(l({mainAxis:!0,crossAxis:!1,limiter:m==="partial"?Zn():void 0},Z)),c&&Xn(l({},Z)),Yn(w(l({},Z),{apply:({elements:Rt,rects:yr,availableWidth:ri,availableHeight:ni})=>{let{width:ai,height:ii}=yr.reference,Vt=Rt.floating.style;Vt.setProperty("--radix-popper-available-width",`${ri}px`),Vt.setProperty("--radix-popper-available-height",`${ni}px`),Vt.setProperty("--radix-popper-anchor-width",`${ai}px`),Vt.setProperty("--radix-popper-anchor-height",`${ii}px`)}})),C&&Kn({element:C,padding:s}),cl({arrowWidth:M,arrowHeight:L}),g&&qn(l({strategy:"referenceHidden"},Z))]}),[G,J]=pa($),te=Xe(p);ce(()=>{j&&(te==null||te())},[j,te]);let Ot=(Ao=I.arrow)==null?void 0:Ao.x,It=(gr=I.arrow)==null?void 0:gr.y,zt=((br=I.arrow)==null?void 0:br.centerOffset)!==0,[_t,Wt]=ue.useState();return ce(()=>{y&&Wt(window.getComputedStyle(y).zIndex)},[y]),tt("div",{ref:V.setFloating,"data-radix-popper-content-wrapper":"",style:l(w(l({},Y),{transform:j?Y.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:_t,"--radix-popper-transform-origin":[(vr=I.transformOrigin)==null?void 0:vr.x,(hr=I.transformOrigin)==null?void 0:hr.y].join(" ")}),((xr=I.hide)==null?void 0:xr.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}),dir:e.dir,children:tt(al,{scope:o,placedSide:G,onArrowChange:N,arrowX:Ot,arrowY:It,shouldHideArrow:zt,children:tt(le.div,w(l({"data-side":G,"data-align":J},v),{ref:R,style:w(l({},v.style),{animation:j?void 0:"none"})}))})})});ca.displayName=Jo;var da="PopperArrow",sl={top:"bottom",right:"left",bottom:"top",left:"right"},ua=ue.forwardRef(function(t,o){let s=t,{__scopePopper:r}=s,n=h(s,["__scopePopper"]),a=il(da,r),i=sl[a.placedSide];return tt("span",{ref:a.onArrowChange,style:{position:"absolute",left:a.arrowX,top:a.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[a.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[a.placedSide],visibility:a.shouldHideArrow?"hidden":void 0},children:tt(ta,w(l({},n),{ref:o,style:w(l({},n.style),{display:"block"})}))})});ua.displayName=da;function ll(e){return e!==null}var cl=e=>({name:"transformOrigin",options:e,fn(t){var x,y,P,R,C;let{placement:o,rects:r,middlewareData:n}=t,i=((x=n.arrow)==null?void 0:x.centerOffset)!==0,s=i?0:e.arrowWidth,c=i?0:e.arrowHeight,[u,d]=pa(o),m={start:"0%",center:"50%",end:"100%"}[d],g=((P=(y=n.arrow)==null?void 0:y.x)!=null?P:0)+s/2,f=((C=(R=n.arrow)==null?void 0:R.y)!=null?C:0)+c/2,p="",v="";return u==="bottom"?(p=i?m:`${g}px`,v=`${-c}px`):u==="top"?(p=i?m:`${g}px`,v=`${r.floating.height+c}px`):u==="right"?(p=`${-c}px`,v=i?m:`${f}px`):u==="left"&&(p=`${r.floating.width+c}px`,v=i?m:`${f}px`),{data:{x:p,y:v}}}});function pa(e){let[t,o="center"]=e.split("-");return[t,o]}var fa=ia,ma=la,ga=ca,ba=ua;import*as uo from"react";import ul from"react-dom";import{jsx as pl}from"react/jsx-runtime";var fl="Portal",Qo=uo.forwardRef((e,t)=>{var c;let s=e,{container:o}=s,r=h(s,["container"]),[n,a]=uo.useState(!1);ce(()=>a(!0),[]);let i=o||n&&((c=globalThis==null?void 0:globalThis.document)==null?void 0:c.body);return i?ul.createPortal(pl(le.div,w(l({},r),{ref:t})),i):null});Qo.displayName=fl;import*as pe from"react";import*as va from"react";function ml(e,t){return va.useReducer((o,r)=>{let n=t[o][r];return n!=null?n:o},e)}var fo=e=>{let{present:t,children:o}=e,r=gl(t),n=typeof o=="function"?o({present:r.isPresent}):pe.Children.only(o),a=we(r.ref,bl(n));return typeof o=="function"||r.isPresent?pe.cloneElement(n,{ref:a}):null};fo.displayName="Presence";function gl(e){let[t,o]=pe.useState(),r=pe.useRef(null),n=pe.useRef(e),a=pe.useRef("none"),i=e?"mounted":"unmounted",[s,c]=ml(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return pe.useEffect(()=>{let u=po(r.current);a.current=s==="mounted"?u:"none"},[s]),ce(()=>{let u=r.current,d=n.current;if(d!==e){let g=a.current,f=po(u);e?c("MOUNT"):f==="none"||(u==null?void 0:u.display)==="none"?c("UNMOUNT"):c(d&&g!==f?"ANIMATION_OUT":"UNMOUNT"),n.current=e}},[e,c]),ce(()=>{var u;if(t){let d,m=(u=t.ownerDocument.defaultView)!=null?u:window,g=p=>{let x=po(r.current).includes(CSS.escape(p.animationName));if(p.target===t&&x&&(c("ANIMATION_END"),!n.current)){let y=t.style.animationFillMode;t.style.animationFillMode="forwards",d=m.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=y)})}},f=p=>{p.target===t&&(a.current=po(r.current))};return t.addEventListener("animationstart",f),t.addEventListener("animationcancel",g),t.addEventListener("animationend",g),()=>{m.clearTimeout(d),t.removeEventListener("animationstart",f),t.removeEventListener("animationcancel",g),t.removeEventListener("animationend",g)}}else c("ANIMATION_END")},[t,c]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:pe.useCallback(u=>{r.current=u?getComputedStyle(u):null,o(u)},[])}}function po(e){return(e==null?void 0:e.animationName)||"none"}function bl(e){var r,n;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,o=t&&"isReactWarning"in t&&t.isReactWarning;return o?e.ref:(t=(n=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:n.get,o=t&&"isReactWarning"in t&&t.isReactWarning,o?e.props.ref:e.props.ref||e.ref)}import{createSlottable as Rl}from"@radix-ui/react-slot";import*as xe from"react";import*as mo from"react";var vl=xe[" useInsertionEffect ".trim().toString()]||ce;function ha({prop:e,defaultProp:t,onChange:o=()=>{},caller:r}){let[n,a,i]=hl({defaultProp:t,onChange:o}),s=e!==void 0,c=s?e:n;{let d=xe.useRef(e!==void 0);xe.useEffect(()=>{let m=d.current;m!==s&&console.warn(`${r} is changing from ${m?"controlled":"uncontrolled"} to ${s?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),d.current=s},[s,r])}let u=xe.useCallback(d=>{var m;if(s){let g=xl(d)?d(e):d;g!==e&&((m=i.current)==null||m.call(i,g))}else a(d)},[s,e,a,i]);return[c,u]}function hl({defaultProp:e,onChange:t}){let[o,r]=xe.useState(e),n=xe.useRef(o),a=xe.useRef(t);return vl(()=>{a.current=t},[t]),xe.useEffect(()=>{var i;n.current!==o&&((i=a.current)==null||i.call(a,o),n.current=o)},[o,n]),[o,r,a]}function xl(e){return typeof e=="function"}import*as xa from"react";import{jsx as yl}from"react/jsx-runtime";var wl=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),Cl="VisuallyHidden",ya=xa.forwardRef((e,t)=>yl(le.span,w(l({},e),{ref:t,style:l(l({},wl),e.style)})));ya.displayName=Cl;var wa=ya;import{jsx as ne,jsxs as Nl}from"react/jsx-runtime";var[go,Dm]=Kt("Tooltip",[Ko]),bo=Ko(),Ca="TooltipProvider",Sl=700,er="tooltip.open",[Al,or]=go(Ca),Pa=e=>{let{__scopeTooltip:t,delayDuration:o=Sl,skipDelayDuration:r=300,disableHoverableContent:n=!1,children:a}=e,i=F.useRef(!0),s=F.useRef(!1),c=F.useRef(0);return F.useEffect(()=>{let u=c.current;return()=>window.clearTimeout(u)},[]),ne(Al,{scope:t,isOpenDelayedRef:i,delayDuration:o,onOpen:F.useCallback(()=>{window.clearTimeout(c.current),i.current=!1},[]),onClose:F.useCallback(()=>{window.clearTimeout(c.current),c.current=window.setTimeout(()=>i.current=!0,r)},[r]),isPointerInTransitRef:s,onPointerInTransitChange:F.useCallback(u=>{s.current=u},[]),disableHoverableContent:n,children:a})};Pa.displayName=Ca;var Bt="Tooltip",[Tl,Lt]=go(Bt),Ra=e=>{let{__scopeTooltip:t,children:o,open:r,defaultOpen:n,onOpenChange:a,disableHoverableContent:i,delayDuration:s}=e,c=or(Bt,e.__scopeTooltip),u=bo(t),[d,m]=F.useState(null),g=en(),f=F.useRef(0),p=i!=null?i:c.disableHoverableContent,v=s!=null?s:c.delayDuration,x=F.useRef(!1),[y,P]=ha({prop:r,defaultProp:n!=null?n:!1,onChange:M=>{M?(c.onOpen(),document.dispatchEvent(new CustomEvent(er))):c.onClose(),a==null||a(M)},caller:Bt}),R=F.useMemo(()=>y?x.current?"delayed-open":"instant-open":"closed",[y]),C=F.useCallback(()=>{window.clearTimeout(f.current),f.current=0,x.current=!1,P(!0)},[P]),N=F.useCallback(()=>{window.clearTimeout(f.current),f.current=0,P(!1)},[P]),S=F.useCallback(()=>{window.clearTimeout(f.current),f.current=window.setTimeout(()=>{x.current=!0,P(!0),f.current=0},v)},[v,P]);return F.useEffect(()=>()=>{f.current&&(window.clearTimeout(f.current),f.current=0)},[]),ne(fa,w(l({},u),{children:ne(Tl,{scope:t,contentId:g,open:y,stateAttribute:R,trigger:d,onTriggerChange:m,onTriggerEnter:F.useCallback(()=>{c.isOpenDelayedRef.current?S():C()},[c.isOpenDelayedRef,S,C]),onTriggerLeave:F.useCallback(()=>{p?N():(window.clearTimeout(f.current),f.current=0)},[N,p]),onOpen:C,onClose:N,disableHoverableContent:p,children:o})}))};Ra.displayName=Bt;var tr="TooltipTrigger",Na=F.forwardRef((e,t)=>{let g=e,{__scopeTooltip:o}=g,r=h(g,["__scopeTooltip"]),n=Lt(tr,o),a=or(tr,o),i=bo(o),s=F.useRef(null),c=we(t,s,n.onTriggerChange),u=F.useRef(!1),d=F.useRef(!1),m=F.useCallback(()=>u.current=!1,[]);return F.useEffect(()=>()=>document.removeEventListener("pointerup",m),[m]),ne(ma,w(l({asChild:!0},i),{children:ne(le.button,w(l({"aria-describedby":n.open?n.contentId:void 0,"data-state":n.stateAttribute},r),{ref:c,onPointerMove:ye(e.onPointerMove,f=>{f.pointerType!=="touch"&&!d.current&&!a.isPointerInTransitRef.current&&(n.onTriggerEnter(),d.current=!0)}),onPointerLeave:ye(e.onPointerLeave,()=>{n.onTriggerLeave(),d.current=!1}),onPointerDown:ye(e.onPointerDown,()=>{n.open&&n.onClose(),u.current=!0,document.addEventListener("pointerup",m,{once:!0})}),onFocus:ye(e.onFocus,()=>{u.current||n.onOpen()}),onBlur:ye(e.onBlur,n.onClose),onClick:ye(e.onClick,n.onClose)}))}))});Na.displayName=tr;var rr="TooltipPortal",[El,Dl]=go(rr,{forceMount:void 0}),Sa=e=>{let{__scopeTooltip:t,forceMount:o,children:r,container:n}=e,a=Lt(rr,t);return ne(El,{scope:t,forceMount:o,children:ne(fo,{present:o||a.open,children:ne(Qo,{asChild:!0,container:n,children:r})})})};Sa.displayName=rr;var pt="TooltipContent",Aa=F.forwardRef((e,t)=>{let o=Dl(pt,e.__scopeTooltip),s=e,{forceMount:r=o.forceMount,side:n="top"}=s,a=h(s,["forceMount","side"]),i=Lt(pt,e.__scopeTooltip);return ne(fo,{present:r||i.open,children:i.disableHoverableContent?ne(Ta,w(l({side:n},a),{ref:t})):ne(kl,w(l({side:n},a),{ref:t}))})}),kl=F.forwardRef((e,t)=>{let o=Lt(pt,e.__scopeTooltip),r=or(pt,e.__scopeTooltip),n=F.useRef(null),a=we(t,n),[i,s]=F.useState(null),{trigger:c,onClose:u}=o,d=n.current,{onPointerInTransitChange:m}=r,g=F.useCallback(()=>{s(null),m(!1)},[m]),f=F.useCallback((p,v)=>{let x=p.currentTarget,y={x:p.clientX,y:p.clientY},P=Fl(y,x.getBoundingClientRect()),R=Ol(y,P),C=Il(v.getBoundingClientRect()),N=_l([...R,...C]);s(N),m(!0)},[m]);return F.useEffect(()=>()=>g(),[g]),F.useEffect(()=>{if(c&&d){let p=x=>f(x,d),v=x=>f(x,c);return c.addEventListener("pointerleave",p),d.addEventListener("pointerleave",v),()=>{c.removeEventListener("pointerleave",p),d.removeEventListener("pointerleave",v)}}},[c,d,f,g]),F.useEffect(()=>{if(i){let p=v=>{let x=v.target,y={x:v.clientX,y:v.clientY},P=(c==null?void 0:c.contains(x))||(d==null?void 0:d.contains(x)),R=!zl(y,i);P?g():R&&(g(),u())};return document.addEventListener("pointermove",p),()=>document.removeEventListener("pointermove",p)}},[c,d,i,u,g]),ne(Ta,w(l({},e),{ref:a}))}),[Ml,Bl]=go(Bt,{isInside:!1}),Ll=Rl("TooltipContent"),Ta=F.forwardRef((e,t)=>{let m=e,{__scopeTooltip:o,children:r,"aria-label":n,onEscapeKeyDown:a,onPointerDownOutside:i}=m,s=h(m,["__scopeTooltip","children","aria-label","onEscapeKeyDown","onPointerDownOutside"]),c=Lt(pt,o),u=bo(o),{onClose:d}=c;return F.useEffect(()=>(document.addEventListener(er,d),()=>document.removeEventListener(er,d)),[d]),F.useEffect(()=>{if(c.trigger){let g=f=>{let p=f.target;p!=null&&p.contains(c.trigger)&&d()};return window.addEventListener("scroll",g,{capture:!0}),()=>window.removeEventListener("scroll",g,{capture:!0})}},[c.trigger,d]),ne(Vo,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:a,onPointerDownOutside:i,onFocusOutside:g=>g.preventDefault(),onDismiss:d,children:Nl(ga,w(l(l({"data-state":c.stateAttribute},u),s),{ref:t,style:w(l({},s.style),{"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"}),children:[ne(Ll,{children:r}),ne(Ml,{scope:o,isInside:!0,children:ne(wa,{id:c.contentId,role:"tooltip",children:n||r})})]}))})});Aa.displayName=pt;var Ea="TooltipArrow",Da=F.forwardRef((e,t)=>{let i=e,{__scopeTooltip:o}=i,r=h(i,["__scopeTooltip"]),n=bo(o);return Bl(Ea,o).isInside?null:ne(ba,w(l(l({},n),r),{ref:t}))});Da.displayName=Ea;function Fl(e,t){let o=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),n=Math.abs(t.right-e.x),a=Math.abs(t.left-e.x);switch(Math.min(o,r,n,a)){case a:return"left";case n:return"right";case o:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function Ol(e,t,o=5){let r=[];switch(t){case"top":r.push({x:e.x-o,y:e.y+o},{x:e.x+o,y:e.y+o});break;case"bottom":r.push({x:e.x-o,y:e.y-o},{x:e.x+o,y:e.y-o});break;case"left":r.push({x:e.x+o,y:e.y-o},{x:e.x+o,y:e.y+o});break;case"right":r.push({x:e.x-o,y:e.y-o},{x:e.x-o,y:e.y+o});break}return r}function Il(e){let{top:t,right:o,bottom:r,left:n}=e;return[{x:n,y:t},{x:o,y:t},{x:o,y:r},{x:n,y:r}]}function zl(e,t){let{x:o,y:r}=e,n=!1;for(let a=0,i=t.length-1;a<t.length;i=a++){let s=t[a],c=t[i],u=s.x,d=s.y,m=c.x,g=c.y;d>r!=g>r&&o<(m-u)*(r-d)/(g-d)+u&&(n=!n)}return n}function _l(e){let t=e.slice();return t.sort((o,r)=>o.x<r.x?-1:o.x>r.x?1:o.y<r.y?-1:o.y>r.y?1:0),Wl(t)}function Wl(e){if(e.length<=1)return e.slice();let t=[];for(let r=0;r<e.length;r++){let n=e[r];for(;t.length>=2;){let a=t[t.length-1],i=t[t.length-2];if((a.x-i.x)*(n.y-i.y)>=(a.y-i.y)*(n.x-i.x))t.pop();else break}t.push(n)}t.pop();let o=[];for(let r=e.length-1;r>=0;r--){let n=e[r];for(;o.length>=2;){let a=o[o.length-1],i=o[o.length-2];if((a.x-i.x)*(n.y-i.y)>=(a.y-i.y)*(n.x-i.x))o.pop();else break}o.push(n)}return o.pop(),t.length===1&&o.length===1&&t[0].x===o[0].x&&t[0].y===o[0].y?t:t.concat(o)}var ka=Pa,Ma=Ra,Ba=Na,La=Sa,Fa=Aa,Oa=Da;import{jsx as ft,jsxs as $l}from"react/jsx-runtime";function Hl(o){var r=o,{delayDuration:e=0}=r,t=h(r,["delayDuration"]);return ft(ka,l({"data-slot":"tooltip-provider",delayDuration:e},t))}function Lm(r){var n=r,{tokens:e,platform:t="web"}=n,o=h(n,["tokens","platform"]);return ft(Hl,{children:ft(Ma,l({"data-slot":"tooltip"},o))})}function Fm(t){var e=h(t,[]);return ft(Ba,l({"data-slot":"tooltip-trigger"},e))}function Om(i){var s=i,{className:e,sideOffset:t=4,tokens:o,platform:r="web",children:n}=s,a=h(s,["className","sideOffset","tokens","platform","children"]);let c=E(),u=D({componentName:"tooltip",tokens:o},c),d=r==="web"?A(u):T(u);return ft(La,{children:$l(Fa,w(l({"data-slot":"tooltip-content",sideOffset:t,className:b("animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-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 z-50 w-fit rounded-md px-3 py-1.5 text-xs",e),style:d},a),{children:[n,ft(Oa,{className:"z-50 size-2.5 translate-y-[calc(-50%_-_2px)] rotate-45 rounded-[2px]",style:{backgroundColor:d.backgroundColor,fill:d.backgroundColor}})]}))})}import{Slot as Ul}from"@radix-ui/react-slot";import{jsx as se,jsxs as Ia}from"react/jsx-runtime";var jl="w-full max-w-[1184px] min-h-[77px] flex items-center gap-4 rounded-[12px] border px-4 py-4 sm:pr-6 opacity-100",Gl=W(jl,{variants:{size:{full:"",compact:"max-w-[360px]"}},defaultVariants:{size:"full"}}),Zl="shrink-0 flex items-center justify-center w-[44px] h-[44px] rounded-[8px]";function Xl({tone:e}){return e==="success"?se("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none","aria-hidden":"true",children:se("path",{d:"M22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12ZM15.4746 8.91992C15.154 8.65763 14.6822 8.70481 14.4199 9.02539L10.4443 13.8838L9.03027 12.4697C8.73738 12.1768 8.26262 12.1768 7.96973 12.4697C7.67683 12.7626 7.67683 13.2374 7.96973 13.5303L9.96973 15.5303C10.1195 15.68 10.3256 15.7595 10.5371 15.749C10.7487 15.7385 10.9459 15.6386 11.0801 15.4746L15.5801 9.97461C15.8424 9.65403 15.7952 9.18222 15.4746 8.91992Z",fill:"currentColor"})}):e==="warning"?se("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none","aria-hidden":"true",children:se("path",{d:"M9.636 3.25806C10.7019 1.46533 13.2976 1.46533 14.3635 3.25806L21.8479 15.845C22.9374 17.678 21.6162 20.0002 19.4837 20.0002H4.51588C2.38335 20.0001 1.06285 17.678 2.1526 15.845L9.636 3.25806ZM11.2503 8.75024V12.7502C11.2504 13.1644 11.5861 13.5002 12.0003 13.5002C12.4143 13.5001 12.7501 13.1643 12.7503 12.7502V8.75024C12.7503 8.33612 12.4143 8.00039 12.0003 8.00024C11.586 8.00024 11.2503 8.33603 11.2503 8.75024ZM12.0003 16.5002C12.5523 16.5001 13.0001 16.0523 13.0003 15.5002C13.0003 14.9823 12.6063 14.5561 12.1018 14.5051L12.0003 14.5002C11.4825 14.5002 11.0564 14.8935 11.0051 15.3977L11.0003 15.5002L11.0051 15.6018C11.0561 16.1063 11.4823 16.5002 12.0003 16.5002Z",fill:"currentColor"})}):e==="error"?se("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none","aria-hidden":"true",children:se("path",{d:"M22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12ZM15.5303 8.46973C15.2374 8.17683 14.7626 8.17683 14.4697 8.46973L12 10.9395L9.53027 8.46973C9.23738 8.17683 8.76262 8.17683 8.46973 8.46973C8.17683 8.76262 8.17683 9.23738 8.46973 9.53027L10.9395 12L8.46973 14.4697C8.17683 14.7626 8.17683 15.2374 8.46973 15.5303C8.76262 15.8232 9.23738 15.8232 9.53027 15.5303L12 13.0605L14.4697 15.5303C14.7626 15.8232 15.2374 15.8232 15.5303 15.5303C15.8232 15.2374 15.8232 14.7626 15.5303 14.4697L13.0605 12L15.5303 9.53027C15.8232 9.23738 15.8232 8.76262 15.5303 8.46973Z",fill:"currentColor"})}):se("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none","aria-hidden":"true",children:se("path",{d:"M22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12ZM11.25 11.75V16.25C11.25 16.6642 11.5858 17 12 17C12.4142 17 12.75 16.6642 12.75 16.25V11C12.75 10.5858 12.4142 10.25 12 10.25H10.75C10.3358 10.25 10 10.5858 10 11C10 11.4142 10.3358 11.75 10.75 11.75H11.25ZM12 8.75C12.4142 8.75 12.75 8.41421 12.75 8C12.75 7.58579 12.4142 7.25 12 7.25C11.5858 7.25 11.25 7.58579 11.25 8C11.25 8.41421 11.5858 8.75 12 8.75Z",fill:"currentColor"})})}function Yl(e,t){switch(e){case"brand":return{bg:t,border:"transparent",text:"#FFFFFF",iconBg:"rgba(255,255,255,0.16)",iconColor:"#FFFFFF",subtitleOpacity:.85,actionColor:"#FFFFFF"};case"neutral":return{bg:"#F8FAFC",border:"#E2E8F0",text:"#111827",iconBg:"rgba(108,114,128,0.14)",iconColor:"#6C7280",subtitleOpacity:1,actionColor:"#111827"};case"success":return{bg:"#f2fdf8",border:"#1AC776",text:"#111827",iconBg:"rgba(26, 199, 118, 0.18)",iconColor:"#1AC776",subtitleOpacity:1,actionColor:"#1AC776"};case"info":return{bg:"#f0f5fe",border:"#2563EB",text:"#111827",iconBg:"rgba(37, 99, 235, 0.18)",iconColor:"#2563EB",subtitleOpacity:1,actionColor:"#2563EB"};case"warning":return{bg:"#FEFAF0",border:"#FBAA31",text:"#111827",iconBg:"rgba(251, 170, 49, 0.20)",iconColor:"#FBAA31",subtitleOpacity:1,actionColor:"#C26E04"};case"error":return{bg:"#feeeeb",border:"#DC2626",text:"#111827",iconBg:"rgba(220, 38, 38, 0.18)",iconColor:"#DC2626",subtitleOpacity:1,actionColor:"#DC2626"}}}function nr(e){if(typeof e!="string")return;let t=e.trim().toLowerCase();if(t&&t!=="transparent")return e}function Xm(R){var C=R,{className:e,tone:t="neutral",size:o,asChild:r=!1,tokens:n,platform:a="web",title:i,subtitle:s,icon:c,endSlot:u,showAction:d,actionLabel:m="Ver detalle",actionHref:g,onActionClick:f,iconContainerClassName:p,contentClassName:v,actionClassName:x,style:y}=C,P=h(C,["className","tone","size","asChild","tokens","platform","title","subtitle","icon","endSlot","showAction","actionLabel","actionHref","onActionClick","iconContainerClassName","contentClassName","actionClassName","style"]);var te,Ot,It,zt,_t,wt,Ct,Pt;let N=r?Ul:"div",S=E(),M=(_t=(zt=(te=S==null?void 0:S.colors)==null?void 0:te.primary)!=null?zt:(It=(Ot=S==null?void 0:S.tokens)==null?void 0:Ot.colors)==null?void 0:It.primary)!=null?_t:"#652BDF",L=Yl(t,M),B=D({componentName:"banner",tone:t,size:o,tokens:n},S),z=a==="web"?l({},A(B)):T(B),Wt=z!=null?z:{},{backgroundColor:H,borderColor:k,color:Z}=Wt,V=h(Wt,["backgroundColor","borderColor","color"]),Y=(wt=nr(H))!=null?wt:L.bg,$=(Ct=nr(k))!=null?Ct:L.border,j=(Pt=nr(Z))!=null?Pt:L.text,I=l(l({backgroundColor:Y,borderColor:$},V),y),J=(d!=null?d:!!(g||f))&&!u?g?se("a",{href:g,className:b("shrink-0 text-xs font-semibold underline underline-offset-2 cursor-pointer",x),style:{color:L.actionColor},onClick:Ao=>{f==null||f()},children:m}):f?se("button",{type:"button",className:b("shrink-0 text-xs font-semibold underline underline-offset-2 cursor-pointer bg-transparent p-0",x),style:{color:L.actionColor},onClick:f,children:m}):null:null;return Ia(N,w(l({"data-slot":"banner",className:b(Gl({size:o}),e),style:I},P),{children:[se("div",{className:b(Zl,p),style:{backgroundColor:L.iconBg,color:L.iconColor},children:c!=null?c:se(Xl,{tone:t})}),Ia("div",{className:b("min-w-0 flex-1 flex flex-col gap-1",v),children:[se("div",{className:"text-sm font-semibold leading-[1.3] tracking-[-0.04em] truncate",style:{color:j},children:i}),s&&se("div",{className:"text-xs leading-[1.3] truncate",style:{color:j,opacity:L.subtitleOpacity},children:s})]}),u?se("div",{className:"shrink-0",children:u}):J]}))}import{jsx as za,jsxs as Kl}from"react/jsx-runtime";var ql=W(["flex","items-center","gap-4","rounded-[16px]","transition-all","overflow-hidden"].join(" "),{variants:{variant:{primary:"",secondary:"",tertiary:""}},defaultVariants:{variant:"primary"}});function t2(d){var m=d,{className:e,title:t,imageSrc:o,imageAlt:r="",imagePosition:n="right",tokens:a,variant:i="primary",platform:s="web",style:c}=m,u=h(m,["className","title","imageSrc","imageAlt","imagePosition","tokens","variant","platform","style"]);var x;let g=E(),f=D({componentName:"promoBanner",variant:i,size:"default",tokens:a},g),p=s==="web"?A(f):T(f),v=za("div",{className:"shrink-0",style:{width:"88px",height:"56px",borderRadius:"8px",backgroundImage:`url(${o})`,backgroundColor:"lightgray",backgroundPosition:"50%",backgroundSize:"cover",backgroundRepeat:"no-repeat"},"aria-label":r});return Kl("div",w(l({className:b(ql({variant:i}),e),style:l({width:"286px",height:"72px",padding:"12px 16px",backgroundColor:"#F9F9FA"},c)},u),{children:[n==="left"&&v,za("div",{className:"flex-1 min-w-0",style:{color:(x=p==null?void 0:p.color)!=null?x:"#652BDF",fontFeatureSettings:"'ss03' on, 'ss06' on",fontFamily:"Inter, system-ui, sans-serif",fontSize:"14px",fontWeight:550,lineHeight:"130%",letterSpacing:"-0.56px",display:"-webkit-box",WebkitLineClamp:2,WebkitBoxOrient:"vertical",overflow:"hidden"},children:t}),n==="right"&&v]}))}import{jsx as ar,jsxs as _a}from"react/jsx-runtime";var Jl=W(["inline-flex","flex-col","max-w-full","place-self-start","overflow-hidden","min-w-0","rounded-[16px]","transition-all","bg-[var(--card-bg)]","border border-[var(--card-border)]"].join(" "),{variants:{variant:{primary:"",secondary:"",tertiary:""}},defaultVariants:{variant:"primary"}});function vo(d){var m=d,{className:e,title:t,action:o,tokens:r,variant:n="primary",platform:a="web",width:i,children:s,style:c}=m,u=h(m,["className","title","action","tokens","variant","platform","width","children","style"]);var v;let g=E(),f=D({componentName:"card",variant:n,size:"default",tokens:r},g),p=a==="web"?A(f):T(f);return _a("div",w(l({className:b(Jl({variant:n}),!i&&"w-fit",e),style:l({"--card-bg":p.backgroundColor,"--card-border":(v=p.borderColor)!=null?v:"transparent","--card-text":p.color,padding:"16px",width:i?typeof i=="number"?`${i}px`:i:void 0},c)},u),{children:[(t||o)&&_a("div",{className:"flex items-center justify-between mb-4 gap-2 min-w-0",children:[ar("div",{className:"truncate",style:{color:"var(--card-text)",fontFeatureSettings:"'ss03' on, 'ss06' on",fontSize:"18px",fontStyle:"normal",fontWeight:550,lineHeight:"130%",letterSpacing:"-0.72px"},children:t}),o&&ar("div",{className:"shrink-0",children:o})]}),ar("div",{className:"w-full min-w-0 max-w-full overflow-hidden",children:s})]}))}import*as ot from"react";import{jsx as Wa}from"react/jsx-runtime";function p2({children:e,className:t}){let o=ot.useRef(null),r=ot.useRef(!1),n=ot.useRef(0),a=ot.useRef(0),i=d=>{o.current&&(r.current=!0,o.current.classList.add("cursor-grabbing"),n.current=d.pageX-o.current.offsetLeft,a.current=o.current.scrollLeft)},s=()=>{var d;r.current=!1,(d=o.current)==null||d.classList.remove("cursor-grabbing")},c=()=>{var d;r.current=!1,(d=o.current)==null||d.classList.remove("cursor-grabbing")},u=d=>{if(!r.current||!o.current)return;d.preventDefault();let g=(d.pageX-o.current.offsetLeft-n.current)*1.2;o.current.scrollLeft=a.current-g};return Wa("div",{ref:o,className:b("flex gap-4","overflow-x-auto","scroll-smooth","snap-x snap-mandatory","no-scrollbar","cursor-grab","select-none",t),onMouseDown:i,onMouseLeave:s,onMouseUp:c,onMouseMove:u,children:ot.Children.map(e,d=>Wa("div",{className:"shrink-0 snap-start",children:d}))})}import{Slot as Ql}from"@radix-ui/react-slot";import{Fragment as Va,jsx as U,jsxs as $e}from"react/jsx-runtime";var ec="bg-[#F9F9FA] flex flex-col overflow-hidden",tc=W(ec,{variants:{variant:{default:"border border-[#E5E7EB]",subtle:"border border-[#EEF2F7]",none:"border-0"},logoSize:{small:"w-full max-w-[380px] min-h-[210px] rounded-[16px] px-5 pt-5 pb-4 justify-between",large:"w-full max-w-[380px] rounded-[16px] px-5 pt-4 pb-4 gap-3"}},defaultVariants:{variant:"default",logoSize:"small"}}),oc="w-10 h-10 rounded-[8px] border flex items-center justify-center overflow-hidden shrink-0";function y2(M){var L=M,{className:e,variant:t,logoSize:o="small",asChild:r=!1,tokens:n,platform:a="web",badgeText:i,logoSlot:s,logoSrc:c,logoAlt:u="",initials:d=" ",bannerClassName:m,title:g,description:f,linkLabel:p="Link",linkHref:v,onLinkClick:x,logoClassName:y,badgeClassName:P,contentClassName:R,linkClassName:C,style:N}=L,S=h(L,["className","variant","logoSize","asChild","tokens","platform","badgeText","logoSlot","logoSrc","logoAlt","initials","bannerClassName","title","description","linkLabel","linkHref","onLinkClick","logoClassName","badgeClassName","contentClassName","linkClassName","style"]);let B=r?Ql:"div",z=E(),H=D({componentName:"integrationCard",variant:t,tokens:n},z),k=a==="web"?l({},A(H)):T(H),I=k!=null?k:{},{backgroundColor:Z}=I,V=h(I,["backgroundColor"]),Y=l(l({},V),N),$=!!(v||x),j=s||(c?$e("svg",{width:"42",height:"42",viewBox:"0 0 42 42",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[$e("g",{clipPath:"url(#clip0_1394_16539)",children:[U("rect",{x:"1",y:"1",width:"40",height:"40",rx:"5.33333",fill:"#00BCFF"}),U("path",{d:"M21.0021 14.0945C14.9533 14.0945 10.0503 17.0079 10.0503 20.6022C10.0503 24.1966 14.9533 27.3921 21.0021 27.3921C27.0508 27.3921 31.9537 24.1962 31.9537 20.6022C31.9537 17.0082 27.0506 14.0945 21.0021 14.0945Z",fill:"#00BCFF"}),U("path",{d:"M17.439 18.5906C17.4335 18.6005 17.3265 18.7033 17.3959 18.7859C17.5651 18.9869 18.0883 19.1022 18.6173 18.9919C18.9323 18.9263 19.3359 18.6279 19.7271 18.3397C20.1004 18.0247 20.5287 17.771 20.9937 17.5895C21.2907 17.4885 21.6152 17.4806 21.9175 17.5671C22.2245 17.673 22.5094 17.8274 22.7597 18.0235C23.4938 18.5363 26.4463 20.9301 26.9565 21.3437C28.5241 20.7382 30.1471 20.2646 31.8058 19.9287C31.5901 18.7001 30.7945 17.5288 29.5738 16.6083C27.8725 17.2721 25.6548 17.6695 23.6219 16.7474C22.9313 16.457 22.1844 16.2993 21.4264 16.2837C19.8135 16.3185 19.1148 16.9668 18.3755 17.6531L17.439 18.5906Z",fill:"white"}),U("path",{d:"M26.8365 21.6042C26.8017 21.5753 23.3651 18.7821 22.5863 18.2385C22.3151 18.0143 21.9806 17.8668 21.622 17.8132C21.4677 17.8018 21.3125 17.8157 21.1632 17.8542C20.7035 18.015 20.2781 18.2505 19.9069 18.5495C19.4718 18.8717 19.0613 19.1749 18.6801 19.2542C18.2196 19.3421 17.7404 19.2752 17.328 19.0656C17.2314 19.0107 17.1536 18.9314 17.1035 18.8371C17.076 18.7649 17.0722 18.6866 17.0927 18.6123C17.1131 18.5381 17.1569 18.4711 17.2185 18.42L18.167 17.4671C18.2774 17.365 18.3882 17.2626 18.5022 17.1621C18.2097 17.2029 17.9207 17.2634 17.6376 17.3429C17.3115 17.4435 16.9722 17.5023 16.629 17.5176C16.2832 17.4851 15.9395 17.4352 15.5995 17.3682C14.5857 17.1472 13.596 16.8396 12.6432 16.4492C11.2949 17.3816 10.4168 18.5263 10.1562 19.8103C10.35 19.8579 10.8577 19.9653 10.9889 19.9924C14.0403 20.6226 14.9906 21.2717 15.163 21.4073C15.2644 21.3013 15.3903 21.218 15.5314 21.1638C15.6724 21.1094 15.8249 21.0857 15.9773 21.094C16.1297 21.1023 16.2781 21.1427 16.4113 21.2119C16.5445 21.2812 16.6591 21.3777 16.7464 21.494C16.9522 21.3394 17.209 21.2554 17.4736 21.2562C17.6223 21.2576 17.7697 21.2816 17.91 21.3273C18.046 21.3677 18.1711 21.4346 18.2771 21.5234C18.383 21.6123 18.4672 21.7212 18.5242 21.8428C18.6576 21.7867 18.8025 21.7581 18.9488 21.7589C19.1239 21.761 19.2967 21.7963 19.4563 21.8629C19.6786 21.9597 19.8588 22.1236 19.9676 22.3278C20.0765 22.5321 20.1073 22.7647 20.0553 22.9873C20.0957 22.9833 20.1363 22.9813 20.1769 22.9813C20.4976 22.9819 20.805 23.1004 21.0318 23.3111C21.2585 23.5218 21.386 23.8074 21.3865 24.1053C21.3865 24.2907 21.3367 24.473 21.2417 24.6359C21.5575 24.8152 21.9223 24.906 22.2923 24.8972C22.3846 24.8973 22.4759 24.8797 22.5605 24.8453C22.645 24.8111 22.721 24.761 22.7838 24.6982C22.8142 24.6583 22.8459 24.6118 22.8165 24.5781L21.9553 23.69C21.9553 23.69 21.8138 23.5654 21.8606 23.5174C21.9089 23.468 21.9966 23.5389 22.0587 23.587C22.4968 23.9269 23.0316 24.4399 23.0316 24.4399C23.0409 24.4454 23.0761 24.5104 23.2739 24.5434C23.3922 24.5626 23.5133 24.5593 23.6303 24.534C23.7472 24.5087 23.8575 24.4618 23.9543 24.396C24.0093 24.3533 24.0595 24.3057 24.1042 24.2537C24.1011 24.2564 24.0978 24.2589 24.0941 24.2609C24.1545 24.1834 24.1849 24.0892 24.1805 23.9937C24.1759 23.8981 24.1369 23.8068 24.0696 23.7344L23.0643 22.686C23.0643 22.686 22.9206 22.5623 22.9699 22.5131C23.0135 22.4699 23.1058 22.535 23.1689 22.5836C23.487 22.8308 23.9367 23.2496 24.3677 23.6421C24.5113 23.7323 24.6821 23.778 24.8555 23.7724C25.0287 23.7668 25.1957 23.7103 25.3322 23.611C25.4441 23.5537 25.5367 23.4687 25.5997 23.3653C25.6627 23.262 25.6936 23.1446 25.689 23.0259C25.6673 22.8776 25.5926 22.7403 25.4768 22.6362L24.1042 21.3539C24.1042 21.3539 23.9588 21.2388 24.0103 21.1808C24.0523 21.1318 24.146 21.2022 24.2081 21.2502C24.6452 21.5901 25.8291 22.5986 25.8291 22.5986C25.9686 22.6822 26.1318 22.7252 26.2978 22.7222C26.4637 22.7191 26.6249 22.6701 26.7608 22.5814C26.848 22.534 26.9215 22.4676 26.9747 22.3878C27.028 22.3081 27.0596 22.2174 27.0666 22.1238C27.0707 22.0269 27.0522 21.9304 27.0125 21.8408C26.9728 21.7511 26.9128 21.6704 26.8365 21.6042Z",fill:"white"}),U("path",{d:"M20.1766 23.2294C20.0154 23.2504 19.8562 23.2832 19.7005 23.3274C19.6835 23.3172 19.7135 23.2377 19.7333 23.1918C19.7541 23.1465 20.0344 22.3628 19.3508 22.0908C19.1978 22.0146 19.0225 21.9863 18.8508 22.01C18.6792 22.0338 18.5203 22.1084 18.398 22.2227C18.3694 22.2505 18.3564 22.2482 18.3532 22.2132C18.3491 22.0668 18.2958 21.9254 18.2008 21.8086C18.1058 21.6918 17.9738 21.6056 17.8233 21.5622C17.6102 21.5012 17.3817 21.5058 17.1717 21.5754C16.9617 21.6449 16.7815 21.7756 16.6579 21.948C16.6359 21.7935 16.5585 21.6504 16.4381 21.5418C16.3177 21.4332 16.1614 21.3655 15.9945 21.3496C15.8276 21.3336 15.6597 21.3705 15.5181 21.4542C15.3765 21.5377 15.2694 21.6633 15.2141 21.8104C15.1588 21.9576 15.1585 22.1178 15.2132 22.265C15.268 22.4124 15.3747 22.5383 15.516 22.6224C15.6573 22.7065 15.825 22.7438 15.992 22.7285C16.159 22.713 16.3155 22.6458 16.4363 22.5376C16.4406 22.5413 16.4422 22.5478 16.4401 22.5609C16.3895 22.7757 16.4239 23.0002 16.5369 23.1933C16.6498 23.3864 16.8339 23.5353 17.0553 23.6126C17.175 23.6555 17.3046 23.6685 17.4313 23.6503C17.558 23.6322 17.6774 23.5835 17.7776 23.509C17.8369 23.4703 17.8465 23.4866 17.8382 23.5385C17.8127 23.6993 17.8451 24.0435 18.3646 24.2388C18.4933 24.2975 18.6389 24.3159 18.7798 24.2916C18.9207 24.2673 19.0495 24.2014 19.147 24.1038C19.2138 24.0475 19.2321 24.0567 19.2355 24.144C19.2438 24.3153 19.3062 24.4804 19.4147 24.6189C19.5232 24.7576 19.6731 24.8635 19.8458 24.9237C20.0186 24.9838 20.2065 24.9956 20.3864 24.9574C20.5663 24.9193 20.7301 24.8328 20.8575 24.7089C20.9851 24.5852 21.0705 24.4292 21.1035 24.2606C21.1364 24.0919 21.1153 23.918 21.0428 23.7605C20.9703 23.6029 20.8496 23.4686 20.6956 23.3742C20.5416 23.2797 20.3612 23.2294 20.1766 23.2294Z",fill:"white"}),U("path",{d:"M21.0007 13.825C14.8367 13.825 9.84012 16.8702 9.84012 20.6055C9.84012 20.7021 9.83887 20.9686 9.83887 21.0024C9.83887 24.9655 14.2061 28.1749 20.9992 28.1749C27.8334 28.1749 32.1609 24.9663 32.1609 21.0032V20.6055C32.1608 16.8702 27.1641 13.825 21.0007 13.825ZM31.6577 19.8541C30.0496 20.1845 28.4796 20.6586 26.9696 21.2696C25.9107 20.4115 23.4641 18.4354 22.8016 17.9736C22.5448 17.7729 22.2524 17.615 21.9377 17.5067C21.8006 17.4665 21.6577 17.4458 21.5138 17.4451C21.3307 17.4474 21.149 17.4758 20.9752 17.5294C20.5099 17.7089 20.0811 17.961 19.7076 18.275L19.6862 18.2906C19.3018 18.5745 18.9044 18.8682 18.6038 18.9304C18.4722 18.958 18.3378 18.972 18.2029 18.9721C18.0676 18.9825 17.9315 18.9681 17.8022 18.9294C17.673 18.8909 17.5533 18.8289 17.4499 18.747C17.4312 18.7248 17.4436 18.6889 17.4871 18.6373L17.4927 18.6302L18.4244 17.698C19.1539 17.0204 19.8431 16.3805 21.4289 16.3467C21.4553 16.346 21.482 16.3455 21.5081 16.3455C22.2283 16.3728 22.9363 16.5286 23.5932 16.8043C24.4759 17.2141 25.448 17.4307 26.4348 17.4373C27.5142 17.42 28.5766 17.184 29.5477 16.7458C30.6791 17.6297 31.4296 18.6942 31.6577 19.8541ZM21.0027 14.2254C24.2742 14.2254 27.2019 15.0964 29.1701 16.4683C28.3113 16.8327 27.3809 17.0286 26.437 17.0438C25.5134 17.0368 24.604 16.8335 23.7782 16.4494C23.0642 16.1467 22.2931 15.9774 21.5088 15.9513C21.4789 15.9513 21.4488 15.9517 21.4193 15.9524C20.4746 15.9395 19.5563 16.2423 18.8318 16.8056C18.3931 16.827 17.9592 16.9006 17.5407 17.0246C17.2465 17.1157 16.9406 17.1701 16.631 17.1864C16.5144 17.1864 16.3045 17.1765 16.2857 17.1758C15.1726 16.9938 14.0808 16.7131 13.0253 16.3377C14.9896 15.0411 17.8354 14.2254 21.0027 14.2254ZM12.6391 16.6083C14.0004 17.1255 15.6518 17.5249 16.1741 17.5563C16.3197 17.5652 16.4749 17.5805 16.6302 17.5808C16.9795 17.565 17.3249 17.5054 17.657 17.4036C17.8547 17.3521 18.0727 17.2959 18.3021 17.2553C18.2407 17.311 18.1796 17.3676 18.1182 17.4247L17.1721 18.3755C17.1001 18.4347 17.0492 18.5128 17.0261 18.5995C17.003 18.6862 17.0087 18.7774 17.0425 18.861C17.0974 18.9668 17.1837 19.0558 17.2913 19.1174C17.5973 19.2781 17.9441 19.3599 18.2957 19.3541C18.4303 19.355 18.5647 19.3419 18.6963 19.3152C19.0931 19.2326 19.5092 18.9246 19.9499 18.5991C20.3149 18.3063 20.7318 18.0746 21.1821 17.9142C21.2942 17.8866 21.4096 17.8719 21.5256 17.8705C21.5553 17.8703 21.585 17.8719 21.6144 17.8754C21.961 17.9283 22.2842 18.0715 22.5464 18.2885C23.3233 18.8308 26.7603 21.6236 26.7941 21.6512C26.8624 21.7113 26.9161 21.7843 26.9517 21.8652C26.9872 21.9461 27.0039 22.0331 27.0004 22.1204C26.9942 22.2041 26.9659 22.2851 26.918 22.3563C26.87 22.4274 26.804 22.4865 26.7257 22.5283C26.5921 22.6113 26.4354 22.6565 26.2748 22.6589C26.1337 22.659 25.9956 22.6217 25.8763 22.5516C25.8638 22.542 24.6862 21.5389 24.2526 21.2019C24.1983 21.1485 24.1269 21.1131 24.0491 21.1009C24.0318 21.1005 24.0147 21.104 23.999 21.1109C23.9834 21.1176 23.9697 21.1278 23.9589 21.1403C23.8908 21.2183 23.9671 21.3265 24.0572 21.3974L25.4328 22.6824C25.5353 22.7752 25.6022 22.8969 25.6231 23.0285C25.6267 23.1362 25.598 23.2426 25.5403 23.3362C25.4827 23.4296 25.3983 23.5065 25.2964 23.5582C25.1534 23.6518 24.9838 23.7039 24.8088 23.708C24.6691 23.708 24.5324 23.6694 24.4163 23.5972L24.2191 23.4168C23.8583 23.0872 23.4859 22.7462 23.2133 22.535C23.1583 22.4823 23.0863 22.4476 23.0083 22.4361C22.992 22.4359 22.9759 22.4388 22.961 22.4447C22.9461 22.4506 22.9327 22.4594 22.9217 22.4705C22.8906 22.5026 22.8689 22.5602 22.9468 22.6559C22.9677 22.6816 22.9909 22.7056 23.0161 22.7278L24.0198 23.7751C24.0777 23.8361 24.1116 23.9136 24.1157 23.9949C24.1198 24.0762 24.094 24.1563 24.0426 24.2221L24.007 24.2638C23.9776 24.2933 23.9463 24.3213 23.9134 24.3475C23.7713 24.4443 23.599 24.4951 23.4229 24.4919C23.3773 24.4921 23.332 24.4885 23.2872 24.4812C23.214 24.4759 23.1447 24.4488 23.0893 24.4038L23.0768 24.392C23.0222 24.3393 22.5163 23.8595 22.0978 23.5349C22.0458 23.4836 21.9772 23.4495 21.9024 23.4379C21.8853 23.4378 21.8683 23.4411 21.8527 23.4475C21.837 23.454 21.823 23.4635 21.8117 23.4754C21.7291 23.5596 21.8534 23.6855 21.9061 23.7318L22.7619 24.609C22.7546 24.6284 22.7438 24.6465 22.7299 24.6625C22.6991 24.7019 22.5954 24.7984 22.2849 24.8346C22.2471 24.8391 22.2092 24.8412 22.1712 24.841C21.8767 24.8234 21.5901 24.7445 21.3328 24.61C21.4246 24.4293 21.4656 24.23 21.4521 24.0305C21.4388 23.8311 21.3713 23.6381 21.2562 23.4693C21.141 23.3005 20.9818 23.1615 20.7933 23.0652C20.6049 22.9689 20.3933 22.9183 20.1782 22.9182C20.1632 22.9182 20.1472 22.9186 20.1321 22.9191C20.1688 22.6933 20.1254 22.4625 20.0086 22.2616C19.8917 22.0606 19.7077 21.9005 19.4843 21.8052C19.3162 21.7352 19.1346 21.698 18.9503 21.6959C18.8166 21.6953 18.6838 21.7176 18.5588 21.7618C18.4287 21.5271 18.2039 21.3499 17.9335 21.2686C17.7863 21.2201 17.6313 21.1948 17.4751 21.1936C17.2189 21.1923 16.9689 21.2668 16.7612 21.4062C16.6668 21.296 16.5484 21.2055 16.4138 21.1409C16.2791 21.0762 16.1313 21.0386 15.98 21.0308C15.8286 21.0229 15.6772 21.0446 15.5356 21.095C15.394 21.1452 15.2654 21.2226 15.1583 21.3223C14.8917 21.133 13.8345 20.5092 11.0047 19.9124C10.8695 19.884 10.5627 19.8024 10.3695 19.7498C10.635 18.5699 11.442 17.4924 12.6391 16.6083ZM17.8881 23.4505L17.8575 23.4251H17.8266C17.7948 23.4273 17.7645 23.4386 17.74 23.4576C17.6185 23.5445 17.4704 23.5935 17.3171 23.5974C17.2362 23.5969 17.1562 23.5824 17.0811 23.5549C16.8734 23.4829 16.7009 23.3433 16.5957 23.1621C16.4904 22.9809 16.4596 22.7703 16.5089 22.5695C16.5122 22.555 16.5114 22.5399 16.5063 22.5256C16.5013 22.5114 16.4923 22.4988 16.4802 22.489L16.4339 22.4538L16.3906 22.4921C16.2645 22.6059 16.0956 22.6694 15.9199 22.6693C15.7888 22.6699 15.6603 22.6352 15.5499 22.5695C15.4395 22.5039 15.3518 22.41 15.2974 22.2991C15.2431 22.1883 15.2243 22.0653 15.2434 21.9448C15.2624 21.8243 15.3185 21.7115 15.405 21.6199C15.4914 21.5283 15.6044 21.4619 15.7305 21.4285C15.8566 21.3951 15.9904 21.3963 16.1158 21.4319C16.2412 21.4674 16.3529 21.5358 16.4374 21.6289C16.522 21.7219 16.5758 21.8356 16.5925 21.9565L16.616 22.1264L16.7164 21.9825C16.8297 21.8194 16.9978 21.6955 17.1948 21.6305C17.3917 21.5654 17.6062 21.5626 17.805 21.6228C17.9423 21.6629 18.0626 21.7418 18.149 21.8486C18.2355 21.9554 18.2837 22.0848 18.287 22.2184C18.2943 22.3007 18.3575 22.3049 18.3697 22.3049C18.385 22.3039 18.3999 22.2999 18.4134 22.2933C18.427 22.2867 18.439 22.2775 18.4486 22.2665C18.5133 22.2038 18.5912 22.1539 18.6774 22.1201C18.7636 22.0863 18.8563 22.0692 18.9499 22.0699C19.0796 22.0725 19.2072 22.0993 19.3256 22.1486C19.9668 22.4042 19.676 23.1611 19.6726 23.1689C19.6172 23.2942 19.6151 23.3496 19.6669 23.3816L19.6922 23.3926H19.711C19.7538 23.3882 19.7956 23.3781 19.8352 23.3625C19.9444 23.3224 20.0599 23.2988 20.1772 23.2923C20.292 23.2924 20.4061 23.3134 20.5122 23.3543C20.6183 23.3951 20.7148 23.455 20.796 23.5304C20.8771 23.606 20.9416 23.6955 20.9854 23.7941C21.0294 23.8926 21.052 23.9983 21.052 24.1051C21.0519 24.2117 21.0293 24.3174 20.9853 24.416C20.9413 24.5145 20.8769 24.6041 20.7957 24.6795C20.7143 24.7549 20.6179 24.8148 20.5118 24.8555C20.4057 24.8963 20.2919 24.9173 20.177 24.9173C19.9518 24.9185 19.7347 24.8384 19.5719 24.6938C19.409 24.5491 19.3131 24.3513 19.3043 24.1422C19.3031 24.105 19.2989 24.0061 19.2086 24.0061C19.1676 24.0105 19.1298 24.0291 19.1027 24.058C18.991 24.1684 18.8368 24.2331 18.6738 24.2379C18.5765 24.236 18.4805 24.2166 18.3912 24.1809C17.8931 23.9931 17.8862 23.6754 17.9064 23.5476C17.9113 23.5312 17.9122 23.514 17.909 23.4972C17.9059 23.4804 17.8987 23.4644 17.8881 23.4505ZM21.0026 26.979C15.0757 26.979 10.2713 24.1239 10.2713 20.6022C10.2722 20.4614 10.2808 20.3208 10.2971 20.1808C10.3444 20.1913 10.8151 20.2959 10.9126 20.3162C13.8033 20.9126 14.7585 21.5328 14.9199 21.6501C14.8513 21.8029 14.8243 21.9692 14.8415 22.1341C14.8587 22.2989 14.9194 22.4573 15.0183 22.5951C15.1172 22.733 15.2512 22.846 15.4084 22.9242C15.5656 23.0023 15.7412 23.0432 15.9195 23.0432C15.9861 23.0433 16.0526 23.0376 16.1181 23.0262C16.1608 23.2255 16.2586 23.4112 16.4018 23.565C16.5451 23.7186 16.7289 23.8351 16.9352 23.903C17.0582 23.9478 17.189 23.9712 17.3211 23.9721C17.4043 23.9725 17.4871 23.963 17.5677 23.9438C17.6669 24.1379 17.8219 24.3028 18.0156 24.4202C18.2093 24.5376 18.4342 24.6031 18.6654 24.6094C18.7782 24.6094 18.8901 24.5909 18.996 24.5545C19.0762 24.7368 19.204 24.8975 19.3679 25.0223C19.5317 25.1471 19.7264 25.232 19.9346 25.2693C20.1426 25.3065 20.3574 25.2951 20.5594 25.2359C20.7616 25.1767 20.9446 25.0716 21.092 24.9302C21.4217 25.1086 21.7924 25.2115 22.1734 25.2302C22.2282 25.2301 22.2828 25.2269 22.3371 25.2206C22.4778 25.2166 22.6159 25.1849 22.7423 25.1274C22.8688 25.0699 22.9806 24.9881 23.0702 24.8873C23.0872 24.8658 23.1023 24.8429 23.1156 24.8191C23.2279 24.8509 23.3444 24.8679 23.4619 24.8694C23.7158 24.8646 23.961 24.7832 24.1606 24.6374C24.3712 24.5089 24.5192 24.3089 24.5729 24.0801C24.5733 24.0776 24.5737 24.0751 24.5738 24.0725C24.6508 24.0871 24.7291 24.0944 24.8077 24.0944C25.0642 24.0914 25.3141 24.0179 25.5256 23.883C25.6864 23.7963 25.8191 23.671 25.9098 23.5202C26.0004 23.3693 26.0457 23.1986 26.0406 23.026C26.1186 23.0411 26.198 23.0487 26.2777 23.0489C26.517 23.0464 26.7506 22.9796 26.9499 22.8566C27.0824 22.7814 27.1939 22.6782 27.2752 22.5553C27.3566 22.4324 27.4054 22.2935 27.4179 22.1497C27.4338 21.9496 27.3819 21.75 27.2693 21.5788C28.7112 21.0321 30.2001 20.599 31.7201 20.2841C31.7289 20.3895 31.7337 20.4956 31.7337 20.6023C31.7337 24.1239 26.9292 26.979 21.0026 26.979Z",fill:"#0A0080"})]}),U("rect",{x:"0.5",y:"0.5",width:"41",height:"41",rx:"8.5",stroke:"#E2E5E9"}),U("defs",{children:U("clipPath",{id:"clip0_1394_16539",children:U("rect",{x:"1",y:"1",width:"40",height:"40",rx:"8",fill:"white"})})})]}):U("span",{className:"text-xs font-semibold text-[#111827]",children:d}));return U(B,w(l({"data-slot":"integration-card",className:b(tc({variant:t,logoSize:o}),o==="small"?"justify-between":"",e),style:Y},S),{children:o==="small"?$e(Va,{children:[$e("div",{className:"flex items-start justify-between gap-3",children:[U("div",{className:b(oc,"border-[#E5E7EB] bg-white",y),children:j}),i?U(Gt,{tone:"success",size:"small",className:P,children:i}):null]}),$e("div",{className:b("mt-2 flex flex-col gap-2 text-left",R),children:[U("div",{className:"text-[16px] font-[550] leading-[1.3] tracking-[-0.04em] text-[#111827]",children:g}),f?U("div",{className:"text-[14px] font-normal leading-[1.3] tracking-[-0.04em] text-[#6B7280]",children:f}):null]}),$?v?U("a",{href:v,onClick:()=>x==null?void 0:x(),className:b("mt-3 w-fit text-[14px] font-[550] leading-[1.3] tracking-[-0.04em] underline underline-offset-4","text-[#652BDF]",C),children:p}):U("button",{type:"button",onClick:x,className:b("mt-3 w-fit text-left text-[14px] font-[550] leading-[1.3] tracking-[-0.04em] underline underline-offset-4 bg-transparent p-0","text-[#652BDF]",C),children:p}):U("div",{})]}):$e(Va,{children:[$e("div",{className:b("relative w-full max-w-[364px] h-[140px] rounded-[5.33px] overflow-hidden","bg-[#08B7F6]",m),children:[i?U("div",{className:b("absolute top-3 right-3",P),children:U("span",{className:"px-3 py-1 rounded-full text-xs font-semibold bg-white/90 text-[#0F766E]",children:i})}):null,U("div",{className:"absolute inset-0 flex items-center justify-center",children:U("div",{className:b("w-[88px] h-[88px] flex items-center justify-center",y),children:j})})]}),$e("div",{className:b("flex flex-col gap-2 text-left",R),children:[U("div",{className:"text-[16px] font-[550] leading-[1.3] tracking-[-0.04em] text-[#111827]",children:g}),f?U("div",{className:"text-[14px] font-normal leading-[1.3] tracking-[-0.04em] text-[#6B7280]",children:f}):null,$?v?U("a",{href:v,onClick:()=>x==null?void 0:x(),className:b("w-fit text-[14px] font-[550] leading-[1.3] tracking-[-0.04em] underline underline-offset-4","text-[#652BDF]",C),children:p}):U("button",{type:"button",onClick:x,className:b("w-fit text-left text-[14px] font-[550] leading-[1.3] tracking-[-0.04em] underline underline-offset-4 bg-transparent p-0","text-[#652BDF]",C),children:p}):null]})]})}))}import*as Me from"@radix-ui/react-accordion";import{ChevronDownIcon as rc}from"lucide-react";import{jsx as mt,jsxs as nc}from"react/jsx-runtime";function M2(t){var e=h(t,[]);return mt(Me.Root,l({"data-slot":"accordion"},e))}function B2(o){var r=o,{className:e}=r,t=h(r,["className"]);return mt(Me.Item,l({"data-slot":"accordion-item",className:b("border-b border-[#E5E7EB]","[&:last-child]:border-b-0",e)},t))}function L2(r){var n=r,{className:e,children:t}=n,o=h(n,["className","children"]);return mt(Me.Header,{className:"flex",children:nc(Me.Trigger,w(l({"data-slot":"accordion-trigger",className:b("focus-visible:border-ring focus-visible:ring-ring/50 flex flex-1 items-start justify-between gap-4 rounded-md py-4 text-left text-base font-medium transition-all outline-none hover:underline focus-visible:ring-[3px] disabled:pointer-events-none disabled:opacity-50 [&[data-state=open]>svg]:rotate-180",e)},o),{children:[t,mt(rc,{className:"text-muted-foreground h-5 w-5 text-[#6E7991] pointer-events-none shrink-0 translate-y-0.5 transition-transform duration-200"})]}))})}function F2(r){var n=r,{className:e,children:t}=n,o=h(n,["className","children"]);return mt(Me.Content,w(l({"data-slot":"accordion-content",className:"data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down overflow-hidden text-base text-[#3A3F4B]"},o),{children:mt("div",{className:b("pt-0 pb-4",e),children:t})}))}import*as ho from"react";import{ChevronDownIcon as ac,ChevronLeftIcon as ic,ChevronRightIcon as sc}from"lucide-react";import{DayPicker as lc,getDefaultClassNames as Ha}from"react-day-picker";import{jsx as gt}from"react/jsx-runtime";function xo(u){var d=u,{className:e,classNames:t,showOutsideDays:o=!0,captionLayout:r="label",buttonVariant:n="neutral",tokens:a,formatters:i,components:s}=d,c=h(d,["className","classNames","showOutsideDays","captionLayout","buttonVariant","tokens","formatters","components"]);let m=E(),g=Ha(),f=D({componentName:"calendar",tokens:a},m),p=m.platform==="web"?A(f):T(f);return gt("div",{"data-slot":"calendar",style:{backgroundColor:p.backgroundColor,color:p.color,"--calendar-accent":f.accentColor,"--calendar-accent-foreground":f.accentForeground,"--calendar-hover":f.hoverBackground},children:gt(lc,l({showOutsideDays:o,captionLayout:r,formatters:l({formatMonthDropdown:v=>v.toLocaleString("default",{month:"short"})},i),className:b("group/calendar p-3",String.raw`rtl:**:[.rdp-button\_next>svg]:rotate-180`,String.raw`rtl:**:[.rdp-button\_previous>svg]:rotate-180`,e),classNames:l({root:b("w-fit",g.root),months:b("flex gap-4 flex-col md:flex-row relative"),month:b("flex flex-col w-full gap-4"),nav:b("flex items-center gap-1 w-full absolute top-0 inset-x-0 justify-between"),button_previous:b(Ut({variant:n}),"size-8 p-0 aria-disabled:opacity-50"),button_next:b(Ut({variant:n}),"size-8 p-0 aria-disabled:opacity-50"),month_caption:"flex items-center justify-center h-8 w-full",caption_label:b("select-none font-medium",r==="label"?"text-sm":"text-sm flex gap-1"),table:"w-full border-collapse",weekdays:"flex",weekday:"flex-1 text-center text-xs text-[color:var(--calendar-muted)]",week:"flex w-full mt-2",day:"aspect-square w-full p-0",today:"rounded-md bg-[color:var(--calendar-hover)] text-current",outside:"opacity-50",disabled:"opacity-40"},t),components:l({Chevron:P=>{var R=P,{orientation:v,className:x}=R,y=h(R,["orientation","className"]);return v==="left"?gt(ic,l({className:b("size-4",x)},y)):v==="right"?gt(sc,l({className:b("size-4",x)},y)):gt(ac,l({className:b("size-4",x)},y))},DayButton:cc},s)},c))})}function cc(n){var a=n,{className:e,day:t,modifiers:o}=a,r=h(a,["className","day","modifiers"]);let i=Ha(),s=ho.useRef(null);return ho.useEffect(()=>{var c;o.focused&&((c=s.current)==null||c.focus())},[o.focused]),gt(ae,l({ref:s,variant:"neutral",size:"icon","data-selected":o.selected,"data-range-start":o.range_start,"data-range-end":o.range_end,"data-range-middle":o.range_middle,className:b("w-full aspect-square rounded-md","data-[selected=true]:bg-[color:var(--calendar-accent)]","data-[selected=true]:text-[color:var(--calendar-accent-foreground)]","data-[range-middle=true]:bg-[color:var(--calendar-hover)]",i.day,e)},r))}import*as sr from"react";import*as bt from"@radix-ui/react-popover";import{Check as dc,ChevronsUpDown as uc}from"lucide-react";import{jsx as rt,jsxs as ir}from"react/jsx-runtime";function n1({value:e,onValueChange:t,placeholder:o="Seleccionar...",items:r,size:n="default",disabled:a,tokens:i,platform:s="web",className:c}){var y,P;let u=E(),[d,m]=sr.useState(!1),[g,f]=sr.useState(""),p=D({componentName:"select",tokens:i},u),v=s==="web"?A(p):T(p),x=r.find(R=>R.value===e);return ir(bt.Root,{open:d,onOpenChange:m,children:[rt(bt.Trigger,{asChild:!0,children:ir("button",{disabled:a,className:b("w-full flex items-center justify-between rounded-md border border-[#E2E5E9]",n==="sm"?"h-9 px-3 text-sm":"h-11 px-4 text-sm","transition-colors outline-none","focus:border-[#652BDF] focus:ring-2 focus:ring-[#652BDF]/20",a&&"opacity-50 cursor-not-allowed",c),children:[rt("span",{className:"truncate text-left leading-none",children:(y=x==null?void 0:x.label)!=null?y:o}),rt(uc,{className:"h-4 w-4 opacity-50 shrink-0"})]})}),rt(bt.Content,{align:"start",sideOffset:4,className:"z-50 rounded-md shadow-lg p-1",style:{width:"var(--radix-popover-trigger-width)",backgroundColor:(P=p.dropdownBackground)!=null?P:"#FFFFFF"},children:rt("ul",{className:"max-h-60 overflow-auto",children:r.map(R=>ir("li",{onClick:()=>{t==null||t(R.value),m(!1)},className:b("flex items-center justify-between","h-10 px-3 rounded-sm text-sm cursor-pointer","hover:bg-gray-100"),children:[rt("span",{children:R.label}),e===R.value&&rt(dc,{className:"h-4 w-4 text-[#020303]"})]},R.value))})})]})}import*as Ua from"react";import{Calendar as pc}from"lucide-react";import{jsx as lr,jsxs as $a}from"react/jsx-runtime";var fc="w-full rounded-md border outline-none transition-colors pr-10 disabled:bg-[#E2E5E9] disabled:text-[#A3AAB8] disabled:cursor-not-allowed",mc="text-sm font-[550] leading-[1.3] tracking-[-0.04em]",gc=W(fc,{variants:{size:{sm:"h-9 px-2 text-sm",md:"h-11 px-3 text-sm"},tone:{brand:"",neutral:"",destructive:""},error:{true:"border-[#FB3131]",false:""}},compoundVariants:[{tone:"brand",error:!1,className:"border-[#D1D5DB] focus:border-[#652BDF] focus:ring-2 focus:ring-[#652BDF]/20"},{tone:"destructive",error:!0,className:"border-[#FB3131] focus:border-[#FB3131] focus:ring-2 focus:ring-[#FB3131]/20"}],defaultVariants:{size:"md",tone:"brand",error:!1}});function u1(d){var m=d,{className:e,size:t,tone:o,label:r,helperText:n,disabled:a,tokens:i,platform:s="web",style:c}=m,u=h(m,["className","size","tone","label","helperText","disabled","tokens","platform","style"]);let g=E(),f=Ua.useRef(null),p=D({componentName:"input",tokens:i},g),v=s==="web"?l(l({},A(p)),c):T(p);return $a("div",{className:"flex flex-col gap-1.5 w-full",children:[r&&lr("label",{className:mc,children:r}),$a("div",{className:"relative",children:[lr("input",l({ref:f,type:"text",disabled:a,className:b(gc({size:t,tone:o}),e)},u)),lr(pc,{size:18,className:"absolute right-3 top-1/2 -translate-y-1/2 text-[#6C7280] pointer-events-none"})]})]})}import{jsx as cr,jsxs as wc}from"react/jsx-runtime";var bc="w-full rounded-md border outline-none transition-colors disabled:bg-[#E2E5E9] disabled:bg-[#E2E5E9] disabled:text-[#A3AAB8] disabled:cursor-not-allowed",vc="text-sm font-[550] leading-[1.3] tracking-[-0.04em]",hc="text-xs leading-[1.3] text-[#6C7280]",xc="text-xs leading-[1.3] text-[#FB3131]",yc=W(bc,{variants:{size:{sm:"h-9 px-2 text-sm",md:"h-11 px-3 text-sm"},tone:{brand:"",neutral:"",destructive:""},error:{true:"border-[#FB3131]",false:""}},compoundVariants:[{tone:"brand",error:!1,className:"border-[#D1D5DB] focus:border-[#652BDF] focus:ring-2 focus:ring-[#652BDF]/20"},{tone:"destructive",error:!0,className:"border-[#FB3131] focus:border-[#FB3131] focus:ring-2 focus:ring-[#FB3131]/20"}],defaultVariants:{size:"md",tone:"brand",error:!1}});function h1(g){var f=g,{className:e,type:t,size:o,tone:r,label:n,helperText:a,error:i=!1,disabled:s,tokens:c,platform:u="web",style:d}=f,m=h(f,["className","type","size","tone","label","helperText","error","disabled","tokens","platform","style"]);let p=E(),v=D({componentName:"input",tokens:c},p),x=u==="web"?l(l({},A(v)),d):T(v);return wc("div",{className:"flex flex-col gap-1.5 w-full",children:[n&&cr("label",{className:vc,children:n}),cr("input",l({disabled:s,className:b(yc({size:o,tone:r,error:i}),e)},m)),a&&cr("span",{className:i?xc:hc,children:a})]})}import*as ja from"@radix-ui/react-label";import{jsx as Cc}from"react/jsx-runtime";function R1(a){var i=a,{className:e,tokens:t,platform:o="web",style:r}=i,n=h(i,["className","tokens","platform","style"]);let s=E(),c=D({componentName:"label",tokens:t},s),u=o==="web"?l(l({},A(c)),r):T(c),d=w(l({},u),{display:"block",width:"auto"});return Cc(ja.Root,l({style:d,"data-slot":"label",className:b("flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50",e)},n))}import*as Za from"react";import{Eye as Pc,EyeOff as Rc}from"lucide-react";import{jsx as vt,jsxs as Ga}from"react/jsx-runtime";var Nc="w-full rounded-md border outline-none transition-colors pr-10 disabled:bg-[#E2E5E9] disabled:text-[#A3AAB8] disabled:cursor-not-allowed",Sc="text-sm font-[550] leading-[1.3] tracking-[-0.04em]",Ac="text-xs leading-[1.3] text-[#6C7280]",Tc="text-xs leading-[1.3] text-[#FB3131]",Ec=W(Nc,{variants:{size:{sm:"h-9 px-2 text-sm",md:"h-11 px-3 text-sm"},tone:{brand:"",neutral:"",destructive:""},error:{true:"border-[#FB3131]",false:""}},compoundVariants:[{tone:"brand",error:!1,className:"border-[#D1D5DB] focus:border-[#652BDF] focus:ring-2 focus:ring-[#652BDF]/20"},{tone:"destructive",error:!0,className:"border-[#FB3131] focus:border-[#FB3131] focus:ring-2 focus:ring-[#FB3131]/20"}],defaultVariants:{size:"md",tone:"brand",error:!1}});function M1(m){var g=m,{className:e,size:t,tone:o,label:r,helperText:n,error:a=!1,disabled:i,tokens:s,platform:c="web",style:u}=g,d=h(g,["className","size","tone","label","helperText","error","disabled","tokens","platform","style"]);var R;let f=E(),p=Za.useRef(null),v=D({componentName:"input",tokens:s},f),x=c==="web"?l(l({},A(v)),u):T(v),y=()=>{p.current&&(p.current.type=p.current.type==="password"?"text":"password")},P=((R=p.current)==null?void 0:R.type)==="text";return Ga("div",{className:"flex flex-col gap-1.5 w-full",children:[r&&vt("label",{className:Sc,children:r}),Ga("div",{className:"relative",children:[vt("input",l({ref:p,type:"password",disabled:i,className:b(Ec({size:t,tone:o,error:a}),e)},d)),vt("button",{type:"button",tabIndex:-1,disabled:i,onClick:y,className:"absolute right-3 top-1/2 -translate-y-1/2 text-[#6C7280] hover:text-[#020303] disabled:text-[#A3AAB8]",children:P?vt(Rc,{size:18}):vt(Pc,{size:18})})]}),n&&vt("span",{className:a?Tc:Ac,children:n})]})}import*as dr from"react";import{Search as Dc,X as kc}from"lucide-react";import{jsx as yo,jsxs as Lc}from"react/jsx-runtime";var Mc="w-full rounded-md border border-[#E2E5E9] outline-none transition-colors pl-10 pr-10 disabled:bg-[#E2E5E9] disabled:text-[#A3AAB8] disabled:cursor-not-allowed focus:border-[#652BDF]",Bc=W(Mc,{variants:{size:{sm:"h-9 py-2 text-sm",md:"h-11 py-3 text-sm"}},defaultVariants:{size:"md"}});function W1(s){var c=s,{className:e,size:t,disabled:o,tokens:r,platform:n="web",style:a}=c,i=h(c,["className","size","disabled","tokens","platform","style"]);let u=E(),d=dr.useRef(null),m=dr.useRef(null),g=D({componentName:"input",tokens:r},u),f=n==="web"?l(l({},A(g)),a):T(g),p=()=>{var x;d.current&&(d.current.value="",d.current.focus(),(x=m.current)==null||x.classList.add("hidden"))};return Lc("div",{className:"relative w-full",children:[yo(Dc,{size:18,className:"absolute left-3 top-1/2 -translate-y-1/2 text-[#6C7280]"}),yo("input",l({ref:d,type:"text",disabled:o,onInput:()=>{!d.current||!m.current||m.current.classList.toggle("hidden",d.current.value.length===0)},className:b(Bc({size:t}),e)},i)),yo("button",{ref:m,type:"button",tabIndex:-1,disabled:o,onClick:p,className:"absolute right-3 top-1/2 -translate-y-1/2 hidden text-[#6C7280] hover:text-[#020303] disabled:text-[#A3AAB8]",children:yo(kc,{size:16})})]})}import*as oe from"@radix-ui/react-select";import{Check as Fc,ChevronsUpDown as Oc}from"lucide-react";import{jsx as Ue,jsxs as ur}from"react/jsx-runtime";var Ic={sm:{height:"32px",padding:"0 12px",fontSize:"13px"},default:{height:"40px",padding:"0 16px",fontSize:"14px"},lg:{height:"48px",padding:"0 20px",fontSize:"16px"}};function Z1({value:e,onValueChange:t,placeholder:o="Seleccionar...",items:r,className:n,tokens:a,platform:i="web",size:s="default"}){var f,p,v;let c=E(),u=D({componentName:"select",tokens:a},c),d=i==="web"?A(u):T(u),m=w(l(l({},d),Ic[s]),{display:"flex",alignItems:"center",justifyContent:"space-between",width:"100%"}),g={fontSize:d.fontSize,padding:(f=u.padding)!=null?f:"10px"};return ur(oe.Root,{value:e,onValueChange:t,children:[ur(oe.Trigger,{className:b("outline-none",n),style:m,children:[Ue(oe.Value,{placeholder:o,style:{color:d.color}}),Ue(oe.Icon,{children:Ue(Oc,{className:"h-4 w-4 opacity-50"})})]}),Ue(oe.Content,{className:"relative z-50 w-full shadow-lg rounded-md",style:{backgroundColor:(p=u.dropdownBackground)!=null?p:"#FFFFFF",borderRadius:(v=u.borderRadius)!=null?v:"6px"},children:Ue(oe.Viewport,{className:"p-1",children:r.map(x=>ur(oe.Item,{value:x.value,className:"relative flex cursor-pointer select-none items-center rounded-sm outline-none hover:bg-gray-100",style:g,children:[Ue(oe.ItemText,{children:x.label}),Ue(oe.ItemIndicator,{className:"absolute right-2 flex items-center",children:Ue(Fc,{className:"h-4 w-4"})})]},x.value))})})]})}import{jsx as pr,jsxs as Hc}from"react/jsx-runtime";var zc="text-sm font-[550] leading-[1.3] tracking-[-0.04em]",_c="text-xs leading-[1.3] text-[#6C7280]",Wc="text-xs leading-[1.3] text-[#FB3131]",Vc="w-full min-h-16 rounded-md border px-3 py-2 outline-none transition-colors resize-y disabled:bg-[#E2E5E9] disabled:text-[#A3AAB8] disabled:cursor-not-allowed";function Q1(u){var d=u,{className:e,style:t,tokens:o,platform:r="web",label:n,helperText:a,error:i=!1,disabled:s}=d,c=h(d,["className","style","tokens","platform","label","helperText","error","disabled"]);let m=E(),g=D({componentName:"textarea",tokens:o},m),f=r==="web"?l(l({},A(g)),t):T(g);return Hc("div",{className:"flex flex-col gap-1.5 w-full",children:[n&&pr("label",{className:zc,children:n}),pr("textarea",l({"data-slot":"textarea",disabled:s,"aria-invalid":i,className:b(Vc,!i&&"border-[#D1D5DB] focus:border-[#652BDF] focus:ring-2 focus:ring-[#652BDF]/20",i&&"border-[#FB3131] focus:border-[#FB3131] focus:ring-2 focus:ring-[#FB3131]/20",e)},c)),a&&pr("span",{className:i?Wc:_c,children:a})]})}import*as wo from"@radix-ui/react-checkbox";import{CheckIcon as $c,Minus as Uc}from"lucide-react";import{jsx as ht,jsxs as Xa}from"react/jsx-runtime";var jc="text-sm font-[550] leading-[1.3] tracking-[-0.04em]",Gc="text-xs text-[#6C7280] leading-[1.3]",Zc="focus-visible:ring-2 focus-visible:ring-[#F67E07] focus-visible:ring-offset-2 focus-visible:ring-offset-white",Xc="inline-flex items-center justify-center shrink-0 border rounded-md transition-colors outline-none focus-visible:ring-2 disabled:cursor-not-allowed",Yc=W(Xc,{variants:{size:{regular:"h-5 w-5",small:"h-4 w-4"},tone:{brand:"",neutral:"",destructive:""}},compoundVariants:[{tone:"brand",className:"border-[#D1D5DB] bg-white hover:border-[#652BDF] ring-[#F67E07]"},{tone:"brand",className:"data-[state=checked]:bg-[#652BDF] data-[state=checked]:border-none data-[state=checked]:data-[disabled]:bg-[#E2E5E9]"},{tone:"brand",className:"data-[state=indeterminate]:bg-[#652BDF] data-[state=indeterminate]:border-none data-[state=indeterminate]:border-[#652BDF] data-[state=indeterminate]:data-[disabled]:bg-[#E2E5E9]"},{tone:"brand",className:"focus-visible:ring-[#F67E07]"},{tone:"brand",className:"data-[disabled]:bg-[#E2E5E9] data-[disabled]:border-[#C3C7D1]"}],defaultVariants:{size:"regular",tone:"brand"}});function vg(m){var g=m,{className:e,tokens:t,size:o,tone:r,label:n,state:a,description:i,disabled:s,style:c,platform:u="web"}=g,d=h(g,["className","tokens","size","tone","label","state","description","disabled","style","platform"]);let f=E(),p=D({componentName:"checkbox",tokens:t},f),v=u==="web"?l(l({},A(p)),c):T(p),x=w(l({},v),{width:"25px",height:"25px",display:"inline-flex",alignItems:"center",justifyContent:"center"});return Xa("label",{className:b("flex items-start gap-3 cursor-pointer",s&&"cursor-not-allowed opacity-60"),children:[ht(wo.Root,w(l({disabled:s,className:b(Yc({size:o,tone:r}),e,Zc)},d),{children:ht(wo.Indicator,{className:"flex items-center justify-center text-white data-[state=checked]:data-[disabled]:text-[#6C7280] data-[state=indeterminate]:data-[disabled]:text-[#6C7280]",children:a==="indeterminate"?ht(Uc,{className:o==="regular"?"h-4 w-4":"h-3 w-3"}):ht($c,{className:o==="regular"?"h-4 w-4":"h-3 w-3"})})})),(n||i)&&Xa("div",{className:"flex flex-col gap-0.5",children:[n&&ht("span",{className:jc,children:n}),i&&ht("span",{className:Gc,children:i})]})]})}import*as yt from"@radix-ui/react-radio-group";import{jsx as xt,jsxs as Ya}from"react/jsx-runtime";var qc="shrink-0 rounded-full border transition-colors outline-none focus-visible:ring-2 focus-visible:ring-[#F67E07] focus-visible:ring-offset-2 disabled:cursor-not-allowed",Kc=W(qc,{variants:{size:{regular:"h-5 w-5",small:"h-4 w-4"},tone:{brand:"",neutral:"",destructive:""}},compoundVariants:[{tone:"brand",className:"border-[#D1D5DB] bg-white"},{tone:"brand",className:"data-[state=checked]:border-[#652BDF]"},{tone:"brand",className:"data-[state=checked]:data-[disabled]:bg-[#E2E5E9]"},{tone:"brand",className:"data-[disabled]:border-none data-[disabled]:bg-[#E2E5E9]"}],defaultVariants:{size:"regular",tone:"brand"}}),Jc=W("rounded-full transition-colors",{variants:{size:{regular:"h-2.5 w-2.5",small:"h-2 w-2"},tone:{brand:`
42
+ `},e))}function pf(e){return fe("td",l({"data-slot":"table-cell",className:p("px-4 py-3 align-middle whitespace-nowrap text-sm text-[#3A3F4B]",e.className)},e))}function ff(e){return fe("caption",l({"data-slot":"table-caption",className:p("mt-4 text-sm text-muted-foreground",e.className)},e))}import*as H from"@radix-ui/react-dropdown-menu";import{CheckIcon as $i,ChevronRightIcon as Vi,CircleIcon as Xi}from"lucide-react";import{jsx as ee,jsxs as nr}from"react/jsx-runtime";function er(e){return ee(H.Root,l({"data-slot":"dropdown-menu"},e))}function Pf(e){return ee(H.Portal,l({"data-slot":"dropdown-menu-portal"},e))}function tr(e){return ee(H.Trigger,l({"data-slot":"dropdown-menu-trigger"},e))}function rr(c){var s=c,{className:e,style:t,sideOffset:r=4,variant:o="default",tokens:n,platform:a="web"}=s,i=v(s,["className","style","sideOffset","variant","tokens","platform"]);let u=S(),d=A({componentName:"dropdown",variant:o,tokens:n},u),b=a==="web"?l(l({},N(d)),t):T(d);return ee(H.Portal,{children:ee(H.Content,l({"data-slot":"dropdown-menu-content",sideOffset:r,className:p("z-50 min-w-[8rem] overflow-x-hidden overflow-y-auto rounded-md bg-white border border-[#E2E5E9] p-1 shadow-md","bg-white text-popover-foreground","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",e)},i))})}function Ef(e){return ee(H.Group,l({"data-slot":"dropdown-menu-group"},e))}function or(n){var a=n,{className:e,inset:t,variant:r="default"}=a,o=v(a,["className","inset","variant"]);return ee(H.Item,l({"data-slot":"dropdown-menu-item","data-inset":t,"data-variant":r,className:p("relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm","outline-none select-none transition-colors","focus:bg-accent focus:text-accent-foreground","data-[disabled]:pointer-events-none data-[disabled]:opacity-50","data-[variant=destructive]:text-destructive","data-[variant=destructive]:focus:bg-destructive/10","data-[inset]:pl-8","[&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",e)},o))}function wf(n){var a=n,{className:e,children:t,checked:r}=a,o=v(a,["className","children","checked"]);return nr(H.CheckboxItem,w(l({"data-slot":"dropdown-menu-checkbox-item",checked:r,className:p("relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm","outline-none select-none focus:bg-accent focus:text-accent-foreground","data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e)},o),{children:[ee("span",{className:"absolute left-2 flex size-3.5 items-center justify-center",children:ee(H.ItemIndicator,{children:ee($i,{className:"size-4"})})}),t]}))}function Nf(e){return ee(H.RadioGroup,l({"data-slot":"dropdown-menu-radio-group"},e))}function Tf(o){var n=o,{className:e,children:t}=n,r=v(n,["className","children"]);return nr(H.RadioItem,w(l({"data-slot":"dropdown-menu-radio-item",className:p("relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm","outline-none select-none focus:bg-accent focus:text-accent-foreground","data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e)},r),{children:[ee("span",{className:"absolute left-2 flex size-3.5 items-center justify-center",children:ee(H.ItemIndicator,{children:ee(Xi,{className:"size-2 fill-current"})})}),t]}))}function Sf(o){var n=o,{className:e,inset:t}=n,r=v(n,["className","inset"]);return ee(H.Label,l({"data-slot":"dropdown-menu-label","data-inset":t,className:p("px-2 py-1.5 text-sm font-medium data-[inset]:pl-8",e)},r))}function Af(e){return ee(H.Separator,l({"data-slot":"dropdown-menu-separator",className:"bg-border bg-white -mx-1 my-1 h-px"},e))}function If(e){return ee("span",l({"data-slot":"dropdown-menu-shortcut",className:"ml-auto text-xs tracking-widest text-muted-foreground"},e))}function Of(e){return ee(H.Sub,l({"data-slot":"dropdown-menu-sub"},e))}function Df(n){var a=n,{className:e,inset:t,children:r}=a,o=v(a,["className","inset","children"]);return nr(H.SubTrigger,w(l({"data-slot":"dropdown-menu-sub-trigger","data-inset":t,className:p("flex cursor-default items-center gap-2 rounded-md px-2 py-1.5 text-sm","outline-none select-none","focus:bg-accent focus:text-accent-foreground","data-[state=open]:bg-accent data-[state=open]:text-accent-foreground","data-[inset]:pl-8",e)},o),{children:[r,ee(Vi,{className:"ml-auto size-4"})]}))}function Mf(r){var o=r,{className:e}=o,t=v(o,["className"]);return ee(H.SubContent,l({"data-slot":"dropdown-menu-sub-content",className:p("z-50 min-w-[8rem] overflow-hidden rounded-md border p-1 shadow-lg","bg-white text-popover-foreground","data-[state=open]:animate-in data-[state=closed]:animate-out",e)},t))}import*as Ae from"@radix-ui/react-popover";import{jsx as mt}from"react/jsx-runtime";function Tt(t){var e=v(t,[]);return mt(Ae.Root,l({"data-slot":"popover"},e))}function St(t){var e=v(t,[]);return mt(Ae.Trigger,l({"data-slot":"popover-trigger"},e))}function At(i){var c=i,{className:e,align:t="center",sideOffset:r=4,tokens:o,style:n}=c,a=v(c,["className","align","sideOffset","tokens","style"]);let s=S(),u=A({componentName:"popover",tokens:o},s),d=s.platform==="web"?l(l({},N(u)),n):T(u);return mt(Ae.Portal,{children:mt(Ae.Content,l({"data-slot":"popover-content",align:t,sideOffset:r,style:{backgroundColor:d.backgroundColor,color:d.color,borderRadius:d.borderRadius,boxShadow:u.shadow,border:`1px solid ${d.borderColor}`},className:p("z-50 w-72 origin-(--radix-popover-content-transform-origin)","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","p-4 outline-hidden",e)},a))})}function jf(t){var e=v(t,[]);return mt(Ae.Anchor,l({"data-slot":"popover-anchor"},e))}import*as me from"@radix-ui/react-tooltip";import{jsx as et,jsxs as Wi}from"react/jsx-runtime";function Gi(r){var o=r,{delayDuration:e=0}=o,t=v(o,["delayDuration"]);return et(me.Provider,l({"data-slot":"tooltip-provider",delayDuration:e},t))}function Gf(o){var n=o,{tokens:e,platform:t="web"}=n,r=v(n,["tokens","platform"]);return et(Gi,{children:et(me.Root,l({"data-slot":"tooltip"},r))})}function Wf(t){var e=v(t,[]);return et(me.Trigger,l({"data-slot":"tooltip-trigger"},e))}function qf(i){var c=i,{className:e,sideOffset:t=4,tokens:r,platform:o="web",children:n}=c,a=v(c,["className","sideOffset","tokens","platform","children"]);let s=S(),u=A({componentName:"tooltip",tokens:r},s),d=o==="web"?N(u):T(u);return et(me.Portal,{children:Wi(me.Content,w(l({"data-slot":"tooltip-content",sideOffset:t,className:p("animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-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 z-50 w-fit rounded-md px-3 py-1.5 text-xs",e),style:d},a),{children:[n,et(me.Arrow,{className:"z-50 size-2.5 translate-y-[calc(-50%_-_2px)] rotate-45 rounded-[2px]",style:{backgroundColor:d.backgroundColor,fill:d.backgroundColor}})]}))})}import{Slot as qi}from"@radix-ui/react-slot";import{jsx as le,jsxs as Bo}from"react/jsx-runtime";var Yi="w-full max-w-[1184px] min-h-[77px] flex items-center gap-4 rounded-[12px] border px-4 py-4 sm:pr-6 opacity-100",Ki=U(Yi,{variants:{size:{full:"",compact:"max-w-[360px]"}},defaultVariants:{size:"full"}}),Zi="shrink-0 flex items-center justify-center w-[44px] h-[44px] rounded-[8px]";function Qi({tone:e}){return e==="success"?le("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none","aria-hidden":"true",children:le("path",{d:"M22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12ZM15.4746 8.91992C15.154 8.65763 14.6822 8.70481 14.4199 9.02539L10.4443 13.8838L9.03027 12.4697C8.73738 12.1768 8.26262 12.1768 7.96973 12.4697C7.67683 12.7626 7.67683 13.2374 7.96973 13.5303L9.96973 15.5303C10.1195 15.68 10.3256 15.7595 10.5371 15.749C10.7487 15.7385 10.9459 15.6386 11.0801 15.4746L15.5801 9.97461C15.8424 9.65403 15.7952 9.18222 15.4746 8.91992Z",fill:"currentColor"})}):e==="warning"?le("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none","aria-hidden":"true",children:le("path",{d:"M9.636 3.25806C10.7019 1.46533 13.2976 1.46533 14.3635 3.25806L21.8479 15.845C22.9374 17.678 21.6162 20.0002 19.4837 20.0002H4.51588C2.38335 20.0001 1.06285 17.678 2.1526 15.845L9.636 3.25806ZM11.2503 8.75024V12.7502C11.2504 13.1644 11.5861 13.5002 12.0003 13.5002C12.4143 13.5001 12.7501 13.1643 12.7503 12.7502V8.75024C12.7503 8.33612 12.4143 8.00039 12.0003 8.00024C11.586 8.00024 11.2503 8.33603 11.2503 8.75024ZM12.0003 16.5002C12.5523 16.5001 13.0001 16.0523 13.0003 15.5002C13.0003 14.9823 12.6063 14.5561 12.1018 14.5051L12.0003 14.5002C11.4825 14.5002 11.0564 14.8935 11.0051 15.3977L11.0003 15.5002L11.0051 15.6018C11.0561 16.1063 11.4823 16.5002 12.0003 16.5002Z",fill:"currentColor"})}):e==="error"?le("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none","aria-hidden":"true",children:le("path",{d:"M22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12ZM15.5303 8.46973C15.2374 8.17683 14.7626 8.17683 14.4697 8.46973L12 10.9395L9.53027 8.46973C9.23738 8.17683 8.76262 8.17683 8.46973 8.46973C8.17683 8.76262 8.17683 9.23738 8.46973 9.53027L10.9395 12L8.46973 14.4697C8.17683 14.7626 8.17683 15.2374 8.46973 15.5303C8.76262 15.8232 9.23738 15.8232 9.53027 15.5303L12 13.0605L14.4697 15.5303C14.7626 15.8232 15.2374 15.8232 15.5303 15.5303C15.8232 15.2374 15.8232 14.7626 15.5303 14.4697L13.0605 12L15.5303 9.53027C15.8232 9.23738 15.8232 8.76262 15.5303 8.46973Z",fill:"currentColor"})}):le("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none","aria-hidden":"true",children:le("path",{d:"M22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12ZM11.25 11.75V16.25C11.25 16.6642 11.5858 17 12 17C12.4142 17 12.75 16.6642 12.75 16.25V11C12.75 10.5858 12.4142 10.25 12 10.25H10.75C10.3358 10.25 10 10.5858 10 11C10 11.4142 10.3358 11.75 10.75 11.75H11.25ZM12 8.75C12.4142 8.75 12.75 8.41421 12.75 8C12.75 7.58579 12.4142 7.25 12 7.25C11.5858 7.25 11.25 7.58579 11.25 8C11.25 8.41421 11.5858 8.75 12 8.75Z",fill:"currentColor"})})}function Ji(e,t){switch(e){case"brand":return{bg:t,border:"transparent",text:"#FFFFFF",iconBg:"rgba(255,255,255,0.16)",iconColor:"#FFFFFF",subtitleOpacity:.85,actionColor:"#FFFFFF"};case"neutral":return{bg:"#F8FAFC",border:"#E2E8F0",text:"#111827",iconBg:"rgba(108,114,128,0.14)",iconColor:"#6C7280",subtitleOpacity:1,actionColor:"#111827"};case"success":return{bg:"#f2fdf8",border:"#1AC776",text:"#111827",iconBg:"rgba(26, 199, 118, 0.18)",iconColor:"#1AC776",subtitleOpacity:1,actionColor:"#1AC776"};case"info":return{bg:"#f0f5fe",border:"#2563EB",text:"#111827",iconBg:"rgba(37, 99, 235, 0.18)",iconColor:"#2563EB",subtitleOpacity:1,actionColor:"#2563EB"};case"warning":return{bg:"#FEFAF0",border:"#FBAA31",text:"#111827",iconBg:"rgba(251, 170, 49, 0.20)",iconColor:"#FBAA31",subtitleOpacity:1,actionColor:"#C26E04"};case"error":return{bg:"#feeeeb",border:"#DC2626",text:"#111827",iconBg:"rgba(220, 38, 38, 0.18)",iconColor:"#DC2626",subtitleOpacity:1,actionColor:"#DC2626"}}}function ar(e){if(typeof e!="string")return;let t=e.trim().toLowerCase();if(t&&t!=="transparent")return e}function i1(R){var _=R,{className:e,tone:t="neutral",size:r,asChild:o=!1,tokens:n,platform:a="web",title:i,subtitle:c,icon:s,endSlot:u,showAction:d,actionLabel:b="Ver detalle",actionHref:h,onActionClick:C,iconContainerClassName:x,contentClassName:f,actionClassName:m,style:g}=_,y=v(_,["className","tone","size","asChild","tokens","platform","title","subtitle","icon","endSlot","showAction","actionLabel","actionHref","onActionClick","iconContainerClassName","contentClassName","actionClassName","style"]);var K,Le,M,X,J,Ke,yt,ho;let P=o?qi:"div",E=S(),B=(J=(X=(K=E==null?void 0:E.colors)==null?void 0:K.primary)!=null?X:(M=(Le=E==null?void 0:E.tokens)==null?void 0:Le.colors)==null?void 0:M.primary)!=null?J:"#652BDF",F=Ji(t,B),O=A({componentName:"banner",tone:t,size:r,tokens:n},E),I=a==="web"?l({},N(O)):T(O),ue=I!=null?I:{},{backgroundColor:V,borderColor:D,color:ne}=ue,Q=v(ue,["backgroundColor","borderColor","color"]),q=(Ke=ar(V))!=null?Ke:F.bg,$=(yt=ar(D))!=null?yt:F.border,te=(ho=ar(ne))!=null?ho:F.text,k=l(l({backgroundColor:q,borderColor:$},Q),g),ae=(d!=null?d:!!(h||C))&&!u?h?le("a",{href:h,className:p("shrink-0 text-xs font-semibold underline underline-offset-2 cursor-pointer",m),style:{color:F.actionColor},onClick:Pp=>{C==null||C()},children:b}):C?le("button",{type:"button",className:p("shrink-0 text-xs font-semibold underline underline-offset-2 cursor-pointer bg-transparent p-0",m),style:{color:F.actionColor},onClick:C,children:b}):null:null;return Bo(P,w(l({"data-slot":"banner",className:p(Ki({size:r}),e),style:k},y),{children:[le("div",{className:p(Zi,x),style:{backgroundColor:F.iconBg,color:F.iconColor},children:s!=null?s:le(Qi,{tone:t})}),Bo("div",{className:p("min-w-0 flex-1 flex flex-col gap-1",f),children:[le("div",{className:"text-sm font-semibold leading-[1.3] tracking-[-0.04em] truncate",style:{color:te},children:i}),c&&le("div",{className:"text-xs leading-[1.3] truncate",style:{color:te,opacity:F.subtitleOpacity},children:c})]}),u?le("div",{className:"shrink-0",children:u}):ae]}))}import{jsx as zo,jsxs as ts}from"react/jsx-runtime";var es=U(["flex","items-center","gap-4","rounded-[16px]","transition-all","overflow-hidden"].join(" "),{variants:{variant:{primary:"",secondary:"",tertiary:""}},defaultVariants:{variant:"primary"}});function f1(d){var b=d,{className:e,title:t,imageSrc:r,imageAlt:o="",imagePosition:n="right",tokens:a,variant:i="primary",platform:c="web",style:s}=b,u=v(b,["className","title","imageSrc","imageAlt","imagePosition","tokens","variant","platform","style"]);var m;let h=S(),C=A({componentName:"promoBanner",variant:i,size:"default",tokens:a},h),x=c==="web"?N(C):T(C),f=zo("div",{className:"shrink-0",style:{width:"88px",height:"56px",borderRadius:"8px",backgroundImage:`url(${r})`,backgroundColor:"lightgray",backgroundPosition:"50%",backgroundSize:"cover",backgroundRepeat:"no-repeat"},"aria-label":o});return ts("div",w(l({className:p(es({variant:i}),e),style:l({width:"286px",height:"72px",padding:"12px 16px",backgroundColor:"#F9F9FA"},s)},u),{children:[n==="left"&&f,zo("div",{className:"flex-1 min-w-0",style:{color:(m=x==null?void 0:x.color)!=null?m:"#652BDF",fontFeatureSettings:"'ss03' on, 'ss06' on",fontFamily:"Inter, system-ui, sans-serif",fontSize:"14px",fontWeight:550,lineHeight:"130%",letterSpacing:"-0.56px",display:"-webkit-box",WebkitLineClamp:2,WebkitBoxOrient:"vertical",overflow:"hidden"},children:t}),n==="right"&&f]}))}import{jsx as ir,jsxs as jo}from"react/jsx-runtime";var rs=U(["inline-flex","flex-col","max-w-full","place-self-start","overflow-hidden","min-w-0","rounded-[16px]","transition-all","bg-[var(--card-bg)]","border border-[var(--card-border)]"].join(" "),{variants:{variant:{primary:"",secondary:"",tertiary:""}},defaultVariants:{variant:"primary"}});function It(d){var b=d,{className:e,title:t,action:r,tokens:o,variant:n="primary",platform:a="web",width:i,children:c,style:s}=b,u=v(b,["className","title","action","tokens","variant","platform","width","children","style"]);var f;let h=S(),C=A({componentName:"card",variant:n,size:"default",tokens:o},h),x=a==="web"?N(C):T(C);return jo("div",w(l({className:p(rs({variant:n}),!i&&"w-fit",e),style:l({"--card-bg":x.backgroundColor,"--card-border":(f=x.borderColor)!=null?f:"transparent","--card-text":x.color,padding:"16px",width:i?typeof i=="number"?`${i}px`:i:void 0},s)},u),{children:[(t||r)&&jo("div",{className:"flex items-center justify-between mb-4 gap-2 min-w-0",children:[ir("div",{className:"truncate",style:{color:"var(--card-text)",fontFeatureSettings:"'ss03' on, 'ss06' on",fontSize:"18px",fontStyle:"normal",fontWeight:550,lineHeight:"130%",letterSpacing:"-0.72px"},children:t}),r&&ir("div",{className:"shrink-0",children:r})]}),ir("div",{className:"w-full min-w-0 max-w-full overflow-hidden",children:c})]}))}import*as qe from"react";import{jsx as Ho}from"react/jsx-runtime";function P1({children:e,className:t}){let r=qe.useRef(null),o=qe.useRef(!1),n=qe.useRef(0),a=qe.useRef(0),i=d=>{r.current&&(o.current=!0,r.current.classList.add("cursor-grabbing"),n.current=d.pageX-r.current.offsetLeft,a.current=r.current.scrollLeft)},c=()=>{var d;o.current=!1,(d=r.current)==null||d.classList.remove("cursor-grabbing")},s=()=>{var d;o.current=!1,(d=r.current)==null||d.classList.remove("cursor-grabbing")},u=d=>{if(!o.current||!r.current)return;d.preventDefault();let h=(d.pageX-r.current.offsetLeft-n.current)*1.2;r.current.scrollLeft=a.current-h};return Ho("div",{ref:r,className:p("flex gap-4","overflow-x-auto","scroll-smooth","snap-x snap-mandatory","no-scrollbar","cursor-grab","select-none",t),onMouseDown:i,onMouseLeave:c,onMouseUp:s,onMouseMove:u,children:qe.Children.map(e,d=>Ho("div",{className:"shrink-0 snap-start",children:d}))})}import{Slot as os}from"@radix-ui/react-slot";import{Fragment as Uo,jsx as G,jsxs as Ue}from"react/jsx-runtime";var ns="bg-[#F9F9FA] flex flex-col overflow-hidden",as=U(ns,{variants:{variant:{default:"border border-[#E5E7EB]",subtle:"border border-[#EEF2F7]",none:"border-0"},logoSize:{small:"w-full max-w-[380px] min-h-[210px] rounded-[16px] px-5 pt-5 pb-4 justify-between",large:"w-full max-w-[380px] rounded-[16px] px-5 pt-4 pb-4 gap-3"}},defaultVariants:{variant:"default",logoSize:"small"}}),is="w-10 h-10 rounded-[8px] border flex items-center justify-center overflow-hidden shrink-0";function O1(B){var F=B,{className:e,variant:t,logoSize:r="small",asChild:o=!1,tokens:n,platform:a="web",badgeText:i,logoSlot:c,logoSrc:s,logoAlt:u="",initials:d=" ",bannerClassName:b,title:h,description:C,linkLabel:x="Link",linkHref:f,onLinkClick:m,logoClassName:g,badgeClassName:y,contentClassName:R,linkClassName:_,style:P}=F,E=v(F,["className","variant","logoSize","asChild","tokens","platform","badgeText","logoSlot","logoSrc","logoAlt","initials","bannerClassName","title","description","linkLabel","linkHref","onLinkClick","logoClassName","badgeClassName","contentClassName","linkClassName","style"]);let O=o?os:"div",I=S(),V=A({componentName:"integrationCard",variant:t,tokens:n},I),D=a==="web"?l({},N(V)):T(V),k=D!=null?D:{},{backgroundColor:ne}=k,Q=v(k,["backgroundColor"]),q=l(l({},Q),P),$=!!(f||m),te=c||(s?Ue("svg",{width:"42",height:"42",viewBox:"0 0 42 42",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[Ue("g",{clipPath:"url(#clip0_1394_16539)",children:[G("rect",{x:"1",y:"1",width:"40",height:"40",rx:"5.33333",fill:"#00BCFF"}),G("path",{d:"M21.0021 14.0945C14.9533 14.0945 10.0503 17.0079 10.0503 20.6022C10.0503 24.1966 14.9533 27.3921 21.0021 27.3921C27.0508 27.3921 31.9537 24.1962 31.9537 20.6022C31.9537 17.0082 27.0506 14.0945 21.0021 14.0945Z",fill:"#00BCFF"}),G("path",{d:"M17.439 18.5906C17.4335 18.6005 17.3265 18.7033 17.3959 18.7859C17.5651 18.9869 18.0883 19.1022 18.6173 18.9919C18.9323 18.9263 19.3359 18.6279 19.7271 18.3397C20.1004 18.0247 20.5287 17.771 20.9937 17.5895C21.2907 17.4885 21.6152 17.4806 21.9175 17.5671C22.2245 17.673 22.5094 17.8274 22.7597 18.0235C23.4938 18.5363 26.4463 20.9301 26.9565 21.3437C28.5241 20.7382 30.1471 20.2646 31.8058 19.9287C31.5901 18.7001 30.7945 17.5288 29.5738 16.6083C27.8725 17.2721 25.6548 17.6695 23.6219 16.7474C22.9313 16.457 22.1844 16.2993 21.4264 16.2837C19.8135 16.3185 19.1148 16.9668 18.3755 17.6531L17.439 18.5906Z",fill:"white"}),G("path",{d:"M26.8365 21.6042C26.8017 21.5753 23.3651 18.7821 22.5863 18.2385C22.3151 18.0143 21.9806 17.8668 21.622 17.8132C21.4677 17.8018 21.3125 17.8157 21.1632 17.8542C20.7035 18.015 20.2781 18.2505 19.9069 18.5495C19.4718 18.8717 19.0613 19.1749 18.6801 19.2542C18.2196 19.3421 17.7404 19.2752 17.328 19.0656C17.2314 19.0107 17.1536 18.9314 17.1035 18.8371C17.076 18.7649 17.0722 18.6866 17.0927 18.6123C17.1131 18.5381 17.1569 18.4711 17.2185 18.42L18.167 17.4671C18.2774 17.365 18.3882 17.2626 18.5022 17.1621C18.2097 17.2029 17.9207 17.2634 17.6376 17.3429C17.3115 17.4435 16.9722 17.5023 16.629 17.5176C16.2832 17.4851 15.9395 17.4352 15.5995 17.3682C14.5857 17.1472 13.596 16.8396 12.6432 16.4492C11.2949 17.3816 10.4168 18.5263 10.1562 19.8103C10.35 19.8579 10.8577 19.9653 10.9889 19.9924C14.0403 20.6226 14.9906 21.2717 15.163 21.4073C15.2644 21.3013 15.3903 21.218 15.5314 21.1638C15.6724 21.1094 15.8249 21.0857 15.9773 21.094C16.1297 21.1023 16.2781 21.1427 16.4113 21.2119C16.5445 21.2812 16.6591 21.3777 16.7464 21.494C16.9522 21.3394 17.209 21.2554 17.4736 21.2562C17.6223 21.2576 17.7697 21.2816 17.91 21.3273C18.046 21.3677 18.1711 21.4346 18.2771 21.5234C18.383 21.6123 18.4672 21.7212 18.5242 21.8428C18.6576 21.7867 18.8025 21.7581 18.9488 21.7589C19.1239 21.761 19.2967 21.7963 19.4563 21.8629C19.6786 21.9597 19.8588 22.1236 19.9676 22.3278C20.0765 22.5321 20.1073 22.7647 20.0553 22.9873C20.0957 22.9833 20.1363 22.9813 20.1769 22.9813C20.4976 22.9819 20.805 23.1004 21.0318 23.3111C21.2585 23.5218 21.386 23.8074 21.3865 24.1053C21.3865 24.2907 21.3367 24.473 21.2417 24.6359C21.5575 24.8152 21.9223 24.906 22.2923 24.8972C22.3846 24.8973 22.4759 24.8797 22.5605 24.8453C22.645 24.8111 22.721 24.761 22.7838 24.6982C22.8142 24.6583 22.8459 24.6118 22.8165 24.5781L21.9553 23.69C21.9553 23.69 21.8138 23.5654 21.8606 23.5174C21.9089 23.468 21.9966 23.5389 22.0587 23.587C22.4968 23.9269 23.0316 24.4399 23.0316 24.4399C23.0409 24.4454 23.0761 24.5104 23.2739 24.5434C23.3922 24.5626 23.5133 24.5593 23.6303 24.534C23.7472 24.5087 23.8575 24.4618 23.9543 24.396C24.0093 24.3533 24.0595 24.3057 24.1042 24.2537C24.1011 24.2564 24.0978 24.2589 24.0941 24.2609C24.1545 24.1834 24.1849 24.0892 24.1805 23.9937C24.1759 23.8981 24.1369 23.8068 24.0696 23.7344L23.0643 22.686C23.0643 22.686 22.9206 22.5623 22.9699 22.5131C23.0135 22.4699 23.1058 22.535 23.1689 22.5836C23.487 22.8308 23.9367 23.2496 24.3677 23.6421C24.5113 23.7323 24.6821 23.778 24.8555 23.7724C25.0287 23.7668 25.1957 23.7103 25.3322 23.611C25.4441 23.5537 25.5367 23.4687 25.5997 23.3653C25.6627 23.262 25.6936 23.1446 25.689 23.0259C25.6673 22.8776 25.5926 22.7403 25.4768 22.6362L24.1042 21.3539C24.1042 21.3539 23.9588 21.2388 24.0103 21.1808C24.0523 21.1318 24.146 21.2022 24.2081 21.2502C24.6452 21.5901 25.8291 22.5986 25.8291 22.5986C25.9686 22.6822 26.1318 22.7252 26.2978 22.7222C26.4637 22.7191 26.6249 22.6701 26.7608 22.5814C26.848 22.534 26.9215 22.4676 26.9747 22.3878C27.028 22.3081 27.0596 22.2174 27.0666 22.1238C27.0707 22.0269 27.0522 21.9304 27.0125 21.8408C26.9728 21.7511 26.9128 21.6704 26.8365 21.6042Z",fill:"white"}),G("path",{d:"M20.1766 23.2294C20.0154 23.2504 19.8562 23.2832 19.7005 23.3274C19.6835 23.3172 19.7135 23.2377 19.7333 23.1918C19.7541 23.1465 20.0344 22.3628 19.3508 22.0908C19.1978 22.0146 19.0225 21.9863 18.8508 22.01C18.6792 22.0338 18.5203 22.1084 18.398 22.2227C18.3694 22.2505 18.3564 22.2482 18.3532 22.2132C18.3491 22.0668 18.2958 21.9254 18.2008 21.8086C18.1058 21.6918 17.9738 21.6056 17.8233 21.5622C17.6102 21.5012 17.3817 21.5058 17.1717 21.5754C16.9617 21.6449 16.7815 21.7756 16.6579 21.948C16.6359 21.7935 16.5585 21.6504 16.4381 21.5418C16.3177 21.4332 16.1614 21.3655 15.9945 21.3496C15.8276 21.3336 15.6597 21.3705 15.5181 21.4542C15.3765 21.5377 15.2694 21.6633 15.2141 21.8104C15.1588 21.9576 15.1585 22.1178 15.2132 22.265C15.268 22.4124 15.3747 22.5383 15.516 22.6224C15.6573 22.7065 15.825 22.7438 15.992 22.7285C16.159 22.713 16.3155 22.6458 16.4363 22.5376C16.4406 22.5413 16.4422 22.5478 16.4401 22.5609C16.3895 22.7757 16.4239 23.0002 16.5369 23.1933C16.6498 23.3864 16.8339 23.5353 17.0553 23.6126C17.175 23.6555 17.3046 23.6685 17.4313 23.6503C17.558 23.6322 17.6774 23.5835 17.7776 23.509C17.8369 23.4703 17.8465 23.4866 17.8382 23.5385C17.8127 23.6993 17.8451 24.0435 18.3646 24.2388C18.4933 24.2975 18.6389 24.3159 18.7798 24.2916C18.9207 24.2673 19.0495 24.2014 19.147 24.1038C19.2138 24.0475 19.2321 24.0567 19.2355 24.144C19.2438 24.3153 19.3062 24.4804 19.4147 24.6189C19.5232 24.7576 19.6731 24.8635 19.8458 24.9237C20.0186 24.9838 20.2065 24.9956 20.3864 24.9574C20.5663 24.9193 20.7301 24.8328 20.8575 24.7089C20.9851 24.5852 21.0705 24.4292 21.1035 24.2606C21.1364 24.0919 21.1153 23.918 21.0428 23.7605C20.9703 23.6029 20.8496 23.4686 20.6956 23.3742C20.5416 23.2797 20.3612 23.2294 20.1766 23.2294Z",fill:"white"}),G("path",{d:"M21.0007 13.825C14.8367 13.825 9.84012 16.8702 9.84012 20.6055C9.84012 20.7021 9.83887 20.9686 9.83887 21.0024C9.83887 24.9655 14.2061 28.1749 20.9992 28.1749C27.8334 28.1749 32.1609 24.9663 32.1609 21.0032V20.6055C32.1608 16.8702 27.1641 13.825 21.0007 13.825ZM31.6577 19.8541C30.0496 20.1845 28.4796 20.6586 26.9696 21.2696C25.9107 20.4115 23.4641 18.4354 22.8016 17.9736C22.5448 17.7729 22.2524 17.615 21.9377 17.5067C21.8006 17.4665 21.6577 17.4458 21.5138 17.4451C21.3307 17.4474 21.149 17.4758 20.9752 17.5294C20.5099 17.7089 20.0811 17.961 19.7076 18.275L19.6862 18.2906C19.3018 18.5745 18.9044 18.8682 18.6038 18.9304C18.4722 18.958 18.3378 18.972 18.2029 18.9721C18.0676 18.9825 17.9315 18.9681 17.8022 18.9294C17.673 18.8909 17.5533 18.8289 17.4499 18.747C17.4312 18.7248 17.4436 18.6889 17.4871 18.6373L17.4927 18.6302L18.4244 17.698C19.1539 17.0204 19.8431 16.3805 21.4289 16.3467C21.4553 16.346 21.482 16.3455 21.5081 16.3455C22.2283 16.3728 22.9363 16.5286 23.5932 16.8043C24.4759 17.2141 25.448 17.4307 26.4348 17.4373C27.5142 17.42 28.5766 17.184 29.5477 16.7458C30.6791 17.6297 31.4296 18.6942 31.6577 19.8541ZM21.0027 14.2254C24.2742 14.2254 27.2019 15.0964 29.1701 16.4683C28.3113 16.8327 27.3809 17.0286 26.437 17.0438C25.5134 17.0368 24.604 16.8335 23.7782 16.4494C23.0642 16.1467 22.2931 15.9774 21.5088 15.9513C21.4789 15.9513 21.4488 15.9517 21.4193 15.9524C20.4746 15.9395 19.5563 16.2423 18.8318 16.8056C18.3931 16.827 17.9592 16.9006 17.5407 17.0246C17.2465 17.1157 16.9406 17.1701 16.631 17.1864C16.5144 17.1864 16.3045 17.1765 16.2857 17.1758C15.1726 16.9938 14.0808 16.7131 13.0253 16.3377C14.9896 15.0411 17.8354 14.2254 21.0027 14.2254ZM12.6391 16.6083C14.0004 17.1255 15.6518 17.5249 16.1741 17.5563C16.3197 17.5652 16.4749 17.5805 16.6302 17.5808C16.9795 17.565 17.3249 17.5054 17.657 17.4036C17.8547 17.3521 18.0727 17.2959 18.3021 17.2553C18.2407 17.311 18.1796 17.3676 18.1182 17.4247L17.1721 18.3755C17.1001 18.4347 17.0492 18.5128 17.0261 18.5995C17.003 18.6862 17.0087 18.7774 17.0425 18.861C17.0974 18.9668 17.1837 19.0558 17.2913 19.1174C17.5973 19.2781 17.9441 19.3599 18.2957 19.3541C18.4303 19.355 18.5647 19.3419 18.6963 19.3152C19.0931 19.2326 19.5092 18.9246 19.9499 18.5991C20.3149 18.3063 20.7318 18.0746 21.1821 17.9142C21.2942 17.8866 21.4096 17.8719 21.5256 17.8705C21.5553 17.8703 21.585 17.8719 21.6144 17.8754C21.961 17.9283 22.2842 18.0715 22.5464 18.2885C23.3233 18.8308 26.7603 21.6236 26.7941 21.6512C26.8624 21.7113 26.9161 21.7843 26.9517 21.8652C26.9872 21.9461 27.0039 22.0331 27.0004 22.1204C26.9942 22.2041 26.9659 22.2851 26.918 22.3563C26.87 22.4274 26.804 22.4865 26.7257 22.5283C26.5921 22.6113 26.4354 22.6565 26.2748 22.6589C26.1337 22.659 25.9956 22.6217 25.8763 22.5516C25.8638 22.542 24.6862 21.5389 24.2526 21.2019C24.1983 21.1485 24.1269 21.1131 24.0491 21.1009C24.0318 21.1005 24.0147 21.104 23.999 21.1109C23.9834 21.1176 23.9697 21.1278 23.9589 21.1403C23.8908 21.2183 23.9671 21.3265 24.0572 21.3974L25.4328 22.6824C25.5353 22.7752 25.6022 22.8969 25.6231 23.0285C25.6267 23.1362 25.598 23.2426 25.5403 23.3362C25.4827 23.4296 25.3983 23.5065 25.2964 23.5582C25.1534 23.6518 24.9838 23.7039 24.8088 23.708C24.6691 23.708 24.5324 23.6694 24.4163 23.5972L24.2191 23.4168C23.8583 23.0872 23.4859 22.7462 23.2133 22.535C23.1583 22.4823 23.0863 22.4476 23.0083 22.4361C22.992 22.4359 22.9759 22.4388 22.961 22.4447C22.9461 22.4506 22.9327 22.4594 22.9217 22.4705C22.8906 22.5026 22.8689 22.5602 22.9468 22.6559C22.9677 22.6816 22.9909 22.7056 23.0161 22.7278L24.0198 23.7751C24.0777 23.8361 24.1116 23.9136 24.1157 23.9949C24.1198 24.0762 24.094 24.1563 24.0426 24.2221L24.007 24.2638C23.9776 24.2933 23.9463 24.3213 23.9134 24.3475C23.7713 24.4443 23.599 24.4951 23.4229 24.4919C23.3773 24.4921 23.332 24.4885 23.2872 24.4812C23.214 24.4759 23.1447 24.4488 23.0893 24.4038L23.0768 24.392C23.0222 24.3393 22.5163 23.8595 22.0978 23.5349C22.0458 23.4836 21.9772 23.4495 21.9024 23.4379C21.8853 23.4378 21.8683 23.4411 21.8527 23.4475C21.837 23.454 21.823 23.4635 21.8117 23.4754C21.7291 23.5596 21.8534 23.6855 21.9061 23.7318L22.7619 24.609C22.7546 24.6284 22.7438 24.6465 22.7299 24.6625C22.6991 24.7019 22.5954 24.7984 22.2849 24.8346C22.2471 24.8391 22.2092 24.8412 22.1712 24.841C21.8767 24.8234 21.5901 24.7445 21.3328 24.61C21.4246 24.4293 21.4656 24.23 21.4521 24.0305C21.4388 23.8311 21.3713 23.6381 21.2562 23.4693C21.141 23.3005 20.9818 23.1615 20.7933 23.0652C20.6049 22.9689 20.3933 22.9183 20.1782 22.9182C20.1632 22.9182 20.1472 22.9186 20.1321 22.9191C20.1688 22.6933 20.1254 22.4625 20.0086 22.2616C19.8917 22.0606 19.7077 21.9005 19.4843 21.8052C19.3162 21.7352 19.1346 21.698 18.9503 21.6959C18.8166 21.6953 18.6838 21.7176 18.5588 21.7618C18.4287 21.5271 18.2039 21.3499 17.9335 21.2686C17.7863 21.2201 17.6313 21.1948 17.4751 21.1936C17.2189 21.1923 16.9689 21.2668 16.7612 21.4062C16.6668 21.296 16.5484 21.2055 16.4138 21.1409C16.2791 21.0762 16.1313 21.0386 15.98 21.0308C15.8286 21.0229 15.6772 21.0446 15.5356 21.095C15.394 21.1452 15.2654 21.2226 15.1583 21.3223C14.8917 21.133 13.8345 20.5092 11.0047 19.9124C10.8695 19.884 10.5627 19.8024 10.3695 19.7498C10.635 18.5699 11.442 17.4924 12.6391 16.6083ZM17.8881 23.4505L17.8575 23.4251H17.8266C17.7948 23.4273 17.7645 23.4386 17.74 23.4576C17.6185 23.5445 17.4704 23.5935 17.3171 23.5974C17.2362 23.5969 17.1562 23.5824 17.0811 23.5549C16.8734 23.4829 16.7009 23.3433 16.5957 23.1621C16.4904 22.9809 16.4596 22.7703 16.5089 22.5695C16.5122 22.555 16.5114 22.5399 16.5063 22.5256C16.5013 22.5114 16.4923 22.4988 16.4802 22.489L16.4339 22.4538L16.3906 22.4921C16.2645 22.6059 16.0956 22.6694 15.9199 22.6693C15.7888 22.6699 15.6603 22.6352 15.5499 22.5695C15.4395 22.5039 15.3518 22.41 15.2974 22.2991C15.2431 22.1883 15.2243 22.0653 15.2434 21.9448C15.2624 21.8243 15.3185 21.7115 15.405 21.6199C15.4914 21.5283 15.6044 21.4619 15.7305 21.4285C15.8566 21.3951 15.9904 21.3963 16.1158 21.4319C16.2412 21.4674 16.3529 21.5358 16.4374 21.6289C16.522 21.7219 16.5758 21.8356 16.5925 21.9565L16.616 22.1264L16.7164 21.9825C16.8297 21.8194 16.9978 21.6955 17.1948 21.6305C17.3917 21.5654 17.6062 21.5626 17.805 21.6228C17.9423 21.6629 18.0626 21.7418 18.149 21.8486C18.2355 21.9554 18.2837 22.0848 18.287 22.2184C18.2943 22.3007 18.3575 22.3049 18.3697 22.3049C18.385 22.3039 18.3999 22.2999 18.4134 22.2933C18.427 22.2867 18.439 22.2775 18.4486 22.2665C18.5133 22.2038 18.5912 22.1539 18.6774 22.1201C18.7636 22.0863 18.8563 22.0692 18.9499 22.0699C19.0796 22.0725 19.2072 22.0993 19.3256 22.1486C19.9668 22.4042 19.676 23.1611 19.6726 23.1689C19.6172 23.2942 19.6151 23.3496 19.6669 23.3816L19.6922 23.3926H19.711C19.7538 23.3882 19.7956 23.3781 19.8352 23.3625C19.9444 23.3224 20.0599 23.2988 20.1772 23.2923C20.292 23.2924 20.4061 23.3134 20.5122 23.3543C20.6183 23.3951 20.7148 23.455 20.796 23.5304C20.8771 23.606 20.9416 23.6955 20.9854 23.7941C21.0294 23.8926 21.052 23.9983 21.052 24.1051C21.0519 24.2117 21.0293 24.3174 20.9853 24.416C20.9413 24.5145 20.8769 24.6041 20.7957 24.6795C20.7143 24.7549 20.6179 24.8148 20.5118 24.8555C20.4057 24.8963 20.2919 24.9173 20.177 24.9173C19.9518 24.9185 19.7347 24.8384 19.5719 24.6938C19.409 24.5491 19.3131 24.3513 19.3043 24.1422C19.3031 24.105 19.2989 24.0061 19.2086 24.0061C19.1676 24.0105 19.1298 24.0291 19.1027 24.058C18.991 24.1684 18.8368 24.2331 18.6738 24.2379C18.5765 24.236 18.4805 24.2166 18.3912 24.1809C17.8931 23.9931 17.8862 23.6754 17.9064 23.5476C17.9113 23.5312 17.9122 23.514 17.909 23.4972C17.9059 23.4804 17.8987 23.4644 17.8881 23.4505ZM21.0026 26.979C15.0757 26.979 10.2713 24.1239 10.2713 20.6022C10.2722 20.4614 10.2808 20.3208 10.2971 20.1808C10.3444 20.1913 10.8151 20.2959 10.9126 20.3162C13.8033 20.9126 14.7585 21.5328 14.9199 21.6501C14.8513 21.8029 14.8243 21.9692 14.8415 22.1341C14.8587 22.2989 14.9194 22.4573 15.0183 22.5951C15.1172 22.733 15.2512 22.846 15.4084 22.9242C15.5656 23.0023 15.7412 23.0432 15.9195 23.0432C15.9861 23.0433 16.0526 23.0376 16.1181 23.0262C16.1608 23.2255 16.2586 23.4112 16.4018 23.565C16.5451 23.7186 16.7289 23.8351 16.9352 23.903C17.0582 23.9478 17.189 23.9712 17.3211 23.9721C17.4043 23.9725 17.4871 23.963 17.5677 23.9438C17.6669 24.1379 17.8219 24.3028 18.0156 24.4202C18.2093 24.5376 18.4342 24.6031 18.6654 24.6094C18.7782 24.6094 18.8901 24.5909 18.996 24.5545C19.0762 24.7368 19.204 24.8975 19.3679 25.0223C19.5317 25.1471 19.7264 25.232 19.9346 25.2693C20.1426 25.3065 20.3574 25.2951 20.5594 25.2359C20.7616 25.1767 20.9446 25.0716 21.092 24.9302C21.4217 25.1086 21.7924 25.2115 22.1734 25.2302C22.2282 25.2301 22.2828 25.2269 22.3371 25.2206C22.4778 25.2166 22.6159 25.1849 22.7423 25.1274C22.8688 25.0699 22.9806 24.9881 23.0702 24.8873C23.0872 24.8658 23.1023 24.8429 23.1156 24.8191C23.2279 24.8509 23.3444 24.8679 23.4619 24.8694C23.7158 24.8646 23.961 24.7832 24.1606 24.6374C24.3712 24.5089 24.5192 24.3089 24.5729 24.0801C24.5733 24.0776 24.5737 24.0751 24.5738 24.0725C24.6508 24.0871 24.7291 24.0944 24.8077 24.0944C25.0642 24.0914 25.3141 24.0179 25.5256 23.883C25.6864 23.7963 25.8191 23.671 25.9098 23.5202C26.0004 23.3693 26.0457 23.1986 26.0406 23.026C26.1186 23.0411 26.198 23.0487 26.2777 23.0489C26.517 23.0464 26.7506 22.9796 26.9499 22.8566C27.0824 22.7814 27.1939 22.6782 27.2752 22.5553C27.3566 22.4324 27.4054 22.2935 27.4179 22.1497C27.4338 21.9496 27.3819 21.75 27.2693 21.5788C28.7112 21.0321 30.2001 20.599 31.7201 20.2841C31.7289 20.3895 31.7337 20.4956 31.7337 20.6023C31.7337 24.1239 26.9292 26.979 21.0026 26.979Z",fill:"#0A0080"})]}),G("rect",{x:"0.5",y:"0.5",width:"41",height:"41",rx:"8.5",stroke:"#E2E5E9"}),G("defs",{children:G("clipPath",{id:"clip0_1394_16539",children:G("rect",{x:"1",y:"1",width:"40",height:"40",rx:"8",fill:"white"})})})]}):G("span",{className:"text-xs font-semibold text-[#111827]",children:d}));return G(O,w(l({"data-slot":"integration-card",className:p(as({variant:t,logoSize:r}),r==="small"?"justify-between":"",e),style:q},E),{children:r==="small"?Ue(Uo,{children:[Ue("div",{className:"flex items-start justify-between gap-3",children:[G("div",{className:p(is,"border-[#E5E7EB] bg-white",g),children:te}),i?G(wt,{tone:"success",size:"small",className:y,children:i}):null]}),Ue("div",{className:p("mt-2 flex flex-col gap-2 text-left",R),children:[G("div",{className:"text-[16px] font-[550] leading-[1.3] tracking-[-0.04em] text-[#111827]",children:h}),C?G("div",{className:"text-[14px] font-normal leading-[1.3] tracking-[-0.04em] text-[#6B7280]",children:C}):null]}),$?f?G("a",{href:f,onClick:()=>m==null?void 0:m(),className:p("mt-3 w-fit text-[14px] font-[550] leading-[1.3] tracking-[-0.04em] underline underline-offset-4","text-[#652BDF]",_),children:x}):G("button",{type:"button",onClick:m,className:p("mt-3 w-fit text-left text-[14px] font-[550] leading-[1.3] tracking-[-0.04em] underline underline-offset-4 bg-transparent p-0","text-[#652BDF]",_),children:x}):G("div",{})]}):Ue(Uo,{children:[Ue("div",{className:p("relative w-full max-w-[364px] h-[140px] rounded-[5.33px] overflow-hidden","bg-[#08B7F6]",b),children:[i?G("div",{className:p("absolute top-3 right-3",y),children:G("span",{className:"px-3 py-1 rounded-full text-xs font-semibold bg-white/90 text-[#0F766E]",children:i})}):null,G("div",{className:"absolute inset-0 flex items-center justify-center",children:G("div",{className:p("w-[88px] h-[88px] flex items-center justify-center",g),children:te})})]}),Ue("div",{className:p("flex flex-col gap-2 text-left",R),children:[G("div",{className:"text-[16px] font-[550] leading-[1.3] tracking-[-0.04em] text-[#111827]",children:h}),C?G("div",{className:"text-[14px] font-normal leading-[1.3] tracking-[-0.04em] text-[#6B7280]",children:C}):null,$?f?G("a",{href:f,onClick:()=>m==null?void 0:m(),className:p("w-fit text-[14px] font-[550] leading-[1.3] tracking-[-0.04em] underline underline-offset-4","text-[#652BDF]",_),children:x}):G("button",{type:"button",onClick:m,className:p("w-fit text-left text-[14px] font-[550] leading-[1.3] tracking-[-0.04em] underline underline-offset-4 bg-transparent p-0","text-[#652BDF]",_),children:x}):null]})]})}))}import*as Ie from"@radix-ui/react-accordion";import{ChevronDownIcon as ss}from"lucide-react";import{jsx as tt,jsxs as ls}from"react/jsx-runtime";function V1(t){var e=v(t,[]);return tt(Ie.Root,l({"data-slot":"accordion"},e))}function X1(r){var o=r,{className:e}=o,t=v(o,["className"]);return tt(Ie.Item,l({"data-slot":"accordion-item",className:p("border-b border-[#E5E7EB]","[&:last-child]:border-b-0",e)},t))}function G1(o){var n=o,{className:e,children:t}=n,r=v(n,["className","children"]);return tt(Ie.Header,{className:"flex",children:ls(Ie.Trigger,w(l({"data-slot":"accordion-trigger",className:p("focus-visible:border-ring focus-visible:ring-ring/50 flex flex-1 items-start justify-between gap-4 rounded-md py-4 text-left text-base font-medium transition-all outline-none hover:underline focus-visible:ring-[3px] disabled:pointer-events-none disabled:opacity-50 [&[data-state=open]>svg]:rotate-180",e)},r),{children:[t,tt(ss,{className:"text-muted-foreground h-5 w-5 text-[#6E7991] pointer-events-none shrink-0 translate-y-0.5 transition-transform duration-200"})]}))})}function W1(o){var n=o,{className:e,children:t}=n,r=v(n,["className","children"]);return tt(Ie.Content,w(l({"data-slot":"accordion-content",className:"data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down overflow-hidden text-base text-[#3A3F4B]"},r),{children:tt("div",{className:p("pt-0 pb-4",e),children:t})}))}import*as Ot from"react";import{ChevronDownIcon as cs,ChevronLeftIcon as us,ChevronRightIcon as ds}from"lucide-react";import{DayPicker as ps,getDefaultClassNames as $o}from"react-day-picker";import{jsx as rt}from"react/jsx-runtime";function Dt(u){var d=u,{className:e,classNames:t,showOutsideDays:r=!0,captionLayout:o="label",buttonVariant:n="neutral",tokens:a,formatters:i,components:c}=d,s=v(d,["className","classNames","showOutsideDays","captionLayout","buttonVariant","tokens","formatters","components"]);let b=S(),h=$o(),C=A({componentName:"calendar",tokens:a},b),x=b.platform==="web"?N(C):T(C);return rt("div",{"data-slot":"calendar",style:{backgroundColor:x.backgroundColor,color:x.color,"--calendar-accent":C.accentColor,"--calendar-accent-foreground":C.accentForeground,"--calendar-hover":C.hoverBackground},children:rt(ps,l({showOutsideDays:r,captionLayout:o,formatters:l({formatMonthDropdown:f=>f.toLocaleString("default",{month:"short"})},i),className:p("group/calendar p-3",String.raw`rtl:**:[.rdp-button\_next>svg]:rotate-180`,String.raw`rtl:**:[.rdp-button\_previous>svg]:rotate-180`,e),classNames:l({root:p("w-fit",h.root),months:p("flex gap-4 flex-col md:flex-row relative"),month:p("flex flex-col w-full gap-4"),nav:p("flex items-center gap-1 w-full absolute top-0 inset-x-0 justify-between"),button_previous:p(Pt({variant:n}),"size-8 p-0 aria-disabled:opacity-50"),button_next:p(Pt({variant:n}),"size-8 p-0 aria-disabled:opacity-50"),month_caption:"flex items-center justify-center h-8 w-full",caption_label:p("select-none font-medium",o==="label"?"text-sm":"text-sm flex gap-1"),table:"w-full border-collapse",weekdays:"flex",weekday:"flex-1 text-center text-xs text-[color:var(--calendar-muted)]",week:"flex w-full mt-2",day:"aspect-square w-full p-0",today:"rounded-md bg-[color:var(--calendar-hover)] text-current",outside:"opacity-50",disabled:"opacity-40"},t),components:l({Chevron:y=>{var R=y,{orientation:f,className:m}=R,g=v(R,["orientation","className"]);return f==="left"?rt(us,l({className:p("size-4",m)},g)):f==="right"?rt(ds,l({className:p("size-4",m)},g)):rt(cs,l({className:p("size-4",m)},g))},DayButton:fs},c)},s))})}function fs(n){var a=n,{className:e,day:t,modifiers:r}=a,o=v(a,["className","day","modifiers"]);let i=$o(),c=Ot.useRef(null);return Ot.useEffect(()=>{var s;r.focused&&((s=c.current)==null||s.focus())},[r.focused]),rt(se,l({ref:c,variant:"neutral",size:"icon","data-selected":r.selected,"data-range-start":r.range_start,"data-range-end":r.range_end,"data-range-middle":r.range_middle,className:p("w-full aspect-square rounded-md","data-[selected=true]:bg-[color:var(--calendar-accent)]","data-[selected=true]:text-[color:var(--calendar-accent-foreground)]","data-[range-middle=true]:bg-[color:var(--calendar-hover)]",i.day,e)},o))}import*as lr from"react";import*as ot from"@radix-ui/react-popover";import{Check as ms,ChevronsUpDown as gs}from"lucide-react";import{jsx as Ye,jsxs as sr}from"react/jsx-runtime";function bm({value:e,onValueChange:t,placeholder:r="Seleccionar...",items:o,size:n="default",disabled:a,tokens:i,platform:c="web",className:s}){var g,y;let u=S(),[d,b]=lr.useState(!1),[h,C]=lr.useState(""),x=A({componentName:"select",tokens:i},u),f=c==="web"?N(x):T(x),m=o.find(R=>R.value===e);return sr(ot.Root,{open:d,onOpenChange:b,children:[Ye(ot.Trigger,{asChild:!0,children:sr("button",{disabled:a,className:p("w-full flex items-center justify-between rounded-md border border-[#E2E5E9]",n==="sm"?"h-9 px-3 text-sm":"h-11 px-4 text-sm","transition-colors outline-none","focus:border-[#652BDF] focus:ring-2 focus:ring-[#652BDF]/20",a&&"opacity-50 cursor-not-allowed",s),children:[Ye("span",{className:"truncate text-left leading-none",children:(g=m==null?void 0:m.label)!=null?g:r}),Ye(gs,{className:"h-4 w-4 opacity-50 shrink-0"})]})}),Ye(ot.Content,{align:"start",sideOffset:4,className:"z-50 rounded-md shadow-lg p-1",style:{width:"var(--radix-popover-trigger-width)",backgroundColor:(y=x.dropdownBackground)!=null?y:"#FFFFFF"},children:Ye("ul",{className:"max-h-60 overflow-auto",children:o.map(R=>sr("li",{onClick:()=>{t==null||t(R.value),b(!1)},className:p("flex items-center justify-between","h-10 px-3 rounded-sm text-sm cursor-pointer","hover:bg-gray-100"),children:[Ye("span",{children:R.label}),e===R.value&&Ye(ms,{className:"h-4 w-4 text-[#020303]"})]},R.value))})})]})}import*as Xo from"react";import{Calendar as bs}from"lucide-react";import{jsx as cr,jsxs as Vo}from"react/jsx-runtime";var vs="w-full rounded-md border outline-none transition-colors pr-10 disabled:bg-[#E2E5E9] disabled:text-[#A3AAB8] disabled:cursor-not-allowed",hs="text-sm font-[550] leading-[1.3] tracking-[-0.04em]",xs=U(vs,{variants:{size:{sm:"h-9 px-2 text-sm",md:"h-11 px-3 text-sm"},tone:{brand:"",neutral:"",destructive:""},error:{true:"border-[#FB3131]",false:""}},compoundVariants:[{tone:"brand",error:!1,className:"border-[#D1D5DB] focus:border-[#652BDF] focus:ring-2 focus:ring-[#652BDF]/20"},{tone:"destructive",error:!0,className:"border-[#FB3131] focus:border-[#FB3131] focus:ring-2 focus:ring-[#FB3131]/20"}],defaultVariants:{size:"md",tone:"brand",error:!1}});function Rm(d){var b=d,{className:e,size:t,tone:r,label:o,helperText:n,disabled:a,tokens:i,platform:c="web",style:s}=b,u=v(b,["className","size","tone","label","helperText","disabled","tokens","platform","style"]);let h=S(),C=Xo.useRef(null),x=A({componentName:"input",tokens:i},h),f=c==="web"?l(l({},N(x)),s):T(x);return Vo("div",{className:"flex flex-col gap-1.5 w-full",children:[o&&cr("label",{className:hs,children:o}),Vo("div",{className:"relative",children:[cr("input",l({ref:C,type:"text",disabled:a,className:p(xs({size:t,tone:r}),e)},u)),cr(bs,{size:18,className:"absolute right-3 top-1/2 -translate-y-1/2 text-[#6C7280] pointer-events-none"})]})]})}import{jsx as ur,jsxs as Es}from"react/jsx-runtime";var Cs="w-full rounded-md border outline-none transition-colors disabled:bg-[#E2E5E9] disabled:bg-[#E2E5E9] disabled:text-[#A3AAB8] disabled:cursor-not-allowed",ys="text-sm font-[550] leading-[1.3] tracking-[-0.04em]",_s="text-xs leading-[1.3] text-[#6C7280]",Rs="text-xs leading-[1.3] text-[#FB3131]",Ps=U(Cs,{variants:{size:{sm:"h-9 px-2 text-sm",md:"h-11 px-3 text-sm"},tone:{brand:"",neutral:"",destructive:""},error:{true:"border-[#FB3131]",false:""}},compoundVariants:[{tone:"brand",error:!1,className:"border-[#D1D5DB] focus:border-[#652BDF] focus:ring-2 focus:ring-[#652BDF]/20"},{tone:"destructive",error:!0,className:"border-[#FB3131] focus:border-[#FB3131] focus:ring-2 focus:ring-[#FB3131]/20"}],defaultVariants:{size:"md",tone:"brand",error:!1}});function Am(h){var C=h,{className:e,type:t,size:r,tone:o,label:n,helperText:a,error:i=!1,disabled:c,tokens:s,platform:u="web",style:d}=C,b=v(C,["className","type","size","tone","label","helperText","error","disabled","tokens","platform","style"]);let x=S(),f=A({componentName:"input",tokens:s},x),m=u==="web"?l(l({},N(f)),d):T(f);return Es("div",{className:"flex flex-col gap-1.5 w-full",children:[n&&ur("label",{className:ys,children:n}),ur("input",l({disabled:c,className:p(Ps({size:r,tone:o,error:i}),e),style:m},b)),a&&ur("span",{className:i?Rs:_s,children:a})]})}import*as Go from"@radix-ui/react-label";import{jsx as ws}from"react/jsx-runtime";function Fm(a){var i=a,{className:e,tokens:t,platform:r="web",style:o}=i,n=v(i,["className","tokens","platform","style"]);let c=S(),s=A({componentName:"label",tokens:t},c),u=r==="web"?l(l({},N(s)),o):T(s),d=w(l({},u),{display:"block",width:"auto"});return ws(Go.Root,l({style:d,"data-slot":"label",className:p("flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50",e)},n))}import*as qo from"react";import{Eye as Ns,EyeOff as Ts}from"lucide-react";import{jsx as nt,jsxs as Wo}from"react/jsx-runtime";var Ss="w-full rounded-md border outline-none transition-colors pr-10 disabled:bg-[#E2E5E9] disabled:text-[#A3AAB8] disabled:cursor-not-allowed",As="text-sm font-[550] leading-[1.3] tracking-[-0.04em]",Is="text-xs leading-[1.3] text-[#6C7280]",Os="text-xs leading-[1.3] text-[#FB3131]",Ds=U(Ss,{variants:{size:{sm:"h-9 px-2 text-sm",md:"h-11 px-3 text-sm"},tone:{brand:"",neutral:"",destructive:""},error:{true:"border-[#FB3131]",false:""}},compoundVariants:[{tone:"brand",error:!1,className:"border-[#D1D5DB] focus:border-[#652BDF] focus:ring-2 focus:ring-[#652BDF]/20"},{tone:"destructive",error:!0,className:"border-[#FB3131] focus:border-[#FB3131] focus:ring-2 focus:ring-[#FB3131]/20"}],defaultVariants:{size:"md",tone:"brand",error:!1}});function Vm(b){var h=b,{className:e,size:t,tone:r,label:o,helperText:n,error:a=!1,disabled:i,tokens:c,platform:s="web",style:u}=h,d=v(h,["className","size","tone","label","helperText","error","disabled","tokens","platform","style"]);var R;let C=S(),x=qo.useRef(null),f=A({componentName:"input",tokens:c},C),m=s==="web"?l(l({},N(f)),u):T(f),g=()=>{x.current&&(x.current.type=x.current.type==="password"?"text":"password")},y=((R=x.current)==null?void 0:R.type)==="text";return Wo("div",{className:"flex flex-col gap-1.5 w-full",children:[o&&nt("label",{className:As,children:o}),Wo("div",{className:"relative",children:[nt("input",l({ref:x,type:"password",disabled:i,className:p(Ds({size:t,tone:r,error:a}),e)},d)),nt("button",{type:"button",tabIndex:-1,disabled:i,onClick:g,className:"absolute right-3 top-1/2 -translate-y-1/2 text-[#6C7280] hover:text-[#020303] disabled:text-[#A3AAB8]",children:y?nt(Ts,{size:18}):nt(Ns,{size:18})})]}),n&&nt("span",{className:a?Os:Is,children:n})]})}import*as dr from"react";import{Search as Ms,X as Ls}from"lucide-react";import{jsx as Mt,jsxs as Bs}from"react/jsx-runtime";var Fs="w-full rounded-md border border-[#E2E5E9] outline-none transition-colors pl-10 pr-10 disabled:bg-[#E2E5E9] disabled:text-[#A3AAB8] disabled:cursor-not-allowed focus:border-[#652BDF]",ks=U(Fs,{variants:{size:{sm:"h-9 py-2 text-sm",md:"h-11 py-3 text-sm"}},defaultVariants:{size:"md"}});function Qm(c){var s=c,{className:e,size:t,disabled:r,tokens:o,platform:n="web",style:a}=s,i=v(s,["className","size","disabled","tokens","platform","style"]);let u=S(),d=dr.useRef(null),b=dr.useRef(null),h=A({componentName:"input",tokens:o},u),C=n==="web"?l(l({},N(h)),a):T(h),x=()=>{var m;d.current&&(d.current.value="",d.current.focus(),(m=b.current)==null||m.classList.add("hidden"))};return Bs("div",{className:"relative w-full",children:[Mt(Ms,{size:18,className:"absolute left-3 top-1/2 -translate-y-1/2 text-[#6C7280]"}),Mt("input",l({ref:d,type:"text",disabled:r,onInput:()=>{!d.current||!b.current||b.current.classList.toggle("hidden",d.current.value.length===0)},className:p(ks({size:t}),e)},i)),Mt("button",{ref:b,type:"button",tabIndex:-1,disabled:r,onClick:x,className:"absolute right-3 top-1/2 -translate-y-1/2 hidden text-[#6C7280] hover:text-[#020303] disabled:text-[#A3AAB8]",children:Mt(Ls,{size:16})})]})}import*as re from"@radix-ui/react-select";import{Check as zs,ChevronsUpDown as js}from"lucide-react";import{jsx as $e,jsxs as pr}from"react/jsx-runtime";var Hs={sm:{height:"32px",padding:"0 12px",fontSize:"13px"},default:{height:"40px",padding:"0 16px",fontSize:"14px"},lg:{height:"48px",padding:"0 20px",fontSize:"16px"}};function ag({value:e,onValueChange:t,placeholder:r="Seleccionar...",items:o,className:n,tokens:a,platform:i="web",size:c="default"}){var C,x,f;let s=S(),u=A({componentName:"select",tokens:a},s),d=i==="web"?N(u):T(u),b=w(l(l({},d),Hs[c]),{display:"flex",alignItems:"center",justifyContent:"space-between",width:"100%"}),h={fontSize:d.fontSize,padding:(C=u.padding)!=null?C:"10px"};return pr(re.Root,{value:e,onValueChange:t,children:[pr(re.Trigger,{className:p("outline-none",n),style:b,children:[$e(re.Value,{placeholder:r,style:{color:d.color}}),$e(re.Icon,{children:$e(js,{className:"h-4 w-4 opacity-50"})})]}),$e(re.Content,{className:"relative z-50 w-full shadow-lg rounded-md",style:{backgroundColor:(x=u.dropdownBackground)!=null?x:"#FFFFFF",borderRadius:(f=u.borderRadius)!=null?f:"6px"},children:$e(re.Viewport,{className:"p-1",children:o.map(m=>pr(re.Item,{value:m.value,className:"relative flex cursor-pointer select-none items-center rounded-sm outline-none hover:bg-gray-100",style:h,children:[$e(re.ItemText,{children:m.label}),$e(re.ItemIndicator,{className:"absolute right-2 flex items-center",children:$e(zs,{className:"h-4 w-4"})})]},m.value))})})]})}import{jsx as fr,jsxs as Gs}from"react/jsx-runtime";var Us="text-sm font-[550] leading-[1.3] tracking-[-0.04em]",$s="text-xs leading-[1.3] text-[#6C7280]",Vs="text-xs leading-[1.3] text-[#FB3131]",Xs="w-full min-h-16 rounded-md border px-3 py-2 outline-none transition-colors resize-y disabled:bg-[#E2E5E9] disabled:text-[#A3AAB8] disabled:cursor-not-allowed";function dg(u){var d=u,{className:e,style:t,tokens:r,platform:o="web",label:n,helperText:a,error:i=!1,disabled:c}=d,s=v(d,["className","style","tokens","platform","label","helperText","error","disabled"]);let b=S(),h=A({componentName:"textarea",tokens:r},b),C=o==="web"?l(l({},N(h)),t):T(h);return Gs("div",{className:"flex flex-col gap-1.5 w-full",children:[n&&fr("label",{className:Us,children:n}),fr("textarea",l({"data-slot":"textarea",disabled:c,"aria-invalid":i,className:p(Xs,!i&&"border-[#D1D5DB] focus:border-[#652BDF] focus:ring-2 focus:ring-[#652BDF]/20",i&&"border-[#FB3131] focus:border-[#FB3131] focus:ring-2 focus:ring-[#FB3131]/20",e)},s)),a&&fr("span",{className:i?Vs:$s,children:a})]})}import*as Lt from"@radix-ui/react-checkbox";import{CheckIcon as Ws,Minus as qs}from"lucide-react";import{jsx as at,jsxs as Yo}from"react/jsx-runtime";var Ys="text-sm font-[550] leading-[1.3] tracking-[-0.04em]",Ks="text-xs text-[#6C7280] leading-[1.3]",Zs="focus-visible:ring-2 focus-visible:ring-[#F67E07] focus-visible:ring-offset-2 focus-visible:ring-offset-white",Qs="inline-flex items-center justify-center shrink-0 border rounded-md transition-colors outline-none focus-visible:ring-2 disabled:cursor-not-allowed",Js=U(Qs,{variants:{size:{regular:"h-5 w-5",small:"h-4 w-4"},tone:{brand:"",neutral:"",destructive:""}},compoundVariants:[{tone:"brand",className:"border-[#D1D5DB] bg-white hover:border-[#652BDF] ring-[#F67E07]"},{tone:"brand",className:"data-[state=checked]:bg-[#652BDF] data-[state=checked]:border-none data-[state=checked]:data-[disabled]:bg-[#E2E5E9]"},{tone:"brand",className:"data-[state=indeterminate]:bg-[#652BDF] data-[state=indeterminate]:border-none data-[state=indeterminate]:border-[#652BDF] data-[state=indeterminate]:data-[disabled]:bg-[#E2E5E9]"},{tone:"brand",className:"focus-visible:ring-[#F67E07]"},{tone:"brand",className:"data-[disabled]:bg-[#E2E5E9] data-[disabled]:border-[#C3C7D1]"}],defaultVariants:{size:"regular",tone:"brand"}});function Sg(b){var h=b,{className:e,tokens:t,size:r,tone:o,label:n,state:a,description:i,disabled:c,style:s,platform:u="web"}=h,d=v(h,["className","tokens","size","tone","label","state","description","disabled","style","platform"]);let C=S(),x=A({componentName:"checkbox",tokens:t},C),f=u==="web"?l(l({},N(x)),s):T(x),m=w(l({},f),{width:"25px",height:"25px",display:"inline-flex",alignItems:"center",justifyContent:"center"});return Yo("label",{className:p("flex items-start gap-3 cursor-pointer",c&&"cursor-not-allowed opacity-60"),children:[at(Lt.Root,w(l({disabled:c,className:p(Js({size:r,tone:o}),e,Zs)},d),{children:at(Lt.Indicator,{className:"flex items-center justify-center text-white data-[state=checked]:data-[disabled]:text-[#6C7280] data-[state=indeterminate]:data-[disabled]:text-[#6C7280]",children:a==="indeterminate"?at(qs,{className:r==="regular"?"h-4 w-4":"h-3 w-3"}):at(Ws,{className:r==="regular"?"h-4 w-4":"h-3 w-3"})})})),(n||i)&&Yo("div",{className:"flex flex-col gap-0.5",children:[n&&at("span",{className:Ys,children:n}),i&&at("span",{className:Ks,children:i})]})]})}import*as st from"@radix-ui/react-radio-group";import{jsx as it,jsxs as Ko}from"react/jsx-runtime";var el="shrink-0 rounded-full border transition-colors outline-none focus-visible:ring-2 focus-visible:ring-[#F67E07] focus-visible:ring-offset-2 disabled:cursor-not-allowed",tl=U(el,{variants:{size:{regular:"h-5 w-5",small:"h-4 w-4"},tone:{brand:"",neutral:"",destructive:""}},compoundVariants:[{tone:"brand",className:"border-[#D1D5DB] bg-white"},{tone:"brand",className:"data-[state=checked]:border-[#652BDF]"},{tone:"brand",className:"data-[state=checked]:data-[disabled]:bg-[#E2E5E9]"},{tone:"brand",className:"data-[disabled]:border-none data-[disabled]:bg-[#E2E5E9]"}],defaultVariants:{size:"regular",tone:"brand"}}),rl=U("rounded-full transition-colors",{variants:{size:{regular:"h-2.5 w-2.5",small:"h-2 w-2"},tone:{brand:`
36
43
  bg-[#652BDF]
37
44
  group-data-[disabled]:bg-[#A3AAB8]
38
45
  `,neutral:`
@@ -41,14 +48,14 @@ var si=Object.defineProperty,li=Object.defineProperties;var ci=Object.getOwnProp
41
48
  `,destructive:`
42
49
  bg-[#FB3131]
43
50
  group-data-[disabled]:bg-[#A3AAB8]
44
- `}},defaultVariants:{size:"regular",tone:"brand"}});function Rg(o){var r=o,{className:e}=r,t=h(r,["className"]);return xt(yt.Root,l({className:b("grid gap-3",e)},t))}function Ng(m){var g=m,{className:e,size:t,tone:o,label:r,description:n,disabled:a,tokens:i,style:s,platform:c="web",value:u}=g,d=h(g,["className","size","tone","label","description","disabled","tokens","style","platform","value"]);let f=E(),p=D({componentName:"radio",tokens:i},f),v=c==="web"?A(p):T(p),x=w(l({},v),{width:"28px",height:"28px",display:"inline-flex",alignItems:"center",justifyContent:"center",borderRadius:"50%"});return Ya("label",{className:b("flex items-start gap-3 cursor-pointer",a&&"cursor-not-allowed opacity-60"),children:[xt(yt.Item,w(l({disabled:a,className:b("group",Kc({size:t,tone:o}),e)},d),{children:xt(yt.Indicator,{className:"flex items-center justify-center",children:xt("span",{className:Jc({size:t,tone:o})})})})),(r||n)&&Ya("div",{className:"flex flex-col gap-0.5",children:[r&&xt("span",{className:"text-sm font-[550] leading-[1.3] tracking-[-0.04em]",children:r}),n&&xt("span",{className:"text-xs text-[#6C7280] leading-[1.3]",children:n})]})]})}import*as Po from"@radix-ui/react-switch";import{jsx as Co,jsxs as qa}from"react/jsx-runtime";var Ka="inline-flex items-center rounded-full transition-colors outline-none focus-visible:ring-2 focus-visible:ring-[#F67E07] focus-visible:ring-offset-2 disabled:cursor-not-allowed",Qc="block rounded-full bg-white transition-transform",ed=W(Ka,{variants:{size:{regular:"h-5 w-9",small:"h-4 w-7"},tone:{brand:"",neutral:"",destructive:""}},compoundVariants:[{tone:"brand",className:"bg-[#C3C7D1]"},{tone:"brand",className:"data-[state=checked]:bg-[#652BDF]"},{tone:"brand",className:"data-[state=checked]:data-[disabled]:bg-[#E2E5E9]"},{tone:"brand",className:"data-[disabled]:bg-[#E2E5E9]"}],defaultVariants:{size:"regular",tone:"brand"}}),Mg=m=>{var g=m,{className:e,tokens:t,size:o,tone:r,label:n,state:a,description:i,disabled:s,style:c,platform:u="web"}=g,d=h(g,["className","tokens","size","tone","label","state","description","disabled","style","platform"]);var y,P,R,C,N,S,M;let f=E(),p=D({componentName:"switch",tokens:t},f),v=u==="web"?A(p):T(p),x=w(l({},v),{trackWidth:(y=p==null?void 0:p.trackWidth)!=null?y:36,trackHeight:(P=p==null?void 0:p.trackHeight)!=null?P:20,backgroundColor:(R=p==null?void 0:p.backgroundColor)!=null?R:"#CCCCCC",activeBackgroundColor:(C=p==null?void 0:p.activeBackgroundColor)!=null?C:"#652BDF",thumbSize:(N=p==null?void 0:p.thumbSize)!=null?N:16,thumbColor:(S=p==null?void 0:p.thumbColor)!=null?S:"#FFFFFF",transitionDuration:(M=p==null?void 0:p.transitionDuration)!=null?M:"150ms"});return qa("label",{className:b("flex items-start gap-3 cursor-pointer",s&&"cursor-not-allowed opacity-60"),children:[Co(Po.Root,w(l({disabled:s,"data-slot":"switch",className:b(Ka,ed({size:o,tone:r}),e)},d),{children:Co(Po.Thumb,{"data-slot":"switch-thumb",className:b(Qc,o==="regular"?"h-4 w-4":"h-3 w-3","data-[state=checked]:translate-x-4 data-[state=checked]:data-[disabled]:bg-[#A3AAB8]","data-[state=unchecked]:translate-x-0 data-[state=unchecked]:data-[disabled]:bg-[#A3AAB8]")})})),(n||i)&&qa("div",{className:"flex flex-col gap-0.5",children:[n&&Co("span",{className:"text-sm font-[550] leading-[1.3] tracking-[-0.04em]",children:n}),i&&Co("span",{className:"text-xs text-[#6C7280] leading-[1.3]",children:i})]})]})};import{Slot as td}from"@radix-ui/react-slot";import{ChevronRight as od,MoreHorizontal as rd}from"lucide-react";import{jsx as ze,jsxs as ad}from"react/jsx-runtime";var nd={md:"text-sm gap-2.5",sm:"text-xs gap-2"};function Zg(e){return ze("nav",l({"aria-label":"breadcrumb","data-slot":"breadcrumb"},e))}function Xg(r){var n=r,{className:e,size:t="md"}=n,o=h(n,["className","size"]);return ze("ol",l({"data-slot":"breadcrumb-list",className:b("flex flex-wrap items-center",nd[t],e)},o))}function Yg(o){var r=o,{className:e}=r,t=h(r,["className"]);return ze("li",l({"data-slot":"breadcrumb-item",className:b("inline-flex items-center gap-1.5",e)},t))}function qg(s){var c=s,{asChild:e,className:t,style:o,variant:r="default",tokens:n,platform:a="web"}=c,i=h(c,["asChild","className","style","variant","tokens","platform"]);let u=E(),d=D({componentName:"breadcrumbLink",variant:r,tokens:n},u),m=a==="web"?l(l({},A(d)),o):T(d);return ze(e?td:"a",l({"data-slot":"breadcrumb-link",className:b("font-medium text-[#652BDF] hover:underline",t)},i))}function Kg(i){var s=i,{className:e,style:t,variant:o="current",tokens:r,platform:n="web"}=s,a=h(s,["className","style","variant","tokens","platform"]);let c=E(),u=D({componentName:"breadcrumbPage",variant:o,tokens:r},c),d=n==="web"?l(l({},A(u)),t):T(u);return ze("span",l({"data-slot":"breadcrumb-page",role:"link","aria-disabled":"true","aria-current":"page",className:b("text-[#6E7991] text-sm font-medium cursor-default",e)},a))}function Jg(r){var n=r,{children:e,className:t}=n,o=h(n,["children","className"]);return ze("li",w(l({"data-slot":"breadcrumb-separator",role:"presentation","aria-hidden":"true",className:b("flex items-center text-muted-foreground [&>svg]:size-3.5",t)},o),{children:e!=null?e:ze(od,{className:"text-[#A3AAB8]"})}))}function Qg(o){var r=o,{className:e}=r,t=h(r,["className"]);return ad("span",w(l({"data-slot":"breadcrumb-ellipsis",role:"presentation","aria-hidden":"true",className:b("flex size-9 items-center justify-center",e)},t),{children:[ze(rd,{className:"size-4 text-[#6E7991]"}),ze("span",{className:"sr-only",children:"More"})]}))}import{Drawer as _e}from"vaul";import{jsx as me,jsxs as Ja}from"react/jsx-runtime";var id="0px 2px 4px 0px #1212170A, 0px 5px 8px 0px #1212170A, 0px 10px 18px 0px #12121708, 0px 24px 48px 0px #12121708, 0px 0px 0px 1px #1212171A";function i0(e){return me(_e.Root,l({"data-slot":"drawer"},e))}function s0(e){return me(_e.Trigger,l({"data-slot":"drawer-trigger"},e))}function sd(e){return me(_e.Portal,l({"data-slot":"drawer-portal"},e))}function l0(e){return me(_e.Close,l({"data-slot":"drawer-close"},e))}function ld(i){var s=i,{className:e,style:t,variant:o="default",tokens:r,platform:n="web"}=s,a=h(s,["className","style","variant","tokens","platform"]);let c=E(),u=D({componentName:"drawer.overlay",variant:o,tokens:r},c),d=n==="web"?l(l({},A(u)),t):T(u);return me(_e.Overlay,l({"data-slot":"drawer-overlay",style:n==="web"?d:void 0,className:b("fixed inset-0 z-50","data-[state=open]:animate-in data-[state=closed]:animate-out","data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e)},a))}function c0(s){var c=s,{className:e,children:t,style:o,variant:r="default",tokens:n,platform:a="web"}=c,i=h(c,["className","children","style","variant","tokens","platform"]);let u=E(),d=D({componentName:"drawer.container",variant:r,tokens:n},u),m=a==="web"?l(l({},A(d)),o):T(d);return Ja(sd,{children:[me(ld,{}),Ja(_e.Content,w(l({"data-slot":"drawer-content",className:b("group/drawer-content fixed z-50 flex flex-col bg-white shadow-md","data-[vaul-drawer-direction=bottom]:inset-x-0 bottom-0 rounded-t-lg","data-[vaul-drawer-direction=top]:inset-x-0 top-0 rounded-b-lg","data-[vaul-drawer-direction=right]:inset-y-0 right-0 w-3/4 sm:max-w-sm","data-[vaul-drawer-direction=left]:inset-y-0 left-0 w-3/4 sm:max-w-sm",id,e)},i),{children:[me("div",{className:"mx-auto mt-2 hidden h-1.5 w-24 rounded-full bg-muted group-data-[vaul-drawer-direction=bottom]/drawer-content:block"}),t]}))]})}function d0(o){var r=o,{className:e}=r,t=h(r,["className"]);return me("div",l({"data-slot":"drawer-header",className:b("relative","px-6 pt-14 pb-4","flex flex-col gap-2",e)},t))}function u0(o){var r=o,{className:e}=r,t=h(r,["className"]);return me("div",l({"data-slot":"drawer-body",className:b("flex-1 overflow-auto","px-6 py-4",e)},t))}function p0(o){var r=o,{className:e}=r,t=h(r,["className"]);return me("div",l({"data-slot":"drawer-footer",className:b("mt-auto flex flex-col gap-2 p-4 sm:flex-row sm:justify-end",e)},t))}function f0(o){var r=o,{className:e}=r,t=h(r,["className"]);return me(_e.Close,w(l({"data-slot":"drawer-close-button",className:b("absolute right-4 top-4","flex h-9 w-9 items-center justify-center","rounded-lg p-2","text-[#6E7991]","hover:bg-black/5","focus:outline-none focus:ring-2 focus:ring-black/20",e)},t),{children:"\u2715"}))}function m0(i){var s=i,{className:e,style:t,variant:o="default",tokens:r,platform:n="web"}=s,a=h(s,["className","style","variant","tokens","platform"]);let c=E(),u=D({componentName:"drawer.title",variant:o,tokens:r},c),d=n==="web"?l(l({},A(u)),t):T(u);return me(_e.Title,l({"data-slot":"drawer-title",className:b("text-2xl font-semibold",e)},a))}function g0(i){var s=i,{className:e,style:t,variant:o="default",tokens:r,platform:n="web"}=s,a=h(s,["className","style","variant","tokens","platform"]);let c=E(),u=D({componentName:"drawer.description",variant:o,tokens:r},c),d=n==="web"?l(l({},A(u)),t):T(u);return me(_e.Description,l({"data-slot":"drawer-description",className:b("text-sm text-muted-foreground text-[#6E7991] space-y-2",e)},a))}import*as re from"@radix-ui/react-alert-dialog";import{jsx as fe,jsxs as ud}from"react/jsx-runtime";function w0(e){return fe(re.Root,l({"data-slot":"alert-dialog"},e))}function C0(e){return fe(re.Trigger,l({"data-slot":"alert-dialog-trigger"},e))}function cd(e){return fe(re.Portal,l({"data-slot":"alert-dialog-portal"},e))}function dd(e){return fe(re.Overlay,l({"data-slot":"alert-dialog-overlay",className:b("fixed inset-0 z-50 bg-black/50","data-[state=open]:animate-in data-[state=closed]:animate-out","data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0")},e))}function P0(o){var r=o,{className:e}=r,t=h(r,["className"]);return ud(cd,{children:[fe(dd,{}),fe(re.Content,l({"data-slot":"alert-dialog-content",className:b("fixed top-1/2 left-1/2 z-50","w-full max-w-[420px] translate-x-[-50%] translate-y-[-50%]","rounded-lg bg-white p-6 shadow-lg","grid gap-4","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",e)},t))]})}function R0(o){var r=o,{className:e}=r,t=h(r,["className"]);return fe("div",l({"data-slot":"alert-dialog-header",className:b("flex flex-col gap-2 text-left",e)},t))}function N0(o){var r=o,{className:e}=r,t=h(r,["className"]);return fe("div",l({"data-slot":"alert-dialog-footer",className:b("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",e)},t))}function S0(e){return fe(re.Title,l({"data-slot":"alert-dialog-title",className:"text-lg font-semibold text-[#020303]"},e))}function A0(e){return fe(re.Description,l({"data-slot":"alert-dialog-description",className:"text-sm text-[#6B7280]"},e))}function T0(o){var r=o,{children:e}=r,t=h(r,["children"]);return fe(re.Action,w(l({asChild:!0},t),{children:fe(ae,{variant:"primary",tone:"brand",children:e})}))}function E0(o){var r=o,{children:e}=r,t=h(r,["children"]);return fe(re.Cancel,w(l({asChild:!0},t),{children:fe(ae,{variant:"secondary",tone:"brand",children:e})}))}import{ChevronDown as Qa}from"lucide-react";import{Fragment as bd,jsx as K,jsxs as Be}from"react/jsx-runtime";function pd({merchants:e=[],currentMerchantId:t,onSelect:o}){if(e.length===0)return null;let r=e.find(n=>n.id===t);return e.length===1?K("span",{className:"text-sm font-medium",children:r==null?void 0:r.name}):Be(Fo,{children:[Be(Oo,{className:"flex items-center gap-2 text-sm font-medium",children:[K("span",{children:r==null?void 0:r.name}),K(Qa,{className:"h-4 w-4 text-muted-foreground"})]}),K(Io,{align:"start",children:e.map(n=>K(zo,{onClick:()=>o==null?void 0:o(n.id),children:n.name},n.id))})]})}function fd({actions:e}){return K("div",{className:"flex items-center gap-2",children:e.map(t=>Be(ae,{size:"sm",variant:"secondary",className:"gap-2",onClick:t.onClick,children:[t.icon,t.label]},t.id))})}function md({user:e}){return Be(Fo,{children:[Be(Oo,{className:"flex items-center gap-2 outline-none",children:[K(Do,{className:"h-8 w-8",children:e.avatarUrl?Be(bd,{children:[K(Or,{src:e.avatarUrl}),K(jt,{children:"RP"})]}):K(jt,{children:"RP"})}),Be("div",{className:"text-left leading-tight",children:[K("p",{className:"text-sm font-medium",children:e.name}),e.role&&K("p",{className:"text-xs text-muted-foreground",children:e.role})]}),K(Qa,{className:"h-4 w-4 text-muted-foreground"})]}),K(Io,{align:"end",children:e.menu.map(t=>K(zo,{onClick:t.onClick,children:t.label},t.id))})]})}function gd(){return K("div",{className:"flex items-center gap-2",children:K(Do,{children:K(jt,{children:"EM"})})})}function O0({merchants:e,currentMerchantId:t,onMerchantChange:o,actions:r,user:n}){return K("header",{className:`\r
51
+ `}},defaultVariants:{size:"regular",tone:"brand"}});function Fg(r){var o=r,{className:e}=o,t=v(o,["className"]);return it(st.Root,l({className:p("grid gap-3",e)},t))}function kg(b){var h=b,{className:e,size:t,tone:r,label:o,description:n,disabled:a,tokens:i,style:c,platform:s="web",value:u}=h,d=v(h,["className","size","tone","label","description","disabled","tokens","style","platform","value"]);let C=S(),x=A({componentName:"radio",tokens:i},C),f=s==="web"?N(x):T(x),m=w(l({},f),{width:"28px",height:"28px",display:"inline-flex",alignItems:"center",justifyContent:"center",borderRadius:"50%"});return Ko("label",{className:p("flex items-start gap-3 cursor-pointer",a&&"cursor-not-allowed opacity-60"),children:[it(st.Item,w(l({disabled:a,className:p("group",tl({size:t,tone:r}),e)},d),{children:it(st.Indicator,{className:"flex items-center justify-center",children:it("span",{className:rl({size:t,tone:r})})})})),(o||n)&&Ko("div",{className:"flex flex-col gap-0.5",children:[o&&it("span",{className:"text-sm font-[550] leading-[1.3] tracking-[-0.04em]",children:o}),n&&it("span",{className:"text-xs text-[#6C7280] leading-[1.3]",children:n})]})]})}import*as kt from"@radix-ui/react-switch";import{jsx as Ft,jsxs as Zo}from"react/jsx-runtime";var Qo="inline-flex items-center rounded-full transition-colors outline-none focus-visible:ring-2 focus-visible:ring-[#F67E07] focus-visible:ring-offset-2 disabled:cursor-not-allowed",ol="block rounded-full bg-white transition-transform",nl=U(Qo,{variants:{size:{regular:"h-5 w-9",small:"h-4 w-7"},tone:{brand:"",neutral:"",destructive:""}},compoundVariants:[{tone:"brand",className:"bg-[#C3C7D1]"},{tone:"brand",className:"data-[state=checked]:bg-[#652BDF]"},{tone:"brand",className:"data-[state=checked]:data-[disabled]:bg-[#E2E5E9]"},{tone:"brand",className:"data-[disabled]:bg-[#E2E5E9]"}],defaultVariants:{size:"regular",tone:"brand"}}),Vg=b=>{var h=b,{className:e,tokens:t,size:r,tone:o,label:n,state:a,description:i,disabled:c,style:s,platform:u="web"}=h,d=v(h,["className","tokens","size","tone","label","state","description","disabled","style","platform"]);var g,y,R,_,P,E,B;let C=S(),x=A({componentName:"switch",tokens:t},C),f=u==="web"?N(x):T(x),m=w(l({},f),{trackWidth:(g=x==null?void 0:x.trackWidth)!=null?g:36,trackHeight:(y=x==null?void 0:x.trackHeight)!=null?y:20,backgroundColor:(R=x==null?void 0:x.backgroundColor)!=null?R:"#CCCCCC",activeBackgroundColor:(_=x==null?void 0:x.activeBackgroundColor)!=null?_:"#652BDF",thumbSize:(P=x==null?void 0:x.thumbSize)!=null?P:16,thumbColor:(E=x==null?void 0:x.thumbColor)!=null?E:"#FFFFFF",transitionDuration:(B=x==null?void 0:x.transitionDuration)!=null?B:"150ms"});return Zo("label",{className:p("flex items-start gap-3 cursor-pointer",c&&"cursor-not-allowed opacity-60"),children:[Ft(kt.Root,w(l({disabled:c,"data-slot":"switch",className:p(Qo,nl({size:r,tone:o}),e)},d),{children:Ft(kt.Thumb,{"data-slot":"switch-thumb",className:p(ol,r==="regular"?"h-4 w-4":"h-3 w-3","data-[state=checked]:translate-x-4 data-[state=checked]:data-[disabled]:bg-[#A3AAB8]","data-[state=unchecked]:translate-x-0 data-[state=unchecked]:data-[disabled]:bg-[#A3AAB8]")})})),(n||i)&&Zo("div",{className:"flex flex-col gap-0.5",children:[n&&Ft("span",{className:"text-sm font-[550] leading-[1.3] tracking-[-0.04em]",children:n}),i&&Ft("span",{className:"text-xs text-[#6C7280] leading-[1.3]",children:i})]})]})};import{Slot as al}from"@radix-ui/react-slot";import{ChevronRight as il,MoreHorizontal as sl}from"lucide-react";import{jsx as ke,jsxs as cl}from"react/jsx-runtime";var ll={md:"text-sm gap-2.5",sm:"text-xs gap-2"};function a0(e){return ke("nav",l({"aria-label":"breadcrumb","data-slot":"breadcrumb"},e))}function i0(o){var n=o,{className:e,size:t="md"}=n,r=v(n,["className","size"]);return ke("ol",l({"data-slot":"breadcrumb-list",className:p("flex flex-wrap items-center",ll[t],e)},r))}function s0(r){var o=r,{className:e}=o,t=v(o,["className"]);return ke("li",l({"data-slot":"breadcrumb-item",className:p("inline-flex items-center gap-1.5",e)},t))}function l0(c){var s=c,{asChild:e,className:t,style:r,variant:o="default",tokens:n,platform:a="web"}=s,i=v(s,["asChild","className","style","variant","tokens","platform"]);let u=S(),d=A({componentName:"breadcrumbLink",variant:o,tokens:n},u),b=a==="web"?l(l({},N(d)),r):T(d);return ke(e?al:"a",l({"data-slot":"breadcrumb-link",className:p("font-medium text-[#652BDF] hover:underline",t)},i))}function c0(i){var c=i,{className:e,style:t,variant:r="current",tokens:o,platform:n="web"}=c,a=v(c,["className","style","variant","tokens","platform"]);let s=S(),u=A({componentName:"breadcrumbPage",variant:r,tokens:o},s),d=n==="web"?l(l({},N(u)),t):T(u);return ke("span",l({"data-slot":"breadcrumb-page",role:"link","aria-disabled":"true","aria-current":"page",className:p("text-[#6E7991] text-sm font-medium cursor-default",e)},a))}function u0(o){var n=o,{children:e,className:t}=n,r=v(n,["children","className"]);return ke("li",w(l({"data-slot":"breadcrumb-separator",role:"presentation","aria-hidden":"true",className:p("flex items-center text-muted-foreground [&>svg]:size-3.5",t)},r),{children:e!=null?e:ke(il,{className:"text-[#A3AAB8]"})}))}function d0(r){var o=r,{className:e}=o,t=v(o,["className"]);return cl("span",w(l({"data-slot":"breadcrumb-ellipsis",role:"presentation","aria-hidden":"true",className:p("flex size-9 items-center justify-center",e)},t),{children:[ke(sl,{className:"size-4 text-[#6E7991]"}),ke("span",{className:"sr-only",children:"More"})]}))}import{Drawer as Be}from"vaul";import{jsx as de,jsxs as Jo}from"react/jsx-runtime";var ul="0px 2px 4px 0px #1212170A, 0px 5px 8px 0px #1212170A, 0px 10px 18px 0px #12121708, 0px 24px 48px 0px #12121708, 0px 0px 0px 1px #1212171A";function h0(e){return de(Be.Root,l({"data-slot":"drawer"},e))}function x0(e){return de(Be.Trigger,l({"data-slot":"drawer-trigger"},e))}function dl(e){return de(Be.Portal,l({"data-slot":"drawer-portal"},e))}function C0(e){return de(Be.Close,l({"data-slot":"drawer-close"},e))}function pl(i){var c=i,{className:e,style:t,variant:r="default",tokens:o,platform:n="web"}=c,a=v(c,["className","style","variant","tokens","platform"]);let s=S(),u=A({componentName:"drawer.overlay",variant:r,tokens:o},s),d=n==="web"?l(l({},N(u)),t):T(u);return de(Be.Overlay,l({"data-slot":"drawer-overlay",style:n==="web"?d:void 0,className:p("fixed inset-0 z-50","data-[state=open]:animate-in data-[state=closed]:animate-out","data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e)},a))}function y0(c){var s=c,{className:e,children:t,style:r,variant:o="default",tokens:n,platform:a="web"}=s,i=v(s,["className","children","style","variant","tokens","platform"]);let u=S(),d=A({componentName:"drawer.container",variant:o,tokens:n},u),b=a==="web"?l(l({},N(d)),r):T(d);return Jo(dl,{children:[de(pl,{}),Jo(Be.Content,w(l({"data-slot":"drawer-content",className:p("group/drawer-content fixed z-50 flex flex-col bg-white shadow-md","data-[vaul-drawer-direction=bottom]:inset-x-0 bottom-0 rounded-t-lg","data-[vaul-drawer-direction=top]:inset-x-0 top-0 rounded-b-lg","data-[vaul-drawer-direction=right]:inset-y-0 right-0 w-3/4 sm:max-w-sm","data-[vaul-drawer-direction=left]:inset-y-0 left-0 w-3/4 sm:max-w-sm",ul,e)},i),{children:[de("div",{className:"mx-auto mt-2 hidden h-1.5 w-24 rounded-full bg-muted group-data-[vaul-drawer-direction=bottom]/drawer-content:block"}),t]}))]})}function _0(r){var o=r,{className:e}=o,t=v(o,["className"]);return de("div",l({"data-slot":"drawer-header",className:p("relative","px-6 pt-14 pb-4","flex flex-col gap-2",e)},t))}function R0(r){var o=r,{className:e}=o,t=v(o,["className"]);return de("div",l({"data-slot":"drawer-body",className:p("flex-1 overflow-auto","px-6 py-4",e)},t))}function P0(r){var o=r,{className:e}=o,t=v(o,["className"]);return de("div",l({"data-slot":"drawer-footer",className:p("mt-auto flex flex-col gap-2 p-4 sm:flex-row sm:justify-end",e)},t))}function E0(r){var o=r,{className:e}=o,t=v(o,["className"]);return de(Be.Close,w(l({"data-slot":"drawer-close-button",className:p("absolute right-4 top-4","flex h-9 w-9 items-center justify-center","rounded-lg p-2","text-[#6E7991]","hover:bg-black/5","focus:outline-none focus:ring-2 focus:ring-black/20",e)},t),{children:"\u2715"}))}function w0(i){var c=i,{className:e,style:t,variant:r="default",tokens:o,platform:n="web"}=c,a=v(c,["className","style","variant","tokens","platform"]);let s=S(),u=A({componentName:"drawer.title",variant:r,tokens:o},s),d=n==="web"?l(l({},N(u)),t):T(u);return de(Be.Title,l({"data-slot":"drawer-title",className:p("text-2xl font-semibold",e)},a))}function N0(i){var c=i,{className:e,style:t,variant:r="default",tokens:o,platform:n="web"}=c,a=v(c,["className","style","variant","tokens","platform"]);let s=S(),u=A({componentName:"drawer.description",variant:r,tokens:o},s),d=n==="web"?l(l({},N(u)),t):T(u);return de(Be.Description,l({"data-slot":"drawer-description",className:p("text-sm text-muted-foreground text-[#6E7991] space-y-2",e)},a))}import*as oe from"@radix-ui/react-alert-dialog";import{jsx as ce,jsxs as gl}from"react/jsx-runtime";function D0(e){return ce(oe.Root,l({"data-slot":"alert-dialog"},e))}function M0(e){return ce(oe.Trigger,l({"data-slot":"alert-dialog-trigger"},e))}function fl(e){return ce(oe.Portal,l({"data-slot":"alert-dialog-portal"},e))}function ml(e){return ce(oe.Overlay,l({"data-slot":"alert-dialog-overlay",className:p("fixed inset-0 z-50 bg-black/50","data-[state=open]:animate-in data-[state=closed]:animate-out","data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0")},e))}function L0(r){var o=r,{className:e}=o,t=v(o,["className"]);return gl(fl,{children:[ce(ml,{}),ce(oe.Content,l({"data-slot":"alert-dialog-content",className:p("fixed top-1/2 left-1/2 z-50","w-full max-w-[420px] translate-x-[-50%] translate-y-[-50%]","rounded-lg bg-white p-6 shadow-lg","grid gap-4","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",e)},t))]})}function F0(r){var o=r,{className:e}=o,t=v(o,["className"]);return ce("div",l({"data-slot":"alert-dialog-header",className:p("flex flex-col gap-2 text-left",e)},t))}function k0(r){var o=r,{className:e}=o,t=v(o,["className"]);return ce("div",l({"data-slot":"alert-dialog-footer",className:p("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",e)},t))}function B0(e){return ce(oe.Title,l({"data-slot":"alert-dialog-title",className:"text-lg font-semibold text-[#020303]"},e))}function z0(e){return ce(oe.Description,l({"data-slot":"alert-dialog-description",className:"text-sm text-[#6B7280]"},e))}function j0(r){var o=r,{children:e}=o,t=v(o,["children"]);return ce(oe.Action,w(l({asChild:!0},t),{children:ce(se,{variant:"primary",tone:"brand",children:e})}))}function H0(r){var o=r,{children:e}=o,t=v(o,["children"]);return ce(oe.Cancel,w(l({asChild:!0},t),{children:ce(se,{variant:"secondary",tone:"brand",children:e})}))}import{ChevronDown as en}from"lucide-react";import{Fragment as Cl,jsx as Y,jsxs as Oe}from"react/jsx-runtime";function bl({merchants:e=[],currentMerchantId:t,onSelect:r}){if(e.length===0)return null;let o=e.find(n=>n.id===t);return e.length===1?Y("span",{className:"text-sm font-medium",children:o==null?void 0:o.name}):Oe(er,{children:[Oe(tr,{className:"flex items-center gap-2 text-sm font-medium",children:[Y("span",{children:o==null?void 0:o.name}),Y(en,{className:"h-4 w-4 text-muted-foreground"})]}),Y(rr,{align:"start",children:e.map(n=>Y(or,{onClick:()=>r==null?void 0:r(n.id),children:n.name},n.id))})]})}function vl({actions:e}){return Y("div",{className:"flex items-center gap-2",children:e.map(t=>Oe(se,{size:"sm",variant:"secondary",className:"gap-2",onClick:t.onClick,children:[t.icon,t.label]},t.id))})}function hl({user:e}){return Oe(er,{children:[Oe(tr,{className:"flex items-center gap-2 outline-none",children:[Y(Yt,{className:"h-8 w-8",children:e.avatarUrl?Oe(Cl,{children:[Y(Do,{src:e.avatarUrl}),Y(Et,{children:"RP"})]}):Y(Et,{children:"RP"})}),Oe("div",{className:"text-left leading-tight",children:[Y("p",{className:"text-sm font-medium",children:e.name}),e.role&&Y("p",{className:"text-xs text-muted-foreground",children:e.role})]}),Y(en,{className:"h-4 w-4 text-muted-foreground"})]}),Y(rr,{align:"end",children:e.menu.map(t=>Y(or,{onClick:t.onClick,children:t.label},t.id))})]})}function xl(){return Y("div",{className:"flex items-center gap-2",children:Y(Yt,{children:Y(Et,{children:"EM"})})})}function q0({merchants:e,currentMerchantId:t,onMerchantChange:r,actions:o,user:n}){return Y("header",{className:`\r
45
52
  w-full\r
46
53
  h-16\r
47
54
  bg-white\r
48
55
  border-b\r
49
56
  border-[#E2E5E9]\r
50
57
  rounded-md\r
51
- `,children:Be("div",{className:`\r
58
+ `,children:Oe("div",{className:`\r
52
59
  mx-auto\r
53
60
  max-w-[1440px]\r
54
61
  h-full\r
@@ -56,4 +63,4 @@ var si=Object.defineProperty,li=Object.defineProperties;var ci=Object.getOwnProp
56
63
  flex\r
57
64
  items-center\r
58
65
  justify-between\r
59
- `,children:[Be("div",{className:"flex items-center gap-6",children:[K(gd,{}),K(pd,{merchants:e,currentMerchantId:t,onSelect:o})]}),Be("div",{className:"flex items-center gap-4",children:[K(fd,{actions:r}),K(md,{user:n})]})]})})}import{ChevronLeftIcon as vd,ChevronRightIcon as hd,MoreHorizontalIcon as xd}from"lucide-react";import{jsx as Le,jsxs as yd}from"react/jsx-runtime";function V0(o){var r=o,{className:e}=r,t=h(r,["className"]);return Le("nav",l({role:"navigation","aria-label":"pagination","data-slot":"pagination",className:b("mx-auto flex w-full justify-center",e)},t))}function H0(o){var r=o,{className:e}=r,t=h(r,["className"]);return Le("ul",l({"data-slot":"pagination-content",className:b("flex items-center gap-2",e)},t))}function $0(e){return Le("li",l({"data-slot":"pagination-item"},e))}function ei(n){var a=n,{className:e,isActive:t,disabled:o}=a,r=h(a,["className","isActive","disabled"]);return Le("a",l({"data-slot":"pagination-link","aria-current":t?"page":void 0,"aria-disabled":o,className:b("inline-flex items-center justify-center","w-9 h-9 rounded-md border text-sm font-medium","transition-colors select-none","border-[#E2E5E9]",!t&&"bg-white text-[#374151] hover:bg-[#F9FAFB]",t&&"bg-[#F4F0FF] text-[#6D28D9] border-transparent",o&&"pointer-events-none opacity-40",e)},r))}function U0(r){var n=r,{className:e,disabled:t}=n,o=h(n,["className","disabled"]);return Le(ei,w(l({"aria-label":"Previous page",disabled:t,className:e},o),{children:Le(vd,{className:"h-4 w-4"})}))}function j0(r){var n=r,{className:e,disabled:t}=n,o=h(n,["className","disabled"]);return Le(ei,w(l({"aria-label":"Next page",disabled:t,className:e},o),{children:Le(hd,{className:"h-4 w-4"})}))}function G0(o){var r=o,{className:e}=r,t=h(r,["className"]);return yd("span",w(l({"aria-hidden":!0,"data-slot":"pagination-ellipsis",className:b("inline-flex items-center justify-center","w-9 h-9 text-[#9CA3AF]",e)},t),{children:[Le(xd,{className:"h-4 w-4"}),Le("span",{className:"sr-only",children:"More pages"})]}))}import*as je from"@radix-ui/react-tabs";import{jsx as Ro}from"react/jsx-runtime";function K0(o){var r=o,{className:e}=r,t=h(r,["className"]);return Ro(je.Root,l({"data-slot":"tabs",className:b("flex flex-col gap-2",e)},t))}function J0(r){var n=r,{className:e,size:t="large"}=n,o=h(n,["className","size"]);return Ro(je.List,l({"data-slot":"tabs-list","data-size":t,className:b("inline-flex items-center gap-1 rounded-[8px] bg-[#E2E5E9] p-[2px]",t==="large"&&"w-[268px] h-[42px]",t==="small"&&"w-[228px] h-[32px]","group/tabs",e)},o))}function Q0(o){var r=o,{className:e}=r,t=h(r,["className"]);return Ro(je.Trigger,l({"data-slot":"tabs-trigger",className:b("inline-flex items-center justify-center whitespace-nowrap","rounded-[6px] border border-transparent","text-black bg-transparent transition-all","data-[state=active]:bg-white","data-[state=active]:text-black","data-[state=active]:shadow-[0_1px_2px_-1px_rgba(0,0,0,0.10),0_1px_3px_0_rgba(0,0,0,0.06)]","disabled:pointer-events-none disabled:opacity-50","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-black/20","group-data-[size=large]/tabs:h-[34px]","group-data-[size=large]/tabs:px-[12px]","group-data-[size=large]/tabs:py-[8px]","group-data-[size=large]/tabs:gap-[8px]","group-data-[size=large]/tabs:text-sm","group-data-[size=small]/tabs:h-[28px]","group-data-[size=small]/tabs:px-[10px]","group-data-[size=small]/tabs:py-[6px]","group-data-[size=small]/tabs:gap-[8px]","group-data-[size=small]/tabs:text-xs",e)},t))}function eb(o){var r=o,{className:e}=r,t=h(r,["className"]);return Ro(je.Content,l({"data-slot":"tabs-content",className:b("outline-none",e)},t))}import{jsx as nt,jsxs as fr}from"react/jsx-runtime";function ab({title:e="Tu Nave",items:t,collapsed:o=!1,footer:r,className:n}){return fr("aside",{"data-slot":"sidebar",className:b("flex h-full flex-col border-r border-[#E5E7EB] bg-white",o?"w-[64px]":"w-[240px]",n),children:[fr("div",{className:b("flex items-center justify-between px-4 py-3",o&&"justify-center"),children:[!o&&nt("span",{className:"text-sm font-medium text-[#6B7280]",children:e}),nt("div",{className:"h-5 w-5 text-[#9CA3AF]",children:nt("span",{className:"block h-5 w-5 rounded border border-[#E5E7EB]"})})]}),nt("nav",{className:"flex flex-col gap-1 px-2",children:t.map(a=>fr("button",{type:"button",onClick:a.onClick,"data-active":a.active,className:b("flex items-center gap-2","h-[36px] w-full rounded-md px-2","text-sm font-medium transition-colors",!a.active&&"text-[#6B7280] hover:bg-[#F3F4F6]",a.active&&"bg-[#F4F0FF] text-[#6D28D9]",o&&"justify-center px-0"),children:[nt("span",{className:"flex h-5 w-5 items-center justify-center",children:a.icon}),!o&&nt("span",{children:a.label})]},a.id))}),r&&nt("div",{className:b("mt-auto border-t border-[#E5E7EB] px-3 py-3",o&&"flex justify-center px-0"),children:r})]})}import*as No from"react";import{Slot as wd}from"@radix-ui/react-slot";import{jsx as Rd}from"react/jsx-runtime";var Cd={xs:12,sm:16,md:20,lg:24,xl:32},Pd=W("inline-flex items-center justify-center shrink-0 leading-none");function mr(e){var s,c,u,d,m,g,f,p;let{iconTheme:t,variant:o}=e;if(!t)return;let r=t.color,n=(c=(s=t.variants)==null?void 0:s[o])==null?void 0:c.color,a=(u=t.base)==null?void 0:u.color,i=(m=(d=t.variants)==null?void 0:d[o])==null?void 0:m.color;return(p=(f=(g=n!=null?n:i)!=null?g:r)!=null?f:a)!=null?p:void 0}function yb(u){var d=u,{className:e,size:t="md",color:o="default",tokens:r,platform:n="web",asChild:a=!1,style:i,children:s}=d,c=h(d,["className","size","color","tokens","platform","asChild","style","children"]);var R,C,N,S;let m=E(),g=D({componentName:"icon",variant:o==="default"?void 0:o,size:t,tokens:r},m),f=n==="web"?A(g):T(g),p=(R=r==null?void 0:r.icon)!=null?R:m==null?void 0:m.icon,v=o!=="default"?mr({iconTheme:p,variant:o}):(C=mr({iconTheme:p,variant:"default"}))!=null?C:mr({iconTheme:p,variant:"primary"}),x=(S=(N=f==null?void 0:f.color)!=null?N:v)!=null?S:"currentColor",y=a?wd:"span",P=Cd[t];return Rd(y,w(l({className:b(Pd(),e),style:l({width:P,height:P,color:x},i)},c),{children:No.isValidElement(s)?No.cloneElement(s,{width:P,height:P,stroke:"currentColor",fill:"none"}):s}))}import{jsx as Nd,jsxs as Sd}from"react/jsx-runtime";function Nb({icon:e,label:t,iconPosition:o="left",className:r}){return Sd("div",{className:b("inline-flex items-center gap-2 text-sm font-medium",r),children:[o==="left"&&e,Nd("span",{className:"leading-none",children:t}),o==="right"&&e]})}import*as ti from"@radix-ui/react-separator";import{jsx as Ad}from"react/jsx-runtime";function Lb(n){var a=n,{className:e,orientation:t="horizontal",decorative:o=!0}=a,r=h(a,["className","orientation","decorative"]);return Ad(ti.Root,l({"data-slot":"separator",decorative:o,orientation:t,className:b("bg-border bg-[#E2E5E9] shrink-0 data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-px",e)},r))}import{ChevronRight as Td,ChevronsUpDown as Ed}from"lucide-react";import{jsx as Se,jsxs as So}from"react/jsx-runtime";var oi={success:{label:"Acreditado",variant:"success"},pending:{label:"Por acreditar",variant:"warning"},failed:{label:"Rechazado",variant:"destructive"},created:{label:"Creado",variant:"secondary"},refunded:{label:"Devuelto",variant:"info"}};function Jb({title:e,items:t=[],state:o="default",date:r,expanded:n=!0,onDateChange:a,onExpandedChange:i,onItemClick:s}){return Se(vo,{variant:"primary",title:e,className:"w-full",action:So(Xt,{children:[So("div",{className:"flex items-center gap-1",children:[Se(Yt,{asChild:!0,children:So(ae,{variant:"secondary",id:"date",className:"text-gray-950 border-gray-300 hover:bg-transparent hover:text-gray-950 focus:outline-none focus:ring-0 focus-visible:ring-0 focus-visible:outline-none",style:{fontFamily:"var(--font-text)",fontWeight:400,fontSize:"14px",lineHeight:"130%",letterSpacing:"-0.04em"},children:[r?r.toLocaleDateString():"Este mes",Se(Ed,{className:"ml-2 h-4 w-4 text-gray-300"})]})}),Se("button",{type:"button",onClick:()=>i==null?void 0:i(!n),className:"flex items-center justify-center",children:Se(Td,{className:b("h-5 w-5 text-gray-300 transition-transform duration-200",n&&"rotate-90")})})]}),Se(qt,{className:"w-auto p-0",children:Se(xo,{mode:"single",selected:r,onSelect:c=>a==null?void 0:a(c)})})]}),children:n&&So("div",{className:"divide-y",children:[o==="loading"&&Se("div",{className:"space-y-2 p-3",children:Array.from({length:4}).map((c,u)=>Se("div",{className:"h-10 w-full rounded-md bg-muted animate-pulse"},u))}),o==="empty"&&Se(zr,{title:"Todav\xEDa no ten\xE9s movimientos",description:"Ac\xE1 vas a poder seguir los pagos con QR, link de pago y Tienda online"}),o==="default"&&t.map(c=>Se(Wr,{id:c.id,overline:c.date,title:c.title,subtitle:c.subtitle,amount:c.amount,status:c.status?{label:oi[c.status].label,variant:oi[c.status].variant}:void 0,onItemClick:s},c.id))]})})}import{ChevronsUpDown as Dd}from"lucide-react";import{jsx as We,jsxs as Ft}from"react/jsx-runtime";function av({title:e,totalAmount:t,totalCount:o,date:r,onDateChange:n}){return Ft(vo,{variant:"primary",title:e,className:"w-full",children:[We("div",{className:"mb-4",children:Ft(Xt,{children:[We(Yt,{asChild:!0,children:Ft(ae,{variant:"secondary",className:"w-full justify-between text-gray-950 border-gray-300 hover:bg-transparent hover:text-gray-950",style:{fontFamily:"var(--font-text)",fontWeight:400,fontSize:"14px",lineHeight:"130%",letterSpacing:"-0.04em"},children:[r?r.toLocaleDateString():"Este mes",We(Dd,{className:"ml-2 h-4 w-4 text-gray-300"})]})}),We(qt,{className:"w-auto p-0",children:We(xo,{mode:"single",selected:r,onSelect:a=>n==null?void 0:n(a)})})]})}),Ft("div",{className:"mb-4",children:[We("p",{className:"text-sm text-gray-500",children:"Monto total desconocido"}),We("p",{className:"text-xl font-semibold text-gray-900",children:t})]}),Ft("div",{children:[We("p",{className:"text-sm text-gray-500",children:"Total de compras desconocidas"}),We("p",{className:"text-xl font-semibold text-gray-900",children:o})]})]})}export{M2 as Accordion,F2 as AccordionContent,B2 as AccordionItem,L2 as AccordionTrigger,bu as Alert,hu as AlertDescription,w0 as AlertDialog,T0 as AlertDialogAction,E0 as AlertDialogCancel,P0 as AlertDialogContent,A0 as AlertDialogDescription,N0 as AlertDialogFooter,R0 as AlertDialogHeader,dd as AlertDialogOverlay,cd as AlertDialogPortal,S0 as AlertDialogTitle,C0 as AlertDialogTrigger,vu as AlertTitle,Do as Avatar,jt as AvatarFallback,Or as AvatarImage,Gt as Badge,Xm as Banner,Zg as Breadcrumb,Qg as BreadcrumbEllipsis,Yg as BreadcrumbItem,qg as BreadcrumbLink,Xg as BreadcrumbList,Kg as BreadcrumbPage,Jg as BreadcrumbSeparator,ae as Button,xo as Calendar,cc as CalendarDayButton,vo as Card,vg as Checkbox,n1 as Combobox,u1 as DatePickerInput,p2 as DragSlider,i0 as Drawer,u0 as DrawerBody,l0 as DrawerClose,f0 as DrawerCloseButton,c0 as DrawerContent,g0 as DrawerDescription,p0 as DrawerFooter,d0 as DrawerHeader,ld as DrawerOverlay,sd as DrawerPortal,m0 as DrawerTitle,s0 as DrawerTrigger,Fo as DropdownMenu,kp as DropdownMenuCheckboxItem,Io as DropdownMenuContent,Dp as DropdownMenuGroup,zo as DropdownMenuItem,Lp as DropdownMenuLabel,Ep as DropdownMenuPortal,Mp as DropdownMenuRadioGroup,Bp as DropdownMenuRadioItem,Fp as DropdownMenuSeparator,Op as DropdownMenuShortcut,Ip as DropdownMenuSub,_p as DropdownMenuSubContent,zp as DropdownMenuSubTrigger,Oo as DropdownMenuTrigger,zr as EmptyState,Yu as FileUpload,yb as Icon,Nb as IconLabel,h1 as Input,y2 as IntegrationCard,R1 as Label,Jb as LastMovements,Wr as ListItem,Iu as Loader,O0 as Navbar,V0 as Pagination,H0 as PaginationContent,G0 as PaginationEllipsis,$0 as PaginationItem,ei as PaginationLink,j0 as PaginationNext,U0 as PaginationPrevious,M1 as PasswordInput,Xt as Popover,jp as PopoverAnchor,qt as PopoverContent,Yt as PopoverTrigger,$u as Progress,t2 as PromoBanner,Rg as RadioGroup,Ng as RadioItem,W1 as SearchBar,Z1 as Select,Lb as Separator,ab as Sidebar,Mg as Switch,up as Table,fp as TableBody,hp as TableCaption,vp as TableCell,mp as TableFooter,bp as TableHead,pp as TableHeader,gp as TableRow,K0 as Tabs,eb as TabsContent,J0 as TabsList,Q0 as TabsTrigger,Q1 as Textarea,Lr as ThemeContext,Hd as ThemeProvider,Lm as Tooltip,Om as TooltipContent,Hl as TooltipProvider,Fm as TooltipTrigger,av as UnknownPurchase,qi as badgeVariants,Gl as bannerVariants,Ut as buttonBaseClasses,Jl as cardBaseClasses,Xd as getTheme,Pd as iconBaseClasses,ql as promoBannerBaseClasses,T as resolveNativeStyles,D as resolveTokens,A as resolveWebStyles,Zd as setTheme,E as useTheme};
66
+ `,children:[Oe("div",{className:"flex items-center gap-6",children:[Y(xl,{}),Y(bl,{merchants:e,currentMerchantId:t,onSelect:r})]}),Oe("div",{className:"flex items-center gap-4",children:[Y(vl,{actions:o}),Y(hl,{user:n})]})]})})}import{ChevronLeftIcon as yl,ChevronRightIcon as _l,MoreHorizontalIcon as Rl}from"lucide-react";import{jsx as De,jsxs as Pl}from"react/jsx-runtime";function J0(r){var o=r,{className:e}=o,t=v(o,["className"]);return De("nav",l({role:"navigation","aria-label":"pagination","data-slot":"pagination",className:p("mx-auto flex w-full justify-center",e)},t))}function eb(r){var o=r,{className:e}=o,t=v(o,["className"]);return De("ul",l({"data-slot":"pagination-content",className:p("flex items-center gap-2",e)},t))}function tb(e){return De("li",l({"data-slot":"pagination-item"},e))}function tn(n){var a=n,{className:e,isActive:t,disabled:r}=a,o=v(a,["className","isActive","disabled"]);return De("a",l({"data-slot":"pagination-link","aria-current":t?"page":void 0,"aria-disabled":r,className:p("inline-flex items-center justify-center","w-9 h-9 rounded-md border text-sm font-medium","transition-colors select-none","border-[#E2E5E9]",!t&&"bg-white text-[#374151] hover:bg-[#F9FAFB]",t&&"bg-[#F4F0FF] text-[#6D28D9] border-transparent",r&&"pointer-events-none opacity-40",e)},o))}function rb(o){var n=o,{className:e,disabled:t}=n,r=v(n,["className","disabled"]);return De(tn,w(l({"aria-label":"Previous page",disabled:t,className:e},r),{children:De(yl,{className:"h-4 w-4"})}))}function ob(o){var n=o,{className:e,disabled:t}=n,r=v(n,["className","disabled"]);return De(tn,w(l({"aria-label":"Next page",disabled:t,className:e},r),{children:De(_l,{className:"h-4 w-4"})}))}function nb(r){var o=r,{className:e}=o,t=v(o,["className"]);return Pl("span",w(l({"aria-hidden":!0,"data-slot":"pagination-ellipsis",className:p("inline-flex items-center justify-center","w-9 h-9 text-[#9CA3AF]",e)},t),{children:[De(Rl,{className:"h-4 w-4"}),De("span",{className:"sr-only",children:"More pages"})]}))}import*as Ve from"@radix-ui/react-tabs";import{jsx as Bt}from"react/jsx-runtime";function cb(r){var o=r,{className:e}=o,t=v(o,["className"]);return Bt(Ve.Root,l({"data-slot":"tabs",className:p("flex flex-col gap-2",e)},t))}function ub(o){var n=o,{className:e,size:t="large"}=n,r=v(n,["className","size"]);return Bt(Ve.List,l({"data-slot":"tabs-list","data-size":t,className:p("inline-flex items-center gap-1 rounded-[8px] bg-[#E2E5E9] p-[2px]",t==="large"&&"w-[268px] h-[42px]",t==="small"&&"w-[228px] h-[32px]","group/tabs",e)},r))}function db(r){var o=r,{className:e}=o,t=v(o,["className"]);return Bt(Ve.Trigger,l({"data-slot":"tabs-trigger",className:p("inline-flex items-center justify-center whitespace-nowrap","rounded-[6px] border border-transparent","text-black bg-transparent transition-all","data-[state=active]:bg-white","data-[state=active]:text-black","data-[state=active]:shadow-[0_1px_2px_-1px_rgba(0,0,0,0.10),0_1px_3px_0_rgba(0,0,0,0.06)]","disabled:pointer-events-none disabled:opacity-50","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-black/20","group-data-[size=large]/tabs:h-[34px]","group-data-[size=large]/tabs:px-[12px]","group-data-[size=large]/tabs:py-[8px]","group-data-[size=large]/tabs:gap-[8px]","group-data-[size=large]/tabs:text-sm","group-data-[size=small]/tabs:h-[28px]","group-data-[size=small]/tabs:px-[10px]","group-data-[size=small]/tabs:py-[6px]","group-data-[size=small]/tabs:gap-[8px]","group-data-[size=small]/tabs:text-xs",e)},t))}function pb(r){var o=r,{className:e}=o,t=v(o,["className"]);return Bt(Ve.Content,l({"data-slot":"tabs-content",className:p("outline-none",e)},t))}var Ba=qa(ka(),1);import{Fragment as fp,jsx as ie,jsxs as ut}from"react/jsx-runtime";var dp=()=>ut("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[ie("path",{d:"M12.2664 7.6831C12.5105 7.43903 12.9061 7.43903 13.1502 7.6831C13.3943 7.92718 13.3943 8.32282 13.1502 8.56689L11.7171 10L13.1502 11.4331C13.3943 11.6772 13.3943 12.0728 13.1502 12.3169C12.9061 12.561 12.5105 12.561 12.2664 12.3169L10.3914 10.4419C10.1474 10.1978 10.1474 9.80218 10.3914 9.55811L12.2664 7.6831Z",fill:"#A3AAB8"}),ie("path",{d:"M16.25 4.79167C16.25 4.21637 15.7836 3.75 15.2083 3.75H4.79167C4.21637 3.75 3.75 4.21637 3.75 4.79167V15.2083C3.75 15.7836 4.21637 16.25 4.79167 16.25H15.2083C15.7836 16.25 16.25 15.7836 16.25 15.2083V4.79167ZM17.5 15.2083C17.5 16.474 16.474 17.5 15.2083 17.5H4.79167C3.52601 17.5 2.5 16.474 2.5 15.2083V4.79167C2.5 3.52601 3.52601 2.5 4.79167 2.5H15.2083C16.474 2.5 17.5 3.52601 17.5 4.79167V15.2083Z",fill:"#A3AAB8"}),ie("path",{d:"M7.5 3.125V16.875H6.25V3.125H7.5Z",fill:"#A3AAB8"})]}),pp=()=>ut("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[ie("path",{d:"M11.4583 7.73217C11.2143 7.48809 10.8186 7.48809 10.5745 7.73217C10.3305 7.97625 10.3305 8.37188 10.5745 8.61596L12.0076 10.0491L10.5745 11.4822C10.3305 11.7262 10.3305 12.1219 10.5745 12.366C10.8186 12.61 11.2143 12.61 11.4583 12.366L13.3333 10.491C13.5774 10.2469 13.5774 9.85125 13.3333 9.60717L11.4583 7.73217Z",fill:"#A3AAB8"}),ie("path",{d:"M16.25 4.79167C16.25 4.21637 15.7836 3.75 15.2083 3.75H4.79167C4.21637 3.75 3.75 4.21637 3.75 4.79167V15.2083C3.75 15.7836 4.21637 16.25 4.79167 16.25H15.2083C15.7836 16.25 16.25 15.7836 16.25 15.2083V4.79167ZM17.5 15.2083C17.5 16.474 16.474 17.5 15.2083 17.5H4.79167C3.52601 17.5 2.5 16.474 2.5 15.2083V4.79167C2.5 3.52601 3.52601 2.5 4.79167 2.5H15.2083C16.474 2.5 17.5 3.52601 17.5 4.79167V15.2083Z",fill:"#A3AAB8"}),ie("path",{d:"M7.5 3.125V16.875H6.25V3.125H7.5Z",fill:"#A3AAB8"})]});function n3({title:e="Tu Nave",sections:t,items:r,collapsed:o=!1,onToggleCollapse:n,className:a}){let i=t!=null?t:r?[{id:"default",items:r}]:[];return ut("aside",{className:p("flex h-full flex-col border-r border-[#E5E7EB] bg-white transition-[width] duration-300",o?"w-[64px]":"w-[240px]",a),children:[ut("div",{className:"flex items-center justify-between px-4 py-3 min-h-[56px]",children:[!o&&ie("span",{className:"text-sm font-medium text-[#6B7280] truncate",children:e}),n&&ie("button",{type:"button",onClick:n,className:p("text-[#9CA3AF] hover:text-[#6B7280] transition-colors",o&&"mx-auto"),"aria-label":o?"Expand sidebar":"Collapse sidebar",children:o?ie(pp,{}):ie(dp,{})})]}),ie("nav",{className:"flex flex-col gap-4 px-2 overflow-y-auto overflow-x-hidden",children:i.map(c=>ut("div",{className:"flex flex-col gap-1",children:[!o&&c.title&&ie("span",{className:"px-2 mb-1 text-[10px] font-bold uppercase tracking-wider text-[#9CA3AF]",children:c.title}),c.items.map(s=>{let u=s.active,d=p("flex items-center gap-3 h-[36px] w-full rounded-md px-2 text-sm font-medium transition-all",!u&&"text-[#6B7280] hover:bg-[#F3F4F6] hover:text-[#111827]",u&&"bg-[#F4F0FF] text-[#6D28D9]",o&&"justify-center px-0"),b=ut(fp,{children:[ie("span",{className:"flex h-5 w-5 shrink-0 items-center justify-center",children:s.icon}),!o&&ie("span",{className:"truncate",children:s.label})]});return s.href?ie(Ba.default,{href:s.href,className:d,children:b},s.id):ie("div",{className:d,children:b},s.id)})]},c.id))})]})}import*as $t from"react";import{Slot as mp}from"@radix-ui/react-slot";import{jsx as vp}from"react/jsx-runtime";var gp={xs:12,sm:16,md:20,lg:24,xl:32},bp=U("inline-flex items-center justify-center shrink-0 leading-none");function vo(e){var c,s,u,d,b,h,C,x;let{iconTheme:t,variant:r}=e;if(!t)return;let o=t.color,n=(s=(c=t.variants)==null?void 0:c[r])==null?void 0:s.color,a=(u=t.base)==null?void 0:u.color,i=(b=(d=t.variants)==null?void 0:d[r])==null?void 0:b.color;return(x=(C=(h=n!=null?n:i)!=null?h:o)!=null?C:a)!=null?x:void 0}function x3(u){var d=u,{className:e,size:t="md",color:r="default",tokens:o,platform:n="web",asChild:a=!1,style:i,children:c}=d,s=v(d,["className","size","color","tokens","platform","asChild","style","children"]);var R,_,P,E;let b=S(),h=A({componentName:"icon",variant:r==="default"?void 0:r,size:t,tokens:o},b),C=n==="web"?N(h):T(h),x=(R=o==null?void 0:o.icon)!=null?R:b==null?void 0:b.icon,f=r!=="default"?vo({iconTheme:x,variant:r}):(_=vo({iconTheme:x,variant:"default"}))!=null?_:vo({iconTheme:x,variant:"primary"}),m=(E=(P=C==null?void 0:C.color)!=null?P:f)!=null?E:"currentColor",g=a?mp:"span",y=gp[t];return vp(g,w(l({className:p(bp(),e),style:l({width:y,height:y,color:m},i)},s),{children:$t.isValidElement(c)?$t.cloneElement(c,{width:y,height:y,stroke:"currentColor",fill:"none"}):c}))}import{jsx as hp,jsxs as xp}from"react/jsx-runtime";function P3({icon:e,label:t,iconPosition:r="left",className:o}){return xp("div",{className:p("inline-flex items-center gap-2 text-sm font-medium",o),children:[r==="left"&&e,hp("span",{className:"leading-none",children:t}),r==="right"&&e]})}import*as za from"@radix-ui/react-separator";import{jsx as Cp}from"react/jsx-runtime";function D3(n){var a=n,{className:e,orientation:t="horizontal",decorative:r=!0}=a,o=v(a,["className","orientation","decorative"]);return Cp(za.Root,l({"data-slot":"separator",decorative:r,orientation:t,className:p("bg-border bg-[#E2E5E9] shrink-0 data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-px",e)},o))}import{ChevronRight as yp,ChevronsUpDown as _p}from"lucide-react";import{jsx as Te,jsxs as Vt}from"react/jsx-runtime";var ja={success:{label:"Acreditado",variant:"success"},pending:{label:"Por acreditar",variant:"warning"},failed:{label:"Rechazado",variant:"destructive"},created:{label:"Creado",variant:"secondary"},refunded:{label:"Devuelto",variant:"info"}};function Z3({title:e,items:t=[],state:r="default",date:o,expanded:n=!0,onDateChange:a,onExpandedChange:i,onItemClick:c}){return Te(It,{variant:"primary",title:e,className:"w-full",action:Vt(Tt,{children:[Vt("div",{className:"flex items-center gap-1",children:[Te(St,{asChild:!0,children:Vt(se,{variant:"secondary",id:"date",className:"text-gray-950 border-gray-300 hover:bg-transparent hover:text-gray-950 focus:outline-none focus:ring-0 focus-visible:ring-0 focus-visible:outline-none",style:{fontFamily:"var(--font-text)",fontWeight:400,fontSize:"14px",lineHeight:"130%",letterSpacing:"-0.04em"},children:[o?o.toLocaleDateString():"Este mes",Te(_p,{className:"ml-2 h-4 w-4 text-gray-300"})]})}),Te("button",{type:"button",onClick:()=>i==null?void 0:i(!n),className:"flex items-center justify-center",children:Te(yp,{className:p("h-5 w-5 text-gray-300 transition-transform duration-200",n&&"rotate-90")})})]}),Te(At,{className:"w-auto p-0",children:Te(Dt,{mode:"single",selected:o,onSelect:s=>a==null?void 0:a(s)})})]}),children:n&&Vt("div",{className:"divide-y",children:[r==="loading"&&Te("div",{className:"space-y-2 p-3",children:Array.from({length:4}).map((s,u)=>Te("div",{className:"h-10 w-full rounded-md bg-muted animate-pulse"},u))}),r==="empty"&&Te(Lo,{title:"Todav\xEDa no ten\xE9s movimientos",description:"Ac\xE1 vas a poder seguir los pagos con QR, link de pago y Tienda online"}),r==="default"&&t.map(s=>Te(ko,{id:s.id,overline:s.date,title:s.title,subtitle:s.subtitle,amount:s.amount,status:s.status?{label:ja[s.status].label,variant:ja[s.status].variant}:void 0,onItemClick:c},s.id))]})})}import{ChevronsUpDown as Rp}from"lucide-react";import{jsx as ze,jsxs as Ct}from"react/jsx-runtime";function nv({title:e,totalAmount:t,totalCount:r,date:o,onDateChange:n}){return Ct(It,{variant:"primary",title:e,className:"w-full",children:[ze("div",{className:"mb-4",children:Ct(Tt,{children:[ze(St,{asChild:!0,children:Ct(se,{variant:"secondary",className:"w-full justify-between text-gray-950 border-gray-300 hover:bg-transparent hover:text-gray-950",style:{fontFamily:"var(--font-text)",fontWeight:400,fontSize:"14px",lineHeight:"130%",letterSpacing:"-0.04em"},children:[o?o.toLocaleDateString():"Este mes",ze(Rp,{className:"ml-2 h-4 w-4 text-gray-300"})]})}),ze(At,{className:"w-auto p-0",children:ze(Dt,{mode:"single",selected:o,onSelect:a=>n==null?void 0:n(a)})})]})}),Ct("div",{className:"mb-4",children:[ze("p",{className:"text-sm text-gray-500",children:"Monto total desconocido"}),ze("p",{className:"text-xl font-semibold text-gray-900",children:t})]}),Ct("div",{children:[ze("p",{className:"text-sm text-gray-500",children:"Total de compras desconocidas"}),ze("p",{className:"text-xl font-semibold text-gray-900",children:r})]})]})}export{V1 as Accordion,W1 as AccordionContent,X1 as AccordionItem,G1 as AccordionTrigger,u2 as Alert,p2 as AlertDescription,D0 as AlertDialog,j0 as AlertDialogAction,H0 as AlertDialogCancel,L0 as AlertDialogContent,z0 as AlertDialogDescription,k0 as AlertDialogFooter,F0 as AlertDialogHeader,ml as AlertDialogOverlay,fl as AlertDialogPortal,B0 as AlertDialogTitle,M0 as AlertDialogTrigger,d2 as AlertTitle,Yt as Avatar,Et as AvatarFallback,Do as AvatarImage,wt as Badge,i1 as Banner,a0 as Breadcrumb,d0 as BreadcrumbEllipsis,s0 as BreadcrumbItem,l0 as BreadcrumbLink,i0 as BreadcrumbList,c0 as BreadcrumbPage,u0 as BreadcrumbSeparator,se as Button,Dt as Calendar,fs as CalendarDayButton,It as Card,Sg as Checkbox,bm as Combobox,Rm as DatePickerInput,P1 as DragSlider,h0 as Drawer,R0 as DrawerBody,C0 as DrawerClose,E0 as DrawerCloseButton,y0 as DrawerContent,N0 as DrawerDescription,P0 as DrawerFooter,_0 as DrawerHeader,pl as DrawerOverlay,dl as DrawerPortal,w0 as DrawerTitle,x0 as DrawerTrigger,er as DropdownMenu,wf as DropdownMenuCheckboxItem,rr as DropdownMenuContent,Ef as DropdownMenuGroup,or as DropdownMenuItem,Sf as DropdownMenuLabel,Pf as DropdownMenuPortal,Nf as DropdownMenuRadioGroup,Tf as DropdownMenuRadioItem,Af as DropdownMenuSeparator,If as DropdownMenuShortcut,Of as DropdownMenuSub,Mf as DropdownMenuSubContent,Df as DropdownMenuSubTrigger,tr as DropdownMenuTrigger,Lo as EmptyState,$2 as FileUpload,x3 as Icon,P3 as IconLabel,Am as Input,O1 as IntegrationCard,Fm as Label,Z3 as LastMovements,ko as ListItem,I2 as Loader,q0 as Navbar,J0 as Pagination,eb as PaginationContent,nb as PaginationEllipsis,tb as PaginationItem,tn as PaginationLink,ob as PaginationNext,rb as PaginationPrevious,Vm as PasswordInput,Tt as Popover,jf as PopoverAnchor,At as PopoverContent,St as PopoverTrigger,k2 as Progress,f1 as PromoBanner,Fg as RadioGroup,kg as RadioItem,Qm as SearchBar,ag as Select,D3 as Separator,n3 as Sidebar,Vg as Switch,af as Table,lf as TableBody,ff as TableCaption,pf as TableCell,cf as TableFooter,df as TableHead,sf as TableHeader,uf as TableRow,cb as Tabs,pb as TabsContent,ub as TabsList,db as TabsTrigger,dg as Textarea,Io as ThemeContext,Fp as ThemeProvider,Gf as Tooltip,qf as TooltipContent,Gi as TooltipProvider,Wf as TooltipTrigger,nv as UnknownPurchase,Li as badgeVariants,Ki as bannerVariants,Pt as buttonBaseClasses,rs as cardBaseClasses,Up as getTheme,bp as iconBaseClasses,es as promoBannerBaseClasses,T as resolveNativeStyles,A as resolveTokens,N as resolveWebStyles,Hp as setTheme,S as useTheme};