@rock10/ui 1.0.11 → 1.0.13

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/index.umd.js CHANGED
@@ -1,4 +1,4 @@
1
- (function(Y,S){typeof exports=="object"&&typeof module<"u"?S(exports,require("react")):typeof define=="function"&&define.amd?define(["exports","react"],S):(Y=typeof globalThis<"u"?globalThis:Y||self,S(Y.Rock10UI={},Y.React))})(this,function(Y,S){"use strict";function He(e){var a,o,t="";if(typeof e=="string"||typeof e=="number")t+=e;else if(typeof e=="object")if(Array.isArray(e)){var l=e.length;for(a=0;a<l;a++)e[a]&&(o=He(e[a]))&&(t&&(t+=" "),t+=o)}else for(o in e)e[o]&&(t&&(t+=" "),t+=o);return t}function Ir(){for(var e,a,o=0,t="",l=arguments.length;o<l;o++)(e=arguments[o])&&(a=He(e))&&(t&&(t+=" "),t+=a);return t}const Fr=(e,a)=>{const o=new Array(e.length+a.length);for(let t=0;t<e.length;t++)o[t]=e[t];for(let t=0;t<a.length;t++)o[e.length+t]=a[t];return o},Dr=(e,a)=>({classGroupId:e,validator:a}),Ze=(e=new Map,a=null,o)=>({nextPart:e,validators:a,classGroupId:o}),Ae="-",Qe=[],Mr="arbitrary..",Lr=e=>{const a=Gr(e),{conflictingClassGroups:o,conflictingClassGroupModifiers:t}=e;return{getClassGroupId:n=>{if(n.startsWith("[")&&n.endsWith("]"))return Wr(n);const d=n.split(Ae),m=d[0]===""&&d.length>1?1:0;return qe(d,m,a)},getConflictingClassGroupIds:(n,d)=>{if(d){const m=t[n],u=o[n];return m?u?Fr(u,m):m:u||Qe}return o[n]||Qe}}},qe=(e,a,o)=>{if(e.length-a===0)return o.classGroupId;const l=e[a],c=o.nextPart.get(l);if(c){const u=qe(e,a+1,c);if(u)return u}const n=o.validators;if(n===null)return;const d=a===0?e.join(Ae):e.slice(a).join(Ae),m=n.length;for(let u=0;u<m;u++){const x=n[u];if(x.validator(d))return x.classGroupId}},Wr=e=>e.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const a=e.slice(1,-1),o=a.indexOf(":"),t=a.slice(0,o);return t?Mr+t:void 0})(),Gr=e=>{const{theme:a,classGroups:o}=e;return Br(o,a)},Br=(e,a)=>{const o=Ze();for(const t in e){const l=e[t];Le(l,o,t,a)}return o},Le=(e,a,o,t)=>{const l=e.length;for(let c=0;c<l;c++){const n=e[c];Vr(n,a,o,t)}},Vr=(e,a,o,t)=>{if(typeof e=="string"){Ur(e,a,o);return}if(typeof e=="function"){Yr(e,a,o,t);return}Kr(e,a,o,t)},Ur=(e,a,o)=>{const t=e===""?a:er(a,e);t.classGroupId=o},Yr=(e,a,o,t)=>{if(Jr(e)){Le(e(t),a,o,t);return}a.validators===null&&(a.validators=[]),a.validators.push(Dr(o,e))},Kr=(e,a,o,t)=>{const l=Object.entries(e),c=l.length;for(let n=0;n<c;n++){const[d,m]=l[n];Le(m,er(a,d),o,t)}},er=(e,a)=>{let o=e;const t=a.split(Ae),l=t.length;for(let c=0;c<l;c++){const n=t[c];let d=o.nextPart.get(n);d||(d=Ze(),o.nextPart.set(n,d)),o=d}return o},Jr=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,$r=e=>{if(e<1)return{get:()=>{},set:()=>{}};let a=0,o=Object.create(null),t=Object.create(null);const l=(c,n)=>{o[c]=n,a++,a>e&&(a=0,t=o,o=Object.create(null))};return{get(c){let n=o[c];if(n!==void 0)return n;if((n=t[c])!==void 0)return l(c,n),n},set(c,n){c in o?o[c]=n:l(c,n)}}},We="!",rr=":",Xr=[],tr=(e,a,o,t,l)=>({modifiers:e,hasImportantModifier:a,baseClassName:o,maybePostfixModifierPosition:t,isExternal:l}),Hr=e=>{const{prefix:a,experimentalParseClassName:o}=e;let t=l=>{const c=[];let n=0,d=0,m=0,u;const x=l.length;for(let A=0;A<x;A++){const O=l[A];if(n===0&&d===0){if(O===rr){c.push(l.slice(m,A)),m=A+1;continue}if(O==="/"){u=A;continue}}O==="["?n++:O==="]"?n--:O==="("?d++:O===")"&&d--}const v=c.length===0?l:l.slice(m);let P=v,k=!1;v.endsWith(We)?(P=v.slice(0,-1),k=!0):v.startsWith(We)&&(P=v.slice(1),k=!0);const T=u&&u>m?u-m:void 0;return tr(c,k,P,T)};if(a){const l=a+rr,c=t;t=n=>n.startsWith(l)?c(n.slice(l.length)):tr(Xr,!1,n,void 0,!0)}if(o){const l=t;t=c=>o({className:c,parseClassName:l})}return t},Zr=e=>{const a=new Map;return e.orderSensitiveModifiers.forEach((o,t)=>{a.set(o,1e6+t)}),o=>{const t=[];let l=[];for(let c=0;c<o.length;c++){const n=o[c],d=n[0]==="[",m=a.has(n);d||m?(l.length>0&&(l.sort(),t.push(...l),l=[]),t.push(n)):l.push(n)}return l.length>0&&(l.sort(),t.push(...l)),t}},Qr=e=>({cache:$r(e.cacheSize),parseClassName:Hr(e),sortModifiers:Zr(e),postfixLookupClassGroupIds:qr(e),...Lr(e)}),qr=e=>{const a=Object.create(null),o=e.postfixLookupClassGroups;if(o)for(let t=0;t<o.length;t++)a[o[t]]=!0;return a},et=/\s+/,rt=(e,a)=>{const{parseClassName:o,getClassGroupId:t,getConflictingClassGroupIds:l,sortModifiers:c,postfixLookupClassGroupIds:n}=a,d=[],m=e.trim().split(et);let u="";for(let x=m.length-1;x>=0;x-=1){const v=m[x],{isExternal:P,modifiers:k,hasImportantModifier:T,baseClassName:A,maybePostfixModifierPosition:O}=o(v);if(P){u=v+(u.length>0?" "+u:u);continue}let z=!!O,_;if(z){const F=A.substring(0,O);_=t(F);const g=_&&n[_]?t(A):void 0;g&&g!==_&&(_=g,z=!1)}else _=t(A);if(!_){if(!z){u=v+(u.length>0?" "+u:u);continue}if(_=t(A),!_){u=v+(u.length>0?" "+u:u);continue}z=!1}const q=k.length===0?"":k.length===1?k[0]:c(k).join(":"),V=T?q+We:q,X=V+_;if(d.indexOf(X)>-1)continue;d.push(X);const E=l(_,z);for(let F=0;F<E.length;++F){const g=E[F];d.push(V+g)}u=v+(u.length>0?" "+u:u)}return u},tt=(...e)=>{let a=0,o,t,l="";for(;a<e.length;)(o=e[a++])&&(t=or(o))&&(l&&(l+=" "),l+=t);return l},or=e=>{if(typeof e=="string")return e;let a,o="";for(let t=0;t<e.length;t++)e[t]&&(a=or(e[t]))&&(o&&(o+=" "),o+=a);return o},ot=(e,...a)=>{let o,t,l,c;const n=m=>{const u=a.reduce((x,v)=>v(x),e());return o=Qr(u),t=o.cache.get,l=o.cache.set,c=d,d(m)},d=m=>{const u=t(m);if(u)return u;const x=rt(m,o);return l(m,x),x};return c=n,(...m)=>c(tt(...m))},at=[],B=e=>{const a=o=>o[e]||at;return a.isThemeGetter=!0,a},ar=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,sr=/^\((?:(\w[\w-]*):)?(.+)\)$/i,st=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,nt=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,it=/\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$/,lt=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,ct=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,dt=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,le=e=>st.test(e),w=e=>!!e&&!Number.isNaN(Number(e)),oe=e=>!!e&&Number.isInteger(Number(e)),Ge=e=>e.endsWith("%")&&w(e.slice(0,-1)),se=e=>nt.test(e),nr=()=>!0,ut=e=>it.test(e)&&!lt.test(e),Be=()=>!1,mt=e=>ct.test(e),ft=e=>dt.test(e),pt=e=>!p(e)&&!b(e),bt=e=>e.startsWith("@container")&&(e[10]==="/"&&e[11]!==void 0||e[11]==="s"&&e[16]!==void 0&&e.startsWith("-size/",10)||e[11]==="n"&&e[18]!==void 0&&e.startsWith("-normal/",10)),gt=e=>ce(e,mr,Be),p=e=>ar.test(e),ue=e=>ce(e,fr,ut),ir=e=>ce(e,_t,w),ht=e=>ce(e,br,nr),xt=e=>ce(e,pr,Be),lr=e=>ce(e,dr,Be),yt=e=>ce(e,ur,ft),Oe=e=>ce(e,gr,mt),b=e=>sr.test(e),je=e=>me(e,fr),vt=e=>me(e,pr),cr=e=>me(e,dr),kt=e=>me(e,mr),wt=e=>me(e,ur),ze=e=>me(e,gr,!0),jt=e=>me(e,br,!0),ce=(e,a,o)=>{const t=ar.exec(e);return t?t[1]?a(t[1]):o(t[2]):!1},me=(e,a,o=!1)=>{const t=sr.exec(e);return t?t[1]?a(t[1]):o:!1},dr=e=>e==="position"||e==="percentage",ur=e=>e==="image"||e==="url",mr=e=>e==="length"||e==="size"||e==="bg-size",fr=e=>e==="length",_t=e=>e==="number",pr=e=>e==="family-name",br=e=>e==="number"||e==="weight",gr=e=>e==="shadow",Ct=ot(()=>{const e=B("color"),a=B("font"),o=B("text"),t=B("font-weight"),l=B("tracking"),c=B("leading"),n=B("breakpoint"),d=B("container"),m=B("spacing"),u=B("radius"),x=B("shadow"),v=B("inset-shadow"),P=B("text-shadow"),k=B("drop-shadow"),T=B("blur"),A=B("perspective"),O=B("aspect"),z=B("ease"),_=B("animate"),q=()=>["auto","avoid","all","avoid-page","page","left","right","column"],V=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],X=()=>[...V(),b,p],E=()=>["auto","hidden","clip","visible","scroll"],F=()=>["auto","contain","none"],g=()=>[b,p,m],M=()=>[le,"full","auto",...g()],fe=()=>[oe,"none","subgrid",b,p],pe=()=>["auto",{span:["full",oe,b,p]},oe,b,p],ae=()=>[oe,"auto",b,p],ee=()=>["auto","min","max","fr",b,p],re=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],J=()=>["start","end","center","stretch","center-safe","end-safe"],W=()=>["auto",...g()],H=()=>[le,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...g()],Z=()=>[le,"screen","full","dvw","lvw","svw","min","max","fit",...g()],ie=()=>[le,"screen","full","lh","dvh","lvh","svh","min","max","fit",...g()],h=()=>[e,b,p],Re=()=>[...V(),cr,lr,{position:[b,p]}],Se=()=>["no-repeat",{repeat:["","x","y","space","round"]}],Ne=()=>["auto","cover","contain",kt,gt,{size:[b,p]}],Ee=()=>[Ge,je,ue],K=()=>["","none","full",u,b,p],U=()=>["",w,je,ue],de=()=>["solid","dashed","dotted","double"],be=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],D=()=>[w,Ge,cr,lr],ge=()=>["","none",T,b,p],ye=()=>["none",w,b,p],he=()=>["none",w,b,p],Te=()=>[w,b,p],ve=()=>[le,"full",...g()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[se],breakpoint:[se],color:[nr],container:[se],"drop-shadow":[se],ease:["in","out","in-out"],font:[pt],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[se],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[se],shadow:[se],spacing:["px",w],text:[se],"text-shadow":[se],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",le,p,b,O]}],container:["container"],"container-type":[{"@container":["","normal","size",b,p]}],"container-named":[bt],columns:[{columns:[w,p,b,d]}],"break-after":[{"break-after":q()}],"break-before":[{"break-before":q()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:X()}],overflow:[{overflow:E()}],"overflow-x":[{"overflow-x":E()}],"overflow-y":[{"overflow-y":E()}],overscroll:[{overscroll:F()}],"overscroll-x":[{"overscroll-x":F()}],"overscroll-y":[{"overscroll-y":F()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:M()}],"inset-x":[{"inset-x":M()}],"inset-y":[{"inset-y":M()}],start:[{"inset-s":M(),start:M()}],end:[{"inset-e":M(),end:M()}],"inset-bs":[{"inset-bs":M()}],"inset-be":[{"inset-be":M()}],top:[{top:M()}],right:[{right:M()}],bottom:[{bottom:M()}],left:[{left:M()}],visibility:["visible","invisible","collapse"],z:[{z:[oe,"auto",b,p]}],basis:[{basis:[le,"full","auto",d,...g()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[w,le,"auto","initial","none",p]}],grow:[{grow:["",w,b,p]}],shrink:[{shrink:["",w,b,p]}],order:[{order:[oe,"first","last","none",b,p]}],"grid-cols":[{"grid-cols":fe()}],"col-start-end":[{col:pe()}],"col-start":[{"col-start":ae()}],"col-end":[{"col-end":ae()}],"grid-rows":[{"grid-rows":fe()}],"row-start-end":[{row:pe()}],"row-start":[{"row-start":ae()}],"row-end":[{"row-end":ae()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":ee()}],"auto-rows":[{"auto-rows":ee()}],gap:[{gap:g()}],"gap-x":[{"gap-x":g()}],"gap-y":[{"gap-y":g()}],"justify-content":[{justify:[...re(),"normal"]}],"justify-items":[{"justify-items":[...J(),"normal"]}],"justify-self":[{"justify-self":["auto",...J()]}],"align-content":[{content:["normal",...re()]}],"align-items":[{items:[...J(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...J(),{baseline:["","last"]}]}],"place-content":[{"place-content":re()}],"place-items":[{"place-items":[...J(),"baseline"]}],"place-self":[{"place-self":["auto",...J()]}],p:[{p:g()}],px:[{px:g()}],py:[{py:g()}],ps:[{ps:g()}],pe:[{pe:g()}],pbs:[{pbs:g()}],pbe:[{pbe:g()}],pt:[{pt:g()}],pr:[{pr:g()}],pb:[{pb:g()}],pl:[{pl:g()}],m:[{m:W()}],mx:[{mx:W()}],my:[{my:W()}],ms:[{ms:W()}],me:[{me:W()}],mbs:[{mbs:W()}],mbe:[{mbe:W()}],mt:[{mt:W()}],mr:[{mr:W()}],mb:[{mb:W()}],ml:[{ml:W()}],"space-x":[{"space-x":g()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":g()}],"space-y-reverse":["space-y-reverse"],size:[{size:H()}],"inline-size":[{inline:["auto",...Z()]}],"min-inline-size":[{"min-inline":["auto",...Z()]}],"max-inline-size":[{"max-inline":["none",...Z()]}],"block-size":[{block:["auto",...ie()]}],"min-block-size":[{"min-block":["auto",...ie()]}],"max-block-size":[{"max-block":["none",...ie()]}],w:[{w:[d,"screen",...H()]}],"min-w":[{"min-w":[d,"screen","none",...H()]}],"max-w":[{"max-w":[d,"screen","none","prose",{screen:[n]},...H()]}],h:[{h:["screen","lh",...H()]}],"min-h":[{"min-h":["screen","lh","none",...H()]}],"max-h":[{"max-h":["screen","lh",...H()]}],"font-size":[{text:["base",o,je,ue]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[t,jt,ht]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Ge,p]}],"font-family":[{font:[vt,xt,a]}],"font-features":[{"font-features":[p]}],"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:[l,b,p]}],"line-clamp":[{"line-clamp":[w,"none",b,ir]}],leading:[{leading:[c,...g()]}],"list-image":[{"list-image":["none",b,p]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",b,p]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:h()}],"text-color":[{text:h()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...de(),"wavy"]}],"text-decoration-thickness":[{decoration:[w,"from-font","auto",b,ue]}],"text-decoration-color":[{decoration:h()}],"underline-offset":[{"underline-offset":[w,"auto",b,p]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:g()}],"tab-size":[{tab:[oe,b,p]}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",b,p]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",b,p]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:Re()}],"bg-repeat":[{bg:Se()}],"bg-size":[{bg:Ne()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},oe,b,p],radial:["",b,p],conic:[oe,b,p]},wt,yt]}],"bg-color":[{bg:h()}],"gradient-from-pos":[{from:Ee()}],"gradient-via-pos":[{via:Ee()}],"gradient-to-pos":[{to:Ee()}],"gradient-from":[{from:h()}],"gradient-via":[{via:h()}],"gradient-to":[{to:h()}],rounded:[{rounded:K()}],"rounded-s":[{"rounded-s":K()}],"rounded-e":[{"rounded-e":K()}],"rounded-t":[{"rounded-t":K()}],"rounded-r":[{"rounded-r":K()}],"rounded-b":[{"rounded-b":K()}],"rounded-l":[{"rounded-l":K()}],"rounded-ss":[{"rounded-ss":K()}],"rounded-se":[{"rounded-se":K()}],"rounded-ee":[{"rounded-ee":K()}],"rounded-es":[{"rounded-es":K()}],"rounded-tl":[{"rounded-tl":K()}],"rounded-tr":[{"rounded-tr":K()}],"rounded-br":[{"rounded-br":K()}],"rounded-bl":[{"rounded-bl":K()}],"border-w":[{border:U()}],"border-w-x":[{"border-x":U()}],"border-w-y":[{"border-y":U()}],"border-w-s":[{"border-s":U()}],"border-w-e":[{"border-e":U()}],"border-w-bs":[{"border-bs":U()}],"border-w-be":[{"border-be":U()}],"border-w-t":[{"border-t":U()}],"border-w-r":[{"border-r":U()}],"border-w-b":[{"border-b":U()}],"border-w-l":[{"border-l":U()}],"divide-x":[{"divide-x":U()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":U()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...de(),"hidden","none"]}],"divide-style":[{divide:[...de(),"hidden","none"]}],"border-color":[{border:h()}],"border-color-x":[{"border-x":h()}],"border-color-y":[{"border-y":h()}],"border-color-s":[{"border-s":h()}],"border-color-e":[{"border-e":h()}],"border-color-bs":[{"border-bs":h()}],"border-color-be":[{"border-be":h()}],"border-color-t":[{"border-t":h()}],"border-color-r":[{"border-r":h()}],"border-color-b":[{"border-b":h()}],"border-color-l":[{"border-l":h()}],"divide-color":[{divide:h()}],"outline-style":[{outline:[...de(),"none","hidden"]}],"outline-offset":[{"outline-offset":[w,b,p]}],"outline-w":[{outline:["",w,je,ue]}],"outline-color":[{outline:h()}],shadow:[{shadow:["","none",x,ze,Oe]}],"shadow-color":[{shadow:h()}],"inset-shadow":[{"inset-shadow":["none",v,ze,Oe]}],"inset-shadow-color":[{"inset-shadow":h()}],"ring-w":[{ring:U()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:h()}],"ring-offset-w":[{"ring-offset":[w,ue]}],"ring-offset-color":[{"ring-offset":h()}],"inset-ring-w":[{"inset-ring":U()}],"inset-ring-color":[{"inset-ring":h()}],"text-shadow":[{"text-shadow":["none",P,ze,Oe]}],"text-shadow-color":[{"text-shadow":h()}],opacity:[{opacity:[w,b,p]}],"mix-blend":[{"mix-blend":[...be(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":be()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[w]}],"mask-image-linear-from-pos":[{"mask-linear-from":D()}],"mask-image-linear-to-pos":[{"mask-linear-to":D()}],"mask-image-linear-from-color":[{"mask-linear-from":h()}],"mask-image-linear-to-color":[{"mask-linear-to":h()}],"mask-image-t-from-pos":[{"mask-t-from":D()}],"mask-image-t-to-pos":[{"mask-t-to":D()}],"mask-image-t-from-color":[{"mask-t-from":h()}],"mask-image-t-to-color":[{"mask-t-to":h()}],"mask-image-r-from-pos":[{"mask-r-from":D()}],"mask-image-r-to-pos":[{"mask-r-to":D()}],"mask-image-r-from-color":[{"mask-r-from":h()}],"mask-image-r-to-color":[{"mask-r-to":h()}],"mask-image-b-from-pos":[{"mask-b-from":D()}],"mask-image-b-to-pos":[{"mask-b-to":D()}],"mask-image-b-from-color":[{"mask-b-from":h()}],"mask-image-b-to-color":[{"mask-b-to":h()}],"mask-image-l-from-pos":[{"mask-l-from":D()}],"mask-image-l-to-pos":[{"mask-l-to":D()}],"mask-image-l-from-color":[{"mask-l-from":h()}],"mask-image-l-to-color":[{"mask-l-to":h()}],"mask-image-x-from-pos":[{"mask-x-from":D()}],"mask-image-x-to-pos":[{"mask-x-to":D()}],"mask-image-x-from-color":[{"mask-x-from":h()}],"mask-image-x-to-color":[{"mask-x-to":h()}],"mask-image-y-from-pos":[{"mask-y-from":D()}],"mask-image-y-to-pos":[{"mask-y-to":D()}],"mask-image-y-from-color":[{"mask-y-from":h()}],"mask-image-y-to-color":[{"mask-y-to":h()}],"mask-image-radial":[{"mask-radial":[b,p]}],"mask-image-radial-from-pos":[{"mask-radial-from":D()}],"mask-image-radial-to-pos":[{"mask-radial-to":D()}],"mask-image-radial-from-color":[{"mask-radial-from":h()}],"mask-image-radial-to-color":[{"mask-radial-to":h()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":V()}],"mask-image-conic-pos":[{"mask-conic":[w]}],"mask-image-conic-from-pos":[{"mask-conic-from":D()}],"mask-image-conic-to-pos":[{"mask-conic-to":D()}],"mask-image-conic-from-color":[{"mask-conic-from":h()}],"mask-image-conic-to-color":[{"mask-conic-to":h()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:Re()}],"mask-repeat":[{mask:Se()}],"mask-size":[{mask:Ne()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",b,p]}],filter:[{filter:["","none",b,p]}],blur:[{blur:ge()}],brightness:[{brightness:[w,b,p]}],contrast:[{contrast:[w,b,p]}],"drop-shadow":[{"drop-shadow":["","none",k,ze,Oe]}],"drop-shadow-color":[{"drop-shadow":h()}],grayscale:[{grayscale:["",w,b,p]}],"hue-rotate":[{"hue-rotate":[w,b,p]}],invert:[{invert:["",w,b,p]}],saturate:[{saturate:[w,b,p]}],sepia:[{sepia:["",w,b,p]}],"backdrop-filter":[{"backdrop-filter":["","none",b,p]}],"backdrop-blur":[{"backdrop-blur":ge()}],"backdrop-brightness":[{"backdrop-brightness":[w,b,p]}],"backdrop-contrast":[{"backdrop-contrast":[w,b,p]}],"backdrop-grayscale":[{"backdrop-grayscale":["",w,b,p]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[w,b,p]}],"backdrop-invert":[{"backdrop-invert":["",w,b,p]}],"backdrop-opacity":[{"backdrop-opacity":[w,b,p]}],"backdrop-saturate":[{"backdrop-saturate":[w,b,p]}],"backdrop-sepia":[{"backdrop-sepia":["",w,b,p]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":g()}],"border-spacing-x":[{"border-spacing-x":g()}],"border-spacing-y":[{"border-spacing-y":g()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",b,p]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[w,"initial",b,p]}],ease:[{ease:["linear","initial",z,b,p]}],delay:[{delay:[w,b,p]}],animate:[{animate:["none",_,b,p]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[A,b,p]}],"perspective-origin":[{"perspective-origin":X()}],rotate:[{rotate:ye()}],"rotate-x":[{"rotate-x":ye()}],"rotate-y":[{"rotate-y":ye()}],"rotate-z":[{"rotate-z":ye()}],scale:[{scale:he()}],"scale-x":[{"scale-x":he()}],"scale-y":[{"scale-y":he()}],"scale-z":[{"scale-z":he()}],"scale-3d":["scale-3d"],skew:[{skew:Te()}],"skew-x":[{"skew-x":Te()}],"skew-y":[{"skew-y":Te()}],transform:[{transform:[b,p,"","none","gpu","cpu"]}],"transform-origin":[{origin:X()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:ve()}],"translate-x":[{"translate-x":ve()}],"translate-y":[{"translate-y":ve()}],"translate-z":[{"translate-z":ve()}],"translate-none":["translate-none"],zoom:[{zoom:[oe,b,p]}],accent:[{accent:h()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:h()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",b,p]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scrollbar-thumb-color":[{"scrollbar-thumb":h()}],"scrollbar-track-color":[{"scrollbar-track":h()}],"scrollbar-gutter":[{"scrollbar-gutter":["auto","stable","both"]}],"scrollbar-w":[{scrollbar:["auto","thin","none"]}],"scroll-m":[{"scroll-m":g()}],"scroll-mx":[{"scroll-mx":g()}],"scroll-my":[{"scroll-my":g()}],"scroll-ms":[{"scroll-ms":g()}],"scroll-me":[{"scroll-me":g()}],"scroll-mbs":[{"scroll-mbs":g()}],"scroll-mbe":[{"scroll-mbe":g()}],"scroll-mt":[{"scroll-mt":g()}],"scroll-mr":[{"scroll-mr":g()}],"scroll-mb":[{"scroll-mb":g()}],"scroll-ml":[{"scroll-ml":g()}],"scroll-p":[{"scroll-p":g()}],"scroll-px":[{"scroll-px":g()}],"scroll-py":[{"scroll-py":g()}],"scroll-ps":[{"scroll-ps":g()}],"scroll-pe":[{"scroll-pe":g()}],"scroll-pbs":[{"scroll-pbs":g()}],"scroll-pbe":[{"scroll-pbe":g()}],"scroll-pt":[{"scroll-pt":g()}],"scroll-pr":[{"scroll-pr":g()}],"scroll-pb":[{"scroll-pb":g()}],"scroll-pl":[{"scroll-pl":g()}],"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",b,p]}],fill:[{fill:["none",...h()]}],"stroke-w":[{stroke:[w,je,ue,ir]}],stroke:[{stroke:["none",...h()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{"container-named":["container-type"],overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},postfixLookupClassGroups:["container-type"],orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}});function N(...e){return Ct(Ir(e))}var Ve={exports:{}},_e={};/**
1
+ (function(j,k){typeof exports=="object"&&typeof module<"u"?k(exports,require("react")):typeof define=="function"&&define.amd?define(["exports","react"],k):(j=typeof globalThis<"u"?globalThis:j||self,k(j.Rock10UI={},j.React))})(this,function(j,k){"use strict";function Qe(e){var a,t,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e)){var n=e.length;for(a=0;a<n;a++)e[a]&&(t=Qe(e[a]))&&(o&&(o+=" "),o+=t)}else for(t in e)e[t]&&(o&&(o+=" "),o+=t);return o}function $e(){for(var e,a,t=0,o="",n=arguments.length;t<n;t++)(e=arguments[t])&&(a=Qe(e))&&(o&&(o+=" "),o+=a);return o}const gt=(e,a)=>{const t=new Array(e.length+a.length);for(let o=0;o<e.length;o++)t[o]=e[o];for(let o=0;o<a.length;o++)t[e.length+o]=a[o];return t},ht=(e,a)=>({classGroupId:e,validator:a}),qe=(e=new Map,a=null,t)=>({nextPart:e,validators:a,classGroupId:t}),Fe="-",er=[],yt="arbitrary..",kt=e=>{const a=wt(e),{conflictingClassGroups:t,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:i=>{if(i.startsWith("[")&&i.endsWith("]"))return vt(i);const c=i.split(Fe),m=c[0]===""&&c.length>1?1:0;return rr(c,m,a)},getConflictingClassGroupIds:(i,c)=>{if(c){const m=o[i],d=t[i];return m?d?gt(d,m):m:d||er}return t[i]||er}}},rr=(e,a,t)=>{if(e.length-a===0)return t.classGroupId;const n=e[a],l=t.nextPart.get(n);if(l){const d=rr(e,a+1,l);if(d)return d}const i=t.validators;if(i===null)return;const c=a===0?e.join(Fe):e.slice(a).join(Fe),m=i.length;for(let d=0;d<m;d++){const f=i[d];if(f.validator(c))return f.classGroupId}},vt=e=>e.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const a=e.slice(1,-1),t=a.indexOf(":"),o=a.slice(0,t);return o?yt+o:void 0})(),wt=e=>{const{theme:a,classGroups:t}=e;return jt(t,a)},jt=(e,a)=>{const t=qe();for(const o in e){const n=e[o];Be(n,t,o,a)}return t},Be=(e,a,t,o)=>{const n=e.length;for(let l=0;l<n;l++){const i=e[l];Nt(i,a,t,o)}},Nt=(e,a,t,o)=>{if(typeof e=="string"){_t(e,a,t);return}if(typeof e=="function"){Ct(e,a,t,o);return}Rt(e,a,t,o)},_t=(e,a,t)=>{const o=e===""?a:tr(a,e);o.classGroupId=t},Ct=(e,a,t,o)=>{if(St(e)){Be(e(o),a,t,o);return}a.validators===null&&(a.validators=[]),a.validators.push(ht(t,e))},Rt=(e,a,t,o)=>{const n=Object.entries(e),l=n.length;for(let i=0;i<l;i++){const[c,m]=n[i];Be(m,tr(a,c),t,o)}},tr=(e,a)=>{let t=e;const o=a.split(Fe),n=o.length;for(let l=0;l<n;l++){const i=o[l];let c=t.nextPart.get(i);c||(c=qe(),t.nextPart.set(i,c)),t=c}return t},St=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,Tt=e=>{if(e<1)return{get:()=>{},set:()=>{}};let a=0,t=Object.create(null),o=Object.create(null);const n=(l,i)=>{t[l]=i,a++,a>e&&(a=0,o=t,t=Object.create(null))};return{get(l){let i=t[l];if(i!==void 0)return i;if((i=o[l])!==void 0)return n(l,i),i},set(l,i){l in t?t[l]=i:n(l,i)}}},We="!",ar=":",Et=[],sr=(e,a,t,o,n)=>({modifiers:e,hasImportantModifier:a,baseClassName:t,maybePostfixModifierPosition:o,isExternal:n}),Pt=e=>{const{prefix:a,experimentalParseClassName:t}=e;let o=n=>{const l=[];let i=0,c=0,m=0,d;const f=n.length;for(let S=0;S<f;S++){const T=n[S];if(i===0&&c===0){if(T===ar){l.push(n.slice(m,S)),m=S+1;continue}if(T==="/"){d=S;continue}}T==="["?i++:T==="]"?i--:T==="("?c++:T===")"&&c--}const y=l.length===0?n:n.slice(m);let N=y,v=!1;y.endsWith(We)?(N=y.slice(0,-1),v=!0):y.startsWith(We)&&(N=y.slice(1),v=!0);const C=d&&d>m?d-m:void 0;return sr(l,v,N,C)};if(a){const n=a+ar,l=o;o=i=>i.startsWith(n)?l(i.slice(n.length)):sr(Et,!1,i,void 0,!0)}if(t){const n=o;o=l=>t({className:l,parseClassName:n})}return o},zt=e=>{const a=new Map;return e.orderSensitiveModifiers.forEach((t,o)=>{a.set(t,1e6+o)}),t=>{const o=[];let n=[];for(let l=0;l<t.length;l++){const i=t[l],c=i[0]==="[",m=a.has(i);c||m?(n.length>0&&(n.sort(),o.push(...n),n=[]),o.push(i)):n.push(i)}return n.length>0&&(n.sort(),o.push(...n)),o}},At=e=>({cache:Tt(e.cacheSize),parseClassName:Pt(e),sortModifiers:zt(e),postfixLookupClassGroupIds:Ot(e),...kt(e)}),Ot=e=>{const a=Object.create(null),t=e.postfixLookupClassGroups;if(t)for(let o=0;o<t.length;o++)a[t[o]]=!0;return a},Ft=/\s+/,It=(e,a)=>{const{parseClassName:t,getClassGroupId:o,getConflictingClassGroupIds:n,sortModifiers:l,postfixLookupClassGroupIds:i}=a,c=[],m=e.trim().split(Ft);let d="";for(let f=m.length-1;f>=0;f-=1){const y=m[f],{isExternal:N,modifiers:v,hasImportantModifier:C,baseClassName:S,maybePostfixModifierPosition:T}=t(y);if(N){d=y+(d.length>0?" "+d:d);continue}let z=!!T,E;if(z){const I=S.substring(0,T);E=o(I);const b=E&&i[E]?o(S):void 0;b&&b!==E&&(E=b,z=!1)}else E=o(S);if(!E){if(!z){d=y+(d.length>0?" "+d:d);continue}if(E=o(S),!E){d=y+(d.length>0?" "+d:d);continue}z=!1}const X=v.length===0?"":v.length===1?v[0]:l(v).join(":"),G=C?X+We:X,Z=G+E;if(c.indexOf(Z)>-1)continue;c.push(Z);const O=n(E,z);for(let I=0;I<O.length;++I){const b=O[I];c.push(G+b)}d=y+(d.length>0?" "+d:d)}return d},Mt=(...e)=>{let a=0,t,o,n="";for(;a<e.length;)(t=e[a++])&&(o=or(t))&&(n&&(n+=" "),n+=o);return n},or=e=>{if(typeof e=="string")return e;let a,t="";for(let o=0;o<e.length;o++)e[o]&&(a=or(e[o]))&&(t&&(t+=" "),t+=a);return t},Dt=(e,...a)=>{let t,o,n,l;const i=m=>{const d=a.reduce((f,y)=>y(f),e());return t=At(d),o=t.cache.get,n=t.cache.set,l=c,c(m)},c=m=>{const d=o(m);if(d)return d;const f=It(m,t);return n(m,f),f};return l=i,(...m)=>l(Mt(...m))},Lt=[],K=e=>{const a=t=>t[e]||Lt;return a.isThemeGetter=!0,a},nr=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,lr=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Vt=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,Bt=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Wt=/\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$/,Gt=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,Ut=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Ht=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,ce=e=>Vt.test(e),R=e=>!!e&&!Number.isNaN(Number(e)),oe=e=>!!e&&Number.isInteger(Number(e)),Ge=e=>e.endsWith("%")&&R(e.slice(0,-1)),ne=e=>Bt.test(e),ir=()=>!0,Yt=e=>Wt.test(e)&&!Gt.test(e),Ue=()=>!1,Kt=e=>Ut.test(e),Jt=e=>Ht.test(e),Xt=e=>!g(e)&&!h(e),Zt=e=>e.startsWith("@container")&&(e[10]==="/"&&e[11]!==void 0||e[11]==="s"&&e[16]!==void 0&&e.startsWith("-size/",10)||e[11]==="n"&&e[18]!==void 0&&e.startsWith("-normal/",10)),Qt=e=>ue(e,xr,Ue),g=e=>nr.test(e),fe=e=>ue(e,br,Yt),dr=e=>ue(e,oa,R),$t=e=>ue(e,gr,ir),qt=e=>ue(e,pr,Ue),cr=e=>ue(e,mr,Ue),ea=e=>ue(e,fr,Jt),Ie=e=>ue(e,hr,Kt),h=e=>lr.test(e),Ne=e=>xe(e,br),ra=e=>xe(e,pr),ur=e=>xe(e,mr),ta=e=>xe(e,xr),aa=e=>xe(e,fr),Me=e=>xe(e,hr,!0),sa=e=>xe(e,gr,!0),ue=(e,a,t)=>{const o=nr.exec(e);return o?o[1]?a(o[1]):t(o[2]):!1},xe=(e,a,t=!1)=>{const o=lr.exec(e);return o?o[1]?a(o[1]):t:!1},mr=e=>e==="position"||e==="percentage",fr=e=>e==="image"||e==="url",xr=e=>e==="length"||e==="size"||e==="bg-size",br=e=>e==="length",oa=e=>e==="number",pr=e=>e==="family-name",gr=e=>e==="number"||e==="weight",hr=e=>e==="shadow",na=Dt(()=>{const e=K("color"),a=K("font"),t=K("text"),o=K("font-weight"),n=K("tracking"),l=K("leading"),i=K("breakpoint"),c=K("container"),m=K("spacing"),d=K("radius"),f=K("shadow"),y=K("inset-shadow"),N=K("text-shadow"),v=K("drop-shadow"),C=K("blur"),S=K("perspective"),T=K("aspect"),z=K("ease"),E=K("animate"),X=()=>["auto","avoid","all","avoid-page","page","left","right","column"],G=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],Z=()=>[...G(),h,g],O=()=>["auto","hidden","clip","visible","scroll"],I=()=>["auto","contain","none"],b=()=>[h,g,m],D=()=>[ce,"full","auto",...b()],le=()=>[oe,"none","subgrid",h,g],ie=()=>["auto",{span:["full",oe,h,g]},oe,h,g],ae=()=>[oe,"auto",h,g],$=()=>["auto","min","max","fr",h,g],L=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],H=()=>["start","end","center","stretch","center-safe","end-safe"],V=()=>["auto",...b()],ee=()=>[ce,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...b()],re=()=>[ce,"screen","full","dvw","lvw","svw","min","max","fit",...b()],de=()=>[ce,"screen","full","lh","dvh","lvh","svh","min","max","fit",...b()],w=()=>[e,h,g],Te=()=>[...G(),ur,cr,{position:[h,g]}],Ee=()=>["no-repeat",{repeat:["","x","y","space","round"]}],Pe=()=>["auto","cover","contain",ta,Qt,{size:[h,g]}],ze=()=>[Ge,Ne,fe],Q=()=>["","none","full",d,h,g],J=()=>["",R,Ne,fe],me=()=>["solid","dashed","dotted","double"],pe=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],B=()=>[R,Ge,ur,cr],ge=()=>["","none",C,h,g],ke=()=>["none",R,h,g],he=()=>["none",R,h,g],Ae=()=>[R,h,g],ve=()=>[ce,"full",...b()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[ne],breakpoint:[ne],color:[ir],container:[ne],"drop-shadow":[ne],ease:["in","out","in-out"],font:[Xt],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[ne],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[ne],shadow:[ne],spacing:["px",R],text:[ne],"text-shadow":[ne],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",ce,g,h,T]}],container:["container"],"container-type":[{"@container":["","normal","size",h,g]}],"container-named":[Zt],columns:[{columns:[R,g,h,c]}],"break-after":[{"break-after":X()}],"break-before":[{"break-before":X()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:Z()}],overflow:[{overflow:O()}],"overflow-x":[{"overflow-x":O()}],"overflow-y":[{"overflow-y":O()}],overscroll:[{overscroll:I()}],"overscroll-x":[{"overscroll-x":I()}],"overscroll-y":[{"overscroll-y":I()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:D()}],"inset-x":[{"inset-x":D()}],"inset-y":[{"inset-y":D()}],start:[{"inset-s":D(),start:D()}],end:[{"inset-e":D(),end:D()}],"inset-bs":[{"inset-bs":D()}],"inset-be":[{"inset-be":D()}],top:[{top:D()}],right:[{right:D()}],bottom:[{bottom:D()}],left:[{left:D()}],visibility:["visible","invisible","collapse"],z:[{z:[oe,"auto",h,g]}],basis:[{basis:[ce,"full","auto",c,...b()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[R,ce,"auto","initial","none",g]}],grow:[{grow:["",R,h,g]}],shrink:[{shrink:["",R,h,g]}],order:[{order:[oe,"first","last","none",h,g]}],"grid-cols":[{"grid-cols":le()}],"col-start-end":[{col:ie()}],"col-start":[{"col-start":ae()}],"col-end":[{"col-end":ae()}],"grid-rows":[{"grid-rows":le()}],"row-start-end":[{row:ie()}],"row-start":[{"row-start":ae()}],"row-end":[{"row-end":ae()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":$()}],"auto-rows":[{"auto-rows":$()}],gap:[{gap:b()}],"gap-x":[{"gap-x":b()}],"gap-y":[{"gap-y":b()}],"justify-content":[{justify:[...L(),"normal"]}],"justify-items":[{"justify-items":[...H(),"normal"]}],"justify-self":[{"justify-self":["auto",...H()]}],"align-content":[{content:["normal",...L()]}],"align-items":[{items:[...H(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...H(),{baseline:["","last"]}]}],"place-content":[{"place-content":L()}],"place-items":[{"place-items":[...H(),"baseline"]}],"place-self":[{"place-self":["auto",...H()]}],p:[{p:b()}],px:[{px:b()}],py:[{py:b()}],ps:[{ps:b()}],pe:[{pe:b()}],pbs:[{pbs:b()}],pbe:[{pbe:b()}],pt:[{pt:b()}],pr:[{pr:b()}],pb:[{pb:b()}],pl:[{pl:b()}],m:[{m:V()}],mx:[{mx:V()}],my:[{my:V()}],ms:[{ms:V()}],me:[{me:V()}],mbs:[{mbs:V()}],mbe:[{mbe:V()}],mt:[{mt:V()}],mr:[{mr:V()}],mb:[{mb:V()}],ml:[{ml:V()}],"space-x":[{"space-x":b()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":b()}],"space-y-reverse":["space-y-reverse"],size:[{size:ee()}],"inline-size":[{inline:["auto",...re()]}],"min-inline-size":[{"min-inline":["auto",...re()]}],"max-inline-size":[{"max-inline":["none",...re()]}],"block-size":[{block:["auto",...de()]}],"min-block-size":[{"min-block":["auto",...de()]}],"max-block-size":[{"max-block":["none",...de()]}],w:[{w:[c,"screen",...ee()]}],"min-w":[{"min-w":[c,"screen","none",...ee()]}],"max-w":[{"max-w":[c,"screen","none","prose",{screen:[i]},...ee()]}],h:[{h:["screen","lh",...ee()]}],"min-h":[{"min-h":["screen","lh","none",...ee()]}],"max-h":[{"max-h":["screen","lh",...ee()]}],"font-size":[{text:["base",t,Ne,fe]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[o,sa,$t]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Ge,g]}],"font-family":[{font:[ra,qt,a]}],"font-features":[{"font-features":[g]}],"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:[n,h,g]}],"line-clamp":[{"line-clamp":[R,"none",h,dr]}],leading:[{leading:[l,...b()]}],"list-image":[{"list-image":["none",h,g]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",h,g]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:w()}],"text-color":[{text:w()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...me(),"wavy"]}],"text-decoration-thickness":[{decoration:[R,"from-font","auto",h,fe]}],"text-decoration-color":[{decoration:w()}],"underline-offset":[{"underline-offset":[R,"auto",h,g]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:b()}],"tab-size":[{tab:[oe,h,g]}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",h,g]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",h,g]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:Te()}],"bg-repeat":[{bg:Ee()}],"bg-size":[{bg:Pe()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},oe,h,g],radial:["",h,g],conic:[oe,h,g]},aa,ea]}],"bg-color":[{bg:w()}],"gradient-from-pos":[{from:ze()}],"gradient-via-pos":[{via:ze()}],"gradient-to-pos":[{to:ze()}],"gradient-from":[{from:w()}],"gradient-via":[{via:w()}],"gradient-to":[{to:w()}],rounded:[{rounded:Q()}],"rounded-s":[{"rounded-s":Q()}],"rounded-e":[{"rounded-e":Q()}],"rounded-t":[{"rounded-t":Q()}],"rounded-r":[{"rounded-r":Q()}],"rounded-b":[{"rounded-b":Q()}],"rounded-l":[{"rounded-l":Q()}],"rounded-ss":[{"rounded-ss":Q()}],"rounded-se":[{"rounded-se":Q()}],"rounded-ee":[{"rounded-ee":Q()}],"rounded-es":[{"rounded-es":Q()}],"rounded-tl":[{"rounded-tl":Q()}],"rounded-tr":[{"rounded-tr":Q()}],"rounded-br":[{"rounded-br":Q()}],"rounded-bl":[{"rounded-bl":Q()}],"border-w":[{border:J()}],"border-w-x":[{"border-x":J()}],"border-w-y":[{"border-y":J()}],"border-w-s":[{"border-s":J()}],"border-w-e":[{"border-e":J()}],"border-w-bs":[{"border-bs":J()}],"border-w-be":[{"border-be":J()}],"border-w-t":[{"border-t":J()}],"border-w-r":[{"border-r":J()}],"border-w-b":[{"border-b":J()}],"border-w-l":[{"border-l":J()}],"divide-x":[{"divide-x":J()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":J()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...me(),"hidden","none"]}],"divide-style":[{divide:[...me(),"hidden","none"]}],"border-color":[{border:w()}],"border-color-x":[{"border-x":w()}],"border-color-y":[{"border-y":w()}],"border-color-s":[{"border-s":w()}],"border-color-e":[{"border-e":w()}],"border-color-bs":[{"border-bs":w()}],"border-color-be":[{"border-be":w()}],"border-color-t":[{"border-t":w()}],"border-color-r":[{"border-r":w()}],"border-color-b":[{"border-b":w()}],"border-color-l":[{"border-l":w()}],"divide-color":[{divide:w()}],"outline-style":[{outline:[...me(),"none","hidden"]}],"outline-offset":[{"outline-offset":[R,h,g]}],"outline-w":[{outline:["",R,Ne,fe]}],"outline-color":[{outline:w()}],shadow:[{shadow:["","none",f,Me,Ie]}],"shadow-color":[{shadow:w()}],"inset-shadow":[{"inset-shadow":["none",y,Me,Ie]}],"inset-shadow-color":[{"inset-shadow":w()}],"ring-w":[{ring:J()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:w()}],"ring-offset-w":[{"ring-offset":[R,fe]}],"ring-offset-color":[{"ring-offset":w()}],"inset-ring-w":[{"inset-ring":J()}],"inset-ring-color":[{"inset-ring":w()}],"text-shadow":[{"text-shadow":["none",N,Me,Ie]}],"text-shadow-color":[{"text-shadow":w()}],opacity:[{opacity:[R,h,g]}],"mix-blend":[{"mix-blend":[...pe(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":pe()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[R]}],"mask-image-linear-from-pos":[{"mask-linear-from":B()}],"mask-image-linear-to-pos":[{"mask-linear-to":B()}],"mask-image-linear-from-color":[{"mask-linear-from":w()}],"mask-image-linear-to-color":[{"mask-linear-to":w()}],"mask-image-t-from-pos":[{"mask-t-from":B()}],"mask-image-t-to-pos":[{"mask-t-to":B()}],"mask-image-t-from-color":[{"mask-t-from":w()}],"mask-image-t-to-color":[{"mask-t-to":w()}],"mask-image-r-from-pos":[{"mask-r-from":B()}],"mask-image-r-to-pos":[{"mask-r-to":B()}],"mask-image-r-from-color":[{"mask-r-from":w()}],"mask-image-r-to-color":[{"mask-r-to":w()}],"mask-image-b-from-pos":[{"mask-b-from":B()}],"mask-image-b-to-pos":[{"mask-b-to":B()}],"mask-image-b-from-color":[{"mask-b-from":w()}],"mask-image-b-to-color":[{"mask-b-to":w()}],"mask-image-l-from-pos":[{"mask-l-from":B()}],"mask-image-l-to-pos":[{"mask-l-to":B()}],"mask-image-l-from-color":[{"mask-l-from":w()}],"mask-image-l-to-color":[{"mask-l-to":w()}],"mask-image-x-from-pos":[{"mask-x-from":B()}],"mask-image-x-to-pos":[{"mask-x-to":B()}],"mask-image-x-from-color":[{"mask-x-from":w()}],"mask-image-x-to-color":[{"mask-x-to":w()}],"mask-image-y-from-pos":[{"mask-y-from":B()}],"mask-image-y-to-pos":[{"mask-y-to":B()}],"mask-image-y-from-color":[{"mask-y-from":w()}],"mask-image-y-to-color":[{"mask-y-to":w()}],"mask-image-radial":[{"mask-radial":[h,g]}],"mask-image-radial-from-pos":[{"mask-radial-from":B()}],"mask-image-radial-to-pos":[{"mask-radial-to":B()}],"mask-image-radial-from-color":[{"mask-radial-from":w()}],"mask-image-radial-to-color":[{"mask-radial-to":w()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":G()}],"mask-image-conic-pos":[{"mask-conic":[R]}],"mask-image-conic-from-pos":[{"mask-conic-from":B()}],"mask-image-conic-to-pos":[{"mask-conic-to":B()}],"mask-image-conic-from-color":[{"mask-conic-from":w()}],"mask-image-conic-to-color":[{"mask-conic-to":w()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:Te()}],"mask-repeat":[{mask:Ee()}],"mask-size":[{mask:Pe()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",h,g]}],filter:[{filter:["","none",h,g]}],blur:[{blur:ge()}],brightness:[{brightness:[R,h,g]}],contrast:[{contrast:[R,h,g]}],"drop-shadow":[{"drop-shadow":["","none",v,Me,Ie]}],"drop-shadow-color":[{"drop-shadow":w()}],grayscale:[{grayscale:["",R,h,g]}],"hue-rotate":[{"hue-rotate":[R,h,g]}],invert:[{invert:["",R,h,g]}],saturate:[{saturate:[R,h,g]}],sepia:[{sepia:["",R,h,g]}],"backdrop-filter":[{"backdrop-filter":["","none",h,g]}],"backdrop-blur":[{"backdrop-blur":ge()}],"backdrop-brightness":[{"backdrop-brightness":[R,h,g]}],"backdrop-contrast":[{"backdrop-contrast":[R,h,g]}],"backdrop-grayscale":[{"backdrop-grayscale":["",R,h,g]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[R,h,g]}],"backdrop-invert":[{"backdrop-invert":["",R,h,g]}],"backdrop-opacity":[{"backdrop-opacity":[R,h,g]}],"backdrop-saturate":[{"backdrop-saturate":[R,h,g]}],"backdrop-sepia":[{"backdrop-sepia":["",R,h,g]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":b()}],"border-spacing-x":[{"border-spacing-x":b()}],"border-spacing-y":[{"border-spacing-y":b()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",h,g]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[R,"initial",h,g]}],ease:[{ease:["linear","initial",z,h,g]}],delay:[{delay:[R,h,g]}],animate:[{animate:["none",E,h,g]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[S,h,g]}],"perspective-origin":[{"perspective-origin":Z()}],rotate:[{rotate:ke()}],"rotate-x":[{"rotate-x":ke()}],"rotate-y":[{"rotate-y":ke()}],"rotate-z":[{"rotate-z":ke()}],scale:[{scale:he()}],"scale-x":[{"scale-x":he()}],"scale-y":[{"scale-y":he()}],"scale-z":[{"scale-z":he()}],"scale-3d":["scale-3d"],skew:[{skew:Ae()}],"skew-x":[{"skew-x":Ae()}],"skew-y":[{"skew-y":Ae()}],transform:[{transform:[h,g,"","none","gpu","cpu"]}],"transform-origin":[{origin:Z()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:ve()}],"translate-x":[{"translate-x":ve()}],"translate-y":[{"translate-y":ve()}],"translate-z":[{"translate-z":ve()}],"translate-none":["translate-none"],zoom:[{zoom:[oe,h,g]}],accent:[{accent:w()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:w()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",h,g]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scrollbar-thumb-color":[{"scrollbar-thumb":w()}],"scrollbar-track-color":[{"scrollbar-track":w()}],"scrollbar-gutter":[{"scrollbar-gutter":["auto","stable","both"]}],"scrollbar-w":[{scrollbar:["auto","thin","none"]}],"scroll-m":[{"scroll-m":b()}],"scroll-mx":[{"scroll-mx":b()}],"scroll-my":[{"scroll-my":b()}],"scroll-ms":[{"scroll-ms":b()}],"scroll-me":[{"scroll-me":b()}],"scroll-mbs":[{"scroll-mbs":b()}],"scroll-mbe":[{"scroll-mbe":b()}],"scroll-mt":[{"scroll-mt":b()}],"scroll-mr":[{"scroll-mr":b()}],"scroll-mb":[{"scroll-mb":b()}],"scroll-ml":[{"scroll-ml":b()}],"scroll-p":[{"scroll-p":b()}],"scroll-px":[{"scroll-px":b()}],"scroll-py":[{"scroll-py":b()}],"scroll-ps":[{"scroll-ps":b()}],"scroll-pe":[{"scroll-pe":b()}],"scroll-pbs":[{"scroll-pbs":b()}],"scroll-pbe":[{"scroll-pbe":b()}],"scroll-pt":[{"scroll-pt":b()}],"scroll-pr":[{"scroll-pr":b()}],"scroll-pb":[{"scroll-pb":b()}],"scroll-pl":[{"scroll-pl":b()}],"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",h,g]}],fill:[{fill:["none",...w()]}],"stroke-w":[{stroke:[R,Ne,fe,dr]}],stroke:[{stroke:["none",...w()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{"container-named":["container-type"],overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},postfixLookupClassGroups:["container-type"],orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}});function x(...e){return na($e(e))}var He={exports:{}},_e={};/**
2
2
  * @license React
3
3
  * react-jsx-runtime.production.min.js
4
4
  *
@@ -6,7 +6,7 @@
6
6
  *
7
7
  * This source code is licensed under the MIT license found in the
8
8
  * LICENSE file in the root directory of this source tree.
9
- */var hr;function Rt(){if(hr)return _e;hr=1;var e=S,a=Symbol.for("react.element"),o=Symbol.for("react.fragment"),t=Object.prototype.hasOwnProperty,l=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,c={key:!0,ref:!0,__self:!0,__source:!0};function n(d,m,u){var x,v={},P=null,k=null;u!==void 0&&(P=""+u),m.key!==void 0&&(P=""+m.key),m.ref!==void 0&&(k=m.ref);for(x in m)t.call(m,x)&&!c.hasOwnProperty(x)&&(v[x]=m[x]);if(d&&d.defaultProps)for(x in m=d.defaultProps,m)v[x]===void 0&&(v[x]=m[x]);return{$$typeof:a,type:d,key:P,ref:k,props:v,_owner:l.current}}return _e.Fragment=o,_e.jsx=n,_e.jsxs=n,_e}var Ce={};/**
9
+ */var yr;function la(){if(yr)return _e;yr=1;var e=k,a=Symbol.for("react.element"),t=Symbol.for("react.fragment"),o=Object.prototype.hasOwnProperty,n=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function i(c,m,d){var f,y={},N=null,v=null;d!==void 0&&(N=""+d),m.key!==void 0&&(N=""+m.key),m.ref!==void 0&&(v=m.ref);for(f in m)o.call(m,f)&&!l.hasOwnProperty(f)&&(y[f]=m[f]);if(c&&c.defaultProps)for(f in m=c.defaultProps,m)y[f]===void 0&&(y[f]=m[f]);return{$$typeof:a,type:c,key:N,ref:v,props:y,_owner:n.current}}return _e.Fragment=t,_e.jsx=i,_e.jsxs=i,_e}var Ce={};/**
10
10
  * @license React
11
11
  * react-jsx-runtime.development.js
12
12
  *
@@ -14,82 +14,142 @@
14
14
  *
15
15
  * This source code is licensed under the MIT license found in the
16
16
  * LICENSE file in the root directory of this source tree.
17
- */var xr;function St(){return xr||(xr=1,process.env.NODE_ENV!=="production"&&function(){var e=S,a=Symbol.for("react.element"),o=Symbol.for("react.portal"),t=Symbol.for("react.fragment"),l=Symbol.for("react.strict_mode"),c=Symbol.for("react.profiler"),n=Symbol.for("react.provider"),d=Symbol.for("react.context"),m=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),x=Symbol.for("react.suspense_list"),v=Symbol.for("react.memo"),P=Symbol.for("react.lazy"),k=Symbol.for("react.offscreen"),T=Symbol.iterator,A="@@iterator";function O(r){if(r===null||typeof r!="object")return null;var i=T&&r[T]||r[A];return typeof i=="function"?i:null}var z=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function _(r){{for(var i=arguments.length,f=new Array(i>1?i-1:0),y=1;y<i;y++)f[y-1]=arguments[y];q("error",r,f)}}function q(r,i,f){{var y=z.ReactDebugCurrentFrame,R=y.getStackAddendum();R!==""&&(i+="%s",f=f.concat([R]));var I=f.map(function(C){return String(C)});I.unshift("Warning: "+i),Function.prototype.apply.call(console[r],console,I)}}var V=!1,X=!1,E=!1,F=!1,g=!1,M;M=Symbol.for("react.module.reference");function fe(r){return!!(typeof r=="string"||typeof r=="function"||r===t||r===c||g||r===l||r===u||r===x||F||r===k||V||X||E||typeof r=="object"&&r!==null&&(r.$$typeof===P||r.$$typeof===v||r.$$typeof===n||r.$$typeof===d||r.$$typeof===m||r.$$typeof===M||r.getModuleId!==void 0))}function pe(r,i,f){var y=r.displayName;if(y)return y;var R=i.displayName||i.name||"";return R!==""?f+"("+R+")":f}function ae(r){return r.displayName||"Context"}function ee(r){if(r==null)return null;if(typeof r.tag=="number"&&_("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof r=="function")return r.displayName||r.name||null;if(typeof r=="string")return r;switch(r){case t:return"Fragment";case o:return"Portal";case c:return"Profiler";case l:return"StrictMode";case u:return"Suspense";case x:return"SuspenseList"}if(typeof r=="object")switch(r.$$typeof){case d:var i=r;return ae(i)+".Consumer";case n:var f=r;return ae(f._context)+".Provider";case m:return pe(r,r.render,"ForwardRef");case v:var y=r.displayName||null;return y!==null?y:ee(r.type)||"Memo";case P:{var R=r,I=R._payload,C=R._init;try{return ee(C(I))}catch{return null}}}return null}var re=Object.assign,J=0,W,H,Z,ie,h,Re,Se;function Ne(){}Ne.__reactDisabledLog=!0;function Ee(){{if(J===0){W=console.log,H=console.info,Z=console.warn,ie=console.error,h=console.group,Re=console.groupCollapsed,Se=console.groupEnd;var r={configurable:!0,enumerable:!0,value:Ne,writable:!0};Object.defineProperties(console,{info:r,log:r,warn:r,error:r,group:r,groupCollapsed:r,groupEnd:r})}J++}}function K(){{if(J--,J===0){var r={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:re({},r,{value:W}),info:re({},r,{value:H}),warn:re({},r,{value:Z}),error:re({},r,{value:ie}),group:re({},r,{value:h}),groupCollapsed:re({},r,{value:Re}),groupEnd:re({},r,{value:Se})})}J<0&&_("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var U=z.ReactCurrentDispatcher,de;function be(r,i,f){{if(de===void 0)try{throw Error()}catch(R){var y=R.stack.trim().match(/\n( *(at )?)/);de=y&&y[1]||""}return`
18
- `+de+r}}var D=!1,ge;{var ye=typeof WeakMap=="function"?WeakMap:Map;ge=new ye}function he(r,i){if(!r||D)return"";{var f=ge.get(r);if(f!==void 0)return f}var y;D=!0;var R=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var I;I=U.current,U.current=null,Ee();try{if(i){var C=function(){throw Error()};if(Object.defineProperty(C.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(C,[])}catch(Q){y=Q}Reflect.construct(r,[],C)}else{try{C.call()}catch(Q){y=Q}r.call(C.prototype)}}else{try{throw Error()}catch(Q){y=Q}r()}}catch(Q){if(Q&&y&&typeof Q.stack=="string"){for(var j=Q.stack.split(`
19
- `),$=y.stack.split(`
20
- `),L=j.length-1,G=$.length-1;L>=1&&G>=0&&j[L]!==$[G];)G--;for(;L>=1&&G>=0;L--,G--)if(j[L]!==$[G]){if(L!==1||G!==1)do if(L--,G--,G<0||j[L]!==$[G]){var te=`
21
- `+j[L].replace(" at new "," at ");return r.displayName&&te.includes("<anonymous>")&&(te=te.replace("<anonymous>",r.displayName)),typeof r=="function"&&ge.set(r,te),te}while(L>=1&&G>=0);break}}}finally{D=!1,U.current=I,K(),Error.prepareStackTrace=R}var we=r?r.displayName||r.name:"",xe=we?be(we):"";return typeof r=="function"&&ge.set(r,xe),xe}function Te(r,i,f){return he(r,!1)}function ve(r){var i=r.prototype;return!!(i&&i.isReactComponent)}function De(r,i,f){if(r==null)return"";if(typeof r=="function")return he(r,ve(r));if(typeof r=="string")return be(r);switch(r){case u:return be("Suspense");case x:return be("SuspenseList")}if(typeof r=="object")switch(r.$$typeof){case m:return Te(r.render);case v:return De(r.type,i,f);case P:{var y=r,R=y._payload,I=y._init;try{return De(I(R),i,f)}catch{}}}return""}var Pe=Object.prototype.hasOwnProperty,kr={},wr=z.ReactDebugCurrentFrame;function Me(r){if(r){var i=r._owner,f=De(r.type,r._source,i?i.type:null);wr.setExtraStackFrame(f)}else wr.setExtraStackFrame(null)}function Jt(r,i,f,y,R){{var I=Function.call.bind(Pe);for(var C in r)if(I(r,C)){var j=void 0;try{if(typeof r[C]!="function"){var $=Error((y||"React class")+": "+f+" type `"+C+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof r[C]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw $.name="Invariant Violation",$}j=r[C](i,C,y,f,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(L){j=L}j&&!(j instanceof Error)&&(Me(R),_("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",y||"React class",f,C,typeof j),Me(null)),j instanceof Error&&!(j.message in kr)&&(kr[j.message]=!0,Me(R),_("Failed %s type: %s",f,j.message),Me(null))}}}var $t=Array.isArray;function Ye(r){return $t(r)}function Xt(r){{var i=typeof Symbol=="function"&&Symbol.toStringTag,f=i&&r[Symbol.toStringTag]||r.constructor.name||"Object";return f}}function Ht(r){try{return jr(r),!1}catch{return!0}}function jr(r){return""+r}function _r(r){if(Ht(r))return _("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Xt(r)),jr(r)}var Cr=z.ReactCurrentOwner,Zt={key:!0,ref:!0,__self:!0,__source:!0},Rr,Sr;function Qt(r){if(Pe.call(r,"ref")){var i=Object.getOwnPropertyDescriptor(r,"ref").get;if(i&&i.isReactWarning)return!1}return r.ref!==void 0}function qt(r){if(Pe.call(r,"key")){var i=Object.getOwnPropertyDescriptor(r,"key").get;if(i&&i.isReactWarning)return!1}return r.key!==void 0}function eo(r,i){typeof r.ref=="string"&&Cr.current}function ro(r,i){{var f=function(){Rr||(Rr=!0,_("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",i))};f.isReactWarning=!0,Object.defineProperty(r,"key",{get:f,configurable:!0})}}function to(r,i){{var f=function(){Sr||(Sr=!0,_("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",i))};f.isReactWarning=!0,Object.defineProperty(r,"ref",{get:f,configurable:!0})}}var oo=function(r,i,f,y,R,I,C){var j={$$typeof:a,type:r,key:i,ref:f,props:C,_owner:I};return j._store={},Object.defineProperty(j._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(j,"_self",{configurable:!1,enumerable:!1,writable:!1,value:y}),Object.defineProperty(j,"_source",{configurable:!1,enumerable:!1,writable:!1,value:R}),Object.freeze&&(Object.freeze(j.props),Object.freeze(j)),j};function ao(r,i,f,y,R){{var I,C={},j=null,$=null;f!==void 0&&(_r(f),j=""+f),qt(i)&&(_r(i.key),j=""+i.key),Qt(i)&&($=i.ref,eo(i,R));for(I in i)Pe.call(i,I)&&!Zt.hasOwnProperty(I)&&(C[I]=i[I]);if(r&&r.defaultProps){var L=r.defaultProps;for(I in L)C[I]===void 0&&(C[I]=L[I])}if(j||$){var G=typeof r=="function"?r.displayName||r.name||"Unknown":r;j&&ro(C,G),$&&to(C,G)}return oo(r,j,$,R,y,Cr.current,C)}}var Ke=z.ReactCurrentOwner,Nr=z.ReactDebugCurrentFrame;function ke(r){if(r){var i=r._owner,f=De(r.type,r._source,i?i.type:null);Nr.setExtraStackFrame(f)}else Nr.setExtraStackFrame(null)}var Je;Je=!1;function $e(r){return typeof r=="object"&&r!==null&&r.$$typeof===a}function Er(){{if(Ke.current){var r=ee(Ke.current.type);if(r)return`
17
+ */var kr;function ia(){return kr||(kr=1,process.env.NODE_ENV!=="production"&&function(){var e=k,a=Symbol.for("react.element"),t=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),c=Symbol.for("react.context"),m=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),y=Symbol.for("react.memo"),N=Symbol.for("react.lazy"),v=Symbol.for("react.offscreen"),C=Symbol.iterator,S="@@iterator";function T(s){if(s===null||typeof s!="object")return null;var u=C&&s[C]||s[S];return typeof u=="function"?u:null}var z=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function E(s){{for(var u=arguments.length,p=new Array(u>1?u-1:0),_=1;_<u;_++)p[_-1]=arguments[_];X("error",s,p)}}function X(s,u,p){{var _=z.ReactDebugCurrentFrame,F=_.getStackAddendum();F!==""&&(u+="%s",p=p.concat([F]));var M=p.map(function(A){return String(A)});M.unshift("Warning: "+u),Function.prototype.apply.call(console[s],console,M)}}var G=!1,Z=!1,O=!1,I=!1,b=!1,D;D=Symbol.for("react.module.reference");function le(s){return!!(typeof s=="string"||typeof s=="function"||s===o||s===l||b||s===n||s===d||s===f||I||s===v||G||Z||O||typeof s=="object"&&s!==null&&(s.$$typeof===N||s.$$typeof===y||s.$$typeof===i||s.$$typeof===c||s.$$typeof===m||s.$$typeof===D||s.getModuleId!==void 0))}function ie(s,u,p){var _=s.displayName;if(_)return _;var F=u.displayName||u.name||"";return F!==""?p+"("+F+")":p}function ae(s){return s.displayName||"Context"}function $(s){if(s==null)return null;if(typeof s.tag=="number"&&E("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof s=="function")return s.displayName||s.name||null;if(typeof s=="string")return s;switch(s){case o:return"Fragment";case t:return"Portal";case l:return"Profiler";case n:return"StrictMode";case d:return"Suspense";case f:return"SuspenseList"}if(typeof s=="object")switch(s.$$typeof){case c:var u=s;return ae(u)+".Consumer";case i:var p=s;return ae(p._context)+".Provider";case m:return ie(s,s.render,"ForwardRef");case y:var _=s.displayName||null;return _!==null?_:$(s.type)||"Memo";case N:{var F=s,M=F._payload,A=F._init;try{return $(A(M))}catch{return null}}}return null}var L=Object.assign,H=0,V,ee,re,de,w,Te,Ee;function Pe(){}Pe.__reactDisabledLog=!0;function ze(){{if(H===0){V=console.log,ee=console.info,re=console.warn,de=console.error,w=console.group,Te=console.groupCollapsed,Ee=console.groupEnd;var s={configurable:!0,enumerable:!0,value:Pe,writable:!0};Object.defineProperties(console,{info:s,log:s,warn:s,error:s,group:s,groupCollapsed:s,groupEnd:s})}H++}}function Q(){{if(H--,H===0){var s={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:L({},s,{value:V}),info:L({},s,{value:ee}),warn:L({},s,{value:re}),error:L({},s,{value:de}),group:L({},s,{value:w}),groupCollapsed:L({},s,{value:Te}),groupEnd:L({},s,{value:Ee})})}H<0&&E("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var J=z.ReactCurrentDispatcher,me;function pe(s,u,p){{if(me===void 0)try{throw Error()}catch(F){var _=F.stack.trim().match(/\n( *(at )?)/);me=_&&_[1]||""}return`
18
+ `+me+s}}var B=!1,ge;{var ke=typeof WeakMap=="function"?WeakMap:Map;ge=new ke}function he(s,u){if(!s||B)return"";{var p=ge.get(s);if(p!==void 0)return p}var _;B=!0;var F=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var M;M=J.current,J.current=null,ze();try{if(u){var A=function(){throw Error()};if(Object.defineProperty(A.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(A,[])}catch(te){_=te}Reflect.construct(s,[],A)}else{try{A.call()}catch(te){_=te}s.call(A.prototype)}}else{try{throw Error()}catch(te){_=te}s()}}catch(te){if(te&&_&&typeof te.stack=="string"){for(var P=te.stack.split(`
19
+ `),q=_.stack.split(`
20
+ `),U=P.length-1,Y=q.length-1;U>=1&&Y>=0&&P[U]!==q[Y];)Y--;for(;U>=1&&Y>=0;U--,Y--)if(P[U]!==q[Y]){if(U!==1||Y!==1)do if(U--,Y--,Y<0||P[U]!==q[Y]){var se=`
21
+ `+P[U].replace(" at new "," at ");return s.displayName&&se.includes("<anonymous>")&&(se=se.replace("<anonymous>",s.displayName)),typeof s=="function"&&ge.set(s,se),se}while(U>=1&&Y>=0);break}}}finally{B=!1,J.current=M,Q(),Error.prepareStackTrace=F}var je=s?s.displayName||s.name:"",ye=je?pe(je):"";return typeof s=="function"&&ge.set(s,ye),ye}function Ae(s,u,p){return he(s,!1)}function ve(s){var u=s.prototype;return!!(u&&u.isReactComponent)}function Le(s,u,p){if(s==null)return"";if(typeof s=="function")return he(s,ve(s));if(typeof s=="string")return pe(s);switch(s){case d:return pe("Suspense");case f:return pe("SuspenseList")}if(typeof s=="object")switch(s.$$typeof){case m:return Ae(s.render);case y:return Le(s.type,u,p);case N:{var _=s,F=_._payload,M=_._init;try{return Le(M(F),u,p)}catch{}}}return""}var Oe=Object.prototype.hasOwnProperty,at={},st=z.ReactDebugCurrentFrame;function Ve(s){if(s){var u=s._owner,p=Le(s.type,s._source,u?u.type:null);st.setExtraStackFrame(p)}else st.setExtraStackFrame(null)}function Va(s,u,p,_,F){{var M=Function.call.bind(Oe);for(var A in s)if(M(s,A)){var P=void 0;try{if(typeof s[A]!="function"){var q=Error((_||"React class")+": "+p+" type `"+A+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof s[A]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw q.name="Invariant Violation",q}P=s[A](u,A,_,p,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(U){P=U}P&&!(P instanceof Error)&&(Ve(F),E("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",_||"React class",p,A,typeof P),Ve(null)),P instanceof Error&&!(P.message in at)&&(at[P.message]=!0,Ve(F),E("Failed %s type: %s",p,P.message),Ve(null))}}}var Ba=Array.isArray;function Ye(s){return Ba(s)}function Wa(s){{var u=typeof Symbol=="function"&&Symbol.toStringTag,p=u&&s[Symbol.toStringTag]||s.constructor.name||"Object";return p}}function Ga(s){try{return ot(s),!1}catch{return!0}}function ot(s){return""+s}function nt(s){if(Ga(s))return E("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Wa(s)),ot(s)}var lt=z.ReactCurrentOwner,Ua={key:!0,ref:!0,__self:!0,__source:!0},it,dt;function Ha(s){if(Oe.call(s,"ref")){var u=Object.getOwnPropertyDescriptor(s,"ref").get;if(u&&u.isReactWarning)return!1}return s.ref!==void 0}function Ya(s){if(Oe.call(s,"key")){var u=Object.getOwnPropertyDescriptor(s,"key").get;if(u&&u.isReactWarning)return!1}return s.key!==void 0}function Ka(s,u){typeof s.ref=="string"&&lt.current}function Ja(s,u){{var p=function(){it||(it=!0,E("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",u))};p.isReactWarning=!0,Object.defineProperty(s,"key",{get:p,configurable:!0})}}function Xa(s,u){{var p=function(){dt||(dt=!0,E("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",u))};p.isReactWarning=!0,Object.defineProperty(s,"ref",{get:p,configurable:!0})}}var Za=function(s,u,p,_,F,M,A){var P={$$typeof:a,type:s,key:u,ref:p,props:A,_owner:M};return P._store={},Object.defineProperty(P._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(P,"_self",{configurable:!1,enumerable:!1,writable:!1,value:_}),Object.defineProperty(P,"_source",{configurable:!1,enumerable:!1,writable:!1,value:F}),Object.freeze&&(Object.freeze(P.props),Object.freeze(P)),P};function Qa(s,u,p,_,F){{var M,A={},P=null,q=null;p!==void 0&&(nt(p),P=""+p),Ya(u)&&(nt(u.key),P=""+u.key),Ha(u)&&(q=u.ref,Ka(u,F));for(M in u)Oe.call(u,M)&&!Ua.hasOwnProperty(M)&&(A[M]=u[M]);if(s&&s.defaultProps){var U=s.defaultProps;for(M in U)A[M]===void 0&&(A[M]=U[M])}if(P||q){var Y=typeof s=="function"?s.displayName||s.name||"Unknown":s;P&&Ja(A,Y),q&&Xa(A,Y)}return Za(s,P,q,F,_,lt.current,A)}}var Ke=z.ReactCurrentOwner,ct=z.ReactDebugCurrentFrame;function we(s){if(s){var u=s._owner,p=Le(s.type,s._source,u?u.type:null);ct.setExtraStackFrame(p)}else ct.setExtraStackFrame(null)}var Je;Je=!1;function Xe(s){return typeof s=="object"&&s!==null&&s.$$typeof===a}function ut(){{if(Ke.current){var s=$(Ke.current.type);if(s)return`
22
22
 
23
- Check the render method of \``+r+"`."}return""}}function so(r){return""}var Tr={};function no(r){{var i=Er();if(!i){var f=typeof r=="string"?r:r.displayName||r.name;f&&(i=`
23
+ Check the render method of \``+s+"`."}return""}}function $a(s){return""}var mt={};function qa(s){{var u=ut();if(!u){var p=typeof s=="string"?s:s.displayName||s.name;p&&(u=`
24
24
 
25
- Check the top-level render call using <`+f+">.")}return i}}function Pr(r,i){{if(!r._store||r._store.validated||r.key!=null)return;r._store.validated=!0;var f=no(i);if(Tr[f])return;Tr[f]=!0;var y="";r&&r._owner&&r._owner!==Ke.current&&(y=" It was passed a child from "+ee(r._owner.type)+"."),ke(r),_('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',f,y),ke(null)}}function Ar(r,i){{if(typeof r!="object")return;if(Ye(r))for(var f=0;f<r.length;f++){var y=r[f];$e(y)&&Pr(y,i)}else if($e(r))r._store&&(r._store.validated=!0);else if(r){var R=O(r);if(typeof R=="function"&&R!==r.entries)for(var I=R.call(r),C;!(C=I.next()).done;)$e(C.value)&&Pr(C.value,i)}}}function io(r){{var i=r.type;if(i==null||typeof i=="string")return;var f;if(typeof i=="function")f=i.propTypes;else if(typeof i=="object"&&(i.$$typeof===m||i.$$typeof===v))f=i.propTypes;else return;if(f){var y=ee(i);Jt(f,r.props,"prop",y,r)}else if(i.PropTypes!==void 0&&!Je){Je=!0;var R=ee(i);_("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",R||"Unknown")}typeof i.getDefaultProps=="function"&&!i.getDefaultProps.isReactClassApproved&&_("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function lo(r){{for(var i=Object.keys(r.props),f=0;f<i.length;f++){var y=i[f];if(y!=="children"&&y!=="key"){ke(r),_("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",y),ke(null);break}}r.ref!==null&&(ke(r),_("Invalid attribute `ref` supplied to `React.Fragment`."),ke(null))}}var Or={};function zr(r,i,f,y,R,I){{var C=fe(r);if(!C){var j="";(r===void 0||typeof r=="object"&&r!==null&&Object.keys(r).length===0)&&(j+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var $=so();$?j+=$:j+=Er();var L;r===null?L="null":Ye(r)?L="array":r!==void 0&&r.$$typeof===a?(L="<"+(ee(r.type)||"Unknown")+" />",j=" Did you accidentally export a JSX literal instead of a component?"):L=typeof r,_("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",L,j)}var G=ao(r,i,f,R,I);if(G==null)return G;if(C){var te=i.children;if(te!==void 0)if(y)if(Ye(te)){for(var we=0;we<te.length;we++)Ar(te[we],r);Object.freeze&&Object.freeze(te)}else _("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else Ar(te,r)}if(Pe.call(i,"key")){var xe=ee(r),Q=Object.keys(i).filter(function(bo){return bo!=="key"}),Xe=Q.length>0?"{key: someKey, "+Q.join(": ..., ")+": ...}":"{key: someKey}";if(!Or[xe+Xe]){var po=Q.length>0?"{"+Q.join(": ..., ")+": ...}":"{}";_(`A props object containing a "key" prop is being spread into JSX:
25
+ Check the top-level render call using <`+p+">.")}return u}}function ft(s,u){{if(!s._store||s._store.validated||s.key!=null)return;s._store.validated=!0;var p=qa(u);if(mt[p])return;mt[p]=!0;var _="";s&&s._owner&&s._owner!==Ke.current&&(_=" It was passed a child from "+$(s._owner.type)+"."),we(s),E('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',p,_),we(null)}}function xt(s,u){{if(typeof s!="object")return;if(Ye(s))for(var p=0;p<s.length;p++){var _=s[p];Xe(_)&&ft(_,u)}else if(Xe(s))s._store&&(s._store.validated=!0);else if(s){var F=T(s);if(typeof F=="function"&&F!==s.entries)for(var M=F.call(s),A;!(A=M.next()).done;)Xe(A.value)&&ft(A.value,u)}}}function es(s){{var u=s.type;if(u==null||typeof u=="string")return;var p;if(typeof u=="function")p=u.propTypes;else if(typeof u=="object"&&(u.$$typeof===m||u.$$typeof===y))p=u.propTypes;else return;if(p){var _=$(u);Va(p,s.props,"prop",_,s)}else if(u.PropTypes!==void 0&&!Je){Je=!0;var F=$(u);E("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",F||"Unknown")}typeof u.getDefaultProps=="function"&&!u.getDefaultProps.isReactClassApproved&&E("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function rs(s){{for(var u=Object.keys(s.props),p=0;p<u.length;p++){var _=u[p];if(_!=="children"&&_!=="key"){we(s),E("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",_),we(null);break}}s.ref!==null&&(we(s),E("Invalid attribute `ref` supplied to `React.Fragment`."),we(null))}}var bt={};function pt(s,u,p,_,F,M){{var A=le(s);if(!A){var P="";(s===void 0||typeof s=="object"&&s!==null&&Object.keys(s).length===0)&&(P+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var q=$a();q?P+=q:P+=ut();var U;s===null?U="null":Ye(s)?U="array":s!==void 0&&s.$$typeof===a?(U="<"+($(s.type)||"Unknown")+" />",P=" Did you accidentally export a JSX literal instead of a component?"):U=typeof s,E("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",U,P)}var Y=Qa(s,u,p,F,M);if(Y==null)return Y;if(A){var se=u.children;if(se!==void 0)if(_)if(Ye(se)){for(var je=0;je<se.length;je++)xt(se[je],s);Object.freeze&&Object.freeze(se)}else E("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else xt(se,s)}if(Oe.call(u,"key")){var ye=$(s),te=Object.keys(u).filter(function(ls){return ls!=="key"}),Ze=te.length>0?"{key: someKey, "+te.join(": ..., ")+": ...}":"{key: someKey}";if(!bt[ye+Ze]){var ns=te.length>0?"{"+te.join(": ..., ")+": ...}":"{}";E(`A props object containing a "key" prop is being spread into JSX:
26
26
  let props = %s;
27
27
  <%s {...props} />
28
28
  React keys must be passed directly to JSX without using spread:
29
29
  let props = %s;
30
- <%s key={someKey} {...props} />`,Xe,xe,po,xe),Or[xe+Xe]=!0}}return r===t?lo(G):io(G),G}}function co(r,i,f){return zr(r,i,f,!0)}function uo(r,i,f){return zr(r,i,f,!1)}var mo=uo,fo=co;Ce.Fragment=t,Ce.jsx=mo,Ce.jsxs=fo}()),Ce}process.env.NODE_ENV==="production"?Ve.exports=Rt():Ve.exports=St();var s=Ve.exports;/**
30
+ <%s key={someKey} {...props} />`,Ze,ye,ns,ye),bt[ye+Ze]=!0}}return s===o?rs(Y):es(Y),Y}}function ts(s,u,p){return pt(s,u,p,!0)}function as(s,u,p){return pt(s,u,p,!1)}var ss=as,os=ts;Ce.Fragment=o,Ce.jsx=ss,Ce.jsxs=os}()),Ce}process.env.NODE_ENV==="production"?He.exports=la():He.exports=ia();var r=He.exports;const vr=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,wr=$e,jr=(e,a)=>t=>{var o;if((a==null?void 0:a.variants)==null)return wr(e,t==null?void 0:t.class,t==null?void 0:t.className);const{variants:n,defaultVariants:l}=a,i=Object.keys(n).map(d=>{const f=t==null?void 0:t[d],y=l==null?void 0:l[d];if(f===null)return null;const N=vr(f)||vr(y);return n[d][N]}),c=t&&Object.entries(t).reduce((d,f)=>{let[y,N]=f;return N===void 0||(d[y]=N),d},{}),m=a==null||(o=a.compoundVariants)===null||o===void 0?void 0:o.reduce((d,f)=>{let{class:y,className:N,...v}=f;return Object.entries(v).every(C=>{let[S,T]=C;return Array.isArray(T)?T.includes({...l,...c}[S]):{...l,...c}[S]===T})?[...d,y,N]:d},[]);return wr(e,i,m,t==null?void 0:t.class,t==null?void 0:t.className)};/**
31
31
  * @license lucide-react v0.475.0 - ISC
32
32
  *
33
33
  * This source code is licensed under the ISC license.
34
34
  * See the LICENSE file in the root directory of this source tree.
35
- */const Nt=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),yr=(...e)=>e.filter((a,o,t)=>!!a&&a.trim()!==""&&t.indexOf(a)===o).join(" ").trim();/**
35
+ */const da=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Nr=(...e)=>e.filter((a,t,o)=>!!a&&a.trim()!==""&&o.indexOf(a)===t).join(" ").trim();/**
36
36
  * @license lucide-react v0.475.0 - ISC
37
37
  *
38
38
  * This source code is licensed under the ISC license.
39
39
  * See the LICENSE file in the root directory of this source tree.
40
- */var Et={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
40
+ */var ca={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
41
41
  * @license lucide-react v0.475.0 - ISC
42
42
  *
43
43
  * This source code is licensed under the ISC license.
44
44
  * See the LICENSE file in the root directory of this source tree.
45
- */const Tt=S.forwardRef(({color:e="currentColor",size:a=24,strokeWidth:o=2,absoluteStrokeWidth:t,className:l="",children:c,iconNode:n,...d},m)=>S.createElement("svg",{ref:m,...Et,width:a,height:a,stroke:e,strokeWidth:t?Number(o)*24/Number(a):o,className:yr("lucide",l),...d},[...n.map(([u,x])=>S.createElement(u,x)),...Array.isArray(c)?c:[c]]));/**
45
+ */const ua=k.forwardRef(({color:e="currentColor",size:a=24,strokeWidth:t=2,absoluteStrokeWidth:o,className:n="",children:l,iconNode:i,...c},m)=>k.createElement("svg",{ref:m,...ca,width:a,height:a,stroke:e,strokeWidth:o?Number(t)*24/Number(a):t,className:Nr("lucide",n),...c},[...i.map(([d,f])=>k.createElement(d,f)),...Array.isArray(l)?l:[l]]));/**
46
46
  * @license lucide-react v0.475.0 - ISC
47
47
  *
48
48
  * This source code is licensed under the ISC license.
49
49
  * See the LICENSE file in the root directory of this source tree.
50
- */const ne=(e,a)=>{const o=S.forwardRef(({className:t,...l},c)=>S.createElement(Tt,{ref:c,iconNode:a,className:yr(`lucide-${Nt(e)}`,t),...l}));return o.displayName=`${e}`,o};/**
50
+ */const W=(e,a)=>{const t=k.forwardRef(({className:o,...n},l)=>k.createElement(ua,{ref:l,iconNode:a,className:Nr(`lucide-${da(e)}`,o),...n}));return t.displayName=`${e}`,t};/**
51
51
  * @license lucide-react v0.475.0 - ISC
52
52
  *
53
53
  * This source code is licensed under the ISC license.
54
54
  * See the LICENSE file in the root directory of this source tree.
55
- */const Pt=ne("Calendar",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]]);/**
55
+ */const ma=W("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);/**
56
56
  * @license lucide-react v0.475.0 - ISC
57
57
  *
58
58
  * This source code is licensed under the ISC license.
59
59
  * See the LICENSE file in the root directory of this source tree.
60
- */const At=ne("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);/**
60
+ */const _r=W("Calendar",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]]);/**
61
61
  * @license lucide-react v0.475.0 - ISC
62
62
  *
63
63
  * This source code is licensed under the ISC license.
64
64
  * See the LICENSE file in the root directory of this source tree.
65
- */const Ot=ne("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/**
65
+ */const Cr=W("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);/**
66
66
  * @license lucide-react v0.475.0 - ISC
67
67
  *
68
68
  * This source code is licensed under the ISC license.
69
69
  * See the LICENSE file in the root directory of this source tree.
70
- */const zt=ne("Download",[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"7 10 12 15 17 10",key:"2ggqvy"}],["line",{x1:"12",x2:"12",y1:"15",y2:"3",key:"1vk2je"}]]);/**
70
+ */const Rr=W("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/**
71
71
  * @license lucide-react v0.475.0 - ISC
72
72
  *
73
73
  * This source code is licensed under the ISC license.
74
74
  * See the LICENSE file in the root directory of this source tree.
75
- */const Ie=ne("Heart",[["path",{d:"M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z",key:"c3ymky"}]]);/**
75
+ */const fa=W("CircleAlert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]);/**
76
76
  * @license lucide-react v0.475.0 - ISC
77
77
  *
78
78
  * This source code is licensed under the ISC license.
79
79
  * See the LICENSE file in the root directory of this source tree.
80
- */const Ue=ne("LoaderCircle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);/**
80
+ */const xa=W("CircleCheck",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/**
81
81
  * @license lucide-react v0.475.0 - ISC
82
82
  *
83
83
  * This source code is licensed under the ISC license.
84
84
  * See the LICENSE file in the root directory of this source tree.
85
- */const It=ne("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);/**
85
+ */const ba=W("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]]);/**
86
86
  * @license lucide-react v0.475.0 - ISC
87
87
  *
88
88
  * This source code is licensed under the ISC license.
89
89
  * See the LICENSE file in the root directory of this source tree.
90
- */const Ft=ne("TriangleAlert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);/**
90
+ */const Sr=W("Download",[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"7 10 12 15 17 10",key:"2ggqvy"}],["line",{x1:"12",x2:"12",y1:"15",y2:"3",key:"1vk2je"}]]);/**
91
91
  * @license lucide-react v0.475.0 - ISC
92
92
  *
93
93
  * This source code is licensed under the ISC license.
94
94
  * See the LICENSE file in the root directory of this source tree.
95
- */const Fe=ne("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),Dt=({variant:e="spinner",size:a="md",text:o,fullScreen:t=!1})=>{const l={sm:"w-6 h-6",md:"w-10 h-10",lg:"w-16 h-16"},c={sm:"text-xs",md:"text-sm font-medium",lg:"text-base font-semibold"};if(e==="skeleton")return s.jsxs("div",{className:N("w-full bg-white dark:bg-dark-surface border border-gray-150 dark:border-dark-border rounded-xl overflow-hidden shadow-sm animate-pulse",a==="sm"?"max-w-xs":a==="md"?"max-w-sm":"max-w-md"),children:[s.jsx("div",{className:"aspect-video bg-gray-200 dark:bg-dark-surface-light w-full"}),s.jsxs("div",{className:"p-4 space-y-3",children:[s.jsx("div",{className:"h-4 bg-gray-200 dark:bg-dark-surface-light rounded w-3/4"}),s.jsx("div",{className:"h-3 bg-gray-200 dark:bg-dark-surface-light rounded w-1/2"}),s.jsx("div",{className:"h-3 bg-gray-200 dark:bg-dark-surface-light rounded w-5/6"})]})]});const n=s.jsxs("div",{className:"flex flex-col items-center justify-center space-y-3 p-4",children:[s.jsx(Ue,{className:N("text-primary-500 animate-spin",l[a])}),o&&s.jsx("p",{className:N("text-gray-500 dark:text-dark-text-muted select-none",c[a]),children:o})]});return t?s.jsx("div",{className:"fixed inset-0 z-50 flex items-center justify-center bg-white/80 dark:bg-dark-bg/80 backdrop-blur-sm",children:n}):s.jsx("div",{className:"flex items-center justify-center w-full",children:n})},Mt=({icon:e,variant:a="primary",size:o="md",rounded:t=!1,ariaLabel:l,disabled:c=!1,loading:n=!1,className:d="",...m})=>{const u="relative inline-flex items-center justify-center gap-2 border-none font-semibold cursor-pointer transition-all select-none -webkit-tap-highlight-color-transparent outline-none focus-visible:ring-3 focus-visible:ring-primary-300 focus-visible:ring-offset-2 disabled:opacity-50 disabled:cursor-not-allowed disabled:pointer-events-none active:scale-95 duration-150",x={primary:"bg-gradient-to-br from-primary-500 to-primary-600 text-white shadow-md hover:from-primary-600 hover:to-primary-700 hover:shadow-lg hover:-translate-y-0.5",secondary:"bg-gray-100 dark:bg-dark-surface text-gray-700 dark:text-dark-text border border-gray-300 dark:border-dark-border hover:bg-gray-200 dark:hover:bg-dark-surface-light hover:-translate-y-0.5",ghost:"bg-transparent text-gray-600 dark:text-dark-text-muted hover:bg-gray-100 dark:hover:bg-dark-surface hover:text-gray-800 dark:hover:text-dark-text",danger:"bg-gradient-to-br from-red-500 to-red-600 text-white shadow-md hover:from-red-600 hover:to-red-700 hover:shadow-lg hover:-translate-y-0.5"},v=t?{sm:"w-8 h-8 rounded-full p-0 text-base",md:"w-10 h-10 rounded-full p-0 text-lg sm:w-11 sm:h-11",lg:"w-12 h-12 rounded-full p-0 text-xl sm:w-13 sm:h-13"}:{sm:"px-3 py-1.5 text-sm rounded-md min-h-[32px]",md:"px-4 py-2 text-base rounded-md min-h-[40px] sm:min-h-[44px]",lg:"px-6 py-3 text-lg rounded-lg min-h-[48px] sm:min-h-[52px]"};return s.jsx("button",{className:N(u,x[a],v[o],n&&"pointer-events-none",d),"aria-label":l,disabled:c||n,...m,children:n?s.jsx(Ue,{className:"w-4 h-4 animate-spin",role:"status","aria-hidden":"true"}):s.jsx("span",{className:"flex items-center justify-center leading-none",children:e})})};function vr({isOpen:e,onClose:a,title:o,children:t,footer:l,size:c="md",closeOnOutsideClick:n=!1}){if(S.useEffect(()=>(e?document.body.style.overflow="hidden":document.body.style.overflow="unset",()=>{document.body.style.overflow="unset"}),[e]),!e)return null;const d={sm:"max-w-md",md:"max-w-lg",lg:"max-w-2xl",xl:"max-w-4xl"};return s.jsxs("div",{className:"fixed inset-0 z-[100] flex items-center justify-center p-4 bg-black/50 backdrop-blur-sm animate-[fadeIn_0.2s_ease-out]",children:[s.jsx("div",{className:"fixed inset-0",onClick:n?a:void 0}),s.jsxs("div",{className:N("relative w-full bg-white dark:bg-dark-surface border border-gray-150 dark:border-dark-border rounded-xl shadow-xl overflow-hidden flex flex-col max-h-[90vh] z-10 animate-[slideUp_0.2s_ease-out]",d[c]),children:[s.jsxs("div",{className:"flex justify-between items-center px-6 py-4 border-b border-gray-100 dark:border-dark-border",children:[s.jsx("h2",{className:"text-lg font-bold text-gray-900 dark:text-dark-text",children:o}),s.jsx("button",{className:"text-gray-400 hover:text-gray-600 dark:hover:text-gray-200 transition-colors p-1.5 hover:bg-gray-100 dark:hover:bg-dark-surface-light rounded-lg cursor-pointer",onClick:a,children:s.jsx(Fe,{className:"w-5 h-5"})})]}),s.jsx("div",{className:"p-6 overflow-y-auto flex-1 text-sm text-gray-700 dark:text-dark-text-muted",children:t}),l&&s.jsx("div",{className:"flex justify-end items-center gap-3 px-6 py-4 border-t border-gray-100 dark:border-dark-border bg-gray-50/50 dark:bg-dark-surface/50",children:l})]})]})}function Lt({isOpen:e,onClose:a,onConfirm:o,title:t,message:l,confirmText:c="Confirmar",cancelText:n="Cancelar",isLoading:d=!1}){return s.jsx(vr,{isOpen:e,onClose:a,title:t,size:"sm",footer:s.jsxs(s.Fragment,{children:[s.jsx("button",{className:"px-4 py-2 text-sm font-semibold text-gray-700 dark:text-dark-text bg-gray-100 hover:bg-gray-200 dark:bg-dark-surface-light dark:hover:bg-gray-700 rounded-lg transition-all disabled:opacity-50 cursor-pointer",onClick:a,disabled:d,children:n}),s.jsx("button",{className:"px-4 py-2 text-sm font-semibold text-white bg-red-600 hover:bg-red-700 active:scale-[0.98] rounded-lg shadow-sm transition-all disabled:opacity-50 cursor-pointer",onClick:o,disabled:d,children:d?"Aguarde...":c})]}),children:s.jsxs("div",{className:"flex gap-4 items-start",children:[s.jsx("div",{className:"p-2.5 bg-red-50 dark:bg-red-950/20 text-red-600 dark:text-red-400 rounded-xl",children:s.jsx(Ft,{className:"w-6 h-6 flex-shrink-0"})}),s.jsx("div",{children:s.jsx("p",{className:"text-gray-600 dark:text-dark-text-muted mt-1 leading-relaxed",children:l})})]})})}const Wt=({icon:e,title:a,description:o,action:t,variant:l="default"})=>{const c={default:"text-primary-500 bg-primary-50 dark:bg-primary-950/20",error:"text-red-500 bg-red-50 dark:bg-red-950/20",search:"text-secondary-500 bg-secondary-50 dark:bg-secondary-950/20"};return s.jsxs("div",{className:N("flex flex-col items-center justify-center p-8 sm:p-12 text-center min-h-[300px] sm:min-h-[400px] animate-fadeIn group"),children:[e&&s.jsx("div",{className:N("flex items-center justify-center w-16 h-16 sm:w-20 sm:h-20 mb-6 text-4xl sm:text-[48px] rounded-full transition-all duration-200 group-hover:scale-105 group-hover:bg-opacity-80",c[l]),children:e}),s.jsxs("div",{className:"max-w-[500px] mb-6 space-y-2",children:[s.jsx("h3",{className:"text-xl sm:text-2xl font-bold font-heading text-gray-900 dark:text-dark-text leading-tight",children:a}),o&&s.jsx("p",{className:"text-sm sm:text-base text-gray-600 dark:text-dark-text-muted leading-relaxed",children:o})]}),t&&s.jsx("button",{className:"inline-flex items-center justify-center px-6 py-3 font-semibold text-white bg-gradient-to-br from-primary-500 to-primary-600 rounded-lg shadow-md transition-all duration-200 cursor-pointer hover:from-primary-600 hover:to-primary-700 hover:shadow-lg hover:-translate-y-0.5 active:scale-95 active:translate-y-0 min-h-[44px]",onClick:t.onClick,children:t.label})]})},Gt=({onSearch:e,debounceMs:a=300,placeholder:o="Pesquisar vídeos...",initialValue:t="",showClear:l=!0,autoFocus:c=!1,size:n="md",className:d="",...m})=>{const[u,x]=S.useState(t),[v,P]=S.useState(!1),k=S.useRef(null),T=S.useRef();S.useEffect(()=>{c&&k.current&&k.current.focus()},[c]),S.useEffect(()=>(T.current&&clearTimeout(T.current),T.current=setTimeout(()=>{e(u)},a),()=>{T.current&&clearTimeout(T.current)}),[u,e,a]);const A=V=>{x(V.target.value)},O=()=>{var V;x(""),(V=k.current)==null||V.focus()},z=V=>{V.key==="Escape"&&O()},_={sm:"h-9 text-sm rounded-lg",md:"h-11 sm:h-12 text-base rounded-xl",lg:"h-13 sm:h-14 text-lg rounded-2xl"},q={sm:"w-4 h-4 ml-3",md:"w-5 h-5 ml-4",lg:"w-6 h-6 ml-5"};return s.jsxs("div",{className:N("relative flex items-center w-full max-w-[600px] bg-white dark:bg-dark-surface border border-gray-300 dark:border-dark-border shadow-sm transition-all duration-150 overflow-hidden",v?"border-primary-500 ring-3 ring-primary-100 dark:ring-primary-900/30":"hover:border-gray-400 dark:hover:border-dark-border/80 hover:shadow",_[n],d),children:[s.jsx(It,{className:N("text-gray-400 dark:text-dark-text-muted flex-shrink-0",q[n]),"aria-hidden":"true"}),s.jsx("input",{ref:k,type:"text",className:"flex-1 h-full px-3 py-2 border-none bg-transparent font-sans text-gray-900 dark:text-dark-text outline-none placeholder-gray-400 dark:placeholder-dark-text-muted text-inherit",value:u,onChange:A,onKeyDown:z,onFocus:()=>P(!0),onBlur:()=>P(!1),placeholder:o,"aria-label":"Campo de busca",...m}),l&&u&&s.jsx("button",{type:"button",className:N("flex items-center justify-center mr-3 bg-gray-150 dark:bg-dark-surface-light border-none rounded-full cursor-pointer text-gray-500 dark:text-dark-text-muted transition-all duration-150 flex-shrink-0 hover:bg-gray-200 dark:hover:bg-dark-surface-light/80 hover:scale-105 active:scale-95",n==="sm"?"w-5 h-5 p-0.5":n==="md"?"w-6 h-6 p-1":"w-7 h-7 p-1.5"),onClick:O,"aria-label":"Limpar busca",children:s.jsx(Fe,{className:"w-full h-full"})})]})},Bt=({onDateSelect:e,label:a="Selecione uma data",maxDate:o,minDate:t,initialDate:l})=>{const[c,n]=S.useState(l||"");S.useEffect(()=>{n(l||"")},[l]);const d=m=>{const u=m.target.value;n(u),e(u)};return s.jsxs("div",{className:"flex flex-col gap-2.5 w-full max-w-[400px] md:max-w-full",children:[s.jsx("label",{htmlFor:"date-picker",className:"font-sans text-xs font-semibold text-gray-700 dark:text-dark-text-muted uppercase tracking-wider",children:a}),s.jsx("input",{id:"date-picker",type:"date",value:c,onChange:d,max:o,min:t,className:N("w-full px-4 py-3 font-sans text-base font-medium border-2 border-gray-300 dark:border-dark-border rounded-xl bg-white dark:bg-dark-surface text-gray-900 dark:text-dark-text shadow-sm cursor-pointer outline-none transition-all duration-200","hover:border-primary-400 hover:shadow-md focus:border-primary-500 focus:ring-3 focus:ring-primary-100 dark:focus:ring-primary-900/30","webkit-calendar-picker-indicator:cursor-pointer webkit-calendar-picker-indicator:p-1 webkit-calendar-picker-indicator:rounded-md webkit-calendar-picker-indicator:transition-colors hover:webkit-calendar-picker-indicator:bg-primary-50")})]})},Vt=({onDateChange:e,initialStartDate:a,initialEndDate:o,allowRange:t=!0,placeholder:l="Selecionar data"})=>{const[c,n]=S.useState(a||""),[d,m]=S.useState(o||""),[u,x]=S.useState(null),[v,P]=S.useState(!1),k=()=>new Date().toISOString().split("T")[0],T=()=>{const E=new Date;return E.setDate(E.getDate()-1),E.toISOString().split("T")[0]},A=E=>{const F=new Date;return F.setDate(F.getDate()-E),F.toISOString().split("T")[0]},O=E=>{switch(x(E),E){case"today":n(k()),m(k()),e(k(),k());break;case"yesterday":n(T()),m(T()),e(T(),T());break;case"last7days":n(A(7)),m(k()),e(A(7),k());break;case"last30days":n(A(30)),m(k()),e(A(30),k());break;case"custom":x("custom");break}E!=="custom"&&P(!1)},z=E=>{const F=E.target.value;n(F),x("custom"),e(F,t?d:null)},_=E=>{const F=E.target.value;m(F),x("custom"),e(c,F)},q=()=>{n(""),m(""),x(null),e(null,null)},V=()=>c?u&&u!=="custom"?{today:"Hoje",yesterday:"Ontem",last7days:"Últimos 7 dias",last30days:"Últimos 30 dias",custom:"Personalizado"}[u]:t&&d&&c!==d?`${X(c)} - ${X(d)}`:X(c):l,X=E=>{const[F,g,M]=E.split("-");return`${M}/${g}/${F}`};return s.jsxs("div",{className:"relative inline-block w-full sm:w-auto",children:[s.jsxs("button",{type:"button",className:N("w-full sm:w-auto min-w-[200px] h-11 sm:h-12 px-4 flex items-center gap-2.5 bg-white dark:bg-dark-surface border-2 border-gray-300 dark:border-dark-border rounded-xl font-sans font-medium text-base text-gray-700 dark:text-dark-text cursor-pointer transition-all duration-200 outline-none select-none hover:border-gray-400 dark:hover:border-dark-border/80 hover:shadow-sm focus-visible:ring-3 focus-visible:ring-primary-300",v&&"border-primary-500 ring-3 ring-primary-100 dark:ring-primary-900/30"),onClick:()=>P(!v),"aria-label":"Selecionar data","aria-expanded":v,children:[s.jsx(Pt,{className:"w-5 h-5 text-gray-400 dark:text-dark-text-muted flex-shrink-0"}),s.jsx("span",{className:"flex-1 text-left whitespace-nowrap overflow-hidden text-ellipsis",children:V()}),c||d?s.jsx("button",{type:"button",className:"flex items-center justify-center w-5 h-5 bg-gray-200 dark:bg-dark-surface-light border-none rounded-full text-[10px] text-gray-600 dark:text-dark-text-muted transition-all duration-150 flex-shrink-0 hover:bg-gray-300 dark:hover:bg-dark-surface hover:scale-105 active:scale-95",onClick:E=>{E.stopPropagation(),q()},"aria-label":"Limpar seleção",children:s.jsx(Fe,{className:"w-3 h-3"})}):s.jsx(Ot,{className:"w-4 h-4 text-gray-400 dark:text-dark-text-muted flex-shrink-0"})]}),v&&s.jsxs(s.Fragment,{children:[s.jsx("div",{className:"fixed inset-0 z-40 sm:hidden",onClick:()=>P(!1)}),s.jsxs("div",{className:N("absolute top-[calc(100%+8px)] left-0 sm:left-auto z-50 min-w-[280px] bg-white dark:bg-dark-surface border border-gray-300 dark:border-dark-border rounded-2xl shadow-xl animate-slideUp sm:animate-slideDown","w-[calc(100vw-32px)] max-w-[340px] left-1/2 -translate-x-1/2 sm:left-0 sm:translate-x-0"),children:[s.jsxs("div",{className:"flex flex-col gap-1 p-3",children:[s.jsx("button",{type:"button",className:N("w-full px-3 py-2 text-left font-sans text-sm font-medium text-gray-700 dark:text-dark-text rounded-xl border-none bg-transparent cursor-pointer transition-all hover:bg-gray-150 dark:hover:bg-dark-surface-light min-h-[40px]",u==="today"&&"bg-primary-50 dark:bg-primary-950/20 text-primary-700 dark:text-primary-400 font-semibold"),onClick:()=>O("today"),children:"Hoje"}),s.jsx("button",{type:"button",className:N("w-full px-3 py-2 text-left font-sans text-sm font-medium text-gray-700 dark:text-dark-text rounded-xl border-none bg-transparent cursor-pointer transition-all hover:bg-gray-150 dark:hover:bg-dark-surface-light min-h-[40px]",u==="yesterday"&&"bg-primary-50 dark:bg-primary-950/20 text-primary-700 dark:text-primary-400 font-semibold"),onClick:()=>O("yesterday"),children:"Ontem"}),s.jsx("button",{type:"button",className:N("w-full px-3 py-2 text-left font-sans text-sm font-medium text-gray-700 dark:text-dark-text rounded-xl border-none bg-transparent cursor-pointer transition-all hover:bg-gray-150 dark:hover:bg-dark-surface-light min-h-[40px]",u==="last7days"&&"bg-primary-50 dark:bg-primary-950/20 text-primary-700 dark:text-primary-400 font-semibold"),onClick:()=>O("last7days"),children:"Últimos 7 dias"}),s.jsx("button",{type:"button",className:N("w-full px-3 py-2 text-left font-sans text-sm font-medium text-gray-700 dark:text-dark-text rounded-xl border-none bg-transparent cursor-pointer transition-all hover:bg-gray-150 dark:hover:bg-dark-surface-light min-h-[40px]",u==="last30days"&&"bg-primary-50 dark:bg-primary-950/20 text-primary-700 dark:text-primary-400 font-semibold"),onClick:()=>O("last30days"),children:"Últimos 30 dias"})]}),s.jsx("div",{className:"h-[1px] mx-3 my-1 bg-gray-200 dark:bg-dark-border"}),s.jsxs("div",{className:"flex flex-col gap-3.5 p-4 bg-gray-50/50 dark:bg-dark-bg/20 rounded-b-2xl",children:[s.jsxs("label",{className:"flex flex-col gap-1.5 font-sans text-xs font-semibold text-gray-500 dark:text-dark-text-muted uppercase tracking-wider",children:["Data inicial",s.jsx("input",{type:"date",className:"w-full px-3 py-2 bg-white dark:bg-dark-surface border border-gray-300 dark:border-dark-border rounded-lg font-sans text-sm text-gray-900 dark:text-dark-text cursor-pointer outline-none transition-colors hover:border-gray-400 focus:border-primary-500",value:c,onChange:z,max:k()})]}),t&&s.jsxs("label",{className:"flex flex-col gap-1.5 font-sans text-xs font-semibold text-gray-500 dark:text-dark-text-muted uppercase tracking-wider",children:["Data final",s.jsx("input",{type:"date",className:"w-full px-3 py-2 bg-white dark:bg-dark-surface border border-gray-300 dark:border-dark-border rounded-lg font-sans text-sm text-gray-900 dark:text-dark-text cursor-pointer outline-none transition-colors hover:border-gray-400 focus:border-primary-500",value:d,onChange:_,min:c,max:k()})]})]})]})]})]})},Ut=({initialLikes:e=0,onLike:a,onLikeChange:o,size:t="md",iconOnly:l=!1,disabled:c=!1,useLucide:n=!0})=>{const[d,m]=S.useState(e),[u,x]=S.useState(!1),v=async()=>{if(c||u)return;const O=d+1;x(!0),m(O),o==null||o(O);try{const z=await a();m(z),z!==O&&(o==null||o(z))}catch{m(d),o==null||o(d)}finally{setTimeout(()=>x(!1),600)}},P={sm:"px-2 py-1 text-sm min-h-[32px]",md:"px-3 py-2 text-base min-h-[40px] sm:min-h-[44px]",lg:"px-4 py-3 text-lg min-h-[48px] sm:min-h-[52px]"},k={sm:"text-base",md:"text-lg",lg:"text-xl"},T={sm:16,md:20,lg:24},A={sm:"min-w-[16px] h-4 text-[10px] px-1",md:"min-w-[20px] h-5 text-xs px-1.5",lg:"min-w-[22px] h-[22px] text-xs px-2"};return s.jsxs("button",{className:N("relative inline-flex items-center justify-center gap-2 font-semibold cursor-pointer transition-all duration-200 select-none rounded-lg border focus-visible:ring-3 focus-visible:ring-primary-300 focus-visible:ring-offset-2 disabled:opacity-50 disabled:cursor-not-allowed","bg-primary-50 border-primary-300 text-primary-700 hover:bg-primary-100 hover:border-primary-400 active:scale-95",P[t],u&&"animate-heartBeat"),onClick:v,disabled:c,"aria-label":"Curtir vídeo","aria-pressed":!0,children:[s.jsxs("span",{className:"relative flex items-center justify-center leading-none flex-shrink-0",children:[n?s.jsx(Ie,{className:N("fill-rose-500 text-rose-500 transition-transform duration-150",u&&"animate-iconPop"),size:T[t]}):s.jsx("span",{className:N("flex items-center justify-center transition-transform duration-150",u&&"animate-iconPop"),children:"❤️"}),u&&s.jsx(s.Fragment,{children:n?s.jsxs(s.Fragment,{children:[s.jsx(Ie,{className:"absolute pointer-events-none opacity-0 animate-heartFloat1 fill-rose-500 text-rose-500",size:T[t]-4}),s.jsx(Ie,{className:"absolute pointer-events-none opacity-0 animate-heartFloat2 fill-rose-500 text-rose-500",size:T[t]-4}),s.jsx(Ie,{className:"absolute pointer-events-none opacity-0 animate-heartFloat3 fill-rose-500 text-rose-500",size:T[t]-4})]}):s.jsxs(s.Fragment,{children:[s.jsx("span",{className:N("absolute text-sm pointer-events-none opacity-0 animate-heartFloat1",k[t]),children:"❤️"}),s.jsx("span",{className:N("absolute text-sm pointer-events-none opacity-0 animate-heartFloat2",k[t]),children:"❤️"}),s.jsx("span",{className:N("absolute text-sm pointer-events-none opacity-0 animate-heartFloat3",k[t]),children:"❤️"})]})})]}),!l&&s.jsxs("span",{className:"flex items-center gap-1.5",children:[s.jsx("span",{className:"whitespace-nowrap",children:"Curtido"}),d>0&&s.jsx("span",{className:N("inline-flex items-center justify-center rounded-full bg-primary-600 text-white font-bold transition-all duration-150 animate-countBounce",A[t]),children:d})]})]})},Yt=({videoUrl:e,fileName:a,downloadCount:o=0,onDownloadIncrement:t,onDownloadComplete:l,onDownloadChange:c,onError:n,size:d="md",iconOnly:m=!1,useLucide:u=!0})=>{const[x,v]=S.useState("idle"),[P,k]=S.useState(0),[T,A]=S.useState(o),O=async()=>{var F;try{v("downloading"),k(0);const g=await fetch(e);if(!g.ok)throw new Error("Falha ao baixar o vídeo");const M=g.headers.get("content-length");if(!M)throw new Error("Não foi possível obter o tamanho do arquivo");const fe=(F=g.body)==null?void 0:F.getReader();if(!fe)throw new Error("Não foi possível ler o stream do vídeo");let pe=0;const ae=[],ee=parseInt(M,10);for(;;){const{done:Z,value:ie}=await fe.read();if(Z)break;ae.push(ie),pe+=ie.length,k(Math.round(pe/ee*100))}k(100);const re=new Blob(ae),J=window.URL.createObjectURL(re),W=document.createElement("a");W.href=J,W.download=a,document.body.appendChild(W),W.click(),document.body.removeChild(W),window.URL.revokeObjectURL(J),v("success");const H=T+1;if(A(H),c==null||c(H),setTimeout(()=>{v("idle"),k(0)},2e3),t)try{const Z=await t();Z!==H&&(A(Z),c==null||c(Z))}catch(Z){n==null||n(Z)}l==null||l()}catch(g){v("error"),n==null||n(g),setTimeout(()=>{v("idle"),k(0)},2e3)}},z={sm:16,md:20,lg:24},_=()=>{if(u)switch(x){case"downloading":return s.jsx(Ue,{className:"animate-spin text-primary-500",size:z[d]});case"success":return s.jsx(At,{className:"text-green-600 dark:text-green-400",size:z[d]});case"error":return s.jsx(Fe,{className:"text-red-600 dark:text-red-400",size:z[d]});default:return s.jsx(zt,{className:"text-gray-600 dark:text-dark-text-muted group-hover:text-primary-500 transition-colors",size:z[d]})}switch(x){case"downloading":return"⏳";case"success":return"✓";case"error":return"✕";default:return"⬇️"}},q=()=>{switch(x){case"downloading":return`${P}%`;case"success":return"Baixado!";case"error":return"Erro";default:return m?"":"Download"}},V={idle:"bg-gray-100 dark:bg-dark-surface hover:bg-gray-200 dark:hover:bg-dark-surface-light border-gray-300 dark:border-dark-border text-gray-700 dark:text-dark-text hover:-translate-y-0.5",downloading:"bg-primary-50 dark:bg-primary-900/20 border-primary-300 dark:border-primary-800 text-primary-700 dark:text-primary-400",success:"bg-green-50 dark:bg-green-950/20 border-green-300 dark:border-green-800 text-green-700 dark:text-green-400 animate-successPulse",error:"bg-red-50 dark:bg-red-950/20 border-red-300 dark:border-red-800 text-red-700 dark:text-red-400 animate-shake"},X={sm:"px-2 py-1 text-sm min-h-[32px] rounded-md",md:"px-3 py-2 text-base min-h-[40px] sm:min-h-[44px] rounded-md",lg:"px-4 py-3 text-lg min-h-[48px] sm:min-h-[52px] rounded-lg"},E={sm:"min-w-[16px] h-4 text-[10px] px-1",md:"min-w-[20px] h-5 text-xs px-1.5",lg:"min-w-[22px] h-[22px] text-xs px-2"};return s.jsxs("button",{className:N("relative inline-flex items-center gap-2 font-semibold cursor-pointer transition-all duration-200 select-none border overflow-hidden focus-visible:ring-3 focus-visible:ring-primary-300 focus-visible:ring-offset-2 disabled:opacity-75 disabled:cursor-not-allowed",V[x],X[d]),onClick:O,disabled:x==="downloading","aria-label":`Baixar vídeo ${a}`,children:[s.jsx("span",{className:"flex items-center justify-center leading-none flex-shrink-0",children:_()}),!m&&s.jsxs("span",{className:"flex items-center gap-1.5 z-10",children:[s.jsx("span",{className:"whitespace-nowrap",children:q()}),T>0&&s.jsx("span",{className:N("inline-flex items-center justify-center rounded-full bg-primary-500 text-white font-bold",E[d]),children:T})]}),x==="downloading"&&s.jsx("div",{className:"absolute bottom-0 left-0 right-0 h-[3px] bg-primary-100 dark:bg-primary-900 overflow-hidden",children:s.jsx("div",{className:"h-full bg-gradient-to-r from-primary-500 to-primary-600 transition-all duration-250 ease-out",style:{width:`${P}%`}})})]})};function Kt({tabs:e,activeTab:a,onChange:o,className:t}){return s.jsx("div",{className:N("border-b border-gray-150 dark:border-dark-border/40 flex gap-2 overflow-x-auto select-none",t),children:e.map(l=>{const c=l.id===a;return s.jsxs("button",{type:"button",onClick:()=>o(l.id),className:N("flex items-center gap-2 px-4 py-3 text-xs font-bold uppercase tracking-wider border-b-2 transition-all cursor-pointer whitespace-nowrap outline-none",c?"border-primary-500 text-primary-500 font-extrabold":"border-transparent text-gray-500 hover:text-gray-700 dark:text-dark-text-muted dark:hover:text-dark-text"),children:[l.icon,l.label]},l.id)})})}Y.ConfirmDialog=Lt,Y.DatePicker=Bt,Y.DateSelector=Vt,Y.DownloadButton=Yt,Y.EmptyState=Wt,Y.IconButton=Mt,Y.LikeButton=Ut,Y.Loading=Dt,Y.Modal=vr,Y.SearchBar=Gt,Y.Tabs=Kt,Y.cn=N,Object.defineProperty(Y,Symbol.toStringTag,{value:"Module"})});
95
+ */const pa=W("Eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);/**
96
+ * @license lucide-react v0.475.0 - ISC
97
+ *
98
+ * This source code is licensed under the ISC license.
99
+ * See the LICENSE file in the root directory of this source tree.
100
+ */const ga=W("Filter",[["polygon",{points:"22 3 2 3 10 12.46 10 19 14 21 14 12.46 22 3",key:"1yg77f"}]]);/**
101
+ * @license lucide-react v0.475.0 - ISC
102
+ *
103
+ * This source code is licensed under the ISC license.
104
+ * See the LICENSE file in the root directory of this source tree.
105
+ */const Re=W("Heart",[["path",{d:"M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z",key:"c3ymky"}]]);/**
106
+ * @license lucide-react v0.475.0 - ISC
107
+ *
108
+ * This source code is licensed under the ISC license.
109
+ * See the LICENSE file in the root directory of this source tree.
110
+ */const ha=W("Info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]);/**
111
+ * @license lucide-react v0.475.0 - ISC
112
+ *
113
+ * This source code is licensed under the ISC license.
114
+ * See the LICENSE file in the root directory of this source tree.
115
+ */const ya=W("LayoutGrid",[["rect",{width:"7",height:"7",x:"3",y:"3",rx:"1",key:"1g98yp"}],["rect",{width:"7",height:"7",x:"14",y:"3",rx:"1",key:"6d4xhi"}],["rect",{width:"7",height:"7",x:"14",y:"14",rx:"1",key:"nxv5o0"}],["rect",{width:"7",height:"7",x:"3",y:"14",rx:"1",key:"1bb6yr"}]]);/**
116
+ * @license lucide-react v0.475.0 - ISC
117
+ *
118
+ * This source code is licensed under the ISC license.
119
+ * See the LICENSE file in the root directory of this source tree.
120
+ */const De=W("LoaderCircle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);/**
121
+ * @license lucide-react v0.475.0 - ISC
122
+ *
123
+ * This source code is licensed under the ISC license.
124
+ * See the LICENSE file in the root directory of this source tree.
125
+ */const Tr=W("MapPin",[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]]);/**
126
+ * @license lucide-react v0.475.0 - ISC
127
+ *
128
+ * This source code is licensed under the ISC license.
129
+ * See the LICENSE file in the root directory of this source tree.
130
+ */const ka=W("Play",[["polygon",{points:"6 3 20 12 6 21 6 3",key:"1oa8hb"}]]);/**
131
+ * @license lucide-react v0.475.0 - ISC
132
+ *
133
+ * This source code is licensed under the ISC license.
134
+ * See the LICENSE file in the root directory of this source tree.
135
+ */const va=W("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);/**
136
+ * @license lucide-react v0.475.0 - ISC
137
+ *
138
+ * This source code is licensed under the ISC license.
139
+ * See the LICENSE file in the root directory of this source tree.
140
+ */const Er=W("Share2",[["circle",{cx:"18",cy:"5",r:"3",key:"gq8acd"}],["circle",{cx:"6",cy:"12",r:"3",key:"w7nqdw"}],["circle",{cx:"18",cy:"19",r:"3",key:"1xt0gg"}],["line",{x1:"8.59",x2:"15.42",y1:"13.51",y2:"17.49",key:"47mynk"}],["line",{x1:"15.41",x2:"8.59",y1:"6.51",y2:"10.49",key:"1n3mei"}]]);/**
141
+ * @license lucide-react v0.475.0 - ISC
142
+ *
143
+ * This source code is licensed under the ISC license.
144
+ * See the LICENSE file in the root directory of this source tree.
145
+ */const Pr=W("TriangleAlert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);/**
146
+ * @license lucide-react v0.475.0 - ISC
147
+ *
148
+ * This source code is licensed under the ISC license.
149
+ * See the LICENSE file in the root directory of this source tree.
150
+ */const wa=W("Warehouse",[["path",{d:"M22 8.35V20a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V8.35A2 2 0 0 1 3.26 6.5l8-3.2a2 2 0 0 1 1.48 0l8 3.2A2 2 0 0 1 22 8.35Z",key:"gksnxg"}],["path",{d:"M6 18h12",key:"9pbo8z"}],["path",{d:"M6 14h12",key:"4cwo0f"}],["rect",{width:"12",height:"12",x:"6",y:"10",key:"apd30q"}]]);/**
151
+ * @license lucide-react v0.475.0 - ISC
152
+ *
153
+ * This source code is licensed under the ISC license.
154
+ * See the LICENSE file in the root directory of this source tree.
155
+ */const be=W("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),ja=jr("inline-flex items-center justify-center font-bold transition-all select-none disabled:opacity-50 disabled:cursor-not-allowed disabled:pointer-events-none active:scale-[0.98]",{variants:{variant:{primary:"bg-primary-500 hover:bg-primary-600 active:bg-primary-700 text-white shadow-sm shadow-primary-500/20",secondary:"bg-gray-100 hover:bg-gray-200 dark:bg-dark-surface-light dark:hover:bg-gray-700 text-gray-700 dark:text-dark-text border border-gray-200 dark:border-dark-border",outline:"border border-gray-300 dark:border-dark-border text-gray-700 dark:text-dark-text hover:bg-gray-50 dark:hover:bg-dark-surface-light",ghost:"text-gray-600 dark:text-dark-text hover:bg-gray-100 dark:hover:bg-dark-surface-light",danger:"bg-red-600 hover:bg-red-700 active:bg-red-800 text-white shadow-sm shadow-red-600/20",success:"bg-emerald-600 hover:bg-emerald-700 active:bg-emerald-800 text-white shadow-sm shadow-emerald-600/20",purple:"bg-purple-600 hover:bg-purple-500 active:bg-purple-700 text-white shadow-sm shadow-purple-600/20",link:"text-primary-500 hover:text-primary-600 dark:text-primary-400 underline-offset-4 hover:underline p-0 h-auto font-semibold"},size:{sm:"h-8 px-3 text-xs gap-1.5 rounded-lg",md:"h-10 px-4 py-2 text-sm gap-2 rounded-xl",lg:"h-12 px-6 text-base gap-2.5 rounded-xl"},fullWidth:{true:"w-full",false:"w-auto"}},defaultVariants:{variant:"primary",size:"md",fullWidth:!1}}),zr=k.forwardRef(({className:e,variant:a,size:t,fullWidth:o,isLoading:n=!1,leftIcon:l,rightIcon:i,children:c,disabled:m,...d},f)=>r.jsxs("button",{ref:f,disabled:m||n,className:x(ja({variant:a,size:t,fullWidth:o}),e),...d,children:[n?r.jsx(De,{className:"w-4 h-4 animate-spin shrink-0"}):l&&r.jsx("span",{className:"shrink-0",children:l}),c&&r.jsx("span",{children:c}),!n&&i&&r.jsx("span",{className:"shrink-0",children:i})]}));zr.displayName="Button";const Ar=k.forwardRef(({className:e,label:a,error:t,helperText:o,startIcon:n,endIcon:l,clearable:i=!1,onClear:c,inputSize:m="md",fullWidth:d=!0,disabled:f,value:y,id:N,...v},C)=>{const S=N||(a?`input-${a.toLowerCase().replace(/\s+/g,"-")}`:void 0),T={sm:"h-8 px-2.5 text-xs rounded-lg",md:"h-10 px-3.5 text-sm rounded-xl",lg:"h-12 px-4 text-base rounded-xl"};return r.jsxs("div",{className:x("flex flex-col gap-1.5",d&&"w-full"),children:[a&&r.jsx("label",{htmlFor:S,className:"text-xs font-bold uppercase tracking-wider text-gray-700 dark:text-dark-text",children:a}),r.jsxs("div",{className:"relative flex items-center w-full",children:[n&&r.jsx("div",{className:"absolute left-3.5 flex items-center pointer-events-none text-gray-400 dark:text-dark-text-muted",children:n}),r.jsx("input",{id:S,ref:C,disabled:f,value:y,className:x("w-full bg-gray-50 dark:bg-dark-bg border border-gray-200 dark:border-dark-border text-gray-900 dark:text-dark-text placeholder-gray-400 dark:placeholder-gray-500 font-medium transition-all focus:outline-none focus:bg-white dark:focus:bg-dark-bg focus:border-primary-500 focus:ring-2 focus:ring-primary-500/20 disabled:bg-gray-100 dark:disabled:bg-dark-surface disabled:opacity-60 disabled:cursor-not-allowed",T[m],n&&"pl-10",(l||i&&y)&&"pr-10",t&&"border-red-500 focus:border-red-500 focus:ring-red-500/20 text-red-900 dark:text-red-300",e),...v}),i&&y&&!f&&r.jsx("button",{type:"button",onClick:c,className:"absolute right-3 p-1 rounded-md text-gray-400 hover:text-gray-600 dark:hover:text-gray-200 transition-colors",children:r.jsx(be,{className:"w-3.5 h-3.5"})}),!i&&l&&r.jsx("div",{className:"absolute right-3.5 flex items-center pointer-events-none text-gray-400 dark:text-dark-text-muted",children:l})]}),t&&r.jsx("span",{className:"text-xs font-semibold text-red-500",children:t}),!t&&o&&r.jsx("span",{className:"text-xs text-gray-500 dark:text-dark-text-muted",children:o})]})});Ar.displayName="Input";const Or=k.forwardRef(({className:e,label:a,error:t,helperText:o,options:n,selectSize:l="md",fullWidth:i=!0,disabled:c,children:m,id:d,...f},y)=>{const N=d||(a?`select-${a.toLowerCase().replace(/\s+/g,"-")}`:void 0),v={sm:"h-8 pl-2.5 pr-8 text-xs rounded-lg",md:"h-10 pl-3.5 pr-10 text-sm rounded-xl",lg:"h-12 pl-4 pr-12 text-base rounded-xl"};return r.jsxs("div",{className:x("flex flex-col gap-1.5",i&&"w-full"),children:[a&&r.jsx("label",{htmlFor:N,className:"text-xs font-bold uppercase tracking-wider text-gray-700 dark:text-dark-text",children:a}),r.jsxs("div",{className:"relative flex items-center w-full",children:[r.jsx("select",{id:N,ref:y,disabled:c,className:x("w-full appearance-none bg-gray-50 dark:bg-dark-bg border border-gray-200 dark:border-dark-border text-gray-900 dark:text-dark-text font-medium transition-all focus:outline-none focus:bg-white dark:focus:bg-dark-bg focus:border-primary-500 focus:ring-2 focus:ring-primary-500/20 disabled:bg-gray-100 dark:disabled:bg-dark-surface disabled:opacity-60 disabled:cursor-not-allowed cursor-pointer",v[l],t&&"border-red-500 focus:border-red-500 focus:ring-red-500/20 text-red-900 dark:text-red-300",e),...f,children:n?n.map(C=>r.jsx("option",{value:C.value,disabled:C.disabled,children:C.label},C.value)):m}),r.jsx("div",{className:"absolute right-3 pointer-events-none text-gray-400 dark:text-dark-text-muted",children:r.jsx(Rr,{className:"w-4 h-4"})})]}),t&&r.jsx("span",{className:"text-xs font-semibold text-red-500",children:t}),!t&&o&&r.jsx("span",{className:"text-xs text-gray-500 dark:text-dark-text-muted",children:o})]})});Or.displayName="Select";const Fr=k.forwardRef(({className:e,label:a,error:t,helperText:o,fullWidth:n=!0,disabled:l,rows:i=3,id:c,...m},d)=>{const f=c||(a?`textarea-${a.toLowerCase().replace(/\s+/g,"-")}`:void 0);return r.jsxs("div",{className:x("flex flex-col gap-1.5",n&&"w-full"),children:[a&&r.jsx("label",{htmlFor:f,className:"text-xs font-bold uppercase tracking-wider text-gray-700 dark:text-dark-text",children:a}),r.jsx("textarea",{id:f,ref:d,rows:i,disabled:l,className:x("w-full p-3 bg-gray-50 dark:bg-dark-bg border border-gray-200 dark:border-dark-border text-gray-900 dark:text-dark-text placeholder-gray-400 dark:placeholder-gray-500 text-sm font-medium rounded-xl transition-all focus:outline-none focus:bg-white dark:focus:bg-dark-bg focus:border-primary-500 focus:ring-2 focus:ring-primary-500/20 disabled:bg-gray-100 dark:disabled:bg-dark-surface disabled:opacity-60 disabled:cursor-not-allowed resize-y",t&&"border-red-500 focus:border-red-500 focus:ring-red-500/20 text-red-900 dark:text-red-300",e),...m}),t&&r.jsx("span",{className:"text-xs font-semibold text-red-500",children:t}),!t&&o&&r.jsx("span",{className:"text-xs text-gray-500 dark:text-dark-text-muted",children:o})]})});Fr.displayName="Textarea";const Ir=k.forwardRef(({className:e,label:a,description:t,checked:o,disabled:n,id:l,onChange:i,...c},m)=>{const d=l||(typeof a=="string"?`checkbox-${a.toLowerCase().replace(/\s+/g,"-")}`:void 0);return r.jsxs("label",{htmlFor:d,className:x("inline-flex items-start gap-2.5 select-none cursor-pointer group",n&&"opacity-60 cursor-not-allowed pointer-events-none",e),children:[r.jsxs("div",{className:"relative flex items-center justify-center shrink-0 mt-0.5",children:[r.jsx("input",{id:d,ref:m,type:"checkbox",checked:o,disabled:n,onChange:i,className:"peer sr-only",...c}),r.jsx("div",{className:x("w-5 h-5 rounded-md border border-gray-300 dark:border-dark-border bg-white dark:bg-dark-surface transition-all flex items-center justify-center peer-checked:bg-primary-500 peer-checked:border-primary-500 peer-focus-visible:ring-2 peer-focus-visible:ring-primary-500/30 group-hover:border-primary-500/60 shadow-xs",o&&"bg-primary-500 border-primary-500 text-white"),children:o&&r.jsx(Cr,{className:"w-3.5 h-3.5 stroke-[3] text-white"})})]}),(a||t)&&r.jsxs("div",{className:"flex flex-col",children:[a&&r.jsx("span",{className:"text-sm font-semibold text-gray-800 dark:text-dark-text leading-tight",children:a}),t&&r.jsx("span",{className:"text-xs text-gray-500 dark:text-dark-text-muted mt-0.5",children:t})]})]})});Ir.displayName="Checkbox";const Mr=k.forwardRef(({className:e,label:a,description:t,checked:o,disabled:n,switchSize:l="md",id:i,onChange:c,...m},d)=>{const f=i||(typeof a=="string"?`switch-${a.toLowerCase().replace(/\s+/g,"-")}`:void 0),y={sm:"w-8 h-4.5",md:"w-11 h-6",lg:"w-14 h-7.5"},N={sm:"w-3.5 h-3.5 translate-x-0.5 peer-checked:translate-x-4",md:"w-5 h-5 translate-x-0.5 peer-checked:translate-x-5.5",lg:"w-6.5 h-6.5 translate-x-0.5 peer-checked:translate-x-7"};return r.jsxs("label",{htmlFor:f,className:x("inline-flex items-center gap-3 select-none cursor-pointer group",n&&"opacity-60 cursor-not-allowed pointer-events-none",e),children:[r.jsxs("div",{className:"relative inline-flex items-center shrink-0",children:[r.jsx("input",{id:f,ref:d,type:"checkbox",role:"switch",checked:o,disabled:n,onChange:c,className:"peer sr-only",...m}),r.jsx("div",{className:x("rounded-full bg-gray-200 dark:bg-dark-surface-light peer-checked:bg-primary-500 transition-colors duration-200 ease-in-out border border-transparent shadow-inner",y[l])}),r.jsx("div",{className:x("absolute bg-white rounded-full shadow-md transform transition-transform duration-200 ease-in-out pointer-events-none",N[l])})]}),(a||t)&&r.jsxs("div",{className:"flex flex-col",children:[a&&r.jsx("span",{className:"text-sm font-semibold text-gray-800 dark:text-dark-text leading-tight",children:a}),t&&r.jsx("span",{className:"text-xs text-gray-500 dark:text-dark-text-muted mt-0.5",children:t})]})]})});Mr.displayName="Switch";const Na=jr("inline-flex items-center font-bold tracking-tight transition-colors select-none shrink-0",{variants:{variant:{success:"bg-emerald-50 dark:bg-emerald-950/30 text-emerald-700 dark:text-emerald-300 border border-emerald-200 dark:border-emerald-800/60",danger:"bg-red-50 dark:bg-red-950/30 text-red-700 dark:text-red-400 border border-red-200 dark:border-red-800/60",warning:"bg-amber-50 dark:bg-amber-950/30 text-amber-700 dark:text-amber-400 border border-amber-200 dark:border-amber-800/60",info:"bg-blue-50 dark:bg-blue-950/30 text-blue-700 dark:text-blue-300 border border-blue-200 dark:border-blue-800/60",purple:"bg-purple-50 dark:bg-purple-950/30 text-purple-700 dark:text-purple-300 border border-purple-200 dark:border-purple-800/60",neutral:"bg-gray-100 dark:bg-dark-surface-light text-gray-700 dark:text-dark-text-muted border border-gray-200 dark:border-dark-border",primary:"bg-primary-50 dark:bg-primary-950/30 text-primary-700 dark:text-primary-300 border border-primary-200 dark:border-primary-800/60",secondary:"bg-secondary-50 dark:bg-secondary-950/30 text-secondary-700 dark:text-secondary-300 border border-secondary-200 dark:border-secondary-800/60"},size:{sm:"text-[10px] px-2 py-0.5 gap-1",md:"text-xs px-2.5 py-1 gap-1.5"},shape:{pill:"rounded-full",rounded:"rounded-md"}},defaultVariants:{variant:"neutral",size:"sm",shape:"pill"}}),_a={success:"bg-emerald-500",danger:"bg-red-500",warning:"bg-amber-500",info:"bg-blue-500",purple:"bg-purple-500",neutral:"bg-gray-400",primary:"bg-primary-500",secondary:"bg-secondary-500"};function Dr({className:e,variant:a="neutral",size:t="sm",shape:o="pill",dot:n=!1,pulseDot:l=!1,children:i,...c}){const d=_a[a||"neutral"]||"bg-gray-400";return r.jsxs("span",{className:x(Na({variant:a,size:t,shape:o}),e),...c,children:[n&&r.jsxs("span",{className:"relative flex h-1.5 w-1.5 shrink-0",children:[l&&r.jsx("span",{className:x("animate-ping absolute inline-flex h-full w-full rounded-full opacity-75",d)}),r.jsx("span",{className:x("relative inline-flex rounded-full h-1.5 w-1.5",d)})]}),i]})}function Se({className:e,variant:a="text",width:t,height:o,style:n,...l}){const i={text:"h-4 rounded-md w-full",circular:"rounded-full",rectangular:"rounded-xl",card:"h-32 rounded-2xl w-full"};return r.jsx("div",{className:x("animate-pulse bg-gray-200/80 dark:bg-dark-surface-light/80",i[a],e),style:{width:typeof t=="number"?`${t}px`:t,height:typeof o=="number"?`${o}px`:o,...n},...l})}const Lr=({icon:e,variant:a="primary",size:t="md",rounded:o=!1,ariaLabel:n,disabled:l=!1,loading:i=!1,className:c="",...m})=>{const d="relative inline-flex items-center justify-center gap-2 border-none font-semibold cursor-pointer transition-all select-none -webkit-tap-highlight-color-transparent outline-none focus-visible:ring-3 focus-visible:ring-primary-300 focus-visible:ring-offset-2 disabled:opacity-50 disabled:cursor-not-allowed disabled:pointer-events-none active:scale-95 duration-150",f={primary:"bg-gradient-to-br from-primary-500 to-primary-600 text-white shadow-md hover:from-primary-600 hover:to-primary-700 hover:shadow-lg hover:-translate-y-0.5",secondary:"bg-gray-100 dark:bg-dark-surface text-gray-700 dark:text-dark-text border border-gray-300 dark:border-dark-border hover:bg-gray-200 dark:hover:bg-dark-surface-light hover:-translate-y-0.5",ghost:"bg-transparent text-gray-600 dark:text-dark-text-muted hover:bg-gray-100 dark:hover:bg-dark-surface hover:text-gray-800 dark:hover:text-dark-text",danger:"bg-gradient-to-br from-red-500 to-red-600 text-white shadow-md hover:from-red-600 hover:to-red-700 hover:shadow-lg hover:-translate-y-0.5"},y=o?{sm:"w-8 h-8 rounded-full p-0 text-base",md:"w-10 h-10 rounded-full p-0 text-lg sm:w-11 sm:h-11",lg:"w-12 h-12 rounded-full p-0 text-xl sm:w-13 sm:h-13"}:{sm:"px-3 py-1.5 text-sm rounded-md min-h-[32px]",md:"px-4 py-2 text-base rounded-md min-h-[40px] sm:min-h-[44px]",lg:"px-6 py-3 text-lg rounded-lg min-h-[48px] sm:min-h-[52px]"};return r.jsx("button",{className:x(d,f[a],y[t],i&&"pointer-events-none",c),"aria-label":n,disabled:l||i,...m,children:i?r.jsx(De,{className:"w-4 h-4 animate-spin",role:"status","aria-hidden":"true"}):r.jsx("span",{className:"flex items-center justify-center leading-none",children:e})})},Vr=k.forwardRef(({className:e,hoverable:a=!1,padded:t=!0,children:o,...n},l)=>r.jsx("div",{ref:l,className:x("bg-white dark:bg-dark-surface border border-gray-150 dark:border-dark-border rounded-2xl shadow-xs transition-all duration-200 overflow-hidden",t&&"p-5 sm:p-6",a&&"hover:shadow-md hover:-translate-y-0.5 cursor-pointer",e),...n,children:o}));Vr.displayName="Card";const Br=k.forwardRef(({className:e,actions:a,children:t,...o},n)=>r.jsxs("div",{ref:n,className:x("flex items-center justify-between gap-4 mb-4",e),...o,children:[r.jsx("div",{className:"flex flex-col gap-1",children:t}),a&&r.jsx("div",{className:"flex items-center gap-2 shrink-0",children:a})]}));Br.displayName="CardHeader";const Wr=k.forwardRef(({className:e,children:a,...t},o)=>r.jsx("h3",{ref:o,className:x("text-base font-bold text-gray-900 dark:text-dark-text tracking-tight",e),...t,children:a}));Wr.displayName="CardTitle";const Gr=k.forwardRef(({className:e,children:a,...t},o)=>r.jsx("p",{ref:o,className:x("text-xs text-gray-500 dark:text-dark-text-muted font-medium",e),...t,children:a}));Gr.displayName="CardDescription";const Ur=k.forwardRef(({className:e,children:a,...t},o)=>r.jsx("div",{ref:o,className:x("space-y-4",e),...t,children:a}));Ur.displayName="CardContent";const Hr=k.forwardRef(({className:e,children:a,...t},o)=>r.jsx("div",{ref:o,className:x("flex items-center justify-end gap-3 pt-4 mt-4 border-t border-gray-100 dark:border-dark-border",e),...t,children:a}));Hr.displayName="CardFooter";const Yr={purple:{text:"text-purple-600 dark:text-purple-400",bg:"bg-purple-100 dark:bg-purple-900/30 text-purple-600 dark:text-purple-400",border:"border-purple-200/50 dark:border-purple-950/20"},blue:{text:"text-blue-600 dark:text-blue-400",bg:"bg-blue-100 dark:bg-blue-900/30 text-blue-600 dark:text-blue-400",border:"border-blue-200/50 dark:border-blue-950/20"},emerald:{text:"text-emerald-600 dark:text-emerald-400",bg:"bg-emerald-100 dark:bg-emerald-900/30 text-emerald-600 dark:text-emerald-400",border:"border-emerald-200/50 dark:border-emerald-950/20"},amber:{text:"text-amber-600 dark:text-amber-400",bg:"bg-amber-100 dark:bg-amber-900/30 text-amber-600 dark:text-amber-400",border:"border-amber-200/50 dark:border-amber-950/20"},red:{text:"text-red-600 dark:text-red-400",bg:"bg-red-100 dark:bg-red-900/30 text-red-600 dark:text-red-400",border:"border-red-200/50 dark:border-red-950/20"},cyan:{text:"text-cyan-600 dark:text-cyan-400",bg:"bg-cyan-100 dark:bg-cyan-900/30 text-cyan-600 dark:text-cyan-400",border:"border-cyan-200/50 dark:border-cyan-950/20"},pink:{text:"text-pink-600 dark:text-pink-400",bg:"bg-pink-100 dark:bg-pink-900/30 text-pink-600 dark:text-pink-400",border:"border-pink-200/50 dark:border-pink-950/20"},yellow:{text:"text-yellow-600 dark:text-yellow-400",bg:"bg-yellow-100 dark:bg-yellow-900/30 text-yellow-600 dark:text-yellow-400",border:"border-yellow-200/50 dark:border-yellow-950/20"}};function Ca({title:e,value:a,subtitle:t,icon:o,color:n="purple",isLoading:l=!1,animateValue:i=!0,className:c,onClick:m}){const[d,f]=k.useState(typeof a=="number"&&i?0:a),y=Yr[n]||Yr.purple;return k.useEffect(()=>{if(typeof a!="number"||!i){f(a);return}let N=!0,v=null;const C=1e3,S=T=>{if(!N)return;v||(v=T);const z=Math.min((T-v)/C,1),E=z*(2-z),X=Math.floor(E*a);f(X.toLocaleString("pt-BR")),z<1?window.requestAnimationFrame(S):f(a.toLocaleString("pt-BR"))};return window.requestAnimationFrame(S),()=>{N=!1}},[a,i]),l?r.jsxs("div",{className:"bg-white dark:bg-dark-surface p-5 rounded-2xl border border-gray-150 dark:border-dark-border shadow-xs",children:[r.jsxs("div",{className:"flex items-center justify-between mb-3",children:[r.jsx(Se,{width:"50%",height:14}),r.jsx(Se,{variant:"circular",width:40,height:40})]}),r.jsx(Se,{width:"40%",height:32,className:"my-2"}),r.jsx(Se,{width:"70%",height:12})]}):r.jsxs("div",{onClick:m,className:x("bg-white dark:bg-dark-surface p-5 rounded-2xl border border-gray-150 dark:border-dark-border shadow-xs hover:shadow-sm transition-all",m&&"cursor-pointer hover:-translate-y-0.5",c),children:[r.jsxs("div",{className:"flex items-center justify-between mb-3",children:[r.jsx("span",{className:x("text-xs font-bold uppercase tracking-wider",y.text),children:e}),o&&r.jsx("div",{className:x("w-10 h-10 rounded-xl flex items-center justify-center shrink-0",y.bg),children:o})]}),r.jsx("div",{className:"text-3xl font-black text-gray-900 dark:text-dark-text tracking-tight",children:typeof a=="number"&&!i?a.toLocaleString("pt-BR"):d}),t&&r.jsx("div",{className:"text-xs text-gray-500 dark:text-dark-text-muted font-medium mt-1.5 flex items-center gap-1",children:t})]})}function Ra({variant:e="info",title:a,children:t,icon:o,onClose:n,className:l}){const c={info:{container:"bg-blue-50 dark:bg-blue-950/30 border-blue-200 dark:border-blue-800/60 text-blue-900 dark:text-blue-200",icon:r.jsx(ha,{className:"w-5 h-5 text-blue-600 dark:text-blue-400 shrink-0"})},success:{container:"bg-emerald-50 dark:bg-emerald-950/30 border-emerald-200 dark:border-emerald-800/60 text-emerald-900 dark:text-emerald-200",icon:r.jsx(xa,{className:"w-5 h-5 text-emerald-600 dark:text-emerald-400 shrink-0"})},warning:{container:"bg-amber-50 dark:bg-amber-950/30 border-amber-200 dark:border-amber-800/60 text-amber-900 dark:text-amber-200",icon:r.jsx(Pr,{className:"w-5 h-5 text-amber-600 dark:text-amber-400 shrink-0"})},danger:{container:"bg-red-50 dark:bg-red-950/30 border-red-200 dark:border-red-800/60 text-red-900 dark:text-red-200",icon:r.jsx(fa,{className:"w-5 h-5 text-red-600 dark:text-red-400 shrink-0"})}}[e];return r.jsxs("div",{role:"alert",className:x("p-4 rounded-xl border flex items-start gap-3 relative transition-all",c.container,l),children:[r.jsx("div",{className:"mt-0.5",children:o||c.icon}),r.jsxs("div",{className:"flex-1 text-sm",children:[a&&r.jsx("h5",{className:"font-bold text-sm mb-1",children:a}),r.jsx("div",{className:"font-medium text-xs sm:text-sm leading-relaxed",children:t})]}),n&&r.jsx("button",{onClick:n,className:"p-1 rounded-md text-gray-400 hover:text-gray-600 dark:hover:text-gray-200 transition-colors",children:r.jsx(be,{className:"w-4 h-4"})})]})}const Kr=k.forwardRef(({className:e,bordered:a=!0,children:t,...o},n)=>r.jsx("div",{ref:n,className:x("w-full overflow-x-auto rounded-2xl bg-white dark:bg-dark-surface shadow-xs",a&&"border border-gray-150 dark:border-dark-border",e),...o,children:t}));Kr.displayName="TableContainer";const Jr=k.forwardRef(({className:e,...a},t)=>r.jsx("table",{ref:t,className:x("w-full text-left text-sm border-collapse",e),...a}));Jr.displayName="Table";const Xr=k.forwardRef(({className:e,...a},t)=>r.jsx("thead",{ref:t,className:x("bg-gray-50/80 dark:bg-dark-surface-light/80 border-b border-gray-150 dark:border-dark-border text-gray-600 dark:text-dark-text-muted text-xs uppercase font-bold tracking-wider",e),...a}));Xr.displayName="TableHeader";const Zr=k.forwardRef(({className:e,...a},t)=>r.jsx("tbody",{ref:t,className:x("divide-y divide-gray-100 dark:divide-dark-border",e),...a}));Zr.displayName="TableBody";const Qr=k.forwardRef(({className:e,...a},t)=>r.jsx("tr",{ref:t,className:x("transition-colors hover:bg-gray-50/60 dark:hover:bg-dark-surface-light/40 data-[state=selected]:bg-gray-50",e),...a}));Qr.displayName="TableRow";const $r=k.forwardRef(({className:e,...a},t)=>r.jsx("th",{ref:t,className:x("px-6 py-4 text-left font-bold text-gray-600 dark:text-dark-text-muted select-none text-xs uppercase tracking-wider",e),...a}));$r.displayName="TableHead";const qr=k.forwardRef(({className:e,...a},t)=>r.jsx("td",{ref:t,className:x("px-6 py-4 align-middle text-gray-800 dark:text-dark-text text-sm font-medium",e),...a}));qr.displayName="TableCell";function Sa({title:e="Filtros",hasActiveFilters:a=!1,activeFiltersCount:t,onClearFilters:o,children:n,className:l}){return r.jsxs("div",{className:x("bg-white dark:bg-dark-surface p-4 sm:p-5 rounded-2xl border border-gray-150 dark:border-dark-border shadow-xs space-y-3",l),children:[r.jsxs("div",{className:"flex items-center justify-between",children:[r.jsxs("div",{className:"flex items-center gap-2",children:[r.jsx("div",{className:"p-1.5 rounded-lg bg-purple-50 dark:bg-purple-950/40 text-purple-600 dark:text-purple-400",children:r.jsx(ga,{className:"w-4 h-4"})}),r.jsx("span",{className:"text-xs font-bold uppercase tracking-wider text-gray-700 dark:text-dark-text",children:e}),a&&r.jsx("span",{className:"px-2 py-0.5 rounded-full text-[10px] font-extrabold bg-purple-100 dark:bg-purple-900/40 text-purple-700 dark:text-purple-300",children:t!==void 0?`${t} ${t===1?"ativo":"ativos"}`:"Filtro Ativo"})]}),a&&o&&r.jsxs("button",{type:"button",onClick:o,className:"inline-flex items-center gap-1 text-xs font-bold text-red-500 hover:text-red-600 dark:hover:text-red-400 transition-colors cursor-pointer",children:[r.jsx(be,{className:"w-3.5 h-3.5"}),"Limpar Filtros"]})]}),r.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-3 pt-1",children:n})]})}function Ta({title:e,description:a,badge:t,actions:o,breadcrumb:n,className:l}){return r.jsxs("div",{className:x("flex flex-col sm:flex-row sm:items-center justify-between gap-4 select-none",l),children:[r.jsxs("div",{className:"flex flex-col gap-1",children:[n&&r.jsx("div",{className:"text-xs text-gray-500 mb-0.5",children:n}),r.jsxs("div",{className:"flex items-center gap-3 flex-wrap",children:[r.jsx("h1",{className:"text-2xl font-bold text-gray-900 dark:text-dark-text tracking-tight",children:e}),t&&r.jsx("div",{children:t})]}),a&&r.jsx("div",{className:"text-sm text-gray-500 dark:text-dark-text-muted mt-0.5 font-medium",children:a})]}),o&&r.jsx("div",{className:"flex items-center gap-2.5 flex-wrap shrink-0",children:o})]})}const Ea=({variant:e="spinner",size:a="md",text:t,fullScreen:o=!1})=>{const n={sm:"w-6 h-6",md:"w-10 h-10",lg:"w-16 h-16"},l={sm:"text-xs",md:"text-sm font-medium",lg:"text-base font-semibold"};if(e==="skeleton")return r.jsxs("div",{className:x("w-full bg-white dark:bg-dark-surface border border-gray-150 dark:border-dark-border rounded-xl overflow-hidden shadow-sm animate-pulse",a==="sm"?"max-w-xs":a==="md"?"max-w-sm":"max-w-md"),children:[r.jsx("div",{className:"aspect-video bg-gray-200 dark:bg-dark-surface-light w-full"}),r.jsxs("div",{className:"p-4 space-y-3",children:[r.jsx("div",{className:"h-4 bg-gray-200 dark:bg-dark-surface-light rounded w-3/4"}),r.jsx("div",{className:"h-3 bg-gray-200 dark:bg-dark-surface-light rounded w-1/2"}),r.jsx("div",{className:"h-3 bg-gray-200 dark:bg-dark-surface-light rounded w-5/6"})]})]});const i=r.jsxs("div",{className:"flex flex-col items-center justify-center space-y-3 p-4",children:[r.jsx(De,{className:x("text-primary-500 animate-spin",n[a])}),t&&r.jsx("p",{className:x("text-gray-500 dark:text-dark-text-muted select-none",l[a]),children:t})]});return o?r.jsx("div",{className:"fixed inset-0 z-50 flex items-center justify-center bg-white/80 dark:bg-dark-bg/80 backdrop-blur-sm",children:i}):r.jsx("div",{className:"flex items-center justify-center w-full",children:i})};function et({isOpen:e,onClose:a,title:t,children:o,footer:n,size:l="md",closeOnOutsideClick:i=!1}){if(k.useEffect(()=>(e?document.body.style.overflow="hidden":document.body.style.overflow="unset",()=>{document.body.style.overflow="unset"}),[e]),!e)return null;const c={sm:"max-w-md",md:"max-w-lg",lg:"max-w-2xl",xl:"max-w-4xl"};return r.jsxs("div",{className:"fixed inset-0 z-[100] flex items-center justify-center p-4 bg-black/50 backdrop-blur-sm animate-[fadeIn_0.2s_ease-out]",children:[r.jsx("div",{className:"fixed inset-0",onClick:i?a:void 0}),r.jsxs("div",{className:x("relative w-full bg-white dark:bg-dark-surface border border-gray-150 dark:border-dark-border rounded-xl shadow-xl overflow-hidden flex flex-col max-h-[90vh] z-10 animate-[slideUp_0.2s_ease-out]",c[l]),children:[r.jsxs("div",{className:"flex justify-between items-center px-6 py-4 border-b border-gray-100 dark:border-dark-border",children:[r.jsx("h2",{className:"text-lg font-bold text-gray-900 dark:text-dark-text",children:t}),r.jsx("button",{className:"text-gray-400 hover:text-gray-600 dark:hover:text-gray-200 transition-colors p-1.5 hover:bg-gray-100 dark:hover:bg-dark-surface-light rounded-lg cursor-pointer",onClick:a,children:r.jsx(be,{className:"w-5 h-5"})})]}),r.jsx("div",{className:"p-6 overflow-y-auto flex-1 text-sm text-gray-700 dark:text-dark-text-muted",children:o}),n&&r.jsx("div",{className:"flex justify-end items-center gap-3 px-6 py-4 border-t border-gray-100 dark:border-dark-border bg-gray-50/50 dark:bg-dark-surface/50",children:n})]})]})}function Pa({isOpen:e,onClose:a,onConfirm:t,title:o,message:n,confirmText:l="Confirmar",cancelText:i="Cancelar",isLoading:c=!1}){return r.jsx(et,{isOpen:e,onClose:a,title:o,size:"sm",footer:r.jsxs(r.Fragment,{children:[r.jsx("button",{className:"px-4 py-2 text-sm font-semibold text-gray-700 dark:text-dark-text bg-gray-100 hover:bg-gray-200 dark:bg-dark-surface-light dark:hover:bg-gray-700 rounded-lg transition-all disabled:opacity-50 cursor-pointer",onClick:a,disabled:c,children:i}),r.jsx("button",{className:"px-4 py-2 text-sm font-semibold text-white bg-red-600 hover:bg-red-700 active:scale-[0.98] rounded-lg shadow-sm transition-all disabled:opacity-50 cursor-pointer",onClick:t,disabled:c,children:c?"Aguarde...":l})]}),children:r.jsxs("div",{className:"flex gap-4 items-start",children:[r.jsx("div",{className:"p-2.5 bg-red-50 dark:bg-red-950/20 text-red-600 dark:text-red-400 rounded-xl",children:r.jsx(Pr,{className:"w-6 h-6 flex-shrink-0"})}),r.jsx("div",{children:r.jsx("p",{className:"text-gray-600 dark:text-dark-text-muted mt-1 leading-relaxed",children:n})})]})})}const za=({icon:e,title:a,description:t,action:o,variant:n="default"})=>{const l={default:"text-primary-500 bg-primary-50 dark:bg-primary-950/20",error:"text-red-500 bg-red-50 dark:bg-red-950/20",search:"text-secondary-500 bg-secondary-50 dark:bg-secondary-950/20"};return r.jsxs("div",{className:x("flex flex-col items-center justify-center p-8 sm:p-12 text-center min-h-[300px] sm:min-h-[400px] animate-fadeIn group"),children:[e&&r.jsx("div",{className:x("flex items-center justify-center w-16 h-16 sm:w-20 sm:h-20 mb-6 text-4xl sm:text-[48px] rounded-full transition-all duration-200 group-hover:scale-105 group-hover:bg-opacity-80",l[n]),children:e}),r.jsxs("div",{className:"max-w-[500px] mb-6 space-y-2",children:[r.jsx("h3",{className:"text-xl sm:text-2xl font-bold font-heading text-gray-900 dark:text-dark-text leading-tight",children:a}),t&&r.jsx("p",{className:"text-sm sm:text-base text-gray-600 dark:text-dark-text-muted leading-relaxed",children:t})]}),o&&r.jsx("button",{className:"inline-flex items-center justify-center px-6 py-3 font-semibold text-white bg-gradient-to-br from-primary-500 to-primary-600 rounded-lg shadow-md transition-all duration-200 cursor-pointer hover:from-primary-600 hover:to-primary-700 hover:shadow-lg hover:-translate-y-0.5 active:scale-95 active:translate-y-0 min-h-[44px]",onClick:o.onClick,children:o.label})]})},Aa=({onSearch:e,debounceMs:a=300,placeholder:t="Pesquisar vídeos...",initialValue:o="",showClear:n=!0,autoFocus:l=!1,size:i="md",className:c="",...m})=>{const[d,f]=k.useState(o),[y,N]=k.useState(!1),v=k.useRef(null),C=k.useRef();k.useEffect(()=>{l&&v.current&&v.current.focus()},[l]),k.useEffect(()=>(C.current&&clearTimeout(C.current),C.current=setTimeout(()=>{e(d)},a),()=>{C.current&&clearTimeout(C.current)}),[d,e,a]);const S=G=>{f(G.target.value)},T=()=>{var G;f(""),(G=v.current)==null||G.focus()},z=G=>{G.key==="Escape"&&T()},E={sm:"h-9 text-sm rounded-lg",md:"h-11 sm:h-12 text-base rounded-xl",lg:"h-13 sm:h-14 text-lg rounded-2xl"},X={sm:"w-4 h-4 ml-3",md:"w-5 h-5 ml-4",lg:"w-6 h-6 ml-5"};return r.jsxs("div",{className:x("relative flex items-center w-full max-w-[600px] bg-white dark:bg-dark-surface border border-gray-300 dark:border-dark-border shadow-sm transition-all duration-150 overflow-hidden",y?"border-primary-500 ring-3 ring-primary-100 dark:ring-primary-900/30":"hover:border-gray-400 dark:hover:border-dark-border/80 hover:shadow",E[i],c),children:[r.jsx(va,{className:x("text-gray-400 dark:text-dark-text-muted flex-shrink-0",X[i]),"aria-hidden":"true"}),r.jsx("input",{ref:v,type:"text",className:"flex-1 h-full px-3 py-2 border-none bg-transparent font-sans text-gray-900 dark:text-dark-text outline-none placeholder-gray-400 dark:placeholder-dark-text-muted text-inherit",value:d,onChange:S,onKeyDown:z,onFocus:()=>N(!0),onBlur:()=>N(!1),placeholder:t,"aria-label":"Campo de busca",...m}),n&&d&&r.jsx("button",{type:"button",className:x("flex items-center justify-center mr-3 bg-gray-150 dark:bg-dark-surface-light border-none rounded-full cursor-pointer text-gray-500 dark:text-dark-text-muted transition-all duration-150 flex-shrink-0 hover:bg-gray-200 dark:hover:bg-dark-surface-light/80 hover:scale-105 active:scale-95",i==="sm"?"w-5 h-5 p-0.5":i==="md"?"w-6 h-6 p-1":"w-7 h-7 p-1.5"),onClick:T,"aria-label":"Limpar busca",children:r.jsx(be,{className:"w-full h-full"})})]})},Oa=({onDateSelect:e,label:a="Selecione uma data",maxDate:t,minDate:o,initialDate:n})=>{const[l,i]=k.useState(n||"");k.useEffect(()=>{i(n||"")},[n]);const c=m=>{const d=m.target.value;i(d),e(d)};return r.jsxs("div",{className:"flex flex-col gap-2.5 w-full max-w-[400px] md:max-w-full",children:[r.jsx("label",{htmlFor:"date-picker",className:"font-sans text-xs font-semibold text-gray-700 dark:text-dark-text-muted uppercase tracking-wider",children:a}),r.jsx("input",{id:"date-picker",type:"date",value:l,onChange:c,max:t,min:o,className:x("w-full px-4 py-3 font-sans text-base font-medium border-2 border-gray-300 dark:border-dark-border rounded-xl bg-white dark:bg-dark-surface text-gray-900 dark:text-dark-text shadow-sm cursor-pointer outline-none transition-all duration-200","hover:border-primary-400 hover:shadow-md focus:border-primary-500 focus:ring-3 focus:ring-primary-100 dark:focus:ring-primary-900/30","webkit-calendar-picker-indicator:cursor-pointer webkit-calendar-picker-indicator:p-1 webkit-calendar-picker-indicator:rounded-md webkit-calendar-picker-indicator:transition-colors hover:webkit-calendar-picker-indicator:bg-primary-50")})]})},Fa=({onDateChange:e,initialStartDate:a,initialEndDate:t,allowRange:o=!0,placeholder:n="Selecionar data"})=>{const[l,i]=k.useState(a||""),[c,m]=k.useState(t||""),[d,f]=k.useState(null),[y,N]=k.useState(!1),v=()=>new Date().toISOString().split("T")[0],C=()=>{const O=new Date;return O.setDate(O.getDate()-1),O.toISOString().split("T")[0]},S=O=>{const I=new Date;return I.setDate(I.getDate()-O),I.toISOString().split("T")[0]},T=O=>{switch(f(O),O){case"today":i(v()),m(v()),e(v(),v());break;case"yesterday":i(C()),m(C()),e(C(),C());break;case"last7days":i(S(7)),m(v()),e(S(7),v());break;case"last30days":i(S(30)),m(v()),e(S(30),v());break;case"custom":f("custom");break}O!=="custom"&&N(!1)},z=O=>{const I=O.target.value;i(I),f("custom"),e(I,o?c:null)},E=O=>{const I=O.target.value;m(I),f("custom"),e(l,I)},X=()=>{i(""),m(""),f(null),e(null,null)},G=()=>l?d&&d!=="custom"?{today:"Hoje",yesterday:"Ontem",last7days:"Últimos 7 dias",last30days:"Últimos 30 dias",custom:"Personalizado"}[d]:o&&c&&l!==c?`${Z(l)} - ${Z(c)}`:Z(l):n,Z=O=>{const[I,b,D]=O.split("-");return`${D}/${b}/${I}`};return r.jsxs("div",{className:"relative inline-block w-full sm:w-auto",children:[r.jsxs("button",{type:"button",className:x("w-full sm:w-auto min-w-[200px] h-11 sm:h-12 px-4 flex items-center gap-2.5 bg-white dark:bg-dark-surface border-2 border-gray-300 dark:border-dark-border rounded-xl font-sans font-medium text-base text-gray-700 dark:text-dark-text cursor-pointer transition-all duration-200 outline-none select-none hover:border-gray-400 dark:hover:border-dark-border/80 hover:shadow-sm focus-visible:ring-3 focus-visible:ring-primary-300",y&&"border-primary-500 ring-3 ring-primary-100 dark:ring-primary-900/30"),onClick:()=>N(!y),"aria-label":"Selecionar data","aria-expanded":y,children:[r.jsx(_r,{className:"w-5 h-5 text-gray-400 dark:text-dark-text-muted flex-shrink-0"}),r.jsx("span",{className:"flex-1 text-left whitespace-nowrap overflow-hidden text-ellipsis",children:G()}),l||c?r.jsx("button",{type:"button",className:"flex items-center justify-center w-5 h-5 bg-gray-200 dark:bg-dark-surface-light border-none rounded-full text-[10px] text-gray-600 dark:text-dark-text-muted transition-all duration-150 flex-shrink-0 hover:bg-gray-300 dark:hover:bg-dark-surface hover:scale-105 active:scale-95",onClick:O=>{O.stopPropagation(),X()},"aria-label":"Limpar seleção",children:r.jsx(be,{className:"w-3 h-3"})}):r.jsx(Rr,{className:"w-4 h-4 text-gray-400 dark:text-dark-text-muted flex-shrink-0"})]}),y&&r.jsxs(r.Fragment,{children:[r.jsx("div",{className:"fixed inset-0 z-40 sm:hidden",onClick:()=>N(!1)}),r.jsxs("div",{className:x("absolute top-[calc(100%+8px)] left-0 sm:left-auto z-50 min-w-[280px] bg-white dark:bg-dark-surface border border-gray-300 dark:border-dark-border rounded-2xl shadow-xl animate-slideUp sm:animate-slideDown","w-[calc(100vw-32px)] max-w-[340px] left-1/2 -translate-x-1/2 sm:left-0 sm:translate-x-0"),children:[r.jsxs("div",{className:"flex flex-col gap-1 p-3",children:[r.jsx("button",{type:"button",className:x("w-full px-3 py-2 text-left font-sans text-sm font-medium text-gray-700 dark:text-dark-text rounded-xl border-none bg-transparent cursor-pointer transition-all hover:bg-gray-150 dark:hover:bg-dark-surface-light min-h-[40px]",d==="today"&&"bg-primary-50 dark:bg-primary-950/20 text-primary-700 dark:text-primary-400 font-semibold"),onClick:()=>T("today"),children:"Hoje"}),r.jsx("button",{type:"button",className:x("w-full px-3 py-2 text-left font-sans text-sm font-medium text-gray-700 dark:text-dark-text rounded-xl border-none bg-transparent cursor-pointer transition-all hover:bg-gray-150 dark:hover:bg-dark-surface-light min-h-[40px]",d==="yesterday"&&"bg-primary-50 dark:bg-primary-950/20 text-primary-700 dark:text-primary-400 font-semibold"),onClick:()=>T("yesterday"),children:"Ontem"}),r.jsx("button",{type:"button",className:x("w-full px-3 py-2 text-left font-sans text-sm font-medium text-gray-700 dark:text-dark-text rounded-xl border-none bg-transparent cursor-pointer transition-all hover:bg-gray-150 dark:hover:bg-dark-surface-light min-h-[40px]",d==="last7days"&&"bg-primary-50 dark:bg-primary-950/20 text-primary-700 dark:text-primary-400 font-semibold"),onClick:()=>T("last7days"),children:"Últimos 7 dias"}),r.jsx("button",{type:"button",className:x("w-full px-3 py-2 text-left font-sans text-sm font-medium text-gray-700 dark:text-dark-text rounded-xl border-none bg-transparent cursor-pointer transition-all hover:bg-gray-150 dark:hover:bg-dark-surface-light min-h-[40px]",d==="last30days"&&"bg-primary-50 dark:bg-primary-950/20 text-primary-700 dark:text-primary-400 font-semibold"),onClick:()=>T("last30days"),children:"Últimos 30 dias"})]}),r.jsx("div",{className:"h-[1px] mx-3 my-1 bg-gray-200 dark:bg-dark-border"}),r.jsxs("div",{className:"flex flex-col gap-3.5 p-4 bg-gray-50/50 dark:bg-dark-bg/20 rounded-b-2xl",children:[r.jsxs("label",{className:"flex flex-col gap-1.5 font-sans text-xs font-semibold text-gray-500 dark:text-dark-text-muted uppercase tracking-wider",children:["Data inicial",r.jsx("input",{type:"date",className:"w-full px-3 py-2 bg-white dark:bg-dark-surface border border-gray-300 dark:border-dark-border rounded-lg font-sans text-sm text-gray-900 dark:text-dark-text cursor-pointer outline-none transition-colors hover:border-gray-400 focus:border-primary-500",value:l,onChange:z,max:v()})]}),o&&r.jsxs("label",{className:"flex flex-col gap-1.5 font-sans text-xs font-semibold text-gray-500 dark:text-dark-text-muted uppercase tracking-wider",children:["Data final",r.jsx("input",{type:"date",className:"w-full px-3 py-2 bg-white dark:bg-dark-surface border border-gray-300 dark:border-dark-border rounded-lg font-sans text-sm text-gray-900 dark:text-dark-text cursor-pointer outline-none transition-colors hover:border-gray-400 focus:border-primary-500",value:c,onChange:E,min:l,max:v()})]})]})]})]})]})};function Ia({tabs:e,activeTab:a,onChange:t,className:o}){return r.jsx("div",{className:x("border-b border-gray-150 dark:border-dark-border/40 flex gap-2 overflow-x-auto select-none",o),children:e.map(n=>{const l=n.id===a;return r.jsxs("button",{type:"button",onClick:()=>t(n.id),className:x("flex items-center gap-2 px-4 py-3 text-xs font-bold uppercase tracking-wider border-b-2 transition-all cursor-pointer whitespace-nowrap outline-none",l?"border-primary-500 text-primary-500 font-extrabold":"border-transparent text-gray-500 hover:text-gray-700 dark:text-dark-text-muted dark:hover:text-dark-text"),children:[n.icon,n.label]},n.id)})})}const rt=({videoUrl:e,fileName:a,downloadCount:t=0,onDownloadIncrement:o,onDownloadComplete:n,onDownloadChange:l,onError:i,size:c="md",iconOnly:m=!1,useLucide:d=!0})=>{const[f,y]=k.useState("idle"),[N,v]=k.useState(0),[C,S]=k.useState(t),T=async()=>{var I;try{y("downloading"),v(0);const b=await fetch(e);if(!b.ok)throw new Error("Falha ao baixar o vídeo");const D=b.headers.get("content-length");if(!D)throw new Error("Não foi possível obter o tamanho do arquivo");const le=(I=b.body)==null?void 0:I.getReader();if(!le)throw new Error("Não foi possível ler o stream do vídeo");let ie=0;const ae=[],$=parseInt(D,10);for(;;){const{done:re,value:de}=await le.read();if(re)break;ae.push(de),ie+=de.length,v(Math.round(ie/$*100))}v(100);const L=new Blob(ae),H=window.URL.createObjectURL(L),V=document.createElement("a");V.href=H,V.download=a,document.body.appendChild(V),V.click(),document.body.removeChild(V),window.URL.revokeObjectURL(H),y("success");const ee=C+1;if(S(ee),l==null||l(ee),setTimeout(()=>{y("idle"),v(0)},2e3),o)try{const re=await o();re!==ee&&(S(re),l==null||l(re))}catch(re){i==null||i(re)}n==null||n()}catch(b){y("error"),i==null||i(b),setTimeout(()=>{y("idle"),v(0)},2e3)}},z={sm:16,md:20,lg:24},E=()=>{if(d)switch(f){case"downloading":return r.jsx(De,{className:"animate-spin text-primary-500",size:z[c]});case"success":return r.jsx(Cr,{className:"text-green-600 dark:text-green-400",size:z[c]});case"error":return r.jsx(be,{className:"text-red-600 dark:text-red-400",size:z[c]});default:return r.jsx(Sr,{className:"text-gray-600 dark:text-dark-text-muted group-hover:text-primary-500 transition-colors",size:z[c]})}switch(f){case"downloading":return"⏳";case"success":return"✓";case"error":return"✕";default:return"⬇️"}},X=()=>{switch(f){case"downloading":return`${N}%`;case"success":return"Baixado!";case"error":return"Erro";default:return m?"":"Download"}},G={idle:"bg-gray-100 dark:bg-dark-surface hover:bg-gray-200 dark:hover:bg-dark-surface-light border-gray-300 dark:border-dark-border text-gray-700 dark:text-dark-text hover:-translate-y-0.5",downloading:"bg-primary-50 dark:bg-primary-900/20 border-primary-300 dark:border-primary-800 text-primary-700 dark:text-primary-400",success:"bg-green-50 dark:bg-green-950/20 border-green-300 dark:border-green-800 text-green-700 dark:text-green-400 animate-successPulse",error:"bg-red-50 dark:bg-red-950/20 border-red-300 dark:border-red-800 text-red-700 dark:text-red-400 animate-shake"},Z={sm:"px-2 py-1 text-sm min-h-[32px] rounded-md",md:"px-3 py-2 text-base min-h-[40px] sm:min-h-[44px] rounded-md",lg:"px-4 py-3 text-lg min-h-[48px] sm:min-h-[52px] rounded-lg"},O={sm:"min-w-[16px] h-4 text-[10px] px-1",md:"min-w-[20px] h-5 text-xs px-1.5",lg:"min-w-[22px] h-[22px] text-xs px-2"};return r.jsxs("button",{className:x("relative inline-flex items-center gap-2 font-semibold cursor-pointer transition-all duration-200 select-none border overflow-hidden focus-visible:ring-3 focus-visible:ring-primary-300 focus-visible:ring-offset-2 disabled:opacity-75 disabled:cursor-not-allowed",G[f],Z[c]),onClick:T,disabled:f==="downloading","aria-label":`Baixar vídeo ${a}`,children:[r.jsx("span",{className:"flex items-center justify-center leading-none flex-shrink-0",children:E()}),!m&&r.jsxs("span",{className:"flex items-center gap-1.5 z-10",children:[r.jsx("span",{className:"whitespace-nowrap",children:X()}),C>0&&r.jsx("span",{className:x("inline-flex items-center justify-center rounded-full bg-primary-500 text-white font-bold",O[c]),children:C})]}),f==="downloading"&&r.jsx("div",{className:"absolute bottom-0 left-0 right-0 h-[3px] bg-primary-100 dark:bg-primary-900 overflow-hidden",children:r.jsx("div",{className:"h-full bg-gradient-to-r from-primary-500 to-primary-600 transition-all duration-250 ease-out",style:{width:`${N}%`}})})]})},tt=({initialLikes:e=0,onLike:a,onLikeChange:t,size:o="md",iconOnly:n=!1,disabled:l=!1,useLucide:i=!0})=>{const[c,m]=k.useState(e),[d,f]=k.useState(!1),y=async()=>{if(l||d)return;const T=c+1;if(f(!0),m(T),t==null||t(T),a)try{const z=await a();m(z),z!==T&&(t==null||t(z))}catch{m(c),t==null||t(c)}finally{setTimeout(()=>f(!1),600)}else setTimeout(()=>f(!1),600)},N={sm:"px-2 py-1 text-sm min-h-[32px]",md:"px-3 py-2 text-base min-h-[40px] sm:min-h-[44px]",lg:"px-4 py-3 text-lg min-h-[48px] sm:min-h-[52px]"},v={sm:"text-base",md:"text-lg",lg:"text-xl"},C={sm:16,md:20,lg:24},S={sm:"min-w-[16px] h-4 text-[10px] px-1",md:"min-w-[20px] h-5 text-xs px-1.5",lg:"min-w-[22px] h-[22px] text-xs px-2"};return r.jsxs("button",{className:x("relative inline-flex items-center justify-center gap-2 font-semibold cursor-pointer transition-all duration-200 select-none rounded-lg border focus-visible:ring-3 focus-visible:ring-primary-300 focus-visible:ring-offset-2 disabled:opacity-50 disabled:cursor-not-allowed","bg-primary-50 border-primary-300 text-primary-700 hover:bg-primary-100 hover:border-primary-400 active:scale-95",N[o],d&&"animate-heartBeat"),onClick:y,disabled:l,"aria-label":"Curtir vídeo","aria-pressed":!0,children:[r.jsxs("span",{className:"relative flex items-center justify-center leading-none flex-shrink-0",children:[i?r.jsx(Re,{className:x("fill-rose-500 text-rose-500 transition-transform duration-150",d&&"animate-iconPop"),size:C[o]}):r.jsx("span",{className:x("flex items-center justify-center transition-transform duration-150",d&&"animate-iconPop"),children:"❤️"}),d&&r.jsx(r.Fragment,{children:i?r.jsxs(r.Fragment,{children:[r.jsx(Re,{className:"absolute pointer-events-none opacity-0 animate-heartFloat1 fill-rose-500 text-rose-500",size:C[o]-4}),r.jsx(Re,{className:"absolute pointer-events-none opacity-0 animate-heartFloat2 fill-rose-500 text-rose-500",size:C[o]-4}),r.jsx(Re,{className:"absolute pointer-events-none opacity-0 animate-heartFloat3 fill-rose-500 text-rose-500",size:C[o]-4})]}):r.jsxs(r.Fragment,{children:[r.jsx("span",{className:x("absolute text-sm pointer-events-none opacity-0 animate-heartFloat1",v[o]),children:"❤️"}),r.jsx("span",{className:x("absolute text-sm pointer-events-none opacity-0 animate-heartFloat2",v[o]),children:"❤️"}),r.jsx("span",{className:x("absolute text-sm pointer-events-none opacity-0 animate-heartFloat3",v[o]),children:"❤️"})]})})]}),!n&&r.jsxs("span",{className:"flex items-center gap-1.5",children:[r.jsx("span",{className:"whitespace-nowrap",children:"Curtido"}),c>0&&r.jsx("span",{className:x("inline-flex items-center justify-center rounded-full bg-primary-600 text-white font-bold transition-all duration-150 animate-countBounce",S[o]),children:c})]})]})};function Ma({video:e,showShare:a=!0,onPlay:t,onShare:o,onLikeChange:n,onDownloadComplete:l,onDownloadIncrement:i,extraActions:c,className:m}){const[d,f]=k.useState(!1),[y,N]=k.useState(!1),v=k.useRef(null),[C,S]=k.useState(e.curtidas),[T,z]=k.useState(e.downloads),[E,X]=k.useState(e.visualizacoes||0),[G,Z]=k.useState(e.compartilhamentos||0),O=e.is_vertical===void 0||e.is_vertical!==!1&&e.is_vertical!==0;k.useEffect(()=>{S(e.curtidas),z(e.downloads),X(e.visualizacoes||0),Z(e.compartilhamentos||0)},[e.curtidas,e.downloads,e.visualizacoes,e.compartilhamentos]);const I=e.dthr&&e.dthr.length>=16?e.dthr.substring(11,16):"",b=e.dthr&&e.dthr.length>=10?new Date(e.dthr).toLocaleDateString("pt-BR",{day:"2-digit",month:"2-digit"}):"",D=L=>L.normalize("NFD").replace(/[\u0300-\u036f]/g,"").replace(/\s+/g,"-").replace(/[^\w-]/g,"").replace(/-{2,}/g,"-").trim(),le=["Rock10",e.arena_nome?D(e.arena_nome):null,e.quadra_nome?D(e.quadra_nome):null,D(e.nome.replace(/\.mp4$/i,""))].filter(Boolean).join("-")+".mp4",ie=()=>{N(!0),f(!0),X(L=>L+1),t&&t(e)},ae=()=>{v.current&&(d?v.current.pause():ie())},$=async()=>{if(o){o(e);return}const L=`${window.location.origin}/video/${e.id}`,H={title:e.nome,text:"Confira este lance gravado no Rock10 Replay:",url:L};if(navigator.share)try{await navigator.share(H),Z(V=>V+1);return}catch{}try{await navigator.clipboard.writeText(`${H.text} ${H.url}`),Z(V=>V+1),alert("Link copiado para a área de transferência!")}catch{window.open(H.url,"_blank")}};return r.jsxs("article",{className:x("group relative flex flex-col bg-white dark:bg-dark-surface rounded-2xl shadow-xs hover:shadow-xl hover:-translate-y-1 transition-all duration-300 overflow-hidden border border-gray-150 dark:border-dark-border",m),children:[r.jsxs("div",{className:x("relative w-full overflow-hidden bg-black z-10 cursor-pointer select-none",O?"aspect-[9/16]":"aspect-[16/9]",d&&"rounded-b-none"),onClick:ae,children:[r.jsx("video",{ref:v,className:"w-full h-full object-contain transition-transform duration-300 bg-black group-hover:scale-[1.02]",src:y?e.url:void 0,poster:e.poster,controls:d,autoPlay:d,playsInline:!0,muted:!1,preload:y?"metadata":"none",onPlay:()=>f(!0),onPause:()=>f(!1)}),!d&&r.jsxs(r.Fragment,{children:[r.jsx("div",{className:"absolute inset-0 flex items-center justify-center bg-black/15 transition-opacity duration-300 z-20 pointer-events-none group-hover:bg-black/30",children:r.jsx("div",{className:"w-14 h-14 sm:w-16 sm:h-16 flex items-center justify-center bg-white/95 dark:bg-dark-surface/95 text-primary-500 rounded-full shadow-2xl backdrop-blur-sm transition-transform duration-200 hover:scale-110 active:scale-95",children:r.jsx(ka,{className:"w-6 h-6 fill-current ml-1"})})}),r.jsxs("div",{className:"absolute left-0 right-0 bottom-0 bg-gradient-to-t from-white via-white/80 to-transparent dark:from-dark-surface dark:via-dark-surface/85 dark:to-transparent pt-8 pb-3 px-3.5 flex flex-col gap-1 z-20 pointer-events-none",children:[(e.arena_nome||e.quadra_nome)&&r.jsxs("div",{className:"text-xs font-bold text-primary-600 dark:text-primary-400 flex items-center gap-1.5 leading-none",children:[r.jsx(Tr,{className:"w-3.5 h-3.5"}),r.jsxs("span",{children:[e.arena_nome||""," ",e.arena_nome&&e.quadra_nome?"•":""," ",e.quadra_nome||""]})]}),r.jsxs("div",{className:"flex justify-between items-center w-full mt-1.5",children:[r.jsxs("span",{className:"text-xs font-bold text-gray-800 dark:text-dark-text flex items-center gap-1.5 leading-none",children:[r.jsx(_r,{className:"w-3.5 h-3.5 text-gray-500 dark:text-dark-text-muted"})," ",b,r.jsx(ba,{className:"w-3.5 h-3.5 text-gray-500 dark:text-dark-text-muted ml-0.5"})," ",I]}),r.jsxs("div",{className:"flex gap-2 sm:gap-2.5 items-center text-xs font-bold text-gray-800 dark:text-dark-text leading-none",children:[r.jsxs("span",{className:"flex items-center gap-1",title:"Visualizações",children:[r.jsx(pa,{className:"w-3.5 h-3.5 text-gray-500 dark:text-dark-text-muted"})," ",E]}),r.jsxs("span",{className:"flex items-center gap-1",title:"Compartilhamentos",children:[r.jsx(Er,{className:"w-3.5 h-3.5 text-gray-500 dark:text-dark-text-muted"})," ",G]}),r.jsxs("span",{className:"flex items-center gap-1",title:"Downloads",children:[r.jsx(Sr,{className:"w-3.5 h-3.5 text-gray-500 dark:text-dark-text-muted"})," ",T]}),r.jsxs("span",{className:"flex items-center gap-1",title:"Curtidas",children:[r.jsx(Re,{className:"w-3.5 h-3.5 text-gray-500 dark:text-dark-text-muted"})," ",C]})]})]})]})]})]}),r.jsx("div",{className:"p-3.5 sm:p-4 flex flex-col gap-3 relative z-20 bg-white dark:bg-dark-surface flex-1",children:r.jsxs("div",{className:"flex gap-2.5 items-center justify-start pointer-events-auto",onClick:L=>L.stopPropagation(),children:[r.jsx(rt,{videoUrl:e.url,fileName:le,downloadCount:T,size:"sm",iconOnly:!0,onDownloadIncrement:i?()=>i(e.id):void 0,onDownloadChange:L=>z(L),onDownloadComplete:()=>l==null?void 0:l(e.id)}),r.jsx(tt,{videoId:e.id,initialLikes:C,size:"sm",iconOnly:!0,onLikeChange:L=>{S(L),n==null||n(e.id,!0)}}),a&&r.jsx(Lr,{icon:r.jsx(Er,{className:"w-4 h-4 text-gray-600 dark:text-dark-text"}),ariaLabel:"Compartilhar vídeo",variant:"ghost",size:"sm",rounded:!0,onClick:$}),c&&r.jsx("div",{className:"ml-auto flex items-center gap-2",children:c})]})})]})}function Da({arena:e,onClick:a,actionText:t="Ver Replays",extraBadge:o,className:n}){return r.jsxs("div",{onClick:()=>a==null?void 0:a(e),className:x("group bg-white dark:bg-dark-surface border border-gray-150 dark:border-dark-border rounded-2xl p-5 shadow-xs hover:shadow-md hover:-translate-y-1 transition-all duration-200 cursor-pointer flex flex-col justify-between",n),children:[r.jsxs("div",{className:"space-y-4",children:[r.jsxs("div",{className:"flex items-start justify-between gap-3",children:[r.jsx("div",{className:"w-12 h-12 rounded-xl bg-blue-50 dark:bg-blue-950/40 text-blue-600 dark:text-blue-400 flex items-center justify-center font-bold text-base shrink-0 overflow-hidden border border-blue-150 dark:border-blue-900/40",children:e.logo_url?r.jsx("img",{src:e.logo_url,alt:e.nome,className:"w-full h-full object-cover"}):r.jsx(wa,{className:"w-6 h-6"})}),r.jsxs("div",{className:"flex items-center gap-1.5 flex-wrap justify-end",children:[o,e.ativo!==void 0&&r.jsx(Dr,{variant:e.ativo?"success":"danger",dot:!0,size:"sm",children:e.ativo?"Ativa":"Inativa"})]})]}),r.jsxs("div",{children:[r.jsx("h3",{className:"text-base font-bold text-gray-900 dark:text-dark-text group-hover:text-primary-500 transition-colors line-clamp-1",children:e.nome}),(e.cidade||e.uf)&&r.jsxs("p",{className:"text-xs text-gray-500 dark:text-dark-text-muted font-medium flex items-center gap-1 mt-1",children:[r.jsx(Tr,{className:"w-3.5 h-3.5 text-gray-400 shrink-0"}),r.jsxs("span",{children:[e.cidade,e.cidade&&e.uf?" / ":"",e.uf]})]})]}),e.total_quadras!==void 0&&r.jsxs("div",{className:"flex items-center gap-1.5 text-xs font-semibold text-gray-600 dark:text-dark-text-muted pt-2 border-t border-gray-100 dark:border-dark-border",children:[r.jsx(ya,{className:"w-4 h-4 text-emerald-500"}),r.jsxs("span",{children:[e.total_quadras," ",e.total_quadras===1?"quadra disponível":"quadras disponíveis"]})]})]}),r.jsxs("div",{className:"mt-4 pt-3 flex items-center justify-between text-xs font-bold text-primary-600 dark:text-primary-400 group-hover:text-primary-700 dark:group-hover:text-primary-300 transition-colors",children:[r.jsx("span",{children:t}),r.jsx(ma,{className:"w-4 h-4 transform group-hover:translate-x-1 transition-transform"})]})]})}function La({variant:e="full",themeMode:a="auto",size:t="md",className:o,...n}){const l={sm:e==="full"?"h-6 w-auto":"h-6 w-6",md:e==="full"?"h-8 w-auto":"h-8 w-8",lg:e==="full"?"h-10 w-auto":"h-10 w-10",xl:e==="full"?"h-12 w-auto":"h-12 w-12"};return e==="icon"?r.jsxs("svg",{viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:x(l[t],o),...n,children:[r.jsx("rect",{width:"40",height:"40",rx:"10",fill:"#0EA571"}),r.jsx("path",{d:"M12 28V12H21C23.7614 12 26 14.2386 26 17C26 19.7614 23.7614 22 21 22H16V28H12Z",fill:"white"}),r.jsx("path",{d:"M20 21L26 28H21L16.5 22.5H20V21Z",fill:"#FF6B35"}),r.jsx("circle",{cx:"28",cy:"14",r:"3",fill:"#FF6B35"})]}):r.jsxs("svg",{viewBox:"0 0 160 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:x(l[t],o),...n,children:[r.jsx("rect",{width:"40",height:"40",rx:"10",fill:"#0EA571"}),r.jsx("path",{d:"M12 28V12H21C23.7614 12 26 14.2386 26 17C26 19.7614 23.7614 22 21 22H16V28H12Z",fill:"white"}),r.jsx("path",{d:"M20 21L26 28H21L16.5 22.5H20V21Z",fill:"#FF6B35"}),r.jsx("circle",{cx:"28",cy:"14",r:"3",fill:"#FF6B35"}),r.jsx("text",{x:"48",y:"28",fontFamily:"Inter, system-ui, sans-serif",fontSize:"20",fontWeight:"800",fill:a==="light"?"#0F1419":a==="dark"?"#FFFFFF":"currentColor",letterSpacing:"-0.5px",children:"ROCK"}),r.jsx("text",{x:"112",y:"28",fontFamily:"Inter, system-ui, sans-serif",fontSize:"20",fontWeight:"900",fill:"#0EA571",children:"10"})]})}j.Alert=Ra,j.ArenaCard=Da,j.Badge=Dr,j.Button=zr,j.Card=Vr,j.CardContent=Ur,j.CardDescription=Gr,j.CardFooter=Hr,j.CardHeader=Br,j.CardTitle=Wr,j.Checkbox=Ir,j.ConfirmDialog=Pa,j.DatePicker=Oa,j.DateSelector=Fa,j.DownloadButton=rt,j.EmptyState=za,j.FilterBar=Sa,j.IconButton=Lr,j.Input=Ar,j.LikeButton=tt,j.Loading=Ea,j.Logo=La,j.Modal=et,j.PageHeader=Ta,j.SearchBar=Aa,j.Select=Or,j.Skeleton=Se,j.StatCard=Ca,j.Switch=Mr,j.Table=Jr,j.TableBody=Zr,j.TableCell=qr,j.TableContainer=Kr,j.TableHead=$r,j.TableHeader=Xr,j.TableRow=Qr,j.Tabs=Ia,j.Textarea=Fr,j.VideoCard=Ma,j.cn=x,Object.defineProperty(j,Symbol.toStringTag,{value:"Module"})});