advi-ui 0.2.2 → 0.2.4

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.
@@ -1,9 +1,9 @@
1
- Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c=r(i),l=0,u=c.length,d;l<u;l++)d=c[l],!a.call(e,d)&&d!==o&&t(e,d,{get:(e=>i[e]).bind(null,d),enumerable:!(s=n(i,d))||s.enumerable});return e},s=(n,r,a)=>(a=n==null?{}:e(i(n)),o(r||!n||!n.__esModule?t(a,`default`,{value:n,enumerable:!0}):a,n));let c=require(`react`),l=s(c,1);c=s(c);let u=require(`react/jsx-runtime`),d=require(`react-dom`);d=s(d,1);function f(e){var t,n,r=``;if(typeof e==`string`||typeof e==`number`)r+=e;else if(typeof e==`object`)if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=f(e[t]))&&(r&&(r+=` `),r+=n)}else for(n in e)e[n]&&(r&&(r+=` `),r+=n);return r}function p(){for(var e,t,n=0,r=``,i=arguments.length;n<i;n++)(e=arguments[n])&&(t=f(e))&&(r&&(r+=` `),r+=t);return r}var m=(e,t)=>{let n=Array(e.length+t.length);for(let t=0;t<e.length;t++)n[t]=e[t];for(let r=0;r<t.length;r++)n[e.length+r]=t[r];return n},h=(e,t)=>({classGroupId:e,validator:t}),g=(e=new Map,t=null,n)=>({nextPart:e,validators:t,classGroupId:n}),_=`-`,v=[],y=`arbitrary..`,b=e=>{let t=C(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:e=>{if(e.startsWith(`[`)&&e.endsWith(`]`))return S(e);let n=e.split(_);return x(n,+(n[0]===``&&n.length>1),t)},getConflictingClassGroupIds:(e,t)=>{if(t){let t=r[e],i=n[e];return t?i?m(i,t):t:i||v}return n[e]||v}}},x=(e,t,n)=>{if(e.length-t===0)return n.classGroupId;let r=e[t],i=n.nextPart.get(r);if(i){let n=x(e,t+1,i);if(n)return n}let a=n.validators;if(a===null)return;let o=t===0?e.join(_):e.slice(t).join(_),s=a.length;for(let e=0;e<s;e++){let t=a[e];if(t.validator(o))return t.classGroupId}},S=e=>e.slice(1,-1).indexOf(`:`)===-1?void 0:(()=>{let t=e.slice(1,-1),n=t.indexOf(`:`),r=t.slice(0,n);return r?y+r:void 0})(),C=e=>{let{theme:t,classGroups:n}=e;return w(n,t)},w=(e,t)=>{let n=g();for(let r in e){let i=e[r];T(i,n,r,t)}return n},T=(e,t,n,r)=>{let i=e.length;for(let a=0;a<i;a++){let i=e[a];E(i,t,n,r)}},E=(e,t,n,r)=>{if(typeof e==`string`){D(e,t,n);return}if(typeof e==`function`){O(e,t,n,r);return}k(e,t,n,r)},D=(e,t,n)=>{let r=e===``?t:A(t,e);r.classGroupId=n},O=(e,t,n,r)=>{if(j(e)){T(e(r),t,n,r);return}t.validators===null&&(t.validators=[]),t.validators.push(h(n,e))},k=(e,t,n,r)=>{let i=Object.entries(e),a=i.length;for(let e=0;e<a;e++){let[a,o]=i[e];T(o,A(t,a),n,r)}},A=(e,t)=>{let n=e,r=t.split(_),i=r.length;for(let e=0;e<i;e++){let t=r[e],i=n.nextPart.get(t);i||(i=g(),n.nextPart.set(t,i)),n=i}return n},j=e=>`isThemeGetter`in e&&e.isThemeGetter===!0,M=e=>{if(e<1)return{get:()=>void 0,set:()=>{}};let t=0,n=Object.create(null),r=Object.create(null),i=(i,a)=>{n[i]=a,t++,t>e&&(t=0,r=n,n=Object.create(null))};return{get(e){let t=n[e];if(t!==void 0)return t;if((t=r[e])!==void 0)return i(e,t),t},set(e,t){e in n?n[e]=t:i(e,t)}}},N=`!`,ee=`:`,te=[],P=(e,t,n,r,i)=>({modifiers:e,hasImportantModifier:t,baseClassName:n,maybePostfixModifierPosition:r,isExternal:i}),ne=e=>{let{prefix:t,experimentalParseClassName:n}=e,r=e=>{let t=[],n=0,r=0,i=0,a,o=e.length;for(let s=0;s<o;s++){let o=e[s];if(n===0&&r===0){if(o===ee){t.push(e.slice(i,s)),i=s+1;continue}if(o===`/`){a=s;continue}}o===`[`?n++:o===`]`?n--:o===`(`?r++:o===`)`&&r--}let s=t.length===0?e:e.slice(i),c=s,l=!1;s.endsWith(N)?(c=s.slice(0,-1),l=!0):s.startsWith(N)&&(c=s.slice(1),l=!0);let u=a&&a>i?a-i:void 0;return P(t,l,c,u)};if(t){let e=t+ee,n=r;r=t=>t.startsWith(e)?n(t.slice(e.length)):P(te,!1,t,void 0,!0)}if(n){let e=r;r=t=>n({className:t,parseClassName:e})}return r},re=e=>{let t=new Map;return e.orderSensitiveModifiers.forEach((e,n)=>{t.set(e,1e6+n)}),e=>{let n=[],r=[];for(let i=0;i<e.length;i++){let a=e[i],o=a[0]===`[`,s=t.has(a);o||s?(r.length>0&&(r.sort(),n.push(...r),r=[]),n.push(a)):r.push(a)}return r.length>0&&(r.sort(),n.push(...r)),n}},ie=e=>({cache:M(e.cacheSize),parseClassName:ne(e),sortModifiers:re(e),...b(e)}),ae=/\s+/,oe=(e,t)=>{let{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i,sortModifiers:a}=t,o=[],s=e.trim().split(ae),c=``;for(let e=s.length-1;e>=0;--e){let t=s[e],{isExternal:l,modifiers:u,hasImportantModifier:d,baseClassName:f,maybePostfixModifierPosition:p}=n(t);if(l){c=t+(c.length>0?` `+c:c);continue}let m=!!p,h=r(m?f.substring(0,p):f);if(!h){if(!m){c=t+(c.length>0?` `+c:c);continue}if(h=r(f),!h){c=t+(c.length>0?` `+c:c);continue}m=!1}let g=u.length===0?``:u.length===1?u[0]:a(u).join(`:`),_=d?g+N:g,v=_+h;if(o.indexOf(v)>-1)continue;o.push(v);let y=i(h,m);for(let e=0;e<y.length;++e){let t=y[e];o.push(_+t)}c=t+(c.length>0?` `+c:c)}return c},se=(...e)=>{let t=0,n,r,i=``;for(;t<e.length;)(n=e[t++])&&(r=ce(n))&&(i&&(i+=` `),i+=r);return i},ce=e=>{if(typeof e==`string`)return e;let t,n=``;for(let r=0;r<e.length;r++)e[r]&&(t=ce(e[r]))&&(n&&(n+=` `),n+=t);return n},le=(e,...t)=>{let n,r,i,a,o=o=>(n=ie(t.reduce((e,t)=>t(e),e())),r=n.cache.get,i=n.cache.set,a=s,s(o)),s=e=>{let t=r(e);if(t)return t;let a=oe(e,n);return i(e,a),a};return a=o,(...e)=>a(se(...e))},F=[],I=e=>{let t=t=>t[e]||F;return t.isThemeGetter=!0,t},ue=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,de=/^\((?:(\w[\w-]*):)?(.+)\)$/i,fe=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,pe=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,me=/\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$/,he=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,ge=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,_e=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,ve=e=>fe.test(e),L=e=>!!e&&!Number.isNaN(Number(e)),ye=e=>!!e&&Number.isInteger(Number(e)),be=e=>e.endsWith(`%`)&&L(e.slice(0,-1)),xe=e=>pe.test(e),Se=()=>!0,Ce=e=>me.test(e)&&!he.test(e),we=()=>!1,Te=e=>ge.test(e),Ee=e=>_e.test(e),De=e=>!R(e)&&!z(e),Oe=e=>Ue(e,qe,we),R=e=>ue.test(e),ke=e=>Ue(e,Je,Ce),Ae=e=>Ue(e,Ye,L),je=e=>Ue(e,Ze,Se),Me=e=>Ue(e,Xe,we),Ne=e=>Ue(e,Ge,we),Pe=e=>Ue(e,Ke,Ee),Fe=e=>Ue(e,Qe,Te),z=e=>de.test(e),Ie=e=>We(e,Je),Le=e=>We(e,Xe),Re=e=>We(e,Ge),ze=e=>We(e,qe),Be=e=>We(e,Ke),Ve=e=>We(e,Qe,!0),He=e=>We(e,Ze,!0),Ue=(e,t,n)=>{let r=ue.exec(e);return r?r[1]?t(r[1]):n(r[2]):!1},We=(e,t,n=!1)=>{let r=de.exec(e);return r?r[1]?t(r[1]):n:!1},Ge=e=>e===`position`||e===`percentage`,Ke=e=>e===`image`||e===`url`,qe=e=>e===`length`||e===`size`||e===`bg-size`,Je=e=>e===`length`,Ye=e=>e===`number`,Xe=e=>e===`family-name`,Ze=e=>e===`number`||e===`weight`,Qe=e=>e===`shadow`,$e=le(()=>{let e=I(`color`),t=I(`font`),n=I(`text`),r=I(`font-weight`),i=I(`tracking`),a=I(`leading`),o=I(`breakpoint`),s=I(`container`),c=I(`spacing`),l=I(`radius`),u=I(`shadow`),d=I(`inset-shadow`),f=I(`text-shadow`),p=I(`drop-shadow`),m=I(`blur`),h=I(`perspective`),g=I(`aspect`),_=I(`ease`),v=I(`animate`),y=()=>[`auto`,`avoid`,`all`,`avoid-page`,`page`,`left`,`right`,`column`],b=()=>[`center`,`top`,`bottom`,`left`,`right`,`top-left`,`left-top`,`top-right`,`right-top`,`bottom-right`,`right-bottom`,`bottom-left`,`left-bottom`],x=()=>[...b(),z,R],S=()=>[`auto`,`hidden`,`clip`,`visible`,`scroll`],C=()=>[`auto`,`contain`,`none`],w=()=>[z,R,c],T=()=>[ve,`full`,`auto`,...w()],E=()=>[ye,`none`,`subgrid`,z,R],D=()=>[`auto`,{span:[`full`,ye,z,R]},ye,z,R],O=()=>[ye,`auto`,z,R],k=()=>[`auto`,`min`,`max`,`fr`,z,R],A=()=>[`start`,`end`,`center`,`between`,`around`,`evenly`,`stretch`,`baseline`,`center-safe`,`end-safe`],j=()=>[`start`,`end`,`center`,`stretch`,`center-safe`,`end-safe`],M=()=>[`auto`,...w()],N=()=>[ve,`auto`,`full`,`dvw`,`dvh`,`lvw`,`lvh`,`svw`,`svh`,`min`,`max`,`fit`,...w()],ee=()=>[ve,`screen`,`full`,`dvw`,`lvw`,`svw`,`min`,`max`,`fit`,...w()],te=()=>[ve,`screen`,`full`,`lh`,`dvh`,`lvh`,`svh`,`min`,`max`,`fit`,...w()],P=()=>[e,z,R],ne=()=>[...b(),Re,Ne,{position:[z,R]}],re=()=>[`no-repeat`,{repeat:[``,`x`,`y`,`space`,`round`]}],ie=()=>[`auto`,`cover`,`contain`,ze,Oe,{size:[z,R]}],ae=()=>[be,Ie,ke],oe=()=>[``,`none`,`full`,l,z,R],se=()=>[``,L,Ie,ke],ce=()=>[`solid`,`dashed`,`dotted`,`double`],le=()=>[`normal`,`multiply`,`screen`,`overlay`,`darken`,`lighten`,`color-dodge`,`color-burn`,`hard-light`,`soft-light`,`difference`,`exclusion`,`hue`,`saturation`,`color`,`luminosity`],F=()=>[L,be,Re,Ne],ue=()=>[``,`none`,m,z,R],de=()=>[`none`,L,z,R],fe=()=>[`none`,L,z,R],pe=()=>[L,z,R],me=()=>[ve,`full`,...w()];return{cacheSize:500,theme:{animate:[`spin`,`ping`,`pulse`,`bounce`],aspect:[`video`],blur:[xe],breakpoint:[xe],color:[Se],container:[xe],"drop-shadow":[xe],ease:[`in`,`out`,`in-out`],font:[De],"font-weight":[`thin`,`extralight`,`light`,`normal`,`medium`,`semibold`,`bold`,`extrabold`,`black`],"inset-shadow":[xe],leading:[`none`,`tight`,`snug`,`normal`,`relaxed`,`loose`],perspective:[`dramatic`,`near`,`normal`,`midrange`,`distant`,`none`],radius:[xe],shadow:[xe],spacing:[`px`,L],text:[xe],"text-shadow":[xe],tracking:[`tighter`,`tight`,`normal`,`wide`,`wider`,`widest`]},classGroups:{aspect:[{aspect:[`auto`,`square`,ve,R,z,g]}],container:[`container`],columns:[{columns:[L,R,z,s]}],"break-after":[{"break-after":y()}],"break-before":[{"break-before":y()}],"break-inside":[{"break-inside":[`auto`,`avoid`,`avoid-page`,`avoid-column`]}],"box-decoration":[{"box-decoration":[`slice`,`clone`]}],box:[{box:[`border`,`content`]}],display:[`block`,`inline-block`,`inline`,`flex`,`inline-flex`,`table`,`inline-table`,`table-caption`,`table-cell`,`table-column`,`table-column-group`,`table-footer-group`,`table-header-group`,`table-row-group`,`table-row`,`flow-root`,`grid`,`inline-grid`,`contents`,`list-item`,`hidden`],sr:[`sr-only`,`not-sr-only`],float:[{float:[`right`,`left`,`none`,`start`,`end`]}],clear:[{clear:[`left`,`right`,`both`,`none`,`start`,`end`]}],isolation:[`isolate`,`isolation-auto`],"object-fit":[{object:[`contain`,`cover`,`fill`,`none`,`scale-down`]}],"object-position":[{object:x()}],overflow:[{overflow:S()}],"overflow-x":[{"overflow-x":S()}],"overflow-y":[{"overflow-y":S()}],overscroll:[{overscroll:C()}],"overscroll-x":[{"overscroll-x":C()}],"overscroll-y":[{"overscroll-y":C()}],position:[`static`,`fixed`,`absolute`,`relative`,`sticky`],inset:[{inset:T()}],"inset-x":[{"inset-x":T()}],"inset-y":[{"inset-y":T()}],start:[{"inset-s":T(),start:T()}],end:[{"inset-e":T(),end:T()}],"inset-bs":[{"inset-bs":T()}],"inset-be":[{"inset-be":T()}],top:[{top:T()}],right:[{right:T()}],bottom:[{bottom:T()}],left:[{left:T()}],visibility:[`visible`,`invisible`,`collapse`],z:[{z:[ye,`auto`,z,R]}],basis:[{basis:[ve,`full`,`auto`,s,...w()]}],"flex-direction":[{flex:[`row`,`row-reverse`,`col`,`col-reverse`]}],"flex-wrap":[{flex:[`nowrap`,`wrap`,`wrap-reverse`]}],flex:[{flex:[L,ve,`auto`,`initial`,`none`,R]}],grow:[{grow:[``,L,z,R]}],shrink:[{shrink:[``,L,z,R]}],order:[{order:[ye,`first`,`last`,`none`,z,R]}],"grid-cols":[{"grid-cols":E()}],"col-start-end":[{col:D()}],"col-start":[{"col-start":O()}],"col-end":[{"col-end":O()}],"grid-rows":[{"grid-rows":E()}],"row-start-end":[{row:D()}],"row-start":[{"row-start":O()}],"row-end":[{"row-end":O()}],"grid-flow":[{"grid-flow":[`row`,`col`,`dense`,`row-dense`,`col-dense`]}],"auto-cols":[{"auto-cols":k()}],"auto-rows":[{"auto-rows":k()}],gap:[{gap:w()}],"gap-x":[{"gap-x":w()}],"gap-y":[{"gap-y":w()}],"justify-content":[{justify:[...A(),`normal`]}],"justify-items":[{"justify-items":[...j(),`normal`]}],"justify-self":[{"justify-self":[`auto`,...j()]}],"align-content":[{content:[`normal`,...A()]}],"align-items":[{items:[...j(),{baseline:[``,`last`]}]}],"align-self":[{self:[`auto`,...j(),{baseline:[``,`last`]}]}],"place-content":[{"place-content":A()}],"place-items":[{"place-items":[...j(),`baseline`]}],"place-self":[{"place-self":[`auto`,...j()]}],p:[{p:w()}],px:[{px:w()}],py:[{py:w()}],ps:[{ps:w()}],pe:[{pe:w()}],pbs:[{pbs:w()}],pbe:[{pbe:w()}],pt:[{pt:w()}],pr:[{pr:w()}],pb:[{pb:w()}],pl:[{pl:w()}],m:[{m:M()}],mx:[{mx:M()}],my:[{my:M()}],ms:[{ms:M()}],me:[{me:M()}],mbs:[{mbs:M()}],mbe:[{mbe:M()}],mt:[{mt:M()}],mr:[{mr:M()}],mb:[{mb:M()}],ml:[{ml:M()}],"space-x":[{"space-x":w()}],"space-x-reverse":[`space-x-reverse`],"space-y":[{"space-y":w()}],"space-y-reverse":[`space-y-reverse`],size:[{size:N()}],"inline-size":[{inline:[`auto`,...ee()]}],"min-inline-size":[{"min-inline":[`auto`,...ee()]}],"max-inline-size":[{"max-inline":[`none`,...ee()]}],"block-size":[{block:[`auto`,...te()]}],"min-block-size":[{"min-block":[`auto`,...te()]}],"max-block-size":[{"max-block":[`none`,...te()]}],w:[{w:[s,`screen`,...N()]}],"min-w":[{"min-w":[s,`screen`,`none`,...N()]}],"max-w":[{"max-w":[s,`screen`,`none`,`prose`,{screen:[o]},...N()]}],h:[{h:[`screen`,`lh`,...N()]}],"min-h":[{"min-h":[`screen`,`lh`,`none`,...N()]}],"max-h":[{"max-h":[`screen`,`lh`,...N()]}],"font-size":[{text:[`base`,n,Ie,ke]}],"font-smoothing":[`antialiased`,`subpixel-antialiased`],"font-style":[`italic`,`not-italic`],"font-weight":[{font:[r,He,je]}],"font-stretch":[{"font-stretch":[`ultra-condensed`,`extra-condensed`,`condensed`,`semi-condensed`,`normal`,`semi-expanded`,`expanded`,`extra-expanded`,`ultra-expanded`,be,R]}],"font-family":[{font:[Le,Me,t]}],"font-features":[{"font-features":[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:[i,z,R]}],"line-clamp":[{"line-clamp":[L,`none`,z,Ae]}],leading:[{leading:[a,...w()]}],"list-image":[{"list-image":[`none`,z,R]}],"list-style-position":[{list:[`inside`,`outside`]}],"list-style-type":[{list:[`disc`,`decimal`,`none`,z,R]}],"text-alignment":[{text:[`left`,`center`,`right`,`justify`,`start`,`end`]}],"placeholder-color":[{placeholder:P()}],"text-color":[{text:P()}],"text-decoration":[`underline`,`overline`,`line-through`,`no-underline`],"text-decoration-style":[{decoration:[...ce(),`wavy`]}],"text-decoration-thickness":[{decoration:[L,`from-font`,`auto`,z,ke]}],"text-decoration-color":[{decoration:P()}],"underline-offset":[{"underline-offset":[L,`auto`,z,R]}],"text-transform":[`uppercase`,`lowercase`,`capitalize`,`normal-case`],"text-overflow":[`truncate`,`text-ellipsis`,`text-clip`],"text-wrap":[{text:[`wrap`,`nowrap`,`balance`,`pretty`]}],indent:[{indent:w()}],"vertical-align":[{align:[`baseline`,`top`,`middle`,`bottom`,`text-top`,`text-bottom`,`sub`,`super`,z,R]}],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`,z,R]}],"bg-attachment":[{bg:[`fixed`,`local`,`scroll`]}],"bg-clip":[{"bg-clip":[`border`,`padding`,`content`,`text`]}],"bg-origin":[{"bg-origin":[`border`,`padding`,`content`]}],"bg-position":[{bg:ne()}],"bg-repeat":[{bg:re()}],"bg-size":[{bg:ie()}],"bg-image":[{bg:[`none`,{linear:[{to:[`t`,`tr`,`r`,`br`,`b`,`bl`,`l`,`tl`]},ye,z,R],radial:[``,z,R],conic:[ye,z,R]},Be,Pe]}],"bg-color":[{bg:P()}],"gradient-from-pos":[{from:ae()}],"gradient-via-pos":[{via:ae()}],"gradient-to-pos":[{to:ae()}],"gradient-from":[{from:P()}],"gradient-via":[{via:P()}],"gradient-to":[{to:P()}],rounded:[{rounded:oe()}],"rounded-s":[{"rounded-s":oe()}],"rounded-e":[{"rounded-e":oe()}],"rounded-t":[{"rounded-t":oe()}],"rounded-r":[{"rounded-r":oe()}],"rounded-b":[{"rounded-b":oe()}],"rounded-l":[{"rounded-l":oe()}],"rounded-ss":[{"rounded-ss":oe()}],"rounded-se":[{"rounded-se":oe()}],"rounded-ee":[{"rounded-ee":oe()}],"rounded-es":[{"rounded-es":oe()}],"rounded-tl":[{"rounded-tl":oe()}],"rounded-tr":[{"rounded-tr":oe()}],"rounded-br":[{"rounded-br":oe()}],"rounded-bl":[{"rounded-bl":oe()}],"border-w":[{border:se()}],"border-w-x":[{"border-x":se()}],"border-w-y":[{"border-y":se()}],"border-w-s":[{"border-s":se()}],"border-w-e":[{"border-e":se()}],"border-w-bs":[{"border-bs":se()}],"border-w-be":[{"border-be":se()}],"border-w-t":[{"border-t":se()}],"border-w-r":[{"border-r":se()}],"border-w-b":[{"border-b":se()}],"border-w-l":[{"border-l":se()}],"divide-x":[{"divide-x":se()}],"divide-x-reverse":[`divide-x-reverse`],"divide-y":[{"divide-y":se()}],"divide-y-reverse":[`divide-y-reverse`],"border-style":[{border:[...ce(),`hidden`,`none`]}],"divide-style":[{divide:[...ce(),`hidden`,`none`]}],"border-color":[{border:P()}],"border-color-x":[{"border-x":P()}],"border-color-y":[{"border-y":P()}],"border-color-s":[{"border-s":P()}],"border-color-e":[{"border-e":P()}],"border-color-bs":[{"border-bs":P()}],"border-color-be":[{"border-be":P()}],"border-color-t":[{"border-t":P()}],"border-color-r":[{"border-r":P()}],"border-color-b":[{"border-b":P()}],"border-color-l":[{"border-l":P()}],"divide-color":[{divide:P()}],"outline-style":[{outline:[...ce(),`none`,`hidden`]}],"outline-offset":[{"outline-offset":[L,z,R]}],"outline-w":[{outline:[``,L,Ie,ke]}],"outline-color":[{outline:P()}],shadow:[{shadow:[``,`none`,u,Ve,Fe]}],"shadow-color":[{shadow:P()}],"inset-shadow":[{"inset-shadow":[`none`,d,Ve,Fe]}],"inset-shadow-color":[{"inset-shadow":P()}],"ring-w":[{ring:se()}],"ring-w-inset":[`ring-inset`],"ring-color":[{ring:P()}],"ring-offset-w":[{"ring-offset":[L,ke]}],"ring-offset-color":[{"ring-offset":P()}],"inset-ring-w":[{"inset-ring":se()}],"inset-ring-color":[{"inset-ring":P()}],"text-shadow":[{"text-shadow":[`none`,f,Ve,Fe]}],"text-shadow-color":[{"text-shadow":P()}],opacity:[{opacity:[L,z,R]}],"mix-blend":[{"mix-blend":[...le(),`plus-darker`,`plus-lighter`]}],"bg-blend":[{"bg-blend":le()}],"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":[L]}],"mask-image-linear-from-pos":[{"mask-linear-from":F()}],"mask-image-linear-to-pos":[{"mask-linear-to":F()}],"mask-image-linear-from-color":[{"mask-linear-from":P()}],"mask-image-linear-to-color":[{"mask-linear-to":P()}],"mask-image-t-from-pos":[{"mask-t-from":F()}],"mask-image-t-to-pos":[{"mask-t-to":F()}],"mask-image-t-from-color":[{"mask-t-from":P()}],"mask-image-t-to-color":[{"mask-t-to":P()}],"mask-image-r-from-pos":[{"mask-r-from":F()}],"mask-image-r-to-pos":[{"mask-r-to":F()}],"mask-image-r-from-color":[{"mask-r-from":P()}],"mask-image-r-to-color":[{"mask-r-to":P()}],"mask-image-b-from-pos":[{"mask-b-from":F()}],"mask-image-b-to-pos":[{"mask-b-to":F()}],"mask-image-b-from-color":[{"mask-b-from":P()}],"mask-image-b-to-color":[{"mask-b-to":P()}],"mask-image-l-from-pos":[{"mask-l-from":F()}],"mask-image-l-to-pos":[{"mask-l-to":F()}],"mask-image-l-from-color":[{"mask-l-from":P()}],"mask-image-l-to-color":[{"mask-l-to":P()}],"mask-image-x-from-pos":[{"mask-x-from":F()}],"mask-image-x-to-pos":[{"mask-x-to":F()}],"mask-image-x-from-color":[{"mask-x-from":P()}],"mask-image-x-to-color":[{"mask-x-to":P()}],"mask-image-y-from-pos":[{"mask-y-from":F()}],"mask-image-y-to-pos":[{"mask-y-to":F()}],"mask-image-y-from-color":[{"mask-y-from":P()}],"mask-image-y-to-color":[{"mask-y-to":P()}],"mask-image-radial":[{"mask-radial":[z,R]}],"mask-image-radial-from-pos":[{"mask-radial-from":F()}],"mask-image-radial-to-pos":[{"mask-radial-to":F()}],"mask-image-radial-from-color":[{"mask-radial-from":P()}],"mask-image-radial-to-color":[{"mask-radial-to":P()}],"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":b()}],"mask-image-conic-pos":[{"mask-conic":[L]}],"mask-image-conic-from-pos":[{"mask-conic-from":F()}],"mask-image-conic-to-pos":[{"mask-conic-to":F()}],"mask-image-conic-from-color":[{"mask-conic-from":P()}],"mask-image-conic-to-color":[{"mask-conic-to":P()}],"mask-mode":[{mask:[`alpha`,`luminance`,`match`]}],"mask-origin":[{"mask-origin":[`border`,`padding`,`content`,`fill`,`stroke`,`view`]}],"mask-position":[{mask:ne()}],"mask-repeat":[{mask:re()}],"mask-size":[{mask:ie()}],"mask-type":[{"mask-type":[`alpha`,`luminance`]}],"mask-image":[{mask:[`none`,z,R]}],filter:[{filter:[``,`none`,z,R]}],blur:[{blur:ue()}],brightness:[{brightness:[L,z,R]}],contrast:[{contrast:[L,z,R]}],"drop-shadow":[{"drop-shadow":[``,`none`,p,Ve,Fe]}],"drop-shadow-color":[{"drop-shadow":P()}],grayscale:[{grayscale:[``,L,z,R]}],"hue-rotate":[{"hue-rotate":[L,z,R]}],invert:[{invert:[``,L,z,R]}],saturate:[{saturate:[L,z,R]}],sepia:[{sepia:[``,L,z,R]}],"backdrop-filter":[{"backdrop-filter":[``,`none`,z,R]}],"backdrop-blur":[{"backdrop-blur":ue()}],"backdrop-brightness":[{"backdrop-brightness":[L,z,R]}],"backdrop-contrast":[{"backdrop-contrast":[L,z,R]}],"backdrop-grayscale":[{"backdrop-grayscale":[``,L,z,R]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[L,z,R]}],"backdrop-invert":[{"backdrop-invert":[``,L,z,R]}],"backdrop-opacity":[{"backdrop-opacity":[L,z,R]}],"backdrop-saturate":[{"backdrop-saturate":[L,z,R]}],"backdrop-sepia":[{"backdrop-sepia":[``,L,z,R]}],"border-collapse":[{border:[`collapse`,`separate`]}],"border-spacing":[{"border-spacing":w()}],"border-spacing-x":[{"border-spacing-x":w()}],"border-spacing-y":[{"border-spacing-y":w()}],"table-layout":[{table:[`auto`,`fixed`]}],caption:[{caption:[`top`,`bottom`]}],transition:[{transition:[``,`all`,`colors`,`opacity`,`shadow`,`transform`,`none`,z,R]}],"transition-behavior":[{transition:[`normal`,`discrete`]}],duration:[{duration:[L,`initial`,z,R]}],ease:[{ease:[`linear`,`initial`,_,z,R]}],delay:[{delay:[L,z,R]}],animate:[{animate:[`none`,v,z,R]}],backface:[{backface:[`hidden`,`visible`]}],perspective:[{perspective:[h,z,R]}],"perspective-origin":[{"perspective-origin":x()}],rotate:[{rotate:de()}],"rotate-x":[{"rotate-x":de()}],"rotate-y":[{"rotate-y":de()}],"rotate-z":[{"rotate-z":de()}],scale:[{scale:fe()}],"scale-x":[{"scale-x":fe()}],"scale-y":[{"scale-y":fe()}],"scale-z":[{"scale-z":fe()}],"scale-3d":[`scale-3d`],skew:[{skew:pe()}],"skew-x":[{"skew-x":pe()}],"skew-y":[{"skew-y":pe()}],transform:[{transform:[z,R,``,`none`,`gpu`,`cpu`]}],"transform-origin":[{origin:x()}],"transform-style":[{transform:[`3d`,`flat`]}],translate:[{translate:me()}],"translate-x":[{"translate-x":me()}],"translate-y":[{"translate-y":me()}],"translate-z":[{"translate-z":me()}],"translate-none":[`translate-none`],accent:[{accent:P()}],appearance:[{appearance:[`none`,`auto`]}],"caret-color":[{caret:P()}],"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`,z,R]}],"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":w()}],"scroll-mx":[{"scroll-mx":w()}],"scroll-my":[{"scroll-my":w()}],"scroll-ms":[{"scroll-ms":w()}],"scroll-me":[{"scroll-me":w()}],"scroll-mbs":[{"scroll-mbs":w()}],"scroll-mbe":[{"scroll-mbe":w()}],"scroll-mt":[{"scroll-mt":w()}],"scroll-mr":[{"scroll-mr":w()}],"scroll-mb":[{"scroll-mb":w()}],"scroll-ml":[{"scroll-ml":w()}],"scroll-p":[{"scroll-p":w()}],"scroll-px":[{"scroll-px":w()}],"scroll-py":[{"scroll-py":w()}],"scroll-ps":[{"scroll-ps":w()}],"scroll-pe":[{"scroll-pe":w()}],"scroll-pbs":[{"scroll-pbs":w()}],"scroll-pbe":[{"scroll-pbe":w()}],"scroll-pt":[{"scroll-pt":w()}],"scroll-pr":[{"scroll-pr":w()}],"scroll-pb":[{"scroll-pb":w()}],"scroll-pl":[{"scroll-pl":w()}],"snap-align":[{snap:[`start`,`end`,`center`,`align-none`]}],"snap-stop":[{snap:[`normal`,`always`]}],"snap-type":[{snap:[`none`,`x`,`y`,`both`]}],"snap-strictness":[{snap:[`mandatory`,`proximity`]}],touch:[{touch:[`auto`,`none`,`manipulation`]}],"touch-x":[{"touch-pan":[`x`,`left`,`right`]}],"touch-y":[{"touch-pan":[`y`,`up`,`down`]}],"touch-pz":[`touch-pinch-zoom`],select:[{select:[`none`,`text`,`all`,`auto`]}],"will-change":[{"will-change":[`auto`,`scroll`,`contents`,`transform`,z,R]}],fill:[{fill:[`none`,...P()]}],"stroke-w":[{stroke:[L,Ie,ke,Ae]}],stroke:[{stroke:[`none`,...P()]}],"forced-color-adjust":[{"forced-color-adjust":[`auto`,`none`]}]},conflictingClassGroups:{overflow:[`overflow-x`,`overflow-y`],overscroll:[`overscroll-x`,`overscroll-y`],inset:[`inset-x`,`inset-y`,`inset-bs`,`inset-be`,`start`,`end`,`top`,`right`,`bottom`,`left`],"inset-x":[`right`,`left`],"inset-y":[`top`,`bottom`],flex:[`basis`,`grow`,`shrink`],gap:[`gap-x`,`gap-y`],p:[`px`,`py`,`ps`,`pe`,`pbs`,`pbe`,`pt`,`pr`,`pb`,`pl`],px:[`pr`,`pl`],py:[`pt`,`pb`],m:[`mx`,`my`,`ms`,`me`,`mbs`,`mbe`,`mt`,`mr`,`mb`,`ml`],mx:[`mr`,`ml`],my:[`mt`,`mb`],size:[`w`,`h`],"font-size":[`leading`],"fvn-normal":[`fvn-ordinal`,`fvn-slashed-zero`,`fvn-figure`,`fvn-spacing`,`fvn-fraction`],"fvn-ordinal":[`fvn-normal`],"fvn-slashed-zero":[`fvn-normal`],"fvn-figure":[`fvn-normal`],"fvn-spacing":[`fvn-normal`],"fvn-fraction":[`fvn-normal`],"line-clamp":[`display`,`overflow`],rounded:[`rounded-s`,`rounded-e`,`rounded-t`,`rounded-r`,`rounded-b`,`rounded-l`,`rounded-ss`,`rounded-se`,`rounded-ee`,`rounded-es`,`rounded-tl`,`rounded-tr`,`rounded-br`,`rounded-bl`],"rounded-s":[`rounded-ss`,`rounded-es`],"rounded-e":[`rounded-se`,`rounded-ee`],"rounded-t":[`rounded-tl`,`rounded-tr`],"rounded-r":[`rounded-tr`,`rounded-br`],"rounded-b":[`rounded-br`,`rounded-bl`],"rounded-l":[`rounded-tl`,`rounded-bl`],"border-spacing":[`border-spacing-x`,`border-spacing-y`],"border-w":[`border-w-x`,`border-w-y`,`border-w-s`,`border-w-e`,`border-w-bs`,`border-w-be`,`border-w-t`,`border-w-r`,`border-w-b`,`border-w-l`],"border-w-x":[`border-w-r`,`border-w-l`],"border-w-y":[`border-w-t`,`border-w-b`],"border-color":[`border-color-x`,`border-color-y`,`border-color-s`,`border-color-e`,`border-color-bs`,`border-color-be`,`border-color-t`,`border-color-r`,`border-color-b`,`border-color-l`],"border-color-x":[`border-color-r`,`border-color-l`],"border-color-y":[`border-color-t`,`border-color-b`],translate:[`translate-x`,`translate-y`,`translate-none`],"translate-none":[`translate`,`translate-x`,`translate-y`,`translate-z`],"scroll-m":[`scroll-mx`,`scroll-my`,`scroll-ms`,`scroll-me`,`scroll-mbs`,`scroll-mbe`,`scroll-mt`,`scroll-mr`,`scroll-mb`,`scroll-ml`],"scroll-mx":[`scroll-mr`,`scroll-ml`],"scroll-my":[`scroll-mt`,`scroll-mb`],"scroll-p":[`scroll-px`,`scroll-py`,`scroll-ps`,`scroll-pe`,`scroll-pbs`,`scroll-pbe`,`scroll-pt`,`scroll-pr`,`scroll-pb`,`scroll-pl`],"scroll-px":[`scroll-pr`,`scroll-pl`],"scroll-py":[`scroll-pt`,`scroll-pb`],touch:[`touch-x`,`touch-y`,`touch-pz`],"touch-x":[`touch`],"touch-y":[`touch`],"touch-pz":[`touch`]},conflictingClassGroupModifiers:{"font-size":[`leading`]},orderSensitiveModifiers:[`*`,`**`,`after`,`backdrop`,`before`,`details-content`,`file`,`first-letter`,`first-line`,`marker`,`placeholder`,`selection`]}}),B=(...e)=>$e(p(e)),et=(e,t)=>Math.round(e*10**t)/10**t,tt=(e,t,n)=>Math.min(Math.max(e,t),n),nt=(e,t,n=`...`)=>e.length<=t?e:e.slice(0,t-n.length)+n,rt=(e,t)=>{let n=!1;return(...r)=>{n||(e(...r),n=!0,setTimeout(()=>n=!1,t))}},it=(e,t)=>{let n,r=(...r)=>{clearTimeout(n),n=setTimeout(()=>e(...r),t)};return r.cancel=()=>clearTimeout(n),r};function at(e,t){let n=l.createContext(t),r=e=>{let{children:t,...r}=e,i=l.useMemo(()=>r,Object.values(r));return(0,u.jsx)(n.Provider,{value:i,children:t})};r.displayName=e+`Provider`;function i(r){let i=l.useContext(n);if(i)return i;if(t!==void 0)return t;throw Error(`\`${r}\` must be used within \`${e}\``)}return[r,i]}function ot(e,t=[]){let n=[];function r(t,r){let i=l.createContext(r),a=n.length;n=[...n,r];let o=t=>{let{scope:n,children:r,...o}=t,s=n?.[e]?.[a]||i,c=l.useMemo(()=>o,Object.values(o));return(0,u.jsx)(s.Provider,{value:c,children:r})};o.displayName=t+`Provider`;function s(n,o){let s=o?.[e]?.[a]||i,c=l.useContext(s);if(c)return c;if(r!==void 0)return r;throw Error(`\`${n}\` must be used within \`${t}\``)}return[o,s]}let i=()=>{let t=n.map(e=>l.createContext(e));return function(n){let r=n?.[e]||t;return l.useMemo(()=>({[`__scope${e}`]:{...n,[e]:r}}),[n,r])}};return i.scopeName=e,[r,st(i,...t)]}function st(...e){let t=e[0];if(e.length===1)return t;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let r=n.reduce((t,{useScope:n,scopeName:r})=>{let i=n(e)[`__scope${r}`];return{...t,...i}},{});return l.useMemo(()=>({[`__scope${t.scopeName}`]:r}),[r])}};return n.scopeName=t.scopeName,n}function ct(e,t){if(typeof e==`function`)return e(t);e!=null&&(e.current=t)}function lt(...e){return t=>{let n=!1,r=e.map(e=>{let r=ct(e,t);return!n&&typeof r==`function`&&(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){let n=r[t];typeof n==`function`?n():ct(e[t],null)}}}}function ut(...e){return l.useCallback(lt(...e),e)}function dt(e){let t=ft(e),n=l.forwardRef((e,n)=>{let{children:r,...i}=e,a=l.Children.toArray(r),o=a.find(mt);if(o){let e=o.props.children,r=a.map(t=>t===o?l.Children.count(e)>1?l.Children.only(null):l.isValidElement(e)?e.props.children:null:t);return(0,u.jsx)(t,{...i,ref:n,children:l.isValidElement(e)?l.cloneElement(e,void 0,r):null})}return(0,u.jsx)(t,{...i,ref:n,children:r})});return n.displayName=`${e}.Slot`,n}function ft(e){let t=l.forwardRef((e,t)=>{let{children:n,...r}=e;if(l.isValidElement(n)){let e=gt(n),i=ht(r,n.props);return n.type!==l.Fragment&&(i.ref=t?lt(t,e):e),l.cloneElement(n,i)}return l.Children.count(n)>1?l.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var pt=Symbol(`radix.slottable`);function mt(e){return l.isValidElement(e)&&typeof e.type==`function`&&`__radixId`in e.type&&e.type.__radixId===pt}function ht(e,t){let n={...t};for(let r in t){let i=e[r],a=t[r];/^on[A-Z]/.test(r)?i&&a?n[r]=(...e)=>{let t=a(...e);return i(...e),t}:i&&(n[r]=i):r===`style`?n[r]={...i,...a}:r===`className`&&(n[r]=[i,a].filter(Boolean).join(` `))}return{...e,...n}}function gt(e){let t=Object.getOwnPropertyDescriptor(e.props,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function _t(e){let t=e+`CollectionProvider`,[n,r]=ot(t),[i,a]=n(t,{collectionRef:{current:null},itemMap:new Map}),o=e=>{let{scope:t,children:n}=e,r=l.default.useRef(null),a=l.default.useRef(new Map).current;return(0,u.jsx)(i,{scope:t,itemMap:a,collectionRef:r,children:n})};o.displayName=t;let s=e+`CollectionSlot`,c=dt(s),d=l.default.forwardRef((e,t)=>{let{scope:n,children:r}=e;return(0,u.jsx)(c,{ref:ut(t,a(s,n).collectionRef),children:r})});d.displayName=s;let f=e+`CollectionItemSlot`,p=`data-radix-collection-item`,m=dt(f),h=l.default.forwardRef((e,t)=>{let{scope:n,children:r,...i}=e,o=l.default.useRef(null),s=ut(t,o),c=a(f,n);return l.default.useEffect(()=>(c.itemMap.set(o,{ref:o,...i}),()=>void c.itemMap.delete(o))),(0,u.jsx)(m,{[p]:``,ref:s,children:r})});h.displayName=f;function g(t){let n=a(e+`CollectionConsumer`,t);return l.default.useCallback(()=>{let e=n.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${p}]`));return Array.from(n.itemMap.values()).sort((e,n)=>t.indexOf(e.ref.current)-t.indexOf(n.ref.current))},[n.collectionRef,n.itemMap])}return[{Provider:o,Slot:d,ItemSlot:h},g,r]}typeof window<`u`&&window.document&&window.document.createElement;function vt(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e?.(r),n===!1||!r.defaultPrevented)return t?.(r)}}var yt=globalThis?.document?l.useLayoutEffect:()=>{},bt=l.useInsertionEffect||yt;function xt({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){let[i,a,o]=St({defaultProp:t,onChange:n}),s=e!==void 0,c=s?e:i;{let t=l.useRef(e!==void 0);l.useEffect(()=>{let e=t.current;e!==s&&console.warn(`${r} is changing from ${e?`controlled`:`uncontrolled`} to ${s?`controlled`:`uncontrolled`}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),t.current=s},[s,r])}return[c,l.useCallback(t=>{if(s){let n=Ct(t)?t(e):t;n!==e&&o.current?.(n)}else a(t)},[s,e,a,o])]}function St({defaultProp:e,onChange:t}){let[n,r]=l.useState(e),i=l.useRef(n),a=l.useRef(t);return bt(()=>{a.current=t},[t]),l.useEffect(()=>{i.current!==n&&(a.current?.(n),i.current=n)},[n,i]),[n,r,a]}function Ct(e){return typeof e==`function`}function wt(e){let t=Tt(e),n=l.forwardRef((e,n)=>{let{children:r,...i}=e,a=l.Children.toArray(r),o=a.find(Dt);if(o){let e=o.props.children,r=a.map(t=>t===o?l.Children.count(e)>1?l.Children.only(null):l.isValidElement(e)?e.props.children:null:t);return(0,u.jsx)(t,{...i,ref:n,children:l.isValidElement(e)?l.cloneElement(e,void 0,r):null})}return(0,u.jsx)(t,{...i,ref:n,children:r})});return n.displayName=`${e}.Slot`,n}function Tt(e){let t=l.forwardRef((e,t)=>{let{children:n,...r}=e;if(l.isValidElement(n)){let e=kt(n),i=Ot(r,n.props);return n.type!==l.Fragment&&(i.ref=t?lt(t,e):e),l.cloneElement(n,i)}return l.Children.count(n)>1?l.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var Et=Symbol(`radix.slottable`);function Dt(e){return l.isValidElement(e)&&typeof e.type==`function`&&`__radixId`in e.type&&e.type.__radixId===Et}function Ot(e,t){let n={...t};for(let r in t){let i=e[r],a=t[r];/^on[A-Z]/.test(r)?i&&a?n[r]=(...e)=>{let t=a(...e);return i(...e),t}:i&&(n[r]=i):r===`style`?n[r]={...i,...a}:r===`className`&&(n[r]=[i,a].filter(Boolean).join(` `))}return{...e,...n}}function kt(e){let t=Object.getOwnPropertyDescriptor(e.props,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var At=[`a`,`button`,`div`,`form`,`h2`,`h3`,`img`,`input`,`label`,`li`,`nav`,`ol`,`p`,`select`,`span`,`svg`,`ul`].reduce((e,t)=>{let n=wt(`Primitive.${t}`),r=l.forwardRef((e,r)=>{let{asChild:i,...a}=e,o=i?n:t;return typeof window<`u`&&(window[Symbol.for(`radix-ui`)]=!0),(0,u.jsx)(o,{...a,ref:r})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function jt(e,t){e&&d.flushSync(()=>e.dispatchEvent(t))}function Mt(e,t){return l.useReducer((e,n)=>t[e][n]??e,e)}var Nt=e=>{let{present:t,children:n}=e,r=Pt(t),i=typeof n==`function`?n({present:r.isPresent}):l.Children.only(n),a=ut(r.ref,It(i));return typeof n==`function`||r.isPresent?l.cloneElement(i,{ref:a}):null};Nt.displayName=`Presence`;function Pt(e){let[t,n]=l.useState(),r=l.useRef(null),i=l.useRef(e),a=l.useRef(`none`),[o,s]=Mt(e?`mounted`:`unmounted`,{mounted:{UNMOUNT:`unmounted`,ANIMATION_OUT:`unmountSuspended`},unmountSuspended:{MOUNT:`mounted`,ANIMATION_END:`unmounted`},unmounted:{MOUNT:`mounted`}});return l.useEffect(()=>{let e=Ft(r.current);a.current=o===`mounted`?e:`none`},[o]),yt(()=>{let t=r.current,n=i.current;if(n!==e){let r=a.current,o=Ft(t);e?s(`MOUNT`):o===`none`||t?.display===`none`?s(`UNMOUNT`):s(n&&r!==o?`ANIMATION_OUT`:`UNMOUNT`),i.current=e}},[e,s]),yt(()=>{if(t){let e,n=t.ownerDocument.defaultView??window,o=a=>{let o=Ft(r.current).includes(CSS.escape(a.animationName));if(a.target===t&&o&&(s(`ANIMATION_END`),!i.current)){let r=t.style.animationFillMode;t.style.animationFillMode=`forwards`,e=n.setTimeout(()=>{t.style.animationFillMode===`forwards`&&(t.style.animationFillMode=r)})}},c=e=>{e.target===t&&(a.current=Ft(r.current))};return t.addEventListener(`animationstart`,c),t.addEventListener(`animationcancel`,o),t.addEventListener(`animationend`,o),()=>{n.clearTimeout(e),t.removeEventListener(`animationstart`,c),t.removeEventListener(`animationcancel`,o),t.removeEventListener(`animationend`,o)}}else s(`ANIMATION_END`)},[t,s]),{isPresent:[`mounted`,`unmountSuspended`].includes(o),ref:l.useCallback(e=>{r.current=e?getComputedStyle(e):null,n(e)},[])}}function Ft(e){return e?.animationName||`none`}function It(e){let t=Object.getOwnPropertyDescriptor(e.props,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var Lt=l.useId||(()=>void 0),Rt=0;function zt(e){let[t,n]=l.useState(Lt());return yt(()=>{e||n(e=>e??String(Rt++))},[e]),e||(t?`radix-${t}`:``)}var Bt=`Collapsible`,[Vt,Ht]=ot(Bt),[Ut,Wt]=Vt(Bt),Gt=l.forwardRef((e,t)=>{let{__scopeCollapsible:n,open:r,defaultOpen:i,disabled:a,onOpenChange:o,...s}=e,[c,d]=xt({prop:r,defaultProp:i??!1,onChange:o,caller:Bt});return(0,u.jsx)(Ut,{scope:n,disabled:a,contentId:zt(),open:c,onOpenToggle:l.useCallback(()=>d(e=>!e),[d]),children:(0,u.jsx)(At.div,{"data-state":Zt(c),"data-disabled":a?``:void 0,...s,ref:t})})});Gt.displayName=Bt;var Kt=`CollapsibleTrigger`,qt=l.forwardRef((e,t)=>{let{__scopeCollapsible:n,...r}=e,i=Wt(Kt,n);return(0,u.jsx)(At.button,{type:`button`,"aria-controls":i.contentId,"aria-expanded":i.open||!1,"data-state":Zt(i.open),"data-disabled":i.disabled?``:void 0,disabled:i.disabled,...r,ref:t,onClick:vt(e.onClick,i.onOpenToggle)})});qt.displayName=Kt;var Jt=`CollapsibleContent`,Yt=l.forwardRef((e,t)=>{let{forceMount:n,...r}=e,i=Wt(Jt,e.__scopeCollapsible);return(0,u.jsx)(Nt,{present:n||i.open,children:({present:e})=>(0,u.jsx)(Xt,{...r,ref:t,present:e})})});Yt.displayName=Jt;var Xt=l.forwardRef((e,t)=>{let{__scopeCollapsible:n,present:r,children:i,...a}=e,o=Wt(Jt,n),[s,c]=l.useState(r),d=l.useRef(null),f=ut(t,d),p=l.useRef(0),m=p.current,h=l.useRef(0),g=h.current,_=o.open||s,v=l.useRef(_),y=l.useRef(void 0);return l.useEffect(()=>{let e=requestAnimationFrame(()=>v.current=!1);return()=>cancelAnimationFrame(e)},[]),yt(()=>{let e=d.current;if(e){y.current=y.current||{transitionDuration:e.style.transitionDuration,animationName:e.style.animationName},e.style.transitionDuration=`0s`,e.style.animationName=`none`;let t=e.getBoundingClientRect();p.current=t.height,h.current=t.width,v.current||(e.style.transitionDuration=y.current.transitionDuration,e.style.animationName=y.current.animationName),c(r)}},[o.open,r]),(0,u.jsx)(At.div,{"data-state":Zt(o.open),"data-disabled":o.disabled?``:void 0,id:o.contentId,hidden:!_,...a,ref:f,style:{"--radix-collapsible-content-height":m?`${m}px`:void 0,"--radix-collapsible-content-width":g?`${g}px`:void 0,...e.style},children:_&&i})});function Zt(e){return e?`open`:`closed`}var Qt=Gt,$t=qt,en=Yt,tn=l.createContext(void 0);function nn(e){let t=l.useContext(tn);return e||t||`ltr`}var rn=`Accordion`,an=[`Home`,`End`,`ArrowDown`,`ArrowUp`,`ArrowLeft`,`ArrowRight`],[on,sn,cn]=_t(rn),[ln,un]=ot(rn,[cn,Ht]),dn=Ht(),fn=l.default.forwardRef((e,t)=>{let{type:n,...r}=e,i=r,a=r;return(0,u.jsx)(on.Provider,{scope:e.__scopeAccordion,children:n===`multiple`?(0,u.jsx)(vn,{...a,ref:t}):(0,u.jsx)(_n,{...i,ref:t})})});fn.displayName=rn;var[pn,mn]=ln(rn),[hn,gn]=ln(rn,{collapsible:!1}),_n=l.default.forwardRef((e,t)=>{let{value:n,defaultValue:r,onValueChange:i=()=>{},collapsible:a=!1,...o}=e,[s,c]=xt({prop:n,defaultProp:r??``,onChange:i,caller:rn});return(0,u.jsx)(pn,{scope:e.__scopeAccordion,value:l.default.useMemo(()=>s?[s]:[],[s]),onItemOpen:c,onItemClose:l.default.useCallback(()=>a&&c(``),[a,c]),children:(0,u.jsx)(hn,{scope:e.__scopeAccordion,collapsible:a,children:(0,u.jsx)(xn,{...o,ref:t})})})}),vn=l.default.forwardRef((e,t)=>{let{value:n,defaultValue:r,onValueChange:i=()=>{},...a}=e,[o,s]=xt({prop:n,defaultProp:r??[],onChange:i,caller:rn}),c=l.default.useCallback(e=>s((t=[])=>[...t,e]),[s]),d=l.default.useCallback(e=>s((t=[])=>t.filter(t=>t!==e)),[s]);return(0,u.jsx)(pn,{scope:e.__scopeAccordion,value:o,onItemOpen:c,onItemClose:d,children:(0,u.jsx)(hn,{scope:e.__scopeAccordion,collapsible:!0,children:(0,u.jsx)(xn,{...a,ref:t})})})}),[yn,bn]=ln(rn),xn=l.default.forwardRef((e,t)=>{let{__scopeAccordion:n,disabled:r,dir:i,orientation:a=`vertical`,...o}=e,s=ut(l.default.useRef(null),t),c=sn(n),d=nn(i)===`ltr`,f=vt(e.onKeyDown,e=>{if(!an.includes(e.key))return;let t=e.target,n=c().filter(e=>!e.ref.current?.disabled),r=n.findIndex(e=>e.ref.current===t),i=n.length;if(r===-1)return;e.preventDefault();let o=r,s=i-1,l=()=>{o=r+1,o>s&&(o=0)},u=()=>{o=r-1,o<0&&(o=s)};switch(e.key){case`Home`:o=0;break;case`End`:o=s;break;case`ArrowRight`:a===`horizontal`&&(d?l():u());break;case`ArrowDown`:a===`vertical`&&l();break;case`ArrowLeft`:a===`horizontal`&&(d?u():l());break;case`ArrowUp`:a===`vertical`&&u();break}n[o%i].ref.current?.focus()});return(0,u.jsx)(yn,{scope:n,disabled:r,direction:i,orientation:a,children:(0,u.jsx)(on.Slot,{scope:n,children:(0,u.jsx)(At.div,{...o,"data-orientation":a,ref:s,onKeyDown:r?void 0:f})})})}),Sn=`AccordionItem`,[Cn,wn]=ln(Sn),Tn=l.default.forwardRef((e,t)=>{let{__scopeAccordion:n,value:r,...i}=e,a=bn(Sn,n),o=mn(Sn,n),s=dn(n),c=zt(),l=r&&o.value.includes(r)||!1,d=a.disabled||e.disabled;return(0,u.jsx)(Cn,{scope:n,open:l,disabled:d,triggerId:c,children:(0,u.jsx)(Qt,{"data-orientation":a.orientation,"data-state":Mn(l),...s,...i,ref:t,disabled:d,open:l,onOpenChange:e=>{e?o.onItemOpen(r):o.onItemClose(r)}})})});Tn.displayName=Sn;var En=`AccordionHeader`,Dn=l.default.forwardRef((e,t)=>{let{__scopeAccordion:n,...r}=e,i=bn(rn,n),a=wn(En,n);return(0,u.jsx)(At.h3,{"data-orientation":i.orientation,"data-state":Mn(a.open),"data-disabled":a.disabled?``:void 0,...r,ref:t})});Dn.displayName=En;var On=`AccordionTrigger`,kn=l.default.forwardRef((e,t)=>{let{__scopeAccordion:n,...r}=e,i=bn(rn,n),a=wn(On,n),o=gn(On,n),s=dn(n);return(0,u.jsx)(on.ItemSlot,{scope:n,children:(0,u.jsx)($t,{"aria-disabled":a.open&&!o.collapsible||void 0,"data-orientation":i.orientation,id:a.triggerId,...s,...r,ref:t})})});kn.displayName=On;var An=`AccordionContent`,jn=l.default.forwardRef((e,t)=>{let{__scopeAccordion:n,...r}=e,i=bn(rn,n),a=wn(An,n),o=dn(n);return(0,u.jsx)(en,{role:`region`,"aria-labelledby":a.triggerId,"data-orientation":i.orientation,...o,...r,ref:t,style:{"--radix-accordion-content-height":`var(--radix-collapsible-content-height)`,"--radix-accordion-content-width":`var(--radix-collapsible-content-width)`,...e.style}})});jn.displayName=An;function Mn(e){return e?`open`:`closed`}var Nn=fn,Pn=Tn,Fn=Dn,In=kn,Ln=jn,Rn=({items:e,multiple:t=!1,defaultValue:n,value:r,onChange:i,className:a})=>{let o={className:B(`vi-accordion-container`,a)};return t?(0,u.jsx)(Nn,{...o,type:`multiple`,defaultValue:n,value:r,onValueChange:i,children:e.map(e=>(0,u.jsx)(zn,{item:e},e.value))}):(0,u.jsx)(Nn,{...o,type:`single`,collapsible:!0,defaultValue:n,value:r,onValueChange:i,children:e.map(e=>(0,u.jsx)(zn,{item:e},e.value))})},zn=({item:e})=>(0,u.jsxs)(Pn,{value:e.value,disabled:e.disabled,className:`vi-accordion-item`,children:[(0,u.jsx)(Fn,{children:(0,u.jsxs)(In,{className:`vi-accordion-trigger`,children:[(0,u.jsx)(`span`,{children:e.title}),(0,u.jsx)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,width:`16`,height:`16`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":`true`,children:(0,u.jsx)(`path`,{d:`m6 9 6 6 6-6`})})]})}),(0,u.jsx)(Ln,{className:`vi-accordion-content-wrapper`,children:(0,u.jsx)(`div`,{className:`vi-accordion-content`,children:e.content})})]});Rn.displayName=`Accordion`;var Bn={default:`vi-badge-default`,secondary:`vi-badge-secondary`,destructive:`vi-badge-destructive`,outline:`vi-badge-outline`},Vn={sm:`vi-badge-sm`,default:!1,lg:`vi-badge-lg`},Hn=({variant:e=`default`,size:t=`default`,className:n,children:r,...i})=>(0,u.jsx)(`span`,{className:B(`vi-badge`,Bn[e],Vn[t],n),...i,children:r});Hn.displayName=`Badge`;var Un=Symbol.for(`react.lazy`),Wn=l.use;function Gn(e){return typeof e==`object`&&!!e&&`then`in e}function Kn(e){return typeof e==`object`&&!!e&&`$$typeof`in e&&e.$$typeof===Un&&`_payload`in e&&Gn(e._payload)}function qn(e){let t=Yn(e),n=l.forwardRef((e,n)=>{let{children:r,...i}=e;Kn(r)&&typeof Wn==`function`&&(r=Wn(r._payload));let a=l.Children.toArray(r),o=a.find(Zn);if(o){let e=o.props.children,r=a.map(t=>t===o?l.Children.count(e)>1?l.Children.only(null):l.isValidElement(e)?e.props.children:null:t);return(0,u.jsx)(t,{...i,ref:n,children:l.isValidElement(e)?l.cloneElement(e,void 0,r):null})}return(0,u.jsx)(t,{...i,ref:n,children:r})});return n.displayName=`${e}.Slot`,n}var Jn=qn(`Slot`);function Yn(e){let t=l.forwardRef((e,t)=>{let{children:n,...r}=e;if(Kn(n)&&typeof Wn==`function`&&(n=Wn(n._payload)),l.isValidElement(n)){let e=$n(n),i=Qn(r,n.props);return n.type!==l.Fragment&&(i.ref=t?lt(t,e):e),l.cloneElement(n,i)}return l.Children.count(n)>1?l.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var Xn=Symbol(`radix.slottable`);function Zn(e){return l.isValidElement(e)&&typeof e.type==`function`&&`__radixId`in e.type&&e.type.__radixId===Xn}function Qn(e,t){let n={...t};for(let r in t){let i=e[r],a=t[r];/^on[A-Z]/.test(r)?i&&a?n[r]=(...e)=>{let t=a(...e);return i(...e),t}:i&&(n[r]=i):r===`style`?n[r]={...i,...a}:r===`className`&&(n[r]=[i,a].filter(Boolean).join(` `))}return{...e,...n}}function $n(e){let t=Object.getOwnPropertyDescriptor(e.props,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var er=e=>typeof e==`boolean`?`${e}`:e===0?`0`:e,tr=p,nr=((e,t)=>n=>{if(t?.variants==null)return tr(e,n?.class,n?.className);let{variants:r,defaultVariants:i}=t,a=Object.keys(r).map(e=>{let t=n?.[e],a=i?.[e];if(t===null)return null;let o=er(t)||er(a);return r[e][o]}),o=n&&Object.entries(n).reduce((e,t)=>{let[n,r]=t;return r===void 0||(e[n]=r),e},{});return tr(e,a,t?.compoundVariants?.reduce((e,t)=>{let{class:n,className:r,...a}=t;return Object.entries(a).every(e=>{let[t,n]=e;return Array.isArray(n)?n.includes({...i,...o}[t]):{...i,...o}[t]===n})?[...e,n,r]:e},[]),n?.class,n?.className)})(`vi-btn`,{variants:{variant:{default:`vi-btn-variant-default`,destructive:`vi-btn-variant-destructive`,outline:`vi-btn-variant-outline`,secondary:`vi-btn-variant-secondary`,ghost:`vi-btn-variant-ghost`,link:`vi-btn-variant-link`},size:{default:`vi-btn-size-default`,sm:`vi-btn-size-sm`,lg:`vi-btn-size-lg`,icon:`vi-btn-size-icon`}},defaultVariants:{variant:`default`,size:`default`}}),rr=(0,l.forwardRef)(({className:e,variant:t,size:n,asChild:r=!1,type:i=`button`,...a},o)=>(0,u.jsx)(r?Jn:`button`,{type:i,className:B(nr({variant:t,size:n,className:e})),ref:o,...a}));rr.displayName=`Button`;var ir=(0,l.forwardRef)(({className:e,...t},n)=>(0,u.jsx)(`div`,{ref:n,className:B(`vi-card`,e),...t}));ir.displayName=`Card`;var ar=(0,l.forwardRef)(({className:e,src:t,alt:n,...r},i)=>(0,u.jsx)(`img`,{ref:i,src:t,alt:n,className:B(`vi-card-image`,e),...r}));ar.displayName=`CardImage`;var or=(0,l.forwardRef)(({className:e,...t},n)=>(0,u.jsx)(`div`,{ref:n,className:B(`vi-card-title`,e),...t}));or.displayName=`CardTitle`;var sr=(0,l.forwardRef)(({className:e,...t},n)=>(0,u.jsx)(`div`,{ref:n,className:B(`vi-card-description`,e),...t}));sr.displayName=`CardDescription`;var cr=(0,l.forwardRef)(({className:e,...t},n)=>(0,u.jsx)(`div`,{ref:n,className:B(`vi-card-content`,e),...t}));cr.displayName=`CardContent`;var lr=(0,l.forwardRef)(({className:e,...t},n)=>(0,u.jsx)(`div`,{ref:n,className:B(`vi-card-wrapper`,e),...t}));lr.displayName=`CardWrapper`;var ur=(0,l.forwardRef)(({label:e,size:t=`default`,indeterminate:n,className:r,id:i,disabled:a,...o},s)=>{let c=(0,l.useId)(),d=i??c,f=(0,l.useRef)(null);return(0,l.useImperativeHandle)(s,()=>f.current,[]),(0,l.useEffect)(()=>{f.current&&(f.current.indeterminate=n??!1)},[n]),(0,u.jsxs)(`label`,{htmlFor:d,className:B(`vi-checkbox-item`,t!==`default`&&`vi-checkbox-item-${t}`,r),children:[(0,u.jsx)(`input`,{ref:f,id:d,type:`checkbox`,disabled:a,className:`vi-checkbox-input`,...o}),(0,u.jsx)(`span`,{className:`vi-checkbox-indicator`}),e&&(0,u.jsx)(`span`,{className:`vi-checkbox-label`,children:e})]})});ur.displayName=`Checkbox`;var dr=(0,l.forwardRef)(({options:e,value:t,defaultValue:n=[],onChange:r,label:i,description:a,disabled:o,direction:s=`vertical`,size:c=`default`,className:d},f)=>{let p=(0,l.useId)(),m=t!==void 0,[h,g]=(0,l.useState)(n),_=m?t:h,v=(e,t)=>{let n=t?[..._,e]:_.filter(t=>t!==e);m||g(n),r?.(n)};return(0,u.jsxs)(`div`,{ref:f,role:`group`,"aria-labelledby":i?`${p}-label`:void 0,className:B(`vi-checkbox-root`,d),children:[i&&(0,u.jsx)(`span`,{id:`${p}-label`,className:`vi-checkbox-legend`,children:i}),(0,u.jsx)(`div`,{className:B(`vi-checkbox-options`,s===`horizontal`&&`vi-checkbox-options-horizontal`),children:e.map(e=>{let t=`${p}-opt-${e.value}`,n=o||e.disabled;return(0,u.jsxs)(`label`,{htmlFor:t,className:B(`vi-checkbox-item`,c!==`default`&&`vi-checkbox-item-${c}`),children:[(0,u.jsx)(`input`,{id:t,type:`checkbox`,value:e.value,disabled:n,className:`vi-checkbox-input`,checked:_.includes(e.value),onChange:t=>v(e.value,t.target.checked)}),(0,u.jsx)(`span`,{className:`vi-checkbox-indicator`}),(0,u.jsx)(`span`,{className:`vi-checkbox-label`,children:e.label})]},e.value)})}),a&&(0,u.jsx)(`p`,{className:`vi-checkbox-description`,children:a})]})});dr.displayName=`CheckboxGroup`;function fr(e){let t=l.useRef(e);return l.useEffect(()=>{t.current=e}),l.useMemo(()=>(...e)=>t.current?.(...e),[])}function pr(e,t=globalThis?.document){let n=fr(e);l.useEffect(()=>{let e=e=>{e.key===`Escape`&&n(e)};return t.addEventListener(`keydown`,e,{capture:!0}),()=>t.removeEventListener(`keydown`,e,{capture:!0})},[n,t])}var mr=`DismissableLayer`,hr=`dismissableLayer.update`,gr=`dismissableLayer.pointerDownOutside`,_r=`dismissableLayer.focusOutside`,vr,yr=l.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),br=l.forwardRef((e,t)=>{let{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:i,onFocusOutside:a,onInteractOutside:o,onDismiss:s,...c}=e,d=l.useContext(yr),[f,p]=l.useState(null),m=f?.ownerDocument??globalThis?.document,[,h]=l.useState({}),g=ut(t,e=>p(e)),_=Array.from(d.layers),[v]=[...d.layersWithOutsidePointerEventsDisabled].slice(-1),y=_.indexOf(v),b=f?_.indexOf(f):-1,x=d.layersWithOutsidePointerEventsDisabled.size>0,S=b>=y,C=Cr(e=>{let t=e.target,n=[...d.branches].some(e=>e.contains(t));!S||n||(i?.(e),o?.(e),e.defaultPrevented||s?.())},m),w=wr(e=>{let t=e.target;[...d.branches].some(e=>e.contains(t))||(a?.(e),o?.(e),e.defaultPrevented||s?.())},m);return pr(e=>{b===d.layers.size-1&&(r?.(e),!e.defaultPrevented&&s&&(e.preventDefault(),s()))},m),l.useEffect(()=>{if(f)return n&&(d.layersWithOutsidePointerEventsDisabled.size===0&&(vr=m.body.style.pointerEvents,m.body.style.pointerEvents=`none`),d.layersWithOutsidePointerEventsDisabled.add(f)),d.layers.add(f),Tr(),()=>{n&&d.layersWithOutsidePointerEventsDisabled.size===1&&(m.body.style.pointerEvents=vr)}},[f,m,n,d]),l.useEffect(()=>()=>{f&&(d.layers.delete(f),d.layersWithOutsidePointerEventsDisabled.delete(f),Tr())},[f,d]),l.useEffect(()=>{let e=()=>h({});return document.addEventListener(hr,e),()=>document.removeEventListener(hr,e)},[]),(0,u.jsx)(At.div,{...c,ref:g,style:{pointerEvents:x?S?`auto`:`none`:void 0,...e.style},onFocusCapture:vt(e.onFocusCapture,w.onFocusCapture),onBlurCapture:vt(e.onBlurCapture,w.onBlurCapture),onPointerDownCapture:vt(e.onPointerDownCapture,C.onPointerDownCapture)})});br.displayName=mr;var xr=`DismissableLayerBranch`,Sr=l.forwardRef((e,t)=>{let n=l.useContext(yr),r=l.useRef(null),i=ut(t,r);return l.useEffect(()=>{let e=r.current;if(e)return n.branches.add(e),()=>{n.branches.delete(e)}},[n.branches]),(0,u.jsx)(At.div,{...e,ref:i})});Sr.displayName=xr;function Cr(e,t=globalThis?.document){let n=fr(e),r=l.useRef(!1),i=l.useRef(()=>{});return l.useEffect(()=>{let e=e=>{if(e.target&&!r.current){let r=function(){Er(gr,n,a,{discrete:!0})},a={originalEvent:e};e.pointerType===`touch`?(t.removeEventListener(`click`,i.current),i.current=r,t.addEventListener(`click`,i.current,{once:!0})):r()}else t.removeEventListener(`click`,i.current);r.current=!1},a=window.setTimeout(()=>{t.addEventListener(`pointerdown`,e)},0);return()=>{window.clearTimeout(a),t.removeEventListener(`pointerdown`,e),t.removeEventListener(`click`,i.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function wr(e,t=globalThis?.document){let n=fr(e),r=l.useRef(!1);return l.useEffect(()=>{let e=e=>{e.target&&!r.current&&Er(_r,n,{originalEvent:e},{discrete:!1})};return t.addEventListener(`focusin`,e),()=>t.removeEventListener(`focusin`,e)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function Tr(){let e=new CustomEvent(hr);document.dispatchEvent(e)}function Er(e,t,n,{discrete:r}){let i=n.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?jt(i,a):i.dispatchEvent(a)}var Dr=`focusScope.autoFocusOnMount`,Or=`focusScope.autoFocusOnUnmount`,kr={bubbles:!1,cancelable:!0},Ar=`FocusScope`,jr=l.forwardRef((e,t)=>{let{loop:n=!1,trapped:r=!1,onMountAutoFocus:i,onUnmountAutoFocus:a,...o}=e,[s,c]=l.useState(null),d=fr(i),f=fr(a),p=l.useRef(null),m=ut(t,e=>c(e)),h=l.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;l.useEffect(()=>{if(r){let e=function(e){if(h.paused||!s)return;let t=e.target;s.contains(t)?p.current=t:Rr(p.current,{select:!0})},t=function(e){if(h.paused||!s)return;let t=e.relatedTarget;t!==null&&(s.contains(t)||Rr(p.current,{select:!0}))},n=function(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&Rr(s)};document.addEventListener(`focusin`,e),document.addEventListener(`focusout`,t);let r=new MutationObserver(n);return s&&r.observe(s,{childList:!0,subtree:!0}),()=>{document.removeEventListener(`focusin`,e),document.removeEventListener(`focusout`,t),r.disconnect()}}},[r,s,h.paused]),l.useEffect(()=>{if(s){zr.add(h);let e=document.activeElement;if(!s.contains(e)){let t=new CustomEvent(Dr,kr);s.addEventListener(Dr,d),s.dispatchEvent(t),t.defaultPrevented||(Mr(Hr(Pr(s)),{select:!0}),document.activeElement===e&&Rr(s))}return()=>{s.removeEventListener(Dr,d),setTimeout(()=>{let t=new CustomEvent(Or,kr);s.addEventListener(Or,f),s.dispatchEvent(t),t.defaultPrevented||Rr(e??document.body,{select:!0}),s.removeEventListener(Or,f),zr.remove(h)},0)}}},[s,d,f,h]);let g=l.useCallback(e=>{if(!n&&!r||h.paused)return;let t=e.key===`Tab`&&!e.altKey&&!e.ctrlKey&&!e.metaKey,i=document.activeElement;if(t&&i){let t=e.currentTarget,[r,a]=Nr(t);r&&a?!e.shiftKey&&i===a?(e.preventDefault(),n&&Rr(r,{select:!0})):e.shiftKey&&i===r&&(e.preventDefault(),n&&Rr(a,{select:!0})):i===t&&e.preventDefault()}},[n,r,h.paused]);return(0,u.jsx)(At.div,{tabIndex:-1,...o,ref:m,onKeyDown:g})});jr.displayName=Ar;function Mr(e,{select:t=!1}={}){let n=document.activeElement;for(let r of e)if(Rr(r,{select:t}),document.activeElement!==n)return}function Nr(e){let t=Pr(e);return[Fr(t,e),Fr(t.reverse(),e)]}function Pr(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t=e.tagName===`INPUT`&&e.type===`hidden`;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function Fr(e,t){for(let n of e)if(!Ir(n,{upTo:t}))return n}function Ir(e,{upTo:t}){if(getComputedStyle(e).visibility===`hidden`)return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display===`none`)return!0;e=e.parentElement}return!1}function Lr(e){return e instanceof HTMLInputElement&&`select`in e}function Rr(e,{select:t=!1}={}){if(e&&e.focus){let n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&Lr(e)&&t&&e.select()}}var zr=Br();function Br(){let e=[];return{add(t){let n=e[0];t!==n&&n?.pause(),e=Vr(e,t),e.unshift(t)},remove(t){e=Vr(e,t),e[0]?.resume()}}}function Vr(e,t){let n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function Hr(e){return e.filter(e=>e.tagName!==`A`)}var Ur=`Portal`,Wr=l.forwardRef((e,t)=>{let{container:n,...r}=e,[i,a]=l.useState(!1);yt(()=>a(!0),[]);let o=n||i&&globalThis?.document?.body;return o?d.default.createPortal((0,u.jsx)(At.div,{...r,ref:t}),o):null});Wr.displayName=Ur;var Gr=0;function Kr(){l.useEffect(()=>{let e=document.querySelectorAll(`[data-radix-focus-guard]`);return document.body.insertAdjacentElement(`afterbegin`,e[0]??qr()),document.body.insertAdjacentElement(`beforeend`,e[1]??qr()),Gr++,()=>{Gr===1&&document.querySelectorAll(`[data-radix-focus-guard]`).forEach(e=>e.remove()),Gr--}},[])}function qr(){let e=document.createElement(`span`);return e.setAttribute(`data-radix-focus-guard`,``),e.tabIndex=0,e.style.outline=`none`,e.style.opacity=`0`,e.style.position=`fixed`,e.style.pointerEvents=`none`,e}var Jr=function(){return Jr=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},Jr.apply(this,arguments)};function Yr(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols==`function`)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}function Xr(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,a;r<i;r++)(a||!(r in t))&&(a||=Array.prototype.slice.call(t,0,r),a[r]=t[r]);return e.concat(a||Array.prototype.slice.call(t))}var Zr=`right-scroll-bar-position`,Qr=`width-before-scroll-bar`,$r=`with-scroll-bars-hidden`,ei=`--removed-body-scroll-bar-size`;function ti(e,t){return typeof e==`function`?e(t):e&&(e.current=t),e}function ni(e,t){var n=(0,c.useState)(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(e){var t=n.value;t!==e&&(n.value=e,n.callback(e,t))}}}})[0];return n.callback=t,n.facade}var ri=typeof window<`u`?c.useLayoutEffect:c.useEffect,ii=new WeakMap;function ai(e,t){var n=ni(t||null,function(t){return e.forEach(function(e){return ti(e,t)})});return ri(function(){var t=ii.get(n);if(t){var r=new Set(t),i=new Set(e),a=n.current;r.forEach(function(e){i.has(e)||ti(e,null)}),i.forEach(function(e){r.has(e)||ti(e,a)})}ii.set(n,e)},[e]),n}function oi(e){return e}function si(e,t){t===void 0&&(t=oi);var n=[],r=!1;return{read:function(){if(r)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(e){var i=t(e,r);return n.push(i),function(){n=n.filter(function(e){return e!==i})}},assignSyncMedium:function(e){for(r=!0;n.length;){var t=n;n=[],t.forEach(e)}n={push:function(t){return e(t)},filter:function(){return n}}},assignMedium:function(e){r=!0;var t=[];if(n.length){var i=n;n=[],i.forEach(e),t=n}var a=function(){var n=t;t=[],n.forEach(e)},o=function(){return Promise.resolve().then(a)};o(),n={push:function(e){t.push(e),o()},filter:function(e){return t=t.filter(e),n}}}}}function ci(e){e===void 0&&(e={});var t=si(null);return t.options=Jr({async:!0,ssr:!1},e),t}var li=function(e){var t=e.sideCar,n=Yr(e,[`sideCar`]);if(!t)throw Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw Error(`Sidecar medium not found`);return c.createElement(r,Jr({},n))};li.isSideCarExport=!0;function ui(e,t){return e.useMedium(t),li}var di=ci(),fi=function(){},pi=c.forwardRef(function(e,t){var n=c.useRef(null),r=c.useState({onScrollCapture:fi,onWheelCapture:fi,onTouchMoveCapture:fi}),i=r[0],a=r[1],o=e.forwardProps,s=e.children,l=e.className,u=e.removeScrollBar,d=e.enabled,f=e.shards,p=e.sideCar,m=e.noRelative,h=e.noIsolation,g=e.inert,_=e.allowPinchZoom,v=e.as,y=v===void 0?`div`:v,b=e.gapMode,x=Yr(e,[`forwardProps`,`children`,`className`,`removeScrollBar`,`enabled`,`shards`,`sideCar`,`noRelative`,`noIsolation`,`inert`,`allowPinchZoom`,`as`,`gapMode`]),S=p,C=ai([n,t]),w=Jr(Jr({},x),i);return c.createElement(c.Fragment,null,d&&c.createElement(S,{sideCar:di,removeScrollBar:u,shards:f,noRelative:m,noIsolation:h,inert:g,setCallbacks:a,allowPinchZoom:!!_,lockRef:n,gapMode:b}),o?c.cloneElement(c.Children.only(s),Jr(Jr({},w),{ref:C})):c.createElement(y,Jr({},w,{className:l,ref:C}),s))});pi.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},pi.classNames={fullWidth:Qr,zeroRight:Zr};var mi,hi=function(){if(mi)return mi;if(typeof __webpack_nonce__<`u`)return __webpack_nonce__};function gi(){if(!document)return null;var e=document.createElement(`style`);e.type=`text/css`;var t=hi();return t&&e.setAttribute(`nonce`,t),e}function _i(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function vi(e){(document.head||document.getElementsByTagName(`head`)[0]).appendChild(e)}var yi=function(){var e=0,t=null;return{add:function(n){e==0&&(t=gi())&&(_i(t,n),vi(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},bi=function(){var e=yi();return function(t,n){c.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},xi=function(){var e=bi();return function(t){var n=t.styles,r=t.dynamic;return e(n,r),null}},Si={left:0,top:0,right:0,gap:0},Ci=function(e){return parseInt(e||``,10)||0},wi=function(e){var t=window.getComputedStyle(document.body),n=t[e===`padding`?`paddingLeft`:`marginLeft`],r=t[e===`padding`?`paddingTop`:`marginTop`],i=t[e===`padding`?`paddingRight`:`marginRight`];return[Ci(n),Ci(r),Ci(i)]},Ti=function(e){if(e===void 0&&(e=`margin`),typeof window>`u`)return Si;var t=wi(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},Ei=xi(),Di=`data-scroll-locked`,Oi=function(e,t,n,r){var i=e.left,a=e.top,o=e.right,s=e.gap;return n===void 0&&(n=`margin`),`
2
- .${$r} {
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c=r(i),l=0,u=c.length,d;l<u;l++)d=c[l],!a.call(e,d)&&d!==o&&t(e,d,{get:(e=>i[e]).bind(null,d),enumerable:!(s=n(i,d))||s.enumerable});return e},s=(n,r,a)=>(a=n==null?{}:e(i(n)),o(r||!n||!n.__esModule?t(a,`default`,{value:n,enumerable:!0}):a,n));let c=require(`react`),l=s(c,1);c=s(c);let u=require(`react/jsx-runtime`),d=require(`react-dom`);d=s(d,1);function f(e){var t,n,r=``;if(typeof e==`string`||typeof e==`number`)r+=e;else if(typeof e==`object`)if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=f(e[t]))&&(r&&(r+=` `),r+=n)}else for(n in e)e[n]&&(r&&(r+=` `),r+=n);return r}function p(){for(var e,t,n=0,r=``,i=arguments.length;n<i;n++)(e=arguments[n])&&(t=f(e))&&(r&&(r+=` `),r+=t);return r}var m=(e,t)=>{let n=Array(e.length+t.length);for(let t=0;t<e.length;t++)n[t]=e[t];for(let r=0;r<t.length;r++)n[e.length+r]=t[r];return n},h=(e,t)=>({classGroupId:e,validator:t}),g=(e=new Map,t=null,n)=>({nextPart:e,validators:t,classGroupId:n}),_=`-`,v=[],y=`arbitrary..`,b=e=>{let t=C(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:e=>{if(e.startsWith(`[`)&&e.endsWith(`]`))return S(e);let n=e.split(_);return x(n,+(n[0]===``&&n.length>1),t)},getConflictingClassGroupIds:(e,t)=>{if(t){let t=r[e],i=n[e];return t?i?m(i,t):t:i||v}return n[e]||v}}},x=(e,t,n)=>{if(e.length-t===0)return n.classGroupId;let r=e[t],i=n.nextPart.get(r);if(i){let n=x(e,t+1,i);if(n)return n}let a=n.validators;if(a===null)return;let o=t===0?e.join(_):e.slice(t).join(_),s=a.length;for(let e=0;e<s;e++){let t=a[e];if(t.validator(o))return t.classGroupId}},S=e=>e.slice(1,-1).indexOf(`:`)===-1?void 0:(()=>{let t=e.slice(1,-1),n=t.indexOf(`:`),r=t.slice(0,n);return r?y+r:void 0})(),C=e=>{let{theme:t,classGroups:n}=e;return w(n,t)},w=(e,t)=>{let n=g();for(let r in e){let i=e[r];T(i,n,r,t)}return n},T=(e,t,n,r)=>{let i=e.length;for(let a=0;a<i;a++){let i=e[a];E(i,t,n,r)}},E=(e,t,n,r)=>{if(typeof e==`string`){D(e,t,n);return}if(typeof e==`function`){O(e,t,n,r);return}k(e,t,n,r)},D=(e,t,n)=>{let r=e===``?t:A(t,e);r.classGroupId=n},O=(e,t,n,r)=>{if(j(e)){T(e(r),t,n,r);return}t.validators===null&&(t.validators=[]),t.validators.push(h(n,e))},k=(e,t,n,r)=>{let i=Object.entries(e),a=i.length;for(let e=0;e<a;e++){let[a,o]=i[e];T(o,A(t,a),n,r)}},A=(e,t)=>{let n=e,r=t.split(_),i=r.length;for(let e=0;e<i;e++){let t=r[e],i=n.nextPart.get(t);i||(i=g(),n.nextPart.set(t,i)),n=i}return n},j=e=>`isThemeGetter`in e&&e.isThemeGetter===!0,M=e=>{if(e<1)return{get:()=>void 0,set:()=>{}};let t=0,n=Object.create(null),r=Object.create(null),i=(i,a)=>{n[i]=a,t++,t>e&&(t=0,r=n,n=Object.create(null))};return{get(e){let t=n[e];if(t!==void 0)return t;if((t=r[e])!==void 0)return i(e,t),t},set(e,t){e in n?n[e]=t:i(e,t)}}},N=`!`,ee=`:`,te=[],P=(e,t,n,r,i)=>({modifiers:e,hasImportantModifier:t,baseClassName:n,maybePostfixModifierPosition:r,isExternal:i}),ne=e=>{let{prefix:t,experimentalParseClassName:n}=e,r=e=>{let t=[],n=0,r=0,i=0,a,o=e.length;for(let s=0;s<o;s++){let o=e[s];if(n===0&&r===0){if(o===ee){t.push(e.slice(i,s)),i=s+1;continue}if(o===`/`){a=s;continue}}o===`[`?n++:o===`]`?n--:o===`(`?r++:o===`)`&&r--}let s=t.length===0?e:e.slice(i),c=s,l=!1;s.endsWith(N)?(c=s.slice(0,-1),l=!0):s.startsWith(N)&&(c=s.slice(1),l=!0);let u=a&&a>i?a-i:void 0;return P(t,l,c,u)};if(t){let e=t+ee,n=r;r=t=>t.startsWith(e)?n(t.slice(e.length)):P(te,!1,t,void 0,!0)}if(n){let e=r;r=t=>n({className:t,parseClassName:e})}return r},re=e=>{let t=new Map;return e.orderSensitiveModifiers.forEach((e,n)=>{t.set(e,1e6+n)}),e=>{let n=[],r=[];for(let i=0;i<e.length;i++){let a=e[i],o=a[0]===`[`,s=t.has(a);o||s?(r.length>0&&(r.sort(),n.push(...r),r=[]),n.push(a)):r.push(a)}return r.length>0&&(r.sort(),n.push(...r)),n}},ie=e=>({cache:M(e.cacheSize),parseClassName:ne(e),sortModifiers:re(e),...b(e)}),ae=/\s+/,oe=(e,t)=>{let{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i,sortModifiers:a}=t,o=[],s=e.trim().split(ae),c=``;for(let e=s.length-1;e>=0;--e){let t=s[e],{isExternal:l,modifiers:u,hasImportantModifier:d,baseClassName:f,maybePostfixModifierPosition:p}=n(t);if(l){c=t+(c.length>0?` `+c:c);continue}let m=!!p,h=r(m?f.substring(0,p):f);if(!h){if(!m){c=t+(c.length>0?` `+c:c);continue}if(h=r(f),!h){c=t+(c.length>0?` `+c:c);continue}m=!1}let g=u.length===0?``:u.length===1?u[0]:a(u).join(`:`),_=d?g+N:g,v=_+h;if(o.indexOf(v)>-1)continue;o.push(v);let y=i(h,m);for(let e=0;e<y.length;++e){let t=y[e];o.push(_+t)}c=t+(c.length>0?` `+c:c)}return c},F=(...e)=>{let t=0,n,r,i=``;for(;t<e.length;)(n=e[t++])&&(r=se(n))&&(i&&(i+=` `),i+=r);return i},se=e=>{if(typeof e==`string`)return e;let t,n=``;for(let r=0;r<e.length;r++)e[r]&&(t=se(e[r]))&&(n&&(n+=` `),n+=t);return n},ce=(e,...t)=>{let n,r,i,a,o=o=>(n=ie(t.reduce((e,t)=>t(e),e())),r=n.cache.get,i=n.cache.set,a=s,s(o)),s=e=>{let t=r(e);if(t)return t;let a=oe(e,n);return i(e,a),a};return a=o,(...e)=>a(F(...e))},I=[],L=e=>{let t=t=>t[e]||I;return t.isThemeGetter=!0,t},le=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,ue=/^\((?:(\w[\w-]*):)?(.+)\)$/i,de=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,fe=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,pe=/\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$/,me=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,he=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,ge=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,_e=e=>de.test(e),R=e=>!!e&&!Number.isNaN(Number(e)),ve=e=>!!e&&Number.isInteger(Number(e)),ye=e=>e.endsWith(`%`)&&R(e.slice(0,-1)),be=e=>fe.test(e),xe=()=>!0,Se=e=>pe.test(e)&&!me.test(e),Ce=()=>!1,we=e=>he.test(e),Te=e=>ge.test(e),Ee=e=>!z(e)&&!B(e),De=e=>He(e,Ke,Ce),z=e=>le.test(e),Oe=e=>He(e,qe,Se),ke=e=>He(e,Je,R),Ae=e=>He(e,Xe,xe),je=e=>He(e,Ye,Ce),Me=e=>He(e,We,Ce),Ne=e=>He(e,Ge,Te),Pe=e=>He(e,Ze,we),B=e=>ue.test(e),Fe=e=>Ue(e,qe),Ie=e=>Ue(e,Ye),Le=e=>Ue(e,We),Re=e=>Ue(e,Ke),ze=e=>Ue(e,Ge),Be=e=>Ue(e,Ze,!0),Ve=e=>Ue(e,Xe,!0),He=(e,t,n)=>{let r=le.exec(e);return r?r[1]?t(r[1]):n(r[2]):!1},Ue=(e,t,n=!1)=>{let r=ue.exec(e);return r?r[1]?t(r[1]):n:!1},We=e=>e===`position`||e===`percentage`,Ge=e=>e===`image`||e===`url`,Ke=e=>e===`length`||e===`size`||e===`bg-size`,qe=e=>e===`length`,Je=e=>e===`number`,Ye=e=>e===`family-name`,Xe=e=>e===`number`||e===`weight`,Ze=e=>e===`shadow`,Qe=ce(()=>{let e=L(`color`),t=L(`font`),n=L(`text`),r=L(`font-weight`),i=L(`tracking`),a=L(`leading`),o=L(`breakpoint`),s=L(`container`),c=L(`spacing`),l=L(`radius`),u=L(`shadow`),d=L(`inset-shadow`),f=L(`text-shadow`),p=L(`drop-shadow`),m=L(`blur`),h=L(`perspective`),g=L(`aspect`),_=L(`ease`),v=L(`animate`),y=()=>[`auto`,`avoid`,`all`,`avoid-page`,`page`,`left`,`right`,`column`],b=()=>[`center`,`top`,`bottom`,`left`,`right`,`top-left`,`left-top`,`top-right`,`right-top`,`bottom-right`,`right-bottom`,`bottom-left`,`left-bottom`],x=()=>[...b(),B,z],S=()=>[`auto`,`hidden`,`clip`,`visible`,`scroll`],C=()=>[`auto`,`contain`,`none`],w=()=>[B,z,c],T=()=>[_e,`full`,`auto`,...w()],E=()=>[ve,`none`,`subgrid`,B,z],D=()=>[`auto`,{span:[`full`,ve,B,z]},ve,B,z],O=()=>[ve,`auto`,B,z],k=()=>[`auto`,`min`,`max`,`fr`,B,z],A=()=>[`start`,`end`,`center`,`between`,`around`,`evenly`,`stretch`,`baseline`,`center-safe`,`end-safe`],j=()=>[`start`,`end`,`center`,`stretch`,`center-safe`,`end-safe`],M=()=>[`auto`,...w()],N=()=>[_e,`auto`,`full`,`dvw`,`dvh`,`lvw`,`lvh`,`svw`,`svh`,`min`,`max`,`fit`,...w()],ee=()=>[_e,`screen`,`full`,`dvw`,`lvw`,`svw`,`min`,`max`,`fit`,...w()],te=()=>[_e,`screen`,`full`,`lh`,`dvh`,`lvh`,`svh`,`min`,`max`,`fit`,...w()],P=()=>[e,B,z],ne=()=>[...b(),Le,Me,{position:[B,z]}],re=()=>[`no-repeat`,{repeat:[``,`x`,`y`,`space`,`round`]}],ie=()=>[`auto`,`cover`,`contain`,Re,De,{size:[B,z]}],ae=()=>[ye,Fe,Oe],oe=()=>[``,`none`,`full`,l,B,z],F=()=>[``,R,Fe,Oe],se=()=>[`solid`,`dashed`,`dotted`,`double`],ce=()=>[`normal`,`multiply`,`screen`,`overlay`,`darken`,`lighten`,`color-dodge`,`color-burn`,`hard-light`,`soft-light`,`difference`,`exclusion`,`hue`,`saturation`,`color`,`luminosity`],I=()=>[R,ye,Le,Me],le=()=>[``,`none`,m,B,z],ue=()=>[`none`,R,B,z],de=()=>[`none`,R,B,z],fe=()=>[R,B,z],pe=()=>[_e,`full`,...w()];return{cacheSize:500,theme:{animate:[`spin`,`ping`,`pulse`,`bounce`],aspect:[`video`],blur:[be],breakpoint:[be],color:[xe],container:[be],"drop-shadow":[be],ease:[`in`,`out`,`in-out`],font:[Ee],"font-weight":[`thin`,`extralight`,`light`,`normal`,`medium`,`semibold`,`bold`,`extrabold`,`black`],"inset-shadow":[be],leading:[`none`,`tight`,`snug`,`normal`,`relaxed`,`loose`],perspective:[`dramatic`,`near`,`normal`,`midrange`,`distant`,`none`],radius:[be],shadow:[be],spacing:[`px`,R],text:[be],"text-shadow":[be],tracking:[`tighter`,`tight`,`normal`,`wide`,`wider`,`widest`]},classGroups:{aspect:[{aspect:[`auto`,`square`,_e,z,B,g]}],container:[`container`],columns:[{columns:[R,z,B,s]}],"break-after":[{"break-after":y()}],"break-before":[{"break-before":y()}],"break-inside":[{"break-inside":[`auto`,`avoid`,`avoid-page`,`avoid-column`]}],"box-decoration":[{"box-decoration":[`slice`,`clone`]}],box:[{box:[`border`,`content`]}],display:[`block`,`inline-block`,`inline`,`flex`,`inline-flex`,`table`,`inline-table`,`table-caption`,`table-cell`,`table-column`,`table-column-group`,`table-footer-group`,`table-header-group`,`table-row-group`,`table-row`,`flow-root`,`grid`,`inline-grid`,`contents`,`list-item`,`hidden`],sr:[`sr-only`,`not-sr-only`],float:[{float:[`right`,`left`,`none`,`start`,`end`]}],clear:[{clear:[`left`,`right`,`both`,`none`,`start`,`end`]}],isolation:[`isolate`,`isolation-auto`],"object-fit":[{object:[`contain`,`cover`,`fill`,`none`,`scale-down`]}],"object-position":[{object:x()}],overflow:[{overflow:S()}],"overflow-x":[{"overflow-x":S()}],"overflow-y":[{"overflow-y":S()}],overscroll:[{overscroll:C()}],"overscroll-x":[{"overscroll-x":C()}],"overscroll-y":[{"overscroll-y":C()}],position:[`static`,`fixed`,`absolute`,`relative`,`sticky`],inset:[{inset:T()}],"inset-x":[{"inset-x":T()}],"inset-y":[{"inset-y":T()}],start:[{"inset-s":T(),start:T()}],end:[{"inset-e":T(),end:T()}],"inset-bs":[{"inset-bs":T()}],"inset-be":[{"inset-be":T()}],top:[{top:T()}],right:[{right:T()}],bottom:[{bottom:T()}],left:[{left:T()}],visibility:[`visible`,`invisible`,`collapse`],z:[{z:[ve,`auto`,B,z]}],basis:[{basis:[_e,`full`,`auto`,s,...w()]}],"flex-direction":[{flex:[`row`,`row-reverse`,`col`,`col-reverse`]}],"flex-wrap":[{flex:[`nowrap`,`wrap`,`wrap-reverse`]}],flex:[{flex:[R,_e,`auto`,`initial`,`none`,z]}],grow:[{grow:[``,R,B,z]}],shrink:[{shrink:[``,R,B,z]}],order:[{order:[ve,`first`,`last`,`none`,B,z]}],"grid-cols":[{"grid-cols":E()}],"col-start-end":[{col:D()}],"col-start":[{"col-start":O()}],"col-end":[{"col-end":O()}],"grid-rows":[{"grid-rows":E()}],"row-start-end":[{row:D()}],"row-start":[{"row-start":O()}],"row-end":[{"row-end":O()}],"grid-flow":[{"grid-flow":[`row`,`col`,`dense`,`row-dense`,`col-dense`]}],"auto-cols":[{"auto-cols":k()}],"auto-rows":[{"auto-rows":k()}],gap:[{gap:w()}],"gap-x":[{"gap-x":w()}],"gap-y":[{"gap-y":w()}],"justify-content":[{justify:[...A(),`normal`]}],"justify-items":[{"justify-items":[...j(),`normal`]}],"justify-self":[{"justify-self":[`auto`,...j()]}],"align-content":[{content:[`normal`,...A()]}],"align-items":[{items:[...j(),{baseline:[``,`last`]}]}],"align-self":[{self:[`auto`,...j(),{baseline:[``,`last`]}]}],"place-content":[{"place-content":A()}],"place-items":[{"place-items":[...j(),`baseline`]}],"place-self":[{"place-self":[`auto`,...j()]}],p:[{p:w()}],px:[{px:w()}],py:[{py:w()}],ps:[{ps:w()}],pe:[{pe:w()}],pbs:[{pbs:w()}],pbe:[{pbe:w()}],pt:[{pt:w()}],pr:[{pr:w()}],pb:[{pb:w()}],pl:[{pl:w()}],m:[{m:M()}],mx:[{mx:M()}],my:[{my:M()}],ms:[{ms:M()}],me:[{me:M()}],mbs:[{mbs:M()}],mbe:[{mbe:M()}],mt:[{mt:M()}],mr:[{mr:M()}],mb:[{mb:M()}],ml:[{ml:M()}],"space-x":[{"space-x":w()}],"space-x-reverse":[`space-x-reverse`],"space-y":[{"space-y":w()}],"space-y-reverse":[`space-y-reverse`],size:[{size:N()}],"inline-size":[{inline:[`auto`,...ee()]}],"min-inline-size":[{"min-inline":[`auto`,...ee()]}],"max-inline-size":[{"max-inline":[`none`,...ee()]}],"block-size":[{block:[`auto`,...te()]}],"min-block-size":[{"min-block":[`auto`,...te()]}],"max-block-size":[{"max-block":[`none`,...te()]}],w:[{w:[s,`screen`,...N()]}],"min-w":[{"min-w":[s,`screen`,`none`,...N()]}],"max-w":[{"max-w":[s,`screen`,`none`,`prose`,{screen:[o]},...N()]}],h:[{h:[`screen`,`lh`,...N()]}],"min-h":[{"min-h":[`screen`,`lh`,`none`,...N()]}],"max-h":[{"max-h":[`screen`,`lh`,...N()]}],"font-size":[{text:[`base`,n,Fe,Oe]}],"font-smoothing":[`antialiased`,`subpixel-antialiased`],"font-style":[`italic`,`not-italic`],"font-weight":[{font:[r,Ve,Ae]}],"font-stretch":[{"font-stretch":[`ultra-condensed`,`extra-condensed`,`condensed`,`semi-condensed`,`normal`,`semi-expanded`,`expanded`,`extra-expanded`,`ultra-expanded`,ye,z]}],"font-family":[{font:[Ie,je,t]}],"font-features":[{"font-features":[z]}],"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:[i,B,z]}],"line-clamp":[{"line-clamp":[R,`none`,B,ke]}],leading:[{leading:[a,...w()]}],"list-image":[{"list-image":[`none`,B,z]}],"list-style-position":[{list:[`inside`,`outside`]}],"list-style-type":[{list:[`disc`,`decimal`,`none`,B,z]}],"text-alignment":[{text:[`left`,`center`,`right`,`justify`,`start`,`end`]}],"placeholder-color":[{placeholder:P()}],"text-color":[{text:P()}],"text-decoration":[`underline`,`overline`,`line-through`,`no-underline`],"text-decoration-style":[{decoration:[...se(),`wavy`]}],"text-decoration-thickness":[{decoration:[R,`from-font`,`auto`,B,Oe]}],"text-decoration-color":[{decoration:P()}],"underline-offset":[{"underline-offset":[R,`auto`,B,z]}],"text-transform":[`uppercase`,`lowercase`,`capitalize`,`normal-case`],"text-overflow":[`truncate`,`text-ellipsis`,`text-clip`],"text-wrap":[{text:[`wrap`,`nowrap`,`balance`,`pretty`]}],indent:[{indent:w()}],"vertical-align":[{align:[`baseline`,`top`,`middle`,`bottom`,`text-top`,`text-bottom`,`sub`,`super`,B,z]}],whitespace:[{whitespace:[`normal`,`nowrap`,`pre`,`pre-line`,`pre-wrap`,`break-spaces`]}],break:[{break:[`normal`,`words`,`all`,`keep`]}],wrap:[{wrap:[`break-word`,`anywhere`,`normal`]}],hyphens:[{hyphens:[`none`,`manual`,`auto`]}],content:[{content:[`none`,B,z]}],"bg-attachment":[{bg:[`fixed`,`local`,`scroll`]}],"bg-clip":[{"bg-clip":[`border`,`padding`,`content`,`text`]}],"bg-origin":[{"bg-origin":[`border`,`padding`,`content`]}],"bg-position":[{bg:ne()}],"bg-repeat":[{bg:re()}],"bg-size":[{bg:ie()}],"bg-image":[{bg:[`none`,{linear:[{to:[`t`,`tr`,`r`,`br`,`b`,`bl`,`l`,`tl`]},ve,B,z],radial:[``,B,z],conic:[ve,B,z]},ze,Ne]}],"bg-color":[{bg:P()}],"gradient-from-pos":[{from:ae()}],"gradient-via-pos":[{via:ae()}],"gradient-to-pos":[{to:ae()}],"gradient-from":[{from:P()}],"gradient-via":[{via:P()}],"gradient-to":[{to:P()}],rounded:[{rounded:oe()}],"rounded-s":[{"rounded-s":oe()}],"rounded-e":[{"rounded-e":oe()}],"rounded-t":[{"rounded-t":oe()}],"rounded-r":[{"rounded-r":oe()}],"rounded-b":[{"rounded-b":oe()}],"rounded-l":[{"rounded-l":oe()}],"rounded-ss":[{"rounded-ss":oe()}],"rounded-se":[{"rounded-se":oe()}],"rounded-ee":[{"rounded-ee":oe()}],"rounded-es":[{"rounded-es":oe()}],"rounded-tl":[{"rounded-tl":oe()}],"rounded-tr":[{"rounded-tr":oe()}],"rounded-br":[{"rounded-br":oe()}],"rounded-bl":[{"rounded-bl":oe()}],"border-w":[{border:F()}],"border-w-x":[{"border-x":F()}],"border-w-y":[{"border-y":F()}],"border-w-s":[{"border-s":F()}],"border-w-e":[{"border-e":F()}],"border-w-bs":[{"border-bs":F()}],"border-w-be":[{"border-be":F()}],"border-w-t":[{"border-t":F()}],"border-w-r":[{"border-r":F()}],"border-w-b":[{"border-b":F()}],"border-w-l":[{"border-l":F()}],"divide-x":[{"divide-x":F()}],"divide-x-reverse":[`divide-x-reverse`],"divide-y":[{"divide-y":F()}],"divide-y-reverse":[`divide-y-reverse`],"border-style":[{border:[...se(),`hidden`,`none`]}],"divide-style":[{divide:[...se(),`hidden`,`none`]}],"border-color":[{border:P()}],"border-color-x":[{"border-x":P()}],"border-color-y":[{"border-y":P()}],"border-color-s":[{"border-s":P()}],"border-color-e":[{"border-e":P()}],"border-color-bs":[{"border-bs":P()}],"border-color-be":[{"border-be":P()}],"border-color-t":[{"border-t":P()}],"border-color-r":[{"border-r":P()}],"border-color-b":[{"border-b":P()}],"border-color-l":[{"border-l":P()}],"divide-color":[{divide:P()}],"outline-style":[{outline:[...se(),`none`,`hidden`]}],"outline-offset":[{"outline-offset":[R,B,z]}],"outline-w":[{outline:[``,R,Fe,Oe]}],"outline-color":[{outline:P()}],shadow:[{shadow:[``,`none`,u,Be,Pe]}],"shadow-color":[{shadow:P()}],"inset-shadow":[{"inset-shadow":[`none`,d,Be,Pe]}],"inset-shadow-color":[{"inset-shadow":P()}],"ring-w":[{ring:F()}],"ring-w-inset":[`ring-inset`],"ring-color":[{ring:P()}],"ring-offset-w":[{"ring-offset":[R,Oe]}],"ring-offset-color":[{"ring-offset":P()}],"inset-ring-w":[{"inset-ring":F()}],"inset-ring-color":[{"inset-ring":P()}],"text-shadow":[{"text-shadow":[`none`,f,Be,Pe]}],"text-shadow-color":[{"text-shadow":P()}],opacity:[{opacity:[R,B,z]}],"mix-blend":[{"mix-blend":[...ce(),`plus-darker`,`plus-lighter`]}],"bg-blend":[{"bg-blend":ce()}],"mask-clip":[{"mask-clip":[`border`,`padding`,`content`,`fill`,`stroke`,`view`]},`mask-no-clip`],"mask-composite":[{mask:[`add`,`subtract`,`intersect`,`exclude`]}],"mask-image-linear-pos":[{"mask-linear":[R]}],"mask-image-linear-from-pos":[{"mask-linear-from":I()}],"mask-image-linear-to-pos":[{"mask-linear-to":I()}],"mask-image-linear-from-color":[{"mask-linear-from":P()}],"mask-image-linear-to-color":[{"mask-linear-to":P()}],"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":P()}],"mask-image-t-to-color":[{"mask-t-to":P()}],"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":P()}],"mask-image-r-to-color":[{"mask-r-to":P()}],"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":P()}],"mask-image-b-to-color":[{"mask-b-to":P()}],"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":P()}],"mask-image-l-to-color":[{"mask-l-to":P()}],"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":P()}],"mask-image-x-to-color":[{"mask-x-to":P()}],"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":P()}],"mask-image-y-to-color":[{"mask-y-to":P()}],"mask-image-radial":[{"mask-radial":[B,z]}],"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":P()}],"mask-image-radial-to-color":[{"mask-radial-to":P()}],"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":b()}],"mask-image-conic-pos":[{"mask-conic":[R]}],"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":P()}],"mask-image-conic-to-color":[{"mask-conic-to":P()}],"mask-mode":[{mask:[`alpha`,`luminance`,`match`]}],"mask-origin":[{"mask-origin":[`border`,`padding`,`content`,`fill`,`stroke`,`view`]}],"mask-position":[{mask:ne()}],"mask-repeat":[{mask:re()}],"mask-size":[{mask:ie()}],"mask-type":[{"mask-type":[`alpha`,`luminance`]}],"mask-image":[{mask:[`none`,B,z]}],filter:[{filter:[``,`none`,B,z]}],blur:[{blur:le()}],brightness:[{brightness:[R,B,z]}],contrast:[{contrast:[R,B,z]}],"drop-shadow":[{"drop-shadow":[``,`none`,p,Be,Pe]}],"drop-shadow-color":[{"drop-shadow":P()}],grayscale:[{grayscale:[``,R,B,z]}],"hue-rotate":[{"hue-rotate":[R,B,z]}],invert:[{invert:[``,R,B,z]}],saturate:[{saturate:[R,B,z]}],sepia:[{sepia:[``,R,B,z]}],"backdrop-filter":[{"backdrop-filter":[``,`none`,B,z]}],"backdrop-blur":[{"backdrop-blur":le()}],"backdrop-brightness":[{"backdrop-brightness":[R,B,z]}],"backdrop-contrast":[{"backdrop-contrast":[R,B,z]}],"backdrop-grayscale":[{"backdrop-grayscale":[``,R,B,z]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[R,B,z]}],"backdrop-invert":[{"backdrop-invert":[``,R,B,z]}],"backdrop-opacity":[{"backdrop-opacity":[R,B,z]}],"backdrop-saturate":[{"backdrop-saturate":[R,B,z]}],"backdrop-sepia":[{"backdrop-sepia":[``,R,B,z]}],"border-collapse":[{border:[`collapse`,`separate`]}],"border-spacing":[{"border-spacing":w()}],"border-spacing-x":[{"border-spacing-x":w()}],"border-spacing-y":[{"border-spacing-y":w()}],"table-layout":[{table:[`auto`,`fixed`]}],caption:[{caption:[`top`,`bottom`]}],transition:[{transition:[``,`all`,`colors`,`opacity`,`shadow`,`transform`,`none`,B,z]}],"transition-behavior":[{transition:[`normal`,`discrete`]}],duration:[{duration:[R,`initial`,B,z]}],ease:[{ease:[`linear`,`initial`,_,B,z]}],delay:[{delay:[R,B,z]}],animate:[{animate:[`none`,v,B,z]}],backface:[{backface:[`hidden`,`visible`]}],perspective:[{perspective:[h,B,z]}],"perspective-origin":[{"perspective-origin":x()}],rotate:[{rotate:ue()}],"rotate-x":[{"rotate-x":ue()}],"rotate-y":[{"rotate-y":ue()}],"rotate-z":[{"rotate-z":ue()}],scale:[{scale:de()}],"scale-x":[{"scale-x":de()}],"scale-y":[{"scale-y":de()}],"scale-z":[{"scale-z":de()}],"scale-3d":[`scale-3d`],skew:[{skew:fe()}],"skew-x":[{"skew-x":fe()}],"skew-y":[{"skew-y":fe()}],transform:[{transform:[B,z,``,`none`,`gpu`,`cpu`]}],"transform-origin":[{origin:x()}],"transform-style":[{transform:[`3d`,`flat`]}],translate:[{translate:pe()}],"translate-x":[{"translate-x":pe()}],"translate-y":[{"translate-y":pe()}],"translate-z":[{"translate-z":pe()}],"translate-none":[`translate-none`],accent:[{accent:P()}],appearance:[{appearance:[`none`,`auto`]}],"caret-color":[{caret:P()}],"color-scheme":[{scheme:[`normal`,`dark`,`light`,`light-dark`,`only-dark`,`only-light`]}],cursor:[{cursor:[`auto`,`default`,`pointer`,`wait`,`text`,`move`,`help`,`not-allowed`,`none`,`context-menu`,`progress`,`cell`,`crosshair`,`vertical-text`,`alias`,`copy`,`no-drop`,`grab`,`grabbing`,`all-scroll`,`col-resize`,`row-resize`,`n-resize`,`e-resize`,`s-resize`,`w-resize`,`ne-resize`,`nw-resize`,`se-resize`,`sw-resize`,`ew-resize`,`ns-resize`,`nesw-resize`,`nwse-resize`,`zoom-in`,`zoom-out`,B,z]}],"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":w()}],"scroll-mx":[{"scroll-mx":w()}],"scroll-my":[{"scroll-my":w()}],"scroll-ms":[{"scroll-ms":w()}],"scroll-me":[{"scroll-me":w()}],"scroll-mbs":[{"scroll-mbs":w()}],"scroll-mbe":[{"scroll-mbe":w()}],"scroll-mt":[{"scroll-mt":w()}],"scroll-mr":[{"scroll-mr":w()}],"scroll-mb":[{"scroll-mb":w()}],"scroll-ml":[{"scroll-ml":w()}],"scroll-p":[{"scroll-p":w()}],"scroll-px":[{"scroll-px":w()}],"scroll-py":[{"scroll-py":w()}],"scroll-ps":[{"scroll-ps":w()}],"scroll-pe":[{"scroll-pe":w()}],"scroll-pbs":[{"scroll-pbs":w()}],"scroll-pbe":[{"scroll-pbe":w()}],"scroll-pt":[{"scroll-pt":w()}],"scroll-pr":[{"scroll-pr":w()}],"scroll-pb":[{"scroll-pb":w()}],"scroll-pl":[{"scroll-pl":w()}],"snap-align":[{snap:[`start`,`end`,`center`,`align-none`]}],"snap-stop":[{snap:[`normal`,`always`]}],"snap-type":[{snap:[`none`,`x`,`y`,`both`]}],"snap-strictness":[{snap:[`mandatory`,`proximity`]}],touch:[{touch:[`auto`,`none`,`manipulation`]}],"touch-x":[{"touch-pan":[`x`,`left`,`right`]}],"touch-y":[{"touch-pan":[`y`,`up`,`down`]}],"touch-pz":[`touch-pinch-zoom`],select:[{select:[`none`,`text`,`all`,`auto`]}],"will-change":[{"will-change":[`auto`,`scroll`,`contents`,`transform`,B,z]}],fill:[{fill:[`none`,...P()]}],"stroke-w":[{stroke:[R,Fe,Oe,ke]}],stroke:[{stroke:[`none`,...P()]}],"forced-color-adjust":[{"forced-color-adjust":[`auto`,`none`]}]},conflictingClassGroups:{overflow:[`overflow-x`,`overflow-y`],overscroll:[`overscroll-x`,`overscroll-y`],inset:[`inset-x`,`inset-y`,`inset-bs`,`inset-be`,`start`,`end`,`top`,`right`,`bottom`,`left`],"inset-x":[`right`,`left`],"inset-y":[`top`,`bottom`],flex:[`basis`,`grow`,`shrink`],gap:[`gap-x`,`gap-y`],p:[`px`,`py`,`ps`,`pe`,`pbs`,`pbe`,`pt`,`pr`,`pb`,`pl`],px:[`pr`,`pl`],py:[`pt`,`pb`],m:[`mx`,`my`,`ms`,`me`,`mbs`,`mbe`,`mt`,`mr`,`mb`,`ml`],mx:[`mr`,`ml`],my:[`mt`,`mb`],size:[`w`,`h`],"font-size":[`leading`],"fvn-normal":[`fvn-ordinal`,`fvn-slashed-zero`,`fvn-figure`,`fvn-spacing`,`fvn-fraction`],"fvn-ordinal":[`fvn-normal`],"fvn-slashed-zero":[`fvn-normal`],"fvn-figure":[`fvn-normal`],"fvn-spacing":[`fvn-normal`],"fvn-fraction":[`fvn-normal`],"line-clamp":[`display`,`overflow`],rounded:[`rounded-s`,`rounded-e`,`rounded-t`,`rounded-r`,`rounded-b`,`rounded-l`,`rounded-ss`,`rounded-se`,`rounded-ee`,`rounded-es`,`rounded-tl`,`rounded-tr`,`rounded-br`,`rounded-bl`],"rounded-s":[`rounded-ss`,`rounded-es`],"rounded-e":[`rounded-se`,`rounded-ee`],"rounded-t":[`rounded-tl`,`rounded-tr`],"rounded-r":[`rounded-tr`,`rounded-br`],"rounded-b":[`rounded-br`,`rounded-bl`],"rounded-l":[`rounded-tl`,`rounded-bl`],"border-spacing":[`border-spacing-x`,`border-spacing-y`],"border-w":[`border-w-x`,`border-w-y`,`border-w-s`,`border-w-e`,`border-w-bs`,`border-w-be`,`border-w-t`,`border-w-r`,`border-w-b`,`border-w-l`],"border-w-x":[`border-w-r`,`border-w-l`],"border-w-y":[`border-w-t`,`border-w-b`],"border-color":[`border-color-x`,`border-color-y`,`border-color-s`,`border-color-e`,`border-color-bs`,`border-color-be`,`border-color-t`,`border-color-r`,`border-color-b`,`border-color-l`],"border-color-x":[`border-color-r`,`border-color-l`],"border-color-y":[`border-color-t`,`border-color-b`],translate:[`translate-x`,`translate-y`,`translate-none`],"translate-none":[`translate`,`translate-x`,`translate-y`,`translate-z`],"scroll-m":[`scroll-mx`,`scroll-my`,`scroll-ms`,`scroll-me`,`scroll-mbs`,`scroll-mbe`,`scroll-mt`,`scroll-mr`,`scroll-mb`,`scroll-ml`],"scroll-mx":[`scroll-mr`,`scroll-ml`],"scroll-my":[`scroll-mt`,`scroll-mb`],"scroll-p":[`scroll-px`,`scroll-py`,`scroll-ps`,`scroll-pe`,`scroll-pbs`,`scroll-pbe`,`scroll-pt`,`scroll-pr`,`scroll-pb`,`scroll-pl`],"scroll-px":[`scroll-pr`,`scroll-pl`],"scroll-py":[`scroll-pt`,`scroll-pb`],touch:[`touch-x`,`touch-y`,`touch-pz`],"touch-x":[`touch`],"touch-y":[`touch`],"touch-pz":[`touch`]},conflictingClassGroupModifiers:{"font-size":[`leading`]},orderSensitiveModifiers:[`*`,`**`,`after`,`backdrop`,`before`,`details-content`,`file`,`first-letter`,`first-line`,`marker`,`placeholder`,`selection`]}}),V=(...e)=>Qe(p(e)),$e=(e,t)=>Math.round(e*10**t)/10**t,et=(e,t,n)=>Math.min(Math.max(e,t),n),tt=(e,t,n=`...`)=>e.length<=t?e:e.slice(0,t-n.length)+n,nt=(e,t)=>{let n=!1;return(...r)=>{n||(e(...r),n=!0,setTimeout(()=>n=!1,t))}},rt=(e,t)=>{let n,r=(...r)=>{clearTimeout(n),n=setTimeout(()=>e(...r),t)};return r.cancel=()=>clearTimeout(n),r};function it(e,t){let n=l.createContext(t),r=e=>{let{children:t,...r}=e,i=l.useMemo(()=>r,Object.values(r));return(0,u.jsx)(n.Provider,{value:i,children:t})};r.displayName=e+`Provider`;function i(r){let i=l.useContext(n);if(i)return i;if(t!==void 0)return t;throw Error(`\`${r}\` must be used within \`${e}\``)}return[r,i]}function at(e,t=[]){let n=[];function r(t,r){let i=l.createContext(r),a=n.length;n=[...n,r];let o=t=>{let{scope:n,children:r,...o}=t,s=n?.[e]?.[a]||i,c=l.useMemo(()=>o,Object.values(o));return(0,u.jsx)(s.Provider,{value:c,children:r})};o.displayName=t+`Provider`;function s(n,o){let s=o?.[e]?.[a]||i,c=l.useContext(s);if(c)return c;if(r!==void 0)return r;throw Error(`\`${n}\` must be used within \`${t}\``)}return[o,s]}let i=()=>{let t=n.map(e=>l.createContext(e));return function(n){let r=n?.[e]||t;return l.useMemo(()=>({[`__scope${e}`]:{...n,[e]:r}}),[n,r])}};return i.scopeName=e,[r,ot(i,...t)]}function ot(...e){let t=e[0];if(e.length===1)return t;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let r=n.reduce((t,{useScope:n,scopeName:r})=>{let i=n(e)[`__scope${r}`];return{...t,...i}},{});return l.useMemo(()=>({[`__scope${t.scopeName}`]:r}),[r])}};return n.scopeName=t.scopeName,n}function st(e,t){if(typeof e==`function`)return e(t);e!=null&&(e.current=t)}function ct(...e){return t=>{let n=!1,r=e.map(e=>{let r=st(e,t);return!n&&typeof r==`function`&&(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){let n=r[t];typeof n==`function`?n():st(e[t],null)}}}}function lt(...e){return l.useCallback(ct(...e),e)}function ut(e){let t=dt(e),n=l.forwardRef((e,n)=>{let{children:r,...i}=e,a=l.Children.toArray(r),o=a.find(pt);if(o){let e=o.props.children,r=a.map(t=>t===o?l.Children.count(e)>1?l.Children.only(null):l.isValidElement(e)?e.props.children:null:t);return(0,u.jsx)(t,{...i,ref:n,children:l.isValidElement(e)?l.cloneElement(e,void 0,r):null})}return(0,u.jsx)(t,{...i,ref:n,children:r})});return n.displayName=`${e}.Slot`,n}function dt(e){let t=l.forwardRef((e,t)=>{let{children:n,...r}=e;if(l.isValidElement(n)){let e=ht(n),i=mt(r,n.props);return n.type!==l.Fragment&&(i.ref=t?ct(t,e):e),l.cloneElement(n,i)}return l.Children.count(n)>1?l.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var ft=Symbol(`radix.slottable`);function pt(e){return l.isValidElement(e)&&typeof e.type==`function`&&`__radixId`in e.type&&e.type.__radixId===ft}function mt(e,t){let n={...t};for(let r in t){let i=e[r],a=t[r];/^on[A-Z]/.test(r)?i&&a?n[r]=(...e)=>{let t=a(...e);return i(...e),t}:i&&(n[r]=i):r===`style`?n[r]={...i,...a}:r===`className`&&(n[r]=[i,a].filter(Boolean).join(` `))}return{...e,...n}}function ht(e){let t=Object.getOwnPropertyDescriptor(e.props,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function gt(e){let t=e+`CollectionProvider`,[n,r]=at(t),[i,a]=n(t,{collectionRef:{current:null},itemMap:new Map}),o=e=>{let{scope:t,children:n}=e,r=l.default.useRef(null),a=l.default.useRef(new Map).current;return(0,u.jsx)(i,{scope:t,itemMap:a,collectionRef:r,children:n})};o.displayName=t;let s=e+`CollectionSlot`,c=ut(s),d=l.default.forwardRef((e,t)=>{let{scope:n,children:r}=e;return(0,u.jsx)(c,{ref:lt(t,a(s,n).collectionRef),children:r})});d.displayName=s;let f=e+`CollectionItemSlot`,p=`data-radix-collection-item`,m=ut(f),h=l.default.forwardRef((e,t)=>{let{scope:n,children:r,...i}=e,o=l.default.useRef(null),s=lt(t,o),c=a(f,n);return l.default.useEffect(()=>(c.itemMap.set(o,{ref:o,...i}),()=>void c.itemMap.delete(o))),(0,u.jsx)(m,{[p]:``,ref:s,children:r})});h.displayName=f;function g(t){let n=a(e+`CollectionConsumer`,t);return l.default.useCallback(()=>{let e=n.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${p}]`));return Array.from(n.itemMap.values()).sort((e,n)=>t.indexOf(e.ref.current)-t.indexOf(n.ref.current))},[n.collectionRef,n.itemMap])}return[{Provider:o,Slot:d,ItemSlot:h},g,r]}typeof window<`u`&&window.document&&window.document.createElement;function _t(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e?.(r),n===!1||!r.defaultPrevented)return t?.(r)}}var vt=globalThis?.document?l.useLayoutEffect:()=>{},yt=l.useInsertionEffect||vt;function bt({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){let[i,a,o]=xt({defaultProp:t,onChange:n}),s=e!==void 0,c=s?e:i;{let t=l.useRef(e!==void 0);l.useEffect(()=>{let e=t.current;e!==s&&console.warn(`${r} is changing from ${e?`controlled`:`uncontrolled`} to ${s?`controlled`:`uncontrolled`}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),t.current=s},[s,r])}return[c,l.useCallback(t=>{if(s){let n=St(t)?t(e):t;n!==e&&o.current?.(n)}else a(t)},[s,e,a,o])]}function xt({defaultProp:e,onChange:t}){let[n,r]=l.useState(e),i=l.useRef(n),a=l.useRef(t);return yt(()=>{a.current=t},[t]),l.useEffect(()=>{i.current!==n&&(a.current?.(n),i.current=n)},[n,i]),[n,r,a]}function St(e){return typeof e==`function`}function Ct(e){let t=wt(e),n=l.forwardRef((e,n)=>{let{children:r,...i}=e,a=l.Children.toArray(r),o=a.find(Et);if(o){let e=o.props.children,r=a.map(t=>t===o?l.Children.count(e)>1?l.Children.only(null):l.isValidElement(e)?e.props.children:null:t);return(0,u.jsx)(t,{...i,ref:n,children:l.isValidElement(e)?l.cloneElement(e,void 0,r):null})}return(0,u.jsx)(t,{...i,ref:n,children:r})});return n.displayName=`${e}.Slot`,n}function wt(e){let t=l.forwardRef((e,t)=>{let{children:n,...r}=e;if(l.isValidElement(n)){let e=Ot(n),i=Dt(r,n.props);return n.type!==l.Fragment&&(i.ref=t?ct(t,e):e),l.cloneElement(n,i)}return l.Children.count(n)>1?l.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var Tt=Symbol(`radix.slottable`);function Et(e){return l.isValidElement(e)&&typeof e.type==`function`&&`__radixId`in e.type&&e.type.__radixId===Tt}function Dt(e,t){let n={...t};for(let r in t){let i=e[r],a=t[r];/^on[A-Z]/.test(r)?i&&a?n[r]=(...e)=>{let t=a(...e);return i(...e),t}:i&&(n[r]=i):r===`style`?n[r]={...i,...a}:r===`className`&&(n[r]=[i,a].filter(Boolean).join(` `))}return{...e,...n}}function Ot(e){let t=Object.getOwnPropertyDescriptor(e.props,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var kt=[`a`,`button`,`div`,`form`,`h2`,`h3`,`img`,`input`,`label`,`li`,`nav`,`ol`,`p`,`select`,`span`,`svg`,`ul`].reduce((e,t)=>{let n=Ct(`Primitive.${t}`),r=l.forwardRef((e,r)=>{let{asChild:i,...a}=e,o=i?n:t;return typeof window<`u`&&(window[Symbol.for(`radix-ui`)]=!0),(0,u.jsx)(o,{...a,ref:r})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function At(e,t){e&&d.flushSync(()=>e.dispatchEvent(t))}function jt(e,t){return l.useReducer((e,n)=>t[e][n]??e,e)}var Mt=e=>{let{present:t,children:n}=e,r=Nt(t),i=typeof n==`function`?n({present:r.isPresent}):l.Children.only(n),a=lt(r.ref,Ft(i));return typeof n==`function`||r.isPresent?l.cloneElement(i,{ref:a}):null};Mt.displayName=`Presence`;function Nt(e){let[t,n]=l.useState(),r=l.useRef(null),i=l.useRef(e),a=l.useRef(`none`),[o,s]=jt(e?`mounted`:`unmounted`,{mounted:{UNMOUNT:`unmounted`,ANIMATION_OUT:`unmountSuspended`},unmountSuspended:{MOUNT:`mounted`,ANIMATION_END:`unmounted`},unmounted:{MOUNT:`mounted`}});return l.useEffect(()=>{let e=Pt(r.current);a.current=o===`mounted`?e:`none`},[o]),vt(()=>{let t=r.current,n=i.current;if(n!==e){let r=a.current,o=Pt(t);e?s(`MOUNT`):o===`none`||t?.display===`none`?s(`UNMOUNT`):s(n&&r!==o?`ANIMATION_OUT`:`UNMOUNT`),i.current=e}},[e,s]),vt(()=>{if(t){let e,n=t.ownerDocument.defaultView??window,o=a=>{let o=Pt(r.current).includes(CSS.escape(a.animationName));if(a.target===t&&o&&(s(`ANIMATION_END`),!i.current)){let r=t.style.animationFillMode;t.style.animationFillMode=`forwards`,e=n.setTimeout(()=>{t.style.animationFillMode===`forwards`&&(t.style.animationFillMode=r)})}},c=e=>{e.target===t&&(a.current=Pt(r.current))};return t.addEventListener(`animationstart`,c),t.addEventListener(`animationcancel`,o),t.addEventListener(`animationend`,o),()=>{n.clearTimeout(e),t.removeEventListener(`animationstart`,c),t.removeEventListener(`animationcancel`,o),t.removeEventListener(`animationend`,o)}}else s(`ANIMATION_END`)},[t,s]),{isPresent:[`mounted`,`unmountSuspended`].includes(o),ref:l.useCallback(e=>{r.current=e?getComputedStyle(e):null,n(e)},[])}}function Pt(e){return e?.animationName||`none`}function Ft(e){let t=Object.getOwnPropertyDescriptor(e.props,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var It=l.useId||(()=>void 0),Lt=0;function Rt(e){let[t,n]=l.useState(It());return vt(()=>{e||n(e=>e??String(Lt++))},[e]),e||(t?`radix-${t}`:``)}var zt=`Collapsible`,[Bt,Vt]=at(zt),[Ht,Ut]=Bt(zt),Wt=l.forwardRef((e,t)=>{let{__scopeCollapsible:n,open:r,defaultOpen:i,disabled:a,onOpenChange:o,...s}=e,[c,d]=bt({prop:r,defaultProp:i??!1,onChange:o,caller:zt});return(0,u.jsx)(Ht,{scope:n,disabled:a,contentId:Rt(),open:c,onOpenToggle:l.useCallback(()=>d(e=>!e),[d]),children:(0,u.jsx)(kt.div,{"data-state":Xt(c),"data-disabled":a?``:void 0,...s,ref:t})})});Wt.displayName=zt;var Gt=`CollapsibleTrigger`,Kt=l.forwardRef((e,t)=>{let{__scopeCollapsible:n,...r}=e,i=Ut(Gt,n);return(0,u.jsx)(kt.button,{type:`button`,"aria-controls":i.contentId,"aria-expanded":i.open||!1,"data-state":Xt(i.open),"data-disabled":i.disabled?``:void 0,disabled:i.disabled,...r,ref:t,onClick:_t(e.onClick,i.onOpenToggle)})});Kt.displayName=Gt;var qt=`CollapsibleContent`,Jt=l.forwardRef((e,t)=>{let{forceMount:n,...r}=e,i=Ut(qt,e.__scopeCollapsible);return(0,u.jsx)(Mt,{present:n||i.open,children:({present:e})=>(0,u.jsx)(Yt,{...r,ref:t,present:e})})});Jt.displayName=qt;var Yt=l.forwardRef((e,t)=>{let{__scopeCollapsible:n,present:r,children:i,...a}=e,o=Ut(qt,n),[s,c]=l.useState(r),d=l.useRef(null),f=lt(t,d),p=l.useRef(0),m=p.current,h=l.useRef(0),g=h.current,_=o.open||s,v=l.useRef(_),y=l.useRef(void 0);return l.useEffect(()=>{let e=requestAnimationFrame(()=>v.current=!1);return()=>cancelAnimationFrame(e)},[]),vt(()=>{let e=d.current;if(e){y.current=y.current||{transitionDuration:e.style.transitionDuration,animationName:e.style.animationName},e.style.transitionDuration=`0s`,e.style.animationName=`none`;let t=e.getBoundingClientRect();p.current=t.height,h.current=t.width,v.current||(e.style.transitionDuration=y.current.transitionDuration,e.style.animationName=y.current.animationName),c(r)}},[o.open,r]),(0,u.jsx)(kt.div,{"data-state":Xt(o.open),"data-disabled":o.disabled?``:void 0,id:o.contentId,hidden:!_,...a,ref:f,style:{"--radix-collapsible-content-height":m?`${m}px`:void 0,"--radix-collapsible-content-width":g?`${g}px`:void 0,...e.style},children:_&&i})});function Xt(e){return e?`open`:`closed`}var Zt=Wt,Qt=Kt,$t=Jt,en=l.createContext(void 0);function tn(e){let t=l.useContext(en);return e||t||`ltr`}var nn=`Accordion`,rn=[`Home`,`End`,`ArrowDown`,`ArrowUp`,`ArrowLeft`,`ArrowRight`],[an,on,sn]=gt(nn),[cn,ln]=at(nn,[sn,Vt]),un=Vt(),dn=l.default.forwardRef((e,t)=>{let{type:n,...r}=e,i=r,a=r;return(0,u.jsx)(an.Provider,{scope:e.__scopeAccordion,children:n===`multiple`?(0,u.jsx)(_n,{...a,ref:t}):(0,u.jsx)(gn,{...i,ref:t})})});dn.displayName=nn;var[fn,pn]=cn(nn),[mn,hn]=cn(nn,{collapsible:!1}),gn=l.default.forwardRef((e,t)=>{let{value:n,defaultValue:r,onValueChange:i=()=>{},collapsible:a=!1,...o}=e,[s,c]=bt({prop:n,defaultProp:r??``,onChange:i,caller:nn});return(0,u.jsx)(fn,{scope:e.__scopeAccordion,value:l.default.useMemo(()=>s?[s]:[],[s]),onItemOpen:c,onItemClose:l.default.useCallback(()=>a&&c(``),[a,c]),children:(0,u.jsx)(mn,{scope:e.__scopeAccordion,collapsible:a,children:(0,u.jsx)(bn,{...o,ref:t})})})}),_n=l.default.forwardRef((e,t)=>{let{value:n,defaultValue:r,onValueChange:i=()=>{},...a}=e,[o,s]=bt({prop:n,defaultProp:r??[],onChange:i,caller:nn}),c=l.default.useCallback(e=>s((t=[])=>[...t,e]),[s]),d=l.default.useCallback(e=>s((t=[])=>t.filter(t=>t!==e)),[s]);return(0,u.jsx)(fn,{scope:e.__scopeAccordion,value:o,onItemOpen:c,onItemClose:d,children:(0,u.jsx)(mn,{scope:e.__scopeAccordion,collapsible:!0,children:(0,u.jsx)(bn,{...a,ref:t})})})}),[vn,yn]=cn(nn),bn=l.default.forwardRef((e,t)=>{let{__scopeAccordion:n,disabled:r,dir:i,orientation:a=`vertical`,...o}=e,s=lt(l.default.useRef(null),t),c=on(n),d=tn(i)===`ltr`,f=_t(e.onKeyDown,e=>{if(!rn.includes(e.key))return;let t=e.target,n=c().filter(e=>!e.ref.current?.disabled),r=n.findIndex(e=>e.ref.current===t),i=n.length;if(r===-1)return;e.preventDefault();let o=r,s=i-1,l=()=>{o=r+1,o>s&&(o=0)},u=()=>{o=r-1,o<0&&(o=s)};switch(e.key){case`Home`:o=0;break;case`End`:o=s;break;case`ArrowRight`:a===`horizontal`&&(d?l():u());break;case`ArrowDown`:a===`vertical`&&l();break;case`ArrowLeft`:a===`horizontal`&&(d?u():l());break;case`ArrowUp`:a===`vertical`&&u();break}n[o%i].ref.current?.focus()});return(0,u.jsx)(vn,{scope:n,disabled:r,direction:i,orientation:a,children:(0,u.jsx)(an.Slot,{scope:n,children:(0,u.jsx)(kt.div,{...o,"data-orientation":a,ref:s,onKeyDown:r?void 0:f})})})}),xn=`AccordionItem`,[Sn,Cn]=cn(xn),wn=l.default.forwardRef((e,t)=>{let{__scopeAccordion:n,value:r,...i}=e,a=yn(xn,n),o=pn(xn,n),s=un(n),c=Rt(),l=r&&o.value.includes(r)||!1,d=a.disabled||e.disabled;return(0,u.jsx)(Sn,{scope:n,open:l,disabled:d,triggerId:c,children:(0,u.jsx)(Zt,{"data-orientation":a.orientation,"data-state":jn(l),...s,...i,ref:t,disabled:d,open:l,onOpenChange:e=>{e?o.onItemOpen(r):o.onItemClose(r)}})})});wn.displayName=xn;var Tn=`AccordionHeader`,En=l.default.forwardRef((e,t)=>{let{__scopeAccordion:n,...r}=e,i=yn(nn,n),a=Cn(Tn,n);return(0,u.jsx)(kt.h3,{"data-orientation":i.orientation,"data-state":jn(a.open),"data-disabled":a.disabled?``:void 0,...r,ref:t})});En.displayName=Tn;var Dn=`AccordionTrigger`,On=l.default.forwardRef((e,t)=>{let{__scopeAccordion:n,...r}=e,i=yn(nn,n),a=Cn(Dn,n),o=hn(Dn,n),s=un(n);return(0,u.jsx)(an.ItemSlot,{scope:n,children:(0,u.jsx)(Qt,{"aria-disabled":a.open&&!o.collapsible||void 0,"data-orientation":i.orientation,id:a.triggerId,...s,...r,ref:t})})});On.displayName=Dn;var kn=`AccordionContent`,An=l.default.forwardRef((e,t)=>{let{__scopeAccordion:n,...r}=e,i=yn(nn,n),a=Cn(kn,n),o=un(n);return(0,u.jsx)($t,{role:`region`,"aria-labelledby":a.triggerId,"data-orientation":i.orientation,...o,...r,ref:t,style:{"--radix-accordion-content-height":`var(--radix-collapsible-content-height)`,"--radix-accordion-content-width":`var(--radix-collapsible-content-width)`,...e.style}})});An.displayName=kn;function jn(e){return e?`open`:`closed`}var Mn=dn,Nn=wn,Pn=En,Fn=On,In=An,Ln=({items:e,multiple:t=!1,defaultValue:n,value:r,onChange:i,className:a})=>{let o={className:V(`vi-accordion-container`,a)};return t?(0,u.jsx)(Mn,{...o,type:`multiple`,defaultValue:n,value:r,onValueChange:i,children:e.map(e=>(0,u.jsx)(Rn,{item:e},e.value))}):(0,u.jsx)(Mn,{...o,type:`single`,collapsible:!0,defaultValue:n,value:r,onValueChange:i,children:e.map(e=>(0,u.jsx)(Rn,{item:e},e.value))})},Rn=({item:e})=>(0,u.jsxs)(Nn,{value:e.value,disabled:e.disabled,className:`vi-accordion-item`,children:[(0,u.jsx)(Pn,{children:(0,u.jsxs)(Fn,{className:`vi-accordion-trigger`,children:[(0,u.jsx)(`span`,{children:e.title}),(0,u.jsx)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,width:`16`,height:`16`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":`true`,children:(0,u.jsx)(`path`,{d:`m6 9 6 6 6-6`})})]})}),(0,u.jsx)(In,{className:`vi-accordion-content-wrapper`,children:(0,u.jsx)(`div`,{className:`vi-accordion-content`,children:e.content})})]});Ln.displayName=`Accordion`;var zn={default:`vi-badge-default`,secondary:`vi-badge-secondary`,destructive:`vi-badge-destructive`,outline:`vi-badge-outline`},Bn={sm:`vi-badge-sm`,default:!1,lg:`vi-badge-lg`},Vn=({variant:e=`default`,size:t=`default`,className:n,children:r,...i})=>(0,u.jsx)(`span`,{className:V(`vi-badge`,zn[e],Bn[t],n),...i,children:r});Vn.displayName=`Badge`;var Hn=Symbol.for(`react.lazy`),Un=l.use;function Wn(e){return typeof e==`object`&&!!e&&`then`in e}function Gn(e){return typeof e==`object`&&!!e&&`$$typeof`in e&&e.$$typeof===Hn&&`_payload`in e&&Wn(e._payload)}function Kn(e){let t=Jn(e),n=l.forwardRef((e,n)=>{let{children:r,...i}=e;Gn(r)&&typeof Un==`function`&&(r=Un(r._payload));let a=l.Children.toArray(r),o=a.find(Xn);if(o){let e=o.props.children,r=a.map(t=>t===o?l.Children.count(e)>1?l.Children.only(null):l.isValidElement(e)?e.props.children:null:t);return(0,u.jsx)(t,{...i,ref:n,children:l.isValidElement(e)?l.cloneElement(e,void 0,r):null})}return(0,u.jsx)(t,{...i,ref:n,children:r})});return n.displayName=`${e}.Slot`,n}var qn=Kn(`Slot`);function Jn(e){let t=l.forwardRef((e,t)=>{let{children:n,...r}=e;if(Gn(n)&&typeof Un==`function`&&(n=Un(n._payload)),l.isValidElement(n)){let e=Qn(n),i=Zn(r,n.props);return n.type!==l.Fragment&&(i.ref=t?ct(t,e):e),l.cloneElement(n,i)}return l.Children.count(n)>1?l.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var Yn=Symbol(`radix.slottable`);function Xn(e){return l.isValidElement(e)&&typeof e.type==`function`&&`__radixId`in e.type&&e.type.__radixId===Yn}function Zn(e,t){let n={...t};for(let r in t){let i=e[r],a=t[r];/^on[A-Z]/.test(r)?i&&a?n[r]=(...e)=>{let t=a(...e);return i(...e),t}:i&&(n[r]=i):r===`style`?n[r]={...i,...a}:r===`className`&&(n[r]=[i,a].filter(Boolean).join(` `))}return{...e,...n}}function Qn(e){let t=Object.getOwnPropertyDescriptor(e.props,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var $n=e=>typeof e==`boolean`?`${e}`:e===0?`0`:e,er=p,tr=((e,t)=>n=>{if(t?.variants==null)return er(e,n?.class,n?.className);let{variants:r,defaultVariants:i}=t,a=Object.keys(r).map(e=>{let t=n?.[e],a=i?.[e];if(t===null)return null;let o=$n(t)||$n(a);return r[e][o]}),o=n&&Object.entries(n).reduce((e,t)=>{let[n,r]=t;return r===void 0||(e[n]=r),e},{});return er(e,a,t?.compoundVariants?.reduce((e,t)=>{let{class:n,className:r,...a}=t;return Object.entries(a).every(e=>{let[t,n]=e;return Array.isArray(n)?n.includes({...i,...o}[t]):{...i,...o}[t]===n})?[...e,n,r]:e},[]),n?.class,n?.className)})(`vi-btn`,{variants:{variant:{default:`vi-btn-variant-default`,destructive:`vi-btn-variant-destructive`,outline:`vi-btn-variant-outline`,secondary:`vi-btn-variant-secondary`,ghost:`vi-btn-variant-ghost`,link:`vi-btn-variant-link`},size:{default:`vi-btn-size-default`,sm:`vi-btn-size-sm`,lg:`vi-btn-size-lg`,icon:`vi-btn-size-icon`}},defaultVariants:{variant:`default`,size:`default`}}),nr=(0,l.forwardRef)(({className:e,variant:t,size:n,asChild:r=!1,type:i=`button`,...a},o)=>(0,u.jsx)(r?qn:`button`,{type:i,className:V(tr({variant:t,size:n,className:e})),ref:o,...a}));nr.displayName=`Button`;var rr=(0,l.forwardRef)(({className:e,...t},n)=>(0,u.jsx)(`div`,{ref:n,className:V(`vi-card`,e),...t}));rr.displayName=`Card`;var ir=(0,l.forwardRef)(({className:e,src:t,alt:n,...r},i)=>(0,u.jsx)(`img`,{ref:i,src:t,alt:n,className:V(`vi-card-image`,e),...r}));ir.displayName=`CardImage`;var ar=(0,l.forwardRef)(({className:e,...t},n)=>(0,u.jsx)(`div`,{ref:n,className:V(`vi-card-title`,e),...t}));ar.displayName=`CardTitle`;var or=(0,l.forwardRef)(({className:e,...t},n)=>(0,u.jsx)(`div`,{ref:n,className:V(`vi-card-description`,e),...t}));or.displayName=`CardDescription`;var sr=(0,l.forwardRef)(({className:e,...t},n)=>(0,u.jsx)(`div`,{ref:n,className:V(`vi-card-content`,e),...t}));sr.displayName=`CardContent`;var cr=(0,l.forwardRef)(({className:e,...t},n)=>(0,u.jsx)(`div`,{ref:n,className:V(`vi-card-wrapper`,e),...t}));cr.displayName=`CardWrapper`;var lr=(0,l.forwardRef)(({label:e,size:t=`default`,indeterminate:n,className:r,id:i,disabled:a,...o},s)=>{let c=(0,l.useId)(),d=i??c,f=(0,l.useRef)(null);return(0,l.useImperativeHandle)(s,()=>f.current,[]),(0,l.useEffect)(()=>{f.current&&(f.current.indeterminate=n??!1)},[n]),(0,u.jsxs)(`label`,{htmlFor:d,className:V(`vi-checkbox-item`,t!==`default`&&`vi-checkbox-item-${t}`,r),children:[(0,u.jsx)(`input`,{ref:f,id:d,type:`checkbox`,disabled:a,className:`vi-checkbox-input`,...o}),(0,u.jsx)(`span`,{className:`vi-checkbox-indicator`}),e&&(0,u.jsx)(`span`,{className:`vi-checkbox-label`,children:e})]})});lr.displayName=`Checkbox`;var ur=(0,l.forwardRef)(({options:e,value:t,defaultValue:n=[],onChange:r,label:i,description:a,disabled:o,direction:s=`vertical`,size:c=`default`,className:d},f)=>{let p=(0,l.useId)(),m=t!==void 0,[h,g]=(0,l.useState)(n),_=m?t:h,v=(e,t)=>{let n=t?[..._,e]:_.filter(t=>t!==e);m||g(n),r?.(n)};return(0,u.jsxs)(`div`,{ref:f,role:`group`,"aria-labelledby":i?`${p}-label`:void 0,className:V(`vi-checkbox-root`,d),children:[i&&(0,u.jsx)(`span`,{id:`${p}-label`,className:`vi-checkbox-legend`,children:i}),(0,u.jsx)(`div`,{className:V(`vi-checkbox-options`,s===`horizontal`&&`vi-checkbox-options-horizontal`),children:e.map(e=>{let t=`${p}-opt-${e.value}`,n=o||e.disabled;return(0,u.jsxs)(`label`,{htmlFor:t,className:V(`vi-checkbox-item`,c!==`default`&&`vi-checkbox-item-${c}`),children:[(0,u.jsx)(`input`,{id:t,type:`checkbox`,value:e.value,disabled:n,className:`vi-checkbox-input`,checked:_.includes(e.value),onChange:t=>v(e.value,t.target.checked)}),(0,u.jsx)(`span`,{className:`vi-checkbox-indicator`}),(0,u.jsx)(`span`,{className:`vi-checkbox-label`,children:e.label})]},e.value)})}),a&&(0,u.jsx)(`p`,{className:`vi-checkbox-description`,children:a})]})});ur.displayName=`CheckboxGroup`;function dr(e){let t=l.useRef(e);return l.useEffect(()=>{t.current=e}),l.useMemo(()=>(...e)=>t.current?.(...e),[])}function fr(e,t=globalThis?.document){let n=dr(e);l.useEffect(()=>{let e=e=>{e.key===`Escape`&&n(e)};return t.addEventListener(`keydown`,e,{capture:!0}),()=>t.removeEventListener(`keydown`,e,{capture:!0})},[n,t])}var pr=`DismissableLayer`,mr=`dismissableLayer.update`,hr=`dismissableLayer.pointerDownOutside`,gr=`dismissableLayer.focusOutside`,_r,vr=l.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),yr=l.forwardRef((e,t)=>{let{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:i,onFocusOutside:a,onInteractOutside:o,onDismiss:s,...c}=e,d=l.useContext(vr),[f,p]=l.useState(null),m=f?.ownerDocument??globalThis?.document,[,h]=l.useState({}),g=lt(t,e=>p(e)),_=Array.from(d.layers),[v]=[...d.layersWithOutsidePointerEventsDisabled].slice(-1),y=_.indexOf(v),b=f?_.indexOf(f):-1,x=d.layersWithOutsidePointerEventsDisabled.size>0,S=b>=y,C=Sr(e=>{let t=e.target,n=[...d.branches].some(e=>e.contains(t));!S||n||(i?.(e),o?.(e),e.defaultPrevented||s?.())},m),w=Cr(e=>{let t=e.target;[...d.branches].some(e=>e.contains(t))||(a?.(e),o?.(e),e.defaultPrevented||s?.())},m);return fr(e=>{b===d.layers.size-1&&(r?.(e),!e.defaultPrevented&&s&&(e.preventDefault(),s()))},m),l.useEffect(()=>{if(f)return n&&(d.layersWithOutsidePointerEventsDisabled.size===0&&(_r=m.body.style.pointerEvents,m.body.style.pointerEvents=`none`),d.layersWithOutsidePointerEventsDisabled.add(f)),d.layers.add(f),wr(),()=>{n&&d.layersWithOutsidePointerEventsDisabled.size===1&&(m.body.style.pointerEvents=_r)}},[f,m,n,d]),l.useEffect(()=>()=>{f&&(d.layers.delete(f),d.layersWithOutsidePointerEventsDisabled.delete(f),wr())},[f,d]),l.useEffect(()=>{let e=()=>h({});return document.addEventListener(mr,e),()=>document.removeEventListener(mr,e)},[]),(0,u.jsx)(kt.div,{...c,ref:g,style:{pointerEvents:x?S?`auto`:`none`:void 0,...e.style},onFocusCapture:_t(e.onFocusCapture,w.onFocusCapture),onBlurCapture:_t(e.onBlurCapture,w.onBlurCapture),onPointerDownCapture:_t(e.onPointerDownCapture,C.onPointerDownCapture)})});yr.displayName=pr;var br=`DismissableLayerBranch`,xr=l.forwardRef((e,t)=>{let n=l.useContext(vr),r=l.useRef(null),i=lt(t,r);return l.useEffect(()=>{let e=r.current;if(e)return n.branches.add(e),()=>{n.branches.delete(e)}},[n.branches]),(0,u.jsx)(kt.div,{...e,ref:i})});xr.displayName=br;function Sr(e,t=globalThis?.document){let n=dr(e),r=l.useRef(!1),i=l.useRef(()=>{});return l.useEffect(()=>{let e=e=>{if(e.target&&!r.current){let r=function(){Tr(hr,n,a,{discrete:!0})},a={originalEvent:e};e.pointerType===`touch`?(t.removeEventListener(`click`,i.current),i.current=r,t.addEventListener(`click`,i.current,{once:!0})):r()}else t.removeEventListener(`click`,i.current);r.current=!1},a=window.setTimeout(()=>{t.addEventListener(`pointerdown`,e)},0);return()=>{window.clearTimeout(a),t.removeEventListener(`pointerdown`,e),t.removeEventListener(`click`,i.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function Cr(e,t=globalThis?.document){let n=dr(e),r=l.useRef(!1);return l.useEffect(()=>{let e=e=>{e.target&&!r.current&&Tr(gr,n,{originalEvent:e},{discrete:!1})};return t.addEventListener(`focusin`,e),()=>t.removeEventListener(`focusin`,e)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function wr(){let e=new CustomEvent(mr);document.dispatchEvent(e)}function Tr(e,t,n,{discrete:r}){let i=n.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?At(i,a):i.dispatchEvent(a)}var Er=`focusScope.autoFocusOnMount`,Dr=`focusScope.autoFocusOnUnmount`,Or={bubbles:!1,cancelable:!0},kr=`FocusScope`,Ar=l.forwardRef((e,t)=>{let{loop:n=!1,trapped:r=!1,onMountAutoFocus:i,onUnmountAutoFocus:a,...o}=e,[s,c]=l.useState(null),d=dr(i),f=dr(a),p=l.useRef(null),m=lt(t,e=>c(e)),h=l.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;l.useEffect(()=>{if(r){let e=function(e){if(h.paused||!s)return;let t=e.target;s.contains(t)?p.current=t:Lr(p.current,{select:!0})},t=function(e){if(h.paused||!s)return;let t=e.relatedTarget;t!==null&&(s.contains(t)||Lr(p.current,{select:!0}))},n=function(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&Lr(s)};document.addEventListener(`focusin`,e),document.addEventListener(`focusout`,t);let r=new MutationObserver(n);return s&&r.observe(s,{childList:!0,subtree:!0}),()=>{document.removeEventListener(`focusin`,e),document.removeEventListener(`focusout`,t),r.disconnect()}}},[r,s,h.paused]),l.useEffect(()=>{if(s){Rr.add(h);let e=document.activeElement;if(!s.contains(e)){let t=new CustomEvent(Er,Or);s.addEventListener(Er,d),s.dispatchEvent(t),t.defaultPrevented||(jr(Vr(Nr(s)),{select:!0}),document.activeElement===e&&Lr(s))}return()=>{s.removeEventListener(Er,d),setTimeout(()=>{let t=new CustomEvent(Dr,Or);s.addEventListener(Dr,f),s.dispatchEvent(t),t.defaultPrevented||Lr(e??document.body,{select:!0}),s.removeEventListener(Dr,f),Rr.remove(h)},0)}}},[s,d,f,h]);let g=l.useCallback(e=>{if(!n&&!r||h.paused)return;let t=e.key===`Tab`&&!e.altKey&&!e.ctrlKey&&!e.metaKey,i=document.activeElement;if(t&&i){let t=e.currentTarget,[r,a]=Mr(t);r&&a?!e.shiftKey&&i===a?(e.preventDefault(),n&&Lr(r,{select:!0})):e.shiftKey&&i===r&&(e.preventDefault(),n&&Lr(a,{select:!0})):i===t&&e.preventDefault()}},[n,r,h.paused]);return(0,u.jsx)(kt.div,{tabIndex:-1,...o,ref:m,onKeyDown:g})});Ar.displayName=kr;function jr(e,{select:t=!1}={}){let n=document.activeElement;for(let r of e)if(Lr(r,{select:t}),document.activeElement!==n)return}function Mr(e){let t=Nr(e);return[Pr(t,e),Pr(t.reverse(),e)]}function Nr(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t=e.tagName===`INPUT`&&e.type===`hidden`;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function Pr(e,t){for(let n of e)if(!Fr(n,{upTo:t}))return n}function Fr(e,{upTo:t}){if(getComputedStyle(e).visibility===`hidden`)return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display===`none`)return!0;e=e.parentElement}return!1}function Ir(e){return e instanceof HTMLInputElement&&`select`in e}function Lr(e,{select:t=!1}={}){if(e&&e.focus){let n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&Ir(e)&&t&&e.select()}}var Rr=zr();function zr(){let e=[];return{add(t){let n=e[0];t!==n&&n?.pause(),e=Br(e,t),e.unshift(t)},remove(t){e=Br(e,t),e[0]?.resume()}}}function Br(e,t){let n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function Vr(e){return e.filter(e=>e.tagName!==`A`)}var Hr=`Portal`,Ur=l.forwardRef((e,t)=>{let{container:n,...r}=e,[i,a]=l.useState(!1);vt(()=>a(!0),[]);let o=n||i&&globalThis?.document?.body;return o?d.default.createPortal((0,u.jsx)(kt.div,{...r,ref:t}),o):null});Ur.displayName=Hr;var Wr=0;function Gr(){l.useEffect(()=>{let e=document.querySelectorAll(`[data-radix-focus-guard]`);return document.body.insertAdjacentElement(`afterbegin`,e[0]??Kr()),document.body.insertAdjacentElement(`beforeend`,e[1]??Kr()),Wr++,()=>{Wr===1&&document.querySelectorAll(`[data-radix-focus-guard]`).forEach(e=>e.remove()),Wr--}},[])}function Kr(){let e=document.createElement(`span`);return e.setAttribute(`data-radix-focus-guard`,``),e.tabIndex=0,e.style.outline=`none`,e.style.opacity=`0`,e.style.position=`fixed`,e.style.pointerEvents=`none`,e}var qr=function(){return qr=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},qr.apply(this,arguments)};function Jr(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols==`function`)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}function Yr(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,a;r<i;r++)(a||!(r in t))&&(a||=Array.prototype.slice.call(t,0,r),a[r]=t[r]);return e.concat(a||Array.prototype.slice.call(t))}var Xr=`right-scroll-bar-position`,Zr=`width-before-scroll-bar`,Qr=`with-scroll-bars-hidden`,$r=`--removed-body-scroll-bar-size`;function ei(e,t){return typeof e==`function`?e(t):e&&(e.current=t),e}function ti(e,t){var n=(0,c.useState)(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(e){var t=n.value;t!==e&&(n.value=e,n.callback(e,t))}}}})[0];return n.callback=t,n.facade}var ni=typeof window<`u`?c.useLayoutEffect:c.useEffect,ri=new WeakMap;function ii(e,t){var n=ti(t||null,function(t){return e.forEach(function(e){return ei(e,t)})});return ni(function(){var t=ri.get(n);if(t){var r=new Set(t),i=new Set(e),a=n.current;r.forEach(function(e){i.has(e)||ei(e,null)}),i.forEach(function(e){r.has(e)||ei(e,a)})}ri.set(n,e)},[e]),n}function ai(e){return e}function oi(e,t){t===void 0&&(t=ai);var n=[],r=!1;return{read:function(){if(r)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(e){var i=t(e,r);return n.push(i),function(){n=n.filter(function(e){return e!==i})}},assignSyncMedium:function(e){for(r=!0;n.length;){var t=n;n=[],t.forEach(e)}n={push:function(t){return e(t)},filter:function(){return n}}},assignMedium:function(e){r=!0;var t=[];if(n.length){var i=n;n=[],i.forEach(e),t=n}var a=function(){var n=t;t=[],n.forEach(e)},o=function(){return Promise.resolve().then(a)};o(),n={push:function(e){t.push(e),o()},filter:function(e){return t=t.filter(e),n}}}}}function si(e){e===void 0&&(e={});var t=oi(null);return t.options=qr({async:!0,ssr:!1},e),t}var ci=function(e){var t=e.sideCar,n=Jr(e,[`sideCar`]);if(!t)throw Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw Error(`Sidecar medium not found`);return c.createElement(r,qr({},n))};ci.isSideCarExport=!0;function li(e,t){return e.useMedium(t),ci}var ui=si(),di=function(){},fi=c.forwardRef(function(e,t){var n=c.useRef(null),r=c.useState({onScrollCapture:di,onWheelCapture:di,onTouchMoveCapture:di}),i=r[0],a=r[1],o=e.forwardProps,s=e.children,l=e.className,u=e.removeScrollBar,d=e.enabled,f=e.shards,p=e.sideCar,m=e.noRelative,h=e.noIsolation,g=e.inert,_=e.allowPinchZoom,v=e.as,y=v===void 0?`div`:v,b=e.gapMode,x=Jr(e,[`forwardProps`,`children`,`className`,`removeScrollBar`,`enabled`,`shards`,`sideCar`,`noRelative`,`noIsolation`,`inert`,`allowPinchZoom`,`as`,`gapMode`]),S=p,C=ii([n,t]),w=qr(qr({},x),i);return c.createElement(c.Fragment,null,d&&c.createElement(S,{sideCar:ui,removeScrollBar:u,shards:f,noRelative:m,noIsolation:h,inert:g,setCallbacks:a,allowPinchZoom:!!_,lockRef:n,gapMode:b}),o?c.cloneElement(c.Children.only(s),qr(qr({},w),{ref:C})):c.createElement(y,qr({},w,{className:l,ref:C}),s))});fi.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},fi.classNames={fullWidth:Zr,zeroRight:Xr};var pi,mi=function(){if(pi)return pi;if(typeof __webpack_nonce__<`u`)return __webpack_nonce__};function hi(){if(!document)return null;var e=document.createElement(`style`);e.type=`text/css`;var t=mi();return t&&e.setAttribute(`nonce`,t),e}function gi(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function _i(e){(document.head||document.getElementsByTagName(`head`)[0]).appendChild(e)}var vi=function(){var e=0,t=null;return{add:function(n){e==0&&(t=hi())&&(gi(t,n),_i(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},yi=function(){var e=vi();return function(t,n){c.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},bi=function(){var e=yi();return function(t){var n=t.styles,r=t.dynamic;return e(n,r),null}},xi={left:0,top:0,right:0,gap:0},Si=function(e){return parseInt(e||``,10)||0},Ci=function(e){var t=window.getComputedStyle(document.body),n=t[e===`padding`?`paddingLeft`:`marginLeft`],r=t[e===`padding`?`paddingTop`:`marginTop`],i=t[e===`padding`?`paddingRight`:`marginRight`];return[Si(n),Si(r),Si(i)]},wi=function(e){if(e===void 0&&(e=`margin`),typeof window>`u`)return xi;var t=Ci(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},Ti=bi(),Ei=`data-scroll-locked`,Di=function(e,t,n,r){var i=e.left,a=e.top,o=e.right,s=e.gap;return n===void 0&&(n=`margin`),`
2
+ .${Qr} {
3
3
  overflow: hidden ${r};
4
4
  padding-right: ${s}px ${r};
5
5
  }
6
- body[${Di}] {
6
+ body[${Ei}] {
7
7
  overflow: hidden ${r};
8
8
  overscroll-behavior: contain;
9
9
  ${[t&&`position: relative ${r};`,n===`margin`&&`
@@ -16,31 +16,31 @@ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});var e=Object.
16
16
  `,n===`padding`&&`padding-right: ${s}px ${r};`].filter(Boolean).join(``)}
17
17
  }
18
18
 
19
- .${Zr} {
19
+ .${Xr} {
20
20
  right: ${s}px ${r};
21
21
  }
22
22
 
23
- .${Qr} {
23
+ .${Zr} {
24
24
  margin-right: ${s}px ${r};
25
25
  }
26
26
 
27
- .${Zr} .${Zr} {
27
+ .${Xr} .${Xr} {
28
28
  right: 0 ${r};
29
29
  }
30
30
 
31
- .${Qr} .${Qr} {
31
+ .${Zr} .${Zr} {
32
32
  margin-right: 0 ${r};
33
33
  }
34
34
 
35
- body[${Di}] {
36
- ${ei}: ${s}px;
35
+ body[${Ei}] {
36
+ ${$r}: ${s}px;
37
37
  }
38
- `},ki=function(){var e=parseInt(document.body.getAttribute(`data-scroll-locked`)||`0`,10);return isFinite(e)?e:0},Ai=function(){c.useEffect(function(){return document.body.setAttribute(Di,(ki()+1).toString()),function(){var e=ki()-1;e<=0?document.body.removeAttribute(Di):document.body.setAttribute(Di,e.toString())}},[])},ji=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,i=r===void 0?`margin`:r;Ai();var a=c.useMemo(function(){return Ti(i)},[i]);return c.createElement(Ei,{styles:Oi(a,!t,i,n?``:`!important`)})},Mi=!1;if(typeof window<`u`)try{var Ni=Object.defineProperty({},`passive`,{get:function(){return Mi=!0,!0}});window.addEventListener(`test`,Ni,Ni),window.removeEventListener(`test`,Ni,Ni)}catch{Mi=!1}var Pi=Mi?{passive:!1}:!1,Fi=function(e){return e.tagName===`TEXTAREA`},Ii=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return n[t]!==`hidden`&&!(n.overflowY===n.overflowX&&!Fi(e)&&n[t]===`visible`)},Li=function(e){return Ii(e,`overflowY`)},Ri=function(e){return Ii(e,`overflowX`)},zi=function(e,t){var n=t.ownerDocument,r=t;do{if(typeof ShadowRoot<`u`&&r instanceof ShadowRoot&&(r=r.host),Hi(e,r)){var i=Ui(e,r);if(i[1]>i[2])return!0}r=r.parentNode}while(r&&r!==n.body);return!1},Bi=function(e){return[e.scrollTop,e.scrollHeight,e.clientHeight]},Vi=function(e){return[e.scrollLeft,e.scrollWidth,e.clientWidth]},Hi=function(e,t){return e===`v`?Li(t):Ri(t)},Ui=function(e,t){return e===`v`?Bi(t):Vi(t)},Wi=function(e,t){return e===`h`&&t===`rtl`?-1:1},Gi=function(e,t,n,r,i){var a=Wi(e,window.getComputedStyle(t).direction),o=a*r,s=n.target,c=t.contains(s),l=!1,u=o>0,d=0,f=0;do{if(!s)break;var p=Ui(e,s),m=p[0],h=p[1]-p[2]-a*m;(m||h)&&Hi(e,s)&&(d+=h,f+=m);var g=s.parentNode;s=g&&g.nodeType===Node.DOCUMENT_FRAGMENT_NODE?g.host:g}while(!c&&s!==document.body||c&&(t.contains(s)||t===s));return(u&&(i&&Math.abs(d)<1||!i&&o>d)||!u&&(i&&Math.abs(f)<1||!i&&-o>f))&&(l=!0),l},Ki=function(e){return`changedTouches`in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},qi=function(e){return[e.deltaX,e.deltaY]},Ji=function(e){return e&&`current`in e?e.current:e},Yi=function(e,t){return e[0]===t[0]&&e[1]===t[1]},Xi=function(e){return`
38
+ `},Oi=function(){var e=parseInt(document.body.getAttribute(`data-scroll-locked`)||`0`,10);return isFinite(e)?e:0},ki=function(){c.useEffect(function(){return document.body.setAttribute(Ei,(Oi()+1).toString()),function(){var e=Oi()-1;e<=0?document.body.removeAttribute(Ei):document.body.setAttribute(Ei,e.toString())}},[])},Ai=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,i=r===void 0?`margin`:r;ki();var a=c.useMemo(function(){return wi(i)},[i]);return c.createElement(Ti,{styles:Di(a,!t,i,n?``:`!important`)})},ji=!1;if(typeof window<`u`)try{var Mi=Object.defineProperty({},`passive`,{get:function(){return ji=!0,!0}});window.addEventListener(`test`,Mi,Mi),window.removeEventListener(`test`,Mi,Mi)}catch{ji=!1}var Ni=ji?{passive:!1}:!1,Pi=function(e){return e.tagName===`TEXTAREA`},Fi=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return n[t]!==`hidden`&&!(n.overflowY===n.overflowX&&!Pi(e)&&n[t]===`visible`)},Ii=function(e){return Fi(e,`overflowY`)},Li=function(e){return Fi(e,`overflowX`)},Ri=function(e,t){var n=t.ownerDocument,r=t;do{if(typeof ShadowRoot<`u`&&r instanceof ShadowRoot&&(r=r.host),Vi(e,r)){var i=Hi(e,r);if(i[1]>i[2])return!0}r=r.parentNode}while(r&&r!==n.body);return!1},zi=function(e){return[e.scrollTop,e.scrollHeight,e.clientHeight]},Bi=function(e){return[e.scrollLeft,e.scrollWidth,e.clientWidth]},Vi=function(e,t){return e===`v`?Ii(t):Li(t)},Hi=function(e,t){return e===`v`?zi(t):Bi(t)},Ui=function(e,t){return e===`h`&&t===`rtl`?-1:1},Wi=function(e,t,n,r,i){var a=Ui(e,window.getComputedStyle(t).direction),o=a*r,s=n.target,c=t.contains(s),l=!1,u=o>0,d=0,f=0;do{if(!s)break;var p=Hi(e,s),m=p[0],h=p[1]-p[2]-a*m;(m||h)&&Vi(e,s)&&(d+=h,f+=m);var g=s.parentNode;s=g&&g.nodeType===Node.DOCUMENT_FRAGMENT_NODE?g.host:g}while(!c&&s!==document.body||c&&(t.contains(s)||t===s));return(u&&(i&&Math.abs(d)<1||!i&&o>d)||!u&&(i&&Math.abs(f)<1||!i&&-o>f))&&(l=!0),l},Gi=function(e){return`changedTouches`in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Ki=function(e){return[e.deltaX,e.deltaY]},qi=function(e){return e&&`current`in e?e.current:e},Ji=function(e,t){return e[0]===t[0]&&e[1]===t[1]},Yi=function(e){return`
39
39
  .block-interactivity-${e} {pointer-events: none;}
40
40
  .allow-interactivity-${e} {pointer-events: all;}
41
- `},Zi=0,Qi=[];function $i(e){var t=c.useRef([]),n=c.useRef([0,0]),r=c.useRef(),i=c.useState(Zi++)[0],a=c.useState(xi)[0],o=c.useRef(e);c.useEffect(function(){o.current=e},[e]),c.useEffect(function(){if(e.inert){document.body.classList.add(`block-interactivity-${i}`);var t=Xr([e.lockRef.current],(e.shards||[]).map(Ji),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add(`allow-interactivity-${i}`)}),function(){document.body.classList.remove(`block-interactivity-${i}`),t.forEach(function(e){return e.classList.remove(`allow-interactivity-${i}`)})}}},[e.inert,e.lockRef.current,e.shards]);var s=c.useCallback(function(e,t){if(`touches`in e&&e.touches.length===2||e.type===`wheel`&&e.ctrlKey)return!o.current.allowPinchZoom;var i=Ki(e),a=n.current,s=`deltaX`in e?e.deltaX:a[0]-i[0],c=`deltaY`in e?e.deltaY:a[1]-i[1],l,u=e.target,d=Math.abs(s)>Math.abs(c)?`h`:`v`;if(`touches`in e&&d===`h`&&u.type===`range`)return!1;var f=window.getSelection(),p=f&&f.anchorNode;if(p&&(p===u||p.contains(u)))return!1;var m=zi(d,u);if(!m)return!0;if(m?l=d:(l=d===`v`?`h`:`v`,m=zi(d,u)),!m)return!1;if(!r.current&&`changedTouches`in e&&(s||c)&&(r.current=l),!l)return!0;var h=r.current||l;return Gi(h,t,e,h===`h`?s:c,!0)},[]),l=c.useCallback(function(e){var n=e;if(!(!Qi.length||Qi[Qi.length-1]!==a)){var r=`deltaY`in n?qi(n):Ki(n),i=t.current.filter(function(e){return e.name===n.type&&(e.target===n.target||n.target===e.shadowParent)&&Yi(e.delta,r)})[0];if(i&&i.should){n.cancelable&&n.preventDefault();return}if(!i){var c=(o.current.shards||[]).map(Ji).filter(Boolean).filter(function(e){return e.contains(n.target)});(c.length>0?s(n,c[0]):!o.current.noIsolation)&&n.cancelable&&n.preventDefault()}}},[]),u=c.useCallback(function(e,n,r,i){var a={name:e,delta:n,target:r,should:i,shadowParent:ea(r)};t.current.push(a),setTimeout(function(){t.current=t.current.filter(function(e){return e!==a})},1)},[]),d=c.useCallback(function(e){n.current=Ki(e),r.current=void 0},[]),f=c.useCallback(function(t){u(t.type,qi(t),t.target,s(t,e.lockRef.current))},[]),p=c.useCallback(function(t){u(t.type,Ki(t),t.target,s(t,e.lockRef.current))},[]);c.useEffect(function(){return Qi.push(a),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:p}),document.addEventListener(`wheel`,l,Pi),document.addEventListener(`touchmove`,l,Pi),document.addEventListener(`touchstart`,d,Pi),function(){Qi=Qi.filter(function(e){return e!==a}),document.removeEventListener(`wheel`,l,Pi),document.removeEventListener(`touchmove`,l,Pi),document.removeEventListener(`touchstart`,d,Pi)}},[]);var m=e.removeScrollBar,h=e.inert;return c.createElement(c.Fragment,null,h?c.createElement(a,{styles:Xi(i)}):null,m?c.createElement(ji,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function ea(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}var ta=ui(di,$i),na=c.forwardRef(function(e,t){return c.createElement(pi,Jr({},e,{ref:t,sideCar:ta}))});na.classNames=pi.classNames;var ra=function(e){return typeof document>`u`?null:(Array.isArray(e)?e[0]:e).ownerDocument.body},ia=new WeakMap,aa=new WeakMap,oa={},sa=0,ca=function(e){return e&&(e.host||ca(e.parentNode))},la=function(e,t){return t.map(function(t){if(e.contains(t))return t;var n=ca(t);return n&&e.contains(n)?n:(console.error(`aria-hidden`,t,`in not contained inside`,e,`. Doing nothing`),null)}).filter(function(e){return!!e})},ua=function(e,t,n,r){var i=la(t,Array.isArray(e)?e:[e]);oa[n]||(oa[n]=new WeakMap);var a=oa[n],o=[],s=new Set,c=new Set(i),l=function(e){!e||s.has(e)||(s.add(e),l(e.parentNode))};i.forEach(l);var u=function(e){!e||c.has(e)||Array.prototype.forEach.call(e.children,function(e){if(s.has(e))u(e);else try{var t=e.getAttribute(r),i=t!==null&&t!==`false`,c=(ia.get(e)||0)+1,l=(a.get(e)||0)+1;ia.set(e,c),a.set(e,l),o.push(e),c===1&&i&&aa.set(e,!0),l===1&&e.setAttribute(n,`true`),i||e.setAttribute(r,`true`)}catch(t){console.error(`aria-hidden: cannot operate on `,e,t)}})};return u(t),s.clear(),sa++,function(){o.forEach(function(e){var t=ia.get(e)-1,i=a.get(e)-1;ia.set(e,t),a.set(e,i),t||(aa.has(e)||e.removeAttribute(r),aa.delete(e)),i||e.removeAttribute(n)}),sa--,sa||(ia=new WeakMap,ia=new WeakMap,aa=new WeakMap,oa={})}},da=function(e,t,n){n===void 0&&(n=`data-aria-hidden`);var r=Array.from(Array.isArray(e)?e:[e]),i=t||ra(e);return i?(r.push.apply(r,Array.from(i.querySelectorAll(`[aria-live], script`))),ua(r,i,n,`aria-hidden`)):function(){return null}};function fa(e){let t=pa(e),n=l.forwardRef((e,n)=>{let{children:r,...i}=e,a=l.Children.toArray(r),o=a.find(ha);if(o){let e=o.props.children,r=a.map(t=>t===o?l.Children.count(e)>1?l.Children.only(null):l.isValidElement(e)?e.props.children:null:t);return(0,u.jsx)(t,{...i,ref:n,children:l.isValidElement(e)?l.cloneElement(e,void 0,r):null})}return(0,u.jsx)(t,{...i,ref:n,children:r})});return n.displayName=`${e}.Slot`,n}function pa(e){let t=l.forwardRef((e,t)=>{let{children:n,...r}=e;if(l.isValidElement(n)){let e=_a(n),i=ga(r,n.props);return n.type!==l.Fragment&&(i.ref=t?lt(t,e):e),l.cloneElement(n,i)}return l.Children.count(n)>1?l.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var ma=Symbol(`radix.slottable`);function ha(e){return l.isValidElement(e)&&typeof e.type==`function`&&`__radixId`in e.type&&e.type.__radixId===ma}function ga(e,t){let n={...t};for(let r in t){let i=e[r],a=t[r];/^on[A-Z]/.test(r)?i&&a?n[r]=(...e)=>{let t=a(...e);return i(...e),t}:i&&(n[r]=i):r===`style`?n[r]={...i,...a}:r===`className`&&(n[r]=[i,a].filter(Boolean).join(` `))}return{...e,...n}}function _a(e){let t=Object.getOwnPropertyDescriptor(e.props,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var va=`Dialog`,[ya,ba]=ot(va),[xa,Sa]=ya(va),Ca=e=>{let{__scopeDialog:t,children:n,open:r,defaultOpen:i,onOpenChange:a,modal:o=!0}=e,s=l.useRef(null),c=l.useRef(null),[d,f]=xt({prop:r,defaultProp:i??!1,onChange:a,caller:va});return(0,u.jsx)(xa,{scope:t,triggerRef:s,contentRef:c,contentId:zt(),titleId:zt(),descriptionId:zt(),open:d,onOpenChange:f,onOpenToggle:l.useCallback(()=>f(e=>!e),[f]),modal:o,children:n})};Ca.displayName=va;var wa=`DialogTrigger`,Ta=l.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,i=Sa(wa,n),a=ut(t,i.triggerRef);return(0,u.jsx)(At.button,{type:`button`,"aria-haspopup":`dialog`,"aria-expanded":i.open,"aria-controls":i.contentId,"data-state":Ga(i.open),...r,ref:a,onClick:vt(e.onClick,i.onOpenToggle)})});Ta.displayName=wa;var Ea=`DialogPortal`,[Da,Oa]=ya(Ea,{forceMount:void 0}),ka=e=>{let{__scopeDialog:t,forceMount:n,children:r,container:i}=e,a=Sa(Ea,t);return(0,u.jsx)(Da,{scope:t,forceMount:n,children:l.Children.map(r,e=>(0,u.jsx)(Nt,{present:n||a.open,children:(0,u.jsx)(Wr,{asChild:!0,container:i,children:e})}))})};ka.displayName=Ea;var Aa=`DialogOverlay`,ja=l.forwardRef((e,t)=>{let n=Oa(Aa,e.__scopeDialog),{forceMount:r=n.forceMount,...i}=e,a=Sa(Aa,e.__scopeDialog);return a.modal?(0,u.jsx)(Nt,{present:r||a.open,children:(0,u.jsx)(Na,{...i,ref:t})}):null});ja.displayName=Aa;var Ma=fa(`DialogOverlay.RemoveScroll`),Na=l.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,i=Sa(Aa,n);return(0,u.jsx)(na,{as:Ma,allowPinchZoom:!0,shards:[i.contentRef],children:(0,u.jsx)(At.div,{"data-state":Ga(i.open),...r,ref:t,style:{pointerEvents:`auto`,...r.style}})})}),Pa=`DialogContent`,Fa=l.forwardRef((e,t)=>{let n=Oa(Pa,e.__scopeDialog),{forceMount:r=n.forceMount,...i}=e,a=Sa(Pa,e.__scopeDialog);return(0,u.jsx)(Nt,{present:r||a.open,children:a.modal?(0,u.jsx)(Ia,{...i,ref:t}):(0,u.jsx)(La,{...i,ref:t})})});Fa.displayName=Pa;var Ia=l.forwardRef((e,t)=>{let n=Sa(Pa,e.__scopeDialog),r=l.useRef(null),i=ut(t,n.contentRef,r);return l.useEffect(()=>{let e=r.current;if(e)return da(e)},[]),(0,u.jsx)(Ra,{...e,ref:i,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:vt(e.onCloseAutoFocus,e=>{e.preventDefault(),n.triggerRef.current?.focus()}),onPointerDownOutside:vt(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=t.button===0&&t.ctrlKey===!0;(t.button===2||n)&&e.preventDefault()}),onFocusOutside:vt(e.onFocusOutside,e=>e.preventDefault())})}),La=l.forwardRef((e,t)=>{let n=Sa(Pa,e.__scopeDialog),r=l.useRef(!1),i=l.useRef(!1);return(0,u.jsx)(Ra,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(r.current||n.triggerRef.current?.focus(),t.preventDefault()),r.current=!1,i.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(r.current=!0,t.detail.originalEvent.type===`pointerdown`&&(i.current=!0));let a=t.target;n.triggerRef.current?.contains(a)&&t.preventDefault(),t.detail.originalEvent.type===`focusin`&&i.current&&t.preventDefault()}})}),Ra=l.forwardRef((e,t)=>{let{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:i,onCloseAutoFocus:a,...o}=e,s=Sa(Pa,n),c=l.useRef(null),d=ut(t,c);return Kr(),(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(jr,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:i,onUnmountAutoFocus:a,children:(0,u.jsx)(br,{role:`dialog`,id:s.contentId,"aria-describedby":s.descriptionId,"aria-labelledby":s.titleId,"data-state":Ga(s.open),...o,ref:d,onDismiss:()=>s.onOpenChange(!1)})}),(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(Ya,{titleId:s.titleId}),(0,u.jsx)(Za,{contentRef:c,descriptionId:s.descriptionId})]})]})}),za=`DialogTitle`,Ba=l.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,i=Sa(za,n);return(0,u.jsx)(At.h2,{id:i.titleId,...r,ref:t})});Ba.displayName=za;var Va=`DialogDescription`,Ha=l.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,i=Sa(Va,n);return(0,u.jsx)(At.p,{id:i.descriptionId,...r,ref:t})});Ha.displayName=Va;var Ua=`DialogClose`,Wa=l.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,i=Sa(Ua,n);return(0,u.jsx)(At.button,{type:`button`,...r,ref:t,onClick:vt(e.onClick,()=>i.onOpenChange(!1))})});Wa.displayName=Ua;function Ga(e){return e?`open`:`closed`}var Ka=`DialogTitleWarning`,[qa,Ja]=at(Ka,{contentName:Pa,titleName:za,docsSlug:`dialog`}),Ya=({titleId:e})=>{let t=Ja(Ka),n=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.
41
+ `},Xi=0,Zi=[];function Qi(e){var t=c.useRef([]),n=c.useRef([0,0]),r=c.useRef(),i=c.useState(Xi++)[0],a=c.useState(bi)[0],o=c.useRef(e);c.useEffect(function(){o.current=e},[e]),c.useEffect(function(){if(e.inert){document.body.classList.add(`block-interactivity-${i}`);var t=Yr([e.lockRef.current],(e.shards||[]).map(qi),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add(`allow-interactivity-${i}`)}),function(){document.body.classList.remove(`block-interactivity-${i}`),t.forEach(function(e){return e.classList.remove(`allow-interactivity-${i}`)})}}},[e.inert,e.lockRef.current,e.shards]);var s=c.useCallback(function(e,t){if(`touches`in e&&e.touches.length===2||e.type===`wheel`&&e.ctrlKey)return!o.current.allowPinchZoom;var i=Gi(e),a=n.current,s=`deltaX`in e?e.deltaX:a[0]-i[0],c=`deltaY`in e?e.deltaY:a[1]-i[1],l,u=e.target,d=Math.abs(s)>Math.abs(c)?`h`:`v`;if(`touches`in e&&d===`h`&&u.type===`range`)return!1;var f=window.getSelection(),p=f&&f.anchorNode;if(p&&(p===u||p.contains(u)))return!1;var m=Ri(d,u);if(!m)return!0;if(m?l=d:(l=d===`v`?`h`:`v`,m=Ri(d,u)),!m)return!1;if(!r.current&&`changedTouches`in e&&(s||c)&&(r.current=l),!l)return!0;var h=r.current||l;return Wi(h,t,e,h===`h`?s:c,!0)},[]),l=c.useCallback(function(e){var n=e;if(!(!Zi.length||Zi[Zi.length-1]!==a)){var r=`deltaY`in n?Ki(n):Gi(n),i=t.current.filter(function(e){return e.name===n.type&&(e.target===n.target||n.target===e.shadowParent)&&Ji(e.delta,r)})[0];if(i&&i.should){n.cancelable&&n.preventDefault();return}if(!i){var c=(o.current.shards||[]).map(qi).filter(Boolean).filter(function(e){return e.contains(n.target)});(c.length>0?s(n,c[0]):!o.current.noIsolation)&&n.cancelable&&n.preventDefault()}}},[]),u=c.useCallback(function(e,n,r,i){var a={name:e,delta:n,target:r,should:i,shadowParent:$i(r)};t.current.push(a),setTimeout(function(){t.current=t.current.filter(function(e){return e!==a})},1)},[]),d=c.useCallback(function(e){n.current=Gi(e),r.current=void 0},[]),f=c.useCallback(function(t){u(t.type,Ki(t),t.target,s(t,e.lockRef.current))},[]),p=c.useCallback(function(t){u(t.type,Gi(t),t.target,s(t,e.lockRef.current))},[]);c.useEffect(function(){return Zi.push(a),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:p}),document.addEventListener(`wheel`,l,Ni),document.addEventListener(`touchmove`,l,Ni),document.addEventListener(`touchstart`,d,Ni),function(){Zi=Zi.filter(function(e){return e!==a}),document.removeEventListener(`wheel`,l,Ni),document.removeEventListener(`touchmove`,l,Ni),document.removeEventListener(`touchstart`,d,Ni)}},[]);var m=e.removeScrollBar,h=e.inert;return c.createElement(c.Fragment,null,h?c.createElement(a,{styles:Yi(i)}):null,m?c.createElement(Ai,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function $i(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}var ea=li(ui,Qi),ta=c.forwardRef(function(e,t){return c.createElement(fi,qr({},e,{ref:t,sideCar:ea}))});ta.classNames=fi.classNames;var na=function(e){return typeof document>`u`?null:(Array.isArray(e)?e[0]:e).ownerDocument.body},ra=new WeakMap,ia=new WeakMap,aa={},oa=0,sa=function(e){return e&&(e.host||sa(e.parentNode))},ca=function(e,t){return t.map(function(t){if(e.contains(t))return t;var n=sa(t);return n&&e.contains(n)?n:(console.error(`aria-hidden`,t,`in not contained inside`,e,`. Doing nothing`),null)}).filter(function(e){return!!e})},la=function(e,t,n,r){var i=ca(t,Array.isArray(e)?e:[e]);aa[n]||(aa[n]=new WeakMap);var a=aa[n],o=[],s=new Set,c=new Set(i),l=function(e){!e||s.has(e)||(s.add(e),l(e.parentNode))};i.forEach(l);var u=function(e){!e||c.has(e)||Array.prototype.forEach.call(e.children,function(e){if(s.has(e))u(e);else try{var t=e.getAttribute(r),i=t!==null&&t!==`false`,c=(ra.get(e)||0)+1,l=(a.get(e)||0)+1;ra.set(e,c),a.set(e,l),o.push(e),c===1&&i&&ia.set(e,!0),l===1&&e.setAttribute(n,`true`),i||e.setAttribute(r,`true`)}catch(t){console.error(`aria-hidden: cannot operate on `,e,t)}})};return u(t),s.clear(),oa++,function(){o.forEach(function(e){var t=ra.get(e)-1,i=a.get(e)-1;ra.set(e,t),a.set(e,i),t||(ia.has(e)||e.removeAttribute(r),ia.delete(e)),i||e.removeAttribute(n)}),oa--,oa||(ra=new WeakMap,ra=new WeakMap,ia=new WeakMap,aa={})}},ua=function(e,t,n){n===void 0&&(n=`data-aria-hidden`);var r=Array.from(Array.isArray(e)?e:[e]),i=t||na(e);return i?(r.push.apply(r,Array.from(i.querySelectorAll(`[aria-live], script`))),la(r,i,n,`aria-hidden`)):function(){return null}};function da(e){let t=fa(e),n=l.forwardRef((e,n)=>{let{children:r,...i}=e,a=l.Children.toArray(r),o=a.find(ma);if(o){let e=o.props.children,r=a.map(t=>t===o?l.Children.count(e)>1?l.Children.only(null):l.isValidElement(e)?e.props.children:null:t);return(0,u.jsx)(t,{...i,ref:n,children:l.isValidElement(e)?l.cloneElement(e,void 0,r):null})}return(0,u.jsx)(t,{...i,ref:n,children:r})});return n.displayName=`${e}.Slot`,n}function fa(e){let t=l.forwardRef((e,t)=>{let{children:n,...r}=e;if(l.isValidElement(n)){let e=ga(n),i=ha(r,n.props);return n.type!==l.Fragment&&(i.ref=t?ct(t,e):e),l.cloneElement(n,i)}return l.Children.count(n)>1?l.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var pa=Symbol(`radix.slottable`);function ma(e){return l.isValidElement(e)&&typeof e.type==`function`&&`__radixId`in e.type&&e.type.__radixId===pa}function ha(e,t){let n={...t};for(let r in t){let i=e[r],a=t[r];/^on[A-Z]/.test(r)?i&&a?n[r]=(...e)=>{let t=a(...e);return i(...e),t}:i&&(n[r]=i):r===`style`?n[r]={...i,...a}:r===`className`&&(n[r]=[i,a].filter(Boolean).join(` `))}return{...e,...n}}function ga(e){let t=Object.getOwnPropertyDescriptor(e.props,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var _a=`Dialog`,[va,ya]=at(_a),[ba,xa]=va(_a),Sa=e=>{let{__scopeDialog:t,children:n,open:r,defaultOpen:i,onOpenChange:a,modal:o=!0}=e,s=l.useRef(null),c=l.useRef(null),[d,f]=bt({prop:r,defaultProp:i??!1,onChange:a,caller:_a});return(0,u.jsx)(ba,{scope:t,triggerRef:s,contentRef:c,contentId:Rt(),titleId:Rt(),descriptionId:Rt(),open:d,onOpenChange:f,onOpenToggle:l.useCallback(()=>f(e=>!e),[f]),modal:o,children:n})};Sa.displayName=_a;var Ca=`DialogTrigger`,wa=l.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,i=xa(Ca,n),a=lt(t,i.triggerRef);return(0,u.jsx)(kt.button,{type:`button`,"aria-haspopup":`dialog`,"aria-expanded":i.open,"aria-controls":i.contentId,"data-state":Wa(i.open),...r,ref:a,onClick:_t(e.onClick,i.onOpenToggle)})});wa.displayName=Ca;var Ta=`DialogPortal`,[Ea,Da]=va(Ta,{forceMount:void 0}),Oa=e=>{let{__scopeDialog:t,forceMount:n,children:r,container:i}=e,a=xa(Ta,t);return(0,u.jsx)(Ea,{scope:t,forceMount:n,children:l.Children.map(r,e=>(0,u.jsx)(Mt,{present:n||a.open,children:(0,u.jsx)(Ur,{asChild:!0,container:i,children:e})}))})};Oa.displayName=Ta;var ka=`DialogOverlay`,Aa=l.forwardRef((e,t)=>{let n=Da(ka,e.__scopeDialog),{forceMount:r=n.forceMount,...i}=e,a=xa(ka,e.__scopeDialog);return a.modal?(0,u.jsx)(Mt,{present:r||a.open,children:(0,u.jsx)(Ma,{...i,ref:t})}):null});Aa.displayName=ka;var ja=da(`DialogOverlay.RemoveScroll`),Ma=l.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,i=xa(ka,n);return(0,u.jsx)(ta,{as:ja,allowPinchZoom:!0,shards:[i.contentRef],children:(0,u.jsx)(kt.div,{"data-state":Wa(i.open),...r,ref:t,style:{pointerEvents:`auto`,...r.style}})})}),Na=`DialogContent`,Pa=l.forwardRef((e,t)=>{let n=Da(Na,e.__scopeDialog),{forceMount:r=n.forceMount,...i}=e,a=xa(Na,e.__scopeDialog);return(0,u.jsx)(Mt,{present:r||a.open,children:a.modal?(0,u.jsx)(Fa,{...i,ref:t}):(0,u.jsx)(Ia,{...i,ref:t})})});Pa.displayName=Na;var Fa=l.forwardRef((e,t)=>{let n=xa(Na,e.__scopeDialog),r=l.useRef(null),i=lt(t,n.contentRef,r);return l.useEffect(()=>{let e=r.current;if(e)return ua(e)},[]),(0,u.jsx)(La,{...e,ref:i,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:_t(e.onCloseAutoFocus,e=>{e.preventDefault(),n.triggerRef.current?.focus()}),onPointerDownOutside:_t(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=t.button===0&&t.ctrlKey===!0;(t.button===2||n)&&e.preventDefault()}),onFocusOutside:_t(e.onFocusOutside,e=>e.preventDefault())})}),Ia=l.forwardRef((e,t)=>{let n=xa(Na,e.__scopeDialog),r=l.useRef(!1),i=l.useRef(!1);return(0,u.jsx)(La,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(r.current||n.triggerRef.current?.focus(),t.preventDefault()),r.current=!1,i.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(r.current=!0,t.detail.originalEvent.type===`pointerdown`&&(i.current=!0));let a=t.target;n.triggerRef.current?.contains(a)&&t.preventDefault(),t.detail.originalEvent.type===`focusin`&&i.current&&t.preventDefault()}})}),La=l.forwardRef((e,t)=>{let{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:i,onCloseAutoFocus:a,...o}=e,s=xa(Na,n),c=l.useRef(null),d=lt(t,c);return Gr(),(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(Ar,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:i,onUnmountAutoFocus:a,children:(0,u.jsx)(yr,{role:`dialog`,id:s.contentId,"aria-describedby":s.descriptionId,"aria-labelledby":s.titleId,"data-state":Wa(s.open),...o,ref:d,onDismiss:()=>s.onOpenChange(!1)})}),(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(Ja,{titleId:s.titleId}),(0,u.jsx)(Xa,{contentRef:c,descriptionId:s.descriptionId})]})]})}),Ra=`DialogTitle`,za=l.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,i=xa(Ra,n);return(0,u.jsx)(kt.h2,{id:i.titleId,...r,ref:t})});za.displayName=Ra;var Ba=`DialogDescription`,Va=l.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,i=xa(Ba,n);return(0,u.jsx)(kt.p,{id:i.descriptionId,...r,ref:t})});Va.displayName=Ba;var Ha=`DialogClose`,Ua=l.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,i=xa(Ha,n);return(0,u.jsx)(kt.button,{type:`button`,...r,ref:t,onClick:_t(e.onClick,()=>i.onOpenChange(!1))})});Ua.displayName=Ha;function Wa(e){return e?`open`:`closed`}var Ga=`DialogTitleWarning`,[Ka,qa]=it(Ga,{contentName:Na,titleName:Ra,docsSlug:`dialog`}),Ja=({titleId:e})=>{let t=qa(Ga),n=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.
42
42
 
43
43
  If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.
44
44
 
45
- For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return l.useEffect(()=>{e&&(document.getElementById(e)||console.error(n))},[n,e]),null},Xa=`DialogDescriptionWarning`,Za=({contentRef:e,descriptionId:t})=>{let n=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${Ja(Xa).contentName}}.`;return l.useEffect(()=>{let r=e.current?.getAttribute(`aria-describedby`);t&&r&&(document.getElementById(t)||console.warn(n))},[n,e,t]),null},Qa=Ca,$a=Ta,eo=ka,to=ja,no=Fa,ro=Ba,io=Ha,ao=Wa,oo=(...e)=>e.filter((e,t,n)=>!!e&&e.trim()!==``&&n.indexOf(e)===t).join(` `).trim(),so=e=>e.replace(/([a-z0-9])([A-Z])/g,`$1-$2`).toLowerCase(),co=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,n)=>n?n.toUpperCase():t.toLowerCase()),lo=e=>{let t=co(e);return t.charAt(0).toUpperCase()+t.slice(1)},uo={xmlns:`http://www.w3.org/2000/svg`,width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:2,strokeLinecap:`round`,strokeLinejoin:`round`},fo=e=>{for(let t in e)if(t.startsWith(`aria-`)||t===`role`||t===`title`)return!0;return!1},po=(0,c.createContext)({}),mo=()=>(0,c.useContext)(po),ho=(0,c.forwardRef)(({color:e,size:t,strokeWidth:n,absoluteStrokeWidth:r,className:i=``,children:a,iconNode:o,...s},l)=>{let{size:u=24,strokeWidth:d=2,absoluteStrokeWidth:f=!1,color:p=`currentColor`,className:m=``}=mo()??{},h=r??f?Number(n??d)*24/Number(t??u):n??d;return(0,c.createElement)(`svg`,{ref:l,...uo,width:t??u??uo.width,height:t??u??uo.height,stroke:e??p,strokeWidth:h,className:oo(`lucide`,m,i),...!a&&!fo(s)&&{"aria-hidden":`true`},...s},[...o.map(([e,t])=>(0,c.createElement)(e,t)),...Array.isArray(a)?a:[a]])}),go=(e,t)=>{let n=(0,c.forwardRef)(({className:n,...r},i)=>(0,c.createElement)(ho,{ref:i,iconNode:t,className:oo(`lucide-${so(lo(e))}`,`lucide-${e}`,n),...r}));return n.displayName=lo(e),n},_o=go(`check`,[[`path`,{d:`M20 6 9 17l-5-5`,key:`1gmf2c`}]]),vo=go(`chevron-down`,[[`path`,{d:`m6 9 6 6 6-6`,key:`qrunsl`}]]),yo=go(`chevron-left`,[[`path`,{d:`m15 18-6-6 6-6`,key:`1wnfg3`}]]),bo=go(`chevron-right`,[[`path`,{d:`m9 18 6-6-6-6`,key:`mthhwq`}]]),xo=go(`menu`,[[`path`,{d:`M4 5h16`,key:`1tepv9`}],[`path`,{d:`M4 12h16`,key:`1lakjw`}],[`path`,{d:`M4 19h16`,key:`1djgab`}]]),So=go(`search`,[[`path`,{d:`m21 21-4.34-4.34`,key:`14j7rj`}],[`circle`,{cx:`11`,cy:`11`,r:`8`,key:`4ej97u`}]]),Co=go(`x`,[[`path`,{d:`M18 6 6 18`,key:`1bl5f8`}],[`path`,{d:`m6 6 12 12`,key:`d8bk6v`}]]),wo=Qa,To=$a,Eo=eo,Do=ao,Oo=(0,l.forwardRef)(({className:e,...t},n)=>(0,u.jsx)(to,{ref:n,className:B(`fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0`,e),...t}));Oo.displayName=to.displayName;var ko=(0,l.forwardRef)(({className:e,children:t,...n},r)=>(0,u.jsxs)(Eo,{children:[(0,u.jsx)(Oo,{}),(0,u.jsxs)(no,{ref:r,className:B(`fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg`,e),...n,children:[t,(0,u.jsxs)(ao,{className:`absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground`,children:[(0,u.jsx)(Co,{className:`h-4 w-4`}),(0,u.jsx)(`span`,{className:`sr-only`,children:`Close`})]})]})]}));ko.displayName=no.displayName;var Ao=({className:e,...t})=>(0,u.jsx)(`div`,{className:B(`flex flex-col space-y-1.5 text-center sm:text-left`,e),...t});Ao.displayName=`DialogHeader`;var jo=({className:e,...t})=>(0,u.jsx)(`div`,{className:B(`flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2`,e),...t});jo.displayName=`DialogFooter`;var Mo=(0,l.forwardRef)(({className:e,...t},n)=>(0,u.jsx)(ro,{ref:n,className:B(`text-lg font-semibold leading-none tracking-tight`,e),...t}));Mo.displayName=ro.displayName;var No=(0,l.forwardRef)(({className:e,...t},n)=>(0,u.jsx)(io,{ref:n,className:B(`text-sm text-muted-foreground`,e),...t}));No.displayName=io.displayName;var Po=({label:e,htmlFor:t,description:n,error:r,required:i,className:a,children:o})=>{let s=(0,l.useId)(),c=t??s;return(0,u.jsxs)(`div`,{className:B(`vi-form-field`,a),children:[e&&(0,u.jsxs)(`label`,{htmlFor:c,className:`vi-form-field-label`,children:[e,i&&(0,u.jsxs)(`span`,{className:`vi-form-field-required`,"aria-hidden":`true`,children:[` `,`*`]})]}),o,!r&&n&&(0,u.jsx)(`p`,{className:`vi-form-field-description`,children:n}),r&&(0,u.jsx)(`p`,{className:`vi-form-field-error`,role:`alert`,children:r})]})};Po.displayName=`FormField`;var Fo=(0,l.forwardRef)(({className:e,type:t,label:n,description:r,validate:i,onValueChange:a,id:o,...s},c)=>{let[d,f]=(0,l.useState)(null),p=(0,l.useId)(),m=o??p;return(0,u.jsxs)(`div`,{className:`flex flex-col gap-1 w-full`,children:[n&&(0,u.jsx)(`label`,{htmlFor:m,className:`text-sm font-medium`,children:n}),(0,u.jsx)(`input`,{ref:c,id:m,type:t,className:B(`flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-2 text-base shadow-sm transition-colors`,`placeholder:text-muted-foreground`,`focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring`,`disabled:cursor-not-allowed disabled:opacity-50`,`file:border-0 file:bg-transparent file:text-sm file:font-medium`,`md:text-sm`,d&&`border-destructive focus-visible:ring-destructive`,e),onChange:e=>{a&&a(e.target.value),i&&f(i(e.target.value)),s.onChange?.(e)},...s}),r&&!d&&(0,u.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:r}),d&&(0,u.jsx)(`p`,{className:`text-xs text-destructive font-medium`,children:d})]})});Fo.displayName=`Input`;var Io=e=>typeof e==`object`&&!!e&&`url`in e,Lo=({link:e,className:t,noBaseClass:n=!1,children:r})=>(0,u.jsx)(u.Fragment,{children:e.isExternal?(0,u.jsx)(`a`,{href:e.url,target:`_blank`,rel:`noopener noreferrer`,className:n?t:B(`vi-link`,t),title:e.text,children:r??e.text}):(0,u.jsx)(`a`,{href:e.url,className:n?t:B(`vi-link`,t),title:e.text,children:r??e.text})}),Ro=({name:e,image:t,link:n,className:r})=>(0,u.jsxs)(Lo,{link:n,className:B(`vi-link-logo-wrapper`,r),children:[Io(t)?(0,u.jsx)(`img`,{src:t.url,alt:t.alt,className:`vi-logo`}):(0,l.isValidElement)(t)?t:null,(0,u.jsx)(`span`,{className:`vi-logo-text`,children:e})]}),zo=({text:e=`Loading...`,className:t,...n})=>(0,u.jsxs)(`div`,{className:B(`flex flex-row items-center justify-center gap-3 p-4 text-muted-foreground`,t),...n,children:[(0,u.jsxs)(`svg`,{className:`h-6 w-6 animate-spin text-muted-foreground`,xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`,"aria-hidden":`true`,children:[(0,u.jsx)(`circle`,{className:`opacity-25`,cx:`12`,cy:`12`,r:`10`,stroke:`currentColor`,strokeWidth:`4`}),(0,u.jsx)(`path`,{className:`opacity-75`,fill:`currentColor`,d:`M4 12a8 8 0 018-8v4a4 4 0 00-4 4H4z`})]}),(0,u.jsx)(`p`,{className:`text-sm text-muted-foreground`,children:e})]});zo.displayName=`Loading`;function Bo(e){if(e===void 0)throw ReferenceError(`this hasn't been initialised - super() hasn't been called`);return e}function Vo(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var Ho={autoSleep:120,force3D:`auto`,nullTargetWarn:1,units:{lineHeight:``}},Uo={duration:.5,overwrite:!1,delay:0},Wo,V,H,Go=1e8,U=1/Go,Ko=Math.PI*2,qo=Ko/4,Jo=0,Yo=Math.sqrt,Xo=Math.cos,Zo=Math.sin,W=function(e){return typeof e==`string`},G=function(e){return typeof e==`function`},Qo=function(e){return typeof e==`number`},$o=function(e){return e===void 0},es=function(e){return typeof e==`object`},ts=function(e){return e!==!1},ns=function(){return typeof window<`u`},rs=function(e){return G(e)||W(e)},is=typeof ArrayBuffer==`function`&&ArrayBuffer.isView||function(){},K=Array.isArray,as=/random\([^)]+\)/g,os=/,\s*/g,ss=/(?:-?\.?\d|\.)+/gi,cs=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,ls=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,us=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,ds=/[+-]=-?[.\d]+/,fs=/[^,'"\[\]\s]+/gi,ps=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,q,ms,hs,gs,_s={},vs={},ys,bs=function(e){return(vs=Xs(e,_s))&&fu},xs=function(e,t){return console.warn(`Invalid property`,e,`set to`,t,`Missing plugin? gsap.registerPlugin()`)},Ss=function(e,t){return!t&&console.warn(e)},Cs=function(e,t){return e&&(_s[e]=t)&&vs&&(vs[e]=t)||_s},ws=function(){return 0},Ts={suppressEvents:!0,isStart:!0,kill:!1},Es={suppressEvents:!0,kill:!1},Ds={suppressEvents:!0},Os={},ks=[],As={},js,Ms={},Ns={},Ps=30,Fs=[],Is=``,Ls=function(e){var t=e[0],n,r;if(es(t)||G(t)||(e=[e]),!(n=(t._gsap||{}).harness)){for(r=Fs.length;r--&&!Fs[r].targetTest(t););n=Fs[r]}for(r=e.length;r--;)e[r]&&(e[r]._gsap||(e[r]._gsap=new Cl(e[r],n)))||e.splice(r,1);return e},Rs=function(e){return e._gsap||Ls(Nc(e))[0]._gsap},zs=function(e,t,n){return(n=e[t])&&G(n)?e[t]():$o(n)&&e.getAttribute&&e.getAttribute(t)||n},Bs=function(e,t){return(e=e.split(`,`)).forEach(t)||e},J=function(e){return Math.round(e*1e5)/1e5||0},Y=function(e){return Math.round(e*1e7)/1e7||0},Vs=function(e,t){var n=t.charAt(0),r=parseFloat(t.substr(2));return e=parseFloat(e),n===`+`?e+r:n===`-`?e-r:n===`*`?e*r:e/r},Hs=function(e,t){for(var n=t.length,r=0;e.indexOf(t[r])<0&&++r<n;);return r<n},Us=function(){var e=ks.length,t=ks.slice(0),n,r;for(As={},ks.length=0,n=0;n<e;n++)r=t[n],r&&r._lazy&&(r.render(r._lazy[0],r._lazy[1],!0)._lazy=0)},Ws=function(e){return!!(e._initted||e._startAt||e.add)},Gs=function(e,t,n,r){ks.length&&!V&&Us(),e.render(t,n,r||!!(V&&t<0&&Ws(e))),ks.length&&!V&&Us()},Ks=function(e){var t=parseFloat(e);return(t||t===0)&&(e+``).match(fs).length<2?t:W(e)?e.trim():e},qs=function(e){return e},Js=function(e,t){for(var n in t)n in e||(e[n]=t[n]);return e},Ys=function(e){return function(t,n){for(var r in n)r in t||r===`duration`&&e||r===`ease`||(t[r]=n[r])}},Xs=function(e,t){for(var n in t)e[n]=t[n];return e},Zs=function e(t,n){for(var r in n)r!==`__proto__`&&r!==`constructor`&&r!==`prototype`&&(t[r]=es(n[r])?e(t[r]||(t[r]={}),n[r]):n[r]);return t},Qs=function(e,t){var n={},r;for(r in e)r in t||(n[r]=e[r]);return n},$s=function(e){var t=e.parent||q,n=e.keyframes?Ys(K(e.keyframes)):Js;if(ts(e.inherit))for(;t;)n(e,t.vars.defaults),t=t.parent||t._dp;return e},ec=function(e,t){for(var n=e.length,r=n===t.length;r&&n--&&e[n]===t[n];);return n<0},tc=function(e,t,n,r,i){n===void 0&&(n=`_first`),r===void 0&&(r=`_last`);var a=e[r],o;if(i)for(o=t[i];a&&a[i]>o;)a=a._prev;return a?(t._next=a._next,a._next=t):(t._next=e[n],e[n]=t),t._next?t._next._prev=t:e[r]=t,t._prev=a,t.parent=t._dp=e,t},nc=function(e,t,n,r){n===void 0&&(n=`_first`),r===void 0&&(r=`_last`);var i=t._prev,a=t._next;i?i._next=a:e[n]===t&&(e[n]=a),a?a._prev=i:e[r]===t&&(e[r]=i),t._next=t._prev=t.parent=null},rc=function(e,t){e.parent&&(!t||e.parent.autoRemoveChildren)&&e.parent.remove&&e.parent.remove(e),e._act=0},ic=function(e,t){if(e&&(!t||t._end>e._dur||t._start<0))for(var n=e;n;)n._dirty=1,n=n.parent;return e},ac=function(e){for(var t=e.parent;t&&t.parent;)t._dirty=1,t.totalDuration(),t=t.parent;return e},oc=function(e,t,n,r){return e._startAt&&(V?e._startAt.revert(Es):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(t,!0,r))},sc=function e(t){return!t||t._ts&&e(t.parent)},cc=function(e){return e._repeat?lc(e._tTime,e=e.duration()+e._rDelay)*e:0},lc=function(e,t){var n=Math.floor(e=Y(e/t));return e&&n===e?n-1:n},uc=function(e,t){return(e-t._start)*t._ts+(t._ts>=0?0:t._dirty?t.totalDuration():t._tDur)},dc=function(e){return e._end=Y(e._start+(e._tDur/Math.abs(e._ts||e._rts||U)||0))},fc=function(e,t){var n=e._dp;return n&&n.smoothChildTiming&&e._ts&&(e._start=Y(n._time-(e._ts>0?t/e._ts:((e._dirty?e.totalDuration():e._tDur)-t)/-e._ts)),dc(e),n._dirty||ic(n,e)),e},pc=function(e,t){var n;if((t._time||!t._dur&&t._initted||t._start<e._time&&(t._dur||!t.add))&&(n=uc(e.rawTime(),t),(!t._dur||Dc(0,t.totalDuration(),n)-t._tTime>U)&&t.render(n,!0)),ic(e,t)._dp&&e._initted&&e._time>=e._dur&&e._ts){if(e._dur<e.duration())for(n=e;n._dp;)n.rawTime()>=0&&n.totalTime(n._tTime),n=n._dp;e._zTime=-U}},mc=function(e,t,n,r){return t.parent&&rc(t),t._start=Y((Qo(n)?n:n||e!==q?wc(e,n,t):e._time)+t._delay),t._end=Y(t._start+(t.totalDuration()/Math.abs(t.timeScale())||0)),tc(e,t,`_first`,`_last`,e._sort?`_start`:0),vc(t)||(e._recent=t),r||pc(e,t),e._ts<0&&fc(e,e._tTime),e},hc=function(e,t){return(_s.ScrollTrigger||xs(`scrollTrigger`,t))&&_s.ScrollTrigger.create(t,e)},gc=function(e,t,n,r,i){if(Ml(e,t,i),!e._initted)return 1;if(!n&&e._pt&&!V&&(e._dur&&e.vars.lazy!==!1||!e._dur&&e.vars.lazy)&&js!==ul.frame)return ks.push(e),e._lazy=[i,r],1},_c=function e(t){var n=t.parent;return n&&n._ts&&n._initted&&!n._lock&&(n.rawTime()<0||e(n))},vc=function(e){var t=e.data;return t===`isFromStart`||t===`isStart`},yc=function(e,t,n,r){var i=e.ratio,a=t<0||!t&&(!e._start&&_c(e)&&!(!e._initted&&vc(e))||(e._ts<0||e._dp._ts<0)&&!vc(e))?0:1,o=e._rDelay,s=0,c,l,u;if(o&&e._repeat&&(s=Dc(0,e._tDur,t),l=lc(s,o),e._yoyo&&l&1&&(a=1-a),l!==lc(e._tTime,o)&&(i=1-a,e.vars.repeatRefresh&&e._initted&&e.invalidate())),a!==i||V||r||e._zTime===U||!t&&e._zTime){if(!e._initted&&gc(e,t,r,n,s))return;for(u=e._zTime,e._zTime=t||(n?U:0),n||=t&&!u,e.ratio=a,e._from&&(a=1-a),e._time=0,e._tTime=s,c=e._pt;c;)c.r(a,c.d),c=c._next;t<0&&oc(e,t,n,!0),e._onUpdate&&!n&&Xc(e,`onUpdate`),s&&e._repeat&&!n&&e.parent&&Xc(e,`onRepeat`),(t>=e._tDur||t<0)&&e.ratio===a&&(a&&rc(e,1),!n&&!V&&(Xc(e,a?`onComplete`:`onReverseComplete`,!0),e._prom&&e._prom()))}else e._zTime||=t},bc=function(e,t,n){var r;if(n>t)for(r=e._first;r&&r._start<=n;){if(r.data===`isPause`&&r._start>t)return r;r=r._next}else for(r=e._last;r&&r._start>=n;){if(r.data===`isPause`&&r._start<t)return r;r=r._prev}},xc=function(e,t,n,r){var i=e._repeat,a=Y(t)||0,o=e._tTime/e._tDur;return o&&!r&&(e._time*=a/e._dur),e._dur=a,e._tDur=i?i<0?1e10:Y(a*(i+1)+e._rDelay*i):a,o>0&&!r&&fc(e,e._tTime=e._tDur*o),e.parent&&dc(e),n||ic(e.parent,e),e},Sc=function(e){return e instanceof Tl?ic(e):xc(e,e._dur)},Cc={_start:0,endTime:ws,totalDuration:ws},wc=function e(t,n,r){var i=t.labels,a=t._recent||Cc,o=t.duration()>=Go?a.endTime(!1):t._dur,s,c,l;return W(n)&&(isNaN(n)||n in i)?(c=n.charAt(0),l=n.substr(-1)===`%`,s=n.indexOf(`=`),c===`<`||c===`>`?(s>=0&&(n=n.replace(/=/,``)),(c===`<`?a._start:a.endTime(a._repeat>=0))+(parseFloat(n.substr(1))||0)*(l?(s<0?a:r).totalDuration()/100:1)):s<0?(n in i||(i[n]=o),i[n]):(c=parseFloat(n.charAt(s-1)+n.substr(s+1)),l&&r&&(c=c/100*(K(r)?r[0]:r).totalDuration()),s>1?e(t,n.substr(0,s-1),r)+c:o+c)):n==null?o:+n},Tc=function(e,t,n){var r=Qo(t[1]),i=(r?2:1)+(e<2?0:1),a=t[i],o,s;if(r&&(a.duration=t[1]),a.parent=n,e){for(o=a,s=n;s&&!(`immediateRender`in o);)o=s.vars.defaults||{},s=ts(s.vars.inherit)&&s.parent;a.immediateRender=ts(o.immediateRender),e<2?a.runBackwards=1:a.startAt=t[i-1]}return new Q(t[0],a,t[i+1])},Ec=function(e,t){return e||e===0?t(e):t},Dc=function(e,t,n){return n<e?e:n>t?t:n},Oc=function(e,t){return!W(e)||!(t=ps.exec(e))?``:t[1]},kc=function(e,t,n){return Ec(n,function(n){return Dc(e,t,n)})},Ac=[].slice,jc=function(e,t){return e&&es(e)&&`length`in e&&(!t&&!e.length||e.length-1 in e&&es(e[0]))&&!e.nodeType&&e!==ms},Mc=function(e,t,n){return n===void 0&&(n=[]),e.forEach(function(e){var r;return W(e)&&!t||jc(e,1)?(r=n).push.apply(r,Nc(e)):n.push(e)})||n},Nc=function(e,t,n){return H&&!t&&H.selector?H.selector(e):W(e)&&!n&&(hs||!dl())?Ac.call((t||gs).querySelectorAll(e),0):K(e)?Mc(e,n):jc(e)?Ac.call(e,0):e?[e]:[]},Pc=function(e){return e=Nc(e)[0]||Ss(`Invalid scope`)||{},function(t){var n=e.current||e.nativeElement||e;return Nc(t,n.querySelectorAll?n:n===e?Ss(`Invalid scope`)||gs.createElement(`div`):e)}},Fc=function(e){return e.sort(function(){return .5-Math.random()})},Ic=function(e){if(G(e))return e;var t=es(e)?e:{each:e},n=vl(t.ease),r=t.from||0,i=parseFloat(t.base)||0,a={},o=r>0&&r<1,s=isNaN(r)||o,c=t.axis,l=r,u=r;return W(r)?l=u={center:.5,edges:.5,end:1}[r]||0:!o&&s&&(l=r[0],u=r[1]),function(e,o,d){var f=(d||t).length,p=a[f],m,h,g,_,v,y,b,x,S;if(!p){if(S=t.grid===`auto`?0:(t.grid||[1,Go])[1],!S){for(b=-Go;b<(b=d[S++].getBoundingClientRect().left)&&S<f;);S<f&&S--}for(p=a[f]=[],m=s?Math.min(S,f)*l-.5:r%S,h=S===Go?0:s?f*u/S-.5:r/S|0,b=0,x=Go,y=0;y<f;y++)g=y%S-m,_=h-(y/S|0),p[y]=v=c?Math.abs(c===`y`?_:g):Yo(g*g+_*_),v>b&&(b=v),v<x&&(x=v);r===`random`&&Fc(p),p.max=b-x,p.min=x,p.v=f=(parseFloat(t.amount)||parseFloat(t.each)*(S>f?f-1:c?c===`y`?f/S:S:Math.max(S,f/S))||0)*(r===`edges`?-1:1),p.b=f<0?i-f:i,p.u=Oc(t.amount||t.each)||0,n=n&&f<0?_l(n):n}return f=(p[e]-p.min)/p.max||0,Y(p.b+(n?n(f):f)*p.v)+p.u}},Lc=function(e){var t=10**((e+``).split(`.`)[1]||``).length;return function(n){var r=Y(Math.round(parseFloat(n)/e)*e*t);return(r-r%1)/t+(Qo(n)?0:Oc(n))}},Rc=function(e,t){var n=K(e),r,i;return!n&&es(e)&&(r=n=e.radius||Go,e.values?(e=Nc(e.values),(i=!Qo(e[0]))&&(r*=r)):e=Lc(e.increment)),Ec(t,n?G(e)?function(t){return i=e(t),Math.abs(i-t)<=r?i:t}:function(t){for(var n=parseFloat(i?t.x:t),a=parseFloat(i?t.y:0),o=Go,s=0,c=e.length,l,u;c--;)i?(l=e[c].x-n,u=e[c].y-a,l=l*l+u*u):l=Math.abs(e[c]-n),l<o&&(o=l,s=c);return s=!r||o<=r?e[s]:t,i||s===t||Qo(t)?s:s+Oc(t)}:Lc(e))},zc=function(e,t,n,r){return Ec(K(e)?!t:n===!0?!!(n=0):!r,function(){return K(e)?e[~~(Math.random()*e.length)]:(n||=1e-5)&&(r=n<1?10**((n+``).length-2):1)&&Math.floor(Math.round((e-n/2+Math.random()*(t-e+n*.99))/n)*n*r)/r})},Bc=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return t.reduce(function(e,t){return t(e)},e)}},Vc=function(e,t){return function(n){return e(parseFloat(n))+(t||Oc(n))}},Hc=function(e,t,n){return qc(e,t,0,1,n)},Uc=function(e,t,n){return Ec(n,function(n){return e[~~t(n)]})},Wc=function e(t,n,r){var i=n-t;return K(t)?Uc(t,e(0,t.length),n):Ec(r,function(e){return(i+(e-t)%i)%i+t})},Gc=function e(t,n,r){var i=n-t,a=i*2;return K(t)?Uc(t,e(0,t.length-1),n):Ec(r,function(e){return e=(a+(e-t)%a)%a||0,t+(e>i?a-e:e)})},Kc=function(e){return e.replace(as,function(e){var t=e.indexOf(`[`)+1,n=e.substring(t||7,t?e.indexOf(`]`):e.length-1).split(os);return zc(t?n:+n[0],t?0:+n[1],+n[2]||1e-5)})},qc=function(e,t,n,r,i){var a=t-e,o=r-n;return Ec(i,function(t){return n+((t-e)/a*o||0)})},Jc=function e(t,n,r,i){var a=isNaN(t+n)?0:function(e){return(1-e)*t+e*n};if(!a){var o=W(t),s={},c,l,u,d,f;if(r===!0&&(i=1)&&(r=null),o)t={p:t},n={p:n};else if(K(t)&&!K(n)){for(u=[],d=t.length,f=d-2,l=1;l<d;l++)u.push(e(t[l-1],t[l]));d--,a=function(e){e*=d;var t=Math.min(f,~~e);return u[t](e-t)},r=n}else i||(t=Xs(K(t)?[]:{},t));if(!u){for(c in n)Dl.call(s,t,c,`get`,n[c]);a=function(e){return ql(e,s)||(o?t.p:t)}}}return Ec(r,a)},Yc=function(e,t,n){var r=e.labels,i=Go,a,o,s;for(a in r)o=r[a]-t,o<0==!!n&&o&&i>(o=Math.abs(o))&&(s=a,i=o);return s},Xc=function(e,t,n){var r=e.vars,i=r[t],a=H,o=e._ctx,s,c,l;if(i)return s=r[t+`Params`],c=r.callbackScope||e,n&&ks.length&&Us(),o&&(H=o),l=s?i.apply(c,s):i.call(c),H=a,l},Zc=function(e){return rc(e),e.scrollTrigger&&e.scrollTrigger.kill(!!V),e.progress()<1&&Xc(e,`onInterrupt`),e},Qc,$c=[],el=function(e){if(e)if(e=!e.name&&e.default||e,ns()||e.headless){var t=e.name,n=G(e),r=t&&!n&&e.init?function(){this._props=[]}:e,i={init:ws,render:ql,add:Dl,kill:Yl,modifier:Jl,rawVars:0},a={targetTest:0,get:0,getSetter:Ul,aliases:{},register:0};if(dl(),e!==r){if(Ms[t])return;Js(r,Js(Qs(e,i),a)),Xs(r.prototype,Xs(i,Qs(e,a))),Ms[r.prop=t]=r,e.targetTest&&(Fs.push(r),Os[t]=1),t=(t===`css`?`CSS`:t.charAt(0).toUpperCase()+t.substr(1))+`Plugin`}Cs(t,r),e.register&&e.register(fu,r,Ql)}else $c.push(e)},X=255,tl={aqua:[0,X,X],lime:[0,X,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,X],navy:[0,0,128],white:[X,X,X],olive:[128,128,0],yellow:[X,X,0],orange:[X,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[X,0,0],pink:[X,192,203],cyan:[0,X,X],transparent:[X,X,X,0]},nl=function(e,t,n){return e+=e<0?1:e>1?-1:0,(e*6<1?t+(n-t)*e*6:e<.5?n:e*3<2?t+(n-t)*(2/3-e)*6:t)*X+.5|0},rl=function(e,t,n){var r=e?Qo(e)?[e>>16,e>>8&X,e&X]:0:tl.black,i,a,o,s,c,l,u,d,f,p;if(!r){if(e.substr(-1)===`,`&&(e=e.substr(0,e.length-1)),tl[e])r=tl[e];else if(e.charAt(0)===`#`){if(e.length<6&&(i=e.charAt(1),a=e.charAt(2),o=e.charAt(3),e=`#`+i+i+a+a+o+o+(e.length===5?e.charAt(4)+e.charAt(4):``)),e.length===9)return r=parseInt(e.substr(1,6),16),[r>>16,r>>8&X,r&X,parseInt(e.substr(7),16)/255];e=parseInt(e.substr(1),16),r=[e>>16,e>>8&X,e&X]}else if(e.substr(0,3)===`hsl`){if(r=p=e.match(ss),!t)s=r[0]%360/360,c=r[1]/100,l=r[2]/100,a=l<=.5?l*(c+1):l+c-l*c,i=l*2-a,r.length>3&&(r[3]*=1),r[0]=nl(s+1/3,i,a),r[1]=nl(s,i,a),r[2]=nl(s-1/3,i,a);else if(~e.indexOf(`=`))return r=e.match(cs),n&&r.length<4&&(r[3]=1),r}else r=e.match(ss)||tl.transparent;r=r.map(Number)}return t&&!p&&(i=r[0]/X,a=r[1]/X,o=r[2]/X,u=Math.max(i,a,o),d=Math.min(i,a,o),l=(u+d)/2,u===d?s=c=0:(f=u-d,c=l>.5?f/(2-u-d):f/(u+d),s=u===i?(a-o)/f+(a<o?6:0):u===a?(o-i)/f+2:(i-a)/f+4,s*=60),r[0]=~~(s+.5),r[1]=~~(c*100+.5),r[2]=~~(l*100+.5)),n&&r.length<4&&(r[3]=1),r},il=function(e){var t=[],n=[],r=-1;return e.split(ol).forEach(function(e){var i=e.match(ls)||[];t.push.apply(t,i),n.push(r+=i.length+1)}),t.c=n,t},al=function(e,t,n){var r=``,i=(e+r).match(ol),a=t?`hsla(`:`rgba(`,o=0,s,c,l,u;if(!i)return e;if(i=i.map(function(e){return(e=rl(e,t,1))&&a+(t?e[0]+`,`+e[1]+`%,`+e[2]+`%,`+e[3]:e.join(`,`))+`)`}),n&&(l=il(e),s=n.c,s.join(r)!==l.c.join(r)))for(c=e.replace(ol,`1`).split(ls),u=c.length-1;o<u;o++)r+=c[o]+(~s.indexOf(o)?i.shift()||a+`0,0,0,0)`:(l.length?l:i.length?i:n).shift());if(!c)for(c=e.split(ol),u=c.length-1;o<u;o++)r+=c[o]+i[o];return r+c[u]},ol=function(){var e=`(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b`,t;for(t in tl)e+=`|`+t+`\\b`;return RegExp(e+`)`,`gi`)}(),sl=/hsl[a]?\(/,cl=function(e){var t=e.join(` `),n;if(ol.lastIndex=0,ol.test(t))return n=sl.test(t),e[1]=al(e[1],n),e[0]=al(e[0],n,il(e[1])),!0},ll,ul=function(){var e=Date.now,t=500,n=33,r=e(),i=r,a=1e3/240,o=a,s=[],c,l,u,d,f,p,m=function u(m){var h=e()-i,g=m===!0,_,v,y,b;if((h>t||h<0)&&(r+=h-n),i+=h,y=i-r,_=y-o,(_>0||g)&&(b=++d.frame,f=y-d.time*1e3,d.time=y/=1e3,o+=_+(_>=a?4:a-_),v=1),g||(c=l(u)),v)for(p=0;p<s.length;p++)s[p](y,f,b,m)};return d={time:0,frame:0,tick:function(){m(!0)},deltaRatio:function(e){return f/(1e3/(e||60))},wake:function(){ys&&(!hs&&ns()&&(ms=hs=window,gs=ms.document||{},_s.gsap=fu,(ms.gsapVersions||=[]).push(fu.version),bs(vs||ms.GreenSockGlobals||!ms.gsap&&ms||{}),$c.forEach(el)),u=typeof requestAnimationFrame<`u`&&requestAnimationFrame,c&&d.sleep(),l=u||function(e){return setTimeout(e,o-d.time*1e3+1|0)},ll=1,m(2))},sleep:function(){(u?cancelAnimationFrame:clearTimeout)(c),ll=0,l=ws},lagSmoothing:function(e,r){t=e||1/0,n=Math.min(r||33,t)},fps:function(e){a=1e3/(e||240),o=d.time*1e3+a},add:function(e,t,n){var r=t?function(t,n,i,a){e(t,n,i,a),d.remove(r)}:e;return d.remove(e),s[n?`unshift`:`push`](r),dl(),r},remove:function(e,t){~(t=s.indexOf(e))&&s.splice(t,1)&&p>=t&&p--},_listeners:s},d}(),dl=function(){return!ll&&ul.wake()},Z={},fl=/^[\d.\-M][\d.\-,\s]/,pl=/["']/g,ml=function(e){for(var t={},n=e.substr(1,e.length-3).split(`:`),r=n[0],i=1,a=n.length,o,s,c;i<a;i++)s=n[i],o=i===a-1?s.length:s.lastIndexOf(`,`),c=s.substr(0,o),t[r]=isNaN(c)?c.replace(pl,``).trim():+c,r=s.substr(o+1).trim();return t},hl=function(e){var t=e.indexOf(`(`)+1,n=e.indexOf(`)`),r=e.indexOf(`(`,t);return e.substring(t,~r&&r<n?e.indexOf(`)`,n+1):n)},gl=function(e){var t=(e+``).split(`(`),n=Z[t[0]];return n&&t.length>1&&n.config?n.config.apply(null,~e.indexOf(`{`)?[ml(t[1])]:hl(e).split(`,`).map(Ks)):Z._CE&&fl.test(e)?Z._CE(``,e):n},_l=function(e){return function(t){return 1-e(1-t)}},vl=function(e,t){return e&&(G(e)?e:Z[e]||gl(e))||t},yl=function(e,t,n,r){n===void 0&&(n=function(e){return 1-t(1-e)}),r===void 0&&(r=function(e){return e<.5?t(e*2)/2:1-t((1-e)*2)/2});var i={easeIn:t,easeOut:n,easeInOut:r},a;return Bs(e,function(e){for(var t in Z[e]=_s[e]=i,Z[a=e.toLowerCase()]=n,i)Z[a+(t===`easeIn`?`.in`:t===`easeOut`?`.out`:`.inOut`)]=Z[e+`.`+t]=i[t]}),i},bl=function(e){return function(t){return t<.5?(1-e(1-t*2))/2:.5+e((t-.5)*2)/2}},xl=function e(t,n,r){var i=n>=1?n:1,a=(r||(t?.3:.45))/(n<1?n:1),o=a/Ko*(Math.asin(1/i)||0),s=function(e){return e===1?1:i*2**(-10*e)*Zo((e-o)*a)+1},c=t===`out`?s:t===`in`?function(e){return 1-s(1-e)}:bl(s);return a=Ko/a,c.config=function(n,r){return e(t,n,r)},c},Sl=function e(t,n){n===void 0&&(n=1.70158);var r=function(e){return e?--e*e*((n+1)*e+n)+1:0},i=t===`out`?r:t===`in`?function(e){return 1-r(1-e)}:bl(r);return i.config=function(n){return e(t,n)},i};Bs(`Linear,Quad,Cubic,Quart,Quint,Strong`,function(e,t){var n=t<5?t+1:t;yl(e+`,Power`+(n-1),t?function(e){return e**+n}:function(e){return e},function(e){return 1-(1-e)**n},function(e){return e<.5?(e*2)**n/2:1-((1-e)*2)**n/2})}),Z.Linear.easeNone=Z.none=Z.Linear.easeIn,yl(`Elastic`,xl(`in`),xl(`out`),xl()),(function(e,t){var n=1/t,r=2*n,i=2.5*n,a=function(a){return a<n?e*a*a:a<r?e*(a-1.5/t)**2+.75:a<i?e*(a-=2.25/t)*a+.9375:e*(a-2.625/t)**2+.984375};yl(`Bounce`,function(e){return 1-a(1-e)},a)})(7.5625,2.75),yl(`Expo`,function(e){return 2**(10*(e-1))*e+e*e*e*e*e*e*(1-e)}),yl(`Circ`,function(e){return-(Yo(1-e*e)-1)}),yl(`Sine`,function(e){return e===1?1:-Xo(e*qo)+1}),yl(`Back`,Sl(`in`),Sl(`out`),Sl()),Z.SteppedEase=Z.steps=_s.SteppedEase={config:function(e,t){e===void 0&&(e=1);var n=1/e,r=e+ +!t,i=+!!t,a=1-U;return function(e){return((r*Dc(0,a,e)|0)+i)*n}}},Uo.ease=Z[`quad.out`],Bs(`onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt`,function(e){return Is+=e+`,`+e+`Params,`});var Cl=function(e,t){this.id=Jo++,e._gsap=this,this.target=e,this.harness=t,this.get=t?t.get:zs,this.set=t?t.getSetter:Ul},wl=function(){function e(e){this.vars=e,this._delay=+e.delay||0,(this._repeat=e.repeat===1/0?-2:e.repeat||0)&&(this._rDelay=e.repeatDelay||0,this._yoyo=!!e.yoyo||!!e.yoyoEase),this._ts=1,xc(this,+e.duration,1,1),this.data=e.data,H&&(this._ctx=H,H.data.push(this)),ll||ul.wake()}var t=e.prototype;return t.delay=function(e){return e||e===0?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+e-this._delay),this._delay=e,this):this._delay},t.duration=function(e){return arguments.length?this.totalDuration(this._repeat>0?e+(e+this._rDelay)*this._repeat:e):this.totalDuration()&&this._dur},t.totalDuration=function(e){return arguments.length?(this._dirty=0,xc(this,this._repeat<0?e:(e-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},t.totalTime=function(e,t){if(dl(),!arguments.length)return this._tTime;var n=this._dp;if(n&&n.smoothChildTiming&&this._ts){for(fc(this,e),!n._dp||n.parent||pc(n,this);n&&n.parent;)n.parent._time!==n._start+(n._ts>=0?n._tTime/n._ts:(n.totalDuration()-n._tTime)/-n._ts)&&n.totalTime(n._tTime,!0),n=n.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&e<this._tDur||this._ts<0&&e>0||!this._tDur&&!e)&&mc(this._dp,this,this._start-this._delay)}return(this._tTime!==e||!this._dur&&!t||this._initted&&Math.abs(this._zTime)===U||!this._initted&&this._dur&&e||!e&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=e),Gs(this,e,t)),this},t.time=function(e,t){return arguments.length?this.totalTime(Math.min(this.totalDuration(),e+cc(this))%(this._dur+this._rDelay)||(e?this._dur:0),t):this._time},t.totalProgress=function(e,t){return arguments.length?this.totalTime(this.totalDuration()*e,t):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>=0&&this._initted?1:0},t.progress=function(e,t){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-e:e)+cc(this),t):this.duration()?Math.min(1,this._time/this._dur):+(this.rawTime()>0)},t.iteration=function(e,t){var n=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(e-1)*n,t):this._repeat?lc(this._tTime,n)+1:1},t.timeScale=function(e,t){if(!arguments.length)return this._rts===-U?0:this._rts;if(this._rts===e)return this;var n=this.parent&&this._ts?uc(this.parent._time,this):this._tTime;return this._rts=+e||0,this._ts=this._ps||e===-U?0:this._rts,this.totalTime(Dc(-Math.abs(this._delay),this.totalDuration(),n),t!==!1),dc(this),ac(this)},t.paused=function(e){return arguments.length?(this._ps!==e&&(this._ps=e,e?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(dl(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==U&&(this._tTime-=U)))),this):this._ps},t.startTime=function(e){if(arguments.length){this._start=Y(e);var t=this.parent||this._dp;return t&&(t._sort||!this.parent)&&mc(t,this,this._start-this._delay),this}return this._start},t.endTime=function(e){return this._start+(ts(e)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},t.rawTime=function(e){var t=this.parent||this._dp;return t?e&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?uc(t.rawTime(e),this):this._tTime:this._tTime},t.revert=function(e){e===void 0&&(e=Ds);var t=V;return V=e,Ws(this)&&(this.timeline&&this.timeline.revert(e),this.totalTime(-.01,e.suppressEvents)),this.data!==`nested`&&e.kill!==!1&&this.kill(),V=t,this},t.globalTime=function(e){for(var t=this,n=arguments.length?e:t.rawTime();t;)n=t._start+n/(Math.abs(t._ts)||1),t=t._dp;return!this.parent&&this._sat?this._sat.globalTime(e):n},t.repeat=function(e){return arguments.length?(this._repeat=e===1/0?-2:e,Sc(this)):this._repeat===-2?1/0:this._repeat},t.repeatDelay=function(e){if(arguments.length){var t=this._time;return this._rDelay=e,Sc(this),t?this.time(t):this}return this._rDelay},t.yoyo=function(e){return arguments.length?(this._yoyo=e,this):this._yoyo},t.seek=function(e,t){return this.totalTime(wc(this,e),ts(t))},t.restart=function(e,t){return this.play().totalTime(e?-this._delay:0,ts(t)),this._dur||(this._zTime=-U),this},t.play=function(e,t){return e!=null&&this.seek(e,t),this.reversed(!1).paused(!1)},t.reverse=function(e,t){return e!=null&&this.seek(e||this.totalDuration(),t),this.reversed(!0).paused(!1)},t.pause=function(e,t){return e!=null&&this.seek(e,t),this.paused(!0)},t.resume=function(){return this.paused(!1)},t.reversed=function(e){return arguments.length?(!!e!==this.reversed()&&this.timeScale(-this._rts||(e?-U:0)),this):this._rts<0},t.invalidate=function(){return this._initted=this._act=0,this._zTime=-U,this},t.isActive=function(){var e=this.parent||this._dp,t=this._start,n;return!!(!e||this._ts&&this._initted&&e.isActive()&&(n=e.rawTime(!0))>=t&&n<this.endTime(!0)-U)},t.eventCallback=function(e,t,n){var r=this.vars;return arguments.length>1?(t?(r[e]=t,n&&(r[e+`Params`]=n),e===`onUpdate`&&(this._onUpdate=t)):delete r[e],this):r[e]},t.then=function(e){var t=this,n=t._prom;return new Promise(function(r){var i=G(e)?e:qs,a=function(){var e=t.then;t.then=null,n&&n(),G(i)&&(i=i(t))&&(i.then||i===t)&&(t.then=e),r(i),t.then=e};t._initted&&t.totalProgress()===1&&t._ts>=0||!t._tTime&&t._ts<0?a():t._prom=a})},t.kill=function(){Zc(this)},e}();Js(wl.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-U,_prom:0,_ps:!1,_rts:1});var Tl=function(e){Vo(t,e);function t(t,n){var r;return t===void 0&&(t={}),r=e.call(this,t)||this,r.labels={},r.smoothChildTiming=!!t.smoothChildTiming,r.autoRemoveChildren=!!t.autoRemoveChildren,r._sort=ts(t.sortChildren),q&&mc(t.parent||q,Bo(r),n),t.reversed&&r.reverse(),t.paused&&r.paused(!0),t.scrollTrigger&&hc(Bo(r),t.scrollTrigger),r}var n=t.prototype;return n.to=function(e,t,n){return Tc(0,arguments,this),this},n.from=function(e,t,n){return Tc(1,arguments,this),this},n.fromTo=function(e,t,n,r){return Tc(2,arguments,this),this},n.set=function(e,t,n){return t.duration=0,t.parent=this,$s(t).repeatDelay||(t.repeat=0),t.immediateRender=!!t.immediateRender,new Q(e,t,wc(this,n),1),this},n.call=function(e,t,n){return mc(this,Q.delayedCall(0,e,t),n)},n.staggerTo=function(e,t,n,r,i,a,o){return n.duration=t,n.stagger=n.stagger||r,n.onComplete=a,n.onCompleteParams=o,n.parent=this,new Q(e,n,wc(this,i)),this},n.staggerFrom=function(e,t,n,r,i,a,o){return n.runBackwards=1,$s(n).immediateRender=ts(n.immediateRender),this.staggerTo(e,t,n,r,i,a,o)},n.staggerFromTo=function(e,t,n,r,i,a,o,s){return r.startAt=n,$s(r).immediateRender=ts(r.immediateRender),this.staggerTo(e,t,r,i,a,o,s)},n.render=function(e,t,n){var r=this._time,i=this._dirty?this.totalDuration():this._tDur,a=this._dur,o=e<=0?0:Y(e),s=this._zTime<0!=e<0&&(this._initted||!a),c,l,u,d,f,p,m,h,g,_,v,y;if(this!==q&&o>i&&e>=0&&(o=i),o!==this._tTime||n||s){if(r!==this._time&&a&&(o+=this._time-r,e+=this._time-r),c=o,g=this._start,h=this._ts,p=!h,s&&(a||(r=this._zTime),(e||!t)&&(this._zTime=e)),this._repeat){if(v=this._yoyo,f=a+this._rDelay,this._repeat<-1&&e<0)return this.totalTime(f*100+e,t,n);if(c=Y(o%f),o===i?(d=this._repeat,c=a):(_=Y(o/f),d=~~_,d&&d===_&&(c=a,d--),c>a&&(c=a)),_=lc(this._tTime,f),!r&&this._tTime&&_!==d&&this._tTime-_*f-this._dur<=0&&(_=d),v&&d&1&&(c=a-c,y=1),d!==_&&!this._lock){var b=v&&_&1,x=b===(v&&d&1);if(d<_&&(b=!b),r=b?0:o%a?a:o,this._lock=1,this.render(r||(y?0:Y(d*f)),t,!a)._lock=0,this._tTime=o,!t&&this.parent&&Xc(this,`onRepeat`),this.vars.repeatRefresh&&!y&&(this.invalidate()._lock=1,_=d),r&&r!==this._time||p!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act||(a=this._dur,i=this._tDur,x&&(this._lock=2,r=b?a:-1e-4,this.render(r,!0),this.vars.repeatRefresh&&!y&&this.invalidate()),this._lock=0,!this._ts&&!p))return this}}if(this._hasPause&&!this._forcing&&this._lock<2&&(m=bc(this,Y(r),Y(c)),m&&(o-=c-(c=m._start))),this._tTime=o,this._time=c,this._act=!!h,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=e,r=0),!r&&o&&a&&!t&&!_&&(Xc(this,`onStart`),this._tTime!==o))return this;if(c>=r&&e>=0)for(l=this._first;l;){if(u=l._next,(l._act||c>=l._start)&&l._ts&&m!==l){if(l.parent!==this)return this.render(e,t,n);if(l.render(l._ts>0?(c-l._start)*l._ts:(l._dirty?l.totalDuration():l._tDur)+(c-l._start)*l._ts,t,n),c!==this._time||!this._ts&&!p){m=0,u&&(o+=this._zTime=-U);break}}l=u}else{l=this._last;for(var S=e<0?e:c;l;){if(u=l._prev,(l._act||S<=l._end)&&l._ts&&m!==l){if(l.parent!==this)return this.render(e,t,n);if(l.render(l._ts>0?(S-l._start)*l._ts:(l._dirty?l.totalDuration():l._tDur)+(S-l._start)*l._ts,t,n||V&&Ws(l)),c!==this._time||!this._ts&&!p){m=0,u&&(o+=this._zTime=S?-U:U);break}}l=u}}if(m&&!t&&(this.pause(),m.render(c>=r?0:-U)._zTime=c>=r?1:-1,this._ts))return this._start=g,dc(this),this.render(e,t,n);this._onUpdate&&!t&&Xc(this,`onUpdate`,!0),(o===i&&this._tTime>=this.totalDuration()||!o&&r)&&(g===this._start||Math.abs(h)!==Math.abs(this._ts))&&(this._lock||((e||!a)&&(o===i&&this._ts>0||!o&&this._ts<0)&&rc(this,1),!t&&!(e<0&&!r)&&(o||r||!i)&&(Xc(this,o===i&&e>=0?`onComplete`:`onReverseComplete`,!0),this._prom&&!(o<i&&this.timeScale()>0)&&this._prom())))}return this},n.add=function(e,t){var n=this;if(Qo(t)||(t=wc(this,t,e)),!(e instanceof wl)){if(K(e))return e.forEach(function(e){return n.add(e,t)}),this;if(W(e))return this.addLabel(e,t);if(G(e))e=Q.delayedCall(0,e);else return this}return this===e?this:mc(this,e,t)},n.getChildren=function(e,t,n,r){e===void 0&&(e=!0),t===void 0&&(t=!0),n===void 0&&(n=!0),r===void 0&&(r=-Go);for(var i=[],a=this._first;a;)a._start>=r&&(a instanceof Q?t&&i.push(a):(n&&i.push(a),e&&i.push.apply(i,a.getChildren(!0,t,n)))),a=a._next;return i},n.getById=function(e){for(var t=this.getChildren(1,1,1),n=t.length;n--;)if(t[n].vars.id===e)return t[n]},n.remove=function(e){return W(e)?this.removeLabel(e):G(e)?this.killTweensOf(e):(e.parent===this&&nc(this,e),e===this._recent&&(this._recent=this._last),ic(this))},n.totalTime=function(t,n){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=Y(ul.time-(this._ts>0?t/this._ts:(this.totalDuration()-t)/-this._ts))),e.prototype.totalTime.call(this,t,n),this._forcing=0,this):this._tTime},n.addLabel=function(e,t){return this.labels[e]=wc(this,t),this},n.removeLabel=function(e){return delete this.labels[e],this},n.addPause=function(e,t,n){var r=Q.delayedCall(0,t||ws,n);return r.data=`isPause`,this._hasPause=1,mc(this,r,wc(this,e))},n.removePause=function(e){var t=this._first;for(e=wc(this,e);t;)t._start===e&&t.data===`isPause`&&rc(t),t=t._next},n.killTweensOf=function(e,t,n){for(var r=this.getTweensOf(e,n),i=r.length;i--;)Al!==r[i]&&r[i].kill(e,t);return this},n.getTweensOf=function(e,t){for(var n=[],r=Nc(e),i=this._first,a=Qo(t),o;i;)i instanceof Q?Hs(i._targets,r)&&(a?(!Al||i._initted&&i._ts)&&i.globalTime(0)<=t&&i.globalTime(i.totalDuration())>t:!t||i.isActive())&&n.push(i):(o=i.getTweensOf(r,t)).length&&n.push.apply(n,o),i=i._next;return n},n.tweenTo=function(e,t){t||={};var n=this,r=wc(n,e),i=t,a=i.startAt,o=i.onStart,s=i.onStartParams,c=i.immediateRender,l,u=Q.to(n,Js({ease:t.ease||`none`,lazy:!1,immediateRender:!1,time:r,overwrite:`auto`,duration:t.duration||Math.abs((r-(a&&`time`in a?a.time:n._time))/n.timeScale())||U,onStart:function(){if(n.pause(),!l){var e=t.duration||Math.abs((r-(a&&`time`in a?a.time:n._time))/n.timeScale());u._dur!==e&&xc(u,e,0,1).render(u._time,!0,!0),l=1}o&&o.apply(u,s||[])}},t));return c?u.render(0):u},n.tweenFromTo=function(e,t,n){return this.tweenTo(t,Js({startAt:{time:wc(this,e)}},n))},n.recent=function(){return this._recent},n.nextLabel=function(e){return e===void 0&&(e=this._time),Yc(this,wc(this,e))},n.previousLabel=function(e){return e===void 0&&(e=this._time),Yc(this,wc(this,e),1)},n.currentLabel=function(e){return arguments.length?this.seek(e,!0):this.previousLabel(this._time+U)},n.shiftChildren=function(e,t,n){n===void 0&&(n=0);var r=this._first,i=this.labels,a;for(e=Y(e);r;)r._start>=n&&(r._start+=e,r._end+=e),r=r._next;if(t)for(a in i)i[a]>=n&&(i[a]+=e);return ic(this)},n.invalidate=function(t){var n=this._first;for(this._lock=0;n;)n.invalidate(t),n=n._next;return e.prototype.invalidate.call(this,t)},n.clear=function(e){e===void 0&&(e=!0);for(var t=this._first,n;t;)n=t._next,this.remove(t),t=n;return this._dp&&(this._time=this._tTime=this._pTime=0),e&&(this.labels={}),ic(this)},n.totalDuration=function(e){var t=0,n=this,r=n._last,i=Go,a,o,s;if(arguments.length)return n.timeScale((n._repeat<0?n.duration():n.totalDuration())/(n.reversed()?-e:e));if(n._dirty){for(s=n.parent;r;)a=r._prev,r._dirty&&r.totalDuration(),o=r._start,o>i&&n._sort&&r._ts&&!n._lock?(n._lock=1,mc(n,r,o-r._delay,1)._lock=0):i=o,o<0&&r._ts&&(t-=o,(!s&&!n._dp||s&&s.smoothChildTiming)&&(n._start+=Y(o/n._ts),n._time-=o,n._tTime-=o),n.shiftChildren(-o,!1,-1/0),i=0),r._end>t&&r._ts&&(t=r._end),r=a;xc(n,n===q&&n._time>t?n._time:t,1,1),n._dirty=0}return n._tDur},t.updateRoot=function(e){if(q._ts&&(Gs(q,uc(e,q)),js=ul.frame),ul.frame>=Ps){Ps+=Ho.autoSleep||120;var t=q._first;if((!t||!t._ts)&&Ho.autoSleep&&ul._listeners.length<2){for(;t&&!t._ts;)t=t._next;t||ul.sleep()}}},t}(wl);Js(Tl.prototype,{_lock:0,_hasPause:0,_forcing:0});var El=function(e,t,n,r,i,a,o){var s=new Ql(this._pt,e,t,0,1,Kl,null,i),c=0,l=0,u,d,f,p,m,h,g,_;for(s.b=n,s.e=r,n+=``,r+=``,(g=~r.indexOf(`random(`))&&(r=Kc(r)),a&&(_=[n,r],a(_,e,t),n=_[0],r=_[1]),d=n.match(us)||[];u=us.exec(r);)p=u[0],m=r.substring(c,u.index),f?f=(f+1)%5:m.substr(-5)===`rgba(`&&(f=1),p!==d[l++]&&(h=parseFloat(d[l-1])||0,s._pt={_next:s._pt,p:m||l===1?m:`,`,s:h,c:p.charAt(1)===`=`?Vs(h,p)-h:parseFloat(p)-h,m:f&&f<4?Math.round:0},c=us.lastIndex);return s.c=c<r.length?r.substring(c,r.length):``,s.fp=o,(ds.test(r)||g)&&(s.e=0),this._pt=s,s},Dl=function(e,t,n,r,i,a,o,s,c,l){G(r)&&(r=r(i||0,e,a));var u=e[t],d=n===`get`?G(u)?c?e[t.indexOf(`set`)||!G(e[`get`+t.substr(3)])?t:`get`+t.substr(3)](c):e[t]():u:n,f=G(u)?c?Vl:Bl:zl,p;if(W(r)&&(~r.indexOf(`random(`)&&(r=Kc(r)),r.charAt(1)===`=`&&(p=Vs(d,r)+(Oc(d)||0),(p||p===0)&&(r=p))),!l||d!==r||jl)return!isNaN(d*r)&&r!==``?(p=new Ql(this._pt,e,t,+d||0,r-(d||0),typeof u==`boolean`?Gl:Wl,0,f),c&&(p.fp=c),o&&p.modifier(o,this,e),this._pt=p):(!u&&!(t in e)&&xs(t,r),El.call(this,e,t,d,r,f,s||Ho.stringFilter,c))},Ol=function(e,t,n,r,i){if(G(e)&&(e=Il(e,i,t,n,r)),!es(e)||e.style&&e.nodeType||K(e)||is(e))return W(e)?Il(e,i,t,n,r):e;var a={},o;for(o in e)a[o]=Il(e[o],i,t,n,r);return a},kl=function(e,t,n,r,i,a){var o,s,c,l;if(Ms[e]&&(o=new Ms[e]).init(i,o.rawVars?t[e]:Ol(t[e],r,i,a,n),n,r,a)!==!1&&(n._pt=s=new Ql(n._pt,i,e,0,1,o.render,o,0,o.priority),n!==Qc))for(c=n._ptLookup[n._targets.indexOf(i)],l=o._props.length;l--;)c[o._props[l]]=s;return o},Al,jl,Ml=function e(t,n,r){var i=t.vars,a=i.ease,o=i.startAt,s=i.immediateRender,c=i.lazy,l=i.onUpdate,u=i.runBackwards,d=i.yoyoEase,f=i.keyframes,p=i.autoRevert,m=t._dur,h=t._startAt,g=t._targets,_=t.parent,v=_&&_.data===`nested`?_.vars.targets:g,y=t._overwrite===`auto`&&!Wo,b=t.timeline,x=i.easeReverse||d,S,C,w,T,E,D,O,k,A,j,M,N,ee;if(b&&(!f||!a)&&(a=`none`),t._ease=vl(a,Uo.ease),t._rEase=x&&(vl(x)||t._ease),t._from=!b&&!!i.runBackwards,t._from&&(t.ratio=1),!b||f&&!i.stagger){if(k=g[0]?Rs(g[0]).harness:0,N=k&&i[k.prop],S=Qs(i,Os),h&&(h._zTime<0&&h.progress(1),n<0&&u&&s&&!p?h.render(-1,!0):h.revert(u&&m?Es:Ts),h._lazy=0),o){if(rc(t._startAt=Q.set(g,Js({data:`isStart`,overwrite:!1,parent:_,immediateRender:!0,lazy:!h&&ts(c),startAt:null,delay:0,onUpdate:l&&function(){return Xc(t,`onUpdate`)},stagger:0},o))),t._startAt._dp=0,t._startAt._sat=t,n<0&&(V||!s&&!p)&&t._startAt.revert(Es),s&&m&&n<=0&&r<=0){n&&(t._zTime=n);return}}else if(u&&m&&!h){if(n&&(s=!1),w=Js({overwrite:!1,data:`isFromStart`,lazy:s&&!h&&ts(c),immediateRender:s,stagger:0,parent:_},S),N&&(w[k.prop]=N),rc(t._startAt=Q.set(g,w)),t._startAt._dp=0,t._startAt._sat=t,n<0&&(V?t._startAt.revert(Es):t._startAt.render(-1,!0)),t._zTime=n,!s)e(t._startAt,U,U);else if(!n)return}for(t._pt=t._ptCache=0,c=m&&ts(c)||c&&!m,C=0;C<g.length;C++){if(E=g[C],O=E._gsap||Ls(g)[C]._gsap,t._ptLookup[C]=j={},As[O.id]&&ks.length&&Us(),M=v===g?C:v.indexOf(E),k&&(A=new k).init(E,N||S,t,M,v)!==!1&&(t._pt=T=new Ql(t._pt,E,A.name,0,1,A.render,A,0,A.priority),A._props.forEach(function(e){j[e]=T}),A.priority&&(D=1)),!k||N)for(w in S)Ms[w]&&(A=kl(w,S,t,M,E,v))?A.priority&&(D=1):j[w]=T=Dl.call(t,E,w,`get`,S[w],M,v,0,i.stringFilter);t._op&&t._op[C]&&t.kill(E,t._op[C]),y&&t._pt&&(Al=t,q.killTweensOf(E,j,t.globalTime(n)),ee=!t.parent,Al=0),t._pt&&c&&(As[O.id]=1)}D&&Zl(t),t._onInit&&t._onInit(t)}t._onUpdate=l,t._initted=(!t._op||t._pt)&&!ee,f&&n<=0&&b.render(Go,!0,!0)},Nl=function(e,t,n,r,i,a,o,s){var c=(e._pt&&e._ptCache||(e._ptCache={}))[t],l,u,d,f;if(!c)for(c=e._ptCache[t]=[],d=e._ptLookup,f=e._targets.length;f--;){if(l=d[f][t],l&&l.d&&l.d._pt)for(l=l.d._pt;l&&l.p!==t&&l.fp!==t;)l=l._next;if(!l)return jl=1,e.vars[t]=`+=0`,Ml(e,o),jl=0,s?Ss(t+` not eligible for reset. Try splitting into individual properties`):1;c.push(l)}for(f=c.length;f--;)u=c[f],l=u._pt||u,l.s=(r||r===0)&&!i?r:l.s+(r||0)+a*l.c,l.c=n-l.s,u.e&&=J(n)+Oc(u.e),u.b&&=l.s+Oc(u.b)},Pl=function(e,t){var n=e[0]?Rs(e[0]).harness:0,r=n&&n.aliases,i,a,o,s;if(!r)return t;for(a in i=Xs({},t),r)if(a in i)for(s=r[a].split(`,`),o=s.length;o--;)i[s[o]]=i[a];return i},Fl=function(e,t,n,r){var i=t.ease||r||`power1.inOut`,a,o;if(K(t))o=n[e]||(n[e]=[]),t.forEach(function(e,n){return o.push({t:n/(t.length-1)*100,v:e,e:i})});else for(a in t)o=n[a]||(n[a]=[]),a===`ease`||o.push({t:parseFloat(e),v:t[a],e:i})},Il=function(e,t,n,r,i){return G(e)?e.call(t,n,r,i):W(e)&&~e.indexOf(`random(`)?Kc(e):e},Ll=Is+`repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,easeReverse,autoRevert`,Rl={};Bs(Ll+`,id,stagger,delay,duration,paused,scrollTrigger`,function(e){return Rl[e]=1});var Q=function(e){Vo(t,e);function t(t,n,r,i){var a;typeof n==`number`&&(r.duration=n,n=r,r=null),a=e.call(this,i?n:$s(n))||this;var o=a.vars,s=o.duration,c=o.delay,l=o.immediateRender,u=o.stagger,d=o.overwrite,f=o.keyframes,p=o.defaults,m=o.scrollTrigger,h=n.parent||q,g=(K(t)||is(t)?Qo(t[0]):`length`in n)?[t]:Nc(t),_,v,y,b,x,S,C,w;if(a._targets=g.length?Ls(g):Ss(`GSAP target `+t+` not found. https://gsap.com`,!Ho.nullTargetWarn)||[],a._ptLookup=[],a._overwrite=d,f||u||rs(s)||rs(c)){n=a.vars;var T=n.easeReverse||n.yoyoEase;if(_=a.timeline=new Tl({data:`nested`,defaults:p||{},targets:h&&h.data===`nested`?h.vars.targets:g}),_.kill(),_.parent=_._dp=Bo(a),_._start=0,u||rs(s)||rs(c)){if(b=g.length,C=u&&Ic(u),es(u))for(x in u)~Ll.indexOf(x)&&(w||={},w[x]=u[x]);for(v=0;v<b;v++)y=Qs(n,Rl),y.stagger=0,T&&(y.easeReverse=T),w&&Xs(y,w),S=g[v],y.duration=+Il(s,Bo(a),v,S,g),y.delay=(+Il(c,Bo(a),v,S,g)||0)-a._delay,!u&&b===1&&y.delay&&(a._delay=c=y.delay,a._start+=c,y.delay=0),_.to(S,y,C?C(v,S,g):0),_._ease=Z.none;_.duration()?s=c=0:a.timeline=0}else if(f){$s(Js(_.vars.defaults,{ease:`none`})),_._ease=vl(f.ease||n.ease||`none`);var E=0,D,O,k;if(K(f))f.forEach(function(e){return _.to(g,e,`>`)}),_.duration();else{for(x in y={},f)x===`ease`||x===`easeEach`||Fl(x,f[x],y,f.easeEach);for(x in y)for(D=y[x].sort(function(e,t){return e.t-t.t}),E=0,v=0;v<D.length;v++)O=D[v],k={ease:O.e,duration:(O.t-(v?D[v-1].t:0))/100*s},k[x]=O.v,_.to(g,k,E),E+=k.duration;_.duration()<s&&_.to({},{duration:s-_.duration()})}}s||a.duration(s=_.duration())}else a.timeline=0;return d===!0&&!Wo&&(Al=Bo(a),q.killTweensOf(g),Al=0),mc(h,Bo(a),r),n.reversed&&a.reverse(),n.paused&&a.paused(!0),(l||!s&&!f&&a._start===Y(h._time)&&ts(l)&&sc(Bo(a))&&h.data!==`nested`)&&(a._tTime=-U,a.render(Math.max(0,-c)||0)),m&&hc(Bo(a),m),a}var n=t.prototype;return n.render=function(e,t,n){var r=this._time,i=this._tDur,a=this._dur,o=e<0,s=e>i-U&&!o?i:e<U?0:e,c,l,u,d,f,p,m,h;if(!a)yc(this,e,t,n);else if(s!==this._tTime||!e||n||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==o||this._lazy){if(c=s,h=this.timeline,this._repeat){if(d=a+this._rDelay,this._repeat<-1&&o)return this.totalTime(d*100+e,t,n);if(c=Y(s%d),s===i?(u=this._repeat,c=a):(f=Y(s/d),u=~~f,u&&u===f?(c=a,u--):c>a&&(c=a)),p=this._yoyo&&u&1,p&&(c=a-c),f=lc(this._tTime,d),c===r&&!n&&this._initted&&u===f)return this._tTime=s,this;u!==f&&this.vars.repeatRefresh&&!p&&!this._lock&&c!==d&&this._initted&&(this._lock=n=1,this.render(Y(d*u),!0).invalidate()._lock=0)}if(!this._initted){if(gc(this,o?e:c,n,t,s))return this._tTime=0,this;if(r!==this._time&&!(n&&this.vars.repeatRefresh&&u!==f))return this;if(a!==this._dur)return this.render(e,t,n)}if(this._rEase){var g=c<r;if(g!==this._inv){var _=g?r:a-r;this._inv=g,this._from&&(this.ratio=1-this.ratio),this._invRatio=this.ratio,this._invTime=r,this._invRecip=_?(g?-1:1)/_:0,this._invScale=g?-this.ratio:1-this.ratio,this._invEase=g?this._rEase:this._ease}this.ratio=m=this._invRatio+this._invScale*this._invEase((c-this._invTime)*this._invRecip)}else this.ratio=m=this._ease(c/a);if(this._from&&(this.ratio=m=1-m),this._tTime=s,this._time=c,!this._act&&this._ts&&(this._act=1,this._lazy=0),!r&&s&&!t&&!f&&(Xc(this,`onStart`),this._tTime!==s))return this;for(l=this._pt;l;)l.r(m,l.d),l=l._next;h&&h.render(e<0?e:h._dur*h._ease(c/this._dur),t,n)||this._startAt&&(this._zTime=e),this._onUpdate&&!t&&(o&&oc(this,e,t,n),Xc(this,`onUpdate`)),this._repeat&&u!==f&&this.vars.onRepeat&&!t&&this.parent&&Xc(this,`onRepeat`),(s===this._tDur||!s)&&this._tTime===s&&(o&&!this._onUpdate&&oc(this,e,!0,!0),(e||!a)&&(s===this._tDur&&this._ts>0||!s&&this._ts<0)&&rc(this,1),!t&&!(o&&!r)&&(s||r||p)&&(Xc(this,s===i?`onComplete`:`onReverseComplete`,!0),this._prom&&!(s<i&&this.timeScale()>0)&&this._prom()))}return this},n.targets=function(){return this._targets},n.invalidate=function(t){return(!t||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(t),e.prototype.invalidate.call(this,t)},n.resetTo=function(e,t,n,r,i){ll||ul.wake(),this._ts||this.play();var a=Math.min(this._dur,(this._dp._time-this._start)*this._ts),o;return this._initted||Ml(this,a),o=this._ease(a/this._dur),Nl(this,e,t,n,r,o,a,i)?this.resetTo(e,t,n,r,1):(fc(this,0),this.parent||tc(this._dp,this,`_first`,`_last`,this._dp._sort?`_start`:0),this.render(0))},n.kill=function(e,t){if(t===void 0&&(t=`all`),!e&&(!t||t===`all`))return this._lazy=this._pt=0,this.parent?Zc(this):this.scrollTrigger&&this.scrollTrigger.kill(!!V),this;if(this.timeline){var n=this.timeline.totalDuration();return this.timeline.killTweensOf(e,t,Al&&Al.vars.overwrite!==!0)._first||Zc(this),this.parent&&n!==this.timeline.totalDuration()&&xc(this,this._dur*this.timeline._tDur/n,0,1),this}var r=this._targets,i=e?Nc(e):r,a=this._ptLookup,o=this._pt,s,c,l,u,d,f,p;if((!t||t===`all`)&&ec(r,i))return t===`all`&&(this._pt=0),Zc(this);for(s=this._op=this._op||[],t!==`all`&&(W(t)&&(d={},Bs(t,function(e){return d[e]=1}),t=d),t=Pl(r,t)),p=r.length;p--;)if(~i.indexOf(r[p]))for(d in c=a[p],t===`all`?(s[p]=t,u=c,l={}):(l=s[p]=s[p]||{},u=t),u)f=c&&c[d],f&&((!(`kill`in f.d)||f.d.kill(d)===!0)&&nc(this,f,`_pt`),delete c[d]),l!==`all`&&(l[d]=1);return this._initted&&!this._pt&&o&&Zc(this),this},t.to=function(e,n){return new t(e,n,arguments[2])},t.from=function(e,t){return Tc(1,arguments)},t.delayedCall=function(e,n,r,i){return new t(n,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:e,onComplete:n,onReverseComplete:n,onCompleteParams:r,onReverseCompleteParams:r,callbackScope:i})},t.fromTo=function(e,t,n){return Tc(2,arguments)},t.set=function(e,n){return n.duration=0,n.repeatDelay||(n.repeat=0),new t(e,n)},t.killTweensOf=function(e,t,n){return q.killTweensOf(e,t,n)},t}(wl);Js(Q.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),Bs(`staggerTo,staggerFrom,staggerFromTo`,function(e){Q[e]=function(){var t=new Tl,n=Ac.call(arguments,0);return n.splice(e===`staggerFromTo`?5:4,0,0),t[e].apply(t,n)}});var zl=function(e,t,n){return e[t]=n},Bl=function(e,t,n){return e[t](n)},Vl=function(e,t,n,r){return e[t](r.fp,n)},Hl=function(e,t,n){return e.setAttribute(t,n)},Ul=function(e,t){return G(e[t])?Bl:$o(e[t])&&e.setAttribute?Hl:zl},Wl=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e6)/1e6,t)},Gl=function(e,t){return t.set(t.t,t.p,!!(t.s+t.c*e),t)},Kl=function(e,t){var n=t._pt,r=``;if(!e&&t.b)r=t.b;else if(e===1&&t.e)r=t.e;else{for(;n;)r=n.p+(n.m?n.m(n.s+n.c*e):Math.round((n.s+n.c*e)*1e4)/1e4)+r,n=n._next;r+=t.c}t.set(t.t,t.p,r,t)},ql=function(e,t){for(var n=t._pt;n;)n.r(e,n.d),n=n._next},Jl=function(e,t,n,r){for(var i=this._pt,a;i;)a=i._next,i.p===r&&i.modifier(e,t,n),i=a},Yl=function(e){for(var t=this._pt,n,r;t;)r=t._next,t.p===e&&!t.op||t.op===e?nc(this,t,`_pt`):t.dep||(n=1),t=r;return!n},Xl=function(e,t,n,r){r.mSet(e,t,r.m.call(r.tween,n,r.mt),r)},Zl=function(e){for(var t=e._pt,n,r,i,a;t;){for(n=t._next,r=i;r&&r.pr>t.pr;)r=r._next;(t._prev=r?r._prev:a)?t._prev._next=t:i=t,(t._next=r)?r._prev=t:a=t,t=n}e._pt=i},Ql=function(){function e(e,t,n,r,i,a,o,s,c){this.t=t,this.s=r,this.c=i,this.p=n,this.r=a||Wl,this.d=o||this,this.set=s||zl,this.pr=c||0,this._next=e,e&&(e._prev=this)}var t=e.prototype;return t.modifier=function(e,t,n){this.mSet=this.mSet||this.set,this.set=Xl,this.m=e,this.mt=n,this.tween=t},e}();Bs(Is+`parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger,easeReverse`,function(e){return Os[e]=1}),_s.TweenMax=_s.TweenLite=Q,_s.TimelineLite=_s.TimelineMax=Tl,q=new Tl({sortChildren:!1,defaults:Uo,autoRemoveChildren:!0,id:`root`,smoothChildTiming:!0}),Ho.stringFilter=cl;var $l=[],eu={},tu=[],nu=0,ru=0,iu=function(e){return(eu[e]||tu).map(function(e){return e()})},au=function(){var e=Date.now(),t=[];e-nu>2&&(iu(`matchMediaInit`),$l.forEach(function(e){var n=e.queries,r=e.conditions,i,a,o,s;for(a in n)i=ms.matchMedia(n[a]).matches,i&&(o=1),i!==r[a]&&(r[a]=i,s=1);s&&(e.revert(),o&&t.push(e))}),iu(`matchMediaRevert`),t.forEach(function(e){return e.onMatch(e,function(t){return e.add(null,t)})}),nu=e,iu(`matchMedia`))},ou=function(){function e(e,t){this.selector=t&&Pc(t),this.data=[],this._r=[],this.isReverted=!1,this.id=ru++,e&&this.add(e)}var t=e.prototype;return t.add=function(e,t,n){G(e)&&(n=t,t=e,e=G);var r=this,i=function(){var e=H,i=r.selector,a;return e&&e!==r&&e.data.push(r),n&&(r.selector=Pc(n)),H=r,a=t.apply(r,arguments),G(a)&&r._r.push(a),H=e,r.selector=i,r.isReverted=!1,a};return r.last=i,e===G?i(r,function(e){return r.add(null,e)}):e?r[e]=i:i},t.ignore=function(e){var t=H;H=null,e(this),H=t},t.getTweens=function(){var t=[];return this.data.forEach(function(n){return n instanceof e?t.push.apply(t,n.getTweens()):n instanceof Q&&!(n.parent&&n.parent.data===`nested`)&&t.push(n)}),t},t.clear=function(){this._r.length=this.data.length=0},t.kill=function(e,t){var n=this;if(e?(function(){for(var t=n.getTweens(),r=n.data.length,i;r--;)i=n.data[r],i.data===`isFlip`&&(i.revert(),i.getChildren(!0,!0,!1).forEach(function(e){return t.splice(t.indexOf(e),1)}));for(t.map(function(e){return{g:e._dur||e._delay||e._sat&&!e._sat.vars.immediateRender?e.globalTime(0):-1/0,t:e}}).sort(function(e,t){return t.g-e.g||-1/0}).forEach(function(t){return t.t.revert(e)}),r=n.data.length;r--;)i=n.data[r],i instanceof Tl?i.data!==`nested`&&(i.scrollTrigger&&i.scrollTrigger.revert(),i.kill()):!(i instanceof Q)&&i.revert&&i.revert(e);n._r.forEach(function(t){return t(e,n)}),n.isReverted=!0})():this.data.forEach(function(e){return e.kill&&e.kill()}),this.clear(),t)for(var r=$l.length;r--;)$l[r].id===this.id&&$l.splice(r,1)},t.revert=function(e){this.kill(e||{})},e}(),su=function(){function e(e){this.contexts=[],this.scope=e,H&&H.data.push(this)}var t=e.prototype;return t.add=function(e,t,n){es(e)||(e={matches:e});var r=new ou(0,n||this.scope),i=r.conditions={},a,o,s;for(o in H&&!r.selector&&(r.selector=H.selector),this.contexts.push(r),t=r.add(`onMatch`,t),r.queries=e,e)o===`all`?s=1:(a=ms.matchMedia(e[o]),a&&($l.indexOf(r)<0&&$l.push(r),(i[o]=a.matches)&&(s=1),a.addListener?a.addListener(au):a.addEventListener(`change`,au)));return s&&t(r,function(e){return r.add(null,e)}),this},t.revert=function(e){this.kill(e||{})},t.kill=function(e){this.contexts.forEach(function(t){return t.kill(e,!0)})},e}(),cu={registerPlugin:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];t.forEach(function(e){return el(e)})},timeline:function(e){return new Tl(e)},getTweensOf:function(e,t){return q.getTweensOf(e,t)},getProperty:function(e,t,n,r){W(e)&&(e=Nc(e)[0]);var i=Rs(e||{}).get,a=n?qs:Ks;return n===`native`&&(n=``),e&&(t?a((Ms[t]&&Ms[t].get||i)(e,t,n,r)):function(t,n,r){return a((Ms[t]&&Ms[t].get||i)(e,t,n,r))})},quickSetter:function(e,t,n){if(e=Nc(e),e.length>1){var r=e.map(function(e){return fu.quickSetter(e,t,n)}),i=r.length;return function(e){for(var t=i;t--;)r[t](e)}}e=e[0]||{};var a=Ms[t],o=Rs(e),s=o.harness&&(o.harness.aliases||{})[t]||t,c=a?function(t){var r=new a;Qc._pt=0,r.init(e,n?t+n:t,Qc,0,[e]),r.render(1,r),Qc._pt&&ql(1,Qc)}:o.set(e,s);return a?c:function(t){return c(e,s,n?t+n:t,o,1)}},quickTo:function(e,t,n){var r,i=fu.to(e,Js((r={},r[t]=`+=0.1`,r.paused=!0,r.stagger=0,r),n||{})),a=function(e,n,r){return i.resetTo(t,e,n,r)};return a.tween=i,a},isTweening:function(e){return q.getTweensOf(e,!0).length>0},defaults:function(e){return e&&e.ease&&(e.ease=vl(e.ease,Uo.ease)),Zs(Uo,e||{})},config:function(e){return Zs(Ho,e||{})},registerEffect:function(e){var t=e.name,n=e.effect,r=e.plugins,i=e.defaults,a=e.extendTimeline;(r||``).split(`,`).forEach(function(e){return e&&!Ms[e]&&!_s[e]&&Ss(t+` effect requires `+e+` plugin.`)}),Ns[t]=function(e,t,r){return n(Nc(e),Js(t||{},i),r)},a&&(Tl.prototype[t]=function(e,n,r){return this.add(Ns[t](e,es(n)?n:(r=n)&&{},this),r)})},registerEase:function(e,t){Z[e]=vl(t)},parseEase:function(e,t){return arguments.length?vl(e,t):Z},getById:function(e){return q.getById(e)},exportRoot:function(e,t){e===void 0&&(e={});var n=new Tl(e),r,i;for(n.smoothChildTiming=ts(e.smoothChildTiming),q.remove(n),n._dp=0,n._time=n._tTime=q._time,r=q._first;r;)i=r._next,(t||!(!r._dur&&r instanceof Q&&r.vars.onComplete===r._targets[0]))&&mc(n,r,r._start-r._delay),r=i;return mc(q,n,0),n},context:function(e,t){return e?new ou(e,t):H},matchMedia:function(e){return new su(e)},matchMediaRefresh:function(){return $l.forEach(function(e){var t=e.conditions,n,r;for(r in t)t[r]&&(t[r]=!1,n=1);n&&e.revert()})||au()},addEventListener:function(e,t){var n=eu[e]||(eu[e]=[]);~n.indexOf(t)||n.push(t)},removeEventListener:function(e,t){var n=eu[e],r=n&&n.indexOf(t);r>=0&&n.splice(r,1)},utils:{wrap:Wc,wrapYoyo:Gc,distribute:Ic,random:zc,snap:Rc,normalize:Hc,getUnit:Oc,clamp:kc,splitColor:rl,toArray:Nc,selector:Pc,mapRange:qc,pipe:Bc,unitize:Vc,interpolate:Jc,shuffle:Fc},install:bs,effects:Ns,ticker:ul,updateRoot:Tl.updateRoot,plugins:Ms,globalTimeline:q,core:{PropTween:Ql,globals:Cs,Tween:Q,Timeline:Tl,Animation:wl,getCache:Rs,_removeLinkedListItem:nc,reverting:function(){return V},context:function(e){return e&&H&&(H.data.push(e),e._ctx=H),H},suppressOverwrites:function(e){return Wo=e}}};Bs(`to,from,fromTo,delayedCall,set,killTweensOf`,function(e){return cu[e]=Q[e]}),ul.add(Tl.updateRoot),Qc=cu.to({},{duration:0});var lu=function(e,t){for(var n=e._pt;n&&n.p!==t&&n.op!==t&&n.fp!==t;)n=n._next;return n},uu=function(e,t){var n=e._targets,r,i,a;for(r in t)for(i=n.length;i--;)a=e._ptLookup[i][r],(a&&=a.d)&&(a._pt&&(a=lu(a,r)),a&&a.modifier&&a.modifier(t[r],e,n[i],r))},du=function(e,t){return{name:e,headless:1,rawVars:1,init:function(e,n,r){r._onInit=function(e){var r,i;if(W(n)&&(r={},Bs(n,function(e){return r[e]=1}),n=r),t){for(i in r={},n)r[i]=t(n[i]);n=r}uu(e,n)}}}},fu=cu.registerPlugin({name:`attr`,init:function(e,t,n,r,i){var a,o,s;for(a in this.tween=n,t)s=e.getAttribute(a)||``,o=this.add(e,`setAttribute`,(s||0)+``,t[a],r,i,0,0,a),o.op=a,o.b=s,this._props.push(a)},render:function(e,t){for(var n=t._pt;n;)V?n.set(n.t,n.p,n.b,n):n.r(e,n.d),n=n._next}},{name:`endArray`,headless:1,init:function(e,t){for(var n=t.length;n--;)this.add(e,n,e[n]||0,t[n],0,0,0,0,0,1)}},du(`roundProps`,Lc),du(`modifiers`),du(`snap`,Rc))||cu;Q.version=Tl.version=fu.version=`3.15.0`,ys=1,ns()&&dl(),Z.Power0,Z.Power1,Z.Power2,Z.Power3,Z.Power4,Z.Linear,Z.Quad,Z.Cubic,Z.Quart,Z.Quint,Z.Strong,Z.Elastic,Z.Back,Z.SteppedEase,Z.Bounce,Z.Sine,Z.Expo,Z.Circ;var pu,mu,hu,gu,_u,vu,yu,bu=function(){return typeof window<`u`},xu={},Su=180/Math.PI,Cu=Math.PI/180,wu=Math.atan2,Tu=1e8,Eu=/([A-Z])/g,Du=/(left|right|width|margin|padding|x)/i,Ou=/[\s,\(]\S/,ku={autoAlpha:`opacity,visibility`,scale:`scaleX,scaleY`,alpha:`opacity`},Au=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e4)/1e4+t.u,t)},ju=function(e,t){return t.set(t.t,t.p,e===1?t.e:Math.round((t.s+t.c*e)*1e4)/1e4+t.u,t)},Mu=function(e,t){return t.set(t.t,t.p,e?Math.round((t.s+t.c*e)*1e4)/1e4+t.u:t.b,t)},Nu=function(e,t){return t.set(t.t,t.p,e===1?t.e:e?Math.round((t.s+t.c*e)*1e4)/1e4+t.u:t.b,t)},Pu=function(e,t){var n=t.s+t.c*e;t.set(t.t,t.p,~~(n+(n<0?-.5:.5))+t.u,t)},Fu=function(e,t){return t.set(t.t,t.p,e?t.e:t.b,t)},Iu=function(e,t){return t.set(t.t,t.p,e===1?t.e:t.b,t)},Lu=function(e,t,n){return e.style[t]=n},Ru=function(e,t,n){return e.style.setProperty(t,n)},zu=function(e,t,n){return e._gsap[t]=n},Bu=function(e,t,n){return e._gsap.scaleX=e._gsap.scaleY=n},Vu=function(e,t,n,r,i){var a=e._gsap;a.scaleX=a.scaleY=n,a.renderTransform(i,a)},Hu=function(e,t,n,r,i){var a=e._gsap;a[t]=n,a.renderTransform(i,a)},$=`transform`,Uu=$+`Origin`,Wu=function e(t,n){var r=this,i=this.target,a=i.style,o=i._gsap;if(t in xu&&a){if(this.tfm=this.tfm||{},t!==`transform`)t=ku[t]||t,~t.indexOf(`,`)?t.split(`,`).forEach(function(e){return r.tfm[e]=ld(i,e)}):this.tfm[t]=o.x?o[t]:ld(i,t),t===Uu&&(this.tfm.zOrigin=o.zOrigin);else return ku.transform.split(`,`).forEach(function(t){return e.call(r,t,n)});if(this.props.indexOf($)>=0)return;o.svg&&(this.svgo=i.getAttribute(`data-svg-origin`),this.props.push(Uu,n,``)),t=$}(a||n)&&this.props.push(t,n,a[t])},Gu=function(e){e.translate&&(e.removeProperty(`translate`),e.removeProperty(`scale`),e.removeProperty(`rotate`))},Ku=function(){var e=this.props,t=this.target,n=t.style,r=t._gsap,i,a;for(i=0;i<e.length;i+=3)e[i+1]?e[i+1]===2?t[e[i]](e[i+2]):t[e[i]]=e[i+2]:e[i+2]?n[e[i]]=e[i+2]:n.removeProperty(e[i].substr(0,2)===`--`?e[i]:e[i].replace(Eu,`-$1`).toLowerCase());if(this.tfm){for(a in this.tfm)r[a]=this.tfm[a];r.svg&&(r.renderTransform(),t.setAttribute(`data-svg-origin`,this.svgo||``)),i=yu(),(!i||!i.isStart)&&!n[$]&&(Gu(n),r.zOrigin&&n[Uu]&&(n[Uu]+=` `+r.zOrigin+`px`,r.zOrigin=0,r.renderTransform()),r.uncache=1)}},qu=function(e,t){var n={target:e,props:[],revert:Ku,save:Wu};return e._gsap||fu.core.getCache(e),t&&e.style&&e.nodeType&&t.split(`,`).forEach(function(e){return n.save(e)}),n},Ju,Yu=function(e,t){var n=mu.createElementNS?mu.createElementNS((t||`http://www.w3.org/1999/xhtml`).replace(/^https/,`http`),e):mu.createElement(e);return n&&n.style?n:mu.createElement(e)},Xu=function e(t,n,r){var i=getComputedStyle(t);return i[n]||i.getPropertyValue(n.replace(Eu,`-$1`).toLowerCase())||i.getPropertyValue(n)||!r&&e(t,Qu(n)||n,1)||``},Zu=`O,Moz,ms,Ms,Webkit`.split(`,`),Qu=function(e,t,n){var r=(t||_u).style,i=5;if(e in r&&!n)return e;for(e=e.charAt(0).toUpperCase()+e.substr(1);i--&&!(Zu[i]+e in r););return i<0?null:(i===3?`ms`:i>=0?Zu[i]:``)+e},$u=function(){bu()&&window.document&&(pu=window,mu=pu.document,hu=mu.documentElement,_u=Yu(`div`)||{style:{}},Yu(`div`),$=Qu($),Uu=$+`Origin`,_u.style.cssText=`border-width:0;line-height:0;position:absolute;padding:0`,Ju=!!Qu(`perspective`),yu=fu.core.reverting,gu=1)},ed=function(e){var t=e.ownerSVGElement,n=Yu(`svg`,t&&t.getAttribute(`xmlns`)||`http://www.w3.org/2000/svg`),r=e.cloneNode(!0),i;r.style.display=`block`,n.appendChild(r),hu.appendChild(n);try{i=r.getBBox()}catch{}return n.removeChild(r),hu.removeChild(n),i},td=function(e,t){for(var n=t.length;n--;)if(e.hasAttribute(t[n]))return e.getAttribute(t[n])},nd=function(e){var t,n;try{t=e.getBBox()}catch{t=ed(e),n=1}return t&&(t.width||t.height)||n||(t=ed(e)),t&&!t.width&&!t.x&&!t.y?{x:+td(e,[`x`,`cx`,`x1`])||0,y:+td(e,[`y`,`cy`,`y1`])||0,width:0,height:0}:t},rd=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&nd(e))},id=function(e,t){if(t){var n=e.style,r;t in xu&&t!==Uu&&(t=$),n.removeProperty?(r=t.substr(0,2),(r===`ms`||t.substr(0,6)===`webkit`)&&(t=`-`+t),n.removeProperty(r===`--`?t:t.replace(Eu,`-$1`).toLowerCase())):n.removeAttribute(t)}},ad=function(e,t,n,r,i,a){var o=new Ql(e._pt,t,n,0,1,a?Iu:Fu);return e._pt=o,o.b=r,o.e=i,e._props.push(n),o},od={deg:1,rad:1,turn:1},sd={grid:1,flex:1},cd=function e(t,n,r,i){var a=parseFloat(r)||0,o=(r+``).trim().substr((a+``).length)||`px`,s=_u.style,c=Du.test(n),l=t.tagName.toLowerCase()===`svg`,u=(l?`client`:`offset`)+(c?`Width`:`Height`),d=100,f=i===`px`,p=i===`%`,m,h,g,_;if(i===o||!a||od[i]||od[o])return a;if(o!==`px`&&!f&&(a=e(t,n,r,`px`)),_=t.getCTM&&rd(t),(p||o===`%`)&&(xu[n]||~n.indexOf(`adius`)))return m=_?t.getBBox()[c?`width`:`height`]:t[u],J(p?a/m*d:a/100*m);if(s[c?`width`:`height`]=d+(f?o:i),h=i!==`rem`&&~n.indexOf(`adius`)||i===`em`&&t.appendChild&&!l?t:t.parentNode,_&&(h=(t.ownerSVGElement||{}).parentNode),(!h||h===mu||!h.appendChild)&&(h=mu.body),g=h._gsap,g&&p&&g.width&&c&&g.time===ul.time&&!g.uncache)return J(a/g.width*d);if(p&&(n===`height`||n===`width`)){var v=t.style[n];t.style[n]=d+i,m=t[u],v?t.style[n]=v:id(t,n)}else (p||o===`%`)&&!sd[Xu(h,`display`)]&&(s.position=Xu(t,`position`)),h===t&&(s.position=`static`),h.appendChild(_u),m=_u[u],h.removeChild(_u),s.position=`absolute`;return c&&p&&(g=Rs(h),g.time=ul.time,g.width=h[u]),J(f?m*a/d:m&&a?d/m*a:0)},ld=function(e,t,n,r){var i;return gu||$u(),t in ku&&t!==`transform`&&(t=ku[t],~t.indexOf(`,`)&&(t=t.split(`,`)[0])),xu[t]&&t!==`transform`?(i=xd(e,r),i=t===`transformOrigin`?i.svg?i.origin:Sd(Xu(e,Uu))+` `+i.zOrigin+`px`:i[t]):(i=e.style[t],(!i||i===`auto`||r||~(i+``).indexOf(`calc(`))&&(i=md[t]&&md[t](e,t,n)||Xu(e,t)||zs(e,t)||+(t===`opacity`))),n&&!~(i+``).trim().indexOf(` `)?cd(e,t,i,n)+n:i},ud=function(e,t,n,r){if(!n||n===`none`){var i=Qu(t,e,1),a=i&&Xu(e,i,1);a&&a!==n?(t=i,n=a):t===`borderColor`&&(n=Xu(e,`borderTopColor`))}var o=new Ql(this._pt,e.style,t,0,1,Kl),s=0,c=0,l,u,d,f,p,m,h,g,_,v,y,b;if(o.b=n,o.e=r,n+=``,r+=``,r.substring(0,6)===`var(--`&&(r=Xu(e,r.substring(4,r.indexOf(`)`)))),r===`auto`&&(m=e.style[t],e.style[t]=r,r=Xu(e,t)||r,m?e.style[t]=m:id(e,t)),l=[n,r],cl(l),n=l[0],r=l[1],d=n.match(ls)||[],b=r.match(ls)||[],b.length){for(;u=ls.exec(r);)h=u[0],_=r.substring(s,u.index),p?p=(p+1)%5:(_.substr(-5)===`rgba(`||_.substr(-5)===`hsla(`)&&(p=1),h!==(m=d[c++]||``)&&(f=parseFloat(m)||0,y=m.substr((f+``).length),h.charAt(1)===`=`&&(h=Vs(f,h)+y),g=parseFloat(h),v=h.substr((g+``).length),s=ls.lastIndex-v.length,v||(v=v||Ho.units[t]||y,s===r.length&&(r+=v,o.e+=v)),y!==v&&(f=cd(e,t,m,v)||0),o._pt={_next:o._pt,p:_||c===1?_:`,`,s:f,c:g-f,m:p&&p<4||t===`zIndex`?Math.round:0});o.c=s<r.length?r.substring(s,r.length):``}else o.r=t===`display`&&r===`none`?Iu:Fu;return ds.test(r)&&(o.e=0),this._pt=o,o},dd={top:`0%`,bottom:`100%`,left:`0%`,right:`100%`,center:`50%`},fd=function(e){var t=e.split(` `),n=t[0],r=t[1]||`50%`;return(n===`top`||n===`bottom`||r===`left`||r===`right`)&&(e=n,n=r,r=e),t[0]=dd[n]||n,t[1]=dd[r]||r,t.join(` `)},pd=function(e,t){if(t.tween&&t.tween._time===t.tween._dur){var n=t.t,r=n.style,i=t.u,a=n._gsap,o,s,c;if(i===`all`||i===!0)r.cssText=``,s=1;else for(i=i.split(`,`),c=i.length;--c>-1;)o=i[c],xu[o]&&(s=1,o=o===`transformOrigin`?Uu:$),id(n,o);s&&(id(n,$),a&&(a.svg&&n.removeAttribute(`transform`),r.scale=r.rotate=r.translate=`none`,xd(n,1),a.uncache=1,Gu(r)))}},md={clearProps:function(e,t,n,r,i){if(i.data!==`isFromStart`){var a=e._pt=new Ql(e._pt,t,n,0,0,pd);return a.u=r,a.pr=-10,a.tween=i,e._props.push(n),1}}},hd=[1,0,0,1,0,0],gd={},_d=function(e){return e===`matrix(1, 0, 0, 1, 0, 0)`||e===`none`||!e},vd=function(e){var t=Xu(e,$);return _d(t)?hd:t.substr(7).match(cs).map(J)},yd=function(e,t){var n=e._gsap||Rs(e),r=e.style,i=vd(e),a,o,s,c;return n.svg&&e.getAttribute(`transform`)?(s=e.transform.baseVal.consolidate().matrix,i=[s.a,s.b,s.c,s.d,s.e,s.f],i.join(`,`)===`1,0,0,1,0,0`?hd:i):(i===hd&&!e.offsetParent&&e!==hu&&!n.svg&&(s=r.display,r.display=`block`,a=e.parentNode,(!a||!e.offsetParent&&!e.getBoundingClientRect().width)&&(c=1,o=e.nextElementSibling,hu.appendChild(e)),i=vd(e),s?r.display=s:id(e,`display`),c&&(o?a.insertBefore(e,o):a?a.appendChild(e):hu.removeChild(e))),t&&i.length>6?[i[0],i[1],i[4],i[5],i[12],i[13]]:i)},bd=function(e,t,n,r,i,a){var o=e._gsap,s=i||yd(e,!0),c=o.xOrigin||0,l=o.yOrigin||0,u=o.xOffset||0,d=o.yOffset||0,f=s[0],p=s[1],m=s[2],h=s[3],g=s[4],_=s[5],v=t.split(` `),y=parseFloat(v[0])||0,b=parseFloat(v[1])||0,x,S,C,w;n?s!==hd&&(S=f*h-p*m)&&(C=h/S*y+b*(-m/S)+(m*_-h*g)/S,w=y*(-p/S)+f/S*b-(f*_-p*g)/S,y=C,b=w):(x=nd(e),y=x.x+(~v[0].indexOf(`%`)?y/100*x.width:y),b=x.y+(~(v[1]||v[0]).indexOf(`%`)?b/100*x.height:b)),r||r!==!1&&o.smooth?(g=y-c,_=b-l,o.xOffset=u+(g*f+_*m)-g,o.yOffset=d+(g*p+_*h)-_):o.xOffset=o.yOffset=0,o.xOrigin=y,o.yOrigin=b,o.smooth=!!r,o.origin=t,o.originIsAbsolute=!!n,e.style[Uu]=`0px 0px`,a&&(ad(a,o,`xOrigin`,c,y),ad(a,o,`yOrigin`,l,b),ad(a,o,`xOffset`,u,o.xOffset),ad(a,o,`yOffset`,d,o.yOffset)),e.setAttribute(`data-svg-origin`,y+` `+b)},xd=function(e,t){var n=e._gsap||new Cl(e);if(`x`in n&&!t&&!n.uncache)return n;var r=e.style,i=n.scaleX<0,a=`px`,o=`deg`,s=getComputedStyle(e),c=Xu(e,Uu)||`0`,l=u=d=m=h=g=_=v=y=0,u,d,f=p=1,p,m,h,g,_,v,y,b,x,S,C,w,T,E,D,O,k,A,j,M,N,ee,te,P,ne,re,ie,ae;return n.svg=!!(e.getCTM&&rd(e)),s.translate&&((s.translate!==`none`||s.scale!==`none`||s.rotate!==`none`)&&(r[$]=(s.translate===`none`?``:`translate3d(`+(s.translate+` 0 0`).split(` `).slice(0,3).join(`, `)+`) `)+(s.rotate===`none`?``:`rotate(`+s.rotate+`) `)+(s.scale===`none`?``:`scale(`+s.scale.split(` `).join(`,`)+`) `)+(s[$]===`none`?``:s[$])),r.scale=r.rotate=r.translate=`none`),S=yd(e,n.svg),n.svg&&(n.uncache?(N=e.getBBox(),c=n.xOrigin-N.x+`px `+(n.yOrigin-N.y)+`px`,M=``):M=!t&&e.getAttribute(`data-svg-origin`),bd(e,M||c,!!M||n.originIsAbsolute,n.smooth!==!1,S)),b=n.xOrigin||0,x=n.yOrigin||0,S!==hd&&(E=S[0],D=S[1],O=S[2],k=S[3],l=A=S[4],u=j=S[5],S.length===6?(f=Math.sqrt(E*E+D*D),p=Math.sqrt(k*k+O*O),m=E||D?wu(D,E)*Su:0,_=O||k?wu(O,k)*Su+m:0,_&&(p*=Math.abs(Math.cos(_*Cu))),n.svg&&(l-=b-(b*E+x*O),u-=x-(b*D+x*k))):(ae=S[6],re=S[7],te=S[8],P=S[9],ne=S[10],ie=S[11],l=S[12],u=S[13],d=S[14],C=wu(ae,ne),h=C*Su,C&&(w=Math.cos(-C),T=Math.sin(-C),M=A*w+te*T,N=j*w+P*T,ee=ae*w+ne*T,te=A*-T+te*w,P=j*-T+P*w,ne=ae*-T+ne*w,ie=re*-T+ie*w,A=M,j=N,ae=ee),C=wu(-O,ne),g=C*Su,C&&(w=Math.cos(-C),T=Math.sin(-C),M=E*w-te*T,N=D*w-P*T,ee=O*w-ne*T,ie=k*T+ie*w,E=M,D=N,O=ee),C=wu(D,E),m=C*Su,C&&(w=Math.cos(C),T=Math.sin(C),M=E*w+D*T,N=A*w+j*T,D=D*w-E*T,j=j*w-A*T,E=M,A=N),h&&Math.abs(h)+Math.abs(m)>359.9&&(h=m=0,g=180-g),f=J(Math.sqrt(E*E+D*D+O*O)),p=J(Math.sqrt(j*j+ae*ae)),C=wu(A,j),_=Math.abs(C)>2e-4?C*Su:0,y=ie?1/(ie<0?-ie:ie):0),n.svg&&(M=e.getAttribute(`transform`),n.forceCSS=e.setAttribute(`transform`,``)||!_d(Xu(e,$)),M&&e.setAttribute(`transform`,M))),Math.abs(_)>90&&Math.abs(_)<270&&(i?(f*=-1,_+=m<=0?180:-180,m+=m<=0?180:-180):(p*=-1,_+=_<=0?180:-180)),t||=n.uncache,n.x=l-((n.xPercent=l&&(!t&&n.xPercent||(Math.round(e.offsetWidth/2)===Math.round(-l)?-50:0)))?e.offsetWidth*n.xPercent/100:0)+a,n.y=u-((n.yPercent=u&&(!t&&n.yPercent||(Math.round(e.offsetHeight/2)===Math.round(-u)?-50:0)))?e.offsetHeight*n.yPercent/100:0)+a,n.z=d+a,n.scaleX=J(f),n.scaleY=J(p),n.rotation=J(m)+o,n.rotationX=J(h)+o,n.rotationY=J(g)+o,n.skewX=_+o,n.skewY=v+o,n.transformPerspective=y+a,(n.zOrigin=parseFloat(c.split(` `)[2])||!t&&n.zOrigin||0)&&(r[Uu]=Sd(c)),n.xOffset=n.yOffset=0,n.force3D=Ho.force3D,n.renderTransform=n.svg?kd:Ju?Od:wd,n.uncache=0,n},Sd=function(e){return(e=e.split(` `))[0]+` `+e[1]},Cd=function(e,t,n){var r=Oc(t);return J(parseFloat(t)+parseFloat(cd(e,`x`,n+`px`,r)))+r},wd=function(e,t){t.z=`0px`,t.rotationY=t.rotationX=`0deg`,t.force3D=0,Od(e,t)},Td=`0deg`,Ed=`0px`,Dd=`) `,Od=function(e,t){var n=t||this,r=n.xPercent,i=n.yPercent,a=n.x,o=n.y,s=n.z,c=n.rotation,l=n.rotationY,u=n.rotationX,d=n.skewX,f=n.skewY,p=n.scaleX,m=n.scaleY,h=n.transformPerspective,g=n.force3D,_=n.target,v=n.zOrigin,y=``,b=g===`auto`&&e&&e!==1||g===!0;if(v&&(u!==Td||l!==Td)){var x=parseFloat(l)*Cu,S=Math.sin(x),C=Math.cos(x),w;x=parseFloat(u)*Cu,w=Math.cos(x),a=Cd(_,a,S*w*-v),o=Cd(_,o,-Math.sin(x)*-v),s=Cd(_,s,C*w*-v+v)}h!==Ed&&(y+=`perspective(`+h+Dd),(r||i)&&(y+=`translate(`+r+`%, `+i+`%) `),(b||a!==Ed||o!==Ed||s!==Ed)&&(y+=s!==Ed||b?`translate3d(`+a+`, `+o+`, `+s+`) `:`translate(`+a+`, `+o+Dd),c!==Td&&(y+=`rotate(`+c+Dd),l!==Td&&(y+=`rotateY(`+l+Dd),u!==Td&&(y+=`rotateX(`+u+Dd),(d!==Td||f!==Td)&&(y+=`skew(`+d+`, `+f+Dd),(p!==1||m!==1)&&(y+=`scale(`+p+`, `+m+Dd),_.style[$]=y||`translate(0, 0)`},kd=function(e,t){var n=t||this,r=n.xPercent,i=n.yPercent,a=n.x,o=n.y,s=n.rotation,c=n.skewX,l=n.skewY,u=n.scaleX,d=n.scaleY,f=n.target,p=n.xOrigin,m=n.yOrigin,h=n.xOffset,g=n.yOffset,_=n.forceCSS,v=parseFloat(a),y=parseFloat(o),b,x,S,C,w;s=parseFloat(s),c=parseFloat(c),l=parseFloat(l),l&&(l=parseFloat(l),c+=l,s+=l),s||c?(s*=Cu,c*=Cu,b=Math.cos(s)*u,x=Math.sin(s)*u,S=Math.sin(s-c)*-d,C=Math.cos(s-c)*d,c&&(l*=Cu,w=Math.tan(c-l),w=Math.sqrt(1+w*w),S*=w,C*=w,l&&(w=Math.tan(l),w=Math.sqrt(1+w*w),b*=w,x*=w)),b=J(b),x=J(x),S=J(S),C=J(C)):(b=u,C=d,x=S=0),(v&&!~(a+``).indexOf(`px`)||y&&!~(o+``).indexOf(`px`))&&(v=cd(f,`x`,a,`px`),y=cd(f,`y`,o,`px`)),(p||m||h||g)&&(v=J(v+p-(p*b+m*S)+h),y=J(y+m-(p*x+m*C)+g)),(r||i)&&(w=f.getBBox(),v=J(v+r/100*w.width),y=J(y+i/100*w.height)),w=`matrix(`+b+`,`+x+`,`+S+`,`+C+`,`+v+`,`+y+`)`,f.setAttribute(`transform`,w),_&&(f.style[$]=w)},Ad=function(e,t,n,r,i){var a=360,o=W(i),s=parseFloat(i)*(o&&~i.indexOf(`rad`)?Su:1)-r,c=r+s+`deg`,l,u;return o&&(l=i.split(`_`)[1],l===`short`&&(s%=a,s!==s%(a/2)&&(s+=s<0?a:-a)),l===`cw`&&s<0?s=(s+a*Tu)%a-~~(s/a)*a:l===`ccw`&&s>0&&(s=(s-a*Tu)%a-~~(s/a)*a)),e._pt=u=new Ql(e._pt,t,n,r,s,ju),u.e=c,u.u=`deg`,e._props.push(n),u},jd=function(e,t){for(var n in t)e[n]=t[n];return e},Md=function(e,t,n){var r=jd({},n._gsap),i=`perspective,force3D,transformOrigin,svgOrigin`,a=n.style,o,s,c,l,u,d,f,p;for(s in r.svg?(c=n.getAttribute(`transform`),n.setAttribute(`transform`,``),a[$]=t,o=xd(n,1),id(n,$),n.setAttribute(`transform`,c)):(c=getComputedStyle(n)[$],a[$]=t,o=xd(n,1),a[$]=c),xu)c=r[s],l=o[s],c!==l&&i.indexOf(s)<0&&(f=Oc(c),p=Oc(l),u=f===p?parseFloat(c):cd(n,s,c,p),d=parseFloat(l),e._pt=new Ql(e._pt,o,s,u,d-u,Au),e._pt.u=p||0,e._props.push(s));jd(o,r)};Bs(`padding,margin,Width,Radius`,function(e,t){var n=`Top`,r=`Right`,i=`Bottom`,a=`Left`,o=(t<3?[n,r,i,a]:[n+a,n+r,i+r,i+a]).map(function(n){return t<2?e+n:`border`+n+e});md[t>1?`border`+e:e]=function(e,t,n,r,i){var a,s;if(arguments.length<4)return a=o.map(function(t){return ld(e,t,n)}),s=a.join(` `),s.split(a[0]).length===5?a[0]:s;a=(r+``).split(` `),s={},o.forEach(function(e,t){return s[e]=a[t]=a[t]||a[(t-1)/2|0]}),e.init(t,s,i)}});var Nd={name:`css`,register:$u,targetTest:function(e){return e.style&&e.nodeType},init:function(e,t,n,r,i){var a=this._props,o=e.style,s=n.vars.startAt,c,l,u,d,f,p,m,h,g,_,v,y,b,x,S,C,w;for(m in gu||$u(),this.styles=this.styles||qu(e),C=this.styles.props,this.tween=n,t)if(m!==`autoRound`&&(l=t[m],!(Ms[m]&&kl(m,t,n,r,e,i)))){if(f=typeof l,p=md[m],f===`function`&&(l=l.call(n,r,e,i),f=typeof l),f===`string`&&~l.indexOf(`random(`)&&(l=Kc(l)),p)p(this,e,m,l,n)&&(S=1);else if(m.substr(0,2)===`--`)c=(getComputedStyle(e).getPropertyValue(m)+``).trim(),l+=``,ol.lastIndex=0,ol.test(c)||(h=Oc(c),g=Oc(l),g?h!==g&&(c=cd(e,m,c,g)+g):h&&(l+=h)),this.add(o,`setProperty`,c,l,r,i,0,0,m),a.push(m),C.push(m,0,o[m]);else if(f!==`undefined`){if(s&&m in s?(c=typeof s[m]==`function`?s[m].call(n,r,e,i):s[m],W(c)&&~c.indexOf(`random(`)&&(c=Kc(c)),Oc(c+``)||c===`auto`||(c+=Ho.units[m]||Oc(ld(e,m))||``),(c+``).charAt(1)===`=`&&(c=ld(e,m))):c=ld(e,m),d=parseFloat(c),_=f===`string`&&l.charAt(1)===`=`&&l.substr(0,2),_&&(l=l.substr(2)),u=parseFloat(l),m in ku&&(m===`autoAlpha`&&(d===1&&ld(e,`visibility`)===`hidden`&&u&&(d=0),C.push(`visibility`,0,o.visibility),ad(this,o,`visibility`,d?`inherit`:`hidden`,u?`inherit`:`hidden`,!u)),m!==`scale`&&m!==`transform`&&(m=ku[m],~m.indexOf(`,`)&&(m=m.split(`,`)[0]))),v=m in xu,v){if(this.styles.save(m),w=l,f===`string`&&l.substring(0,6)===`var(--`){if(l=Xu(e,l.substring(4,l.indexOf(`)`))),l.substring(0,5)===`calc(`){var T=e.style.perspective;e.style.perspective=l,l=Xu(e,`perspective`),T?e.style.perspective=T:id(e,`perspective`)}u=parseFloat(l)}if(y||(b=e._gsap,b.renderTransform&&!t.parseTransform||xd(e,t.parseTransform),x=t.smoothOrigin!==!1&&b.smooth,y=this._pt=new Ql(this._pt,o,$,0,1,b.renderTransform,b,0,-1),y.dep=1),m===`scale`)this._pt=new Ql(this._pt,b,`scaleY`,b.scaleY,(_?Vs(b.scaleY,_+u):u)-b.scaleY||0,Au),this._pt.u=0,a.push(`scaleY`,m),m+=`X`;else if(m===`transformOrigin`){C.push(Uu,0,o[Uu]),l=fd(l),b.svg?bd(e,l,0,x,0,this):(g=parseFloat(l.split(` `)[2])||0,g!==b.zOrigin&&ad(this,b,`zOrigin`,b.zOrigin,g),ad(this,o,m,Sd(c),Sd(l)));continue}else if(m===`svgOrigin`){bd(e,l,1,x,0,this);continue}else if(m in gd){Ad(this,b,m,d,_?Vs(d,_+l):l);continue}else if(m===`smoothOrigin`){ad(this,b,`smooth`,b.smooth,l);continue}else if(m===`force3D`){b[m]=l;continue}else if(m===`transform`){Md(this,l,e);continue}}else m in o||(m=Qu(m)||m);if(v||(u||u===0)&&(d||d===0)&&!Ou.test(l)&&m in o)h=(c+``).substr((d+``).length),u||=0,g=Oc(l)||(m in Ho.units?Ho.units[m]:h),h!==g&&(d=cd(e,m,c,g)),this._pt=new Ql(this._pt,v?b:o,m,d,(_?Vs(d,_+u):u)-d,!v&&(g===`px`||m===`zIndex`)&&t.autoRound!==!1?Pu:Au),this._pt.u=g||0,v&&w!==l?(this._pt.b=c,this._pt.e=w,this._pt.r=Nu):h!==g&&g!==`%`&&(this._pt.b=c,this._pt.r=Mu);else if(m in o)ud.call(this,e,m,c,_?_+l:l);else if(m in e)this.add(e,m,c||e[m],_?_+l:l,r,i);else if(m!==`parseTransform`){xs(m,l);continue}v||(m in o?C.push(m,0,o[m]):typeof e[m]==`function`?C.push(m,2,e[m]()):C.push(m,1,c||e[m])),a.push(m)}}S&&Zl(this)},render:function(e,t){if(t.tween._time||!yu())for(var n=t._pt;n;)n.r(e,n.d),n=n._next;else t.styles.revert()},get:ld,aliases:ku,getSetter:function(e,t,n){var r=ku[t];return r&&r.indexOf(`,`)<0&&(t=r),t in xu&&t!==Uu&&(e._gsap.x||ld(e,`x`))?n&&vu===n?t===`scale`?Bu:zu:(vu=n||{})&&(t===`scale`?Vu:Hu):e.style&&!$o(e.style[t])?Lu:~t.indexOf(`-`)?Ru:Ul(e,t)},core:{_removeProperty:id,_getMatrix:yd}};fu.utils.checkPrefix=Qu,fu.core.getStyleSaver=qu,(function(e,t,n,r){var i=Bs(e+`,`+t+`,`+n,function(e){xu[e]=1});Bs(t,function(e){Ho.units[e]=`deg`,gd[e]=1}),ku[i[13]]=e+`,`+t,Bs(r,function(e){var t=e.split(`:`);ku[t[1]]=i[t[0]]})})(`x,y,z,scale,scaleX,scaleY,xPercent,yPercent`,`rotation,rotationX,rotationY,skewX,skewY`,`transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective`,`0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY`),Bs(`x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective`,function(e){Ho.units[e]=`px`}),fu.registerPlugin(Nd);var Pd=fu.registerPlugin(Nd)||fu;Pd.core.Tween;var Fd=(e,t)=>{let[n,r]=getComputedStyle(e).getPropertyValue(t).trim().split(`,`).map(e=>parseFloat(e.trim()));return[isNaN(n)?0:n,isNaN(r)?1:r]},Id=({open:e,onOpenChange:t,trigger:n,title:r,description:i,children:a,footer:o,className:s,modalRootSelector:c,duration:f=1})=>{let p=(0,l.useRef)(null),m=(0,l.useRef)(null),h=(0,l.useRef)(null),g=(0,l.useRef)(null),_=(0,l.useRef)(null),v=(0,l.useId)(),y=(0,l.useId)(),b=typeof document>`u`?null:(c?document.querySelector(c):null)??document.body,x=(0,l.useCallback)(()=>{let e=p.current,t=m.current;if(!e||!t)return null;let[n,r]=Fd(t,`--modal-opacity`),[i,a]=Fd(t,`--modal-scale`),[o,s]=Fd(t,`--modal-translate-x`),[c,l]=Fd(t,`--modal-translate-y`),u=Pd.timeline({paused:!0,ease:`power1.out`});return u.fromTo(e,{autoAlpha:0},{autoAlpha:1,duration:f},0),u.fromTo(t,{autoAlpha:n,scale:i,xPercent:o,yPercent:c},{autoAlpha:r,scale:a,xPercent:s,yPercent:l,duration:f},0),u},[f]);return(0,l.useEffect)(()=>{g.current=x()},[x,b]),(0,l.useEffect)(()=>{g.current&&(e?g.current.play():g.current.reverse())},[e,b]),(0,l.useEffect)(()=>{e?(_.current=document.activeElement,h.current?.focus()):(_.current?.focus(),_.current=null)},[e]),(0,l.useEffect)(()=>{if(!e)return;let n=e=>{e.key===`Escape`&&t(!1)};return document.addEventListener(`keydown`,n),()=>document.removeEventListener(`keydown`,n)},[e,t]),(0,u.jsxs)(u.Fragment,{children:[n&&(0,u.jsx)(`span`,{style:{display:`contents`},onClick:()=>t(!0),children:n}),b&&(0,d.createPortal)((0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(`div`,{ref:p,className:`vi-modal-overlay`,"aria-hidden":`true`,onClick:()=>t(!1)}),(0,u.jsxs)(`div`,{ref:m,role:`dialog`,"aria-modal":`true`,inert:e?void 0:!0,"aria-labelledby":r?v:void 0,"aria-describedby":i?y:void 0,className:B(s),children:[(0,u.jsxs)(`button`,{ref:h,className:`vi-modal-close`,onClick:()=>t(!1),"aria-label":`Close`,children:[(0,u.jsx)(Co,{className:`h-4 w-4`}),(0,u.jsx)(`span`,{className:`sr-only`,children:`Close`})]}),(r||i)&&(0,u.jsxs)(`div`,{className:`vi-modal-header`,children:[r&&(0,u.jsx)(`h2`,{id:v,className:`vi-modal-title`,children:r}),i&&(0,u.jsx)(`p`,{id:y,className:`vi-modal-description`,children:i})]}),(0,u.jsx)(`div`,{className:`vi-modal-body`,children:a}),o&&(0,u.jsx)(`div`,{className:`vi-modal-footer`,children:o})]})]}),b)]})},Ld=(0,l.forwardRef)(({options:e,value:t=[],onChange:n,placeholder:r=`Select...`,label:i,description:a,disabled:o,className:s,maxCount:c=3},d)=>{let[f,p]=(0,l.useState)(!1),[m,h]=(0,l.useState)(0),g=(0,l.useRef)(null),_=(0,l.useId)(),v=`${_}-listbox`,y=e=>{let r=t.includes(e)?t.filter(t=>t!==e):[...t,e];n?.(r)},b=(e,r)=>{r.stopPropagation(),n?.(t.filter(t=>t!==e))};(0,l.useEffect)(()=>{if(!f)return;let e=e=>{g.current?.contains(e.target)||p(!1)};return document.addEventListener(`mousedown`,e),()=>document.removeEventListener(`mousedown`,e)},[f]);let x=t=>{if(!o)switch(t.key){case`Enter`:case` `:if(t.preventDefault(),!f){p(!0);return}e[m]?.disabled||y(e[m].value);break;case`ArrowDown`:if(t.preventDefault(),!f){p(!0);return}h(t=>Math.min(t+1,e.length-1));break;case`ArrowUp`:t.preventDefault(),h(e=>Math.max(e-1,0));break;case`Escape`:case`Tab`:p(!1);break}},S=t.slice(0,c),C=t.length-c;return(0,u.jsxs)(`div`,{className:B(`vi-multi-select-container`,s),ref:g,children:[i&&(0,u.jsx)(`label`,{htmlFor:_,className:`vi-multi-select-label`,children:i}),(0,u.jsxs)(`div`,{className:`vi-multi-select-wrapper`,children:[(0,u.jsxs)(`div`,{ref:d,id:_,role:`combobox`,tabIndex:o?-1:0,"aria-expanded":f,"aria-haspopup":`listbox`,"aria-controls":f?v:void 0,"aria-multiselectable":`true`,"aria-disabled":o||void 0,className:B(nr({variant:`ghost`}),`vi-multi-select-trigger`),onClick:()=>!o&&p(e=>!e),onKeyDown:x,children:[(0,u.jsx)(`span`,{className:`vi-multi-select-chips`,children:t.length===0?(0,u.jsx)(`span`,{className:`vi-multi-select-placeholder`,children:r}):(0,u.jsxs)(u.Fragment,{children:[S.map(t=>{let n=e.find(e=>e.value===t)?.label??t;return(0,u.jsxs)(`span`,{className:`vi-multi-select-chip`,children:[n,(0,u.jsx)(rr,{type:`button`,variant:`ghost`,disabled:o,"aria-label":`Remove ${n}`,className:`vi-multi-select-chip-remove h-auto w-auto p-0`,onClick:e=>b(t,e),children:(0,u.jsx)(Co,{className:`h-3 w-3`})})]},t)}),C>0&&(0,u.jsxs)(`span`,{className:`vi-multi-select-overflow`,children:[`+`,C]})]})}),(0,u.jsx)(vo,{className:B(`vi-multi-select-icon`,f&&`vi-multi-select-icon-open`)})]}),f&&(0,u.jsx)(`ul`,{id:v,role:`listbox`,"aria-multiselectable":`true`,"aria-label":i,className:`vi-multi-select-dropdown`,children:e.map((e,n)=>{let r=t.includes(e.value);return(0,u.jsxs)(`li`,{role:`option`,"aria-selected":r,"aria-disabled":e.disabled,className:B(`vi-multi-select-option`,r&&`vi-multi-select-option-selected`,e.disabled&&`vi-multi-select-option-disabled`,n===m&&`vi-multi-select-option-active`),onMouseEnter:()=>!e.disabled&&h(n),onClick:()=>{e.disabled||y(e.value)},children:[(0,u.jsx)(`span`,{className:B(`vi-multi-select-checkbox`,r&&`vi-multi-select-checkbox-checked`),children:r&&(0,u.jsx)(_o,{className:`h-3 w-3`})}),e.label]},e.value)})})]}),a&&(0,u.jsx)(`p`,{className:`vi-multi-select-description`,children:a})]})});Ld.displayName=`MultiSelect`;var Rd=(0,l.forwardRef)(({label:e,size:t=`default`,className:n,id:r,disabled:i,...a},o)=>{let s=(0,l.useId)(),c=r??s;return(0,u.jsxs)(`label`,{htmlFor:c,className:B(`vi-radio-item`,t!==`default`&&`vi-radio-item-${t}`,n),children:[(0,u.jsx)(`input`,{ref:o,id:c,type:`radio`,disabled:i,className:`vi-radio-input`,...a}),(0,u.jsx)(`span`,{className:`vi-radio-indicator`}),e&&(0,u.jsx)(`span`,{className:`vi-radio-label`,children:e})]})});Rd.displayName=`Radio`;var zd=(0,l.forwardRef)(({options:e,value:t,defaultValue:n,onChange:r,label:i,description:a,disabled:o,name:s,direction:c=`vertical`,size:d=`default`,className:f},p)=>{let m=(0,l.useId)(),h=s??m,g=t!==void 0;return(0,u.jsxs)(`div`,{ref:p,role:`radiogroup`,"aria-labelledby":i?`${m}-label`:void 0,className:B(`vi-radio-root`,f),children:[i&&(0,u.jsx)(`span`,{id:`${m}-label`,className:`vi-radio-legend`,children:i}),(0,u.jsx)(`div`,{className:B(`vi-radio-options`,c===`horizontal`&&`vi-radio-options-horizontal`),children:e.map(e=>{let i=`${m}-opt-${e.value}`,a=o||e.disabled;return(0,u.jsxs)(`label`,{htmlFor:i,className:B(`vi-radio-item`,d!==`default`&&`vi-radio-item-${d}`),children:[(0,u.jsx)(`input`,{id:i,type:`radio`,name:h,value:e.value,disabled:a,className:`vi-radio-input`,...g?{checked:e.value===t,onChange:t=>{t.target.checked&&r?.(e.value)}}:{defaultChecked:e.value===n,onChange:t=>{t.target.checked&&r?.(e.value)}}}),(0,u.jsx)(`span`,{className:`vi-radio-indicator`}),(0,u.jsx)(`span`,{className:`vi-radio-label`,children:e.label})]},e.value)})}),a&&(0,u.jsx)(`p`,{className:`vi-radio-description`,children:a})]})});zd.displayName=`RadioGroup`;var Bd=(0,l.forwardRef)(({options:e,value:t,onChange:n,placeholder:r=`Select...`,label:i,description:a,disabled:o,className:s,name:c},d)=>{let[f,p]=(0,l.useState)(!1),[m,h]=(0,l.useState)(0),g=(0,l.useRef)(null),_=(0,l.useId)(),v=`${_}-listbox`,y=e.find(e=>e.value===t);return(0,l.useEffect)(()=>{if(!f)return;let e=e=>{g.current?.contains(e.target)||p(!1)};return document.addEventListener(`mousedown`,e),()=>document.removeEventListener(`mousedown`,e)},[f]),(0,l.useEffect)(()=>{if(f){let n=e.findIndex(e=>e.value===t);h(n>=0?n:0)}},[f,e,t]),(0,u.jsxs)(`div`,{className:B(`vi-select-container`,s),ref:g,children:[i&&(0,u.jsx)(`label`,{htmlFor:_,className:`vi-select-label`,children:i}),(0,u.jsxs)(`div`,{className:`vi-select-wrapper`,children:[(0,u.jsxs)(rr,{ref:d,id:_,type:`button`,role:`combobox`,"aria-expanded":f,"aria-haspopup":`listbox`,"aria-controls":f?v:void 0,"aria-activedescendant":f&&m>=0?`${_}-opt-${m}`:void 0,disabled:o,variant:`ghost`,className:`vi-select-trigger`,onClick:()=>p(e=>!e),onKeyDown:t=>{if(!o)switch(t.key){case`Enter`:case` `:if(t.preventDefault(),!f){p(!0);return}e[m]?.disabled||(n?.(e[m].value),p(!1));break;case`ArrowDown`:if(t.preventDefault(),!f){p(!0);return}h(t=>{let n=t+1;for(;n<e.length&&e[n].disabled;)n++;return n<e.length?n:t});break;case`ArrowUp`:t.preventDefault(),h(t=>{let n=t-1;for(;n>=0&&e[n].disabled;)n--;return n>=0?n:t});break;case`Escape`:case`Tab`:p(!1);break}},children:[(0,u.jsx)(`span`,{className:B(!y&&`vi-select-placeholder`),children:y?y.label:r}),(0,u.jsx)(vo,{className:B(`vi-select-icon`,f&&`vi-select-icon-open`)})]}),c&&(0,u.jsx)(`input`,{type:`hidden`,name:c,value:t??``}),f&&(0,u.jsx)(`ul`,{id:v,role:`listbox`,"aria-label":i,className:`vi-select-dropdown`,children:e.map((e,r)=>(0,u.jsxs)(`li`,{id:`${_}-opt-${r}`,role:`option`,"aria-selected":e.value===t,"aria-disabled":e.disabled,className:B(`vi-select-option`,e.value===t&&`vi-select-option-selected`,e.disabled&&`vi-select-option-disabled`,r===m&&`vi-select-option-active`),onMouseEnter:()=>!e.disabled&&h(r),onClick:()=>{e.disabled||(n?.(e.value),p(!1))},children:[(0,u.jsx)(_o,{className:`vi-select-check`}),e.label]},e.value))})]}),a&&(0,u.jsx)(`p`,{className:`vi-select-description`,children:a})]})});Bd.displayName=`Select`;var Vd=(0,l.forwardRef)(({label:e,size:t=`default`,labelPosition:n=`right`,className:r,id:i,disabled:a,...o},s)=>{let c=(0,l.useId)(),d=i??c,f=(0,u.jsx)(`span`,{className:`vi-switch-track`,children:(0,u.jsx)(`span`,{className:`vi-switch-thumb`})});return(0,u.jsxs)(`label`,{htmlFor:d,className:B(`vi-switch-item`,t!==`default`&&`vi-switch-item-${t}`,r),children:[(0,u.jsx)(`input`,{ref:s,id:d,type:`checkbox`,role:`switch`,disabled:a,className:`vi-switch-input`,...o}),n===`left`&&e&&(0,u.jsx)(`span`,{className:`vi-switch-label`,children:e}),f,n===`right`&&e&&(0,u.jsx)(`span`,{className:`vi-switch-label`,children:e})]})});Vd.displayName=`Switch`;var Hd=(0,l.forwardRef)(({className:e,...t},n)=>(0,u.jsx)(`div`,{className:`vi-table-wrapper`,children:(0,u.jsx)(`table`,{ref:n,className:B(`vi-table`,e),...t})}));Hd.displayName=`Table`;var Ud=(0,l.forwardRef)(({className:e,...t},n)=>(0,u.jsx)(`thead`,{ref:n,className:B(`vi-table-header`,e),...t}));Ud.displayName=`TableHeader`;var Wd=(0,l.forwardRef)(({className:e,...t},n)=>(0,u.jsx)(`tbody`,{ref:n,className:B(`vi-table-body`,e),...t}));Wd.displayName=`TableBody`;var Gd=(0,l.forwardRef)(({className:e,...t},n)=>(0,u.jsx)(`tfoot`,{ref:n,className:B(`vi-table-footer`,e),...t}));Gd.displayName=`TableFooter`;var Kd=(0,l.forwardRef)(({className:e,...t},n)=>(0,u.jsx)(`tr`,{ref:n,className:B(`vi-table-row`,e),...t}));Kd.displayName=`TableRow`;var qd=(0,l.forwardRef)(({className:e,...t},n)=>(0,u.jsx)(`th`,{ref:n,className:B(`vi-table-head`,e),...t}));qd.displayName=`TableHead`;var Jd=(0,l.forwardRef)(({className:e,...t},n)=>(0,u.jsx)(`td`,{ref:n,className:B(`vi-table-cell`,e),...t}));Jd.displayName=`TableCell`;var Yd=(0,l.forwardRef)(({className:e,...t},n)=>(0,u.jsx)(`p`,{ref:n,className:B(`vi-table-caption`,e),...t}));Yd.displayName=`TableCaption`;var Xd=({tabs:e,value:t,defaultValue:n,onChange:r,className:i})=>{let a=(0,l.useId)(),o=t!==void 0,[s,c]=(0,l.useState)(n??e[0]?.value??``),d=o?t:s,f=e=>{o||c(e),r?.(e)};return(0,u.jsxs)(`div`,{className:B(`vi-tabs-root`,i),children:[(0,u.jsx)(`div`,{role:`tablist`,className:`vi-tabs-list`,children:e.map(e=>(0,u.jsx)(rr,{role:`tab`,variant:`ghost`,id:`${a}-tab-${e.value}`,"aria-controls":`${a}-panel-${e.value}`,"aria-selected":e.value===d,disabled:e.disabled,className:B(`vi-tabs-trigger`,e.value===d&&`vi-tabs-trigger-active`),onClick:()=>f(e.value),children:e.label},e.value))}),e.map(e=>(0,u.jsx)(`div`,{id:`${a}-panel-${e.value}`,role:`tabpanel`,"aria-labelledby":`${a}-tab-${e.value}`,hidden:e.value!==d,className:`vi-tabs-content`,children:e.content},e.value))]})};Xd.displayName=`Tabs`;var Zd=(0,l.forwardRef)(({className:e,label:t,description:n,hidden:r,validate:i,onValidationChange:a,id:o,...s},c)=>{let[d,f]=(0,l.useState)(null),p=(0,l.useId)(),m=o??p,[h,g]=(0,l.useState)(typeof s.defaultValue==`string`?s.defaultValue:``),_=s.value===void 0?h:String(s.value),v=e=>{if(g(e.target.value),i){let t=i(e.target.value);f(t),a?.(!t)}s.onChange?.(e)},y=B(`flex min-h-[36px] w-full rounded-md border border-input bg-transparent px-3 py-2 text-base shadow-sm transition-colors`,`placeholder:text-muted-foreground`,`focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring`,`disabled:cursor-not-allowed disabled:opacity-50`,`md:text-sm`,d&&`border-destructive focus-visible:ring-destructive`);return(0,u.jsxs)(`div`,{className:`flex flex-col gap-1 w-full`,children:[t&&(0,u.jsx)(`label`,{htmlFor:m,className:`text-sm font-medium`,children:t}),(0,u.jsxs)(`div`,{className:`relative`,children:[(0,u.jsx)(`textarea`,{ref:c,id:m,className:B(y,r&&`text-transparent [caret-color:hsl(var(--foreground))]`,e),onChange:v,placeholder:r?void 0:s.placeholder,...s}),r&&_.length>0&&(0,u.jsx)(`div`,{"aria-hidden":`true`,className:B(y,`absolute inset-0 pointer-events-none`,`overflow-hidden`,`whitespace-pre-wrap break-all`,`bg-transparent border-transparent shadow-none ring-0`),children:`•`.repeat(_.length)})]}),n&&!d&&(0,u.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:n}),d&&(0,u.jsx)(`p`,{className:`text-xs text-destructive font-medium`,children:d})]})});Zd.displayName=`Textarea`;var Qd=null,$d=e=>{Qd=e},ef={success:(e,t)=>{let n=t!==void 0;Qd?.({variant:`success`,title:n?e:void 0,description:n?t:e})},error:(e,t)=>{let n=t!==void 0;Qd?.({variant:`error`,title:n?e:void 0,description:n?t:e})},warning:(e,t)=>{let n=t!==void 0;Qd?.({variant:`warning`,title:n?e:void 0,description:n?t:e})},info:(e,t)=>{let n=t!==void 0;Qd?.({variant:`info`,title:n?e:void 0,description:n?t:e})},default:(e,t)=>{let n=t!==void 0;Qd?.({variant:`default`,title:n?e:void 0,description:n?t:e})}},tf=({children:e,position:t=`right`})=>{let[n,r]=(0,l.useState)([]),i=(0,l.useCallback)(e=>{let t=Date.now().toString()+Math.random().toString(36),n={...e,id:t};r(e=>[...e,n].slice(-5)),setTimeout(()=>{r(e=>e.filter(e=>e.id!==t))},e.duration||5e3)},[]);return(0,l.useEffect)(()=>($d(i),()=>{$d(null)}),[i]),(0,u.jsxs)(u.Fragment,{children:[e,(0,u.jsx)(`div`,{className:B(`vi-toast-viewport`,t===`left`&&`vi-toast-viewport-left`),children:n.map(e=>(0,u.jsx)(nf,{...e},e.id))})]})},nf=({variant:e,title:t,description:n})=>{let r=!!t;return(0,u.jsx)(`div`,{className:B(`vi-toast`,`vi-toast-variant-${e}`),children:(0,u.jsxs)(`div`,{className:`vi-toast-content`,children:[r&&(0,u.jsx)(`div`,{className:`vi-toast-title`,children:t}),n&&(0,u.jsx)(`div`,{className:B(`vi-toast-description`,!r&&`vi-toast-description-colored`),children:n})]})})},rf=(0,l.forwardRef)(({percentage:e,children:t,label:n,size:r=120,strokeWidth:i=8,animate:a=!0,className:o},s)=>{let c=Math.min(100,Math.max(0,e)),d=r/2,f=d-i/2,p=2*Math.PI*f,m=p*(1-c/100),h=(0,l.useRef)(null);return(0,l.useEffect)(()=>{let e=h.current;if(e){if(!a){Pd.set(e,{strokeDashoffset:m});return}Pd.fromTo(e,{strokeDashoffset:p},{strokeDashoffset:m,duration:1.8,ease:`power2.out`})}},[a,p,m]),(0,u.jsxs)(`div`,{ref:s,className:B(`vi-circular-progress`,o),children:[(0,u.jsxs)(`div`,{className:`vi-circular-progress-arc`,style:{width:r,height:r},children:[(0,u.jsxs)(`svg`,{width:r,height:r,"aria-hidden":`true`,className:`vi-circular-progress-svg`,children:[(0,u.jsx)(`circle`,{cx:d,cy:d,r:f,fill:`none`,strokeWidth:i,className:`vi-circular-progress-track`}),(0,u.jsx)(`circle`,{ref:h,cx:d,cy:d,r:f,fill:`none`,strokeWidth:i,strokeLinecap:`round`,strokeDasharray:p,strokeDashoffset:a?p:m,transform:`rotate(-90 ${d} ${d})`,className:`vi-circular-progress-fill`})]}),(0,u.jsx)(`div`,{className:`vi-circular-progress-center`,children:t??(0,u.jsxs)(`span`,{className:`vi-circular-progress-pct`,children:[c,`%`]})})]}),n&&(0,u.jsx)(`p`,{className:`vi-circular-progress-label`,children:n})]})});rf.displayName=`CircularProgressBar`;var af=({value:e,defaultValue:t=``,placeholder:n=`Search...`,disabled:r=!1,loading:i=!1,debounce:a=300,shortcut:o,showButton:s=!1,className:c,onSearch:d,onChange:f,onClear:p})=>{let m=e!==void 0,[h,g]=(0,l.useState)(t),_=m?e:h,v=(0,l.useRef)(null),y=(0,l.useRef)(d);(0,l.useEffect)(()=>{y.current=d});let b=(0,l.useId)(),x=(0,l.useRef)(null);(0,l.useEffect)(()=>{let e=it(e=>y.current?.(e),a);return x.current=e,()=>e.cancel()},[a]);let S=e=>{let t=e.target.value;m||g(t),f?.(e),s||x.current?.(t)},C=()=>{m||g(``),x.current?.cancel(),d?.(``),p?.(),v.current?.focus()},w=e=>{e.key===`Escape`&&_&&(e.preventDefault(),C()),e.key===`Enter`&&s&&(x.current?.cancel(),d?.(_))},T=()=>{x.current?.cancel(),d?.(_)},E=!i&&_.length>0,D=o&&!_&&!i,O=(0,u.jsxs)(`div`,{className:B(`vi-search-input`,r&&`vi-search-input--disabled`,!s&&c),children:[!s&&(0,u.jsx)(So,{className:`vi-search-input__search-icon`,"aria-hidden":`true`}),(0,u.jsx)(`input`,{ref:v,id:b,type:`search`,autoComplete:`off`,spellCheck:`false`,value:_,placeholder:n,disabled:r,className:`vi-search-input__field`,onChange:S,onKeyDown:w,"aria-label":n}),D&&(0,u.jsx)(`kbd`,{className:`vi-search-input__shortcut`,"aria-hidden":`true`,children:o}),i&&(0,u.jsx)(`span`,{className:`vi-search-input__spinner`,"aria-hidden":`true`}),E&&(0,u.jsx)(`button`,{type:`button`,className:`vi-search-input__clear`,onClick:C,"aria-label":`Clear search`,children:(0,u.jsx)(Co,{"aria-hidden":`true`})})]});return s?(0,u.jsxs)(`div`,{className:B(`vi-search-input-group`,c),children:[O,(0,u.jsx)(rr,{size:`icon`,onClick:T,disabled:r,"aria-label":`Search`,children:(0,u.jsx)(So,{"aria-hidden":`true`})})]}):O},of=({logo:e,linkGroups:t=[],copyright:n,className:r})=>{let i=e||t.length>0;return(0,u.jsx)(`footer`,{className:B(`vi-footer`,r),children:(0,u.jsxs)(`div`,{className:`vi-footer-inner`,children:[i&&(0,u.jsxs)(`div`,{className:`vi-footer-top`,children:[e&&(0,u.jsx)(`div`,{className:`vi-footer-logo`,children:(0,u.jsx)(Ro,{...e})}),t.length>0&&(0,u.jsx)(`nav`,{className:`vi-footer-nav`,"aria-label":`Footer navigation`,children:t.map((e,t)=>(0,u.jsxs)(`div`,{className:`vi-footer-group`,children:[e.title&&(0,u.jsx)(`p`,{className:`vi-footer-group-title`,children:e.title}),(0,u.jsx)(`ul`,{className:`vi-footer-links`,children:e.links.map(e=>(0,u.jsx)(`li`,{children:(0,u.jsx)(Lo,{link:e,noBaseClass:!0,className:`vi-footer-link`})},e.url))})]},t))})]}),i&&n&&(0,u.jsx)(`hr`,{className:`vi-footer-divider`}),n&&(0,u.jsx)(`div`,{className:`vi-footer-bottom`,children:(0,u.jsx)(`p`,{className:`vi-footer-copyright`,children:n})})]})})},sf=({logo:e,ctaLinks:t=[],modalRootSelector:n})=>{let[r,i]=(0,l.useState)(!1);return(0,u.jsxs)(`header`,{className:`vi-header`,children:[(0,u.jsxs)(`div`,{className:`vi-header-mobile`,children:[(0,u.jsx)(Ro,{name:e.name,image:e.image,link:e.link}),t.length>0&&(0,u.jsx)(Id,{open:r,onOpenChange:i,title:e.name,className:`vi-modal-slide-right z-[1001]`,modalRootSelector:n,trigger:(0,u.jsx)(rr,{variant:`ghost`,title:`Menu Button`,"aria-label":`Open menu`,children:(0,u.jsx)(xo,{size:24,"aria-hidden":`true`})}),children:(0,u.jsx)(`div`,{className:`flex flex-col gap-3`,children:t.map(e=>(0,u.jsxs)(Lo,{link:e,noBaseClass:!0,className:`flex items-center justify-between text-sm font-medium hover:underline`,children:[(0,u.jsx)(`span`,{children:e.text}),(0,u.jsx)(bo,{size:16,"aria-hidden":`true`})]},e.url))})})]}),(0,u.jsxs)(`div`,{className:`hidden lg:flex items-center justify-between px-8 py-4`,children:[(0,u.jsx)(Ro,{...e}),t.length>0&&(0,u.jsx)(`nav`,{className:`flex items-center gap-6`,children:t.map(e=>(0,u.jsx)(Lo,{link:e,noBaseClass:!0,className:`text-sm font-medium hover:underline`},e.url))})]})]})},cf=({text:e,children:t,className:n,triggerClassName:r})=>{let[i,a]=(0,l.useState)(!1),o=(0,l.useRef)(void 0),s=(0,l.useId)();(0,l.useEffect)(()=>()=>clearTimeout(o.current),[]);let c=()=>{clearTimeout(o.current),a(!0)},d=()=>{o.current=setTimeout(()=>a(!1),120)};return(0,u.jsxs)(`div`,{className:B(`vi-hover-popup-wrapper`,n),onMouseEnter:c,onMouseLeave:d,onFocus:c,onBlur:d,children:[(0,u.jsx)(`span`,{className:B(`vi-hover-popup-main-text`,r),tabIndex:0,"aria-describedby":s,children:e}),(0,u.jsx)(`div`,{id:s,role:`tooltip`,"aria-hidden":!i,className:B(`vi-hover-popup-modal`,i&&`vi-hover-popup-modal-visible`),children:t})]})},lf=()=>(0,u.jsxs)(`div`,{className:`vi-pnf`,children:[(0,u.jsx)(`div`,{className:`vi-pnf-bg-gradient`}),(0,u.jsx)(`div`,{className:`vi-pnf-orb-gold`}),(0,u.jsx)(`div`,{className:`vi-pnf-orb-green`}),(0,u.jsxs)(`div`,{className:`vi-pnf-content`,children:[(0,u.jsxs)(`div`,{className:`vi-pnf-404-wrap`,children:[(0,u.jsx)(`h1`,{className:`vi-pnf-404`,children:`404`}),(0,u.jsx)(`div`,{className:`vi-pnf-404-glow`})]}),(0,u.jsxs)(`div`,{className:`vi-pnf-message`,children:[(0,u.jsx)(`h2`,{className:`vi-pnf-title`,children:`Page Not Found`}),(0,u.jsx)(`p`,{className:`vi-pnf-subtitle`,children:`Looks like you've ventured into uncharted territory. The page you're looking for doesn't exist or has been moved.`})]}),(0,u.jsx)(`div`,{className:`vi-pnf-actions`,children:(0,u.jsx)(rr,{asChild:!0,size:`lg`,className:`vi-pnf-btn group`,children:(0,u.jsx)(`a`,{href:`/`,children:(0,u.jsxs)(`span`,{className:`vi-pnf-btn-inner`,children:[(0,u.jsxs)(`svg`,{width:`16`,height:`16`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`,children:[(0,u.jsx)(`path`,{d:`m12 19-7-7 7-7`}),(0,u.jsx)(`path`,{d:`M19 12H5`})]}),`Back to Home`]})})})})]}),(0,u.jsx)(`div`,{className:`vi-pnf-divider`})]}),uf=({icon:e,label:t,onClick:n,active:r,tooltip:i,className:a})=>(0,u.jsxs)(rr,{variant:`ghost`,size:`sm`,onClick:n,title:i,className:B(`vi-aside-item`,r&&`vi-aside-item--active`,a),children:[(0,u.jsx)(`span`,{className:`vi-aside-item-icon`,children:e}),(0,u.jsx)(`span`,{className:`vi-aside-item-label`,children:t})]});uf.displayName=`AsideBtn`;var df=({label:e,icon:t,active:n,tooltip:r,className:i,type:a,open:o})=>a===`divider`&&o===!1?(0,u.jsx)(`div`,{className:`vi-aside-item-divider-line`}):(0,u.jsxs)(`div`,{title:r,className:B(`vi-aside-item vi-aside-item-text`,a===`divider`&&`vi-aside-item-text--divider`,n&&`vi-aside-item--active`,i),children:[t&&(0,u.jsx)(`span`,{className:`vi-aside-item-icon`,children:t}),(0,u.jsx)(`span`,{className:`vi-aside-item-label`,children:e})]});df.displayName=`AsideText`;var ff=({items:e,open:t,onToggle:n,title:r,footer:i,openWidth:a=`w-44`,className:o})=>{let s=t!==void 0&&n!==void 0,c=t===void 0?!0:t;return(0,u.jsxs)(`aside`,{className:B(`vi-aside`,c&&B(`vi-aside--open`,a),o),children:[r&&(0,u.jsx)(`div`,{className:`vi-aside-header`,children:(0,u.jsx)(`span`,{className:`vi-aside-title`,children:r})}),(0,u.jsx)(`nav`,{className:`vi-aside-nav`,children:e.map((t,n)=>!c&&t.type===`divider`&&(n===0||n===e.length-1)?null:t.onClick?(0,u.jsx)(uf,{icon:t.icon,label:t.label,onClick:t.onClick,active:t.active,tooltip:c?void 0:t.label},n):(0,u.jsx)(df,{icon:t.icon,label:t.label,active:t.active,type:t.type,open:c,tooltip:c?void 0:t.label},n))}),i&&(0,u.jsx)(`div`,{className:`vi-aside-footer`,children:i(c)}),s&&(0,u.jsx)(`div`,{className:`vi-aside-toggle`,children:(0,u.jsx)(rr,{variant:`ghost`,size:`sm`,onClick:n,title:c?`Collapse`:`Expand`,className:`vi-aside-toggle-btn`,children:c?(0,u.jsx)(yo,{className:`h-4 w-4`}):(0,u.jsx)(bo,{className:`h-4 w-4`})})})]})};ff.displayName=`PageAside`;var pf=[`Jan`,`Feb`,`Mar`,`Apr`,`May`,`Jun`,`Jul`,`Aug`,`Sep`,`Oct`,`Nov`,`Dec`],mf=({items:e,scrollAlign:t=`center`,className:n})=>{let[r,i]=(0,l.useState)(e[0]?.year??null),[a,o]=(0,l.useState)(null),[s,c]=(0,l.useState)(null),d=(0,l.useRef)([]),f=(0,l.useRef)(!1),p=(0,l.useRef)(null);(0,l.useEffect)(()=>(d.current.forEach(e=>e.disconnect()),d.current=[],e.forEach(({year:e,months:t})=>{let n=document.getElementById(`year-${e}`);if(n){let t=new IntersectionObserver(([t])=>{t.isIntersecting&&!f.current&&(i(e),o(null))},{threshold:0,rootMargin:`-30% 0px -60% 0px`});t.observe(n),d.current.push(t)}t?.forEach(t=>{let n=document.getElementById(`year-${e}-month-${t}`);if(!n)return;let r=new IntersectionObserver(([n])=>{n.isIntersecting&&!f.current&&(i(e),o(t))},{threshold:0,rootMargin:`-30% 0px -60% 0px`});r.observe(n),d.current.push(r)})}),()=>d.current.forEach(e=>e.disconnect())),[e]);let m=e=>{f.current=!0;let n=e.getBoundingClientRect().top+window.scrollY,r={top:0,center:-window.innerHeight/2+e.offsetHeight/2,bottom:-window.innerHeight+e.offsetHeight};if(window.scrollTo({top:n+r[t],behavior:`smooth`}),`onscrollend`in window)window.addEventListener(`scrollend`,()=>{f.current=!1},{once:!0});else{let e=()=>{p.current&&clearTimeout(p.current),p.current=setTimeout(()=>{f.current=!1,window.removeEventListener(`scroll`,e)},150)};window.addEventListener(`scroll`,e,{passive:!0})}},h=e=>{let t=document.getElementById(`year-${e}`);t&&(i(e),o(null),m(t))},g=(e,t)=>{let n=document.getElementById(`year-${e}-month-${t}`);n&&(i(e),o(t),m(n))};return e.length===0?null:(0,u.jsx)(`div`,{className:B(`vi-year-dot-nav`,n),children:e.map(({year:e,months:t})=>(0,u.jsxs)(`div`,{className:`vi-year-dot-nav-group`,children:[(0,u.jsxs)(`div`,{className:`vi-year-dot-nav-item`,children:[(0,u.jsx)(`span`,{className:B(`vi-year-dot-nav-label`,s===`year-${e}`&&`vi-year-dot-nav-label--visible`),children:e}),(0,u.jsx)(`button`,{className:`vi-year-dot-nav-btn`,onClick:()=>h(e),onMouseEnter:()=>c(`year-${e}`),onMouseLeave:()=>c(null),"aria-label":`Scroll to ${e}`,children:(0,u.jsx)(`div`,{className:B(`vi-year-dot-nav-dot`,r===e&&`vi-year-dot-nav-dot--active`)})})]}),t&&r===e&&(0,u.jsx)(`div`,{className:`vi-year-dot-nav-months`,children:t.map(t=>(0,u.jsxs)(`div`,{className:`vi-year-dot-nav-item`,children:[(0,u.jsx)(`span`,{className:B(`vi-year-dot-nav-label`,s===`year-${e}-month-${t}`&&`vi-year-dot-nav-label--visible`),children:pf[t-1]}),(0,u.jsx)(`button`,{className:`vi-year-dot-nav-btn vi-year-dot-nav-btn--month`,onClick:()=>g(e,t),onMouseEnter:()=>c(`year-${e}-month-${t}`),onMouseLeave:()=>c(null),"aria-label":`Scroll to ${pf[t-1]} ${e}`,children:(0,u.jsx)(`div`,{className:B(`vi-year-dot-nav-dot vi-year-dot-nav-dot--month`,a===t&&`vi-year-dot-nav-dot--active`)})})]},t))})]},e))})};mf.displayName=`YearDotNav`,exports.Accordion=Rn,exports.AsideBtn=uf,exports.AsideText=df,exports.Badge=Hn,exports.Button=rr,exports.Card=ir,exports.CardContent=cr,exports.CardDescription=sr,exports.CardImage=ar,exports.CardTitle=or,exports.CardWrapper=lr,exports.Checkbox=ur,exports.CheckboxGroup=dr,exports.CircularProgressBar=rf,exports.Dialog=wo,exports.DialogClose=Do,exports.DialogContent=ko,exports.DialogDescription=No,exports.DialogFooter=jo,exports.DialogHeader=Ao,exports.DialogOverlay=Oo,exports.DialogPortal=Eo,exports.DialogTitle=Mo,exports.DialogTrigger=To,exports.Footer=of,exports.FormField=Po,exports.Header=sf,exports.HoverPopup=cf,exports.Input=Fo,exports.Link=Lo,exports.Loading=zo,exports.LogoLink=Ro,exports.Modal=Id,exports.MultiSelect=Ld,exports.PageAside=ff,exports.PageNotFound=lf,exports.Radio=Rd,exports.RadioGroup=zd,exports.SearchInput=af,exports.Select=Bd,exports.Switch=Vd,exports.Table=Hd,exports.TableBody=Wd,exports.TableCaption=Yd,exports.TableCell=Jd,exports.TableFooter=Gd,exports.TableHead=qd,exports.TableHeader=Ud,exports.TableRow=Kd,exports.Tabs=Xd,exports.Textarea=Zd,exports.ToastProvider=tf,exports.YearDotNav=mf,exports.buttonVariants=nr,exports.clamp=tt,exports.cn=B,exports.debounce=it,exports.round=et,exports.setGlobalAddToast=$d,exports.throttle=rt,exports.toast=ef,exports.truncate=nt;
45
+ For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return l.useEffect(()=>{e&&(document.getElementById(e)||console.error(n))},[n,e]),null},Ya=`DialogDescriptionWarning`,Xa=({contentRef:e,descriptionId:t})=>{let n=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${qa(Ya).contentName}}.`;return l.useEffect(()=>{let r=e.current?.getAttribute(`aria-describedby`);t&&r&&(document.getElementById(t)||console.warn(n))},[n,e,t]),null},Za=Sa,Qa=wa,$a=Oa,eo=Aa,to=Pa,no=za,ro=Va,io=Ua,ao=(...e)=>e.filter((e,t,n)=>!!e&&e.trim()!==``&&n.indexOf(e)===t).join(` `).trim(),oo=e=>e.replace(/([a-z0-9])([A-Z])/g,`$1-$2`).toLowerCase(),so=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,n)=>n?n.toUpperCase():t.toLowerCase()),co=e=>{let t=so(e);return t.charAt(0).toUpperCase()+t.slice(1)},lo={xmlns:`http://www.w3.org/2000/svg`,width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:2,strokeLinecap:`round`,strokeLinejoin:`round`},uo=e=>{for(let t in e)if(t.startsWith(`aria-`)||t===`role`||t===`title`)return!0;return!1},fo=(0,c.createContext)({}),po=()=>(0,c.useContext)(fo),mo=(0,c.forwardRef)(({color:e,size:t,strokeWidth:n,absoluteStrokeWidth:r,className:i=``,children:a,iconNode:o,...s},l)=>{let{size:u=24,strokeWidth:d=2,absoluteStrokeWidth:f=!1,color:p=`currentColor`,className:m=``}=po()??{},h=r??f?Number(n??d)*24/Number(t??u):n??d;return(0,c.createElement)(`svg`,{ref:l,...lo,width:t??u??lo.width,height:t??u??lo.height,stroke:e??p,strokeWidth:h,className:ao(`lucide`,m,i),...!a&&!uo(s)&&{"aria-hidden":`true`},...s},[...o.map(([e,t])=>(0,c.createElement)(e,t)),...Array.isArray(a)?a:[a]])}),ho=(e,t)=>{let n=(0,c.forwardRef)(({className:n,...r},i)=>(0,c.createElement)(mo,{ref:i,iconNode:t,className:ao(`lucide-${oo(co(e))}`,`lucide-${e}`,n),...r}));return n.displayName=co(e),n},go=ho(`check`,[[`path`,{d:`M20 6 9 17l-5-5`,key:`1gmf2c`}]]),_o=ho(`chevron-down`,[[`path`,{d:`m6 9 6 6 6-6`,key:`qrunsl`}]]),vo=ho(`chevron-left`,[[`path`,{d:`m15 18-6-6 6-6`,key:`1wnfg3`}]]),yo=ho(`chevron-right`,[[`path`,{d:`m9 18 6-6-6-6`,key:`mthhwq`}]]),bo=ho(`menu`,[[`path`,{d:`M4 5h16`,key:`1tepv9`}],[`path`,{d:`M4 12h16`,key:`1lakjw`}],[`path`,{d:`M4 19h16`,key:`1djgab`}]]),xo=ho(`search`,[[`path`,{d:`m21 21-4.34-4.34`,key:`14j7rj`}],[`circle`,{cx:`11`,cy:`11`,r:`8`,key:`4ej97u`}]]),So=ho(`x`,[[`path`,{d:`M18 6 6 18`,key:`1bl5f8`}],[`path`,{d:`m6 6 12 12`,key:`d8bk6v`}]]),Co=Za,wo=Qa,To=$a,Eo=io,Do=(0,l.forwardRef)(({className:e,...t},n)=>(0,u.jsx)(eo,{ref:n,className:V(`fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0`,e),...t}));Do.displayName=eo.displayName;var Oo=(0,l.forwardRef)(({className:e,children:t,...n},r)=>(0,u.jsxs)(To,{children:[(0,u.jsx)(Do,{}),(0,u.jsxs)(to,{ref:r,className:V(`fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg`,e),...n,children:[t,(0,u.jsxs)(io,{className:`absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground`,children:[(0,u.jsx)(So,{className:`h-4 w-4`}),(0,u.jsx)(`span`,{className:`sr-only`,children:`Close`})]})]})]}));Oo.displayName=to.displayName;var ko=({className:e,...t})=>(0,u.jsx)(`div`,{className:V(`flex flex-col space-y-1.5 text-center sm:text-left`,e),...t});ko.displayName=`DialogHeader`;var Ao=({className:e,...t})=>(0,u.jsx)(`div`,{className:V(`flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2`,e),...t});Ao.displayName=`DialogFooter`;var jo=(0,l.forwardRef)(({className:e,...t},n)=>(0,u.jsx)(no,{ref:n,className:V(`text-lg font-semibold leading-none tracking-tight`,e),...t}));jo.displayName=no.displayName;var Mo=(0,l.forwardRef)(({className:e,...t},n)=>(0,u.jsx)(ro,{ref:n,className:V(`text-sm text-muted-foreground`,e),...t}));Mo.displayName=ro.displayName;var No=({label:e,htmlFor:t,description:n,error:r,required:i,className:a,children:o})=>{let s=(0,l.useId)(),c=t??s;return(0,u.jsxs)(`div`,{className:V(`vi-form-field`,a),children:[e&&(0,u.jsxs)(`label`,{htmlFor:c,className:`vi-form-field-label`,children:[e,i&&(0,u.jsxs)(`span`,{className:`vi-form-field-required`,"aria-hidden":`true`,children:[` `,`*`]})]}),o,!r&&n&&(0,u.jsx)(`p`,{className:`vi-form-field-description`,children:n}),r&&(0,u.jsx)(`p`,{className:`vi-form-field-error`,role:`alert`,children:r})]})};No.displayName=`FormField`;var Po=(0,l.forwardRef)(({className:e,type:t,label:n,description:r,validate:i,onValueChange:a,id:o,...s},c)=>{let[d,f]=(0,l.useState)(null),p=(0,l.useId)(),m=o??p;return(0,u.jsxs)(`div`,{className:`flex flex-col gap-1 w-full`,children:[n&&(0,u.jsx)(`label`,{htmlFor:m,className:`text-sm font-medium`,children:n}),(0,u.jsx)(`input`,{ref:c,id:m,type:t,className:V(`flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-2 text-base shadow-sm transition-colors`,`placeholder:text-muted-foreground`,`focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring`,`disabled:cursor-not-allowed disabled:opacity-50`,`file:border-0 file:bg-transparent file:text-sm file:font-medium`,`md:text-sm`,d&&`border-destructive focus-visible:ring-destructive`,e),onChange:e=>{a&&a(e.target.value),i&&f(i(e.target.value)),s.onChange?.(e)},...s}),r&&!d&&(0,u.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:r}),d&&(0,u.jsx)(`p`,{className:`text-xs text-destructive font-medium`,children:d})]})});Po.displayName=`Input`;var Fo=e=>typeof e==`object`&&!!e&&`url`in e,Io=({link:e,className:t,noBaseClass:n=!1,children:r})=>(0,u.jsx)(u.Fragment,{children:e.isExternal?(0,u.jsx)(`a`,{href:e.url,target:`_blank`,rel:`noopener noreferrer`,className:n?t:V(`vi-link`,t),title:e.text,children:r??e.text}):(0,u.jsx)(`a`,{href:e.url,className:n?t:V(`vi-link`,t),title:e.text,children:r??e.text})}),Lo=({name:e,image:t,link:n,className:r})=>(0,u.jsxs)(Io,{link:n,className:V(`vi-link-logo-wrapper`,r),children:[Fo(t)?(0,u.jsx)(`img`,{src:t.url,alt:t.alt,className:`vi-logo`}):(0,l.isValidElement)(t)?t:null,(0,u.jsx)(`span`,{className:`vi-logo-text`,children:e})]}),Ro=({text:e=`Loading...`,className:t,...n})=>(0,u.jsxs)(`div`,{className:V(`flex flex-row items-center justify-center gap-3 p-4 text-muted-foreground`,t),...n,children:[(0,u.jsxs)(`svg`,{className:`h-6 w-6 animate-spin text-muted-foreground`,xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`,"aria-hidden":`true`,children:[(0,u.jsx)(`circle`,{className:`opacity-25`,cx:`12`,cy:`12`,r:`10`,stroke:`currentColor`,strokeWidth:`4`}),(0,u.jsx)(`path`,{className:`opacity-75`,fill:`currentColor`,d:`M4 12a8 8 0 018-8v4a4 4 0 00-4 4H4z`})]}),(0,u.jsx)(`p`,{className:`text-sm text-muted-foreground`,children:e})]});Ro.displayName=`Loading`;function zo(e){if(e===void 0)throw ReferenceError(`this hasn't been initialised - super() hasn't been called`);return e}function Bo(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var Vo={autoSleep:120,force3D:`auto`,nullTargetWarn:1,units:{lineHeight:``}},Ho={duration:.5,overwrite:!1,delay:0},Uo,H,U,Wo=1e8,W=1/Wo,Go=Math.PI*2,Ko=Go/4,qo=0,Jo=Math.sqrt,Yo=Math.cos,Xo=Math.sin,G=function(e){return typeof e==`string`},K=function(e){return typeof e==`function`},Zo=function(e){return typeof e==`number`},Qo=function(e){return e===void 0},$o=function(e){return typeof e==`object`},es=function(e){return e!==!1},ts=function(){return typeof window<`u`},ns=function(e){return K(e)||G(e)},rs=typeof ArrayBuffer==`function`&&ArrayBuffer.isView||function(){},is=Array.isArray,as=/random\([^)]+\)/g,os=/,\s*/g,ss=/(?:-?\.?\d|\.)+/gi,cs=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,ls=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,us=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,ds=/[+-]=-?[.\d]+/,fs=/[^,'"\[\]\s]+/gi,ps=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,q,ms,hs,gs,_s={},vs={},ys,bs=function(e){return(vs=Xs(e,_s))&&fu},xs=function(e,t){return console.warn(`Invalid property`,e,`set to`,t,`Missing plugin? gsap.registerPlugin()`)},Ss=function(e,t){return!t&&console.warn(e)},Cs=function(e,t){return e&&(_s[e]=t)&&vs&&(vs[e]=t)||_s},ws=function(){return 0},Ts={suppressEvents:!0,isStart:!0,kill:!1},Es={suppressEvents:!0,kill:!1},Ds={suppressEvents:!0},Os={},ks=[],As={},js,Ms={},Ns={},Ps=30,Fs=[],Is=``,Ls=function(e){var t=e[0],n,r;if($o(t)||K(t)||(e=[e]),!(n=(t._gsap||{}).harness)){for(r=Fs.length;r--&&!Fs[r].targetTest(t););n=Fs[r]}for(r=e.length;r--;)e[r]&&(e[r]._gsap||(e[r]._gsap=new Cl(e[r],n)))||e.splice(r,1);return e},Rs=function(e){return e._gsap||Ls(Nc(e))[0]._gsap},zs=function(e,t,n){return(n=e[t])&&K(n)?e[t]():Qo(n)&&e.getAttribute&&e.getAttribute(t)||n},Bs=function(e,t){return(e=e.split(`,`)).forEach(t)||e},J=function(e){return Math.round(e*1e5)/1e5||0},Y=function(e){return Math.round(e*1e7)/1e7||0},Vs=function(e,t){var n=t.charAt(0),r=parseFloat(t.substr(2));return e=parseFloat(e),n===`+`?e+r:n===`-`?e-r:n===`*`?e*r:e/r},Hs=function(e,t){for(var n=t.length,r=0;e.indexOf(t[r])<0&&++r<n;);return r<n},Us=function(){var e=ks.length,t=ks.slice(0),n,r;for(As={},ks.length=0,n=0;n<e;n++)r=t[n],r&&r._lazy&&(r.render(r._lazy[0],r._lazy[1],!0)._lazy=0)},Ws=function(e){return!!(e._initted||e._startAt||e.add)},Gs=function(e,t,n,r){ks.length&&!H&&Us(),e.render(t,n,r||!!(H&&t<0&&Ws(e))),ks.length&&!H&&Us()},Ks=function(e){var t=parseFloat(e);return(t||t===0)&&(e+``).match(fs).length<2?t:G(e)?e.trim():e},qs=function(e){return e},Js=function(e,t){for(var n in t)n in e||(e[n]=t[n]);return e},Ys=function(e){return function(t,n){for(var r in n)r in t||r===`duration`&&e||r===`ease`||(t[r]=n[r])}},Xs=function(e,t){for(var n in t)e[n]=t[n];return e},Zs=function e(t,n){for(var r in n)r!==`__proto__`&&r!==`constructor`&&r!==`prototype`&&(t[r]=$o(n[r])?e(t[r]||(t[r]={}),n[r]):n[r]);return t},Qs=function(e,t){var n={},r;for(r in e)r in t||(n[r]=e[r]);return n},$s=function(e){var t=e.parent||q,n=e.keyframes?Ys(is(e.keyframes)):Js;if(es(e.inherit))for(;t;)n(e,t.vars.defaults),t=t.parent||t._dp;return e},ec=function(e,t){for(var n=e.length,r=n===t.length;r&&n--&&e[n]===t[n];);return n<0},tc=function(e,t,n,r,i){n===void 0&&(n=`_first`),r===void 0&&(r=`_last`);var a=e[r],o;if(i)for(o=t[i];a&&a[i]>o;)a=a._prev;return a?(t._next=a._next,a._next=t):(t._next=e[n],e[n]=t),t._next?t._next._prev=t:e[r]=t,t._prev=a,t.parent=t._dp=e,t},nc=function(e,t,n,r){n===void 0&&(n=`_first`),r===void 0&&(r=`_last`);var i=t._prev,a=t._next;i?i._next=a:e[n]===t&&(e[n]=a),a?a._prev=i:e[r]===t&&(e[r]=i),t._next=t._prev=t.parent=null},rc=function(e,t){e.parent&&(!t||e.parent.autoRemoveChildren)&&e.parent.remove&&e.parent.remove(e),e._act=0},ic=function(e,t){if(e&&(!t||t._end>e._dur||t._start<0))for(var n=e;n;)n._dirty=1,n=n.parent;return e},ac=function(e){for(var t=e.parent;t&&t.parent;)t._dirty=1,t.totalDuration(),t=t.parent;return e},oc=function(e,t,n,r){return e._startAt&&(H?e._startAt.revert(Es):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(t,!0,r))},sc=function e(t){return!t||t._ts&&e(t.parent)},cc=function(e){return e._repeat?lc(e._tTime,e=e.duration()+e._rDelay)*e:0},lc=function(e,t){var n=Math.floor(e=Y(e/t));return e&&n===e?n-1:n},uc=function(e,t){return(e-t._start)*t._ts+(t._ts>=0?0:t._dirty?t.totalDuration():t._tDur)},dc=function(e){return e._end=Y(e._start+(e._tDur/Math.abs(e._ts||e._rts||W)||0))},fc=function(e,t){var n=e._dp;return n&&n.smoothChildTiming&&e._ts&&(e._start=Y(n._time-(e._ts>0?t/e._ts:((e._dirty?e.totalDuration():e._tDur)-t)/-e._ts)),dc(e),n._dirty||ic(n,e)),e},pc=function(e,t){var n;if((t._time||!t._dur&&t._initted||t._start<e._time&&(t._dur||!t.add))&&(n=uc(e.rawTime(),t),(!t._dur||Dc(0,t.totalDuration(),n)-t._tTime>W)&&t.render(n,!0)),ic(e,t)._dp&&e._initted&&e._time>=e._dur&&e._ts){if(e._dur<e.duration())for(n=e;n._dp;)n.rawTime()>=0&&n.totalTime(n._tTime),n=n._dp;e._zTime=-W}},mc=function(e,t,n,r){return t.parent&&rc(t),t._start=Y((Zo(n)?n:n||e!==q?wc(e,n,t):e._time)+t._delay),t._end=Y(t._start+(t.totalDuration()/Math.abs(t.timeScale())||0)),tc(e,t,`_first`,`_last`,e._sort?`_start`:0),vc(t)||(e._recent=t),r||pc(e,t),e._ts<0&&fc(e,e._tTime),e},hc=function(e,t){return(_s.ScrollTrigger||xs(`scrollTrigger`,t))&&_s.ScrollTrigger.create(t,e)},gc=function(e,t,n,r,i){if(Ml(e,t,i),!e._initted)return 1;if(!n&&e._pt&&!H&&(e._dur&&e.vars.lazy!==!1||!e._dur&&e.vars.lazy)&&js!==ul.frame)return ks.push(e),e._lazy=[i,r],1},_c=function e(t){var n=t.parent;return n&&n._ts&&n._initted&&!n._lock&&(n.rawTime()<0||e(n))},vc=function(e){var t=e.data;return t===`isFromStart`||t===`isStart`},yc=function(e,t,n,r){var i=e.ratio,a=t<0||!t&&(!e._start&&_c(e)&&!(!e._initted&&vc(e))||(e._ts<0||e._dp._ts<0)&&!vc(e))?0:1,o=e._rDelay,s=0,c,l,u;if(o&&e._repeat&&(s=Dc(0,e._tDur,t),l=lc(s,o),e._yoyo&&l&1&&(a=1-a),l!==lc(e._tTime,o)&&(i=1-a,e.vars.repeatRefresh&&e._initted&&e.invalidate())),a!==i||H||r||e._zTime===W||!t&&e._zTime){if(!e._initted&&gc(e,t,r,n,s))return;for(u=e._zTime,e._zTime=t||(n?W:0),n||=t&&!u,e.ratio=a,e._from&&(a=1-a),e._time=0,e._tTime=s,c=e._pt;c;)c.r(a,c.d),c=c._next;t<0&&oc(e,t,n,!0),e._onUpdate&&!n&&Xc(e,`onUpdate`),s&&e._repeat&&!n&&e.parent&&Xc(e,`onRepeat`),(t>=e._tDur||t<0)&&e.ratio===a&&(a&&rc(e,1),!n&&!H&&(Xc(e,a?`onComplete`:`onReverseComplete`,!0),e._prom&&e._prom()))}else e._zTime||=t},bc=function(e,t,n){var r;if(n>t)for(r=e._first;r&&r._start<=n;){if(r.data===`isPause`&&r._start>t)return r;r=r._next}else for(r=e._last;r&&r._start>=n;){if(r.data===`isPause`&&r._start<t)return r;r=r._prev}},xc=function(e,t,n,r){var i=e._repeat,a=Y(t)||0,o=e._tTime/e._tDur;return o&&!r&&(e._time*=a/e._dur),e._dur=a,e._tDur=i?i<0?1e10:Y(a*(i+1)+e._rDelay*i):a,o>0&&!r&&fc(e,e._tTime=e._tDur*o),e.parent&&dc(e),n||ic(e.parent,e),e},Sc=function(e){return e instanceof Tl?ic(e):xc(e,e._dur)},Cc={_start:0,endTime:ws,totalDuration:ws},wc=function e(t,n,r){var i=t.labels,a=t._recent||Cc,o=t.duration()>=Wo?a.endTime(!1):t._dur,s,c,l;return G(n)&&(isNaN(n)||n in i)?(c=n.charAt(0),l=n.substr(-1)===`%`,s=n.indexOf(`=`),c===`<`||c===`>`?(s>=0&&(n=n.replace(/=/,``)),(c===`<`?a._start:a.endTime(a._repeat>=0))+(parseFloat(n.substr(1))||0)*(l?(s<0?a:r).totalDuration()/100:1)):s<0?(n in i||(i[n]=o),i[n]):(c=parseFloat(n.charAt(s-1)+n.substr(s+1)),l&&r&&(c=c/100*(is(r)?r[0]:r).totalDuration()),s>1?e(t,n.substr(0,s-1),r)+c:o+c)):n==null?o:+n},Tc=function(e,t,n){var r=Zo(t[1]),i=(r?2:1)+(e<2?0:1),a=t[i],o,s;if(r&&(a.duration=t[1]),a.parent=n,e){for(o=a,s=n;s&&!(`immediateRender`in o);)o=s.vars.defaults||{},s=es(s.vars.inherit)&&s.parent;a.immediateRender=es(o.immediateRender),e<2?a.runBackwards=1:a.startAt=t[i-1]}return new Q(t[0],a,t[i+1])},Ec=function(e,t){return e||e===0?t(e):t},Dc=function(e,t,n){return n<e?e:n>t?t:n},Oc=function(e,t){return!G(e)||!(t=ps.exec(e))?``:t[1]},kc=function(e,t,n){return Ec(n,function(n){return Dc(e,t,n)})},Ac=[].slice,jc=function(e,t){return e&&$o(e)&&`length`in e&&(!t&&!e.length||e.length-1 in e&&$o(e[0]))&&!e.nodeType&&e!==ms},Mc=function(e,t,n){return n===void 0&&(n=[]),e.forEach(function(e){var r;return G(e)&&!t||jc(e,1)?(r=n).push.apply(r,Nc(e)):n.push(e)})||n},Nc=function(e,t,n){return U&&!t&&U.selector?U.selector(e):G(e)&&!n&&(hs||!dl())?Ac.call((t||gs).querySelectorAll(e),0):is(e)?Mc(e,n):jc(e)?Ac.call(e,0):e?[e]:[]},Pc=function(e){return e=Nc(e)[0]||Ss(`Invalid scope`)||{},function(t){var n=e.current||e.nativeElement||e;return Nc(t,n.querySelectorAll?n:n===e?Ss(`Invalid scope`)||gs.createElement(`div`):e)}},Fc=function(e){return e.sort(function(){return .5-Math.random()})},Ic=function(e){if(K(e))return e;var t=$o(e)?e:{each:e},n=vl(t.ease),r=t.from||0,i=parseFloat(t.base)||0,a={},o=r>0&&r<1,s=isNaN(r)||o,c=t.axis,l=r,u=r;return G(r)?l=u={center:.5,edges:.5,end:1}[r]||0:!o&&s&&(l=r[0],u=r[1]),function(e,o,d){var f=(d||t).length,p=a[f],m,h,g,_,v,y,b,x,S;if(!p){if(S=t.grid===`auto`?0:(t.grid||[1,Wo])[1],!S){for(b=-Wo;b<(b=d[S++].getBoundingClientRect().left)&&S<f;);S<f&&S--}for(p=a[f]=[],m=s?Math.min(S,f)*l-.5:r%S,h=S===Wo?0:s?f*u/S-.5:r/S|0,b=0,x=Wo,y=0;y<f;y++)g=y%S-m,_=h-(y/S|0),p[y]=v=c?Math.abs(c===`y`?_:g):Jo(g*g+_*_),v>b&&(b=v),v<x&&(x=v);r===`random`&&Fc(p),p.max=b-x,p.min=x,p.v=f=(parseFloat(t.amount)||parseFloat(t.each)*(S>f?f-1:c?c===`y`?f/S:S:Math.max(S,f/S))||0)*(r===`edges`?-1:1),p.b=f<0?i-f:i,p.u=Oc(t.amount||t.each)||0,n=n&&f<0?_l(n):n}return f=(p[e]-p.min)/p.max||0,Y(p.b+(n?n(f):f)*p.v)+p.u}},Lc=function(e){var t=10**((e+``).split(`.`)[1]||``).length;return function(n){var r=Y(Math.round(parseFloat(n)/e)*e*t);return(r-r%1)/t+(Zo(n)?0:Oc(n))}},Rc=function(e,t){var n=is(e),r,i;return!n&&$o(e)&&(r=n=e.radius||Wo,e.values?(e=Nc(e.values),(i=!Zo(e[0]))&&(r*=r)):e=Lc(e.increment)),Ec(t,n?K(e)?function(t){return i=e(t),Math.abs(i-t)<=r?i:t}:function(t){for(var n=parseFloat(i?t.x:t),a=parseFloat(i?t.y:0),o=Wo,s=0,c=e.length,l,u;c--;)i?(l=e[c].x-n,u=e[c].y-a,l=l*l+u*u):l=Math.abs(e[c]-n),l<o&&(o=l,s=c);return s=!r||o<=r?e[s]:t,i||s===t||Zo(t)?s:s+Oc(t)}:Lc(e))},zc=function(e,t,n,r){return Ec(is(e)?!t:n===!0?!!(n=0):!r,function(){return is(e)?e[~~(Math.random()*e.length)]:(n||=1e-5)&&(r=n<1?10**((n+``).length-2):1)&&Math.floor(Math.round((e-n/2+Math.random()*(t-e+n*.99))/n)*n*r)/r})},Bc=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return t.reduce(function(e,t){return t(e)},e)}},Vc=function(e,t){return function(n){return e(parseFloat(n))+(t||Oc(n))}},Hc=function(e,t,n){return qc(e,t,0,1,n)},Uc=function(e,t,n){return Ec(n,function(n){return e[~~t(n)]})},Wc=function e(t,n,r){var i=n-t;return is(t)?Uc(t,e(0,t.length),n):Ec(r,function(e){return(i+(e-t)%i)%i+t})},Gc=function e(t,n,r){var i=n-t,a=i*2;return is(t)?Uc(t,e(0,t.length-1),n):Ec(r,function(e){return e=(a+(e-t)%a)%a||0,t+(e>i?a-e:e)})},Kc=function(e){return e.replace(as,function(e){var t=e.indexOf(`[`)+1,n=e.substring(t||7,t?e.indexOf(`]`):e.length-1).split(os);return zc(t?n:+n[0],t?0:+n[1],+n[2]||1e-5)})},qc=function(e,t,n,r,i){var a=t-e,o=r-n;return Ec(i,function(t){return n+((t-e)/a*o||0)})},Jc=function e(t,n,r,i){var a=isNaN(t+n)?0:function(e){return(1-e)*t+e*n};if(!a){var o=G(t),s={},c,l,u,d,f;if(r===!0&&(i=1)&&(r=null),o)t={p:t},n={p:n};else if(is(t)&&!is(n)){for(u=[],d=t.length,f=d-2,l=1;l<d;l++)u.push(e(t[l-1],t[l]));d--,a=function(e){e*=d;var t=Math.min(f,~~e);return u[t](e-t)},r=n}else i||(t=Xs(is(t)?[]:{},t));if(!u){for(c in n)Dl.call(s,t,c,`get`,n[c]);a=function(e){return ql(e,s)||(o?t.p:t)}}}return Ec(r,a)},Yc=function(e,t,n){var r=e.labels,i=Wo,a,o,s;for(a in r)o=r[a]-t,o<0==!!n&&o&&i>(o=Math.abs(o))&&(s=a,i=o);return s},Xc=function(e,t,n){var r=e.vars,i=r[t],a=U,o=e._ctx,s,c,l;if(i)return s=r[t+`Params`],c=r.callbackScope||e,n&&ks.length&&Us(),o&&(U=o),l=s?i.apply(c,s):i.call(c),U=a,l},Zc=function(e){return rc(e),e.scrollTrigger&&e.scrollTrigger.kill(!!H),e.progress()<1&&Xc(e,`onInterrupt`),e},Qc,$c=[],el=function(e){if(e)if(e=!e.name&&e.default||e,ts()||e.headless){var t=e.name,n=K(e),r=t&&!n&&e.init?function(){this._props=[]}:e,i={init:ws,render:ql,add:Dl,kill:Yl,modifier:Jl,rawVars:0},a={targetTest:0,get:0,getSetter:Ul,aliases:{},register:0};if(dl(),e!==r){if(Ms[t])return;Js(r,Js(Qs(e,i),a)),Xs(r.prototype,Xs(i,Qs(e,a))),Ms[r.prop=t]=r,e.targetTest&&(Fs.push(r),Os[t]=1),t=(t===`css`?`CSS`:t.charAt(0).toUpperCase()+t.substr(1))+`Plugin`}Cs(t,r),e.register&&e.register(fu,r,Ql)}else $c.push(e)},X=255,tl={aqua:[0,X,X],lime:[0,X,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,X],navy:[0,0,128],white:[X,X,X],olive:[128,128,0],yellow:[X,X,0],orange:[X,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[X,0,0],pink:[X,192,203],cyan:[0,X,X],transparent:[X,X,X,0]},nl=function(e,t,n){return e+=e<0?1:e>1?-1:0,(e*6<1?t+(n-t)*e*6:e<.5?n:e*3<2?t+(n-t)*(2/3-e)*6:t)*X+.5|0},rl=function(e,t,n){var r=e?Zo(e)?[e>>16,e>>8&X,e&X]:0:tl.black,i,a,o,s,c,l,u,d,f,p;if(!r){if(e.substr(-1)===`,`&&(e=e.substr(0,e.length-1)),tl[e])r=tl[e];else if(e.charAt(0)===`#`){if(e.length<6&&(i=e.charAt(1),a=e.charAt(2),o=e.charAt(3),e=`#`+i+i+a+a+o+o+(e.length===5?e.charAt(4)+e.charAt(4):``)),e.length===9)return r=parseInt(e.substr(1,6),16),[r>>16,r>>8&X,r&X,parseInt(e.substr(7),16)/255];e=parseInt(e.substr(1),16),r=[e>>16,e>>8&X,e&X]}else if(e.substr(0,3)===`hsl`){if(r=p=e.match(ss),!t)s=r[0]%360/360,c=r[1]/100,l=r[2]/100,a=l<=.5?l*(c+1):l+c-l*c,i=l*2-a,r.length>3&&(r[3]*=1),r[0]=nl(s+1/3,i,a),r[1]=nl(s,i,a),r[2]=nl(s-1/3,i,a);else if(~e.indexOf(`=`))return r=e.match(cs),n&&r.length<4&&(r[3]=1),r}else r=e.match(ss)||tl.transparent;r=r.map(Number)}return t&&!p&&(i=r[0]/X,a=r[1]/X,o=r[2]/X,u=Math.max(i,a,o),d=Math.min(i,a,o),l=(u+d)/2,u===d?s=c=0:(f=u-d,c=l>.5?f/(2-u-d):f/(u+d),s=u===i?(a-o)/f+(a<o?6:0):u===a?(o-i)/f+2:(i-a)/f+4,s*=60),r[0]=~~(s+.5),r[1]=~~(c*100+.5),r[2]=~~(l*100+.5)),n&&r.length<4&&(r[3]=1),r},il=function(e){var t=[],n=[],r=-1;return e.split(ol).forEach(function(e){var i=e.match(ls)||[];t.push.apply(t,i),n.push(r+=i.length+1)}),t.c=n,t},al=function(e,t,n){var r=``,i=(e+r).match(ol),a=t?`hsla(`:`rgba(`,o=0,s,c,l,u;if(!i)return e;if(i=i.map(function(e){return(e=rl(e,t,1))&&a+(t?e[0]+`,`+e[1]+`%,`+e[2]+`%,`+e[3]:e.join(`,`))+`)`}),n&&(l=il(e),s=n.c,s.join(r)!==l.c.join(r)))for(c=e.replace(ol,`1`).split(ls),u=c.length-1;o<u;o++)r+=c[o]+(~s.indexOf(o)?i.shift()||a+`0,0,0,0)`:(l.length?l:i.length?i:n).shift());if(!c)for(c=e.split(ol),u=c.length-1;o<u;o++)r+=c[o]+i[o];return r+c[u]},ol=function(){var e=`(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b`,t;for(t in tl)e+=`|`+t+`\\b`;return RegExp(e+`)`,`gi`)}(),sl=/hsl[a]?\(/,cl=function(e){var t=e.join(` `),n;if(ol.lastIndex=0,ol.test(t))return n=sl.test(t),e[1]=al(e[1],n),e[0]=al(e[0],n,il(e[1])),!0},ll,ul=function(){var e=Date.now,t=500,n=33,r=e(),i=r,a=1e3/240,o=a,s=[],c,l,u,d,f,p,m=function u(m){var h=e()-i,g=m===!0,_,v,y,b;if((h>t||h<0)&&(r+=h-n),i+=h,y=i-r,_=y-o,(_>0||g)&&(b=++d.frame,f=y-d.time*1e3,d.time=y/=1e3,o+=_+(_>=a?4:a-_),v=1),g||(c=l(u)),v)for(p=0;p<s.length;p++)s[p](y,f,b,m)};return d={time:0,frame:0,tick:function(){m(!0)},deltaRatio:function(e){return f/(1e3/(e||60))},wake:function(){ys&&(!hs&&ts()&&(ms=hs=window,gs=ms.document||{},_s.gsap=fu,(ms.gsapVersions||=[]).push(fu.version),bs(vs||ms.GreenSockGlobals||!ms.gsap&&ms||{}),$c.forEach(el)),u=typeof requestAnimationFrame<`u`&&requestAnimationFrame,c&&d.sleep(),l=u||function(e){return setTimeout(e,o-d.time*1e3+1|0)},ll=1,m(2))},sleep:function(){(u?cancelAnimationFrame:clearTimeout)(c),ll=0,l=ws},lagSmoothing:function(e,r){t=e||1/0,n=Math.min(r||33,t)},fps:function(e){a=1e3/(e||240),o=d.time*1e3+a},add:function(e,t,n){var r=t?function(t,n,i,a){e(t,n,i,a),d.remove(r)}:e;return d.remove(e),s[n?`unshift`:`push`](r),dl(),r},remove:function(e,t){~(t=s.indexOf(e))&&s.splice(t,1)&&p>=t&&p--},_listeners:s},d}(),dl=function(){return!ll&&ul.wake()},Z={},fl=/^[\d.\-M][\d.\-,\s]/,pl=/["']/g,ml=function(e){for(var t={},n=e.substr(1,e.length-3).split(`:`),r=n[0],i=1,a=n.length,o,s,c;i<a;i++)s=n[i],o=i===a-1?s.length:s.lastIndexOf(`,`),c=s.substr(0,o),t[r]=isNaN(c)?c.replace(pl,``).trim():+c,r=s.substr(o+1).trim();return t},hl=function(e){var t=e.indexOf(`(`)+1,n=e.indexOf(`)`),r=e.indexOf(`(`,t);return e.substring(t,~r&&r<n?e.indexOf(`)`,n+1):n)},gl=function(e){var t=(e+``).split(`(`),n=Z[t[0]];return n&&t.length>1&&n.config?n.config.apply(null,~e.indexOf(`{`)?[ml(t[1])]:hl(e).split(`,`).map(Ks)):Z._CE&&fl.test(e)?Z._CE(``,e):n},_l=function(e){return function(t){return 1-e(1-t)}},vl=function(e,t){return e&&(K(e)?e:Z[e]||gl(e))||t},yl=function(e,t,n,r){n===void 0&&(n=function(e){return 1-t(1-e)}),r===void 0&&(r=function(e){return e<.5?t(e*2)/2:1-t((1-e)*2)/2});var i={easeIn:t,easeOut:n,easeInOut:r},a;return Bs(e,function(e){for(var t in Z[e]=_s[e]=i,Z[a=e.toLowerCase()]=n,i)Z[a+(t===`easeIn`?`.in`:t===`easeOut`?`.out`:`.inOut`)]=Z[e+`.`+t]=i[t]}),i},bl=function(e){return function(t){return t<.5?(1-e(1-t*2))/2:.5+e((t-.5)*2)/2}},xl=function e(t,n,r){var i=n>=1?n:1,a=(r||(t?.3:.45))/(n<1?n:1),o=a/Go*(Math.asin(1/i)||0),s=function(e){return e===1?1:i*2**(-10*e)*Xo((e-o)*a)+1},c=t===`out`?s:t===`in`?function(e){return 1-s(1-e)}:bl(s);return a=Go/a,c.config=function(n,r){return e(t,n,r)},c},Sl=function e(t,n){n===void 0&&(n=1.70158);var r=function(e){return e?--e*e*((n+1)*e+n)+1:0},i=t===`out`?r:t===`in`?function(e){return 1-r(1-e)}:bl(r);return i.config=function(n){return e(t,n)},i};Bs(`Linear,Quad,Cubic,Quart,Quint,Strong`,function(e,t){var n=t<5?t+1:t;yl(e+`,Power`+(n-1),t?function(e){return e**+n}:function(e){return e},function(e){return 1-(1-e)**n},function(e){return e<.5?(e*2)**n/2:1-((1-e)*2)**n/2})}),Z.Linear.easeNone=Z.none=Z.Linear.easeIn,yl(`Elastic`,xl(`in`),xl(`out`),xl()),(function(e,t){var n=1/t,r=2*n,i=2.5*n,a=function(a){return a<n?e*a*a:a<r?e*(a-1.5/t)**2+.75:a<i?e*(a-=2.25/t)*a+.9375:e*(a-2.625/t)**2+.984375};yl(`Bounce`,function(e){return 1-a(1-e)},a)})(7.5625,2.75),yl(`Expo`,function(e){return 2**(10*(e-1))*e+e*e*e*e*e*e*(1-e)}),yl(`Circ`,function(e){return-(Jo(1-e*e)-1)}),yl(`Sine`,function(e){return e===1?1:-Yo(e*Ko)+1}),yl(`Back`,Sl(`in`),Sl(`out`),Sl()),Z.SteppedEase=Z.steps=_s.SteppedEase={config:function(e,t){e===void 0&&(e=1);var n=1/e,r=e+ +!t,i=+!!t,a=1-W;return function(e){return((r*Dc(0,a,e)|0)+i)*n}}},Ho.ease=Z[`quad.out`],Bs(`onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt`,function(e){return Is+=e+`,`+e+`Params,`});var Cl=function(e,t){this.id=qo++,e._gsap=this,this.target=e,this.harness=t,this.get=t?t.get:zs,this.set=t?t.getSetter:Ul},wl=function(){function e(e){this.vars=e,this._delay=+e.delay||0,(this._repeat=e.repeat===1/0?-2:e.repeat||0)&&(this._rDelay=e.repeatDelay||0,this._yoyo=!!e.yoyo||!!e.yoyoEase),this._ts=1,xc(this,+e.duration,1,1),this.data=e.data,U&&(this._ctx=U,U.data.push(this)),ll||ul.wake()}var t=e.prototype;return t.delay=function(e){return e||e===0?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+e-this._delay),this._delay=e,this):this._delay},t.duration=function(e){return arguments.length?this.totalDuration(this._repeat>0?e+(e+this._rDelay)*this._repeat:e):this.totalDuration()&&this._dur},t.totalDuration=function(e){return arguments.length?(this._dirty=0,xc(this,this._repeat<0?e:(e-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},t.totalTime=function(e,t){if(dl(),!arguments.length)return this._tTime;var n=this._dp;if(n&&n.smoothChildTiming&&this._ts){for(fc(this,e),!n._dp||n.parent||pc(n,this);n&&n.parent;)n.parent._time!==n._start+(n._ts>=0?n._tTime/n._ts:(n.totalDuration()-n._tTime)/-n._ts)&&n.totalTime(n._tTime,!0),n=n.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&e<this._tDur||this._ts<0&&e>0||!this._tDur&&!e)&&mc(this._dp,this,this._start-this._delay)}return(this._tTime!==e||!this._dur&&!t||this._initted&&Math.abs(this._zTime)===W||!this._initted&&this._dur&&e||!e&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=e),Gs(this,e,t)),this},t.time=function(e,t){return arguments.length?this.totalTime(Math.min(this.totalDuration(),e+cc(this))%(this._dur+this._rDelay)||(e?this._dur:0),t):this._time},t.totalProgress=function(e,t){return arguments.length?this.totalTime(this.totalDuration()*e,t):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>=0&&this._initted?1:0},t.progress=function(e,t){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-e:e)+cc(this),t):this.duration()?Math.min(1,this._time/this._dur):+(this.rawTime()>0)},t.iteration=function(e,t){var n=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(e-1)*n,t):this._repeat?lc(this._tTime,n)+1:1},t.timeScale=function(e,t){if(!arguments.length)return this._rts===-W?0:this._rts;if(this._rts===e)return this;var n=this.parent&&this._ts?uc(this.parent._time,this):this._tTime;return this._rts=+e||0,this._ts=this._ps||e===-W?0:this._rts,this.totalTime(Dc(-Math.abs(this._delay),this.totalDuration(),n),t!==!1),dc(this),ac(this)},t.paused=function(e){return arguments.length?(this._ps!==e&&(this._ps=e,e?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(dl(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==W&&(this._tTime-=W)))),this):this._ps},t.startTime=function(e){if(arguments.length){this._start=Y(e);var t=this.parent||this._dp;return t&&(t._sort||!this.parent)&&mc(t,this,this._start-this._delay),this}return this._start},t.endTime=function(e){return this._start+(es(e)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},t.rawTime=function(e){var t=this.parent||this._dp;return t?e&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?uc(t.rawTime(e),this):this._tTime:this._tTime},t.revert=function(e){e===void 0&&(e=Ds);var t=H;return H=e,Ws(this)&&(this.timeline&&this.timeline.revert(e),this.totalTime(-.01,e.suppressEvents)),this.data!==`nested`&&e.kill!==!1&&this.kill(),H=t,this},t.globalTime=function(e){for(var t=this,n=arguments.length?e:t.rawTime();t;)n=t._start+n/(Math.abs(t._ts)||1),t=t._dp;return!this.parent&&this._sat?this._sat.globalTime(e):n},t.repeat=function(e){return arguments.length?(this._repeat=e===1/0?-2:e,Sc(this)):this._repeat===-2?1/0:this._repeat},t.repeatDelay=function(e){if(arguments.length){var t=this._time;return this._rDelay=e,Sc(this),t?this.time(t):this}return this._rDelay},t.yoyo=function(e){return arguments.length?(this._yoyo=e,this):this._yoyo},t.seek=function(e,t){return this.totalTime(wc(this,e),es(t))},t.restart=function(e,t){return this.play().totalTime(e?-this._delay:0,es(t)),this._dur||(this._zTime=-W),this},t.play=function(e,t){return e!=null&&this.seek(e,t),this.reversed(!1).paused(!1)},t.reverse=function(e,t){return e!=null&&this.seek(e||this.totalDuration(),t),this.reversed(!0).paused(!1)},t.pause=function(e,t){return e!=null&&this.seek(e,t),this.paused(!0)},t.resume=function(){return this.paused(!1)},t.reversed=function(e){return arguments.length?(!!e!==this.reversed()&&this.timeScale(-this._rts||(e?-W:0)),this):this._rts<0},t.invalidate=function(){return this._initted=this._act=0,this._zTime=-W,this},t.isActive=function(){var e=this.parent||this._dp,t=this._start,n;return!!(!e||this._ts&&this._initted&&e.isActive()&&(n=e.rawTime(!0))>=t&&n<this.endTime(!0)-W)},t.eventCallback=function(e,t,n){var r=this.vars;return arguments.length>1?(t?(r[e]=t,n&&(r[e+`Params`]=n),e===`onUpdate`&&(this._onUpdate=t)):delete r[e],this):r[e]},t.then=function(e){var t=this,n=t._prom;return new Promise(function(r){var i=K(e)?e:qs,a=function(){var e=t.then;t.then=null,n&&n(),K(i)&&(i=i(t))&&(i.then||i===t)&&(t.then=e),r(i),t.then=e};t._initted&&t.totalProgress()===1&&t._ts>=0||!t._tTime&&t._ts<0?a():t._prom=a})},t.kill=function(){Zc(this)},e}();Js(wl.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-W,_prom:0,_ps:!1,_rts:1});var Tl=function(e){Bo(t,e);function t(t,n){var r;return t===void 0&&(t={}),r=e.call(this,t)||this,r.labels={},r.smoothChildTiming=!!t.smoothChildTiming,r.autoRemoveChildren=!!t.autoRemoveChildren,r._sort=es(t.sortChildren),q&&mc(t.parent||q,zo(r),n),t.reversed&&r.reverse(),t.paused&&r.paused(!0),t.scrollTrigger&&hc(zo(r),t.scrollTrigger),r}var n=t.prototype;return n.to=function(e,t,n){return Tc(0,arguments,this),this},n.from=function(e,t,n){return Tc(1,arguments,this),this},n.fromTo=function(e,t,n,r){return Tc(2,arguments,this),this},n.set=function(e,t,n){return t.duration=0,t.parent=this,$s(t).repeatDelay||(t.repeat=0),t.immediateRender=!!t.immediateRender,new Q(e,t,wc(this,n),1),this},n.call=function(e,t,n){return mc(this,Q.delayedCall(0,e,t),n)},n.staggerTo=function(e,t,n,r,i,a,o){return n.duration=t,n.stagger=n.stagger||r,n.onComplete=a,n.onCompleteParams=o,n.parent=this,new Q(e,n,wc(this,i)),this},n.staggerFrom=function(e,t,n,r,i,a,o){return n.runBackwards=1,$s(n).immediateRender=es(n.immediateRender),this.staggerTo(e,t,n,r,i,a,o)},n.staggerFromTo=function(e,t,n,r,i,a,o,s){return r.startAt=n,$s(r).immediateRender=es(r.immediateRender),this.staggerTo(e,t,r,i,a,o,s)},n.render=function(e,t,n){var r=this._time,i=this._dirty?this.totalDuration():this._tDur,a=this._dur,o=e<=0?0:Y(e),s=this._zTime<0!=e<0&&(this._initted||!a),c,l,u,d,f,p,m,h,g,_,v,y;if(this!==q&&o>i&&e>=0&&(o=i),o!==this._tTime||n||s){if(r!==this._time&&a&&(o+=this._time-r,e+=this._time-r),c=o,g=this._start,h=this._ts,p=!h,s&&(a||(r=this._zTime),(e||!t)&&(this._zTime=e)),this._repeat){if(v=this._yoyo,f=a+this._rDelay,this._repeat<-1&&e<0)return this.totalTime(f*100+e,t,n);if(c=Y(o%f),o===i?(d=this._repeat,c=a):(_=Y(o/f),d=~~_,d&&d===_&&(c=a,d--),c>a&&(c=a)),_=lc(this._tTime,f),!r&&this._tTime&&_!==d&&this._tTime-_*f-this._dur<=0&&(_=d),v&&d&1&&(c=a-c,y=1),d!==_&&!this._lock){var b=v&&_&1,x=b===(v&&d&1);if(d<_&&(b=!b),r=b?0:o%a?a:o,this._lock=1,this.render(r||(y?0:Y(d*f)),t,!a)._lock=0,this._tTime=o,!t&&this.parent&&Xc(this,`onRepeat`),this.vars.repeatRefresh&&!y&&(this.invalidate()._lock=1,_=d),r&&r!==this._time||p!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act||(a=this._dur,i=this._tDur,x&&(this._lock=2,r=b?a:-1e-4,this.render(r,!0),this.vars.repeatRefresh&&!y&&this.invalidate()),this._lock=0,!this._ts&&!p))return this}}if(this._hasPause&&!this._forcing&&this._lock<2&&(m=bc(this,Y(r),Y(c)),m&&(o-=c-(c=m._start))),this._tTime=o,this._time=c,this._act=!!h,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=e,r=0),!r&&o&&a&&!t&&!_&&(Xc(this,`onStart`),this._tTime!==o))return this;if(c>=r&&e>=0)for(l=this._first;l;){if(u=l._next,(l._act||c>=l._start)&&l._ts&&m!==l){if(l.parent!==this)return this.render(e,t,n);if(l.render(l._ts>0?(c-l._start)*l._ts:(l._dirty?l.totalDuration():l._tDur)+(c-l._start)*l._ts,t,n),c!==this._time||!this._ts&&!p){m=0,u&&(o+=this._zTime=-W);break}}l=u}else{l=this._last;for(var S=e<0?e:c;l;){if(u=l._prev,(l._act||S<=l._end)&&l._ts&&m!==l){if(l.parent!==this)return this.render(e,t,n);if(l.render(l._ts>0?(S-l._start)*l._ts:(l._dirty?l.totalDuration():l._tDur)+(S-l._start)*l._ts,t,n||H&&Ws(l)),c!==this._time||!this._ts&&!p){m=0,u&&(o+=this._zTime=S?-W:W);break}}l=u}}if(m&&!t&&(this.pause(),m.render(c>=r?0:-W)._zTime=c>=r?1:-1,this._ts))return this._start=g,dc(this),this.render(e,t,n);this._onUpdate&&!t&&Xc(this,`onUpdate`,!0),(o===i&&this._tTime>=this.totalDuration()||!o&&r)&&(g===this._start||Math.abs(h)!==Math.abs(this._ts))&&(this._lock||((e||!a)&&(o===i&&this._ts>0||!o&&this._ts<0)&&rc(this,1),!t&&!(e<0&&!r)&&(o||r||!i)&&(Xc(this,o===i&&e>=0?`onComplete`:`onReverseComplete`,!0),this._prom&&!(o<i&&this.timeScale()>0)&&this._prom())))}return this},n.add=function(e,t){var n=this;if(Zo(t)||(t=wc(this,t,e)),!(e instanceof wl)){if(is(e))return e.forEach(function(e){return n.add(e,t)}),this;if(G(e))return this.addLabel(e,t);if(K(e))e=Q.delayedCall(0,e);else return this}return this===e?this:mc(this,e,t)},n.getChildren=function(e,t,n,r){e===void 0&&(e=!0),t===void 0&&(t=!0),n===void 0&&(n=!0),r===void 0&&(r=-Wo);for(var i=[],a=this._first;a;)a._start>=r&&(a instanceof Q?t&&i.push(a):(n&&i.push(a),e&&i.push.apply(i,a.getChildren(!0,t,n)))),a=a._next;return i},n.getById=function(e){for(var t=this.getChildren(1,1,1),n=t.length;n--;)if(t[n].vars.id===e)return t[n]},n.remove=function(e){return G(e)?this.removeLabel(e):K(e)?this.killTweensOf(e):(e.parent===this&&nc(this,e),e===this._recent&&(this._recent=this._last),ic(this))},n.totalTime=function(t,n){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=Y(ul.time-(this._ts>0?t/this._ts:(this.totalDuration()-t)/-this._ts))),e.prototype.totalTime.call(this,t,n),this._forcing=0,this):this._tTime},n.addLabel=function(e,t){return this.labels[e]=wc(this,t),this},n.removeLabel=function(e){return delete this.labels[e],this},n.addPause=function(e,t,n){var r=Q.delayedCall(0,t||ws,n);return r.data=`isPause`,this._hasPause=1,mc(this,r,wc(this,e))},n.removePause=function(e){var t=this._first;for(e=wc(this,e);t;)t._start===e&&t.data===`isPause`&&rc(t),t=t._next},n.killTweensOf=function(e,t,n){for(var r=this.getTweensOf(e,n),i=r.length;i--;)Al!==r[i]&&r[i].kill(e,t);return this},n.getTweensOf=function(e,t){for(var n=[],r=Nc(e),i=this._first,a=Zo(t),o;i;)i instanceof Q?Hs(i._targets,r)&&(a?(!Al||i._initted&&i._ts)&&i.globalTime(0)<=t&&i.globalTime(i.totalDuration())>t:!t||i.isActive())&&n.push(i):(o=i.getTweensOf(r,t)).length&&n.push.apply(n,o),i=i._next;return n},n.tweenTo=function(e,t){t||={};var n=this,r=wc(n,e),i=t,a=i.startAt,o=i.onStart,s=i.onStartParams,c=i.immediateRender,l,u=Q.to(n,Js({ease:t.ease||`none`,lazy:!1,immediateRender:!1,time:r,overwrite:`auto`,duration:t.duration||Math.abs((r-(a&&`time`in a?a.time:n._time))/n.timeScale())||W,onStart:function(){if(n.pause(),!l){var e=t.duration||Math.abs((r-(a&&`time`in a?a.time:n._time))/n.timeScale());u._dur!==e&&xc(u,e,0,1).render(u._time,!0,!0),l=1}o&&o.apply(u,s||[])}},t));return c?u.render(0):u},n.tweenFromTo=function(e,t,n){return this.tweenTo(t,Js({startAt:{time:wc(this,e)}},n))},n.recent=function(){return this._recent},n.nextLabel=function(e){return e===void 0&&(e=this._time),Yc(this,wc(this,e))},n.previousLabel=function(e){return e===void 0&&(e=this._time),Yc(this,wc(this,e),1)},n.currentLabel=function(e){return arguments.length?this.seek(e,!0):this.previousLabel(this._time+W)},n.shiftChildren=function(e,t,n){n===void 0&&(n=0);var r=this._first,i=this.labels,a;for(e=Y(e);r;)r._start>=n&&(r._start+=e,r._end+=e),r=r._next;if(t)for(a in i)i[a]>=n&&(i[a]+=e);return ic(this)},n.invalidate=function(t){var n=this._first;for(this._lock=0;n;)n.invalidate(t),n=n._next;return e.prototype.invalidate.call(this,t)},n.clear=function(e){e===void 0&&(e=!0);for(var t=this._first,n;t;)n=t._next,this.remove(t),t=n;return this._dp&&(this._time=this._tTime=this._pTime=0),e&&(this.labels={}),ic(this)},n.totalDuration=function(e){var t=0,n=this,r=n._last,i=Wo,a,o,s;if(arguments.length)return n.timeScale((n._repeat<0?n.duration():n.totalDuration())/(n.reversed()?-e:e));if(n._dirty){for(s=n.parent;r;)a=r._prev,r._dirty&&r.totalDuration(),o=r._start,o>i&&n._sort&&r._ts&&!n._lock?(n._lock=1,mc(n,r,o-r._delay,1)._lock=0):i=o,o<0&&r._ts&&(t-=o,(!s&&!n._dp||s&&s.smoothChildTiming)&&(n._start+=Y(o/n._ts),n._time-=o,n._tTime-=o),n.shiftChildren(-o,!1,-1/0),i=0),r._end>t&&r._ts&&(t=r._end),r=a;xc(n,n===q&&n._time>t?n._time:t,1,1),n._dirty=0}return n._tDur},t.updateRoot=function(e){if(q._ts&&(Gs(q,uc(e,q)),js=ul.frame),ul.frame>=Ps){Ps+=Vo.autoSleep||120;var t=q._first;if((!t||!t._ts)&&Vo.autoSleep&&ul._listeners.length<2){for(;t&&!t._ts;)t=t._next;t||ul.sleep()}}},t}(wl);Js(Tl.prototype,{_lock:0,_hasPause:0,_forcing:0});var El=function(e,t,n,r,i,a,o){var s=new Ql(this._pt,e,t,0,1,Kl,null,i),c=0,l=0,u,d,f,p,m,h,g,_;for(s.b=n,s.e=r,n+=``,r+=``,(g=~r.indexOf(`random(`))&&(r=Kc(r)),a&&(_=[n,r],a(_,e,t),n=_[0],r=_[1]),d=n.match(us)||[];u=us.exec(r);)p=u[0],m=r.substring(c,u.index),f?f=(f+1)%5:m.substr(-5)===`rgba(`&&(f=1),p!==d[l++]&&(h=parseFloat(d[l-1])||0,s._pt={_next:s._pt,p:m||l===1?m:`,`,s:h,c:p.charAt(1)===`=`?Vs(h,p)-h:parseFloat(p)-h,m:f&&f<4?Math.round:0},c=us.lastIndex);return s.c=c<r.length?r.substring(c,r.length):``,s.fp=o,(ds.test(r)||g)&&(s.e=0),this._pt=s,s},Dl=function(e,t,n,r,i,a,o,s,c,l){K(r)&&(r=r(i||0,e,a));var u=e[t],d=n===`get`?K(u)?c?e[t.indexOf(`set`)||!K(e[`get`+t.substr(3)])?t:`get`+t.substr(3)](c):e[t]():u:n,f=K(u)?c?Vl:Bl:zl,p;if(G(r)&&(~r.indexOf(`random(`)&&(r=Kc(r)),r.charAt(1)===`=`&&(p=Vs(d,r)+(Oc(d)||0),(p||p===0)&&(r=p))),!l||d!==r||jl)return!isNaN(d*r)&&r!==``?(p=new Ql(this._pt,e,t,+d||0,r-(d||0),typeof u==`boolean`?Gl:Wl,0,f),c&&(p.fp=c),o&&p.modifier(o,this,e),this._pt=p):(!u&&!(t in e)&&xs(t,r),El.call(this,e,t,d,r,f,s||Vo.stringFilter,c))},Ol=function(e,t,n,r,i){if(K(e)&&(e=Il(e,i,t,n,r)),!$o(e)||e.style&&e.nodeType||is(e)||rs(e))return G(e)?Il(e,i,t,n,r):e;var a={},o;for(o in e)a[o]=Il(e[o],i,t,n,r);return a},kl=function(e,t,n,r,i,a){var o,s,c,l;if(Ms[e]&&(o=new Ms[e]).init(i,o.rawVars?t[e]:Ol(t[e],r,i,a,n),n,r,a)!==!1&&(n._pt=s=new Ql(n._pt,i,e,0,1,o.render,o,0,o.priority),n!==Qc))for(c=n._ptLookup[n._targets.indexOf(i)],l=o._props.length;l--;)c[o._props[l]]=s;return o},Al,jl,Ml=function e(t,n,r){var i=t.vars,a=i.ease,o=i.startAt,s=i.immediateRender,c=i.lazy,l=i.onUpdate,u=i.runBackwards,d=i.yoyoEase,f=i.keyframes,p=i.autoRevert,m=t._dur,h=t._startAt,g=t._targets,_=t.parent,v=_&&_.data===`nested`?_.vars.targets:g,y=t._overwrite===`auto`&&!Uo,b=t.timeline,x=i.easeReverse||d,S,C,w,T,E,D,O,k,A,j,M,N,ee;if(b&&(!f||!a)&&(a=`none`),t._ease=vl(a,Ho.ease),t._rEase=x&&(vl(x)||t._ease),t._from=!b&&!!i.runBackwards,t._from&&(t.ratio=1),!b||f&&!i.stagger){if(k=g[0]?Rs(g[0]).harness:0,N=k&&i[k.prop],S=Qs(i,Os),h&&(h._zTime<0&&h.progress(1),n<0&&u&&s&&!p?h.render(-1,!0):h.revert(u&&m?Es:Ts),h._lazy=0),o){if(rc(t._startAt=Q.set(g,Js({data:`isStart`,overwrite:!1,parent:_,immediateRender:!0,lazy:!h&&es(c),startAt:null,delay:0,onUpdate:l&&function(){return Xc(t,`onUpdate`)},stagger:0},o))),t._startAt._dp=0,t._startAt._sat=t,n<0&&(H||!s&&!p)&&t._startAt.revert(Es),s&&m&&n<=0&&r<=0){n&&(t._zTime=n);return}}else if(u&&m&&!h){if(n&&(s=!1),w=Js({overwrite:!1,data:`isFromStart`,lazy:s&&!h&&es(c),immediateRender:s,stagger:0,parent:_},S),N&&(w[k.prop]=N),rc(t._startAt=Q.set(g,w)),t._startAt._dp=0,t._startAt._sat=t,n<0&&(H?t._startAt.revert(Es):t._startAt.render(-1,!0)),t._zTime=n,!s)e(t._startAt,W,W);else if(!n)return}for(t._pt=t._ptCache=0,c=m&&es(c)||c&&!m,C=0;C<g.length;C++){if(E=g[C],O=E._gsap||Ls(g)[C]._gsap,t._ptLookup[C]=j={},As[O.id]&&ks.length&&Us(),M=v===g?C:v.indexOf(E),k&&(A=new k).init(E,N||S,t,M,v)!==!1&&(t._pt=T=new Ql(t._pt,E,A.name,0,1,A.render,A,0,A.priority),A._props.forEach(function(e){j[e]=T}),A.priority&&(D=1)),!k||N)for(w in S)Ms[w]&&(A=kl(w,S,t,M,E,v))?A.priority&&(D=1):j[w]=T=Dl.call(t,E,w,`get`,S[w],M,v,0,i.stringFilter);t._op&&t._op[C]&&t.kill(E,t._op[C]),y&&t._pt&&(Al=t,q.killTweensOf(E,j,t.globalTime(n)),ee=!t.parent,Al=0),t._pt&&c&&(As[O.id]=1)}D&&Zl(t),t._onInit&&t._onInit(t)}t._onUpdate=l,t._initted=(!t._op||t._pt)&&!ee,f&&n<=0&&b.render(Wo,!0,!0)},Nl=function(e,t,n,r,i,a,o,s){var c=(e._pt&&e._ptCache||(e._ptCache={}))[t],l,u,d,f;if(!c)for(c=e._ptCache[t]=[],d=e._ptLookup,f=e._targets.length;f--;){if(l=d[f][t],l&&l.d&&l.d._pt)for(l=l.d._pt;l&&l.p!==t&&l.fp!==t;)l=l._next;if(!l)return jl=1,e.vars[t]=`+=0`,Ml(e,o),jl=0,s?Ss(t+` not eligible for reset. Try splitting into individual properties`):1;c.push(l)}for(f=c.length;f--;)u=c[f],l=u._pt||u,l.s=(r||r===0)&&!i?r:l.s+(r||0)+a*l.c,l.c=n-l.s,u.e&&=J(n)+Oc(u.e),u.b&&=l.s+Oc(u.b)},Pl=function(e,t){var n=e[0]?Rs(e[0]).harness:0,r=n&&n.aliases,i,a,o,s;if(!r)return t;for(a in i=Xs({},t),r)if(a in i)for(s=r[a].split(`,`),o=s.length;o--;)i[s[o]]=i[a];return i},Fl=function(e,t,n,r){var i=t.ease||r||`power1.inOut`,a,o;if(is(t))o=n[e]||(n[e]=[]),t.forEach(function(e,n){return o.push({t:n/(t.length-1)*100,v:e,e:i})});else for(a in t)o=n[a]||(n[a]=[]),a===`ease`||o.push({t:parseFloat(e),v:t[a],e:i})},Il=function(e,t,n,r,i){return K(e)?e.call(t,n,r,i):G(e)&&~e.indexOf(`random(`)?Kc(e):e},Ll=Is+`repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,easeReverse,autoRevert`,Rl={};Bs(Ll+`,id,stagger,delay,duration,paused,scrollTrigger`,function(e){return Rl[e]=1});var Q=function(e){Bo(t,e);function t(t,n,r,i){var a;typeof n==`number`&&(r.duration=n,n=r,r=null),a=e.call(this,i?n:$s(n))||this;var o=a.vars,s=o.duration,c=o.delay,l=o.immediateRender,u=o.stagger,d=o.overwrite,f=o.keyframes,p=o.defaults,m=o.scrollTrigger,h=n.parent||q,g=(is(t)||rs(t)?Zo(t[0]):`length`in n)?[t]:Nc(t),_,v,y,b,x,S,C,w;if(a._targets=g.length?Ls(g):Ss(`GSAP target `+t+` not found. https://gsap.com`,!Vo.nullTargetWarn)||[],a._ptLookup=[],a._overwrite=d,f||u||ns(s)||ns(c)){n=a.vars;var T=n.easeReverse||n.yoyoEase;if(_=a.timeline=new Tl({data:`nested`,defaults:p||{},targets:h&&h.data===`nested`?h.vars.targets:g}),_.kill(),_.parent=_._dp=zo(a),_._start=0,u||ns(s)||ns(c)){if(b=g.length,C=u&&Ic(u),$o(u))for(x in u)~Ll.indexOf(x)&&(w||={},w[x]=u[x]);for(v=0;v<b;v++)y=Qs(n,Rl),y.stagger=0,T&&(y.easeReverse=T),w&&Xs(y,w),S=g[v],y.duration=+Il(s,zo(a),v,S,g),y.delay=(+Il(c,zo(a),v,S,g)||0)-a._delay,!u&&b===1&&y.delay&&(a._delay=c=y.delay,a._start+=c,y.delay=0),_.to(S,y,C?C(v,S,g):0),_._ease=Z.none;_.duration()?s=c=0:a.timeline=0}else if(f){$s(Js(_.vars.defaults,{ease:`none`})),_._ease=vl(f.ease||n.ease||`none`);var E=0,D,O,k;if(is(f))f.forEach(function(e){return _.to(g,e,`>`)}),_.duration();else{for(x in y={},f)x===`ease`||x===`easeEach`||Fl(x,f[x],y,f.easeEach);for(x in y)for(D=y[x].sort(function(e,t){return e.t-t.t}),E=0,v=0;v<D.length;v++)O=D[v],k={ease:O.e,duration:(O.t-(v?D[v-1].t:0))/100*s},k[x]=O.v,_.to(g,k,E),E+=k.duration;_.duration()<s&&_.to({},{duration:s-_.duration()})}}s||a.duration(s=_.duration())}else a.timeline=0;return d===!0&&!Uo&&(Al=zo(a),q.killTweensOf(g),Al=0),mc(h,zo(a),r),n.reversed&&a.reverse(),n.paused&&a.paused(!0),(l||!s&&!f&&a._start===Y(h._time)&&es(l)&&sc(zo(a))&&h.data!==`nested`)&&(a._tTime=-W,a.render(Math.max(0,-c)||0)),m&&hc(zo(a),m),a}var n=t.prototype;return n.render=function(e,t,n){var r=this._time,i=this._tDur,a=this._dur,o=e<0,s=e>i-W&&!o?i:e<W?0:e,c,l,u,d,f,p,m,h;if(!a)yc(this,e,t,n);else if(s!==this._tTime||!e||n||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==o||this._lazy){if(c=s,h=this.timeline,this._repeat){if(d=a+this._rDelay,this._repeat<-1&&o)return this.totalTime(d*100+e,t,n);if(c=Y(s%d),s===i?(u=this._repeat,c=a):(f=Y(s/d),u=~~f,u&&u===f?(c=a,u--):c>a&&(c=a)),p=this._yoyo&&u&1,p&&(c=a-c),f=lc(this._tTime,d),c===r&&!n&&this._initted&&u===f)return this._tTime=s,this;u!==f&&this.vars.repeatRefresh&&!p&&!this._lock&&c!==d&&this._initted&&(this._lock=n=1,this.render(Y(d*u),!0).invalidate()._lock=0)}if(!this._initted){if(gc(this,o?e:c,n,t,s))return this._tTime=0,this;if(r!==this._time&&!(n&&this.vars.repeatRefresh&&u!==f))return this;if(a!==this._dur)return this.render(e,t,n)}if(this._rEase){var g=c<r;if(g!==this._inv){var _=g?r:a-r;this._inv=g,this._from&&(this.ratio=1-this.ratio),this._invRatio=this.ratio,this._invTime=r,this._invRecip=_?(g?-1:1)/_:0,this._invScale=g?-this.ratio:1-this.ratio,this._invEase=g?this._rEase:this._ease}this.ratio=m=this._invRatio+this._invScale*this._invEase((c-this._invTime)*this._invRecip)}else this.ratio=m=this._ease(c/a);if(this._from&&(this.ratio=m=1-m),this._tTime=s,this._time=c,!this._act&&this._ts&&(this._act=1,this._lazy=0),!r&&s&&!t&&!f&&(Xc(this,`onStart`),this._tTime!==s))return this;for(l=this._pt;l;)l.r(m,l.d),l=l._next;h&&h.render(e<0?e:h._dur*h._ease(c/this._dur),t,n)||this._startAt&&(this._zTime=e),this._onUpdate&&!t&&(o&&oc(this,e,t,n),Xc(this,`onUpdate`)),this._repeat&&u!==f&&this.vars.onRepeat&&!t&&this.parent&&Xc(this,`onRepeat`),(s===this._tDur||!s)&&this._tTime===s&&(o&&!this._onUpdate&&oc(this,e,!0,!0),(e||!a)&&(s===this._tDur&&this._ts>0||!s&&this._ts<0)&&rc(this,1),!t&&!(o&&!r)&&(s||r||p)&&(Xc(this,s===i?`onComplete`:`onReverseComplete`,!0),this._prom&&!(s<i&&this.timeScale()>0)&&this._prom()))}return this},n.targets=function(){return this._targets},n.invalidate=function(t){return(!t||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(t),e.prototype.invalidate.call(this,t)},n.resetTo=function(e,t,n,r,i){ll||ul.wake(),this._ts||this.play();var a=Math.min(this._dur,(this._dp._time-this._start)*this._ts),o;return this._initted||Ml(this,a),o=this._ease(a/this._dur),Nl(this,e,t,n,r,o,a,i)?this.resetTo(e,t,n,r,1):(fc(this,0),this.parent||tc(this._dp,this,`_first`,`_last`,this._dp._sort?`_start`:0),this.render(0))},n.kill=function(e,t){if(t===void 0&&(t=`all`),!e&&(!t||t===`all`))return this._lazy=this._pt=0,this.parent?Zc(this):this.scrollTrigger&&this.scrollTrigger.kill(!!H),this;if(this.timeline){var n=this.timeline.totalDuration();return this.timeline.killTweensOf(e,t,Al&&Al.vars.overwrite!==!0)._first||Zc(this),this.parent&&n!==this.timeline.totalDuration()&&xc(this,this._dur*this.timeline._tDur/n,0,1),this}var r=this._targets,i=e?Nc(e):r,a=this._ptLookup,o=this._pt,s,c,l,u,d,f,p;if((!t||t===`all`)&&ec(r,i))return t===`all`&&(this._pt=0),Zc(this);for(s=this._op=this._op||[],t!==`all`&&(G(t)&&(d={},Bs(t,function(e){return d[e]=1}),t=d),t=Pl(r,t)),p=r.length;p--;)if(~i.indexOf(r[p]))for(d in c=a[p],t===`all`?(s[p]=t,u=c,l={}):(l=s[p]=s[p]||{},u=t),u)f=c&&c[d],f&&((!(`kill`in f.d)||f.d.kill(d)===!0)&&nc(this,f,`_pt`),delete c[d]),l!==`all`&&(l[d]=1);return this._initted&&!this._pt&&o&&Zc(this),this},t.to=function(e,n){return new t(e,n,arguments[2])},t.from=function(e,t){return Tc(1,arguments)},t.delayedCall=function(e,n,r,i){return new t(n,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:e,onComplete:n,onReverseComplete:n,onCompleteParams:r,onReverseCompleteParams:r,callbackScope:i})},t.fromTo=function(e,t,n){return Tc(2,arguments)},t.set=function(e,n){return n.duration=0,n.repeatDelay||(n.repeat=0),new t(e,n)},t.killTweensOf=function(e,t,n){return q.killTweensOf(e,t,n)},t}(wl);Js(Q.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),Bs(`staggerTo,staggerFrom,staggerFromTo`,function(e){Q[e]=function(){var t=new Tl,n=Ac.call(arguments,0);return n.splice(e===`staggerFromTo`?5:4,0,0),t[e].apply(t,n)}});var zl=function(e,t,n){return e[t]=n},Bl=function(e,t,n){return e[t](n)},Vl=function(e,t,n,r){return e[t](r.fp,n)},Hl=function(e,t,n){return e.setAttribute(t,n)},Ul=function(e,t){return K(e[t])?Bl:Qo(e[t])&&e.setAttribute?Hl:zl},Wl=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e6)/1e6,t)},Gl=function(e,t){return t.set(t.t,t.p,!!(t.s+t.c*e),t)},Kl=function(e,t){var n=t._pt,r=``;if(!e&&t.b)r=t.b;else if(e===1&&t.e)r=t.e;else{for(;n;)r=n.p+(n.m?n.m(n.s+n.c*e):Math.round((n.s+n.c*e)*1e4)/1e4)+r,n=n._next;r+=t.c}t.set(t.t,t.p,r,t)},ql=function(e,t){for(var n=t._pt;n;)n.r(e,n.d),n=n._next},Jl=function(e,t,n,r){for(var i=this._pt,a;i;)a=i._next,i.p===r&&i.modifier(e,t,n),i=a},Yl=function(e){for(var t=this._pt,n,r;t;)r=t._next,t.p===e&&!t.op||t.op===e?nc(this,t,`_pt`):t.dep||(n=1),t=r;return!n},Xl=function(e,t,n,r){r.mSet(e,t,r.m.call(r.tween,n,r.mt),r)},Zl=function(e){for(var t=e._pt,n,r,i,a;t;){for(n=t._next,r=i;r&&r.pr>t.pr;)r=r._next;(t._prev=r?r._prev:a)?t._prev._next=t:i=t,(t._next=r)?r._prev=t:a=t,t=n}e._pt=i},Ql=function(){function e(e,t,n,r,i,a,o,s,c){this.t=t,this.s=r,this.c=i,this.p=n,this.r=a||Wl,this.d=o||this,this.set=s||zl,this.pr=c||0,this._next=e,e&&(e._prev=this)}var t=e.prototype;return t.modifier=function(e,t,n){this.mSet=this.mSet||this.set,this.set=Xl,this.m=e,this.mt=n,this.tween=t},e}();Bs(Is+`parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger,easeReverse`,function(e){return Os[e]=1}),_s.TweenMax=_s.TweenLite=Q,_s.TimelineLite=_s.TimelineMax=Tl,q=new Tl({sortChildren:!1,defaults:Ho,autoRemoveChildren:!0,id:`root`,smoothChildTiming:!0}),Vo.stringFilter=cl;var $l=[],eu={},tu=[],nu=0,ru=0,iu=function(e){return(eu[e]||tu).map(function(e){return e()})},au=function(){var e=Date.now(),t=[];e-nu>2&&(iu(`matchMediaInit`),$l.forEach(function(e){var n=e.queries,r=e.conditions,i,a,o,s;for(a in n)i=ms.matchMedia(n[a]).matches,i&&(o=1),i!==r[a]&&(r[a]=i,s=1);s&&(e.revert(),o&&t.push(e))}),iu(`matchMediaRevert`),t.forEach(function(e){return e.onMatch(e,function(t){return e.add(null,t)})}),nu=e,iu(`matchMedia`))},ou=function(){function e(e,t){this.selector=t&&Pc(t),this.data=[],this._r=[],this.isReverted=!1,this.id=ru++,e&&this.add(e)}var t=e.prototype;return t.add=function(e,t,n){K(e)&&(n=t,t=e,e=K);var r=this,i=function(){var e=U,i=r.selector,a;return e&&e!==r&&e.data.push(r),n&&(r.selector=Pc(n)),U=r,a=t.apply(r,arguments),K(a)&&r._r.push(a),U=e,r.selector=i,r.isReverted=!1,a};return r.last=i,e===K?i(r,function(e){return r.add(null,e)}):e?r[e]=i:i},t.ignore=function(e){var t=U;U=null,e(this),U=t},t.getTweens=function(){var t=[];return this.data.forEach(function(n){return n instanceof e?t.push.apply(t,n.getTweens()):n instanceof Q&&!(n.parent&&n.parent.data===`nested`)&&t.push(n)}),t},t.clear=function(){this._r.length=this.data.length=0},t.kill=function(e,t){var n=this;if(e?(function(){for(var t=n.getTweens(),r=n.data.length,i;r--;)i=n.data[r],i.data===`isFlip`&&(i.revert(),i.getChildren(!0,!0,!1).forEach(function(e){return t.splice(t.indexOf(e),1)}));for(t.map(function(e){return{g:e._dur||e._delay||e._sat&&!e._sat.vars.immediateRender?e.globalTime(0):-1/0,t:e}}).sort(function(e,t){return t.g-e.g||-1/0}).forEach(function(t){return t.t.revert(e)}),r=n.data.length;r--;)i=n.data[r],i instanceof Tl?i.data!==`nested`&&(i.scrollTrigger&&i.scrollTrigger.revert(),i.kill()):!(i instanceof Q)&&i.revert&&i.revert(e);n._r.forEach(function(t){return t(e,n)}),n.isReverted=!0})():this.data.forEach(function(e){return e.kill&&e.kill()}),this.clear(),t)for(var r=$l.length;r--;)$l[r].id===this.id&&$l.splice(r,1)},t.revert=function(e){this.kill(e||{})},e}(),su=function(){function e(e){this.contexts=[],this.scope=e,U&&U.data.push(this)}var t=e.prototype;return t.add=function(e,t,n){$o(e)||(e={matches:e});var r=new ou(0,n||this.scope),i=r.conditions={},a,o,s;for(o in U&&!r.selector&&(r.selector=U.selector),this.contexts.push(r),t=r.add(`onMatch`,t),r.queries=e,e)o===`all`?s=1:(a=ms.matchMedia(e[o]),a&&($l.indexOf(r)<0&&$l.push(r),(i[o]=a.matches)&&(s=1),a.addListener?a.addListener(au):a.addEventListener(`change`,au)));return s&&t(r,function(e){return r.add(null,e)}),this},t.revert=function(e){this.kill(e||{})},t.kill=function(e){this.contexts.forEach(function(t){return t.kill(e,!0)})},e}(),cu={registerPlugin:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];t.forEach(function(e){return el(e)})},timeline:function(e){return new Tl(e)},getTweensOf:function(e,t){return q.getTweensOf(e,t)},getProperty:function(e,t,n,r){G(e)&&(e=Nc(e)[0]);var i=Rs(e||{}).get,a=n?qs:Ks;return n===`native`&&(n=``),e&&(t?a((Ms[t]&&Ms[t].get||i)(e,t,n,r)):function(t,n,r){return a((Ms[t]&&Ms[t].get||i)(e,t,n,r))})},quickSetter:function(e,t,n){if(e=Nc(e),e.length>1){var r=e.map(function(e){return fu.quickSetter(e,t,n)}),i=r.length;return function(e){for(var t=i;t--;)r[t](e)}}e=e[0]||{};var a=Ms[t],o=Rs(e),s=o.harness&&(o.harness.aliases||{})[t]||t,c=a?function(t){var r=new a;Qc._pt=0,r.init(e,n?t+n:t,Qc,0,[e]),r.render(1,r),Qc._pt&&ql(1,Qc)}:o.set(e,s);return a?c:function(t){return c(e,s,n?t+n:t,o,1)}},quickTo:function(e,t,n){var r,i=fu.to(e,Js((r={},r[t]=`+=0.1`,r.paused=!0,r.stagger=0,r),n||{})),a=function(e,n,r){return i.resetTo(t,e,n,r)};return a.tween=i,a},isTweening:function(e){return q.getTweensOf(e,!0).length>0},defaults:function(e){return e&&e.ease&&(e.ease=vl(e.ease,Ho.ease)),Zs(Ho,e||{})},config:function(e){return Zs(Vo,e||{})},registerEffect:function(e){var t=e.name,n=e.effect,r=e.plugins,i=e.defaults,a=e.extendTimeline;(r||``).split(`,`).forEach(function(e){return e&&!Ms[e]&&!_s[e]&&Ss(t+` effect requires `+e+` plugin.`)}),Ns[t]=function(e,t,r){return n(Nc(e),Js(t||{},i),r)},a&&(Tl.prototype[t]=function(e,n,r){return this.add(Ns[t](e,$o(n)?n:(r=n)&&{},this),r)})},registerEase:function(e,t){Z[e]=vl(t)},parseEase:function(e,t){return arguments.length?vl(e,t):Z},getById:function(e){return q.getById(e)},exportRoot:function(e,t){e===void 0&&(e={});var n=new Tl(e),r,i;for(n.smoothChildTiming=es(e.smoothChildTiming),q.remove(n),n._dp=0,n._time=n._tTime=q._time,r=q._first;r;)i=r._next,(t||!(!r._dur&&r instanceof Q&&r.vars.onComplete===r._targets[0]))&&mc(n,r,r._start-r._delay),r=i;return mc(q,n,0),n},context:function(e,t){return e?new ou(e,t):U},matchMedia:function(e){return new su(e)},matchMediaRefresh:function(){return $l.forEach(function(e){var t=e.conditions,n,r;for(r in t)t[r]&&(t[r]=!1,n=1);n&&e.revert()})||au()},addEventListener:function(e,t){var n=eu[e]||(eu[e]=[]);~n.indexOf(t)||n.push(t)},removeEventListener:function(e,t){var n=eu[e],r=n&&n.indexOf(t);r>=0&&n.splice(r,1)},utils:{wrap:Wc,wrapYoyo:Gc,distribute:Ic,random:zc,snap:Rc,normalize:Hc,getUnit:Oc,clamp:kc,splitColor:rl,toArray:Nc,selector:Pc,mapRange:qc,pipe:Bc,unitize:Vc,interpolate:Jc,shuffle:Fc},install:bs,effects:Ns,ticker:ul,updateRoot:Tl.updateRoot,plugins:Ms,globalTimeline:q,core:{PropTween:Ql,globals:Cs,Tween:Q,Timeline:Tl,Animation:wl,getCache:Rs,_removeLinkedListItem:nc,reverting:function(){return H},context:function(e){return e&&U&&(U.data.push(e),e._ctx=U),U},suppressOverwrites:function(e){return Uo=e}}};Bs(`to,from,fromTo,delayedCall,set,killTweensOf`,function(e){return cu[e]=Q[e]}),ul.add(Tl.updateRoot),Qc=cu.to({},{duration:0});var lu=function(e,t){for(var n=e._pt;n&&n.p!==t&&n.op!==t&&n.fp!==t;)n=n._next;return n},uu=function(e,t){var n=e._targets,r,i,a;for(r in t)for(i=n.length;i--;)a=e._ptLookup[i][r],(a&&=a.d)&&(a._pt&&(a=lu(a,r)),a&&a.modifier&&a.modifier(t[r],e,n[i],r))},du=function(e,t){return{name:e,headless:1,rawVars:1,init:function(e,n,r){r._onInit=function(e){var r,i;if(G(n)&&(r={},Bs(n,function(e){return r[e]=1}),n=r),t){for(i in r={},n)r[i]=t(n[i]);n=r}uu(e,n)}}}},fu=cu.registerPlugin({name:`attr`,init:function(e,t,n,r,i){var a,o,s;for(a in this.tween=n,t)s=e.getAttribute(a)||``,o=this.add(e,`setAttribute`,(s||0)+``,t[a],r,i,0,0,a),o.op=a,o.b=s,this._props.push(a)},render:function(e,t){for(var n=t._pt;n;)H?n.set(n.t,n.p,n.b,n):n.r(e,n.d),n=n._next}},{name:`endArray`,headless:1,init:function(e,t){for(var n=t.length;n--;)this.add(e,n,e[n]||0,t[n],0,0,0,0,0,1)}},du(`roundProps`,Lc),du(`modifiers`),du(`snap`,Rc))||cu;Q.version=Tl.version=fu.version=`3.15.0`,ys=1,ts()&&dl(),Z.Power0,Z.Power1,Z.Power2,Z.Power3,Z.Power4,Z.Linear,Z.Quad,Z.Cubic,Z.Quart,Z.Quint,Z.Strong,Z.Elastic,Z.Back,Z.SteppedEase,Z.Bounce,Z.Sine,Z.Expo,Z.Circ;var pu,mu,hu,gu,_u,vu,yu,bu=function(){return typeof window<`u`},xu={},Su=180/Math.PI,Cu=Math.PI/180,wu=Math.atan2,Tu=1e8,Eu=/([A-Z])/g,Du=/(left|right|width|margin|padding|x)/i,Ou=/[\s,\(]\S/,ku={autoAlpha:`opacity,visibility`,scale:`scaleX,scaleY`,alpha:`opacity`},Au=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e4)/1e4+t.u,t)},ju=function(e,t){return t.set(t.t,t.p,e===1?t.e:Math.round((t.s+t.c*e)*1e4)/1e4+t.u,t)},Mu=function(e,t){return t.set(t.t,t.p,e?Math.round((t.s+t.c*e)*1e4)/1e4+t.u:t.b,t)},Nu=function(e,t){return t.set(t.t,t.p,e===1?t.e:e?Math.round((t.s+t.c*e)*1e4)/1e4+t.u:t.b,t)},Pu=function(e,t){var n=t.s+t.c*e;t.set(t.t,t.p,~~(n+(n<0?-.5:.5))+t.u,t)},Fu=function(e,t){return t.set(t.t,t.p,e?t.e:t.b,t)},Iu=function(e,t){return t.set(t.t,t.p,e===1?t.e:t.b,t)},Lu=function(e,t,n){return e.style[t]=n},Ru=function(e,t,n){return e.style.setProperty(t,n)},zu=function(e,t,n){return e._gsap[t]=n},Bu=function(e,t,n){return e._gsap.scaleX=e._gsap.scaleY=n},Vu=function(e,t,n,r,i){var a=e._gsap;a.scaleX=a.scaleY=n,a.renderTransform(i,a)},Hu=function(e,t,n,r,i){var a=e._gsap;a[t]=n,a.renderTransform(i,a)},$=`transform`,Uu=$+`Origin`,Wu=function e(t,n){var r=this,i=this.target,a=i.style,o=i._gsap;if(t in xu&&a){if(this.tfm=this.tfm||{},t!==`transform`)t=ku[t]||t,~t.indexOf(`,`)?t.split(`,`).forEach(function(e){return r.tfm[e]=ld(i,e)}):this.tfm[t]=o.x?o[t]:ld(i,t),t===Uu&&(this.tfm.zOrigin=o.zOrigin);else return ku.transform.split(`,`).forEach(function(t){return e.call(r,t,n)});if(this.props.indexOf($)>=0)return;o.svg&&(this.svgo=i.getAttribute(`data-svg-origin`),this.props.push(Uu,n,``)),t=$}(a||n)&&this.props.push(t,n,a[t])},Gu=function(e){e.translate&&(e.removeProperty(`translate`),e.removeProperty(`scale`),e.removeProperty(`rotate`))},Ku=function(){var e=this.props,t=this.target,n=t.style,r=t._gsap,i,a;for(i=0;i<e.length;i+=3)e[i+1]?e[i+1]===2?t[e[i]](e[i+2]):t[e[i]]=e[i+2]:e[i+2]?n[e[i]]=e[i+2]:n.removeProperty(e[i].substr(0,2)===`--`?e[i]:e[i].replace(Eu,`-$1`).toLowerCase());if(this.tfm){for(a in this.tfm)r[a]=this.tfm[a];r.svg&&(r.renderTransform(),t.setAttribute(`data-svg-origin`,this.svgo||``)),i=yu(),(!i||!i.isStart)&&!n[$]&&(Gu(n),r.zOrigin&&n[Uu]&&(n[Uu]+=` `+r.zOrigin+`px`,r.zOrigin=0,r.renderTransform()),r.uncache=1)}},qu=function(e,t){var n={target:e,props:[],revert:Ku,save:Wu};return e._gsap||fu.core.getCache(e),t&&e.style&&e.nodeType&&t.split(`,`).forEach(function(e){return n.save(e)}),n},Ju,Yu=function(e,t){var n=mu.createElementNS?mu.createElementNS((t||`http://www.w3.org/1999/xhtml`).replace(/^https/,`http`),e):mu.createElement(e);return n&&n.style?n:mu.createElement(e)},Xu=function e(t,n,r){var i=getComputedStyle(t);return i[n]||i.getPropertyValue(n.replace(Eu,`-$1`).toLowerCase())||i.getPropertyValue(n)||!r&&e(t,Qu(n)||n,1)||``},Zu=`O,Moz,ms,Ms,Webkit`.split(`,`),Qu=function(e,t,n){var r=(t||_u).style,i=5;if(e in r&&!n)return e;for(e=e.charAt(0).toUpperCase()+e.substr(1);i--&&!(Zu[i]+e in r););return i<0?null:(i===3?`ms`:i>=0?Zu[i]:``)+e},$u=function(){bu()&&window.document&&(pu=window,mu=pu.document,hu=mu.documentElement,_u=Yu(`div`)||{style:{}},Yu(`div`),$=Qu($),Uu=$+`Origin`,_u.style.cssText=`border-width:0;line-height:0;position:absolute;padding:0`,Ju=!!Qu(`perspective`),yu=fu.core.reverting,gu=1)},ed=function(e){var t=e.ownerSVGElement,n=Yu(`svg`,t&&t.getAttribute(`xmlns`)||`http://www.w3.org/2000/svg`),r=e.cloneNode(!0),i;r.style.display=`block`,n.appendChild(r),hu.appendChild(n);try{i=r.getBBox()}catch{}return n.removeChild(r),hu.removeChild(n),i},td=function(e,t){for(var n=t.length;n--;)if(e.hasAttribute(t[n]))return e.getAttribute(t[n])},nd=function(e){var t,n;try{t=e.getBBox()}catch{t=ed(e),n=1}return t&&(t.width||t.height)||n||(t=ed(e)),t&&!t.width&&!t.x&&!t.y?{x:+td(e,[`x`,`cx`,`x1`])||0,y:+td(e,[`y`,`cy`,`y1`])||0,width:0,height:0}:t},rd=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&nd(e))},id=function(e,t){if(t){var n=e.style,r;t in xu&&t!==Uu&&(t=$),n.removeProperty?(r=t.substr(0,2),(r===`ms`||t.substr(0,6)===`webkit`)&&(t=`-`+t),n.removeProperty(r===`--`?t:t.replace(Eu,`-$1`).toLowerCase())):n.removeAttribute(t)}},ad=function(e,t,n,r,i,a){var o=new Ql(e._pt,t,n,0,1,a?Iu:Fu);return e._pt=o,o.b=r,o.e=i,e._props.push(n),o},od={deg:1,rad:1,turn:1},sd={grid:1,flex:1},cd=function e(t,n,r,i){var a=parseFloat(r)||0,o=(r+``).trim().substr((a+``).length)||`px`,s=_u.style,c=Du.test(n),l=t.tagName.toLowerCase()===`svg`,u=(l?`client`:`offset`)+(c?`Width`:`Height`),d=100,f=i===`px`,p=i===`%`,m,h,g,_;if(i===o||!a||od[i]||od[o])return a;if(o!==`px`&&!f&&(a=e(t,n,r,`px`)),_=t.getCTM&&rd(t),(p||o===`%`)&&(xu[n]||~n.indexOf(`adius`)))return m=_?t.getBBox()[c?`width`:`height`]:t[u],J(p?a/m*d:a/100*m);if(s[c?`width`:`height`]=d+(f?o:i),h=i!==`rem`&&~n.indexOf(`adius`)||i===`em`&&t.appendChild&&!l?t:t.parentNode,_&&(h=(t.ownerSVGElement||{}).parentNode),(!h||h===mu||!h.appendChild)&&(h=mu.body),g=h._gsap,g&&p&&g.width&&c&&g.time===ul.time&&!g.uncache)return J(a/g.width*d);if(p&&(n===`height`||n===`width`)){var v=t.style[n];t.style[n]=d+i,m=t[u],v?t.style[n]=v:id(t,n)}else (p||o===`%`)&&!sd[Xu(h,`display`)]&&(s.position=Xu(t,`position`)),h===t&&(s.position=`static`),h.appendChild(_u),m=_u[u],h.removeChild(_u),s.position=`absolute`;return c&&p&&(g=Rs(h),g.time=ul.time,g.width=h[u]),J(f?m*a/d:m&&a?d/m*a:0)},ld=function(e,t,n,r){var i;return gu||$u(),t in ku&&t!==`transform`&&(t=ku[t],~t.indexOf(`,`)&&(t=t.split(`,`)[0])),xu[t]&&t!==`transform`?(i=xd(e,r),i=t===`transformOrigin`?i.svg?i.origin:Sd(Xu(e,Uu))+` `+i.zOrigin+`px`:i[t]):(i=e.style[t],(!i||i===`auto`||r||~(i+``).indexOf(`calc(`))&&(i=md[t]&&md[t](e,t,n)||Xu(e,t)||zs(e,t)||+(t===`opacity`))),n&&!~(i+``).trim().indexOf(` `)?cd(e,t,i,n)+n:i},ud=function(e,t,n,r){if(!n||n===`none`){var i=Qu(t,e,1),a=i&&Xu(e,i,1);a&&a!==n?(t=i,n=a):t===`borderColor`&&(n=Xu(e,`borderTopColor`))}var o=new Ql(this._pt,e.style,t,0,1,Kl),s=0,c=0,l,u,d,f,p,m,h,g,_,v,y,b;if(o.b=n,o.e=r,n+=``,r+=``,r.substring(0,6)===`var(--`&&(r=Xu(e,r.substring(4,r.indexOf(`)`)))),r===`auto`&&(m=e.style[t],e.style[t]=r,r=Xu(e,t)||r,m?e.style[t]=m:id(e,t)),l=[n,r],cl(l),n=l[0],r=l[1],d=n.match(ls)||[],b=r.match(ls)||[],b.length){for(;u=ls.exec(r);)h=u[0],_=r.substring(s,u.index),p?p=(p+1)%5:(_.substr(-5)===`rgba(`||_.substr(-5)===`hsla(`)&&(p=1),h!==(m=d[c++]||``)&&(f=parseFloat(m)||0,y=m.substr((f+``).length),h.charAt(1)===`=`&&(h=Vs(f,h)+y),g=parseFloat(h),v=h.substr((g+``).length),s=ls.lastIndex-v.length,v||(v=v||Vo.units[t]||y,s===r.length&&(r+=v,o.e+=v)),y!==v&&(f=cd(e,t,m,v)||0),o._pt={_next:o._pt,p:_||c===1?_:`,`,s:f,c:g-f,m:p&&p<4||t===`zIndex`?Math.round:0});o.c=s<r.length?r.substring(s,r.length):``}else o.r=t===`display`&&r===`none`?Iu:Fu;return ds.test(r)&&(o.e=0),this._pt=o,o},dd={top:`0%`,bottom:`100%`,left:`0%`,right:`100%`,center:`50%`},fd=function(e){var t=e.split(` `),n=t[0],r=t[1]||`50%`;return(n===`top`||n===`bottom`||r===`left`||r===`right`)&&(e=n,n=r,r=e),t[0]=dd[n]||n,t[1]=dd[r]||r,t.join(` `)},pd=function(e,t){if(t.tween&&t.tween._time===t.tween._dur){var n=t.t,r=n.style,i=t.u,a=n._gsap,o,s,c;if(i===`all`||i===!0)r.cssText=``,s=1;else for(i=i.split(`,`),c=i.length;--c>-1;)o=i[c],xu[o]&&(s=1,o=o===`transformOrigin`?Uu:$),id(n,o);s&&(id(n,$),a&&(a.svg&&n.removeAttribute(`transform`),r.scale=r.rotate=r.translate=`none`,xd(n,1),a.uncache=1,Gu(r)))}},md={clearProps:function(e,t,n,r,i){if(i.data!==`isFromStart`){var a=e._pt=new Ql(e._pt,t,n,0,0,pd);return a.u=r,a.pr=-10,a.tween=i,e._props.push(n),1}}},hd=[1,0,0,1,0,0],gd={},_d=function(e){return e===`matrix(1, 0, 0, 1, 0, 0)`||e===`none`||!e},vd=function(e){var t=Xu(e,$);return _d(t)?hd:t.substr(7).match(cs).map(J)},yd=function(e,t){var n=e._gsap||Rs(e),r=e.style,i=vd(e),a,o,s,c;return n.svg&&e.getAttribute(`transform`)?(s=e.transform.baseVal.consolidate().matrix,i=[s.a,s.b,s.c,s.d,s.e,s.f],i.join(`,`)===`1,0,0,1,0,0`?hd:i):(i===hd&&!e.offsetParent&&e!==hu&&!n.svg&&(s=r.display,r.display=`block`,a=e.parentNode,(!a||!e.offsetParent&&!e.getBoundingClientRect().width)&&(c=1,o=e.nextElementSibling,hu.appendChild(e)),i=vd(e),s?r.display=s:id(e,`display`),c&&(o?a.insertBefore(e,o):a?a.appendChild(e):hu.removeChild(e))),t&&i.length>6?[i[0],i[1],i[4],i[5],i[12],i[13]]:i)},bd=function(e,t,n,r,i,a){var o=e._gsap,s=i||yd(e,!0),c=o.xOrigin||0,l=o.yOrigin||0,u=o.xOffset||0,d=o.yOffset||0,f=s[0],p=s[1],m=s[2],h=s[3],g=s[4],_=s[5],v=t.split(` `),y=parseFloat(v[0])||0,b=parseFloat(v[1])||0,x,S,C,w;n?s!==hd&&(S=f*h-p*m)&&(C=h/S*y+b*(-m/S)+(m*_-h*g)/S,w=y*(-p/S)+f/S*b-(f*_-p*g)/S,y=C,b=w):(x=nd(e),y=x.x+(~v[0].indexOf(`%`)?y/100*x.width:y),b=x.y+(~(v[1]||v[0]).indexOf(`%`)?b/100*x.height:b)),r||r!==!1&&o.smooth?(g=y-c,_=b-l,o.xOffset=u+(g*f+_*m)-g,o.yOffset=d+(g*p+_*h)-_):o.xOffset=o.yOffset=0,o.xOrigin=y,o.yOrigin=b,o.smooth=!!r,o.origin=t,o.originIsAbsolute=!!n,e.style[Uu]=`0px 0px`,a&&(ad(a,o,`xOrigin`,c,y),ad(a,o,`yOrigin`,l,b),ad(a,o,`xOffset`,u,o.xOffset),ad(a,o,`yOffset`,d,o.yOffset)),e.setAttribute(`data-svg-origin`,y+` `+b)},xd=function(e,t){var n=e._gsap||new Cl(e);if(`x`in n&&!t&&!n.uncache)return n;var r=e.style,i=n.scaleX<0,a=`px`,o=`deg`,s=getComputedStyle(e),c=Xu(e,Uu)||`0`,l=u=d=m=h=g=_=v=y=0,u,d,f=p=1,p,m,h,g,_,v,y,b,x,S,C,w,T,E,D,O,k,A,j,M,N,ee,te,P,ne,re,ie,ae;return n.svg=!!(e.getCTM&&rd(e)),s.translate&&((s.translate!==`none`||s.scale!==`none`||s.rotate!==`none`)&&(r[$]=(s.translate===`none`?``:`translate3d(`+(s.translate+` 0 0`).split(` `).slice(0,3).join(`, `)+`) `)+(s.rotate===`none`?``:`rotate(`+s.rotate+`) `)+(s.scale===`none`?``:`scale(`+s.scale.split(` `).join(`,`)+`) `)+(s[$]===`none`?``:s[$])),r.scale=r.rotate=r.translate=`none`),S=yd(e,n.svg),n.svg&&(n.uncache?(N=e.getBBox(),c=n.xOrigin-N.x+`px `+(n.yOrigin-N.y)+`px`,M=``):M=!t&&e.getAttribute(`data-svg-origin`),bd(e,M||c,!!M||n.originIsAbsolute,n.smooth!==!1,S)),b=n.xOrigin||0,x=n.yOrigin||0,S!==hd&&(E=S[0],D=S[1],O=S[2],k=S[3],l=A=S[4],u=j=S[5],S.length===6?(f=Math.sqrt(E*E+D*D),p=Math.sqrt(k*k+O*O),m=E||D?wu(D,E)*Su:0,_=O||k?wu(O,k)*Su+m:0,_&&(p*=Math.abs(Math.cos(_*Cu))),n.svg&&(l-=b-(b*E+x*O),u-=x-(b*D+x*k))):(ae=S[6],re=S[7],te=S[8],P=S[9],ne=S[10],ie=S[11],l=S[12],u=S[13],d=S[14],C=wu(ae,ne),h=C*Su,C&&(w=Math.cos(-C),T=Math.sin(-C),M=A*w+te*T,N=j*w+P*T,ee=ae*w+ne*T,te=A*-T+te*w,P=j*-T+P*w,ne=ae*-T+ne*w,ie=re*-T+ie*w,A=M,j=N,ae=ee),C=wu(-O,ne),g=C*Su,C&&(w=Math.cos(-C),T=Math.sin(-C),M=E*w-te*T,N=D*w-P*T,ee=O*w-ne*T,ie=k*T+ie*w,E=M,D=N,O=ee),C=wu(D,E),m=C*Su,C&&(w=Math.cos(C),T=Math.sin(C),M=E*w+D*T,N=A*w+j*T,D=D*w-E*T,j=j*w-A*T,E=M,A=N),h&&Math.abs(h)+Math.abs(m)>359.9&&(h=m=0,g=180-g),f=J(Math.sqrt(E*E+D*D+O*O)),p=J(Math.sqrt(j*j+ae*ae)),C=wu(A,j),_=Math.abs(C)>2e-4?C*Su:0,y=ie?1/(ie<0?-ie:ie):0),n.svg&&(M=e.getAttribute(`transform`),n.forceCSS=e.setAttribute(`transform`,``)||!_d(Xu(e,$)),M&&e.setAttribute(`transform`,M))),Math.abs(_)>90&&Math.abs(_)<270&&(i?(f*=-1,_+=m<=0?180:-180,m+=m<=0?180:-180):(p*=-1,_+=_<=0?180:-180)),t||=n.uncache,n.x=l-((n.xPercent=l&&(!t&&n.xPercent||(Math.round(e.offsetWidth/2)===Math.round(-l)?-50:0)))?e.offsetWidth*n.xPercent/100:0)+a,n.y=u-((n.yPercent=u&&(!t&&n.yPercent||(Math.round(e.offsetHeight/2)===Math.round(-u)?-50:0)))?e.offsetHeight*n.yPercent/100:0)+a,n.z=d+a,n.scaleX=J(f),n.scaleY=J(p),n.rotation=J(m)+o,n.rotationX=J(h)+o,n.rotationY=J(g)+o,n.skewX=_+o,n.skewY=v+o,n.transformPerspective=y+a,(n.zOrigin=parseFloat(c.split(` `)[2])||!t&&n.zOrigin||0)&&(r[Uu]=Sd(c)),n.xOffset=n.yOffset=0,n.force3D=Vo.force3D,n.renderTransform=n.svg?kd:Ju?Od:wd,n.uncache=0,n},Sd=function(e){return(e=e.split(` `))[0]+` `+e[1]},Cd=function(e,t,n){var r=Oc(t);return J(parseFloat(t)+parseFloat(cd(e,`x`,n+`px`,r)))+r},wd=function(e,t){t.z=`0px`,t.rotationY=t.rotationX=`0deg`,t.force3D=0,Od(e,t)},Td=`0deg`,Ed=`0px`,Dd=`) `,Od=function(e,t){var n=t||this,r=n.xPercent,i=n.yPercent,a=n.x,o=n.y,s=n.z,c=n.rotation,l=n.rotationY,u=n.rotationX,d=n.skewX,f=n.skewY,p=n.scaleX,m=n.scaleY,h=n.transformPerspective,g=n.force3D,_=n.target,v=n.zOrigin,y=``,b=g===`auto`&&e&&e!==1||g===!0;if(v&&(u!==Td||l!==Td)){var x=parseFloat(l)*Cu,S=Math.sin(x),C=Math.cos(x),w;x=parseFloat(u)*Cu,w=Math.cos(x),a=Cd(_,a,S*w*-v),o=Cd(_,o,-Math.sin(x)*-v),s=Cd(_,s,C*w*-v+v)}h!==Ed&&(y+=`perspective(`+h+Dd),(r||i)&&(y+=`translate(`+r+`%, `+i+`%) `),(b||a!==Ed||o!==Ed||s!==Ed)&&(y+=s!==Ed||b?`translate3d(`+a+`, `+o+`, `+s+`) `:`translate(`+a+`, `+o+Dd),c!==Td&&(y+=`rotate(`+c+Dd),l!==Td&&(y+=`rotateY(`+l+Dd),u!==Td&&(y+=`rotateX(`+u+Dd),(d!==Td||f!==Td)&&(y+=`skew(`+d+`, `+f+Dd),(p!==1||m!==1)&&(y+=`scale(`+p+`, `+m+Dd),_.style[$]=y||`translate(0, 0)`},kd=function(e,t){var n=t||this,r=n.xPercent,i=n.yPercent,a=n.x,o=n.y,s=n.rotation,c=n.skewX,l=n.skewY,u=n.scaleX,d=n.scaleY,f=n.target,p=n.xOrigin,m=n.yOrigin,h=n.xOffset,g=n.yOffset,_=n.forceCSS,v=parseFloat(a),y=parseFloat(o),b,x,S,C,w;s=parseFloat(s),c=parseFloat(c),l=parseFloat(l),l&&(l=parseFloat(l),c+=l,s+=l),s||c?(s*=Cu,c*=Cu,b=Math.cos(s)*u,x=Math.sin(s)*u,S=Math.sin(s-c)*-d,C=Math.cos(s-c)*d,c&&(l*=Cu,w=Math.tan(c-l),w=Math.sqrt(1+w*w),S*=w,C*=w,l&&(w=Math.tan(l),w=Math.sqrt(1+w*w),b*=w,x*=w)),b=J(b),x=J(x),S=J(S),C=J(C)):(b=u,C=d,x=S=0),(v&&!~(a+``).indexOf(`px`)||y&&!~(o+``).indexOf(`px`))&&(v=cd(f,`x`,a,`px`),y=cd(f,`y`,o,`px`)),(p||m||h||g)&&(v=J(v+p-(p*b+m*S)+h),y=J(y+m-(p*x+m*C)+g)),(r||i)&&(w=f.getBBox(),v=J(v+r/100*w.width),y=J(y+i/100*w.height)),w=`matrix(`+b+`,`+x+`,`+S+`,`+C+`,`+v+`,`+y+`)`,f.setAttribute(`transform`,w),_&&(f.style[$]=w)},Ad=function(e,t,n,r,i){var a=360,o=G(i),s=parseFloat(i)*(o&&~i.indexOf(`rad`)?Su:1)-r,c=r+s+`deg`,l,u;return o&&(l=i.split(`_`)[1],l===`short`&&(s%=a,s!==s%(a/2)&&(s+=s<0?a:-a)),l===`cw`&&s<0?s=(s+a*Tu)%a-~~(s/a)*a:l===`ccw`&&s>0&&(s=(s-a*Tu)%a-~~(s/a)*a)),e._pt=u=new Ql(e._pt,t,n,r,s,ju),u.e=c,u.u=`deg`,e._props.push(n),u},jd=function(e,t){for(var n in t)e[n]=t[n];return e},Md=function(e,t,n){var r=jd({},n._gsap),i=`perspective,force3D,transformOrigin,svgOrigin`,a=n.style,o,s,c,l,u,d,f,p;for(s in r.svg?(c=n.getAttribute(`transform`),n.setAttribute(`transform`,``),a[$]=t,o=xd(n,1),id(n,$),n.setAttribute(`transform`,c)):(c=getComputedStyle(n)[$],a[$]=t,o=xd(n,1),a[$]=c),xu)c=r[s],l=o[s],c!==l&&i.indexOf(s)<0&&(f=Oc(c),p=Oc(l),u=f===p?parseFloat(c):cd(n,s,c,p),d=parseFloat(l),e._pt=new Ql(e._pt,o,s,u,d-u,Au),e._pt.u=p||0,e._props.push(s));jd(o,r)};Bs(`padding,margin,Width,Radius`,function(e,t){var n=`Top`,r=`Right`,i=`Bottom`,a=`Left`,o=(t<3?[n,r,i,a]:[n+a,n+r,i+r,i+a]).map(function(n){return t<2?e+n:`border`+n+e});md[t>1?`border`+e:e]=function(e,t,n,r,i){var a,s;if(arguments.length<4)return a=o.map(function(t){return ld(e,t,n)}),s=a.join(` `),s.split(a[0]).length===5?a[0]:s;a=(r+``).split(` `),s={},o.forEach(function(e,t){return s[e]=a[t]=a[t]||a[(t-1)/2|0]}),e.init(t,s,i)}});var Nd={name:`css`,register:$u,targetTest:function(e){return e.style&&e.nodeType},init:function(e,t,n,r,i){var a=this._props,o=e.style,s=n.vars.startAt,c,l,u,d,f,p,m,h,g,_,v,y,b,x,S,C,w;for(m in gu||$u(),this.styles=this.styles||qu(e),C=this.styles.props,this.tween=n,t)if(m!==`autoRound`&&(l=t[m],!(Ms[m]&&kl(m,t,n,r,e,i)))){if(f=typeof l,p=md[m],f===`function`&&(l=l.call(n,r,e,i),f=typeof l),f===`string`&&~l.indexOf(`random(`)&&(l=Kc(l)),p)p(this,e,m,l,n)&&(S=1);else if(m.substr(0,2)===`--`)c=(getComputedStyle(e).getPropertyValue(m)+``).trim(),l+=``,ol.lastIndex=0,ol.test(c)||(h=Oc(c),g=Oc(l),g?h!==g&&(c=cd(e,m,c,g)+g):h&&(l+=h)),this.add(o,`setProperty`,c,l,r,i,0,0,m),a.push(m),C.push(m,0,o[m]);else if(f!==`undefined`){if(s&&m in s?(c=typeof s[m]==`function`?s[m].call(n,r,e,i):s[m],G(c)&&~c.indexOf(`random(`)&&(c=Kc(c)),Oc(c+``)||c===`auto`||(c+=Vo.units[m]||Oc(ld(e,m))||``),(c+``).charAt(1)===`=`&&(c=ld(e,m))):c=ld(e,m),d=parseFloat(c),_=f===`string`&&l.charAt(1)===`=`&&l.substr(0,2),_&&(l=l.substr(2)),u=parseFloat(l),m in ku&&(m===`autoAlpha`&&(d===1&&ld(e,`visibility`)===`hidden`&&u&&(d=0),C.push(`visibility`,0,o.visibility),ad(this,o,`visibility`,d?`inherit`:`hidden`,u?`inherit`:`hidden`,!u)),m!==`scale`&&m!==`transform`&&(m=ku[m],~m.indexOf(`,`)&&(m=m.split(`,`)[0]))),v=m in xu,v){if(this.styles.save(m),w=l,f===`string`&&l.substring(0,6)===`var(--`){if(l=Xu(e,l.substring(4,l.indexOf(`)`))),l.substring(0,5)===`calc(`){var T=e.style.perspective;e.style.perspective=l,l=Xu(e,`perspective`),T?e.style.perspective=T:id(e,`perspective`)}u=parseFloat(l)}if(y||(b=e._gsap,b.renderTransform&&!t.parseTransform||xd(e,t.parseTransform),x=t.smoothOrigin!==!1&&b.smooth,y=this._pt=new Ql(this._pt,o,$,0,1,b.renderTransform,b,0,-1),y.dep=1),m===`scale`)this._pt=new Ql(this._pt,b,`scaleY`,b.scaleY,(_?Vs(b.scaleY,_+u):u)-b.scaleY||0,Au),this._pt.u=0,a.push(`scaleY`,m),m+=`X`;else if(m===`transformOrigin`){C.push(Uu,0,o[Uu]),l=fd(l),b.svg?bd(e,l,0,x,0,this):(g=parseFloat(l.split(` `)[2])||0,g!==b.zOrigin&&ad(this,b,`zOrigin`,b.zOrigin,g),ad(this,o,m,Sd(c),Sd(l)));continue}else if(m===`svgOrigin`){bd(e,l,1,x,0,this);continue}else if(m in gd){Ad(this,b,m,d,_?Vs(d,_+l):l);continue}else if(m===`smoothOrigin`){ad(this,b,`smooth`,b.smooth,l);continue}else if(m===`force3D`){b[m]=l;continue}else if(m===`transform`){Md(this,l,e);continue}}else m in o||(m=Qu(m)||m);if(v||(u||u===0)&&(d||d===0)&&!Ou.test(l)&&m in o)h=(c+``).substr((d+``).length),u||=0,g=Oc(l)||(m in Vo.units?Vo.units[m]:h),h!==g&&(d=cd(e,m,c,g)),this._pt=new Ql(this._pt,v?b:o,m,d,(_?Vs(d,_+u):u)-d,!v&&(g===`px`||m===`zIndex`)&&t.autoRound!==!1?Pu:Au),this._pt.u=g||0,v&&w!==l?(this._pt.b=c,this._pt.e=w,this._pt.r=Nu):h!==g&&g!==`%`&&(this._pt.b=c,this._pt.r=Mu);else if(m in o)ud.call(this,e,m,c,_?_+l:l);else if(m in e)this.add(e,m,c||e[m],_?_+l:l,r,i);else if(m!==`parseTransform`){xs(m,l);continue}v||(m in o?C.push(m,0,o[m]):typeof e[m]==`function`?C.push(m,2,e[m]()):C.push(m,1,c||e[m])),a.push(m)}}S&&Zl(this)},render:function(e,t){if(t.tween._time||!yu())for(var n=t._pt;n;)n.r(e,n.d),n=n._next;else t.styles.revert()},get:ld,aliases:ku,getSetter:function(e,t,n){var r=ku[t];return r&&r.indexOf(`,`)<0&&(t=r),t in xu&&t!==Uu&&(e._gsap.x||ld(e,`x`))?n&&vu===n?t===`scale`?Bu:zu:(vu=n||{})&&(t===`scale`?Vu:Hu):e.style&&!Qo(e.style[t])?Lu:~t.indexOf(`-`)?Ru:Ul(e,t)},core:{_removeProperty:id,_getMatrix:yd}};fu.utils.checkPrefix=Qu,fu.core.getStyleSaver=qu,(function(e,t,n,r){var i=Bs(e+`,`+t+`,`+n,function(e){xu[e]=1});Bs(t,function(e){Vo.units[e]=`deg`,gd[e]=1}),ku[i[13]]=e+`,`+t,Bs(r,function(e){var t=e.split(`:`);ku[t[1]]=i[t[0]]})})(`x,y,z,scale,scaleX,scaleY,xPercent,yPercent`,`rotation,rotationX,rotationY,skewX,skewY`,`transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective`,`0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY`),Bs(`x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective`,function(e){Vo.units[e]=`px`}),fu.registerPlugin(Nd);var Pd=fu.registerPlugin(Nd)||fu;Pd.core.Tween;var Fd=(e,t)=>{let[n,r]=getComputedStyle(e).getPropertyValue(t).trim().split(`,`).map(e=>parseFloat(e.trim()));return[isNaN(n)?0:n,isNaN(r)?1:r]},Id=({open:e,onOpenChange:t,trigger:n,title:r,description:i,children:a,footer:o,className:s,modalRootSelector:c,duration:f=1})=>{let p=(0,l.useRef)(null),m=(0,l.useRef)(null),h=(0,l.useRef)(null),g=(0,l.useRef)(null),_=(0,l.useRef)(null),v=(0,l.useId)(),y=(0,l.useId)(),b=typeof document>`u`?null:(c?document.querySelector(c):null)??document.body,x=(0,l.useCallback)(()=>{let e=p.current,t=m.current;if(!e||!t)return null;let[n,r]=Fd(t,`--modal-opacity`),[i,a]=Fd(t,`--modal-scale`),[o,s]=Fd(t,`--modal-translate-x`),[c,l]=Fd(t,`--modal-translate-y`),u=Pd.timeline({paused:!0,ease:`power1.out`});return u.fromTo(e,{autoAlpha:0},{autoAlpha:1,duration:f},0),u.fromTo(t,{autoAlpha:n,scale:i,xPercent:o,yPercent:c},{autoAlpha:r,scale:a,xPercent:s,yPercent:l,duration:f},0),u},[f]);return(0,l.useEffect)(()=>{g.current=x()},[x,b]),(0,l.useEffect)(()=>{g.current&&(e?g.current.play():g.current.reverse())},[e,b]),(0,l.useEffect)(()=>{e?(_.current=document.activeElement,h.current?.focus()):(_.current?.focus(),_.current=null)},[e]),(0,l.useEffect)(()=>{if(!e)return;let n=e=>{e.key===`Escape`&&t(!1)};return document.addEventListener(`keydown`,n),()=>document.removeEventListener(`keydown`,n)},[e,t]),(0,u.jsxs)(u.Fragment,{children:[n&&(0,u.jsx)(`span`,{style:{display:`contents`},onClick:()=>t(!0),children:n}),b&&(0,d.createPortal)((0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(`div`,{ref:p,className:`vi-modal-overlay`,"aria-hidden":`true`,onClick:()=>t(!1)}),(0,u.jsxs)(`div`,{ref:m,role:`dialog`,"aria-modal":`true`,inert:e?void 0:!0,"aria-labelledby":r?v:void 0,"aria-describedby":i?y:void 0,className:V(s),children:[(0,u.jsxs)(`button`,{ref:h,className:`vi-modal-close`,onClick:()=>t(!1),"aria-label":`Close`,children:[(0,u.jsx)(So,{className:`h-4 w-4`}),(0,u.jsx)(`span`,{className:`sr-only`,children:`Close`})]}),(r||i)&&(0,u.jsxs)(`div`,{className:`vi-modal-header`,children:[r&&(0,u.jsx)(`h2`,{id:v,className:`vi-modal-title`,children:r}),i&&(0,u.jsx)(`p`,{id:y,className:`vi-modal-description`,children:i})]}),(0,u.jsx)(`div`,{className:`vi-modal-body`,children:a}),o&&(0,u.jsx)(`div`,{className:`vi-modal-footer`,children:o})]})]}),b)]})},Ld=(0,l.forwardRef)(({options:e,value:t=[],onChange:n,placeholder:r=`Select...`,label:i,description:a,disabled:o,className:s,maxCount:c=3,searchable:d=!1,loading:f=!1},p)=>{let[m,h]=(0,l.useState)(!1),[g,_]=(0,l.useState)(0),[v,y]=(0,l.useState)(``),b=(0,l.useRef)(null),x=(0,l.useRef)(null),S=(0,l.useId)(),C=`${S}-listbox`,w=(0,l.useMemo)(()=>{if(!d||!v.trim())return e;let t=v.trim().toLowerCase();return e.filter(e=>e.label.toLowerCase().includes(t))},[e,d,v]),T=e=>{let r=t.includes(e)?t.filter(t=>t!==e):[...t,e];n?.(r)},E=(e,r)=>{r.stopPropagation(),n?.(t.filter(t=>t!==e))};(0,l.useEffect)(()=>{if(!m)return;let e=e=>{b.current?.contains(e.target)||h(!1)};return document.addEventListener(`mousedown`,e),()=>document.removeEventListener(`mousedown`,e)},[m]),(0,l.useEffect)(()=>{m&&d&&(y(``),x.current?.focus())},[m,d]),(0,l.useEffect)(()=>{_(0)},[v]);let D=e=>{if(!o)switch(e.key){case`Enter`:if(e.preventDefault(),!m){h(!0);return}w[g]&&!w[g].disabled&&T(w[g].value);break;case` `:if(d&&m)break;if(e.preventDefault(),!m){h(!0);return}w[g]&&!w[g].disabled&&T(w[g].value);break;case`ArrowDown`:if(e.preventDefault(),!m){h(!0);return}_(e=>Math.min(e+1,w.length-1));break;case`ArrowUp`:e.preventDefault(),_(e=>Math.max(e-1,0));break;case`Escape`:case`Tab`:h(!1);break}},O=t.slice(0,c),k=t.length-c;return(0,u.jsxs)(`div`,{className:V(`vi-multi-select-container`,s),ref:b,children:[i&&(0,u.jsx)(`label`,{htmlFor:S,className:`vi-multi-select-label`,children:i}),(0,u.jsxs)(`div`,{className:`vi-multi-select-wrapper`,children:[(0,u.jsxs)(`div`,{ref:p,id:S,role:`combobox`,tabIndex:o?-1:0,"aria-expanded":m,"aria-haspopup":`listbox`,"aria-controls":m?C:void 0,"aria-multiselectable":`true`,"aria-disabled":o||void 0,className:V(tr({variant:`ghost`}),`vi-multi-select-trigger`),onClick:()=>!o&&h(e=>!e),onKeyDown:D,children:[(0,u.jsx)(`span`,{className:`vi-multi-select-chips`,children:t.length===0?(0,u.jsx)(`span`,{className:`vi-multi-select-placeholder`,children:r}):(0,u.jsxs)(u.Fragment,{children:[O.map(t=>{let n=e.find(e=>e.value===t)?.label??t;return(0,u.jsxs)(`span`,{className:`vi-multi-select-chip`,children:[n,(0,u.jsx)(nr,{type:`button`,variant:`ghost`,disabled:o,"aria-label":`Remove ${n}`,className:`vi-multi-select-chip-remove h-auto w-auto p-0`,onClick:e=>E(t,e),children:(0,u.jsx)(So,{className:`h-3 w-3`})})]},t)}),k>0&&(0,u.jsxs)(`span`,{className:`vi-multi-select-overflow`,children:[`+`,k]})]})}),(0,u.jsx)(_o,{className:V(`vi-multi-select-icon`,m&&`vi-multi-select-icon-open`)})]}),m&&(0,u.jsxs)(`div`,{className:`vi-multi-select-dropdown`,children:[d&&!f&&(0,u.jsx)(`input`,{ref:x,type:`text`,className:`vi-multi-select-search`,placeholder:`Search...`,value:v,onChange:e=>y(e.target.value),onKeyDown:D}),f?(0,u.jsx)(Ro,{text:`Loading...`,className:`vi-multi-select-loading`}):(0,u.jsxs)(`ul`,{id:C,role:`listbox`,"aria-multiselectable":`true`,"aria-label":i,className:`vi-multi-select-listbox`,children:[w.length===0&&(0,u.jsx)(`li`,{className:`vi-multi-select-empty`,children:`No options found`}),w.map((e,n)=>{let r=t.includes(e.value);return(0,u.jsxs)(`li`,{role:`option`,"aria-selected":r,"aria-disabled":e.disabled,className:V(`vi-multi-select-option`,r&&`vi-multi-select-option-selected`,e.disabled&&`vi-multi-select-option-disabled`,n===g&&`vi-multi-select-option-active`),onMouseEnter:()=>!e.disabled&&_(n),onClick:()=>{e.disabled||T(e.value)},children:[(0,u.jsx)(`span`,{className:V(`vi-multi-select-checkbox`,r&&`vi-multi-select-checkbox-checked`),children:r&&(0,u.jsx)(go,{className:`h-3 w-3`})}),e.label]},e.value)})]})]})]}),a&&(0,u.jsx)(`p`,{className:`vi-multi-select-description`,children:a})]})});Ld.displayName=`MultiSelect`;var Rd=(0,l.forwardRef)(({label:e,size:t=`default`,className:n,id:r,disabled:i,...a},o)=>{let s=(0,l.useId)(),c=r??s;return(0,u.jsxs)(`label`,{htmlFor:c,className:V(`vi-radio-item`,t!==`default`&&`vi-radio-item-${t}`,n),children:[(0,u.jsx)(`input`,{ref:o,id:c,type:`radio`,disabled:i,className:`vi-radio-input`,...a}),(0,u.jsx)(`span`,{className:`vi-radio-indicator`}),e&&(0,u.jsx)(`span`,{className:`vi-radio-label`,children:e})]})});Rd.displayName=`Radio`;var zd=(0,l.forwardRef)(({options:e,value:t,defaultValue:n,onChange:r,label:i,description:a,disabled:o,name:s,direction:c=`vertical`,size:d=`default`,className:f},p)=>{let m=(0,l.useId)(),h=s??m,g=t!==void 0;return(0,u.jsxs)(`div`,{ref:p,role:`radiogroup`,"aria-labelledby":i?`${m}-label`:void 0,className:V(`vi-radio-root`,f),children:[i&&(0,u.jsx)(`span`,{id:`${m}-label`,className:`vi-radio-legend`,children:i}),(0,u.jsx)(`div`,{className:V(`vi-radio-options`,c===`horizontal`&&`vi-radio-options-horizontal`),children:e.map(e=>{let i=`${m}-opt-${e.value}`,a=o||e.disabled;return(0,u.jsxs)(`label`,{htmlFor:i,className:V(`vi-radio-item`,d!==`default`&&`vi-radio-item-${d}`),children:[(0,u.jsx)(`input`,{id:i,type:`radio`,name:h,value:e.value,disabled:a,className:`vi-radio-input`,...g?{checked:e.value===t,onChange:t=>{t.target.checked&&r?.(e.value)}}:{defaultChecked:e.value===n,onChange:t=>{t.target.checked&&r?.(e.value)}}}),(0,u.jsx)(`span`,{className:`vi-radio-indicator`}),(0,u.jsx)(`span`,{className:`vi-radio-label`,children:e.label})]},e.value)})}),a&&(0,u.jsx)(`p`,{className:`vi-radio-description`,children:a})]})});zd.displayName=`RadioGroup`;var Bd=(0,l.forwardRef)(({options:e,value:t,onChange:n,placeholder:r=`Select...`,label:i,description:a,disabled:o,className:s,name:c,searchable:d=!1,loading:f=!1,clearable:p=!1},m)=>{let[h,g]=(0,l.useState)(!1),[_,v]=(0,l.useState)(0),[y,b]=(0,l.useState)(``),x=(0,l.useRef)(null),S=(0,l.useRef)(null),C=(0,l.useId)(),w=`${C}-listbox`,T=e.find(e=>e.value===t),E=(0,l.useMemo)(()=>{if(!d||!y.trim())return e;let t=y.trim().toLowerCase();return e.filter(e=>e.label.toLowerCase().includes(t))},[e,d,y]);(0,l.useEffect)(()=>{if(!h)return;let e=e=>{x.current?.contains(e.target)||g(!1)};return document.addEventListener(`mousedown`,e),()=>document.removeEventListener(`mousedown`,e)},[h]),(0,l.useEffect)(()=>{if(h){d&&(b(``),S.current?.focus());let n=e.findIndex(e=>e.value===t);v(n>=0?n:0)}},[h,e,t,d]),(0,l.useEffect)(()=>{v(0)},[y]);let D=e=>{if(!o)switch(e.key){case`Enter`:if(e.preventDefault(),!h){g(!0);return}!E[_]?.disabled&&E[_]&&(n?.(E[_].value),g(!1));break;case` `:if(d&&h)break;if(e.preventDefault(),!h){g(!0);return}!E[_]?.disabled&&E[_]&&(n?.(E[_].value),g(!1));break;case`ArrowDown`:if(e.preventDefault(),!h){g(!0);return}v(e=>{let t=e+1;for(;t<E.length&&E[t].disabled;)t++;return t<E.length?t:e});break;case`ArrowUp`:e.preventDefault(),v(e=>{let t=e-1;for(;t>=0&&E[t].disabled;)t--;return t>=0?t:e});break;case`Escape`:case`Tab`:g(!1);break}};return(0,u.jsxs)(`div`,{className:V(`vi-select-container`,s),ref:x,children:[i&&(0,u.jsx)(`label`,{htmlFor:C,className:`vi-select-label`,children:i}),(0,u.jsxs)(`div`,{className:`vi-select-wrapper`,children:[(0,u.jsxs)(`div`,{ref:m,id:C,role:`combobox`,tabIndex:o?-1:0,"aria-expanded":h,"aria-haspopup":`listbox`,"aria-controls":h?w:void 0,"aria-activedescendant":h&&_>=0?`${C}-opt-${_}`:void 0,"aria-disabled":o||void 0,className:V(tr({variant:`ghost`}),`vi-select-trigger`),onClick:()=>!o&&g(e=>!e),onKeyDown:D,children:[(0,u.jsx)(`span`,{className:V(!T&&`vi-select-placeholder`),children:T?T.label:r}),p&&T&&!o&&(0,u.jsx)(nr,{type:`button`,variant:`ghost`,"aria-label":`Clear selection`,className:`vi-select-clear h-auto w-auto p-0`,onClick:e=>{e.stopPropagation(),n?.(``)},children:(0,u.jsx)(So,{className:`h-3.5 w-3.5`})}),(0,u.jsx)(_o,{className:V(`vi-select-icon`,h&&`vi-select-icon-open`)})]}),c&&(0,u.jsx)(`input`,{type:`hidden`,name:c,value:t??``}),h&&(0,u.jsxs)(`div`,{className:`vi-select-dropdown`,children:[d&&!f&&(0,u.jsx)(`input`,{ref:S,type:`text`,className:`vi-select-search`,placeholder:`Search...`,value:y,onChange:e=>b(e.target.value),onKeyDown:D}),f?(0,u.jsx)(Ro,{text:`Loading...`,className:`vi-select-loading`}):(0,u.jsxs)(`ul`,{id:w,role:`listbox`,"aria-label":i,className:`vi-select-listbox`,children:[E.length===0&&(0,u.jsx)(`li`,{className:`vi-select-empty`,children:`No options found`}),E.map((e,r)=>(0,u.jsxs)(`li`,{id:`${C}-opt-${r}`,role:`option`,"aria-selected":e.value===t,"aria-disabled":e.disabled,className:V(`vi-select-option`,e.value===t&&`vi-select-option-selected`,e.disabled&&`vi-select-option-disabled`,r===_&&`vi-select-option-active`),onMouseEnter:()=>!e.disabled&&v(r),onClick:()=>{e.disabled||(n?.(e.value),g(!1))},children:[(0,u.jsx)(go,{className:`vi-select-check`}),e.label]},e.value))]})]})]}),a&&(0,u.jsx)(`p`,{className:`vi-select-description`,children:a})]})});Bd.displayName=`Select`;var Vd=(0,l.forwardRef)(({label:e,size:t=`default`,labelPosition:n=`right`,className:r,id:i,disabled:a,...o},s)=>{let c=(0,l.useId)(),d=i??c,f=(0,u.jsx)(`span`,{className:`vi-switch-track`,children:(0,u.jsx)(`span`,{className:`vi-switch-thumb`})});return(0,u.jsxs)(`label`,{htmlFor:d,className:V(`vi-switch-item`,t!==`default`&&`vi-switch-item-${t}`,r),children:[(0,u.jsx)(`input`,{ref:s,id:d,type:`checkbox`,role:`switch`,disabled:a,className:`vi-switch-input`,...o}),n===`left`&&e&&(0,u.jsx)(`span`,{className:`vi-switch-label`,children:e}),f,n===`right`&&e&&(0,u.jsx)(`span`,{className:`vi-switch-label`,children:e})]})});Vd.displayName=`Switch`;var Hd=(0,l.forwardRef)(({className:e,...t},n)=>(0,u.jsx)(`div`,{className:`vi-table-wrapper`,children:(0,u.jsx)(`table`,{ref:n,className:V(`vi-table`,e),...t})}));Hd.displayName=`Table`;var Ud=(0,l.forwardRef)(({className:e,...t},n)=>(0,u.jsx)(`thead`,{ref:n,className:V(`vi-table-header`,e),...t}));Ud.displayName=`TableHeader`;var Wd=(0,l.forwardRef)(({className:e,...t},n)=>(0,u.jsx)(`tbody`,{ref:n,className:V(`vi-table-body`,e),...t}));Wd.displayName=`TableBody`;var Gd=(0,l.forwardRef)(({className:e,...t},n)=>(0,u.jsx)(`tfoot`,{ref:n,className:V(`vi-table-footer`,e),...t}));Gd.displayName=`TableFooter`;var Kd=(0,l.forwardRef)(({className:e,...t},n)=>(0,u.jsx)(`tr`,{ref:n,className:V(`vi-table-row`,e),...t}));Kd.displayName=`TableRow`;var qd=(0,l.forwardRef)(({className:e,...t},n)=>(0,u.jsx)(`th`,{ref:n,className:V(`vi-table-head`,e),...t}));qd.displayName=`TableHead`;var Jd=(0,l.forwardRef)(({className:e,...t},n)=>(0,u.jsx)(`td`,{ref:n,className:V(`vi-table-cell`,e),...t}));Jd.displayName=`TableCell`;var Yd=(0,l.forwardRef)(({className:e,...t},n)=>(0,u.jsx)(`p`,{ref:n,className:V(`vi-table-caption`,e),...t}));Yd.displayName=`TableCaption`;var Xd=({tabs:e,value:t,defaultValue:n,onChange:r,className:i})=>{let a=(0,l.useId)(),o=t!==void 0,[s,c]=(0,l.useState)(n??e[0]?.value??``),d=o?t:s,f=e=>{o||c(e),r?.(e)};return(0,u.jsxs)(`div`,{className:V(`vi-tabs-root`,i),children:[(0,u.jsx)(`div`,{role:`tablist`,className:`vi-tabs-list`,children:e.map(e=>(0,u.jsx)(nr,{role:`tab`,variant:`ghost`,id:`${a}-tab-${e.value}`,"aria-controls":`${a}-panel-${e.value}`,"aria-selected":e.value===d,disabled:e.disabled,className:V(`vi-tabs-trigger`,e.value===d&&`vi-tabs-trigger-active`),onClick:()=>f(e.value),children:e.label},e.value))}),e.map(e=>(0,u.jsx)(`div`,{id:`${a}-panel-${e.value}`,role:`tabpanel`,"aria-labelledby":`${a}-tab-${e.value}`,hidden:e.value!==d,className:`vi-tabs-content`,children:e.content},e.value))]})};Xd.displayName=`Tabs`;var Zd=(0,l.forwardRef)(({className:e,label:t,description:n,hidden:r,validate:i,onValidationChange:a,id:o,...s},c)=>{let[d,f]=(0,l.useState)(null),p=(0,l.useId)(),m=o??p,[h,g]=(0,l.useState)(typeof s.defaultValue==`string`?s.defaultValue:``),_=s.value===void 0?h:String(s.value),v=e=>{if(g(e.target.value),i){let t=i(e.target.value);f(t),a?.(!t)}s.onChange?.(e)},y=V(`flex min-h-[36px] w-full rounded-md border border-input bg-transparent px-3 py-2 text-base shadow-sm transition-colors`,`placeholder:text-muted-foreground`,`focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring`,`disabled:cursor-not-allowed disabled:opacity-50`,`md:text-sm`,d&&`border-destructive focus-visible:ring-destructive`);return(0,u.jsxs)(`div`,{className:`flex flex-col gap-1 w-full`,children:[t&&(0,u.jsx)(`label`,{htmlFor:m,className:`text-sm font-medium`,children:t}),(0,u.jsxs)(`div`,{className:`relative`,children:[(0,u.jsx)(`textarea`,{ref:c,id:m,className:V(y,r&&`text-transparent [caret-color:hsl(var(--foreground))]`,e),onChange:v,placeholder:r?void 0:s.placeholder,...s}),r&&_.length>0&&(0,u.jsx)(`div`,{"aria-hidden":`true`,className:V(y,`absolute inset-0 pointer-events-none`,`overflow-hidden`,`whitespace-pre-wrap break-all`,`bg-transparent border-transparent shadow-none ring-0`),children:`•`.repeat(_.length)})]}),n&&!d&&(0,u.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:n}),d&&(0,u.jsx)(`p`,{className:`text-xs text-destructive font-medium`,children:d})]})});Zd.displayName=`Textarea`;var Qd=null,$d=e=>{Qd=e},ef={success:(e,t)=>{let n=t!==void 0;Qd?.({variant:`success`,title:n?e:void 0,description:n?t:e})},error:(e,t)=>{let n=t!==void 0;Qd?.({variant:`error`,title:n?e:void 0,description:n?t:e})},warning:(e,t)=>{let n=t!==void 0;Qd?.({variant:`warning`,title:n?e:void 0,description:n?t:e})},info:(e,t)=>{let n=t!==void 0;Qd?.({variant:`info`,title:n?e:void 0,description:n?t:e})},default:(e,t)=>{let n=t!==void 0;Qd?.({variant:`default`,title:n?e:void 0,description:n?t:e})}},tf=({children:e,position:t=`right`})=>{let[n,r]=(0,l.useState)([]),i=(0,l.useCallback)(e=>{let t=Date.now().toString()+Math.random().toString(36),n={...e,id:t};r(e=>[...e,n].slice(-5)),setTimeout(()=>{r(e=>e.filter(e=>e.id!==t))},e.duration||5e3)},[]);return(0,l.useEffect)(()=>($d(i),()=>{$d(null)}),[i]),(0,u.jsxs)(u.Fragment,{children:[e,(0,u.jsx)(`div`,{className:V(`vi-toast-viewport`,t===`left`&&`vi-toast-viewport-left`),children:n.map(e=>(0,u.jsx)(nf,{...e},e.id))})]})},nf=({variant:e,title:t,description:n})=>{let r=!!t;return(0,u.jsx)(`div`,{className:V(`vi-toast`,`vi-toast-variant-${e}`),children:(0,u.jsxs)(`div`,{className:`vi-toast-content`,children:[r&&(0,u.jsx)(`div`,{className:`vi-toast-title`,children:t}),n&&(0,u.jsx)(`div`,{className:V(`vi-toast-description`,!r&&`vi-toast-description-colored`),children:n})]})})},rf=(0,l.forwardRef)(({percentage:e,children:t,label:n,size:r=120,strokeWidth:i=8,animate:a=!0,className:o},s)=>{let c=Math.min(100,Math.max(0,e)),d=r/2,f=d-i/2,p=2*Math.PI*f,m=p*(1-c/100),h=(0,l.useRef)(null);return(0,l.useEffect)(()=>{let e=h.current;if(e){if(!a){Pd.set(e,{strokeDashoffset:m});return}Pd.fromTo(e,{strokeDashoffset:p},{strokeDashoffset:m,duration:1.8,ease:`power2.out`})}},[a,p,m]),(0,u.jsxs)(`div`,{ref:s,className:V(`vi-circular-progress`,o),children:[(0,u.jsxs)(`div`,{className:`vi-circular-progress-arc`,style:{width:r,height:r},children:[(0,u.jsxs)(`svg`,{width:r,height:r,"aria-hidden":`true`,className:`vi-circular-progress-svg`,children:[(0,u.jsx)(`circle`,{cx:d,cy:d,r:f,fill:`none`,strokeWidth:i,className:`vi-circular-progress-track`}),(0,u.jsx)(`circle`,{ref:h,cx:d,cy:d,r:f,fill:`none`,strokeWidth:i,strokeLinecap:`round`,strokeDasharray:p,strokeDashoffset:a?p:m,transform:`rotate(-90 ${d} ${d})`,className:`vi-circular-progress-fill`})]}),(0,u.jsx)(`div`,{className:`vi-circular-progress-center`,children:t??(0,u.jsxs)(`span`,{className:`vi-circular-progress-pct`,children:[c,`%`]})})]}),n&&(0,u.jsx)(`p`,{className:`vi-circular-progress-label`,children:n})]})});rf.displayName=`CircularProgressBar`;var af=({value:e,defaultValue:t=``,placeholder:n=`Search...`,disabled:r=!1,loading:i=!1,debounce:a=300,shortcut:o,showButton:s=!1,className:c,onSearch:d,onChange:f,onClear:p})=>{let m=e!==void 0,[h,g]=(0,l.useState)(t),_=m?e:h,v=(0,l.useRef)(null),y=(0,l.useRef)(d);(0,l.useEffect)(()=>{y.current=d});let b=(0,l.useId)(),x=(0,l.useRef)(null);(0,l.useEffect)(()=>{let e=rt(e=>y.current?.(e),a);return x.current=e,()=>e.cancel()},[a]);let S=e=>{let t=e.target.value;m||g(t),f?.(e),s||x.current?.(t)},C=()=>{m||g(``),x.current?.cancel(),d?.(``),p?.(),v.current?.focus()},w=e=>{e.key===`Escape`&&_&&(e.preventDefault(),C()),e.key===`Enter`&&s&&(x.current?.cancel(),d?.(_))},T=()=>{x.current?.cancel(),d?.(_)},E=!i&&_.length>0,D=o&&!_&&!i,O=(0,u.jsxs)(`div`,{className:V(`vi-search-input`,r&&`vi-search-input--disabled`,!s&&c),children:[!s&&(0,u.jsx)(xo,{className:`vi-search-input__search-icon`,"aria-hidden":`true`}),(0,u.jsx)(`input`,{ref:v,id:b,type:`search`,autoComplete:`off`,spellCheck:`false`,value:_,placeholder:n,disabled:r,className:`vi-search-input__field`,onChange:S,onKeyDown:w,"aria-label":n}),D&&(0,u.jsx)(`kbd`,{className:`vi-search-input__shortcut`,"aria-hidden":`true`,children:o}),i&&(0,u.jsx)(`span`,{className:`vi-search-input__spinner`,"aria-hidden":`true`}),E&&(0,u.jsx)(`button`,{type:`button`,className:`vi-search-input__clear`,onClick:C,"aria-label":`Clear search`,children:(0,u.jsx)(So,{"aria-hidden":`true`})})]});return s?(0,u.jsxs)(`div`,{className:V(`vi-search-input-group`,c),children:[O,(0,u.jsx)(nr,{size:`icon`,onClick:T,disabled:r,"aria-label":`Search`,children:(0,u.jsx)(xo,{"aria-hidden":`true`})})]}):O},of=({logo:e,linkGroups:t=[],copyright:n,className:r})=>{let i=e||t.length>0;return(0,u.jsx)(`footer`,{className:V(`vi-footer`,r),children:(0,u.jsxs)(`div`,{className:`vi-footer-inner`,children:[i&&(0,u.jsxs)(`div`,{className:`vi-footer-top`,children:[e&&(0,u.jsx)(`div`,{className:`vi-footer-logo`,children:(0,u.jsx)(Lo,{...e})}),t.length>0&&(0,u.jsx)(`nav`,{className:`vi-footer-nav`,"aria-label":`Footer navigation`,children:t.map((e,t)=>(0,u.jsxs)(`div`,{className:`vi-footer-group`,children:[e.title&&(0,u.jsx)(`p`,{className:`vi-footer-group-title`,children:e.title}),(0,u.jsx)(`ul`,{className:`vi-footer-links`,children:e.links.map(e=>(0,u.jsx)(`li`,{children:(0,u.jsx)(Io,{link:e,noBaseClass:!0,className:`vi-footer-link`})},e.url))})]},t))})]}),i&&n&&(0,u.jsx)(`hr`,{className:`vi-footer-divider`}),n&&(0,u.jsx)(`div`,{className:`vi-footer-bottom`,children:(0,u.jsx)(`p`,{className:`vi-footer-copyright`,children:n})})]})})},sf=({logo:e,ctaLinks:t=[],modalRootSelector:n})=>{let[r,i]=(0,l.useState)(!1);return(0,u.jsxs)(`header`,{className:`vi-header`,children:[(0,u.jsxs)(`div`,{className:`vi-header-mobile`,children:[(0,u.jsx)(Lo,{name:e.name,image:e.image,link:e.link}),t.length>0&&(0,u.jsx)(Id,{open:r,onOpenChange:i,title:e.name,className:`vi-modal-slide-right z-[1001]`,modalRootSelector:n,trigger:(0,u.jsx)(nr,{variant:`ghost`,title:`Menu Button`,"aria-label":`Open menu`,children:(0,u.jsx)(bo,{size:24,"aria-hidden":`true`})}),children:(0,u.jsx)(`div`,{className:`flex flex-col gap-3`,children:t.map(e=>(0,u.jsxs)(Io,{link:e,noBaseClass:!0,className:`flex items-center justify-between text-sm font-medium hover:underline`,children:[(0,u.jsx)(`span`,{children:e.text}),(0,u.jsx)(yo,{size:16,"aria-hidden":`true`})]},e.url))})})]}),(0,u.jsxs)(`div`,{className:`hidden lg:flex items-center justify-between px-8 py-4`,children:[(0,u.jsx)(Lo,{...e}),t.length>0&&(0,u.jsx)(`nav`,{className:`flex items-center gap-6`,children:t.map(e=>(0,u.jsx)(Io,{link:e,noBaseClass:!0,className:`text-sm font-medium hover:underline`},e.url))})]})]})},cf=({text:e,children:t,className:n,triggerClassName:r})=>{let[i,a]=(0,l.useState)(!1),o=(0,l.useRef)(void 0),s=(0,l.useId)();(0,l.useEffect)(()=>()=>clearTimeout(o.current),[]);let c=()=>{clearTimeout(o.current),a(!0)},d=()=>{o.current=setTimeout(()=>a(!1),120)};return(0,u.jsxs)(`div`,{className:V(`vi-hover-popup-wrapper`,n),onMouseEnter:c,onMouseLeave:d,onFocus:c,onBlur:d,children:[(0,u.jsx)(`span`,{className:V(`vi-hover-popup-main-text`,r),tabIndex:0,"aria-describedby":s,children:e}),(0,u.jsx)(`div`,{id:s,role:`tooltip`,"aria-hidden":!i,className:V(`vi-hover-popup-modal`,i&&`vi-hover-popup-modal-visible`),children:t})]})},lf=()=>(0,u.jsxs)(`div`,{className:`vi-pnf`,children:[(0,u.jsx)(`div`,{className:`vi-pnf-bg-gradient`}),(0,u.jsx)(`div`,{className:`vi-pnf-orb-gold`}),(0,u.jsx)(`div`,{className:`vi-pnf-orb-green`}),(0,u.jsxs)(`div`,{className:`vi-pnf-content`,children:[(0,u.jsxs)(`div`,{className:`vi-pnf-404-wrap`,children:[(0,u.jsx)(`h1`,{className:`vi-pnf-404`,children:`404`}),(0,u.jsx)(`div`,{className:`vi-pnf-404-glow`})]}),(0,u.jsxs)(`div`,{className:`vi-pnf-message`,children:[(0,u.jsx)(`h2`,{className:`vi-pnf-title`,children:`Page Not Found`}),(0,u.jsx)(`p`,{className:`vi-pnf-subtitle`,children:`Looks like you've ventured into uncharted territory. The page you're looking for doesn't exist or has been moved.`})]}),(0,u.jsx)(`div`,{className:`vi-pnf-actions`,children:(0,u.jsx)(nr,{asChild:!0,size:`lg`,className:`vi-pnf-btn group`,children:(0,u.jsx)(`a`,{href:`/`,children:(0,u.jsxs)(`span`,{className:`vi-pnf-btn-inner`,children:[(0,u.jsxs)(`svg`,{width:`16`,height:`16`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`,children:[(0,u.jsx)(`path`,{d:`m12 19-7-7 7-7`}),(0,u.jsx)(`path`,{d:`M19 12H5`})]}),`Back to Home`]})})})})]}),(0,u.jsx)(`div`,{className:`vi-pnf-divider`})]}),uf=({icon:e,label:t,onClick:n,active:r,tooltip:i,className:a})=>(0,u.jsxs)(nr,{variant:`ghost`,size:`sm`,onClick:n,title:i,className:V(`vi-aside-item`,r&&`vi-aside-item--active`,a),children:[(0,u.jsx)(`span`,{className:`vi-aside-item-icon`,children:e}),(0,u.jsx)(`span`,{className:`vi-aside-item-label`,children:t})]});uf.displayName=`AsideBtn`;var df=({label:e,icon:t,active:n,tooltip:r,className:i,type:a,open:o})=>a===`divider`&&o===!1?(0,u.jsx)(`div`,{className:`vi-aside-item-divider-line`}):(0,u.jsxs)(`div`,{title:r,className:V(`vi-aside-item vi-aside-item-text`,a===`divider`&&`vi-aside-item-text--divider`,n&&`vi-aside-item--active`,i),children:[t&&(0,u.jsx)(`span`,{className:`vi-aside-item-icon`,children:t}),(0,u.jsx)(`span`,{className:`vi-aside-item-label`,children:e})]});df.displayName=`AsideText`;var ff=({items:e,open:t,onToggle:n,title:r,footer:i,openWidth:a=`w-44`,className:o})=>{let s=t!==void 0&&n!==void 0,c=t===void 0?!0:t;return(0,u.jsxs)(`aside`,{className:V(`vi-aside`,c&&V(`vi-aside--open`,a),o),children:[r&&(0,u.jsx)(`div`,{className:`vi-aside-header`,children:(0,u.jsx)(`span`,{className:`vi-aside-title`,children:r})}),(0,u.jsx)(`nav`,{className:`vi-aside-nav`,children:e.map((t,n)=>!c&&t.type===`divider`&&(n===0||n===e.length-1)?null:t.onClick?(0,u.jsx)(uf,{icon:t.icon,label:t.label,onClick:t.onClick,active:t.active,tooltip:c?void 0:t.label},n):(0,u.jsx)(df,{icon:t.icon,label:t.label,active:t.active,type:t.type,open:c,tooltip:c?void 0:t.label},n))}),i&&(0,u.jsx)(`div`,{className:`vi-aside-footer`,children:i(c)}),s&&(0,u.jsx)(`div`,{className:`vi-aside-toggle`,children:(0,u.jsx)(nr,{variant:`ghost`,size:`sm`,onClick:n,title:c?`Collapse`:`Expand`,className:`vi-aside-toggle-btn`,children:c?(0,u.jsx)(vo,{className:`h-4 w-4`}):(0,u.jsx)(yo,{className:`h-4 w-4`})})})]})};ff.displayName=`PageAside`;var pf=[`Jan`,`Feb`,`Mar`,`Apr`,`May`,`Jun`,`Jul`,`Aug`,`Sep`,`Oct`,`Nov`,`Dec`],mf=({items:e,scrollAlign:t=`center`,className:n})=>{let[r,i]=(0,l.useState)(e[0]?.year??null),[a,o]=(0,l.useState)(null),[s,c]=(0,l.useState)(null),d=(0,l.useRef)([]),f=(0,l.useRef)(!1),p=(0,l.useRef)(null);(0,l.useEffect)(()=>(d.current.forEach(e=>e.disconnect()),d.current=[],e.forEach(({year:e,months:t})=>{let n=document.getElementById(`year-${e}`);if(n){let t=new IntersectionObserver(([t])=>{t.isIntersecting&&!f.current&&(i(e),o(null))},{threshold:0,rootMargin:`-30% 0px -60% 0px`});t.observe(n),d.current.push(t)}t?.forEach(t=>{let n=document.getElementById(`year-${e}-month-${t}`);if(!n)return;let r=new IntersectionObserver(([n])=>{n.isIntersecting&&!f.current&&(i(e),o(t))},{threshold:0,rootMargin:`-30% 0px -60% 0px`});r.observe(n),d.current.push(r)})}),()=>d.current.forEach(e=>e.disconnect())),[e]);let m=e=>{f.current=!0;let n=e.getBoundingClientRect().top+window.scrollY,r={top:0,center:-window.innerHeight/2+e.offsetHeight/2,bottom:-window.innerHeight+e.offsetHeight};if(window.scrollTo({top:n+r[t],behavior:`smooth`}),`onscrollend`in window)window.addEventListener(`scrollend`,()=>{f.current=!1},{once:!0});else{let e=()=>{p.current&&clearTimeout(p.current),p.current=setTimeout(()=>{f.current=!1,window.removeEventListener(`scroll`,e)},150)};window.addEventListener(`scroll`,e,{passive:!0})}},h=e=>{let t=document.getElementById(`year-${e}`);t&&(i(e),o(null),m(t))},g=(e,t)=>{let n=document.getElementById(`year-${e}-month-${t}`);n&&(i(e),o(t),m(n))};return e.length===0?null:(0,u.jsx)(`div`,{className:V(`vi-year-dot-nav`,n),children:e.map(({year:e,months:t})=>(0,u.jsxs)(`div`,{className:`vi-year-dot-nav-group`,children:[(0,u.jsxs)(`div`,{className:`vi-year-dot-nav-item`,children:[(0,u.jsx)(`span`,{className:V(`vi-year-dot-nav-label`,s===`year-${e}`&&`vi-year-dot-nav-label--visible`),children:e}),(0,u.jsx)(`button`,{className:`vi-year-dot-nav-btn`,onClick:()=>h(e),onMouseEnter:()=>c(`year-${e}`),onMouseLeave:()=>c(null),"aria-label":`Scroll to ${e}`,children:(0,u.jsx)(`div`,{className:V(`vi-year-dot-nav-dot`,r===e&&`vi-year-dot-nav-dot--active`)})})]}),t&&r===e&&(0,u.jsx)(`div`,{className:`vi-year-dot-nav-months`,children:t.map(t=>(0,u.jsxs)(`div`,{className:`vi-year-dot-nav-item`,children:[(0,u.jsx)(`span`,{className:V(`vi-year-dot-nav-label`,s===`year-${e}-month-${t}`&&`vi-year-dot-nav-label--visible`),children:pf[t-1]}),(0,u.jsx)(`button`,{className:`vi-year-dot-nav-btn vi-year-dot-nav-btn--month`,onClick:()=>g(e,t),onMouseEnter:()=>c(`year-${e}-month-${t}`),onMouseLeave:()=>c(null),"aria-label":`Scroll to ${pf[t-1]} ${e}`,children:(0,u.jsx)(`div`,{className:V(`vi-year-dot-nav-dot vi-year-dot-nav-dot--month`,a===t&&`vi-year-dot-nav-dot--active`)})})]},t))})]},e))})};mf.displayName=`YearDotNav`,exports.Accordion=Ln,exports.AsideBtn=uf,exports.AsideText=df,exports.Badge=Vn,exports.Button=nr,exports.Card=rr,exports.CardContent=sr,exports.CardDescription=or,exports.CardImage=ir,exports.CardTitle=ar,exports.CardWrapper=cr,exports.Checkbox=lr,exports.CheckboxGroup=ur,exports.CircularProgressBar=rf,exports.Dialog=Co,exports.DialogClose=Eo,exports.DialogContent=Oo,exports.DialogDescription=Mo,exports.DialogFooter=Ao,exports.DialogHeader=ko,exports.DialogOverlay=Do,exports.DialogPortal=To,exports.DialogTitle=jo,exports.DialogTrigger=wo,exports.Footer=of,exports.FormField=No,exports.Header=sf,exports.HoverPopup=cf,exports.Input=Po,exports.Link=Io,exports.Loading=Ro,exports.LogoLink=Lo,exports.Modal=Id,exports.MultiSelect=Ld,exports.PageAside=ff,exports.PageNotFound=lf,exports.Radio=Rd,exports.RadioGroup=zd,exports.SearchInput=af,exports.Select=Bd,exports.Switch=Vd,exports.Table=Hd,exports.TableBody=Wd,exports.TableCaption=Yd,exports.TableCell=Jd,exports.TableFooter=Gd,exports.TableHead=qd,exports.TableHeader=Ud,exports.TableRow=Kd,exports.Tabs=Xd,exports.Textarea=Zd,exports.ToastProvider=tf,exports.YearDotNav=mf,exports.buttonVariants=tr,exports.clamp=et,exports.cn=V,exports.debounce=rt,exports.round=$e,exports.setGlobalAddToast=$d,exports.throttle=nt,exports.toast=ef,exports.truncate=tt;
46
46
  //# sourceMappingURL=advi-ui.cjs.js.map