@possibly6400/ui-kit 1.0.16 → 1.0.17
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.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +58 -93
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
(function(_,r){typeof exports=="object"&&typeof module<"u"?r(exports,require("react/jsx-runtime"),require("react")):typeof define=="function"&&define.amd?define(["exports","react/jsx-runtime","react"],r):(_=typeof globalThis<"u"?globalThis:_||self,r(_["UI-Kit"]={},_.React,_.React))})(this,(function(_,r,m){"use strict";function xe(e){var o,s,t="";if(typeof e=="string"||typeof e=="number")t+=e;else if(typeof e=="object")if(Array.isArray(e)){var n=e.length;for(o=0;o<n;o++)e[o]&&(s=xe(e[o]))&&(t&&(t+=" "),t+=s)}else for(s in e)e[s]&&(t&&(t+=" "),t+=s);return t}function et(){for(var e,o,s=0,t="",n=arguments.length;s<n;s++)(e=arguments[s])&&(o=xe(e))&&(t&&(t+=" "),t+=o);return t}const tt=(e,o)=>{const s=new Array(e.length+o.length);for(let t=0;t<e.length;t++)s[t]=e[t];for(let t=0;t<o.length;t++)s[e.length+t]=o[t];return s},rt=(e,o)=>({classGroupId:e,validator:o}),ge=(e=new Map,o=null,s)=>({nextPart:e,validators:o,classGroupId:s}),te="-",_e=[],ot="arbitrary..",st=e=>{const o=at(e),{conflictingClassGroups:s,conflictingClassGroupModifiers:t}=e;return{getClassGroupId:a=>{if(a.startsWith("[")&&a.endsWith("]"))return nt(a);const c=a.split(te),i=c[0]===""&&c.length>1?1:0;return we(c,i,o)},getConflictingClassGroupIds:(a,c)=>{if(c){const i=t[a],u=s[a];return i?u?tt(u,i):i:u||_e}return s[a]||_e}}},we=(e,o,s)=>{if(e.length-o===0)return s.classGroupId;const n=e[o],l=s.nextPart.get(n);if(l){const u=we(e,o+1,l);if(u)return u}const a=s.validators;if(a===null)return;const c=o===0?e.join(te):e.slice(o).join(te),i=a.length;for(let u=0;u<i;u++){const x=a[u];if(x.validator(c))return x.classGroupId}},nt=e=>e.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const o=e.slice(1,-1),s=o.indexOf(":"),t=o.slice(0,s);return t?ot+t:void 0})(),at=e=>{const{theme:o,classGroups:s}=e;return lt(s,o)},lt=(e,o)=>{const s=ge();for(const t in e){const n=e[t];ce(n,s,t,o)}return s},ce=(e,o,s,t)=>{const n=e.length;for(let l=0;l<n;l++){const a=e[l];it(a,o,s,t)}},it=(e,o,s,t)=>{if(typeof e=="string"){ct(e,o,s);return}if(typeof e=="function"){dt(e,o,s,t);return}pt(e,o,s,t)},ct=(e,o,s)=>{const t=e===""?o:ve(o,e);t.classGroupId=s},dt=(e,o,s,t)=>{if(ft(e)){ce(e(t),o,s,t);return}o.validators===null&&(o.validators=[]),o.validators.push(rt(s,e))},pt=(e,o,s,t)=>{const n=Object.entries(e),l=n.length;for(let a=0;a<l;a++){const[c,i]=n[a];ce(i,ve(o,c),s,t)}},ve=(e,o)=>{let s=e;const t=o.split(te),n=t.length;for(let l=0;l<n;l++){const a=t[l];let c=s.nextPart.get(a);c||(c=ge(),s.nextPart.set(a,c)),s=c}return s},ft=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,ut=e=>{if(e<1)return{get:()=>{},set:()=>{}};let o=0,s=Object.create(null),t=Object.create(null);const n=(l,a)=>{s[l]=a,o++,o>e&&(o=0,t=s,s=Object.create(null))};return{get(l){let a=s[l];if(a!==void 0)return a;if((a=t[l])!==void 0)return n(l,a),a},set(l,a){l in s?s[l]=a:n(l,a)}}},de="!",ye=":",mt=[],ke=(e,o,s,t,n)=>({modifiers:e,hasImportantModifier:o,baseClassName:s,maybePostfixModifierPosition:t,isExternal:n}),bt=e=>{const{prefix:o,experimentalParseClassName:s}=e;let t=n=>{const l=[];let a=0,c=0,i=0,u;const x=n.length;for(let z=0;z<x;z++){const k=n[z];if(a===0&&c===0){if(k===ye){l.push(n.slice(i,z)),i=z+1;continue}if(k==="/"){u=z;continue}}k==="["?a++:k==="]"?a--:k==="("?c++:k===")"&&c--}const w=l.length===0?n:n.slice(i);let v=w,N=!1;w.endsWith(de)?(v=w.slice(0,-1),N=!0):w.startsWith(de)&&(v=w.slice(1),N=!0);const y=u&&u>i?u-i:void 0;return ke(l,N,v,y)};if(o){const n=o+ye,l=t;t=a=>a.startsWith(n)?l(a.slice(n.length)):ke(mt,!1,a,void 0,!0)}if(s){const n=t;t=l=>s({className:l,parseClassName:n})}return t},ht=e=>{const o=new Map;return e.orderSensitiveModifiers.forEach((s,t)=>{o.set(s,1e6+t)}),s=>{const t=[];let n=[];for(let l=0;l<s.length;l++){const a=s[l],c=a[0]==="[",i=o.has(a);c||i?(n.length>0&&(n.sort(),t.push(...n),n=[]),t.push(a)):n.push(a)}return n.length>0&&(n.sort(),t.push(...n)),t}},xt=e=>({cache:ut(e.cacheSize),parseClassName:bt(e),sortModifiers:ht(e),...st(e)}),gt=/\s+/,_t=(e,o)=>{const{parseClassName:s,getClassGroupId:t,getConflictingClassGroupIds:n,sortModifiers:l}=o,a=[],c=e.trim().split(gt);let i="";for(let u=c.length-1;u>=0;u-=1){const x=c[u],{isExternal:w,modifiers:v,hasImportantModifier:N,baseClassName:y,maybePostfixModifierPosition:z}=s(x);if(w){i=x+(i.length>0?" "+i:i);continue}let k=!!z,C=t(k?y.substring(0,z):y);if(!C){if(!k){i=x+(i.length>0?" "+i:i);continue}if(C=t(y),!C){i=x+(i.length>0?" "+i:i);continue}k=!1}const L=v.length===0?"":v.length===1?v[0]:l(v).join(":"),V=N?L+de:L,T=V+C;if(a.indexOf(T)>-1)continue;a.push(T);const M=n(C,k);for(let I=0;I<M.length;++I){const P=M[I];a.push(V+P)}i=x+(i.length>0?" "+i:i)}return i},wt=(...e)=>{let o=0,s,t,n="";for(;o<e.length;)(s=e[o++])&&(t=Ce(s))&&(n&&(n+=" "),n+=t);return n},Ce=e=>{if(typeof e=="string")return e;let o,s="";for(let t=0;t<e.length;t++)e[t]&&(o=Ce(e[t]))&&(s&&(s+=" "),s+=o);return s},vt=(e,...o)=>{let s,t,n,l;const a=i=>{const u=o.reduce((x,w)=>w(x),e());return s=xt(u),t=s.cache.get,n=s.cache.set,l=c,c(i)},c=i=>{const u=t(i);if(u)return u;const x=_t(i,s);return n(i,x),x};return l=a,(...i)=>l(wt(...i))},yt=[],S=e=>{const o=s=>s[e]||yt;return o.isThemeGetter=!0,o},ze=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Ne=/^\((?:(\w[\w-]*):)?(.+)\)$/i,kt=/^\d+\/\d+$/,Ct=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,zt=/\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$/,Nt=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,Mt=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,St=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Y=e=>kt.test(e),g=e=>!!e&&!Number.isNaN(Number(e)),O=e=>!!e&&Number.isInteger(Number(e)),pe=e=>e.endsWith("%")&&g(e.slice(0,-1)),H=e=>Ct.test(e),Lt=()=>!0,At=e=>zt.test(e)&&!Nt.test(e),Me=()=>!1,It=e=>Mt.test(e),Tt=e=>St.test(e),Et=e=>!d(e)&&!p(e),Ft=e=>K(e,Te,Me),d=e=>ze.test(e),W=e=>K(e,Ee,At),fe=e=>K(e,Pt,g),Se=e=>K(e,Ae,Me),Vt=e=>K(e,Ie,Tt),re=e=>K(e,Fe,It),p=e=>Ne.test(e),Q=e=>X(e,Ee),jt=e=>X(e,$t),Le=e=>X(e,Ae),Bt=e=>X(e,Te),Gt=e=>X(e,Ie),oe=e=>X(e,Fe,!0),K=(e,o,s)=>{const t=ze.exec(e);return t?t[1]?o(t[1]):s(t[2]):!1},X=(e,o,s=!1)=>{const t=Ne.exec(e);return t?t[1]?o(t[1]):s:!1},Ae=e=>e==="position"||e==="percentage",Ie=e=>e==="image"||e==="url",Te=e=>e==="length"||e==="size"||e==="bg-size",Ee=e=>e==="length",Pt=e=>e==="number",$t=e=>e==="family-name",Fe=e=>e==="shadow",Ht=vt(()=>{const e=S("color"),o=S("font"),s=S("text"),t=S("font-weight"),n=S("tracking"),l=S("leading"),a=S("breakpoint"),c=S("container"),i=S("spacing"),u=S("radius"),x=S("shadow"),w=S("inset-shadow"),v=S("text-shadow"),N=S("drop-shadow"),y=S("blur"),z=S("perspective"),k=S("aspect"),C=S("ease"),L=S("animate"),V=()=>["auto","avoid","all","avoid-page","page","left","right","column"],T=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],M=()=>[...T(),p,d],I=()=>["auto","hidden","clip","visible","scroll"],P=()=>["auto","contain","none"],h=()=>[p,d,i],B=()=>[Y,"full","auto",...h()],ee=()=>[O,"none","subgrid",p,d],E=()=>["auto",{span:["full",O,p,d]},O,p,d],se=()=>[O,"auto",p,d],Ye=()=>["auto","min","max","fr",p,d],me=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],J=()=>["start","end","center","stretch","center-safe","end-safe"],D=()=>["auto",...h()],q=()=>[Y,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...h()],b=()=>[e,p,d],Ke=()=>[...T(),Le,Se,{position:[p,d]}],Xe=()=>["no-repeat",{repeat:["","x","y","space","round"]}],Je=()=>["auto","cover","contain",Bt,Ft,{size:[p,d]}],be=()=>[pe,Q,W],F=()=>["","none","full",u,p,d],j=()=>["",g,Q,W],ne=()=>["solid","dashed","dotted","double"],Qe=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],A=()=>[g,pe,Le,Se],Re=()=>["","none",y,p,d],ae=()=>["none",g,p,d],le=()=>["none",g,p,d],he=()=>[g,p,d],ie=()=>[Y,"full",...h()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[H],breakpoint:[H],color:[Lt],container:[H],"drop-shadow":[H],ease:["in","out","in-out"],font:[Et],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[H],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[H],shadow:[H],spacing:["px",g],text:[H],"text-shadow":[H],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",Y,d,p,k]}],container:["container"],columns:[{columns:[g,d,p,c]}],"break-after":[{"break-after":V()}],"break-before":[{"break-before":V()}],"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:M()}],overflow:[{overflow:I()}],"overflow-x":[{"overflow-x":I()}],"overflow-y":[{"overflow-y":I()}],overscroll:[{overscroll:P()}],"overscroll-x":[{"overscroll-x":P()}],"overscroll-y":[{"overscroll-y":P()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:B()}],"inset-x":[{"inset-x":B()}],"inset-y":[{"inset-y":B()}],start:[{start:B()}],end:[{end:B()}],top:[{top:B()}],right:[{right:B()}],bottom:[{bottom:B()}],left:[{left:B()}],visibility:["visible","invisible","collapse"],z:[{z:[O,"auto",p,d]}],basis:[{basis:[Y,"full","auto",c,...h()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[g,Y,"auto","initial","none",d]}],grow:[{grow:["",g,p,d]}],shrink:[{shrink:["",g,p,d]}],order:[{order:[O,"first","last","none",p,d]}],"grid-cols":[{"grid-cols":ee()}],"col-start-end":[{col:E()}],"col-start":[{"col-start":se()}],"col-end":[{"col-end":se()}],"grid-rows":[{"grid-rows":ee()}],"row-start-end":[{row:E()}],"row-start":[{"row-start":se()}],"row-end":[{"row-end":se()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":Ye()}],"auto-rows":[{"auto-rows":Ye()}],gap:[{gap:h()}],"gap-x":[{"gap-x":h()}],"gap-y":[{"gap-y":h()}],"justify-content":[{justify:[...me(),"normal"]}],"justify-items":[{"justify-items":[...J(),"normal"]}],"justify-self":[{"justify-self":["auto",...J()]}],"align-content":[{content:["normal",...me()]}],"align-items":[{items:[...J(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...J(),{baseline:["","last"]}]}],"place-content":[{"place-content":me()}],"place-items":[{"place-items":[...J(),"baseline"]}],"place-self":[{"place-self":["auto",...J()]}],p:[{p:h()}],px:[{px:h()}],py:[{py:h()}],ps:[{ps:h()}],pe:[{pe:h()}],pt:[{pt:h()}],pr:[{pr:h()}],pb:[{pb:h()}],pl:[{pl:h()}],m:[{m:D()}],mx:[{mx:D()}],my:[{my:D()}],ms:[{ms:D()}],me:[{me:D()}],mt:[{mt:D()}],mr:[{mr:D()}],mb:[{mb:D()}],ml:[{ml:D()}],"space-x":[{"space-x":h()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":h()}],"space-y-reverse":["space-y-reverse"],size:[{size:q()}],w:[{w:[c,"screen",...q()]}],"min-w":[{"min-w":[c,"screen","none",...q()]}],"max-w":[{"max-w":[c,"screen","none","prose",{screen:[a]},...q()]}],h:[{h:["screen","lh",...q()]}],"min-h":[{"min-h":["screen","lh","none",...q()]}],"max-h":[{"max-h":["screen","lh",...q()]}],"font-size":[{text:["base",s,Q,W]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[t,p,fe]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",pe,d]}],"font-family":[{font:[jt,d,o]}],"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,p,d]}],"line-clamp":[{"line-clamp":[g,"none",p,fe]}],leading:[{leading:[l,...h()]}],"list-image":[{"list-image":["none",p,d]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",p,d]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:b()}],"text-color":[{text:b()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ne(),"wavy"]}],"text-decoration-thickness":[{decoration:[g,"from-font","auto",p,W]}],"text-decoration-color":[{decoration:b()}],"underline-offset":[{"underline-offset":[g,"auto",p,d]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:h()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",p,d]}],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",p,d]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:Ke()}],"bg-repeat":[{bg:Xe()}],"bg-size":[{bg:Je()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},O,p,d],radial:["",p,d],conic:[O,p,d]},Gt,Vt]}],"bg-color":[{bg:b()}],"gradient-from-pos":[{from:be()}],"gradient-via-pos":[{via:be()}],"gradient-to-pos":[{to:be()}],"gradient-from":[{from:b()}],"gradient-via":[{via:b()}],"gradient-to":[{to:b()}],rounded:[{rounded:F()}],"rounded-s":[{"rounded-s":F()}],"rounded-e":[{"rounded-e":F()}],"rounded-t":[{"rounded-t":F()}],"rounded-r":[{"rounded-r":F()}],"rounded-b":[{"rounded-b":F()}],"rounded-l":[{"rounded-l":F()}],"rounded-ss":[{"rounded-ss":F()}],"rounded-se":[{"rounded-se":F()}],"rounded-ee":[{"rounded-ee":F()}],"rounded-es":[{"rounded-es":F()}],"rounded-tl":[{"rounded-tl":F()}],"rounded-tr":[{"rounded-tr":F()}],"rounded-br":[{"rounded-br":F()}],"rounded-bl":[{"rounded-bl":F()}],"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-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:[...ne(),"hidden","none"]}],"divide-style":[{divide:[...ne(),"hidden","none"]}],"border-color":[{border:b()}],"border-color-x":[{"border-x":b()}],"border-color-y":[{"border-y":b()}],"border-color-s":[{"border-s":b()}],"border-color-e":[{"border-e":b()}],"border-color-t":[{"border-t":b()}],"border-color-r":[{"border-r":b()}],"border-color-b":[{"border-b":b()}],"border-color-l":[{"border-l":b()}],"divide-color":[{divide:b()}],"outline-style":[{outline:[...ne(),"none","hidden"]}],"outline-offset":[{"outline-offset":[g,p,d]}],"outline-w":[{outline:["",g,Q,W]}],"outline-color":[{outline:b()}],shadow:[{shadow:["","none",x,oe,re]}],"shadow-color":[{shadow:b()}],"inset-shadow":[{"inset-shadow":["none",w,oe,re]}],"inset-shadow-color":[{"inset-shadow":b()}],"ring-w":[{ring:j()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:b()}],"ring-offset-w":[{"ring-offset":[g,W]}],"ring-offset-color":[{"ring-offset":b()}],"inset-ring-w":[{"inset-ring":j()}],"inset-ring-color":[{"inset-ring":b()}],"text-shadow":[{"text-shadow":["none",v,oe,re]}],"text-shadow-color":[{"text-shadow":b()}],opacity:[{opacity:[g,p,d]}],"mix-blend":[{"mix-blend":[...Qe(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":Qe()}],"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":[g]}],"mask-image-linear-from-pos":[{"mask-linear-from":A()}],"mask-image-linear-to-pos":[{"mask-linear-to":A()}],"mask-image-linear-from-color":[{"mask-linear-from":b()}],"mask-image-linear-to-color":[{"mask-linear-to":b()}],"mask-image-t-from-pos":[{"mask-t-from":A()}],"mask-image-t-to-pos":[{"mask-t-to":A()}],"mask-image-t-from-color":[{"mask-t-from":b()}],"mask-image-t-to-color":[{"mask-t-to":b()}],"mask-image-r-from-pos":[{"mask-r-from":A()}],"mask-image-r-to-pos":[{"mask-r-to":A()}],"mask-image-r-from-color":[{"mask-r-from":b()}],"mask-image-r-to-color":[{"mask-r-to":b()}],"mask-image-b-from-pos":[{"mask-b-from":A()}],"mask-image-b-to-pos":[{"mask-b-to":A()}],"mask-image-b-from-color":[{"mask-b-from":b()}],"mask-image-b-to-color":[{"mask-b-to":b()}],"mask-image-l-from-pos":[{"mask-l-from":A()}],"mask-image-l-to-pos":[{"mask-l-to":A()}],"mask-image-l-from-color":[{"mask-l-from":b()}],"mask-image-l-to-color":[{"mask-l-to":b()}],"mask-image-x-from-pos":[{"mask-x-from":A()}],"mask-image-x-to-pos":[{"mask-x-to":A()}],"mask-image-x-from-color":[{"mask-x-from":b()}],"mask-image-x-to-color":[{"mask-x-to":b()}],"mask-image-y-from-pos":[{"mask-y-from":A()}],"mask-image-y-to-pos":[{"mask-y-to":A()}],"mask-image-y-from-color":[{"mask-y-from":b()}],"mask-image-y-to-color":[{"mask-y-to":b()}],"mask-image-radial":[{"mask-radial":[p,d]}],"mask-image-radial-from-pos":[{"mask-radial-from":A()}],"mask-image-radial-to-pos":[{"mask-radial-to":A()}],"mask-image-radial-from-color":[{"mask-radial-from":b()}],"mask-image-radial-to-color":[{"mask-radial-to":b()}],"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":T()}],"mask-image-conic-pos":[{"mask-conic":[g]}],"mask-image-conic-from-pos":[{"mask-conic-from":A()}],"mask-image-conic-to-pos":[{"mask-conic-to":A()}],"mask-image-conic-from-color":[{"mask-conic-from":b()}],"mask-image-conic-to-color":[{"mask-conic-to":b()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:Ke()}],"mask-repeat":[{mask:Xe()}],"mask-size":[{mask:Je()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",p,d]}],filter:[{filter:["","none",p,d]}],blur:[{blur:Re()}],brightness:[{brightness:[g,p,d]}],contrast:[{contrast:[g,p,d]}],"drop-shadow":[{"drop-shadow":["","none",N,oe,re]}],"drop-shadow-color":[{"drop-shadow":b()}],grayscale:[{grayscale:["",g,p,d]}],"hue-rotate":[{"hue-rotate":[g,p,d]}],invert:[{invert:["",g,p,d]}],saturate:[{saturate:[g,p,d]}],sepia:[{sepia:["",g,p,d]}],"backdrop-filter":[{"backdrop-filter":["","none",p,d]}],"backdrop-blur":[{"backdrop-blur":Re()}],"backdrop-brightness":[{"backdrop-brightness":[g,p,d]}],"backdrop-contrast":[{"backdrop-contrast":[g,p,d]}],"backdrop-grayscale":[{"backdrop-grayscale":["",g,p,d]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[g,p,d]}],"backdrop-invert":[{"backdrop-invert":["",g,p,d]}],"backdrop-opacity":[{"backdrop-opacity":[g,p,d]}],"backdrop-saturate":[{"backdrop-saturate":[g,p,d]}],"backdrop-sepia":[{"backdrop-sepia":["",g,p,d]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":h()}],"border-spacing-x":[{"border-spacing-x":h()}],"border-spacing-y":[{"border-spacing-y":h()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",p,d]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[g,"initial",p,d]}],ease:[{ease:["linear","initial",C,p,d]}],delay:[{delay:[g,p,d]}],animate:[{animate:["none",L,p,d]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[z,p,d]}],"perspective-origin":[{"perspective-origin":M()}],rotate:[{rotate:ae()}],"rotate-x":[{"rotate-x":ae()}],"rotate-y":[{"rotate-y":ae()}],"rotate-z":[{"rotate-z":ae()}],scale:[{scale:le()}],"scale-x":[{"scale-x":le()}],"scale-y":[{"scale-y":le()}],"scale-z":[{"scale-z":le()}],"scale-3d":["scale-3d"],skew:[{skew:he()}],"skew-x":[{"skew-x":he()}],"skew-y":[{"skew-y":he()}],transform:[{transform:[p,d,"","none","gpu","cpu"]}],"transform-origin":[{origin:M()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:ie()}],"translate-x":[{"translate-x":ie()}],"translate-y":[{"translate-y":ie()}],"translate-z":[{"translate-z":ie()}],"translate-none":["translate-none"],accent:[{accent:b()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:b()}],"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",p,d]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":h()}],"scroll-mx":[{"scroll-mx":h()}],"scroll-my":[{"scroll-my":h()}],"scroll-ms":[{"scroll-ms":h()}],"scroll-me":[{"scroll-me":h()}],"scroll-mt":[{"scroll-mt":h()}],"scroll-mr":[{"scroll-mr":h()}],"scroll-mb":[{"scroll-mb":h()}],"scroll-ml":[{"scroll-ml":h()}],"scroll-p":[{"scroll-p":h()}],"scroll-px":[{"scroll-px":h()}],"scroll-py":[{"scroll-py":h()}],"scroll-ps":[{"scroll-ps":h()}],"scroll-pe":[{"scroll-pe":h()}],"scroll-pt":[{"scroll-pt":h()}],"scroll-pr":[{"scroll-pr":h()}],"scroll-pb":[{"scroll-pb":h()}],"scroll-pl":[{"scroll-pl":h()}],"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",p,d]}],fill:[{fill:["none",...b()]}],"stroke-w":[{stroke:[g,Q,W,fe]}],stroke:[{stroke:["none",...b()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],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-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}});function f(...e){return Ht(et(e))}const Dt={primary:"text-[#7e97b8] bg-[#dbeafe] border-[rgba(255,255,255,0.333)] shadow-[-4px_-2px_8px_0px_#ffffff,4px_2px_8px_0px_rgb(59_130_246_/_24%)] hover:text-[#516d91] hover:bg-[#bfdbfe] hover:shadow-[-2px_-1px_4px_0px_#ffffff,2px_1px_4px_0px_rgb(59_130_246_/_24%)]",secondary:"text-[#6b7280] bg-[#d1fae5] border-[rgba(255,255,255,0.4)] shadow-[-4px_-2px_8px_0px_#ffffff,4px_2px_8px_0px_rgb(34_197_94_/_18%)] hover:text-[#4b5563] hover:bg-[#a7f3d0] hover:shadow-[-2px_-1px_4px_0px_#ffffff,2px_1px_4px_0px_rgb(34_197_94_/_18%)]",danger:"text-black font-bold bg-[#fecaca] border-[rgba(255,255,255,0.5)] shadow-[-4px_-2px_8px_0px_#ffffff,4px_2px_8px_0px_rgb(239_68_68_/_18%)] hover:text-black hover:bg-[#fed7d7] hover:shadow-[-2px_-1px_4px_0px_#ffffff,2px_1px_4px_0px_rgb(239_68_68_/_18%)]",ghost:"text-[#6b7280] bg-transparent border-[rgba(255,255,255,0.2)] shadow-[-4px_-2px_8px_0px_rgba(255,255,255,0.05),4px_2px_8px_0px_rgba(0,0,0,0.05)] hover:text-[#4b5563] hover:bg-[rgba(255,255,255,0.05)] hover:shadow-[-2px_-1px_4px_0px_rgba(255,255,255,0.05),2px_1px_4px_0px_rgba(0,0,0,0.05)] theme-dark:text-white theme-dark:hover:text-white"},Ot={sm:"px-4 py-2 pl-5 text-xs h-8",md:"px-6 py-4 pl-7 text-sm h-10",lg:"px-8 py-5 pl-9 text-base h-12"},R=m.forwardRef(({variant:e="primary",size:o="md",loading:s=!1,disabled:t=!1,className:n,children:l,...a},c)=>r.jsxs("button",{ref:c,className:f("flex items-center justify-center gap-2.5","font-bold","tracking-[0.4px]","border-2 border-solid","rounded-[40px]","transform translate-x-0 translate-y-0 rotate-0","transition-all duration-200","active:shadow-none","focus-visible focus:outline-none","disabled:cursor-not-allowed disabled:opacity-50",Dt[e],Ot[o],n),style:{fontFamily:'"Manrope", sans-serif'},disabled:t||s,"aria-busy":s,...a,children:[s&&r.jsxs("svg",{className:"animate-spin h-6 w-6",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true",children:[r.jsx("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),r.jsx("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]}),l]}));R.displayName="Button";const G={button:"_button_1l5kn_7","button--size-sm":"_button--size-sm_1l5kn_61",state:"_state_1l5kn_79","button--size-md":"_button--size-md_1l5kn_87","button--size-lg":"_button--size-lg_1l5kn_113",icon:"_icon_1l5kn_155",outline:"_outline_1l5kn_209","state--default":"_state--default_1l5kn_233","state--sent":"_state--sent_1l5kn_817"},Ve=e=>e.split("").map((o,s)=>{const t=o===" "?" ":o;return r.jsx("span",{style:{"--i":s},children:t},s)}),Wt={sm:G["button--size-sm"],md:G["button--size-md"],lg:G["button--size-lg"]},Zt={primary:"text-[#7e97b8] bg-[#dbeafe] border-[rgba(255,255,255,0.333)] shadow-[-4px_-2px_8px_0px_#ffffff,4px_2px_8px_0px_rgb(59_130_246_/_24%)] hover:text-[#516d91] hover:bg-[#bfdbfe] hover:shadow-[-2px_-1px_4px_0px_#ffffff,2px_1px_4px_0px_rgb(59_130_246_/_24%)]",secondary:"text-[#6b7280] bg-[#d1fae5] border-[rgba(255,255,255,0.4)] shadow-[-4px_-2px_8px_0px_#ffffff,4px_2px_8px_0px_rgb(34_197_94_/_18%)] hover:text-[#4b5563] hover:bg-[#a7f3d0] hover:shadow-[-2px_-1px_4px_0px_#ffffff,2px_1px_4px_0px_rgb(34_197_94_/_18%)]",danger:"text-[#ef4444] bg-[#fecaca] border-[rgba(255,255,255,0.5)] shadow-[-4px_-2px_8px_0px_#ffffff,4px_2px_8px_0px_rgb(239_68_68_/_18%)] hover:text-[#dc2626] hover:bg-[#fed7d7] hover:shadow-[-2px_-1px_4px_0px_#ffffff,2px_1px_4px_0px_rgb(239_68_68_/_18%)]"},Ut=({children:e="Send Message",successText:o="Sent",onSubmit:s,disabled:t,variant:n="primary",size:l="md",className:a,...c})=>{const[i,u]=m.useState(!1),[x,w]=m.useState(!1),v=m.useId(),N=m.useRef(null),y=m.useRef(void 0);m.useEffect(()=>()=>{y.current!==void 0&&window.clearTimeout(y.current)},[]);const z=m.useCallback(async k=>{if(s&&!i&&!x)try{w(!0),await s(),u(!0),y.current!==void 0&&window.clearTimeout(y.current),y.current=window.setTimeout(()=>{u(!1)},3e3)}catch(C){console.error("Submit failed:",C)}finally{w(!1)}c.onClick?.(k)},[s,i,x,c.onClick]);return r.jsxs("button",{...c,ref:N,type:"submit",disabled:t||x,onClick:z,className:f(G.button,Zt[n],Wt[l],a),"aria-label":i?"Submission successful":c["aria-label"]||"Submit","aria-disabled":t||x,"aria-busy":x,children:[r.jsx("div",{className:G.outline}),r.jsxs("div",{className:f(G.state,G["state--default"]),children:[r.jsx("div",{className:G.icon,children:x?r.jsxs("svg",{className:"animate-spin",width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:[r.jsx("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),r.jsx("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]}):r.jsxs("svg",{width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[r.jsxs("g",{style:{filter:`url(#${v})`},children:[r.jsx("path",{d:"M14.2199 21.63C13.0399 21.63 11.3699 20.8 10.0499 16.83L9.32988 14.67L7.16988 13.95C3.20988 12.63 2.37988 10.96 2.37988 9.78001C2.37988 8.61001 3.20988 6.93001 7.16988 5.60001L15.6599 2.77001C17.7799 2.06001 19.5499 2.27001 20.6399 3.35001C21.7299 4.43001 21.9399 6.21001 21.2299 8.33001L18.3999 16.82C17.0699 20.8 15.3999 21.63 14.2199 21.63ZM7.63988 7.03001C4.85988 7.96001 3.86988 9.06001 3.86988 9.78001C3.86988 10.5 4.85988 11.6 7.63988 12.52L10.1599 13.36C10.3799 13.43 10.5599 13.61 10.6299 13.83L11.4699 16.35C12.3899 19.13 13.4999 20.12 14.2199 20.12C14.9399 20.12 16.0399 19.13 16.9699 16.35L19.7999 7.86001C20.3099 6.32001 20.2199 5.06001 19.5699 4.41001C18.9199 3.76001 17.6599 3.68001 16.1299 4.19001L7.63988 7.03001Z",fill:"#6b7280"}),r.jsx("path",{d:"M10.11 14.4C9.92005 14.4 9.73005 14.33 9.58005 14.18C9.29005 13.89 9.29005 13.41 9.58005 13.12L13.16 9.53C13.45 9.24 13.93 9.24 14.22 9.53C14.51 9.82 14.51 10.3 14.22 10.59L10.64 14.18C10.5 14.33 10.3 14.4 10.11 14.4Z",fill:"#6b7280"})]}),r.jsx("defs",{children:r.jsx("filter",{id:v,children:r.jsx("feDropShadow",{dx:"0",dy:"1",stdDeviation:"0.3",floodOpacity:"0.25"})})})]})}),r.jsx("p",{children:Ve(typeof e=="string"?e:"Send Message")})]}),r.jsxs("div",{className:f(G.state,G["state--sent"]),children:[r.jsx("div",{className:G.icon,children:r.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",height:"1em",width:"1em",strokeWidth:"0.5px",stroke:"black",children:r.jsxs("g",{style:{filter:`url(#${v})`},children:[r.jsx("path",{fill:"currentColor",d:"M12 22.75C6.07 22.75 1.25 17.93 1.25 12C1.25 6.07 6.07 1.25 12 1.25C17.93 1.25 22.75 6.07 22.75 12C22.75 17.93 17.93 22.75 12 22.75ZM12 2.75C6.9 2.75 2.75 6.9 2.75 12C2.75 17.1 6.9 21.25 12 21.25C17.1 21.25 21.25 17.1 21.25 12C21.25 6.9 17.1 2.75 12 2.75Z"}),r.jsx("path",{fill:"currentColor",d:"M10.5795 15.5801C10.3795 15.5801 10.1895 15.5001 10.0495 15.3601L7.21945 12.5301C6.92945 12.2401 6.92945 11.7601 7.21945 11.4701C7.50945 11.1801 7.98945 11.1801 8.27945 11.4701L10.5795 13.7701L15.7195 8.6301C16.0095 8.3401 16.4895 8.3401 16.7795 8.6301C17.0695 8.9201 17.0695 9.4001 16.7795 9.6901L11.1095 15.3601C10.9695 15.5001 10.7795 15.5801 10.5795 15.5801Z"})]})})}),r.jsx("p",{children:Ve(o)})]})]})},qt={sm:"px-4 py-2 text-sm",md:"px-5 py-[10px] text-base",lg:"px-6 py-3 text-lg"},ue=m.forwardRef(({size:e="md",error:o=!1,className:s,disabled:t,...n},l)=>r.jsxs("div",{className:"relative inline-flex items-center",children:[r.jsx("input",{ref:l,className:f("bg-transparent","border-none","outline-none","w-[247px]","rounded-full","text-text-primary","transition-colors duration-200","disabled:text-text-disabled disabled:cursor-not-allowed",o?"shadow-[inset_2px_5px_10px_var(--input-shadow-error)] cursor-help":"shadow-[inset_2px_5px_10px_var(--input-shadow)]",qt[e],s),style:o?{paddingRight:"2rem"}:void 0,disabled:t,"aria-invalid":o,...n}),o&&r.jsx("svg",{className:"absolute right-2 w-4 h-4 text-danger pointer-events-none flex-shrink-0",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:"2","aria-hidden":"true",children:r.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 8v4m0 4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"})})]}));ue.displayName="Input";const je=m.forwardRef(({label:e,error:o=!1,className:s,disabled:t,checked:n,onChange:l,...a},c)=>{const i=m.useId();return r.jsxs("div",{className:f("flex items-center space-x-2",t&&"cursor-not-allowed",o&&!t&&"cursor-help",s),children:[r.jsxs("label",{className:f("checkbox-container",t&&"opacity-50 cursor-not-allowed",o&&!t&&"cursor-help",!t&&!o&&"cursor-pointer"),children:[r.jsx("input",{ref:c,id:i,type:"checkbox",disabled:t,checked:n,onChange:l,"aria-checked":n,"aria-invalid":o,"aria-disabled":t,...a}),r.jsx("svg",{viewBox:"0 0 64 64",height:"1em",width:"1em","aria-hidden":"true",children:r.jsx("path",{d:"M 0 16 V 56 A 8 8 90 0 0 8 64 H 56 A 8 8 90 0 0 64 56 V 8 A 8 8 90 0 0 56 0 H 8 A 8 8 90 0 0 0 8 V 16 L 32 48 L 64 16 V 8 A 8 8 90 0 0 56 0 H 8 A 8 8 90 0 0 0 8 V 56 A 8 8 90 0 0 8 64 H 56 A 8 8 90 0 0 64 56 V 16",pathLength:"575.0541381835938",className:f("checkbox-path",o&&"checkbox-path-error")})})]}),e&&r.jsx("label",{htmlFor:i,className:f("text-sm font-medium select-none",t?"text-text-disabled cursor-not-allowed":o?"text-text-primary cursor-help":"text-text-primary cursor-pointer"),children:e})]})});je.displayName="Checkbox";const Yt=({label:e,error:o=!1,className:s,disabled:t,checked:n,onChange:l,id:a,...c})=>{const i=a||m.useId(),u=m.useRef(null),x=w=>{(w.key==="Enter"||w.key===" ")&&!t&&(w.preventDefault(),u.current?.click())};return r.jsxs("div",{className:f("toggle-wrapper",o&&"toggle-wrapper--error",t&&"cursor-not-allowed",o&&!t&&"cursor-help",s),children:[r.jsx("input",{ref:u,id:i,className:"toggle-checkbox",type:"checkbox",checked:n,onChange:l,disabled:t,role:"switch","aria-checked":n,"aria-disabled":t,"aria-invalid":o,...c}),r.jsx("div",{className:f("toggle-container",t&&"cursor-not-allowed",o&&!t&&"cursor-help"),onKeyDown:x,tabIndex:t?-1:0,role:"button","aria-hidden":"true",children:r.jsx("div",{className:"toggle-button",children:r.jsx("div",{className:"toggle-button-circles-container",children:Array.from({length:12}).map((w,v)=>r.jsx("div",{className:"toggle-button-circle"},v))})})}),e&&r.jsx("label",{htmlFor:i,className:f("text-sm font-medium select-none ml-2",t?"text-text-disabled cursor-not-allowed":o?"text-text-primary cursor-help":"text-text-primary cursor-pointer"),children:e})]})},Kt=({className:e,...o})=>r.jsx("div",{className:f("card","w-full","rounded-lg border border-border","bg-surface-secondary text-text-primary","shadow-sm",e),...o}),Xt=({className:e,...o})=>r.jsx("div",{className:f("flex items-start justify-between gap-4 px-6 py-4 border-b border-border",e),...o}),Jt=({className:e,...o})=>r.jsx("div",{className:f("px-6 py-4",e),...o}),Qt=({className:e,...o})=>r.jsx("div",{className:f("flex items-center justify-end gap-3 px-6 py-4 border-t border-border",e),...o}),Be={sm:.7,md:1,lg:1.3},Rt=({size:e="md",className:o,...s})=>{const t=8*Be[e];return r.jsxs("div",{className:f("loader",o),style:{fontSize:`${t}px`},role:"status","aria-label":"Loading",...s,children:[r.jsx("div",{className:"loader-face loader-face-1",children:r.jsx("div",{className:"loader-circle"})}),r.jsx("div",{className:"loader-face loader-face-2",children:r.jsx("div",{className:"loader-circle"})})]})},er=({size:e="md",variant:o="inline",label:s,className:t,...n})=>{const l=8*Be[e];return o==="container"?r.jsx("div",{className:f("relative w-full min-h-[8rem] rounded-lg border border-border bg-surface-secondary flex items-center justify-center",t),role:"status","aria-label":s||"Loading",...n,children:r.jsxs("div",{className:"flex flex-col items-center gap-3",children:[r.jsxs("div",{className:"loader",style:{fontSize:`${l}px`},"aria-hidden":"true",children:[r.jsx("div",{className:"loader-face loader-face-1",children:r.jsx("div",{className:"loader-circle"})}),r.jsx("div",{className:"loader-face loader-face-2",children:r.jsx("div",{className:"loader-circle"})})]}),s&&r.jsx("span",{className:"text-sm text-text-secondary",children:s})]})}):r.jsxs("div",{className:f("inline-flex items-center gap-2",t),role:"status","aria-label":s||"Loading",...n,children:[r.jsxs("div",{className:"loader",style:{fontSize:`${l}px`},"aria-hidden":"true",children:[r.jsx("div",{className:"loader-face loader-face-1",children:r.jsx("div",{className:"loader-circle"})}),r.jsx("div",{className:"loader-face loader-face-2",children:r.jsx("div",{className:"loader-circle"})})]}),s&&r.jsx("span",{className:"text-sm text-text-secondary",children:s})]})},Ge=m.createContext(null),tr=({name:e,legend:o,value:s,defaultValue:t,disabled:n=!1,onValueChange:l,className:a,children:c,...i})=>{const u=s!==void 0,[x,w]=m.useState(t),v=u?s:x,N=m.useCallback(y=>{u||w(y),l?.(y)},[u,l]);return r.jsx(Ge.Provider,{value:{name:e,value:v,disabled:n,onValueChange:N},children:r.jsxs("fieldset",{className:f("radio-input",n&&"opacity-60 cursor-not-allowed",a),disabled:n,...i,children:[o&&r.jsx("legend",{className:"text-sm font-medium text-text-primary",children:o}),c]})})},rr=({label:e,value:o,disabled:s,checked:t,defaultChecked:n,name:l,onChange:a,onCheckedChange:c,className:i,...u})=>{const x=m.useContext(Ge),w=m.useId(),v=!!(s??x?.disabled),N=l??x?.name,y=!!x,z=t!==void 0,[k,C]=m.useState(!!n),L=y?x?.value===o:z?!!t:k,V=M=>{const I=M.target.checked;y&&I?x?.onValueChange?.(o):z||C(I),c?.(I),a?.(M)},T=r.jsxs("label",{htmlFor:w,className:f(v&&"cursor-not-allowed",i),role:"radio","aria-checked":L,"aria-disabled":v,children:[r.jsx("input",{id:w,type:"radio",name:N,value:o,checked:L,disabled:v,onChange:V,role:"radio","aria-checked":L,"aria-disabled":v,...u}),r.jsx("span",{children:e||""})]});return y?T:r.jsx("div",{className:"radio-input",children:T})},or={top:"bottom-full left-1/2 -translate-x-1/2 mb-1",bottom:"top-full left-1/2 -translate-x-1/2 mt-1",left:"right-full top-1/2 -translate-y-1/2 mr-1",right:"left-full top-1/2 -translate-y-1/2 ml-1"},sr={top:"top-full left-1/2 -translate-x-1/2 -mt-px",bottom:"bottom-full left-1/2 -translate-x-1/2 -mb-px",left:"left-full top-1/2 -translate-y-1/2 -ml-px",right:"right-full top-1/2 -translate-y-1/2 -mr-px"},nr={top:"border-t-border border-r-transparent border-b-transparent border-l-transparent border-t-[6px] border-r-[6px] border-l-[6px]",bottom:"border-b-border border-r-transparent border-t-transparent border-l-transparent border-b-[6px] border-r-[6px] border-l-[6px]",left:"border-l-border border-r-transparent border-t-transparent border-b-transparent border-l-[6px] border-t-[6px] border-b-[6px]",right:"border-r-border border-l-transparent border-t-transparent border-b-transparent border-r-[6px] border-t-[6px] border-b-[6px]"},ar={top:"top-full left-1/2 -translate-x-1/2 -mt-[5px]",bottom:"bottom-full left-1/2 -translate-x-1/2 -mb-[5px]",left:"left-full top-1/2 -translate-y-1/2 -ml-[5px]",right:"right-full top-1/2 -translate-y-1/2 -mr-[5px]"},lr=({open:e,onOpenChange:o,content:s,position:t="top",delay:n=0,disabled:l=!1,children:a,className:c})=>{const i=m.useRef(null),u=m.useRef(null),x=m.useRef(null),w=()=>{i.current!==null&&(window.clearTimeout(i.current),i.current=null)};m.useEffect(()=>w,[]);const v=()=>{if(!l){if(w(),n>0){i.current=window.setTimeout(()=>o?.(!0),n);return}o?.(!0)}},N=()=>{w(),o?.(!1)},y=m.Children.only(a),z=m.useId(),k=C=>{const L=C.relatedTarget,V=x.current?.contains(L),T=u.current?.contains(L);!V&&!T&&N(),y.props.onBlur?.(C)};return r.jsxs("span",{ref:x,className:f("relative inline-block",c),children:[m.cloneElement(y,{"aria-describedby":e&&!l?z:void 0,onMouseEnter:C=>{y.props.onMouseEnter?.(C),v()},onMouseLeave:C=>{y.props.onMouseLeave?.(C);const L=C.relatedTarget;u.current?.contains(L)||N()},onFocus:C=>{y.props.onFocus?.(C),v()},onBlur:k}),e&&!l&&r.jsxs("span",{ref:u,id:z,role:"tooltip",className:f("absolute z-50",or[t],"whitespace-nowrap","rounded-md border border-border bg-surface text-text-primary","px-3 py-2 text-xs shadow-md"),onMouseEnter:v,onMouseLeave:N,children:[s,r.jsx("span",{className:f("absolute w-0 h-0 pointer-events-none",sr[t],nr[t])}),r.jsx("span",{className:f("absolute w-0 h-0 bg-surface pointer-events-none",ar[t],t==="top"&&"border-t-[5px] border-r-[5px] border-l-[5px] border-t-surface border-r-transparent border-l-transparent",t==="bottom"&&"border-b-[5px] border-r-[5px] border-l-[5px] border-b-surface border-r-transparent border-l-transparent",t==="left"&&"border-l-[5px] border-t-[5px] border-b-[5px] border-l-surface border-t-transparent border-b-transparent",t==="right"&&"border-r-[5px] border-t-[5px] border-b-[5px] border-r-surface border-t-transparent border-b-transparent")})]})]})},Pe=m.createContext(void 0),ir=({children:e,defaultTheme:o})=>{const s=()=>{if(typeof window<"u"){const a=localStorage.getItem("theme");if(a==="light"||a==="dark")return a}return typeof window<"u"&&window.matchMedia?window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light":o||"dark"},[t,n]=m.useState(s),l=m.useCallback(a=>{n(a),typeof window<"u"&&localStorage.setItem("theme",a)},[]);return m.useEffect(()=>{if(typeof document>"u")return;const a=document.documentElement;t==="light"?(a.classList.add("theme-light"),a.classList.remove("theme-dark")):(a.classList.add("theme-dark"),a.classList.remove("theme-light"))},[t]),m.useEffect(()=>{if(typeof window>"u"||!window.matchMedia)return;const a=window.matchMedia("(prefers-color-scheme: dark)"),c=i=>{typeof window<"u"&&!localStorage.getItem("theme")&&n(i.matches?"dark":"light")};if(a.addEventListener)return a.addEventListener("change",c),()=>a.removeEventListener("change",c);if(a.addListener)return a.addListener(c),()=>a.removeListener(c)},[]),r.jsx(Pe.Provider,{value:{theme:t,setTheme:l},children:e})},$e=()=>{const e=m.useContext(Pe);if(e===void 0)throw new Error("useTheme must be used within a ThemeProvider");return e},cr=({className:e,showLabel:o=!0})=>{const{theme:s,setTheme:t}=$e(),n=s==="dark",l=()=>{t(n?"light":"dark")},a=c=>{(c.key==="Enter"||c.key===" ")&&(c.preventDefault(),l())};return r.jsxs("div",{className:f("flex items-center gap-3",e),children:[r.jsxs("label",{className:"theme-switch cursor-pointer",onKeyDown:a,tabIndex:0,role:"switch","aria-checked":n,"aria-label":n?"Switch to light mode":"Switch to dark mode",children:[r.jsx("input",{type:"checkbox",className:"theme-switch__checkbox",checked:n,onChange:l,"aria-hidden":"true"}),r.jsxs("div",{className:"theme-switch__container",children:[r.jsx("div",{className:"theme-switch__clouds"}),r.jsx("div",{className:"theme-switch__stars-container",children:r.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 144 55",fill:"none",children:r.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M135.831 3.00688C135.055 3.85027 134.111 4.29946 133 4.35447C134.111 4.40947 135.055 4.85867 135.831 5.71123C136.607 6.55462 136.996 7.56303 136.996 8.72727C136.996 7.95722 137.172 7.25134 137.525 6.59129C137.886 5.93124 138.372 5.39954 138.98 5.00535C139.598 4.60199 140.268 4.39114 141 4.35447C139.88 4.2903 138.936 3.85027 138.16 3.00688C137.384 2.16348 136.996 1.16425 136.996 0C136.996 1.16425 136.607 2.16348 135.831 3.00688ZM31 23.3545C32.1114 23.2995 33.0551 22.8503 33.8313 22.0069C34.6075 21.1635 34.9956 20.1642 34.9956 19C34.9956 20.1642 35.3837 21.1635 36.1599 22.0069C36.9361 22.8503 37.8798 23.2903 39 23.3545C38.2679 23.3911 37.5976 23.602 36.9802 24.0053C36.3716 24.3995 35.8864 24.9312 35.5248 25.5913C35.172 26.2513 34.9956 26.9572 34.9956 27.7273C34.9956 26.563 34.6075 25.5546 33.8313 24.7112C33.0551 23.8587 32.1114 23.4095 31 23.3545ZM0 36.3545C1.11136 36.2995 2.05513 35.8503 2.83131 35.0069C3.6075 34.1635 3.99559 33.1642 3.99559 32C3.99559 33.1642 4.38368 34.1635 5.15987 35.0069C5.93605 35.8503 6.87982 36.2903 8 36.3545C7.26792 36.3911 6.59757 36.602 5.98015 37.0053C5.37155 37.3995 4.88644 37.9312 4.52481 38.5913C4.172 39.2513 3.99559 39.9572 3.99559 40.7273C3.99559 39.563 3.6075 38.5546 2.83131 37.7112C2.05513 36.8587 1.11136 36.4095 0 36.3545ZM56.8313 24.0069C56.0551 24.8503 55.1114 25.2995 54 25.3545C55.1114 25.4095 56.0551 25.8587 56.8313 26.7112C57.6075 27.5546 57.9956 28.563 57.9956 29.7273C57.9956 28.9572 58.172 28.2513 58.5248 27.5913C58.8864 26.9312 59.3716 26.3995 59.9802 26.0053C60.5976 25.602 61.2679 25.3911 62 25.3545C60.8798 25.2903 59.9361 24.8503 59.1599 24.0069C58.3837 23.1635 57.9956 22.1642 57.9956 21C57.9956 22.1642 57.6075 23.1635 56.8313 24.0069ZM81 25.3545C82.1114 25.2995 83.0551 24.8503 83.8313 24.0069C84.6075 23.1635 84.9956 22.1642 84.9956 21C84.9956 22.1642 85.3837 23.1635 86.1599 24.0069C86.9361 24.8503 87.8798 25.2903 89 25.3545C88.2679 25.3911 87.5976 25.602 86.9802 26.0053C86.3716 26.3995 85.8864 26.9312 85.5248 27.5913C85.172 28.2513 84.9956 28.9572 84.9956 29.7273C84.9956 28.563 84.6075 27.5546 83.8313 26.7112C83.0551 25.8587 82.1114 25.4095 81 25.3545ZM136 36.3545C137.111 36.2995 138.055 35.8503 138.831 35.0069C139.607 34.1635 139.996 33.1642 139.996 32C139.996 33.1642 140.384 34.1635 141.16 35.0069C141.936 35.8503 142.88 36.2903 144 36.3545C143.268 36.3911 142.598 36.602 141.98 37.0053C141.372 37.3995 140.886 37.9312 140.525 38.5913C140.172 39.2513 139.996 39.9572 139.996 40.7273C139.996 39.563 139.607 38.5546 138.831 37.7112C138.055 36.8587 137.111 36.4095 136 36.3545ZM101.831 49.0069C101.055 49.8503 100.111 50.2995 99 50.3545C100.111 50.4095 101.055 50.8587 101.831 51.7112C102.607 52.5546 102.996 53.563 102.996 54.7273C102.996 53.9572 103.172 53.2513 103.525 52.5913C103.886 51.9312 104.372 51.3995 104.98 51.0053C105.598 50.602 106.268 50.3911 107 50.3545C105.88 50.2903 104.936 49.8503 104.16 49.0069C103.384 48.1635 102.996 47.1642 102.996 46C102.996 47.1642 102.607 48.1635 101.831 49.0069Z",fill:"currentColor"})})}),r.jsx("div",{className:"theme-switch__circle-container",children:r.jsx("div",{className:"theme-switch__sun-moon-container",children:r.jsxs("div",{className:"theme-switch__moon",children:[r.jsx("div",{className:"theme-switch__spot"}),r.jsx("div",{className:"theme-switch__spot"}),r.jsx("div",{className:"theme-switch__spot"})]})})})]})]}),o&&r.jsx("span",{className:"text-sm font-medium text-text-primary",children:n?"Dark":"Light"})]})},dr={sm:"max-w-xs w-full",md:"max-w-sm w-full",lg:"max-w-md w-full",full:"w-full"},pr=({size:e="md",className:o,children:s,...t})=>r.jsx("div",{className:f("relative flex justify-center items-center","bg-surface-tertiary rounded-[24px]","shadow-[0_4px_8px_rgba(0,0,0,0.2),0_8px_16px_rgba(0,0,0,0.2),0_0_8px_rgba(255,255,255,0.1),0_0_16px_rgba(255,255,255,0.08)]","z-[8]",dr[e],o),...t,children:s}),fr=({className:e,children:o,...s})=>r.jsx("div",{className:f("relative bg-surface-tertiary rounded-[24px] p-7 z-[10]","backdrop-blur-[15px]","shadow-[inset_0_40px_60px_-8px_rgba(255,255,255,0.12),inset_4px_0_12px_-6px_rgba(255,255,255,0.12),inset_0_0_12px_-4px_rgba(255,255,255,0.12)]","w-full",e),...s,children:o}),ur=({className:e,...o})=>r.jsxs("div",{className:f("w-[65px] h-[65px] rounded-[20px] border-2 border-white","bg-gradient-to-br from-white/20 to-black/20","shadow-[8px_8px_16px_rgba(0,0,0,0.2),-8px_-8px_16px_rgba(255,255,255,0.06)]","flex justify-center items-center relative",e),...o,children:[r.jsx("div",{className:"absolute bottom-[10px] w-1/2 h-[20%] rounded-tl-[40px] rounded-tr-[40px] rounded-br-[20px] rounded-bl-[20px] border-[2.5px] border-white"}),r.jsx("div",{className:"absolute top-[10px] w-[30%] h-[30%] rounded-full border-[2.5px] border-white"})]}),mr=({title:e,showLogo:o=!1,footer:s,size:t="md",className:n,children:l,...a})=>r.jsx(pr,{size:t,children:r.jsxs(fr,{children:[r.jsxs("form",{className:f("flex justify-center items-center flex-col gap-[10px]",n),...a,children:[o&&r.jsx("div",{className:"flex justify-center items-center mb-2",children:r.jsx(ur,{})}),e&&r.jsx("div",{className:"w-full text-center text-2xl font-bold py-1.5 text-text-primary flex justify-center items-center",children:e}),l]}),s&&r.jsx("div",{className:"w-full text-left text-text-secondary text-xs mt-4",children:s})]})}),br=({label:e,error:o,helperText:s,className:t,size:n,id:l,...a})=>{const c=l||m.useId(),i=typeof o=="string"?o:void 0,u=!!o;return r.jsxs("div",{className:"w-full",children:[e&&r.jsx("label",{htmlFor:c,className:"block text-text-primary text-sm mb-1.5",children:e}),r.jsx("div",{className:"flex justify-center",children:r.jsx(ue,{id:c,className:f("p-3 border-none rounded-xl bg-surface text-text-primary text-sm outline-none","focus:border focus:border-border-focus",t),error:u,size:n,"aria-invalid":u,"aria-describedby":i?`${c}-error`:s?`${c}-helper`:void 0,...a})}),i&&r.jsx("p",{id:`${c}-error`,className:"text-red-500 text-xs mt-1",role:"alert",children:i}),s&&!i&&r.jsx("p",{id:`${c}-helper`,className:"text-text-secondary text-xs mt-1",children:s})]})},hr=({variant:e="primary",className:o,children:s,...t})=>e==="google"?r.jsx("button",{className:f("w-full h-10 border-none rounded-[20px] text-sm font-semibold cursor-pointer","grid place-content-center gap-2.5 bg-surface-secondary text-text-primary","transition-all duration-300","shadow-[inset_0px_3px_6px_-4px_rgba(255,255,255,0.6),inset_0px_-3px_6px_-2px_rgba(0,0,0,0.8)]","hover:bg-white/25 hover:shadow-[inset_0px_3px_6px_rgba(255,255,255,0.6),inset_0px_-3px_6px_rgba(0,0,0,0.8),0px_0px_8px_rgba(255,255,255,0.05)]","flex justify-center items-center gap-2.5",o),...t,children:s}):r.jsx(R,{variant:"primary",className:f("w-full h-10 rounded-[20px] text-sm font-semibold mt-1.5",o),...t,children:s}),xr=({className:e,children:o,...s})=>r.jsx("div",{className:f("w-full text-left text-text-secondary text-xs",e),...s,children:o}),gr=({className:e,children:o,...s})=>r.jsx("a",{className:f("relative text-text-secondary font-semibold no-underline transition-colors duration-300 ease-in-out","hover:text-white",'after:content-[""] after:absolute after:left-0 after:bottom-[-2px] after:w-0 after:rounded-md after:h-[1px] after:bg-current after:transition-[width] after:duration-300 after:ease-in-out',"hover:after:w-full",e),...s,children:o}),$={container:"_container_14dne_1","container--size-sm":"_container--size-sm_14dne_25","container--size-md":"_container--size-md_14dne_33","container--size-lg":"_container--size-lg_14dne_41","search-container":"_search-container_14dne_49",input:"_input_14dne_119","input--size-sm":"_input--size-sm_14dne_147","input--size-md":"_input--size-md_14dne_157","input--size-lg":"_input--size-lg_14dne_167",search__icon:"_search__icon_14dne_177"},_r={sm:{container:$["container--size-sm"],input:$["input--size-sm"]},md:{container:$["container--size-md"],input:$["input--size-md"]},lg:{container:$["container--size-lg"],input:$["input--size-lg"]}},He=m.forwardRef(({size:e="md",className:o,inputClassName:s,searchContainerClassName:t,placeholder:n,...l},a)=>{const c=_r[e];return r.jsx("div",{className:f($.container,c.container,"min-w-[200px] md:min-w-[260px] lg:min-w-[320px]","w-full max-w-md",o),children:r.jsxs("div",{className:f($["search-container"],t),children:[r.jsx("input",{ref:a,className:f($.input,c.input,s),type:"search",placeholder:n,...l}),r.jsx("svg",{viewBox:"0 0 24 24",className:$.search__icon,"aria-hidden":"true",focusable:"false",children:r.jsx("g",{children:r.jsx("path",{d:"M21.53 20.47l-3.66-3.66C19.195 15.24 20 13.214 20 11c0-4.97-4.03-9-9-9s-9 4.03-9 9 4.03 9 9 9c2.215 0 4.24-.804 5.808-2.13l3.66 3.66c.147.146.34.22.53.22s.385-.073.53-.22c.295-.293.295-.767.002-1.06zM3.5 11c0-4.135 3.365-7.5 7.5-7.5s7.5 3.365 7.5 7.5-3.365 7.5-7.5 7.5-7.5-3.365-7.5-7.5z"})})})]})})});He.displayName="SearchBar";const Z={list:"_list_hdx8a_1",listHorizontal:"_listHorizontal_hdx8a_11",iconContent:"_iconContent_hdx8a_15",tooltip:"_tooltip_hdx8a_25",tooltipHorizontal:"_tooltipHorizontal_hdx8a_46",link:"_link_hdx8a_60",filled:"_filled_hdx8a_87"},wr=e=>{switch(e){case"linkedin":return r.jsx("path",{d:"M0 1.146C0 .513.526 0 1.175 0h13.65C15.474 0 16 .513 16 1.146v13.708c0 .633-.526 1.146-1.175 1.146H1.175C.526 16 0 15.487 0 14.854zm4.943 12.248V6.169H2.542v7.225zm-1.2-8.212c.837 0 1.358-.554 1.358-1.248-.015-.709-.52-1.248-1.342-1.248S2.4 3.226 2.4 3.934c0 .694.521 1.248 1.327 1.248zm4.908 8.212V9.359c0-.216.016-.432.08-.586.173-.431.568-.878 1.232-.878.869 0 1.216.662 1.216 1.634v3.865h2.401V9.25c0-2.22-1.184-3.252-2.764-3.252-1.274 0-1.845.7-2.165 1.193v.025h-.016l.016-.025V6.169h-2.4c.03.678 0 7.225 0 7.225z",fill:"currentColor"});case"github":return r.jsx("path",{d:"M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27s1.36.09 2 .27c1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.01 8.01 0 0 0 16 8c0-4.42-3.58-8-8-8",fill:"currentColor"});case"instagram":return r.jsx("path",{d:"M8 0C5.829 0 5.556.01 4.703.048 3.85.088 3.269.222 2.76.42a3.9 3.9 0 0 0-1.417.923A3.9 3.9 0 0 0 .42 2.76C.222 3.268.087 3.85.048 4.7.01 5.555 0 5.827 0 8.001c0 2.172.01 2.444.048 3.297.04.852.174 1.433.372 1.942.205.526.478.972.923 1.417.444.445.89.719 1.416.923.51.198 1.09.333 1.942.372C5.555 15.99 5.827 16 8 16s2.444-.01 3.298-.048c.851-.04 1.434-.174 1.943-.372a3.9 3.9 0 0 0 1.416-.923c.445-.445.718-.891.923-1.417.197-.509.332-1.09.372-1.942C15.99 10.445 16 10.173 16 8s-.01-2.445-.048-3.299c-.04-.851-.175-1.433-.372-1.941a3.9 3.9 0 0 0-.923-1.417A3.9 3.9 0 0 0 13.24.42c-.51-.198-1.092-.333-1.943-.372C10.443.01 10.172 0 7.998 0zm-.717 1.442h.718c2.136 0 2.389.007 3.232.046.78.035 1.204.166 1.486.275.373.145.64.319.92.599s.453.546.598.92c.11.281.24.705.275 1.485.039.843.047 1.096.047 3.231s-.008 2.389-.047 3.232c-.035.78-.166 1.203-.275 1.485a2.5 2.5 0 0 1-.599.919c-.28.28-.546.453-.92.598-.28.11-.704.24-1.485.276-.843.038-1.096.047-3.232.047s-2.39-.009-3.233-.047c-.78-.036-1.203-.166-1.485-.276a2.5 2.5 0 0 1-.92-.598 2.5 2.5 0 0 1-.6-.92c-.109-.281-.24-.705-.275-1.485-.038-.843-.046-1.096-.046-3.233s.008-2.388.046-3.231c.036-.78.166-1.204.276-1.486.145-.373.319-.64.599-.92s.546-.453.92-.598c.282-.11.705-.24 1.485-.276.738-.034 1.024-.044 2.515-.045zm4.988 1.328a.96.96 0 1 0 0 1.92.96.96 0 0 0 0-1.92m-4.27 1.122a4.109 4.109 0 1 0 0 8.217 4.109 4.109 0 0 0 0-8.217m0 1.441a2.667 2.667 0 1 1 0 5.334 2.667 2.667 0 0 1 0-5.334",fill:"currentColor"});case"youtube":return r.jsx("path",{d:"M8.051 1.999h.089c.822.003 4.987.033 6.11.335a2.01 2.01 0 0 1 1.415 1.42c.101.38.172.883.22 1.402l.01.104.022.26.008.104c.065.914.073 1.77.074 1.957v.075c-.001.194-.01 1.108-.082 2.06l-.008.105-.009.104c-.05.572-.124 1.14-.235 1.558a2.01 2.01 0 0 1-1.415 1.42c-1.16.312-5.569.334-6.18.335h-.142c-.309 0-1.587-.006-2.927-.052l-.17-.006-.087-.004-.171-.007-.171-.007c-1.11-.049-2.167-.128-2.654-.26a2.01 2.01 0 0 1-1.415-1.419c-.111-.417-.185-.986-.235-1.558L.09 9.82l-.008-.104A31 31 0 0 1 0 7.68v-.123c.002-.215.01-.958.064-1.778l.007-.103.003-.052.008-.104.022-.26.01-.104c.048-.519.119-1.023.22-1.402a2.01 2.01 0 0 1 1.415-1.42c.487-.13 1.544-.21 2.654-.26l.17-.007.172-.006.086-.003.171-.007A100 100 0 0 1 7.858 2zM6.4 5.209v4.818l4.157-2.408z",fill:"currentColor"});case"facebook":return r.jsx("path",{d:"M16 8.049c0-4.446-3.582-8.05-8-8.05C3.58 0-.002 3.603-.002 8.05c0 4.017 2.926 7.347 6.75 7.951v-5.625h-2.03V8.05H6.75V6.275c0-2.017 1.195-3.131 3.022-3.131.876 0 1.791.157 1.791.157v1.98h-1.009c-.993 0-1.303.621-1.303 1.258v1.51h2.218l-.354 2.326H9.25V16c3.824-.604 6.75-3.934 6.75-7.951z",fill:"currentColor"});case"spotify":return r.jsx("path",{d:"M8 0C3.58 0 0 3.58 0 8s3.58 8 8 8 8-3.58 8-8-3.58-8-8-8zm3.67 11.56c-.13.21-.41.28-.62.15-1.69-1.03-3.81-1.26-6.3-.69-.24.05-.48-.1-.53-.34-.05-.24.1-.48.34-.53 2.7-.63 5.01-.37 6.89.81.21.13.28.41.15.62zm.89-1.96c-.16.25-.5.33-.75.17-1.93-1.18-4.87-1.52-7.15-.83-.29.08-.59-.1-.67-.39-.08-.29.1-.59.39-.67 2.58-.78 5.8-.4 7.98.95.25.16.33.5.17.75zm.11-2.08C10.15 6.6 6.03 6.4 3.48 7.23c-.36.11-.74-.06-.85-.42-.11-.36.06-.74.42-.85 2.99-.91 7.49-.68 10.27 1.07.32.19.42.63.23.95-.19.32-.63.42-.95.23z",fill:"currentColor"});case"telegram":return r.jsx("path",{d:"M15.854.146a.5.5 0 0 1 .11.54l-5.819 14.547a.75.75 0 0 1-1.329.124l-3.178-4.995L.643 7.184a.75.75 0 0 1 .124-1.33L15.314.037a.5.5 0 0 1 .54.11ZM6.636 10.07l2.761 4.338L14.13 2.576zm6.787-8.201L1.591 6.602l4.339 2.76z",fill:"currentColor"});case"pinterest":return r.jsx("path",{d:"M8 0a8 8 0 0 0-2.915 15.452c-.07-.633-.134-1.606.027-2.297.146-.625.937-3.977.937-3.977s-.239-.479-.239-1.187c0-1.113.645-1.943 1.448-1.943.683 0 1.012.512 1.012 1.127 0 .686-.437 1.712-.663 2.663-.188.796.4 1.446 1.185 1.446 1.422 0 2.515-1.5 2.515-3.664 0-1.915-1.377-3.254-3.342-3.254-2.276 0-3.612 1.707-3.612 3.471 0 .688.265 1.425.595 1.826a.24.24 0 0 1 .056.23c-.061.252-.196.796-.223.907-.035.146-.116.177-.268.107-1.001-.465-1.624-1.926-1.624-3.1 0-2.523 1.834-4.84 5.286-4.84 2.775 0 4.932 1.977 4.932 4.62 0 2.757-1.739 4.976-4.151 4.976-.811 0-1.573-.421-1.834-.919l-.498 1.902c-.181.695-.669 1.566-.995 2.097A8 8 0 1 0 8 0z",fill:"currentColor"});case"x":return r.jsx("path",{d:"M9.653 7.722 15.5 1h-1.18L9.11 7.077 5.5 1H1l6.086 8.844L1 15h1.18l5.21-6.06L11.5 15H16zM2.5 2.18h1.5L13.5 13.82H12z",fill:"currentColor"});default:return null}},vr=e=>({linkedin:"LinkedIn",github:"GitHub",instagram:"Instagram",youtube:"YouTube",facebook:"Facebook",spotify:"Spotify",telegram:"Telegram",pinterest:"Pinterest",x:"X"})[e],De=m.forwardRef(({links:e,className:o,orientation:s="vertical",...t},n)=>r.jsx("ul",{ref:n,className:f(Z.list,s==="horizontal"&&Z.listHorizontal,o),...t,children:e.map((l,a)=>{const c=l.label||vr(l.platform),i=wr(l.platform);return r.jsxs("li",{className:Z.iconContent,children:[r.jsxs("a",{href:l.url,"aria-label":c,"data-social":l.platform,className:Z.link,target:"_blank",rel:"noopener noreferrer",children:[r.jsx("div",{className:Z.filled}),r.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"currentColor",viewBox:"0 0 16 16",xmlSpace:"preserve","aria-hidden":"true",children:i})]}),r.jsx("div",{className:f(Z.tooltip,s==="horizontal"&&Z.tooltipHorizontal),children:c})]},`${l.platform}-${a}`)})}));De.displayName="SocialLinks";const U={card:"_card_tuygu_1",separator:"_separator_tuygu_33",list:"_list_tuygu_41",element:"_element_tuygu_57",label:"_label_tuygu_91",delete:"_delete_tuygu_111",accent:"_accent_tuygu_137"},yr=({groups:e,showSeparators:o=!0,className:s,...t})=>r.jsx("div",{className:f(U.card,s),...t,children:e.map((n,l)=>r.jsxs(m.Fragment,{children:[r.jsx(Oe,{group:n,isLastGroup:l===e.length-1}),o&&l<e.length-1&&r.jsx(Ze,{})]},n.id))}),Oe=({group:e,isLastGroup:o})=>{const s=e.variant==="accent"||o&&e.items.some(t=>t.variant==="accent");return r.jsx("ul",{className:f(U.list,s&&U.accent),children:e.items.map(t=>r.jsx(We,{item:t,isAccentGroup:s},t.id))})},We=({item:e,isAccentGroup:o})=>{const t=(e.variant||"default")==="danger",n=()=>{!e.disabled&&e.onClick&&e.onClick()},l=()=>e.icon?m.isValidElement(e.icon)?m.cloneElement(e.icon,{stroke:"currentColor",width:19,height:19}):e.icon:null;return r.jsxs("li",{className:f(U.element,t&&U.delete),onClick:n,style:{cursor:e.disabled?"not-allowed":"pointer",opacity:e.disabled?.5:1},children:[l(),r.jsx("p",{className:U.label,children:e.label})]})},Ze=()=>r.jsx("div",{className:U.separator}),kr=({title:e,description:o,privacyLink:s,privacyLinkText:t,acceptLabel:n,optionsLabel:l,onAccept:a,onOptions:c,storageKey:i,storageValue:u,icon:x,className:w,privacyLinkTarget:v,privacyLinkRel:N,iconClassName:y,contentClassName:z,acceptButtonClassName:k,optionsButtonClassName:C})=>{const[L,V]=m.useState(()=>typeof window<"u"?!localStorage.getItem(i):!1);m.useEffect(()=>{const M=localStorage.getItem(i);V(!M)},[i]);const T=()=>{localStorage.setItem(i,u),V(!1),a()};return L?r.jsx("article",{className:f("w-4/5 max-w-[300px] h-auto rounded-2xl","bg-white dark:bg-surface-secondary","shadow-[rgba(60,64,67,0.3)_0_1px_2px_0,rgba(60,64,67,0.15)_0_2px_6px_2px]","dark:shadow-[rgba(0,0,0,0.3)_0_1px_2px_0,rgba(0,0,0,0.15)_0_2px_6px_2px]",w),children:r.jsxs("div",{className:f("flex flex-col items-center justify-between pt-9 px-6 pb-6 relative",z),children:[x&&r.jsx("span",{className:f("relative mx-auto -mt-16 mb-8 text-zinc-700 dark:text-zinc-300",y),children:x}),r.jsx("h5",{className:"text-sm font-semibold mb-2 text-left mr-auto text-zinc-700 dark:text-text-primary",children:e}),r.jsx("p",{className:"w-full mb-4 text-sm text-justify text-zinc-600 dark:text-text-secondary",children:o}),r.jsx("p",{className:"w-full mb-4 text-sm text-justify text-zinc-600 dark:text-text-secondary",children:r.jsx("a",{href:s,className:"mb-2 text-sm cursor-pointer font-semibold transition-colors underline underline-offset-2 text-zinc-700 dark:text-text-primary",target:v,rel:N,children:t})}),r.jsx("button",{type:"button",onClick:c,className:f("mb-2 text-sm mr-auto text-zinc-600 dark:text-text-secondary","cursor-pointer font-semibold transition-colors","hover:text-[#634647] dark:hover:text-[#ddad81]","hover:underline underline-offset-2","focus-visible:outline-2 focus-visible:outline-offset-2","focus-visible:outline-[#634647] dark:focus-visible:outline-[#ddad81]",C),children:l}),r.jsx("button",{type:"button",onClick:T,className:f("absolute font-semibold right-6 bottom-6","cursor-pointer py-2 px-8 w-max break-keep","text-sm rounded-lg transition-colors","text-[#634647] hover:text-[#ddad81]","bg-[#ddad81] hover:bg-[#634647]","dark:text-white dark:bg-[#634647]","dark:hover:bg-[#ddad81] dark:hover:text-[#634647]","focus-visible:outline-2 focus-visible:outline-offset-2","focus-visible:outline-[#634647] dark:focus-visible:outline-[#ddad81]",k),children:n})]})}):null},Ue={neutral:{icon:"text-zinc-600 dark:text-zinc-400",buttonVariant:"primary"},danger:{icon:"text-red-600 dark:text-red-400",buttonVariant:"danger"},warning:{icon:"text-yellow-600 dark:text-yellow-400",buttonVariant:"secondary"},info:{icon:"text-blue-600 dark:text-blue-400",buttonVariant:"primary"}},qe=m.forwardRef(({className:e,children:o,role:s,"aria-modal":t,"aria-labelledby":n,"aria-describedby":l},a)=>r.jsx("div",{ref:a,role:s,"aria-modal":t,"aria-labelledby":n,"aria-describedby":l,className:f("w-full max-w-md","bg-white dark:bg-surface-secondary","rounded-lg","shadow-[2px_2px_20px_rgba(0,0,0,0.062)] dark:shadow-[rgba(0,0,0,0.3)_0_1px_2px_0,rgba(0,0,0,0.15)_0_2px_6px_2px]","p-6","flex flex-col items-center","gap-4","relative","overflow-hidden","transform transition-all duration-200",e),children:o}));qe.displayName="ConfirmModalCard";const Cr=({className:e,children:o})=>r.jsx("div",{className:f("flex items-center justify-center mb-2",e),children:o}),zr=({confirmLabel:e,cancelLabel:o,variant:s,onConfirm:t,onCancel:n,confirmButtonClassName:l,cancelButtonClassName:a})=>{const c=Ue[s];return r.jsxs("div",{className:"flex gap-4 flex-row w-full justify-center mt-2",children:[r.jsx(R,{type:"button",variant:"ghost",size:"sm",onClick:n,className:a,children:o}),r.jsx(R,{type:"button",variant:c.buttonVariant,size:"sm",onClick:t,className:l,children:e})]})},Nr=({isOpen:e,title:o,description:s,icon:t,confirmLabel:n,cancelLabel:l,variant:a="neutral",onConfirm:c,onCancel:i,onClose:u,className:x,iconClassName:w,contentClassName:v,confirmButtonClassName:N,cancelButtonClassName:y})=>{const z=m.useRef(null),k=m.useRef(null),C=m.useId(),L=m.useId();m.useEffect(()=>{e?k.current=document.activeElement:k.current&&(k.current.focus(),k.current=null)},[e]),m.useEffect(()=>{if(!e)return;const M=z.current;if(!M)return;const I=Array.from(M.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])')).filter(E=>!E.hasAttribute("disabled")&&E.offsetParent!==null),P=I[0],h=I[I.length-1];P&&P.focus();const B=E=>{if(E.key==="Escape"){u();return}if(E.key==="Tab"){if(I.length===0){E.preventDefault();return}E.shiftKey?document.activeElement===P&&(E.preventDefault(),h?.focus()):document.activeElement===h&&(E.preventDefault(),P?.focus())}},ee=E=>{M&&!M.contains(E.target)&&(E.preventDefault(),P?.focus())};return document.addEventListener("keydown",B),document.addEventListener("focusin",ee),()=>{document.removeEventListener("keydown",B),document.removeEventListener("focusin",ee)}},[e,u]);const V=m.useCallback(M=>{M.target===M.currentTarget&&u()},[u]);if(!e)return null;const T=Ue[a];return r.jsx("div",{className:f("fixed inset-0 z-50","flex items-center justify-center","p-4","bg-black/20 dark:bg-black/40","transition-opacity duration-200",x),onClick:V,role:"presentation",children:r.jsxs(qe,{ref:z,role:"dialog","aria-modal":!0,"aria-labelledby":C,"aria-describedby":L,className:"transform transition-all duration-200 scale-100",children:[t&&r.jsx(Cr,{className:f(T.icon,w),children:t}),r.jsxs("div",{className:f("flex flex-col items-center text-center gap-2 w-full",v),children:[r.jsx("h2",{id:C,className:"text-lg font-bold text-zinc-900 dark:text-text-primary",children:o}),r.jsx("p",{id:L,className:"text-sm font-semibold text-zinc-600 dark:text-text-secondary whitespace-pre-line",children:s})]}),r.jsx(zr,{confirmLabel:n,cancelLabel:l,variant:a,onConfirm:c,onCancel:i,confirmButtonClassName:N,cancelButtonClassName:y})]})})};_.Button=R,_.Card=Kt,_.CardContent=Jt,_.CardFooter=Qt,_.CardHeader=Xt,_.Checkbox=je,_.ConfirmModal=Nr,_.ContextMenu=yr,_.ContextMenuGroup=Oe,_.ContextMenuItem=We,_.ContextMenuSeparator=Ze,_.CookieConsent=kr,_.Form=mr,_.FormButton=hr,_.FormField=br,_.FormFooter=xr,_.FormFooterLink=gr,_.Input=ue,_.Loader=er,_.RadioButton=rr,_.RadioGroup=tr,_.SearchBar=He,_.SocialLinks=De,_.Spinner=Rt,_.SubmitButton=Ut,_.ThemeProvider=ir,_.ThemeSwitch=cr,_.Toggle=Yt,_.Tooltip=lr,_.useTheme=$e,Object.defineProperty(_,Symbol.toStringTag,{value:"Module"})}));
|
|
1
|
+
(function(_,o){typeof exports=="object"&&typeof module<"u"?o(exports,require("react/jsx-runtime"),require("react")):typeof define=="function"&&define.amd?define(["exports","react/jsx-runtime","react"],o):(_=typeof globalThis<"u"?globalThis:_||self,o(_["UI-Kit"]={},_.React,_.React))})(this,(function(_,o,m){"use strict";function xe(e){var r,s,t="";if(typeof e=="string"||typeof e=="number")t+=e;else if(typeof e=="object")if(Array.isArray(e)){var n=e.length;for(r=0;r<n;r++)e[r]&&(s=xe(e[r]))&&(t&&(t+=" "),t+=s)}else for(s in e)e[s]&&(t&&(t+=" "),t+=s);return t}function et(){for(var e,r,s=0,t="",n=arguments.length;s<n;s++)(e=arguments[s])&&(r=xe(e))&&(t&&(t+=" "),t+=r);return t}const tt=(e,r)=>{const s=new Array(e.length+r.length);for(let t=0;t<e.length;t++)s[t]=e[t];for(let t=0;t<r.length;t++)s[e.length+t]=r[t];return s},rt=(e,r)=>({classGroupId:e,validator:r}),ge=(e=new Map,r=null,s)=>({nextPart:e,validators:r,classGroupId:s}),te="-",_e=[],ot="arbitrary..",st=e=>{const r=at(e),{conflictingClassGroups:s,conflictingClassGroupModifiers:t}=e;return{getClassGroupId:a=>{if(a.startsWith("[")&&a.endsWith("]"))return nt(a);const c=a.split(te),i=c[0]===""&&c.length>1?1:0;return we(c,i,r)},getConflictingClassGroupIds:(a,c)=>{if(c){const i=t[a],u=s[a];return i?u?tt(u,i):i:u||_e}return s[a]||_e}}},we=(e,r,s)=>{if(e.length-r===0)return s.classGroupId;const n=e[r],l=s.nextPart.get(n);if(l){const u=we(e,r+1,l);if(u)return u}const a=s.validators;if(a===null)return;const c=r===0?e.join(te):e.slice(r).join(te),i=a.length;for(let u=0;u<i;u++){const g=a[u];if(g.validator(c))return g.classGroupId}},nt=e=>e.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const r=e.slice(1,-1),s=r.indexOf(":"),t=r.slice(0,s);return t?ot+t:void 0})(),at=e=>{const{theme:r,classGroups:s}=e;return lt(s,r)},lt=(e,r)=>{const s=ge();for(const t in e){const n=e[t];ce(n,s,t,r)}return s},ce=(e,r,s,t)=>{const n=e.length;for(let l=0;l<n;l++){const a=e[l];it(a,r,s,t)}},it=(e,r,s,t)=>{if(typeof e=="string"){ct(e,r,s);return}if(typeof e=="function"){dt(e,r,s,t);return}pt(e,r,s,t)},ct=(e,r,s)=>{const t=e===""?r:ve(r,e);t.classGroupId=s},dt=(e,r,s,t)=>{if(ft(e)){ce(e(t),r,s,t);return}r.validators===null&&(r.validators=[]),r.validators.push(rt(s,e))},pt=(e,r,s,t)=>{const n=Object.entries(e),l=n.length;for(let a=0;a<l;a++){const[c,i]=n[a];ce(i,ve(r,c),s,t)}},ve=(e,r)=>{let s=e;const t=r.split(te),n=t.length;for(let l=0;l<n;l++){const a=t[l];let c=s.nextPart.get(a);c||(c=ge(),s.nextPart.set(a,c)),s=c}return s},ft=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,ut=e=>{if(e<1)return{get:()=>{},set:()=>{}};let r=0,s=Object.create(null),t=Object.create(null);const n=(l,a)=>{s[l]=a,r++,r>e&&(r=0,t=s,s=Object.create(null))};return{get(l){let a=s[l];if(a!==void 0)return a;if((a=t[l])!==void 0)return n(l,a),a},set(l,a){l in s?s[l]=a:n(l,a)}}},de="!",ye=":",mt=[],ke=(e,r,s,t,n)=>({modifiers:e,hasImportantModifier:r,baseClassName:s,maybePostfixModifierPosition:t,isExternal:n}),bt=e=>{const{prefix:r,experimentalParseClassName:s}=e;let t=n=>{const l=[];let a=0,c=0,i=0,u;const g=n.length;for(let z=0;z<g;z++){const k=n[z];if(a===0&&c===0){if(k===ye){l.push(n.slice(i,z)),i=z+1;continue}if(k==="/"){u=z;continue}}k==="["?a++:k==="]"?a--:k==="("?c++:k===")"&&c--}const w=l.length===0?n:n.slice(i);let v=w,N=!1;w.endsWith(de)?(v=w.slice(0,-1),N=!0):w.startsWith(de)&&(v=w.slice(1),N=!0);const y=u&&u>i?u-i:void 0;return ke(l,N,v,y)};if(r){const n=r+ye,l=t;t=a=>a.startsWith(n)?l(a.slice(n.length)):ke(mt,!1,a,void 0,!0)}if(s){const n=t;t=l=>s({className:l,parseClassName:n})}return t},ht=e=>{const r=new Map;return e.orderSensitiveModifiers.forEach((s,t)=>{r.set(s,1e6+t)}),s=>{const t=[];let n=[];for(let l=0;l<s.length;l++){const a=s[l],c=a[0]==="[",i=r.has(a);c||i?(n.length>0&&(n.sort(),t.push(...n),n=[]),t.push(a)):n.push(a)}return n.length>0&&(n.sort(),t.push(...n)),t}},xt=e=>({cache:ut(e.cacheSize),parseClassName:bt(e),sortModifiers:ht(e),...st(e)}),gt=/\s+/,_t=(e,r)=>{const{parseClassName:s,getClassGroupId:t,getConflictingClassGroupIds:n,sortModifiers:l}=r,a=[],c=e.trim().split(gt);let i="";for(let u=c.length-1;u>=0;u-=1){const g=c[u],{isExternal:w,modifiers:v,hasImportantModifier:N,baseClassName:y,maybePostfixModifierPosition:z}=s(g);if(w){i=g+(i.length>0?" "+i:i);continue}let k=!!z,C=t(k?y.substring(0,z):y);if(!C){if(!k){i=g+(i.length>0?" "+i:i);continue}if(C=t(y),!C){i=g+(i.length>0?" "+i:i);continue}k=!1}const L=v.length===0?"":v.length===1?v[0]:l(v).join(":"),j=N?L+de:L,T=j+C;if(a.indexOf(T)>-1)continue;a.push(T);const S=n(C,k);for(let A=0;A<S.length;++A){const P=S[A];a.push(j+P)}i=g+(i.length>0?" "+i:i)}return i},wt=(...e)=>{let r=0,s,t,n="";for(;r<e.length;)(s=e[r++])&&(t=Ce(s))&&(n&&(n+=" "),n+=t);return n},Ce=e=>{if(typeof e=="string")return e;let r,s="";for(let t=0;t<e.length;t++)e[t]&&(r=Ce(e[t]))&&(s&&(s+=" "),s+=r);return s},vt=(e,...r)=>{let s,t,n,l;const a=i=>{const u=r.reduce((g,w)=>w(g),e());return s=xt(u),t=s.cache.get,n=s.cache.set,l=c,c(i)},c=i=>{const u=t(i);if(u)return u;const g=_t(i,s);return n(i,g),g};return l=a,(...i)=>l(wt(...i))},yt=[],M=e=>{const r=s=>s[e]||yt;return r.isThemeGetter=!0,r},ze=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Ne=/^\((?:(\w[\w-]*):)?(.+)\)$/i,kt=/^\d+\/\d+$/,Ct=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,zt=/\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$/,Nt=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,St=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Mt=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Y=e=>kt.test(e),x=e=>!!e&&!Number.isNaN(Number(e)),O=e=>!!e&&Number.isInteger(Number(e)),pe=e=>e.endsWith("%")&&x(e.slice(0,-1)),H=e=>Ct.test(e),Lt=()=>!0,It=e=>zt.test(e)&&!Nt.test(e),Se=()=>!1,At=e=>St.test(e),Tt=e=>Mt.test(e),Et=e=>!d(e)&&!p(e),Ft=e=>K(e,Te,Se),d=e=>ze.test(e),W=e=>K(e,Ee,It),fe=e=>K(e,Pt,x),Me=e=>K(e,Ie,Se),jt=e=>K(e,Ae,Tt),re=e=>K(e,Fe,At),p=e=>Ne.test(e),Q=e=>X(e,Ee),Vt=e=>X(e,$t),Le=e=>X(e,Ie),Bt=e=>X(e,Te),Gt=e=>X(e,Ae),oe=e=>X(e,Fe,!0),K=(e,r,s)=>{const t=ze.exec(e);return t?t[1]?r(t[1]):s(t[2]):!1},X=(e,r,s=!1)=>{const t=Ne.exec(e);return t?t[1]?r(t[1]):s:!1},Ie=e=>e==="position"||e==="percentage",Ae=e=>e==="image"||e==="url",Te=e=>e==="length"||e==="size"||e==="bg-size",Ee=e=>e==="length",Pt=e=>e==="number",$t=e=>e==="family-name",Fe=e=>e==="shadow",Ht=vt(()=>{const e=M("color"),r=M("font"),s=M("text"),t=M("font-weight"),n=M("tracking"),l=M("leading"),a=M("breakpoint"),c=M("container"),i=M("spacing"),u=M("radius"),g=M("shadow"),w=M("inset-shadow"),v=M("text-shadow"),N=M("drop-shadow"),y=M("blur"),z=M("perspective"),k=M("aspect"),C=M("ease"),L=M("animate"),j=()=>["auto","avoid","all","avoid-page","page","left","right","column"],T=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],S=()=>[...T(),p,d],A=()=>["auto","hidden","clip","visible","scroll"],P=()=>["auto","contain","none"],h=()=>[p,d,i],B=()=>[Y,"full","auto",...h()],ee=()=>[O,"none","subgrid",p,d],E=()=>["auto",{span:["full",O,p,d]},O,p,d],se=()=>[O,"auto",p,d],Ye=()=>["auto","min","max","fr",p,d],me=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],J=()=>["start","end","center","stretch","center-safe","end-safe"],D=()=>["auto",...h()],q=()=>[Y,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...h()],b=()=>[e,p,d],Ke=()=>[...T(),Le,Me,{position:[p,d]}],Xe=()=>["no-repeat",{repeat:["","x","y","space","round"]}],Je=()=>["auto","cover","contain",Bt,Ft,{size:[p,d]}],be=()=>[pe,Q,W],F=()=>["","none","full",u,p,d],V=()=>["",x,Q,W],ne=()=>["solid","dashed","dotted","double"],Qe=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],I=()=>[x,pe,Le,Me],Re=()=>["","none",y,p,d],ae=()=>["none",x,p,d],le=()=>["none",x,p,d],he=()=>[x,p,d],ie=()=>[Y,"full",...h()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[H],breakpoint:[H],color:[Lt],container:[H],"drop-shadow":[H],ease:["in","out","in-out"],font:[Et],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[H],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[H],shadow:[H],spacing:["px",x],text:[H],"text-shadow":[H],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",Y,d,p,k]}],container:["container"],columns:[{columns:[x,d,p,c]}],"break-after":[{"break-after":j()}],"break-before":[{"break-before":j()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],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:S()}],overflow:[{overflow:A()}],"overflow-x":[{"overflow-x":A()}],"overflow-y":[{"overflow-y":A()}],overscroll:[{overscroll:P()}],"overscroll-x":[{"overscroll-x":P()}],"overscroll-y":[{"overscroll-y":P()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:B()}],"inset-x":[{"inset-x":B()}],"inset-y":[{"inset-y":B()}],start:[{start:B()}],end:[{end:B()}],top:[{top:B()}],right:[{right:B()}],bottom:[{bottom:B()}],left:[{left:B()}],visibility:["visible","invisible","collapse"],z:[{z:[O,"auto",p,d]}],basis:[{basis:[Y,"full","auto",c,...h()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[x,Y,"auto","initial","none",d]}],grow:[{grow:["",x,p,d]}],shrink:[{shrink:["",x,p,d]}],order:[{order:[O,"first","last","none",p,d]}],"grid-cols":[{"grid-cols":ee()}],"col-start-end":[{col:E()}],"col-start":[{"col-start":se()}],"col-end":[{"col-end":se()}],"grid-rows":[{"grid-rows":ee()}],"row-start-end":[{row:E()}],"row-start":[{"row-start":se()}],"row-end":[{"row-end":se()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":Ye()}],"auto-rows":[{"auto-rows":Ye()}],gap:[{gap:h()}],"gap-x":[{"gap-x":h()}],"gap-y":[{"gap-y":h()}],"justify-content":[{justify:[...me(),"normal"]}],"justify-items":[{"justify-items":[...J(),"normal"]}],"justify-self":[{"justify-self":["auto",...J()]}],"align-content":[{content:["normal",...me()]}],"align-items":[{items:[...J(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...J(),{baseline:["","last"]}]}],"place-content":[{"place-content":me()}],"place-items":[{"place-items":[...J(),"baseline"]}],"place-self":[{"place-self":["auto",...J()]}],p:[{p:h()}],px:[{px:h()}],py:[{py:h()}],ps:[{ps:h()}],pe:[{pe:h()}],pt:[{pt:h()}],pr:[{pr:h()}],pb:[{pb:h()}],pl:[{pl:h()}],m:[{m:D()}],mx:[{mx:D()}],my:[{my:D()}],ms:[{ms:D()}],me:[{me:D()}],mt:[{mt:D()}],mr:[{mr:D()}],mb:[{mb:D()}],ml:[{ml:D()}],"space-x":[{"space-x":h()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":h()}],"space-y-reverse":["space-y-reverse"],size:[{size:q()}],w:[{w:[c,"screen",...q()]}],"min-w":[{"min-w":[c,"screen","none",...q()]}],"max-w":[{"max-w":[c,"screen","none","prose",{screen:[a]},...q()]}],h:[{h:["screen","lh",...q()]}],"min-h":[{"min-h":["screen","lh","none",...q()]}],"max-h":[{"max-h":["screen","lh",...q()]}],"font-size":[{text:["base",s,Q,W]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[t,p,fe]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",pe,d]}],"font-family":[{font:[Vt,d,r]}],"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,p,d]}],"line-clamp":[{"line-clamp":[x,"none",p,fe]}],leading:[{leading:[l,...h()]}],"list-image":[{"list-image":["none",p,d]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",p,d]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:b()}],"text-color":[{text:b()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ne(),"wavy"]}],"text-decoration-thickness":[{decoration:[x,"from-font","auto",p,W]}],"text-decoration-color":[{decoration:b()}],"underline-offset":[{"underline-offset":[x,"auto",p,d]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:h()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",p,d]}],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",p,d]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:Ke()}],"bg-repeat":[{bg:Xe()}],"bg-size":[{bg:Je()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},O,p,d],radial:["",p,d],conic:[O,p,d]},Gt,jt]}],"bg-color":[{bg:b()}],"gradient-from-pos":[{from:be()}],"gradient-via-pos":[{via:be()}],"gradient-to-pos":[{to:be()}],"gradient-from":[{from:b()}],"gradient-via":[{via:b()}],"gradient-to":[{to:b()}],rounded:[{rounded:F()}],"rounded-s":[{"rounded-s":F()}],"rounded-e":[{"rounded-e":F()}],"rounded-t":[{"rounded-t":F()}],"rounded-r":[{"rounded-r":F()}],"rounded-b":[{"rounded-b":F()}],"rounded-l":[{"rounded-l":F()}],"rounded-ss":[{"rounded-ss":F()}],"rounded-se":[{"rounded-se":F()}],"rounded-ee":[{"rounded-ee":F()}],"rounded-es":[{"rounded-es":F()}],"rounded-tl":[{"rounded-tl":F()}],"rounded-tr":[{"rounded-tr":F()}],"rounded-br":[{"rounded-br":F()}],"rounded-bl":[{"rounded-bl":F()}],"border-w":[{border:V()}],"border-w-x":[{"border-x":V()}],"border-w-y":[{"border-y":V()}],"border-w-s":[{"border-s":V()}],"border-w-e":[{"border-e":V()}],"border-w-t":[{"border-t":V()}],"border-w-r":[{"border-r":V()}],"border-w-b":[{"border-b":V()}],"border-w-l":[{"border-l":V()}],"divide-x":[{"divide-x":V()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":V()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...ne(),"hidden","none"]}],"divide-style":[{divide:[...ne(),"hidden","none"]}],"border-color":[{border:b()}],"border-color-x":[{"border-x":b()}],"border-color-y":[{"border-y":b()}],"border-color-s":[{"border-s":b()}],"border-color-e":[{"border-e":b()}],"border-color-t":[{"border-t":b()}],"border-color-r":[{"border-r":b()}],"border-color-b":[{"border-b":b()}],"border-color-l":[{"border-l":b()}],"divide-color":[{divide:b()}],"outline-style":[{outline:[...ne(),"none","hidden"]}],"outline-offset":[{"outline-offset":[x,p,d]}],"outline-w":[{outline:["",x,Q,W]}],"outline-color":[{outline:b()}],shadow:[{shadow:["","none",g,oe,re]}],"shadow-color":[{shadow:b()}],"inset-shadow":[{"inset-shadow":["none",w,oe,re]}],"inset-shadow-color":[{"inset-shadow":b()}],"ring-w":[{ring:V()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:b()}],"ring-offset-w":[{"ring-offset":[x,W]}],"ring-offset-color":[{"ring-offset":b()}],"inset-ring-w":[{"inset-ring":V()}],"inset-ring-color":[{"inset-ring":b()}],"text-shadow":[{"text-shadow":["none",v,oe,re]}],"text-shadow-color":[{"text-shadow":b()}],opacity:[{opacity:[x,p,d]}],"mix-blend":[{"mix-blend":[...Qe(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":Qe()}],"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":[x]}],"mask-image-linear-from-pos":[{"mask-linear-from":I()}],"mask-image-linear-to-pos":[{"mask-linear-to":I()}],"mask-image-linear-from-color":[{"mask-linear-from":b()}],"mask-image-linear-to-color":[{"mask-linear-to":b()}],"mask-image-t-from-pos":[{"mask-t-from":I()}],"mask-image-t-to-pos":[{"mask-t-to":I()}],"mask-image-t-from-color":[{"mask-t-from":b()}],"mask-image-t-to-color":[{"mask-t-to":b()}],"mask-image-r-from-pos":[{"mask-r-from":I()}],"mask-image-r-to-pos":[{"mask-r-to":I()}],"mask-image-r-from-color":[{"mask-r-from":b()}],"mask-image-r-to-color":[{"mask-r-to":b()}],"mask-image-b-from-pos":[{"mask-b-from":I()}],"mask-image-b-to-pos":[{"mask-b-to":I()}],"mask-image-b-from-color":[{"mask-b-from":b()}],"mask-image-b-to-color":[{"mask-b-to":b()}],"mask-image-l-from-pos":[{"mask-l-from":I()}],"mask-image-l-to-pos":[{"mask-l-to":I()}],"mask-image-l-from-color":[{"mask-l-from":b()}],"mask-image-l-to-color":[{"mask-l-to":b()}],"mask-image-x-from-pos":[{"mask-x-from":I()}],"mask-image-x-to-pos":[{"mask-x-to":I()}],"mask-image-x-from-color":[{"mask-x-from":b()}],"mask-image-x-to-color":[{"mask-x-to":b()}],"mask-image-y-from-pos":[{"mask-y-from":I()}],"mask-image-y-to-pos":[{"mask-y-to":I()}],"mask-image-y-from-color":[{"mask-y-from":b()}],"mask-image-y-to-color":[{"mask-y-to":b()}],"mask-image-radial":[{"mask-radial":[p,d]}],"mask-image-radial-from-pos":[{"mask-radial-from":I()}],"mask-image-radial-to-pos":[{"mask-radial-to":I()}],"mask-image-radial-from-color":[{"mask-radial-from":b()}],"mask-image-radial-to-color":[{"mask-radial-to":b()}],"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":T()}],"mask-image-conic-pos":[{"mask-conic":[x]}],"mask-image-conic-from-pos":[{"mask-conic-from":I()}],"mask-image-conic-to-pos":[{"mask-conic-to":I()}],"mask-image-conic-from-color":[{"mask-conic-from":b()}],"mask-image-conic-to-color":[{"mask-conic-to":b()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:Ke()}],"mask-repeat":[{mask:Xe()}],"mask-size":[{mask:Je()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",p,d]}],filter:[{filter:["","none",p,d]}],blur:[{blur:Re()}],brightness:[{brightness:[x,p,d]}],contrast:[{contrast:[x,p,d]}],"drop-shadow":[{"drop-shadow":["","none",N,oe,re]}],"drop-shadow-color":[{"drop-shadow":b()}],grayscale:[{grayscale:["",x,p,d]}],"hue-rotate":[{"hue-rotate":[x,p,d]}],invert:[{invert:["",x,p,d]}],saturate:[{saturate:[x,p,d]}],sepia:[{sepia:["",x,p,d]}],"backdrop-filter":[{"backdrop-filter":["","none",p,d]}],"backdrop-blur":[{"backdrop-blur":Re()}],"backdrop-brightness":[{"backdrop-brightness":[x,p,d]}],"backdrop-contrast":[{"backdrop-contrast":[x,p,d]}],"backdrop-grayscale":[{"backdrop-grayscale":["",x,p,d]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[x,p,d]}],"backdrop-invert":[{"backdrop-invert":["",x,p,d]}],"backdrop-opacity":[{"backdrop-opacity":[x,p,d]}],"backdrop-saturate":[{"backdrop-saturate":[x,p,d]}],"backdrop-sepia":[{"backdrop-sepia":["",x,p,d]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":h()}],"border-spacing-x":[{"border-spacing-x":h()}],"border-spacing-y":[{"border-spacing-y":h()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",p,d]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[x,"initial",p,d]}],ease:[{ease:["linear","initial",C,p,d]}],delay:[{delay:[x,p,d]}],animate:[{animate:["none",L,p,d]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[z,p,d]}],"perspective-origin":[{"perspective-origin":S()}],rotate:[{rotate:ae()}],"rotate-x":[{"rotate-x":ae()}],"rotate-y":[{"rotate-y":ae()}],"rotate-z":[{"rotate-z":ae()}],scale:[{scale:le()}],"scale-x":[{"scale-x":le()}],"scale-y":[{"scale-y":le()}],"scale-z":[{"scale-z":le()}],"scale-3d":["scale-3d"],skew:[{skew:he()}],"skew-x":[{"skew-x":he()}],"skew-y":[{"skew-y":he()}],transform:[{transform:[p,d,"","none","gpu","cpu"]}],"transform-origin":[{origin:S()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:ie()}],"translate-x":[{"translate-x":ie()}],"translate-y":[{"translate-y":ie()}],"translate-z":[{"translate-z":ie()}],"translate-none":["translate-none"],accent:[{accent:b()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:b()}],"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",p,d]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":h()}],"scroll-mx":[{"scroll-mx":h()}],"scroll-my":[{"scroll-my":h()}],"scroll-ms":[{"scroll-ms":h()}],"scroll-me":[{"scroll-me":h()}],"scroll-mt":[{"scroll-mt":h()}],"scroll-mr":[{"scroll-mr":h()}],"scroll-mb":[{"scroll-mb":h()}],"scroll-ml":[{"scroll-ml":h()}],"scroll-p":[{"scroll-p":h()}],"scroll-px":[{"scroll-px":h()}],"scroll-py":[{"scroll-py":h()}],"scroll-ps":[{"scroll-ps":h()}],"scroll-pe":[{"scroll-pe":h()}],"scroll-pt":[{"scroll-pt":h()}],"scroll-pr":[{"scroll-pr":h()}],"scroll-pb":[{"scroll-pb":h()}],"scroll-pl":[{"scroll-pl":h()}],"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",p,d]}],fill:[{fill:["none",...b()]}],"stroke-w":[{stroke:[x,Q,W,fe]}],stroke:[{stroke:["none",...b()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],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-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}});function f(...e){return Ht(et(e))}const Dt={primary:"text-[#7e97b8] bg-[#dbeafe] border-[rgba(255,255,255,0.333)] shadow-[-4px_-2px_8px_0px_#ffffff,4px_2px_8px_0px_rgb(59_130_246_/_24%)] hover:text-[#516d91] hover:bg-[#bfdbfe] hover:shadow-[-2px_-1px_4px_0px_#ffffff,2px_1px_4px_0px_rgb(59_130_246_/_24%)]",secondary:"text-[#6b7280] bg-[#d1fae5] border-[rgba(255,255,255,0.4)] shadow-[-4px_-2px_8px_0px_#ffffff,4px_2px_8px_0px_rgb(34_197_94_/_18%)] hover:text-[#4b5563] hover:bg-[#a7f3d0] hover:shadow-[-2px_-1px_4px_0px_#ffffff,2px_1px_4px_0px_rgb(34_197_94_/_18%)]",danger:"text-black font-bold bg-[#fecaca] border-[rgba(255,255,255,0.5)] shadow-[-4px_-2px_8px_0px_#ffffff,4px_2px_8px_0px_rgb(239_68_68_/_18%)] hover:text-black hover:bg-[#fed7d7] hover:shadow-[-2px_-1px_4px_0px_#ffffff,2px_1px_4px_0px_rgb(239_68_68_/_18%)]",ghost:"text-[#6b7280] bg-transparent border-[rgba(255,255,255,0.2)] shadow-[-4px_-2px_8px_0px_rgba(255,255,255,0.05),4px_2px_8px_0px_rgba(0,0,0,0.05)] hover:text-[#4b5563] hover:bg-[rgba(255,255,255,0.05)] hover:shadow-[-2px_-1px_4px_0px_rgba(255,255,255,0.05),2px_1px_4px_0px_rgba(0,0,0,0.05)] theme-dark:text-white theme-dark:hover:text-white"},Ot={sm:"px-4 py-2 pl-5 text-xs h-8",md:"px-6 py-4 pl-7 text-sm h-10",lg:"px-8 py-5 pl-9 text-base h-12"},R=m.forwardRef(({variant:e="primary",size:r="md",loading:s=!1,disabled:t=!1,className:n,children:l,...a},c)=>o.jsxs("button",{ref:c,className:f("flex items-center justify-center gap-2.5","font-bold","tracking-[0.4px]","border-2 border-solid","rounded-[40px]","transform translate-x-0 translate-y-0 rotate-0","transition-all duration-200","active:shadow-none","focus-visible focus:outline-none","disabled:cursor-not-allowed disabled:opacity-50",Dt[e],Ot[r],n),style:{fontFamily:'"Manrope", sans-serif'},disabled:t||s,"aria-busy":s,...a,children:[s&&o.jsxs("svg",{className:"animate-spin h-6 w-6",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true",children:[o.jsx("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),o.jsx("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]}),l]}));R.displayName="Button";const G={button:"_button_1l5kn_7","button--size-sm":"_button--size-sm_1l5kn_61",state:"_state_1l5kn_79","button--size-md":"_button--size-md_1l5kn_87","button--size-lg":"_button--size-lg_1l5kn_113",icon:"_icon_1l5kn_155",outline:"_outline_1l5kn_209","state--default":"_state--default_1l5kn_233","state--sent":"_state--sent_1l5kn_817"},je=e=>e.split("").map((r,s)=>{const t=r===" "?" ":r;return o.jsx("span",{style:{"--i":s},children:t},s)}),Wt={sm:G["button--size-sm"],md:G["button--size-md"],lg:G["button--size-lg"]},Zt={primary:"text-[#7e97b8] bg-[#dbeafe] border-[rgba(255,255,255,0.333)] shadow-[-4px_-2px_8px_0px_#ffffff,4px_2px_8px_0px_rgb(59_130_246_/_24%)] hover:text-[#516d91] hover:bg-[#bfdbfe] hover:shadow-[-2px_-1px_4px_0px_#ffffff,2px_1px_4px_0px_rgb(59_130_246_/_24%)]",secondary:"text-[#6b7280] bg-[#d1fae5] border-[rgba(255,255,255,0.4)] shadow-[-4px_-2px_8px_0px_#ffffff,4px_2px_8px_0px_rgb(34_197_94_/_18%)] hover:text-[#4b5563] hover:bg-[#a7f3d0] hover:shadow-[-2px_-1px_4px_0px_#ffffff,2px_1px_4px_0px_rgb(34_197_94_/_18%)]",danger:"text-[#ef4444] bg-[#fecaca] border-[rgba(255,255,255,0.5)] shadow-[-4px_-2px_8px_0px_#ffffff,4px_2px_8px_0px_rgb(239_68_68_/_18%)] hover:text-[#dc2626] hover:bg-[#fed7d7] hover:shadow-[-2px_-1px_4px_0px_#ffffff,2px_1px_4px_0px_rgb(239_68_68_/_18%)]"},Ut=({children:e="Send Message",successText:r="Sent",onSubmit:s,disabled:t,variant:n="primary",size:l="md",className:a,...c})=>{const[i,u]=m.useState(!1),[g,w]=m.useState(!1),v=m.useId(),N=m.useRef(null),y=m.useRef(void 0);m.useEffect(()=>()=>{y.current!==void 0&&window.clearTimeout(y.current)},[]);const z=m.useCallback(async k=>{if(s&&!i&&!g)try{w(!0),await s(),u(!0),y.current!==void 0&&window.clearTimeout(y.current),y.current=window.setTimeout(()=>{u(!1)},3e3)}catch(C){console.error("Submit failed:",C)}finally{w(!1)}c.onClick?.(k)},[s,i,g,c.onClick]);return o.jsxs("button",{...c,ref:N,type:"submit",disabled:t,onClick:z,className:f(G.button,Zt[n],Wt[l],a),"aria-label":i?"Submission successful":c["aria-label"]||"Submit","aria-disabled":t,"aria-busy":g,children:[o.jsx("div",{className:G.outline}),o.jsxs("div",{className:f(G.state,G["state--default"]),children:[o.jsx("div",{className:G.icon,children:o.jsxs("svg",{width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsxs("g",{style:{filter:`url(#${v})`},children:[o.jsx("path",{d:"M14.2199 21.63C13.0399 21.63 11.3699 20.8 10.0499 16.83L9.32988 14.67L7.16988 13.95C3.20988 12.63 2.37988 10.96 2.37988 9.78001C2.37988 8.61001 3.20988 6.93001 7.16988 5.60001L15.6599 2.77001C17.7799 2.06001 19.5499 2.27001 20.6399 3.35001C21.7299 4.43001 21.9399 6.21001 21.2299 8.33001L18.3999 16.82C17.0699 20.8 15.3999 21.63 14.2199 21.63ZM7.63988 7.03001C4.85988 7.96001 3.86988 9.06001 3.86988 9.78001C3.86988 10.5 4.85988 11.6 7.63988 12.52L10.1599 13.36C10.3799 13.43 10.5599 13.61 10.6299 13.83L11.4699 16.35C12.3899 19.13 13.4999 20.12 14.2199 20.12C14.9399 20.12 16.0399 19.13 16.9699 16.35L19.7999 7.86001C20.3099 6.32001 20.2199 5.06001 19.5699 4.41001C18.9199 3.76001 17.6599 3.68001 16.1299 4.19001L7.63988 7.03001Z",fill:"#6b7280"}),o.jsx("path",{d:"M10.11 14.4C9.92005 14.4 9.73005 14.33 9.58005 14.18C9.29005 13.89 9.29005 13.41 9.58005 13.12L13.16 9.53C13.45 9.24 13.93 9.24 14.22 9.53C14.51 9.82 14.51 10.3 14.22 10.59L10.64 14.18C10.5 14.33 10.3 14.4 10.11 14.4Z",fill:"#6b7280"})]}),o.jsx("defs",{children:o.jsx("filter",{id:v,children:o.jsx("feDropShadow",{dx:"0",dy:"1",stdDeviation:"0.3",floodOpacity:"0.25"})})})]})}),o.jsx("p",{children:je(typeof e=="string"?e:"Send Message")})]}),o.jsxs("div",{className:f(G.state,G["state--sent"]),children:[o.jsx("div",{className:G.icon,children:o.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",height:"1em",width:"1em",strokeWidth:"0.5px",stroke:"black",children:o.jsxs("g",{style:{filter:`url(#${v})`},children:[o.jsx("path",{fill:"currentColor",d:"M12 22.75C6.07 22.75 1.25 17.93 1.25 12C1.25 6.07 6.07 1.25 12 1.25C17.93 1.25 22.75 6.07 22.75 12C22.75 17.93 17.93 22.75 12 22.75ZM12 2.75C6.9 2.75 2.75 6.9 2.75 12C2.75 17.1 6.9 21.25 12 21.25C17.1 21.25 21.25 17.1 21.25 12C21.25 6.9 17.1 2.75 12 2.75Z"}),o.jsx("path",{fill:"currentColor",d:"M10.5795 15.5801C10.3795 15.5801 10.1895 15.5001 10.0495 15.3601L7.21945 12.5301C6.92945 12.2401 6.92945 11.7601 7.21945 11.4701C7.50945 11.1801 7.98945 11.1801 8.27945 11.4701L10.5795 13.7701L15.7195 8.6301C16.0095 8.3401 16.4895 8.3401 16.7795 8.6301C17.0695 8.9201 17.0695 9.4001 16.7795 9.6901L11.1095 15.3601C10.9695 15.5001 10.7795 15.5801 10.5795 15.5801Z"})]})})}),o.jsx("p",{children:je(r)})]})]})},qt={sm:"px-3 py-2 text-sm",md:"px-4 py-3 text-base",lg:"px-5 py-4 text-lg"},ue=m.forwardRef(({size:e="md",error:r=!1,className:s,disabled:t,...n},l)=>o.jsxs("div",{className:"relative inline-flex items-center",children:[o.jsx("input",{ref:l,className:f("bg-transparent","border-none","outline-none","w-[247px]","rounded-full","text-text-primary","transition-colors duration-200","disabled:text-text-disabled disabled:cursor-not-allowed",r?"shadow-[inset_2px_5px_10px_var(--input-shadow-error)] cursor-help":"shadow-[inset_2px_5px_10px_var(--input-shadow)]",qt[e],s),style:r?{paddingRight:"2rem"}:void 0,disabled:t,"aria-invalid":r,...n}),r&&o.jsx("svg",{className:"absolute right-2 w-4 h-4 text-danger pointer-events-none flex-shrink-0",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:"2","aria-hidden":"true",children:o.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 8v4m0 4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"})})]}));ue.displayName="Input";const Ve=m.forwardRef(({label:e,error:r=!1,className:s,disabled:t,checked:n,onChange:l,...a},c)=>{const i=m.useId();return o.jsxs("div",{className:f("flex items-center space-x-2",t&&"cursor-not-allowed",r&&!t&&"cursor-help",s),children:[o.jsxs("label",{className:f("checkbox-container",t&&"opacity-50 cursor-not-allowed",r&&!t&&"cursor-help",!t&&!r&&"cursor-pointer"),children:[o.jsx("input",{ref:c,id:i,type:"checkbox",disabled:t,checked:n,onChange:l,"aria-checked":n,"aria-invalid":r,"aria-disabled":t,...a}),o.jsx("svg",{viewBox:"0 0 64 64",height:"1em",width:"1em","aria-hidden":"true",children:o.jsx("path",{d:"M 0 16 V 56 A 8 8 90 0 0 8 64 H 56 A 8 8 90 0 0 64 56 V 8 A 8 8 90 0 0 56 0 H 8 A 8 8 90 0 0 0 8 V 16 L 32 48 L 64 16 V 8 A 8 8 90 0 0 56 0 H 8 A 8 8 90 0 0 0 8 V 56 A 8 8 90 0 0 8 64 H 56 A 8 8 90 0 0 64 56 V 16",pathLength:"575.0541381835938",className:f("checkbox-path",r&&"checkbox-path-error")})})]}),e&&o.jsx("label",{htmlFor:i,className:f("text-sm font-medium select-none",t?"text-text-disabled cursor-not-allowed":r?"text-text-primary cursor-help":"text-text-primary cursor-pointer"),children:e})]})});Ve.displayName="Checkbox";const Yt=({label:e,error:r=!1,className:s,disabled:t,checked:n,onChange:l,id:a,...c})=>{const i=a||m.useId(),u=m.useRef(null),g=w=>{(w.key==="Enter"||w.key===" ")&&!t&&(w.preventDefault(),u.current?.click())};return o.jsxs("div",{className:f("toggle-wrapper",r&&"toggle-wrapper--error",t&&"cursor-not-allowed",r&&!t&&"cursor-help",s),children:[o.jsx("input",{ref:u,id:i,className:"toggle-checkbox",type:"checkbox",checked:n,onChange:l,disabled:t,role:"switch","aria-checked":n,"aria-disabled":t,"aria-invalid":r,...c}),o.jsx("div",{className:f("toggle-container",t&&"cursor-not-allowed",r&&!t&&"cursor-help"),onKeyDown:g,tabIndex:t?-1:0,role:"button","aria-hidden":"true",children:o.jsx("div",{className:"toggle-button",children:o.jsx("div",{className:"toggle-button-circles-container",children:Array.from({length:12}).map((w,v)=>o.jsx("div",{className:"toggle-button-circle"},v))})})}),e&&o.jsx("label",{htmlFor:i,className:f("text-sm font-medium select-none ml-2",t?"text-text-disabled cursor-not-allowed":r?"text-text-primary cursor-help":"text-text-primary cursor-pointer"),children:e})]})},Kt=({className:e,...r})=>o.jsx("div",{className:f("card","w-full","rounded-lg border border-border","bg-surface-secondary text-text-primary","shadow-sm",e),...r}),Xt=({className:e,...r})=>o.jsx("div",{className:f("flex items-start justify-between gap-4 px-6 py-4 border-b border-border",e),...r}),Jt=({className:e,...r})=>o.jsx("div",{className:f("px-6 py-4",e),...r}),Qt=({className:e,...r})=>o.jsx("div",{className:f("flex items-center justify-end gap-3 px-6 py-4 border-t border-border",e),...r}),Be={sm:.7,md:1,lg:1.3},Rt=({size:e="md",className:r,...s})=>{const t=8*Be[e];return o.jsxs("div",{className:f("loader",r),style:{fontSize:`${t}px`},role:"status","aria-label":"Loading",...s,children:[o.jsx("div",{className:"loader-face loader-face-1",children:o.jsx("div",{className:"loader-circle"})}),o.jsx("div",{className:"loader-face loader-face-2",children:o.jsx("div",{className:"loader-circle"})})]})},er=({size:e="md",variant:r="inline",label:s,className:t,...n})=>{const l=8*Be[e];return r==="container"?o.jsx("div",{className:f("relative w-full min-h-[8rem] rounded-lg border border-border bg-surface-secondary flex items-center justify-center",t),role:"status","aria-label":s||"Loading",...n,children:o.jsxs("div",{className:"flex flex-col items-center gap-3",children:[o.jsxs("div",{className:"loader",style:{fontSize:`${l}px`},"aria-hidden":"true",children:[o.jsx("div",{className:"loader-face loader-face-1",children:o.jsx("div",{className:"loader-circle"})}),o.jsx("div",{className:"loader-face loader-face-2",children:o.jsx("div",{className:"loader-circle"})})]}),s&&o.jsx("span",{className:"text-sm text-text-secondary",children:s})]})}):o.jsxs("div",{className:f("inline-flex items-center gap-2",t),role:"status","aria-label":s||"Loading",...n,children:[o.jsxs("div",{className:"loader",style:{fontSize:`${l}px`},"aria-hidden":"true",children:[o.jsx("div",{className:"loader-face loader-face-1",children:o.jsx("div",{className:"loader-circle"})}),o.jsx("div",{className:"loader-face loader-face-2",children:o.jsx("div",{className:"loader-circle"})})]}),s&&o.jsx("span",{className:"text-sm text-text-secondary",children:s})]})},Ge=m.createContext(null),tr=({name:e,legend:r,value:s,defaultValue:t,disabled:n=!1,onValueChange:l,className:a,children:c,...i})=>{const u=s!==void 0,[g,w]=m.useState(t),v=u?s:g,N=m.useCallback(y=>{u||w(y),l?.(y)},[u,l]);return o.jsx(Ge.Provider,{value:{name:e,value:v,disabled:n,onValueChange:N},children:o.jsxs("fieldset",{className:f("radio-input",n&&"opacity-60 cursor-not-allowed",a),disabled:n,...i,children:[r&&o.jsx("legend",{className:"text-sm font-medium text-text-primary",children:r}),c]})})},rr=({label:e,value:r,disabled:s,checked:t,defaultChecked:n,name:l,onChange:a,onCheckedChange:c,className:i,...u})=>{const g=m.useContext(Ge),w=m.useId(),v=!!(s??g?.disabled),N=l??g?.name,y=!!g,z=t!==void 0,[k,C]=m.useState(!!n),L=y?g?.value===r:z?!!t:k,j=S=>{const A=S.target.checked;y&&A?g?.onValueChange?.(r):z||C(A),c?.(A),a?.(S)},T=o.jsxs("label",{htmlFor:w,className:f(v&&"cursor-not-allowed",i),role:"radio","aria-checked":L,"aria-disabled":v,children:[o.jsx("input",{id:w,type:"radio",name:N,value:r,checked:L,disabled:v,onChange:j,role:"radio","aria-checked":L,"aria-disabled":v,...u}),o.jsx("span",{children:e||""})]});return y?T:o.jsx("div",{className:"radio-input",children:T})},or={top:"bottom-full left-1/2 -translate-x-1/2 mb-1",bottom:"top-full left-1/2 -translate-x-1/2 mt-1",left:"right-full top-1/2 -translate-y-1/2 mr-1",right:"left-full top-1/2 -translate-y-1/2 ml-1"},sr={top:"top-full left-1/2 -translate-x-1/2 -mt-px",bottom:"bottom-full left-1/2 -translate-x-1/2 -mb-px",left:"left-full top-1/2 -translate-y-1/2 -ml-px",right:"right-full top-1/2 -translate-y-1/2 -mr-px"},nr={top:"border-t-border border-r-transparent border-b-transparent border-l-transparent border-t-[6px] border-r-[6px] border-l-[6px]",bottom:"border-b-border border-r-transparent border-t-transparent border-l-transparent border-b-[6px] border-r-[6px] border-l-[6px]",left:"border-l-border border-r-transparent border-t-transparent border-b-transparent border-l-[6px] border-t-[6px] border-b-[6px]",right:"border-r-border border-l-transparent border-t-transparent border-b-transparent border-r-[6px] border-t-[6px] border-b-[6px]"},ar={top:"top-full left-1/2 -translate-x-1/2 -mt-[5px]",bottom:"bottom-full left-1/2 -translate-x-1/2 -mb-[5px]",left:"left-full top-1/2 -translate-y-1/2 -ml-[5px]",right:"right-full top-1/2 -translate-y-1/2 -mr-[5px]"},lr=({open:e,onOpenChange:r,content:s,position:t="top",delay:n=0,disabled:l=!1,children:a,className:c})=>{const i=m.useRef(null),u=m.useRef(null),g=m.useRef(null),w=()=>{i.current!==null&&(window.clearTimeout(i.current),i.current=null)};m.useEffect(()=>w,[]);const v=()=>{if(!l){if(w(),n>0){i.current=window.setTimeout(()=>r?.(!0),n);return}r?.(!0)}},N=()=>{w(),r?.(!1)},y=m.Children.only(a),z=m.useId(),k=C=>{const L=C.relatedTarget,j=g.current?.contains(L),T=u.current?.contains(L);!j&&!T&&N(),y.props.onBlur?.(C)};return o.jsxs("span",{ref:g,className:f("relative inline-block",c),children:[m.cloneElement(y,{"aria-describedby":e&&!l?z:void 0,onMouseEnter:C=>{y.props.onMouseEnter?.(C),v()},onMouseLeave:C=>{y.props.onMouseLeave?.(C);const L=C.relatedTarget;u.current?.contains(L)||N()},onFocus:C=>{y.props.onFocus?.(C),v()},onBlur:k}),e&&!l&&o.jsxs("span",{ref:u,id:z,role:"tooltip",className:f("absolute z-50",or[t],"whitespace-nowrap","rounded-md border border-border bg-surface text-text-primary","px-3 py-2 text-xs shadow-md"),onMouseEnter:v,onMouseLeave:N,children:[s,o.jsx("span",{className:f("absolute w-0 h-0 pointer-events-none",sr[t],nr[t])}),o.jsx("span",{className:f("absolute w-0 h-0 bg-surface pointer-events-none",ar[t],t==="top"&&"border-t-[5px] border-r-[5px] border-l-[5px] border-t-surface border-r-transparent border-l-transparent",t==="bottom"&&"border-b-[5px] border-r-[5px] border-l-[5px] border-b-surface border-r-transparent border-l-transparent",t==="left"&&"border-l-[5px] border-t-[5px] border-b-[5px] border-l-surface border-t-transparent border-b-transparent",t==="right"&&"border-r-[5px] border-t-[5px] border-b-[5px] border-r-surface border-t-transparent border-b-transparent")})]})]})},Pe=m.createContext(void 0),ir=({children:e,defaultTheme:r})=>{const s=()=>{if(typeof window<"u"){const a=localStorage.getItem("theme");if(a==="light"||a==="dark")return a}return typeof window<"u"&&window.matchMedia?window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light":r||"dark"},[t,n]=m.useState(s),l=m.useCallback(a=>{n(a),typeof window<"u"&&localStorage.setItem("theme",a)},[]);return m.useEffect(()=>{if(typeof document>"u")return;const a=document.documentElement;t==="light"?(a.classList.add("theme-light"),a.classList.remove("theme-dark")):(a.classList.add("theme-dark"),a.classList.remove("theme-light"))},[t]),m.useEffect(()=>{if(typeof window>"u"||!window.matchMedia)return;const a=window.matchMedia("(prefers-color-scheme: dark)"),c=i=>{typeof window<"u"&&!localStorage.getItem("theme")&&n(i.matches?"dark":"light")};if(a.addEventListener)return a.addEventListener("change",c),()=>a.removeEventListener("change",c);if(a.addListener)return a.addListener(c),()=>a.removeListener(c)},[]),o.jsx(Pe.Provider,{value:{theme:t,setTheme:l},children:e})},$e=()=>{const e=m.useContext(Pe);if(e===void 0)throw new Error("useTheme must be used within a ThemeProvider");return e},cr=({className:e,showLabel:r=!0})=>{const{theme:s,setTheme:t}=$e(),n=s==="dark",l=()=>{t(n?"light":"dark")},a=c=>{(c.key==="Enter"||c.key===" ")&&(c.preventDefault(),l())};return o.jsxs("div",{className:f("flex items-center gap-3",e),children:[o.jsxs("label",{className:"theme-switch cursor-pointer",onKeyDown:a,tabIndex:0,role:"switch","aria-checked":n,"aria-label":n?"Switch to light mode":"Switch to dark mode",children:[o.jsx("input",{type:"checkbox",className:"theme-switch__checkbox",checked:n,onChange:l,"aria-hidden":"true"}),o.jsxs("div",{className:"theme-switch__container",children:[o.jsx("div",{className:"theme-switch__clouds"}),o.jsx("div",{className:"theme-switch__stars-container",children:o.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 144 55",fill:"none",children:o.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M135.831 3.00688C135.055 3.85027 134.111 4.29946 133 4.35447C134.111 4.40947 135.055 4.85867 135.831 5.71123C136.607 6.55462 136.996 7.56303 136.996 8.72727C136.996 7.95722 137.172 7.25134 137.525 6.59129C137.886 5.93124 138.372 5.39954 138.98 5.00535C139.598 4.60199 140.268 4.39114 141 4.35447C139.88 4.2903 138.936 3.85027 138.16 3.00688C137.384 2.16348 136.996 1.16425 136.996 0C136.996 1.16425 136.607 2.16348 135.831 3.00688ZM31 23.3545C32.1114 23.2995 33.0551 22.8503 33.8313 22.0069C34.6075 21.1635 34.9956 20.1642 34.9956 19C34.9956 20.1642 35.3837 21.1635 36.1599 22.0069C36.9361 22.8503 37.8798 23.2903 39 23.3545C38.2679 23.3911 37.5976 23.602 36.9802 24.0053C36.3716 24.3995 35.8864 24.9312 35.5248 25.5913C35.172 26.2513 34.9956 26.9572 34.9956 27.7273C34.9956 26.563 34.6075 25.5546 33.8313 24.7112C33.0551 23.8587 32.1114 23.4095 31 23.3545ZM0 36.3545C1.11136 36.2995 2.05513 35.8503 2.83131 35.0069C3.6075 34.1635 3.99559 33.1642 3.99559 32C3.99559 33.1642 4.38368 34.1635 5.15987 35.0069C5.93605 35.8503 6.87982 36.2903 8 36.3545C7.26792 36.3911 6.59757 36.602 5.98015 37.0053C5.37155 37.3995 4.88644 37.9312 4.52481 38.5913C4.172 39.2513 3.99559 39.9572 3.99559 40.7273C3.99559 39.563 3.6075 38.5546 2.83131 37.7112C2.05513 36.8587 1.11136 36.4095 0 36.3545ZM56.8313 24.0069C56.0551 24.8503 55.1114 25.2995 54 25.3545C55.1114 25.4095 56.0551 25.8587 56.8313 26.7112C57.6075 27.5546 57.9956 28.563 57.9956 29.7273C57.9956 28.9572 58.172 28.2513 58.5248 27.5913C58.8864 26.9312 59.3716 26.3995 59.9802 26.0053C60.5976 25.602 61.2679 25.3911 62 25.3545C60.8798 25.2903 59.9361 24.8503 59.1599 24.0069C58.3837 23.1635 57.9956 22.1642 57.9956 21C57.9956 22.1642 57.6075 23.1635 56.8313 24.0069ZM81 25.3545C82.1114 25.2995 83.0551 24.8503 83.8313 24.0069C84.6075 23.1635 84.9956 22.1642 84.9956 21C84.9956 22.1642 85.3837 23.1635 86.1599 24.0069C86.9361 24.8503 87.8798 25.2903 89 25.3545C88.2679 25.3911 87.5976 25.602 86.9802 26.0053C86.3716 26.3995 85.8864 26.9312 85.5248 27.5913C85.172 28.2513 84.9956 28.9572 84.9956 29.7273C84.9956 28.563 84.6075 27.5546 83.8313 26.7112C83.0551 25.8587 82.1114 25.4095 81 25.3545ZM136 36.3545C137.111 36.2995 138.055 35.8503 138.831 35.0069C139.607 34.1635 139.996 33.1642 139.996 32C139.996 33.1642 140.384 34.1635 141.16 35.0069C141.936 35.8503 142.88 36.2903 144 36.3545C143.268 36.3911 142.598 36.602 141.98 37.0053C141.372 37.3995 140.886 37.9312 140.525 38.5913C140.172 39.2513 139.996 39.9572 139.996 40.7273C139.996 39.563 139.607 38.5546 138.831 37.7112C138.055 36.8587 137.111 36.4095 136 36.3545ZM101.831 49.0069C101.055 49.8503 100.111 50.2995 99 50.3545C100.111 50.4095 101.055 50.8587 101.831 51.7112C102.607 52.5546 102.996 53.563 102.996 54.7273C102.996 53.9572 103.172 53.2513 103.525 52.5913C103.886 51.9312 104.372 51.3995 104.98 51.0053C105.598 50.602 106.268 50.3911 107 50.3545C105.88 50.2903 104.936 49.8503 104.16 49.0069C103.384 48.1635 102.996 47.1642 102.996 46C102.996 47.1642 102.607 48.1635 101.831 49.0069Z",fill:"currentColor"})})}),o.jsx("div",{className:"theme-switch__circle-container",children:o.jsx("div",{className:"theme-switch__sun-moon-container",children:o.jsxs("div",{className:"theme-switch__moon",children:[o.jsx("div",{className:"theme-switch__spot"}),o.jsx("div",{className:"theme-switch__spot"}),o.jsx("div",{className:"theme-switch__spot"})]})})})]})]}),r&&o.jsx("span",{className:"text-sm font-medium text-text-primary",children:n?"Dark":"Light"})]})},dr={sm:"max-w-xs w-full",md:"max-w-sm w-full",lg:"max-w-md w-full",full:"w-full"},pr=({size:e="md",className:r,children:s,...t})=>o.jsx("div",{className:f("relative flex justify-center items-center","bg-surface-tertiary rounded-[24px]","shadow-[0_4px_8px_rgba(0,0,0,0.2),0_8px_16px_rgba(0,0,0,0.2),0_0_8px_rgba(255,255,255,0.1),0_0_16px_rgba(255,255,255,0.08)]","z-[8]",dr[e],r),...t,children:s}),fr=({className:e,children:r,...s})=>o.jsx("div",{className:f("relative bg-surface-tertiary rounded-[24px] p-7 z-[10]","backdrop-blur-[15px]","shadow-[inset_0_40px_60px_-8px_rgba(255,255,255,0.12),inset_4px_0_12px_-6px_rgba(255,255,255,0.12),inset_0_0_12px_-4px_rgba(255,255,255,0.12)]","w-full",e),...s,children:r}),ur=({className:e,...r})=>o.jsxs("div",{className:f("w-[65px] h-[65px] rounded-[20px] border-2 border-white","bg-gradient-to-br from-white/20 to-black/20","shadow-[8px_8px_16px_rgba(0,0,0,0.2),-8px_-8px_16px_rgba(255,255,255,0.06)]","flex justify-center items-center relative",e),...r,children:[o.jsx("div",{className:"absolute bottom-[10px] w-1/2 h-[20%] rounded-tl-[40px] rounded-tr-[40px] rounded-br-[20px] rounded-bl-[20px] border-[2.5px] border-white"}),o.jsx("div",{className:"absolute top-[10px] w-[30%] h-[30%] rounded-full border-[2.5px] border-white"})]}),mr=({title:e,showLogo:r=!1,footer:s,size:t="md",className:n,children:l,...a})=>o.jsx(pr,{size:t,children:o.jsxs(fr,{children:[o.jsxs("form",{className:f("flex justify-center items-center flex-col gap-[10px]",n),...a,children:[r&&o.jsx("div",{className:"flex justify-center items-center mb-2",children:o.jsx(ur,{})}),e&&o.jsx("div",{className:"w-full text-center text-2xl font-bold py-1.5 text-text-primary flex justify-center items-center",children:e}),l]}),s&&o.jsx("div",{className:"w-full text-left text-text-secondary text-xs mt-4",children:s})]})}),br=({label:e,error:r,helperText:s,className:t,size:n,id:l,...a})=>{const c=l||m.useId(),i=typeof r=="string"?r:void 0,u=!!r;return o.jsxs("div",{className:"w-full",children:[e&&o.jsx("label",{htmlFor:c,className:"block text-text-primary text-sm mb-1.5",children:e}),o.jsx("div",{className:"flex justify-center",children:o.jsx(ue,{id:c,className:f("p-3 border-none rounded-xl bg-surface text-text-primary text-sm outline-none","focus:border focus:border-border-focus",t),error:u,size:n,"aria-invalid":u,"aria-describedby":i?`${c}-error`:s?`${c}-helper`:void 0,...a})}),i&&o.jsx("p",{id:`${c}-error`,className:"text-red-500 text-xs mt-1",role:"alert",children:i}),s&&!i&&o.jsx("p",{id:`${c}-helper`,className:"text-text-secondary text-xs mt-1",children:s})]})},hr=({variant:e="primary",className:r,children:s,...t})=>e==="google"?o.jsx("button",{className:f("w-full h-10 border-none rounded-[20px] text-sm font-semibold cursor-pointer","grid place-content-center gap-2.5 bg-surface-secondary text-text-primary","transition-all duration-300","shadow-[inset_0px_3px_6px_-4px_rgba(255,255,255,0.6),inset_0px_-3px_6px_-2px_rgba(0,0,0,0.8)]","hover:bg-white/25 hover:shadow-[inset_0px_3px_6px_rgba(255,255,255,0.6),inset_0px_-3px_6px_rgba(0,0,0,0.8),0px_0px_8px_rgba(255,255,255,0.05)]","flex justify-center items-center gap-2.5",r),...t,children:s}):o.jsx(R,{variant:"primary",className:f("w-full h-10 rounded-[20px] text-sm font-semibold mt-1.5",r),...t,children:s}),xr=({className:e,children:r,...s})=>o.jsx("div",{className:f("w-full text-left text-text-secondary text-xs",e),...s,children:r}),gr=({className:e,children:r,...s})=>o.jsx("a",{className:f("relative text-text-secondary font-semibold no-underline transition-colors duration-300 ease-in-out","hover:text-white",'after:content-[""] after:absolute after:left-0 after:bottom-[-2px] after:w-0 after:rounded-md after:h-[1px] after:bg-current after:transition-[width] after:duration-300 after:ease-in-out',"hover:after:w-full",e),...s,children:r}),$={container:"_container_vgyf3_1","container--size-sm":"_container--size-sm_vgyf3_23","container--size-md":"_container--size-md_vgyf3_33","container--size-lg":"_container--size-lg_vgyf3_43","search-container":"_search-container_vgyf3_53",input:"_input_vgyf3_123","input--size-sm":"_input--size-sm_vgyf3_151","input--size-md":"_input--size-md_vgyf3_161","input--size-lg":"_input--size-lg_vgyf3_171",search__icon:"_search__icon_vgyf3_181"},_r={sm:{container:$["container--size-sm"],input:$["input--size-sm"]},md:{container:$["container--size-md"],input:$["input--size-md"]},lg:{container:$["container--size-lg"],input:$["input--size-lg"]}},He=m.forwardRef(({size:e="md",className:r,inputClassName:s,searchContainerClassName:t,placeholder:n,...l},a)=>{const c=_r[e];return o.jsx("div",{className:f($.container,c.container,r),children:o.jsxs("div",{className:f($["search-container"],t),children:[o.jsx("input",{ref:a,className:f($.input,c.input,s),type:"search",placeholder:n,...l}),o.jsx("svg",{viewBox:"0 0 24 24",className:$.search__icon,"aria-hidden":"true",focusable:"false",children:o.jsx("g",{children:o.jsx("path",{d:"M21.53 20.47l-3.66-3.66C19.195 15.24 20 13.214 20 11c0-4.97-4.03-9-9-9s-9 4.03-9 9 4.03 9 9 9c2.215 0 4.24-.804 5.808-2.13l3.66 3.66c.147.146.34.22.53.22s.385-.073.53-.22c.295-.293.295-.767.002-1.06zM3.5 11c0-4.135 3.365-7.5 7.5-7.5s7.5 3.365 7.5 7.5-3.365 7.5-7.5 7.5-7.5-3.365-7.5-7.5z"})})})]})})});He.displayName="SearchBar";const Z={list:"_list_hdx8a_1",listHorizontal:"_listHorizontal_hdx8a_11",iconContent:"_iconContent_hdx8a_15",tooltip:"_tooltip_hdx8a_25",tooltipHorizontal:"_tooltipHorizontal_hdx8a_46",link:"_link_hdx8a_60",filled:"_filled_hdx8a_87"},wr=e=>{switch(e){case"linkedin":return o.jsx("path",{d:"M0 1.146C0 .513.526 0 1.175 0h13.65C15.474 0 16 .513 16 1.146v13.708c0 .633-.526 1.146-1.175 1.146H1.175C.526 16 0 15.487 0 14.854zm4.943 12.248V6.169H2.542v7.225zm-1.2-8.212c.837 0 1.358-.554 1.358-1.248-.015-.709-.52-1.248-1.342-1.248S2.4 3.226 2.4 3.934c0 .694.521 1.248 1.327 1.248zm4.908 8.212V9.359c0-.216.016-.432.08-.586.173-.431.568-.878 1.232-.878.869 0 1.216.662 1.216 1.634v3.865h2.401V9.25c0-2.22-1.184-3.252-2.764-3.252-1.274 0-1.845.7-2.165 1.193v.025h-.016l.016-.025V6.169h-2.4c.03.678 0 7.225 0 7.225z",fill:"currentColor"});case"github":return o.jsx("path",{d:"M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27s1.36.09 2 .27c1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.01 8.01 0 0 0 16 8c0-4.42-3.58-8-8-8",fill:"currentColor"});case"instagram":return o.jsx("path",{d:"M8 0C5.829 0 5.556.01 4.703.048 3.85.088 3.269.222 2.76.42a3.9 3.9 0 0 0-1.417.923A3.9 3.9 0 0 0 .42 2.76C.222 3.268.087 3.85.048 4.7.01 5.555 0 5.827 0 8.001c0 2.172.01 2.444.048 3.297.04.852.174 1.433.372 1.942.205.526.478.972.923 1.417.444.445.89.719 1.416.923.51.198 1.09.333 1.942.372C5.555 15.99 5.827 16 8 16s2.444-.01 3.298-.048c.851-.04 1.434-.174 1.943-.372a3.9 3.9 0 0 0 1.416-.923c.445-.445.718-.891.923-1.417.197-.509.332-1.09.372-1.942C15.99 10.445 16 10.173 16 8s-.01-2.445-.048-3.299c-.04-.851-.175-1.433-.372-1.941a3.9 3.9 0 0 0-.923-1.417A3.9 3.9 0 0 0 13.24.42c-.51-.198-1.092-.333-1.943-.372C10.443.01 10.172 0 7.998 0zm-.717 1.442h.718c2.136 0 2.389.007 3.232.046.78.035 1.204.166 1.486.275.373.145.64.319.92.599s.453.546.598.92c.11.281.24.705.275 1.485.039.843.047 1.096.047 3.231s-.008 2.389-.047 3.232c-.035.78-.166 1.203-.275 1.485a2.5 2.5 0 0 1-.599.919c-.28.28-.546.453-.92.598-.28.11-.704.24-1.485.276-.843.038-1.096.047-3.232.047s-2.39-.009-3.233-.047c-.78-.036-1.203-.166-1.485-.276a2.5 2.5 0 0 1-.92-.598 2.5 2.5 0 0 1-.6-.92c-.109-.281-.24-.705-.275-1.485-.038-.843-.046-1.096-.046-3.233s.008-2.388.046-3.231c.036-.78.166-1.204.276-1.486.145-.373.319-.64.599-.92s.546-.453.92-.598c.282-.11.705-.24 1.485-.276.738-.034 1.024-.044 2.515-.045zm4.988 1.328a.96.96 0 1 0 0 1.92.96.96 0 0 0 0-1.92m-4.27 1.122a4.109 4.109 0 1 0 0 8.217 4.109 4.109 0 0 0 0-8.217m0 1.441a2.667 2.667 0 1 1 0 5.334 2.667 2.667 0 0 1 0-5.334",fill:"currentColor"});case"youtube":return o.jsx("path",{d:"M8.051 1.999h.089c.822.003 4.987.033 6.11.335a2.01 2.01 0 0 1 1.415 1.42c.101.38.172.883.22 1.402l.01.104.022.26.008.104c.065.914.073 1.77.074 1.957v.075c-.001.194-.01 1.108-.082 2.06l-.008.105-.009.104c-.05.572-.124 1.14-.235 1.558a2.01 2.01 0 0 1-1.415 1.42c-1.16.312-5.569.334-6.18.335h-.142c-.309 0-1.587-.006-2.927-.052l-.17-.006-.087-.004-.171-.007-.171-.007c-1.11-.049-2.167-.128-2.654-.26a2.01 2.01 0 0 1-1.415-1.419c-.111-.417-.185-.986-.235-1.558L.09 9.82l-.008-.104A31 31 0 0 1 0 7.68v-.123c.002-.215.01-.958.064-1.778l.007-.103.003-.052.008-.104.022-.26.01-.104c.048-.519.119-1.023.22-1.402a2.01 2.01 0 0 1 1.415-1.42c.487-.13 1.544-.21 2.654-.26l.17-.007.172-.006.086-.003.171-.007A100 100 0 0 1 7.858 2zM6.4 5.209v4.818l4.157-2.408z",fill:"currentColor"});case"facebook":return o.jsx("path",{d:"M16 8.049c0-4.446-3.582-8.05-8-8.05C3.58 0-.002 3.603-.002 8.05c0 4.017 2.926 7.347 6.75 7.951v-5.625h-2.03V8.05H6.75V6.275c0-2.017 1.195-3.131 3.022-3.131.876 0 1.791.157 1.791.157v1.98h-1.009c-.993 0-1.303.621-1.303 1.258v1.51h2.218l-.354 2.326H9.25V16c3.824-.604 6.75-3.934 6.75-7.951z",fill:"currentColor"});case"spotify":return o.jsx("path",{d:"M8 0C3.58 0 0 3.58 0 8s3.58 8 8 8 8-3.58 8-8-3.58-8-8-8zm3.67 11.56c-.13.21-.41.28-.62.15-1.69-1.03-3.81-1.26-6.3-.69-.24.05-.48-.1-.53-.34-.05-.24.1-.48.34-.53 2.7-.63 5.01-.37 6.89.81.21.13.28.41.15.62zm.89-1.96c-.16.25-.5.33-.75.17-1.93-1.18-4.87-1.52-7.15-.83-.29.08-.59-.1-.67-.39-.08-.29.1-.59.39-.67 2.58-.78 5.8-.4 7.98.95.25.16.33.5.17.75zm.11-2.08C10.15 6.6 6.03 6.4 3.48 7.23c-.36.11-.74-.06-.85-.42-.11-.36.06-.74.42-.85 2.99-.91 7.49-.68 10.27 1.07.32.19.42.63.23.95-.19.32-.63.42-.95.23z",fill:"currentColor"});case"telegram":return o.jsx("path",{d:"M15.854.146a.5.5 0 0 1 .11.54l-5.819 14.547a.75.75 0 0 1-1.329.124l-3.178-4.995L.643 7.184a.75.75 0 0 1 .124-1.33L15.314.037a.5.5 0 0 1 .54.11ZM6.636 10.07l2.761 4.338L14.13 2.576zm6.787-8.201L1.591 6.602l4.339 2.76z",fill:"currentColor"});case"pinterest":return o.jsx("path",{d:"M8 0a8 8 0 0 0-2.915 15.452c-.07-.633-.134-1.606.027-2.297.146-.625.937-3.977.937-3.977s-.239-.479-.239-1.187c0-1.113.645-1.943 1.448-1.943.683 0 1.012.512 1.012 1.127 0 .686-.437 1.712-.663 2.663-.188.796.4 1.446 1.185 1.446 1.422 0 2.515-1.5 2.515-3.664 0-1.915-1.377-3.254-3.342-3.254-2.276 0-3.612 1.707-3.612 3.471 0 .688.265 1.425.595 1.826a.24.24 0 0 1 .056.23c-.061.252-.196.796-.223.907-.035.146-.116.177-.268.107-1.001-.465-1.624-1.926-1.624-3.1 0-2.523 1.834-4.84 5.286-4.84 2.775 0 4.932 1.977 4.932 4.62 0 2.757-1.739 4.976-4.151 4.976-.811 0-1.573-.421-1.834-.919l-.498 1.902c-.181.695-.669 1.566-.995 2.097A8 8 0 1 0 8 0z",fill:"currentColor"});case"x":return o.jsx("path",{d:"M9.653 7.722 15.5 1h-1.18L9.11 7.077 5.5 1H1l6.086 8.844L1 15h1.18l5.21-6.06L11.5 15H16zM2.5 2.18h1.5L13.5 13.82H12z",fill:"currentColor"});default:return null}},vr=e=>({linkedin:"LinkedIn",github:"GitHub",instagram:"Instagram",youtube:"YouTube",facebook:"Facebook",spotify:"Spotify",telegram:"Telegram",pinterest:"Pinterest",x:"X"})[e],De=m.forwardRef(({links:e,className:r,orientation:s="vertical",...t},n)=>o.jsx("ul",{ref:n,className:f(Z.list,s==="horizontal"&&Z.listHorizontal,r),...t,children:e.map((l,a)=>{const c=l.label||vr(l.platform),i=wr(l.platform);return o.jsxs("li",{className:Z.iconContent,children:[o.jsxs("a",{href:l.url,"aria-label":c,"data-social":l.platform,className:Z.link,target:"_blank",rel:"noopener noreferrer",children:[o.jsx("div",{className:Z.filled}),o.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"currentColor",viewBox:"0 0 16 16",xmlSpace:"preserve","aria-hidden":"true",children:i})]}),o.jsx("div",{className:f(Z.tooltip,s==="horizontal"&&Z.tooltipHorizontal),children:c})]},`${l.platform}-${a}`)})}));De.displayName="SocialLinks";const U={card:"_card_tuygu_1",separator:"_separator_tuygu_33",list:"_list_tuygu_41",element:"_element_tuygu_57",label:"_label_tuygu_91",delete:"_delete_tuygu_111",accent:"_accent_tuygu_137"},yr=({groups:e,showSeparators:r=!0,className:s,...t})=>o.jsx("div",{className:f(U.card,s),...t,children:e.map((n,l)=>o.jsxs(m.Fragment,{children:[o.jsx(Oe,{group:n,isLastGroup:l===e.length-1}),r&&l<e.length-1&&o.jsx(Ze,{})]},n.id))}),Oe=({group:e,isLastGroup:r})=>{const s=e.variant==="accent"||r&&e.items.some(t=>t.variant==="accent");return o.jsx("ul",{className:f(U.list,s&&U.accent),children:e.items.map(t=>o.jsx(We,{item:t,isAccentGroup:s},t.id))})},We=({item:e,isAccentGroup:r})=>{const t=(e.variant||"default")==="danger",n=()=>{!e.disabled&&e.onClick&&e.onClick()},l=()=>e.icon?m.isValidElement(e.icon)?m.cloneElement(e.icon,{stroke:"currentColor",width:19,height:19}):e.icon:null;return o.jsxs("li",{className:f(U.element,t&&U.delete),onClick:n,style:{cursor:e.disabled?"not-allowed":"pointer",opacity:e.disabled?.5:1},children:[l(),o.jsx("p",{className:U.label,children:e.label})]})},Ze=()=>o.jsx("div",{className:U.separator}),kr=({title:e,description:r,privacyLink:s,privacyLinkText:t,acceptLabel:n,optionsLabel:l,onAccept:a,onOptions:c,storageKey:i,storageValue:u,icon:g,className:w,privacyLinkTarget:v,privacyLinkRel:N,iconClassName:y,contentClassName:z,acceptButtonClassName:k,optionsButtonClassName:C})=>{const[L,j]=m.useState(()=>typeof window<"u"?!localStorage.getItem(i):!1);m.useEffect(()=>{const S=localStorage.getItem(i);j(!S)},[i]);const T=()=>{localStorage.setItem(i,u),j(!1),a()};return L?o.jsx("article",{className:f("w-4/5 max-w-[300px] h-auto rounded-2xl","bg-white dark:bg-surface-secondary","shadow-[rgba(60,64,67,0.3)_0_1px_2px_0,rgba(60,64,67,0.15)_0_2px_6px_2px]","dark:shadow-[rgba(0,0,0,0.3)_0_1px_2px_0,rgba(0,0,0,0.15)_0_2px_6px_2px]",w),children:o.jsxs("div",{className:f("flex flex-col items-center justify-between pt-9 px-6 pb-6 relative",z),children:[g&&o.jsx("span",{className:f("relative mx-auto -mt-16 mb-8 text-zinc-700 dark:text-zinc-300",y),children:g}),o.jsx("h5",{className:"text-sm font-semibold mb-2 text-left mr-auto text-zinc-700 dark:text-text-primary",children:e}),o.jsx("p",{className:"w-full mb-4 text-sm text-justify text-zinc-600 dark:text-text-secondary",children:r}),o.jsx("p",{className:"w-full mb-4 text-sm text-justify text-zinc-600 dark:text-text-secondary",children:o.jsx("a",{href:s,className:"mb-2 text-sm cursor-pointer font-semibold transition-colors underline underline-offset-2 text-zinc-700 dark:text-text-primary",target:v,rel:N,children:t})}),o.jsx("button",{type:"button",onClick:c,className:f("mb-2 text-sm mr-auto text-zinc-600 dark:text-text-secondary","cursor-pointer font-semibold transition-colors","hover:text-[#634647] dark:hover:text-[#ddad81]","hover:underline underline-offset-2","focus-visible:outline-2 focus-visible:outline-offset-2","focus-visible:outline-[#634647] dark:focus-visible:outline-[#ddad81]",C),children:l}),o.jsx("button",{type:"button",onClick:T,className:f("absolute font-semibold right-6 bottom-6","cursor-pointer py-2 px-8 w-max break-keep","text-sm rounded-lg transition-colors","text-[#634647] hover:text-[#ddad81]","bg-[#ddad81] hover:bg-[#634647]","dark:text-white dark:bg-[#634647]","dark:hover:bg-[#ddad81] dark:hover:text-[#634647]","focus-visible:outline-2 focus-visible:outline-offset-2","focus-visible:outline-[#634647] dark:focus-visible:outline-[#ddad81]",k),children:n})]})}):null},Ue={neutral:{icon:"text-zinc-600 dark:text-zinc-400",buttonVariant:"primary"},danger:{icon:"text-red-600 dark:text-red-400",buttonVariant:"danger"},warning:{icon:"text-yellow-600 dark:text-yellow-400",buttonVariant:"secondary"},info:{icon:"text-blue-600 dark:text-blue-400",buttonVariant:"primary"}},qe=m.forwardRef(({className:e,children:r,role:s,"aria-modal":t,"aria-labelledby":n,"aria-describedby":l},a)=>o.jsx("div",{ref:a,role:s,"aria-modal":t,"aria-labelledby":n,"aria-describedby":l,className:f("w-full max-w-md","bg-white dark:bg-surface-secondary","rounded-lg","shadow-[2px_2px_20px_rgba(0,0,0,0.062)] dark:shadow-[rgba(0,0,0,0.3)_0_1px_2px_0,rgba(0,0,0,0.15)_0_2px_6px_2px]","p-6","flex flex-col items-center","gap-4","relative","overflow-hidden","transform transition-all duration-200",e),children:r}));qe.displayName="ConfirmModalCard";const Cr=({className:e,children:r})=>o.jsx("div",{className:f("flex items-center justify-center mb-2",e),children:r}),zr=({confirmLabel:e,cancelLabel:r,variant:s,onConfirm:t,onCancel:n,confirmButtonClassName:l,cancelButtonClassName:a})=>{const c=Ue[s];return o.jsxs("div",{className:"flex gap-4 flex-row w-full justify-center mt-2",children:[o.jsx(R,{type:"button",variant:"ghost",size:"sm",onClick:n,className:a,children:r}),o.jsx(R,{type:"button",variant:c.buttonVariant,size:"sm",onClick:t,className:l,children:e})]})},Nr=({isOpen:e,title:r,description:s,icon:t,confirmLabel:n,cancelLabel:l,variant:a="neutral",onConfirm:c,onCancel:i,onClose:u,className:g,iconClassName:w,contentClassName:v,confirmButtonClassName:N,cancelButtonClassName:y})=>{const z=m.useRef(null),k=m.useRef(null),C=m.useId(),L=m.useId();m.useEffect(()=>{e?k.current=document.activeElement:k.current&&(k.current.focus(),k.current=null)},[e]),m.useEffect(()=>{if(!e)return;const S=z.current;if(!S)return;const A=Array.from(S.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])')).filter(E=>!E.hasAttribute("disabled")&&E.offsetParent!==null),P=A[0],h=A[A.length-1];P&&P.focus();const B=E=>{if(E.key==="Escape"){u();return}if(E.key==="Tab"){if(A.length===0){E.preventDefault();return}E.shiftKey?document.activeElement===P&&(E.preventDefault(),h?.focus()):document.activeElement===h&&(E.preventDefault(),P?.focus())}},ee=E=>{S&&!S.contains(E.target)&&(E.preventDefault(),P?.focus())};return document.addEventListener("keydown",B),document.addEventListener("focusin",ee),()=>{document.removeEventListener("keydown",B),document.removeEventListener("focusin",ee)}},[e,u]);const j=m.useCallback(S=>{S.target===S.currentTarget&&u()},[u]);if(!e)return null;const T=Ue[a];return o.jsx("div",{className:f("fixed inset-0 z-50","flex items-center justify-center","p-4","bg-black/20 dark:bg-black/40","transition-opacity duration-200",g),onClick:j,role:"presentation",children:o.jsxs(qe,{ref:z,role:"dialog","aria-modal":!0,"aria-labelledby":C,"aria-describedby":L,className:"transform transition-all duration-200 scale-100",children:[t&&o.jsx(Cr,{className:f(T.icon,w),children:t}),o.jsxs("div",{className:f("flex flex-col items-center text-center gap-2 w-full",v),children:[o.jsx("h2",{id:C,className:"text-lg font-bold text-zinc-900 dark:text-text-primary",children:r}),o.jsx("p",{id:L,className:"text-sm font-semibold text-zinc-600 dark:text-text-secondary whitespace-pre-line",children:s})]}),o.jsx(zr,{confirmLabel:n,cancelLabel:l,variant:a,onConfirm:c,onCancel:i,confirmButtonClassName:N,cancelButtonClassName:y})]})})};_.Button=R,_.Card=Kt,_.CardContent=Jt,_.CardFooter=Qt,_.CardHeader=Xt,_.Checkbox=Ve,_.ConfirmModal=Nr,_.ContextMenu=yr,_.ContextMenuGroup=Oe,_.ContextMenuItem=We,_.ContextMenuSeparator=Ze,_.CookieConsent=kr,_.Form=mr,_.FormButton=hr,_.FormField=br,_.FormFooter=xr,_.FormFooterLink=gr,_.Input=ue,_.Loader=er,_.RadioButton=rr,_.RadioGroup=tr,_.SearchBar=He,_.SocialLinks=De,_.Spinner=Rt,_.SubmitButton=Ut,_.ThemeProvider=ir,_.ThemeSwitch=cr,_.Toggle=Yt,_.Tooltip=lr,_.useTheme=$e,Object.defineProperty(_,Symbol.toStringTag,{value:"Module"})}));
|
|
2
2
|
//# sourceMappingURL=index.js.map
|