advi-ui 0.7.0 → 0.8.0

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,s)=>(s=n==null?{}:e(i(n)),o(r||!n||!n.__esModule||!a.call(n,`default`)?t(s,`default`,{value:n,enumerable:!0}):s,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),postfixLookupClassGroupIds:ae(e),...b(e)}),ae=e=>{let t=Object.create(null),n=e.postfixLookupClassGroups;if(n)for(let e=0;e<n.length;e++)t[n[e]]=!0;return t},oe=/\s+/,se=(e,t)=>{let{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i,sortModifiers:a,postfixLookupClassGroupIds:o}=t,s=[],c=e.trim().split(oe),l=``;for(let e=c.length-1;e>=0;--e){let t=c[e],{isExternal:u,modifiers:d,hasImportantModifier:f,baseClassName:p,maybePostfixModifierPosition:m}=n(t);if(u){l=t+(l.length>0?` `+l:l);continue}let h=!!m,g;if(h){g=r(p.substring(0,m));let e=g&&o[g]?r(p):void 0;e&&e!==g&&(g=e,h=!1)}else g=r(p);if(!g){if(!h){l=t+(l.length>0?` `+l:l);continue}if(g=r(p),!g){l=t+(l.length>0?` `+l:l);continue}h=!1}let _=d.length===0?``:d.length===1?d[0]:a(d).join(`:`),v=f?_+N:_,y=v+g;if(s.indexOf(y)>-1)continue;s.push(y);let b=i(g,h);for(let e=0;e<b.length;++e){let t=b[e];s.push(v+t)}l=t+(l.length>0?` `+l:l)}return l},ce=(...e)=>{let t=0,n,r,i=``;for(;t<e.length;)(n=e[t++])&&(r=le(n))&&(i&&(i+=` `),i+=r);return i},le=e=>{if(typeof e==`string`)return e;let t,n=``;for(let r=0;r<e.length;r++)e[r]&&(t=le(e[r]))&&(n&&(n+=` `),n+=t);return n},F=(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=se(e,n);return i(e,a),a};return a=o,(...e)=>a(ce(...e))},ue=[],I=e=>{let t=t=>t[e]||ue;return t.isThemeGetter=!0,t},de=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,fe=/^\((?:(\w[\w-]*):)?(.+)\)$/i,pe=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,me=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,he=/\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$/,ge=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,_e=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,ve=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,ye=e=>pe.test(e),L=e=>!!e&&!Number.isNaN(Number(e)),be=e=>!!e&&Number.isInteger(Number(e)),xe=e=>e.endsWith(`%`)&&L(e.slice(0,-1)),Se=e=>me.test(e),Ce=()=>!0,we=e=>he.test(e)&&!ge.test(e),Te=()=>!1,Ee=e=>_e.test(e),De=e=>ve.test(e),Oe=e=>!R(e)&&!z(e),ke=e=>e.startsWith(`@container`)&&(e[10]===`/`&&e[11]!==void 0||e[11]===`s`&&e[16]!==void 0&&e.startsWith(`-size/`,10)||e[11]===`n`&&e[18]!==void 0&&e.startsWith(`-normal/`,10)),Ae=e=>Ge(e,Ye,Te),R=e=>de.test(e),je=e=>Ge(e,Xe,we),Me=e=>Ge(e,Ze,L),Ne=e=>Ge(e,$e,Ce),Pe=e=>Ge(e,Qe,Te),Fe=e=>Ge(e,qe,Te),Ie=e=>Ge(e,Je,De),Le=e=>Ge(e,et,Ee),z=e=>fe.test(e),Re=e=>Ke(e,Xe),ze=e=>Ke(e,Qe),Be=e=>Ke(e,qe),Ve=e=>Ke(e,Ye),He=e=>Ke(e,Je),Ue=e=>Ke(e,et,!0),We=e=>Ke(e,$e,!0),Ge=(e,t,n)=>{let r=de.exec(e);return r?r[1]?t(r[1]):n(r[2]):!1},Ke=(e,t,n=!1)=>{let r=fe.exec(e);return r?r[1]?t(r[1]):n:!1},qe=e=>e===`position`||e===`percentage`,Je=e=>e===`image`||e===`url`,Ye=e=>e===`length`||e===`size`||e===`bg-size`,Xe=e=>e===`length`,Ze=e=>e===`number`,Qe=e=>e===`family-name`,$e=e=>e===`number`||e===`weight`,et=e=>e===`shadow`,tt=F(()=>{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=()=>[ye,`full`,`auto`,...w()],E=()=>[be,`none`,`subgrid`,z,R],D=()=>[`auto`,{span:[`full`,be,z,R]},be,z,R],O=()=>[be,`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=()=>[ye,`auto`,`full`,`dvw`,`dvh`,`lvw`,`lvh`,`svw`,`svh`,`min`,`max`,`fit`,...w()],ee=()=>[ye,`screen`,`full`,`dvw`,`lvw`,`svw`,`min`,`max`,`fit`,...w()],te=()=>[ye,`screen`,`full`,`lh`,`dvh`,`lvh`,`svh`,`min`,`max`,`fit`,...w()],P=()=>[e,z,R],ne=()=>[...b(),Be,Fe,{position:[z,R]}],re=()=>[`no-repeat`,{repeat:[``,`x`,`y`,`space`,`round`]}],ie=()=>[`auto`,`cover`,`contain`,Ve,Ae,{size:[z,R]}],ae=()=>[xe,Re,je],oe=()=>[``,`none`,`full`,l,z,R],se=()=>[``,L,Re,je],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,xe,Be,Fe],ue=()=>[``,`none`,m,z,R],de=()=>[`none`,L,z,R],fe=()=>[`none`,L,z,R],pe=()=>[L,z,R],me=()=>[ye,`full`,...w()];return{cacheSize:500,theme:{animate:[`spin`,`ping`,`pulse`,`bounce`],aspect:[`video`],blur:[Se],breakpoint:[Se],color:[Ce],container:[Se],"drop-shadow":[Se],ease:[`in`,`out`,`in-out`],font:[Oe],"font-weight":[`thin`,`extralight`,`light`,`normal`,`medium`,`semibold`,`bold`,`extrabold`,`black`],"inset-shadow":[Se],leading:[`none`,`tight`,`snug`,`normal`,`relaxed`,`loose`],perspective:[`dramatic`,`near`,`normal`,`midrange`,`distant`,`none`],radius:[Se],shadow:[Se],spacing:[`px`,L],text:[Se],"text-shadow":[Se],tracking:[`tighter`,`tight`,`normal`,`wide`,`wider`,`widest`]},classGroups:{aspect:[{aspect:[`auto`,`square`,ye,R,z,g]}],container:[`container`],"container-type":[{"@container":[``,`normal`,`size`,z,R]}],"container-named":[ke],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:[be,`auto`,z,R]}],basis:[{basis:[ye,`full`,`auto`,s,...w()]}],"flex-direction":[{flex:[`row`,`row-reverse`,`col`,`col-reverse`]}],"flex-wrap":[{flex:[`nowrap`,`wrap`,`wrap-reverse`]}],flex:[{flex:[L,ye,`auto`,`initial`,`none`,R]}],grow:[{grow:[``,L,z,R]}],shrink:[{shrink:[``,L,z,R]}],order:[{order:[be,`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,Re,je]}],"font-smoothing":[`antialiased`,`subpixel-antialiased`],"font-style":[`italic`,`not-italic`],"font-weight":[{font:[r,We,Ne]}],"font-stretch":[{"font-stretch":[`ultra-condensed`,`extra-condensed`,`condensed`,`semi-condensed`,`normal`,`semi-expanded`,`expanded`,`extra-expanded`,`ultra-expanded`,xe,R]}],"font-family":[{font:[ze,Pe,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,Me]}],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,je]}],"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()}],"tab-size":[{tab:[be,z,R]}],"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`]},be,z,R],radial:[``,z,R],conic:[be,z,R]},He,Ie]}],"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,Re,je]}],"outline-color":[{outline:P()}],shadow:[{shadow:[``,`none`,u,Ue,Le]}],"shadow-color":[{shadow:P()}],"inset-shadow":[{"inset-shadow":[`none`,d,Ue,Le]}],"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,je]}],"ring-offset-color":[{"ring-offset":P()}],"inset-ring-w":[{"inset-ring":se()}],"inset-ring-color":[{"inset-ring":P()}],"text-shadow":[{"text-shadow":[`none`,f,Ue,Le]}],"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,Ue,Le]}],"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`],zoom:[{zoom:[be,z,R]}],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`]}],"scrollbar-thumb-color":[{"scrollbar-thumb":P()}],"scrollbar-track-color":[{"scrollbar-track":P()}],"scrollbar-gutter":[{"scrollbar-gutter":[`auto`,`stable`,`both`]}],"scrollbar-w":[{scrollbar:[`auto`,`thin`,`none`]}],"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,Re,je,Me]}],stroke:[{stroke:[`none`,...P()]}],"forced-color-adjust":[{"forced-color-adjust":[`auto`,`none`]}]},conflictingClassGroups:{"container-named":[`container-type`],overflow:[`overflow-x`,`overflow-y`],overscroll:[`overscroll-x`,`overscroll-y`],inset:[`inset-x`,`inset-y`,`inset-bs`,`inset-be`,`start`,`end`,`top`,`right`,`bottom`,`left`],"inset-x":[`right`,`left`],"inset-y":[`top`,`bottom`],flex:[`basis`,`grow`,`shrink`],gap:[`gap-x`,`gap-y`],p:[`px`,`py`,`ps`,`pe`,`pbs`,`pbe`,`pt`,`pr`,`pb`,`pl`],px:[`pr`,`pl`],py:[`pt`,`pb`],m:[`mx`,`my`,`ms`,`me`,`mbs`,`mbe`,`mt`,`mr`,`mb`,`ml`],mx:[`mr`,`ml`],my:[`mt`,`mb`],size:[`w`,`h`],"font-size":[`leading`],"fvn-normal":[`fvn-ordinal`,`fvn-slashed-zero`,`fvn-figure`,`fvn-spacing`,`fvn-fraction`],"fvn-ordinal":[`fvn-normal`],"fvn-slashed-zero":[`fvn-normal`],"fvn-figure":[`fvn-normal`],"fvn-spacing":[`fvn-normal`],"fvn-fraction":[`fvn-normal`],"line-clamp":[`display`,`overflow`],rounded:[`rounded-s`,`rounded-e`,`rounded-t`,`rounded-r`,`rounded-b`,`rounded-l`,`rounded-ss`,`rounded-se`,`rounded-ee`,`rounded-es`,`rounded-tl`,`rounded-tr`,`rounded-br`,`rounded-bl`],"rounded-s":[`rounded-ss`,`rounded-es`],"rounded-e":[`rounded-se`,`rounded-ee`],"rounded-t":[`rounded-tl`,`rounded-tr`],"rounded-r":[`rounded-tr`,`rounded-br`],"rounded-b":[`rounded-br`,`rounded-bl`],"rounded-l":[`rounded-tl`,`rounded-bl`],"border-spacing":[`border-spacing-x`,`border-spacing-y`],"border-w":[`border-w-x`,`border-w-y`,`border-w-s`,`border-w-e`,`border-w-bs`,`border-w-be`,`border-w-t`,`border-w-r`,`border-w-b`,`border-w-l`],"border-w-x":[`border-w-r`,`border-w-l`],"border-w-y":[`border-w-t`,`border-w-b`],"border-color":[`border-color-x`,`border-color-y`,`border-color-s`,`border-color-e`,`border-color-bs`,`border-color-be`,`border-color-t`,`border-color-r`,`border-color-b`,`border-color-l`],"border-color-x":[`border-color-r`,`border-color-l`],"border-color-y":[`border-color-t`,`border-color-b`],translate:[`translate-x`,`translate-y`,`translate-none`],"translate-none":[`translate`,`translate-x`,`translate-y`,`translate-z`],"scroll-m":[`scroll-mx`,`scroll-my`,`scroll-ms`,`scroll-me`,`scroll-mbs`,`scroll-mbe`,`scroll-mt`,`scroll-mr`,`scroll-mb`,`scroll-ml`],"scroll-mx":[`scroll-mr`,`scroll-ml`],"scroll-my":[`scroll-mt`,`scroll-mb`],"scroll-p":[`scroll-px`,`scroll-py`,`scroll-ps`,`scroll-pe`,`scroll-pbs`,`scroll-pbe`,`scroll-pt`,`scroll-pr`,`scroll-pb`,`scroll-pl`],"scroll-px":[`scroll-pr`,`scroll-pl`],"scroll-py":[`scroll-pt`,`scroll-pb`],touch:[`touch-x`,`touch-y`,`touch-pz`],"touch-x":[`touch`],"touch-y":[`touch`],"touch-pz":[`touch`]},conflictingClassGroupModifiers:{"font-size":[`leading`]},postfixLookupClassGroups:[`container-type`],orderSensitiveModifiers:[`*`,`**`,`after`,`backdrop`,`before`,`details-content`,`file`,`first-letter`,`first-line`,`marker`,`placeholder`,`selection`]}}),B=(...e)=>tt(p(e)),nt=(e,t)=>Math.round(e*10**t)/10**t,rt=(e,t,n)=>Math.min(Math.max(e,t),n),it=(e,t,n=`...`)=>e.length<=t?e:e.slice(0,t-n.length)+n,at=(e,t)=>{let n=!1;return(...r)=>{n||(e(...r),n=!0,setTimeout(()=>n=!1,t))}},ot=(e,t)=>{let n,r=(...r)=>{clearTimeout(n),n=setTimeout(()=>e(...r),t)};return r.cancel=()=>clearTimeout(n),r},st=Object.defineProperty,ct=(e,t)=>st(e,`name`,{value:t,configurable:!0});function lt(e,t){let n=l.createContext(t);n.displayName=e+`Context`;let r=ct(e=>{let{children:t,...r}=e,i=l.useMemo(()=>r,Object.values(r));return(0,u.jsx)(n.Provider,{value:i,children:t})},`Provider`);r.displayName=e+`Provider`;function i(r,i={}){let{optional:a=!1}=i,o=l.useContext(n);if(o)return o;if(t!==void 0)return t;if(!a)throw Error(`\`${r}\` must be used within \`${e}\``)}return ct(i,`useContext`),[r,i]}ct(lt,`createContext`);function ut(e,t=[]){let n=[];function r(t,r){let i=l.createContext(r);i.displayName=t+`Context`;let a=n.length;n=[...n,r];let o=ct(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})},`Provider`);o.displayName=t+`Provider`;function s(n,o,s={}){let{optional:c=!1}=s,u=o?.[e]?.[a]||i,d=l.useContext(u);if(d)return d;if(r!==void 0)return r;if(!c)throw Error(`\`${n}\` must be used within \`${t}\``)}return ct(s,`useContext`),[o,s]}ct(r,`createContext`);let i=ct(()=>{let t=n.map(e=>l.createContext(e));return ct(function(n){let r=n?.[e]||t;return l.useMemo(()=>({[`__scope${e}`]:{...n,[e]:r}}),[n,r])},`useScope`)},`createScope`);return i.scopeName=e,[r,dt(i,...t)]}ct(ut,`createContextScope`);function dt(...e){let t=e[0];if(e.length===1)return t;let n=ct(()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return ct(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])},`useComposedScopes`)},`createScope`);return n.scopeName=t.scopeName,n}ct(dt,`composeContextScopes`);var ft=Object.defineProperty,pt=(e,t)=>ft(e,`name`,{value:t,configurable:!0});function mt(e,t){if(typeof e==`function`)return e(t);e!=null&&(e.current=t)}pt(mt,`setRef`);function ht(...e){return t=>{let n=!1,r=e.map(e=>{let r=mt(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():mt(e[t],null)}}}}pt(ht,`composeRefs`);function gt(...e){return l.useCallback(ht(...e),e)}pt(gt,`useComposedRefs`);var _t=Object.defineProperty,vt=(e,t)=>_t(e,`name`,{value:t,configurable:!0});function yt(e){let t=l.forwardRef((t,n)=>{let{children:r,...i}=t,a=null,o=!1,s=[];Ot(r)&&typeof Mt==`function`&&(r=Mt(r._payload)),l.Children.forEach(r,e=>{if(Et(e)){o=!0;let t=e,n=`child`in t.props?t.props.child:t.props.children;Ot(n)&&typeof Mt==`function`&&(n=Mt(n._payload)),a=Ct(t,n),s.push(a?.props?.children)}else s.push(e)}),a?a=l.cloneElement(a,void 0,s):!o&&l.Children.count(r)===1&&l.isValidElement(r)&&(a=r);let c=a?Tt(a):void 0,u=gt(n,c);if(!a){if(r||r===0)throw Error(o?jt(e):At(e));return r}let d=wt(i,a.props??{});return a.type!==l.Fragment&&(d.ref=n?u:c),l.cloneElement(a,d)});return t.displayName=`${e}.Slot`,t}vt(yt,`createSlot`);var bt=yt(`Slot`),xt=Symbol.for(`radix.slottable`);function St(e){let t=vt(e=>`child`in e?e.children(e.child):e.children,`Slottable`);return t.displayName=`${e}.Slottable`,t.__radixId=xt,t}vt(St,`createSlottable`);var Ct=vt((e,t)=>{if(`child`in e.props){let t=e.props.child;return l.isValidElement(t)?l.cloneElement(t,void 0,e.props.children(t.props.children)):null}return l.isValidElement(t)?t:null},`getSlottableElementFromSlottable`);function wt(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}}vt(wt,`mergeProps`);function Tt(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)}vt(Tt,`getElementRef`);function Et(e){return l.isValidElement(e)&&typeof e.type==`function`&&`__radixId`in e.type&&e.type.__radixId===xt}vt(Et,`isSlottable`);var Dt=Symbol.for(`react.lazy`);function Ot(e){return typeof e==`object`&&!!e&&`$$typeof`in e&&e.$$typeof===Dt&&`_payload`in e&&kt(e._payload)}vt(Ot,`isLazyComponent`);function kt(e){return typeof e==`object`&&!!e&&`then`in e}vt(kt,`isPromiseLike`);var At=vt(e=>`${e} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`,`createSlotError`),jt=vt(e=>`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,`createSlottableError`),Mt=l.use,Nt=Object.defineProperty,V=(e,t)=>Nt(e,`name`,{value:t,configurable:!0});function Pt(e){let t=e+`CollectionProvider`,[n,r]=ut(t),[i,a]=n(t,{collectionRef:{current:null},itemMap:new Map}),o=V(e=>{let{scope:t,children:n}=e,r=l.useRef(null),a=l.useRef(new Map).current;return(0,u.jsx)(i,{scope:t,itemMap:a,collectionRef:r,children:n})},`CollectionProvider`);o.displayName=t;let s=e+`CollectionSlot`,c=yt(s),d=l.forwardRef((e,t)=>{let{scope:n,children:r}=e,i=gt(t,a(s,n).collectionRef);return(0,u.jsx)(c,{ref:i,children:r})});d.displayName=s;let f=e+`CollectionItemSlot`,p=`data-radix-collection-item`,m=yt(f),h=l.forwardRef((e,t)=>{let{scope:n,children:r,...i}=e,o=l.useRef(null),s=gt(t,o),c=a(f,n);return l.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.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 V(g,`useCollection`),[{Provider:o,Slot:d,ItemSlot:h},g,r]}V(Pt,`createCollection`);var Ft=new WeakMap,It=class e extends Map{static{V(this,`OrderedDict`)}#e;constructor(e){super(e),this.#e=[...super.keys()],Ft.set(this,!0)}set(e,t){return Ft.get(this)&&(this.has(e)?this.#e[this.#e.indexOf(e)]=e:this.#e.push(e)),super.set(e,t),this}insert(e,t,n){let r=this.has(t),i=this.#e.length,a=zt(e),o=a>=0?a:i+a,s=o<0||o>=i?-1:o;if(s===this.size||r&&s===this.size-1||s===-1)return this.set(t,n),this;let c=this.size+ +!r;a<0&&o++;let l=[...this.#e],u,d=!1;for(let e=o;e<c;e++)if(o===e){let i=l[e];l[e]===t&&(i=l[e+1]),r&&this.delete(t),u=this.get(i),this.set(t,n)}else{!d&&l[e-1]===t&&(d=!0);let n=l[d?e:e-1],r=u;u=this.get(n),this.delete(n),this.set(n,r)}return this}with(t,n,r){let i=new e(this);return i.insert(t,n,r),i}before(e){let t=this.#e.indexOf(e)-1;if(!(t<0))return this.entryAt(t)}setBefore(e,t,n){let r=this.#e.indexOf(e);return r===-1?this:this.insert(r,t,n)}after(e){let t=this.#e.indexOf(e);if(t=t===-1||t===this.size-1?-1:t+1,t!==-1)return this.entryAt(t)}setAfter(e,t,n){let r=this.#e.indexOf(e);return r===-1?this:this.insert(r+1,t,n)}first(){return this.entryAt(0)}last(){return this.entryAt(-1)}clear(){return this.#e=[],super.clear()}delete(e){let t=super.delete(e);return t&&this.#e.splice(this.#e.indexOf(e),1),t}deleteAt(e){let t=this.keyAt(e);return t!==void 0&&this.delete(t)}at(e){let t=Lt(this.#e,e);if(t!==void 0)return this.get(t)}entryAt(e){let t=Lt(this.#e,e);if(t!==void 0)return[t,this.get(t)]}indexOf(e){return this.#e.indexOf(e)}keyAt(e){return Lt(this.#e,e)}from(e,t){let n=this.indexOf(e);if(n===-1)return;let r=n+t;return r<0&&(r=0),r>=this.size&&(r=this.size-1),this.at(r)}keyFrom(e,t){let n=this.indexOf(e);if(n===-1)return;let r=n+t;return r<0&&(r=0),r>=this.size&&(r=this.size-1),this.keyAt(r)}find(e,t){let n=0;for(let r of this){if(Reflect.apply(e,t,[r,n,this]))return r;n++}}findIndex(e,t){let n=0;for(let r of this){if(Reflect.apply(e,t,[r,n,this]))return n;n++}return-1}filter(t,n){let r=[],i=0;for(let e of this)Reflect.apply(t,n,[e,i,this])&&r.push(e),i++;return new e(r)}map(t,n){let r=[],i=0;for(let e of this)r.push([e[0],Reflect.apply(t,n,[e,i,this])]),i++;return new e(r)}reduce(...e){let[t,n]=e,r=0,i=n??this.at(0);for(let n of this)i=r===0&&e.length===1?n:Reflect.apply(t,this,[i,n,r,this]),r++;return i}reduceRight(...e){let[t,n]=e,r=n??this.at(-1);for(let n=this.size-1;n>=0;n--){let i=this.at(n);r=n===this.size-1&&e.length===1?i:Reflect.apply(t,this,[r,i,n,this])}return r}toSorted(t){let n=[...this.entries()].sort(t);return new e(n)}toReversed(){let t=new e;for(let e=this.size-1;e>=0;e--){let n=this.keyAt(e),r=this.get(n);t.set(n,r)}return t}toSpliced(...t){let n=[...this.entries()];return n.splice(...t),new e(n)}slice(t,n){let r=new e,i=this.size-1;if(t===void 0)return r;t<0&&(t+=this.size),n!==void 0&&n>0&&(i=n-1);for(let e=t;e<=i;e++){let t=this.keyAt(e),n=this.get(t);r.set(t,n)}return r}every(e,t){let n=0;for(let r of this){if(!Reflect.apply(e,t,[r,n,this]))return!1;n++}return!0}some(e,t){let n=0;for(let r of this){if(Reflect.apply(e,t,[r,n,this]))return!0;n++}return!1}};function Lt(e,t){if(`at`in Array.prototype)return Array.prototype.at.call(e,t);let n=Rt(e,t);return n===-1?void 0:e[n]}V(Lt,`at`);function Rt(e,t){let n=e.length,r=zt(t),i=r>=0?r:n+r;return i<0||i>=n?-1:i}V(Rt,`toSafeIndex`);function zt(e){return e!==e||e===0?0:Math.trunc(e)}V(zt,`toSafeInteger`);function Bt(e){let t=e+`CollectionProvider`,[n,r]=ut(t),[i,a]=n(t,{collectionElement:null,collectionRef:{current:null},collectionRefObject:{current:null},itemMap:new It,setItemMap:V(()=>void 0,`setItemMap`)}),o=V(({state:e,...t})=>e?(0,u.jsx)(c,{...t,state:e}):(0,u.jsx)(s,{...t}),`CollectionProvider`);o.displayName=t;let s=V(e=>{let t=_();return(0,u.jsx)(c,{...e,state:t})},`CollectionInit`);s.displayName=t+`Init`;let c=V(e=>{let{scope:t,children:n,state:r}=e,a=l.useRef(null),[o,s]=l.useState(null),c=gt(a,s),[d,f]=r;return l.useEffect(()=>{if(!o)return;let e=Wt(()=>{});return e.observe(o,{childList:!0,subtree:!0}),()=>{e.disconnect()}},[o]),(0,u.jsx)(i,{scope:t,itemMap:d,setItemMap:f,collectionRef:c,collectionRefObject:a,collectionElement:o,children:n})},`CollectionProviderImpl`);c.displayName=t+`Impl`;let d=e+`CollectionSlot`,f=yt(d),p=l.forwardRef((e,t)=>{let{scope:n,children:r}=e,i=gt(t,a(d,n).collectionRef);return(0,u.jsx)(f,{ref:i,children:r})});p.displayName=d;let m=e+`CollectionItemSlot`,h=yt(m),g=l.forwardRef((e,t)=>{let{scope:n,children:r,...i}=e,o=l.useRef(null),[s,c]=l.useState(null),d=gt(t,o,c),{setItemMap:f}=a(m,n),p=l.useRef(i);Vt(p.current,i)||(p.current=i);let g=p.current;return l.useEffect(()=>{let e=g;return f(t=>s?t.has(s)?t.set(s,{...e,element:s}).toSorted(Ut):(t.set(s,{...e,element:s}),t.toSorted(Ut)):t),()=>{f(e=>!s||!e.has(s)?e:(e.delete(s),new It(e)))}},[s,g,f]),(0,u.jsx)(h,{"data-radix-collection-item":``,ref:d,children:r})});g.displayName=m;function _(){return l.useState(new It)}V(_,`useInitCollection`);function v(t){let{itemMap:n}=a(e+`CollectionConsumer`,t);return n}return V(v,`useCollection`),[{Provider:o,Slot:p,ItemSlot:g},{createCollectionScope:r,useCollection:v,useInitCollection:_}]}V(Bt,`createCollection`);function Vt(e,t){if(e===t)return!0;if(typeof e!=`object`||typeof t!=`object`||e==null||t==null)return!1;let n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let r of n)if(!Object.prototype.hasOwnProperty.call(t,r)||e[r]!==t[r])return!1;return!0}V(Vt,`shallowEqual`);function Ht(e,t){return!!(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_PRECEDING)}V(Ht,`isElementPreceding`);function Ut(e,t){return!e[1].element||!t[1].element?0:Ht(e[1].element,t[1].element)?-1:1}V(Ut,`sortByDocumentPosition`);function Wt(e){return new MutationObserver(t=>{for(let n of t)if(n.type===`childList`){e();return}})}V(Wt,`getChildListObserver`);var Gt=Object.defineProperty,Kt=(e,t)=>Gt(e,`name`,{value:t,configurable:!0}),qt=!!(typeof window<`u`&&window.document&&window.document.createElement);function Jt(e,t,{checkForDefaultPrevented:n=!0}={}){return Kt(function(r){if(e?.(r),n===!1||!r||!r.defaultPrevented)return t?.(r)},`handleEvent`)}Kt(Jt,`composeEventHandlers`);function Yt(e){if(!qt)throw Error(`Cannot access window outside of the DOM`);return e?.ownerDocument?.defaultView??window}Kt(Yt,`getOwnerWindow`);function Xt(e){if(!qt)throw Error(`Cannot access document outside of the DOM`);return e?.ownerDocument??document}Kt(Xt,`getOwnerDocument`);function Zt(e,t=!1){let{activeElement:n}=Xt(e);if(!n?.nodeName)return null;if(Qt(n)&&n.contentDocument)return Zt(n.contentDocument.body,t);if(t){let e=n.getAttribute(`aria-activedescendant`);if(e){let t=Xt(n).getElementById(e);if(t)return t}}return n}Kt(Zt,`getActiveElement`);function Qt(e){return e.tagName===`IFRAME`}Kt(Qt,`isFrame`);var $t=globalThis?.document?l.useLayoutEffect:()=>{},en=Object.defineProperty,tn=(e,t)=>en(e,`name`,{value:t,configurable:!0}),nn=l.useEffectEvent,rn=l.useInsertionEffect;function an(e){if(typeof nn==`function`)return nn(e);let t=l.useRef(()=>{throw Error(`Cannot call an event handler while rendering.`)});return typeof rn==`function`?rn(()=>{t.current=e}):$t(()=>{t.current=e}),l.useMemo(()=>((...e)=>t.current?.(...e)),[])}tn(an,`useEffectEvent`);var on=Object.defineProperty,sn=(e,t)=>on(e,`name`,{value:t,configurable:!0}),cn=l.useInsertionEffect||$t;function ln({prop:e,defaultProp:t,onChange:n=sn(()=>{},`onChange`),caller:r}){let[i,a,o]=un({defaultProp:t,onChange:n}),s=e!==void 0;return[s?e:i,l.useCallback(t=>{if(s){let n=dn(t)?t(e):t;n!==e&&o.current?.(n)}else a(t)},[s,e,a,o])]}sn(ln,`useControllableState`);function un({defaultProp:e,onChange:t}){let[n,r]=l.useState(e),i=l.useRef(n),a=l.useRef(t);return cn(()=>{a.current=t},[t]),l.useEffect(()=>{i.current!==n&&(a.current?.(n),i.current=n)},[n,i]),[n,r,a]}sn(un,`useUncontrolledState`);function dn(e){return typeof e==`function`}sn(dn,`isFunction`);var fn=Symbol(`RADIX:SYNC_STATE`);function pn(e,t,n,r){let{prop:i,defaultProp:a,onChange:o,caller:s}=t,c=i!==void 0,u=an(o),d=[{...n,state:a}];r&&d.push(r);let[f,p]=l.useReducer((t,n)=>{if(n.type===fn)return{...t,state:n.state};let r=e(t,n);return c&&!Object.is(r.state,t.state)&&u(r.state),r},...d),m=f.state,h=l.useRef(m);l.useEffect(()=>{h.current!==m&&(h.current=m,c||u(m))},[m,h,c]);let g=l.useMemo(()=>i===void 0?f:{...f,state:i},[f,i]);return l.useEffect(()=>{c&&!Object.is(i,f.state)&&p({type:fn,state:i})},[i,f.state,c]),[g,p]}sn(pn,`useControllableStateReducer`);var mn=Object.defineProperty,hn=(e,t)=>mn(e,`name`,{value:t,configurable:!0}),gn=[`a`,`button`,`div`,`form`,`h2`,`h3`,`img`,`input`,`label`,`li`,`nav`,`ol`,`p`,`select`,`span`,`svg`,`ul`].reduce((e,t)=>{let n=yt(`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 _n(e,t){e&&d.flushSync(()=>e.dispatchEvent(t))}hn(_n,`dispatchDiscreteCustomEvent`);var vn=Object.defineProperty,yn=(e,t)=>vn(e,`name`,{value:t,configurable:!0});function bn(e,t){return l.useReducer((e,n)=>t[e][n]??e,e)}yn(bn,`useStateMachine`);var xn=yn(e=>{let{present:t,children:n}=e,r=Sn(t),i=typeof n==`function`?n({present:r.isPresent}):l.Children.only(n),a=wn(r.ref,En(i));return typeof n==`function`||r.isPresent?l.cloneElement(i,{ref:a}):null},`Presence`);function Sn(e){let[t,n]=l.useState(),r=l.useRef(null),i=l.useRef(e),a=l.useRef(`none`),o=l.useRef(void 0),[s,c]=bn(e?`mounted`:`unmounted`,{mounted:{UNMOUNT:`unmounted`,ANIMATION_OUT:`unmountSuspended`},unmountSuspended:{MOUNT:`mounted`,ANIMATION_END:`unmounted`},unmounted:{MOUNT:`mounted`}});return l.useEffect(()=>{s===`mounted`?(a.current=o.current??Tn(r.current),o.current=void 0):a.current=`none`},[s]),$t(()=>{let t=r.current,n=i.current;if(n!==e){let r=a.current,s=Tn(t);e?(o.current=s,c(`MOUNT`)):s===`none`||t?.display===`none`?c(`UNMOUNT`):c(n&&r!==s?`ANIMATION_OUT`:`UNMOUNT`),i.current=e}},[e,c]),$t(()=>{if(t){let e,n=t.ownerDocument.defaultView??window,o=yn(a=>{let o=Tn(r.current).includes(CSS.escape(a.animationName));if(a.target===t&&o&&(c(`ANIMATION_END`),!i.current)){let r=t.style.animationFillMode;t.style.animationFillMode=`forwards`,e=n.setTimeout(()=>{t.style.animationFillMode===`forwards`&&(t.style.animationFillMode=r)})}},`handleAnimationEnd`),s=yn(e=>{e.target===t&&(a.current=Tn(r.current))},`handleAnimationStart`);return t.addEventListener(`animationstart`,s),t.addEventListener(`animationcancel`,o),t.addEventListener(`animationend`,o),()=>{n.clearTimeout(e),t.removeEventListener(`animationstart`,s),t.removeEventListener(`animationcancel`,o),t.removeEventListener(`animationend`,o)}}c(`ANIMATION_END`)},[t,c]),{isPresent:[`mounted`,`unmountSuspended`].includes(s),ref:l.useCallback(e=>{if(e){let t=getComputedStyle(e);r.current=t,o.current=Tn(t)}else r.current=null;n(e)},[])}}yn(Sn,`usePresence`);function Cn(e,t){if(typeof e==`function`)return e(t);e!=null&&(e.current=t)}yn(Cn,`setRef`);function wn(...e){let t=l.useRef(e);return t.current=e,l.useCallback(e=>{let n=t.current,r=!1,i=n.map(t=>{let n=Cn(t,e);return!r&&typeof n==`function`&&(r=!0),n});if(r)return()=>{for(let e=0;e<i.length;e++){let t=i[e];typeof t==`function`?t():Cn(n[e],null)}}},[])}yn(wn,`useStableComposedRefs`);function Tn(e){return e?.animationName||`none`}yn(Tn,`getAnimationName`);function En(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)}yn(En,`getElementRef`);var Dn=Object.defineProperty,On=(e,t)=>Dn(e,`name`,{value:t,configurable:!0}),kn=l.useId||(()=>void 0),An=0;function jn(e){let[t,n]=l.useState(kn());return $t(()=>{e||n(e=>e??String(An++))},[e]),e||(t?`radix-${t}`:``)}On(jn,`useId`);var Mn=Object.defineProperty,Nn=(e,t)=>Mn(e,`name`,{value:t,configurable:!0}),Pn=`Collapsible`,[Fn,In]=ut(Pn),[Ln,Rn]=Fn(Pn),zn=l.forwardRef(Nn(function(e,t){let{__scopeCollapsible:n,open:r,defaultOpen:i,disabled:a,onOpenChange:o,...s}=e,[c,d]=ln({prop:r,defaultProp:i??!1,onChange:o,caller:Pn});return(0,u.jsx)(Ln,{scope:n,disabled:a,contentId:jn(),open:c,onOpenToggle:l.useCallback(()=>d(e=>!e),[d]),children:(0,u.jsx)(gn.div,{"data-state":Gn(c),"data-disabled":a?``:void 0,...s,ref:t})})},`Collapsible`)),Bn=`CollapsibleTrigger`,Vn=l.forwardRef(Nn(function(e,t){let{__scopeCollapsible:n,...r}=e,i=Rn(Bn,n);return(0,u.jsx)(gn.button,{type:`button`,"aria-controls":i.open?i.contentId:void 0,"aria-expanded":i.open||!1,"data-state":Gn(i.open),"data-disabled":i.disabled?``:void 0,disabled:i.disabled,...r,ref:t,onClick:Jt(e.onClick,i.onOpenToggle)})},`CollapsibleTrigger`)),Hn=`CollapsibleContent`,Un=l.forwardRef(Nn(function(e,t){let{forceMount:n,...r}=e,i=Rn(Hn,e.__scopeCollapsible);return(0,u.jsx)(xn,{present:n||i.open,children:({present:e})=>(0,u.jsx)(Wn,{...r,ref:t,present:e})})},`CollapsibleContent`)),Wn=l.forwardRef(Nn(function(e,t){let{__scopeCollapsible:n,present:r,children:i,...a}=e,o=Rn(Hn,n),[s,c]=l.useState(r),d=l.useRef(null),f=gt(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)},[]),$t(()=>{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)(gn.div,{"data-state":Gn(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})},`CollapsibleContentImpl`));function Gn(e){return e?`open`:`closed`}Nn(Gn,`getState`);var Kn=zn,qn=Vn,Jn=Un,Yn=Object.defineProperty,Xn=(e,t)=>Yn(e,`name`,{value:t,configurable:!0}),Zn=l.createContext(void 0);function Qn(e){let t=l.useContext(Zn);return e||t||`ltr`}Xn(Qn,`useDirection`);var $n=Object.defineProperty,er=(e,t)=>$n(e,`name`,{value:t,configurable:!0}),tr=`Accordion`,nr=[`Home`,`End`,`ArrowDown`,`ArrowUp`,`ArrowLeft`,`ArrowRight`],[rr,ir,ar]=Pt(tr),[or,sr]=ut(tr,[ar,In]),cr=In(),lr=l.forwardRef(er(function(e,t){let{type:n,...r}=e,i=r,a=r;return(0,u.jsx)(rr.Provider,{scope:e.__scopeAccordion,children:n===`multiple`?(0,u.jsx)(hr,{...a,ref:t}):(0,u.jsx)(mr,{...i,ref:t})})},`Accordion`)),[ur,dr]=or(tr),[fr,pr]=or(tr,{collapsible:!1}),mr=l.forwardRef(er(function(e,t){let{value:n,defaultValue:r,onValueChange:i=er(()=>{},`onValueChange`),collapsible:a=!1,...o}=e,[s,c]=ln({prop:n,defaultProp:r??``,onChange:i,caller:tr});return(0,u.jsx)(ur,{scope:e.__scopeAccordion,value:l.useMemo(()=>s?[s]:[],[s]),onItemOpen:c,onItemClose:l.useCallback(()=>a&&c(``),[a,c]),children:(0,u.jsx)(fr,{scope:e.__scopeAccordion,collapsible:a,children:(0,u.jsx)(vr,{...o,ref:t})})})},`AccordionImplSingle`)),hr=l.forwardRef(er(function(e,t){let{value:n,defaultValue:r,onValueChange:i=er(()=>{},`onValueChange`),...a}=e,[o,s]=ln({prop:n,defaultProp:r??[],onChange:i,caller:tr}),c=l.useCallback(e=>s((t=[])=>[...t,e]),[s]),d=l.useCallback(e=>s((t=[])=>t.filter(t=>t!==e)),[s]);return(0,u.jsx)(ur,{scope:e.__scopeAccordion,value:o,onItemOpen:c,onItemClose:d,children:(0,u.jsx)(fr,{scope:e.__scopeAccordion,collapsible:!0,children:(0,u.jsx)(vr,{...a,ref:t})})})},`AccordionImplMultiple`)),[gr,_r]=or(tr),vr=l.forwardRef(er(function(e,t){let{__scopeAccordion:n,disabled:r,dir:i,orientation:a=`vertical`,...o}=e,s=gt(l.useRef(null),t),c=ir(n),d=Qn(i)===`ltr`,f=Jt(e.onKeyDown,e=>{if(!nr.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=er(()=>{o=r+1,o>s&&(o=0)},`moveNext`),u=er(()=>{o=r-1,o<0&&(o=s)},`movePrev`);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()}n[o%i].ref.current?.focus()});return(0,u.jsx)(gr,{scope:n,disabled:r,direction:i,orientation:a,children:(0,u.jsx)(rr.Slot,{scope:n,children:(0,u.jsx)(gn.div,{...o,"data-orientation":a,ref:s,onKeyDown:r?void 0:f})})})},`AccordionImpl`)),yr=`AccordionItem`,[br,xr]=or(yr),Sr=l.forwardRef(er(function(e,t){let{__scopeAccordion:n,value:r,...i}=e,a=_r(yr,n),o=dr(yr,n),s=cr(n),c=jn(),l=r&&o.value.includes(r)||!1,d=a.disabled||e.disabled;return(0,u.jsx)(br,{scope:n,open:l,disabled:d,triggerId:c,children:(0,u.jsx)(Kn,{"data-orientation":a.orientation,"data-state":kr(l),...s,...i,ref:t,disabled:d,open:l,onOpenChange:e=>{e?o.onItemOpen(r):o.onItemClose(r)}})})},`AccordionItem`)),Cr=`AccordionHeader`,wr=l.forwardRef(er(function(e,t){let{__scopeAccordion:n,...r}=e,i=_r(tr,n),a=xr(Cr,n);return(0,u.jsx)(gn.h3,{"data-orientation":i.orientation,"data-state":kr(a.open),"data-disabled":a.disabled?``:void 0,...r,ref:t})},`AccordionHeader`)),Tr=`AccordionTrigger`,Er=l.forwardRef(er(function(e,t){let{__scopeAccordion:n,...r}=e,i=_r(tr,n),a=xr(Tr,n),o=pr(Tr,n),s=cr(n);return(0,u.jsx)(rr.ItemSlot,{scope:n,children:(0,u.jsx)(qn,{"aria-disabled":a.open&&!o.collapsible||void 0,"data-orientation":i.orientation,id:a.triggerId,...s,...r,ref:t})})},`AccordionTrigger`)),Dr=`AccordionContent`,Or=l.forwardRef(er(function(e,t){let{__scopeAccordion:n,...r}=e,i=_r(tr,n),a=xr(Dr,n),o=cr(n);return(0,u.jsx)(Jn,{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}})},`AccordionContent`));function kr(e){return e?`open`:`closed`}er(kr,`getState`);var Ar=lr,jr=Sr,Mr=wr,Nr=Er,Pr=Or,Fr=({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)(Ar,{...o,type:`multiple`,defaultValue:n,value:r,onValueChange:i,children:e.map(e=>(0,u.jsx)(Ir,{item:e},e.value))}):(0,u.jsx)(Ar,{...o,type:`single`,collapsible:!0,defaultValue:n,value:r,onValueChange:i,children:e.map(e=>(0,u.jsx)(Ir,{item:e},e.value))})},Ir=({item:e})=>(0,u.jsxs)(jr,{value:e.value,disabled:e.disabled,className:`vi-accordion-item`,children:[(0,u.jsx)(Mr,{children:(0,u.jsxs)(Nr,{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)(Pr,{className:`vi-accordion-content-wrapper`,children:(0,u.jsx)(`div`,{className:`vi-accordion-content`,children:e.content})})]});Fr.displayName=`Accordion`;var Lr={default:`vi-badge-default`,secondary:`vi-badge-secondary`,destructive:`vi-badge-destructive`,outline:`vi-badge-outline`},Rr={sm:`vi-badge-sm`,default:!1,lg:`vi-badge-lg`},zr=({variant:e=`default`,size:t=`default`,className:n,children:r,...i})=>(0,u.jsx)(`span`,{className:B(`vi-badge`,Lr[e],Rr[t],n),...i,children:r});zr.displayName=`Badge`;var Br=e=>typeof e==`boolean`?`${e}`:e===0?`0`:e,Vr=p,Hr=((e,t)=>n=>{if(t?.variants==null)return Vr(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=Br(t)||Br(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 Vr(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`}}),Ur=(0,l.forwardRef)(({className:e,variant:t,size:n,asChild:r=!1,type:i=`button`,...a},o)=>(0,u.jsx)(r?bt:`button`,{type:i,className:B(Hr({variant:t,size:n,className:e})),ref:o,...a}));Ur.displayName=`Button`;var Wr=(0,l.forwardRef)(({className:e,...t},n)=>(0,u.jsx)(`div`,{ref:n,className:B(`vi-card`,e),...t}));Wr.displayName=`Card`;var Gr=(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}));Gr.displayName=`CardImage`;var Kr=(0,l.forwardRef)(({className:e,...t},n)=>(0,u.jsx)(`div`,{ref:n,className:B(`vi-card-title`,e),...t}));Kr.displayName=`CardTitle`;var qr=(0,l.forwardRef)(({className:e,...t},n)=>(0,u.jsx)(`div`,{ref:n,className:B(`vi-card-description`,e),...t}));qr.displayName=`CardDescription`;var Jr=(0,l.forwardRef)(({className:e,...t},n)=>(0,u.jsx)(`div`,{ref:n,className:B(`vi-card-content`,e),...t}));Jr.displayName=`CardContent`;var Yr=(0,l.forwardRef)(({className:e,...t},n)=>(0,u.jsx)(`div`,{ref:n,className:B(`vi-card-wrapper`,e),...t}));Yr.displayName=`CardWrapper`;var Xr=(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})]})});Xr.displayName=`Checkbox`;var Zr=(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})]})});Zr.displayName=`CheckboxGroup`;var Qr=Object.defineProperty,$r=(e,t)=>Qr(e,`name`,{value:t,configurable:!0});function ei(e){let t=l.useRef(e);return l.useEffect(()=>{t.current=e}),l.useMemo(()=>((...e)=>t.current?.(...e)),[])}$r(ei,`useCallbackRef`);var ti=Object.defineProperty,H=(e,t)=>ti(e,`name`,{value:t,configurable:!0}),ni=`dismissableLayer.update`,ri=`dismissableLayer.pointerDownOutside`,ii=`dismissableLayer.focusOutside`,ai,oi=l.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set,dismissableSurfaces:new Set}),si=l.forwardRef(H(function(e,t){let{disableOutsidePointerEvents:n=!1,deferPointerDownOutside:r=!1,onEscapeKeyDown:i,onPointerDownOutside:a,onFocusOutside:o,onInteractOutside:s,onDismiss:c,...d}=e,f=l.useContext(oi),[p,m]=l.useState(null),h=p?.ownerDocument??globalThis?.document,[,g]=l.useState({}),_=gt(t,m),v=Array.from(f.layers),[y]=[...f.layersWithOutsidePointerEventsDisabled].slice(-1),b=y?v.indexOf(y):-1,x=p?v.indexOf(p):-1,S=f.layersWithOutsidePointerEventsDisabled.size>0,C=x>=b,w=l.useRef(!1),T=ui(e=>{a?.(e),s?.(e),e.defaultPrevented||c?.()},{ownerDocument:h,deferPointerDownOutside:r,isDeferredPointerDownOutsideRef:w,dismissableSurfaces:f.dismissableSurfaces,shouldHandlePointerDownOutside:l.useCallback(e=>{if(!(e instanceof Node))return!1;let t=[...f.branches].some(t=>t.contains(e));return C&&!t},[f.branches,C])}),E=di(e=>{if(r&&w.current)return;let t=e.target;[...f.branches].some(e=>e.contains(t))||(o?.(e),s?.(e),e.defaultPrevented||c?.())},h),D=p?x===v.length-1:!1,O=ei(e=>{e.key===`Escape`&&(i?.(e),!e.defaultPrevented&&c&&(e.preventDefault(),c()))});return l.useEffect(()=>{if(D)return h.addEventListener(`keydown`,O,{capture:!0}),()=>h.removeEventListener(`keydown`,O,{capture:!0})},[h,D,O]),l.useEffect(()=>{if(p)return n&&(f.layersWithOutsidePointerEventsDisabled.size===0&&(ai=h.body.style.pointerEvents,h.body.style.pointerEvents=`none`),f.layersWithOutsidePointerEventsDisabled.add(p)),f.layers.add(p),fi(),()=>{n&&(f.layersWithOutsidePointerEventsDisabled.delete(p),f.layersWithOutsidePointerEventsDisabled.size===0&&(h.body.style.pointerEvents=ai))}},[p,h,n,f]),l.useEffect(()=>()=>{p&&(f.layers.delete(p),f.layersWithOutsidePointerEventsDisabled.delete(p),fi())},[p,f]),l.useEffect(()=>{let e=H(()=>g({}),`handleUpdate`);return document.addEventListener(ni,e),()=>document.removeEventListener(ni,e)},[]),(0,u.jsx)(gn.div,{...d,ref:_,style:{pointerEvents:S?C?`auto`:`none`:void 0,...e.style},onFocusCapture:Jt(e.onFocusCapture,E.onFocusCapture),onBlurCapture:Jt(e.onBlurCapture,E.onBlurCapture),onPointerDownCapture:Jt(e.onPointerDownCapture,T.onPointerDownCapture)})},`DismissableLayer`));function ci(){let e=l.useContext(oi),[t,n]=l.useState(null);return l.useEffect(()=>{if(t)return e.dismissableSurfaces.add(t),()=>{e.dismissableSurfaces.delete(t)}},[t,e.dismissableSurfaces]),n}H(ci,`useDismissableLayerSurface`);var li=H(()=>!0,`IS_TRUE`);function ui(e,t){let{ownerDocument:n=globalThis?.document,deferPointerDownOutside:r=!1,isDeferredPointerDownOutsideRef:i,dismissableSurfaces:a,shouldHandlePointerDownOutside:o=li}=t,s=ei(e),c=l.useRef(!1),u=l.useRef(!1),d=l.useRef(new Map),f=l.useRef(()=>{});return l.useEffect(()=>{function e(){u.current=!1,i.current=!1,d.current.clear()}H(e,`resetOutsideInteraction`);function t(){return Array.from(d.current.values()).some(Boolean)}H(t,`isOutsideInteractionIntercepted`);function l(e){if(!u.current)return;let t=e.target;t instanceof Node&&[...a].some(e=>e.contains(t))||d.current.set(e.type,!0),e.type===`click`&&window.setTimeout(()=>{u.current&&f.current()},0)}H(l,`handleInteractionCapture`);function p(e){u.current&&d.current.set(e.type,!1)}H(p,`handleInteractionBubble`);let m=H(a=>{if(a.target&&!c.current){let l=function(){n.removeEventListener(`click`,f.current);let r=t();e(),r||pi(ri,s,p,{discrete:!0})};if(H(l,`handleAndDispatchPointerDownOutsideEvent`),!o(a.target)){n.removeEventListener(`click`,f.current),e(),c.current=!1;return}let p={originalEvent:a};u.current=!0,i.current=r&&a.button===0,d.current.clear(),!r||a.button!==0?l():(n.removeEventListener(`click`,f.current),f.current=l,n.addEventListener(`click`,f.current,{once:!0}))}else n.removeEventListener(`click`,f.current),e();c.current=!1},`handlePointerDown`),h=[`pointerup`,`mousedown`,`mouseup`,`touchstart`,`touchend`,`click`];for(let e of h)n.addEventListener(e,l,!0),n.addEventListener(e,p);let g=window.setTimeout(()=>{n.addEventListener(`pointerdown`,m)},0);return()=>{window.clearTimeout(g),n.removeEventListener(`pointerdown`,m),n.removeEventListener(`click`,f.current);for(let e of h)n.removeEventListener(e,l,!0),n.removeEventListener(e,p)}},[n,s,r,i,a,o]),{onPointerDownCapture:H(()=>c.current=!0,`onPointerDownCapture`)}}H(ui,`usePointerDownOutside`);function di(e,t=globalThis?.document){let n=ei(e),r=l.useRef(!1);return l.useEffect(()=>{let e=H(e=>{e.target&&!r.current&&pi(ii,n,{originalEvent:e},{discrete:!1})},`handleFocus`);return t.addEventListener(`focusin`,e),()=>t.removeEventListener(`focusin`,e)},[t,n]),{onFocusCapture:H(()=>r.current=!0,`onFocusCapture`),onBlurCapture:H(()=>r.current=!1,`onBlurCapture`)}}H(di,`useFocusOutside`);function fi(){let e=new CustomEvent(ni);document.dispatchEvent(e)}H(fi,`dispatchUpdate`);function pi(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?_n(i,a):i.dispatchEvent(a)}H(pi,`handleAndDispatchCustomEvent`);var mi=Object.defineProperty,hi=(e,t)=>mi(e,`name`,{value:t,configurable:!0}),gi=`focusScope.autoFocusOnMount`,_i=`focusScope.autoFocusOnUnmount`,vi={bubbles:!1,cancelable:!0},yi=l.forwardRef(hi(function(e,t){let{loop:n=!1,trapped:r=!1,onMountAutoFocus:i,onUnmountAutoFocus:a,...o}=e,[s,c]=l.useState(null),d=ei(i),f=ei(a),p=l.useRef(null),m=gt(t,c),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:Ei(p.current,{select:!0})},t=function(e){if(h.paused||!s)return;let t=e.relatedTarget;t!==null&&(s.contains(t)||Ei(p.current,{select:!0}))},n=function(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&Ei(s)};hi(e,`handleFocusIn`),hi(t,`handleFocusOut`),hi(n,`handleMutations`),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){Di.add(h);let e=document.activeElement;if(!s.contains(e)){let t=new CustomEvent(gi,vi);s.addEventListener(gi,d),s.dispatchEvent(t),t.defaultPrevented||(bi(Ai(Si(s)),{select:!0}),document.activeElement===e&&Ei(s))}return()=>{s.removeEventListener(gi,d),setTimeout(()=>{let t=new CustomEvent(_i,vi);s.addEventListener(_i,f),s.dispatchEvent(t),t.defaultPrevented||Ei(e??document.body,{select:!0}),s.removeEventListener(_i,f),Di.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]=xi(t);r&&a?!e.shiftKey&&i===a?(e.preventDefault(),n&&Ei(r,{select:!0})):e.shiftKey&&i===r&&(e.preventDefault(),n&&Ei(a,{select:!0})):i===t&&e.preventDefault()}},[n,r,h.paused]);return(0,u.jsx)(gn.div,{tabIndex:-1,...o,ref:m,onKeyDown:g})},`FocusScope`));function bi(e,{select:t=!1}={}){let n=document.activeElement;for(let r of e)if(Ei(r,{select:t}),document.activeElement!==n)return}hi(bi,`focusFirst`);function xi(e){let t=Si(e);return[Ci(t,e),Ci(t.reverse(),e)]}hi(xi,`getTabbableEdges`);function Si(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:hi(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},`acceptNode`)});for(;n.nextNode();)t.push(n.currentNode);return t}hi(Si,`getTabbableCandidates`);function Ci(e,t){let n=typeof t.checkVisibility==`function`&&t.checkVisibility({checkVisibilityCSS:!0});for(let r of e)if(!(n?!r.checkVisibility({checkVisibilityCSS:!0}):wi(r,{upTo:t})))return r}hi(Ci,`findVisible`);function wi(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}hi(wi,`isHidden`);function Ti(e){return e instanceof HTMLInputElement&&`select`in e}hi(Ti,`isSelectableInput`);function Ei(e,{select:t=!1}={}){if(e&&e.focus){let n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&Ti(e)&&t&&e.select()}}hi(Ei,`focus`);var Di=Oi();function Oi(){let e=[];return{add(t){let n=e[0];t!==n&&n?.pause(),e=ki(e,t),e.unshift(t)},remove(t){e=ki(e,t),e[0]?.resume()}}}hi(Oi,`createFocusScopesStack`);function ki(e,t){let n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}hi(ki,`arrayRemove`);function Ai(e){return e.filter(e=>e.tagName!==`A`)}hi(Ai,`removeLinks`);var ji=Object.defineProperty,Mi=l.forwardRef(((e,t)=>ji(e,`name`,{value:t,configurable:!0}))(function(e,t){let{container:n,...r}=e,[i,a]=l.useState(!1);$t(()=>a(!0),[]);let o=n||i&&globalThis?.document?.body;return o?d.createPortal((0,u.jsx)(gn.div,{...r,ref:t}),o):null},`Portal`)),Ni=Object.defineProperty,Pi=(e,t)=>Ni(e,`name`,{value:t,configurable:!0}),Fi=0,Ii=null;function Li(e){return Ri(),e.children}Pi(Li,`FocusGuards`);function Ri(){l.useEffect(()=>{Ii||={start:zi(),end:zi()};let{start:e,end:t}=Ii;return document.body.firstElementChild!==e&&document.body.insertAdjacentElement(`afterbegin`,e),document.body.lastElementChild!==t&&document.body.insertAdjacentElement(`beforeend`,t),Fi++,()=>{Fi===1&&(Ii?.start.remove(),Ii?.end.remove(),Ii=null),Fi=Math.max(0,Fi-1)}},[])}Pi(Ri,`useFocusGuards`);function zi(){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}Pi(zi,`createFocusGuard`);var Bi=function(){return Bi=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},Bi.apply(this,arguments)};function Vi(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 Hi(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 Ui=`right-scroll-bar-position`,Wi=`width-before-scroll-bar`,Gi=`with-scroll-bars-hidden`,Ki=`--removed-body-scroll-bar-size`;function qi(e,t){return typeof e==`function`?e(t):e&&(e.current=t),e}function Ji(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 Yi=typeof window<`u`?c.useLayoutEffect:c.useEffect,Xi=new WeakMap;function Zi(e,t){var n=Ji(t||null,function(t){return e.forEach(function(e){return qi(e,t)})});return Yi(function(){var t=Xi.get(n);if(t){var r=new Set(t),i=new Set(e),a=n.current;r.forEach(function(e){i.has(e)||qi(e,null)}),i.forEach(function(e){r.has(e)||qi(e,a)})}Xi.set(n,e)},[e]),n}function Qi(e){return e}function $i(e,t){t===void 0&&(t=Qi);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 ea(e){e===void 0&&(e={});var t=$i(null);return t.options=Bi({async:!0,ssr:!1},e),t}var ta=function(e){var t=e.sideCar,n=Vi(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,Bi({},n))};ta.isSideCarExport=!0;function na(e,t){return e.useMedium(t),ta}var ra=ea(),ia=function(){},aa=c.forwardRef(function(e,t){var n=c.useRef(null),r=c.useState({onScrollCapture:ia,onWheelCapture:ia,onTouchMoveCapture:ia}),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=Vi(e,[`forwardProps`,`children`,`className`,`removeScrollBar`,`enabled`,`shards`,`sideCar`,`noRelative`,`noIsolation`,`inert`,`allowPinchZoom`,`as`,`gapMode`]),S=p,C=Zi([n,t]),w=Bi(Bi({},x),i);return c.createElement(c.Fragment,null,d&&c.createElement(S,{sideCar:ra,removeScrollBar:u,shards:f,noRelative:m,noIsolation:h,inert:g,setCallbacks:a,allowPinchZoom:!!_,lockRef:n,gapMode:b}),o?c.cloneElement(c.Children.only(s),Bi(Bi({},w),{ref:C})):c.createElement(y,Bi({},w,{className:l,ref:C}),s))});aa.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},aa.classNames={fullWidth:Wi,zeroRight:Ui};var oa,sa=function(){if(oa)return oa;if(typeof __webpack_nonce__<`u`)return __webpack_nonce__};function ca(){if(!document)return null;var e=document.createElement(`style`);e.type=`text/css`;var t=sa();return t&&e.setAttribute(`nonce`,t),e}function la(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function ua(e){(document.head||document.getElementsByTagName(`head`)[0]).appendChild(e)}var da=function(){var e=0,t=null;return{add:function(n){e==0&&(t=ca())&&(la(t,n),ua(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},fa=function(){var e=da();return function(t,n){c.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},pa=function(){var e=fa();return function(t){var n=t.styles,r=t.dynamic;return e(n,r),null}},ma={left:0,top:0,right:0,gap:0},ha=function(e){return parseInt(e||``,10)||0},ga=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[ha(n),ha(r),ha(i)]},_a=function(e){if(e===void 0&&(e=`margin`),typeof window>`u`)return ma;var t=ga(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])}},va=pa(),ya=`data-scroll-locked`,ba=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
- .${Gi} {
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,s)=>(s=n==null?{}:e(i(n)),o(r||!n||!n.__esModule||!a.call(n,`default`)?t(s,`default`,{value:n,enumerable:!0}):s,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);var f=[`background`,`foreground`,`card`,`card-foreground`,`popover`,`popover-foreground`,`primary`,`primary-foreground`,`secondary`,`secondary-foreground`,`muted`,`muted-foreground`,`accent`,`accent-foreground`,`destructive`,`destructive-foreground`,`border`,`input`,`ring`,`radius`],p={background:`0 0% 100%`,foreground:`224 71.4% 4.1%`,card:`0 0% 100%`,"card-foreground":`224 71.4% 4.1%`,popover:`0 0% 100%`,"popover-foreground":`224 71.4% 4.1%`,primary:`220.9 39.3% 11%`,"primary-foreground":`210 20% 98%`,secondary:`220 14.3% 95.9%`,"secondary-foreground":`220.9 39.3% 11%`,muted:`220 14.3% 95.9%`,"muted-foreground":`220 8.9% 46.1%`,accent:`220 14.3% 95.9%`,"accent-foreground":`220.9 39.3% 11%`,destructive:`0 84.2% 60.2%`,"destructive-foreground":`210 20% 98%`,border:`220 13% 91%`,input:`220 13% 91%`,ring:`224 71.4% 4.1%`,radius:`0.5rem`},m={background:`224 71.4% 4.1%`,foreground:`210 20% 98%`,card:`224 71.4% 4.1%`,"card-foreground":`210 20% 98%`,popover:`224 71.4% 4.1%`,"popover-foreground":`210 20% 98%`,primary:`210 20% 98%`,"primary-foreground":`220.9 39.3% 11%`,secondary:`215 27.9% 16.9%`,"secondary-foreground":`210 20% 98%`,muted:`215 27.9% 16.9%`,"muted-foreground":`217.9 10.6% 64.9%`,accent:`215 27.9% 16.9%`,"accent-foreground":`210 20% 98%`,destructive:`0 62.8% 30.6%`,"destructive-foreground":`210 20% 98%`,border:`215 27.9% 16.9%`,input:`215 27.9% 16.9%`,ring:`216 12.2% 83.9%`,radius:`0.5rem`},h={background:`180 40.9% 8.6%`,foreground:`172.5 21.1% 92.5%`,card:`180 35.8% 10.4%`,"card-foreground":`172.5 21.1% 92.5%`,popover:`180 35.8% 10.4%`,"popover-foreground":`172.5 21.1% 92.5%`,primary:`23.7 72.9% 55.1%`,"primary-foreground":`180 40.9% 8.6%`,secondary:`180 32.5% 15.1%`,"secondary-foreground":`172.5 21.1% 92.5%`,muted:`180 32.5% 15.1%`,"muted-foreground":`173.8 21.1% 44.7%`,accent:`175 32.9% 71.4%`,"accent-foreground":`180 40.9% 8.6%`,destructive:`0 62.8% 30.6%`,"destructive-foreground":`210 20% 98%`,border:`180 35.5% 18.2%`,input:`180 31.1% 23.9%`,ring:`27.1 76.9% 61%`,radius:`0.5rem`},g={default:{light:p,dark:m},midnight:{dark:h}},_=(0,l.createContext)(null);function v(e,t,n){let r=e[t]??n[t]??g.default[t];return r||console.error(`advi-ui: no "${t}" palette found for this theme or the default theme.`),r??{}}function y({theme:e=`default`,themes:t,mode:n=`system`,children:r}){let[i,a]=(0,l.useState)(e),[o,s]=(0,l.useState)(n),[c,d]=(0,l.useState)(()=>typeof window<`u`&&window.matchMedia(`(prefers-color-scheme: dark)`).matches),[p,m]=(0,l.useState)(e);e!==p&&(m(e),a(e));let[h,y]=(0,l.useState)(n);n!==h&&(y(n),s(n));let b=(0,l.useMemo)(()=>({...g,...t}),[t]);(0,l.useEffect)(()=>{if(o!==`system`)return;let e=window.matchMedia(`(prefers-color-scheme: dark)`),t=e=>d(e.matches);return e.addEventListener(`change`,t),()=>e.removeEventListener(`change`,t)},[o]),(0,l.useEffect)(()=>{let e=b[i];e||console.error(`advi-ui: theme "${i}" isn't registered; falling back to "default".`);let t=e??b.default,n=o===`system`?c?`dark`:`light`:o,r=v(t,n,b.default),a=document.documentElement;for(let e of f)a.style.setProperty(`--${e}`,r[e]);return a.classList.toggle(`dark`,n===`dark`),()=>{for(let e of f)a.style.removeProperty(`--${e}`)}},[i,b,o,c]);let x=(0,l.useMemo)(()=>({theme:i,mode:o,themes:b,setTheme:a,setMode:s}),[i,o,b]);return(0,u.jsx)(_.Provider,{value:x,children:r})}function b(){let e=(0,l.useContext)(_);if(!e)throw Error(`useTheme must be used within a ThemeProvider`);return e}function x(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=x(e[t]))&&(r&&(r+=` `),r+=n)}else for(n in e)e[n]&&(r&&(r+=` `),r+=n);return r}function S(){for(var e,t,n=0,r=``,i=arguments.length;n<i;n++)(e=arguments[n])&&(t=x(e))&&(r&&(r+=` `),r+=t);return r}var C=(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},w=(e,t)=>({classGroupId:e,validator:t}),T=(e=new Map,t=null,n)=>({nextPart:e,validators:t,classGroupId:n}),E=`-`,D=[],O=`arbitrary..`,k=e=>{let t=M(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:e=>{if(e.startsWith(`[`)&&e.endsWith(`]`))return j(e);let n=e.split(E);return A(n,+(n[0]===``&&n.length>1),t)},getConflictingClassGroupIds:(e,t)=>{if(t){let t=r[e],i=n[e];return t?i?C(i,t):t:i||D}return n[e]||D}}},A=(e,t,n)=>{if(e.length-t===0)return n.classGroupId;let r=e[t],i=n.nextPart.get(r);if(i){let n=A(e,t+1,i);if(n)return n}let a=n.validators;if(a===null)return;let o=t===0?e.join(E):e.slice(t).join(E),s=a.length;for(let e=0;e<s;e++){let t=a[e];if(t.validator(o))return t.classGroupId}},j=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?O+r:void 0})(),M=e=>{let{theme:t,classGroups:n}=e;return N(n,t)},N=(e,t)=>{let n=T();for(let r in e){let i=e[r];ee(i,n,r,t)}return n},ee=(e,t,n,r)=>{let i=e.length;for(let a=0;a<i;a++){let i=e[a];te(i,t,n,r)}},te=(e,t,n,r)=>{if(typeof e==`string`){P(e,t,n);return}if(typeof e==`function`){ne(e,t,n,r);return}re(e,t,n,r)},P=(e,t,n)=>{let r=e===``?t:ie(t,e);r.classGroupId=n},ne=(e,t,n,r)=>{if(ae(e)){ee(e(r),t,n,r);return}t.validators===null&&(t.validators=[]),t.validators.push(w(n,e))},re=(e,t,n,r)=>{let i=Object.entries(e),a=i.length;for(let e=0;e<a;e++){let[a,o]=i[e];ee(o,ie(t,a),n,r)}},ie=(e,t)=>{let n=e,r=t.split(E),i=r.length;for(let e=0;e<i;e++){let t=r[e],i=n.nextPart.get(t);i||(i=T(),n.nextPart.set(t,i)),n=i}return n},ae=e=>`isThemeGetter`in e&&e.isThemeGetter===!0,oe=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)}}},se=`!`,ce=`:`,le=[],F=(e,t,n,r,i)=>({modifiers:e,hasImportantModifier:t,baseClassName:n,maybePostfixModifierPosition:r,isExternal:i}),ue=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===ce){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(se)?(c=s.slice(0,-1),l=!0):s.startsWith(se)&&(c=s.slice(1),l=!0);let u=a&&a>i?a-i:void 0;return F(t,l,c,u)};if(t){let e=t+ce,n=r;r=t=>t.startsWith(e)?n(t.slice(e.length)):F(le,!1,t,void 0,!0)}if(n){let e=r;r=t=>n({className:t,parseClassName:e})}return r},de=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}},fe=e=>({cache:oe(e.cacheSize),parseClassName:ue(e),sortModifiers:de(e),postfixLookupClassGroupIds:pe(e),...k(e)}),pe=e=>{let t=Object.create(null),n=e.postfixLookupClassGroups;if(n)for(let e=0;e<n.length;e++)t[n[e]]=!0;return t},me=/\s+/,he=(e,t)=>{let{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i,sortModifiers:a,postfixLookupClassGroupIds:o}=t,s=[],c=e.trim().split(me),l=``;for(let e=c.length-1;e>=0;--e){let t=c[e],{isExternal:u,modifiers:d,hasImportantModifier:f,baseClassName:p,maybePostfixModifierPosition:m}=n(t);if(u){l=t+(l.length>0?` `+l:l);continue}let h=!!m,g;if(h){g=r(p.substring(0,m));let e=g&&o[g]?r(p):void 0;e&&e!==g&&(g=e,h=!1)}else g=r(p);if(!g){if(!h){l=t+(l.length>0?` `+l:l);continue}if(g=r(p),!g){l=t+(l.length>0?` `+l:l);continue}h=!1}let _=d.length===0?``:d.length===1?d[0]:a(d).join(`:`),v=f?_+se:_,y=v+g;if(s.indexOf(y)>-1)continue;s.push(y);let b=i(g,h);for(let e=0;e<b.length;++e){let t=b[e];s.push(v+t)}l=t+(l.length>0?` `+l:l)}return l},ge=(...e)=>{let t=0,n,r,i=``;for(;t<e.length;)(n=e[t++])&&(r=_e(n))&&(i&&(i+=` `),i+=r);return i},_e=e=>{if(typeof e==`string`)return e;let t,n=``;for(let r=0;r<e.length;r++)e[r]&&(t=_e(e[r]))&&(n&&(n+=` `),n+=t);return n},ve=(e,...t)=>{let n,r,i,a,o=o=>(n=fe(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=he(e,n);return i(e,a),a};return a=o,(...e)=>a(ge(...e))},ye=[],I=e=>{let t=t=>t[e]||ye;return t.isThemeGetter=!0,t},be=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,xe=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Se=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,Ce=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,we=/\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$/,Te=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,Ee=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,De=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Oe=e=>Se.test(e),L=e=>!!e&&!Number.isNaN(Number(e)),ke=e=>!!e&&Number.isInteger(Number(e)),Ae=e=>e.endsWith(`%`)&&L(e.slice(0,-1)),je=e=>Ce.test(e),Me=()=>!0,Ne=e=>we.test(e)&&!Te.test(e),Pe=()=>!1,Fe=e=>Ee.test(e),Ie=e=>De.test(e),Le=e=>!R(e)&&!z(e),Re=e=>e.startsWith(`@container`)&&(e[10]===`/`&&e[11]!==void 0||e[11]===`s`&&e[16]!==void 0&&e.startsWith(`-size/`,10)||e[11]===`n`&&e[18]!==void 0&&e.startsWith(`-normal/`,10)),ze=e=>et(e,it,Pe),R=e=>be.test(e),Be=e=>et(e,at,Ne),Ve=e=>et(e,ot,L),He=e=>et(e,ct,Me),Ue=e=>et(e,st,Pe),We=e=>et(e,nt,Pe),Ge=e=>et(e,rt,Ie),Ke=e=>et(e,lt,Fe),z=e=>xe.test(e),qe=e=>tt(e,at),Je=e=>tt(e,st),Ye=e=>tt(e,nt),Xe=e=>tt(e,it),Ze=e=>tt(e,rt),Qe=e=>tt(e,lt,!0),$e=e=>tt(e,ct,!0),et=(e,t,n)=>{let r=be.exec(e);return r?r[1]?t(r[1]):n(r[2]):!1},tt=(e,t,n=!1)=>{let r=xe.exec(e);return r?r[1]?t(r[1]):n:!1},nt=e=>e===`position`||e===`percentage`,rt=e=>e===`image`||e===`url`,it=e=>e===`length`||e===`size`||e===`bg-size`,at=e=>e===`length`,ot=e=>e===`number`,st=e=>e===`family-name`,ct=e=>e===`number`||e===`weight`,lt=e=>e===`shadow`,ut=ve(()=>{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=()=>[Oe,`full`,`auto`,...w()],E=()=>[ke,`none`,`subgrid`,z,R],D=()=>[`auto`,{span:[`full`,ke,z,R]},ke,z,R],O=()=>[ke,`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=()=>[Oe,`auto`,`full`,`dvw`,`dvh`,`lvw`,`lvh`,`svw`,`svh`,`min`,`max`,`fit`,...w()],ee=()=>[Oe,`screen`,`full`,`dvw`,`lvw`,`svw`,`min`,`max`,`fit`,...w()],te=()=>[Oe,`screen`,`full`,`lh`,`dvh`,`lvh`,`svh`,`min`,`max`,`fit`,...w()],P=()=>[e,z,R],ne=()=>[...b(),Ye,We,{position:[z,R]}],re=()=>[`no-repeat`,{repeat:[``,`x`,`y`,`space`,`round`]}],ie=()=>[`auto`,`cover`,`contain`,Xe,ze,{size:[z,R]}],ae=()=>[Ae,qe,Be],oe=()=>[``,`none`,`full`,l,z,R],se=()=>[``,L,qe,Be],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,Ae,Ye,We],ue=()=>[``,`none`,m,z,R],de=()=>[`none`,L,z,R],fe=()=>[`none`,L,z,R],pe=()=>[L,z,R],me=()=>[Oe,`full`,...w()];return{cacheSize:500,theme:{animate:[`spin`,`ping`,`pulse`,`bounce`],aspect:[`video`],blur:[je],breakpoint:[je],color:[Me],container:[je],"drop-shadow":[je],ease:[`in`,`out`,`in-out`],font:[Le],"font-weight":[`thin`,`extralight`,`light`,`normal`,`medium`,`semibold`,`bold`,`extrabold`,`black`],"inset-shadow":[je],leading:[`none`,`tight`,`snug`,`normal`,`relaxed`,`loose`],perspective:[`dramatic`,`near`,`normal`,`midrange`,`distant`,`none`],radius:[je],shadow:[je],spacing:[`px`,L],text:[je],"text-shadow":[je],tracking:[`tighter`,`tight`,`normal`,`wide`,`wider`,`widest`]},classGroups:{aspect:[{aspect:[`auto`,`square`,Oe,R,z,g]}],container:[`container`],"container-type":[{"@container":[``,`normal`,`size`,z,R]}],"container-named":[Re],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:[ke,`auto`,z,R]}],basis:[{basis:[Oe,`full`,`auto`,s,...w()]}],"flex-direction":[{flex:[`row`,`row-reverse`,`col`,`col-reverse`]}],"flex-wrap":[{flex:[`nowrap`,`wrap`,`wrap-reverse`]}],flex:[{flex:[L,Oe,`auto`,`initial`,`none`,R]}],grow:[{grow:[``,L,z,R]}],shrink:[{shrink:[``,L,z,R]}],order:[{order:[ke,`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,qe,Be]}],"font-smoothing":[`antialiased`,`subpixel-antialiased`],"font-style":[`italic`,`not-italic`],"font-weight":[{font:[r,$e,He]}],"font-stretch":[{"font-stretch":[`ultra-condensed`,`extra-condensed`,`condensed`,`semi-condensed`,`normal`,`semi-expanded`,`expanded`,`extra-expanded`,`ultra-expanded`,Ae,R]}],"font-family":[{font:[Je,Ue,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,Ve]}],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,Be]}],"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()}],"tab-size":[{tab:[ke,z,R]}],"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`]},ke,z,R],radial:[``,z,R],conic:[ke,z,R]},Ze,Ge]}],"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,qe,Be]}],"outline-color":[{outline:P()}],shadow:[{shadow:[``,`none`,u,Qe,Ke]}],"shadow-color":[{shadow:P()}],"inset-shadow":[{"inset-shadow":[`none`,d,Qe,Ke]}],"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,Be]}],"ring-offset-color":[{"ring-offset":P()}],"inset-ring-w":[{"inset-ring":se()}],"inset-ring-color":[{"inset-ring":P()}],"text-shadow":[{"text-shadow":[`none`,f,Qe,Ke]}],"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,Qe,Ke]}],"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`],zoom:[{zoom:[ke,z,R]}],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`]}],"scrollbar-thumb-color":[{"scrollbar-thumb":P()}],"scrollbar-track-color":[{"scrollbar-track":P()}],"scrollbar-gutter":[{"scrollbar-gutter":[`auto`,`stable`,`both`]}],"scrollbar-w":[{scrollbar:[`auto`,`thin`,`none`]}],"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,qe,Be,Ve]}],stroke:[{stroke:[`none`,...P()]}],"forced-color-adjust":[{"forced-color-adjust":[`auto`,`none`]}]},conflictingClassGroups:{"container-named":[`container-type`],overflow:[`overflow-x`,`overflow-y`],overscroll:[`overscroll-x`,`overscroll-y`],inset:[`inset-x`,`inset-y`,`inset-bs`,`inset-be`,`start`,`end`,`top`,`right`,`bottom`,`left`],"inset-x":[`right`,`left`],"inset-y":[`top`,`bottom`],flex:[`basis`,`grow`,`shrink`],gap:[`gap-x`,`gap-y`],p:[`px`,`py`,`ps`,`pe`,`pbs`,`pbe`,`pt`,`pr`,`pb`,`pl`],px:[`pr`,`pl`],py:[`pt`,`pb`],m:[`mx`,`my`,`ms`,`me`,`mbs`,`mbe`,`mt`,`mr`,`mb`,`ml`],mx:[`mr`,`ml`],my:[`mt`,`mb`],size:[`w`,`h`],"font-size":[`leading`],"fvn-normal":[`fvn-ordinal`,`fvn-slashed-zero`,`fvn-figure`,`fvn-spacing`,`fvn-fraction`],"fvn-ordinal":[`fvn-normal`],"fvn-slashed-zero":[`fvn-normal`],"fvn-figure":[`fvn-normal`],"fvn-spacing":[`fvn-normal`],"fvn-fraction":[`fvn-normal`],"line-clamp":[`display`,`overflow`],rounded:[`rounded-s`,`rounded-e`,`rounded-t`,`rounded-r`,`rounded-b`,`rounded-l`,`rounded-ss`,`rounded-se`,`rounded-ee`,`rounded-es`,`rounded-tl`,`rounded-tr`,`rounded-br`,`rounded-bl`],"rounded-s":[`rounded-ss`,`rounded-es`],"rounded-e":[`rounded-se`,`rounded-ee`],"rounded-t":[`rounded-tl`,`rounded-tr`],"rounded-r":[`rounded-tr`,`rounded-br`],"rounded-b":[`rounded-br`,`rounded-bl`],"rounded-l":[`rounded-tl`,`rounded-bl`],"border-spacing":[`border-spacing-x`,`border-spacing-y`],"border-w":[`border-w-x`,`border-w-y`,`border-w-s`,`border-w-e`,`border-w-bs`,`border-w-be`,`border-w-t`,`border-w-r`,`border-w-b`,`border-w-l`],"border-w-x":[`border-w-r`,`border-w-l`],"border-w-y":[`border-w-t`,`border-w-b`],"border-color":[`border-color-x`,`border-color-y`,`border-color-s`,`border-color-e`,`border-color-bs`,`border-color-be`,`border-color-t`,`border-color-r`,`border-color-b`,`border-color-l`],"border-color-x":[`border-color-r`,`border-color-l`],"border-color-y":[`border-color-t`,`border-color-b`],translate:[`translate-x`,`translate-y`,`translate-none`],"translate-none":[`translate`,`translate-x`,`translate-y`,`translate-z`],"scroll-m":[`scroll-mx`,`scroll-my`,`scroll-ms`,`scroll-me`,`scroll-mbs`,`scroll-mbe`,`scroll-mt`,`scroll-mr`,`scroll-mb`,`scroll-ml`],"scroll-mx":[`scroll-mr`,`scroll-ml`],"scroll-my":[`scroll-mt`,`scroll-mb`],"scroll-p":[`scroll-px`,`scroll-py`,`scroll-ps`,`scroll-pe`,`scroll-pbs`,`scroll-pbe`,`scroll-pt`,`scroll-pr`,`scroll-pb`,`scroll-pl`],"scroll-px":[`scroll-pr`,`scroll-pl`],"scroll-py":[`scroll-pt`,`scroll-pb`],touch:[`touch-x`,`touch-y`,`touch-pz`],"touch-x":[`touch`],"touch-y":[`touch`],"touch-pz":[`touch`]},conflictingClassGroupModifiers:{"font-size":[`leading`]},postfixLookupClassGroups:[`container-type`],orderSensitiveModifiers:[`*`,`**`,`after`,`backdrop`,`before`,`details-content`,`file`,`first-letter`,`first-line`,`marker`,`placeholder`,`selection`]}}),B=(...e)=>ut(S(e)),dt=(e,t)=>Math.round(e*10**t)/10**t,ft=(e,t,n)=>Math.min(Math.max(e,t),n),pt=(e,t,n=`...`)=>e.length<=t?e:e.slice(0,t-n.length)+n,mt=(e,t)=>{let n=!1;return(...r)=>{n||(e(...r),n=!0,setTimeout(()=>n=!1,t))}},ht=(e,t)=>{let n,r=(...r)=>{clearTimeout(n),n=setTimeout(()=>e(...r),t)};return r.cancel=()=>clearTimeout(n),r},gt=Object.defineProperty,_t=(e,t)=>gt(e,`name`,{value:t,configurable:!0});function vt(e,t){let n=l.createContext(t);n.displayName=e+`Context`;let r=_t(e=>{let{children:t,...r}=e,i=l.useMemo(()=>r,Object.values(r));return(0,u.jsx)(n.Provider,{value:i,children:t})},`Provider`);r.displayName=e+`Provider`;function i(r,i={}){let{optional:a=!1}=i,o=l.useContext(n);if(o)return o;if(t!==void 0)return t;if(!a)throw Error(`\`${r}\` must be used within \`${e}\``)}return _t(i,`useContext`),[r,i]}_t(vt,`createContext`);function yt(e,t=[]){let n=[];function r(t,r){let i=l.createContext(r);i.displayName=t+`Context`;let a=n.length;n=[...n,r];let o=_t(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})},`Provider`);o.displayName=t+`Provider`;function s(n,o,s={}){let{optional:c=!1}=s,u=o?.[e]?.[a]||i,d=l.useContext(u);if(d)return d;if(r!==void 0)return r;if(!c)throw Error(`\`${n}\` must be used within \`${t}\``)}return _t(s,`useContext`),[o,s]}_t(r,`createContext`);let i=_t(()=>{let t=n.map(e=>l.createContext(e));return _t(function(n){let r=n?.[e]||t;return l.useMemo(()=>({[`__scope${e}`]:{...n,[e]:r}}),[n,r])},`useScope`)},`createScope`);return i.scopeName=e,[r,bt(i,...t)]}_t(yt,`createContextScope`);function bt(...e){let t=e[0];if(e.length===1)return t;let n=_t(()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return _t(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])},`useComposedScopes`)},`createScope`);return n.scopeName=t.scopeName,n}_t(bt,`composeContextScopes`);var xt=Object.defineProperty,St=(e,t)=>xt(e,`name`,{value:t,configurable:!0});function Ct(e,t){if(typeof e==`function`)return e(t);e!=null&&(e.current=t)}St(Ct,`setRef`);function wt(...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)}}}}St(wt,`composeRefs`);function Tt(...e){return l.useCallback(wt(...e),e)}St(Tt,`useComposedRefs`);var Et=Object.defineProperty,Dt=(e,t)=>Et(e,`name`,{value:t,configurable:!0});function Ot(e){let t=l.forwardRef((t,n)=>{let{children:r,...i}=t,a=null,o=!1,s=[];Lt(r)&&typeof Vt==`function`&&(r=Vt(r._payload)),l.Children.forEach(r,e=>{if(Ft(e)){o=!0;let t=e,n=`child`in t.props?t.props.child:t.props.children;Lt(n)&&typeof Vt==`function`&&(n=Vt(n._payload)),a=Mt(t,n),s.push(a?.props?.children)}else s.push(e)}),a?a=l.cloneElement(a,void 0,s):!o&&l.Children.count(r)===1&&l.isValidElement(r)&&(a=r);let c=a?Pt(a):void 0,u=Tt(n,c);if(!a){if(r||r===0)throw Error(o?Bt(e):zt(e));return r}let d=Nt(i,a.props??{});return a.type!==l.Fragment&&(d.ref=n?u:c),l.cloneElement(a,d)});return t.displayName=`${e}.Slot`,t}Dt(Ot,`createSlot`);var kt=Ot(`Slot`),At=Symbol.for(`radix.slottable`);function jt(e){let t=Dt(e=>`child`in e?e.children(e.child):e.children,`Slottable`);return t.displayName=`${e}.Slottable`,t.__radixId=At,t}Dt(jt,`createSlottable`);var Mt=Dt((e,t)=>{if(`child`in e.props){let t=e.props.child;return l.isValidElement(t)?l.cloneElement(t,void 0,e.props.children(t.props.children)):null}return l.isValidElement(t)?t:null},`getSlottableElementFromSlottable`);function Nt(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}}Dt(Nt,`mergeProps`);function Pt(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)}Dt(Pt,`getElementRef`);function Ft(e){return l.isValidElement(e)&&typeof e.type==`function`&&`__radixId`in e.type&&e.type.__radixId===At}Dt(Ft,`isSlottable`);var It=Symbol.for(`react.lazy`);function Lt(e){return typeof e==`object`&&!!e&&`$$typeof`in e&&e.$$typeof===It&&`_payload`in e&&Rt(e._payload)}Dt(Lt,`isLazyComponent`);function Rt(e){return typeof e==`object`&&!!e&&`then`in e}Dt(Rt,`isPromiseLike`);var zt=Dt(e=>`${e} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`,`createSlotError`),Bt=Dt(e=>`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,`createSlottableError`),Vt=l.use,Ht=Object.defineProperty,V=(e,t)=>Ht(e,`name`,{value:t,configurable:!0});function Ut(e){let t=e+`CollectionProvider`,[n,r]=yt(t),[i,a]=n(t,{collectionRef:{current:null},itemMap:new Map}),o=V(e=>{let{scope:t,children:n}=e,r=l.useRef(null),a=l.useRef(new Map).current;return(0,u.jsx)(i,{scope:t,itemMap:a,collectionRef:r,children:n})},`CollectionProvider`);o.displayName=t;let s=e+`CollectionSlot`,c=Ot(s),d=l.forwardRef((e,t)=>{let{scope:n,children:r}=e,i=Tt(t,a(s,n).collectionRef);return(0,u.jsx)(c,{ref:i,children:r})});d.displayName=s;let f=e+`CollectionItemSlot`,p=`data-radix-collection-item`,m=Ot(f),h=l.forwardRef((e,t)=>{let{scope:n,children:r,...i}=e,o=l.useRef(null),s=Tt(t,o),c=a(f,n);return l.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.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 V(g,`useCollection`),[{Provider:o,Slot:d,ItemSlot:h},g,r]}V(Ut,`createCollection`);var Wt=new WeakMap,Gt=class e extends Map{static{V(this,`OrderedDict`)}#e;constructor(e){super(e),this.#e=[...super.keys()],Wt.set(this,!0)}set(e,t){return Wt.get(this)&&(this.has(e)?this.#e[this.#e.indexOf(e)]=e:this.#e.push(e)),super.set(e,t),this}insert(e,t,n){let r=this.has(t),i=this.#e.length,a=Jt(e),o=a>=0?a:i+a,s=o<0||o>=i?-1:o;if(s===this.size||r&&s===this.size-1||s===-1)return this.set(t,n),this;let c=this.size+ +!r;a<0&&o++;let l=[...this.#e],u,d=!1;for(let e=o;e<c;e++)if(o===e){let i=l[e];l[e]===t&&(i=l[e+1]),r&&this.delete(t),u=this.get(i),this.set(t,n)}else{!d&&l[e-1]===t&&(d=!0);let n=l[d?e:e-1],r=u;u=this.get(n),this.delete(n),this.set(n,r)}return this}with(t,n,r){let i=new e(this);return i.insert(t,n,r),i}before(e){let t=this.#e.indexOf(e)-1;if(!(t<0))return this.entryAt(t)}setBefore(e,t,n){let r=this.#e.indexOf(e);return r===-1?this:this.insert(r,t,n)}after(e){let t=this.#e.indexOf(e);if(t=t===-1||t===this.size-1?-1:t+1,t!==-1)return this.entryAt(t)}setAfter(e,t,n){let r=this.#e.indexOf(e);return r===-1?this:this.insert(r+1,t,n)}first(){return this.entryAt(0)}last(){return this.entryAt(-1)}clear(){return this.#e=[],super.clear()}delete(e){let t=super.delete(e);return t&&this.#e.splice(this.#e.indexOf(e),1),t}deleteAt(e){let t=this.keyAt(e);return t!==void 0&&this.delete(t)}at(e){let t=Kt(this.#e,e);if(t!==void 0)return this.get(t)}entryAt(e){let t=Kt(this.#e,e);if(t!==void 0)return[t,this.get(t)]}indexOf(e){return this.#e.indexOf(e)}keyAt(e){return Kt(this.#e,e)}from(e,t){let n=this.indexOf(e);if(n===-1)return;let r=n+t;return r<0&&(r=0),r>=this.size&&(r=this.size-1),this.at(r)}keyFrom(e,t){let n=this.indexOf(e);if(n===-1)return;let r=n+t;return r<0&&(r=0),r>=this.size&&(r=this.size-1),this.keyAt(r)}find(e,t){let n=0;for(let r of this){if(Reflect.apply(e,t,[r,n,this]))return r;n++}}findIndex(e,t){let n=0;for(let r of this){if(Reflect.apply(e,t,[r,n,this]))return n;n++}return-1}filter(t,n){let r=[],i=0;for(let e of this)Reflect.apply(t,n,[e,i,this])&&r.push(e),i++;return new e(r)}map(t,n){let r=[],i=0;for(let e of this)r.push([e[0],Reflect.apply(t,n,[e,i,this])]),i++;return new e(r)}reduce(...e){let[t,n]=e,r=0,i=n??this.at(0);for(let n of this)i=r===0&&e.length===1?n:Reflect.apply(t,this,[i,n,r,this]),r++;return i}reduceRight(...e){let[t,n]=e,r=n??this.at(-1);for(let n=this.size-1;n>=0;n--){let i=this.at(n);r=n===this.size-1&&e.length===1?i:Reflect.apply(t,this,[r,i,n,this])}return r}toSorted(t){let n=[...this.entries()].sort(t);return new e(n)}toReversed(){let t=new e;for(let e=this.size-1;e>=0;e--){let n=this.keyAt(e),r=this.get(n);t.set(n,r)}return t}toSpliced(...t){let n=[...this.entries()];return n.splice(...t),new e(n)}slice(t,n){let r=new e,i=this.size-1;if(t===void 0)return r;t<0&&(t+=this.size),n!==void 0&&n>0&&(i=n-1);for(let e=t;e<=i;e++){let t=this.keyAt(e),n=this.get(t);r.set(t,n)}return r}every(e,t){let n=0;for(let r of this){if(!Reflect.apply(e,t,[r,n,this]))return!1;n++}return!0}some(e,t){let n=0;for(let r of this){if(Reflect.apply(e,t,[r,n,this]))return!0;n++}return!1}};function Kt(e,t){if(`at`in Array.prototype)return Array.prototype.at.call(e,t);let n=qt(e,t);return n===-1?void 0:e[n]}V(Kt,`at`);function qt(e,t){let n=e.length,r=Jt(t),i=r>=0?r:n+r;return i<0||i>=n?-1:i}V(qt,`toSafeIndex`);function Jt(e){return e!==e||e===0?0:Math.trunc(e)}V(Jt,`toSafeInteger`);function Yt(e){let t=e+`CollectionProvider`,[n,r]=yt(t),[i,a]=n(t,{collectionElement:null,collectionRef:{current:null},collectionRefObject:{current:null},itemMap:new Gt,setItemMap:V(()=>void 0,`setItemMap`)}),o=V(({state:e,...t})=>e?(0,u.jsx)(c,{...t,state:e}):(0,u.jsx)(s,{...t}),`CollectionProvider`);o.displayName=t;let s=V(e=>{let t=_();return(0,u.jsx)(c,{...e,state:t})},`CollectionInit`);s.displayName=t+`Init`;let c=V(e=>{let{scope:t,children:n,state:r}=e,a=l.useRef(null),[o,s]=l.useState(null),c=Tt(a,s),[d,f]=r;return l.useEffect(()=>{if(!o)return;let e=$t(()=>{});return e.observe(o,{childList:!0,subtree:!0}),()=>{e.disconnect()}},[o]),(0,u.jsx)(i,{scope:t,itemMap:d,setItemMap:f,collectionRef:c,collectionRefObject:a,collectionElement:o,children:n})},`CollectionProviderImpl`);c.displayName=t+`Impl`;let d=e+`CollectionSlot`,f=Ot(d),p=l.forwardRef((e,t)=>{let{scope:n,children:r}=e,i=Tt(t,a(d,n).collectionRef);return(0,u.jsx)(f,{ref:i,children:r})});p.displayName=d;let m=e+`CollectionItemSlot`,h=Ot(m),g=l.forwardRef((e,t)=>{let{scope:n,children:r,...i}=e,o=l.useRef(null),[s,c]=l.useState(null),d=Tt(t,o,c),{setItemMap:f}=a(m,n),p=l.useRef(i);Xt(p.current,i)||(p.current=i);let g=p.current;return l.useEffect(()=>{let e=g;return f(t=>s?t.has(s)?t.set(s,{...e,element:s}).toSorted(Qt):(t.set(s,{...e,element:s}),t.toSorted(Qt)):t),()=>{f(e=>!s||!e.has(s)?e:(e.delete(s),new Gt(e)))}},[s,g,f]),(0,u.jsx)(h,{"data-radix-collection-item":``,ref:d,children:r})});g.displayName=m;function _(){return l.useState(new Gt)}V(_,`useInitCollection`);function v(t){let{itemMap:n}=a(e+`CollectionConsumer`,t);return n}return V(v,`useCollection`),[{Provider:o,Slot:p,ItemSlot:g},{createCollectionScope:r,useCollection:v,useInitCollection:_}]}V(Yt,`createCollection`);function Xt(e,t){if(e===t)return!0;if(typeof e!=`object`||typeof t!=`object`||e==null||t==null)return!1;let n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let r of n)if(!Object.prototype.hasOwnProperty.call(t,r)||e[r]!==t[r])return!1;return!0}V(Xt,`shallowEqual`);function Zt(e,t){return!!(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_PRECEDING)}V(Zt,`isElementPreceding`);function Qt(e,t){return!e[1].element||!t[1].element?0:Zt(e[1].element,t[1].element)?-1:1}V(Qt,`sortByDocumentPosition`);function $t(e){return new MutationObserver(t=>{for(let n of t)if(n.type===`childList`){e();return}})}V($t,`getChildListObserver`);var en=Object.defineProperty,tn=(e,t)=>en(e,`name`,{value:t,configurable:!0}),nn=!!(typeof window<`u`&&window.document&&window.document.createElement);function rn(e,t,{checkForDefaultPrevented:n=!0}={}){return tn(function(r){if(e?.(r),n===!1||!r||!r.defaultPrevented)return t?.(r)},`handleEvent`)}tn(rn,`composeEventHandlers`);function an(e){if(!nn)throw Error(`Cannot access window outside of the DOM`);return e?.ownerDocument?.defaultView??window}tn(an,`getOwnerWindow`);function on(e){if(!nn)throw Error(`Cannot access document outside of the DOM`);return e?.ownerDocument??document}tn(on,`getOwnerDocument`);function sn(e,t=!1){let{activeElement:n}=on(e);if(!n?.nodeName)return null;if(cn(n)&&n.contentDocument)return sn(n.contentDocument.body,t);if(t){let e=n.getAttribute(`aria-activedescendant`);if(e){let t=on(n).getElementById(e);if(t)return t}}return n}tn(sn,`getActiveElement`);function cn(e){return e.tagName===`IFRAME`}tn(cn,`isFrame`);var ln=globalThis?.document?l.useLayoutEffect:()=>{},un=Object.defineProperty,dn=(e,t)=>un(e,`name`,{value:t,configurable:!0}),fn=l.useEffectEvent,pn=l.useInsertionEffect;function mn(e){if(typeof fn==`function`)return fn(e);let t=l.useRef(()=>{throw Error(`Cannot call an event handler while rendering.`)});return typeof pn==`function`?pn(()=>{t.current=e}):ln(()=>{t.current=e}),l.useMemo(()=>((...e)=>t.current?.(...e)),[])}dn(mn,`useEffectEvent`);var hn=Object.defineProperty,gn=(e,t)=>hn(e,`name`,{value:t,configurable:!0}),_n=l.useInsertionEffect||ln;function vn({prop:e,defaultProp:t,onChange:n=gn(()=>{},`onChange`),caller:r}){let[i,a,o]=yn({defaultProp:t,onChange:n}),s=e!==void 0;return[s?e:i,l.useCallback(t=>{if(s){let n=bn(t)?t(e):t;n!==e&&o.current?.(n)}else a(t)},[s,e,a,o])]}gn(vn,`useControllableState`);function yn({defaultProp:e,onChange:t}){let[n,r]=l.useState(e),i=l.useRef(n),a=l.useRef(t);return _n(()=>{a.current=t},[t]),l.useEffect(()=>{i.current!==n&&(a.current?.(n),i.current=n)},[n,i]),[n,r,a]}gn(yn,`useUncontrolledState`);function bn(e){return typeof e==`function`}gn(bn,`isFunction`);var xn=Symbol(`RADIX:SYNC_STATE`);function Sn(e,t,n,r){let{prop:i,defaultProp:a,onChange:o,caller:s}=t,c=i!==void 0,u=mn(o),d=[{...n,state:a}];r&&d.push(r);let[f,p]=l.useReducer((t,n)=>{if(n.type===xn)return{...t,state:n.state};let r=e(t,n);return c&&!Object.is(r.state,t.state)&&u(r.state),r},...d),m=f.state,h=l.useRef(m);l.useEffect(()=>{h.current!==m&&(h.current=m,c||u(m))},[m,h,c]);let g=l.useMemo(()=>i===void 0?f:{...f,state:i},[f,i]);return l.useEffect(()=>{c&&!Object.is(i,f.state)&&p({type:xn,state:i})},[i,f.state,c]),[g,p]}gn(Sn,`useControllableStateReducer`);var Cn=Object.defineProperty,wn=(e,t)=>Cn(e,`name`,{value:t,configurable:!0}),Tn=[`a`,`button`,`div`,`form`,`h2`,`h3`,`img`,`input`,`label`,`li`,`nav`,`ol`,`p`,`select`,`span`,`svg`,`ul`].reduce((e,t)=>{let n=Ot(`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 En(e,t){e&&d.flushSync(()=>e.dispatchEvent(t))}wn(En,`dispatchDiscreteCustomEvent`);var Dn=Object.defineProperty,On=(e,t)=>Dn(e,`name`,{value:t,configurable:!0});function kn(e,t){return l.useReducer((e,n)=>t[e][n]??e,e)}On(kn,`useStateMachine`);var An=On(e=>{let{present:t,children:n}=e,r=jn(t),i=typeof n==`function`?n({present:r.isPresent}):l.Children.only(n),a=Nn(r.ref,Fn(i));return typeof n==`function`||r.isPresent?l.cloneElement(i,{ref:a}):null},`Presence`);function jn(e){let[t,n]=l.useState(),r=l.useRef(null),i=l.useRef(e),a=l.useRef(`none`),o=l.useRef(void 0),[s,c]=kn(e?`mounted`:`unmounted`,{mounted:{UNMOUNT:`unmounted`,ANIMATION_OUT:`unmountSuspended`},unmountSuspended:{MOUNT:`mounted`,ANIMATION_END:`unmounted`},unmounted:{MOUNT:`mounted`}});return l.useEffect(()=>{s===`mounted`?(a.current=o.current??Pn(r.current),o.current=void 0):a.current=`none`},[s]),ln(()=>{let t=r.current,n=i.current;if(n!==e){let r=a.current,s=Pn(t);e?(o.current=s,c(`MOUNT`)):s===`none`||t?.display===`none`?c(`UNMOUNT`):c(n&&r!==s?`ANIMATION_OUT`:`UNMOUNT`),i.current=e}},[e,c]),ln(()=>{if(t){let e,n=t.ownerDocument.defaultView??window,o=On(a=>{let o=Pn(r.current).includes(CSS.escape(a.animationName));if(a.target===t&&o&&(c(`ANIMATION_END`),!i.current)){let r=t.style.animationFillMode;t.style.animationFillMode=`forwards`,e=n.setTimeout(()=>{t.style.animationFillMode===`forwards`&&(t.style.animationFillMode=r)})}},`handleAnimationEnd`),s=On(e=>{e.target===t&&(a.current=Pn(r.current))},`handleAnimationStart`);return t.addEventListener(`animationstart`,s),t.addEventListener(`animationcancel`,o),t.addEventListener(`animationend`,o),()=>{n.clearTimeout(e),t.removeEventListener(`animationstart`,s),t.removeEventListener(`animationcancel`,o),t.removeEventListener(`animationend`,o)}}c(`ANIMATION_END`)},[t,c]),{isPresent:[`mounted`,`unmountSuspended`].includes(s),ref:l.useCallback(e=>{if(e){let t=getComputedStyle(e);r.current=t,o.current=Pn(t)}else r.current=null;n(e)},[])}}On(jn,`usePresence`);function Mn(e,t){if(typeof e==`function`)return e(t);e!=null&&(e.current=t)}On(Mn,`setRef`);function Nn(...e){let t=l.useRef(e);return t.current=e,l.useCallback(e=>{let n=t.current,r=!1,i=n.map(t=>{let n=Mn(t,e);return!r&&typeof n==`function`&&(r=!0),n});if(r)return()=>{for(let e=0;e<i.length;e++){let t=i[e];typeof t==`function`?t():Mn(n[e],null)}}},[])}On(Nn,`useStableComposedRefs`);function Pn(e){return e?.animationName||`none`}On(Pn,`getAnimationName`);function Fn(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)}On(Fn,`getElementRef`);var In=Object.defineProperty,Ln=(e,t)=>In(e,`name`,{value:t,configurable:!0}),Rn=l.useId||(()=>void 0),zn=0;function Bn(e){let[t,n]=l.useState(Rn());return ln(()=>{e||n(e=>e??String(zn++))},[e]),e||(t?`radix-${t}`:``)}Ln(Bn,`useId`);var Vn=Object.defineProperty,Hn=(e,t)=>Vn(e,`name`,{value:t,configurable:!0}),Un=`Collapsible`,[Wn,Gn]=yt(Un),[Kn,qn]=Wn(Un),Jn=l.forwardRef(Hn(function(e,t){let{__scopeCollapsible:n,open:r,defaultOpen:i,disabled:a,onOpenChange:o,...s}=e,[c,d]=vn({prop:r,defaultProp:i??!1,onChange:o,caller:Un});return(0,u.jsx)(Kn,{scope:n,disabled:a,contentId:Bn(),open:c,onOpenToggle:l.useCallback(()=>d(e=>!e),[d]),children:(0,u.jsx)(Tn.div,{"data-state":er(c),"data-disabled":a?``:void 0,...s,ref:t})})},`Collapsible`)),Yn=`CollapsibleTrigger`,Xn=l.forwardRef(Hn(function(e,t){let{__scopeCollapsible:n,...r}=e,i=qn(Yn,n);return(0,u.jsx)(Tn.button,{type:`button`,"aria-controls":i.open?i.contentId:void 0,"aria-expanded":i.open||!1,"data-state":er(i.open),"data-disabled":i.disabled?``:void 0,disabled:i.disabled,...r,ref:t,onClick:rn(e.onClick,i.onOpenToggle)})},`CollapsibleTrigger`)),Zn=`CollapsibleContent`,Qn=l.forwardRef(Hn(function(e,t){let{forceMount:n,...r}=e,i=qn(Zn,e.__scopeCollapsible);return(0,u.jsx)(An,{present:n||i.open,children:({present:e})=>(0,u.jsx)($n,{...r,ref:t,present:e})})},`CollapsibleContent`)),$n=l.forwardRef(Hn(function(e,t){let{__scopeCollapsible:n,present:r,children:i,...a}=e,o=qn(Zn,n),[s,c]=l.useState(r),d=l.useRef(null),f=Tt(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)},[]),ln(()=>{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)(Tn.div,{"data-state":er(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})},`CollapsibleContentImpl`));function er(e){return e?`open`:`closed`}Hn(er,`getState`);var tr=Jn,nr=Xn,rr=Qn,ir=Object.defineProperty,ar=(e,t)=>ir(e,`name`,{value:t,configurable:!0}),or=l.createContext(void 0);function sr(e){let t=l.useContext(or);return e||t||`ltr`}ar(sr,`useDirection`);var cr=Object.defineProperty,lr=(e,t)=>cr(e,`name`,{value:t,configurable:!0}),ur=`Accordion`,dr=[`Home`,`End`,`ArrowDown`,`ArrowUp`,`ArrowLeft`,`ArrowRight`],[fr,pr,mr]=Ut(ur),[hr,gr]=yt(ur,[mr,Gn]),_r=Gn(),vr=l.forwardRef(lr(function(e,t){let{type:n,...r}=e,i=r,a=r;return(0,u.jsx)(fr.Provider,{scope:e.__scopeAccordion,children:n===`multiple`?(0,u.jsx)(wr,{...a,ref:t}):(0,u.jsx)(Cr,{...i,ref:t})})},`Accordion`)),[yr,br]=hr(ur),[xr,Sr]=hr(ur,{collapsible:!1}),Cr=l.forwardRef(lr(function(e,t){let{value:n,defaultValue:r,onValueChange:i=lr(()=>{},`onValueChange`),collapsible:a=!1,...o}=e,[s,c]=vn({prop:n,defaultProp:r??``,onChange:i,caller:ur});return(0,u.jsx)(yr,{scope:e.__scopeAccordion,value:l.useMemo(()=>s?[s]:[],[s]),onItemOpen:c,onItemClose:l.useCallback(()=>a&&c(``),[a,c]),children:(0,u.jsx)(xr,{scope:e.__scopeAccordion,collapsible:a,children:(0,u.jsx)(Dr,{...o,ref:t})})})},`AccordionImplSingle`)),wr=l.forwardRef(lr(function(e,t){let{value:n,defaultValue:r,onValueChange:i=lr(()=>{},`onValueChange`),...a}=e,[o,s]=vn({prop:n,defaultProp:r??[],onChange:i,caller:ur}),c=l.useCallback(e=>s((t=[])=>[...t,e]),[s]),d=l.useCallback(e=>s((t=[])=>t.filter(t=>t!==e)),[s]);return(0,u.jsx)(yr,{scope:e.__scopeAccordion,value:o,onItemOpen:c,onItemClose:d,children:(0,u.jsx)(xr,{scope:e.__scopeAccordion,collapsible:!0,children:(0,u.jsx)(Dr,{...a,ref:t})})})},`AccordionImplMultiple`)),[Tr,Er]=hr(ur),Dr=l.forwardRef(lr(function(e,t){let{__scopeAccordion:n,disabled:r,dir:i,orientation:a=`vertical`,...o}=e,s=Tt(l.useRef(null),t),c=pr(n),d=sr(i)===`ltr`,f=rn(e.onKeyDown,e=>{if(!dr.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=lr(()=>{o=r+1,o>s&&(o=0)},`moveNext`),u=lr(()=>{o=r-1,o<0&&(o=s)},`movePrev`);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()}n[o%i].ref.current?.focus()});return(0,u.jsx)(Tr,{scope:n,disabled:r,direction:i,orientation:a,children:(0,u.jsx)(fr.Slot,{scope:n,children:(0,u.jsx)(Tn.div,{...o,"data-orientation":a,ref:s,onKeyDown:r?void 0:f})})})},`AccordionImpl`)),Or=`AccordionItem`,[kr,Ar]=hr(Or),jr=l.forwardRef(lr(function(e,t){let{__scopeAccordion:n,value:r,...i}=e,a=Er(Or,n),o=br(Or,n),s=_r(n),c=Bn(),l=r&&o.value.includes(r)||!1,d=a.disabled||e.disabled;return(0,u.jsx)(kr,{scope:n,open:l,disabled:d,triggerId:c,children:(0,u.jsx)(tr,{"data-orientation":a.orientation,"data-state":Rr(l),...s,...i,ref:t,disabled:d,open:l,onOpenChange:e=>{e?o.onItemOpen(r):o.onItemClose(r)}})})},`AccordionItem`)),Mr=`AccordionHeader`,Nr=l.forwardRef(lr(function(e,t){let{__scopeAccordion:n,...r}=e,i=Er(ur,n),a=Ar(Mr,n);return(0,u.jsx)(Tn.h3,{"data-orientation":i.orientation,"data-state":Rr(a.open),"data-disabled":a.disabled?``:void 0,...r,ref:t})},`AccordionHeader`)),Pr=`AccordionTrigger`,Fr=l.forwardRef(lr(function(e,t){let{__scopeAccordion:n,...r}=e,i=Er(ur,n),a=Ar(Pr,n),o=Sr(Pr,n),s=_r(n);return(0,u.jsx)(fr.ItemSlot,{scope:n,children:(0,u.jsx)(nr,{"aria-disabled":a.open&&!o.collapsible||void 0,"data-orientation":i.orientation,id:a.triggerId,...s,...r,ref:t})})},`AccordionTrigger`)),Ir=`AccordionContent`,Lr=l.forwardRef(lr(function(e,t){let{__scopeAccordion:n,...r}=e,i=Er(ur,n),a=Ar(Ir,n),o=_r(n);return(0,u.jsx)(rr,{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}})},`AccordionContent`));function Rr(e){return e?`open`:`closed`}lr(Rr,`getState`);var zr=vr,Br=jr,Vr=Nr,Hr=Fr,Ur=Lr,Wr=({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)(zr,{...o,type:`multiple`,defaultValue:n,value:r,onValueChange:i,children:e.map(e=>(0,u.jsx)(Gr,{item:e},e.value))}):(0,u.jsx)(zr,{...o,type:`single`,collapsible:!0,defaultValue:n,value:r,onValueChange:i,children:e.map(e=>(0,u.jsx)(Gr,{item:e},e.value))})},Gr=({item:e})=>(0,u.jsxs)(Br,{value:e.value,disabled:e.disabled,className:`vi-accordion-item`,children:[(0,u.jsx)(Vr,{children:(0,u.jsxs)(Hr,{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)(Ur,{className:`vi-accordion-content-wrapper`,children:(0,u.jsx)(`div`,{className:`vi-accordion-content`,children:e.content})})]});Wr.displayName=`Accordion`;var Kr={default:`vi-badge-default`,secondary:`vi-badge-secondary`,destructive:`vi-badge-destructive`,outline:`vi-badge-outline`},qr={sm:`vi-badge-sm`,default:!1,lg:`vi-badge-lg`},Jr=({variant:e=`default`,size:t=`default`,className:n,children:r,...i})=>(0,u.jsx)(`span`,{className:B(`vi-badge`,Kr[e],qr[t],n),...i,children:r});Jr.displayName=`Badge`;var Yr=e=>typeof e==`boolean`?`${e}`:e===0?`0`:e,Xr=S,Zr=((e,t)=>n=>{if(t?.variants==null)return Xr(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=Yr(t)||Yr(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 Xr(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`}}),Qr=(0,l.forwardRef)(({className:e,variant:t,size:n,asChild:r=!1,type:i=`button`,...a},o)=>(0,u.jsx)(r?kt:`button`,{type:i,className:B(Zr({variant:t,size:n,className:e})),ref:o,...a}));Qr.displayName=`Button`;var $r=(0,l.forwardRef)(({className:e,...t},n)=>(0,u.jsx)(`div`,{ref:n,className:B(`vi-card`,e),...t}));$r.displayName=`Card`;var ei=(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}));ei.displayName=`CardImage`;var ti=(0,l.forwardRef)(({className:e,...t},n)=>(0,u.jsx)(`div`,{ref:n,className:B(`vi-card-title`,e),...t}));ti.displayName=`CardTitle`;var ni=(0,l.forwardRef)(({className:e,...t},n)=>(0,u.jsx)(`div`,{ref:n,className:B(`vi-card-description`,e),...t}));ni.displayName=`CardDescription`;var ri=(0,l.forwardRef)(({className:e,...t},n)=>(0,u.jsx)(`div`,{ref:n,className:B(`vi-card-content`,e),...t}));ri.displayName=`CardContent`;var ii=(0,l.forwardRef)(({className:e,...t},n)=>(0,u.jsx)(`div`,{ref:n,className:B(`vi-card-wrapper`,e),...t}));ii.displayName=`CardWrapper`;var ai=(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})]})});ai.displayName=`Checkbox`;var oi=(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})]})});oi.displayName=`CheckboxGroup`;var si=Object.defineProperty,ci=(e,t)=>si(e,`name`,{value:t,configurable:!0});function li(e){let t=l.useRef(e);return l.useEffect(()=>{t.current=e}),l.useMemo(()=>((...e)=>t.current?.(...e)),[])}ci(li,`useCallbackRef`);var ui=Object.defineProperty,H=(e,t)=>ui(e,`name`,{value:t,configurable:!0}),di=`dismissableLayer.update`,fi=`dismissableLayer.pointerDownOutside`,pi=`dismissableLayer.focusOutside`,mi,hi=l.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set,dismissableSurfaces:new Set}),gi=l.forwardRef(H(function(e,t){let{disableOutsidePointerEvents:n=!1,deferPointerDownOutside:r=!1,onEscapeKeyDown:i,onPointerDownOutside:a,onFocusOutside:o,onInteractOutside:s,onDismiss:c,...d}=e,f=l.useContext(hi),[p,m]=l.useState(null),h=p?.ownerDocument??globalThis?.document,[,g]=l.useState({}),_=Tt(t,m),v=Array.from(f.layers),[y]=[...f.layersWithOutsidePointerEventsDisabled].slice(-1),b=y?v.indexOf(y):-1,x=p?v.indexOf(p):-1,S=f.layersWithOutsidePointerEventsDisabled.size>0,C=x>=b,w=l.useRef(!1),T=yi(e=>{a?.(e),s?.(e),e.defaultPrevented||c?.()},{ownerDocument:h,deferPointerDownOutside:r,isDeferredPointerDownOutsideRef:w,dismissableSurfaces:f.dismissableSurfaces,shouldHandlePointerDownOutside:l.useCallback(e=>{if(!(e instanceof Node))return!1;let t=[...f.branches].some(t=>t.contains(e));return C&&!t},[f.branches,C])}),E=bi(e=>{if(r&&w.current)return;let t=e.target;[...f.branches].some(e=>e.contains(t))||(o?.(e),s?.(e),e.defaultPrevented||c?.())},h),D=p?x===v.length-1:!1,O=li(e=>{e.key===`Escape`&&(i?.(e),!e.defaultPrevented&&c&&(e.preventDefault(),c()))});return l.useEffect(()=>{if(D)return h.addEventListener(`keydown`,O,{capture:!0}),()=>h.removeEventListener(`keydown`,O,{capture:!0})},[h,D,O]),l.useEffect(()=>{if(p)return n&&(f.layersWithOutsidePointerEventsDisabled.size===0&&(mi=h.body.style.pointerEvents,h.body.style.pointerEvents=`none`),f.layersWithOutsidePointerEventsDisabled.add(p)),f.layers.add(p),xi(),()=>{n&&(f.layersWithOutsidePointerEventsDisabled.delete(p),f.layersWithOutsidePointerEventsDisabled.size===0&&(h.body.style.pointerEvents=mi))}},[p,h,n,f]),l.useEffect(()=>()=>{p&&(f.layers.delete(p),f.layersWithOutsidePointerEventsDisabled.delete(p),xi())},[p,f]),l.useEffect(()=>{let e=H(()=>g({}),`handleUpdate`);return document.addEventListener(di,e),()=>document.removeEventListener(di,e)},[]),(0,u.jsx)(Tn.div,{...d,ref:_,style:{pointerEvents:S?C?`auto`:`none`:void 0,...e.style},onFocusCapture:rn(e.onFocusCapture,E.onFocusCapture),onBlurCapture:rn(e.onBlurCapture,E.onBlurCapture),onPointerDownCapture:rn(e.onPointerDownCapture,T.onPointerDownCapture)})},`DismissableLayer`));function _i(){let e=l.useContext(hi),[t,n]=l.useState(null);return l.useEffect(()=>{if(t)return e.dismissableSurfaces.add(t),()=>{e.dismissableSurfaces.delete(t)}},[t,e.dismissableSurfaces]),n}H(_i,`useDismissableLayerSurface`);var vi=H(()=>!0,`IS_TRUE`);function yi(e,t){let{ownerDocument:n=globalThis?.document,deferPointerDownOutside:r=!1,isDeferredPointerDownOutsideRef:i,dismissableSurfaces:a,shouldHandlePointerDownOutside:o=vi}=t,s=li(e),c=l.useRef(!1),u=l.useRef(!1),d=l.useRef(new Map),f=l.useRef(()=>{});return l.useEffect(()=>{function e(){u.current=!1,i.current=!1,d.current.clear()}H(e,`resetOutsideInteraction`);function t(){return Array.from(d.current.values()).some(Boolean)}H(t,`isOutsideInteractionIntercepted`);function l(e){if(!u.current)return;let t=e.target;t instanceof Node&&[...a].some(e=>e.contains(t))||d.current.set(e.type,!0),e.type===`click`&&window.setTimeout(()=>{u.current&&f.current()},0)}H(l,`handleInteractionCapture`);function p(e){u.current&&d.current.set(e.type,!1)}H(p,`handleInteractionBubble`);let m=H(a=>{if(a.target&&!c.current){let l=function(){n.removeEventListener(`click`,f.current);let r=t();e(),r||Si(fi,s,p,{discrete:!0})};if(H(l,`handleAndDispatchPointerDownOutsideEvent`),!o(a.target)){n.removeEventListener(`click`,f.current),e(),c.current=!1;return}let p={originalEvent:a};u.current=!0,i.current=r&&a.button===0,d.current.clear(),!r||a.button!==0?l():(n.removeEventListener(`click`,f.current),f.current=l,n.addEventListener(`click`,f.current,{once:!0}))}else n.removeEventListener(`click`,f.current),e();c.current=!1},`handlePointerDown`),h=[`pointerup`,`mousedown`,`mouseup`,`touchstart`,`touchend`,`click`];for(let e of h)n.addEventListener(e,l,!0),n.addEventListener(e,p);let g=window.setTimeout(()=>{n.addEventListener(`pointerdown`,m)},0);return()=>{window.clearTimeout(g),n.removeEventListener(`pointerdown`,m),n.removeEventListener(`click`,f.current);for(let e of h)n.removeEventListener(e,l,!0),n.removeEventListener(e,p)}},[n,s,r,i,a,o]),{onPointerDownCapture:H(()=>c.current=!0,`onPointerDownCapture`)}}H(yi,`usePointerDownOutside`);function bi(e,t=globalThis?.document){let n=li(e),r=l.useRef(!1);return l.useEffect(()=>{let e=H(e=>{e.target&&!r.current&&Si(pi,n,{originalEvent:e},{discrete:!1})},`handleFocus`);return t.addEventListener(`focusin`,e),()=>t.removeEventListener(`focusin`,e)},[t,n]),{onFocusCapture:H(()=>r.current=!0,`onFocusCapture`),onBlurCapture:H(()=>r.current=!1,`onBlurCapture`)}}H(bi,`useFocusOutside`);function xi(){let e=new CustomEvent(di);document.dispatchEvent(e)}H(xi,`dispatchUpdate`);function Si(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?En(i,a):i.dispatchEvent(a)}H(Si,`handleAndDispatchCustomEvent`);var Ci=Object.defineProperty,wi=(e,t)=>Ci(e,`name`,{value:t,configurable:!0}),Ti=`focusScope.autoFocusOnMount`,Ei=`focusScope.autoFocusOnUnmount`,Di={bubbles:!1,cancelable:!0},Oi=l.forwardRef(wi(function(e,t){let{loop:n=!1,trapped:r=!1,onMountAutoFocus:i,onUnmountAutoFocus:a,...o}=e,[s,c]=l.useState(null),d=li(i),f=li(a),p=l.useRef(null),m=Tt(t,c),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:Fi(p.current,{select:!0})},t=function(e){if(h.paused||!s)return;let t=e.relatedTarget;t!==null&&(s.contains(t)||Fi(p.current,{select:!0}))},n=function(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&Fi(s)};wi(e,`handleFocusIn`),wi(t,`handleFocusOut`),wi(n,`handleMutations`),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){Ii.add(h);let e=document.activeElement;if(!s.contains(e)){let t=new CustomEvent(Ti,Di);s.addEventListener(Ti,d),s.dispatchEvent(t),t.defaultPrevented||(ki(zi(ji(s)),{select:!0}),document.activeElement===e&&Fi(s))}return()=>{s.removeEventListener(Ti,d),setTimeout(()=>{let t=new CustomEvent(Ei,Di);s.addEventListener(Ei,f),s.dispatchEvent(t),t.defaultPrevented||Fi(e??document.body,{select:!0}),s.removeEventListener(Ei,f),Ii.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]=Ai(t);r&&a?!e.shiftKey&&i===a?(e.preventDefault(),n&&Fi(r,{select:!0})):e.shiftKey&&i===r&&(e.preventDefault(),n&&Fi(a,{select:!0})):i===t&&e.preventDefault()}},[n,r,h.paused]);return(0,u.jsx)(Tn.div,{tabIndex:-1,...o,ref:m,onKeyDown:g})},`FocusScope`));function ki(e,{select:t=!1}={}){let n=document.activeElement;for(let r of e)if(Fi(r,{select:t}),document.activeElement!==n)return}wi(ki,`focusFirst`);function Ai(e){let t=ji(e);return[Mi(t,e),Mi(t.reverse(),e)]}wi(Ai,`getTabbableEdges`);function ji(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:wi(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},`acceptNode`)});for(;n.nextNode();)t.push(n.currentNode);return t}wi(ji,`getTabbableCandidates`);function Mi(e,t){let n=typeof t.checkVisibility==`function`&&t.checkVisibility({checkVisibilityCSS:!0});for(let r of e)if(!(n?!r.checkVisibility({checkVisibilityCSS:!0}):Ni(r,{upTo:t})))return r}wi(Mi,`findVisible`);function Ni(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}wi(Ni,`isHidden`);function Pi(e){return e instanceof HTMLInputElement&&`select`in e}wi(Pi,`isSelectableInput`);function Fi(e,{select:t=!1}={}){if(e&&e.focus){let n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&Pi(e)&&t&&e.select()}}wi(Fi,`focus`);var Ii=Li();function Li(){let e=[];return{add(t){let n=e[0];t!==n&&n?.pause(),e=Ri(e,t),e.unshift(t)},remove(t){e=Ri(e,t),e[0]?.resume()}}}wi(Li,`createFocusScopesStack`);function Ri(e,t){let n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}wi(Ri,`arrayRemove`);function zi(e){return e.filter(e=>e.tagName!==`A`)}wi(zi,`removeLinks`);var Bi=Object.defineProperty,Vi=l.forwardRef(((e,t)=>Bi(e,`name`,{value:t,configurable:!0}))(function(e,t){let{container:n,...r}=e,[i,a]=l.useState(!1);ln(()=>a(!0),[]);let o=n||i&&globalThis?.document?.body;return o?d.createPortal((0,u.jsx)(Tn.div,{...r,ref:t}),o):null},`Portal`)),Hi=Object.defineProperty,Ui=(e,t)=>Hi(e,`name`,{value:t,configurable:!0}),Wi=0,Gi=null;function Ki(e){return qi(),e.children}Ui(Ki,`FocusGuards`);function qi(){l.useEffect(()=>{Gi||={start:Ji(),end:Ji()};let{start:e,end:t}=Gi;return document.body.firstElementChild!==e&&document.body.insertAdjacentElement(`afterbegin`,e),document.body.lastElementChild!==t&&document.body.insertAdjacentElement(`beforeend`,t),Wi++,()=>{Wi===1&&(Gi?.start.remove(),Gi?.end.remove(),Gi=null),Wi=Math.max(0,Wi-1)}},[])}Ui(qi,`useFocusGuards`);function Ji(){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}Ui(Ji,`createFocusGuard`);var Yi=function(){return Yi=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},Yi.apply(this,arguments)};function Xi(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 Zi(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 Qi=`right-scroll-bar-position`,$i=`width-before-scroll-bar`,ea=`with-scroll-bars-hidden`,ta=`--removed-body-scroll-bar-size`;function na(e,t){return typeof e==`function`?e(t):e&&(e.current=t),e}function ra(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 ia=typeof window<`u`?c.useLayoutEffect:c.useEffect,aa=new WeakMap;function oa(e,t){var n=ra(t||null,function(t){return e.forEach(function(e){return na(e,t)})});return ia(function(){var t=aa.get(n);if(t){var r=new Set(t),i=new Set(e),a=n.current;r.forEach(function(e){i.has(e)||na(e,null)}),i.forEach(function(e){r.has(e)||na(e,a)})}aa.set(n,e)},[e]),n}function sa(e){return e}function ca(e,t){t===void 0&&(t=sa);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 la(e){e===void 0&&(e={});var t=ca(null);return t.options=Yi({async:!0,ssr:!1},e),t}var ua=function(e){var t=e.sideCar,n=Xi(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,Yi({},n))};ua.isSideCarExport=!0;function da(e,t){return e.useMedium(t),ua}var fa=la(),pa=function(){},ma=c.forwardRef(function(e,t){var n=c.useRef(null),r=c.useState({onScrollCapture:pa,onWheelCapture:pa,onTouchMoveCapture:pa}),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=Xi(e,[`forwardProps`,`children`,`className`,`removeScrollBar`,`enabled`,`shards`,`sideCar`,`noRelative`,`noIsolation`,`inert`,`allowPinchZoom`,`as`,`gapMode`]),S=p,C=oa([n,t]),w=Yi(Yi({},x),i);return c.createElement(c.Fragment,null,d&&c.createElement(S,{sideCar:fa,removeScrollBar:u,shards:f,noRelative:m,noIsolation:h,inert:g,setCallbacks:a,allowPinchZoom:!!_,lockRef:n,gapMode:b}),o?c.cloneElement(c.Children.only(s),Yi(Yi({},w),{ref:C})):c.createElement(y,Yi({},w,{className:l,ref:C}),s))});ma.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},ma.classNames={fullWidth:$i,zeroRight:Qi};var ha,ga=function(){if(ha)return ha;if(typeof __webpack_nonce__<`u`)return __webpack_nonce__};function _a(){if(!document)return null;var e=document.createElement(`style`);e.type=`text/css`;var t=ga();return t&&e.setAttribute(`nonce`,t),e}function va(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function ya(e){(document.head||document.getElementsByTagName(`head`)[0]).appendChild(e)}var ba=function(){var e=0,t=null;return{add:function(n){e==0&&(t=_a())&&(va(t,n),ya(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},xa=function(){var e=ba();return function(t,n){c.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},Sa=function(){var e=xa();return function(t){var n=t.styles,r=t.dynamic;return e(n,r),null}},Ca={left:0,top:0,right:0,gap:0},wa=function(e){return parseInt(e||``,10)||0},Ta=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[wa(n),wa(r),wa(i)]},Ea=function(e){if(e===void 0&&(e=`margin`),typeof window>`u`)return Ca;var t=Ta(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])}},Da=Sa(),Oa=`data-scroll-locked`,ka=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
+ .${ea} {
3
3
  overflow: hidden ${r};
4
4
  padding-right: ${s}px ${r};
5
5
  }
6
- body[${ya}] {
6
+ body[${Oa}] {
7
7
  overflow: hidden ${r};
8
8
  overscroll-behavior: contain;
9
9
  ${[t&&`position: relative ${r};`,n===`margin`&&`
@@ -16,27 +16,27 @@ 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
- .${Ui} {
19
+ .${Qi} {
20
20
  right: ${s}px ${r};
21
21
  }
22
22
 
23
- .${Wi} {
23
+ .${$i} {
24
24
  margin-right: ${s}px ${r};
25
25
  }
26
26
 
27
- .${Ui} .${Ui} {
27
+ .${Qi} .${Qi} {
28
28
  right: 0 ${r};
29
29
  }
30
30
 
31
- .${Wi} .${Wi} {
31
+ .${$i} .${$i} {
32
32
  margin-right: 0 ${r};
33
33
  }
34
34
 
35
- body[${ya}] {
36
- ${Ki}: ${s}px;
35
+ body[${Oa}] {
36
+ ${ta}: ${s}px;
37
37
  }
38
- `},xa=function(){var e=parseInt(document.body.getAttribute(`data-scroll-locked`)||`0`,10);return isFinite(e)?e:0},Sa=function(){c.useEffect(function(){return document.body.setAttribute(ya,(xa()+1).toString()),function(){var e=xa()-1;e<=0?document.body.removeAttribute(ya):document.body.setAttribute(ya,e.toString())}},[])},Ca=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,i=r===void 0?`margin`:r;Sa();var a=c.useMemo(function(){return _a(i)},[i]);return c.createElement(va,{styles:ba(a,!t,i,n?``:`!important`)})},wa=!1;if(typeof window<`u`)try{var Ta=Object.defineProperty({},"passive",{get:function(){return wa=!0,!0}});window.addEventListener(`test`,Ta,Ta),window.removeEventListener(`test`,Ta,Ta)}catch{wa=!1}var Ea=wa?{passive:!1}:!1,Da=function(e){return e.tagName===`TEXTAREA`},Oa=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return n[t]!==`hidden`&&!(n.overflowY===n.overflowX&&!Da(e)&&n[t]===`visible`)},ka=function(e){return Oa(e,`overflowY`)},Aa=function(e){return Oa(e,`overflowX`)},ja=function(e,t){var n=t.ownerDocument,r=t;do{if(typeof ShadowRoot<`u`&&r instanceof ShadowRoot&&(r=r.host),Pa(e,r)){var i=Fa(e,r);if(i[1]>i[2])return!0}r=r.parentNode}while(r&&r!==n.body);return!1},Ma=function(e){return[e.scrollTop,e.scrollHeight,e.clientHeight]},Na=function(e){return[e.scrollLeft,e.scrollWidth,e.clientWidth]},Pa=function(e,t){return e===`v`?ka(t):Aa(t)},Fa=function(e,t){return e===`v`?Ma(t):Na(t)},Ia=function(e,t){return e===`h`&&t===`rtl`?-1:1},La=function(e,t,n,r,i){var a=Ia(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=Fa(e,s),m=p[0],h=p[1]-p[2]-a*m;(m||h)&&Pa(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},Ra=function(e){return`changedTouches`in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},za=function(e){return[e.deltaX,e.deltaY]},Ba=function(e){return e&&`current`in e?e.current:e},Va=function(e,t){return e[0]===t[0]&&e[1]===t[1]},Ha=function(e){return`
38
+ `},Aa=function(){var e=parseInt(document.body.getAttribute(`data-scroll-locked`)||`0`,10);return isFinite(e)?e:0},ja=function(){c.useEffect(function(){return document.body.setAttribute(Oa,(Aa()+1).toString()),function(){var e=Aa()-1;e<=0?document.body.removeAttribute(Oa):document.body.setAttribute(Oa,e.toString())}},[])},Ma=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,i=r===void 0?`margin`:r;ja();var a=c.useMemo(function(){return Ea(i)},[i]);return c.createElement(Da,{styles:ka(a,!t,i,n?``:`!important`)})},Na=!1;if(typeof window<`u`)try{var Pa=Object.defineProperty({},"passive",{get:function(){return Na=!0,!0}});window.addEventListener(`test`,Pa,Pa),window.removeEventListener(`test`,Pa,Pa)}catch{Na=!1}var Fa=Na?{passive:!1}:!1,Ia=function(e){return e.tagName===`TEXTAREA`},La=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return n[t]!==`hidden`&&!(n.overflowY===n.overflowX&&!Ia(e)&&n[t]===`visible`)},Ra=function(e){return La(e,`overflowY`)},za=function(e){return La(e,`overflowX`)},Ba=function(e,t){var n=t.ownerDocument,r=t;do{if(typeof ShadowRoot<`u`&&r instanceof ShadowRoot&&(r=r.host),Ua(e,r)){var i=Wa(e,r);if(i[1]>i[2])return!0}r=r.parentNode}while(r&&r!==n.body);return!1},Va=function(e){return[e.scrollTop,e.scrollHeight,e.clientHeight]},Ha=function(e){return[e.scrollLeft,e.scrollWidth,e.clientWidth]},Ua=function(e,t){return e===`v`?Ra(t):za(t)},Wa=function(e,t){return e===`v`?Va(t):Ha(t)},Ga=function(e,t){return e===`h`&&t===`rtl`?-1:1},Ka=function(e,t,n,r,i){var a=Ga(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=Wa(e,s),m=p[0],h=p[1]-p[2]-a*m;(m||h)&&Ua(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},qa=function(e){return`changedTouches`in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Ja=function(e){return[e.deltaX,e.deltaY]},Ya=function(e){return e&&`current`in e?e.current:e},Xa=function(e,t){return e[0]===t[0]&&e[1]===t[1]},Za=function(e){return`
39
39
  .block-interactivity-${e} {pointer-events: none;}
40
40
  .allow-interactivity-${e} {pointer-events: all;}
41
- `},Ua=0,Wa=[];function Ga(e){var t=c.useRef([]),n=c.useRef([0,0]),r=c.useRef(),i=c.useState(Ua++)[0],a=c.useState(pa)[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=Hi([e.lockRef.current],(e.shards||[]).map(Ba),!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=Ra(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=ja(d,u);if(!m)return!0;if(m?l=d:(l=d===`v`?`h`:`v`,m=ja(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 La(h,t,e,h===`h`?s:c,!0)},[]),l=c.useCallback(function(e){var n=e;if(!(!Wa.length||Wa[Wa.length-1]!==a)){var r=`deltaY`in n?za(n):Ra(n),i=t.current.filter(function(e){return e.name===n.type&&(e.target===n.target||n.target===e.shadowParent)&&Va(e.delta,r)})[0];if(i&&i.should){n.cancelable&&n.preventDefault();return}if(!i){var c=(o.current.shards||[]).map(Ba).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:Ka(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=Ra(e),r.current=void 0},[]),f=c.useCallback(function(t){u(t.type,za(t),t.target,s(t,e.lockRef.current))},[]),p=c.useCallback(function(t){u(t.type,Ra(t),t.target,s(t,e.lockRef.current))},[]);c.useEffect(function(){return Wa.push(a),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:p}),document.addEventListener(`wheel`,l,Ea),document.addEventListener(`touchmove`,l,Ea),document.addEventListener(`touchstart`,d,Ea),function(){Wa=Wa.filter(function(e){return e!==a}),document.removeEventListener(`wheel`,l,Ea),document.removeEventListener(`touchmove`,l,Ea),document.removeEventListener(`touchstart`,d,Ea)}},[]);var m=e.removeScrollBar,h=e.inert;return c.createElement(c.Fragment,null,h?c.createElement(a,{styles:Ha(i)}):null,m?c.createElement(Ca,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function Ka(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}var qa=na(ra,Ga),Ja=c.forwardRef(function(e,t){return c.createElement(aa,Bi({},e,{ref:t,sideCar:qa}))});Ja.classNames=aa.classNames;var Ya=function(e){return typeof document>`u`?null:(Array.isArray(e)?e[0]:e).ownerDocument.body},Xa=new WeakMap,Za=new WeakMap,Qa={},$a=0,eo=function(e){return e&&(e.host||eo(e.parentNode))},to=function(e,t){return t.map(function(t){if(e.contains(t))return t;var n=eo(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})},no=function(e,t,n,r){var i=to(t,Array.isArray(e)?e:[e]);Qa[n]||(Qa[n]=new WeakMap);var a=Qa[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=(Xa.get(e)||0)+1,l=(a.get(e)||0)+1;Xa.set(e,c),a.set(e,l),o.push(e),c===1&&i&&Za.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(),$a++,function(){o.forEach(function(e){var t=Xa.get(e)-1,i=a.get(e)-1;Xa.set(e,t),a.set(e,i),t||(Za.has(e)||e.removeAttribute(r),Za.delete(e)),i||e.removeAttribute(n)}),$a--,$a||(Xa=new WeakMap,Xa=new WeakMap,Za=new WeakMap,Qa={})}},ro=function(e,t,n){n===void 0&&(n=`data-aria-hidden`);var r=Array.from(Array.isArray(e)?e:[e]),i=t||Ya(e);return i?(r.push.apply(r,Array.from(i.querySelectorAll(`[aria-live], script`))),no(r,i,n,`aria-hidden`)):function(){return null}},io=Object.defineProperty,ao=(e,t)=>io(e,`name`,{value:t,configurable:!0}),oo=`Dialog`,[so,co]=ut(oo),[lo,uo]=so(oo),fo=ao(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]=ln({prop:r,defaultProp:i??!1,onChange:a,caller:oo}),[p,m]=l.useState(0),[h,g]=l.useState(0);return(0,u.jsx)(lo,{scope:t,triggerRef:s,contentRef:c,contentId:jn(),titleId:jn(),descriptionId:jn(),titlePresent:p>0,descriptionPresent:h>0,setTitleCount:m,setDescriptionCount:g,open:d,onOpenChange:f,onOpenToggle:l.useCallback(()=>f(e=>!e),[f]),modal:o,children:n})},`Dialog`),po=`DialogTrigger`,mo=l.forwardRef(ao(function(e,t){let{__scopeDialog:n,...r}=e,i=uo(po,n),a=gt(t,i.triggerRef);return(0,u.jsx)(gn.button,{type:`button`,"aria-haspopup":`dialog`,"aria-expanded":i.open,"aria-controls":i.open?i.contentId:void 0,"data-state":Po(i.open),...r,ref:a,onClick:Jt(e.onClick,i.onOpenToggle)})},`DialogTrigger`)),ho=`DialogPortal`,[go,_o]=so(ho,{forceMount:void 0}),vo=ao(e=>{let{__scopeDialog:t,forceMount:n,children:r,container:i}=e,a=uo(ho,t);return(0,u.jsx)(go,{scope:t,forceMount:n,children:l.Children.map(r,e=>(0,u.jsx)(xn,{present:n||a.open,children:(0,u.jsx)(Mi,{asChild:!0,container:i,children:e})}))})},`DialogPortal`),yo=`DialogOverlay`,bo=l.forwardRef(ao(function(e,t){let n=_o(yo,e.__scopeDialog),{forceMount:r=n.forceMount,...i}=e,a=uo(yo,e.__scopeDialog);return a.modal?(0,u.jsx)(xn,{present:r||a.open,children:(0,u.jsx)(So,{...i,ref:t})}):null},`DialogOverlay`)),xo=yt(`DialogOverlay.RemoveScroll`),So=l.forwardRef(ao(function(e,t){let{__scopeDialog:n,...r}=e,i=uo(yo,n),a=gt(t,ci());return(0,u.jsx)(Ja,{as:xo,allowPinchZoom:!0,shards:[i.contentRef],children:(0,u.jsx)(gn.div,{"data-state":Po(i.open),...r,ref:a,style:{pointerEvents:`auto`,...r.style}})})},`DialogOverlayImpl`)),Co=`DialogContent`,wo=l.forwardRef(ao(function(e,t){let n=_o(Co,e.__scopeDialog),{forceMount:r=n.forceMount,...i}=e,a=uo(Co,e.__scopeDialog);return(0,u.jsx)(xn,{present:r||a.open,children:a.modal?(0,u.jsx)(To,{...i,ref:t}):(0,u.jsx)(Eo,{...i,ref:t})})},`DialogContent`)),To=l.forwardRef(ao(function(e,t){let n=uo(Co,e.__scopeDialog),r=l.useRef(null),i=gt(t,n.contentRef,r);return l.useEffect(()=>{let e=r.current;if(e)return ro(e)},[]),(0,u.jsx)(Do,{...e,ref:i,trapFocus:n.open,disableOutsidePointerEvents:n.open,onCloseAutoFocus:Jt(e.onCloseAutoFocus,e=>{e.preventDefault(),n.triggerRef.current?.focus()}),onPointerDownOutside:Jt(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=t.button===0&&t.ctrlKey===!0;(t.button===2||n)&&e.preventDefault()}),onFocusOutside:Jt(e.onFocusOutside,e=>e.preventDefault())})},`DialogContentModal`)),Eo=l.forwardRef(ao(function(e,t){let n=uo(Co,e.__scopeDialog),r=l.useRef(!1),i=l.useRef(!1);return(0,u.jsx)(Do,{...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()}})},`DialogContentNonModal`)),Do=l.forwardRef(ao(function(e,t){let{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:i,onCloseAutoFocus:a,...o}=e,s=uo(Co,n);return Ri(),(0,u.jsx)(u.Fragment,{children:(0,u.jsx)(yi,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:i,onUnmountAutoFocus:a,children:(0,u.jsx)(si,{role:`dialog`,id:s.contentId,"aria-describedby":s.descriptionPresent?s.descriptionId:void 0,"aria-labelledby":s.titlePresent?s.titleId:void 0,"data-state":Po(s.open),...o,ref:t,deferPointerDownOutside:!0,onDismiss:()=>s.onOpenChange(!1)})})})},`DialogContentImpl`)),Oo=`DialogTitle`,ko=l.forwardRef(ao(function(e,t){let{__scopeDialog:n,...r}=e,i=uo(Oo,n),{setTitleCount:a}=i;return $t(()=>(a(e=>e+1),()=>a(e=>e-1)),[a]),(0,u.jsx)(gn.h2,{id:i.titleId,...r,ref:t})},`DialogTitle`)),Ao=`DialogDescription`,jo=l.forwardRef(ao(function(e,t){let{__scopeDialog:n,...r}=e,i=uo(Ao,n),{setDescriptionCount:a}=i;return $t(()=>(a(e=>e+1),()=>a(e=>e-1)),[a]),(0,u.jsx)(gn.p,{id:i.descriptionId,...r,ref:t})},`DialogDescription`)),Mo=`DialogClose`,No=l.forwardRef(ao(function(e,t){let{__scopeDialog:n,...r}=e,i=uo(Mo,n);return(0,u.jsx)(gn.button,{type:`button`,...r,ref:t,onClick:Jt(e.onClick,()=>i.onOpenChange(!1))})},`DialogClose`));function Po(e){return e?`open`:`closed`}ao(Po,`getState`);var Fo=(...e)=>e.filter((e,t,n)=>!!e&&e.trim()!==``&&n.indexOf(e)===t).join(` `).trim(),Io=e=>e.replace(/([a-z0-9])([A-Z])/g,`$1-$2`).toLowerCase(),Lo=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,n)=>n?n.toUpperCase():t.toLowerCase()),Ro=e=>{let t=Lo(e);return t.charAt(0).toUpperCase()+t.slice(1)},zo={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`},Bo=e=>{for(let t in e)if(t.startsWith(`aria-`)||t===`role`||t===`title`)return!0;return!1},Vo=(0,l.createContext)({}),Ho=()=>(0,l.useContext)(Vo),Uo=(0,l.forwardRef)(({color:e,size:t,strokeWidth:n,absoluteStrokeWidth:r,className:i=``,children:a,iconNode:o,...s},c)=>{let{size:u=24,strokeWidth:d=2,absoluteStrokeWidth:f=!1,color:p=`currentColor`,className:m=``}=Ho()??{},h=r??f?Number(n??d)*24/Number(t??u):n??d;return(0,l.createElement)(`svg`,{ref:c,...zo,width:t??u??zo.width,height:t??u??zo.height,stroke:e??p,strokeWidth:h,className:Fo(`lucide`,m,i),...!a&&!Bo(s)&&{"aria-hidden":`true`},...s},[...o.map(([e,t])=>(0,l.createElement)(e,t)),...Array.isArray(a)?a:[a]])}),Wo=(e,t)=>{let n=(0,l.forwardRef)(({className:n,...r},i)=>(0,l.createElement)(Uo,{ref:i,iconNode:t,className:Fo(`lucide-${Io(Ro(e))}`,`lucide-${e}`,n),...r}));return n.displayName=Ro(e),n},Go=Wo(`check`,[[`path`,{d:`M20 6 9 17l-5-5`,key:`1gmf2c`}]]),Ko=Wo(`chevron-down`,[[`path`,{d:`m6 9 6 6 6-6`,key:`qrunsl`}]]),qo=Wo(`chevron-left`,[[`path`,{d:`m15 18-6-6 6-6`,key:`1wnfg3`}]]),Jo=Wo(`chevron-right`,[[`path`,{d:`m9 18 6-6-6-6`,key:`mthhwq`}]]),Yo=Wo(`menu`,[[`path`,{d:`M4 5h16`,key:`1tepv9`}],[`path`,{d:`M4 12h16`,key:`1lakjw`}],[`path`,{d:`M4 19h16`,key:`1djgab`}]]),Xo=Wo(`search`,[[`path`,{d:`m21 21-4.34-4.34`,key:`14j7rj`}],[`circle`,{cx:`11`,cy:`11`,r:`8`,key:`4ej97u`}]]),Zo=Wo(`x`,[[`path`,{d:`M18 6 6 18`,key:`1bl5f8`}],[`path`,{d:`m6 6 12 12`,key:`d8bk6v`}]]),Qo=fo,$o=mo,es=vo,ts=No,ns=(0,l.forwardRef)(({className:e,...t},n)=>(0,u.jsx)(bo,{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}));ns.displayName=bo.displayName;var rs=(0,l.forwardRef)(({className:e,children:t,closeIcon:n=(0,u.jsx)(Zo,{}),...r},i)=>(0,u.jsxs)(es,{children:[(0,u.jsx)(ns,{}),(0,u.jsxs)(wo,{ref:i,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),...r,children:[t,(0,u.jsxs)(No,{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,l.cloneElement)(n,{className:B(`h-4 w-4`,n.props.className)}),(0,u.jsx)(`span`,{className:`sr-only`,children:`Close`})]})]})]}));rs.displayName=wo.displayName;var is=({className:e,...t})=>(0,u.jsx)(`div`,{className:B(`flex flex-col space-y-1.5 text-center sm:text-left`,e),...t});is.displayName=`DialogHeader`;var as=({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});as.displayName=`DialogFooter`;var os=(0,l.forwardRef)(({className:e,...t},n)=>(0,u.jsx)(ko,{ref:n,className:B(`text-lg font-semibold leading-none tracking-tight`,e),...t}));os.displayName=ko.displayName;var ss=(0,l.forwardRef)(({className:e,...t},n)=>(0,u.jsx)(jo,{ref:n,className:B(`text-sm text-muted-foreground`,e),...t}));ss.displayName=jo.displayName;var cs=({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})]})};cs.displayName=`FormField`;var ls=(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=>{if(a&&a(e.target.value),i){let t=i(e.target.value);f(t)}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})]})});ls.displayName=`Input`;var us=e=>typeof e==`object`&&!!e&&`url`in e,ds=({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})}),fs=({name:e,image:t,link:n,className:r})=>(0,u.jsxs)(ds,{link:n,className:B(`vi-link-logo-wrapper`,r),children:[us(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})]}),ps=({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})]});ps.displayName=`Loading`;var ms=e=>(e.type??`item`)===`item`&&!e.disabled,hs=(0,l.forwardRef)(({items:e,trigger:t,align:n=`start`,disabled:r,className:i,contentClassName:a},o)=>{let[s,c]=(0,l.useState)(!1),[d,f]=(0,l.useState)(-1),p=(0,l.useRef)(null),m=(0,l.useRef)(null),h=(0,l.useRef)(e);h.current=e;let g=(0,l.useId)(),_=`${g}-menu`,v=e=>{m.current=e,typeof o==`function`?o(e):o&&(o.current=e)};(0,l.useEffect)(()=>{if(!s)return;let e=e=>{p.current?.contains(e.target)||c(!1)};return document.addEventListener(`mousedown`,e),()=>document.removeEventListener(`mousedown`,e)},[s]),(0,l.useEffect)(()=>{if(!s){f(-1);return}f(h.current.findIndex(ms))},[s]),(0,l.useEffect)(()=>{r&&c(!1)},[r]);let y=(e=!0)=>{c(!1),e&&m.current?.focus()},b=e=>{r||!ms(e)||(e.onSelect?.(),y())},x=t=>{f(n=>{let r=n;for(let n=0;n<e.length;n++)if(r=(r+t+e.length)%e.length,ms(e[r]))return r;return n})};return(0,u.jsxs)(`div`,{className:B(`vi-menu-container`,i),ref:p,children:[(0,u.jsx)(bt,{ref:v,"aria-haspopup":`menu`,"aria-expanded":s,"aria-controls":s?_:void 0,"aria-activedescendant":s&&d>=0?`${g}-item-${d}`:void 0,"aria-disabled":r||void 0,onClick:()=>!r&&c(e=>!e),onKeyDown:t=>{if(!r)switch(t.key){case`Enter`:case` `:if(t.preventDefault(),!s){c(!0);return}d>=0&&b(e[d]);break;case`ArrowDown`:if(t.preventDefault(),!s){c(!0);return}x(1);break;case`ArrowUp`:if(t.preventDefault(),!s){c(!0);return}x(-1);break;case`Escape`:s&&y();break;case`Tab`:s&&y(!1)}},children:t}),s&&(0,u.jsx)(`div`,{id:_,role:`menu`,className:B(`vi-menu-content`,n===`end`&&`vi-menu-content-align-end`,a),children:e.map((e,t)=>e.type===`separator`?(0,u.jsx)(`div`,{role:`separator`,className:`vi-menu-separator`},e.value):e.type===`label`?(0,u.jsx)(`div`,{className:`vi-menu-label`,children:e.label},e.value):(0,u.jsxs)(`div`,{id:`${g}-item-${t}`,role:`menuitem`,"aria-disabled":e.disabled,className:B(`vi-menu-item`,e.destructive&&`vi-menu-item-destructive`,e.disabled&&`vi-menu-item-disabled`,t===d&&`vi-menu-item-active`),onMouseEnter:()=>ms(e)&&f(t),onClick:()=>b(e),children:[e.icon&&(0,u.jsx)(`span`,{className:`vi-menu-item-icon`,children:e.icon}),(0,u.jsx)(`span`,{className:`vi-menu-item-label`,children:e.label}),e.shortcut&&(0,u.jsx)(`span`,{className:`vi-menu-item-shortcut`,children:e.shortcut})]},e.value))})]})});hs.displayName=`Menu`;function gs(e){if(e===void 0)throw ReferenceError(`this hasn't been initialised - super() hasn't been called`);return e}function _s(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var vs={autoSleep:120,force3D:`auto`,nullTargetWarn:1,units:{lineHeight:``}},ys={duration:.5,overwrite:!1,delay:0},bs,xs,U,Ss=1e8,W=1/Ss,Cs=Math.PI*2,ws=Cs/4,Ts=0,Es=Math.sqrt,Ds=Math.cos,Os=Math.sin,G=function(e){return typeof e==`string`},K=function(e){return typeof e==`function`},ks=function(e){return typeof e==`number`},As=function(e){return e===void 0},js=function(e){return typeof e==`object`},Ms=function(e){return e!==!1},Ns=function(){return typeof window<`u`},Ps=function(e){return K(e)||G(e)},Fs=typeof ArrayBuffer==`function`&&ArrayBuffer.isView||function(){},Is=Array.isArray,Ls=/random\([^)]+\)/g,Rs=/,\s*/g,zs=/(?:-?\.?\d|\.)+/gi,Bs=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,Vs=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,Hs=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,Us=/[+-]=-?[.\d]+/,Ws=/[^,'"\[\]\s]+/gi,Gs=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,q,Ks,qs,Js,Ys={},Xs={},Zs,Qs=function(e){return(Xs=Oc(e,Ys))&&Wu},$s=function(e,t){return console.warn(`Invalid property`,e,`set to`,t,`Missing plugin? gsap.registerPlugin()`)},ec=function(e,t){return!t&&console.warn(e)},tc=function(e,t){return e&&(Ys[e]=t)&&Xs&&(Xs[e]=t)||Ys},nc=function(){return 0},rc={suppressEvents:!0,isStart:!0,kill:!1},ic={suppressEvents:!0,kill:!1},ac={suppressEvents:!0},oc={},sc=[],cc={},lc,uc={},dc={},fc=30,pc=[],mc=``,hc=function(e){var t=e[0],n,r;if(js(t)||K(t)||(e=[e]),!(n=(t._gsap||{}).harness)){for(r=pc.length;r--&&!pc[r].targetTest(t););n=pc[r]}for(r=e.length;r--;)e[r]&&(e[r]._gsap||(e[r]._gsap=new tu(e[r],n)))||e.splice(r,1);return e},gc=function(e){return e._gsap||hc(dl(e))[0]._gsap},_c=function(e,t,n){return(n=e[t])&&K(n)?e[t]():As(n)&&e.getAttribute&&e.getAttribute(t)||n},vc=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},yc=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},bc=function(e,t){for(var n=t.length,r=0;e.indexOf(t[r])<0&&++r<n;);return r<n},xc=function(){var e=sc.length,t=sc.slice(0),n,r;for(cc={},sc.length=0,n=0;n<e;n++)r=t[n],r&&r._lazy&&(r.render(r._lazy[0],r._lazy[1],!0)._lazy=0)},Sc=function(e){return!!(e._initted||e._startAt||e.add)},Cc=function(e,t,n,r){sc.length&&!xs&&xc(),e.render(t,n,r||!!(xs&&t<0&&Sc(e))),sc.length&&!xs&&xc()},wc=function(e){var t=parseFloat(e);return(t||t===0)&&(e+``).match(Ws).length<2?t:G(e)?e.trim():e},Tc=function(e){return e},Ec=function(e,t){for(var n in t)n in e||(e[n]=t[n]);return e},Dc=function(e){return function(t,n){for(var r in n)r in t||r===`duration`&&e||r===`ease`||(t[r]=n[r])}},Oc=function(e,t){for(var n in t)e[n]=t[n];return e},kc=function e(t,n){for(var r in n)r!==`__proto__`&&r!==`constructor`&&r!==`prototype`&&(t[r]=js(n[r])?e(t[r]||(t[r]={}),n[r]):n[r]);return t},Ac=function(e,t){var n={},r;for(r in e)r in t||(n[r]=e[r]);return n},jc=function(e){var t=e.parent||q,n=e.keyframes?Dc(Is(e.keyframes)):Ec;if(Ms(e.inherit))for(;t;)n(e,t.vars.defaults),t=t.parent||t._dp;return e},Mc=function(e,t){for(var n=e.length,r=n===t.length;r&&n--&&e[n]===t[n];);return n<0},Nc=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},Pc=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},Fc=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},Lc=function(e){for(var t=e.parent;t&&t.parent;)t._dirty=1,t.totalDuration(),t=t.parent;return e},Rc=function(e,t,n,r){return e._startAt&&(xs?e._startAt.revert(ic):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(t,!0,r))},zc=function e(t){return!t||t._ts&&e(t.parent)},Bc=function(e){return e._repeat?Vc(e._tTime,e=e.duration()+e._rDelay)*e:0},Vc=function(e,t){var n=Math.floor(e=Y(e/t));return e&&n===e?n-1:n},Hc=function(e,t){return(e-t._start)*t._ts+(t._ts>=0?0:t._dirty?t.totalDuration():t._tDur)},Uc=function(e){return e._end=Y(e._start+(e._tDur/Math.abs(e._ts||e._rts||W)||0))},Wc=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)),Uc(e),n._dirty||Ic(n,e)),e},Gc=function(e,t){var n;if((t._time||!t._dur&&t._initted||t._start<e._time&&(t._dur||!t.add))&&(n=Hc(e.rawTime(),t),(!t._dur||al(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}},Kc=function(e,t,n,r){return t.parent&&Fc(t),t._start=Y((ks(n)?n:n||e!==q?nl(e,n,t):e._time)+t._delay),t._end=Y(t._start+(t.totalDuration()/Math.abs(t.timeScale())||0)),Nc(e,t,`_first`,`_last`,e._sort?`_start`:0),Xc(t)||(e._recent=t),r||Gc(e,t),e._ts<0&&Wc(e,e._tTime),e},qc=function(e,t){return(Ys.ScrollTrigger||$s(`scrollTrigger`,t))&&Ys.ScrollTrigger.create(t,e)},Jc=function(e,t,n,r,i){if(uu(e,t,i),!e._initted)return 1;if(!n&&e._pt&&!xs&&(e._dur&&e.vars.lazy!==!1||!e._dur&&e.vars.lazy)&&lc!==Hl.frame)return sc.push(e),e._lazy=[i,r],1},Yc=function e(t){var n=t.parent;return n&&n._ts&&n._initted&&!n._lock&&(n.rawTime()<0||e(n))},Xc=function(e){var t=e.data;return t===`isFromStart`||t===`isStart`},Zc=function(e,t,n,r){var i=e.ratio,a=t<0||!t&&(!e._start&&Yc(e)&&!(!e._initted&&Xc(e))||(e._ts<0||e._dp._ts<0)&&!Xc(e))?0:1,o=e._rDelay,s=0,c,l,u;if(o&&e._repeat&&(s=al(0,e._tDur,t),l=Vc(s,o),e._yoyo&&l&1&&(a=1-a),l!==Vc(e._tTime,o)&&(i=1-a,e.vars.repeatRefresh&&e._initted&&e.invalidate())),a!==i||xs||r||e._zTime===W||!t&&e._zTime){if(!e._initted&&Jc(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&&Rc(e,t,n,!0),e._onUpdate&&!n&&Ol(e,`onUpdate`),s&&e._repeat&&!n&&e.parent&&Ol(e,`onRepeat`),(t>=e._tDur||t<0)&&e.ratio===a&&(a&&Fc(e,1),!n&&!xs&&(Ol(e,a?`onComplete`:`onReverseComplete`,!0),e._prom&&e._prom()))}else e._zTime||=t},Qc=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}},$c=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&&Wc(e,e._tTime=e._tDur*o),e.parent&&Uc(e),n||Ic(e.parent,e),e},el=function(e){return e instanceof ru?Ic(e):$c(e,e._dur)},tl={_start:0,endTime:nc,totalDuration:nc},nl=function e(t,n,r){var i=t.labels,a=t._recent||tl,o=t.duration()>=Ss?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},rl=function(e,t,n){var r=ks(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=Ms(s.vars.inherit)&&s.parent;a.immediateRender=Ms(o.immediateRender),e<2?a.runBackwards=1:a.startAt=t[i-1]}return new Q(t[0],a,t[i+1])},il=function(e,t){return e||e===0?t(e):t},al=function(e,t,n){return n<e?e:n>t?t:n},ol=function(e,t){return!G(e)||!(t=Gs.exec(e))?``:t[1]},sl=function(e,t,n){return il(n,function(n){return al(e,t,n)})},cl=[].slice,ll=function(e,t){return e&&js(e)&&`length`in e&&(!t&&!e.length||e.length-1 in e&&js(e[0]))&&!e.nodeType&&e!==Ks},ul=function(e,t,n){return n===void 0&&(n=[]),e.forEach(function(e){var r;return G(e)&&!t||ll(e,1)?(r=n).push.apply(r,dl(e)):n.push(e)})||n},dl=function(e,t,n){return U&&!t&&U.selector?U.selector(e):G(e)&&!n&&(qs||!Ul())?cl.call((t||Js).querySelectorAll(e),0):Is(e)?ul(e,n):ll(e)?cl.call(e,0):e?[e]:[]},fl=function(e){return e=dl(e)[0]||ec(`Invalid scope`)||{},function(t){var n=e.current||e.nativeElement||e;return dl(t,n.querySelectorAll?n:n===e?ec(`Invalid scope`)||Js.createElement(`div`):e)}},pl=function(e){return e.sort(function(){return .5-Math.random()})},ml=function(e){if(K(e))return e;var t=js(e)?e:{each:e},n=Xl(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,Ss])[1],!S){for(b=-Ss;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===Ss?0:s?f*u/S-.5:r/S|0,b=0,x=Ss,y=0;y<f;y++)g=y%S-m,_=h-(y/S|0),p[y]=v=c?Math.abs(c===`y`?_:g):Es(g*g+_*_),v>b&&(b=v),v<x&&(x=v);r===`random`&&pl(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=ol(t.amount||t.each)||0,n=n&&f<0?Yl(n):n}return f=(p[e]-p.min)/p.max||0,Y(p.b+(n?n(f):f)*p.v)+p.u}},hl=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+(ks(n)?0:ol(n))}},gl=function(e,t){var n=Is(e),r,i;return!n&&js(e)&&(r=n=e.radius||Ss,e.values?(e=dl(e.values),(i=!ks(e[0]))&&(r*=r)):e=hl(e.increment)),il(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=Ss,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||ks(t)?s:s+ol(t)}:hl(e))},_l=function(e,t,n,r){return il(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})},vl=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)}},yl=function(e,t){return function(n){return e(parseFloat(n))+(t||ol(n))}},bl=function(e,t,n){return Tl(e,t,0,1,n)},xl=function(e,t,n){return il(n,function(n){return e[~~t(n)]})},Sl=function e(t,n,r){var i=n-t;return Is(t)?xl(t,e(0,t.length),n):il(r,function(e){return(i+(e-t)%i)%i+t})},Cl=function e(t,n,r){var i=n-t,a=i*2;return Is(t)?xl(t,e(0,t.length-1),n):il(r,function(e){return e=(a+(e-t)%a)%a||0,t+(e>i?a-e:e)})},wl=function(e){return e.replace(Ls,function(e){var t=e.indexOf(`[`)+1,n=e.substring(t||7,t?e.indexOf(`]`):e.length-1).split(Rs);return _l(t?n:+n[0],t?0:+n[1],+n[2]||1e-5)})},Tl=function(e,t,n,r,i){var a=t-e,o=r-n;return il(i,function(t){return n+((t-e)/a*o||0)})},El=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=Oc(Is(t)?[]:{},t));if(!u){for(c in n)au.call(s,t,c,`get`,n[c]);a=function(e){return Tu(e,s)||(o?t.p:t)}}}return il(r,a)},Dl=function(e,t,n){var r=e.labels,i=Ss,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},Ol=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&&sc.length&&xc(),o&&(U=o),l=s?i.apply(c,s):i.call(c),U=a,l},kl=function(e){return Fc(e),e.scrollTrigger&&e.scrollTrigger.kill(!!xs),e.progress()<1&&Ol(e,`onInterrupt`),e},Al,jl=[],Ml=function(e){if(e)if(e=!e.name&&e.default||e,Ns()||e.headless){var t=e.name,n=K(e),r=t&&!n&&e.init?function(){this._props=[]}:e,i={init:nc,render:Tu,add:au,kill:Du,modifier:Eu,rawVars:0},a={targetTest:0,get:0,getSetter:xu,aliases:{},register:0};if(Ul(),e!==r){if(uc[t])return;Ec(r,Ec(Ac(e,i),a)),Oc(r.prototype,Oc(i,Ac(e,a))),uc[r.prop=t]=r,e.targetTest&&(pc.push(r),oc[t]=1),t=(t===`css`?`CSS`:t.charAt(0).toUpperCase()+t.substr(1))+`Plugin`}tc(t,r),e.register&&e.register(Wu,r,Au)}else jl.push(e)},X=255,Nl={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]},Pl=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},Fl=function(e,t,n){var r=e?ks(e)?[e>>16,e>>8&X,e&X]:0:Nl.black,i,a,o,s,c,l,u,d,f,p;if(!r){if(e.substr(-1)===`,`&&(e=e.substr(0,e.length-1)),Nl[e])r=Nl[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(zs),!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]=Pl(s+1/3,i,a),r[1]=Pl(s,i,a),r[2]=Pl(s-1/3,i,a);else if(~e.indexOf(`=`))return r=e.match(Bs),n&&r.length<4&&(r[3]=1),r}else r=e.match(zs)||Nl.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(Rl).forEach(function(e){var i=e.match(Vs)||[];t.push.apply(t,i),n.push(r+=i.length+1)}),t.c=n,t},Ll=function(e,t,n){var r=``,i=(e+r).match(Rl),a=t?`hsla(`:`rgba(`,o=0,s,c,l,u;if(!i)return e;if(i=i.map(function(e){return(e=Fl(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(Rl,`1`).split(Vs),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(Rl),u=c.length-1;o<u;o++)r+=c[o]+i[o];return r+c[u]},Rl=function(){var e=`(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b`,t;for(t in Nl)e+=`|`+t+`\\b`;return RegExp(e+`)`,`gi`)}(),zl=/hsl[a]?\(/,Bl=function(e){var t=e.join(` `),n;if(Rl.lastIndex=0,Rl.test(t))return n=zl.test(t),e[1]=Ll(e[1],n),e[0]=Ll(e[0],n,Il(e[1])),!0},Vl,Hl=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(){Zs&&(!qs&&Ns()&&(Ks=qs=window,Js=Ks.document||{},Ys.gsap=Wu,(Ks.gsapVersions||(Ks.gsapVersions=[])).push(Wu.version),Qs(Xs||Ks.GreenSockGlobals||!Ks.gsap&&Ks||{}),jl.forEach(Ml)),u=typeof requestAnimationFrame<`u`&&requestAnimationFrame,c&&d.sleep(),l=u||function(e){return setTimeout(e,o-d.time*1e3+1|0)},Vl=1,m(2))},sleep:function(){(u?cancelAnimationFrame:clearTimeout)(c),Vl=0,l=nc},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),Ul(),r},remove:function(e,t){~(t=s.indexOf(e))&&s.splice(t,1)&&p>=t&&p--},_listeners:s},d}(),Ul=function(){return!Vl&&Hl.wake()},Z={},Wl=/^[\d.\-M][\d.\-,\s]/,Gl=/["']/g,Kl=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(Gl,``).trim():+c,r=s.substr(o+1).trim();return t},ql=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)},Jl=function(e){var t=(e+``).split(`(`),n=Z[t[0]];return n&&t.length>1&&n.config?n.config.apply(null,~e.indexOf(`{`)?[Kl(t[1])]:ql(e).split(`,`).map(wc)):Z._CE&&Wl.test(e)?Z._CE(``,e):n},Yl=function(e){return function(t){return 1-e(1-t)}},Xl=function(e,t){return e&&(K(e)?e:Z[e]||Jl(e))||t},Zl=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 vc(e,function(e){for(var t in Z[e]=Ys[e]=i,Z[a=e.toLowerCase()]=n,i)Z[a+(t===`easeIn`?`.in`:t===`easeOut`?`.out`:`.inOut`)]=Z[e+`.`+t]=i[t]}),i},Ql=function(e){return function(t){return t<.5?(1-e(1-t*2))/2:.5+e((t-.5)*2)/2}},$l=function e(t,n,r){var i=n>=1?n:1,a=(r||(t?.3:.45))/(n<1?n:1),o=a/Cs*(Math.asin(1/i)||0),s=function(e){return e===1?1:i*2**(-10*e)*Os((e-o)*a)+1},c=t===`out`?s:t===`in`?function(e){return 1-s(1-e)}:Ql(s);return a=Cs/a,c.config=function(n,r){return e(t,n,r)},c},eu=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)}:Ql(r);return i.config=function(n){return e(t,n)},i};vc(`Linear,Quad,Cubic,Quart,Quint,Strong`,function(e,t){var n=t<5?t+1:t;Zl(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,Zl(`Elastic`,$l(`in`),$l(`out`),$l()),(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};Zl(`Bounce`,function(e){return 1-a(1-e)},a)})(7.5625,2.75),Zl(`Expo`,function(e){return 2**(10*(e-1))*e+e*e*e*e*e*e*(1-e)}),Zl(`Circ`,function(e){return-(Es(1-e*e)-1)}),Zl(`Sine`,function(e){return e===1?1:-Ds(e*ws)+1}),Zl(`Back`,eu(`in`),eu(`out`),eu()),Z.SteppedEase=Z.steps=Ys.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*al(0,a,e)|0)+i)*n}}},ys.ease=Z[`quad.out`],vc(`onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt`,function(e){return mc+=e+`,`+e+`Params,`});var tu=function(e,t){this.id=Ts++,e._gsap=this,this.target=e,this.harness=t,this.get=t?t.get:_c,this.set=t?t.getSetter:xu},nu=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,$c(this,+e.duration,1,1),this.data=e.data,U&&(this._ctx=U,U.data.push(this)),Vl||Hl.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,$c(this,this._repeat<0?e:(e-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},t.totalTime=function(e,t){if(Ul(),!arguments.length)return this._tTime;var n=this._dp;if(n&&n.smoothChildTiming&&this._ts){for(Wc(this,e),!n._dp||n.parent||Gc(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)&&Kc(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),Cc(this,e,t)),this},t.time=function(e,t){return arguments.length?this.totalTime(Math.min(this.totalDuration(),e+Bc(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)+Bc(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?Vc(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?Hc(this.parent._time,this):this._tTime;return this._rts=+e||0,this._ts=this._ps||e===-W?0:this._rts,this.totalTime(al(-Math.abs(this._delay),this.totalDuration(),n),t!==!1),Uc(this),Lc(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):(Ul(),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)&&Kc(t,this,this._start-this._delay),this}return this._start},t.endTime=function(e){return this._start+(Ms(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?Hc(t.rawTime(e),this):this._tTime:this._tTime},t.revert=function(e){e===void 0&&(e=ac);var t=xs;return xs=e,Sc(this)&&(this.timeline&&this.timeline.revert(e),this.totalTime(-.01,e.suppressEvents)),this.data!==`nested`&&e.kill!==!1&&this.kill(),xs=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,el(this)):this._repeat===-2?1/0:this._repeat},t.repeatDelay=function(e){if(arguments.length){var t=this._time;return this._rDelay=e,el(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(nl(this,e),Ms(t))},t.restart=function(e,t){return this.play().totalTime(e?-this._delay:0,Ms(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:Tc,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(){kl(this)},e}();Ec(nu.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 ru=function(e){_s(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=Ms(t.sortChildren),q&&Kc(t.parent||q,gs(r),n),t.reversed&&r.reverse(),t.paused&&r.paused(!0),t.scrollTrigger&&qc(gs(r),t.scrollTrigger),r}var n=t.prototype;return n.to=function(e,t,n){return rl(0,arguments,this),this},n.from=function(e,t,n){return rl(1,arguments,this),this},n.fromTo=function(e,t,n,r){return rl(2,arguments,this),this},n.set=function(e,t,n){return t.duration=0,t.parent=this,jc(t).repeatDelay||(t.repeat=0),t.immediateRender=!!t.immediateRender,new Q(e,t,nl(this,n),1),this},n.call=function(e,t,n){return Kc(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,nl(this,i)),this},n.staggerFrom=function(e,t,n,r,i,a,o){return n.runBackwards=1,jc(n).immediateRender=Ms(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,jc(r).immediateRender=Ms(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)),_=Vc(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&&Ol(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=Qc(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&&!_&&(Ol(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||xs&&Sc(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,Uc(this),this.render(e,t,n);this._onUpdate&&!t&&Ol(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)&&Fc(this,1),!t&&!(e<0&&!r)&&(o||r||!i)&&(Ol(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(ks(t)||(t=nl(this,t,e)),!(e instanceof nu)){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:Kc(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=-Ss);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&&Pc(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(Hl.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]=nl(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||nc,n);return r.data=`isPause`,this._hasPause=1,Kc(this,r,nl(this,e))},n.removePause=function(e){var t=this._first;for(e=nl(this,e);t;)t._start===e&&t.data===`isPause`&&Fc(t),t=t._next},n.killTweensOf=function(e,t,n){for(var r=this.getTweensOf(e,n),i=r.length;i--;)cu!==r[i]&&r[i].kill(e,t);return this},n.getTweensOf=function(e,t){for(var n=[],r=dl(e),i=this._first,a=ks(t),o;i;)i instanceof Q?bc(i._targets,r)&&(a?(!cu||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=nl(n,e),i=t,a=i.startAt,o=i.onStart,s=i.onStartParams,c=i.immediateRender,l,u=Q.to(n,Ec({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&&$c(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,Ec({startAt:{time:nl(this,e)}},n))},n.recent=function(){return this._recent},n.nextLabel=function(e){return e===void 0&&(e=this._time),Dl(this,nl(this,e))},n.previousLabel=function(e){return e===void 0&&(e=this._time),Dl(this,nl(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=Ss,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,Kc(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;$c(n,n===q&&n._time>t?n._time:t,1,1),n._dirty=0}return n._tDur},t.updateRoot=function(e){if(q._ts&&(Cc(q,Hc(e,q)),lc=Hl.frame),Hl.frame>=fc){fc+=vs.autoSleep||120;var t=q._first;if((!t||!t._ts)&&vs.autoSleep&&Hl._listeners.length<2){for(;t&&!t._ts;)t=t._next;t||Hl.sleep()}}},t}(nu);Ec(ru.prototype,{_lock:0,_hasPause:0,_forcing:0});var iu=function(e,t,n,r,i,a,o){var s=new Au(this._pt,e,t,0,1,wu,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=wl(r)),a&&(_=[n,r],a(_,e,t),n=_[0],r=_[1]),d=n.match(Hs)||[];u=Hs.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)===`=`?yc(h,p)-h:parseFloat(p)-h,m:f&&f<4?Math.round:0},c=Hs.lastIndex);return s.c=c<r.length?r.substring(c,r.length):``,s.fp=o,(Us.test(r)||g)&&(s.e=0),this._pt=s,s},au=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?yu:vu:_u,p;if(G(r)&&(~r.indexOf(`random(`)&&(r=wl(r)),r.charAt(1)===`=`&&(p=yc(d,r)+(ol(d)||0),(p||p===0)&&(r=p))),!l||d!==r||lu)return!isNaN(d*r)&&r!==``?(p=new Au(this._pt,e,t,+d||0,r-(d||0),typeof u==`boolean`?Cu:Su,0,f),c&&(p.fp=c),o&&p.modifier(o,this,e),this._pt=p):(!u&&!(t in e)&&$s(t,r),iu.call(this,e,t,d,r,f,s||vs.stringFilter,c))},ou=function(e,t,n,r,i){if(K(e)&&(e=mu(e,i,t,n,r)),!js(e)||e.style&&e.nodeType||Is(e)||Fs(e))return G(e)?mu(e,i,t,n,r):e;var a={},o;for(o in e)a[o]=mu(e[o],i,t,n,r);return a},su=function(e,t,n,r,i,a){var o,s,c,l;if(uc[e]&&(o=new uc[e]).init(i,o.rawVars?t[e]:ou(t[e],r,i,a,n),n,r,a)!==!1&&(n._pt=s=new Au(n._pt,i,e,0,1,o.render,o,0,o.priority),n!==Al))for(c=n._ptLookup[n._targets.indexOf(i)],l=o._props.length;l--;)c[o._props[l]]=s;return o},cu,lu,uu=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`&&!bs,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=Xl(a,ys.ease),t._rEase=x&&(Xl(x)||t._ease),t._from=!b&&!!i.runBackwards,t._from&&(t.ratio=1),!b||f&&!i.stagger){if(k=g[0]?gc(g[0]).harness:0,N=k&&i[k.prop],S=Ac(i,oc),h&&(h._zTime<0&&h.progress(1),n<0&&u&&s&&!p?h.render(-1,!0):h.revert(u&&m?ic:rc),h._lazy=0),o){if(Fc(t._startAt=Q.set(g,Ec({data:`isStart`,overwrite:!1,parent:_,immediateRender:!0,lazy:!h&&Ms(c),startAt:null,delay:0,onUpdate:l&&function(){return Ol(t,`onUpdate`)},stagger:0},o))),t._startAt._dp=0,t._startAt._sat=t,n<0&&(xs||!s&&!p)&&t._startAt.revert(ic),s&&m&&n<=0&&r<=0){n&&(t._zTime=n);return}}else if(u&&m&&!h){if(n&&(s=!1),w=Ec({overwrite:!1,data:`isFromStart`,lazy:s&&!h&&Ms(c),immediateRender:s,stagger:0,parent:_},S),N&&(w[k.prop]=N),Fc(t._startAt=Q.set(g,w)),t._startAt._dp=0,t._startAt._sat=t,n<0&&(xs?t._startAt.revert(ic):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&&Ms(c)||c&&!m,C=0;C<g.length;C++){if(E=g[C],O=E._gsap||hc(g)[C]._gsap,t._ptLookup[C]=j={},cc[O.id]&&sc.length&&xc(),M=v===g?C:v.indexOf(E),k&&(A=new k).init(E,N||S,t,M,v)!==!1&&(t._pt=T=new Au(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)uc[w]&&(A=su(w,S,t,M,E,v))?A.priority&&(D=1):j[w]=T=au.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&&(cu=t,q.killTweensOf(E,j,t.globalTime(n)),ee=!t.parent,cu=0),t._pt&&c&&(cc[O.id]=1)}D&&ku(t),t._onInit&&t._onInit(t)}t._onUpdate=l,t._initted=(!t._op||t._pt)&&!ee,f&&n<=0&&b.render(Ss,!0,!0)},du=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 lu=1,e.vars[t]=`+=0`,uu(e,o),lu=0,s?ec(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&&(u.e=J(n)+ol(u.e)),u.b&&(u.b=l.s+ol(u.b))},fu=function(e,t){var n=e[0]?gc(e[0]).harness:0,r=n&&n.aliases,i,a,o,s;if(!r)return t;for(a in i=Oc({},t),r)if(a in i)for(s=r[a].split(`,`),o=s.length;o--;)i[s[o]]=i[a];return i},pu=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})},mu=function(e,t,n,r,i){return K(e)?e.call(t,n,r,i):G(e)&&~e.indexOf(`random(`)?wl(e):e},hu=mc+`repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,easeReverse,autoRevert`,gu={};vc(hu+`,id,stagger,delay,duration,paused,scrollTrigger`,function(e){return gu[e]=1});var Q=function(e){_s(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:jc(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)||Fs(t)?ks(t[0]):`length`in n)?[t]:dl(t),_,v,y,b,x,S,C,w;if(a._targets=g.length?hc(g):ec(`GSAP target `+t+` not found. https://gsap.com`,!vs.nullTargetWarn)||[],a._ptLookup=[],a._overwrite=d,f||u||Ps(s)||Ps(c)){n=a.vars;var T=n.easeReverse||n.yoyoEase;if(_=a.timeline=new ru({data:`nested`,defaults:p||{},targets:h&&h.data===`nested`?h.vars.targets:g}),_.kill(),_.parent=_._dp=gs(a),_._start=0,u||Ps(s)||Ps(c)){if(b=g.length,C=u&&ml(u),js(u))for(x in u)~hu.indexOf(x)&&(w||={},w[x]=u[x]);for(v=0;v<b;v++)y=Ac(n,gu),y.stagger=0,T&&(y.easeReverse=T),w&&Oc(y,w),S=g[v],y.duration=+mu(s,gs(a),v,S,g),y.delay=(+mu(c,gs(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){jc(Ec(_.vars.defaults,{ease:`none`})),_._ease=Xl(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`||pu(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&&!bs&&(cu=gs(a),q.killTweensOf(g),cu=0),Kc(h,gs(a),r),n.reversed&&a.reverse(),n.paused&&a.paused(!0),(l||!s&&!f&&a._start===Y(h._time)&&Ms(l)&&zc(gs(a))&&h.data!==`nested`)&&(a._tTime=-W,a.render(Math.max(0,-c)||0)),m&&qc(gs(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)Zc(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=Vc(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(Jc(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&&(Ol(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&&Rc(this,e,t,n),Ol(this,`onUpdate`)),this._repeat&&u!==f&&this.vars.onRepeat&&!t&&this.parent&&Ol(this,`onRepeat`),(s===this._tDur||!s)&&this._tTime===s&&(o&&!this._onUpdate&&Rc(this,e,!0,!0),(e||!a)&&(s===this._tDur&&this._ts>0||!s&&this._ts<0)&&Fc(this,1),!t&&!(o&&!r)&&(s||r||p)&&(Ol(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){Vl||Hl.wake(),this._ts||this.play();var a=Math.min(this._dur,(this._dp._time-this._start)*this._ts),o;return this._initted||uu(this,a),o=this._ease(a/this._dur),du(this,e,t,n,r,o,a,i)?this.resetTo(e,t,n,r,1):(Wc(this,0),this.parent||Nc(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?kl(this):this.scrollTrigger&&this.scrollTrigger.kill(!!xs),this;if(this.timeline){var n=this.timeline.totalDuration();return this.timeline.killTweensOf(e,t,cu&&cu.vars.overwrite!==!0)._first||kl(this),this.parent&&n!==this.timeline.totalDuration()&&$c(this,this._dur*this.timeline._tDur/n,0,1),this}var r=this._targets,i=e?dl(e):r,a=this._ptLookup,o=this._pt,s,c,l,u,d,f,p;if((!t||t===`all`)&&Mc(r,i))return t===`all`&&(this._pt=0),kl(this);for(s=this._op=this._op||[],t!==`all`&&(G(t)&&(d={},vc(t,function(e){return d[e]=1}),t=d),t=fu(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)&&Pc(this,f,`_pt`),delete c[d]),l!==`all`&&(l[d]=1);return this._initted&&!this._pt&&o&&kl(this),this},t.to=function(e,n){return new t(e,n,arguments[2])},t.from=function(e,t){return rl(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 rl(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}(nu);Ec(Q.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),vc(`staggerTo,staggerFrom,staggerFromTo`,function(e){Q[e]=function(){var t=new ru,n=cl.call(arguments,0);return n.splice(e===`staggerFromTo`?5:4,0,0),t[e].apply(t,n)}});var _u=function(e,t,n){return e[t]=n},vu=function(e,t,n){return e[t](n)},yu=function(e,t,n,r){return e[t](r.fp,n)},bu=function(e,t,n){return e.setAttribute(t,n)},xu=function(e,t){return K(e[t])?vu:As(e[t])&&e.setAttribute?bu:_u},Su=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e6)/1e6,t)},Cu=function(e,t){return t.set(t.t,t.p,!!(t.s+t.c*e),t)},wu=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)},Tu=function(e,t){for(var n=t._pt;n;)n.r(e,n.d),n=n._next},Eu=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},Du=function(e){for(var t=this._pt,n,r;t;)r=t._next,t.p===e&&!t.op||t.op===e?Pc(this,t,`_pt`):t.dep||(n=1),t=r;return!n},Ou=function(e,t,n,r){r.mSet(e,t,r.m.call(r.tween,n,r.mt),r)},ku=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},Au=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||Su,this.d=o||this,this.set=s||_u,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=Ou,this.m=e,this.mt=n,this.tween=t},e}();vc(mc+`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 oc[e]=1}),Ys.TweenMax=Ys.TweenLite=Q,Ys.TimelineLite=Ys.TimelineMax=ru,q=new ru({sortChildren:!1,defaults:ys,autoRemoveChildren:!0,id:`root`,smoothChildTiming:!0}),vs.stringFilter=Bl;var ju=[],Mu={},Nu=[],Pu=0,Fu=0,Iu=function(e){return(Mu[e]||Nu).map(function(e){return e()})},Lu=function(){var e=Date.now(),t=[];e-Pu>2&&(Iu(`matchMediaInit`),ju.forEach(function(e){var n=e.queries,r=e.conditions,i,a,o,s;for(a in n)i=Ks.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)})}),Pu=e,Iu(`matchMedia`))},Ru=function(){function e(e,t){this.selector=t&&fl(t),this.data=[],this._r=[],this.isReverted=!1,this.id=Fu++,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=fl(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 ru?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=ju.length;r--;)ju[r].id===this.id&&ju.splice(r,1)},t.revert=function(e){this.kill(e||{})},e}(),zu=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){js(e)||(e={matches:e});var r=new Ru(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=Ks.matchMedia(e[o]),a&&(ju.indexOf(r)<0&&ju.push(r),(i[o]=a.matches)&&(s=1),a.addListener?a.addListener(Lu):a.addEventListener(`change`,Lu)));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}(),Bu={registerPlugin:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];t.forEach(function(e){return Ml(e)})},timeline:function(e){return new ru(e)},getTweensOf:function(e,t){return q.getTweensOf(e,t)},getProperty:function(e,t,n,r){G(e)&&(e=dl(e)[0]);var i=gc(e||{}).get,a=n?Tc:wc;return n===`native`&&(n=``),e&&(t?a((uc[t]&&uc[t].get||i)(e,t,n,r)):function(t,n,r){return a((uc[t]&&uc[t].get||i)(e,t,n,r))})},quickSetter:function(e,t,n){if(e=dl(e),e.length>1){var r=e.map(function(e){return Wu.quickSetter(e,t,n)}),i=r.length;return function(e){for(var t=i;t--;)r[t](e)}}e=e[0]||{};var a=uc[t],o=gc(e),s=o.harness&&(o.harness.aliases||{})[t]||t,c=a?function(t){var r=new a;Al._pt=0,r.init(e,n?t+n:t,Al,0,[e]),r.render(1,r),Al._pt&&Tu(1,Al)}: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=Wu.to(e,Ec((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=Xl(e.ease,ys.ease)),kc(ys,e||{})},config:function(e){return kc(vs,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&&!uc[e]&&!Ys[e]&&ec(t+` effect requires `+e+` plugin.`)}),dc[t]=function(e,t,r){return n(dl(e),Ec(t||{},i),r)},a&&(ru.prototype[t]=function(e,n,r){return this.add(dc[t](e,js(n)?n:(r=n)&&{},this),r)})},registerEase:function(e,t){Z[e]=Xl(t)},parseEase:function(e,t){return arguments.length?Xl(e,t):Z},getById:function(e){return q.getById(e)},exportRoot:function(e,t){e===void 0&&(e={});var n=new ru(e),r,i;for(n.smoothChildTiming=Ms(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]))&&Kc(n,r,r._start-r._delay),r=i;return Kc(q,n,0),n},context:function(e,t){return e?new Ru(e,t):U},matchMedia:function(e){return new zu(e)},matchMediaRefresh:function(){return ju.forEach(function(e){var t=e.conditions,n,r;for(r in t)t[r]&&(t[r]=!1,n=1);n&&e.revert()})||Lu()},addEventListener:function(e,t){var n=Mu[e]||(Mu[e]=[]);~n.indexOf(t)||n.push(t)},removeEventListener:function(e,t){var n=Mu[e],r=n&&n.indexOf(t);r>=0&&n.splice(r,1)},utils:{wrap:Sl,wrapYoyo:Cl,distribute:ml,random:_l,snap:gl,normalize:bl,getUnit:ol,clamp:sl,splitColor:Fl,toArray:dl,selector:fl,mapRange:Tl,pipe:vl,unitize:yl,interpolate:El,shuffle:pl},install:Qs,effects:dc,ticker:Hl,updateRoot:ru.updateRoot,plugins:uc,globalTimeline:q,core:{PropTween:Au,globals:tc,Tween:Q,Timeline:ru,Animation:nu,getCache:gc,_removeLinkedListItem:Pc,reverting:function(){return xs},context:function(e){return e&&U&&(U.data.push(e),e._ctx=U),U},suppressOverwrites:function(e){return bs=e}}};vc(`to,from,fromTo,delayedCall,set,killTweensOf`,function(e){return Bu[e]=Q[e]}),Hl.add(ru.updateRoot),Al=Bu.to({},{duration:0});var Vu=function(e,t){for(var n=e._pt;n&&n.p!==t&&n.op!==t&&n.fp!==t;)n=n._next;return n},Hu=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=Vu(a,r)),a&&a.modifier&&a.modifier(t[r],e,n[i],r))},Uu=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={},vc(n,function(e){return r[e]=1}),n=r),t){for(i in r={},n)r[i]=t(n[i]);n=r}Hu(e,n)}}}},Wu=Bu.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;)xs?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)}},Uu(`roundProps`,hl),Uu(`modifiers`),Uu(`snap`,gl))||Bu;Q.version=ru.version=Wu.version=`3.15.0`,Zs=1,Ns()&&Ul(),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 Gu,Ku,qu,Ju,Yu,Xu,Zu,Qu=function(){return typeof window<`u`},$u={},ed=180/Math.PI,td=Math.PI/180,nd=Math.atan2,rd=1e8,id=/([A-Z])/g,ad=/(left|right|width|margin|padding|x)/i,od=/[\s,\(]\S/,sd={autoAlpha:`opacity,visibility`,scale:`scaleX,scaleY`,alpha:`opacity`},cd=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e4)/1e4+t.u,t)},ld=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)},ud=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)},dd=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)},fd=function(e,t){var n=t.s+t.c*e;t.set(t.t,t.p,~~(n+(n<0?-.5:.5))+t.u,t)},pd=function(e,t){return t.set(t.t,t.p,e?t.e:t.b,t)},md=function(e,t){return t.set(t.t,t.p,e===1?t.e:t.b,t)},hd=function(e,t,n){return e.style[t]=n},gd=function(e,t,n){return e.style.setProperty(t,n)},_d=function(e,t,n){return e._gsap[t]=n},vd=function(e,t,n){return e._gsap.scaleX=e._gsap.scaleY=n},yd=function(e,t,n,r,i){var a=e._gsap;a.scaleX=a.scaleY=n,a.renderTransform(i,a)},bd=function(e,t,n,r,i){var a=e._gsap;a[t]=n,a.renderTransform(i,a)},$=`transform`,xd=$+`Origin`,Sd=function e(t,n){var r=this,i=this.target,a=i.style,o=i._gsap;if(t in $u&&a){if(this.tfm=this.tfm||{},t!==`transform`)t=sd[t]||t,~t.indexOf(`,`)?t.split(`,`).forEach(function(e){return r.tfm[e]=Vd(i,e)}):this.tfm[t]=o.x?o[t]:Vd(i,t),t===xd&&(this.tfm.zOrigin=o.zOrigin);else return sd.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(xd,n,``)),t=$}(a||n)&&this.props.push(t,n,a[t])},Cd=function(e){e.translate&&(e.removeProperty(`translate`),e.removeProperty(`scale`),e.removeProperty(`rotate`))},wd=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(id,`-$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=Zu(),(!i||!i.isStart)&&!n[$]&&(Cd(n),r.zOrigin&&n[xd]&&(n[xd]+=` `+r.zOrigin+`px`,r.zOrigin=0,r.renderTransform()),r.uncache=1)}},Td=function(e,t){var n={target:e,props:[],revert:wd,save:Sd};return e._gsap||Wu.core.getCache(e),t&&e.style&&e.nodeType&&t.split(`,`).forEach(function(e){return n.save(e)}),n},Ed,Dd=function(e,t){var n=Ku.createElementNS?Ku.createElementNS((t||`http://www.w3.org/1999/xhtml`).replace(/^https/,`http`),e):Ku.createElement(e);return n&&n.style?n:Ku.createElement(e)},Od=function e(t,n,r){var i=getComputedStyle(t);return i[n]||i.getPropertyValue(n.replace(id,`-$1`).toLowerCase())||i.getPropertyValue(n)||!r&&e(t,Ad(n)||n,1)||``},kd=`O,Moz,ms,Ms,Webkit`.split(`,`),Ad=function(e,t,n){var r=(t||Yu).style,i=5;if(e in r&&!n)return e;for(e=e.charAt(0).toUpperCase()+e.substr(1);i--&&!(kd[i]+e in r););return i<0?null:(i===3?`ms`:i>=0?kd[i]:``)+e},jd=function(){Qu()&&window.document&&(Gu=window,Ku=Gu.document,qu=Ku.documentElement,Yu=Dd(`div`)||{style:{}},Dd(`div`),$=Ad($),xd=$+`Origin`,Yu.style.cssText=`border-width:0;line-height:0;position:absolute;padding:0`,Ed=!!Ad(`perspective`),Zu=Wu.core.reverting,Ju=1)},Md=function(e){var t=e.ownerSVGElement,n=Dd(`svg`,t&&t.getAttribute(`xmlns`)||`http://www.w3.org/2000/svg`),r=e.cloneNode(!0),i;r.style.display=`block`,n.appendChild(r),qu.appendChild(n);try{i=r.getBBox()}catch{}return n.removeChild(r),qu.removeChild(n),i},Nd=function(e,t){for(var n=t.length;n--;)if(e.hasAttribute(t[n]))return e.getAttribute(t[n])},Pd=function(e){var t,n;try{t=e.getBBox()}catch{t=Md(e),n=1}return t&&(t.width||t.height)||n||(t=Md(e)),t&&!t.width&&!t.x&&!t.y?{x:+Nd(e,[`x`,`cx`,`x1`])||0,y:+Nd(e,[`y`,`cy`,`y1`])||0,width:0,height:0}:t},Fd=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&Pd(e))},Id=function(e,t){if(t){var n=e.style,r;t in $u&&t!==xd&&(t=$),n.removeProperty?(r=t.substr(0,2),(r===`ms`||t.substr(0,6)===`webkit`)&&(t=`-`+t),n.removeProperty(r===`--`?t:t.replace(id,`-$1`).toLowerCase())):n.removeAttribute(t)}},Ld=function(e,t,n,r,i,a){var o=new Au(e._pt,t,n,0,1,a?md:pd);return e._pt=o,o.b=r,o.e=i,e._props.push(n),o},Rd={deg:1,rad:1,turn:1},zd={grid:1,flex:1},Bd=function e(t,n,r,i){var a=parseFloat(r)||0,o=(r+``).trim().substr((a+``).length)||`px`,s=Yu.style,c=ad.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||Rd[i]||Rd[o])return a;if(o!==`px`&&!f&&(a=e(t,n,r,`px`)),_=t.getCTM&&Fd(t),(p||o===`%`)&&($u[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===Ku||!h.appendChild)&&(h=Ku.body),g=h._gsap,g&&p&&g.width&&c&&g.time===Hl.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===`%`)&&!zd[Od(h,`display`)]&&(s.position=Od(t,`position`)),h===t&&(s.position=`static`),h.appendChild(Yu),m=Yu[u],h.removeChild(Yu),s.position=`absolute`;return c&&p&&(g=gc(h),g.time=Hl.time,g.width=h[u]),J(f?m*a/d:m&&a?d/m*a:0)},Vd=function(e,t,n,r){var i;return Ju||jd(),t in sd&&t!==`transform`&&(t=sd[t],~t.indexOf(`,`)&&(t=t.split(`,`)[0])),$u[t]&&t!==`transform`?(i=$d(e,r),i=t===`transformOrigin`?i.svg?i.origin:ef(Od(e,xd))+` `+i.zOrigin+`px`:i[t]):(i=e.style[t],(!i||i===`auto`||r||~(i+``).indexOf(`calc(`))&&(i=Kd[t]&&Kd[t](e,t,n)||Od(e,t)||_c(e,t)||+(t===`opacity`))),n&&!~(i+``).trim().indexOf(` `)?Bd(e,t,i,n)+n:i},Hd=function(e,t,n,r){if(!n||n===`none`){var i=Ad(t,e,1),a=i&&Od(e,i,1);a&&a!==n?(t=i,n=a):t===`borderColor`&&(n=Od(e,`borderTopColor`))}var o=new Au(this._pt,e.style,t,0,1,wu),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=Od(e,r.substring(4,r.indexOf(`)`)))),r===`auto`&&(m=e.style[t],e.style[t]=r,r=Od(e,t)||r,m?e.style[t]=m:Id(e,t)),l=[n,r],Bl(l),n=l[0],r=l[1],d=n.match(Vs)||[],b=r.match(Vs)||[],b.length){for(;u=Vs.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=yc(f,h)+y),g=parseFloat(h),v=h.substr((g+``).length),s=Vs.lastIndex-v.length,v||(v=v||vs.units[t]||y,s===r.length&&(r+=v,o.e+=v)),y!==v&&(f=Bd(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`?md:pd;return Us.test(r)&&(o.e=0),this._pt=o,o},Ud={top:`0%`,bottom:`100%`,left:`0%`,right:`100%`,center:`50%`},Wd=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]=Ud[n]||n,t[1]=Ud[r]||r,t.join(` `)},Gd=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],$u[o]&&(s=1,o=o===`transformOrigin`?xd:$),Id(n,o);s&&(Id(n,$),a&&(a.svg&&n.removeAttribute(`transform`),r.scale=r.rotate=r.translate=`none`,$d(n,1),a.uncache=1,Cd(r)))}},Kd={clearProps:function(e,t,n,r,i){if(i.data!==`isFromStart`){var a=e._pt=new Au(e._pt,t,n,0,0,Gd);return a.u=r,a.pr=-10,a.tween=i,e._props.push(n),1}}},qd=[1,0,0,1,0,0],Jd={},Yd=function(e){return e===`matrix(1, 0, 0, 1, 0, 0)`||e===`none`||!e},Xd=function(e){var t=Od(e,$);return Yd(t)?qd:t.substr(7).match(Bs).map(J)},Zd=function(e,t){var n=e._gsap||gc(e),r=e.style,i=Xd(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`?qd:i):(i===qd&&!e.offsetParent&&e!==qu&&!n.svg&&(s=r.display,r.display=`block`,a=e.parentNode,(!a||!e.offsetParent&&!e.getBoundingClientRect().width)&&(c=1,o=e.nextElementSibling,qu.appendChild(e)),i=Xd(e),s?r.display=s:Id(e,`display`),c&&(o?a.insertBefore(e,o):a?a.appendChild(e):qu.removeChild(e))),t&&i.length>6?[i[0],i[1],i[4],i[5],i[12],i[13]]:i)},Qd=function(e,t,n,r,i,a){var o=e._gsap,s=i||Zd(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!==qd&&(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=Pd(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[xd]=`0px 0px`,a&&(Ld(a,o,`xOrigin`,c,y),Ld(a,o,`yOrigin`,l,b),Ld(a,o,`xOffset`,u,o.xOffset),Ld(a,o,`yOffset`,d,o.yOffset)),e.setAttribute(`data-svg-origin`,y+` `+b)},$d=function(e,t){var n=e._gsap||new tu(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=Od(e,xd)||`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&&Fd(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=Zd(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`),Qd(e,M||c,!!M||n.originIsAbsolute,n.smooth!==!1,S)),b=n.xOrigin||0,x=n.yOrigin||0,S!==qd&&(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?nd(D,E)*ed:0,_=O||k?nd(O,k)*ed+m:0,_&&(p*=Math.abs(Math.cos(_*td))),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=nd(ae,ne),h=C*ed,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=nd(-O,ne),g=C*ed,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=nd(D,E),m=C*ed,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=nd(A,j),_=Math.abs(C)>2e-4?C*ed:0,y=ie?1/(ie<0?-ie:ie):0),n.svg&&(M=e.getAttribute(`transform`),n.forceCSS=e.setAttribute(`transform`,``)||!Yd(Od(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[xd]=ef(c)),n.xOffset=n.yOffset=0,n.force3D=vs.force3D,n.renderTransform=n.svg?cf:Ed?sf:nf,n.uncache=0,n},ef=function(e){return(e=e.split(` `))[0]+` `+e[1]},tf=function(e,t,n){var r=ol(t);return J(parseFloat(t)+parseFloat(Bd(e,`x`,n+`px`,r)))+r},nf=function(e,t){t.z=`0px`,t.rotationY=t.rotationX=`0deg`,t.force3D=0,sf(e,t)},rf=`0deg`,af=`0px`,of=`) `,sf=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!==rf||l!==rf)){var x=parseFloat(l)*td,S=Math.sin(x),C=Math.cos(x),w;x=parseFloat(u)*td,w=Math.cos(x),a=tf(_,a,S*w*-v),o=tf(_,o,-Math.sin(x)*-v),s=tf(_,s,C*w*-v+v)}h!==af&&(y+=`perspective(`+h+of),(r||i)&&(y+=`translate(`+r+`%, `+i+`%) `),(b||a!==af||o!==af||s!==af)&&(y+=s!==af||b?`translate3d(`+a+`, `+o+`, `+s+`) `:`translate(`+a+`, `+o+of),c!==rf&&(y+=`rotate(`+c+of),l!==rf&&(y+=`rotateY(`+l+of),u!==rf&&(y+=`rotateX(`+u+of),(d!==rf||f!==rf)&&(y+=`skew(`+d+`, `+f+of),(p!==1||m!==1)&&(y+=`scale(`+p+`, `+m+of),_.style[$]=y||`translate(0, 0)`},cf=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*=td,c*=td,b=Math.cos(s)*u,x=Math.sin(s)*u,S=Math.sin(s-c)*-d,C=Math.cos(s-c)*d,c&&(l*=td,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=Bd(f,`x`,a,`px`),y=Bd(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)},lf=function(e,t,n,r,i){var a=360,o=G(i),s=parseFloat(i)*(o&&~i.indexOf(`rad`)?ed: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*rd)%a-~~(s/a)*a:l===`ccw`&&s>0&&(s=(s-a*rd)%a-~~(s/a)*a)),e._pt=u=new Au(e._pt,t,n,r,s,ld),u.e=c,u.u=`deg`,e._props.push(n),u},uf=function(e,t){for(var n in t)e[n]=t[n];return e},df=function(e,t,n){var r=uf({},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=$d(n,1),Id(n,$),n.setAttribute(`transform`,c)):(c=getComputedStyle(n)[$],a[$]=t,o=$d(n,1),a[$]=c),$u)c=r[s],l=o[s],c!==l&&i.indexOf(s)<0&&(f=ol(c),p=ol(l),u=f===p?parseFloat(c):Bd(n,s,c,p),d=parseFloat(l),e._pt=new Au(e._pt,o,s,u,d-u,cd),e._pt.u=p||0,e._props.push(s));uf(o,r)};vc(`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});Kd[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 Vd(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 ff={name:`css`,register:jd,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 Ju||jd(),this.styles=this.styles||Td(e),C=this.styles.props,this.tween=n,t)if(m!==`autoRound`&&(l=t[m],!(uc[m]&&su(m,t,n,r,e,i)))){if(f=typeof l,p=Kd[m],f===`function`&&(l=l.call(n,r,e,i),f=typeof l),f===`string`&&~l.indexOf(`random(`)&&(l=wl(l)),p)p(this,e,m,l,n)&&(S=1);else if(m.substr(0,2)===`--`)c=(getComputedStyle(e).getPropertyValue(m)+``).trim(),l+=``,Rl.lastIndex=0,Rl.test(c)||(h=ol(c),g=ol(l),g?h!==g&&(c=Bd(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=wl(c)),ol(c+``)||c===`auto`||(c+=vs.units[m]||ol(Vd(e,m))||``),(c+``).charAt(1)===`=`&&(c=Vd(e,m))):c=Vd(e,m),d=parseFloat(c),_=f===`string`&&l.charAt(1)===`=`&&l.substr(0,2),_&&(l=l.substr(2)),u=parseFloat(l),m in sd&&(m===`autoAlpha`&&(d===1&&Vd(e,`visibility`)===`hidden`&&u&&(d=0),C.push(`visibility`,0,o.visibility),Ld(this,o,`visibility`,d?`inherit`:`hidden`,u?`inherit`:`hidden`,!u)),m!==`scale`&&m!==`transform`&&(m=sd[m],~m.indexOf(`,`)&&(m=m.split(`,`)[0]))),v=m in $u,v){if(this.styles.save(m),w=l,f===`string`&&l.substring(0,6)===`var(--`){if(l=Od(e,l.substring(4,l.indexOf(`)`))),l.substring(0,5)===`calc(`){var T=e.style.perspective;e.style.perspective=l,l=Od(e,`perspective`),T?e.style.perspective=T:Id(e,`perspective`)}u=parseFloat(l)}if(y||(b=e._gsap,b.renderTransform&&!t.parseTransform||$d(e,t.parseTransform),x=t.smoothOrigin!==!1&&b.smooth,y=this._pt=new Au(this._pt,o,$,0,1,b.renderTransform,b,0,-1),y.dep=1),m===`scale`)this._pt=new Au(this._pt,b,`scaleY`,b.scaleY,(_?yc(b.scaleY,_+u):u)-b.scaleY||0,cd),this._pt.u=0,a.push(`scaleY`,m),m+=`X`;else if(m===`transformOrigin`){C.push(xd,0,o[xd]),l=Wd(l),b.svg?Qd(e,l,0,x,0,this):(g=parseFloat(l.split(` `)[2])||0,g!==b.zOrigin&&Ld(this,b,`zOrigin`,b.zOrigin,g),Ld(this,o,m,ef(c),ef(l)));continue}else if(m===`svgOrigin`){Qd(e,l,1,x,0,this);continue}else if(m in Jd){lf(this,b,m,d,_?yc(d,_+l):l);continue}else if(m===`smoothOrigin`){Ld(this,b,`smooth`,b.smooth,l);continue}else if(m===`force3D`){b[m]=l;continue}else if(m===`transform`){df(this,l,e);continue}}else m in o||(m=Ad(m)||m);if(v||(u||u===0)&&(d||d===0)&&!od.test(l)&&m in o)h=(c+``).substr((d+``).length),u||=0,g=ol(l)||(m in vs.units?vs.units[m]:h),h!==g&&(d=Bd(e,m,c,g)),this._pt=new Au(this._pt,v?b:o,m,d,(_?yc(d,_+u):u)-d,!v&&(g===`px`||m===`zIndex`)&&t.autoRound!==!1?fd:cd),this._pt.u=g||0,v&&w!==l?(this._pt.b=c,this._pt.e=w,this._pt.r=dd):h!==g&&g!==`%`&&(this._pt.b=c,this._pt.r=ud);else if(m in o)Hd.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`){$s(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&&ku(this)},render:function(e,t){if(t.tween._time||!Zu())for(var n=t._pt;n;)n.r(e,n.d),n=n._next;else t.styles.revert()},get:Vd,aliases:sd,getSetter:function(e,t,n){var r=sd[t];return r&&r.indexOf(`,`)<0&&(t=r),t in $u&&t!==xd&&(e._gsap.x||Vd(e,`x`))?n&&Xu===n?t===`scale`?vd:_d:(Xu=n||{})&&(t===`scale`?yd:bd):e.style&&!As(e.style[t])?hd:~t.indexOf(`-`)?gd:xu(e,t)},core:{_removeProperty:Id,_getMatrix:Zd}};Wu.utils.checkPrefix=Ad,Wu.core.getStyleSaver=Td,(function(e,t,n,r){var i=vc(e+`,`+t+`,`+n,function(e){$u[e]=1});vc(t,function(e){vs.units[e]=`deg`,Jd[e]=1}),sd[i[13]]=e+`,`+t,vc(r,function(e){var t=e.split(`:`);sd[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`),vc(`x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective`,function(e){vs.units[e]=`px`}),Wu.registerPlugin(ff);var pf=Wu.registerPlugin(ff)||Wu;pf.core.Tween;var mf=(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]},hf=({open:e,onOpenChange:t,trigger:n,title:r,description:i,children:a,footer:o,className:s,modalRootSelector:c,duration:f=1,closeIcon:p=(0,u.jsx)(Zo,{})})=>{let m=(0,l.useRef)(null),h=(0,l.useRef)(null),g=(0,l.useRef)(null),_=(0,l.useRef)(null),v=(0,l.useRef)(null),y=(0,l.useId)(),b=(0,l.useId)(),x=typeof document>`u`?null:(c?document.querySelector(c):null)??document.body,S=(0,l.useCallback)(()=>{let e=m.current,t=h.current;if(!e||!t)return null;let[n,r]=mf(t,`--modal-opacity`),[i,a]=mf(t,`--modal-scale`),[o,s]=mf(t,`--modal-translate-x`),[c,l]=mf(t,`--modal-translate-y`),u=pf.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)(()=>{_.current=S()},[S,x]),(0,l.useEffect)(()=>{_.current&&(e?_.current.play():_.current.reverse())},[e,x]),(0,l.useEffect)(()=>{e?(v.current=document.activeElement,g.current?.focus()):(v.current?.focus(),v.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}),x&&(0,d.createPortal)((0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(`div`,{ref:m,className:`vi-modal-overlay`,"aria-hidden":`true`,onClick:()=>t(!1)}),(0,u.jsxs)(`div`,{ref:h,role:`dialog`,"aria-modal":`true`,inert:!e||void 0,"aria-labelledby":r?y:void 0,"aria-describedby":i?b:void 0,className:B(s),children:[(0,u.jsxs)(`button`,{ref:g,className:`vi-modal-close`,onClick:()=>t(!1),"aria-label":`Close`,children:[(0,l.cloneElement)(p,{className:B(`h-4 w-4`,p.props.className)}),(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:y,className:`vi-modal-title`,children:r}),i&&(0,u.jsx)(`p`,{id:b,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})]})]}),x)]})},gf=(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,removeIcon:p=(0,u.jsx)(Zo,{}),chevronIcon:m=(0,u.jsx)(Ko,{}),checkIcon:h=(0,u.jsx)(Go,{})},g)=>{let[_,v]=(0,l.useState)(!1),[y,b]=(0,l.useState)(0),[x,S]=(0,l.useState)(``),C=(0,l.useRef)(null),w=(0,l.useRef)(null),T=(0,l.useId)(),E=`${T}-listbox`,D=(0,l.useMemo)(()=>{if(!d||!x.trim())return e;let t=x.trim().toLowerCase();return e.filter(e=>e.label.toLowerCase().includes(t))},[e,d,x]),O=e=>{let r=t.includes(e)?t.filter(t=>t!==e):[...t,e];n?.(r)},k=(e,r)=>{r.stopPropagation(),n?.(t.filter(t=>t!==e))};(0,l.useEffect)(()=>{if(!_)return;let e=e=>{C.current?.contains(e.target)||v(!1)};return document.addEventListener(`mousedown`,e),()=>document.removeEventListener(`mousedown`,e)},[_]),(0,l.useEffect)(()=>{_&&d&&(S(``),w.current?.focus())},[_,d]),(0,l.useEffect)(()=>{b(0)},[x]);let A=e=>{if(!o)switch(e.key){case`Enter`:if(e.preventDefault(),!_){v(!0);return}D[y]&&!D[y].disabled&&O(D[y].value);break;case` `:if(d&&_)break;if(e.preventDefault(),!_){v(!0);return}D[y]&&!D[y].disabled&&O(D[y].value);break;case`ArrowDown`:if(e.preventDefault(),!_){v(!0);return}b(e=>Math.min(e+1,D.length-1));break;case`ArrowUp`:e.preventDefault(),b(e=>Math.max(e-1,0));break;case`Escape`:case`Tab`:v(!1)}},j=t.slice(0,c),M=t.length-c;return(0,u.jsxs)(`div`,{className:B(`vi-multi-select-container`,s),ref:C,children:[i&&(0,u.jsx)(`label`,{htmlFor:T,className:`vi-multi-select-label`,children:i}),(0,u.jsxs)(`div`,{className:`vi-multi-select-wrapper`,children:[(0,u.jsxs)(`div`,{ref:g,id:T,role:`combobox`,tabIndex:o?-1:0,"aria-expanded":_,"aria-haspopup":`listbox`,"aria-controls":_?E:void 0,"aria-multiselectable":`true`,"aria-disabled":o||void 0,className:B(Hr({variant:`ghost`}),`vi-multi-select-trigger`),onClick:()=>!o&&v(e=>!e),onKeyDown:A,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:[j.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)(Ur,{type:`button`,variant:`ghost`,disabled:o,"aria-label":`Remove ${n}`,className:`vi-multi-select-chip-remove h-auto w-auto p-0`,onClick:e=>k(t,e),children:(0,l.cloneElement)(p,{className:B(`h-3 w-3`,p.props.className)})})]},t)}),M>0&&(0,u.jsxs)(`span`,{className:`vi-multi-select-overflow`,children:[`+`,M]})]})}),(0,l.cloneElement)(m,{className:B(`vi-multi-select-icon`,_&&`vi-multi-select-icon-open`,m.props.className)})]}),_&&(0,u.jsxs)(`div`,{className:`vi-multi-select-dropdown`,children:[d&&!f&&(0,u.jsx)(`input`,{ref:w,type:`text`,className:`vi-multi-select-search`,placeholder:`Search...`,value:x,onChange:e=>S(e.target.value),onKeyDown:A}),f?(0,u.jsx)(ps,{text:`Loading...`,className:`vi-multi-select-loading`}):(0,u.jsxs)(`ul`,{id:E,role:`listbox`,"aria-multiselectable":`true`,"aria-label":i,className:`vi-multi-select-listbox`,children:[D.length===0&&(0,u.jsx)(`li`,{className:`vi-multi-select-empty`,children:`No options found`}),D.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===y&&`vi-multi-select-option-active`),onMouseEnter:()=>!e.disabled&&b(n),onClick:()=>{e.disabled||O(e.value)},children:[(0,u.jsx)(`span`,{className:B(`vi-multi-select-checkbox`,r&&`vi-multi-select-checkbox-checked`),children:r&&(0,l.cloneElement)(h,{className:B(`h-3 w-3`,h.props.className)})}),e.label]},e.value)})]})]})]}),a&&(0,u.jsx)(`p`,{className:`vi-multi-select-description`,children:a})]})});gf.displayName=`MultiSelect`;var _f=(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})]})});_f.displayName=`Radio`;var vf=(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})]})});vf.displayName=`RadioGroup`;var yf=(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,clearIcon:m=(0,u.jsx)(Zo,{}),chevronIcon:h=(0,u.jsx)(Ko,{}),checkIcon:g=(0,u.jsx)(Go,{})},_)=>{let[v,y]=(0,l.useState)(!1),[b,x]=(0,l.useState)(0),[S,C]=(0,l.useState)(``),w=(0,l.useRef)(null),T=(0,l.useRef)(null),E=(0,l.useId)(),D=`${E}-listbox`,O=e.find(e=>e.value===t),k=(0,l.useMemo)(()=>{if(!d||!S.trim())return e;let t=S.trim().toLowerCase();return e.filter(e=>e.label.toLowerCase().includes(t))},[e,d,S]);(0,l.useEffect)(()=>{if(!v)return;let e=e=>{w.current?.contains(e.target)||y(!1)};return document.addEventListener(`mousedown`,e),()=>document.removeEventListener(`mousedown`,e)},[v]),(0,l.useEffect)(()=>{if(v){d&&(C(``),T.current?.focus());let n=e.findIndex(e=>e.value===t);x(n>=0?n:0)}},[v,e,t,d]),(0,l.useEffect)(()=>{x(0)},[S]);let A=e=>{if(!o)switch(e.key){case`Enter`:if(e.preventDefault(),!v){y(!0);return}!k[b]?.disabled&&k[b]&&(n?.(k[b].value),y(!1));break;case` `:if(d&&v)break;if(e.preventDefault(),!v){y(!0);return}!k[b]?.disabled&&k[b]&&(n?.(k[b].value),y(!1));break;case`ArrowDown`:if(e.preventDefault(),!v){y(!0);return}x(e=>{let t=e+1;for(;t<k.length&&k[t].disabled;)t++;return t<k.length?t:e});break;case`ArrowUp`:e.preventDefault(),x(e=>{let t=e-1;for(;t>=0&&k[t].disabled;)t--;return t>=0?t:e});break;case`Escape`:case`Tab`:y(!1)}};return(0,u.jsxs)(`div`,{className:B(`vi-select-container`,s),ref:w,children:[i&&(0,u.jsx)(`label`,{htmlFor:E,className:`vi-select-label`,children:i}),(0,u.jsxs)(`div`,{className:`vi-select-wrapper`,children:[(0,u.jsxs)(`div`,{ref:_,id:E,role:`combobox`,tabIndex:o?-1:0,"aria-expanded":v,"aria-haspopup":`listbox`,"aria-controls":v?D:void 0,"aria-activedescendant":v&&b>=0?`${E}-opt-${b}`:void 0,"aria-disabled":o||void 0,className:B(Hr({variant:`ghost`}),`vi-select-trigger`),onClick:()=>!o&&y(e=>!e),onKeyDown:A,children:[(0,u.jsx)(`span`,{className:B(!O&&`vi-select-placeholder`),children:O?O.label:r}),p&&O&&!o&&(0,u.jsx)(Ur,{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,l.cloneElement)(m,{className:B(`h-3.5 w-3.5`,m.props.className)})}),(0,l.cloneElement)(h,{className:B(`vi-select-icon`,v&&`vi-select-icon-open`,h.props.className)})]}),c&&(0,u.jsx)(`input`,{type:`hidden`,name:c,value:t??``}),v&&(0,u.jsxs)(`div`,{className:`vi-select-dropdown`,children:[d&&!f&&(0,u.jsx)(`input`,{ref:T,type:`text`,className:`vi-select-search`,placeholder:`Search...`,value:S,onChange:e=>C(e.target.value),onKeyDown:A}),f?(0,u.jsx)(ps,{text:`Loading...`,className:`vi-select-loading`}):(0,u.jsxs)(`ul`,{id:D,role:`listbox`,"aria-label":i,className:`vi-select-listbox`,children:[k.length===0&&(0,u.jsx)(`li`,{className:`vi-select-empty`,children:`No options found`}),k.map((e,r)=>(0,u.jsxs)(`li`,{id:`${E}-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===b&&`vi-select-option-active`),onMouseEnter:()=>!e.disabled&&x(r),onClick:()=>{e.disabled||(n?.(e.value),y(!1))},children:[(0,l.cloneElement)(g,{className:B(`vi-select-check`,g.props.className)}),e.label]},e.value))]})]})]}),a&&(0,u.jsx)(`p`,{className:`vi-select-description`,children:a})]})});yf.displayName=`Select`;var bf=(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})]})});bf.displayName=`Switch`;var xf=(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})}));xf.displayName=`Table`;var Sf=(0,l.forwardRef)(({className:e,...t},n)=>(0,u.jsx)(`thead`,{ref:n,className:B(`vi-table-header`,e),...t}));Sf.displayName=`TableHeader`;var Cf=(0,l.forwardRef)(({className:e,...t},n)=>(0,u.jsx)(`tbody`,{ref:n,className:B(`vi-table-body`,e),...t}));Cf.displayName=`TableBody`;var wf=(0,l.forwardRef)(({className:e,...t},n)=>(0,u.jsx)(`tfoot`,{ref:n,className:B(`vi-table-footer`,e),...t}));wf.displayName=`TableFooter`;var Tf=(0,l.forwardRef)(({className:e,...t},n)=>(0,u.jsx)(`tr`,{ref:n,className:B(`vi-table-row`,e),...t}));Tf.displayName=`TableRow`;var Ef=(0,l.forwardRef)(({className:e,...t},n)=>(0,u.jsx)(`th`,{ref:n,className:B(`vi-table-head`,e),...t}));Ef.displayName=`TableHead`;var Df=(0,l.forwardRef)(({className:e,...t},n)=>(0,u.jsx)(`td`,{ref:n,className:B(`vi-table-cell`,e),...t}));Df.displayName=`TableCell`;var Of=(0,l.forwardRef)(({className:e,...t},n)=>(0,u.jsx)(`p`,{ref:n,className:B(`vi-table-caption`,e),...t}));Of.displayName=`TableCaption`;var kf=({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)(Ur,{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))]})};kf.displayName=`Tabs`;var Af=(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})]})});Af.displayName=`Textarea`;var jf=null,Mf=e=>{jf=e},Nf={success:(e,t)=>{let n=t!==void 0;jf?.({variant:`success`,title:n?e:void 0,description:n?t:e})},error:(e,t)=>{let n=t!==void 0;jf?.({variant:`error`,title:n?e:void 0,description:n?t:e})},warning:(e,t)=>{let n=t!==void 0;jf?.({variant:`warning`,title:n?e:void 0,description:n?t:e})},info:(e,t)=>{let n=t!==void 0;jf?.({variant:`info`,title:n?e:void 0,description:n?t:e})},default:(e,t)=>{let n=t!==void 0;jf?.({variant:`default`,title:n?e:void 0,description:n?t:e})}},Pf=({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)(()=>(Mf(i),()=>{Mf(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)(Ff,{...e},e.id))})]})},Ff=({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})]})})},If=(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){pf.set(e,{strokeDashoffset:m});return}pf.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})]})});If.displayName=`CircularProgressBar`;var Lf=({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,searchIcon:m=(0,u.jsx)(Xo,{"aria-hidden":`true`}),clearIcon:h=(0,u.jsx)(Zo,{"aria-hidden":`true`})})=>{let g=e!==void 0,[_,v]=(0,l.useState)(t),y=g?e:_,b=(0,l.useRef)(null),x=(0,l.useRef)(d);(0,l.useEffect)(()=>{x.current=d});let S=(0,l.useId)(),C=(0,l.useRef)(null);(0,l.useEffect)(()=>{let e=ot(e=>x.current?.(e),a);return C.current=e,()=>e.cancel()},[a]);let w=e=>{let t=e.target.value;g||v(t),f?.(e),s||C.current?.(t)},T=()=>{g||v(``),C.current?.cancel(),d?.(``),p?.(),b.current?.focus()},E=e=>{e.key===`Escape`&&y&&(e.preventDefault(),T()),e.key===`Enter`&&s&&(C.current?.cancel(),d?.(y))},D=()=>{C.current?.cancel(),d?.(y)},O=!i&&y.length>0,k=o&&!y&&!i,A=(0,u.jsxs)(`div`,{className:B(`vi-search-input`,r&&`vi-search-input--disabled`,!s&&c),children:[!s&&(0,l.cloneElement)(m,{className:B(`vi-search-input__search-icon`,m.props.className)}),(0,u.jsx)(`input`,{ref:b,id:S,type:`search`,autoComplete:`off`,spellCheck:`false`,value:y,placeholder:n,disabled:r,className:`vi-search-input__field`,onChange:w,onKeyDown:E,"aria-label":n}),k&&(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`}),O&&(0,u.jsx)(`button`,{type:`button`,className:`vi-search-input__clear`,onClick:T,"aria-label":`Clear search`,children:h})]});return s?(0,u.jsxs)(`div`,{className:B(`vi-search-input-group`,c),children:[A,(0,u.jsx)(Ur,{size:`icon`,onClick:D,disabled:r,"aria-label":`Search`,children:m})]}):A},Rf=({logo:e,tagline:t,linkGroups:n=[],copyright:r,credits:i,creditsPosition:a=`bottom`,className:o})=>{let s=e||n.length>0,c=i&&a===`top`,l=i&&a===`bottom`,d=r||l,f=s&&(d||c);return(0,u.jsx)(`footer`,{className:B(`vi-footer`,o),children:(0,u.jsxs)(`div`,{className:`vi-footer-inner`,children:[s&&(0,u.jsxs)(`div`,{className:`vi-footer-top`,children:[e&&(0,u.jsxs)(`div`,{className:`vi-footer-logo`,children:[(0,u.jsx)(fs,{...e}),t&&(0,u.jsx)(`p`,{className:`vi-footer-tagline`,children:t})]}),n.length>0&&(0,u.jsx)(`nav`,{className:`vi-footer-nav`,"aria-label":`Footer navigation`,children:n.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)(ds,{link:e,noBaseClass:!0,className:`vi-footer-link`})},e.url))})]},t))})]}),c&&(0,u.jsx)(`div`,{className:`vi-footer-credits vi-footer-credits-top`,children:i}),f&&(0,u.jsx)(`hr`,{className:`vi-footer-divider`}),d&&(0,u.jsxs)(`div`,{className:`vi-footer-bottom`,children:[r&&(0,u.jsx)(`p`,{className:`vi-footer-copyright`,children:r}),l&&(0,u.jsx)(`div`,{className:`vi-footer-credits`,children:i})]})]})})},zf=({logo:e,ctaLinks:t=[],modalRootSelector:n,menuIcon:r=(0,u.jsx)(Yo,{size:24,"aria-hidden":`true`}),linkIcon:i=(0,u.jsx)(Jo,{size:16,"aria-hidden":`true`})})=>{let[a,o]=(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)(fs,{name:e.name,image:e.image,link:e.link}),t.length>0&&(0,u.jsx)(hf,{open:a,onOpenChange:o,title:e.name,className:`vi-modal-slide-right z-[1001]`,modalRootSelector:n,trigger:(0,u.jsx)(Ur,{variant:`ghost`,title:`Menu Button`,"aria-label":`Open menu`,children:r}),children:(0,u.jsx)(`div`,{className:`flex flex-col gap-3`,children:t.map(e=>(0,u.jsxs)(ds,{link:e,noBaseClass:!0,className:`flex items-center justify-between text-sm font-medium hover:underline`,children:[(0,u.jsx)(`span`,{children:e.text}),i]},e.url))})})]}),(0,u.jsxs)(`div`,{className:`hidden lg:flex items-center justify-between px-8 py-4`,children:[(0,u.jsx)(fs,{...e}),t.length>0&&(0,u.jsx)(`nav`,{className:`flex items-center gap-6`,children:t.map(e=>(0,u.jsx)(ds,{link:e,noBaseClass:!0,className:`text-sm font-medium hover:underline`},e.url))})]})]})},Bf=({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})]})},Vf=()=>(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)(Ur,{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`})]}),Hf=({icon:e,label:t,onClick:n,active:r,tooltip:i,className:a})=>(0,u.jsxs)(Ur,{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})]});Hf.displayName=`AsideBtn`;var Uf=({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})]});Uf.displayName=`AsideText`;var Wf=({items:e,open:t,onToggle:n,title:r,footer:i,openWidth:a=`w-44`,className:o,toggleIcon:s=e=>e?(0,u.jsx)(qo,{className:`h-4 w-4`}):(0,u.jsx)(Jo,{className:`h-4 w-4`})})=>{let c=t!==void 0&&n!==void 0,l=t===void 0||t;return(0,u.jsxs)(`aside`,{className:B(`vi-aside`,l&&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)=>!l&&t.type===`divider`&&(n===0||n===e.length-1)?null:t.onClick?(0,u.jsx)(Hf,{icon:t.icon,label:t.label,onClick:t.onClick,active:t.active,tooltip:l?void 0:t.label},n):(0,u.jsx)(Uf,{icon:t.icon,label:t.label,active:t.active,type:t.type,open:l,tooltip:l?void 0:t.label},n))}),i&&(0,u.jsx)(`div`,{className:`vi-aside-footer`,children:i(l)}),c&&(0,u.jsx)(`div`,{className:`vi-aside-toggle`,children:(0,u.jsx)(Ur,{variant:`ghost`,size:`sm`,onClick:n,title:l?`Collapse`:`Expand`,className:`vi-aside-toggle-btn`,children:s(l)})})]})};Wf.displayName=`PageAside`;var Gf=({open:e,onOpenChange:t,trigger:n,modalClassName:r,closeBreakpoint:i=`(min-width: 768px)`,...a})=>(l.default.useEffect(()=>{if(!e)return;let n=window.matchMedia(i);if(n.matches){t(!1);return}let r=e=>{e.matches&&t(!1)};return n.addEventListener(`change`,r),()=>n.removeEventListener(`change`,r)},[e,t,i]),(0,u.jsx)(hf,{open:e,onOpenChange:t,trigger:n,className:B(`vi-modal-slide-left vi-aside-modal`,r),children:(0,u.jsx)(Wf,{...a})}));Gf.displayName=`AsideDrawer`;var Kf=[`Jan`,`Feb`,`Mar`,`Apr`,`May`,`Jun`,`Jul`,`Aug`,`Sep`,`Oct`,`Nov`,`Dec`],qf=({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:Kf[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 ${Kf[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))})};qf.displayName=`YearDotNav`,exports.Accordion=Fr,exports.AsideBtn=Hf,exports.AsideDrawer=Gf,exports.AsideText=Uf,exports.Badge=zr,exports.Button=Ur,exports.Card=Wr,exports.CardContent=Jr,exports.CardDescription=qr,exports.CardImage=Gr,exports.CardTitle=Kr,exports.CardWrapper=Yr,exports.Checkbox=Xr,exports.CheckboxGroup=Zr,exports.CircularProgressBar=If,exports.Dialog=Qo,exports.DialogClose=ts,exports.DialogContent=rs,exports.DialogDescription=ss,exports.DialogFooter=as,exports.DialogHeader=is,exports.DialogOverlay=ns,exports.DialogPortal=es,exports.DialogTitle=os,exports.DialogTrigger=$o,exports.Footer=Rf,exports.FormField=cs,exports.Header=zf,exports.HoverPopup=Bf,exports.Input=ls,exports.Link=ds,exports.Loading=ps,exports.LogoLink=fs,exports.Menu=hs,exports.Modal=hf,exports.MultiSelect=gf,exports.PageAside=Wf,exports.PageNotFound=Vf,exports.Radio=_f,exports.RadioGroup=vf,exports.SearchInput=Lf,exports.Select=yf,exports.Switch=bf,exports.Table=xf,exports.TableBody=Cf,exports.TableCaption=Of,exports.TableCell=Df,exports.TableFooter=wf,exports.TableHead=Ef,exports.TableHeader=Sf,exports.TableRow=Tf,exports.Tabs=kf,exports.Textarea=Af,exports.ToastProvider=Pf,exports.YearDotNav=qf,exports.buttonVariants=Hr,exports.clamp=rt,exports.cn=B,exports.debounce=ot,exports.round=nt,exports.setGlobalAddToast=Mf,exports.throttle=at,exports.toast=Nf,exports.truncate=it;
41
+ `},Qa=0,$a=[];function eo(e){var t=c.useRef([]),n=c.useRef([0,0]),r=c.useRef(),i=c.useState(Qa++)[0],a=c.useState(Sa)[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=Zi([e.lockRef.current],(e.shards||[]).map(Ya),!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=qa(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=Ba(d,u);if(!m)return!0;if(m?l=d:(l=d===`v`?`h`:`v`,m=Ba(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 Ka(h,t,e,h===`h`?s:c,!0)},[]),l=c.useCallback(function(e){var n=e;if(!(!$a.length||$a[$a.length-1]!==a)){var r=`deltaY`in n?Ja(n):qa(n),i=t.current.filter(function(e){return e.name===n.type&&(e.target===n.target||n.target===e.shadowParent)&&Xa(e.delta,r)})[0];if(i&&i.should){n.cancelable&&n.preventDefault();return}if(!i){var c=(o.current.shards||[]).map(Ya).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:to(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=qa(e),r.current=void 0},[]),f=c.useCallback(function(t){u(t.type,Ja(t),t.target,s(t,e.lockRef.current))},[]),p=c.useCallback(function(t){u(t.type,qa(t),t.target,s(t,e.lockRef.current))},[]);c.useEffect(function(){return $a.push(a),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:p}),document.addEventListener(`wheel`,l,Fa),document.addEventListener(`touchmove`,l,Fa),document.addEventListener(`touchstart`,d,Fa),function(){$a=$a.filter(function(e){return e!==a}),document.removeEventListener(`wheel`,l,Fa),document.removeEventListener(`touchmove`,l,Fa),document.removeEventListener(`touchstart`,d,Fa)}},[]);var m=e.removeScrollBar,h=e.inert;return c.createElement(c.Fragment,null,h?c.createElement(a,{styles:Za(i)}):null,m?c.createElement(Ma,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function to(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}var no=da(fa,eo),ro=c.forwardRef(function(e,t){return c.createElement(ma,Yi({},e,{ref:t,sideCar:no}))});ro.classNames=ma.classNames;var io=function(e){return typeof document>`u`?null:(Array.isArray(e)?e[0]:e).ownerDocument.body},ao=new WeakMap,oo=new WeakMap,so={},co=0,lo=function(e){return e&&(e.host||lo(e.parentNode))},uo=function(e,t){return t.map(function(t){if(e.contains(t))return t;var n=lo(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})},fo=function(e,t,n,r){var i=uo(t,Array.isArray(e)?e:[e]);so[n]||(so[n]=new WeakMap);var a=so[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=(ao.get(e)||0)+1,l=(a.get(e)||0)+1;ao.set(e,c),a.set(e,l),o.push(e),c===1&&i&&oo.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(),co++,function(){o.forEach(function(e){var t=ao.get(e)-1,i=a.get(e)-1;ao.set(e,t),a.set(e,i),t||(oo.has(e)||e.removeAttribute(r),oo.delete(e)),i||e.removeAttribute(n)}),co--,co||(ao=new WeakMap,ao=new WeakMap,oo=new WeakMap,so={})}},po=function(e,t,n){n===void 0&&(n=`data-aria-hidden`);var r=Array.from(Array.isArray(e)?e:[e]),i=t||io(e);return i?(r.push.apply(r,Array.from(i.querySelectorAll(`[aria-live], script`))),fo(r,i,n,`aria-hidden`)):function(){return null}},mo=Object.defineProperty,ho=(e,t)=>mo(e,`name`,{value:t,configurable:!0}),go=`Dialog`,[_o,vo]=yt(go),[yo,bo]=_o(go),xo=ho(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]=vn({prop:r,defaultProp:i??!1,onChange:a,caller:go}),[p,m]=l.useState(0),[h,g]=l.useState(0);return(0,u.jsx)(yo,{scope:t,triggerRef:s,contentRef:c,contentId:Bn(),titleId:Bn(),descriptionId:Bn(),titlePresent:p>0,descriptionPresent:h>0,setTitleCount:m,setDescriptionCount:g,open:d,onOpenChange:f,onOpenToggle:l.useCallback(()=>f(e=>!e),[f]),modal:o,children:n})},`Dialog`),So=`DialogTrigger`,Co=l.forwardRef(ho(function(e,t){let{__scopeDialog:n,...r}=e,i=bo(So,n),a=Tt(t,i.triggerRef);return(0,u.jsx)(Tn.button,{type:`button`,"aria-haspopup":`dialog`,"aria-expanded":i.open,"aria-controls":i.open?i.contentId:void 0,"data-state":Uo(i.open),...r,ref:a,onClick:rn(e.onClick,i.onOpenToggle)})},`DialogTrigger`)),wo=`DialogPortal`,[To,Eo]=_o(wo,{forceMount:void 0}),Do=ho(e=>{let{__scopeDialog:t,forceMount:n,children:r,container:i}=e,a=bo(wo,t);return(0,u.jsx)(To,{scope:t,forceMount:n,children:l.Children.map(r,e=>(0,u.jsx)(An,{present:n||a.open,children:(0,u.jsx)(Vi,{asChild:!0,container:i,children:e})}))})},`DialogPortal`),Oo=`DialogOverlay`,ko=l.forwardRef(ho(function(e,t){let n=Eo(Oo,e.__scopeDialog),{forceMount:r=n.forceMount,...i}=e,a=bo(Oo,e.__scopeDialog);return a.modal?(0,u.jsx)(An,{present:r||a.open,children:(0,u.jsx)(jo,{...i,ref:t})}):null},`DialogOverlay`)),Ao=Ot(`DialogOverlay.RemoveScroll`),jo=l.forwardRef(ho(function(e,t){let{__scopeDialog:n,...r}=e,i=bo(Oo,n),a=Tt(t,_i());return(0,u.jsx)(ro,{as:Ao,allowPinchZoom:!0,shards:[i.contentRef],children:(0,u.jsx)(Tn.div,{"data-state":Uo(i.open),...r,ref:a,style:{pointerEvents:`auto`,...r.style}})})},`DialogOverlayImpl`)),Mo=`DialogContent`,No=l.forwardRef(ho(function(e,t){let n=Eo(Mo,e.__scopeDialog),{forceMount:r=n.forceMount,...i}=e,a=bo(Mo,e.__scopeDialog);return(0,u.jsx)(An,{present:r||a.open,children:a.modal?(0,u.jsx)(Po,{...i,ref:t}):(0,u.jsx)(Fo,{...i,ref:t})})},`DialogContent`)),Po=l.forwardRef(ho(function(e,t){let n=bo(Mo,e.__scopeDialog),r=l.useRef(null),i=Tt(t,n.contentRef,r);return l.useEffect(()=>{let e=r.current;if(e)return po(e)},[]),(0,u.jsx)(Io,{...e,ref:i,trapFocus:n.open,disableOutsidePointerEvents:n.open,onCloseAutoFocus:rn(e.onCloseAutoFocus,e=>{e.preventDefault(),n.triggerRef.current?.focus()}),onPointerDownOutside:rn(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=t.button===0&&t.ctrlKey===!0;(t.button===2||n)&&e.preventDefault()}),onFocusOutside:rn(e.onFocusOutside,e=>e.preventDefault())})},`DialogContentModal`)),Fo=l.forwardRef(ho(function(e,t){let n=bo(Mo,e.__scopeDialog),r=l.useRef(!1),i=l.useRef(!1);return(0,u.jsx)(Io,{...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()}})},`DialogContentNonModal`)),Io=l.forwardRef(ho(function(e,t){let{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:i,onCloseAutoFocus:a,...o}=e,s=bo(Mo,n);return qi(),(0,u.jsx)(u.Fragment,{children:(0,u.jsx)(Oi,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:i,onUnmountAutoFocus:a,children:(0,u.jsx)(gi,{role:`dialog`,id:s.contentId,"aria-describedby":s.descriptionPresent?s.descriptionId:void 0,"aria-labelledby":s.titlePresent?s.titleId:void 0,"data-state":Uo(s.open),...o,ref:t,deferPointerDownOutside:!0,onDismiss:()=>s.onOpenChange(!1)})})})},`DialogContentImpl`)),Lo=`DialogTitle`,Ro=l.forwardRef(ho(function(e,t){let{__scopeDialog:n,...r}=e,i=bo(Lo,n),{setTitleCount:a}=i;return ln(()=>(a(e=>e+1),()=>a(e=>e-1)),[a]),(0,u.jsx)(Tn.h2,{id:i.titleId,...r,ref:t})},`DialogTitle`)),zo=`DialogDescription`,Bo=l.forwardRef(ho(function(e,t){let{__scopeDialog:n,...r}=e,i=bo(zo,n),{setDescriptionCount:a}=i;return ln(()=>(a(e=>e+1),()=>a(e=>e-1)),[a]),(0,u.jsx)(Tn.p,{id:i.descriptionId,...r,ref:t})},`DialogDescription`)),Vo=`DialogClose`,Ho=l.forwardRef(ho(function(e,t){let{__scopeDialog:n,...r}=e,i=bo(Vo,n);return(0,u.jsx)(Tn.button,{type:`button`,...r,ref:t,onClick:rn(e.onClick,()=>i.onOpenChange(!1))})},`DialogClose`));function Uo(e){return e?`open`:`closed`}ho(Uo,`getState`);var Wo=(...e)=>e.filter((e,t,n)=>!!e&&e.trim()!==``&&n.indexOf(e)===t).join(` `).trim(),Go=e=>e.replace(/([a-z0-9])([A-Z])/g,`$1-$2`).toLowerCase(),Ko=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,n)=>n?n.toUpperCase():t.toLowerCase()),qo=e=>{let t=Ko(e);return t.charAt(0).toUpperCase()+t.slice(1)},Jo={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`},Yo=e=>{for(let t in e)if(t.startsWith(`aria-`)||t===`role`||t===`title`)return!0;return!1},Xo=(0,l.createContext)({}),Zo=()=>(0,l.useContext)(Xo),Qo=(0,l.forwardRef)(({color:e,size:t,strokeWidth:n,absoluteStrokeWidth:r,className:i=``,children:a,iconNode:o,...s},c)=>{let{size:u=24,strokeWidth:d=2,absoluteStrokeWidth:f=!1,color:p=`currentColor`,className:m=``}=Zo()??{},h=r??f?Number(n??d)*24/Number(t??u):n??d;return(0,l.createElement)(`svg`,{ref:c,...Jo,width:t??u??Jo.width,height:t??u??Jo.height,stroke:e??p,strokeWidth:h,className:Wo(`lucide`,m,i),...!a&&!Yo(s)&&{"aria-hidden":`true`},...s},[...o.map(([e,t])=>(0,l.createElement)(e,t)),...Array.isArray(a)?a:[a]])}),$o=(e,t)=>{let n=(0,l.forwardRef)(({className:n,...r},i)=>(0,l.createElement)(Qo,{ref:i,iconNode:t,className:Wo(`lucide-${Go(qo(e))}`,`lucide-${e}`,n),...r}));return n.displayName=qo(e),n},es=$o(`check`,[[`path`,{d:`M20 6 9 17l-5-5`,key:`1gmf2c`}]]),ts=$o(`chevron-down`,[[`path`,{d:`m6 9 6 6 6-6`,key:`qrunsl`}]]),ns=$o(`chevron-left`,[[`path`,{d:`m15 18-6-6 6-6`,key:`1wnfg3`}]]),rs=$o(`chevron-right`,[[`path`,{d:`m9 18 6-6-6-6`,key:`mthhwq`}]]),is=$o(`menu`,[[`path`,{d:`M4 5h16`,key:`1tepv9`}],[`path`,{d:`M4 12h16`,key:`1lakjw`}],[`path`,{d:`M4 19h16`,key:`1djgab`}]]),as=$o(`search`,[[`path`,{d:`m21 21-4.34-4.34`,key:`14j7rj`}],[`circle`,{cx:`11`,cy:`11`,r:`8`,key:`4ej97u`}]]),os=$o(`x`,[[`path`,{d:`M18 6 6 18`,key:`1bl5f8`}],[`path`,{d:`m6 6 12 12`,key:`d8bk6v`}]]),ss=xo,cs=Co,ls=Do,us=Ho,ds=(0,l.forwardRef)(({className:e,...t},n)=>(0,u.jsx)(ko,{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}));ds.displayName=ko.displayName;var fs=(0,l.forwardRef)(({className:e,children:t,closeIcon:n=(0,u.jsx)(os,{}),...r},i)=>(0,u.jsxs)(ls,{children:[(0,u.jsx)(ds,{}),(0,u.jsxs)(No,{ref:i,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),...r,children:[t,(0,u.jsxs)(Ho,{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,l.cloneElement)(n,{className:B(`h-4 w-4`,n.props.className)}),(0,u.jsx)(`span`,{className:`sr-only`,children:`Close`})]})]})]}));fs.displayName=No.displayName;var ps=({className:e,...t})=>(0,u.jsx)(`div`,{className:B(`flex flex-col space-y-1.5 text-center sm:text-left`,e),...t});ps.displayName=`DialogHeader`;var ms=({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});ms.displayName=`DialogFooter`;var hs=(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}));hs.displayName=Ro.displayName;var gs=(0,l.forwardRef)(({className:e,...t},n)=>(0,u.jsx)(Bo,{ref:n,className:B(`text-sm text-muted-foreground`,e),...t}));gs.displayName=Bo.displayName;var _s=({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})]})};_s.displayName=`FormField`;var vs=(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=>{if(a&&a(e.target.value),i){let t=i(e.target.value);f(t)}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})]})});vs.displayName=`Input`;var ys=e=>typeof e==`object`&&!!e&&`url`in e,bs=({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})}),xs=({name:e,image:t,link:n,className:r})=>(0,u.jsxs)(bs,{link:n,className:B(`vi-link-logo-wrapper`,r),children:[ys(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})]}),Ss=({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})]});Ss.displayName=`Loading`;var Cs=e=>(e.type??`item`)===`item`&&!e.disabled,ws=(0,l.forwardRef)(({items:e,trigger:t,align:n=`start`,disabled:r,className:i,contentClassName:a},o)=>{let[s,c]=(0,l.useState)(!1),[d,f]=(0,l.useState)(-1),p=(0,l.useRef)(null),m=(0,l.useRef)(null),h=(0,l.useRef)(e);h.current=e;let g=(0,l.useId)(),_=`${g}-menu`,v=e=>{m.current=e,typeof o==`function`?o(e):o&&(o.current=e)};(0,l.useEffect)(()=>{if(!s)return;let e=e=>{p.current?.contains(e.target)||c(!1)};return document.addEventListener(`mousedown`,e),()=>document.removeEventListener(`mousedown`,e)},[s]),(0,l.useEffect)(()=>{if(!s){f(-1);return}f(h.current.findIndex(Cs))},[s]),(0,l.useEffect)(()=>{r&&c(!1)},[r]);let y=(e=!0)=>{c(!1),e&&m.current?.focus()},b=e=>{r||!Cs(e)||(e.onSelect?.(),y())},x=t=>{f(n=>{let r=n;for(let n=0;n<e.length;n++)if(r=(r+t+e.length)%e.length,Cs(e[r]))return r;return n})};return(0,u.jsxs)(`div`,{className:B(`vi-menu-container`,i),ref:p,children:[(0,u.jsx)(kt,{ref:v,"aria-haspopup":`menu`,"aria-expanded":s,"aria-controls":s?_:void 0,"aria-activedescendant":s&&d>=0?`${g}-item-${d}`:void 0,"aria-disabled":r||void 0,onClick:()=>!r&&c(e=>!e),onKeyDown:t=>{if(!r)switch(t.key){case`Enter`:case` `:if(t.preventDefault(),!s){c(!0);return}d>=0&&b(e[d]);break;case`ArrowDown`:if(t.preventDefault(),!s){c(!0);return}x(1);break;case`ArrowUp`:if(t.preventDefault(),!s){c(!0);return}x(-1);break;case`Escape`:s&&y();break;case`Tab`:s&&y(!1)}},children:t}),s&&(0,u.jsx)(`div`,{id:_,role:`menu`,className:B(`vi-menu-content`,n===`end`&&`vi-menu-content-align-end`,a),children:e.map((e,t)=>e.type===`separator`?(0,u.jsx)(`div`,{role:`separator`,className:`vi-menu-separator`},e.value):e.type===`label`?(0,u.jsx)(`div`,{className:`vi-menu-label`,children:e.label},e.value):(0,u.jsxs)(`div`,{id:`${g}-item-${t}`,role:`menuitem`,"aria-disabled":e.disabled,className:B(`vi-menu-item`,e.destructive&&`vi-menu-item-destructive`,e.disabled&&`vi-menu-item-disabled`,t===d&&`vi-menu-item-active`),onMouseEnter:()=>Cs(e)&&f(t),onClick:()=>b(e),children:[e.icon&&(0,u.jsx)(`span`,{className:`vi-menu-item-icon`,children:e.icon}),(0,u.jsx)(`span`,{className:`vi-menu-item-label`,children:e.label}),e.shortcut&&(0,u.jsx)(`span`,{className:`vi-menu-item-shortcut`,children:e.shortcut})]},e.value))})]})});ws.displayName=`Menu`;function Ts(e){if(e===void 0)throw ReferenceError(`this hasn't been initialised - super() hasn't been called`);return e}function Es(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var Ds={autoSleep:120,force3D:`auto`,nullTargetWarn:1,units:{lineHeight:``}},Os={duration:.5,overwrite:!1,delay:0},ks,As,U,js=1e8,W=1/js,Ms=Math.PI*2,Ns=Ms/4,Ps=0,Fs=Math.sqrt,Is=Math.cos,Ls=Math.sin,G=function(e){return typeof e==`string`},K=function(e){return typeof e==`function`},Rs=function(e){return typeof e==`number`},zs=function(e){return e===void 0},Bs=function(e){return typeof e==`object`},Vs=function(e){return e!==!1},Hs=function(){return typeof window<`u`},Us=function(e){return K(e)||G(e)},Ws=typeof ArrayBuffer==`function`&&ArrayBuffer.isView||function(){},Gs=Array.isArray,Ks=/random\([^)]+\)/g,qs=/,\s*/g,Js=/(?:-?\.?\d|\.)+/gi,Ys=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,Xs=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,Zs=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,Qs=/[+-]=-?[.\d]+/,$s=/[^,'"\[\]\s]+/gi,ec=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,q,tc,nc,rc,ic={},ac={},oc,sc=function(e){return(ac=Lc(e,ic))&&$u},cc=function(e,t){return console.warn(`Invalid property`,e,`set to`,t,`Missing plugin? gsap.registerPlugin()`)},lc=function(e,t){return!t&&console.warn(e)},uc=function(e,t){return e&&(ic[e]=t)&&ac&&(ac[e]=t)||ic},dc=function(){return 0},fc={suppressEvents:!0,isStart:!0,kill:!1},pc={suppressEvents:!0,kill:!1},mc={suppressEvents:!0},hc={},gc=[],_c={},vc,yc={},bc={},xc=30,Sc=[],Cc=``,wc=function(e){var t=e[0],n,r;if(Bs(t)||K(t)||(e=[e]),!(n=(t._gsap||{}).harness)){for(r=Sc.length;r--&&!Sc[r].targetTest(t););n=Sc[r]}for(r=e.length;r--;)e[r]&&(e[r]._gsap||(e[r]._gsap=new uu(e[r],n)))||e.splice(r,1);return e},Tc=function(e){return e._gsap||wc(bl(e))[0]._gsap},Ec=function(e,t,n){return(n=e[t])&&K(n)?e[t]():zs(n)&&e.getAttribute&&e.getAttribute(t)||n},Dc=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},Oc=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},kc=function(e,t){for(var n=t.length,r=0;e.indexOf(t[r])<0&&++r<n;);return r<n},Ac=function(){var e=gc.length,t=gc.slice(0),n,r;for(_c={},gc.length=0,n=0;n<e;n++)r=t[n],r&&r._lazy&&(r.render(r._lazy[0],r._lazy[1],!0)._lazy=0)},jc=function(e){return!!(e._initted||e._startAt||e.add)},Mc=function(e,t,n,r){gc.length&&!As&&Ac(),e.render(t,n,r||!!(As&&t<0&&jc(e))),gc.length&&!As&&Ac()},Nc=function(e){var t=parseFloat(e);return(t||t===0)&&(e+``).match($s).length<2?t:G(e)?e.trim():e},Pc=function(e){return e},Fc=function(e,t){for(var n in t)n in e||(e[n]=t[n]);return e},Ic=function(e){return function(t,n){for(var r in n)r in t||r===`duration`&&e||r===`ease`||(t[r]=n[r])}},Lc=function(e,t){for(var n in t)e[n]=t[n];return e},Rc=function e(t,n){for(var r in n)r!==`__proto__`&&r!==`constructor`&&r!==`prototype`&&(t[r]=Bs(n[r])?e(t[r]||(t[r]={}),n[r]):n[r]);return t},zc=function(e,t){var n={},r;for(r in e)r in t||(n[r]=e[r]);return n},Bc=function(e){var t=e.parent||q,n=e.keyframes?Ic(Gs(e.keyframes)):Fc;if(Vs(e.inherit))for(;t;)n(e,t.vars.defaults),t=t.parent||t._dp;return e},Vc=function(e,t){for(var n=e.length,r=n===t.length;r&&n--&&e[n]===t[n];);return n<0},Hc=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},Uc=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},Wc=function(e,t){e.parent&&(!t||e.parent.autoRemoveChildren)&&e.parent.remove&&e.parent.remove(e),e._act=0},Gc=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},Kc=function(e){for(var t=e.parent;t&&t.parent;)t._dirty=1,t.totalDuration(),t=t.parent;return e},qc=function(e,t,n,r){return e._startAt&&(As?e._startAt.revert(pc):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(t,!0,r))},Jc=function e(t){return!t||t._ts&&e(t.parent)},Yc=function(e){return e._repeat?Xc(e._tTime,e=e.duration()+e._rDelay)*e:0},Xc=function(e,t){var n=Math.floor(e=Y(e/t));return e&&n===e?n-1:n},Zc=function(e,t){return(e-t._start)*t._ts+(t._ts>=0?0:t._dirty?t.totalDuration():t._tDur)},Qc=function(e){return e._end=Y(e._start+(e._tDur/Math.abs(e._ts||e._rts||W)||0))},$c=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)),Qc(e),n._dirty||Gc(n,e)),e},el=function(e,t){var n;if((t._time||!t._dur&&t._initted||t._start<e._time&&(t._dur||!t.add))&&(n=Zc(e.rawTime(),t),(!t._dur||ml(0,t.totalDuration(),n)-t._tTime>W)&&t.render(n,!0)),Gc(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}},tl=function(e,t,n,r){return t.parent&&Wc(t),t._start=Y((Rs(n)?n:n||e!==q?dl(e,n,t):e._time)+t._delay),t._end=Y(t._start+(t.totalDuration()/Math.abs(t.timeScale())||0)),Hc(e,t,`_first`,`_last`,e._sort?`_start`:0),al(t)||(e._recent=t),r||el(e,t),e._ts<0&&$c(e,e._tTime),e},nl=function(e,t){return(ic.ScrollTrigger||cc(`scrollTrigger`,t))&&ic.ScrollTrigger.create(t,e)},rl=function(e,t,n,r,i){if(yu(e,t,i),!e._initted)return 1;if(!n&&e._pt&&!As&&(e._dur&&e.vars.lazy!==!1||!e._dur&&e.vars.lazy)&&vc!==Zl.frame)return gc.push(e),e._lazy=[i,r],1},il=function e(t){var n=t.parent;return n&&n._ts&&n._initted&&!n._lock&&(n.rawTime()<0||e(n))},al=function(e){var t=e.data;return t===`isFromStart`||t===`isStart`},ol=function(e,t,n,r){var i=e.ratio,a=t<0||!t&&(!e._start&&il(e)&&!(!e._initted&&al(e))||(e._ts<0||e._dp._ts<0)&&!al(e))?0:1,o=e._rDelay,s=0,c,l,u;if(o&&e._repeat&&(s=ml(0,e._tDur,t),l=Xc(s,o),e._yoyo&&l&1&&(a=1-a),l!==Xc(e._tTime,o)&&(i=1-a,e.vars.repeatRefresh&&e._initted&&e.invalidate())),a!==i||As||r||e._zTime===W||!t&&e._zTime){if(!e._initted&&rl(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&&qc(e,t,n,!0),e._onUpdate&&!n&&Ll(e,`onUpdate`),s&&e._repeat&&!n&&e.parent&&Ll(e,`onRepeat`),(t>=e._tDur||t<0)&&e.ratio===a&&(a&&Wc(e,1),!n&&!As&&(Ll(e,a?`onComplete`:`onReverseComplete`,!0),e._prom&&e._prom()))}else e._zTime||=t},sl=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}},cl=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&&$c(e,e._tTime=e._tDur*o),e.parent&&Qc(e),n||Gc(e.parent,e),e},ll=function(e){return e instanceof fu?Gc(e):cl(e,e._dur)},ul={_start:0,endTime:dc,totalDuration:dc},dl=function e(t,n,r){var i=t.labels,a=t._recent||ul,o=t.duration()>=js?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*(Gs(r)?r[0]:r).totalDuration()),s>1?e(t,n.substr(0,s-1),r)+c:o+c)):n==null?o:+n},fl=function(e,t,n){var r=Rs(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=Vs(s.vars.inherit)&&s.parent;a.immediateRender=Vs(o.immediateRender),e<2?a.runBackwards=1:a.startAt=t[i-1]}return new Q(t[0],a,t[i+1])},pl=function(e,t){return e||e===0?t(e):t},ml=function(e,t,n){return n<e?e:n>t?t:n},hl=function(e,t){return!G(e)||!(t=ec.exec(e))?``:t[1]},gl=function(e,t,n){return pl(n,function(n){return ml(e,t,n)})},_l=[].slice,vl=function(e,t){return e&&Bs(e)&&`length`in e&&(!t&&!e.length||e.length-1 in e&&Bs(e[0]))&&!e.nodeType&&e!==tc},yl=function(e,t,n){return n===void 0&&(n=[]),e.forEach(function(e){var r;return G(e)&&!t||vl(e,1)?(r=n).push.apply(r,bl(e)):n.push(e)})||n},bl=function(e,t,n){return U&&!t&&U.selector?U.selector(e):G(e)&&!n&&(nc||!Ql())?_l.call((t||rc).querySelectorAll(e),0):Gs(e)?yl(e,n):vl(e)?_l.call(e,0):e?[e]:[]},xl=function(e){return e=bl(e)[0]||lc(`Invalid scope`)||{},function(t){var n=e.current||e.nativeElement||e;return bl(t,n.querySelectorAll?n:n===e?lc(`Invalid scope`)||rc.createElement(`div`):e)}},Sl=function(e){return e.sort(function(){return .5-Math.random()})},Cl=function(e){if(K(e))return e;var t=Bs(e)?e:{each:e},n=au(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,js])[1],!S){for(b=-js;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===js?0:s?f*u/S-.5:r/S|0,b=0,x=js,y=0;y<f;y++)g=y%S-m,_=h-(y/S|0),p[y]=v=c?Math.abs(c===`y`?_:g):Fs(g*g+_*_),v>b&&(b=v),v<x&&(x=v);r===`random`&&Sl(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=hl(t.amount||t.each)||0,n=n&&f<0?iu(n):n}return f=(p[e]-p.min)/p.max||0,Y(p.b+(n?n(f):f)*p.v)+p.u}},wl=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+(Rs(n)?0:hl(n))}},Tl=function(e,t){var n=Gs(e),r,i;return!n&&Bs(e)&&(r=n=e.radius||js,e.values?(e=bl(e.values),(i=!Rs(e[0]))&&(r*=r)):e=wl(e.increment)),pl(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=js,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||Rs(t)?s:s+hl(t)}:wl(e))},El=function(e,t,n,r){return pl(Gs(e)?!t:n===!0?!!(n=0):!r,function(){return Gs(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})},Dl=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)}},Ol=function(e,t){return function(n){return e(parseFloat(n))+(t||hl(n))}},kl=function(e,t,n){return Pl(e,t,0,1,n)},Al=function(e,t,n){return pl(n,function(n){return e[~~t(n)]})},jl=function e(t,n,r){var i=n-t;return Gs(t)?Al(t,e(0,t.length),n):pl(r,function(e){return(i+(e-t)%i)%i+t})},Ml=function e(t,n,r){var i=n-t,a=i*2;return Gs(t)?Al(t,e(0,t.length-1),n):pl(r,function(e){return e=(a+(e-t)%a)%a||0,t+(e>i?a-e:e)})},Nl=function(e){return e.replace(Ks,function(e){var t=e.indexOf(`[`)+1,n=e.substring(t||7,t?e.indexOf(`]`):e.length-1).split(qs);return El(t?n:+n[0],t?0:+n[1],+n[2]||1e-5)})},Pl=function(e,t,n,r,i){var a=t-e,o=r-n;return pl(i,function(t){return n+((t-e)/a*o||0)})},Fl=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(Gs(t)&&!Gs(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=Lc(Gs(t)?[]:{},t));if(!u){for(c in n)mu.call(s,t,c,`get`,n[c]);a=function(e){return Pu(e,s)||(o?t.p:t)}}}return pl(r,a)},Il=function(e,t,n){var r=e.labels,i=js,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},Ll=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&&gc.length&&Ac(),o&&(U=o),l=s?i.apply(c,s):i.call(c),U=a,l},Rl=function(e){return Wc(e),e.scrollTrigger&&e.scrollTrigger.kill(!!As),e.progress()<1&&Ll(e,`onInterrupt`),e},zl,Bl=[],Vl=function(e){if(e)if(e=!e.name&&e.default||e,Hs()||e.headless){var t=e.name,n=K(e),r=t&&!n&&e.init?function(){this._props=[]}:e,i={init:dc,render:Pu,add:mu,kill:Iu,modifier:Fu,rawVars:0},a={targetTest:0,get:0,getSetter:Au,aliases:{},register:0};if(Ql(),e!==r){if(yc[t])return;Fc(r,Fc(zc(e,i),a)),Lc(r.prototype,Lc(i,zc(e,a))),yc[r.prop=t]=r,e.targetTest&&(Sc.push(r),hc[t]=1),t=(t===`css`?`CSS`:t.charAt(0).toUpperCase()+t.substr(1))+`Plugin`}uc(t,r),e.register&&e.register($u,r,zu)}else Bl.push(e)},X=255,Hl={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]},Ul=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},Wl=function(e,t,n){var r=e?Rs(e)?[e>>16,e>>8&X,e&X]:0:Hl.black,i,a,o,s,c,l,u,d,f,p;if(!r){if(e.substr(-1)===`,`&&(e=e.substr(0,e.length-1)),Hl[e])r=Hl[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(Js),!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]=Ul(s+1/3,i,a),r[1]=Ul(s,i,a),r[2]=Ul(s-1/3,i,a);else if(~e.indexOf(`=`))return r=e.match(Ys),n&&r.length<4&&(r[3]=1),r}else r=e.match(Js)||Hl.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},Gl=function(e){var t=[],n=[],r=-1;return e.split(ql).forEach(function(e){var i=e.match(Xs)||[];t.push.apply(t,i),n.push(r+=i.length+1)}),t.c=n,t},Kl=function(e,t,n){var r=``,i=(e+r).match(ql),a=t?`hsla(`:`rgba(`,o=0,s,c,l,u;if(!i)return e;if(i=i.map(function(e){return(e=Wl(e,t,1))&&a+(t?e[0]+`,`+e[1]+`%,`+e[2]+`%,`+e[3]:e.join(`,`))+`)`}),n&&(l=Gl(e),s=n.c,s.join(r)!==l.c.join(r)))for(c=e.replace(ql,`1`).split(Xs),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(ql),u=c.length-1;o<u;o++)r+=c[o]+i[o];return r+c[u]},ql=function(){var e=`(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b`,t;for(t in Hl)e+=`|`+t+`\\b`;return RegExp(e+`)`,`gi`)}(),Jl=/hsl[a]?\(/,Yl=function(e){var t=e.join(` `),n;if(ql.lastIndex=0,ql.test(t))return n=Jl.test(t),e[1]=Kl(e[1],n),e[0]=Kl(e[0],n,Gl(e[1])),!0},Xl,Zl=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(){oc&&(!nc&&Hs()&&(tc=nc=window,rc=tc.document||{},ic.gsap=$u,(tc.gsapVersions||(tc.gsapVersions=[])).push($u.version),sc(ac||tc.GreenSockGlobals||!tc.gsap&&tc||{}),Bl.forEach(Vl)),u=typeof requestAnimationFrame<`u`&&requestAnimationFrame,c&&d.sleep(),l=u||function(e){return setTimeout(e,o-d.time*1e3+1|0)},Xl=1,m(2))},sleep:function(){(u?cancelAnimationFrame:clearTimeout)(c),Xl=0,l=dc},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),Ql(),r},remove:function(e,t){~(t=s.indexOf(e))&&s.splice(t,1)&&p>=t&&p--},_listeners:s},d}(),Ql=function(){return!Xl&&Zl.wake()},Z={},$l=/^[\d.\-M][\d.\-,\s]/,eu=/["']/g,tu=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(eu,``).trim():+c,r=s.substr(o+1).trim();return t},nu=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)},ru=function(e){var t=(e+``).split(`(`),n=Z[t[0]];return n&&t.length>1&&n.config?n.config.apply(null,~e.indexOf(`{`)?[tu(t[1])]:nu(e).split(`,`).map(Nc)):Z._CE&&$l.test(e)?Z._CE(``,e):n},iu=function(e){return function(t){return 1-e(1-t)}},au=function(e,t){return e&&(K(e)?e:Z[e]||ru(e))||t},ou=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 Dc(e,function(e){for(var t in Z[e]=ic[e]=i,Z[a=e.toLowerCase()]=n,i)Z[a+(t===`easeIn`?`.in`:t===`easeOut`?`.out`:`.inOut`)]=Z[e+`.`+t]=i[t]}),i},su=function(e){return function(t){return t<.5?(1-e(1-t*2))/2:.5+e((t-.5)*2)/2}},cu=function e(t,n,r){var i=n>=1?n:1,a=(r||(t?.3:.45))/(n<1?n:1),o=a/Ms*(Math.asin(1/i)||0),s=function(e){return e===1?1:i*2**(-10*e)*Ls((e-o)*a)+1},c=t===`out`?s:t===`in`?function(e){return 1-s(1-e)}:su(s);return a=Ms/a,c.config=function(n,r){return e(t,n,r)},c},lu=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)}:su(r);return i.config=function(n){return e(t,n)},i};Dc(`Linear,Quad,Cubic,Quart,Quint,Strong`,function(e,t){var n=t<5?t+1:t;ou(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,ou(`Elastic`,cu(`in`),cu(`out`),cu()),(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};ou(`Bounce`,function(e){return 1-a(1-e)},a)})(7.5625,2.75),ou(`Expo`,function(e){return 2**(10*(e-1))*e+e*e*e*e*e*e*(1-e)}),ou(`Circ`,function(e){return-(Fs(1-e*e)-1)}),ou(`Sine`,function(e){return e===1?1:-Is(e*Ns)+1}),ou(`Back`,lu(`in`),lu(`out`),lu()),Z.SteppedEase=Z.steps=ic.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*ml(0,a,e)|0)+i)*n}}},Os.ease=Z[`quad.out`],Dc(`onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt`,function(e){return Cc+=e+`,`+e+`Params,`});var uu=function(e,t){this.id=Ps++,e._gsap=this,this.target=e,this.harness=t,this.get=t?t.get:Ec,this.set=t?t.getSetter:Au},du=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,cl(this,+e.duration,1,1),this.data=e.data,U&&(this._ctx=U,U.data.push(this)),Xl||Zl.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,cl(this,this._repeat<0?e:(e-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},t.totalTime=function(e,t){if(Ql(),!arguments.length)return this._tTime;var n=this._dp;if(n&&n.smoothChildTiming&&this._ts){for($c(this,e),!n._dp||n.parent||el(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)&&tl(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),Mc(this,e,t)),this},t.time=function(e,t){return arguments.length?this.totalTime(Math.min(this.totalDuration(),e+Yc(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)+Yc(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?Xc(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?Zc(this.parent._time,this):this._tTime;return this._rts=+e||0,this._ts=this._ps||e===-W?0:this._rts,this.totalTime(ml(-Math.abs(this._delay),this.totalDuration(),n),t!==!1),Qc(this),Kc(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):(Ql(),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)&&tl(t,this,this._start-this._delay),this}return this._start},t.endTime=function(e){return this._start+(Vs(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?Zc(t.rawTime(e),this):this._tTime:this._tTime},t.revert=function(e){e===void 0&&(e=mc);var t=As;return As=e,jc(this)&&(this.timeline&&this.timeline.revert(e),this.totalTime(-.01,e.suppressEvents)),this.data!==`nested`&&e.kill!==!1&&this.kill(),As=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,ll(this)):this._repeat===-2?1/0:this._repeat},t.repeatDelay=function(e){if(arguments.length){var t=this._time;return this._rDelay=e,ll(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(dl(this,e),Vs(t))},t.restart=function(e,t){return this.play().totalTime(e?-this._delay:0,Vs(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:Pc,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(){Rl(this)},e}();Fc(du.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 fu=function(e){Es(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=Vs(t.sortChildren),q&&tl(t.parent||q,Ts(r),n),t.reversed&&r.reverse(),t.paused&&r.paused(!0),t.scrollTrigger&&nl(Ts(r),t.scrollTrigger),r}var n=t.prototype;return n.to=function(e,t,n){return fl(0,arguments,this),this},n.from=function(e,t,n){return fl(1,arguments,this),this},n.fromTo=function(e,t,n,r){return fl(2,arguments,this),this},n.set=function(e,t,n){return t.duration=0,t.parent=this,Bc(t).repeatDelay||(t.repeat=0),t.immediateRender=!!t.immediateRender,new Q(e,t,dl(this,n),1),this},n.call=function(e,t,n){return tl(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,dl(this,i)),this},n.staggerFrom=function(e,t,n,r,i,a,o){return n.runBackwards=1,Bc(n).immediateRender=Vs(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,Bc(r).immediateRender=Vs(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)),_=Xc(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&&Ll(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=sl(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&&!_&&(Ll(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||As&&jc(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,Qc(this),this.render(e,t,n);this._onUpdate&&!t&&Ll(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)&&Wc(this,1),!t&&!(e<0&&!r)&&(o||r||!i)&&(Ll(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(Rs(t)||(t=dl(this,t,e)),!(e instanceof du)){if(Gs(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:tl(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=-js);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&&Uc(this,e),e===this._recent&&(this._recent=this._last),Gc(this))},n.totalTime=function(t,n){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=Y(Zl.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]=dl(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||dc,n);return r.data=`isPause`,this._hasPause=1,tl(this,r,dl(this,e))},n.removePause=function(e){var t=this._first;for(e=dl(this,e);t;)t._start===e&&t.data===`isPause`&&Wc(t),t=t._next},n.killTweensOf=function(e,t,n){for(var r=this.getTweensOf(e,n),i=r.length;i--;)_u!==r[i]&&r[i].kill(e,t);return this},n.getTweensOf=function(e,t){for(var n=[],r=bl(e),i=this._first,a=Rs(t),o;i;)i instanceof Q?kc(i._targets,r)&&(a?(!_u||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=dl(n,e),i=t,a=i.startAt,o=i.onStart,s=i.onStartParams,c=i.immediateRender,l,u=Q.to(n,Fc({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&&cl(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,Fc({startAt:{time:dl(this,e)}},n))},n.recent=function(){return this._recent},n.nextLabel=function(e){return e===void 0&&(e=this._time),Il(this,dl(this,e))},n.previousLabel=function(e){return e===void 0&&(e=this._time),Il(this,dl(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 Gc(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={}),Gc(this)},n.totalDuration=function(e){var t=0,n=this,r=n._last,i=js,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,tl(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;cl(n,n===q&&n._time>t?n._time:t,1,1),n._dirty=0}return n._tDur},t.updateRoot=function(e){if(q._ts&&(Mc(q,Zc(e,q)),vc=Zl.frame),Zl.frame>=xc){xc+=Ds.autoSleep||120;var t=q._first;if((!t||!t._ts)&&Ds.autoSleep&&Zl._listeners.length<2){for(;t&&!t._ts;)t=t._next;t||Zl.sleep()}}},t}(du);Fc(fu.prototype,{_lock:0,_hasPause:0,_forcing:0});var pu=function(e,t,n,r,i,a,o){var s=new zu(this._pt,e,t,0,1,Nu,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=Nl(r)),a&&(_=[n,r],a(_,e,t),n=_[0],r=_[1]),d=n.match(Zs)||[];u=Zs.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)===`=`?Oc(h,p)-h:parseFloat(p)-h,m:f&&f<4?Math.round:0},c=Zs.lastIndex);return s.c=c<r.length?r.substring(c,r.length):``,s.fp=o,(Qs.test(r)||g)&&(s.e=0),this._pt=s,s},mu=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?Ou:Du:Eu,p;if(G(r)&&(~r.indexOf(`random(`)&&(r=Nl(r)),r.charAt(1)===`=`&&(p=Oc(d,r)+(hl(d)||0),(p||p===0)&&(r=p))),!l||d!==r||vu)return!isNaN(d*r)&&r!==``?(p=new zu(this._pt,e,t,+d||0,r-(d||0),typeof u==`boolean`?Mu:ju,0,f),c&&(p.fp=c),o&&p.modifier(o,this,e),this._pt=p):(!u&&!(t in e)&&cc(t,r),pu.call(this,e,t,d,r,f,s||Ds.stringFilter,c))},hu=function(e,t,n,r,i){if(K(e)&&(e=Cu(e,i,t,n,r)),!Bs(e)||e.style&&e.nodeType||Gs(e)||Ws(e))return G(e)?Cu(e,i,t,n,r):e;var a={},o;for(o in e)a[o]=Cu(e[o],i,t,n,r);return a},gu=function(e,t,n,r,i,a){var o,s,c,l;if(yc[e]&&(o=new yc[e]).init(i,o.rawVars?t[e]:hu(t[e],r,i,a,n),n,r,a)!==!1&&(n._pt=s=new zu(n._pt,i,e,0,1,o.render,o,0,o.priority),n!==zl))for(c=n._ptLookup[n._targets.indexOf(i)],l=o._props.length;l--;)c[o._props[l]]=s;return o},_u,vu,yu=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`&&!ks,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=au(a,Os.ease),t._rEase=x&&(au(x)||t._ease),t._from=!b&&!!i.runBackwards,t._from&&(t.ratio=1),!b||f&&!i.stagger){if(k=g[0]?Tc(g[0]).harness:0,N=k&&i[k.prop],S=zc(i,hc),h&&(h._zTime<0&&h.progress(1),n<0&&u&&s&&!p?h.render(-1,!0):h.revert(u&&m?pc:fc),h._lazy=0),o){if(Wc(t._startAt=Q.set(g,Fc({data:`isStart`,overwrite:!1,parent:_,immediateRender:!0,lazy:!h&&Vs(c),startAt:null,delay:0,onUpdate:l&&function(){return Ll(t,`onUpdate`)},stagger:0},o))),t._startAt._dp=0,t._startAt._sat=t,n<0&&(As||!s&&!p)&&t._startAt.revert(pc),s&&m&&n<=0&&r<=0){n&&(t._zTime=n);return}}else if(u&&m&&!h){if(n&&(s=!1),w=Fc({overwrite:!1,data:`isFromStart`,lazy:s&&!h&&Vs(c),immediateRender:s,stagger:0,parent:_},S),N&&(w[k.prop]=N),Wc(t._startAt=Q.set(g,w)),t._startAt._dp=0,t._startAt._sat=t,n<0&&(As?t._startAt.revert(pc):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&&Vs(c)||c&&!m,C=0;C<g.length;C++){if(E=g[C],O=E._gsap||wc(g)[C]._gsap,t._ptLookup[C]=j={},_c[O.id]&&gc.length&&Ac(),M=v===g?C:v.indexOf(E),k&&(A=new k).init(E,N||S,t,M,v)!==!1&&(t._pt=T=new zu(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)yc[w]&&(A=gu(w,S,t,M,E,v))?A.priority&&(D=1):j[w]=T=mu.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&&(_u=t,q.killTweensOf(E,j,t.globalTime(n)),ee=!t.parent,_u=0),t._pt&&c&&(_c[O.id]=1)}D&&Ru(t),t._onInit&&t._onInit(t)}t._onUpdate=l,t._initted=(!t._op||t._pt)&&!ee,f&&n<=0&&b.render(js,!0,!0)},bu=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 vu=1,e.vars[t]=`+=0`,yu(e,o),vu=0,s?lc(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&&(u.e=J(n)+hl(u.e)),u.b&&(u.b=l.s+hl(u.b))},xu=function(e,t){var n=e[0]?Tc(e[0]).harness:0,r=n&&n.aliases,i,a,o,s;if(!r)return t;for(a in i=Lc({},t),r)if(a in i)for(s=r[a].split(`,`),o=s.length;o--;)i[s[o]]=i[a];return i},Su=function(e,t,n,r){var i=t.ease||r||`power1.inOut`,a,o;if(Gs(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})},Cu=function(e,t,n,r,i){return K(e)?e.call(t,n,r,i):G(e)&&~e.indexOf(`random(`)?Nl(e):e},wu=Cc+`repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,easeReverse,autoRevert`,Tu={};Dc(wu+`,id,stagger,delay,duration,paused,scrollTrigger`,function(e){return Tu[e]=1});var Q=function(e){Es(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:Bc(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=(Gs(t)||Ws(t)?Rs(t[0]):`length`in n)?[t]:bl(t),_,v,y,b,x,S,C,w;if(a._targets=g.length?wc(g):lc(`GSAP target `+t+` not found. https://gsap.com`,!Ds.nullTargetWarn)||[],a._ptLookup=[],a._overwrite=d,f||u||Us(s)||Us(c)){n=a.vars;var T=n.easeReverse||n.yoyoEase;if(_=a.timeline=new fu({data:`nested`,defaults:p||{},targets:h&&h.data===`nested`?h.vars.targets:g}),_.kill(),_.parent=_._dp=Ts(a),_._start=0,u||Us(s)||Us(c)){if(b=g.length,C=u&&Cl(u),Bs(u))for(x in u)~wu.indexOf(x)&&(w||={},w[x]=u[x]);for(v=0;v<b;v++)y=zc(n,Tu),y.stagger=0,T&&(y.easeReverse=T),w&&Lc(y,w),S=g[v],y.duration=+Cu(s,Ts(a),v,S,g),y.delay=(+Cu(c,Ts(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){Bc(Fc(_.vars.defaults,{ease:`none`})),_._ease=au(f.ease||n.ease||`none`);var E=0,D,O,k;if(Gs(f))f.forEach(function(e){return _.to(g,e,`>`)}),_.duration();else{for(x in y={},f)x===`ease`||x===`easeEach`||Su(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&&!ks&&(_u=Ts(a),q.killTweensOf(g),_u=0),tl(h,Ts(a),r),n.reversed&&a.reverse(),n.paused&&a.paused(!0),(l||!s&&!f&&a._start===Y(h._time)&&Vs(l)&&Jc(Ts(a))&&h.data!==`nested`)&&(a._tTime=-W,a.render(Math.max(0,-c)||0)),m&&nl(Ts(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)ol(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=Xc(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(rl(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&&(Ll(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&&qc(this,e,t,n),Ll(this,`onUpdate`)),this._repeat&&u!==f&&this.vars.onRepeat&&!t&&this.parent&&Ll(this,`onRepeat`),(s===this._tDur||!s)&&this._tTime===s&&(o&&!this._onUpdate&&qc(this,e,!0,!0),(e||!a)&&(s===this._tDur&&this._ts>0||!s&&this._ts<0)&&Wc(this,1),!t&&!(o&&!r)&&(s||r||p)&&(Ll(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){Xl||Zl.wake(),this._ts||this.play();var a=Math.min(this._dur,(this._dp._time-this._start)*this._ts),o;return this._initted||yu(this,a),o=this._ease(a/this._dur),bu(this,e,t,n,r,o,a,i)?this.resetTo(e,t,n,r,1):($c(this,0),this.parent||Hc(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?Rl(this):this.scrollTrigger&&this.scrollTrigger.kill(!!As),this;if(this.timeline){var n=this.timeline.totalDuration();return this.timeline.killTweensOf(e,t,_u&&_u.vars.overwrite!==!0)._first||Rl(this),this.parent&&n!==this.timeline.totalDuration()&&cl(this,this._dur*this.timeline._tDur/n,0,1),this}var r=this._targets,i=e?bl(e):r,a=this._ptLookup,o=this._pt,s,c,l,u,d,f,p;if((!t||t===`all`)&&Vc(r,i))return t===`all`&&(this._pt=0),Rl(this);for(s=this._op=this._op||[],t!==`all`&&(G(t)&&(d={},Dc(t,function(e){return d[e]=1}),t=d),t=xu(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)&&Uc(this,f,`_pt`),delete c[d]),l!==`all`&&(l[d]=1);return this._initted&&!this._pt&&o&&Rl(this),this},t.to=function(e,n){return new t(e,n,arguments[2])},t.from=function(e,t){return fl(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 fl(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}(du);Fc(Q.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),Dc(`staggerTo,staggerFrom,staggerFromTo`,function(e){Q[e]=function(){var t=new fu,n=_l.call(arguments,0);return n.splice(e===`staggerFromTo`?5:4,0,0),t[e].apply(t,n)}});var Eu=function(e,t,n){return e[t]=n},Du=function(e,t,n){return e[t](n)},Ou=function(e,t,n,r){return e[t](r.fp,n)},ku=function(e,t,n){return e.setAttribute(t,n)},Au=function(e,t){return K(e[t])?Du:zs(e[t])&&e.setAttribute?ku:Eu},ju=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e6)/1e6,t)},Mu=function(e,t){return t.set(t.t,t.p,!!(t.s+t.c*e),t)},Nu=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)},Pu=function(e,t){for(var n=t._pt;n;)n.r(e,n.d),n=n._next},Fu=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},Iu=function(e){for(var t=this._pt,n,r;t;)r=t._next,t.p===e&&!t.op||t.op===e?Uc(this,t,`_pt`):t.dep||(n=1),t=r;return!n},Lu=function(e,t,n,r){r.mSet(e,t,r.m.call(r.tween,n,r.mt),r)},Ru=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},zu=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||ju,this.d=o||this,this.set=s||Eu,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=Lu,this.m=e,this.mt=n,this.tween=t},e}();Dc(Cc+`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 hc[e]=1}),ic.TweenMax=ic.TweenLite=Q,ic.TimelineLite=ic.TimelineMax=fu,q=new fu({sortChildren:!1,defaults:Os,autoRemoveChildren:!0,id:`root`,smoothChildTiming:!0}),Ds.stringFilter=Yl;var Bu=[],Vu={},Hu=[],Uu=0,Wu=0,Gu=function(e){return(Vu[e]||Hu).map(function(e){return e()})},Ku=function(){var e=Date.now(),t=[];e-Uu>2&&(Gu(`matchMediaInit`),Bu.forEach(function(e){var n=e.queries,r=e.conditions,i,a,o,s;for(a in n)i=tc.matchMedia(n[a]).matches,i&&(o=1),i!==r[a]&&(r[a]=i,s=1);s&&(e.revert(),o&&t.push(e))}),Gu(`matchMediaRevert`),t.forEach(function(e){return e.onMatch(e,function(t){return e.add(null,t)})}),Uu=e,Gu(`matchMedia`))},qu=function(){function e(e,t){this.selector=t&&xl(t),this.data=[],this._r=[],this.isReverted=!1,this.id=Wu++,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=xl(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 fu?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=Bu.length;r--;)Bu[r].id===this.id&&Bu.splice(r,1)},t.revert=function(e){this.kill(e||{})},e}(),Ju=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){Bs(e)||(e={matches:e});var r=new qu(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=tc.matchMedia(e[o]),a&&(Bu.indexOf(r)<0&&Bu.push(r),(i[o]=a.matches)&&(s=1),a.addListener?a.addListener(Ku):a.addEventListener(`change`,Ku)));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}(),Yu={registerPlugin:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];t.forEach(function(e){return Vl(e)})},timeline:function(e){return new fu(e)},getTweensOf:function(e,t){return q.getTweensOf(e,t)},getProperty:function(e,t,n,r){G(e)&&(e=bl(e)[0]);var i=Tc(e||{}).get,a=n?Pc:Nc;return n===`native`&&(n=``),e&&(t?a((yc[t]&&yc[t].get||i)(e,t,n,r)):function(t,n,r){return a((yc[t]&&yc[t].get||i)(e,t,n,r))})},quickSetter:function(e,t,n){if(e=bl(e),e.length>1){var r=e.map(function(e){return $u.quickSetter(e,t,n)}),i=r.length;return function(e){for(var t=i;t--;)r[t](e)}}e=e[0]||{};var a=yc[t],o=Tc(e),s=o.harness&&(o.harness.aliases||{})[t]||t,c=a?function(t){var r=new a;zl._pt=0,r.init(e,n?t+n:t,zl,0,[e]),r.render(1,r),zl._pt&&Pu(1,zl)}: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=$u.to(e,Fc((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=au(e.ease,Os.ease)),Rc(Os,e||{})},config:function(e){return Rc(Ds,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&&!yc[e]&&!ic[e]&&lc(t+` effect requires `+e+` plugin.`)}),bc[t]=function(e,t,r){return n(bl(e),Fc(t||{},i),r)},a&&(fu.prototype[t]=function(e,n,r){return this.add(bc[t](e,Bs(n)?n:(r=n)&&{},this),r)})},registerEase:function(e,t){Z[e]=au(t)},parseEase:function(e,t){return arguments.length?au(e,t):Z},getById:function(e){return q.getById(e)},exportRoot:function(e,t){e===void 0&&(e={});var n=new fu(e),r,i;for(n.smoothChildTiming=Vs(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]))&&tl(n,r,r._start-r._delay),r=i;return tl(q,n,0),n},context:function(e,t){return e?new qu(e,t):U},matchMedia:function(e){return new Ju(e)},matchMediaRefresh:function(){return Bu.forEach(function(e){var t=e.conditions,n,r;for(r in t)t[r]&&(t[r]=!1,n=1);n&&e.revert()})||Ku()},addEventListener:function(e,t){var n=Vu[e]||(Vu[e]=[]);~n.indexOf(t)||n.push(t)},removeEventListener:function(e,t){var n=Vu[e],r=n&&n.indexOf(t);r>=0&&n.splice(r,1)},utils:{wrap:jl,wrapYoyo:Ml,distribute:Cl,random:El,snap:Tl,normalize:kl,getUnit:hl,clamp:gl,splitColor:Wl,toArray:bl,selector:xl,mapRange:Pl,pipe:Dl,unitize:Ol,interpolate:Fl,shuffle:Sl},install:sc,effects:bc,ticker:Zl,updateRoot:fu.updateRoot,plugins:yc,globalTimeline:q,core:{PropTween:zu,globals:uc,Tween:Q,Timeline:fu,Animation:du,getCache:Tc,_removeLinkedListItem:Uc,reverting:function(){return As},context:function(e){return e&&U&&(U.data.push(e),e._ctx=U),U},suppressOverwrites:function(e){return ks=e}}};Dc(`to,from,fromTo,delayedCall,set,killTweensOf`,function(e){return Yu[e]=Q[e]}),Zl.add(fu.updateRoot),zl=Yu.to({},{duration:0});var Xu=function(e,t){for(var n=e._pt;n&&n.p!==t&&n.op!==t&&n.fp!==t;)n=n._next;return n},Zu=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=Xu(a,r)),a&&a.modifier&&a.modifier(t[r],e,n[i],r))},Qu=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={},Dc(n,function(e){return r[e]=1}),n=r),t){for(i in r={},n)r[i]=t(n[i]);n=r}Zu(e,n)}}}},$u=Yu.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;)As?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)}},Qu(`roundProps`,wl),Qu(`modifiers`),Qu(`snap`,Tl))||Yu;Q.version=fu.version=$u.version=`3.15.0`,oc=1,Hs()&&Ql(),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 ed,td,nd,rd,id,ad,od,sd=function(){return typeof window<`u`},cd={},ld=180/Math.PI,ud=Math.PI/180,dd=Math.atan2,fd=1e8,pd=/([A-Z])/g,md=/(left|right|width|margin|padding|x)/i,hd=/[\s,\(]\S/,gd={autoAlpha:`opacity,visibility`,scale:`scaleX,scaleY`,alpha:`opacity`},_d=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e4)/1e4+t.u,t)},vd=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)},yd=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)},bd=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)},xd=function(e,t){var n=t.s+t.c*e;t.set(t.t,t.p,~~(n+(n<0?-.5:.5))+t.u,t)},Sd=function(e,t){return t.set(t.t,t.p,e?t.e:t.b,t)},Cd=function(e,t){return t.set(t.t,t.p,e===1?t.e:t.b,t)},wd=function(e,t,n){return e.style[t]=n},Td=function(e,t,n){return e.style.setProperty(t,n)},Ed=function(e,t,n){return e._gsap[t]=n},Dd=function(e,t,n){return e._gsap.scaleX=e._gsap.scaleY=n},Od=function(e,t,n,r,i){var a=e._gsap;a.scaleX=a.scaleY=n,a.renderTransform(i,a)},kd=function(e,t,n,r,i){var a=e._gsap;a[t]=n,a.renderTransform(i,a)},$=`transform`,Ad=$+`Origin`,jd=function e(t,n){var r=this,i=this.target,a=i.style,o=i._gsap;if(t in cd&&a){if(this.tfm=this.tfm||{},t!==`transform`)t=gd[t]||t,~t.indexOf(`,`)?t.split(`,`).forEach(function(e){return r.tfm[e]=Xd(i,e)}):this.tfm[t]=o.x?o[t]:Xd(i,t),t===Ad&&(this.tfm.zOrigin=o.zOrigin);else return gd.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(Ad,n,``)),t=$}(a||n)&&this.props.push(t,n,a[t])},Md=function(e){e.translate&&(e.removeProperty(`translate`),e.removeProperty(`scale`),e.removeProperty(`rotate`))},Nd=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(pd,`-$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=od(),(!i||!i.isStart)&&!n[$]&&(Md(n),r.zOrigin&&n[Ad]&&(n[Ad]+=` `+r.zOrigin+`px`,r.zOrigin=0,r.renderTransform()),r.uncache=1)}},Pd=function(e,t){var n={target:e,props:[],revert:Nd,save:jd};return e._gsap||$u.core.getCache(e),t&&e.style&&e.nodeType&&t.split(`,`).forEach(function(e){return n.save(e)}),n},Fd,Id=function(e,t){var n=td.createElementNS?td.createElementNS((t||`http://www.w3.org/1999/xhtml`).replace(/^https/,`http`),e):td.createElement(e);return n&&n.style?n:td.createElement(e)},Ld=function e(t,n,r){var i=getComputedStyle(t);return i[n]||i.getPropertyValue(n.replace(pd,`-$1`).toLowerCase())||i.getPropertyValue(n)||!r&&e(t,zd(n)||n,1)||``},Rd=`O,Moz,ms,Ms,Webkit`.split(`,`),zd=function(e,t,n){var r=(t||id).style,i=5;if(e in r&&!n)return e;for(e=e.charAt(0).toUpperCase()+e.substr(1);i--&&!(Rd[i]+e in r););return i<0?null:(i===3?`ms`:i>=0?Rd[i]:``)+e},Bd=function(){sd()&&window.document&&(ed=window,td=ed.document,nd=td.documentElement,id=Id(`div`)||{style:{}},Id(`div`),$=zd($),Ad=$+`Origin`,id.style.cssText=`border-width:0;line-height:0;position:absolute;padding:0`,Fd=!!zd(`perspective`),od=$u.core.reverting,rd=1)},Vd=function(e){var t=e.ownerSVGElement,n=Id(`svg`,t&&t.getAttribute(`xmlns`)||`http://www.w3.org/2000/svg`),r=e.cloneNode(!0),i;r.style.display=`block`,n.appendChild(r),nd.appendChild(n);try{i=r.getBBox()}catch{}return n.removeChild(r),nd.removeChild(n),i},Hd=function(e,t){for(var n=t.length;n--;)if(e.hasAttribute(t[n]))return e.getAttribute(t[n])},Ud=function(e){var t,n;try{t=e.getBBox()}catch{t=Vd(e),n=1}return t&&(t.width||t.height)||n||(t=Vd(e)),t&&!t.width&&!t.x&&!t.y?{x:+Hd(e,[`x`,`cx`,`x1`])||0,y:+Hd(e,[`y`,`cy`,`y1`])||0,width:0,height:0}:t},Wd=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&Ud(e))},Gd=function(e,t){if(t){var n=e.style,r;t in cd&&t!==Ad&&(t=$),n.removeProperty?(r=t.substr(0,2),(r===`ms`||t.substr(0,6)===`webkit`)&&(t=`-`+t),n.removeProperty(r===`--`?t:t.replace(pd,`-$1`).toLowerCase())):n.removeAttribute(t)}},Kd=function(e,t,n,r,i,a){var o=new zu(e._pt,t,n,0,1,a?Cd:Sd);return e._pt=o,o.b=r,o.e=i,e._props.push(n),o},qd={deg:1,rad:1,turn:1},Jd={grid:1,flex:1},Yd=function e(t,n,r,i){var a=parseFloat(r)||0,o=(r+``).trim().substr((a+``).length)||`px`,s=id.style,c=md.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||qd[i]||qd[o])return a;if(o!==`px`&&!f&&(a=e(t,n,r,`px`)),_=t.getCTM&&Wd(t),(p||o===`%`)&&(cd[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===td||!h.appendChild)&&(h=td.body),g=h._gsap,g&&p&&g.width&&c&&g.time===Zl.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:Gd(t,n)}else(p||o===`%`)&&!Jd[Ld(h,`display`)]&&(s.position=Ld(t,`position`)),h===t&&(s.position=`static`),h.appendChild(id),m=id[u],h.removeChild(id),s.position=`absolute`;return c&&p&&(g=Tc(h),g.time=Zl.time,g.width=h[u]),J(f?m*a/d:m&&a?d/m*a:0)},Xd=function(e,t,n,r){var i;return rd||Bd(),t in gd&&t!==`transform`&&(t=gd[t],~t.indexOf(`,`)&&(t=t.split(`,`)[0])),cd[t]&&t!==`transform`?(i=lf(e,r),i=t===`transformOrigin`?i.svg?i.origin:uf(Ld(e,Ad))+` `+i.zOrigin+`px`:i[t]):(i=e.style[t],(!i||i===`auto`||r||~(i+``).indexOf(`calc(`))&&(i=tf[t]&&tf[t](e,t,n)||Ld(e,t)||Ec(e,t)||+(t===`opacity`))),n&&!~(i+``).trim().indexOf(` `)?Yd(e,t,i,n)+n:i},Zd=function(e,t,n,r){if(!n||n===`none`){var i=zd(t,e,1),a=i&&Ld(e,i,1);a&&a!==n?(t=i,n=a):t===`borderColor`&&(n=Ld(e,`borderTopColor`))}var o=new zu(this._pt,e.style,t,0,1,Nu),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=Ld(e,r.substring(4,r.indexOf(`)`)))),r===`auto`&&(m=e.style[t],e.style[t]=r,r=Ld(e,t)||r,m?e.style[t]=m:Gd(e,t)),l=[n,r],Yl(l),n=l[0],r=l[1],d=n.match(Xs)||[],b=r.match(Xs)||[],b.length){for(;u=Xs.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=Oc(f,h)+y),g=parseFloat(h),v=h.substr((g+``).length),s=Xs.lastIndex-v.length,v||(v=v||Ds.units[t]||y,s===r.length&&(r+=v,o.e+=v)),y!==v&&(f=Yd(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`?Cd:Sd;return Qs.test(r)&&(o.e=0),this._pt=o,o},Qd={top:`0%`,bottom:`100%`,left:`0%`,right:`100%`,center:`50%`},$d=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]=Qd[n]||n,t[1]=Qd[r]||r,t.join(` `)},ef=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],cd[o]&&(s=1,o=o===`transformOrigin`?Ad:$),Gd(n,o);s&&(Gd(n,$),a&&(a.svg&&n.removeAttribute(`transform`),r.scale=r.rotate=r.translate=`none`,lf(n,1),a.uncache=1,Md(r)))}},tf={clearProps:function(e,t,n,r,i){if(i.data!==`isFromStart`){var a=e._pt=new zu(e._pt,t,n,0,0,ef);return a.u=r,a.pr=-10,a.tween=i,e._props.push(n),1}}},nf=[1,0,0,1,0,0],rf={},af=function(e){return e===`matrix(1, 0, 0, 1, 0, 0)`||e===`none`||!e},of=function(e){var t=Ld(e,$);return af(t)?nf:t.substr(7).match(Ys).map(J)},sf=function(e,t){var n=e._gsap||Tc(e),r=e.style,i=of(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`?nf:i):(i===nf&&!e.offsetParent&&e!==nd&&!n.svg&&(s=r.display,r.display=`block`,a=e.parentNode,(!a||!e.offsetParent&&!e.getBoundingClientRect().width)&&(c=1,o=e.nextElementSibling,nd.appendChild(e)),i=of(e),s?r.display=s:Gd(e,`display`),c&&(o?a.insertBefore(e,o):a?a.appendChild(e):nd.removeChild(e))),t&&i.length>6?[i[0],i[1],i[4],i[5],i[12],i[13]]:i)},cf=function(e,t,n,r,i,a){var o=e._gsap,s=i||sf(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!==nf&&(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=Ud(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[Ad]=`0px 0px`,a&&(Kd(a,o,`xOrigin`,c,y),Kd(a,o,`yOrigin`,l,b),Kd(a,o,`xOffset`,u,o.xOffset),Kd(a,o,`yOffset`,d,o.yOffset)),e.setAttribute(`data-svg-origin`,y+` `+b)},lf=function(e,t){var n=e._gsap||new uu(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=Ld(e,Ad)||`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&&Wd(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=sf(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`),cf(e,M||c,!!M||n.originIsAbsolute,n.smooth!==!1,S)),b=n.xOrigin||0,x=n.yOrigin||0,S!==nf&&(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?dd(D,E)*ld:0,_=O||k?dd(O,k)*ld+m:0,_&&(p*=Math.abs(Math.cos(_*ud))),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=dd(ae,ne),h=C*ld,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=dd(-O,ne),g=C*ld,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=dd(D,E),m=C*ld,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=dd(A,j),_=Math.abs(C)>2e-4?C*ld:0,y=ie?1/(ie<0?-ie:ie):0),n.svg&&(M=e.getAttribute(`transform`),n.forceCSS=e.setAttribute(`transform`,``)||!af(Ld(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[Ad]=uf(c)),n.xOffset=n.yOffset=0,n.force3D=Ds.force3D,n.renderTransform=n.svg?_f:Fd?gf:ff,n.uncache=0,n},uf=function(e){return(e=e.split(` `))[0]+` `+e[1]},df=function(e,t,n){var r=hl(t);return J(parseFloat(t)+parseFloat(Yd(e,`x`,n+`px`,r)))+r},ff=function(e,t){t.z=`0px`,t.rotationY=t.rotationX=`0deg`,t.force3D=0,gf(e,t)},pf=`0deg`,mf=`0px`,hf=`) `,gf=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!==pf||l!==pf)){var x=parseFloat(l)*ud,S=Math.sin(x),C=Math.cos(x),w;x=parseFloat(u)*ud,w=Math.cos(x),a=df(_,a,S*w*-v),o=df(_,o,-Math.sin(x)*-v),s=df(_,s,C*w*-v+v)}h!==mf&&(y+=`perspective(`+h+hf),(r||i)&&(y+=`translate(`+r+`%, `+i+`%) `),(b||a!==mf||o!==mf||s!==mf)&&(y+=s!==mf||b?`translate3d(`+a+`, `+o+`, `+s+`) `:`translate(`+a+`, `+o+hf),c!==pf&&(y+=`rotate(`+c+hf),l!==pf&&(y+=`rotateY(`+l+hf),u!==pf&&(y+=`rotateX(`+u+hf),(d!==pf||f!==pf)&&(y+=`skew(`+d+`, `+f+hf),(p!==1||m!==1)&&(y+=`scale(`+p+`, `+m+hf),_.style[$]=y||`translate(0, 0)`},_f=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*=ud,c*=ud,b=Math.cos(s)*u,x=Math.sin(s)*u,S=Math.sin(s-c)*-d,C=Math.cos(s-c)*d,c&&(l*=ud,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=Yd(f,`x`,a,`px`),y=Yd(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)},vf=function(e,t,n,r,i){var a=360,o=G(i),s=parseFloat(i)*(o&&~i.indexOf(`rad`)?ld: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*fd)%a-~~(s/a)*a:l===`ccw`&&s>0&&(s=(s-a*fd)%a-~~(s/a)*a)),e._pt=u=new zu(e._pt,t,n,r,s,vd),u.e=c,u.u=`deg`,e._props.push(n),u},yf=function(e,t){for(var n in t)e[n]=t[n];return e},bf=function(e,t,n){var r=yf({},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=lf(n,1),Gd(n,$),n.setAttribute(`transform`,c)):(c=getComputedStyle(n)[$],a[$]=t,o=lf(n,1),a[$]=c),cd)c=r[s],l=o[s],c!==l&&i.indexOf(s)<0&&(f=hl(c),p=hl(l),u=f===p?parseFloat(c):Yd(n,s,c,p),d=parseFloat(l),e._pt=new zu(e._pt,o,s,u,d-u,_d),e._pt.u=p||0,e._props.push(s));yf(o,r)};Dc(`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});tf[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 Xd(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 xf={name:`css`,register:Bd,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 rd||Bd(),this.styles=this.styles||Pd(e),C=this.styles.props,this.tween=n,t)if(m!==`autoRound`&&(l=t[m],!(yc[m]&&gu(m,t,n,r,e,i)))){if(f=typeof l,p=tf[m],f===`function`&&(l=l.call(n,r,e,i),f=typeof l),f===`string`&&~l.indexOf(`random(`)&&(l=Nl(l)),p)p(this,e,m,l,n)&&(S=1);else if(m.substr(0,2)===`--`)c=(getComputedStyle(e).getPropertyValue(m)+``).trim(),l+=``,ql.lastIndex=0,ql.test(c)||(h=hl(c),g=hl(l),g?h!==g&&(c=Yd(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=Nl(c)),hl(c+``)||c===`auto`||(c+=Ds.units[m]||hl(Xd(e,m))||``),(c+``).charAt(1)===`=`&&(c=Xd(e,m))):c=Xd(e,m),d=parseFloat(c),_=f===`string`&&l.charAt(1)===`=`&&l.substr(0,2),_&&(l=l.substr(2)),u=parseFloat(l),m in gd&&(m===`autoAlpha`&&(d===1&&Xd(e,`visibility`)===`hidden`&&u&&(d=0),C.push(`visibility`,0,o.visibility),Kd(this,o,`visibility`,d?`inherit`:`hidden`,u?`inherit`:`hidden`,!u)),m!==`scale`&&m!==`transform`&&(m=gd[m],~m.indexOf(`,`)&&(m=m.split(`,`)[0]))),v=m in cd,v){if(this.styles.save(m),w=l,f===`string`&&l.substring(0,6)===`var(--`){if(l=Ld(e,l.substring(4,l.indexOf(`)`))),l.substring(0,5)===`calc(`){var T=e.style.perspective;e.style.perspective=l,l=Ld(e,`perspective`),T?e.style.perspective=T:Gd(e,`perspective`)}u=parseFloat(l)}if(y||(b=e._gsap,b.renderTransform&&!t.parseTransform||lf(e,t.parseTransform),x=t.smoothOrigin!==!1&&b.smooth,y=this._pt=new zu(this._pt,o,$,0,1,b.renderTransform,b,0,-1),y.dep=1),m===`scale`)this._pt=new zu(this._pt,b,`scaleY`,b.scaleY,(_?Oc(b.scaleY,_+u):u)-b.scaleY||0,_d),this._pt.u=0,a.push(`scaleY`,m),m+=`X`;else if(m===`transformOrigin`){C.push(Ad,0,o[Ad]),l=$d(l),b.svg?cf(e,l,0,x,0,this):(g=parseFloat(l.split(` `)[2])||0,g!==b.zOrigin&&Kd(this,b,`zOrigin`,b.zOrigin,g),Kd(this,o,m,uf(c),uf(l)));continue}else if(m===`svgOrigin`){cf(e,l,1,x,0,this);continue}else if(m in rf){vf(this,b,m,d,_?Oc(d,_+l):l);continue}else if(m===`smoothOrigin`){Kd(this,b,`smooth`,b.smooth,l);continue}else if(m===`force3D`){b[m]=l;continue}else if(m===`transform`){bf(this,l,e);continue}}else m in o||(m=zd(m)||m);if(v||(u||u===0)&&(d||d===0)&&!hd.test(l)&&m in o)h=(c+``).substr((d+``).length),u||=0,g=hl(l)||(m in Ds.units?Ds.units[m]:h),h!==g&&(d=Yd(e,m,c,g)),this._pt=new zu(this._pt,v?b:o,m,d,(_?Oc(d,_+u):u)-d,!v&&(g===`px`||m===`zIndex`)&&t.autoRound!==!1?xd:_d),this._pt.u=g||0,v&&w!==l?(this._pt.b=c,this._pt.e=w,this._pt.r=bd):h!==g&&g!==`%`&&(this._pt.b=c,this._pt.r=yd);else if(m in o)Zd.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`){cc(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&&Ru(this)},render:function(e,t){if(t.tween._time||!od())for(var n=t._pt;n;)n.r(e,n.d),n=n._next;else t.styles.revert()},get:Xd,aliases:gd,getSetter:function(e,t,n){var r=gd[t];return r&&r.indexOf(`,`)<0&&(t=r),t in cd&&t!==Ad&&(e._gsap.x||Xd(e,`x`))?n&&ad===n?t===`scale`?Dd:Ed:(ad=n||{})&&(t===`scale`?Od:kd):e.style&&!zs(e.style[t])?wd:~t.indexOf(`-`)?Td:Au(e,t)},core:{_removeProperty:Gd,_getMatrix:sf}};$u.utils.checkPrefix=zd,$u.core.getStyleSaver=Pd,(function(e,t,n,r){var i=Dc(e+`,`+t+`,`+n,function(e){cd[e]=1});Dc(t,function(e){Ds.units[e]=`deg`,rf[e]=1}),gd[i[13]]=e+`,`+t,Dc(r,function(e){var t=e.split(`:`);gd[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`),Dc(`x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective`,function(e){Ds.units[e]=`px`}),$u.registerPlugin(xf);var Sf=$u.registerPlugin(xf)||$u;Sf.core.Tween;var Cf=(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]},wf=({open:e,onOpenChange:t,trigger:n,title:r,description:i,children:a,footer:o,className:s,modalRootSelector:c,duration:f=1,closeIcon:p=(0,u.jsx)(os,{})})=>{let m=(0,l.useRef)(null),h=(0,l.useRef)(null),g=(0,l.useRef)(null),_=(0,l.useRef)(null),v=(0,l.useRef)(null),y=(0,l.useId)(),b=(0,l.useId)(),x=typeof document>`u`?null:(c?document.querySelector(c):null)??document.body,S=(0,l.useCallback)(()=>{let e=m.current,t=h.current;if(!e||!t)return null;let[n,r]=Cf(t,`--modal-opacity`),[i,a]=Cf(t,`--modal-scale`),[o,s]=Cf(t,`--modal-translate-x`),[c,l]=Cf(t,`--modal-translate-y`),u=Sf.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)(()=>{_.current=S()},[S,x]),(0,l.useEffect)(()=>{_.current&&(e?_.current.play():_.current.reverse())},[e,x]),(0,l.useEffect)(()=>{e?(v.current=document.activeElement,g.current?.focus()):(v.current?.focus(),v.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}),x&&(0,d.createPortal)((0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(`div`,{ref:m,className:`vi-modal-overlay`,"aria-hidden":`true`,onClick:()=>t(!1)}),(0,u.jsxs)(`div`,{ref:h,role:`dialog`,"aria-modal":`true`,inert:!e||void 0,"aria-labelledby":r?y:void 0,"aria-describedby":i?b:void 0,className:B(s),children:[(0,u.jsxs)(`button`,{ref:g,className:`vi-modal-close`,onClick:()=>t(!1),"aria-label":`Close`,children:[(0,l.cloneElement)(p,{className:B(`h-4 w-4`,p.props.className)}),(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:y,className:`vi-modal-title`,children:r}),i&&(0,u.jsx)(`p`,{id:b,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})]})]}),x)]})},Tf=(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,removeIcon:p=(0,u.jsx)(os,{}),chevronIcon:m=(0,u.jsx)(ts,{}),checkIcon:h=(0,u.jsx)(es,{})},g)=>{let[_,v]=(0,l.useState)(!1),[y,b]=(0,l.useState)(0),[x,S]=(0,l.useState)(``),C=(0,l.useRef)(null),w=(0,l.useRef)(null),T=(0,l.useId)(),E=`${T}-listbox`,D=(0,l.useMemo)(()=>{if(!d||!x.trim())return e;let t=x.trim().toLowerCase();return e.filter(e=>e.label.toLowerCase().includes(t))},[e,d,x]),O=e=>{let r=t.includes(e)?t.filter(t=>t!==e):[...t,e];n?.(r)},k=(e,r)=>{r.stopPropagation(),n?.(t.filter(t=>t!==e))};(0,l.useEffect)(()=>{if(!_)return;let e=e=>{C.current?.contains(e.target)||v(!1)};return document.addEventListener(`mousedown`,e),()=>document.removeEventListener(`mousedown`,e)},[_]),(0,l.useEffect)(()=>{_&&d&&(S(``),w.current?.focus())},[_,d]),(0,l.useEffect)(()=>{b(0)},[x]);let A=e=>{if(!o)switch(e.key){case`Enter`:if(e.preventDefault(),!_){v(!0);return}D[y]&&!D[y].disabled&&O(D[y].value);break;case` `:if(d&&_)break;if(e.preventDefault(),!_){v(!0);return}D[y]&&!D[y].disabled&&O(D[y].value);break;case`ArrowDown`:if(e.preventDefault(),!_){v(!0);return}b(e=>Math.min(e+1,D.length-1));break;case`ArrowUp`:e.preventDefault(),b(e=>Math.max(e-1,0));break;case`Escape`:case`Tab`:v(!1)}},j=t.slice(0,c),M=t.length-c;return(0,u.jsxs)(`div`,{className:B(`vi-multi-select-container`,s),ref:C,children:[i&&(0,u.jsx)(`label`,{htmlFor:T,className:`vi-multi-select-label`,children:i}),(0,u.jsxs)(`div`,{className:`vi-multi-select-wrapper`,children:[(0,u.jsxs)(`div`,{ref:g,id:T,role:`combobox`,tabIndex:o?-1:0,"aria-expanded":_,"aria-haspopup":`listbox`,"aria-controls":_?E:void 0,"aria-multiselectable":`true`,"aria-disabled":o||void 0,className:B(Zr({variant:`ghost`}),`vi-multi-select-trigger`),onClick:()=>!o&&v(e=>!e),onKeyDown:A,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:[j.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)(Qr,{type:`button`,variant:`ghost`,disabled:o,"aria-label":`Remove ${n}`,className:`vi-multi-select-chip-remove h-auto w-auto p-0`,onClick:e=>k(t,e),children:(0,l.cloneElement)(p,{className:B(`h-3 w-3`,p.props.className)})})]},t)}),M>0&&(0,u.jsxs)(`span`,{className:`vi-multi-select-overflow`,children:[`+`,M]})]})}),(0,l.cloneElement)(m,{className:B(`vi-multi-select-icon`,_&&`vi-multi-select-icon-open`,m.props.className)})]}),_&&(0,u.jsxs)(`div`,{className:`vi-multi-select-dropdown`,children:[d&&!f&&(0,u.jsx)(`input`,{ref:w,type:`text`,className:`vi-multi-select-search`,placeholder:`Search...`,value:x,onChange:e=>S(e.target.value),onKeyDown:A}),f?(0,u.jsx)(Ss,{text:`Loading...`,className:`vi-multi-select-loading`}):(0,u.jsxs)(`ul`,{id:E,role:`listbox`,"aria-multiselectable":`true`,"aria-label":i,className:`vi-multi-select-listbox`,children:[D.length===0&&(0,u.jsx)(`li`,{className:`vi-multi-select-empty`,children:`No options found`}),D.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===y&&`vi-multi-select-option-active`),onMouseEnter:()=>!e.disabled&&b(n),onClick:()=>{e.disabled||O(e.value)},children:[(0,u.jsx)(`span`,{className:B(`vi-multi-select-checkbox`,r&&`vi-multi-select-checkbox-checked`),children:r&&(0,l.cloneElement)(h,{className:B(`h-3 w-3`,h.props.className)})}),e.label]},e.value)})]})]})]}),a&&(0,u.jsx)(`p`,{className:`vi-multi-select-description`,children:a})]})});Tf.displayName=`MultiSelect`;var Ef=(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})]})});Ef.displayName=`Radio`;var Df=(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})]})});Df.displayName=`RadioGroup`;var Of=(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,clearIcon:m=(0,u.jsx)(os,{}),chevronIcon:h=(0,u.jsx)(ts,{}),checkIcon:g=(0,u.jsx)(es,{})},_)=>{let[v,y]=(0,l.useState)(!1),[b,x]=(0,l.useState)(0),[S,C]=(0,l.useState)(``),w=(0,l.useRef)(null),T=(0,l.useRef)(null),E=(0,l.useId)(),D=`${E}-listbox`,O=e.find(e=>e.value===t),k=(0,l.useMemo)(()=>{if(!d||!S.trim())return e;let t=S.trim().toLowerCase();return e.filter(e=>e.label.toLowerCase().includes(t))},[e,d,S]);(0,l.useEffect)(()=>{if(!v)return;let e=e=>{w.current?.contains(e.target)||y(!1)};return document.addEventListener(`mousedown`,e),()=>document.removeEventListener(`mousedown`,e)},[v]),(0,l.useEffect)(()=>{if(v){d&&(C(``),T.current?.focus());let n=e.findIndex(e=>e.value===t);x(n>=0?n:0)}},[v,e,t,d]),(0,l.useEffect)(()=>{x(0)},[S]);let A=e=>{if(!o)switch(e.key){case`Enter`:if(e.preventDefault(),!v){y(!0);return}!k[b]?.disabled&&k[b]&&(n?.(k[b].value),y(!1));break;case` `:if(d&&v)break;if(e.preventDefault(),!v){y(!0);return}!k[b]?.disabled&&k[b]&&(n?.(k[b].value),y(!1));break;case`ArrowDown`:if(e.preventDefault(),!v){y(!0);return}x(e=>{let t=e+1;for(;t<k.length&&k[t].disabled;)t++;return t<k.length?t:e});break;case`ArrowUp`:e.preventDefault(),x(e=>{let t=e-1;for(;t>=0&&k[t].disabled;)t--;return t>=0?t:e});break;case`Escape`:case`Tab`:y(!1)}};return(0,u.jsxs)(`div`,{className:B(`vi-select-container`,s),ref:w,children:[i&&(0,u.jsx)(`label`,{htmlFor:E,className:`vi-select-label`,children:i}),(0,u.jsxs)(`div`,{className:`vi-select-wrapper`,children:[(0,u.jsxs)(`div`,{ref:_,id:E,role:`combobox`,tabIndex:o?-1:0,"aria-expanded":v,"aria-haspopup":`listbox`,"aria-controls":v?D:void 0,"aria-activedescendant":v&&b>=0?`${E}-opt-${b}`:void 0,"aria-disabled":o||void 0,className:B(Zr({variant:`ghost`}),`vi-select-trigger`),onClick:()=>!o&&y(e=>!e),onKeyDown:A,children:[(0,u.jsx)(`span`,{className:B(!O&&`vi-select-placeholder`),children:O?O.label:r}),p&&O&&!o&&(0,u.jsx)(Qr,{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,l.cloneElement)(m,{className:B(`h-3.5 w-3.5`,m.props.className)})}),(0,l.cloneElement)(h,{className:B(`vi-select-icon`,v&&`vi-select-icon-open`,h.props.className)})]}),c&&(0,u.jsx)(`input`,{type:`hidden`,name:c,value:t??``}),v&&(0,u.jsxs)(`div`,{className:`vi-select-dropdown`,children:[d&&!f&&(0,u.jsx)(`input`,{ref:T,type:`text`,className:`vi-select-search`,placeholder:`Search...`,value:S,onChange:e=>C(e.target.value),onKeyDown:A}),f?(0,u.jsx)(Ss,{text:`Loading...`,className:`vi-select-loading`}):(0,u.jsxs)(`ul`,{id:D,role:`listbox`,"aria-label":i,className:`vi-select-listbox`,children:[k.length===0&&(0,u.jsx)(`li`,{className:`vi-select-empty`,children:`No options found`}),k.map((e,r)=>(0,u.jsxs)(`li`,{id:`${E}-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===b&&`vi-select-option-active`),onMouseEnter:()=>!e.disabled&&x(r),onClick:()=>{e.disabled||(n?.(e.value),y(!1))},children:[(0,l.cloneElement)(g,{className:B(`vi-select-check`,g.props.className)}),e.label]},e.value))]})]})]}),a&&(0,u.jsx)(`p`,{className:`vi-select-description`,children:a})]})});Of.displayName=`Select`;var kf=(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})]})});kf.displayName=`Switch`;var Af=(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})}));Af.displayName=`Table`;var jf=(0,l.forwardRef)(({className:e,...t},n)=>(0,u.jsx)(`thead`,{ref:n,className:B(`vi-table-header`,e),...t}));jf.displayName=`TableHeader`;var Mf=(0,l.forwardRef)(({className:e,...t},n)=>(0,u.jsx)(`tbody`,{ref:n,className:B(`vi-table-body`,e),...t}));Mf.displayName=`TableBody`;var Nf=(0,l.forwardRef)(({className:e,...t},n)=>(0,u.jsx)(`tfoot`,{ref:n,className:B(`vi-table-footer`,e),...t}));Nf.displayName=`TableFooter`;var Pf=(0,l.forwardRef)(({className:e,...t},n)=>(0,u.jsx)(`tr`,{ref:n,className:B(`vi-table-row`,e),...t}));Pf.displayName=`TableRow`;var Ff=(0,l.forwardRef)(({className:e,...t},n)=>(0,u.jsx)(`th`,{ref:n,className:B(`vi-table-head`,e),...t}));Ff.displayName=`TableHead`;var If=(0,l.forwardRef)(({className:e,...t},n)=>(0,u.jsx)(`td`,{ref:n,className:B(`vi-table-cell`,e),...t}));If.displayName=`TableCell`;var Lf=(0,l.forwardRef)(({className:e,...t},n)=>(0,u.jsx)(`p`,{ref:n,className:B(`vi-table-caption`,e),...t}));Lf.displayName=`TableCaption`;var Rf=({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)(Qr,{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))]})};Rf.displayName=`Tabs`;var zf=(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})]})});zf.displayName=`Textarea`;var Bf=null,Vf=e=>{Bf=e},Hf={success:(e,t)=>{let n=t!==void 0;Bf?.({variant:`success`,title:n?e:void 0,description:n?t:e})},error:(e,t)=>{let n=t!==void 0;Bf?.({variant:`error`,title:n?e:void 0,description:n?t:e})},warning:(e,t)=>{let n=t!==void 0;Bf?.({variant:`warning`,title:n?e:void 0,description:n?t:e})},info:(e,t)=>{let n=t!==void 0;Bf?.({variant:`info`,title:n?e:void 0,description:n?t:e})},default:(e,t)=>{let n=t!==void 0;Bf?.({variant:`default`,title:n?e:void 0,description:n?t:e})}},Uf=({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)(()=>(Vf(i),()=>{Vf(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)(Wf,{...e},e.id))})]})},Wf=({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})]})})},Gf=(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){Sf.set(e,{strokeDashoffset:m});return}Sf.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})]})});Gf.displayName=`CircularProgressBar`;var Kf=({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,searchIcon:m=(0,u.jsx)(as,{"aria-hidden":`true`}),clearIcon:h=(0,u.jsx)(os,{"aria-hidden":`true`})})=>{let g=e!==void 0,[_,v]=(0,l.useState)(t),y=g?e:_,b=(0,l.useRef)(null),x=(0,l.useRef)(d);(0,l.useEffect)(()=>{x.current=d});let S=(0,l.useId)(),C=(0,l.useRef)(null);(0,l.useEffect)(()=>{let e=ht(e=>x.current?.(e),a);return C.current=e,()=>e.cancel()},[a]);let w=e=>{let t=e.target.value;g||v(t),f?.(e),s||C.current?.(t)},T=()=>{g||v(``),C.current?.cancel(),d?.(``),p?.(),b.current?.focus()},E=e=>{e.key===`Escape`&&y&&(e.preventDefault(),T()),e.key===`Enter`&&s&&(C.current?.cancel(),d?.(y))},D=()=>{C.current?.cancel(),d?.(y)},O=!i&&y.length>0,k=o&&!y&&!i,A=(0,u.jsxs)(`div`,{className:B(`vi-search-input`,r&&`vi-search-input--disabled`,!s&&c),children:[!s&&(0,l.cloneElement)(m,{className:B(`vi-search-input__search-icon`,m.props.className)}),(0,u.jsx)(`input`,{ref:b,id:S,type:`search`,autoComplete:`off`,spellCheck:`false`,value:y,placeholder:n,disabled:r,className:`vi-search-input__field`,onChange:w,onKeyDown:E,"aria-label":n}),k&&(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`}),O&&(0,u.jsx)(`button`,{type:`button`,className:`vi-search-input__clear`,onClick:T,"aria-label":`Clear search`,children:h})]});return s?(0,u.jsxs)(`div`,{className:B(`vi-search-input-group`,c),children:[A,(0,u.jsx)(Qr,{size:`icon`,onClick:D,disabled:r,"aria-label":`Search`,children:m})]}):A},qf=({logo:e,tagline:t,linkGroups:n=[],copyright:r,credits:i,creditsPosition:a=`bottom`,className:o})=>{let s=e||n.length>0,c=i&&a===`top`,l=i&&a===`bottom`,d=r||l,f=s&&(d||c);return(0,u.jsx)(`footer`,{className:B(`vi-footer`,o),children:(0,u.jsxs)(`div`,{className:`vi-footer-inner`,children:[s&&(0,u.jsxs)(`div`,{className:`vi-footer-top`,children:[e&&(0,u.jsxs)(`div`,{className:`vi-footer-logo`,children:[(0,u.jsx)(xs,{...e}),t&&(0,u.jsx)(`p`,{className:`vi-footer-tagline`,children:t})]}),n.length>0&&(0,u.jsx)(`nav`,{className:`vi-footer-nav`,"aria-label":`Footer navigation`,children:n.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)(bs,{link:e,noBaseClass:!0,className:`vi-footer-link`})},e.url))})]},t))})]}),c&&(0,u.jsx)(`div`,{className:`vi-footer-credits vi-footer-credits-top`,children:i}),f&&(0,u.jsx)(`hr`,{className:`vi-footer-divider`}),d&&(0,u.jsxs)(`div`,{className:`vi-footer-bottom`,children:[r&&(0,u.jsx)(`p`,{className:`vi-footer-copyright`,children:r}),l&&(0,u.jsx)(`div`,{className:`vi-footer-credits`,children:i})]})]})})},Jf=({logo:e,ctaLinks:t=[],modalRootSelector:n,menuIcon:r=(0,u.jsx)(is,{size:24,"aria-hidden":`true`}),linkIcon:i=(0,u.jsx)(rs,{size:16,"aria-hidden":`true`})})=>{let[a,o]=(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)(xs,{name:e.name,image:e.image,link:e.link}),t.length>0&&(0,u.jsx)(wf,{open:a,onOpenChange:o,title:e.name,className:`vi-modal-slide-right z-[1001]`,modalRootSelector:n,trigger:(0,u.jsx)(Qr,{variant:`ghost`,title:`Menu Button`,"aria-label":`Open menu`,children:r}),children:(0,u.jsx)(`div`,{className:`flex flex-col gap-3`,children:t.map(e=>(0,u.jsxs)(bs,{link:e,noBaseClass:!0,className:`flex items-center justify-between text-sm font-medium hover:underline`,children:[(0,u.jsx)(`span`,{children:e.text}),i]},e.url))})})]}),(0,u.jsxs)(`div`,{className:`hidden lg:flex items-center justify-between px-8 py-4`,children:[(0,u.jsx)(xs,{...e}),t.length>0&&(0,u.jsx)(`nav`,{className:`flex items-center gap-6`,children:t.map(e=>(0,u.jsx)(bs,{link:e,noBaseClass:!0,className:`text-sm font-medium hover:underline`},e.url))})]})]})},Yf=({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})]})},Xf=()=>(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)(Qr,{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`})]}),Zf=({icon:e,label:t,onClick:n,active:r,tooltip:i,className:a})=>(0,u.jsxs)(Qr,{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})]});Zf.displayName=`AsideBtn`;var Qf=({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})]});Qf.displayName=`AsideText`;var $f=({items:e,open:t,onToggle:n,title:r,footer:i,openWidth:a=`w-44`,className:o,toggleIcon:s=e=>e?(0,u.jsx)(ns,{className:`h-4 w-4`}):(0,u.jsx)(rs,{className:`h-4 w-4`})})=>{let c=t!==void 0&&n!==void 0,l=t===void 0||t;return(0,u.jsxs)(`aside`,{className:B(`vi-aside`,l&&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)=>!l&&t.type===`divider`&&(n===0||n===e.length-1)?null:t.onClick?(0,u.jsx)(Zf,{icon:t.icon,label:t.label,onClick:t.onClick,active:t.active,tooltip:l?void 0:t.label},n):(0,u.jsx)(Qf,{icon:t.icon,label:t.label,active:t.active,type:t.type,open:l,tooltip:l?void 0:t.label},n))}),i&&(0,u.jsx)(`div`,{className:`vi-aside-footer`,children:i(l)}),c&&(0,u.jsx)(`div`,{className:`vi-aside-toggle`,children:(0,u.jsx)(Qr,{variant:`ghost`,size:`sm`,onClick:n,title:l?`Collapse`:`Expand`,className:`vi-aside-toggle-btn`,children:s(l)})})]})};$f.displayName=`PageAside`;var ep=({open:e,onOpenChange:t,trigger:n,modalClassName:r,closeBreakpoint:i=`(min-width: 768px)`,...a})=>(l.default.useEffect(()=>{if(!e)return;let n=window.matchMedia(i);if(n.matches){t(!1);return}let r=e=>{e.matches&&t(!1)};return n.addEventListener(`change`,r),()=>n.removeEventListener(`change`,r)},[e,t,i]),(0,u.jsx)(wf,{open:e,onOpenChange:t,trigger:n,className:B(`vi-modal-slide-left vi-aside-modal`,r),children:(0,u.jsx)($f,{...a})}));ep.displayName=`AsideDrawer`;var tp=[`Jan`,`Feb`,`Mar`,`Apr`,`May`,`Jun`,`Jul`,`Aug`,`Sep`,`Oct`,`Nov`,`Dec`],np=({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:tp[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 ${tp[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))})};np.displayName=`YearDotNav`,exports.Accordion=Wr,exports.AsideBtn=Zf,exports.AsideDrawer=ep,exports.AsideText=Qf,exports.Badge=Jr,exports.Button=Qr,exports.Card=$r,exports.CardContent=ri,exports.CardDescription=ni,exports.CardImage=ei,exports.CardTitle=ti,exports.CardWrapper=ii,exports.Checkbox=ai,exports.CheckboxGroup=oi,exports.CircularProgressBar=Gf,exports.Dialog=ss,exports.DialogClose=us,exports.DialogContent=fs,exports.DialogDescription=gs,exports.DialogFooter=ms,exports.DialogHeader=ps,exports.DialogOverlay=ds,exports.DialogPortal=ls,exports.DialogTitle=hs,exports.DialogTrigger=cs,exports.Footer=qf,exports.FormField=_s,exports.Header=Jf,exports.HoverPopup=Yf,exports.Input=vs,exports.Link=bs,exports.Loading=Ss,exports.LogoLink=xs,exports.Menu=ws,exports.Modal=wf,exports.MultiSelect=Tf,exports.PageAside=$f,exports.PageNotFound=Xf,exports.Radio=Ef,exports.RadioGroup=Df,exports.SEMANTIC_VARS=f,exports.SearchInput=Kf,exports.Select=Of,exports.Switch=kf,exports.Table=Af,exports.TableBody=Mf,exports.TableCaption=Lf,exports.TableCell=If,exports.TableFooter=Nf,exports.TableHead=Ff,exports.TableHeader=jf,exports.TableRow=Pf,exports.Tabs=Rf,exports.Textarea=zf,exports.ThemeProvider=y,exports.ToastProvider=Uf,exports.YearDotNav=np,exports.builtInThemes=g,exports.buttonVariants=Zr,exports.clamp=ft,exports.cn=B,exports.darkMode=m,exports.debounce=ht,exports.lightMode=p,exports.midnightMode=h,exports.round=dt,exports.setGlobalAddToast=Vf,exports.throttle=mt,exports.toast=Hf,exports.truncate=pt,exports.useTheme=b;
42
42
  //# sourceMappingURL=advi-ui.cjs.js.map