vendor: 3,722 bytes, line 1
1import{c as e,i as t,l as n,o as r,r as i,s as a}from"./useRouter-2v413oEB.js";var o=n(t(),1),s=i();function c(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=c(e[t]))&&(r&&(r+=` `),r+=n)}else for(n in e)e[n]&&(r&&(r+=` `),r+=n);return r}function l(){for(var e,t,n=0,r=``,i=arguments.length;n<i;n++)(e=arguments[n])&&(t=c(e))&&(r&&(r+=` `),r+=t);return r}var u=(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},d=(e,t)=>({classGroupId:e,validator:t}),f=(e=new Map,t=null,n)=>({nextPart:e,validators:t,classGroupId:n}),p=`-`,m=[],h=`arbitrary..`,g=e=>{let t=y(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:e=>{if(e.startsWith(`[`)&&e.endsWith(`]`))return v(e);let n=e.split(p);return _(n,+(n[0]===``&&n.length>1),t)},getConflictingClassGroupIds:(e,t)=>{if(t){let t=r[e],i=n[e];return t?i?u(i,t):t:i||m}return n[e]||m}}},_=(e,t,n)=>{if(e.length-t===0)return n.classGroupId;let r=e[t],i=n.nextPart.get(r);if(i){let n=_(e,t+1,i);if(n)return n}let a=n.validators;if(a===null)return;let o=t===0?e.join(p):e.slice(t).join(p),s=a.length;for(let e=0;e<s;e++){let t=a[e];if(t.validator(o))return t.classGroupId}},v=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?h+r:void 0})(),y=e=>{let{theme:t,classGroups:n}=e;return b(n,t)},b=(e,t)=>{let n=f();for(let r in e){let i=e[r];x(i,n,r,t)}return n},x=(e,t,n,r)=>{let i=e.length;for(let a=0;a<i;a++){let i=e[a];S(i,t,n,r)}},S=(e,t,n,r)=>{if(typeof e==`string`){C(e,t,n);return}if(typeof e==`function`){w(e,t,n,r);return}T(e,t,n,r)},C=(e,t,n)=>{let r=e===``?t:ee(t,e);r.classGroupId=n},w=(e,t,n,r)=>{if(te(e)){x(e(r),t,n,r);return}t.validators===null&&(t.validators=[]),t.validators.push(d(n,e))},T=(e,t,n,r)=>{let i=Object.entries(e),a=i.length;for(let e=0;e<a;e++){let[a,o]=i[e];x(o,ee(t,a),n,r)}},ee=(e,t)=>{let n=e,r=t.split(p),i=r.length;for(let e=0;e<i;e++){let t=r[e],i=n.nextPart.get(t);i||(i=f(),n.nextPart.set(t,i)),n=i}return n},te=e=>`isThemeGetter`in e&&e.isThemeGetter===!0,ne=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)}}},re=`!`,ie=`:`,ae=[],E=(e,t,n,r,i)=>({modifiers:e,hasImportantModifier:t,baseClassName:n,maybePostfixModifierPosition:r,isExternal:i}),oe=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===ie){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(re)?(c=s.slice(0,-1),l=!0):s.startsWith(re)&&(c=s.slice(1),l=!0);let u=a&&a>i?a-i:void 0;return E(t,l,c,u)};if(t){let e=t+ie,n=r;r=t=>t.startsWith(e)?n(t.slice(e.length)):E(ae,!1,t,void 0,!0)}if(n){let e=r;r=t=>n({className:t,parseClassName:e})}return r},se=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}},ce=e=>({cache:ne(e.cacheSize),parseClassName:oe(e),sortModifiers:se(e),postfixLookupClassGroupIds:D(e),...g(e)}),D=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},le=/\s+/,ue=(e,t)=>
vendor: 11,440 bytes, line 1
1{let{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i,sortModifiers:a,postfixLookupClassGroupIds:o}=t,s=[],c=e.trim().split(le),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?_+re:_,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},de=(...e)=>{let t=0,n,r,i=``;for(;t<e.length;)(n=e[t++])&&(r=fe(n))&&(i&&(i+=` `),i+=r);return i},fe=e=>{if(typeof e==`string`)return e;let t,n=``;for(let r=0;r<e.length;r++)e[r]&&(t=fe(e[r]))&&(n&&(n+=` `),n+=t);return n},O=(e,...t)=>{let n,r,i,a,o=o=>(n=ce(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=ue(e,n);return i(e,a),a};return a=o,(...e)=>a(de(...e))},k=[],A=e=>{let t=t=>t[e]||k;return t.isThemeGetter=!0,t},pe=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,me=/^\((?:(\w[\w-]*):)?(.+)\)$/i,j=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,he=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,ge=/\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$/,_e=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,ve=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,ye=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,be=e=>j.test(e),M=e=>!!e&&!Number.isNaN(Number(e)),xe=e=>!!e&&Number.isInteger(Number(e)),Se=e=>e.endsWith(`%`)&&M(e.slice(0,-1)),Ce=e=>he.test(e),we=()=>!0,Te=e=>ge.test(e)&&!_e.test(e),Ee=()=>!1,De=e=>ve.test(e),Oe=e=>ye.test(e),ke=e=>!N(e)&&!P(e),Ae=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)),je=e=>Ke(e,Xe,Ee),N=e=>pe.test(e),Me=e=>Ke(e,Ze,Te),Ne=e=>Ke(e,Qe,M),Pe=e=>Ke(e,et,we),Fe=e=>Ke(e,$e,Ee),Ie=e=>Ke(e,Je,Ee),Le=e=>Ke(e,Ye,Oe),Re=e=>Ke(e,tt,De),P=e=>me.test(e),ze=e=>qe(e,Ze),Be=e=>qe(e,$e),Ve=e=>qe(e,Je),He=e=>qe(e,Xe),Ue=e=>qe(e,Ye),We=e=>qe(e,tt,!0),Ge=e=>qe(e,et,!0),Ke=(e,t,n)=>{let r=pe.exec(e);return r?r[1]?t(r[1]):n(r[2]):!1},qe=(e,t,n=!1)=>{let r=me.exec(e);return r?r[1]?t(r[1]):n:!1},Je=e=>e===`position`||e===`percentage`,Ye=e=>e===`image`||e===`url`,Xe=e=>e===`length`||e===`size`||e===`bg-size`,Ze=e=>e===`length`,Qe=e=>e===`number`,$e=e=>e===`family-name`,et=e=>e===`number`||e===`weight`,tt=e=>e===`shadow`,nt=O(()=>{let e=A(`color`),t=A(`font`),n=A(`text`),r=A(`font-weight`),i=A(`tracking`),a=A(`leading`),o=A(`breakpoint`),s=A(`container`),c=A(`spacing`),l=A(`radius`),u=A(`shadow`),d=A(`inset-shadow`),f=A(`text-shadow`),p=A(`drop-shadow`),m=A(`blur`),h=A(`perspective`),g=A(`aspect`),_=A(`ease`),v=A(`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(),P,N],S=()=>[`auto`,`hidden`,`clip`,`visible`,`scroll`],C=()=>[`auto`,`contain`,`none`],w=()=>[P,N,c],T=()=>[be,`full`,`auto`,...w()],ee=()=>[xe,`none`,`subgrid`,P,N],te=()=>[`auto`,{span:[`full`,xe,P,N]},xe,P,N],ne=()=>[xe,`auto`,P,N],re=()=>[`auto`,`min`,`max`,`fr`,P,N],ie=()=>[`start`,`end`,`center`,`between`,`around`,`evenly`,`stretch`,`baseline`,`center-safe`,`end-safe`],ae=()=>[`start`,`end`,`center`,`stretch`,`center-safe`,`end-safe`],E=()=>[`auto`,...w()],oe=()=>[be,`auto`,`full`,`dvw`,`dvh`,`lvw`,`lvh`,`svw`,`svh`,`min`,`max`,`fit`,...w()],se=()=>[be,`screen`,`full`,`dvw`,`lvw`,`svw`,`min`,`max`,`fit`,...w()],ce=()=>[be,`screen`,`full`,`lh`,`dvh`,`lvh`,`svh`,`min`,`max`,`fit`,...w()],D=()=>[e,P,N],le=()=>[...b(),Ve,Ie,{position:[P,N]}],ue=()=>[`no-repeat`,{repeat:[``,`x`,`y`,`space`,`round`]}],de=()=>[`auto`,`cover`,`contain`,He,je,{size:[P,N]}],fe=()=>[Se,ze,Me],O=()=>[``,`none`,`full`,l,P,N],k=()=>[``,M,ze,Me],pe=()=>[`solid`,`dashed`,`dotted`,`double`],me=()=>[`normal`,`multiply`,`screen`,`overlay`,`darken`,`lighten`,`color-dodge`,`color-burn`,`hard-light`,`soft-light`,`difference`,`exclusion`,`hue`,`saturation`,`color`,`luminosity`],j=()=>[M,Se,Ve,Ie],he=()=>[``,`none`,m,P,N],ge=()=>[`none`,M,P,N],_e=()=>[`none`,M,P,N],ve=()=>[M,P,N],ye=()=>[be,`full`,...w()];return{cacheSize:500,theme:{animate:[`spin`,`ping`,`pulse`,`bounce`],aspect:[`video`],blur:[Ce],breakpoint:[Ce],color:[we],container:[Ce],"drop-shadow":[Ce],ease:[`in`,`out`,`in-out`],font:[ke],"font-weight":[`thin`,`extralight`,`light`,`normal`,`medium`,`semibold`,`bold`,`extrabold`,`black`],"inset-shadow":[Ce],leading:[`none`,`tight`,`snug`,`normal`,`relaxed`,`loose`],perspective:[`dramatic`,`near`,`normal`,`midrange`,`distant`,`none`],radius:[Ce],shadow:[Ce],spacing:[`px`,M],text:[Ce],"text-shadow":[Ce],tracking:[`tighter`,`tight`,`normal`,`wide`,`wider`,`widest`]},classGroups:{aspect:[{aspect:[`auto`,`square`,be,N,P,g]}],container:[`container`],"container-type":[{"@container":[``,`normal`,`size`,P,N]}],"container-named":[Ae],columns:[{columns:[M,N,P,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:[xe,`auto`,P,N]}],basis:[{basis:[be,`full`,`auto`,s,...w()]}],"flex-direction":[{flex:[`row`,`row-reverse`,`col`,`col-reverse`]}],"flex-wrap":[{flex:[`nowrap`,`wrap`,`wrap-reverse`]}],flex:[{flex:[M,be,`auto`,`initial`,`none`,N]}],grow:[{grow:[``,M,P,N]}],shrink:[{shrink:[``,M,P,N]}],order:[{order:[xe,`first`,`last`,`none`,P,N]}],"grid-cols":[{"grid-cols":ee()}],"col-start-end":[{col:te()}],"col-start":[{"col-start":ne()}],"col-end":[{"col-end":ne()}],"grid-rows":[{"grid-rows":ee()}],"row-start-end":[{row:te()}],"row-start":[{"row-start":ne()}],"row-end":[{"row-end":ne()}],"grid-flow":[{"grid-flow":[`row`,`col`,`dense`,`row-dense`,`col-dense`]}],"auto-cols":[{"auto-cols":re()}],"auto-rows":[{"auto-rows":re()}],gap:[{gap:w()}],"gap-x":[{"gap-x":w()}],"gap-y":[{"gap-y":w()}],"justify-content":[{justify:[...ie(),`normal`]}],"justify-items":[{"justify-items":[...ae(),`normal`]}],"justify-self":[{"justify-self":[`auto`,...ae()]}],"align-content":[{content:[`normal`,...ie()]}],"align-items":[{items:[...ae(),{baseline:[``,`last`]}]}],"align-self":[{self:[`auto`,...ae(),{baseline:[``,`last`]}]}],"place-content":[{"place-content":ie()}],"place-items":[{"place-items":[...ae(),`baseline`]}],"place-self":[{"place-self":[`auto`,...ae()]}],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:E()}],mx:[{mx:E()}],my:[{my:E()}],ms:[{ms:E()}],me:[{me:E()}],mbs:[{mbs:E()}],mbe:[{mbe:E()}],mt:[{mt:E()}],mr:[{mr:E()}],mb:[{mb:E()}],ml:[{ml:E()}],"space-x":[{"space-x":w()}],"space-x-reverse":[`space-x-reverse`],"space-y":[{"space-y":w()}],"space-y-reverse":[`space-y-reverse`],size:[{size:oe()}],"inline-size":[{inline:[`auto`,...se()]}],"min-inline-size":[{"min-inline":[`auto`,...se()]}],"max-inline-size":[{"max-inline":[`none`,...se()]}],"block-size":[{block:[`auto`,...ce()]}],"min-block-size":[{"min-block":[`auto`,...ce()]}],"max-block-size":[{"max-block":[`none`,...ce()]}],w:[{w:[s,`screen`,...oe()]}],"min-w":[{"min-w":[s,`screen`,`none`,...oe()]}],"max-w":[{"max-w":[s,`screen`,`none`,`prose`,{screen:[o]},...oe()]}],h:[{h:[`screen`,`lh`,...oe()]}],"min-h":[{"min-h":[`screen`,`lh`,`none`,...oe()]}],"max-h":[{"max-h":[`screen`,`lh`,...oe()]}],"font-size":[{text:[`base`,n,ze,Me]}],"font-smoothing":[`antialiased`,`subpixel-antialiased`],"font-style":[`italic`,`not-italic`],"font-weight":[{font:[r,Ge,Pe]}],"font-stretch":[{"font-stretch":[`ultra-condensed`,`extra-condensed`,`condensed`,`semi-condensed`,`normal`,`semi-expanded`,`expanded`,`extra-expanded`,`ultra-expanded`,Se,N]}],"font-family":[{font:[Be,Fe,t]}],"font-features":[{"font-features":[N]}],"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,P,N]}],"line-clamp":[{"line-clamp":[M,`none`,P,Ne]}],leading:[{leading:[a,...w()]}],"list-image":[{"list-image":[`none`,P,N]}],"list-style-position":[{list:[`inside`,`outside`]}],"list-style-type":[{list:[`disc`,`decimal`,`none`,P,N]}],"text-alignment":[{text:[`left`,`center`,`right`,`justify`,`start`,`end`]}],"placeholder-color":[{placeholder:D()}],"text-color":[{text:D()}],"text-decoration":[`underline`,`overline`,`line-through`,`no-underline`],"text-decoration-style":[{decoration:[...pe(),`wavy`]}],"text-decoration-thickness":[{decoration:[M,`from-font`,`auto`,P,Me]}],"text-decoration-color":[{decoration:D()}],"underline-offset":[{"underline-offset":[M,`auto`,P,N]}],"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:[xe,P,N]}],"vertical-align":[{align:[`baseline`,`top`,`middle`,`bottom`,`text-top`,`text-bottom`,`sub`,`super`,P,N]}],whitespace:[{whitespace:[`normal`,`nowrap`,`pre`,`pre-line`,`pre-wrap`,`break-spaces`]}],break:[{break:[`normal`,`words`,`all`,`keep`]}],wrap:[{wrap:[`break-word`,`anywhere`,`normal`]}],hyphens:[{hyphens:[`none`,`manual`,`auto`]}],content:[{content:[`none`,P,N]}],"bg-attachment":[{bg:[`fixed`,`local`,`scroll`]}],"bg-clip":[{"bg-clip":[`border`,`padding`,`content`,`text`]}],"bg-origin":[{"bg-origin":[`border`,`padding`,`content`]}],"bg-position":[{bg:le()}],"bg-repeat":[{bg:ue()}],"bg-size":[{bg:de()}],"bg-image":[{bg:[`none`,{linear:[{to:[`t`,`tr`,`r`,`br`,`b`,`bl`,`l`,`tl`]},xe,P,N],radial:[``,P,N],conic:[xe,P,N]},Ue,Le]}],"bg-color":[{bg:D()}],"gradient-from-pos":[{from:fe()}
1],"gradient-via-pos":[{via:fe()}],"gradient-to-pos":[{to:fe()}],"gradient-from":[{from:D()}],"gradient-via":[{via:D()}],"gradient-to":[{to:D()}],rounded:[{rounded:O()}],"rounded-s":[{"rounded-s":O()}],"rounded-e":[{"rounded-e":O()}],"rounded-t":[{"rounded-t":O()}],"rounded-r":[{"rounded-r":O()}],"rounded-b":[{"rounded-b":O()}],"rounded-l":[{"rounded-l":O()}],"rounded-ss":[{"rounded-ss":O()}],"rounded-se":[{"rounded-se":O()}],"rounded-ee":[{"rounded-ee":O()}],"rounded-es":[{"rounded-es":O()}],"rounded-tl":[{"rounded-tl":O()}],"rounded-tr":[{"rounded-tr":O()}],"rounded-br":[{"rounded-br":O()}],"rounded-bl":[{"rounded-bl":O()}],"border-w":[{border:k()}],"border-w-x":[{"border-x":k()}],"border-w-y":[{"border-y":k()}],"border-w-s":[{"border-s":k()}],"border-w-e":[{"border-e":k()}],"border-w-bs":[{"border-bs":k()}],"border-w-be":[{"border-be":k()}],"border-w-t":[{"border-t":k()}],"border-w-r":[{"border-r":k()}],"border-w-b":[{"border-b":k()}],"border-w-l":[{"border-l":k()}],"divide-x":[{"divide-x":k()}],"divide-x-reverse":[`divide-x-reverse`],"divide-y":[{"divide-y":k()}],"divide-y-reverse":[`divide-y-reverse`],"border-style":[{border:[...pe(),`hidden`,`none`]}],"divide-style":[{divide:[...pe(),`hidden`,`none`]}],"border-color":[{border:D()}],"border-color-x":[{"border-x":D()}],"border-color-y":[{"border-y":D()}],"border-color-s":[{"border-s":D()}],"border-color-e":[{"border-e":D()}],"border-color-bs":[{"border-bs":D()}],"border-color-be":[{"border-be":D()}],"border-color-t":[{"border-t":D()}],"border-color-r":[{"border-r":D()}],"border-color-b":[{"border-b":D()}],"border-color-l":[{"border-l":D()}
vendor: 7,498 bytes, line 1
1],"divide-color":[{divide:D()}],"outline-style":[{outline:[...pe(),`none`,`hidden`]}],"outline-offset":[{"outline-offset":[M,P,N]}],"outline-w":[{outline:[``,M,ze,Me]}],"outline-color":[{outline:D()}],shadow:[{shadow:[``,`none`,u,We,Re]}],"shadow-color":[{shadow:D()}],"inset-shadow":[{"inset-shadow":[`none`,d,We,Re]}],"inset-shadow-color":[{"inset-shadow":D()}],"ring-w":[{ring:k()}],"ring-w-inset":[`ring-inset`],"ring-color":[{ring:D()}],"ring-offset-w":[{"ring-offset":[M,Me]}],"ring-offset-color":[{"ring-offset":D()}],"inset-ring-w":[{"inset-ring":k()}],"inset-ring-color":[{"inset-ring":D()}],"text-shadow":[{"text-shadow":[`none`,f,We,Re]}],"text-shadow-color":[{"text-shadow":D()}],opacity:[{opacity:[M,P,N]}],"mix-blend":[{"mix-blend":[...me(),`plus-darker`,`plus-lighter`]}],"bg-blend":[{"bg-blend":me()}],"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":[M]}],"mask-image-linear-from-pos":[{"mask-linear-from":j()}],"mask-image-linear-to-pos":[{"mask-linear-to":j()}],"mask-image-linear-from-color":[{"mask-linear-from":D()}],"mask-image-linear-to-color":[{"mask-linear-to":D()}],"mask-image-t-from-pos":[{"mask-t-from":j()}],"mask-image-t-to-pos":[{"mask-t-to":j()}],"mask-image-t-from-color":[{"mask-t-from":D()}],"mask-image-t-to-color":[{"mask-t-to":D()}],"mask-image-r-from-pos":[{"mask-r-from":j()}],"mask-image-r-to-pos":[{"mask-r-to":j()}],"mask-image-r-from-color":[{"mask-r-from":D()}],"mask-image-r-to-color":[{"mask-r-to":D()}],"mask-image-b-from-pos":[{"mask-b-from":j()}],"mask-image-b-to-pos":[{"mask-b-to":j()}],"mask-image-b-from-color":[{"mask-b-from":D()}],"mask-image-b-to-color":[{"mask-b-to":D()}],"mask-image-l-from-pos":[{"mask-l-from":j()}],"mask-image-l-to-pos":[{"mask-l-to":j()}],"mask-image-l-from-color":[{"mask-l-from":D()}],"mask-image-l-to-color":[{"mask-l-to":D()}],"mask-image-x-from-pos":[{"mask-x-from":j()}],"mask-image-x-to-pos":[{"mask-x-to":j()}],"mask-image-x-from-color":[{"mask-x-from":D()}],"mask-image-x-to-color":[{"mask-x-to":D()}],"mask-image-y-from-pos":[{"mask-y-from":j()}],"mask-image-y-to-pos":[{"mask-y-to":j()}],"mask-image-y-from-color":[{"mask-y-from":D()}],"mask-image-y-to-color":[{"mask-y-to":D()}],"mask-image-radial":[{"mask-radial":[P,N]}],"mask-image-radial-from-pos":[{"mask-radial-from":j()}],"mask-image-radial-to-pos":[{"mask-radial-to":j()}],"mask-image-radial-from-color":[{"mask-radial-from":D()}],"mask-image-radial-to-color":[{"mask-radial-to":D()}],"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":[M]}],"mask-image-conic-from-pos":[{"mask-conic-from":j()}],"mask-image-conic-to-pos":[{"mask-conic-to":j()}],"mask-image-conic-from-color":[{"mask-conic-from":D()}],"mask-image-conic-to-color":[{"mask-conic-to":D()}],"mask-mode":[{mask:[`alpha`,`luminance`,`match`]}],"mask-origin":[{"mask-origin":[`border`,`padding`,`content`,`fill`,`stroke`,`view`]}],"mask-position":[{mask:le()}],"mask-repeat":[{mask:ue()}],"mask-size":[{mask:de()}],"mask-type":[{"mask-type":[`alpha`,`luminance`]}],"mask-image":[{mask:[`none`,P,N]}],filter:[{filter:[``,`none`,P,N]}],blur:[{blur:he()}],brightness:[{brightness:[M,P,N]}],contrast:[{contrast:[M,P,N]}],"drop-shadow":[{"drop-shadow":[``,`none`,p,We,Re]}],"drop-shadow-color":[{"drop-shadow":D()}],grayscale:[{grayscale:[``,M,P,N]}],"hue-rotate":[{"hue-rotate":[M,P,N]}],invert:[{invert:[``,M,P,N]}],saturate:[{saturate:[M,P,N]}],sepia:[{sepia:[``,M,P,N]}],"backdrop-filter":[{"backdrop-filter":[``,`none`,P,N]}],"backdrop-blur":[{"backdrop-blur":he()}],"backdrop-brightness":[{"backdrop-brightness":[M,P,N]}],"backdrop-contrast":[{"backdrop-contrast":[M,P,N]}],"backdrop-grayscale":[{"backdrop-grayscale":[``,M,P,N]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[M,P,N]}],"backdrop-invert":[{"backdrop-invert":[``,M,P,N]}],"backdrop-opacity":[{"backdrop-opacity":[M,P,N]}],"backdrop-saturate":[{"backdrop-saturate":[M,P,N]}],"backdrop-sepia":[{"backdrop-sepia":[``,M,P,N]}],"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`,P,N]}],"transition-behavior":[{transition:[`normal`,`discrete`]}],duration:[{duration:[M,`initial`,P,N]}],ease:[{ease:[`linear`,`initial`,_,P,N]}],delay:[{delay:[M,P,N]}],animate:[{animate:[`none`,v,P,N]}],backface:[{backface:[`hidden`,`visible`]}],perspective:[{perspective:[h,P,N]}],"perspective-origin":[{"perspective-origin":x()}],rotate:[{rotate:ge()}],"rotate-x":[{"rotate-x":ge()}],"rotate-y":[{"rotate-y":ge()}],"rotate-z":[{"rotate-z":ge()}],scale:[{scale:_e()}],"scale-x":[{"scale-x":_e()}],"scale-y":[{"scale-y":_e()}],"scale-z":[{"scale-z":_e()}],"scale-3d":[`scale-3d`],skew:[{skew:ve()}],"skew-x":[{"skew-x":ve()}],"skew-y":[{"skew-y":ve()}],transform:[{transform:[P,N,``,`none`,`gpu`,`cpu`]}],"transform-origin":[{origin:x()}],"transform-style":[{transform:[`3d`,`flat`]}],translate:[{translate:ye()}],"translate-x":[{"translate-x":ye()}],"translate-y":[{"translate-y":ye()}],"translate-z":[{"translate-z":ye()}],"translate-none":[`translate-none`],zoom:[{zoom:[xe,P,N]}],accent:[{accent:D()}],appearance:[{appearance:[`none`,`auto`]}],"caret-color":[{caret:D()}],"color-scheme":[{scheme:[`normal`,`dark`,`light`,`light-dark`,`only-dark`,`only-light`]}],cursor:[{cursor:[`auto`,`default`,`pointer`,`wait`,`text`,`move`,`help`,`not-allowed`,`none`,`context-menu`,`progress`,`cell`,`crosshair`,`vertical-text`,`alias`,`copy`,`no-drop`,`grab`,`grabbing`,`all-scroll`,`col-resize`,`row-resize`,`n-resize`,`e-resize`,`s-resize`,`w-resize`,`ne-resize`,`nw-resize`,`se-resize`,`sw-resize`,`ew-resize`,`ns-resize`,`nesw-resize`,`nwse-resize`,`zoom-in`,`zoom-out`,P,N]}],"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":D()}],"scrollbar-track-color":[{"scrollbar-track":D()}],"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`]}
1],touch:[{touch:[`auto`,`none`,`manipulation`]}],"touch-x":[{"touch-pan":[`x`,`left`,`right`]}],"touch-y":[{"touch-pan":[`y`,`up`,`down`]}],"touch-pz":[`touch-pinch-zoom`],select:[{select:[`none`,`text`,`all`,`auto`]}],"will-change":[{"will-change":[`auto`,`scroll`,`contents`,`transform`,P,N]}],fill:[{fill:[`none`,...D()]}],"stroke-w":[{stroke:[M,ze,Me,Ne]}],stroke:[{stroke:[`none`,...D()]}],"forced-color-adjust":[{"forced-color-adjust":[`auto`,`none`]}]},conflictingClassGroups:{"container-named":[`container-type`],overflow:[`overflow-x`,`overflow-y`],overscroll:[`overscroll-x`,`overscroll-y`],inset:[`inset-x`,`inset-y`,`inset-bs`,`inset-be`,`start`,`end`,`top`,`right`,`bottom`,`left`],"inset-x":[`right`,`left`],"inset-y":[`top`,`bottom`],flex:[`basis`,`grow`,`shrink`],gap:[`gap-x`,`gap-y`],p:[`px`,`py`,`ps`,`pe`,`pbs`,`pbe`,`pt`,`pr`,`pb`,`pl`],px:[`pr`,`pl`],py:[`pt`,`pb`],m:[`mx`,`my`,`ms`,`me`,`mbs`,`mbe`,`mt`,`mr`,`mb`,`ml`],mx:[`mr`,`ml`],my:[`mt`,`mb`],size:[`w`,`h`],"font-size":[`leading`],"fvn-normal":[`fvn-ordinal`,`fvn-slashed-zero`,`fvn-figure`,`fvn-spacing`,`fvn-fraction`],"fvn-ordinal":[`fvn-normal`],"fvn-slashed-zero":[`fvn-normal`],"fvn-figure":[`fvn-normal`],"fvn-spacing":[`fvn-normal`],"fvn-fraction":[`fvn-normal`],"line-clamp":[`display`,`overflow`],rounded:[`rounded-s`,`rounded-e`,`rounded-t`,`rounded-r`,`rounded-b`,`rounded-l`,`rounded-ss`,`rounded-se`,`rounded-ee`,`rounded-es`,`rounded-tl`,`rounded-tr`,`rounded-br`,`rounded-bl`],"rounded-s":[`rounded-ss`,`rounded-es`],"rounded-e":[`rounded-se`,`rounded-ee`],"rounded-t":[`rounded-tl`,`rounded-tr`],"rounded-r":[`rounded-tr`,`rounded-br`],"rounded-b":[`rounded-br`,`rounded-bl`],"rounded-l":[`rounded-tl`,`rounded-bl`],"border-spacing":[`border-spacing-x`,`border-spacing-y`],"border-w":[`border-w-x`,`border-w-y`,`border-w-s`,`border-w-e`,`border-w-bs`,`border-w-be`,`border-w-t`,`border-w-r`,`border-w-b`,`border-w-l`],"border-w-x":[`border-w-r`,`border-w-l`],"border-w-y":[`border-w-t`,`border-w-b`],"border-color":[`border-color-x`,`border-color-y`,`border-color-s`,`border-color-e`,`border-color-bs`,`border-color-be`,`border-color-t`,`border-color-r`,`border-color-b`,`border-color-l`],"border-color-x":[`border-color-r`,`border-color-l`],"border-color-y":[`border-color-t`,`border-color-b`],translate:[`translate-x`,`translate-y`,`translate-none`],"translate-none":[`translate`,`translate-x`,`translate-y`,`translate-z`],"scroll-m":[`scroll-mx`,`scroll-my`,`scroll-ms`,`scroll-me`,`scroll-mbs`,`scroll-mbe`,`scroll-mt`,`scroll-mr`,`scroll-mb`,`scroll-ml`],"scroll-mx":[`scroll-mr`,`scroll-ml`],"scroll-my":[`scroll-mt`,`scroll-mb`],"scroll-p":[`scroll-px`,`scroll-py`,`scroll-ps`,`scroll-pe`,`scroll-pbs`,`scroll-pbe`,`scroll-pt`,`scroll-pr`,`scroll-pb`,`scroll-pl`],"scroll-px":[`scroll-pr`,`scroll-pl`],"scroll-py":[`scroll-pt`,`scroll-pb`],touch:[`touch-x`,`touch-y`,`touch-pz`],"touch-x":[`touch`],"touch-y":[`touch`],"touch-pz":[`touch`]},conflictingClassGroupModifiers:{"font-size":[`leading`]},postfixLookupClassGroups:[`container-type`],orderSensitiveModifiers:[`*`,`**`,`after`,`backdrop`,`before`,`details-content`,`file`,`first-letter`,`first-line`,`marker`,`placeholder`,`selection`]}});function rt(...e){return nt(l(e))}function it(e,t){e.indexOf(t)===-1&&e.push(t)}function at(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}var F=(e,t,n)=>n>t?t:n<e?e:n,ot={},st=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),ct=e=>typeof e==`object`&&!!e,lt=e=>/^0[^.\s]+$/u.test(e);function ut(e){let t;return()=>(t===void 0&&(t=e()),t)}var I=e=>e,dt=(...e)=>e.reduce((e,t)=>n=>t(e(n))),ft=(e,t,n)=>{let r=t-e;return r?(n-e)/r:1},pt=class{constructor(){this.subscriptions=[]}add(e){return it(this.subscriptions,e),()=>at(this.subscriptions,e)}notify(e,t,n){let r=this.subscriptions.length;if(r)if(r===1)this.subscriptions[0](e,t,n);else for(let i=0;i<r;i++){let r=this.subscriptions[i];r&&r(e,t,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}},L=e=>e*1e3,R=e=>e/1e3,mt=(e,t)=>t?1e3/t*e:0,ht=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,gt=1e-7,_t=12;function vt(e,t,n,r,i){let a,o,s=0;do o=t+(n-t)/2,a=ht(o,r,i)-e,a>0?n=o:t=o;while(Math.abs(a)>gt&&++s<_t);return o}function yt(e,t,n,r){if(e===t&&n===r)return I;let i=t=>vt(t,0,1,e,n);return e=>e===0||e===1?e:ht(i(e),t,r)}var bt=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,xt=e=>t=>1-e(1-t),St=yt(.33,1.53,.69,.99),Ct=xt(St),wt=bt(Ct),Tt=e=>e>=1?1:(e*=2)<1?.5*Ct(e):.5*(2-2**(-10*(e-1))),Et=e=>1-Math.sin(Math.acos(e)),Dt=xt(Et),Ot=bt(Et),kt=yt(.42,0,1,1),At=yt(0,0,.58,1),jt=yt(.42,0,.58,1),Mt=e=>Array.isArray(e)&&typeof e[0]!=`number`,Nt=e=>
1Array.isArray(e)&&typeof e[0]==`number`,Pt={linear:I,easeIn:kt,easeInOut:jt,easeOut:At,circIn:Et,circInOut:Ot,circOut:Dt,backIn:Ct,backInOut:wt,backOut:St,anticipate:Tt},Ft=e=>typeof e==`string`,It=e=>{if(Nt(e)){e.length;let[t,n,r,i]=e;return yt(t,n,r,i)}else if(Ft(e))return Pt[e],`${e}`,Pt[e];return e},Lt=(0,o.createContext)({}),Rt=(0,o.createContext)({strict:!1}),zt=(0,o.createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:`never`}),Bt=(0,o.createContext)({}),Vt=[`setup`,`read`,`resolveKeyframes`,`preUpdate`,`update`,`preRender`,`render`,`postRender`];function Ht(e){let t=new Set,n=new Set,r=!1,i=!1,a=new WeakSet,o={delta:0,timestamp:0,isProcessing:!1};function s(t){a.has(t)&&(c.schedule(t),e()),t(o)}let c={schedule:(e,i=!1,o=!1)=>{let s=o&&r?t:n;return i&&a.add(e),s.add(e),e},cancel:e=>{n.delete(e),a.delete(e)},process:e=>{if(o=e,r){i=!0;return}r=!0;let a=t;t=n,n=a,t.forEach(s),t.clear(),r=!1,i&&(i=!1,c.process(e))}};return c}var Ut=40;function Wt(e,t){let n=!1,r=!0,i={delta:0,timestamp:0,isProcessing:!1},a=()=>n=!0,o=Vt.reduce((e,t)=>(e[t]=Ht(a),e),{}),{setup:s,read:c,resolveKeyframes:l,preUpdate:u,update:d,preRender:f,render:p,postRender:m}=o,h=()=>{let a=ot.useManualTiming,o=a?i.timestamp:performance.now();n=!1,a||(i.delta=r?1e3/60:Math.max(Math.min(o-i.timestamp,Ut),1)),i.timestamp=o,i.isProcessing=!0,s.process(i),c.process(i),l.process(i),u.process(i),d.process(i),f.process(i),p.process(i),m.process(i),i.isProcessing=!1,n&&t&&(r=!1,e(h))},g=()=>{n=!0,r=!0,i.isProcessing||e(h)};return{schedule:Vt.reduce((e,t)=>{let r=o[t];return e[t]=(e,t=!1,i=!1)=>(n||g(),r.schedule(e,t,i)),e},{}),cancel:e=>{for(let t=0;t<Vt.length;t++)o[Vt[t]].cancel(e)},state:i,steps:o}}var{schedule:z,cancel:Gt,state:B,steps:Kt}=Wt(typeof requestAnimationFrame<`u`?requestAnimationFrame:I,!0),qt;function Jt(){qt=void 0}var V={now:()=>(qt===void 0&&V.set(B.isProcessing||ot.useManualTiming?B.timestamp:performance.now()),qt),set:e=>{qt=e,queueMicrotask(Jt)}},Yt=e=>t=>typeof t==`string`&&t.startsWith(e),Xt=Yt(`--`),Zt=Yt(`var(--`),Qt=e=>Zt(e)?$t.test(e.split(`/*`)[0].trim()):!1,$t=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function en(e){return typeof e==`string`&&e.split(`/*`)[0].includes(`var(--`)}var tn={test:e=>typeof e==`number`,parse:parseFloat,transform:e=>e},nn={...tn,transform:e=>F(0,1,e)},rn={...tn,default:1},an=e=>Math.round(e*1e5)/1e5,on=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function sn(e){return e==null}var cn=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,ln=(e,t)=>n=>!!(typeof n==`string`&&cn.test(n)&&n.startsWith(e)||t&&!sn(n)&&Object.prototype.hasOwnProperty.call(n,t)),un=(e,t,n)=>r=>{if(typeof r!=`string`)return r;let[i,a,o,s]=r.match(on);return{[e]:parseFloat(i),[t]:parseFloat(a),[n]:parseFloat(o),alpha:s===void 0?1:parseFloat(s)}},dn=e=>F(0,255,e),fn={...tn,transform:e=>Math.round(dn(e))},pn={test:ln(`rgb`,`red`),parse:un(`red`,`green`,`blue`),transform:({red:e,green:t,blue:n,alpha:r=1})=>`rgba(`+fn.transform(e)+`, `+fn.transform(t)+`, `+fn.transform(n)+`, `+an(nn.transform(r))+`)`};function mn(e){let t=``,n=``,r=``,i=``;return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}}var hn={test:ln(`#`),parse:mn,transform:pn.transform},gn=e=>({test:t=>typeof t==`string`&&t.endsWith(e)&&t.split(` `).length===1,parse:parseFloat,transform:t=>`${t}${e}`}),_n=gn(`deg`),H=gn(`%`),U=gn(`px`),vn=gn(`vh`),yn=gn(`vw`),bn={...H,parse:e=>H.parse(e)/100,transform:e=>H.transform(e*100)},xn={test:ln(`hsl`,`hue`),parse:un(`hue`,`saturation`,`lightness`),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>`hsla(`+Math.round(e)+`, `+H.transform(an(t))+`, `+H.transform(an(n))+`, `+an(nn.transform(r))+`)`},W={test:e=>pn.test(e)||hn.test(e)||xn.test(e),parse:e=>pn.test(e)?pn.parse(e):xn.test(e)?xn.parse(e):hn.parse(e),transform:e=>typeof e==`string`?e:e.hasOwnProperty(`red`)?pn.transform(e):xn.transform(e),getAnimatableNone:e=>{let t=W.parse(e);return t.alpha=0,W.transform(t)}},Sn=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function Cn(e){return isNaN(e)&&typeof e==`string`&&(e.match(on)?.length||0)+(e.match(Sn)?.length||0)>0}
1var wn=`number`,Tn=`color`,En=`var`,Dn=`var(`,On="${}",kn=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function An(e){let t=e.toString(),n=[],r={color:[],number:[],var:[]},i=[],a=0;return{values:n,split:t.replace(kn,e=>(W.test(e)?(r.color.push(a),i.push(Tn),n.push(W.parse(e))):e.startsWith(Dn)?(r.var.push(a),i.push(En),n.push(e)):(r.number.push(a),i.push(wn),n.push(parseFloat(e))),++a,On)).split(On),indexes:r,types:i}}function jn(e){return An(e).values}function Mn({split:e,types:t}){let n=e.length;return r=>{let i=``;for(let a=0;a<n;a++)if(i+=e[a],r[a]!==void 0){let e=t[a];e===wn?i+=an(r[a]):e===Tn?i+=W.transform(r[a]):i+=r[a]}return i}}function Nn(e){return Mn(An(e))}var Pn=e=>typeof e==`number`?0:W.test(e)?W.getAnimatableNone(e):e,Fn=(e,t)=>typeof e==`number`?t?.trim().endsWith(`/`)?e:0:Pn(e);function In(e){let t=An(e);return Mn(t)(t.values.map((e,n)=>Fn(e,t.split[n])))}var G={test:Cn,parse:jn,createTransformer:Nn,getAnimatableNone:In};function Ln(e,t,n){return n<0&&(n+=1),n>1&&--n,n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function Rn({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let i=0,a=0,o=0;if(!t)i=a=o=n;else{let r=n<.5?n*(1+t):n+t-n*t,s=2*n-r;i=Ln(s,r,e+1/3),a=Ln(s,r,e),o=Ln(s,r,e-1/3)}return{red:Math.round(i*255),green:Math.round(a*255),blue:Math.round(o*255),alpha:r}}function zn(e,t){return n=>n>0?t:e}var K=(e,t,n)=>e+(t-e)*n,Bn=(e,t,n)=>{let r=e*e,i=n*(t*t-r)+r;return i<0?0:Math.sqrt(i)},Vn=[hn,pn,xn],Hn=e=>Vn.find(t=>t.test(e));function Un(e){let t=Hn(e);if(`${e}`,!t)return!1;let n=t.parse(e);return t===xn&&(n=Rn(n)),n}var Wn=(e,t)=>{let n=Un(e),r=Un(t);if(!n||!r)return zn(e,t);let i={...n};return e=>(i.red=Bn(n.red,r.red,e),i.green=Bn(n.green,r.green,e),i.blue=Bn(n.blue,r.blue,e),i.alpha=K(n.alpha,r.alpha,e),pn.transform(i))},Gn=new Set([`none`,`hidden`]);function Kn(e,t){return Gn.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function qn(e,t){return n=>K(e,t,n)}function Jn(e){return typeof e==`number`?qn:typeof e==`string`?Qt(e)?zn:W.test(e)?Wn:Qn:Array.isArray(e)?Yn:typeof e==`object`?W.test(e)?Wn:Xn:zn}function Yn(e,t){let n=[...e],r=n.length,i=e.map((e,n)=>Jn(e)(e,t[n]));return e=>{for(let t=0;t<r;t++)n[t]=i[t](e);return n}}function Xn(e,t){let n={...e,...t},r={};for(let i in n)e[i]!==void 0&&t[i]!==void 0&&(r[i]=Jn(e[i])(e[i],t[i]));return e=>{for(let t in r)n[t]=r[t](e);return n}}function Zn(e,t){let n=[],r={color:0,var:0,number:0};for(let i=0;i<t.values.length;i++){let a=t.types[i],o=e.indexes[a][r[a]];n[i]=e.values[o]??0,r[a]++}return n}var Qn=(e,t)=>{let n=G.createTransformer(t),r=An(e),i=An(t);return r.indexes.var.length===i.indexes.var.length&&r.indexes.color.length===i.indexes.color.length&&r.indexes.number.length>=i.indexes.number.length?Gn.has(e)&&!i.values.length||Gn.has(t)&&!r.values.length?Kn(e,t):dt
1(Yn(Zn(r,i),i.values),n):(`${e}${t}`,zn(e,t))};function $n(e,t,n){return typeof e==`number`&&typeof t==`number`&&typeof n==`number`?K(e,t,n):Jn(e)(e,t)}var er=e=>{let t=({timestamp:t})=>e(t);return{start:(e=!0)=>z.update(t,e),stop:()=>Gt(t),now:()=>B.isProcessing?B.timestamp:V.now()}},tr=(e,t,n=10)=>{let r=``,i=Math.max(Math.round(t/n),2);for(let t=0;t<i;t++)r+=Math.round(e(t/(i-1))*1e4)/1e4+`, `;return`linear(${r.substring(0,r.length-2)})`},nr=2e4;function rr(e){let t=0,n=e.next(t);for(;!n.done&&t<2e4;)t+=50,n=e.next(t);return t>=2e4?1/0:t}function ir(e,t=100,n){let r=n({...e,keyframes:[0,t]}),i=Math.min(rr(r),nr);return{type:`keyframes`,ease:e=>r.next(i*e).value/t,duration:R(i)}}var q={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};function ar(e,t){return e*Math.sqrt(1-t*t)}var or=12;function sr(e,t,n){let r=n;for(let n=1;n<or;n++)r-=e(r)/t(r);return r}var cr=.001;function lr({duration:e=q.duration,bounce:t=q.bounce,velocity:n=q.velocity,mass:r=q.mass}){let i,a;q.maxDuration;let o=1-t;o=F(q.minDamping,q.maxDamping,o),e=F(q.minDuration,q.maxDuration,R(e)),o<1?(i=t=>{let r=t*o,i=r*e,a=r-n,s=ar(t,o),c=Math.exp(-i);return cr-a/s*c},a=t=>{let r=t*o*e,a=r*n+n,s=o**2*t**2*e,c=Math.exp(-r),l=ar(t**2,o);return(-i(t)+cr>0?-1:1)*((a-s)*c)/l}):(i=t=>-.001+Math.exp(-t*e)*((t-n)*e+1),a=t=>Math.exp(-t*e)*((n-t)*(e*e)));let s=5/e,c=sr(i,a,s);if(e=L(e),isNaN(c))return{stiffness:q.stiffness,damping:q.damping,duration:e};{let t=c**2*r;return{stiffness:t,damping:o*2*Math.sqrt(r*t),duration:e}}}var ur=[`duration`,`bounce`],dr=[`stiffness`,`damping`,`mass`];function fr(e,t){return t.some(t=>e[t]!==void 0)}function pr(e){let t={velocity:q.velocity,stiffness:q.stiffness,damping:q.damping,mass:q.mass,isResolvedFromDuration:!1,...e};if(!fr(e,dr)&&fr(e,ur))if(t.velocity=0,e.visualDuration){let n=e.visualDuration,r=2*Math.PI/(n*1.2),i=r*r,a=2*F(.05,1,1-(e.bounce||0))*Math.sqrt(i);t={...t,mass:q.mass,stiffness:i,damping:a}}else{let n=lr({...e,velocity:0});t={...t,...n,mass:q.mass},t.isResolvedFromDuration=!0}return t}function mr(e=q.visualDuration,t=q.bounce){let n=typeof e==`object`?e:{visualDuration:e,keyframes:[0,1],bounce:t},{restSpeed:r,restDelta:i}=n,a=n.keyframes[0],o=n.keyframes[n.keyframes.length-1],s={done:!1,value:a},{stiffness:c,damping:l,mass:u,duration:d,velocity:f,isResolvedFromDuration:p}=pr({...n,velocity:-R(n.velocity||0)}),m=f||0,h=l/(2*Math.sqrt(c*u)),g=o-a,_=R(Math.sqrt(c/u)),v=Math.abs(g)<5;r||=v?q.restSpeed.granular:q.restSpeed.default,i||=v?q.restDelta.granular:q.restDelta.default;let y,b,x,S,C,w;if(h<1)x=ar(_,h),S=(m+h*_*g)/x,y=e=>{let t=Math.exp(-h*_*e);return o-t*(S*Math.sin(x*e)+g*Math.cos(x*e))},C=h*_*S+g*x,w=h*_*g-S*x,b=e=>Math.exp(-h*_*e)*(C*Math.sin(x*e)+w*Math.cos(x*e));else if(h===1){y=e=>o-Math.exp(-_*e)*(g+(m+_*g)*e);let e=m+_*g;b=t=>Math.exp(-_*t)*(_*e*t-m)}else{let e=_*Math.sqrt(h*h-1);y=t=>{let n=Math.exp(-h*_*t),r=Math.min(e*t,300);return o-n*((m+h*_*g)*Math.sinh(r)+e*g*Math.cosh(r))/e};let t=(m+h*_*g)/e,n=h*_*t-g*e,r=h*_*g-t*e;b=t=>{let i=Math.exp(-h*_*t),a=Math.min(e*t,300);return i*(n*Math.sinh(a)+r*Math.cosh(a))}}let T={calculatedDuration:p&&d||null,velocity:e=>L(b(e)),next:e=>{if(!p&&h<1){let t=Math.exp(-h*_*e),n=Math.sin(x*e),a=Math.cos(x*e),c=o-t*(S*n+g*a),l=L(t*(C*n+w*a));return s.done=Math.abs(l)<=r&&Math.abs(o-c)<=i,s.value=s.done?o:c,s}let t=y(e);if(p)s.done=e>=d;else{let n=L(b(e));s.done=Math.abs(n)<=r&&Math.abs(o-t)<=i}return s.value=s.done?o:t,s},toString:()=>{let e=Math.min(rr(T),nr),t=tr(t=>T.next(e*t).value,e,30);return e+`ms `+t},toTransition:()=>{}};return T}mr.applyToOptions=e=>{let t=ir(e,100,mr);return e.ease=t.ease,e.duration=L(t.duration),e.type=`keyframes`,e};var hr=5;function gr(e,t,n){let r=Math.max(t-hr,0);return mt(n-e(r),t-r)}function _r({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:a=500,modifyTarget:o,min:s,max:c,restDelta:l=.5,restSpeed:u}){let d=e[0],f={done:!1,value:d},p=e=>
1s!==void 0&&e<s||c!==void 0&&e>c,m=e=>s===void 0?c:c===void 0||Math.abs(s-e)<Math.abs(c-e)?s:c,h=n*t,g=d+h,_=o===void 0?g:o(g);_!==g&&(h=_-d);let v=e=>-h*Math.exp(-e/r),y=e=>_+v(e),b=e=>{let t=v(e),n=y(e);f.done=Math.abs(t)<=l,f.value=f.done?_:n},x,S,C=e=>{p(f.value)&&(x=e,S=mr({keyframes:[f.value,m(f.value)],velocity:gr(y,e,f.value),damping:i,stiffness:a,restDelta:l,restSpeed:u}))};return C(0),{calculatedDuration:null,next:e=>{let t=!1;return!S&&x===void 0&&(t=!0,b(e),C(e)),x!==void 0&&e>=x?S.next(e-x):(!t&&b(e),f)}}}function vr(e,t,n){let r=[],i=n||ot.mix||$n,a=e.length-1;for(let n=0;n<a;n++){let a=i(e[n],e[n+1]);t&&(a=dt(Array.isArray(t)?t[n]||I:t,a)),r.push(a)}return r}function yr(e,t,{clamp:n=!0,ease:r,mixer:i}={}){let a=e.length;if(t.length,a===1)return()=>t[0];if(a===2&&t[0]===t[1])return()=>t[1];let o=e[0]===e[1];e[0]>e[a-1]&&(e=[...e].reverse(),t=[...t].reverse());let s=vr(t,r,i),c=s.length,l=n=>{if(o&&n<e[0])return t[0];let r=0;if(c>1)for(;r<e.length-2&&!(n<e[r+1]);r++);let i=ft(e[r],e[r+1],n);return s[r](i)};return n?t=>l(F(e[0],e[a-1],t)):l}function br(e,t){let n=e[e.length-1];for(let r=1;r<=t;r++){let i=ft(0,t,r);e.push(K(n,1,i))}}function xr(e){let t=[0];return br(t,e.length-1),t}function Sr(e,t){return e.map(e=>e*t)}function Cr(e,t){return e.map(()=>t||jt).splice(0,e.length-1)}function wr({duration:e=300,keyframes:t,times:n,ease:r=`easeInOut`}){let i=Mt(r)?r.map(It):It(r),a={done:!1,value:t[0]},o=yr(Sr(n&&n.length===t.length?n:xr(t),e),t,{ease:Array.isArray(i)?i:Cr(t,i)});return{calculatedDuration:e,next:t=>(a.value=o(t),a.done=t>=e,a)}}var Tr=e=>e!==null;function Er(e,{repeat:t,repeatType:n=`loop`},r,i=1){let a=e.filter(Tr),o=i<0||t&&n!==`loop`&&t%2==1?0:a.length-1;return!o||r===void 0?a[o]:r}var Dr={decay:_r,inertia:_r,tween:wr,keyframes:wr,spring:mr};function Or(e){typeof e.type==`string`&&(e.type=Dr[e.type])}var kr=class{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(e=>{this.resolve=e})}notifyFinished(){this.resolve()}then(e,t){return this.finished.then(e,t)}},Ar=e=>e/100,jr=class extends kr{constructor(e){super(),this.state=`idle`,this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{let{motionValue:e}=this.options;e&&e.updatedAt!==V.now()&&this.tick(V.now()),this.isStopped=!0,this.state!==`idle`&&(this.teardown(),this.options.onStop?.())},this.options=e,this.initAnimation(),this.play(),e.autoplay===!1&&this.pause()}initAnimation(){let{options:e}=this;Or(e);let{type:t=wr,repeat:n=0,repeatDelay:r=0,repeatType:i,velocity:a=0}=e,{keyframes:o}=e,s=t||wr;s!==wr&&typeof o[0]!=`number`&&(this.mixKeyframes=dt(Ar,$n(o[0],o[1])),o=[0,100]);let c=s({...e,keyframes:o});i===`mirror`&&(this.mirroredGenerator=s({...e,keyframes:[...o].reverse(),velocity:-a})),c.calculatedDuration===null&&(c.calculatedDuration=rr(c));let{calculatedDuration:l}=c;this.calculatedDuration=l,this.resolvedDuration=l+r,this.totalDuration=this.resolvedDuration*(n+1)-r,this.generator=c}updateTime(e){let t=Math.round(e-this.startTime)*this.playbackSpeed;this.holdTime===null?this.currentTime=t:this.currentTime=this.holdTime}tick(e,t=!1){let{generator:n,totalDuration:r,mixKeyframes:i,mirroredGenerator:a,resolvedDuration:o,calculatedDuration:s}=this;if(this.startTime===null)return n.next(0);let{delay:c=0,keyframes:l,repeat:u,repeatType:d,repeatDelay:f,type:p,onUpdate:m,finalKeyframe:h}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-r/this.speed,this.startTime)),t?this.currentTime=e:this.updateTime(e);let g=this.currentTime-c*(this.playbackSpeed>=0?1:-1),_=this.playbackSpeed>=0?g<0:g>r;this.currentTime=Math.max(g,0),this.state===`finished`&&this.holdTime===null&&(this.currentTime=r);let v=this.currentTime,y=n;if(u){let e=Math.min(this.currentTime,r)/o,t=Math.floor(e),n=e%1;!n&&e>=1&&(n=1),n===1&&t--,t=Math.min(t,u+1),t%2&&(d===`reverse`?(n=1-n,f&&(n-=f/o)):d===`mirror`&&(y=a)),v=F(0,1,n)*o}let b;_?(this.delayState.value=l[0],b=this.delayState):b=y.next(v),i&&!_&&(b.value=i(b.value));let{done:x}=b;!_&&s!==null&&(x=this.playbackSpeed>=0?this.currentTime>=r:this.currentTime<=0);let S=this.holdTime===null&&(this.state===`finished`||this.state===`running`&&x);return S&&p!==_r&&(b.value=Er(l,this.options,h,this.speed)),m&&m(b.value),S&&this.finish(),b}then(e,t){return this.finished.then(e,t)}get duration(){return R(this.calculatedDuration)}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+R(e)}get time(){return R(this.currentTime)}set time(e){e=L(e),this.currentTime=e,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state=`paused`,this.holdTime=e,this.tick(e))}getGeneratorVelocity(){let e=this.currentTime;if(e<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(e);let t=this.generator.next(e).value;return gr(e=>this.generator.next(e).value,e,t)}get speed(){return this.playbackSpeed}set speed(e){let t=this.playbackSpeed!==e;t&&this.driver&&this.updateTime(V.now()),this.playbackSpeed=e,t&&this.driver&&(this.time=R(this.currentTime))}play(){if(this.isStopped)return;let{driver:e=er,startTime:t}=this.options;this.driver||=e(e=>this.tick(e)),this.options.onPlay?.();let n=this.driver.now();this.state===`finished`?(this.updateFinished(),this.startTime=n):this.holdTime===null?this.startTime||=t??n:this.startTime=n-this.holdTime,this.state===`finished`&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state=`running`,this.driver.start()}pause(){this.state=`paused`,this.updateTime(V.now()),this.holdTime=this.currentTime}complete(){this.state!==`running`&&this.play(),this.state=`finished`,this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state=`finished`,this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state=`idle`,this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&=(this.driver.stop(),void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}attachTimeline(e){return this.options.allowFlatten&&(this.options.type=`keyframes`,this.options.ease=`linear`,this.initAnimation()),this.driver?.stop(),e.observe(this)}};function Mr(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}var Nr=e=>e*180/Math.PI,Pr=e=>Ir(Nr(Math.atan2(e[1],e[0]))),Fr={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:Pr,rotateZ:Pr,skewX:e=>Nr(Math.atan(e[1])),skewY:e=>Nr(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},Ir=e=>(e%=360,e<0&&(e+=360),e),Lr=Pr,Rr=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),zr=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),Br={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:Rr,scaleY:zr,scale:e=>(Rr(e)+zr(e))/2,rotateX:e=>Ir(Nr(Math.atan2(e[6],e[5]))),rotateY:e=>Ir(Nr(Math.atan2(-e[2],e[0]))),rotateZ:Lr,rotate:Lr,skewX:e=>Nr(Math.atan(e[4])),skewY:e=>Nr(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function Vr(e){return+!!e.includes(`scale`)}
1function Hr(e,t){if(!e||e===`none`)return Vr(t);let n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u),r,i;if(n)r=Br,i=n;else{let t=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=Fr,i=t}if(!i)return Vr(t);let a=r[t],o=i[1].split(`,`).map(Wr);return typeof a==`function`?a(o):o[a]}var Ur=(e,t)=>{let{transform:n=`none`}=getComputedStyle(e);return Hr(n,t)};function Wr(e){return parseFloat(e.trim())}var Gr=[`transformPerspective`,`x`,`y`,`z`,`translateX`,`translateY`,`translateZ`,`scale`,`scaleX`,`scaleY`,`rotate`,`rotateX`,`rotateY`,`rotateZ`,`skew`,`skewX`,`skewY`],Kr=new Set([...Gr,`pathRotation`]),qr=e=>e===tn||e===U,Jr=new Set([`x`,`y`,`z`]),Yr=Gr.filter(e=>!Jr.has(e));function Xr(e){let t=[];return Yr.forEach(n=>{let r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(+!!n.startsWith(`scale`)))}),t}var Zr={width:({x:e},{paddingLeft:t=`0`,paddingRight:n=`0`,boxSizing:r})=>{let i=e.max-e.min;return r===`border-box`?i:i-parseFloat(t)-parseFloat(n)},height:({y:e},{paddingTop:t=`0`,paddingBottom:n=`0`,boxSizing:r})=>{let i=e.max-e.min;return r===`border-box`?i:i-parseFloat(t)-parseFloat(n)},top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>Hr(t,`x`),y:(e,{transform:t})=>Hr(t,`y`)};Zr.translateX=Zr.x,Zr.translateY=Zr.y;var Qr=new Set,$r=!1,ei=!1,ti=!1;function ni(){if(ei){let e=Array.from(Qr).filter(e=>e.needsMeasurement),t=new Set(e.map(e=>e.element)),n=new Map;t.forEach(e=>{let t=Xr(e);t.length&&(n.set(e,t),e.render())}),e.forEach(e=>e.measureInitialState()),t.forEach(e=>{e.render();let t=n.get(e);t&&t.forEach(([t,n])=>{e.getValue(t)?.set(n)})}),e.forEach(e=>e.measureEndState()),e.forEach(e=>{e.suspendedScrollY!==void 0&&window.scrollTo(0,e.suspendedScrollY)})}ei=!1,$r=!1,Qr.forEach(e=>e.complete(ti)),Qr.clear()}function ri(){Qr.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(ei=!0)})}function ii(){ti=!0,ri(),ni(),ti=!1}var ai=class{constructor(e,t,n,r,i,a=!1){this.state=`pending`,this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=n,this.motionValue=r,this.element=i,this.isAsync=a}scheduleResolve(){this.state=`scheduled`,this.isAsync?(Qr.add(this),$r||($r=!0,z.read(ri),z.resolveKeyframes(ni))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:e,name:t,element:n,motionValue:r}=this;if(e[0]===null){let i=r?.get(),a=e[e.length-1];if(i!==void 0)e[0]=i;else if(n&&t){let r=n.readValue(t,a);r!=null&&(e[0]=r)}e[0]===void 0&&(e[0]=a),r&&i===void 0&&r.set(e[0])}Mr(e)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(e=!1){this.state=`complete`,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,e),Qr.delete(this)}cancel(){this.state===`scheduled`&&(Qr.delete(this),this.state=`pending`)}resume(){this.state===`pending`&&this.scheduleResolve()}},oi=e=>e.startsWith(`--`);function si(e,t,n){oi(t)?e.style.setProperty(t,n):e.style[t]=n}var ci={};function li(e,t){let n=ut(e);return()=>ci[t]??n()}var ui=li(()=>window.ScrollTimeline!==void 0,`scrollTimeline`),di=li(()=>{try{document.createElement(`div`).animate({opacity:0}
1,{easing:`linear(0, 1)`})}catch{return!1}return!0},`linearEasing`),fi=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,pi={linear:`linear`,ease:`ease`,easeIn:`ease-in`,easeOut:`ease-out`,easeInOut:`ease-in-out`,circIn:fi([0,.65,.55,1]),circOut:fi([.55,0,1,.45]),backIn:fi([.31,.01,.66,-.59]),backOut:fi([.33,1.53,.69,.99])};function mi(e,t){if(e)return typeof e==`function`?di()?tr(e,t):`ease-out`:Nt(e)?fi(e):Array.isArray(e)?e.map(e=>mi(e,t)||pi.easeOut):pi[e]}function hi(e,t,n,{delay:r=0,duration:i=300,repeat:a=0,repeatType:o=`loop`,ease:s=`easeOut`,times:c}={},l=void 0){let u={[t]:n};c&&(u.offset=c);let d=mi(s,i);Array.isArray(d)&&(u.easing=d);let f={delay:r,duration:i,easing:Array.isArray(d)?`linear`:d,fill:`both`,iterations:a+1,direction:o===`reverse`?`alternate`:`normal`};return l&&(f.pseudoElement=l),e.animate(u,f)}function gi(e){return typeof e==`function`&&`applyToOptions`in e}function _i({type:e,...t}){return gi(e)&&di()?e.applyToOptions(t):(t.duration??=300,t.ease??=`easeOut`,t)}var vi=class extends kr{constructor(e){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!e)return;let{element:t,name:n,keyframes:r,pseudoElement:i,allowFlatten:a=!1,finalKeyframe:o,onComplete:s}=e;this.isPseudoElement=!!i,this.allowFlatten=a,this.options=e,e.type;let c=_i(e);this.animation=hi(t,n,r,c,i),c.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!i){let e=Er(r,this.options,o,this.speed);this.updateMotionValue&&this.updateMotionValue(e),si(t,n,e),this.animation.cancel()}s?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state===`finished`&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:e}=this;e===`idle`||e===`finished`||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){let e=this.options?.element;!this.isPseudoElement&&e?.isConnected&&this.animation.commitStyles?.()}get duration(){let e=this.animation.effect?.getComputedTiming?.().duration||0;return R(Number(e))}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+R(e)}get time(){return R(Number(this.animation.currentTime)||0)}set time(e){let t=this.finishedTime!==null;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=L(e),t&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(e){e<0&&(this.finishedTime=null),this.animation.playbackRate=e}get state(){return this.finishedTime===null?this.animation.playState:`f
1inished`}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(e){this.manualStartTime=this.animation.startTime=e}attachTimeline({timeline:e,rangeStart:t,rangeEnd:n,observe:r}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:`linear`}),this.animation.onfinish=null,e&&ui()?(this.animation.timeline=e,t&&(this.animation.rangeStart=t),n&&(this.animation.rangeEnd=n),I):r(this)}},yi={anticipate:Tt,backInOut:wt,circInOut:Ot};function bi(e){return e in yi}function xi(e){typeof e.ease==`string`&&bi(e.ease)&&(e.ease=yi[e.ease])}var Si=10,Ci=class extends vi{constructor(e){xi(e),Or(e),super(e),e.startTime!==void 0&&e.autoplay!==!1&&(this.startTime=e.startTime),this.options=e}updateMotionValue(e){let{motionValue:t,onUpdate:n,onComplete:r,element:i,...a}=this.options;if(!t)return;if(e!==void 0){t.set(e);return}let o=new jr({...a,autoplay:!1}),s=Math.max(Si,V.now()-this.startTime),c=F(0,Si,s-Si),l=o.sample(s).value,{name:u}=this.options;i&&u&&si(i,u,l),t.setWithVelocity(o.sample(Math.max(0,s-c)).value,l,c),o.stop()}},wi=(e,t)=>t!==`zIndex`&&!!(typeof e==`number`||Array.isArray(e)||typeof e==`string`&&(G.test(e)||e===`0`)&&!e.startsWith(`url(`));function Ti(e){let t=e[0];if(e.length===1)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}function Ei(e,t,n,r){let i=e[0];if(i===null)return!1;if(t===`display`||t===`visibility`)return!0;let a=e[e.length-1],o=wi(i,t),s=wi(a,t);return`${t}${i}${a}${o?a:i}`,!o||!s?!1:Ti(e)||(n===`spring`||gi(n))&&r}function Di(e){e.duration=0,e.type=`keyframes`}var Oi=new Set([`opacity`,`clipPath`,`filter`,`transform`,`backgroundColor`]),ki=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;function Ai(e){for(let t=0;t<e.length;t++)if(typeof e[t]==`string`&&ki.test(e[t]))return!0;return!1}var ji=new Set([`color`,`backgroundColor`,`outlineColor`,`fill`,`stroke`,`borderColor`,`borderTopColor`,`borderRightColor`,`borderBottomColor`,`borderLeftColor`]),Mi=ut(()=>Object.hasOwnProperty.call(Element.prototype,`animate`));function Ni(e){let{motionValue:t,name:n,repeatDelay:r,repeatType:i,damping:a,type:o,keyframes:s}=e,c=t?.owner?.current;if(!(c instanceof HTMLElement)&&!(c instanceof SVGElement))return!1;let{onUpdate:l,transformTemplate:u}=t.owner.getProps();return Mi()&&n&&(Oi.has(n)||ji.has(n)&&Ai(s))&&(n!==`transform`||!u)&&!l&&!r&&i!==`mirror`&&a!==0&&o!==`inertia`}var Pi=40,Fi=class extends kr{constructor({autoplay:e=!0,delay:t=0,type:n=`keyframes`,repeat:r=0,repeatDelay:i=0,repeatType:a=`loop`,keyframes:o,name:s,motionValue:c,element:l,...u}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=V.now();let d={autoplay:e,delay:t,type:n,repeat:r,repeatDelay:i,repeatType:a,name:s,motionValue:c,element:l,...u},f=l?.KeyframeResolver||ai;this.keyframeResolver=new f(o,(e,t,n)=>this.onKeyframesResolved(e,t,d,!n),s,c,l),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(e,t,n,r){this.keyframeResolver=void 0;let{name:i,type:a,velocity:o,delay:s,isHandoff:c,onUpdate:l}=n;this.resolvedAt=V.now();let u=!0;Ei(e,i,a,o)||(u=!1,(ot.instantAnimations||!s)&&l?.(Er(e,n,t)),e[0]=e[e.length-1],Di(n),n.repeat=0);let d={startTime:r?this.resolvedAt&&this.resolvedAt-this.createdAt>Pi?this.resolvedAt:this.createdAt:void 0,finalKeyframe:t,...n,keyframes:e},f=u&&!c&&Ni(d),p=d.motionValue?.owner?.current,m;if(f)try{m=new Ci({...d,element:p})}catch{m=new jr(d)}else m=new jr(d);m.finished.then(()=>{this.notifyFinished()}).catch(I),this.pendingTimeline&&=(this.stopTimeline=m.attachTimeline(this.pendingTimeline),void 0),this._animation=m}get finished(){return this._animation?this.animation.finished:this._finished}then(e,t){return this.finished.finally(e).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),ii()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(e){this.animation.time=e}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(e){this.animation.speed=e}get startTime(){return this.animation.startTime}attachTimeline(e){return this._animation?this.stopTimeline=this.animation.attachTimeline(e):this.pendingTimeline=e,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}};function Ii(e,t,n,r=0,i=1){let a=Array.from(e).sort((e,t)=>
1e.sortNodePosition(t)).indexOf(t),o=e.size,s=(o-1)*r;return typeof n==`function`?n(a,o):i===1?a*r:s-a*r}var Li=30,Ri=e=>!isNaN(parseFloat(e)),zi={current:void 0},Bi=class{constructor(e,t={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=e=>{let t=V.now();if(this.updatedAt!==t&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(e),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(let e of this.dependents)e.dirty()},this.hasAnimated=!1,this.setCurrent(e),this.owner=t.owner}setCurrent(e){this.current=e,this.updatedAt=V.now(),this.canTrackVelocity===null&&e!==void 0&&(this.canTrackVelocity=Ri(this.current))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on(`change`,e)}on(e,t){this.events[e]||(this.events[e]=new pt);let n=this.events[e].add(t);return e===`change`?()=>{n(),z.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(let e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e){this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e)}setWithVelocity(e,t,n){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-n}jump(e,t=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,t&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(e){this.dependents||=new Set,this.dependents.add(e)}removeDependent(e){this.dependents&&this.dependents.delete(e)}get(){return zi.current&&zi.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let e=V.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||e-this.updatedAt>Li)return 0;let t=Math.min(this.updatedAt-this.prevUpdatedAt,Li);return mt(parseFloat(this.current)-parseFloat(this.prevFrameValue),t)}start(e){return this.stop(),new Promise(t=>{this.hasAnimated=!0,this.animation=e(t),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}};function Vi(e,t){return new Bi(e,t)}function Hi(e,t){if(e?.inherit&&t){let{inherit:n,...r}=e;return{...t,...r}}return e}function Ui(e,t){let n=e?.[t]??e?.default??e;return n===e?n:Hi(n,e)}var Wi={type:`spring`,stiffness:500,damping:25,restSpeed:10},Gi=e=>({type:`spring`,stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),Ki={type:`keyframes`,duration:.8},qi={type:`keyframes`,ease:[.25,.1,.35,1],duration:.3},Ji=(e,{keyframes:t})=>t.length>2?Ki:Kr.has(e)?e.startsWith(`scale`)?Gi(t[1]):Wi:qi,Yi=new Set([`when`,`delay`,`delayChildren`,`staggerChildren`,`staggerDirection`,`repeat`,`repeatType`,`repeatDelay`,`from`,`elapsed`]);function Xi(e){for(let t in e)if(!Yi.has(t))return!0;return!1}var Zi=(e,t,n,r={},i,a)=>o=>{let s=Ui(r,e)||{},c=s.delay||r.delay||0,{elapsed:l=0}=r;l-=L(c);let u={keyframes:Array.isArray(n)?n:[null,n],ease:`easeOut`,velocity:t.getVelocity(),...s,delay:-l,onUpdate:e=>{t.set(e),s.onUpdate&&s.onUpdate(e)},onComplete:()=>{o(),s.onComplete&&s.onComplete()},name:e,motionValue:t,element:a?void 0:i};Xi(s)||Object.assign(u,Ji(e,u)),u.duration&&=L(u.duration),u.repeatDelay&&=L(u.repeatDelay),u.from!==void 0&&(u.keyframes[0]=u.from);let d=!1;if((u.type===!1||u.duration===0&&!u.repeatDelay)&&(Di(u),u.delay===0&&(d=!0)),(ot.instantAnimations||ot.skipAnimations||i?.shouldSkipAnimations||s.skipAnimations)&&(d=!0,Di(u),u.delay=0),u.allowFlatten=!s.type&&!s.ease,d&&!a&&t.get()!==void 0){let e=Er(u.keyframes,s);if(e!==void 0){z.update(()=>{u.onUpdate(e),u.onComplete()});return}}return s.isSync?new jr(u):new Fi(u)},Qi=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function $i(e){let t=Qi.exec(e);if(!t)return[,];let[,n,r,i]=t;return[`--${n??r}`,i]}function ea(e,t,n=1){`${e}`;let[r,i]=$i(e);if(!r)return;let a=window.getComputedStyle(t).getPropertyValue(r);if(a){let e=a.trim();return st(e)?parseFloat(e):e}return Qt(i)?ea(i,t,n+1):i}function ta(e){let t=[{},{}];
1return e?.values.forEach((e,n)=>{t[0][n]=e.get(),t[1][n]=e.getVelocity()}),t}function na(e,t,n,r){if(typeof t==`function`){let[i,a]=ta(r);t=t(n===void 0?e.custom:n,i,a)}if(typeof t==`string`&&(t=e.variants&&e.variants[t]),typeof t==`function`){let[i,a]=ta(r);t=t(n===void 0?e.custom:n,i,a)}return t}function ra(e,t,n){let r=e.getProps();return na(r,t,n===void 0?r.custom:n,e)}var ia=new Set([`width`,`height`,`top`,`left`,`right`,`bottom`,...Gr]),aa=e=>Array.isArray(e);function oa(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Vi(n))}function sa(e){return aa(e)?e[e.length-1]||0:e}function ca(e,t){let{transitionEnd:n={},transition:r={},...i}=ra(e,t)||{};i={...i,...n};for(let t in i)oa(e,t,sa(i[t]))}var J=e=>!!(e&&e.getVelocity);function la(e){return!!(J(e)&&e.add)}function ua(e,t){let n=e.getValue(`willChange`);if(la(n))return n.add(t);if(!n&&ot.WillChange){let n=new ot.WillChange(`auto`);e.addValue(`willChange`,n),n.add(t)}}function da(e){return e.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`)}var fa=`data-`+da(`framerAppearId`);function pa(e){return e.props[fa]}function ma({protectedKeys:e,needsAnimating:t},n){let r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function ha(e,t,{delay:n=0,transitionOverride:r,type:i}={}){let{transition:a,transitionEnd:o,...s}=t,c=e.getDefaultTransition();a=a?Hi(a,c):c;let l=a?.reduceMotion,u=a?.skipAnimations;r&&(a=r);let d=[],f=i&&e.animationState&&e.animationState.getState()[i],p=a?.path;p&&p.animateVisualElement(e,s,a,n,d);for(let t in s){let r=e.getValue(t,e.latestValues[t]??null),i=s[t];if(i===void 0||f&&ma(f,t))continue;let o={delay:n,...Ui(a||{},t)};u&&(o.skipAnimations=!0);let c=r.get();if(c!==void 0&&!r.isAnimating()&&!Array.isArray(i)&&i===c&&!o.velocity){z.update(()=>r.set(i));continue}let p=!1;if(window.MotionHandoffAnimation){let n=pa(e);if(n){let e=window.MotionHandoffAnimation(n,t,z);e!==null&&(o.startTime=e,p=!0)}}ua(e,t);let m=l??e.shouldReduceMotion;r.start(Zi(t,r,i,m&&ia.has(t)?{type:!1}:o,e,p));let h=r.animation;h&&d.push(h)}if(o){let t=()=>z.update(()=>{o&&ca(e,o)});d.length?Promise.all(d).then(t):t()}return d}function ga(e,t,n={}){let r=ra(e,t,n.type===`exit`?e.presenceContext?.custom:void 0),{transition:i=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(i=n.transitionOverride);let a=r?()=>Promise.all(ha(e,r,n)):()=>Promise.resolve(),o=e.variantChildren&&e.variantChildren.size?(r=0)=>{let{delayChildren:a=0,staggerChildren:o,staggerDirection:s}=i;return _a(e,t,r,a,o,s,n)}:()=>Promise.resolve(),{when:s}=i;if(s){let[e,t]=s===`beforeChildren`?[a,o]:[o,a];return e().then(()=>t())}else return Promise.all([a(),o(n.delay)])}function _a(e,t,n=0,r=0,i=0,a=1,o){let s=[];for(let c of e.variantChildren)c.notify(`AnimationStart`,t),s.push(ga(c,t,{...o,delay:n+(typeof r==`function`?0:r)+Ii(e.variantChildren,c,r,i,a)}).then(()=>c.notify(`AnimationComplete`,t)));return Promise.all(s)}function va(e,t,n={}){e.notify(`AnimationStart`,t);let r;if(Array.isArray(t)){let i=t.map(t=>ga(e,t,n));r=Promise.all(i)}else if(typeof t==`string`)r=ga(e,t,n);else{let i=typeof t==`function`?ra(e,t,n.custom):t;r=Promise.all(ha(e,i,n))}return r.then(()=>{e.notify(`AnimationComplete`,t)})}var ya={test:e=>e===`auto`,parse:e=>e},ba=e=>t=>t.test(e),xa=[tn,U,H,_n,yn,vn,ya],Sa=e=>xa.find(ba(e));function Ca(e){return typeof e==`number`?e===0:e===null||e===`none`||e===`0`||lt(e)}var wa=new Set([`brightness`,`contrast`,`saturate`,`opacity`]);function Ta(e){let[t,n]=e.slice(0,-1).split(`(`);if(t===`drop-shadow`)return e;let[r]=n.match(on)||[];if(!r)return e;let i=n.replace(r,``),a=+!!wa.has(t);return r!==n&&(a*=100),t+`(`+a+i+`)`}var Ea=/\b([a-z-]*)\(.*?\)/gu,Da={...G,getAnimatableNone:e=>{let t=e.match(Ea);return t?t.map(Ta).join(` `):e}},Oa={...G,getAnimatableNone:e=>{let t=G.parse(e);return G.createTransformer(e)(t.map(e=>typeof e==`number`?0:typeof e==`object`?{...e,alpha:1}:e))}},ka={...tn,transform:Math.round},Aa={borderWidth:U,borderTopWidth:U,borderRightWidth:U,borderBottomWidth:U,borderLeftWidth:U,borderRadius:U,borderTopLeftRadius:U,borderTopRightRadius:U,borderBottomRightRadius:U,borderBottomLeftRadius:U,width:U,maxWidth:U,height:U,maxHeight:U,top:U,right:U,bottom:U,left:U,inset:U,insetBlock:U,insetBlockStart:U,insetBlockEnd:U,insetInline:U,insetInlineStart:U,insetInlineEnd:U,padding:U,paddingTop:U,paddingRight:U,paddingBottom:U,paddingLeft:U,paddingBlock:U,paddingBlockStart:U,paddingBlockEnd:U,paddingInline:U,paddingInlineStart:U,paddingInlineEnd:U,margin:U,marginTop:U,marginRight:U,marginBottom:U,marginLeft:U,marginBlock:U,marginBlockStart:U,marginBlockEnd:U,marginInline:U,marginInlineStart:U,marginInlineEnd:U,fontSize:U,backgroundPositionX:U,backgroundPositionY:U,rotate:_n,pathRotation:_n,rotateX:_n,rotateY:_n,rotateZ:_n,scale:rn,scaleX:rn,scaleY:rn,scaleZ:rn,skew:_n,skewX:_n,skewY:_n,distance:U,translateX:U,translateY:U,translateZ:U,x:U,y:U,z:U,perspective:U,transformPerspective:U,opacity:nn,originX:bn,originY:bn,originZ:U,zIndex:ka,fillOpacity:nn,strokeOpacity:nn,numOctaves:ka},ja={...Aa,color:W,backgroundColor:W,outlineColor:W,fill:W,stroke:W,borderColor:W,borderTopColor:W,borderRightColor:W,borderBottomColor:W,borderLeftColor:W,filter:Da,WebkitFilter:Da,mask:Oa,WebkitMask:Oa},Ma=e=>ja[e],Na=new Set([Da,Oa]);function Pa(e,t){let n=Ma(e);return Na.has(n)||(n=G),n.getAnimatableNone?n.getAnimatableNone(t):void 0}var Fa=new Set([`auto`,`none`,`0`]);
1function Ia(e,t,n){let r=0,i;for(;r<e.length&&!i;){let t=e[r];typeof t==`string`&&!Fa.has(t)&&An(t).values.length&&(i=e[r]),r++}if(i&&n)for(let r of t)e[r]=Pa(n,i)}var La=class extends ai{constructor(e,t,n,r,i){super(e,t,n,r,i,!0)}readKeyframes(){let{unresolvedKeyframes:e,element:t,name:n}=this;if(!t||!t.current)return;super.readKeyframes();for(let n=0;n<e.length;n++){let r=e[n];if(typeof r==`string`&&(r=r.trim(),Qt(r))){let i=ea(r,t.current);i!==void 0&&(e[n]=i),n===e.length-1&&(this.finalKeyframe=r)}}if(this.resolveNoneKeyframes(),!ia.has(n)||e.length!==2)return;let[r,i]=e,a=Sa(r),o=Sa(i);if(en(r)!==en(i)&&Zr[n]){this.needsMeasurement=!0;return}if(a!==o)if(qr(a)&&qr(o))for(let t=0;t<e.length;t++){let n=e[t];typeof n==`string`&&(e[t]=parseFloat(n))}else Zr[n]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:e,name:t}=this,n=[];for(let t=0;t<e.length;t++)(e[t]===null||Ca(e[t]))&&n.push(t);n.length&&Ia(e,n,t)}measureInitialState(){let{element:e,unresolvedKeyframes:t,name:n}=this;if(!e||!e.current)return;n===`height`&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Zr[n](e.measureViewportBox(),window.getComputedStyle(e.current)),t[0]=this.measuredOrigin;let r=t[t.length-1];r!==void 0&&e.getValue(n,r).jump(r,!1)}measureEndState(){let{element:e,name:t,unresolvedKeyframes:n}=this;if(!e||!e.current)return;let r=e.getValue(t);r&&r.jump(this.measuredOrigin,!1);let i=n.length-1,a=n[i];n[i]=Zr[t](e.measureViewportBox(),window.getComputedStyle(e.current)),a!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=a),this.removedTransforms?.length&&this.removedTransforms.forEac
1h(([t,n])=>{e.getValue(t).set(n)}),this.resolveNoneKeyframes()}},Ra=[`borderTopLeftRadius`,`borderTopRightRadius`,`borderBottomRightRadius`,`borderBottomLeftRadius`];function za(e,t,n){if(e==null)return[];if(e instanceof EventTarget)return[e];if(typeof e==`string`){let r=document;t&&(r=t.current);let i=n?.[e]??r.querySelectorAll(e);return i?Array.from(i):[]}return Array.from(e).filter(e=>e!=null)}var Ba=(e,t)=>t&&typeof e==`number`?t.transform(e):e;function Va(e){return ct(e)&&`offsetHeight`in e&&!(`ownerSVGElement`in e)}var{schedule:Ha,cancel:Ua}=Wt(queueMicrotask,!1),Y={x:!1,y:!1};function Wa(){return Y.x||Y.y}function Ga(e){return e===`x`||e===`y`?Y[e]?null:(Y[e]=!0,()=>{Y[e]=!1}):Y.x||Y.y?null:(Y.x=Y.y=!0,()=>{Y.x=Y.y=!1})}function Ka(e,t){let n=za(e),r=new AbortController;return[n,{passive:!0,...t,signal:r.signal},()=>r.abort()]}function qa(e){return!(e.pointerType===`touch`||Wa())}function Ja(e,t,n={}){let[r,i,a]=Ka(e,n);return r.forEach(e=>{let n=!1,r=!1,a,o=()=>{e.removeEventListener(`pointerleave`,u)},s=e=>{a&&=(a(e),void 0),o()},c=e=>{n=!1,window.removeEventListener(`pointerup`,c),window.removeEventListener(`pointercancel`,c),r&&(r=!1,s(e))},l=()=>{n=!0,window.addEventListener(`pointerup`,c,i),window.addEventListener(`pointercancel`,c,i)},u=e=>{if(e.pointerType!==`touch`){if(n){r=!0;return}s(e)}};e.addEventListener(`pointerenter`,n=>{if(!qa(n))return;r=!1;let o=t(e,n);typeof o==`function`&&(a=o,e.addEventListener(`pointerleave`,u,i))},i),e.addEventListener(`pointerdown`,l,i)}),a}var Ya=(e,t)=>t?e===t||Ya(e,t.parentElement):!1,Xa=e=>e.pointerType===`mouse`?typeof e.button!=`number`||e.button<=0:e.isPrimary!==!1,Za=new Set([`BUTTON`,`INPUT`,`SELECT`,`TEXTAREA`,`A`]);function Qa(e){return Za.has(e.tagName)||e.isContentEditable===!0}var $a=new Set([`INPUT`,`SELECT`,`TEXTAREA`]);function eo(e){return $a.has(e.tagName)||e.isContentEditable===!0}var to=new WeakSet;function no(e){return t=>{t.key===`Enter`&&e(t)}}function ro(e,t){e.dispatchEvent(new PointerEvent(`pointer`+t,{isPrimary:!0,bubbles:!0}))}var io=(e,t)=>{let n=e.currentTarget;if(!n)return;let r=no(()=>{if(to.has(n))return;ro(n,`down`);let e=no(()=>{ro(n,`up`)});n.addEventListener(`keyup`,e,t),n.addEventListener(`blur`,()=>ro(n,`cancel`),t)});n.addEventListener(`keydown`,r,t),n.addEventListener(`blur`,()=>n.removeEventListener(`keydown`,r),t)};function ao(e){return Xa(e)&&!Wa()}var oo=new WeakSet;function so(e,t,n={}){let[r,i,a]=Ka(e,n),o=e=>{let r=e.currentTarget;if(!ao(e)||oo.has(e))return;to.add(r),n.stopPropagation&&oo.add(e);let a=t(r,e),o={...i,capture:!0},s=(e,t)=>{window.removeEventListener(`pointerup`,c,o),window.removeEventListener(`pointercancel`,l,o),to.has(r)&&to.delete(r),ao(e)&&typeof a==`function`&&a(e,{success:t})},c=e=>{s(e,r===window||r===document||n.useGlobalTarget||Ya(r,e.target))},l=e=>{s(e,!1)};window.addEventListener(`pointerup`,c,o),window.addEventListener(`pointercancel`,l,o)};return r.forEach(e=>{(n.useGlobalTarget?window:e).addEventListener(`pointerdown`,o,i),Va(e)&&(e.addEventListener(`focus`,e=>io(e,i)),!Qa(e)&&!e.hasAttribute(`tabindex`)&&(e.tabIndex=0))}),a}function co(e){return ct(e)&&`ownerSVGElement`in e}var lo=new WeakMap,uo,fo=(e,t,n)=>(r,i)=>i&&i[0]?i[0][e+`Size`]:co(r)&&`getBBox`in r?r.getBBox()[t]:r[n],po=fo(`inline`,`width`,`offsetWidth`),mo=fo(`block`,`height`,`offsetHeight`);function ho({target:e,borderBoxSize:t}){lo.get(e)?.forEach(n=>{n(e,{get width(){return po(e,t)},get height(){return mo(e,t)}})})}function go(e){e.forEach(ho)}function _o(){typeof ResizeObserver>`u`||(uo=new ResizeObserver(go))}function vo(e,t){uo||_o();let n=za(e);return n.forEach(e=>{let n=lo.get(e);n||(n=new Set,lo.set(e,n)),n.add(t),uo?.observe(e)}),()=>{n.forEach(e=>{let n=lo.get(e);n?.delete(t),n?.size||uo?.unobserve(e)})}}var yo=new Set,bo;function xo(){bo=()=>{let e={get width(){return window.innerWidth},get height(){return window.innerHeight}};yo.forEach(t=>t(e))},window.addEventListener(`resize`,bo)}function So(e){return yo.add(e),bo||xo(),()=>{yo.delete(e),!yo.size&&typeof bo==`function`&&(window.removeEventListener(`resize`,bo),bo=void 0)}}function Co(e,t){return typeof e==`function`?So(e):vo(e,t)}var wo={value:null,addProjectionMetrics:null};function To(e){return co(e)&&e.tagName===`svg`}var Eo=[...xa,W,G],Do=e=>Eo.find(ba(e)),Oo=()=>({translate:0,scale:1,origin:0,originPoint:0}),ko=()=>({x:Oo(),y:Oo()}),Ao=()=>({min:0,max:0}),X=()=>({x:Ao(),y:Ao()}),jo=new WeakMap;function Mo(e){return typeof e==`object`&&!!e&&typeof e.start==`function`}function No(e){return typeof e==`string`||Array.isArray(e)}var Po=[`animate`,`whileInView`,`whileFocus`,`whileHover`,`whileTap`,`whileDrag`,`exit`],Fo=[`initial`,...Po];function Io(e){return Mo(e.animate)||Fo.some(t=>No(e[t]))}function Lo(e){return!!(Io(e)||e.variants)}
1function Ro(e,t,n){for(let r in t){let i=t[r],a=n[r];if(J(i))e.addValue(r,i);else if(J(a))e.addValue(r,Vi(i,{owner:e}));else if(a!==i)if(e.hasValue(r)){let t=e.getValue(r);t.liveStyle===!0?t.jump(i):t.hasAnimated||t.set(i)}else{let t=e.getStaticValue(r);e.addValue(r,Vi(t===void 0?i:t,{owner:e}))}}for(let r in n)t[r]===void 0&&e.removeValue(r);return t}var zo={current:null},Bo={current:!1},Vo=typeof window<`u`;function Ho(){if(Bo.current=!0,Vo)if(window.matchMedia){let e=window.matchMedia(`(prefers-reduced-motion)`),t=()=>zo.current=e.matches;e.addEventListener(`change`,t),t()}else zo.current=!1}var Uo=[`AnimationStart`,`AnimationComplete`,`Update`,`BeforeLayoutMeasure`,`LayoutMeasure`,`LayoutAnimationStart`,`LayoutAnimationComplete`],Wo={};function Go(e){Wo=e}function Ko(){return Wo}var qo=class{scrapeMotionValuesFromProps(e,t,n){return{}}constructor({parent:e,props:t,presenceContext:n,reducedMotionConfig:r,skipAnimations:i,blockInitialAnimation:a,visualState:o},s={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=ai,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify(`Update`,this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let e=V.now();this.renderScheduledAt<e&&(this.renderScheduledAt=e,z.render(this.render,!1,!0))};let{latestValues:c,renderState:l}=o;this.latestValues=c,this.baseTarget={...c},this.initialValues=t.initial?{...c}:{},this.renderState=l,this.parent=e,this.props=t,this.presenceContext=n,this.depth=e?e.depth+1:0,this.reducedMotionConfig=r,this.skipAnimationsConfig=i,this.options=s,this.blockInitialAnimation=!!a,this.isControllingVariants=Io(t),this.isVariantNode=Lo(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);let{willChange:u,...d}=this.scrapeMotionValuesFromProps(t,{},this);for(let e in d){let t=d[e];c[e]!==void 0&&J(t)&&t.set(c[e])}}mount(e){if(this.hasBeenMounted)for(let e in this.initialValues)this.values.get(e)?.jump(this.initialValues[e]),this.latestValues[e]=this.initialValues[e];this.current=e,jo.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((e,t)=>this.bindToMotionValue(t,e)),this.reducedMotionConfig===`never`?this.shouldReduceMotion=!1:this.reducedMotionConfig===`always`?this.shouldReduceMotion=!0:(Bo.current||Ho(),this.shouldReduceMotion=zo.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){this.projection&&this.projection.unmount(),Gt(this.notifyUpdate),Gt(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(let e in this.events)this.events[e].clear();for(let e in this.features){let t=this.features[e];t&&(t.unmount(),t.isMounted=!1)}this.current=null}addChild(e){this.children.add(e),this.enteringChildren??=new Set,this.enteringChildren.add(e)}removeChild(e){this.children.delete(e),this.enteringChildren&&this.enteringChildren.delete(e)}bindToMotionValue(e,t){if(this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)(),t.accelerate&&Oi.has(e)&&this.current instanceof HTMLElement){let{factory:n,keyframes:r,times:i,ease:a,duration:o}=t.accelerate,s=new vi({element:this.current,name:e,keyframes:r,times:i,ease:a,duration:L(o)}),c=n(s);this.valueSubscriptions.set(e,()=>{c(),s.cancel()});return}let n=Kr.has(e);n&&this.onBindTransform&&this.onBindTransform();let r=t.on(`change`,t=>{this.latestValues[e]=t,this.props.onUpdate&&z.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()}),i;typeof window<`u`&&window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,e,t)),this.valueSubscriptions.set(e,()=>{r(),i&&i()})}sortNodePosition(e){return!this.current||!this.sortInstanceNodePosition||this.type!==e.type?0:this.sortInstanceNodePosition(this.current,e.current)}updateFeatures(){let e=`animation`;for(e in Wo){let t=Wo[e];if(!t)continue;let{isEnabled:n,Feature:r}=t;if(!this.features[e]&&r&&n(this.props)&&(this.features[e]=new r(this)),this.features[e]){let t=this.features[e];
1t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):X()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;t<Uo.length;t++){let n=Uo[t];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);let r=e[`on`+n];r&&(this.propEventSubscriptions[n]=this.on(n,r))}this.prevMotionValues=Ro(this,this.scrapeMotionValuesFromProps(e,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(e){let t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){let n=this.values.get(e);t!==n&&(n&&this.removeValue(e),this.bindToMotionValue(e,t),this.values.set(e,t),this.latestValues[e]=t.get())}removeValue(e){this.values.delete(e);let t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let n=this.values.get(e);return n===void 0&&t!==void 0&&(n=Vi(t===null?void 0:t,{owner:this}),this.addValue(e,n)),n}readValue(e,t){let n=this.latestValues[e]!==void 0||!this.current?this.latestValues[e]:this.getBaseTargetFromProps(this.props,e)??this.readValueFromInstance(this.current,e,this.options);return n!=null&&(typeof n==`string`&&(st(n)||lt(n))?n=parseFloat(n):!Do(n)&&G.test(t)&&(n=Pa(e,t)),this.setBaseTarget(e,J(n)?n.get():n)),J(n)?n.get():n}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){let{initial:t}=this.props,n;if(typeof t==`string`||typeof t==`object`){let r=na(this.props,t,this.presenceContext?.custom);r&&(n=r[e])}if(t&&n!==void 0)return n;let r=this.getBaseTargetFromProps(this.props,e);return r!==void 0&&!J(r)?r:this.initialValues[e]!==void 0&&n===void 0?void 0:this.baseTarget[e]}on(e,t){return this.events[e]||(this.events[e]=new pt),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}scheduleRenderMicrotask(){Ha.render(this.render)}},Jo=class extends qo{constructor(){super(...arguments),this.KeyframeResolver=La}sortInstanceNodePosition(e,t){return e.compareDocumentPosition(t)&2?1:-1}getBaseTargetFromProps(e,t){let n=e.style;return n?n[t]:void 0}removeValueFromRenderState(e,{vars:t,style:n}){delete t[e],delete n[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:e}=this.props;J(e)&&(this.childSubscription=e.on(`change`,e=>{this.current&&(this.current.textContent=`${e}`)}))}},Yo=class{constructor(e){this.isMounted=!1,this.node=e}update(){}};function Xo({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function Zo({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function Qo(e,t){if(!t)return e;let n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}function $o(e){return e===void 0||e===1}function es({scale:e,scaleX:t,scaleY:n}){return!$o(e)||!$o(t)||!$o(n)}function ts(e){return es(e)||ns(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function ns(e){return rs(e.x)||rs(e.y)}function rs(e){return e&&e!==`0%`}function is(e,t,n){return n+t*(e-n)}function as(e,t,n,r,i){return i!==void 0&&(e=is(e,i,r)),is(e,n,r)+t}function os(e,t=0,n=1,r,i){e.min=as(e.min,t,n,r,i),e.max=as(e.max,t,n,r,i)}function ss(e,{x:t,y:n}){os(e.x,t.translate,t.scale,t.originPoint),os(e.y,n.translate,n.scale,n.originPoint)}var cs=.999999999999,ls=1.0000000000001;function us(e,t,n,r=!1){let i=n.length;if(!i)return;t.x=t.y=1;let a,o;for(let s=0;s<i;s++){a=n[s],o=a.projectionDelta;let{visualElement:i}=a.options;i&&i.props.style&&i.props.style.display===`contents`||(r&&a.options.layoutScroll&&a.scroll&&a!==a.root&&(ds(e.x,-a.scroll.offset.x),ds(e.y,-a.scroll.offset.y)),o&&(t.x*=o.x.scale,t.y*=o.y.scale,ss(e,o)),r&&ts(a.latestValues)&&ms(e,a.latestValues,a.layout?.layoutBox))}t.x<ls&&t.x>cs&&(t.x=1),t.y<ls&&t.y>cs&&(t.y=1)}function ds(e,t){e.min+=t,e.max+=t}function fs(e,t,n,r,i=.5){os(e,t,n,K(e.min,e.max,i),r)}function ps(e,t){return typeof e==`string`?parseFloat(e)/100*(t.max-t.min):e}
1function ms(e,t,n){let r=n??e;fs(e.x,ps(t.x,r.x),t.scaleX,t.scale,t.originX),fs(e.y,ps(t.y,r.y),t.scaleY,t.scale,t.originY)}function hs(e,t){return Xo(Qo(e.getBoundingClientRect(),t))}function gs(e,t,n){let r=hs(e,n),{scroll:i}=t;return i&&(ds(r.x,i.offset.x),ds(r.y,i.offset.y)),r}var _s={x:`translateX`,y:`translateY`,z:`translateZ`,transformPerspective:`perspective`},vs=Gr.length;function ys(e,t,n){let r=``,i=!0;for(let a=0;a<vs;a++){let o=Gr[a],s=e[o];if(s===void 0)continue;let c=!0;if(typeof s==`number`)c=s===+!!o.startsWith(`scale`);else{let e=parseFloat(s);c=o.startsWith(`scale`)?e===1:e===0}if(!c||n){let e=Ba(s,Aa[o]);if(!c){i=!1;let t=_s[o]||o;r+=`${t}(${e}) `}n&&(t[o]=e)}}let a=e.pathRotation;return a&&(i=!1,r+=`rotate(${Ba(a,Aa.pathRotation)}) `),r=r.trim(),n?r=n(t,i?``:r):i&&(r=`none`),r}function bs(e,t,n){let{style:r,vars:i,transformOrigin:a}=e,o=!1,s=!1;for(let e in t){let n=t[e];if(Kr.has(e)){o=!0;continue}else if(Xt(e)){i[e]=n;continue}else{let t=Ba(n,Aa[e]);e.startsWith(`origin`)?(s=!0,a[e]=t):r[e]=t}}if(t.transform||(o||n?r.transform=ys(t,e.transform,n):r.transform&&=`none`),s){let{originX:e=`50%`,originY:t=`50%`,originZ:n=0}=a;r.transformOrigin=`${e} ${t} ${n}`}}function xs(e,{style:t,vars:n},r,i){let a=e.style,o;for(o in t)a[o]=t[o];for(o in i?.applyProjectionStyles(a,r),n)a.setProperty(o,n[o])}function Ss(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}var Cs={correct:(e,t)=>{if(!t.target)return e;if(typeof e==`string`)if(U.test(e))e=parseFloat(e);else return e;return`${Ss(e,t.target.x)}% ${Ss(e,t.target.y)}%`}},ws={correct:(e,{treeScale:t,projectionDelta:n})=>{let r=e,i=G.parse(e);if(i.length>5)return r;let a=G.createTransformer(e),o=typeof i[0]==`number`?0:1,s=n.x.scale*t.x,c=n.y.scale*t.y;i[0+o]/=s,i[1+o]/=c;let l=K(s,c,.5);return typeof i[2+o]==`number`&&(i[2+o]/=l),typeof i[3+o]==`number`&&(i[3+o]/=l),a(i)}},Ts={borderRadius:{...Cs,applyTo:[...Ra]},borderTopLeftRadius:Cs,borderTopRightRadius:Cs,borderBottomLeftRadius:Cs,borderBottomRightRadius:Cs,boxShadow:ws};function Es(e,{layout:t,layoutId:n}){return Kr.has(e)||e.startsWith(`origin`)||(t||n!==void 0)&&(!!Ts[e]||e===`opacity`)}function Ds(e,t,n){let r=e.style,i=t?.style,a={};if(!r)return a;for(let t in r)(J(r[t])||i&&J(i[t])||Es(t,e)||n?.getValue(t)?.liveStyle!==void 0)&&(a[t]=r[t]);return a}function Os(e){return window.getComputedStyle(e)}var ks=class extends Jo{constructor(){super(...arguments),this.type=`html`,this.renderInstance=xs}mount(e){e.style,super.mount(e)}readValueFromInstance(e,t){if(Kr.has(t))return this.projection?.isProjecting?Vr(t):Ur(e,t);{let n=Os(e),r=(Xt(t)?n.getPropertyValue(t):n[t])||0;return typeof r==`string`?r.trim():r}}measureInstanceViewportBox(e,{transformPagePoint:t}){return hs(e,t)}build(e,t,n){bs(e,t,n.transformTemplate)}scrapeMotionValuesFromProps(e,t,n){return Ds(e,t,n)}},As={offset:`stroke-dashoffset`,array:`stroke-dasharray`},js={offset:`strokeDashoffset`,array:`strokeDasharray`};function Ms(e,t,n=1,r=0,i=!0){e.pathLength=1;let a=i?As:js;e[a.offset]=`${-r}`,e[a.array]=`${t} ${n}`}var Ns=[`offsetDistance`,`offsetPath`,`offsetRotate`,`offsetAnchor`];function Ps(e,{attrX:t,attrY:n,attrScale:r,pathLength:i,pathSpacing:a=1,pathOffset:o=0,...s},c,l,u){if(bs(e,s,l),c){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:d,style:f}=e;d.transform&&(f.transform=d.transform,delete d.transform),(f.transform||d.transformOrigin)&&(f.transformOrigin=d.transformOrigin??`50% 50%`,delete d.transformOrigin),f.transform&&(f.transformBox=u?.transformBox??`fill-box`,delete d.transformBox);for(let e of Ns)d[e]!==void 0&&(f[e]=d[e],delete d[e]);t!==void 0&&(d.x=t),n!==void 0&&(d.y=n),r!==void 0&&(d.scale=r),i!==void 0&&Ms(d,i,a,o,!1)}var Fs=new Set([`baseFrequency`,`diffuseConstant`,`kernelMatrix`,`kernelUnitLength`,`keySplines`,`keyTimes`,`limitingConeAngle`,`markerHeight`,`markerWidth`,`numOctaves`,`targetX`,`targetY`,`surfaceScale`,`specularConstant`,`specularExponent`,`stdDeviation`,`tableValues`,`viewBox`,`gradientTransform`,`pathLength`,`startOffset`,`textLength`,`lengthAdjust`]),Is=e=>typeof e==`string`&&e.toLowerCase()===`svg`;function Ls(e,t,n,r){xs(e,t,void 0,r);for(let n in t.attrs)e.setAttribute(Fs.has(n)?n:da(n),t.attrs[n])}function Rs(e,t,n){let r=Ds(e,t,n);for(let n in e)if(J(e[n])||J(t[n])){let t=Gr.indexOf(n)===-1?n:`attr`+n.charAt(0).toUpperCase()+n.substring(1);r[t]=e[n]}return r}var zs=class extends Jo{constructor(){super(...arguments),this.type=`svg`,this.isSVGTag=!1,this.measureInstanceViewportBox=X}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(Kr.has(t)){let e=Ma(t);return e&&e.default||0}return t=Fs.has(t)?t:da(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,n){return Rs(e,t,n)}
1build(e,t,n){Ps(e,t,this.isSVGTag,n.transformTemplate,n.style)}renderInstance(e,t,n,r){Ls(e,t,n,r)}mount(e){this.isSVGTag=Is(e.tagName),super.mount(e)}},Bs=Fo.length;function Vs(e){if(!e)return;if(!e.isControllingVariants){let t=e.parent&&Vs(e.parent)||{};return e.props.initial!==void 0&&(t.initial=e.props.initial),t}let t={};for(let n=0;n<Bs;n++){let r=Fo[n],i=e.props[r];(No(i)||i===!1)&&(t[r]=i)}return t}function Hs(e,t){if(!Array.isArray(t))return!1;let n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}var Us=[...Po].reverse(),Ws=Po.length;function Gs(e){return t=>Promise.all(t.map(({animation:t,options:n})=>va(e,t,n)))}function Ks(e){let t=Gs(e),n=Ys(),r=!0,i=!1,a=t=>(n,r)=>{let i=ra(e,r,t===`exit`?e.presenceContext?.custom:void 0);if(i){let{transition:e,transitionEnd:t,...r}=i;n={...n,...r,...t}}return n};function o(n){t=n(e)}function s(o){let{props:s}=e,c=Vs(e.parent)||{},l=[],u=new Set,d={},f=1/0;for(let t=0;t<Ws;t++){let p=Us[t],m=n[p],h=s[p]===void 0?c[p]:s[p],g=No(h),_=p===o?m.isActive:null;_===!1&&(f=t);let v=h===c[p]&&h!==s[p]&&g;if(v&&(r||i)&&e.manuallyAnimateOnMount&&(v=!1),m.protectedKeys={...d},!m.isActive&&_===null||!h&&!m.prevProp||Mo(h)||typeof h==`boolean`)continue;if(p===`exit`&&m.isActive&&_!==!0){m.prevResolvedValues&&(d={...d,...m.prevResolvedValues});continue}let y=qs(m.prevProp,h),b=y||p===o&&m.isActive&&!v&&g||t>f&&g,x=!1,S=Array.isArray(h)?h:[h],C=S.reduce(a(p),{});_===!1&&(C={});let{prevResolvedValues:w={}}=m,T={...w,...C},ee=t=>{b=!0,u.has(t)&&(x=!0,u.delete(t)),m.needsAnimating[t]=!0;let n=e.getValue(t);n&&(n.liveStyle=!1)};for(let e in T){let t=C[e],n=w[e];if(d.hasOwnProperty(e))continue;let r=!1;r=aa(t)&&aa(n)?!Hs(t,n)||y:t!==n,r?t==null?u.add(e):ee(e):t!==void 0&&u.has(e)?ee(e):m.protectedKeys[e]=!0}m.prevProp=h,m.prevResolvedValues=C,m.isActive&&(d={...d,...C}),(r||i)&&e.blockInitialAnimation&&(b=!1);let te=v&&y;b&&(!te||x)&&l.push(...S.map(t=>{let n={type:p};if(typeof t==`string`&&(r||i)&&!te&&e.manuallyAnimateOnMount&&e.parent){let{parent:r}=e,i=ra(r,t);if(r.enteringChildren&&i){let{delayChildren:t}=i.transition||{};n.delay=Ii(r.enteringChildren,e,t)}}return{animation:t,options:n}}))}if(u.size){let t={};if(typeof s.initial!=`boolean`){let n=ra(e,Array.isArray(s.initial)?s.initial[0]:s.initial);n&&n.transition&&(t.transition=n.transition)}u.forEach(n=>{let r=e.getBaseTarget(n),i=e.getValue(n);i&&(i.liveStyle=!0),t[n]=r??null}),l.push({animation:t})}let p=!!l.length;return r&&(s.initial===!1||s.initial===s.animate)&&!e.manuallyAnimateOnMount&&(p=!1),r=!1,i=!1,p?t(l):Promise.resolve()}function c(t,r){if(n[t].isActive===r)return Promise.resolve();e.variantChildren?.forEach(e=>e.animationState?.setActive(t,r)),n[t].isActive=r;let i=s(t);for(let e in n)n[e].protectedKeys={};return i}return{animateChanges:s,setActive:c,setAnimateFunction:o,getState:()=>n,reset:()=>{n=Ys(),i=!0}}}function qs(e,t){return typeof t==`string`?t!==e:Array.isArray(t)?!Hs(t,e):!1}function Js(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Ys(){return{animate:Js(!0),whileInView:Js(),whileHover:Js(),whileTap:Js(),whileDrag:Js(),whileFocus:Js(),exit:Js()}}function Xs(e,t){e.min=t.min,e.max=t.max}function Z(e,t){Xs(e.x,t.x),Xs(e.y,t.y)}function Zs(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}var Qs=.9999,$s=1.0001,ec=-.01,tc=.01;function Q(e){return e.max-e.min}function nc(e,t,n){return Math.abs(e-t)<=n}function rc(e,t,n,r=.5){e.origin=r,e.originPoint=K(t.min,t.max,e.origin),e.scale=Q(n)/Q(t),e.translate=K(n.min,n.max,e.origin)-e.originPoint,(e.scale>=Qs&&e.scale<=$s||isNaN(e.scale))&&(e.scale=1),(e.translate>=ec&&e.translate<=tc||isNaN(e.translate))&&(e.translate=0)}function ic(e,t,n,r){rc(e.x,t.x,n.x,r?r.originX:void 0),rc(e.y,t.y,n.y,r?r.originY:void 0)}function ac(e,t,n,r=0){e.min=(r?K(n.min,n.max,r):n.min)+t.min,e.max=e.min+Q(t)}function oc(e,t,n,r){ac(e.x,t.x,n.x,r?.x),ac(e.y,t.y,n.y,r?.y)}function sc(e,t,n,r=0){let i=r?K(n.min,n.max,r):n.min;e.min=t.min-i,e.max=e.min+Q(t)}function cc(e,t,n,r){sc(e.x,t.x,n.x,r?.x),sc(e.y,t.y,n.y,r?.y)}function lc(e,t,n,r,i){return e-=t,e=is(e,1/n,r),i!==void 0&&(e=is(e,1/i,r)),e}function uc(e,t=0,n=1,r=.5,i,a=e,o=e){if(H.test(t)&&(t=parseFloat(t),t=K(o.min,o.max,t/100)-o.min),typeof t!=`number`)return;let s=K(a.min,a.max,r);e===a&&(s-=t),e.min=lc(e.min,t,n,s,i),e.max=lc(e.max,t,n,s,i)}
1function dc(e,t,[n,r,i],a,o){uc(e,t[n],t[r],t[i],t.scale,a,o)}var fc=[`x`,`scaleX`,`originX`],pc=[`y`,`scaleY`,`originY`];function mc(e,t,n,r){dc(e.x,t,fc,n?n.x:void 0,r?r.x:void 0),dc(e.y,t,pc,n?n.y:void 0,r?r.y:void 0)}function hc(e){return e.translate===0&&e.scale===1}function gc(e){return hc(e.x)&&hc(e.y)}function _c(e,t){return e.min===t.min&&e.max===t.max}function vc(e,t){return _c(e.x,t.x)&&_c(e.y,t.y)}function yc(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function bc(e,t){return yc(e.x,t.x)&&yc(e.y,t.y)}function xc(e){return Q(e.x)/Q(e.y)}function Sc(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}function Cc(e){return[e(`x`),e(`y`)]}function wc(e,t,n){let r=``,i=e.x.translate/t.x,a=e.y.translate/t.y,o=n?.z||0;if((i||a||o)&&(r=`translate3d(${i}px, ${a}px, ${o}px) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){let{transformPerspective:e,rotate:t,pathRotation:i,rotateX:a,rotateY:o,skewX:s,skewY:c}=n;e&&(r=`perspective(${e}px) ${r}`),t&&(r+=`rotate(${t}deg) `),i&&(r+=`rotate(${i}deg) `),a&&(r+=`rotateX(${a}deg) `),o&&(r+=`rotateY(${o}deg) `),s&&(r+=`skewX(${s}deg) `),c&&(r+=`skewY(${c}deg) `)}let s=e.x.scale*t.x,c=e.y.scale*t.y;return(s!==1||c!==1)&&(r+=`scale(${s}, ${c})`),r||`none`}var Tc=Ra.length,Ec=e=>typeof e==`string`?parseFloat(e):e,Dc=e=>typeof e==`number`||U.test(e);function Oc(e,t,n,r,i,a){i?(e.opacity=K(0,n.opacity??1,Ac(r)),e.opacityExit=K(t.opacity??1,0,jc(r))):a&&(e.opacity=K(t.opacity??1,n.opacity??1,r));for(let i=0;i<Tc;i++){let a=Ra[i],o=kc(t,a),s=kc(n,a);o===void 0&&s===void 0||(o||=0,s||=0,o===0||s===0||Dc(o)===Dc(s)?(e[a]=Math.max(K(Ec(o),Ec(s),r),0),(H.test(s)||H.test(o))&&(e[a]+=`%`)):e[a]=s)}(t.rotate||n.rotate)&&(e.rotate=K(t.rotate||0,n.rotate||0,r))}function kc(e,t){return e[t]===void 0?e.borderRadius:e[t]}var Ac=Mc(0,.5,Dt),jc=Mc(.5,.95,I);function Mc(e,t,n){return r=>r<e?0:r>t?1:n(ft(e,t,r))}function Nc(e,t,n){let r=J(e)?e:Vi(e);return r.start(Zi(``,r,t,n)),r.animation}function Pc(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)}var Fc=(e,t)=>e.depth-t.depth,Ic=class{constructor(){this.children=[],this.isDirty=!1}add(e){it(this.children,e),this.isDirty=!0}remove(e){at(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(Fc),this.isDirty=!1,this.children.forEach(e)}};function Lc(e,t){let n=V.now(),r=({timestamp:i})=>{let a=i-n;a>=t&&(Gt(r),e(a-t))};return z.setup(r,!0),()=>Gt(r)}function Rc(e){return J(e)?e.get():e}var zc=class{constructor(){this.members=[]}add(e){it(this.members,e);for(let t=this.members.length-1;t>=0;t--){let n=this.members[t];if(n===e||n===this.lead||n===this.prevLead)continue;let r=n.instance;(!r||r.isConnected===!1)&&!n.snapshot&&(at(this.members,n),n.unmount())}e.scheduleRender()}remove(e){if(at(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){let e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){for(let t=this.members.indexOf(e)-1;t>=0;t--){let e=this.members[t];if(e.isPresent!==!1&&e.instance?.isConnected!==!1)return this.promote(e),!0}return!1}promote(e,t){let n=this.lead;if(e!==n&&(this.prevLead=n,this.lead=e,e.show(),n)){n.updateSnapshot(),e.scheduleRender();let{layoutDependency:r}=n.options,{layoutDependency:i}=e.options;(r===void 0||r!==i)&&(e.resumeFrom=n,t&&(n.preserveOpacity=!0),n.snapshot&&(e.snapshot=n.snapshot,e.snapshot.latestValues=n.animationValues||n.latestValues),e.root?.isUpdating&&(e.isLayoutDirty=!0)),e.options.crossfade===!1&&n.hide()}}exitAnimationComplete(){this.members.forEach(e=>{e.options.onExitComplete?.(),e.resumingFrom?.options.onExitComplete?.()})}scheduleRender(){this.members.forEach(e=>e.instance&&e.scheduleRender(!1))}removeLeadSnapshot(){this.lead?.snapshot&&(this.lead.snapshot=void 0)}},Bc={hasAnimatedSinceResize:!0,hasEverUpdated:!1},Vc={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},Hc=[``,`X`,`Y`,`Z`],Uc=1e3,Wc=0;function Gc(e,t,n,r){let{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),r&&(r[e]=0))}function Kc(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;let{visualElement:t}=e.options;if(!t)return;let n=pa(t);if(window.MotionHasOptimisedAnimation(n,`transform`)){let{layout:t,layoutId:r}=e.options;window.MotionCancelOptimisedAnimation(n,`transform`,z,!(t||r))}let{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&Kc(r)}function qc({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(e={},n=t?.()){this.id=Wc++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,wo.value&&(Vc.nodes=Vc.calculatedTargetDeltas=Vc.calculatedProjections=0),this.nodes.forEac
1h(Xc),this.nodes.forEach(al),this.nodes.forEach(ol),this.nodes.forEach(Zc),wo.addProjectionMetrics&&wo.addProjectionMetrics(Vc)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=n?n.root||n:this,this.path=n?[...n.path,n]:[],this.parent=n,this.depth=n?n.depth+1:0;for(let e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new Ic)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new pt),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){let n=this.eventHandlers.get(e);n&&n.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t){if(this.instance)return;this.isSVG=co(t)&&!To(t),this.instance=t;let{layoutId:n,layout:r,visualElement:i}=this.options;if(i&&!i.current&&i.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(r||n)&&(this.isLayoutDirty=!0),e){let n,r=0,i=()=>this.root.updateBlockedByResize=!1;z.read(()=>{r=window.innerWidth}),e(t,()=>{let e=window.innerWidth;e!==r&&(r=e,this.root.updateBlockedByResize=!0,n&&n(),n=Lc(i,250),Bc.hasAnimatedSinceResize&&(Bc.hasAnimatedSinceResize=!1,this.nodes.forEach(il)))})}n&&this.root.registerSharedNode(n,this),this.options.animate!==!1&&i&&(n||r)&&this.addEventListener(`didUpdate`,({delta:e,hasLayoutChanged:t,hasRelativeLayoutChanged:n,layout:r})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let a=this.options.transition||i.getDefaultTransition()||pl,{onLayoutAnimationStart:o,onLayoutAnimationComplete:s}=i.getProps(),c=!this.targetLayout||!bc(this.targetLayout,r),l=!t&&n;if(this.options.layoutRoot||this.resumeFrom||l||t&&(c||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let t={...Ui(a,`layout`),onPlay:o,onComplete:s};(i.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t),this.setAnimationOrigin(e,l,t.path)}else t||il(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=r})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),Gt(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(sl),this.animationId++)}getTransformTemplate(){let{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&Kc(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;e<this.path.length;e++){let t=this.path[e];t.shouldResetTransform=!0,(typeof t.latestValues.x==`string`||typeof t.latestValues.y==`string`)&&(t.isLayoutDirty=!0),t.updateScroll(`snapshot`),t.options.layoutRoot&&t.willUpdate(!1)}let{layoutId:t,layout:n}=this.options;if(t===void 0&&!n)return;let r=this.getTransformTemplate();this.prevTransformTemplateValue=r?r(this.latestValues,``):void 0,this.updateSnapshot(),e&&this.notifyListeners(`willUpdate`)}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){let e=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),e&&this.nodes.forEach(el),this.nodes.forEach($c);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(tl);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEac
1h(nl),this.nodes.forEach(rl),this.nodes.forEach(Jc),this.nodes.forEach(Yc)):this.nodes.forEach(tl),this.clearAllSnapshots();let e=V.now();B.delta=F(0,1e3/60,e-B.timestamp),B.timestamp=e,B.isProcessing=!0,Kt.update.process(B),Kt.preRender.process(B),Kt.render.process(B),B.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Ha.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(Qc),this.sharedNodes.forEach(cl)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,z.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){z.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!Q(this.snapshot.measuredBox.x)&&!Q(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let e=0;e<this.path.length;e++)this.path[e].updateScroll();let e=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||=X(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners(`measure`,this.layout.layoutBox);let{visualElement:t}=this.options;t&&t.notify(`LayoutMeasure`,this.layout.layoutBox,e?e.layoutBox:void 0)}updateScroll(e=`measure`){let t=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t&&this.instance){let t=r(this.instance);this.scroll={animationId:this.root.animationId,phase:e,isRoot:t,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:t}}}resetTransform(){if(!i)return;let e=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,t=this.projectionDelta&&!gc(this.projectionDelta),n=this.getTransformTemplate(),r=n?n(this.latestValues,``):void 0,a=r!==this.prevTransformTemplateValue;e&&this.instance&&(t||ts(this.latestValues)||a)&&(i(this.instance,r),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){let t=this.measurePageBox(),n=this.removeElementScroll(t);return e&&(n=this.removeTransform(n)),_l(n),{animationId:this.root.animationId,measuredBox:t,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:e}=this.options;if(!e)return X();let t=e.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(yl))){let{scroll:e}=this.root;e&&(ds(t.x,e.offset.x),ds(t.y,e.offset.y))}return t}removeElementScroll(e){let t=X();if(Z(t,e),this.scroll?.wasRoot)return t;for(let n=0;n<this.path.length;n++){let r=this.path[n],{scroll:i,options:a}=r;r!==this.root&&i&&a.layoutScroll&&(i.wasRoot&&Z(t,e),ds(t.x,i.offset.x),ds(t.y,i.offset.y))}return t}applyTransform(e,t=!1,n){let r=n||X();Z(r,e);for(let e=0;e<this.path.length;e++){let n=this.path[e];!t&&n.options.layoutScroll&&n.scroll&&n!==n.root&&(ds(r.x,-n.scroll.offset.x),ds(r.y,-n.scroll.offset.y)),ts(n.latestValues)&&ms(r,n.latestValues,n.layout?.layoutBox)}return ts(this.latestValues)&&ms(r,this.latestValues,this.layout?.layoutBox),r}removeTransform(e){let t=X();Z(t,e);for(let e=0;e<this.path.length;e++){let n=this.path[e];if(!ts(n.latestValues))continue;let r;n.instance&&(es(n.latestValues)&&n.updateSnapshot(),r=X(),Z(r,n.measurePageBox())),mc(t,n.latestValues,n.snapshot?.layoutBox,r)}return ts(this.latestValues)&&mc(t,this.latestValues),t}setTargetDelta(e){this.targetDelta=e,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(e){this.options={...this.options,...e,crossfade:e.crossfade===void 0||e.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==B.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){let t=this.getLead();this.isProjectionDirty||=t.isProjectionDirty,this.isTransformDirty||=t.isTransformDirty,this.isSharedProjectionDirty||=t.isSharedProjectionDirty;let n=!!this.resumingFrom||this!==t;if(!(e||n&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:r,layoutId:i}=this.options;
1if(!this.layout||!(r||i))return;this.resolvedRelativeTargetAt=B.timestamp;let a=this.getClosestProjectingParent();a&&this.linkedParentVersion!==a.layoutVersion&&!a.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(this.options.layoutAnchor!==!1&&a&&a.layout?this.createRelativeTarget(a,this.layout.layoutBox,a.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=X(),this.targetWithTransforms=X()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),oc(this.target,this.relativeTarget,this.relativeParent.target,this.options.layoutAnchor||void 0)):this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):Z(this.target,this.layout.layoutBox),ss(this.target,this.targetDelta)):Z(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.options.layoutAnchor!==!1&&a&&!!a.resumingFrom==!!this.resumingFrom&&!a.options.layoutScroll&&a.target&&this.animationProgress!==1?this.createRelativeTarget(a,this.target,a.target):this.relativeParent=this.relativeTarget=void 0),wo.value&&Vc.calculatedTargetDeltas++)}getClosestProjectingParent(){if(!(!this.parent||es(this.parent.latestValues)||ns(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(e,t,n){this.relativeParent=e,this.linkedParentVersion=e.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=X(),this.relativeTargetOrigin=X(),cc(this.relativeTargetOrigin,t,n,this.options.layoutAnchor||void 0),Z(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){let e=this.getLead(),t=!!this.resumingFrom||this!==e,n=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(n=!1),t&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(n=!1),this.resolvedRelativeTargetAt===B.timestamp&&(n=!1),n)return;let{layout:r,layoutId:i}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(r||i))return;Z(this.layoutCorrected,this.layout.layoutBox);let a=this.treeScale.x,o=this.treeScale.y;us(this.layoutCorrected,this.treeScale,this.path,t),e.layout&&!e.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(e.target=e.layout.layoutBox,e.targetWithTransforms=X());let{target:s}=e;if(!s){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(Zs(this.prevProjectionDelta.x,this.projectionDelta.x),Zs(this.prevProjectionDelta.y,this.projectionDelta.y)),ic(this.projectionDelta,this.layoutCorrected,s,this.latestValues),(this.treeScale.x!==a||this.treeScale.y!==o||!Sc(this.projectionDelta.x,this.prevProjectionDelta.x)||!Sc(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners(`projectionUpdate`,s)),wo.value&&Vc.calculatedProjections++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){if(this.options.visualElement?.scheduleRender(),e){let e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=ko(),this.projectionDelta=ko(),this.projectionDeltaWithTransform=ko()}setAnimationOrigin(e,t=!1,n){let r=this.snapshot,i=r?r.latestValues:{},a={...this.latestValues},o=ko();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;let s=X(),c=(r?r.source:void 0)!==(this.layout?this.layout.source:void 0),l=this.getStack(),u=!l||l.members.length<=1,d=!!(c&&!u&&this.options.crossfade===!0&&!this.path.some(fl));this.animationProgress=0;let f,p=n?.interpolateProjection(e);this.mixTargetDelta=t=>{let n=t/1e3,r=p?.(n);r?(o.x.translate=r.x,o.x.scale=K(e.x.scale,1,n),o.x.origin=e.x.origin,o.x.originPoint=e.x.originPoint,o.y.translate=r.y,o.y.scale=K(e.y.scale,1,n),o.y.origin=e.y.origin,o.y.originPoint=e.y.originPoint):(ll(o.x,e.x,n),ll(o.y,e.y,n)),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(cc(s,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),dl(this.relativeTarget,this.relativeTargetOrigin,s,n),f&&vc(this.relativeTarget,f)&&(this.isProjectionDirty=!1),f||=X(),Z(f,this.relativeTarget)),c&&(this.animationValues=a,Oc(a,i,this.latestValues,n,d,u)),r&&r.rotate!==void 0&&(this.animationValues||=a,this.animationValues.pathRotation=r.rotate),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(e){this.notifyListeners(`animationStart`),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&=(Gt(this.pendingAnimation),void 0),this.pendingAnimation=z.update(()=>{Bc.hasAnimatedSinceResize=!0,this.motionValue||=Vi(0),this.motionValue.jump(0,!1),this.currentAnimation=Nc(this.motionValue,[0,1e3],{...e,velocity:0,isSync:!0,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onComplete:()=>{e.onComplete&&e.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners(`animationComplete`)}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(Uc),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let e=this.getLead(),{targetWithTransforms:t,target:n,layout:r,latestValues:i}=e;if(!(!t||!n||!r)){if(this!==e&&this.layout&&r&&vl(this.options.animationType,this.layout.layoutBox,r.layoutBox)){n=this.target||X();let t=Q(this.layout.layoutBox.x);n.x.min=e.target.x.min,n.x.max=n.x.min+t;let r=Q(this.layout.layoutBox.y);n.y.min=e.target.y.min,n.y.max=n.y.min+r}Z(t,n),ms(t,i),ic(this.projectionDeltaWithTransform,this.layoutCorrected,t,i
1)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new zc),this.sharedNodes.get(e).add(t);let n=t.options.initialPromotionConfig;t.promote({transition:n?n.transition:void 0,preserveFollowOpacity:n&&n.shouldPreserveFollowOpacity?n.shouldPreserveFollowOpacity(t):void 0})}isLead(){let e=this.getStack();return!e||e.lead===this}getLead(){let{layoutId:e}=this.options;return e&&this.getStack()?.lead||this}getPrevLead(){let{layoutId:e}=this.options;return e?this.getStack()?.prevLead:void 0}getStack(){let{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:n}={}){let r=this.getStack();r&&r.promote(this,n),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){let e=this.getStack();return e?e.relegate(this):!1}resetSkewAndRotation(){let{visualElement:e}=this.options;if(!e)return;let t=!1,{latestValues:n}=e;if((n.z||n.rotate||n.rotateX||n.rotateY||n.rotateZ||n.skewX||n.skewY)&&(t=!0),!t)return;let r={};n.z&&Gc(`z`,e,r,this.animationValues);for(let t=0;t<Hc.length;t++)Gc(`rotate${Hc[t]}`,e,r,this.animationValues),Gc(`skew${Hc[t]}`,e,r,this.animationValues);e.render();for(let t in r)e.setStaticValue(t,r[t]),this.animationValues&&(this.animationValues[t]=r[t]);e.scheduleRender()}applyProjectionStyles(e,t){if(!this.instance||this.isSVG)return;if(!this.isVisible){e.visibility=`hidden`;return}let n=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,e.visibility=``,e.opacity=``,e.pointerEvents=Rc(t?.pointerEvents)||``,e.transform=n?n(this.latestValues,``):`none`;return}let r=this.getLead();if(!this.projectionDelta||!this.layout||!r.target){this.options.layoutId&&(e.opacity=this.latestValues.opacity===void 0?1:this.latestValues.opacity,e.pointerEvents=Rc(t?.pointerEvents)||``),this.hasProjected&&!ts(this.latestValues)&&(e.transform=n?n({},``):`none`,this.hasProjected=!1);return}e.visibility=``;let i=r.animationValues||r.latestValues;this.applyTransformsToTarget();let a=wc(this.projectionDeltaWithTransform,this.treeScale,i);n&&(a=n(i,a)),e.transform=a;let{x:o,y:s}=this.projectionDelta;e.transformOrigin=`${o.origin*100}% ${s.origin*100}% 0`,r.animationValues?e.opacity=r===this?i.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:i.opacityExit:e.opacity=r===this?i.opacity===void 0?``:i.opacity:i.opacityExit===void 0?0:i.opacityExit;for(let t in Ts){if(i[t]===void 0)continue;let{correct:n,applyTo:o,isCSSVariable:s}=Ts[t],c=a===`none`?i[t]:n(i[t],r);if(o){let t=o.length;for(let n=0;n<t;n++)e[o[n]]=c}else s?this.options.visualElement.renderState.vars[t]=c:e[t]=c}this.options.layoutId&&(e.pointerEvents=r===this?Rc(t?.pointerEvents)||``:`none`)}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(e=>e.currentAnimation?.stop()),this.root.nodes.forEach($c),this.root.sharedNodes.clear()}}}function Jc(e){e.updateLayout()}function Yc(e){let t=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners(`didUpdate`)){let{layoutBox:n,measuredBox:r}=e.layout,{animationType:i}=e.options,a=t.source!==e.layout.source;if(i===`size`)Cc(e=>{let r=a?t.measuredBox[e]:t.layoutBox[e],i=Q(r);r.min=n[e].min,r.max=r.min+i});else if(i===`x`||i===`y`){let e=i===`x`?`y`:`x`;Xs(a?t.measuredBox[e]:t.layoutBox[e],n[e])}else vl(i,t.layoutBox,n)&&Cc(r=>{let i=a?t.measuredBox[r]:t.layoutBox[r],o=Q(n[r]);i.max=i.min+o,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[r].max=e.relativeTarget[r].min+o)});let o=ko();ic(o,n,t.layoutBox);let s=ko();a?ic(s,e.applyTransform(r,!0),t.measuredBox):ic(s,n,t.layoutBox);let c=!gc(o),l=!1;if(!e.resumeFrom){let r=e.getClosestProjectingParent();if(r&&!r.resumeFrom){let{snapshot:i,layout:a}=r;if(i&&a){let o=e.options.layoutAnchor||void 0,s=X();cc(s,t.layoutBox,i.layoutBox,o);let c=X();cc(c,n,a.layoutBox,o),bc(s,c)||(l=!0),r.options.layoutRoot&&(e.relativeTarget=c,e.relativeTargetOrigin=s,e.relativeParent=r)}}}e.notifyListeners(`didUpdate`,{layout:n,snapshot:t,delta:s,layoutDelta:o,hasLayoutChanged:c,hasRelativeLayoutChanged:l})}else if(e.isLead()){let{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function Xc(e){wo.value&&Vc.nodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty),e.isTransformDirty||=e.parent.isTransformDirty)}function Zc(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function Qc(e){e.clearSnapshot()}function $c(e){e.clearMeasurements()}function el(e){e.isLayoutDirty=!0,e.updateLayout()}function tl(e){e.isLayoutDirty=!1}function nl(e){e.isAnimationBlocked&&e.layout&&!e.isLayoutDirty&&(e.snapshot=e.layout,e.isLayoutDirty=!0)}function rl(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify(`BeforeLayoutMeasure`),e.resetTransform()}function il(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function al(e){e.resolveTargetDelta()}function ol(e){e.calcProjection()}
1function sl(e){e.resetSkewAndRotation()}function cl(e){e.removeLeadSnapshot()}function ll(e,t,n){e.translate=K(t.translate,0,n),e.scale=K(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function ul(e,t,n,r){e.min=K(t.min,n.min,r),e.max=K(t.max,n.max,r)}function dl(e,t,n,r){ul(e.x,t.x,n.x,r),ul(e.y,t.y,n.y,r)}function fl(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}var pl={duration:.45,ease:[.4,0,.1,1]},ml=e=>typeof navigator<`u`&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),hl=ml(`applewebkit/`)&&!ml(`chrome/`)?Math.round:I;function gl(e){e.min=hl(e.min),e.max=hl(e.max)}function _l(e){gl(e.x),gl(e.y)}function vl(e,t,n){return e===`position`||e===`preserve-aspect`&&!nc(xc(t),xc(n),.2)}function yl(e){return e!==e.root&&e.scroll?.wasRoot}var bl=qc({attachResizeListener:(e,t)=>Pc(e,`resize`,t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),xl={current:void 0},Sl=qc({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!xl.current){let e=new bl({});e.mount(window),e.setOptions({layoutScroll:!0}),xl.current=e}return xl.current},resetTransform:(e,t)=>{e.style.transform=t===void 0?`none`:t},checkIsScrollRoot:e=>window.getComputedStyle(e).position===`fixed`});function Cl(e,t){if(Io(e)){let{initial:t,animate:n}=e;return{initial:t===!1||No(t)?t:void 0,animate:No(n)?n:void 0}}return e.inherit===!1?{}:t}function wl(e){let{initial:t,animate:n}=Cl(e,(0,o.useContext)(Bt));return(0,o.useMemo)(()=>({initial:t,animate:n}),[Tl(t),Tl(n)])}function Tl(e){return Array.isArray(e)?e.join(` `):e}var El=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function Dl(e,t,n){for(let r in t)!J(t[r])&&!Es(r,n)&&(e[r]=t[r])}function Ol({transformTemplate:e},t){return(0,o.useMemo)(()=>{let n=El();return bs(n,t,e),Object.assign({},n.vars,n.style)},[t])}function kl(e,t){let n=e.style||{},r={};return Dl(r,n,e),Object.assign(r,Ol(e,t)),r}function Al(e,t){let n={},r=kl(e,t);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout=`none`,r.touchAction=e.drag===!0?`none`:`pan-${e.drag===`x`?`y`:`x`}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=r,n}var jl=()=>({...El(),attrs:{}});function Ml(e,t,n,r){let i=(0,o.useMemo)(()=>{let n=jl();return Ps(n,t,Is(r),e.transformTemplate,e.style),{...n.attrs,style:{...n.style}}},[t]);if(e.style){let t={};Dl(t,e.style,e),i.style={...t,...i.style}}return i}var Nl=new Set(`animate.exit.variants.initial.style.values.variants.transition.transformTemplate.custom.inherit.onBeforeLayoutMeasure.onAnimationStart.onAnimationComplete.onUpdate.onDragStart.onDrag.onDragEnd.onMeasureDragConstraints.onDirectionLock.onDragTransitionEnd._dragX._dragY.onHoverStart.onHoverEnd.onViewportEnter.onViewportLeave.globalTapTarget.propagate.ignoreStrict.viewport`.split(`.`));function Pl(e){return e.startsWith(`while`)||e.startsWith(`drag`)&&e!==`draggable`||e.startsWith(`layout`)||e.startsWith(`onTap`)||e.startsWith(`onPan`)||e.startsWith(`onLayout`)||Nl.has(e)}var Fl=a({default:()=>Il}),Il,Ll=r((()=>{throw Il={},Error(`Could not resolve "@emotion/is-prop-valid" imported by "framer-motion". Is it installed?`)})),Rl=e=>!Pl(e);function zl(e){typeof e==`function`&&(Rl=t=>t.startsWith(`on`)?!Pl(t):e(t))}try{zl((Ll(),e(Fl)).default)}catch{}function Bl(e,t,n){let r={};for(let i in e)i===`values`&&typeof e.values==`object`||J(e[i])||(Rl(i)||n===!0&&Pl(i)||!t&&!Pl(i)||e.draggable&&i.startsWith(`onDrag`))&&(r[i]=e[i]);return r}var Vl=[`animate`,`circle`,`defs`,`desc`,`ellipse`,`g`,`image`,`line`,`filter`,`marker`,`mask`,`metadata`,`path`,`pattern`,`polygon`,`polyline`,`rect`,`stop`,`switch`,`symbol`,`svg`,`text`,`tspan`,`use`,`view`];function Hl(e){return typeof e!=`string`||e.includes(`-`)?!1:!!(Vl.indexOf(e)>-1||/[A-Z]/u.test(e))}function Ul(e,t,n,{latestValues:r},i,a=!1,s){let c=(s??Hl(e)?Ml:Al)(t,r,i,e),l=Bl(t,typeof e==`string`,a),u=e===o.Fragment?{}:{...l,...c,ref:n},{children:d}=t,f=(0,o.useMemo)(()=>J(d)?d.get():d,[d]);return(0,o.createElement)(e,{...u,children:f})}var Wl=(0,o.createContext)(null);function Gl(e){let t=(0,o.useRef)(null);return t.current===null&&(t.current=e()),t.current}function Kl({scrapeMotionValuesFromProps:e,createRenderState:t},n,r,i){return{latestValues:ql(n,r,i,e),renderState:t()}}function ql(e,t,n,r){let i={}
1,a=r(e,{});for(let e in a)i[e]=Rc(a[e]);let{initial:o,animate:s}=e,c=Io(e),l=Lo(e);t&&l&&!c&&e.inherit!==!1&&(o===void 0&&(o=t.initial),s===void 0&&(s=t.animate));let u=n?n.initial===!1:!1;u||=o===!1;let d=u?s:o;if(d&&typeof d!=`boolean`&&!Mo(d)){let t=Array.isArray(d)?d:[d];for(let n=0;n<t.length;n++){let r=na(e,t[n]);if(r){let{transitionEnd:e,transition:t,...n}=r;for(let e in n){let t=n[e];if(Array.isArray(t)){let e=u?t.length-1:0;t=t[e]}t!==null&&(i[e]=t)}for(let t in e)i[t]=e[t]}}}return i}var Jl=e=>(t,n)=>{let r=(0,o.useContext)(Bt),i=(0,o.useContext)(Wl),a=()=>Kl(e,t,r,i);return n?a():Gl(a)},Yl=Jl({scrapeMotionValuesFromProps:Ds,createRenderState:El}),Xl=Jl({scrapeMotionValuesFromProps:Rs,createRenderState:jl}),Zl={animation:[`animate`,`variants`,`whileHover`,`whileTap`,`exit`,`whileInView`,`whileFocus`,`whileDrag`],exit:[`exit`],drag:[`drag`,`dragControls`],focus:[`whileFocus`],hover:[`whileHover`,`onHoverStart`,`onHoverEnd`],tap:[`whileTap`,`onTap`,`onTapStart`,`onTapCancel`],pan:[`onPan`,`onPanStart`,`onPanSessionStart`,`onPanEnd`],inView:[`whileInView`,`onViewportEnter`,`onViewportLeave`],layout:[`layout`,`layoutId`]},Ql=!1;function $l(){if(Ql)return;let e={};for(let t in Zl)e[t]={isEnabled:e=>Zl[t].some(t=>!!e[t])};Go(e),Ql=!0}function eu(){return $l(),Ko()}function tu(e){let t=eu();for(let n in e)t[n]={...t[n],...e[n]};Go(t)}var nu=Symbol.for(`motionComponentSymbol`);function ru(e,t,n){let r=(0,o.useRef)(n);(0,o.useInsertionEffect)(()=>{r.current=n});let i=(0,o.useRef)(null);return(0,o.useCallback)(n=>{n&&e.onMount?.(n),t&&(n?t.mount(n):t.unmount());let a=r.current;if(typeof a==`function`)if(n){let e=a(n);typeof e==`function`&&(i.current=e)}else i.current?(i.current(),i.current=null):a(n);else a&&(a.current=n)},[t])}var iu=(0,o.createContext)({});function au(e){return e&&typeof e==`object`&&Object.prototype.hasOwnProperty.call(e,`current`)}var ou=typeof window<`u`?o.useLayoutEffect:o.useEffect;function su(e,t,n,r,i,a){let{visualElement:s}=(0,o.useContext)(Bt),c=(0,o.useContext)(Rt),l=(0,o.useContext)(Wl),u=(0,o.useContext)(zt),d=u.reducedMotion,f=u.skipAnimations,p=(0,o.useRef)(null),m=(0,o.useRef)(!1);r||=c.renderer,!p.current&&r&&(p.current=r(e,{visualState:t,parent:s,props:n,presenceContext:l,blockInitialAnimation:l?l.initial===!1:!1,reducedMotionConfig:d,skipAnimations:f,isSVG:a}),m.current&&p.current&&(p.current.manuallyAnimateOnMount=!0));let h=p.current,g=(0,o.useContext)(iu);h&&!h.projection&&i&&(h.type===`html`||h.type===`svg`)&&cu(p.current,n,i,g);let _=(0,o.useRef)(!1);(0,o.useInsertionEffect)(()=>{h&&_.current&&h.update(n,l)});let v=n[fa],y=(0,o.useRef)(!!v&&typeof window<`u`&&!window.MotionHandoffIsComplete?.(v)&&window.MotionHasOptimisedAnimation?.(v));return ou(()=>{m.current=!0,h&&(_.current=!0,window.MotionIsMounted=!0,h.updateFeatures(),h.scheduleRenderMicrotask(),y.current&&h.animationState&&h.animationState.animateChanges())}),(0,o.useEffect)(()=>{h&&(!y.current&&h.animationState&&h.animationState.animateChanges(),y.current&&=(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(v)}),!1),h.enteringChildren=void 0)}),h}function cu(e,t,n,r){let{layoutId:i,layout:a,drag:o,dragConstraints:s,layoutScroll:c,layoutRoot:l,layoutAnchor:u,layoutCrossfade:d}=t;e.projection=new n(e.latestValues,t[`data-framer-portal-id`]?void 0:lu(e.parent)),e.projection.setOptions({layoutId:i,layout:a,alwaysMeasureLayout:!!o||s&&au(s),visualElement:e,animationType:typeof a==`string`?a:`both`,initialPromotionConfig:r,crossfade:d,layoutScroll:c,layoutRoot:l,layoutAnchor:u})}function lu(e){if(e)return e.options.allowProjection===!1?lu(e.parent):e.projection}function uu(e,{forwardMotionProps:t=!1,type:n}={},r,i){r&&tu(r);let a=n?n===`svg`:Hl(e),c=a?Xl:Yl;function l(n,l){let u,d={...(0,o.useContext)(zt),...n,layoutId:du(n)},{isStatic:f}=d,p=wl(n),m=c(n,f);if(!f&&typeof window<`u`){fu(d,r);let t=pu(d);u=t.MeasureLayout,p.visualElement=su(e,m,d,i,t.ProjectionNode,a)}return(0,s.jsxs)(Bt.Provider,{value:p,children:[u&&p.visualElement?(0,s.jsx)(u,{visualElement:p.visualElement,...d}):null,Ul(e,n,ru(m,p.visualElement,l),m,f,t,a)]})}l.displayName=`motion.${typeof e==`string`?e:`create(${e.displayName??e.name??``})`}`;let u=(0,o.forwardRef)(l);return u[nu]=e,u}function du({layoutId:e}){let t=(0,o.useContext)(Lt).id;return t&&e!==void 0?t+`-`+e:e}function fu(e,t){(0,o.useContext)(Rt).strict}function pu(e){let{drag:t,layout:n}=eu();if(!t&&!n)return{};let r={...t,...n};return{MeasureLayout:t?.isEnabled(e)||n?.isEnabled(e)?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}
1var mu=(e,t)=>t.isSVG??Hl(e)?new zs(t):new ks(t,{allowProjection:e!==o.Fragment}),hu=class extends Yo{constructor(e){super(e),e.animationState||=Ks(e)}updateAnimationControlsSubscription(){let{animate:e}=this.node.getProps();Mo(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}},gu=0,_u={animation:{Feature:hu},exit:{Feature:class extends Yo{constructor(){super(...arguments),this.id=gu++,this.isExitComplete=!1}update(){if(!this.node.presenceContext)return;let{isPresent:e,onExitComplete:t}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===n)return;if(e&&n===!1){if(this.isExitComplete){let{initial:e,custom:t}=this.node.getProps();if(typeof e==`string`||typeof e==`object`&&e&&!Array.isArray(e)){let n=ra(this.node,e,t);if(n){let{transition:e,transitionEnd:t,...r}=n;for(let e in r)this.node.getValue(e)?.jump(r[e])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive(`exit`,!1);this.isExitComplete=!1;return}let r=this.node.animationState.setActive(`exit`,!e);t&&!e&&r.then(()=>{this.isExitComplete=!0,t(this.id)})}mount(){let{register:e,onExitComplete:t}=this.node.presenceContext||{};t&&t(this.id),e&&(this.unmount=e(this.id))}unmount(){}}}};function vu(e){return{point:{x:e.pageX,y:e.pageY}}}var yu=e=>t=>Xa(t)&&e(t,vu(t));function bu(e,t,n,r){return Pc(e,t,yu(n),r)}var xu=({current:e})=>e?e.ownerDocument.defaultView:null,Su=(e,t)=>Math.abs(e-t);function Cu(e,t){let n=Su(e.x,t.x),r=Su(e.y,t.y);return Math.sqrt(n**2+r**2)}var wu=new Set([`auto`,`scroll`]),Tu=class{constructor(e,t,{transformPagePoint:n,contextWindow:r=window,dragSnapToOrigin:i=!1,distanceThreshold:a=3,element:o}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.lastRawMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=e=>{this.handleScroll(e.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=Eu(this.lastRawMoveEventInfo,this.transformPagePoint));let e=Ou(this.lastMoveEventInfo,this.history),t=this.startEvent!==null,n=Cu(e.offset,{x:0,y:0})>=this.distanceThreshold;if(!t&&!n)return;let{point:r}=e,{timestamp:i}=B;this.history.push({...r,timestamp:i});let{onStart:a,onMove:o}=this.handlers;t||(a&&a(this.lastMoveEvent,e),this.startEvent=this.lastMoveEvent),o&&o(this.lastMoveEvent,e)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastRawMoveEventInfo=t,this.lastMoveEventInfo=Eu(t,this.transformPagePoint),z.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{this.end();let{onEnd:n,onSessionEnd:r,resumeAnimation:i}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&i&&i(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let a=Ou(e.type===`pointercancel`?this.lastMoveEventInfo:Eu(t,this.transformPagePoint),this.history);this.startEvent&&n&&n(e,a),r&&r(e,a)},!Xa(e))return;this.dragSnapToOrigin=i,this.handlers=t,this.transformPagePoint=n,this.distanceThreshold=a,this.contextWindow=r||window;let s=Eu(vu(e),this.transformPagePoint),{point:c}=s,{timestamp:l}=B;this.history=[{...c,timestamp:l}];let{onSessionStart:u}=t;u&&u(e,Ou(s,this.history));let d={passive:!0,capture:!0};this.removeListeners=dt(bu(this.contextWindow,`pointermove`,this.handlePointerMove,d),bu(this.contextWindow,`pointerup`,this.handlePointerUp,d),bu(this.contextWindow,`pointercancel`,this.handlePointerUp,d)),o&&this.startScrollTracking(o)}startScrollTracking(e){let t=e.parentElement;for(;t;){let e=getComputedStyle(t);(wu.has(e.overflowX)||wu.has(e.overflowY))&&this.scrollPositions.set(t,{x:t.scrollLeft,y:t.scrollTop}),t=t.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener(`scroll`,this.onElementScroll,{capture:!0}),window.addEventListener(`scroll`,this.onWindowScroll),this.removeScrollListeners=()=>{window.removeEventListener(`scroll`,this.onElementScroll,{capture:!0}),window.removeEventListener(`scroll`,this.onWindowScroll)}}handleScroll(e){let t=this.scrollPositions.get(e);if(!t)return;let n=e===window,r=n?{x:window.scrollX,y:window.scrollY}:{x:e.scrollLeft,y:e.scrollTop},i={x:r.x-t.x,y:r.y-t.y};i.x===0&&i.y===0||(n?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=i.x,this.lastMoveEventInfo.point.y+=i.y):this.history.length>0&&(this.history[0].x-=i.x,this.history[0].y-=i.y),this.scrollPositions.set(e,r),z.update(this.updatePoint,!0))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),Gt(this.updatePoint)}};function Eu(e,t){return t?{point:t(e.point)}:e}function Du(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Ou({point:e},t){return{point:e,delta:Du(e,Au(t)),offset:Du(e,ku(t)),velocity:ju(t,.1)}}function ku(e){return e[0]}function Au(e){return e[e.length-1]}function ju(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null,i=Au(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>L(t)));)n--;if(!r)return{x:0,y:0};r===e[0]&&e.length>2&&i.timestamp-r.timestamp>L(t)*2&&(r=e[1]);let a=R(i.timestamp-r.timestamp);if(a===0)return{x:0,y:0};let o={x:(i.x-r.x)/a,y:(i.y-r.y)/a};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}function Mu(e,{min:t,max:n},r){return t!==void 0&&e<t?e=r?K(t,e,r.min):Math.max(e,t):n!==void 0&&e>n&&(e=r?K(n,e,r.max):Math.min(e,n)),e}function Nu(e,t,n){return{min:t===void 0?void 0:e.min+t,max:n===void 0?void 0:e.max+n-(e.max-e.min)}}function Pu(e,{top:t,left:n,bottom:r,right:i}){return{x:Nu(e.x,n,i),y:Nu(e.y,t,r)}}function Fu(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,r]=[r,n]),{min:n,max:r}}function Iu(e,t){return{x:Fu(e.x,t.x),y:Fu(e.y,t.y)}}function Lu(e,t){let n=.5,r=Q(e),i=Q(t);return i>r?n=ft(t.min,t.max-r,e.min):r>i&&(n=ft(e.min,e.max-i,t.min)),F(0,1,n)}function Ru(e,t){let n={};return t.min!==void 0&&(n.min=t.min-e.min),t.max!==void 0&&(n.max=t.max-e.min),n}var zu=.35;function Bu(e=zu){return e===!1?e=0:e===!0&&(e=zu),{x:Vu(e,`left`,`right`),y:Vu(e,`top`,`bottom`)}}function Vu(e,t,n){return{min:Hu(e,t),max:Hu(e,n)}}function Hu(e,t){return typeof e==`number`?e:e[t]||0}var Uu=new WeakMap,Wu=class{constructor(e){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=X(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=e}start(e,{snapToCursor:t=!1,distanceThreshold:n}={}){let{presenceContext:r}=this.visualElement;if(r&&r.isPresent===!1)return;let i=e=>{t&&this.snapToCursor(vu(e).point),this.stopAnimation()},a=(e,t)=>{let{drag:n,dragPropagation:r,onDragStart:i}=this.getProps();if(n&&!r&&(this.openDragLock&&this.openDragLock(),this.openDragLock=Ga(n),!this.openDragLock))return;this.latestPointerEvent=e,this.latestPanInfo=t,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Cc(e=>{let t=this.getAxisMotionValue(e).get()||0;if(H.test(t)){let{projection:n}=this.visualElement;if(n&&n.layout){let r=n.layout.layoutBox[e];r&&(t=Q(r)*(parseFloat(t)/100))}}this.originPoint[e]=t}),i&&z.update(()=>i(e,t),!1,!0),ua(this.visualElement,`transform`);let{animationState:a}=this.visualElement;a&&a.setActive(`whileDrag`,!0)},o=(e,t)=>{this.latestPointerEvent=e,this.latestPanInfo=t;let{dragPropagation:n,dragDirectionLock:r,onDirectionLock:i,onDrag:a}=this.getProps();if(!n&&!this.openDragLock)return;let{offset:o}=t;if(r&&this.currentDirection===null){this.currentDirection=Ju(o),this.currentDirection!==null&&i&&i(this.currentDirection);return}this.updateAxis(`x`,t.point,o),this.updateAxis(`y`,t.point,o),this.visualElement.render(),a&&z.update(()=>a(e,t),!1,!0)},s=(e,t)=>{this.latestPointerEvent=e,this.latestPanInfo=t,this.stop(e,t),this.latestPointerEvent=null,this.latestPanInfo=null},c=()=>{let{dragSnapToOrigin:e}=this.getProps();(e||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:l}=this.getProps();this.panSession=new Tu(e,{onSessionStart:i,onStart:a,onMove:o,onSessionEnd:s,resumeAnimation:c},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:l,distanceThreshold:n,contextWindow:xu(this.visualElement),element:this.visualElement.current})}stop(e,t){let n=e||this.latestPointerEvent,r=t||this.latestPanInfo,i=this.isDragging;if(this.cancel(),!i||!r||!n)return;let{velocity:a}=r;this.startAnimation(a);let{onDragEnd:o}=this.getProps();o&&z.postRender(()=>o(n,r))}cancel(){this.isDragging=!1;let{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.endPanSession();let{dragPropagation:n}=this.getProps();!n&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),t&&t.setActive(`whileDrag`,!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(e,t,n){let{drag:r}=this.getProps();if(!n||!qu(e,r,this.currentDirection))return;let i=this.getAxisMotionValue(e),a=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(a=Mu(a,this.constraints[e],this.elastic[e])),i.set(a)}resolveConstraints(){let{dragConstraints:e,dragElastic:t}=this.getProps(),n=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,r=this.constraints;e&&au(e)?this.constraints||=this.resolveRefConstraints():e&&n?this.constraints=Pu(n.layoutBox,e):this.constraints=!1,this.elastic=Bu(t),r!==this.constraints&&!au(e)&&n&&this.constraints&&!this.hasMutatedConstraints&&Cc(e=>{this.constraints!==!1&&this.getAxisMotionValue(e)&&(this.constraints[e]=Ru(n.layoutBox[e],this.constraints[e]))})}resolveRefConstraints(){let{dragConstraints:e,onMeasureDragConstraints:t}=this.getProps();if(!e||!au(e))return!1;let n=e.current,{projection:r}=this.visualElement;if(!r||!r.layout)return!1;r.root&&(r.root.scroll=void 0,r.root.updateScroll());let i=gs(n,r.root,this.visualElement.getTransformPagePoint()),a=Iu(r.layout.layoutBox,i);if(t){let e=t(Zo(a));this.hasMutatedConstraints=!!e,e&&(a=Xo(e))}return a}startAnimation(e){let{drag:t,dragMomentum:n,dragElastic:r,dragTransition:i,dragSnapToOrigin:a,onDragTransitionEnd:o}=this.getProps(),s=this.constraints||{},c=Cc(o=>
1{if(!qu(o,t,this.currentDirection))return;let c=s&&s[o]||{};(a===!0||a===o)&&(c={min:0,max:0});let l=r?200:1e6,u=r?40:1e7,d={type:`inertia`,velocity:n?e[o]:0,bounceStiffness:l,bounceDamping:u,timeConstant:750,restDelta:1,restSpeed:10,...i,...c};return this.startAxisValueAnimation(o,d)});return Promise.all(c).then(o)}startAxisValueAnimation(e,t){let n=this.getAxisMotionValue(e);return ua(this.visualElement,e),n.start(Zi(e,n,0,t,this.visualElement,!1))}stopAnimation(){Cc(e=>this.getAxisMotionValue(e).stop())}getAxisMotionValue(e){let t=`_drag${e.toUpperCase()}`;return this.visualElement.getProps()[t]||this.visualElement.getValue(e,this.visualElement.latestValues[e]??0)}snapToCursor(e){Cc(t=>{let{drag:n}=this.getProps();if(!qu(t,n,this.currentDirection))return;let{projection:r}=this.visualElement,i=this.getAxisMotionValue(t);if(r&&r.layout){let{min:n,max:a}=r.layout.layoutBox[t],o=i.get()||0;i.set(e[t]-K(n,a,.5)+o)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:e,dragConstraints:t}=this.getProps(),{projection:n}=this.visualElement;if(!au(t)||!n||!this.constraints)return;this.stopAnimation();let r={x:0,y:0};Cc(e=>{let t=this.getAxisMotionValue(e);if(t&&this.constraints!==!1){let n=t.get();r[e]=Lu({min:n,max:n},this.constraints[e])}});let{transformTemplate:i}=this.visualElement.getProps();this.visualElement.current.style.transform=i?i({},``):`none`,n.root&&n.root.updateScroll(),n.updateLayout(),this.constraints=!1,this.resolveConstraints(),Cc(t=>{if(!qu(t,e,null))return;let n=this.getAxisMotionValue(t),{min:i,max:a}=this.constraints[t];n.set(K(i,a,r[t]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;Uu.set(this.visualElement,this);let e=this.visualElement.current,t=bu(e,`pointerdown`,t=>{let{drag:n,dragListener:r=!0}=this.getProps(),i=t.target,a=i!==e&&eo(i);n&&r&&!a&&this.start(t)}),n,r=()=>{let{dragConstraints:t}=this.getProps();au(t)&&t.current&&(this.constraints=this.resolveRefConstraints(),n||=Ku(e,t.current,()=>this.scalePositionWithinConstraints()))},{projection:i}=this.visualElement,a=i.addEventListener(`measure`,r);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),z.read(r);let o=Pc(window,`resize`,()=>this.scalePositionWithinConstraints()),s=i.addEventListener(`didUpdate`,(({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(Cc(t=>{let n=this.getAxisMotionValue(t);n&&(this.originPoint[t]+=e[t].translate,n.set(n.get()+e[t].translate))}),this.visualElement.render())}));return()=>{o(),t(),a(),s&&s(),n&&n()}}getProps(){let e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:n=!1,dragPropagation:r=!1,dragConstraints:i=!1,dragElastic:a=zu,dragMomentum:o=!0}=e;return{...e,drag:t,dragDirectionLock:n,dragPropagation:r,dragConstraints:i,dragElastic:a,dragMomentum:o}}};function Gu(e){let t=!0;return()=>{if(t){t=!1;return}e()}}function Ku(e,t,n){let r=Co(e,Gu(n)),i=Co(t,Gu(n));return()=>{r(),i()}}function qu(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function Ju(e,t=10){let n=null;return Math.abs(e.y)>t?n=`y`:Math.abs(e.x)>t&&(n=`x`),n}var Yu=class extends Yo{constructor(e){super(e),this.removeGroupControls=I,this.removeListeners=I,this.controls=new Wu(e)}mount(){let{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||I}update(){let{dragControls:e}=this.node.getProps(),{dragControls:t}=this.node.prevProps||{};e!==t&&(this.removeGroupControls(),e&&(this.removeGroupControls=e.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}},Xu=e=>(t,n)=>{e&&z.update(()=>e(t,n),!1,!0)},Zu=class extends Yo{constructor(){super(...arguments),this.removePointerDownListener=I}onPointerDown(e){this.session=new Tu(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:xu(this.node)})}createPanHandlers(){let{onPanSessionStart:e,onPanStart:t,onPan:n,onPanEnd:r}=this.node.getProps();return{onSessionStart:Xu(e),onStart:Xu(t),onMove:Xu(n),onEnd:(e,t)=>{delete this.session,r&&z.postRender(()=>r(e,t))}}}mount(){this.removePointerDownListener=bu(this.node.current,`pointerdown`,e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}};function Qu(e=!0){let t=(0,o.useContext)(Wl);if(t===null)return[!0,null];let{isPresent:n,onExitComplete:r,register:i}=t,a=(0,o.useId)();(0,o.useEffect)(()=>
1{if(e)return i(a)},[e]);let s=(0,o.useCallback)(()=>e&&r&&r(a),[a,r,e]);return!n&&r?[!1,s]:[!0]}var $u=!1,ed=class extends o.Component{componentDidMount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:n,layoutId:r}=this.props,{projection:i}=e;i&&(t.group&&t.group.add(i),n&&n.register&&r&&n.register(i),$u&&i.root.didUpdate(),i.addEventListener(`animationComplete`,()=>{this.safeToRemove()}),i.setOptions({...i.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),Bc.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){let{layoutDependency:t,visualElement:n,drag:r,isPresent:i}=this.props,{projection:a}=n;return a?(a.isPresent=i,e.layoutDependency!==t&&a.setOptions({...a.options,layoutDependency:t}),$u=!0,r||e.layoutDependency!==t||t===void 0||e.isPresent!==i?a.willUpdate():this.safeToRemove(),e.isPresent!==i&&(i?a.promote():a.relegate()||z.postRender(()=>{let e=a.getStack();(!e||!e.members.length)&&this.safeToRemove()})),null):null}componentDidUpdate(){let{visualElement:e,layoutAnchor:t}=this.props,{projection:n}=e;n&&(n.options.layoutAnchor=t,n.root.didUpdate(),Ha.postRender(()=>{!n.currentAnimation&&n.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:n}=this.props,{projection:r}=e;$u=!0,r&&(r.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(r),n&&n.deregister&&n.deregister(r))}safeToRemove(){let{safeToRemove:e}=this.props;e&&e()}render(){return null}};
1function td(e){let[t,n]=Qu(),r=(0,o.useContext)(Lt);return(0,s.jsx)(ed,{...e,layoutGroup:r,switchLayoutGroup:(0,o.useContext)(iu),isPresent:t,safeToRemove:n})}var nd={pan:{Feature:Zu},drag:{Feature:Yu,ProjectionNode:Sl,MeasureLayout:td}};function rd(e,t,n){let{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive(`whileHover`,n===`Start`);let i=r[`onHover`+n];i&&z.postRender(()=>i(t,vu(t)))}var id=class extends Yo{mount(){let{current:e}=this.node;e&&(this.unmount=Ja(e,(e,t)=>(rd(this.node,t,`Start`),e=>rd(this.node,e,`End`))))}unmount(){}},ad=class extends Yo{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(`:focus-visible`)}catch{e=!0}!e||!this.node.animationState||(this.node.animationState.setActive(`whileFocus`,!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive(`whileFocus`,!1),this.isActive=!1)}mount(){this.unmount=dt(Pc(this.node.current,`focus`,()=>this.onFocus()),Pc(this.node.current,`blur`,()=>this.onBlur()))}unmount(){}};function od(e,t,n){let{props:r}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&r.whileTap&&e.animationState.setActive(`whileTap`,n===`Start`);let i=r[`onTap`+(n===`End`?``:n)];i&&z.postRender(()=>i(t,vu(t)))}var sd=class extends Yo{mount(){let{current:e}=this.node;if(!e)return;let{globalTapTarget:t,propagate:n}=this.node.props;this.unmount=so(e,(e,t)=>(od(this.node,t,`Start`),(e,{success:t})=>od(this.node,e,t?`End`:`Cancel`)),{useGlobalTarget:t,stopPropagation:n?.tap===!1})}unmount(){}},cd=new WeakMap,ld=new WeakMap,ud=e=>{let t=cd.get(e.target);t&&t(e)},dd=e=>{e.forEach(ud)};function fd({root:e,...t}){let n=e||document;ld.has(n)||ld.set(n,{});let r=ld.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(dd,{root:e,...t})),r[i]}function pd(e,t,n){let r=fd(t);return cd.set(e,n),r.observe(e),()=>{cd.delete(e),r.unobserve(e)}}var md={some:0,all:1},hd=class extends Yo{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.stopObserver?.();let{viewport:e={}}=this.node.getProps(),{root:t,margin:n,amount:r=`some`,once:i}=e,a={root:t?t.current:void 0,rootMargin:n,threshold:typeof r==`number`?r:md[r]},o=e=>{let{isIntersecting:t}=e;if(this.isInView===t||(this.isInView=t,i&&!t&&this.hasEnteredView))return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive(`whileInView`,t);let{onViewportEnter:n,onViewportLeave:r}=this.node.getProps(),a=t?n:r;a&&a(e)};this.stopObserver=pd(this.node.current,a,o)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>`u`)return;let{props:e,prevProps:t}=this.node;[`amount`,`margin`,`root`].some(gd(e,t))&&this.startObserver()}unmount(){this.stopObserver?.(),this.hasEnteredView=!1,this.isInView=!1}};function gd({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}var _d={inView:{Feature:hd},tap:{Feature:sd},focus:{Feature:ad},hover:{Feature:id}},vd={layout:{ProjectionNode:Sl,MeasureLayout:td}},yd={..._u,..._d,...nd,...vd};function $(e,t){return uu(e,t,yd,mu)}var bd=$(`a`),xd=$(`abbr`),Sd=$(`address`),Cd=$(`area`),wd=$(`article`),Td=$(`aside`),Ed=$(`audio`),Dd=$(`b`),Od=$(`base`),kd=$(`bdi`),Ad=$(`bdo`),jd=$(`big`),Md=$(`blockquote`),Nd=$(`body`),Pd=$(`button`),Fd=$(`canvas`),Id=$(`caption`),Ld=$(`cite`),Rd=$(`code`),zd=$(`col`),Bd=$(`colgroup`),Vd=$(`data`),Hd=$(`datalist`),Ud=$(`dd`),Wd=$(`del`),Gd=$(`details`),Kd=$(`dfn`),qd=$(`dialog`),Jd=$(`div`),Yd=$(`dl`),Xd=$(`dt`),Zd=$(`em`),Qd=$(`embed`),$d=$(`fieldset`),ef=$(`figcaption`),tf=$(`figure`),nf=$(`footer`),rf=$(`form`),af=$(`h1`),of=$(`h2`),sf=$(`h3`),cf=$(`h4`),lf=$(`h5`),uf=$(`h6`),df=$(`head`),ff=$(`header`),pf=$(`hgroup`),mf=$(`hr`),hf=$(`html`),gf=$(`i`),_f=$(`iframe`),vf=$(`img`),yf=$(`input`),bf=$(`ins`),xf=$(`kbd`),Sf=$(`keygen`),Cf=$(`label`),wf=$(`legend`),Tf=$(`li`),Ef=$(`link`),Df=$(`main`),Of=$(`map`),kf=$(`mark`),Af=$(`menu`),jf=$(`menuitem`),Mf=$(`meter`),Nf=$(`nav`),Pf=$(`object`),Ff=$(`ol`),If=$(`optgroup`),Lf=$(`option`),Rf=$(`output`),zf=$(`p`),Bf=$(`param`),Vf=$(`picture`),Hf=$(`pre`),Uf=$(`progress`),Wf=$(`q`),Gf=$(`rp`),Kf=$(`rt`),qf=$(`ruby`),Jf=$(`s`),Yf=$(`samp`),Xf=$(`script`),Zf=$(`section`),Qf=$(`select`),$f=$(`small`),ep=$(`source`),tp=$(`span`),np=$(`strong`),rp=$(`style`),ip=$(`sub`),ap=$(`summary`),op=$(`sup`),sp=$(`table`),cp=$(`tbody`),lp=$(`td`),up=$(`textarea`),dp=$(`tfoot`),fp=$(`th`),pp=$(`thead`),mp=$(`time`),hp=$(`title`),gp=$(`tr`),_p=$(`track`),vp=$(`u`),yp=$(`ul`),bp=$(`video`),xp=$(`wbr`),Sp=$(`webview`),Cp=$(`animate`),wp=$(`circle`),Tp=$(`defs`),Ep=$(`desc`),Dp=$(`ellipse`),Op=$(`g`),kp=$(`image`),Ap=$(`line`),jp=$(`filter`),Mp=$(`marker`),Np=$(`mask`),Pp=$(`metadata`),Fp=$(`path`),Ip=$(`pattern`),Lp=$(`polygon`),Rp=$(`polyline`),zp=$(`rect`),Bp=$(`stop`),Vp=$(`svg`),Hp=$(`symbol`),Up=$(`text`),Wp=$(`tspan`),Gp=$(`use`),Kp=$(`view`),qp=$(`clipPath`),Jp=$(`feBlend`),Yp=$(`feColorMatrix`),Xp=$(`feComponentTransfer`),Zp=$(`feComposite`),Qp=$(`feConvolveMatrix`),$p=$(`feDiffuseLighting`),em=$(`feDisplacementMap`),tm=$(`feDistantLight`),nm=$(`feDropShadow`),rm=$(`feFlood`),im=$(`feFuncA`),am=$(`feFuncB`),om=$(`feFuncG`),sm=$(`feFuncR`),cm=$(`feGaussianBlur`),lm=$(`feImage`),um=$(`feMerge`),dm=$(`feMergeNode`),fm=$(`feMorphology`),pm=$(`feOffset`),mm=$(`fePointLight`),hm=$(`feSpecularLighting`),gm=$(`feSpotLight`),_m=$(`feTile`),vm=$(`feTurbulence`),ym=$(`foreignObject`),bm=$(`linearGradient`),xm=$(`radialGradient`),Sm=$(`textPath`),Cm=a({a:()=>bd,abbr:()=>xd,address:()=>Sd,animate:()=>Cp,area:()=>Cd,article:()=>wd,aside:()=>Td,audio:()=>Ed,b:()=>Dd,base:()=>Od,bdi:()=>kd,bdo:()=>Ad,big:()=>jd,blockquote:()=>Md,body:()=>Nd,button:()=>Pd,canvas:()=>Fd,caption:()=>Id,circle:()=>wp,cite:()=>Ld,clipPath:()=>qp,code:()=>Rd,col:()=>zd,colgroup:()=>Bd,data:()=>Vd,datalist:()=>Hd,dd:()=>Ud,defs:()=>Tp,del:()=>Wd,desc:()=>Ep,details:()=>Gd,dfn:()=>Kd,dialog:()=>qd,div:()=>Jd,dl:()=>Yd,dt:()=>Xd,ellipse:()=>Dp,em:()=>Zd,embed:()=>Qd,feBlend:()=>Jp,feColorMatrix:()=>Yp,feComponentTransfer:()=>
1Xp,feComposite:()=>Zp,feConvolveMatrix:()=>Qp,feDiffuseLighting:()=>$p,feDisplacementMap:()=>em,feDistantLight:()=>tm,feDropShadow:()=>nm,feFlood:()=>rm,feFuncA:()=>im,feFuncB:()=>am,feFuncG:()=>om,feFuncR:()=>sm,feGaussianBlur:()=>cm,feImage:()=>lm,feMerge:()=>um,feMergeNode:()=>dm,feMorphology:()=>fm,feOffset:()=>pm,fePointLight:()=>mm,feSpecularLighting:()=>hm,feSpotLight:()=>gm,feTile:()=>_m,feTurbulence:()=>vm,fieldset:()=>$d,figcaption:()=>ef,figure:()=>tf,filter:()=>jp,footer:()=>nf,foreignObject:()=>ym,form:()=>rf,g:()=>Op,h1:()=>af,h2:()=>of,h3:()=>sf,h4:()=>cf,h5:()=>lf,h6:()=>uf,head:()=>df,header:()=>ff,hgroup:()=>pf,hr:()=>mf,html:()=>hf,i:()=>gf,iframe:()=>_f,image:()=>kp,img:()=>vf,input:()=>yf,ins:()=>bf,kbd:()=>xf,keygen:()=>Sf,label:()=>Cf,legend:()=>wf,li:()=>Tf,line:()=>Ap,linearGradient:()=>bm,link:()=>Ef,main:()=>Df,map:()=>Of,mark:()=>kf,marker:()=>Mp,mask:()=>Np,menu:()=>Af,menuitem:()=>jf,metadata:()=>Pp,meter:()=>Mf,nav:()=>Nf,object:()=>Pf,ol:()=>Ff,optgroup:()=>If,option:()=>Lf,output:()=>Rf,p:()=>zf,param:()=>Bf,path:()=>Fp,pattern:()=>Ip,picture:()=>Vf,polygon:()=>Lp,polyline:()=>Rp,pre:()=>Hf,progress:()=>Uf,q:()=>Wf,radialGradient:()=>xm,rect:()=>zp,rp:()=>Gf,rt:()=>Kf,ruby:()=>qf,s:()=>Jf,samp:()=>Yf,script:()=>Xf,section:()=>Zf,select:()=>Qf,small:()=>$f,source:()=>ep,span:()=>tp,stop:()=>Bp,strong:()=>np,style:()=>rp,sub:()=>ip,summary:()=>ap,sup:()=>op,svg:()=>Vp,symbol:()=>Hp,table:()=>sp,tbody:()=>cp,td:()=>lp,text:()=>Up,textPath:()=>Sm,textarea:()=>up,tfoot:()=>dp,th:()=>fp,thead:()=>pp,time:()=>mp,title:()=>hp,tr:()=>gp,track:()=>_p,tspan:()=>Wp,u:()=>vp,ul:()=>yp,use:()=>Gp,video:()=>bp,view:()=>Kp,wbr:()=>xp,webview:()=>Sp});function wm({children:e,delay:t=0,className:n,as:r=`div`}){let i=Cm[r];return(0,s.jsx)(i,{className:n,initial:{opacity:0,y:22},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:`-60px`},transition:{duration:.65,ease:[.16,1,.3,1],delay:t},children:e})}function Tm({children:e,className:t}){return(0,s.jsx)(`div`,{className:t,children:e})}function Em({children:e,className:t}){return(0,s.jsx)(Jd,{className:t,initial:{opacity:0,y:24},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:`-40px`},transition:{duration:.6,ease:[.16,1,.3,1]},children:e})}function Dm({color:e=`blue`,className:t}){let n=e===`magenta`?`rgb(236 0 140 / 0.16)`:e===`navy`?`rgb(0 39 66 / 0.14)`:`rgb(10 133 199 / 0.18)`;return(0,s.jsx)(`span`,{"aria-hidden":!0,className:rt(`drift-slow pointer-events-none absolute -z-10 rounded-full blur-[90px]`,t),style:{background:n}})}function Om({children:e,className:t,tone:n=`dark`,glow:r=`magenta`}){return(0,s.jsxs)(`div`,{className:rt(`group/card relative overflow-hidden rounded-3xl transition-all duration-500`,n===`dark`?`glass`:`glass-light`,r===`magenta`&&`hover:shadow-[var(--glow-magenta)]`,r===`blue`&&`hover:shadow-[var(--glow-blue)]`,`hover:-translate-y-1`,t),children:[(0,s.jsx)(`span`,{"aria-hidden":!0,className:`rule-beam absolute inset-x-0 top-0 h-px opacity-0 transition-opacity duration-500 group-hover/card:opacity-100`}),e]})}export{Em as a,Tf as c,Rp as d,tp as f,Tm as i,zf as l,rt as m,Dm as n,wp as o,yp as p,wm as r,Jd as s,Om as t,Fp as u};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.